storybook 10.1.0-alpha.9 → 10.1.0-beta.0
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/dist/_browser-chunks/Color-FTG7SQDA.js +1097 -0
- package/dist/_browser-chunks/WithTooltip-LMROHDUP.js +1651 -0
- package/dist/_browser-chunks/chunk-2FRVAXCZ.js +7 -0
- package/dist/_browser-chunks/{chunk-FDWKXLBI.js → chunk-2XZMBGTA.js} +44 -109
- package/dist/_browser-chunks/chunk-3IAH5M2U.js +171 -0
- package/dist/_browser-chunks/chunk-3OXGAGBE.js +779 -0
- package/dist/_browser-chunks/{chunk-TMDZCWME.js → chunk-3PJE6VLG.js} +1 -3
- package/dist/_browser-chunks/{chunk-VAMFPZY3.js → chunk-45UGUKRX.js} +2 -7
- package/dist/_browser-chunks/chunk-6XWLIJQL.js +11 -0
- package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
- package/dist/_browser-chunks/chunk-AIOS4NGK.js +252 -0
- package/dist/_browser-chunks/chunk-AS2HQEYC.js +14 -0
- package/dist/_browser-chunks/chunk-AXG2BOBL.js +836 -0
- package/dist/_browser-chunks/{chunk-MH6AXFXB.js → chunk-CHUV5WSW.js} +0 -5
- package/dist/_browser-chunks/chunk-EUVGDK4H.js +93 -0
- package/dist/_browser-chunks/chunk-EZSQOHRI.js +18 -0
- package/dist/_browser-chunks/{chunk-CADGRH3P.js → chunk-FNXWN6IK.js} +3 -8
- package/dist/_browser-chunks/chunk-FQ7SLVLR.js +66 -0
- package/dist/_browser-chunks/chunk-GFLS4VP3.js +64 -0
- package/dist/_browser-chunks/chunk-GFY5R5EY.js +47 -0
- package/dist/_browser-chunks/{chunk-L2D73C6Z.js → chunk-H6XK3RSC.js} +13 -21
- package/dist/_browser-chunks/chunk-IPA5A322.js +71 -0
- package/dist/_browser-chunks/chunk-JP7NCOJX.js +37 -0
- package/dist/_browser-chunks/chunk-KJHJLCBK.js +11 -0
- package/dist/_browser-chunks/{chunk-OWPZQM2D.js → chunk-L4RMQ7D7.js} +60 -110
- package/dist/_browser-chunks/chunk-P4F4UVXX.js +951 -0
- package/dist/_browser-chunks/{chunk-AB7OOPUX.js → chunk-QKODTO7K.js} +0 -5
- package/dist/_browser-chunks/chunk-RP5RXKFU.js +2491 -0
- package/dist/_browser-chunks/chunk-SL75JR6Y.js +9 -0
- package/dist/_browser-chunks/chunk-SS2NHR7W.js +2969 -0
- package/dist/_browser-chunks/chunk-UD6FQLAF.js +1481 -0
- package/dist/_browser-chunks/chunk-VYJQ7RU5.js +2853 -0
- package/dist/_browser-chunks/chunk-WJYERY3R.js +136 -0
- package/dist/_browser-chunks/chunk-XJNX76GA.js +85 -0
- package/dist/_browser-chunks/{chunk-F4Q6SGTB.js → chunk-YKE5S47A.js} +177 -399
- package/dist/_browser-chunks/{chunk-SN4J4IQ3.js → chunk-ZUWEVLDX.js} +1 -7
- package/dist/_browser-chunks/{formatter-OMEEQ6HG.js → formatter-QJ4M4OGQ.js} +4 -9
- package/dist/_browser-chunks/{syntaxhighlighter-CAVLW7PM.js → syntaxhighlighter-IQDEPFLK.js} +704 -1848
- package/dist/_node-chunks/{builder-manager-SM3UWERX.js → builder-manager-BDAQHXFI.js} +510 -1019
- package/dist/_node-chunks/camelcase-3C7DZZPX.js +37 -0
- package/dist/_node-chunks/chunk-2IIQTGNE.js +6024 -0
- package/dist/_node-chunks/chunk-56U5LEMP.js +3043 -0
- package/dist/_node-chunks/chunk-7LIRCAQE.js +20 -0
- package/dist/_node-chunks/chunk-7RN6TXKP.js +603 -0
- package/dist/_node-chunks/chunk-7SJ7PZNL.js +4523 -0
- package/dist/_node-chunks/{chunk-HHSTA6QS.js → chunk-BG4RDXG7.js} +8 -10
- package/dist/_node-chunks/chunk-CBQKMXLQ.js +18 -0
- package/dist/_node-chunks/chunk-CN2IW2KQ.js +1564 -0
- package/dist/_node-chunks/chunk-CQMAU6UQ.js +943 -0
- package/dist/_node-chunks/{chunk-EBUEXRH5.js → chunk-D6ND3TVY.js} +116 -276
- package/dist/_node-chunks/chunk-DC355CYB.js +61 -0
- package/dist/_node-chunks/{chunk-SGM3ZCCT.js → chunk-EVK2SBW5.js} +292 -688
- package/dist/_node-chunks/chunk-IXWEUXJ2.js +119 -0
- package/dist/_node-chunks/{chunk-F6EFOEC7.js → chunk-KVRF22SH.js} +469 -983
- package/dist/_node-chunks/chunk-LEDP4QQW.js +919 -0
- package/dist/_node-chunks/{chunk-GHIBZRKD.js → chunk-MMVV6DGG.js} +8133 -8887
- package/dist/_node-chunks/chunk-O5CGEVRI.js +29 -0
- package/dist/_node-chunks/chunk-OZZO56XN.js +299 -0
- package/dist/_node-chunks/chunk-POT2EVGD.js +78 -0
- package/dist/_node-chunks/chunk-R5YGFSTV.js +3781 -0
- package/dist/_node-chunks/chunk-SQCTM2OS.js +23 -0
- package/dist/_node-chunks/chunk-UFOFO5H7.js +54 -0
- package/dist/_node-chunks/chunk-VBF7ALJF.js +72 -0
- package/dist/_node-chunks/chunk-W6MAMTUF.js +70 -0
- package/dist/_node-chunks/chunk-WURL4XOT.js +46662 -0
- package/dist/_node-chunks/chunk-XGK6MVKR.js +61 -0
- package/dist/_node-chunks/chunk-YV3GDSDT.js +765 -0
- package/dist/_node-chunks/{chunk-ATDHMMIZ.js → chunk-YWV55YW3.js} +15 -24
- package/dist/_node-chunks/dist-KEP4IFRN.js +121 -0
- package/dist/_node-chunks/globby-4WUBTDCN.js +3452 -0
- package/dist/_node-chunks/lib-JVOEKTYM.js +366 -0
- package/dist/_node-chunks/mdx-N42X6CFJ-C5WFYYXR.js +14329 -0
- package/dist/_node-chunks/p-limit-LDY632RS.js +116 -0
- package/dist/actions/decorator.js +21 -42
- package/dist/actions/index.js +3 -3
- package/dist/babel/index.d.ts +671 -335
- package/dist/babel/index.js +10 -11
- package/dist/bin/core.js +601 -1548
- package/dist/bin/dispatcher.js +36 -36
- package/dist/bin/loader.js +24 -38
- package/dist/channels/index.js +98 -234
- package/dist/cli/index.d.ts +1479 -133
- package/dist/cli/index.js +30 -8540
- package/dist/client-logger/index.js +31 -61
- package/dist/common/index.d.ts +139 -62
- package/dist/common/index.js +66 -51
- package/dist/components/index.d.ts +575 -273
- package/dist/components/index.js +14863 -4313
- package/dist/core-events/index.js +2 -66
- package/dist/core-server/index.d.ts +3 -2
- package/dist/core-server/index.js +2908 -8518
- package/dist/core-server/presets/common-manager.css +2 -2
- package/dist/core-server/presets/common-manager.js +2521 -5233
- package/dist/core-server/presets/common-override-preset.js +31 -60
- package/dist/core-server/presets/common-preset.js +663 -962
- package/dist/csf/index.js +534 -1179
- package/dist/csf-tools/index.js +9 -9
- package/dist/docs-tools/index.js +6 -6
- package/dist/highlight/index.js +2 -2
- package/dist/instrumenter/index.js +199 -415
- package/dist/manager/globals-runtime.js +59044 -67141
- package/dist/manager/globals.js +2 -3
- package/dist/manager/manager-stores.d.ts +1 -0
- package/dist/manager/manager-stores.js +23 -0
- package/dist/manager/runtime.js +11511 -10953
- package/dist/manager-api/index.d.ts +1811 -2
- package/dist/manager-api/index.js +1348 -2401
- package/dist/manager-errors.d.ts +9 -0
- package/dist/manager-errors.js +3 -3
- package/dist/mocking-utils/index.d.ts +1126 -0
- package/dist/mocking-utils/index.js +1181 -0
- package/dist/node-logger/index.d.ts +192 -24
- package/dist/node-logger/index.js +23 -4471
- package/dist/preview/globals.js +2 -3
- package/dist/preview/runtime.js +10799 -22393
- package/dist/preview-api/index.d.ts +68 -69
- package/dist/preview-api/index.js +13 -13
- package/dist/preview-errors.d.ts +9 -0
- package/dist/preview-errors.js +4 -4
- package/dist/router/index.js +347 -899
- package/dist/server-errors.d.ts +34 -1
- package/dist/server-errors.js +17 -10
- package/dist/telemetry/index.d.ts +24 -3
- package/dist/telemetry/index.js +25 -24
- package/dist/test/index.js +6131 -11916
- package/dist/theming/create.d.ts +1 -0
- package/dist/theming/create.js +4 -4
- package/dist/theming/index.d.ts +3366 -2599
- package/dist/theming/index.js +501 -1091
- package/dist/types/index.d.ts +72 -8
- package/dist/types/index.js +27 -12
- package/dist/viewport/index.js +3 -3
- package/package.json +26 -17
- package/dist/_browser-chunks/Color-7ZNS6F6B.js +0 -1676
- package/dist/_browser-chunks/WithTooltip-SK46ZJ2J.js +0 -13
- package/dist/_browser-chunks/chunk-6A7OIVEL.js +0 -66
- package/dist/_browser-chunks/chunk-B4A3ADP3.js +0 -3816
- package/dist/_browser-chunks/chunk-BOOOPFZF.js +0 -2335
- package/dist/_browser-chunks/chunk-FSBVR7H5.js +0 -106
- package/dist/_browser-chunks/chunk-FUOHXXZT.js +0 -23
- package/dist/_browser-chunks/chunk-GTKOCWCT.js +0 -17
- package/dist/_browser-chunks/chunk-HHW4FUMO.js +0 -12
- package/dist/_browser-chunks/chunk-JVSKG4YS.js +0 -4052
- package/dist/_browser-chunks/chunk-LASUB7TL.js +0 -76
- package/dist/_browser-chunks/chunk-LYCSRYYR.js +0 -101
- package/dist/_browser-chunks/chunk-NVV6MIOE.js +0 -243
- package/dist/_browser-chunks/chunk-OBXWFEPB.js +0 -852
- package/dist/_browser-chunks/chunk-OPCDBBL3.js +0 -48
- package/dist/_browser-chunks/chunk-PB6FZ3WE.js +0 -130
- package/dist/_browser-chunks/chunk-RNE2IUTB.js +0 -1300
- package/dist/_browser-chunks/chunk-RW5PKMWM.js +0 -4182
- package/dist/_browser-chunks/chunk-SYS437NN.js +0 -122
- package/dist/_browser-chunks/chunk-U46RQHA4.js +0 -12
- package/dist/_browser-chunks/chunk-UTNZYD2N.js +0 -311
- package/dist/_browser-chunks/chunk-VUAFL5XK.js +0 -20
- package/dist/_browser-chunks/chunk-XDGMHOV7.js +0 -2197
- package/dist/_browser-chunks/chunk-XW6KSYKF.js +0 -16
- package/dist/_browser-chunks/chunk-Y3M7TW6K.js +0 -1041
- package/dist/_browser-chunks/chunk-ZNRFDIVA.js +0 -233
- package/dist/_node-chunks/camelcase-H5QSGQLK.js +0 -18
- package/dist/_node-chunks/chunk-3THWHQOC.js +0 -61
- package/dist/_node-chunks/chunk-45YUOLTU.js +0 -69
- package/dist/_node-chunks/chunk-4QSNCPAU.js +0 -64656
- package/dist/_node-chunks/chunk-744PQSOU.js +0 -79
- package/dist/_node-chunks/chunk-74Z2U7QG.js +0 -1544
- package/dist/_node-chunks/chunk-7MB7TFPO.js +0 -1198
- package/dist/_node-chunks/chunk-A7GS4RFT.js +0 -697
- package/dist/_node-chunks/chunk-BIA3A5UM.js +0 -61
- package/dist/_node-chunks/chunk-C5G7CLWX.js +0 -1657
- package/dist/_node-chunks/chunk-DLFUKMYJ.js +0 -1531
- package/dist/_node-chunks/chunk-EMRGRXKT.js +0 -111
- package/dist/_node-chunks/chunk-EX46EHHY.js +0 -420
- package/dist/_node-chunks/chunk-F76QKNOJ.js +0 -304
- package/dist/_node-chunks/chunk-HDCRUTEF.js +0 -220
- package/dist/_node-chunks/chunk-HUYAOIPH.js +0 -90
- package/dist/_node-chunks/chunk-IBJZQZJC.js +0 -101
- package/dist/_node-chunks/chunk-KZN2RDDT.js +0 -6712
- package/dist/_node-chunks/chunk-LYUNFU3F.js +0 -4741
- package/dist/_node-chunks/chunk-N44SIS6K.js +0 -28
- package/dist/_node-chunks/chunk-NILZM6KR.js +0 -18
- package/dist/_node-chunks/chunk-PC4ZRP6W.js +0 -34
- package/dist/_node-chunks/chunk-TJNGOQUH.js +0 -4272
- package/dist/_node-chunks/chunk-UBSYLHIL.js +0 -1250
- package/dist/_node-chunks/chunk-UTCLXPOC.js +0 -1518
- package/dist/_node-chunks/chunk-WOXXODXP.js +0 -5029
- package/dist/_node-chunks/chunk-XC4MEUA6.js +0 -1586
- package/dist/_node-chunks/chunk-YRXXMKRR.js +0 -2256
- package/dist/_node-chunks/dist-SL73W244.js +0 -175
- package/dist/_node-chunks/globby-ZSHAUQZ5.js +0 -5222
- package/dist/_node-chunks/lib-U2VIPUTI.js +0 -518
- package/dist/_node-chunks/mdx-N42X6CFJ-ZLHD33JK.js +0 -22017
- package/dist/_node-chunks/p-limit-K5BS5MSV.js +0 -168
- package/dist/_node-chunks/plugin-5PD4YIUH.js +0 -129
- package/dist/_node-chunks/plugin-MONDT2WL.js +0 -159
- package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-EUZJRG3W.js +0 -69102
- package/dist/_node-chunks/webpack-mock-plugin-T4LDXEHE.js +0 -124
- package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +0 -36
- package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +0 -33
|
@@ -0,0 +1,779 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-A242L54C.js";
|
|
4
|
+
|
|
5
|
+
// ../node_modules/picoquery/lib/string-util.js
|
|
6
|
+
var require_string_util = __commonJS({
|
|
7
|
+
"../node_modules/picoquery/lib/string-util.js"(exports) {
|
|
8
|
+
"use strict";
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
10
|
+
exports.encodeString = encodeString;
|
|
11
|
+
var hexTable = Array.from({ length: 256 }, (_, i) => "%" + ((i < 16 ? "0" : "") + i.toString(16)).toUpperCase()), noEscape = new Int8Array([
|
|
12
|
+
0,
|
|
13
|
+
0,
|
|
14
|
+
0,
|
|
15
|
+
0,
|
|
16
|
+
0,
|
|
17
|
+
0,
|
|
18
|
+
0,
|
|
19
|
+
0,
|
|
20
|
+
0,
|
|
21
|
+
0,
|
|
22
|
+
0,
|
|
23
|
+
0,
|
|
24
|
+
0,
|
|
25
|
+
0,
|
|
26
|
+
0,
|
|
27
|
+
0,
|
|
28
|
+
0,
|
|
29
|
+
0,
|
|
30
|
+
0,
|
|
31
|
+
0,
|
|
32
|
+
0,
|
|
33
|
+
0,
|
|
34
|
+
0,
|
|
35
|
+
0,
|
|
36
|
+
0,
|
|
37
|
+
0,
|
|
38
|
+
0,
|
|
39
|
+
0,
|
|
40
|
+
0,
|
|
41
|
+
0,
|
|
42
|
+
0,
|
|
43
|
+
0,
|
|
44
|
+
0,
|
|
45
|
+
1,
|
|
46
|
+
0,
|
|
47
|
+
0,
|
|
48
|
+
0,
|
|
49
|
+
0,
|
|
50
|
+
0,
|
|
51
|
+
1,
|
|
52
|
+
1,
|
|
53
|
+
1,
|
|
54
|
+
1,
|
|
55
|
+
0,
|
|
56
|
+
0,
|
|
57
|
+
1,
|
|
58
|
+
1,
|
|
59
|
+
0,
|
|
60
|
+
1,
|
|
61
|
+
1,
|
|
62
|
+
1,
|
|
63
|
+
1,
|
|
64
|
+
1,
|
|
65
|
+
1,
|
|
66
|
+
1,
|
|
67
|
+
1,
|
|
68
|
+
1,
|
|
69
|
+
1,
|
|
70
|
+
0,
|
|
71
|
+
0,
|
|
72
|
+
0,
|
|
73
|
+
0,
|
|
74
|
+
0,
|
|
75
|
+
0,
|
|
76
|
+
0,
|
|
77
|
+
1,
|
|
78
|
+
1,
|
|
79
|
+
1,
|
|
80
|
+
1,
|
|
81
|
+
1,
|
|
82
|
+
1,
|
|
83
|
+
1,
|
|
84
|
+
1,
|
|
85
|
+
1,
|
|
86
|
+
1,
|
|
87
|
+
1,
|
|
88
|
+
1,
|
|
89
|
+
1,
|
|
90
|
+
1,
|
|
91
|
+
1,
|
|
92
|
+
1,
|
|
93
|
+
1,
|
|
94
|
+
1,
|
|
95
|
+
1,
|
|
96
|
+
1,
|
|
97
|
+
1,
|
|
98
|
+
1,
|
|
99
|
+
1,
|
|
100
|
+
1,
|
|
101
|
+
1,
|
|
102
|
+
1,
|
|
103
|
+
0,
|
|
104
|
+
0,
|
|
105
|
+
0,
|
|
106
|
+
0,
|
|
107
|
+
1,
|
|
108
|
+
0,
|
|
109
|
+
1,
|
|
110
|
+
1,
|
|
111
|
+
1,
|
|
112
|
+
1,
|
|
113
|
+
1,
|
|
114
|
+
1,
|
|
115
|
+
1,
|
|
116
|
+
1,
|
|
117
|
+
1,
|
|
118
|
+
1,
|
|
119
|
+
1,
|
|
120
|
+
1,
|
|
121
|
+
1,
|
|
122
|
+
1,
|
|
123
|
+
1,
|
|
124
|
+
1,
|
|
125
|
+
1,
|
|
126
|
+
1,
|
|
127
|
+
1,
|
|
128
|
+
1,
|
|
129
|
+
1,
|
|
130
|
+
1,
|
|
131
|
+
1,
|
|
132
|
+
1,
|
|
133
|
+
1,
|
|
134
|
+
1,
|
|
135
|
+
0,
|
|
136
|
+
0,
|
|
137
|
+
0,
|
|
138
|
+
1,
|
|
139
|
+
0
|
|
140
|
+
]);
|
|
141
|
+
function encodeString(str) {
|
|
142
|
+
let len = str.length;
|
|
143
|
+
if (len === 0)
|
|
144
|
+
return "";
|
|
145
|
+
let out = "", lastPos = 0, i = 0;
|
|
146
|
+
outer: for (; i < len; i++) {
|
|
147
|
+
let c = str.charCodeAt(i);
|
|
148
|
+
for (; c < 128; ) {
|
|
149
|
+
if (noEscape[c] !== 1 && (lastPos < i && (out += str.slice(lastPos, i)), lastPos = i + 1, out += hexTable[c]), ++i === len)
|
|
150
|
+
break outer;
|
|
151
|
+
c = str.charCodeAt(i);
|
|
152
|
+
}
|
|
153
|
+
if (lastPos < i && (out += str.slice(lastPos, i)), c < 2048) {
|
|
154
|
+
lastPos = i + 1, out += hexTable[192 | c >> 6] + hexTable[128 | c & 63];
|
|
155
|
+
continue;
|
|
156
|
+
}
|
|
157
|
+
if (c < 55296 || c >= 57344) {
|
|
158
|
+
lastPos = i + 1, out += hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (++i, i >= len)
|
|
162
|
+
throw new Error("URI malformed");
|
|
163
|
+
let c2 = str.charCodeAt(i) & 1023;
|
|
164
|
+
lastPos = i + 1, c = 65536 + ((c & 1023) << 10 | c2), out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
165
|
+
}
|
|
166
|
+
return lastPos === 0 ? str : lastPos < len ? out + str.slice(lastPos) : out;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
|
|
171
|
+
// ../node_modules/picoquery/lib/shared.js
|
|
172
|
+
var require_shared = __commonJS({
|
|
173
|
+
"../node_modules/picoquery/lib/shared.js"(exports) {
|
|
174
|
+
"use strict";
|
|
175
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
176
|
+
exports.defaultOptions = exports.defaultShouldSerializeObject = exports.defaultValueSerializer = void 0;
|
|
177
|
+
var string_util_js_1 = require_string_util(), defaultValueSerializer = (value) => {
|
|
178
|
+
switch (typeof value) {
|
|
179
|
+
case "string":
|
|
180
|
+
return (0, string_util_js_1.encodeString)(value);
|
|
181
|
+
case "bigint":
|
|
182
|
+
case "boolean":
|
|
183
|
+
return "" + value;
|
|
184
|
+
case "number":
|
|
185
|
+
if (Number.isFinite(value))
|
|
186
|
+
return value < 1e21 ? "" + value : (0, string_util_js_1.encodeString)("" + value);
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
return value instanceof Date ? (0, string_util_js_1.encodeString)(value.toISOString()) : "";
|
|
190
|
+
};
|
|
191
|
+
exports.defaultValueSerializer = defaultValueSerializer;
|
|
192
|
+
var defaultShouldSerializeObject = (val) => val instanceof Date;
|
|
193
|
+
exports.defaultShouldSerializeObject = defaultShouldSerializeObject;
|
|
194
|
+
var identityFunc = (v) => v;
|
|
195
|
+
exports.defaultOptions = {
|
|
196
|
+
nesting: !0,
|
|
197
|
+
nestingSyntax: "dot",
|
|
198
|
+
arrayRepeat: !1,
|
|
199
|
+
arrayRepeatSyntax: "repeat",
|
|
200
|
+
delimiter: 38,
|
|
201
|
+
valueDeserializer: identityFunc,
|
|
202
|
+
valueSerializer: exports.defaultValueSerializer,
|
|
203
|
+
keyDeserializer: identityFunc,
|
|
204
|
+
shouldSerializeObject: exports.defaultShouldSerializeObject
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
|
|
209
|
+
// ../node_modules/picoquery/lib/object-util.js
|
|
210
|
+
var require_object_util = __commonJS({
|
|
211
|
+
"../node_modules/picoquery/lib/object-util.js"(exports) {
|
|
212
|
+
"use strict";
|
|
213
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
214
|
+
exports.getDeepObject = getDeepObject;
|
|
215
|
+
exports.stringifyObject = stringifyObject;
|
|
216
|
+
var shared_js_1 = require_shared(), string_util_js_1 = require_string_util();
|
|
217
|
+
function isPrototypeKey(value) {
|
|
218
|
+
return value === "__proto__" || value === "constructor" || value === "prototype";
|
|
219
|
+
}
|
|
220
|
+
function getDeepObject(obj, key, nextKey, forceObject, forceArray) {
|
|
221
|
+
if (isPrototypeKey(key))
|
|
222
|
+
return obj;
|
|
223
|
+
let currObj = obj[key];
|
|
224
|
+
return typeof currObj == "object" && currObj !== null ? currObj : !forceObject && (forceArray || typeof nextKey == "number" || typeof nextKey == "string" && nextKey * 0 === 0 && nextKey.indexOf(".") === -1) ? obj[key] = [] : obj[key] = {};
|
|
225
|
+
}
|
|
226
|
+
var MAX_DEPTH = 20, strBracketPair = "[]", strBracketLeft = "[", strBracketRight = "]", strDot = ".";
|
|
227
|
+
function stringifyObject(obj, options, depth = 0, parentKey, isProbableArray) {
|
|
228
|
+
let { nestingSyntax = shared_js_1.defaultOptions.nestingSyntax, arrayRepeat = shared_js_1.defaultOptions.arrayRepeat, arrayRepeatSyntax = shared_js_1.defaultOptions.arrayRepeatSyntax, nesting = shared_js_1.defaultOptions.nesting, delimiter = shared_js_1.defaultOptions.delimiter, valueSerializer = shared_js_1.defaultOptions.valueSerializer, shouldSerializeObject = shared_js_1.defaultOptions.shouldSerializeObject } = options, strDelimiter = typeof delimiter == "number" ? String.fromCharCode(delimiter) : delimiter, useArrayRepeatKey = isProbableArray === !0 && arrayRepeat, shouldUseDot = nestingSyntax === "dot" || nestingSyntax === "js" && !isProbableArray;
|
|
229
|
+
if (depth > MAX_DEPTH)
|
|
230
|
+
return "";
|
|
231
|
+
let result = "", firstKey = !0, valueIsProbableArray = !1;
|
|
232
|
+
for (let key in obj) {
|
|
233
|
+
let value = obj[key];
|
|
234
|
+
if (value === void 0)
|
|
235
|
+
continue;
|
|
236
|
+
let path;
|
|
237
|
+
parentKey ? (path = parentKey, useArrayRepeatKey ? arrayRepeatSyntax === "bracket" && (path += strBracketPair) : shouldUseDot ? (path += strDot, path += key) : (path += strBracketLeft, path += key, path += strBracketRight)) : path = key, firstKey || (result += strDelimiter), typeof value == "object" && value !== null && !shouldSerializeObject(value) ? (valueIsProbableArray = value.pop !== void 0, (nesting || arrayRepeat && valueIsProbableArray) && (result += stringifyObject(value, options, depth + 1, path, valueIsProbableArray))) : (result += (0, string_util_js_1.encodeString)(path), result += "=", result += valueSerializer(value, key)), firstKey && (firstKey = !1);
|
|
238
|
+
}
|
|
239
|
+
return result;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
|
|
244
|
+
// ../node_modules/picoquery/lib/decode-uri-component.js
|
|
245
|
+
var require_decode_uri_component = __commonJS({
|
|
246
|
+
"../node_modules/picoquery/lib/decode-uri-component.js"(exports) {
|
|
247
|
+
"use strict";
|
|
248
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
249
|
+
exports.decodeURIComponent = decodeURIComponent;
|
|
250
|
+
var UTF8_ACCEPT = 12, UTF8_REJECT = 0, UTF8_DATA = [
|
|
251
|
+
// The first part of the table maps bytes to character to a transition.
|
|
252
|
+
0,
|
|
253
|
+
0,
|
|
254
|
+
0,
|
|
255
|
+
0,
|
|
256
|
+
0,
|
|
257
|
+
0,
|
|
258
|
+
0,
|
|
259
|
+
0,
|
|
260
|
+
0,
|
|
261
|
+
0,
|
|
262
|
+
0,
|
|
263
|
+
0,
|
|
264
|
+
0,
|
|
265
|
+
0,
|
|
266
|
+
0,
|
|
267
|
+
0,
|
|
268
|
+
0,
|
|
269
|
+
0,
|
|
270
|
+
0,
|
|
271
|
+
0,
|
|
272
|
+
0,
|
|
273
|
+
0,
|
|
274
|
+
0,
|
|
275
|
+
0,
|
|
276
|
+
0,
|
|
277
|
+
0,
|
|
278
|
+
0,
|
|
279
|
+
0,
|
|
280
|
+
0,
|
|
281
|
+
0,
|
|
282
|
+
0,
|
|
283
|
+
0,
|
|
284
|
+
0,
|
|
285
|
+
0,
|
|
286
|
+
0,
|
|
287
|
+
0,
|
|
288
|
+
0,
|
|
289
|
+
0,
|
|
290
|
+
0,
|
|
291
|
+
0,
|
|
292
|
+
0,
|
|
293
|
+
0,
|
|
294
|
+
0,
|
|
295
|
+
0,
|
|
296
|
+
0,
|
|
297
|
+
0,
|
|
298
|
+
0,
|
|
299
|
+
0,
|
|
300
|
+
0,
|
|
301
|
+
0,
|
|
302
|
+
0,
|
|
303
|
+
0,
|
|
304
|
+
0,
|
|
305
|
+
0,
|
|
306
|
+
0,
|
|
307
|
+
0,
|
|
308
|
+
0,
|
|
309
|
+
0,
|
|
310
|
+
0,
|
|
311
|
+
0,
|
|
312
|
+
0,
|
|
313
|
+
0,
|
|
314
|
+
0,
|
|
315
|
+
0,
|
|
316
|
+
0,
|
|
317
|
+
0,
|
|
318
|
+
0,
|
|
319
|
+
0,
|
|
320
|
+
0,
|
|
321
|
+
0,
|
|
322
|
+
0,
|
|
323
|
+
0,
|
|
324
|
+
0,
|
|
325
|
+
0,
|
|
326
|
+
0,
|
|
327
|
+
0,
|
|
328
|
+
0,
|
|
329
|
+
0,
|
|
330
|
+
0,
|
|
331
|
+
0,
|
|
332
|
+
0,
|
|
333
|
+
0,
|
|
334
|
+
0,
|
|
335
|
+
0,
|
|
336
|
+
0,
|
|
337
|
+
0,
|
|
338
|
+
0,
|
|
339
|
+
0,
|
|
340
|
+
0,
|
|
341
|
+
0,
|
|
342
|
+
0,
|
|
343
|
+
0,
|
|
344
|
+
0,
|
|
345
|
+
0,
|
|
346
|
+
0,
|
|
347
|
+
0,
|
|
348
|
+
0,
|
|
349
|
+
0,
|
|
350
|
+
0,
|
|
351
|
+
0,
|
|
352
|
+
0,
|
|
353
|
+
0,
|
|
354
|
+
0,
|
|
355
|
+
0,
|
|
356
|
+
0,
|
|
357
|
+
0,
|
|
358
|
+
0,
|
|
359
|
+
0,
|
|
360
|
+
0,
|
|
361
|
+
0,
|
|
362
|
+
0,
|
|
363
|
+
0,
|
|
364
|
+
0,
|
|
365
|
+
0,
|
|
366
|
+
0,
|
|
367
|
+
0,
|
|
368
|
+
0,
|
|
369
|
+
0,
|
|
370
|
+
0,
|
|
371
|
+
0,
|
|
372
|
+
0,
|
|
373
|
+
0,
|
|
374
|
+
0,
|
|
375
|
+
0,
|
|
376
|
+
0,
|
|
377
|
+
0,
|
|
378
|
+
0,
|
|
379
|
+
0,
|
|
380
|
+
1,
|
|
381
|
+
1,
|
|
382
|
+
1,
|
|
383
|
+
1,
|
|
384
|
+
1,
|
|
385
|
+
1,
|
|
386
|
+
1,
|
|
387
|
+
1,
|
|
388
|
+
1,
|
|
389
|
+
1,
|
|
390
|
+
1,
|
|
391
|
+
1,
|
|
392
|
+
1,
|
|
393
|
+
1,
|
|
394
|
+
1,
|
|
395
|
+
1,
|
|
396
|
+
2,
|
|
397
|
+
2,
|
|
398
|
+
2,
|
|
399
|
+
2,
|
|
400
|
+
2,
|
|
401
|
+
2,
|
|
402
|
+
2,
|
|
403
|
+
2,
|
|
404
|
+
2,
|
|
405
|
+
2,
|
|
406
|
+
2,
|
|
407
|
+
2,
|
|
408
|
+
2,
|
|
409
|
+
2,
|
|
410
|
+
2,
|
|
411
|
+
2,
|
|
412
|
+
3,
|
|
413
|
+
3,
|
|
414
|
+
3,
|
|
415
|
+
3,
|
|
416
|
+
3,
|
|
417
|
+
3,
|
|
418
|
+
3,
|
|
419
|
+
3,
|
|
420
|
+
3,
|
|
421
|
+
3,
|
|
422
|
+
3,
|
|
423
|
+
3,
|
|
424
|
+
3,
|
|
425
|
+
3,
|
|
426
|
+
3,
|
|
427
|
+
3,
|
|
428
|
+
3,
|
|
429
|
+
3,
|
|
430
|
+
3,
|
|
431
|
+
3,
|
|
432
|
+
3,
|
|
433
|
+
3,
|
|
434
|
+
3,
|
|
435
|
+
3,
|
|
436
|
+
3,
|
|
437
|
+
3,
|
|
438
|
+
3,
|
|
439
|
+
3,
|
|
440
|
+
3,
|
|
441
|
+
3,
|
|
442
|
+
3,
|
|
443
|
+
3,
|
|
444
|
+
4,
|
|
445
|
+
4,
|
|
446
|
+
5,
|
|
447
|
+
5,
|
|
448
|
+
5,
|
|
449
|
+
5,
|
|
450
|
+
5,
|
|
451
|
+
5,
|
|
452
|
+
5,
|
|
453
|
+
5,
|
|
454
|
+
5,
|
|
455
|
+
5,
|
|
456
|
+
5,
|
|
457
|
+
5,
|
|
458
|
+
5,
|
|
459
|
+
5,
|
|
460
|
+
5,
|
|
461
|
+
5,
|
|
462
|
+
5,
|
|
463
|
+
5,
|
|
464
|
+
5,
|
|
465
|
+
5,
|
|
466
|
+
5,
|
|
467
|
+
5,
|
|
468
|
+
5,
|
|
469
|
+
5,
|
|
470
|
+
5,
|
|
471
|
+
5,
|
|
472
|
+
5,
|
|
473
|
+
5,
|
|
474
|
+
5,
|
|
475
|
+
5,
|
|
476
|
+
6,
|
|
477
|
+
7,
|
|
478
|
+
7,
|
|
479
|
+
7,
|
|
480
|
+
7,
|
|
481
|
+
7,
|
|
482
|
+
7,
|
|
483
|
+
7,
|
|
484
|
+
7,
|
|
485
|
+
7,
|
|
486
|
+
7,
|
|
487
|
+
7,
|
|
488
|
+
7,
|
|
489
|
+
8,
|
|
490
|
+
7,
|
|
491
|
+
7,
|
|
492
|
+
10,
|
|
493
|
+
9,
|
|
494
|
+
9,
|
|
495
|
+
9,
|
|
496
|
+
11,
|
|
497
|
+
4,
|
|
498
|
+
4,
|
|
499
|
+
4,
|
|
500
|
+
4,
|
|
501
|
+
4,
|
|
502
|
+
4,
|
|
503
|
+
4,
|
|
504
|
+
4,
|
|
505
|
+
4,
|
|
506
|
+
4,
|
|
507
|
+
4,
|
|
508
|
+
// The second part of the table maps a state to a new state when adding a
|
|
509
|
+
// transition.
|
|
510
|
+
0,
|
|
511
|
+
0,
|
|
512
|
+
0,
|
|
513
|
+
0,
|
|
514
|
+
0,
|
|
515
|
+
0,
|
|
516
|
+
0,
|
|
517
|
+
0,
|
|
518
|
+
0,
|
|
519
|
+
0,
|
|
520
|
+
0,
|
|
521
|
+
0,
|
|
522
|
+
12,
|
|
523
|
+
0,
|
|
524
|
+
0,
|
|
525
|
+
0,
|
|
526
|
+
0,
|
|
527
|
+
24,
|
|
528
|
+
36,
|
|
529
|
+
48,
|
|
530
|
+
60,
|
|
531
|
+
72,
|
|
532
|
+
84,
|
|
533
|
+
96,
|
|
534
|
+
0,
|
|
535
|
+
12,
|
|
536
|
+
12,
|
|
537
|
+
12,
|
|
538
|
+
0,
|
|
539
|
+
0,
|
|
540
|
+
0,
|
|
541
|
+
0,
|
|
542
|
+
0,
|
|
543
|
+
0,
|
|
544
|
+
0,
|
|
545
|
+
0,
|
|
546
|
+
0,
|
|
547
|
+
0,
|
|
548
|
+
0,
|
|
549
|
+
24,
|
|
550
|
+
0,
|
|
551
|
+
0,
|
|
552
|
+
0,
|
|
553
|
+
0,
|
|
554
|
+
0,
|
|
555
|
+
0,
|
|
556
|
+
0,
|
|
557
|
+
0,
|
|
558
|
+
0,
|
|
559
|
+
24,
|
|
560
|
+
24,
|
|
561
|
+
24,
|
|
562
|
+
0,
|
|
563
|
+
0,
|
|
564
|
+
0,
|
|
565
|
+
0,
|
|
566
|
+
0,
|
|
567
|
+
0,
|
|
568
|
+
0,
|
|
569
|
+
0,
|
|
570
|
+
0,
|
|
571
|
+
24,
|
|
572
|
+
24,
|
|
573
|
+
0,
|
|
574
|
+
0,
|
|
575
|
+
0,
|
|
576
|
+
0,
|
|
577
|
+
0,
|
|
578
|
+
0,
|
|
579
|
+
0,
|
|
580
|
+
0,
|
|
581
|
+
0,
|
|
582
|
+
0,
|
|
583
|
+
48,
|
|
584
|
+
48,
|
|
585
|
+
48,
|
|
586
|
+
0,
|
|
587
|
+
0,
|
|
588
|
+
0,
|
|
589
|
+
0,
|
|
590
|
+
0,
|
|
591
|
+
0,
|
|
592
|
+
0,
|
|
593
|
+
0,
|
|
594
|
+
0,
|
|
595
|
+
0,
|
|
596
|
+
48,
|
|
597
|
+
48,
|
|
598
|
+
0,
|
|
599
|
+
0,
|
|
600
|
+
0,
|
|
601
|
+
0,
|
|
602
|
+
0,
|
|
603
|
+
0,
|
|
604
|
+
0,
|
|
605
|
+
0,
|
|
606
|
+
0,
|
|
607
|
+
48,
|
|
608
|
+
0,
|
|
609
|
+
0,
|
|
610
|
+
0,
|
|
611
|
+
0,
|
|
612
|
+
0,
|
|
613
|
+
0,
|
|
614
|
+
0,
|
|
615
|
+
0,
|
|
616
|
+
0,
|
|
617
|
+
0,
|
|
618
|
+
// The third part maps the current transition to a mask that needs to apply
|
|
619
|
+
// to the byte.
|
|
620
|
+
127,
|
|
621
|
+
63,
|
|
622
|
+
63,
|
|
623
|
+
63,
|
|
624
|
+
0,
|
|
625
|
+
31,
|
|
626
|
+
15,
|
|
627
|
+
15,
|
|
628
|
+
15,
|
|
629
|
+
7,
|
|
630
|
+
7,
|
|
631
|
+
7
|
|
632
|
+
];
|
|
633
|
+
function decodeURIComponent(uri) {
|
|
634
|
+
let percentPosition = uri.indexOf("%");
|
|
635
|
+
if (percentPosition === -1)
|
|
636
|
+
return uri;
|
|
637
|
+
let length = uri.length, decoded = "", last = 0, codepoint = 0, startOfOctets = percentPosition, state = UTF8_ACCEPT;
|
|
638
|
+
for (; percentPosition > -1 && percentPosition < length; ) {
|
|
639
|
+
let high = hexCodeToInt(uri[percentPosition + 1], 4), low = hexCodeToInt(uri[percentPosition + 2], 0), byte = high | low, type = UTF8_DATA[byte];
|
|
640
|
+
if (state = UTF8_DATA[256 + state + type], codepoint = codepoint << 6 | byte & UTF8_DATA[364 + type], state === UTF8_ACCEPT)
|
|
641
|
+
decoded += uri.slice(last, startOfOctets), decoded += codepoint <= 65535 ? String.fromCharCode(codepoint) : String.fromCharCode(55232 + (codepoint >> 10), 56320 + (codepoint & 1023)), codepoint = 0, last = percentPosition + 3, percentPosition = startOfOctets = uri.indexOf("%", last);
|
|
642
|
+
else {
|
|
643
|
+
if (state === UTF8_REJECT)
|
|
644
|
+
return null;
|
|
645
|
+
if (percentPosition += 3, percentPosition < length && uri.charCodeAt(percentPosition) === 37)
|
|
646
|
+
continue;
|
|
647
|
+
return null;
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
return decoded + uri.slice(last);
|
|
651
|
+
}
|
|
652
|
+
var HEX = {
|
|
653
|
+
0: 0,
|
|
654
|
+
1: 1,
|
|
655
|
+
2: 2,
|
|
656
|
+
3: 3,
|
|
657
|
+
4: 4,
|
|
658
|
+
5: 5,
|
|
659
|
+
6: 6,
|
|
660
|
+
7: 7,
|
|
661
|
+
8: 8,
|
|
662
|
+
9: 9,
|
|
663
|
+
a: 10,
|
|
664
|
+
A: 10,
|
|
665
|
+
b: 11,
|
|
666
|
+
B: 11,
|
|
667
|
+
c: 12,
|
|
668
|
+
C: 12,
|
|
669
|
+
d: 13,
|
|
670
|
+
D: 13,
|
|
671
|
+
e: 14,
|
|
672
|
+
E: 14,
|
|
673
|
+
f: 15,
|
|
674
|
+
F: 15
|
|
675
|
+
};
|
|
676
|
+
function hexCodeToInt(c, shift) {
|
|
677
|
+
let i = HEX[c];
|
|
678
|
+
return i === void 0 ? 255 : i << shift;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
// ../node_modules/picoquery/lib/parse.js
|
|
684
|
+
var require_parse = __commonJS({
|
|
685
|
+
"../node_modules/picoquery/lib/parse.js"(exports) {
|
|
686
|
+
"use strict";
|
|
687
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
688
|
+
exports.numberValueDeserializer = exports.numberKeyDeserializer = void 0;
|
|
689
|
+
exports.parse = parse;
|
|
690
|
+
var object_util_js_1 = require_object_util(), shared_js_1 = require_shared(), decode_uri_component_js_1 = require_decode_uri_component(), numberKeyDeserializer = (key) => {
|
|
691
|
+
let asNumber = Number(key);
|
|
692
|
+
return Number.isNaN(asNumber) ? key : asNumber;
|
|
693
|
+
};
|
|
694
|
+
exports.numberKeyDeserializer = numberKeyDeserializer;
|
|
695
|
+
var numberValueDeserializer = (value) => {
|
|
696
|
+
let asNumber = Number(value);
|
|
697
|
+
return Number.isNaN(asNumber) ? value : asNumber;
|
|
698
|
+
};
|
|
699
|
+
exports.numberValueDeserializer = numberValueDeserializer;
|
|
700
|
+
var regexPlus = /\+/g, Empty = function() {
|
|
701
|
+
};
|
|
702
|
+
Empty.prototype = /* @__PURE__ */ Object.create(null);
|
|
703
|
+
function computeKeySlice(input, startIndex, endIndex, keyHasPlus, shouldDecodeKey) {
|
|
704
|
+
let chunk = input.substring(startIndex, endIndex);
|
|
705
|
+
return keyHasPlus && (chunk = chunk.replace(regexPlus, " ")), shouldDecodeKey && (chunk = (0, decode_uri_component_js_1.decodeURIComponent)(chunk) || chunk), chunk;
|
|
706
|
+
}
|
|
707
|
+
function parse(input, options) {
|
|
708
|
+
let { valueDeserializer = shared_js_1.defaultOptions.valueDeserializer, keyDeserializer = shared_js_1.defaultOptions.keyDeserializer, arrayRepeatSyntax = shared_js_1.defaultOptions.arrayRepeatSyntax, nesting = shared_js_1.defaultOptions.nesting, arrayRepeat = shared_js_1.defaultOptions.arrayRepeat, nestingSyntax = shared_js_1.defaultOptions.nestingSyntax, delimiter = shared_js_1.defaultOptions.delimiter } = options ?? {}, charDelimiter = typeof delimiter == "string" ? delimiter.charCodeAt(0) : delimiter, isJsNestingSyntax = nestingSyntax === "js", result = new Empty();
|
|
709
|
+
if (typeof input != "string")
|
|
710
|
+
return result;
|
|
711
|
+
let inputLength = input.length, value = "", startingIndex = -1, equalityIndex = -1, keySeparatorIndex = -1, currentObj = result, lastKey, currentKey = "", keyChunk = "", shouldDecodeKey = !1, shouldDecodeValue = !1, keyHasPlus = !1, valueHasPlus = !1, keyIsDot = !1, hasBothKeyValuePair = !1, c = 0, arrayRepeatBracketIndex = -1, prevIndex = -1, prevChar = -1;
|
|
712
|
+
for (let i = 0; i < inputLength + 1; i++) {
|
|
713
|
+
if (c = i !== inputLength ? input.charCodeAt(i) : charDelimiter, c === charDelimiter) {
|
|
714
|
+
if (hasBothKeyValuePair = equalityIndex > startingIndex, hasBothKeyValuePair || (equalityIndex = i), keySeparatorIndex !== equalityIndex - 1 && (keyChunk = computeKeySlice(input, keySeparatorIndex + 1, arrayRepeatBracketIndex > -1 ? arrayRepeatBracketIndex : equalityIndex, keyHasPlus, shouldDecodeKey), currentKey = keyDeserializer(keyChunk), lastKey !== void 0 && (currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, isJsNestingSyntax && keyIsDot, void 0))), hasBothKeyValuePair || currentKey !== "") {
|
|
715
|
+
hasBothKeyValuePair && (value = input.slice(equalityIndex + 1, i), valueHasPlus && (value = value.replace(regexPlus, " ")), shouldDecodeValue && (value = (0, decode_uri_component_js_1.decodeURIComponent)(value) || value));
|
|
716
|
+
let newValue = valueDeserializer(value, currentKey);
|
|
717
|
+
if (arrayRepeat) {
|
|
718
|
+
let currentValue = currentObj[currentKey];
|
|
719
|
+
currentValue === void 0 ? arrayRepeatBracketIndex > -1 ? currentObj[currentKey] = [newValue] : currentObj[currentKey] = newValue : currentValue.pop ? currentValue.push(newValue) : currentObj[currentKey] = [currentValue, newValue];
|
|
720
|
+
} else
|
|
721
|
+
currentObj[currentKey] = newValue;
|
|
722
|
+
}
|
|
723
|
+
value = "", startingIndex = i, equalityIndex = i, shouldDecodeKey = !1, shouldDecodeValue = !1, keyHasPlus = !1, valueHasPlus = !1, keyIsDot = !1, arrayRepeatBracketIndex = -1, keySeparatorIndex = i, currentObj = result, lastKey = void 0, currentKey = "";
|
|
724
|
+
} else c === 93 ? (arrayRepeat && arrayRepeatSyntax === "bracket" && prevChar === 91 && (arrayRepeatBracketIndex = prevIndex), nesting && (nestingSyntax === "index" || isJsNestingSyntax) && equalityIndex <= startingIndex && (keySeparatorIndex !== prevIndex && (keyChunk = computeKeySlice(input, keySeparatorIndex + 1, i, keyHasPlus, shouldDecodeKey), currentKey = keyDeserializer(keyChunk), lastKey !== void 0 && (currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, void 0, void 0)), lastKey = currentKey, keyHasPlus = !1, shouldDecodeKey = !1), keySeparatorIndex = i, keyIsDot = !1)) : c === 46 ? nesting && (nestingSyntax === "dot" || isJsNestingSyntax) && equalityIndex <= startingIndex && (keySeparatorIndex !== prevIndex && (keyChunk = computeKeySlice(input, keySeparatorIndex + 1, i, keyHasPlus, shouldDecodeKey), currentKey = keyDeserializer(keyChunk), lastKey !== void 0 && (currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, isJsNestingSyntax)), lastKey = currentKey, keyHasPlus = !1, shouldDecodeKey = !1), keyIsDot = !0, keySeparatorIndex = i) : c === 91 ? nesting && (nestingSyntax === "index" || isJsNestingSyntax) && equalityIndex <= startingIndex && (keySeparatorIndex !== prevIndex && (keyChunk = computeKeySlice(input, keySeparatorIndex + 1, i, keyHasPlus, shouldDecodeKey), currentKey = keyDeserializer(keyChunk), isJsNestingSyntax && lastKey !== void 0 && (currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, isJsNestingSyntax)), lastKey = currentKey, keyHasPlus = !1, shouldDecodeKey = !1, keyIsDot = !1), keySeparatorIndex = i) : c === 61 ? equalityIndex <= startingIndex ? equalityIndex = i : shouldDecodeValue = !0 : c === 43 ? equalityIndex > startingIndex ? valueHasPlus = !0 : keyHasPlus = !0 : c === 37 && (equalityIndex > startingIndex ? shouldDecodeValue = !0 : shouldDecodeKey = !0);
|
|
725
|
+
prevIndex = i, prevChar = c;
|
|
726
|
+
}
|
|
727
|
+
return result;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
});
|
|
731
|
+
|
|
732
|
+
// ../node_modules/picoquery/lib/stringify.js
|
|
733
|
+
var require_stringify = __commonJS({
|
|
734
|
+
"../node_modules/picoquery/lib/stringify.js"(exports) {
|
|
735
|
+
"use strict";
|
|
736
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
737
|
+
exports.stringify = stringify;
|
|
738
|
+
var object_util_js_1 = require_object_util();
|
|
739
|
+
function stringify(input, options) {
|
|
740
|
+
if (input === null || typeof input != "object")
|
|
741
|
+
return "";
|
|
742
|
+
let optionsObj = options ?? {};
|
|
743
|
+
return (0, object_util_js_1.stringifyObject)(input, optionsObj);
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
});
|
|
747
|
+
|
|
748
|
+
// ../node_modules/picoquery/lib/main.js
|
|
749
|
+
var require_main = __commonJS({
|
|
750
|
+
"../node_modules/picoquery/lib/main.js"(exports) {
|
|
751
|
+
"use strict";
|
|
752
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
753
|
+
k2 === void 0 && (k2 = k);
|
|
754
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
755
|
+
(!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) && (desc = { enumerable: !0, get: function() {
|
|
756
|
+
return m[k];
|
|
757
|
+
} }), Object.defineProperty(o, k2, desc);
|
|
758
|
+
}) : (function(o, m, k, k2) {
|
|
759
|
+
k2 === void 0 && (k2 = k), o[k2] = m[k];
|
|
760
|
+
})), __exportStar = exports && exports.__exportStar || function(m, exports2) {
|
|
761
|
+
for (var p in m) p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p) && __createBinding(exports2, m, p);
|
|
762
|
+
};
|
|
763
|
+
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
764
|
+
exports.stringify = exports.parse = void 0;
|
|
765
|
+
var parse_js_1 = require_parse();
|
|
766
|
+
Object.defineProperty(exports, "parse", { enumerable: !0, get: function() {
|
|
767
|
+
return parse_js_1.parse;
|
|
768
|
+
} });
|
|
769
|
+
var stringify_js_1 = require_stringify();
|
|
770
|
+
Object.defineProperty(exports, "stringify", { enumerable: !0, get: function() {
|
|
771
|
+
return stringify_js_1.stringify;
|
|
772
|
+
} });
|
|
773
|
+
__exportStar(require_shared(), exports);
|
|
774
|
+
}
|
|
775
|
+
});
|
|
776
|
+
|
|
777
|
+
export {
|
|
778
|
+
require_main
|
|
779
|
+
};
|