@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/QGJD3TIO.js';
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/.pnpm/@tanstack+match-sorter-utils@8.8.4/node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
4
4
|
var characterMap = {
|
|
@@ -405,8 +405,8 @@ var characterMap = {
|
|
|
405
405
|
var chars = Object.keys(characterMap).join("|");
|
|
406
406
|
var allAccents = new RegExp(chars, "g");
|
|
407
407
|
function removeAccents(str) {
|
|
408
|
-
return str.replace(allAccents, (
|
|
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,1352 +595,85 @@ function getAccessorAttributes(accessor) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// ../../node_modules/.pnpm
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
tag.setAttribute("data-emotion", options.key);
|
|
612
|
-
if (options.nonce !== void 0) {
|
|
613
|
-
tag.setAttribute("nonce", options.nonce);
|
|
614
|
-
}
|
|
615
|
-
tag.appendChild(document.createTextNode(""));
|
|
616
|
-
tag.setAttribute("data-s", "");
|
|
617
|
-
return tag;
|
|
618
|
-
}
|
|
619
|
-
var StyleSheet = /* @__PURE__ */ function() {
|
|
620
|
-
function StyleSheet2(options) {
|
|
621
|
-
var _this = this;
|
|
622
|
-
this._insertTag = function(tag) {
|
|
623
|
-
var before;
|
|
624
|
-
if (_this.tags.length === 0) {
|
|
625
|
-
if (_this.insertionPoint) {
|
|
626
|
-
before = _this.insertionPoint.nextSibling;
|
|
627
|
-
} else if (_this.prepend) {
|
|
628
|
-
before = _this.container.firstChild;
|
|
629
|
-
} else {
|
|
630
|
-
before = _this.before;
|
|
631
|
-
}
|
|
632
|
-
} else {
|
|
633
|
-
before = _this.tags[_this.tags.length - 1].nextSibling;
|
|
634
|
-
}
|
|
635
|
-
_this.container.insertBefore(tag, before);
|
|
636
|
-
_this.tags.push(tag);
|
|
637
|
-
};
|
|
638
|
-
this.isSpeedy = options.speedy === void 0 ? false : options.speedy;
|
|
639
|
-
this.tags = [];
|
|
640
|
-
this.ctr = 0;
|
|
641
|
-
this.nonce = options.nonce;
|
|
642
|
-
this.key = options.key;
|
|
643
|
-
this.container = options.container;
|
|
644
|
-
this.prepend = options.prepend;
|
|
645
|
-
this.insertionPoint = options.insertionPoint;
|
|
646
|
-
this.before = null;
|
|
647
|
-
}
|
|
648
|
-
var _proto = StyleSheet2.prototype;
|
|
649
|
-
_proto.hydrate = function hydrate2(nodes) {
|
|
650
|
-
nodes.forEach(this._insertTag);
|
|
651
|
-
};
|
|
652
|
-
_proto.insert = function insert2(rule) {
|
|
653
|
-
if (this.ctr % (this.isSpeedy ? 65e3 : 1) === 0) {
|
|
654
|
-
this._insertTag(createStyleElement(this));
|
|
655
|
-
}
|
|
656
|
-
var tag = this.tags[this.tags.length - 1];
|
|
657
|
-
{
|
|
658
|
-
var isImportRule3 = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
|
|
659
|
-
if (isImportRule3 && this._alreadyInsertedOrderInsensitiveRule) {
|
|
660
|
-
console.error("You're attempting to insert the following rule:\n" + rule + "\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.");
|
|
661
|
-
}
|
|
662
|
-
this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule3;
|
|
663
|
-
}
|
|
664
|
-
if (this.isSpeedy) {
|
|
665
|
-
var sheet2 = sheetForTag(tag);
|
|
666
|
-
try {
|
|
667
|
-
sheet2.insertRule(rule, sheet2.cssRules.length);
|
|
668
|
-
} catch (e) {
|
|
669
|
-
if (!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(rule)) {
|
|
670
|
-
console.error('There was a problem inserting the following rule: "' + rule + '"', e);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
} else {
|
|
674
|
-
tag.appendChild(document.createTextNode(rule));
|
|
675
|
-
}
|
|
676
|
-
this.ctr++;
|
|
677
|
-
};
|
|
678
|
-
_proto.flush = function flush2() {
|
|
679
|
-
this.tags.forEach(function(tag) {
|
|
680
|
-
return tag.parentNode && tag.parentNode.removeChild(tag);
|
|
681
|
-
});
|
|
682
|
-
this.tags = [];
|
|
683
|
-
this.ctr = 0;
|
|
684
|
-
{
|
|
685
|
-
this._alreadyInsertedOrderInsensitiveRule = false;
|
|
686
|
-
}
|
|
687
|
-
};
|
|
688
|
-
return StyleSheet2;
|
|
689
|
-
}();
|
|
690
|
-
|
|
691
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js
|
|
692
|
-
var MS = "-ms-";
|
|
693
|
-
var MOZ = "-moz-";
|
|
694
|
-
var WEBKIT = "-webkit-";
|
|
695
|
-
var COMMENT = "comm";
|
|
696
|
-
var RULESET = "rule";
|
|
697
|
-
var DECLARATION = "decl";
|
|
698
|
-
var IMPORT = "@import";
|
|
699
|
-
var KEYFRAMES = "@keyframes";
|
|
700
|
-
var LAYER = "@layer";
|
|
701
|
-
|
|
702
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js
|
|
703
|
-
var abs = Math.abs;
|
|
704
|
-
var from = String.fromCharCode;
|
|
705
|
-
var assign = Object.assign;
|
|
706
|
-
function hash(value, length2) {
|
|
707
|
-
return charat(value, 0) ^ 45 ? (((length2 << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3) : 0;
|
|
708
|
-
}
|
|
709
|
-
function trim(value) {
|
|
710
|
-
return value.trim();
|
|
711
|
-
}
|
|
712
|
-
function match(value, pattern) {
|
|
713
|
-
return (value = pattern.exec(value)) ? value[0] : value;
|
|
714
|
-
}
|
|
715
|
-
function replace(value, pattern, replacement) {
|
|
716
|
-
return value.replace(pattern, replacement);
|
|
717
|
-
}
|
|
718
|
-
function indexof(value, search) {
|
|
719
|
-
return value.indexOf(search);
|
|
720
|
-
}
|
|
721
|
-
function charat(value, index) {
|
|
722
|
-
return value.charCodeAt(index) | 0;
|
|
723
|
-
}
|
|
724
|
-
function substr(value, begin, end) {
|
|
725
|
-
return value.slice(begin, end);
|
|
726
|
-
}
|
|
727
|
-
function strlen(value) {
|
|
728
|
-
return value.length;
|
|
729
|
-
}
|
|
730
|
-
function sizeof(value) {
|
|
731
|
-
return value.length;
|
|
732
|
-
}
|
|
733
|
-
function append(value, array) {
|
|
734
|
-
return array.push(value), value;
|
|
735
|
-
}
|
|
736
|
-
function combine(array, callback) {
|
|
737
|
-
return array.map(callback).join("");
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js
|
|
741
|
-
var line = 1;
|
|
742
|
-
var column = 1;
|
|
743
|
-
var length = 0;
|
|
744
|
-
var position = 0;
|
|
745
|
-
var character = 0;
|
|
746
|
-
var characters = "";
|
|
747
|
-
function node(value, root, parent, type, props, children2, length2) {
|
|
748
|
-
return { value, root, parent, type, props, children: children2, line, column, length: length2, return: "" };
|
|
749
|
-
}
|
|
750
|
-
function copy(root, props) {
|
|
751
|
-
return assign(node("", null, null, "", null, null, 0), root, { length: -root.length }, props);
|
|
752
|
-
}
|
|
753
|
-
function char() {
|
|
754
|
-
return character;
|
|
755
|
-
}
|
|
756
|
-
function prev() {
|
|
757
|
-
character = position > 0 ? charat(characters, --position) : 0;
|
|
758
|
-
if (column--, character === 10)
|
|
759
|
-
column = 1, line--;
|
|
760
|
-
return character;
|
|
761
|
-
}
|
|
762
|
-
function next() {
|
|
763
|
-
character = position < length ? charat(characters, position++) : 0;
|
|
764
|
-
if (column++, character === 10)
|
|
765
|
-
column = 1, line++;
|
|
766
|
-
return character;
|
|
767
|
-
}
|
|
768
|
-
function peek() {
|
|
769
|
-
return charat(characters, position);
|
|
770
|
-
}
|
|
771
|
-
function caret() {
|
|
772
|
-
return position;
|
|
773
|
-
}
|
|
774
|
-
function slice(begin, end) {
|
|
775
|
-
return substr(characters, begin, end);
|
|
776
|
-
}
|
|
777
|
-
function token(type) {
|
|
778
|
-
switch (type) {
|
|
779
|
-
case 0:
|
|
780
|
-
case 9:
|
|
781
|
-
case 10:
|
|
782
|
-
case 13:
|
|
783
|
-
case 32:
|
|
784
|
-
return 5;
|
|
785
|
-
case 33:
|
|
786
|
-
case 43:
|
|
787
|
-
case 44:
|
|
788
|
-
case 47:
|
|
789
|
-
case 62:
|
|
790
|
-
case 64:
|
|
791
|
-
case 126:
|
|
792
|
-
case 59:
|
|
793
|
-
case 123:
|
|
794
|
-
case 125:
|
|
795
|
-
return 4;
|
|
796
|
-
case 58:
|
|
797
|
-
return 3;
|
|
798
|
-
case 34:
|
|
799
|
-
case 39:
|
|
800
|
-
case 40:
|
|
801
|
-
case 91:
|
|
802
|
-
return 2;
|
|
803
|
-
case 41:
|
|
804
|
-
case 93:
|
|
805
|
-
return 1;
|
|
806
|
-
}
|
|
807
|
-
return 0;
|
|
808
|
-
}
|
|
809
|
-
function alloc(value) {
|
|
810
|
-
return line = column = 1, length = strlen(characters = value), position = 0, [];
|
|
811
|
-
}
|
|
812
|
-
function dealloc(value) {
|
|
813
|
-
return characters = "", value;
|
|
814
|
-
}
|
|
815
|
-
function delimit(type) {
|
|
816
|
-
return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
|
|
817
|
-
}
|
|
818
|
-
function whitespace(type) {
|
|
819
|
-
while (character = peek())
|
|
820
|
-
if (character < 33)
|
|
821
|
-
next();
|
|
822
|
-
else
|
|
823
|
-
break;
|
|
824
|
-
return token(type) > 2 || token(character) > 3 ? "" : " ";
|
|
825
|
-
}
|
|
826
|
-
function escaping(index, count) {
|
|
827
|
-
while (--count && next())
|
|
828
|
-
if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97)
|
|
829
|
-
break;
|
|
830
|
-
return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
|
|
831
|
-
}
|
|
832
|
-
function delimiter(type) {
|
|
833
|
-
while (next())
|
|
834
|
-
switch (character) {
|
|
835
|
-
case type:
|
|
836
|
-
return position;
|
|
837
|
-
case 34:
|
|
838
|
-
case 39:
|
|
839
|
-
if (type !== 34 && type !== 39)
|
|
840
|
-
delimiter(character);
|
|
841
|
-
break;
|
|
842
|
-
case 40:
|
|
843
|
-
if (type === 41)
|
|
844
|
-
delimiter(type);
|
|
845
|
-
break;
|
|
846
|
-
case 92:
|
|
847
|
-
next();
|
|
848
|
-
break;
|
|
849
|
-
}
|
|
850
|
-
return position;
|
|
851
|
-
}
|
|
852
|
-
function commenter(type, index) {
|
|
853
|
-
while (next())
|
|
854
|
-
if (type + character === 47 + 10)
|
|
855
|
-
break;
|
|
856
|
-
else if (type + character === 42 + 42 && peek() === 47)
|
|
857
|
-
break;
|
|
858
|
-
return "/*" + slice(index, position - 1) + "*" + from(type === 47 ? type : next());
|
|
859
|
-
}
|
|
860
|
-
function identifier(index) {
|
|
861
|
-
while (!token(peek()))
|
|
862
|
-
next();
|
|
863
|
-
return slice(index, position);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js
|
|
867
|
-
function compile(value) {
|
|
868
|
-
return dealloc(parse("", null, null, null, [""], value = alloc(value), 0, [0], value));
|
|
869
|
-
}
|
|
870
|
-
function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
|
|
871
|
-
var index = 0;
|
|
872
|
-
var offset = 0;
|
|
873
|
-
var length2 = pseudo;
|
|
874
|
-
var atrule = 0;
|
|
875
|
-
var property = 0;
|
|
876
|
-
var previous = 0;
|
|
877
|
-
var variable = 1;
|
|
878
|
-
var scanning = 1;
|
|
879
|
-
var ampersand = 1;
|
|
880
|
-
var character2 = 0;
|
|
881
|
-
var type = "";
|
|
882
|
-
var props = rules;
|
|
883
|
-
var children2 = rulesets;
|
|
884
|
-
var reference = rule;
|
|
885
|
-
var characters2 = type;
|
|
886
|
-
while (scanning)
|
|
887
|
-
switch (previous = character2, character2 = next()) {
|
|
888
|
-
case 40:
|
|
889
|
-
if (previous != 108 && charat(characters2, length2 - 1) == 58) {
|
|
890
|
-
if (indexof(characters2 += replace(delimit(character2), "&", "&\f"), "&\f") != -1)
|
|
891
|
-
ampersand = -1;
|
|
892
|
-
break;
|
|
893
|
-
}
|
|
894
|
-
case 34:
|
|
895
|
-
case 39:
|
|
896
|
-
case 91:
|
|
897
|
-
characters2 += delimit(character2);
|
|
898
|
-
break;
|
|
899
|
-
case 9:
|
|
900
|
-
case 10:
|
|
901
|
-
case 13:
|
|
902
|
-
case 32:
|
|
903
|
-
characters2 += whitespace(previous);
|
|
904
|
-
break;
|
|
905
|
-
case 92:
|
|
906
|
-
characters2 += escaping(caret() - 1, 7);
|
|
907
|
-
continue;
|
|
908
|
-
case 47:
|
|
909
|
-
switch (peek()) {
|
|
910
|
-
case 42:
|
|
911
|
-
case 47:
|
|
912
|
-
append(comment(commenter(next(), caret()), root, parent), declarations);
|
|
913
|
-
break;
|
|
914
|
-
default:
|
|
915
|
-
characters2 += "/";
|
|
916
|
-
}
|
|
917
|
-
break;
|
|
918
|
-
case 123 * variable:
|
|
919
|
-
points[index++] = strlen(characters2) * ampersand;
|
|
920
|
-
case 125 * variable:
|
|
921
|
-
case 59:
|
|
922
|
-
case 0:
|
|
923
|
-
switch (character2) {
|
|
924
|
-
case 0:
|
|
925
|
-
case 125:
|
|
926
|
-
scanning = 0;
|
|
927
|
-
case 59 + offset:
|
|
928
|
-
if (ampersand == -1)
|
|
929
|
-
characters2 = replace(characters2, /\f/g, "");
|
|
930
|
-
if (property > 0 && strlen(characters2) - length2)
|
|
931
|
-
append(property > 32 ? declaration(characters2 + ";", rule, parent, length2 - 1) : declaration(replace(characters2, " ", "") + ";", rule, parent, length2 - 2), declarations);
|
|
932
|
-
break;
|
|
933
|
-
case 59:
|
|
934
|
-
characters2 += ";";
|
|
935
|
-
default:
|
|
936
|
-
append(reference = ruleset(characters2, root, parent, index, offset, rules, points, type, props = [], children2 = [], length2), rulesets);
|
|
937
|
-
if (character2 === 123)
|
|
938
|
-
if (offset === 0)
|
|
939
|
-
parse(characters2, root, reference, reference, props, rulesets, length2, points, children2);
|
|
940
|
-
else
|
|
941
|
-
switch (atrule === 99 && charat(characters2, 3) === 110 ? 100 : atrule) {
|
|
942
|
-
case 100:
|
|
943
|
-
case 108:
|
|
944
|
-
case 109:
|
|
945
|
-
case 115:
|
|
946
|
-
parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length2), children2), rules, children2, length2, points, rule ? props : children2);
|
|
947
|
-
break;
|
|
948
|
-
default:
|
|
949
|
-
parse(characters2, reference, reference, reference, [""], children2, 0, points, children2);
|
|
950
|
-
}
|
|
951
|
-
}
|
|
952
|
-
index = offset = property = 0, variable = ampersand = 1, type = characters2 = "", length2 = pseudo;
|
|
953
|
-
break;
|
|
954
|
-
case 58:
|
|
955
|
-
length2 = 1 + strlen(characters2), property = previous;
|
|
956
|
-
default:
|
|
957
|
-
if (variable < 1) {
|
|
958
|
-
if (character2 == 123)
|
|
959
|
-
--variable;
|
|
960
|
-
else if (character2 == 125 && variable++ == 0 && prev() == 125)
|
|
961
|
-
continue;
|
|
962
|
-
}
|
|
963
|
-
switch (characters2 += from(character2), character2 * variable) {
|
|
964
|
-
case 38:
|
|
965
|
-
ampersand = offset > 0 ? 1 : (characters2 += "\f", -1);
|
|
966
|
-
break;
|
|
967
|
-
case 44:
|
|
968
|
-
points[index++] = (strlen(characters2) - 1) * ampersand, ampersand = 1;
|
|
969
|
-
break;
|
|
970
|
-
case 64:
|
|
971
|
-
if (peek() === 45)
|
|
972
|
-
characters2 += delimit(next());
|
|
973
|
-
atrule = peek(), offset = length2 = strlen(type = characters2 += identifier(caret())), character2++;
|
|
974
|
-
break;
|
|
975
|
-
case 45:
|
|
976
|
-
if (previous === 45 && strlen(characters2) == 2)
|
|
977
|
-
variable = 0;
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
return rulesets;
|
|
981
|
-
}
|
|
982
|
-
function ruleset(value, root, parent, index, offset, rules, points, type, props, children2, length2) {
|
|
983
|
-
var post = offset - 1;
|
|
984
|
-
var rule = offset === 0 ? rules : [""];
|
|
985
|
-
var size = sizeof(rule);
|
|
986
|
-
for (var i = 0, j = 0, k = 0; i < index; ++i)
|
|
987
|
-
for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x)
|
|
988
|
-
if (z = trim(j > 0 ? rule[x] + " " + y : replace(y, /&\f/g, rule[x])))
|
|
989
|
-
props[k++] = z;
|
|
990
|
-
return node(value, root, parent, offset === 0 ? RULESET : type, props, children2, length2);
|
|
991
|
-
}
|
|
992
|
-
function comment(value, root, parent) {
|
|
993
|
-
return node(value, root, parent, COMMENT, from(char()), substr(value, 2, -2), 0);
|
|
994
|
-
}
|
|
995
|
-
function declaration(value, root, parent, length2) {
|
|
996
|
-
return node(value, root, parent, DECLARATION, substr(value, 0, length2), substr(value, length2 + 1, -1), length2);
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js
|
|
1000
|
-
function serialize(children2, callback) {
|
|
1001
|
-
var output = "";
|
|
1002
|
-
var length2 = sizeof(children2);
|
|
1003
|
-
for (var i = 0; i < length2; i++)
|
|
1004
|
-
output += callback(children2[i], i, children2, callback) || "";
|
|
1005
|
-
return output;
|
|
1006
|
-
}
|
|
1007
|
-
function stringify(element, index, children2, callback) {
|
|
1008
|
-
switch (element.type) {
|
|
1009
|
-
case LAYER:
|
|
1010
|
-
if (element.children.length)
|
|
1011
|
-
break;
|
|
1012
|
-
case IMPORT:
|
|
1013
|
-
case DECLARATION:
|
|
1014
|
-
return element.return = element.return || element.value;
|
|
1015
|
-
case COMMENT:
|
|
1016
|
-
return "";
|
|
1017
|
-
case KEYFRAMES:
|
|
1018
|
-
return element.return = element.value + "{" + serialize(element.children, callback) + "}";
|
|
1019
|
-
case RULESET:
|
|
1020
|
-
element.value = element.props.join(",");
|
|
1021
|
-
}
|
|
1022
|
-
return strlen(children2 = serialize(element.children, callback)) ? element.return = element.value + "{" + children2 + "}" : "";
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
// ../../node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js
|
|
1026
|
-
function middleware(collection) {
|
|
1027
|
-
var length2 = sizeof(collection);
|
|
1028
|
-
return function(element, index, children2, callback) {
|
|
1029
|
-
var output = "";
|
|
1030
|
-
for (var i = 0; i < length2; i++)
|
|
1031
|
-
output += collection[i](element, index, children2, callback) || "";
|
|
1032
|
-
return output;
|
|
1033
|
-
};
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
// ../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
1037
|
-
function memoize(fn) {
|
|
1038
|
-
var cache2 = /* @__PURE__ */ Object.create(null);
|
|
1039
|
-
return function(arg) {
|
|
1040
|
-
if (cache2[arg] === void 0)
|
|
1041
|
-
cache2[arg] = fn(arg);
|
|
1042
|
-
return cache2[arg];
|
|
1043
|
-
};
|
|
1044
|
-
}
|
|
1045
|
-
|
|
1046
|
-
// ../../node_modules/.pnpm/@emotion+cache@11.11.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
1047
|
-
var identifierWithPointTracking = function identifierWithPointTracking2(begin, points, index) {
|
|
1048
|
-
var previous = 0;
|
|
1049
|
-
var character2 = 0;
|
|
1050
|
-
while (true) {
|
|
1051
|
-
previous = character2;
|
|
1052
|
-
character2 = peek();
|
|
1053
|
-
if (previous === 38 && character2 === 12) {
|
|
1054
|
-
points[index] = 1;
|
|
1055
|
-
}
|
|
1056
|
-
if (token(character2)) {
|
|
1057
|
-
break;
|
|
1058
|
-
}
|
|
1059
|
-
next();
|
|
1060
|
-
}
|
|
1061
|
-
return slice(begin, position);
|
|
1062
|
-
};
|
|
1063
|
-
var toRules = function toRules2(parsed, points) {
|
|
1064
|
-
var index = -1;
|
|
1065
|
-
var character2 = 44;
|
|
1066
|
-
do {
|
|
1067
|
-
switch (token(character2)) {
|
|
1068
|
-
case 0:
|
|
1069
|
-
if (character2 === 38 && peek() === 12) {
|
|
1070
|
-
points[index] = 1;
|
|
1071
|
-
}
|
|
1072
|
-
parsed[index] += identifierWithPointTracking(position - 1, points, index);
|
|
1073
|
-
break;
|
|
1074
|
-
case 2:
|
|
1075
|
-
parsed[index] += delimit(character2);
|
|
1076
|
-
break;
|
|
1077
|
-
case 4:
|
|
1078
|
-
if (character2 === 44) {
|
|
1079
|
-
parsed[++index] = peek() === 58 ? "&\f" : "";
|
|
1080
|
-
points[index] = parsed[index].length;
|
|
1081
|
-
break;
|
|
1082
|
-
}
|
|
1083
|
-
default:
|
|
1084
|
-
parsed[index] += from(character2);
|
|
1085
|
-
}
|
|
1086
|
-
} while (character2 = next());
|
|
1087
|
-
return parsed;
|
|
1088
|
-
};
|
|
1089
|
-
var getRules = function getRules2(value, points) {
|
|
1090
|
-
return dealloc(toRules(alloc(value), points));
|
|
1091
|
-
};
|
|
1092
|
-
var fixedElements = /* @__PURE__ */ new WeakMap();
|
|
1093
|
-
var compat = function compat2(element) {
|
|
1094
|
-
if (element.type !== "rule" || !element.parent || // positive .length indicates that this rule contains pseudo
|
|
1095
|
-
// negative .length indicates that this rule has been already prefixed
|
|
1096
|
-
element.length < 1) {
|
|
1097
|
-
return;
|
|
1098
|
-
}
|
|
1099
|
-
var value = element.value, parent = element.parent;
|
|
1100
|
-
var isImplicitRule = element.column === parent.column && element.line === parent.line;
|
|
1101
|
-
while (parent.type !== "rule") {
|
|
1102
|
-
parent = parent.parent;
|
|
1103
|
-
if (!parent)
|
|
1104
|
-
return;
|
|
1105
|
-
}
|
|
1106
|
-
if (element.props.length === 1 && value.charCodeAt(0) !== 58 && !fixedElements.get(parent)) {
|
|
1107
|
-
return;
|
|
1108
|
-
}
|
|
1109
|
-
if (isImplicitRule) {
|
|
1110
|
-
return;
|
|
1111
|
-
}
|
|
1112
|
-
fixedElements.set(element, true);
|
|
1113
|
-
var points = [];
|
|
1114
|
-
var rules = getRules(value, points);
|
|
1115
|
-
var parentRules = parent.props;
|
|
1116
|
-
for (var i = 0, k = 0; i < rules.length; i++) {
|
|
1117
|
-
for (var j = 0; j < parentRules.length; j++, k++) {
|
|
1118
|
-
element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
};
|
|
1122
|
-
var removeLabel = function removeLabel2(element) {
|
|
1123
|
-
if (element.type === "decl") {
|
|
1124
|
-
var value = element.value;
|
|
1125
|
-
if (
|
|
1126
|
-
// charcode for l
|
|
1127
|
-
value.charCodeAt(0) === 108 && // charcode for b
|
|
1128
|
-
value.charCodeAt(2) === 98
|
|
1129
|
-
) {
|
|
1130
|
-
element["return"] = "";
|
|
1131
|
-
element.value = "";
|
|
1132
|
-
}
|
|
1133
|
-
}
|
|
1134
|
-
};
|
|
1135
|
-
var ignoreFlag = "emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason";
|
|
1136
|
-
var isIgnoringComment = function isIgnoringComment2(element) {
|
|
1137
|
-
return element.type === "comm" && element.children.indexOf(ignoreFlag) > -1;
|
|
1138
|
-
};
|
|
1139
|
-
var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm2(cache2) {
|
|
1140
|
-
return function(element, index, children2) {
|
|
1141
|
-
if (element.type !== "rule" || cache2.compat)
|
|
1142
|
-
return;
|
|
1143
|
-
var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
1144
|
-
if (unsafePseudoClasses) {
|
|
1145
|
-
var isNested = !!element.parent;
|
|
1146
|
-
var commentContainer = isNested ? element.parent.children : (
|
|
1147
|
-
// global rule at the root level
|
|
1148
|
-
children2
|
|
1149
|
-
);
|
|
1150
|
-
for (var i = commentContainer.length - 1; i >= 0; i--) {
|
|
1151
|
-
var node2 = commentContainer[i];
|
|
1152
|
-
if (node2.line < element.line) {
|
|
1153
|
-
break;
|
|
1154
|
-
}
|
|
1155
|
-
if (node2.column < element.column) {
|
|
1156
|
-
if (isIgnoringComment(node2)) {
|
|
1157
|
-
return;
|
|
1158
|
-
}
|
|
1159
|
-
break;
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
unsafePseudoClasses.forEach(function(unsafePseudoClass) {
|
|
1163
|
-
console.error('The pseudo class "' + unsafePseudoClass + '" is potentially unsafe when doing server-side rendering. Try changing it to "' + unsafePseudoClass.split("-child")[0] + '-of-type".');
|
|
1164
|
-
});
|
|
1165
|
-
}
|
|
1166
|
-
};
|
|
1167
|
-
};
|
|
1168
|
-
var isImportRule = function isImportRule2(element) {
|
|
1169
|
-
return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
|
|
1170
|
-
};
|
|
1171
|
-
var isPrependedWithRegularRules = function isPrependedWithRegularRules2(index, children2) {
|
|
1172
|
-
for (var i = index - 1; i >= 0; i--) {
|
|
1173
|
-
if (!isImportRule(children2[i])) {
|
|
1174
|
-
return true;
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
return false;
|
|
1178
|
-
};
|
|
1179
|
-
var nullifyElement = function nullifyElement2(element) {
|
|
1180
|
-
element.type = "";
|
|
1181
|
-
element.value = "";
|
|
1182
|
-
element["return"] = "";
|
|
1183
|
-
element.children = "";
|
|
1184
|
-
element.props = "";
|
|
1185
|
-
};
|
|
1186
|
-
var incorrectImportAlarm = function incorrectImportAlarm2(element, index, children2) {
|
|
1187
|
-
if (!isImportRule(element)) {
|
|
1188
|
-
return;
|
|
1189
|
-
}
|
|
1190
|
-
if (element.parent) {
|
|
1191
|
-
console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
|
|
1192
|
-
nullifyElement(element);
|
|
1193
|
-
} else if (isPrependedWithRegularRules(index, children2)) {
|
|
1194
|
-
console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
|
|
1195
|
-
nullifyElement(element);
|
|
1196
|
-
}
|
|
1197
|
-
};
|
|
1198
|
-
function prefix(value, length2) {
|
|
1199
|
-
switch (hash(value, length2)) {
|
|
1200
|
-
case 5103:
|
|
1201
|
-
return WEBKIT + "print-" + value + value;
|
|
1202
|
-
case 5737:
|
|
1203
|
-
case 4201:
|
|
1204
|
-
case 3177:
|
|
1205
|
-
case 3433:
|
|
1206
|
-
case 1641:
|
|
1207
|
-
case 4457:
|
|
1208
|
-
case 2921:
|
|
1209
|
-
case 5572:
|
|
1210
|
-
case 6356:
|
|
1211
|
-
case 5844:
|
|
1212
|
-
case 3191:
|
|
1213
|
-
case 6645:
|
|
1214
|
-
case 3005:
|
|
1215
|
-
case 6391:
|
|
1216
|
-
case 5879:
|
|
1217
|
-
case 5623:
|
|
1218
|
-
case 6135:
|
|
1219
|
-
case 4599:
|
|
1220
|
-
case 4855:
|
|
1221
|
-
case 4215:
|
|
1222
|
-
case 6389:
|
|
1223
|
-
case 5109:
|
|
1224
|
-
case 5365:
|
|
1225
|
-
case 5621:
|
|
1226
|
-
case 3829:
|
|
1227
|
-
return WEBKIT + value + value;
|
|
1228
|
-
case 5349:
|
|
1229
|
-
case 4246:
|
|
1230
|
-
case 4810:
|
|
1231
|
-
case 6968:
|
|
1232
|
-
case 2756:
|
|
1233
|
-
return WEBKIT + value + MOZ + value + MS + value + value;
|
|
1234
|
-
case 6828:
|
|
1235
|
-
case 4268:
|
|
1236
|
-
return WEBKIT + value + MS + value + value;
|
|
1237
|
-
case 6165:
|
|
1238
|
-
return WEBKIT + value + MS + "flex-" + value + value;
|
|
1239
|
-
case 5187:
|
|
1240
|
-
return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + "box-$1$2" + MS + "flex-$1$2") + value;
|
|
1241
|
-
case 5443:
|
|
1242
|
-
return WEBKIT + value + MS + "flex-item-" + replace(value, /flex-|-self/, "") + value;
|
|
1243
|
-
case 4675:
|
|
1244
|
-
return WEBKIT + value + MS + "flex-line-pack" + replace(value, /align-content|flex-|-self/, "") + value;
|
|
1245
|
-
case 5548:
|
|
1246
|
-
return WEBKIT + value + MS + replace(value, "shrink", "negative") + value;
|
|
1247
|
-
case 5292:
|
|
1248
|
-
return WEBKIT + value + MS + replace(value, "basis", "preferred-size") + value;
|
|
1249
|
-
case 6060:
|
|
1250
|
-
return WEBKIT + "box-" + replace(value, "-grow", "") + WEBKIT + value + MS + replace(value, "grow", "positive") + value;
|
|
1251
|
-
case 4554:
|
|
1252
|
-
return WEBKIT + replace(value, /([^-])(transform)/g, "$1" + WEBKIT + "$2") + value;
|
|
1253
|
-
case 6187:
|
|
1254
|
-
return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + "$1"), /(image-set)/, WEBKIT + "$1"), value, "") + value;
|
|
1255
|
-
case 5495:
|
|
1256
|
-
case 3959:
|
|
1257
|
-
return replace(value, /(image-set\([^]*)/, WEBKIT + "$1$`$1");
|
|
1258
|
-
case 4968:
|
|
1259
|
-
return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + "box-pack:$3" + MS + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + WEBKIT + value + value;
|
|
1260
|
-
case 4095:
|
|
1261
|
-
case 3583:
|
|
1262
|
-
case 4068:
|
|
1263
|
-
case 2532:
|
|
1264
|
-
return replace(value, /(.+)-inline(.+)/, WEBKIT + "$1$2") + value;
|
|
1265
|
-
case 8116:
|
|
1266
|
-
case 7059:
|
|
1267
|
-
case 5753:
|
|
1268
|
-
case 5535:
|
|
1269
|
-
case 5445:
|
|
1270
|
-
case 5701:
|
|
1271
|
-
case 4933:
|
|
1272
|
-
case 4677:
|
|
1273
|
-
case 5533:
|
|
1274
|
-
case 5789:
|
|
1275
|
-
case 5021:
|
|
1276
|
-
case 4765:
|
|
1277
|
-
if (strlen(value) - 1 - length2 > 6)
|
|
1278
|
-
switch (charat(value, length2 + 1)) {
|
|
1279
|
-
case 109:
|
|
1280
|
-
if (charat(value, length2 + 4) !== 45)
|
|
1281
|
-
break;
|
|
1282
|
-
case 102:
|
|
1283
|
-
return replace(value, /(.+:)(.+)-([^]+)/, "$1" + WEBKIT + "$2-$3$1" + MOZ + (charat(value, length2 + 3) == 108 ? "$3" : "$2-$3")) + value;
|
|
1284
|
-
case 115:
|
|
1285
|
-
return ~indexof(value, "stretch") ? prefix(replace(value, "stretch", "fill-available"), length2) + value : value;
|
|
1286
|
-
}
|
|
1287
|
-
break;
|
|
1288
|
-
case 4949:
|
|
1289
|
-
if (charat(value, length2 + 1) !== 115)
|
|
1290
|
-
break;
|
|
1291
|
-
case 6444:
|
|
1292
|
-
switch (charat(value, strlen(value) - 3 - (~indexof(value, "!important") && 10))) {
|
|
1293
|
-
case 107:
|
|
1294
|
-
return replace(value, ":", ":" + WEBKIT) + value;
|
|
1295
|
-
case 101:
|
|
1296
|
-
return replace(value, /(.+:)([^;!]+)(;|!.+)?/, "$1" + WEBKIT + (charat(value, 14) === 45 ? "inline-" : "") + "box$3$1" + WEBKIT + "$2$3$1" + MS + "$2box$3") + value;
|
|
1297
|
-
}
|
|
1298
|
-
break;
|
|
1299
|
-
case 5936:
|
|
1300
|
-
switch (charat(value, length2 + 11)) {
|
|
1301
|
-
case 114:
|
|
1302
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb") + value;
|
|
1303
|
-
case 108:
|
|
1304
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "tb-rl") + value;
|
|
1305
|
-
case 45:
|
|
1306
|
-
return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, "lr") + value;
|
|
1307
|
-
}
|
|
1308
|
-
return WEBKIT + value + MS + value + value;
|
|
1309
|
-
}
|
|
1310
|
-
return value;
|
|
1311
|
-
}
|
|
1312
|
-
var prefixer = function prefixer2(element, index, children2, callback) {
|
|
1313
|
-
if (element.length > -1) {
|
|
1314
|
-
if (!element["return"])
|
|
1315
|
-
switch (element.type) {
|
|
1316
|
-
case DECLARATION:
|
|
1317
|
-
element["return"] = prefix(element.value, element.length);
|
|
1318
|
-
break;
|
|
1319
|
-
case KEYFRAMES:
|
|
1320
|
-
return serialize([copy(element, {
|
|
1321
|
-
value: replace(element.value, "@", "@" + WEBKIT)
|
|
1322
|
-
})], callback);
|
|
1323
|
-
case RULESET:
|
|
1324
|
-
if (element.length)
|
|
1325
|
-
return combine(element.props, function(value) {
|
|
1326
|
-
switch (match(value, /(::plac\w+|:read-\w+)/)) {
|
|
1327
|
-
case ":read-only":
|
|
1328
|
-
case ":read-write":
|
|
1329
|
-
return serialize([copy(element, {
|
|
1330
|
-
props: [replace(value, /:(read-\w+)/, ":" + MOZ + "$1")]
|
|
1331
|
-
})], callback);
|
|
1332
|
-
case "::placeholder":
|
|
1333
|
-
return serialize([copy(element, {
|
|
1334
|
-
props: [replace(value, /:(plac\w+)/, ":" + WEBKIT + "input-$1")]
|
|
1335
|
-
}), copy(element, {
|
|
1336
|
-
props: [replace(value, /:(plac\w+)/, ":" + MOZ + "$1")]
|
|
1337
|
-
}), copy(element, {
|
|
1338
|
-
props: [replace(value, /:(plac\w+)/, MS + "input-$1")]
|
|
1339
|
-
})], callback);
|
|
1340
|
-
}
|
|
1341
|
-
return "";
|
|
1342
|
-
});
|
|
1343
|
-
}
|
|
1344
|
-
}
|
|
1345
|
-
};
|
|
1346
|
-
var defaultStylisPlugins = [prefixer];
|
|
1347
|
-
var createCache = function createCache2(options) {
|
|
1348
|
-
var key = options.key;
|
|
1349
|
-
if (!key) {
|
|
1350
|
-
throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");
|
|
1351
|
-
}
|
|
1352
|
-
if (key === "css") {
|
|
1353
|
-
var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1354
|
-
Array.prototype.forEach.call(ssrStyles, function(node2) {
|
|
1355
|
-
var dataEmotionAttribute = node2.getAttribute("data-emotion");
|
|
1356
|
-
if (dataEmotionAttribute.indexOf(" ") === -1) {
|
|
1357
|
-
return;
|
|
1358
|
-
}
|
|
1359
|
-
document.head.appendChild(node2);
|
|
1360
|
-
node2.setAttribute("data-s", "");
|
|
1361
|
-
});
|
|
1362
|
-
}
|
|
1363
|
-
var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
|
|
1364
|
-
{
|
|
1365
|
-
if (/[^a-z-]/.test(key)) {
|
|
1366
|
-
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + key + '" was passed');
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
var inserted = {};
|
|
1370
|
-
var container;
|
|
1371
|
-
var nodesToHydrate = [];
|
|
1372
|
-
{
|
|
1373
|
-
container = options.container || document.head;
|
|
1374
|
-
Array.prototype.forEach.call(
|
|
1375
|
-
// this means we will ignore elements which don't have a space in them which
|
|
1376
|
-
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1377
|
-
document.querySelectorAll('style[data-emotion^="' + key + ' "]'),
|
|
1378
|
-
function(node2) {
|
|
1379
|
-
var attrib = node2.getAttribute("data-emotion").split(" ");
|
|
1380
|
-
for (var i = 1; i < attrib.length; i++) {
|
|
1381
|
-
inserted[attrib[i]] = true;
|
|
1382
|
-
}
|
|
1383
|
-
nodesToHydrate.push(node2);
|
|
1384
|
-
}
|
|
1385
|
-
);
|
|
1386
|
-
}
|
|
1387
|
-
var _insert;
|
|
1388
|
-
var omnipresentPlugins = [compat, removeLabel];
|
|
1389
|
-
{
|
|
1390
|
-
omnipresentPlugins.push(createUnsafeSelectorsAlarm({
|
|
1391
|
-
get compat() {
|
|
1392
|
-
return cache2.compat;
|
|
1393
|
-
}
|
|
1394
|
-
}), incorrectImportAlarm);
|
|
1395
|
-
}
|
|
1396
|
-
{
|
|
1397
|
-
var currentSheet;
|
|
1398
|
-
var finalizingPlugins = [stringify, function(element) {
|
|
1399
|
-
if (!element.root) {
|
|
1400
|
-
if (element["return"]) {
|
|
1401
|
-
currentSheet.insert(element["return"]);
|
|
1402
|
-
} else if (element.value && element.type !== COMMENT) {
|
|
1403
|
-
currentSheet.insert(element.value + "{}");
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
} ];
|
|
1407
|
-
var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
|
|
1408
|
-
var stylis = function stylis2(styles) {
|
|
1409
|
-
return serialize(compile(styles), serializer);
|
|
1410
|
-
};
|
|
1411
|
-
_insert = function insert2(selector, serialized, sheet2, shouldCache) {
|
|
1412
|
-
currentSheet = sheet2;
|
|
1413
|
-
if (serialized.map !== void 0) {
|
|
1414
|
-
currentSheet = {
|
|
1415
|
-
insert: function insert3(rule) {
|
|
1416
|
-
sheet2.insert(rule + serialized.map);
|
|
1417
|
-
}
|
|
1418
|
-
};
|
|
1419
|
-
}
|
|
1420
|
-
stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
|
|
1421
|
-
if (shouldCache) {
|
|
1422
|
-
cache2.inserted[serialized.name] = true;
|
|
1423
|
-
}
|
|
1424
|
-
};
|
|
1425
|
-
}
|
|
1426
|
-
var cache2 = {
|
|
1427
|
-
key,
|
|
1428
|
-
sheet: new StyleSheet({
|
|
1429
|
-
key,
|
|
1430
|
-
container,
|
|
1431
|
-
nonce: options.nonce,
|
|
1432
|
-
speedy: options.speedy,
|
|
1433
|
-
prepend: options.prepend,
|
|
1434
|
-
insertionPoint: options.insertionPoint
|
|
1435
|
-
}),
|
|
1436
|
-
nonce: options.nonce,
|
|
1437
|
-
inserted,
|
|
1438
|
-
registered: {},
|
|
1439
|
-
insert: _insert
|
|
1440
|
-
};
|
|
1441
|
-
cache2.sheet.hydrate(nodesToHydrate);
|
|
1442
|
-
return cache2;
|
|
1443
|
-
};
|
|
1444
|
-
|
|
1445
|
-
// ../../node_modules/.pnpm/@emotion+hash@0.9.1/node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
1446
|
-
function murmur2(str) {
|
|
1447
|
-
var h = 0;
|
|
1448
|
-
var k, i = 0, len = str.length;
|
|
1449
|
-
for (; len >= 4; ++i, len -= 4) {
|
|
1450
|
-
k = str.charCodeAt(i) & 255 | (str.charCodeAt(++i) & 255) << 8 | (str.charCodeAt(++i) & 255) << 16 | (str.charCodeAt(++i) & 255) << 24;
|
|
1451
|
-
k = /* Math.imul(k, m): */
|
|
1452
|
-
(k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16);
|
|
1453
|
-
k ^= /* k >>> r: */
|
|
1454
|
-
k >>> 24;
|
|
1455
|
-
h = /* Math.imul(k, m): */
|
|
1456
|
-
(k & 65535) * 1540483477 + ((k >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
1457
|
-
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
1458
|
-
}
|
|
1459
|
-
switch (len) {
|
|
1460
|
-
case 3:
|
|
1461
|
-
h ^= (str.charCodeAt(i + 2) & 255) << 16;
|
|
1462
|
-
case 2:
|
|
1463
|
-
h ^= (str.charCodeAt(i + 1) & 255) << 8;
|
|
1464
|
-
case 1:
|
|
1465
|
-
h ^= str.charCodeAt(i) & 255;
|
|
1466
|
-
h = /* Math.imul(h, m): */
|
|
1467
|
-
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
1468
|
-
}
|
|
1469
|
-
h ^= h >>> 13;
|
|
1470
|
-
h = /* Math.imul(h, m): */
|
|
1471
|
-
(h & 65535) * 1540483477 + ((h >>> 16) * 59797 << 16);
|
|
1472
|
-
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
// ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
1476
|
-
var unitlessKeys = {
|
|
1477
|
-
animationIterationCount: 1,
|
|
1478
|
-
aspectRatio: 1,
|
|
1479
|
-
borderImageOutset: 1,
|
|
1480
|
-
borderImageSlice: 1,
|
|
1481
|
-
borderImageWidth: 1,
|
|
1482
|
-
boxFlex: 1,
|
|
1483
|
-
boxFlexGroup: 1,
|
|
1484
|
-
boxOrdinalGroup: 1,
|
|
1485
|
-
columnCount: 1,
|
|
1486
|
-
columns: 1,
|
|
1487
|
-
flex: 1,
|
|
1488
|
-
flexGrow: 1,
|
|
1489
|
-
flexPositive: 1,
|
|
1490
|
-
flexShrink: 1,
|
|
1491
|
-
flexNegative: 1,
|
|
1492
|
-
flexOrder: 1,
|
|
1493
|
-
gridRow: 1,
|
|
1494
|
-
gridRowEnd: 1,
|
|
1495
|
-
gridRowSpan: 1,
|
|
1496
|
-
gridRowStart: 1,
|
|
1497
|
-
gridColumn: 1,
|
|
1498
|
-
gridColumnEnd: 1,
|
|
1499
|
-
gridColumnSpan: 1,
|
|
1500
|
-
gridColumnStart: 1,
|
|
1501
|
-
msGridRow: 1,
|
|
1502
|
-
msGridRowSpan: 1,
|
|
1503
|
-
msGridColumn: 1,
|
|
1504
|
-
msGridColumnSpan: 1,
|
|
1505
|
-
fontWeight: 1,
|
|
1506
|
-
lineHeight: 1,
|
|
1507
|
-
opacity: 1,
|
|
1508
|
-
order: 1,
|
|
1509
|
-
orphans: 1,
|
|
1510
|
-
tabSize: 1,
|
|
1511
|
-
widows: 1,
|
|
1512
|
-
zIndex: 1,
|
|
1513
|
-
zoom: 1,
|
|
1514
|
-
WebkitLineClamp: 1,
|
|
1515
|
-
// SVG-related properties
|
|
1516
|
-
fillOpacity: 1,
|
|
1517
|
-
floodOpacity: 1,
|
|
1518
|
-
stopOpacity: 1,
|
|
1519
|
-
strokeDasharray: 1,
|
|
1520
|
-
strokeDashoffset: 1,
|
|
1521
|
-
strokeMiterlimit: 1,
|
|
1522
|
-
strokeOpacity: 1,
|
|
1523
|
-
strokeWidth: 1
|
|
1524
|
-
};
|
|
1525
|
-
|
|
1526
|
-
// ../../node_modules/.pnpm/@emotion+serialize@1.1.2/node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js
|
|
1527
|
-
var ILLEGAL_ESCAPE_SEQUENCE_ERROR = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
1528
|
-
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
1529
|
-
You can read more about this here:
|
|
1530
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`;
|
|
1531
|
-
var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
|
|
1532
|
-
var hyphenateRegex = /[A-Z]|^ms/g;
|
|
1533
|
-
var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
|
|
1534
|
-
var isCustomProperty = function isCustomProperty2(property) {
|
|
1535
|
-
return property.charCodeAt(1) === 45;
|
|
1536
|
-
};
|
|
1537
|
-
var isProcessableValue = function isProcessableValue2(value) {
|
|
1538
|
-
return value != null && typeof value !== "boolean";
|
|
598
|
+
// ../../node_modules/.pnpm/goober@2.1.13_csstype@3.1.2/node_modules/goober/dist/goober.modern.js
|
|
599
|
+
var e = { data: "" };
|
|
600
|
+
var t = (t2) => "object" == typeof window ? ((t2 ? t2.querySelector("#_goober") : window._goober) || Object.assign((t2 || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : t2 || e;
|
|
601
|
+
var l = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g;
|
|
602
|
+
var a = /\/\*[^]*?\*\/| +/g;
|
|
603
|
+
var n = /\n+/g;
|
|
604
|
+
var o = (e2, t2) => {
|
|
605
|
+
let r2 = "", l2 = "", a2 = "";
|
|
606
|
+
for (let n2 in e2) {
|
|
607
|
+
let c2 = e2[n2];
|
|
608
|
+
"@" == n2[0] ? "i" == n2[1] ? r2 = n2 + " " + c2 + ";" : l2 += "f" == n2[1] ? o(c2, n2) : n2 + "{" + o(c2, "k" == n2[1] ? "" : t2) + "}" : "object" == typeof c2 ? l2 += o(c2, t2 ? t2.replace(/([^,])+/g, (e3) => n2.replace(/(^:.*)|([^,])+/g, (t3) => /&/.test(t3) ? t3.replace(/&/g, e3) : e3 ? e3 + " " + t3 : t3)) : n2) : null != c2 && (n2 = /^--/.test(n2) ? n2 : n2.replace(/[A-Z]/g, "-$&").toLowerCase(), a2 += o.p ? o.p(n2, c2) : n2 + ":" + c2 + ";");
|
|
609
|
+
}
|
|
610
|
+
return r2 + (t2 && a2 ? t2 + "{" + a2 + "}" : a2) + l2;
|
|
1539
611
|
};
|
|
1540
|
-
var
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
cursor = {
|
|
1550
|
-
name: p1,
|
|
1551
|
-
styles: p2,
|
|
1552
|
-
next: cursor
|
|
1553
|
-
};
|
|
1554
|
-
return p1;
|
|
1555
|
-
});
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === "number" && value !== 0) {
|
|
1560
|
-
return value + "px";
|
|
1561
|
-
}
|
|
1562
|
-
return value;
|
|
612
|
+
var c = {};
|
|
613
|
+
var s = (e2) => {
|
|
614
|
+
if ("object" == typeof e2) {
|
|
615
|
+
let t2 = "";
|
|
616
|
+
for (let r2 in e2)
|
|
617
|
+
t2 += r2 + s(e2[r2]);
|
|
618
|
+
return t2;
|
|
619
|
+
}
|
|
620
|
+
return e2;
|
|
1563
621
|
};
|
|
1564
|
-
{
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
return processed;
|
|
1585
|
-
};
|
|
1586
|
-
}
|
|
1587
|
-
var contentValuePattern;
|
|
1588
|
-
var contentValues;
|
|
1589
|
-
var oldProcessStyleValue;
|
|
1590
|
-
var msPattern;
|
|
1591
|
-
var hyphenPattern;
|
|
1592
|
-
var hyphenatedCache;
|
|
1593
|
-
var noComponentSelectorMessage = "Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";
|
|
1594
|
-
function handleInterpolation(mergedProps, registered, interpolation) {
|
|
1595
|
-
if (interpolation == null) {
|
|
1596
|
-
return "";
|
|
1597
|
-
}
|
|
1598
|
-
if (interpolation.__emotion_styles !== void 0) {
|
|
1599
|
-
if (interpolation.toString() === "NO_COMPONENT_SELECTOR") {
|
|
1600
|
-
throw new Error(noComponentSelectorMessage);
|
|
1601
|
-
}
|
|
1602
|
-
return interpolation;
|
|
1603
|
-
}
|
|
1604
|
-
switch (typeof interpolation) {
|
|
1605
|
-
case "boolean": {
|
|
1606
|
-
return "";
|
|
1607
|
-
}
|
|
1608
|
-
case "object": {
|
|
1609
|
-
if (interpolation.anim === 1) {
|
|
1610
|
-
cursor = {
|
|
1611
|
-
name: interpolation.name,
|
|
1612
|
-
styles: interpolation.styles,
|
|
1613
|
-
next: cursor
|
|
1614
|
-
};
|
|
1615
|
-
return interpolation.name;
|
|
1616
|
-
}
|
|
1617
|
-
if (interpolation.styles !== void 0) {
|
|
1618
|
-
var next2 = interpolation.next;
|
|
1619
|
-
if (next2 !== void 0) {
|
|
1620
|
-
while (next2 !== void 0) {
|
|
1621
|
-
cursor = {
|
|
1622
|
-
name: next2.name,
|
|
1623
|
-
styles: next2.styles,
|
|
1624
|
-
next: cursor
|
|
1625
|
-
};
|
|
1626
|
-
next2 = next2.next;
|
|
1627
|
-
}
|
|
1628
|
-
}
|
|
1629
|
-
var styles = interpolation.styles + ";";
|
|
1630
|
-
if (interpolation.map !== void 0) {
|
|
1631
|
-
styles += interpolation.map;
|
|
1632
|
-
}
|
|
1633
|
-
return styles;
|
|
1634
|
-
}
|
|
1635
|
-
return createStringFromObject(mergedProps, registered, interpolation);
|
|
1636
|
-
}
|
|
1637
|
-
case "function": {
|
|
1638
|
-
if (mergedProps !== void 0) {
|
|
1639
|
-
var previousCursor = cursor;
|
|
1640
|
-
var result = interpolation(mergedProps);
|
|
1641
|
-
cursor = previousCursor;
|
|
1642
|
-
return handleInterpolation(mergedProps, registered, result);
|
|
1643
|
-
} else {
|
|
1644
|
-
console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
|
|
1645
|
-
}
|
|
1646
|
-
break;
|
|
1647
|
-
}
|
|
1648
|
-
case "string":
|
|
1649
|
-
{
|
|
1650
|
-
var matched = [];
|
|
1651
|
-
var replaced = interpolation.replace(animationRegex, function(match2, p1, p2) {
|
|
1652
|
-
var fakeVarName = "animation" + matched.length;
|
|
1653
|
-
matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, "") + "`");
|
|
1654
|
-
return "${" + fakeVarName + "}";
|
|
1655
|
-
});
|
|
1656
|
-
if (matched.length) {
|
|
1657
|
-
console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(matched, ["`" + replaced + "`"]).join("\n") + "\n\nYou should wrap it with `css` like this:\n\n" + ("css`" + replaced + "`"));
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
break;
|
|
1661
|
-
}
|
|
1662
|
-
if (registered == null) {
|
|
1663
|
-
return interpolation;
|
|
1664
|
-
}
|
|
1665
|
-
var cached = registered[interpolation];
|
|
1666
|
-
return cached !== void 0 ? cached : interpolation;
|
|
1667
|
-
}
|
|
1668
|
-
function createStringFromObject(mergedProps, registered, obj) {
|
|
1669
|
-
var string = "";
|
|
1670
|
-
if (Array.isArray(obj)) {
|
|
1671
|
-
for (var i = 0; i < obj.length; i++) {
|
|
1672
|
-
string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
|
|
1673
|
-
}
|
|
1674
|
-
} else {
|
|
1675
|
-
for (var _key in obj) {
|
|
1676
|
-
var value = obj[_key];
|
|
1677
|
-
if (typeof value !== "object") {
|
|
1678
|
-
if (registered != null && registered[value] !== void 0) {
|
|
1679
|
-
string += _key + "{" + registered[value] + "}";
|
|
1680
|
-
} else if (isProcessableValue(value)) {
|
|
1681
|
-
string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
|
|
1682
|
-
}
|
|
1683
|
-
} else {
|
|
1684
|
-
if (_key === "NO_COMPONENT_SELECTOR" && true) {
|
|
1685
|
-
throw new Error(noComponentSelectorMessage);
|
|
1686
|
-
}
|
|
1687
|
-
if (Array.isArray(value) && typeof value[0] === "string" && (registered == null || registered[value[0]] === void 0)) {
|
|
1688
|
-
for (var _i = 0; _i < value.length; _i++) {
|
|
1689
|
-
if (isProcessableValue(value[_i])) {
|
|
1690
|
-
string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
|
|
1691
|
-
}
|
|
1692
|
-
}
|
|
1693
|
-
} else {
|
|
1694
|
-
var interpolated = handleInterpolation(mergedProps, registered, value);
|
|
1695
|
-
switch (_key) {
|
|
1696
|
-
case "animation":
|
|
1697
|
-
case "animationName": {
|
|
1698
|
-
string += processStyleName(_key) + ":" + interpolated + ";";
|
|
1699
|
-
break;
|
|
1700
|
-
}
|
|
1701
|
-
default: {
|
|
1702
|
-
if (_key === "undefined") {
|
|
1703
|
-
console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
|
|
1704
|
-
}
|
|
1705
|
-
string += _key + "{" + interpolated + "}";
|
|
1706
|
-
}
|
|
1707
|
-
}
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
return string;
|
|
1713
|
-
}
|
|
1714
|
-
var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
|
|
1715
|
-
var sourceMapPattern;
|
|
1716
|
-
{
|
|
1717
|
-
sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
|
|
1718
|
-
}
|
|
1719
|
-
var cursor;
|
|
1720
|
-
var serializeStyles = function serializeStyles2(args, registered, mergedProps) {
|
|
1721
|
-
if (args.length === 1 && typeof args[0] === "object" && args[0] !== null && args[0].styles !== void 0) {
|
|
1722
|
-
return args[0];
|
|
1723
|
-
}
|
|
1724
|
-
var stringMode = true;
|
|
1725
|
-
var styles = "";
|
|
1726
|
-
cursor = void 0;
|
|
1727
|
-
var strings = args[0];
|
|
1728
|
-
if (strings == null || strings.raw === void 0) {
|
|
1729
|
-
stringMode = false;
|
|
1730
|
-
styles += handleInterpolation(mergedProps, registered, strings);
|
|
1731
|
-
} else {
|
|
1732
|
-
if (strings[0] === void 0) {
|
|
1733
|
-
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1734
|
-
}
|
|
1735
|
-
styles += strings[0];
|
|
1736
|
-
}
|
|
1737
|
-
for (var i = 1; i < args.length; i++) {
|
|
1738
|
-
styles += handleInterpolation(mergedProps, registered, args[i]);
|
|
1739
|
-
if (stringMode) {
|
|
1740
|
-
if (strings[i] === void 0) {
|
|
1741
|
-
console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
|
|
1742
|
-
}
|
|
1743
|
-
styles += strings[i];
|
|
1744
|
-
}
|
|
1745
|
-
}
|
|
1746
|
-
var sourceMap;
|
|
1747
|
-
{
|
|
1748
|
-
styles = styles.replace(sourceMapPattern, function(match3) {
|
|
1749
|
-
sourceMap = match3;
|
|
1750
|
-
return "";
|
|
1751
|
-
});
|
|
1752
|
-
}
|
|
1753
|
-
labelPattern.lastIndex = 0;
|
|
1754
|
-
var identifierName = "";
|
|
1755
|
-
var match2;
|
|
1756
|
-
while ((match2 = labelPattern.exec(styles)) !== null) {
|
|
1757
|
-
identifierName += "-" + // $FlowFixMe we know it's not null
|
|
1758
|
-
match2[1];
|
|
1759
|
-
}
|
|
1760
|
-
var name = murmur2(styles) + identifierName;
|
|
1761
|
-
{
|
|
1762
|
-
return {
|
|
1763
|
-
name,
|
|
1764
|
-
styles,
|
|
1765
|
-
map: sourceMap,
|
|
1766
|
-
next: cursor,
|
|
1767
|
-
toString: function toString() {
|
|
1768
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
1769
|
-
}
|
|
1770
|
-
};
|
|
1771
|
-
}
|
|
622
|
+
var i = (e2, t2, r2, i2, p2) => {
|
|
623
|
+
let u2 = s(e2), d = c[u2] || (c[u2] = ((e3) => {
|
|
624
|
+
let t3 = 0, r3 = 11;
|
|
625
|
+
for (; t3 < e3.length; )
|
|
626
|
+
r3 = 101 * r3 + e3.charCodeAt(t3++) >>> 0;
|
|
627
|
+
return "go" + r3;
|
|
628
|
+
})(u2));
|
|
629
|
+
if (!c[d]) {
|
|
630
|
+
let t3 = u2 !== e2 ? e2 : ((e3) => {
|
|
631
|
+
let t4, r3, o2 = [{}];
|
|
632
|
+
for (; t4 = l.exec(e3.replace(a, "")); )
|
|
633
|
+
t4[4] ? o2.shift() : t4[3] ? (r3 = t4[3].replace(n, " ").trim(), o2.unshift(o2[0][r3] = o2[0][r3] || {})) : o2[0][t4[1]] = t4[2].replace(n, " ").trim();
|
|
634
|
+
return o2[0];
|
|
635
|
+
})(e2);
|
|
636
|
+
c[d] = o(p2 ? { ["@keyframes " + d]: t3 } : t3, r2 ? "" : "." + d);
|
|
637
|
+
}
|
|
638
|
+
let f = r2 && c.g ? c.g : null;
|
|
639
|
+
return r2 && (c.g = c[d]), ((e3, t3, r3, l2) => {
|
|
640
|
+
l2 ? t3.data = t3.data.replace(l2, e3) : -1 === t3.data.indexOf(e3) && (t3.data = r3 ? e3 + t3.data : t3.data + e3);
|
|
641
|
+
})(c[d], t2, i2, f), d;
|
|
1772
642
|
};
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
});
|
|
1785
|
-
return rawClassName;
|
|
643
|
+
var p = (e2, t2, r2) => e2.reduce((e3, l2, a2) => {
|
|
644
|
+
let n2 = t2[a2];
|
|
645
|
+
if (n2 && n2.call) {
|
|
646
|
+
let e4 = n2(r2), t3 = e4 && e4.props && e4.props.className || /^go/.test(e4) && e4;
|
|
647
|
+
n2 = t3 ? "." + t3 : e4 && "object" == typeof e4 ? e4.props ? "" : o(e4, "") : false === e4 ? "" : e4;
|
|
648
|
+
}
|
|
649
|
+
return e3 + l2 + (null == n2 ? "" : n2);
|
|
650
|
+
}, "");
|
|
651
|
+
function u(e2) {
|
|
652
|
+
let r2 = this || {}, l2 = e2.call ? e2(r2.p) : e2;
|
|
653
|
+
return i(l2.unshift ? l2.raw ? p(l2, [].slice.call(arguments, 1), r2.p) : l2.reduce((e3, t2) => Object.assign(e3, t2 && t2.call ? t2(r2.p) : t2), {}) : l2, t(r2.target), r2.g, r2.o, r2.k);
|
|
1786
654
|
}
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
if (
|
|
1790
|
-
// we only need to add the styles to the registered cache if the
|
|
1791
|
-
// class name could be used further down
|
|
1792
|
-
// the tree but if it's a string tag, we know it won't
|
|
1793
|
-
// so we don't have to add it to registered cache.
|
|
1794
|
-
// this improves memory usage since we can avoid storing the whole style string
|
|
1795
|
-
(isStringTag === false || // we need to always store it if we're in compat mode and
|
|
1796
|
-
// in node since emotion-server relies on whether a style is in
|
|
1797
|
-
// the registered cache to know whether a style is global or not
|
|
1798
|
-
// also, note that this check will be dead code eliminated in the browser
|
|
1799
|
-
isBrowser === false) && cache2.registered[className2] === void 0
|
|
1800
|
-
) {
|
|
1801
|
-
cache2.registered[className2] = serialized.styles;
|
|
1802
|
-
}
|
|
1803
|
-
};
|
|
1804
|
-
var insertStyles = function insertStyles2(cache2, serialized, isStringTag) {
|
|
1805
|
-
registerStyles(cache2, serialized, isStringTag);
|
|
1806
|
-
var className2 = cache2.key + "-" + serialized.name;
|
|
1807
|
-
if (cache2.inserted[serialized.name] === void 0) {
|
|
1808
|
-
var current = serialized;
|
|
1809
|
-
do {
|
|
1810
|
-
cache2.insert(serialized === current ? "." + className2 : "", current, cache2.sheet, true);
|
|
1811
|
-
current = current.next;
|
|
1812
|
-
} while (current !== void 0);
|
|
1813
|
-
}
|
|
1814
|
-
};
|
|
655
|
+
u.bind({ g: 1 });
|
|
656
|
+
u.bind({ k: 1 });
|
|
1815
657
|
|
|
1816
|
-
// ../../node_modules/.pnpm
|
|
1817
|
-
function
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
658
|
+
// ../../node_modules/.pnpm/clsx@2.0.0/node_modules/clsx/dist/clsx.mjs
|
|
659
|
+
function r(e2) {
|
|
660
|
+
var t2, f, n2 = "";
|
|
661
|
+
if ("string" == typeof e2 || "number" == typeof e2)
|
|
662
|
+
n2 += e2;
|
|
663
|
+
else if ("object" == typeof e2)
|
|
664
|
+
if (Array.isArray(e2))
|
|
665
|
+
for (t2 = 0; t2 < e2.length; t2++)
|
|
666
|
+
e2[t2] && (f = r(e2[t2])) && (n2 && (n2 += " "), n2 += f);
|
|
667
|
+
else
|
|
668
|
+
for (t2 in e2)
|
|
669
|
+
e2[t2] && (n2 && (n2 += " "), n2 += t2);
|
|
670
|
+
return n2;
|
|
1821
671
|
}
|
|
1822
|
-
function
|
|
1823
|
-
var
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
return className2;
|
|
1827
|
-
}
|
|
1828
|
-
return rawClassName + css2(registeredStyles);
|
|
672
|
+
function clsx() {
|
|
673
|
+
for (var e2, t2, f = 0, n2 = ""; f < arguments.length; )
|
|
674
|
+
(e2 = arguments[f++]) && (t2 = r(e2)) && (n2 && (n2 += " "), n2 += t2);
|
|
675
|
+
return n2;
|
|
1829
676
|
}
|
|
1830
|
-
var createEmotion = function createEmotion2(options) {
|
|
1831
|
-
var cache2 = createCache(options);
|
|
1832
|
-
cache2.sheet.speedy = function(value) {
|
|
1833
|
-
if (this.ctr !== 0) {
|
|
1834
|
-
throw new Error("speedy must be changed before any rules are inserted");
|
|
1835
|
-
}
|
|
1836
|
-
this.isSpeedy = value;
|
|
1837
|
-
};
|
|
1838
|
-
cache2.compat = true;
|
|
1839
|
-
var css2 = function css3() {
|
|
1840
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1841
|
-
args[_key] = arguments[_key];
|
|
1842
|
-
}
|
|
1843
|
-
var serialized = serializeStyles(args, cache2.registered, void 0);
|
|
1844
|
-
insertStyles(cache2, serialized, false);
|
|
1845
|
-
return cache2.key + "-" + serialized.name;
|
|
1846
|
-
};
|
|
1847
|
-
var keyframes2 = function keyframes3() {
|
|
1848
|
-
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
1849
|
-
args[_key2] = arguments[_key2];
|
|
1850
|
-
}
|
|
1851
|
-
var serialized = serializeStyles(args, cache2.registered);
|
|
1852
|
-
var animation = "animation-" + serialized.name;
|
|
1853
|
-
insertWithoutScoping(cache2, {
|
|
1854
|
-
name: serialized.name,
|
|
1855
|
-
styles: "@keyframes " + animation + "{" + serialized.styles + "}"
|
|
1856
|
-
});
|
|
1857
|
-
return animation;
|
|
1858
|
-
};
|
|
1859
|
-
var injectGlobal2 = function injectGlobal3() {
|
|
1860
|
-
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
1861
|
-
args[_key3] = arguments[_key3];
|
|
1862
|
-
}
|
|
1863
|
-
var serialized = serializeStyles(args, cache2.registered);
|
|
1864
|
-
insertWithoutScoping(cache2, serialized);
|
|
1865
|
-
};
|
|
1866
|
-
var cx2 = function cx3() {
|
|
1867
|
-
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
1868
|
-
args[_key4] = arguments[_key4];
|
|
1869
|
-
}
|
|
1870
|
-
return merge(cache2.registered, css2, classnames(args));
|
|
1871
|
-
};
|
|
1872
|
-
return {
|
|
1873
|
-
css: css2,
|
|
1874
|
-
cx: cx2,
|
|
1875
|
-
injectGlobal: injectGlobal2,
|
|
1876
|
-
keyframes: keyframes2,
|
|
1877
|
-
hydrate: function hydrate2(ids) {
|
|
1878
|
-
ids.forEach(function(key) {
|
|
1879
|
-
cache2.inserted[key] = true;
|
|
1880
|
-
});
|
|
1881
|
-
},
|
|
1882
|
-
flush: function flush2() {
|
|
1883
|
-
cache2.registered = {};
|
|
1884
|
-
cache2.inserted = {};
|
|
1885
|
-
cache2.sheet.flush();
|
|
1886
|
-
},
|
|
1887
|
-
// $FlowFixMe
|
|
1888
|
-
sheet: cache2.sheet,
|
|
1889
|
-
cache: cache2,
|
|
1890
|
-
getRegisteredStyles: getRegisteredStyles.bind(null, cache2.registered),
|
|
1891
|
-
merge: merge.bind(null, cache2.registered, css2)
|
|
1892
|
-
};
|
|
1893
|
-
};
|
|
1894
|
-
var classnames = function classnames2(args) {
|
|
1895
|
-
var cls = "";
|
|
1896
|
-
for (var i = 0; i < args.length; i++) {
|
|
1897
|
-
var arg = args[i];
|
|
1898
|
-
if (arg == null)
|
|
1899
|
-
continue;
|
|
1900
|
-
var toAdd = void 0;
|
|
1901
|
-
switch (typeof arg) {
|
|
1902
|
-
case "boolean":
|
|
1903
|
-
break;
|
|
1904
|
-
case "object": {
|
|
1905
|
-
if (Array.isArray(arg)) {
|
|
1906
|
-
toAdd = classnames2(arg);
|
|
1907
|
-
} else {
|
|
1908
|
-
toAdd = "";
|
|
1909
|
-
for (var k in arg) {
|
|
1910
|
-
if (arg[k] && k) {
|
|
1911
|
-
toAdd && (toAdd += " ");
|
|
1912
|
-
toAdd += k;
|
|
1913
|
-
}
|
|
1914
|
-
}
|
|
1915
|
-
}
|
|
1916
|
-
break;
|
|
1917
|
-
}
|
|
1918
|
-
default: {
|
|
1919
|
-
toAdd = arg;
|
|
1920
|
-
}
|
|
1921
|
-
}
|
|
1922
|
-
if (toAdd) {
|
|
1923
|
-
cls && (cls += " ");
|
|
1924
|
-
cls += toAdd;
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
return cls;
|
|
1928
|
-
};
|
|
1929
|
-
|
|
1930
|
-
// ../../node_modules/.pnpm/@emotion+css@11.11.0/node_modules/@emotion/css/dist/emotion-css.esm.js
|
|
1931
|
-
var _createEmotion = createEmotion({
|
|
1932
|
-
key: "css"
|
|
1933
|
-
});
|
|
1934
|
-
_createEmotion.flush;
|
|
1935
|
-
_createEmotion.hydrate;
|
|
1936
|
-
var cx = _createEmotion.cx;
|
|
1937
|
-
_createEmotion.merge;
|
|
1938
|
-
_createEmotion.getRegisteredStyles;
|
|
1939
|
-
_createEmotion.injectGlobal;
|
|
1940
|
-
_createEmotion.keyframes;
|
|
1941
|
-
var css = _createEmotion.css;
|
|
1942
|
-
_createEmotion.sheet;
|
|
1943
|
-
_createEmotion.cache;
|
|
1944
677
|
|
|
1945
678
|
// ../../node_modules/.pnpm/@solid-primitives+transition-group@1.0.2_solid-js@1.7.8/node_modules/@solid-primitives/transition-group/dist/index.js
|
|
1946
679
|
var noop = () => {
|
|
@@ -1948,8 +681,8 @@ var noop = () => {
|
|
|
1948
681
|
function createListTransition(source, options) {
|
|
1949
682
|
const initSource = untrack(source);
|
|
1950
683
|
if (isServer) {
|
|
1951
|
-
const
|
|
1952
|
-
return () =>
|
|
684
|
+
const copy2 = initSource.slice();
|
|
685
|
+
return () => copy2;
|
|
1953
686
|
}
|
|
1954
687
|
const { onChange } = options;
|
|
1955
688
|
let prevSet = new Set(options.appear ? void 0 : initSource);
|
|
@@ -1957,29 +690,29 @@ function createListTransition(source, options) {
|
|
|
1957
690
|
const [toRemove, setToRemove] = createSignal([], { equals: false });
|
|
1958
691
|
const [isTransitionPending] = useTransition();
|
|
1959
692
|
const finishRemoved = options.exitMethod === "remove" ? noop : (els) => {
|
|
1960
|
-
setToRemove((
|
|
693
|
+
setToRemove((p2) => (p2.push.apply(p2, els), p2));
|
|
1961
694
|
for (const el of els)
|
|
1962
695
|
exiting.delete(el);
|
|
1963
696
|
};
|
|
1964
|
-
const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el,
|
|
697
|
+
const handleRemoved = options.exitMethod === "remove" ? noop : options.exitMethod === "keep-index" ? (els, el, i2) => els.splice(i2, 0, el) : (els, el) => els.push(el);
|
|
1965
698
|
return createMemo(
|
|
1966
|
-
(
|
|
699
|
+
(prev) => {
|
|
1967
700
|
const elsToRemove = toRemove();
|
|
1968
701
|
const sourceList = source();
|
|
1969
702
|
sourceList[$TRACK];
|
|
1970
703
|
if (untrack(isTransitionPending)) {
|
|
1971
704
|
isTransitionPending();
|
|
1972
|
-
return
|
|
705
|
+
return prev;
|
|
1973
706
|
}
|
|
1974
707
|
if (elsToRemove.length) {
|
|
1975
|
-
const
|
|
708
|
+
const next = prev.filter((e2) => !elsToRemove.includes(e2));
|
|
1976
709
|
elsToRemove.length = 0;
|
|
1977
|
-
onChange({ list:
|
|
1978
|
-
return
|
|
710
|
+
onChange({ list: next, added: [], removed: [], unchanged: next, finishRemoved });
|
|
711
|
+
return next;
|
|
1979
712
|
}
|
|
1980
713
|
return untrack(() => {
|
|
1981
714
|
const nextSet = new Set(sourceList);
|
|
1982
|
-
const
|
|
715
|
+
const next = sourceList.slice();
|
|
1983
716
|
const added = [];
|
|
1984
717
|
const removed = [];
|
|
1985
718
|
const unchanged = [];
|
|
@@ -1987,23 +720,23 @@ function createListTransition(source, options) {
|
|
|
1987
720
|
(prevSet.has(el) ? unchanged : added).push(el);
|
|
1988
721
|
}
|
|
1989
722
|
let nothingChanged = !added.length;
|
|
1990
|
-
for (let
|
|
1991
|
-
const el =
|
|
723
|
+
for (let i2 = 0; i2 < prev.length; i2++) {
|
|
724
|
+
const el = prev[i2];
|
|
1992
725
|
if (!nextSet.has(el)) {
|
|
1993
726
|
if (!exiting.has(el)) {
|
|
1994
727
|
removed.push(el);
|
|
1995
728
|
exiting.add(el);
|
|
1996
729
|
}
|
|
1997
|
-
handleRemoved(
|
|
730
|
+
handleRemoved(next, el, i2);
|
|
1998
731
|
}
|
|
1999
|
-
if (nothingChanged && el !==
|
|
732
|
+
if (nothingChanged && el !== next[i2])
|
|
2000
733
|
nothingChanged = false;
|
|
2001
734
|
}
|
|
2002
735
|
if (!removed.length && nothingChanged)
|
|
2003
|
-
return
|
|
2004
|
-
onChange({ list:
|
|
736
|
+
return prev;
|
|
737
|
+
onChange({ list: next, added, removed, unchanged, finishRemoved });
|
|
2005
738
|
prevSet = nextSet;
|
|
2006
|
-
return
|
|
739
|
+
return next;
|
|
2007
740
|
});
|
|
2008
741
|
},
|
|
2009
742
|
options.appear ? [] : initSource.slice()
|
|
@@ -2012,38 +745,38 @@ function createListTransition(source, options) {
|
|
|
2012
745
|
|
|
2013
746
|
// ../../node_modules/.pnpm/@solid-primitives+utils@6.2.0_solid-js@1.7.8/node_modules/@solid-primitives/utils/dist/chunk/APG4HSEJ.js
|
|
2014
747
|
var noop2 = () => void 0;
|
|
2015
|
-
var isNonNullable = (
|
|
748
|
+
var isNonNullable = (i2) => i2 != null;
|
|
2016
749
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
2017
750
|
var access = (v) => typeof v === "function" && !v.length ? v() : v;
|
|
2018
751
|
var asArray = (value) => Array.isArray(value) ? value : value ? [value] : [];
|
|
2019
|
-
function handleDiffArray(current,
|
|
752
|
+
function handleDiffArray(current, prev, handleAdded, handleRemoved) {
|
|
2020
753
|
const currLength = current.length;
|
|
2021
|
-
const prevLength =
|
|
2022
|
-
let
|
|
754
|
+
const prevLength = prev.length;
|
|
755
|
+
let i2 = 0;
|
|
2023
756
|
if (!prevLength) {
|
|
2024
|
-
for (;
|
|
2025
|
-
handleAdded(current[
|
|
757
|
+
for (; i2 < currLength; i2++)
|
|
758
|
+
handleAdded(current[i2]);
|
|
2026
759
|
return;
|
|
2027
760
|
}
|
|
2028
761
|
if (!currLength) {
|
|
2029
|
-
for (;
|
|
2030
|
-
handleRemoved(
|
|
762
|
+
for (; i2 < prevLength; i2++)
|
|
763
|
+
handleRemoved(prev[i2]);
|
|
2031
764
|
return;
|
|
2032
765
|
}
|
|
2033
|
-
for (;
|
|
2034
|
-
if (
|
|
766
|
+
for (; i2 < prevLength; i2++) {
|
|
767
|
+
if (prev[i2] !== current[i2])
|
|
2035
768
|
break;
|
|
2036
769
|
}
|
|
2037
770
|
let prevEl;
|
|
2038
771
|
let currEl;
|
|
2039
|
-
|
|
2040
|
-
current = current.slice(
|
|
2041
|
-
for (prevEl of
|
|
772
|
+
prev = prev.slice(i2);
|
|
773
|
+
current = current.slice(i2);
|
|
774
|
+
for (prevEl of prev) {
|
|
2042
775
|
if (!current.includes(prevEl))
|
|
2043
776
|
handleRemoved(prevEl);
|
|
2044
777
|
}
|
|
2045
778
|
for (currEl of current) {
|
|
2046
|
-
if (!
|
|
779
|
+
if (!prev.includes(currEl))
|
|
2047
780
|
handleAdded(currEl);
|
|
2048
781
|
}
|
|
2049
782
|
}
|
|
@@ -2096,8 +829,8 @@ function createClassnames(props) {
|
|
|
2096
829
|
function nextFrame(fn) {
|
|
2097
830
|
requestAnimationFrame(() => requestAnimationFrame(fn));
|
|
2098
831
|
}
|
|
2099
|
-
function enterTransition(
|
|
2100
|
-
const { enterClasses, enterActiveClasses, enterToClasses } =
|
|
832
|
+
function enterTransition(classnames, events, el, done) {
|
|
833
|
+
const { enterClasses, enterActiveClasses, enterToClasses } = classnames, { onBeforeEnter, onEnter, onAfterEnter } = events;
|
|
2101
834
|
onBeforeEnter?.(el);
|
|
2102
835
|
el.classList.add(...enterClasses);
|
|
2103
836
|
el.classList.add(...enterActiveClasses);
|
|
@@ -2114,8 +847,8 @@ function enterTransition(classnames3, events, el, done) {
|
|
|
2114
847
|
el.addEventListener("animationend", endTransition);
|
|
2115
848
|
}
|
|
2116
849
|
});
|
|
2117
|
-
function endTransition(
|
|
2118
|
-
if (!
|
|
850
|
+
function endTransition(e2) {
|
|
851
|
+
if (!e2 || e2.target === el) {
|
|
2119
852
|
done?.();
|
|
2120
853
|
el.removeEventListener("transitionend", endTransition);
|
|
2121
854
|
el.removeEventListener("animationend", endTransition);
|
|
@@ -2125,8 +858,8 @@ function enterTransition(classnames3, events, el, done) {
|
|
|
2125
858
|
}
|
|
2126
859
|
}
|
|
2127
860
|
}
|
|
2128
|
-
function exitTransition(
|
|
2129
|
-
const { exitClasses, exitActiveClasses, exitToClasses } =
|
|
861
|
+
function exitTransition(classnames, events, el, done) {
|
|
862
|
+
const { exitClasses, exitActiveClasses, exitToClasses } = classnames, { onBeforeExit, onExit, onAfterExit } = events;
|
|
2130
863
|
if (!el.parentNode)
|
|
2131
864
|
return done?.();
|
|
2132
865
|
onBeforeExit?.(el);
|
|
@@ -2141,8 +874,8 @@ function exitTransition(classnames3, events, el, done) {
|
|
|
2141
874
|
el.addEventListener("animationend", endTransition);
|
|
2142
875
|
}
|
|
2143
876
|
});
|
|
2144
|
-
function endTransition(
|
|
2145
|
-
if (!
|
|
877
|
+
function endTransition(e2) {
|
|
878
|
+
if (!e2 || e2.target === el) {
|
|
2146
879
|
done?.();
|
|
2147
880
|
el.removeEventListener("transitionend", endTransition);
|
|
2148
881
|
el.removeEventListener("animationend", endTransition);
|
|
@@ -2153,12 +886,12 @@ function exitTransition(classnames3, events, el, done) {
|
|
|
2153
886
|
}
|
|
2154
887
|
}
|
|
2155
888
|
var TransitionGroup = (props) => {
|
|
2156
|
-
const
|
|
889
|
+
const classnames = createClassnames(props);
|
|
2157
890
|
return createListTransition(resolveElements(() => props.children).toArray, {
|
|
2158
891
|
appear: props.appear,
|
|
2159
892
|
exitMethod: "keep-index",
|
|
2160
893
|
onChange({ added, removed, finishRemoved, list }) {
|
|
2161
|
-
const classes =
|
|
894
|
+
const classes = classnames();
|
|
2162
895
|
for (const el of added) {
|
|
2163
896
|
enterTransition(classes, props, el);
|
|
2164
897
|
}
|
|
@@ -2182,8 +915,8 @@ var TransitionGroup = (props) => {
|
|
|
2182
915
|
}
|
|
2183
916
|
document.body.offsetHeight;
|
|
2184
917
|
for (const el of moved) {
|
|
2185
|
-
let endTransition2 = function(
|
|
2186
|
-
if (
|
|
918
|
+
let endTransition2 = function(e2) {
|
|
919
|
+
if (e2.target === el || /transform$/.test(e2.propertyName)) {
|
|
2187
920
|
el.removeEventListener("transitionend", endTransition2);
|
|
2188
921
|
el.classList.remove(...classes.moveClasses);
|
|
2189
922
|
}
|
|
@@ -2203,86 +936,86 @@ var TransitionGroup = (props) => {
|
|
|
2203
936
|
// ../../node_modules/.pnpm/@solid-primitives+keyed@1.2.0_solid-js@1.7.8/node_modules/@solid-primitives/keyed/dist/index.js
|
|
2204
937
|
var FALLBACK = Symbol("fallback");
|
|
2205
938
|
function dispose(list) {
|
|
2206
|
-
for (const
|
|
2207
|
-
|
|
939
|
+
for (const o2 of list)
|
|
940
|
+
o2.dispose();
|
|
2208
941
|
}
|
|
2209
942
|
function keyArray(items, keyFn, mapFn, options = {}) {
|
|
2210
943
|
if (isServer) {
|
|
2211
944
|
const itemsRef = items();
|
|
2212
|
-
let
|
|
945
|
+
let s2 = [];
|
|
2213
946
|
if (itemsRef && itemsRef.length) {
|
|
2214
|
-
for (let
|
|
2215
|
-
|
|
947
|
+
for (let i2 = 0, len = itemsRef.length; i2 < len; i2++)
|
|
948
|
+
s2.push(
|
|
2216
949
|
mapFn(
|
|
2217
|
-
() => itemsRef[
|
|
2218
|
-
() =>
|
|
950
|
+
() => itemsRef[i2],
|
|
951
|
+
() => i2
|
|
2219
952
|
)
|
|
2220
953
|
);
|
|
2221
954
|
} else if (options.fallback)
|
|
2222
|
-
|
|
2223
|
-
return () =>
|
|
955
|
+
s2 = [options.fallback()];
|
|
956
|
+
return () => s2;
|
|
2224
957
|
}
|
|
2225
|
-
const
|
|
2226
|
-
onCleanup(() => dispose(
|
|
958
|
+
const prev = /* @__PURE__ */ new Map();
|
|
959
|
+
onCleanup(() => dispose(prev.values()));
|
|
2227
960
|
return () => {
|
|
2228
961
|
const list = items() || [];
|
|
2229
962
|
list[$TRACK];
|
|
2230
963
|
return untrack(() => {
|
|
2231
964
|
if (!list.length) {
|
|
2232
|
-
dispose(
|
|
2233
|
-
|
|
965
|
+
dispose(prev.values());
|
|
966
|
+
prev.clear();
|
|
2234
967
|
if (!options.fallback)
|
|
2235
968
|
return [];
|
|
2236
969
|
const fb2 = createRoot((dispose2) => {
|
|
2237
|
-
|
|
970
|
+
prev.set(FALLBACK, { dispose: dispose2 });
|
|
2238
971
|
return options.fallback();
|
|
2239
972
|
});
|
|
2240
973
|
return [fb2];
|
|
2241
974
|
}
|
|
2242
975
|
const result = new Array(list.length);
|
|
2243
|
-
const fb =
|
|
2244
|
-
if (!
|
|
976
|
+
const fb = prev.get(FALLBACK);
|
|
977
|
+
if (!prev.size || fb) {
|
|
2245
978
|
fb?.dispose();
|
|
2246
|
-
|
|
2247
|
-
for (let
|
|
2248
|
-
const item = list[
|
|
2249
|
-
const key = keyFn(item,
|
|
2250
|
-
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);
|
|
2251
984
|
}
|
|
2252
985
|
return result;
|
|
2253
986
|
}
|
|
2254
|
-
const prevKeys = new Set(
|
|
2255
|
-
for (let
|
|
2256
|
-
const item = list[
|
|
2257
|
-
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);
|
|
2258
991
|
prevKeys.delete(key);
|
|
2259
|
-
const lookup =
|
|
992
|
+
const lookup = prev.get(key);
|
|
2260
993
|
if (lookup) {
|
|
2261
|
-
result[
|
|
2262
|
-
lookup.setIndex?.(
|
|
994
|
+
result[i2] = lookup.mapped;
|
|
995
|
+
lookup.setIndex?.(i2);
|
|
2263
996
|
lookup.setItem(() => item);
|
|
2264
997
|
} else
|
|
2265
|
-
addNewItem(result, item,
|
|
998
|
+
addNewItem(result, item, i2, key);
|
|
2266
999
|
}
|
|
2267
1000
|
for (const key of prevKeys) {
|
|
2268
|
-
|
|
2269
|
-
|
|
1001
|
+
prev.get(key)?.dispose();
|
|
1002
|
+
prev.delete(key);
|
|
2270
1003
|
}
|
|
2271
1004
|
return result;
|
|
2272
1005
|
});
|
|
2273
1006
|
};
|
|
2274
|
-
function addNewItem(list, item,
|
|
1007
|
+
function addNewItem(list, item, i2, key) {
|
|
2275
1008
|
createRoot((dispose2) => {
|
|
2276
1009
|
const [getItem, setItem] = createSignal(item);
|
|
2277
1010
|
const save = { setItem, dispose: dispose2 };
|
|
2278
1011
|
if (mapFn.length > 1) {
|
|
2279
|
-
const [index, setIndex] = createSignal(
|
|
1012
|
+
const [index, setIndex] = createSignal(i2);
|
|
2280
1013
|
save.setIndex = setIndex;
|
|
2281
1014
|
save.mapped = mapFn(getItem, index);
|
|
2282
1015
|
} else
|
|
2283
1016
|
save.mapped = mapFn(getItem);
|
|
2284
|
-
|
|
2285
|
-
list[
|
|
1017
|
+
prev.set(key, save);
|
|
1018
|
+
list[i2] = save.mapped;
|
|
2286
1019
|
});
|
|
2287
1020
|
}
|
|
2288
1021
|
}
|
|
@@ -2308,27 +1041,27 @@ function createStorage(props) {
|
|
|
2308
1041
|
setError(err instanceof Error ? err : new Error(fallback));
|
|
2309
1042
|
};
|
|
2310
1043
|
const apis = props?.api ? Array.isArray(props.api) ? props.api : [props.api] : [globalThis.localStorage].filter(Boolean);
|
|
2311
|
-
const
|
|
1044
|
+
const prefix = props?.prefix ? `${props.prefix}.` : "";
|
|
2312
1045
|
const signals = /* @__PURE__ */ new Map();
|
|
2313
1046
|
const store = new Proxy(
|
|
2314
1047
|
{},
|
|
2315
1048
|
{
|
|
2316
1049
|
get(_, key) {
|
|
2317
|
-
let
|
|
2318
|
-
if (!
|
|
2319
|
-
|
|
2320
|
-
signals.set(key,
|
|
1050
|
+
let node = signals.get(key);
|
|
1051
|
+
if (!node) {
|
|
1052
|
+
node = createSignal(void 0, { equals: false });
|
|
1053
|
+
signals.set(key, node);
|
|
2321
1054
|
}
|
|
2322
|
-
|
|
1055
|
+
node[0]();
|
|
2323
1056
|
const value = apis.reduce(
|
|
2324
1057
|
(result, api) => {
|
|
2325
1058
|
if (result !== null || !api) {
|
|
2326
1059
|
return result;
|
|
2327
1060
|
}
|
|
2328
1061
|
try {
|
|
2329
|
-
return api.getItem(`${
|
|
1062
|
+
return api.getItem(`${prefix}${key}`);
|
|
2330
1063
|
} catch (err) {
|
|
2331
|
-
handleError(err, `Error reading ${
|
|
1064
|
+
handleError(err, `Error reading ${prefix}${key} from ${api["name"]}`);
|
|
2332
1065
|
return null;
|
|
2333
1066
|
}
|
|
2334
1067
|
},
|
|
@@ -2343,22 +1076,22 @@ function createStorage(props) {
|
|
|
2343
1076
|
);
|
|
2344
1077
|
const setter = (key, value, options) => {
|
|
2345
1078
|
const filteredValue = props?.serializer ? props.serializer(value, key, options ?? props.options) : value;
|
|
2346
|
-
const apiKey = `${
|
|
1079
|
+
const apiKey = `${prefix}${key}`;
|
|
2347
1080
|
apis.forEach((api) => {
|
|
2348
1081
|
try {
|
|
2349
1082
|
api.getItem(apiKey) !== filteredValue && api.setItem(apiKey, filteredValue);
|
|
2350
1083
|
} catch (err) {
|
|
2351
|
-
handleError(err, `Error setting ${
|
|
1084
|
+
handleError(err, `Error setting ${prefix}${key} to ${filteredValue} in ${api.name}`);
|
|
2352
1085
|
}
|
|
2353
1086
|
});
|
|
2354
|
-
const
|
|
2355
|
-
|
|
1087
|
+
const node = signals.get(key);
|
|
1088
|
+
node && node[1]();
|
|
2356
1089
|
};
|
|
2357
1090
|
const remove = (key) => apis.forEach((api) => {
|
|
2358
1091
|
try {
|
|
2359
|
-
api.removeItem(`${
|
|
1092
|
+
api.removeItem(`${prefix}${key}`);
|
|
2360
1093
|
} catch (err) {
|
|
2361
|
-
handleError(err, `Error removing ${
|
|
1094
|
+
handleError(err, `Error removing ${prefix}${key} from ${api.name}`);
|
|
2362
1095
|
}
|
|
2363
1096
|
});
|
|
2364
1097
|
const clear = () => apis.forEach((api) => {
|
|
@@ -2505,15 +1238,15 @@ var cookieStorage = addClearMethod({
|
|
|
2505
1238
|
return key;
|
|
2506
1239
|
},
|
|
2507
1240
|
get length() {
|
|
2508
|
-
let
|
|
1241
|
+
let length = 0;
|
|
2509
1242
|
cookieStorage._cookies[0][cookieStorage._cookies[1]].replace(
|
|
2510
1243
|
/(?:^|;)\s*.+?\s*=\s*[^;]+/g,
|
|
2511
1244
|
(found) => {
|
|
2512
|
-
|
|
1245
|
+
length += found ? 1 : 0;
|
|
2513
1246
|
return "";
|
|
2514
1247
|
}
|
|
2515
1248
|
);
|
|
2516
|
-
return
|
|
1249
|
+
return length;
|
|
2517
1250
|
}
|
|
2518
1251
|
});
|
|
2519
1252
|
|
|
@@ -2541,9 +1274,9 @@ function createResizeObserver(targets, onResize, options) {
|
|
|
2541
1274
|
}
|
|
2542
1275
|
}
|
|
2543
1276
|
}, options);
|
|
2544
|
-
createEffect((
|
|
1277
|
+
createEffect((prev) => {
|
|
2545
1278
|
const refs = filterNonNullable(asArray(access(targets)));
|
|
2546
|
-
handleDiffArray(refs,
|
|
1279
|
+
handleDiffArray(refs, prev, observe, unobserve);
|
|
2547
1280
|
return refs;
|
|
2548
1281
|
}, []);
|
|
2549
1282
|
}
|
|
@@ -2888,14 +1621,14 @@ var Registry = (
|
|
|
2888
1621
|
this.generateIdentifier = generateIdentifier;
|
|
2889
1622
|
this.kv = new DoubleIndexedKV();
|
|
2890
1623
|
}
|
|
2891
|
-
Registry2.prototype.register = function(value,
|
|
1624
|
+
Registry2.prototype.register = function(value, identifier) {
|
|
2892
1625
|
if (this.kv.getByValue(value)) {
|
|
2893
1626
|
return;
|
|
2894
1627
|
}
|
|
2895
|
-
if (!
|
|
2896
|
-
|
|
1628
|
+
if (!identifier) {
|
|
1629
|
+
identifier = this.generateIdentifier(value);
|
|
2897
1630
|
}
|
|
2898
|
-
this.kv.set(
|
|
1631
|
+
this.kv.set(identifier, value);
|
|
2899
1632
|
};
|
|
2900
1633
|
Registry2.prototype.clear = function() {
|
|
2901
1634
|
this.kv.clear();
|
|
@@ -2903,8 +1636,8 @@ var Registry = (
|
|
|
2903
1636
|
Registry2.prototype.getIdentifier = function(value) {
|
|
2904
1637
|
return this.kv.getByValue(value);
|
|
2905
1638
|
};
|
|
2906
|
-
Registry2.prototype.getValue = function(
|
|
2907
|
-
return this.kv.getByKey(
|
|
1639
|
+
Registry2.prototype.getValue = function(identifier) {
|
|
1640
|
+
return this.kv.getByKey(identifier);
|
|
2908
1641
|
};
|
|
2909
1642
|
return Registry2;
|
|
2910
1643
|
}()
|
|
@@ -2912,24 +1645,24 @@ var Registry = (
|
|
|
2912
1645
|
|
|
2913
1646
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/class-registry.js
|
|
2914
1647
|
var __extends = function() {
|
|
2915
|
-
var extendStatics = function(d,
|
|
2916
|
-
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2,
|
|
2917
|
-
d2.__proto__ =
|
|
2918
|
-
} || function(d2,
|
|
2919
|
-
for (var
|
|
2920
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
2921
|
-
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];
|
|
2922
1655
|
};
|
|
2923
|
-
return extendStatics(d,
|
|
1656
|
+
return extendStatics(d, b2);
|
|
2924
1657
|
};
|
|
2925
|
-
return function(d,
|
|
2926
|
-
if (typeof
|
|
2927
|
-
throw new TypeError("Class extends value " + String(
|
|
2928
|
-
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);
|
|
2929
1662
|
function __() {
|
|
2930
1663
|
this.constructor = d;
|
|
2931
1664
|
}
|
|
2932
|
-
d.prototype =
|
|
1665
|
+
d.prototype = b2 === null ? Object.create(b2) : (__.prototype = b2.prototype, new __());
|
|
2933
1666
|
};
|
|
2934
1667
|
}();
|
|
2935
1668
|
var ClassRegistry = (
|
|
@@ -2937,8 +1670,8 @@ var ClassRegistry = (
|
|
|
2937
1670
|
function(_super) {
|
|
2938
1671
|
__extends(ClassRegistry2, _super);
|
|
2939
1672
|
function ClassRegistry2() {
|
|
2940
|
-
var _this = _super.call(this, function(
|
|
2941
|
-
return
|
|
1673
|
+
var _this = _super.call(this, function(c2) {
|
|
1674
|
+
return c2.name;
|
|
2942
1675
|
}) || this;
|
|
2943
1676
|
_this.classToAllowedProps = /* @__PURE__ */ new Map();
|
|
2944
1677
|
return _this;
|
|
@@ -2961,23 +1694,23 @@ var ClassRegistry = (
|
|
|
2961
1694
|
);
|
|
2962
1695
|
|
|
2963
1696
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/util.js
|
|
2964
|
-
var __read = function(
|
|
2965
|
-
var m = typeof Symbol === "function" &&
|
|
1697
|
+
var __read = function(o2, n2) {
|
|
1698
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
2966
1699
|
if (!m)
|
|
2967
|
-
return
|
|
2968
|
-
var
|
|
1700
|
+
return o2;
|
|
1701
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
2969
1702
|
try {
|
|
2970
|
-
while ((
|
|
2971
|
-
ar.push(
|
|
1703
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
1704
|
+
ar.push(r2.value);
|
|
2972
1705
|
} catch (error) {
|
|
2973
|
-
|
|
1706
|
+
e2 = { error };
|
|
2974
1707
|
} finally {
|
|
2975
1708
|
try {
|
|
2976
|
-
if (
|
|
2977
|
-
m.call(
|
|
1709
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
1710
|
+
m.call(i2);
|
|
2978
1711
|
} finally {
|
|
2979
|
-
if (
|
|
2980
|
-
throw
|
|
1712
|
+
if (e2)
|
|
1713
|
+
throw e2.error;
|
|
2981
1714
|
}
|
|
2982
1715
|
}
|
|
2983
1716
|
return ar;
|
|
@@ -3000,8 +1733,8 @@ function find(record, predicate) {
|
|
|
3000
1733
|
return values.find(predicate);
|
|
3001
1734
|
}
|
|
3002
1735
|
var valuesNotNever = values;
|
|
3003
|
-
for (var
|
|
3004
|
-
var value = valuesNotNever[
|
|
1736
|
+
for (var i2 = 0; i2 < valuesNotNever.length; i2++) {
|
|
1737
|
+
var value = valuesNotNever[i2];
|
|
3005
1738
|
if (predicate(value)) {
|
|
3006
1739
|
return value;
|
|
3007
1740
|
}
|
|
@@ -3018,8 +1751,8 @@ function includes(arr, value) {
|
|
|
3018
1751
|
return arr.indexOf(value) !== -1;
|
|
3019
1752
|
}
|
|
3020
1753
|
function findArr(record, predicate) {
|
|
3021
|
-
for (var
|
|
3022
|
-
var value = record[
|
|
1754
|
+
for (var i2 = 0; i2 < record.length; i2++) {
|
|
1755
|
+
var value = record[i2];
|
|
3023
1756
|
if (predicate(value)) {
|
|
3024
1757
|
return value;
|
|
3025
1758
|
}
|
|
@@ -3130,21 +1863,21 @@ var stringifyPath = function(path) {
|
|
|
3130
1863
|
var parsePath = function(string) {
|
|
3131
1864
|
var result = [];
|
|
3132
1865
|
var segment = "";
|
|
3133
|
-
for (var
|
|
3134
|
-
var
|
|
3135
|
-
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) === ".";
|
|
3136
1869
|
if (isEscapedDot) {
|
|
3137
1870
|
segment += ".";
|
|
3138
|
-
|
|
1871
|
+
i2++;
|
|
3139
1872
|
continue;
|
|
3140
1873
|
}
|
|
3141
|
-
var isEndOfSegment =
|
|
1874
|
+
var isEndOfSegment = char === ".";
|
|
3142
1875
|
if (isEndOfSegment) {
|
|
3143
1876
|
result.push(segment);
|
|
3144
1877
|
segment = "";
|
|
3145
1878
|
continue;
|
|
3146
1879
|
}
|
|
3147
|
-
segment +=
|
|
1880
|
+
segment += char;
|
|
3148
1881
|
}
|
|
3149
1882
|
var lastSegment = segment;
|
|
3150
1883
|
result.push(lastSegment);
|
|
@@ -3153,41 +1886,41 @@ var parsePath = function(string) {
|
|
|
3153
1886
|
|
|
3154
1887
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/transformer.js
|
|
3155
1888
|
var __assign = function() {
|
|
3156
|
-
__assign = Object.assign || function(
|
|
3157
|
-
for (var
|
|
3158
|
-
|
|
3159
|
-
for (var
|
|
3160
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3161
|
-
|
|
1889
|
+
__assign = Object.assign || function(t2) {
|
|
1890
|
+
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
1891
|
+
s2 = arguments[i2];
|
|
1892
|
+
for (var p2 in s2)
|
|
1893
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
1894
|
+
t2[p2] = s2[p2];
|
|
3162
1895
|
}
|
|
3163
|
-
return
|
|
1896
|
+
return t2;
|
|
3164
1897
|
};
|
|
3165
1898
|
return __assign.apply(this, arguments);
|
|
3166
1899
|
};
|
|
3167
|
-
var __read2 = function(
|
|
3168
|
-
var m = typeof Symbol === "function" &&
|
|
1900
|
+
var __read2 = function(o2, n2) {
|
|
1901
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
3169
1902
|
if (!m)
|
|
3170
|
-
return
|
|
3171
|
-
var
|
|
1903
|
+
return o2;
|
|
1904
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
3172
1905
|
try {
|
|
3173
|
-
while ((
|
|
3174
|
-
ar.push(
|
|
1906
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
1907
|
+
ar.push(r2.value);
|
|
3175
1908
|
} catch (error) {
|
|
3176
|
-
|
|
1909
|
+
e2 = { error };
|
|
3177
1910
|
} finally {
|
|
3178
1911
|
try {
|
|
3179
|
-
if (
|
|
3180
|
-
m.call(
|
|
1912
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
1913
|
+
m.call(i2);
|
|
3181
1914
|
} finally {
|
|
3182
|
-
if (
|
|
3183
|
-
throw
|
|
1915
|
+
if (e2)
|
|
1916
|
+
throw e2.error;
|
|
3184
1917
|
}
|
|
3185
1918
|
}
|
|
3186
1919
|
return ar;
|
|
3187
1920
|
};
|
|
3188
|
-
var __spreadArray = function(to,
|
|
3189
|
-
for (var
|
|
3190
|
-
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];
|
|
3191
1924
|
return to;
|
|
3192
1925
|
};
|
|
3193
1926
|
function simpleTransformation(isApplicable, annotation, transform, untransform) {
|
|
@@ -3228,13 +1961,13 @@ var simpleRules = [
|
|
|
3228
1961
|
});
|
|
3229
1962
|
return baseError;
|
|
3230
1963
|
}, function(v, superJson) {
|
|
3231
|
-
var
|
|
3232
|
-
|
|
3233
|
-
|
|
1964
|
+
var e2 = new Error(v.message);
|
|
1965
|
+
e2.name = v.name;
|
|
1966
|
+
e2.stack = v.stack;
|
|
3234
1967
|
superJson.allowedErrorProps.forEach(function(prop) {
|
|
3235
|
-
|
|
1968
|
+
e2[prop] = v[prop];
|
|
3236
1969
|
});
|
|
3237
|
-
return
|
|
1970
|
+
return e2;
|
|
3238
1971
|
}),
|
|
3239
1972
|
simpleTransformation(isRegExp, "regexp", function(v) {
|
|
3240
1973
|
return "" + v;
|
|
@@ -3291,19 +2024,19 @@ function compositeTransformation(isApplicable, annotation, transform, untransfor
|
|
|
3291
2024
|
untransform
|
|
3292
2025
|
};
|
|
3293
2026
|
}
|
|
3294
|
-
var symbolRule = compositeTransformation(function(
|
|
3295
|
-
if (isSymbol(
|
|
3296
|
-
var isRegistered = !!superJson.symbolRegistry.getIdentifier(
|
|
2027
|
+
var symbolRule = compositeTransformation(function(s2, superJson) {
|
|
2028
|
+
if (isSymbol(s2)) {
|
|
2029
|
+
var isRegistered = !!superJson.symbolRegistry.getIdentifier(s2);
|
|
3297
2030
|
return isRegistered;
|
|
3298
2031
|
}
|
|
3299
2032
|
return false;
|
|
3300
|
-
}, function(
|
|
3301
|
-
var
|
|
3302
|
-
return ["symbol",
|
|
2033
|
+
}, function(s2, superJson) {
|
|
2034
|
+
var identifier = superJson.symbolRegistry.getIdentifier(s2);
|
|
2035
|
+
return ["symbol", identifier];
|
|
3303
2036
|
}, function(v) {
|
|
3304
2037
|
return v.description;
|
|
3305
|
-
}, function(_,
|
|
3306
|
-
var value = superJson.symbolRegistry.getValue(
|
|
2038
|
+
}, function(_, a2, superJson) {
|
|
2039
|
+
var value = superJson.symbolRegistry.getValue(a2[1]);
|
|
3307
2040
|
if (!value) {
|
|
3308
2041
|
throw new Error("Trying to deserialize unknown symbol");
|
|
3309
2042
|
}
|
|
@@ -3327,8 +2060,8 @@ var typedArrayRule = compositeTransformation(isTypedArray, function(v) {
|
|
|
3327
2060
|
return ["typed-array", v.constructor.name];
|
|
3328
2061
|
}, function(v) {
|
|
3329
2062
|
return __spreadArray([], __read2(v));
|
|
3330
|
-
}, function(v,
|
|
3331
|
-
var ctor = constructorToName[
|
|
2063
|
+
}, function(v, a2) {
|
|
2064
|
+
var ctor = constructorToName[a2[1]];
|
|
3332
2065
|
if (!ctor) {
|
|
3333
2066
|
throw new Error("Trying to deserialize unknown typed array");
|
|
3334
2067
|
}
|
|
@@ -3342,8 +2075,8 @@ function isInstanceOfRegisteredClass(potentialClass, superJson) {
|
|
|
3342
2075
|
return false;
|
|
3343
2076
|
}
|
|
3344
2077
|
var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(clazz, superJson) {
|
|
3345
|
-
var
|
|
3346
|
-
return ["class",
|
|
2078
|
+
var identifier = superJson.classRegistry.getIdentifier(clazz.constructor);
|
|
2079
|
+
return ["class", identifier];
|
|
3347
2080
|
}, function(clazz, superJson) {
|
|
3348
2081
|
var allowedProps = superJson.classRegistry.getAllowedProps(clazz.constructor);
|
|
3349
2082
|
if (!allowedProps) {
|
|
@@ -3354,8 +2087,8 @@ var classRule = compositeTransformation(isInstanceOfRegisteredClass, function(cl
|
|
|
3354
2087
|
result[prop] = clazz[prop];
|
|
3355
2088
|
});
|
|
3356
2089
|
return result;
|
|
3357
|
-
}, function(v,
|
|
3358
|
-
var clazz = superJson.classRegistry.getValue(
|
|
2090
|
+
}, function(v, a2, superJson) {
|
|
2091
|
+
var clazz = superJson.classRegistry.getValue(a2[1]);
|
|
3359
2092
|
if (!clazz) {
|
|
3360
2093
|
throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
|
|
3361
2094
|
}
|
|
@@ -3369,8 +2102,8 @@ var customRule = compositeTransformation(function(value, superJson) {
|
|
|
3369
2102
|
}, function(value, superJson) {
|
|
3370
2103
|
var transformer = superJson.customTransformerRegistry.findApplicable(value);
|
|
3371
2104
|
return transformer.serialize(value);
|
|
3372
|
-
}, function(v,
|
|
3373
|
-
var transformer = superJson.customTransformerRegistry.findByName(
|
|
2105
|
+
}, function(v, a2, superJson) {
|
|
2106
|
+
var transformer = superJson.customTransformerRegistry.findByName(a2[1]);
|
|
3374
2107
|
if (!transformer) {
|
|
3375
2108
|
throw new Error("Trying to deserialize unknown custom value");
|
|
3376
2109
|
}
|
|
@@ -3426,11 +2159,11 @@ var untransformValue = function(json, type, superJson) {
|
|
|
3426
2159
|
};
|
|
3427
2160
|
|
|
3428
2161
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/accessDeep.js
|
|
3429
|
-
var getNthKey = function(value,
|
|
2162
|
+
var getNthKey = function(value, n2) {
|
|
3430
2163
|
var keys2 = value.keys();
|
|
3431
|
-
while (
|
|
2164
|
+
while (n2 > 0) {
|
|
3432
2165
|
keys2.next();
|
|
3433
|
-
|
|
2166
|
+
n2--;
|
|
3434
2167
|
}
|
|
3435
2168
|
return keys2.next().value;
|
|
3436
2169
|
};
|
|
@@ -3447,13 +2180,13 @@ function validatePath(path) {
|
|
|
3447
2180
|
}
|
|
3448
2181
|
var getDeep = function(object, path) {
|
|
3449
2182
|
validatePath(path);
|
|
3450
|
-
for (var
|
|
3451
|
-
var key = path[
|
|
2183
|
+
for (var i2 = 0; i2 < path.length; i2++) {
|
|
2184
|
+
var key = path[i2];
|
|
3452
2185
|
if (isSet(object)) {
|
|
3453
2186
|
object = getNthKey(object, +key);
|
|
3454
2187
|
} else if (isMap(object)) {
|
|
3455
2188
|
var row = +key;
|
|
3456
|
-
var type = +path[++
|
|
2189
|
+
var type = +path[++i2] === 0 ? "key" : "value";
|
|
3457
2190
|
var keyOfRow = getNthKey(object, row);
|
|
3458
2191
|
switch (type) {
|
|
3459
2192
|
case "key":
|
|
@@ -3475,8 +2208,8 @@ var setDeep = function(object, path, mapper) {
|
|
|
3475
2208
|
return mapper(object);
|
|
3476
2209
|
}
|
|
3477
2210
|
var parent = object;
|
|
3478
|
-
for (var
|
|
3479
|
-
var key = path[
|
|
2211
|
+
for (var i2 = 0; i2 < path.length - 1; i2++) {
|
|
2212
|
+
var key = path[i2];
|
|
3480
2213
|
if (isArray(parent)) {
|
|
3481
2214
|
var index = +key;
|
|
3482
2215
|
parent = parent[index];
|
|
@@ -3486,12 +2219,12 @@ var setDeep = function(object, path, mapper) {
|
|
|
3486
2219
|
var row = +key;
|
|
3487
2220
|
parent = getNthKey(parent, row);
|
|
3488
2221
|
} else if (isMap(parent)) {
|
|
3489
|
-
var isEnd =
|
|
2222
|
+
var isEnd = i2 === path.length - 2;
|
|
3490
2223
|
if (isEnd) {
|
|
3491
2224
|
break;
|
|
3492
2225
|
}
|
|
3493
2226
|
var row = +key;
|
|
3494
|
-
var type = +path[++
|
|
2227
|
+
var type = +path[++i2] === 0 ? "key" : "value";
|
|
3495
2228
|
var keyOfRow = getNthKey(parent, row);
|
|
3496
2229
|
switch (type) {
|
|
3497
2230
|
case "key":
|
|
@@ -3540,30 +2273,30 @@ var setDeep = function(object, path, mapper) {
|
|
|
3540
2273
|
};
|
|
3541
2274
|
|
|
3542
2275
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/plainer.js
|
|
3543
|
-
var __read3 = function(
|
|
3544
|
-
var m = typeof Symbol === "function" &&
|
|
2276
|
+
var __read3 = function(o2, n2) {
|
|
2277
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
3545
2278
|
if (!m)
|
|
3546
|
-
return
|
|
3547
|
-
var
|
|
2279
|
+
return o2;
|
|
2280
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
3548
2281
|
try {
|
|
3549
|
-
while ((
|
|
3550
|
-
ar.push(
|
|
2282
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
2283
|
+
ar.push(r2.value);
|
|
3551
2284
|
} catch (error) {
|
|
3552
|
-
|
|
2285
|
+
e2 = { error };
|
|
3553
2286
|
} finally {
|
|
3554
2287
|
try {
|
|
3555
|
-
if (
|
|
3556
|
-
m.call(
|
|
2288
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
2289
|
+
m.call(i2);
|
|
3557
2290
|
} finally {
|
|
3558
|
-
if (
|
|
3559
|
-
throw
|
|
2291
|
+
if (e2)
|
|
2292
|
+
throw e2.error;
|
|
3560
2293
|
}
|
|
3561
2294
|
}
|
|
3562
2295
|
return ar;
|
|
3563
2296
|
};
|
|
3564
|
-
var __spreadArray2 = function(to,
|
|
3565
|
-
for (var
|
|
3566
|
-
to[j] =
|
|
2297
|
+
var __spreadArray2 = function(to, from) {
|
|
2298
|
+
for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
|
|
2299
|
+
to[j] = from[i2];
|
|
3567
2300
|
return to;
|
|
3568
2301
|
};
|
|
3569
2302
|
function traverse(tree, walker2, origin) {
|
|
@@ -3639,8 +2372,8 @@ function generateReferentialEqualityAnnotations(identitites) {
|
|
|
3639
2372
|
}
|
|
3640
2373
|
var _a = __read3(paths.map(function(path) {
|
|
3641
2374
|
return path.map(String);
|
|
3642
|
-
}).sort(function(
|
|
3643
|
-
return
|
|
2375
|
+
}).sort(function(a2, b2) {
|
|
2376
|
+
return a2.length - b2.length;
|
|
3644
2377
|
})), shortestPath = _a[0], identicalPaths = _a.slice(1);
|
|
3645
2378
|
if (shortestPath.length === 0) {
|
|
3646
2379
|
rootEqualityPaths = identicalPaths.map(stringifyPath);
|
|
@@ -3746,9 +2479,9 @@ function assignProp(carry, key, newVal, originalObject, includeNonenumerable) {
|
|
|
3746
2479
|
});
|
|
3747
2480
|
}
|
|
3748
2481
|
}
|
|
3749
|
-
function
|
|
2482
|
+
function copy(target, options = {}) {
|
|
3750
2483
|
if (isArray2(target)) {
|
|
3751
|
-
return target.map((item) =>
|
|
2484
|
+
return target.map((item) => copy(item, options));
|
|
3752
2485
|
}
|
|
3753
2486
|
if (!isPlainObject2(target)) {
|
|
3754
2487
|
return target;
|
|
@@ -3760,7 +2493,7 @@ function copy2(target, options = {}) {
|
|
|
3760
2493
|
return carry;
|
|
3761
2494
|
}
|
|
3762
2495
|
const val = target[key];
|
|
3763
|
-
const newVal =
|
|
2496
|
+
const newVal = copy(val, options);
|
|
3764
2497
|
assignProp(carry, key, newVal, target, options.nonenumerable);
|
|
3765
2498
|
return carry;
|
|
3766
2499
|
}, {});
|
|
@@ -3768,41 +2501,41 @@ function copy2(target, options = {}) {
|
|
|
3768
2501
|
|
|
3769
2502
|
// ../../node_modules/.pnpm/superjson@1.12.4/node_modules/superjson/dist/esm/index.js
|
|
3770
2503
|
var __assign2 = function() {
|
|
3771
|
-
__assign2 = Object.assign || function(
|
|
3772
|
-
for (var
|
|
3773
|
-
|
|
3774
|
-
for (var
|
|
3775
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3776
|
-
|
|
2504
|
+
__assign2 = Object.assign || function(t2) {
|
|
2505
|
+
for (var s2, i2 = 1, n2 = arguments.length; i2 < n2; i2++) {
|
|
2506
|
+
s2 = arguments[i2];
|
|
2507
|
+
for (var p2 in s2)
|
|
2508
|
+
if (Object.prototype.hasOwnProperty.call(s2, p2))
|
|
2509
|
+
t2[p2] = s2[p2];
|
|
3777
2510
|
}
|
|
3778
|
-
return
|
|
2511
|
+
return t2;
|
|
3779
2512
|
};
|
|
3780
2513
|
return __assign2.apply(this, arguments);
|
|
3781
2514
|
};
|
|
3782
|
-
var __read4 = function(
|
|
3783
|
-
var m = typeof Symbol === "function" &&
|
|
2515
|
+
var __read4 = function(o2, n2) {
|
|
2516
|
+
var m = typeof Symbol === "function" && o2[Symbol.iterator];
|
|
3784
2517
|
if (!m)
|
|
3785
|
-
return
|
|
3786
|
-
var
|
|
2518
|
+
return o2;
|
|
2519
|
+
var i2 = m.call(o2), r2, ar = [], e2;
|
|
3787
2520
|
try {
|
|
3788
|
-
while ((
|
|
3789
|
-
ar.push(
|
|
2521
|
+
while ((n2 === void 0 || n2-- > 0) && !(r2 = i2.next()).done)
|
|
2522
|
+
ar.push(r2.value);
|
|
3790
2523
|
} catch (error) {
|
|
3791
|
-
|
|
2524
|
+
e2 = { error };
|
|
3792
2525
|
} finally {
|
|
3793
2526
|
try {
|
|
3794
|
-
if (
|
|
3795
|
-
m.call(
|
|
2527
|
+
if (r2 && !r2.done && (m = i2["return"]))
|
|
2528
|
+
m.call(i2);
|
|
3796
2529
|
} finally {
|
|
3797
|
-
if (
|
|
3798
|
-
throw
|
|
2530
|
+
if (e2)
|
|
2531
|
+
throw e2.error;
|
|
3799
2532
|
}
|
|
3800
2533
|
}
|
|
3801
2534
|
return ar;
|
|
3802
2535
|
};
|
|
3803
|
-
var __spreadArray3 = function(to,
|
|
3804
|
-
for (var
|
|
3805
|
-
to[j] =
|
|
2536
|
+
var __spreadArray3 = function(to, from) {
|
|
2537
|
+
for (var i2 = 0, il = from.length, j = to.length; i2 < il; i2++, j++)
|
|
2538
|
+
to[j] = from[i2];
|
|
3806
2539
|
return to;
|
|
3807
2540
|
};
|
|
3808
2541
|
var SuperJSON = (
|
|
@@ -3810,9 +2543,9 @@ var SuperJSON = (
|
|
|
3810
2543
|
function() {
|
|
3811
2544
|
function SuperJSON2() {
|
|
3812
2545
|
this.classRegistry = new ClassRegistry();
|
|
3813
|
-
this.symbolRegistry = new Registry(function(
|
|
2546
|
+
this.symbolRegistry = new Registry(function(s2) {
|
|
3814
2547
|
var _a;
|
|
3815
|
-
return (_a =
|
|
2548
|
+
return (_a = s2.description) !== null && _a !== void 0 ? _a : "";
|
|
3816
2549
|
});
|
|
3817
2550
|
this.customTransformerRegistry = new CustomTransformerRegistry();
|
|
3818
2551
|
this.allowedErrorProps = [];
|
|
@@ -3834,7 +2567,7 @@ var SuperJSON = (
|
|
|
3834
2567
|
};
|
|
3835
2568
|
SuperJSON2.prototype.deserialize = function(payload) {
|
|
3836
2569
|
var json = payload.json, meta = payload.meta;
|
|
3837
|
-
var result =
|
|
2570
|
+
var result = copy(json);
|
|
3838
2571
|
if (meta === null || meta === void 0 ? void 0 : meta.values) {
|
|
3839
2572
|
result = applyValueAnnotations(result, meta.values, this);
|
|
3840
2573
|
}
|
|
@@ -3852,8 +2585,8 @@ var SuperJSON = (
|
|
|
3852
2585
|
SuperJSON2.prototype.registerClass = function(v, options) {
|
|
3853
2586
|
this.classRegistry.register(v, options);
|
|
3854
2587
|
};
|
|
3855
|
-
SuperJSON2.prototype.registerSymbol = function(v,
|
|
3856
|
-
this.symbolRegistry.register(v,
|
|
2588
|
+
SuperJSON2.prototype.registerSymbol = function(v, identifier) {
|
|
2589
|
+
this.symbolRegistry.register(v, identifier);
|
|
3857
2590
|
};
|
|
3858
2591
|
SuperJSON2.prototype.registerCustom = function(transformer, name) {
|
|
3859
2592
|
this.customTransformerRegistry.register(__assign2({ name }, transformer));
|
|
@@ -3878,9 +2611,9 @@ var SuperJSON = (
|
|
|
3878
2611
|
return SuperJSON2;
|
|
3879
2612
|
}()
|
|
3880
2613
|
);
|
|
3881
|
-
var
|
|
2614
|
+
var serialize = SuperJSON.serialize;
|
|
3882
2615
|
SuperJSON.deserialize;
|
|
3883
|
-
var
|
|
2616
|
+
var stringify = SuperJSON.stringify;
|
|
3884
2617
|
SuperJSON.parse;
|
|
3885
2618
|
SuperJSON.registerClass;
|
|
3886
2619
|
SuperJSON.registerCustom;
|
|
@@ -3907,17 +2640,17 @@ function getQueryStatusColorByLabel(label) {
|
|
|
3907
2640
|
var displayValue = (value, beautify = false) => {
|
|
3908
2641
|
const {
|
|
3909
2642
|
json
|
|
3910
|
-
} =
|
|
2643
|
+
} = serialize(value);
|
|
3911
2644
|
return JSON.stringify(json, null, beautify ? 2 : void 0);
|
|
3912
2645
|
};
|
|
3913
2646
|
var getStatusRank = (q) => q.state.fetchStatus !== "idle" ? 0 : !q.getObserversCount() ? 3 : q.isStale() ? 2 : 1;
|
|
3914
|
-
var queryHashSort = (
|
|
3915
|
-
var dateSort = (
|
|
3916
|
-
var statusAndDateSort = (
|
|
3917
|
-
if (getStatusRank(
|
|
3918
|
-
return dateSort(
|
|
2647
|
+
var queryHashSort = (a2, b2) => a2.queryHash.localeCompare(b2.queryHash);
|
|
2648
|
+
var dateSort = (a2, b2) => a2.state.dataUpdatedAt < b2.state.dataUpdatedAt ? 1 : -1;
|
|
2649
|
+
var statusAndDateSort = (a2, b2) => {
|
|
2650
|
+
if (getStatusRank(a2) === getStatusRank(b2)) {
|
|
2651
|
+
return dateSort(a2, b2);
|
|
3919
2652
|
}
|
|
3920
|
-
return getStatusRank(
|
|
2653
|
+
return getStatusRank(a2) > getStatusRank(b2) ? 1 : -1;
|
|
3921
2654
|
};
|
|
3922
2655
|
var sortFns = {
|
|
3923
2656
|
status: statusAndDateSort,
|
|
@@ -3930,64 +2663,68 @@ var convertRemToPixels = (rem) => {
|
|
|
3930
2663
|
|
|
3931
2664
|
// src/icons/index.tsx
|
|
3932
2665
|
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">`);
|
|
3933
|
-
var _tmpl$2 = /* @__PURE__ */ template(`<svg width="
|
|
3934
|
-
var _tmpl$3 = /* @__PURE__ */ template(`<svg width="
|
|
3935
|
-
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
|
|
3936
|
-
var _tmpl$5 = /* @__PURE__ */ template(`<svg
|
|
3937
|
-
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="
|
|
3938
|
-
var _tmpl$7 = /* @__PURE__ */ template(`<svg width="
|
|
3939
|
-
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
|
|
3940
|
-
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="
|
|
3941
|
-
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="
|
|
3942
|
-
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">`);
|
|
2666
|
+
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">`);
|
|
2667
|
+
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">`);
|
|
2668
|
+
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">`);
|
|
2669
|
+
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">`);
|
|
2670
|
+
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">`);
|
|
2671
|
+
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">`);
|
|
2672
|
+
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">`);
|
|
2673
|
+
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">`);
|
|
2674
|
+
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">`);
|
|
2675
|
+
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">`);
|
|
2676
|
+
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">`);
|
|
3943
2677
|
function Search() {
|
|
3944
2678
|
return _tmpl$();
|
|
3945
2679
|
}
|
|
3946
|
-
function
|
|
2680
|
+
function Trash() {
|
|
3947
2681
|
return _tmpl$2();
|
|
3948
2682
|
}
|
|
3949
|
-
function
|
|
2683
|
+
function ChevronDown() {
|
|
3950
2684
|
return _tmpl$3();
|
|
3951
2685
|
}
|
|
3952
|
-
function
|
|
2686
|
+
function ArrowUp() {
|
|
3953
2687
|
return _tmpl$4();
|
|
3954
2688
|
}
|
|
3955
|
-
function
|
|
2689
|
+
function ArrowDown() {
|
|
3956
2690
|
return _tmpl$5();
|
|
3957
2691
|
}
|
|
2692
|
+
function Wifi() {
|
|
2693
|
+
return _tmpl$6();
|
|
2694
|
+
}
|
|
3958
2695
|
function Offline() {
|
|
3959
2696
|
return (() => {
|
|
3960
|
-
const _el$
|
|
2697
|
+
const _el$7 = _tmpl$7();
|
|
3961
2698
|
createRenderEffect((_p$) => {
|
|
3962
2699
|
const _v$ = tokens.colors.yellow[500], _v$2 = tokens.colors.yellow[500];
|
|
3963
|
-
_v$ !== _p$._v$ && setAttribute(_el$
|
|
3964
|
-
_v$2 !== _p$._v$2 && setAttribute(_el$
|
|
2700
|
+
_v$ !== _p$._v$ && setAttribute(_el$7, "stroke", _p$._v$ = _v$);
|
|
2701
|
+
_v$2 !== _p$._v$2 && setAttribute(_el$7, "fill", _p$._v$2 = _v$2);
|
|
3965
2702
|
return _p$;
|
|
3966
2703
|
}, {
|
|
3967
2704
|
_v$: void 0,
|
|
3968
2705
|
_v$2: void 0
|
|
3969
2706
|
});
|
|
3970
|
-
return _el$
|
|
2707
|
+
return _el$7;
|
|
3971
2708
|
})();
|
|
3972
2709
|
}
|
|
3973
2710
|
function Settings() {
|
|
3974
|
-
return _tmpl$
|
|
2711
|
+
return _tmpl$8();
|
|
3975
2712
|
}
|
|
3976
2713
|
function Copier() {
|
|
3977
|
-
return _tmpl$
|
|
2714
|
+
return _tmpl$9();
|
|
3978
2715
|
}
|
|
3979
2716
|
function CopiedCopier() {
|
|
3980
|
-
return _tmpl$
|
|
2717
|
+
return _tmpl$10();
|
|
3981
2718
|
}
|
|
3982
2719
|
function ErrorCopier() {
|
|
3983
|
-
return _tmpl$
|
|
2720
|
+
return _tmpl$11();
|
|
3984
2721
|
}
|
|
3985
2722
|
function TanstackLogo() {
|
|
3986
|
-
return _tmpl$
|
|
2723
|
+
return _tmpl$12();
|
|
3987
2724
|
}
|
|
3988
2725
|
|
|
3989
2726
|
// src/Explorer.tsx
|
|
3990
|
-
var _tmpl$
|
|
2727
|
+
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">`);
|
|
3991
2728
|
var _tmpl$22 = /* @__PURE__ */ template(`<button>`);
|
|
3992
2729
|
var _tmpl$32 = /* @__PURE__ */ template(`<button> <span></span> <span> `);
|
|
3993
2730
|
var _tmpl$42 = /* @__PURE__ */ template(`<div>`);
|
|
@@ -3997,19 +2734,19 @@ var _tmpl$72 = /* @__PURE__ */ template(`<div><div><button> [<!>...<!>]`);
|
|
|
3997
2734
|
function chunkArray(array, size) {
|
|
3998
2735
|
if (size < 1)
|
|
3999
2736
|
return [];
|
|
4000
|
-
let
|
|
2737
|
+
let i2 = 0;
|
|
4001
2738
|
const result = [];
|
|
4002
|
-
while (
|
|
4003
|
-
result.push(array.slice(
|
|
4004
|
-
|
|
2739
|
+
while (i2 < array.length) {
|
|
2740
|
+
result.push(array.slice(i2, i2 + size));
|
|
2741
|
+
i2 = i2 + size;
|
|
4005
2742
|
}
|
|
4006
2743
|
return result;
|
|
4007
2744
|
}
|
|
4008
2745
|
var Expander = (props) => {
|
|
4009
2746
|
const styles = getStyles();
|
|
4010
2747
|
return (() => {
|
|
4011
|
-
const _el$ = _tmpl$
|
|
4012
|
-
createRenderEffect(() => className(_el$,
|
|
2748
|
+
const _el$ = _tmpl$13();
|
|
2749
|
+
createRenderEffect(() => className(_el$, clsx(styles.expander, u`
|
|
4013
2750
|
transform: rotate(${props.expanded ? 90 : 0}deg);
|
|
4014
2751
|
`)));
|
|
4015
2752
|
return _el$;
|
|
@@ -4021,7 +2758,7 @@ var CopyButton = (props) => {
|
|
|
4021
2758
|
return (() => {
|
|
4022
2759
|
const _el$2 = _tmpl$22();
|
|
4023
2760
|
addEventListener(_el$2, "click", copyState() === "NoCopy" ? () => {
|
|
4024
|
-
navigator.clipboard.writeText(
|
|
2761
|
+
navigator.clipboard.writeText(stringify(props.value)).then(() => {
|
|
4025
2762
|
setCopyState("SuccessCopy");
|
|
4026
2763
|
setTimeout(() => {
|
|
4027
2764
|
setCopyState("NoCopy");
|
|
@@ -4082,8 +2819,8 @@ function Explorer(props) {
|
|
|
4082
2819
|
const [expandedPages, setExpandedPages] = createSignal([]);
|
|
4083
2820
|
const subEntries = createMemo(() => {
|
|
4084
2821
|
if (Array.isArray(props.value)) {
|
|
4085
|
-
return props.value.map((d,
|
|
4086
|
-
label:
|
|
2822
|
+
return props.value.map((d, i2) => ({
|
|
2823
|
+
label: i2.toString(),
|
|
4087
2824
|
value: d
|
|
4088
2825
|
}));
|
|
4089
2826
|
} else if (props.value !== null && typeof props.value === "object" && isIterable(props.value) && typeof props.value[Symbol.iterator] === "function") {
|
|
@@ -4093,8 +2830,8 @@ function Explorer(props) {
|
|
|
4093
2830
|
value: val
|
|
4094
2831
|
}));
|
|
4095
2832
|
}
|
|
4096
|
-
return Array.from(props.value, (val,
|
|
4097
|
-
label:
|
|
2833
|
+
return Array.from(props.value, (val, i2) => ({
|
|
2834
|
+
label: i2.toString(),
|
|
4098
2835
|
value: val
|
|
4099
2836
|
}));
|
|
4100
2837
|
} else if (typeof props.value === "object" && props.value !== null) {
|
|
@@ -4292,7 +3029,7 @@ var getStyles = () => {
|
|
|
4292
3029
|
border
|
|
4293
3030
|
} = tokens;
|
|
4294
3031
|
return {
|
|
4295
|
-
entry:
|
|
3032
|
+
entry: u`
|
|
4296
3033
|
& * {
|
|
4297
3034
|
font-size: ${font.size.sm};
|
|
4298
3035
|
font-family: 'Menlo', 'Fira Code', monospace;
|
|
@@ -4302,12 +3039,12 @@ var getStyles = () => {
|
|
|
4302
3039
|
outline: none;
|
|
4303
3040
|
word-break: break-word;
|
|
4304
3041
|
`,
|
|
4305
|
-
subEntry:
|
|
3042
|
+
subEntry: u`
|
|
4306
3043
|
margin: 0 0 0 0.5em;
|
|
4307
3044
|
padding-left: 0.75em;
|
|
4308
3045
|
border-left: 2px solid ${colors.darkGray[400]};
|
|
4309
3046
|
`,
|
|
4310
|
-
expander:
|
|
3047
|
+
expander: u`
|
|
4311
3048
|
& path {
|
|
4312
3049
|
stroke: ${colors.gray[400]};
|
|
4313
3050
|
}
|
|
@@ -4315,7 +3052,7 @@ var getStyles = () => {
|
|
|
4315
3052
|
align-items: center;
|
|
4316
3053
|
transition: all 0.1s ease;
|
|
4317
3054
|
`,
|
|
4318
|
-
expanderButton:
|
|
3055
|
+
expanderButton: u`
|
|
4319
3056
|
cursor: pointer;
|
|
4320
3057
|
color: inherit;
|
|
4321
3058
|
font: inherit;
|
|
@@ -4333,19 +3070,19 @@ var getStyles = () => {
|
|
|
4333
3070
|
outline: 2px solid ${colors.blue[800]};
|
|
4334
3071
|
}
|
|
4335
3072
|
`,
|
|
4336
|
-
info:
|
|
3073
|
+
info: u`
|
|
4337
3074
|
color: ${colors.gray[500]};
|
|
4338
3075
|
font-size: ${font.size.xs};
|
|
4339
3076
|
line-height: ${font.size.xs};
|
|
4340
3077
|
margin-left: ${size[1]};
|
|
4341
3078
|
`,
|
|
4342
|
-
label:
|
|
3079
|
+
label: u`
|
|
4343
3080
|
color: ${colors.gray[300]};
|
|
4344
3081
|
`,
|
|
4345
|
-
value:
|
|
3082
|
+
value: u`
|
|
4346
3083
|
color: ${colors.purple[400]};
|
|
4347
3084
|
`,
|
|
4348
|
-
copyButton:
|
|
3085
|
+
copyButton: u`
|
|
4349
3086
|
background-color: transparent;
|
|
4350
3087
|
border: none;
|
|
4351
3088
|
display: inline-flex;
|
|
@@ -4394,21 +3131,21 @@ var loadFonts = () => {
|
|
|
4394
3131
|
};
|
|
4395
3132
|
|
|
4396
3133
|
// src/Devtools.tsx
|
|
4397
|
-
var _tmpl$
|
|
3134
|
+
var _tmpl$14 = /* @__PURE__ */ template(`<div><div aria-hidden="true"></div><button aria-label="Open Tanstack query devtools">`);
|
|
4398
3135
|
var _tmpl$23 = /* @__PURE__ */ template(`<div>`);
|
|
4399
3136
|
var _tmpl$33 = /* @__PURE__ */ template(`<span>Asc`);
|
|
4400
3137
|
var _tmpl$43 = /* @__PURE__ */ template(`<span>Desc`);
|
|
4401
|
-
var _tmpl$53 = /* @__PURE__ */ template(`<div role="menu" tabindex="-1" aria-labelledby="
|
|
4402
|
-
var _tmpl$63 = /* @__PURE__ */ template(`<aside aria-label="Tanstack query devtools"><div></div><button aria-label="Close tanstack query devtools"></button><div><div><button aria-label="Close Tanstack query devtools"><span>TANSTACK</span><span> v</span></button></div><div><div><div><input aria-label="Filter queries by query key" type="text" placeholder="Filter"></div><div><select></select></div><button></button></div><div><button></button><div><button id="
|
|
3138
|
+
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`);
|
|
3139
|
+
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">`);
|
|
4403
3140
|
var _tmpl$73 = /* @__PURE__ */ template(`<option>Sort by `);
|
|
4404
|
-
var _tmpl$82 = /* @__PURE__ */ template(`<div class="
|
|
4405
|
-
var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="
|
|
4406
|
-
var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="
|
|
4407
|
-
var _tmpl$112 = /* @__PURE__ */ template(`<span>`);
|
|
3141
|
+
var _tmpl$82 = /* @__PURE__ */ template(`<div class="tsqd-query-disabled-indicator">disabled`);
|
|
3142
|
+
var _tmpl$92 = /* @__PURE__ */ template(`<button><div></div><code class="tsqd-query-hash">`);
|
|
3143
|
+
var _tmpl$102 = /* @__PURE__ */ template(`<div role="tooltip" id="tsqd-status-tooltip">`);
|
|
3144
|
+
var _tmpl$112 = /* @__PURE__ */ template(`<span class="tsqd-query-status-tag-label">`);
|
|
4408
3145
|
var _tmpl$122 = /* @__PURE__ */ template(`<button><span></span><span>`);
|
|
4409
3146
|
var _tmpl$132 = /* @__PURE__ */ template(`<button><span></span> Error`);
|
|
4410
|
-
var _tmpl$
|
|
4411
|
-
var _tmpl$15 = /* @__PURE__ */ template(`<div><div>Query Details</div><div><div><pre><code></code></pre><span></span></div><div><span>Observers:</span><span></span></div><div><span>Last Updated:</span><span></span></div></div><div>Actions</div><div><button><span></span>Refetch</button><button><span></span>Invalidate</button><button><span></span>Reset</button><button><span></span> Loading</button></div><div>Data Explorer</div><div></div><div>Query Explorer</div><div>`);
|
|
3147
|
+
var _tmpl$142 = /* @__PURE__ */ template(`<div><span></span>Trigger Error<select><option value="" disabled selected>`);
|
|
3148
|
+
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">`);
|
|
4412
3149
|
var _tmpl$16 = /* @__PURE__ */ template(`<option>`);
|
|
4413
3150
|
var firstBreakpoint = 1024;
|
|
4414
3151
|
var secondBreakpoint = 796;
|
|
@@ -4443,13 +3180,21 @@ var Devtools = () => {
|
|
|
4443
3180
|
const isOpen = createMemo(() => {
|
|
4444
3181
|
return localStore.open === "true" ? true : localStore.open === "false" ? false : useQueryDevtoolsContext().initialIsOpen || INITIAL_IS_OPEN;
|
|
4445
3182
|
});
|
|
4446
|
-
const
|
|
3183
|
+
const position = createMemo(() => {
|
|
4447
3184
|
return localStore.position || useQueryDevtoolsContext().position || POSITION;
|
|
4448
3185
|
});
|
|
3186
|
+
createEffect(() => {
|
|
3187
|
+
const root = document.querySelector(".tsqd-parent-container");
|
|
3188
|
+
const height = localStore.height || DEFAULT_HEIGHT;
|
|
3189
|
+
const width = localStore.width || DEFAULT_WIDTH;
|
|
3190
|
+
const panelPosition = position();
|
|
3191
|
+
root.style.setProperty("--tsqd-panel-height", `${panelPosition === "top" ? "-" : ""}${height}px`);
|
|
3192
|
+
root.style.setProperty("--tsqd-panel-width", `${panelPosition === "left" ? "-" : ""}${width}px`);
|
|
3193
|
+
});
|
|
4449
3194
|
return (() => {
|
|
4450
3195
|
const _el$ = _tmpl$23();
|
|
4451
3196
|
insert(_el$, createComponent(TransitionGroup, {
|
|
4452
|
-
name: "
|
|
3197
|
+
name: "tsqd-panel-transition",
|
|
4453
3198
|
get children() {
|
|
4454
3199
|
return createComponent(Show, {
|
|
4455
3200
|
get when() {
|
|
@@ -4465,44 +3210,44 @@ var Devtools = () => {
|
|
|
4465
3210
|
}
|
|
4466
3211
|
}), null);
|
|
4467
3212
|
insert(_el$, createComponent(TransitionGroup, {
|
|
4468
|
-
name: "
|
|
3213
|
+
name: "tsqd-button-transition",
|
|
4469
3214
|
get children() {
|
|
4470
3215
|
return createComponent(Show, {
|
|
4471
3216
|
get when() {
|
|
4472
3217
|
return !isOpen();
|
|
4473
3218
|
},
|
|
4474
3219
|
get children() {
|
|
4475
|
-
const _el$2 = _tmpl$
|
|
3220
|
+
const _el$2 = _tmpl$14(), _el$3 = _el$2.firstChild, _el$4 = _el$3.nextSibling;
|
|
4476
3221
|
insert(_el$3, createComponent(TanstackLogo, {}));
|
|
4477
3222
|
_el$4.$$click = () => setLocalStore("open", "true");
|
|
4478
3223
|
insert(_el$4, createComponent(TanstackLogo, {}));
|
|
4479
|
-
createRenderEffect(() => className(_el$2,
|
|
3224
|
+
createRenderEffect(() => className(_el$2, clsx(styles.devtoolsBtn, styles[`devtoolsBtn-position-${buttonPosition()}`])));
|
|
4480
3225
|
return _el$2;
|
|
4481
3226
|
}
|
|
4482
3227
|
});
|
|
4483
3228
|
}
|
|
4484
3229
|
}), null);
|
|
4485
|
-
createRenderEffect(() => className(_el$,
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
3230
|
+
createRenderEffect(() => className(_el$, clsx(u`
|
|
3231
|
+
& .tsqd-panel-transition-exit-active,
|
|
3232
|
+
& .tsqd-panel-transition-enter-active {
|
|
3233
|
+
transition: opacity 0.3s, transform 0.3s;
|
|
3234
|
+
}
|
|
4490
3235
|
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
3236
|
+
& .tsqd-panel-transition-exit-to,
|
|
3237
|
+
& .tsqd-panel-transition-enter {
|
|
3238
|
+
${position() === "top" || position() === "bottom" ? `transform: translateY(var(--tsqd-panel-height));` : `transform: translateX(var(--tsqd-panel-width));`}
|
|
3239
|
+
}
|
|
4495
3240
|
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
3241
|
+
& .tsqd-button-transition-exit-active,
|
|
3242
|
+
& .tsqd-button-transition-enter-active {
|
|
3243
|
+
transition: opacity 0.3s, transform 0.3s;
|
|
3244
|
+
}
|
|
4500
3245
|
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
3246
|
+
& .tsqd-button-transition-exit-to,
|
|
3247
|
+
& .tsqd-button-transition-enter {
|
|
3248
|
+
transform: ${buttonPosition() === "top-left" ? `translateX(-72px);` : buttonPosition() === "top-right" ? `translateX(72px);` : `translateY(72px);`};
|
|
3249
|
+
}
|
|
3250
|
+
`, "tsqd-transitions-container")));
|
|
4506
3251
|
return _el$;
|
|
4507
3252
|
})();
|
|
4508
3253
|
};
|
|
@@ -4513,19 +3258,19 @@ var DevtoolsPanel = (props) => {
|
|
|
4513
3258
|
const sortOrder = createMemo(() => Number(props.localStore.sortOrder) || DEFAULT_SORT_ORDER);
|
|
4514
3259
|
const [offline, setOffline] = createSignal(false);
|
|
4515
3260
|
const [settingsOpen, setSettingsOpen] = createSignal(false);
|
|
4516
|
-
const
|
|
3261
|
+
const position = createMemo(() => props.localStore.position || useQueryDevtoolsContext().position || POSITION);
|
|
4517
3262
|
const sortFn = createMemo(() => sortFns[sort()]);
|
|
4518
3263
|
const onlineManager = createMemo(() => useQueryDevtoolsContext().onlineManager);
|
|
4519
|
-
const
|
|
3264
|
+
const cache = createMemo(() => {
|
|
4520
3265
|
return useQueryDevtoolsContext().client.getQueryCache();
|
|
4521
3266
|
});
|
|
4522
3267
|
const queryCount = createSubscribeToQueryCacheBatcher((queryCache) => {
|
|
4523
3268
|
return queryCache().getAll().length;
|
|
4524
3269
|
}, false);
|
|
4525
3270
|
const queries = createMemo(on(() => [queryCount(), props.localStore.filter, sort(), sortOrder()], () => {
|
|
4526
|
-
const curr =
|
|
3271
|
+
const curr = cache().getAll();
|
|
4527
3272
|
const filtered = props.localStore.filter ? curr.filter((item) => rankItem(item.queryHash, props.localStore.filter || "").passed) : [...curr];
|
|
4528
|
-
const sorted = sortFn() ? filtered.sort((
|
|
3273
|
+
const sorted = sortFn() ? filtered.sort((a2, b2) => sortFn()(a2, b2) * sortOrder()) : filtered;
|
|
4529
3274
|
return sorted;
|
|
4530
3275
|
}));
|
|
4531
3276
|
const handleDragStart = (event) => {
|
|
@@ -4544,8 +3289,8 @@ var DevtoolsPanel = (props) => {
|
|
|
4544
3289
|
const minWidth = convertRemToPixels(12);
|
|
4545
3290
|
const runDrag = (moveEvent) => {
|
|
4546
3291
|
moveEvent.preventDefault();
|
|
4547
|
-
if (
|
|
4548
|
-
const valToAdd =
|
|
3292
|
+
if (position() === "left" || position() === "right") {
|
|
3293
|
+
const valToAdd = position() === "right" ? startX - moveEvent.clientX : moveEvent.clientX - startX;
|
|
4549
3294
|
newSize = Math.round(width + valToAdd);
|
|
4550
3295
|
if (newSize < minWidth) {
|
|
4551
3296
|
newSize = minWidth;
|
|
@@ -4556,7 +3301,7 @@ var DevtoolsPanel = (props) => {
|
|
|
4556
3301
|
props.setLocalStore("width", String(newWidth));
|
|
4557
3302
|
}
|
|
4558
3303
|
} else {
|
|
4559
|
-
const valToAdd =
|
|
3304
|
+
const valToAdd = position() === "bottom" ? startY - moveEvent.clientY : moveEvent.clientY - startY;
|
|
4560
3305
|
newSize = Math.round(height + valToAdd);
|
|
4561
3306
|
if (newSize < minHeight) {
|
|
4562
3307
|
newSize = minHeight;
|
|
@@ -4619,7 +3364,7 @@ var DevtoolsPanel = (props) => {
|
|
|
4619
3364
|
});
|
|
4620
3365
|
});
|
|
4621
3366
|
return (() => {
|
|
4622
|
-
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$
|
|
3367
|
+
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;
|
|
4623
3368
|
const _ref$ = panelRef;
|
|
4624
3369
|
typeof _ref$ === "function" ? use(_ref$, _el$5) : panelRef = _el$5;
|
|
4625
3370
|
_el$6.$$mousedown = handleDragStart;
|
|
@@ -4632,13 +3377,13 @@ var DevtoolsPanel = (props) => {
|
|
|
4632
3377
|
insert(_el$12, () => useQueryDevtoolsContext().version, null);
|
|
4633
3378
|
insert(_el$9, createComponent(QueryStatusCount, {}), null);
|
|
4634
3379
|
insert(_el$16, createComponent(Search, {}), _el$17);
|
|
4635
|
-
_el$17.$$input = (
|
|
4636
|
-
_el$19.addEventListener("change", (
|
|
3380
|
+
_el$17.$$input = (e2) => props.setLocalStore("filter", e2.currentTarget.value);
|
|
3381
|
+
_el$19.addEventListener("change", (e2) => props.setLocalStore("sort", e2.currentTarget.value));
|
|
4637
3382
|
insert(_el$19, () => Object.keys(sortFns).map((key) => (() => {
|
|
4638
|
-
const _el$
|
|
4639
|
-
_el$
|
|
4640
|
-
insert(_el$
|
|
4641
|
-
return _el$
|
|
3383
|
+
const _el$41 = _tmpl$73(); _el$41.firstChild;
|
|
3384
|
+
_el$41.value = key;
|
|
3385
|
+
insert(_el$41, key, null);
|
|
3386
|
+
return _el$41;
|
|
4642
3387
|
})()));
|
|
4643
3388
|
insert(_el$18, createComponent(ChevronDown, {}), null);
|
|
4644
3389
|
_el$20.$$click = () => {
|
|
@@ -4661,6 +3406,10 @@ var DevtoolsPanel = (props) => {
|
|
|
4661
3406
|
}
|
|
4662
3407
|
}), null);
|
|
4663
3408
|
_el$24.$$click = () => {
|
|
3409
|
+
cache().clear();
|
|
3410
|
+
};
|
|
3411
|
+
insert(_el$24, createComponent(Trash, {}));
|
|
3412
|
+
_el$25.$$click = () => {
|
|
4664
3413
|
if (offline()) {
|
|
4665
3414
|
onlineManager().setOnline(true);
|
|
4666
3415
|
setOffline(false);
|
|
@@ -4669,50 +3418,50 @@ var DevtoolsPanel = (props) => {
|
|
|
4669
3418
|
setOffline(true);
|
|
4670
3419
|
}
|
|
4671
3420
|
};
|
|
4672
|
-
insert(_el$
|
|
3421
|
+
insert(_el$25, (() => {
|
|
4673
3422
|
const _c$ = createMemo(() => !!offline());
|
|
4674
3423
|
return () => _c$() ? createComponent(Offline, {}) : createComponent(Wifi, {});
|
|
4675
3424
|
})());
|
|
4676
|
-
_el$
|
|
4677
|
-
_el$
|
|
4678
|
-
insert(_el$
|
|
4679
|
-
insert(_el$
|
|
3425
|
+
_el$26.style.setProperty("position", "relative");
|
|
3426
|
+
_el$27.$$click = () => setSettingsOpen((prev) => !prev);
|
|
3427
|
+
insert(_el$27, createComponent(Settings, {}));
|
|
3428
|
+
insert(_el$26, createComponent(Show, {
|
|
4680
3429
|
get when() {
|
|
4681
3430
|
return settingsOpen();
|
|
4682
3431
|
},
|
|
4683
3432
|
get children() {
|
|
4684
|
-
const _el$
|
|
4685
|
-
_el$
|
|
3433
|
+
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;
|
|
3434
|
+
_el$31.$$click = () => {
|
|
4686
3435
|
setDevtoolsPosition("top");
|
|
4687
3436
|
};
|
|
4688
|
-
insert(_el$
|
|
4689
|
-
_el$
|
|
3437
|
+
insert(_el$31, createComponent(ArrowUp, {}), _el$32);
|
|
3438
|
+
_el$33.$$click = () => {
|
|
4690
3439
|
setDevtoolsPosition("bottom");
|
|
4691
3440
|
};
|
|
4692
|
-
insert(_el$
|
|
4693
|
-
_el$
|
|
3441
|
+
insert(_el$33, createComponent(ArrowDown, {}), _el$34);
|
|
3442
|
+
_el$35.$$click = () => {
|
|
4694
3443
|
setDevtoolsPosition("left");
|
|
4695
3444
|
};
|
|
4696
|
-
insert(_el$
|
|
4697
|
-
_el$
|
|
3445
|
+
insert(_el$35, createComponent(ArrowDown, {}), _el$36);
|
|
3446
|
+
_el$37.$$click = () => {
|
|
4698
3447
|
setDevtoolsPosition("right");
|
|
4699
3448
|
};
|
|
4700
|
-
insert(_el$
|
|
3449
|
+
insert(_el$37, createComponent(ArrowDown, {}), _el$38);
|
|
4701
3450
|
createRenderEffect((_p$) => {
|
|
4702
|
-
const _v$ = styles.settingsMenu, _v$2 = styles.settingsMenuHeader, _v$3 = styles.settingsMenuSection;
|
|
4703
|
-
_v$ !== _p$._v$ && className(_el$
|
|
4704
|
-
_v$2 !== _p$._v$2 && className(_el$
|
|
4705
|
-
_v$3 !== _p$._v$3 && className(_el$
|
|
3451
|
+
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");
|
|
3452
|
+
_v$ !== _p$._v$ && className(_el$28, _p$._v$ = _v$);
|
|
3453
|
+
_v$2 !== _p$._v$2 && className(_el$29, _p$._v$2 = _v$2);
|
|
3454
|
+
_v$3 !== _p$._v$3 && className(_el$30, _p$._v$3 = _v$3);
|
|
4706
3455
|
return _p$;
|
|
4707
3456
|
}, {
|
|
4708
3457
|
_v$: void 0,
|
|
4709
3458
|
_v$2: void 0,
|
|
4710
3459
|
_v$3: void 0
|
|
4711
3460
|
});
|
|
4712
|
-
return _el$
|
|
3461
|
+
return _el$28;
|
|
4713
3462
|
}
|
|
4714
3463
|
}), null);
|
|
4715
|
-
insert(_el$
|
|
3464
|
+
insert(_el$40, createComponent(Key, {
|
|
4716
3465
|
by: (q) => q.queryHash,
|
|
4717
3466
|
get each() {
|
|
4718
3467
|
return queries();
|
|
@@ -4732,20 +3481,19 @@ var DevtoolsPanel = (props) => {
|
|
|
4732
3481
|
}
|
|
4733
3482
|
}), null);
|
|
4734
3483
|
createRenderEffect((_p$) => {
|
|
4735
|
-
const _v$4 =
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
3484
|
+
const _v$4 = clsx(styles.panel, styles[`panel-position-${position()}`], u`
|
|
3485
|
+
flex-direction: ${panelWidth() < secondBreakpoint ? "column" : "row"};
|
|
3486
|
+
background-color: ${panelWidth() < secondBreakpoint ? tokens.colors.gray[600] : tokens.colors.darkGray[900]};
|
|
3487
|
+
`, {
|
|
3488
|
+
[u`
|
|
4739
3489
|
min-width: min-content;
|
|
4740
|
-
`
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
` : ""}
|
|
4746
|
-
`}`, _v$10 = cx(styles.row), _v$11 = styles.logo, _v$12 = styles.tanstackLogo, _v$13 = styles.queryFlavorLogo, _v$14 = cx(styles.row, css`
|
|
3490
|
+
`]: panelWidth() < thirdBreakpoint && (position() === "right" || position() === "left")
|
|
3491
|
+
}, "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`
|
|
3492
|
+
height: 50%;
|
|
3493
|
+
max-height: 50%;
|
|
3494
|
+
`, "tsqd-queries-container"), _v$10 = clsx(styles.row, "tsqd-header"), _v$11 = clsx(styles.logo, "tsqd-text-logo-container"), _v$12 = clsx(styles.tanstackLogo, "tsqd-text-logo-tanstack"), _v$13 = clsx(styles.queryFlavorLogo, "tsqd-text-logo-query-flavor"), _v$14 = clsx(styles.row, u`
|
|
4747
3495
|
gap: ${tokens.size[2.5]};
|
|
4748
|
-
|
|
3496
|
+
`, "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");
|
|
4749
3497
|
_v$4 !== _p$._v$4 && className(_el$5, _p$._v$4 = _v$4);
|
|
4750
3498
|
_v$5 !== _p$._v$5 && ((_p$._v$5 = _v$5) != null ? _el$5.style.setProperty("height", _v$5) : _el$5.style.removeProperty("height"));
|
|
4751
3499
|
_v$6 !== _p$._v$6 && ((_p$._v$6 = _v$6) != null ? _el$5.style.setProperty("width", _v$6) : _el$5.style.removeProperty("width"));
|
|
@@ -4764,11 +3512,12 @@ var DevtoolsPanel = (props) => {
|
|
|
4764
3512
|
_v$19 !== _p$._v$19 && setAttribute(_el$20, "aria-pressed", _p$._v$19 = _v$19);
|
|
4765
3513
|
_v$20 !== _p$._v$20 && className(_el$23, _p$._v$20 = _v$20);
|
|
4766
3514
|
_v$21 !== _p$._v$21 && className(_el$24, _p$._v$21 = _v$21);
|
|
4767
|
-
_v$22 !== _p$._v$22 &&
|
|
4768
|
-
_v$23 !== _p$._v$23 && setAttribute(_el$
|
|
4769
|
-
_v$24 !== _p$._v$24 &&
|
|
4770
|
-
_v$25 !== _p$._v$25 &&
|
|
4771
|
-
_v$26 !== _p$._v$26 &&
|
|
3515
|
+
_v$22 !== _p$._v$22 && className(_el$25, _p$._v$22 = _v$22);
|
|
3516
|
+
_v$23 !== _p$._v$23 && setAttribute(_el$25, "aria-label", _p$._v$23 = _v$23);
|
|
3517
|
+
_v$24 !== _p$._v$24 && setAttribute(_el$25, "aria-pressed", _p$._v$24 = _v$24);
|
|
3518
|
+
_v$25 !== _p$._v$25 && className(_el$27, _p$._v$25 = _v$25);
|
|
3519
|
+
_v$26 !== _p$._v$26 && setAttribute(_el$27, "aria-label", _p$._v$26 = _v$26);
|
|
3520
|
+
_v$27 !== _p$._v$27 && className(_el$39, _p$._v$27 = _v$27);
|
|
4772
3521
|
return _p$;
|
|
4773
3522
|
}, {
|
|
4774
3523
|
_v$4: void 0,
|
|
@@ -4793,7 +3542,8 @@ var DevtoolsPanel = (props) => {
|
|
|
4793
3542
|
_v$23: void 0,
|
|
4794
3543
|
_v$24: void 0,
|
|
4795
3544
|
_v$25: void 0,
|
|
4796
|
-
_v$26: void 0
|
|
3545
|
+
_v$26: void 0,
|
|
3546
|
+
_v$27: void 0
|
|
4797
3547
|
});
|
|
4798
3548
|
createRenderEffect(() => _el$17.value = props.localStore.filter || "");
|
|
4799
3549
|
createRenderEffect(() => _el$19.value = sort());
|
|
@@ -4824,11 +3574,11 @@ var QueryRow = (props) => {
|
|
|
4824
3574
|
return queryState();
|
|
4825
3575
|
},
|
|
4826
3576
|
get children() {
|
|
4827
|
-
const _el$
|
|
4828
|
-
_el$
|
|
4829
|
-
insert(_el$
|
|
4830
|
-
insert(_el$
|
|
4831
|
-
insert(_el$
|
|
3577
|
+
const _el$43 = _tmpl$92(), _el$44 = _el$43.firstChild, _el$45 = _el$44.nextSibling;
|
|
3578
|
+
_el$43.$$click = () => setSelectedQueryHash(props.query.queryHash === selectedQueryHash() ? null : props.query.queryHash);
|
|
3579
|
+
insert(_el$44, observers);
|
|
3580
|
+
insert(_el$45, () => props.query.queryHash);
|
|
3581
|
+
insert(_el$43, createComponent(Show, {
|
|
4832
3582
|
get when() {
|
|
4833
3583
|
return isDisabled();
|
|
4834
3584
|
},
|
|
@@ -4837,23 +3587,23 @@ var QueryRow = (props) => {
|
|
|
4837
3587
|
}
|
|
4838
3588
|
}), null);
|
|
4839
3589
|
createRenderEffect((_p$) => {
|
|
4840
|
-
const _v$
|
|
3590
|
+
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`
|
|
4841
3591
|
background-color: ${tokens.colors[color()][700]};
|
|
4842
3592
|
color: ${tokens.colors[color()][300]};
|
|
4843
|
-
` :
|
|
3593
|
+
` : u`
|
|
4844
3594
|
background-color: ${tokens.colors[color()][900]};
|
|
4845
|
-
color: ${tokens.colors[color()][300]}
|
|
4846
|
-
|
|
4847
|
-
_v$
|
|
4848
|
-
_v$
|
|
4849
|
-
_v$
|
|
3595
|
+
color: ${tokens.colors[color()][300]};
|
|
3596
|
+
`, "tsqd-query-observer-count");
|
|
3597
|
+
_v$28 !== _p$._v$28 && className(_el$43, _p$._v$28 = _v$28);
|
|
3598
|
+
_v$29 !== _p$._v$29 && setAttribute(_el$43, "aria-label", _p$._v$29 = _v$29);
|
|
3599
|
+
_v$30 !== _p$._v$30 && className(_el$44, _p$._v$30 = _v$30);
|
|
4850
3600
|
return _p$;
|
|
4851
3601
|
}, {
|
|
4852
|
-
_v$27: void 0,
|
|
4853
3602
|
_v$28: void 0,
|
|
4854
|
-
_v$29: void 0
|
|
3603
|
+
_v$29: void 0,
|
|
3604
|
+
_v$30: void 0
|
|
4855
3605
|
});
|
|
4856
|
-
return _el$
|
|
3606
|
+
return _el$43;
|
|
4857
3607
|
}
|
|
4858
3608
|
});
|
|
4859
3609
|
};
|
|
@@ -4865,44 +3615,44 @@ var QueryStatusCount = () => {
|
|
|
4865
3615
|
const inactive = createSubscribeToQueryCacheBatcher((queryCache) => queryCache().getAll().filter((q) => getQueryStatusLabel(q) === "inactive").length);
|
|
4866
3616
|
const styles = getStyles2();
|
|
4867
3617
|
return (() => {
|
|
4868
|
-
const _el$
|
|
4869
|
-
insert(_el$
|
|
3618
|
+
const _el$47 = _tmpl$23();
|
|
3619
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4870
3620
|
label: "Fresh",
|
|
4871
3621
|
color: "green",
|
|
4872
3622
|
get count() {
|
|
4873
3623
|
return fresh();
|
|
4874
3624
|
}
|
|
4875
3625
|
}), null);
|
|
4876
|
-
insert(_el$
|
|
3626
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4877
3627
|
label: "Fetching",
|
|
4878
3628
|
color: "blue",
|
|
4879
3629
|
get count() {
|
|
4880
3630
|
return fetching();
|
|
4881
3631
|
}
|
|
4882
3632
|
}), null);
|
|
4883
|
-
insert(_el$
|
|
3633
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4884
3634
|
label: "Paused",
|
|
4885
3635
|
color: "purple",
|
|
4886
3636
|
get count() {
|
|
4887
3637
|
return paused();
|
|
4888
3638
|
}
|
|
4889
3639
|
}), null);
|
|
4890
|
-
insert(_el$
|
|
3640
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4891
3641
|
label: "Stale",
|
|
4892
3642
|
color: "yellow",
|
|
4893
3643
|
get count() {
|
|
4894
3644
|
return stale();
|
|
4895
3645
|
}
|
|
4896
3646
|
}), null);
|
|
4897
|
-
insert(_el$
|
|
3647
|
+
insert(_el$47, createComponent(QueryStatus, {
|
|
4898
3648
|
label: "Inactive",
|
|
4899
3649
|
color: "gray",
|
|
4900
3650
|
get count() {
|
|
4901
3651
|
return inactive();
|
|
4902
3652
|
}
|
|
4903
3653
|
}), null);
|
|
4904
|
-
createRenderEffect(() => className(_el$
|
|
4905
|
-
return _el$
|
|
3654
|
+
createRenderEffect(() => className(_el$47, clsx(styles.queryStatusContainer, "tsqd-query-status-container")));
|
|
3655
|
+
return _el$47;
|
|
4906
3656
|
})();
|
|
4907
3657
|
};
|
|
4908
3658
|
var QueryStatus = (props) => {
|
|
@@ -4922,73 +3672,73 @@ var QueryStatus = (props) => {
|
|
|
4922
3672
|
return true;
|
|
4923
3673
|
});
|
|
4924
3674
|
return (() => {
|
|
4925
|
-
const _el$
|
|
3675
|
+
const _el$48 = _tmpl$122(), _el$50 = _el$48.firstChild, _el$52 = _el$50.nextSibling;
|
|
4926
3676
|
const _ref$3 = tagRef;
|
|
4927
|
-
typeof _ref$3 === "function" ? use(_ref$3, _el$
|
|
4928
|
-
_el$
|
|
3677
|
+
typeof _ref$3 === "function" ? use(_ref$3, _el$48) : tagRef = _el$48;
|
|
3678
|
+
_el$48.addEventListener("mouseleave", () => {
|
|
4929
3679
|
setMouseOver(false);
|
|
4930
3680
|
setFocused(false);
|
|
4931
3681
|
});
|
|
4932
|
-
_el$
|
|
4933
|
-
_el$
|
|
4934
|
-
_el$
|
|
4935
|
-
spread(_el$
|
|
3682
|
+
_el$48.addEventListener("mouseenter", () => setMouseOver(true));
|
|
3683
|
+
_el$48.addEventListener("blur", () => setFocused(false));
|
|
3684
|
+
_el$48.addEventListener("focus", () => setFocused(true));
|
|
3685
|
+
spread(_el$48, mergeProps({
|
|
4936
3686
|
get disabled() {
|
|
4937
3687
|
return showLabel();
|
|
4938
3688
|
},
|
|
4939
3689
|
get ["class"]() {
|
|
4940
|
-
return
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
3690
|
+
return clsx(styles.queryStatusTag, !showLabel() && u`
|
|
3691
|
+
cursor: pointer;
|
|
3692
|
+
&:hover {
|
|
3693
|
+
background: ${tokens.colors.darkGray[400]}${tokens.alpha[80]};
|
|
3694
|
+
}
|
|
3695
|
+
`, "tsqd-query-status-tag", `tsqd-query-status-tag-${props.label.toLowerCase()}`);
|
|
4946
3696
|
}
|
|
4947
3697
|
}, () => mouseOver() || focused() ? {
|
|
4948
|
-
"aria-describedby": "
|
|
3698
|
+
"aria-describedby": "tsqd-status-tooltip"
|
|
4949
3699
|
} : {}), false, true);
|
|
4950
|
-
insert(_el$
|
|
3700
|
+
insert(_el$48, createComponent(Show, {
|
|
4951
3701
|
get when() {
|
|
4952
3702
|
return createMemo(() => !!!showLabel())() && (mouseOver() || focused());
|
|
4953
3703
|
},
|
|
4954
3704
|
get children() {
|
|
4955
|
-
const _el$
|
|
4956
|
-
insert(_el$
|
|
4957
|
-
createRenderEffect(() => className(_el$
|
|
4958
|
-
return _el$
|
|
3705
|
+
const _el$49 = _tmpl$102();
|
|
3706
|
+
insert(_el$49, () => props.label);
|
|
3707
|
+
createRenderEffect(() => className(_el$49, clsx(styles.statusTooltip, "tsqd-query-status-tooltip")));
|
|
3708
|
+
return _el$49;
|
|
4959
3709
|
}
|
|
4960
|
-
}), _el$
|
|
4961
|
-
insert(_el$
|
|
3710
|
+
}), _el$50);
|
|
3711
|
+
insert(_el$48, createComponent(Show, {
|
|
4962
3712
|
get when() {
|
|
4963
3713
|
return showLabel();
|
|
4964
3714
|
},
|
|
4965
3715
|
get children() {
|
|
4966
|
-
const _el$
|
|
4967
|
-
insert(_el$
|
|
4968
|
-
return _el$
|
|
3716
|
+
const _el$51 = _tmpl$112();
|
|
3717
|
+
insert(_el$51, () => props.label);
|
|
3718
|
+
return _el$51;
|
|
4969
3719
|
}
|
|
4970
|
-
}), _el$
|
|
4971
|
-
insert(_el$
|
|
3720
|
+
}), _el$52);
|
|
3721
|
+
insert(_el$52, () => props.count);
|
|
4972
3722
|
createRenderEffect((_p$) => {
|
|
4973
|
-
const _v$
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
3723
|
+
const _v$31 = clsx(u`
|
|
3724
|
+
width: ${tokens.size[2]};
|
|
3725
|
+
height: ${tokens.size[2]};
|
|
3726
|
+
border-radius: ${tokens.border.radius.full};
|
|
3727
|
+
background-color: ${tokens.colors[props.color][500]};
|
|
3728
|
+
`, "tsqd-query-status-tag-dot"), _v$32 = clsx(styles.queryStatusCount, props.count > 0 && props.color !== "gray" ? u`
|
|
4979
3729
|
background-color: ${tokens.colors[props.color][900]};
|
|
4980
|
-
color: ${tokens.colors[props.color][300]}
|
|
4981
|
-
` :
|
|
4982
|
-
color: ${tokens.colors["gray"][400]}
|
|
4983
|
-
|
|
4984
|
-
_v$
|
|
4985
|
-
_v$
|
|
3730
|
+
color: ${tokens.colors[props.color][300]};
|
|
3731
|
+
` : u`
|
|
3732
|
+
color: ${tokens.colors["gray"][400]};
|
|
3733
|
+
`, "tsqd-query-status-tag-count");
|
|
3734
|
+
_v$31 !== _p$._v$31 && className(_el$50, _p$._v$31 = _v$31);
|
|
3735
|
+
_v$32 !== _p$._v$32 && className(_el$52, _p$._v$32 = _v$32);
|
|
4986
3736
|
return _p$;
|
|
4987
3737
|
}, {
|
|
4988
|
-
_v$
|
|
4989
|
-
_v$
|
|
3738
|
+
_v$31: void 0,
|
|
3739
|
+
_v$32: void 0
|
|
4990
3740
|
});
|
|
4991
|
-
return _el$
|
|
3741
|
+
return _el$48;
|
|
4992
3742
|
})();
|
|
4993
3743
|
};
|
|
4994
3744
|
var QueryDetails = () => {
|
|
@@ -5054,15 +3804,19 @@ var QueryDetails = () => {
|
|
|
5054
3804
|
return createMemo(() => !!activeQuery())() && activeQueryState();
|
|
5055
3805
|
},
|
|
5056
3806
|
get children() {
|
|
5057
|
-
const _el$
|
|
5058
|
-
insert(_el$
|
|
5059
|
-
insert(_el$
|
|
5060
|
-
insert(_el$
|
|
5061
|
-
insert(_el$
|
|
5062
|
-
_el$
|
|
5063
|
-
_el$
|
|
5064
|
-
_el$
|
|
5065
|
-
_el$
|
|
3807
|
+
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;
|
|
3808
|
+
insert(_el$58, () => displayValue(activeQuery().queryKey, true));
|
|
3809
|
+
insert(_el$59, statusLabel);
|
|
3810
|
+
insert(_el$62, observerCount);
|
|
3811
|
+
insert(_el$65, () => new Date(activeQueryState().dataUpdatedAt).toLocaleTimeString());
|
|
3812
|
+
_el$68.$$click = handleRefetch;
|
|
3813
|
+
_el$70.$$click = () => queryClient.invalidateQueries(activeQuery());
|
|
3814
|
+
_el$72.$$click = () => queryClient.resetQueries(activeQuery());
|
|
3815
|
+
_el$74.$$click = () => {
|
|
3816
|
+
queryClient.removeQueries(activeQuery());
|
|
3817
|
+
setSelectedQueryHash(null);
|
|
3818
|
+
};
|
|
3819
|
+
_el$76.$$click = () => {
|
|
5066
3820
|
if (activeQuery()?.state.data === void 0) {
|
|
5067
3821
|
setRestoringLoading(true);
|
|
5068
3822
|
restoreQueryAfterLoadingOrError();
|
|
@@ -5090,79 +3844,79 @@ var QueryDetails = () => {
|
|
|
5090
3844
|
});
|
|
5091
3845
|
}
|
|
5092
3846
|
};
|
|
5093
|
-
insert(_el$
|
|
5094
|
-
insert(_el$
|
|
3847
|
+
insert(_el$76, () => queryStatus() === "pending" ? "Restore" : "Trigger", _el$78);
|
|
3848
|
+
insert(_el$67, createComponent(Show, {
|
|
5095
3849
|
get when() {
|
|
5096
3850
|
return errorTypes().length === 0 || queryStatus() === "error";
|
|
5097
3851
|
},
|
|
5098
3852
|
get children() {
|
|
5099
|
-
const _el$
|
|
5100
|
-
_el$
|
|
3853
|
+
const _el$79 = _tmpl$132(), _el$80 = _el$79.firstChild, _el$81 = _el$80.nextSibling;
|
|
3854
|
+
_el$79.$$click = () => {
|
|
5101
3855
|
if (!activeQuery().state.error) {
|
|
5102
3856
|
triggerError();
|
|
5103
3857
|
} else {
|
|
5104
3858
|
queryClient.resetQueries(activeQuery());
|
|
5105
3859
|
}
|
|
5106
3860
|
};
|
|
5107
|
-
insert(_el$
|
|
3861
|
+
insert(_el$79, () => queryStatus() === "error" ? "Restore" : "Trigger", _el$81);
|
|
5108
3862
|
createRenderEffect((_p$) => {
|
|
5109
|
-
const _v$
|
|
5110
|
-
|
|
5111
|
-
|
|
3863
|
+
const _v$33 = clsx(u`
|
|
3864
|
+
color: ${tokens.colors.red[400]};
|
|
3865
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error"), _v$34 = queryStatus() === "pending", _v$35 = u`
|
|
5112
3866
|
background-color: ${tokens.colors.red[400]};
|
|
5113
3867
|
`;
|
|
5114
|
-
_v$
|
|
5115
|
-
_v$
|
|
5116
|
-
_v$
|
|
3868
|
+
_v$33 !== _p$._v$33 && className(_el$79, _p$._v$33 = _v$33);
|
|
3869
|
+
_v$34 !== _p$._v$34 && (_el$79.disabled = _p$._v$34 = _v$34);
|
|
3870
|
+
_v$35 !== _p$._v$35 && className(_el$80, _p$._v$35 = _v$35);
|
|
5117
3871
|
return _p$;
|
|
5118
3872
|
}, {
|
|
5119
|
-
_v$32: void 0,
|
|
5120
3873
|
_v$33: void 0,
|
|
5121
|
-
_v$34: void 0
|
|
3874
|
+
_v$34: void 0,
|
|
3875
|
+
_v$35: void 0
|
|
5122
3876
|
});
|
|
5123
|
-
return _el$
|
|
3877
|
+
return _el$79;
|
|
5124
3878
|
}
|
|
5125
3879
|
}), null);
|
|
5126
|
-
insert(_el$
|
|
3880
|
+
insert(_el$67, createComponent(Show, {
|
|
5127
3881
|
get when() {
|
|
5128
3882
|
return !(errorTypes().length === 0 || queryStatus() === "error");
|
|
5129
3883
|
},
|
|
5130
3884
|
get children() {
|
|
5131
|
-
const _el$
|
|
5132
|
-
_el$
|
|
5133
|
-
const errorType = errorTypes().find((
|
|
3885
|
+
const _el$82 = _tmpl$142(), _el$83 = _el$82.firstChild, _el$84 = _el$83.nextSibling, _el$85 = _el$84.nextSibling; _el$85.firstChild;
|
|
3886
|
+
_el$85.addEventListener("change", (e2) => {
|
|
3887
|
+
const errorType = errorTypes().find((t2) => t2.name === e2.currentTarget.value);
|
|
5134
3888
|
triggerError(errorType);
|
|
5135
3889
|
});
|
|
5136
|
-
insert(_el$
|
|
3890
|
+
insert(_el$85, createComponent(For, {
|
|
5137
3891
|
get each() {
|
|
5138
3892
|
return errorTypes();
|
|
5139
3893
|
},
|
|
5140
3894
|
children: (errorType) => (() => {
|
|
5141
|
-
const _el$
|
|
5142
|
-
insert(_el$
|
|
5143
|
-
createRenderEffect(() => _el$
|
|
5144
|
-
return _el$
|
|
3895
|
+
const _el$91 = _tmpl$16();
|
|
3896
|
+
insert(_el$91, () => errorType.name);
|
|
3897
|
+
createRenderEffect(() => _el$91.value = errorType.name);
|
|
3898
|
+
return _el$91;
|
|
5145
3899
|
})()
|
|
5146
3900
|
}), null);
|
|
5147
|
-
insert(_el$
|
|
3901
|
+
insert(_el$82, createComponent(ChevronDown, {}), null);
|
|
5148
3902
|
createRenderEffect((_p$) => {
|
|
5149
|
-
const _v$
|
|
3903
|
+
const _v$36 = clsx(styles.actionsSelect, "tsqd-query-details-actions-btn", "tsqd-query-details-action-error-multiple"), _v$37 = u`
|
|
5150
3904
|
background-color: ${tokens.colors.red[400]};
|
|
5151
|
-
`, _v$
|
|
5152
|
-
_v$
|
|
5153
|
-
_v$
|
|
5154
|
-
_v$
|
|
3905
|
+
`, _v$38 = queryStatus() === "pending";
|
|
3906
|
+
_v$36 !== _p$._v$36 && className(_el$82, _p$._v$36 = _v$36);
|
|
3907
|
+
_v$37 !== _p$._v$37 && className(_el$83, _p$._v$37 = _v$37);
|
|
3908
|
+
_v$38 !== _p$._v$38 && (_el$85.disabled = _p$._v$38 = _v$38);
|
|
5155
3909
|
return _p$;
|
|
5156
3910
|
}, {
|
|
5157
|
-
_v$35: void 0,
|
|
5158
3911
|
_v$36: void 0,
|
|
5159
|
-
_v$37: void 0
|
|
3912
|
+
_v$37: void 0,
|
|
3913
|
+
_v$38: void 0
|
|
5160
3914
|
});
|
|
5161
|
-
return _el$
|
|
3915
|
+
return _el$82;
|
|
5162
3916
|
}
|
|
5163
3917
|
}), null);
|
|
5164
|
-
_el$
|
|
5165
|
-
insert(_el$
|
|
3918
|
+
_el$88.style.setProperty("padding", "0.5rem");
|
|
3919
|
+
insert(_el$88, createComponent(Explorer, {
|
|
5166
3920
|
label: "Data",
|
|
5167
3921
|
defaultExpanded: ["Data"],
|
|
5168
3922
|
get value() {
|
|
@@ -5170,8 +3924,8 @@ var QueryDetails = () => {
|
|
|
5170
3924
|
},
|
|
5171
3925
|
copyable: true
|
|
5172
3926
|
}));
|
|
5173
|
-
_el$
|
|
5174
|
-
insert(_el$
|
|
3927
|
+
_el$90.style.setProperty("padding", "0.5rem");
|
|
3928
|
+
insert(_el$90, createComponent(Explorer, {
|
|
5175
3929
|
label: "Query",
|
|
5176
3930
|
defaultExpanded: ["Query", "queryKey"],
|
|
5177
3931
|
get value() {
|
|
@@ -5179,54 +3933,60 @@ var QueryDetails = () => {
|
|
|
5179
3933
|
}
|
|
5180
3934
|
}));
|
|
5181
3935
|
createRenderEffect((_p$) => {
|
|
5182
|
-
const _v$
|
|
3936
|
+
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`
|
|
5183
3937
|
background-color: ${tokens.colors[color()][700]};
|
|
5184
3938
|
color: ${tokens.colors[color()][300]};
|
|
5185
3939
|
border-color: ${tokens.colors[color()][600]};
|
|
5186
|
-
` :
|
|
3940
|
+
` : u`
|
|
5187
3941
|
background-color: ${tokens.colors[color()][900]};
|
|
5188
3942
|
color: ${tokens.colors[color()][300]};
|
|
5189
3943
|
border-color: ${tokens.colors[color()][600]};
|
|
5190
|
-
`), _v$
|
|
5191
|
-
|
|
5192
|
-
|
|
3944
|
+
`), _v$43 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$44 = clsx(styles.actionsBody, "tsqd-query-details-actions-container"), _v$45 = clsx(u`
|
|
3945
|
+
color: ${tokens.colors.blue[400]};
|
|
3946
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-refetch"), _v$46 = statusLabel() === "fetching", _v$47 = u`
|
|
5193
3947
|
background-color: ${tokens.colors.blue[400]};
|
|
5194
|
-
`, _v$
|
|
5195
|
-
|
|
5196
|
-
|
|
3948
|
+
`, _v$48 = clsx(u`
|
|
3949
|
+
color: ${tokens.colors.yellow[400]};
|
|
3950
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-invalidate"), _v$49 = queryStatus() === "pending", _v$50 = u`
|
|
5197
3951
|
background-color: ${tokens.colors.yellow[400]};
|
|
5198
|
-
`, _v$
|
|
5199
|
-
|
|
5200
|
-
|
|
3952
|
+
`, _v$51 = clsx(u`
|
|
3953
|
+
color: ${tokens.colors.gray[300]};
|
|
3954
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-reset"), _v$52 = queryStatus() === "pending", _v$53 = u`
|
|
5201
3955
|
background-color: ${tokens.colors.gray[400]};
|
|
5202
|
-
`, _v$
|
|
5203
|
-
|
|
5204
|
-
|
|
3956
|
+
`, _v$54 = clsx(u`
|
|
3957
|
+
color: ${tokens.colors.pink[400]};
|
|
3958
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-remove"), _v$55 = statusLabel() === "fetching", _v$56 = u`
|
|
3959
|
+
background-color: ${tokens.colors.pink[400]};
|
|
3960
|
+
`, _v$57 = clsx(u`
|
|
3961
|
+
color: ${tokens.colors.cyan[400]};
|
|
3962
|
+
`, "tsqd-query-details-actions-btn", "tsqd-query-details-action-loading"), _v$58 = restoringLoading(), _v$59 = u`
|
|
5205
3963
|
background-color: ${tokens.colors.cyan[400]};
|
|
5206
|
-
`, _v$
|
|
5207
|
-
_v$38 !== _p$._v$38 && className(_el$52, _p$._v$38 = _v$38);
|
|
3964
|
+
`, _v$60 = clsx(styles.detailsHeader, "tsqd-query-details-header"), _v$61 = clsx(styles.detailsHeader, "tsqd-query-details-header");
|
|
5208
3965
|
_v$39 !== _p$._v$39 && className(_el$53, _p$._v$39 = _v$39);
|
|
5209
3966
|
_v$40 !== _p$._v$40 && className(_el$54, _p$._v$40 = _v$40);
|
|
5210
|
-
_v$41 !== _p$._v$41 && className(_el$
|
|
5211
|
-
_v$42 !== _p$._v$42 && className(_el$
|
|
3967
|
+
_v$41 !== _p$._v$41 && className(_el$55, _p$._v$41 = _v$41);
|
|
3968
|
+
_v$42 !== _p$._v$42 && className(_el$59, _p$._v$42 = _v$42);
|
|
5212
3969
|
_v$43 !== _p$._v$43 && className(_el$66, _p$._v$43 = _v$43);
|
|
5213
3970
|
_v$44 !== _p$._v$44 && className(_el$67, _p$._v$44 = _v$44);
|
|
5214
|
-
_v$45 !== _p$._v$45 && (_el$
|
|
5215
|
-
_v$46 !== _p$._v$46 &&
|
|
3971
|
+
_v$45 !== _p$._v$45 && className(_el$68, _p$._v$45 = _v$45);
|
|
3972
|
+
_v$46 !== _p$._v$46 && (_el$68.disabled = _p$._v$46 = _v$46);
|
|
5216
3973
|
_v$47 !== _p$._v$47 && className(_el$69, _p$._v$47 = _v$47);
|
|
5217
|
-
_v$48 !== _p$._v$48 && (_el$
|
|
5218
|
-
_v$49 !== _p$._v$49 &&
|
|
3974
|
+
_v$48 !== _p$._v$48 && className(_el$70, _p$._v$48 = _v$48);
|
|
3975
|
+
_v$49 !== _p$._v$49 && (_el$70.disabled = _p$._v$49 = _v$49);
|
|
5219
3976
|
_v$50 !== _p$._v$50 && className(_el$71, _p$._v$50 = _v$50);
|
|
5220
|
-
_v$51 !== _p$._v$51 && (_el$
|
|
5221
|
-
_v$52 !== _p$._v$52 &&
|
|
3977
|
+
_v$51 !== _p$._v$51 && className(_el$72, _p$._v$51 = _v$51);
|
|
3978
|
+
_v$52 !== _p$._v$52 && (_el$72.disabled = _p$._v$52 = _v$52);
|
|
5222
3979
|
_v$53 !== _p$._v$53 && className(_el$73, _p$._v$53 = _v$53);
|
|
5223
|
-
_v$54 !== _p$._v$54 && (_el$
|
|
5224
|
-
_v$55 !== _p$._v$55 &&
|
|
5225
|
-
_v$56 !== _p$._v$56 && className(_el$
|
|
5226
|
-
_v$57 !== _p$._v$57 && className(_el$
|
|
3980
|
+
_v$54 !== _p$._v$54 && className(_el$74, _p$._v$54 = _v$54);
|
|
3981
|
+
_v$55 !== _p$._v$55 && (_el$74.disabled = _p$._v$55 = _v$55);
|
|
3982
|
+
_v$56 !== _p$._v$56 && className(_el$75, _p$._v$56 = _v$56);
|
|
3983
|
+
_v$57 !== _p$._v$57 && className(_el$76, _p$._v$57 = _v$57);
|
|
3984
|
+
_v$58 !== _p$._v$58 && (_el$76.disabled = _p$._v$58 = _v$58);
|
|
3985
|
+
_v$59 !== _p$._v$59 && className(_el$77, _p$._v$59 = _v$59);
|
|
3986
|
+
_v$60 !== _p$._v$60 && className(_el$87, _p$._v$60 = _v$60);
|
|
3987
|
+
_v$61 !== _p$._v$61 && className(_el$89, _p$._v$61 = _v$61);
|
|
5227
3988
|
return _p$;
|
|
5228
3989
|
}, {
|
|
5229
|
-
_v$38: void 0,
|
|
5230
3990
|
_v$39: void 0,
|
|
5231
3991
|
_v$40: void 0,
|
|
5232
3992
|
_v$41: void 0,
|
|
@@ -5245,9 +4005,13 @@ var QueryDetails = () => {
|
|
|
5245
4005
|
_v$54: void 0,
|
|
5246
4006
|
_v$55: void 0,
|
|
5247
4007
|
_v$56: void 0,
|
|
5248
|
-
_v$57: void 0
|
|
4008
|
+
_v$57: void 0,
|
|
4009
|
+
_v$58: void 0,
|
|
4010
|
+
_v$59: void 0,
|
|
4011
|
+
_v$60: void 0,
|
|
4012
|
+
_v$61: void 0
|
|
5249
4013
|
});
|
|
5250
|
-
return _el$
|
|
4014
|
+
return _el$53;
|
|
5251
4015
|
}
|
|
5252
4016
|
});
|
|
5253
4017
|
};
|
|
@@ -5297,10 +4061,11 @@ var getStyles2 = () => {
|
|
|
5297
4061
|
border
|
|
5298
4062
|
} = tokens;
|
|
5299
4063
|
return {
|
|
5300
|
-
devtoolsBtn:
|
|
4064
|
+
devtoolsBtn: u`
|
|
5301
4065
|
z-index: 100000;
|
|
5302
4066
|
position: fixed;
|
|
5303
4067
|
padding: 4px;
|
|
4068
|
+
text-align: left;
|
|
5304
4069
|
|
|
5305
4070
|
display: flex;
|
|
5306
4071
|
align-items: center;
|
|
@@ -5350,7 +4115,7 @@ var getStyles2 = () => {
|
|
|
5350
4115
|
}
|
|
5351
4116
|
}
|
|
5352
4117
|
`,
|
|
5353
|
-
panel:
|
|
4118
|
+
panel: u`
|
|
5354
4119
|
position: fixed;
|
|
5355
4120
|
z-index: 9999;
|
|
5356
4121
|
display: flex;
|
|
@@ -5362,23 +4127,23 @@ var getStyles2 = () => {
|
|
|
5362
4127
|
text-transform: none;
|
|
5363
4128
|
}
|
|
5364
4129
|
`,
|
|
5365
|
-
"devtoolsBtn-position-bottom-right":
|
|
4130
|
+
"devtoolsBtn-position-bottom-right": u`
|
|
5366
4131
|
bottom: 12px;
|
|
5367
4132
|
right: 12px;
|
|
5368
4133
|
`,
|
|
5369
|
-
"devtoolsBtn-position-bottom-left":
|
|
4134
|
+
"devtoolsBtn-position-bottom-left": u`
|
|
5370
4135
|
bottom: 12px;
|
|
5371
4136
|
left: 12px;
|
|
5372
4137
|
`,
|
|
5373
|
-
"devtoolsBtn-position-top-left":
|
|
4138
|
+
"devtoolsBtn-position-top-left": u`
|
|
5374
4139
|
top: 12px;
|
|
5375
4140
|
left: 12px;
|
|
5376
4141
|
`,
|
|
5377
|
-
"devtoolsBtn-position-top-right":
|
|
4142
|
+
"devtoolsBtn-position-top-right": u`
|
|
5378
4143
|
top: 12px;
|
|
5379
4144
|
right: 12px;
|
|
5380
4145
|
`,
|
|
5381
|
-
"panel-position-top":
|
|
4146
|
+
"panel-position-top": u`
|
|
5382
4147
|
top: 0;
|
|
5383
4148
|
right: 0;
|
|
5384
4149
|
left: 0;
|
|
@@ -5386,7 +4151,7 @@ var getStyles2 = () => {
|
|
|
5386
4151
|
min-height: 3.5rem;
|
|
5387
4152
|
border-bottom: ${colors.darkGray[300]} 1px solid;
|
|
5388
4153
|
`,
|
|
5389
|
-
"panel-position-bottom":
|
|
4154
|
+
"panel-position-bottom": u`
|
|
5390
4155
|
bottom: 0;
|
|
5391
4156
|
right: 0;
|
|
5392
4157
|
left: 0;
|
|
@@ -5394,21 +4159,21 @@ var getStyles2 = () => {
|
|
|
5394
4159
|
min-height: 3.5rem;
|
|
5395
4160
|
border-top: ${colors.darkGray[300]} 1px solid;
|
|
5396
4161
|
`,
|
|
5397
|
-
"panel-position-right":
|
|
4162
|
+
"panel-position-right": u`
|
|
5398
4163
|
bottom: 0;
|
|
5399
4164
|
right: 0;
|
|
5400
4165
|
top: 0;
|
|
5401
4166
|
border-left: ${colors.darkGray[300]} 1px solid;
|
|
5402
4167
|
max-width: 90%;
|
|
5403
4168
|
`,
|
|
5404
|
-
"panel-position-left":
|
|
4169
|
+
"panel-position-left": u`
|
|
5405
4170
|
bottom: 0;
|
|
5406
4171
|
left: 0;
|
|
5407
4172
|
top: 0;
|
|
5408
4173
|
border-right: ${colors.darkGray[300]} 1px solid;
|
|
5409
4174
|
max-width: 90%;
|
|
5410
4175
|
`,
|
|
5411
|
-
closeBtn:
|
|
4176
|
+
closeBtn: u`
|
|
5412
4177
|
position: absolute;
|
|
5413
4178
|
cursor: pointer;
|
|
5414
4179
|
z-index: 5;
|
|
@@ -5423,7 +4188,7 @@ var getStyles2 = () => {
|
|
|
5423
4188
|
outline: 2px solid ${colors.blue[600]};
|
|
5424
4189
|
}
|
|
5425
4190
|
`,
|
|
5426
|
-
"closeBtn-position-top":
|
|
4191
|
+
"closeBtn-position-top": u`
|
|
5427
4192
|
bottom: 0;
|
|
5428
4193
|
right: ${size[3]};
|
|
5429
4194
|
transform: translate(0, 100%);
|
|
@@ -5448,7 +4213,7 @@ var getStyles2 = () => {
|
|
|
5448
4213
|
transform: rotate(180deg);
|
|
5449
4214
|
}
|
|
5450
4215
|
`,
|
|
5451
|
-
"closeBtn-position-bottom":
|
|
4216
|
+
"closeBtn-position-bottom": u`
|
|
5452
4217
|
top: 0;
|
|
5453
4218
|
right: ${size[3]};
|
|
5454
4219
|
transform: translate(0, -100%);
|
|
@@ -5469,7 +4234,7 @@ var getStyles2 = () => {
|
|
|
5469
4234
|
width: calc(100% + ${size[5]});
|
|
5470
4235
|
}
|
|
5471
4236
|
`,
|
|
5472
|
-
"closeBtn-position-right":
|
|
4237
|
+
"closeBtn-position-right": u`
|
|
5473
4238
|
bottom: ${size[3]};
|
|
5474
4239
|
left: 0;
|
|
5475
4240
|
transform: translate(-100%, 0);
|
|
@@ -5493,7 +4258,7 @@ var getStyles2 = () => {
|
|
|
5493
4258
|
transform: rotate(-90deg);
|
|
5494
4259
|
}
|
|
5495
4260
|
`,
|
|
5496
|
-
"closeBtn-position-left":
|
|
4261
|
+
"closeBtn-position-left": u`
|
|
5497
4262
|
bottom: ${size[3]};
|
|
5498
4263
|
right: 0;
|
|
5499
4264
|
transform: translate(100%, 0);
|
|
@@ -5517,13 +4282,13 @@ var getStyles2 = () => {
|
|
|
5517
4282
|
transform: rotate(90deg);
|
|
5518
4283
|
}
|
|
5519
4284
|
`,
|
|
5520
|
-
queriesContainer:
|
|
4285
|
+
queriesContainer: u`
|
|
5521
4286
|
flex: 1 1 700px;
|
|
5522
4287
|
background-color: ${colors.darkGray[700]};
|
|
5523
4288
|
display: flex;
|
|
5524
4289
|
flex-direction: column;
|
|
5525
4290
|
`,
|
|
5526
|
-
dragHandle:
|
|
4291
|
+
dragHandle: u`
|
|
5527
4292
|
position: absolute;
|
|
5528
4293
|
transition: background-color 0.125s ease;
|
|
5529
4294
|
&:hover {
|
|
@@ -5531,31 +4296,31 @@ var getStyles2 = () => {
|
|
|
5531
4296
|
}
|
|
5532
4297
|
z-index: 4;
|
|
5533
4298
|
`,
|
|
5534
|
-
"dragHandle-position-top":
|
|
4299
|
+
"dragHandle-position-top": u`
|
|
5535
4300
|
bottom: 0;
|
|
5536
4301
|
width: 100%;
|
|
5537
4302
|
height: ${tokens.size[1]};
|
|
5538
4303
|
cursor: ns-resize;
|
|
5539
4304
|
`,
|
|
5540
|
-
"dragHandle-position-bottom":
|
|
4305
|
+
"dragHandle-position-bottom": u`
|
|
5541
4306
|
top: 0;
|
|
5542
4307
|
width: 100%;
|
|
5543
4308
|
height: ${tokens.size[1]};
|
|
5544
4309
|
cursor: ns-resize;
|
|
5545
4310
|
`,
|
|
5546
|
-
"dragHandle-position-right":
|
|
4311
|
+
"dragHandle-position-right": u`
|
|
5547
4312
|
left: 0;
|
|
5548
4313
|
width: ${tokens.size[1]};
|
|
5549
4314
|
height: 100%;
|
|
5550
4315
|
cursor: ew-resize;
|
|
5551
4316
|
`,
|
|
5552
|
-
"dragHandle-position-left":
|
|
4317
|
+
"dragHandle-position-left": u`
|
|
5553
4318
|
right: 0;
|
|
5554
4319
|
width: ${tokens.size[1]};
|
|
5555
4320
|
height: 100%;
|
|
5556
4321
|
cursor: ew-resize;
|
|
5557
4322
|
`,
|
|
5558
|
-
row:
|
|
4323
|
+
row: u`
|
|
5559
4324
|
display: flex;
|
|
5560
4325
|
justify-content: space-between;
|
|
5561
4326
|
padding: ${tokens.size[2.5]} ${tokens.size[3]};
|
|
@@ -5570,7 +4335,7 @@ var getStyles2 = () => {
|
|
|
5570
4335
|
flex-direction: column;
|
|
5571
4336
|
}
|
|
5572
4337
|
`,
|
|
5573
|
-
logo:
|
|
4338
|
+
logo: u`
|
|
5574
4339
|
cursor: pointer;
|
|
5575
4340
|
&:hover {
|
|
5576
4341
|
opacity: 0.7;
|
|
@@ -5581,27 +4346,28 @@ var getStyles2 = () => {
|
|
|
5581
4346
|
outline: 2px solid ${colors.blue[800]};
|
|
5582
4347
|
}
|
|
5583
4348
|
`,
|
|
5584
|
-
tanstackLogo:
|
|
4349
|
+
tanstackLogo: u`
|
|
5585
4350
|
font-size: ${font.size.lg};
|
|
5586
4351
|
font-weight: ${font.weight.extrabold};
|
|
5587
4352
|
line-height: ${font.lineHeight.sm};
|
|
5588
4353
|
white-space: nowrap;
|
|
5589
4354
|
`,
|
|
5590
|
-
queryFlavorLogo:
|
|
4355
|
+
queryFlavorLogo: u`
|
|
5591
4356
|
font-weight: ${font.weight.semibold};
|
|
5592
4357
|
font-size: ${font.size.sm};
|
|
5593
4358
|
background: linear-gradient(to right, #dd524b, #e9a03b);
|
|
5594
4359
|
background-clip: text;
|
|
4360
|
+
-webkit-background-clip: text;
|
|
5595
4361
|
line-height: ${font.lineHeight.xs};
|
|
5596
4362
|
-webkit-text-fill-color: transparent;
|
|
5597
4363
|
white-space: nowrap;
|
|
5598
4364
|
`,
|
|
5599
|
-
queryStatusContainer:
|
|
4365
|
+
queryStatusContainer: u`
|
|
5600
4366
|
display: flex;
|
|
5601
4367
|
gap: ${tokens.size[2]};
|
|
5602
4368
|
height: min-content;
|
|
5603
4369
|
`,
|
|
5604
|
-
queryStatusTag:
|
|
4370
|
+
queryStatusTag: u`
|
|
5605
4371
|
display: flex;
|
|
5606
4372
|
gap: ${tokens.size[1.5]};
|
|
5607
4373
|
background: ${colors.darkGray[500]};
|
|
@@ -5619,11 +4385,8 @@ var getStyles2 = () => {
|
|
|
5619
4385
|
outline-offset: 2px;
|
|
5620
4386
|
outline: 2px solid ${colors.blue[800]};
|
|
5621
4387
|
}
|
|
5622
|
-
& span:nth-child(2) {
|
|
5623
|
-
color: ${colors.gray[300]}${alpha[80]};
|
|
5624
|
-
}
|
|
5625
4388
|
`,
|
|
5626
|
-
statusTooltip:
|
|
4389
|
+
statusTooltip: u`
|
|
5627
4390
|
position: absolute;
|
|
5628
4391
|
z-index: 1;
|
|
5629
4392
|
background-color: ${colors.darkGray[500]};
|
|
@@ -5662,10 +4425,10 @@ var getStyles2 = () => {
|
|
|
5662
4425
|
border-width: 7px;
|
|
5663
4426
|
}
|
|
5664
4427
|
`,
|
|
5665
|
-
selectedQueryRow:
|
|
4428
|
+
selectedQueryRow: u`
|
|
5666
4429
|
background-color: ${colors.darkGray[500]};
|
|
5667
4430
|
`,
|
|
5668
|
-
queryStatusCount:
|
|
4431
|
+
queryStatusCount: u`
|
|
5669
4432
|
padding: 0 8px;
|
|
5670
4433
|
display: flex;
|
|
5671
4434
|
align-items: center;
|
|
@@ -5675,7 +4438,7 @@ var getStyles2 = () => {
|
|
|
5675
4438
|
border-radius: 3px;
|
|
5676
4439
|
font-variant-numeric: tabular-nums;
|
|
5677
4440
|
`,
|
|
5678
|
-
filtersContainer:
|
|
4441
|
+
filtersContainer: u`
|
|
5679
4442
|
display: flex;
|
|
5680
4443
|
gap: ${tokens.size[2.5]};
|
|
5681
4444
|
& > button {
|
|
@@ -5698,7 +4461,7 @@ var getStyles2 = () => {
|
|
|
5698
4461
|
}
|
|
5699
4462
|
}
|
|
5700
4463
|
`,
|
|
5701
|
-
filterInput:
|
|
4464
|
+
filterInput: u`
|
|
5702
4465
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
5703
4466
|
border-radius: ${tokens.border.radius.md};
|
|
5704
4467
|
background-color: ${colors.darkGray[400]};
|
|
@@ -5736,7 +4499,7 @@ var getStyles2 = () => {
|
|
|
5736
4499
|
outline: 2px solid ${colors.blue[800]};
|
|
5737
4500
|
}
|
|
5738
4501
|
`,
|
|
5739
|
-
filterSelect:
|
|
4502
|
+
filterSelect: u`
|
|
5740
4503
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
5741
4504
|
border-radius: ${tokens.border.radius.md};
|
|
5742
4505
|
background-color: ${colors.darkGray[400]};
|
|
@@ -5768,15 +4531,15 @@ var getStyles2 = () => {
|
|
|
5768
4531
|
outline: 2px solid ${colors.blue[800]};
|
|
5769
4532
|
}
|
|
5770
4533
|
`,
|
|
5771
|
-
actionsContainer:
|
|
4534
|
+
actionsContainer: u`
|
|
5772
4535
|
display: flex;
|
|
5773
4536
|
gap: ${tokens.size[2.5]};
|
|
5774
4537
|
`,
|
|
5775
|
-
actionsBtn:
|
|
4538
|
+
actionsBtn: u`
|
|
5776
4539
|
border-radius: ${tokens.border.radius.md};
|
|
5777
4540
|
background-color: ${colors.darkGray[400]};
|
|
5778
|
-
width: 2.125rem;
|
|
5779
|
-
height: 2.125rem;
|
|
4541
|
+
width: 2.125rem;
|
|
4542
|
+
height: 2.125rem;
|
|
5780
4543
|
justify-content: center;
|
|
5781
4544
|
display: flex;
|
|
5782
4545
|
align-items: center;
|
|
@@ -5798,7 +4561,7 @@ var getStyles2 = () => {
|
|
|
5798
4561
|
outline: 2px solid ${colors.blue[800]};
|
|
5799
4562
|
}
|
|
5800
4563
|
`,
|
|
5801
|
-
overflowQueryContainer:
|
|
4564
|
+
overflowQueryContainer: u`
|
|
5802
4565
|
flex: 1;
|
|
5803
4566
|
overflow-y: auto;
|
|
5804
4567
|
& > div {
|
|
@@ -5806,27 +4569,30 @@ var getStyles2 = () => {
|
|
|
5806
4569
|
flex-direction: column;
|
|
5807
4570
|
}
|
|
5808
4571
|
`,
|
|
5809
|
-
queryRow:
|
|
4572
|
+
queryRow: u`
|
|
5810
4573
|
display: flex;
|
|
5811
4574
|
align-items: center;
|
|
5812
4575
|
padding: 0;
|
|
5813
4576
|
background-color: inherit;
|
|
5814
4577
|
border: none;
|
|
5815
4578
|
cursor: pointer;
|
|
4579
|
+
&:focus {
|
|
4580
|
+
outline: none;
|
|
4581
|
+
}
|
|
5816
4582
|
&:focus-visible {
|
|
5817
4583
|
outline-offset: -2px;
|
|
5818
4584
|
border-radius: ${border.radius.xs};
|
|
5819
4585
|
outline: 2px solid ${colors.blue[800]};
|
|
5820
4586
|
}
|
|
5821
|
-
&:hover .
|
|
4587
|
+
&:hover .tsqd-query-hash {
|
|
5822
4588
|
background-color: ${colors.darkGray[600]};
|
|
5823
4589
|
}
|
|
5824
4590
|
|
|
5825
|
-
& .
|
|
4591
|
+
& .tsqd-query-observer-count {
|
|
5826
4592
|
padding: 0 ${tokens.size[1]};
|
|
5827
4593
|
user-select: none;
|
|
5828
4594
|
min-width: ${tokens.size[8]};
|
|
5829
|
-
align-self: stretch
|
|
4595
|
+
align-self: stretch;
|
|
5830
4596
|
display: flex;
|
|
5831
4597
|
align-items: center;
|
|
5832
4598
|
justify-content: center;
|
|
@@ -5834,7 +4600,7 @@ var getStyles2 = () => {
|
|
|
5834
4600
|
font-weight: ${font.weight.medium};
|
|
5835
4601
|
border-bottom: 1px solid ${colors.darkGray[700]};
|
|
5836
4602
|
}
|
|
5837
|
-
& .
|
|
4603
|
+
& .tsqd-query-hash {
|
|
5838
4604
|
user-select: text;
|
|
5839
4605
|
font-size: ${font.size.sm};
|
|
5840
4606
|
display: flex;
|
|
@@ -5842,16 +4608,15 @@ var getStyles2 = () => {
|
|
|
5842
4608
|
min-height: ${tokens.size[8]};
|
|
5843
4609
|
flex: 1;
|
|
5844
4610
|
padding: ${tokens.size[1]} ${tokens.size[2]};
|
|
5845
|
-
font-family: 'Menlo', 'Fira Code', monospace
|
|
4611
|
+
font-family: 'Menlo', 'Fira Code', monospace;
|
|
5846
4612
|
border-bottom: 1px solid ${colors.darkGray[400]};
|
|
5847
4613
|
text-align: left;
|
|
5848
4614
|
text-overflow: clip;
|
|
5849
4615
|
word-break: break-word;
|
|
5850
4616
|
}
|
|
5851
4617
|
|
|
5852
|
-
& .
|
|
4618
|
+
& .tsqd-query-disabled-indicator {
|
|
5853
4619
|
align-self: stretch;
|
|
5854
|
-
align-self: stretch !important;
|
|
5855
4620
|
display: flex;
|
|
5856
4621
|
align-items: center;
|
|
5857
4622
|
padding: 0 ${tokens.size[3]};
|
|
@@ -5861,15 +4626,16 @@ var getStyles2 = () => {
|
|
|
5861
4626
|
font-size: ${font.size.sm};
|
|
5862
4627
|
}
|
|
5863
4628
|
`,
|
|
5864
|
-
detailsContainer:
|
|
4629
|
+
detailsContainer: u`
|
|
5865
4630
|
flex: 1 1 700px;
|
|
5866
4631
|
background-color: ${colors.darkGray[700]};
|
|
5867
4632
|
display: flex;
|
|
5868
4633
|
flex-direction: column;
|
|
5869
4634
|
overflow-y: auto;
|
|
5870
4635
|
display: flex;
|
|
4636
|
+
text-align: left;
|
|
5871
4637
|
`,
|
|
5872
|
-
detailsHeader:
|
|
4638
|
+
detailsHeader: u`
|
|
5873
4639
|
position: sticky;
|
|
5874
4640
|
top: 0;
|
|
5875
4641
|
z-index: 2;
|
|
@@ -5877,8 +4643,9 @@ var getStyles2 = () => {
|
|
|
5877
4643
|
padding: ${tokens.size[2]} ${tokens.size[2]};
|
|
5878
4644
|
font-weight: ${font.weight.medium};
|
|
5879
4645
|
font-size: ${font.size.sm};
|
|
4646
|
+
text-align: left;
|
|
5880
4647
|
`,
|
|
5881
|
-
detailsBody:
|
|
4648
|
+
detailsBody: u`
|
|
5882
4649
|
margin: ${tokens.size[2]} 0px ${tokens.size[3]} 0px;
|
|
5883
4650
|
& > div {
|
|
5884
4651
|
display: flex;
|
|
@@ -5899,19 +4666,19 @@ var getStyles2 = () => {
|
|
|
5899
4666
|
}
|
|
5900
4667
|
|
|
5901
4668
|
& code {
|
|
5902
|
-
font-family: 'Menlo', 'Fira Code', monospace
|
|
4669
|
+
font-family: 'Menlo', 'Fira Code', monospace;
|
|
5903
4670
|
margin: 0;
|
|
5904
4671
|
font-size: ${font.size.sm};
|
|
5905
4672
|
line-height: ${font.lineHeight.sm};
|
|
5906
4673
|
}
|
|
5907
4674
|
`,
|
|
5908
|
-
queryDetailsStatus:
|
|
4675
|
+
queryDetailsStatus: u`
|
|
5909
4676
|
border: 1px solid ${colors.darkGray[200]};
|
|
5910
4677
|
border-radius: ${tokens.border.radius.md};
|
|
5911
4678
|
font-weight: ${font.weight.medium};
|
|
5912
4679
|
padding: ${tokens.size[1]} ${tokens.size[2.5]};
|
|
5913
4680
|
`,
|
|
5914
|
-
actionsBody:
|
|
4681
|
+
actionsBody: u`
|
|
5915
4682
|
flex-wrap: wrap;
|
|
5916
4683
|
margin: ${tokens.size[3]} 0px ${tokens.size[3]} 0px;
|
|
5917
4684
|
display: flex;
|
|
@@ -5950,7 +4717,7 @@ var getStyles2 = () => {
|
|
|
5950
4717
|
}
|
|
5951
4718
|
}
|
|
5952
4719
|
`,
|
|
5953
|
-
actionsSelect:
|
|
4720
|
+
actionsSelect: u`
|
|
5954
4721
|
font-size: ${font.size.sm};
|
|
5955
4722
|
padding: ${tokens.size[2]} ${tokens.size[2]};
|
|
5956
4723
|
display: flex;
|
|
@@ -5992,10 +4759,10 @@ var getStyles2 = () => {
|
|
|
5992
4759
|
}
|
|
5993
4760
|
|
|
5994
4761
|
& svg path {
|
|
5995
|
-
stroke: ${tokens.colors.red[400]}
|
|
4762
|
+
stroke: ${tokens.colors.red[400]};
|
|
5996
4763
|
}
|
|
5997
4764
|
`,
|
|
5998
|
-
settingsMenu:
|
|
4765
|
+
settingsMenu: u`
|
|
5999
4766
|
position: absolute;
|
|
6000
4767
|
top: calc(100% + ${tokens.size[2]});
|
|
6001
4768
|
border-radius: ${tokens.border.radius.lg};
|
|
@@ -6007,12 +4774,12 @@ var getStyles2 = () => {
|
|
|
6007
4774
|
color: ${colors.gray[500]};
|
|
6008
4775
|
z-index: 7;
|
|
6009
4776
|
`,
|
|
6010
|
-
settingsMenuHeader:
|
|
4777
|
+
settingsMenuHeader: u`
|
|
6011
4778
|
padding: ${tokens.size[1.5]} ${tokens.size[2.5]};
|
|
6012
4779
|
color: ${colors.gray[300]};
|
|
6013
4780
|
font-weight: ${font.weight.medium};
|
|
6014
4781
|
`,
|
|
6015
|
-
settingsMenuSection:
|
|
4782
|
+
settingsMenuSection: u`
|
|
6016
4783
|
border-top: 1px solid ${colors.gray[600]};
|
|
6017
4784
|
display: flex;
|
|
6018
4785
|
flex-direction: column;
|