storybook 10.0.0-beta.3 → 10.0.0-beta.5

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.
Files changed (100) hide show
  1. package/dist/_browser-chunks/Color-KPLIACXP.js +1569 -0
  2. package/dist/_browser-chunks/{chunk-YY5GICNT.js → chunk-6E2SHJSL.js} +175 -32
  3. package/dist/_browser-chunks/{chunk-MZNYTCNT.js → chunk-AM4PZYVQ.js} +10 -63
  4. package/dist/_browser-chunks/{chunk-YWDKX534.js → chunk-FA42P6MO.js} +49 -4
  5. package/dist/_browser-chunks/chunk-G33S6YM3.js +521 -0
  6. package/dist/_browser-chunks/chunk-GJ67EE65.js +67 -0
  7. package/dist/_browser-chunks/{chunk-4QPX7WIQ.js → chunk-JJZMHC3A.js} +57 -166
  8. package/dist/_browser-chunks/{chunk-MD2FTHCZ.js → chunk-JVSKG4YS.js} +3 -16
  9. package/dist/_browser-chunks/{chunk-E7VLET3C.js → chunk-KSCAWCCE.js} +3947 -4291
  10. package/dist/_browser-chunks/chunk-QK3L5AXO.js +372 -0
  11. package/dist/_browser-chunks/chunk-VUAFL5XK.js +20 -0
  12. package/dist/_browser-chunks/{chunk-T7RCAJIX.js → chunk-Y3M7TW6K.js} +43 -47
  13. package/dist/_browser-chunks/{chunk-PYK5ZTFK.js → chunk-YQV3EGQ5.js} +5 -5
  14. package/dist/_browser-chunks/{syntaxhighlighter-YYAA4CS4.js → syntaxhighlighter-RJW7FE3A.js} +3 -2
  15. package/dist/_node-chunks/{builder-manager-DXAEQZJB.js → builder-manager-ZTS4EIKQ.js} +18 -13
  16. package/dist/_node-chunks/camelcase-K3BM7RII.js +18 -0
  17. package/dist/_node-chunks/{chunk-XRAB2RZN.js → chunk-2VMDKLSW.js} +6 -6
  18. package/dist/_node-chunks/{chunk-EI44VA3U.js → chunk-3VVGIILJ.js} +8 -8
  19. package/dist/_node-chunks/{chunk-KQXC7XVZ.js → chunk-4KRR46V2.js} +50 -89
  20. package/dist/_node-chunks/{chunk-EVY6P65U.js → chunk-4VDRH7SM.js} +7 -7
  21. package/dist/_node-chunks/chunk-7LG5CLCT.js +18 -0
  22. package/dist/_node-chunks/{chunk-DNOOZ2LS.js → chunk-ACUNHBEO.js} +552 -717
  23. package/dist/_node-chunks/{camelcase-CMMT6PHY.js → chunk-AK5PHLUA.js} +9 -8
  24. package/dist/_node-chunks/{chunk-RUCPXDO3.js → chunk-D7SDB4XE.js} +223 -243
  25. package/dist/_node-chunks/chunk-DWJ7TV2O.js +62 -0
  26. package/dist/_node-chunks/chunk-DZJNLBBL.js +79 -0
  27. package/dist/_node-chunks/{chunk-5XVEWBRA.js → chunk-EIHJ5J3O.js} +8 -8
  28. package/dist/_node-chunks/{chunk-3SUJKLRV.js → chunk-F3WE3456.js} +7 -7
  29. package/dist/_node-chunks/{chunk-QI3AVWUV.js → chunk-F7YW5W6B.js} +12 -12
  30. package/dist/_node-chunks/{chunk-6Z44ODDR.js → chunk-H52PBBSK.js} +7 -7
  31. package/dist/_node-chunks/{chunk-WRSYICUI.js → chunk-J3DQMIO4.js} +7 -7
  32. package/dist/_node-chunks/{chunk-PA26PSV2.js → chunk-K4YETNYJ.js} +30 -21
  33. package/dist/_node-chunks/{chunk-LRQFELIZ.js → chunk-KU3JBNPY.js} +8 -8
  34. package/dist/_node-chunks/{chunk-4TGAX5W7.js → chunk-KZB7ELL6.js} +162 -103
  35. package/dist/_node-chunks/{chunk-PAZJQ2GH.js → chunk-OC3TVLYU.js} +7 -7
  36. package/dist/_node-chunks/{chunk-7EGB7ALG.js → chunk-P3TWEOO5.js} +7 -7
  37. package/dist/_node-chunks/{chunk-BV4J7FF6.js → chunk-P7YMEOXF.js} +7 -7
  38. package/dist/_node-chunks/{chunk-CNKVQCQJ.js → chunk-PIKDGR3O.js} +7 -7
  39. package/dist/_node-chunks/{chunk-R6TLLF24.js → chunk-QHIU5I7C.js} +6 -6
  40. package/dist/_node-chunks/{chunk-AKW5OJ2T.js → chunk-SW3VZAH7.js} +9 -9
  41. package/dist/_node-chunks/chunk-TBWOUVTA.js +4967 -0
  42. package/dist/_node-chunks/{chunk-TL5RNPZW.js → chunk-TKN5TEZV.js} +583 -180
  43. package/dist/_node-chunks/{chunk-SHXAIHPO.js → chunk-TVKUJ3SE.js} +623 -750
  44. package/dist/_node-chunks/{chunk-MVPVYHBT.js → chunk-UTCFHTQH.js} +8 -8
  45. package/dist/_node-chunks/{chunk-PK6SVDYW.js → chunk-VQN4WAIA.js} +7 -7
  46. package/dist/_node-chunks/{chunk-IA7M33LK.js → chunk-VWSUFVUF.js} +7 -7
  47. package/dist/_node-chunks/{chunk-ICETGZAR.js → chunk-VX5P3IYA.js} +7 -7
  48. package/dist/_node-chunks/{chunk-ICFGNVW7.js → chunk-WCSHG2QT.js} +7 -7
  49. package/dist/_node-chunks/{default-browser-id-2X5XLPPS.js → default-browser-id-4RZZMHJE.js} +7 -7
  50. package/dist/_node-chunks/{dist-JSBOOVQK.js → dist-OGRBL76N.js} +9 -9
  51. package/dist/_node-chunks/{globby-YYTLHNUO.js → globby-65LOULA6.js} +9 -9
  52. package/dist/_node-chunks/{lib-DJHADRPZ.js → lib-TF7JCT3A.js} +36 -12
  53. package/dist/_node-chunks/{mdx-N42X6CFJ-WT6XCDU6.js → mdx-N42X6CFJ-6ZJEUZMZ.js} +8 -8
  54. package/dist/_node-chunks/{p-limit-HTXI4SGX.js → p-limit-PF7JSPDT.js} +76 -10
  55. package/dist/_node-chunks/{plugin-NNRMQ2YK.js → plugin-A6XAWMXN.js} +10 -10
  56. package/dist/_node-chunks/{plugin-W22F3FQV.js → plugin-LGHGAC6J.js} +10 -10
  57. package/dist/_node-chunks/{webpack-inject-mocker-runtime-plugin-VFNVWMAM.js → webpack-inject-mocker-runtime-plugin-HDSEOU3Z.js} +1307 -847
  58. package/dist/_node-chunks/{webpack-mock-plugin-Q4ED2M25.js → webpack-mock-plugin-ZJJVMJUS.js} +9 -9
  59. package/dist/babel/index.d.ts +1 -1
  60. package/dist/babel/index.js +11 -11
  61. package/dist/bin/core.js +638 -187
  62. package/dist/bin/dispatcher.js +11 -11
  63. package/dist/bin/loader.js +8 -8
  64. package/dist/cli/index.d.ts +62 -75
  65. package/dist/cli/index.js +60 -54
  66. package/dist/common/index.d.ts +3 -1
  67. package/dist/common/index.js +23 -22
  68. package/dist/components/index.js +24 -20
  69. package/dist/core-server/index.js +3544 -3220
  70. package/dist/core-server/presets/common-manager.js +440 -720
  71. package/dist/core-server/presets/common-override-preset.js +9 -9
  72. package/dist/core-server/presets/common-preset.js +22 -22
  73. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +9 -9
  74. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +10 -10
  75. package/dist/csf/index.js +6 -6
  76. package/dist/csf-tools/index.js +9 -9
  77. package/dist/docs-tools/index.js +4 -4
  78. package/dist/instrumenter/index.js +1 -1
  79. package/dist/manager/globals-runtime.js +8910 -18107
  80. package/dist/manager/runtime.js +3256 -2945
  81. package/dist/manager-api/index.js +23 -20
  82. package/dist/node-logger/index.d.ts +1 -1
  83. package/dist/node-logger/index.js +1136 -662
  84. package/dist/preview/runtime.js +12061 -21584
  85. package/dist/preview-api/index.js +6 -6
  86. package/dist/router/index.js +2 -2
  87. package/dist/server-errors.js +10 -10
  88. package/dist/telemetry/index.js +24 -25
  89. package/dist/test/index.js +1872 -4023
  90. package/dist/theming/index.d.ts +2 -2
  91. package/dist/theming/index.js +6 -6
  92. package/package.json +4 -8
  93. package/dist/_browser-chunks/Color-SFYJJKWL.js +0 -605
  94. package/dist/_browser-chunks/chunk-DHO2SA6L.js +0 -12
  95. package/dist/_browser-chunks/chunk-WPHPDNUA.js +0 -974
  96. package/dist/_node-chunks/chunk-ALWVSNSK.js +0 -62
  97. package/dist/_node-chunks/chunk-MHNUEOON.js +0 -87
  98. package/dist/_node-chunks/chunk-VDFQYNPZ.js +0 -266
  99. package/dist/_node-chunks/chunk-WELIADWR.js +0 -2377
  100. package/dist/_node-chunks/chunk-YRXKNGPR.js +0 -18
@@ -0,0 +1,372 @@
1
+ import {
2
+ argumentsTag,
3
+ arrayBufferTag,
4
+ arrayTag,
5
+ booleanTag,
6
+ dataViewTag,
7
+ dateTag,
8
+ float32ArrayTag,
9
+ float64ArrayTag,
10
+ getSymbols,
11
+ getTag,
12
+ int16ArrayTag,
13
+ int32ArrayTag,
14
+ int8ArrayTag,
15
+ isPrimitive,
16
+ isTypedArray,
17
+ mapTag,
18
+ numberTag,
19
+ objectTag,
20
+ regexpTag,
21
+ setTag,
22
+ stringTag,
23
+ symbolTag,
24
+ uint16ArrayTag,
25
+ uint32ArrayTag,
26
+ uint8ArrayTag,
27
+ uint8ClampedArrayTag
28
+ } from "./chunk-JJZMHC3A.js";
29
+ import {
30
+ __name
31
+ } from "./chunk-MM7DTO55.js";
32
+
33
+ // ../node_modules/es-toolkit/dist/object/mapValues.mjs
34
+ function mapValues(object, getNewValue) {
35
+ const result = {};
36
+ const keys = Object.keys(object);
37
+ for (let i = 0; i < keys.length; i++) {
38
+ const key = keys[i];
39
+ const value = object[key];
40
+ result[key] = getNewValue(value, key, object);
41
+ }
42
+ return result;
43
+ }
44
+ __name(mapValues, "mapValues");
45
+
46
+ // ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
47
+ function isObjectLike(value) {
48
+ return typeof value === "object" && value !== null;
49
+ }
50
+ __name(isObjectLike, "isObjectLike");
51
+
52
+ // ../node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
53
+ function isArray(value) {
54
+ return Array.isArray(value);
55
+ }
56
+ __name(isArray, "isArray");
57
+
58
+ // ../node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
59
+ function isPlainObject(object) {
60
+ if (typeof object !== "object") {
61
+ return false;
62
+ }
63
+ if (object == null) {
64
+ return false;
65
+ }
66
+ if (Object.getPrototypeOf(object) === null) {
67
+ return true;
68
+ }
69
+ if (Object.prototype.toString.call(object) !== "[object Object]") {
70
+ const tag = object[Symbol.toStringTag];
71
+ if (tag == null) {
72
+ return false;
73
+ }
74
+ const isTagReadonly = !Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable;
75
+ if (isTagReadonly) {
76
+ return false;
77
+ }
78
+ return object.toString() === `[object ${tag}]`;
79
+ }
80
+ let proto = object;
81
+ while (Object.getPrototypeOf(proto) !== null) {
82
+ proto = Object.getPrototypeOf(proto);
83
+ }
84
+ return Object.getPrototypeOf(object) === proto;
85
+ }
86
+ __name(isPlainObject, "isPlainObject");
87
+
88
+ // ../node_modules/es-toolkit/dist/object/clone.mjs
89
+ function clone(obj) {
90
+ if (isPrimitive(obj)) {
91
+ return obj;
92
+ }
93
+ if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && obj instanceof SharedArrayBuffer) {
94
+ return obj.slice(0);
95
+ }
96
+ const prototype = Object.getPrototypeOf(obj);
97
+ const Constructor = prototype.constructor;
98
+ if (obj instanceof Date || obj instanceof Map || obj instanceof Set) {
99
+ return new Constructor(obj);
100
+ }
101
+ if (obj instanceof RegExp) {
102
+ const newRegExp = new Constructor(obj);
103
+ newRegExp.lastIndex = obj.lastIndex;
104
+ return newRegExp;
105
+ }
106
+ if (obj instanceof DataView) {
107
+ return new Constructor(obj.buffer.slice(0));
108
+ }
109
+ if (obj instanceof Error) {
110
+ const newError = new Constructor(obj.message);
111
+ newError.stack = obj.stack;
112
+ newError.name = obj.name;
113
+ newError.cause = obj.cause;
114
+ return newError;
115
+ }
116
+ if (typeof File !== "undefined" && obj instanceof File) {
117
+ const newFile = new Constructor([obj], obj.name, { type: obj.type, lastModified: obj.lastModified });
118
+ return newFile;
119
+ }
120
+ if (typeof obj === "object") {
121
+ const newObject = Object.create(prototype);
122
+ return Object.assign(newObject, obj);
123
+ }
124
+ return obj;
125
+ }
126
+ __name(clone, "clone");
127
+
128
+ // ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
129
+ function cloneDeepWith(obj, cloneValue) {
130
+ return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), cloneValue);
131
+ }
132
+ __name(cloneDeepWith, "cloneDeepWith");
133
+ function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
134
+ const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
135
+ if (cloned !== void 0) {
136
+ return cloned;
137
+ }
138
+ if (isPrimitive(valueToClone)) {
139
+ return valueToClone;
140
+ }
141
+ if (stack.has(valueToClone)) {
142
+ return stack.get(valueToClone);
143
+ }
144
+ if (Array.isArray(valueToClone)) {
145
+ const result = new Array(valueToClone.length);
146
+ stack.set(valueToClone, result);
147
+ for (let i = 0; i < valueToClone.length; i++) {
148
+ result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
149
+ }
150
+ if (Object.hasOwn(valueToClone, "index")) {
151
+ result.index = valueToClone.index;
152
+ }
153
+ if (Object.hasOwn(valueToClone, "input")) {
154
+ result.input = valueToClone.input;
155
+ }
156
+ return result;
157
+ }
158
+ if (valueToClone instanceof Date) {
159
+ return new Date(valueToClone.getTime());
160
+ }
161
+ if (valueToClone instanceof RegExp) {
162
+ const result = new RegExp(valueToClone.source, valueToClone.flags);
163
+ result.lastIndex = valueToClone.lastIndex;
164
+ return result;
165
+ }
166
+ if (valueToClone instanceof Map) {
167
+ const result = /* @__PURE__ */ new Map();
168
+ stack.set(valueToClone, result);
169
+ for (const [key, value] of valueToClone) {
170
+ result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
171
+ }
172
+ return result;
173
+ }
174
+ if (valueToClone instanceof Set) {
175
+ const result = /* @__PURE__ */ new Set();
176
+ stack.set(valueToClone, result);
177
+ for (const value of valueToClone) {
178
+ result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
179
+ }
180
+ return result;
181
+ }
182
+ if (typeof Buffer !== "undefined" && Buffer.isBuffer(valueToClone)) {
183
+ return valueToClone.subarray();
184
+ }
185
+ if (isTypedArray(valueToClone)) {
186
+ const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
187
+ stack.set(valueToClone, result);
188
+ for (let i = 0; i < valueToClone.length; i++) {
189
+ result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
190
+ }
191
+ return result;
192
+ }
193
+ if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) {
194
+ return valueToClone.slice(0);
195
+ }
196
+ if (valueToClone instanceof DataView) {
197
+ const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
198
+ stack.set(valueToClone, result);
199
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
200
+ return result;
201
+ }
202
+ if (typeof File !== "undefined" && valueToClone instanceof File) {
203
+ const result = new File([valueToClone], valueToClone.name, {
204
+ type: valueToClone.type
205
+ });
206
+ stack.set(valueToClone, result);
207
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
208
+ return result;
209
+ }
210
+ if (valueToClone instanceof Blob) {
211
+ const result = new Blob([valueToClone], { type: valueToClone.type });
212
+ stack.set(valueToClone, result);
213
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
214
+ return result;
215
+ }
216
+ if (valueToClone instanceof Error) {
217
+ const result = new valueToClone.constructor();
218
+ stack.set(valueToClone, result);
219
+ result.message = valueToClone.message;
220
+ result.name = valueToClone.name;
221
+ result.stack = valueToClone.stack;
222
+ result.cause = valueToClone.cause;
223
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
224
+ return result;
225
+ }
226
+ if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
227
+ const result = Object.create(Object.getPrototypeOf(valueToClone));
228
+ stack.set(valueToClone, result);
229
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
230
+ return result;
231
+ }
232
+ return valueToClone;
233
+ }
234
+ __name(cloneDeepWithImpl, "cloneDeepWithImpl");
235
+ function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
236
+ const keys = [...Object.keys(source), ...getSymbols(source)];
237
+ for (let i = 0; i < keys.length; i++) {
238
+ const key = keys[i];
239
+ const descriptor = Object.getOwnPropertyDescriptor(target, key);
240
+ if (descriptor == null || descriptor.writable) {
241
+ target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
242
+ }
243
+ }
244
+ }
245
+ __name(copyProperties, "copyProperties");
246
+ function isCloneableObject(object) {
247
+ switch (getTag(object)) {
248
+ case argumentsTag:
249
+ case arrayTag:
250
+ case arrayBufferTag:
251
+ case dataViewTag:
252
+ case booleanTag:
253
+ case dateTag:
254
+ case float32ArrayTag:
255
+ case float64ArrayTag:
256
+ case int8ArrayTag:
257
+ case int16ArrayTag:
258
+ case int32ArrayTag:
259
+ case mapTag:
260
+ case numberTag:
261
+ case objectTag:
262
+ case regexpTag:
263
+ case setTag:
264
+ case stringTag:
265
+ case symbolTag:
266
+ case uint8ArrayTag:
267
+ case uint8ClampedArrayTag:
268
+ case uint16ArrayTag:
269
+ case uint32ArrayTag: {
270
+ return true;
271
+ }
272
+ default: {
273
+ return false;
274
+ }
275
+ }
276
+ }
277
+ __name(isCloneableObject, "isCloneableObject");
278
+
279
+ // ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
280
+ function cloneDeep(obj) {
281
+ return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
282
+ }
283
+ __name(cloneDeep, "cloneDeep");
284
+
285
+ // ../node_modules/es-toolkit/dist/object/findKey.mjs
286
+ function findKey(obj, predicate) {
287
+ const keys = Object.keys(obj);
288
+ return keys.find((key) => predicate(obj[key], key, obj));
289
+ }
290
+ __name(findKey, "findKey");
291
+
292
+ // ../node_modules/es-toolkit/dist/object/invert.mjs
293
+ function invert(obj) {
294
+ const result = {};
295
+ const keys = Object.keys(obj);
296
+ for (let i = 0; i < keys.length; i++) {
297
+ const key = keys[i];
298
+ const value = obj[key];
299
+ result[value] = key;
300
+ }
301
+ return result;
302
+ }
303
+ __name(invert, "invert");
304
+
305
+ // ../node_modules/es-toolkit/dist/object/mapKeys.mjs
306
+ function mapKeys(object, getNewKey) {
307
+ const result = {};
308
+ const keys = Object.keys(object);
309
+ for (let i = 0; i < keys.length; i++) {
310
+ const key = keys[i];
311
+ const value = object[key];
312
+ result[getNewKey(value, key, object)] = value;
313
+ }
314
+ return result;
315
+ }
316
+ __name(mapKeys, "mapKeys");
317
+
318
+ // ../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
319
+ function isUnsafeProperty(key) {
320
+ return key === "__proto__";
321
+ }
322
+ __name(isUnsafeProperty, "isUnsafeProperty");
323
+
324
+ // ../node_modules/es-toolkit/dist/string/capitalize.mjs
325
+ function capitalize(str) {
326
+ return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
327
+ }
328
+ __name(capitalize, "capitalize");
329
+
330
+ // ../node_modules/es-toolkit/dist/string/words.mjs
331
+ var CASE_SPLIT_PATTERN = new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+", "gu");
332
+ function words(str) {
333
+ return Array.from(str.match(CASE_SPLIT_PATTERN) ?? []);
334
+ }
335
+ __name(words, "words");
336
+
337
+ // ../node_modules/es-toolkit/dist/string/camelCase.mjs
338
+ function camelCase(str) {
339
+ const words$1 = words(str);
340
+ if (words$1.length === 0) {
341
+ return "";
342
+ }
343
+ const [first, ...rest] = words$1;
344
+ return `${first.toLowerCase()}${rest.map((word) => capitalize(word)).join("")}`;
345
+ }
346
+ __name(camelCase, "camelCase");
347
+
348
+ // ../node_modules/es-toolkit/dist/string/snakeCase.mjs
349
+ function snakeCase(str) {
350
+ const words$1 = words(str);
351
+ return words$1.map((word) => word.toLowerCase()).join("_");
352
+ }
353
+ __name(snakeCase, "snakeCase");
354
+
355
+ export {
356
+ clone,
357
+ cloneDeepWith,
358
+ copyProperties,
359
+ cloneDeep,
360
+ findKey,
361
+ invert,
362
+ mapKeys,
363
+ mapValues,
364
+ isUnsafeProperty,
365
+ isObjectLike,
366
+ isArray,
367
+ capitalize,
368
+ words,
369
+ camelCase,
370
+ isPlainObject,
371
+ snakeCase
372
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ __commonJS,
3
+ __name
4
+ } from "./chunk-MM7DTO55.js";
5
+
6
+ // ../node_modules/picocolors/picocolors.browser.js
7
+ var require_picocolors_browser = __commonJS({
8
+ "../node_modules/picocolors/picocolors.browser.js"(exports, module) {
9
+ var x = String;
10
+ var create = /* @__PURE__ */ __name(function() {
11
+ return { isColorSupported: false, reset: x, bold: x, dim: x, italic: x, underline: x, inverse: x, hidden: x, strikethrough: x, black: x, red: x, green: x, yellow: x, blue: x, magenta: x, cyan: x, white: x, gray: x, bgBlack: x, bgRed: x, bgGreen: x, bgYellow: x, bgBlue: x, bgMagenta: x, bgCyan: x, bgWhite: x, blackBright: x, redBright: x, greenBright: x, yellowBright: x, blueBright: x, magentaBright: x, cyanBright: x, whiteBright: x, bgBlackBright: x, bgRedBright: x, bgGreenBright: x, bgYellowBright: x, bgBlueBright: x, bgMagentaBright: x, bgCyanBright: x, bgWhiteBright: x };
12
+ }, "create");
13
+ module.exports = create();
14
+ module.exports.createColors = create;
15
+ }
16
+ });
17
+
18
+ export {
19
+ require_picocolors_browser
20
+ };
@@ -281,6 +281,9 @@ var require_object_util = __commonJS({
281
281
  let valueIsProbableArray = false;
282
282
  for (const key in obj) {
283
283
  const value = obj[key];
284
+ if (value === void 0) {
285
+ continue;
286
+ }
284
287
  let path;
285
288
  if (parentKey) {
286
289
  path = parentKey;
@@ -322,10 +325,12 @@ var require_object_util = __commonJS({
322
325
  }
323
326
  });
324
327
 
325
- // ../node_modules/fast-decode-uri-component/index.js
326
- var require_fast_decode_uri_component = __commonJS({
327
- "../node_modules/fast-decode-uri-component/index.js"(exports, module) {
328
+ // ../node_modules/picoquery/lib/decode-uri-component.js
329
+ var require_decode_uri_component = __commonJS({
330
+ "../node_modules/picoquery/lib/decode-uri-component.js"(exports) {
328
331
  "use strict";
332
+ Object.defineProperty(exports, "__esModule", { value: true });
333
+ exports.decodeURIComponent = decodeURIComponent;
329
334
  var UTF8_ACCEPT = 12;
330
335
  var UTF8_REJECT = 0;
331
336
  var UTF8_DATA = [
@@ -712,27 +717,26 @@ var require_fast_decode_uri_component = __commonJS({
712
717
  7
713
718
  ];
714
719
  function decodeURIComponent(uri) {
715
- var percentPosition = uri.indexOf("%");
716
- if (percentPosition === -1) return uri;
717
- var length = uri.length;
718
- var decoded = "";
719
- var last = 0;
720
- var codepoint = 0;
721
- var startOfOctets = percentPosition;
722
- var state = UTF8_ACCEPT;
720
+ let percentPosition = uri.indexOf("%");
721
+ if (percentPosition === -1) {
722
+ return uri;
723
+ }
724
+ const length = uri.length;
725
+ let decoded = "";
726
+ let last = 0;
727
+ let codepoint = 0;
728
+ let startOfOctets = percentPosition;
729
+ let state = UTF8_ACCEPT;
723
730
  while (percentPosition > -1 && percentPosition < length) {
724
- var high = hexCodeToInt(uri[percentPosition + 1], 4);
725
- var low = hexCodeToInt(uri[percentPosition + 2], 0);
726
- var byte = high | low;
727
- var type = UTF8_DATA[byte];
731
+ const high = hexCodeToInt(uri[percentPosition + 1], 4);
732
+ const low = hexCodeToInt(uri[percentPosition + 2], 0);
733
+ const byte = high | low;
734
+ const type = UTF8_DATA[byte];
728
735
  state = UTF8_DATA[256 + state + type];
729
736
  codepoint = codepoint << 6 | byte & UTF8_DATA[364 + type];
730
737
  if (state === UTF8_ACCEPT) {
731
738
  decoded += uri.slice(last, startOfOctets);
732
- decoded += codepoint <= 65535 ? String.fromCharCode(codepoint) : String.fromCharCode(
733
- 55232 + (codepoint >> 10),
734
- 56320 + (codepoint & 1023)
735
- );
739
+ decoded += codepoint <= 65535 ? String.fromCharCode(codepoint) : String.fromCharCode(55232 + (codepoint >> 10), 56320 + (codepoint & 1023));
736
740
  codepoint = 0;
737
741
  last = percentPosition + 3;
738
742
  percentPosition = startOfOctets = uri.indexOf("%", last);
@@ -740,7 +744,8 @@ var require_fast_decode_uri_component = __commonJS({
740
744
  return null;
741
745
  } else {
742
746
  percentPosition += 3;
743
- if (percentPosition < length && uri.charCodeAt(percentPosition) === 37) continue;
747
+ if (percentPosition < length && uri.charCodeAt(percentPosition) === 37)
748
+ continue;
744
749
  return null;
745
750
  }
746
751
  }
@@ -758,25 +763,24 @@ var require_fast_decode_uri_component = __commonJS({
758
763
  "7": 7,
759
764
  "8": 8,
760
765
  "9": 9,
761
- "a": 10,
762
- "A": 10,
763
- "b": 11,
764
- "B": 11,
765
- "c": 12,
766
- "C": 12,
767
- "d": 13,
768
- "D": 13,
769
- "e": 14,
770
- "E": 14,
771
- "f": 15,
772
- "F": 15
766
+ a: 10,
767
+ A: 10,
768
+ b: 11,
769
+ B: 11,
770
+ c: 12,
771
+ C: 12,
772
+ d: 13,
773
+ D: 13,
774
+ e: 14,
775
+ E: 14,
776
+ f: 15,
777
+ F: 15
773
778
  };
774
779
  function hexCodeToInt(c, shift) {
775
- var i = HEX[c];
780
+ const i = HEX[c];
776
781
  return i === void 0 ? 255 : i << shift;
777
782
  }
778
783
  __name(hexCodeToInt, "hexCodeToInt");
779
- module.exports = decodeURIComponent;
780
784
  }
781
785
  });
782
786
 
@@ -784,15 +788,12 @@ var require_fast_decode_uri_component = __commonJS({
784
788
  var require_parse = __commonJS({
785
789
  "../node_modules/picoquery/lib/parse.js"(exports) {
786
790
  "use strict";
787
- var __importDefault = exports && exports.__importDefault || function(mod) {
788
- return mod && mod.__esModule ? mod : { "default": mod };
789
- };
790
791
  Object.defineProperty(exports, "__esModule", { value: true });
791
792
  exports.numberValueDeserializer = exports.numberKeyDeserializer = void 0;
792
793
  exports.parse = parse;
793
794
  var object_util_js_1 = require_object_util();
794
795
  var shared_js_1 = require_shared();
795
- var fast_decode_uri_component_1 = __importDefault(require_fast_decode_uri_component());
796
+ var decode_uri_component_js_1 = require_decode_uri_component();
796
797
  var numberKeyDeserializer = /* @__PURE__ */ __name((key) => {
797
798
  const asNumber = Number(key);
798
799
  if (!Number.isNaN(asNumber)) {
@@ -819,7 +820,7 @@ var require_parse = __commonJS({
819
820
  chunk = chunk.replace(regexPlus, " ");
820
821
  }
821
822
  if (shouldDecodeKey) {
822
- chunk = (0, fast_decode_uri_component_1.default)(chunk) || chunk;
823
+ chunk = (0, decode_uri_component_js_1.decodeURIComponent)(chunk) || chunk;
823
824
  }
824
825
  return chunk;
825
826
  }
@@ -846,7 +847,6 @@ var require_parse = __commonJS({
846
847
  let keyHasPlus = false;
847
848
  let valueHasPlus = false;
848
849
  let keyIsDot = false;
849
- let keyIsIndex = false;
850
850
  let hasBothKeyValuePair = false;
851
851
  let c = 0;
852
852
  let arrayRepeatBracketIndex = -1;
@@ -863,7 +863,7 @@ var require_parse = __commonJS({
863
863
  keyChunk = computeKeySlice(input, keySeparatorIndex + 1, arrayRepeatBracketIndex > -1 ? arrayRepeatBracketIndex : equalityIndex, keyHasPlus, shouldDecodeKey);
864
864
  currentKey = keyDeserializer(keyChunk);
865
865
  if (lastKey !== void 0) {
866
- currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, isJsNestingSyntax && keyIsDot, isJsNestingSyntax && keyIsIndex);
866
+ currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, isJsNestingSyntax && keyIsDot, void 0);
867
867
  }
868
868
  }
869
869
  if (hasBothKeyValuePair || currentKey !== "") {
@@ -873,7 +873,7 @@ var require_parse = __commonJS({
873
873
  value = value.replace(regexPlus, " ");
874
874
  }
875
875
  if (shouldDecodeValue) {
876
- value = (0, fast_decode_uri_component_1.default)(value) || value;
876
+ value = (0, decode_uri_component_js_1.decodeURIComponent)(value) || value;
877
877
  }
878
878
  }
879
879
  const newValue = valueDeserializer(value, currentKey);
@@ -901,7 +901,6 @@ var require_parse = __commonJS({
901
901
  keyHasPlus = false;
902
902
  valueHasPlus = false;
903
903
  keyIsDot = false;
904
- keyIsIndex = false;
905
904
  arrayRepeatBracketIndex = -1;
906
905
  keySeparatorIndex = i;
907
906
  currentObj = result;
@@ -918,14 +917,13 @@ var require_parse = __commonJS({
918
917
  keyChunk = computeKeySlice(input, keySeparatorIndex + 1, i, keyHasPlus, shouldDecodeKey);
919
918
  currentKey = keyDeserializer(keyChunk);
920
919
  if (lastKey !== void 0) {
921
- currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, void 0, isJsNestingSyntax);
920
+ currentObj = (0, object_util_js_1.getDeepObject)(currentObj, lastKey, currentKey, void 0, void 0);
922
921
  }
923
922
  lastKey = currentKey;
924
923
  keyHasPlus = false;
925
924
  shouldDecodeKey = false;
926
925
  }
927
926
  keySeparatorIndex = i;
928
- keyIsIndex = true;
929
927
  keyIsDot = false;
930
928
  }
931
929
  } else if (c === 46) {
@@ -941,7 +939,6 @@ var require_parse = __commonJS({
941
939
  shouldDecodeKey = false;
942
940
  }
943
941
  keyIsDot = true;
944
- keyIsIndex = false;
945
942
  keySeparatorIndex = i;
946
943
  }
947
944
  } else if (c === 91) {
@@ -956,7 +953,6 @@ var require_parse = __commonJS({
956
953
  keyHasPlus = false;
957
954
  shouldDecodeKey = false;
958
955
  keyIsDot = false;
959
- keyIsIndex = true;
960
956
  }
961
957
  keySeparatorIndex = i;
962
958
  }
@@ -5,14 +5,14 @@ import {
5
5
  } from "./chunk-LYCSRYYR.js";
6
6
  import {
7
7
  require_main
8
- } from "./chunk-T7RCAJIX.js";
8
+ } from "./chunk-Y3M7TW6K.js";
9
9
  import {
10
10
  SNIPPET_RENDERED,
11
11
  combineParameters
12
- } from "./chunk-YY5GICNT.js";
12
+ } from "./chunk-6E2SHJSL.js";
13
13
  import {
14
14
  pickBy
15
- } from "./chunk-YWDKX534.js";
15
+ } from "./chunk-FA42P6MO.js";
16
16
  import {
17
17
  invariant
18
18
  } from "./chunk-FUOHXXZT.js";
@@ -21,11 +21,11 @@ import {
21
21
  } from "./chunk-F4Q6SGTB.js";
22
22
  import {
23
23
  mapValues
24
- } from "./chunk-E7VLET3C.js";
24
+ } from "./chunk-QK3L5AXO.js";
25
25
  import {
26
26
  isEqual,
27
27
  isPlainObject
28
- } from "./chunk-4QPX7WIQ.js";
28
+ } from "./chunk-JJZMHC3A.js";
29
29
  import {
30
30
  require_memoizerific
31
31
  } from "./chunk-NVV6MIOE.js";
@@ -3,8 +3,7 @@ import {
3
3
  createCopyToClipboardFunction,
4
4
  supportedLanguages,
5
5
  syntaxhighlighter_default
6
- } from "./chunk-MZNYTCNT.js";
7
- import "./chunk-VAMFPZY3.js";
6
+ } from "./chunk-AM4PZYVQ.js";
8
7
  import "./chunk-P2LUROS2.js";
9
8
  import "./chunk-WJWT2LN5.js";
10
9
  import "./chunk-VBZTU7DO.js";
@@ -476,6 +475,8 @@ import "./chunk-OGVSPJVI.js";
476
475
  import "./chunk-AQHB5MEL.js";
477
476
  import "./chunk-5B53MDLY.js";
478
477
  import "./chunk-VVVPU2RE.js";
478
+ import "./chunk-GJ67EE65.js";
479
+ import "./chunk-VAMFPZY3.js";
479
480
  import "./chunk-G2FJLQK5.js";
480
481
  import "./chunk-MH6AXFXB.js";
481
482
  import "./chunk-NVV6MIOE.js";