@vxrn/vendor 1.1.145

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 (71) hide show
  1. package/package.json +13 -0
  2. package/react/LICENSE +21 -0
  3. package/react/README.md +37 -0
  4. package/react/cjs/react-compiler-runtime.development.js +41 -0
  5. package/react/cjs/react-compiler-runtime.production.js +16 -0
  6. package/react/cjs/react-compiler-runtime.profiling.js +16 -0
  7. package/react/cjs/react-jsx-dev-runtime.development.js +677 -0
  8. package/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  9. package/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
  10. package/react/cjs/react-jsx-dev-runtime.react-server.development.js +687 -0
  11. package/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
  12. package/react/cjs/react-jsx-runtime.development.js +673 -0
  13. package/react/cjs/react-jsx-runtime.production.js +34 -0
  14. package/react/cjs/react-jsx-runtime.profiling.js +34 -0
  15. package/react/cjs/react-jsx-runtime.react-server.development.js +687 -0
  16. package/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
  17. package/react/cjs/react.development.js +1547 -0
  18. package/react/cjs/react.production.js +539 -0
  19. package/react/cjs/react.react-server.development.js +1141 -0
  20. package/react/cjs/react.react-server.production.js +427 -0
  21. package/react/compiler-runtime.js +14 -0
  22. package/react/index.js +7 -0
  23. package/react/jsx-dev-runtime.js +7 -0
  24. package/react/jsx-dev-runtime.react-server.js +7 -0
  25. package/react/jsx-runtime.js +7 -0
  26. package/react/jsx-runtime.react-server.js +7 -0
  27. package/react/package.json +51 -0
  28. package/react/react.react-server.js +7 -0
  29. package/react-dom/LICENSE +21 -0
  30. package/react-dom/README.md +60 -0
  31. package/react-dom/cjs/react-dom-client.development.js +24359 -0
  32. package/react-dom/cjs/react-dom-client.production.js +14810 -0
  33. package/react-dom/cjs/react-dom-profiling.development.js +24746 -0
  34. package/react-dom/cjs/react-dom-profiling.profiling.js +15685 -0
  35. package/react-dom/cjs/react-dom-server-legacy.browser.development.js +8370 -0
  36. package/react-dom/cjs/react-dom-server-legacy.browser.production.js +5496 -0
  37. package/react-dom/cjs/react-dom-server-legacy.node.development.js +8370 -0
  38. package/react-dom/cjs/react-dom-server-legacy.node.production.js +5578 -0
  39. package/react-dom/cjs/react-dom-server.browser.development.js +8636 -0
  40. package/react-dom/cjs/react-dom-server.browser.production.js +5861 -0
  41. package/react-dom/cjs/react-dom-server.bun.development.js +8083 -0
  42. package/react-dom/cjs/react-dom-server.bun.production.js +5562 -0
  43. package/react-dom/cjs/react-dom-server.edge.development.js +8651 -0
  44. package/react-dom/cjs/react-dom-server.edge.production.js +5953 -0
  45. package/react-dom/cjs/react-dom-server.node.development.js +8479 -0
  46. package/react-dom/cjs/react-dom-server.node.production.js +5808 -0
  47. package/react-dom/cjs/react-dom-test-utils.development.js +43 -0
  48. package/react-dom/cjs/react-dom-test-utils.production.js +21 -0
  49. package/react-dom/cjs/react-dom.development.js +440 -0
  50. package/react-dom/cjs/react-dom.production.js +209 -0
  51. package/react-dom/cjs/react-dom.react-server.development.js +358 -0
  52. package/react-dom/cjs/react-dom.react-server.production.js +154 -0
  53. package/react-dom/client.js +38 -0
  54. package/react-dom/client.react-server.js +5 -0
  55. package/react-dom/index.js +38 -0
  56. package/react-dom/package.json +117 -0
  57. package/react-dom/profiling.js +38 -0
  58. package/react-dom/profiling.react-server.js +5 -0
  59. package/react-dom/react-dom.react-server.js +7 -0
  60. package/react-dom/server.browser.js +18 -0
  61. package/react-dom/server.bun.js +19 -0
  62. package/react-dom/server.edge.js +19 -0
  63. package/react-dom/server.js +3 -0
  64. package/react-dom/server.node.js +18 -0
  65. package/react-dom/server.react-server.js +5 -0
  66. package/react-dom/static.browser.js +11 -0
  67. package/react-dom/static.edge.js +11 -0
  68. package/react-dom/static.js +3 -0
  69. package/react-dom/static.node.js +11 -0
  70. package/react-dom/static.react-server.js +5 -0
  71. package/react-dom/test-utils.js +7 -0
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-test-utils.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ "production" !== process.env.NODE_ENV &&
13
+ (function () {
14
+ function error(format) {
15
+ for (
16
+ var _len2 = arguments.length,
17
+ args = Array(1 < _len2 ? _len2 - 1 : 0),
18
+ _key2 = 1;
19
+ _key2 < _len2;
20
+ _key2++
21
+ )
22
+ args[_key2 - 1] = arguments[_key2];
23
+ _len2 = format;
24
+ _key2 = Error("react-stack-top-frame");
25
+ ReactSharedInternals.getCurrentStack &&
26
+ ((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
27
+ "" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
28
+ args.unshift(_len2);
29
+ Function.prototype.apply.call(console.error, console, args);
30
+ }
31
+ var React = require("react"),
32
+ ReactSharedInternals =
33
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
34
+ didWarnAboutUsingAct = !1;
35
+ exports.act = function (callback) {
36
+ !1 === didWarnAboutUsingAct &&
37
+ ((didWarnAboutUsingAct = !0),
38
+ error(
39
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
40
+ ));
41
+ return React.act(callback);
42
+ };
43
+ })();
@@ -0,0 +1,21 @@
1
+ /**
2
+ * @license React
3
+ * react-dom-test-utils.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ var React = require("react"),
13
+ didWarnAboutUsingAct = !1;
14
+ exports.act = function (callback) {
15
+ !1 === didWarnAboutUsingAct &&
16
+ ((didWarnAboutUsingAct = !0),
17
+ console.error(
18
+ "`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info."
19
+ ));
20
+ return React.act(callback);
21
+ };
@@ -0,0 +1,440 @@
1
+ /**
2
+ * @license React
3
+ * react-dom.development.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ "use strict";
12
+ "production" !== process.env.NODE_ENV &&
13
+ (function () {
14
+ function error(format) {
15
+ for (
16
+ var _len2 = arguments.length,
17
+ args = Array(1 < _len2 ? _len2 - 1 : 0),
18
+ _key2 = 1;
19
+ _key2 < _len2;
20
+ _key2++
21
+ )
22
+ args[_key2 - 1] = arguments[_key2];
23
+ _len2 = format;
24
+ _key2 = Error("react-stack-top-frame");
25
+ ReactSharedInternals.getCurrentStack &&
26
+ ((_key2 = ReactSharedInternals.getCurrentStack(_key2)),
27
+ "" !== _key2 && ((_len2 += "%s"), (args = args.concat([_key2]))));
28
+ args.unshift(_len2);
29
+ Function.prototype.apply.call(console.error, console, args);
30
+ }
31
+ function noop() {}
32
+ function testStringCoercion(value) {
33
+ return "" + value;
34
+ }
35
+ function createPortal$1(children, containerInfo, implementation) {
36
+ var key =
37
+ 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
38
+ try {
39
+ testStringCoercion(key);
40
+ var JSCompiler_inline_result = !1;
41
+ } catch (e) {
42
+ JSCompiler_inline_result = !0;
43
+ }
44
+ JSCompiler_inline_result &&
45
+ (error(
46
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
47
+ ("function" === typeof Symbol &&
48
+ Symbol.toStringTag &&
49
+ key[Symbol.toStringTag]) ||
50
+ key.constructor.name ||
51
+ "Object"
52
+ ),
53
+ testStringCoercion(key));
54
+ return {
55
+ $$typeof: REACT_PORTAL_TYPE,
56
+ key: null == key ? null : "" + key,
57
+ children: children,
58
+ containerInfo: containerInfo,
59
+ implementation: implementation
60
+ };
61
+ }
62
+ function getCrossOriginStringAs(as, input) {
63
+ if ("font" === as) return "";
64
+ if ("string" === typeof input)
65
+ return "use-credentials" === input ? input : "";
66
+ }
67
+ function getValueDescriptorExpectingObjectForWarning(thing) {
68
+ return null === thing
69
+ ? "`null`"
70
+ : void 0 === thing
71
+ ? "`undefined`"
72
+ : "" === thing
73
+ ? "an empty string"
74
+ : 'something with type "' + typeof thing + '"';
75
+ }
76
+ function getValueDescriptorExpectingEnumForWarning(thing) {
77
+ return null === thing
78
+ ? "`null`"
79
+ : void 0 === thing
80
+ ? "`undefined`"
81
+ : "" === thing
82
+ ? "an empty string"
83
+ : "string" === typeof thing
84
+ ? JSON.stringify(thing)
85
+ : "number" === typeof thing
86
+ ? "`" + thing + "`"
87
+ : 'something with type "' + typeof thing + '"';
88
+ }
89
+ function resolveDispatcher() {
90
+ var dispatcher = ReactSharedInternals.H;
91
+ null === dispatcher &&
92
+ error(
93
+ "Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
94
+ );
95
+ return dispatcher;
96
+ }
97
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
98
+ "function" ===
99
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
100
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
101
+ var ReactSharedInternals =
102
+ require("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
103
+ Internals = {
104
+ d: {
105
+ f: noop,
106
+ r: function () {
107
+ throw Error(
108
+ "Invalid form element. requestFormReset must be passed a form that was rendered by React."
109
+ );
110
+ },
111
+ D: noop,
112
+ C: noop,
113
+ L: noop,
114
+ m: noop,
115
+ X: noop,
116
+ S: noop,
117
+ M: noop
118
+ },
119
+ p: 0,
120
+ findDOMNode: null
121
+ },
122
+ REACT_PORTAL_TYPE = Symbol.for("react.portal");
123
+ ("function" === typeof Map &&
124
+ null != Map.prototype &&
125
+ "function" === typeof Map.prototype.forEach &&
126
+ "function" === typeof Set &&
127
+ null != Set.prototype &&
128
+ "function" === typeof Set.prototype.clear &&
129
+ "function" === typeof Set.prototype.forEach) ||
130
+ error(
131
+ "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
132
+ );
133
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
134
+ Internals;
135
+ exports.createPortal = function (children, container) {
136
+ var key =
137
+ 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
138
+ if (
139
+ !container ||
140
+ (1 !== container.nodeType &&
141
+ 9 !== container.nodeType &&
142
+ 11 !== container.nodeType)
143
+ )
144
+ throw Error("Target container is not a DOM element.");
145
+ return createPortal$1(children, container, null, key);
146
+ };
147
+ exports.flushSync = function (fn) {
148
+ var previousTransition = ReactSharedInternals.T,
149
+ previousUpdatePriority = Internals.p;
150
+ try {
151
+ if (((ReactSharedInternals.T = null), (Internals.p = 2), fn))
152
+ return fn();
153
+ } finally {
154
+ (ReactSharedInternals.T = previousTransition),
155
+ (Internals.p = previousUpdatePriority),
156
+ Internals.d.f() &&
157
+ error(
158
+ "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
159
+ );
160
+ }
161
+ };
162
+ exports.preconnect = function (href, options) {
163
+ "string" === typeof href && href
164
+ ? null != options && "object" !== typeof options
165
+ ? error(
166
+ "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
167
+ getValueDescriptorExpectingEnumForWarning(options)
168
+ )
169
+ : null != options &&
170
+ "string" !== typeof options.crossOrigin &&
171
+ error(
172
+ "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
173
+ getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
174
+ )
175
+ : error(
176
+ "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
177
+ getValueDescriptorExpectingObjectForWarning(href)
178
+ );
179
+ "string" === typeof href &&
180
+ (options
181
+ ? ((options = options.crossOrigin),
182
+ (options =
183
+ "string" === typeof options
184
+ ? "use-credentials" === options
185
+ ? options
186
+ : ""
187
+ : void 0))
188
+ : (options = null),
189
+ Internals.d.C(href, options));
190
+ };
191
+ exports.prefetchDNS = function (href) {
192
+ if ("string" !== typeof href || !href)
193
+ error(
194
+ "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
195
+ getValueDescriptorExpectingObjectForWarning(href)
196
+ );
197
+ else if (1 < arguments.length) {
198
+ var options = arguments[1];
199
+ "object" === typeof options && options.hasOwnProperty("crossOrigin")
200
+ ? error(
201
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
202
+ getValueDescriptorExpectingEnumForWarning(options)
203
+ )
204
+ : error(
205
+ "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
206
+ getValueDescriptorExpectingEnumForWarning(options)
207
+ );
208
+ }
209
+ "string" === typeof href && Internals.d.D(href);
210
+ };
211
+ exports.preinit = function (href, options) {
212
+ "string" === typeof href && href
213
+ ? null == options || "object" !== typeof options
214
+ ? error(
215
+ "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
216
+ getValueDescriptorExpectingEnumForWarning(options)
217
+ )
218
+ : "style" !== options.as &&
219
+ "script" !== options.as &&
220
+ error(
221
+ 'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
222
+ getValueDescriptorExpectingEnumForWarning(options.as)
223
+ )
224
+ : error(
225
+ "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
226
+ getValueDescriptorExpectingObjectForWarning(href)
227
+ );
228
+ if (
229
+ "string" === typeof href &&
230
+ options &&
231
+ "string" === typeof options.as
232
+ ) {
233
+ var as = options.as,
234
+ crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
235
+ integrity =
236
+ "string" === typeof options.integrity ? options.integrity : void 0,
237
+ fetchPriority =
238
+ "string" === typeof options.fetchPriority
239
+ ? options.fetchPriority
240
+ : void 0;
241
+ "style" === as
242
+ ? Internals.d.S(
243
+ href,
244
+ "string" === typeof options.precedence
245
+ ? options.precedence
246
+ : void 0,
247
+ {
248
+ crossOrigin: crossOrigin,
249
+ integrity: integrity,
250
+ fetchPriority: fetchPriority
251
+ }
252
+ )
253
+ : "script" === as &&
254
+ Internals.d.X(href, {
255
+ crossOrigin: crossOrigin,
256
+ integrity: integrity,
257
+ fetchPriority: fetchPriority,
258
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
259
+ });
260
+ }
261
+ };
262
+ exports.preinitModule = function (href, options) {
263
+ var encountered = "";
264
+ ("string" === typeof href && href) ||
265
+ (encountered +=
266
+ " The `href` argument encountered was " +
267
+ getValueDescriptorExpectingObjectForWarning(href) +
268
+ ".");
269
+ void 0 !== options && "object" !== typeof options
270
+ ? (encountered +=
271
+ " The `options` argument encountered was " +
272
+ getValueDescriptorExpectingObjectForWarning(options) +
273
+ ".")
274
+ : options &&
275
+ "as" in options &&
276
+ "script" !== options.as &&
277
+ (encountered +=
278
+ " The `as` option encountered was " +
279
+ getValueDescriptorExpectingEnumForWarning(options.as) +
280
+ ".");
281
+ if (encountered)
282
+ error(
283
+ "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
284
+ encountered
285
+ );
286
+ else
287
+ switch (
288
+ ((encountered =
289
+ options && "string" === typeof options.as ? options.as : "script"),
290
+ encountered)
291
+ ) {
292
+ case "script":
293
+ break;
294
+ default:
295
+ (encountered =
296
+ getValueDescriptorExpectingEnumForWarning(encountered)),
297
+ error(
298
+ 'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
299
+ encountered,
300
+ href
301
+ );
302
+ }
303
+ if ("string" === typeof href)
304
+ if ("object" === typeof options && null !== options) {
305
+ if (null == options.as || "script" === options.as)
306
+ (encountered = getCrossOriginStringAs(
307
+ options.as,
308
+ options.crossOrigin
309
+ )),
310
+ Internals.d.M(href, {
311
+ crossOrigin: encountered,
312
+ integrity:
313
+ "string" === typeof options.integrity
314
+ ? options.integrity
315
+ : void 0,
316
+ nonce:
317
+ "string" === typeof options.nonce ? options.nonce : void 0
318
+ });
319
+ } else null == options && Internals.d.M(href);
320
+ };
321
+ exports.preload = function (href, options) {
322
+ var encountered = "";
323
+ ("string" === typeof href && href) ||
324
+ (encountered +=
325
+ " The `href` argument encountered was " +
326
+ getValueDescriptorExpectingObjectForWarning(href) +
327
+ ".");
328
+ null == options || "object" !== typeof options
329
+ ? (encountered +=
330
+ " The `options` argument encountered was " +
331
+ getValueDescriptorExpectingObjectForWarning(options) +
332
+ ".")
333
+ : ("string" === typeof options.as && options.as) ||
334
+ (encountered +=
335
+ " The `as` option encountered was " +
336
+ getValueDescriptorExpectingObjectForWarning(options.as) +
337
+ ".");
338
+ encountered &&
339
+ error(
340
+ 'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
341
+ encountered
342
+ );
343
+ if (
344
+ "string" === typeof href &&
345
+ "object" === typeof options &&
346
+ null !== options &&
347
+ "string" === typeof options.as
348
+ ) {
349
+ encountered = options.as;
350
+ var crossOrigin = getCrossOriginStringAs(
351
+ encountered,
352
+ options.crossOrigin
353
+ );
354
+ Internals.d.L(href, encountered, {
355
+ crossOrigin: crossOrigin,
356
+ integrity:
357
+ "string" === typeof options.integrity ? options.integrity : void 0,
358
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0,
359
+ type: "string" === typeof options.type ? options.type : void 0,
360
+ fetchPriority:
361
+ "string" === typeof options.fetchPriority
362
+ ? options.fetchPriority
363
+ : void 0,
364
+ referrerPolicy:
365
+ "string" === typeof options.referrerPolicy
366
+ ? options.referrerPolicy
367
+ : void 0,
368
+ imageSrcSet:
369
+ "string" === typeof options.imageSrcSet
370
+ ? options.imageSrcSet
371
+ : void 0,
372
+ imageSizes:
373
+ "string" === typeof options.imageSizes
374
+ ? options.imageSizes
375
+ : void 0,
376
+ media: "string" === typeof options.media ? options.media : void 0
377
+ });
378
+ }
379
+ };
380
+ exports.preloadModule = function (href, options) {
381
+ var encountered = "";
382
+ ("string" === typeof href && href) ||
383
+ (encountered +=
384
+ " The `href` argument encountered was " +
385
+ getValueDescriptorExpectingObjectForWarning(href) +
386
+ ".");
387
+ void 0 !== options && "object" !== typeof options
388
+ ? (encountered +=
389
+ " The `options` argument encountered was " +
390
+ getValueDescriptorExpectingObjectForWarning(options) +
391
+ ".")
392
+ : options &&
393
+ "as" in options &&
394
+ "string" !== typeof options.as &&
395
+ (encountered +=
396
+ " The `as` option encountered was " +
397
+ getValueDescriptorExpectingObjectForWarning(options.as) +
398
+ ".");
399
+ encountered &&
400
+ error(
401
+ 'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
402
+ encountered
403
+ );
404
+ "string" === typeof href &&
405
+ (options
406
+ ? ((encountered = getCrossOriginStringAs(
407
+ options.as,
408
+ options.crossOrigin
409
+ )),
410
+ Internals.d.m(href, {
411
+ as:
412
+ "string" === typeof options.as && "script" !== options.as
413
+ ? options.as
414
+ : void 0,
415
+ crossOrigin: encountered,
416
+ integrity:
417
+ "string" === typeof options.integrity
418
+ ? options.integrity
419
+ : void 0
420
+ }))
421
+ : Internals.d.m(href));
422
+ };
423
+ exports.requestFormReset = function (form) {
424
+ Internals.d.r(form);
425
+ };
426
+ exports.unstable_batchedUpdates = function (fn, a) {
427
+ return fn(a);
428
+ };
429
+ exports.useFormState = function (action, initialState, permalink) {
430
+ return resolveDispatcher().useFormState(action, initialState, permalink);
431
+ };
432
+ exports.useFormStatus = function () {
433
+ return resolveDispatcher().useHostTransitionStatus();
434
+ };
435
+ exports.version = "19.0.0-rc-fb9a90fa48-20240614";
436
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
437
+ "function" ===
438
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
439
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
440
+ })();