@cimulate/copilot-widget 0.11.3 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,7 @@ var fi = (e, t) => {
|
|
|
21
21
|
t.indexOf(r) < 0 && Mm.call(e, r) && (n[r] = e[r]);
|
|
22
22
|
return n;
|
|
23
23
|
};
|
|
24
|
-
var
|
|
24
|
+
var Ge = (e, t, n) => vf(e, typeof t != "symbol" ? t + "" : t, n);
|
|
25
25
|
var Yt = (e, t, n) => new Promise((r, u) => {
|
|
26
26
|
var o = (d) => {
|
|
27
27
|
try {
|
|
@@ -1097,7 +1097,7 @@ const Ed = typeof addEventListener == "function" && typeof removeEventListener =
|
|
|
1097
1097
|
Ed && addEventListener("offline", () => {
|
|
1098
1098
|
$a.forEach((e) => e());
|
|
1099
1099
|
}, !1);
|
|
1100
|
-
class
|
|
1100
|
+
class Gr extends _t {
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Socket constructor.
|
|
1103
1103
|
*
|
|
@@ -1165,7 +1165,7 @@ class Wr extends _t {
|
|
|
1165
1165
|
}, 0);
|
|
1166
1166
|
return;
|
|
1167
1167
|
}
|
|
1168
|
-
const t = this.opts.rememberUpgrade &&
|
|
1168
|
+
const t = this.opts.rememberUpgrade && Gr.priorWebsocketSuccess && this.transports.indexOf("websocket") !== -1 ? "websocket" : this.transports[0];
|
|
1169
1169
|
this.readyState = "opening";
|
|
1170
1170
|
const n = this.createTransport(t);
|
|
1171
1171
|
n.open(), this.setTransport(n);
|
|
@@ -1184,7 +1184,7 @@ class Wr extends _t {
|
|
|
1184
1184
|
* @private
|
|
1185
1185
|
*/
|
|
1186
1186
|
onOpen() {
|
|
1187
|
-
this.readyState = "open",
|
|
1187
|
+
this.readyState = "open", Gr.priorWebsocketSuccess = this.transport.name === "websocket", this.emitReserved("open"), this.flush();
|
|
1188
1188
|
}
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Handles a packet.
|
|
@@ -1348,7 +1348,7 @@ class Wr extends _t {
|
|
|
1348
1348
|
* @private
|
|
1349
1349
|
*/
|
|
1350
1350
|
_onError(t) {
|
|
1351
|
-
if (
|
|
1351
|
+
if (Gr.priorWebsocketSuccess = !1, this.opts.tryAllTransports && this.transports.length > 1 && this.readyState === "opening")
|
|
1352
1352
|
return this.transports.shift(), this._open();
|
|
1353
1353
|
this.emitReserved("error", t), this._onClose("transport error", t);
|
|
1354
1354
|
}
|
|
@@ -1367,8 +1367,8 @@ class Wr extends _t {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1371
|
-
class hS extends
|
|
1370
|
+
Gr.protocol = eE;
|
|
1371
|
+
class hS extends Gr {
|
|
1372
1372
|
constructor() {
|
|
1373
1373
|
super(...arguments), this._upgrades = [];
|
|
1374
1374
|
}
|
|
@@ -1385,14 +1385,14 @@ class hS extends Wr {
|
|
|
1385
1385
|
*/
|
|
1386
1386
|
_probe(t) {
|
|
1387
1387
|
let n = this.createTransport(t), r = !1;
|
|
1388
|
-
|
|
1388
|
+
Gr.priorWebsocketSuccess = !1;
|
|
1389
1389
|
const u = () => {
|
|
1390
1390
|
r || (n.send([{ type: "ping", data: "probe" }]), n.once("packet", (y) => {
|
|
1391
1391
|
if (!r)
|
|
1392
1392
|
if (y.type === "pong" && y.data === "probe") {
|
|
1393
1393
|
if (this.upgrading = !0, this.emitReserved("upgrading", n), !n)
|
|
1394
1394
|
return;
|
|
1395
|
-
|
|
1395
|
+
Gr.priorWebsocketSuccess = n.name === "websocket", this.transport.pause(() => {
|
|
1396
1396
|
r || this.readyState !== "closed" && (g(), this.setTransport(n), n.send([{ type: "upgrade" }]), this.emitReserved("upgrade", n), n = null, this.upgrading = !1, this.flush());
|
|
1397
1397
|
});
|
|
1398
1398
|
} else {
|
|
@@ -4743,30 +4743,30 @@ mt.getAdapter = IE.getAdapter;
|
|
|
4743
4743
|
mt.HttpStatusCode = Nd;
|
|
4744
4744
|
mt.default = mt;
|
|
4745
4745
|
const {
|
|
4746
|
-
Axios:
|
|
4747
|
-
AxiosError:
|
|
4748
|
-
CanceledError:
|
|
4749
|
-
isCancel:
|
|
4750
|
-
CancelToken:
|
|
4751
|
-
VERSION:
|
|
4752
|
-
all:
|
|
4753
|
-
Cancel:
|
|
4754
|
-
isAxiosError:
|
|
4755
|
-
spread:
|
|
4756
|
-
toFormData:
|
|
4757
|
-
AxiosHeaders:
|
|
4758
|
-
HttpStatusCode:
|
|
4759
|
-
formToJSON:
|
|
4760
|
-
getAdapter:
|
|
4761
|
-
mergeConfig:
|
|
4746
|
+
Axios: D4,
|
|
4747
|
+
AxiosError: M4,
|
|
4748
|
+
CanceledError: F4,
|
|
4749
|
+
isCancel: B4,
|
|
4750
|
+
CancelToken: U4,
|
|
4751
|
+
VERSION: H4,
|
|
4752
|
+
all: z4,
|
|
4753
|
+
Cancel: j4,
|
|
4754
|
+
isAxiosError: $4,
|
|
4755
|
+
spread: V4,
|
|
4756
|
+
toFormData: Y4,
|
|
4757
|
+
AxiosHeaders: q4,
|
|
4758
|
+
HttpStatusCode: W4,
|
|
4759
|
+
formToJSON: G4,
|
|
4760
|
+
getAdapter: K4,
|
|
4761
|
+
mergeConfig: Q4
|
|
4762
4762
|
} = mt;
|
|
4763
4763
|
class DE {
|
|
4764
4764
|
constructor(t, n, r = !1) {
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4765
|
+
Ge(this, "CIMULATE_API_HEADER", "x-cimulate-api-key");
|
|
4766
|
+
Ge(this, "CIMULATE_SEARCH_API_PATH", "api/v1");
|
|
4767
|
+
Ge(this, "baseApiUrl");
|
|
4768
|
+
Ge(this, "headers", {});
|
|
4769
|
+
Ge(this, "fetchConfig", () => Yt(this, null, function* () {
|
|
4770
4770
|
try {
|
|
4771
4771
|
const t = yield mt.get(
|
|
4772
4772
|
`${this.apiUrl}/configs/copilot`,
|
|
@@ -5462,9 +5462,9 @@ const nn = {
|
|
|
5462
5462
|
}), $E = X.createContext(null), VE = X.createContext(null);
|
|
5463
5463
|
class BC {
|
|
5464
5464
|
constructor(t, n, r = !1) {
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5465
|
+
Ge(this, "apiService");
|
|
5466
|
+
Ge(this, "config", null);
|
|
5467
|
+
Ge(this, "getConfig", () => Yt(this, null, function* () {
|
|
5468
5468
|
if (this.config)
|
|
5469
5469
|
return this.config;
|
|
5470
5470
|
try {
|
|
@@ -5474,16 +5474,20 @@ class BC {
|
|
|
5474
5474
|
throw console.error("Failed to fetch customer config:", t), t;
|
|
5475
5475
|
}
|
|
5476
5476
|
}));
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5477
|
+
Ge(this, "getPid", (t) => this.getProductFieldValue(t, "pidCol"));
|
|
5478
|
+
Ge(this, "getName", (t) => this.getProductFieldValue(t, "nameCol"));
|
|
5479
|
+
Ge(this, "getDescription", (t) => this.getProductFieldValue(t, "description"));
|
|
5480
|
+
Ge(this, "getBrand", (t) => this.getProductFieldValue(t, "productBrandCol"));
|
|
5481
|
+
Ge(this, "getPrice", (t) => this.getProductFieldValue(t, "priceCol"));
|
|
5482
|
+
Ge(this, "getRelativePdp", (t) => this.getProductFieldValue(t, "relativePdpCol"));
|
|
5483
|
+
Ge(this, "getPdp", (t) => this.getProductFieldValue(t, "pdpCol"));
|
|
5484
|
+
Ge(this, "getImage", (t) => this.getProductFieldValue(t, "imageCol"));
|
|
5485
|
+
Ge(this, "getProductHiddenFields", () => {
|
|
5486
|
+
const t = this.getProductField("productHiddenFields");
|
|
5487
|
+
return Array.isArray(t) ? t : [];
|
|
5488
|
+
});
|
|
5489
|
+
Ge(this, "getProductField", (t) => this.config ? this.config[t] : "");
|
|
5490
|
+
Ge(this, "getProductFieldValue", (t, n) => {
|
|
5487
5491
|
const r = this.getProductField(n);
|
|
5488
5492
|
return r && t[r] || "";
|
|
5489
5493
|
});
|
|
@@ -5510,8 +5514,8 @@ const fs = (e, t, n, ...r) => {
|
|
|
5510
5514
|
};
|
|
5511
5515
|
class UC {
|
|
5512
5516
|
constructor(t = !1) {
|
|
5513
|
-
|
|
5514
|
-
|
|
5517
|
+
Ge(this, "isDevelopment");
|
|
5518
|
+
Ge(this, "_log", (t, n, ...r) => {
|
|
5515
5519
|
fs(this.isDevelopment, t, n, ...r);
|
|
5516
5520
|
});
|
|
5517
5521
|
this.isDevelopment = t;
|
|
@@ -5554,7 +5558,7 @@ const YE = X.createContext(null), HC = ({
|
|
|
5554
5558
|
[d, e, t, n, h, g]
|
|
5555
5559
|
);
|
|
5556
5560
|
return /* @__PURE__ */ P.jsx(YE.Provider, { value: y, children: c });
|
|
5557
|
-
},
|
|
5561
|
+
}, br = () => {
|
|
5558
5562
|
const e = X.useContext(YE);
|
|
5559
5563
|
if (!e)
|
|
5560
5564
|
throw new Error("useConfig must be used within a ConfigProvider");
|
|
@@ -5564,7 +5568,7 @@ const YE = X.createContext(null), HC = ({
|
|
|
5564
5568
|
children: t,
|
|
5565
5569
|
dispatch: n
|
|
5566
5570
|
}) => {
|
|
5567
|
-
const { logger: r } =
|
|
5571
|
+
const { logger: r } = br(), u = X.useCallback(
|
|
5568
5572
|
(b) => {
|
|
5569
5573
|
n({ type: nn.SET_COPILOT, payload: b });
|
|
5570
5574
|
},
|
|
@@ -5720,18 +5724,18 @@ const jC = (e, t) => {
|
|
|
5720
5724
|
};
|
|
5721
5725
|
class ZC {
|
|
5722
5726
|
constructor() {
|
|
5723
|
-
|
|
5727
|
+
Ge(this, "initialState", {
|
|
5724
5728
|
mode: "embedded",
|
|
5725
5729
|
status: { type: "dialog", isOpen: !1 },
|
|
5726
5730
|
dialog: { position: "bottom-left" },
|
|
5727
5731
|
modal: { isFullscreen: !1 }
|
|
5728
5732
|
});
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5733
|
+
Ge(this, "modeProxy");
|
|
5734
|
+
Ge(this, "statusProxy");
|
|
5735
|
+
Ge(this, "dialogProxy");
|
|
5736
|
+
Ge(this, "modalProxy", { isFullscreen: !1 });
|
|
5737
|
+
Ge(this, "_fullGet", (t, n) => Reflect.get(t, n));
|
|
5738
|
+
Ge(this, "_fullSet", (t, n, r) => {
|
|
5735
5739
|
if (!(n in t))
|
|
5736
5740
|
throw new Error(`Property ${n} does not exist on UIState`);
|
|
5737
5741
|
return nk(n, r), Reflect.set(t, n, r);
|
|
@@ -5809,7 +5813,7 @@ const Lt = new ZC(), ek = (e) => {
|
|
|
5809
5813
|
};
|
|
5810
5814
|
class rk {
|
|
5811
5815
|
constructor() {
|
|
5812
|
-
|
|
5816
|
+
Ge(this, "initialParams", {
|
|
5813
5817
|
query: "",
|
|
5814
5818
|
page: null,
|
|
5815
5819
|
pageSize: null,
|
|
@@ -5819,9 +5823,9 @@ class rk {
|
|
|
5819
5823
|
catalogSegment: null,
|
|
5820
5824
|
pricebooks: null
|
|
5821
5825
|
});
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5826
|
+
Ge(this, "proxy");
|
|
5827
|
+
Ge(this, "_fullGet", (t, n) => Reflect.get(t, n));
|
|
5828
|
+
Ge(this, "_fullSet", (t, n, r) => {
|
|
5825
5829
|
if (!(n in t))
|
|
5826
5830
|
throw new Error(`Property ${n} does not exist on SearchState`);
|
|
5827
5831
|
const u = MC[n];
|
|
@@ -5906,7 +5910,7 @@ const bt = new rk(), KE = X.createContext({
|
|
|
5906
5910
|
onRefinedSearch: o,
|
|
5907
5911
|
children: l
|
|
5908
5912
|
}) => {
|
|
5909
|
-
const { logger: c } =
|
|
5913
|
+
const { logger: c } = br(), { searchQuery: d, facetFilters: h, rangeFilters: g, catalogSegment: y, pricebooks: b } = sk(), {
|
|
5910
5914
|
setCopilot: T,
|
|
5911
5915
|
setConnected: S,
|
|
5912
5916
|
resetCopilot: k,
|
|
@@ -6381,7 +6385,7 @@ const Wu = ({
|
|
|
6381
6385
|
isWidgetStandalone: e,
|
|
6382
6386
|
product: t
|
|
6383
6387
|
}) => {
|
|
6384
|
-
const { configModule: n, globalClassName: r } =
|
|
6388
|
+
const { configModule: n, globalClassName: r } = br();
|
|
6385
6389
|
if (!n) return null;
|
|
6386
6390
|
const u = n.getName(t), o = n.getBrand(t), l = n.getPriceDisplay(t), c = n.getRelativePdp(t), d = n.getPdp(t), h = n.getImage(t), g = c && typeof c == "string" ? new URL(c, window.location.origin).href : d;
|
|
6387
6391
|
return /* @__PURE__ */ P.jsxs(
|
|
@@ -6454,7 +6458,7 @@ const Wu = ({
|
|
|
6454
6458
|
isWidgetStandalone: e,
|
|
6455
6459
|
message: t
|
|
6456
6460
|
}) => {
|
|
6457
|
-
const { configModule: n, globalClassName: r } =
|
|
6461
|
+
const { configModule: n, globalClassName: r } = br(), u = t;
|
|
6458
6462
|
return n ? /* @__PURE__ */ P.jsxs(
|
|
6459
6463
|
"div",
|
|
6460
6464
|
{
|
|
@@ -10639,10 +10643,10 @@ function h3(e) {
|
|
|
10639
10643
|
image: o(mo),
|
|
10640
10644
|
label: l,
|
|
10641
10645
|
link: o(Oi),
|
|
10642
|
-
listItem: o(
|
|
10646
|
+
listItem: o(Ar),
|
|
10643
10647
|
listItemValue: b,
|
|
10644
|
-
listOrdered: o(
|
|
10645
|
-
listUnordered: o(
|
|
10648
|
+
listOrdered: o(Sr, y),
|
|
10649
|
+
listUnordered: o(Sr),
|
|
10646
10650
|
paragraph: o(Ds),
|
|
10647
10651
|
reference: N,
|
|
10648
10652
|
referenceString: l,
|
|
@@ -10742,12 +10746,12 @@ function h3(e) {
|
|
|
10742
10746
|
(Ot[1] || $g).call(Re, void 0, Ot[0]);
|
|
10743
10747
|
}
|
|
10744
10748
|
for (de.position = {
|
|
10745
|
-
start:
|
|
10749
|
+
start: Vr(K.length > 0 ? K[0][1].start : {
|
|
10746
10750
|
line: 1,
|
|
10747
10751
|
column: 1,
|
|
10748
10752
|
offset: 0
|
|
10749
10753
|
}),
|
|
10750
|
-
end:
|
|
10754
|
+
end: Vr(K.length > 0 ? K[K.length - 2][1].end : {
|
|
10751
10755
|
line: 1,
|
|
10752
10756
|
column: 1,
|
|
10753
10757
|
offset: 0
|
|
@@ -10757,7 +10761,7 @@ function h3(e) {
|
|
|
10757
10761
|
return de;
|
|
10758
10762
|
}
|
|
10759
10763
|
function u(K, de, Re) {
|
|
10760
|
-
let Be = de - 1, qe = -1, Ot = !1, ur, En,
|
|
10764
|
+
let Be = de - 1, qe = -1, Ot = !1, ur, En, Cr, Xr;
|
|
10761
10765
|
for (; ++Be <= Re; ) {
|
|
10762
10766
|
const It = K[Be];
|
|
10763
10767
|
switch (It[1].type) {
|
|
@@ -10768,7 +10772,7 @@ function h3(e) {
|
|
|
10768
10772
|
break;
|
|
10769
10773
|
}
|
|
10770
10774
|
case "lineEndingBlank": {
|
|
10771
|
-
It[0] === "enter" && (ur && !Xr && !qe && !
|
|
10775
|
+
It[0] === "enter" && (ur && !Xr && !qe && !Cr && (Cr = Be), Xr = void 0);
|
|
10772
10776
|
break;
|
|
10773
10777
|
}
|
|
10774
10778
|
case "linePrefix":
|
|
@@ -10790,7 +10794,7 @@ function h3(e) {
|
|
|
10790
10794
|
En && (K[En][1].type = "lineEndingBlank", Ot = !0), an[1].type = "lineEnding", En = jn;
|
|
10791
10795
|
} else if (!(an[1].type === "linePrefix" || an[1].type === "blockQuotePrefix" || an[1].type === "blockQuotePrefixWhitespace" || an[1].type === "blockQuoteMarker" || an[1].type === "listItemIndent")) break;
|
|
10792
10796
|
}
|
|
10793
|
-
|
|
10797
|
+
Cr && (!En || Cr < En) && (ur._spread = !0), ur.end = Object.assign({}, En ? K[En][1].start : It[1].end), K.splice(En || Be, 0, ["exit", ur, It[2]]), Be++, Re++;
|
|
10794
10798
|
}
|
|
10795
10799
|
if (It[1].type === "listItemPrefix") {
|
|
10796
10800
|
const jn = {
|
|
@@ -10800,7 +10804,7 @@ function h3(e) {
|
|
|
10800
10804
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
10801
10805
|
end: void 0
|
|
10802
10806
|
};
|
|
10803
|
-
ur = jn, K.splice(Be, 0, ["enter", jn, It[2]]), Be++, Re++,
|
|
10807
|
+
ur = jn, K.splice(Be, 0, ["enter", jn, It[2]]), Be++, Re++, Cr = void 0, Xr = !0;
|
|
10804
10808
|
}
|
|
10805
10809
|
}
|
|
10806
10810
|
}
|
|
@@ -10820,7 +10824,7 @@ function h3(e) {
|
|
|
10820
10824
|
}
|
|
10821
10825
|
function c(K, de, Re) {
|
|
10822
10826
|
this.stack[this.stack.length - 1].children.push(K), this.stack.push(K), this.tokenStack.push([de, Re || void 0]), K.position = {
|
|
10823
|
-
start:
|
|
10827
|
+
start: Vr(de.start),
|
|
10824
10828
|
// @ts-expect-error: `end` will be patched later.
|
|
10825
10829
|
end: void 0
|
|
10826
10830
|
};
|
|
@@ -10839,7 +10843,7 @@ function h3(e) {
|
|
|
10839
10843
|
start: K.start,
|
|
10840
10844
|
end: K.end
|
|
10841
10845
|
}) + "): it’s not open");
|
|
10842
|
-
Re.position.end =
|
|
10846
|
+
Re.position.end = Vr(K.end);
|
|
10843
10847
|
}
|
|
10844
10848
|
function g() {
|
|
10845
10849
|
return kh(this.stack.pop());
|
|
@@ -10905,20 +10909,20 @@ function h3(e) {
|
|
|
10905
10909
|
const Re = this.stack[this.stack.length - 1].children;
|
|
10906
10910
|
let Be = Re[Re.length - 1];
|
|
10907
10911
|
(!Be || Be.type !== "text") && (Be = Eo(), Be.position = {
|
|
10908
|
-
start:
|
|
10912
|
+
start: Vr(K.start),
|
|
10909
10913
|
// @ts-expect-error: we’ll add `end` later.
|
|
10910
10914
|
end: void 0
|
|
10911
10915
|
}, Re.push(Be)), this.stack.push(Be);
|
|
10912
10916
|
}
|
|
10913
10917
|
function H(K) {
|
|
10914
10918
|
const de = this.stack.pop();
|
|
10915
|
-
de.value += this.sliceSerialize(K), de.position.end =
|
|
10919
|
+
de.value += this.sliceSerialize(K), de.position.end = Vr(K.end);
|
|
10916
10920
|
}
|
|
10917
10921
|
function ge(K) {
|
|
10918
10922
|
const de = this.stack[this.stack.length - 1];
|
|
10919
10923
|
if (this.data.atHardBreak) {
|
|
10920
10924
|
const Re = de.children[de.children.length - 1];
|
|
10921
|
-
Re.position.end =
|
|
10925
|
+
Re.position.end = Vr(K.end), this.data.atHardBreak = void 0;
|
|
10922
10926
|
return;
|
|
10923
10927
|
}
|
|
10924
10928
|
!this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(de.type) && (xe.call(this, K), H.call(this, K));
|
|
@@ -10998,7 +11002,7 @@ function h3(e) {
|
|
|
10998
11002
|
}
|
|
10999
11003
|
function $e(K) {
|
|
11000
11004
|
const de = this.stack.pop();
|
|
11001
|
-
de.position.end =
|
|
11005
|
+
de.position.end = Vr(K.end);
|
|
11002
11006
|
}
|
|
11003
11007
|
function Fe(K) {
|
|
11004
11008
|
H.call(this, K);
|
|
@@ -11080,7 +11084,7 @@ function h3(e) {
|
|
|
11080
11084
|
children: []
|
|
11081
11085
|
};
|
|
11082
11086
|
}
|
|
11083
|
-
function
|
|
11087
|
+
function Sr(K) {
|
|
11084
11088
|
return {
|
|
11085
11089
|
type: "list",
|
|
11086
11090
|
ordered: K.type === "listOrdered",
|
|
@@ -11089,7 +11093,7 @@ function h3(e) {
|
|
|
11089
11093
|
children: []
|
|
11090
11094
|
};
|
|
11091
11095
|
}
|
|
11092
|
-
function
|
|
11096
|
+
function Ar(K) {
|
|
11093
11097
|
return {
|
|
11094
11098
|
type: "listItem",
|
|
11095
11099
|
spread: K._spread,
|
|
@@ -11121,7 +11125,7 @@ function h3(e) {
|
|
|
11121
11125
|
};
|
|
11122
11126
|
}
|
|
11123
11127
|
}
|
|
11124
|
-
function
|
|
11128
|
+
function Vr(e) {
|
|
11125
11129
|
return {
|
|
11126
11130
|
line: e.line,
|
|
11127
11131
|
column: e.column,
|
|
@@ -15137,10 +15141,10 @@ var vt;
|
|
|
15137
15141
|
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";
|
|
15138
15142
|
})(vt || (vt = {}));
|
|
15139
15143
|
const Nv = 32;
|
|
15140
|
-
var
|
|
15144
|
+
var Wr;
|
|
15141
15145
|
(function(e) {
|
|
15142
15146
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
15143
|
-
})(
|
|
15147
|
+
})(Wr || (Wr = {}));
|
|
15144
15148
|
function Yd(e) {
|
|
15145
15149
|
return e >= vt.ZERO && e <= vt.NINE;
|
|
15146
15150
|
}
|
|
@@ -15286,7 +15290,7 @@ class Iv {
|
|
|
15286
15290
|
*/
|
|
15287
15291
|
stateNamedEntity(t, n) {
|
|
15288
15292
|
const { decodeTree: r } = this;
|
|
15289
|
-
let u = r[this.treeIndex], o = (u &
|
|
15293
|
+
let u = r[this.treeIndex], o = (u & Wr.VALUE_LENGTH) >> 14;
|
|
15290
15294
|
for (; n < t.length; n++, this.excess++) {
|
|
15291
15295
|
const l = t.charCodeAt(n);
|
|
15292
15296
|
if (this.treeIndex = Rv(r, u, this.treeIndex + Math.max(1, o), l), this.treeIndex < 0)
|
|
@@ -15294,7 +15298,7 @@ class Iv {
|
|
|
15294
15298
|
this.decodeMode === gr.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
15295
15299
|
(o === 0 || // And there should be no invalid characters.
|
|
15296
15300
|
Ov(l)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
15297
|
-
if (u = r[this.treeIndex], o = (u &
|
|
15301
|
+
if (u = r[this.treeIndex], o = (u & Wr.VALUE_LENGTH) >> 14, o !== 0) {
|
|
15298
15302
|
if (l === vt.SEMI)
|
|
15299
15303
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
15300
15304
|
this.decodeMode !== gr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
@@ -15309,7 +15313,7 @@ class Iv {
|
|
|
15309
15313
|
*/
|
|
15310
15314
|
emitNotTerminatedNamedEntity() {
|
|
15311
15315
|
var t;
|
|
15312
|
-
const { result: n, decodeTree: r } = this, u = (r[n] &
|
|
15316
|
+
const { result: n, decodeTree: r } = this, u = (r[n] & Wr.VALUE_LENGTH) >> 14;
|
|
15313
15317
|
return this.emitNamedEntityData(n, u, this.consumed), (t = this.errors) === null || t === void 0 || t.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
15314
15318
|
}
|
|
15315
15319
|
/**
|
|
@@ -15323,7 +15327,7 @@ class Iv {
|
|
|
15323
15327
|
*/
|
|
15324
15328
|
emitNamedEntityData(t, n, r) {
|
|
15325
15329
|
const { decodeTree: u } = this;
|
|
15326
|
-
return this.emitCodePoint(n === 1 ? u[t] & ~
|
|
15330
|
+
return this.emitCodePoint(n === 1 ? u[t] & ~Wr.VALUE_LENGTH : u[t + 1], r), n === 3 && this.emitCodePoint(u[t + 2], r), r;
|
|
15327
15331
|
}
|
|
15328
15332
|
/**
|
|
15329
15333
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -15350,7 +15354,7 @@ class Iv {
|
|
|
15350
15354
|
}
|
|
15351
15355
|
}
|
|
15352
15356
|
function Rv(e, t, n, r) {
|
|
15353
|
-
const u = (t &
|
|
15357
|
+
const u = (t & Wr.BRANCH_LENGTH) >> 7, o = t & Wr.JUMP_TABLE;
|
|
15354
15358
|
if (u === 0)
|
|
15355
15359
|
return o !== 0 && r === o ? n : -1;
|
|
15356
15360
|
if (o) {
|
|
@@ -15630,11 +15634,11 @@ function Iu(e) {
|
|
|
15630
15634
|
function Mv(e) {
|
|
15631
15635
|
return e >= C.LATIN_SMALL_A && e <= C.LATIN_SMALL_Z;
|
|
15632
15636
|
}
|
|
15633
|
-
function
|
|
15637
|
+
function Yr(e) {
|
|
15634
15638
|
return Mv(e) || Iu(e);
|
|
15635
15639
|
}
|
|
15636
15640
|
function d1(e) {
|
|
15637
|
-
return
|
|
15641
|
+
return Yr(e) || Dv(e);
|
|
15638
15642
|
}
|
|
15639
15643
|
function Da(e) {
|
|
15640
15644
|
return e + 32;
|
|
@@ -16271,7 +16275,7 @@ class Bv {
|
|
|
16271
16275
|
// Tag open state
|
|
16272
16276
|
//------------------------------------------------------------------
|
|
16273
16277
|
_stateTagOpen(t) {
|
|
16274
|
-
if (
|
|
16278
|
+
if (Yr(t))
|
|
16275
16279
|
this._createStartTagToken(), this.state = x.TAG_NAME, this._stateTagName(t);
|
|
16276
16280
|
else
|
|
16277
16281
|
switch (t) {
|
|
@@ -16298,7 +16302,7 @@ class Bv {
|
|
|
16298
16302
|
// End tag open state
|
|
16299
16303
|
//------------------------------------------------------------------
|
|
16300
16304
|
_stateEndTagOpen(t) {
|
|
16301
|
-
if (
|
|
16305
|
+
if (Yr(t))
|
|
16302
16306
|
this._createEndTagToken(), this.state = x.TAG_NAME, this._stateTagName(t);
|
|
16303
16307
|
else
|
|
16304
16308
|
switch (t) {
|
|
@@ -16354,7 +16358,7 @@ class Bv {
|
|
|
16354
16358
|
// RCDATA end tag open state
|
|
16355
16359
|
//------------------------------------------------------------------
|
|
16356
16360
|
_stateRcdataEndTagOpen(t) {
|
|
16357
|
-
|
|
16361
|
+
Yr(t) ? (this.state = x.RCDATA_END_TAG_NAME, this._stateRcdataEndTagName(t)) : (this._emitChars("</"), this.state = x.RCDATA, this._stateRcdata(t));
|
|
16358
16362
|
}
|
|
16359
16363
|
handleSpecialEndTag(t) {
|
|
16360
16364
|
if (!this.preprocessor.startsWith(this.lastStartTagName, !1))
|
|
@@ -16388,7 +16392,7 @@ class Bv {
|
|
|
16388
16392
|
// RAWTEXT end tag open state
|
|
16389
16393
|
//------------------------------------------------------------------
|
|
16390
16394
|
_stateRawtextEndTagOpen(t) {
|
|
16391
|
-
|
|
16395
|
+
Yr(t) ? (this.state = x.RAWTEXT_END_TAG_NAME, this._stateRawtextEndTagName(t)) : (this._emitChars("</"), this.state = x.RAWTEXT, this._stateRawtext(t));
|
|
16392
16396
|
}
|
|
16393
16397
|
// RAWTEXT end tag name state
|
|
16394
16398
|
//------------------------------------------------------------------
|
|
@@ -16414,7 +16418,7 @@ class Bv {
|
|
|
16414
16418
|
// Script data end tag open state
|
|
16415
16419
|
//------------------------------------------------------------------
|
|
16416
16420
|
_stateScriptDataEndTagOpen(t) {
|
|
16417
|
-
|
|
16421
|
+
Yr(t) ? (this.state = x.SCRIPT_DATA_END_TAG_NAME, this._stateScriptDataEndTagName(t)) : (this._emitChars("</"), this.state = x.SCRIPT_DATA, this._stateScriptData(t));
|
|
16418
16422
|
}
|
|
16419
16423
|
// Script data end tag name state
|
|
16420
16424
|
//------------------------------------------------------------------
|
|
@@ -16510,12 +16514,12 @@ class Bv {
|
|
|
16510
16514
|
// Script data escaped less-than sign state
|
|
16511
16515
|
//------------------------------------------------------------------
|
|
16512
16516
|
_stateScriptDataEscapedLessThanSign(t) {
|
|
16513
|
-
t === C.SOLIDUS ? this.state = x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN :
|
|
16517
|
+
t === C.SOLIDUS ? this.state = x.SCRIPT_DATA_ESCAPED_END_TAG_OPEN : Yr(t) ? (this._emitChars("<"), this.state = x.SCRIPT_DATA_DOUBLE_ESCAPE_START, this._stateScriptDataDoubleEscapeStart(t)) : (this._emitChars("<"), this.state = x.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
|
|
16514
16518
|
}
|
|
16515
16519
|
// Script data escaped end tag open state
|
|
16516
16520
|
//------------------------------------------------------------------
|
|
16517
16521
|
_stateScriptDataEscapedEndTagOpen(t) {
|
|
16518
|
-
|
|
16522
|
+
Yr(t) ? (this.state = x.SCRIPT_DATA_ESCAPED_END_TAG_NAME, this._stateScriptDataEscapedEndTagName(t)) : (this._emitChars("</"), this.state = x.SCRIPT_DATA_ESCAPED, this._stateScriptDataEscaped(t));
|
|
16519
16523
|
}
|
|
16520
16524
|
// Script data escaped end tag name state
|
|
16521
16525
|
//------------------------------------------------------------------
|
|
@@ -17855,7 +17859,7 @@ class qv {
|
|
|
17855
17859
|
return this.entries.find((n) => n.type === Jn.Element && n.element === t);
|
|
17856
17860
|
}
|
|
17857
17861
|
}
|
|
17858
|
-
const
|
|
17862
|
+
const qr = {
|
|
17859
17863
|
//Node construction
|
|
17860
17864
|
createDocument() {
|
|
17861
17865
|
return {
|
|
@@ -17920,7 +17924,7 @@ const Yr = {
|
|
|
17920
17924
|
systemId: r,
|
|
17921
17925
|
parentNode: null
|
|
17922
17926
|
};
|
|
17923
|
-
|
|
17927
|
+
qr.appendChild(e, o);
|
|
17924
17928
|
}
|
|
17925
17929
|
},
|
|
17926
17930
|
setDocumentMode(e, t) {
|
|
@@ -17938,16 +17942,16 @@ const Yr = {
|
|
|
17938
17942
|
insertText(e, t) {
|
|
17939
17943
|
if (e.childNodes.length > 0) {
|
|
17940
17944
|
const n = e.childNodes[e.childNodes.length - 1];
|
|
17941
|
-
if (
|
|
17945
|
+
if (qr.isTextNode(n)) {
|
|
17942
17946
|
n.value += t;
|
|
17943
17947
|
return;
|
|
17944
17948
|
}
|
|
17945
17949
|
}
|
|
17946
|
-
|
|
17950
|
+
qr.appendChild(e, qr.createTextNode(t));
|
|
17947
17951
|
},
|
|
17948
17952
|
insertTextBefore(e, t, n) {
|
|
17949
17953
|
const r = e.childNodes[e.childNodes.indexOf(n) - 1];
|
|
17950
|
-
r &&
|
|
17954
|
+
r && qr.isTextNode(r) ? r.value += t : qr.insertBefore(e, qr.createTextNode(t), n);
|
|
17951
17955
|
},
|
|
17952
17956
|
adoptAttributes(e, t) {
|
|
17953
17957
|
const n = new Set(e.attrs.map((r) => r.name));
|
|
@@ -18320,7 +18324,7 @@ const pO = {
|
|
|
18320
18324
|
}, dT = /* @__PURE__ */ new Set([p.TABLE, p.TBODY, p.TFOOT, p.THEAD, p.TR]), b1 = {
|
|
18321
18325
|
scriptingEnabled: !0,
|
|
18322
18326
|
sourceCodeLocationInfo: !1,
|
|
18323
|
-
treeAdapter:
|
|
18327
|
+
treeAdapter: qr,
|
|
18324
18328
|
onParseError: null
|
|
18325
18329
|
};
|
|
18326
18330
|
class _1 {
|
|
@@ -21966,7 +21970,7 @@ const M6 = {
|
|
|
21966
21970
|
name: "protocolAutolink",
|
|
21967
21971
|
tokenize: z6,
|
|
21968
21972
|
previous: ZT
|
|
21969
|
-
},
|
|
21973
|
+
}, _r = {
|
|
21970
21974
|
name: "emailAutolink",
|
|
21971
21975
|
tokenize: U6,
|
|
21972
21976
|
previous: eb
|
|
@@ -21978,15 +21982,15 @@ function B6() {
|
|
|
21978
21982
|
}
|
|
21979
21983
|
let hi = 48;
|
|
21980
21984
|
for (; hi < 123; )
|
|
21981
|
-
rr[hi] =
|
|
21982
|
-
rr[43] =
|
|
21983
|
-
rr[45] =
|
|
21984
|
-
rr[46] =
|
|
21985
|
-
rr[95] =
|
|
21986
|
-
rr[72] = [
|
|
21987
|
-
rr[104] = [
|
|
21988
|
-
rr[87] = [
|
|
21989
|
-
rr[119] = [
|
|
21985
|
+
rr[hi] = _r, hi++, hi === 58 ? hi = 65 : hi === 91 && (hi = 97);
|
|
21986
|
+
rr[43] = _r;
|
|
21987
|
+
rr[45] = _r;
|
|
21988
|
+
rr[46] = _r;
|
|
21989
|
+
rr[95] = _r;
|
|
21990
|
+
rr[72] = [_r, XT];
|
|
21991
|
+
rr[104] = [_r, XT];
|
|
21992
|
+
rr[87] = [_r, QT];
|
|
21993
|
+
rr[119] = [_r, QT];
|
|
21990
21994
|
function U6(e, t, n) {
|
|
21991
21995
|
const r = this;
|
|
21992
21996
|
let u, o;
|
|
@@ -22860,6 +22864,24 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
22860
22864
|
children: `${n} filters`
|
|
22861
22865
|
}
|
|
22862
22866
|
), bP = ({
|
|
22867
|
+
globalClassName: e,
|
|
22868
|
+
filterName: t,
|
|
22869
|
+
message: n
|
|
22870
|
+
}) => {
|
|
22871
|
+
var o, l, c;
|
|
22872
|
+
const u = ((c = (((l = (o = n.request) == null ? void 0 : o.searchParams) == null ? void 0 : l.facetFilters) || {})[t]) == null ? void 0 : c.join(", ")) || "";
|
|
22873
|
+
return /* @__PURE__ */ P.jsxs(
|
|
22874
|
+
"div",
|
|
22875
|
+
{
|
|
22876
|
+
className: le(e, `${te}-user-search-facets`),
|
|
22877
|
+
children: [
|
|
22878
|
+
/* @__PURE__ */ P.jsx("p", { className: le(e, `${te}-user-search-facet-category`), children: t }),
|
|
22879
|
+
/* @__PURE__ */ P.jsx("p", { className: le(e, `${te}-user-search-facet-values`), children: u })
|
|
22880
|
+
]
|
|
22881
|
+
},
|
|
22882
|
+
t
|
|
22883
|
+
);
|
|
22884
|
+
}, _P = ({
|
|
22863
22885
|
globalClassName: e,
|
|
22864
22886
|
message: t,
|
|
22865
22887
|
facetFiltersList: n,
|
|
@@ -22894,57 +22916,37 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
22894
22916
|
}
|
|
22895
22917
|
)
|
|
22896
22918
|
] }),
|
|
22897
|
-
n.length > 0 && /* @__PURE__ */ P.jsx("div", { className: le(e, `${te}-user-search-facet-filters`), children: n.map((o) =>
|
|
22898
|
-
|
|
22899
|
-
|
|
22900
|
-
|
|
22901
|
-
|
|
22902
|
-
|
|
22903
|
-
|
|
22904
|
-
|
|
22905
|
-
|
|
22906
|
-
{
|
|
22907
|
-
className: le(
|
|
22908
|
-
e,
|
|
22909
|
-
`${te}-user-search-facet-category`
|
|
22910
|
-
),
|
|
22911
|
-
children: o
|
|
22912
|
-
}
|
|
22913
|
-
),
|
|
22914
|
-
/* @__PURE__ */ P.jsx(
|
|
22915
|
-
"p",
|
|
22916
|
-
{
|
|
22917
|
-
className: le(
|
|
22918
|
-
e,
|
|
22919
|
-
`${te}-user-search-facet-values`
|
|
22920
|
-
),
|
|
22921
|
-
children: (d = (c = (l = t.request) == null ? void 0 : l.searchParams) == null ? void 0 : c.facetFilters) == null ? void 0 : d[o].join(", ")
|
|
22922
|
-
}
|
|
22923
|
-
)
|
|
22924
|
-
]
|
|
22925
|
-
},
|
|
22926
|
-
o
|
|
22927
|
-
);
|
|
22928
|
-
}) })
|
|
22919
|
+
n.length > 0 && /* @__PURE__ */ P.jsx("div", { className: le(e, `${te}-user-search-facet-filters`), children: n.map((o) => /* @__PURE__ */ P.jsx(
|
|
22920
|
+
bP,
|
|
22921
|
+
{
|
|
22922
|
+
globalClassName: e,
|
|
22923
|
+
filterName: o,
|
|
22924
|
+
message: t
|
|
22925
|
+
},
|
|
22926
|
+
o
|
|
22927
|
+
)) })
|
|
22929
22928
|
] });
|
|
22930
|
-
},
|
|
22929
|
+
}, SP = ({
|
|
22931
22930
|
globalClassName: e,
|
|
22932
22931
|
message: t,
|
|
22933
22932
|
isWidgetStandalone: n
|
|
22934
22933
|
}) => {
|
|
22935
|
-
var
|
|
22934
|
+
var h, g;
|
|
22935
|
+
const { configModule: r } = br();
|
|
22936
22936
|
if (!t.isUserAction) return null;
|
|
22937
|
-
const { facetFilters:
|
|
22938
|
-
(
|
|
22937
|
+
const u = (r == null ? void 0 : r.getProductHiddenFields()) || [], { facetFilters: o = {} } = ((h = t.request) == null ? void 0 : h.searchParams) || { facetFilters: {} }, l = Object.fromEntries(
|
|
22938
|
+
Object.entries(o).filter(([y]) => !u.includes(y))
|
|
22939
|
+
), c = Object.keys(l), d = Object.values(l).reduce(
|
|
22940
|
+
(y, b) => y + b.length,
|
|
22939
22941
|
0
|
|
22940
22942
|
);
|
|
22941
22943
|
return n ? /* @__PURE__ */ P.jsx(
|
|
22942
|
-
|
|
22944
|
+
_P,
|
|
22943
22945
|
{
|
|
22944
22946
|
globalClassName: e,
|
|
22945
22947
|
message: t,
|
|
22946
|
-
facetFiltersList:
|
|
22947
|
-
filterCount:
|
|
22948
|
+
facetFiltersList: c,
|
|
22949
|
+
filterCount: d
|
|
22948
22950
|
}
|
|
22949
22951
|
) : /* @__PURE__ */ P.jsxs("div", { className: le(e, `${te}-user-search embedded`), children: [
|
|
22950
22952
|
/* @__PURE__ */ P.jsx(
|
|
@@ -22957,8 +22959,8 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
22957
22959
|
children: /* @__PURE__ */ P.jsx(Nl, {})
|
|
22958
22960
|
}
|
|
22959
22961
|
),
|
|
22960
|
-
/* @__PURE__ */ P.jsx("p", { children: (
|
|
22961
|
-
|
|
22962
|
+
/* @__PURE__ */ P.jsx("p", { children: (g = t.request) == null ? void 0 : g.searchParams.query }),
|
|
22963
|
+
c.length > 0 && /* @__PURE__ */ P.jsx(nb, { isWidgetStandalone: !1, filterCount: d })
|
|
22962
22964
|
] });
|
|
22963
22965
|
}, R1 = ({
|
|
22964
22966
|
message: e,
|
|
@@ -22985,7 +22987,7 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
22985
22987
|
);
|
|
22986
22988
|
case "faceted_navigation":
|
|
22987
22989
|
return /* @__PURE__ */ P.jsx(
|
|
22988
|
-
|
|
22990
|
+
SP,
|
|
22989
22991
|
{
|
|
22990
22992
|
globalClassName: t,
|
|
22991
22993
|
message: e,
|
|
@@ -23057,7 +23059,7 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
23057
23059
|
messages: t,
|
|
23058
23060
|
handleSuggestionClick: n
|
|
23059
23061
|
}) => {
|
|
23060
|
-
const { globalClassName: r } =
|
|
23062
|
+
const { globalClassName: r } = br();
|
|
23061
23063
|
return t.map((u) => u.messages && u.type === "group" ? /* @__PURE__ */ P.jsx(
|
|
23062
23064
|
"div",
|
|
23063
23065
|
{
|
|
@@ -23100,8 +23102,8 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
23100
23102
|
},
|
|
23101
23103
|
u.message.id
|
|
23102
23104
|
) : null);
|
|
23103
|
-
},
|
|
23104
|
-
const { globalClassName: e, themeVariables: t } =
|
|
23105
|
+
}, AP = () => {
|
|
23106
|
+
const { globalClassName: e, themeVariables: t } = br(), { status: n } = xl(), { copilot: r, messages: u, groupedMessages: o, isLoading: l, handleUserInput: c, handleSuggestion: d } = no(), { isOpen: h } = n || {}, g = X.useRef(null);
|
|
23105
23107
|
return X.useEffect(() => {
|
|
23106
23108
|
g.current && g.current.scrollIntoView({
|
|
23107
23109
|
behavior: "smooth",
|
|
@@ -23147,31 +23149,31 @@ const Hl = () => /* @__PURE__ */ P.jsx("span", { className: `${te}-blinking-curs
|
|
|
23147
23149
|
}
|
|
23148
23150
|
) : /* @__PURE__ */ P.jsx("div", { children: "Loading Copilot..." });
|
|
23149
23151
|
};
|
|
23150
|
-
function
|
|
23152
|
+
function CP(e) {
|
|
23151
23153
|
return Hn({ attr: { fill: "currentColor", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M1.146 8.354a.5.5 0 0 1 0-.708l2-2a.5.5 0 1 1 .708.708L2.707 7.5h10.586l-1.147-1.146a.5.5 0 0 1 .708-.708l2 2a.5.5 0 0 1 0 .708l-2 2a.5.5 0 0 1-.708-.708L13.293 8.5H2.707l1.147 1.146a.5.5 0 0 1-.708.708z" }, child: [] }] })(e);
|
|
23152
23154
|
}
|
|
23153
|
-
function
|
|
23155
|
+
function kP(e) {
|
|
23154
23156
|
return Hn({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M196.24,68.24,78.48,186H168a6,6,0,0,1,0,12H64a6,6,0,0,1-6-6V88a6,6,0,0,1,12,0v89.52L187.76,59.76a6,6,0,0,1,8.48,8.48Z" }, child: [] }] })(e);
|
|
23155
23157
|
}
|
|
23156
|
-
function
|
|
23158
|
+
function xP(e) {
|
|
23157
23159
|
return Hn({ attr: { viewBox: "0 0 256 256", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M198,64V168a6,6,0,0,1-12,0V78.48L68.24,196.24a6,6,0,0,1-8.48-8.48L177.52,70H88a6,6,0,0,1,0-12H192A6,6,0,0,1,198,64Z" }, child: [] }] })(e);
|
|
23158
23160
|
}
|
|
23159
|
-
function
|
|
23161
|
+
function NP(e) {
|
|
23160
23162
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
23161
23163
|
}
|
|
23162
|
-
var
|
|
23163
|
-
if (!
|
|
23164
|
+
var wP = (e) => e != null && typeof e == "object", Za = (e) => typeof e == "string", cs = (e) => typeof e == "function", vP = (e, t) => Object.prototype.hasOwnProperty.call(e, t), OP = (e) => Object.prototype.toString.call(e), rb = Function.prototype.toString, IP = rb.call(Object), RP = (e) => {
|
|
23165
|
+
if (!wP(e) || OP(e) != "[object Object]" || DP(e)) return !1;
|
|
23164
23166
|
const t = Object.getPrototypeOf(e);
|
|
23165
23167
|
if (t === null) return !0;
|
|
23166
|
-
const n =
|
|
23167
|
-
return typeof n == "function" && n instanceof n && rb.call(n) ==
|
|
23168
|
-
},
|
|
23168
|
+
const n = vP(t, "constructor") && t.constructor;
|
|
23169
|
+
return typeof n == "function" && n instanceof n && rb.call(n) == IP;
|
|
23170
|
+
}, PP = (e) => typeof e == "object" && e !== null && "$$typeof" in e && "props" in e, LP = (e) => typeof e == "object" && e !== null && "__v_isVNode" in e, DP = (e) => PP(e) || LP(e), MP = (e) => e(), Qd = (...e) => (...t) => {
|
|
23169
23171
|
e.forEach(function(n) {
|
|
23170
23172
|
n == null || n(...t);
|
|
23171
23173
|
});
|
|
23172
23174
|
};
|
|
23173
23175
|
function ib(e) {
|
|
23174
|
-
if (!
|
|
23176
|
+
if (!RP(e) || e === void 0) return e;
|
|
23175
23177
|
const t = Reflect.ownKeys(e).filter((r) => typeof r == "string"), n = {};
|
|
23176
23178
|
for (const r of t) {
|
|
23177
23179
|
const u = e[r];
|
|
@@ -23182,19 +23184,19 @@ function ib(e) {
|
|
|
23182
23184
|
function Xd(...e) {
|
|
23183
23185
|
e.length === 1 ? e[0] : e[1], e.length === 2 && e[0];
|
|
23184
23186
|
}
|
|
23185
|
-
function
|
|
23187
|
+
function FP(e, t) {
|
|
23186
23188
|
if (e == null) throw new Error(t());
|
|
23187
23189
|
}
|
|
23188
23190
|
var sb = () => {
|
|
23189
|
-
}, zl = (e) => typeof e == "object" && e !== null,
|
|
23190
|
-
function
|
|
23191
|
+
}, zl = (e) => typeof e == "object" && e !== null, BP = 1, UP = 9, HP = 11, un = (e) => zl(e) && e.nodeType === BP && typeof e.nodeName == "string", Vh = (e) => zl(e) && e.nodeType === UP, zP = (e) => zl(e) && e === e.window, ub = (e) => un(e) ? e.localName || "" : "#document";
|
|
23192
|
+
function jP(e) {
|
|
23191
23193
|
return ["html", "body", "#document"].includes(ub(e));
|
|
23192
23194
|
}
|
|
23193
|
-
var
|
|
23194
|
-
function
|
|
23195
|
+
var $P = (e) => zl(e) && e.nodeType !== void 0, _s = (e) => $P(e) && e.nodeType === HP && "host" in e, VP = (e) => un(e) && e.localName === "input", YP = (e) => un(e) ? e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0 : !1, qP = /(textarea|select)/;
|
|
23196
|
+
function WP(e) {
|
|
23195
23197
|
if (e == null || !un(e)) return !1;
|
|
23196
23198
|
try {
|
|
23197
|
-
return
|
|
23199
|
+
return VP(e) && e.selectionStart != null || qP.test(e.localName) || e.isContentEditable || e.getAttribute("contenteditable") === "true" || e.getAttribute("contenteditable") === "";
|
|
23198
23200
|
} catch (t) {
|
|
23199
23201
|
return !1;
|
|
23200
23202
|
}
|
|
@@ -23215,9 +23217,9 @@ function dl(e, t) {
|
|
|
23215
23217
|
}
|
|
23216
23218
|
function ir(e) {
|
|
23217
23219
|
var t;
|
|
23218
|
-
return Vh(e) ? e :
|
|
23220
|
+
return Vh(e) ? e : zP(e) ? e.document : (t = e == null ? void 0 : e.ownerDocument) != null ? t : document;
|
|
23219
23221
|
}
|
|
23220
|
-
function
|
|
23222
|
+
function GP(e) {
|
|
23221
23223
|
return ir(e).documentElement;
|
|
23222
23224
|
}
|
|
23223
23225
|
function lo(e) {
|
|
@@ -23233,9 +23235,9 @@ function ob(e) {
|
|
|
23233
23235
|
}
|
|
23234
23236
|
return t;
|
|
23235
23237
|
}
|
|
23236
|
-
function
|
|
23238
|
+
function KP(e) {
|
|
23237
23239
|
if (ub(e) === "html") return e;
|
|
23238
|
-
const t = e.assignedSlot || e.parentNode || _s(e) && e.host ||
|
|
23240
|
+
const t = e.assignedSlot || e.parentNode || _s(e) && e.host || GP(e);
|
|
23239
23241
|
return _s(t) ? t.host : t;
|
|
23240
23242
|
}
|
|
23241
23243
|
var od = /* @__PURE__ */ new WeakMap();
|
|
@@ -23243,31 +23245,31 @@ function ab(e) {
|
|
|
23243
23245
|
return od.has(e) || od.set(e, lo(e).getComputedStyle(e)), od.get(e);
|
|
23244
23246
|
}
|
|
23245
23247
|
var lb = () => typeof document != "undefined";
|
|
23246
|
-
function
|
|
23248
|
+
function QP() {
|
|
23247
23249
|
var t;
|
|
23248
23250
|
const e = navigator.userAgentData;
|
|
23249
23251
|
return (t = e == null ? void 0 : e.platform) != null ? t : navigator.platform;
|
|
23250
23252
|
}
|
|
23251
|
-
var Yh = (e) => lb() && e.test(
|
|
23252
|
-
function
|
|
23253
|
+
var Yh = (e) => lb() && e.test(QP()), P1 = () => lb() && !!navigator.maxTouchPoints, XP = () => Yh(/^iPhone/i), JP = () => Yh(/^iPad/i) || cb() && navigator.maxTouchPoints > 1, ZP = () => XP() || JP(), cb = () => Yh(/^Mac/i);
|
|
23254
|
+
function eL(e) {
|
|
23253
23255
|
var t, n, r, u;
|
|
23254
23256
|
return (u = (t = e.composedPath) == null ? void 0 : t.call(e)) != null ? u : (r = (n = e.nativeEvent) == null ? void 0 : n.composedPath) == null ? void 0 : r.call(n);
|
|
23255
23257
|
}
|
|
23256
23258
|
function Er(e) {
|
|
23257
23259
|
var n;
|
|
23258
|
-
const t =
|
|
23260
|
+
const t = eL(e);
|
|
23259
23261
|
return (n = t == null ? void 0 : t[0]) != null ? n : e.target;
|
|
23260
23262
|
}
|
|
23261
|
-
var
|
|
23263
|
+
var tL = (e) => e.button === 2 || cb() && e.ctrlKey && e.button === 0, Zn = (e, t, n, r) => {
|
|
23262
23264
|
const u = typeof e == "function" ? e() : e;
|
|
23263
23265
|
return u == null || u.addEventListener(t, n, r), () => {
|
|
23264
23266
|
u == null || u.removeEventListener(t, n, r);
|
|
23265
23267
|
};
|
|
23266
|
-
}, fb = (e) => un(e) && e.tagName === "IFRAME",
|
|
23268
|
+
}, fb = (e) => un(e) && e.tagName === "IFRAME", nL = (e) => !Number.isNaN(parseInt(e.getAttribute("tabindex") || "0", 10)), rL = (e) => parseInt(e.getAttribute("tabindex") || "0", 10) < 0, qh = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type", db = (e, t = !1) => {
|
|
23267
23269
|
if (!e) return [];
|
|
23268
23270
|
const n = Array.from(e.querySelectorAll(qh));
|
|
23269
|
-
(t == !0 || t == "if-empty" && n.length === 0) && un(e) &&
|
|
23270
|
-
const u = n.filter(
|
|
23271
|
+
(t == !0 || t == "if-empty" && n.length === 0) && un(e) && Kr(e) && n.unshift(e);
|
|
23272
|
+
const u = n.filter(Kr);
|
|
23271
23273
|
return u.forEach((o, l) => {
|
|
23272
23274
|
if (fb(o) && o.contentDocument) {
|
|
23273
23275
|
const c = o.contentDocument.body;
|
|
@@ -23275,8 +23277,8 @@ var eL = (e) => e.button === 2 || cb() && e.ctrlKey && e.button === 0, Zn = (e,
|
|
|
23275
23277
|
}
|
|
23276
23278
|
}), u;
|
|
23277
23279
|
};
|
|
23278
|
-
function
|
|
23279
|
-
return !e || e.closest("[inert]") ? !1 : e.matches(qh) &&
|
|
23280
|
+
function Kr(e) {
|
|
23281
|
+
return !e || e.closest("[inert]") ? !1 : e.matches(qh) && YP(e);
|
|
23280
23282
|
}
|
|
23281
23283
|
function hb(e, t) {
|
|
23282
23284
|
if (!e) return [];
|
|
@@ -23289,12 +23291,12 @@ function hb(e, t) {
|
|
|
23289
23291
|
}), r.length, r;
|
|
23290
23292
|
}
|
|
23291
23293
|
function mi(e) {
|
|
23292
|
-
return e != null && e.tabIndex > 0 ? !0 :
|
|
23294
|
+
return e != null && e.tabIndex > 0 ? !0 : Kr(e) && !rL(e);
|
|
23293
23295
|
}
|
|
23294
23296
|
function Nu(e) {
|
|
23295
|
-
return e.tabIndex < 0 && (/^(audio|video|details)$/.test(e.localName) ||
|
|
23297
|
+
return e.tabIndex < 0 && (/^(audio|video|details)$/.test(e.localName) || WP(e)) && !nL(e) ? 0 : e.tabIndex;
|
|
23296
23298
|
}
|
|
23297
|
-
function
|
|
23299
|
+
function iL(e) {
|
|
23298
23300
|
const t = /* @__PURE__ */ new Set();
|
|
23299
23301
|
function n(r) {
|
|
23300
23302
|
const u = globalThis.requestAnimationFrame(r);
|
|
@@ -23314,13 +23316,13 @@ function Tr(e) {
|
|
|
23314
23316
|
};
|
|
23315
23317
|
}
|
|
23316
23318
|
function Jd(e) {
|
|
23317
|
-
const t =
|
|
23318
|
-
return
|
|
23319
|
+
const t = KP(e);
|
|
23320
|
+
return jP(t) ? ir(t).body : un(t) && oL(t) ? t : Jd(t);
|
|
23319
23321
|
}
|
|
23320
|
-
var
|
|
23321
|
-
function
|
|
23322
|
+
var sL = /auto|scroll|overlay|hidden|clip/, uL = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
23323
|
+
function oL(e) {
|
|
23322
23324
|
const t = lo(e), { overflow: n, overflowX: r, overflowY: u, display: o } = t.getComputedStyle(e);
|
|
23323
|
-
return
|
|
23325
|
+
return sL.test(n + u + r) && !uL.has(o);
|
|
23324
23326
|
}
|
|
23325
23327
|
function hl(e, t) {
|
|
23326
23328
|
if (!e) return sb;
|
|
@@ -23329,14 +23331,14 @@ function hl(e, t) {
|
|
|
23329
23331
|
Object.assign(e.style, n), e.style.length === 0 && e.removeAttribute("style");
|
|
23330
23332
|
};
|
|
23331
23333
|
}
|
|
23332
|
-
function
|
|
23334
|
+
function aL(e, t, n) {
|
|
23333
23335
|
if (!e) return sb;
|
|
23334
23336
|
const r = e.style.getPropertyValue(t);
|
|
23335
23337
|
return e.style.setProperty(t, n), () => {
|
|
23336
23338
|
e.style.setProperty(t, r), e.style.length === 0 && e.removeAttribute("style");
|
|
23337
23339
|
};
|
|
23338
23340
|
}
|
|
23339
|
-
function
|
|
23341
|
+
function lL(e, t, n) {
|
|
23340
23342
|
const { signal: r } = t;
|
|
23341
23343
|
return [new Promise((l, c) => {
|
|
23342
23344
|
const d = setTimeout(() => {
|
|
@@ -23351,9 +23353,9 @@ function aL(e, t, n) {
|
|
|
23351
23353
|
});
|
|
23352
23354
|
}), () => t.abort()];
|
|
23353
23355
|
}
|
|
23354
|
-
function
|
|
23356
|
+
function cL(e, t) {
|
|
23355
23357
|
const { timeout: n, rootNode: r } = t, u = lo(r), o = ir(r), l = new u.AbortController();
|
|
23356
|
-
return
|
|
23358
|
+
return lL(
|
|
23357
23359
|
new Promise((c) => {
|
|
23358
23360
|
const d = e();
|
|
23359
23361
|
if (d) {
|
|
@@ -23373,16 +23375,16 @@ function lL(e, t) {
|
|
|
23373
23375
|
n
|
|
23374
23376
|
);
|
|
23375
23377
|
}
|
|
23376
|
-
var
|
|
23378
|
+
var fL = (...e) => e.map((t) => {
|
|
23377
23379
|
var n;
|
|
23378
23380
|
return (n = t == null ? void 0 : t.trim) == null ? void 0 : n.call(t);
|
|
23379
|
-
}).filter(Boolean).join(" "),
|
|
23381
|
+
}).filter(Boolean).join(" "), dL = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g, L1 = (e) => {
|
|
23380
23382
|
const t = {};
|
|
23381
23383
|
let n;
|
|
23382
|
-
for (; n =
|
|
23384
|
+
for (; n = dL.exec(e); )
|
|
23383
23385
|
t[n[1]] = n[2];
|
|
23384
23386
|
return t;
|
|
23385
|
-
},
|
|
23387
|
+
}, hL = (e, t) => {
|
|
23386
23388
|
if (Za(e)) {
|
|
23387
23389
|
if (Za(t)) return `${e};${t}`;
|
|
23388
23390
|
e = L1(e);
|
|
@@ -23398,11 +23400,11 @@ function Ni(...e) {
|
|
|
23398
23400
|
continue;
|
|
23399
23401
|
}
|
|
23400
23402
|
if (r === "className" || r === "class") {
|
|
23401
|
-
t[r] =
|
|
23403
|
+
t[r] = fL(t[r], n[r]);
|
|
23402
23404
|
continue;
|
|
23403
23405
|
}
|
|
23404
23406
|
if (r === "style") {
|
|
23405
|
-
t[r] =
|
|
23407
|
+
t[r] = hL(t[r], n[r]);
|
|
23406
23408
|
continue;
|
|
23407
23409
|
}
|
|
23408
23410
|
t[r] = n[r] !== void 0 ? n[r] : t[r];
|
|
@@ -23413,7 +23415,7 @@ function Ni(...e) {
|
|
|
23413
23415
|
return t;
|
|
23414
23416
|
}
|
|
23415
23417
|
var as = /* @__PURE__ */ ((e) => (e.NotStarted = "Not Started", e.Started = "Started", e.Stopped = "Stopped", e))(as || {}), ad = "__init__";
|
|
23416
|
-
function
|
|
23418
|
+
function pL(e) {
|
|
23417
23419
|
const t = () => {
|
|
23418
23420
|
var c, d;
|
|
23419
23421
|
return (d = (c = e.getRootNode) == null ? void 0 : c.call(e)) != null ? d : document;
|
|
@@ -23441,7 +23443,7 @@ var ld = { exports: {} }, en = {}, cd = { exports: {} }, fd = {};
|
|
|
23441
23443
|
* LICENSE file in the root directory of this source tree.
|
|
23442
23444
|
*/
|
|
23443
23445
|
var D1;
|
|
23444
|
-
function
|
|
23446
|
+
function mL() {
|
|
23445
23447
|
return D1 || (D1 = 1, function(e) {
|
|
23446
23448
|
function t(M, G) {
|
|
23447
23449
|
var A = M.length;
|
|
@@ -23641,8 +23643,8 @@ function pL() {
|
|
|
23641
23643
|
}(fd)), fd;
|
|
23642
23644
|
}
|
|
23643
23645
|
var M1;
|
|
23644
|
-
function
|
|
23645
|
-
return M1 || (M1 = 1, cd.exports =
|
|
23646
|
+
function gL() {
|
|
23647
|
+
return M1 || (M1 = 1, cd.exports = mL()), cd.exports;
|
|
23646
23648
|
}
|
|
23647
23649
|
/**
|
|
23648
23650
|
* @license React
|
|
@@ -23654,10 +23656,10 @@ function mL() {
|
|
|
23654
23656
|
* LICENSE file in the root directory of this source tree.
|
|
23655
23657
|
*/
|
|
23656
23658
|
var F1;
|
|
23657
|
-
function
|
|
23659
|
+
function EL() {
|
|
23658
23660
|
if (F1) return en;
|
|
23659
23661
|
F1 = 1;
|
|
23660
|
-
var e = rh(), t =
|
|
23662
|
+
var e = rh(), t = gL();
|
|
23661
23663
|
function n(i) {
|
|
23662
23664
|
for (var s = "https://reactjs.org/docs/error-decoder.html?invariant=" + i, a = 1; a < arguments.length; a++) s += "&args[]=" + encodeURIComponent(arguments[a]);
|
|
23663
23665
|
return "Minified React error #" + i + "; visit " + s + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
@@ -24013,8 +24015,8 @@ function gL() {
|
|
|
24013
24015
|
function Oi(i, s, a) {
|
|
24014
24016
|
(s !== "number" || wi(i.ownerDocument) !== i) && (a == null ? i.defaultValue = "" + i._wrapperState.initialValue : i.defaultValue !== "" + a && (i.defaultValue = "" + a));
|
|
24015
24017
|
}
|
|
24016
|
-
var
|
|
24017
|
-
function
|
|
24018
|
+
var Sr = Array.isArray;
|
|
24019
|
+
function Ar(i, s, a, f) {
|
|
24018
24020
|
if (i = i.options, s) {
|
|
24019
24021
|
s = {};
|
|
24020
24022
|
for (var m = 0; m < a.length; m++) s["$" + a[m]] = !0;
|
|
@@ -24039,7 +24041,7 @@ function gL() {
|
|
|
24039
24041
|
if (a == null) {
|
|
24040
24042
|
if (a = s.children, s = s.defaultValue, a != null) {
|
|
24041
24043
|
if (s != null) throw Error(n(92));
|
|
24042
|
-
if (
|
|
24044
|
+
if (Sr(a)) {
|
|
24043
24045
|
if (1 < a.length) throw Error(n(93));
|
|
24044
24046
|
a = a[0];
|
|
24045
24047
|
}
|
|
@@ -24146,7 +24148,7 @@ function gL() {
|
|
|
24146
24148
|
function En(i, s, a) {
|
|
24147
24149
|
return s == null || typeof s == "boolean" || s === "" ? "" : a || typeof s != "number" || s === 0 || Ot.hasOwnProperty(i) && Ot[i] ? ("" + s).trim() : s + "px";
|
|
24148
24150
|
}
|
|
24149
|
-
function
|
|
24151
|
+
function Cr(i, s) {
|
|
24150
24152
|
i = i.style;
|
|
24151
24153
|
for (var a in s) if (s.hasOwnProperty(a)) {
|
|
24152
24154
|
var f = a.indexOf("--") === 0, m = En(a, s[a], f);
|
|
@@ -24521,20 +24523,20 @@ function gL() {
|
|
|
24521
24523
|
function hp(i) {
|
|
24522
24524
|
return i &= -i, 1 < i ? 4 < i ? (i & 268435455) !== 0 ? 16 : 536870912 : 4 : 1;
|
|
24523
24525
|
}
|
|
24524
|
-
var pp, Jl, mp, gp, Ep, Zl = !1, xo = [],
|
|
24526
|
+
var pp, Jl, mp, gp, Ep, Zl = !1, xo = [], kr = null, xr = null, Nr = null, zs = /* @__PURE__ */ new Map(), js = /* @__PURE__ */ new Map(), wr = [], Qb = "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(" ");
|
|
24525
24527
|
function yp(i, s) {
|
|
24526
24528
|
switch (i) {
|
|
24527
24529
|
case "focusin":
|
|
24528
24530
|
case "focusout":
|
|
24529
|
-
|
|
24531
|
+
kr = null;
|
|
24530
24532
|
break;
|
|
24531
24533
|
case "dragenter":
|
|
24532
24534
|
case "dragleave":
|
|
24533
|
-
|
|
24535
|
+
xr = null;
|
|
24534
24536
|
break;
|
|
24535
24537
|
case "mouseover":
|
|
24536
24538
|
case "mouseout":
|
|
24537
|
-
|
|
24539
|
+
Nr = null;
|
|
24538
24540
|
break;
|
|
24539
24541
|
case "pointerover":
|
|
24540
24542
|
case "pointerout":
|
|
@@ -24551,11 +24553,11 @@ function gL() {
|
|
|
24551
24553
|
function Xb(i, s, a, f, m) {
|
|
24552
24554
|
switch (s) {
|
|
24553
24555
|
case "focusin":
|
|
24554
|
-
return Cr = $s(Cr, i, s, a, f, m), !0;
|
|
24555
|
-
case "dragenter":
|
|
24556
24556
|
return kr = $s(kr, i, s, a, f, m), !0;
|
|
24557
|
-
case "
|
|
24557
|
+
case "dragenter":
|
|
24558
24558
|
return xr = $s(xr, i, s, a, f, m), !0;
|
|
24559
|
+
case "mouseover":
|
|
24560
|
+
return Nr = $s(Nr, i, s, a, f, m), !0;
|
|
24559
24561
|
case "pointerover":
|
|
24560
24562
|
var E = m.pointerId;
|
|
24561
24563
|
return zs.set(E, $s(zs.get(E) || null, i, s, a, f, m)), !0;
|
|
@@ -24601,7 +24603,7 @@ function gL() {
|
|
|
24601
24603
|
No(i) && a.delete(s);
|
|
24602
24604
|
}
|
|
24603
24605
|
function Jb() {
|
|
24604
|
-
Zl = !1,
|
|
24606
|
+
Zl = !1, kr !== null && No(kr) && (kr = null), xr !== null && No(xr) && (xr = null), Nr !== null && No(Nr) && (Nr = null), zs.forEach(bp), js.forEach(bp);
|
|
24605
24607
|
}
|
|
24606
24608
|
function Vs(i, s) {
|
|
24607
24609
|
i.blockedOn === s && (i.blockedOn = null, Zl || (Zl = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Jb)));
|
|
@@ -24617,8 +24619,8 @@ function gL() {
|
|
|
24617
24619
|
f.blockedOn === i && (f.blockedOn = null);
|
|
24618
24620
|
}
|
|
24619
24621
|
}
|
|
24620
|
-
for (
|
|
24621
|
-
for (; 0 <
|
|
24622
|
+
for (kr !== null && Vs(kr, i), xr !== null && Vs(xr, i), Nr !== null && Vs(Nr, i), zs.forEach(s), js.forEach(s), a = 0; a < wr.length; a++) f = wr[a], f.blockedOn === i && (f.blockedOn = null);
|
|
24623
|
+
for (; 0 < wr.length && (a = wr[0], a.blockedOn === null); ) Tp(a), a.blockedOn === null && wr.shift();
|
|
24622
24624
|
}
|
|
24623
24625
|
var Pi = Z.ReactCurrentBatchConfig, wo = !0;
|
|
24624
24626
|
function Zb(i, s, a, f) {
|
|
@@ -24758,10 +24760,10 @@ function gL() {
|
|
|
24758
24760
|
return 16;
|
|
24759
24761
|
}
|
|
24760
24762
|
}
|
|
24761
|
-
var
|
|
24763
|
+
var vr = null, nc = null, Oo = null;
|
|
24762
24764
|
function Sp() {
|
|
24763
24765
|
if (Oo) return Oo;
|
|
24764
|
-
var i, s = nc, a = s.length, f, m = "value" in
|
|
24766
|
+
var i, s = nc, a = s.length, f, m = "value" in vr ? vr.value : vr.textContent, E = m.length;
|
|
24765
24767
|
for (i = 0; i < a && s[i] === m[i]; i++) ;
|
|
24766
24768
|
var _ = a - i;
|
|
24767
24769
|
for (f = 1; f <= _ && s[a - f] === m[E - f]; f++) ;
|
|
@@ -24916,7 +24918,7 @@ function gL() {
|
|
|
24916
24918
|
}
|
|
24917
24919
|
}
|
|
24918
24920
|
function x_(i, s) {
|
|
24919
|
-
if (Di) return i === "compositionend" || !ac && Op(i, s) ? (i = Sp(), Oo = nc =
|
|
24921
|
+
if (Di) return i === "compositionend" || !ac && Op(i, s) ? (i = Sp(), Oo = nc = vr = null, Di = !1, i) : null;
|
|
24920
24922
|
switch (i) {
|
|
24921
24923
|
case "paste":
|
|
24922
24924
|
return null;
|
|
@@ -25084,14 +25086,14 @@ function gL() {
|
|
|
25084
25086
|
return i;
|
|
25085
25087
|
}
|
|
25086
25088
|
var Vp = Mo("animationend"), Yp = Mo("animationiteration"), qp = Mo("animationstart"), Wp = Mo("transitionend"), Gp = /* @__PURE__ */ new Map(), Kp = "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(" ");
|
|
25087
|
-
function
|
|
25089
|
+
function Or(i, s) {
|
|
25088
25090
|
Gp.set(i, s), o(s, [i]);
|
|
25089
25091
|
}
|
|
25090
25092
|
for (var mc = 0; mc < Kp.length; mc++) {
|
|
25091
25093
|
var gc = Kp[mc], F_ = gc.toLowerCase(), B_ = gc[0].toUpperCase() + gc.slice(1);
|
|
25092
|
-
|
|
25094
|
+
Or(F_, "on" + B_);
|
|
25093
25095
|
}
|
|
25094
|
-
|
|
25096
|
+
Or(Vp, "onAnimationEnd"), Or(Yp, "onAnimationIteration"), Or(qp, "onAnimationStart"), Or("dblclick", "onDoubleClick"), Or("focusin", "onFocus"), Or("focusout", "onBlur"), Or(Wp, "onTransitionEnd"), l("onMouseEnter", ["mouseout", "mouseover"]), l("onMouseLeave", ["mouseout", "mouseover"]), l("onPointerEnter", ["pointerout", "pointerover"]), l("onPointerLeave", ["pointerout", "pointerover"]), o("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), o("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), o("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), o("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), o("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), o("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
25095
25097
|
var Zs = "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(" "), U_ = new Set("cancel close invalid load scroll toggle".split(" ").concat(Zs));
|
|
25096
25098
|
function Qp(i, s, a) {
|
|
25097
25099
|
var f = i.type || "unknown-event";
|
|
@@ -25335,7 +25337,7 @@ function gL() {
|
|
|
25335
25337
|
Pe = void 0;
|
|
25336
25338
|
}
|
|
25337
25339
|
else Di ? Op(i, a) && (Pe = "onCompositionEnd") : i === "keydown" && a.keyCode === 229 && (Pe = "onCompositionStart");
|
|
25338
|
-
Pe && (Np && a.locale !== "ko" && (Di || Pe !== "onCompositionStart" ? Pe === "onCompositionEnd" && Di && (ve = Sp()) : (
|
|
25340
|
+
Pe && (Np && a.locale !== "ko" && (Di || Pe !== "onCompositionStart" ? Pe === "onCompositionEnd" && Di && (ve = Sp()) : (vr = ne, nc = "value" in vr ? vr.value : vr.textContent, Di = !0)), we = Bo(V, Pe), 0 < we.length && (Pe = new kp(Pe, i, null, a, ne), re.push({ event: Pe, listeners: we }), ve ? Pe.data = ve : (ve = Ip(a), ve !== null && (Pe.data = ve)))), (ve = C_ ? k_(i, a) : x_(i, a)) && (V = Bo(V, "onBeforeInput"), 0 < V.length && (ne = new kp("onBeforeInput", "beforeinput", null, a, ne), re.push({ event: ne, listeners: V }), ne.data = ve));
|
|
25339
25341
|
}
|
|
25340
25342
|
Xp(re, s);
|
|
25341
25343
|
});
|
|
@@ -25402,7 +25404,7 @@ function gL() {
|
|
|
25402
25404
|
} while (a);
|
|
25403
25405
|
Ys(s);
|
|
25404
25406
|
}
|
|
25405
|
-
function
|
|
25407
|
+
function Ir(i) {
|
|
25406
25408
|
for (; i != null; i = i.nextSibling) {
|
|
25407
25409
|
var s = i.nodeType;
|
|
25408
25410
|
if (s === 1 || s === 3) break;
|
|
@@ -25454,7 +25456,7 @@ function gL() {
|
|
|
25454
25456
|
return i[nu] || null;
|
|
25455
25457
|
}
|
|
25456
25458
|
var kc = [], zi = -1;
|
|
25457
|
-
function
|
|
25459
|
+
function Rr(i) {
|
|
25458
25460
|
return { current: i };
|
|
25459
25461
|
}
|
|
25460
25462
|
function it(i) {
|
|
@@ -25463,10 +25465,10 @@ function gL() {
|
|
|
25463
25465
|
function et(i, s) {
|
|
25464
25466
|
zi++, kc[zi] = i.current, i.current = s;
|
|
25465
25467
|
}
|
|
25466
|
-
var
|
|
25468
|
+
var Pr = {}, Dt = Rr(Pr), Gt = Rr(!1), ei = Pr;
|
|
25467
25469
|
function ji(i, s) {
|
|
25468
25470
|
var a = i.type.contextTypes;
|
|
25469
|
-
if (!a) return
|
|
25471
|
+
if (!a) return Pr;
|
|
25470
25472
|
var f = i.stateNode;
|
|
25471
25473
|
if (f && f.__reactInternalMemoizedUnmaskedChildContext === s) return f.__reactInternalMemoizedMaskedChildContext;
|
|
25472
25474
|
var m = {}, E;
|
|
@@ -25480,7 +25482,7 @@ function gL() {
|
|
|
25480
25482
|
it(Gt), it(Dt);
|
|
25481
25483
|
}
|
|
25482
25484
|
function r0(i, s, a) {
|
|
25483
|
-
if (Dt.current !==
|
|
25485
|
+
if (Dt.current !== Pr) throw Error(n(168));
|
|
25484
25486
|
et(Dt, s), et(Gt, a);
|
|
25485
25487
|
}
|
|
25486
25488
|
function i0(i, s, a) {
|
|
@@ -25491,7 +25493,7 @@ function gL() {
|
|
|
25491
25493
|
return A({}, a, f);
|
|
25492
25494
|
}
|
|
25493
25495
|
function $o(i) {
|
|
25494
|
-
return i = (i = i.stateNode) && i.__reactInternalMemoizedMergedChildContext ||
|
|
25496
|
+
return i = (i = i.stateNode) && i.__reactInternalMemoizedMergedChildContext || Pr, ei = Dt.current, et(Dt, i), et(Gt, Gt.current), !0;
|
|
25495
25497
|
}
|
|
25496
25498
|
function s0(i, s, a) {
|
|
25497
25499
|
var f = i.stateNode;
|
|
@@ -25505,7 +25507,7 @@ function gL() {
|
|
|
25505
25507
|
function W_(i) {
|
|
25506
25508
|
Vo = !0, u0(i);
|
|
25507
25509
|
}
|
|
25508
|
-
function
|
|
25510
|
+
function Lr() {
|
|
25509
25511
|
if (!xc && ar !== null) {
|
|
25510
25512
|
xc = !0;
|
|
25511
25513
|
var i = 0, s = Je;
|
|
@@ -25519,7 +25521,7 @@ function gL() {
|
|
|
25519
25521
|
}
|
|
25520
25522
|
ar = null, Vo = !1;
|
|
25521
25523
|
} catch (m) {
|
|
25522
|
-
throw ar !== null && (ar = ar.slice(i + 1)), ap(Gl,
|
|
25524
|
+
throw ar !== null && (ar = ar.slice(i + 1)), ap(Gl, Lr), m;
|
|
25523
25525
|
} finally {
|
|
25524
25526
|
Je = s, xc = !1;
|
|
25525
25527
|
}
|
|
@@ -25558,7 +25560,7 @@ function gL() {
|
|
|
25558
25560
|
switch (i.tag) {
|
|
25559
25561
|
case 5:
|
|
25560
25562
|
var a = i.type;
|
|
25561
|
-
return s = s.nodeType !== 1 || a.toLowerCase() !== s.nodeName.toLowerCase() ? null : s, s !== null ? (i.stateNode = s, cn = i, fn =
|
|
25563
|
+
return s = s.nodeType !== 1 || a.toLowerCase() !== s.nodeName.toLowerCase() ? null : s, s !== null ? (i.stateNode = s, cn = i, fn = Ir(s.firstChild), !0) : !1;
|
|
25562
25564
|
case 6:
|
|
25563
25565
|
return s = i.pendingProps === "" || s.nodeType !== 3 ? null : s, s !== null ? (i.stateNode = s, cn = i, fn = null, !0) : !1;
|
|
25564
25566
|
case 13:
|
|
@@ -25577,7 +25579,7 @@ function gL() {
|
|
|
25577
25579
|
var a = s;
|
|
25578
25580
|
if (!l0(i, s)) {
|
|
25579
25581
|
if (vc(i)) throw Error(n(418));
|
|
25580
|
-
s =
|
|
25582
|
+
s = Ir(a.nextSibling);
|
|
25581
25583
|
var f = cn;
|
|
25582
25584
|
s && l0(i, s) ? a0(f, a) : (i.flags = i.flags & -4097 | 2, st = !1, cn = i);
|
|
25583
25585
|
}
|
|
@@ -25597,7 +25599,7 @@ function gL() {
|
|
|
25597
25599
|
var s;
|
|
25598
25600
|
if ((s = i.tag !== 3) && !(s = i.tag !== 5) && (s = i.type, s = s !== "head" && s !== "body" && !_c(i.type, i.memoizedProps)), s && (s = fn)) {
|
|
25599
25601
|
if (vc(i)) throw f0(), Error(n(418));
|
|
25600
|
-
for (; s; ) a0(i, s), s =
|
|
25602
|
+
for (; s; ) a0(i, s), s = Ir(s.nextSibling);
|
|
25601
25603
|
}
|
|
25602
25604
|
if (c0(i), i.tag === 13) {
|
|
25603
25605
|
if (i = i.memoizedState, i = i !== null ? i.dehydrated : null, !i) throw Error(n(317));
|
|
@@ -25607,7 +25609,7 @@ function gL() {
|
|
|
25607
25609
|
var a = i.data;
|
|
25608
25610
|
if (a === "/$") {
|
|
25609
25611
|
if (s === 0) {
|
|
25610
|
-
fn =
|
|
25612
|
+
fn = Ir(i.nextSibling);
|
|
25611
25613
|
break e;
|
|
25612
25614
|
}
|
|
25613
25615
|
s--;
|
|
@@ -25617,11 +25619,11 @@ function gL() {
|
|
|
25617
25619
|
}
|
|
25618
25620
|
fn = null;
|
|
25619
25621
|
}
|
|
25620
|
-
} else fn = cn ?
|
|
25622
|
+
} else fn = cn ? Ir(i.stateNode.nextSibling) : null;
|
|
25621
25623
|
return !0;
|
|
25622
25624
|
}
|
|
25623
25625
|
function f0() {
|
|
25624
|
-
for (var i = fn; i; ) i =
|
|
25626
|
+
for (var i = fn; i; ) i = Ir(i.nextSibling);
|
|
25625
25627
|
}
|
|
25626
25628
|
function Yi() {
|
|
25627
25629
|
fn = cn = null, st = !1;
|
|
@@ -25673,7 +25675,7 @@ function gL() {
|
|
|
25673
25675
|
return B;
|
|
25674
25676
|
}
|
|
25675
25677
|
function m(B, D) {
|
|
25676
|
-
return B =
|
|
25678
|
+
return B = jr(B, D), B.index = 0, B.sibling = null, B;
|
|
25677
25679
|
}
|
|
25678
25680
|
function E(B, D, z) {
|
|
25679
25681
|
return B.index = z, i ? (z = B.alternate, z !== null ? (z = z.index, z < D ? (B.flags |= 2, D) : z) : (B.flags |= 2, D)) : (B.flags |= 1048576, D);
|
|
@@ -25706,7 +25708,7 @@ function gL() {
|
|
|
25706
25708
|
var ae = D._init;
|
|
25707
25709
|
return re(B, ae(D._payload), z);
|
|
25708
25710
|
}
|
|
25709
|
-
if (
|
|
25711
|
+
if (Sr(D) || G(D)) return D = ci(D, B.mode, z, null), D.return = B, D;
|
|
25710
25712
|
Go(B, D);
|
|
25711
25713
|
}
|
|
25712
25714
|
return null;
|
|
@@ -25728,7 +25730,7 @@ function gL() {
|
|
|
25728
25730
|
ae
|
|
25729
25731
|
);
|
|
25730
25732
|
}
|
|
25731
|
-
if (
|
|
25733
|
+
if (Sr(z) || G(z)) return Ae !== null ? null : ne(B, D, z, ae, null);
|
|
25732
25734
|
Go(B, z);
|
|
25733
25735
|
}
|
|
25734
25736
|
return null;
|
|
@@ -25745,7 +25747,7 @@ function gL() {
|
|
|
25745
25747
|
var we = ae._init;
|
|
25746
25748
|
return ye(B, D, z, we(ae._payload), Ae);
|
|
25747
25749
|
}
|
|
25748
|
-
if (
|
|
25750
|
+
if (Sr(ae) || G(ae)) return B = B.get(z) || null, ne(D, B, ae, Ae, null);
|
|
25749
25751
|
Go(D, ae);
|
|
25750
25752
|
}
|
|
25751
25753
|
return null;
|
|
@@ -25753,12 +25755,12 @@ function gL() {
|
|
|
25753
25755
|
function _e(B, D, z, ae) {
|
|
25754
25756
|
for (var Ae = null, we = null, ve = D, Pe = D = 0, xt = null; ve !== null && Pe < z.length; Pe++) {
|
|
25755
25757
|
ve.index > Pe ? (xt = ve, ve = null) : xt = ve.sibling;
|
|
25756
|
-
var
|
|
25757
|
-
if (
|
|
25758
|
+
var Ke = J(B, ve, z[Pe], ae);
|
|
25759
|
+
if (Ke === null) {
|
|
25758
25760
|
ve === null && (ve = xt);
|
|
25759
25761
|
break;
|
|
25760
25762
|
}
|
|
25761
|
-
i && ve &&
|
|
25763
|
+
i && ve && Ke.alternate === null && s(B, ve), D = E(Ke, D, Pe), we === null ? Ae = Ke : we.sibling = Ke, we = Ke, ve = xt;
|
|
25762
25764
|
}
|
|
25763
25765
|
if (Pe === z.length) return a(B, ve), st && ni(B, Pe), Ae;
|
|
25764
25766
|
if (ve === null) {
|
|
@@ -25766,32 +25768,32 @@ function gL() {
|
|
|
25766
25768
|
return st && ni(B, Pe), Ae;
|
|
25767
25769
|
}
|
|
25768
25770
|
for (ve = f(B, ve); Pe < z.length; Pe++) xt = ye(ve, B, Pe, z[Pe], ae), xt !== null && (i && xt.alternate !== null && ve.delete(xt.key === null ? Pe : xt.key), D = E(xt, D, Pe), we === null ? Ae = xt : we.sibling = xt, we = xt);
|
|
25769
|
-
return i && ve.forEach(function(
|
|
25770
|
-
return s(B,
|
|
25771
|
+
return i && ve.forEach(function($r) {
|
|
25772
|
+
return s(B, $r);
|
|
25771
25773
|
}), st && ni(B, Pe), Ae;
|
|
25772
25774
|
}
|
|
25773
25775
|
function Se(B, D, z, ae) {
|
|
25774
25776
|
var Ae = G(z);
|
|
25775
25777
|
if (typeof Ae != "function") throw Error(n(150));
|
|
25776
25778
|
if (z = Ae.call(z), z == null) throw Error(n(151));
|
|
25777
|
-
for (var we = Ae = null, ve = D, Pe = D = 0, xt = null,
|
|
25779
|
+
for (var we = Ae = null, ve = D, Pe = D = 0, xt = null, Ke = z.next(); ve !== null && !Ke.done; Pe++, Ke = z.next()) {
|
|
25778
25780
|
ve.index > Pe ? (xt = ve, ve = null) : xt = ve.sibling;
|
|
25779
|
-
var
|
|
25780
|
-
if (
|
|
25781
|
+
var $r = J(B, ve, Ke.value, ae);
|
|
25782
|
+
if ($r === null) {
|
|
25781
25783
|
ve === null && (ve = xt);
|
|
25782
25784
|
break;
|
|
25783
25785
|
}
|
|
25784
|
-
i && ve &&
|
|
25786
|
+
i && ve && $r.alternate === null && s(B, ve), D = E($r, D, Pe), we === null ? Ae = $r : we.sibling = $r, we = $r, ve = xt;
|
|
25785
25787
|
}
|
|
25786
|
-
if (
|
|
25788
|
+
if (Ke.done) return a(
|
|
25787
25789
|
B,
|
|
25788
25790
|
ve
|
|
25789
25791
|
), st && ni(B, Pe), Ae;
|
|
25790
25792
|
if (ve === null) {
|
|
25791
|
-
for (; !
|
|
25793
|
+
for (; !Ke.done; Pe++, Ke = z.next()) Ke = re(B, Ke.value, ae), Ke !== null && (D = E(Ke, D, Pe), we === null ? Ae = Ke : we.sibling = Ke, we = Ke);
|
|
25792
25794
|
return st && ni(B, Pe), Ae;
|
|
25793
25795
|
}
|
|
25794
|
-
for (ve = f(B, ve); !
|
|
25796
|
+
for (ve = f(B, ve); !Ke.done; Pe++, Ke = z.next()) Ke = ye(ve, B, Pe, Ke.value, ae), Ke !== null && (i && Ke.alternate !== null && ve.delete(Ke.key === null ? Pe : Ke.key), D = E(Ke, D, Pe), we === null ? Ae = Ke : we.sibling = Ke, we = Ke);
|
|
25795
25797
|
return i && ve.forEach(function(N2) {
|
|
25796
25798
|
return s(B, N2);
|
|
25797
25799
|
}), st && ni(B, Pe), Ae;
|
|
@@ -25839,7 +25841,7 @@ function gL() {
|
|
|
25839
25841
|
case Ie:
|
|
25840
25842
|
return we = z._init, ht(B, D, we(z._payload), ae);
|
|
25841
25843
|
}
|
|
25842
|
-
if (
|
|
25844
|
+
if (Sr(z)) return _e(B, D, z, ae);
|
|
25843
25845
|
if (G(z)) return Se(B, D, z, ae);
|
|
25844
25846
|
Go(B, z);
|
|
25845
25847
|
}
|
|
@@ -25847,7 +25849,7 @@ function gL() {
|
|
|
25847
25849
|
}
|
|
25848
25850
|
return ht;
|
|
25849
25851
|
}
|
|
25850
|
-
var qi = h0(!0), p0 = h0(!1), Ko =
|
|
25852
|
+
var qi = h0(!0), p0 = h0(!1), Ko = Rr(null), Qo = null, Wi = null, Rc = null;
|
|
25851
25853
|
function Pc() {
|
|
25852
25854
|
Rc = Wi = Qo = null;
|
|
25853
25855
|
}
|
|
@@ -25887,7 +25889,7 @@ function gL() {
|
|
|
25887
25889
|
for (a !== null && (a.lanes |= s), a = i, i = i.return; i !== null; ) i.childLanes |= s, a = i.alternate, a !== null && (a.childLanes |= s), a = i, i = i.return;
|
|
25888
25890
|
return a.tag === 3 ? a.stateNode : null;
|
|
25889
25891
|
}
|
|
25890
|
-
var
|
|
25892
|
+
var Dr = !1;
|
|
25891
25893
|
function Fc(i) {
|
|
25892
25894
|
i.updateQueue = { baseState: i.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
|
|
25893
25895
|
}
|
|
@@ -25897,7 +25899,7 @@ function gL() {
|
|
|
25897
25899
|
function dr(i, s) {
|
|
25898
25900
|
return { eventTime: i, lane: s, tag: 0, payload: null, callback: null, next: null };
|
|
25899
25901
|
}
|
|
25900
|
-
function
|
|
25902
|
+
function Mr(i, s, a) {
|
|
25901
25903
|
var f = i.updateQueue;
|
|
25902
25904
|
if (f === null) return null;
|
|
25903
25905
|
if (f = f.shared, (We & 2) !== 0) {
|
|
@@ -25930,7 +25932,7 @@ function gL() {
|
|
|
25930
25932
|
}
|
|
25931
25933
|
function Jo(i, s, a, f) {
|
|
25932
25934
|
var m = i.updateQueue;
|
|
25933
|
-
|
|
25935
|
+
Dr = !1;
|
|
25934
25936
|
var E = m.firstBaseUpdate, _ = m.lastBaseUpdate, w = m.shared.pending;
|
|
25935
25937
|
if (w !== null) {
|
|
25936
25938
|
m.shared.pending = null;
|
|
@@ -25970,7 +25972,7 @@ function gL() {
|
|
|
25970
25972
|
re = A({}, re, J);
|
|
25971
25973
|
break e;
|
|
25972
25974
|
case 2:
|
|
25973
|
-
|
|
25975
|
+
Dr = !0;
|
|
25974
25976
|
}
|
|
25975
25977
|
}
|
|
25976
25978
|
w.callback !== null && w.lane !== 0 && (i.flags |= 64, J = m.effects, J === null ? m.effects = [w] : J.push(w));
|
|
@@ -25998,7 +26000,7 @@ function gL() {
|
|
|
25998
26000
|
}
|
|
25999
26001
|
}
|
|
26000
26002
|
}
|
|
26001
|
-
var su = {}, Yn =
|
|
26003
|
+
var su = {}, Yn = Rr(su), uu = Rr(su), ou = Rr(su);
|
|
26002
26004
|
function ii(i) {
|
|
26003
26005
|
if (i === su) throw Error(n(174));
|
|
26004
26006
|
return i;
|
|
@@ -26025,7 +26027,7 @@ function gL() {
|
|
|
26025
26027
|
function Uc(i) {
|
|
26026
26028
|
uu.current === i && (it(Yn), it(uu));
|
|
26027
26029
|
}
|
|
26028
|
-
var ot =
|
|
26030
|
+
var ot = Rr(0);
|
|
26029
26031
|
function Zo(i) {
|
|
26030
26032
|
for (var s = i; s !== null; ) {
|
|
26031
26033
|
if (s.tag === 13) {
|
|
@@ -26267,7 +26269,7 @@ function gL() {
|
|
|
26267
26269
|
return _n().memoizedState;
|
|
26268
26270
|
}
|
|
26269
26271
|
function X_(i, s, a) {
|
|
26270
|
-
var f =
|
|
26272
|
+
var f = Hr(i);
|
|
26271
26273
|
if (a = { lane: f, action: a, hasEagerState: !1, eagerState: null, next: null }, B0(i)) U0(s, a);
|
|
26272
26274
|
else if (a = m0(i, s, a, f), a !== null) {
|
|
26273
26275
|
var m = Vt();
|
|
@@ -26275,7 +26277,7 @@ function gL() {
|
|
|
26275
26277
|
}
|
|
26276
26278
|
}
|
|
26277
26279
|
function J_(i, s, a) {
|
|
26278
|
-
var f =
|
|
26280
|
+
var f = Hr(i), m = { lane: f, action: a, hasEagerState: !1, eagerState: null, next: null };
|
|
26279
26281
|
if (B0(i)) U0(s, m);
|
|
26280
26282
|
else {
|
|
26281
26283
|
var E = i.alternate;
|
|
@@ -26410,23 +26412,23 @@ function gL() {
|
|
|
26410
26412
|
return (i = i._reactInternals) ? Jr(i) === i : !1;
|
|
26411
26413
|
}, enqueueSetState: function(i, s, a) {
|
|
26412
26414
|
i = i._reactInternals;
|
|
26413
|
-
var f = Vt(), m =
|
|
26414
|
-
E.payload = s, a != null && (E.callback = a), s =
|
|
26415
|
+
var f = Vt(), m = Hr(i), E = dr(f, m);
|
|
26416
|
+
E.payload = s, a != null && (E.callback = a), s = Mr(i, E, m), s !== null && (Dn(s, i, m, f), Xo(s, i, m));
|
|
26415
26417
|
}, enqueueReplaceState: function(i, s, a) {
|
|
26416
26418
|
i = i._reactInternals;
|
|
26417
|
-
var f = Vt(), m =
|
|
26418
|
-
E.tag = 1, E.payload = s, a != null && (E.callback = a), s =
|
|
26419
|
+
var f = Vt(), m = Hr(i), E = dr(f, m);
|
|
26420
|
+
E.tag = 1, E.payload = s, a != null && (E.callback = a), s = Mr(i, E, m), s !== null && (Dn(s, i, m, f), Xo(s, i, m));
|
|
26419
26421
|
}, enqueueForceUpdate: function(i, s) {
|
|
26420
26422
|
i = i._reactInternals;
|
|
26421
|
-
var a = Vt(), f =
|
|
26422
|
-
m.tag = 2, s != null && (m.callback = s), s =
|
|
26423
|
+
var a = Vt(), f = Hr(i), m = dr(a, f);
|
|
26424
|
+
m.tag = 2, s != null && (m.callback = s), s = Mr(i, m, f), s !== null && (Dn(s, i, f, a), Xo(s, i, f));
|
|
26423
26425
|
} };
|
|
26424
26426
|
function z0(i, s, a, f, m, E, _) {
|
|
26425
26427
|
return i = i.stateNode, typeof i.shouldComponentUpdate == "function" ? i.shouldComponentUpdate(f, E, _) : s.prototype && s.prototype.isPureReactComponent ? !Xs(a, f) || !Xs(m, E) : !0;
|
|
26426
26428
|
}
|
|
26427
26429
|
function j0(i, s, a) {
|
|
26428
|
-
var f = !1, m =
|
|
26429
|
-
return typeof E == "object" && E !== null ? E = bn(E) : (m = Kt(s) ? ei : Dt.current, f = s.contextTypes, E = (f = f != null) ? ji(i, m) :
|
|
26430
|
+
var f = !1, m = Pr, E = s.contextType;
|
|
26431
|
+
return typeof E == "object" && E !== null ? E = bn(E) : (m = Kt(s) ? ei : Dt.current, f = s.contextTypes, E = (f = f != null) ? ji(i, m) : Pr), s = new s(a, E), i.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = sa, i.stateNode = s, s._reactInternals = i, f && (i = i.stateNode, i.__reactInternalMemoizedUnmaskedChildContext = m, i.__reactInternalMemoizedMaskedChildContext = E), s;
|
|
26430
26432
|
}
|
|
26431
26433
|
function $0(i, s, a, f) {
|
|
26432
26434
|
i = s.state, typeof s.componentWillReceiveProps == "function" && s.componentWillReceiveProps(a, f), typeof s.UNSAFE_componentWillReceiveProps == "function" && s.UNSAFE_componentWillReceiveProps(a, f), s.state !== i && sa.enqueueReplaceState(s, s.state, null);
|
|
@@ -26484,7 +26486,7 @@ Error generating stack: ` + E.message + `
|
|
|
26484
26486
|
}
|
|
26485
26487
|
var E = i.stateNode;
|
|
26486
26488
|
return E !== null && typeof E.componentDidCatch == "function" && (a.callback = function() {
|
|
26487
|
-
Zc(i, s), typeof f != "function" && (
|
|
26489
|
+
Zc(i, s), typeof f != "function" && (Br === null ? Br = /* @__PURE__ */ new Set([this]) : Br.add(this));
|
|
26488
26490
|
var _ = s.stack;
|
|
26489
26491
|
this.componentDidCatch(s.value, { componentStack: _ !== null ? _ : "" });
|
|
26490
26492
|
}), a;
|
|
@@ -26507,7 +26509,7 @@ Error generating stack: ` + E.message + `
|
|
|
26507
26509
|
return null;
|
|
26508
26510
|
}
|
|
26509
26511
|
function G0(i, s, a, f, m) {
|
|
26510
|
-
return (i.mode & 1) === 0 ? (i === s ? i.flags |= 65536 : (i.flags |= 128, a.flags |= 131072, a.flags &= -52805, a.tag === 1 && (a.alternate === null ? a.tag = 17 : (s = dr(-1, 1), s.tag = 2,
|
|
26512
|
+
return (i.mode & 1) === 0 ? (i === s ? i.flags |= 65536 : (i.flags |= 128, a.flags |= 131072, a.flags &= -52805, a.tag === 1 && (a.alternate === null ? a.tag = 17 : (s = dr(-1, 1), s.tag = 2, Mr(a, s, 1))), a.lanes |= 1), i) : (i.flags |= 65536, i.lanes = m, i);
|
|
26511
26513
|
}
|
|
26512
26514
|
var r2 = Z.ReactCurrentOwner, Qt = !1;
|
|
26513
26515
|
function $t(i, s, a, f) {
|
|
@@ -26527,7 +26529,7 @@ Error generating stack: ` + E.message + `
|
|
|
26527
26529
|
var _ = E.memoizedProps;
|
|
26528
26530
|
if (a = a.compare, a = a !== null ? a : Xs, a(_, f) && i.ref === s.ref) return hr(i, s, m);
|
|
26529
26531
|
}
|
|
26530
|
-
return s.flags |= 1, i =
|
|
26532
|
+
return s.flags |= 1, i = jr(E, f), i.ref = s.ref, i.return = s, s.child = i;
|
|
26531
26533
|
}
|
|
26532
26534
|
function X0(i, s, a, f, m) {
|
|
26533
26535
|
if (i !== null) {
|
|
@@ -26567,15 +26569,15 @@ Error generating stack: ` + E.message + `
|
|
|
26567
26569
|
var R = _.context, V = a.contextType;
|
|
26568
26570
|
typeof V == "object" && V !== null ? V = bn(V) : (V = Kt(a) ? ei : Dt.current, V = ji(s, V));
|
|
26569
26571
|
var ne = a.getDerivedStateFromProps, re = typeof ne == "function" || typeof _.getSnapshotBeforeUpdate == "function";
|
|
26570
|
-
re || typeof _.UNSAFE_componentWillReceiveProps != "function" && typeof _.componentWillReceiveProps != "function" || (w !== f || R !== V) && $0(s, _, f, V),
|
|
26572
|
+
re || typeof _.UNSAFE_componentWillReceiveProps != "function" && typeof _.componentWillReceiveProps != "function" || (w !== f || R !== V) && $0(s, _, f, V), Dr = !1;
|
|
26571
26573
|
var J = s.memoizedState;
|
|
26572
|
-
_.state = J, Jo(s, f, _, m), R = s.memoizedState, w !== f || J !== R || Gt.current ||
|
|
26574
|
+
_.state = J, Jo(s, f, _, m), R = s.memoizedState, w !== f || J !== R || Gt.current || Dr ? (typeof ne == "function" && (Qc(s, a, ne, f), R = s.memoizedState), (w = Dr || z0(s, a, w, f, J, R, V)) ? (re || typeof _.UNSAFE_componentWillMount != "function" && typeof _.componentWillMount != "function" || (typeof _.componentWillMount == "function" && _.componentWillMount(), typeof _.UNSAFE_componentWillMount == "function" && _.UNSAFE_componentWillMount()), typeof _.componentDidMount == "function" && (s.flags |= 4194308)) : (typeof _.componentDidMount == "function" && (s.flags |= 4194308), s.memoizedProps = f, s.memoizedState = R), _.props = f, _.state = R, _.context = V, f = w) : (typeof _.componentDidMount == "function" && (s.flags |= 4194308), f = !1);
|
|
26573
26575
|
} else {
|
|
26574
26576
|
_ = s.stateNode, g0(i, s), w = s.memoizedProps, V = s.type === s.elementType ? w : Rn(s.type, w), _.props = V, re = s.pendingProps, J = _.context, R = a.contextType, typeof R == "object" && R !== null ? R = bn(R) : (R = Kt(a) ? ei : Dt.current, R = ji(s, R));
|
|
26575
26577
|
var ye = a.getDerivedStateFromProps;
|
|
26576
|
-
(ne = typeof ye == "function" || typeof _.getSnapshotBeforeUpdate == "function") || typeof _.UNSAFE_componentWillReceiveProps != "function" && typeof _.componentWillReceiveProps != "function" || (w !== re || J !== R) && $0(s, _, f, R),
|
|
26578
|
+
(ne = typeof ye == "function" || typeof _.getSnapshotBeforeUpdate == "function") || typeof _.UNSAFE_componentWillReceiveProps != "function" && typeof _.componentWillReceiveProps != "function" || (w !== re || J !== R) && $0(s, _, f, R), Dr = !1, J = s.memoizedState, _.state = J, Jo(s, f, _, m);
|
|
26577
26579
|
var _e = s.memoizedState;
|
|
26578
|
-
w !== re || J !== _e || Gt.current ||
|
|
26580
|
+
w !== re || J !== _e || Gt.current || Dr ? (typeof ye == "function" && (Qc(s, a, ye, f), _e = s.memoizedState), (V = Dr || z0(s, a, V, f, J, _e, R) || !1) ? (ne || typeof _.UNSAFE_componentWillUpdate != "function" && typeof _.componentWillUpdate != "function" || (typeof _.componentWillUpdate == "function" && _.componentWillUpdate(f, _e, R), typeof _.UNSAFE_componentWillUpdate == "function" && _.UNSAFE_componentWillUpdate(f, _e, R)), typeof _.componentDidUpdate == "function" && (s.flags |= 4), typeof _.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof _.componentDidUpdate != "function" || w === i.memoizedProps && J === i.memoizedState || (s.flags |= 4), typeof _.getSnapshotBeforeUpdate != "function" || w === i.memoizedProps && J === i.memoizedState || (s.flags |= 1024), s.memoizedProps = f, s.memoizedState = _e), _.props = f, _.state = _e, _.context = R, f = V) : (typeof _.componentDidUpdate != "function" || w === i.memoizedProps && J === i.memoizedState || (s.flags |= 4), typeof _.getSnapshotBeforeUpdate != "function" || w === i.memoizedProps && J === i.memoizedState || (s.flags |= 1024), f = !1);
|
|
26579
26581
|
}
|
|
26580
26582
|
return tf(i, s, a, f, E, m);
|
|
26581
26583
|
}
|
|
@@ -26606,9 +26608,9 @@ Error generating stack: ` + E.message + `
|
|
|
26606
26608
|
if (E) {
|
|
26607
26609
|
E = f.fallback, _ = s.mode, m = i.child, w = m.sibling;
|
|
26608
26610
|
var R = { mode: "hidden", children: f.children };
|
|
26609
|
-
return (_ & 1) === 0 && s.child !== m ? (f = s.child, f.childLanes = 0, f.pendingProps = R, s.deletions = null) : (f =
|
|
26611
|
+
return (_ & 1) === 0 && s.child !== m ? (f = s.child, f.childLanes = 0, f.pendingProps = R, s.deletions = null) : (f = jr(m, R), f.subtreeFlags = m.subtreeFlags & 14680064), w !== null ? E = jr(w, E) : (E = ci(E, _, a, null), E.flags |= 2), E.return = s, f.return = s, f.sibling = E, s.child = f, f = E, E = s.child, _ = i.child.memoizedState, _ = _ === null ? rf(a) : { baseLanes: _.baseLanes | a, cachePool: null, transitions: _.transitions }, E.memoizedState = _, E.childLanes = i.childLanes & ~a, s.memoizedState = nf, f;
|
|
26610
26612
|
}
|
|
26611
|
-
return E = i.child, i = E.sibling, f =
|
|
26613
|
+
return E = i.child, i = E.sibling, f = jr(E, { mode: "visible", children: f.children }), (s.mode & 1) === 0 && (f.lanes = a), f.return = s, f.sibling = null, i !== null && (a = s.deletions, a === null ? (s.deletions = [i], s.flags |= 16) : a.push(i)), s.child = f, s.memoizedState = null, f;
|
|
26612
26614
|
}
|
|
26613
26615
|
function sf(i, s) {
|
|
26614
26616
|
return s = Ta({ mode: "visible", children: s }, i.mode, 0, null), s.return = i, i.child = s;
|
|
@@ -26666,7 +26668,7 @@ Error generating stack: ` + E.message + `
|
|
|
26666
26668
|
}
|
|
26667
26669
|
return _f(), f = Jc(Error(n(421))), ua(i, s, _, f);
|
|
26668
26670
|
}
|
|
26669
|
-
return m.data === "$?" ? (s.flags |= 128, s.child = i.child, s = E2.bind(null, i), m._reactRetry = s, null) : (i = E.treeContext, fn =
|
|
26671
|
+
return m.data === "$?" ? (s.flags |= 128, s.child = i.child, s = E2.bind(null, i), m._reactRetry = s, null) : (i = E.treeContext, fn = Ir(m.nextSibling), cn = s, st = !0, In = null, i !== null && (yn[Tn++] = lr, yn[Tn++] = cr, yn[Tn++] = ti, lr = i.id, cr = i.overflow, ti = s), s = sf(s, f.children), s.flags |= 4096, s);
|
|
26670
26672
|
}
|
|
26671
26673
|
function im(i, s, a) {
|
|
26672
26674
|
i.lanes |= s;
|
|
@@ -26728,7 +26730,7 @@ Error generating stack: ` + E.message + `
|
|
|
26728
26730
|
if (i !== null && (s.dependencies = i.dependencies), ui |= s.lanes, (a & s.childLanes) === 0) return null;
|
|
26729
26731
|
if (i !== null && s.child !== i.child) throw Error(n(153));
|
|
26730
26732
|
if (s.child !== null) {
|
|
26731
|
-
for (i = s.child, a =
|
|
26733
|
+
for (i = s.child, a = jr(i, i.pendingProps), s.child = a, a.return = s; i.sibling !== null; ) i = i.sibling, a = a.sibling = jr(i, i.pendingProps), a.return = s;
|
|
26732
26734
|
a.sibling = null;
|
|
26733
26735
|
}
|
|
26734
26736
|
return s.child;
|
|
@@ -26985,7 +26987,7 @@ Error generating stack: ` + E.message + `
|
|
|
26985
26987
|
It(a, m), w = m;
|
|
26986
26988
|
for (E in w) if (w.hasOwnProperty(E)) {
|
|
26987
26989
|
var R = w[E];
|
|
26988
|
-
E === "style" ?
|
|
26990
|
+
E === "style" ? Cr(i, R) : E === "dangerouslySetInnerHTML" ? (R = R ? R.__html : void 0, R != null && Be(i, R)) : E === "children" ? typeof R == "string" ? (a !== "textarea" || R !== "") && qe(i, R) : typeof R == "number" && qe(i, "" + R) : E !== "suppressContentEditableWarning" && E !== "suppressHydrationWarning" && E !== "autoFocus" && (u.hasOwnProperty(E) ? R != null && E === "onScroll" && rt("scroll", i) : R != null && j(i, E, R, _));
|
|
26989
26991
|
}
|
|
26990
26992
|
switch (a) {
|
|
26991
26993
|
case "input":
|
|
@@ -26998,7 +27000,7 @@ Error generating stack: ` + E.message + `
|
|
|
26998
27000
|
f.value != null && i.setAttribute("value", "" + Fe(f.value));
|
|
26999
27001
|
break;
|
|
27000
27002
|
case "select":
|
|
27001
|
-
i.multiple = !!f.multiple, E = f.value, E != null ?
|
|
27003
|
+
i.multiple = !!f.multiple, E = f.value, E != null ? Ar(i, !!f.multiple, E, !1) : f.defaultValue != null && Ar(
|
|
27002
27004
|
i,
|
|
27003
27005
|
!!f.multiple,
|
|
27004
27006
|
f.defaultValue,
|
|
@@ -27281,7 +27283,7 @@ Error generating stack: ` + E.message + `
|
|
|
27281
27283
|
else if (f !== 4 && (i = i.child, i !== null)) for (ff(i, s, a), i = i.sibling; i !== null; ) ff(i, s, a), i = i.sibling;
|
|
27282
27284
|
}
|
|
27283
27285
|
var Rt = null, Pn = !1;
|
|
27284
|
-
function
|
|
27286
|
+
function Fr(i, s, a) {
|
|
27285
27287
|
for (a = a.child; a !== null; ) hm(i, s, a), a = a.sibling;
|
|
27286
27288
|
}
|
|
27287
27289
|
function hm(i, s, a) {
|
|
@@ -27294,13 +27296,13 @@ Error generating stack: ` + E.message + `
|
|
|
27294
27296
|
Bt || Xi(a, s);
|
|
27295
27297
|
case 6:
|
|
27296
27298
|
var f = Rt, m = Pn;
|
|
27297
|
-
Rt = null,
|
|
27299
|
+
Rt = null, Fr(i, s, a), Rt = f, Pn = m, Rt !== null && (Pn ? (i = Rt, a = a.stateNode, i.nodeType === 8 ? i.parentNode.removeChild(a) : i.removeChild(a)) : Rt.removeChild(a.stateNode));
|
|
27298
27300
|
break;
|
|
27299
27301
|
case 18:
|
|
27300
27302
|
Rt !== null && (Pn ? (i = Rt, a = a.stateNode, i.nodeType === 8 ? Ac(i.parentNode, a) : i.nodeType === 1 && Ac(i, a), Ys(i)) : Ac(Rt, a.stateNode));
|
|
27301
27303
|
break;
|
|
27302
27304
|
case 4:
|
|
27303
|
-
f = Rt, m = Pn, Rt = a.stateNode.containerInfo, Pn = !0,
|
|
27305
|
+
f = Rt, m = Pn, Rt = a.stateNode.containerInfo, Pn = !0, Fr(i, s, a), Rt = f, Pn = m;
|
|
27304
27306
|
break;
|
|
27305
27307
|
case 0:
|
|
27306
27308
|
case 11:
|
|
@@ -27313,7 +27315,7 @@ Error generating stack: ` + E.message + `
|
|
|
27313
27315
|
E = E.tag, _ !== void 0 && ((E & 2) !== 0 || (E & 4) !== 0) && af(a, s, _), m = m.next;
|
|
27314
27316
|
} while (m !== f);
|
|
27315
27317
|
}
|
|
27316
|
-
|
|
27318
|
+
Fr(i, s, a);
|
|
27317
27319
|
break;
|
|
27318
27320
|
case 1:
|
|
27319
27321
|
if (!Bt && (Xi(a, s), f = a.stateNode, typeof f.componentWillUnmount == "function")) try {
|
|
@@ -27321,16 +27323,16 @@ Error generating stack: ` + E.message + `
|
|
|
27321
27323
|
} catch (w) {
|
|
27322
27324
|
ft(a, s, w);
|
|
27323
27325
|
}
|
|
27324
|
-
|
|
27326
|
+
Fr(i, s, a);
|
|
27325
27327
|
break;
|
|
27326
27328
|
case 21:
|
|
27327
|
-
|
|
27329
|
+
Fr(i, s, a);
|
|
27328
27330
|
break;
|
|
27329
27331
|
case 22:
|
|
27330
|
-
a.mode & 1 ? (Bt = (f = Bt) || a.memoizedState !== null,
|
|
27332
|
+
a.mode & 1 ? (Bt = (f = Bt) || a.memoizedState !== null, Fr(i, s, a), Bt = f) : Fr(i, s, a);
|
|
27331
27333
|
break;
|
|
27332
27334
|
default:
|
|
27333
|
-
|
|
27335
|
+
Fr(i, s, a);
|
|
27334
27336
|
}
|
|
27335
27337
|
}
|
|
27336
27338
|
function pm(i) {
|
|
@@ -27413,7 +27415,7 @@ Error generating stack: ` + E.message + `
|
|
|
27413
27415
|
var V = jn(w, E);
|
|
27414
27416
|
for (_ = 0; _ < R.length; _ += 2) {
|
|
27415
27417
|
var ne = R[_], re = R[_ + 1];
|
|
27416
|
-
ne === "style" ?
|
|
27418
|
+
ne === "style" ? Cr(m, re) : ne === "dangerouslySetInnerHTML" ? Be(m, re) : ne === "children" ? qe(m, re) : j(m, ne, re, V);
|
|
27417
27419
|
}
|
|
27418
27420
|
switch (w) {
|
|
27419
27421
|
case "input":
|
|
@@ -27426,12 +27428,12 @@ Error generating stack: ` + E.message + `
|
|
|
27426
27428
|
var J = m._wrapperState.wasMultiple;
|
|
27427
27429
|
m._wrapperState.wasMultiple = !!E.multiple;
|
|
27428
27430
|
var ye = E.value;
|
|
27429
|
-
ye != null ?
|
|
27431
|
+
ye != null ? Ar(m, !!E.multiple, ye, !1) : J !== !!E.multiple && (E.defaultValue != null ? Ar(
|
|
27430
27432
|
m,
|
|
27431
27433
|
!!E.multiple,
|
|
27432
27434
|
E.defaultValue,
|
|
27433
27435
|
!0
|
|
27434
|
-
) :
|
|
27436
|
+
) : Ar(m, !!E.multiple, E.multiple ? [] : "", !1));
|
|
27435
27437
|
}
|
|
27436
27438
|
m[nu] = E;
|
|
27437
27439
|
} catch (Se) {
|
|
@@ -27762,16 +27764,16 @@ Error generating stack: ` + E.message + `
|
|
|
27762
27764
|
Te = s.return;
|
|
27763
27765
|
}
|
|
27764
27766
|
}
|
|
27765
|
-
var f2 = Math.ceil, ca = Z.ReactCurrentDispatcher, df = Z.ReactCurrentOwner, Sn = Z.ReactCurrentBatchConfig, We = 0, kt = null, Et = null, Pt = 0, dn = 0, Ji =
|
|
27767
|
+
var f2 = Math.ceil, ca = Z.ReactCurrentDispatcher, df = Z.ReactCurrentOwner, Sn = Z.ReactCurrentBatchConfig, We = 0, kt = null, Et = null, Pt = 0, dn = 0, Ji = Rr(0), At = 0, pu = null, ui = 0, fa = 0, hf = 0, mu = null, Xt = null, pf = 0, Zi = 1 / 0, pr = null, da = !1, mf = null, Br = null, ha = !1, Ur = null, pa = 0, gu = 0, gf = null, ma = -1, ga = 0;
|
|
27766
27768
|
function Vt() {
|
|
27767
27769
|
return (We & 6) !== 0 ? dt() : ma !== -1 ? ma : ma = dt();
|
|
27768
27770
|
}
|
|
27769
|
-
function
|
|
27771
|
+
function Hr(i) {
|
|
27770
27772
|
return (i.mode & 1) === 0 ? 1 : (We & 2) !== 0 && Pt !== 0 ? Pt & -Pt : G_.transition !== null ? (ga === 0 && (ga = dp()), ga) : (i = Je, i !== 0 || (i = window.event, i = i === void 0 ? 16 : _p(i.type)), i);
|
|
27771
27773
|
}
|
|
27772
27774
|
function Dn(i, s, a, f) {
|
|
27773
27775
|
if (50 < gu) throw gu = 0, gf = null, Error(n(185));
|
|
27774
|
-
Hs(i, a, f), ((We & 2) === 0 || i !== kt) && (i === kt && ((We & 2) === 0 && (fa |= a), At === 4 &&
|
|
27776
|
+
Hs(i, a, f), ((We & 2) === 0 || i !== kt) && (i === kt && ((We & 2) === 0 && (fa |= a), At === 4 && zr(i, Pt)), Jt(i, f), a === 1 && We === 0 && (s.mode & 1) === 0 && (Zi = dt() + 500, Vo && Lr()));
|
|
27775
27777
|
}
|
|
27776
27778
|
function Jt(i, s) {
|
|
27777
27779
|
var a = i.callbackNode;
|
|
@@ -27780,7 +27782,7 @@ Error generating stack: ` + E.message + `
|
|
|
27780
27782
|
if (f === 0) a !== null && lp(a), i.callbackNode = null, i.callbackPriority = 0;
|
|
27781
27783
|
else if (s = f & -f, i.callbackPriority !== s) {
|
|
27782
27784
|
if (a != null && lp(a), s === 1) i.tag === 0 ? W_(_m.bind(null, i)) : u0(_m.bind(null, i)), $_(function() {
|
|
27783
|
-
(We & 6) === 0 &&
|
|
27785
|
+
(We & 6) === 0 && Lr();
|
|
27784
27786
|
}), a = null;
|
|
27785
27787
|
else {
|
|
27786
27788
|
switch (hp(f)) {
|
|
@@ -27828,10 +27830,10 @@ Error generating stack: ` + E.message + `
|
|
|
27828
27830
|
Pc(), ca.current = E, We = m, Et !== null ? s = 0 : (kt = null, Pt = 0, s = At);
|
|
27829
27831
|
}
|
|
27830
27832
|
if (s !== 0) {
|
|
27831
|
-
if (s === 2 && (m = Kl(i), m !== 0 && (f = m, s = Ef(i, m))), s === 1) throw a = pu, ai(i, 0),
|
|
27832
|
-
if (s === 6)
|
|
27833
|
+
if (s === 2 && (m = Kl(i), m !== 0 && (f = m, s = Ef(i, m))), s === 1) throw a = pu, ai(i, 0), zr(i, f), Jt(i, dt()), a;
|
|
27834
|
+
if (s === 6) zr(i, f);
|
|
27833
27835
|
else {
|
|
27834
|
-
if (m = i.current.alternate, (f & 30) === 0 && !d2(m) && (s = Ea(i, f), s === 2 && (E = Kl(i), E !== 0 && (f = E, s = Ef(i, E))), s === 1)) throw a = pu, ai(i, 0),
|
|
27836
|
+
if (m = i.current.alternate, (f & 30) === 0 && !d2(m) && (s = Ea(i, f), s === 2 && (E = Kl(i), E !== 0 && (f = E, s = Ef(i, E))), s === 1)) throw a = pu, ai(i, 0), zr(i, f), Jt(i, dt()), a;
|
|
27835
27837
|
switch (i.finishedWork = m, i.finishedLanes = f, s) {
|
|
27836
27838
|
case 0:
|
|
27837
27839
|
case 1:
|
|
@@ -27840,7 +27842,7 @@ Error generating stack: ` + E.message + `
|
|
|
27840
27842
|
li(i, Xt, pr);
|
|
27841
27843
|
break;
|
|
27842
27844
|
case 3:
|
|
27843
|
-
if (
|
|
27845
|
+
if (zr(i, f), (f & 130023424) === f && (s = pf + 500 - dt(), 10 < s)) {
|
|
27844
27846
|
if (ko(i, 0) !== 0) break;
|
|
27845
27847
|
if (m = i.suspendedLanes, (m & f) !== f) {
|
|
27846
27848
|
Vt(), i.pingedLanes |= i.suspendedLanes & m;
|
|
@@ -27852,7 +27854,7 @@ Error generating stack: ` + E.message + `
|
|
|
27852
27854
|
li(i, Xt, pr);
|
|
27853
27855
|
break;
|
|
27854
27856
|
case 4:
|
|
27855
|
-
if (
|
|
27857
|
+
if (zr(i, f), (f & 4194240) === f) break;
|
|
27856
27858
|
for (s = i.eventTimes, m = -1; 0 < f; ) {
|
|
27857
27859
|
var _ = 31 - vn(f);
|
|
27858
27860
|
E = 1 << _, _ = s[_], _ > m && (m = _), f &= ~E;
|
|
@@ -27906,7 +27908,7 @@ Error generating stack: ` + E.message + `
|
|
|
27906
27908
|
}
|
|
27907
27909
|
return !0;
|
|
27908
27910
|
}
|
|
27909
|
-
function
|
|
27911
|
+
function zr(i, s) {
|
|
27910
27912
|
for (s &= ~hf, s &= ~fa, i.suspendedLanes |= s, i.pingedLanes &= ~s, i = i.expirationTimes; 0 < s; ) {
|
|
27911
27913
|
var a = 31 - vn(s), f = 1 << a;
|
|
27912
27914
|
i[a] = -1, s &= ~f;
|
|
@@ -27922,7 +27924,7 @@ Error generating stack: ` + E.message + `
|
|
|
27922
27924
|
var f = Kl(i);
|
|
27923
27925
|
f !== 0 && (s = f, a = Ef(i, f));
|
|
27924
27926
|
}
|
|
27925
|
-
if (a === 1) throw a = pu, ai(i, 0),
|
|
27927
|
+
if (a === 1) throw a = pu, ai(i, 0), zr(i, s), Jt(i, dt()), a;
|
|
27926
27928
|
if (a === 6) throw Error(n(345));
|
|
27927
27929
|
return i.finishedWork = i.current.alternate, i.finishedLanes = s, li(i, Xt, pr), Jt(i, dt()), null;
|
|
27928
27930
|
}
|
|
@@ -27932,18 +27934,18 @@ Error generating stack: ` + E.message + `
|
|
|
27932
27934
|
try {
|
|
27933
27935
|
return i(s);
|
|
27934
27936
|
} finally {
|
|
27935
|
-
We = a, We === 0 && (Zi = dt() + 500, Vo &&
|
|
27937
|
+
We = a, We === 0 && (Zi = dt() + 500, Vo && Lr());
|
|
27936
27938
|
}
|
|
27937
27939
|
}
|
|
27938
27940
|
function oi(i) {
|
|
27939
|
-
|
|
27941
|
+
Ur !== null && Ur.tag === 0 && (We & 6) === 0 && es();
|
|
27940
27942
|
var s = We;
|
|
27941
27943
|
We |= 1;
|
|
27942
27944
|
var a = Sn.transition, f = Je;
|
|
27943
27945
|
try {
|
|
27944
27946
|
if (Sn.transition = null, Je = 1, i) return i();
|
|
27945
27947
|
} finally {
|
|
27946
|
-
Je = f, Sn.transition = a, We = s, (We & 6) === 0 &&
|
|
27948
|
+
Je = f, Sn.transition = a, We = s, (We & 6) === 0 && Lr();
|
|
27947
27949
|
}
|
|
27948
27950
|
}
|
|
27949
27951
|
function bf() {
|
|
@@ -27982,7 +27984,7 @@ Error generating stack: ` + E.message + `
|
|
|
27982
27984
|
}
|
|
27983
27985
|
a = a.return;
|
|
27984
27986
|
}
|
|
27985
|
-
if (kt = i, Et = i =
|
|
27987
|
+
if (kt = i, Et = i = jr(i.current, null), Pt = dn = s, At = 0, pu = null, hf = fa = ui = 0, Xt = mu = null, ri !== null) {
|
|
27986
27988
|
for (s = 0; s < ri.length; s++) if (a = ri[s], f = a.interleaved, f !== null) {
|
|
27987
27989
|
a.interleaved = null;
|
|
27988
27990
|
var m = f.next, E = a.pending;
|
|
@@ -28053,7 +28055,7 @@ Error generating stack: ` + E.message + `
|
|
|
28053
28055
|
case 1:
|
|
28054
28056
|
w = R;
|
|
28055
28057
|
var D = E.type, z = E.stateNode;
|
|
28056
|
-
if ((E.flags & 128) === 0 && (typeof D.getDerivedStateFromError == "function" || z !== null && typeof z.componentDidCatch == "function" && (
|
|
28058
|
+
if ((E.flags & 128) === 0 && (typeof D.getDerivedStateFromError == "function" || z !== null && typeof z.componentDidCatch == "function" && (Br === null || !Br.has(z)))) {
|
|
28057
28059
|
E.flags |= 65536, s &= -s, E.lanes |= s;
|
|
28058
28060
|
var ae = Y0(E, w, s);
|
|
28059
28061
|
E0(E, ae);
|
|
@@ -28076,7 +28078,7 @@ Error generating stack: ` + E.message + `
|
|
|
28076
28078
|
return ca.current = ia, i === null ? ia : i;
|
|
28077
28079
|
}
|
|
28078
28080
|
function _f() {
|
|
28079
|
-
(At === 0 || At === 3 || At === 2) && (At = 4), kt === null || (ui & 268435455) === 0 && (fa & 268435455) === 0 ||
|
|
28081
|
+
(At === 0 || At === 3 || At === 2) && (At = 4), kt === null || (ui & 268435455) === 0 && (fa & 268435455) === 0 || zr(kt, Pt);
|
|
28080
28082
|
}
|
|
28081
28083
|
function Ea(i, s) {
|
|
28082
28084
|
var a = We;
|
|
@@ -28144,7 +28146,7 @@ Error generating stack: ` + E.message + `
|
|
|
28144
28146
|
function m2(i, s, a, f) {
|
|
28145
28147
|
do
|
|
28146
28148
|
es();
|
|
28147
|
-
while (
|
|
28149
|
+
while (Ur !== null);
|
|
28148
28150
|
if ((We & 6) !== 0) throw Error(n(327));
|
|
28149
28151
|
a = i.finishedWork;
|
|
28150
28152
|
var m = i.finishedLanes;
|
|
@@ -28161,17 +28163,17 @@ Error generating stack: ` + E.message + `
|
|
|
28161
28163
|
var w = We;
|
|
28162
28164
|
We |= 4, df.current = null, l2(i, a), mm(a, i), D_(bc), wo = !!Tc, bc = Tc = null, i.current = a, c2(a), Hb(), We = w, Je = _, Sn.transition = E;
|
|
28163
28165
|
} else i.current = a;
|
|
28164
|
-
if (ha && (ha = !1,
|
|
28166
|
+
if (ha && (ha = !1, Ur = i, pa = m), E = i.pendingLanes, E === 0 && (Br = null), $b(a.stateNode), Jt(i, dt()), s !== null) for (f = i.onRecoverableError, a = 0; a < s.length; a++) m = s[a], f(m.value, { componentStack: m.stack, digest: m.digest });
|
|
28165
28167
|
if (da) throw da = !1, i = mf, mf = null, i;
|
|
28166
|
-
return (pa & 1) !== 0 && i.tag !== 0 && es(), E = i.pendingLanes, (E & 1) !== 0 ? i === gf ? gu++ : (gu = 0, gf = i) : gu = 0,
|
|
28168
|
+
return (pa & 1) !== 0 && i.tag !== 0 && es(), E = i.pendingLanes, (E & 1) !== 0 ? i === gf ? gu++ : (gu = 0, gf = i) : gu = 0, Lr(), null;
|
|
28167
28169
|
}
|
|
28168
28170
|
function es() {
|
|
28169
|
-
if (
|
|
28171
|
+
if (Ur !== null) {
|
|
28170
28172
|
var i = hp(pa), s = Sn.transition, a = Je;
|
|
28171
28173
|
try {
|
|
28172
|
-
if (Sn.transition = null, Je = 16 > i ? 16 : i,
|
|
28174
|
+
if (Sn.transition = null, Je = 16 > i ? 16 : i, Ur === null) var f = !1;
|
|
28173
28175
|
else {
|
|
28174
|
-
if (i =
|
|
28176
|
+
if (i = Ur, Ur = null, pa = 0, (We & 6) !== 0) throw Error(n(331));
|
|
28175
28177
|
var m = We;
|
|
28176
28178
|
for (We |= 4, Te = i.current; Te !== null; ) {
|
|
28177
28179
|
var E = Te, _ = E.child;
|
|
@@ -28263,7 +28265,7 @@ Error generating stack: ` + E.message + `
|
|
|
28263
28265
|
Te = w.return;
|
|
28264
28266
|
}
|
|
28265
28267
|
}
|
|
28266
|
-
if (We = m,
|
|
28268
|
+
if (We = m, Lr(), $n && typeof $n.onPostCommitFiberRoot == "function") try {
|
|
28267
28269
|
$n.onPostCommitFiberRoot(So, i);
|
|
28268
28270
|
} catch (Ae) {
|
|
28269
28271
|
}
|
|
@@ -28277,7 +28279,7 @@ Error generating stack: ` + E.message + `
|
|
|
28277
28279
|
return !1;
|
|
28278
28280
|
}
|
|
28279
28281
|
function xm(i, s, a) {
|
|
28280
|
-
s = Qi(a, s), s = V0(i, s, 1), i =
|
|
28282
|
+
s = Qi(a, s), s = V0(i, s, 1), i = Mr(i, s, 1), s = Vt(), i !== null && (Hs(i, 1, s), Jt(i, s));
|
|
28281
28283
|
}
|
|
28282
28284
|
function ft(i, s, a) {
|
|
28283
28285
|
if (i.tag === 3) xm(i, i, a);
|
|
@@ -28287,8 +28289,8 @@ Error generating stack: ` + E.message + `
|
|
|
28287
28289
|
break;
|
|
28288
28290
|
} else if (s.tag === 1) {
|
|
28289
28291
|
var f = s.stateNode;
|
|
28290
|
-
if (typeof s.type.getDerivedStateFromError == "function" || typeof f.componentDidCatch == "function" && (
|
|
28291
|
-
i = Qi(a, i), i = Y0(s, i, 1), s =
|
|
28292
|
+
if (typeof s.type.getDerivedStateFromError == "function" || typeof f.componentDidCatch == "function" && (Br === null || !Br.has(f))) {
|
|
28293
|
+
i = Qi(a, i), i = Y0(s, i, 1), s = Mr(s, i, 1), i = Vt(), s !== null && (Hs(s, 1, i), Jt(s, i));
|
|
28292
28294
|
break;
|
|
28293
28295
|
}
|
|
28294
28296
|
}
|
|
@@ -28378,7 +28380,7 @@ Error generating stack: ` + E.message + `
|
|
|
28378
28380
|
} else if (f !== m) {
|
|
28379
28381
|
m = Qi(Error(n(424)), s), s = nm(i, s, f, a, m);
|
|
28380
28382
|
break e;
|
|
28381
|
-
} else for (fn =
|
|
28383
|
+
} else for (fn = Ir(s.stateNode.containerInfo.firstChild), cn = s, st = !0, In = null, a = p0(s, null, f, a), s.child = a; a; ) a.flags = a.flags & -3 | 4096, a = a.sibling;
|
|
28382
28384
|
else {
|
|
28383
28385
|
if (Yi(), f === m) {
|
|
28384
28386
|
s = hr(i, s, a);
|
|
@@ -28493,7 +28495,7 @@ Error generating stack: ` + E.message + `
|
|
|
28493
28495
|
}
|
|
28494
28496
|
return 2;
|
|
28495
28497
|
}
|
|
28496
|
-
function
|
|
28498
|
+
function jr(i, s) {
|
|
28497
28499
|
var a = i.alternate;
|
|
28498
28500
|
return a === null ? (a = An(i.tag, s, i.key, i.mode), a.elementType = i.elementType, a.type = i.type, a.stateNode = i.stateNode, a.alternate = i, i.alternate = a) : (a.pendingProps = s, a.type = i.type, a.flags = 0, a.subtreeFlags = 0, a.deletions = null), a.flags = i.flags & 14680064, a.childLanes = i.childLanes, a.lanes = i.lanes, a.child = i.child, a.memoizedProps = i.memoizedProps, a.memoizedState = i.memoizedState, a.updateQueue = i.updateQueue, s = i.dependencies, a.dependencies = s === null ? null : { lanes: s.lanes, firstContext: s.firstContext }, a.sibling = i.sibling, a.index = i.index, a.ref = i.ref, a;
|
|
28499
28501
|
}
|
|
@@ -28560,7 +28562,7 @@ Error generating stack: ` + E.message + `
|
|
|
28560
28562
|
return { $$typeof: F, key: f == null ? null : "" + f, children: i, containerInfo: s, implementation: a };
|
|
28561
28563
|
}
|
|
28562
28564
|
function Om(i) {
|
|
28563
|
-
if (!i) return
|
|
28565
|
+
if (!i) return Pr;
|
|
28564
28566
|
i = i._reactInternals;
|
|
28565
28567
|
e: {
|
|
28566
28568
|
if (Jr(i) !== i || i.tag !== 1) throw Error(n(170));
|
|
@@ -28587,11 +28589,11 @@ Error generating stack: ` + E.message + `
|
|
|
28587
28589
|
return s;
|
|
28588
28590
|
}
|
|
28589
28591
|
function Im(i, s, a, f, m, E, _, w, R) {
|
|
28590
|
-
return i = kf(a, f, !0, i, m, E, _, w, R), i.context = Om(null), a = i.current, f = Vt(), m =
|
|
28592
|
+
return i = kf(a, f, !0, i, m, E, _, w, R), i.context = Om(null), a = i.current, f = Vt(), m = Hr(a), E = dr(f, m), E.callback = s != null ? s : null, Mr(a, E, m), i.current.lanes = m, Hs(i, m, f), Jt(i, f), i;
|
|
28591
28593
|
}
|
|
28592
28594
|
function ba(i, s, a, f) {
|
|
28593
|
-
var m = s.current, E = Vt(), _ =
|
|
28594
|
-
return a = Om(a), s.context === null ? s.context = a : s.pendingContext = a, s = dr(E, _), s.payload = { element: i }, f = f === void 0 ? null : f, f !== null && (s.callback = f), i =
|
|
28595
|
+
var m = s.current, E = Vt(), _ = Hr(m);
|
|
28596
|
+
return a = Om(a), s.context === null ? s.context = a : s.pendingContext = a, s = dr(E, _), s.payload = { element: i }, f = f === void 0 ? null : f, f !== null && (s.callback = f), i = Mr(m, s, _), i !== null && (Dn(i, m, _, E), Xo(i, m, _)), _;
|
|
28595
28597
|
}
|
|
28596
28598
|
function _a(i) {
|
|
28597
28599
|
if (i = i.current, !i.child) return null;
|
|
@@ -28641,8 +28643,8 @@ Error generating stack: ` + E.message + `
|
|
|
28641
28643
|
if (i) {
|
|
28642
28644
|
var s = gp();
|
|
28643
28645
|
i = { blockedOn: null, target: i, priority: s };
|
|
28644
|
-
for (var a = 0; a <
|
|
28645
|
-
|
|
28646
|
+
for (var a = 0; a < wr.length && s !== 0 && s < wr[a].priority; a++) ;
|
|
28647
|
+
wr.splice(a, 0, i), a === 0 && Tp(i);
|
|
28646
28648
|
}
|
|
28647
28649
|
};
|
|
28648
28650
|
function wf(i) {
|
|
@@ -28699,7 +28701,7 @@ Error generating stack: ` + E.message + `
|
|
|
28699
28701
|
var s = i.stateNode;
|
|
28700
28702
|
if (s.current.memoizedState.isDehydrated) {
|
|
28701
28703
|
var a = Us(s.pendingLanes);
|
|
28702
|
-
a !== 0 && (Xl(s, a | 1), Jt(s, dt()), (We & 6) === 0 && (Zi = dt() + 500,
|
|
28704
|
+
a !== 0 && (Xl(s, a | 1), Jt(s, dt()), (We & 6) === 0 && (Zi = dt() + 500, Lr()));
|
|
28703
28705
|
}
|
|
28704
28706
|
break;
|
|
28705
28707
|
case 13:
|
|
@@ -28722,7 +28724,7 @@ Error generating stack: ` + E.message + `
|
|
|
28722
28724
|
}
|
|
28723
28725
|
}, mp = function(i) {
|
|
28724
28726
|
if (i.tag === 13) {
|
|
28725
|
-
var s =
|
|
28727
|
+
var s = Hr(i), a = fr(i, s);
|
|
28726
28728
|
if (a !== null) {
|
|
28727
28729
|
var f = Vt();
|
|
28728
28730
|
Dn(a, i, s, f);
|
|
@@ -28757,7 +28759,7 @@ Error generating stack: ` + E.message + `
|
|
|
28757
28759
|
Eo(i, a);
|
|
28758
28760
|
break;
|
|
28759
28761
|
case "select":
|
|
28760
|
-
s = a.value, s != null &&
|
|
28762
|
+
s = a.value, s != null && Ar(i, !!a.multiple, s, !1);
|
|
28761
28763
|
}
|
|
28762
28764
|
}, tp = Tf, np = oi;
|
|
28763
28765
|
var k2 = { usingClientEntryPoint: !1, Events: [ru, Hi, zo, Zh, ep, Tf] }, Eu = { findFiberByHostInstance: Zr, bundleType: 0, version: "18.3.1", rendererPackageName: "react-dom" }, x2 = { bundleType: Eu.bundleType, version: Eu.version, rendererPackageName: Eu.rendererPackageName, rendererConfig: Eu.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, currentDispatcherRef: Z.ReactCurrentDispatcher, findHostInstanceByFiber: function(i) {
|
|
@@ -28826,10 +28828,10 @@ function pb() {
|
|
|
28826
28828
|
console.error(t);
|
|
28827
28829
|
}
|
|
28828
28830
|
}
|
|
28829
|
-
return e(), ld.exports =
|
|
28831
|
+
return e(), ld.exports = EL(), ld.exports;
|
|
28830
28832
|
}
|
|
28831
28833
|
var jl = pb();
|
|
28832
|
-
function
|
|
28834
|
+
function yL(e) {
|
|
28833
28835
|
return new Proxy({}, {
|
|
28834
28836
|
get(t, n) {
|
|
28835
28837
|
return n === "style" ? (r) => e({ style: r }).style : e;
|
|
@@ -28858,7 +28860,7 @@ function pl(e) {
|
|
|
28858
28860
|
ref: c,
|
|
28859
28861
|
get: g,
|
|
28860
28862
|
set(T) {
|
|
28861
|
-
(e().sync ? jl.flushSync :
|
|
28863
|
+
(e().sync ? jl.flushSync : MP)(() => h(T));
|
|
28862
28864
|
},
|
|
28863
28865
|
invoke(T, S) {
|
|
28864
28866
|
var k, O;
|
|
@@ -28882,7 +28884,7 @@ pl.ref = (e) => {
|
|
|
28882
28884
|
}
|
|
28883
28885
|
};
|
|
28884
28886
|
};
|
|
28885
|
-
function
|
|
28887
|
+
function TL(e) {
|
|
28886
28888
|
const t = X.useRef(e);
|
|
28887
28889
|
return {
|
|
28888
28890
|
get(n) {
|
|
@@ -28893,7 +28895,7 @@ function yL(e) {
|
|
|
28893
28895
|
}
|
|
28894
28896
|
};
|
|
28895
28897
|
}
|
|
28896
|
-
var
|
|
28898
|
+
var bL = (e, t) => {
|
|
28897
28899
|
const n = X.useRef(!1), r = X.useRef(!1);
|
|
28898
28900
|
X.useEffect(() => {
|
|
28899
28901
|
if (n.current && r.current) return t();
|
|
@@ -28906,10 +28908,10 @@ function Eb(e, t = {}) {
|
|
|
28906
28908
|
var ge, pe, ce, fe, be, Ie;
|
|
28907
28909
|
const n = X.useMemo(() => {
|
|
28908
28910
|
const { id: oe, ids: M, getRootNode: G } = t;
|
|
28909
|
-
return
|
|
28911
|
+
return pL({ id: oe, ids: M, getRootNode: G });
|
|
28910
28912
|
}, [t]), r = (...oe) => {
|
|
28911
28913
|
e.debug && console.log(...oe);
|
|
28912
|
-
}, u = (pe = (ge = e.props) == null ? void 0 : ge.call(e, { props: ib(t), scope: n })) != null ? pe : t, o =
|
|
28914
|
+
}, u = (pe = (ge = e.props) == null ? void 0 : ge.call(e, { props: ib(t), scope: n })) != null ? pe : t, o = _L(u), l = (ce = e.context) == null ? void 0 : ce.call(e, {
|
|
28913
28915
|
prop: o,
|
|
28914
28916
|
bindable: pl,
|
|
28915
28917
|
scope: n,
|
|
@@ -28959,7 +28961,7 @@ function Eb(e, t = {}) {
|
|
|
28959
28961
|
var M, G;
|
|
28960
28962
|
return !!((G = (M = e.states[F.ref.current]) == null ? void 0 : M.tags) != null && G.includes(oe));
|
|
28961
28963
|
}
|
|
28962
|
-
}), k =
|
|
28964
|
+
}), k = TL((be = (fe = e.refs) == null ? void 0 : fe.call(e, { prop: o, context: d })) != null ? be : {}), O = () => ({
|
|
28963
28965
|
state: S(),
|
|
28964
28966
|
context: d,
|
|
28965
28967
|
event: T(),
|
|
@@ -28967,7 +28969,7 @@ function Eb(e, t = {}) {
|
|
|
28967
28969
|
send: H,
|
|
28968
28970
|
action: L,
|
|
28969
28971
|
guard: $,
|
|
28970
|
-
track:
|
|
28972
|
+
track: bL,
|
|
28971
28973
|
refs: k,
|
|
28972
28974
|
computed: he,
|
|
28973
28975
|
flush: U1,
|
|
@@ -28999,11 +29001,11 @@ function Eb(e, t = {}) {
|
|
|
28999
29001
|
q && A.push(q);
|
|
29000
29002
|
}
|
|
29001
29003
|
return () => A.forEach((I) => I == null ? void 0 : I());
|
|
29002
|
-
}, Z = (oe) =>
|
|
29004
|
+
}, Z = (oe) => NP(oe).find((M) => {
|
|
29003
29005
|
let G = !M.guard;
|
|
29004
29006
|
return Za(M.guard) ? G = !!$(M.guard) : cs(M.guard) && (G = M.guard(O())), G;
|
|
29005
29007
|
}), he = (oe) => {
|
|
29006
|
-
|
|
29008
|
+
FP(e.computed, () => "[zag-js] No computed object found on machine");
|
|
29007
29009
|
const M = e.computed[oe];
|
|
29008
29010
|
return M({
|
|
29009
29011
|
context: d,
|
|
@@ -29083,7 +29085,7 @@ function yb(e) {
|
|
|
29083
29085
|
const t = X.useRef(e);
|
|
29084
29086
|
return t.current = e, t;
|
|
29085
29087
|
}
|
|
29086
|
-
function
|
|
29088
|
+
function _L(e) {
|
|
29087
29089
|
const t = yb(e);
|
|
29088
29090
|
return function(r) {
|
|
29089
29091
|
return t.current[r];
|
|
@@ -29094,7 +29096,7 @@ function U1(e) {
|
|
|
29094
29096
|
jl.flushSync(() => e());
|
|
29095
29097
|
});
|
|
29096
29098
|
}
|
|
29097
|
-
var
|
|
29099
|
+
var SL = yL((e) => e);
|
|
29098
29100
|
function Wh(...e) {
|
|
29099
29101
|
return (t) => {
|
|
29100
29102
|
const n = [];
|
|
@@ -29110,7 +29112,7 @@ function Wh(...e) {
|
|
|
29110
29112
|
};
|
|
29111
29113
|
};
|
|
29112
29114
|
}
|
|
29113
|
-
function
|
|
29115
|
+
function AL(e, t) {
|
|
29114
29116
|
return `${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`;
|
|
29115
29117
|
}
|
|
29116
29118
|
function co(e = {}) {
|
|
@@ -29127,7 +29129,7 @@ function co(e = {}) {
|
|
|
29127
29129
|
var g;
|
|
29128
29130
|
const h = X.useContext(c);
|
|
29129
29131
|
if (!h && n) {
|
|
29130
|
-
const y = new Error(o != null ? o :
|
|
29132
|
+
const y = new Error(o != null ? o : AL(r, u));
|
|
29131
29133
|
throw y.name = "ContextError", (g = Error.captureStackTrace) == null || g.call(Error, y, d), y;
|
|
29132
29134
|
}
|
|
29133
29135
|
return h;
|
|
@@ -29140,12 +29142,12 @@ const Tb = () => (e, t) => t.reduce(
|
|
|
29140
29142
|
return o[l] !== void 0 && (u[l] = o[l]), delete o[l], [u, o];
|
|
29141
29143
|
},
|
|
29142
29144
|
[{}, Q({}, e)]
|
|
29143
|
-
), [
|
|
29145
|
+
), [CL, kL] = co({
|
|
29144
29146
|
name: "RenderStrategyContext",
|
|
29145
29147
|
hookName: "useRenderStrategyContext",
|
|
29146
29148
|
providerName: "<RenderStrategyPropsProvider />"
|
|
29147
|
-
}),
|
|
29148
|
-
function
|
|
29149
|
+
}), xL = (e) => Tb()(e, ["lazyMount", "unmountOnExit"]);
|
|
29150
|
+
function NL(e) {
|
|
29149
29151
|
var r, u;
|
|
29150
29152
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
29151
29153
|
return n ? e.ref : (t = (u = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : u.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
@@ -29158,14 +29160,14 @@ const dd = (e) => {
|
|
|
29158
29160
|
return X.createElement(e, Ue(Q({}, l), { ref: r }), o);
|
|
29159
29161
|
if (!X.isValidElement(o))
|
|
29160
29162
|
return null;
|
|
29161
|
-
const c = X.Children.only(o), d =
|
|
29163
|
+
const c = X.Children.only(o), d = NL(c);
|
|
29162
29164
|
return X.cloneElement(c, Ue(Q({}, Ni(l, c.props)), {
|
|
29163
29165
|
ref: r ? Wh(r, d) : d
|
|
29164
29166
|
}));
|
|
29165
29167
|
})
|
|
29166
29168
|
);
|
|
29167
29169
|
return t.displayName = e.displayName || e.name, t;
|
|
29168
|
-
},
|
|
29170
|
+
}, wL = () => {
|
|
29169
29171
|
const e = /* @__PURE__ */ new Map();
|
|
29170
29172
|
return new Proxy(dd, {
|
|
29171
29173
|
apply(t, n, r) {
|
|
@@ -29176,8 +29178,8 @@ const dd = (e) => {
|
|
|
29176
29178
|
return e.has(r) || e.set(r, dd(r)), e.get(r);
|
|
29177
29179
|
}
|
|
29178
29180
|
});
|
|
29179
|
-
}, fo =
|
|
29180
|
-
function
|
|
29181
|
+
}, fo = wL();
|
|
29182
|
+
function vL(e, t) {
|
|
29181
29183
|
const { state: n, send: r, context: u } = e, o = n.matches("mounted", "unmountSuspended");
|
|
29182
29184
|
return {
|
|
29183
29185
|
skip: !u.get("initial"),
|
|
@@ -29190,7 +29192,7 @@ function wL(e, t) {
|
|
|
29190
29192
|
}
|
|
29191
29193
|
};
|
|
29192
29194
|
}
|
|
29193
|
-
var
|
|
29195
|
+
var OL = {
|
|
29194
29196
|
props({ props: e }) {
|
|
29195
29197
|
return Ue(Q({}, e), { present: !!e.present });
|
|
29196
29198
|
},
|
|
@@ -29318,7 +29320,7 @@ var vL = {
|
|
|
29318
29320
|
r.addEventListener("animationstart", u), r.addEventListener("animationcancel", o), r.addEventListener("animationend", o);
|
|
29319
29321
|
const l = hl(r, { animationFillMode: "forwards" });
|
|
29320
29322
|
return () => {
|
|
29321
|
-
r.removeEventListener("animationstart", u), r.removeEventListener("animationcancel", o), r.removeEventListener("animationend", o),
|
|
29323
|
+
r.removeEventListener("animationstart", u), r.removeEventListener("animationcancel", o), r.removeEventListener("animationend", o), iL(() => l());
|
|
29322
29324
|
};
|
|
29323
29325
|
}
|
|
29324
29326
|
}
|
|
@@ -29328,8 +29330,8 @@ function Fa(e) {
|
|
|
29328
29330
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
29329
29331
|
}
|
|
29330
29332
|
mb()(["onExitComplete", "present", "immediate"]);
|
|
29331
|
-
function
|
|
29332
|
-
const { sync: n = !1 } = t, r =
|
|
29333
|
+
function IL(e, t = {}) {
|
|
29334
|
+
const { sync: n = !1 } = t, r = RL(e);
|
|
29333
29335
|
return X.useCallback(
|
|
29334
29336
|
(...u) => {
|
|
29335
29337
|
var o;
|
|
@@ -29341,15 +29343,15 @@ function OL(e, t = {}) {
|
|
|
29341
29343
|
[n, r]
|
|
29342
29344
|
);
|
|
29343
29345
|
}
|
|
29344
|
-
function
|
|
29346
|
+
function RL(e) {
|
|
29345
29347
|
const t = X.useRef(e);
|
|
29346
29348
|
return t.current = e, t;
|
|
29347
29349
|
}
|
|
29348
29350
|
const bb = (e = {}) => {
|
|
29349
29351
|
const b = e, { lazyMount: t, unmountOnExit: n, present: r, skipAnimationOnMount: u = !1 } = b, o = fi(b, ["lazyMount", "unmountOnExit", "present", "skipAnimationOnMount"]), l = X.useRef(!1), c = Ue(Q({}, o), {
|
|
29350
29352
|
present: r,
|
|
29351
|
-
onExitComplete:
|
|
29352
|
-
}), d = Eb(
|
|
29353
|
+
onExitComplete: IL(e.onExitComplete)
|
|
29354
|
+
}), d = Eb(OL, c), h = vL(d);
|
|
29353
29355
|
h.present && (l.current = !0);
|
|
29354
29356
|
const g = !h.present && !l.current && t || n && !h.present && l.current, y = () => ({
|
|
29355
29357
|
"data-state": h.skip && u ? void 0 : r ? "open" : "closed",
|
|
@@ -29361,16 +29363,16 @@ const bb = (e = {}) => {
|
|
|
29361
29363
|
present: h.present,
|
|
29362
29364
|
unmounted: g
|
|
29363
29365
|
};
|
|
29364
|
-
}, [
|
|
29366
|
+
}, [PL, ho] = co({
|
|
29365
29367
|
name: "DialogContext",
|
|
29366
29368
|
hookName: "useDialogContext",
|
|
29367
29369
|
providerName: "<DialogProvider />"
|
|
29368
29370
|
}), _b = X.forwardRef((e, t) => {
|
|
29369
|
-
const n = ho(), r =
|
|
29371
|
+
const n = ho(), r = kL(), u = bb(Ue(Q({}, r), { present: n.open })), o = Ni(n.getBackdropProps(), u.getPresenceProps(), e);
|
|
29370
29372
|
return u.unmounted ? null : /* @__PURE__ */ P.jsx(fo.div, Ue(Q({}, o), { ref: Wh(u.ref, t) }));
|
|
29371
29373
|
});
|
|
29372
29374
|
_b.displayName = "DialogBackdrop";
|
|
29373
|
-
const [
|
|
29375
|
+
const [LL, Sb] = co({
|
|
29374
29376
|
name: "PresenceContext",
|
|
29375
29377
|
hookName: "usePresenceContext",
|
|
29376
29378
|
providerName: "<PresenceProvider />"
|
|
@@ -29389,7 +29391,7 @@ const Qh = X.forwardRef((e, t) => {
|
|
|
29389
29391
|
return Sb().unmounted ? null : /* @__PURE__ */ P.jsx(fo.div, Ue(Q({}, r), { ref: t }));
|
|
29390
29392
|
});
|
|
29391
29393
|
Qh.displayName = "DialogPositioner";
|
|
29392
|
-
const
|
|
29394
|
+
const DL = (e) => Tb()(e, [
|
|
29393
29395
|
"immediate",
|
|
29394
29396
|
"lazyMount",
|
|
29395
29397
|
"onExitComplete",
|
|
@@ -29399,7 +29401,7 @@ const LL = (e) => Tb()(e, [
|
|
|
29399
29401
|
]);
|
|
29400
29402
|
var Ru = (e, t = []) => ({
|
|
29401
29403
|
parts: (...n) => {
|
|
29402
|
-
if (
|
|
29404
|
+
if (ML(t))
|
|
29403
29405
|
return Ru(e, n);
|
|
29404
29406
|
throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?");
|
|
29405
29407
|
},
|
|
@@ -29419,12 +29421,12 @@ var Ru = (e, t = []) => ({
|
|
|
29419
29421
|
}),
|
|
29420
29422
|
{}
|
|
29421
29423
|
)
|
|
29422
|
-
}), ss = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(),
|
|
29424
|
+
}), ss = (e) => e.replace(/([A-Z])([A-Z])/g, "$1-$2").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase(), ML = (e) => e.length === 0, us = /* @__PURE__ */ new WeakMap(), Ba = /* @__PURE__ */ new WeakMap(), Ua = {}, hd = 0, Ab = (e) => e && (e.host || Ab(e.parentNode)), FL = (e, t) => t.map((n) => {
|
|
29423
29425
|
if (e.contains(n)) return n;
|
|
29424
29426
|
const r = Ab(n);
|
|
29425
29427
|
return r && e.contains(r) ? r : (console.error("[zag-js > ariaHidden] target", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
29426
|
-
}).filter((n) => !!n),
|
|
29427
|
-
const { parentNode: n, markerName: r, controlAttribute: u } = t, o =
|
|
29428
|
+
}).filter((n) => !!n), BL = /* @__PURE__ */ new Set(["script", "output", "status", "next-route-announcer"]), UL = (e) => BL.has(e.localName) || e.role === "status" || e.hasAttribute("aria-live") ? !0 : e.matches("[data-live-announcer]"), HL = (e, t) => {
|
|
29429
|
+
const { parentNode: n, markerName: r, controlAttribute: u } = t, o = FL(n, Array.isArray(e) ? e : [e]);
|
|
29428
29430
|
Ua[r] || (Ua[r] = /* @__PURE__ */ new WeakMap());
|
|
29429
29431
|
const l = Ua[r], c = [], d = /* @__PURE__ */ new Set(), h = new Set(o), g = (b) => {
|
|
29430
29432
|
!b || d.has(b) || (d.add(b), g(b.parentNode));
|
|
@@ -29436,7 +29438,7 @@ var Ru = (e, t = []) => ({
|
|
|
29436
29438
|
y(T);
|
|
29437
29439
|
else
|
|
29438
29440
|
try {
|
|
29439
|
-
if (
|
|
29441
|
+
if (UL(T)) return;
|
|
29440
29442
|
const k = T.getAttribute(u) === "true", O = (us.get(T) || 0) + 1, L = (l.get(T) || 0) + 1;
|
|
29441
29443
|
us.set(T, O), l.set(T, L), c.push(T), O === 1 && k && Ba.set(T, !0), L === 1 && T.setAttribute(r, ""), k || T.setAttribute(u, "true");
|
|
29442
29444
|
} catch (S) {
|
|
@@ -29450,29 +29452,29 @@ var Ru = (e, t = []) => ({
|
|
|
29450
29452
|
us.set(b, T), l.set(b, S), T || (Ba.has(b) || b.removeAttribute(u), Ba.delete(b)), S || b.removeAttribute(r);
|
|
29451
29453
|
}), hd--, hd || (us = /* @__PURE__ */ new WeakMap(), us = /* @__PURE__ */ new WeakMap(), Ba = /* @__PURE__ */ new WeakMap(), Ua = {});
|
|
29452
29454
|
};
|
|
29453
|
-
},
|
|
29455
|
+
}, zL = (e) => (Array.isArray(e) ? e[0] : e).ownerDocument.body, jL = (e, t = zL(e), n = "data-aria-hidden") => {
|
|
29454
29456
|
if (t)
|
|
29455
|
-
return
|
|
29457
|
+
return HL(e, {
|
|
29456
29458
|
parentNode: t,
|
|
29457
29459
|
markerName: n,
|
|
29458
29460
|
controlAttribute: "aria-hidden"
|
|
29459
29461
|
});
|
|
29460
|
-
},
|
|
29462
|
+
}, $L = (e) => {
|
|
29461
29463
|
const t = requestAnimationFrame(() => e());
|
|
29462
29464
|
return () => cancelAnimationFrame(t);
|
|
29463
29465
|
};
|
|
29464
|
-
function
|
|
29465
|
-
const { defer: n = !0 } = t, r = n ?
|
|
29466
|
+
function VL(e, t = {}) {
|
|
29467
|
+
const { defer: n = !0 } = t, r = n ? $L : (o) => o(), u = [];
|
|
29466
29468
|
return u.push(
|
|
29467
29469
|
r(() => {
|
|
29468
29470
|
const l = (typeof e == "function" ? e() : e).filter(Boolean);
|
|
29469
|
-
l.length !== 0 && u.push(
|
|
29471
|
+
l.length !== 0 && u.push(jL(l));
|
|
29470
29472
|
})
|
|
29471
29473
|
), () => {
|
|
29472
29474
|
u.forEach((o) => o == null ? void 0 : o());
|
|
29473
29475
|
};
|
|
29474
29476
|
}
|
|
29475
|
-
function
|
|
29477
|
+
function YL(e) {
|
|
29476
29478
|
const t = {
|
|
29477
29479
|
each(n) {
|
|
29478
29480
|
var r;
|
|
@@ -29505,7 +29507,7 @@ function VL(e) {
|
|
|
29505
29507
|
};
|
|
29506
29508
|
return t;
|
|
29507
29509
|
}
|
|
29508
|
-
function
|
|
29510
|
+
function qL(e) {
|
|
29509
29511
|
const t = e.frameElement != null ? e.parent : null;
|
|
29510
29512
|
return {
|
|
29511
29513
|
addEventListener: (n, r, u) => {
|
|
@@ -29529,18 +29531,18 @@ function YL(e) {
|
|
|
29529
29531
|
};
|
|
29530
29532
|
}
|
|
29531
29533
|
var H1 = "pointerdown.outside", z1 = "focus.outside";
|
|
29532
|
-
function
|
|
29534
|
+
function WL(e) {
|
|
29533
29535
|
for (const t of e)
|
|
29534
|
-
if (un(t) &&
|
|
29536
|
+
if (un(t) && Kr(t)) return !0;
|
|
29535
29537
|
return !1;
|
|
29536
29538
|
}
|
|
29537
29539
|
var Cb = (e) => "clientY" in e;
|
|
29538
|
-
function
|
|
29540
|
+
function GL(e, t) {
|
|
29539
29541
|
if (!Cb(t) || !e) return !1;
|
|
29540
29542
|
const n = e.getBoundingClientRect();
|
|
29541
29543
|
return n.width === 0 || n.height === 0 ? !1 : n.top <= t.clientY && t.clientY <= n.top + n.height && n.left <= t.clientX && t.clientX <= n.left + n.width;
|
|
29542
29544
|
}
|
|
29543
|
-
function
|
|
29545
|
+
function KL(e, t) {
|
|
29544
29546
|
return e.y <= t.y && t.y <= e.y + e.height && e.x <= t.x && t.x <= e.x + e.width;
|
|
29545
29547
|
}
|
|
29546
29548
|
function j1(e, t) {
|
|
@@ -29554,14 +29556,14 @@ function j1(e, t) {
|
|
|
29554
29556
|
x: e.clientX,
|
|
29555
29557
|
y: e.clientY
|
|
29556
29558
|
};
|
|
29557
|
-
return
|
|
29559
|
+
return KL(l, c) ? r || o : !1;
|
|
29558
29560
|
}
|
|
29559
|
-
function
|
|
29561
|
+
function QL(e, t) {
|
|
29560
29562
|
const { exclude: n, onFocusOutside: r, onPointerDownOutside: u, onInteractOutside: o, defer: l } = t;
|
|
29561
29563
|
if (!e) return;
|
|
29562
|
-
const c = ir(e), d = lo(e), h =
|
|
29564
|
+
const c = ir(e), d = lo(e), h = YL(d), g = qL(d);
|
|
29563
29565
|
function y($, j) {
|
|
29564
|
-
if (!un(j) || !j.isConnected || dl(e, j) ||
|
|
29566
|
+
if (!un(j) || !j.isConnected || dl(e, j) || GL(e, $)) return !1;
|
|
29565
29567
|
const Z = c.querySelector(`[aria-controls="${e.id}"]`);
|
|
29566
29568
|
if (Z) {
|
|
29567
29569
|
const F = Jd(Z);
|
|
@@ -29587,8 +29589,8 @@ function KL(e, t) {
|
|
|
29587
29589
|
cancelable: !0,
|
|
29588
29590
|
detail: {
|
|
29589
29591
|
originalEvent: F,
|
|
29590
|
-
contextmenu:
|
|
29591
|
-
focusable:
|
|
29592
|
+
contextmenu: tL(F),
|
|
29593
|
+
focusable: WL(me),
|
|
29592
29594
|
target: H
|
|
29593
29595
|
}
|
|
29594
29596
|
});
|
|
@@ -29614,7 +29616,7 @@ function KL(e, t) {
|
|
|
29614
29616
|
detail: {
|
|
29615
29617
|
originalEvent: $,
|
|
29616
29618
|
contextmenu: !1,
|
|
29617
|
-
focusable:
|
|
29619
|
+
focusable: Kr(Z),
|
|
29618
29620
|
target: Z
|
|
29619
29621
|
}
|
|
29620
29622
|
});
|
|
@@ -29625,12 +29627,12 @@ function KL(e, t) {
|
|
|
29625
29627
|
clearTimeout(O), b.forEach(($) => $()), k.forEach(($) => $());
|
|
29626
29628
|
};
|
|
29627
29629
|
}
|
|
29628
|
-
function
|
|
29630
|
+
function XL(e, t) {
|
|
29629
29631
|
const { defer: n } = t, r = n ? Tr : (o) => o(), u = [];
|
|
29630
29632
|
return u.push(
|
|
29631
29633
|
r(() => {
|
|
29632
29634
|
const o = typeof e == "function" ? e() : e;
|
|
29633
|
-
u.push(
|
|
29635
|
+
u.push(QL(o, t));
|
|
29634
29636
|
})
|
|
29635
29637
|
), () => {
|
|
29636
29638
|
u.forEach((o) => o == null ? void 0 : o());
|
|
@@ -29640,7 +29642,7 @@ function $1(e, t, n) {
|
|
|
29640
29642
|
const r = e.ownerDocument.defaultView || window, u = new r.CustomEvent(t, n);
|
|
29641
29643
|
return e.dispatchEvent(u);
|
|
29642
29644
|
}
|
|
29643
|
-
function
|
|
29645
|
+
function JL(e, t) {
|
|
29644
29646
|
const n = (r) => {
|
|
29645
29647
|
r.key === "Escape" && (r.isComposing || t == null || t(r));
|
|
29646
29648
|
};
|
|
@@ -29710,15 +29712,15 @@ function Y1() {
|
|
|
29710
29712
|
e.style.pointerEvents = Fn.isBelowPointerBlockingLayer(e) ? "none" : "auto";
|
|
29711
29713
|
});
|
|
29712
29714
|
}
|
|
29713
|
-
function
|
|
29715
|
+
function ZL(e) {
|
|
29714
29716
|
e.style.pointerEvents = "";
|
|
29715
29717
|
}
|
|
29716
|
-
function
|
|
29718
|
+
function e4(e, t) {
|
|
29717
29719
|
const n = ir(e), r = [];
|
|
29718
29720
|
return Fn.hasPointerBlockingLayer() && !n.body.hasAttribute("data-inert") && (V1 = document.body.style.pointerEvents, queueMicrotask(() => {
|
|
29719
29721
|
n.body.style.pointerEvents = "none", n.body.setAttribute("data-inert", "");
|
|
29720
29722
|
})), t == null || t.forEach((u) => {
|
|
29721
|
-
const [o, l] =
|
|
29723
|
+
const [o, l] = cL(
|
|
29722
29724
|
() => {
|
|
29723
29725
|
const c = u();
|
|
29724
29726
|
return un(c) ? c : null;
|
|
@@ -29732,7 +29734,7 @@ function ZL(e, t) {
|
|
|
29732
29734
|
}), r.forEach((u) => u()));
|
|
29733
29735
|
};
|
|
29734
29736
|
}
|
|
29735
|
-
function
|
|
29737
|
+
function t4(e, t) {
|
|
29736
29738
|
const { warnOnMissingNode: n = !0 } = t;
|
|
29737
29739
|
if (n && !e) {
|
|
29738
29740
|
Xd("[@zag-js/dismissable] node is `null` or `undefined`");
|
|
@@ -29763,26 +29765,26 @@ function e4(e, t) {
|
|
|
29763
29765
|
return O && k.push(...O), k.some(($) => dl($, T)) || Fn.isInNestedLayer(e, T);
|
|
29764
29766
|
}
|
|
29765
29767
|
const b = [
|
|
29766
|
-
u ?
|
|
29767
|
-
|
|
29768
|
-
|
|
29768
|
+
u ? e4(e, t.persistentElements) : void 0,
|
|
29769
|
+
JL(e, g),
|
|
29770
|
+
XL(e, { exclude: y, onFocusOutside: h, onPointerDownOutside: d, defer: t.defer })
|
|
29769
29771
|
];
|
|
29770
29772
|
return () => {
|
|
29771
|
-
Fn.remove(e), Y1(),
|
|
29773
|
+
Fn.remove(e), Y1(), ZL(e), b.forEach((T) => T == null ? void 0 : T());
|
|
29772
29774
|
};
|
|
29773
29775
|
}
|
|
29774
|
-
function
|
|
29776
|
+
function n4(e, t) {
|
|
29775
29777
|
const { defer: n } = t, r = n ? Tr : (o) => o(), u = [];
|
|
29776
29778
|
return u.push(
|
|
29777
29779
|
r(() => {
|
|
29778
29780
|
const o = cs(e) ? e() : e;
|
|
29779
|
-
u.push(
|
|
29781
|
+
u.push(t4(o, t));
|
|
29780
29782
|
})
|
|
29781
29783
|
), () => {
|
|
29782
29784
|
u.forEach((o) => o == null ? void 0 : o());
|
|
29783
29785
|
};
|
|
29784
29786
|
}
|
|
29785
|
-
var
|
|
29787
|
+
var r4 = Object.defineProperty, i4 = (e, t, n) => t in e ? r4(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t, n) => i4(e, typeof t != "symbol" ? t + "" : t, n), q1 = {
|
|
29786
29788
|
activateTrap(e, t) {
|
|
29787
29789
|
if (e.length > 0) {
|
|
29788
29790
|
const r = e[e.length - 1];
|
|
@@ -29795,7 +29797,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29795
29797
|
const n = e.indexOf(t);
|
|
29796
29798
|
n !== -1 && e.splice(n, 1), e.length > 0 && e[e.length - 1].unpause();
|
|
29797
29799
|
}
|
|
29798
|
-
},
|
|
29800
|
+
}, s4 = [], u4 = class {
|
|
29799
29801
|
constructor(e, t) {
|
|
29800
29802
|
lt(this, "trapStack"), lt(this, "config"), lt(this, "doc"), lt(this, "state", {
|
|
29801
29803
|
containers: [],
|
|
@@ -29853,7 +29855,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29853
29855
|
wu(r) && r.preventDefault(), this.tryFocus(o);
|
|
29854
29856
|
}
|
|
29855
29857
|
}), lt(this, "handleEscapeKey", (r) => {
|
|
29856
|
-
|
|
29858
|
+
o4(r) && vu(this.config.escapeDeactivates, r) !== !1 && (r.preventDefault(), this.deactivate());
|
|
29857
29859
|
}), lt(this, "_mutationObserver"), lt(this, "setupMutationObserver", () => {
|
|
29858
29860
|
const r = this.doc.defaultView || window;
|
|
29859
29861
|
this._mutationObserver = new r.MutationObserver((u) => {
|
|
@@ -29869,7 +29871,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29869
29871
|
let r = this.getNodeForOption("initialFocus", { hasFallback: !0 });
|
|
29870
29872
|
if (r === !1)
|
|
29871
29873
|
return !1;
|
|
29872
|
-
if (r === void 0 || r && !
|
|
29874
|
+
if (r === void 0 || r && !Kr(r))
|
|
29873
29875
|
if (this.findContainerIndex(this.doc.activeElement) >= 0)
|
|
29874
29876
|
r = this.doc.activeElement;
|
|
29875
29877
|
else {
|
|
@@ -29886,7 +29888,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29886
29888
|
this.tryFocus(this.getInitialFocusNode());
|
|
29887
29889
|
return;
|
|
29888
29890
|
}
|
|
29889
|
-
r.focus({ preventScroll: !!this.config.preventScroll }), this.state.mostRecentlyFocusedNode = r,
|
|
29891
|
+
r.focus({ preventScroll: !!this.config.preventScroll }), this.state.mostRecentlyFocusedNode = r, a4(r) && r.select();
|
|
29890
29892
|
}
|
|
29891
29893
|
}), lt(this, "deactivate", (r) => {
|
|
29892
29894
|
if (!this.state.active) return this;
|
|
@@ -29960,7 +29962,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29960
29962
|
let g = this.state.tabbableGroups.findIndex(
|
|
29961
29963
|
({ firstTabbableNode: y }) => l === y
|
|
29962
29964
|
);
|
|
29963
|
-
if (g < 0 && ((h == null ? void 0 : h.container) === l ||
|
|
29965
|
+
if (g < 0 && ((h == null ? void 0 : h.container) === l || Kr(l) && !mi(l) && !(h != null && h.nextTabbableNode(l, !1))) && (g = d), g >= 0) {
|
|
29964
29966
|
const y = g === 0 ? this.state.tabbableGroups.length - 1 : g - 1, b = this.state.tabbableGroups[y];
|
|
29965
29967
|
c = Nu(l) >= 0 ? b.lastTabbableNode : b.lastDomTabbableNode;
|
|
29966
29968
|
} else wu(u) || (c = h == null ? void 0 : h.nextTabbableNode(l, !1));
|
|
@@ -29968,7 +29970,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29968
29970
|
let g = this.state.tabbableGroups.findIndex(
|
|
29969
29971
|
({ lastTabbableNode: y }) => l === y
|
|
29970
29972
|
);
|
|
29971
|
-
if (g < 0 && ((h == null ? void 0 : h.container) === l ||
|
|
29973
|
+
if (g < 0 && ((h == null ? void 0 : h.container) === l || Kr(l) && !mi(l) && !(h != null && h.nextTabbableNode(l))) && (g = d), g >= 0) {
|
|
29972
29974
|
const y = g === this.state.tabbableGroups.length - 1 ? 0 : g + 1, b = this.state.tabbableGroups[y];
|
|
29973
29975
|
c = Nu(l) >= 0 ? b.firstTabbableNode : b.firstDomTabbableNode;
|
|
29974
29976
|
} else wu(u) || (c = h == null ? void 0 : h.nextTabbableNode(l));
|
|
@@ -29976,7 +29978,7 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
29976
29978
|
} else
|
|
29977
29979
|
c = this.getNodeForOption("fallbackFocus");
|
|
29978
29980
|
return c;
|
|
29979
|
-
}), this.trapStack = t.trapStack ||
|
|
29981
|
+
}), this.trapStack = t.trapStack || s4;
|
|
29980
29982
|
const n = Q({
|
|
29981
29983
|
returnFocusOnDeactivate: !0,
|
|
29982
29984
|
escapeDeactivates: !0,
|
|
@@ -30056,13 +30058,13 @@ var n4 = Object.defineProperty, r4 = (e, t, n) => t in e ? n4(e, t, { enumerable
|
|
|
30056
30058
|
};
|
|
30057
30059
|
return r ? (r(this.state.containers.concat()).then(u, u), this) : (u(), this);
|
|
30058
30060
|
}
|
|
30059
|
-
}, wu = (e) => e.key === "Tab", vu = (e, ...t) => typeof e == "function" ? e(...t) : e,
|
|
30060
|
-
function
|
|
30061
|
+
}, wu = (e) => e.key === "Tab", vu = (e, ...t) => typeof e == "function" ? e(...t) : e, o4 = (e) => !e.isComposing && e.key === "Escape", W1 = (e) => setTimeout(e, 0), a4 = (e) => e.localName === "input" && "select" in e && typeof e.select == "function";
|
|
30062
|
+
function l4(e, t = {}) {
|
|
30061
30063
|
let n;
|
|
30062
30064
|
const r = Tr(() => {
|
|
30063
30065
|
const u = typeof e == "function" ? e() : e;
|
|
30064
30066
|
if (u) {
|
|
30065
|
-
n = new
|
|
30067
|
+
n = new u4(u, Ue(Q({
|
|
30066
30068
|
escapeDeactivates: !1,
|
|
30067
30069
|
allowOutsideClick: !0,
|
|
30068
30070
|
preventScroll: !0,
|
|
@@ -30083,17 +30085,17 @@ function a4(e, t = {}) {
|
|
|
30083
30085
|
};
|
|
30084
30086
|
}
|
|
30085
30087
|
var pd = "data-scroll-lock";
|
|
30086
|
-
function
|
|
30088
|
+
function c4(e) {
|
|
30087
30089
|
const t = e.getBoundingClientRect().left;
|
|
30088
30090
|
return Math.round(t) + e.scrollLeft ? "paddingLeft" : "paddingRight";
|
|
30089
30091
|
}
|
|
30090
|
-
function
|
|
30092
|
+
function f4(e) {
|
|
30091
30093
|
var b;
|
|
30092
30094
|
const t = e != null ? e : document, n = (b = t.defaultView) != null ? b : window, { documentElement: r, body: u } = t;
|
|
30093
30095
|
if (u.hasAttribute(pd)) return;
|
|
30094
30096
|
const l = n.innerWidth - r.clientWidth;
|
|
30095
30097
|
u.setAttribute(pd, "");
|
|
30096
|
-
const c = () =>
|
|
30098
|
+
const c = () => aL(r, "--scrollbar-width", `${l}px`), d = c4(r), h = () => hl(u, {
|
|
30097
30099
|
overflow: "hidden",
|
|
30098
30100
|
[d]: `${l}px`
|
|
30099
30101
|
}), g = () => {
|
|
@@ -30109,12 +30111,12 @@ function c4(e) {
|
|
|
30109
30111
|
return () => {
|
|
30110
30112
|
$ == null || $(), n.scrollTo({ left: T, top: S, behavior: "instant" });
|
|
30111
30113
|
};
|
|
30112
|
-
}, y = [c(),
|
|
30114
|
+
}, y = [c(), ZP() ? g() : h()];
|
|
30113
30115
|
return () => {
|
|
30114
30116
|
y.forEach((T) => T == null ? void 0 : T()), u.removeAttribute(pd);
|
|
30115
30117
|
};
|
|
30116
30118
|
}
|
|
30117
|
-
var
|
|
30119
|
+
var d4 = Ru("dialog").parts(
|
|
30118
30120
|
"trigger",
|
|
30119
30121
|
"backdrop",
|
|
30120
30122
|
"positioner",
|
|
@@ -30122,7 +30124,7 @@ var f4 = Ru("dialog").parts(
|
|
|
30122
30124
|
"title",
|
|
30123
30125
|
"description",
|
|
30124
30126
|
"closeTrigger"
|
|
30125
|
-
), pi =
|
|
30127
|
+
), pi = d4.build(), kb = (e) => {
|
|
30126
30128
|
var t, n;
|
|
30127
30129
|
return (n = (t = e.ids) == null ? void 0 : t.positioner) != null ? n : `dialog:${e.id}:positioner`;
|
|
30128
30130
|
}, xb = (e) => {
|
|
@@ -30143,8 +30145,8 @@ var f4 = Ru("dialog").parts(
|
|
|
30143
30145
|
}, wb = (e) => {
|
|
30144
30146
|
var t, n;
|
|
30145
30147
|
return (n = (t = e.ids) == null ? void 0 : t.closeTrigger) != null ? n : `dialog:${e.id}:close`;
|
|
30146
|
-
}, Ha = (e) => e.getById(Zd(e)),
|
|
30147
|
-
function
|
|
30148
|
+
}, Ha = (e) => e.getById(Zd(e)), h4 = (e) => e.getById(kb(e)), p4 = (e) => e.getById(xb(e)), m4 = (e) => e.getById(Nb(e)), g4 = (e) => e.getById(eh(e)), E4 = (e) => e.getById(th(e)), y4 = (e) => e.getById(wb(e));
|
|
30149
|
+
function T4(e, t) {
|
|
30148
30150
|
const { state: n, send: r, context: u, prop: o, scope: l } = e, c = o("aria-label"), d = n.matches("open");
|
|
30149
30151
|
return {
|
|
30150
30152
|
open: d,
|
|
@@ -30221,9 +30223,9 @@ function y4(e, t) {
|
|
|
30221
30223
|
}
|
|
30222
30224
|
};
|
|
30223
30225
|
}
|
|
30224
|
-
var
|
|
30226
|
+
var b4 = {
|
|
30225
30227
|
props({ props: e, scope: t }) {
|
|
30226
|
-
const n = e.role === "alertdialog", r = n ? () =>
|
|
30228
|
+
const n = e.role === "alertdialog", r = n ? () => y4(t) : void 0, u = typeof e.modal == "boolean" ? e.modal : !0;
|
|
30227
30229
|
return Q({
|
|
30228
30230
|
role: "dialog",
|
|
30229
30231
|
modal: u,
|
|
@@ -30314,10 +30316,10 @@ var T4 = {
|
|
|
30314
30316
|
},
|
|
30315
30317
|
effects: {
|
|
30316
30318
|
trackDismissableElement({ scope: e, send: t, prop: n }) {
|
|
30317
|
-
return
|
|
30319
|
+
return n4(() => Ha(e), {
|
|
30318
30320
|
defer: !0,
|
|
30319
30321
|
pointerBlocking: n("modal"),
|
|
30320
|
-
exclude: [
|
|
30322
|
+
exclude: [m4(e)],
|
|
30321
30323
|
onInteractOutside(u) {
|
|
30322
30324
|
var o;
|
|
30323
30325
|
(o = n("onInteractOutside")) == null || o(u), n("closeOnInteractOutside") || u.preventDefault();
|
|
@@ -30336,10 +30338,10 @@ var T4 = {
|
|
|
30336
30338
|
},
|
|
30337
30339
|
preventScroll({ scope: e, prop: t }) {
|
|
30338
30340
|
if (t("preventScroll"))
|
|
30339
|
-
return
|
|
30341
|
+
return f4(e.getDoc());
|
|
30340
30342
|
},
|
|
30341
30343
|
trapFocus({ scope: e, prop: t }) {
|
|
30342
|
-
return t("trapFocus") ?
|
|
30344
|
+
return t("trapFocus") ? l4(() => Ha(e), {
|
|
30343
30345
|
preventScroll: !0,
|
|
30344
30346
|
returnFocusOnDeactivate: !!t("restoreFocus"),
|
|
30345
30347
|
initialFocus: t("initialFocusEl"),
|
|
@@ -30350,15 +30352,15 @@ var T4 = {
|
|
|
30350
30352
|
}) : void 0;
|
|
30351
30353
|
},
|
|
30352
30354
|
hideContentBelow({ scope: e, prop: t }) {
|
|
30353
|
-
return t("modal") ?
|
|
30355
|
+
return t("modal") ? VL(() => [Ha(e)], { defer: !0 }) : void 0;
|
|
30354
30356
|
}
|
|
30355
30357
|
},
|
|
30356
30358
|
actions: {
|
|
30357
30359
|
checkRenderedElements({ context: e, scope: t }) {
|
|
30358
30360
|
Tr(() => {
|
|
30359
30361
|
e.set("rendered", {
|
|
30360
|
-
title: !!
|
|
30361
|
-
description: !!
|
|
30362
|
+
title: !!g4(t),
|
|
30363
|
+
description: !!E4(t)
|
|
30362
30364
|
});
|
|
30363
30365
|
});
|
|
30364
30366
|
},
|
|
@@ -30367,7 +30369,7 @@ var T4 = {
|
|
|
30367
30369
|
const t = Ha(e);
|
|
30368
30370
|
if (!t) return;
|
|
30369
30371
|
const n = ab(t);
|
|
30370
|
-
[
|
|
30372
|
+
[h4(e), p4(e)].forEach((u) => {
|
|
30371
30373
|
u == null || u.style.setProperty("--z-index", n.zIndex), u == null || u.style.setProperty("--layer-index", n.getPropertyValue("--layer-index"));
|
|
30372
30374
|
});
|
|
30373
30375
|
});
|
|
@@ -30415,7 +30417,7 @@ mb()([
|
|
|
30415
30417
|
"role",
|
|
30416
30418
|
"trapFocus"
|
|
30417
30419
|
]);
|
|
30418
|
-
const [
|
|
30420
|
+
const [eD, vb] = co({
|
|
30419
30421
|
name: "EnvironmentContext",
|
|
30420
30422
|
hookName: "useEnvironmentContext",
|
|
30421
30423
|
providerName: "<EnvironmentProvider />",
|
|
@@ -30425,22 +30427,22 @@ const [Z4, vb] = co({
|
|
|
30425
30427
|
getDocument: () => document,
|
|
30426
30428
|
getWindow: () => window
|
|
30427
30429
|
}
|
|
30428
|
-
}), [
|
|
30430
|
+
}), [tD, _4] = co({
|
|
30429
30431
|
name: "LocaleContext",
|
|
30430
30432
|
hookName: "useLocaleContext",
|
|
30431
30433
|
providerName: "<LocaleProvider />",
|
|
30432
30434
|
strict: !1,
|
|
30433
30435
|
defaultValue: { dir: "ltr", locale: "en-US" }
|
|
30434
|
-
}),
|
|
30435
|
-
const t = X.useId(), { getRootNode: n } = vb(), { dir: r } =
|
|
30436
|
+
}), S4 = (e) => {
|
|
30437
|
+
const t = X.useId(), { getRootNode: n } = vb(), { dir: r } = _4(), u = Q({
|
|
30436
30438
|
id: t,
|
|
30437
30439
|
getRootNode: n,
|
|
30438
30440
|
dir: r
|
|
30439
|
-
}, e), o = Eb(
|
|
30440
|
-
return
|
|
30441
|
+
}, e), o = Eb(b4, u);
|
|
30442
|
+
return T4(o, SL);
|
|
30441
30443
|
}, Ob = (e) => {
|
|
30442
|
-
const [t, c] =
|
|
30443
|
-
return /* @__PURE__ */ P.jsx(
|
|
30444
|
+
const [t, c] = DL(e), d = c, { children: n } = d, r = fi(d, ["children"]), [u] = xL(t), o = S4(r), l = bb(Ni({ present: o.open }, t));
|
|
30445
|
+
return /* @__PURE__ */ P.jsx(PL, { value: o, children: /* @__PURE__ */ P.jsx(CL, { value: u, children: /* @__PURE__ */ P.jsx(LL, { value: l, children: n }) }) });
|
|
30444
30446
|
}, Xh = X.forwardRef((e, t) => {
|
|
30445
30447
|
const n = ho(), r = Ni(n.getTitleProps(), e);
|
|
30446
30448
|
return /* @__PURE__ */ P.jsx(fo.h2, Ue(Q({}, r), { ref: t }));
|
|
@@ -30449,7 +30451,7 @@ Xh.displayName = "DialogTitle";
|
|
|
30449
30451
|
const Ib = (e) => {
|
|
30450
30452
|
var d;
|
|
30451
30453
|
const { children: t, disabled: n } = e, [r, u] = X.useState((d = e.container) == null ? void 0 : d.current), o = X.useSyncExternalStore(
|
|
30452
|
-
|
|
30454
|
+
C4,
|
|
30453
30455
|
() => !1,
|
|
30454
30456
|
() => !0
|
|
30455
30457
|
), { getRootNode: l } = vb();
|
|
@@ -30459,14 +30461,14 @@ const Ib = (e) => {
|
|
|
30459
30461
|
return (h = e.container) == null ? void 0 : h.current;
|
|
30460
30462
|
});
|
|
30461
30463
|
}, [e.container]), o || n) return /* @__PURE__ */ P.jsx(P.Fragment, { children: t });
|
|
30462
|
-
const c = r != null ? r :
|
|
30464
|
+
const c = r != null ? r : A4(l);
|
|
30463
30465
|
return /* @__PURE__ */ P.jsx(P.Fragment, { children: X.Children.map(t, (h) => jl.createPortal(h, c)) });
|
|
30464
|
-
},
|
|
30466
|
+
}, A4 = (e) => {
|
|
30465
30467
|
const t = e == null ? void 0 : e(), n = t.getRootNode();
|
|
30466
30468
|
return _s(n) ? n : ir(t).body;
|
|
30467
|
-
},
|
|
30468
|
-
},
|
|
30469
|
-
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } =
|
|
30469
|
+
}, C4 = () => () => {
|
|
30470
|
+
}, k4 = () => {
|
|
30471
|
+
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } = br(), { mode: u, status: o, dialogPosition: l } = xl(), { copilot: c, messages: d, groupedMessages: h, isLoading: g, handleUserInput: y, handleSuggestion: b } = no(), T = X.useRef(null), { isOpen: S } = o || {}, k = u === "standalone";
|
|
30470
30472
|
X.useEffect(() => {
|
|
30471
30473
|
T.current && T.current.scrollIntoView({
|
|
30472
30474
|
behavior: "smooth",
|
|
@@ -30544,7 +30546,7 @@ const Ib = (e) => {
|
|
|
30544
30546
|
Wu,
|
|
30545
30547
|
{
|
|
30546
30548
|
ariaLabel: "Toggle left or right position",
|
|
30547
|
-
icon: /* @__PURE__ */ P.jsx(
|
|
30549
|
+
icon: /* @__PURE__ */ P.jsx(CP, {}),
|
|
30548
30550
|
onClick: L
|
|
30549
30551
|
}
|
|
30550
30552
|
),
|
|
@@ -30552,7 +30554,7 @@ const Ib = (e) => {
|
|
|
30552
30554
|
Wu,
|
|
30553
30555
|
{
|
|
30554
30556
|
ariaLabel: "Toggle Modal",
|
|
30555
|
-
icon: /* @__PURE__ */ P.jsx(
|
|
30557
|
+
icon: /* @__PURE__ */ P.jsx(xP, {}),
|
|
30556
30558
|
onClick: $
|
|
30557
30559
|
}
|
|
30558
30560
|
),
|
|
@@ -30607,8 +30609,8 @@ const Ib = (e) => {
|
|
|
30607
30609
|
) })
|
|
30608
30610
|
}
|
|
30609
30611
|
) : /* @__PURE__ */ P.jsx("div", { children: "Loading Copilot..." });
|
|
30610
|
-
},
|
|
30611
|
-
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } =
|
|
30612
|
+
}, x4 = () => {
|
|
30613
|
+
const { logoUrl: e, headerText: t, globalClassName: n, themeVariables: r } = br(), { mode: u, status: o, isModalFullscreen: l } = xl(), { copilot: c, messages: d, groupedMessages: h, isLoading: g, handleUserInput: y, handleSuggestion: b } = no(), T = X.useRef(null), { isOpen: S } = o || {}, k = u === "standalone";
|
|
30612
30614
|
X.useEffect(() => {
|
|
30613
30615
|
T.current && T.current.scrollIntoView({
|
|
30614
30616
|
behavior: "smooth",
|
|
@@ -30698,7 +30700,7 @@ const Ib = (e) => {
|
|
|
30698
30700
|
n,
|
|
30699
30701
|
`${te}-modal-toggle-dialog-button`
|
|
30700
30702
|
),
|
|
30701
|
-
icon: /* @__PURE__ */ P.jsx(
|
|
30703
|
+
icon: /* @__PURE__ */ P.jsx(kP, {}),
|
|
30702
30704
|
onClick: $
|
|
30703
30705
|
}
|
|
30704
30706
|
),
|
|
@@ -30753,21 +30755,21 @@ const Ib = (e) => {
|
|
|
30753
30755
|
}
|
|
30754
30756
|
)
|
|
30755
30757
|
] }) }) }) : /* @__PURE__ */ P.jsx("div", { children: "Loading Copilot..." });
|
|
30756
|
-
},
|
|
30758
|
+
}, N4 = () => {
|
|
30757
30759
|
const e = xl(), {
|
|
30758
30760
|
status: { type: t }
|
|
30759
30761
|
} = e || { status: {} };
|
|
30760
|
-
return t === "dialog" ? /* @__PURE__ */ P.jsx(
|
|
30761
|
-
}, Rb = (e) => /* @__PURE__ */ P.jsx(ck, Ue(Q({}, e), { children: /* @__PURE__ */ P.jsx(
|
|
30762
|
+
return t === "dialog" ? /* @__PURE__ */ P.jsx(k4, {}) : t === "modal" ? /* @__PURE__ */ P.jsx(x4, {}) : /* @__PURE__ */ P.jsx(AP, {});
|
|
30763
|
+
}, Rb = (e) => /* @__PURE__ */ P.jsx(ck, Ue(Q({}, e), { children: /* @__PURE__ */ P.jsx(N4, {}) }));
|
|
30762
30764
|
var za = {}, G1;
|
|
30763
|
-
function
|
|
30765
|
+
function w4() {
|
|
30764
30766
|
if (G1) return za;
|
|
30765
30767
|
G1 = 1;
|
|
30766
30768
|
var e = pb();
|
|
30767
30769
|
return za.createRoot = e.createRoot, za.hydrateRoot = e.hydrateRoot, za;
|
|
30768
30770
|
}
|
|
30769
|
-
var Pb =
|
|
30770
|
-
const
|
|
30771
|
+
var Pb = w4();
|
|
30772
|
+
const v4 = (r) => {
|
|
30771
30773
|
var u = r, {
|
|
30772
30774
|
elementId: e,
|
|
30773
30775
|
timeout: t = 5e3
|
|
@@ -30793,7 +30795,7 @@ const w4 = (r) => {
|
|
|
30793
30795
|
`Element with id: ${e} not found within ${t} milliseconds, stopping observation`
|
|
30794
30796
|
);
|
|
30795
30797
|
}, t), c;
|
|
30796
|
-
},
|
|
30798
|
+
}, nD = (r) => {
|
|
30797
30799
|
var u = r, {
|
|
30798
30800
|
timeout: e,
|
|
30799
30801
|
elementId: t
|
|
@@ -30807,11 +30809,11 @@ const w4 = (r) => {
|
|
|
30807
30809
|
}
|
|
30808
30810
|
const o = document.getElementById(t);
|
|
30809
30811
|
if (!o) {
|
|
30810
|
-
fs(!0, "warn", "Container element not found for id:", t), fs(!0, "warn", "Beginning observation for element"),
|
|
30812
|
+
fs(!0, "warn", "Container element not found for id:", t), fs(!0, "warn", "Beginning observation for element"), v4(Q({ elementId: t, timeout: e }, n));
|
|
30811
30813
|
return;
|
|
30812
30814
|
}
|
|
30813
30815
|
Pb.createRoot(o).render(/* @__PURE__ */ P.jsx(Rb, Q({}, n)));
|
|
30814
|
-
},
|
|
30816
|
+
}, rD = {
|
|
30815
30817
|
search: {
|
|
30816
30818
|
setSearchContext: qC,
|
|
30817
30819
|
updateSearchQuery: WC,
|
|
@@ -30829,12 +30831,12 @@ const w4 = (r) => {
|
|
|
30829
30831
|
}
|
|
30830
30832
|
};
|
|
30831
30833
|
export {
|
|
30832
|
-
|
|
30833
|
-
|
|
30834
|
-
|
|
30834
|
+
k4 as CopilotDialog,
|
|
30835
|
+
AP as CopilotEmbed,
|
|
30836
|
+
x4 as CopilotModal,
|
|
30835
30837
|
Rb as CopilotWidget,
|
|
30836
30838
|
ck as WidgetProvider,
|
|
30837
|
-
|
|
30838
|
-
|
|
30839
|
+
rD as eventHandlers,
|
|
30840
|
+
nD as injectCopilotWidget,
|
|
30839
30841
|
no as useCopilot
|
|
30840
30842
|
};
|