@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,45 +8,44 @@
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 noop() {}
15
15
  function getCrossOriginStringAs(as, input) {
16
- if ("font" === as) return "";
17
- if ("string" === typeof input)
18
- return "use-credentials" === input ? input : "";
16
+ if ('font' === as) return ''
17
+ if ('string' === typeof input) return 'use-credentials' === input ? input : ''
19
18
  }
20
19
  function getValueDescriptorExpectingObjectForWarning(thing) {
21
20
  return null === thing
22
- ? "`null`"
21
+ ? '`null`'
23
22
  : void 0 === thing
24
- ? "`undefined`"
25
- : "" === thing
26
- ? "an empty string"
27
- : 'something with type "' + typeof thing + '"';
23
+ ? '`undefined`'
24
+ : '' === thing
25
+ ? 'an empty string'
26
+ : 'something with type "' + typeof thing + '"'
28
27
  }
29
28
  function getValueDescriptorExpectingEnumForWarning(thing) {
30
29
  return null === thing
31
- ? "`null`"
30
+ ? '`null`'
32
31
  : void 0 === thing
33
- ? "`undefined`"
34
- : "" === thing
35
- ? "an empty string"
36
- : "string" === typeof thing
32
+ ? '`undefined`'
33
+ : '' === thing
34
+ ? 'an empty string'
35
+ : 'string' === typeof thing
37
36
  ? JSON.stringify(thing)
38
- : "number" === typeof thing
39
- ? "`" + thing + "`"
40
- : 'something with type "' + typeof thing + '"';
37
+ : 'number' === typeof thing
38
+ ? '`' + thing + '`'
39
+ : 'something with type "' + typeof thing + '"'
41
40
  }
42
- var React = require("react"),
41
+ var React = require('react'),
43
42
  Internals = {
44
43
  d: {
45
44
  f: noop,
46
45
  r: function () {
47
46
  throw Error(
48
- "Invalid form element. requestFormReset must be passed a form that was rendered by React."
49
- );
47
+ 'Invalid form element. requestFormReset must be passed a form that was rendered by React.'
48
+ )
50
49
  },
51
50
  D: noop,
52
51
  C: noop,
@@ -54,287 +53,253 @@
54
53
  m: noop,
55
54
  X: noop,
56
55
  S: noop,
57
- M: noop
56
+ M: noop,
58
57
  },
59
58
  p: 0,
60
- findDOMNode: null
61
- };
59
+ findDOMNode: null,
60
+ }
62
61
  if (!React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)
63
62
  throw Error(
64
63
  'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
65
- );
66
- ("function" === typeof Map &&
64
+ )
65
+ ;('function' === typeof Map &&
67
66
  null != Map.prototype &&
68
- "function" === typeof Map.prototype.forEach &&
69
- "function" === typeof Set &&
67
+ 'function' === typeof Map.prototype.forEach &&
68
+ 'function' === typeof Set &&
70
69
  null != Set.prototype &&
71
- "function" === typeof Set.prototype.clear &&
72
- "function" === typeof Set.prototype.forEach) ||
70
+ 'function' === typeof Set.prototype.clear &&
71
+ 'function' === typeof Set.prototype.forEach) ||
73
72
  console.error(
74
- "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"
75
- );
76
- exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
77
- Internals;
73
+ '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'
74
+ )
75
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals
78
76
  exports.preconnect = function (href, options) {
79
- "string" === typeof href && href
80
- ? null != options && "object" !== typeof options
77
+ 'string' === typeof href && href
78
+ ? null != options && 'object' !== typeof options
81
79
  ? console.error(
82
- "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.",
80
+ '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.',
83
81
  getValueDescriptorExpectingEnumForWarning(options)
84
82
  )
85
83
  : null != options &&
86
- "string" !== typeof options.crossOrigin &&
84
+ 'string' !== typeof options.crossOrigin &&
87
85
  console.error(
88
- "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.",
86
+ '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.',
89
87
  getValueDescriptorExpectingObjectForWarning(options.crossOrigin)
90
88
  )
91
89
  : console.error(
92
- "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
90
+ 'ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.',
93
91
  getValueDescriptorExpectingObjectForWarning(href)
94
- );
95
- "string" === typeof href &&
92
+ )
93
+ 'string' === typeof href &&
96
94
  (options
97
95
  ? ((options = options.crossOrigin),
98
96
  (options =
99
- "string" === typeof options
100
- ? "use-credentials" === options
97
+ 'string' === typeof options
98
+ ? 'use-credentials' === options
101
99
  ? options
102
- : ""
100
+ : ''
103
101
  : void 0))
104
102
  : (options = null),
105
- Internals.d.C(href, options));
106
- };
103
+ Internals.d.C(href, options))
104
+ }
107
105
  exports.prefetchDNS = function (href) {
108
- if ("string" !== typeof href || !href)
106
+ if ('string' !== typeof href || !href)
109
107
  console.error(
110
- "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
108
+ 'ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.',
111
109
  getValueDescriptorExpectingObjectForWarning(href)
112
- );
110
+ )
113
111
  else if (1 < arguments.length) {
114
- var options = arguments[1];
115
- "object" === typeof options && options.hasOwnProperty("crossOrigin")
112
+ var options = arguments[1]
113
+ 'object' === typeof options && options.hasOwnProperty('crossOrigin')
116
114
  ? console.error(
117
- "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`.",
115
+ '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`.',
118
116
  getValueDescriptorExpectingEnumForWarning(options)
119
117
  )
120
118
  : console.error(
121
- "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`.",
119
+ '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`.',
122
120
  getValueDescriptorExpectingEnumForWarning(options)
123
- );
121
+ )
124
122
  }
125
- "string" === typeof href && Internals.d.D(href);
126
- };
123
+ 'string' === typeof href && Internals.d.D(href)
124
+ }
127
125
  exports.preinit = function (href, options) {
128
- "string" === typeof href && href
129
- ? null == options || "object" !== typeof options
126
+ 'string' === typeof href && href
127
+ ? null == options || 'object' !== typeof options
130
128
  ? console.error(
131
- "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.",
129
+ '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.',
132
130
  getValueDescriptorExpectingEnumForWarning(options)
133
131
  )
134
- : "style" !== options.as &&
135
- "script" !== options.as &&
132
+ : 'style' !== options.as &&
133
+ 'script' !== options.as &&
136
134
  console.error(
137
135
  '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".',
138
136
  getValueDescriptorExpectingEnumForWarning(options.as)
139
137
  )
140
138
  : console.error(
141
- "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
139
+ 'ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.',
142
140
  getValueDescriptorExpectingObjectForWarning(href)
143
- );
144
- if (
145
- "string" === typeof href &&
146
- options &&
147
- "string" === typeof options.as
148
- ) {
141
+ )
142
+ if ('string' === typeof href && options && 'string' === typeof options.as) {
149
143
  var as = options.as,
150
144
  crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),
151
- integrity =
152
- "string" === typeof options.integrity ? options.integrity : void 0,
145
+ integrity = 'string' === typeof options.integrity ? options.integrity : void 0,
153
146
  fetchPriority =
154
- "string" === typeof options.fetchPriority
155
- ? options.fetchPriority
156
- : void 0;
157
- "style" === as
147
+ 'string' === typeof options.fetchPriority ? options.fetchPriority : void 0
148
+ 'style' === as
158
149
  ? Internals.d.S(
159
150
  href,
160
- "string" === typeof options.precedence
161
- ? options.precedence
162
- : void 0,
151
+ 'string' === typeof options.precedence ? options.precedence : void 0,
163
152
  {
164
153
  crossOrigin: crossOrigin,
165
154
  integrity: integrity,
166
- fetchPriority: fetchPriority
155
+ fetchPriority: fetchPriority,
167
156
  }
168
157
  )
169
- : "script" === as &&
158
+ : 'script' === as &&
170
159
  Internals.d.X(href, {
171
160
  crossOrigin: crossOrigin,
172
161
  integrity: integrity,
173
162
  fetchPriority: fetchPriority,
174
- nonce: "string" === typeof options.nonce ? options.nonce : void 0
175
- });
163
+ nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
164
+ })
176
165
  }
177
- };
166
+ }
178
167
  exports.preinitModule = function (href, options) {
179
- var encountered = "";
180
- ("string" === typeof href && href) ||
168
+ var encountered = ''
169
+ ;('string' === typeof href && href) ||
181
170
  (encountered +=
182
- " The `href` argument encountered was " +
171
+ ' The `href` argument encountered was ' +
183
172
  getValueDescriptorExpectingObjectForWarning(href) +
184
- ".");
185
- void 0 !== options && "object" !== typeof options
173
+ '.')
174
+ void 0 !== options && 'object' !== typeof options
186
175
  ? (encountered +=
187
- " The `options` argument encountered was " +
176
+ ' The `options` argument encountered was ' +
188
177
  getValueDescriptorExpectingObjectForWarning(options) +
189
- ".")
178
+ '.')
190
179
  : options &&
191
- "as" in options &&
192
- "script" !== options.as &&
180
+ 'as' in options &&
181
+ 'script' !== options.as &&
193
182
  (encountered +=
194
- " The `as` option encountered was " +
183
+ ' The `as` option encountered was ' +
195
184
  getValueDescriptorExpectingEnumForWarning(options.as) +
196
- ".");
185
+ '.')
197
186
  if (encountered)
198
187
  console.error(
199
- "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
188
+ 'ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s',
200
189
  encountered
201
- );
190
+ )
202
191
  else
203
192
  switch (
204
193
  ((encountered =
205
- options && "string" === typeof options.as ? options.as : "script"),
194
+ options && 'string' === typeof options.as ? options.as : 'script'),
206
195
  encountered)
207
196
  ) {
208
- case "script":
209
- break;
197
+ case 'script':
198
+ break
210
199
  default:
211
- (encountered =
212
- getValueDescriptorExpectingEnumForWarning(encountered)),
200
+ ;((encountered = getValueDescriptorExpectingEnumForWarning(encountered)),
213
201
  console.error(
214
202
  '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)',
215
203
  encountered,
216
204
  href
217
- );
205
+ ))
218
206
  }
219
- if ("string" === typeof href)
220
- if ("object" === typeof options && null !== options) {
221
- if (null == options.as || "script" === options.as)
222
- (encountered = getCrossOriginStringAs(
223
- options.as,
224
- options.crossOrigin
225
- )),
207
+ if ('string' === typeof href)
208
+ if ('object' === typeof options && null !== options) {
209
+ if (null == options.as || 'script' === options.as)
210
+ ((encountered = getCrossOriginStringAs(options.as, options.crossOrigin)),
226
211
  Internals.d.M(href, {
227
212
  crossOrigin: encountered,
228
213
  integrity:
229
- "string" === typeof options.integrity
230
- ? options.integrity
231
- : void 0,
232
- nonce:
233
- "string" === typeof options.nonce ? options.nonce : void 0
234
- });
235
- } else null == options && Internals.d.M(href);
236
- };
214
+ 'string' === typeof options.integrity ? options.integrity : void 0,
215
+ nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
216
+ }))
217
+ } else null == options && Internals.d.M(href)
218
+ }
237
219
  exports.preload = function (href, options) {
238
- var encountered = "";
239
- ("string" === typeof href && href) ||
220
+ var encountered = ''
221
+ ;('string' === typeof href && href) ||
240
222
  (encountered +=
241
- " The `href` argument encountered was " +
223
+ ' The `href` argument encountered was ' +
242
224
  getValueDescriptorExpectingObjectForWarning(href) +
243
- ".");
244
- null == options || "object" !== typeof options
225
+ '.')
226
+ null == options || 'object' !== typeof options
245
227
  ? (encountered +=
246
- " The `options` argument encountered was " +
228
+ ' The `options` argument encountered was ' +
247
229
  getValueDescriptorExpectingObjectForWarning(options) +
248
- ".")
249
- : ("string" === typeof options.as && options.as) ||
230
+ '.')
231
+ : ('string' === typeof options.as && options.as) ||
250
232
  (encountered +=
251
- " The `as` option encountered was " +
233
+ ' The `as` option encountered was ' +
252
234
  getValueDescriptorExpectingObjectForWarning(options.as) +
253
- ".");
235
+ '.')
254
236
  encountered &&
255
237
  console.error(
256
238
  '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',
257
239
  encountered
258
- );
240
+ )
259
241
  if (
260
- "string" === typeof href &&
261
- "object" === typeof options &&
242
+ 'string' === typeof href &&
243
+ 'object' === typeof options &&
262
244
  null !== options &&
263
- "string" === typeof options.as
245
+ 'string' === typeof options.as
264
246
  ) {
265
- encountered = options.as;
266
- var crossOrigin = getCrossOriginStringAs(
267
- encountered,
268
- options.crossOrigin
269
- );
247
+ encountered = options.as
248
+ var crossOrigin = getCrossOriginStringAs(encountered, options.crossOrigin)
270
249
  Internals.d.L(href, encountered, {
271
250
  crossOrigin: crossOrigin,
272
- integrity:
273
- "string" === typeof options.integrity ? options.integrity : void 0,
274
- nonce: "string" === typeof options.nonce ? options.nonce : void 0,
275
- type: "string" === typeof options.type ? options.type : void 0,
251
+ integrity: 'string' === typeof options.integrity ? options.integrity : void 0,
252
+ nonce: 'string' === typeof options.nonce ? options.nonce : void 0,
253
+ type: 'string' === typeof options.type ? options.type : void 0,
276
254
  fetchPriority:
277
- "string" === typeof options.fetchPriority
278
- ? options.fetchPriority
279
- : void 0,
255
+ 'string' === typeof options.fetchPriority ? options.fetchPriority : void 0,
280
256
  referrerPolicy:
281
- "string" === typeof options.referrerPolicy
282
- ? options.referrerPolicy
283
- : void 0,
257
+ 'string' === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
284
258
  imageSrcSet:
285
- "string" === typeof options.imageSrcSet
286
- ? options.imageSrcSet
287
- : void 0,
259
+ 'string' === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
288
260
  imageSizes:
289
- "string" === typeof options.imageSizes
290
- ? options.imageSizes
291
- : void 0,
292
- media: "string" === typeof options.media ? options.media : void 0
293
- });
261
+ 'string' === typeof options.imageSizes ? options.imageSizes : void 0,
262
+ media: 'string' === typeof options.media ? options.media : void 0,
263
+ })
294
264
  }
295
- };
265
+ }
296
266
  exports.preloadModule = function (href, options) {
297
- var encountered = "";
298
- ("string" === typeof href && href) ||
267
+ var encountered = ''
268
+ ;('string' === typeof href && href) ||
299
269
  (encountered +=
300
- " The `href` argument encountered was " +
270
+ ' The `href` argument encountered was ' +
301
271
  getValueDescriptorExpectingObjectForWarning(href) +
302
- ".");
303
- void 0 !== options && "object" !== typeof options
272
+ '.')
273
+ void 0 !== options && 'object' !== typeof options
304
274
  ? (encountered +=
305
- " The `options` argument encountered was " +
275
+ ' The `options` argument encountered was ' +
306
276
  getValueDescriptorExpectingObjectForWarning(options) +
307
- ".")
277
+ '.')
308
278
  : options &&
309
- "as" in options &&
310
- "string" !== typeof options.as &&
279
+ 'as' in options &&
280
+ 'string' !== typeof options.as &&
311
281
  (encountered +=
312
- " The `as` option encountered was " +
282
+ ' The `as` option encountered was ' +
313
283
  getValueDescriptorExpectingObjectForWarning(options.as) +
314
- ".");
284
+ '.')
315
285
  encountered &&
316
286
  console.error(
317
287
  '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',
318
288
  encountered
319
- );
320
- "string" === typeof href &&
289
+ )
290
+ 'string' === typeof href &&
321
291
  (options
322
- ? ((encountered = getCrossOriginStringAs(
323
- options.as,
324
- options.crossOrigin
325
- )),
292
+ ? ((encountered = getCrossOriginStringAs(options.as, options.crossOrigin)),
326
293
  Internals.d.m(href, {
327
294
  as:
328
- "string" === typeof options.as && "script" !== options.as
295
+ 'string' === typeof options.as && 'script' !== options.as
329
296
  ? options.as
330
297
  : void 0,
331
298
  crossOrigin: encountered,
332
299
  integrity:
333
- "string" === typeof options.integrity
334
- ? options.integrity
335
- : void 0
300
+ 'string' === typeof options.integrity ? options.integrity : void 0,
336
301
  }))
337
- : Internals.d.m(href));
338
- };
339
- exports.version = "19.0.0";
340
- })();
302
+ : Internals.d.m(href))
303
+ }
304
+ exports.version = '19.0.0'
305
+ })()