@glodon-aiot/bot-client-ui 3.25.0 → 3.25.1-alpha.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/dist/es/index.mjs +602 -585
- package/dist/lib/index.js +29 -28
- package/package.json +2 -2
package/dist/es/index.mjs
CHANGED
|
@@ -121,7 +121,7 @@ var jsxRuntime = { exports: {} }, reactJsxRuntime_production_min = {}, react = {
|
|
|
121
121
|
* This source code is licensed under the MIT license found in the
|
|
122
122
|
* LICENSE file in the root directory of this source tree.
|
|
123
123
|
*/
|
|
124
|
-
var l$8 = Symbol.for("react.element"), n$b = Symbol.for("react.portal"), p$
|
|
124
|
+
var l$8 = Symbol.for("react.element"), n$b = Symbol.for("react.portal"), p$f = Symbol.for("react.fragment"), q$4 = Symbol.for("react.strict_mode"), r$7 = Symbol.for("react.profiler"), t$7 = Symbol.for("react.provider"), u$c = Symbol.for("react.context"), v$a = Symbol.for("react.forward_ref"), w$9 = Symbol.for("react.suspense"), x$a = Symbol.for("react.memo"), y$8 = Symbol.for("react.lazy"), z$2 = Symbol.iterator;
|
|
125
125
|
function A$8(bt) {
|
|
126
126
|
return bt === null || typeof bt != "object" ? null : (bt = z$2 && bt[z$2] || bt["@@iterator"], typeof bt == "function" ? bt : null);
|
|
127
127
|
}
|
|
@@ -158,7 +158,7 @@ var H$1 = G$1.prototype = new F();
|
|
|
158
158
|
H$1.constructor = G$1;
|
|
159
159
|
C$3(H$1, E$8.prototype);
|
|
160
160
|
H$1.isPureReactComponent = !0;
|
|
161
|
-
var I$8 = Array.isArray, J$3 = Object.prototype.hasOwnProperty, K$
|
|
161
|
+
var I$8 = Array.isArray, J$3 = Object.prototype.hasOwnProperty, K$5 = {
|
|
162
162
|
current: null
|
|
163
163
|
}, L$5 = {
|
|
164
164
|
key: !0,
|
|
@@ -188,7 +188,7 @@ function M$5(bt, pt, vt) {
|
|
|
188
188
|
key: Rt,
|
|
189
189
|
ref: Ft,
|
|
190
190
|
props: $t,
|
|
191
|
-
_owner: K$
|
|
191
|
+
_owner: K$5.current
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
function N$2(bt, pt) {
|
|
@@ -214,7 +214,7 @@ function escape$2(bt) {
|
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
var P$3 = /\/+/g;
|
|
217
|
-
function Q$
|
|
217
|
+
function Q$1(bt, pt) {
|
|
218
218
|
return typeof bt == "object" && bt !== null && bt.key != null ? escape$2("" + bt.key) : pt.toString(36);
|
|
219
219
|
}
|
|
220
220
|
function R$a(bt, pt, vt, _t, $t) {
|
|
@@ -237,18 +237,18 @@ function R$a(bt, pt, vt, _t, $t) {
|
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
239
|
if (Ft)
|
|
240
|
-
return Ft = bt, $t = $t(Ft), bt = _t === "" ? "." + Q$
|
|
240
|
+
return Ft = bt, $t = $t(Ft), bt = _t === "" ? "." + Q$1(Ft, 0) : _t, I$8($t) ? (vt = "", bt != null && (vt = bt.replace(P$3, "$&/") + "/"), R$a($t, pt, vt, "", function(qt) {
|
|
241
241
|
return qt;
|
|
242
242
|
})) : $t != null && (O$2($t) && ($t = N$2($t, vt + (!$t.key || Ft && Ft.key === $t.key ? "" : ("" + $t.key).replace(P$3, "$&/") + "/") + bt)), pt.push($t)), 1;
|
|
243
243
|
if (Ft = 0, _t = _t === "" ? "." : _t + ":", I$8(bt))
|
|
244
244
|
for (var Pt = 0; Pt < bt.length; Pt++) {
|
|
245
245
|
Rt = bt[Pt];
|
|
246
|
-
var Bt = _t + Q$
|
|
246
|
+
var Bt = _t + Q$1(Rt, Pt);
|
|
247
247
|
Ft += R$a(Rt, pt, vt, Bt, $t);
|
|
248
248
|
}
|
|
249
249
|
else if (Bt = A$8(bt), typeof Bt == "function")
|
|
250
250
|
for (bt = Bt.call(bt), Pt = 0; !(Rt = bt.next()).done; )
|
|
251
|
-
Rt = Rt.value, Bt = _t + Q$
|
|
251
|
+
Rt = Rt.value, Bt = _t + Q$1(Rt, Pt++), Ft += R$a(Rt, pt, vt, Bt, $t);
|
|
252
252
|
else if (Rt === "object")
|
|
253
253
|
throw pt = String(bt), Error("Objects are not valid as a React child (found: " + (pt === "[object Object]" ? "object with keys {" + Object.keys(bt).join(", ") + "}" : pt) + "). If you meant to render a collection of children, use an array instead.");
|
|
254
254
|
return Ft;
|
|
@@ -261,7 +261,7 @@ function S$3(bt, pt, vt) {
|
|
|
261
261
|
return pt.call(vt, Rt, $t++);
|
|
262
262
|
}), _t;
|
|
263
263
|
}
|
|
264
|
-
function T$
|
|
264
|
+
function T$7(bt) {
|
|
265
265
|
if (bt._status === -1) {
|
|
266
266
|
var pt = bt._result;
|
|
267
267
|
pt = pt(), pt.then(function(vt) {
|
|
@@ -276,12 +276,12 @@ function T$6(bt) {
|
|
|
276
276
|
}
|
|
277
277
|
var U$1 = {
|
|
278
278
|
current: null
|
|
279
|
-
}, V$
|
|
279
|
+
}, V$3 = {
|
|
280
280
|
transition: null
|
|
281
281
|
}, W$4 = {
|
|
282
282
|
ReactCurrentDispatcher: U$1,
|
|
283
|
-
ReactCurrentBatchConfig: V$
|
|
284
|
-
ReactCurrentOwner: K$
|
|
283
|
+
ReactCurrentBatchConfig: V$3,
|
|
284
|
+
ReactCurrentOwner: K$5
|
|
285
285
|
};
|
|
286
286
|
function X$3() {
|
|
287
287
|
throw Error("act(...) is not supported in production builds of React.");
|
|
@@ -311,11 +311,11 @@ react_production_min.Children = {
|
|
|
311
311
|
}
|
|
312
312
|
};
|
|
313
313
|
react_production_min.Component = E$8;
|
|
314
|
-
react_production_min.Fragment = p$
|
|
314
|
+
react_production_min.Fragment = p$f;
|
|
315
315
|
react_production_min.Profiler = r$7;
|
|
316
316
|
react_production_min.PureComponent = G$1;
|
|
317
317
|
react_production_min.StrictMode = q$4;
|
|
318
|
-
react_production_min.Suspense = w$
|
|
318
|
+
react_production_min.Suspense = w$9;
|
|
319
319
|
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$4;
|
|
320
320
|
react_production_min.act = X$3;
|
|
321
321
|
react_production_min.cloneElement = function(bt, pt, vt) {
|
|
@@ -323,7 +323,7 @@ react_production_min.cloneElement = function(bt, pt, vt) {
|
|
|
323
323
|
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + bt + ".");
|
|
324
324
|
var _t = C$3({}, bt.props), $t = bt.key, Rt = bt.ref, Ft = bt._owner;
|
|
325
325
|
if (pt != null) {
|
|
326
|
-
if (pt.ref !== void 0 && (Rt = pt.ref, Ft = K$
|
|
326
|
+
if (pt.ref !== void 0 && (Rt = pt.ref, Ft = K$5.current), pt.key !== void 0 && ($t = "" + pt.key), bt.type && bt.type.defaultProps)
|
|
327
327
|
var Pt = bt.type.defaultProps;
|
|
328
328
|
for (Bt in pt)
|
|
329
329
|
J$3.call(pt, Bt) && !L$5.hasOwnProperty(Bt) && (_t[Bt] = pt[Bt] === void 0 && Pt !== void 0 ? Pt[Bt] : pt[Bt]);
|
|
@@ -357,7 +357,7 @@ react_production_min.createContext = function(bt) {
|
|
|
357
357
|
_defaultValue: null,
|
|
358
358
|
_globalName: null
|
|
359
359
|
}, bt.Provider = {
|
|
360
|
-
$$typeof: t$
|
|
360
|
+
$$typeof: t$7,
|
|
361
361
|
_context: bt
|
|
362
362
|
}, bt.Consumer = bt;
|
|
363
363
|
};
|
|
@@ -373,19 +373,19 @@ react_production_min.createRef = function() {
|
|
|
373
373
|
};
|
|
374
374
|
react_production_min.forwardRef = function(bt) {
|
|
375
375
|
return {
|
|
376
|
-
$$typeof: v$
|
|
376
|
+
$$typeof: v$a,
|
|
377
377
|
render: bt
|
|
378
378
|
};
|
|
379
379
|
};
|
|
380
380
|
react_production_min.isValidElement = O$2;
|
|
381
381
|
react_production_min.lazy = function(bt) {
|
|
382
382
|
return {
|
|
383
|
-
$$typeof: y$
|
|
383
|
+
$$typeof: y$8,
|
|
384
384
|
_payload: {
|
|
385
385
|
_status: -1,
|
|
386
386
|
_result: bt
|
|
387
387
|
},
|
|
388
|
-
_init: T$
|
|
388
|
+
_init: T$7
|
|
389
389
|
};
|
|
390
390
|
};
|
|
391
391
|
react_production_min.memo = function(bt, pt) {
|
|
@@ -396,12 +396,12 @@ react_production_min.memo = function(bt, pt) {
|
|
|
396
396
|
};
|
|
397
397
|
};
|
|
398
398
|
react_production_min.startTransition = function(bt) {
|
|
399
|
-
var pt = V$
|
|
400
|
-
V$
|
|
399
|
+
var pt = V$3.transition;
|
|
400
|
+
V$3.transition = {};
|
|
401
401
|
try {
|
|
402
402
|
bt();
|
|
403
403
|
} finally {
|
|
404
|
-
V$
|
|
404
|
+
V$3.transition = pt;
|
|
405
405
|
}
|
|
406
406
|
};
|
|
407
407
|
react_production_min.unstable_act = X$3;
|
|
@@ -465,7 +465,7 @@ const qi$1 = /* @__PURE__ */ getDefaultExportFromCjs(reactExports), React$4 = /*
|
|
|
465
465
|
* This source code is licensed under the MIT license found in the
|
|
466
466
|
* LICENSE file in the root directory of this source tree.
|
|
467
467
|
*/
|
|
468
|
-
var f$
|
|
468
|
+
var f$d = reactExports, k$a = Symbol.for("react.element"), l$7 = Symbol.for("react.fragment"), m$7 = Object.prototype.hasOwnProperty, n$a = f$d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p$e = {
|
|
469
469
|
key: !0,
|
|
470
470
|
ref: !0,
|
|
471
471
|
__self: !0,
|
|
@@ -475,7 +475,7 @@ function q$3(bt, pt, vt) {
|
|
|
475
475
|
var _t, $t = {}, Rt = null, Ft = null;
|
|
476
476
|
vt !== void 0 && (Rt = "" + vt), pt.key !== void 0 && (Rt = "" + pt.key), pt.ref !== void 0 && (Ft = pt.ref);
|
|
477
477
|
for (_t in pt)
|
|
478
|
-
m$7.call(pt, _t) && !p$
|
|
478
|
+
m$7.call(pt, _t) && !p$e.hasOwnProperty(_t) && ($t[_t] = pt[_t]);
|
|
479
479
|
if (bt && bt.defaultProps)
|
|
480
480
|
for (_t in pt = bt.defaultProps, pt)
|
|
481
481
|
$t[_t] === void 0 && ($t[_t] = pt[_t]);
|
|
@@ -1064,7 +1064,7 @@ function createAssigner$2(bt) {
|
|
|
1064
1064
|
var _createAssigner = createAssigner$2, baseMerge$1 = _baseMerge, createAssigner$1 = _createAssigner, merge$a = createAssigner$1(function(bt, pt, vt) {
|
|
1065
1065
|
baseMerge$1(bt, pt, vt);
|
|
1066
1066
|
}), merge_1$1 = merge$a;
|
|
1067
|
-
const te$
|
|
1067
|
+
const te$2 = /* @__PURE__ */ getDefaultExportFromCjs(merge_1$1);
|
|
1068
1068
|
var reactResizable = { exports: {} }, Resizable$2 = {}, cjs$2 = { exports: {} }, Draggable$1 = {}, propTypes$1 = { exports: {} }, ReactPropTypesSecret$1 = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED", ReactPropTypesSecret_1 = ReactPropTypesSecret$1, ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
1069
1069
|
function emptyFunction() {
|
|
1070
1070
|
}
|
|
@@ -1352,7 +1352,7 @@ var schedulerExports = scheduler.exports;
|
|
|
1352
1352
|
* LICENSE file in the root directory of this source tree.
|
|
1353
1353
|
*/
|
|
1354
1354
|
var aa = reactExports, ca = schedulerExports;
|
|
1355
|
-
function p$
|
|
1355
|
+
function p$d(bt) {
|
|
1356
1356
|
for (var pt = "https://reactjs.org/docs/error-decoder.html?invariant=" + bt, vt = 1; vt < arguments.length; vt++)
|
|
1357
1357
|
pt += "&args[]=" + encodeURIComponent(arguments[vt]);
|
|
1358
1358
|
return "Minified React error #" + bt + "; visit " + pt + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -1400,37 +1400,37 @@ function qa(bt, pt, vt, _t) {
|
|
|
1400
1400
|
}
|
|
1401
1401
|
return !1;
|
|
1402
1402
|
}
|
|
1403
|
-
function v$
|
|
1403
|
+
function v$9(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
1404
1404
|
this.acceptsBooleans = pt === 2 || pt === 3 || pt === 4, this.attributeName = _t, this.attributeNamespace = $t, this.mustUseProperty = vt, this.propertyName = bt, this.type = pt, this.sanitizeURL = Rt, this.removeEmptyString = Ft;
|
|
1405
1405
|
}
|
|
1406
1406
|
var z$1 = {};
|
|
1407
1407
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(bt) {
|
|
1408
|
-
z$1[bt] = new v$
|
|
1408
|
+
z$1[bt] = new v$9(bt, 0, !1, bt, null, !1, !1);
|
|
1409
1409
|
});
|
|
1410
1410
|
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(bt) {
|
|
1411
1411
|
var pt = bt[0];
|
|
1412
|
-
z$1[pt] = new v$
|
|
1412
|
+
z$1[pt] = new v$9(pt, 1, !1, bt[1], null, !1, !1);
|
|
1413
1413
|
});
|
|
1414
1414
|
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(bt) {
|
|
1415
|
-
z$1[bt] = new v$
|
|
1415
|
+
z$1[bt] = new v$9(bt, 2, !1, bt.toLowerCase(), null, !1, !1);
|
|
1416
1416
|
});
|
|
1417
1417
|
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(bt) {
|
|
1418
|
-
z$1[bt] = new v$
|
|
1418
|
+
z$1[bt] = new v$9(bt, 2, !1, bt, null, !1, !1);
|
|
1419
1419
|
});
|
|
1420
1420
|
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(bt) {
|
|
1421
|
-
z$1[bt] = new v$
|
|
1421
|
+
z$1[bt] = new v$9(bt, 3, !1, bt.toLowerCase(), null, !1, !1);
|
|
1422
1422
|
});
|
|
1423
1423
|
["checked", "multiple", "muted", "selected"].forEach(function(bt) {
|
|
1424
|
-
z$1[bt] = new v$
|
|
1424
|
+
z$1[bt] = new v$9(bt, 3, !0, bt, null, !1, !1);
|
|
1425
1425
|
});
|
|
1426
1426
|
["capture", "download"].forEach(function(bt) {
|
|
1427
|
-
z$1[bt] = new v$
|
|
1427
|
+
z$1[bt] = new v$9(bt, 4, !1, bt, null, !1, !1);
|
|
1428
1428
|
});
|
|
1429
1429
|
["cols", "rows", "size", "span"].forEach(function(bt) {
|
|
1430
|
-
z$1[bt] = new v$
|
|
1430
|
+
z$1[bt] = new v$9(bt, 6, !1, bt, null, !1, !1);
|
|
1431
1431
|
});
|
|
1432
1432
|
["rowSpan", "start"].forEach(function(bt) {
|
|
1433
|
-
z$1[bt] = new v$
|
|
1433
|
+
z$1[bt] = new v$9(bt, 5, !1, bt.toLowerCase(), null, !1, !1);
|
|
1434
1434
|
});
|
|
1435
1435
|
var ra = /[\-:]([a-z])/g;
|
|
1436
1436
|
function sa(bt) {
|
|
@@ -1438,22 +1438,22 @@ function sa(bt) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(bt) {
|
|
1440
1440
|
var pt = bt.replace(ra, sa);
|
|
1441
|
-
z$1[pt] = new v$
|
|
1441
|
+
z$1[pt] = new v$9(pt, 1, !1, bt, null, !1, !1);
|
|
1442
1442
|
});
|
|
1443
1443
|
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(bt) {
|
|
1444
1444
|
var pt = bt.replace(ra, sa);
|
|
1445
|
-
z$1[pt] = new v$
|
|
1445
|
+
z$1[pt] = new v$9(pt, 1, !1, bt, "http://www.w3.org/1999/xlink", !1, !1);
|
|
1446
1446
|
});
|
|
1447
1447
|
["xml:base", "xml:lang", "xml:space"].forEach(function(bt) {
|
|
1448
1448
|
var pt = bt.replace(ra, sa);
|
|
1449
|
-
z$1[pt] = new v$
|
|
1449
|
+
z$1[pt] = new v$9(pt, 1, !1, bt, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
1450
1450
|
});
|
|
1451
1451
|
["tabIndex", "crossOrigin"].forEach(function(bt) {
|
|
1452
|
-
z$1[bt] = new v$
|
|
1452
|
+
z$1[bt] = new v$9(bt, 1, !1, bt.toLowerCase(), null, !1, !1);
|
|
1453
1453
|
});
|
|
1454
|
-
z$1.xlinkHref = new v$
|
|
1454
|
+
z$1.xlinkHref = new v$9("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
|
|
1455
1455
|
["src", "href", "action", "formAction"].forEach(function(bt) {
|
|
1456
|
-
z$1[bt] = new v$
|
|
1456
|
+
z$1[bt] = new v$9(bt, 1, !1, bt.toLowerCase(), null, !0, !0);
|
|
1457
1457
|
});
|
|
1458
1458
|
function ta(bt, pt, vt, _t) {
|
|
1459
1459
|
var $t = z$1.hasOwnProperty(pt) ? z$1[pt] : null;
|
|
@@ -1781,7 +1781,7 @@ function fb(bt, pt, vt, _t) {
|
|
|
1781
1781
|
}
|
|
1782
1782
|
function gb(bt, pt) {
|
|
1783
1783
|
if (pt.dangerouslySetInnerHTML != null)
|
|
1784
|
-
throw Error(p$
|
|
1784
|
+
throw Error(p$d(91));
|
|
1785
1785
|
return A$7({}, pt, {
|
|
1786
1786
|
value: void 0,
|
|
1787
1787
|
defaultValue: void 0,
|
|
@@ -1793,10 +1793,10 @@ function hb(bt, pt) {
|
|
|
1793
1793
|
if (vt == null) {
|
|
1794
1794
|
if (vt = pt.children, pt = pt.defaultValue, vt != null) {
|
|
1795
1795
|
if (pt != null)
|
|
1796
|
-
throw Error(p$
|
|
1796
|
+
throw Error(p$d(92));
|
|
1797
1797
|
if (eb(vt)) {
|
|
1798
1798
|
if (1 < vt.length)
|
|
1799
|
-
throw Error(p$
|
|
1799
|
+
throw Error(p$d(93));
|
|
1800
1800
|
vt = vt[0];
|
|
1801
1801
|
}
|
|
1802
1802
|
pt = vt;
|
|
@@ -1937,15 +1937,15 @@ var tb = A$7({
|
|
|
1937
1937
|
function ub(bt, pt) {
|
|
1938
1938
|
if (pt) {
|
|
1939
1939
|
if (tb[bt] && (pt.children != null || pt.dangerouslySetInnerHTML != null))
|
|
1940
|
-
throw Error(p$
|
|
1940
|
+
throw Error(p$d(137, bt));
|
|
1941
1941
|
if (pt.dangerouslySetInnerHTML != null) {
|
|
1942
1942
|
if (pt.children != null)
|
|
1943
|
-
throw Error(p$
|
|
1943
|
+
throw Error(p$d(60));
|
|
1944
1944
|
if (typeof pt.dangerouslySetInnerHTML != "object" || !("__html" in pt.dangerouslySetInnerHTML))
|
|
1945
|
-
throw Error(p$
|
|
1945
|
+
throw Error(p$d(61));
|
|
1946
1946
|
}
|
|
1947
1947
|
if (pt.style != null && typeof pt.style != "object")
|
|
1948
|
-
throw Error(p$
|
|
1948
|
+
throw Error(p$d(62));
|
|
1949
1949
|
}
|
|
1950
1950
|
}
|
|
1951
1951
|
function vb(bt, pt) {
|
|
@@ -1973,7 +1973,7 @@ var yb = null, zb = null, Ab = null;
|
|
|
1973
1973
|
function Bb(bt) {
|
|
1974
1974
|
if (bt = Cb(bt)) {
|
|
1975
1975
|
if (typeof yb != "function")
|
|
1976
|
-
throw Error(p$
|
|
1976
|
+
throw Error(p$d(280));
|
|
1977
1977
|
var pt = bt.stateNode;
|
|
1978
1978
|
pt && (pt = Db(pt), yb(bt.stateNode, bt.type, pt));
|
|
1979
1979
|
}
|
|
@@ -2034,7 +2034,7 @@ function Kb(bt, pt) {
|
|
|
2034
2034
|
if (bt)
|
|
2035
2035
|
return null;
|
|
2036
2036
|
if (vt && typeof vt != "function")
|
|
2037
|
-
throw Error(p$
|
|
2037
|
+
throw Error(p$d(231, pt, typeof vt));
|
|
2038
2038
|
return vt;
|
|
2039
2039
|
}
|
|
2040
2040
|
var Lb = !1;
|
|
@@ -2071,7 +2071,7 @@ function Ub(bt, pt, vt, _t, $t, Rt, Ft, Pt, Bt) {
|
|
|
2071
2071
|
var qt = Pb;
|
|
2072
2072
|
Ob = !1, Pb = null;
|
|
2073
2073
|
} else
|
|
2074
|
-
throw Error(p$
|
|
2074
|
+
throw Error(p$d(198));
|
|
2075
2075
|
Qb || (Qb = !0, Rb = qt);
|
|
2076
2076
|
}
|
|
2077
2077
|
}
|
|
@@ -2098,13 +2098,13 @@ function Wb(bt) {
|
|
|
2098
2098
|
}
|
|
2099
2099
|
function Xb(bt) {
|
|
2100
2100
|
if (Vb(bt) !== bt)
|
|
2101
|
-
throw Error(p$
|
|
2101
|
+
throw Error(p$d(188));
|
|
2102
2102
|
}
|
|
2103
2103
|
function Yb(bt) {
|
|
2104
2104
|
var pt = bt.alternate;
|
|
2105
2105
|
if (!pt) {
|
|
2106
2106
|
if (pt = Vb(bt), pt === null)
|
|
2107
|
-
throw Error(p$
|
|
2107
|
+
throw Error(p$d(188));
|
|
2108
2108
|
return pt !== bt ? null : bt;
|
|
2109
2109
|
}
|
|
2110
2110
|
for (var vt = bt, _t = pt; ; ) {
|
|
@@ -2127,7 +2127,7 @@ function Yb(bt) {
|
|
|
2127
2127
|
return Xb($t), pt;
|
|
2128
2128
|
Rt = Rt.sibling;
|
|
2129
2129
|
}
|
|
2130
|
-
throw Error(p$
|
|
2130
|
+
throw Error(p$d(188));
|
|
2131
2131
|
}
|
|
2132
2132
|
if (vt.return !== _t.return)
|
|
2133
2133
|
vt = $t, _t = Rt;
|
|
@@ -2156,14 +2156,14 @@ function Yb(bt) {
|
|
|
2156
2156
|
Pt = Pt.sibling;
|
|
2157
2157
|
}
|
|
2158
2158
|
if (!Ft)
|
|
2159
|
-
throw Error(p$
|
|
2159
|
+
throw Error(p$d(189));
|
|
2160
2160
|
}
|
|
2161
2161
|
}
|
|
2162
2162
|
if (vt.alternate !== _t)
|
|
2163
|
-
throw Error(p$
|
|
2163
|
+
throw Error(p$d(190));
|
|
2164
2164
|
}
|
|
2165
2165
|
if (vt.tag !== 3)
|
|
2166
|
-
throw Error(p$
|
|
2166
|
+
throw Error(p$d(188));
|
|
2167
2167
|
return vt.stateNode.current === vt ? bt : pt;
|
|
2168
2168
|
}
|
|
2169
2169
|
function Zb(bt) {
|
|
@@ -2817,7 +2817,7 @@ var Qd = A$7({}, ud, {
|
|
|
2817
2817
|
deltaMode: 0
|
|
2818
2818
|
}), Zd = rd(Yd), $d = [9, 13, 27, 32], ae$1 = ia && "CompositionEvent" in window, be = null;
|
|
2819
2819
|
ia && "documentMode" in document && (be = document.documentMode);
|
|
2820
|
-
var ce$1 = ia && "TextEvent" in window && !be, de = ia && (!ae$1 || be && 8 < be && 11 >= be), ee
|
|
2820
|
+
var ce$1 = ia && "TextEvent" in window && !be, de = ia && (!ae$1 || be && 8 < be && 11 >= be), ee = String.fromCharCode(32), fe$1 = !1;
|
|
2821
2821
|
function ge$1(bt, pt) {
|
|
2822
2822
|
switch (bt) {
|
|
2823
2823
|
case "keyup":
|
|
@@ -2841,9 +2841,9 @@ function je(bt, pt) {
|
|
|
2841
2841
|
case "compositionend":
|
|
2842
2842
|
return he$1(pt);
|
|
2843
2843
|
case "keypress":
|
|
2844
|
-
return pt.which !== 32 ? null : (fe$1 = !0, ee
|
|
2844
|
+
return pt.which !== 32 ? null : (fe$1 = !0, ee);
|
|
2845
2845
|
case "textInput":
|
|
2846
|
-
return bt = pt.data, bt === ee
|
|
2846
|
+
return bt = pt.data, bt === ee && fe$1 ? null : bt;
|
|
2847
2847
|
default:
|
|
2848
2848
|
return null;
|
|
2849
2849
|
}
|
|
@@ -2899,7 +2899,7 @@ var pe$1 = null, qe$1 = null;
|
|
|
2899
2899
|
function re$3(bt) {
|
|
2900
2900
|
se$1(bt, 0);
|
|
2901
2901
|
}
|
|
2902
|
-
function te(bt) {
|
|
2902
|
+
function te$1(bt) {
|
|
2903
2903
|
var pt = ue$2(bt);
|
|
2904
2904
|
if (Wa(pt))
|
|
2905
2905
|
return bt;
|
|
@@ -2926,7 +2926,7 @@ function Ae$1() {
|
|
|
2926
2926
|
pe$1 && (pe$1.detachEvent("onpropertychange", Be$1), qe$1 = pe$1 = null);
|
|
2927
2927
|
}
|
|
2928
2928
|
function Be$1(bt) {
|
|
2929
|
-
if (bt.propertyName === "value" && te(qe$1)) {
|
|
2929
|
+
if (bt.propertyName === "value" && te$1(qe$1)) {
|
|
2930
2930
|
var pt = [];
|
|
2931
2931
|
ne$1(pt, qe$1, bt, xb(bt)), Jb(re$3, pt);
|
|
2932
2932
|
}
|
|
@@ -2936,15 +2936,15 @@ function Ce$1(bt, pt, vt) {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
function De$1(bt) {
|
|
2938
2938
|
if (bt === "selectionchange" || bt === "keyup" || bt === "keydown")
|
|
2939
|
-
return te(qe$1);
|
|
2939
|
+
return te$1(qe$1);
|
|
2940
2940
|
}
|
|
2941
2941
|
function Ee(bt, pt) {
|
|
2942
2942
|
if (bt === "click")
|
|
2943
|
-
return te(pt);
|
|
2943
|
+
return te$1(pt);
|
|
2944
2944
|
}
|
|
2945
2945
|
function Fe(bt, pt) {
|
|
2946
2946
|
if (bt === "input" || bt === "change")
|
|
2947
|
-
return te(pt);
|
|
2947
|
+
return te$1(pt);
|
|
2948
2948
|
}
|
|
2949
2949
|
function Ge$1(bt, pt) {
|
|
2950
2950
|
return bt === pt && (bt !== 0 || 1 / bt === 1 / pt) || bt !== bt && pt !== pt;
|
|
@@ -3437,7 +3437,7 @@ function zf(bt) {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
function Af(bt, pt, vt) {
|
|
3439
3439
|
if (pt = zf(pt), zf(bt) !== pt && vt)
|
|
3440
|
-
throw Error(p$
|
|
3440
|
+
throw Error(p$d(425));
|
|
3441
3441
|
}
|
|
3442
3442
|
function Bf() {
|
|
3443
3443
|
}
|
|
@@ -3525,7 +3525,7 @@ function Cb(bt) {
|
|
|
3525
3525
|
function ue$2(bt) {
|
|
3526
3526
|
if (bt.tag === 5 || bt.tag === 6)
|
|
3527
3527
|
return bt.stateNode;
|
|
3528
|
-
throw Error(p$
|
|
3528
|
+
throw Error(p$d(33));
|
|
3529
3529
|
}
|
|
3530
3530
|
function Db(bt) {
|
|
3531
3531
|
return bt[Pf] || null;
|
|
@@ -3563,7 +3563,7 @@ function $f() {
|
|
|
3563
3563
|
}
|
|
3564
3564
|
function ag$1(bt, pt, vt) {
|
|
3565
3565
|
if (H.current !== Vf)
|
|
3566
|
-
throw Error(p$
|
|
3566
|
+
throw Error(p$d(168));
|
|
3567
3567
|
G(H, pt), G(Wf, vt);
|
|
3568
3568
|
}
|
|
3569
3569
|
function bg$1(bt, pt, vt) {
|
|
@@ -3573,7 +3573,7 @@ function bg$1(bt, pt, vt) {
|
|
|
3573
3573
|
_t = _t.getChildContext();
|
|
3574
3574
|
for (var $t in _t)
|
|
3575
3575
|
if (!($t in pt))
|
|
3576
|
-
throw Error(p$
|
|
3576
|
+
throw Error(p$d(108, Ra(bt) || "Unknown", $t));
|
|
3577
3577
|
return A$7({}, vt, _t);
|
|
3578
3578
|
}
|
|
3579
3579
|
function cg$1(bt) {
|
|
@@ -3582,7 +3582,7 @@ function cg$1(bt) {
|
|
|
3582
3582
|
function dg$1(bt, pt, vt) {
|
|
3583
3583
|
var _t = bt.stateNode;
|
|
3584
3584
|
if (!_t)
|
|
3585
|
-
throw Error(p$
|
|
3585
|
+
throw Error(p$d(169));
|
|
3586
3586
|
vt ? (bt = bg$1(bt, pt, Xf), _t.__reactInternalMemoizedMergedChildContext = bt, E$7(Wf), E$7(H), G(H, bt)) : E$7(Wf), G(Wf, vt);
|
|
3587
3587
|
}
|
|
3588
3588
|
var eg = null, fg$1 = !1, gg$1 = !1;
|
|
@@ -3674,14 +3674,14 @@ function Eg$1(bt) {
|
|
|
3674
3674
|
var vt = pt;
|
|
3675
3675
|
if (!Cg$1(bt, pt)) {
|
|
3676
3676
|
if (Dg$1(bt))
|
|
3677
|
-
throw Error(p$
|
|
3677
|
+
throw Error(p$d(418));
|
|
3678
3678
|
pt = Lf(vt.nextSibling);
|
|
3679
3679
|
var _t = xg$1;
|
|
3680
3680
|
pt && Cg$1(bt, pt) ? Ag$1(_t, vt) : (bt.flags = bt.flags & -4097 | 2, I$7 = !1, xg$1 = bt);
|
|
3681
3681
|
}
|
|
3682
3682
|
} else {
|
|
3683
3683
|
if (Dg$1(bt))
|
|
3684
|
-
throw Error(p$
|
|
3684
|
+
throw Error(p$d(418));
|
|
3685
3685
|
bt.flags = bt.flags & -4097 | 2, I$7 = !1, xg$1 = bt;
|
|
3686
3686
|
}
|
|
3687
3687
|
}
|
|
@@ -3699,13 +3699,13 @@ function Gg$1(bt) {
|
|
|
3699
3699
|
var pt;
|
|
3700
3700
|
if ((pt = bt.tag !== 3) && !(pt = bt.tag !== 5) && (pt = bt.type, pt = pt !== "head" && pt !== "body" && !Ef(bt.type, bt.memoizedProps)), pt && (pt = yg$1)) {
|
|
3701
3701
|
if (Dg$1(bt))
|
|
3702
|
-
throw Hg$1(), Error(p$
|
|
3702
|
+
throw Hg$1(), Error(p$d(418));
|
|
3703
3703
|
for (; pt; )
|
|
3704
3704
|
Ag$1(bt, pt), pt = Lf(pt.nextSibling);
|
|
3705
3705
|
}
|
|
3706
3706
|
if (Fg$1(bt), bt.tag === 13) {
|
|
3707
3707
|
if (bt = bt.memoizedState, bt = bt !== null ? bt.dehydrated : null, !bt)
|
|
3708
|
-
throw Error(p$
|
|
3708
|
+
throw Error(p$d(317));
|
|
3709
3709
|
e: {
|
|
3710
3710
|
for (bt = bt.nextSibling, pt = 0; bt; ) {
|
|
3711
3711
|
if (bt.nodeType === 8) {
|
|
@@ -3743,11 +3743,11 @@ function Lg$1(bt, pt, vt) {
|
|
|
3743
3743
|
if (vt._owner) {
|
|
3744
3744
|
if (vt = vt._owner, vt) {
|
|
3745
3745
|
if (vt.tag !== 1)
|
|
3746
|
-
throw Error(p$
|
|
3746
|
+
throw Error(p$d(309));
|
|
3747
3747
|
var _t = vt.stateNode;
|
|
3748
3748
|
}
|
|
3749
3749
|
if (!_t)
|
|
3750
|
-
throw Error(p$
|
|
3750
|
+
throw Error(p$d(147, bt));
|
|
3751
3751
|
var $t = _t, Rt = "" + bt;
|
|
3752
3752
|
return pt !== null && pt.ref !== null && typeof pt.ref == "function" && pt.ref._stringRef === Rt ? pt.ref : (pt = function(Ft) {
|
|
3753
3753
|
var Pt = $t.refs;
|
|
@@ -3755,14 +3755,14 @@ function Lg$1(bt, pt, vt) {
|
|
|
3755
3755
|
}, pt._stringRef = Rt, pt);
|
|
3756
3756
|
}
|
|
3757
3757
|
if (typeof bt != "string")
|
|
3758
|
-
throw Error(p$
|
|
3758
|
+
throw Error(p$d(284));
|
|
3759
3759
|
if (!vt._owner)
|
|
3760
|
-
throw Error(p$
|
|
3760
|
+
throw Error(p$d(290, bt));
|
|
3761
3761
|
}
|
|
3762
3762
|
return bt;
|
|
3763
3763
|
}
|
|
3764
3764
|
function Mg(bt, pt) {
|
|
3765
|
-
throw bt = Object.prototype.toString.call(pt), Error(p$
|
|
3765
|
+
throw bt = Object.prototype.toString.call(pt), Error(p$d(31, bt === "[object Object]" ? "object with keys {" + Object.keys(pt).join(", ") + "}" : bt));
|
|
3766
3766
|
}
|
|
3767
3767
|
function Ng(bt) {
|
|
3768
3768
|
var pt = bt._init;
|
|
@@ -3892,9 +3892,9 @@ function Og$1(bt) {
|
|
|
3892
3892
|
function rr(sr, ar, or, ur) {
|
|
3893
3893
|
var cr = Ka(or);
|
|
3894
3894
|
if (typeof cr != "function")
|
|
3895
|
-
throw Error(p$
|
|
3895
|
+
throw Error(p$d(150));
|
|
3896
3896
|
if (or = cr.call(or), or == null)
|
|
3897
|
-
throw Error(p$
|
|
3897
|
+
throw Error(p$d(151));
|
|
3898
3898
|
for (var dr = cr = null, pr = ar, mr = ar = 0, vr = null, wr = or.next(); pr !== null && !wr.done; mr++, wr = or.next()) {
|
|
3899
3899
|
pr.index > mr ? (vr = pr, pr = null) : vr = pr.sibling;
|
|
3900
3900
|
var Vt = Zt(sr, pr, wr.value, ur);
|
|
@@ -4001,7 +4001,7 @@ function eh(bt) {
|
|
|
4001
4001
|
next: null
|
|
4002
4002
|
}, Yg$1 === null) {
|
|
4003
4003
|
if (Xg$1 === null)
|
|
4004
|
-
throw Error(p$
|
|
4004
|
+
throw Error(p$d(308));
|
|
4005
4005
|
Yg$1 = bt, Xg$1.dependencies = {
|
|
4006
4006
|
lanes: 0,
|
|
4007
4007
|
firstContext: bt
|
|
@@ -4062,7 +4062,7 @@ function nh(bt, pt, vt) {
|
|
|
4062
4062
|
var _t = bt.updateQueue;
|
|
4063
4063
|
if (_t === null)
|
|
4064
4064
|
return null;
|
|
4065
|
-
if (_t = _t.shared, K$
|
|
4065
|
+
if (_t = _t.shared, K$4 & 2) {
|
|
4066
4066
|
var $t = _t.pending;
|
|
4067
4067
|
return $t === null ? pt.next = pt : (pt.next = $t.next, $t.next = pt), _t.pending = pt, ih(bt, vt);
|
|
4068
4068
|
}
|
|
@@ -4182,7 +4182,7 @@ function sh(bt, pt, vt) {
|
|
|
4182
4182
|
var _t = bt[pt], $t = _t.callback;
|
|
4183
4183
|
if ($t !== null) {
|
|
4184
4184
|
if (_t.callback = null, _t = vt, typeof $t != "function")
|
|
4185
|
-
throw Error(p$
|
|
4185
|
+
throw Error(p$d(191, $t));
|
|
4186
4186
|
$t.call(_t);
|
|
4187
4187
|
}
|
|
4188
4188
|
}
|
|
@@ -4190,7 +4190,7 @@ function sh(bt, pt, vt) {
|
|
|
4190
4190
|
var th = {}, uh = Uf(th), vh = Uf(th), wh = Uf(th);
|
|
4191
4191
|
function xh(bt) {
|
|
4192
4192
|
if (bt === th)
|
|
4193
|
-
throw Error(p$
|
|
4193
|
+
throw Error(p$d(174));
|
|
4194
4194
|
return bt;
|
|
4195
4195
|
}
|
|
4196
4196
|
function yh(bt, pt) {
|
|
@@ -4248,7 +4248,7 @@ function Eh() {
|
|
|
4248
4248
|
}
|
|
4249
4249
|
var Fh = ua$1.ReactCurrentDispatcher, Gh = ua$1.ReactCurrentBatchConfig, Hh = 0, M$4 = null, N$1 = null, O$1 = null, Ih = !1, Jh = !1, Kh = 0, Lh = 0;
|
|
4250
4250
|
function P$2() {
|
|
4251
|
-
throw Error(p$
|
|
4251
|
+
throw Error(p$d(321));
|
|
4252
4252
|
}
|
|
4253
4253
|
function Mh(bt, pt) {
|
|
4254
4254
|
if (pt === null)
|
|
@@ -4263,12 +4263,12 @@ function Nh(bt, pt, vt, _t, $t, Rt) {
|
|
|
4263
4263
|
Rt = 0;
|
|
4264
4264
|
do {
|
|
4265
4265
|
if (Jh = !1, Kh = 0, 25 <= Rt)
|
|
4266
|
-
throw Error(p$
|
|
4266
|
+
throw Error(p$d(301));
|
|
4267
4267
|
Rt += 1, O$1 = N$1 = null, pt.updateQueue = null, Fh.current = Qh, bt = vt(_t, $t);
|
|
4268
4268
|
} while (Jh);
|
|
4269
4269
|
}
|
|
4270
4270
|
if (Fh.current = Rh, pt = N$1 !== null && N$1.next !== null, Hh = 0, O$1 = N$1 = M$4 = null, Ih = !1, pt)
|
|
4271
|
-
throw Error(p$
|
|
4271
|
+
throw Error(p$d(300));
|
|
4272
4272
|
return bt;
|
|
4273
4273
|
}
|
|
4274
4274
|
function Sh() {
|
|
@@ -4296,7 +4296,7 @@ function Uh() {
|
|
|
4296
4296
|
O$1 = pt, N$1 = bt;
|
|
4297
4297
|
else {
|
|
4298
4298
|
if (bt === null)
|
|
4299
|
-
throw Error(p$
|
|
4299
|
+
throw Error(p$d(310));
|
|
4300
4300
|
N$1 = bt, bt = {
|
|
4301
4301
|
memoizedState: N$1.memoizedState,
|
|
4302
4302
|
baseState: N$1.baseState,
|
|
@@ -4313,7 +4313,7 @@ function Vh(bt, pt) {
|
|
|
4313
4313
|
function Wh(bt) {
|
|
4314
4314
|
var pt = Uh(), vt = pt.queue;
|
|
4315
4315
|
if (vt === null)
|
|
4316
|
-
throw Error(p$
|
|
4316
|
+
throw Error(p$d(311));
|
|
4317
4317
|
vt.lastRenderedReducer = bt;
|
|
4318
4318
|
var _t = N$1, $t = _t.baseQueue, Rt = vt.pending;
|
|
4319
4319
|
if (Rt !== null) {
|
|
@@ -4362,7 +4362,7 @@ function Wh(bt) {
|
|
|
4362
4362
|
function Xh(bt) {
|
|
4363
4363
|
var pt = Uh(), vt = pt.queue;
|
|
4364
4364
|
if (vt === null)
|
|
4365
|
-
throw Error(p$
|
|
4365
|
+
throw Error(p$d(311));
|
|
4366
4366
|
vt.lastRenderedReducer = bt;
|
|
4367
4367
|
var _t = vt.dispatch, $t = vt.pending, Rt = pt.memoizedState;
|
|
4368
4368
|
if ($t !== null) {
|
|
@@ -4380,8 +4380,8 @@ function Yh() {
|
|
|
4380
4380
|
function Zh(bt, pt) {
|
|
4381
4381
|
var vt = M$4, _t = Uh(), $t = pt(), Rt = !He$1(_t.memoizedState, $t);
|
|
4382
4382
|
if (Rt && (_t.memoizedState = $t, dh = !0), _t = _t.queue, $h(ai$1.bind(null, vt, _t, bt), [bt]), _t.getSnapshot !== pt || Rt || O$1 !== null && O$1.memoizedState.tag & 1) {
|
|
4383
|
-
if (vt.flags |= 2048, bi$1(9, ci$1.bind(null, vt, _t, $t, pt), void 0, null), Q
|
|
4384
|
-
throw Error(p$
|
|
4383
|
+
if (vt.flags |= 2048, bi$1(9, ci$1.bind(null, vt, _t, $t, pt), void 0, null), Q === null)
|
|
4384
|
+
throw Error(p$d(349));
|
|
4385
4385
|
Hh & 30 || di(vt, pt, $t);
|
|
4386
4386
|
}
|
|
4387
4387
|
return $t;
|
|
@@ -4643,11 +4643,11 @@ var Rh = {
|
|
|
4643
4643
|
var _t = M$4, $t = Th();
|
|
4644
4644
|
if (I$7) {
|
|
4645
4645
|
if (vt === void 0)
|
|
4646
|
-
throw Error(p$
|
|
4646
|
+
throw Error(p$d(407));
|
|
4647
4647
|
vt = vt();
|
|
4648
4648
|
} else {
|
|
4649
|
-
if (vt = pt(), Q
|
|
4650
|
-
throw Error(p$
|
|
4649
|
+
if (vt = pt(), Q === null)
|
|
4650
|
+
throw Error(p$d(349));
|
|
4651
4651
|
Hh & 30 || di(_t, pt, vt);
|
|
4652
4652
|
}
|
|
4653
4653
|
$t.memoizedState = vt;
|
|
@@ -4658,7 +4658,7 @@ var Rh = {
|
|
|
4658
4658
|
return $t.queue = Rt, mi$1(ai$1.bind(null, _t, Rt, bt), [bt]), _t.flags |= 2048, bi$1(9, ci$1.bind(null, _t, Rt, vt, pt), void 0, null), vt;
|
|
4659
4659
|
},
|
|
4660
4660
|
useId: function() {
|
|
4661
|
-
var bt = Th(), pt = Q
|
|
4661
|
+
var bt = Th(), pt = Q.identifierPrefix;
|
|
4662
4662
|
if (I$7) {
|
|
4663
4663
|
var vt = sg$1, _t = rg$1;
|
|
4664
4664
|
vt = (_t & ~(1 << 32 - oc(_t) - 1)).toString(32) + vt, pt = ":" + pt + "R" + vt, vt = Kh++, 0 < vt && (pt += "H" + vt.toString(32)), pt += ":";
|
|
@@ -5015,7 +5015,7 @@ function sj$1(bt, pt, vt, _t) {
|
|
|
5015
5015
|
}
|
|
5016
5016
|
function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
5017
5017
|
if (vt)
|
|
5018
|
-
return pt.flags & 256 ? (pt.flags &= -257, _t = Ki$1(Error(p$
|
|
5018
|
+
return pt.flags & 256 ? (pt.flags &= -257, _t = Ki$1(Error(p$d(422))), sj$1(bt, pt, Ft, _t)) : pt.memoizedState !== null ? (pt.child = bt.child, pt.flags |= 128, null) : (Rt = _t.fallback, $t = pt.mode, _t = pj({
|
|
5019
5019
|
mode: "visible",
|
|
5020
5020
|
children: _t.children
|
|
5021
5021
|
}, $t, 0, null), Rt = Tg$1(Rt, $t, Ft, null), Rt.flags |= 2, _t.return = pt, Rt.return = pt, _t.sibling = Rt, pt.child = _t, pt.mode & 1 && Ug$1(pt, bt.child, null, Ft), pt.child.memoizedState = nj$1(Ft), pt.memoizedState = mj, Rt);
|
|
@@ -5024,10 +5024,10 @@ function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
|
5024
5024
|
if ($t.data === "$!") {
|
|
5025
5025
|
if (_t = $t.nextSibling && $t.nextSibling.dataset, _t)
|
|
5026
5026
|
var Pt = _t.dgst;
|
|
5027
|
-
return _t = Pt, Rt = Error(p$
|
|
5027
|
+
return _t = Pt, Rt = Error(p$d(419)), _t = Ki$1(Rt, _t, void 0), sj$1(bt, pt, Ft, _t);
|
|
5028
5028
|
}
|
|
5029
5029
|
if (Pt = (Ft & bt.childLanes) !== 0, dh || Pt) {
|
|
5030
|
-
if (_t = Q
|
|
5030
|
+
if (_t = Q, _t !== null) {
|
|
5031
5031
|
switch (Ft & -Ft) {
|
|
5032
5032
|
case 4:
|
|
5033
5033
|
$t = 2;
|
|
@@ -5066,7 +5066,7 @@ function rj$1(bt, pt, vt, _t, $t, Rt, Ft) {
|
|
|
5066
5066
|
}
|
|
5067
5067
|
$t = $t & (_t.suspendedLanes | Ft) ? 0 : $t, $t !== 0 && $t !== Rt.retryLane && (Rt.retryLane = $t, ih(bt, $t), gi(_t, bt, $t, -1));
|
|
5068
5068
|
}
|
|
5069
|
-
return tj$1(), _t = Ki$1(Error(p$
|
|
5069
|
+
return tj$1(), _t = Ki$1(Error(p$d(421))), sj$1(bt, pt, Ft, _t);
|
|
5070
5070
|
}
|
|
5071
5071
|
return $t.data === "$?" ? (pt.flags |= 128, pt.child = bt.child, pt = uj$1.bind(null, bt), $t._reactRetry = pt, null) : (bt = Rt.treeContext, yg$1 = Lf($t.nextSibling), xg$1 = pt, I$7 = !0, zg$1 = null, bt !== null && (og$1[pg$1++] = rg$1, og$1[pg$1++] = sg$1, og$1[pg$1++] = qg$1, rg$1 = bt.id, sg$1 = bt.overflow, qg$1 = pt), pt = qj$1(pt, _t.children), pt.flags |= 4096, pt);
|
|
5072
5072
|
}
|
|
@@ -5147,7 +5147,7 @@ function Zi$1(bt, pt, vt) {
|
|
|
5147
5147
|
if (bt !== null && (pt.dependencies = bt.dependencies), rh |= pt.lanes, !(vt & pt.childLanes))
|
|
5148
5148
|
return null;
|
|
5149
5149
|
if (bt !== null && pt.child !== bt.child)
|
|
5150
|
-
throw Error(p$
|
|
5150
|
+
throw Error(p$d(153));
|
|
5151
5151
|
if (pt.child !== null) {
|
|
5152
5152
|
for (bt = pt.child, vt = Pg$1(bt, bt.pendingProps), pt.child = vt, vt.return = pt; bt.sibling !== null; )
|
|
5153
5153
|
bt = bt.sibling, vt = vt.sibling = Pg$1(bt, bt.pendingProps), vt.return = pt;
|
|
@@ -5321,7 +5321,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5321
5321
|
else {
|
|
5322
5322
|
if (!_t) {
|
|
5323
5323
|
if (pt.stateNode === null)
|
|
5324
|
-
throw Error(p$
|
|
5324
|
+
throw Error(p$d(166));
|
|
5325
5325
|
return S$2(pt), null;
|
|
5326
5326
|
}
|
|
5327
5327
|
if (bt = xh(uh.current), Gg$1(pt)) {
|
|
@@ -5479,7 +5479,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5479
5479
|
Cj$1(bt, pt, bt.memoizedProps, _t);
|
|
5480
5480
|
else {
|
|
5481
5481
|
if (typeof _t != "string" && pt.stateNode === null)
|
|
5482
|
-
throw Error(p$
|
|
5482
|
+
throw Error(p$d(166));
|
|
5483
5483
|
if (vt = xh(wh.current), xh(uh.current), Gg$1(pt)) {
|
|
5484
5484
|
if (_t = pt.stateNode, vt = pt.memoizedProps, _t[Of] = pt, (Rt = _t.nodeValue !== vt) && (bt = xg$1, bt !== null))
|
|
5485
5485
|
switch (bt.tag) {
|
|
@@ -5501,9 +5501,9 @@ function Ej$1(bt, pt, vt) {
|
|
|
5501
5501
|
else if (Rt = Gg$1(pt), _t !== null && _t.dehydrated !== null) {
|
|
5502
5502
|
if (bt === null) {
|
|
5503
5503
|
if (!Rt)
|
|
5504
|
-
throw Error(p$
|
|
5504
|
+
throw Error(p$d(318));
|
|
5505
5505
|
if (Rt = pt.memoizedState, Rt = Rt !== null ? Rt.dehydrated : null, !Rt)
|
|
5506
|
-
throw Error(p$
|
|
5506
|
+
throw Error(p$d(317));
|
|
5507
5507
|
Rt[Of] = pt;
|
|
5508
5508
|
} else
|
|
5509
5509
|
Ig$1(), !(pt.flags & 128) && (pt.memoizedState = null), pt.flags |= 4;
|
|
@@ -5513,7 +5513,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5513
5513
|
if (!Rt)
|
|
5514
5514
|
return pt.flags & 65536 ? pt : null;
|
|
5515
5515
|
}
|
|
5516
|
-
return pt.flags & 128 ? (pt.lanes = vt, pt) : (_t = _t !== null, _t !== (bt !== null && bt.memoizedState !== null) && _t && (pt.child.flags |= 8192, pt.mode & 1 && (bt === null || L$4.current & 1 ? T$
|
|
5516
|
+
return pt.flags & 128 ? (pt.lanes = vt, pt) : (_t = _t !== null, _t !== (bt !== null && bt.memoizedState !== null) && _t && (pt.child.flags |= 8192, pt.mode & 1 && (bt === null || L$4.current & 1 ? T$6 === 0 && (T$6 = 3) : tj$1())), pt.updateQueue !== null && (pt.flags |= 4), S$2(pt), null);
|
|
5517
5517
|
case 4:
|
|
5518
5518
|
return zh(), Aj$1(bt, pt), bt === null && sf(pt.stateNode.containerInfo), S$2(pt), null;
|
|
5519
5519
|
case 10:
|
|
@@ -5527,7 +5527,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5527
5527
|
if (_t)
|
|
5528
5528
|
Dj$1(Rt, !1);
|
|
5529
5529
|
else {
|
|
5530
|
-
if (T$
|
|
5530
|
+
if (T$6 !== 0 || bt !== null && bt.flags & 128)
|
|
5531
5531
|
for (bt = pt.child; bt !== null; ) {
|
|
5532
5532
|
if (Ft = Ch(bt), Ft !== null) {
|
|
5533
5533
|
for (pt.flags |= 128, Dj$1(Rt, !1), _t = Ft.updateQueue, _t !== null && (pt.updateQueue = _t, pt.flags |= 4), pt.subtreeFlags = 0, _t = vt, vt = pt.child; vt !== null; )
|
|
@@ -5559,7 +5559,7 @@ function Ej$1(bt, pt, vt) {
|
|
|
5559
5559
|
case 25:
|
|
5560
5560
|
return null;
|
|
5561
5561
|
}
|
|
5562
|
-
throw Error(p$
|
|
5562
|
+
throw Error(p$d(156, pt.tag));
|
|
5563
5563
|
}
|
|
5564
5564
|
function Ij(bt, pt) {
|
|
5565
5565
|
switch (wg$1(pt), pt.tag) {
|
|
@@ -5572,7 +5572,7 @@ function Ij(bt, pt) {
|
|
|
5572
5572
|
case 13:
|
|
5573
5573
|
if (E$7(L$4), bt = pt.memoizedState, bt !== null && bt.dehydrated !== null) {
|
|
5574
5574
|
if (pt.alternate === null)
|
|
5575
|
-
throw Error(p$
|
|
5575
|
+
throw Error(p$d(340));
|
|
5576
5576
|
Ig$1();
|
|
5577
5577
|
}
|
|
5578
5578
|
return bt = pt.flags, bt & 65536 ? (pt.flags = bt & -65537 | 128, pt) : null;
|
|
@@ -5591,7 +5591,7 @@ function Ij(bt, pt) {
|
|
|
5591
5591
|
return null;
|
|
5592
5592
|
}
|
|
5593
5593
|
}
|
|
5594
|
-
var Jj$1 = !1, U = !1, Kj$1 = typeof WeakSet == "function" ? WeakSet : Set, V$
|
|
5594
|
+
var Jj$1 = !1, U = !1, Kj$1 = typeof WeakSet == "function" ? WeakSet : Set, V$2 = null;
|
|
5595
5595
|
function Lj$1(bt, pt) {
|
|
5596
5596
|
var vt = bt.ref;
|
|
5597
5597
|
if (vt !== null)
|
|
@@ -5663,12 +5663,12 @@ function Oj$1(bt, pt) {
|
|
|
5663
5663
|
for (Df = {
|
|
5664
5664
|
focusedElem: bt,
|
|
5665
5665
|
selectionRange: vt
|
|
5666
|
-
}, dd = !1, V$
|
|
5667
|
-
if (pt = V$
|
|
5668
|
-
bt.return = pt, V$
|
|
5666
|
+
}, dd = !1, V$2 = pt; V$2 !== null; )
|
|
5667
|
+
if (pt = V$2, bt = pt.child, (pt.subtreeFlags & 1028) !== 0 && bt !== null)
|
|
5668
|
+
bt.return = pt, V$2 = bt;
|
|
5669
5669
|
else
|
|
5670
|
-
for (; V$
|
|
5671
|
-
pt = V$
|
|
5670
|
+
for (; V$2 !== null; ) {
|
|
5671
|
+
pt = V$2;
|
|
5672
5672
|
try {
|
|
5673
5673
|
var Kt = pt.alternate;
|
|
5674
5674
|
if (pt.flags & 1024)
|
|
@@ -5693,16 +5693,16 @@ function Oj$1(bt, pt) {
|
|
|
5693
5693
|
case 17:
|
|
5694
5694
|
break;
|
|
5695
5695
|
default:
|
|
5696
|
-
throw Error(p$
|
|
5696
|
+
throw Error(p$d(163));
|
|
5697
5697
|
}
|
|
5698
5698
|
} catch (ur) {
|
|
5699
5699
|
W$3(pt, pt.return, ur);
|
|
5700
5700
|
}
|
|
5701
5701
|
if (bt = pt.sibling, bt !== null) {
|
|
5702
|
-
bt.return = pt.return, V$
|
|
5702
|
+
bt.return = pt.return, V$2 = bt;
|
|
5703
5703
|
break;
|
|
5704
5704
|
}
|
|
5705
|
-
V$
|
|
5705
|
+
V$2 = pt.return;
|
|
5706
5706
|
}
|
|
5707
5707
|
return Kt = Nj$1, Nj$1 = !1, Kt;
|
|
5708
5708
|
}
|
|
@@ -5875,7 +5875,7 @@ function ck(bt, pt) {
|
|
|
5875
5875
|
Pt = Pt.return;
|
|
5876
5876
|
}
|
|
5877
5877
|
if (X$2 === null)
|
|
5878
|
-
throw Error(p$
|
|
5878
|
+
throw Error(p$d(160));
|
|
5879
5879
|
Zj$1(Rt, Ft, $t), X$2 = null, Xj$1 = !1;
|
|
5880
5880
|
var Bt = $t.alternate;
|
|
5881
5881
|
Bt !== null && (Bt.return = null), $t.return = null;
|
|
@@ -5951,7 +5951,7 @@ function dk(bt, pt) {
|
|
|
5951
5951
|
case 6:
|
|
5952
5952
|
if (ck(pt, bt), ek(bt), _t & 4) {
|
|
5953
5953
|
if (bt.stateNode === null)
|
|
5954
|
-
throw Error(p$
|
|
5954
|
+
throw Error(p$d(162));
|
|
5955
5955
|
$t = bt.stateNode, Rt = bt.memoizedProps;
|
|
5956
5956
|
try {
|
|
5957
5957
|
$t.nodeValue = Rt;
|
|
@@ -5977,9 +5977,9 @@ function dk(bt, pt) {
|
|
|
5977
5977
|
case 22:
|
|
5978
5978
|
if (Ht = vt !== null && vt.memoizedState !== null, bt.mode & 1 ? (U = (qt = U) || Ht, ck(pt, bt), U = qt) : ck(pt, bt), ek(bt), _t & 8192) {
|
|
5979
5979
|
if (qt = bt.memoizedState !== null, (bt.stateNode.isHidden = qt) && !Ht && bt.mode & 1)
|
|
5980
|
-
for (V$
|
|
5981
|
-
for (Gt = V$
|
|
5982
|
-
switch (Zt = V$
|
|
5980
|
+
for (V$2 = bt, Ht = bt.child; Ht !== null; ) {
|
|
5981
|
+
for (Gt = V$2 = Ht; V$2 !== null; ) {
|
|
5982
|
+
switch (Zt = V$2, Jt = Zt.child, Zt.tag) {
|
|
5983
5983
|
case 0:
|
|
5984
5984
|
case 11:
|
|
5985
5985
|
case 14:
|
|
@@ -6007,7 +6007,7 @@ function dk(bt, pt) {
|
|
|
6007
6007
|
continue;
|
|
6008
6008
|
}
|
|
6009
6009
|
}
|
|
6010
|
-
Jt !== null ? (Jt.return = Zt, V$
|
|
6010
|
+
Jt !== null ? (Jt.return = Zt, V$2 = Jt) : gk(Gt);
|
|
6011
6011
|
}
|
|
6012
6012
|
Ht = Ht.sibling;
|
|
6013
6013
|
}
|
|
@@ -6065,7 +6065,7 @@ function ek(bt) {
|
|
|
6065
6065
|
}
|
|
6066
6066
|
vt = vt.return;
|
|
6067
6067
|
}
|
|
6068
|
-
throw Error(p$
|
|
6068
|
+
throw Error(p$d(160));
|
|
6069
6069
|
}
|
|
6070
6070
|
switch (_t.tag) {
|
|
6071
6071
|
case 5:
|
|
@@ -6080,7 +6080,7 @@ function ek(bt) {
|
|
|
6080
6080
|
Vj$1(bt, Pt, Ft);
|
|
6081
6081
|
break;
|
|
6082
6082
|
default:
|
|
6083
|
-
throw Error(p$
|
|
6083
|
+
throw Error(p$d(161));
|
|
6084
6084
|
}
|
|
6085
6085
|
} catch (Bt) {
|
|
6086
6086
|
W$3(bt, bt.return, Bt);
|
|
@@ -6090,11 +6090,11 @@ function ek(bt) {
|
|
|
6090
6090
|
pt & 4096 && (bt.flags &= -4097);
|
|
6091
6091
|
}
|
|
6092
6092
|
function hk(bt, pt, vt) {
|
|
6093
|
-
V$
|
|
6093
|
+
V$2 = bt, ik(bt);
|
|
6094
6094
|
}
|
|
6095
6095
|
function ik(bt, pt, vt) {
|
|
6096
|
-
for (var _t = (bt.mode & 1) !== 0; V$
|
|
6097
|
-
var $t = V$
|
|
6096
|
+
for (var _t = (bt.mode & 1) !== 0; V$2 !== null; ) {
|
|
6097
|
+
var $t = V$2, Rt = $t.child;
|
|
6098
6098
|
if ($t.tag === 22 && _t) {
|
|
6099
6099
|
var Ft = $t.memoizedState !== null || Jj$1;
|
|
6100
6100
|
if (!Ft) {
|
|
@@ -6102,20 +6102,20 @@ function ik(bt, pt, vt) {
|
|
|
6102
6102
|
Pt = Jj$1;
|
|
6103
6103
|
var qt = U;
|
|
6104
6104
|
if (Jj$1 = Ft, (U = Bt) && !qt)
|
|
6105
|
-
for (V$
|
|
6106
|
-
Ft = V$
|
|
6105
|
+
for (V$2 = $t; V$2 !== null; )
|
|
6106
|
+
Ft = V$2, Bt = Ft.child, Ft.tag === 22 && Ft.memoizedState !== null ? jk($t) : Bt !== null ? (Bt.return = Ft, V$2 = Bt) : jk($t);
|
|
6107
6107
|
for (; Rt !== null; )
|
|
6108
|
-
V$
|
|
6109
|
-
V$
|
|
6108
|
+
V$2 = Rt, ik(Rt), Rt = Rt.sibling;
|
|
6109
|
+
V$2 = $t, Jj$1 = Pt, U = qt;
|
|
6110
6110
|
}
|
|
6111
6111
|
kk(bt);
|
|
6112
6112
|
} else
|
|
6113
|
-
$t.subtreeFlags & 8772 && Rt !== null ? (Rt.return = $t, V$
|
|
6113
|
+
$t.subtreeFlags & 8772 && Rt !== null ? (Rt.return = $t, V$2 = Rt) : kk(bt);
|
|
6114
6114
|
}
|
|
6115
6115
|
}
|
|
6116
6116
|
function kk(bt) {
|
|
6117
|
-
for (; V$
|
|
6118
|
-
var pt = V$
|
|
6117
|
+
for (; V$2 !== null; ) {
|
|
6118
|
+
var pt = V$2;
|
|
6119
6119
|
if (pt.flags & 8772) {
|
|
6120
6120
|
var vt = pt.alternate;
|
|
6121
6121
|
try {
|
|
@@ -6195,7 +6195,7 @@ function kk(bt) {
|
|
|
6195
6195
|
case 25:
|
|
6196
6196
|
break;
|
|
6197
6197
|
default:
|
|
6198
|
-
throw Error(p$
|
|
6198
|
+
throw Error(p$d(163));
|
|
6199
6199
|
}
|
|
6200
6200
|
U || pt.flags & 512 && Rj$1(pt);
|
|
6201
6201
|
} catch (Zt) {
|
|
@@ -6203,34 +6203,34 @@ function kk(bt) {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
}
|
|
6205
6205
|
if (pt === bt) {
|
|
6206
|
-
V$
|
|
6206
|
+
V$2 = null;
|
|
6207
6207
|
break;
|
|
6208
6208
|
}
|
|
6209
6209
|
if (vt = pt.sibling, vt !== null) {
|
|
6210
|
-
vt.return = pt.return, V$
|
|
6210
|
+
vt.return = pt.return, V$2 = vt;
|
|
6211
6211
|
break;
|
|
6212
6212
|
}
|
|
6213
|
-
V$
|
|
6213
|
+
V$2 = pt.return;
|
|
6214
6214
|
}
|
|
6215
6215
|
}
|
|
6216
6216
|
function gk(bt) {
|
|
6217
|
-
for (; V$
|
|
6218
|
-
var pt = V$
|
|
6217
|
+
for (; V$2 !== null; ) {
|
|
6218
|
+
var pt = V$2;
|
|
6219
6219
|
if (pt === bt) {
|
|
6220
|
-
V$
|
|
6220
|
+
V$2 = null;
|
|
6221
6221
|
break;
|
|
6222
6222
|
}
|
|
6223
6223
|
var vt = pt.sibling;
|
|
6224
6224
|
if (vt !== null) {
|
|
6225
|
-
vt.return = pt.return, V$
|
|
6225
|
+
vt.return = pt.return, V$2 = vt;
|
|
6226
6226
|
break;
|
|
6227
6227
|
}
|
|
6228
|
-
V$
|
|
6228
|
+
V$2 = pt.return;
|
|
6229
6229
|
}
|
|
6230
6230
|
}
|
|
6231
6231
|
function jk(bt) {
|
|
6232
|
-
for (; V$
|
|
6233
|
-
var pt = V$
|
|
6232
|
+
for (; V$2 !== null; ) {
|
|
6233
|
+
var pt = V$2;
|
|
6234
6234
|
try {
|
|
6235
6235
|
switch (pt.tag) {
|
|
6236
6236
|
case 0:
|
|
@@ -6272,39 +6272,39 @@ function jk(bt) {
|
|
|
6272
6272
|
W$3(pt, pt.return, Bt);
|
|
6273
6273
|
}
|
|
6274
6274
|
if (pt === bt) {
|
|
6275
|
-
V$
|
|
6275
|
+
V$2 = null;
|
|
6276
6276
|
break;
|
|
6277
6277
|
}
|
|
6278
6278
|
var Pt = pt.sibling;
|
|
6279
6279
|
if (Pt !== null) {
|
|
6280
|
-
Pt.return = pt.return, V$
|
|
6280
|
+
Pt.return = pt.return, V$2 = Pt;
|
|
6281
6281
|
break;
|
|
6282
6282
|
}
|
|
6283
|
-
V$
|
|
6283
|
+
V$2 = pt.return;
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
|
-
var lk = Math.ceil, mk = ua$1.ReactCurrentDispatcher, nk = ua$1.ReactCurrentOwner, ok$2 = ua$1.ReactCurrentBatchConfig, K$
|
|
6286
|
+
var lk = Math.ceil, mk = ua$1.ReactCurrentDispatcher, nk = ua$1.ReactCurrentOwner, ok$2 = ua$1.ReactCurrentBatchConfig, K$4 = 0, Q = null, Y$1 = null, Z = 0, fj = 0, ej$1 = Uf(0), T$6 = 0, pk = null, rh = 0, qk = 0, rk = 0, sk = null, tk = null, fk = 0, Gj$1 = 1 / 0, uk = null, Oi$1 = !1, Pi$1 = null, Ri$1 = null, vk = !1, wk = null, xk = 0, yk = 0, zk = null, Ak = -1, Bk = 0;
|
|
6287
6287
|
function R$9() {
|
|
6288
|
-
return K$
|
|
6288
|
+
return K$4 & 6 ? B$3() : Ak !== -1 ? Ak : Ak = B$3();
|
|
6289
6289
|
}
|
|
6290
6290
|
function yi(bt) {
|
|
6291
|
-
return bt.mode & 1 ? K$
|
|
6291
|
+
return bt.mode & 1 ? K$4 & 2 && Z !== 0 ? Z & -Z : Kg$1.transition !== null ? (Bk === 0 && (Bk = yc()), Bk) : (bt = C$2, bt !== 0 || (bt = window.event, bt = bt === void 0 ? 16 : jd(bt.type)), bt) : 1;
|
|
6292
6292
|
}
|
|
6293
6293
|
function gi(bt, pt, vt, _t) {
|
|
6294
6294
|
if (50 < yk)
|
|
6295
|
-
throw yk = 0, zk = null, Error(p$
|
|
6296
|
-
Ac(bt, vt, _t), (!(K$
|
|
6295
|
+
throw yk = 0, zk = null, Error(p$d(185));
|
|
6296
|
+
Ac(bt, vt, _t), (!(K$4 & 2) || bt !== Q) && (bt === Q && (!(K$4 & 2) && (qk |= vt), T$6 === 4 && Ck(bt, Z)), Dk(bt, _t), vt === 1 && K$4 === 0 && !(pt.mode & 1) && (Gj$1 = B$3() + 500, fg$1 && jg$1()));
|
|
6297
6297
|
}
|
|
6298
6298
|
function Dk(bt, pt) {
|
|
6299
6299
|
var vt = bt.callbackNode;
|
|
6300
6300
|
wc(bt, pt);
|
|
6301
|
-
var _t = uc(bt, bt === Q
|
|
6301
|
+
var _t = uc(bt, bt === Q ? Z : 0);
|
|
6302
6302
|
if (_t === 0)
|
|
6303
6303
|
vt !== null && bc(vt), bt.callbackNode = null, bt.callbackPriority = 0;
|
|
6304
6304
|
else if (pt = _t & -_t, bt.callbackPriority !== pt) {
|
|
6305
6305
|
if (vt != null && bc(vt), pt === 1)
|
|
6306
6306
|
bt.tag === 0 ? ig$1(Ek.bind(null, bt)) : hg$1(Ek.bind(null, bt)), Jf(function() {
|
|
6307
|
-
!(K$
|
|
6307
|
+
!(K$4 & 6) && jg$1();
|
|
6308
6308
|
}), vt = null;
|
|
6309
6309
|
else {
|
|
6310
6310
|
switch (Dc$1(_t)) {
|
|
@@ -6329,22 +6329,22 @@ function Dk(bt, pt) {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
}
|
|
6331
6331
|
function Gk(bt, pt) {
|
|
6332
|
-
if (Ak = -1, Bk = 0, K$
|
|
6333
|
-
throw Error(p$
|
|
6332
|
+
if (Ak = -1, Bk = 0, K$4 & 6)
|
|
6333
|
+
throw Error(p$d(327));
|
|
6334
6334
|
var vt = bt.callbackNode;
|
|
6335
6335
|
if (Hk() && bt.callbackNode !== vt)
|
|
6336
6336
|
return null;
|
|
6337
|
-
var _t = uc(bt, bt === Q
|
|
6337
|
+
var _t = uc(bt, bt === Q ? Z : 0);
|
|
6338
6338
|
if (_t === 0)
|
|
6339
6339
|
return null;
|
|
6340
6340
|
if (_t & 30 || _t & bt.expiredLanes || pt)
|
|
6341
6341
|
pt = Ik(bt, _t);
|
|
6342
6342
|
else {
|
|
6343
6343
|
pt = _t;
|
|
6344
|
-
var $t = K$
|
|
6345
|
-
K$
|
|
6344
|
+
var $t = K$4;
|
|
6345
|
+
K$4 |= 2;
|
|
6346
6346
|
var Rt = Jk();
|
|
6347
|
-
(Q
|
|
6347
|
+
(Q !== bt || Z !== pt) && (uk = null, Gj$1 = B$3() + 500, Kk(bt, pt));
|
|
6348
6348
|
do
|
|
6349
6349
|
try {
|
|
6350
6350
|
Lk();
|
|
@@ -6353,7 +6353,7 @@ function Gk(bt, pt) {
|
|
|
6353
6353
|
Mk(bt, Pt);
|
|
6354
6354
|
}
|
|
6355
6355
|
while (1);
|
|
6356
|
-
$g$1(), mk.current = Rt, K$
|
|
6356
|
+
$g$1(), mk.current = Rt, K$4 = $t, Y$1 !== null ? pt = 0 : (Q = null, Z = 0, pt = T$6);
|
|
6357
6357
|
}
|
|
6358
6358
|
if (pt !== 0) {
|
|
6359
6359
|
if (pt === 2 && ($t = xc(bt), $t !== 0 && (_t = $t, pt = Nk(bt, $t))), pt === 1)
|
|
@@ -6366,7 +6366,7 @@ function Gk(bt, pt) {
|
|
|
6366
6366
|
switch (bt.finishedWork = $t, bt.finishedLanes = _t, pt) {
|
|
6367
6367
|
case 0:
|
|
6368
6368
|
case 1:
|
|
6369
|
-
throw Error(p$
|
|
6369
|
+
throw Error(p$d(345));
|
|
6370
6370
|
case 2:
|
|
6371
6371
|
Pk(bt, tk, uk);
|
|
6372
6372
|
break;
|
|
@@ -6400,7 +6400,7 @@ function Gk(bt, pt) {
|
|
|
6400
6400
|
Pk(bt, tk, uk);
|
|
6401
6401
|
break;
|
|
6402
6402
|
default:
|
|
6403
|
-
throw Error(p$
|
|
6403
|
+
throw Error(p$d(329));
|
|
6404
6404
|
}
|
|
6405
6405
|
}
|
|
6406
6406
|
}
|
|
@@ -6451,8 +6451,8 @@ function Ck(bt, pt) {
|
|
|
6451
6451
|
}
|
|
6452
6452
|
}
|
|
6453
6453
|
function Ek(bt) {
|
|
6454
|
-
if (K$
|
|
6455
|
-
throw Error(p$
|
|
6454
|
+
if (K$4 & 6)
|
|
6455
|
+
throw Error(p$d(327));
|
|
6456
6456
|
Hk();
|
|
6457
6457
|
var pt = uc(bt, 0);
|
|
6458
6458
|
if (!(pt & 1))
|
|
@@ -6465,28 +6465,28 @@ function Ek(bt) {
|
|
|
6465
6465
|
if (vt === 1)
|
|
6466
6466
|
throw vt = pk, Kk(bt, 0), Ck(bt, pt), Dk(bt, B$3()), vt;
|
|
6467
6467
|
if (vt === 6)
|
|
6468
|
-
throw Error(p$
|
|
6468
|
+
throw Error(p$d(345));
|
|
6469
6469
|
return bt.finishedWork = bt.current.alternate, bt.finishedLanes = pt, Pk(bt, tk, uk), Dk(bt, B$3()), null;
|
|
6470
6470
|
}
|
|
6471
6471
|
function Qk(bt, pt) {
|
|
6472
|
-
var vt = K$
|
|
6473
|
-
K$
|
|
6472
|
+
var vt = K$4;
|
|
6473
|
+
K$4 |= 1;
|
|
6474
6474
|
try {
|
|
6475
6475
|
return bt(pt);
|
|
6476
6476
|
} finally {
|
|
6477
|
-
K$
|
|
6477
|
+
K$4 = vt, K$4 === 0 && (Gj$1 = B$3() + 500, fg$1 && jg$1());
|
|
6478
6478
|
}
|
|
6479
6479
|
}
|
|
6480
6480
|
function Rk(bt) {
|
|
6481
|
-
wk !== null && wk.tag === 0 && !(K$
|
|
6482
|
-
var pt = K$
|
|
6483
|
-
K$
|
|
6481
|
+
wk !== null && wk.tag === 0 && !(K$4 & 6) && Hk();
|
|
6482
|
+
var pt = K$4;
|
|
6483
|
+
K$4 |= 1;
|
|
6484
6484
|
var vt = ok$2.transition, _t = C$2;
|
|
6485
6485
|
try {
|
|
6486
6486
|
if (ok$2.transition = null, C$2 = 1, bt)
|
|
6487
6487
|
return bt();
|
|
6488
6488
|
} finally {
|
|
6489
|
-
C$2 = _t, ok$2.transition = vt, K$
|
|
6489
|
+
C$2 = _t, ok$2.transition = vt, K$4 = pt, !(K$4 & 6) && jg$1();
|
|
6490
6490
|
}
|
|
6491
6491
|
}
|
|
6492
6492
|
function Hj$1() {
|
|
@@ -6495,8 +6495,8 @@ function Hj$1() {
|
|
|
6495
6495
|
function Kk(bt, pt) {
|
|
6496
6496
|
bt.finishedWork = null, bt.finishedLanes = 0;
|
|
6497
6497
|
var vt = bt.timeoutHandle;
|
|
6498
|
-
if (vt !== -1 && (bt.timeoutHandle = -1, Gf(vt)), Y !== null)
|
|
6499
|
-
for (vt = Y.return; vt !== null; ) {
|
|
6498
|
+
if (vt !== -1 && (bt.timeoutHandle = -1, Gf(vt)), Y$1 !== null)
|
|
6499
|
+
for (vt = Y$1.return; vt !== null; ) {
|
|
6500
6500
|
var _t = vt;
|
|
6501
6501
|
switch (wg$1(_t), _t.tag) {
|
|
6502
6502
|
case 1:
|
|
@@ -6526,7 +6526,7 @@ function Kk(bt, pt) {
|
|
|
6526
6526
|
}
|
|
6527
6527
|
vt = vt.return;
|
|
6528
6528
|
}
|
|
6529
|
-
if (Q
|
|
6529
|
+
if (Q = bt, Y$1 = bt = Pg$1(bt.current, null), Z = fj = pt, T$6 = 0, pk = null, rk = qk = rh = 0, tk = sk = null, fh !== null) {
|
|
6530
6530
|
for (pt = 0; pt < fh.length; pt++)
|
|
6531
6531
|
if (vt = fh[pt], _t = vt.interleaved, _t !== null) {
|
|
6532
6532
|
vt.interleaved = null;
|
|
@@ -6543,7 +6543,7 @@ function Kk(bt, pt) {
|
|
|
6543
6543
|
}
|
|
6544
6544
|
function Mk(bt, pt) {
|
|
6545
6545
|
do {
|
|
6546
|
-
var vt = Y;
|
|
6546
|
+
var vt = Y$1;
|
|
6547
6547
|
try {
|
|
6548
6548
|
if ($g$1(), Fh.current = Rh, Ih) {
|
|
6549
6549
|
for (var _t = M$4.memoizedState; _t !== null; ) {
|
|
@@ -6553,7 +6553,7 @@ function Mk(bt, pt) {
|
|
|
6553
6553
|
Ih = !1;
|
|
6554
6554
|
}
|
|
6555
6555
|
if (Hh = 0, O$1 = N$1 = M$4 = null, Jh = !1, Kh = 0, nk.current = null, vt === null || vt.return === null) {
|
|
6556
|
-
T$
|
|
6556
|
+
T$6 = 1, pk = pt, Y$1 = null;
|
|
6557
6557
|
break;
|
|
6558
6558
|
}
|
|
6559
6559
|
e: {
|
|
@@ -6579,7 +6579,7 @@ function Mk(bt, pt) {
|
|
|
6579
6579
|
Si$1(Rt, qt, pt), tj$1();
|
|
6580
6580
|
break e;
|
|
6581
6581
|
}
|
|
6582
|
-
Bt = Error(p$
|
|
6582
|
+
Bt = Error(p$d(426));
|
|
6583
6583
|
}
|
|
6584
6584
|
} else if (I$7 && Pt.mode & 1) {
|
|
6585
6585
|
var ir = Ui$1(Ft);
|
|
@@ -6588,7 +6588,7 @@ function Mk(bt, pt) {
|
|
|
6588
6588
|
break e;
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
6591
|
-
Rt = Bt = Ji$1(Bt, Pt), T$
|
|
6591
|
+
Rt = Bt = Ji$1(Bt, Pt), T$6 !== 4 && (T$6 = 2), sk === null ? sk = [Rt] : sk.push(Rt), Rt = Ft;
|
|
6592
6592
|
do {
|
|
6593
6593
|
switch (Rt.tag) {
|
|
6594
6594
|
case 3:
|
|
@@ -6611,7 +6611,7 @@ function Mk(bt, pt) {
|
|
|
6611
6611
|
}
|
|
6612
6612
|
Sk(vt);
|
|
6613
6613
|
} catch (cr) {
|
|
6614
|
-
pt = cr, Y === vt && vt !== null && (Y = vt = vt.return);
|
|
6614
|
+
pt = cr, Y$1 === vt && vt !== null && (Y$1 = vt = vt.return);
|
|
6615
6615
|
continue;
|
|
6616
6616
|
}
|
|
6617
6617
|
break;
|
|
@@ -6622,13 +6622,13 @@ function Jk() {
|
|
|
6622
6622
|
return mk.current = Rh, bt === null ? Rh : bt;
|
|
6623
6623
|
}
|
|
6624
6624
|
function tj$1() {
|
|
6625
|
-
(T$
|
|
6625
|
+
(T$6 === 0 || T$6 === 3 || T$6 === 2) && (T$6 = 4), Q === null || !(rh & 268435455) && !(qk & 268435455) || Ck(Q, Z);
|
|
6626
6626
|
}
|
|
6627
6627
|
function Ik(bt, pt) {
|
|
6628
|
-
var vt = K$
|
|
6629
|
-
K$
|
|
6628
|
+
var vt = K$4;
|
|
6629
|
+
K$4 |= 2;
|
|
6630
6630
|
var _t = Jk();
|
|
6631
|
-
(Q
|
|
6631
|
+
(Q !== bt || Z !== pt) && (uk = null, Kk(bt, pt));
|
|
6632
6632
|
do
|
|
6633
6633
|
try {
|
|
6634
6634
|
Tk();
|
|
@@ -6637,21 +6637,21 @@ function Ik(bt, pt) {
|
|
|
6637
6637
|
Mk(bt, $t);
|
|
6638
6638
|
}
|
|
6639
6639
|
while (1);
|
|
6640
|
-
if ($g$1(), K$
|
|
6641
|
-
throw Error(p$
|
|
6642
|
-
return Q
|
|
6640
|
+
if ($g$1(), K$4 = vt, mk.current = _t, Y$1 !== null)
|
|
6641
|
+
throw Error(p$d(261));
|
|
6642
|
+
return Q = null, Z = 0, T$6;
|
|
6643
6643
|
}
|
|
6644
6644
|
function Tk() {
|
|
6645
|
-
for (; Y !== null; )
|
|
6646
|
-
Uk(Y);
|
|
6645
|
+
for (; Y$1 !== null; )
|
|
6646
|
+
Uk(Y$1);
|
|
6647
6647
|
}
|
|
6648
6648
|
function Lk() {
|
|
6649
|
-
for (; Y !== null && !cc(); )
|
|
6650
|
-
Uk(Y);
|
|
6649
|
+
for (; Y$1 !== null && !cc(); )
|
|
6650
|
+
Uk(Y$1);
|
|
6651
6651
|
}
|
|
6652
6652
|
function Uk(bt) {
|
|
6653
6653
|
var pt = Vk(bt.alternate, bt, fj);
|
|
6654
|
-
bt.memoizedProps = bt.pendingProps, pt === null ? Sk(bt) : Y = pt, nk.current = null;
|
|
6654
|
+
bt.memoizedProps = bt.pendingProps, pt === null ? Sk(bt) : Y$1 = pt, nk.current = null;
|
|
6655
6655
|
}
|
|
6656
6656
|
function Sk(bt) {
|
|
6657
6657
|
var pt = bt;
|
|
@@ -6659,26 +6659,26 @@ function Sk(bt) {
|
|
|
6659
6659
|
var vt = pt.alternate;
|
|
6660
6660
|
if (bt = pt.return, pt.flags & 32768) {
|
|
6661
6661
|
if (vt = Ij(vt, pt), vt !== null) {
|
|
6662
|
-
vt.flags &= 32767, Y = vt;
|
|
6662
|
+
vt.flags &= 32767, Y$1 = vt;
|
|
6663
6663
|
return;
|
|
6664
6664
|
}
|
|
6665
6665
|
if (bt !== null)
|
|
6666
6666
|
bt.flags |= 32768, bt.subtreeFlags = 0, bt.deletions = null;
|
|
6667
6667
|
else {
|
|
6668
|
-
T$
|
|
6668
|
+
T$6 = 6, Y$1 = null;
|
|
6669
6669
|
return;
|
|
6670
6670
|
}
|
|
6671
6671
|
} else if (vt = Ej$1(vt, pt, fj), vt !== null) {
|
|
6672
|
-
Y = vt;
|
|
6672
|
+
Y$1 = vt;
|
|
6673
6673
|
return;
|
|
6674
6674
|
}
|
|
6675
6675
|
if (pt = pt.sibling, pt !== null) {
|
|
6676
|
-
Y = pt;
|
|
6676
|
+
Y$1 = pt;
|
|
6677
6677
|
return;
|
|
6678
6678
|
}
|
|
6679
|
-
Y = pt = bt;
|
|
6679
|
+
Y$1 = pt = bt;
|
|
6680
6680
|
} while (pt !== null);
|
|
6681
|
-
T$
|
|
6681
|
+
T$6 === 0 && (T$6 = 5);
|
|
6682
6682
|
}
|
|
6683
6683
|
function Pk(bt, pt, vt) {
|
|
6684
6684
|
var _t = C$2, $t = ok$2.transition;
|
|
@@ -6693,24 +6693,24 @@ function Wk(bt, pt, vt, _t) {
|
|
|
6693
6693
|
do
|
|
6694
6694
|
Hk();
|
|
6695
6695
|
while (wk !== null);
|
|
6696
|
-
if (K$
|
|
6697
|
-
throw Error(p$
|
|
6696
|
+
if (K$4 & 6)
|
|
6697
|
+
throw Error(p$d(327));
|
|
6698
6698
|
vt = bt.finishedWork;
|
|
6699
6699
|
var $t = bt.finishedLanes;
|
|
6700
6700
|
if (vt === null)
|
|
6701
6701
|
return null;
|
|
6702
6702
|
if (bt.finishedWork = null, bt.finishedLanes = 0, vt === bt.current)
|
|
6703
|
-
throw Error(p$
|
|
6703
|
+
throw Error(p$d(177));
|
|
6704
6704
|
bt.callbackNode = null, bt.callbackPriority = 0;
|
|
6705
6705
|
var Rt = vt.lanes | vt.childLanes;
|
|
6706
|
-
if (Bc(bt, Rt), bt === Q
|
|
6706
|
+
if (Bc(bt, Rt), bt === Q && (Y$1 = Q = null, Z = 0), !(vt.subtreeFlags & 2064) && !(vt.flags & 2064) || vk || (vk = !0, Fk(hc, function() {
|
|
6707
6707
|
return Hk(), null;
|
|
6708
6708
|
})), Rt = (vt.flags & 15990) !== 0, vt.subtreeFlags & 15990 || Rt) {
|
|
6709
6709
|
Rt = ok$2.transition, ok$2.transition = null;
|
|
6710
6710
|
var Ft = C$2;
|
|
6711
6711
|
C$2 = 1;
|
|
6712
|
-
var Pt = K$
|
|
6713
|
-
K$
|
|
6712
|
+
var Pt = K$4;
|
|
6713
|
+
K$4 |= 4, nk.current = null, Oj$1(bt, vt), dk(vt, bt), Oe$1(Df), dd = !!Cf, Df = Cf = null, bt.current = vt, hk(vt), dc(), K$4 = Pt, C$2 = Ft, ok$2.transition = Rt;
|
|
6714
6714
|
} else
|
|
6715
6715
|
bt.current = vt;
|
|
6716
6716
|
if (vk && (vk = !1, wk = bt, xk = $t), Rt = bt.pendingLanes, Rt === 0 && (Ri$1 = null), mc(vt.stateNode), Dk(bt, B$3()), pt !== null)
|
|
@@ -6730,18 +6730,18 @@ function Hk() {
|
|
|
6730
6730
|
if (ok$2.transition = null, C$2 = 16 > bt ? 16 : bt, wk === null)
|
|
6731
6731
|
var _t = !1;
|
|
6732
6732
|
else {
|
|
6733
|
-
if (bt = wk, wk = null, xk = 0, K$
|
|
6734
|
-
throw Error(p$
|
|
6735
|
-
var $t = K$
|
|
6736
|
-
for (K$
|
|
6737
|
-
var Rt = V$
|
|
6738
|
-
if (V$
|
|
6733
|
+
if (bt = wk, wk = null, xk = 0, K$4 & 6)
|
|
6734
|
+
throw Error(p$d(331));
|
|
6735
|
+
var $t = K$4;
|
|
6736
|
+
for (K$4 |= 4, V$2 = bt.current; V$2 !== null; ) {
|
|
6737
|
+
var Rt = V$2, Ft = Rt.child;
|
|
6738
|
+
if (V$2.flags & 16) {
|
|
6739
6739
|
var Pt = Rt.deletions;
|
|
6740
6740
|
if (Pt !== null) {
|
|
6741
6741
|
for (var Bt = 0; Bt < Pt.length; Bt++) {
|
|
6742
6742
|
var qt = Pt[Bt];
|
|
6743
|
-
for (V$
|
|
6744
|
-
var Ht = V$
|
|
6743
|
+
for (V$2 = qt; V$2 !== null; ) {
|
|
6744
|
+
var Ht = V$2;
|
|
6745
6745
|
switch (Ht.tag) {
|
|
6746
6746
|
case 0:
|
|
6747
6747
|
case 11:
|
|
@@ -6750,20 +6750,20 @@ function Hk() {
|
|
|
6750
6750
|
}
|
|
6751
6751
|
var Gt = Ht.child;
|
|
6752
6752
|
if (Gt !== null)
|
|
6753
|
-
Gt.return = Ht, V$
|
|
6753
|
+
Gt.return = Ht, V$2 = Gt;
|
|
6754
6754
|
else
|
|
6755
|
-
for (; V$
|
|
6756
|
-
Ht = V$
|
|
6755
|
+
for (; V$2 !== null; ) {
|
|
6756
|
+
Ht = V$2;
|
|
6757
6757
|
var Zt = Ht.sibling, Jt = Ht.return;
|
|
6758
6758
|
if (Sj$1(Ht), Ht === qt) {
|
|
6759
|
-
V$
|
|
6759
|
+
V$2 = null;
|
|
6760
6760
|
break;
|
|
6761
6761
|
}
|
|
6762
6762
|
if (Zt !== null) {
|
|
6763
|
-
Zt.return = Jt, V$
|
|
6763
|
+
Zt.return = Jt, V$2 = Zt;
|
|
6764
6764
|
break;
|
|
6765
6765
|
}
|
|
6766
|
-
V$
|
|
6766
|
+
V$2 = Jt;
|
|
6767
6767
|
}
|
|
6768
6768
|
}
|
|
6769
6769
|
}
|
|
@@ -6778,15 +6778,15 @@ function Hk() {
|
|
|
6778
6778
|
} while (rr !== null);
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
V$
|
|
6781
|
+
V$2 = Rt;
|
|
6782
6782
|
}
|
|
6783
6783
|
}
|
|
6784
6784
|
if (Rt.subtreeFlags & 2064 && Ft !== null)
|
|
6785
|
-
Ft.return = Rt, V$
|
|
6785
|
+
Ft.return = Rt, V$2 = Ft;
|
|
6786
6786
|
else
|
|
6787
6787
|
e:
|
|
6788
|
-
for (; V$
|
|
6789
|
-
if (Rt = V$
|
|
6788
|
+
for (; V$2 !== null; ) {
|
|
6789
|
+
if (Rt = V$2, Rt.flags & 2048)
|
|
6790
6790
|
switch (Rt.tag) {
|
|
6791
6791
|
case 0:
|
|
6792
6792
|
case 11:
|
|
@@ -6795,22 +6795,22 @@ function Hk() {
|
|
|
6795
6795
|
}
|
|
6796
6796
|
var sr = Rt.sibling;
|
|
6797
6797
|
if (sr !== null) {
|
|
6798
|
-
sr.return = Rt.return, V$
|
|
6798
|
+
sr.return = Rt.return, V$2 = sr;
|
|
6799
6799
|
break e;
|
|
6800
6800
|
}
|
|
6801
|
-
V$
|
|
6801
|
+
V$2 = Rt.return;
|
|
6802
6802
|
}
|
|
6803
6803
|
}
|
|
6804
6804
|
var ar = bt.current;
|
|
6805
|
-
for (V$
|
|
6806
|
-
Ft = V$
|
|
6805
|
+
for (V$2 = ar; V$2 !== null; ) {
|
|
6806
|
+
Ft = V$2;
|
|
6807
6807
|
var or = Ft.child;
|
|
6808
6808
|
if (Ft.subtreeFlags & 2064 && or !== null)
|
|
6809
|
-
or.return = Ft, V$
|
|
6809
|
+
or.return = Ft, V$2 = or;
|
|
6810
6810
|
else
|
|
6811
6811
|
e:
|
|
6812
|
-
for (Ft = ar; V$
|
|
6813
|
-
if (Pt = V$
|
|
6812
|
+
for (Ft = ar; V$2 !== null; ) {
|
|
6813
|
+
if (Pt = V$2, Pt.flags & 2048)
|
|
6814
6814
|
try {
|
|
6815
6815
|
switch (Pt.tag) {
|
|
6816
6816
|
case 0:
|
|
@@ -6822,18 +6822,18 @@ function Hk() {
|
|
|
6822
6822
|
W$3(Pt, Pt.return, cr);
|
|
6823
6823
|
}
|
|
6824
6824
|
if (Pt === Ft) {
|
|
6825
|
-
V$
|
|
6825
|
+
V$2 = null;
|
|
6826
6826
|
break e;
|
|
6827
6827
|
}
|
|
6828
6828
|
var ur = Pt.sibling;
|
|
6829
6829
|
if (ur !== null) {
|
|
6830
|
-
ur.return = Pt.return, V$
|
|
6830
|
+
ur.return = Pt.return, V$2 = ur;
|
|
6831
6831
|
break e;
|
|
6832
6832
|
}
|
|
6833
|
-
V$
|
|
6833
|
+
V$2 = Pt.return;
|
|
6834
6834
|
}
|
|
6835
6835
|
}
|
|
6836
|
-
if (K$
|
|
6836
|
+
if (K$4 = $t, jg$1(), lc && typeof lc.onPostCommitFiberRoot == "function")
|
|
6837
6837
|
try {
|
|
6838
6838
|
lc.onPostCommitFiberRoot(kc, bt);
|
|
6839
6839
|
} catch (cr) {
|
|
@@ -6870,7 +6870,7 @@ function W$3(bt, pt, vt) {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
function Ti(bt, pt, vt) {
|
|
6872
6872
|
var _t = bt.pingCache;
|
|
6873
|
-
_t !== null && _t.delete(pt), pt = R$9(), bt.pingedLanes |= bt.suspendedLanes & vt, Q
|
|
6873
|
+
_t !== null && _t.delete(pt), pt = R$9(), bt.pingedLanes |= bt.suspendedLanes & vt, Q === bt && (Z & vt) === vt && (T$6 === 4 || T$6 === 3 && (Z & 130023424) === Z && 500 > B$3() - fk ? Kk(bt, 0) : rk |= vt), Dk(bt, pt);
|
|
6874
6874
|
}
|
|
6875
6875
|
function Yk(bt, pt) {
|
|
6876
6876
|
pt === 0 && (bt.mode & 1 ? (pt = sc, sc <<= 1, !(sc & 130023424) && (sc = 4194304)) : pt = 1);
|
|
@@ -6892,7 +6892,7 @@ function bk(bt, pt) {
|
|
|
6892
6892
|
_t = bt.stateNode;
|
|
6893
6893
|
break;
|
|
6894
6894
|
default:
|
|
6895
|
-
throw Error(p$
|
|
6895
|
+
throw Error(p$d(314));
|
|
6896
6896
|
}
|
|
6897
6897
|
_t !== null && _t.delete(pt), Yk(bt, vt);
|
|
6898
6898
|
}
|
|
@@ -6933,7 +6933,7 @@ Vk = function(bt, pt, vt) {
|
|
|
6933
6933
|
pt = $i$1(null, pt, _t, Ci(_t.type, bt), vt);
|
|
6934
6934
|
break e;
|
|
6935
6935
|
}
|
|
6936
|
-
throw Error(p$
|
|
6936
|
+
throw Error(p$d(306, _t, ""));
|
|
6937
6937
|
}
|
|
6938
6938
|
return pt;
|
|
6939
6939
|
case 0:
|
|
@@ -6943,7 +6943,7 @@ Vk = function(bt, pt, vt) {
|
|
|
6943
6943
|
case 3:
|
|
6944
6944
|
e: {
|
|
6945
6945
|
if (kj$1(pt), bt === null)
|
|
6946
|
-
throw Error(p$
|
|
6946
|
+
throw Error(p$d(387));
|
|
6947
6947
|
_t = pt.pendingProps, Rt = pt.memoizedState, $t = Rt.element, lh(bt, pt), qh(pt, _t, null, vt);
|
|
6948
6948
|
var Ft = pt.memoizedState;
|
|
6949
6949
|
if (_t = Ft.element, Rt.isDehydrated)
|
|
@@ -6954,10 +6954,10 @@ Vk = function(bt, pt, vt) {
|
|
|
6954
6954
|
pendingSuspenseBoundaries: Ft.pendingSuspenseBoundaries,
|
|
6955
6955
|
transitions: Ft.transitions
|
|
6956
6956
|
}, pt.updateQueue.baseState = Rt, pt.memoizedState = Rt, pt.flags & 256) {
|
|
6957
|
-
$t = Ji$1(Error(p$
|
|
6957
|
+
$t = Ji$1(Error(p$d(423)), pt), pt = lj$1(bt, pt, _t, vt, $t);
|
|
6958
6958
|
break e;
|
|
6959
6959
|
} else if (_t !== $t) {
|
|
6960
|
-
$t = Ji$1(Error(p$
|
|
6960
|
+
$t = Ji$1(Error(p$d(424)), pt), pt = lj$1(bt, pt, _t, vt, $t);
|
|
6961
6961
|
break e;
|
|
6962
6962
|
} else
|
|
6963
6963
|
for (yg$1 = Lf(pt.stateNode.containerInfo.firstChild), xg$1 = pt, I$7 = !0, zg$1 = null, vt = Vg$1(pt, null, _t, vt), pt.child = vt; vt; )
|
|
@@ -7021,7 +7021,7 @@ Vk = function(bt, pt, vt) {
|
|
|
7021
7021
|
Ft = Rt.type === pt.type ? null : Rt.child;
|
|
7022
7022
|
else if (Rt.tag === 18) {
|
|
7023
7023
|
if (Ft = Rt.return, Ft === null)
|
|
7024
|
-
throw Error(p$
|
|
7024
|
+
throw Error(p$d(341));
|
|
7025
7025
|
Ft.lanes |= vt, Pt = Ft.alternate, Pt !== null && (Pt.lanes |= vt), bh(Ft, vt, pt), Ft = Rt.sibling;
|
|
7026
7026
|
} else
|
|
7027
7027
|
Ft = Rt.child;
|
|
@@ -7057,7 +7057,7 @@ Vk = function(bt, pt, vt) {
|
|
|
7057
7057
|
case 22:
|
|
7058
7058
|
return dj$1(bt, pt, vt);
|
|
7059
7059
|
}
|
|
7060
|
-
throw Error(p$
|
|
7060
|
+
throw Error(p$d(156, pt.tag));
|
|
7061
7061
|
};
|
|
7062
7062
|
function Fk(bt, pt) {
|
|
7063
7063
|
return ac(bt, pt);
|
|
@@ -7130,7 +7130,7 @@ function Rg$1(bt, pt, vt, _t, $t, Rt) {
|
|
|
7130
7130
|
Ft = 16, _t = null;
|
|
7131
7131
|
break e;
|
|
7132
7132
|
}
|
|
7133
|
-
throw Error(p$
|
|
7133
|
+
throw Error(p$d(130, bt == null ? bt : typeof bt, ""));
|
|
7134
7134
|
}
|
|
7135
7135
|
return pt = Bg$1(Ft, vt, pt, $t), pt.elementType = bt, pt.type = _t, pt.lanes = Rt, pt;
|
|
7136
7136
|
}
|
|
@@ -7180,7 +7180,7 @@ function dl(bt) {
|
|
|
7180
7180
|
bt = bt._reactInternals;
|
|
7181
7181
|
e: {
|
|
7182
7182
|
if (Vb(bt) !== bt || bt.tag !== 1)
|
|
7183
|
-
throw Error(p$
|
|
7183
|
+
throw Error(p$d(170));
|
|
7184
7184
|
var pt = bt;
|
|
7185
7185
|
do {
|
|
7186
7186
|
switch (pt.tag) {
|
|
@@ -7195,7 +7195,7 @@ function dl(bt) {
|
|
|
7195
7195
|
}
|
|
7196
7196
|
pt = pt.return;
|
|
7197
7197
|
} while (pt !== null);
|
|
7198
|
-
throw Error(p$
|
|
7198
|
+
throw Error(p$d(171));
|
|
7199
7199
|
}
|
|
7200
7200
|
if (bt.tag === 1) {
|
|
7201
7201
|
var vt = bt.type;
|
|
@@ -7244,7 +7244,7 @@ function ll(bt) {
|
|
|
7244
7244
|
ml.prototype.render = ll.prototype.render = function(bt) {
|
|
7245
7245
|
var pt = this._internalRoot;
|
|
7246
7246
|
if (pt === null)
|
|
7247
|
-
throw Error(p$
|
|
7247
|
+
throw Error(p$d(409));
|
|
7248
7248
|
fl(bt, pt, null, null);
|
|
7249
7249
|
};
|
|
7250
7250
|
ml.prototype.unmount = ll.prototype.unmount = function() {
|
|
@@ -7329,7 +7329,7 @@ Ec = function(bt) {
|
|
|
7329
7329
|
var pt = bt.stateNode;
|
|
7330
7330
|
if (pt.current.memoizedState.isDehydrated) {
|
|
7331
7331
|
var vt = tc(pt.pendingLanes);
|
|
7332
|
-
vt !== 0 && (Cc(pt, vt | 1), Dk(pt, B$3()), !(K$
|
|
7332
|
+
vt !== 0 && (Cc(pt, vt | 1), Dk(pt, B$3()), !(K$4 & 6) && (Gj$1 = B$3() + 500, jg$1()));
|
|
7333
7333
|
}
|
|
7334
7334
|
break;
|
|
7335
7335
|
case 13:
|
|
@@ -7384,7 +7384,7 @@ yb = function(bt, pt, vt) {
|
|
|
7384
7384
|
if (_t !== bt && _t.form === bt.form) {
|
|
7385
7385
|
var $t = Db(_t);
|
|
7386
7386
|
if (!$t)
|
|
7387
|
-
throw Error(p$
|
|
7387
|
+
throw Error(p$d(90));
|
|
7388
7388
|
Wa(_t), bb(_t, $t);
|
|
7389
7389
|
}
|
|
7390
7390
|
}
|
|
@@ -7445,12 +7445,12 @@ reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = sl;
|
|
|
7445
7445
|
reactDom_production_min.createPortal = function(bt, pt) {
|
|
7446
7446
|
var vt = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
|
|
7447
7447
|
if (!nl(pt))
|
|
7448
|
-
throw Error(p$
|
|
7448
|
+
throw Error(p$d(200));
|
|
7449
7449
|
return cl(bt, pt, null, vt);
|
|
7450
7450
|
};
|
|
7451
7451
|
reactDom_production_min.createRoot = function(bt, pt) {
|
|
7452
7452
|
if (!nl(bt))
|
|
7453
|
-
throw Error(p$
|
|
7453
|
+
throw Error(p$d(299));
|
|
7454
7454
|
var vt = !1, _t = "", $t = kl;
|
|
7455
7455
|
return pt != null && (pt.unstable_strictMode === !0 && (vt = !0), pt.identifierPrefix !== void 0 && (_t = pt.identifierPrefix), pt.onRecoverableError !== void 0 && ($t = pt.onRecoverableError)), pt = bl(bt, 1, !1, null, null, vt, !1, _t, $t), bt[uf] = pt.current, sf(bt.nodeType === 8 ? bt.parentNode : bt), new ll(pt);
|
|
7456
7456
|
};
|
|
@@ -7461,7 +7461,7 @@ reactDom_production_min.findDOMNode = function(bt) {
|
|
|
7461
7461
|
return bt;
|
|
7462
7462
|
var pt = bt._reactInternals;
|
|
7463
7463
|
if (pt === void 0)
|
|
7464
|
-
throw typeof bt.render == "function" ? Error(p$
|
|
7464
|
+
throw typeof bt.render == "function" ? Error(p$d(188)) : (bt = Object.keys(bt).join(","), Error(p$d(268, bt)));
|
|
7465
7465
|
return bt = Zb(pt), bt = bt === null ? null : bt.stateNode, bt;
|
|
7466
7466
|
};
|
|
7467
7467
|
reactDom_production_min.flushSync = function(bt) {
|
|
@@ -7469,12 +7469,12 @@ reactDom_production_min.flushSync = function(bt) {
|
|
|
7469
7469
|
};
|
|
7470
7470
|
reactDom_production_min.hydrate = function(bt, pt, vt) {
|
|
7471
7471
|
if (!ol(pt))
|
|
7472
|
-
throw Error(p$
|
|
7472
|
+
throw Error(p$d(200));
|
|
7473
7473
|
return rl(null, bt, pt, !0, vt);
|
|
7474
7474
|
};
|
|
7475
7475
|
reactDom_production_min.hydrateRoot = function(bt, pt, vt) {
|
|
7476
7476
|
if (!nl(bt))
|
|
7477
|
-
throw Error(p$
|
|
7477
|
+
throw Error(p$d(405));
|
|
7478
7478
|
var _t = vt != null && vt.hydratedSources || null, $t = !1, Rt = "", Ft = kl;
|
|
7479
7479
|
if (vt != null && (vt.unstable_strictMode === !0 && ($t = !0), vt.identifierPrefix !== void 0 && (Rt = vt.identifierPrefix), vt.onRecoverableError !== void 0 && (Ft = vt.onRecoverableError)), pt = el$1(pt, null, bt, 1, vt != null ? vt : null, $t, !1, Rt, Ft), bt[uf] = pt.current, sf(bt), _t)
|
|
7480
7480
|
for (bt = 0; bt < _t.length; bt++)
|
|
@@ -7483,12 +7483,12 @@ reactDom_production_min.hydrateRoot = function(bt, pt, vt) {
|
|
|
7483
7483
|
};
|
|
7484
7484
|
reactDom_production_min.render = function(bt, pt, vt) {
|
|
7485
7485
|
if (!ol(pt))
|
|
7486
|
-
throw Error(p$
|
|
7486
|
+
throw Error(p$d(200));
|
|
7487
7487
|
return rl(null, bt, pt, !1, vt);
|
|
7488
7488
|
};
|
|
7489
7489
|
reactDom_production_min.unmountComponentAtNode = function(bt) {
|
|
7490
7490
|
if (!ol(bt))
|
|
7491
|
-
throw Error(p$
|
|
7491
|
+
throw Error(p$d(40));
|
|
7492
7492
|
return bt._reactRootContainer ? (Rk(function() {
|
|
7493
7493
|
rl(null, null, bt, !1, function() {
|
|
7494
7494
|
bt._reactRootContainer = null, bt[uf] = null;
|
|
@@ -7498,9 +7498,9 @@ reactDom_production_min.unmountComponentAtNode = function(bt) {
|
|
|
7498
7498
|
reactDom_production_min.unstable_batchedUpdates = Qk;
|
|
7499
7499
|
reactDom_production_min.unstable_renderSubtreeIntoContainer = function(bt, pt, vt, _t) {
|
|
7500
7500
|
if (!ol(vt))
|
|
7501
|
-
throw Error(p$
|
|
7501
|
+
throw Error(p$d(200));
|
|
7502
7502
|
if (bt == null || bt._reactInternals === void 0)
|
|
7503
|
-
throw Error(p$
|
|
7503
|
+
throw Error(p$d(38));
|
|
7504
7504
|
return rl(bt, pt, vt, !1, _t);
|
|
7505
7505
|
};
|
|
7506
7506
|
reactDom_production_min.version = "18.3.1-next-f1338f8080-20240426";
|
|
@@ -9306,16 +9306,16 @@ var reactIs = { exports: {} }, reactIs_production_min = {};
|
|
|
9306
9306
|
* This source code is licensed under the MIT license found in the
|
|
9307
9307
|
* LICENSE file in the root directory of this source tree.
|
|
9308
9308
|
*/
|
|
9309
|
-
var b$a = Symbol.for("react.element"), c$9 = Symbol.for("react.portal"), d$9 = Symbol.for("react.fragment"), e$3 = Symbol.for("react.strict_mode"), f$
|
|
9309
|
+
var b$a = Symbol.for("react.element"), c$9 = Symbol.for("react.portal"), d$9 = Symbol.for("react.fragment"), e$3 = Symbol.for("react.strict_mode"), f$c = Symbol.for("react.profiler"), g$c = Symbol.for("react.provider"), h$a = Symbol.for("react.context"), k$9 = Symbol.for("react.server_context"), l$6 = Symbol.for("react.forward_ref"), m$6 = Symbol.for("react.suspense"), n$9 = Symbol.for("react.suspense_list"), p$c = Symbol.for("react.memo"), q$2 = Symbol.for("react.lazy"), t$6 = Symbol.for("react.offscreen"), u$b;
|
|
9310
9310
|
u$b = Symbol.for("react.module.reference");
|
|
9311
|
-
function v$
|
|
9311
|
+
function v$8(bt) {
|
|
9312
9312
|
if (typeof bt == "object" && bt !== null) {
|
|
9313
9313
|
var pt = bt.$$typeof;
|
|
9314
9314
|
switch (pt) {
|
|
9315
9315
|
case b$a:
|
|
9316
9316
|
switch (bt = bt.type, bt) {
|
|
9317
9317
|
case d$9:
|
|
9318
|
-
case f$
|
|
9318
|
+
case f$c:
|
|
9319
9319
|
case e$3:
|
|
9320
9320
|
case m$6:
|
|
9321
9321
|
case n$9:
|
|
@@ -9323,11 +9323,11 @@ function v$9(bt) {
|
|
|
9323
9323
|
default:
|
|
9324
9324
|
switch (bt = bt && bt.$$typeof, bt) {
|
|
9325
9325
|
case k$9:
|
|
9326
|
-
case h$
|
|
9326
|
+
case h$a:
|
|
9327
9327
|
case l$6:
|
|
9328
9328
|
case q$2:
|
|
9329
|
-
case p$
|
|
9330
|
-
case g$
|
|
9329
|
+
case p$c:
|
|
9330
|
+
case g$c:
|
|
9331
9331
|
return bt;
|
|
9332
9332
|
default:
|
|
9333
9333
|
return pt;
|
|
@@ -9338,15 +9338,15 @@ function v$9(bt) {
|
|
|
9338
9338
|
}
|
|
9339
9339
|
}
|
|
9340
9340
|
}
|
|
9341
|
-
reactIs_production_min.ContextConsumer = h$
|
|
9342
|
-
reactIs_production_min.ContextProvider = g$
|
|
9341
|
+
reactIs_production_min.ContextConsumer = h$a;
|
|
9342
|
+
reactIs_production_min.ContextProvider = g$c;
|
|
9343
9343
|
reactIs_production_min.Element = b$a;
|
|
9344
9344
|
reactIs_production_min.ForwardRef = l$6;
|
|
9345
9345
|
reactIs_production_min.Fragment = d$9;
|
|
9346
9346
|
reactIs_production_min.Lazy = q$2;
|
|
9347
|
-
reactIs_production_min.Memo = p$
|
|
9347
|
+
reactIs_production_min.Memo = p$c;
|
|
9348
9348
|
reactIs_production_min.Portal = c$9;
|
|
9349
|
-
reactIs_production_min.Profiler = f$
|
|
9349
|
+
reactIs_production_min.Profiler = f$c;
|
|
9350
9350
|
reactIs_production_min.StrictMode = e$3;
|
|
9351
9351
|
reactIs_production_min.Suspense = m$6;
|
|
9352
9352
|
reactIs_production_min.SuspenseList = n$9;
|
|
@@ -9357,45 +9357,45 @@ reactIs_production_min.isConcurrentMode = function() {
|
|
|
9357
9357
|
return !1;
|
|
9358
9358
|
};
|
|
9359
9359
|
reactIs_production_min.isContextConsumer = function(bt) {
|
|
9360
|
-
return v$
|
|
9360
|
+
return v$8(bt) === h$a;
|
|
9361
9361
|
};
|
|
9362
9362
|
reactIs_production_min.isContextProvider = function(bt) {
|
|
9363
|
-
return v$
|
|
9363
|
+
return v$8(bt) === g$c;
|
|
9364
9364
|
};
|
|
9365
9365
|
reactIs_production_min.isElement = function(bt) {
|
|
9366
9366
|
return typeof bt == "object" && bt !== null && bt.$$typeof === b$a;
|
|
9367
9367
|
};
|
|
9368
9368
|
reactIs_production_min.isForwardRef = function(bt) {
|
|
9369
|
-
return v$
|
|
9369
|
+
return v$8(bt) === l$6;
|
|
9370
9370
|
};
|
|
9371
9371
|
reactIs_production_min.isFragment = function(bt) {
|
|
9372
|
-
return v$
|
|
9372
|
+
return v$8(bt) === d$9;
|
|
9373
9373
|
};
|
|
9374
9374
|
reactIs_production_min.isLazy = function(bt) {
|
|
9375
|
-
return v$
|
|
9375
|
+
return v$8(bt) === q$2;
|
|
9376
9376
|
};
|
|
9377
9377
|
reactIs_production_min.isMemo = function(bt) {
|
|
9378
|
-
return v$
|
|
9378
|
+
return v$8(bt) === p$c;
|
|
9379
9379
|
};
|
|
9380
9380
|
reactIs_production_min.isPortal = function(bt) {
|
|
9381
|
-
return v$
|
|
9381
|
+
return v$8(bt) === c$9;
|
|
9382
9382
|
};
|
|
9383
9383
|
reactIs_production_min.isProfiler = function(bt) {
|
|
9384
|
-
return v$
|
|
9384
|
+
return v$8(bt) === f$c;
|
|
9385
9385
|
};
|
|
9386
9386
|
reactIs_production_min.isStrictMode = function(bt) {
|
|
9387
|
-
return v$
|
|
9387
|
+
return v$8(bt) === e$3;
|
|
9388
9388
|
};
|
|
9389
9389
|
reactIs_production_min.isSuspense = function(bt) {
|
|
9390
|
-
return v$
|
|
9390
|
+
return v$8(bt) === m$6;
|
|
9391
9391
|
};
|
|
9392
9392
|
reactIs_production_min.isSuspenseList = function(bt) {
|
|
9393
|
-
return v$
|
|
9393
|
+
return v$8(bt) === n$9;
|
|
9394
9394
|
};
|
|
9395
9395
|
reactIs_production_min.isValidElementType = function(bt) {
|
|
9396
|
-
return typeof bt == "string" || typeof bt == "function" || bt === d$9 || bt === f$
|
|
9396
|
+
return typeof bt == "string" || typeof bt == "function" || bt === d$9 || bt === f$c || bt === e$3 || bt === m$6 || bt === n$9 || bt === t$6 || typeof bt == "object" && bt !== null && (bt.$$typeof === q$2 || bt.$$typeof === p$c || bt.$$typeof === g$c || bt.$$typeof === h$a || bt.$$typeof === l$6 || bt.$$typeof === u$b || bt.getModuleId !== void 0);
|
|
9397
9397
|
};
|
|
9398
|
-
reactIs_production_min.typeOf = v$
|
|
9398
|
+
reactIs_production_min.typeOf = v$8;
|
|
9399
9399
|
reactIs.exports = reactIs_production_min;
|
|
9400
9400
|
var reactIsExports = reactIs.exports;
|
|
9401
9401
|
function useMemo$1(bt, pt, vt) {
|
|
@@ -24000,7 +24000,7 @@ function ErrorList(bt) {
|
|
|
24000
24000
|
}));
|
|
24001
24001
|
});
|
|
24002
24002
|
}
|
|
24003
|
-
function t$
|
|
24003
|
+
function t$5(bt) {
|
|
24004
24004
|
return typeof bt == "object" && bt != null && bt.nodeType === 1;
|
|
24005
24005
|
}
|
|
24006
24006
|
function e$2(bt, pt) {
|
|
@@ -24027,13 +24027,13 @@ function n$8(bt, pt) {
|
|
|
24027
24027
|
function r$5(bt, pt, vt, _t, $t, Rt, Ft, Pt) {
|
|
24028
24028
|
return Rt < bt && Ft > pt || Rt > bt && Ft < pt ? 0 : Rt <= bt && Pt <= vt || Ft >= pt && Pt >= vt ? Rt - bt - _t : Ft > pt && Pt < vt || Rt < bt && Pt > vt ? Ft - pt + $t : 0;
|
|
24029
24029
|
}
|
|
24030
|
-
var i$
|
|
24030
|
+
var i$8 = function(bt, pt) {
|
|
24031
24031
|
var vt = window, _t = pt.scrollMode, $t = pt.block, Rt = pt.inline, Ft = pt.boundary, Pt = pt.skipOverflowHiddenElements, Bt = typeof Ft == "function" ? Ft : function(Qr) {
|
|
24032
24032
|
return Qr !== Ft;
|
|
24033
24033
|
};
|
|
24034
|
-
if (!t$
|
|
24034
|
+
if (!t$5(bt))
|
|
24035
24035
|
throw new TypeError("Invalid target");
|
|
24036
|
-
for (var qt, Ht, Gt = document.scrollingElement || document.documentElement, Zt = [], Jt = bt; t$
|
|
24036
|
+
for (var qt, Ht, Gt = document.scrollingElement || document.documentElement, Zt = [], Jt = bt; t$5(Jt) && Bt(Jt); ) {
|
|
24037
24037
|
if ((Jt = (Ht = (qt = Jt).parentElement) == null ? qt.getRootNode().host || null : Ht) === Gt) {
|
|
24038
24038
|
Zt.push(Jt);
|
|
24039
24039
|
break;
|
|
@@ -24083,10 +24083,10 @@ function getOptions(bt) {
|
|
|
24083
24083
|
function scrollIntoView(bt, pt) {
|
|
24084
24084
|
var vt = bt.isConnected || bt.ownerDocument.documentElement.contains(bt);
|
|
24085
24085
|
if (isOptionsObject(pt) && typeof pt.behavior == "function")
|
|
24086
|
-
return pt.behavior(vt ? i$
|
|
24086
|
+
return pt.behavior(vt ? i$8(bt, pt) : []);
|
|
24087
24087
|
if (vt) {
|
|
24088
24088
|
var _t = getOptions(pt);
|
|
24089
|
-
return defaultBehavior(i$
|
|
24089
|
+
return defaultBehavior(i$8(bt, _t), _t.behavior);
|
|
24090
24090
|
}
|
|
24091
24091
|
}
|
|
24092
24092
|
var formItemNameBlackList = ["parentNode"], defaultItemNamePrefixCls = "form_item";
|
|
@@ -31319,12 +31319,12 @@ axios$2.exports = axios$1;
|
|
|
31319
31319
|
axios$2.exports.default = axios$1;
|
|
31320
31320
|
var axiosExports = axios$2.exports, axios = axiosExports;
|
|
31321
31321
|
const ig = /* @__PURE__ */ getDefaultExportFromCjs(axios);
|
|
31322
|
-
var x$9 = Object.defineProperty, l$5 = Object.getOwnPropertySymbols, g$
|
|
31322
|
+
var x$9 = Object.defineProperty, l$5 = Object.getOwnPropertySymbols, g$b = Object.prototype.hasOwnProperty, y$7 = Object.prototype.propertyIsEnumerable, u$a = (bt, pt, vt) => pt in bt ? x$9(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$8 = (bt, pt) => {
|
|
31323
31323
|
for (var vt in pt || (pt = {}))
|
|
31324
|
-
g$
|
|
31324
|
+
g$b.call(pt, vt) && u$a(bt, vt, pt[vt]);
|
|
31325
31325
|
if (l$5)
|
|
31326
31326
|
for (var vt of l$5(pt))
|
|
31327
|
-
y$
|
|
31327
|
+
y$7.call(pt, vt) && u$a(bt, vt, pt[vt]);
|
|
31328
31328
|
return bt;
|
|
31329
31329
|
}, n$7 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
31330
31330
|
var Rt = (Bt) => {
|
|
@@ -31467,7 +31467,7 @@ let R$8 = class {
|
|
|
31467
31467
|
return pt.response ? (vt = this.errorHandler) != null && vt.onHttpStatusError && (console.log("HTTP 错误", this.errorHandler), this.errorHandler.onHttpStatusError(pt.response.status, "", pt.response)) : pt.request ? (console.log(pt.request), (_t = this.errorHandler) != null && _t.onNetworkError && this.errorHandler.onNetworkError()) : console.error("axios request config error:", pt), new Error(pt.message);
|
|
31468
31468
|
}
|
|
31469
31469
|
};
|
|
31470
|
-
const f$
|
|
31470
|
+
const f$b = (bt) => bt >= 10002 && bt <= 10012, E$6 = (bt, pt) => f$b(bt) ? "数据操作错误" : pt || "未知接口错误";
|
|
31471
31471
|
/*! For license information please see minio.esm.js.LICENSE.txt */
|
|
31472
31472
|
var __webpack_modules__ = { 20: (bt, pt, vt) => {
|
|
31473
31473
|
var _t = vt(2861).Buffer, $t = vt(7108), Rt = vt(6737), Ft = vt(6698), Pt = vt(5359), Bt = vt(4847), qt = vt(2951);
|
|
@@ -59900,7 +59900,7 @@ const Minio = minio__WEBPACK_IMPORTED_MODULE_0___default(), { initMinio, putObje
|
|
|
59900
59900
|
__webpack_exports__.D4;
|
|
59901
59901
|
__webpack_exports__.TS;
|
|
59902
59902
|
__webpack_exports__.IS;
|
|
59903
|
-
var __webpack_exports__initMinio = __webpack_exports__.rJ, __webpack_exports__putObjectBuffer = __webpack_exports__.vo, t$
|
|
59903
|
+
var __webpack_exports__initMinio = __webpack_exports__.rJ, __webpack_exports__putObjectBuffer = __webpack_exports__.vo, t$4 = /* @__PURE__ */ ((bt) => (bt[bt.None = 0] = "None", bt[bt.SourceFile = 1] = "SourceFile", bt[bt.WebLink = 2] = "WebLink", bt))(t$4 || {}), a$5 = /* @__PURE__ */ ((bt) => (bt.Unprotected = "不受著作权保护", bt.ProtectAuthorize = "受著作权保护,已获得授权", bt.ProtectUnauthorize = "受著作权保护,未获得授权", bt))(a$5 || {}), n$6 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(n$6 || {}), P$1 = /* @__PURE__ */ ((bt) => (bt.Start = "start", bt.End = "end", bt))(P$1 || {}), b$9 = /* @__PURE__ */ ((bt) => (bt[bt.Processing = 1] = "Processing", bt[bt.Success = 2] = "Success", bt[bt.Failed = 3] = "Failed", bt))(b$9 || {}), v$7 = /* @__PURE__ */ ((bt) => (bt.AECPILOT = "aecpilot", bt))(v$7 || {});
|
|
59904
59904
|
const byteToHex = [];
|
|
59905
59905
|
for (let bt = 0; bt < 256; ++bt)
|
|
59906
59906
|
byteToHex.push((bt + 256).toString(16).slice(1));
|
|
@@ -60256,7 +60256,7 @@ var dayjs_min = { exports: {} };
|
|
|
60256
60256
|
});
|
|
60257
60257
|
})(dayjs_min);
|
|
60258
60258
|
var dayjs_minExports = dayjs_min.exports;
|
|
60259
|
-
const NN = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports), T$
|
|
60259
|
+
const NN = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports), T$5 = 128, _$1 = 20;
|
|
60260
60260
|
var b$8 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
60261
60261
|
var Rt = (Bt) => {
|
|
60262
60262
|
try {
|
|
@@ -60273,7 +60273,7 @@ var b$8 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
|
60273
60273
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
60274
60274
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
60275
60275
|
});
|
|
60276
|
-
function w$
|
|
60276
|
+
function w$8(bt, pt) {
|
|
60277
60277
|
return b$8(this, null, function* () {
|
|
60278
60278
|
const vt = bt.getReader();
|
|
60279
60279
|
let _t;
|
|
@@ -60281,10 +60281,10 @@ function w$7(bt, pt) {
|
|
|
60281
60281
|
pt(_t.value);
|
|
60282
60282
|
});
|
|
60283
60283
|
}
|
|
60284
|
-
function g$
|
|
60284
|
+
function g$a(bt) {
|
|
60285
60285
|
let pt, vt, _t, $t = !1, Rt;
|
|
60286
60286
|
return function(Ft) {
|
|
60287
|
-
pt === void 0 ? (pt = Ft, vt = 0, _t = -1, Rt = !1) : pt = h$
|
|
60287
|
+
pt === void 0 ? (pt = Ft, vt = 0, _t = -1, Rt = !1) : pt = h$9(pt, Ft);
|
|
60288
60288
|
const Pt = pt.length;
|
|
60289
60289
|
let Bt = 0;
|
|
60290
60290
|
for (; vt < Pt; ) {
|
|
@@ -60309,11 +60309,11 @@ function g$9(bt) {
|
|
|
60309
60309
|
};
|
|
60310
60310
|
}
|
|
60311
60311
|
function k$8(bt, pt, vt) {
|
|
60312
|
-
let _t = y$
|
|
60312
|
+
let _t = y$6();
|
|
60313
60313
|
const $t = new TextDecoder();
|
|
60314
60314
|
return function(Rt, Ft, Pt) {
|
|
60315
60315
|
if (Rt.length === 0)
|
|
60316
|
-
vt == null || vt(_t), _t = y$
|
|
60316
|
+
vt == null || vt(_t), _t = y$6();
|
|
60317
60317
|
else if (Ft > 0) {
|
|
60318
60318
|
const Bt = $t.decode(Rt.subarray(0, Ft)), qt = Ft + (Rt[Ft + 1] === 32 ? 2 : 1);
|
|
60319
60319
|
let Ht = $t.decode(Rt.subarray(qt));
|
|
@@ -60337,11 +60337,11 @@ function k$8(bt, pt, vt) {
|
|
|
60337
60337
|
}
|
|
60338
60338
|
};
|
|
60339
60339
|
}
|
|
60340
|
-
function h$
|
|
60340
|
+
function h$9(bt, pt) {
|
|
60341
60341
|
const vt = new Uint8Array(bt.length + pt.length);
|
|
60342
60342
|
return vt.set(bt), vt.set(pt, bt.length), vt;
|
|
60343
60343
|
}
|
|
60344
|
-
function y$
|
|
60344
|
+
function y$6() {
|
|
60345
60345
|
return {
|
|
60346
60346
|
data: "",
|
|
60347
60347
|
event: "",
|
|
@@ -60349,19 +60349,19 @@ function y$5() {
|
|
|
60349
60349
|
retry: void 0
|
|
60350
60350
|
};
|
|
60351
60351
|
}
|
|
60352
|
-
var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.getOwnPropertyDescriptors, v$
|
|
60352
|
+
var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.getOwnPropertyDescriptors, v$6 = Object.getOwnPropertySymbols, A$6 = Object.prototype.hasOwnProperty, R$7 = Object.prototype.propertyIsEnumerable, I$6 = (bt, pt, vt) => pt in bt ? W$2(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, E$5 = (bt, pt) => {
|
|
60353
60353
|
for (var vt in pt || (pt = {}))
|
|
60354
60354
|
A$6.call(pt, vt) && I$6(bt, vt, pt[vt]);
|
|
60355
|
-
if (v$
|
|
60356
|
-
for (var vt of v$
|
|
60355
|
+
if (v$6)
|
|
60356
|
+
for (var vt of v$6(pt))
|
|
60357
60357
|
R$7.call(pt, vt) && I$6(bt, vt, pt[vt]);
|
|
60358
60358
|
return bt;
|
|
60359
60359
|
}, $$4 = (bt, pt) => j$2(bt, k$7(pt)), q$1 = (bt, pt) => {
|
|
60360
60360
|
var vt = {};
|
|
60361
60361
|
for (var _t in bt)
|
|
60362
60362
|
A$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
60363
|
-
if (bt != null && v$
|
|
60364
|
-
for (var _t of v$
|
|
60363
|
+
if (bt != null && v$6)
|
|
60364
|
+
for (var _t of v$6(bt))
|
|
60365
60365
|
pt.indexOf(_t) < 0 && R$7.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
60366
60366
|
return vt;
|
|
60367
60367
|
}, B$2 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -60380,7 +60380,7 @@ var W$2 = Object.defineProperty, j$2 = Object.defineProperties, k$7 = Object.get
|
|
|
60380
60380
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
60381
60381
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
60382
60382
|
});
|
|
60383
|
-
const g$
|
|
60383
|
+
const g$9 = "text/event-stream", J$2 = 1e3, D$3 = "last-event-id";
|
|
60384
60384
|
function X$1(bt, pt) {
|
|
60385
60385
|
var vt = pt, {
|
|
60386
60386
|
signal: _t,
|
|
@@ -60403,7 +60403,7 @@ function X$1(bt, pt) {
|
|
|
60403
60403
|
]);
|
|
60404
60404
|
return new Promise((Zt, Jt) => {
|
|
60405
60405
|
const Kt = E$5({}, $t);
|
|
60406
|
-
Kt.accept || (Kt.accept = g$
|
|
60406
|
+
Kt.accept || (Kt.accept = g$9);
|
|
60407
60407
|
let rr;
|
|
60408
60408
|
function ir() {
|
|
60409
60409
|
rr.abort(), document.hidden || dr();
|
|
@@ -60416,7 +60416,7 @@ function X$1(bt, pt) {
|
|
|
60416
60416
|
_t == null || _t.addEventListener("abort", () => {
|
|
60417
60417
|
or(), Zt();
|
|
60418
60418
|
});
|
|
60419
|
-
const ur = Ht != null ? Ht : window.fetch, cr = Rt != null ? Rt : K$
|
|
60419
|
+
const ur = Ht != null ? Ht : window.fetch, cr = Rt != null ? Rt : K$3;
|
|
60420
60420
|
function dr() {
|
|
60421
60421
|
return B$2(this, null, function* () {
|
|
60422
60422
|
var pr;
|
|
@@ -60426,7 +60426,7 @@ function X$1(bt, pt) {
|
|
|
60426
60426
|
headers: Kt,
|
|
60427
60427
|
signal: rr.signal
|
|
60428
60428
|
}));
|
|
60429
|
-
yield cr(mr), yield w$
|
|
60429
|
+
yield cr(mr), yield w$8(mr.body, g$a(k$8((vr) => {
|
|
60430
60430
|
vr ? Kt[D$3] = vr : delete Kt[D$3];
|
|
60431
60431
|
}, (vr) => {
|
|
60432
60432
|
sr = vr;
|
|
@@ -60445,18 +60445,18 @@ function X$1(bt, pt) {
|
|
|
60445
60445
|
dr();
|
|
60446
60446
|
});
|
|
60447
60447
|
}
|
|
60448
|
-
function K$
|
|
60448
|
+
function K$3(bt) {
|
|
60449
60449
|
const pt = bt.headers.get("content-type");
|
|
60450
|
-
if (!(pt != null && pt.startsWith(g$
|
|
60451
|
-
throw new Error(`Expected content-type to be ${g$
|
|
60450
|
+
if (!(pt != null && pt.startsWith(g$9)))
|
|
60451
|
+
throw new Error(`Expected content-type to be ${g$9}, Actual: ${pt}`);
|
|
60452
60452
|
}
|
|
60453
60453
|
var buffer = {}, base64Js = {};
|
|
60454
60454
|
base64Js.byteLength = byteLength$1;
|
|
60455
60455
|
base64Js.toByteArray = toByteArray;
|
|
60456
60456
|
base64Js.fromByteArray = fromByteArray;
|
|
60457
60457
|
var lookup$2 = [], revLookup = [], Arr = typeof Uint8Array != "undefined" ? Uint8Array : Array, code$3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
60458
|
-
for (var i$
|
|
60459
|
-
lookup$2[i$
|
|
60458
|
+
for (var i$7 = 0, len = code$3.length; i$7 < len; ++i$7)
|
|
60459
|
+
lookup$2[i$7] = code$3[i$7], revLookup[code$3.charCodeAt(i$7)] = i$7;
|
|
60460
60460
|
revLookup["-".charCodeAt(0)] = 62;
|
|
60461
60461
|
revLookup["_".charCodeAt(0)] = 63;
|
|
60462
60462
|
function getLens(bt) {
|
|
@@ -61440,14 +61440,14 @@ ieee754.write = function(bt, pt, vt, _t, $t, Rt) {
|
|
|
61440
61440
|
throw new Error("BigInt not supported");
|
|
61441
61441
|
}
|
|
61442
61442
|
})(buffer);
|
|
61443
|
-
var v$
|
|
61443
|
+
var v$5 = Object.defineProperty, S$1 = Object.defineProperties, w$7 = Object.getOwnPropertyDescriptors, g$8 = Object.getOwnPropertySymbols, A$5 = Object.prototype.hasOwnProperty, R$6 = Object.prototype.propertyIsEnumerable, y$5 = (bt, pt, vt) => pt in bt ? v$5(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$a = (bt, pt) => {
|
|
61444
61444
|
for (var vt in pt || (pt = {}))
|
|
61445
|
-
A$5.call(pt, vt) && y$
|
|
61446
|
-
if (g$
|
|
61447
|
-
for (var vt of g$
|
|
61448
|
-
R$6.call(pt, vt) && y$
|
|
61445
|
+
A$5.call(pt, vt) && y$5(bt, vt, pt[vt]);
|
|
61446
|
+
if (g$8)
|
|
61447
|
+
for (var vt of g$8(pt))
|
|
61448
|
+
R$6.call(pt, vt) && y$5(bt, vt, pt[vt]);
|
|
61449
61449
|
return bt;
|
|
61450
|
-
}, $$3 = (bt, pt) => S$1(bt, w$
|
|
61450
|
+
}, $$3 = (bt, pt) => S$1(bt, w$7(pt)), s$6 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
61451
61451
|
var Rt = (Bt) => {
|
|
61452
61452
|
try {
|
|
61453
61453
|
Pt(vt.next(Bt));
|
|
@@ -61529,7 +61529,7 @@ let x$8 = class extends R$8 {
|
|
|
61529
61529
|
isAgree: 0
|
|
61530
61530
|
},
|
|
61531
61531
|
isReplying: !1
|
|
61532
|
-
}, Bt = yield this.getToken(), qt = $$3(f$
|
|
61532
|
+
}, Bt = yield this.getToken(), qt = $$3(f$a({}, _t), {
|
|
61533
61533
|
stream: !0
|
|
61534
61534
|
});
|
|
61535
61535
|
X$1(`https://aiot-dev.glodon.com/api/cvforcepd/chat/v2/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
@@ -61727,7 +61727,7 @@ let x$8 = class extends R$8 {
|
|
|
61727
61727
|
}
|
|
61728
61728
|
listPrompt(pt, vt) {
|
|
61729
61729
|
return s$6(this, null, function* () {
|
|
61730
|
-
return vt != null && vt.title && vt.title.length > T$
|
|
61730
|
+
return vt != null && vt.title && vt.title.length > T$5 ? [] : this.get(`/data/v1/application/${pt}/prompts`, vt);
|
|
61731
61731
|
});
|
|
61732
61732
|
}
|
|
61733
61733
|
getPrompt(pt, vt) {
|
|
@@ -62279,7 +62279,7 @@ let k$6 = class extends R$8 {
|
|
|
62279
62279
|
});
|
|
62280
62280
|
}
|
|
62281
62281
|
};
|
|
62282
|
-
var v$
|
|
62282
|
+
var v$4 = /* @__PURE__ */ ((bt) => (bt[bt.Robot = 1] = "Robot", bt[bt.User = 2] = "User", bt[bt.System = 3] = "System", bt))(v$4 || {}), u$9 = /* @__PURE__ */ ((bt) => (bt[bt.Processing = 1] = "Processing", bt[bt.Success = 2] = "Success", bt[bt.Failed = 3] = "Failed", bt))(u$9 || {}), L$3 = /* @__PURE__ */ ((bt) => (bt[bt.Idle = 0] = "Idle", bt[bt.Quoted = 1] = "Quoted", bt))(L$3 || {}), i$6 = /* @__PURE__ */ ((bt) => (bt[bt.Dialog = 0] = "Dialog", bt[bt.Text = 1] = "Text", bt[bt.Agent = 2] = "Agent", bt[bt.All = 3] = "All", bt))(i$6 || {}), k$5 = /* @__PURE__ */ ((bt) => (bt.User = "instruction", bt.System = "settings", bt))(k$5 || {});
|
|
62283
62283
|
function ok$1() {
|
|
62284
62284
|
}
|
|
62285
62285
|
function unreachable() {
|
|
@@ -71721,9 +71721,9 @@ class Style {
|
|
|
71721
71721
|
return this.size >= 2;
|
|
71722
71722
|
}
|
|
71723
71723
|
}
|
|
71724
|
-
var D$2 = 0, Dc = 1, T$
|
|
71724
|
+
var D$2 = 0, Dc = 1, T$4 = 2, Tc = 3, S = 4, Sc = 5, SS = 6, SSc = 7, styles = [new Style(D$2, 0, !1), new Style(Dc, 0, !0), new Style(T$4, 1, !1), new Style(Tc, 1, !0), new Style(S, 2, !1), new Style(Sc, 2, !0), new Style(SS, 3, !1), new Style(SSc, 3, !0)], sup = [S, Sc, S, Sc, SS, SSc, SS, SSc], sub = [Sc, Sc, Sc, Sc, SSc, SSc, SSc, SSc], fracNum = [T$4, Tc, S, Sc, SS, SSc, SS, SSc], fracDen = [Tc, Tc, Sc, Sc, SSc, SSc, SSc, SSc], cramp = [Dc, Dc, Tc, Tc, Sc, Sc, SSc, SSc], text$1 = [D$2, Dc, T$4, Tc, T$4, Tc, T$4, Tc], Style$1 = {
|
|
71725
71725
|
DISPLAY: styles[D$2],
|
|
71726
|
-
TEXT: styles[T$
|
|
71726
|
+
TEXT: styles[T$4],
|
|
71727
71727
|
SCRIPT: styles[S],
|
|
71728
71728
|
SCRIPTSCRIPT: styles[SS]
|
|
71729
71729
|
}, scriptData = [{
|
|
@@ -75603,8 +75603,8 @@ defineSymbol(text$2, main, textord, "£", "\\textsterling", !0);
|
|
|
75603
75603
|
defineSymbol(math, ams, textord, "✠", "\\maltese");
|
|
75604
75604
|
defineSymbol(text$2, ams, textord, "✠", "\\maltese");
|
|
75605
75605
|
var mathTextSymbols = '0123456789/@."';
|
|
75606
|
-
for (var i$
|
|
75607
|
-
var ch = mathTextSymbols.charAt(i$
|
|
75606
|
+
for (var i$5 = 0; i$5 < mathTextSymbols.length; i$5++) {
|
|
75607
|
+
var ch = mathTextSymbols.charAt(i$5);
|
|
75608
75608
|
defineSymbol(math, main, textord, ch, ch);
|
|
75609
75609
|
}
|
|
75610
75610
|
var textSymbols = '0123456789!@*()-=+";:?/.,';
|
|
@@ -84394,7 +84394,7 @@ function createAdjustMap$1(bt) {
|
|
|
84394
84394
|
pt.set(vt.toLowerCase(), vt);
|
|
84395
84395
|
return pt;
|
|
84396
84396
|
}
|
|
84397
|
-
const svgCaseSensitiveTagNames = ["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "solidColor", "textArea", "textPath"], h$
|
|
84397
|
+
const svgCaseSensitiveTagNames = ["altGlyph", "altGlyphDef", "altGlyphItem", "animateColor", "animateMotion", "animateTransform", "clipPath", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "foreignObject", "glyphRef", "linearGradient", "radialGradient", "solidColor", "textArea", "textPath"], h$8 = createH(html$3, "div"), s$4 = createH(svg, "g", svgCaseSensitiveTagNames), webNamespaces = {
|
|
84398
84398
|
html: "http://www.w3.org/1999/xhtml",
|
|
84399
84399
|
mathml: "http://www.w3.org/1998/Math/MathML",
|
|
84400
84400
|
svg: "http://www.w3.org/2000/svg",
|
|
@@ -84472,7 +84472,7 @@ function comment$1(bt) {
|
|
|
84472
84472
|
};
|
|
84473
84473
|
}
|
|
84474
84474
|
function element(bt, pt) {
|
|
84475
|
-
const vt = bt.namespaceURI, _t = vt === webNamespaces.svg ? s$4 : h$
|
|
84475
|
+
const vt = bt.namespaceURI, _t = vt === webNamespaces.svg ? s$4 : h$8, $t = vt === webNamespaces.html ? bt.tagName.toLowerCase() : bt.tagName, Rt = (
|
|
84476
84476
|
// @ts-expect-error: DOM types are wrong, content can exist.
|
|
84477
84477
|
vt === webNamespaces.html && $t === "template" ? bt.content : bt
|
|
84478
84478
|
), Ft = bt.getAttributeNames(), Pt = {};
|
|
@@ -84529,7 +84529,7 @@ const findAfter = (
|
|
|
84529
84529
|
if (_t(bt.children[pt], pt, bt))
|
|
84530
84530
|
return bt.children[pt];
|
|
84531
84531
|
}
|
|
84532
|
-
), searchLineFeeds = /\n/g, searchTabOrSpaces = /[\t ]+/g, br = convertElement("br"), cell = convertElement(isCell), p$
|
|
84532
|
+
), searchLineFeeds = /\n/g, searchTabOrSpaces = /[\t ]+/g, br = convertElement("br"), cell = convertElement(isCell), p$b = convertElement("p"), row = convertElement("tr"), notRendered = convertElement([
|
|
84533
84533
|
// List from: <https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements>
|
|
84534
84534
|
"datalist",
|
|
84535
84535
|
"head",
|
|
@@ -84671,7 +84671,7 @@ function collectElement(bt, pt, vt) {
|
|
|
84671
84671
|
let Pt, Bt;
|
|
84672
84672
|
for (br(bt) || row(bt) && // @ts-expect-error: something up with types of parents.
|
|
84673
84673
|
findAfter(pt, bt, row) ? Bt = `
|
|
84674
|
-
` : p$
|
|
84674
|
+
` : p$b(bt) ? (Pt = 2, Bt = 2) : blockOrCaption(bt) && (Pt = 1, Bt = 1); ++Rt < $t.length; )
|
|
84675
84675
|
Ft = Ft.concat(renderedTextCollection($t[Rt], bt, {
|
|
84676
84676
|
whitespace: _t,
|
|
84677
84677
|
breakBefore: Rt ? void 0 : Pt,
|
|
@@ -92867,7 +92867,7 @@ var CheckOutlined = function bt(pt, vt) {
|
|
|
92867
92867
|
icon: CheckOutlinedSvg
|
|
92868
92868
|
}));
|
|
92869
92869
|
}, RefIcon$7 = /* @__PURE__ */ reactExports.forwardRef(CheckOutlined);
|
|
92870
|
-
const p$
|
|
92870
|
+
const p$a = RefIcon$7;
|
|
92871
92871
|
function Popup(bt) {
|
|
92872
92872
|
var pt = bt.children, vt = bt.prefixCls, _t = bt.id, $t = bt.overlayInnerStyle, Rt = bt.bodyClassName, Ft = bt.className, Pt = bt.style;
|
|
92873
92873
|
return /* @__PURE__ */ reactExports.createElement("div", {
|
|
@@ -94890,7 +94890,7 @@ const Image$2 = (bt) => {
|
|
|
94890
94890
|
}, Ft)));
|
|
94891
94891
|
};
|
|
94892
94892
|
Image$2.PreviewGroup = PreviewGroup;
|
|
94893
|
-
const i$
|
|
94893
|
+
const i$4 = Image$2;
|
|
94894
94894
|
var _excluded$5 = ["className", "component", "viewBox", "spin", "rotate", "tabIndex", "onClick", "children"], Icon = /* @__PURE__ */ reactExports.forwardRef(function(bt, pt) {
|
|
94895
94895
|
var vt = bt.className, _t = bt.component, $t = bt.viewBox, Rt = bt.spin, Ft = bt.rotate, Pt = bt.tabIndex, Bt = bt.onClick, qt = bt.children, Ht = _objectWithoutProperties$2(bt, _excluded$5), Gt = reactExports.useRef(), Zt = useComposeRef(Gt, pt);
|
|
94896
94896
|
warning$1(!!(_t || qt), "Should have `component` prop or `children`."), useInsertStyles(Gt);
|
|
@@ -97558,7 +97558,7 @@ const classPrefix$4 = "adm-mask", opacityRecord = {
|
|
|
97558
97558
|
function clamp(bt, pt, vt) {
|
|
97559
97559
|
return Math.max(pt, Math.min(bt, vt));
|
|
97560
97560
|
}
|
|
97561
|
-
const V = {
|
|
97561
|
+
const V$1 = {
|
|
97562
97562
|
toVector(bt, pt) {
|
|
97563
97563
|
return bt === void 0 && (bt = pt), Array.isArray(bt) ? bt : [bt, bt];
|
|
97564
97564
|
},
|
|
@@ -97827,7 +97827,7 @@ class Engine {
|
|
|
97827
97827
|
let Rt = 0;
|
|
97828
97828
|
if (pt && (vt.event = pt, _t.preventDefault && pt.cancelable && vt.event.preventDefault(), vt.type = pt.type, $t.touches = this.ctrl.pointerIds.size || this.ctrl.touchIds.size, $t.locked = !!document.pointerLockElement, Object.assign($t, getEventDetails(pt)), $t.down = $t.pressed = $t.buttons % 2 === 1 || $t.touches > 0, Rt = pt.timeStamp - vt.timeStamp, vt.timeStamp = pt.timeStamp, vt.elapsedTime = vt.timeStamp - vt.startTime), vt._active) {
|
|
97829
97829
|
const dr = vt._delta.map(Math.abs);
|
|
97830
|
-
V.addTo(vt._distance, dr);
|
|
97830
|
+
V$1.addTo(vt._distance, dr);
|
|
97831
97831
|
}
|
|
97832
97832
|
this.axisIntent && this.axisIntent(pt);
|
|
97833
97833
|
const [Ft, Pt] = vt._movement, [Bt, qt] = _t.threshold, {
|
|
@@ -97848,10 +97848,10 @@ class Engine {
|
|
|
97848
97848
|
const [rr, ir] = vt.offset, [[sr, ar], [or, ur]] = vt._bounds;
|
|
97849
97849
|
vt.overflow = [rr < sr ? -1 : rr > ar ? 1 : 0, ir < or ? -1 : ir > ur ? 1 : 0], vt._movementBound[0] = vt.overflow[0] ? vt._movementBound[0] === !1 ? vt._movement[0] : vt._movementBound[0] : !1, vt._movementBound[1] = vt.overflow[1] ? vt._movementBound[1] === !1 ? vt._movement[1] : vt._movementBound[1] : !1;
|
|
97850
97850
|
const cr = vt._active ? _t.rubberband || [0, 0] : [0, 0];
|
|
97851
|
-
if (vt.offset = computeRubberband(vt._bounds, vt.offset, cr), vt.delta = V.sub(vt.offset, Jt), this.computeMovement(), Kt && (!vt.last || Rt > BEFORE_LAST_KINEMATICS_DELAY)) {
|
|
97852
|
-
vt.delta = V.sub(vt.offset, Jt);
|
|
97851
|
+
if (vt.offset = computeRubberband(vt._bounds, vt.offset, cr), vt.delta = V$1.sub(vt.offset, Jt), this.computeMovement(), Kt && (!vt.last || Rt > BEFORE_LAST_KINEMATICS_DELAY)) {
|
|
97852
|
+
vt.delta = V$1.sub(vt.offset, Jt);
|
|
97853
97853
|
const dr = vt.delta.map(Math.abs);
|
|
97854
|
-
V.addTo(vt.distance, dr), vt.direction = vt.delta.map(Math.sign), vt._direction = vt._delta.map(Math.sign), !vt.first && Rt > 0 && (vt.velocity = [dr[0] / Rt, dr[1] / Rt], vt.timeDelta = Rt);
|
|
97854
|
+
V$1.addTo(vt.distance, dr), vt.direction = vt.delta.map(Math.sign), vt._direction = vt._delta.map(Math.sign), !vt.first && Rt > 0 && (vt.velocity = [dr[0] / Rt, dr[1] / Rt], vt.timeDelta = Rt);
|
|
97855
97855
|
}
|
|
97856
97856
|
}
|
|
97857
97857
|
emit() {
|
|
@@ -97885,10 +97885,10 @@ class CoordinatesEngine extends Engine {
|
|
|
97885
97885
|
this.state.offset = [0, 0], this.state.lastOffset = [0, 0];
|
|
97886
97886
|
}
|
|
97887
97887
|
computeOffset() {
|
|
97888
|
-
this.state.offset = V.add(this.state.lastOffset, this.state.movement);
|
|
97888
|
+
this.state.offset = V$1.add(this.state.lastOffset, this.state.movement);
|
|
97889
97889
|
}
|
|
97890
97890
|
computeMovement() {
|
|
97891
|
-
this.state.movement = V.sub(this.state.offset, this.state.lastOffset);
|
|
97891
|
+
this.state.movement = V$1.sub(this.state.offset, this.state.lastOffset);
|
|
97892
97892
|
}
|
|
97893
97893
|
axisIntent(pt) {
|
|
97894
97894
|
const vt = this.state, _t = this.config;
|
|
@@ -97930,21 +97930,21 @@ const identity$1 = (bt) => bt, DEFAULT_RUBBERBAND = 0.15, commonConfigResolver =
|
|
|
97930
97930
|
case !1:
|
|
97931
97931
|
return [0, 0];
|
|
97932
97932
|
default:
|
|
97933
|
-
return V.toVector(bt);
|
|
97933
|
+
return V$1.toVector(bt);
|
|
97934
97934
|
}
|
|
97935
97935
|
},
|
|
97936
97936
|
from(bt) {
|
|
97937
97937
|
if (typeof bt == "function")
|
|
97938
97938
|
return bt;
|
|
97939
97939
|
if (bt != null)
|
|
97940
|
-
return V.toVector(bt);
|
|
97940
|
+
return V$1.toVector(bt);
|
|
97941
97941
|
},
|
|
97942
97942
|
transform(bt, pt, vt) {
|
|
97943
97943
|
const _t = bt || vt.shared.transform;
|
|
97944
97944
|
return this.hasCustomTransform = !!_t, _t || identity$1;
|
|
97945
97945
|
},
|
|
97946
97946
|
threshold(bt) {
|
|
97947
|
-
return V.toVector(bt, 0);
|
|
97947
|
+
return V$1.toVector(bt, 0);
|
|
97948
97948
|
}
|
|
97949
97949
|
}, DEFAULT_AXIS_THRESHOLD = 0, coordinatesConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigResolver), {}, {
|
|
97950
97950
|
axis(bt, pt, {
|
|
@@ -98029,7 +98029,7 @@ class DragEngine extends CoordinatesEngine {
|
|
|
98029
98029
|
if (vt._pointerId !== void 0 && $t !== vt._pointerId)
|
|
98030
98030
|
return;
|
|
98031
98031
|
const Rt = pointerValues(pt);
|
|
98032
|
-
if (document.pointerLockElement === pt.target ? vt._delta = [pt.movementX, pt.movementY] : (vt._delta = V.sub(Rt, vt._values), this.computeValues(Rt)), V.addTo(vt._movement, vt._delta), this.compute(pt), vt._delayed && vt.intentional) {
|
|
98032
|
+
if (document.pointerLockElement === pt.target ? vt._delta = [pt.movementX, pt.movementY] : (vt._delta = V$1.sub(Rt, vt._values), this.computeValues(Rt)), V$1.addTo(vt._movement, vt._delta), this.compute(pt), vt._delayed && vt.intentional) {
|
|
98033
98033
|
this.timeoutStore.remove("dragDelay"), vt.active = !1, this.startPointerDrag(pt);
|
|
98034
98034
|
return;
|
|
98035
98035
|
}
|
|
@@ -98100,7 +98100,7 @@ class DragEngine extends CoordinatesEngine {
|
|
|
98100
98100
|
const vt = KEYS_DELTA_MAP[pt.key];
|
|
98101
98101
|
if (vt) {
|
|
98102
98102
|
const _t = this.state, $t = pt.shiftKey ? 10 : pt.altKey ? 0.1 : 1;
|
|
98103
|
-
this.start(pt), _t._delta = vt(this.config.keyboardDisplacement, $t), _t._keyboardActive = !0, V.addTo(_t._movement, _t._delta), this.compute(pt), this.emit();
|
|
98103
|
+
this.start(pt), _t._delta = vt(this.config.keyboardDisplacement, $t), _t._keyboardActive = !0, V$1.addTo(_t._movement, _t._delta), this.compute(pt), this.emit();
|
|
98104
98104
|
}
|
|
98105
98105
|
}
|
|
98106
98106
|
keyUp(pt) {
|
|
@@ -98178,7 +98178,7 @@ const SUPPORT = {
|
|
|
98178
98178
|
tapsThreshold: _t = 3,
|
|
98179
98179
|
axis: $t = void 0
|
|
98180
98180
|
}) {
|
|
98181
|
-
const Rt = V.toVector(bt, vt ? _t : $t ? 1 : 0);
|
|
98181
|
+
const Rt = V$1.toVector(bt, vt ? _t : $t ? 1 : 0);
|
|
98182
98182
|
return this.filterTaps = vt, this.tapsThreshold = _t, Rt;
|
|
98183
98183
|
},
|
|
98184
98184
|
swipe({
|
|
@@ -98187,8 +98187,8 @@ const SUPPORT = {
|
|
|
98187
98187
|
duration: vt = DEFAULT_SWIPE_DURATION
|
|
98188
98188
|
} = {}) {
|
|
98189
98189
|
return {
|
|
98190
|
-
velocity: this.transform(V.toVector(bt)),
|
|
98191
|
-
distance: this.transform(V.toVector(pt)),
|
|
98190
|
+
velocity: this.transform(V$1.toVector(bt)),
|
|
98191
|
+
distance: this.transform(V$1.toVector(pt)),
|
|
98192
98192
|
duration: vt
|
|
98193
98193
|
};
|
|
98194
98194
|
},
|
|
@@ -98232,7 +98232,7 @@ class PinchEngine extends Engine {
|
|
|
98232
98232
|
movement: vt,
|
|
98233
98233
|
lastOffset: _t
|
|
98234
98234
|
} = this.state;
|
|
98235
|
-
pt === "wheel" ? this.state.offset = V.add(vt, _t) : this.state.offset = [(1 + vt[0]) * _t[0], vt[1] + _t[1]];
|
|
98235
|
+
pt === "wheel" ? this.state.offset = V$1.add(vt, _t) : this.state.offset = [(1 + vt[0]) * _t[0], vt[1] + _t[1]];
|
|
98236
98236
|
}
|
|
98237
98237
|
computeMovement() {
|
|
98238
98238
|
const {
|
|
@@ -98322,7 +98322,7 @@ class PinchEngine extends Engine {
|
|
|
98322
98322
|
const vt = this.state;
|
|
98323
98323
|
this.computeValues([pt.scale, pt.rotation]), vt.origin = [pt.clientX, pt.clientY];
|
|
98324
98324
|
const _t = vt._movement;
|
|
98325
|
-
vt._movement = [pt.scale - 1, pt.rotation], vt._delta = V.sub(vt._movement, _t), this.compute(pt), this.emit();
|
|
98325
|
+
vt._movement = [pt.scale - 1, pt.rotation], vt._delta = V$1.sub(vt._movement, _t), this.compute(pt), this.emit();
|
|
98326
98326
|
}
|
|
98327
98327
|
gestureEnd(pt) {
|
|
98328
98328
|
this.state._active && (this.state._active = !1, this.compute(pt), this.emit());
|
|
@@ -98337,7 +98337,7 @@ class PinchEngine extends Engine {
|
|
|
98337
98337
|
wheelChange(pt) {
|
|
98338
98338
|
"uv" in pt || pt.cancelable && pt.preventDefault();
|
|
98339
98339
|
const _t = this.state;
|
|
98340
|
-
_t._delta = [-wheelValues(pt)[1] / PINCH_WHEEL_RATIO * _t.offset[0], 0], V.addTo(_t._movement, _t._delta), clampStateInternalMovementToBounds(_t), this.state.origin = [pt.clientX, pt.clientY], this.compute(pt), this.emit();
|
|
98340
|
+
_t._delta = [-wheelValues(pt)[1] / PINCH_WHEEL_RATIO * _t.offset[0], 0], V$1.addTo(_t._movement, _t._delta), clampStateInternalMovementToBounds(_t), this.state.origin = [pt.clientX, pt.clientY], this.compute(pt), this.emit();
|
|
98341
98341
|
}
|
|
98342
98342
|
wheelEnd() {
|
|
98343
98343
|
this.state._active && (this.state._active = !1, this.compute(), this.emit());
|
|
@@ -98387,7 +98387,7 @@ const pinchConfigResolver = _objectSpread2$1(_objectSpread2$1({}, commonConfigRe
|
|
|
98387
98387
|
return typeof vt != "function" && typeof _t != "function" ? [$t(), Rt()] : (Ft) => [$t(Ft), Rt(Ft)];
|
|
98388
98388
|
},
|
|
98389
98389
|
threshold(bt, pt, vt) {
|
|
98390
|
-
return this.lockDirection = vt.axis === "lock", V.toVector(bt, this.lockDirection ? [0.1, 3] : 0);
|
|
98390
|
+
return this.lockDirection = vt.axis === "lock", V$1.toVector(bt, this.lockDirection ? [0.1, 3] : 0);
|
|
98391
98391
|
},
|
|
98392
98392
|
modifierKey(bt) {
|
|
98393
98393
|
return bt === void 0 ? "ctrlKey" : bt;
|
|
@@ -99937,12 +99937,12 @@ lib.useDeviceData = useDeviceData;
|
|
|
99937
99937
|
lib.useDeviceSelectors = useDeviceSelectors;
|
|
99938
99938
|
lib.useMobileOrientation = useMobileOrientation;
|
|
99939
99939
|
lib.withOrientationChange = withOrientationChange;
|
|
99940
|
-
var a$
|
|
99940
|
+
var a$4 = Object.defineProperty, e$1 = Object.getOwnPropertySymbols, n$4 = Object.prototype.hasOwnProperty, s$3 = Object.prototype.propertyIsEnumerable, i$3 = (bt, pt, vt) => pt in bt ? a$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$4 = (bt, pt) => {
|
|
99941
99941
|
for (var vt in pt || (pt = {}))
|
|
99942
|
-
n$4.call(pt, vt) && i$
|
|
99942
|
+
n$4.call(pt, vt) && i$3(bt, vt, pt[vt]);
|
|
99943
99943
|
if (e$1)
|
|
99944
99944
|
for (var vt of e$1(pt))
|
|
99945
|
-
s$3.call(pt, vt) && i$
|
|
99945
|
+
s$3.call(pt, vt) && i$3(bt, vt, pt[vt]);
|
|
99946
99946
|
return bt;
|
|
99947
99947
|
};
|
|
99948
99948
|
const m$5 = (bt) => /* @__PURE__ */ jsxRuntimeExports.jsx("video", r$4({
|
|
@@ -99963,7 +99963,7 @@ function c$6(bt) {
|
|
|
99963
99963
|
vt += pt[_t];
|
|
99964
99964
|
return vt;
|
|
99965
99965
|
}
|
|
99966
|
-
function p$
|
|
99966
|
+
function p$9(bt) {
|
|
99967
99967
|
var pt;
|
|
99968
99968
|
const vt = (() => {
|
|
99969
99969
|
try {
|
|
@@ -99977,18 +99977,18 @@ function p$a(bt) {
|
|
|
99977
99977
|
const _t = ((pt = vt.pathname.split(".").pop()) == null ? void 0 : pt.toLowerCase()) || "", $t = ["jpg", "jpeg", "gif", "png"], Rt = ["mp4", "wmv", "avi", "mov"];
|
|
99978
99978
|
return $t.includes(_t) ? "image" : Rt.includes(_t) ? "video" : null;
|
|
99979
99979
|
}
|
|
99980
|
-
var w$
|
|
99980
|
+
var w$6 = Object.defineProperty, k$4 = Object.defineProperties, I$5 = Object.getOwnPropertyDescriptors, f$9 = Object.getOwnPropertySymbols, y$4 = Object.prototype.hasOwnProperty, M$3 = Object.prototype.propertyIsEnumerable, d$8 = (bt, pt, vt) => pt in bt ? w$6(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$3 = (bt, pt) => {
|
|
99981
99981
|
for (var vt in pt || (pt = {}))
|
|
99982
|
-
y$
|
|
99983
|
-
if (f$
|
|
99984
|
-
for (var vt of f$
|
|
99982
|
+
y$4.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99983
|
+
if (f$9)
|
|
99984
|
+
for (var vt of f$9(pt))
|
|
99985
99985
|
M$3.call(pt, vt) && d$8(bt, vt, pt[vt]);
|
|
99986
99986
|
return bt;
|
|
99987
|
-
}, a$
|
|
99987
|
+
}, a$3 = (bt, pt) => k$4(bt, I$5(pt));
|
|
99988
99988
|
const E$4 = (bt) => {
|
|
99989
99989
|
const [pt, vt] = reactExports.useState(!1), [_t, $t] = reactExports.useState();
|
|
99990
99990
|
return reactExports.useEffect(() => {
|
|
99991
|
-
bt.src && $t(p$
|
|
99991
|
+
bt.src && $t(p$9(bt.src));
|
|
99992
99992
|
}, [bt.src]), _t == "video" ? /* @__PURE__ */ jsxRuntimeExports.jsx(c$7, {
|
|
99993
99993
|
src: bt.src,
|
|
99994
99994
|
controls: !0
|
|
@@ -100008,7 +100008,7 @@ const E$4 = (bt) => {
|
|
|
100008
100008
|
vt(!1);
|
|
100009
100009
|
}
|
|
100010
100010
|
})]
|
|
100011
|
-
}) : /* @__PURE__ */ jsxRuntimeExports.jsx(i$
|
|
100011
|
+
}) : /* @__PURE__ */ jsxRuntimeExports.jsx(i$4, a$3(r$3({
|
|
100012
100012
|
style: {
|
|
100013
100013
|
maxWidth: "100%"
|
|
100014
100014
|
},
|
|
@@ -100019,7 +100019,7 @@ const E$4 = (bt) => {
|
|
|
100019
100019
|
}, bt), {
|
|
100020
100020
|
onClick: (Rt) => {
|
|
100021
100021
|
var Ft, Pt, Bt;
|
|
100022
|
-
(Bt = bt.onClick) == null || Bt.call(bt, a$
|
|
100022
|
+
(Bt = bt.onClick) == null || Bt.call(bt, a$3(r$3({}, Rt), {
|
|
100023
100023
|
target: (Pt = (Ft = Rt.target) == null ? void 0 : Ft.offsetParent) == null ? void 0 : Pt.children[0]
|
|
100024
100024
|
}));
|
|
100025
100025
|
},
|
|
@@ -102354,7 +102354,7 @@ ctx.Prism = {
|
|
|
102354
102354
|
manual: !0,
|
|
102355
102355
|
disableWorkerMessageHandler: !0
|
|
102356
102356
|
};
|
|
102357
|
-
var h$
|
|
102357
|
+
var h$7 = hastscript, decode$3 = parseEntities_1, Prism = prismCoreExports, markup = markup_1, css = css_1, clike = clike_1, js$1 = javascript_1;
|
|
102358
102358
|
restore();
|
|
102359
102359
|
var own = {}.hasOwnProperty;
|
|
102360
102360
|
function Refractor() {
|
|
@@ -102424,7 +102424,7 @@ function stringify(bt, pt, vt) {
|
|
|
102424
102424
|
attributes: {},
|
|
102425
102425
|
language: pt,
|
|
102426
102426
|
parent: vt
|
|
102427
|
-
}, bt.alias && (_t.classes = _t.classes.concat(bt.alias)), refract.hooks.run("wrap", _t), h$
|
|
102427
|
+
}, bt.alias && (_t.classes = _t.classes.concat(bt.alias)), refract.hooks.run("wrap", _t), h$7(_t.tag + "." + _t.classes.join("."), attributes(_t.attributes), _t.content));
|
|
102428
102428
|
}
|
|
102429
102429
|
function stringifyAll(bt, pt) {
|
|
102430
102430
|
for (var vt = [], _t = bt.length, $t = -1, Rt; ++$t < _t; )
|
|
@@ -120569,7 +120569,7 @@ const d$7 = (bt) => l$4(void 0, [bt], function* ({
|
|
|
120569
120569
|
pt && setTimeout(() => vt(void 0), 2e3);
|
|
120570
120570
|
}, [pt]), pt ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
120571
120571
|
className: "copy-tip",
|
|
120572
|
-
children: pt === "success" ? /* @__PURE__ */ jsxRuntimeExports.jsx(p$
|
|
120572
|
+
children: pt === "success" ? /* @__PURE__ */ jsxRuntimeExports.jsx(p$a, {
|
|
120573
120573
|
style: {
|
|
120574
120574
|
color: "rgba(48, 191, 19, 1)"
|
|
120575
120575
|
}
|
|
@@ -120595,20 +120595,20 @@ const d$7 = (bt) => l$4(void 0, [bt], function* ({
|
|
|
120595
120595
|
})
|
|
120596
120596
|
});
|
|
120597
120597
|
};
|
|
120598
|
-
var x$6 = Object.defineProperty, f$
|
|
120598
|
+
var x$6 = Object.defineProperty, f$8 = Object.defineProperties, h$6 = Object.getOwnPropertyDescriptors, t$3 = Object.getOwnPropertySymbols, g$7 = Object.prototype.hasOwnProperty, p$8 = Object.prototype.propertyIsEnumerable, w$5 = (bt, pt, vt) => pt in bt ? x$6(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, d$6 = (bt, pt) => {
|
|
120599
120599
|
for (var vt in pt || (pt = {}))
|
|
120600
|
-
g$
|
|
120601
|
-
if (t$
|
|
120602
|
-
for (var vt of t$
|
|
120603
|
-
p$
|
|
120600
|
+
g$7.call(pt, vt) && w$5(bt, vt, pt[vt]);
|
|
120601
|
+
if (t$3)
|
|
120602
|
+
for (var vt of t$3(pt))
|
|
120603
|
+
p$8.call(pt, vt) && w$5(bt, vt, pt[vt]);
|
|
120604
120604
|
return bt;
|
|
120605
|
-
}, m$4 = (bt, pt) => f$
|
|
120605
|
+
}, m$4 = (bt, pt) => f$8(bt, h$6(pt)), u$8 = (bt, pt) => {
|
|
120606
120606
|
var vt = {};
|
|
120607
120607
|
for (var _t in bt)
|
|
120608
|
-
g$
|
|
120609
|
-
if (bt != null && t$
|
|
120610
|
-
for (var _t of t$
|
|
120611
|
-
pt.indexOf(_t) < 0 && p$
|
|
120608
|
+
g$7.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120609
|
+
if (bt != null && t$3)
|
|
120610
|
+
for (var _t of t$3(bt))
|
|
120611
|
+
pt.indexOf(_t) < 0 && p$8.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120612
120612
|
return vt;
|
|
120613
120613
|
};
|
|
120614
120614
|
const L$2 = (bt) => {
|
|
@@ -120651,24 +120651,24 @@ const L$2 = (bt) => {
|
|
|
120651
120651
|
}, Ft), {
|
|
120652
120652
|
children: Rt
|
|
120653
120653
|
}));
|
|
120654
|
-
}, y$
|
|
120655
|
-
var j$1 = Object.defineProperty, v$
|
|
120654
|
+
}, y$3 = L$2;
|
|
120655
|
+
var j$1 = Object.defineProperty, v$3 = Object.defineProperties, A$4 = Object.getOwnPropertyDescriptors, w$4 = Object.getOwnPropertySymbols, f$7 = Object.prototype.hasOwnProperty, m$3 = Object.prototype.propertyIsEnumerable, d$5 = (bt, pt, vt) => pt in bt ? j$1(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$5 = (bt, pt) => {
|
|
120656
120656
|
for (var vt in pt || (pt = {}))
|
|
120657
|
-
f$
|
|
120658
|
-
if (w$
|
|
120659
|
-
for (var vt of w$
|
|
120657
|
+
f$7.call(pt, vt) && d$5(bt, vt, pt[vt]);
|
|
120658
|
+
if (w$4)
|
|
120659
|
+
for (var vt of w$4(pt))
|
|
120660
120660
|
m$3.call(pt, vt) && d$5(bt, vt, pt[vt]);
|
|
120661
120661
|
return bt;
|
|
120662
|
-
}, u$7 = (bt, pt) => v$
|
|
120662
|
+
}, u$7 = (bt, pt) => v$3(bt, A$4(pt)), x$5 = (bt, pt) => {
|
|
120663
120663
|
var vt = {};
|
|
120664
120664
|
for (var _t in bt)
|
|
120665
|
-
f$
|
|
120666
|
-
if (bt != null && w$
|
|
120667
|
-
for (var _t of w$
|
|
120665
|
+
f$7.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120666
|
+
if (bt != null && w$4)
|
|
120667
|
+
for (var _t of w$4(bt))
|
|
120668
120668
|
pt.indexOf(_t) < 0 && m$3.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120669
120669
|
return vt;
|
|
120670
120670
|
};
|
|
120671
|
-
const p$
|
|
120671
|
+
const p$7 = (bt) => {
|
|
120672
120672
|
var pt, vt;
|
|
120673
120673
|
const _t = bt, {
|
|
120674
120674
|
node: $t
|
|
@@ -120691,24 +120691,24 @@ const p$8 = (bt) => {
|
|
|
120691
120691
|
});
|
|
120692
120692
|
}
|
|
120693
120693
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("a", c$5({}, Rt));
|
|
120694
|
-
}, M$2 = p$
|
|
120695
|
-
var c$4 = Object.defineProperty, C$1 = Object.defineProperties, T$
|
|
120694
|
+
}, M$2 = p$7;
|
|
120695
|
+
var c$4 = Object.defineProperty, C$1 = Object.defineProperties, T$3 = Object.getOwnPropertyDescriptors, m$2 = Object.getOwnPropertySymbols, u$6 = Object.prototype.hasOwnProperty, h$5 = Object.prototype.propertyIsEnumerable, g$6 = (bt, pt, vt) => pt in bt ? c$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, d$4 = (bt, pt) => {
|
|
120696
120696
|
for (var vt in pt || (pt = {}))
|
|
120697
|
-
u$6.call(pt, vt) && g$
|
|
120697
|
+
u$6.call(pt, vt) && g$6(bt, vt, pt[vt]);
|
|
120698
120698
|
if (m$2)
|
|
120699
120699
|
for (var vt of m$2(pt))
|
|
120700
|
-
h$
|
|
120700
|
+
h$5.call(pt, vt) && g$6(bt, vt, pt[vt]);
|
|
120701
120701
|
return bt;
|
|
120702
|
-
}, n$3 = (bt, pt) => C$1(bt, T$
|
|
120702
|
+
}, n$3 = (bt, pt) => C$1(bt, T$3(pt)), s$2 = (bt, pt) => {
|
|
120703
120703
|
var vt = {};
|
|
120704
120704
|
for (var _t in bt)
|
|
120705
120705
|
u$6.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
120706
120706
|
if (bt != null && m$2)
|
|
120707
120707
|
for (var _t of m$2(bt))
|
|
120708
|
-
pt.indexOf(_t) < 0 && h$
|
|
120708
|
+
pt.indexOf(_t) < 0 && h$5.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
120709
120709
|
return vt;
|
|
120710
120710
|
};
|
|
120711
|
-
function K$
|
|
120711
|
+
function K$2(bt) {
|
|
120712
120712
|
return bt && bt.replace(/<think>/gi, '<div class="think">').replace(/<\/think>/gi, "</div>").replace(/<redacted_reasoning>/gi, '<div class="redacted_reasoning">').replace(/<\/redacted_reasoning>/gi, "</div>");
|
|
120713
120713
|
}
|
|
120714
120714
|
const $$2 = (bt) => {
|
|
@@ -120728,7 +120728,7 @@ const $$2 = (bt) => {
|
|
|
120728
120728
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(B$1, d$4(d$4({}, Gt), $t == null ? void 0 : $t.img));
|
|
120729
120729
|
},
|
|
120730
120730
|
code(Gt) {
|
|
120731
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(y$
|
|
120731
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(y$3, d$4(d$4({}, Gt), $t == null ? void 0 : $t.code));
|
|
120732
120732
|
},
|
|
120733
120733
|
video(Gt) {
|
|
120734
120734
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(c$7, d$4(d$4({}, Gt), $t == null ? void 0 : $t.video));
|
|
@@ -120736,7 +120736,7 @@ const $$2 = (bt) => {
|
|
|
120736
120736
|
a(Gt) {
|
|
120737
120737
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(M$2, d$4(d$4({}, Gt), $t == null ? void 0 : $t.a));
|
|
120738
120738
|
}
|
|
120739
|
-
}, _t), qt = K$
|
|
120739
|
+
}, _t), qt = K$2(Rt), Ht = vt ? c$6(qt) : qt;
|
|
120740
120740
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
120741
120741
|
ref: Pt,
|
|
120742
120742
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Markdown, n$3(d$4({
|
|
@@ -120757,13 +120757,13 @@ const $$2 = (bt) => {
|
|
|
120757
120757
|
try {
|
|
120758
120758
|
if (typeof document != "undefined") {
|
|
120759
120759
|
var bt = document.createElement("style");
|
|
120760
|
-
bt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')), document.head.appendChild(bt);
|
|
120760
|
+
bt.appendChild(document.createTextNode('.document-viewer{width:100%;height:100%;min-height:200px;display:flex;flex-direction:column;overflow:hidden;position:relative;gap:8px}.document-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;border:1px solid #f0f0f0;background:#fafafa;border-radius:4px;flex-shrink:0}.document-viewer-toolbar-meta{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.document-viewer-toolbar-name{font-weight:500;color:#1f1f1f;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.document-viewer-toolbar-size{font-size:12px;color:#666;flex-shrink:0}.document-viewer-body{flex:1;min-height:0;display:flex}.document-viewer-loading{display:flex;justify-content:center;align-items:center;min-height:200px;flex:1}.document-viewer-text,.document-viewer-json,.document-viewer-xml{padding:16px;background:#f5f5f5;border-radius:4px;overflow:auto;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;flex:1;min-height:0}.document-viewer-json{background:#f9f9f9}.document-viewer-xml{background:#fff8e1}.document-viewer-jsonl{padding:16px;overflow:auto;flex:1;min-height:0;width:100%;display:flex;flex-direction:column}.document-viewer-jsonl-item{margin-bottom:16px;padding:12px;background:#f9f9f9;border-radius:4px;border-left:3px solid #1890ff;width:100%;box-sizing:border-box;max-width:100%}.document-viewer-jsonl-item:last-child{margin-bottom:0}.document-viewer-jsonl-item pre{margin:0;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:13px;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;width:100%;max-width:100%;box-sizing:border-box}.document-viewer-code{border-radius:4px;overflow:auto;max-height:100%;height:100%;display:flex;flex-direction:column;width:100%}.document-viewer-code pre{margin:0!important;padding:16px!important;background:#f5f5f5!important;overflow:visible;width:100%;box-sizing:border-box}.document-viewer-code>div{overflow:auto;max-height:100%;width:100%}.document-viewer-image{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-image .ant-image{max-width:100%;max-height:100%;width:100%;height:100%}.document-viewer-image .ant-image img{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.document-viewer-video{display:flex;justify-content:center;align-items:center;padding:16px;min-height:200px;overflow:hidden;flex:1;min-height:0}.document-viewer-video video{max-width:100%;max-height:100%}.document-viewer-audio{padding:16px;display:flex;justify-content:center;align-items:center;min-height:100px;overflow:hidden;flex:1;min-height:0}.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-zip{width:100%;height:100%;min-height:0;position:relative;flex:1;display:flex;flex-direction:column}.document-viewer-zip{display:flex;flex-direction:column;padding:16px;background:#fff;overflow:hidden}.document-viewer-zip .ant-table{font-size:12px}.document-viewer-zip .ant-table .ant-table-tbody>tr:hover>td{background-color:#f5f5f5}.document-viewer-zip .ant-table .ant-table-tbody>tr.ant-table-row-selected>td{background-color:#e6f7ff}.document-viewer-iframe{width:100%;height:100%;min-height:0;border:none;border-radius:4px;flex:1}.document-viewer-docx{overflow:hidden;background:#f5f5f5}.document-viewer-docx-content{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box;background:#f5f5f5}.document-viewer-docx-content>section{margin:0 auto 16px;box-shadow:0 2px 8px #00000014}.document-viewer-fallback{margin-top:16px}.document-viewer-alert-full{width:100%;align-self:flex-start}@media (max-width: 768px){.document-viewer-pdf,.document-viewer-office,.document-viewer-unknown,.document-viewer-iframe{min-height:0}}.storybook-button{font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:700;border:0;border-radius:3em;cursor:pointer;display:inline-block;line-height:1}.storybook-button--primary{color:#fff;background-color:#027bf4}.storybook-button--secondary{color:#333;background-color:transparent;box-shadow:#00000026 0 0 0 1px inset}.storybook-button--small{font-size:12px;padding:10px 16px}.storybook-button--medium{font-size:14px;padding:11px 20px}.storybook-button--large{font-size:16px;padding:12px 24px}.copy-btn{font-size:16px;cursor:pointer}.copy-btn:hover{color:#b452ff}.g-expandable-pannel-wrap{inset:0;z-index:999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar{position:absolute;right:0;top:0;background-color:#222836;z-index:9999}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.collapsed{position:absolute;top:0;right:0;z-index:9;width:40px;height:40px;display:flex;align-items:center;justify-content:center}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned{padding:0}.g-expandable-pannel-wrap .g-expandable-pannel-expand-bar.expaned .g-icon-btn{background-color:#0000}.g-expandable-pannel-wrap .g-expandable-pannel{width:100%;height:100%;border:.5px solid #313A4D}.g-expandable-pannel-wrap .g-expandable-pannel-header{position:absolute;right:0;top:0;z-index:9;padding-right:28px;height:28px;display:flex;flex-direction:row-reverse}.g-expandable-pannel-wrap .g-expandable-pannel-body{opacity:.85;width:100%;height:100%}.g-expandable-pannel-wrap .g-expandable-pannel-body .icon{width:16px;height:16px}.g-expandable-pannel-wrap .g-expandable-pannel.full{width:100%!important;height:100%!important;inset:0 55px;z-index:9}.g-expandable-pannel-wrap .g-expandable-pannel.hidden{inset:0 -20000px}.g-expandable-pannel-wrap .g-expandable-pannel.hidden+.bar-btn{position:absolute;right:0!important;background:rgba(58,63,76,.5);border-radius:20px 0 0 20px}.g-expandable-pannel-wrap .g-expandable-pannel.normal{height:250px;overflow:hidden;padding:0}.g-expandable-pannel-wrap .g-expandable-pannel.full+.bar-btn{top:0;right:55px;z-index:99}.g-expandable-pannel-wrap .g-expandable-pannel.full~.cover{display:block;position:absolute;width:100vw;height:100vh;top:0;left:0;background:#00000066}.g-expandable-pannel-wrap .g-expandable-pannel.hiddern~.cover{display:none}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel{width:134px;background:#ffffff;border:1px solid #ececec;box-shadow:2px 2px 6px #c0c0c040;border-radius:4px;padding:6px 12px}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row{width:100%;display:flex;height:32px;align-items:center}.g-expandable-pannel-wrap .g-expandable-pannel .minimap-menu-pannel .item-row img{width:16px;height:16px;margin:0 8px}.g-expandable-pannel-wrap .g-expandable-pannel .status{display:block}.g-expandable-pannel-wrap .g-expandable-pannel .status.success:before{display:inline-block;content:"";width:12px;height:12px;background-color:#52c41a}.g-expandable-pannel-wrap .g-expandable-pannel .status.error:before{display:inline-block;content:"";width:12px;height:12px;background-color:#ff4d4f}.g-expandable-pannel-wrap .g-expandable-pannel .pass-confirm-wrap{position:absolute}.markdown{word-break:break-all}.markdown :last-child{margin-bottom:0}.markdown div,.markdown hr,.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6,.markdown p,.markdown table,.markdown code,.markdown img,.markdown address,.markdown blockquote,.markdown dir,.markdown menu,.markdown pre,.markdown ul,.markdown ol,.markdown li,.markdown dl{margin-bottom:12px;line-height:150%;white-space:pre-wrap}.markdown div:last-child,.markdown hr:last-child,.markdown h1:last-child,.markdown h2:last-child,.markdown h3:last-child,.markdown h4:last-child,.markdown h5:last-child,.markdown h6:last-child,.markdown p:last-child,.markdown table:last-child,.markdown code:last-child,.markdown img:last-child,.markdown address:last-child,.markdown blockquote:last-child,.markdown dir:last-child,.markdown menu:last-child,.markdown pre:last-child,.markdown ul:last-child,.markdown ol:last-child,.markdown li:last-child,.markdown dl:last-child{margin-bottom:0}.markdown ul,.markdown ol{padding-inline-start:20px}.markdown ul{list-style-type:disc}.markdown ol{list-style-type:decimal}.markdown ul,.markdown li{white-space:normal;margin-bottom:8px}.markdown table{display:block;border-collapse:collapse;border-radius:4px;max-width:100%;overflow:auto;width:max-content}.markdown td,.markdown th{border:1px solid #e8e9eb;padding:6px 13px;text-align:left}.markdown tr{color:#151b26;background-color:#fff}.markdown th{background-color:#f9f2ff;color:#000}.markdown tr:hover td{background-color:#fff}.markdown p code{background:#f9f2ff;border-radius:4px;padding:4px;display:inline;font-size:12px;color:#070c14}.markdown .markdown-code-title{margin:0;padding:0 16px;height:36px;border-radius:8px 8px 0 0;background:#f9f2ff;display:flex;align-items:center;justify-content:space-between;line-height:21px;font-weight:500;color:#070c14}.markdown .markdown-code-context{padding:16px;background:rgba(249,242,255,.3)!important;margin:0!important;border-radius:0 0 8px 8px}.markdown .markdown-code-context code{margin:0;font-size:85%;background:none;font-size:14px}.markdown .markdown-code-context code>span{flex-wrap:wrap}.markdown p{white-space:pre-line}.markdown pre code.hljs{display:block;overflow-x:auto;padding:1em}.markdown p{line-height:150%;height:auto!important}.markdown img{max-width:100%}.markdown a,.markdown a:hover{color:#0f64ff}.markdown code.hljs{padding:3px 5px}.markdown .hljs{background:rgba(249,242,255,.3);color:#000}.markdown .hljs-comment{color:#697070}.markdown .hljs-tag,.markdown .hljs-punctuation{color:#000a}.markdown .hljs-tag .hljs-name,.markdown .hljs-tag .hljs-attr{color:#000}.markdown .hljs-keyword,.markdown .hljs-attribute,.markdown .hljs-selector-tag,.markdown .hljs-meta .hljs-keyword,.markdown .hljs-doctag,.markdown .hljs-name{font-weight:700}.markdown .hljs-type,.markdown .hljs-string,.markdown .hljs-number,.markdown .hljs-selector-id,.markdown .hljs-selector-class,.markdown .hljs-quote,.markdown .hljs-template-tag,.markdown .hljs-deletion{color:#800}.markdown .hljs-title,.markdown .hljs-section{color:#800;font-weight:700}.markdown .hljs-regexp,.markdown .hljs-symbol,.markdown .hljs-variable,.markdown .hljs-template-variable,.markdown .hljs-link,.markdown .hljs-selector-attr,.markdown .hljs-operator,.markdown .hljs-selector-pseudo{color:#ab5656}.markdown .hljs-literal{color:#695}.markdown .hljs-built_in,.markdown .hljs-bullet,.markdown .hljs-code,.markdown .hljs-addition{color:#397300}.markdown .hljs-meta{color:#1f7199}.markdown .hljs-meta .hljs-string{color:#38a}.markdown .hljs-emphasis{font-style:italic}.markdown .hljs-strong{font-weight:700}.markdown .ant-image{margin-bottom:6px!important}.markdown .ant-image .ant-image-img{margin-bottom:0!important}.g-icon-btn{height:28px;width:28px;line-height:28px;background-color:#222836;color:#b8c1d0;cursor:pointer;text-align:center;padding:0;border:none;font-size:16px;display:block}.g-icon-btn:hover{color:#fff;background:linear-gradient(180deg,#4e5b73 0%,#222836 100%);border-image:linear-gradient(180deg,#4e5b73 0%,#222836 100%),linear-gradient(180deg,#ffffff 16.67%,#d2d2d2 49.48%,#000000 73.44%,#e4e4e4 92.71%)}.g-icon-btn:disabled{color:#68707e;cursor:not-allowed;background:linear-gradient(180deg,#0a111d 0%,#222836 100%)}.image-map{position:relative;width:100%;height:100%;overflow:hidden;user-select:none;display:flex;justify-content:center}.image-map .image-map-pannel{width:100%;height:100%;user-select:none;display:flex;justify-content:center;align-items:center}.image-map .image-map-toolbar{position:absolute;width:auto;height:auto;bottom:12px;z-index:99;display:flex;align-items:center;gap:12px;background-color:#393939;padding:10px;border-radius:6px}.image-map .image-map-toolbar .zoom-controller{display:flex;height:100%;align-items:center;gap:12px;color:#fff}.image-map .image-map-toolbar .zoom-controller .g-icon-btn,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button{background-color:unset;font-size:16px;border:.5px solid #6f6f6f;border-radius:2px;font-size:14px}.image-map .image-map-toolbar .zoom-controller .g-icon-btn .anticon,.image-map .image-map-toolbar .zoom-controller .g-icon-btn button .anticon{font-size:14px}.image-map .image-map-toolbar .zoom-controller.vertical{flex-direction:column}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn{background-color:red;margin-top:6px;border:none}.image-map .image-map-toolbar .zoom-controller.vertical .g-icon-btn .anticon{font-size:16px}.image-map .image-map-toolbar .zoom-controller.horizontal{flex-direction:row}.image-map .image-map-toolbar .line{width:1px;height:12px;border:.5px solid #e0e0e0}.image-map .image-map-toolbar .moveable-controller{background-color:unset;height:100%;border:.5px solid #6f6f6f;border-radius:2px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn{position:relative;border:none;border-radius:2px;background-color:unset;padding:0;display:flex;height:100%}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change{display:flex;align-items:center;color:#fff;gap:10px;height:100%;margin-inline-end:unset;padding:4px 8px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .btn-change svg{font-size:16px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn .anticon{font-size:24px}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn.active{color:#fff}.image-map .image-map-toolbar .moveable-controller .moveable-controller-btn:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller{display:flex;gap:12px;align-items:center;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:left}.image-map .image-map-toolbar .editing-controller .ant-btn-default{border:.5px solid #6f6f6f;border-radius:2px;background-color:unset;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-default:hover{background:linear-gradient(180deg,#4e5b73 0%,#222836 100%)}.image-map .image-map-toolbar .editing-controller .ant-btn-primary{border-radius:2px;background-color:#0532a6;border:.5px solid #6f6f6f;color:#fff;padding:4px 8px}.image-map .image-map-toolbar .editing-controller .ant-btn-primary:hover{background:#0949d2}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail{display:flex;align-items:center;color:#fff;gap:10px;height:100%}.image-map .image-map-toolbar .editing-controller .ant-btn-primary .save-detail svg{font-size:16px}.g-mouse-tip{display:inline-flex;justify-content:center;align-items:center;gap:4px;box-shadow:0 1px 10px #0000000d,0 4px 5px #00000014,0 2px 4px -1px #0000001f;border-radius:4px;background:#000;position:fixed;z-index:2000;padding:8px 12px}.g-mouse-tip-content{font-size:12px;font-style:normal;font-weight:400;color:#fff}.pass-map{background:transparent}.pass-map .pass-area{position:absolute;background:rgba(255,77,79,.21);border:1px solid #00000000;z-index:1}.pass-map .pass-area-circle{border-radius:50%}.pass-map .pass-area__active{background:rgba(255,77,79,.25);border:1px solid #ff4d4f}.track-map{z-index:10;position:relative}.track-map .point{cursor:pointer}.track-map .bottom-action{position:fixed;left:50%;bottom:10px;transform:translate(-50%);z-index:1000;display:flex;justify-content:center;align-items:flex-end;padding-bottom:12px}.track-map .bottom-action .bottom-pannel{background:white;height:48px;background:rgba(255,255,255,.9);border:1px solid #f8f8f8;box-shadow:2px 2px 4px #c0c0c040;border-radius:4px;padding:0 12px}:where(.css-ed5zg0)[class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm],:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"],:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:before,:where(.css-ed5zg0)[class^=ant-popconfirm] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class^=ant-popconfirm]:after,:where(.css-ed5zg0)[class^=ant-popconfirm] [class*=" ant-popconfirm"]:after,:where(.css-ed5zg0)[class*=" ant-popconfirm"] [class*=" ant-popconfirm"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popconfirm{z-index:1060}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-inner-content{color:#000000e0}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message{position:relative;margin-bottom:8px;color:#000000e0;font-size:14px;display:flex;flex-wrap:nowrap;align-items:start}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message>.ant-popconfirm-message-icon .anticon{color:#faad14;font-size:14px;flex:none;line-height:1;padding-top:4px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title{flex:auto;margin-inline-start:8px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-message-title-only{font-weight:600}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-description{position:relative;margin-inline-start:22px;margin-bottom:8px;color:#000000e0;font-size:14px}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons{text-align:end}:where(.css-ed5zg0).ant-popconfirm .ant-popconfirm-buttons button{margin-inline-start:8px}:where(.css-ed5zg0)[class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-size:14px;box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover],:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover],:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"],:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]{box-sizing:border-box}:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:before,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:before,:where(.css-ed5zg0)[class^=ant-popover] [class^=ant-popover]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class^=ant-popover]:after,:where(.css-ed5zg0)[class^=ant-popover] [class*=" ant-popover"]:after,:where(.css-ed5zg0)[class*=" ant-popover"] [class*=" ant-popover"]:after{box-sizing:border-box}:where(.css-ed5zg0).ant-popover{box-sizing:border-box;margin:0;padding:0;color:#000000e0;font-size:14px;line-height:1.57142857;list-style:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";position:absolute;top:0;left:0;z-index:1030;font-weight:400;white-space:normal;text-align:start;cursor:auto;user-select:text;--antd-arrow-background-color: #ffffff}:where(.css-ed5zg0).ant-popover-rtl{direction:rtl}:where(.css-ed5zg0).ant-popover-hidden{display:none}:where(.css-ed5zg0).ant-popover .ant-popover-content{position:relative}:where(.css-ed5zg0).ant-popover .ant-popover-inner{background-color:#fff;background-clip:padding-box;border-radius:8px;box-shadow:0 6px 16px #00000014,0 3px 6px -4px #0000001f,0 9px 28px 8px #0000000d;padding:12px}:where(.css-ed5zg0).ant-popover .ant-popover-title{min-width:177px;margin-bottom:8px;color:#000000e0;font-weight:600}:where(.css-ed5zg0).ant-popover .ant-popover-inner-content{color:#000000e0;padding:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow{position:absolute;z-index:1;display:block;pointer-events:none;width:16px;height:16px;overflow:hidden;border:0}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{position:absolute;bottom:0;inset-inline-start:0;width:16px;height:8px;background:var(--antd-arrow-background-color);clip-path:polygon(1.65685425px 100%,50% 1.65685425px,14.34314575px 100%,1.65685425px 100%);clip-path:path("M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z");content:""}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:after{content:"";position:absolute;width:8.97056275px;height:8.97056275px;bottom:0;inset-inline:0;margin:auto;border-radius:0 0 2px;transform:translateY(50%) rotate(-135deg);box-shadow:2px 2px 5px #0000000d;z-index:0;background:transparent}:where(.css-ed5zg0).ant-popover .ant-popover-arrow:before{background:var(--antd-arrow-background-color)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{bottom:0;transform:translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-top .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(100%) rotate(180deg)}:where(.css-ed5zg0).ant-popover-placement-topLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-topRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{top:0;transform:translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottom .ant-popover-arrow{left:50%;transform:translate(-50%) translateY(-100%)}:where(.css-ed5zg0).ant-popover-placement-bottomLeft .ant-popover-arrow{left:12px}:where(.css-ed5zg0).ant-popover-placement-bottomRight .ant-popover-arrow{right:12px}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{right:0;transform:translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-left .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(100%) rotate(90deg)}:where(.css-ed5zg0).ant-popover-placement-leftTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-leftBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow,:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{left:0;transform:translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-right .ant-popover-arrow{top:50%;transform:translateY(-50%) translate(-100%) rotate(-90deg)}:where(.css-ed5zg0).ant-popover-placement-rightTop .ant-popover-arrow{top:12px}:where(.css-ed5zg0).ant-popover-placement-rightBottom .ant-popover-arrow{bottom:12px}:where(.css-ed5zg0).ant-popover-pure{position:relative;max-width:none;margin:16px;display:inline-block}:where(.css-ed5zg0).ant-popover-pure .ant-popover-content{display:inline-block}:where(.css-ed5zg0).ant-popover.ant-popover-blue{--antd-arrow-background-color: #1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-inner{background-color:#1677ff}:where(.css-ed5zg0).ant-popover.ant-popover-blue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-purple{--antd-arrow-background-color: #722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-inner{background-color:#722ed1}:where(.css-ed5zg0).ant-popover.ant-popover-purple .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-cyan{--antd-arrow-background-color: #13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-inner{background-color:#13c2c2}:where(.css-ed5zg0).ant-popover.ant-popover-cyan .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-green{--antd-arrow-background-color: #52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-inner{background-color:#52c41a}:where(.css-ed5zg0).ant-popover.ant-popover-green .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-magenta{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-magenta .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-pink{--antd-arrow-background-color: #eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-inner{background-color:#eb2f96}:where(.css-ed5zg0).ant-popover.ant-popover-pink .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-red{--antd-arrow-background-color: #f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-inner{background-color:#f5222d}:where(.css-ed5zg0).ant-popover.ant-popover-red .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-orange{--antd-arrow-background-color: #fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-inner{background-color:#fa8c16}:where(.css-ed5zg0).ant-popover.ant-popover-orange .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-yellow{--antd-arrow-background-color: #fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-inner{background-color:#fadb14}:where(.css-ed5zg0).ant-popover.ant-popover-yellow .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-volcano{--antd-arrow-background-color: #fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-inner{background-color:#fa541c}:where(.css-ed5zg0).ant-popover.ant-popover-volcano .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue{--antd-arrow-background-color: #2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-inner{background-color:#2f54eb}:where(.css-ed5zg0).ant-popover.ant-popover-geekblue .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-lime{--antd-arrow-background-color: #a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-inner{background-color:#a0d911}:where(.css-ed5zg0).ant-popover.ant-popover-lime .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-popover.ant-popover-gold{--antd-arrow-background-color: #faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-inner{background-color:#faad14}:where(.css-ed5zg0).ant-popover.ant-popover-gold .ant-popover-arrow{background:transparent}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-leave{animation-duration:.2s;animation-fill-mode:both;animation-play-state:paused}:where(.css-ed5zg0).ant-zoom-big-enter.ant-zoom-big-enter-active,:where(.css-ed5zg0).ant-zoom-big-appear.ant-zoom-big-appear-active{animation-name:css-ed5zg0-antZoomBigIn;animation-play-state:running}:where(.css-ed5zg0).ant-zoom-big-leave.ant-zoom-big-leave-active{animation-name:css-ed5zg0-antZoomBigOut;animation-play-state:running;pointer-events:none}:where(.css-ed5zg0).ant-zoom-big-enter,:where(.css-ed5zg0).ant-zoom-big-appear{transform:scale(0);opacity:0;animation-timing-function:cubic-bezier(.08,.82,.17,1)}:where(.css-ed5zg0).ant-zoom-big-enter-prepare,:where(.css-ed5zg0).ant-zoom-big-appear-prepare{transform:none}:where(.css-ed5zg0).ant-zoom-big-leave{animation-timing-function:cubic-bezier(.78,.14,.15,.86)}.track-map .tooltip-container{pointer-events:none!important}.track-map .tooltip-container>*{pointer-events:initial}.g-expandable-pannel-wrap.collapsed .tooltip-container{display:none}.g-rc-tooltip{position:absolute!important}.g-rc-tooltip .g-rc-tooltip-arrow{height:10px}:root{--rpv-drop__area-background-color: #fff;--rpv-drop__area-body-border-color: rgba(0, 0, 0, .3);--rpv-drop__area-body-color: #000}.rpv-core__viewer--dark{--rpv-drop__area-background-color: #191919;--rpv-drop__area-body-border-color: #fff;--rpv-drop__area-body-color: #fff}.rpv-drop__area{background-color:var(--rpv-drop__area-background-color);inset:0;position:absolute;padding:.5rem;z-index:9999}.rpv-drop__area-body{border:2px dashed var(--rpv-drop__area-body-border-color);color:var(--rpv-drop__area-body-color);font-size:1.5rem;align-items:center;display:flex;justify-content:center;height:100%}.rpv-drop__area-body--rtl{direction:rtl}:root{--rpv-full-screen__overlay-background-color: #fff}.rpv-core__viewer--dark{--rpv-full-screen__overlay-background-color: #1a1a1a}.rpv-full-screen__exit-button{bottom:0;padding:.5rem;position:fixed;z-index:2}.rpv-full-screen__exit-button--ltr{right:0}.rpv-full-screen__exit-button--rtl{left:0}.rpv-full-screen__overlay{position:fixed;top:0;left:0;height:100%;width:100%;align-items:center;display:flex;justify-content:center;background-color:var(--rpv-full-screen__overlay-background-color);z-index:1}.rpv-page-navigation__current-page-input{margin:0 .25rem;text-align:right;width:3rem}:root{--rpv-print__progress-body-background-color: #fff;--rpv-print__progress-body-border-color: rgba(0, 0, 0, .3);--rpv-print__progress-body-color: #000}.rpv-core__viewer--dark{--rpv-print__progress-body-background-color: #363636;--rpv-print__progress-body-border-color: transparent;--rpv-print__progress-body-color: #fff}.rpv-print__permission-body{padding:1rem}.rpv-print__permission-footer{display:flex;justify-content:center;padding:0 1rem 1rem 0}.rpv-print__progress{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%;z-index:9999}.rpv-print__progress-body{background-color:var(--rpv-print__progress-body-background-color);border:1px solid var(--rpv-print__progress-body-border-color);border-radius:.25rem;color:var(--rpv-print__progress-body-color);padding:1.5rem;text-align:center;width:15rem}.rpv-print__progress-body--rtl{direction:rtl}.rpv-print__progress-bar{margin-bottom:1rem}.rpv-print__progress-message{margin-bottom:.5rem}.rpv-print__zone{display:none}@media print{@page{margin:0}.rpv-print__html-printing{height:100%}.rpv-print__body-printing{height:100%;margin:0}.rpv-print__body-printing *{display:none}.rpv-print__zone{display:block;height:100%}.rpv-print__page{align-items:center;display:flex;flex-direction:column;justify-content:center;height:100%;width:100%;page-break-after:always;page-break-inside:avoid}.rpv-print__page img{display:block;max-height:100%;max-width:100%}}.rpv-properties__loader{text-align:center}.rpv-properties__modal{min-height:20rem;padding:.5rem 0}.rpv-properties__modal-section{padding:0 .5rem}.rpv-properties__modal-footer{display:flex;justify-content:center;margin-top:.5rem}.rpv-properties__item{align-items:flex-start;display:flex;margin:.5rem 0}.rpv-properties__item--rtl{direction:rtl}.rpv-properties__item-label{padding-right:.5rem;width:25%}.rpv-properties__item-value{flex:1}.rpv-search__highlights{left:0;position:absolute;top:0;height:100%;width:100%}.rpv-search__highlight{background-color:var(--rpv-search__highlight-background-color);border-radius:.25rem;position:absolute;z-index:1}.rpv-search__highlight--current{background-color:var(--rpv-search__highlight--current-background-color)}.rpv-search__popover{padding:0 .5rem}.rpv-search__popover-input-counter{align-items:center;display:flex;margin-bottom:.5rem;position:relative;width:12rem}.rpv-search__popover-counter{align-items:center;bottom:0;display:flex;position:absolute;top:0}.rpv-search__popover-counter--ltr{padding-right:.25rem;right:0}.rpv-search__popover-counter--rtl{left:0;padding-left:.25rem}.rpv-search__popover-label{align-items:center;cursor:pointer;display:flex;margin-bottom:.5rem}.rpv-search__popover-label-checkbox{cursor:pointer;margin-right:.25rem}.rpv-search__popover-footer{align-items:center;display:flex}.rpv-search__popover-footer-item{padding:0 .25rem}.rpv-search__popover-footer-button--ltr{margin-left:auto}.rpv-search__popover-footer-button--rtl{margin-right:auto}:root{--rpv-search__highlight-background-color: rgba(255, 255, 0, .4);--rpv-search__highlight--current-background-color: rgba(0, 128, 0, .4)}.rpv-selection-mode__grab{cursor:grab}.rpv-selection-mode__grab :not(input),.rpv-selection-mode__grab :not(select),.rpv-selection-mode__grab :not(textarea){cursor:grab!important}.rpv-selection-mode__grabbing{cursor:grabbing}.rpv-selection-mode__grabbing :not(input),.rpv-selection-mode__grabbing :not(select),.rpv-selection-mode__grabbing :not(textarea){cursor:grabbing!important}:root{--rpv-zoom__popover-target-arrow-border-color: rgba(0, 0, 0, .6)}.rpv-core__viewer--dark{--rpv-zoom__popover-target-arrow-border-color: #fff}.rpv-zoom__popover-target{align-items:center;color:var(--rpv-zoom__popover-target-color);display:flex}.rpv-zoom__popover-target-scale--ltr{margin-right:.25rem}.rpv-zoom__popover-target-scale--rtl{margin-left:.25rem}.rpv-zoom__popover-target-arrow{border-color:var(--rpv-zoom__popover-target-arrow-border-color) rgba(0,0,0,0) rgba(0,0,0,0);border-style:solid;border-width:.5rem .25rem 0;height:0;width:0}:root{--rpv-toolbar__label--color: #000}.rpv-core__viewer--dark{--rpv-toolbar__label--color: #fff}.rpv-toolbar{align-items:center;display:flex;width:100%}.rpv-toolbar--rtl{direction:rtl}.rpv-toolbar__left{align-items:center;display:flex}.rpv-toolbar__center{align-items:center;display:flex;flex-grow:1;flex-shrink:1;justify-content:center}.rpv-toolbar__right{align-items:center;display:flex;margin-left:auto}.rpv-toolbar__item{align-items:center;display:flex;padding:0 .125rem}.rpv-toolbar__label{color:var(--rpv-toolbar__label--color)}.rpv-open__input-wrapper{position:relative}.rpv-open__input{display:none;cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.rpv-open__input::-webkit-file-upload-button{width:0}.pdf-viewer{width:100%;height:100%;overflow-y:auto}')), document.head.appendChild(bt);
|
|
120761
120761
|
}
|
|
120762
120762
|
} catch (pt) {
|
|
120763
120763
|
console.error("vite-plugin-css-injected-by-js", pt);
|
|
120764
120764
|
}
|
|
120765
120765
|
})();
|
|
120766
|
-
var n$2 = Object.defineProperty, f$
|
|
120766
|
+
var n$2 = Object.defineProperty, f$6 = (bt, pt, vt) => pt in bt ? n$2(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, r$2 = (bt, pt, vt) => (f$6(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt);
|
|
120767
120767
|
const o$2 = class Dm {
|
|
120768
120768
|
constructor(pt, vt = !1) {
|
|
120769
120769
|
this.prefix = pt, this.open = vt;
|
|
@@ -120788,18 +120788,18 @@ const o$2 = class Dm {
|
|
|
120788
120788
|
}
|
|
120789
120789
|
};
|
|
120790
120790
|
r$2(o$2, "debug", !1);
|
|
120791
|
-
let t$
|
|
120792
|
-
var u$5 = Object.defineProperty, f$
|
|
120791
|
+
let t$2 = o$2;
|
|
120792
|
+
var u$5 = Object.defineProperty, f$5 = Object.defineProperties, v$2 = Object.getOwnPropertyDescriptors, n$1 = Object.getOwnPropertySymbols, p$6 = Object.prototype.hasOwnProperty, h$4 = Object.prototype.propertyIsEnumerable, g$5 = (bt, pt, vt) => pt in bt ? u$5(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, c$3 = (bt, pt) => {
|
|
120793
120793
|
for (var vt in pt || (pt = {}))
|
|
120794
|
-
p$
|
|
120794
|
+
p$6.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120795
120795
|
if (n$1)
|
|
120796
120796
|
for (var vt of n$1(pt))
|
|
120797
|
-
h$
|
|
120797
|
+
h$4.call(pt, vt) && g$5(bt, vt, pt[vt]);
|
|
120798
120798
|
return bt;
|
|
120799
|
-
}, l$3 = (bt, pt) => f$
|
|
120800
|
-
const R$5 = new t$
|
|
120799
|
+
}, l$3 = (bt, pt) => f$5(bt, v$2(pt));
|
|
120800
|
+
const R$5 = new t$2("[Config] ");
|
|
120801
120801
|
var s$1 = /* @__PURE__ */ ((bt) => (bt.dev = "https://aiot-dev.glodon.com/api/cvforcepd", bt.test = "https://aiot-dev.glodon.com/api/cvforce", bt.prod = "https://copilot.glodon.com/api/cvforce", bt.local = "http://localhost:3000/api/cvforcepd", bt))(s$1 || {});
|
|
120802
|
-
let i$
|
|
120802
|
+
let i$2 = {
|
|
120803
120803
|
debug: !1,
|
|
120804
120804
|
env: "prod",
|
|
120805
120805
|
//AIoT 环境, 与apiRoot配对使用
|
|
@@ -120813,11 +120813,11 @@ let i$3 = {
|
|
|
120813
120813
|
};
|
|
120814
120814
|
function x$4(bt) {
|
|
120815
120815
|
var pt, vt;
|
|
120816
|
-
t$
|
|
120817
|
-
apiRoot: (bt == null ? void 0 : bt.apiRoot) || i$
|
|
120816
|
+
t$2.debug = (bt == null ? void 0 : bt.debug) || !1, i$2 = l$3(c$3(c$3({}, i$2), bt), {
|
|
120817
|
+
apiRoot: (bt == null ? void 0 : bt.apiRoot) || i$2.apiRoot || (bt != null && bt.env ? s$1[bt.env || "prod"] : i$2.apiRoot),
|
|
120818
120818
|
// 应用未注册插件时 param.plugins 为 undefined,避免覆盖默认空表
|
|
120819
|
-
plugins: (vt = (pt = bt == null ? void 0 : bt.plugins) != null ? pt : i$
|
|
120820
|
-
}), t$
|
|
120819
|
+
plugins: (vt = (pt = bt == null ? void 0 : bt.plugins) != null ? pt : i$2.plugins) != null ? vt : {}
|
|
120820
|
+
}), t$2.debug && R$5.log("updated", i$2);
|
|
120821
120821
|
}
|
|
120822
120822
|
const _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0;
|
|
120823
120823
|
typeof TextEncoder == "function" && new TextEncoder();
|
|
@@ -120842,22 +120842,28 @@ const b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
|
120842
120842
|
for (let Rt = 0; Rt < bt.length; )
|
|
120843
120843
|
pt = b64tab[bt.charAt(Rt++)] << 18 | b64tab[bt.charAt(Rt++)] << 12 | (_t = b64tab[bt.charAt(Rt++)]) << 6 | ($t = b64tab[bt.charAt(Rt++)]), vt += _t === 64 ? _fromCC(pt >> 16 & 255) : $t === 64 ? _fromCC(pt >> 16 & 255, pt >> 8 & 255) : _fromCC(pt >> 16 & 255, pt >> 8 & 255, pt & 255);
|
|
120844
120844
|
return vt;
|
|
120845
|
-
}, _atob = typeof atob == "function" ? (bt) => atob(_tidyB64(bt)) : _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("binary") : atobPolyfill, _toUint8Array = _hasBuffer ? (bt) => _U8Afrom(Buffer.from(bt, "base64")) : (bt) => _U8Afrom(_atob(bt).split("").map((pt) => pt.charCodeAt(0))), _decode = _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("utf8") : _TD ? (bt) => _TD.decode(_toUint8Array(bt)) : (bt) => btou(_atob(bt)), _unURI = (bt) => _tidyB64(bt.replace(/[-_]/g, (pt) => pt == "-" ? "+" : "/")), decode$2 = (bt) => _decode(_unURI(bt)),
|
|
120846
|
-
const pt =
|
|
120845
|
+
}, _atob = typeof atob == "function" ? (bt) => atob(_tidyB64(bt)) : _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("binary") : atobPolyfill, _toUint8Array = _hasBuffer ? (bt) => _U8Afrom(Buffer.from(bt, "base64")) : (bt) => _U8Afrom(_atob(bt).split("").map((pt) => pt.charCodeAt(0))), _decode = _hasBuffer ? (bt) => Buffer.from(bt, "base64").toString("utf8") : _TD ? (bt) => _TD.decode(_toUint8Array(bt)) : (bt) => btou(_atob(bt)), _unURI = (bt) => _tidyB64(bt.replace(/[-_]/g, (pt) => pt == "-" ? "+" : "/")), decode$2 = (bt) => _decode(_unURI(bt)), t$1 = (bt) => JSON.parse(decode$2(bt.split(".")[1])), w$3 = (bt) => {
|
|
120846
|
+
const pt = t$1(bt).exp;
|
|
120847
120847
|
return (/* @__PURE__ */ new Date()).valueOf() / 1e3 >= pt;
|
|
120848
|
-
},
|
|
120849
|
-
|
|
120848
|
+
}, f$4 = (bt) => bt == null ? void 0 : bt.replace(/[\r\n]+/gm, ""), T$2 = (bt) => bt.replace(/\\|\\/g, ""), g$4 = (bt, pt, vt, _t) => {
|
|
120849
|
+
if (bt !== !0)
|
|
120850
|
+
return null;
|
|
120851
|
+
const $t = (pt == null ? void 0 : pt.includeUserQuestion) === !0, Rt = (pt == null ? void 0 : pt.includeAiAnswer) === !0 || !$t, Ft = [];
|
|
120852
|
+
return $t && Ft.push(`用户问题:${_t}`), Rt && Ft.push(`AI回答:${vt}`), Ft.join(`
|
|
120853
|
+
`);
|
|
120854
|
+
};
|
|
120855
|
+
var d$3 = Object.defineProperty, h$3 = Object.defineProperties, x$3 = Object.getOwnPropertyDescriptors, c$2 = Object.getOwnPropertySymbols, E$3 = Object.prototype.hasOwnProperty, I$4 = Object.prototype.propertyIsEnumerable, a$2 = (bt, pt, vt) => pt in bt ? d$3(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$3 = (bt, pt) => {
|
|
120850
120856
|
for (var vt in pt || (pt = {}))
|
|
120851
120857
|
E$3.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
120852
|
-
if (c$
|
|
120853
|
-
for (var vt of c$
|
|
120858
|
+
if (c$2)
|
|
120859
|
+
for (var vt of c$2(pt))
|
|
120854
120860
|
I$4.call(pt, vt) && a$2(bt, vt, pt[vt]);
|
|
120855
120861
|
return bt;
|
|
120856
|
-
}, p$5 = (bt, pt) => h$
|
|
120862
|
+
}, p$5 = (bt, pt) => h$3(bt, x$3(pt));
|
|
120857
120863
|
function z(bt, pt, vt) {
|
|
120858
120864
|
const _t = (Bt) => {
|
|
120859
120865
|
var qt;
|
|
120860
|
-
return pt && (
|
|
120866
|
+
return pt && (w$3(pt) && vt(403, "aiotToken is timeout"), Bt.headers = (qt = Bt.headers) != null ? qt : {}, Bt.headers = p$5(f$3({}, Bt.headers), {
|
|
120861
120867
|
Authorization: pt ? `Bearer ${pt}` : ""
|
|
120862
120868
|
})), Bt;
|
|
120863
120869
|
};
|
|
@@ -123191,18 +123197,18 @@ Object.assign(lookup, {
|
|
|
123191
123197
|
io: lookup,
|
|
123192
123198
|
connect: lookup
|
|
123193
123199
|
});
|
|
123194
|
-
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$4 = Object.defineProperty, v$
|
|
123200
|
+
var r$1 = /* @__PURE__ */ ((bt) => (bt[bt.Normal = 0] = "Normal", bt[bt.Debug = 1] = "Debug", bt))(r$1 || {}), u$4 = Object.defineProperty, v$1 = Object.getOwnPropertySymbols, o$1 = Object.prototype.hasOwnProperty, L$1 = Object.prototype.propertyIsEnumerable, l$2 = (bt, pt, vt) => pt in bt ? u$4(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, a$1 = (bt, pt) => {
|
|
123195
123201
|
for (var vt in pt || (pt = {}))
|
|
123196
123202
|
o$1.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123197
|
-
if (v$
|
|
123198
|
-
for (var vt of v$
|
|
123203
|
+
if (v$1)
|
|
123204
|
+
for (var vt of v$1(pt))
|
|
123199
123205
|
L$1.call(pt, vt) && l$2(bt, vt, pt[vt]);
|
|
123200
123206
|
return bt;
|
|
123201
|
-
}, h$
|
|
123202
|
-
const i$1 = new t$
|
|
123207
|
+
}, h$2 = (bt, pt, vt) => (l$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt);
|
|
123208
|
+
const i$1 = new t$2("[EventBus] ");
|
|
123203
123209
|
let $$1 = class {
|
|
123204
123210
|
constructor(pt = !1) {
|
|
123205
|
-
h$
|
|
123211
|
+
h$2(this, "eventListenerMap", {}), pt && i$1.disable();
|
|
123206
123212
|
}
|
|
123207
123213
|
getEventListenerMap() {
|
|
123208
123214
|
return a$1({}, this.eventListenerMap);
|
|
@@ -123244,14 +123250,14 @@ let $$1 = class {
|
|
|
123244
123250
|
this.eventListenerMap = {};
|
|
123245
123251
|
}
|
|
123246
123252
|
};
|
|
123247
|
-
var
|
|
123253
|
+
var C = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOwnPropertyDescriptors, E$2 = Object.getOwnPropertySymbols, R$4 = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable, b$5 = (bt, pt, vt) => pt in bt ? C(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, f$2 = (bt, pt) => {
|
|
123248
123254
|
for (var vt in pt || (pt = {}))
|
|
123249
|
-
|
|
123255
|
+
R$4.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123250
123256
|
if (E$2)
|
|
123251
123257
|
for (var vt of E$2(pt))
|
|
123252
|
-
|
|
123258
|
+
O.call(pt, vt) && b$5(bt, vt, pt[vt]);
|
|
123253
123259
|
return bt;
|
|
123254
|
-
}, I$3 = (bt, pt) => T$1(bt, M$1(pt)), p$4 = (bt, pt, vt) => (b$5(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt),
|
|
123260
|
+
}, I$3 = (bt, pt) => T$1(bt, M$1(pt)), p$4 = (bt, pt, vt) => (b$5(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), c$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
123255
123261
|
var Rt = (Bt) => {
|
|
123256
123262
|
try {
|
|
123257
123263
|
Pt(vt.next(Bt));
|
|
@@ -123267,9 +123273,9 @@ var Q = Object.defineProperty, T$1 = Object.defineProperties, M$1 = Object.getOw
|
|
|
123267
123273
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123268
123274
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123269
123275
|
});
|
|
123270
|
-
const
|
|
123271
|
-
var
|
|
123272
|
-
class
|
|
123276
|
+
const V = 100, u$3 = new t$2("[Session] ");
|
|
123277
|
+
var Y = /* @__PURE__ */ ((bt) => (bt.DataRequestFailed = "data request error", bt.SocketConnectionFailed = "socket error", bt.IdUndefined = "session id is not defined", bt.SendingEmptyContent = "failed at sending empty content", bt.Frozen = "session is frozen", bt.UserModeError = "failed at setting socket user mode", bt.Inactive = "session is inactive", bt))(Y || {});
|
|
123278
|
+
class te {
|
|
123273
123279
|
/**
|
|
123274
123280
|
* Session 类的构造函数,用于初始化会话实例。
|
|
123275
123281
|
* @param token - 用户的身份验证令牌,用于解析应用 ID。
|
|
@@ -123280,19 +123286,19 @@ class ee {
|
|
|
123280
123286
|
* @param client - Bot 客户端实例,可选参数。
|
|
123281
123287
|
*/
|
|
123282
123288
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
123283
|
-
p$4(this, "_id"), p$4(this, "_frozen", !1), p$4(this, "inactivating", !1), p$4(this, "_ready", !1), p$4(this, "event", new $$1()), p$4(this, "_applicationId"), p$4(this, "_application", null), p$4(this, "data", null), p$4(this, "client", null), p$4(this, "messages", []), p$4(this, "_loadingMessages", !1), p$4(this, "_loadingMessagesSize", 10), p$4(this, "cvforceApi"), p$4(this, "socket", null), p$4(this, "_promptVariables", []), p$4(this, "active", !1), p$4(this, "activing", !1), p$4(this, "_stopAnswer", !1), p$4(this, "_dataLoading", !1), p$4(this, "_dataLoaded", !1), p$4(this, "_mcpServers", null), this.token = pt, this.lazyload = $t, this.client = Ft || null, this._applicationId =
|
|
123289
|
+
p$4(this, "_id"), p$4(this, "_frozen", !1), p$4(this, "inactivating", !1), p$4(this, "_ready", !1), p$4(this, "event", new $$1()), p$4(this, "_applicationId"), p$4(this, "_application", null), p$4(this, "data", null), p$4(this, "client", null), p$4(this, "messages", []), p$4(this, "_loadingMessages", !1), p$4(this, "_loadingMessagesSize", 10), p$4(this, "cvforceApi"), p$4(this, "socket", null), p$4(this, "_promptVariables", []), p$4(this, "active", !1), p$4(this, "activing", !1), p$4(this, "_stopAnswer", !1), p$4(this, "_dataLoading", !1), p$4(this, "_dataLoaded", !1), p$4(this, "_mcpServers", null), this.token = pt, this.lazyload = $t, this.client = Ft || null, this._applicationId = t$1(pt).rid || i$2.applicationId, this.cvforceApi = this.getService(), Rt && (this._application = Rt), this.event.emit("init", {
|
|
123284
123290
|
applicationId: this._applicationId,
|
|
123285
123291
|
sessionId: vt
|
|
123286
123292
|
}), this.loadApplicationInfo().then(() => {
|
|
123287
123293
|
var Pt;
|
|
123288
123294
|
if (vt)
|
|
123289
|
-
this._id = vt, this.event.emit("data:loading"), _t ? (this.data = _t, $t || (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) =>
|
|
123295
|
+
this._id = vt, this.event.emit("data:loading"), _t ? (this.data = _t, $t || (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) => c$1(this, null, function* () {
|
|
123290
123296
|
this.data = Bt, this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, vt);
|
|
123291
|
-
})).then(() =>
|
|
123297
|
+
})).then(() => c$1(this, null, function* () {
|
|
123292
123298
|
this.messages = [], yield this.fetchMessages(), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data);
|
|
123293
|
-
})))) : (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) =>
|
|
123299
|
+
})))) : (this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, vt).then((Bt) => c$1(this, null, function* () {
|
|
123294
123300
|
this.data = Bt, this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, vt);
|
|
123295
|
-
})).then(() =>
|
|
123301
|
+
})).then(() => c$1(this, null, function* () {
|
|
123296
123302
|
this.messages = [], yield this.fetchMessages(), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), this._dataLoading = !1, this._dataLoaded = !0;
|
|
123297
123303
|
})));
|
|
123298
123304
|
else {
|
|
@@ -123306,13 +123312,13 @@ class ee {
|
|
|
123306
123312
|
netOpen: _t == null ? void 0 : _t.netOpen,
|
|
123307
123313
|
knowledgeIdList: (Pt = _t == null ? void 0 : _t.knowledges) == null ? void 0 : Pt.map((qt) => qt.id),
|
|
123308
123314
|
applicationId: this._applicationId
|
|
123309
|
-
}).then((qt) =>
|
|
123315
|
+
}).then((qt) => c$1(this, null, function* () {
|
|
123310
123316
|
var Ht;
|
|
123311
123317
|
this._id = qt.id, this.data = I$3(f$2({}, qt), {
|
|
123312
123318
|
knowledges: _t == null ? void 0 : _t.knowledges
|
|
123313
123319
|
}), this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id);
|
|
123314
123320
|
try {
|
|
123315
|
-
yield (() =>
|
|
123321
|
+
yield (() => c$1(this, null, function* () {
|
|
123316
123322
|
if (_t != null && _t.knowledges)
|
|
123317
123323
|
return this.setKnowledges((_t == null ? void 0 : _t.knowledges) || void 0);
|
|
123318
123324
|
}))();
|
|
@@ -123331,16 +123337,16 @@ class ee {
|
|
|
123331
123337
|
return this.setPromptVariables(Gt || []);
|
|
123332
123338
|
} else
|
|
123333
123339
|
return;
|
|
123334
|
-
})(), this.event.emit("data:created", this.data), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), ((Ht = this.application) == null ? void 0 : Ht.type) !== i$
|
|
123340
|
+
})(), this.event.emit("data:created", this.data), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), ((Ht = this.application) == null ? void 0 : Ht.type) !== i$6.Agent && (this._ready = !0, this.event.emit("ready"));
|
|
123335
123341
|
}));
|
|
123336
123342
|
}
|
|
123337
123343
|
});
|
|
123338
123344
|
}
|
|
123339
123345
|
fetchData() {
|
|
123340
|
-
return
|
|
123346
|
+
return c$1(this, null, function* () {
|
|
123341
123347
|
if (!this.data)
|
|
123342
123348
|
throw Error("session data is not loaded");
|
|
123343
|
-
return yield this.cvforceApi.getSession(this.applicationId, this.data.id).then((pt) =>
|
|
123349
|
+
return yield this.cvforceApi.getSession(this.applicationId, this.data.id).then((pt) => c$1(this, null, function* () {
|
|
123344
123350
|
return this.data = pt, this.event.emit("data:updated", this.data), pt;
|
|
123345
123351
|
}));
|
|
123346
123352
|
});
|
|
@@ -123380,7 +123386,7 @@ class ee {
|
|
|
123380
123386
|
return this.data.knowledges || void 0;
|
|
123381
123387
|
}
|
|
123382
123388
|
setKnowledges(pt) {
|
|
123383
|
-
return
|
|
123389
|
+
return c$1(this, null, function* () {
|
|
123384
123390
|
if (!this.data)
|
|
123385
123391
|
throw Error("session data is not loaded");
|
|
123386
123392
|
if ((pt || []).some((vt) => Array.isArray(vt.fileIds) && vt.fileIds.length === 0))
|
|
@@ -123389,8 +123395,8 @@ class ee {
|
|
|
123389
123395
|
var $t, Rt;
|
|
123390
123396
|
const Ft = (Rt = ($t = _t.fileIds) == null ? void 0 : $t.length) != null ? Rt : 0;
|
|
123391
123397
|
return vt + (Ft > 0 ? Ft : 1);
|
|
123392
|
-
}, 0) >
|
|
123393
|
-
throw Error(`knowledges and fileIds total count cannot exceed ${
|
|
123398
|
+
}, 0) > V)
|
|
123399
|
+
throw Error(`knowledges and fileIds total count cannot exceed ${V}`);
|
|
123394
123400
|
return yield this.cvforceApi.patchSessionsId(this._applicationId, this.data.id, {
|
|
123395
123401
|
knowledges: pt
|
|
123396
123402
|
}), this.data.knowledges = pt, this.event.emit("data:updated", this.data), this.event.emit("data:updated:knowledges", {
|
|
@@ -123411,7 +123417,7 @@ class ee {
|
|
|
123411
123417
|
return this._promptVariables.filter((pt) => !(pt.type === k$5.User && pt.key === "query") && !(pt.type === k$5.System && pt.key === "datetime"));
|
|
123412
123418
|
}
|
|
123413
123419
|
setPromptVariables(pt) {
|
|
123414
|
-
return
|
|
123420
|
+
return c$1(this, null, function* () {
|
|
123415
123421
|
const vt = pt == null ? void 0 : pt.map(($t) => $t.type ? $t : I$3(f$2({}, $t), {
|
|
123416
123422
|
type: "instruction"
|
|
123417
123423
|
})), _t = this._promptVariables.map(($t) => {
|
|
@@ -123448,9 +123454,9 @@ class ee {
|
|
|
123448
123454
|
* @returns 如果设置成功,返回最终的网络访问开关状态;若不满足设置条件,则提前返回 undefined
|
|
123449
123455
|
*/
|
|
123450
123456
|
setNetOpen(pt) {
|
|
123451
|
-
return
|
|
123457
|
+
return c$1(this, null, function* () {
|
|
123452
123458
|
var vt, _t, $t;
|
|
123453
|
-
if (u$3.log("setNetOpen:", pt), u$3.log("application arrange setting value: ", (vt = this._application) == null ? void 0 : vt.arrange[0].enableNetOpen), ((_t = this._application) == null ? void 0 : _t.type) === i$
|
|
123459
|
+
if (u$3.log("setNetOpen:", pt), u$3.log("application arrange setting value: ", (vt = this._application) == null ? void 0 : vt.arrange[0].enableNetOpen), ((_t = this._application) == null ? void 0 : _t.type) === i$6.Agent) {
|
|
123454
123460
|
console.warn("Agent Application Sessions are disabled to setNetOpen.");
|
|
123455
123461
|
return;
|
|
123456
123462
|
}
|
|
@@ -123469,7 +123475,7 @@ class ee {
|
|
|
123469
123475
|
});
|
|
123470
123476
|
}
|
|
123471
123477
|
getService() {
|
|
123472
|
-
return z(i$
|
|
123478
|
+
return z(i$2.apiRoot, this.token, (pt, vt) => {
|
|
123473
123479
|
const _t = new Error("data request error", {
|
|
123474
123480
|
cause: {
|
|
123475
123481
|
status: pt,
|
|
@@ -123497,7 +123503,7 @@ class ee {
|
|
|
123497
123503
|
* @returns Promise<false|Message[]>
|
|
123498
123504
|
*/
|
|
123499
123505
|
fetchMessages() {
|
|
123500
|
-
return
|
|
123506
|
+
return c$1(this, arguments, function* (pt = {}) {
|
|
123501
123507
|
var vt, _t;
|
|
123502
123508
|
const $t = {
|
|
123503
123509
|
pageSize: this._loadingMessagesSize
|
|
@@ -123541,7 +123547,7 @@ class ee {
|
|
|
123541
123547
|
});
|
|
123542
123548
|
}
|
|
123543
123549
|
rename(pt) {
|
|
123544
|
-
return
|
|
123550
|
+
return c$1(this, null, function* () {
|
|
123545
123551
|
if (!this._id)
|
|
123546
123552
|
throw Error("session is not created yet");
|
|
123547
123553
|
if (pt.trim() === "")
|
|
@@ -123554,28 +123560,28 @@ class ee {
|
|
|
123554
123560
|
});
|
|
123555
123561
|
}
|
|
123556
123562
|
pushMessage(pt) {
|
|
123557
|
-
return
|
|
123563
|
+
return c$1(this, null, function* () {
|
|
123558
123564
|
this.messages.push(pt), u$3.log("history:add", pt), this.event.emit("history:add", pt), this.event.emit("message:new", pt), this.event.emit("message:updated", pt);
|
|
123559
123565
|
});
|
|
123560
123566
|
}
|
|
123561
123567
|
reloadSessionInfo() {
|
|
123562
123568
|
if (!this._id)
|
|
123563
123569
|
throw Error("session is not created yet");
|
|
123564
|
-
return this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, this._id).then((pt) =>
|
|
123570
|
+
return this._dataLoading = !0, this.cvforceApi.getSession(this.applicationId, this._id).then((pt) => c$1(this, null, function* () {
|
|
123565
123571
|
if (this.data = pt, !this._id)
|
|
123566
123572
|
throw Error("session is not created yet");
|
|
123567
123573
|
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, this._id), u$3.log("data:updated", this.data), this.event.emit("data:updated", this.data), this.data;
|
|
123568
|
-
})).then(() =>
|
|
123574
|
+
})).then(() => c$1(this, null, function* () {
|
|
123569
123575
|
return this.messages = [], yield this.fetchMessages(), this._dataLoading = !1, this._dataLoaded = !0, this.event.emit("data:loaded", this.data), this;
|
|
123570
123576
|
}));
|
|
123571
123577
|
}
|
|
123572
123578
|
reload() {
|
|
123573
|
-
return
|
|
123579
|
+
return c$1(this, null, function* () {
|
|
123574
123580
|
return yield this.reloadSessionInfo(), this.socket ? (this.inactivate(!0), this.activate()) : (this.inactivate(!0), this.activate());
|
|
123575
123581
|
});
|
|
123576
123582
|
}
|
|
123577
123583
|
delete() {
|
|
123578
|
-
return
|
|
123584
|
+
return c$1(this, null, function* () {
|
|
123579
123585
|
if (!this.id) {
|
|
123580
123586
|
const pt = new Error(
|
|
123581
123587
|
"session id is not defined"
|
|
@@ -123590,7 +123596,7 @@ class ee {
|
|
|
123590
123596
|
});
|
|
123591
123597
|
}
|
|
123592
123598
|
activate() {
|
|
123593
|
-
return
|
|
123599
|
+
return c$1(this, null, function* () {
|
|
123594
123600
|
if (this.activing)
|
|
123595
123601
|
return new Promise((vt) => {
|
|
123596
123602
|
this.addEventListener("activated", () => {
|
|
@@ -123601,7 +123607,7 @@ class ee {
|
|
|
123601
123607
|
throw Error("session is not avalible. id is undefined");
|
|
123602
123608
|
this.activing = !0;
|
|
123603
123609
|
const pt = this._id;
|
|
123604
|
-
return this._dataLoading = !0, this._dataLoaded = !1, this.data = yield this.cvforceApi.getSession(this.applicationId, pt).then((vt) =>
|
|
123610
|
+
return this._dataLoading = !0, this._dataLoaded = !1, this.data = yield this.cvforceApi.getSession(this.applicationId, pt).then((vt) => c$1(this, null, function* () {
|
|
123605
123611
|
return this._promptVariables = yield this.cvforceApi.getApplicationIdSessionIdPromptVariables(this.applicationId, pt), vt;
|
|
123606
123612
|
})), this.messages.length || (this.messages = [], yield this.fetchMessages()), this.event.emit("data:loaded", this.data), this.event.emit("data:updated", this.data), this._dataLoaded = !0, this._dataLoading = !1, this.inactivating = !1, this.frozen = !0, yield this.prepareConnection(), this.event.emit("activated", this.socket), this.active = !0, this.activing = !1, this;
|
|
123607
123613
|
});
|
|
@@ -123618,8 +123624,8 @@ class ee {
|
|
|
123618
123624
|
return this._loadingMessages;
|
|
123619
123625
|
}
|
|
123620
123626
|
send(pt) {
|
|
123621
|
-
return
|
|
123622
|
-
stream: i$
|
|
123627
|
+
return c$1(this, arguments, function* (vt, _t = {
|
|
123628
|
+
stream: i$2.stream
|
|
123623
123629
|
}) {
|
|
123624
123630
|
var $t;
|
|
123625
123631
|
try {
|
|
@@ -123628,7 +123634,7 @@ class ee {
|
|
|
123628
123634
|
console.error(rr);
|
|
123629
123635
|
}
|
|
123630
123636
|
const {
|
|
123631
|
-
stream: Rt = i$
|
|
123637
|
+
stream: Rt = i$2.stream,
|
|
123632
123638
|
referenceFirst: Ft = !1
|
|
123633
123639
|
} = _t, Pt = vt.uuid || v4$1(), Bt = (($t = vt.text) == null ? void 0 : $t.trim()) || "", qt = vt.files || [], Ht = vt.fileIds, Gt = vt.imageContent;
|
|
123634
123640
|
if (!Bt && !qt.length && !(Ht != null && Ht.length)) {
|
|
@@ -123681,8 +123687,8 @@ class ee {
|
|
|
123681
123687
|
imageContent: Gt
|
|
123682
123688
|
};
|
|
123683
123689
|
this.pushMessage(Zt), this.event.emit("question:content", Bt);
|
|
123684
|
-
const Kt = (rr) =>
|
|
123685
|
-
if (rr.role !== v$
|
|
123690
|
+
const Kt = (rr) => c$1(this, null, function* () {
|
|
123691
|
+
if (rr.role !== v$4.Robot)
|
|
123686
123692
|
return;
|
|
123687
123693
|
switch (this.removeEventListener("answer:finish", Kt), this._id && rr.content && rr.index && rr.index < 0 && (this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123688
123694
|
finialMessage: rr.content
|
|
@@ -123703,7 +123709,7 @@ class ee {
|
|
|
123703
123709
|
}
|
|
123704
123710
|
this.getRelatedQuesion(rr), rr.isLoading = !1;
|
|
123705
123711
|
let ir = this.messages[this.messages.length - 1];
|
|
123706
|
-
if (ir && ir.role === v$
|
|
123712
|
+
if (ir && ir.role === v$4.Robot) {
|
|
123707
123713
|
const sr = f$2(f$2({}, ir), rr);
|
|
123708
123714
|
this.messages[this.messages.length - 1] = sr, this.event.emit("message:updated", sr);
|
|
123709
123715
|
} else
|
|
@@ -123716,39 +123722,50 @@ class ee {
|
|
|
123716
123722
|
})), Zt;
|
|
123717
123723
|
});
|
|
123718
123724
|
}
|
|
123725
|
+
currentUserQuestion() {
|
|
123726
|
+
for (let pt = this.messages.length - 1; pt >= 0; pt -= 1) {
|
|
123727
|
+
const vt = this.messages[pt];
|
|
123728
|
+
if (vt.role === v$4.User)
|
|
123729
|
+
return vt.content || "";
|
|
123730
|
+
}
|
|
123731
|
+
return "";
|
|
123732
|
+
}
|
|
123719
123733
|
getRelatedQuesion(pt) {
|
|
123720
|
-
return
|
|
123734
|
+
return c$1(this, null, function* () {
|
|
123721
123735
|
var vt, _t;
|
|
123722
|
-
if (!pt.content || pt.isSensitive || pt.code !== 200
|
|
123736
|
+
if (!pt.content || pt.isSensitive || pt.code !== 200)
|
|
123737
|
+
return pt;
|
|
123738
|
+
const $t = (vt = this.application) == null ? void 0 : vt.arrange[0], Rt = g$4($t == null ? void 0 : $t.recommendQuestionOpen, $t == null ? void 0 : $t.relatedQuestionApp, pt.content, this.currentUserQuestion());
|
|
123739
|
+
if (Rt === null)
|
|
123723
123740
|
return pt;
|
|
123724
123741
|
this.event.emit("message:relatedQuesion:loading", pt);
|
|
123725
|
-
const
|
|
123726
|
-
content:
|
|
123727
|
-
}).catch((
|
|
123728
|
-
if (
|
|
123729
|
-
const
|
|
123730
|
-
relatedQuesion:
|
|
123742
|
+
const Ft = yield this.cvforceApi.postGeneques({
|
|
123743
|
+
content: Rt
|
|
123744
|
+
}).catch((qt) => null);
|
|
123745
|
+
if (!Ft) {
|
|
123746
|
+
const qt = [], Ht = I$3(f$2({}, pt), {
|
|
123747
|
+
relatedQuesion: qt,
|
|
123731
123748
|
index: -3,
|
|
123732
123749
|
isLoading: !1
|
|
123733
123750
|
});
|
|
123734
123751
|
return this.event.emit("message:relatedQuesion:loaded", {
|
|
123735
|
-
relatedQuesion:
|
|
123736
|
-
}), this.event.emit("message:updated",
|
|
123752
|
+
relatedQuesion: qt
|
|
123753
|
+
}), this.event.emit("message:updated", Ht), Ht;
|
|
123737
123754
|
}
|
|
123738
|
-
const
|
|
123739
|
-
pt.relatedQuesion =
|
|
123740
|
-
const
|
|
123741
|
-
relatedQuesion:
|
|
123755
|
+
const Pt = (_t = Ft.content) == null ? void 0 : _t.split("*").map(f$4).map(T$2).filter((qt) => !!qt);
|
|
123756
|
+
pt.relatedQuesion = Pt, pt.index = -3, pt.isLoading = !1;
|
|
123757
|
+
const Bt = I$3(f$2({}, pt), {
|
|
123758
|
+
relatedQuesion: Pt,
|
|
123742
123759
|
index: -3,
|
|
123743
123760
|
isLoading: !1
|
|
123744
123761
|
});
|
|
123745
|
-
return this.event.emit("message:relatedQuesion:loaded",
|
|
123746
|
-
lastRelatedQuestion:
|
|
123747
|
-
}),
|
|
123762
|
+
return this.event.emit("message:relatedQuesion:loaded", Bt), this.event.emit("message:updated", Bt), this._id && this.cvforceApi.patchSessionsId(this._applicationId, this._id, {
|
|
123763
|
+
lastRelatedQuestion: Pt
|
|
123764
|
+
}), Bt;
|
|
123748
123765
|
});
|
|
123749
123766
|
}
|
|
123750
123767
|
fillMessageReference(pt) {
|
|
123751
|
-
return
|
|
123768
|
+
return c$1(this, null, function* () {
|
|
123752
123769
|
try {
|
|
123753
123770
|
const vt = yield Promise.all(pt.reference.map((_t) => this.cvforceApi.getKnowledgeIdFileId(_t.knowledgeId, _t.docId)));
|
|
123754
123771
|
pt.reference = pt.reference.map((_t, $t) => f$2(f$2({}, _t), vt[$t]));
|
|
@@ -123759,26 +123776,26 @@ class ee {
|
|
|
123759
123776
|
});
|
|
123760
123777
|
}
|
|
123761
123778
|
answerAgain() {
|
|
123762
|
-
return
|
|
123763
|
-
stream: i$
|
|
123779
|
+
return c$1(this, arguments, function* (pt = {
|
|
123780
|
+
stream: i$2.stream
|
|
123764
123781
|
}) {
|
|
123765
123782
|
const vt = this.messages[this.messages.length - 1];
|
|
123766
123783
|
if (!vt)
|
|
123767
123784
|
throw Error("message list is empty");
|
|
123768
123785
|
this.frozen = !0, this._stopAnswer = !1;
|
|
123769
123786
|
const {
|
|
123770
|
-
stream: _t = i$
|
|
123787
|
+
stream: _t = i$2.stream
|
|
123771
123788
|
} = pt;
|
|
123772
123789
|
let $t;
|
|
123773
|
-
vt.role !== v$
|
|
123790
|
+
vt.role !== v$4.User && ($t = pt.oldMessageId || vt.messageId, this.messages.splice(this.messages.length - 1, 1), this.event.emit("message:remove", vt), this.event.emit("history:remove", vt));
|
|
123774
123791
|
const Rt = this.messages[this.messages.length - 1], Ft = {
|
|
123775
123792
|
content: Rt.content,
|
|
123776
123793
|
fileIds: Rt.fileIds,
|
|
123777
123794
|
requestId: Rt.messageId,
|
|
123778
123795
|
stream: _t,
|
|
123779
123796
|
oldMessageId: $t
|
|
123780
|
-
}, Pt = (Bt) =>
|
|
123781
|
-
if (Bt.role === v$
|
|
123797
|
+
}, Pt = (Bt) => c$1(this, null, function* () {
|
|
123798
|
+
if (Bt.role === v$4.Robot && Bt.index === -1) {
|
|
123782
123799
|
switch (this._id && Bt.content && Bt.index && Bt.index < 0 && (this.data = yield this.cvforceApi.patchSessionsId(this.applicationId, this._id, {
|
|
123783
123800
|
finialMessage: Bt.content
|
|
123784
123801
|
}), this.event.emit("data:updated", this.data), this.event.emit("data:updated:finialMessage", {
|
|
@@ -123805,7 +123822,7 @@ class ee {
|
|
|
123805
123822
|
});
|
|
123806
123823
|
}
|
|
123807
123824
|
setTop(pt) {
|
|
123808
|
-
return
|
|
123825
|
+
return c$1(this, null, function* () {
|
|
123809
123826
|
if (!this._id)
|
|
123810
123827
|
throw Error("session is not avalible. id is undefined");
|
|
123811
123828
|
this.data = yield this.cvforceApi.patchSessionsId(this._applicationId, this._id, {
|
|
@@ -123836,7 +123853,7 @@ class ee {
|
|
|
123836
123853
|
// 消息时间
|
|
123837
123854
|
content: "",
|
|
123838
123855
|
// 消息内容
|
|
123839
|
-
role: v$
|
|
123856
|
+
role: v$4.System,
|
|
123840
123857
|
// 消息角色为系统消息
|
|
123841
123858
|
sessionId: this.id || "",
|
|
123842
123859
|
// 会话 ID
|
|
@@ -123927,7 +123944,7 @@ class ee {
|
|
|
123927
123944
|
* @returns 返回调用 API 提交评论后的响应结果
|
|
123928
123945
|
*/
|
|
123929
123946
|
postMessageComment(pt) {
|
|
123930
|
-
return
|
|
123947
|
+
return c$1(this, null, function* () {
|
|
123931
123948
|
if (!this._applicationId || !this._id)
|
|
123932
123949
|
throw Error("session is not avalible. id is undefined");
|
|
123933
123950
|
return this.cvforceApi.postComments(this._applicationId, this._id, pt).then((vt) => {
|
|
@@ -123981,8 +123998,8 @@ var b$4 = Object.defineProperty, T = Object.defineProperties, x$2 = Object.getOw
|
|
|
123981
123998
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
123982
123999
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
123983
124000
|
});
|
|
123984
|
-
const u$2 = new t$
|
|
123985
|
-
let K$1 = class extends
|
|
124001
|
+
const u$2 = new t$2("[AgentSession] ");
|
|
124002
|
+
let K$1 = class extends te {
|
|
123986
124003
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
123987
124004
|
super(pt, vt, _t, $t, Rt, Ft);
|
|
123988
124005
|
}
|
|
@@ -123991,12 +124008,12 @@ let K$1 = class extends ee {
|
|
|
123991
124008
|
this.socket && pt(!0);
|
|
123992
124009
|
const vt = {
|
|
123993
124010
|
version: "1.0",
|
|
123994
|
-
stream: JSON.stringify(i$
|
|
124011
|
+
stream: JSON.stringify(i$2.stream),
|
|
123995
124012
|
appId: this._applicationId,
|
|
123996
124013
|
sessionId: this.id,
|
|
123997
124014
|
Authorization: `${this.token}`,
|
|
123998
|
-
userMode: i$
|
|
123999
|
-
}, _t = new URL(i$
|
|
124015
|
+
userMode: i$2.debug ? r$1.Debug : r$1.Normal
|
|
124016
|
+
}, _t = new URL(i$2.apiRoot), $t = yield lookup(_t.origin, {
|
|
124000
124017
|
path: _t.pathname.replace("api", "socketio") + "/copilot",
|
|
124001
124018
|
query: vt,
|
|
124002
124019
|
transports: ["websocket"]
|
|
@@ -124007,11 +124024,11 @@ let K$1 = class extends ee {
|
|
|
124007
124024
|
u$2.log("socket:disconnect"), this.event.emit("socket:disconnect"), this._ready = !1;
|
|
124008
124025
|
}), $t.on("ready", (Rt) => {
|
|
124009
124026
|
if (Rt.code === 200)
|
|
124010
|
-
u$2.log("ready"), (i$
|
|
124027
|
+
u$2.log("ready"), (i$2.debug ? r$1.Debug : r$1.Normal) === r$1.Debug && Rt.userMode, this._ready || (this._ready = !0, this.event.emit("ready")), this.frozen = !1, this.registerMcpFromClientConfig(), pt(!0);
|
|
124011
124028
|
else {
|
|
124012
124029
|
this._ready && (this._ready = !1);
|
|
124013
124030
|
const Ft = new Error(
|
|
124014
|
-
|
|
124031
|
+
Y.SocketConnectionFailed
|
|
124015
124032
|
// , {
|
|
124016
124033
|
// cause: data,
|
|
124017
124034
|
// }
|
|
@@ -124041,7 +124058,7 @@ let K$1 = class extends ee {
|
|
|
124041
124058
|
const rr = {
|
|
124042
124059
|
messageId: "",
|
|
124043
124060
|
content: "",
|
|
124044
|
-
role: v$
|
|
124061
|
+
role: v$4.Robot,
|
|
124045
124062
|
sessionId: this.id,
|
|
124046
124063
|
reference: [],
|
|
124047
124064
|
searchReference: [],
|
|
@@ -124060,7 +124077,7 @@ let K$1 = class extends ee {
|
|
|
124060
124077
|
}
|
|
124061
124078
|
if (this.inactivating) {
|
|
124062
124079
|
const rr = new Error(
|
|
124063
|
-
|
|
124080
|
+
Y.Inactive
|
|
124064
124081
|
// {
|
|
124065
124082
|
// cause: {
|
|
124066
124083
|
// code: -1,
|
|
@@ -124073,7 +124090,7 @@ let K$1 = class extends ee {
|
|
|
124073
124090
|
} else if (Bt === "FUNCTION_CALL" && qt) {
|
|
124074
124091
|
u$2.log(`calling function ${Gt} of plugin ${Ht} with argument:
|
|
124075
124092
|
${JSON.stringify(Zt)}`);
|
|
124076
|
-
const rr = (Pt = i$
|
|
124093
|
+
const rr = (Pt = i$2.plugins) == null ? void 0 : Pt[Ht];
|
|
124077
124094
|
if (!rr) {
|
|
124078
124095
|
Ft({
|
|
124079
124096
|
code: 404,
|
|
@@ -124102,12 +124119,12 @@ let K$1 = class extends ee {
|
|
|
124102
124119
|
if (!this._stopAnswer)
|
|
124103
124120
|
if (Rt.data.code !== 200 && (Rt.data.index = -1), Rt.data.stream || Rt.data.stream === void 0) {
|
|
124104
124121
|
let Ft = this.messages[this.messages.length - 1];
|
|
124105
|
-
if (Ft && Ft.role === v$
|
|
124122
|
+
if (Ft && Ft.role === v$4.Robot)
|
|
124106
124123
|
this.handleStreamAnswer(Rt.data, Ft), this.messages[this.messages.length - 1] = Ft, this.event.emit("message:content", Ft), this.event.emit("message:updated", Ft), Ft.index === -1 && (Ft.isReplying = !1, this.event.emit("answer:finish", Ft));
|
|
124107
124124
|
else {
|
|
124108
124125
|
const Pt = {
|
|
124109
124126
|
content: "",
|
|
124110
|
-
role: v$
|
|
124127
|
+
role: v$4.Robot,
|
|
124111
124128
|
reference: [],
|
|
124112
124129
|
searchReference: [],
|
|
124113
124130
|
messageId: "",
|
|
@@ -124137,7 +124154,7 @@ let K$1 = class extends ee {
|
|
|
124137
124154
|
const Pt = d$2({
|
|
124138
124155
|
messageId: "",
|
|
124139
124156
|
content: "",
|
|
124140
|
-
role: v$
|
|
124157
|
+
role: v$4.Robot,
|
|
124141
124158
|
sessionId: this.id,
|
|
124142
124159
|
reference: [],
|
|
124143
124160
|
searchReference: [],
|
|
@@ -124156,7 +124173,7 @@ let K$1 = class extends ee {
|
|
|
124156
124173
|
Ft && !Ft.messageId ? (Ft = d$2(d$2({}, Ft), Rt.data), this.messages[this.messages.length - 1] = Ft, this.event.emit("message:content", Ft), this.event.emit("message:updated", Ft)) : (this.pushMessage(d$2({
|
|
124157
124174
|
messageId: "",
|
|
124158
124175
|
content: "",
|
|
124159
|
-
role: v$
|
|
124176
|
+
role: v$4.Robot,
|
|
124160
124177
|
sessionId: this.id,
|
|
124161
124178
|
reference: [],
|
|
124162
124179
|
searchReference: [],
|
|
@@ -124174,7 +124191,7 @@ let K$1 = class extends ee {
|
|
|
124174
124191
|
return;
|
|
124175
124192
|
if (!this.id) {
|
|
124176
124193
|
const Gt = new Error(
|
|
124177
|
-
|
|
124194
|
+
Y.IdUndefined
|
|
124178
124195
|
// {
|
|
124179
124196
|
// cause: SESSION_ERROR_CAUSE[SessionErrors.IdUndefined],
|
|
124180
124197
|
// }
|
|
@@ -124186,7 +124203,7 @@ let K$1 = class extends ee {
|
|
|
124186
124203
|
type: Ft,
|
|
124187
124204
|
data: Pt,
|
|
124188
124205
|
requestId: Bt
|
|
124189
|
-
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$
|
|
124206
|
+
} = Rt, qt = this.messages.findIndex((Gt) => Gt.messageId === Bt && Gt.role === v$4.User);
|
|
124190
124207
|
if (qt < 0)
|
|
124191
124208
|
return;
|
|
124192
124209
|
const Ht = qt + 1;
|
|
@@ -124194,7 +124211,7 @@ let K$1 = class extends ee {
|
|
|
124194
124211
|
const Gt = {
|
|
124195
124212
|
messageId: "",
|
|
124196
124213
|
content: "",
|
|
124197
|
-
role: v$
|
|
124214
|
+
role: v$4.Robot,
|
|
124198
124215
|
sessionId: this.id,
|
|
124199
124216
|
reference: [],
|
|
124200
124217
|
searchReference: [],
|
|
@@ -124217,12 +124234,12 @@ let K$1 = class extends ee {
|
|
|
124217
124234
|
}));
|
|
124218
124235
|
}
|
|
124219
124236
|
registerMcpFromClientConfig() {
|
|
124220
|
-
return i$
|
|
124237
|
+
return i$2.mcp ? new Promise((pt, vt) => {
|
|
124221
124238
|
if (!this.socket) {
|
|
124222
124239
|
vt("socket is undefined");
|
|
124223
124240
|
return;
|
|
124224
124241
|
}
|
|
124225
|
-
this.socket.emit("add_mcp_servers", i$
|
|
124242
|
+
this.socket.emit("add_mcp_servers", i$2.mcp, (_t) => {
|
|
124226
124243
|
_t.code === 200 ? (Object.keys(_t.data).forEach(($t) => {
|
|
124227
124244
|
_t.data[$t].code !== 200 && console.error($t, "MCP Server 注册失败。", _t.data[$t]);
|
|
124228
124245
|
}), pt(!0)) : (console.error("MCP Server 注册失败。", _t), vt(_t));
|
|
@@ -124269,7 +124286,7 @@ let K$1 = class extends ee {
|
|
|
124269
124286
|
if (!this.active) {
|
|
124270
124287
|
if (yield this.activate(), !this.socket) {
|
|
124271
124288
|
const Pt = new Error(
|
|
124272
|
-
|
|
124289
|
+
Y.SocketConnectionFailed
|
|
124273
124290
|
// {
|
|
124274
124291
|
// cause: { code: -1, message: 'socket is null' },
|
|
124275
124292
|
// }
|
|
@@ -124345,11 +124362,11 @@ function g$3(bt) {
|
|
|
124345
124362
|
};
|
|
124346
124363
|
}
|
|
124347
124364
|
function k$3(bt, pt, vt) {
|
|
124348
|
-
let _t = y$
|
|
124365
|
+
let _t = y$2();
|
|
124349
124366
|
const $t = new TextDecoder();
|
|
124350
124367
|
return function(Rt, Ft, Pt) {
|
|
124351
124368
|
if (Rt.length === 0)
|
|
124352
|
-
vt == null || vt(_t), _t = y$
|
|
124369
|
+
vt == null || vt(_t), _t = y$2();
|
|
124353
124370
|
else if (Ft > 0) {
|
|
124354
124371
|
const Bt = $t.decode(Rt.subarray(0, Ft)), qt = Ft + (Rt[Ft + 1] === 32 ? 2 : 1);
|
|
124355
124372
|
let Ht = $t.decode(Rt.subarray(qt));
|
|
@@ -124377,7 +124394,7 @@ function h$1(bt, pt) {
|
|
|
124377
124394
|
const vt = new Uint8Array(bt.length + pt.length);
|
|
124378
124395
|
return vt.set(bt), vt.set(pt, bt.length), vt;
|
|
124379
124396
|
}
|
|
124380
|
-
function y$
|
|
124397
|
+
function y$2() {
|
|
124381
124398
|
return {
|
|
124382
124399
|
data: "",
|
|
124383
124400
|
event: "",
|
|
@@ -124385,19 +124402,19 @@ function y$1() {
|
|
|
124385
124402
|
retry: void 0
|
|
124386
124403
|
};
|
|
124387
124404
|
}
|
|
124388
|
-
var W$1 = Object.defineProperty, j = Object.defineProperties, k$2 = Object.getOwnPropertyDescriptors, v
|
|
124405
|
+
var W$1 = Object.defineProperty, j = Object.defineProperties, k$2 = Object.getOwnPropertyDescriptors, v = Object.getOwnPropertySymbols, A$2 = Object.prototype.hasOwnProperty, R$3 = Object.prototype.propertyIsEnumerable, I$2 = (bt, pt, vt) => pt in bt ? W$1(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, E = (bt, pt) => {
|
|
124389
124406
|
for (var vt in pt || (pt = {}))
|
|
124390
124407
|
A$2.call(pt, vt) && I$2(bt, vt, pt[vt]);
|
|
124391
|
-
if (v
|
|
124392
|
-
for (var vt of v
|
|
124408
|
+
if (v)
|
|
124409
|
+
for (var vt of v(pt))
|
|
124393
124410
|
R$3.call(pt, vt) && I$2(bt, vt, pt[vt]);
|
|
124394
124411
|
return bt;
|
|
124395
124412
|
}, $ = (bt, pt) => j(bt, k$2(pt)), q = (bt, pt) => {
|
|
124396
124413
|
var vt = {};
|
|
124397
124414
|
for (var _t in bt)
|
|
124398
124415
|
A$2.call(bt, _t) && pt.indexOf(_t) < 0 && (vt[_t] = bt[_t]);
|
|
124399
|
-
if (bt != null && v
|
|
124400
|
-
for (var _t of v
|
|
124416
|
+
if (bt != null && v)
|
|
124417
|
+
for (var _t of v(bt))
|
|
124401
124418
|
pt.indexOf(_t) < 0 && R$3.call(bt, _t) && (vt[_t] = bt[_t]);
|
|
124402
124419
|
return vt;
|
|
124403
124420
|
}, B = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -124493,7 +124510,7 @@ var I$1 = Object.defineProperty, A$1 = Object.defineProperties, P = Object.getOw
|
|
|
124493
124510
|
for (var vt of w(pt))
|
|
124494
124511
|
D.call(pt, vt) && R$2(bt, vt, pt[vt]);
|
|
124495
124512
|
return bt;
|
|
124496
|
-
}, y = (bt, pt) => A$1(bt, P(pt)), M = (bt, pt, vt) => (R$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), f$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124513
|
+
}, y$1 = (bt, pt) => A$1(bt, P(pt)), M = (bt, pt, vt) => (R$2(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), f$1 = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
124497
124514
|
var Rt = (Bt) => {
|
|
124498
124515
|
try {
|
|
124499
124516
|
Pt(vt.next(Bt));
|
|
@@ -124509,8 +124526,8 @@ var I$1 = Object.defineProperty, A$1 = Object.defineProperties, P = Object.getOw
|
|
|
124509
124526
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
124510
124527
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
124511
124528
|
});
|
|
124512
|
-
const p$2 = new t$
|
|
124513
|
-
let k$1 = class extends
|
|
124529
|
+
const p$2 = new t$2("[DialogSession] ");
|
|
124530
|
+
let k$1 = class extends te {
|
|
124514
124531
|
constructor(pt, vt = "", _t, $t, Rt, Ft) {
|
|
124515
124532
|
super(pt, vt, _t, $t, Rt, Ft), M(this, "ctrl", new AbortController());
|
|
124516
124533
|
}
|
|
@@ -124535,10 +124552,10 @@ let k$1 = class extends ee {
|
|
|
124535
124552
|
isAgree: 0
|
|
124536
124553
|
},
|
|
124537
124554
|
isReplying: !1
|
|
124538
|
-
}, Bt = y(u$1({}, _t), {
|
|
124539
|
-
stream: i$
|
|
124555
|
+
}, Bt = y$1(u$1({}, _t), {
|
|
124556
|
+
stream: i$2.stream
|
|
124540
124557
|
});
|
|
124541
|
-
X(`${i$
|
|
124558
|
+
X(`${i$2.apiRoot}/chat/v2/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124542
124559
|
method: "POST",
|
|
124543
124560
|
headers: {
|
|
124544
124561
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124637,10 +124654,10 @@ let k$1 = class extends ee {
|
|
|
124637
124654
|
thinkingSecs: "",
|
|
124638
124655
|
thinkingStatus: "",
|
|
124639
124656
|
searchingStatus: ""
|
|
124640
|
-
}, qt = y(u$1({}, _t), {
|
|
124641
|
-
stream: i$
|
|
124657
|
+
}, qt = y$1(u$1({}, _t), {
|
|
124658
|
+
stream: i$2.stream
|
|
124642
124659
|
});
|
|
124643
|
-
X(`${i$
|
|
124660
|
+
X(`${i$2.apiRoot}/chat/v3/chat?applicationId=${pt}&sessionId=${vt}`, {
|
|
124644
124661
|
method: "POST",
|
|
124645
124662
|
headers: {
|
|
124646
124663
|
Authorization: `Bearer ${this.token}`,
|
|
@@ -124672,7 +124689,7 @@ let k$1 = class extends ee {
|
|
|
124672
124689
|
Rt != null && Rt.onerror && Rt.onerror();
|
|
124673
124690
|
},
|
|
124674
124691
|
onclose() {
|
|
124675
|
-
const Ht = y(u$1({}, Bt), {
|
|
124692
|
+
const Ht = y$1(u$1({}, Bt), {
|
|
124676
124693
|
isReplying: !1
|
|
124677
124694
|
});
|
|
124678
124695
|
Rt != null && Rt.onclose && Rt.onclose(Ht);
|
|
@@ -124698,10 +124715,10 @@ let k$1 = class extends ee {
|
|
|
124698
124715
|
fileIds: $t,
|
|
124699
124716
|
referenceFirst: Bt,
|
|
124700
124717
|
oldMessageId: Rt,
|
|
124701
|
-
promptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.User).reduce((Gt, Zt) => y(u$1({}, Gt), {
|
|
124718
|
+
promptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.User).reduce((Gt, Zt) => y$1(u$1({}, Gt), {
|
|
124702
124719
|
[Zt.key]: Zt.value
|
|
124703
124720
|
}), {}),
|
|
124704
|
-
systemPromptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.System).reduce((Gt, Zt) => y(u$1({}, Gt), {
|
|
124721
|
+
systemPromptVariables: this.promptVariables.filter((Gt) => Gt.type === k$5.System).reduce((Gt, Zt) => y$1(u$1({}, Gt), {
|
|
124705
124722
|
[Zt.key]: Zt.value
|
|
124706
124723
|
}), {}),
|
|
124707
124724
|
knowledges: qt,
|
|
@@ -124717,7 +124734,7 @@ let k$1 = class extends ee {
|
|
|
124717
124734
|
if (this._stopAnswer)
|
|
124718
124735
|
return;
|
|
124719
124736
|
let Zt = this.messages[this.messages.length - 1];
|
|
124720
|
-
Zt && Zt.role === v$
|
|
124737
|
+
Zt && Zt.role === v$4.Robot ? (Zt = u$1(u$1({}, Zt), Gt), this.messages[this.messages.length - 1] = Zt, this.event.emit("message:content", Zt), this.event.emit("message:updated", Zt)) : (this.pushMessage(Gt), this.event.emit("message:content", Gt));
|
|
124721
124738
|
},
|
|
124722
124739
|
onclose: (Gt) => f$1(this, null, function* () {
|
|
124723
124740
|
this._stopAnswer || (p$2.log(Gt, "onclose"), this.event.emit("answer:finish", Gt));
|
|
@@ -124754,7 +124771,7 @@ let k$1 = class extends ee {
|
|
|
124754
124771
|
} : vt.id) : [];
|
|
124755
124772
|
}
|
|
124756
124773
|
};
|
|
124757
|
-
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0", i = "glodoncv", s = "aiot bot client js sdk", n = "module", o = [
|
|
124774
|
+
const e = "@glodon-aiot/bot-client-sdk", t = "3.25.1-alpha.0", i = "glodoncv", s = "aiot bot client js sdk", n = "module", o = [
|
|
124758
124775
|
"aiot",
|
|
124759
124776
|
"bot",
|
|
124760
124777
|
"bot client",
|
|
@@ -124815,7 +124832,7 @@ const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0", i = "glodoncv", s = "aiot
|
|
|
124815
124832
|
access: "public",
|
|
124816
124833
|
registry: "https://registry.npmjs.org/"
|
|
124817
124834
|
}, b$1 = {
|
|
124818
|
-
"@glodon-aiot/apis": "^3.25.0",
|
|
124835
|
+
"@glodon-aiot/apis": "^3.25.1-alpha.0",
|
|
124819
124836
|
axios: "0.24.0",
|
|
124820
124837
|
buffer: "^6.0.3",
|
|
124821
124838
|
dayjs: "^1.11.13",
|
|
@@ -124844,11 +124861,11 @@ const e = "@glodon-aiot/bot-client-sdk", t = "3.25.0", i = "glodoncv", s = "aiot
|
|
|
124844
124861
|
publishConfig: m$1,
|
|
124845
124862
|
dependencies: b$1
|
|
124846
124863
|
};
|
|
124847
|
-
var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPropertyDescriptors,
|
|
124864
|
+
var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPropertyDescriptors, y = Object.getOwnPropertySymbols, I = Object.prototype.hasOwnProperty, R$1 = Object.prototype.propertyIsEnumerable, g = (bt, pt, vt) => pt in bt ? k(bt, pt, { enumerable: !0, configurable: !0, writable: !0, value: vt }) : bt[pt] = vt, p = (bt, pt) => {
|
|
124848
124865
|
for (var vt in pt || (pt = {}))
|
|
124849
124866
|
I.call(pt, vt) && g(bt, vt, pt[vt]);
|
|
124850
|
-
if (
|
|
124851
|
-
for (var vt of
|
|
124867
|
+
if (y)
|
|
124868
|
+
for (var vt of y(pt))
|
|
124852
124869
|
R$1.call(pt, vt) && g(bt, vt, pt[vt]);
|
|
124853
124870
|
return bt;
|
|
124854
124871
|
}, f = (bt, pt) => A(bt, x(pt)), d = (bt, pt, vt) => (g(bt, typeof pt != "symbol" ? pt + "" : pt, vt), vt), l = (bt, pt, vt) => new Promise((_t, $t) => {
|
|
@@ -124867,18 +124884,18 @@ var k = Object.defineProperty, A = Object.defineProperties, x = Object.getOwnPro
|
|
|
124867
124884
|
}, Pt = (Bt) => Bt.done ? _t(Bt.value) : Promise.resolve(Bt.value).then(Rt, Ft);
|
|
124868
124885
|
Pt((vt = vt.apply(bt, pt)).next());
|
|
124869
124886
|
});
|
|
124870
|
-
const b = new t$
|
|
124887
|
+
const b = new t$2("[BotClient] ");
|
|
124871
124888
|
class W {
|
|
124872
124889
|
constructor(pt, vt, _t = !0, $t = {
|
|
124873
124890
|
analytics: {
|
|
124874
124891
|
enabled: !1
|
|
124875
124892
|
}
|
|
124876
124893
|
}) {
|
|
124877
|
-
if (d(this, "event", new $$1()), d(this, "cvforceApi"), d(this, "_applicationId"), d(this, "_application", null), d(this, "_sessions", []), d(this, "_activeSession"), d(this, "_ready", !1), d(this, "_questionContextMaxLength", 4e3), d(this, "_promptVariables", []), this._token = pt, this.lazyload = _t, this.sdkConfigs = $t, x$4(vt), this._applicationId =
|
|
124894
|
+
if (d(this, "event", new $$1()), d(this, "cvforceApi"), d(this, "_applicationId"), d(this, "_application", null), d(this, "_sessions", []), d(this, "_activeSession"), d(this, "_ready", !1), d(this, "_questionContextMaxLength", 4e3), d(this, "_promptVariables", []), this._token = pt, this.lazyload = _t, this.sdkConfigs = $t, x$4(vt), this._applicationId = t$1(pt).rid || i$2.applicationId, !this._applicationId)
|
|
124878
124895
|
throw "token is not vaild";
|
|
124879
124896
|
this.cvforceApi = this.getService(), this.loadApplication().then((Rt) => {
|
|
124880
124897
|
x$4(f(p({}, vt), {
|
|
124881
|
-
stream: vt.stream === void 0 ? (Rt == null ? void 0 : Rt.type) === i$
|
|
124898
|
+
stream: vt.stream === void 0 ? (Rt == null ? void 0 : Rt.type) === i$6.Dialog || (Rt == null ? void 0 : Rt.type) === i$6.Agent : vt.stream
|
|
124882
124899
|
})), this.event.emit("ready");
|
|
124883
124900
|
});
|
|
124884
124901
|
}
|
|
@@ -124919,9 +124936,9 @@ class W {
|
|
|
124919
124936
|
uiVersion: (vt = this.sdkConfigs.ui) == null ? void 0 : vt.version,
|
|
124920
124937
|
sdkVersion: x$1.version
|
|
124921
124938
|
}
|
|
124922
|
-
).then((Pt) => (typeof Pt.arrange[0].
|
|
124939
|
+
).then((Pt) => (typeof Pt.arrange[0].thinkingModeOpen != "boolean" && (Pt.arrange[0].thinkingModeOpen = !0), typeof Pt.arrange[0].thinkingTextOpen != "boolean" && (Pt.arrange[0].thinkingTextOpen = !0), f(p({}, Pt), {
|
|
124923
124940
|
arrange: [f(p({}, Pt.arrange[0]), {
|
|
124924
|
-
recommendQuestionOpen: i$
|
|
124941
|
+
recommendQuestionOpen: i$2.loadRelatedQuesions && Pt.arrange[0].recommendQuestionOpen
|
|
124925
124942
|
})]
|
|
124926
124943
|
})));
|
|
124927
124944
|
const Ft = (Rt = ($t = (_t = this._application) == null ? void 0 : _t.arrange) == null ? void 0 : $t[0]) == null ? void 0 : Rt.llmModel;
|
|
@@ -124933,14 +124950,14 @@ class W {
|
|
|
124933
124950
|
});
|
|
124934
124951
|
}
|
|
124935
124952
|
getService() {
|
|
124936
|
-
return this.cvforceApi ? this.cvforceApi : z(i$
|
|
124953
|
+
return this.cvforceApi ? this.cvforceApi : z(i$2.apiRoot, this.token, (pt, vt) => b.error(vt));
|
|
124937
124954
|
}
|
|
124938
124955
|
get token() {
|
|
124939
124956
|
return this._token;
|
|
124940
124957
|
}
|
|
124941
124958
|
set token(pt) {
|
|
124942
124959
|
this.checkReady(), this._token = pt, this.ready = !1;
|
|
124943
|
-
const vt =
|
|
124960
|
+
const vt = t$1(pt).rid;
|
|
124944
124961
|
this._applicationId !== vt && (this._applicationId = vt, this._application = null, this.loadApplication().then(() => {
|
|
124945
124962
|
this.event.emit("ready");
|
|
124946
124963
|
}), this.clean());
|
|
@@ -124965,9 +124982,9 @@ class W {
|
|
|
124965
124982
|
const Ft = this;
|
|
124966
124983
|
return new Promise((Pt, Bt) => {
|
|
124967
124984
|
const qt = (Ht) => l(this, null, function* () {
|
|
124968
|
-
if (Ht === i$
|
|
124985
|
+
if (Ht === i$6.Agent)
|
|
124969
124986
|
Pt(new K$1(pt, vt, _t, $t, Rt, Ft));
|
|
124970
|
-
else if (Ht === i$
|
|
124987
|
+
else if (Ht === i$6.Dialog)
|
|
124971
124988
|
Pt(new k$1(pt, vt, _t, $t, Rt, Ft));
|
|
124972
124989
|
else
|
|
124973
124990
|
throw Error(`不支持的应用类型:${Ht}`);
|
|
@@ -133763,10 +133780,10 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133763
133780
|
transform: Ft
|
|
133764
133781
|
} = reactExports.useContext(qM), Pt = () => zM(void 0, null, function* () {
|
|
133765
133782
|
return Rt ? yield Rt(_t.knowledgeId, _t.docId, _t.textId).catch((Ht) => (console.warn("查询参考文件页码失败,即将打开首页", Ht), 0)) : 0;
|
|
133766
|
-
}), Bt = _t.sourceType === t$
|
|
133783
|
+
}), Bt = _t.sourceType === t$4.WebLink && !!_t.webLink, qt = (
|
|
133767
133784
|
// data?.origin === IFileOrigin.AECPILOT ||
|
|
133768
|
-
_t.sourceType === t$
|
|
133769
|
-
(_t == null ? void 0 : _t.versionInfo) !== a$
|
|
133785
|
+
_t.sourceType === t$4.SourceFile && !!_t.sourceFileName && // data.sourceFileName 标识参考文件存在与否,不能使用其他字段判断
|
|
133786
|
+
(_t == null ? void 0 : _t.versionInfo) !== a$5.ProtectUnauthorize
|
|
133770
133787
|
);
|
|
133771
133788
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
133772
133789
|
className: "session-refer-panel",
|
|
@@ -133785,7 +133802,7 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133785
133802
|
}),
|
|
133786
133803
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, {
|
|
133787
133804
|
icon: /* @__PURE__ */ jsxRuntimeExports.jsx(nM, {
|
|
133788
|
-
type: _t.sourceType === t$
|
|
133805
|
+
type: _t.sourceType === t$4.WebLink ? "icon-lianjie" : "icon-doc-link",
|
|
133789
133806
|
style: {
|
|
133790
133807
|
fontSize: 16
|
|
133791
133808
|
}
|
|
@@ -133825,11 +133842,11 @@ const DD = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZX
|
|
|
133825
133842
|
service: qt
|
|
133826
133843
|
} = reactExports.useContext(qM), Ht = (Gt, Zt) => {
|
|
133827
133844
|
if (!(!(Gt != null && Gt.knowledgeId) || !(Gt != null && Gt.docId))) {
|
|
133828
|
-
if (Gt.sourceType === t$
|
|
133845
|
+
if (Gt.sourceType === t$4.WebLink) {
|
|
133829
133846
|
window.open(Gt.webLink);
|
|
133830
133847
|
return;
|
|
133831
133848
|
}
|
|
133832
|
-
Gt.sourceType === t$
|
|
133849
|
+
Gt.sourceType === t$4.SourceFile && window.open(`${Ft}?page=${Zt || 0}&url=${encodeURIComponent(Gt.sourceFileUrl)}`);
|
|
133833
133850
|
}
|
|
133834
133851
|
};
|
|
133835
133852
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
@@ -134470,12 +134487,12 @@ const xg = (bt) => {
|
|
|
134470
134487
|
debug: vr,
|
|
134471
134488
|
transform: wr,
|
|
134472
134489
|
popupContainer: Vt
|
|
134473
|
-
} = reactExports.useContext(qM), er = ir.role === n$6.User, tr = ir.role === n$6.Robot, Wt = reactExports.useMemo(() => er && Kt.type === i$
|
|
134490
|
+
} = reactExports.useContext(qM), er = ir.role === n$6.User, tr = ir.role === n$6.Robot, Wt = reactExports.useMemo(() => er && Kt.type === i$6.Agent ? bg(ir.content, ir.files) : {
|
|
134474
134491
|
content: ir.content,
|
|
134475
134492
|
files: ir.files
|
|
134476
134493
|
}, [er, Kt.type, ir.content, ir.files]), {
|
|
134477
134494
|
Panel: Xt
|
|
134478
|
-
} = Collapse$1, [nr, lr] = reactExports.useState(null), [hr, yr] = reactExports.useState(null), [fr, Mr] = reactExports.useState(!1), xr = reactExports.useRef(null), Nr = (pt = Kt.arrange) == null ? void 0 : pt[0], Sr = Kt.type === i$
|
|
134495
|
+
} = Collapse$1, [nr, lr] = reactExports.useState(null), [hr, yr] = reactExports.useState(null), [fr, Mr] = reactExports.useState(!1), xr = reactExports.useRef(null), Nr = (pt = Kt.arrange) == null ? void 0 : pt[0], Sr = Kt.type === i$6.Dialog, jr = !!((vt = ir == null ? void 0 : ir.reasoningContent) != null && vt.trim()), Er = Sr ? (ir != null && ir.fromHistory || (wr == null ? void 0 : wr.reasoning) !== !1) && jr : jr, Ar = (ir == null ? void 0 : ir.thinkingStatus) === P$1.End || !!(ir != null && ir.content), Ir = Sr ? (Nr == null ? void 0 : Nr.thinkingTextOpen) !== !1 && (wr == null ? void 0 : wr.reasoningExpand) !== !1 : !0, Cr = nr != null ? nr : Ir || !Ar, Pr = wr == null ? void 0 : wr.reasoningContent, Dr = (Pr == null ? void 0 : Pr.defaultMinimized) === !0, Ur = kg(Pr), Gr = LD(Pr == null ? void 0 : Pr.maxHeight), Qr = hr != null ? hr : Dr, Wr = Qr ? Ur : Gr, rn = Wr ? {
|
|
134479
134496
|
maxHeight: Wr,
|
|
134480
134497
|
overflowY: "auto"
|
|
134481
134498
|
} : void 0, Zr = !!Ur && fr;
|
|
@@ -134524,7 +134541,7 @@ const xg = (bt) => {
|
|
|
134524
134541
|
|
|
134525
134542
|
`)
|
|
134526
134543
|
})
|
|
134527
|
-
}), Kt.type === i$
|
|
134544
|
+
}), Kt.type === i$6.Dialog && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134528
134545
|
className: "item-user-file-dialog",
|
|
134529
134546
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Row$1, {
|
|
134530
134547
|
gutter: [12, 12],
|
|
@@ -134587,7 +134604,7 @@ const xg = (bt) => {
|
|
|
134587
134604
|
})
|
|
134588
134605
|
})
|
|
134589
134606
|
})
|
|
134590
|
-
}), Kt.type === i$
|
|
134607
|
+
}), Kt.type === i$6.Agent && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
134591
134608
|
className: "item-user-file",
|
|
134592
134609
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Row$1, {
|
|
134593
134610
|
gutter: [12, 12],
|
|
@@ -135707,7 +135724,7 @@ const Pg = (bt) => {
|
|
|
135707
135724
|
name: Wr.name,
|
|
135708
135725
|
size: Wr.size,
|
|
135709
135726
|
type: 1,
|
|
135710
|
-
origin: v$
|
|
135727
|
+
origin: v$7.AECPILOT
|
|
135711
135728
|
};
|
|
135712
135729
|
mr.current && ((en = Sr(Qr, kr)) == null || en.then((Lr) => hr(Qr, Lr, Wr)));
|
|
135713
135730
|
});
|
|
@@ -137134,7 +137151,7 @@ class ie {
|
|
|
137134
137151
|
}
|
|
137135
137152
|
const Wi = 10, De = 5, Zj = 20, _j = (bt, pt, vt, _t) => {
|
|
137136
137153
|
let $t = bt;
|
|
137137
|
-
if (_t === i$
|
|
137154
|
+
if (_t === i$6.Agent) {
|
|
137138
137155
|
if (vt && vt.length > 0) {
|
|
137139
137156
|
const Rt = vt.map((Ft) => `[${Ft.name.replace(/\.[^/.]+$/, "")}](${Ft.url})`).join(`
|
|
137140
137157
|
`);
|
|
@@ -137334,7 +137351,7 @@ ${$t}` : $t;
|
|
|
137334
137351
|
message: {
|
|
137335
137352
|
content: Do,
|
|
137336
137353
|
sessionId: ro,
|
|
137337
|
-
role: v$
|
|
137354
|
+
role: v$4.User,
|
|
137338
137355
|
files: bn[ro]
|
|
137339
137356
|
}
|
|
137340
137357
|
}) : ko = !0;
|
|
@@ -137382,7 +137399,7 @@ ${$t}` : $t;
|
|
|
137382
137399
|
message: {
|
|
137383
137400
|
content: zn,
|
|
137384
137401
|
sessionId: ar.id,
|
|
137385
|
-
role: v$
|
|
137402
|
+
role: v$4.User,
|
|
137386
137403
|
files: bn[ar.id]
|
|
137387
137404
|
}
|
|
137388
137405
|
}) : Gn = !0;
|
|
@@ -137407,9 +137424,9 @@ ${$t}` : $t;
|
|
|
137407
137424
|
Ln(!0), fo(!0);
|
|
137408
137425
|
const ko = _j(In, Or, Bn, (ir == null ? void 0 : ir.type) || 0);
|
|
137409
137426
|
let _a;
|
|
137410
|
-
if (ir.type === i$
|
|
137427
|
+
if (ir.type === i$6.Agent)
|
|
137411
137428
|
_a = void 0;
|
|
137412
|
-
else if (ir.type === i$
|
|
137429
|
+
else if (ir.type === i$6.Dialog && (Gn = ir.arrange) != null && Gn.length && ir.arrange[0].visionOpen) {
|
|
137413
137430
|
const vn = Or && Or.length ? Or.filter(Boolean) : [];
|
|
137414
137431
|
_a = vn.length ? vn : void 0;
|
|
137415
137432
|
} else
|
|
@@ -137430,7 +137447,7 @@ ${$t}` : $t;
|
|
|
137430
137447
|
const Uo = new ie("", Do, n$6.System);
|
|
137431
137448
|
Uo.isWaiting = !0, Qr.current = [Uo, ...Qr.current], vr(Qr.current);
|
|
137432
137449
|
const Ml = (Bn == null ? void 0 : Bn.filter((vn) => !vn.localAttachment).map((vn) => vn.id)) || [], Fr = {
|
|
137433
|
-
stream: i$
|
|
137450
|
+
stream: i$2.stream,
|
|
137434
137451
|
referenceFirst: !1
|
|
137435
137452
|
};
|
|
137436
137453
|
if (yr != null && yr.promptVariables) {
|
|
@@ -137547,7 +137564,7 @@ ${$t}` : $t;
|
|
|
137547
137564
|
return Bn <= 0 ? (Oo("error", "该文件为空,请重新上传"), !1) : Bn > Zj * uj ? (Oo("error", `图片须小于${Zj}M`), !1) : (Lr((zn) => zn.length >= De ? (Oo("warning", `图片最多上传${De}张`), zn) : [...zn, In]), !1);
|
|
137548
137565
|
}, Il = () => {
|
|
137549
137566
|
var In;
|
|
137550
|
-
return (ir.type === i$
|
|
137567
|
+
return (ir.type === i$6.Agent && (yr == null ? void 0 : yr.imageUpload) || ir.type === i$6.Dialog && ((In = ir.arrange) == null ? void 0 : In.length) && !!ir.arrange[0].visionOpen && (yr == null ? void 0 : yr.imageUpload)) && !jr;
|
|
137551
137568
|
}, mn = () => !!ur && (yr == null ? void 0 : yr.fileUpload) && (ir == null ? void 0 : ir.id) && !jr, un = (In) => {
|
|
137552
137569
|
var Bn, zn;
|
|
137553
137570
|
const Gn = Array.from(In || []).filter(Boolean);
|
|
@@ -137563,7 +137580,7 @@ ${$t}` : $t;
|
|
|
137563
137580
|
}
|
|
137564
137581
|
const El = (Go = (Jo = vn.name) == null ? void 0 : Jo.split(".").pop()) == null ? void 0 : Go.toLowerCase();
|
|
137565
137582
|
if (sD(vn)) {
|
|
137566
|
-
Do && ir.type === i$
|
|
137583
|
+
Do && ir.type === i$6.Agent ? _a.push(vn) : Ml++;
|
|
137567
137584
|
return;
|
|
137568
137585
|
}
|
|
137569
137586
|
if (uD.includes(vn.type) || ["pdf", "doc", "docx"].includes(El || "")) {
|
|
@@ -137984,7 +138001,7 @@ ${$t}` : $t;
|
|
|
137984
138001
|
className: "footer-upload-action",
|
|
137985
138002
|
onClick: (In) => In.preventDefault(),
|
|
137986
138003
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
137987
|
-
children: [(ir.type === i$
|
|
138004
|
+
children: [(ir.type === i$6.Agent && (yr == null ? void 0 : yr.imageUpload) || ir.type === i$6.Dialog && ((Ht = ir.arrange) == null ? void 0 : Ht.length) && !!ir.arrange[0].visionOpen && (yr == null ? void 0 : yr.imageUpload)) && /* @__PURE__ */ jsxRuntimeExports.jsx(Kj, {
|
|
137988
138005
|
multiple: !0,
|
|
137989
138006
|
disabled: kr.length >= De || jr,
|
|
137990
138007
|
accept: ".jpg, .png, .jpeg,.bmp",
|
|
@@ -138034,7 +138051,7 @@ ${$t}` : $t;
|
|
|
138034
138051
|
})
|
|
138035
138052
|
}), ur && yr != null && yr.fileUpload && ir != null && ir.id ? /* @__PURE__ */ jsxRuntimeExports.jsx(aD, {
|
|
138036
138053
|
appId: ir == null ? void 0 : ir.id,
|
|
138037
|
-
allowExcelAttachment: ir.type === i$
|
|
138054
|
+
allowExcelAttachment: ir.type === i$6.Agent,
|
|
138038
138055
|
ref: Jn,
|
|
138039
138056
|
isFirstSession: Mo,
|
|
138040
138057
|
docViewerUrl: sr,
|
|
@@ -138086,7 +138103,7 @@ ${$t}` : $t;
|
|
|
138086
138103
|
disabled: jr
|
|
138087
138104
|
})]
|
|
138088
138105
|
}), /* @__PURE__ */ jsxRuntimeExports.jsxs(mM, {
|
|
138089
|
-
children: [(yr == null ? void 0 : yr.connectNetwork) && ir.type === i$
|
|
138106
|
+
children: [(yr == null ? void 0 : yr.connectNetwork) && ir.type === i$6.Dialog && ((Zt = ir.arrange) == null ? void 0 : Zt.length) && !!ir.arrange[0].enableNetOpen && /* @__PURE__ */ jsxRuntimeExports.jsx(MI, {
|
|
138090
138107
|
sessionId: (Jt = ar == null ? void 0 : ar.data) == null ? void 0 : Jt.id,
|
|
138091
138108
|
netStatus: dr,
|
|
138092
138109
|
enable: typeof (Er == null ? void 0 : Er.connectNetwork) == "object" && typeof (Er == null ? void 0 : Er.connectNetwork.diabled) == "boolean" ? !(Er != null && Er.connectNetwork.diabled) : _o,
|
|
@@ -138606,7 +138623,7 @@ ${$t}` : $t;
|
|
|
138606
138623
|
})]
|
|
138607
138624
|
})
|
|
138608
138625
|
});
|
|
138609
|
-
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.0", AI = "./dist/es/index.mjs", yI = "./dist/lib/index.js", cI = "./dist/src/index.d.ts", aI = {
|
|
138626
|
+
}), nI = "@glodon-aiot/agent-cli-ui", LI = "3.25.1-alpha.0", AI = "./dist/es/index.mjs", yI = "./dist/lib/index.js", cI = "./dist/src/index.d.ts", aI = {
|
|
138610
138627
|
import: "./dist/es/index.mjs",
|
|
138611
138628
|
require: "./dist/lib/index.js",
|
|
138612
138629
|
types: "./dist/src/index.d.ts"
|
|
@@ -138628,9 +138645,9 @@ ${$t}` : $t;
|
|
|
138628
138645
|
commit: "cz"
|
|
138629
138646
|
}, OI = {
|
|
138630
138647
|
"@ant-design/icons": "^5.3.4",
|
|
138631
|
-
"@glodon-aiot/apis": "^3.25.0",
|
|
138632
|
-
"@glodon-aiot/bot-client-sdk": "^3.25.0",
|
|
138633
|
-
"@glodon-aiot/react-components": "^3.25.0",
|
|
138648
|
+
"@glodon-aiot/apis": "^3.25.1-alpha.0",
|
|
138649
|
+
"@glodon-aiot/bot-client-sdk": "^3.25.1-alpha.0",
|
|
138650
|
+
"@glodon-aiot/react-components": "^3.25.1-alpha.0",
|
|
138634
138651
|
"@matejmazur/react-mathjax": "^0.1.10",
|
|
138635
138652
|
"@react-pdf-viewer/core": "^3.12.0",
|
|
138636
138653
|
"@react-pdf-viewer/default-layout": "^3.12.0",
|
|
@@ -141646,7 +141663,7 @@ function _s(bt) {
|
|
|
141646
141663
|
const Xj = {};
|
|
141647
141664
|
class nn {
|
|
141648
141665
|
constructor(pt) {
|
|
141649
|
-
YM(this, "_token"), YM(this, "_activeSession", null), YM(this, "_applicationId"), YM(this, "_defaultInputText", ""), YM(this, "_inputDisabled", !1), YM(this, "_defatulSessionId", ""), YM(this, "_agentClientRef", qi$1.createRef()), YM(this, "_config"), YM(this, "_uuid", ""), YM(this, "apiUrl"), YM(this, "docViewerUrl"), YM(this, "env", "prod"), YM(this, "stream", i$
|
|
141666
|
+
YM(this, "_token"), YM(this, "_activeSession", null), YM(this, "_applicationId"), YM(this, "_defaultInputText", ""), YM(this, "_inputDisabled", !1), YM(this, "_defatulSessionId", ""), YM(this, "_agentClientRef", qi$1.createRef()), YM(this, "_config"), YM(this, "_uuid", ""), YM(this, "apiUrl"), YM(this, "docViewerUrl"), YM(this, "env", "prod"), YM(this, "stream", i$2.stream), YM(this, "service"), YM(this, "rId", 0), YM(this, "_mode", "float"), YM(this, "uiConfig", qj), YM(this, "errorHandlers", {}), YM(this, "wrapper", document.createElement("div")), YM(this, "botClient", null), YM(this, "_silencedSeconds", 0);
|
|
141650
141667
|
var vt, _t, $t, Rt, Ft;
|
|
141651
141668
|
this._uuid = v4$1();
|
|
141652
141669
|
const {
|
|
@@ -141672,15 +141689,15 @@ class nn {
|
|
|
141672
141689
|
const ur = {};
|
|
141673
141690
|
pt.header !== void 0 && (ur.showHeader = !!pt.header);
|
|
141674
141691
|
const cr = {
|
|
141675
|
-
triggerButton: te$
|
|
141676
|
-
size: te$
|
|
141677
|
-
theme: te$
|
|
141692
|
+
triggerButton: te$2(this.uiConfig.triggerButton, Ht),
|
|
141693
|
+
size: te$2(this.uiConfig.size, uM({}, Gt)),
|
|
141694
|
+
theme: te$2(this.uiConfig.theme, Xj)
|
|
141678
141695
|
};
|
|
141679
141696
|
this.updateUIConfig(cr, ur), this.env = Pt || "prod", this.stream = or, x$4({
|
|
141680
141697
|
stream: this.stream
|
|
141681
141698
|
}), this._applicationId = ut(Bt).rid, this.apiUrl = Zt || OD[this.env] || Tg, this.docViewerUrl = Jt || ug, this.service = this.setService(), this._initWrapper(), this.createBotClientSDK().then(() => zM(this, null, function* () {
|
|
141682
141699
|
var dr, pr;
|
|
141683
|
-
((pr = (dr = this.botClient) == null ? void 0 : dr.application) == null ? void 0 : pr.type) === i$
|
|
141700
|
+
((pr = (dr = this.botClient) == null ? void 0 : dr.application) == null ? void 0 : pr.type) === i$6.Dialog && (yield this.fetchSilenceDuration()), this.mode = qt;
|
|
141684
141701
|
}));
|
|
141685
141702
|
}
|
|
141686
141703
|
fetchSilenceDuration() {
|
|
@@ -141752,26 +141769,26 @@ class nn {
|
|
|
141752
141769
|
};
|
|
141753
141770
|
if (pt === "inlay") {
|
|
141754
141771
|
const Pt = {
|
|
141755
|
-
triggerButton: te$
|
|
141772
|
+
triggerButton: te$2({
|
|
141756
141773
|
visible: !1
|
|
141757
141774
|
}, this.uiConfig.triggerButton),
|
|
141758
141775
|
open: !0,
|
|
141759
141776
|
resizable: !1,
|
|
141760
|
-
size: te$
|
|
141777
|
+
size: te$2({
|
|
141761
141778
|
width: "100%",
|
|
141762
141779
|
height: "100%",
|
|
141763
141780
|
maxWidth: "100%",
|
|
141764
141781
|
maxHeight: "100%",
|
|
141765
141782
|
minWidth: "100%"
|
|
141766
141783
|
}, this._config.size),
|
|
141767
|
-
theme: te$
|
|
141784
|
+
theme: te$2(this.uiConfig.theme, Xj),
|
|
141768
141785
|
history: !0
|
|
141769
141786
|
};
|
|
141770
141787
|
this.updateUIConfig(Pt, Ft);
|
|
141771
141788
|
} else {
|
|
141772
141789
|
const Pt = {
|
|
141773
141790
|
size: uM(uM(uM({}, this.uiConfig.size), qj.size), this._config.size),
|
|
141774
|
-
theme: te$
|
|
141791
|
+
theme: te$2(this.uiConfig.theme, Xj)
|
|
141775
141792
|
};
|
|
141776
141793
|
this.updateUIConfig(Pt, Ft);
|
|
141777
141794
|
}
|
|
@@ -141845,7 +141862,7 @@ class nn {
|
|
|
141845
141862
|
this._defatulSessionId = (pt = this.activeSession) == null ? void 0 : pt.id, this.destroy(() => {
|
|
141846
141863
|
this.service = this.setService(), this.rId = this.rId + 1, this._initWrapper(), this.createBotClientSDK().then(() => zM(this, null, function* () {
|
|
141847
141864
|
var vt, _t;
|
|
141848
|
-
((_t = (vt = this.botClient) == null ? void 0 : vt.application) == null ? void 0 : _t.type) === i$
|
|
141865
|
+
((_t = (vt = this.botClient) == null ? void 0 : vt.application) == null ? void 0 : _t.type) === i$6.Dialog && (yield this.fetchSilenceDuration()), this.render();
|
|
141849
141866
|
}));
|
|
141850
141867
|
});
|
|
141851
141868
|
}
|
|
@@ -141911,7 +141928,7 @@ class nn {
|
|
|
141911
141928
|
}
|
|
141912
141929
|
}), this.botClient.ready ? pt(this.botClient) : this.botClient.addEventListener("ready", () => zM(this, null, function* () {
|
|
141913
141930
|
var _t;
|
|
141914
|
-
this.botClient ? (((_t = this.botClient.application) == null ? void 0 : _t.type) === i$
|
|
141931
|
+
this.botClient ? (((_t = this.botClient.application) == null ? void 0 : _t.type) === i$6.Text && (this.mode = "inlay"), pt(this.botClient)) : vt(this.botClient);
|
|
141915
141932
|
}), !0);
|
|
141916
141933
|
else
|
|
141917
141934
|
throw Error("token is required");
|
|
@@ -141923,7 +141940,7 @@ class nn {
|
|
|
141923
141940
|
var pt, vt, _t, $t, Rt, Ft, Pt, Bt, qt;
|
|
141924
141941
|
if (this.wrapper.style.height = "100%", !((pt = this.botClient) != null && pt.application))
|
|
141925
141942
|
throw Error("application is required");
|
|
141926
|
-
this.botClient.application.type === i$
|
|
141943
|
+
this.botClient.application.type === i$6.Text ? yield Ki(/* @__PURE__ */ jsxRuntimeExports.jsx(Xi, {
|
|
141927
141944
|
getPopupContainer: () => this.uiConfig.getContainer(),
|
|
141928
141945
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Gs, {
|
|
141929
141946
|
rId: this.rId,
|