storybook 10.1.0-alpha.1 → 10.1.0-alpha.11

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 (202) hide show
  1. package/dist/_browser-chunks/Color-FTG7SQDA.js +1097 -0
  2. package/dist/_browser-chunks/WithTooltip-LMROHDUP.js +1651 -0
  3. package/dist/_browser-chunks/chunk-2FRVAXCZ.js +7 -0
  4. package/dist/_browser-chunks/chunk-3IAH5M2U.js +171 -0
  5. package/dist/_browser-chunks/chunk-3OXGAGBE.js +779 -0
  6. package/dist/_browser-chunks/{chunk-TMDZCWME.js → chunk-3PJE6VLG.js} +1 -3
  7. package/dist/_browser-chunks/{chunk-VAMFPZY3.js → chunk-45UGUKRX.js} +2 -7
  8. package/dist/_browser-chunks/chunk-6XWLIJQL.js +11 -0
  9. package/dist/_browser-chunks/{chunk-FDWKXLBI.js → chunk-74YHFU5B.js} +44 -109
  10. package/dist/_browser-chunks/{chunk-MM7DTO55.js → chunk-A242L54C.js} +10 -16
  11. package/dist/_browser-chunks/chunk-AIOS4NGK.js +252 -0
  12. package/dist/_browser-chunks/chunk-AS2HQEYC.js +14 -0
  13. package/dist/_browser-chunks/chunk-AXG2BOBL.js +836 -0
  14. package/dist/_browser-chunks/chunk-BE2DAXKJ.js +2966 -0
  15. package/dist/_browser-chunks/{chunk-MH6AXFXB.js → chunk-CHUV5WSW.js} +0 -5
  16. package/dist/_browser-chunks/chunk-EBHB6RPS.js +61 -0
  17. package/dist/_browser-chunks/chunk-EUVGDK4H.js +93 -0
  18. package/dist/_browser-chunks/chunk-EZSQOHRI.js +18 -0
  19. package/dist/_browser-chunks/{chunk-CADGRH3P.js → chunk-FNXWN6IK.js} +3 -8
  20. package/dist/_browser-chunks/chunk-GFLS4VP3.js +64 -0
  21. package/dist/_browser-chunks/{chunk-L2D73C6Z.js → chunk-H6XK3RSC.js} +13 -21
  22. package/dist/_browser-chunks/chunk-IPA5A322.js +71 -0
  23. package/dist/_browser-chunks/chunk-JP7NCOJX.js +37 -0
  24. package/dist/_browser-chunks/chunk-KJHJLCBK.js +11 -0
  25. package/dist/_browser-chunks/chunk-L4RMQ7D7.js +223 -0
  26. package/dist/_browser-chunks/{chunk-AB7OOPUX.js → chunk-QKODTO7K.js} +0 -5
  27. package/dist/_browser-chunks/chunk-RP5RXKFU.js +2491 -0
  28. package/dist/_browser-chunks/chunk-SL75JR6Y.js +9 -0
  29. package/dist/_browser-chunks/chunk-UD6FQLAF.js +1481 -0
  30. package/dist/_browser-chunks/chunk-VYJQ7RU5.js +2853 -0
  31. package/dist/_browser-chunks/chunk-WJYERY3R.js +136 -0
  32. package/dist/_browser-chunks/chunk-WXP2XJ3O.js +950 -0
  33. package/dist/_browser-chunks/chunk-X3DUQ5RA.js +47 -0
  34. package/dist/_browser-chunks/chunk-XJNX76GA.js +85 -0
  35. package/dist/_browser-chunks/{chunk-F4Q6SGTB.js → chunk-YKE5S47A.js} +177 -399
  36. package/dist/_browser-chunks/{chunk-SN4J4IQ3.js → chunk-ZUWEVLDX.js} +1 -7
  37. package/dist/_browser-chunks/{formatter-OMEEQ6HG.js → formatter-QJ4M4OGQ.js} +4 -9
  38. package/dist/_browser-chunks/{syntaxhighlighter-DK2ODWXH.js → syntaxhighlighter-WKBQ5RC7.js} +707 -1851
  39. package/dist/_node-chunks/{builder-manager-6UBDPV7P.js → builder-manager-PMPHOSM2.js} +495 -1013
  40. package/dist/_node-chunks/camelcase-K3IOOFQW.js +18 -0
  41. package/dist/_node-chunks/{chunk-QNUGJO6L.js → chunk-32NE3UE3.js} +15 -24
  42. package/dist/_node-chunks/chunk-4GZCFQFG.js +58 -0
  43. package/dist/_node-chunks/chunk-5QK5MSOI.js +943 -0
  44. package/dist/_node-chunks/{chunk-3FPF5Y2F.js → chunk-6ZOLETQK.js} +8 -10
  45. package/dist/_node-chunks/chunk-7I22Y76Z.js +1047 -0
  46. package/dist/_node-chunks/chunk-AKTRSR3O.js +72 -0
  47. package/dist/_node-chunks/chunk-BBOP3XCK.js +119 -0
  48. package/dist/_node-chunks/chunk-C2GQVDWI.js +34 -0
  49. package/dist/_node-chunks/{chunk-SCTKVDWR.js → chunk-GG2WQZSG.js} +4619 -7350
  50. package/dist/_node-chunks/chunk-GQJOWVVR.js +3214 -0
  51. package/dist/_node-chunks/chunk-JCRM2YVK.js +3009 -0
  52. package/dist/_node-chunks/chunk-KK4AT5F3.js +1029 -0
  53. package/dist/_node-chunks/chunk-L7MYXJUM.js +1114 -0
  54. package/dist/_node-chunks/{chunk-LAU7VVPC.js → chunk-LCZO45L7.js} +469 -983
  55. package/dist/_node-chunks/chunk-LR3QITDI.js +209 -0
  56. package/dist/_node-chunks/chunk-LXG4DK35.js +3171 -0
  57. package/dist/_node-chunks/chunk-MJ3WOS6F.js +37 -0
  58. package/dist/_node-chunks/chunk-PHOZWZZO.js +61 -0
  59. package/dist/_node-chunks/chunk-QECOQWRJ.js +936 -0
  60. package/dist/_node-chunks/chunk-QH4V5YDB.js +20 -0
  61. package/dist/_node-chunks/chunk-R6HWGZWD.js +26 -0
  62. package/dist/_node-chunks/chunk-SPQXMU2Q.js +759 -0
  63. package/dist/_node-chunks/chunk-TXZY6V6O.js +1564 -0
  64. package/dist/_node-chunks/chunk-UGDPX5LE.js +756 -0
  65. package/dist/_node-chunks/chunk-UY26MQLT.js +603 -0
  66. package/dist/_node-chunks/chunk-WK3EMYK6.js +61 -0
  67. package/dist/_node-chunks/{chunk-CJHAP7SE.js → chunk-WLHMN7AP.js} +292 -688
  68. package/dist/_node-chunks/chunk-XGVLB4UJ.js +54 -0
  69. package/dist/_node-chunks/{chunk-J7N7PD5Q.js → chunk-YHRFI6BE.js} +87 -227
  70. package/dist/_node-chunks/chunk-YK4KVMFW.js +18 -0
  71. package/dist/_node-chunks/chunk-ZZALGOA6.js +4523 -0
  72. package/dist/_node-chunks/chunk-ZZPBSYA5.js +301 -0
  73. package/dist/_node-chunks/chunk-ZZSRFAC6.js +45571 -0
  74. package/dist/_node-chunks/dist-4DWOCZUD.js +121 -0
  75. package/dist/_node-chunks/globby-AAARUKEU.js +3452 -0
  76. package/dist/_node-chunks/lib-HEUKGL62.js +366 -0
  77. package/dist/_node-chunks/mdx-N42X6CFJ-DCVRPS6N.js +14329 -0
  78. package/dist/_node-chunks/p-limit-F5ZKJ6WZ.js +116 -0
  79. package/dist/_node-chunks/plugin-7YY7JXCH.js +123 -0
  80. package/dist/_node-chunks/{plugin-HJLCLGNT.js → plugin-SZP3CW6W.js} +36 -56
  81. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-TGKNDPO6.js +46623 -0
  82. package/dist/_node-chunks/webpack-mock-plugin-LNTZZFBE.js +92 -0
  83. package/dist/actions/decorator.js +21 -42
  84. package/dist/actions/index.js +3 -3
  85. package/dist/babel/index.d.ts +671 -335
  86. package/dist/babel/index.js +11 -11
  87. package/dist/bin/core.js +592 -1546
  88. package/dist/bin/dispatcher.js +26 -37
  89. package/dist/bin/loader.js +23 -34
  90. package/dist/channels/index.js +98 -234
  91. package/dist/cli/index.js +1966 -5347
  92. package/dist/client-logger/index.js +31 -61
  93. package/dist/common/index.d.ts +210 -3
  94. package/dist/common/index.js +28 -20
  95. package/dist/components/index.d.ts +472 -280
  96. package/dist/components/index.js +15992 -75
  97. package/dist/core-events/index.js +2 -66
  98. package/dist/core-server/index.js +3837 -7191
  99. package/dist/core-server/presets/common-manager.css +2 -2
  100. package/dist/core-server/presets/common-manager.js +2511 -5219
  101. package/dist/core-server/presets/common-override-preset.js +31 -60
  102. package/dist/core-server/presets/common-preset.js +434 -924
  103. package/dist/core-server/presets/webpack/loaders/storybook-mock-transform-loader.js +15 -19
  104. package/dist/core-server/presets/webpack/loaders/webpack-automock-loader.js +12 -17
  105. package/dist/csf/index.js +534 -1172
  106. package/dist/csf-tools/index.d.ts +15 -4
  107. package/dist/csf-tools/index.js +9 -9
  108. package/dist/docs-tools/index.js +6 -6
  109. package/dist/highlight/index.js +2 -2
  110. package/dist/instrumenter/index.js +199 -415
  111. package/dist/manager/globals-runtime.js +47968 -56484
  112. package/dist/manager/globals.js +2 -3
  113. package/dist/manager/runtime.js +4901 -10318
  114. package/dist/manager-api/index.d.ts +11 -3
  115. package/dist/manager-api/index.js +1250 -2397
  116. package/dist/manager-errors.d.ts +3 -0
  117. package/dist/manager-errors.js +3 -3
  118. package/dist/node-logger/index.d.ts +1 -1
  119. package/dist/node-logger/index.js +1270 -2593
  120. package/dist/preview/globals.js +2 -3
  121. package/dist/preview/runtime.js +10767 -22386
  122. package/dist/preview-api/index.d.ts +67 -68
  123. package/dist/preview-api/index.js +15 -15
  124. package/dist/preview-errors.d.ts +3 -0
  125. package/dist/preview-errors.js +4 -4
  126. package/dist/router/index.js +347 -899
  127. package/dist/server-errors.d.ts +3 -0
  128. package/dist/server-errors.js +10 -10
  129. package/dist/telemetry/index.js +24 -24
  130. package/dist/test/index.js +6129 -11914
  131. package/dist/theming/create.d.ts +4 -2
  132. package/dist/theming/create.js +4 -4
  133. package/dist/theming/index.d.ts +3397 -2628
  134. package/dist/theming/index.js +502 -1091
  135. package/dist/types/index.d.ts +50 -5
  136. package/dist/types/index.js +2 -11
  137. package/dist/viewport/index.js +3 -3
  138. package/package.json +17 -9
  139. package/dist/_browser-chunks/Color-7ZNS6F6B.js +0 -1676
  140. package/dist/_browser-chunks/WithTooltip-SK46ZJ2J.js +0 -13
  141. package/dist/_browser-chunks/chunk-6A7OIVEL.js +0 -66
  142. package/dist/_browser-chunks/chunk-B4A3ADP3.js +0 -3816
  143. package/dist/_browser-chunks/chunk-BOOOPFZF.js +0 -2335
  144. package/dist/_browser-chunks/chunk-C4XOKMDU.js +0 -270
  145. package/dist/_browser-chunks/chunk-FSBVR7H5.js +0 -106
  146. package/dist/_browser-chunks/chunk-FUOHXXZT.js +0 -23
  147. package/dist/_browser-chunks/chunk-GTKOCWCT.js +0 -17
  148. package/dist/_browser-chunks/chunk-HHW4FUMO.js +0 -12
  149. package/dist/_browser-chunks/chunk-I74EUU5O.js +0 -5809
  150. package/dist/_browser-chunks/chunk-JVSKG4YS.js +0 -4052
  151. package/dist/_browser-chunks/chunk-LASUB7TL.js +0 -76
  152. package/dist/_browser-chunks/chunk-LYCSRYYR.js +0 -101
  153. package/dist/_browser-chunks/chunk-NVV6MIOE.js +0 -243
  154. package/dist/_browser-chunks/chunk-OBXWFEPB.js +0 -852
  155. package/dist/_browser-chunks/chunk-OPCDBBL3.js +0 -48
  156. package/dist/_browser-chunks/chunk-PB6FZ3WE.js +0 -130
  157. package/dist/_browser-chunks/chunk-RNE2IUTB.js +0 -1300
  158. package/dist/_browser-chunks/chunk-SYS437NN.js +0 -122
  159. package/dist/_browser-chunks/chunk-U46RQHA4.js +0 -12
  160. package/dist/_browser-chunks/chunk-UTNZYD2N.js +0 -311
  161. package/dist/_browser-chunks/chunk-VUAFL5XK.js +0 -20
  162. package/dist/_browser-chunks/chunk-W4QKLQSC.js +0 -4182
  163. package/dist/_browser-chunks/chunk-XDGMHOV7.js +0 -2197
  164. package/dist/_browser-chunks/chunk-XW6KSYKF.js +0 -16
  165. package/dist/_browser-chunks/chunk-Y3M7TW6K.js +0 -1041
  166. package/dist/_browser-chunks/chunk-ZNRFDIVA.js +0 -233
  167. package/dist/_node-chunks/camelcase-WKJOVNPM.js +0 -18
  168. package/dist/_node-chunks/chunk-2RIKHYCS.js +0 -304
  169. package/dist/_node-chunks/chunk-3JCSHYSU.js +0 -1657
  170. package/dist/_node-chunks/chunk-4GE6Q4MX.js +0 -1531
  171. package/dist/_node-chunks/chunk-5SEHHENC.js +0 -64656
  172. package/dist/_node-chunks/chunk-6GD23U64.js +0 -420
  173. package/dist/_node-chunks/chunk-6OAXYS5T.js +0 -1544
  174. package/dist/_node-chunks/chunk-7TNUMFKR.js +0 -4741
  175. package/dist/_node-chunks/chunk-BCDHUXAJ.js +0 -4272
  176. package/dist/_node-chunks/chunk-BYVQZ2HU.js +0 -220
  177. package/dist/_node-chunks/chunk-DAMVKHAC.js +0 -101
  178. package/dist/_node-chunks/chunk-FEOC7OX2.js +0 -1586
  179. package/dist/_node-chunks/chunk-FY7XZPLY.js +0 -2248
  180. package/dist/_node-chunks/chunk-GD2FXWDF.js +0 -697
  181. package/dist/_node-chunks/chunk-HM6B7FE5.js +0 -18
  182. package/dist/_node-chunks/chunk-HORWITP7.js +0 -90
  183. package/dist/_node-chunks/chunk-II4AFH3V.js +0 -28
  184. package/dist/_node-chunks/chunk-MF2PUEWG.js +0 -5029
  185. package/dist/_node-chunks/chunk-RVE4UTVQ.js +0 -1518
  186. package/dist/_node-chunks/chunk-TUFWZUTO.js +0 -69
  187. package/dist/_node-chunks/chunk-TXHNWNH4.js +0 -79
  188. package/dist/_node-chunks/chunk-ULWNTI6M.js +0 -1198
  189. package/dist/_node-chunks/chunk-VYRFXLRO.js +0 -6712
  190. package/dist/_node-chunks/chunk-WNOSTIYP.js +0 -34
  191. package/dist/_node-chunks/chunk-X67VGZN4.js +0 -1250
  192. package/dist/_node-chunks/chunk-XCEBYOA4.js +0 -61
  193. package/dist/_node-chunks/chunk-XW7YMR7I.js +0 -111
  194. package/dist/_node-chunks/chunk-ZRFYQ46H.js +0 -61
  195. package/dist/_node-chunks/dist-APCKHSY3.js +0 -175
  196. package/dist/_node-chunks/globby-TSGXGDA2.js +0 -5222
  197. package/dist/_node-chunks/lib-DZ5TVIU5.js +0 -518
  198. package/dist/_node-chunks/mdx-N42X6CFJ-Z6BYQCPN.js +0 -22017
  199. package/dist/_node-chunks/p-limit-MLJNGG2K.js +0 -168
  200. package/dist/_node-chunks/plugin-J3JI3ZKJ.js +0 -159
  201. package/dist/_node-chunks/webpack-inject-mocker-runtime-plugin-3QHNTM5B.js +0 -69102
  202. package/dist/_node-chunks/webpack-mock-plugin-4Y3MWPJ6.js +0 -124
@@ -1,122 +0,0 @@
1
- import {
2
- __name
3
- } from "./chunk-MM7DTO55.js";
4
-
5
- // ../node_modules/dequal/dist/index.mjs
6
- var has = Object.prototype.hasOwnProperty;
7
- function find(iter, tar, key) {
8
- for (key of iter.keys()) {
9
- if (dequal(key, tar)) return key;
10
- }
11
- }
12
- __name(find, "find");
13
- function dequal(foo, bar) {
14
- var ctor, len, tmp;
15
- if (foo === bar) return true;
16
- if (foo && bar && (ctor = foo.constructor) === bar.constructor) {
17
- if (ctor === Date) return foo.getTime() === bar.getTime();
18
- if (ctor === RegExp) return foo.toString() === bar.toString();
19
- if (ctor === Array) {
20
- if ((len = foo.length) === bar.length) {
21
- while (len-- && dequal(foo[len], bar[len])) ;
22
- }
23
- return len === -1;
24
- }
25
- if (ctor === Set) {
26
- if (foo.size !== bar.size) {
27
- return false;
28
- }
29
- for (len of foo) {
30
- tmp = len;
31
- if (tmp && typeof tmp === "object") {
32
- tmp = find(bar, tmp);
33
- if (!tmp) return false;
34
- }
35
- if (!bar.has(tmp)) return false;
36
- }
37
- return true;
38
- }
39
- if (ctor === Map) {
40
- if (foo.size !== bar.size) {
41
- return false;
42
- }
43
- for (len of foo) {
44
- tmp = len[0];
45
- if (tmp && typeof tmp === "object") {
46
- tmp = find(bar, tmp);
47
- if (!tmp) return false;
48
- }
49
- if (!dequal(len[1], bar.get(tmp))) {
50
- return false;
51
- }
52
- }
53
- return true;
54
- }
55
- if (ctor === ArrayBuffer) {
56
- foo = new Uint8Array(foo);
57
- bar = new Uint8Array(bar);
58
- } else if (ctor === DataView) {
59
- if ((len = foo.byteLength) === bar.byteLength) {
60
- while (len-- && foo.getInt8(len) === bar.getInt8(len)) ;
61
- }
62
- return len === -1;
63
- }
64
- if (ArrayBuffer.isView(foo)) {
65
- if ((len = foo.byteLength) === bar.byteLength) {
66
- while (len-- && foo[len] === bar[len]) ;
67
- }
68
- return len === -1;
69
- }
70
- if (!ctor || typeof foo === "object") {
71
- len = 0;
72
- for (ctor in foo) {
73
- if (has.call(foo, ctor) && ++len && !has.call(bar, ctor)) return false;
74
- if (!(ctor in bar) || !dequal(foo[ctor], bar[ctor])) return false;
75
- }
76
- return Object.keys(bar).length === len;
77
- }
78
- }
79
- return foo !== foo && bar !== bar;
80
- }
81
- __name(dequal, "dequal");
82
-
83
- // ../node_modules/es-toolkit/dist/array/partition.mjs
84
- function partition(arr, isInTruthy) {
85
- const truthy = [];
86
- const falsy = [];
87
- for (let i = 0; i < arr.length; i++) {
88
- const item = arr[i];
89
- if (isInTruthy(item)) {
90
- truthy.push(item);
91
- } else {
92
- falsy.push(item);
93
- }
94
- }
95
- return [truthy, falsy];
96
- }
97
- __name(partition, "partition");
98
-
99
- // ../node_modules/es-toolkit/dist/array/countBy.mjs
100
- function countBy(arr, mapper) {
101
- const result = {};
102
- for (let i = 0; i < arr.length; i++) {
103
- const item = arr[i];
104
- const key = mapper(item);
105
- result[key] = (result[key] ?? 0) + 1;
106
- }
107
- return result;
108
- }
109
- __name(countBy, "countBy");
110
-
111
- // ../node_modules/es-toolkit/dist/array/uniq.mjs
112
- function uniq(arr) {
113
- return Array.from(new Set(arr));
114
- }
115
- __name(uniq, "uniq");
116
-
117
- export {
118
- dequal,
119
- countBy,
120
- partition,
121
- uniq
122
- };
@@ -1,12 +0,0 @@
1
- import {
2
- __name
3
- } from "./chunk-MM7DTO55.js";
4
-
5
- // ../addons/docs/src/blocks/controls/helpers.ts
6
- var getControlId = /* @__PURE__ */ __name((value) => `control-${value.replace(/\s+/g, "-")}`, "getControlId");
7
- var getControlSetterButtonId = /* @__PURE__ */ __name((value) => `set-${value.replace(/\s+/g, "-")}`, "getControlSetterButtonId");
8
-
9
- export {
10
- getControlId,
11
- getControlSetterButtonId
12
- };
@@ -1,311 +0,0 @@
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
- isPlainObject,
16
- isPrimitive,
17
- isTypedArray,
18
- mapTag,
19
- numberTag,
20
- objectTag,
21
- regexpTag,
22
- setTag,
23
- stringTag,
24
- symbolTag,
25
- uint16ArrayTag,
26
- uint32ArrayTag,
27
- uint8ArrayTag,
28
- uint8ClampedArrayTag
29
- } from "./chunk-FSBVR7H5.js";
30
- import {
31
- __name
32
- } from "./chunk-MM7DTO55.js";
33
-
34
- // ../node_modules/es-toolkit/dist/object/mapValues.mjs
35
- function mapValues(object, getNewValue) {
36
- const result = {};
37
- const keys = Object.keys(object);
38
- for (let i = 0; i < keys.length; i++) {
39
- const key = keys[i];
40
- const value = object[key];
41
- result[key] = getNewValue(value, key, object);
42
- }
43
- return result;
44
- }
45
- __name(mapValues, "mapValues");
46
-
47
- // ../node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
48
- function isUnsafeProperty(key) {
49
- return key === "__proto__";
50
- }
51
- __name(isUnsafeProperty, "isUnsafeProperty");
52
-
53
- // ../node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
54
- function isObjectLike(value) {
55
- return typeof value === "object" && value !== null;
56
- }
57
- __name(isObjectLike, "isObjectLike");
58
-
59
- // ../node_modules/es-toolkit/dist/object/mergeWith.mjs
60
- function mergeWith(target, source, merge2) {
61
- const sourceKeys = Object.keys(source);
62
- for (let i = 0; i < sourceKeys.length; i++) {
63
- const key = sourceKeys[i];
64
- if (isUnsafeProperty(key)) {
65
- continue;
66
- }
67
- const sourceValue = source[key];
68
- const targetValue = target[key];
69
- const merged = merge2(targetValue, sourceValue, key, target, source);
70
- if (merged !== void 0) {
71
- target[key] = merged;
72
- } else if (Array.isArray(sourceValue)) {
73
- target[key] = mergeWith(targetValue ?? [], sourceValue, merge2);
74
- } else if (isObjectLike(targetValue) && isObjectLike(sourceValue)) {
75
- target[key] = mergeWith(targetValue ?? {}, sourceValue, merge2);
76
- } else if (targetValue === void 0 || sourceValue !== void 0) {
77
- target[key] = sourceValue;
78
- }
79
- }
80
- return target;
81
- }
82
- __name(mergeWith, "mergeWith");
83
-
84
- // ../node_modules/es-toolkit/dist/object/pick.mjs
85
- function pick(obj, keys) {
86
- const result = {};
87
- for (let i = 0; i < keys.length; i++) {
88
- const key = keys[i];
89
- if (Object.hasOwn(obj, key)) {
90
- result[key] = obj[key];
91
- }
92
- }
93
- return result;
94
- }
95
- __name(pick, "pick");
96
-
97
- // ../node_modules/es-toolkit/dist/object/pickBy.mjs
98
- function pickBy(obj, shouldPick) {
99
- const result = {};
100
- const keys = Object.keys(obj);
101
- for (let i = 0; i < keys.length; i++) {
102
- const key = keys[i];
103
- const value = obj[key];
104
- if (shouldPick(value, key)) {
105
- result[key] = value;
106
- }
107
- }
108
- return result;
109
- }
110
- __name(pickBy, "pickBy");
111
-
112
- // ../node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
113
- function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
114
- const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
115
- if (cloned !== void 0) {
116
- return cloned;
117
- }
118
- if (isPrimitive(valueToClone)) {
119
- return valueToClone;
120
- }
121
- if (stack.has(valueToClone)) {
122
- return stack.get(valueToClone);
123
- }
124
- if (Array.isArray(valueToClone)) {
125
- const result = new Array(valueToClone.length);
126
- stack.set(valueToClone, result);
127
- for (let i = 0; i < valueToClone.length; i++) {
128
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
129
- }
130
- if (Object.hasOwn(valueToClone, "index")) {
131
- result.index = valueToClone.index;
132
- }
133
- if (Object.hasOwn(valueToClone, "input")) {
134
- result.input = valueToClone.input;
135
- }
136
- return result;
137
- }
138
- if (valueToClone instanceof Date) {
139
- return new Date(valueToClone.getTime());
140
- }
141
- if (valueToClone instanceof RegExp) {
142
- const result = new RegExp(valueToClone.source, valueToClone.flags);
143
- result.lastIndex = valueToClone.lastIndex;
144
- return result;
145
- }
146
- if (valueToClone instanceof Map) {
147
- const result = /* @__PURE__ */ new Map();
148
- stack.set(valueToClone, result);
149
- for (const [key, value] of valueToClone) {
150
- result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
151
- }
152
- return result;
153
- }
154
- if (valueToClone instanceof Set) {
155
- const result = /* @__PURE__ */ new Set();
156
- stack.set(valueToClone, result);
157
- for (const value of valueToClone) {
158
- result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
159
- }
160
- return result;
161
- }
162
- if (typeof Buffer !== "undefined" && Buffer.isBuffer(valueToClone)) {
163
- return valueToClone.subarray();
164
- }
165
- if (isTypedArray(valueToClone)) {
166
- const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
167
- stack.set(valueToClone, result);
168
- for (let i = 0; i < valueToClone.length; i++) {
169
- result[i] = cloneDeepWithImpl(valueToClone[i], i, objectToClone, stack, cloneValue);
170
- }
171
- return result;
172
- }
173
- if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) {
174
- return valueToClone.slice(0);
175
- }
176
- if (valueToClone instanceof DataView) {
177
- const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
178
- stack.set(valueToClone, result);
179
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
180
- return result;
181
- }
182
- if (typeof File !== "undefined" && valueToClone instanceof File) {
183
- const result = new File([valueToClone], valueToClone.name, {
184
- type: valueToClone.type
185
- });
186
- stack.set(valueToClone, result);
187
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
188
- return result;
189
- }
190
- if (valueToClone instanceof Blob) {
191
- const result = new Blob([valueToClone], { type: valueToClone.type });
192
- stack.set(valueToClone, result);
193
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
194
- return result;
195
- }
196
- if (valueToClone instanceof Error) {
197
- const result = new valueToClone.constructor();
198
- stack.set(valueToClone, result);
199
- result.message = valueToClone.message;
200
- result.name = valueToClone.name;
201
- result.stack = valueToClone.stack;
202
- result.cause = valueToClone.cause;
203
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
204
- return result;
205
- }
206
- if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
207
- const result = Object.create(Object.getPrototypeOf(valueToClone));
208
- stack.set(valueToClone, result);
209
- copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
210
- return result;
211
- }
212
- return valueToClone;
213
- }
214
- __name(cloneDeepWithImpl, "cloneDeepWithImpl");
215
- function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
216
- const keys = [...Object.keys(source), ...getSymbols(source)];
217
- for (let i = 0; i < keys.length; i++) {
218
- const key = keys[i];
219
- const descriptor = Object.getOwnPropertyDescriptor(target, key);
220
- if (descriptor == null || descriptor.writable) {
221
- target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
222
- }
223
- }
224
- }
225
- __name(copyProperties, "copyProperties");
226
- function isCloneableObject(object) {
227
- switch (getTag(object)) {
228
- case argumentsTag:
229
- case arrayTag:
230
- case arrayBufferTag:
231
- case dataViewTag:
232
- case booleanTag:
233
- case dateTag:
234
- case float32ArrayTag:
235
- case float64ArrayTag:
236
- case int8ArrayTag:
237
- case int16ArrayTag:
238
- case int32ArrayTag:
239
- case mapTag:
240
- case numberTag:
241
- case objectTag:
242
- case regexpTag:
243
- case setTag:
244
- case stringTag:
245
- case symbolTag:
246
- case uint8ArrayTag:
247
- case uint8ClampedArrayTag:
248
- case uint16ArrayTag:
249
- case uint32ArrayTag: {
250
- return true;
251
- }
252
- default: {
253
- return false;
254
- }
255
- }
256
- }
257
- __name(isCloneableObject, "isCloneableObject");
258
-
259
- // ../node_modules/es-toolkit/dist/object/cloneDeep.mjs
260
- function cloneDeep(obj) {
261
- return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), void 0);
262
- }
263
- __name(cloneDeep, "cloneDeep");
264
-
265
- // ../node_modules/es-toolkit/dist/object/merge.mjs
266
- function merge(target, source) {
267
- const sourceKeys = Object.keys(source);
268
- for (let i = 0; i < sourceKeys.length; i++) {
269
- const key = sourceKeys[i];
270
- if (isUnsafeProperty(key)) {
271
- continue;
272
- }
273
- const sourceValue = source[key];
274
- const targetValue = target[key];
275
- if (Array.isArray(sourceValue)) {
276
- if (Array.isArray(targetValue)) {
277
- target[key] = merge(targetValue, sourceValue);
278
- } else {
279
- target[key] = merge([], sourceValue);
280
- }
281
- } else if (isPlainObject(sourceValue)) {
282
- if (isPlainObject(targetValue)) {
283
- target[key] = merge(targetValue, sourceValue);
284
- } else {
285
- target[key] = merge({}, sourceValue);
286
- }
287
- } else if (targetValue === void 0 || sourceValue !== void 0) {
288
- target[key] = sourceValue;
289
- }
290
- }
291
- return target;
292
- }
293
- __name(merge, "merge");
294
-
295
- // ../node_modules/es-toolkit/dist/string/words.mjs
296
- 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");
297
-
298
- // ../node_modules/es-toolkit/dist/object/toMerged.mjs
299
- function toMerged(target, source) {
300
- return merge(cloneDeep(target), source);
301
- }
302
- __name(toMerged, "toMerged");
303
-
304
- export {
305
- cloneDeep,
306
- mapValues,
307
- mergeWith,
308
- pick,
309
- pickBy,
310
- toMerged
311
- };
@@ -1,20 +0,0 @@
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
- };