@resenty/widget 0.0.0
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/LICENSE +21 -0
- package/README.md +32 -0
- package/dist/chunks/chat-CJ6R7eoG.js +592 -0
- package/dist/chunks/chat-CZS20945.js +54622 -0
- package/dist/chunks/core-Cpyk9a29.js +214 -0
- package/dist/chunks/index-Df7cNTmq.js +348 -0
- package/dist/chunks/query-common-D_G8O-M_.js +7754 -0
- package/dist/chunks/react-dom-B4CdVWWC.js +1176 -0
- package/dist/chunks/react-root-BBU2MuNT.js +5 -0
- package/dist/chunks/react-root-ChAKSfvh.js +18956 -0
- package/dist/chunks/rolldown-runtime-B_fQOXul.js +11 -0
- package/dist/chunks/schemas-B2StEWw-.js +4326 -0
- package/dist/chunks/ui-common-DfZ7eP4u.js +2372 -0
- package/dist/chunks/ui-f9sPMhJV.js +135 -0
- package/dist/chunks/vendor-CAJw9nfJ.js +68985 -0
- package/dist/resenty.js +676 -0
- package/dist/styles/resenty.css +2 -0
- package/package.json +94 -0
|
@@ -0,0 +1,1176 @@
|
|
|
1
|
+
var __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __commonJSMin = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), __copyProps = (e, i, o, s) => {
|
|
2
|
+
if (i && typeof i == "object" || typeof i == "function") for (var c = __getOwnPropNames(i), l = 0, u = c.length, d; l < u; l++) d = c[l], !__hasOwnProp.call(e, d) && d !== o && __defProp(e, d, {
|
|
3
|
+
get: ((e) => i[e]).bind(null, d),
|
|
4
|
+
enumerable: !(s = __getOwnPropDesc(i, d)) || s.enumerable
|
|
5
|
+
});
|
|
6
|
+
return e;
|
|
7
|
+
}, __toESM = (n, r, a) => (a = n == null ? {} : __create(__getProtoOf(n)), __copyProps(r || !n || !n.__esModule ? __defProp(a, "default", {
|
|
8
|
+
value: n,
|
|
9
|
+
enumerable: !0
|
|
10
|
+
}) : a, n)), require_react_production = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
11
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
|
|
12
|
+
function m(e) {
|
|
13
|
+
return typeof e != "object" || !e ? null : (e = p && e[p] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
14
|
+
}
|
|
15
|
+
var h = {
|
|
16
|
+
isMounted: function() {
|
|
17
|
+
return !1;
|
|
18
|
+
},
|
|
19
|
+
enqueueForceUpdate: function() {},
|
|
20
|
+
enqueueReplaceState: function() {},
|
|
21
|
+
enqueueSetState: function() {}
|
|
22
|
+
}, g = Object.assign, _ = {};
|
|
23
|
+
function v(e, t, n) {
|
|
24
|
+
this.props = e, this.context = t, this.refs = _, this.updater = n || h;
|
|
25
|
+
}
|
|
26
|
+
v.prototype.isReactComponent = {}, v.prototype.setState = function(e, t) {
|
|
27
|
+
if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
28
|
+
this.updater.enqueueSetState(this, e, t, "setState");
|
|
29
|
+
}, v.prototype.forceUpdate = function(e) {
|
|
30
|
+
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
31
|
+
};
|
|
32
|
+
function y() {}
|
|
33
|
+
y.prototype = v.prototype;
|
|
34
|
+
function b(e, t, n) {
|
|
35
|
+
this.props = e, this.context = t, this.refs = _, this.updater = n || h;
|
|
36
|
+
}
|
|
37
|
+
var x = b.prototype = new y();
|
|
38
|
+
x.constructor = b, g(x, v.prototype), x.isPureReactComponent = !0;
|
|
39
|
+
var S = Array.isArray;
|
|
40
|
+
function C() {}
|
|
41
|
+
var w = {
|
|
42
|
+
H: null,
|
|
43
|
+
A: null,
|
|
44
|
+
T: null,
|
|
45
|
+
S: null
|
|
46
|
+
}, T = Object.prototype.hasOwnProperty;
|
|
47
|
+
function E(e, n, r) {
|
|
48
|
+
var i = r.ref;
|
|
49
|
+
return {
|
|
50
|
+
$$typeof: t,
|
|
51
|
+
type: e,
|
|
52
|
+
key: n,
|
|
53
|
+
ref: i === void 0 ? null : i,
|
|
54
|
+
props: r
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function ee(e, t) {
|
|
58
|
+
return E(e.type, t, e.props);
|
|
59
|
+
}
|
|
60
|
+
function D(e) {
|
|
61
|
+
return typeof e == "object" && !!e && e.$$typeof === t;
|
|
62
|
+
}
|
|
63
|
+
function O(e) {
|
|
64
|
+
var t = {
|
|
65
|
+
"=": "=0",
|
|
66
|
+
":": "=2"
|
|
67
|
+
};
|
|
68
|
+
return "$" + e.replace(/[=:]/g, function(e) {
|
|
69
|
+
return t[e];
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
var k = /\/+/g;
|
|
73
|
+
function A(e, t) {
|
|
74
|
+
return typeof e == "object" && e && e.key != null ? O("" + e.key) : t.toString(36);
|
|
75
|
+
}
|
|
76
|
+
function j(e) {
|
|
77
|
+
switch (e.status) {
|
|
78
|
+
case "fulfilled": return e.value;
|
|
79
|
+
case "rejected": throw e.reason;
|
|
80
|
+
default: switch (typeof e.status == "string" ? e.then(C, C) : (e.status = "pending", e.then(function(t) {
|
|
81
|
+
e.status === "pending" && (e.status = "fulfilled", e.value = t);
|
|
82
|
+
}, function(t) {
|
|
83
|
+
e.status === "pending" && (e.status = "rejected", e.reason = t);
|
|
84
|
+
})), e.status) {
|
|
85
|
+
case "fulfilled": return e.value;
|
|
86
|
+
case "rejected": throw e.reason;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
throw e;
|
|
90
|
+
}
|
|
91
|
+
function M(e, r, i, a, o) {
|
|
92
|
+
var s = typeof e;
|
|
93
|
+
(s === "undefined" || s === "boolean") && (e = null);
|
|
94
|
+
var c = !1;
|
|
95
|
+
if (e === null) c = !0;
|
|
96
|
+
else switch (s) {
|
|
97
|
+
case "bigint":
|
|
98
|
+
case "string":
|
|
99
|
+
case "number":
|
|
100
|
+
c = !0;
|
|
101
|
+
break;
|
|
102
|
+
case "object": switch (e.$$typeof) {
|
|
103
|
+
case t:
|
|
104
|
+
case n:
|
|
105
|
+
c = !0;
|
|
106
|
+
break;
|
|
107
|
+
case d: return c = e._init, M(c(e._payload), r, i, a, o);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
if (c) return o = o(e), c = a === "" ? "." + A(e, 0) : a, S(o) ? (i = "", c != null && (i = c.replace(k, "$&/") + "/"), M(o, r, i, "", function(e) {
|
|
111
|
+
return e;
|
|
112
|
+
})) : o != null && (D(o) && (o = ee(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(k, "$&/") + "/") + c)), r.push(o)), 1;
|
|
113
|
+
c = 0;
|
|
114
|
+
var l = a === "" ? "." : a + ":";
|
|
115
|
+
if (S(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + A(a, u), c += M(a, r, i, s, o);
|
|
116
|
+
else if (u = m(e), typeof u == "function") for (e = u.call(e), u = 0; !(a = e.next()).done;) a = a.value, s = l + A(a, u++), c += M(a, r, i, s, o);
|
|
117
|
+
else if (s === "object") {
|
|
118
|
+
if (typeof e.then == "function") return M(j(e), r, i, a, o);
|
|
119
|
+
throw r = String(e), Error("Objects are not valid as a React child (found: " + (r === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : r) + "). If you meant to render a collection of children, use an array instead.");
|
|
120
|
+
}
|
|
121
|
+
return c;
|
|
122
|
+
}
|
|
123
|
+
function N(e, t, n) {
|
|
124
|
+
if (e == null) return e;
|
|
125
|
+
var r = [], i = 0;
|
|
126
|
+
return M(e, r, "", "", function(e) {
|
|
127
|
+
return t.call(n, e, i++);
|
|
128
|
+
}), r;
|
|
129
|
+
}
|
|
130
|
+
function P(e) {
|
|
131
|
+
if (e._status === -1) {
|
|
132
|
+
var t = e._result;
|
|
133
|
+
t = t(), t.then(function(t) {
|
|
134
|
+
(e._status === 0 || e._status === -1) && (e._status = 1, e._result = t);
|
|
135
|
+
}, function(t) {
|
|
136
|
+
(e._status === 0 || e._status === -1) && (e._status = 2, e._result = t);
|
|
137
|
+
}), e._status === -1 && (e._status = 0, e._result = t);
|
|
138
|
+
}
|
|
139
|
+
if (e._status === 1) return e._result.default;
|
|
140
|
+
throw e._result;
|
|
141
|
+
}
|
|
142
|
+
var F = typeof reportError == "function" ? reportError : function(e) {
|
|
143
|
+
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
144
|
+
var t = new window.ErrorEvent("error", {
|
|
145
|
+
bubbles: !0,
|
|
146
|
+
cancelable: !0,
|
|
147
|
+
message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),
|
|
148
|
+
error: e
|
|
149
|
+
});
|
|
150
|
+
if (!window.dispatchEvent(t)) return;
|
|
151
|
+
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
152
|
+
process.emit("uncaughtException", e);
|
|
153
|
+
return;
|
|
154
|
+
}
|
|
155
|
+
console.error(e);
|
|
156
|
+
}, I = {
|
|
157
|
+
map: N,
|
|
158
|
+
forEach: function(e, t, n) {
|
|
159
|
+
N(e, function() {
|
|
160
|
+
t.apply(this, arguments);
|
|
161
|
+
}, n);
|
|
162
|
+
},
|
|
163
|
+
count: function(e) {
|
|
164
|
+
var t = 0;
|
|
165
|
+
return N(e, function() {
|
|
166
|
+
t++;
|
|
167
|
+
}), t;
|
|
168
|
+
},
|
|
169
|
+
toArray: function(e) {
|
|
170
|
+
return N(e, function(e) {
|
|
171
|
+
return e;
|
|
172
|
+
}) || [];
|
|
173
|
+
},
|
|
174
|
+
only: function(e) {
|
|
175
|
+
if (!D(e)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
176
|
+
return e;
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
e.Activity = f, e.Children = I, e.Component = v, e.Fragment = r, e.Profiler = a, e.PureComponent = b, e.StrictMode = i, e.Suspense = l, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = w, e.__COMPILER_RUNTIME = {
|
|
180
|
+
__proto__: null,
|
|
181
|
+
c: function(e) {
|
|
182
|
+
return w.H.useMemoCache(e);
|
|
183
|
+
}
|
|
184
|
+
}, e.cache = function(e) {
|
|
185
|
+
return function() {
|
|
186
|
+
return e.apply(null, arguments);
|
|
187
|
+
};
|
|
188
|
+
}, e.cacheSignal = function() {
|
|
189
|
+
return null;
|
|
190
|
+
}, e.cloneElement = function(e, t, n) {
|
|
191
|
+
if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
|
|
192
|
+
var r = g({}, e.props), i = e.key;
|
|
193
|
+
if (t != null) for (a in t.key !== void 0 && (i = "" + t.key), t) !T.call(t, a) || a === "key" || a === "__self" || a === "__source" || a === "ref" && t.ref === void 0 || (r[a] = t[a]);
|
|
194
|
+
var a = arguments.length - 2;
|
|
195
|
+
if (a === 1) r.children = n;
|
|
196
|
+
else if (1 < a) {
|
|
197
|
+
for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
|
|
198
|
+
r.children = o;
|
|
199
|
+
}
|
|
200
|
+
return E(e.type, i, r);
|
|
201
|
+
}, e.createContext = function(e) {
|
|
202
|
+
return e = {
|
|
203
|
+
$$typeof: s,
|
|
204
|
+
_currentValue: e,
|
|
205
|
+
_currentValue2: e,
|
|
206
|
+
_threadCount: 0,
|
|
207
|
+
Provider: null,
|
|
208
|
+
Consumer: null
|
|
209
|
+
}, e.Provider = e, e.Consumer = {
|
|
210
|
+
$$typeof: o,
|
|
211
|
+
_context: e
|
|
212
|
+
}, e;
|
|
213
|
+
}, e.createElement = function(e, t, n) {
|
|
214
|
+
var r, i = {}, a = null;
|
|
215
|
+
if (t != null) for (r in t.key !== void 0 && (a = "" + t.key), t) T.call(t, r) && r !== "key" && r !== "__self" && r !== "__source" && (i[r] = t[r]);
|
|
216
|
+
var o = arguments.length - 2;
|
|
217
|
+
if (o === 1) i.children = n;
|
|
218
|
+
else if (1 < o) {
|
|
219
|
+
for (var s = Array(o), c = 0; c < o; c++) s[c] = arguments[c + 2];
|
|
220
|
+
i.children = s;
|
|
221
|
+
}
|
|
222
|
+
if (e && e.defaultProps) for (r in o = e.defaultProps, o) i[r] === void 0 && (i[r] = o[r]);
|
|
223
|
+
return E(e, a, i);
|
|
224
|
+
}, e.createRef = function() {
|
|
225
|
+
return { current: null };
|
|
226
|
+
}, e.forwardRef = function(e) {
|
|
227
|
+
return {
|
|
228
|
+
$$typeof: c,
|
|
229
|
+
render: e
|
|
230
|
+
};
|
|
231
|
+
}, e.isValidElement = D, e.lazy = function(e) {
|
|
232
|
+
return {
|
|
233
|
+
$$typeof: d,
|
|
234
|
+
_payload: {
|
|
235
|
+
_status: -1,
|
|
236
|
+
_result: e
|
|
237
|
+
},
|
|
238
|
+
_init: P
|
|
239
|
+
};
|
|
240
|
+
}, e.memo = function(e, t) {
|
|
241
|
+
return {
|
|
242
|
+
$$typeof: u,
|
|
243
|
+
type: e,
|
|
244
|
+
compare: t === void 0 ? null : t
|
|
245
|
+
};
|
|
246
|
+
}, e.startTransition = function(e) {
|
|
247
|
+
var t = w.T, n = {};
|
|
248
|
+
w.T = n;
|
|
249
|
+
try {
|
|
250
|
+
var r = e(), i = w.S;
|
|
251
|
+
i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(C, F);
|
|
252
|
+
} catch (e) {
|
|
253
|
+
F(e);
|
|
254
|
+
} finally {
|
|
255
|
+
t !== null && n.types !== null && (t.types = n.types), w.T = t;
|
|
256
|
+
}
|
|
257
|
+
}, e.unstable_useCacheRefresh = function() {
|
|
258
|
+
return w.H.useCacheRefresh();
|
|
259
|
+
}, e.use = function(e) {
|
|
260
|
+
return w.H.use(e);
|
|
261
|
+
}, e.useActionState = function(e, t, n) {
|
|
262
|
+
return w.H.useActionState(e, t, n);
|
|
263
|
+
}, e.useCallback = function(e, t) {
|
|
264
|
+
return w.H.useCallback(e, t);
|
|
265
|
+
}, e.useContext = function(e) {
|
|
266
|
+
return w.H.useContext(e);
|
|
267
|
+
}, e.useDebugValue = function() {}, e.useDeferredValue = function(e, t) {
|
|
268
|
+
return w.H.useDeferredValue(e, t);
|
|
269
|
+
}, e.useEffect = function(e, t) {
|
|
270
|
+
return w.H.useEffect(e, t);
|
|
271
|
+
}, e.useEffectEvent = function(e) {
|
|
272
|
+
return w.H.useEffectEvent(e);
|
|
273
|
+
}, e.useId = function() {
|
|
274
|
+
return w.H.useId();
|
|
275
|
+
}, e.useImperativeHandle = function(e, t, n) {
|
|
276
|
+
return w.H.useImperativeHandle(e, t, n);
|
|
277
|
+
}, e.useInsertionEffect = function(e, t) {
|
|
278
|
+
return w.H.useInsertionEffect(e, t);
|
|
279
|
+
}, e.useLayoutEffect = function(e, t) {
|
|
280
|
+
return w.H.useLayoutEffect(e, t);
|
|
281
|
+
}, e.useMemo = function(e, t) {
|
|
282
|
+
return w.H.useMemo(e, t);
|
|
283
|
+
}, e.useOptimistic = function(e, t) {
|
|
284
|
+
return w.H.useOptimistic(e, t);
|
|
285
|
+
}, e.useReducer = function(e, t, n) {
|
|
286
|
+
return w.H.useReducer(e, t, n);
|
|
287
|
+
}, e.useRef = function(e) {
|
|
288
|
+
return w.H.useRef(e);
|
|
289
|
+
}, e.useState = function(e) {
|
|
290
|
+
return w.H.useState(e);
|
|
291
|
+
}, e.useSyncExternalStore = function(e, t, n) {
|
|
292
|
+
return w.H.useSyncExternalStore(e, t, n);
|
|
293
|
+
}, e.useTransition = function() {
|
|
294
|
+
return w.H.useTransition();
|
|
295
|
+
}, e.version = "19.2.4";
|
|
296
|
+
})), require_react_development = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
297
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
298
|
+
function n(e, t) {
|
|
299
|
+
Object.defineProperty(a.prototype, e, { get: function() {
|
|
300
|
+
console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", t[0], t[1]);
|
|
301
|
+
} });
|
|
302
|
+
}
|
|
303
|
+
function r(e) {
|
|
304
|
+
return typeof e != "object" || !e ? null : (e = oe && e[oe] || e["@@iterator"], typeof e == "function" ? e : null);
|
|
305
|
+
}
|
|
306
|
+
function i(e, t) {
|
|
307
|
+
e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
|
|
308
|
+
var n = e + "." + t;
|
|
309
|
+
se[n] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", t, e), se[n] = !0);
|
|
310
|
+
}
|
|
311
|
+
function a(e, t, n) {
|
|
312
|
+
this.props = e, this.context = t, this.refs = W, this.updater = n || H;
|
|
313
|
+
}
|
|
314
|
+
function o() {}
|
|
315
|
+
function s(e, t, n) {
|
|
316
|
+
this.props = e, this.context = t, this.refs = W, this.updater = n || H;
|
|
317
|
+
}
|
|
318
|
+
function c() {}
|
|
319
|
+
function l(e) {
|
|
320
|
+
return "" + e;
|
|
321
|
+
}
|
|
322
|
+
function u(e) {
|
|
323
|
+
try {
|
|
324
|
+
l(e);
|
|
325
|
+
var t = !1;
|
|
326
|
+
} catch {
|
|
327
|
+
t = !0;
|
|
328
|
+
}
|
|
329
|
+
if (t) {
|
|
330
|
+
t = console;
|
|
331
|
+
var n = t.error, r = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
332
|
+
return n.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", r), l(e);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
function d(e) {
|
|
336
|
+
if (e == null) return null;
|
|
337
|
+
if (typeof e == "function") return e.$$typeof === ce ? null : e.displayName || e.name || null;
|
|
338
|
+
if (typeof e == "string") return e;
|
|
339
|
+
switch (e) {
|
|
340
|
+
case I: return "Fragment";
|
|
341
|
+
case ne: return "Profiler";
|
|
342
|
+
case te: return "StrictMode";
|
|
343
|
+
case re: return "Suspense";
|
|
344
|
+
case ie: return "SuspenseList";
|
|
345
|
+
case ae: return "Activity";
|
|
346
|
+
}
|
|
347
|
+
if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
|
|
348
|
+
case F: return "Portal";
|
|
349
|
+
case R: return e.displayName || "Context";
|
|
350
|
+
case L: return (e._context.displayName || "Context") + ".Consumer";
|
|
351
|
+
case z:
|
|
352
|
+
var t = e.render;
|
|
353
|
+
return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
|
|
354
|
+
case B: return t = e.displayName || null, t === null ? d(e.type) || "Memo" : t;
|
|
355
|
+
case V:
|
|
356
|
+
t = e._payload, e = e._init;
|
|
357
|
+
try {
|
|
358
|
+
return d(e(t));
|
|
359
|
+
} catch {}
|
|
360
|
+
}
|
|
361
|
+
return null;
|
|
362
|
+
}
|
|
363
|
+
function f(e) {
|
|
364
|
+
if (e === I) return "<>";
|
|
365
|
+
if (typeof e == "object" && e && e.$$typeof === V) return "<...>";
|
|
366
|
+
try {
|
|
367
|
+
var t = d(e);
|
|
368
|
+
return t ? "<" + t + ">" : "<...>";
|
|
369
|
+
} catch {
|
|
370
|
+
return "<...>";
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
function p() {
|
|
374
|
+
var e = q.A;
|
|
375
|
+
return e === null ? null : e.getOwner();
|
|
376
|
+
}
|
|
377
|
+
function m() {
|
|
378
|
+
return Error("react-stack-top-frame");
|
|
379
|
+
}
|
|
380
|
+
function h(e) {
|
|
381
|
+
if (J.call(e, "key")) {
|
|
382
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
383
|
+
if (t && t.isReactWarning) return !1;
|
|
384
|
+
}
|
|
385
|
+
return e.key !== void 0;
|
|
386
|
+
}
|
|
387
|
+
function g(e, t) {
|
|
388
|
+
function n() {
|
|
389
|
+
ue || (ue = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", t));
|
|
390
|
+
}
|
|
391
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
392
|
+
get: n,
|
|
393
|
+
configurable: !0
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
function _() {
|
|
397
|
+
var e = d(this.type);
|
|
398
|
+
return fe[e] || (fe[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
|
|
399
|
+
}
|
|
400
|
+
function v(e, t, n, r, i, a) {
|
|
401
|
+
var o = n.ref;
|
|
402
|
+
return e = {
|
|
403
|
+
$$typeof: P,
|
|
404
|
+
type: e,
|
|
405
|
+
key: t,
|
|
406
|
+
props: n,
|
|
407
|
+
_owner: r
|
|
408
|
+
}, (o === void 0 ? null : o) === null ? Object.defineProperty(e, "ref", {
|
|
409
|
+
enumerable: !1,
|
|
410
|
+
value: null
|
|
411
|
+
}) : Object.defineProperty(e, "ref", {
|
|
412
|
+
enumerable: !1,
|
|
413
|
+
get: _
|
|
414
|
+
}), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
415
|
+
configurable: !1,
|
|
416
|
+
enumerable: !1,
|
|
417
|
+
writable: !0,
|
|
418
|
+
value: 0
|
|
419
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
420
|
+
configurable: !1,
|
|
421
|
+
enumerable: !1,
|
|
422
|
+
writable: !0,
|
|
423
|
+
value: null
|
|
424
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
425
|
+
configurable: !1,
|
|
426
|
+
enumerable: !1,
|
|
427
|
+
writable: !0,
|
|
428
|
+
value: i
|
|
429
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
430
|
+
configurable: !1,
|
|
431
|
+
enumerable: !1,
|
|
432
|
+
writable: !0,
|
|
433
|
+
value: a
|
|
434
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
435
|
+
}
|
|
436
|
+
function y(e, t) {
|
|
437
|
+
return t = v(e.type, t, e.props, e._owner, e._debugStack, e._debugTask), e._store && (t._store.validated = e._store.validated), t;
|
|
438
|
+
}
|
|
439
|
+
function b(e) {
|
|
440
|
+
x(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === V && (e._payload.status === "fulfilled" ? x(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
441
|
+
}
|
|
442
|
+
function x(e) {
|
|
443
|
+
return typeof e == "object" && !!e && e.$$typeof === P;
|
|
444
|
+
}
|
|
445
|
+
function S(e) {
|
|
446
|
+
var t = {
|
|
447
|
+
"=": "=0",
|
|
448
|
+
":": "=2"
|
|
449
|
+
};
|
|
450
|
+
return "$" + e.replace(/[=:]/g, function(e) {
|
|
451
|
+
return t[e];
|
|
452
|
+
});
|
|
453
|
+
}
|
|
454
|
+
function C(e, t) {
|
|
455
|
+
return typeof e == "object" && e && e.key != null ? (u(e.key), S("" + e.key)) : t.toString(36);
|
|
456
|
+
}
|
|
457
|
+
function w(e) {
|
|
458
|
+
switch (e.status) {
|
|
459
|
+
case "fulfilled": return e.value;
|
|
460
|
+
case "rejected": throw e.reason;
|
|
461
|
+
default: switch (typeof e.status == "string" ? e.then(c, c) : (e.status = "pending", e.then(function(t) {
|
|
462
|
+
e.status === "pending" && (e.status = "fulfilled", e.value = t);
|
|
463
|
+
}, function(t) {
|
|
464
|
+
e.status === "pending" && (e.status = "rejected", e.reason = t);
|
|
465
|
+
})), e.status) {
|
|
466
|
+
case "fulfilled": return e.value;
|
|
467
|
+
case "rejected": throw e.reason;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
throw e;
|
|
471
|
+
}
|
|
472
|
+
function T(e, t, n, i, a) {
|
|
473
|
+
var o = typeof e;
|
|
474
|
+
(o === "undefined" || o === "boolean") && (e = null);
|
|
475
|
+
var s = !1;
|
|
476
|
+
if (e === null) s = !0;
|
|
477
|
+
else switch (o) {
|
|
478
|
+
case "bigint":
|
|
479
|
+
case "string":
|
|
480
|
+
case "number":
|
|
481
|
+
s = !0;
|
|
482
|
+
break;
|
|
483
|
+
case "object": switch (e.$$typeof) {
|
|
484
|
+
case P:
|
|
485
|
+
case F:
|
|
486
|
+
s = !0;
|
|
487
|
+
break;
|
|
488
|
+
case V: return s = e._init, T(s(e._payload), t, n, i, a);
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
if (s) {
|
|
492
|
+
s = e, a = a(s);
|
|
493
|
+
var c = i === "" ? "." + C(s, 0) : i;
|
|
494
|
+
return K(a) ? (n = "", c != null && (n = c.replace(ge, "$&/") + "/"), T(a, t, n, "", function(e) {
|
|
495
|
+
return e;
|
|
496
|
+
})) : a != null && (x(a) && (a.key != null && (s && s.key === a.key || u(a.key)), n = y(a, n + (a.key == null || s && s.key === a.key ? "" : ("" + a.key).replace(ge, "$&/") + "/") + c), i !== "" && s != null && x(s) && s.key == null && s._store && !s._store.validated && (n._store.validated = 2), a = n), t.push(a)), 1;
|
|
497
|
+
}
|
|
498
|
+
if (s = 0, c = i === "" ? "." : i + ":", K(e)) for (var l = 0; l < e.length; l++) i = e[l], o = c + C(i, l), s += T(i, t, n, o, a);
|
|
499
|
+
else if (l = r(e), typeof l == "function") for (l === e.entries && (he || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), he = !0), e = l.call(e), l = 0; !(i = e.next()).done;) i = i.value, o = c + C(i, l++), s += T(i, t, n, o, a);
|
|
500
|
+
else if (o === "object") {
|
|
501
|
+
if (typeof e.then == "function") return T(w(e), t, n, i, a);
|
|
502
|
+
throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
|
|
503
|
+
}
|
|
504
|
+
return s;
|
|
505
|
+
}
|
|
506
|
+
function E(e, t, n) {
|
|
507
|
+
if (e == null) return e;
|
|
508
|
+
var r = [], i = 0;
|
|
509
|
+
return T(e, r, "", "", function(e) {
|
|
510
|
+
return t.call(n, e, i++);
|
|
511
|
+
}), r;
|
|
512
|
+
}
|
|
513
|
+
function ee(e) {
|
|
514
|
+
if (e._status === -1) {
|
|
515
|
+
var t = e._ioInfo;
|
|
516
|
+
t != null && (t.start = t.end = performance.now()), t = e._result;
|
|
517
|
+
var n = t();
|
|
518
|
+
if (n.then(function(t) {
|
|
519
|
+
if (e._status === 0 || e._status === -1) {
|
|
520
|
+
e._status = 1, e._result = t;
|
|
521
|
+
var r = e._ioInfo;
|
|
522
|
+
r != null && (r.end = performance.now()), n.status === void 0 && (n.status = "fulfilled", n.value = t);
|
|
523
|
+
}
|
|
524
|
+
}, function(t) {
|
|
525
|
+
if (e._status === 0 || e._status === -1) {
|
|
526
|
+
e._status = 2, e._result = t;
|
|
527
|
+
var r = e._ioInfo;
|
|
528
|
+
r != null && (r.end = performance.now()), n.status === void 0 && (n.status = "rejected", n.reason = t);
|
|
529
|
+
}
|
|
530
|
+
}), t = e._ioInfo, t != null) {
|
|
531
|
+
t.value = n;
|
|
532
|
+
var r = n.displayName;
|
|
533
|
+
typeof r == "string" && (t.name = r);
|
|
534
|
+
}
|
|
535
|
+
e._status === -1 && (e._status = 0, e._result = n);
|
|
536
|
+
}
|
|
537
|
+
if (e._status === 1) return t = e._result, t === void 0 && console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", t), "default" in t || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", t), t.default;
|
|
538
|
+
throw e._result;
|
|
539
|
+
}
|
|
540
|
+
function D() {
|
|
541
|
+
var e = q.H;
|
|
542
|
+
return e === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), e;
|
|
543
|
+
}
|
|
544
|
+
function O() {
|
|
545
|
+
q.asyncTransitions--;
|
|
546
|
+
}
|
|
547
|
+
function k(e) {
|
|
548
|
+
if (Y === null) try {
|
|
549
|
+
var n = ("require" + Math.random()).slice(0, 7);
|
|
550
|
+
Y = (t && t[n]).call(t, "timers").setImmediate;
|
|
551
|
+
} catch {
|
|
552
|
+
Y = function(e) {
|
|
553
|
+
!1 === ve && (ve = !0, typeof MessageChannel > "u" && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
554
|
+
var t = new MessageChannel();
|
|
555
|
+
t.port1.onmessage = e, t.port2.postMessage(void 0);
|
|
556
|
+
};
|
|
557
|
+
}
|
|
558
|
+
return Y(e);
|
|
559
|
+
}
|
|
560
|
+
function A(e) {
|
|
561
|
+
return 1 < e.length && typeof AggregateError == "function" ? AggregateError(e) : e[0];
|
|
562
|
+
}
|
|
563
|
+
function j(e, t) {
|
|
564
|
+
t !== X - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), X = t;
|
|
565
|
+
}
|
|
566
|
+
function M(e, t, n) {
|
|
567
|
+
var r = q.actQueue;
|
|
568
|
+
if (r !== null) if (r.length !== 0) try {
|
|
569
|
+
N(r), k(function() {
|
|
570
|
+
return M(e, t, n);
|
|
571
|
+
});
|
|
572
|
+
return;
|
|
573
|
+
} catch (e) {
|
|
574
|
+
q.thrownErrors.push(e);
|
|
575
|
+
}
|
|
576
|
+
else q.actQueue = null;
|
|
577
|
+
0 < q.thrownErrors.length ? (r = A(q.thrownErrors), q.thrownErrors.length = 0, n(r)) : t(e);
|
|
578
|
+
}
|
|
579
|
+
function N(e) {
|
|
580
|
+
if (!Q) {
|
|
581
|
+
Q = !0;
|
|
582
|
+
var t = 0;
|
|
583
|
+
try {
|
|
584
|
+
for (; t < e.length; t++) {
|
|
585
|
+
var n = e[t];
|
|
586
|
+
do {
|
|
587
|
+
q.didUsePromise = !1;
|
|
588
|
+
var r = n(!1);
|
|
589
|
+
if (r !== null) {
|
|
590
|
+
if (q.didUsePromise) {
|
|
591
|
+
e[t] = n, e.splice(0, t);
|
|
592
|
+
return;
|
|
593
|
+
}
|
|
594
|
+
n = r;
|
|
595
|
+
} else break;
|
|
596
|
+
} while (1);
|
|
597
|
+
}
|
|
598
|
+
e.length = 0;
|
|
599
|
+
} catch (n) {
|
|
600
|
+
e.splice(0, t + 1), q.thrownErrors.push(n);
|
|
601
|
+
} finally {
|
|
602
|
+
Q = !1;
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
607
|
+
var P = Symbol.for("react.transitional.element"), F = Symbol.for("react.portal"), I = Symbol.for("react.fragment"), te = Symbol.for("react.strict_mode"), ne = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), R = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), ie = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), ae = Symbol.for("react.activity"), oe = Symbol.iterator, se = {}, H = {
|
|
608
|
+
isMounted: function() {
|
|
609
|
+
return !1;
|
|
610
|
+
},
|
|
611
|
+
enqueueForceUpdate: function(e) {
|
|
612
|
+
i(e, "forceUpdate");
|
|
613
|
+
},
|
|
614
|
+
enqueueReplaceState: function(e) {
|
|
615
|
+
i(e, "replaceState");
|
|
616
|
+
},
|
|
617
|
+
enqueueSetState: function(e) {
|
|
618
|
+
i(e, "setState");
|
|
619
|
+
}
|
|
620
|
+
}, U = Object.assign, W = {};
|
|
621
|
+
Object.freeze(W), a.prototype.isReactComponent = {}, a.prototype.setState = function(e, t) {
|
|
622
|
+
if (typeof e != "object" && typeof e != "function" && e != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
|
|
623
|
+
this.updater.enqueueSetState(this, e, t, "setState");
|
|
624
|
+
}, a.prototype.forceUpdate = function(e) {
|
|
625
|
+
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
626
|
+
};
|
|
627
|
+
var G = {
|
|
628
|
+
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
629
|
+
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
630
|
+
};
|
|
631
|
+
for ($ in G) G.hasOwnProperty($) && n($, G[$]);
|
|
632
|
+
o.prototype = a.prototype, G = s.prototype = new o(), G.constructor = s, U(G, a.prototype), G.isPureReactComponent = !0;
|
|
633
|
+
var K = Array.isArray, ce = Symbol.for("react.client.reference"), q = {
|
|
634
|
+
H: null,
|
|
635
|
+
A: null,
|
|
636
|
+
T: null,
|
|
637
|
+
S: null,
|
|
638
|
+
actQueue: null,
|
|
639
|
+
asyncTransitions: 0,
|
|
640
|
+
isBatchingLegacy: !1,
|
|
641
|
+
didScheduleLegacyUpdate: !1,
|
|
642
|
+
didUsePromise: !1,
|
|
643
|
+
thrownErrors: [],
|
|
644
|
+
getCurrentStack: null,
|
|
645
|
+
recentlyCreatedOwnerStacks: 0
|
|
646
|
+
}, J = Object.prototype.hasOwnProperty, le = console.createTask ? console.createTask : function() {
|
|
647
|
+
return null;
|
|
648
|
+
};
|
|
649
|
+
G = { react_stack_bottom_frame: function(e) {
|
|
650
|
+
return e();
|
|
651
|
+
} };
|
|
652
|
+
var ue, de, fe = {}, pe = G.react_stack_bottom_frame.bind(G, m)(), me = le(f(m)), he = !1, ge = /\/+/g, _e = typeof reportError == "function" ? reportError : function(e) {
|
|
653
|
+
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
|
|
654
|
+
var t = new window.ErrorEvent("error", {
|
|
655
|
+
bubbles: !0,
|
|
656
|
+
cancelable: !0,
|
|
657
|
+
message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),
|
|
658
|
+
error: e
|
|
659
|
+
});
|
|
660
|
+
if (!window.dispatchEvent(t)) return;
|
|
661
|
+
} else if (typeof process == "object" && typeof process.emit == "function") {
|
|
662
|
+
process.emit("uncaughtException", e);
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
665
|
+
console.error(e);
|
|
666
|
+
}, ve = !1, Y = null, X = 0, Z = !1, Q = !1, ye = typeof queueMicrotask == "function" ? function(e) {
|
|
667
|
+
queueMicrotask(function() {
|
|
668
|
+
return queueMicrotask(e);
|
|
669
|
+
});
|
|
670
|
+
} : k;
|
|
671
|
+
G = Object.freeze({
|
|
672
|
+
__proto__: null,
|
|
673
|
+
c: function(e) {
|
|
674
|
+
return D().useMemoCache(e);
|
|
675
|
+
}
|
|
676
|
+
});
|
|
677
|
+
var $ = {
|
|
678
|
+
map: E,
|
|
679
|
+
forEach: function(e, t, n) {
|
|
680
|
+
E(e, function() {
|
|
681
|
+
t.apply(this, arguments);
|
|
682
|
+
}, n);
|
|
683
|
+
},
|
|
684
|
+
count: function(e) {
|
|
685
|
+
var t = 0;
|
|
686
|
+
return E(e, function() {
|
|
687
|
+
t++;
|
|
688
|
+
}), t;
|
|
689
|
+
},
|
|
690
|
+
toArray: function(e) {
|
|
691
|
+
return E(e, function(e) {
|
|
692
|
+
return e;
|
|
693
|
+
}) || [];
|
|
694
|
+
},
|
|
695
|
+
only: function(e) {
|
|
696
|
+
if (!x(e)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
697
|
+
return e;
|
|
698
|
+
}
|
|
699
|
+
};
|
|
700
|
+
e.Activity = ae, e.Children = $, e.Component = a, e.Fragment = I, e.Profiler = ne, e.PureComponent = s, e.StrictMode = te, e.Suspense = re, e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = q, e.__COMPILER_RUNTIME = G, e.act = function(e) {
|
|
701
|
+
var t = q.actQueue, n = X;
|
|
702
|
+
X++;
|
|
703
|
+
var r = q.actQueue = t === null ? [] : t, i = !1;
|
|
704
|
+
try {
|
|
705
|
+
var a = e();
|
|
706
|
+
} catch (e) {
|
|
707
|
+
q.thrownErrors.push(e);
|
|
708
|
+
}
|
|
709
|
+
if (0 < q.thrownErrors.length) throw j(t, n), e = A(q.thrownErrors), q.thrownErrors.length = 0, e;
|
|
710
|
+
if (typeof a == "object" && a && typeof a.then == "function") {
|
|
711
|
+
var o = a;
|
|
712
|
+
return ye(function() {
|
|
713
|
+
i || Z || (Z = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
714
|
+
}), { then: function(e, a) {
|
|
715
|
+
i = !0, o.then(function(i) {
|
|
716
|
+
if (j(t, n), n === 0) {
|
|
717
|
+
try {
|
|
718
|
+
N(r), k(function() {
|
|
719
|
+
return M(i, e, a);
|
|
720
|
+
});
|
|
721
|
+
} catch (e) {
|
|
722
|
+
q.thrownErrors.push(e);
|
|
723
|
+
}
|
|
724
|
+
if (0 < q.thrownErrors.length) {
|
|
725
|
+
var o = A(q.thrownErrors);
|
|
726
|
+
q.thrownErrors.length = 0, a(o);
|
|
727
|
+
}
|
|
728
|
+
} else e(i);
|
|
729
|
+
}, function(e) {
|
|
730
|
+
j(t, n), 0 < q.thrownErrors.length ? (e = A(q.thrownErrors), q.thrownErrors.length = 0, a(e)) : a(e);
|
|
731
|
+
});
|
|
732
|
+
} };
|
|
733
|
+
}
|
|
734
|
+
var s = a;
|
|
735
|
+
if (j(t, n), n === 0 && (N(r), r.length !== 0 && ye(function() {
|
|
736
|
+
i || Z || (Z = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
|
|
737
|
+
}), q.actQueue = null), 0 < q.thrownErrors.length) throw e = A(q.thrownErrors), q.thrownErrors.length = 0, e;
|
|
738
|
+
return { then: function(e, t) {
|
|
739
|
+
i = !0, n === 0 ? (q.actQueue = r, k(function() {
|
|
740
|
+
return M(s, e, t);
|
|
741
|
+
})) : e(s);
|
|
742
|
+
} };
|
|
743
|
+
}, e.cache = function(e) {
|
|
744
|
+
return function() {
|
|
745
|
+
return e.apply(null, arguments);
|
|
746
|
+
};
|
|
747
|
+
}, e.cacheSignal = function() {
|
|
748
|
+
return null;
|
|
749
|
+
}, e.captureOwnerStack = function() {
|
|
750
|
+
var e = q.getCurrentStack;
|
|
751
|
+
return e === null ? null : e();
|
|
752
|
+
}, e.cloneElement = function(e, t, n) {
|
|
753
|
+
if (e == null) throw Error("The argument must be a React element, but you passed " + e + ".");
|
|
754
|
+
var r = U({}, e.props), i = e.key, a = e._owner;
|
|
755
|
+
if (t != null) {
|
|
756
|
+
var o;
|
|
757
|
+
a: {
|
|
758
|
+
if (J.call(t, "ref") && (o = Object.getOwnPropertyDescriptor(t, "ref").get) && o.isReactWarning) {
|
|
759
|
+
o = !1;
|
|
760
|
+
break a;
|
|
761
|
+
}
|
|
762
|
+
o = t.ref !== void 0;
|
|
763
|
+
}
|
|
764
|
+
for (s in o && (a = p()), h(t) && (u(t.key), i = "" + t.key), t) !J.call(t, s) || s === "key" || s === "__self" || s === "__source" || s === "ref" && t.ref === void 0 || (r[s] = t[s]);
|
|
765
|
+
}
|
|
766
|
+
var s = arguments.length - 2;
|
|
767
|
+
if (s === 1) r.children = n;
|
|
768
|
+
else if (1 < s) {
|
|
769
|
+
o = Array(s);
|
|
770
|
+
for (var c = 0; c < s; c++) o[c] = arguments[c + 2];
|
|
771
|
+
r.children = o;
|
|
772
|
+
}
|
|
773
|
+
for (r = v(e.type, i, r, a, e._debugStack, e._debugTask), i = 2; i < arguments.length; i++) b(arguments[i]);
|
|
774
|
+
return r;
|
|
775
|
+
}, e.createContext = function(e) {
|
|
776
|
+
return e = {
|
|
777
|
+
$$typeof: R,
|
|
778
|
+
_currentValue: e,
|
|
779
|
+
_currentValue2: e,
|
|
780
|
+
_threadCount: 0,
|
|
781
|
+
Provider: null,
|
|
782
|
+
Consumer: null
|
|
783
|
+
}, e.Provider = e, e.Consumer = {
|
|
784
|
+
$$typeof: L,
|
|
785
|
+
_context: e
|
|
786
|
+
}, e._currentRenderer = null, e._currentRenderer2 = null, e;
|
|
787
|
+
}, e.createElement = function(e, t, n) {
|
|
788
|
+
for (var r = 2; r < arguments.length; r++) b(arguments[r]);
|
|
789
|
+
r = {};
|
|
790
|
+
var i = null;
|
|
791
|
+
if (t != null) for (c in de || !("__self" in t) || "key" in t || (de = !0, 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")), h(t) && (u(t.key), i = "" + t.key), t) J.call(t, c) && c !== "key" && c !== "__self" && c !== "__source" && (r[c] = t[c]);
|
|
792
|
+
var a = arguments.length - 2;
|
|
793
|
+
if (a === 1) r.children = n;
|
|
794
|
+
else if (1 < a) {
|
|
795
|
+
for (var o = Array(a), s = 0; s < a; s++) o[s] = arguments[s + 2];
|
|
796
|
+
Object.freeze && Object.freeze(o), r.children = o;
|
|
797
|
+
}
|
|
798
|
+
if (e && e.defaultProps) for (c in a = e.defaultProps, a) r[c] === void 0 && (r[c] = a[c]);
|
|
799
|
+
i && g(r, typeof e == "function" ? e.displayName || e.name || "Unknown" : e);
|
|
800
|
+
var c = 1e4 > q.recentlyCreatedOwnerStacks++;
|
|
801
|
+
return v(e, i, r, p(), c ? Error("react-stack-top-frame") : pe, c ? le(f(e)) : me);
|
|
802
|
+
}, e.createRef = function() {
|
|
803
|
+
var e = { current: null };
|
|
804
|
+
return Object.seal(e), e;
|
|
805
|
+
}, e.forwardRef = function(e) {
|
|
806
|
+
e != null && e.$$typeof === B ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e == "function" ? e.length !== 0 && e.length !== 2 && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.") : console.error("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e), e != null && e.defaultProps != null && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
|
|
807
|
+
var t = {
|
|
808
|
+
$$typeof: z,
|
|
809
|
+
render: e
|
|
810
|
+
}, n;
|
|
811
|
+
return Object.defineProperty(t, "displayName", {
|
|
812
|
+
enumerable: !1,
|
|
813
|
+
configurable: !0,
|
|
814
|
+
get: function() {
|
|
815
|
+
return n;
|
|
816
|
+
},
|
|
817
|
+
set: function(t) {
|
|
818
|
+
n = t, e.name || e.displayName || (Object.defineProperty(e, "name", { value: t }), e.displayName = t);
|
|
819
|
+
}
|
|
820
|
+
}), t;
|
|
821
|
+
}, e.isValidElement = x, e.lazy = function(e) {
|
|
822
|
+
e = {
|
|
823
|
+
_status: -1,
|
|
824
|
+
_result: e
|
|
825
|
+
};
|
|
826
|
+
var t = {
|
|
827
|
+
$$typeof: V,
|
|
828
|
+
_payload: e,
|
|
829
|
+
_init: ee
|
|
830
|
+
}, n = {
|
|
831
|
+
name: "lazy",
|
|
832
|
+
start: -1,
|
|
833
|
+
end: -1,
|
|
834
|
+
value: null,
|
|
835
|
+
owner: null,
|
|
836
|
+
debugStack: Error("react-stack-top-frame"),
|
|
837
|
+
debugTask: console.createTask ? console.createTask("lazy()") : null
|
|
838
|
+
};
|
|
839
|
+
return e._ioInfo = n, t._debugInfo = [{ awaited: n }], t;
|
|
840
|
+
}, e.memo = function(e, t) {
|
|
841
|
+
e ?? console.error("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e), t = {
|
|
842
|
+
$$typeof: B,
|
|
843
|
+
type: e,
|
|
844
|
+
compare: t === void 0 ? null : t
|
|
845
|
+
};
|
|
846
|
+
var n;
|
|
847
|
+
return Object.defineProperty(t, "displayName", {
|
|
848
|
+
enumerable: !1,
|
|
849
|
+
configurable: !0,
|
|
850
|
+
get: function() {
|
|
851
|
+
return n;
|
|
852
|
+
},
|
|
853
|
+
set: function(t) {
|
|
854
|
+
n = t, e.name || e.displayName || (Object.defineProperty(e, "name", { value: t }), e.displayName = t);
|
|
855
|
+
}
|
|
856
|
+
}), t;
|
|
857
|
+
}, e.startTransition = function(e) {
|
|
858
|
+
var t = q.T, n = {};
|
|
859
|
+
n._updatedFibers = /* @__PURE__ */ new Set(), q.T = n;
|
|
860
|
+
try {
|
|
861
|
+
var r = e(), i = q.S;
|
|
862
|
+
i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && (q.asyncTransitions++, r.then(O, O), r.then(c, _e));
|
|
863
|
+
} catch (e) {
|
|
864
|
+
_e(e);
|
|
865
|
+
} finally {
|
|
866
|
+
t === null && n._updatedFibers && (e = n._updatedFibers.size, n._updatedFibers.clear(), 10 < e && console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")), t !== null && n.types !== null && (t.types !== null && t.types !== n.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), t.types = n.types), q.T = t;
|
|
867
|
+
}
|
|
868
|
+
}, e.unstable_useCacheRefresh = function() {
|
|
869
|
+
return D().useCacheRefresh();
|
|
870
|
+
}, e.use = function(e) {
|
|
871
|
+
return D().use(e);
|
|
872
|
+
}, e.useActionState = function(e, t, n) {
|
|
873
|
+
return D().useActionState(e, t, n);
|
|
874
|
+
}, e.useCallback = function(e, t) {
|
|
875
|
+
return D().useCallback(e, t);
|
|
876
|
+
}, e.useContext = function(e) {
|
|
877
|
+
var t = D();
|
|
878
|
+
return e.$$typeof === L && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"), t.useContext(e);
|
|
879
|
+
}, e.useDebugValue = function(e, t) {
|
|
880
|
+
return D().useDebugValue(e, t);
|
|
881
|
+
}, e.useDeferredValue = function(e, t) {
|
|
882
|
+
return D().useDeferredValue(e, t);
|
|
883
|
+
}, e.useEffect = function(e, t) {
|
|
884
|
+
return e ?? console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"), D().useEffect(e, t);
|
|
885
|
+
}, e.useEffectEvent = function(e) {
|
|
886
|
+
return D().useEffectEvent(e);
|
|
887
|
+
}, e.useId = function() {
|
|
888
|
+
return D().useId();
|
|
889
|
+
}, e.useImperativeHandle = function(e, t, n) {
|
|
890
|
+
return D().useImperativeHandle(e, t, n);
|
|
891
|
+
}, e.useInsertionEffect = function(e, t) {
|
|
892
|
+
return e ?? console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"), D().useInsertionEffect(e, t);
|
|
893
|
+
}, e.useLayoutEffect = function(e, t) {
|
|
894
|
+
return e ?? console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"), D().useLayoutEffect(e, t);
|
|
895
|
+
}, e.useMemo = function(e, t) {
|
|
896
|
+
return D().useMemo(e, t);
|
|
897
|
+
}, e.useOptimistic = function(e, t) {
|
|
898
|
+
return D().useOptimistic(e, t);
|
|
899
|
+
}, e.useReducer = function(e, t, n) {
|
|
900
|
+
return D().useReducer(e, t, n);
|
|
901
|
+
}, e.useRef = function(e) {
|
|
902
|
+
return D().useRef(e);
|
|
903
|
+
}, e.useState = function(e) {
|
|
904
|
+
return D().useState(e);
|
|
905
|
+
}, e.useSyncExternalStore = function(e, t, n) {
|
|
906
|
+
return D().useSyncExternalStore(e, t, n);
|
|
907
|
+
}, e.useTransition = function() {
|
|
908
|
+
return D().useTransition();
|
|
909
|
+
}, e.version = "19.2.4", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
910
|
+
})();
|
|
911
|
+
})), require_react = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
912
|
+
process.env.NODE_ENV === "production" ? t.exports = require_react_production() : t.exports = require_react_development();
|
|
913
|
+
})), require_react_dom_production = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
914
|
+
var t = require_react();
|
|
915
|
+
function n(e) {
|
|
916
|
+
var t = "https://react.dev/errors/" + e;
|
|
917
|
+
if (1 < arguments.length) {
|
|
918
|
+
t += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
919
|
+
for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
920
|
+
}
|
|
921
|
+
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
922
|
+
}
|
|
923
|
+
function r() {}
|
|
924
|
+
var i = {
|
|
925
|
+
d: {
|
|
926
|
+
f: r,
|
|
927
|
+
r: function() {
|
|
928
|
+
throw Error(n(522));
|
|
929
|
+
},
|
|
930
|
+
D: r,
|
|
931
|
+
C: r,
|
|
932
|
+
L: r,
|
|
933
|
+
m: r,
|
|
934
|
+
X: r,
|
|
935
|
+
S: r,
|
|
936
|
+
M: r
|
|
937
|
+
},
|
|
938
|
+
p: 0,
|
|
939
|
+
findDOMNode: null
|
|
940
|
+
}, a = Symbol.for("react.portal");
|
|
941
|
+
function o(e, t, n) {
|
|
942
|
+
var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
943
|
+
return {
|
|
944
|
+
$$typeof: a,
|
|
945
|
+
key: r == null ? null : "" + r,
|
|
946
|
+
children: e,
|
|
947
|
+
containerInfo: t,
|
|
948
|
+
implementation: n
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
var s = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
952
|
+
function c(e, t) {
|
|
953
|
+
if (e === "font") return "";
|
|
954
|
+
if (typeof t == "string") return t === "use-credentials" ? t : "";
|
|
955
|
+
}
|
|
956
|
+
e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, e.createPortal = function(e, t) {
|
|
957
|
+
var r = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
958
|
+
if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error(n(299));
|
|
959
|
+
return o(e, t, null, r);
|
|
960
|
+
}, e.flushSync = function(e) {
|
|
961
|
+
var t = s.T, n = i.p;
|
|
962
|
+
try {
|
|
963
|
+
if (s.T = null, i.p = 2, e) return e();
|
|
964
|
+
} finally {
|
|
965
|
+
s.T = t, i.p = n, i.d.f();
|
|
966
|
+
}
|
|
967
|
+
}, e.preconnect = function(e, t) {
|
|
968
|
+
typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, i.d.C(e, t));
|
|
969
|
+
}, e.prefetchDNS = function(e) {
|
|
970
|
+
typeof e == "string" && i.d.D(e);
|
|
971
|
+
}, e.preinit = function(e, t) {
|
|
972
|
+
if (typeof e == "string" && t && typeof t.as == "string") {
|
|
973
|
+
var n = t.as, r = c(n, t.crossOrigin), a = typeof t.integrity == "string" ? t.integrity : void 0, o = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
|
|
974
|
+
n === "style" ? i.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
|
|
975
|
+
crossOrigin: r,
|
|
976
|
+
integrity: a,
|
|
977
|
+
fetchPriority: o
|
|
978
|
+
}) : n === "script" && i.d.X(e, {
|
|
979
|
+
crossOrigin: r,
|
|
980
|
+
integrity: a,
|
|
981
|
+
fetchPriority: o,
|
|
982
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
983
|
+
});
|
|
984
|
+
}
|
|
985
|
+
}, e.preinitModule = function(e, t) {
|
|
986
|
+
if (typeof e == "string") if (typeof t == "object" && t) {
|
|
987
|
+
if (t.as == null || t.as === "script") {
|
|
988
|
+
var n = c(t.as, t.crossOrigin);
|
|
989
|
+
i.d.M(e, {
|
|
990
|
+
crossOrigin: n,
|
|
991
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
992
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
} else t ?? i.d.M(e);
|
|
996
|
+
}, e.preload = function(e, t) {
|
|
997
|
+
if (typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
|
|
998
|
+
var n = t.as, r = c(n, t.crossOrigin);
|
|
999
|
+
i.d.L(e, n, {
|
|
1000
|
+
crossOrigin: r,
|
|
1001
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1002
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1003
|
+
type: typeof t.type == "string" ? t.type : void 0,
|
|
1004
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
|
|
1005
|
+
referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
|
|
1006
|
+
imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
|
|
1007
|
+
imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
|
|
1008
|
+
media: typeof t.media == "string" ? t.media : void 0
|
|
1009
|
+
});
|
|
1010
|
+
}
|
|
1011
|
+
}, e.preloadModule = function(e, t) {
|
|
1012
|
+
if (typeof e == "string") if (t) {
|
|
1013
|
+
var n = c(t.as, t.crossOrigin);
|
|
1014
|
+
i.d.m(e, {
|
|
1015
|
+
as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
|
|
1016
|
+
crossOrigin: n,
|
|
1017
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0
|
|
1018
|
+
});
|
|
1019
|
+
} else i.d.m(e);
|
|
1020
|
+
}, e.requestFormReset = function(e) {
|
|
1021
|
+
i.d.r(e);
|
|
1022
|
+
}, e.unstable_batchedUpdates = function(e, t) {
|
|
1023
|
+
return e(t);
|
|
1024
|
+
}, e.useFormState = function(e, t, n) {
|
|
1025
|
+
return s.H.useFormState(e, t, n);
|
|
1026
|
+
}, e.useFormStatus = function() {
|
|
1027
|
+
return s.H.useHostTransitionStatus();
|
|
1028
|
+
}, e.version = "19.2.4";
|
|
1029
|
+
})), require_react_dom_development = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
1030
|
+
process.env.NODE_ENV !== "production" && (function() {
|
|
1031
|
+
function t() {}
|
|
1032
|
+
function n(e) {
|
|
1033
|
+
return "" + e;
|
|
1034
|
+
}
|
|
1035
|
+
function r(e, t, r) {
|
|
1036
|
+
var i = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
1037
|
+
try {
|
|
1038
|
+
n(i);
|
|
1039
|
+
var a = !1;
|
|
1040
|
+
} catch {
|
|
1041
|
+
a = !0;
|
|
1042
|
+
}
|
|
1043
|
+
return a && (console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", typeof Symbol == "function" && Symbol.toStringTag && i[Symbol.toStringTag] || i.constructor.name || "Object"), n(i)), {
|
|
1044
|
+
$$typeof: u,
|
|
1045
|
+
key: i == null ? null : "" + i,
|
|
1046
|
+
children: e,
|
|
1047
|
+
containerInfo: t,
|
|
1048
|
+
implementation: r
|
|
1049
|
+
};
|
|
1050
|
+
}
|
|
1051
|
+
function i(e, t) {
|
|
1052
|
+
if (e === "font") return "";
|
|
1053
|
+
if (typeof t == "string") return t === "use-credentials" ? t : "";
|
|
1054
|
+
}
|
|
1055
|
+
function a(e) {
|
|
1056
|
+
return e === null ? "`null`" : e === void 0 ? "`undefined`" : e === "" ? "an empty string" : "something with type \"" + typeof e + "\"";
|
|
1057
|
+
}
|
|
1058
|
+
function o(e) {
|
|
1059
|
+
return e === null ? "`null`" : e === void 0 ? "`undefined`" : e === "" ? "an empty string" : typeof e == "string" ? JSON.stringify(e) : typeof e == "number" ? "`" + e + "`" : "something with type \"" + typeof e + "\"";
|
|
1060
|
+
}
|
|
1061
|
+
function s() {
|
|
1062
|
+
var e = f.H;
|
|
1063
|
+
return e === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), e;
|
|
1064
|
+
}
|
|
1065
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1066
|
+
var c = require_react(), l = {
|
|
1067
|
+
d: {
|
|
1068
|
+
f: t,
|
|
1069
|
+
r: function() {
|
|
1070
|
+
throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.");
|
|
1071
|
+
},
|
|
1072
|
+
D: t,
|
|
1073
|
+
C: t,
|
|
1074
|
+
L: t,
|
|
1075
|
+
m: t,
|
|
1076
|
+
X: t,
|
|
1077
|
+
S: t,
|
|
1078
|
+
M: t
|
|
1079
|
+
},
|
|
1080
|
+
p: 0,
|
|
1081
|
+
findDOMNode: null
|
|
1082
|
+
}, u = Symbol.for("react.portal"), f = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
1083
|
+
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error("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"), e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = l, e.createPortal = function(e, t) {
|
|
1084
|
+
var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
1085
|
+
if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11) throw Error("Target container is not a DOM element.");
|
|
1086
|
+
return r(e, t, null, n);
|
|
1087
|
+
}, e.flushSync = function(e) {
|
|
1088
|
+
var t = f.T, n = l.p;
|
|
1089
|
+
try {
|
|
1090
|
+
if (f.T = null, l.p = 2, e) return e();
|
|
1091
|
+
} finally {
|
|
1092
|
+
f.T = t, l.p = n, l.d.f() && console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.");
|
|
1093
|
+
}
|
|
1094
|
+
}, e.preconnect = function(e, t) {
|
|
1095
|
+
typeof e == "string" && e ? t != null && typeof t != "object" ? console.error("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.", o(t)) : t != null && typeof t.crossOrigin != "string" && console.error("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.", a(t.crossOrigin)) : console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e)), typeof e == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, l.d.C(e, t));
|
|
1096
|
+
}, e.prefetchDNS = function(e) {
|
|
1097
|
+
if (typeof e != "string" || !e) console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e));
|
|
1098
|
+
else if (1 < arguments.length) {
|
|
1099
|
+
var t = arguments[1];
|
|
1100
|
+
typeof t == "object" && t.hasOwnProperty("crossOrigin") ? console.error("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`.", o(t)) : console.error("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`.", o(t));
|
|
1101
|
+
}
|
|
1102
|
+
typeof e == "string" && l.d.D(e);
|
|
1103
|
+
}, e.preinit = function(e, t) {
|
|
1104
|
+
if (typeof e == "string" && e ? typeof t != "object" || !t ? console.error("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.", o(t)) : t.as !== "style" && t.as !== "script" && console.error("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\".", o(t.as)) : console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.", a(e)), typeof e == "string" && t && typeof t.as == "string") {
|
|
1105
|
+
var n = t.as, r = i(n, t.crossOrigin), s = typeof t.integrity == "string" ? t.integrity : void 0, c = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
|
|
1106
|
+
n === "style" ? l.d.S(e, typeof t.precedence == "string" ? t.precedence : void 0, {
|
|
1107
|
+
crossOrigin: r,
|
|
1108
|
+
integrity: s,
|
|
1109
|
+
fetchPriority: c
|
|
1110
|
+
}) : n === "script" && l.d.X(e, {
|
|
1111
|
+
crossOrigin: r,
|
|
1112
|
+
integrity: s,
|
|
1113
|
+
fetchPriority: c,
|
|
1114
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
}, e.preinitModule = function(e, t) {
|
|
1118
|
+
var n = "";
|
|
1119
|
+
if (typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), t !== void 0 && typeof t != "object" ? n += " The `options` argument encountered was " + a(t) + "." : t && "as" in t && t.as !== "script" && (n += " The `as` option encountered was " + o(t.as) + "."), n) console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s", n);
|
|
1120
|
+
else switch (n = t && typeof t.as == "string" ? t.as : "script", n) {
|
|
1121
|
+
case "script": break;
|
|
1122
|
+
default: n = o(n), console.error("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)", n, e);
|
|
1123
|
+
}
|
|
1124
|
+
typeof e == "string" && (typeof t == "object" && t ? (t.as == null || t.as === "script") && (n = i(t.as, t.crossOrigin), l.d.M(e, {
|
|
1125
|
+
crossOrigin: n,
|
|
1126
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1127
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0
|
|
1128
|
+
})) : t ?? l.d.M(e));
|
|
1129
|
+
}, e.preload = function(e, t) {
|
|
1130
|
+
var n = "";
|
|
1131
|
+
if (typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), typeof t != "object" || !t ? n += " The `options` argument encountered was " + a(t) + "." : typeof t.as == "string" && t.as || (n += " The `as` option encountered was " + a(t.as) + "."), n && console.error("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", n), typeof e == "string" && typeof t == "object" && t && typeof t.as == "string") {
|
|
1132
|
+
n = t.as;
|
|
1133
|
+
var r = i(n, t.crossOrigin);
|
|
1134
|
+
l.d.L(e, n, {
|
|
1135
|
+
crossOrigin: r,
|
|
1136
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0,
|
|
1137
|
+
nonce: typeof t.nonce == "string" ? t.nonce : void 0,
|
|
1138
|
+
type: typeof t.type == "string" ? t.type : void 0,
|
|
1139
|
+
fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
|
|
1140
|
+
referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
|
|
1141
|
+
imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
|
|
1142
|
+
imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
|
|
1143
|
+
media: typeof t.media == "string" ? t.media : void 0
|
|
1144
|
+
});
|
|
1145
|
+
}
|
|
1146
|
+
}, e.preloadModule = function(e, t) {
|
|
1147
|
+
var n = "";
|
|
1148
|
+
typeof e == "string" && e || (n += " The `href` argument encountered was " + a(e) + "."), t !== void 0 && typeof t != "object" ? n += " The `options` argument encountered was " + a(t) + "." : t && "as" in t && typeof t.as != "string" && (n += " The `as` option encountered was " + a(t.as) + "."), n && console.error("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", n), typeof e == "string" && (t ? (n = i(t.as, t.crossOrigin), l.d.m(e, {
|
|
1149
|
+
as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
|
|
1150
|
+
crossOrigin: n,
|
|
1151
|
+
integrity: typeof t.integrity == "string" ? t.integrity : void 0
|
|
1152
|
+
})) : l.d.m(e));
|
|
1153
|
+
}, e.requestFormReset = function(e) {
|
|
1154
|
+
l.d.r(e);
|
|
1155
|
+
}, e.unstable_batchedUpdates = function(e, t) {
|
|
1156
|
+
return e(t);
|
|
1157
|
+
}, e.useFormState = function(e, t, n) {
|
|
1158
|
+
return s().useFormState(e, t, n);
|
|
1159
|
+
}, e.useFormStatus = function() {
|
|
1160
|
+
return s().useHostTransitionStatus();
|
|
1161
|
+
}, e.version = "19.2.4", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1162
|
+
})();
|
|
1163
|
+
})), require_react_dom = /* @__PURE__ */ __commonJSMin(((e, t) => {
|
|
1164
|
+
function n() {
|
|
1165
|
+
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
|
|
1166
|
+
if (process.env.NODE_ENV !== "production") throw Error("^_^");
|
|
1167
|
+
try {
|
|
1168
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n);
|
|
1169
|
+
} catch (e) {
|
|
1170
|
+
console.error(e);
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
process.env.NODE_ENV === "production" ? (n(), t.exports = require_react_dom_production()) : t.exports = require_react_dom_development();
|
|
1175
|
+
}));
|
|
1176
|
+
export { __toESM as i, require_react as n, __commonJSMin as r, require_react_dom as t };
|