@expo/cli 54.1.0-canary-20251023-4c86f95 → 54.1.0-canary-20260119-17896bf

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 (186) hide show
  1. package/add-module.js +4 -1
  2. package/build/bin/cli +3 -1
  3. package/build/bin/cli.map +1 -1
  4. package/build/src/export/embed/exportEmbedAsync.js +1 -2
  5. package/build/src/export/embed/exportEmbedAsync.js.map +1 -1
  6. package/build/src/install/applyPlugins.js +2 -1
  7. package/build/src/install/applyPlugins.js.map +1 -1
  8. package/build/src/install/fixPackages.js +1 -1
  9. package/build/src/install/fixPackages.js.map +1 -1
  10. package/build/src/install/installAsync.js +1 -1
  11. package/build/src/install/installAsync.js.map +1 -1
  12. package/build/src/install/utils/parsePackageSpecifier.js +24 -0
  13. package/build/src/install/utils/parsePackageSpecifier.js.map +1 -0
  14. package/build/src/run/ios/runIosAsync.js +8 -0
  15. package/build/src/run/ios/runIosAsync.js.map +1 -1
  16. package/build/src/start/interface/commandsTable.js.map +1 -1
  17. package/build/src/start/interface/interactiveActions.js +14 -9
  18. package/build/src/start/interface/interactiveActions.js.map +1 -1
  19. package/build/src/start/interface/startInterface.js +3 -0
  20. package/build/src/start/interface/startInterface.js.map +1 -1
  21. package/build/src/start/platforms/android/adb.js +1 -1
  22. package/build/src/start/platforms/android/adb.js.map +1 -1
  23. package/build/src/start/server/DevToolsPluginManager.js +8 -4
  24. package/build/src/start/server/DevToolsPluginManager.js.map +1 -1
  25. package/build/src/start/server/MCP.js +28 -5
  26. package/build/src/start/server/MCP.js.map +1 -1
  27. package/build/src/start/server/UrlCreator.js +1 -1
  28. package/build/src/start/server/UrlCreator.js.map +1 -1
  29. package/build/src/start/server/metro/DevToolsPluginWebsocketEndpoint.js +10 -2
  30. package/build/src/start/server/metro/DevToolsPluginWebsocketEndpoint.js.map +1 -1
  31. package/build/src/start/server/metro/MetroBundlerDevServer.js +29 -155
  32. package/build/src/start/server/metro/MetroBundlerDevServer.js.map +1 -1
  33. package/build/src/start/server/metro/MetroTerminalReporter.js +151 -33
  34. package/build/src/start/server/metro/MetroTerminalReporter.js.map +1 -1
  35. package/build/src/start/server/metro/createExpoAutolinkingResolver.js +1 -3
  36. package/build/src/start/server/metro/createExpoAutolinkingResolver.js.map +1 -1
  37. package/build/src/start/server/metro/createExpoFallbackResolver.js +1 -3
  38. package/build/src/start/server/metro/createExpoFallbackResolver.js.map +1 -1
  39. package/build/src/start/server/metro/createServerComponentsMiddleware.js +1 -2
  40. package/build/src/start/server/metro/createServerComponentsMiddleware.js.map +1 -1
  41. package/build/src/start/server/metro/createServerRouteMiddleware.js +2 -2
  42. package/build/src/start/server/metro/createServerRouteMiddleware.js.map +1 -1
  43. package/build/src/start/server/metro/debugging/createDebugMiddleware.js +23 -9
  44. package/build/src/start/server/metro/debugging/createDebugMiddleware.js.map +1 -1
  45. package/build/src/start/server/metro/dev-server/compression.js +45 -0
  46. package/build/src/start/server/metro/dev-server/compression.js.map +1 -0
  47. package/build/src/start/server/metro/dev-server/createMetroMiddleware.js +2 -2
  48. package/build/src/start/server/metro/dev-server/createMetroMiddleware.js.map +1 -1
  49. package/build/src/start/server/metro/externals.js +11 -0
  50. package/build/src/start/server/metro/externals.js.map +1 -1
  51. package/build/src/start/server/metro/fetchRouterManifest.js +1 -1
  52. package/build/src/start/server/metro/fetchRouterManifest.js.map +1 -1
  53. package/build/src/start/server/metro/instantiateMetro.js +98 -27
  54. package/build/src/start/server/metro/instantiateMetro.js.map +1 -1
  55. package/build/src/start/server/metro/log-box/LogBoxLog.js +7 -11
  56. package/build/src/start/server/metro/log-box/LogBoxLog.js.map +1 -1
  57. package/build/src/start/server/metro/log-box/LogBoxSymbolication.js.map +1 -1
  58. package/build/src/start/server/metro/metroErrorInterface.js +43 -14
  59. package/build/src/start/server/metro/metroErrorInterface.js.map +1 -1
  60. package/build/src/start/server/metro/withMetroMultiPlatform.js +74 -57
  61. package/build/src/start/server/metro/withMetroMultiPlatform.js.map +1 -1
  62. package/build/src/start/server/middleware/CorsMiddleware.js +43 -12
  63. package/build/src/start/server/middleware/CorsMiddleware.js.map +1 -1
  64. package/build/src/start/server/middleware/CreateFileMiddleware.js +63 -24
  65. package/build/src/start/server/middleware/CreateFileMiddleware.js.map +1 -1
  66. package/build/src/start/server/middleware/ExpoGoManifestHandlerMiddleware.js +3 -1
  67. package/build/src/start/server/middleware/ExpoGoManifestHandlerMiddleware.js.map +1 -1
  68. package/build/src/start/server/middleware/ManifestMiddleware.js +14 -9
  69. package/build/src/start/server/middleware/ManifestMiddleware.js.map +1 -1
  70. package/build/src/start/startAsync.js +12 -9
  71. package/build/src/start/startAsync.js.map +1 -1
  72. package/build/src/utils/env.js +36 -2
  73. package/build/src/utils/env.js.map +1 -1
  74. package/build/src/utils/interactive.js +1 -1
  75. package/build/src/utils/interactive.js.map +1 -1
  76. package/build/src/utils/jsonl.js +243 -0
  77. package/build/src/utils/jsonl.js.map +1 -0
  78. package/build/src/utils/net.js +43 -0
  79. package/build/src/utils/net.js.map +1 -0
  80. package/build/src/utils/progress.js +5 -0
  81. package/build/src/utils/progress.js.map +1 -1
  82. package/build/src/utils/telemetry/clients/FetchClient.js +1 -1
  83. package/build/src/utils/telemetry/utils/context.js +1 -1
  84. package/build/src/utils/url.js +4 -8
  85. package/build/src/utils/url.js.map +1 -1
  86. package/package.json +25 -28
  87. package/static/canary/react-is/cjs/react-is.development.js +133 -0
  88. package/static/canary/react-is/cjs/react-is.production.js +130 -0
  89. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-dev.js +16820 -0
  90. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-prod.js +10552 -0
  91. package/static/canary/react-native/Libraries/Renderer/implementations/ReactFabric-profiling.js +11255 -0
  92. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +17064 -0
  93. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +10742 -0
  94. package/static/canary/react-native/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +11450 -0
  95. package/static/canary/scheduler/cjs/scheduler-unstable_mock.development.js +414 -0
  96. package/static/canary/scheduler/cjs/scheduler-unstable_mock.production.js +406 -0
  97. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.development.js +150 -0
  98. package/static/canary/scheduler/cjs/scheduler-unstable_post_task.production.js +140 -0
  99. package/static/canary/scheduler/cjs/scheduler.development.js +364 -0
  100. package/static/canary/scheduler/cjs/scheduler.native.development.js +350 -0
  101. package/static/canary/scheduler/cjs/scheduler.native.production.js +330 -0
  102. package/static/canary/scheduler/cjs/scheduler.production.js +340 -0
  103. package/static/canary-full/node_modules/react/LICENSE +21 -0
  104. package/static/canary-full/node_modules/react/README.md +37 -0
  105. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.development.js +24 -0
  106. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
  107. package/static/canary-full/node_modules/react/cjs/react-compiler-runtime.profiling.js +16 -0
  108. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.development.js +349 -0
  109. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
  110. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.profiling.js +14 -0
  111. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js +385 -0
  112. package/static/canary-full/node_modules/react/cjs/react-jsx-dev-runtime.react-server.production.js +40 -0
  113. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.development.js +358 -0
  114. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
  115. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.profiling.js +34 -0
  116. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.development.js +385 -0
  117. package/static/canary-full/node_modules/react/cjs/react-jsx-runtime.react-server.production.js +40 -0
  118. package/static/canary-full/node_modules/react/cjs/react.development.js +1250 -0
  119. package/static/canary-full/node_modules/react/cjs/react.production.js +544 -0
  120. package/static/canary-full/node_modules/react/cjs/react.react-server.development.js +815 -0
  121. package/static/canary-full/node_modules/react/cjs/react.react-server.production.js +429 -0
  122. package/static/canary-full/node_modules/react/compiler-runtime.js +14 -0
  123. package/static/canary-full/node_modules/react/index.js +7 -0
  124. package/static/canary-full/node_modules/react/jsx-dev-runtime.js +7 -0
  125. package/static/canary-full/node_modules/react/jsx-dev-runtime.react-server.js +7 -0
  126. package/static/canary-full/node_modules/react/jsx-runtime.js +7 -0
  127. package/static/canary-full/node_modules/react/jsx-runtime.react-server.js +7 -0
  128. package/static/canary-full/node_modules/react/package.json +51 -0
  129. package/static/canary-full/node_modules/react/react.react-server.js +7 -0
  130. package/static/canary-full/node_modules/react-dom/LICENSE +21 -0
  131. package/static/canary-full/node_modules/react-dom/README.md +60 -0
  132. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.development.js +25089 -0
  133. package/static/canary-full/node_modules/react-dom/cjs/react-dom-client.production.js +15426 -0
  134. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.development.js +25476 -0
  135. package/static/canary-full/node_modules/react-dom/cjs/react-dom-profiling.profiling.js +16296 -0
  136. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.development.js +9035 -0
  137. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +5892 -0
  138. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.development.js +9035 -0
  139. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +5972 -0
  140. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.development.js +9424 -0
  141. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.browser.production.js +6384 -0
  142. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.development.js +8739 -0
  143. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.bun.production.js +5967 -0
  144. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.development.js +9443 -0
  145. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.edge.production.js +6477 -0
  146. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.development.js +9317 -0
  147. package/static/canary-full/node_modules/react-dom/cjs/react-dom-server.node.production.js +6372 -0
  148. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.development.js +24 -0
  149. package/static/canary-full/node_modules/react-dom/cjs/react-dom-test-utils.production.js +21 -0
  150. package/static/canary-full/node_modules/react-dom/cjs/react-dom.development.js +424 -0
  151. package/static/canary-full/node_modules/react-dom/cjs/react-dom.production.js +210 -0
  152. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.development.js +340 -0
  153. package/static/canary-full/node_modules/react-dom/cjs/react-dom.react-server.production.js +152 -0
  154. package/static/canary-full/node_modules/react-dom/client.js +38 -0
  155. package/static/canary-full/node_modules/react-dom/client.react-server.js +5 -0
  156. package/static/canary-full/node_modules/react-dom/index.js +38 -0
  157. package/static/canary-full/node_modules/react-dom/package.json +117 -0
  158. package/static/canary-full/node_modules/react-dom/profiling.js +38 -0
  159. package/static/canary-full/node_modules/react-dom/profiling.react-server.js +5 -0
  160. package/static/canary-full/node_modules/react-dom/react-dom.react-server.js +7 -0
  161. package/static/canary-full/node_modules/react-dom/server.browser.js +18 -0
  162. package/static/canary-full/node_modules/react-dom/server.bun.js +19 -0
  163. package/static/canary-full/node_modules/react-dom/server.edge.js +19 -0
  164. package/static/canary-full/node_modules/react-dom/server.js +3 -0
  165. package/static/canary-full/node_modules/react-dom/server.node.js +18 -0
  166. package/static/canary-full/node_modules/react-dom/server.react-server.js +5 -0
  167. package/static/canary-full/node_modules/react-dom/static.browser.js +12 -0
  168. package/static/canary-full/node_modules/react-dom/static.edge.js +12 -0
  169. package/static/canary-full/node_modules/react-dom/static.js +3 -0
  170. package/static/canary-full/node_modules/react-dom/static.node.js +12 -0
  171. package/static/canary-full/node_modules/react-dom/static.react-server.js +5 -0
  172. package/static/canary-full/node_modules/react-dom/test-utils.js +7 -0
  173. package/build/src/start/interface/cliExtensionMenuItemHandler.js +0 -173
  174. package/build/src/start/interface/cliExtensionMenuItemHandler.js.map +0 -1
  175. package/build/src/start/interface/createDevToolsMenuItems.js +0 -159
  176. package/build/src/start/interface/createDevToolsMenuItems.js.map +0 -1
  177. package/build/src/start/server/DevToolsPlugin.js +0 -60
  178. package/build/src/start/server/DevToolsPlugin.js.map +0 -1
  179. package/build/src/start/server/DevToolsPlugin.schema.js +0 -79
  180. package/build/src/start/server/DevToolsPlugin.schema.js.map +0 -1
  181. package/build/src/start/server/DevToolsPluginCliExtensionExecutor.js +0 -119
  182. package/build/src/start/server/DevToolsPluginCliExtensionExecutor.js.map +0 -1
  183. package/build/src/start/server/DevToolsPluginCliExtensionResults.js +0 -61
  184. package/build/src/start/server/DevToolsPluginCliExtensionResults.js.map +0 -1
  185. package/build/src/start/server/middleware/DataLoaderModuleMiddleware.js +0 -75
  186. package/build/src/start/server/middleware/DataLoaderModuleMiddleware.js.map +0 -1
@@ -0,0 +1,544 @@
1
+ /**
2
+ * @license React
3
+ * react.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_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
13
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
14
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
15
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
16
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
17
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
18
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
19
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
20
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
21
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
22
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
23
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
24
+ function getIteratorFn(maybeIterable) {
25
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
26
+ maybeIterable =
27
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
28
+ maybeIterable["@@iterator"];
29
+ return "function" === typeof maybeIterable ? maybeIterable : null;
30
+ }
31
+ var ReactNoopUpdateQueue = {
32
+ isMounted: function () {
33
+ return !1;
34
+ },
35
+ enqueueForceUpdate: function () {},
36
+ enqueueReplaceState: function () {},
37
+ enqueueSetState: function () {}
38
+ },
39
+ assign = Object.assign,
40
+ emptyObject = {};
41
+ function Component(props, context, updater) {
42
+ this.props = props;
43
+ this.context = context;
44
+ this.refs = emptyObject;
45
+ this.updater = updater || ReactNoopUpdateQueue;
46
+ }
47
+ Component.prototype.isReactComponent = {};
48
+ Component.prototype.setState = function (partialState, callback) {
49
+ if (
50
+ "object" !== typeof partialState &&
51
+ "function" !== typeof partialState &&
52
+ null != partialState
53
+ )
54
+ throw Error(
55
+ "takes an object of state variables to update or a function which returns an object of state variables."
56
+ );
57
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
58
+ };
59
+ Component.prototype.forceUpdate = function (callback) {
60
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
61
+ };
62
+ function ComponentDummy() {}
63
+ ComponentDummy.prototype = Component.prototype;
64
+ function PureComponent(props, context, updater) {
65
+ this.props = props;
66
+ this.context = context;
67
+ this.refs = emptyObject;
68
+ this.updater = updater || ReactNoopUpdateQueue;
69
+ }
70
+ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
71
+ pureComponentPrototype.constructor = PureComponent;
72
+ assign(pureComponentPrototype, Component.prototype);
73
+ pureComponentPrototype.isPureReactComponent = !0;
74
+ var isArrayImpl = Array.isArray,
75
+ ReactSharedInternals = { H: null, A: null, T: null, S: null },
76
+ hasOwnProperty = Object.prototype.hasOwnProperty;
77
+ function ReactElement(type, key, self, source, owner, props) {
78
+ self = props.ref;
79
+ return {
80
+ $$typeof: REACT_ELEMENT_TYPE,
81
+ type: type,
82
+ key: key,
83
+ ref: void 0 !== self ? self : null,
84
+ props: props
85
+ };
86
+ }
87
+ function cloneAndReplaceKey(oldElement, newKey) {
88
+ return ReactElement(
89
+ oldElement.type,
90
+ newKey,
91
+ void 0,
92
+ void 0,
93
+ void 0,
94
+ oldElement.props
95
+ );
96
+ }
97
+ function isValidElement(object) {
98
+ return (
99
+ "object" === typeof object &&
100
+ null !== object &&
101
+ object.$$typeof === REACT_ELEMENT_TYPE
102
+ );
103
+ }
104
+ function escape(key) {
105
+ var escaperLookup = { "=": "=0", ":": "=2" };
106
+ return (
107
+ "$" +
108
+ key.replace(/[=:]/g, function (match) {
109
+ return escaperLookup[match];
110
+ })
111
+ );
112
+ }
113
+ var userProvidedKeyEscapeRegex = /\/+/g;
114
+ function getElementKey(element, index) {
115
+ return "object" === typeof element && null !== element && null != element.key
116
+ ? escape("" + element.key)
117
+ : index.toString(36);
118
+ }
119
+ function noop$1() {}
120
+ function resolveThenable(thenable) {
121
+ switch (thenable.status) {
122
+ case "fulfilled":
123
+ return thenable.value;
124
+ case "rejected":
125
+ throw thenable.reason;
126
+ default:
127
+ switch (
128
+ ("string" === typeof thenable.status
129
+ ? thenable.then(noop$1, noop$1)
130
+ : ((thenable.status = "pending"),
131
+ thenable.then(
132
+ function (fulfilledValue) {
133
+ "pending" === thenable.status &&
134
+ ((thenable.status = "fulfilled"),
135
+ (thenable.value = fulfilledValue));
136
+ },
137
+ function (error) {
138
+ "pending" === thenable.status &&
139
+ ((thenable.status = "rejected"), (thenable.reason = error));
140
+ }
141
+ )),
142
+ thenable.status)
143
+ ) {
144
+ case "fulfilled":
145
+ return thenable.value;
146
+ case "rejected":
147
+ throw thenable.reason;
148
+ }
149
+ }
150
+ throw thenable;
151
+ }
152
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
153
+ var type = typeof children;
154
+ if ("undefined" === type || "boolean" === type) children = null;
155
+ var invokeCallback = !1;
156
+ if (null === children) invokeCallback = !0;
157
+ else
158
+ switch (type) {
159
+ case "bigint":
160
+ case "string":
161
+ case "number":
162
+ invokeCallback = !0;
163
+ break;
164
+ case "object":
165
+ switch (children.$$typeof) {
166
+ case REACT_ELEMENT_TYPE:
167
+ case REACT_PORTAL_TYPE:
168
+ invokeCallback = !0;
169
+ break;
170
+ case REACT_LAZY_TYPE:
171
+ return (
172
+ (invokeCallback = children._init),
173
+ mapIntoArray(
174
+ invokeCallback(children._payload),
175
+ array,
176
+ escapedPrefix,
177
+ nameSoFar,
178
+ callback
179
+ )
180
+ );
181
+ }
182
+ }
183
+ if (invokeCallback)
184
+ return (
185
+ (callback = callback(children)),
186
+ (invokeCallback =
187
+ "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
188
+ isArrayImpl(callback)
189
+ ? ((escapedPrefix = ""),
190
+ null != invokeCallback &&
191
+ (escapedPrefix =
192
+ invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
193
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
194
+ return c;
195
+ }))
196
+ : null != callback &&
197
+ (isValidElement(callback) &&
198
+ (callback = cloneAndReplaceKey(
199
+ callback,
200
+ escapedPrefix +
201
+ (null == callback.key ||
202
+ (children && children.key === callback.key)
203
+ ? ""
204
+ : ("" + callback.key).replace(
205
+ userProvidedKeyEscapeRegex,
206
+ "$&/"
207
+ ) + "/") +
208
+ invokeCallback
209
+ )),
210
+ array.push(callback)),
211
+ 1
212
+ );
213
+ invokeCallback = 0;
214
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
215
+ if (isArrayImpl(children))
216
+ for (var i = 0; i < children.length; i++)
217
+ (nameSoFar = children[i]),
218
+ (type = nextNamePrefix + getElementKey(nameSoFar, i)),
219
+ (invokeCallback += mapIntoArray(
220
+ nameSoFar,
221
+ array,
222
+ escapedPrefix,
223
+ type,
224
+ callback
225
+ ));
226
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
227
+ for (
228
+ children = i.call(children), i = 0;
229
+ !(nameSoFar = children.next()).done;
230
+
231
+ )
232
+ (nameSoFar = nameSoFar.value),
233
+ (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
234
+ (invokeCallback += mapIntoArray(
235
+ nameSoFar,
236
+ array,
237
+ escapedPrefix,
238
+ type,
239
+ callback
240
+ ));
241
+ else if ("object" === type) {
242
+ if ("function" === typeof children.then)
243
+ return mapIntoArray(
244
+ resolveThenable(children),
245
+ array,
246
+ escapedPrefix,
247
+ nameSoFar,
248
+ callback
249
+ );
250
+ array = String(children);
251
+ throw Error(
252
+ "Objects are not valid as a React child (found: " +
253
+ ("[object Object]" === array
254
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
255
+ : array) +
256
+ "). If you meant to render a collection of children, use an array instead."
257
+ );
258
+ }
259
+ return invokeCallback;
260
+ }
261
+ function mapChildren(children, func, context) {
262
+ if (null == children) return children;
263
+ var result = [],
264
+ count = 0;
265
+ mapIntoArray(children, result, "", "", function (child) {
266
+ return func.call(context, child, count++);
267
+ });
268
+ return result;
269
+ }
270
+ function lazyInitializer(payload) {
271
+ if (-1 === payload._status) {
272
+ var ctor = payload._result;
273
+ ctor = ctor();
274
+ ctor.then(
275
+ function (moduleObject) {
276
+ if (0 === payload._status || -1 === payload._status)
277
+ (payload._status = 1), (payload._result = moduleObject);
278
+ },
279
+ function (error) {
280
+ if (0 === payload._status || -1 === payload._status)
281
+ (payload._status = 2), (payload._result = error);
282
+ }
283
+ );
284
+ -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
285
+ }
286
+ if (1 === payload._status) return payload._result.default;
287
+ throw payload._result;
288
+ }
289
+ var reportGlobalError =
290
+ "function" === typeof reportError
291
+ ? reportError
292
+ : function (error) {
293
+ if (
294
+ "object" === typeof window &&
295
+ "function" === typeof window.ErrorEvent
296
+ ) {
297
+ var event = new window.ErrorEvent("error", {
298
+ bubbles: !0,
299
+ cancelable: !0,
300
+ message:
301
+ "object" === typeof error &&
302
+ null !== error &&
303
+ "string" === typeof error.message
304
+ ? String(error.message)
305
+ : String(error),
306
+ error: error
307
+ });
308
+ if (!window.dispatchEvent(event)) return;
309
+ } else if (
310
+ "object" === typeof process &&
311
+ "function" === typeof process.emit
312
+ ) {
313
+ process.emit("uncaughtException", error);
314
+ return;
315
+ }
316
+ console.error(error);
317
+ };
318
+ function noop() {}
319
+ exports.Children = {
320
+ map: mapChildren,
321
+ forEach: function (children, forEachFunc, forEachContext) {
322
+ mapChildren(
323
+ children,
324
+ function () {
325
+ forEachFunc.apply(this, arguments);
326
+ },
327
+ forEachContext
328
+ );
329
+ },
330
+ count: function (children) {
331
+ var n = 0;
332
+ mapChildren(children, function () {
333
+ n++;
334
+ });
335
+ return n;
336
+ },
337
+ toArray: function (children) {
338
+ return (
339
+ mapChildren(children, function (child) {
340
+ return child;
341
+ }) || []
342
+ );
343
+ },
344
+ only: function (children) {
345
+ if (!isValidElement(children))
346
+ throw Error(
347
+ "React.Children.only expected to receive a single React element child."
348
+ );
349
+ return children;
350
+ }
351
+ };
352
+ exports.Component = Component;
353
+ exports.Fragment = REACT_FRAGMENT_TYPE;
354
+ exports.Profiler = REACT_PROFILER_TYPE;
355
+ exports.PureComponent = PureComponent;
356
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
357
+ exports.Suspense = REACT_SUSPENSE_TYPE;
358
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
359
+ ReactSharedInternals;
360
+ exports.__COMPILER_RUNTIME = {
361
+ __proto__: null,
362
+ c: function (size) {
363
+ return ReactSharedInternals.H.useMemoCache(size);
364
+ }
365
+ };
366
+ exports.cache = function (fn) {
367
+ return function () {
368
+ return fn.apply(null, arguments);
369
+ };
370
+ };
371
+ exports.cloneElement = function (element, config, children) {
372
+ if (null === element || void 0 === element)
373
+ throw Error(
374
+ "The argument must be a React element, but you passed " + element + "."
375
+ );
376
+ var props = assign({}, element.props),
377
+ key = element.key,
378
+ owner = void 0;
379
+ if (null != config)
380
+ for (propName in (void 0 !== config.ref && (owner = void 0),
381
+ void 0 !== config.key && (key = "" + config.key),
382
+ config))
383
+ !hasOwnProperty.call(config, propName) ||
384
+ "key" === propName ||
385
+ "__self" === propName ||
386
+ "__source" === propName ||
387
+ ("ref" === propName && void 0 === config.ref) ||
388
+ (props[propName] = config[propName]);
389
+ var propName = arguments.length - 2;
390
+ if (1 === propName) props.children = children;
391
+ else if (1 < propName) {
392
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
393
+ childArray[i] = arguments[i + 2];
394
+ props.children = childArray;
395
+ }
396
+ return ReactElement(element.type, key, void 0, void 0, owner, props);
397
+ };
398
+ exports.createContext = function (defaultValue) {
399
+ defaultValue = {
400
+ $$typeof: REACT_CONTEXT_TYPE,
401
+ _currentValue: defaultValue,
402
+ _currentValue2: defaultValue,
403
+ _threadCount: 0,
404
+ Provider: null,
405
+ Consumer: null
406
+ };
407
+ defaultValue.Provider = defaultValue;
408
+ defaultValue.Consumer = {
409
+ $$typeof: REACT_CONSUMER_TYPE,
410
+ _context: defaultValue
411
+ };
412
+ return defaultValue;
413
+ };
414
+ exports.createElement = function (type, config, children) {
415
+ var propName,
416
+ props = {},
417
+ key = null;
418
+ if (null != config)
419
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
420
+ hasOwnProperty.call(config, propName) &&
421
+ "key" !== propName &&
422
+ "__self" !== propName &&
423
+ "__source" !== propName &&
424
+ (props[propName] = config[propName]);
425
+ var childrenLength = arguments.length - 2;
426
+ if (1 === childrenLength) props.children = children;
427
+ else if (1 < childrenLength) {
428
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
429
+ childArray[i] = arguments[i + 2];
430
+ props.children = childArray;
431
+ }
432
+ if (type && type.defaultProps)
433
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
434
+ void 0 === props[propName] &&
435
+ (props[propName] = childrenLength[propName]);
436
+ return ReactElement(type, key, void 0, void 0, null, props);
437
+ };
438
+ exports.createRef = function () {
439
+ return { current: null };
440
+ };
441
+ exports.forwardRef = function (render) {
442
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
443
+ };
444
+ exports.isValidElement = isValidElement;
445
+ exports.lazy = function (ctor) {
446
+ return {
447
+ $$typeof: REACT_LAZY_TYPE,
448
+ _payload: { _status: -1, _result: ctor },
449
+ _init: lazyInitializer
450
+ };
451
+ };
452
+ exports.memo = function (type, compare) {
453
+ return {
454
+ $$typeof: REACT_MEMO_TYPE,
455
+ type: type,
456
+ compare: void 0 === compare ? null : compare
457
+ };
458
+ };
459
+ exports.startTransition = function (scope) {
460
+ var prevTransition = ReactSharedInternals.T,
461
+ currentTransition = {};
462
+ ReactSharedInternals.T = currentTransition;
463
+ try {
464
+ var returnValue = scope(),
465
+ onStartTransitionFinish = ReactSharedInternals.S;
466
+ null !== onStartTransitionFinish &&
467
+ onStartTransitionFinish(currentTransition, returnValue);
468
+ "object" === typeof returnValue &&
469
+ null !== returnValue &&
470
+ "function" === typeof returnValue.then &&
471
+ returnValue.then(noop, reportGlobalError);
472
+ } catch (error) {
473
+ reportGlobalError(error);
474
+ } finally {
475
+ null !== prevTransition &&
476
+ null !== currentTransition.types &&
477
+ (prevTransition.types = currentTransition.types),
478
+ (ReactSharedInternals.T = prevTransition);
479
+ }
480
+ };
481
+ exports.unstable_useCacheRefresh = function () {
482
+ return ReactSharedInternals.H.useCacheRefresh();
483
+ };
484
+ exports.use = function (usable) {
485
+ return ReactSharedInternals.H.use(usable);
486
+ };
487
+ exports.useActionState = function (action, initialState, permalink) {
488
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
489
+ };
490
+ exports.useCallback = function (callback, deps) {
491
+ return ReactSharedInternals.H.useCallback(callback, deps);
492
+ };
493
+ exports.useContext = function (Context) {
494
+ return ReactSharedInternals.H.useContext(Context);
495
+ };
496
+ exports.useDebugValue = function () {};
497
+ exports.useDeferredValue = function (value, initialValue) {
498
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
499
+ };
500
+ exports.useEffect = function (create, deps) {
501
+ return ReactSharedInternals.H.useEffect(create, deps);
502
+ };
503
+ exports.useId = function () {
504
+ return ReactSharedInternals.H.useId();
505
+ };
506
+ exports.useImperativeHandle = function (ref, create, deps) {
507
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
508
+ };
509
+ exports.useInsertionEffect = function (create, deps) {
510
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
511
+ };
512
+ exports.useLayoutEffect = function (create, deps) {
513
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
514
+ };
515
+ exports.useMemo = function (create, deps) {
516
+ return ReactSharedInternals.H.useMemo(create, deps);
517
+ };
518
+ exports.useOptimistic = function (passthrough, reducer) {
519
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
520
+ };
521
+ exports.useReducer = function (reducer, initialArg, init) {
522
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
523
+ };
524
+ exports.useRef = function (initialValue) {
525
+ return ReactSharedInternals.H.useRef(initialValue);
526
+ };
527
+ exports.useState = function (initialState) {
528
+ return ReactSharedInternals.H.useState(initialState);
529
+ };
530
+ exports.useSyncExternalStore = function (
531
+ subscribe,
532
+ getSnapshot,
533
+ getServerSnapshot
534
+ ) {
535
+ return ReactSharedInternals.H.useSyncExternalStore(
536
+ subscribe,
537
+ getSnapshot,
538
+ getServerSnapshot
539
+ );
540
+ };
541
+ exports.useTransition = function () {
542
+ return ReactSharedInternals.H.useTransition();
543
+ };
544
+ exports.version = "19.2.0-canary-5252281c-20250408";