@tanstack/query-devtools 5.0.0-beta.33 → 5.0.0-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/Devtools/{PS2NMF43.jsx → DWELN6EN.jsx} +711 -1831
- package/build/Devtools/{AL7POTVF.jsx → FASZSC6H.jsx} +707 -1755
- package/build/Devtools/{AO4SNFEU.js → OXAQM7EL.js} +684 -1736
- package/build/Devtools/{GFOHVLUL.js → PCOU65Y2.js} +688 -1921
- package/build/dev.cjs +1150 -2480
- package/build/dev.js +1 -1
- package/build/dev.jsx +1 -1
- package/build/index.cjs +1150 -2306
- package/build/index.js +1 -1
- package/build/index.jsx +1 -1
- package/package.json +6 -4
- package/src/Devtools.tsx +293 -143
- package/src/Explorer.tsx +2 -1
- package/src/icons/index.tsx +20 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { delegateEvents, createContext, createSignal, createComponent, createMemo, insert, Show, createRenderEffect, className, on, onMount,
|
|
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/C5UID3AG.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, (
|
|
409
|
-
return characterMap[
|
|
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
|
|
446
|
-
const rankValue = valuesToRank[
|
|
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 =
|
|
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
|
|
535
|
-
const matchChar = stringToRank[
|
|
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
|
|
575
|
+
for (let i2 = 0, I = itemValues.length; i2 < I; i2++) {
|
|
576
576
|
allValues.push({
|
|
577
|
-
itemValue: itemValues[
|
|
577
|
+
itemValue: itemValues[i2],
|
|
578
578
|
attributes
|
|
579
579
|
});
|
|
580
580
|
}
|
|
@@ -595,1171 +595,85 @@ function getAccessorAttributes(accessor) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// ../../node_modules/.pnpm
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
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 + ";");
|
|
602
609
|
}
|
|
603
|
-
|
|
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 ? true : 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
|
-
if (this.isSpeedy) {
|
|
658
|
-
var sheet2 = sheetForTag(tag);
|
|
659
|
-
try {
|
|
660
|
-
sheet2.insertRule(rule, sheet2.cssRules.length);
|
|
661
|
-
} catch (e) {
|
|
662
|
-
}
|
|
663
|
-
} else {
|
|
664
|
-
tag.appendChild(document.createTextNode(rule));
|
|
665
|
-
}
|
|
666
|
-
this.ctr++;
|
|
667
|
-
};
|
|
668
|
-
_proto.flush = function flush2() {
|
|
669
|
-
this.tags.forEach(function(tag) {
|
|
670
|
-
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
671
|
-
});
|
|
672
|
-
this.tags = [];
|
|
673
|
-
this.ctr = 0;
|
|
674
|
-
};
|
|
675
|
-
return StyleSheet2;
|
|
676
|
-
}();
|
|
677
|
-
|
|
678
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js
|
|
679
|
-
var MS = "-ms-";
|
|
680
|
-
var MOZ = "-moz-";
|
|
681
|
-
var WEBKIT = "-webkit-";
|
|
682
|
-
var COMMENT = "comm";
|
|
683
|
-
var RULESET = "rule";
|
|
684
|
-
var DECLARATION = "decl";
|
|
685
|
-
var IMPORT = "@import";
|
|
686
|
-
var KEYFRAMES = "@keyframes";
|
|
687
|
-
var LAYER = "@layer";
|
|
688
|
-
|
|
689
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js
|
|
690
|
-
var abs = Math.abs;
|
|
691
|
-
var from = String.fromCharCode;
|
|
692
|
-
var assign = Object.assign;
|
|
693
|
-
function hash(value, length2) {
|
|
694
|
-
return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
695
|
-
}
|
|
696
|
-
function trim(value) {
|
|
697
|
-
return value.trim();
|
|
698
|
-
}
|
|
699
|
-
function match(value, pattern) {
|
|
700
|
-
return (value = pattern.exec(value)) ? value[0] : value;
|
|
701
|
-
}
|
|
702
|
-
function replace(value, pattern, replacement) {
|
|
703
|
-
return value.replace(pattern, replacement);
|
|
704
|
-
}
|
|
705
|
-
function indexof(value, search) {
|
|
706
|
-
return value.indexOf(search);
|
|
707
|
-
}
|
|
708
|
-
function charat(value, index) {
|
|
709
|
-
return value.charCodeAt(index) | 0;
|
|
710
|
-
}
|
|
711
|
-
function substr(value, begin, end) {
|
|
712
|
-
return value.slice(begin, end);
|
|
713
|
-
}
|
|
714
|
-
function strlen(value) {
|
|
715
|
-
return value.length;
|
|
716
|
-
}
|
|
717
|
-
function sizeof(value) {
|
|
718
|
-
return value.length;
|
|
719
|
-
}
|
|
720
|
-
function append(value, array) {
|
|
721
|
-
return array.push(value), value;
|
|
722
|
-
}
|
|
723
|
-
function combine(array, callback) {
|
|
724
|
-
return array.map(callback).join("");
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js
|
|
728
|
-
var line = 1;
|
|
729
|
-
var column = 1;
|
|
730
|
-
var length = 0;
|
|
731
|
-
var position = 0;
|
|
732
|
-
var character = 0;
|
|
733
|
-
var characters = "";
|
|
734
|
-
function node(value, root, parent, type, props, children2, length2) {
|
|
735
|
-
return { value, root, parent, type, props, children: children2, line, column, length: length2, return: "" };
|
|
736
|
-
}
|
|
737
|
-
function copy(root, props) {
|
|
738
|
-
return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
|
|
739
|
-
}
|
|
740
|
-
function char() {
|
|
741
|
-
return character;
|
|
742
|
-
}
|
|
743
|
-
function prev() {
|
|
744
|
-
character = position > 0 ? charat(characters, --position) : 0;
|
|
745
|
-
if (column--, character === 10)
|
|
746
|
-
column = 1, line--;
|
|
747
|
-
return character;
|
|
748
|
-
}
|
|
749
|
-
function next() {
|
|
750
|
-
character = position < length ? charat(characters, position++) : 0;
|
|
751
|
-
if (column++, character === 10)
|
|
752
|
-
column = 1, line++;
|
|
753
|
-
return character;
|
|
754
|
-
}
|
|
755
|
-
function peek() {
|
|
756
|
-
return charat(characters, position);
|
|
757
|
-
}
|
|
758
|
-
function caret() {
|
|
759
|
-
return position;
|
|
760
|
-
}
|
|
761
|
-
function slice(begin, end) {
|
|
762
|
-
return substr(characters, begin, end);
|
|
763
|
-
}
|
|
764
|
-
function token(type) {
|
|
765
|
-
switch (type) {
|
|
766
|
-
case 0:
|
|
767
|
-
case 9:
|
|
768
|
-
case 10:
|
|
769
|
-
case 13:
|
|
770
|
-
case 32:
|
|
771
|
-
return 5;
|
|
772
|
-
case 33:
|
|
773
|
-
case 43:
|
|
774
|
-
case 44:
|
|
775
|
-
case 47:
|
|
776
|
-
case 62:
|
|
777
|
-
case 64:
|
|
778
|
-
case 126:
|
|
779
|
-
case 59:
|
|
780
|
-
case 123:
|
|
781
|
-
case 125:
|
|
782
|
-
return 4;
|
|
783
|
-
case 58:
|
|
784
|
-
return 3;
|
|
785
|
-
case 34:
|
|
786
|
-
case 39:
|
|
787
|
-
case 40:
|
|
788
|
-
case 91:
|
|
789
|
-
return 2;
|
|
790
|
-
case 41:
|
|
791
|
-
case 93:
|
|
792
|
-
return 1;
|
|
793
|
-
}
|
|
794
|
-
return 0;
|
|
795
|
-
}
|
|
796
|
-
function alloc(value) {
|
|
797
|
-
return line = column = 1, length = strlen(characters = value), position = 0, [];
|
|
798
|
-
}
|
|
799
|
-
function dealloc(value) {
|
|
800
|
-
return characters = "", value;
|
|
801
|
-
}
|
|
802
|
-
function delimit(type) {
|
|
803
|
-
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
|
|
804
|
-
}
|
|
805
|
-
function whitespace(type) {
|
|
806
|
-
while (character = peek())
|
|
807
|
-
if (character < 33)
|
|
808
|
-
next();
|
|
809
|
-
else
|
|
810
|
-
break;
|
|
811
|
-
return token(type) > 2 || token(character) > 3 ? "" : " ";
|
|
812
|
-
}
|
|
813
|
-
function escaping(index, count) {
|
|
814
|
-
while (--count && next())
|
|
815
|
-
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
|
|
816
|
-
break;
|
|
817
|
-
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
818
|
-
}
|
|
819
|
-
function delimiter(type) {
|
|
820
|
-
while (next())
|
|
821
|
-
switch (character) {
|
|
822
|
-
case type:
|
|
823
|
-
return position;
|
|
824
|
-
case 34:
|
|
825
|
-
case 39:
|
|
826
|
-
if (type !== 34 && type !== 39)
|
|
827
|
-
delimiter(character);
|
|
828
|
-
break;
|
|
829
|
-
case 40:
|
|
830
|
-
if (type === 41)
|
|
831
|
-
delimiter(type);
|
|
832
|
-
break;
|
|
833
|
-
case 92:
|
|
834
|
-
next();
|
|
835
|
-
break;
|
|
836
|
-
}
|
|
837
|
-
return position;
|
|
838
|
-
}
|
|
839
|
-
function commenter(type, index) {
|
|
840
|
-
while (next())
|
|
841
|
-
if (type + character === 47 + 10)
|
|
842
|
-
break;
|
|
843
|
-
else if (type + character === 42 + 42 && peek() === 47)
|
|
844
|
-
break;
|
|
845
|
-
return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
|
|
846
|
-
}
|
|
847
|
-
function identifier(index) {
|
|
848
|
-
while (!token(peek()))
|
|
849
|
-
next();
|
|
850
|
-
return slice(index, position);
|
|
851
|
-
}
|
|
852
|
-
|
|
853
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js
|
|
854
|
-
function compile(value) {
|
|
855
|
-
return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
|
|
856
|
-
}
|
|
857
|
-
function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
|
|
858
|
-
var index = 0;
|
|
859
|
-
var offset = 0;
|
|
860
|
-
var length2 = pseudo;
|
|
861
|
-
var atrule = 0;
|
|
862
|
-
var property = 0;
|
|
863
|
-
var previous = 0;
|
|
864
|
-
var variable = 1;
|
|
865
|
-
var scanning = 1;
|
|
866
|
-
var ampersand = 1;
|
|
867
|
-
var character2 = 0;
|
|
868
|
-
var type = "";
|
|
869
|
-
var props = rules;
|
|
870
|
-
var children2 = rulesets;
|
|
871
|
-
var reference = rule;
|
|
872
|
-
var characters2 = type;
|
|
873
|
-
while (scanning)
|
|
874
|
-
switch (previous = character2, character2 = next()) {
|
|
875
|
-
case 40:
|
|
876
|
-
if (previous != 108 && charat(characters2, length2 - 1) == 58) {
|
|
877
|
-
if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
|
|
878
|
-
ampersand = -1;
|
|
879
|
-
break;
|
|
880
|
-
}
|
|
881
|
-
case 34:
|
|
882
|
-
case 39:
|
|
883
|
-
case 91:
|
|
884
|
-
characters2 += delimit(character2);
|
|
885
|
-
break;
|
|
886
|
-
case 9:
|
|
887
|
-
case 10:
|
|
888
|
-
case 13:
|
|
889
|
-
case 32:
|
|
890
|
-
characters2 += whitespace(previous);
|
|
891
|
-
break;
|
|
892
|
-
case 92:
|
|
893
|
-
characters2 += escaping(caret() - 1, 7);
|
|
894
|
-
continue;
|
|
895
|
-
case 47:
|
|
896
|
-
switch (peek()) {
|
|
897
|
-
case 42:
|
|
898
|
-
case 47:
|
|
899
|
-
append(comment(commenter(next(), caret()), root, parent), declarations);
|
|
900
|
-
break;
|
|
901
|
-
default:
|
|
902
|
-
characters2 += "/";
|
|
903
|
-
}
|
|
904
|
-
break;
|
|
905
|
-
case 123 * variable:
|
|
906
|
-
points[index++] = strlen(characters2) * ampersand;
|
|
907
|
-
case 125 * variable:
|
|
908
|
-
case 59:
|
|
909
|
-
case 0:
|
|
910
|
-
switch (character2) {
|
|
911
|
-
case 0:
|
|
912
|
-
case 125:
|
|
913
|
-
scanning = 0;
|
|
914
|
-
case 59 + offset:
|
|
915
|
-
if (ampersand == -1)
|
|
916
|
-
characters2 = replace(characters2, /\f/g, "");
|
|
917
|
-
if (property > 0 && strlen(characters2) - length2)
|
|
918
|
-
append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
|
|
919
|
-
break;
|
|
920
|
-
case 59:
|
|
921
|
-
characters2 += ";";
|
|
922
|
-
default:
|
|
923
|
-
append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children2 = [], length2), rulesets);
|
|
924
|
-
if (character2 === 123)
|
|
925
|
-
if (offset === 0)
|
|
926
|
-
parse(characters2, root, reference, reference, props, rulesets, length2, points, children2);
|
|
927
|
-
else
|
|
928
|
-
switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
|
|
929
|
-
case 100:
|
|
930
|
-
case 108:
|
|
931
|
-
case 109:
|
|
932
|
-
case 115:
|
|
933
|
-
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);
|
|
934
|
-
break;
|
|
935
|
-
default:
|
|
936
|
-
parse(characters2, reference, reference, reference, [""], children2, 0, points, children2);
|
|
937
|
-
}
|
|
938
|
-
}
|
|
939
|
-
index = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
|
|
940
|
-
break;
|
|
941
|
-
case 58:
|
|
942
|
-
length2 = 1 + strlen(characters2), property = previous;
|
|
943
|
-
default:
|
|
944
|
-
if (variable < 1) {
|
|
945
|
-
if (character2 == 123)
|
|
946
|
-
--variable;
|
|
947
|
-
else if (character2 == 125 && variable++ == 0 && prev() == 125)
|
|
948
|
-
continue;
|
|
949
|
-
}
|
|
950
|
-
switch (characters2 += from(character2), character2 * variable) {
|
|
951
|
-
case 38:
|
|
952
|
-
ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
|
|
953
|
-
break;
|
|
954
|
-
case 44:
|
|
955
|
-
points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
|
|
956
|
-
break;
|
|
957
|
-
case 64:
|
|
958
|
-
if (peek() === 45)
|
|
959
|
-
characters2 += delimit(next());
|
|
960
|
-
atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
|
|
961
|
-
break;
|
|
962
|
-
case 45:
|
|
963
|
-
if (previous === 45 && strlen(characters2) == 2)
|
|
964
|
-
variable = 0;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
return rulesets;
|
|
968
|
-
}
|
|
969
|
-
function ruleset(value, root, parent, index, offset, rules, points, type, props, children2, length2) {
|
|
970
|
-
var post = offset - 1;
|
|
971
|
-
var rule = offset === 0 ? rules : [""];
|
|
972
|
-
var size = sizeof(rule);
|
|
973
|
-
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
|
974
|
-
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
|
|
975
|
-
if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
|
|
976
|
-
props[k++] = z;
|
|
977
|
-
return node(value, root, parent, offset === 0 ? RULESET : type, props, children2, length2);
|
|
978
|
-
}
|
|
979
|
-
function comment(value, root, parent) {
|
|
980
|
-
return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
|
|
981
|
-
}
|
|
982
|
-
function declaration(value, root, parent, length2) {
|
|
983
|
-
return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js
|
|
987
|
-
function serialize(children2, callback) {
|
|
988
|
-
var output = "";
|
|
989
|
-
var length2 = sizeof(children2);
|
|
990
|
-
for (var i = 0; i < length2; i++)
|
|
991
|
-
output += callback(children2[i], i, children2, callback) || "";
|
|
992
|
-
return output;
|
|
993
|
-
}
|
|
994
|
-
function stringify(element, index, children2, callback) {
|
|
995
|
-
switch (element.type) {
|
|
996
|
-
case LAYER:
|
|
997
|
-
if (element.children.length)
|
|
998
|
-
break;
|
|
999
|
-
case IMPORT:
|
|
1000
|
-
case DECLARATION:
|
|
1001
|
-
return element.return = element.return || element.value;
|
|
1002
|
-
case COMMENT:
|
|
1003
|
-
return "";
|
|
1004
|
-
case KEYFRAMES:
|
|
1005
|
-
return element.return = element.value + "{" + serialize(element.children, callback) + "}";
|
|
1006
|
-
case RULESET:
|
|
1007
|
-
element.value = element.props.join(",");
|
|
1008
|
-
}
|
|
1009
|
-
return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js
|
|
1013
|
-
function middleware(collection) {
|
|
1014
|
-
var length2 = sizeof(collection);
|
|
1015
|
-
return function(element, index, children2, callback) {
|
|
1016
|
-
var output = "";
|
|
1017
|
-
for (var i = 0; i < length2; i++)
|
|
1018
|
-
output += collection[i](element, index, children2, callback) || "";
|
|
1019
|
-
return output;
|
|
1020
|
-
};
|
|
1021
|
-
}
|
|
1022
|
-
function rulesheet(callback) {
|
|
1023
|
-
return function(element) {
|
|
1024
|
-
if (!element.root) {
|
|
1025
|
-
if (element = element.return)
|
|
1026
|
-
callback(element);
|
|
1027
|
-
}
|
|
1028
|
-
};
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
// ../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
1032
|
-
function memoize(fn) {
|
|
1033
|
-
var cache2 = /* @__PURE__ */ Object.create(null);
|
|
1034
|
-
return function(arg) {
|
|
1035
|
-
if (cache2[arg] === void 0)
|
|
1036
|
-
cache2[arg] = fn(arg);
|
|
1037
|
-
return cache2[arg];
|
|
1038
|
-
};
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
// ../../node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
1042
|
-
var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
|
|
1043
|
-
var previous = 0;
|
|
1044
|
-
var character2 = 0;
|
|
1045
|
-
while (true) {
|
|
1046
|
-
previous = character2;
|
|
1047
|
-
character2 = peek();
|
|
1048
|
-
if (previous === 38 && character2 === 12) {
|
|
1049
|
-
points[index] = 1;
|
|
1050
|
-
}
|
|
1051
|
-
if (token(character2)) {
|
|
1052
|
-
break;
|
|
1053
|
-
}
|
|
1054
|
-
next();
|
|
1055
|
-
}
|
|
1056
|
-
return slice(begin, position);
|
|
1057
|
-
};
|
|
1058
|
-
var toRules = function toRules2(parsed, points) {
|
|
1059
|
-
var index = -1;
|
|
1060
|
-
var character2 = 44;
|
|
1061
|
-
do {
|
|
1062
|
-
switch (token(character2)) {
|
|
1063
|
-
case 0:
|
|
1064
|
-
if (character2 === 38 && peek() === 12) {
|
|
1065
|
-
points[index] = 1;
|
|
1066
|
-
}
|
|
1067
|
-
parsed[index] += identifierWithPointTracking(position - 1, points, index);
|
|
1068
|
-
break;
|
|
1069
|
-
case 2:
|
|
1070
|
-
parsed[index] += delimit(character2);
|
|
1071
|
-
break;
|
|
1072
|
-
case 4:
|
|
1073
|
-
if (character2 === 44) {
|
|
1074
|
-
parsed[++index] = peek() === 58 ? "&\f" : "";
|
|
1075
|
-
points[index] = parsed[index].length;
|
|
1076
|
-
break;
|
|
1077
|
-
}
|
|
1078
|
-
default:
|
|
1079
|
-
parsed[index] += from(character2);
|
|
1080
|
-
}
|
|
1081
|
-
} while (character2 = next());
|
|
1082
|
-
return parsed;
|
|
1083
|
-
};
|
|
1084
|
-
var getRules = function getRules2(value, points) {
|
|
1085
|
-
return dealloc(toRules(alloc(value), points));
|
|
610
|
+
return r2 + (t2 && a2 ? t2 + "{" + a2 + "}" : a2) + l2;
|
|
1086
611
|
};
|
|
1087
|
-
var
|
|
1088
|
-
var
|
|
1089
|
-
if (
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
var value = element.value, parent = element.parent;
|
|
1095
|
-
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
1096
|
-
while (parent.type !== "rule") {
|
|
1097
|
-
parent = parent.parent;
|
|
1098
|
-
if (!parent)
|
|
1099
|
-
return;
|
|
1100
|
-
}
|
|
1101
|
-
if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
|
|
1102
|
-
return;
|
|
1103
|
-
}
|
|
1104
|
-
if (isImplicitRule) {
|
|
1105
|
-
return;
|
|
1106
|
-
}
|
|
1107
|
-
fixedElements.set(element, true);
|
|
1108
|
-
var points = [];
|
|
1109
|
-
var rules = getRules(value, points);
|
|
1110
|
-
var parentRules = parent.props;
|
|
1111
|
-
for (var i = 0, k = 0; i < rules.length; i++) {
|
|
1112
|
-
for (var j = 0; j < parentRules.length; j++, k++) {
|
|
1113
|
-
element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
|
|
1114
|
-
}
|
|
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;
|
|
1115
619
|
}
|
|
620
|
+
return e2;
|
|
1116
621
|
};
|
|
1117
|
-
var
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
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);
|
|
1128
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;
|
|
1129
642
|
};
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
case 4201:
|
|
1136
|
-
case 3177:
|
|
1137
|
-
case 3433:
|
|
1138
|
-
case 1641:
|
|
1139
|
-
case 4457:
|
|
1140
|
-
case 2921:
|
|
1141
|
-
case 5572:
|
|
1142
|
-
case 6356:
|
|
1143
|
-
case 5844:
|
|
1144
|
-
case 3191:
|
|
1145
|
-
case 6645:
|
|
1146
|
-
case 3005:
|
|
1147
|
-
case 6391:
|
|
1148
|
-
case 5879:
|
|
1149
|
-
case 5623:
|
|
1150
|
-
case 6135:
|
|
1151
|
-
case 4599:
|
|
1152
|
-
case 4855:
|
|
1153
|
-
case 4215:
|
|
1154
|
-
case 6389:
|
|
1155
|
-
case 5109:
|
|
1156
|
-
case 5365:
|
|
1157
|
-
case 5621:
|
|
1158
|
-
case 3829:
|
|
1159
|
-
return WEBKIT + value + value;
|
|
1160
|
-
case 5349:
|
|
1161
|
-
case 4246:
|
|
1162
|
-
case 4810:
|
|
1163
|
-
case 6968:
|
|
1164
|
-
case 2756:
|
|
1165
|
-
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
1166
|
-
case 6828:
|
|
1167
|
-
case 4268:
|
|
1168
|
-
return WEBKIT + value + MS + value + value;
|
|
1169
|
-
case 6165:
|
|
1170
|
-
return WEBKIT + value + MS + "flex-" + value + value;
|
|
1171
|
-
case 5187:
|
|
1172
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
|
|
1173
|
-
case 5443:
|
|
1174
|
-
return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
|
|
1175
|
-
case 4675:
|
|
1176
|
-
return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
|
|
1177
|
-
case 5548:
|
|
1178
|
-
return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
|
|
1179
|
-
case 5292:
|
|
1180
|
-
return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
|
|
1181
|
-
case 6060:
|
|
1182
|
-
return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
|
|
1183
|
-
case 4554:
|
|
1184
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
|
|
1185
|
-
case 6187:
|
|
1186
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
|
|
1187
|
-
case 5495:
|
|
1188
|
-
case 3959:
|
|
1189
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
|
|
1190
|
-
case 4968:
|
|
1191
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
|
|
1192
|
-
case 4095:
|
|
1193
|
-
case 3583:
|
|
1194
|
-
case 4068:
|
|
1195
|
-
case 2532:
|
|
1196
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
|
|
1197
|
-
case 8116:
|
|
1198
|
-
case 7059:
|
|
1199
|
-
case 5753:
|
|
1200
|
-
case 5535:
|
|
1201
|
-
case 5445:
|
|
1202
|
-
case 5701:
|
|
1203
|
-
case 4933:
|
|
1204
|
-
case 4677:
|
|
1205
|
-
case 5533:
|
|
1206
|
-
case 5789:
|
|
1207
|
-
case 5021:
|
|
1208
|
-
case 4765:
|
|
1209
|
-
if (strlen(value) - 1 - length2 > 6)
|
|
1210
|
-
switch (charat(value, length2 + 1)) {
|
|
1211
|
-
case 109:
|
|
1212
|
-
if (charat(value, length2 + 4) !== 45)
|
|
1213
|
-
break;
|
|
1214
|
-
case 102:
|
|
1215
|
-
return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
|
|
1216
|
-
case 115:
|
|
1217
|
-
return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
|
|
1218
|
-
}
|
|
1219
|
-
break;
|
|
1220
|
-
case 4949:
|
|
1221
|
-
if (charat(value, length2 + 1) !== 115)
|
|
1222
|
-
break;
|
|
1223
|
-
case 6444:
|
|
1224
|
-
switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
|
|
1225
|
-
case 107:
|
|
1226
|
-
return replace(value, ":", ":" + WEBKIT) + value;
|
|
1227
|
-
case 101:
|
|
1228
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
|
|
1229
|
-
}
|
|
1230
|
-
break;
|
|
1231
|
-
case 5936:
|
|
1232
|
-
switch (charat(value, length2 + 11)) {
|
|
1233
|
-
case 114:
|
|
1234
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
|
|
1235
|
-
case 108:
|
|
1236
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
|
|
1237
|
-
case 45:
|
|
1238
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
|
|
1239
|
-
}
|
|
1240
|
-
return WEBKIT + value + MS + value + value;
|
|
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;
|
|
1241
648
|
}
|
|
1242
|
-
return
|
|
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);
|
|
1243
654
|
}
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
if (!element["return"])
|
|
1247
|
-
switch (element.type) {
|
|
1248
|
-
case DECLARATION:
|
|
1249
|
-
element["return"] = prefix(element.value, element.length);
|
|
1250
|
-
break;
|
|
1251
|
-
case KEYFRAMES:
|
|
1252
|
-
return serialize([copy(element, {
|
|
1253
|
-
value: replace(element.value, "@", "@" + WEBKIT)
|
|
1254
|
-
})], callback);
|
|
1255
|
-
case RULESET:
|
|
1256
|
-
if (element.length)
|
|
1257
|
-
return combine(element.props, function(value) {
|
|
1258
|
-
switch (match(value, /(::plac\w+|:read-\w+)/)) {
|
|
1259
|
-
case ":read-only":
|
|
1260
|
-
case ":read-write":
|
|
1261
|
-
return serialize([copy(element, {
|
|
1262
|
-
props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
|
|
1263
|
-
})], callback);
|
|
1264
|
-
case "::placeholder":
|
|
1265
|
-
return serialize([copy(element, {
|
|
1266
|
-
props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
|
|
1267
|
-
}), copy(element, {
|
|
1268
|
-
props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
|
|
1269
|
-
}), copy(element, {
|
|
1270
|
-
props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
|
|
1271
|
-
})], callback);
|
|
1272
|
-
}
|
|
1273
|
-
return "";
|
|
1274
|
-
});
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
};
|
|
1278
|
-
var defaultStylisPlugins = [prefixer];
|
|
1279
|
-
var createCache = function createCache2(options) {
|
|
1280
|
-
var key = options.key;
|
|
1281
|
-
if (key === "css") {
|
|
1282
|
-
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1283
|
-
Array.prototype.forEach.call(ssrStyles, function(node2) {
|
|
1284
|
-
var dataEmotionAttribute = node2.getAttribute("data-emotion");
|
|
1285
|
-
if (dataEmotionAttribute.indexOf(" ") === -1) {
|
|
1286
|
-
return;
|
|
1287
|
-
}
|
|
1288
|
-
document.head.appendChild(node2);
|
|
1289
|
-
node2.setAttribute("data-s", "");
|
|
1290
|
-
});
|
|
1291
|
-
}
|
|
1292
|
-
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
1293
|
-
var inserted = {};
|
|
1294
|
-
var container;
|
|
1295
|
-
var nodesToHydrate = [];
|
|
1296
|
-
{
|
|
1297
|
-
container = options.container || document.head;
|
|
1298
|
-
Array.prototype.forEach.call(
|
|
1299
|
-
// this means we will ignore elements which don't have a space in them which
|
|
1300
|
-
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1301
|
-
document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
|
|
1302
|
-
function(node2) {
|
|
1303
|
-
var attrib = node2.getAttribute("data-emotion").split(" ");
|
|
1304
|
-
for (var i = 1; i < attrib.length; i++) {
|
|
1305
|
-
inserted[attrib[i]] = true;
|
|
1306
|
-
}
|
|
1307
|
-
nodesToHydrate.push(node2);
|
|
1308
|
-
}
|
|
1309
|
-
);
|
|
1310
|
-
}
|
|
1311
|
-
var _insert;
|
|
1312
|
-
var omnipresentPlugins = [compat, removeLabel];
|
|
1313
|
-
{
|
|
1314
|
-
var currentSheet;
|
|
1315
|
-
var finalizingPlugins = [stringify, rulesheet(function(rule) {
|
|
1316
|
-
currentSheet.insert(rule);
|
|
1317
|
-
})];
|
|
1318
|
-
var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
1319
|
-
var stylis = function stylis2(styles) {
|
|
1320
|
-
return serialize(compile(styles), serializer);
|
|
1321
|
-
};
|
|
1322
|
-
_insert = function insert2(selector, serialized, sheet2, shouldCache) {
|
|
1323
|
-
currentSheet = sheet2;
|
|
1324
|
-
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
1325
|
-
if (shouldCache) {
|
|
1326
|
-
cache2.inserted[serialized.name] = true;
|
|
1327
|
-
}
|
|
1328
|
-
};
|
|
1329
|
-
}
|
|
1330
|
-
var cache2 = {
|
|
1331
|
-
key,
|
|
1332
|
-
sheet: new StyleSheet({
|
|
1333
|
-
key,
|
|
1334
|
-
container,
|
|
1335
|
-
nonce: options.nonce,
|
|
1336
|
-
speedy: options.speedy,
|
|
1337
|
-
prepend: options.prepend,
|
|
1338
|
-
insertionPoint: options.insertionPoint
|
|
1339
|
-
}),
|
|
1340
|
-
nonce: options.nonce,
|
|
1341
|
-
inserted,
|
|
1342
|
-
registered: {},
|
|
1343
|
-
insert: _insert
|
|
1344
|
-
};
|
|
1345
|
-
cache2.sheet.hydrate(nodesToHydrate);
|
|
1346
|
-
return cache2;
|
|
1347
|
-
};
|
|
655
|
+
u.bind({ g: 1 });
|
|
656
|
+
u.bind({ k: 1 });
|
|
1348
657
|
|
|
1349
|
-
// ../../node_modules/.pnpm
|
|
1350
|
-
function
|
|
1351
|
-
var
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
}
|
|
1363
|
-
switch (len) {
|
|
1364
|
-
case 3:
|
|
1365
|
-
h ^= (str.charCodeAt(i + 2) & 255) << 16;
|
|
1366
|
-
case 2:
|
|
1367
|
-
h ^= (str.charCodeAt(i + 1) & 255) << 8;
|
|
1368
|
-
case 1:
|
|
1369
|
-
h ^= str.charCodeAt(i) & 255;
|
|
1370
|
-
h = /* Math.imul(h, m): */
|
|
1371
|
-
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
1372
|
-
}
|
|
1373
|
-
h ^= h >>> 13;
|
|
1374
|
-
h = /* Math.imul(h, m): */
|
|
1375
|
-
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
1376
|
-
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
// ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
1380
|
-
var unitlessKeys = {
|
|
1381
|
-
animationIterationCount: 1,
|
|
1382
|
-
aspectRatio: 1,
|
|
1383
|
-
borderImageOutset: 1,
|
|
1384
|
-
borderImageSlice: 1,
|
|
1385
|
-
borderImageWidth: 1,
|
|
1386
|
-
boxFlex: 1,
|
|
1387
|
-
boxFlexGroup: 1,
|
|
1388
|
-
boxOrdinalGroup: 1,
|
|
1389
|
-
columnCount: 1,
|
|
1390
|
-
columns: 1,
|
|
1391
|
-
flex: 1,
|
|
1392
|
-
flexGrow: 1,
|
|
1393
|
-
flexPositive: 1,
|
|
1394
|
-
flexShrink: 1,
|
|
1395
|
-
flexNegative: 1,
|
|
1396
|
-
flexOrder: 1,
|
|
1397
|
-
gridRow: 1,
|
|
1398
|
-
gridRowEnd: 1,
|
|
1399
|
-
gridRowSpan: 1,
|
|
1400
|
-
gridRowStart: 1,
|
|
1401
|
-
gridColumn: 1,
|
|
1402
|
-
gridColumnEnd: 1,
|
|
1403
|
-
gridColumnSpan: 1,
|
|
1404
|
-
gridColumnStart: 1,
|
|
1405
|
-
msGridRow: 1,
|
|
1406
|
-
msGridRowSpan: 1,
|
|
1407
|
-
msGridColumn: 1,
|
|
1408
|
-
msGridColumnSpan: 1,
|
|
1409
|
-
fontWeight: 1,
|
|
1410
|
-
lineHeight: 1,
|
|
1411
|
-
opacity: 1,
|
|
1412
|
-
order: 1,
|
|
1413
|
-
orphans: 1,
|
|
1414
|
-
tabSize: 1,
|
|
1415
|
-
widows: 1,
|
|
1416
|
-
zIndex: 1,
|
|
1417
|
-
zoom: 1,
|
|
1418
|
-
WebkitLineClamp: 1,
|
|
1419
|
-
// SVG-related properties
|
|
1420
|
-
fillOpacity: 1,
|
|
1421
|
-
floodOpacity: 1,
|
|
1422
|
-
stopOpacity: 1,
|
|
1423
|
-
strokeDasharray: 1,
|
|
1424
|
-
strokeDashoffset: 1,
|
|
1425
|
-
strokeMiterlimit: 1,
|
|
1426
|
-
strokeOpacity: 1,
|
|
1427
|
-
strokeWidth: 1
|
|
1428
|
-
};
|
|
1429
|
-
|
|
1430
|
-
// ../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
|
|
1431
|
-
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
1432
|
-
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
1433
|
-
var isCustomProperty = function isCustomProperty2(property) {
|
|
1434
|
-
return property.charCodeAt(1) === 45;
|
|
1435
|
-
};
|
|
1436
|
-
var isProcessableValue = function isProcessableValue2(value) {
|
|
1437
|
-
return value != null && typeof value !== "boolean";
|
|
1438
|
-
};
|
|
1439
|
-
var processStyleName = /* @__PURE__ */ memoize(function(styleName) {
|
|
1440
|
-
return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, "-$&").toLowerCase();
|
|
1441
|
-
});
|
|
1442
|
-
var processStyleValue = function processStyleValue2(key, value) {
|
|
1443
|
-
switch (key) {
|
|
1444
|
-
case "animation":
|
|
1445
|
-
case "animationName": {
|
|
1446
|
-
if (typeof value === "string") {
|
|
1447
|
-
return value.replace(animationRegex, function(match2, p1, p2) {
|
|
1448
|
-
cursor = {
|
|
1449
|
-
name: p1,
|
|
1450
|
-
styles: p2,
|
|
1451
|
-
next: cursor
|
|
1452
|
-
};
|
|
1453
|
-
return p1;
|
|
1454
|
-
});
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
|
|
1459
|
-
return value + "px";
|
|
1460
|
-
}
|
|
1461
|
-
return value;
|
|
1462
|
-
};
|
|
1463
|
-
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
1464
|
-
if (interpolation == null) {
|
|
1465
|
-
return "";
|
|
1466
|
-
}
|
|
1467
|
-
if (interpolation.__emotion_styles !== void 0) {
|
|
1468
|
-
return interpolation;
|
|
1469
|
-
}
|
|
1470
|
-
switch (typeof interpolation) {
|
|
1471
|
-
case "boolean": {
|
|
1472
|
-
return "";
|
|
1473
|
-
}
|
|
1474
|
-
case "object": {
|
|
1475
|
-
if (interpolation.anim === 1) {
|
|
1476
|
-
cursor = {
|
|
1477
|
-
name: interpolation.name,
|
|
1478
|
-
styles: interpolation.styles,
|
|
1479
|
-
next: cursor
|
|
1480
|
-
};
|
|
1481
|
-
return interpolation.name;
|
|
1482
|
-
}
|
|
1483
|
-
if (interpolation.styles !== void 0) {
|
|
1484
|
-
var next2 = interpolation.next;
|
|
1485
|
-
if (next2 !== void 0) {
|
|
1486
|
-
while (next2 !== void 0) {
|
|
1487
|
-
cursor = {
|
|
1488
|
-
name: next2.name,
|
|
1489
|
-
styles: next2.styles,
|
|
1490
|
-
next: cursor
|
|
1491
|
-
};
|
|
1492
|
-
next2 = next2.next;
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
var styles = interpolation.styles + ";";
|
|
1496
|
-
return styles;
|
|
1497
|
-
}
|
|
1498
|
-
return createStringFromObject(mergedProps, registered, interpolation);
|
|
1499
|
-
}
|
|
1500
|
-
case "function": {
|
|
1501
|
-
if (mergedProps !== void 0) {
|
|
1502
|
-
var previousCursor = cursor;
|
|
1503
|
-
var result = interpolation(mergedProps);
|
|
1504
|
-
cursor = previousCursor;
|
|
1505
|
-
return handleInterpolation(mergedProps, registered, result);
|
|
1506
|
-
}
|
|
1507
|
-
break;
|
|
1508
|
-
}
|
|
1509
|
-
}
|
|
1510
|
-
if (registered == null) {
|
|
1511
|
-
return interpolation;
|
|
1512
|
-
}
|
|
1513
|
-
var cached = registered[interpolation];
|
|
1514
|
-
return cached !== void 0 ? cached : interpolation;
|
|
1515
|
-
}
|
|
1516
|
-
function createStringFromObject(mergedProps, registered, obj) {
|
|
1517
|
-
var string = "";
|
|
1518
|
-
if (Array.isArray(obj)) {
|
|
1519
|
-
for (var i = 0; i < obj.length; i++) {
|
|
1520
|
-
string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
|
|
1521
|
-
}
|
|
1522
|
-
} else {
|
|
1523
|
-
for (var _key in obj) {
|
|
1524
|
-
var value = obj[_key];
|
|
1525
|
-
if (typeof value !== "object") {
|
|
1526
|
-
if (registered != null && registered[value] !== void 0) {
|
|
1527
|
-
string += _key + "{" + registered[value] + "}";
|
|
1528
|
-
} else if (isProcessableValue(value)) {
|
|
1529
|
-
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
|
|
1530
|
-
}
|
|
1531
|
-
} else {
|
|
1532
|
-
if (_key === "NO_COMPONENT_SELECTOR" && false) {
|
|
1533
|
-
throw new Error(noComponentSelectorMessage);
|
|
1534
|
-
}
|
|
1535
|
-
if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
|
|
1536
|
-
for (var _i = 0; _i < value.length; _i++) {
|
|
1537
|
-
if (isProcessableValue(value[_i])) {
|
|
1538
|
-
string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
} else {
|
|
1542
|
-
var interpolated = handleInterpolation(mergedProps, registered, value);
|
|
1543
|
-
switch (_key) {
|
|
1544
|
-
case "animation":
|
|
1545
|
-
case "animationName": {
|
|
1546
|
-
string += processStyleName(_key) + ":" + interpolated + ";";
|
|
1547
|
-
break;
|
|
1548
|
-
}
|
|
1549
|
-
default: {
|
|
1550
|
-
string += _key + "{" + interpolated + "}";
|
|
1551
|
-
}
|
|
1552
|
-
}
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
return string;
|
|
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;
|
|
1558
671
|
}
|
|
1559
|
-
|
|
1560
|
-
var
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
return args[0];
|
|
1564
|
-
}
|
|
1565
|
-
var stringMode = true;
|
|
1566
|
-
var styles = "";
|
|
1567
|
-
cursor = void 0;
|
|
1568
|
-
var strings = args[0];
|
|
1569
|
-
if (strings == null || strings.raw === void 0) {
|
|
1570
|
-
stringMode = false;
|
|
1571
|
-
styles += handleInterpolation(mergedProps, registered, strings);
|
|
1572
|
-
} else {
|
|
1573
|
-
styles += strings[0];
|
|
1574
|
-
}
|
|
1575
|
-
for (var i = 1; i < args.length; i++) {
|
|
1576
|
-
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
1577
|
-
if (stringMode) {
|
|
1578
|
-
styles += strings[i];
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
labelPattern.lastIndex = 0;
|
|
1582
|
-
var identifierName = "";
|
|
1583
|
-
var match2;
|
|
1584
|
-
while ((match2 = labelPattern.exec(styles)) !== null) {
|
|
1585
|
-
identifierName += "-" + // $FlowFixMe we know it's not null
|
|
1586
|
-
match2[1];
|
|
1587
|
-
}
|
|
1588
|
-
var name = murmur2(styles) + identifierName;
|
|
1589
|
-
return {
|
|
1590
|
-
name,
|
|
1591
|
-
styles,
|
|
1592
|
-
next: cursor
|
|
1593
|
-
};
|
|
1594
|
-
};
|
|
1595
|
-
|
|
1596
|
-
// ../../node_modules/.pnpm/@emotion+utils@1.2.1/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
1597
|
-
var isBrowser = true;
|
|
1598
|
-
function getRegisteredStyles(registered, registeredStyles, classNames) {
|
|
1599
|
-
var rawClassName = "";
|
|
1600
|
-
classNames.split(" ").forEach(function(className2) {
|
|
1601
|
-
if (registered[className2] !== void 0) {
|
|
1602
|
-
registeredStyles.push(registered[className2] + ";");
|
|
1603
|
-
} else {
|
|
1604
|
-
rawClassName += className2 + " ";
|
|
1605
|
-
}
|
|
1606
|
-
});
|
|
1607
|
-
return rawClassName;
|
|
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;
|
|
1608
676
|
}
|
|
1609
|
-
var registerStyles = function registerStyles2(cache2, serialized, isStringTag) {
|
|
1610
|
-
var className2 = cache2.key + "-" + serialized.name;
|
|
1611
|
-
if (
|
|
1612
|
-
// we only need to add the styles to the registered cache if the
|
|
1613
|
-
// class name could be used further down
|
|
1614
|
-
// the tree but if it's a string tag, we know it won't
|
|
1615
|
-
// so we don't have to add it to registered cache.
|
|
1616
|
-
// this improves memory usage since we can avoid storing the whole style string
|
|
1617
|
-
(isStringTag === false || // we need to always store it if we're in compat mode and
|
|
1618
|
-
// in node since emotion-server relies on whether a style is in
|
|
1619
|
-
// the registered cache to know whether a style is global or not
|
|
1620
|
-
// also, note that this check will be dead code eliminated in the browser
|
|
1621
|
-
isBrowser === false) && cache2.registered[className2] === void 0
|
|
1622
|
-
) {
|
|
1623
|
-
cache2.registered[className2] = serialized.styles;
|
|
1624
|
-
}
|
|
1625
|
-
};
|
|
1626
|
-
var insertStyles = function insertStyles2(cache2, serialized, isStringTag) {
|
|
1627
|
-
registerStyles(cache2, serialized, isStringTag);
|
|
1628
|
-
var className2 = cache2.key + "-" + serialized.name;
|
|
1629
|
-
if (cache2.inserted[serialized.name] === void 0) {
|
|
1630
|
-
var current = serialized;
|
|
1631
|
-
do {
|
|
1632
|
-
cache2.insert(serialized === current ? "." + className2 : "", current, cache2.sheet, true);
|
|
1633
|
-
current = current.next;
|
|
1634
|
-
} while (current !== void 0);
|
|
1635
|
-
}
|
|
1636
|
-
};
|
|
1637
|
-
|
|
1638
|
-
// ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
1639
|
-
function insertWithoutScoping(cache2, serialized) {
|
|
1640
|
-
if (cache2.inserted[serialized.name] === void 0) {
|
|
1641
|
-
return cache2.insert("", serialized, cache2.sheet, true);
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
function merge(registered, css2, className2) {
|
|
1645
|
-
var registeredStyles = [];
|
|
1646
|
-
var rawClassName = getRegisteredStyles(registered, registeredStyles, className2);
|
|
1647
|
-
if (registeredStyles.length < 2) {
|
|
1648
|
-
return className2;
|
|
1649
|
-
}
|
|
1650
|
-
return rawClassName + css2(registeredStyles);
|
|
1651
|
-
}
|
|
1652
|
-
var createEmotion = function createEmotion2(options) {
|
|
1653
|
-
var cache2 = createCache(options);
|
|
1654
|
-
cache2.sheet.speedy = function(value) {
|
|
1655
|
-
this.isSpeedy = value;
|
|
1656
|
-
};
|
|
1657
|
-
cache2.compat = true;
|
|
1658
|
-
var css2 = function css3() {
|
|
1659
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1660
|
-
args[_key] = arguments[_key];
|
|
1661
|
-
}
|
|
1662
|
-
var serialized = serializeStyles(args, cache2.registered, void 0);
|
|
1663
|
-
insertStyles(cache2, serialized, false);
|
|
1664
|
-
return cache2.key + "-" + serialized.name;
|
|
1665
|
-
};
|
|
1666
|
-
var keyframes2 = function keyframes3() {
|
|
1667
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
1668
|
-
args[_key2] = arguments[_key2];
|
|
1669
|
-
}
|
|
1670
|
-
var serialized = serializeStyles(args, cache2.registered);
|
|
1671
|
-
var animation = "animation-" + serialized.name;
|
|
1672
|
-
insertWithoutScoping(cache2, {
|
|
1673
|
-
name: serialized.name,
|
|
1674
|
-
styles: "@keyframes " + animation + "{" + serialized.styles + "}"
|
|
1675
|
-
});
|
|
1676
|
-
return animation;
|
|
1677
|
-
};
|
|
1678
|
-
var injectGlobal2 = function injectGlobal3() {
|
|
1679
|
-
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
1680
|
-
args[_key3] = arguments[_key3];
|
|
1681
|
-
}
|
|
1682
|
-
var serialized = serializeStyles(args, cache2.registered);
|
|
1683
|
-
insertWithoutScoping(cache2, serialized);
|
|
1684
|
-
};
|
|
1685
|
-
var cx2 = function cx3() {
|
|
1686
|
-
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
1687
|
-
args[_key4] = arguments[_key4];
|
|
1688
|
-
}
|
|
1689
|
-
return merge(cache2.registered, css2, classnames(args));
|
|
1690
|
-
};
|
|
1691
|
-
return {
|
|
1692
|
-
css: css2,
|
|
1693
|
-
cx: cx2,
|
|
1694
|
-
injectGlobal: injectGlobal2,
|
|
1695
|
-
keyframes: keyframes2,
|
|
1696
|
-
hydrate: function hydrate2(ids) {
|
|
1697
|
-
ids.forEach(function(key) {
|
|
1698
|
-
cache2.inserted[key] = true;
|
|
1699
|
-
});
|
|
1700
|
-
},
|
|
1701
|
-
flush: function flush2() {
|
|
1702
|
-
cache2.registered = {};
|
|
1703
|
-
cache2.inserted = {};
|
|
1704
|
-
cache2.sheet.flush();
|
|
1705
|
-
},
|
|
1706
|
-
// $FlowFixMe
|
|
1707
|
-
sheet: cache2.sheet,
|
|
1708
|
-
cache: cache2,
|
|
1709
|
-
getRegisteredStyles: getRegisteredStyles.bind(null, cache2.registered),
|
|
1710
|
-
merge: merge.bind(null, cache2.registered, css2)
|
|
1711
|
-
};
|
|
1712
|
-
};
|
|
1713
|
-
var classnames = function classnames2(args) {
|
|
1714
|
-
var cls = "";
|
|
1715
|
-
for (var i = 0; i < args.length; i++) {
|
|
1716
|
-
var arg = args[i];
|
|
1717
|
-
if (arg == null)
|
|
1718
|
-
continue;
|
|
1719
|
-
var toAdd = void 0;
|
|
1720
|
-
switch (typeof arg) {
|
|
1721
|
-
case "boolean":
|
|
1722
|
-
break;
|
|
1723
|
-
case "object": {
|
|
1724
|
-
if (Array.isArray(arg)) {
|
|
1725
|
-
toAdd = classnames2(arg);
|
|
1726
|
-
} else {
|
|
1727
|
-
toAdd = "";
|
|
1728
|
-
for (var k in arg) {
|
|
1729
|
-
if (arg[k] && k) {
|
|
1730
|
-
toAdd && (toAdd += " ");
|
|
1731
|
-
toAdd += k;
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
}
|
|
1735
|
-
break;
|
|
1736
|
-
}
|
|
1737
|
-
default: {
|
|
1738
|
-
toAdd = arg;
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
if (toAdd) {
|
|
1742
|
-
cls && (cls += " ");
|
|
1743
|
-
cls += toAdd;
|
|
1744
|
-
}
|
|
1745
|
-
}
|
|
1746
|
-
return cls;
|
|
1747
|
-
};
|
|
1748
|
-
|
|
1749
|
-
// ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/dist/emotion-css.esm.js
|
|
1750
|
-
var _createEmotion = createEmotion({
|
|
1751
|
-
key: "css"
|
|
1752
|
-
});
|
|
1753
|
-
_createEmotion.flush;
|
|
1754
|
-
_createEmotion.hydrate;
|
|
1755
|
-
var cx = _createEmotion.cx;
|
|
1756
|
-
_createEmotion.merge;
|
|
1757
|
-
_createEmotion.getRegisteredStyles;
|
|
1758
|
-
_createEmotion.injectGlobal;
|
|
1759
|
-
_createEmotion.keyframes;
|
|
1760
|
-
var css = _createEmotion.css;
|
|
1761
|
-
_createEmotion.sheet;
|
|
1762
|
-
_createEmotion.cache;
|
|
1763
677
|
|
|
1764
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
|
|
1765
679
|
var noop = () => {
|
|
@@ -1767,8 +681,8 @@ var noop = () => {
|
|
|
1767
681
|
function createListTransition(source, options) {
|
|
1768
682
|
const initSource = untrack(source);
|
|
1769
683
|
if (isServer) {
|
|
1770
|
-
const
|
|
1771
|
-
return () =>
|
|
684
|
+
const copy2 = initSource.slice();
|
|
685
|
+
return () => copy2;
|
|
1772
686
|
}
|
|
1773
687
|
const { onChange } = options;
|
|
1774
688
|
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
@@ -1776,29 +690,29 @@ function createListTransition(source, options) {
|
|
|
1776
690
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
1777
691
|
const [isTransitionPending] = useTransition();
|
|
1778
692
|
const finishRemoved = options.exitMethod === "remove" ? noop : (els) => {
|
|
1779
|
-
setToRemove((
|
|
693
|
+
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
1780
694
|
for (const el of els)
|
|
1781
695
|
exiting.delete(el);
|
|
1782
696
|
};
|
|
1783
|
-
const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, 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);
|
|
1784
698
|
return createMemo(
|
|
1785
|
-
(
|
|
699
|
+
(prev) => {
|
|
1786
700
|
const elsToRemove = toRemove();
|
|
1787
701
|
const sourceList = source();
|
|
1788
702
|
sourceList[$TRACK];
|
|
1789
703
|
if (untrack(isTransitionPending)) {
|
|
1790
704
|
isTransitionPending();
|
|
1791
|
-
return
|
|
705
|
+
return prev;
|
|
1792
706
|
}
|
|
1793
707
|
if (elsToRemove.length) {
|
|
1794
|
-
const
|
|
708
|
+
const next = prev.filter((e2) => !elsToRemove.includes(e2));
|
|
1795
709
|
elsToRemove.length = 0;
|
|
1796
|
-
onChange({ list:
|
|
1797
|
-
return
|
|
710
|
+
onChange({ list: next, added: [], removed: [], unchanged: next, finishRemoved });
|
|
711
|
+
return next;
|
|
1798
712
|
}
|
|
1799
713
|
return untrack(() => {
|
|
1800
714
|
const nextSet = new Set(sourceList);
|
|
1801
|
-
const
|
|
715
|
+
const next = sourceList.slice();
|
|
1802
716
|
const added = [];
|
|
1803
717
|
const removed = [];
|
|
1804
718
|
const unchanged = [];
|
|
@@ -1806,23 +720,23 @@ function createListTransition(source, options) {
|
|
|
1806
720
|
(prevSet.has(el) ? unchanged : added).push(el);
|
|
1807
721
|
}
|
|
1808
722
|
let nothingChanged = !added.length;
|
|
1809
|
-
for (let
|
|
1810
|
-
const el =
|
|
723
|
+
for (let i2 = 0; i2 < prev.length; i2++) {
|
|
724
|
+
const el = prev[i2];
|
|
1811
725
|
if (!nextSet.has(el)) {
|
|
1812
726
|
if (!exiting.has(el)) {
|
|
1813
727
|
removed.push(el);
|
|
1814
728
|
exiting.add(el);
|
|
1815
729
|
}
|
|
1816
|
-
handleRemoved(
|
|
730
|
+
handleRemoved(next, el, i2);
|
|
1817
731
|
}
|
|
1818
|
-
if (nothingChanged && el !==
|
|
732
|
+
if (nothingChanged && el !== next[i2])
|
|
1819
733
|
nothingChanged = false;
|
|
1820
734
|
}
|
|
1821
735
|
if (!removed.length && nothingChanged)
|
|
1822
|
-
return
|
|
1823
|
-
onChange({ list:
|
|
736
|
+
return prev;
|
|
737
|
+
onChange({ list: next, added, removed, unchanged, finishRemoved });
|
|
1824
738
|
prevSet = nextSet;
|
|
1825
|
-
return
|
|
739
|
+
return next;
|
|
1826
740
|
});
|
|
1827
741
|
},
|
|
1828
742
|
options.appear ? [] : initSource.slice()
|
|
@@ -1831,38 +745,38 @@ function createListTransition(source, options) {
|
|
|
1831
745
|
|
|
1832
746
|
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js
|
|
1833
747
|
var noop2 = () => void 0;
|
|
1834
|
-
var isNonNullable = (
|
|
748
|
+
var isNonNullable = (i2) => i2 != null;
|
|
1835
749
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
1836
750
|
var access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
1837
751
|
var asArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
|
|
1838
|
-
function handleDiffArray(current,
|
|
752
|
+
function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
1839
753
|
const currLength = current.length;
|
|
1840
|
-
const prevLength =
|
|
1841
|
-
let
|
|
754
|
+
const prevLength = prev.length;
|
|
755
|
+
let i2 = 0;
|
|
1842
756
|
if (!prevLength) {
|
|
1843
|
-
for (;
|
|
1844
|
-
handleAdded(current[
|
|
757
|
+
for (; i2 < currLength; i2++)
|
|
758
|
+
handleAdded(current[i2]);
|
|
1845
759
|
return;
|
|
1846
760
|
}
|
|
1847
761
|
if (!currLength) {
|
|
1848
|
-
for (;
|
|
1849
|
-
handleRemoved(
|
|
762
|
+
for (; i2 < prevLength; i2++)
|
|
763
|
+
handleRemoved(prev[i2]);
|
|
1850
764
|
return;
|
|
1851
765
|
}
|
|
1852
|
-
for (;
|
|
1853
|
-
if (
|
|
766
|
+
for (; i2 < prevLength; i2++) {
|
|
767
|
+
if (prev[i2] !== current[i2])
|
|
1854
768
|
break;
|
|
1855
769
|
}
|
|
1856
770
|
let prevEl;
|
|
1857
771
|
let currEl;
|
|
1858
|
-
|
|
1859
|
-
current = current.slice(
|
|
1860
|
-
for (prevEl of
|
|
772
|
+
prev = prev.slice(i2);
|
|
773
|
+
current = current.slice(i2);
|
|
774
|
+
for (prevEl of prev) {
|
|
1861
775
|
if (!current.includes(prevEl))
|
|
1862
776
|
handleRemoved(prevEl);
|
|
1863
777
|
}
|
|
1864
778
|
for (currEl of current) {
|
|
1865
|
-
if (!
|
|
779
|
+
if (!prev.includes(currEl))
|
|
1866
780
|
handleAdded(currEl);
|
|
1867
781
|
}
|
|
1868
782
|
}
|
|
@@ -1915,8 +829,8 @@ function createClassnames(props) {
|
|
|
1915
829
|
function nextFrame(fn) {
|
|
1916
830
|
requestAnimationFrame(() => requestAnimationFrame(fn));
|
|
1917
831
|
}
|
|
1918
|
-
function enterTransition(
|
|
1919
|
-
const { enterClasses, enterActiveClasses, enterToClasses } =
|
|
832
|
+
function enterTransition(classnames, events, el, done) {
|
|
833
|
+
const { enterClasses, enterActiveClasses, enterToClasses } = classnames, { onBeforeEnter, onEnter, onAfterEnter } = events;
|
|
1920
834
|
onBeforeEnter?.(el);
|
|
1921
835
|
el.classList.add(...enterClasses);
|
|
1922
836
|
el.classList.add(...enterActiveClasses);
|
|
@@ -1933,8 +847,8 @@ function enterTransition(classnames3, events, el, done) {
|
|
|
1933
847
|
el.addEventListener("animationend", endTransition);
|
|
1934
848
|
}
|
|
1935
849
|
});
|
|
1936
|
-
function endTransition(
|
|
1937
|
-
if (!
|
|
850
|
+
function endTransition(e2) {
|
|
851
|
+
if (!e2 || e2.target === el) {
|
|
1938
852
|
done?.();
|
|
1939
853
|
el.removeEventListener("transitionend", endTransition);
|
|
1940
854
|
el.removeEventListener("animationend", endTransition);
|
|
@@ -1944,8 +858,8 @@ function enterTransition(classnames3, events, el, done) {
|
|
|
1944
858
|
}
|
|
1945
859
|
}
|
|
1946
860
|
}
|
|
1947
|
-
function exitTransition(
|
|
1948
|
-
const { exitClasses, exitActiveClasses, exitToClasses } =
|
|
861
|
+
function exitTransition(classnames, events, el, done) {
|
|
862
|
+
const { exitClasses, exitActiveClasses, exitToClasses } = classnames, { onBeforeExit, onExit, onAfterExit } = events;
|
|
1949
863
|
if (!el.parentNode)
|
|
1950
864
|
return done?.();
|
|
1951
865
|
onBeforeExit?.(el);
|
|
@@ -1960,8 +874,8 @@ function exitTransition(classnames3, events, el, done) {
|
|
|
1960
874
|
el.addEventListener("animationend", endTransition);
|
|
1961
875
|
}
|
|
1962
876
|
});
|
|
1963
|
-
function endTransition(
|
|
1964
|
-
if (!
|
|
877
|
+
function endTransition(e2) {
|
|
878
|
+
if (!e2 || e2.target === el) {
|
|
1965
879
|
done?.();
|
|
1966
880
|
el.removeEventListener("transitionend", endTransition);
|
|
1967
881
|
el.removeEventListener("animationend", endTransition);
|
|
@@ -1972,12 +886,12 @@ function exitTransition(classnames3, events, el, done) {
|
|
|
1972
886
|
}
|
|
1973
887
|
}
|
|
1974
888
|
var TransitionGroup = (props) => {
|
|
1975
|
-
const
|
|
889
|
+
const classnames = createClassnames(props);
|
|
1976
890
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
1977
891
|
appear: props.appear,
|
|
1978
892
|
exitMethod: "keep-index",
|
|
1979
893
|
onChange({ added, removed, finishRemoved, list }) {
|
|
1980
|
-
const classes =
|
|
894
|
+
const classes = classnames();
|
|
1981
895
|
for (const el of added) {
|
|
1982
896
|
enterTransition(classes, props, el);
|
|
1983
897
|
}
|
|
@@ -2001,8 +915,8 @@ var TransitionGroup = (props) => {
|
|
|
2001
915
|
}
|
|
2002
916
|
document.body.offsetHeight;
|
|
2003
917
|
for (const el of moved) {
|
|
2004
|
-
let endTransition2 = function(
|
|
2005
|
-
if (
|
|
918
|
+
let endTransition2 = function(e2) {
|
|
919
|
+
if (e2.target === el || /transform$/.test(e2.propertyName)) {
|
|
2006
920
|
el.removeEventListener("transitionend", endTransition2);
|
|
2007
921
|
el.classList.remove(...classes.moveClasses);
|
|
2008
922
|
}
|
|
@@ -2022,86 +936,86 @@ var TransitionGroup = (props) => {
|
|
|
2022
936
|
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.7.8/node_modules/@solid-primitives/keyed/dist/index.js
|
|
2023
937
|
var FALLBACK = Symbol("fallback");
|
|
2024
938
|
function dispose(list) {
|
|
2025
|
-
for (const
|
|
2026
|
-
|
|
939
|
+
for (const o2 of list)
|
|
940
|
+
o2.dispose();
|
|
2027
941
|
}
|
|
2028
942
|
function keyArray(items, keyFn, mapFn, options = {}) {
|
|
2029
943
|
if (isServer) {
|
|
2030
944
|
const itemsRef = items();
|
|
2031
|
-
let
|
|
945
|
+
let s2 = [];
|
|
2032
946
|
if (itemsRef && itemsRef.length) {
|
|
2033
|
-
for (let
|
|
2034
|
-
|
|
947
|
+
for (let i2 = 0, len = itemsRef.length; i2 < len; i2++)
|
|
948
|
+
s2.push(
|
|
2035
949
|
mapFn(
|
|
2036
|
-
() => itemsRef[
|
|
2037
|
-
() =>
|
|
950
|
+
() => itemsRef[i2],
|
|
951
|
+
() => i2
|
|
2038
952
|
)
|
|
2039
953
|
);
|
|
2040
954
|
} else if (options.fallback)
|
|
2041
|
-
|
|
2042
|
-
return () =>
|
|
955
|
+
s2 = [options.fallback()];
|
|
956
|
+
return () => s2;
|
|
2043
957
|
}
|
|
2044
|
-
const
|
|
2045
|
-
onCleanup(() => dispose(
|
|
958
|
+
const prev = /* @__PURE__ */ new Map();
|
|
959
|
+
onCleanup(() => dispose(prev.values()));
|
|
2046
960
|
return () => {
|
|
2047
961
|
const list = items() || [];
|
|
2048
962
|
list[$TRACK];
|
|
2049
963
|
return untrack(() => {
|
|
2050
964
|
if (!list.length) {
|
|
2051
|
-
dispose(
|
|
2052
|
-
|
|
965
|
+
dispose(prev.values());
|
|
966
|
+
prev.clear();
|
|
2053
967
|
if (!options.fallback)
|
|
2054
968
|
return [];
|
|
2055
969
|
const fb2 = createRoot((dispose2) => {
|
|
2056
|
-
|
|
970
|
+
prev.set(FALLBACK, { dispose: dispose2 });
|
|
2057
971
|
return options.fallback();
|
|
2058
972
|
});
|
|
2059
973
|
return [fb2];
|
|
2060
974
|
}
|
|
2061
975
|
const result = new Array(list.length);
|
|
2062
|
-
const fb =
|
|
2063
|
-
if (!
|
|
976
|
+
const fb = prev.get(FALLBACK);
|
|
977
|
+
if (!prev.size || fb) {
|
|
2064
978
|
fb?.dispose();
|
|
2065
|
-
|
|
2066
|
-
for (let
|
|
2067
|
-
const item = list[
|
|
2068
|
-
const key = keyFn(item,
|
|
2069
|
-
addNewItem(result, item,
|
|
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);
|
|
2070
984
|
}
|
|
2071
985
|
return result;
|
|
2072
986
|
}
|
|
2073
|
-
const prevKeys = new Set(
|
|
2074
|
-
for (let
|
|
2075
|
-
const item = list[
|
|
2076
|
-
const key = keyFn(item,
|
|
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);
|
|
2077
991
|
prevKeys.delete(key);
|
|
2078
|
-
const lookup =
|
|
992
|
+
const lookup = prev.get(key);
|
|
2079
993
|
if (lookup) {
|
|
2080
|
-
result[
|
|
2081
|
-
lookup.setIndex?.(
|
|
994
|
+
result[i2] = lookup.mapped;
|
|
995
|
+
lookup.setIndex?.(i2);
|
|
2082
996
|
lookup.setItem(() => item);
|
|
2083
997
|
} else
|
|
2084
|
-
addNewItem(result, item,
|
|
998
|
+
addNewItem(result, item, i2, key);
|
|
2085
999
|
}
|
|
2086
1000
|
for (const key of prevKeys) {
|
|
2087
|
-
|
|
2088
|
-
|
|
1001
|
+
prev.get(key)?.dispose();
|
|
1002
|
+
prev.delete(key);
|
|
2089
1003
|
}
|
|
2090
1004
|
return result;
|
|
2091
1005
|
});
|
|
2092
1006
|
};
|
|
2093
|
-
function addNewItem(list, item,
|
|
1007
|
+
function addNewItem(list, item, i2, key) {
|
|
2094
1008
|
createRoot((dispose2) => {
|
|
2095
1009
|
const [getItem, setItem] = createSignal(item);
|
|
2096
1010
|
const save = { setItem, dispose: dispose2 };
|
|
2097
1011
|
if (mapFn.length > 1) {
|
|
2098
|
-
const [index, setIndex] = createSignal(
|
|
1012
|
+
const [index, setIndex] = createSignal(i2);
|
|
2099
1013
|
save.setIndex = setIndex;
|
|
2100
1014
|
save.mapped = mapFn(getItem, index);
|
|
2101
1015
|
} else
|
|
2102
1016
|
save.mapped = mapFn(getItem);
|
|
2103
|
-
|
|
2104
|
-
list[
|
|
1017
|
+
prev.set(key, save);
|
|
1018
|
+
list[i2] = save.mapped;
|
|
2105
1019
|
});
|
|
2106
1020
|
}
|
|
2107
1021
|
}
|
|
@@ -2127,27 +1041,27 @@ function createStorage(props) {
|
|
|
2127
1041
|
setError(err instanceof Error ? err : new Error(fallback));
|
|
2128
1042
|
};
|
|
2129
1043
|
const apis = props?.api ? Array.isArray(props.api) ? props.api : [props.api] : [globalThis.localStorage].filter(Boolean);
|
|
2130
|
-
const
|
|
1044
|
+
const prefix = props?.prefix ? `${props.prefix}.` : "";
|
|
2131
1045
|
const signals = /* @__PURE__ */ new Map();
|
|
2132
1046
|
const store = new Proxy(
|
|
2133
1047
|
{},
|
|
2134
1048
|
{
|
|
2135
1049
|
get(_, key) {
|
|
2136
|
-
let
|
|
2137
|
-
if (!
|
|
2138
|
-
|
|
2139
|
-
signals.set(key,
|
|
1050
|
+
let node = signals.get(key);
|
|
1051
|
+
if (!node) {
|
|
1052
|
+
node = createSignal(void 0, { equals: false });
|
|
1053
|
+
signals.set(key, node);
|
|
2140
1054
|
}
|
|
2141
|
-
|
|
1055
|
+
node[0]();
|
|
2142
1056
|
const value = apis.reduce(
|
|
2143
1057
|
(result, api) => {
|
|
2144
1058
|
if (result !== null || !api) {
|
|
2145
1059
|
return result;
|
|
2146
1060
|
}
|
|
2147
1061
|
try {
|
|
2148
|
-
return api.getItem(`${
|
|
1062
|
+
return api.getItem(`${prefix}${key}`);
|
|
2149
1063
|
} catch (err) {
|
|
2150
|
-
handleError(err, `Error reading ${
|
|
1064
|
+
handleError(err, `Error reading ${prefix}${key} from ${api["name"]}`);
|
|
2151
1065
|
return null;
|
|
2152
1066
|
}
|
|
2153
1067
|
},
|
|
@@ -2162,22 +1076,22 @@ function createStorage(props) {
|
|
|
2162
1076
|
);
|
|
2163
1077
|
const setter = (key, value, options) => {
|
|
2164
1078
|
const filteredValue = props?.serializer ? props.serializer(value, key, options ?? props.options) : value;
|
|
2165
|
-
const apiKey = `${
|
|
1079
|
+
const apiKey = `${prefix}${key}`;
|
|
2166
1080
|
apis.forEach((api) => {
|
|
2167
1081
|
try {
|
|
2168
1082
|
api.getItem(apiKey) !== filteredValue && api.setItem(apiKey, filteredValue);
|
|
2169
1083
|
} catch (err) {
|
|
2170
|
-
handleError(err, `Error setting ${
|
|
1084
|
+
handleError(err, `Error setting ${prefix}${key} to ${filteredValue} in ${api.name}`);
|
|
2171
1085
|
}
|
|
2172
1086
|
});
|
|
2173
|
-
const
|
|
2174
|
-
|
|
1087
|
+
const node = signals.get(key);
|
|
1088
|
+
node && node[1]();
|
|
2175
1089
|
};
|
|
2176
1090
|
const remove = (key) => apis.forEach((api) => {
|
|
2177
1091
|
try {
|
|
2178
|
-
api.removeItem(`${
|
|
1092
|
+
api.removeItem(`${prefix}${key}`);
|
|
2179
1093
|
} catch (err) {
|
|
2180
|
-
handleError(err, `Error removing ${
|
|
1094
|
+
handleError(err, `Error removing ${prefix}${key} from ${api.name}`);
|
|
2181
1095
|
}
|
|
2182
1096
|
});
|
|
2183
1097
|
const clear = () => apis.forEach((api) => {
|
|
@@ -2324,15 +1238,15 @@ var cookieStorage = addClearMethod({
|
|
|
2324
1238
|
return key;
|
|
2325
1239
|
},
|
|
2326
1240
|
get length() {
|
|
2327
|
-
let
|
|
1241
|
+
let length = 0;
|
|
2328
1242
|
cookieStorage._cookies[0][cookieStorage._cookies[1]].replace(
|
|
2329
1243
|
/(?:^|;)\s*.+?\s*=\s*[^;]+/g,
|
|
2330
1244
|
(found) => {
|
|
2331
|
-
|
|
1245
|
+
length += found ? 1 : 0;
|
|
2332
1246
|
return "";
|
|
2333
1247
|
}
|
|
2334
1248
|
);
|
|
2335
|
-
return
|
|
1249
|
+
return length;
|
|
2336
1250
|
}
|
|
2337
1251
|
});
|
|
2338
1252
|
|
|
@@ -2360,9 +1274,9 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
2360
1274
|
}
|
|
2361
1275
|
}
|
|
2362
1276
|
}, options);
|
|
2363
|
-
createEffect((
|
|
1277
|
+
createEffect((prev) => {
|
|
2364
1278
|
const refs = filterNonNullable(asArray(access(targets)));
|
|
2365
|
-
handleDiffArray(refs,
|
|
1279
|
+
handleDiffArray(refs, prev, observe, unobserve);
|
|
2366
1280
|
return refs;
|
|
2367
1281
|
}, []);
|
|
2368
1282
|
}
|
|
@@ -2707,14 +1621,14 @@ var Registry = (
|
|
|
2707
1621
|
this.generateIdentifier = generateIdentifier;
|
|
2708
1622
|
this.kv = new DoubleIndexedKV();
|
|
2709
1623
|
}
|
|
2710
|
-
Registry2.prototype.register = function(value,
|
|
1624
|
+
Registry2.prototype.register = function(value, identifier) {
|
|
2711
1625
|
if (this.kv.getByValue(value)) {
|
|
2712
1626
|
return;
|
|
2713
1627
|
}
|
|
2714
|
-
if (!
|
|
2715
|
-
|
|
1628
|
+
if (!identifier) {
|
|
1629
|
+
identifier = this.generateIdentifier(value);
|
|
2716
1630
|
}
|
|
2717
|
-
this.kv.set(
|
|
1631
|
+
this.kv.set(identifier, value);
|
|
2718
1632
|
};
|
|
2719
1633
|
Registry2.prototype.clear = function() {
|
|
2720
1634
|
this.kv.clear();
|
|
@@ -2722,8 +1636,8 @@ var Registry = (
|
|
|
2722
1636
|
Registry2.prototype.getIdentifier = function(value) {
|
|
2723
1637
|
return this.kv.getByValue(value);
|
|
2724
1638
|
};
|
|
2725
|
-
Registry2.prototype.getValue = function(
|
|
2726
|
-
return this.kv.getByKey(
|
|
1639
|
+
Registry2.prototype.getValue = function(identifier) {
|
|
1640
|
+
return this.kv.getByKey(identifier);
|
|
2727
1641
|
};
|
|
2728
1642
|
return Registry2;
|
|
2729
1643
|
}()
|
|
@@ -2731,24 +1645,24 @@ var Registry = (
|
|
|
2731
1645
|
|
|
2732
1646
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/class-registry.js
|
|
2733
1647
|
var __extends = function() {
|
|
2734
|
-
var extendStatics = function(d,
|
|
2735
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2,
|
|
2736
|
-
d2.__proto__ =
|
|
2737
|
-
} || function(d2,
|
|
2738
|
-
for (var
|
|
2739
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2740
|
-
d2[
|
|
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];
|
|
2741
1655
|
};
|
|
2742
|
-
return extendStatics(d,
|
|
1656
|
+
return extendStatics(d, b2);
|
|
2743
1657
|
};
|
|
2744
|
-
return function(d,
|
|
2745
|
-
if (typeof
|
|
2746
|
-
throw new TypeError("Class extends value " + String(
|
|
2747
|
-
extendStatics(d,
|
|
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);
|
|
2748
1662
|
function __() {
|
|
2749
1663
|
this.constructor = d;
|
|
2750
1664
|
}
|
|
2751
|
-
d.prototype =
|
|
1665
|
+
d.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
|
|
2752
1666
|
};
|
|
2753
1667
|
}();
|
|
2754
1668
|
var ClassRegistry = (
|
|
@@ -2756,8 +1670,8 @@ var ClassRegistry = (
|
|
|
2756
1670
|
function(_super) {
|
|
2757
1671
|
__extends(ClassRegistry2, _super);
|
|
2758
1672
|
function ClassRegistry2() {
|
|
2759
|
-
var _this = _super.call(this, function(
|
|
2760
|
-
return
|
|
1673
|
+
var _this = _super.call(this, function(c2) {
|
|
1674
|
+
return c2.name;
|
|
2761
1675
|
}) || this;
|
|
2762
1676
|
_this.classToAllowedProps = /* @__PURE__ */ new Map();
|
|
2763
1677
|
return _this;
|
|
@@ -2780,23 +1694,23 @@ var ClassRegistry = (
|
|
|
2780
1694
|
);
|
|
2781
1695
|
|
|
2782
1696
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/util.js
|
|
2783
|
-
var __read = function(
|
|
2784
|
-
var m = typeof Symbol === "function" &&
|
|
1697
|
+
var __read = function(o2, n2) {
|
|
1698
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
2785
1699
|
if (!m)
|
|
2786
|
-
return
|
|
2787
|
-
var
|
|
1700
|
+
return o2;
|
|
1701
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
2788
1702
|
try {
|
|
2789
|
-
while ((
|
|
2790
|
-
ar.push(
|
|
1703
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
1704
|
+
ar.push(r2.value);
|
|
2791
1705
|
} catch (error) {
|
|
2792
|
-
|
|
1706
|
+
e2 = { error };
|
|
2793
1707
|
} finally {
|
|
2794
1708
|
try {
|
|
2795
|
-
if (
|
|
2796
|
-
m.call(
|
|
1709
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
1710
|
+
m.call(i2);
|
|
2797
1711
|
} finally {
|
|
2798
|
-
if (
|
|
2799
|
-
throw
|
|
1712
|
+
if (e2)
|
|
1713
|
+
throw e2.error;
|
|
2800
1714
|
}
|
|
2801
1715
|
}
|
|
2802
1716
|
return ar;
|
|
@@ -2819,8 +1733,8 @@ function find(record, predicate) {
|
|
|
2819
1733
|
return values.find(predicate);
|
|
2820
1734
|
}
|
|
2821
1735
|
var valuesNotNever = values;
|
|
2822
|
-
for (var
|
|
2823
|
-
var value = valuesNotNever[
|
|
1736
|
+
for (var i2 = 0; i2 < valuesNotNever.length; i2++) {
|
|
1737
|
+
var value = valuesNotNever[i2];
|
|
2824
1738
|
if (predicate(value)) {
|
|
2825
1739
|
return value;
|
|
2826
1740
|
}
|
|
@@ -2837,8 +1751,8 @@ function includes(arr, value) {
|
|
|
2837
1751
|
return arr.indexOf(value) !== -1;
|
|
2838
1752
|
}
|
|
2839
1753
|
function findArr(record, predicate) {
|
|
2840
|
-
for (var
|
|
2841
|
-
var value = record[
|
|
1754
|
+
for (var i2 = 0; i2 < record.length; i2++) {
|
|
1755
|
+
var value = record[i2];
|
|
2842
1756
|
if (predicate(value)) {
|
|
2843
1757
|
return value;
|
|
2844
1758
|
}
|
|
@@ -2949,21 +1863,21 @@ var stringifyPath = function(path) {
|
|
|
2949
1863
|
var parsePath = function(string) {
|
|
2950
1864
|
var result = [];
|
|
2951
1865
|
var segment = "";
|
|
2952
|
-
for (var
|
|
2953
|
-
var
|
|
2954
|
-
var isEscapedDot =
|
|
1866
|
+
for (var i2 = 0; i2 < string.length; i2++) {
|
|
1867
|
+
var char = string.charAt(i2);
|
|
1868
|
+
var isEscapedDot = char === "\\" && string.charAt(i2 + 1) === ".";
|
|
2955
1869
|
if (isEscapedDot) {
|
|
2956
1870
|
segment += ".";
|
|
2957
|
-
|
|
1871
|
+
i2++;
|
|
2958
1872
|
continue;
|
|
2959
1873
|
}
|
|
2960
|
-
var isEndOfSegment =
|
|
1874
|
+
var isEndOfSegment = char === ".";
|
|
2961
1875
|
if (isEndOfSegment) {
|
|
2962
1876
|
result.push(segment);
|
|
2963
1877
|
segment = "";
|
|
2964
1878
|
continue;
|
|
2965
1879
|
}
|
|
2966
|
-
segment +=
|
|
1880
|
+
segment += char;
|
|
2967
1881
|
}
|
|
2968
1882
|
var lastSegment = segment;
|
|
2969
1883
|
result.push(lastSegment);
|
|
@@ -2972,41 +1886,41 @@ var parsePath = function(string) {
|
|
|
2972
1886
|
|
|
2973
1887
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/transformer.js
|
|
2974
1888
|
var __assign = function() {
|
|
2975
|
-
__assign = Object.assign || function(
|
|
2976
|
-
for (var
|
|
2977
|
-
|
|
2978
|
-
for (var
|
|
2979
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2980
|
-
|
|
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];
|
|
2981
1895
|
}
|
|
2982
|
-
return
|
|
1896
|
+
return t2;
|
|
2983
1897
|
};
|
|
2984
1898
|
return __assign.apply(this, arguments);
|
|
2985
1899
|
};
|
|
2986
|
-
var __read2 = function(
|
|
2987
|
-
var m = typeof Symbol === "function" &&
|
|
1900
|
+
var __read2 = function(o2, n2) {
|
|
1901
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
2988
1902
|
if (!m)
|
|
2989
|
-
return
|
|
2990
|
-
var
|
|
1903
|
+
return o2;
|
|
1904
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
2991
1905
|
try {
|
|
2992
|
-
while ((
|
|
2993
|
-
ar.push(
|
|
1906
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
1907
|
+
ar.push(r2.value);
|
|
2994
1908
|
} catch (error) {
|
|
2995
|
-
|
|
1909
|
+
e2 = { error };
|
|
2996
1910
|
} finally {
|
|
2997
1911
|
try {
|
|
2998
|
-
if (
|
|
2999
|
-
m.call(
|
|
1912
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
1913
|
+
m.call(i2);
|
|
3000
1914
|
} finally {
|
|
3001
|
-
if (
|
|
3002
|
-
throw
|
|
1915
|
+
if (e2)
|
|
1916
|
+
throw e2.error;
|
|
3003
1917
|
}
|
|
3004
1918
|
}
|
|
3005
1919
|
return ar;
|
|
3006
1920
|
};
|
|
3007
|
-
var __spreadArray = function(to,
|
|
3008
|
-
for (var
|
|
3009
|
-
to[j] =
|
|
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];
|
|
3010
1924
|
return to;
|
|
3011
1925
|
};
|
|
3012
1926
|
function simpleTransformation(isApplicable, annotation, transform, untransform) {
|
|
@@ -3046,13 +1960,13 @@ var simpleRules = [
|
|
|
3046
1960
|
});
|
|
3047
1961
|
return baseError;
|
|
3048
1962
|
}, function(v, superJson) {
|
|
3049
|
-
var
|
|
3050
|
-
|
|
3051
|
-
|
|
1963
|
+
var e2 = new Error(v.message);
|
|
1964
|
+
e2.name = v.name;
|
|
1965
|
+
e2.stack = v.stack;
|
|
3052
1966
|
superJson.allowedErrorProps.forEach(function(prop) {
|
|
3053
|
-
|
|
1967
|
+
e2[prop] = v[prop];
|
|
3054
1968
|
});
|
|
3055
|
-
return
|
|
1969
|
+
return e2;
|
|
3056
1970
|
}),
|
|
3057
1971
|
simpleTransformation(isRegExp, "regexp", function(v) {
|
|
3058
1972
|
return "" + v;
|
|
@@ -3109,19 +2023,19 @@ function compositeTransformation(isApplicable, annotation, transform, untransfor
|
|
|
3109
2023
|
untransform
|
|
3110
2024
|
};
|
|
3111
2025
|
}
|
|
3112
|
-
var symbolRule = compositeTransformation(function(
|
|
3113
|
-
if (isSymbol(
|
|
3114
|
-
var isRegistered = !!superJson.symbolRegistry.getIdentifier(
|
|
2026
|
+
var symbolRule = compositeTransformation(function(s2, superJson) {
|
|
2027
|
+
if (isSymbol(s2)) {
|
|
2028
|
+
var isRegistered = !!superJson.symbolRegistry.getIdentifier(s2);
|
|
3115
2029
|
return isRegistered;
|
|
3116
2030
|
}
|
|
3117
2031
|
return false;
|
|
3118
|
-
}, function(
|
|
3119
|
-
var
|
|
3120
|
-
return ["symbol",
|
|
2032
|
+
}, function(s2, superJson) {
|
|
2033
|
+
var identifier = superJson.symbolRegistry.getIdentifier(s2);
|
|
2034
|
+
return ["symbol", identifier];
|
|
3121
2035
|
}, function(v) {
|
|
3122
2036
|
return v.description;
|
|
3123
|
-
}, function(_,
|
|
3124
|
-
var value = superJson.symbolRegistry.getValue(
|
|
2037
|
+
}, function(_, a2, superJson) {
|
|
2038
|
+
var value = superJson.symbolRegistry.getValue(a2[1]);
|
|
3125
2039
|
if (!value) {
|
|
3126
2040
|
throw new Error("Trying to deserialize unknown symbol");
|
|
3127
2041
|
}
|
|
@@ -3145,8 +2059,8 @@ var typedArrayRule = compositeTransformation(isTypedArray, function(v) {
|
|
|
3145
2059
|
return ["typed-array", v.constructor.name];
|
|
3146
2060
|
}, function(v) {
|
|
3147
2061
|
return __spreadArray([], __read2(v));
|
|
3148
|
-
}, function(v,
|
|
3149
|
-
var ctor = constructorToName[
|
|
2062
|
+
}, function(v, a2) {
|
|
2063
|
+
var ctor = constructorToName[a2[1]];
|
|
3150
2064
|
if (!ctor) {
|
|
3151
2065
|
throw new Error("Trying to deserialize unknown typed array");
|
|
3152
2066
|
}
|
|
@@ -3160,8 +2074,8 @@ function isInstanceOfRegisteredClass(potentialClass, superJson) {
|
|
|
3160
2074
|
return false;
|
|
3161
2075
|
}
|
|
3162
2076
|
var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(clazz, superJson) {
|
|
3163
|
-
var
|
|
3164
|
-
return ["class",
|
|
2077
|
+
var identifier = superJson.classRegistry.getIdentifier(clazz.constructor);
|
|
2078
|
+
return ["class", identifier];
|
|
3165
2079
|
}, function(clazz, superJson) {
|
|
3166
2080
|
var allowedProps = superJson.classRegistry.getAllowedProps(clazz.constructor);
|
|
3167
2081
|
if (!allowedProps) {
|
|
@@ -3172,8 +2086,8 @@ var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(cl
|
|
|
3172
2086
|
result[prop] = clazz[prop];
|
|
3173
2087
|
});
|
|
3174
2088
|
return result;
|
|
3175
|
-
}, function(v,
|
|
3176
|
-
var clazz = superJson.classRegistry.getValue(
|
|
2089
|
+
}, function(v, a2, superJson) {
|
|
2090
|
+
var clazz = superJson.classRegistry.getValue(a2[1]);
|
|
3177
2091
|
if (!clazz) {
|
|
3178
2092
|
throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
|
|
3179
2093
|
}
|
|
@@ -3187,8 +2101,8 @@ var customRule = compositeTransformation(function(value, superJson) {
|
|
|
3187
2101
|
}, function(value, superJson) {
|
|
3188
2102
|
var transformer = superJson.customTransformerRegistry.findApplicable(value);
|
|
3189
2103
|
return transformer.serialize(value);
|
|
3190
|
-
}, function(v,
|
|
3191
|
-
var transformer = superJson.customTransformerRegistry.findByName(
|
|
2104
|
+
}, function(v, a2, superJson) {
|
|
2105
|
+
var transformer = superJson.customTransformerRegistry.findByName(a2[1]);
|
|
3192
2106
|
if (!transformer) {
|
|
3193
2107
|
throw new Error("Trying to deserialize unknown custom value");
|
|
3194
2108
|
}
|
|
@@ -3244,11 +2158,11 @@ var untransformValue = function(json, type, superJson) {
|
|
|
3244
2158
|
};
|
|
3245
2159
|
|
|
3246
2160
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/accessDeep.js
|
|
3247
|
-
var getNthKey = function(value,
|
|
2161
|
+
var getNthKey = function(value, n2) {
|
|
3248
2162
|
var keys2 = value.keys();
|
|
3249
|
-
while (
|
|
2163
|
+
while (n2 > 0) {
|
|
3250
2164
|
keys2.next();
|
|
3251
|
-
|
|
2165
|
+
n2--;
|
|
3252
2166
|
}
|
|
3253
2167
|
return keys2.next().value;
|
|
3254
2168
|
};
|
|
@@ -3265,13 +2179,13 @@ function validatePath(path) {
|
|
|
3265
2179
|
}
|
|
3266
2180
|
var getDeep = function(object, path) {
|
|
3267
2181
|
validatePath(path);
|
|
3268
|
-
for (var
|
|
3269
|
-
var key = path[
|
|
2182
|
+
for (var i2 = 0; i2 < path.length; i2++) {
|
|
2183
|
+
var key = path[i2];
|
|
3270
2184
|
if (isSet(object)) {
|
|
3271
2185
|
object = getNthKey(object, +key);
|
|
3272
2186
|
} else if (isMap(object)) {
|
|
3273
2187
|
var row = +key;
|
|
3274
|
-
var type = +path[++
|
|
2188
|
+
var type = +path[++i2] === 0 ? "key" : "value";
|
|
3275
2189
|
var keyOfRow = getNthKey(object, row);
|
|
3276
2190
|
switch (type) {
|
|
3277
2191
|
case "key":
|
|
@@ -3293,8 +2207,8 @@ var setDeep = function(object, path, mapper) {
|
|
|
3293
2207
|
return mapper(object);
|
|
3294
2208
|
}
|
|
3295
2209
|
var parent = object;
|
|
3296
|
-
for (var
|
|
3297
|
-
var key = path[
|
|
2210
|
+
for (var i2 = 0; i2 < path.length - 1; i2++) {
|
|
2211
|
+
var key = path[i2];
|
|
3298
2212
|
if (isArray(parent)) {
|
|
3299
2213
|
var index = +key;
|
|
3300
2214
|
parent = parent[index];
|
|
@@ -3304,12 +2218,12 @@ var setDeep = function(object, path, mapper) {
|
|
|
3304
2218
|
var row = +key;
|
|
3305
2219
|
parent = getNthKey(parent, row);
|
|
3306
2220
|
} else if (isMap(parent)) {
|
|
3307
|
-
var isEnd =
|
|
2221
|
+
var isEnd = i2 === path.length - 2;
|
|
3308
2222
|
if (isEnd) {
|
|
3309
2223
|
break;
|
|
3310
2224
|
}
|
|
3311
2225
|
var row = +key;
|
|
3312
|
-
var type = +path[++
|
|
2226
|
+
var type = +path[++i2] === 0 ? "key" : "value";
|
|
3313
2227
|
var keyOfRow = getNthKey(parent, row);
|
|
3314
2228
|
switch (type) {
|
|
3315
2229
|
case "key":
|
|
@@ -3358,30 +2272,30 @@ var setDeep = function(object, path, mapper) {
|
|
|
3358
2272
|
};
|
|
3359
2273
|
|
|
3360
2274
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/plainer.js
|
|
3361
|
-
var __read3 = function(
|
|
3362
|
-
var m = typeof Symbol === "function" &&
|
|
2275
|
+
var __read3 = function(o2, n2) {
|
|
2276
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
3363
2277
|
if (!m)
|
|
3364
|
-
return
|
|
3365
|
-
var
|
|
2278
|
+
return o2;
|
|
2279
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
3366
2280
|
try {
|
|
3367
|
-
while ((
|
|
3368
|
-
ar.push(
|
|
2281
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
2282
|
+
ar.push(r2.value);
|
|
3369
2283
|
} catch (error) {
|
|
3370
|
-
|
|
2284
|
+
e2 = { error };
|
|
3371
2285
|
} finally {
|
|
3372
2286
|
try {
|
|
3373
|
-
if (
|
|
3374
|
-
m.call(
|
|
2287
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
2288
|
+
m.call(i2);
|
|
3375
2289
|
} finally {
|
|
3376
|
-
if (
|
|
3377
|
-
throw
|
|
2290
|
+
if (e2)
|
|
2291
|
+
throw e2.error;
|
|
3378
2292
|
}
|
|
3379
2293
|
}
|
|
3380
2294
|
return ar;
|
|
3381
2295
|
};
|
|
3382
|
-
var __spreadArray2 = function(to,
|
|
3383
|
-
for (var
|
|
3384
|
-
to[j] =
|
|
2296
|
+
var __spreadArray2 = function(to, from) {
|
|
2297
|
+
for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
|
|
2298
|
+
to[j] = from[i2];
|
|
3385
2299
|
return to;
|
|
3386
2300
|
};
|
|
3387
2301
|
function traverse(tree, walker2, origin) {
|
|
@@ -3457,8 +2371,8 @@ function generateReferentialEqualityAnnotations(identitites) {
|
|
|
3457
2371
|
}
|
|
3458
2372
|
var _a = __read3(paths.map(function(path) {
|
|
3459
2373
|
return path.map(String);
|
|
3460
|
-
}).sort(function(
|
|
3461
|
-
return
|
|
2374
|
+
}).sort(function(a2, b2) {
|
|
2375
|
+
return a2.length - b2.length;
|
|
3462
2376
|
})), shortestPath = _a[0], identicalPaths = _a.slice(1);
|
|
3463
2377
|
if (shortestPath.length === 0) {
|
|
3464
2378
|
rootEqualityPaths = identicalPaths.map(stringifyPath);
|
|
@@ -3564,9 +2478,9 @@ function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
|
|
|
3564
2478
|
});
|
|
3565
2479
|
}
|
|
3566
2480
|
}
|
|
3567
|
-
function
|
|
2481
|
+
function copy(target, options = {}) {
|
|
3568
2482
|
if (isArray2(target)) {
|
|
3569
|
-
return target.map((item) =>
|
|
2483
|
+
return target.map((item) => copy(item, options));
|
|
3570
2484
|
}
|
|
3571
2485
|
if (!isPlainObject2(target)) {
|
|
3572
2486
|
return target;
|
|
@@ -3578,7 +2492,7 @@ function copy2(target, options = {}) {
|
|
|
3578
2492
|
return carry;
|
|
3579
2493
|
}
|
|
3580
2494
|
const val = target[key];
|
|
3581
|
-
const newVal =
|
|
2495
|
+
const newVal = copy(val, options);
|
|
3582
2496
|
assignProp(carry, key, newVal, target, options.nonenumerable);
|
|
3583
2497
|
return carry;
|
|
3584
2498
|
}, {});
|
|
@@ -3586,41 +2500,41 @@ function copy2(target, options = {}) {
|
|
|
3586
2500
|
|
|
3587
2501
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/index.js
|
|
3588
2502
|
var __assign2 = function() {
|
|
3589
|
-
__assign2 = Object.assign || function(
|
|
3590
|
-
for (var
|
|
3591
|
-
|
|
3592
|
-
for (var
|
|
3593
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3594
|
-
|
|
2503
|
+
__assign2 = Object.assign || function(t2) {
|
|
2504
|
+
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
2505
|
+
s2 = arguments[i2];
|
|
2506
|
+
for (var p2 in s2)
|
|
2507
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
2508
|
+
t2[p2] = s2[p2];
|
|
3595
2509
|
}
|
|
3596
|
-
return
|
|
2510
|
+
return t2;
|
|
3597
2511
|
};
|
|
3598
2512
|
return __assign2.apply(this, arguments);
|
|
3599
2513
|
};
|
|
3600
|
-
var __read4 = function(
|
|
3601
|
-
var m = typeof Symbol === "function" &&
|
|
2514
|
+
var __read4 = function(o2, n2) {
|
|
2515
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
3602
2516
|
if (!m)
|
|
3603
|
-
return
|
|
3604
|
-
var
|
|
2517
|
+
return o2;
|
|
2518
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
3605
2519
|
try {
|
|
3606
|
-
while ((
|
|
3607
|
-
ar.push(
|
|
2520
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
2521
|
+
ar.push(r2.value);
|
|
3608
2522
|
} catch (error) {
|
|
3609
|
-
|
|
2523
|
+
e2 = { error };
|
|
3610
2524
|
} finally {
|
|
3611
2525
|
try {
|
|
3612
|
-
if (
|
|
3613
|
-
m.call(
|
|
2526
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
2527
|
+
m.call(i2);
|
|
3614
2528
|
} finally {
|
|
3615
|
-
if (
|
|
3616
|
-
throw
|
|
2529
|
+
if (e2)
|
|
2530
|
+
throw e2.error;
|
|
3617
2531
|
}
|
|
3618
2532
|
}
|
|
3619
2533
|
return ar;
|
|
3620
2534
|
};
|
|
3621
|
-
var __spreadArray3 = function(to,
|
|
3622
|
-
for (var
|
|
3623
|
-
to[j] =
|
|
2535
|
+
var __spreadArray3 = function(to, from) {
|
|
2536
|
+
for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
|
|
2537
|
+
to[j] = from[i2];
|
|
3624
2538
|
return to;
|
|
3625
2539
|
};
|
|
3626
2540
|
var SuperJSON = (
|
|
@@ -3628,9 +2542,9 @@ var SuperJSON = (
|
|
|
3628
2542
|
function() {
|
|
3629
2543
|
function SuperJSON2() {
|
|
3630
2544
|
this.classRegistry = new ClassRegistry();
|
|
3631
|
-
this.symbolRegistry = new Registry(function(
|
|
2545
|
+
this.symbolRegistry = new Registry(function(s2) {
|
|
3632
2546
|
var _a;
|
|
3633
|
-
return (_a =
|
|
2547
|
+
return (_a = s2.description) !== null && _a !== void 0 ? _a : "";
|
|
3634
2548
|
});
|
|
3635
2549
|
this.customTransformerRegistry = new CustomTransformerRegistry();
|
|
3636
2550
|
this.allowedErrorProps = [];
|
|
@@ -3652,7 +2566,7 @@ var SuperJSON = (
|
|
|
3652
2566
|
};
|
|
3653
2567
|
SuperJSON2.prototype.deserialize = function(payload) {
|
|
3654
2568
|
var json = payload.json, meta = payload.meta;
|
|
3655
|
-
var result =
|
|
2569
|
+
var result = copy(json);
|
|
3656
2570
|
if (meta === null || meta === void 0 ? void 0 : meta.values) {
|
|
3657
2571
|
result = applyValueAnnotations(result, meta.values, this);
|
|
3658
2572
|
}
|
|
@@ -3670,8 +2584,8 @@ var SuperJSON = (
|
|
|
3670
2584
|
SuperJSON2.prototype.registerClass = function(v, options) {
|
|
3671
2585
|
this.classRegistry.register(v, options);
|
|
3672
2586
|
};
|
|
3673
|
-
SuperJSON2.prototype.registerSymbol = function(v,
|
|
3674
|
-
this.symbolRegistry.register(v,
|
|
2587
|
+
SuperJSON2.prototype.registerSymbol = function(v, identifier) {
|
|
2588
|
+
this.symbolRegistry.register(v, identifier);
|
|
3675
2589
|
};
|
|
3676
2590
|
SuperJSON2.prototype.registerCustom = function(transformer, name) {
|
|
3677
2591
|
this.customTransformerRegistry.register(__assign2({ name }, transformer));
|
|
@@ -3696,9 +2610,9 @@ var SuperJSON = (
|
|
|
3696
2610
|
return SuperJSON2;
|
|
3697
2611
|
}()
|
|
3698
2612
|
);
|
|
3699
|
-
var
|
|
2613
|
+
var serialize = SuperJSON.serialize;
|
|
3700
2614
|
SuperJSON.deserialize;
|
|
3701
|
-
var
|
|
2615
|
+
var stringify = SuperJSON.stringify;
|
|
3702
2616
|
SuperJSON.parse;
|
|
3703
2617
|
SuperJSON.registerClass;
|
|
3704
2618
|
SuperJSON.registerCustom;
|
|
@@ -3725,17 +2639,17 @@ function getQueryStatusColorByLabel(label) {
|
|
|
3725
2639
|
var displayValue = (value, beautify = false) => {
|
|
3726
2640
|
const {
|
|
3727
2641
|
json
|
|
3728
|
-
} =
|
|
2642
|
+
} = serialize(value);
|
|
3729
2643
|
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3730
2644
|
};
|
|
3731
2645
|
var getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3732
|
-
var queryHashSort = (
|
|
3733
|
-
var dateSort = (
|
|
3734
|
-
var statusAndDateSort = (
|
|
3735
|
-
if (getStatusRank(
|
|
3736
|
-
return dateSort(
|
|
2646
|
+
var queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
2647
|
+
var dateSort = (a2, b2) => a2.state.dataUpdatedAt < b2.state.dataUpdatedAt ? 1 : -1;
|
|
2648
|
+
var statusAndDateSort = (a2, b2) => {
|
|
2649
|
+
if (getStatusRank(a2) === getStatusRank(b2)) {
|
|
2650
|
+
return dateSort(a2, b2);
|
|
3737
2651
|
}
|
|
3738
|
-
return getStatusRank(
|
|
2652
|
+
return getStatusRank(a2) > getStatusRank(b2) ? 1 : -1;
|
|
3739
2653
|
};
|
|
3740
2654
|
var sortFns = {
|
|
3741
2655
|
status: statusAndDateSort,
|
|
@@ -3748,64 +2662,68 @@ var convertRemToPixels = (rem) => {
|
|
|
3748
2662
|
|
|
3749
2663
|
// src/icons/index.tsx
|
|
3750
2664
|
var _tmpl$ = /* @__PURE__ */ template(`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 13L9.00007 9M10.3333 5.66667C10.3333 8.244 8.244 10.3333 5.66667 10.3333C3.08934 10.3333 1 8.244 1 5.66667C1 3.08934 3.08934 1 5.66667 1C8.244 1 10.3333 3.08934 10.3333 5.66667Z" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round">`);
|
|
3751
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<svg width="
|
|
3752
|
-
var _tmpl$3 = /* @__PURE__ */ template(`<svg width="
|
|
3753
|
-
var _tmpl$4 = /* @__PURE__ */ template(`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8
|
|
3754
|
-
var _tmpl$5 = /* @__PURE__ */ template(`<svg
|
|
3755
|
-
var _tmpl$6 = /* @__PURE__ */ template(`<svg stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="
|
|
3756
|
-
var _tmpl$7 = /* @__PURE__ */ template(`<svg width="
|
|
3757
|
-
var _tmpl$8 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path
|
|
3758
|
-
var _tmpl$9 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="
|
|
3759
|
-
var _tmpl$10 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="
|
|
3760
|
-
var _tmpl$11 = /* @__PURE__ */ template(`<svg version="1.0" viewBox="0 0 633 633"><linearGradient id="a" x1="-666.45" x2="-666.45" y1="163.28" y2="163.99" gradientTransform="matrix(633 0 0 633 422177 -103358)" gradientUnits="userSpaceOnUse"><stop stop-color="#6BDAFF" offset="0"></stop><stop stop-color="#F9FFB5" offset=".32"></stop><stop stop-color="#FFA770" offset=".71"></stop><stop stop-color="#FF7373" offset="1"></stop></linearGradient><circle cx="316.5" cy="316.5" r="316.5" fill="url(#a)"></circle><defs><filter id="am" x="-137.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="b" x="-137.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#am)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#b)"><ellipse cx="89.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ah" x="316.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="k" x="316.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ah)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#k)"><ellipse cx="543.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ae" x="-137.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="j" x="-137.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ae)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#j)"><ellipse cx="89.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="ai" x="316.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="i" x="316.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ai)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#i)"><ellipse cx="543.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="aj" x="-137.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="h" x="-137.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#aj)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#h)"><ellipse cx="89.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="ag" x="316.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="g" x="316.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ag)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#g)"><ellipse cx="543.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="af" x="272.2" y="308" width="176.9" height="129.3" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="f" x="272.2" y="308" width="176.9" height="129.3" maskUnits="userSpaceOnUse"><g filter="url(#af)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#f)"><line x1="436" x2="431" y1="403.2" y2="431.8" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="291" x2="280" y1="341.5" y2="403.5" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="332.9" x2="328.6" y1="384.1" y2="411.2" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><linearGradient id="m" x1="-670.75" x2="-671.59" y1="164.4" y2="164.49" gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)" gradientUnits="userSpaceOnUse"><stop stop-color="#EE2700" offset="0"></stop><stop stop-color="#FF008E" offset="1"></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z" clip-rule="evenodd" fill="url(#m)" fill-rule="evenodd"></path><line x1="428.2" x2="429.1" y1="384.5" y2="378" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="395.2" x2="396.1" y1="379.5" y2="373" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="362.2" x2="363.1" y1="373.5" y2="367.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="324.2" x2="328.4" y1="351.3" y2="347.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="303.2" x2="307.4" y1="331.3" y2="327.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line></g><defs><filter id="ak" x="73.2" y="113.8" width="280.6" height="317.4" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="e" x="73.2" y="113.8" width="280.6" height="317.4" maskUnits="userSpaceOnUse"><g filter="url(#ak)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#e)"><linearGradient id="n" x1="-672.16" x2="-672.16" y1="165.03" y2="166.03" gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)" gradientUnits="userSpaceOnUse"><stop stop-color="#A17500" offset="0"></stop><stop stop-color="#5D2100" offset="1"></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6" clip-rule="evenodd" fill="url(#n)" fill-rule="evenodd"></path><g stroke="#2F8A00"><linearGradient id="r" x1="-660.23" x2="-660.23" y1="166.72" y2="167.72" gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z" clip-rule="evenodd" fill="url(#r)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="s" x1="-661.36" x2="-661.36" y1="164.18" y2="165.18" gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z" clip-rule="evenodd" fill="url(#s)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="q" x1="-656.79" x2="-656.79" y1="165.15" y2="166.15" gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z" clip-rule="evenodd" fill="url(#q)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="p" x1="-663.07" x2="-663.07" y1="165.44" y2="166.44" gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z" clip-rule="evenodd" fill="url(#p)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="o" x1="-662.57" x2="-662.57" y1="164.44" y2="165.44" gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z" clip-rule="evenodd" fill="url(#o)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="l" x1="-656.43" x2="-656.43" y1="163.86" y2="164.86" gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z" clip-rule="evenodd" fill="url(#l)" fill-rule="evenodd" stroke-width="13"></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32" fill="none" stroke-linecap="round" stroke-width="8"></path></g></g><defs><filter id="al" x="50.5" y="399" width="532" height="633" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="d" x="50.5" y="399" width="532" height="633" maskUnits="userSpaceOnUse"><g filter="url(#al)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#d)"><linearGradient id="u" x1="-666.06" x2="-666.23" y1="163.36" y2="163.75" gradientTransform="matrix(532 0 0 633 354760 -102959)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF400" offset="0"></stop><stop stop-color="#3C8700" offset="1"></stop></linearGradient><ellipse cx="316.5" cy="715.5" rx="266" ry="316.5" fill="url(#u)"></ellipse></g><defs><filter id="ad" x="391" y="-24" width="288" height="283" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="c" x="391" y="-24" width="288" height="283" maskUnits="userSpaceOnUse"><g filter="url(#ad)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#c)"><linearGradient id="t" x1="-664.56" x2="-664.56" y1="163.79" y2="164.79" gradientTransform="matrix(227 0 0 227 151421 -37204)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFDF00" offset="0"></stop><stop stop-color="#FF9D00" offset="1"></stop></linearGradient><circle cx="565.5" cy="89.5" r="113.5" fill="url(#t)"></circle><linearGradient id="v" x1="-644.5" x2="-645.77" y1="342" y2="342" gradientTransform="matrix(30 0 0 1 19770 -253)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="427" x2="397" y1="89" y2="89" fill="none" stroke="url(#v)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="aa" x1="-641.56" x2="-642.83" y1="196.02" y2="196.07" gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="430.5" x2="404" y1="55.5" y2="50" fill="none" stroke="url(#aa)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="w" x1="-643.73" x2="-645" y1="185.83" y2="185.9" gradientTransform="matrix(29 0 0 8 19107 -1361)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="431" x2="402" y1="122" y2="130" fill="none" stroke="url(#w)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ac" x1="-638.94" x2="-640.22" y1="177.09" y2="177.39" gradientTransform="matrix(24 0 0 13 15783 -2145)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="442" x2="418" y1="153" y2="166" fill="none" stroke="url(#ac)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ab" x1="-633.42" x2="-634.7" y1="172.41" y2="173.31" gradientTransform="matrix(20 0 0 19 13137 -3096)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="464" x2="444" y1="180" y2="199" fill="none" stroke="url(#ab)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="y" x1="-619.05" x2="-619.52" y1="170.82" y2="171.82" gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="491.4" x2="477.5" y1="203" y2="225.9" fill="none" stroke="url(#y)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="x" x1="-578.5" x2="-578.63" y1="170.31" y2="171.31" gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="524.5" x2="517" y1="219.5" y2="244" fill="none" stroke="url(#x)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="z" x1="666.5" x2="666.5" y1="170.31" y2="171.31" gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="564.5" x2="565" y1="228.5" y2="253" fill="none" stroke="url(#z)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12">`);
|
|
2665
|
+
var _tmpl$2 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 3H15M3 6H21M19 6L18.2987 16.5193C18.1935 18.0975 18.1409 18.8867 17.8 19.485C17.4999 20.0118 17.0472 20.4353 16.5017 20.6997C15.882 21 15.0911 21 13.5093 21H10.4907C8.90891 21 8.11803 21 7.49834 20.6997C6.95276 20.4353 6.50009 20.0118 6.19998 19.485C5.85911 18.8867 5.8065 18.0975 5.70129 16.5193L5 6M10 10.5V15.5M14 10.5V15.5" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2666
|
+
var _tmpl$3 = /* @__PURE__ */ template(`<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2667
|
+
var _tmpl$4 = /* @__PURE__ */ template(`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 13.3333V2.66667M8 2.66667L4 6.66667M8 2.66667L12 6.66667" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2668
|
+
var _tmpl$5 = /* @__PURE__ */ template(`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 2.66667V13.3333M8 13.3333L4 9.33333M8 13.3333L12 9.33333" stroke="#98A2B3" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2669
|
+
var _tmpl$6 = /* @__PURE__ */ template(`<svg stroke="#98A2B3" fill="#98A2B3" stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M0 0h24v24H0z"></path><path d="M1 9l2 2c4.97-4.97 13.03-4.97 18 0l2-2C16.93 2.93 7.08 2.93 1 9zm8 8l3 3 3-3a4.237 4.237 0 00-6 0zm-4-4l2 2a7.074 7.074 0 0110 0l2-2C15.14 9.14 8.87 9.14 5 13z">`);
|
|
2670
|
+
var _tmpl$7 = /* @__PURE__ */ template(`<svg stroke-width="0" viewBox="0 0 24 24" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z"></path><path d="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4a9.793 9.793 0 00-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24A9.684 9.684 0 005 13v.01L6.99 15a7.042 7.042 0 014.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3a4.237 4.237 0 00-6 0z">`);
|
|
2671
|
+
var _tmpl$8 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.3951 19.3711L9.97955 20.6856C10.1533 21.0768 10.4368 21.4093 10.7958 21.6426C11.1547 21.8759 11.5737 22.0001 12.0018 22C12.4299 22.0001 12.8488 21.8759 13.2078 21.6426C13.5667 21.4093 13.8503 21.0768 14.024 20.6856L14.6084 19.3711C14.8165 18.9047 15.1664 18.5159 15.6084 18.26C16.0532 18.0034 16.5678 17.8941 17.0784 17.9478L18.5084 18.1C18.9341 18.145 19.3637 18.0656 19.7451 17.8713C20.1265 17.6771 20.4434 17.3763 20.6573 17.0056C20.8715 16.635 20.9735 16.2103 20.9511 15.7829C20.9286 15.3555 20.7825 14.9438 20.5307 14.5978L19.684 13.4344C19.3825 13.0171 19.2214 12.5148 19.224 12C19.2239 11.4866 19.3865 10.9864 19.6884 10.5711L20.5351 9.40778C20.787 9.06175 20.933 8.65007 20.9555 8.22267C20.978 7.79528 20.8759 7.37054 20.6618 7C20.4479 6.62923 20.131 6.32849 19.7496 6.13423C19.3681 5.93997 18.9386 5.86053 18.5129 5.90556L17.0829 6.05778C16.5722 6.11141 16.0577 6.00212 15.6129 5.74556C15.17 5.48825 14.82 5.09736 14.6129 4.62889L14.024 3.31444C13.8503 2.92317 13.5667 2.59072 13.2078 2.3574C12.8488 2.12408 12.4299 1.99993 12.0018 2C11.5737 1.99993 11.1547 2.12408 10.7958 2.3574C10.4368 2.59072 10.1533 2.92317 9.97955 3.31444L9.3951 4.62889C9.18803 5.09736 8.83798 5.48825 8.3951 5.74556C7.95032 6.00212 7.43577 6.11141 6.9251 6.05778L5.49066 5.90556C5.06499 5.86053 4.6354 5.93997 4.25397 6.13423C3.87255 6.32849 3.55567 6.62923 3.34177 7C3.12759 7.37054 3.02555 7.79528 3.04804 8.22267C3.07052 8.65007 3.21656 9.06175 3.46844 9.40778L4.3151 10.5711C4.61704 10.9864 4.77964 11.4866 4.77955 12C4.77964 12.5134 4.61704 13.0137 4.3151 13.4289L3.46844 14.5922C3.21656 14.9382 3.07052 15.3499 3.04804 15.7773C3.02555 16.2047 3.12759 16.6295 3.34177 17C3.55589 17.3706 3.8728 17.6712 4.25417 17.8654C4.63554 18.0596 5.06502 18.1392 5.49066 18.0944L6.92066 17.9422C7.43133 17.8886 7.94587 17.9979 8.39066 18.2544C8.83519 18.511 9.18687 18.902 9.3951 19.3711Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12 15C13.6568 15 15 13.6569 15 12C15 10.3431 13.6568 9 12 9C10.3431 9 8.99998 10.3431 8.99998 12C8.99998 13.6569 10.3431 15 12 15Z" stroke="#98A2B3" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2672
|
+
var _tmpl$9 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="copier" d="M8 8V5.2C8 4.0799 8 3.51984 8.21799 3.09202C8.40973 2.71569 8.71569 2.40973 9.09202 2.21799C9.51984 2 10.0799 2 11.2 2H18.8C19.9201 2 20.4802 2 20.908 2.21799C21.2843 2.40973 21.5903 2.71569 21.782 3.09202C22 3.51984 22 4.0799 22 5.2V12.8C22 13.9201 22 14.4802 21.782 14.908C21.5903 15.2843 21.2843 15.5903 20.908 15.782C20.4802 16 19.9201 16 18.8 16H16M5.2 22H12.8C13.9201 22 14.4802 22 14.908 21.782C15.2843 21.5903 15.5903 21.2843 15.782 20.908C16 20.4802 16 19.9201 16 18.8V11.2C16 10.0799 16 9.51984 15.782 9.09202C15.5903 8.71569 15.2843 8.40973 14.908 8.21799C14.4802 8 13.9201 8 12.8 8H5.2C4.0799 8 3.51984 8 3.09202 8.21799C2.71569 8.40973 2.40973 8.71569 2.21799 9.09202C2 9.51984 2 10.0799 2 11.2V18.8C2 19.9201 2 20.4802 2.21799 20.908C2.40973 21.2843 2.71569 21.5903 3.09202 21.782C3.51984 22 4.07989 22 5.2 22Z" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="#98A2B3">`);
|
|
2673
|
+
var _tmpl$10 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 12L10.5 15L16.5 9M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="#12B76A" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2674
|
+
var _tmpl$11 = /* @__PURE__ */ template(`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 9L15 15M15 9L9 15M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z" stroke="#F04438" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">`);
|
|
2675
|
+
var _tmpl$12 = /* @__PURE__ */ template(`<svg version="1.0" viewBox="0 0 633 633"><linearGradient id="a" x1="-666.45" x2="-666.45" y1="163.28" y2="163.99" gradientTransform="matrix(633 0 0 633 422177 -103358)" gradientUnits="userSpaceOnUse"><stop stop-color="#6BDAFF" offset="0"></stop><stop stop-color="#F9FFB5" offset=".32"></stop><stop stop-color="#FFA770" offset=".71"></stop><stop stop-color="#FF7373" offset="1"></stop></linearGradient><circle cx="316.5" cy="316.5" r="316.5" fill="url(#a)"></circle><defs><filter id="am" x="-137.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="b" x="-137.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#am)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#b)"><ellipse cx="89.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ah" x="316.5" y="412" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="k" x="316.5" y="412" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ah)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#k)"><ellipse cx="543.5" cy="610.5" rx="214.5" ry="186" fill="#015064" stroke="#00CFE2" stroke-width="25"></ellipse></g><defs><filter id="ae" x="-137.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="j" x="-137.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ae)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#j)"><ellipse cx="89.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="ai" x="316.5" y="450" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="i" x="316.5" y="450" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ai)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#i)"><ellipse cx="543.5" cy="648.5" rx="214.5" ry="186" fill="#015064" stroke="#00A8B8" stroke-width="25"></ellipse></g><defs><filter id="aj" x="-137.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="h" x="-137.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#aj)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#h)"><ellipse cx="89.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="ag" x="316.5" y="486" width="454" height="396.9" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="g" x="316.5" y="486" width="454" height="396.9" maskUnits="userSpaceOnUse"><g filter="url(#ag)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#g)"><ellipse cx="543.5" cy="684.5" rx="214.5" ry="186" fill="#015064" stroke="#007782" stroke-width="25"></ellipse></g><defs><filter id="af" x="272.2" y="308" width="176.9" height="129.3" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="f" x="272.2" y="308" width="176.9" height="129.3" maskUnits="userSpaceOnUse"><g filter="url(#af)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#f)"><line x1="436" x2="431" y1="403.2" y2="431.8" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="291" x2="280" y1="341.5" y2="403.5" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><line x1="332.9" x2="328.6" y1="384.1" y2="411.2" fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="11"></line><linearGradient id="m" x1="-670.75" x2="-671.59" y1="164.4" y2="164.49" gradientTransform="matrix(-184.16 -32.472 -11.461 64.997 -121359 -32126)" gradientUnits="userSpaceOnUse"><stop stop-color="#EE2700" offset="0"></stop><stop stop-color="#FF008E" offset="1"></stop></linearGradient><path d="m344.1 363 97.7 17.2c5.8 2.1 8.2 6.1 7.1 12.1s-4.7 9.2-11 9.9l-106-18.7-57.5-59.2c-3.2-4.8-2.9-9.1 0.8-12.8s8.3-4.4 13.7-2.1l55.2 53.6z" clip-rule="evenodd" fill="url(#m)" fill-rule="evenodd"></path><line x1="428.2" x2="429.1" y1="384.5" y2="378" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="395.2" x2="396.1" y1="379.5" y2="373" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="362.2" x2="363.1" y1="373.5" y2="367.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="324.2" x2="328.4" y1="351.3" y2="347.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line><line x1="303.2" x2="307.4" y1="331.3" y2="327.4" fill="none" stroke="#fff" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="7"></line></g><defs><filter id="ak" x="73.2" y="113.8" width="280.6" height="317.4" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="e" x="73.2" y="113.8" width="280.6" height="317.4" maskUnits="userSpaceOnUse"><g filter="url(#ak)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#e)"><linearGradient id="n" x1="-672.16" x2="-672.16" y1="165.03" y2="166.03" gradientTransform="matrix(-100.18 48.861 97.976 200.88 -83342 -93.059)" gradientUnits="userSpaceOnUse"><stop stop-color="#A17500" offset="0"></stop><stop stop-color="#5D2100" offset="1"></stop></linearGradient><path d="m192.3 203c8.1 37.3 14 73.6 17.8 109.1 3.8 35.4 2.8 75.1-3 119.2l61.2-16.7c-15.6-59-25.2-97.9-28.6-116.6s-10.8-51.9-22.1-99.6l-25.3 4.6" clip-rule="evenodd" fill="url(#n)" fill-rule="evenodd"></path><g stroke="#2F8A00"><linearGradient id="r" x1="-660.23" x2="-660.23" y1="166.72" y2="167.72" gradientTransform="matrix(92.683 4.8573 -2.0259 38.657 61680 -3088.6)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9s-12.6-22.1-36.5-29.9c-15.9-5.2-34.4-1.5-55.5 11.1 15.9 14.3 29.5 22.6 40.7 24.9 16.8 3.6 51.3-6.1 51.3-6.1z" clip-rule="evenodd" fill="url(#r)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="s" x1="-661.36" x2="-661.36" y1="164.18" y2="165.18" gradientTransform="matrix(110 5.7648 -6.3599 121.35 73933 -15933)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5s-47.5-8.5-83.2 15.7c-23.8 16.2-34.3 49.3-31.6 99.4 30.3-27.8 52.1-48.5 65.2-61.9 19.8-20.2 49.6-53.2 49.6-53.2z" clip-rule="evenodd" fill="url(#s)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="q" x1="-656.79" x2="-656.79" y1="165.15" y2="166.15" gradientTransform="matrix(62.954 3.2993 -3.5023 66.828 42156 -8754.1)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m195 183.9c-0.8-21.9 6-38 20.6-48.2s29.8-15.4 45.5-15.3c-6.1 21.4-14.5 35.8-25.2 43.4s-24.4 14.2-40.9 20.1z" clip-rule="evenodd" fill="url(#q)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="p" x1="-663.07" x2="-663.07" y1="165.44" y2="166.44" gradientTransform="matrix(152.47 7.9907 -3.0936 59.029 101884 -4318.7)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c31.9-30 64.1-39.7 96.7-29s50.8 30.4 54.6 59.1c-35.2-5.5-60.4-9.6-75.8-12.1-15.3-2.6-40.5-8.6-75.5-18z" clip-rule="evenodd" fill="url(#p)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="o" x1="-662.57" x2="-662.57" y1="164.44" y2="165.44" gradientTransform="matrix(136.46 7.1517 -5.2163 99.533 91536 -11442)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c35.8-7.6 65.6-0.2 89.2 22s37.7 49 42.3 80.3c-39.8-9.7-68.3-23.8-85.5-42.4s-32.5-38.5-46-59.9z" clip-rule="evenodd" fill="url(#o)" fill-rule="evenodd" stroke-width="13"></path><linearGradient id="l" x1="-656.43" x2="-656.43" y1="163.86" y2="164.86" gradientTransform="matrix(60.866 3.1899 -8.7773 167.48 41560 -25168)" gradientUnits="userSpaceOnUse"><stop stop-color="#2F8A00" offset="0"></stop><stop stop-color="#90FF57" offset="1"></stop></linearGradient><path d="m194.9 184.5c-33.6 13.8-53.6 35.7-60.1 65.6s-3.6 63.1 8.7 99.6c27.4-40.3 43.2-69.6 47.4-88s5.6-44.1 4-77.2z" clip-rule="evenodd" fill="url(#l)" fill-rule="evenodd" stroke-width="13"></path><path d="m196.5 182.3c-14.8 21.6-25.1 41.4-30.8 59.4s-9.5 33-11.1 45.1" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m194.9 185.7c-24.4 1.7-43.8 9-58.1 21.8s-24.7 25.4-31.3 37.8" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m204.5 176.4c29.7-6.7 52-8.4 67-5.1s26.9 8.6 35.8 15.9" fill="none" stroke-linecap="round" stroke-width="8"></path><path d="m196.5 181.4c20.3 9.9 38.2 20.5 53.9 31.9s27.4 22.1 35.1 32" fill="none" stroke-linecap="round" stroke-width="8"></path></g></g><defs><filter id="al" x="50.5" y="399" width="532" height="633" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="d" x="50.5" y="399" width="532" height="633" maskUnits="userSpaceOnUse"><g filter="url(#al)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#d)"><linearGradient id="u" x1="-666.06" x2="-666.23" y1="163.36" y2="163.75" gradientTransform="matrix(532 0 0 633 354760 -102959)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFF400" offset="0"></stop><stop stop-color="#3C8700" offset="1"></stop></linearGradient><ellipse cx="316.5" cy="715.5" rx="266" ry="316.5" fill="url(#u)"></ellipse></g><defs><filter id="ad" x="391" y="-24" width="288" height="283" filterUnits="userSpaceOnUse"><feColorMatrix values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"></feColorMatrix></filter></defs><mask id="c" x="391" y="-24" width="288" height="283" maskUnits="userSpaceOnUse"><g filter="url(#ad)"><circle cx="316.5" cy="316.5" r="316.5" fill="#fff"></circle></g></mask><g mask="url(#c)"><linearGradient id="t" x1="-664.56" x2="-664.56" y1="163.79" y2="164.79" gradientTransform="matrix(227 0 0 227 151421 -37204)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFDF00" offset="0"></stop><stop stop-color="#FF9D00" offset="1"></stop></linearGradient><circle cx="565.5" cy="89.5" r="113.5" fill="url(#t)"></circle><linearGradient id="v" x1="-644.5" x2="-645.77" y1="342" y2="342" gradientTransform="matrix(30 0 0 1 19770 -253)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="427" x2="397" y1="89" y2="89" fill="none" stroke="url(#v)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="aa" x1="-641.56" x2="-642.83" y1="196.02" y2="196.07" gradientTransform="matrix(26.5 0 0 5.5 17439 -1025.5)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="430.5" x2="404" y1="55.5" y2="50" fill="none" stroke="url(#aa)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="w" x1="-643.73" x2="-645" y1="185.83" y2="185.9" gradientTransform="matrix(29 0 0 8 19107 -1361)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="431" x2="402" y1="122" y2="130" fill="none" stroke="url(#w)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ac" x1="-638.94" x2="-640.22" y1="177.09" y2="177.39" gradientTransform="matrix(24 0 0 13 15783 -2145)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="442" x2="418" y1="153" y2="166" fill="none" stroke="url(#ac)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="ab" x1="-633.42" x2="-634.7" y1="172.41" y2="173.31" gradientTransform="matrix(20 0 0 19 13137 -3096)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="464" x2="444" y1="180" y2="199" fill="none" stroke="url(#ab)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="y" x1="-619.05" x2="-619.52" y1="170.82" y2="171.82" gradientTransform="matrix(13.83 0 0 22.85 9050 -3703.4)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="491.4" x2="477.5" y1="203" y2="225.9" fill="none" stroke="url(#y)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="x" x1="-578.5" x2="-578.63" y1="170.31" y2="171.31" gradientTransform="matrix(7.5 0 0 24.5 4860 -3953)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="524.5" x2="517" y1="219.5" y2="244" fill="none" stroke="url(#x)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12"></line><linearGradient id="z" x1="666.5" x2="666.5" y1="170.31" y2="171.31" gradientTransform="matrix(.5 0 0 24.5 231.5 -3944)" gradientUnits="userSpaceOnUse"><stop stop-color="#FFA400" offset="0"></stop><stop stop-color="#FF5E00" offset="1"></stop></linearGradient><line x1="564.5" x2="565" y1="228.5" y2="253" fill="none" stroke="url(#z)" stroke-linecap="round" stroke-linejoin="bevel" stroke-width="12">`);
|
|
3761
2676
|
function Search() {
|
|
3762
2677
|
return _tmpl$();
|
|
3763
2678
|
}
|
|
3764
|
-
function
|
|
2679
|
+
function Trash() {
|
|
3765
2680
|
return _tmpl$2();
|
|
3766
2681
|
}
|
|
3767
|
-
function
|
|
2682
|
+
function ChevronDown() {
|
|
3768
2683
|
return _tmpl$3();
|
|
3769
2684
|
}
|
|
3770
|
-
function
|
|
2685
|
+
function ArrowUp() {
|
|
3771
2686
|
return _tmpl$4();
|
|
3772
2687
|
}
|
|
3773
|
-
function
|
|
2688
|
+
function ArrowDown() {
|
|
3774
2689
|
return _tmpl$5();
|
|
3775
2690
|
}
|
|
2691
|
+
function Wifi() {
|
|
2692
|
+
return _tmpl$6();
|
|
2693
|
+
}
|
|
3776
2694
|
function Offline() {
|
|
3777
2695
|
return (() => {
|
|
3778
|
-
const _el$
|
|
2696
|
+
const _el$7 = _tmpl$7();
|
|
3779
2697
|
createRenderEffect((_p$) => {
|
|
3780
2698
|
const _v$ = tokens.colors.yellow[500], _v$2 = tokens.colors.yellow[500];
|
|
3781
|
-
_v$ !== _p$._v$ && setAttribute(_el$
|
|
3782
|
-
_v$2 !== _p$._v$2 && setAttribute(_el$
|
|
2699
|
+
_v$ !== _p$._v$ && setAttribute(_el$7, "stroke", _p$._v$ = _v$);
|
|
2700
|
+
_v$2 !== _p$._v$2 && setAttribute(_el$7, "fill", _p$._v$2 = _v$2);
|
|
3783
2701
|
return _p$;
|
|
3784
2702
|
}, {
|
|
3785
2703
|
_v$: void 0,
|
|
3786
2704
|
_v$2: void 0
|
|
3787
2705
|
});
|
|
3788
|
-
return _el$
|
|
2706
|
+
return _el$7;
|
|
3789
2707
|
})();
|
|
3790
2708
|
}
|
|
3791
2709
|
function Settings() {
|
|
3792
|
-
return _tmpl$
|
|
2710
|
+
return _tmpl$8();
|
|
3793
2711
|
}
|
|
3794
2712
|
function Copier() {
|
|
3795
|
-
return _tmpl$
|
|
2713
|
+
return _tmpl$9();
|
|
3796
2714
|
}
|
|
3797
2715
|
function CopiedCopier() {
|
|
3798
|
-
return _tmpl$
|
|
2716
|
+
return _tmpl$10();
|
|
3799
2717
|
}
|
|
3800
2718
|
function ErrorCopier() {
|
|
3801
|
-
return _tmpl$
|
|
2719
|
+
return _tmpl$11();
|
|
3802
2720
|
}
|
|
3803
2721
|
function TanstackLogo() {
|
|
3804
|
-
return _tmpl$
|
|
2722
|
+
return _tmpl$12();
|
|
3805
2723
|
}
|
|
3806
2724
|
|
|
3807
2725
|
// src/Explorer.tsx
|
|
3808
|
-
var _tmpl$
|
|
2726
|
+
var _tmpl$13 = /* @__PURE__ */ template(`<span><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 12L10 8L6 4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">`);
|
|
3809
2727
|
var _tmpl$22 = /* @__PURE__ */ template(`<button>`);
|
|
3810
2728
|
var _tmpl$32 = /* @__PURE__ */ template(`<button> <span></span> <span> `);
|
|
3811
2729
|
var _tmpl$42 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -3815,19 +2733,19 @@ var _tmpl$72 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
|
|
|
3815
2733
|
function chunkArray(array, size) {
|
|
3816
2734
|
if (size < 1)
|
|
3817
2735
|
return [];
|
|
3818
|
-
let
|
|
2736
|
+
let i2 = 0;
|
|
3819
2737
|
const result = [];
|
|
3820
|
-
while (
|
|
3821
|
-
result.push(array.slice(
|
|
3822
|
-
|
|
2738
|
+
while (i2 < array.length) {
|
|
2739
|
+
result.push(array.slice(i2, i2 + size));
|
|
2740
|
+
i2 = i2 + size;
|
|
3823
2741
|
}
|
|
3824
2742
|
return result;
|
|
3825
2743
|
}
|
|
3826
2744
|
var Expander = (props) => {
|
|
3827
2745
|
const styles = getStyles();
|
|
3828
2746
|
return (() => {
|
|
3829
|
-
const _el$ = _tmpl$
|
|
3830
|
-
createRenderEffect(() => className(_el$,
|
|
2747
|
+
const _el$ = _tmpl$13();
|
|
2748
|
+
createRenderEffect(() => className(_el$, clsx(styles.expander, u`
|
|
3831
2749
|
transform: rotate(${props.expanded ? 90 : 0}deg);
|
|
3832
2750
|
`)));
|
|
3833
2751
|
return _el$;
|
|
@@ -3839,7 +2757,7 @@ var CopyButton = (props) => {
|
|
|
3839
2757
|
return (() => {
|
|
3840
2758
|
const _el$2 = _tmpl$22();
|
|
3841
2759
|
addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
|
|
3842
|
-
navigator.clipboard.writeText(
|
|
2760
|
+
navigator.clipboard.writeText(stringify(props.value)).then(() => {
|
|
3843
2761
|
setCopyState("SuccessCopy");
|
|
3844
2762
|
setTimeout(() => {
|
|
3845
2763
|
setCopyState("NoCopy");
|
|
@@ -3899,8 +2817,8 @@ function Explorer(props) {
|
|
|
3899
2817
|
const [expandedPages, setExpandedPages] = createSignal([]);
|
|
3900
2818
|
const subEntries = createMemo(() => {
|
|
3901
2819
|
if (Array.isArray(props.value)) {
|
|
3902
|
-
return props.value.map((d,
|
|
3903
|
-
label:
|
|
2820
|
+
return props.value.map((d, i2) => ({
|
|
2821
|
+
label: i2.toString(),
|
|
3904
2822
|
value: d
|
|
3905
2823
|
}));
|
|
3906
2824
|
} else if (props.value !== null && typeof props.value === "object" && isIterable(props.value) && typeof props.value[Symbol.iterator] === "function") {
|
|
@@ -3910,8 +2828,8 @@ function Explorer(props) {
|
|
|
3910
2828
|
value: val
|
|
3911
2829
|
}));
|
|
3912
2830
|
}
|
|
3913
|
-
return Array.from(props.value, (val,
|
|
3914
|
-
label:
|
|
2831
|
+
return Array.from(props.value, (val, i2) => ({
|
|
2832
|
+
label: i2.toString(),
|
|
3915
2833
|
value: val
|
|
3916
2834
|
}));
|
|
3917
2835
|
} else if (typeof props.value === "object" && props.value !== null) {
|
|
@@ -4109,7 +3027,7 @@ var getStyles = () => {
|
|
|
4109
3027
|
border
|
|
4110
3028
|
} = tokens;
|
|
4111
3029
|
return {
|
|
4112
|
-
entry:
|
|
3030
|
+
entry: u`
|
|
4113
3031
|
& * {
|
|
4114
3032
|
font-size: ${font.size.sm};
|
|
4115
3033
|
font-family: 'Menlo', 'Fira Code', monospace;
|
|
@@ -4119,12 +3037,12 @@ var getStyles = () => {
|
|
|
4119
3037
|
outline: none;
|
|
4120
3038
|
word-break: break-word;
|
|
4121
3039
|
`,
|
|
4122
|
-
subEntry:
|
|
3040
|
+
subEntry: u`
|
|
4123
3041
|
margin: 0 0 0 0.5em;
|
|
4124
3042
|
padding-left: 0.75em;
|
|
4125
3043
|
border-left: 2px solid ${colors.darkGray[400]};
|
|
4126
3044
|
`,
|
|
4127
|
-
expander:
|
|
3045
|
+
expander: u`
|
|
4128
3046
|
& path {
|
|
4129
3047
|
stroke: ${colors.gray[400]};
|
|
4130
3048
|
}
|
|
@@ -4132,7 +3050,7 @@ var getStyles = () => {
|
|
|
4132
3050
|
align-items: center;
|
|
4133
3051
|
transition: all 0.1s ease;
|
|
4134
3052
|
`,
|
|
4135
|
-
expanderButton:
|
|
3053
|
+
expanderButton: u`
|
|
4136
3054
|
cursor: pointer;
|
|
4137
3055
|
color: inherit;
|
|
4138
3056
|
font: inherit;
|
|
@@ -4150,19 +3068,19 @@ var getStyles = () => {
|
|
|
4150
3068
|
outline: 2px solid ${colors.blue[800]};
|
|
4151
3069
|
}
|
|
4152
3070
|
`,
|
|
4153
|
-
info:
|
|
3071
|
+
info: u`
|
|
4154
3072
|
color: ${colors.gray[500]};
|
|
4155
3073
|
font-size: ${font.size.xs};
|
|
4156
3074
|
line-height: ${font.size.xs};
|
|
4157
3075
|
margin-left: ${size[1]};
|
|
4158
3076
|
`,
|
|
4159
|
-
label:
|
|
3077
|
+
label: u`
|
|
4160
3078
|
color: ${colors.gray[300]};
|
|
4161
3079
|
`,
|
|
4162
|
-
value:
|
|
3080
|
+
value: u`
|
|
4163
3081
|
color: ${colors.purple[400]};
|
|
4164
3082
|
`,
|
|
4165
|
-
copyButton:
|
|
3083
|
+
copyButton: u`
|
|
4166
3084
|
background-color: transparent;
|
|
4167
3085
|
border: none;
|
|
4168
3086
|
display: inline-flex;
|
|
@@ -4211,21 +3129,21 @@ var loadFonts = () => {
|
|
|
4211
3129
|
};
|
|
4212
3130
|
|
|
4213
3131
|
// src/Devtools.tsx
|
|
4214
|
-
var _tmpl$
|
|
3132
|
+
var _tmpl$14 = /* @__PURE__ */ template(`<div><div aria-hidden="true"></div><button aria-label="Open Tanstack query devtools">`);
|
|
4215
3133
|
var _tmpl$23 = /* @__PURE__ */ template(`<div>`);
|
|
4216
3134
|
var _tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
|
|
4217
3135
|
var _tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
|
|
4218
|
-
var _tmpl$53 = /* @__PURE__ */ template(`<div role="menu" tabindex="-1" aria-labelledby="
|
|
4219
|
-
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="
|
|
3136
|
+
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`);
|
|
3137
|
+
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 aria-label="Clear query cache"></button><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">`);
|
|
4220
3138
|
var _tmpl$73 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
4221
|
-
var _tmpl$82 = /* @__PURE__ */ template(`<div class="
|
|
4222
|
-
var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="
|
|
4223
|
-
var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="
|
|
4224
|
-
var _tmpl$112 = /* @__PURE__ */ template(`<span>`);
|
|
3139
|
+
var _tmpl$82 = /* @__PURE__ */ template(`<div class="tsqd-query-disabled-indicator">disabled`);
|
|
3140
|
+
var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="tsqd-query-hash">`);
|
|
3141
|
+
var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
|
|
3142
|
+
var _tmpl$112 = /* @__PURE__ */ template(`<span class="tsqd-query-status-tag-label">`);
|
|
4225
3143
|
var _tmpl$122 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
4226
3144
|
var _tmpl$132 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
4227
|
-
var _tmpl$
|
|
4228
|
-
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>`);
|
|
3145
|
+
var _tmpl$142 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value="" disabled selected>`);
|
|
3146
|
+
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>Remove</button><button><span></span> Loading</button></div><div>Data Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-data-explorer"></div><div>Query Explorer</div><div class="tsqd-query-details-explorer-container tsqd-query-details-query-explorer">`);
|
|
4229
3147
|
var _tmpl$16 = /* @__PURE__ */ template(`<option>`);
|
|
4230
3148
|
var firstBreakpoint = 1024;
|
|
4231
3149
|
var secondBreakpoint = 796;
|
|
@@ -4260,13 +3178,21 @@ var Devtools = () => {
|
|
|
4260
3178
|
const isOpen = createMemo(() => {
|
|
4261
3179
|
return localStore.open === "true" ? true : localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
|
|
4262
3180
|
});
|
|
4263
|
-
const
|
|
3181
|
+
const position = createMemo(() => {
|
|
4264
3182
|
return localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
4265
3183
|
});
|
|
3184
|
+
createEffect(() => {
|
|
3185
|
+
const root = document.querySelector(".tsqd-parent-container");
|
|
3186
|
+
const height = localStore.height || DEFAULT_HEIGHT;
|
|
3187
|
+
const width = localStore.width || DEFAULT_WIDTH;
|
|
3188
|
+
const panelPosition = position();
|
|
3189
|
+
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
3190
|
+
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
3191
|
+
});
|
|
4266
3192
|
return (() => {
|
|
4267
3193
|
const _el$ = _tmpl$23();
|
|
4268
3194
|
insert(_el$, createComponent(TransitionGroup, {
|
|
4269
|
-
name: "
|
|
3195
|
+
name: "tsqd-panel-transition",
|
|
4270
3196
|
get children() {
|
|
4271
3197
|
return createComponent(Show, {
|
|
4272
3198
|
get when() {
|
|
@@ -4282,44 +3208,44 @@ var Devtools = () => {
|
|
|
4282
3208
|
}
|
|
4283
3209
|
}), null);
|
|
4284
3210
|
insert(_el$, createComponent(TransitionGroup, {
|
|
4285
|
-
name: "
|
|
3211
|
+
name: "tsqd-button-transition",
|
|
4286
3212
|
get children() {
|
|
4287
3213
|
return createComponent(Show, {
|
|
4288
3214
|
get when() {
|
|
4289
3215
|
return !isOpen();
|
|
4290
3216
|
},
|
|
4291
3217
|
get children() {
|
|
4292
|
-
const _el$2 = _tmpl$
|
|
3218
|
+
const _el$2 = _tmpl$14(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
4293
3219
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
4294
3220
|
_el$4.$$click = () => setLocalStore("open", "true");
|
|
4295
3221
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
4296
|
-
createRenderEffect(() => className(_el$2,
|
|
3222
|
+
createRenderEffect(() => className(_el$2, clsx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
4297
3223
|
return _el$2;
|
|
4298
3224
|
}
|
|
4299
3225
|
});
|
|
4300
3226
|
}
|
|
4301
3227
|
}), null);
|
|
4302
|
-
createRenderEffect(() => className(_el$,
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
3228
|
+
createRenderEffect(() => className(_el$, clsx(u`
|
|
3229
|
+
& .tsqd-panel-transition-exit-active,
|
|
3230
|
+
& .tsqd-panel-transition-enter-active {
|
|
3231
|
+
transition: opacity 0.3s, transform 0.3s;
|
|
3232
|
+
}
|
|
4307
3233
|
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
3234
|
+
& .tsqd-panel-transition-exit-to,
|
|
3235
|
+
& .tsqd-panel-transition-enter {
|
|
3236
|
+
${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
|
|
3237
|
+
}
|
|
4312
3238
|
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
3239
|
+
& .tsqd-button-transition-exit-active,
|
|
3240
|
+
& .tsqd-button-transition-enter-active {
|
|
3241
|
+
transition: opacity 0.3s, transform 0.3s;
|
|
3242
|
+
}
|
|
4317
3243
|
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
3244
|
+
& .tsqd-button-transition-exit-to,
|
|
3245
|
+
& .tsqd-button-transition-enter {
|
|
3246
|
+
transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
3247
|
+
}
|
|
3248
|
+
`, "tsqd-transitions-container")));
|
|
4323
3249
|
return _el$;
|
|
4324
3250
|
})();
|
|
4325
3251
|
};
|
|
@@ -4330,19 +3256,19 @@ var DevtoolsPanel = (props) => {
|
|
|
4330
3256
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
4331
3257
|
const [offline, setOffline] = createSignal(false);
|
|
4332
3258
|
const [settingsOpen, setSettingsOpen] = createSignal(false);
|
|
4333
|
-
const
|
|
3259
|
+
const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
|
|
4334
3260
|
const sortFn = createMemo(() => sortFns[sort()]);
|
|
4335
3261
|
const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
|
|
4336
|
-
const
|
|
3262
|
+
const cache = createMemo(() => {
|
|
4337
3263
|
return useQueryDevtoolsContext().client.getQueryCache();
|
|
4338
3264
|
});
|
|
4339
3265
|
const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
4340
3266
|
return queryCache().getAll().length;
|
|
4341
3267
|
}, false);
|
|
4342
3268
|
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
|
|
4343
|
-
const curr =
|
|
3269
|
+
const curr = cache().getAll();
|
|
4344
3270
|
const filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
|
|
4345
|
-
const sorted = sortFn() ? filtered.sort((
|
|
3271
|
+
const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
|
|
4346
3272
|
return sorted;
|
|
4347
3273
|
}));
|
|
4348
3274
|
const handleDragStart = (event) => {
|
|
@@ -4361,8 +3287,8 @@ var DevtoolsPanel = (props) => {
|
|
|
4361
3287
|
const minWidth = convertRemToPixels(12);
|
|
4362
3288
|
const runDrag = (moveEvent) => {
|
|
4363
3289
|
moveEvent.preventDefault();
|
|
4364
|
-
if (
|
|
4365
|
-
const valToAdd =
|
|
3290
|
+
if (position() === "left" || position() === "right") {
|
|
3291
|
+
const valToAdd = position() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
|
|
4366
3292
|
newSize = Math.round(width + valToAdd);
|
|
4367
3293
|
if (newSize < minWidth) {
|
|
4368
3294
|
newSize = minWidth;
|
|
@@ -4373,7 +3299,7 @@ var DevtoolsPanel = (props) => {
|
|
|
4373
3299
|
props.setLocalStore("width", String(newWidth));
|
|
4374
3300
|
}
|
|
4375
3301
|
} else {
|
|
4376
|
-
const valToAdd =
|
|
3302
|
+
const valToAdd = position() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
|
|
4377
3303
|
newSize = Math.round(height + valToAdd);
|
|
4378
3304
|
if (newSize < minHeight) {
|
|
4379
3305
|
newSize = minHeight;
|
|
@@ -4436,7 +3362,7 @@ var DevtoolsPanel = (props) => {
|
|
|
4436
3362
|
});
|
|
4437
3363
|
});
|
|
4438
3364
|
return (() => {
|
|
4439
|
-
const _el$5 = _tmpl$63(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$9.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$15.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$26 = _el$25.firstChild, _el$
|
|
3365
|
+
const _el$5 = _tmpl$63(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.nextSibling, _el$9 = _el$8.firstChild, _el$10 = _el$9.firstChild, _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$9.nextSibling, _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.firstChild, _el$18 = _el$16.nextSibling, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$23 = _el$15.nextSibling, _el$24 = _el$23.firstChild, _el$25 = _el$24.nextSibling, _el$26 = _el$25.nextSibling, _el$27 = _el$26.firstChild, _el$39 = _el$14.nextSibling, _el$40 = _el$39.firstChild;
|
|
4440
3366
|
const _ref$ = panelRef;
|
|
4441
3367
|
typeof _ref$ === "function" ? use(_ref$, _el$5) : panelRef = _el$5;
|
|
4442
3368
|
_el$6.$$mousedown = handleDragStart;
|
|
@@ -4449,13 +3375,13 @@ var DevtoolsPanel = (props) => {
|
|
|
4449
3375
|
insert(_el$12, () => useQueryDevtoolsContext().version, null);
|
|
4450
3376
|
insert(_el$9, createComponent(QueryStatusCount, {}), null);
|
|
4451
3377
|
insert(_el$16, createComponent(Search, {}), _el$17);
|
|
4452
|
-
_el$17.$$input = (
|
|
4453
|
-
_el$19.addEventListener("change", (
|
|
3378
|
+
_el$17.$$input = (e2) => props.setLocalStore("filter", e2.currentTarget.value);
|
|
3379
|
+
_el$19.addEventListener("change", (e2) => props.setLocalStore("sort", e2.currentTarget.value));
|
|
4454
3380
|
insert(_el$19, () => Object.keys(sortFns).map((key) => (() => {
|
|
4455
|
-
const _el$
|
|
4456
|
-
_el$
|
|
4457
|
-
insert(_el$
|
|
4458
|
-
return _el$
|
|
3381
|
+
const _el$41 = _tmpl$73(); _el$41.firstChild;
|
|
3382
|
+
_el$41.value = key;
|
|
3383
|
+
insert(_el$41, key, null);
|
|
3384
|
+
return _el$41;
|
|
4459
3385
|
})()));
|
|
4460
3386
|
insert(_el$18, createComponent(ChevronDown, {}), null);
|
|
4461
3387
|
_el$20.$$click = () => {
|
|
@@ -4478,6 +3404,10 @@ var DevtoolsPanel = (props) => {
|
|
|
4478
3404
|
}
|
|
4479
3405
|
}), null);
|
|
4480
3406
|
_el$24.$$click = () => {
|
|
3407
|
+
cache().clear();
|
|
3408
|
+
};
|
|
3409
|
+
insert(_el$24, createComponent(Trash, {}));
|
|
3410
|
+
_el$25.$$click = () => {
|
|
4481
3411
|
if (offline()) {
|
|
4482
3412
|
onlineManager().setOnline(true);
|
|
4483
3413
|
setOffline(false);
|
|
@@ -4486,50 +3416,50 @@ var DevtoolsPanel = (props) => {
|
|
|
4486
3416
|
setOffline(true);
|
|
4487
3417
|
}
|
|
4488
3418
|
};
|
|
4489
|
-
insert(_el$
|
|
3419
|
+
insert(_el$25, (() => {
|
|
4490
3420
|
const _c$ = createMemo(() => !!offline());
|
|
4491
3421
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
4492
3422
|
})());
|
|
4493
|
-
_el$
|
|
4494
|
-
_el$
|
|
4495
|
-
insert(_el$
|
|
4496
|
-
insert(_el$
|
|
3423
|
+
_el$26.style.setProperty("position", "relative");
|
|
3424
|
+
_el$27.$$click = () => setSettingsOpen((prev) => !prev);
|
|
3425
|
+
insert(_el$27, createComponent(Settings, {}));
|
|
3426
|
+
insert(_el$26, createComponent(Show, {
|
|
4497
3427
|
get when() {
|
|
4498
3428
|
return settingsOpen();
|
|
4499
3429
|
},
|
|
4500
3430
|
get children() {
|
|
4501
|
-
const _el$
|
|
4502
|
-
_el$
|
|
3431
|
+
const _el$28 = _tmpl$53(), _el$29 = _el$28.firstChild, _el$30 = _el$29.nextSibling, _el$31 = _el$30.firstChild, _el$32 = _el$31.firstChild, _el$33 = _el$31.nextSibling, _el$34 = _el$33.firstChild, _el$35 = _el$33.nextSibling, _el$36 = _el$35.firstChild, _el$37 = _el$35.nextSibling, _el$38 = _el$37.firstChild;
|
|
3432
|
+
_el$31.$$click = () => {
|
|
4503
3433
|
setDevtoolsPosition("top");
|
|
4504
3434
|
};
|
|
4505
|
-
insert(_el$
|
|
4506
|
-
_el$
|
|
3435
|
+
insert(_el$31, createComponent(ArrowUp, {}), _el$32);
|
|
3436
|
+
_el$33.$$click = () => {
|
|
4507
3437
|
setDevtoolsPosition("bottom");
|
|
4508
3438
|
};
|
|
4509
|
-
insert(_el$
|
|
4510
|
-
_el$
|
|
3439
|
+
insert(_el$33, createComponent(ArrowDown, {}), _el$34);
|
|
3440
|
+
_el$35.$$click = () => {
|
|
4511
3441
|
setDevtoolsPosition("left");
|
|
4512
3442
|
};
|
|
4513
|
-
insert(_el$
|
|
4514
|
-
_el$
|
|
3443
|
+
insert(_el$35, createComponent(ArrowDown, {}), _el$36);
|
|
3444
|
+
_el$37.$$click = () => {
|
|
4515
3445
|
setDevtoolsPosition("right");
|
|
4516
3446
|
};
|
|
4517
|
-
insert(_el$
|
|
3447
|
+
insert(_el$37, createComponent(ArrowDown, {}), _el$38);
|
|
4518
3448
|
createRenderEffect((_p$) => {
|
|
4519
|
-
const _v$ = styles.settingsMenu, _v$2 = styles.settingsMenuHeader, _v$3 = styles.settingsMenuSection;
|
|
4520
|
-
_v$ !== _p$._v$ && className(_el$
|
|
4521
|
-
_v$2 !== _p$._v$2 && className(_el$
|
|
4522
|
-
_v$3 !== _p$._v$3 && className(_el$
|
|
3449
|
+
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");
|
|
3450
|
+
_v$ !== _p$._v$ && className(_el$28, _p$._v$ = _v$);
|
|
3451
|
+
_v$2 !== _p$._v$2 && className(_el$29, _p$._v$2 = _v$2);
|
|
3452
|
+
_v$3 !== _p$._v$3 && className(_el$30, _p$._v$3 = _v$3);
|
|
4523
3453
|
return _p$;
|
|
4524
3454
|
}, {
|
|
4525
3455
|
_v$: void 0,
|
|
4526
3456
|
_v$2: void 0,
|
|
4527
3457
|
_v$3: void 0
|
|
4528
3458
|
});
|
|
4529
|
-
return _el$
|
|
3459
|
+
return _el$28;
|
|
4530
3460
|
}
|
|
4531
3461
|
}), null);
|
|
4532
|
-
insert(_el$
|
|
3462
|
+
insert(_el$40, createComponent(Key, {
|
|
4533
3463
|
by: (q) => q.queryHash,
|
|
4534
3464
|
get each() {
|
|
4535
3465
|
return queries();
|
|
@@ -4549,20 +3479,19 @@ var DevtoolsPanel = (props) => {
|
|
|
4549
3479
|
}
|
|
4550
3480
|
}), null);
|
|
4551
3481
|
createRenderEffect((_p$) => {
|
|
4552
|
-
const _v$4 =
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
3482
|
+
const _v$4 = clsx(styles.panel, styles[`panel-position-${position()}`], u`
|
|
3483
|
+
flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
|
|
3484
|
+
background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
|
|
3485
|
+
`, {
|
|
3486
|
+
[u`
|
|
4556
3487
|
min-width: min-content;
|
|
4557
|
-
`
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
` : ""}
|
|
4563
|
-
`}`, _v$10 = cx(styles.row), _v$11 = styles.logo, _v$12 = styles.tanstackLogo, _v$13 = styles.queryFlavorLogo, _v$14 = cx(styles.row, css`
|
|
3488
|
+
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
3489
|
+
}, "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`
|
|
3490
|
+
height: 50%;
|
|
3491
|
+
max-height: 50%;
|
|
3492
|
+
`, "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`
|
|
4564
3493
|
gap: ${tokens.size[2.5]};
|
|
4565
|
-
|
|
3494
|
+
`, "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-clear-cache"), _v$22 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-mock-offline-behavior"), _v$23 = `${offline() ? "Unset offline mocking behavior" : "Mock offline behavior"}`, _v$24 = offline(), _v$25 = clsx(styles.actionsBtn, "tsqd-actions-btn", "tsqd-action-settings"), _v$26 = `${settingsOpen() ? "Close" : "Open"} settings menu`, _v$27 = clsx(styles.overflowQueryContainer, "tsqd-queries-overflow-container");
|
|
4566
3495
|
_v$4 !== _p$._v$4 && className(_el$5, _p$._v$4 = _v$4);
|
|
4567
3496
|
_v$5 !== _p$._v$5 && ((_p$._v$5 = _v$5) != null ? _el$5.style.setProperty("height", _v$5) : _el$5.style.removeProperty("height"));
|
|
4568
3497
|
_v$6 !== _p$._v$6 && ((_p$._v$6 = _v$6) != null ? _el$5.style.setProperty("width", _v$6) : _el$5.style.removeProperty("width"));
|
|
@@ -4581,11 +3510,12 @@ var DevtoolsPanel = (props) => {
|
|
|
4581
3510
|
_v$19 !== _p$._v$19 && setAttribute(_el$20, "aria-pressed", _p$._v$19 = _v$19);
|
|
4582
3511
|
_v$20 !== _p$._v$20 && className(_el$23, _p$._v$20 = _v$20);
|
|
4583
3512
|
_v$21 !== _p$._v$21 && className(_el$24, _p$._v$21 = _v$21);
|
|
4584
|
-
_v$22 !== _p$._v$22 &&
|
|
4585
|
-
_v$23 !== _p$._v$23 && setAttribute(_el$
|
|
4586
|
-
_v$24 !== _p$._v$24 &&
|
|
4587
|
-
_v$25 !== _p$._v$25 &&
|
|
4588
|
-
_v$26 !== _p$._v$26 &&
|
|
3513
|
+
_v$22 !== _p$._v$22 && className(_el$25, _p$._v$22 = _v$22);
|
|
3514
|
+
_v$23 !== _p$._v$23 && setAttribute(_el$25, "aria-label", _p$._v$23 = _v$23);
|
|
3515
|
+
_v$24 !== _p$._v$24 && setAttribute(_el$25, "aria-pressed", _p$._v$24 = _v$24);
|
|
3516
|
+
_v$25 !== _p$._v$25 && className(_el$27, _p$._v$25 = _v$25);
|
|
3517
|
+
_v$26 !== _p$._v$26 && setAttribute(_el$27, "aria-label", _p$._v$26 = _v$26);
|
|
3518
|
+
_v$27 !== _p$._v$27 && className(_el$39, _p$._v$27 = _v$27);
|
|
4589
3519
|
return _p$;
|
|
4590
3520
|
}, {
|
|
4591
3521
|
_v$4: void 0,
|
|
@@ -4610,7 +3540,8 @@ var DevtoolsPanel = (props) => {
|
|
|
4610
3540
|
_v$23: void 0,
|
|
4611
3541
|
_v$24: void 0,
|
|
4612
3542
|
_v$25: void 0,
|
|
4613
|
-
_v$26: void 0
|
|
3543
|
+
_v$26: void 0,
|
|
3544
|
+
_v$27: void 0
|
|
4614
3545
|
});
|
|
4615
3546
|
createRenderEffect(() => _el$17.value = props.localStore.filter || "");
|
|
4616
3547
|
createRenderEffect(() => _el$19.value = sort());
|
|
@@ -4641,11 +3572,11 @@ var QueryRow = (props) => {
|
|
|
4641
3572
|
return queryState();
|
|
4642
3573
|
},
|
|
4643
3574
|
get children() {
|
|
4644
|
-
const _el$
|
|
4645
|
-
_el$
|
|
4646
|
-
insert(_el$
|
|
4647
|
-
insert(_el$
|
|
4648
|
-
insert(_el$
|
|
3575
|
+
const _el$43 = _tmpl$92(), _el$44 = _el$43.firstChild, _el$45 = _el$44.nextSibling;
|
|
3576
|
+
_el$43.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
3577
|
+
insert(_el$44, observers);
|
|
3578
|
+
insert(_el$45, () => props.query.queryHash);
|
|
3579
|
+
insert(_el$43, createComponent(Show, {
|
|
4649
3580
|
get when() {
|
|
4650
3581
|
return isDisabled();
|
|
4651
3582
|
},
|
|
@@ -4654,23 +3585,23 @@ var QueryRow = (props) => {
|
|
|
4654
3585
|
}
|
|
4655
3586
|
}), null);
|
|
4656
3587
|
createRenderEffect((_p$) => {
|
|
4657
|
-
const _v$
|
|
3588
|
+
const _v$28 = clsx(styles.queryRow, selectedQueryHash() === props.query.queryHash && styles.selectedQueryRow, "tsqd-query-row"), _v$29 = `Query key ${props.query.queryHash}`, _v$30 = clsx(color() === "gray" ? u`
|
|
4658
3589
|
background-color: ${tokens.colors[color()][700]};
|
|
4659
3590
|
color: ${tokens.colors[color()][300]};
|
|
4660
|
-
` :
|
|
3591
|
+
` : u`
|
|
4661
3592
|
background-color: ${tokens.colors[color()][900]};
|
|
4662
|
-
color: ${tokens.colors[color()][300]}
|
|
4663
|
-
|
|
4664
|
-
_v$
|
|
4665
|
-
_v$
|
|
4666
|
-
_v$
|
|
3593
|
+
color: ${tokens.colors[color()][300]};
|
|
3594
|
+
`, "tsqd-query-observer-count");
|
|
3595
|
+
_v$28 !== _p$._v$28 && className(_el$43, _p$._v$28 = _v$28);
|
|
3596
|
+
_v$29 !== _p$._v$29 && setAttribute(_el$43, "aria-label", _p$._v$29 = _v$29);
|
|
3597
|
+
_v$30 !== _p$._v$30 && className(_el$44, _p$._v$30 = _v$30);
|
|
4667
3598
|
return _p$;
|
|
4668
3599
|
}, {
|
|
4669
|
-
_v$27: void 0,
|
|
4670
3600
|
_v$28: void 0,
|
|
4671
|
-
_v$29: void 0
|
|
3601
|
+
_v$29: void 0,
|
|
3602
|
+
_v$30: void 0
|
|
4672
3603
|
});
|
|
4673
|
-
return _el$
|
|
3604
|
+
return _el$43;
|
|
4674
3605
|
}
|
|
4675
3606
|
});
|
|
4676
3607
|
};
|
|
@@ -4682,44 +3613,44 @@ var QueryStatusCount = () => {
|
|
|
4682
3613
|
const inactive = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().filter((q) => getQueryStatusLabel(q) === "inactive").length);
|
|
4683
3614
|
const styles = getStyles2();
|
|
4684
3615
|
return (() => {
|
|
4685
|
-
const _el$
|
|
4686
|
-
insert(_el$
|
|
3616
|
+
const _el$47 = _tmpl$23();
|
|
3617
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4687
3618
|
label: "Fresh",
|
|
4688
3619
|
color: "green",
|
|
4689
3620
|
get count() {
|
|
4690
3621
|
return fresh();
|
|
4691
3622
|
}
|
|
4692
3623
|
}), null);
|
|
4693
|
-
insert(_el$
|
|
3624
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4694
3625
|
label: "Fetching",
|
|
4695
3626
|
color: "blue",
|
|
4696
3627
|
get count() {
|
|
4697
3628
|
return fetching();
|
|
4698
3629
|
}
|
|
4699
3630
|
}), null);
|
|
4700
|
-
insert(_el$
|
|
3631
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4701
3632
|
label: "Paused",
|
|
4702
3633
|
color: "purple",
|
|
4703
3634
|
get count() {
|
|
4704
3635
|
return paused();
|
|
4705
3636
|
}
|
|
4706
3637
|
}), null);
|
|
4707
|
-
insert(_el$
|
|
3638
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4708
3639
|
label: "Stale",
|
|
4709
3640
|
color: "yellow",
|
|
4710
3641
|
get count() {
|
|
4711
3642
|
return stale();
|
|
4712
3643
|
}
|
|
4713
3644
|
}), null);
|
|
4714
|
-
insert(_el$
|
|
3645
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4715
3646
|
label: "Inactive",
|
|
4716
3647
|
color: "gray",
|
|
4717
3648
|
get count() {
|
|
4718
3649
|
return inactive();
|
|
4719
3650
|
}
|
|
4720
3651
|
}), null);
|
|
4721
|
-
createRenderEffect(() => className(_el$
|
|
4722
|
-
return _el$
|
|
3652
|
+
createRenderEffect(() => className(_el$47, clsx(styles.queryStatusContainer, "tsqd-query-status-container")));
|
|
3653
|
+
return _el$47;
|
|
4723
3654
|
})();
|
|
4724
3655
|
};
|
|
4725
3656
|
var QueryStatus = (props) => {
|
|
@@ -4739,73 +3670,73 @@ var QueryStatus = (props) => {
|
|
|
4739
3670
|
return true;
|
|
4740
3671
|
});
|
|
4741
3672
|
return (() => {
|
|
4742
|
-
const _el$
|
|
3673
|
+
const _el$48 = _tmpl$122(), _el$50 = _el$48.firstChild, _el$52 = _el$50.nextSibling;
|
|
4743
3674
|
const _ref$3 = tagRef;
|
|
4744
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
4745
|
-
_el$
|
|
3675
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$48) : tagRef = _el$48;
|
|
3676
|
+
_el$48.addEventListener("mouseleave", () => {
|
|
4746
3677
|
setMouseOver(false);
|
|
4747
3678
|
setFocused(false);
|
|
4748
3679
|
});
|
|
4749
|
-
_el$
|
|
4750
|
-
_el$
|
|
4751
|
-
_el$
|
|
4752
|
-
spread(_el$
|
|
3680
|
+
_el$48.addEventListener("mouseenter", () => setMouseOver(true));
|
|
3681
|
+
_el$48.addEventListener("blur", () => setFocused(false));
|
|
3682
|
+
_el$48.addEventListener("focus", () => setFocused(true));
|
|
3683
|
+
spread(_el$48, mergeProps({
|
|
4753
3684
|
get disabled() {
|
|
4754
3685
|
return showLabel();
|
|
4755
3686
|
},
|
|
4756
3687
|
get ["class"]() {
|
|
4757
|
-
return
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
3688
|
+
return clsx(styles.queryStatusTag, !showLabel() && u`
|
|
3689
|
+
cursor: pointer;
|
|
3690
|
+
&:hover {
|
|
3691
|
+
background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
|
|
3692
|
+
}
|
|
3693
|
+
`, "tsqd-query-status-tag", `tsqd-query-status-tag-${props.label.toLowerCase()}`);
|
|
4763
3694
|
}
|
|
4764
3695
|
}, () => mouseOver() || focused() ? {
|
|
4765
|
-
"aria-describedby": "
|
|
3696
|
+
"aria-describedby": "tsqd-status-tooltip"
|
|
4766
3697
|
} : {}), false, true);
|
|
4767
|
-
insert(_el$
|
|
3698
|
+
insert(_el$48, createComponent(Show, {
|
|
4768
3699
|
get when() {
|
|
4769
3700
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
4770
3701
|
},
|
|
4771
3702
|
get children() {
|
|
4772
|
-
const _el$
|
|
4773
|
-
insert(_el$
|
|
4774
|
-
createRenderEffect(() => className(_el$
|
|
4775
|
-
return _el$
|
|
3703
|
+
const _el$49 = _tmpl$102();
|
|
3704
|
+
insert(_el$49, () => props.label);
|
|
3705
|
+
createRenderEffect(() => className(_el$49, clsx(styles.statusTooltip, "tsqd-query-status-tooltip")));
|
|
3706
|
+
return _el$49;
|
|
4776
3707
|
}
|
|
4777
|
-
}), _el$
|
|
4778
|
-
insert(_el$
|
|
3708
|
+
}), _el$50);
|
|
3709
|
+
insert(_el$48, createComponent(Show, {
|
|
4779
3710
|
get when() {
|
|
4780
3711
|
return showLabel();
|
|
4781
3712
|
},
|
|
4782
3713
|
get children() {
|
|
4783
|
-
const _el$
|
|
4784
|
-
insert(_el$
|
|
4785
|
-
return _el$
|
|
3714
|
+
const _el$51 = _tmpl$112();
|
|
3715
|
+
insert(_el$51, () => props.label);
|
|
3716
|
+
return _el$51;
|
|
4786
3717
|
}
|
|
4787
|
-
}), _el$
|
|
4788
|
-
insert(_el$
|
|
3718
|
+
}), _el$52);
|
|
3719
|
+
insert(_el$52, () => props.count);
|
|
4789
3720
|
createRenderEffect((_p$) => {
|
|
4790
|
-
const _v$
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
3721
|
+
const _v$31 = clsx(u`
|
|
3722
|
+
width: ${tokens.size[2]};
|
|
3723
|
+
height: ${tokens.size[2]};
|
|
3724
|
+
border-radius: ${tokens.border.radius.full};
|
|
3725
|
+
background-color: ${tokens.colors[props.color][500]};
|
|
3726
|
+
`, "tsqd-query-status-tag-dot"), _v$32 = clsx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? u`
|
|
4796
3727
|
background-color: ${tokens.colors[props.color][900]};
|
|
4797
|
-
color: ${tokens.colors[props.color][300]}
|
|
4798
|
-
` :
|
|
4799
|
-
color: ${tokens.colors["gray"][400]}
|
|
4800
|
-
|
|
4801
|
-
_v$
|
|
4802
|
-
_v$
|
|
3728
|
+
color: ${tokens.colors[props.color][300]};
|
|
3729
|
+
` : u`
|
|
3730
|
+
color: ${tokens.colors["gray"][400]};
|
|
3731
|
+
`, "tsqd-query-status-tag-count");
|
|
3732
|
+
_v$31 !== _p$._v$31 && className(_el$50, _p$._v$31 = _v$31);
|
|
3733
|
+
_v$32 !== _p$._v$32 && className(_el$52, _p$._v$32 = _v$32);
|
|
4803
3734
|
return _p$;
|
|
4804
3735
|
}, {
|
|
4805
|
-
_v$
|
|
4806
|
-
_v$
|
|
3736
|
+
_v$31: void 0,
|
|
3737
|
+
_v$32: void 0
|
|
4807
3738
|
});
|
|
4808
|
-
return _el$
|
|
3739
|
+
return _el$48;
|
|
4809
3740
|
})();
|
|
4810
3741
|
};
|
|
4811
3742
|
var QueryDetails = () => {
|
|
@@ -4871,15 +3802,19 @@ var QueryDetails = () => {
|
|
|
4871
3802
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
4872
3803
|
},
|
|
4873
3804
|
get children() {
|
|
4874
|
-
const _el$
|
|
4875
|
-
insert(_el$
|
|
4876
|
-
insert(_el$
|
|
4877
|
-
insert(_el$
|
|
4878
|
-
insert(_el$
|
|
4879
|
-
_el$
|
|
4880
|
-
_el$
|
|
4881
|
-
_el$
|
|
4882
|
-
_el$
|
|
3805
|
+
const _el$53 = _tmpl$15(), _el$54 = _el$53.firstChild, _el$55 = _el$54.nextSibling, _el$56 = _el$55.firstChild, _el$57 = _el$56.firstChild, _el$58 = _el$57.firstChild, _el$59 = _el$57.nextSibling, _el$60 = _el$56.nextSibling, _el$61 = _el$60.firstChild, _el$62 = _el$61.nextSibling, _el$63 = _el$60.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$64.nextSibling, _el$66 = _el$55.nextSibling, _el$67 = _el$66.nextSibling, _el$68 = _el$67.firstChild, _el$69 = _el$68.firstChild, _el$70 = _el$68.nextSibling, _el$71 = _el$70.firstChild, _el$72 = _el$70.nextSibling, _el$73 = _el$72.firstChild, _el$74 = _el$72.nextSibling, _el$75 = _el$74.firstChild, _el$76 = _el$74.nextSibling, _el$77 = _el$76.firstChild, _el$78 = _el$77.nextSibling, _el$87 = _el$67.nextSibling, _el$88 = _el$87.nextSibling, _el$89 = _el$88.nextSibling, _el$90 = _el$89.nextSibling;
|
|
3806
|
+
insert(_el$58, () => displayValue(activeQuery().queryKey, true));
|
|
3807
|
+
insert(_el$59, statusLabel);
|
|
3808
|
+
insert(_el$62, observerCount);
|
|
3809
|
+
insert(_el$65, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
3810
|
+
_el$68.$$click = handleRefetch;
|
|
3811
|
+
_el$70.$$click = () => queryClient.invalidateQueries(activeQuery());
|
|
3812
|
+
_el$72.$$click = () => queryClient.resetQueries(activeQuery());
|
|
3813
|
+
_el$74.$$click = () => {
|
|
3814
|
+
queryClient.removeQueries(activeQuery());
|
|
3815
|
+
setSelectedQueryHash(null);
|
|
3816
|
+
};
|
|
3817
|
+
_el$76.$$click = () => {
|
|
4883
3818
|
if (activeQuery()?.state.data === void 0) {
|
|
4884
3819
|
setRestoringLoading(true);
|
|
4885
3820
|
restoreQueryAfterLoadingOrError();
|
|
@@ -4907,79 +3842,79 @@ var QueryDetails = () => {
|
|
|
4907
3842
|
});
|
|
4908
3843
|
}
|
|
4909
3844
|
};
|
|
4910
|
-
insert(_el$
|
|
4911
|
-
insert(_el$
|
|
3845
|
+
insert(_el$76, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$78);
|
|
3846
|
+
insert(_el$67, createComponent(Show, {
|
|
4912
3847
|
get when() {
|
|
4913
3848
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
4914
3849
|
},
|
|
4915
3850
|
get children() {
|
|
4916
|
-
const _el$
|
|
4917
|
-
_el$
|
|
3851
|
+
const _el$79 = _tmpl$132(), _el$80 = _el$79.firstChild, _el$81 = _el$80.nextSibling;
|
|
3852
|
+
_el$79.$$click = () => {
|
|
4918
3853
|
if (!activeQuery().state.error) {
|
|
4919
3854
|
triggerError();
|
|
4920
3855
|
} else {
|
|
4921
3856
|
queryClient.resetQueries(activeQuery());
|
|
4922
3857
|
}
|
|
4923
3858
|
};
|
|
4924
|
-
insert(_el$
|
|
3859
|
+
insert(_el$79, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$81);
|
|
4925
3860
|
createRenderEffect((_p$) => {
|
|
4926
|
-
const _v$
|
|
4927
|
-
|
|
4928
|
-
|
|
3861
|
+
const _v$33 = clsx(u`
|
|
3862
|
+
color: ${tokens.colors.red[400]};
|
|
3863
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$34 = queryStatus() === "pending", _v$35 = u`
|
|
4929
3864
|
background-color: ${tokens.colors.red[400]};
|
|
4930
3865
|
`;
|
|
4931
|
-
_v$
|
|
4932
|
-
_v$
|
|
4933
|
-
_v$
|
|
3866
|
+
_v$33 !== _p$._v$33 && className(_el$79, _p$._v$33 = _v$33);
|
|
3867
|
+
_v$34 !== _p$._v$34 && (_el$79.disabled = _p$._v$34 = _v$34);
|
|
3868
|
+
_v$35 !== _p$._v$35 && className(_el$80, _p$._v$35 = _v$35);
|
|
4934
3869
|
return _p$;
|
|
4935
3870
|
}, {
|
|
4936
|
-
_v$32: void 0,
|
|
4937
3871
|
_v$33: void 0,
|
|
4938
|
-
_v$34: void 0
|
|
3872
|
+
_v$34: void 0,
|
|
3873
|
+
_v$35: void 0
|
|
4939
3874
|
});
|
|
4940
|
-
return _el$
|
|
3875
|
+
return _el$79;
|
|
4941
3876
|
}
|
|
4942
3877
|
}), null);
|
|
4943
|
-
insert(_el$
|
|
3878
|
+
insert(_el$67, createComponent(Show, {
|
|
4944
3879
|
get when() {
|
|
4945
3880
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
4946
3881
|
},
|
|
4947
3882
|
get children() {
|
|
4948
|
-
const _el$
|
|
4949
|
-
_el$
|
|
4950
|
-
const errorType = errorTypes().find((
|
|
3883
|
+
const _el$82 = _tmpl$142(), _el$83 = _el$82.firstChild, _el$84 = _el$83.nextSibling, _el$85 = _el$84.nextSibling; _el$85.firstChild;
|
|
3884
|
+
_el$85.addEventListener("change", (e2) => {
|
|
3885
|
+
const errorType = errorTypes().find((t2) => t2.name === e2.currentTarget.value);
|
|
4951
3886
|
triggerError(errorType);
|
|
4952
3887
|
});
|
|
4953
|
-
insert(_el$
|
|
3888
|
+
insert(_el$85, createComponent(For, {
|
|
4954
3889
|
get each() {
|
|
4955
3890
|
return errorTypes();
|
|
4956
3891
|
},
|
|
4957
3892
|
children: (errorType) => (() => {
|
|
4958
|
-
const _el$
|
|
4959
|
-
insert(_el$
|
|
4960
|
-
createRenderEffect(() => _el$
|
|
4961
|
-
return _el$
|
|
3893
|
+
const _el$91 = _tmpl$16();
|
|
3894
|
+
insert(_el$91, () => errorType.name);
|
|
3895
|
+
createRenderEffect(() => _el$91.value = errorType.name);
|
|
3896
|
+
return _el$91;
|
|
4962
3897
|
})()
|
|
4963
3898
|
}), null);
|
|
4964
|
-
insert(_el$
|
|
3899
|
+
insert(_el$82, createComponent(ChevronDown, {}), null);
|
|
4965
3900
|
createRenderEffect((_p$) => {
|
|
4966
|
-
const _v$
|
|
3901
|
+
const _v$36 = clsx(styles.actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$37 = u`
|
|
4967
3902
|
background-color: ${tokens.colors.red[400]};
|
|
4968
|
-
`, _v$
|
|
4969
|
-
_v$
|
|
4970
|
-
_v$
|
|
4971
|
-
_v$
|
|
3903
|
+
`, _v$38 = queryStatus() === "pending";
|
|
3904
|
+
_v$36 !== _p$._v$36 && className(_el$82, _p$._v$36 = _v$36);
|
|
3905
|
+
_v$37 !== _p$._v$37 && className(_el$83, _p$._v$37 = _v$37);
|
|
3906
|
+
_v$38 !== _p$._v$38 && (_el$85.disabled = _p$._v$38 = _v$38);
|
|
4972
3907
|
return _p$;
|
|
4973
3908
|
}, {
|
|
4974
|
-
_v$35: void 0,
|
|
4975
3909
|
_v$36: void 0,
|
|
4976
|
-
_v$37: void 0
|
|
3910
|
+
_v$37: void 0,
|
|
3911
|
+
_v$38: void 0
|
|
4977
3912
|
});
|
|
4978
|
-
return _el$
|
|
3913
|
+
return _el$82;
|
|
4979
3914
|
}
|
|
4980
3915
|
}), null);
|
|
4981
|
-
_el$
|
|
4982
|
-
insert(_el$
|
|
3916
|
+
_el$88.style.setProperty("padding", "0.5rem");
|
|
3917
|
+
insert(_el$88, createComponent(Explorer, {
|
|
4983
3918
|
label: "Data",
|
|
4984
3919
|
defaultExpanded: ["Data"],
|
|
4985
3920
|
get value() {
|
|
@@ -4987,8 +3922,8 @@ var QueryDetails = () => {
|
|
|
4987
3922
|
},
|
|
4988
3923
|
copyable: true
|
|
4989
3924
|
}));
|
|
4990
|
-
_el$
|
|
4991
|
-
insert(_el$
|
|
3925
|
+
_el$90.style.setProperty("padding", "0.5rem");
|
|
3926
|
+
insert(_el$90, createComponent(Explorer, {
|
|
4992
3927
|
label: "Query",
|
|
4993
3928
|
defaultExpanded: ["Query", "queryKey"],
|
|
4994
3929
|
get value() {
|
|
@@ -4996,54 +3931,60 @@ var QueryDetails = () => {
|
|
|
4996
3931
|
}
|
|
4997
3932
|
}));
|
|
4998
3933
|
createRenderEffect((_p$) => {
|
|
4999
|
-
const _v$
|
|
3934
|
+
const _v$39 = clsx(styles.detailsContainer, "tsqd-query-details-container"), _v$40 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$41 = clsx(styles.detailsBody, "tsqd-query-details-summary-container"), _v$42 = clsx(styles.queryDetailsStatus, color() === "gray" ? u`
|
|
5000
3935
|
background-color: ${tokens.colors[color()][700]};
|
|
5001
3936
|
color: ${tokens.colors[color()][300]};
|
|
5002
3937
|
border-color: ${tokens.colors[color()][600]};
|
|
5003
|
-
` :
|
|
3938
|
+
` : u`
|
|
5004
3939
|
background-color: ${tokens.colors[color()][900]};
|
|
5005
3940
|
color: ${tokens.colors[color()][300]};
|
|
5006
3941
|
border-color: ${tokens.colors[color()][600]};
|
|
5007
|
-
`), _v$
|
|
5008
|
-
|
|
5009
|
-
|
|
3942
|
+
`), _v$43 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$44 = clsx(styles.actionsBody, "tsqd-query-details-actions-container"), _v$45 = clsx(u`
|
|
3943
|
+
color: ${tokens.colors.blue[400]};
|
|
3944
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$46 = statusLabel() === "fetching", _v$47 = u`
|
|
5010
3945
|
background-color: ${tokens.colors.blue[400]};
|
|
5011
|
-
`, _v$
|
|
5012
|
-
|
|
5013
|
-
|
|
3946
|
+
`, _v$48 = clsx(u`
|
|
3947
|
+
color: ${tokens.colors.yellow[400]};
|
|
3948
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$49 = queryStatus() === "pending", _v$50 = u`
|
|
5014
3949
|
background-color: ${tokens.colors.yellow[400]};
|
|
5015
|
-
`, _v$
|
|
5016
|
-
|
|
5017
|
-
|
|
3950
|
+
`, _v$51 = clsx(u`
|
|
3951
|
+
color: ${tokens.colors.gray[300]};
|
|
3952
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$52 = queryStatus() === "pending", _v$53 = u`
|
|
5018
3953
|
background-color: ${tokens.colors.gray[400]};
|
|
5019
|
-
`, _v$
|
|
5020
|
-
|
|
5021
|
-
|
|
3954
|
+
`, _v$54 = clsx(u`
|
|
3955
|
+
color: ${tokens.colors.pink[400]};
|
|
3956
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$55 = statusLabel() === "fetching", _v$56 = u`
|
|
3957
|
+
background-color: ${tokens.colors.pink[400]};
|
|
3958
|
+
`, _v$57 = clsx(u`
|
|
3959
|
+
color: ${tokens.colors.cyan[400]};
|
|
3960
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$58 = restoringLoading(), _v$59 = u`
|
|
5022
3961
|
background-color: ${tokens.colors.cyan[400]};
|
|
5023
|
-
`, _v$
|
|
5024
|
-
_v$38 !== _p$._v$38 && className(_el$52, _p$._v$38 = _v$38);
|
|
3962
|
+
`, _v$60 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$61 = clsx(styles.detailsHeader, "tsqd-query-details-header");
|
|
5025
3963
|
_v$39 !== _p$._v$39 && className(_el$53, _p$._v$39 = _v$39);
|
|
5026
3964
|
_v$40 !== _p$._v$40 && className(_el$54, _p$._v$40 = _v$40);
|
|
5027
|
-
_v$41 !== _p$._v$41 && className(_el$
|
|
5028
|
-
_v$42 !== _p$._v$42 && className(_el$
|
|
3965
|
+
_v$41 !== _p$._v$41 && className(_el$55, _p$._v$41 = _v$41);
|
|
3966
|
+
_v$42 !== _p$._v$42 && className(_el$59, _p$._v$42 = _v$42);
|
|
5029
3967
|
_v$43 !== _p$._v$43 && className(_el$66, _p$._v$43 = _v$43);
|
|
5030
3968
|
_v$44 !== _p$._v$44 && className(_el$67, _p$._v$44 = _v$44);
|
|
5031
|
-
_v$45 !== _p$._v$45 && (_el$
|
|
5032
|
-
_v$46 !== _p$._v$46 &&
|
|
3969
|
+
_v$45 !== _p$._v$45 && className(_el$68, _p$._v$45 = _v$45);
|
|
3970
|
+
_v$46 !== _p$._v$46 && (_el$68.disabled = _p$._v$46 = _v$46);
|
|
5033
3971
|
_v$47 !== _p$._v$47 && className(_el$69, _p$._v$47 = _v$47);
|
|
5034
|
-
_v$48 !== _p$._v$48 && (_el$
|
|
5035
|
-
_v$49 !== _p$._v$49 &&
|
|
3972
|
+
_v$48 !== _p$._v$48 && className(_el$70, _p$._v$48 = _v$48);
|
|
3973
|
+
_v$49 !== _p$._v$49 && (_el$70.disabled = _p$._v$49 = _v$49);
|
|
5036
3974
|
_v$50 !== _p$._v$50 && className(_el$71, _p$._v$50 = _v$50);
|
|
5037
|
-
_v$51 !== _p$._v$51 && (_el$
|
|
5038
|
-
_v$52 !== _p$._v$52 &&
|
|
3975
|
+
_v$51 !== _p$._v$51 && className(_el$72, _p$._v$51 = _v$51);
|
|
3976
|
+
_v$52 !== _p$._v$52 && (_el$72.disabled = _p$._v$52 = _v$52);
|
|
5039
3977
|
_v$53 !== _p$._v$53 && className(_el$73, _p$._v$53 = _v$53);
|
|
5040
|
-
_v$54 !== _p$._v$54 && (_el$
|
|
5041
|
-
_v$55 !== _p$._v$55 &&
|
|
5042
|
-
_v$56 !== _p$._v$56 && className(_el$
|
|
5043
|
-
_v$57 !== _p$._v$57 && className(_el$
|
|
3978
|
+
_v$54 !== _p$._v$54 && className(_el$74, _p$._v$54 = _v$54);
|
|
3979
|
+
_v$55 !== _p$._v$55 && (_el$74.disabled = _p$._v$55 = _v$55);
|
|
3980
|
+
_v$56 !== _p$._v$56 && className(_el$75, _p$._v$56 = _v$56);
|
|
3981
|
+
_v$57 !== _p$._v$57 && className(_el$76, _p$._v$57 = _v$57);
|
|
3982
|
+
_v$58 !== _p$._v$58 && (_el$76.disabled = _p$._v$58 = _v$58);
|
|
3983
|
+
_v$59 !== _p$._v$59 && className(_el$77, _p$._v$59 = _v$59);
|
|
3984
|
+
_v$60 !== _p$._v$60 && className(_el$87, _p$._v$60 = _v$60);
|
|
3985
|
+
_v$61 !== _p$._v$61 && className(_el$89, _p$._v$61 = _v$61);
|
|
5044
3986
|
return _p$;
|
|
5045
3987
|
}, {
|
|
5046
|
-
_v$38: void 0,
|
|
5047
3988
|
_v$39: void 0,
|
|
5048
3989
|
_v$40: void 0,
|
|
5049
3990
|
_v$41: void 0,
|
|
@@ -5062,9 +4003,13 @@ var QueryDetails = () => {
|
|
|
5062
4003
|
_v$54: void 0,
|
|
5063
4004
|
_v$55: void 0,
|
|
5064
4005
|
_v$56: void 0,
|
|
5065
|
-
_v$57: void 0
|
|
4006
|
+
_v$57: void 0,
|
|
4007
|
+
_v$58: void 0,
|
|
4008
|
+
_v$59: void 0,
|
|
4009
|
+
_v$60: void 0,
|
|
4010
|
+
_v$61: void 0
|
|
5066
4011
|
});
|
|
5067
|
-
return _el$
|
|
4012
|
+
return _el$53;
|
|
5068
4013
|
}
|
|
5069
4014
|
});
|
|
5070
4015
|
};
|
|
@@ -5114,10 +4059,11 @@ var getStyles2 = () => {
|
|
|
5114
4059
|
border
|
|
5115
4060
|
} = tokens;
|
|
5116
4061
|
return {
|
|
5117
|
-
devtoolsBtn:
|
|
4062
|
+
devtoolsBtn: u`
|
|
5118
4063
|
z-index: 100000;
|
|
5119
4064
|
position: fixed;
|
|
5120
4065
|
padding: 4px;
|
|
4066
|
+
text-align: left;
|
|
5121
4067
|
|
|
5122
4068
|
display: flex;
|
|
5123
4069
|
align-items: center;
|
|
@@ -5167,7 +4113,7 @@ var getStyles2 = () => {
|
|
|
5167
4113
|
}
|
|
5168
4114
|
}
|
|
5169
4115
|
`,
|
|
5170
|
-
panel:
|
|
4116
|
+
panel: u`
|
|
5171
4117
|
position: fixed;
|
|
5172
4118
|
z-index: 9999;
|
|
5173
4119
|
display: flex;
|
|
@@ -5179,23 +4125,23 @@ var getStyles2 = () => {
|
|
|
5179
4125
|
text-transform: none;
|
|
5180
4126
|
}
|
|
5181
4127
|
`,
|
|
5182
|
-
"devtoolsBtn-position-bottom-right":
|
|
4128
|
+
"devtoolsBtn-position-bottom-right": u`
|
|
5183
4129
|
bottom: 12px;
|
|
5184
4130
|
right: 12px;
|
|
5185
4131
|
`,
|
|
5186
|
-
"devtoolsBtn-position-bottom-left":
|
|
4132
|
+
"devtoolsBtn-position-bottom-left": u`
|
|
5187
4133
|
bottom: 12px;
|
|
5188
4134
|
left: 12px;
|
|
5189
4135
|
`,
|
|
5190
|
-
"devtoolsBtn-position-top-left":
|
|
4136
|
+
"devtoolsBtn-position-top-left": u`
|
|
5191
4137
|
top: 12px;
|
|
5192
4138
|
left: 12px;
|
|
5193
4139
|
`,
|
|
5194
|
-
"devtoolsBtn-position-top-right":
|
|
4140
|
+
"devtoolsBtn-position-top-right": u`
|
|
5195
4141
|
top: 12px;
|
|
5196
4142
|
right: 12px;
|
|
5197
4143
|
`,
|
|
5198
|
-
"panel-position-top":
|
|
4144
|
+
"panel-position-top": u`
|
|
5199
4145
|
top: 0;
|
|
5200
4146
|
right: 0;
|
|
5201
4147
|
left: 0;
|
|
@@ -5203,7 +4149,7 @@ var getStyles2 = () => {
|
|
|
5203
4149
|
min-height: 3.5rem;
|
|
5204
4150
|
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
5205
4151
|
`,
|
|
5206
|
-
"panel-position-bottom":
|
|
4152
|
+
"panel-position-bottom": u`
|
|
5207
4153
|
bottom: 0;
|
|
5208
4154
|
right: 0;
|
|
5209
4155
|
left: 0;
|
|
@@ -5211,21 +4157,21 @@ var getStyles2 = () => {
|
|
|
5211
4157
|
min-height: 3.5rem;
|
|
5212
4158
|
border-top: ${colors.darkGray[300]} 1px solid;
|
|
5213
4159
|
`,
|
|
5214
|
-
"panel-position-right":
|
|
4160
|
+
"panel-position-right": u`
|
|
5215
4161
|
bottom: 0;
|
|
5216
4162
|
right: 0;
|
|
5217
4163
|
top: 0;
|
|
5218
4164
|
border-left: ${colors.darkGray[300]} 1px solid;
|
|
5219
4165
|
max-width: 90%;
|
|
5220
4166
|
`,
|
|
5221
|
-
"panel-position-left":
|
|
4167
|
+
"panel-position-left": u`
|
|
5222
4168
|
bottom: 0;
|
|
5223
4169
|
left: 0;
|
|
5224
4170
|
top: 0;
|
|
5225
4171
|
border-right: ${colors.darkGray[300]} 1px solid;
|
|
5226
4172
|
max-width: 90%;
|
|
5227
4173
|
`,
|
|
5228
|
-
closeBtn:
|
|
4174
|
+
closeBtn: u`
|
|
5229
4175
|
position: absolute;
|
|
5230
4176
|
cursor: pointer;
|
|
5231
4177
|
z-index: 5;
|
|
@@ -5240,7 +4186,7 @@ var getStyles2 = () => {
|
|
|
5240
4186
|
outline: 2px solid ${colors.blue[600]};
|
|
5241
4187
|
}
|
|
5242
4188
|
`,
|
|
5243
|
-
"closeBtn-position-top":
|
|
4189
|
+
"closeBtn-position-top": u`
|
|
5244
4190
|
bottom: 0;
|
|
5245
4191
|
right: ${size[3]};
|
|
5246
4192
|
transform: translate(0, 100%);
|
|
@@ -5265,7 +4211,7 @@ var getStyles2 = () => {
|
|
|
5265
4211
|
transform: rotate(180deg);
|
|
5266
4212
|
}
|
|
5267
4213
|
`,
|
|
5268
|
-
"closeBtn-position-bottom":
|
|
4214
|
+
"closeBtn-position-bottom": u`
|
|
5269
4215
|
top: 0;
|
|
5270
4216
|
right: ${size[3]};
|
|
5271
4217
|
transform: translate(0, -100%);
|
|
@@ -5286,7 +4232,7 @@ var getStyles2 = () => {
|
|
|
5286
4232
|
width: calc(100% + ${size[5]});
|
|
5287
4233
|
}
|
|
5288
4234
|
`,
|
|
5289
|
-
"closeBtn-position-right":
|
|
4235
|
+
"closeBtn-position-right": u`
|
|
5290
4236
|
bottom: ${size[3]};
|
|
5291
4237
|
left: 0;
|
|
5292
4238
|
transform: translate(-100%, 0);
|
|
@@ -5310,7 +4256,7 @@ var getStyles2 = () => {
|
|
|
5310
4256
|
transform: rotate(-90deg);
|
|
5311
4257
|
}
|
|
5312
4258
|
`,
|
|
5313
|
-
"closeBtn-position-left":
|
|
4259
|
+
"closeBtn-position-left": u`
|
|
5314
4260
|
bottom: ${size[3]};
|
|
5315
4261
|
right: 0;
|
|
5316
4262
|
transform: translate(100%, 0);
|
|
@@ -5334,13 +4280,13 @@ var getStyles2 = () => {
|
|
|
5334
4280
|
transform: rotate(90deg);
|
|
5335
4281
|
}
|
|
5336
4282
|
`,
|
|
5337
|
-
queriesContainer:
|
|
4283
|
+
queriesContainer: u`
|
|
5338
4284
|
flex: 1 1 700px;
|
|
5339
4285
|
background-color: ${colors.darkGray[700]};
|
|
5340
4286
|
display: flex;
|
|
5341
4287
|
flex-direction: column;
|
|
5342
4288
|
`,
|
|
5343
|
-
dragHandle:
|
|
4289
|
+
dragHandle: u`
|
|
5344
4290
|
position: absolute;
|
|
5345
4291
|
transition: background-color 0.125s ease;
|
|
5346
4292
|
&:hover {
|
|
@@ -5348,31 +4294,31 @@ var getStyles2 = () => {
|
|
|
5348
4294
|
}
|
|
5349
4295
|
z-index: 4;
|
|
5350
4296
|
`,
|
|
5351
|
-
"dragHandle-position-top":
|
|
4297
|
+
"dragHandle-position-top": u`
|
|
5352
4298
|
bottom: 0;
|
|
5353
4299
|
width: 100%;
|
|
5354
4300
|
height: ${tokens.size[1]};
|
|
5355
4301
|
cursor: ns-resize;
|
|
5356
4302
|
`,
|
|
5357
|
-
"dragHandle-position-bottom":
|
|
4303
|
+
"dragHandle-position-bottom": u`
|
|
5358
4304
|
top: 0;
|
|
5359
4305
|
width: 100%;
|
|
5360
4306
|
height: ${tokens.size[1]};
|
|
5361
4307
|
cursor: ns-resize;
|
|
5362
4308
|
`,
|
|
5363
|
-
"dragHandle-position-right":
|
|
4309
|
+
"dragHandle-position-right": u`
|
|
5364
4310
|
left: 0;
|
|
5365
4311
|
width: ${tokens.size[1]};
|
|
5366
4312
|
height: 100%;
|
|
5367
4313
|
cursor: ew-resize;
|
|
5368
4314
|
`,
|
|
5369
|
-
"dragHandle-position-left":
|
|
4315
|
+
"dragHandle-position-left": u`
|
|
5370
4316
|
right: 0;
|
|
5371
4317
|
width: ${tokens.size[1]};
|
|
5372
4318
|
height: 100%;
|
|
5373
4319
|
cursor: ew-resize;
|
|
5374
4320
|
`,
|
|
5375
|
-
row:
|
|
4321
|
+
row: u`
|
|
5376
4322
|
display: flex;
|
|
5377
4323
|
justify-content: space-between;
|
|
5378
4324
|
padding: ${tokens.size[2.5]} ${tokens.size[3]};
|
|
@@ -5387,7 +4333,7 @@ var getStyles2 = () => {
|
|
|
5387
4333
|
flex-direction: column;
|
|
5388
4334
|
}
|
|
5389
4335
|
`,
|
|
5390
|
-
logo:
|
|
4336
|
+
logo: u`
|
|
5391
4337
|
cursor: pointer;
|
|
5392
4338
|
&:hover {
|
|
5393
4339
|
opacity: 0.7;
|
|
@@ -5398,27 +4344,28 @@ var getStyles2 = () => {
|
|
|
5398
4344
|
outline: 2px solid ${colors.blue[800]};
|
|
5399
4345
|
}
|
|
5400
4346
|
`,
|
|
5401
|
-
tanstackLogo:
|
|
4347
|
+
tanstackLogo: u`
|
|
5402
4348
|
font-size: ${font.size.lg};
|
|
5403
4349
|
font-weight: ${font.weight.extrabold};
|
|
5404
4350
|
line-height: ${font.lineHeight.sm};
|
|
5405
4351
|
white-space: nowrap;
|
|
5406
4352
|
`,
|
|
5407
|
-
queryFlavorLogo:
|
|
4353
|
+
queryFlavorLogo: u`
|
|
5408
4354
|
font-weight: ${font.weight.semibold};
|
|
5409
4355
|
font-size: ${font.size.sm};
|
|
5410
4356
|
background: linear-gradient(to right, #dd524b, #e9a03b);
|
|
5411
4357
|
background-clip: text;
|
|
4358
|
+
-webkit-background-clip: text;
|
|
5412
4359
|
line-height: ${font.lineHeight.xs};
|
|
5413
4360
|
-webkit-text-fill-color: transparent;
|
|
5414
4361
|
white-space: nowrap;
|
|
5415
4362
|
`,
|
|
5416
|
-
queryStatusContainer:
|
|
4363
|
+
queryStatusContainer: u`
|
|
5417
4364
|
display: flex;
|
|
5418
4365
|
gap: ${tokens.size[2]};
|
|
5419
4366
|
height: min-content;
|
|
5420
4367
|
`,
|
|
5421
|
-
queryStatusTag:
|
|
4368
|
+
queryStatusTag: u`
|
|
5422
4369
|
display: flex;
|
|
5423
4370
|
gap: ${tokens.size[1.5]};
|
|
5424
4371
|
background: ${colors.darkGray[500]};
|
|
@@ -5436,11 +4383,8 @@ var getStyles2 = () => {
|
|
|
5436
4383
|
outline-offset: 2px;
|
|
5437
4384
|
outline: 2px solid ${colors.blue[800]};
|
|
5438
4385
|
}
|
|
5439
|
-
& span:nth-child(2) {
|
|
5440
|
-
color: ${colors.gray[300]}${alpha[80]};
|
|
5441
|
-
}
|
|
5442
4386
|
`,
|
|
5443
|
-
statusTooltip:
|
|
4387
|
+
statusTooltip: u`
|
|
5444
4388
|
position: absolute;
|
|
5445
4389
|
z-index: 1;
|
|
5446
4390
|
background-color: ${colors.darkGray[500]};
|
|
@@ -5479,10 +4423,10 @@ var getStyles2 = () => {
|
|
|
5479
4423
|
border-width: 7px;
|
|
5480
4424
|
}
|
|
5481
4425
|
`,
|
|
5482
|
-
selectedQueryRow:
|
|
4426
|
+
selectedQueryRow: u`
|
|
5483
4427
|
background-color: ${colors.darkGray[500]};
|
|
5484
4428
|
`,
|
|
5485
|
-
queryStatusCount:
|
|
4429
|
+
queryStatusCount: u`
|
|
5486
4430
|
padding: 0 8px;
|
|
5487
4431
|
display: flex;
|
|
5488
4432
|
align-items: center;
|
|
@@ -5492,7 +4436,7 @@ var getStyles2 = () => {
|
|
|
5492
4436
|
border-radius: 3px;
|
|
5493
4437
|
font-variant-numeric: tabular-nums;
|
|
5494
4438
|
`,
|
|
5495
|
-
filtersContainer:
|
|
4439
|
+
filtersContainer: u`
|
|
5496
4440
|
display: flex;
|
|
5497
4441
|
gap: ${tokens.size[2.5]};
|
|
5498
4442
|
& > button {
|
|
@@ -5515,7 +4459,7 @@ var getStyles2 = () => {
|
|
|
5515
4459
|
}
|
|
5516
4460
|
}
|
|
5517
4461
|
`,
|
|
5518
|
-
filterInput:
|
|
4462
|
+
filterInput: u`
|
|
5519
4463
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
5520
4464
|
border-radius: ${tokens.border.radius.md};
|
|
5521
4465
|
background-color: ${colors.darkGray[400]};
|
|
@@ -5553,7 +4497,7 @@ var getStyles2 = () => {
|
|
|
5553
4497
|
outline: 2px solid ${colors.blue[800]};
|
|
5554
4498
|
}
|
|
5555
4499
|
`,
|
|
5556
|
-
filterSelect:
|
|
4500
|
+
filterSelect: u`
|
|
5557
4501
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
5558
4502
|
border-radius: ${tokens.border.radius.md};
|
|
5559
4503
|
background-color: ${colors.darkGray[400]};
|
|
@@ -5585,15 +4529,15 @@ var getStyles2 = () => {
|
|
|
5585
4529
|
outline: 2px solid ${colors.blue[800]};
|
|
5586
4530
|
}
|
|
5587
4531
|
`,
|
|
5588
|
-
actionsContainer:
|
|
4532
|
+
actionsContainer: u`
|
|
5589
4533
|
display: flex;
|
|
5590
4534
|
gap: ${tokens.size[2.5]};
|
|
5591
4535
|
`,
|
|
5592
|
-
actionsBtn:
|
|
4536
|
+
actionsBtn: u`
|
|
5593
4537
|
border-radius: ${tokens.border.radius.md};
|
|
5594
4538
|
background-color: ${colors.darkGray[400]};
|
|
5595
|
-
width: 2.125rem;
|
|
5596
|
-
height: 2.125rem;
|
|
4539
|
+
width: 2.125rem;
|
|
4540
|
+
height: 2.125rem;
|
|
5597
4541
|
justify-content: center;
|
|
5598
4542
|
display: flex;
|
|
5599
4543
|
align-items: center;
|
|
@@ -5615,7 +4559,7 @@ var getStyles2 = () => {
|
|
|
5615
4559
|
outline: 2px solid ${colors.blue[800]};
|
|
5616
4560
|
}
|
|
5617
4561
|
`,
|
|
5618
|
-
overflowQueryContainer:
|
|
4562
|
+
overflowQueryContainer: u`
|
|
5619
4563
|
flex: 1;
|
|
5620
4564
|
overflow-y: auto;
|
|
5621
4565
|
& > div {
|
|
@@ -5623,27 +4567,30 @@ var getStyles2 = () => {
|
|
|
5623
4567
|
flex-direction: column;
|
|
5624
4568
|
}
|
|
5625
4569
|
`,
|
|
5626
|
-
queryRow:
|
|
4570
|
+
queryRow: u`
|
|
5627
4571
|
display: flex;
|
|
5628
4572
|
align-items: center;
|
|
5629
4573
|
padding: 0;
|
|
5630
4574
|
background-color: inherit;
|
|
5631
4575
|
border: none;
|
|
5632
4576
|
cursor: pointer;
|
|
4577
|
+
&:focus {
|
|
4578
|
+
outline: none;
|
|
4579
|
+
}
|
|
5633
4580
|
&:focus-visible {
|
|
5634
4581
|
outline-offset: -2px;
|
|
5635
4582
|
border-radius: ${border.radius.xs};
|
|
5636
4583
|
outline: 2px solid ${colors.blue[800]};
|
|
5637
4584
|
}
|
|
5638
|
-
&:hover .
|
|
4585
|
+
&:hover .tsqd-query-hash {
|
|
5639
4586
|
background-color: ${colors.darkGray[600]};
|
|
5640
4587
|
}
|
|
5641
4588
|
|
|
5642
|
-
& .
|
|
4589
|
+
& .tsqd-query-observer-count {
|
|
5643
4590
|
padding: 0 ${tokens.size[1]};
|
|
5644
4591
|
user-select: none;
|
|
5645
4592
|
min-width: ${tokens.size[8]};
|
|
5646
|
-
align-self: stretch
|
|
4593
|
+
align-self: stretch;
|
|
5647
4594
|
display: flex;
|
|
5648
4595
|
align-items: center;
|
|
5649
4596
|
justify-content: center;
|
|
@@ -5651,7 +4598,7 @@ var getStyles2 = () => {
|
|
|
5651
4598
|
font-weight: ${font.weight.medium};
|
|
5652
4599
|
border-bottom: 1px solid ${colors.darkGray[700]};
|
|
5653
4600
|
}
|
|
5654
|
-
& .
|
|
4601
|
+
& .tsqd-query-hash {
|
|
5655
4602
|
user-select: text;
|
|
5656
4603
|
font-size: ${font.size.sm};
|
|
5657
4604
|
display: flex;
|
|
@@ -5659,16 +4606,15 @@ var getStyles2 = () => {
|
|
|
5659
4606
|
min-height: ${tokens.size[8]};
|
|
5660
4607
|
flex: 1;
|
|
5661
4608
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
5662
|
-
font-family: 'Menlo', 'Fira Code', monospace
|
|
4609
|
+
font-family: 'Menlo', 'Fira Code', monospace;
|
|
5663
4610
|
border-bottom: 1px solid ${colors.darkGray[400]};
|
|
5664
4611
|
text-align: left;
|
|
5665
4612
|
text-overflow: clip;
|
|
5666
4613
|
word-break: break-word;
|
|
5667
4614
|
}
|
|
5668
4615
|
|
|
5669
|
-
& .
|
|
4616
|
+
& .tsqd-query-disabled-indicator {
|
|
5670
4617
|
align-self: stretch;
|
|
5671
|
-
align-self: stretch !important;
|
|
5672
4618
|
display: flex;
|
|
5673
4619
|
align-items: center;
|
|
5674
4620
|
padding: 0 ${tokens.size[3]};
|
|
@@ -5678,15 +4624,16 @@ var getStyles2 = () => {
|
|
|
5678
4624
|
font-size: ${font.size.sm};
|
|
5679
4625
|
}
|
|
5680
4626
|
`,
|
|
5681
|
-
detailsContainer:
|
|
4627
|
+
detailsContainer: u`
|
|
5682
4628
|
flex: 1 1 700px;
|
|
5683
4629
|
background-color: ${colors.darkGray[700]};
|
|
5684
4630
|
display: flex;
|
|
5685
4631
|
flex-direction: column;
|
|
5686
4632
|
overflow-y: auto;
|
|
5687
4633
|
display: flex;
|
|
4634
|
+
text-align: left;
|
|
5688
4635
|
`,
|
|
5689
|
-
detailsHeader:
|
|
4636
|
+
detailsHeader: u`
|
|
5690
4637
|
position: sticky;
|
|
5691
4638
|
top: 0;
|
|
5692
4639
|
z-index: 2;
|
|
@@ -5694,8 +4641,9 @@ var getStyles2 = () => {
|
|
|
5694
4641
|
padding: ${tokens.size[2]} ${tokens.size[2]};
|
|
5695
4642
|
font-weight: ${font.weight.medium};
|
|
5696
4643
|
font-size: ${font.size.sm};
|
|
4644
|
+
text-align: left;
|
|
5697
4645
|
`,
|
|
5698
|
-
detailsBody:
|
|
4646
|
+
detailsBody: u`
|
|
5699
4647
|
margin: ${tokens.size[2]} 0px ${tokens.size[3]} 0px;
|
|
5700
4648
|
& > div {
|
|
5701
4649
|
display: flex;
|
|
@@ -5716,19 +4664,19 @@ var getStyles2 = () => {
|
|
|
5716
4664
|
}
|
|
5717
4665
|
|
|
5718
4666
|
& code {
|
|
5719
|
-
font-family: 'Menlo', 'Fira Code', monospace
|
|
4667
|
+
font-family: 'Menlo', 'Fira Code', monospace;
|
|
5720
4668
|
margin: 0;
|
|
5721
4669
|
font-size: ${font.size.sm};
|
|
5722
4670
|
line-height: ${font.lineHeight.sm};
|
|
5723
4671
|
}
|
|
5724
4672
|
`,
|
|
5725
|
-
queryDetailsStatus:
|
|
4673
|
+
queryDetailsStatus: u`
|
|
5726
4674
|
border: 1px solid ${colors.darkGray[200]};
|
|
5727
4675
|
border-radius: ${tokens.border.radius.md};
|
|
5728
4676
|
font-weight: ${font.weight.medium};
|
|
5729
4677
|
padding: ${tokens.size[1]} ${tokens.size[2.5]};
|
|
5730
4678
|
`,
|
|
5731
|
-
actionsBody:
|
|
4679
|
+
actionsBody: u`
|
|
5732
4680
|
flex-wrap: wrap;
|
|
5733
4681
|
margin: ${tokens.size[3]} 0px ${tokens.size[3]} 0px;
|
|
5734
4682
|
display: flex;
|
|
@@ -5767,7 +4715,7 @@ var getStyles2 = () => {
|
|
|
5767
4715
|
}
|
|
5768
4716
|
}
|
|
5769
4717
|
`,
|
|
5770
|
-
actionsSelect:
|
|
4718
|
+
actionsSelect: u`
|
|
5771
4719
|
font-size: ${font.size.sm};
|
|
5772
4720
|
padding: ${tokens.size[2]} ${tokens.size[2]};
|
|
5773
4721
|
display: flex;
|
|
@@ -5809,10 +4757,10 @@ var getStyles2 = () => {
|
|
|
5809
4757
|
}
|
|
5810
4758
|
|
|
5811
4759
|
& svg path {
|
|
5812
|
-
stroke: ${tokens.colors.red[400]}
|
|
4760
|
+
stroke: ${tokens.colors.red[400]};
|
|
5813
4761
|
}
|
|
5814
4762
|
`,
|
|
5815
|
-
settingsMenu:
|
|
4763
|
+
settingsMenu: u`
|
|
5816
4764
|
position: absolute;
|
|
5817
4765
|
top: calc(100% + ${tokens.size[2]});
|
|
5818
4766
|
border-radius: ${tokens.border.radius.lg};
|
|
@@ -5824,12 +4772,12 @@ var getStyles2 = () => {
|
|
|
5824
4772
|
color: ${colors.gray[500]};
|
|
5825
4773
|
z-index: 7;
|
|
5826
4774
|
`,
|
|
5827
|
-
settingsMenuHeader:
|
|
4775
|
+
settingsMenuHeader: u`
|
|
5828
4776
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
5829
4777
|
color: ${colors.gray[300]};
|
|
5830
4778
|
font-weight: ${font.weight.medium};
|
|
5831
4779
|
`,
|
|
5832
|
-
settingsMenuSection:
|
|
4780
|
+
settingsMenuSection: u`
|
|
5833
4781
|
border-top: 1px solid ${colors.gray[600]};
|
|
5834
4782
|
display: flex;
|
|
5835
4783
|
flex-direction: column;
|