storybook 10.3.4 → 10.3.6

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 (61) hide show
  1. package/assets/server/base-preview-head.html +79 -74
  2. package/dist/_node-chunks/{builder-manager-YNFOPE5U.js → builder-manager-UBFFXMB4.js} +12 -12
  3. package/dist/_node-chunks/{camelcase-ELF3432J.js → camelcase-SUBKJFTW.js} +7 -7
  4. package/dist/_node-chunks/{chunk-GHPI5GQW.js → chunk-5KMYIVWN.js} +9 -9
  5. package/dist/_node-chunks/{chunk-K6XUTR7B.js → chunk-65VPUBZQ.js} +7 -7
  6. package/dist/_node-chunks/{chunk-FH6FG5OK.js → chunk-6UZ7AK3G.js} +10 -10
  7. package/dist/_node-chunks/{chunk-5Y43X4M3.js → chunk-7GLJHNPO.js} +7 -7
  8. package/dist/_node-chunks/{chunk-3LP2BDDH.js → chunk-H4PWFMMO.js} +89 -65
  9. package/dist/_node-chunks/{chunk-O3R4PADZ.js → chunk-HFECN75B.js} +6 -6
  10. package/dist/_node-chunks/{chunk-SHPY6CCW.js → chunk-IBUCH6TS.js} +6 -6
  11. package/dist/_node-chunks/chunk-JNR2U3G2.js +20 -0
  12. package/dist/_node-chunks/{chunk-TIXVVIDQ.js → chunk-LCKUZJMC.js} +7 -7
  13. package/dist/_node-chunks/{chunk-XTPDLZ2B.js → chunk-LZJE6IEF.js} +6 -6
  14. package/dist/_node-chunks/{chunk-X3N3W66Q.js → chunk-M6BD6GI2.js} +12 -12
  15. package/dist/_node-chunks/{chunk-B2SNZ7WG.js → chunk-MKXM7JNE.js} +9 -9
  16. package/dist/_node-chunks/{chunk-ZITP4QZO.js → chunk-NGMG46YK.js} +7 -7
  17. package/dist/_node-chunks/{chunk-RPUWA7TT.js → chunk-NUT2WJVD.js} +6 -6
  18. package/dist/_node-chunks/{chunk-CSY5TWXV.js → chunk-O2B7U3US.js} +8 -8
  19. package/dist/_node-chunks/{chunk-QLBU4TY7.js → chunk-OCQLENQM.js} +6 -6
  20. package/dist/_node-chunks/{chunk-25S2XFFS.js → chunk-OU2ZJDXY.js} +7 -7
  21. package/dist/_node-chunks/{chunk-QAXH75FV.js → chunk-OWMIR4VJ.js} +7 -7
  22. package/dist/_node-chunks/chunk-P443PJ2V.js +23 -0
  23. package/dist/_node-chunks/chunk-PURRFJ3R.js +18 -0
  24. package/dist/_node-chunks/{chunk-TLLE3QWR.js → chunk-QIIG2AMK.js} +7 -7
  25. package/dist/_node-chunks/{chunk-YQB7TYP2.js → chunk-TTCWCDY7.js} +8 -8
  26. package/dist/_node-chunks/{chunk-HUYNFPPD.js → chunk-UYONHJJP.js} +16 -16
  27. package/dist/_node-chunks/{chunk-NU7VJVPP.js → chunk-VNXKPWEE.js} +13 -13
  28. package/dist/_node-chunks/{chunk-LF7MVXPB.js → chunk-W7BWTKBY.js} +6 -6
  29. package/dist/_node-chunks/{chunk-VVZFLDFE.js → chunk-XXNUSWL3.js} +7 -7
  30. package/dist/_node-chunks/chunk-Y3GA23SJ.js +61 -0
  31. package/dist/_node-chunks/{chunk-L5XXUDIG.js → chunk-ZWW2TW3I.js} +6 -6
  32. package/dist/_node-chunks/{globby-IVFJW66J.js → globby-3DKKTONY.js} +9 -9
  33. package/dist/_node-chunks/{lib-M7U4JAQ6.js → lib-YKK7MPVY.js} +7 -7
  34. package/dist/_node-chunks/{mdx-N42X6CFJ-7KFPSXGP.js → mdx-N42X6CFJ-63AUQLMU.js} +8 -8
  35. package/dist/_node-chunks/{p-limit-TUHC5QOY.js → p-limit-NK5XLVAY.js} +7 -7
  36. package/dist/babel/index.js +10 -10
  37. package/dist/bin/core.js +12 -12
  38. package/dist/bin/dispatcher.js +11 -11
  39. package/dist/bin/loader.js +9 -9
  40. package/dist/cli/index.js +18 -18
  41. package/dist/common/index.d.ts +13 -1
  42. package/dist/common/index.js +23 -19
  43. package/dist/components/index.d.ts +113 -178
  44. package/dist/core-server/index.d.ts +1 -1
  45. package/dist/core-server/index.js +35 -35
  46. package/dist/core-server/presets/common-override-preset.js +9 -9
  47. package/dist/core-server/presets/common-preset.js +26 -26
  48. package/dist/csf-tools/index.js +9 -9
  49. package/dist/manager/globals-runtime.js +1 -1
  50. package/dist/manager-api/index.d.ts +1 -1
  51. package/dist/manager-api/index.js +1 -1
  52. package/dist/mocking-utils/index.js +8 -8
  53. package/dist/node-logger/index.js +9 -9
  54. package/dist/server-errors.js +11 -11
  55. package/dist/telemetry/index.js +23 -23
  56. package/dist/types/index.d.ts +2 -2
  57. package/package.json +6 -2
  58. package/dist/_node-chunks/chunk-BFUOXQW6.js +0 -18
  59. package/dist/_node-chunks/chunk-F3OIOXPV.js +0 -61
  60. package/dist/_node-chunks/chunk-GGY4RY3A.js +0 -23
  61. package/dist/_node-chunks/chunk-SOP5BQAH.js +0 -20
@@ -112,11 +112,11 @@
112
112
  border-radius: 10px;
113
113
  background: rgb(247, 247, 247);
114
114
  color: rgb(46, 52, 56);
115
+ }
115
116
 
116
- & * {
117
- background: rgb(247, 247, 247);
118
- color: rgb(46, 52, 56);
119
- }
117
+ .sb-nopreview_main * {
118
+ background: rgb(247, 247, 247);
119
+ color: rgb(46, 52, 56);
120
120
  }
121
121
 
122
122
  .sb-nopreview_heading {
@@ -147,84 +147,89 @@
147
147
  border: 1px solid #ff0000;
148
148
  box-shadow: 0 0 64px rgba(0, 0, 0, 0.1);
149
149
  gap: 24px;
150
+ }
150
151
 
151
- & ol {
152
- padding-left: 18px;
153
- margin: 0;
154
- }
152
+ .sb-errordisplay_main ol {
153
+ padding-left: 18px;
154
+ margin: 0;
155
+ }
155
156
 
156
- /* Redefine colors to ensure readability regardless of user-provided * selectors. */
157
- * {
158
- background: white;
159
- color: black;
160
- }
157
+ /* Redefine colors to ensure readability regardless of user-provided * selectors. */
158
+ .sb-errordisplay_main * {
159
+ background: white;
160
+ color: black;
161
+ }
161
162
 
162
- & h1 {
163
- font-family: Nunito Sans;
164
- font-size: 22px;
165
- font-weight: 400;
166
- line-height: 30px;
167
- font-weight: normal;
168
- margin: 0;
169
-
170
- &::before {
171
- content: '';
172
- display: inline-block;
173
- width: 12px;
174
- height: 12px;
175
- background: #ff4400;
176
- border-radius: 50%;
177
- margin-right: 8px;
178
- }
179
- }
163
+ /* Exclude error code block from the universal reset to preserve ANSI colors and dark theme */
164
+ .sb-errordisplay_main .sb-errordisplay_code,
165
+ .sb-errordisplay_main .sb-errordisplay_code * {
166
+ background: #242424;
167
+ color: #c6c6c6;
168
+ }
180
169
 
181
- & p,
182
- & ol {
183
- font-family: Nunito Sans;
184
- font-size: 14px;
185
- font-weight: 400;
186
- line-height: 19px;
187
- margin: 0;
188
- }
170
+ .sb-errordisplay_main h1 {
171
+ font-family: inherit;
172
+ font-size: 22px;
173
+ font-weight: 400;
174
+ line-height: 30px;
175
+ margin: 0;
176
+ }
189
177
 
190
- & li + li {
191
- margin: 0;
192
- padding: 0;
193
- padding-top: 12px;
194
- }
178
+ .sb-errordisplay_main h1::before {
179
+ content: '';
180
+ display: inline-block;
181
+ width: 12px;
182
+ height: 12px;
183
+ background: #ff4400;
184
+ border-radius: 50%;
185
+ margin-right: 8px;
186
+ }
195
187
 
196
- & a {
197
- color: currentColor;
198
- }
188
+ .sb-errordisplay_main p,
189
+ .sb-errordisplay_main ol {
190
+ font-family: inherit;
191
+ font-size: 14px;
192
+ font-weight: 400;
193
+ line-height: 19px;
194
+ margin: 0;
195
+ }
199
196
 
200
- & .sb-errordisplay_code {
201
- padding: 10px;
202
- flex: 1;
203
- background: #242424;
204
- color: #c6c6c6;
205
- box-sizing: border-box;
206
-
207
- font-size: 14px;
208
- font-weight: 400;
209
- line-height: 19px;
210
- border-radius: 4px;
211
-
212
- font-family:
213
- 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
214
- 'Lucida Console', Consolas, Monaco, monospace;
215
- margin: 0;
216
- overflow: auto;
217
-
218
- & code {
219
- background-color: inherit;
220
- color: inherit;
221
- }
222
- }
197
+ .sb-errordisplay_main li + li {
198
+ margin: 0;
199
+ padding: 0;
200
+ padding-top: 12px;
201
+ }
223
202
 
224
- & .sb-errordisplay pre {
225
- white-space: pre-wrap;
226
- white-space: revert;
227
- }
203
+ .sb-errordisplay_main a {
204
+ color: currentColor;
205
+ }
206
+
207
+ .sb-errordisplay_main .sb-errordisplay_code {
208
+ padding: 10px;
209
+ flex: 1;
210
+ background: #242424;
211
+ color: #c6c6c6;
212
+ box-sizing: border-box;
213
+
214
+ font-size: 14px;
215
+ font-weight: 400;
216
+ line-height: 19px;
217
+ border-radius: 4px;
218
+
219
+ font-family:
220
+ 'Operator Mono', 'Fira Code Retina', 'Fira Code', 'FiraCode-Retina', 'Andale Mono',
221
+ 'Lucida Console', Consolas, Monaco, monospace;
222
+ margin: 0;
223
+ overflow: auto;
224
+ }
225
+
226
+ .sb-errordisplay_main .sb-errordisplay_code code {
227
+ background-color: inherit;
228
+ color: inherit;
229
+ }
230
+
231
+ .sb-errordisplay_main .sb-errordisplay_code {
232
+ white-space: pre-wrap;
228
233
  }
229
234
 
230
235
  @-webkit-keyframes sb-rotate360 {
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -13,26 +13,26 @@ import {
13
13
  BROWSER_TARGETS,
14
14
  NODE_TARGET,
15
15
  SUPPORTED_FEATURES
16
- } from "./chunk-XTPDLZ2B.js";
16
+ } from "./chunk-LZJE6IEF.js";
17
17
  import {
18
18
  require_build
19
- } from "./chunk-TLLE3QWR.js";
19
+ } from "./chunk-QIIG2AMK.js";
20
20
  import {
21
21
  resolveModulePath,
22
22
  resolvePackageDir
23
- } from "./chunk-QAXH75FV.js";
23
+ } from "./chunk-OWMIR4VJ.js";
24
24
  import {
25
25
  join,
26
26
  parse
27
- } from "./chunk-SHPY6CCW.js";
27
+ } from "./chunk-IBUCH6TS.js";
28
28
  import {
29
29
  slash
30
- } from "./chunk-SOP5BQAH.js";
30
+ } from "./chunk-JNR2U3G2.js";
31
31
  import {
32
32
  __commonJS,
33
33
  __require,
34
34
  __toESM
35
- } from "./chunk-LF7MVXPB.js";
35
+ } from "./chunk-W7BWTKBY.js";
36
36
 
37
37
  // ../../node_modules/ejs/lib/utils.js
38
38
  var require_utils = __commonJS({
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "./chunk-LF7MVXPB.js";
12
+ import "./chunk-W7BWTKBY.js";
13
13
 
14
14
  // ../../node_modules/camelcase/index.js
15
15
  var UPPERCASE = /[\p{Lu}]/u, LOWERCASE = /[\p{Ll}]/u, LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/u, SEPARATORS = /[_.\- ]+/, IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u, LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source), SEPARATORS_AND_IDENTIFIER = new RegExp(SEPARATORS.source + IDENTIFIER.source, "gu"), NUMBERS_AND_IDENTIFIER = new RegExp(String.raw`\d+` + IDENTIFIER.source, "gu"), preserveCamelCase = (string, toLowerCase, toUpperCase, preserveConsecutiveUppercase2) => {
@@ -1,24 +1,24 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  invariant
14
- } from "./chunk-O3R4PADZ.js";
14
+ } from "./chunk-HFECN75B.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-TIXVVIDQ.js";
17
+ } from "./chunk-LCKUZJMC.js";
18
18
  import {
19
19
  __export,
20
20
  __toESM
21
- } from "./chunk-LF7MVXPB.js";
21
+ } from "./chunk-W7BWTKBY.js";
22
22
 
23
23
  // src/cli/globalSettings.ts
24
24
  var import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
12
12
  import {
13
13
  __commonJS,
14
14
  __require
15
- } from "./chunk-LF7MVXPB.js";
15
+ } from "./chunk-W7BWTKBY.js";
16
16
 
17
17
  // ../../node_modules/picomatch/lib/constants.js
18
18
  var require_constants = __commonJS({
@@ -1,26 +1,26 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  StorybookError
14
- } from "./chunk-RPUWA7TT.js";
14
+ } from "./chunk-NUT2WJVD.js";
15
15
  import {
16
16
  require_dist
17
- } from "./chunk-TIXVVIDQ.js";
17
+ } from "./chunk-LCKUZJMC.js";
18
18
  import {
19
19
  require_picocolors
20
- } from "./chunk-25S2XFFS.js";
20
+ } from "./chunk-OU2ZJDXY.js";
21
21
  import {
22
22
  __toESM
23
- } from "./chunk-LF7MVXPB.js";
23
+ } from "./chunk-W7BWTKBY.js";
24
24
 
25
25
  // src/server-errors.ts
26
26
  var import_picocolors = __toESM(require_picocolors(), 1), import_ts_dedent = __toESM(require_dist(), 1);
@@ -1,17 +1,17 @@
1
- import CJS_COMPAT_NODE_URL_e6wt3b00afv from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_e6wt3b00afv from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_e6wt3b00afv from "node:module";
1
+ import CJS_COMPAT_NODE_URL_y99svoctri from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_y99svoctri from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_y99svoctri from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_e6wt3b00afv.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_e6wt3b00afv.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_e6wt3b00afv.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_y99svoctri.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_y99svoctri.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_y99svoctri.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  __require
14
- } from "./chunk-LF7MVXPB.js";
14
+ } from "./chunk-W7BWTKBY.js";
15
15
 
16
16
  // ../../node_modules/@storybook/docs-mdx/dist/chunk-H6DQNFQR.js
17
17
  var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __require2 = ((x) => typeof __require < "u" ? __require : typeof Proxy < "u" ? new Proxy(x, {