@cimulate/copilot-widget 1.14.3 → 1.15.1
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/cimulate-copilot-widget.d.ts +2 -1
- package/dist/cimulate-copilot-widget.es.js +260 -248
- package/dist/cimulate-copilot-widget.umd.js +22 -22
- package/dist/copilot.es.js +271 -259
- package/dist/copilot.umd.js +22 -22
- package/dist/messaging.css +1 -1
- package/dist/messaging.d.ts +10 -1
- package/dist/messaging.es.js +4787 -4701
- package/dist/messaging.umd.js +30 -30
- package/package.json +1 -1
|
@@ -1071,7 +1071,7 @@ const Xh = typeof addEventListener == "function" && typeof removeEventListener =
|
|
|
1071
1071
|
Xh && addEventListener("offline", () => {
|
|
1072
1072
|
ec.forEach((e) => e());
|
|
1073
1073
|
}, !1);
|
|
1074
|
-
class
|
|
1074
|
+
class Ui extends Dt {
|
|
1075
1075
|
/**
|
|
1076
1076
|
* Socket constructor.
|
|
1077
1077
|
*
|
|
@@ -1139,7 +1139,7 @@ class Bi extends Dt {
|
|
|
1139
1139
|
}, 0);
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
1142
|
-
const t = this.opts.rememberUpgrade &&
|
|
1142
|
+
const t = this.opts.rememberUpgrade && Ui.priorWebsocketSuccess && this.transports.indexOf("websocket") !== -1 ? "websocket" : this.transports[0];
|
|
1143
1143
|
this.readyState = "opening";
|
|
1144
1144
|
const n = this.createTransport(t);
|
|
1145
1145
|
n.open(), this.setTransport(n);
|
|
@@ -1158,7 +1158,7 @@ class Bi extends Dt {
|
|
|
1158
1158
|
* @private
|
|
1159
1159
|
*/
|
|
1160
1160
|
onOpen() {
|
|
1161
|
-
this.readyState = "open",
|
|
1161
|
+
this.readyState = "open", Ui.priorWebsocketSuccess = this.transport.name === "websocket", this.emitReserved("open"), this.flush();
|
|
1162
1162
|
}
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Handles a packet.
|
|
@@ -1322,7 +1322,7 @@ class Bi extends Dt {
|
|
|
1322
1322
|
* @private
|
|
1323
1323
|
*/
|
|
1324
1324
|
_onError(t) {
|
|
1325
|
-
if (
|
|
1325
|
+
if (Ui.priorWebsocketSuccess = !1, this.opts.tryAllTransports && this.transports.length > 1 && this.readyState === "opening")
|
|
1326
1326
|
return this.transports.shift(), this._open();
|
|
1327
1327
|
this.emitReserved("error", t), this._onClose("transport error", t);
|
|
1328
1328
|
}
|
|
@@ -1341,8 +1341,8 @@ class Bi extends Dt {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
|
-
|
|
1345
|
-
class yw extends
|
|
1344
|
+
Ui.protocol = UT;
|
|
1345
|
+
class yw extends Ui {
|
|
1346
1346
|
constructor() {
|
|
1347
1347
|
super(...arguments), this._upgrades = [];
|
|
1348
1348
|
}
|
|
@@ -1359,14 +1359,14 @@ class yw extends Bi {
|
|
|
1359
1359
|
*/
|
|
1360
1360
|
_probe(t) {
|
|
1361
1361
|
let n = this.createTransport(t), r = !1;
|
|
1362
|
-
|
|
1362
|
+
Ui.priorWebsocketSuccess = !1;
|
|
1363
1363
|
const s = () => {
|
|
1364
1364
|
r || (n.send([{ type: "ping", data: "probe" }]), n.once("packet", (m) => {
|
|
1365
1365
|
if (!r)
|
|
1366
1366
|
if (m.type === "pong" && m.data === "probe") {
|
|
1367
1367
|
if (this.upgrading = !0, this.emitReserved("upgrading", n), !n)
|
|
1368
1368
|
return;
|
|
1369
|
-
|
|
1369
|
+
Ui.priorWebsocketSuccess = n.name === "websocket", this.transport.pause(() => {
|
|
1370
1370
|
r || this.readyState !== "closed" && (p(), this.setTransport(n), n.send([{ type: "upgrade" }]), this.emitReserved("upgrade", n), n = null, this.upgrading = !1, this.flush());
|
|
1371
1371
|
});
|
|
1372
1372
|
} else {
|
|
@@ -3718,7 +3718,7 @@ const nb = {
|
|
|
3718
3718
|
rangeFilters: Zr.RANGE_FILTERS_CHANGED,
|
|
3719
3719
|
catalogSegment: Zr.CATALOG_SEGMENT_CHANGED,
|
|
3720
3720
|
pricebooks: Zr.PRICEBOOKS_CHANGED
|
|
3721
|
-
}, j = "cim-widget", ti = `--${j}`,
|
|
3721
|
+
}, j = "cim-widget", ti = `--${j}`, Ii = {
|
|
3722
3722
|
primaryColor: "#3182ce",
|
|
3723
3723
|
secondaryColor: "#2c5282",
|
|
3724
3724
|
fontColor: "#1a202c",
|
|
@@ -3726,15 +3726,15 @@ const nb = {
|
|
|
3726
3726
|
backgroundColor: "#ffffff",
|
|
3727
3727
|
borderColor: "#dddddd",
|
|
3728
3728
|
borderRadius: "0.25rem"
|
|
3729
|
-
}, hv = (e =
|
|
3730
|
-
[`${ti}-primary-color`]: e.primaryColor ||
|
|
3731
|
-
[`${ti}-secondary-color`]: e.secondaryColor ||
|
|
3732
|
-
[`${ti}-font-color`]: e.fontColor ||
|
|
3733
|
-
[`${ti}-font-family`]: e.fontFamily ||
|
|
3734
|
-
[`${ti}-background-color`]: e.backgroundColor ||
|
|
3735
|
-
[`${ti}-border-color`]: e.borderColor ||
|
|
3736
|
-
[`${ti}-border-radius`]: e.borderRadius ||
|
|
3737
|
-
}),
|
|
3729
|
+
}, hv = (e = Ii) => ({
|
|
3730
|
+
[`${ti}-primary-color`]: e.primaryColor || Ii.primaryColor,
|
|
3731
|
+
[`${ti}-secondary-color`]: e.secondaryColor || Ii.secondaryColor,
|
|
3732
|
+
[`${ti}-font-color`]: e.fontColor || Ii.fontColor,
|
|
3733
|
+
[`${ti}-font-family`]: e.fontFamily || Ii.fontFamily,
|
|
3734
|
+
[`${ti}-background-color`]: e.backgroundColor || Ii.backgroundColor,
|
|
3735
|
+
[`${ti}-border-color`]: e.borderColor || Ii.borderColor,
|
|
3736
|
+
[`${ti}-border-radius`]: e.borderRadius || Ii.borderRadius
|
|
3737
|
+
}), Fi = {
|
|
3738
3738
|
RESET_CONVERSATION: "reset-conversation",
|
|
3739
3739
|
GET_SESSION_INFORMATION: "get-session-information",
|
|
3740
3740
|
GET_CONVERSATION_MESSAGES: "get-conversation-messages",
|
|
@@ -6210,7 +6210,7 @@ const Ke = new uP(), gs = () => Ke.connected, gu = () => Ke.isOpen, lP = (e) =>
|
|
|
6210
6210
|
`Invalid entryType: "${e}". Must be 'ask_cim', 'search', 'browse', or 'pdp'.`
|
|
6211
6211
|
);
|
|
6212
6212
|
Ke.entryTypeProxy.entryType = e;
|
|
6213
|
-
},
|
|
6213
|
+
}, oi = (e) => {
|
|
6214
6214
|
const t = Ke.statusProxy.isOpen, n = typeof e == "boolean" ? e : !t;
|
|
6215
6215
|
Ke.statusProxy.isOpen = n, n && (Ke.statusProxy.isMinimized = !1);
|
|
6216
6216
|
}, $c = (e) => {
|
|
@@ -6799,6 +6799,7 @@ const hr = new MP(), qb = (e) => {
|
|
|
6799
6799
|
isInline: !1,
|
|
6800
6800
|
elementId: null,
|
|
6801
6801
|
placeholder: null,
|
|
6802
|
+
askElseButtonLabel: null,
|
|
6802
6803
|
entryType: null,
|
|
6803
6804
|
params: null,
|
|
6804
6805
|
activePromptsId: null,
|
|
@@ -6885,12 +6886,12 @@ const Mt = new UP(), HP = (e) => {
|
|
|
6885
6886
|
}) => {
|
|
6886
6887
|
Mt.promptsStateProxy.elementId = e, t && (Mt.promptsStateProxy.entryType = t), typeof r == "boolean" && Wb(r), n && Mt.updatePromptsParamsProxy(n), Mt.isOpen || Gb(!0);
|
|
6887
6888
|
}, GP = () => {
|
|
6888
|
-
qc("resetConversation", !0,
|
|
6889
|
+
qc("resetConversation", !0, Fi.RESET_CONVERSATION);
|
|
6889
6890
|
}, WP = (e) => {
|
|
6890
6891
|
qc(
|
|
6891
6892
|
"getSessionInformation",
|
|
6892
6893
|
{ callback: e },
|
|
6893
|
-
|
|
6894
|
+
Fi.GET_SESSION_INFORMATION
|
|
6894
6895
|
);
|
|
6895
6896
|
}, XP = ({
|
|
6896
6897
|
payload: e,
|
|
@@ -6899,10 +6900,10 @@ const Mt = new UP(), HP = (e) => {
|
|
|
6899
6900
|
qc(
|
|
6900
6901
|
"getConversationMessages",
|
|
6901
6902
|
{ payload: e, callback: t },
|
|
6902
|
-
|
|
6903
|
+
Fi.GET_CONVERSATION_MESSAGES
|
|
6903
6904
|
);
|
|
6904
6905
|
}, KP = (e) => {
|
|
6905
|
-
qc("loadConversation", e,
|
|
6906
|
+
qc("loadConversation", e, Fi.LOAD_CONVERSATION);
|
|
6906
6907
|
}, QP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6907
6908
|
__proto__: null,
|
|
6908
6909
|
getConversationMessages: XP,
|
|
@@ -7181,7 +7182,7 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7181
7182
|
e && $a(e);
|
|
7182
7183
|
}), Va(() => {
|
|
7183
7184
|
const U = n || (t == null ? void 0 : t.type);
|
|
7184
|
-
U && Vc(U), t && "isOpen" in t &&
|
|
7185
|
+
U && Vc(U), t && "isOpen" in t && oi(!!t.isOpen), t && "isMinimized" in t && $c(!!t.isMinimized);
|
|
7185
7186
|
}), Va(() => {
|
|
7186
7187
|
if (!(t != null && t.options)) return;
|
|
7187
7188
|
const { dialogPosition: U } = t.options;
|
|
@@ -7570,7 +7571,7 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7570
7571
|
});
|
|
7571
7572
|
},
|
|
7572
7573
|
[Y, ie, ne]
|
|
7573
|
-
),
|
|
7574
|
+
), fi = B.useCallback(() => {
|
|
7574
7575
|
ne && ne.conversationReset({}, (Ce) => {
|
|
7575
7576
|
F(), Y(Ce), ne.requestSessionInformation((Me) => {
|
|
7576
7577
|
p == null || p.log("Session Information: ", Me);
|
|
@@ -7585,7 +7586,7 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7585
7586
|
F,
|
|
7586
7587
|
$,
|
|
7587
7588
|
se
|
|
7588
|
-
]),
|
|
7589
|
+
]), di = B.useCallback(
|
|
7589
7590
|
(Ce, Me) => {
|
|
7590
7591
|
if (!Ce) return;
|
|
7591
7592
|
const Fe = { userPrompt: Ce };
|
|
@@ -7689,10 +7690,10 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7689
7690
|
handleSearch: ke,
|
|
7690
7691
|
handleBrowse: Be,
|
|
7691
7692
|
handlePdp: xe,
|
|
7692
|
-
handleUserInput:
|
|
7693
|
+
handleUserInput: di,
|
|
7693
7694
|
handleSuggestion: $r,
|
|
7694
7695
|
handleCancel: yn,
|
|
7695
|
-
resetConversation:
|
|
7696
|
+
resetConversation: fi,
|
|
7696
7697
|
getSessionInformation: O,
|
|
7697
7698
|
getConversationMessages: ee
|
|
7698
7699
|
}), [
|
|
@@ -7705,10 +7706,10 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7705
7706
|
ke,
|
|
7706
7707
|
Be,
|
|
7707
7708
|
xe,
|
|
7708
|
-
|
|
7709
|
+
di,
|
|
7709
7710
|
$r,
|
|
7710
7711
|
yn,
|
|
7711
|
-
|
|
7712
|
+
fi,
|
|
7712
7713
|
O,
|
|
7713
7714
|
ee
|
|
7714
7715
|
]);
|
|
@@ -7839,16 +7840,16 @@ const yt = new JP(), ZP = (e) => {
|
|
|
7839
7840
|
const N = ({
|
|
7840
7841
|
detail: C
|
|
7841
7842
|
}) => {
|
|
7842
|
-
if ((C == null ? void 0 : C.event) ==
|
|
7843
|
+
if ((C == null ? void 0 : C.event) == Fi.RESET_CONVERSATION && m(), (C == null ? void 0 : C.event) == Fi.GET_SESSION_INFORMATION) {
|
|
7843
7844
|
const U = C.value.callback;
|
|
7844
7845
|
b(U);
|
|
7845
7846
|
}
|
|
7846
|
-
if ((C == null ? void 0 : C.event) ==
|
|
7847
|
+
if ((C == null ? void 0 : C.event) == Fi.GET_CONVERSATION_MESSAGES) {
|
|
7847
7848
|
const { payload: U, callback: V } = C.value;
|
|
7848
7849
|
if (!U.conversationId || typeof V != "function") return;
|
|
7849
7850
|
y(U, V);
|
|
7850
7851
|
}
|
|
7851
|
-
if ((C == null ? void 0 : C.event) ==
|
|
7852
|
+
if ((C == null ? void 0 : C.event) == Fi.LOAD_CONVERSATION) {
|
|
7852
7853
|
const U = C.value;
|
|
7853
7854
|
if (!U.conversationId) return;
|
|
7854
7855
|
y(U, (F) => {
|
|
@@ -8695,15 +8696,15 @@ function xN() {
|
|
|
8695
8696
|
var l = o.checked;
|
|
8696
8697
|
return v({}, o, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: l != null ? l : i._wrapperState.initialChecked });
|
|
8697
8698
|
}
|
|
8698
|
-
function
|
|
8699
|
+
function fi(i, o) {
|
|
8699
8700
|
var l = o.defaultValue == null ? "" : o.defaultValue, h = o.checked != null ? o.checked : o.defaultChecked;
|
|
8700
8701
|
l = xe(o.value != null ? o.value : l), i._wrapperState = { initialChecked: h, initialValue: l, controlled: o.type === "checkbox" || o.type === "radio" ? o.checked != null : o.value != null };
|
|
8701
8702
|
}
|
|
8702
|
-
function
|
|
8703
|
+
function di(i, o) {
|
|
8703
8704
|
o = o.checked, o != null && C(i, "checked", o, !1);
|
|
8704
8705
|
}
|
|
8705
8706
|
function $r(i, o) {
|
|
8706
|
-
|
|
8707
|
+
di(i, o);
|
|
8707
8708
|
var l = xe(o.value), h = o.type;
|
|
8708
8709
|
if (l != null) h === "number" ? (l === 0 && i.value === "" || i.value != l) && (i.value = "" + l) : i.value !== "" + l && (i.value = "" + l);
|
|
8709
8710
|
else if (h === "submit" || h === "reset") {
|
|
@@ -9231,20 +9232,20 @@ function xN() {
|
|
|
9231
9232
|
function S0(i) {
|
|
9232
9233
|
return i &= -i, 1 < i ? 4 < i ? (i & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
|
|
9233
9234
|
}
|
|
9234
|
-
var x0, vf, A0, C0, w0, kf = !1, Fu = [],
|
|
9235
|
+
var x0, vf, A0, C0, w0, kf = !1, Fu = [], hi = null, pi = null, mi = null, Ko = /* @__PURE__ */ new Map(), Qo = /* @__PURE__ */ new Map(), gi = [], tA = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
9235
9236
|
function v0(i, o) {
|
|
9236
9237
|
switch (i) {
|
|
9237
9238
|
case "focusin":
|
|
9238
9239
|
case "focusout":
|
|
9239
|
-
|
|
9240
|
+
hi = null;
|
|
9240
9241
|
break;
|
|
9241
9242
|
case "dragenter":
|
|
9242
9243
|
case "dragleave":
|
|
9243
|
-
|
|
9244
|
+
pi = null;
|
|
9244
9245
|
break;
|
|
9245
9246
|
case "mouseover":
|
|
9246
9247
|
case "mouseout":
|
|
9247
|
-
|
|
9248
|
+
mi = null;
|
|
9248
9249
|
break;
|
|
9249
9250
|
case "pointerover":
|
|
9250
9251
|
case "pointerout":
|
|
@@ -9261,11 +9262,11 @@ function xN() {
|
|
|
9261
9262
|
function nA(i, o, l, h, E) {
|
|
9262
9263
|
switch (o) {
|
|
9263
9264
|
case "focusin":
|
|
9264
|
-
return di = Jo(di, i, o, l, h, E), !0;
|
|
9265
|
-
case "dragenter":
|
|
9266
9265
|
return hi = Jo(hi, i, o, l, h, E), !0;
|
|
9267
|
-
case "
|
|
9266
|
+
case "dragenter":
|
|
9268
9267
|
return pi = Jo(pi, i, o, l, h, E), !0;
|
|
9268
|
+
case "mouseover":
|
|
9269
|
+
return mi = Jo(mi, i, o, l, h, E), !0;
|
|
9269
9270
|
case "pointerover":
|
|
9270
9271
|
var T = E.pointerId;
|
|
9271
9272
|
return Ko.set(T, Jo(Ko.get(T) || null, i, o, l, h, E)), !0;
|
|
@@ -9311,7 +9312,7 @@ function xN() {
|
|
|
9311
9312
|
Bu(i) && l.delete(o);
|
|
9312
9313
|
}
|
|
9313
9314
|
function rA() {
|
|
9314
|
-
kf = !1,
|
|
9315
|
+
kf = !1, hi !== null && Bu(hi) && (hi = null), pi !== null && Bu(pi) && (pi = null), mi !== null && Bu(mi) && (mi = null), Ko.forEach(P0), Qo.forEach(P0);
|
|
9315
9316
|
}
|
|
9316
9317
|
function Zo(i, o) {
|
|
9317
9318
|
i.blockedOn === o && (i.blockedOn = null, kf || (kf = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, rA)));
|
|
@@ -9327,8 +9328,8 @@ function xN() {
|
|
|
9327
9328
|
h.blockedOn === i && (h.blockedOn = null);
|
|
9328
9329
|
}
|
|
9329
9330
|
}
|
|
9330
|
-
for (
|
|
9331
|
-
for (; 0 <
|
|
9331
|
+
for (hi !== null && Zo(hi, i), pi !== null && Zo(pi, i), mi !== null && Zo(mi, i), Ko.forEach(o), Qo.forEach(o), l = 0; l < gi.length; l++) h = gi[l], h.blockedOn === i && (h.blockedOn = null);
|
|
9332
|
+
for (; 0 < gi.length && (l = gi[0], l.blockedOn === null); ) k0(l), l.blockedOn === null && gi.shift();
|
|
9332
9333
|
}
|
|
9333
9334
|
var Ps = U.ReactCurrentBatchConfig, Uu = !0;
|
|
9334
9335
|
function iA(i, o, l, h) {
|
|
@@ -9468,10 +9469,10 @@ function xN() {
|
|
|
9468
9469
|
return 16;
|
|
9469
9470
|
}
|
|
9470
9471
|
}
|
|
9471
|
-
var
|
|
9472
|
+
var Ei = null, Of = null, zu = null;
|
|
9472
9473
|
function O0() {
|
|
9473
9474
|
if (zu) return zu;
|
|
9474
|
-
var i, o = Of, l = o.length, h, E = "value" in
|
|
9475
|
+
var i, o = Of, l = o.length, h, E = "value" in Ei ? Ei.value : Ei.textContent, T = E.length;
|
|
9475
9476
|
for (i = 0; i < l && o[i] === E[i]; i++) ;
|
|
9476
9477
|
var x = l - i;
|
|
9477
9478
|
for (h = 1; h <= x && o[l - h] === E[T - h]; h++) ;
|
|
@@ -9626,7 +9627,7 @@ function xN() {
|
|
|
9626
9627
|
}
|
|
9627
9628
|
}
|
|
9628
9629
|
function OA(i, o) {
|
|
9629
|
-
if (Os) return i === "compositionend" || !Ff && U0(i, o) ? (i = O0(), zu = Of =
|
|
9630
|
+
if (Os) return i === "compositionend" || !Ff && U0(i, o) ? (i = O0(), zu = Of = Ei = null, Os = !1, i) : null;
|
|
9630
9631
|
switch (i) {
|
|
9631
9632
|
case "paste":
|
|
9632
9633
|
return null;
|
|
@@ -9794,14 +9795,14 @@ function xN() {
|
|
|
9794
9795
|
return i;
|
|
9795
9796
|
}
|
|
9796
9797
|
var Z0 = Gu("animationend"), eg = Gu("animationiteration"), tg = Gu("animationstart"), ng = Gu("transitionend"), rg = /* @__PURE__ */ new Map(), ig = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
9797
|
-
function
|
|
9798
|
+
function yi(i, o) {
|
|
9798
9799
|
rg.set(i, o), a(o, [i]);
|
|
9799
9800
|
}
|
|
9800
9801
|
for (var Vf = 0; Vf < ig.length; Vf++) {
|
|
9801
9802
|
var qf = ig[Vf], jA = qf.toLowerCase(), $A = qf[0].toUpperCase() + qf.slice(1);
|
|
9802
|
-
|
|
9803
|
+
yi(jA, "on" + $A);
|
|
9803
9804
|
}
|
|
9804
|
-
|
|
9805
|
+
yi(Z0, "onAnimationEnd"), yi(eg, "onAnimationIteration"), yi(tg, "onAnimationStart"), yi("dblclick", "onDoubleClick"), yi("focusin", "onFocus"), yi("focusout", "onBlur"), yi(ng, "onTransitionEnd"), u("onMouseEnter", ["mouseout", "mouseover"]), u("onMouseLeave", ["mouseout", "mouseover"]), u("onPointerEnter", ["pointerout", "pointerover"]), u("onPointerLeave", ["pointerout", "pointerover"]), a("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), a("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), a("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), a("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), a("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
9805
9806
|
var ua = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), VA = new Set("cancel close invalid load scroll toggle".split(" ").concat(ua));
|
|
9806
9807
|
function sg(i, o, l) {
|
|
9807
9808
|
var h = i.type || "unknown-event";
|
|
@@ -10045,7 +10046,7 @@ function xN() {
|
|
|
10045
10046
|
Ve = void 0;
|
|
10046
10047
|
}
|
|
10047
10048
|
else Os ? U0(i, l) && (Ve = "onCompositionEnd") : i === "keydown" && l.keyCode === 229 && (Ve = "onCompositionStart");
|
|
10048
|
-
Ve && (M0 && l.locale !== "ko" && (Os || Ve !== "onCompositionStart" ? Ve === "onCompositionEnd" && Os && (He = O0()) : (
|
|
10049
|
+
Ve && (M0 && l.locale !== "ko" && (Os || Ve !== "onCompositionStart" ? Ve === "onCompositionEnd" && Os && (He = O0()) : (Ei = le, Of = "value" in Ei ? Ei.value : Ei.textContent, Os = !0)), Ue = Xu(Z, Ve), 0 < Ue.length && (Ve = new L0(Ve, i, null, l, le), de.push({ event: Ve, listeners: Ue }), He ? Ve.data = He : (He = H0(l), He !== null && (Ve.data = He)))), (He = PA ? NA(i, l) : OA(i, l)) && (Z = Xu(Z, "onBeforeInput"), 0 < Z.length && (le = new L0("onBeforeInput", "beforeinput", null, l, le), de.push({ event: le, listeners: Z }), le.data = He));
|
|
10049
10050
|
}
|
|
10050
10051
|
og(de, o);
|
|
10051
10052
|
});
|
|
@@ -10112,7 +10113,7 @@ function xN() {
|
|
|
10112
10113
|
} while (l);
|
|
10113
10114
|
ea(o);
|
|
10114
10115
|
}
|
|
10115
|
-
function
|
|
10116
|
+
function Ti(i) {
|
|
10116
10117
|
for (; i != null; i = i.nextSibling) {
|
|
10117
10118
|
var o = i.nodeType;
|
|
10118
10119
|
if (o === 1 || o === 3) break;
|
|
@@ -10164,7 +10165,7 @@ function xN() {
|
|
|
10164
10165
|
return i[fa] || null;
|
|
10165
10166
|
}
|
|
10166
10167
|
var ed = [], Fs = -1;
|
|
10167
|
-
function
|
|
10168
|
+
function bi(i) {
|
|
10168
10169
|
return { current: i };
|
|
10169
10170
|
}
|
|
10170
10171
|
function Et(i) {
|
|
@@ -10173,10 +10174,10 @@ function xN() {
|
|
|
10173
10174
|
function ft(i, o) {
|
|
10174
10175
|
Fs++, ed[Fs] = i.current, i.current = o;
|
|
10175
10176
|
}
|
|
10176
|
-
var
|
|
10177
|
+
var _i = {}, nn = bi(_i), Tn = bi(!1), Yi = _i;
|
|
10177
10178
|
function Bs(i, o) {
|
|
10178
10179
|
var l = i.type.contextTypes;
|
|
10179
|
-
if (!l) return
|
|
10180
|
+
if (!l) return _i;
|
|
10180
10181
|
var h = i.stateNode;
|
|
10181
10182
|
if (h && h.__reactInternalMemoizedUnmaskedChildContext === o) return h.__reactInternalMemoizedMaskedChildContext;
|
|
10182
10183
|
var E = {}, T;
|
|
@@ -10190,7 +10191,7 @@ function xN() {
|
|
|
10190
10191
|
Et(Tn), Et(nn);
|
|
10191
10192
|
}
|
|
10192
10193
|
function dg(i, o, l) {
|
|
10193
|
-
if (nn.current !==
|
|
10194
|
+
if (nn.current !== _i) throw Error(n(168));
|
|
10194
10195
|
ft(nn, o), ft(Tn, l);
|
|
10195
10196
|
}
|
|
10196
10197
|
function hg(i, o, l) {
|
|
@@ -10201,7 +10202,7 @@ function xN() {
|
|
|
10201
10202
|
return v({}, l, h);
|
|
10202
10203
|
}
|
|
10203
10204
|
function el(i) {
|
|
10204
|
-
return i = (i = i.stateNode) && i.__reactInternalMemoizedMergedChildContext ||
|
|
10205
|
+
return i = (i = i.stateNode) && i.__reactInternalMemoizedMergedChildContext || _i, Yi = nn.current, ft(nn, i), ft(Tn, Tn.current), !0;
|
|
10205
10206
|
}
|
|
10206
10207
|
function pg(i, o, l) {
|
|
10207
10208
|
var h = i.stateNode;
|
|
@@ -10215,7 +10216,7 @@ function xN() {
|
|
|
10215
10216
|
function JA(i) {
|
|
10216
10217
|
tl = !0, mg(i);
|
|
10217
10218
|
}
|
|
10218
|
-
function
|
|
10219
|
+
function Si() {
|
|
10219
10220
|
if (!td && Yr !== null) {
|
|
10220
10221
|
td = !0;
|
|
10221
10222
|
var i = 0, o = ot;
|
|
@@ -10229,7 +10230,7 @@ function xN() {
|
|
|
10229
10230
|
}
|
|
10230
10231
|
Yr = null, tl = !1;
|
|
10231
10232
|
} catch (E) {
|
|
10232
|
-
throw Yr !== null && (Yr = Yr.slice(i + 1)), E0(xf,
|
|
10233
|
+
throw Yr !== null && (Yr = Yr.slice(i + 1)), E0(xf, Si), E;
|
|
10233
10234
|
} finally {
|
|
10234
10235
|
ot = o, td = !1;
|
|
10235
10236
|
}
|
|
@@ -10268,7 +10269,7 @@ function xN() {
|
|
|
10268
10269
|
switch (i.tag) {
|
|
10269
10270
|
case 5:
|
|
10270
10271
|
var l = i.type;
|
|
10271
|
-
return o = o.nodeType !== 1 || l.toLowerCase() !== o.nodeName.toLowerCase() ? null : o, o !== null ? (i.stateNode = o, In = i, Rn =
|
|
10272
|
+
return o = o.nodeType !== 1 || l.toLowerCase() !== o.nodeName.toLowerCase() ? null : o, o !== null ? (i.stateNode = o, In = i, Rn = Ti(o.firstChild), !0) : !1;
|
|
10272
10273
|
case 6:
|
|
10273
10274
|
return o = i.pendingProps === "" || o.nodeType !== 3 ? null : o, o !== null ? (i.stateNode = o, In = i, Rn = null, !0) : !1;
|
|
10274
10275
|
case 13:
|
|
@@ -10287,7 +10288,7 @@ function xN() {
|
|
|
10287
10288
|
var l = o;
|
|
10288
10289
|
if (!yg(i, o)) {
|
|
10289
10290
|
if (id(i)) throw Error(n(418));
|
|
10290
|
-
o =
|
|
10291
|
+
o = Ti(l.nextSibling);
|
|
10291
10292
|
var h = In;
|
|
10292
10293
|
o && yg(i, o) ? Eg(h, l) : (i.flags = i.flags & -4097 | 2, Tt = !1, In = i);
|
|
10293
10294
|
}
|
|
@@ -10307,7 +10308,7 @@ function xN() {
|
|
|
10307
10308
|
var o;
|
|
10308
10309
|
if ((o = i.tag !== 3) && !(o = i.tag !== 5) && (o = i.type, o = o !== "head" && o !== "body" && !Kf(i.type, i.memoizedProps)), o && (o = Rn)) {
|
|
10309
10310
|
if (id(i)) throw bg(), Error(n(418));
|
|
10310
|
-
for (; o; ) Eg(i, o), o =
|
|
10311
|
+
for (; o; ) Eg(i, o), o = Ti(o.nextSibling);
|
|
10311
10312
|
}
|
|
10312
10313
|
if (Tg(i), i.tag === 13) {
|
|
10313
10314
|
if (i = i.memoizedState, i = i !== null ? i.dehydrated : null, !i) throw Error(n(317));
|
|
@@ -10317,7 +10318,7 @@ function xN() {
|
|
|
10317
10318
|
var l = i.data;
|
|
10318
10319
|
if (l === "/$") {
|
|
10319
10320
|
if (o === 0) {
|
|
10320
|
-
Rn =
|
|
10321
|
+
Rn = Ti(i.nextSibling);
|
|
10321
10322
|
break e;
|
|
10322
10323
|
}
|
|
10323
10324
|
o--;
|
|
@@ -10327,11 +10328,11 @@ function xN() {
|
|
|
10327
10328
|
}
|
|
10328
10329
|
Rn = null;
|
|
10329
10330
|
}
|
|
10330
|
-
} else Rn = In ?
|
|
10331
|
+
} else Rn = In ? Ti(i.stateNode.nextSibling) : null;
|
|
10331
10332
|
return !0;
|
|
10332
10333
|
}
|
|
10333
10334
|
function bg() {
|
|
10334
|
-
for (var i = Rn; i; ) i =
|
|
10335
|
+
for (var i = Rn; i; ) i = Ti(i.nextSibling);
|
|
10335
10336
|
}
|
|
10336
10337
|
function zs() {
|
|
10337
10338
|
Rn = In = null, Tt = !1;
|
|
@@ -10383,7 +10384,7 @@ function xN() {
|
|
|
10383
10384
|
return G;
|
|
10384
10385
|
}
|
|
10385
10386
|
function E(G, z) {
|
|
10386
|
-
return G =
|
|
10387
|
+
return G = Ni(G, z), G.index = 0, G.sibling = null, G;
|
|
10387
10388
|
}
|
|
10388
10389
|
function T(G, z, K) {
|
|
10389
10390
|
return G.index = K, i ? (K = G.alternate, K !== null ? (K = K.index, K < z ? (G.flags |= 2, z) : K) : (G.flags |= 2, z)) : (G.flags |= 1048576, z);
|
|
@@ -10476,8 +10477,8 @@ function xN() {
|
|
|
10476
10477
|
return Tt && Wi(G, Ve), Le;
|
|
10477
10478
|
}
|
|
10478
10479
|
for (He = h(G, He); Ve < K.length; Ve++) Vt = Ae(He, G, Ve, K[Ve], Te), Vt !== null && (i && Vt.alternate !== null && He.delete(Vt.key === null ? Ve : Vt.key), z = T(Vt, z, Ve), Ue === null ? Le = Vt : Ue.sibling = Vt, Ue = Vt);
|
|
10479
|
-
return i && He.forEach(function(
|
|
10480
|
-
return o(G,
|
|
10480
|
+
return i && He.forEach(function(Oi) {
|
|
10481
|
+
return o(G, Oi);
|
|
10481
10482
|
}), Tt && Wi(G, Ve), Le;
|
|
10482
10483
|
}
|
|
10483
10484
|
function Oe(G, z, K, Te) {
|
|
@@ -10486,12 +10487,12 @@ function xN() {
|
|
|
10486
10487
|
if (K = Le.call(K), K == null) throw Error(n(151));
|
|
10487
10488
|
for (var Ue = Le = null, He = z, Ve = z = 0, Vt = null, nt = K.next(); He !== null && !nt.done; Ve++, nt = K.next()) {
|
|
10488
10489
|
He.index > Ve ? (Vt = He, He = null) : Vt = He.sibling;
|
|
10489
|
-
var
|
|
10490
|
-
if (
|
|
10490
|
+
var Oi = oe(G, He, nt.value, Te);
|
|
10491
|
+
if (Oi === null) {
|
|
10491
10492
|
He === null && (He = Vt);
|
|
10492
10493
|
break;
|
|
10493
10494
|
}
|
|
10494
|
-
i && He &&
|
|
10495
|
+
i && He && Oi.alternate === null && o(G, He), z = T(Oi, z, Ve), Ue === null ? Le = Oi : Ue.sibling = Oi, Ue = Oi, He = Vt;
|
|
10495
10496
|
}
|
|
10496
10497
|
if (nt.done) return l(
|
|
10497
10498
|
G,
|
|
@@ -10557,7 +10558,7 @@ function xN() {
|
|
|
10557
10558
|
}
|
|
10558
10559
|
return vt;
|
|
10559
10560
|
}
|
|
10560
|
-
var js = Sg(!0), xg = Sg(!1), ol =
|
|
10561
|
+
var js = Sg(!0), xg = Sg(!1), ol = bi(null), al = null, $s = null, ad = null;
|
|
10561
10562
|
function ud() {
|
|
10562
10563
|
ad = $s = al = null;
|
|
10563
10564
|
}
|
|
@@ -10597,7 +10598,7 @@ function xN() {
|
|
|
10597
10598
|
for (l !== null && (l.lanes |= o), l = i, i = i.return; i !== null; ) i.childLanes |= o, l = i.alternate, l !== null && (l.childLanes |= o), l = i, i = i.return;
|
|
10598
10599
|
return l.tag === 3 ? l.stateNode : null;
|
|
10599
10600
|
}
|
|
10600
|
-
var
|
|
10601
|
+
var xi = !1;
|
|
10601
10602
|
function dd(i) {
|
|
10602
10603
|
i.updateQueue = { baseState: i.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
|
|
10603
10604
|
}
|
|
@@ -10607,7 +10608,7 @@ function xN() {
|
|
|
10607
10608
|
function Kr(i, o) {
|
|
10608
10609
|
return { eventTime: i, lane: o, tag: 0, payload: null, callback: null, next: null };
|
|
10609
10610
|
}
|
|
10610
|
-
function
|
|
10611
|
+
function Ai(i, o, l) {
|
|
10611
10612
|
var h = i.updateQueue;
|
|
10612
10613
|
if (h === null) return null;
|
|
10613
10614
|
if (h = h.shared, (tt & 2) !== 0) {
|
|
@@ -10640,7 +10641,7 @@ function xN() {
|
|
|
10640
10641
|
}
|
|
10641
10642
|
function ll(i, o, l, h) {
|
|
10642
10643
|
var E = i.updateQueue;
|
|
10643
|
-
|
|
10644
|
+
xi = !1;
|
|
10644
10645
|
var T = E.firstBaseUpdate, x = E.lastBaseUpdate, R = E.shared.pending;
|
|
10645
10646
|
if (R !== null) {
|
|
10646
10647
|
E.shared.pending = null;
|
|
@@ -10680,7 +10681,7 @@ function xN() {
|
|
|
10680
10681
|
de = v({}, de, oe);
|
|
10681
10682
|
break e;
|
|
10682
10683
|
case 2:
|
|
10683
|
-
|
|
10684
|
+
xi = !0;
|
|
10684
10685
|
}
|
|
10685
10686
|
}
|
|
10686
10687
|
R.callback !== null && R.lane !== 0 && (i.flags |= 64, oe = E.effects, oe === null ? E.effects = [R] : oe.push(R));
|
|
@@ -10708,7 +10709,7 @@ function xN() {
|
|
|
10708
10709
|
}
|
|
10709
10710
|
}
|
|
10710
10711
|
}
|
|
10711
|
-
var pa = {}, Ar =
|
|
10712
|
+
var pa = {}, Ar = bi(pa), ma = bi(pa), ga = bi(pa);
|
|
10712
10713
|
function Ki(i) {
|
|
10713
10714
|
if (i === pa) throw Error(n(174));
|
|
10714
10715
|
return i;
|
|
@@ -10735,7 +10736,7 @@ function xN() {
|
|
|
10735
10736
|
function pd(i) {
|
|
10736
10737
|
ma.current === i && (Et(Ar), Et(ma));
|
|
10737
10738
|
}
|
|
10738
|
-
var St =
|
|
10739
|
+
var St = bi(0);
|
|
10739
10740
|
function cl(i) {
|
|
10740
10741
|
for (var o = i; o !== null; ) {
|
|
10741
10742
|
if (o.tag === 13) {
|
|
@@ -10977,7 +10978,7 @@ function xN() {
|
|
|
10977
10978
|
return Vn().memoizedState;
|
|
10978
10979
|
}
|
|
10979
10980
|
function nC(i, o, l) {
|
|
10980
|
-
var h =
|
|
10981
|
+
var h = ki(i);
|
|
10981
10982
|
if (l = { lane: h, action: l, hasEagerState: !1, eagerState: null, next: null }, Gg(i)) Wg(o, l);
|
|
10982
10983
|
else if (l = Ag(i, o, l, h), l !== null) {
|
|
10983
10984
|
var E = pn();
|
|
@@ -10985,7 +10986,7 @@ function xN() {
|
|
|
10985
10986
|
}
|
|
10986
10987
|
}
|
|
10987
10988
|
function rC(i, o, l) {
|
|
10988
|
-
var h =
|
|
10989
|
+
var h = ki(i), E = { lane: h, action: l, hasEagerState: !1, eagerState: null, next: null };
|
|
10989
10990
|
if (Gg(i)) Wg(o, E);
|
|
10990
10991
|
else {
|
|
10991
10992
|
var T = i.alternate;
|
|
@@ -11119,23 +11120,23 @@ function xN() {
|
|
|
11119
11120
|
return (i = i._reactInternals) ? Vi(i) === i : !1;
|
|
11120
11121
|
}, enqueueSetState: function(i, o, l) {
|
|
11121
11122
|
i = i._reactInternals;
|
|
11122
|
-
var h = pn(), E =
|
|
11123
|
-
T.payload = o, l != null && (T.callback = l), o =
|
|
11123
|
+
var h = pn(), E = ki(i), T = Kr(h, E);
|
|
11124
|
+
T.payload = o, l != null && (T.callback = l), o = Ai(i, T, E), o !== null && (lr(o, i, E, h), ul(o, i, E));
|
|
11124
11125
|
}, enqueueReplaceState: function(i, o, l) {
|
|
11125
11126
|
i = i._reactInternals;
|
|
11126
|
-
var h = pn(), E =
|
|
11127
|
-
T.tag = 1, T.payload = o, l != null && (T.callback = l), o =
|
|
11127
|
+
var h = pn(), E = ki(i), T = Kr(h, E);
|
|
11128
|
+
T.tag = 1, T.payload = o, l != null && (T.callback = l), o = Ai(i, T, E), o !== null && (lr(o, i, E, h), ul(o, i, E));
|
|
11128
11129
|
}, enqueueForceUpdate: function(i, o) {
|
|
11129
11130
|
i = i._reactInternals;
|
|
11130
|
-
var l = pn(), h =
|
|
11131
|
-
E.tag = 2, o != null && (E.callback = o), o =
|
|
11131
|
+
var l = pn(), h = ki(i), E = Kr(l, h);
|
|
11132
|
+
E.tag = 2, o != null && (E.callback = o), o = Ai(i, E, h), o !== null && (lr(o, i, h, l), ul(o, i, h));
|
|
11132
11133
|
} };
|
|
11133
11134
|
function Kg(i, o, l, h, E, T, x) {
|
|
11134
11135
|
return i = i.stateNode, typeof i.shouldComponentUpdate == "function" ? i.shouldComponentUpdate(h, T, x) : o.prototype && o.prototype.isPureReactComponent ? !oa(l, h) || !oa(E, T) : !0;
|
|
11135
11136
|
}
|
|
11136
11137
|
function Qg(i, o, l) {
|
|
11137
|
-
var h = !1, E =
|
|
11138
|
-
return typeof T == "object" && T !== null ? T = $n(T) : (E = bn(o) ? Yi : nn.current, h = o.contextTypes, T = (h = h != null) ? Bs(i, E) :
|
|
11138
|
+
var h = !1, E = _i, T = o.contextType;
|
|
11139
|
+
return typeof T == "object" && T !== null ? T = $n(T) : (E = bn(o) ? Yi : nn.current, h = o.contextTypes, T = (h = h != null) ? Bs(i, E) : _i), o = new o(l, T), i.memoizedState = o.state !== null && o.state !== void 0 ? o.state : null, o.updater = gl, i.stateNode = o, o._reactInternals = i, h && (i = i.stateNode, i.__reactInternalMemoizedUnmaskedChildContext = E, i.__reactInternalMemoizedMaskedChildContext = T), o;
|
|
11139
11140
|
}
|
|
11140
11141
|
function Jg(i, o, l, h) {
|
|
11141
11142
|
i = o.state, typeof o.componentWillReceiveProps == "function" && o.componentWillReceiveProps(l, h), typeof o.UNSAFE_componentWillReceiveProps == "function" && o.UNSAFE_componentWillReceiveProps(l, h), o.state !== i && gl.enqueueReplaceState(o, o.state, null);
|
|
@@ -11193,7 +11194,7 @@ Error generating stack: ` + T.message + `
|
|
|
11193
11194
|
}
|
|
11194
11195
|
var T = i.stateNode;
|
|
11195
11196
|
return T !== null && typeof T.componentDidCatch == "function" && (l.callback = function() {
|
|
11196
|
-
kd(i, o), typeof h != "function" && (
|
|
11197
|
+
kd(i, o), typeof h != "function" && (wi === null ? wi = /* @__PURE__ */ new Set([this]) : wi.add(this));
|
|
11197
11198
|
var x = o.stack;
|
|
11198
11199
|
this.componentDidCatch(o.value, { componentStack: x !== null ? x : "" });
|
|
11199
11200
|
}), l;
|
|
@@ -11216,7 +11217,7 @@ Error generating stack: ` + T.message + `
|
|
|
11216
11217
|
return null;
|
|
11217
11218
|
}
|
|
11218
11219
|
function r1(i, o, l, h, E) {
|
|
11219
|
-
return (i.mode & 1) === 0 ? (i === o ? i.flags |= 65536 : (i.flags |= 128, l.flags |= 131072, l.flags &= -52805, l.tag === 1 && (l.alternate === null ? l.tag = 17 : (o = Kr(-1, 1), o.tag = 2,
|
|
11220
|
+
return (i.mode & 1) === 0 ? (i === o ? i.flags |= 65536 : (i.flags |= 128, l.flags |= 131072, l.flags &= -52805, l.tag === 1 && (l.alternate === null ? l.tag = 17 : (o = Kr(-1, 1), o.tag = 2, Ai(l, o, 1))), l.lanes |= 1), i) : (i.flags |= 65536, i.lanes = E, i);
|
|
11220
11221
|
}
|
|
11221
11222
|
var uC = U.ReactCurrentOwner, _n = !1;
|
|
11222
11223
|
function hn(i, o, l, h) {
|
|
@@ -11236,7 +11237,7 @@ Error generating stack: ` + T.message + `
|
|
|
11236
11237
|
var x = T.memoizedProps;
|
|
11237
11238
|
if (l = l.compare, l = l !== null ? l : oa, l(x, h) && i.ref === o.ref) return Qr(i, o, E);
|
|
11238
11239
|
}
|
|
11239
|
-
return o.flags |= 1, i =
|
|
11240
|
+
return o.flags |= 1, i = Ni(T, h), i.ref = o.ref, i.return = o, o.child = i;
|
|
11240
11241
|
}
|
|
11241
11242
|
function o1(i, o, l, h, E) {
|
|
11242
11243
|
if (i !== null) {
|
|
@@ -11276,15 +11277,15 @@ Error generating stack: ` + T.message + `
|
|
|
11276
11277
|
var H = x.context, Z = l.contextType;
|
|
11277
11278
|
typeof Z == "object" && Z !== null ? Z = $n(Z) : (Z = bn(l) ? Yi : nn.current, Z = Bs(o, Z));
|
|
11278
11279
|
var le = l.getDerivedStateFromProps, de = typeof le == "function" || typeof x.getSnapshotBeforeUpdate == "function";
|
|
11279
|
-
de || typeof x.UNSAFE_componentWillReceiveProps != "function" && typeof x.componentWillReceiveProps != "function" || (R !== h || H !== Z) && Jg(o, x, h, Z),
|
|
11280
|
+
de || typeof x.UNSAFE_componentWillReceiveProps != "function" && typeof x.componentWillReceiveProps != "function" || (R !== h || H !== Z) && Jg(o, x, h, Z), xi = !1;
|
|
11280
11281
|
var oe = o.memoizedState;
|
|
11281
|
-
x.state = oe, ll(o, h, x, E), H = o.memoizedState, R !== h || oe !== H || Tn.current ||
|
|
11282
|
+
x.state = oe, ll(o, h, x, E), H = o.memoizedState, R !== h || oe !== H || Tn.current || xi ? (typeof le == "function" && (Cd(o, l, le, h), H = o.memoizedState), (R = xi || Kg(o, l, R, h, oe, H, Z)) ? (de || typeof x.UNSAFE_componentWillMount != "function" && typeof x.componentWillMount != "function" || (typeof x.componentWillMount == "function" && x.componentWillMount(), typeof x.UNSAFE_componentWillMount == "function" && x.UNSAFE_componentWillMount()), typeof x.componentDidMount == "function" && (o.flags |= 4194308)) : (typeof x.componentDidMount == "function" && (o.flags |= 4194308), o.memoizedProps = h, o.memoizedState = H), x.props = h, x.state = H, x.context = Z, h = R) : (typeof x.componentDidMount == "function" && (o.flags |= 4194308), h = !1);
|
|
11282
11283
|
} else {
|
|
11283
11284
|
x = o.stateNode, Cg(i, o), R = o.memoizedProps, Z = o.type === o.elementType ? R : or(o.type, R), x.props = Z, de = o.pendingProps, oe = x.context, H = l.contextType, typeof H == "object" && H !== null ? H = $n(H) : (H = bn(l) ? Yi : nn.current, H = Bs(o, H));
|
|
11284
11285
|
var Ae = l.getDerivedStateFromProps;
|
|
11285
|
-
(le = typeof Ae == "function" || typeof x.getSnapshotBeforeUpdate == "function") || typeof x.UNSAFE_componentWillReceiveProps != "function" && typeof x.componentWillReceiveProps != "function" || (R !== de || oe !== H) && Jg(o, x, h, H),
|
|
11286
|
+
(le = typeof Ae == "function" || typeof x.getSnapshotBeforeUpdate == "function") || typeof x.UNSAFE_componentWillReceiveProps != "function" && typeof x.componentWillReceiveProps != "function" || (R !== de || oe !== H) && Jg(o, x, h, H), xi = !1, oe = o.memoizedState, x.state = oe, ll(o, h, x, E);
|
|
11286
11287
|
var Pe = o.memoizedState;
|
|
11287
|
-
R !== de || oe !== Pe || Tn.current ||
|
|
11288
|
+
R !== de || oe !== Pe || Tn.current || xi ? (typeof Ae == "function" && (Cd(o, l, Ae, h), Pe = o.memoizedState), (Z = xi || Kg(o, l, Z, h, oe, Pe, H) || !1) ? (le || typeof x.UNSAFE_componentWillUpdate != "function" && typeof x.componentWillUpdate != "function" || (typeof x.componentWillUpdate == "function" && x.componentWillUpdate(h, Pe, H), typeof x.UNSAFE_componentWillUpdate == "function" && x.UNSAFE_componentWillUpdate(h, Pe, H)), typeof x.componentDidUpdate == "function" && (o.flags |= 4), typeof x.getSnapshotBeforeUpdate == "function" && (o.flags |= 1024)) : (typeof x.componentDidUpdate != "function" || R === i.memoizedProps && oe === i.memoizedState || (o.flags |= 4), typeof x.getSnapshotBeforeUpdate != "function" || R === i.memoizedProps && oe === i.memoizedState || (o.flags |= 1024), o.memoizedProps = h, o.memoizedState = Pe), x.props = h, x.state = Pe, x.context = H, h = Z) : (typeof x.componentDidUpdate != "function" || R === i.memoizedProps && oe === i.memoizedState || (o.flags |= 4), typeof x.getSnapshotBeforeUpdate != "function" || R === i.memoizedProps && oe === i.memoizedState || (o.flags |= 1024), h = !1);
|
|
11288
11289
|
}
|
|
11289
11290
|
return Nd(i, o, l, h, T, E);
|
|
11290
11291
|
}
|
|
@@ -11315,9 +11316,9 @@ Error generating stack: ` + T.message + `
|
|
|
11315
11316
|
if (T) {
|
|
11316
11317
|
T = h.fallback, x = o.mode, E = i.child, R = E.sibling;
|
|
11317
11318
|
var H = { mode: "hidden", children: h.children };
|
|
11318
|
-
return (x & 1) === 0 && o.child !== E ? (h = o.child, h.childLanes = 0, h.pendingProps = H, o.deletions = null) : (h =
|
|
11319
|
+
return (x & 1) === 0 && o.child !== E ? (h = o.child, h.childLanes = 0, h.pendingProps = H, o.deletions = null) : (h = Ni(E, H), h.subtreeFlags = E.subtreeFlags & 14680064), R !== null ? T = Ni(R, T) : (T = ns(T, x, l, null), T.flags |= 2), T.return = o, h.return = o, h.sibling = T, o.child = h, h = T, T = o.child, x = i.child.memoizedState, x = x === null ? Id(l) : { baseLanes: x.baseLanes | l, cachePool: null, transitions: x.transitions }, T.memoizedState = x, T.childLanes = i.childLanes & ~l, o.memoizedState = Od, h;
|
|
11319
11320
|
}
|
|
11320
|
-
return T = i.child, i = T.sibling, h =
|
|
11321
|
+
return T = i.child, i = T.sibling, h = Ni(T, { mode: "visible", children: h.children }), (o.mode & 1) === 0 && (h.lanes = l), h.return = o, h.sibling = null, i !== null && (l = o.deletions, l === null ? (o.deletions = [i], o.flags |= 16) : l.push(i)), o.child = h, o.memoizedState = null, h;
|
|
11321
11322
|
}
|
|
11322
11323
|
function Rd(i, o) {
|
|
11323
11324
|
return o = Nl({ mode: "visible", children: o }, i.mode, 0, null), o.return = i, i.child = o;
|
|
@@ -11375,7 +11376,7 @@ Error generating stack: ` + T.message + `
|
|
|
11375
11376
|
}
|
|
11376
11377
|
return Xd(), h = vd(Error(n(421))), El(i, o, x, h);
|
|
11377
11378
|
}
|
|
11378
|
-
return E.data === "$?" ? (o.flags |= 128, o.child = i.child, o = SC.bind(null, i), E._reactRetry = o, null) : (i = T.treeContext, Rn =
|
|
11379
|
+
return E.data === "$?" ? (o.flags |= 128, o.child = i.child, o = SC.bind(null, i), E._reactRetry = o, null) : (i = T.treeContext, Rn = Ti(E.nextSibling), In = o, Tt = !0, sr = null, i !== null && (zn[jn++] = Gr, zn[jn++] = Wr, zn[jn++] = Gi, Gr = i.id, Wr = i.overflow, Gi = o), o = Rd(o, h.children), o.flags |= 4096, o);
|
|
11379
11380
|
}
|
|
11380
11381
|
function h1(i, o, l) {
|
|
11381
11382
|
i.lanes |= o;
|
|
@@ -11437,7 +11438,7 @@ Error generating stack: ` + T.message + `
|
|
|
11437
11438
|
if (i !== null && (o.dependencies = i.dependencies), Ji |= o.lanes, (l & o.childLanes) === 0) return null;
|
|
11438
11439
|
if (i !== null && o.child !== i.child) throw Error(n(153));
|
|
11439
11440
|
if (o.child !== null) {
|
|
11440
|
-
for (i = o.child, l =
|
|
11441
|
+
for (i = o.child, l = Ni(i, i.pendingProps), o.child = l, l.return = o; i.sibling !== null; ) i = i.sibling, l = l.sibling = Ni(i, i.pendingProps), l.return = o;
|
|
11441
11442
|
l.sibling = null;
|
|
11442
11443
|
}
|
|
11443
11444
|
return o.child;
|
|
@@ -11614,7 +11615,7 @@ Error generating stack: ` + T.message + `
|
|
|
11614
11615
|
gt("toggle", h);
|
|
11615
11616
|
break;
|
|
11616
11617
|
case "input":
|
|
11617
|
-
|
|
11618
|
+
fi(h, T), gt("invalid", h);
|
|
11618
11619
|
break;
|
|
11619
11620
|
case "select":
|
|
11620
11621
|
h._wrapperState = { wasMultiple: !!T.multiple }, gt("invalid", h);
|
|
@@ -11677,7 +11678,7 @@ Error generating stack: ` + T.message + `
|
|
|
11677
11678
|
gt("toggle", i), E = h;
|
|
11678
11679
|
break;
|
|
11679
11680
|
case "input":
|
|
11680
|
-
|
|
11681
|
+
fi(i, h), E = yn(i, h), gt("invalid", i);
|
|
11681
11682
|
break;
|
|
11682
11683
|
case "option":
|
|
11683
11684
|
E = h;
|
|
@@ -11983,7 +11984,7 @@ Error generating stack: ` + T.message + `
|
|
|
11983
11984
|
else if (h !== 4 && (i = i.child, i !== null)) for (Ud(i, o, l), i = i.sibling; i !== null; ) Ud(i, o, l), i = i.sibling;
|
|
11984
11985
|
}
|
|
11985
11986
|
var Zt = null, ar = !1;
|
|
11986
|
-
function
|
|
11987
|
+
function Ci(i, o, l) {
|
|
11987
11988
|
for (l = l.child; l !== null; ) S1(i, o, l), l = l.sibling;
|
|
11988
11989
|
}
|
|
11989
11990
|
function S1(i, o, l) {
|
|
@@ -11996,13 +11997,13 @@ Error generating stack: ` + T.message + `
|
|
|
11996
11997
|
on || Gs(l, o);
|
|
11997
11998
|
case 6:
|
|
11998
11999
|
var h = Zt, E = ar;
|
|
11999
|
-
Zt = null,
|
|
12000
|
+
Zt = null, Ci(i, o, l), Zt = h, ar = E, Zt !== null && (ar ? (i = Zt, l = l.stateNode, i.nodeType === 8 ? i.parentNode.removeChild(l) : i.removeChild(l)) : Zt.removeChild(l.stateNode));
|
|
12000
12001
|
break;
|
|
12001
12002
|
case 18:
|
|
12002
12003
|
Zt !== null && (ar ? (i = Zt, l = l.stateNode, i.nodeType === 8 ? Jf(i.parentNode, l) : i.nodeType === 1 && Jf(i, l), ea(i)) : Jf(Zt, l.stateNode));
|
|
12003
12004
|
break;
|
|
12004
12005
|
case 4:
|
|
12005
|
-
h = Zt, E = ar, Zt = l.stateNode.containerInfo, ar = !0,
|
|
12006
|
+
h = Zt, E = ar, Zt = l.stateNode.containerInfo, ar = !0, Ci(i, o, l), Zt = h, ar = E;
|
|
12006
12007
|
break;
|
|
12007
12008
|
case 0:
|
|
12008
12009
|
case 11:
|
|
@@ -12015,7 +12016,7 @@ Error generating stack: ` + T.message + `
|
|
|
12015
12016
|
T = T.tag, x !== void 0 && ((T & 2) !== 0 || (T & 4) !== 0) && Md(l, o, x), E = E.next;
|
|
12016
12017
|
} while (E !== h);
|
|
12017
12018
|
}
|
|
12018
|
-
|
|
12019
|
+
Ci(i, o, l);
|
|
12019
12020
|
break;
|
|
12020
12021
|
case 1:
|
|
12021
12022
|
if (!on && (Gs(l, o), h = l.stateNode, typeof h.componentWillUnmount == "function")) try {
|
|
@@ -12023,16 +12024,16 @@ Error generating stack: ` + T.message + `
|
|
|
12023
12024
|
} catch (R) {
|
|
12024
12025
|
Ct(l, o, R);
|
|
12025
12026
|
}
|
|
12026
|
-
|
|
12027
|
+
Ci(i, o, l);
|
|
12027
12028
|
break;
|
|
12028
12029
|
case 21:
|
|
12029
|
-
|
|
12030
|
+
Ci(i, o, l);
|
|
12030
12031
|
break;
|
|
12031
12032
|
case 22:
|
|
12032
|
-
l.mode & 1 ? (on = (h = on) || l.memoizedState !== null,
|
|
12033
|
+
l.mode & 1 ? (on = (h = on) || l.memoizedState !== null, Ci(i, o, l), on = h) : Ci(i, o, l);
|
|
12033
12034
|
break;
|
|
12034
12035
|
default:
|
|
12035
|
-
|
|
12036
|
+
Ci(i, o, l);
|
|
12036
12037
|
}
|
|
12037
12038
|
}
|
|
12038
12039
|
function x1(i) {
|
|
@@ -12111,7 +12112,7 @@ Error generating stack: ` + T.message + `
|
|
|
12111
12112
|
if (h & 4 && (E = i.stateNode, E != null)) {
|
|
12112
12113
|
var T = i.memoizedProps, x = l !== null ? l.memoizedProps : T, R = i.type, H = i.updateQueue;
|
|
12113
12114
|
if (i.updateQueue = null, H !== null) try {
|
|
12114
|
-
R === "input" && T.type === "radio" && T.name != null &&
|
|
12115
|
+
R === "input" && T.type === "radio" && T.name != null && di(E, T), _r(R, x);
|
|
12115
12116
|
var Z = _r(R, T);
|
|
12116
12117
|
for (x = 0; x < H.length; x += 2) {
|
|
12117
12118
|
var le = H[x], de = H[x + 1];
|
|
@@ -12464,16 +12465,16 @@ Error generating stack: ` + T.message + `
|
|
|
12464
12465
|
ve = o.return;
|
|
12465
12466
|
}
|
|
12466
12467
|
}
|
|
12467
|
-
var gC = Math.ceil, _l = U.ReactCurrentDispatcher, Hd = U.ReactCurrentOwner, qn = U.ReactCurrentBatchConfig, tt = 0, $t = null, It = null, en = 0, Ln = 0, Ws =
|
|
12468
|
+
var gC = Math.ceil, _l = U.ReactCurrentDispatcher, Hd = U.ReactCurrentOwner, qn = U.ReactCurrentBatchConfig, tt = 0, $t = null, It = null, en = 0, Ln = 0, Ws = bi(0), Ut = 0, xa = null, Ji = 0, Sl = 0, zd = 0, Aa = null, Sn = null, jd = 0, Xs = 1 / 0, Jr = null, xl = !1, $d = null, wi = null, Al = !1, vi = null, Cl = 0, Ca = 0, Vd = null, wl = -1, vl = 0;
|
|
12468
12469
|
function pn() {
|
|
12469
12470
|
return (tt & 6) !== 0 ? wt() : wl !== -1 ? wl : wl = wt();
|
|
12470
12471
|
}
|
|
12471
|
-
function
|
|
12472
|
+
function ki(i) {
|
|
12472
12473
|
return (i.mode & 1) === 0 ? 1 : (tt & 2) !== 0 && en !== 0 ? en & -en : ZA.transition !== null ? (vl === 0 && (vl = _0()), vl) : (i = ot, i !== 0 || (i = window.event, i = i === void 0 ? 16 : N0(i.type)), i);
|
|
12473
12474
|
}
|
|
12474
12475
|
function lr(i, o, l, h) {
|
|
12475
12476
|
if (50 < Ca) throw Ca = 0, Vd = null, Error(n(185));
|
|
12476
|
-
Xo(i, l, h), ((tt & 2) === 0 || i !== $t) && (i === $t && ((tt & 2) === 0 && (Sl |= l), Ut === 4 &&
|
|
12477
|
+
Xo(i, l, h), ((tt & 2) === 0 || i !== $t) && (i === $t && ((tt & 2) === 0 && (Sl |= l), Ut === 4 && Pi(i, en)), xn(i, h), l === 1 && tt === 0 && (o.mode & 1) === 0 && (Xs = wt() + 500, tl && Si()));
|
|
12477
12478
|
}
|
|
12478
12479
|
function xn(i, o) {
|
|
12479
12480
|
var l = i.callbackNode;
|
|
@@ -12482,7 +12483,7 @@ Error generating stack: ` + T.message + `
|
|
|
12482
12483
|
if (h === 0) l !== null && y0(l), i.callbackNode = null, i.callbackPriority = 0;
|
|
12483
12484
|
else if (o = h & -h, i.callbackPriority !== o) {
|
|
12484
12485
|
if (l != null && y0(l), o === 1) i.tag === 0 ? JA(N1.bind(null, i)) : mg(N1.bind(null, i)), WA(function() {
|
|
12485
|
-
(tt & 6) === 0 &&
|
|
12486
|
+
(tt & 6) === 0 && Si();
|
|
12486
12487
|
}), l = null;
|
|
12487
12488
|
else {
|
|
12488
12489
|
switch (S0(h)) {
|
|
@@ -12530,10 +12531,10 @@ Error generating stack: ` + T.message + `
|
|
|
12530
12531
|
ud(), _l.current = T, tt = E, It !== null ? o = 0 : ($t = null, en = 0, o = Ut);
|
|
12531
12532
|
}
|
|
12532
12533
|
if (o !== 0) {
|
|
12533
|
-
if (o === 2 && (E = Af(i), E !== 0 && (h = E, o = qd(i, E))), o === 1) throw l = xa, es(i, 0),
|
|
12534
|
-
if (o === 6)
|
|
12534
|
+
if (o === 2 && (E = Af(i), E !== 0 && (h = E, o = qd(i, E))), o === 1) throw l = xa, es(i, 0), Pi(i, h), xn(i, wt()), l;
|
|
12535
|
+
if (o === 6) Pi(i, h);
|
|
12535
12536
|
else {
|
|
12536
|
-
if (E = i.current.alternate, (h & 30) === 0 && !EC(E) && (o = kl(i, h), o === 2 && (T = Af(i), T !== 0 && (h = T, o = qd(i, T))), o === 1)) throw l = xa, es(i, 0),
|
|
12537
|
+
if (E = i.current.alternate, (h & 30) === 0 && !EC(E) && (o = kl(i, h), o === 2 && (T = Af(i), T !== 0 && (h = T, o = qd(i, T))), o === 1)) throw l = xa, es(i, 0), Pi(i, h), xn(i, wt()), l;
|
|
12537
12538
|
switch (i.finishedWork = E, i.finishedLanes = h, o) {
|
|
12538
12539
|
case 0:
|
|
12539
12540
|
case 1:
|
|
@@ -12542,7 +12543,7 @@ Error generating stack: ` + T.message + `
|
|
|
12542
12543
|
ts(i, Sn, Jr);
|
|
12543
12544
|
break;
|
|
12544
12545
|
case 3:
|
|
12545
|
-
if (
|
|
12546
|
+
if (Pi(i, h), (h & 130023424) === h && (o = jd + 500 - wt(), 10 < o)) {
|
|
12546
12547
|
if (Mu(i, 0) !== 0) break;
|
|
12547
12548
|
if (E = i.suspendedLanes, (E & h) !== h) {
|
|
12548
12549
|
pn(), i.pingedLanes |= i.suspendedLanes & E;
|
|
@@ -12554,7 +12555,7 @@ Error generating stack: ` + T.message + `
|
|
|
12554
12555
|
ts(i, Sn, Jr);
|
|
12555
12556
|
break;
|
|
12556
12557
|
case 4:
|
|
12557
|
-
if (
|
|
12558
|
+
if (Pi(i, h), (h & 4194240) === h) break;
|
|
12558
12559
|
for (o = i.eventTimes, E = -1; 0 < h; ) {
|
|
12559
12560
|
var x = 31 - rr(h);
|
|
12560
12561
|
T = 1 << x, x = o[x], x > E && (E = x), h &= ~T;
|
|
@@ -12608,7 +12609,7 @@ Error generating stack: ` + T.message + `
|
|
|
12608
12609
|
}
|
|
12609
12610
|
return !0;
|
|
12610
12611
|
}
|
|
12611
|
-
function
|
|
12612
|
+
function Pi(i, o) {
|
|
12612
12613
|
for (o &= ~zd, o &= ~Sl, i.suspendedLanes |= o, i.pingedLanes &= ~o, i = i.expirationTimes; 0 < o; ) {
|
|
12613
12614
|
var l = 31 - rr(o), h = 1 << l;
|
|
12614
12615
|
i[l] = -1, o &= ~h;
|
|
@@ -12624,7 +12625,7 @@ Error generating stack: ` + T.message + `
|
|
|
12624
12625
|
var h = Af(i);
|
|
12625
12626
|
h !== 0 && (o = h, l = qd(i, h));
|
|
12626
12627
|
}
|
|
12627
|
-
if (l === 1) throw l = xa, es(i, 0),
|
|
12628
|
+
if (l === 1) throw l = xa, es(i, 0), Pi(i, o), xn(i, wt()), l;
|
|
12628
12629
|
if (l === 6) throw Error(n(345));
|
|
12629
12630
|
return i.finishedWork = i.current.alternate, i.finishedLanes = o, ts(i, Sn, Jr), xn(i, wt()), null;
|
|
12630
12631
|
}
|
|
@@ -12634,18 +12635,18 @@ Error generating stack: ` + T.message + `
|
|
|
12634
12635
|
try {
|
|
12635
12636
|
return i(o);
|
|
12636
12637
|
} finally {
|
|
12637
|
-
tt = l, tt === 0 && (Xs = wt() + 500, tl &&
|
|
12638
|
+
tt = l, tt === 0 && (Xs = wt() + 500, tl && Si());
|
|
12638
12639
|
}
|
|
12639
12640
|
}
|
|
12640
12641
|
function Zi(i) {
|
|
12641
|
-
|
|
12642
|
+
vi !== null && vi.tag === 0 && (tt & 6) === 0 && Ks();
|
|
12642
12643
|
var o = tt;
|
|
12643
12644
|
tt |= 1;
|
|
12644
12645
|
var l = qn.transition, h = ot;
|
|
12645
12646
|
try {
|
|
12646
12647
|
if (qn.transition = null, ot = 1, i) return i();
|
|
12647
12648
|
} finally {
|
|
12648
|
-
ot = h, qn.transition = l, tt = o, (tt & 6) === 0 &&
|
|
12649
|
+
ot = h, qn.transition = l, tt = o, (tt & 6) === 0 && Si();
|
|
12649
12650
|
}
|
|
12650
12651
|
}
|
|
12651
12652
|
function Wd() {
|
|
@@ -12684,7 +12685,7 @@ Error generating stack: ` + T.message + `
|
|
|
12684
12685
|
}
|
|
12685
12686
|
l = l.return;
|
|
12686
12687
|
}
|
|
12687
|
-
if ($t = i, It = i =
|
|
12688
|
+
if ($t = i, It = i = Ni(i.current, null), en = Ln = o, Ut = 0, xa = null, zd = Sl = Ji = 0, Sn = Aa = null, Xi !== null) {
|
|
12688
12689
|
for (o = 0; o < Xi.length; o++) if (l = Xi[o], h = l.interleaved, h !== null) {
|
|
12689
12690
|
l.interleaved = null;
|
|
12690
12691
|
var E = h.next, T = l.pending;
|
|
@@ -12755,7 +12756,7 @@ Error generating stack: ` + T.message + `
|
|
|
12755
12756
|
case 1:
|
|
12756
12757
|
R = H;
|
|
12757
12758
|
var z = T.type, K = T.stateNode;
|
|
12758
|
-
if ((T.flags & 128) === 0 && (typeof z.getDerivedStateFromError == "function" || K !== null && typeof K.componentDidCatch == "function" && (
|
|
12759
|
+
if ((T.flags & 128) === 0 && (typeof z.getDerivedStateFromError == "function" || K !== null && typeof K.componentDidCatch == "function" && (wi === null || !wi.has(K)))) {
|
|
12759
12760
|
T.flags |= 65536, o &= -o, T.lanes |= o;
|
|
12760
12761
|
var Te = e1(T, R, o);
|
|
12761
12762
|
wg(T, Te);
|
|
@@ -12778,7 +12779,7 @@ Error generating stack: ` + T.message + `
|
|
|
12778
12779
|
return _l.current = ml, i === null ? ml : i;
|
|
12779
12780
|
}
|
|
12780
12781
|
function Xd() {
|
|
12781
|
-
(Ut === 0 || Ut === 3 || Ut === 2) && (Ut = 4), $t === null || (Ji & 268435455) === 0 && (Sl & 268435455) === 0 ||
|
|
12782
|
+
(Ut === 0 || Ut === 3 || Ut === 2) && (Ut = 4), $t === null || (Ji & 268435455) === 0 && (Sl & 268435455) === 0 || Pi($t, en);
|
|
12782
12783
|
}
|
|
12783
12784
|
function kl(i, o) {
|
|
12784
12785
|
var l = tt;
|
|
@@ -12846,7 +12847,7 @@ Error generating stack: ` + T.message + `
|
|
|
12846
12847
|
function bC(i, o, l, h) {
|
|
12847
12848
|
do
|
|
12848
12849
|
Ks();
|
|
12849
|
-
while (
|
|
12850
|
+
while (vi !== null);
|
|
12850
12851
|
if ((tt & 6) !== 0) throw Error(n(327));
|
|
12851
12852
|
l = i.finishedWork;
|
|
12852
12853
|
var E = i.finishedLanes;
|
|
@@ -12863,17 +12864,17 @@ Error generating stack: ` + T.message + `
|
|
|
12863
12864
|
var R = tt;
|
|
12864
12865
|
tt |= 4, Hd.current = null, pC(i, l), A1(l, i), HA(Xf), Uu = !!Wf, Xf = Wf = null, i.current = l, mC(l), qx(), tt = R, ot = x, qn.transition = T;
|
|
12865
12866
|
} else i.current = l;
|
|
12866
|
-
if (Al && (Al = !1,
|
|
12867
|
+
if (Al && (Al = !1, vi = i, Cl = E), T = i.pendingLanes, T === 0 && (wi = null), Wx(l.stateNode), xn(i, wt()), o !== null) for (h = i.onRecoverableError, l = 0; l < o.length; l++) E = o[l], h(E.value, { componentStack: E.stack, digest: E.digest });
|
|
12867
12868
|
if (xl) throw xl = !1, i = $d, $d = null, i;
|
|
12868
|
-
return (Cl & 1) !== 0 && i.tag !== 0 && Ks(), T = i.pendingLanes, (T & 1) !== 0 ? i === Vd ? Ca++ : (Ca = 0, Vd = i) : Ca = 0,
|
|
12869
|
+
return (Cl & 1) !== 0 && i.tag !== 0 && Ks(), T = i.pendingLanes, (T & 1) !== 0 ? i === Vd ? Ca++ : (Ca = 0, Vd = i) : Ca = 0, Si(), null;
|
|
12869
12870
|
}
|
|
12870
12871
|
function Ks() {
|
|
12871
|
-
if (
|
|
12872
|
+
if (vi !== null) {
|
|
12872
12873
|
var i = S0(Cl), o = qn.transition, l = ot;
|
|
12873
12874
|
try {
|
|
12874
|
-
if (qn.transition = null, ot = 16 > i ? 16 : i,
|
|
12875
|
+
if (qn.transition = null, ot = 16 > i ? 16 : i, vi === null) var h = !1;
|
|
12875
12876
|
else {
|
|
12876
|
-
if (i =
|
|
12877
|
+
if (i = vi, vi = null, Cl = 0, (tt & 6) !== 0) throw Error(n(331));
|
|
12877
12878
|
var E = tt;
|
|
12878
12879
|
for (tt |= 4, ve = i.current; ve !== null; ) {
|
|
12879
12880
|
var T = ve, x = T.child;
|
|
@@ -12965,7 +12966,7 @@ Error generating stack: ` + T.message + `
|
|
|
12965
12966
|
ve = R.return;
|
|
12966
12967
|
}
|
|
12967
12968
|
}
|
|
12968
|
-
if (tt = E,
|
|
12969
|
+
if (tt = E, Si(), Sr && typeof Sr.onPostCommitFiberRoot == "function") try {
|
|
12969
12970
|
Sr.onPostCommitFiberRoot(Ru, i);
|
|
12970
12971
|
} catch (Le) {
|
|
12971
12972
|
}
|
|
@@ -12979,7 +12980,7 @@ Error generating stack: ` + T.message + `
|
|
|
12979
12980
|
return !1;
|
|
12980
12981
|
}
|
|
12981
12982
|
function D1(i, o, l) {
|
|
12982
|
-
o = Ys(l, o), o = Zg(i, o, 1), i =
|
|
12983
|
+
o = Ys(l, o), o = Zg(i, o, 1), i = Ai(i, o, 1), o = pn(), i !== null && (Xo(i, 1, o), xn(i, o));
|
|
12983
12984
|
}
|
|
12984
12985
|
function Ct(i, o, l) {
|
|
12985
12986
|
if (i.tag === 3) D1(i, i, l);
|
|
@@ -12989,8 +12990,8 @@ Error generating stack: ` + T.message + `
|
|
|
12989
12990
|
break;
|
|
12990
12991
|
} else if (o.tag === 1) {
|
|
12991
12992
|
var h = o.stateNode;
|
|
12992
|
-
if (typeof o.type.getDerivedStateFromError == "function" || typeof h.componentDidCatch == "function" && (
|
|
12993
|
-
i = Ys(l, i), i = e1(o, i, 1), o =
|
|
12993
|
+
if (typeof o.type.getDerivedStateFromError == "function" || typeof h.componentDidCatch == "function" && (wi === null || !wi.has(h))) {
|
|
12994
|
+
i = Ys(l, i), i = e1(o, i, 1), o = Ai(o, i, 1), i = pn(), o !== null && (Xo(o, 1, i), xn(o, i));
|
|
12994
12995
|
break;
|
|
12995
12996
|
}
|
|
12996
12997
|
}
|
|
@@ -13080,7 +13081,7 @@ Error generating stack: ` + T.message + `
|
|
|
13080
13081
|
} else if (h !== E) {
|
|
13081
13082
|
E = Ys(Error(n(424)), o), o = f1(i, o, h, l, E);
|
|
13082
13083
|
break e;
|
|
13083
|
-
} else for (Rn =
|
|
13084
|
+
} else for (Rn = Ti(o.stateNode.containerInfo.firstChild), In = o, Tt = !0, sr = null, l = xg(o, null, h, l), o.child = l; l; ) l.flags = l.flags & -3 | 4096, l = l.sibling;
|
|
13084
13085
|
else {
|
|
13085
13086
|
if (zs(), h === E) {
|
|
13086
13087
|
o = Qr(i, o, l);
|
|
@@ -13195,7 +13196,7 @@ Error generating stack: ` + T.message + `
|
|
|
13195
13196
|
}
|
|
13196
13197
|
return 2;
|
|
13197
13198
|
}
|
|
13198
|
-
function
|
|
13199
|
+
function Ni(i, o) {
|
|
13199
13200
|
var l = i.alternate;
|
|
13200
13201
|
return l === null ? (l = Yn(i.tag, o, i.key, i.mode), l.elementType = i.elementType, l.type = i.type, l.stateNode = i.stateNode, l.alternate = i, i.alternate = l) : (l.pendingProps = o, l.type = i.type, l.flags = 0, l.subtreeFlags = 0, l.deletions = null), l.flags = i.flags & 14680064, l.childLanes = i.childLanes, l.lanes = i.lanes, l.child = i.child, l.memoizedProps = i.memoizedProps, l.memoizedState = i.memoizedState, l.updateQueue = i.updateQueue, o = i.dependencies, l.dependencies = o === null ? null : { lanes: o.lanes, firstContext: o.firstContext }, l.sibling = i.sibling, l.index = i.index, l.ref = i.ref, l;
|
|
13201
13202
|
}
|
|
@@ -13262,7 +13263,7 @@ Error generating stack: ` + T.message + `
|
|
|
13262
13263
|
return { $$typeof: F, key: h == null ? null : "" + h, children: i, containerInfo: o, implementation: l };
|
|
13263
13264
|
}
|
|
13264
13265
|
function U1(i) {
|
|
13265
|
-
if (!i) return
|
|
13266
|
+
if (!i) return _i;
|
|
13266
13267
|
i = i._reactInternals;
|
|
13267
13268
|
e: {
|
|
13268
13269
|
if (Vi(i) !== i || i.tag !== 1) throw Error(n(170));
|
|
@@ -13289,11 +13290,11 @@ Error generating stack: ` + T.message + `
|
|
|
13289
13290
|
return o;
|
|
13290
13291
|
}
|
|
13291
13292
|
function H1(i, o, l, h, E, T, x, R, H) {
|
|
13292
|
-
return i = Zd(l, h, !0, i, E, T, x, R, H), i.context = U1(null), l = i.current, h = pn(), E =
|
|
13293
|
+
return i = Zd(l, h, !0, i, E, T, x, R, H), i.context = U1(null), l = i.current, h = pn(), E = ki(l), T = Kr(h, E), T.callback = o != null ? o : null, Ai(l, T, E), i.current.lanes = E, Xo(i, E, h), xn(i, h), i;
|
|
13293
13294
|
}
|
|
13294
13295
|
function Ol(i, o, l, h) {
|
|
13295
|
-
var E = o.current, T = pn(), x =
|
|
13296
|
-
return l = U1(l), o.context === null ? o.context = l : o.pendingContext = l, o = Kr(T, x), o.payload = { element: i }, h = h === void 0 ? null : h, h !== null && (o.callback = h), i =
|
|
13296
|
+
var E = o.current, T = pn(), x = ki(E);
|
|
13297
|
+
return l = U1(l), o.context === null ? o.context = l : o.pendingContext = l, o = Kr(T, x), o.payload = { element: i }, h = h === void 0 ? null : h, h !== null && (o.callback = h), i = Ai(E, o, x), i !== null && (lr(i, E, x, T), ul(i, E, x)), x;
|
|
13297
13298
|
}
|
|
13298
13299
|
function Il(i) {
|
|
13299
13300
|
return i = i.current, i.child ? (i.child.tag === 5, i.child.stateNode) : null;
|
|
@@ -13337,8 +13338,8 @@ Error generating stack: ` + T.message + `
|
|
|
13337
13338
|
if (i) {
|
|
13338
13339
|
var o = C0();
|
|
13339
13340
|
i = { blockedOn: null, target: i, priority: o };
|
|
13340
|
-
for (var l = 0; l <
|
|
13341
|
-
|
|
13341
|
+
for (var l = 0; l < gi.length && o !== 0 && o < gi[l].priority; l++) ;
|
|
13342
|
+
gi.splice(l, 0, i), l === 0 && k0(i);
|
|
13342
13343
|
}
|
|
13343
13344
|
};
|
|
13344
13345
|
function nh(i) {
|
|
@@ -13395,7 +13396,7 @@ Error generating stack: ` + T.message + `
|
|
|
13395
13396
|
var o = i.stateNode;
|
|
13396
13397
|
if (o.current.memoizedState.isDehydrated) {
|
|
13397
13398
|
var l = Wo(o.pendingLanes);
|
|
13398
|
-
l !== 0 && (wf(o, l | 1), xn(o, wt()), (tt & 6) === 0 && (Xs = wt() + 500,
|
|
13399
|
+
l !== 0 && (wf(o, l | 1), xn(o, wt()), (tt & 6) === 0 && (Xs = wt() + 500, Si()));
|
|
13399
13400
|
}
|
|
13400
13401
|
break;
|
|
13401
13402
|
case 13:
|
|
@@ -13418,7 +13419,7 @@ Error generating stack: ` + T.message + `
|
|
|
13418
13419
|
}
|
|
13419
13420
|
}, A0 = function(i) {
|
|
13420
13421
|
if (i.tag === 13) {
|
|
13421
|
-
var o =
|
|
13422
|
+
var o = ki(i), l = Xr(i, o);
|
|
13422
13423
|
if (l !== null) {
|
|
13423
13424
|
var h = pn();
|
|
13424
13425
|
lr(l, i, o, h);
|
|
@@ -13649,7 +13650,7 @@ function NN(e) {
|
|
|
13649
13650
|
function ON(e) {
|
|
13650
13651
|
return Nt({ attr: { fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", "aria-hidden": "true" }, child: [{ tag: "path", attr: { strokeLinecap: "round", strokeLinejoin: "round", d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z" }, child: [] }] })(e);
|
|
13651
13652
|
}
|
|
13652
|
-
const
|
|
13653
|
+
const li = ({
|
|
13653
13654
|
className: e,
|
|
13654
13655
|
iconUrl: t,
|
|
13655
13656
|
icon: n,
|
|
@@ -13692,7 +13693,7 @@ const ui = ({
|
|
|
13692
13693
|
}
|
|
13693
13694
|
);
|
|
13694
13695
|
return /* @__PURE__ */ A.jsx(
|
|
13695
|
-
|
|
13696
|
+
li,
|
|
13696
13697
|
{
|
|
13697
13698
|
className: X(t, `${j}-minimized-button`),
|
|
13698
13699
|
ariaLabel: a,
|
|
@@ -13703,7 +13704,7 @@ const ui = ({
|
|
|
13703
13704
|
);
|
|
13704
13705
|
}, LN = () => {
|
|
13705
13706
|
const { globalClassName: e, themeVariables: t } = it(), n = () => {
|
|
13706
|
-
$c(!1),
|
|
13707
|
+
$c(!1), oi(!0);
|
|
13707
13708
|
};
|
|
13708
13709
|
return No.createPortal(
|
|
13709
13710
|
/* @__PURE__ */ A.jsx(
|
|
@@ -13808,7 +13809,7 @@ const zN = (e) => ({
|
|
|
13808
13809
|
}) => {
|
|
13809
13810
|
if ((t == null ? void 0 : t.buttonType) === "icon")
|
|
13810
13811
|
return /* @__PURE__ */ A.jsx(
|
|
13811
|
-
|
|
13812
|
+
li,
|
|
13812
13813
|
{
|
|
13813
13814
|
className: X(
|
|
13814
13815
|
e,
|
|
@@ -13856,7 +13857,7 @@ const qN = () => {
|
|
|
13856
13857
|
}, YN = ({ isLoading: e }) => {
|
|
13857
13858
|
const { globalClassName: t, searchConfig: n } = it(), { cancelRequest: r } = qN();
|
|
13858
13859
|
return n != null && n.enableCancelSearch ? /* @__PURE__ */ A.jsx(
|
|
13859
|
-
|
|
13860
|
+
li,
|
|
13860
13861
|
{
|
|
13861
13862
|
className: X(t, `${j}-cancel-button`),
|
|
13862
13863
|
ariaLabel: "Cancel Copilot chat processing",
|
|
@@ -17868,7 +17869,7 @@ function O3(e) {
|
|
|
17868
17869
|
autolink: a(Vr),
|
|
17869
17870
|
autolinkProtocol: ge,
|
|
17870
17871
|
autolinkEmail: ge,
|
|
17871
|
-
atxHeading: a(
|
|
17872
|
+
atxHeading: a(fi),
|
|
17872
17873
|
blockQuote: a(ut),
|
|
17873
17874
|
characterEscape: ge,
|
|
17874
17875
|
characterReference: ge,
|
|
@@ -17885,8 +17886,8 @@ function O3(e) {
|
|
|
17885
17886
|
definitionLabelString: u,
|
|
17886
17887
|
definitionTitleString: u,
|
|
17887
17888
|
emphasis: a(yn),
|
|
17888
|
-
hardBreakEscape: a(
|
|
17889
|
-
hardBreakTrailing: a(
|
|
17889
|
+
hardBreakEscape: a(di),
|
|
17890
|
+
hardBreakTrailing: a(di),
|
|
17890
17891
|
htmlFlow: a($r, u),
|
|
17891
17892
|
htmlFlowData: ge,
|
|
17892
17893
|
htmlText: a($r, u),
|
|
@@ -17903,7 +17904,7 @@ function O3(e) {
|
|
|
17903
17904
|
referenceString: u,
|
|
17904
17905
|
resourceDestinationString: u,
|
|
17905
17906
|
resourceTitleString: u,
|
|
17906
|
-
setextHeading: a(
|
|
17907
|
+
setextHeading: a(fi),
|
|
17907
17908
|
strong: a(Fe),
|
|
17908
17909
|
thematicBreak: a(lt)
|
|
17909
17910
|
},
|
|
@@ -17997,12 +17998,12 @@ function O3(e) {
|
|
|
17997
17998
|
(st[1] || ny).call(we, void 0, st[0]);
|
|
17998
17999
|
}
|
|
17999
18000
|
for (me.position = {
|
|
18000
|
-
start:
|
|
18001
|
+
start: Ri(J.length > 0 ? J[0][1].start : {
|
|
18001
18002
|
line: 1,
|
|
18002
18003
|
column: 1,
|
|
18003
18004
|
offset: 0
|
|
18004
18005
|
}),
|
|
18005
|
-
end:
|
|
18006
|
+
end: Ri(J.length > 0 ? J[J.length - 2][1].end : {
|
|
18006
18007
|
line: 1,
|
|
18007
18008
|
column: 1,
|
|
18008
18009
|
offset: 0
|
|
@@ -18075,7 +18076,7 @@ function O3(e) {
|
|
|
18075
18076
|
}
|
|
18076
18077
|
function c(J, me, we) {
|
|
18077
18078
|
this.stack[this.stack.length - 1].children.push(J), this.stack.push(J), this.tokenStack.push([me, we || void 0]), J.position = {
|
|
18078
|
-
start:
|
|
18079
|
+
start: Ri(me.start),
|
|
18079
18080
|
// @ts-expect-error: `end` will be patched later.
|
|
18080
18081
|
end: void 0
|
|
18081
18082
|
};
|
|
@@ -18094,7 +18095,7 @@ function O3(e) {
|
|
|
18094
18095
|
start: J.start,
|
|
18095
18096
|
end: J.end
|
|
18096
18097
|
}) + "): it’s not open");
|
|
18097
|
-
we.position.end =
|
|
18098
|
+
we.position.end = Ri(J.end);
|
|
18098
18099
|
}
|
|
18099
18100
|
function p() {
|
|
18100
18101
|
return Em(this.stack.pop());
|
|
@@ -18160,20 +18161,20 @@ function O3(e) {
|
|
|
18160
18161
|
const we = this.stack[this.stack.length - 1].children;
|
|
18161
18162
|
let je = we[we.length - 1];
|
|
18162
18163
|
(!je || je.type !== "text") && (je = Ze(), je.position = {
|
|
18163
|
-
start:
|
|
18164
|
+
start: Ri(J.start),
|
|
18164
18165
|
// @ts-expect-error: we’ll add `end` later.
|
|
18165
18166
|
end: void 0
|
|
18166
18167
|
}, we.push(je)), this.stack.push(je);
|
|
18167
18168
|
}
|
|
18168
18169
|
function $(J) {
|
|
18169
18170
|
const me = this.stack.pop();
|
|
18170
|
-
me.value += this.sliceSerialize(J), me.position.end =
|
|
18171
|
+
me.value += this.sliceSerialize(J), me.position.end = Ri(J.end);
|
|
18171
18172
|
}
|
|
18172
18173
|
function se(J) {
|
|
18173
18174
|
const me = this.stack[this.stack.length - 1];
|
|
18174
18175
|
if (this.data.atHardBreak) {
|
|
18175
18176
|
const we = me.children[me.children.length - 1];
|
|
18176
|
-
we.position.end =
|
|
18177
|
+
we.position.end = Ri(J.end), this.data.atHardBreak = void 0;
|
|
18177
18178
|
return;
|
|
18178
18179
|
}
|
|
18179
18180
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(me.type) && (ge.call(this, J), $.call(this, J));
|
|
@@ -18253,7 +18254,7 @@ function O3(e) {
|
|
|
18253
18254
|
}
|
|
18254
18255
|
function Be(J) {
|
|
18255
18256
|
const me = this.stack.pop();
|
|
18256
|
-
me.position.end =
|
|
18257
|
+
me.position.end = Ri(J.end);
|
|
18257
18258
|
}
|
|
18258
18259
|
function xe(J) {
|
|
18259
18260
|
$.call(this, J);
|
|
@@ -18300,7 +18301,7 @@ function O3(e) {
|
|
|
18300
18301
|
children: []
|
|
18301
18302
|
};
|
|
18302
18303
|
}
|
|
18303
|
-
function
|
|
18304
|
+
function fi() {
|
|
18304
18305
|
return {
|
|
18305
18306
|
type: "heading",
|
|
18306
18307
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -18308,7 +18309,7 @@ function O3(e) {
|
|
|
18308
18309
|
children: []
|
|
18309
18310
|
};
|
|
18310
18311
|
}
|
|
18311
|
-
function
|
|
18312
|
+
function di() {
|
|
18312
18313
|
return {
|
|
18313
18314
|
type: "break"
|
|
18314
18315
|
};
|
|
@@ -18376,7 +18377,7 @@ function O3(e) {
|
|
|
18376
18377
|
};
|
|
18377
18378
|
}
|
|
18378
18379
|
}
|
|
18379
|
-
function
|
|
18380
|
+
function Ri(e) {
|
|
18380
18381
|
return {
|
|
18381
18382
|
line: e.line,
|
|
18382
18383
|
column: e.column,
|
|
@@ -22392,10 +22393,10 @@ var Wt;
|
|
|
22392
22393
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
22393
22394
|
})(Wt || (Wt = {}));
|
|
22394
22395
|
const VL = 32;
|
|
22395
|
-
var
|
|
22396
|
+
var Bi;
|
|
22396
22397
|
(function(e) {
|
|
22397
22398
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
22398
|
-
})(
|
|
22399
|
+
})(Bi || (Bi = {}));
|
|
22399
22400
|
function xp(e) {
|
|
22400
22401
|
return e >= Wt.ZERO && e <= Wt.NINE;
|
|
22401
22402
|
}
|
|
@@ -22541,7 +22542,7 @@ class WL {
|
|
|
22541
22542
|
*/
|
|
22542
22543
|
stateNamedEntity(t, n) {
|
|
22543
22544
|
const { decodeTree: r } = this;
|
|
22544
|
-
let s = r[this.treeIndex], a = (s &
|
|
22545
|
+
let s = r[this.treeIndex], a = (s & Bi.VALUE_LENGTH) >> 14;
|
|
22545
22546
|
for (; n < t.length; n++, this.excess++) {
|
|
22546
22547
|
const u = t.charCodeAt(n);
|
|
22547
22548
|
if (this.treeIndex = XL(r, s, this.treeIndex + Math.max(1, a), u), this.treeIndex < 0)
|
|
@@ -22549,7 +22550,7 @@ class WL {
|
|
|
22549
22550
|
this.decodeMode === ii.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
22550
22551
|
(a === 0 || // And there should be no invalid characters.
|
|
22551
22552
|
GL(u)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
22552
|
-
if (s = r[this.treeIndex], a = (s &
|
|
22553
|
+
if (s = r[this.treeIndex], a = (s & Bi.VALUE_LENGTH) >> 14, a !== 0) {
|
|
22553
22554
|
if (u === Wt.SEMI)
|
|
22554
22555
|
return this.emitNamedEntityData(this.treeIndex, a, this.consumed + this.excess);
|
|
22555
22556
|
this.decodeMode !== ii.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
@@ -22564,7 +22565,7 @@ class WL {
|
|
|
22564
22565
|
*/
|
|
22565
22566
|
emitNotTerminatedNamedEntity() {
|
|
22566
22567
|
var t;
|
|
22567
|
-
const { result: n, decodeTree: r } = this, s = (r[n] &
|
|
22568
|
+
const { result: n, decodeTree: r } = this, s = (r[n] & Bi.VALUE_LENGTH) >> 14;
|
|
22568
22569
|
return this.emitNamedEntityData(n, s, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
22569
22570
|
}
|
|
22570
22571
|
/**
|
|
@@ -22578,7 +22579,7 @@ class WL {
|
|
|
22578
22579
|
*/
|
|
22579
22580
|
emitNamedEntityData(t, n, r) {
|
|
22580
22581
|
const { decodeTree: s } = this;
|
|
22581
|
-
return this.emitCodePoint(n === 1 ? s[t] & ~
|
|
22582
|
+
return this.emitCodePoint(n === 1 ? s[t] & ~Bi.VALUE_LENGTH : s[t + 1], r), n === 3 && this.emitCodePoint(s[t + 2], r), r;
|
|
22582
22583
|
}
|
|
22583
22584
|
/**
|
|
22584
22585
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -22605,7 +22606,7 @@ class WL {
|
|
|
22605
22606
|
}
|
|
22606
22607
|
}
|
|
22607
22608
|
function XL(e, t, n, r) {
|
|
22608
|
-
const s = (t &
|
|
22609
|
+
const s = (t & Bi.BRANCH_LENGTH) >> 7, a = t & Bi.JUMP_TABLE;
|
|
22609
22610
|
if (s === 0)
|
|
22610
22611
|
return a !== 0 && r === a ? n : -1;
|
|
22611
22612
|
if (a) {
|
|
@@ -22885,11 +22886,11 @@ function za(e) {
|
|
|
22885
22886
|
function ZL(e) {
|
|
22886
22887
|
return e >= P.LATIN_SMALL_A && e <= P.LATIN_SMALL_Z;
|
|
22887
22888
|
}
|
|
22888
|
-
function
|
|
22889
|
+
function Li(e) {
|
|
22889
22890
|
return ZL(e) || za(e);
|
|
22890
22891
|
}
|
|
22891
22892
|
function Cy(e) {
|
|
22892
|
-
return
|
|
22893
|
+
return Li(e) || JL(e);
|
|
22893
22894
|
}
|
|
22894
22895
|
function ql(e) {
|
|
22895
22896
|
return e + 32;
|
|
@@ -23526,7 +23527,7 @@ class t6 {
|
|
|
23526
23527
|
// Tag open state
|
|
23527
23528
|
//------------------------------------------------------------------
|
|
23528
23529
|
_stateTagOpen(t) {
|
|
23529
|
-
if (
|
|
23530
|
+
if (Li(t))
|
|
23530
23531
|
this._createStartTagToken(), this.state = I.TAG_NAME, this._stateTagName(t);
|
|
23531
23532
|
else
|
|
23532
23533
|
switch (t) {
|
|
@@ -23553,7 +23554,7 @@ class t6 {
|
|
|
23553
23554
|
// End tag open state
|
|
23554
23555
|
//------------------------------------------------------------------
|
|
23555
23556
|
_stateEndTagOpen(t) {
|
|
23556
|
-
if (
|
|
23557
|
+
if (Li(t))
|
|
23557
23558
|
this._createEndTagToken(), this.state = I.TAG_NAME, this._stateTagName(t);
|
|
23558
23559
|
else
|
|
23559
23560
|
switch (t) {
|
|
@@ -23609,7 +23610,7 @@ class t6 {
|
|
|
23609
23610
|
// RCDATA end tag open state
|
|
23610
23611
|
//------------------------------------------------------------------
|
|
23611
23612
|
_stateRcdataEndTagOpen(t) {
|
|
23612
|
-
|
|
23613
|
+
Li(t) ? (this.state = I.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = I.RCDATA, this._stateRcdata(t));
|
|
23613
23614
|
}
|
|
23614
23615
|
handleSpecialEndTag(t) {
|
|
23615
23616
|
if (!this.preprocessor.startsWith(this.lastStartTagName, !1))
|
|
@@ -23643,7 +23644,7 @@ class t6 {
|
|
|
23643
23644
|
// RAWTEXT end tag open state
|
|
23644
23645
|
//------------------------------------------------------------------
|
|
23645
23646
|
_stateRawtextEndTagOpen(t) {
|
|
23646
|
-
|
|
23647
|
+
Li(t) ? (this.state = I.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = I.RAWTEXT, this._stateRawtext(t));
|
|
23647
23648
|
}
|
|
23648
23649
|
// RAWTEXT end tag name state
|
|
23649
23650
|
//------------------------------------------------------------------
|
|
@@ -23669,7 +23670,7 @@ class t6 {
|
|
|
23669
23670
|
// Script data end tag open state
|
|
23670
23671
|
//------------------------------------------------------------------
|
|
23671
23672
|
_stateScriptDataEndTagOpen(t) {
|
|
23672
|
-
|
|
23673
|
+
Li(t) ? (this.state = I.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = I.SCRIPT_DATA, this._stateScriptData(t));
|
|
23673
23674
|
}
|
|
23674
23675
|
// Script data end tag name state
|
|
23675
23676
|
//------------------------------------------------------------------
|
|
@@ -23765,12 +23766,12 @@ class t6 {
|
|
|
23765
23766
|
// Script data escaped less-than sign state
|
|
23766
23767
|
//------------------------------------------------------------------
|
|
23767
23768
|
_stateScriptDataEscapedLessThanSign(t) {
|
|
23768
|
-
t === P.SOLIDUS ? this.state = I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN :
|
|
23769
|
+
t === P.SOLIDUS ? this.state = I.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : Li(t) ? (this._emitChars("<"), this.state = I.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = I.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
|
|
23769
23770
|
}
|
|
23770
23771
|
// Script data escaped end tag open state
|
|
23771
23772
|
//------------------------------------------------------------------
|
|
23772
23773
|
_stateScriptDataEscapedEndTagOpen(t) {
|
|
23773
|
-
|
|
23774
|
+
Li(t) ? (this.state = I.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = I.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
|
|
23774
23775
|
}
|
|
23775
23776
|
// Script data escaped end tag name state
|
|
23776
23777
|
//------------------------------------------------------------------
|
|
@@ -25110,7 +25111,7 @@ class l6 {
|
|
|
25110
25111
|
return this.entries.find((n) => n.type === Or.Element && n.element === t);
|
|
25111
25112
|
}
|
|
25112
25113
|
}
|
|
25113
|
-
const
|
|
25114
|
+
const Di = {
|
|
25114
25115
|
//Node construction
|
|
25115
25116
|
createDocument() {
|
|
25116
25117
|
return {
|
|
@@ -25175,7 +25176,7 @@ const Li = {
|
|
|
25175
25176
|
systemId: r,
|
|
25176
25177
|
parentNode: null
|
|
25177
25178
|
};
|
|
25178
|
-
|
|
25179
|
+
Di.appendChild(e, a);
|
|
25179
25180
|
}
|
|
25180
25181
|
},
|
|
25181
25182
|
setDocumentMode(e, t) {
|
|
@@ -25193,16 +25194,16 @@ const Li = {
|
|
|
25193
25194
|
insertText(e, t) {
|
|
25194
25195
|
if (e.childNodes.length > 0) {
|
|
25195
25196
|
const n = e.childNodes[e.childNodes.length - 1];
|
|
25196
|
-
if (
|
|
25197
|
+
if (Di.isTextNode(n)) {
|
|
25197
25198
|
n.value += t;
|
|
25198
25199
|
return;
|
|
25199
25200
|
}
|
|
25200
25201
|
}
|
|
25201
|
-
|
|
25202
|
+
Di.appendChild(e, Di.createTextNode(t));
|
|
25202
25203
|
},
|
|
25203
25204
|
insertTextBefore(e, t, n) {
|
|
25204
25205
|
const r = e.childNodes[e.childNodes.indexOf(n) - 1];
|
|
25205
|
-
r &&
|
|
25206
|
+
r && Di.isTextNode(r) ? r.value += t : Di.insertBefore(e, Di.createTextNode(t), n);
|
|
25206
25207
|
},
|
|
25207
25208
|
adoptAttributes(e, t) {
|
|
25208
25209
|
const n = new Set(e.attrs.map((r) => r.name));
|
|
@@ -25575,7 +25576,7 @@ const O6 = {
|
|
|
25575
25576
|
}, AS = /* @__PURE__ */ new Set([g.TABLE, g.TBODY, g.TFOOT, g.THEAD, g.TR]), Ry = {
|
|
25576
25577
|
scriptingEnabled: !0,
|
|
25577
25578
|
sourceCodeLocationInfo: !1,
|
|
25578
|
-
treeAdapter:
|
|
25579
|
+
treeAdapter: Di,
|
|
25579
25580
|
onParseError: null
|
|
25580
25581
|
};
|
|
25581
25582
|
class Ly {
|
|
@@ -28213,7 +28214,7 @@ const rs = ["ariaDescribedBy", "ariaLabel", "ariaLabelledBy"], By = {
|
|
|
28213
28214
|
"ul",
|
|
28214
28215
|
"var"
|
|
28215
28216
|
]
|
|
28216
|
-
},
|
|
28217
|
+
}, Mi = {}.hasOwnProperty;
|
|
28217
28218
|
function xD(e, t) {
|
|
28218
28219
|
let n = { type: "root", children: [] };
|
|
28219
28220
|
const r = {
|
|
@@ -28263,7 +28264,7 @@ function wD(e, t) {
|
|
|
28263
28264
|
), s = PD(e, t.properties);
|
|
28264
28265
|
e.stack.pop();
|
|
28265
28266
|
let a = !1;
|
|
28266
|
-
if (n && n !== "*" && (!e.schema.tagNames || e.schema.tagNames.includes(n)) && (a = !0, e.schema.ancestors &&
|
|
28267
|
+
if (n && n !== "*" && (!e.schema.tagNames || e.schema.tagNames.includes(n)) && (a = !0, e.schema.ancestors && Mi.call(e.schema.ancestors, n))) {
|
|
28267
28268
|
const c = e.schema.ancestors[n];
|
|
28268
28269
|
let f = -1;
|
|
28269
28270
|
for (a = !1; ++f < c.length; )
|
|
@@ -28306,13 +28307,13 @@ function YS(e, t) {
|
|
|
28306
28307
|
return n;
|
|
28307
28308
|
}
|
|
28308
28309
|
function PD(e, t) {
|
|
28309
|
-
const n = e.stack[e.stack.length - 1], r = e.schema.attributes, s = e.schema.required, a = r &&
|
|
28310
|
+
const n = e.stack[e.stack.length - 1], r = e.schema.attributes, s = e.schema.required, a = r && Mi.call(r, n) ? r[n] : void 0, u = r && Mi.call(r, "*") ? r["*"] : void 0, c = (
|
|
28310
28311
|
/** @type {Readonly<Record<string, Readonly<unknown>>>} */
|
|
28311
28312
|
t && typeof t == "object" ? t : {}
|
|
28312
28313
|
), f = {};
|
|
28313
28314
|
let d;
|
|
28314
28315
|
for (d in c)
|
|
28315
|
-
if (
|
|
28316
|
+
if (Mi.call(c, d)) {
|
|
28316
28317
|
const p = c[d];
|
|
28317
28318
|
let m = Uy(
|
|
28318
28319
|
e,
|
|
@@ -28322,10 +28323,10 @@ function PD(e, t) {
|
|
|
28322
28323
|
);
|
|
28323
28324
|
m == null && (m = Uy(e, Hy(u, d), d, p)), m != null && (f[d] = m);
|
|
28324
28325
|
}
|
|
28325
|
-
if (s &&
|
|
28326
|
+
if (s && Mi.call(s, n)) {
|
|
28326
28327
|
const p = s[n];
|
|
28327
28328
|
for (d in p)
|
|
28328
|
-
|
|
28329
|
+
Mi.call(p, d) && !Mi.call(f, d) && (f[d] = p[d]);
|
|
28329
28330
|
}
|
|
28330
28331
|
return f;
|
|
28331
28332
|
}
|
|
@@ -28363,7 +28364,7 @@ function GS(e, t, n, r) {
|
|
|
28363
28364
|
}
|
|
28364
28365
|
}
|
|
28365
28366
|
function OD(e, t, n) {
|
|
28366
|
-
const r = e.schema.protocols &&
|
|
28367
|
+
const r = e.schema.protocols && Mi.call(e.schema.protocols, t) ? e.schema.protocols[t] : void 0;
|
|
28367
28368
|
if (!r || r.length === 0)
|
|
28368
28369
|
return !0;
|
|
28369
28370
|
const s = String(n), a = s.indexOf(":"), u = s.indexOf("?"), c = s.indexOf("#"), f = s.indexOf("/");
|
|
@@ -29861,10 +29862,10 @@ const T5 = ["top", "right", "bottom", "left"], Hi = Math.min, Fn = Math.max, wc
|
|
|
29861
29862
|
function Op(e, t, n) {
|
|
29862
29863
|
return Fn(e, Hi(t, n));
|
|
29863
29864
|
}
|
|
29864
|
-
function
|
|
29865
|
+
function ai(e, t) {
|
|
29865
29866
|
return typeof e == "function" ? e(t) : e;
|
|
29866
29867
|
}
|
|
29867
|
-
function
|
|
29868
|
+
function ui(e) {
|
|
29868
29869
|
return e.split("-")[0];
|
|
29869
29870
|
}
|
|
29870
29871
|
function $o(e) {
|
|
@@ -29878,7 +29879,7 @@ function Vm(e) {
|
|
|
29878
29879
|
}
|
|
29879
29880
|
const S5 = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
29880
29881
|
function Ir(e) {
|
|
29881
|
-
return S5.has(
|
|
29882
|
+
return S5.has(ui(e)) ? "y" : "x";
|
|
29882
29883
|
}
|
|
29883
29884
|
function qm(e) {
|
|
29884
29885
|
return $m(Ir(e));
|
|
@@ -29911,7 +29912,7 @@ function v5(e, t, n) {
|
|
|
29911
29912
|
}
|
|
29912
29913
|
function k5(e, t, n, r) {
|
|
29913
29914
|
const s = $o(e);
|
|
29914
|
-
let a = v5(
|
|
29915
|
+
let a = v5(ui(e), n === "start", r);
|
|
29915
29916
|
return s && (a = a.map((u) => u + "-" + s), t && (a = a.concat(a.map(Ip)))), a;
|
|
29916
29917
|
}
|
|
29917
29918
|
function vc(e) {
|
|
@@ -29956,7 +29957,7 @@ function Ky(e, t, n) {
|
|
|
29956
29957
|
reference: r,
|
|
29957
29958
|
floating: s
|
|
29958
29959
|
} = e;
|
|
29959
|
-
const a = Ir(t), u = qm(t), c = Vm(u), f =
|
|
29960
|
+
const a = Ir(t), u = qm(t), c = Vm(u), f = ui(t), d = a === "y", p = r.x + r.width / 2 - s.width / 2, m = r.y + r.height / 2 - s.height / 2, b = r[c] / 2 - s[c] / 2;
|
|
29960
29961
|
let y;
|
|
29961
29962
|
switch (f) {
|
|
29962
29963
|
case "top":
|
|
@@ -30073,7 +30074,7 @@ function au(e, t) {
|
|
|
30073
30074
|
elementContext: m = "floating",
|
|
30074
30075
|
altBoundary: b = !1,
|
|
30075
30076
|
padding: y = 0
|
|
30076
|
-
} =
|
|
30077
|
+
} = ai(t, e), _ = b2(y), k = c[b ? m === "floating" ? "reference" : "floating" : m], w = kc(yield a.getClippingRect({
|
|
30077
30078
|
element: (n = yield a.isElement == null ? void 0 : a.isElement(k)) == null || n ? k : k.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
|
|
30078
30079
|
boundary: d,
|
|
30079
30080
|
rootBoundary: p,
|
|
@@ -30119,7 +30120,7 @@ const O5 = (e) => ({
|
|
|
30119
30120
|
} = n, {
|
|
30120
30121
|
element: p,
|
|
30121
30122
|
padding: m = 0
|
|
30122
|
-
} =
|
|
30123
|
+
} = ai(e, n) || {};
|
|
30123
30124
|
if (p == null)
|
|
30124
30125
|
return {};
|
|
30125
30126
|
const b = b2(m), y = {
|
|
@@ -30155,7 +30156,7 @@ const O5 = (e) => ({
|
|
|
30155
30156
|
initialPlacement: f,
|
|
30156
30157
|
platform: d,
|
|
30157
30158
|
elements: p
|
|
30158
|
-
} = n, be =
|
|
30159
|
+
} = n, be = ai(e, n), {
|
|
30159
30160
|
mainAxis: m = !0,
|
|
30160
30161
|
crossAxis: b = !0,
|
|
30161
30162
|
fallbackPlacements: y,
|
|
@@ -30172,7 +30173,7 @@ const O5 = (e) => ({
|
|
|
30172
30173
|
]);
|
|
30173
30174
|
if ((r = u.arrow) != null && r.alignmentOffset)
|
|
30174
30175
|
return {};
|
|
30175
|
-
const N =
|
|
30176
|
+
const N = ui(a), C = Ir(f), U = ui(f) === f, V = yield d.isRTL == null ? void 0 : d.isRTL(p.floating), F = y || (U || !k ? [vc(f)] : A5(f)), Y = S !== "none";
|
|
30176
30177
|
!y && Y && F.push(...k5(f, k, S, V));
|
|
30177
30178
|
const ie = [f, ...F], ge = yield au(n, w), $ = [];
|
|
30178
30179
|
let se = ((s = u.flip) == null ? void 0 : s.overflows) || [];
|
|
@@ -30250,7 +30251,7 @@ const R5 = function(e) {
|
|
|
30250
30251
|
return Xe(this, null, function* () {
|
|
30251
30252
|
const {
|
|
30252
30253
|
rects: r
|
|
30253
|
-
} = n, u =
|
|
30254
|
+
} = n, u = ai(e, n), {
|
|
30254
30255
|
strategy: s = "referenceHidden"
|
|
30255
30256
|
} = u, a = tn(u, [
|
|
30256
30257
|
"strategy"
|
|
@@ -30291,7 +30292,7 @@ function L5(e, t) {
|
|
|
30291
30292
|
placement: n,
|
|
30292
30293
|
platform: r,
|
|
30293
30294
|
elements: s
|
|
30294
|
-
} = e, a = yield r.isRTL == null ? void 0 : r.isRTL(s.floating), u =
|
|
30295
|
+
} = e, a = yield r.isRTL == null ? void 0 : r.isRTL(s.floating), u = ui(n), c = $o(n), f = Ir(n) === "y", d = _2.has(u) ? -1 : 1, p = a && f ? -1 : 1, m = ai(t, e);
|
|
30295
30296
|
let {
|
|
30296
30297
|
mainAxis: b,
|
|
30297
30298
|
crossAxis: y,
|
|
@@ -30347,7 +30348,7 @@ const D5 = function(e) {
|
|
|
30347
30348
|
x: r,
|
|
30348
30349
|
y: s,
|
|
30349
30350
|
placement: a
|
|
30350
|
-
} = n, w =
|
|
30351
|
+
} = n, w = ai(e, n), {
|
|
30351
30352
|
mainAxis: u = !0,
|
|
30352
30353
|
crossAxis: c = !1,
|
|
30353
30354
|
limiter: f = {
|
|
@@ -30369,7 +30370,7 @@ const D5 = function(e) {
|
|
|
30369
30370
|
]), p = {
|
|
30370
30371
|
x: r,
|
|
30371
30372
|
y: s
|
|
30372
|
-
}, m = yield au(n, d), b = Ir(
|
|
30373
|
+
}, m = yield au(n, d), b = Ir(ui(a)), y = $m(b);
|
|
30373
30374
|
let _ = p[y], S = p[b];
|
|
30374
30375
|
if (u) {
|
|
30375
30376
|
const N = y === "y" ? "top" : "left", C = y === "y" ? "bottom" : "right", U = _ + m[N], V = _ - m[C];
|
|
@@ -30410,12 +30411,12 @@ const D5 = function(e) {
|
|
|
30410
30411
|
offset: c = 0,
|
|
30411
30412
|
mainAxis: f = !0,
|
|
30412
30413
|
crossAxis: d = !0
|
|
30413
|
-
} =
|
|
30414
|
+
} = ai(e, t), p = {
|
|
30414
30415
|
x: n,
|
|
30415
30416
|
y: r
|
|
30416
30417
|
}, m = Ir(s), b = $m(m);
|
|
30417
30418
|
let y = p[b], _ = p[m];
|
|
30418
|
-
const S =
|
|
30419
|
+
const S = ai(c, t), k = typeof S == "number" ? {
|
|
30419
30420
|
mainAxis: S,
|
|
30420
30421
|
crossAxis: 0
|
|
30421
30422
|
} : D({
|
|
@@ -30428,7 +30429,7 @@ const D5 = function(e) {
|
|
|
30428
30429
|
}
|
|
30429
30430
|
if (d) {
|
|
30430
30431
|
var w, N;
|
|
30431
|
-
const C = b === "y" ? "width" : "height", U = _2.has(
|
|
30432
|
+
const C = b === "y" ? "width" : "height", U = _2.has(ui(s)), V = a.reference[m] - a.floating[C] + (U && ((w = u.offset) == null ? void 0 : w[m]) || 0) + (U ? 0 : k.crossAxis), F = a.reference[m] + a.reference[C] + (U ? 0 : ((N = u.offset) == null ? void 0 : N[m]) || 0) - (U ? k.crossAxis : 0);
|
|
30432
30433
|
_ < V ? _ = V : _ > F && (_ = F);
|
|
30433
30434
|
}
|
|
30434
30435
|
return {
|
|
@@ -30449,12 +30450,12 @@ const D5 = function(e) {
|
|
|
30449
30450
|
rects: u,
|
|
30450
30451
|
platform: c,
|
|
30451
30452
|
elements: f
|
|
30452
|
-
} = n, se =
|
|
30453
|
+
} = n, se = ai(e, n), {
|
|
30453
30454
|
apply: d = () => {
|
|
30454
30455
|
}
|
|
30455
30456
|
} = se, p = tn(se, [
|
|
30456
30457
|
"apply"
|
|
30457
|
-
]), m = yield au(n, p), b =
|
|
30458
|
+
]), m = yield au(n, p), b = ui(a), y = $o(a), _ = Ir(a) === "y", {
|
|
30458
30459
|
width: S,
|
|
30459
30460
|
height: k
|
|
30460
30461
|
} = u.floating;
|
|
@@ -33870,7 +33871,7 @@ const rB = ({ children: e }) => {
|
|
|
33870
33871
|
Vc(r || "dialog"), s();
|
|
33871
33872
|
};
|
|
33872
33873
|
return t ? /* @__PURE__ */ A.jsx(
|
|
33873
|
-
|
|
33874
|
+
li,
|
|
33874
33875
|
{
|
|
33875
33876
|
className: X(
|
|
33876
33877
|
n,
|
|
@@ -33907,7 +33908,7 @@ const rB = ({ children: e }) => {
|
|
|
33907
33908
|
cm(!r), s();
|
|
33908
33909
|
}, u = r ? BN : UN, c = "Toggle Fullscreen";
|
|
33909
33910
|
return t ? /* @__PURE__ */ A.jsx(
|
|
33910
|
-
|
|
33911
|
+
li,
|
|
33911
33912
|
{
|
|
33912
33913
|
ariaLabel: c,
|
|
33913
33914
|
title: c,
|
|
@@ -33943,7 +33944,7 @@ const rB = ({ children: e }) => {
|
|
|
33943
33944
|
fm(a ? "bottom-right" : "bottom-left"), s();
|
|
33944
33945
|
}, c = a ? bF : TF, f = a ? "Move right" : "Move left";
|
|
33945
33946
|
return t ? /* @__PURE__ */ A.jsx(
|
|
33946
|
-
|
|
33947
|
+
li,
|
|
33947
33948
|
{
|
|
33948
33949
|
className: X(
|
|
33949
33950
|
n,
|
|
@@ -34094,10 +34095,10 @@ const rB = ({ children: e }) => {
|
|
|
34094
34095
|
const { globalClassName: n, enableMinimize: r } = it();
|
|
34095
34096
|
if (!r) return null;
|
|
34096
34097
|
const s = () => {
|
|
34097
|
-
|
|
34098
|
+
oi(!1), $c(!0);
|
|
34098
34099
|
};
|
|
34099
34100
|
return t ? /* @__PURE__ */ A.jsx(
|
|
34100
|
-
|
|
34101
|
+
li,
|
|
34101
34102
|
{
|
|
34102
34103
|
className: X(
|
|
34103
34104
|
n,
|
|
@@ -34133,7 +34134,7 @@ const rB = ({ children: e }) => {
|
|
|
34133
34134
|
Vc("modal"), r();
|
|
34134
34135
|
};
|
|
34135
34136
|
return t ? /* @__PURE__ */ A.jsx(
|
|
34136
|
-
|
|
34137
|
+
li,
|
|
34137
34138
|
{
|
|
34138
34139
|
className: X(
|
|
34139
34140
|
n,
|
|
@@ -35589,7 +35590,7 @@ const Y9 = {
|
|
|
35589
35590
|
name: "protocolAutolink",
|
|
35590
35591
|
tokenize: Q9,
|
|
35591
35592
|
previous: Nx
|
|
35592
|
-
},
|
|
35593
|
+
}, ci = {
|
|
35593
35594
|
name: "emailAutolink",
|
|
35594
35595
|
tokenize: X9,
|
|
35595
35596
|
previous: Ox
|
|
@@ -35601,15 +35602,15 @@ function W9() {
|
|
|
35601
35602
|
}
|
|
35602
35603
|
let ss = 48;
|
|
35603
35604
|
for (; ss < 123; )
|
|
35604
|
-
jr[ss] =
|
|
35605
|
-
jr[43] =
|
|
35606
|
-
jr[45] =
|
|
35607
|
-
jr[46] =
|
|
35608
|
-
jr[95] =
|
|
35609
|
-
jr[72] = [
|
|
35610
|
-
jr[104] = [
|
|
35611
|
-
jr[87] = [
|
|
35612
|
-
jr[119] = [
|
|
35605
|
+
jr[ss] = ci, ss++, ss === 58 ? ss = 65 : ss === 91 && (ss = 97);
|
|
35606
|
+
jr[43] = ci;
|
|
35607
|
+
jr[45] = ci;
|
|
35608
|
+
jr[46] = ci;
|
|
35609
|
+
jr[95] = ci;
|
|
35610
|
+
jr[72] = [ci, kx];
|
|
35611
|
+
jr[104] = [ci, kx];
|
|
35612
|
+
jr[87] = [ci, vx];
|
|
35613
|
+
jr[119] = [ci, vx];
|
|
35613
35614
|
function X9(e, t, n) {
|
|
35614
35615
|
const r = this;
|
|
35615
35616
|
let s, a;
|
|
@@ -37037,7 +37038,7 @@ const Ef = () => /* @__PURE__ */ A.jsx("span", { className: `${j}-blinking-curso
|
|
|
37037
37038
|
}, M7 = () => () => {
|
|
37038
37039
|
}, Mx = () => {
|
|
37039
37040
|
const { globalClassName: e, themeVariables: t } = it(), { mode: n, status: r, dialogPosition: s, isDialogFullHeight: a, dialogWidth: u } = Zn(), { copilot: c, isLoading: f, handleUserInput: d, handleSuggestion: p, resetConversation: m } = Br(), b = e0(), { isOpen: y } = r || {}, _ = n === "standalone", S = () => {
|
|
37040
|
-
|
|
37041
|
+
oi(!1);
|
|
37041
37042
|
};
|
|
37042
37043
|
return c ? /* @__PURE__ */ A.jsx(
|
|
37043
37044
|
rx,
|
|
@@ -37096,9 +37097,9 @@ const Ef = () => /* @__PURE__ */ A.jsx("span", { className: `${j}-blinking-curso
|
|
|
37096
37097
|
) : /* @__PURE__ */ A.jsx("div", { children: "Loading Copilot..." });
|
|
37097
37098
|
}, Fx = () => {
|
|
37098
37099
|
const { globalClassName: e, themeVariables: t } = it(), { mode: n, status: r, isModalFullscreen: s } = Zn(), { copilot: a, isLoading: u, handleUserInput: c, handleSuggestion: f, resetConversation: d } = Br(), { isOpen: p } = r || {}, m = n === "standalone", b = e0(), y = ({ open: S }) => {
|
|
37099
|
-
|
|
37100
|
+
oi(S);
|
|
37100
37101
|
}, _ = () => {
|
|
37101
|
-
|
|
37102
|
+
oi(!1);
|
|
37102
37103
|
};
|
|
37103
37104
|
return b ? a ? /* @__PURE__ */ A.jsx(rx, { lazyMount: !0, unmountOnExit: !0, open: b, onOpenChange: y, children: /* @__PURE__ */ A.jsx(Dx, { children: /* @__PURE__ */ A.jsxs(
|
|
37104
37105
|
"div",
|
|
@@ -37256,7 +37257,7 @@ const Ef = () => /* @__PURE__ */ A.jsx("span", { className: `${j}-blinking-curso
|
|
|
37256
37257
|
}
|
|
37257
37258
|
),
|
|
37258
37259
|
/* @__PURE__ */ A.jsx(
|
|
37259
|
-
|
|
37260
|
+
li,
|
|
37260
37261
|
{
|
|
37261
37262
|
className: X(t, `${j}-prompts-input-submit-button`),
|
|
37262
37263
|
type: "submit",
|
|
@@ -37271,23 +37272,34 @@ const Ef = () => /* @__PURE__ */ A.jsx("span", { className: `${j}-blinking-curso
|
|
|
37271
37272
|
}, H7 = ({
|
|
37272
37273
|
sendCopilotPrompt: e
|
|
37273
37274
|
}) => {
|
|
37274
|
-
var
|
|
37275
|
-
const { globalClassName: t } = it(), { promptsMessage: n, isResponseLoading: r, isInitialized: s } = ji(),
|
|
37276
|
-
const
|
|
37277
|
-
|
|
37278
|
-
},
|
|
37275
|
+
var p, m;
|
|
37276
|
+
const { globalClassName: t } = it(), { promptsMessage: n, isResponseLoading: r, isInitialized: s, isInline: a, askElseButtonLabel: u } = ji(), c = (b) => () => {
|
|
37277
|
+
const y = b.displayText.trim();
|
|
37278
|
+
y && e(y);
|
|
37279
|
+
}, f = () => {
|
|
37280
|
+
oi(!0);
|
|
37281
|
+
}, d = !!(n != null && n.suggestions && ((p = n == null ? void 0 : n.suggestions) != null && p.length));
|
|
37279
37282
|
return /* @__PURE__ */ A.jsxs("div", { className: X(t, `${j}-prompts-button-group`), children: [
|
|
37280
37283
|
!s && /* @__PURE__ */ A.jsx(Ef, {}),
|
|
37281
|
-
s &&
|
|
37284
|
+
s && d && ((m = n == null ? void 0 : n.suggestions) == null ? void 0 : m.map((b) => /* @__PURE__ */ A.jsx(
|
|
37282
37285
|
"button",
|
|
37283
37286
|
{
|
|
37284
37287
|
className: X(t, `${j}-prompts-button`),
|
|
37285
37288
|
disabled: r,
|
|
37286
|
-
onClick:
|
|
37287
|
-
children:
|
|
37289
|
+
onClick: c(b),
|
|
37290
|
+
children: b.displayText
|
|
37288
37291
|
},
|
|
37289
|
-
|
|
37290
|
-
)))
|
|
37292
|
+
b.displayText
|
|
37293
|
+
))),
|
|
37294
|
+
s && d && !a && /* @__PURE__ */ A.jsx(
|
|
37295
|
+
"button",
|
|
37296
|
+
{
|
|
37297
|
+
className: X(t, `${j}-prompts-button`),
|
|
37298
|
+
disabled: r,
|
|
37299
|
+
onClick: f,
|
|
37300
|
+
children: u || "Ask me something else"
|
|
37301
|
+
}
|
|
37302
|
+
)
|
|
37291
37303
|
] });
|
|
37292
37304
|
}, z7 = () => {
|
|
37293
37305
|
const { globalClassName: e } = it(), { isInline: t, userPrompt: n } = ji();
|
|
@@ -37337,7 +37349,7 @@ const Ef = () => /* @__PURE__ */ A.jsx("span", { className: `${j}-blinking-curso
|
|
|
37337
37349
|
(N) => {
|
|
37338
37350
|
if (!r || !d || !p) return;
|
|
37339
37351
|
const C = (V) => {
|
|
37340
|
-
c ? (y(null), b(N), m(V.id), _(!0)) : (a ||
|
|
37352
|
+
c ? (y(null), b(N), m(V.id), _(!0)) : (a || oi(!0), s(V));
|
|
37341
37353
|
}, U = {
|
|
37342
37354
|
userPrompt: N,
|
|
37343
37355
|
clientContext: D({
|
|
@@ -37481,7 +37493,7 @@ const Y7 = (r) => {
|
|
|
37481
37493
|
},
|
|
37482
37494
|
components: {
|
|
37483
37495
|
setEntryType: $a,
|
|
37484
|
-
toggleWidgetOpen:
|
|
37496
|
+
toggleWidgetOpen: oi,
|
|
37485
37497
|
toggleWidgetMinimized: $c,
|
|
37486
37498
|
toggleModalFullscreen: cm,
|
|
37487
37499
|
setWidgetType: Vc,
|