gemi 0.13.0 → 0.13.2
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.
- package/dist/app/index.js +77 -77
- package/dist/app/index.js.map +4 -4
- package/dist/bin/gemi.js +142 -512
- package/dist/bin/gemi.js.map +4 -4
- package/dist/broadcasting/index.js +1 -1
- package/dist/{chunk-wvyxxxz7.js → chunk-00q77h4a.js} +2 -2
- package/dist/{chunk-wvyxxxz7.js.map → chunk-00q77h4a.js.map} +1 -1
- package/dist/{chunk-c3s0zqhy.js → chunk-0mfpz0sr.js} +2 -2
- package/dist/{chunk-c3s0zqhy.js.map → chunk-0mfpz0sr.js.map} +1 -1
- package/dist/chunk-0vq2p4bq.js +4 -0
- package/dist/{chunk-wwkrdyb4.js.map → chunk-0vq2p4bq.js.map} +6 -6
- package/dist/{chunk-azy2vwhc.js → chunk-0wa1m3yq.js} +3 -3
- package/dist/{chunk-azy2vwhc.js.map → chunk-0wa1m3yq.js.map} +1 -1
- package/dist/{chunk-1rrb8c0v.js → chunk-0wr6m6f4.js} +3 -3
- package/dist/{chunk-1rrb8c0v.js.map → chunk-0wr6m6f4.js.map} +1 -1
- package/dist/{chunk-6yvggc3x.js → chunk-3nzz6kqw.js} +2 -2
- package/dist/{chunk-6yvggc3x.js.map → chunk-3nzz6kqw.js.map} +1 -1
- package/dist/chunk-3q85w7aa.js +4 -0
- package/dist/{chunk-catb1gz8.js.map → chunk-3q85w7aa.js.map} +1 -1
- package/dist/{chunk-dmnc50py.js → chunk-4e18rqet.js} +2 -2
- package/dist/{chunk-dmnc50py.js.map → chunk-4e18rqet.js.map} +1 -1
- package/dist/{chunk-8ctxajfc.js → chunk-5q5qjyxf.js} +2 -2
- package/dist/{chunk-8ctxajfc.js.map → chunk-5q5qjyxf.js.map} +1 -1
- package/dist/{chunk-334phrqw.js → chunk-67ytmbmn.js} +3 -3
- package/dist/{chunk-334phrqw.js.map → chunk-67ytmbmn.js.map} +1 -1
- package/dist/{chunk-6pv9ngqe.js → chunk-68kvbrqd.js} +2 -2
- package/dist/{chunk-6pv9ngqe.js.map → chunk-68kvbrqd.js.map} +1 -1
- package/dist/{chunk-ebcx322z.js → chunk-6fy0y9na.js} +2 -2
- package/dist/{chunk-ebcx322z.js.map → chunk-6fy0y9na.js.map} +1 -1
- package/dist/chunk-6kfbsmxx.js +4 -0
- package/dist/{chunk-6cjfy81h.js.map → chunk-6kfbsmxx.js.map} +3 -3
- package/dist/chunk-6pwjkfk5.js +4 -0
- package/dist/{chunk-rahb5fwx.js.map → chunk-6pwjkfk5.js.map} +1 -1
- package/dist/{chunk-yrxxkmag.js → chunk-95b1a8cw.js} +2 -2
- package/dist/{chunk-yrxxkmag.js.map → chunk-95b1a8cw.js.map} +1 -1
- package/dist/chunk-9aswnsye.js +4 -0
- package/dist/chunk-9aswnsye.js.map +10 -0
- package/dist/chunk-acfdk70y.js +27 -0
- package/dist/{chunk-na4qm9jr.js.map → chunk-acfdk70y.js.map} +3 -3
- package/dist/{chunk-nnxgdzqx.js → chunk-cgh2sw3g.js} +2 -2
- package/dist/{chunk-nnxgdzqx.js.map → chunk-cgh2sw3g.js.map} +1 -1
- package/dist/{chunk-2wsmhvhf.js → chunk-fe1gn043.js} +2 -2
- package/dist/{chunk-2wsmhvhf.js.map → chunk-fe1gn043.js.map} +1 -1
- package/dist/{chunk-1gfsxd5v.js → chunk-jn8jhrkd.js} +2 -2
- package/dist/{chunk-1gfsxd5v.js.map → chunk-jn8jhrkd.js.map} +1 -1
- package/dist/chunk-jwebzy40.js +5 -0
- package/dist/{chunk-g8b20w5m.js.map → chunk-jwebzy40.js.map} +3 -3
- package/dist/chunk-jxftkhsd.js +4 -0
- package/dist/chunk-jxftkhsd.js.map +10 -0
- package/dist/{chunk-xm62byj2.js → chunk-m2p40y0k.js} +2 -2
- package/dist/{chunk-xm62byj2.js.map → chunk-m2p40y0k.js.map} +1 -1
- package/dist/{chunk-5yz4jjwj.js → chunk-mtbjk5px.js} +2 -2
- package/dist/{chunk-5yz4jjwj.js.map → chunk-mtbjk5px.js.map} +1 -1
- package/dist/{chunk-wnq14j8v.js → chunk-nxrhps23.js} +2 -2
- package/dist/{chunk-wnq14j8v.js.map → chunk-nxrhps23.js.map} +1 -1
- package/dist/chunk-pvxzx61f.js +5 -0
- package/dist/chunk-pvxzx61f.js.map +53 -0
- package/dist/{chunk-4wgjccxt.js → chunk-qcr71k85.js} +2 -2
- package/dist/{chunk-4wgjccxt.js.map → chunk-qcr71k85.js.map} +1 -1
- package/dist/{chunk-jfsxm8sz.js → chunk-rre72epn.js} +3 -3
- package/dist/{chunk-jfsxm8sz.js.map → chunk-rre72epn.js.map} +1 -1
- package/dist/chunk-svh4hjg3.js +4 -0
- package/dist/{chunk-ja250f5w.js.map → chunk-svh4hjg3.js.map} +3 -3
- package/dist/{chunk-ws63sddd.js → chunk-tw3t6x2n.js} +3 -3
- package/dist/{chunk-ws63sddd.js.map → chunk-tw3t6x2n.js.map} +1 -1
- package/dist/{chunk-kaa6sxg2.js → chunk-tyv9h73f.js} +3 -3
- package/dist/{chunk-kaa6sxg2.js.map → chunk-tyv9h73f.js.map} +1 -1
- package/dist/{chunk-akw359wq.js → chunk-wbg45cdc.js} +3 -3
- package/dist/{chunk-akw359wq.js.map → chunk-wbg45cdc.js.map} +1 -1
- package/dist/chunk-wewz52mc.js +3 -0
- package/dist/{chunk-skkyvmp4.js.map → chunk-wewz52mc.js.map} +4 -7
- package/dist/{chunk-47xbr7nj.js → chunk-yvrp97kk.js} +3 -3
- package/dist/{chunk-47xbr7nj.js.map → chunk-yvrp97kk.js.map} +1 -1
- package/dist/client/ProgressManager.d.ts +1 -1
- package/dist/client/index.js +18485 -18166
- package/dist/client/index.js.map +1 -1
- package/dist/email/index.js +2 -2
- package/dist/email/index.js.map +1 -1
- package/dist/facades/index.js +4 -4
- package/dist/facades/index.js.map +5 -4
- package/dist/http/HttpRequest.d.ts +1 -1
- package/dist/http/index.js +2 -2
- package/dist/http/index.js.map +4 -5
- package/dist/i18n/I18nRouter.d.ts +10 -0
- package/dist/i18n/I18nRouter.d.ts.map +1 -0
- package/dist/i18n/I18nServiceContainer.d.ts +1 -1
- package/dist/i18n/I18nServiceContainer.d.ts.map +1 -1
- package/dist/i18n/I18nServiceProvider.d.ts +2 -1
- package/dist/i18n/I18nServiceProvider.d.ts.map +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/kernel/index.js +2 -2
- package/dist/kernel/index.js.map +2 -2
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/dist/services/index.js +73 -62
- package/dist/services/index.js.map +19 -7
- package/package.json +2 -2
- package/dist/chunk-3ram01pg.js +0 -4
- package/dist/chunk-3ram01pg.js.map +0 -10
- package/dist/chunk-6cjfy81h.js +0 -4
- package/dist/chunk-catb1gz8.js +0 -4
- package/dist/chunk-ecfnwya3.js +0 -4
- package/dist/chunk-ecfnwya3.js.map +0 -10
- package/dist/chunk-g8b20w5m.js +0 -5
- package/dist/chunk-ja250f5w.js +0 -4
- package/dist/chunk-na4qm9jr.js +0 -27
- package/dist/chunk-qpm7mvjd.js +0 -5
- package/dist/chunk-qpm7mvjd.js.map +0 -53
- package/dist/chunk-rahb5fwx.js +0 -4
- package/dist/chunk-skkyvmp4.js +0 -4
- package/dist/chunk-wwkrdyb4.js +0 -4
- package/dist/http/I18nServiceContainer.d.ts +0 -27
- package/dist/http/I18nServiceContainer.d.ts.map +0 -1
- package/dist/http/I18nServiceProvider.d.ts +0 -12
- package/dist/http/I18nServiceProvider.d.ts.map +0 -1
package/dist/bin/gemi.js
CHANGED
|
@@ -75,14 +75,12 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
75
75
|
if (type == null)
|
|
76
76
|
return null;
|
|
77
77
|
if (typeof type === "function")
|
|
78
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
78
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
79
79
|
if (typeof type === "string")
|
|
80
80
|
return type;
|
|
81
81
|
switch (type) {
|
|
82
82
|
case REACT_FRAGMENT_TYPE:
|
|
83
83
|
return "Fragment";
|
|
84
|
-
case REACT_PORTAL_TYPE:
|
|
85
|
-
return "Portal";
|
|
86
84
|
case REACT_PROFILER_TYPE:
|
|
87
85
|
return "Profiler";
|
|
88
86
|
case REACT_STRICT_MODE_TYPE:
|
|
@@ -91,9 +89,13 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
91
89
|
return "Suspense";
|
|
92
90
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
93
91
|
return "SuspenseList";
|
|
92
|
+
case REACT_ACTIVITY_TYPE:
|
|
93
|
+
return "Activity";
|
|
94
94
|
}
|
|
95
95
|
if (typeof type === "object")
|
|
96
96
|
switch (typeof type.tag === "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
|
|
97
|
+
case REACT_PORTAL_TYPE:
|
|
98
|
+
return "Portal";
|
|
97
99
|
case REACT_CONTEXT_TYPE:
|
|
98
100
|
return (type.displayName || "Context") + ".Provider";
|
|
99
101
|
case REACT_CONSUMER_TYPE:
|
|
@@ -114,194 +116,25 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
114
116
|
}
|
|
115
117
|
return null;
|
|
116
118
|
}
|
|
117
|
-
function
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
if (disabledDepth === 0) {
|
|
123
|
-
prevLog = console.log;
|
|
124
|
-
prevInfo = console.info;
|
|
125
|
-
prevWarn = console.warn;
|
|
126
|
-
prevError = console.error;
|
|
127
|
-
prevGroup = console.group;
|
|
128
|
-
prevGroupCollapsed = console.groupCollapsed;
|
|
129
|
-
prevGroupEnd = console.groupEnd;
|
|
130
|
-
var props = {
|
|
131
|
-
configurable: true,
|
|
132
|
-
enumerable: true,
|
|
133
|
-
value: disabledLog,
|
|
134
|
-
writable: true
|
|
135
|
-
};
|
|
136
|
-
Object.defineProperties(console, {
|
|
137
|
-
info: props,
|
|
138
|
-
log: props,
|
|
139
|
-
warn: props,
|
|
140
|
-
error: props,
|
|
141
|
-
group: props,
|
|
142
|
-
groupCollapsed: props,
|
|
143
|
-
groupEnd: props
|
|
144
|
-
});
|
|
145
|
-
}
|
|
146
|
-
disabledDepth++;
|
|
147
|
-
}
|
|
148
|
-
function reenableLogs() {
|
|
149
|
-
disabledDepth--;
|
|
150
|
-
if (disabledDepth === 0) {
|
|
151
|
-
var props = { configurable: true, enumerable: true, writable: true };
|
|
152
|
-
Object.defineProperties(console, {
|
|
153
|
-
log: assign({}, props, { value: prevLog }),
|
|
154
|
-
info: assign({}, props, { value: prevInfo }),
|
|
155
|
-
warn: assign({}, props, { value: prevWarn }),
|
|
156
|
-
error: assign({}, props, { value: prevError }),
|
|
157
|
-
group: assign({}, props, { value: prevGroup }),
|
|
158
|
-
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
159
|
-
groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
163
|
-
}
|
|
164
|
-
function describeBuiltInComponentFrame(name) {
|
|
165
|
-
if (prefix === undefined)
|
|
166
|
-
try {
|
|
167
|
-
throw Error();
|
|
168
|
-
} catch (x) {
|
|
169
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
170
|
-
prefix = match && match[1] || "";
|
|
171
|
-
suffix = -1 < x.stack.indexOf(`
|
|
172
|
-
at`) ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
173
|
-
}
|
|
174
|
-
return `
|
|
175
|
-
` + prefix + name + suffix;
|
|
176
|
-
}
|
|
177
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
178
|
-
if (!fn || reentry)
|
|
179
|
-
return "";
|
|
180
|
-
var frame = componentFrameCache.get(fn);
|
|
181
|
-
if (frame !== undefined)
|
|
182
|
-
return frame;
|
|
183
|
-
reentry = true;
|
|
184
|
-
frame = Error.prepareStackTrace;
|
|
185
|
-
Error.prepareStackTrace = undefined;
|
|
186
|
-
var previousDispatcher = null;
|
|
187
|
-
previousDispatcher = ReactSharedInternals.H;
|
|
188
|
-
ReactSharedInternals.H = null;
|
|
189
|
-
disableLogs();
|
|
119
|
+
function getTaskName(type) {
|
|
120
|
+
if (type === REACT_FRAGMENT_TYPE)
|
|
121
|
+
return "<>";
|
|
122
|
+
if (typeof type === "object" && type !== null && type.$$typeof === REACT_LAZY_TYPE)
|
|
123
|
+
return "<...>";
|
|
190
124
|
try {
|
|
191
|
-
var
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
var Fake = function() {
|
|
196
|
-
throw Error();
|
|
197
|
-
};
|
|
198
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
199
|
-
set: function() {
|
|
200
|
-
throw Error();
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
if (typeof Reflect === "object" && Reflect.construct) {
|
|
204
|
-
try {
|
|
205
|
-
Reflect.construct(Fake, []);
|
|
206
|
-
} catch (x) {
|
|
207
|
-
var control = x;
|
|
208
|
-
}
|
|
209
|
-
Reflect.construct(fn, [], Fake);
|
|
210
|
-
} else {
|
|
211
|
-
try {
|
|
212
|
-
Fake.call();
|
|
213
|
-
} catch (x$0) {
|
|
214
|
-
control = x$0;
|
|
215
|
-
}
|
|
216
|
-
fn.call(Fake.prototype);
|
|
217
|
-
}
|
|
218
|
-
} else {
|
|
219
|
-
try {
|
|
220
|
-
throw Error();
|
|
221
|
-
} catch (x$1) {
|
|
222
|
-
control = x$1;
|
|
223
|
-
}
|
|
224
|
-
(Fake = fn()) && typeof Fake.catch === "function" && Fake.catch(function() {});
|
|
225
|
-
}
|
|
226
|
-
} catch (sample) {
|
|
227
|
-
if (sample && control && typeof sample.stack === "string")
|
|
228
|
-
return [sample.stack, control.stack];
|
|
229
|
-
}
|
|
230
|
-
return [null, null];
|
|
231
|
-
}
|
|
232
|
-
};
|
|
233
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
234
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
|
|
235
|
-
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
|
|
236
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
|
|
237
|
-
if (sampleStack && controlStack) {
|
|
238
|
-
var sampleLines = sampleStack.split(`
|
|
239
|
-
`), controlLines = controlStack.split(`
|
|
240
|
-
`);
|
|
241
|
-
for (_RunInRootFrame$Deter = namePropDescriptor = 0;namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot"); )
|
|
242
|
-
namePropDescriptor++;
|
|
243
|
-
for (;_RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot"); )
|
|
244
|
-
_RunInRootFrame$Deter++;
|
|
245
|
-
if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length)
|
|
246
|
-
for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1;1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]; )
|
|
247
|
-
_RunInRootFrame$Deter--;
|
|
248
|
-
for (;1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--)
|
|
249
|
-
if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
250
|
-
if (namePropDescriptor !== 1 || _RunInRootFrame$Deter !== 1) {
|
|
251
|
-
do
|
|
252
|
-
if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
253
|
-
var _frame = `
|
|
254
|
-
` + sampleLines[namePropDescriptor].replace(" at new ", " at ");
|
|
255
|
-
fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
256
|
-
typeof fn === "function" && componentFrameCache.set(fn, _frame);
|
|
257
|
-
return _frame;
|
|
258
|
-
}
|
|
259
|
-
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
260
|
-
}
|
|
261
|
-
break;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
} finally {
|
|
265
|
-
reentry = false, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame;
|
|
266
|
-
}
|
|
267
|
-
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : "";
|
|
268
|
-
typeof fn === "function" && componentFrameCache.set(fn, sampleLines);
|
|
269
|
-
return sampleLines;
|
|
270
|
-
}
|
|
271
|
-
function describeUnknownElementTypeFrameInDEV(type) {
|
|
272
|
-
if (type == null)
|
|
273
|
-
return "";
|
|
274
|
-
if (typeof type === "function") {
|
|
275
|
-
var prototype = type.prototype;
|
|
276
|
-
return describeNativeComponentFrame(type, !(!prototype || !prototype.isReactComponent));
|
|
277
|
-
}
|
|
278
|
-
if (typeof type === "string")
|
|
279
|
-
return describeBuiltInComponentFrame(type);
|
|
280
|
-
switch (type) {
|
|
281
|
-
case REACT_SUSPENSE_TYPE:
|
|
282
|
-
return describeBuiltInComponentFrame("Suspense");
|
|
283
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
284
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
125
|
+
var name = getComponentNameFromType(type);
|
|
126
|
+
return name ? "<" + name + ">" : "<...>";
|
|
127
|
+
} catch (x) {
|
|
128
|
+
return "<...>";
|
|
285
129
|
}
|
|
286
|
-
if (typeof type === "object")
|
|
287
|
-
switch (type.$$typeof) {
|
|
288
|
-
case REACT_FORWARD_REF_TYPE:
|
|
289
|
-
return type = describeNativeComponentFrame(type.render, false), type;
|
|
290
|
-
case REACT_MEMO_TYPE:
|
|
291
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
292
|
-
case REACT_LAZY_TYPE:
|
|
293
|
-
prototype = type._payload;
|
|
294
|
-
type = type._init;
|
|
295
|
-
try {
|
|
296
|
-
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
297
|
-
} catch (x) {}
|
|
298
|
-
}
|
|
299
|
-
return "";
|
|
300
130
|
}
|
|
301
131
|
function getOwner() {
|
|
302
132
|
var dispatcher = ReactSharedInternals.A;
|
|
303
133
|
return dispatcher === null ? null : dispatcher.getOwner();
|
|
304
134
|
}
|
|
135
|
+
function UnknownOwner() {
|
|
136
|
+
return Error("react-stack-top-frame");
|
|
137
|
+
}
|
|
305
138
|
function hasValidKey(config) {
|
|
306
139
|
if (hasOwnProperty2.call(config, "key")) {
|
|
307
140
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
@@ -326,7 +159,7 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
326
159
|
componentName = this.props.ref;
|
|
327
160
|
return componentName !== undefined ? componentName : null;
|
|
328
161
|
}
|
|
329
|
-
function ReactElement(type, key, self2, source, owner, props) {
|
|
162
|
+
function ReactElement(type, key, self2, source, owner, props, debugStack, debugTask) {
|
|
330
163
|
self2 = props.ref;
|
|
331
164
|
type = {
|
|
332
165
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
@@ -352,56 +185,29 @@ var require_react_development = __commonJS((exports, module) => {
|
|
|
352
185
|
writable: true,
|
|
353
186
|
value: null
|
|
354
187
|
});
|
|
188
|
+
Object.defineProperty(type, "_debugStack", {
|
|
189
|
+
configurable: false,
|
|
190
|
+
enumerable: false,
|
|
191
|
+
writable: true,
|
|
192
|
+
value: debugStack
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(type, "_debugTask", {
|
|
195
|
+
configurable: false,
|
|
196
|
+
enumerable: false,
|
|
197
|
+
writable: true,
|
|
198
|
+
value: debugTask
|
|
199
|
+
});
|
|
355
200
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
356
201
|
return type;
|
|
357
202
|
}
|
|
358
203
|
function cloneAndReplaceKey(oldElement, newKey) {
|
|
359
|
-
newKey = ReactElement(oldElement.type, newKey, undefined, undefined, oldElement._owner, oldElement.props);
|
|
360
|
-
newKey._store.validated = oldElement._store.validated;
|
|
204
|
+
newKey = ReactElement(oldElement.type, newKey, undefined, undefined, oldElement._owner, oldElement.props, oldElement._debugStack, oldElement._debugTask);
|
|
205
|
+
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
|
361
206
|
return newKey;
|
|
362
207
|
}
|
|
363
|
-
function validateChildKeys(node, parentType) {
|
|
364
|
-
if (typeof node === "object" && node && node.$$typeof !== REACT_CLIENT_REFERENCE) {
|
|
365
|
-
if (isArrayImpl(node))
|
|
366
|
-
for (var i = 0;i < node.length; i++) {
|
|
367
|
-
var child = node[i];
|
|
368
|
-
isValidElement(child) && validateExplicitKey(child, parentType);
|
|
369
|
-
}
|
|
370
|
-
else if (isValidElement(node))
|
|
371
|
-
node._store && (node._store.validated = 1);
|
|
372
|
-
else if (i = getIteratorFn(node), typeof i === "function" && i !== node.entries && (i = i.call(node), i !== node))
|
|
373
|
-
for (;!(node = i.next()).done; )
|
|
374
|
-
isValidElement(node.value) && validateExplicitKey(node.value, parentType);
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
208
|
function isValidElement(object) {
|
|
378
209
|
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
379
210
|
}
|
|
380
|
-
function validateExplicitKey(element, parentType) {
|
|
381
|
-
if (element._store && !element._store.validated && element.key == null && (element._store.validated = 1, parentType = getCurrentComponentErrorInfo(parentType), !ownerHasKeyUseWarning[parentType])) {
|
|
382
|
-
ownerHasKeyUseWarning[parentType] = true;
|
|
383
|
-
var childOwner = "";
|
|
384
|
-
element && element._owner != null && element._owner !== getOwner() && (childOwner = null, typeof element._owner.tag === "number" ? childOwner = getComponentNameFromType(element._owner.type) : typeof element._owner.name === "string" && (childOwner = element._owner.name), childOwner = " It was passed a child from " + childOwner + ".");
|
|
385
|
-
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
386
|
-
ReactSharedInternals.getCurrentStack = function() {
|
|
387
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
388
|
-
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
389
|
-
return stack;
|
|
390
|
-
};
|
|
391
|
-
console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', parentType, childOwner);
|
|
392
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
function getCurrentComponentErrorInfo(parentType) {
|
|
396
|
-
var info = "", owner = getOwner();
|
|
397
|
-
owner && (owner = getComponentNameFromType(owner.type)) && (info = `
|
|
398
|
-
|
|
399
|
-
Check the render method of \`` + owner + "`.");
|
|
400
|
-
info || (parentType = getComponentNameFromType(parentType)) && (info = `
|
|
401
|
-
|
|
402
|
-
Check the top-level render call using <` + parentType + ">.");
|
|
403
|
-
return info;
|
|
404
|
-
}
|
|
405
211
|
function escape(key) {
|
|
406
212
|
var escaperLookup = { "=": "=0", ":": "=2" };
|
|
407
213
|
return "$" + key.replace(/[=:]/g, function(match) {
|
|
@@ -596,7 +402,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
596
402
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
597
403
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
598
404
|
Symbol.for("react.provider");
|
|
599
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
405
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
|
600
406
|
isMounted: function() {
|
|
601
407
|
return false;
|
|
602
408
|
},
|
|
@@ -637,24 +443,32 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
637
443
|
deprecatedAPIs.constructor = PureComponent;
|
|
638
444
|
assign(deprecatedAPIs, Component.prototype);
|
|
639
445
|
deprecatedAPIs.isPureReactComponent = true;
|
|
640
|
-
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE
|
|
446
|
+
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
|
|
641
447
|
H: null,
|
|
642
448
|
A: null,
|
|
643
449
|
T: null,
|
|
644
450
|
S: null,
|
|
451
|
+
V: null,
|
|
645
452
|
actQueue: null,
|
|
646
453
|
isBatchingLegacy: false,
|
|
647
454
|
didScheduleLegacyUpdate: false,
|
|
648
455
|
didUsePromise: false,
|
|
649
456
|
thrownErrors: [],
|
|
650
|
-
getCurrentStack: null
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
457
|
+
getCurrentStack: null,
|
|
458
|
+
recentlyCreatedOwnerStacks: 0
|
|
459
|
+
}, hasOwnProperty2 = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
|
460
|
+
return null;
|
|
461
|
+
};
|
|
462
|
+
deprecatedAPIs = {
|
|
463
|
+
"react-stack-bottom-frame": function(callStackForError) {
|
|
464
|
+
return callStackForError();
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
|
656
468
|
var didWarnAboutElementRef = {};
|
|
657
|
-
var
|
|
469
|
+
var unknownOwnerDebugStack = deprecatedAPIs["react-stack-bottom-frame"].bind(deprecatedAPIs, UnknownOwner)();
|
|
470
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
471
|
+
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = typeof reportError === "function" ? reportError : function(error) {
|
|
658
472
|
if (typeof window === "object" && typeof window.ErrorEvent === "function") {
|
|
659
473
|
var event = new window.ErrorEvent("error", {
|
|
660
474
|
bubbles: true,
|
|
@@ -674,6 +488,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
674
488
|
return queueMicrotask(callback);
|
|
675
489
|
});
|
|
676
490
|
} : enqueueTask;
|
|
491
|
+
deprecatedAPIs = Object.freeze({
|
|
492
|
+
__proto__: null,
|
|
493
|
+
c: function(size) {
|
|
494
|
+
return resolveDispatcher().useMemoCache(size);
|
|
495
|
+
}
|
|
496
|
+
});
|
|
677
497
|
exports.Children = {
|
|
678
498
|
map: mapChildren,
|
|
679
499
|
forEach: function(children, forEachFunc, forEachContext) {
|
|
@@ -706,6 +526,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
706
526
|
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
|
707
527
|
exports.Suspense = REACT_SUSPENSE_TYPE;
|
|
708
528
|
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
|
529
|
+
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
|
709
530
|
exports.act = function(callback) {
|
|
710
531
|
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
|
711
532
|
actScopeDepth++;
|
|
@@ -732,8 +553,8 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
732
553
|
flushActQueue(queue), enqueueTask(function() {
|
|
733
554
|
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
|
734
555
|
});
|
|
735
|
-
} catch (error$
|
|
736
|
-
ReactSharedInternals.thrownErrors.push(error$
|
|
556
|
+
} catch (error$0) {
|
|
557
|
+
ReactSharedInternals.thrownErrors.push(error$0);
|
|
737
558
|
}
|
|
738
559
|
if (0 < ReactSharedInternals.thrownErrors.length) {
|
|
739
560
|
var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);
|
|
@@ -770,6 +591,10 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
770
591
|
return fn.apply(null, arguments);
|
|
771
592
|
};
|
|
772
593
|
};
|
|
594
|
+
exports.captureOwnerStack = function() {
|
|
595
|
+
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
596
|
+
return getCurrentStack === null ? null : getCurrentStack();
|
|
597
|
+
};
|
|
773
598
|
exports.cloneElement = function(element, config, children) {
|
|
774
599
|
if (element === null || element === undefined)
|
|
775
600
|
throw Error("The argument must be a React element, but you passed " + element + ".");
|
|
@@ -797,9 +622,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
797
622
|
JSCompiler_inline_result[i] = arguments[i + 2];
|
|
798
623
|
props.children = JSCompiler_inline_result;
|
|
799
624
|
}
|
|
800
|
-
props = ReactElement(element.type, key, undefined, undefined, owner, props);
|
|
625
|
+
props = ReactElement(element.type, key, undefined, undefined, owner, props, element._debugStack, element._debugTask);
|
|
801
626
|
for (key = 2;key < arguments.length; key++)
|
|
802
|
-
|
|
627
|
+
owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
|
|
803
628
|
return props;
|
|
804
629
|
};
|
|
805
630
|
exports.createContext = function(defaultValue) {
|
|
@@ -821,24 +646,14 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
821
646
|
return defaultValue;
|
|
822
647
|
};
|
|
823
648
|
exports.createElement = function(type, config, children) {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
else {
|
|
828
|
-
i = "";
|
|
829
|
-
if (type === undefined || typeof type === "object" && type !== null && Object.keys(type).length === 0)
|
|
830
|
-
i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
831
|
-
if (type === null)
|
|
832
|
-
var typeString = "null";
|
|
833
|
-
else
|
|
834
|
-
isArrayImpl(type) ? typeString = "array" : type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE ? (typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : typeString = typeof type;
|
|
835
|
-
console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, i);
|
|
649
|
+
for (var i = 2;i < arguments.length; i++) {
|
|
650
|
+
var node = arguments[i];
|
|
651
|
+
isValidElement(node) && node._store && (node._store.validated = 1);
|
|
836
652
|
}
|
|
837
|
-
var propName;
|
|
838
653
|
i = {};
|
|
839
|
-
|
|
654
|
+
node = null;
|
|
840
655
|
if (config != null)
|
|
841
|
-
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key),
|
|
656
|
+
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = "" + config.key), config)
|
|
842
657
|
hasOwnProperty2.call(config, propName) && propName !== "key" && propName !== "__self" && propName !== "__source" && (i[propName] = config[propName]);
|
|
843
658
|
var childrenLength = arguments.length - 2;
|
|
844
659
|
if (childrenLength === 1)
|
|
@@ -852,8 +667,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
852
667
|
if (type && type.defaultProps)
|
|
853
668
|
for (propName in childrenLength = type.defaultProps, childrenLength)
|
|
854
669
|
i[propName] === undefined && (i[propName] = childrenLength[propName]);
|
|
855
|
-
|
|
856
|
-
|
|
670
|
+
node && defineKeyPropWarningGetter(i, typeof type === "function" ? type.displayName || type.name || "Unknown" : type);
|
|
671
|
+
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
672
|
+
return ReactElement(type, node, undefined, undefined, getOwner(), i, propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
857
673
|
};
|
|
858
674
|
exports.createRef = function() {
|
|
859
675
|
var refObject = { current: null };
|
|
@@ -886,7 +702,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
886
702
|
};
|
|
887
703
|
};
|
|
888
704
|
exports.memo = function(type, compare) {
|
|
889
|
-
|
|
705
|
+
type == null && console.error("memo: The first argument must be a component. Instead received: %s", type === null ? "null" : typeof type);
|
|
890
706
|
compare = {
|
|
891
707
|
$$typeof: REACT_MEMO_TYPE,
|
|
892
708
|
type,
|
|
@@ -943,8 +759,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
943
759
|
exports.useDeferredValue = function(value, initialValue) {
|
|
944
760
|
return resolveDispatcher().useDeferredValue(value, initialValue);
|
|
945
761
|
};
|
|
946
|
-
exports.useEffect = function(create,
|
|
947
|
-
|
|
762
|
+
exports.useEffect = function(create, createDeps, update) {
|
|
763
|
+
create == null && console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");
|
|
764
|
+
var dispatcher = resolveDispatcher();
|
|
765
|
+
if (typeof update === "function")
|
|
766
|
+
throw Error("useEffect CRUD overload is not enabled in this build of React.");
|
|
767
|
+
return dispatcher.useEffect(create, createDeps);
|
|
948
768
|
};
|
|
949
769
|
exports.useId = function() {
|
|
950
770
|
return resolveDispatcher().useId();
|
|
@@ -953,9 +773,11 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
953
773
|
return resolveDispatcher().useImperativeHandle(ref, create, deps);
|
|
954
774
|
};
|
|
955
775
|
exports.useInsertionEffect = function(create, deps) {
|
|
776
|
+
create == null && console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?");
|
|
956
777
|
return resolveDispatcher().useInsertionEffect(create, deps);
|
|
957
778
|
};
|
|
958
779
|
exports.useLayoutEffect = function(create, deps) {
|
|
780
|
+
create == null && console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?");
|
|
959
781
|
return resolveDispatcher().useLayoutEffect(create, deps);
|
|
960
782
|
};
|
|
961
783
|
exports.useMemo = function(create, deps) {
|
|
@@ -979,7 +801,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
979
801
|
exports.useTransition = function() {
|
|
980
802
|
return resolveDispatcher().useTransition();
|
|
981
803
|
};
|
|
982
|
-
exports.version = "19.
|
|
804
|
+
exports.version = "19.1.0";
|
|
983
805
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
984
806
|
})();
|
|
985
807
|
});
|
|
@@ -1000,14 +822,12 @@ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
|
1000
822
|
if (type == null)
|
|
1001
823
|
return null;
|
|
1002
824
|
if (typeof type === "function")
|
|
1003
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
825
|
+
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
|
1004
826
|
if (typeof type === "string")
|
|
1005
827
|
return type;
|
|
1006
828
|
switch (type) {
|
|
1007
829
|
case REACT_FRAGMENT_TYPE:
|
|
1008
830
|
return "Fragment";
|
|
1009
|
-
case REACT_PORTAL_TYPE:
|
|
1010
|
-
return "Portal";
|
|
1011
831
|
case REACT_PROFILER_TYPE:
|
|
1012
832
|
return "Profiler";
|
|
1013
833
|
case REACT_STRICT_MODE_TYPE:
|
|
@@ -1016,9 +836,13 @@ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
|
1016
836
|
return "Suspense";
|
|
1017
837
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
1018
838
|
return "SuspenseList";
|
|
839
|
+
case REACT_ACTIVITY_TYPE:
|
|
840
|
+
return "Activity";
|
|
1019
841
|
}
|
|
1020
842
|
if (typeof type === "object")
|
|
1021
843
|
switch (typeof type.tag === "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
|
|
844
|
+
case REACT_PORTAL_TYPE:
|
|
845
|
+
return "Portal";
|
|
1022
846
|
case REACT_CONTEXT_TYPE:
|
|
1023
847
|
return (type.displayName || "Context") + ".Provider";
|
|
1024
848
|
case REACT_CONSUMER_TYPE:
|
|
@@ -1057,191 +881,25 @@ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
|
1057
881
|
return testStringCoercion(value);
|
|
1058
882
|
}
|
|
1059
883
|
}
|
|
1060
|
-
function
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
prevWarn = console.warn;
|
|
1066
|
-
prevError = console.error;
|
|
1067
|
-
prevGroup = console.group;
|
|
1068
|
-
prevGroupCollapsed = console.groupCollapsed;
|
|
1069
|
-
prevGroupEnd = console.groupEnd;
|
|
1070
|
-
var props = {
|
|
1071
|
-
configurable: true,
|
|
1072
|
-
enumerable: true,
|
|
1073
|
-
value: disabledLog,
|
|
1074
|
-
writable: true
|
|
1075
|
-
};
|
|
1076
|
-
Object.defineProperties(console, {
|
|
1077
|
-
info: props,
|
|
1078
|
-
log: props,
|
|
1079
|
-
warn: props,
|
|
1080
|
-
error: props,
|
|
1081
|
-
group: props,
|
|
1082
|
-
groupCollapsed: props,
|
|
1083
|
-
groupEnd: props
|
|
1084
|
-
});
|
|
1085
|
-
}
|
|
1086
|
-
disabledDepth++;
|
|
1087
|
-
}
|
|
1088
|
-
function reenableLogs() {
|
|
1089
|
-
disabledDepth--;
|
|
1090
|
-
if (disabledDepth === 0) {
|
|
1091
|
-
var props = { configurable: true, enumerable: true, writable: true };
|
|
1092
|
-
Object.defineProperties(console, {
|
|
1093
|
-
log: assign({}, props, { value: prevLog }),
|
|
1094
|
-
info: assign({}, props, { value: prevInfo }),
|
|
1095
|
-
warn: assign({}, props, { value: prevWarn }),
|
|
1096
|
-
error: assign({}, props, { value: prevError }),
|
|
1097
|
-
group: assign({}, props, { value: prevGroup }),
|
|
1098
|
-
groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
|
|
1099
|
-
groupEnd: assign({}, props, { value: prevGroupEnd })
|
|
1100
|
-
});
|
|
1101
|
-
}
|
|
1102
|
-
0 > disabledDepth && console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1103
|
-
}
|
|
1104
|
-
function describeBuiltInComponentFrame(name) {
|
|
1105
|
-
if (prefix === undefined)
|
|
1106
|
-
try {
|
|
1107
|
-
throw Error();
|
|
1108
|
-
} catch (x) {
|
|
1109
|
-
var match = x.stack.trim().match(/\n( *(at )?)/);
|
|
1110
|
-
prefix = match && match[1] || "";
|
|
1111
|
-
suffix = -1 < x.stack.indexOf(`
|
|
1112
|
-
at`) ? " (<anonymous>)" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
|
|
1113
|
-
}
|
|
1114
|
-
return `
|
|
1115
|
-
` + prefix + name + suffix;
|
|
1116
|
-
}
|
|
1117
|
-
function describeNativeComponentFrame(fn, construct) {
|
|
1118
|
-
if (!fn || reentry)
|
|
1119
|
-
return "";
|
|
1120
|
-
var frame = componentFrameCache.get(fn);
|
|
1121
|
-
if (frame !== undefined)
|
|
1122
|
-
return frame;
|
|
1123
|
-
reentry = true;
|
|
1124
|
-
frame = Error.prepareStackTrace;
|
|
1125
|
-
Error.prepareStackTrace = undefined;
|
|
1126
|
-
var previousDispatcher = null;
|
|
1127
|
-
previousDispatcher = ReactSharedInternals.H;
|
|
1128
|
-
ReactSharedInternals.H = null;
|
|
1129
|
-
disableLogs();
|
|
884
|
+
function getTaskName(type) {
|
|
885
|
+
if (type === REACT_FRAGMENT_TYPE)
|
|
886
|
+
return "<>";
|
|
887
|
+
if (typeof type === "object" && type !== null && type.$$typeof === REACT_LAZY_TYPE)
|
|
888
|
+
return "<...>";
|
|
1130
889
|
try {
|
|
1131
|
-
var
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
var Fake = function() {
|
|
1136
|
-
throw Error();
|
|
1137
|
-
};
|
|
1138
|
-
Object.defineProperty(Fake.prototype, "props", {
|
|
1139
|
-
set: function() {
|
|
1140
|
-
throw Error();
|
|
1141
|
-
}
|
|
1142
|
-
});
|
|
1143
|
-
if (typeof Reflect === "object" && Reflect.construct) {
|
|
1144
|
-
try {
|
|
1145
|
-
Reflect.construct(Fake, []);
|
|
1146
|
-
} catch (x) {
|
|
1147
|
-
var control = x;
|
|
1148
|
-
}
|
|
1149
|
-
Reflect.construct(fn, [], Fake);
|
|
1150
|
-
} else {
|
|
1151
|
-
try {
|
|
1152
|
-
Fake.call();
|
|
1153
|
-
} catch (x$0) {
|
|
1154
|
-
control = x$0;
|
|
1155
|
-
}
|
|
1156
|
-
fn.call(Fake.prototype);
|
|
1157
|
-
}
|
|
1158
|
-
} else {
|
|
1159
|
-
try {
|
|
1160
|
-
throw Error();
|
|
1161
|
-
} catch (x$1) {
|
|
1162
|
-
control = x$1;
|
|
1163
|
-
}
|
|
1164
|
-
(Fake = fn()) && typeof Fake.catch === "function" && Fake.catch(function() {});
|
|
1165
|
-
}
|
|
1166
|
-
} catch (sample) {
|
|
1167
|
-
if (sample && control && typeof sample.stack === "string")
|
|
1168
|
-
return [sample.stack, control.stack];
|
|
1169
|
-
}
|
|
1170
|
-
return [null, null];
|
|
1171
|
-
}
|
|
1172
|
-
};
|
|
1173
|
-
RunInRootFrame.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
|
|
1174
|
-
var namePropDescriptor = Object.getOwnPropertyDescriptor(RunInRootFrame.DetermineComponentFrameRoot, "name");
|
|
1175
|
-
namePropDescriptor && namePropDescriptor.configurable && Object.defineProperty(RunInRootFrame.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });
|
|
1176
|
-
var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(), sampleStack = _RunInRootFrame$Deter[0], controlStack = _RunInRootFrame$Deter[1];
|
|
1177
|
-
if (sampleStack && controlStack) {
|
|
1178
|
-
var sampleLines = sampleStack.split(`
|
|
1179
|
-
`), controlLines = controlStack.split(`
|
|
1180
|
-
`);
|
|
1181
|
-
for (_RunInRootFrame$Deter = namePropDescriptor = 0;namePropDescriptor < sampleLines.length && !sampleLines[namePropDescriptor].includes("DetermineComponentFrameRoot"); )
|
|
1182
|
-
namePropDescriptor++;
|
|
1183
|
-
for (;_RunInRootFrame$Deter < controlLines.length && !controlLines[_RunInRootFrame$Deter].includes("DetermineComponentFrameRoot"); )
|
|
1184
|
-
_RunInRootFrame$Deter++;
|
|
1185
|
-
if (namePropDescriptor === sampleLines.length || _RunInRootFrame$Deter === controlLines.length)
|
|
1186
|
-
for (namePropDescriptor = sampleLines.length - 1, _RunInRootFrame$Deter = controlLines.length - 1;1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter && sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]; )
|
|
1187
|
-
_RunInRootFrame$Deter--;
|
|
1188
|
-
for (;1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter; namePropDescriptor--, _RunInRootFrame$Deter--)
|
|
1189
|
-
if (sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
1190
|
-
if (namePropDescriptor !== 1 || _RunInRootFrame$Deter !== 1) {
|
|
1191
|
-
do
|
|
1192
|
-
if (namePropDescriptor--, _RunInRootFrame$Deter--, 0 > _RunInRootFrame$Deter || sampleLines[namePropDescriptor] !== controlLines[_RunInRootFrame$Deter]) {
|
|
1193
|
-
var _frame = `
|
|
1194
|
-
` + sampleLines[namePropDescriptor].replace(" at new ", " at ");
|
|
1195
|
-
fn.displayName && _frame.includes("<anonymous>") && (_frame = _frame.replace("<anonymous>", fn.displayName));
|
|
1196
|
-
typeof fn === "function" && componentFrameCache.set(fn, _frame);
|
|
1197
|
-
return _frame;
|
|
1198
|
-
}
|
|
1199
|
-
while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
|
|
1200
|
-
}
|
|
1201
|
-
break;
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
} finally {
|
|
1205
|
-
reentry = false, ReactSharedInternals.H = previousDispatcher, reenableLogs(), Error.prepareStackTrace = frame;
|
|
1206
|
-
}
|
|
1207
|
-
sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "") ? describeBuiltInComponentFrame(sampleLines) : "";
|
|
1208
|
-
typeof fn === "function" && componentFrameCache.set(fn, sampleLines);
|
|
1209
|
-
return sampleLines;
|
|
1210
|
-
}
|
|
1211
|
-
function describeUnknownElementTypeFrameInDEV(type) {
|
|
1212
|
-
if (type == null)
|
|
1213
|
-
return "";
|
|
1214
|
-
if (typeof type === "function") {
|
|
1215
|
-
var prototype = type.prototype;
|
|
1216
|
-
return describeNativeComponentFrame(type, !(!prototype || !prototype.isReactComponent));
|
|
1217
|
-
}
|
|
1218
|
-
if (typeof type === "string")
|
|
1219
|
-
return describeBuiltInComponentFrame(type);
|
|
1220
|
-
switch (type) {
|
|
1221
|
-
case REACT_SUSPENSE_TYPE:
|
|
1222
|
-
return describeBuiltInComponentFrame("Suspense");
|
|
1223
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
1224
|
-
return describeBuiltInComponentFrame("SuspenseList");
|
|
890
|
+
var name = getComponentNameFromType(type);
|
|
891
|
+
return name ? "<" + name + ">" : "<...>";
|
|
892
|
+
} catch (x) {
|
|
893
|
+
return "<...>";
|
|
1225
894
|
}
|
|
1226
|
-
if (typeof type === "object")
|
|
1227
|
-
switch (type.$$typeof) {
|
|
1228
|
-
case REACT_FORWARD_REF_TYPE:
|
|
1229
|
-
return type = describeNativeComponentFrame(type.render, false), type;
|
|
1230
|
-
case REACT_MEMO_TYPE:
|
|
1231
|
-
return describeUnknownElementTypeFrameInDEV(type.type);
|
|
1232
|
-
case REACT_LAZY_TYPE:
|
|
1233
|
-
prototype = type._payload;
|
|
1234
|
-
type = type._init;
|
|
1235
|
-
try {
|
|
1236
|
-
return describeUnknownElementTypeFrameInDEV(type(prototype));
|
|
1237
|
-
} catch (x) {}
|
|
1238
|
-
}
|
|
1239
|
-
return "";
|
|
1240
895
|
}
|
|
1241
896
|
function getOwner() {
|
|
1242
897
|
var dispatcher = ReactSharedInternals.A;
|
|
1243
898
|
return dispatcher === null ? null : dispatcher.getOwner();
|
|
1244
899
|
}
|
|
900
|
+
function UnknownOwner() {
|
|
901
|
+
return Error("react-stack-top-frame");
|
|
902
|
+
}
|
|
1245
903
|
function hasValidKey(config) {
|
|
1246
904
|
if (hasOwnProperty2.call(config, "key")) {
|
|
1247
905
|
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
@@ -1266,7 +924,7 @@ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
|
1266
924
|
componentName = this.props.ref;
|
|
1267
925
|
return componentName !== undefined ? componentName : null;
|
|
1268
926
|
}
|
|
1269
|
-
function ReactElement(type, key, self2, source, owner, props) {
|
|
927
|
+
function ReactElement(type, key, self2, source, owner, props, debugStack, debugTask) {
|
|
1270
928
|
self2 = props.ref;
|
|
1271
929
|
type = {
|
|
1272
930
|
$$typeof: REACT_ELEMENT_TYPE,
|
|
@@ -1292,29 +950,33 @@ var require_react_jsx_dev_runtime_development = __commonJS((exports) => {
|
|
|
1292
950
|
writable: true,
|
|
1293
951
|
value: null
|
|
1294
952
|
});
|
|
953
|
+
Object.defineProperty(type, "_debugStack", {
|
|
954
|
+
configurable: false,
|
|
955
|
+
enumerable: false,
|
|
956
|
+
writable: true,
|
|
957
|
+
value: debugStack
|
|
958
|
+
});
|
|
959
|
+
Object.defineProperty(type, "_debugTask", {
|
|
960
|
+
configurable: false,
|
|
961
|
+
enumerable: false,
|
|
962
|
+
writable: true,
|
|
963
|
+
value: debugTask
|
|
964
|
+
});
|
|
1295
965
|
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
1296
966
|
return type;
|
|
1297
967
|
}
|
|
1298
|
-
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self2) {
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
if (
|
|
1302
|
-
if (
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
validateChildKeys(children, type);
|
|
1311
|
-
} else {
|
|
1312
|
-
children = "";
|
|
1313
|
-
if (type === undefined || typeof type === "object" && type !== null && Object.keys(type).length === 0)
|
|
1314
|
-
children += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
|
|
1315
|
-
type === null ? isStaticChildren = "null" : isArrayImpl(type) ? isStaticChildren = "array" : type !== undefined && type.$$typeof === REACT_ELEMENT_TYPE ? (isStaticChildren = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />", children = " Did you accidentally export a JSX literal instead of a component?") : isStaticChildren = typeof type;
|
|
1316
|
-
console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", isStaticChildren, children);
|
|
1317
|
-
}
|
|
968
|
+
function jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self2, debugStack, debugTask) {
|
|
969
|
+
var children = config.children;
|
|
970
|
+
if (children !== undefined)
|
|
971
|
+
if (isStaticChildren)
|
|
972
|
+
if (isArrayImpl(children)) {
|
|
973
|
+
for (isStaticChildren = 0;isStaticChildren < children.length; isStaticChildren++)
|
|
974
|
+
validateChildKeys(children[isStaticChildren]);
|
|
975
|
+
Object.freeze && Object.freeze(children);
|
|
976
|
+
} else
|
|
977
|
+
console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
978
|
+
else
|
|
979
|
+
validateChildKeys(children);
|
|
1318
980
|
if (hasOwnProperty2.call(config, "key")) {
|
|
1319
981
|
children = getComponentNameFromType(type);
|
|
1320
982
|
var keys = Object.keys(config).filter(function(k) {
|
|
@@ -1338,62 +1000,30 @@ React keys must be passed directly to JSX without using spread:
|
|
|
1338
1000
|
} else
|
|
1339
1001
|
maybeKey = config;
|
|
1340
1002
|
children && defineKeyPropWarningGetter(maybeKey, typeof type === "function" ? type.displayName || type.name || "Unknown" : type);
|
|
1341
|
-
return ReactElement(type, children, self2, source, getOwner(), maybeKey);
|
|
1342
|
-
}
|
|
1343
|
-
function validateChildKeys(node, parentType) {
|
|
1344
|
-
if (typeof node === "object" && node && node.$$typeof !== REACT_CLIENT_REFERENCE) {
|
|
1345
|
-
if (isArrayImpl(node))
|
|
1346
|
-
for (var i = 0;i < node.length; i++) {
|
|
1347
|
-
var child = node[i];
|
|
1348
|
-
isValidElement(child) && validateExplicitKey(child, parentType);
|
|
1349
|
-
}
|
|
1350
|
-
else if (isValidElement(node))
|
|
1351
|
-
node._store && (node._store.validated = 1);
|
|
1352
|
-
else if (node === null || typeof node !== "object" ? i = null : (i = MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL] || node["@@iterator"], i = typeof i === "function" ? i : null), typeof i === "function" && i !== node.entries && (i = i.call(node), i !== node))
|
|
1353
|
-
for (;!(node = i.next()).done; )
|
|
1354
|
-
isValidElement(node.value) && validateExplicitKey(node.value, parentType);
|
|
1355
|
-
}
|
|
1356
|
-
}
|
|
1357
|
-
function isValidElement(object) {
|
|
1358
|
-
return typeof object === "object" && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
1003
|
+
return ReactElement(type, children, self2, source, getOwner(), maybeKey, debugStack, debugTask);
|
|
1359
1004
|
}
|
|
1360
|
-
function
|
|
1361
|
-
|
|
1362
|
-
ownerHasKeyUseWarning[parentType] = true;
|
|
1363
|
-
var childOwner = "";
|
|
1364
|
-
element && element._owner != null && element._owner !== getOwner() && (childOwner = null, typeof element._owner.tag === "number" ? childOwner = getComponentNameFromType(element._owner.type) : typeof element._owner.name === "string" && (childOwner = element._owner.name), childOwner = " It was passed a child from " + childOwner + ".");
|
|
1365
|
-
var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
|
|
1366
|
-
ReactSharedInternals.getCurrentStack = function() {
|
|
1367
|
-
var stack = describeUnknownElementTypeFrameInDEV(element.type);
|
|
1368
|
-
prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
|
|
1369
|
-
return stack;
|
|
1370
|
-
};
|
|
1371
|
-
console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.', parentType, childOwner);
|
|
1372
|
-
ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
function getCurrentComponentErrorInfo(parentType) {
|
|
1376
|
-
var info = "", owner = getOwner();
|
|
1377
|
-
owner && (owner = getComponentNameFromType(owner.type)) && (info = `
|
|
1378
|
-
|
|
1379
|
-
Check the render method of \`` + owner + "`.");
|
|
1380
|
-
info || (parentType = getComponentNameFromType(parentType)) && (info = `
|
|
1381
|
-
|
|
1382
|
-
Check the top-level render call using <` + parentType + ">.");
|
|
1383
|
-
return info;
|
|
1005
|
+
function validateChildKeys(node) {
|
|
1006
|
+
typeof node === "object" && node !== null && node.$$typeof === REACT_ELEMENT_TYPE && node._store && (node._store.validated = 1);
|
|
1384
1007
|
}
|
|
1385
1008
|
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
|
1386
1009
|
Symbol.for("react.provider");
|
|
1387
|
-
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1010
|
+
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty2 = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
|
|
1011
|
+
return null;
|
|
1012
|
+
};
|
|
1013
|
+
React = {
|
|
1014
|
+
"react-stack-bottom-frame": function(callStackForError) {
|
|
1015
|
+
return callStackForError();
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
var specialPropKeyWarningShown;
|
|
1392
1019
|
var didWarnAboutElementRef = {};
|
|
1393
|
-
var
|
|
1020
|
+
var unknownOwnerDebugStack = React["react-stack-bottom-frame"].bind(React, UnknownOwner)();
|
|
1021
|
+
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
1022
|
+
var didWarnAboutKeySpread = {};
|
|
1394
1023
|
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
1395
1024
|
exports.jsxDEV = function(type, config, maybeKey, isStaticChildren, source, self2) {
|
|
1396
|
-
|
|
1025
|
+
var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
1026
|
+
return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self2, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
|
|
1397
1027
|
};
|
|
1398
1028
|
})();
|
|
1399
1029
|
});
|
|
@@ -35639,5 +35269,5 @@ program.command("app:route-manifest").action(async () => {
|
|
|
35639
35269
|
});
|
|
35640
35270
|
program.parse();
|
|
35641
35271
|
|
|
35642
|
-
//# debugId=
|
|
35272
|
+
//# debugId=B7C6E5B74B75DEAA64756E2164756E21
|
|
35643
35273
|
//# sourceMappingURL=gemi.js.map
|