@vxrn/vendor 1.2.47 → 1.2.49

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 (65) hide show
  1. package/package.json +1 -1
  2. package/react/cjs/react-compiler-runtime.development.js +9 -9
  3. package/react/cjs/react-compiler-runtime.production.js +4 -4
  4. package/react/cjs/react-compiler-runtime.profiling.js +4 -4
  5. package/react/cjs/react-jsx-dev-runtime.development.js +271 -320
  6. package/react/cjs/react-jsx-dev-runtime.production.js +4 -4
  7. package/react/cjs/react-jsx-dev-runtime.profiling.js +4 -4
  8. package/react/cjs/react-jsx-dev-runtime.react-server.development.js +277 -326
  9. package/react/cjs/react-jsx-dev-runtime.react-server.production.js +19 -19
  10. package/react/cjs/react-jsx-runtime.development.js +272 -314
  11. package/react/cjs/react-jsx-runtime.production.js +16 -16
  12. package/react/cjs/react-jsx-runtime.profiling.js +16 -16
  13. package/react/cjs/react-jsx-runtime.react-server.development.js +277 -326
  14. package/react/cjs/react-jsx-runtime.react-server.production.js +19 -19
  15. package/react/cjs/react.development.js +657 -734
  16. package/react/cjs/react.production.js +258 -301
  17. package/react/cjs/react.react-server.development.js +475 -535
  18. package/react/cjs/react.react-server.production.js +195 -229
  19. package/react/compiler-runtime.js +9 -9
  20. package/react/index.js +3 -3
  21. package/react/jsx-dev-runtime.js +3 -3
  22. package/react/jsx-dev-runtime.react-server.js +3 -3
  23. package/react/jsx-runtime.js +3 -3
  24. package/react/jsx-runtime.react-server.js +3 -3
  25. package/react/react.react-server.js +3 -3
  26. package/react-dom/cjs/react-dom-client.development.js +10301 -12280
  27. package/react-dom/cjs/react-dom-client.production.js +6275 -7412
  28. package/react-dom/cjs/react-dom-profiling.development.js +10463 -12479
  29. package/react-dom/cjs/react-dom-profiling.profiling.js +6611 -7839
  30. package/react-dom/cjs/react-dom-server-legacy.browser.development.js +4015 -4567
  31. package/react-dom/cjs/react-dom-server-legacy.browser.production.js +2598 -2934
  32. package/react-dom/cjs/react-dom-server-legacy.node.development.js +4015 -4567
  33. package/react-dom/cjs/react-dom-server-legacy.node.production.js +2627 -2961
  34. package/react-dom/cjs/react-dom-server.browser.development.js +4132 -4771
  35. package/react-dom/cjs/react-dom-server.browser.production.js +2725 -3092
  36. package/react-dom/cjs/react-dom-server.bun.development.js +4000 -4466
  37. package/react-dom/cjs/react-dom-server.bun.production.js +2629 -2967
  38. package/react-dom/cjs/react-dom-server.edge.development.js +4137 -4780
  39. package/react-dom/cjs/react-dom-server.edge.production.js +2760 -3123
  40. package/react-dom/cjs/react-dom-server.node.development.js +4102 -4707
  41. package/react-dom/cjs/react-dom-server.node.production.js +2739 -3092
  42. package/react-dom/cjs/react-dom-test-utils.development.js +9 -9
  43. package/react-dom/cjs/react-dom-test-utils.production.js +7 -7
  44. package/react-dom/cjs/react-dom.development.js +185 -225
  45. package/react-dom/cjs/react-dom.production.js +88 -111
  46. package/react-dom/cjs/react-dom.react-server.development.js +145 -180
  47. package/react-dom/cjs/react-dom.react-server.production.js +60 -79
  48. package/react-dom/client.js +8 -8
  49. package/react-dom/client.react-server.js +2 -4
  50. package/react-dom/index.js +8 -8
  51. package/react-dom/profiling.js +8 -8
  52. package/react-dom/profiling.react-server.js +2 -4
  53. package/react-dom/react-dom.react-server.js +3 -3
  54. package/react-dom/server.browser.js +11 -11
  55. package/react-dom/server.bun.js +12 -12
  56. package/react-dom/server.edge.js +12 -12
  57. package/react-dom/server.js +2 -2
  58. package/react-dom/server.node.js +11 -11
  59. package/react-dom/server.react-server.js +2 -4
  60. package/react-dom/static.browser.js +7 -7
  61. package/react-dom/static.edge.js +7 -7
  62. package/react-dom/static.js +2 -2
  63. package/react-dom/static.node.js +7 -7
  64. package/react-dom/static.react-server.js +2 -4
  65. package/react-dom/test-utils.js +3 -3
@@ -8,108 +8,108 @@
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
10
 
11
- "use strict";
12
- "production" !== process.env.NODE_ENV &&
11
+ 'use strict'
12
+ 'production' !== process.env.NODE_ENV &&
13
13
  (function () {
14
14
  function getComponentNameFromType(type) {
15
- if (null == type) return null;
16
- if ("function" === typeof type)
15
+ if (null == type) return null
16
+ if ('function' === typeof type)
17
17
  return type.$$typeof === REACT_CLIENT_REFERENCE$2
18
18
  ? null
19
- : type.displayName || type.name || null;
20
- if ("string" === typeof type) return type;
19
+ : type.displayName || type.name || null
20
+ if ('string' === typeof type) return type
21
21
  switch (type) {
22
22
  case REACT_FRAGMENT_TYPE:
23
- return "Fragment";
23
+ return 'Fragment'
24
24
  case REACT_PORTAL_TYPE:
25
- return "Portal";
25
+ return 'Portal'
26
26
  case REACT_PROFILER_TYPE:
27
- return "Profiler";
27
+ return 'Profiler'
28
28
  case REACT_STRICT_MODE_TYPE:
29
- return "StrictMode";
29
+ return 'StrictMode'
30
30
  case REACT_SUSPENSE_TYPE:
31
- return "Suspense";
31
+ return 'Suspense'
32
32
  case REACT_SUSPENSE_LIST_TYPE:
33
- return "SuspenseList";
33
+ return 'SuspenseList'
34
34
  }
35
- if ("object" === typeof type)
35
+ if ('object' === typeof type)
36
36
  switch (
37
- ("number" === typeof type.tag &&
37
+ ('number' === typeof type.tag &&
38
38
  console.error(
39
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
39
+ 'Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.'
40
40
  ),
41
41
  type.$$typeof)
42
42
  ) {
43
43
  case REACT_CONTEXT_TYPE:
44
- return (type.displayName || "Context") + ".Provider";
44
+ return (type.displayName || 'Context') + '.Provider'
45
45
  case REACT_CONSUMER_TYPE:
46
- return (type._context.displayName || "Context") + ".Consumer";
46
+ return (type._context.displayName || 'Context') + '.Consumer'
47
47
  case REACT_FORWARD_REF_TYPE:
48
- var innerType = type.render;
49
- type = type.displayName;
48
+ var innerType = type.render
49
+ type = type.displayName
50
50
  type ||
51
- ((type = innerType.displayName || innerType.name || ""),
52
- (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
53
- return type;
51
+ ((type = innerType.displayName || innerType.name || ''),
52
+ (type = '' !== type ? 'ForwardRef(' + type + ')' : 'ForwardRef'))
53
+ return type
54
54
  case REACT_MEMO_TYPE:
55
55
  return (
56
56
  (innerType = type.displayName || null),
57
57
  null !== innerType
58
58
  ? innerType
59
- : getComponentNameFromType(type.type) || "Memo"
60
- );
59
+ : getComponentNameFromType(type.type) || 'Memo'
60
+ )
61
61
  case REACT_LAZY_TYPE:
62
- innerType = type._payload;
63
- type = type._init;
62
+ innerType = type._payload
63
+ type = type._init
64
64
  try {
65
- return getComponentNameFromType(type(innerType));
65
+ return getComponentNameFromType(type(innerType))
66
66
  } catch (x) {}
67
67
  }
68
- return null;
68
+ return null
69
69
  }
70
70
  function testStringCoercion(value) {
71
- return "" + value;
71
+ return '' + value
72
72
  }
73
73
  function checkKeyStringCoercion(value) {
74
74
  try {
75
- testStringCoercion(value);
76
- var JSCompiler_inline_result = !1;
75
+ testStringCoercion(value)
76
+ var JSCompiler_inline_result = !1
77
77
  } catch (e) {
78
- JSCompiler_inline_result = !0;
78
+ JSCompiler_inline_result = !0
79
79
  }
80
80
  if (JSCompiler_inline_result) {
81
- JSCompiler_inline_result = console;
82
- var JSCompiler_temp_const = JSCompiler_inline_result.error;
81
+ JSCompiler_inline_result = console
82
+ var JSCompiler_temp_const = JSCompiler_inline_result.error
83
83
  var JSCompiler_inline_result$jscomp$0 =
84
- ("function" === typeof Symbol &&
84
+ ('function' === typeof Symbol &&
85
85
  Symbol.toStringTag &&
86
86
  value[Symbol.toStringTag]) ||
87
87
  value.constructor.name ||
88
- "Object";
88
+ 'Object'
89
89
  JSCompiler_temp_const.call(
90
90
  JSCompiler_inline_result,
91
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
91
+ 'The provided key is an unsupported type %s. This value must be coerced to a string before using it here.',
92
92
  JSCompiler_inline_result$jscomp$0
93
- );
94
- return testStringCoercion(value);
93
+ )
94
+ return testStringCoercion(value)
95
95
  }
96
96
  }
97
97
  function disabledLog() {}
98
98
  function disableLogs() {
99
99
  if (0 === disabledDepth) {
100
- prevLog = console.log;
101
- prevInfo = console.info;
102
- prevWarn = console.warn;
103
- prevError = console.error;
104
- prevGroup = console.group;
105
- prevGroupCollapsed = console.groupCollapsed;
106
- prevGroupEnd = console.groupEnd;
100
+ prevLog = console.log
101
+ prevInfo = console.info
102
+ prevWarn = console.warn
103
+ prevError = console.error
104
+ prevGroup = console.group
105
+ prevGroupCollapsed = console.groupCollapsed
106
+ prevGroupEnd = console.groupEnd
107
107
  var props = {
108
108
  configurable: !0,
109
109
  enumerable: !0,
110
110
  value: disabledLog,
111
- writable: !0
112
- };
111
+ writable: !0,
112
+ }
113
113
  Object.defineProperties(console, {
114
114
  info: props,
115
115
  log: props,
@@ -117,15 +117,15 @@
117
117
  error: props,
118
118
  group: props,
119
119
  groupCollapsed: props,
120
- groupEnd: props
121
- });
120
+ groupEnd: props,
121
+ })
122
122
  }
123
- disabledDepth++;
123
+ disabledDepth++
124
124
  }
125
125
  function reenableLogs() {
126
- disabledDepth--;
126
+ disabledDepth--
127
127
  if (0 === disabledDepth) {
128
- var props = { configurable: !0, enumerable: !0, writable: !0 };
128
+ var props = { configurable: !0, enumerable: !0, writable: !0 }
129
129
  Object.defineProperties(console, {
130
130
  log: assign({}, props, { value: prevLog }),
131
131
  info: assign({}, props, { value: prevInfo }),
@@ -133,124 +133,115 @@
133
133
  error: assign({}, props, { value: prevError }),
134
134
  group: assign({}, props, { value: prevGroup }),
135
135
  groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
136
- groupEnd: assign({}, props, { value: prevGroupEnd })
137
- });
136
+ groupEnd: assign({}, props, { value: prevGroupEnd }),
137
+ })
138
138
  }
139
139
  0 > disabledDepth &&
140
140
  console.error(
141
- "disabledDepth fell below zero. This is a bug in React. Please file an issue."
142
- );
141
+ 'disabledDepth fell below zero. This is a bug in React. Please file an issue.'
142
+ )
143
143
  }
144
144
  function describeBuiltInComponentFrame(name) {
145
145
  if (void 0 === prefix)
146
146
  try {
147
- throw Error();
147
+ throw Error()
148
148
  } catch (x) {
149
- var match = x.stack.trim().match(/\n( *(at )?)/);
150
- prefix = (match && match[1]) || "";
149
+ var match = x.stack.trim().match(/\n( *(at )?)/)
150
+ prefix = (match && match[1]) || ''
151
151
  suffix =
152
- -1 < x.stack.indexOf("\n at")
153
- ? " (<anonymous>)"
154
- : -1 < x.stack.indexOf("@")
155
- ? "@unknown:0:0"
156
- : "";
152
+ -1 < x.stack.indexOf('\n at')
153
+ ? ' (<anonymous>)'
154
+ : -1 < x.stack.indexOf('@')
155
+ ? '@unknown:0:0'
156
+ : ''
157
157
  }
158
- return "\n" + prefix + name + suffix;
158
+ return '\n' + prefix + name + suffix
159
159
  }
160
160
  function describeNativeComponentFrame(fn, construct) {
161
- if (!fn || reentry) return "";
162
- var frame = componentFrameCache.get(fn);
163
- if (void 0 !== frame) return frame;
164
- reentry = !0;
165
- frame = Error.prepareStackTrace;
166
- Error.prepareStackTrace = void 0;
167
- var previousDispatcher = null;
168
- previousDispatcher = ReactSharedInternals.H;
169
- ReactSharedInternals.H = null;
170
- disableLogs();
161
+ if (!fn || reentry) return ''
162
+ var frame = componentFrameCache.get(fn)
163
+ if (void 0 !== frame) return frame
164
+ reentry = !0
165
+ frame = Error.prepareStackTrace
166
+ Error.prepareStackTrace = void 0
167
+ var previousDispatcher = null
168
+ previousDispatcher = ReactSharedInternals.H
169
+ ReactSharedInternals.H = null
170
+ disableLogs()
171
171
  try {
172
172
  var RunInRootFrame = {
173
173
  DetermineComponentFrameRoot: function () {
174
174
  try {
175
175
  if (construct) {
176
176
  var Fake = function () {
177
- throw Error();
178
- };
179
- Object.defineProperty(Fake.prototype, "props", {
177
+ throw Error()
178
+ }
179
+ Object.defineProperty(Fake.prototype, 'props', {
180
180
  set: function () {
181
- throw Error();
182
- }
183
- });
184
- if ("object" === typeof Reflect && Reflect.construct) {
181
+ throw Error()
182
+ },
183
+ })
184
+ if ('object' === typeof Reflect && Reflect.construct) {
185
185
  try {
186
- Reflect.construct(Fake, []);
186
+ Reflect.construct(Fake, [])
187
187
  } catch (x) {
188
- var control = x;
188
+ var control = x
189
189
  }
190
- Reflect.construct(fn, [], Fake);
190
+ Reflect.construct(fn, [], Fake)
191
191
  } else {
192
192
  try {
193
- Fake.call();
193
+ Fake.call()
194
194
  } catch (x$0) {
195
- control = x$0;
195
+ control = x$0
196
196
  }
197
- fn.call(Fake.prototype);
197
+ fn.call(Fake.prototype)
198
198
  }
199
199
  } else {
200
200
  try {
201
- throw Error();
201
+ throw Error()
202
202
  } catch (x$1) {
203
- control = x$1;
203
+ control = x$1
204
204
  }
205
- (Fake = fn()) &&
206
- "function" === typeof Fake.catch &&
207
- Fake.catch(function () {});
205
+ ;(Fake = fn()) &&
206
+ 'function' === typeof Fake.catch &&
207
+ Fake.catch(function () {})
208
208
  }
209
209
  } catch (sample) {
210
- if (sample && control && "string" === typeof sample.stack)
211
- return [sample.stack, control.stack];
210
+ if (sample && control && 'string' === typeof sample.stack)
211
+ return [sample.stack, control.stack]
212
212
  }
213
- return [null, null];
214
- }
215
- };
213
+ return [null, null]
214
+ },
215
+ }
216
216
  RunInRootFrame.DetermineComponentFrameRoot.displayName =
217
- "DetermineComponentFrameRoot";
217
+ 'DetermineComponentFrameRoot'
218
218
  var namePropDescriptor = Object.getOwnPropertyDescriptor(
219
219
  RunInRootFrame.DetermineComponentFrameRoot,
220
- "name"
221
- );
220
+ 'name'
221
+ )
222
222
  namePropDescriptor &&
223
223
  namePropDescriptor.configurable &&
224
- Object.defineProperty(
225
- RunInRootFrame.DetermineComponentFrameRoot,
226
- "name",
227
- { value: "DetermineComponentFrameRoot" }
228
- );
229
- var _RunInRootFrame$Deter =
230
- RunInRootFrame.DetermineComponentFrameRoot(),
224
+ Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, 'name', {
225
+ value: 'DetermineComponentFrameRoot',
226
+ })
227
+ var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),
231
228
  sampleStack = _RunInRootFrame$Deter[0],
232
- controlStack = _RunInRootFrame$Deter[1];
229
+ controlStack = _RunInRootFrame$Deter[1]
233
230
  if (sampleStack && controlStack) {
234
- var sampleLines = sampleStack.split("\n"),
235
- controlLines = controlStack.split("\n");
231
+ var sampleLines = sampleStack.split('\n'),
232
+ controlLines = controlStack.split('\n')
236
233
  for (
237
234
  _RunInRootFrame$Deter = namePropDescriptor = 0;
238
235
  namePropDescriptor < sampleLines.length &&
239
- !sampleLines[namePropDescriptor].includes(
240
- "DetermineComponentFrameRoot"
241
- );
242
-
236
+ !sampleLines[namePropDescriptor].includes('DetermineComponentFrameRoot');
243
237
  )
244
- namePropDescriptor++;
238
+ namePropDescriptor++
245
239
  for (
246
240
  ;
247
241
  _RunInRootFrame$Deter < controlLines.length &&
248
- !controlLines[_RunInRootFrame$Deter].includes(
249
- "DetermineComponentFrameRoot"
250
- );
251
-
242
+ !controlLines[_RunInRootFrame$Deter].includes('DetermineComponentFrameRoot');
252
243
  )
253
- _RunInRootFrame$Deter++;
244
+ _RunInRootFrame$Deter++
254
245
  if (
255
246
  namePropDescriptor === sampleLines.length ||
256
247
  _RunInRootFrame$Deter === controlLines.length
@@ -260,20 +251,15 @@
260
251
  _RunInRootFrame$Deter = controlLines.length - 1;
261
252
  1 <= namePropDescriptor &&
262
253
  0 <= _RunInRootFrame$Deter &&
263
- sampleLines[namePropDescriptor] !==
264
- controlLines[_RunInRootFrame$Deter];
265
-
254
+ sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter];
266
255
  )
267
- _RunInRootFrame$Deter--;
256
+ _RunInRootFrame$Deter--
268
257
  for (
269
258
  ;
270
259
  1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
271
260
  namePropDescriptor--, _RunInRootFrame$Deter--
272
261
  )
273
- if (
274
- sampleLines[namePropDescriptor] !==
275
- controlLines[_RunInRootFrame$Deter]
276
- ) {
262
+ if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
277
263
  if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
278
264
  do
279
265
  if (
@@ -284,151 +270,139 @@
284
270
  controlLines[_RunInRootFrame$Deter])
285
271
  ) {
286
272
  var _frame =
287
- "\n" +
288
- sampleLines[namePropDescriptor].replace(
289
- " at new ",
290
- " at "
291
- );
273
+ '\n' + sampleLines[namePropDescriptor].replace(' at new ', ' at ')
292
274
  fn.displayName &&
293
- _frame.includes("<anonymous>") &&
294
- (_frame = _frame.replace("<anonymous>", fn.displayName));
295
- "function" === typeof fn &&
296
- componentFrameCache.set(fn, _frame);
297
- return _frame;
275
+ _frame.includes('<anonymous>') &&
276
+ (_frame = _frame.replace('<anonymous>', fn.displayName))
277
+ 'function' === typeof fn && componentFrameCache.set(fn, _frame)
278
+ return _frame
298
279
  }
299
- while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
280
+ while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter)
300
281
  }
301
- break;
282
+ break
302
283
  }
303
284
  }
304
285
  } finally {
305
- (reentry = !1),
286
+ ;((reentry = !1),
306
287
  (ReactSharedInternals.H = previousDispatcher),
307
288
  reenableLogs(),
308
- (Error.prepareStackTrace = frame);
289
+ (Error.prepareStackTrace = frame))
309
290
  }
310
- sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
291
+ sampleLines = (sampleLines = fn ? fn.displayName || fn.name : '')
311
292
  ? describeBuiltInComponentFrame(sampleLines)
312
- : "";
313
- "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
314
- return sampleLines;
293
+ : ''
294
+ 'function' === typeof fn && componentFrameCache.set(fn, sampleLines)
295
+ return sampleLines
315
296
  }
316
297
  function describeUnknownElementTypeFrameInDEV(type) {
317
- if (null == type) return "";
318
- if ("function" === typeof type) {
319
- var prototype = type.prototype;
298
+ if (null == type) return ''
299
+ if ('function' === typeof type) {
300
+ var prototype = type.prototype
320
301
  return describeNativeComponentFrame(
321
302
  type,
322
303
  !(!prototype || !prototype.isReactComponent)
323
- );
304
+ )
324
305
  }
325
- if ("string" === typeof type) return describeBuiltInComponentFrame(type);
306
+ if ('string' === typeof type) return describeBuiltInComponentFrame(type)
326
307
  switch (type) {
327
308
  case REACT_SUSPENSE_TYPE:
328
- return describeBuiltInComponentFrame("Suspense");
309
+ return describeBuiltInComponentFrame('Suspense')
329
310
  case REACT_SUSPENSE_LIST_TYPE:
330
- return describeBuiltInComponentFrame("SuspenseList");
311
+ return describeBuiltInComponentFrame('SuspenseList')
331
312
  }
332
- if ("object" === typeof type)
313
+ if ('object' === typeof type)
333
314
  switch (type.$$typeof) {
334
315
  case REACT_FORWARD_REF_TYPE:
335
- return (type = describeNativeComponentFrame(type.render, !1)), type;
316
+ return ((type = describeNativeComponentFrame(type.render, !1)), type)
336
317
  case REACT_MEMO_TYPE:
337
- return describeUnknownElementTypeFrameInDEV(type.type);
318
+ return describeUnknownElementTypeFrameInDEV(type.type)
338
319
  case REACT_LAZY_TYPE:
339
- prototype = type._payload;
340
- type = type._init;
320
+ prototype = type._payload
321
+ type = type._init
341
322
  try {
342
- return describeUnknownElementTypeFrameInDEV(type(prototype));
323
+ return describeUnknownElementTypeFrameInDEV(type(prototype))
343
324
  } catch (x) {}
344
325
  }
345
- return "";
326
+ return ''
346
327
  }
347
328
  function getOwner() {
348
- var dispatcher = ReactSharedInternals.A;
349
- return null === dispatcher ? null : dispatcher.getOwner();
329
+ var dispatcher = ReactSharedInternals.A
330
+ return null === dispatcher ? null : dispatcher.getOwner()
350
331
  }
351
332
  function hasValidKey(config) {
352
- if (hasOwnProperty.call(config, "key")) {
353
- var getter = Object.getOwnPropertyDescriptor(config, "key").get;
354
- if (getter && getter.isReactWarning) return !1;
333
+ if (hasOwnProperty.call(config, 'key')) {
334
+ var getter = Object.getOwnPropertyDescriptor(config, 'key').get
335
+ if (getter && getter.isReactWarning) return !1
355
336
  }
356
- return void 0 !== config.key;
337
+ return void 0 !== config.key
357
338
  }
358
339
  function defineKeyPropWarningGetter(props, displayName) {
359
340
  function warnAboutAccessingKey() {
360
341
  specialPropKeyWarningShown ||
361
342
  ((specialPropKeyWarningShown = !0),
362
343
  console.error(
363
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
344
+ '%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)',
364
345
  displayName
365
- ));
346
+ ))
366
347
  }
367
- warnAboutAccessingKey.isReactWarning = !0;
368
- Object.defineProperty(props, "key", {
348
+ warnAboutAccessingKey.isReactWarning = !0
349
+ Object.defineProperty(props, 'key', {
369
350
  get: warnAboutAccessingKey,
370
- configurable: !0
371
- });
351
+ configurable: !0,
352
+ })
372
353
  }
373
354
  function elementRefGetterWithDeprecationWarning() {
374
- var componentName = getComponentNameFromType(this.type);
355
+ var componentName = getComponentNameFromType(this.type)
375
356
  didWarnAboutElementRef[componentName] ||
376
357
  ((didWarnAboutElementRef[componentName] = !0),
377
358
  console.error(
378
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
379
- ));
380
- componentName = this.props.ref;
381
- return void 0 !== componentName ? componentName : null;
359
+ 'Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.'
360
+ ))
361
+ componentName = this.props.ref
362
+ return void 0 !== componentName ? componentName : null
382
363
  }
383
364
  function ReactElement(type, key, self, source, owner, props) {
384
- self = props.ref;
365
+ self = props.ref
385
366
  type = {
386
367
  $$typeof: REACT_ELEMENT_TYPE,
387
368
  type: type,
388
369
  key: key,
389
370
  props: props,
390
- _owner: owner
391
- };
371
+ _owner: owner,
372
+ }
392
373
  null !== (void 0 !== self ? self : null)
393
- ? Object.defineProperty(type, "ref", {
374
+ ? Object.defineProperty(type, 'ref', {
394
375
  enumerable: !1,
395
- get: elementRefGetterWithDeprecationWarning
376
+ get: elementRefGetterWithDeprecationWarning,
396
377
  })
397
- : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
398
- type._store = {};
399
- Object.defineProperty(type._store, "validated", {
378
+ : Object.defineProperty(type, 'ref', { enumerable: !1, value: null })
379
+ type._store = {}
380
+ Object.defineProperty(type._store, 'validated', {
400
381
  configurable: !1,
401
382
  enumerable: !1,
402
383
  writable: !0,
403
- value: 0
404
- });
405
- Object.defineProperty(type, "_debugInfo", {
384
+ value: 0,
385
+ })
386
+ Object.defineProperty(type, '_debugInfo', {
406
387
  configurable: !1,
407
388
  enumerable: !1,
408
389
  writable: !0,
409
- value: null
410
- });
411
- Object.freeze && (Object.freeze(type.props), Object.freeze(type));
412
- return type;
390
+ value: null,
391
+ })
392
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type))
393
+ return type
413
394
  }
414
- function jsxDEVImpl(
415
- type,
416
- config,
417
- maybeKey,
418
- isStaticChildren,
419
- source,
420
- self
421
- ) {
395
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self) {
422
396
  if (
423
- "string" === typeof type ||
424
- "function" === typeof type ||
397
+ 'string' === typeof type ||
398
+ 'function' === typeof type ||
425
399
  type === REACT_FRAGMENT_TYPE ||
426
400
  type === REACT_PROFILER_TYPE ||
427
401
  type === REACT_STRICT_MODE_TYPE ||
428
402
  type === REACT_SUSPENSE_TYPE ||
429
403
  type === REACT_SUSPENSE_LIST_TYPE ||
430
404
  type === REACT_OFFSCREEN_TYPE ||
431
- ("object" === typeof type &&
405
+ ('object' === typeof type &&
432
406
  null !== type &&
433
407
  (type.$$typeof === REACT_LAZY_TYPE ||
434
408
  type.$$typeof === REACT_MEMO_TYPE ||
@@ -438,7 +412,7 @@
438
412
  type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
439
413
  void 0 !== type.getModuleId))
440
414
  ) {
441
- var children = config.children;
415
+ var children = config.children
442
416
  if (void 0 !== children)
443
417
  if (isStaticChildren)
444
418
  if (isArrayImpl(children)) {
@@ -447,53 +421,48 @@
447
421
  isStaticChildren < children.length;
448
422
  isStaticChildren++
449
423
  )
450
- validateChildKeys(children[isStaticChildren], type);
451
- Object.freeze && Object.freeze(children);
424
+ validateChildKeys(children[isStaticChildren], type)
425
+ Object.freeze && Object.freeze(children)
452
426
  } else
453
427
  console.error(
454
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
455
- );
456
- else validateChildKeys(children, type);
428
+ 'React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.'
429
+ )
430
+ else validateChildKeys(children, type)
457
431
  } else {
458
- children = "";
432
+ children = ''
459
433
  if (
460
434
  void 0 === type ||
461
- ("object" === typeof type &&
462
- null !== type &&
463
- 0 === Object.keys(type).length)
435
+ ('object' === typeof type && null !== type && 0 === Object.keys(type).length)
464
436
  )
465
437
  children +=
466
- " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
438
+ " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."
467
439
  null === type
468
- ? (isStaticChildren = "null")
440
+ ? (isStaticChildren = 'null')
469
441
  : isArrayImpl(type)
470
- ? (isStaticChildren = "array")
442
+ ? (isStaticChildren = 'array')
471
443
  : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
472
444
  ? ((isStaticChildren =
473
- "<" +
474
- (getComponentNameFromType(type.type) || "Unknown") +
475
- " />"),
445
+ '<' + (getComponentNameFromType(type.type) || 'Unknown') + ' />'),
476
446
  (children =
477
- " Did you accidentally export a JSX literal instead of a component?"))
478
- : (isStaticChildren = typeof type);
447
+ ' Did you accidentally export a JSX literal instead of a component?'))
448
+ : (isStaticChildren = typeof type)
479
449
  console.error(
480
- "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
450
+ 'React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s',
481
451
  isStaticChildren,
482
452
  children
483
- );
453
+ )
484
454
  }
485
- if (hasOwnProperty.call(config, "key")) {
486
- children = getComponentNameFromType(type);
455
+ if (hasOwnProperty.call(config, 'key')) {
456
+ children = getComponentNameFromType(type)
487
457
  var keys = Object.keys(config).filter(function (k) {
488
- return "key" !== k;
489
- });
458
+ return 'key' !== k
459
+ })
490
460
  isStaticChildren =
491
461
  0 < keys.length
492
- ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
493
- : "{key: someKey}";
462
+ ? '{key: someKey, ' + keys.join(': ..., ') + ': ...}'
463
+ : '{key: someKey}'
494
464
  didWarnAboutKeySpread[children + isStaticChildren] ||
495
- ((keys =
496
- 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
465
+ ((keys = 0 < keys.length ? '{' + keys.join(': ..., ') + ': ...}' : '{}'),
497
466
  console.error(
498
467
  'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
499
468
  isStaticChildren,
@@ -501,61 +470,53 @@
501
470
  keys,
502
471
  children
503
472
  ),
504
- (didWarnAboutKeySpread[children + isStaticChildren] = !0));
473
+ (didWarnAboutKeySpread[children + isStaticChildren] = !0))
505
474
  }
506
- children = null;
475
+ children = null
507
476
  void 0 !== maybeKey &&
508
- (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
477
+ (checkKeyStringCoercion(maybeKey), (children = '' + maybeKey))
509
478
  hasValidKey(config) &&
510
- (checkKeyStringCoercion(config.key), (children = "" + config.key));
511
- if ("key" in config) {
512
- maybeKey = {};
479
+ (checkKeyStringCoercion(config.key), (children = '' + config.key))
480
+ if ('key' in config) {
481
+ maybeKey = {}
513
482
  for (var propName in config)
514
- "key" !== propName && (maybeKey[propName] = config[propName]);
515
- } else maybeKey = config;
483
+ 'key' !== propName && (maybeKey[propName] = config[propName])
484
+ } else maybeKey = config
516
485
  children &&
517
486
  defineKeyPropWarningGetter(
518
487
  maybeKey,
519
- "function" === typeof type
520
- ? type.displayName || type.name || "Unknown"
521
- : type
522
- );
523
- return ReactElement(type, children, self, source, getOwner(), maybeKey);
488
+ 'function' === typeof type ? type.displayName || type.name || 'Unknown' : type
489
+ )
490
+ return ReactElement(type, children, self, source, getOwner(), maybeKey)
524
491
  }
525
492
  function validateChildKeys(node, parentType) {
526
- if (
527
- "object" === typeof node &&
528
- node &&
529
- node.$$typeof !== REACT_CLIENT_REFERENCE
530
- )
493
+ if ('object' === typeof node && node && node.$$typeof !== REACT_CLIENT_REFERENCE)
531
494
  if (isArrayImpl(node))
532
495
  for (var i = 0; i < node.length; i++) {
533
- var child = node[i];
534
- isValidElement(child) && validateExplicitKey(child, parentType);
496
+ var child = node[i]
497
+ isValidElement(child) && validateExplicitKey(child, parentType)
535
498
  }
536
- else if (isValidElement(node))
537
- node._store && (node._store.validated = 1);
499
+ else if (isValidElement(node)) node._store && (node._store.validated = 1)
538
500
  else if (
539
- (null === node || "object" !== typeof node
501
+ (null === node || 'object' !== typeof node
540
502
  ? (i = null)
541
503
  : ((i =
542
504
  (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
543
- node["@@iterator"]),
544
- (i = "function" === typeof i ? i : null)),
545
- "function" === typeof i &&
505
+ node['@@iterator']),
506
+ (i = 'function' === typeof i ? i : null)),
507
+ 'function' === typeof i &&
546
508
  i !== node.entries &&
547
509
  ((i = i.call(node)), i !== node))
548
510
  )
549
511
  for (; !(node = i.next()).done; )
550
- isValidElement(node.value) &&
551
- validateExplicitKey(node.value, parentType);
512
+ isValidElement(node.value) && validateExplicitKey(node.value, parentType)
552
513
  }
553
514
  function isValidElement(object) {
554
515
  return (
555
- "object" === typeof object &&
516
+ 'object' === typeof object &&
556
517
  null !== object &&
557
518
  object.$$typeof === REACT_ELEMENT_TYPE
558
- );
519
+ )
559
520
  }
560
521
  function validateExplicitKey(element, parentType) {
561
522
  if (
@@ -566,65 +527,64 @@
566
527
  (parentType = getCurrentComponentErrorInfo(parentType)),
567
528
  !ownerHasKeyUseWarning[parentType])
568
529
  ) {
569
- ownerHasKeyUseWarning[parentType] = !0;
570
- var childOwner = "";
530
+ ownerHasKeyUseWarning[parentType] = !0
531
+ var childOwner = ''
571
532
  element &&
572
533
  null != element._owner &&
573
534
  element._owner !== getOwner() &&
574
535
  ((childOwner = null),
575
- "number" === typeof element._owner.tag
536
+ 'number' === typeof element._owner.tag
576
537
  ? (childOwner = getComponentNameFromType(element._owner.type))
577
- : "string" === typeof element._owner.name &&
538
+ : 'string' === typeof element._owner.name &&
578
539
  (childOwner = element._owner.name),
579
- (childOwner = " It was passed a child from " + childOwner + "."));
580
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
540
+ (childOwner = ' It was passed a child from ' + childOwner + '.'))
541
+ var prevGetCurrentStack = ReactSharedInternals.getCurrentStack
581
542
  ReactSharedInternals.getCurrentStack = function () {
582
- var stack = describeUnknownElementTypeFrameInDEV(element.type);
583
- prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
584
- return stack;
585
- };
543
+ var stack = describeUnknownElementTypeFrameInDEV(element.type)
544
+ prevGetCurrentStack && (stack += prevGetCurrentStack() || '')
545
+ return stack
546
+ }
586
547
  console.error(
587
548
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
588
549
  parentType,
589
550
  childOwner
590
- );
591
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
551
+ )
552
+ ReactSharedInternals.getCurrentStack = prevGetCurrentStack
592
553
  }
593
554
  }
594
555
  function getCurrentComponentErrorInfo(parentType) {
595
- var info = "",
596
- owner = getOwner();
556
+ var info = '',
557
+ owner = getOwner()
597
558
  owner &&
598
559
  (owner = getComponentNameFromType(owner.type)) &&
599
- (info = "\n\nCheck the render method of `" + owner + "`.");
560
+ (info = '\n\nCheck the render method of `' + owner + '`.')
600
561
  info ||
601
562
  ((parentType = getComponentNameFromType(parentType)) &&
602
- (info =
603
- "\n\nCheck the top-level render call using <" + parentType + ">."));
604
- return info;
563
+ (info = '\n\nCheck the top-level render call using <' + parentType + '>.'))
564
+ return info
605
565
  }
606
- var React = require("react"),
607
- REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
608
- REACT_PORTAL_TYPE = Symbol.for("react.portal"),
609
- REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
610
- REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
611
- REACT_PROFILER_TYPE = Symbol.for("react.profiler");
612
- Symbol.for("react.provider");
613
- var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
614
- REACT_CONTEXT_TYPE = Symbol.for("react.context"),
615
- REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
616
- REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
617
- REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
618
- REACT_MEMO_TYPE = Symbol.for("react.memo"),
619
- REACT_LAZY_TYPE = Symbol.for("react.lazy"),
620
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
566
+ var React = require('react'),
567
+ REACT_ELEMENT_TYPE = Symbol.for('react.transitional.element'),
568
+ REACT_PORTAL_TYPE = Symbol.for('react.portal'),
569
+ REACT_FRAGMENT_TYPE = Symbol.for('react.fragment'),
570
+ REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode'),
571
+ REACT_PROFILER_TYPE = Symbol.for('react.profiler')
572
+ Symbol.for('react.provider')
573
+ var REACT_CONSUMER_TYPE = Symbol.for('react.consumer'),
574
+ REACT_CONTEXT_TYPE = Symbol.for('react.context'),
575
+ REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref'),
576
+ REACT_SUSPENSE_TYPE = Symbol.for('react.suspense'),
577
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list'),
578
+ REACT_MEMO_TYPE = Symbol.for('react.memo'),
579
+ REACT_LAZY_TYPE = Symbol.for('react.lazy'),
580
+ REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen'),
621
581
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
622
- REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
582
+ REACT_CLIENT_REFERENCE$2 = Symbol.for('react.client.reference'),
623
583
  ReactSharedInternals =
624
584
  React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
625
585
  hasOwnProperty = Object.prototype.hasOwnProperty,
626
586
  assign = Object.assign,
627
- REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
587
+ REACT_CLIENT_REFERENCE$1 = Symbol.for('react.client.reference'),
628
588
  isArrayImpl = Array.isArray,
629
589
  disabledDepth = 0,
630
590
  prevLog,
@@ -633,28 +593,19 @@
633
593
  prevError,
634
594
  prevGroup,
635
595
  prevGroupCollapsed,
636
- prevGroupEnd;
637
- disabledLog.__reactDisabledLog = !0;
596
+ prevGroupEnd
597
+ disabledLog.__reactDisabledLog = !0
638
598
  var prefix,
639
599
  suffix,
640
- reentry = !1;
641
- var componentFrameCache = new (
642
- "function" === typeof WeakMap ? WeakMap : Map
643
- )();
644
- var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
645
- specialPropKeyWarningShown;
646
- var didWarnAboutElementRef = {};
600
+ reentry = !1
601
+ var componentFrameCache = new ('function' === typeof WeakMap ? WeakMap : Map)()
602
+ var REACT_CLIENT_REFERENCE = Symbol.for('react.client.reference'),
603
+ specialPropKeyWarningShown
604
+ var didWarnAboutElementRef = {}
647
605
  var didWarnAboutKeySpread = {},
648
- ownerHasKeyUseWarning = {};
649
- exports.Fragment = REACT_FRAGMENT_TYPE;
650
- exports.jsxDEV = function (
651
- type,
652
- config,
653
- maybeKey,
654
- isStaticChildren,
655
- source,
656
- self
657
- ) {
658
- return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
659
- };
660
- })();
606
+ ownerHasKeyUseWarning = {}
607
+ exports.Fragment = REACT_FRAGMENT_TYPE
608
+ exports.jsxDEV = function (type, config, maybeKey, isStaticChildren, source, self) {
609
+ return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self)
610
+ }
611
+ })()