@cimulate/copilot-widget 0.16.0 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -22,7 +22,7 @@ var zn = (e, t) => {
|
|
|
22
22
|
return n;
|
|
23
23
|
};
|
|
24
24
|
var Re = (e, t, n) => Mf(e, typeof t != "symbol" ? t + "" : t, n);
|
|
25
|
-
var
|
|
25
|
+
var Ot = (e, t, n) => new Promise((r, u) => {
|
|
26
26
|
var o = (d) => {
|
|
27
27
|
try {
|
|
28
28
|
c(n.next(d));
|
|
@@ -71,15 +71,6 @@ function ch(e) {
|
|
|
71
71
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
72
72
|
}
|
|
73
73
|
var Bf = { exports: {} }, ku = {}, Uf = { exports: {} }, $e = {};
|
|
74
|
-
/**
|
|
75
|
-
* @license React
|
|
76
|
-
* react.production.min.js
|
|
77
|
-
*
|
|
78
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
79
|
-
*
|
|
80
|
-
* This source code is licensed under the MIT license found in the
|
|
81
|
-
* LICENSE file in the root directory of this source tree.
|
|
82
|
-
*/
|
|
83
74
|
var Km;
|
|
84
75
|
function rS() {
|
|
85
76
|
if (Km) return $e;
|
|
@@ -140,7 +131,7 @@ function rS() {
|
|
|
140
131
|
function pe(O, Y) {
|
|
141
132
|
return typeof O == "object" && O !== null && O.key != null ? ge("" + O.key) : Y.toString(36);
|
|
142
133
|
}
|
|
143
|
-
function
|
|
134
|
+
function ae(O, Y, C, re, be) {
|
|
144
135
|
var ye = typeof O;
|
|
145
136
|
(ye === "undefined" || ye === "boolean") && (O = null);
|
|
146
137
|
var we = !1;
|
|
@@ -157,22 +148,22 @@ function rS() {
|
|
|
157
148
|
we = !0;
|
|
158
149
|
}
|
|
159
150
|
}
|
|
160
|
-
if (we) return we = O, be = be(we), O = re === "" ? "." + pe(we, 0) : re, J(be) ? (C = "", O != null && (C = O.replace(me, "$&/") + "/"),
|
|
151
|
+
if (we) return we = O, be = be(we), O = re === "" ? "." + pe(we, 0) : re, J(be) ? (C = "", O != null && (C = O.replace(me, "$&/") + "/"), ae(be, Y, C, "", function(qe) {
|
|
161
152
|
return qe;
|
|
162
153
|
})) : be != null && (U(be) && (be = Ne(be, C + (!be.key || we && we.key === be.key ? "" : ("" + be.key).replace(me, "$&/") + "/") + O)), Y.push(be)), 1;
|
|
163
154
|
if (we = 0, re = re === "" ? "." : re + ":", J(O)) for (var Le = 0; Le < O.length; Le++) {
|
|
164
155
|
ye = O[Le];
|
|
165
156
|
var Be = re + pe(ye, Le);
|
|
166
|
-
we +=
|
|
157
|
+
we += ae(ye, Y, C, Be, be);
|
|
167
158
|
}
|
|
168
|
-
else if (Be = b(O), typeof Be == "function") for (O = Be.call(O), Le = 0; !(ye = O.next()).done; ) ye = ye.value, Be = re + pe(ye, Le++), we +=
|
|
159
|
+
else if (Be = b(O), typeof Be == "function") for (O = Be.call(O), Le = 0; !(ye = O.next()).done; ) ye = ye.value, Be = re + pe(ye, Le++), we += ae(ye, Y, C, Be, be);
|
|
169
160
|
else if (ye === "object") throw Y = String(O), Error("Objects are not valid as a React child (found: " + (Y === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : Y) + "). If you meant to render a collection of children, use an array instead.");
|
|
170
161
|
return we;
|
|
171
162
|
}
|
|
172
163
|
function _e(O, Y, C) {
|
|
173
164
|
if (O == null) return O;
|
|
174
165
|
var re = [], be = 0;
|
|
175
|
-
return
|
|
166
|
+
return ae(O, re, "", "", function(ye) {
|
|
176
167
|
return Y.call(C, ye, be++);
|
|
177
168
|
}), re;
|
|
178
169
|
}
|
|
@@ -188,7 +179,7 @@ function rS() {
|
|
|
188
179
|
if (O._status === 1) return O._result.default;
|
|
189
180
|
throw O._result;
|
|
190
181
|
}
|
|
191
|
-
var
|
|
182
|
+
var le = { current: null }, V = { transition: null }, ne = { ReactCurrentDispatcher: le, ReactCurrentBatchConfig: V, ReactCurrentOwner: M };
|
|
192
183
|
function A() {
|
|
193
184
|
throw Error("act(...) is not supported in production builds of React.");
|
|
194
185
|
}
|
|
@@ -245,49 +236,40 @@ function rS() {
|
|
|
245
236
|
V.transition = Y;
|
|
246
237
|
}
|
|
247
238
|
}, $e.unstable_act = A, $e.useCallback = function(O, Y) {
|
|
248
|
-
return
|
|
239
|
+
return le.current.useCallback(O, Y);
|
|
249
240
|
}, $e.useContext = function(O) {
|
|
250
|
-
return
|
|
241
|
+
return le.current.useContext(O);
|
|
251
242
|
}, $e.useDebugValue = function() {
|
|
252
243
|
}, $e.useDeferredValue = function(O) {
|
|
253
|
-
return
|
|
244
|
+
return le.current.useDeferredValue(O);
|
|
254
245
|
}, $e.useEffect = function(O, Y) {
|
|
255
|
-
return
|
|
246
|
+
return le.current.useEffect(O, Y);
|
|
256
247
|
}, $e.useId = function() {
|
|
257
|
-
return
|
|
248
|
+
return le.current.useId();
|
|
258
249
|
}, $e.useImperativeHandle = function(O, Y, C) {
|
|
259
|
-
return
|
|
250
|
+
return le.current.useImperativeHandle(O, Y, C);
|
|
260
251
|
}, $e.useInsertionEffect = function(O, Y) {
|
|
261
|
-
return
|
|
252
|
+
return le.current.useInsertionEffect(O, Y);
|
|
262
253
|
}, $e.useLayoutEffect = function(O, Y) {
|
|
263
|
-
return
|
|
254
|
+
return le.current.useLayoutEffect(O, Y);
|
|
264
255
|
}, $e.useMemo = function(O, Y) {
|
|
265
|
-
return
|
|
256
|
+
return le.current.useMemo(O, Y);
|
|
266
257
|
}, $e.useReducer = function(O, Y, C) {
|
|
267
|
-
return
|
|
258
|
+
return le.current.useReducer(O, Y, C);
|
|
268
259
|
}, $e.useRef = function(O) {
|
|
269
|
-
return
|
|
260
|
+
return le.current.useRef(O);
|
|
270
261
|
}, $e.useState = function(O) {
|
|
271
|
-
return
|
|
262
|
+
return le.current.useState(O);
|
|
272
263
|
}, $e.useSyncExternalStore = function(O, Y, C) {
|
|
273
|
-
return
|
|
264
|
+
return le.current.useSyncExternalStore(O, Y, C);
|
|
274
265
|
}, $e.useTransition = function() {
|
|
275
|
-
return
|
|
266
|
+
return le.current.useTransition();
|
|
276
267
|
}, $e.version = "18.3.1", $e;
|
|
277
268
|
}
|
|
278
269
|
var Qm;
|
|
279
270
|
function fh() {
|
|
280
271
|
return Qm || (Qm = 1, Uf.exports = rS()), Uf.exports;
|
|
281
272
|
}
|
|
282
|
-
/**
|
|
283
|
-
* @license React
|
|
284
|
-
* react-jsx-runtime.production.min.js
|
|
285
|
-
*
|
|
286
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
287
|
-
*
|
|
288
|
-
* This source code is licensed under the MIT license found in the
|
|
289
|
-
* LICENSE file in the root directory of this source tree.
|
|
290
|
-
*/
|
|
291
273
|
var Xm;
|
|
292
274
|
function iS() {
|
|
293
275
|
if (Xm) return ku;
|
|
@@ -2917,17 +2899,17 @@ class EC {
|
|
|
2917
2899
|
this.socket.connected || this.socket.active || this.reconnectAttempts >= this.maxReconnectAttempts || (this.reconnectTimeout && (clearTimeout(this.reconnectTimeout), this.reconnectTimeout = void 0, this.reconnectAttempts = 0), this.socket.connect());
|
|
2918
2900
|
}
|
|
2919
2901
|
browse(t, n) {
|
|
2920
|
-
return
|
|
2902
|
+
return Ot(this, null, function* () {
|
|
2921
2903
|
return this.asyncResponse("copilot_browse", t, n);
|
|
2922
2904
|
});
|
|
2923
2905
|
}
|
|
2924
2906
|
search(t, n) {
|
|
2925
|
-
return
|
|
2907
|
+
return Ot(this, null, function* () {
|
|
2926
2908
|
return this.asyncResponse("copilot_search", t, n);
|
|
2927
2909
|
});
|
|
2928
2910
|
}
|
|
2929
2911
|
facetedNavigation(t, n) {
|
|
2930
|
-
return
|
|
2912
|
+
return Ot(this, null, function* () {
|
|
2931
2913
|
return this.asyncResponse("faceted_navigation", t, n);
|
|
2932
2914
|
});
|
|
2933
2915
|
}
|
|
@@ -2938,12 +2920,12 @@ class EC {
|
|
|
2938
2920
|
return this.asyncResponse("conversation_reset", t, n);
|
|
2939
2921
|
}
|
|
2940
2922
|
productView(t, n) {
|
|
2941
|
-
return
|
|
2923
|
+
return Ot(this, null, function* () {
|
|
2942
2924
|
return this.asyncResponse("product_view", t, n);
|
|
2943
2925
|
});
|
|
2944
2926
|
}
|
|
2945
2927
|
requestSessionInformation(t) {
|
|
2946
|
-
return
|
|
2928
|
+
return Ot(this, null, function* () {
|
|
2947
2929
|
return new Promise((n) => {
|
|
2948
2930
|
this.socket.emit("session_info", (r) => {
|
|
2949
2931
|
t && t(r), n(r);
|
|
@@ -2951,6 +2933,15 @@ class EC {
|
|
|
2951
2933
|
});
|
|
2952
2934
|
});
|
|
2953
2935
|
}
|
|
2936
|
+
getConversationEvents(t, n) {
|
|
2937
|
+
return Ot(this, null, function* () {
|
|
2938
|
+
return new Promise((r) => {
|
|
2939
|
+
this.socket.emit("conversation_events", t, (u) => {
|
|
2940
|
+
n && n(u), r(u);
|
|
2941
|
+
});
|
|
2942
|
+
});
|
|
2943
|
+
});
|
|
2944
|
+
}
|
|
2954
2945
|
on(t, n) {
|
|
2955
2946
|
return this.socket.on(t, n), n;
|
|
2956
2947
|
}
|
|
@@ -2967,7 +2958,7 @@ class EC {
|
|
|
2967
2958
|
this.socket.on("disconnect", t);
|
|
2968
2959
|
}
|
|
2969
2960
|
asyncResponse(t, n, r) {
|
|
2970
|
-
return
|
|
2961
|
+
return Ot(this, null, function* () {
|
|
2971
2962
|
if (r) return void this.socket.emit(t, n, r);
|
|
2972
2963
|
let u = "";
|
|
2973
2964
|
const o = function(l) {
|
|
@@ -2992,7 +2983,7 @@ class EC {
|
|
|
2992
2983
|
const d = (h, g) => {
|
|
2993
2984
|
["done", "error"].includes(g.name) && c(), g.eventSourceId == u && l(g);
|
|
2994
2985
|
};
|
|
2995
|
-
return this.socket.onAny(d), () =>
|
|
2986
|
+
return this.socket.onAny(d), () => Ot(this, null, function* () {
|
|
2996
2987
|
this.socket.offAny(d);
|
|
2997
2988
|
});
|
|
2998
2989
|
});
|
|
@@ -4154,7 +4145,7 @@ const zE = (e) => {
|
|
|
4154
4145
|
};
|
|
4155
4146
|
return new ReadableStream({
|
|
4156
4147
|
pull(h) {
|
|
4157
|
-
return
|
|
4148
|
+
return Ot(this, null, function* () {
|
|
4158
4149
|
try {
|
|
4159
4150
|
const { done: g, value: y } = yield u.next();
|
|
4160
4151
|
if (g) {
|
|
@@ -4197,7 +4188,7 @@ const zE = (e) => {
|
|
|
4197
4188
|
const { fetch: t, Request: n, Response: r } = e, u = t ? Ma(t) : typeof fetch == "function", o = Ma(n), l = Ma(r);
|
|
4198
4189
|
if (!u)
|
|
4199
4190
|
return !1;
|
|
4200
|
-
const c = u && Ma(yg), d = u && (typeof Tg == "function" ? /* @__PURE__ */ ((S) => (x) => S.encode(x))(new Tg()) : (S) =>
|
|
4191
|
+
const c = u && Ma(yg), d = u && (typeof Tg == "function" ? /* @__PURE__ */ ((S) => (x) => S.encode(x))(new Tg()) : (S) => Ot(null, null, function* () {
|
|
4201
4192
|
return new Uint8Array(yield new n(S).arrayBuffer());
|
|
4202
4193
|
})), h = o && c && bg(() => {
|
|
4203
4194
|
let S = !1;
|
|
@@ -4220,7 +4211,7 @@ const zE = (e) => {
|
|
|
4220
4211
|
throw new He(`Response type '${S}' is not supported`, He.ERR_NOT_SUPPORT, P);
|
|
4221
4212
|
});
|
|
4222
4213
|
});
|
|
4223
|
-
const b = (S) =>
|
|
4214
|
+
const b = (S) => Ot(null, null, function* () {
|
|
4224
4215
|
if (S == null)
|
|
4225
4216
|
return 0;
|
|
4226
4217
|
if (q.isBlob(S))
|
|
@@ -4234,11 +4225,11 @@ const zE = (e) => {
|
|
|
4234
4225
|
return S.byteLength;
|
|
4235
4226
|
if (q.isURLSearchParams(S) && (S = S + ""), q.isString(S))
|
|
4236
4227
|
return (yield d(S)).byteLength;
|
|
4237
|
-
}), T = (S, x) =>
|
|
4228
|
+
}), T = (S, x) => Ot(null, null, function* () {
|
|
4238
4229
|
const P = q.toFiniteNumber(S.getContentLength());
|
|
4239
4230
|
return P == null ? b(x) : P;
|
|
4240
4231
|
});
|
|
4241
|
-
return (S) =>
|
|
4232
|
+
return (S) => Ot(null, null, function* () {
|
|
4242
4233
|
let {
|
|
4243
4234
|
url: x,
|
|
4244
4235
|
method: P,
|
|
@@ -4255,7 +4246,7 @@ const zE = (e) => {
|
|
|
4255
4246
|
} = zE(S), ge = t || fetch;
|
|
4256
4247
|
Ee = Ee ? (Ee + "").toLowerCase() : "text";
|
|
4257
4248
|
let me = LA([H, $ && $.toAbortSignal()], J), pe = null;
|
|
4258
|
-
const
|
|
4249
|
+
const ae = me && me.unsubscribe && (() => {
|
|
4259
4250
|
me.unsubscribe();
|
|
4260
4251
|
});
|
|
4261
4252
|
let _e;
|
|
@@ -4275,7 +4266,7 @@ const zE = (e) => {
|
|
|
4275
4266
|
}
|
|
4276
4267
|
}
|
|
4277
4268
|
q.isString(Ne) || (Ne = Ne ? "include" : "omit");
|
|
4278
|
-
const ve = o && "credentials" in n.prototype,
|
|
4269
|
+
const ve = o && "credentials" in n.prototype, le = Fe(G({}, U), {
|
|
4279
4270
|
signal: me,
|
|
4280
4271
|
method: P.toUpperCase(),
|
|
4281
4272
|
headers: xe.normalize().toJSON(),
|
|
@@ -4283,10 +4274,10 @@ const zE = (e) => {
|
|
|
4283
4274
|
duplex: "half",
|
|
4284
4275
|
credentials: ve ? Ne : void 0
|
|
4285
4276
|
});
|
|
4286
|
-
pe = o && new n(x,
|
|
4287
|
-
let V = yield o ? ge(pe, U) : ge(x,
|
|
4277
|
+
pe = o && new n(x, le);
|
|
4278
|
+
let V = yield o ? ge(pe, U) : ge(x, le);
|
|
4288
4279
|
const ne = g && (Ee === "stream" || Ee === "response");
|
|
4289
|
-
if (g && (he || ne &&
|
|
4280
|
+
if (g && (he || ne && ae)) {
|
|
4290
4281
|
const O = {};
|
|
4291
4282
|
["status", "statusText", "headers"].forEach((be) => {
|
|
4292
4283
|
O[be] = V[be];
|
|
@@ -4297,14 +4288,14 @@ const zE = (e) => {
|
|
|
4297
4288
|
) || [];
|
|
4298
4289
|
V = new r(
|
|
4299
4290
|
gg(V.body, Eg, C, () => {
|
|
4300
|
-
re && re(),
|
|
4291
|
+
re && re(), ae && ae();
|
|
4301
4292
|
}),
|
|
4302
4293
|
O
|
|
4303
4294
|
);
|
|
4304
4295
|
}
|
|
4305
4296
|
Ee = Ee || "text";
|
|
4306
4297
|
let A = yield y[q.findKey(y, Ee) || "text"](V, S);
|
|
4307
|
-
return !ne &&
|
|
4298
|
+
return !ne && ae && ae(), yield new Promise((O, Y) => {
|
|
4308
4299
|
UE(O, Y, {
|
|
4309
4300
|
data: A,
|
|
4310
4301
|
headers: ln.from(V.headers),
|
|
@@ -4315,7 +4306,7 @@ const zE = (e) => {
|
|
|
4315
4306
|
});
|
|
4316
4307
|
});
|
|
4317
4308
|
} catch (ve) {
|
|
4318
|
-
throw
|
|
4309
|
+
throw ae && ae(), ve && ve.name === "TypeError" && /Load failed|fetch/i.test(ve.message) ? Object.assign(
|
|
4319
4310
|
new He("Network Error", He.ERR_NETWORK, S, pe),
|
|
4320
4311
|
{
|
|
4321
4312
|
cause: ve.cause || ve
|
|
@@ -4470,7 +4461,7 @@ let Ci = class {
|
|
|
4470
4461
|
* @returns {Promise} The Promise to be fulfilled
|
|
4471
4462
|
*/
|
|
4472
4463
|
request(t, n) {
|
|
4473
|
-
return
|
|
4464
|
+
return Ot(this, null, function* () {
|
|
4474
4465
|
try {
|
|
4475
4466
|
return yield this._request(t, n);
|
|
4476
4467
|
} catch (r) {
|
|
@@ -4779,7 +4770,7 @@ class WE {
|
|
|
4779
4770
|
Re(this, "CIMULATE_SEARCH_API_PATH", "api/v1");
|
|
4780
4771
|
Re(this, "baseApiUrl");
|
|
4781
4772
|
Re(this, "headers", {});
|
|
4782
|
-
Re(this, "fetchConfig", () =>
|
|
4773
|
+
Re(this, "fetchConfig", () => Ot(this, null, function* () {
|
|
4783
4774
|
try {
|
|
4784
4775
|
const t = yield Tt.get(
|
|
4785
4776
|
`${this.apiUrl}/configs/copilot`,
|
|
@@ -4863,7 +4854,7 @@ function vl(e) {
|
|
|
4863
4854
|
function Il(e) {
|
|
4864
4855
|
return e instanceof Set;
|
|
4865
4856
|
}
|
|
4866
|
-
function
|
|
4857
|
+
function Rt(e) {
|
|
4867
4858
|
return e.copy_ || e.base_;
|
|
4868
4859
|
}
|
|
4869
4860
|
function Md(e, t) {
|
|
@@ -5035,24 +5026,24 @@ var Ch = {
|
|
|
5035
5026
|
get(e, t) {
|
|
5036
5027
|
if (t === Je)
|
|
5037
5028
|
return e;
|
|
5038
|
-
const n =
|
|
5029
|
+
const n = Rt(e);
|
|
5039
5030
|
if (!Dd(n, t))
|
|
5040
5031
|
return tk(e, n, t);
|
|
5041
5032
|
const r = n[t];
|
|
5042
5033
|
return e.finalized_ || !Ar(r) ? r : r === Yf(e.base_, t) ? (Wf(e), e.copy_[t] = Ju(r, e)) : r;
|
|
5043
5034
|
},
|
|
5044
5035
|
has(e, t) {
|
|
5045
|
-
return t in
|
|
5036
|
+
return t in Rt(e);
|
|
5046
5037
|
},
|
|
5047
5038
|
ownKeys(e) {
|
|
5048
|
-
return Reflect.ownKeys(
|
|
5039
|
+
return Reflect.ownKeys(Rt(e));
|
|
5049
5040
|
},
|
|
5050
5041
|
set(e, t, n) {
|
|
5051
|
-
const r = XE(
|
|
5042
|
+
const r = XE(Rt(e), t);
|
|
5052
5043
|
if (r != null && r.set)
|
|
5053
5044
|
return r.set.call(e.draft_, n), !0;
|
|
5054
5045
|
if (!e.modified_) {
|
|
5055
|
-
const u = Yf(
|
|
5046
|
+
const u = Yf(Rt(e), t), o = u == null ? void 0 : u[Je];
|
|
5056
5047
|
if (o && o.base_ === n)
|
|
5057
5048
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
5058
5049
|
if (KA(n, u) && (n !== void 0 || Dd(e.base_, t)))
|
|
@@ -5069,7 +5060,7 @@ var Ch = {
|
|
|
5069
5060
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
5070
5061
|
// the same guarantee in ES5 mode.
|
|
5071
5062
|
getOwnPropertyDescriptor(e, t) {
|
|
5072
|
-
const n =
|
|
5063
|
+
const n = Rt(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
5073
5064
|
return r && {
|
|
5074
5065
|
writable: !0,
|
|
5075
5066
|
configurable: e.type_ !== 1 || t !== "length",
|
|
@@ -5100,7 +5091,7 @@ Xu.set = function(e, t, n) {
|
|
|
5100
5091
|
};
|
|
5101
5092
|
function Yf(e, t) {
|
|
5102
5093
|
const n = e[Je];
|
|
5103
|
-
return (n ?
|
|
5094
|
+
return (n ? Rt(n) : e)[t];
|
|
5104
5095
|
}
|
|
5105
5096
|
function tk(e, t, n) {
|
|
5106
5097
|
var u;
|
|
@@ -5254,14 +5245,14 @@ function ik() {
|
|
|
5254
5245
|
};
|
|
5255
5246
|
}
|
|
5256
5247
|
get size() {
|
|
5257
|
-
return
|
|
5248
|
+
return Rt(this[Je]).size;
|
|
5258
5249
|
}
|
|
5259
5250
|
has(d) {
|
|
5260
|
-
return
|
|
5251
|
+
return Rt(this[Je]).has(d);
|
|
5261
5252
|
}
|
|
5262
5253
|
set(d, h) {
|
|
5263
5254
|
const g = this[Je];
|
|
5264
|
-
return l(g), (!
|
|
5255
|
+
return l(g), (!Rt(g).has(d) || Rt(g).get(d) !== h) && (n(g), _r(g), g.assigned_.set(d, !0), g.copy_.set(d, h), g.assigned_.set(d, !0)), this;
|
|
5265
5256
|
}
|
|
5266
5257
|
delete(d) {
|
|
5267
5258
|
if (!this.has(d))
|
|
@@ -5271,27 +5262,27 @@ function ik() {
|
|
|
5271
5262
|
}
|
|
5272
5263
|
clear() {
|
|
5273
5264
|
const d = this[Je];
|
|
5274
|
-
l(d),
|
|
5265
|
+
l(d), Rt(d).size && (n(d), _r(d), d.assigned_ = /* @__PURE__ */ new Map(), Ku(d.base_, (h) => {
|
|
5275
5266
|
d.assigned_.set(h, !1);
|
|
5276
5267
|
}), d.copy_.clear());
|
|
5277
5268
|
}
|
|
5278
5269
|
forEach(d, h) {
|
|
5279
5270
|
const g = this[Je];
|
|
5280
|
-
|
|
5271
|
+
Rt(g).forEach((y, b, T) => {
|
|
5281
5272
|
d.call(h, this.get(b), b, this);
|
|
5282
5273
|
});
|
|
5283
5274
|
}
|
|
5284
5275
|
get(d) {
|
|
5285
5276
|
const h = this[Je];
|
|
5286
5277
|
l(h);
|
|
5287
|
-
const g =
|
|
5278
|
+
const g = Rt(h).get(d);
|
|
5288
5279
|
if (h.finalized_ || !Ar(g) || g !== h.base_.get(d))
|
|
5289
5280
|
return g;
|
|
5290
5281
|
const y = Ju(g, h);
|
|
5291
5282
|
return n(h), h.copy_.set(d, y), y;
|
|
5292
5283
|
}
|
|
5293
5284
|
keys() {
|
|
5294
|
-
return
|
|
5285
|
+
return Rt(this[Je]).keys();
|
|
5295
5286
|
}
|
|
5296
5287
|
values() {
|
|
5297
5288
|
const d = this.keys();
|
|
@@ -5349,7 +5340,7 @@ function ik() {
|
|
|
5349
5340
|
};
|
|
5350
5341
|
}
|
|
5351
5342
|
get size() {
|
|
5352
|
-
return
|
|
5343
|
+
return Rt(this[Je]).size;
|
|
5353
5344
|
}
|
|
5354
5345
|
has(d) {
|
|
5355
5346
|
const h = this[Je];
|
|
@@ -5370,7 +5361,7 @@ function ik() {
|
|
|
5370
5361
|
}
|
|
5371
5362
|
clear() {
|
|
5372
5363
|
const d = this[Je];
|
|
5373
|
-
l(d),
|
|
5364
|
+
l(d), Rt(d).size && (o(d), _r(d), d.copy_.clear());
|
|
5374
5365
|
}
|
|
5375
5366
|
values() {
|
|
5376
5367
|
const d = this[Je];
|
|
@@ -5406,7 +5397,7 @@ function ik() {
|
|
|
5406
5397
|
}));
|
|
5407
5398
|
}
|
|
5408
5399
|
function l(c) {
|
|
5409
|
-
c.revoked_ && Pn(3, JSON.stringify(
|
|
5400
|
+
c.revoked_ && Pn(3, JSON.stringify(Rt(c)));
|
|
5410
5401
|
}
|
|
5411
5402
|
XA("MapSet", { proxyMap_: t, proxySet_: u });
|
|
5412
5403
|
}
|
|
@@ -5491,7 +5482,7 @@ class ck {
|
|
|
5491
5482
|
constructor(t, n, r = !1) {
|
|
5492
5483
|
Re(this, "apiService");
|
|
5493
5484
|
Re(this, "config", null);
|
|
5494
|
-
Re(this, "getConfig", () =>
|
|
5485
|
+
Re(this, "getConfig", () => Ot(this, null, function* () {
|
|
5495
5486
|
if (this.config)
|
|
5496
5487
|
return this.config;
|
|
5497
5488
|
try {
|
|
@@ -6245,20 +6236,13 @@ const Et = new Gk(), fs = {
|
|
|
6245
6236
|
"transport error",
|
|
6246
6237
|
"server shutting down"
|
|
6247
6238
|
];
|
|
6248
|
-
c == null || c.log("Connection disconnected with reason: ", re)
|
|
6249
|
-
|
|
6250
|
-
if (!be.includes(re)) {
|
|
6251
|
-
T(!1), x({
|
|
6252
|
-
name: "reconnect",
|
|
6253
|
-
message: `Connection was lost due to reason: ${re}. Attempting to reconnect.`,
|
|
6254
|
-
createdAt: ye,
|
|
6255
|
-
id: `reconnect-${ye}`,
|
|
6256
|
-
sessionId: `session-reconnect-${ye}`
|
|
6257
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6258
|
-
});
|
|
6239
|
+
if (c == null || c.log("Connection disconnected with reason: ", re), !be.includes(re)) {
|
|
6240
|
+
T(!1);
|
|
6259
6241
|
return;
|
|
6260
6242
|
}
|
|
6261
|
-
c == null || c.log("De-registering event listeners")
|
|
6243
|
+
c == null || c.log("De-registering event listeners");
|
|
6244
|
+
const ye = (/* @__PURE__ */ new Date()).toISOString();
|
|
6245
|
+
x({
|
|
6262
6246
|
name: "error",
|
|
6263
6247
|
message: "Connection was lost. Please try again.",
|
|
6264
6248
|
createdAt: ye,
|
|
@@ -6288,7 +6272,7 @@ const Et = new Gk(), fs = {
|
|
|
6288
6272
|
be.disconnect(), be.off(), S();
|
|
6289
6273
|
};
|
|
6290
6274
|
});
|
|
6291
|
-
const
|
|
6275
|
+
const ae = K.useCallback(
|
|
6292
6276
|
({
|
|
6293
6277
|
query: C,
|
|
6294
6278
|
facetFilters: re,
|
|
@@ -6355,7 +6339,7 @@ const Et = new Gk(), fs = {
|
|
|
6355
6339
|
});
|
|
6356
6340
|
},
|
|
6357
6341
|
[c, H, U]
|
|
6358
|
-
),
|
|
6342
|
+
), le = K.useCallback(
|
|
6359
6343
|
(C) => {
|
|
6360
6344
|
if (!H) return;
|
|
6361
6345
|
const re = { eventId: C, reason: "User cancelled the request" };
|
|
@@ -6366,13 +6350,13 @@ const Et = new Gk(), fs = {
|
|
|
6366
6350
|
[x, L, H]
|
|
6367
6351
|
), V = K.useCallback(
|
|
6368
6352
|
(C) => {
|
|
6369
|
-
!C || !d ||
|
|
6353
|
+
!C || !d || ae(Fe(G({
|
|
6370
6354
|
query: d
|
|
6371
6355
|
}, h), {
|
|
6372
6356
|
userPrompt: C
|
|
6373
6357
|
}));
|
|
6374
6358
|
},
|
|
6375
|
-
[d, h,
|
|
6359
|
+
[d, h, ae]
|
|
6376
6360
|
), ne = K.useCallback(
|
|
6377
6361
|
(C, re) => {
|
|
6378
6362
|
var Le, qe;
|
|
@@ -6382,7 +6366,7 @@ const Et = new Gk(), fs = {
|
|
|
6382
6366
|
if (we) {
|
|
6383
6367
|
if (we.name === "copilot_search") {
|
|
6384
6368
|
const Be = ((Le = we.request) == null ? void 0 : Le.searchParams) || {}, { query: ht } = Be, bt = zn(Be, ["query"]);
|
|
6385
|
-
ht &&
|
|
6369
|
+
ht && ae(Fe(G(G({
|
|
6386
6370
|
query: ht || d
|
|
6387
6371
|
}, h), bt), {
|
|
6388
6372
|
userPrompt: ye
|
|
@@ -6408,7 +6392,7 @@ const Et = new Gk(), fs = {
|
|
|
6408
6392
|
g,
|
|
6409
6393
|
y,
|
|
6410
6394
|
$,
|
|
6411
|
-
|
|
6395
|
+
ae,
|
|
6412
6396
|
_e,
|
|
6413
6397
|
ve
|
|
6414
6398
|
]
|
|
@@ -6418,24 +6402,24 @@ const Et = new Gk(), fs = {
|
|
|
6418
6402
|
groupedMessages: J,
|
|
6419
6403
|
isLoading: xe,
|
|
6420
6404
|
isResponseLoading: Ne,
|
|
6421
|
-
handleSearch:
|
|
6405
|
+
handleSearch: ae,
|
|
6422
6406
|
handleBrowse: _e,
|
|
6423
6407
|
handlePdp: ve,
|
|
6424
6408
|
handleUserInput: V,
|
|
6425
6409
|
handleSuggestion: ne,
|
|
6426
|
-
handleCancel:
|
|
6410
|
+
handleCancel: le
|
|
6427
6411
|
}), [
|
|
6428
6412
|
H,
|
|
6429
6413
|
$,
|
|
6430
6414
|
J,
|
|
6431
6415
|
xe,
|
|
6432
6416
|
Ne,
|
|
6433
|
-
|
|
6417
|
+
ae,
|
|
6434
6418
|
_e,
|
|
6435
6419
|
ve,
|
|
6436
6420
|
V,
|
|
6437
6421
|
ne,
|
|
6438
|
-
|
|
6422
|
+
le
|
|
6439
6423
|
]);
|
|
6440
6424
|
return /* @__PURE__ */ I.jsx(Sy.Provider, { value: A, children: l });
|
|
6441
6425
|
}, Os = () => {
|
|
@@ -6648,7 +6632,7 @@ function Ay(e) {
|
|
|
6648
6632
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
6649
6633
|
return r;
|
|
6650
6634
|
}
|
|
6651
|
-
function
|
|
6635
|
+
function ce() {
|
|
6652
6636
|
for (var e, t, n = 0, r = "", u = arguments.length; n < u; n++) (e = arguments[n]) && (t = Ay(e)) && (r && (r += " "), r += t);
|
|
6653
6637
|
return r;
|
|
6654
6638
|
}
|
|
@@ -6787,7 +6771,7 @@ function gx(e) {
|
|
|
6787
6771
|
const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }) => /* @__PURE__ */ I.jsx(
|
|
6788
6772
|
"button",
|
|
6789
6773
|
{
|
|
6790
|
-
className:
|
|
6774
|
+
className: ce(`${te}-button`, e, { disabled: r }),
|
|
6791
6775
|
type: n || "button",
|
|
6792
6776
|
disabled: r,
|
|
6793
6777
|
onClick: u,
|
|
@@ -6803,7 +6787,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6803
6787
|
}) => /* @__PURE__ */ I.jsx(
|
|
6804
6788
|
"button",
|
|
6805
6789
|
{
|
|
6806
|
-
className:
|
|
6790
|
+
className: ce(e, `${te}-icon-button`),
|
|
6807
6791
|
type: n,
|
|
6808
6792
|
"aria-label": r,
|
|
6809
6793
|
onClick: o,
|
|
@@ -6819,7 +6803,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6819
6803
|
}) => t ? /* @__PURE__ */ I.jsx(
|
|
6820
6804
|
vh,
|
|
6821
6805
|
{
|
|
6822
|
-
className:
|
|
6806
|
+
className: ce(n, r, e),
|
|
6823
6807
|
type: "submit",
|
|
6824
6808
|
disabled: u,
|
|
6825
6809
|
children: t
|
|
@@ -6827,7 +6811,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6827
6811
|
) : /* @__PURE__ */ I.jsx(
|
|
6828
6812
|
eo,
|
|
6829
6813
|
{
|
|
6830
|
-
className:
|
|
6814
|
+
className: ce(n, r, e),
|
|
6831
6815
|
type: "submit",
|
|
6832
6816
|
disabled: u,
|
|
6833
6817
|
ariaLabel: "Search Copilot",
|
|
@@ -6839,46 +6823,53 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6839
6823
|
componentType: n,
|
|
6840
6824
|
onSubmit: r
|
|
6841
6825
|
}) => {
|
|
6842
|
-
const {
|
|
6843
|
-
var
|
|
6844
|
-
|
|
6845
|
-
const
|
|
6846
|
-
|
|
6847
|
-
};
|
|
6826
|
+
const { connected: u } = _y(), { globalClassName: o, searchPlaceholder: l, searchButtonLabel: c } = ur(), d = K.useRef(null), h = (b) => {
|
|
6827
|
+
var S;
|
|
6828
|
+
b.preventDefault();
|
|
6829
|
+
const T = (((S = d.current) == null ? void 0 : S.value) || "").trim();
|
|
6830
|
+
T && (r(T), d.current.value = "");
|
|
6831
|
+
}, g = !!u || !1, y = g ? "connected" : "disconnected";
|
|
6848
6832
|
return /* @__PURE__ */ I.jsxs(
|
|
6849
6833
|
"form",
|
|
6850
6834
|
{
|
|
6851
|
-
className:
|
|
6852
|
-
|
|
6835
|
+
className: ce(
|
|
6836
|
+
o,
|
|
6853
6837
|
e,
|
|
6854
6838
|
n,
|
|
6855
6839
|
`${te}-search-bar`
|
|
6856
6840
|
),
|
|
6857
6841
|
name: `${te}-search-form`,
|
|
6858
|
-
onSubmit:
|
|
6842
|
+
onSubmit: h,
|
|
6859
6843
|
children: [
|
|
6844
|
+
/* @__PURE__ */ I.jsx(
|
|
6845
|
+
"span",
|
|
6846
|
+
{
|
|
6847
|
+
role: "status",
|
|
6848
|
+
className: ce(`${te}-connection-status-icon`, y)
|
|
6849
|
+
}
|
|
6850
|
+
),
|
|
6860
6851
|
/* @__PURE__ */ I.jsx(
|
|
6861
6852
|
"input",
|
|
6862
6853
|
{
|
|
6863
|
-
className:
|
|
6864
|
-
|
|
6854
|
+
className: ce(
|
|
6855
|
+
o,
|
|
6865
6856
|
e,
|
|
6866
6857
|
n,
|
|
6867
6858
|
`${te}-search-input`
|
|
6868
6859
|
),
|
|
6869
6860
|
type: "text",
|
|
6870
|
-
ref:
|
|
6871
|
-
placeholder:
|
|
6861
|
+
ref: d,
|
|
6862
|
+
placeholder: l,
|
|
6872
6863
|
name: `${te}-user-input`
|
|
6873
6864
|
}
|
|
6874
6865
|
),
|
|
6875
6866
|
/* @__PURE__ */ I.jsx(
|
|
6876
6867
|
Ex,
|
|
6877
6868
|
{
|
|
6878
|
-
searchButtonLabel:
|
|
6879
|
-
globalClassName:
|
|
6869
|
+
searchButtonLabel: c,
|
|
6870
|
+
globalClassName: o,
|
|
6880
6871
|
componentType: n,
|
|
6881
|
-
isLoading: t
|
|
6872
|
+
isLoading: t || !g
|
|
6882
6873
|
}
|
|
6883
6874
|
)
|
|
6884
6875
|
]
|
|
@@ -6894,7 +6885,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6894
6885
|
return /* @__PURE__ */ I.jsxs(
|
|
6895
6886
|
"div",
|
|
6896
6887
|
{
|
|
6897
|
-
className:
|
|
6888
|
+
className: ce(r, `${te}-product-tile`, {
|
|
6898
6889
|
embedded: !e,
|
|
6899
6890
|
standalone: e
|
|
6900
6891
|
}),
|
|
@@ -6902,7 +6893,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6902
6893
|
/* @__PURE__ */ I.jsx(
|
|
6903
6894
|
"img",
|
|
6904
6895
|
{
|
|
6905
|
-
className:
|
|
6896
|
+
className: ce(r, `${te}-product-tile-image`, {
|
|
6906
6897
|
embedded: !e,
|
|
6907
6898
|
standalone: e
|
|
6908
6899
|
}),
|
|
@@ -6914,18 +6905,18 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6914
6905
|
/* @__PURE__ */ I.jsxs(
|
|
6915
6906
|
"div",
|
|
6916
6907
|
{
|
|
6917
|
-
className:
|
|
6908
|
+
className: ce(r, `${te}-product-tile-details`, {
|
|
6918
6909
|
embedded: !e,
|
|
6919
6910
|
standalone: e
|
|
6920
6911
|
}),
|
|
6921
6912
|
children: [
|
|
6922
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
6913
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(r, `${te}-product-tile-content`), children: [
|
|
6923
6914
|
o && /* @__PURE__ */ I.jsx("p", { className: `${te}-product-tile-brand`, children: o }),
|
|
6924
6915
|
g ? /* @__PURE__ */ I.jsxs(
|
|
6925
6916
|
"a",
|
|
6926
6917
|
{
|
|
6927
6918
|
"aria-label": `Go to product page for ${u}`,
|
|
6928
|
-
className:
|
|
6919
|
+
className: ce(r, `${te}-product-tile-pdp`),
|
|
6929
6920
|
href: `${g}`,
|
|
6930
6921
|
target: "_blank",
|
|
6931
6922
|
rel: "noopener noreferrer",
|
|
@@ -6935,7 +6926,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6935
6926
|
/* @__PURE__ */ I.jsx(
|
|
6936
6927
|
"span",
|
|
6937
6928
|
{
|
|
6938
|
-
className:
|
|
6929
|
+
className: ce(r, `${te}-product-tile-pdp-arrow`),
|
|
6939
6930
|
children: "→"
|
|
6940
6931
|
}
|
|
6941
6932
|
)
|
|
@@ -6944,13 +6935,13 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6944
6935
|
) : /* @__PURE__ */ I.jsx(
|
|
6945
6936
|
"p",
|
|
6946
6937
|
{
|
|
6947
|
-
className:
|
|
6938
|
+
className: ce(r, `${te}-product-tile-name`),
|
|
6948
6939
|
title: u,
|
|
6949
6940
|
children: u
|
|
6950
6941
|
}
|
|
6951
6942
|
)
|
|
6952
6943
|
] }),
|
|
6953
|
-
/* @__PURE__ */ I.jsx("div", { className:
|
|
6944
|
+
/* @__PURE__ */ I.jsx("div", { className: ce(r, `${te}-product-tile-footer`), children: /* @__PURE__ */ I.jsx("p", { className: ce(r, `${te}-product-tile-price`), children: l }) })
|
|
6954
6945
|
]
|
|
6955
6946
|
}
|
|
6956
6947
|
)
|
|
@@ -6965,13 +6956,13 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6965
6956
|
return n ? /* @__PURE__ */ I.jsxs(
|
|
6966
6957
|
"div",
|
|
6967
6958
|
{
|
|
6968
|
-
className:
|
|
6959
|
+
className: ce(r, `${te}-display-products widget-message`),
|
|
6969
6960
|
children: [
|
|
6970
6961
|
/* @__PURE__ */ I.jsx("p", { children: u.message }),
|
|
6971
6962
|
u.products && u.products.length > 0 && /* @__PURE__ */ I.jsx(
|
|
6972
6963
|
"div",
|
|
6973
6964
|
{
|
|
6974
|
-
className:
|
|
6965
|
+
className: ce(r, `${te}-product-list`, {
|
|
6975
6966
|
embedded: !e,
|
|
6976
6967
|
standalone: e
|
|
6977
6968
|
}),
|
|
@@ -6998,14 +6989,14 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6998
6989
|
}) => /* @__PURE__ */ I.jsx(
|
|
6999
6990
|
"div",
|
|
7000
6991
|
{
|
|
7001
|
-
className:
|
|
6992
|
+
className: ce(e, `${te}-error-message`, {
|
|
7002
6993
|
standalone: n,
|
|
7003
6994
|
embedded: !n
|
|
7004
6995
|
}),
|
|
7005
6996
|
children: /* @__PURE__ */ I.jsxs(
|
|
7006
6997
|
"p",
|
|
7007
6998
|
{
|
|
7008
|
-
className:
|
|
6999
|
+
className: ce(e, `${te}-error-message-text`, {
|
|
7009
7000
|
standalone: n,
|
|
7010
7001
|
embedded: !n
|
|
7011
7002
|
}),
|
|
@@ -7029,7 +7020,7 @@ const wy = ({
|
|
|
7029
7020
|
"button",
|
|
7030
7021
|
{
|
|
7031
7022
|
"aria-label": "Close",
|
|
7032
|
-
className:
|
|
7023
|
+
className: ce(e, `${te}-close-button`),
|
|
7033
7024
|
disabled: n,
|
|
7034
7025
|
onClick: t,
|
|
7035
7026
|
children: /* @__PURE__ */ I.jsx(
|
|
@@ -7055,12 +7046,12 @@ const wy = ({
|
|
|
7055
7046
|
}) => /* @__PURE__ */ I.jsx(
|
|
7056
7047
|
"div",
|
|
7057
7048
|
{
|
|
7058
|
-
className:
|
|
7049
|
+
className: ce(e, `${te}-suggestion-container standalone`),
|
|
7059
7050
|
children: u.map((l) => /* @__PURE__ */ I.jsxs(
|
|
7060
7051
|
vh,
|
|
7061
7052
|
{
|
|
7062
7053
|
disabled: r,
|
|
7063
|
-
className:
|
|
7054
|
+
className: ce(e, `${te}-suggestion-button standalone`),
|
|
7064
7055
|
onClick: () => o(l, n || t),
|
|
7065
7056
|
children: [
|
|
7066
7057
|
/* @__PURE__ */ I.jsx(_x, { size: "1.5rem", style: { minHeight: "1.5rem", minWidth: "1.5rem" } }),
|
|
@@ -7078,8 +7069,8 @@ const wy = ({
|
|
|
7078
7069
|
handleSuggestionClick: r
|
|
7079
7070
|
}) => {
|
|
7080
7071
|
const { isLoading: u } = Os();
|
|
7081
|
-
return /* @__PURE__ */ I.jsxs("div", { className:
|
|
7082
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
7072
|
+
return /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-follow-up`), children: [
|
|
7073
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-text`), children: t.message }),
|
|
7083
7074
|
n && /* @__PURE__ */ I.jsx(
|
|
7084
7075
|
Sx,
|
|
7085
7076
|
{
|
|
@@ -7094,12 +7085,12 @@ const wy = ({
|
|
|
7094
7085
|
!n && /* @__PURE__ */ I.jsx(
|
|
7095
7086
|
"div",
|
|
7096
7087
|
{
|
|
7097
|
-
className:
|
|
7088
|
+
className: ce(e, `${te}-suggestion-container embedded`),
|
|
7098
7089
|
children: t.suggestions.map((o) => /* @__PURE__ */ I.jsx(
|
|
7099
7090
|
"button",
|
|
7100
7091
|
{
|
|
7101
7092
|
disabled: u,
|
|
7102
|
-
className:
|
|
7093
|
+
className: ce(
|
|
7103
7094
|
e,
|
|
7104
7095
|
`${te}-suggestion-button embedded`
|
|
7105
7096
|
),
|
|
@@ -8322,15 +8313,15 @@ function Fx() {
|
|
|
8322
8313
|
P = P || {};
|
|
8323
8314
|
var L = 1, H = 1;
|
|
8324
8315
|
function $(pe) {
|
|
8325
|
-
var
|
|
8326
|
-
|
|
8316
|
+
var ae = pe.match(t);
|
|
8317
|
+
ae && (L += ae.length);
|
|
8327
8318
|
var _e = pe.lastIndexOf(d);
|
|
8328
8319
|
H = ~_e ? pe.length - _e : H + pe.length;
|
|
8329
8320
|
}
|
|
8330
8321
|
function J() {
|
|
8331
8322
|
var pe = { line: L, column: H };
|
|
8332
|
-
return function(
|
|
8333
|
-
return
|
|
8323
|
+
return function(ae) {
|
|
8324
|
+
return ae.position = new he(pe), xe(), ae;
|
|
8334
8325
|
};
|
|
8335
8326
|
}
|
|
8336
8327
|
function he(pe) {
|
|
@@ -8338,48 +8329,48 @@ function Fx() {
|
|
|
8338
8329
|
}
|
|
8339
8330
|
he.prototype.content = x;
|
|
8340
8331
|
function M(pe) {
|
|
8341
|
-
var
|
|
8332
|
+
var ae = new Error(
|
|
8342
8333
|
P.source + ":" + L + ":" + H + ": " + pe
|
|
8343
8334
|
);
|
|
8344
|
-
if (
|
|
8335
|
+
if (ae.reason = pe, ae.filename = P.source, ae.line = L, ae.column = H, ae.source = x, !P.silent) throw ae;
|
|
8345
8336
|
}
|
|
8346
8337
|
function Ee(pe) {
|
|
8347
|
-
var
|
|
8348
|
-
if (
|
|
8349
|
-
var _e =
|
|
8350
|
-
return $(_e), x = x.slice(_e.length),
|
|
8338
|
+
var ae = pe.exec(x);
|
|
8339
|
+
if (ae) {
|
|
8340
|
+
var _e = ae[0];
|
|
8341
|
+
return $(_e), x = x.slice(_e.length), ae;
|
|
8351
8342
|
}
|
|
8352
8343
|
}
|
|
8353
8344
|
function xe() {
|
|
8354
8345
|
Ee(n);
|
|
8355
8346
|
}
|
|
8356
8347
|
function Ne(pe) {
|
|
8357
|
-
var
|
|
8358
|
-
for (pe = pe || [];
|
|
8359
|
-
|
|
8348
|
+
var ae;
|
|
8349
|
+
for (pe = pe || []; ae = U(); )
|
|
8350
|
+
ae !== !1 && pe.push(ae);
|
|
8360
8351
|
return pe;
|
|
8361
8352
|
}
|
|
8362
8353
|
function U() {
|
|
8363
8354
|
var pe = J();
|
|
8364
8355
|
if (!(h != x.charAt(0) || g != x.charAt(1))) {
|
|
8365
|
-
for (var
|
|
8366
|
-
++
|
|
8367
|
-
if (
|
|
8356
|
+
for (var ae = 2; y != x.charAt(ae) && (g != x.charAt(ae) || h != x.charAt(ae + 1)); )
|
|
8357
|
+
++ae;
|
|
8358
|
+
if (ae += 2, y === x.charAt(ae - 1))
|
|
8368
8359
|
return M("End of comment missing");
|
|
8369
|
-
var _e = x.slice(2,
|
|
8370
|
-
return H += 2, $(_e), x = x.slice(
|
|
8360
|
+
var _e = x.slice(2, ae - 2);
|
|
8361
|
+
return H += 2, $(_e), x = x.slice(ae), H += 2, pe({
|
|
8371
8362
|
type: b,
|
|
8372
8363
|
comment: _e
|
|
8373
8364
|
});
|
|
8374
8365
|
}
|
|
8375
8366
|
}
|
|
8376
8367
|
function ge() {
|
|
8377
|
-
var pe = J(),
|
|
8378
|
-
if (
|
|
8368
|
+
var pe = J(), ae = Ee(r);
|
|
8369
|
+
if (ae) {
|
|
8379
8370
|
if (U(), !Ee(u)) return M("property missing ':'");
|
|
8380
8371
|
var _e = Ee(o), ve = pe({
|
|
8381
8372
|
type: T,
|
|
8382
|
-
property: S(
|
|
8373
|
+
property: S(ae[0].replace(e, y)),
|
|
8383
8374
|
value: _e ? S(_e[0].replace(e, y)) : y
|
|
8384
8375
|
});
|
|
8385
8376
|
return Ee(l), ve;
|
|
@@ -8388,8 +8379,8 @@ function Fx() {
|
|
|
8388
8379
|
function me() {
|
|
8389
8380
|
var pe = [];
|
|
8390
8381
|
Ne(pe);
|
|
8391
|
-
for (var
|
|
8392
|
-
|
|
8382
|
+
for (var ae; ae = ge(); )
|
|
8383
|
+
ae !== !1 && (pe.push(ae), Ne(pe));
|
|
8393
8384
|
return pe;
|
|
8394
8385
|
}
|
|
8395
8386
|
return xe(), me();
|
|
@@ -9451,9 +9442,9 @@ function PN(e, t, n) {
|
|
|
9451
9442
|
return _e === c ? (M.enter("codeFencedFenceSequence"), pe(_e)) : xe(_e);
|
|
9452
9443
|
}
|
|
9453
9444
|
function pe(_e) {
|
|
9454
|
-
return _e === c ? (Ne++, M.consume(_e), pe) : Ne >= l ? (M.exit("codeFencedFenceSequence"), Ye(_e) ? Ge(M,
|
|
9445
|
+
return _e === c ? (Ne++, M.consume(_e), pe) : Ne >= l ? (M.exit("codeFencedFenceSequence"), Ye(_e) ? Ge(M, ae, "whitespace")(_e) : ae(_e)) : xe(_e);
|
|
9455
9446
|
}
|
|
9456
|
-
function
|
|
9447
|
+
function ae(_e) {
|
|
9457
9448
|
return _e === null || Pe(_e) ? (M.exit("codeFencedFence"), Ee(_e)) : xe(_e);
|
|
9458
9449
|
}
|
|
9459
9450
|
}
|
|
@@ -10160,12 +10151,12 @@ function aw(e, t, n) {
|
|
|
10160
10151
|
return C === null || Pe(C) ? me(C) : Ye(C) ? (e.consume(C), ge) : n(C);
|
|
10161
10152
|
}
|
|
10162
10153
|
function me(C) {
|
|
10163
|
-
return C === 45 && u === 2 ? (e.consume(C), ve) : C === 60 && u === 1 ? (e.consume(C),
|
|
10154
|
+
return C === 45 && u === 2 ? (e.consume(C), ve) : C === 60 && u === 1 ? (e.consume(C), le) : C === 62 && u === 4 ? (e.consume(C), O) : C === 63 && u === 3 ? (e.consume(C), A) : C === 93 && u === 5 ? (e.consume(C), ne) : Pe(C) && (u === 6 || u === 7) ? (e.exit("htmlFlowData"), e.check(sw, Y, pe)(C)) : C === null || Pe(C) ? (e.exit("htmlFlowData"), pe(C)) : (e.consume(C), me);
|
|
10164
10155
|
}
|
|
10165
10156
|
function pe(C) {
|
|
10166
|
-
return e.check(uw,
|
|
10157
|
+
return e.check(uw, ae, Y)(C);
|
|
10167
10158
|
}
|
|
10168
|
-
function
|
|
10159
|
+
function ae(C) {
|
|
10169
10160
|
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), _e;
|
|
10170
10161
|
}
|
|
10171
10162
|
function _e(C) {
|
|
@@ -10174,7 +10165,7 @@ function aw(e, t, n) {
|
|
|
10174
10165
|
function ve(C) {
|
|
10175
10166
|
return C === 45 ? (e.consume(C), A) : me(C);
|
|
10176
10167
|
}
|
|
10177
|
-
function
|
|
10168
|
+
function le(C) {
|
|
10178
10169
|
return C === 47 ? (e.consume(C), l = "", V) : me(C);
|
|
10179
10170
|
}
|
|
10180
10171
|
function V(C) {
|
|
@@ -10234,7 +10225,7 @@ function dw(e, t, n) {
|
|
|
10234
10225
|
return A === 45 ? (e.consume(A), T) : n(A);
|
|
10235
10226
|
}
|
|
10236
10227
|
function y(A) {
|
|
10237
|
-
return A === null ? n(A) : A === 45 ? (e.consume(A), b) : Pe(A) ? (l = y,
|
|
10228
|
+
return A === null ? n(A) : A === 45 ? (e.consume(A), b) : Pe(A) ? (l = y, le(A)) : (e.consume(A), y);
|
|
10238
10229
|
}
|
|
10239
10230
|
function b(A) {
|
|
10240
10231
|
return A === 45 ? (e.consume(A), T) : y(A);
|
|
@@ -10247,7 +10238,7 @@ function dw(e, t, n) {
|
|
|
10247
10238
|
return A === O.charCodeAt(o++) ? (e.consume(A), o === O.length ? x : S) : n(A);
|
|
10248
10239
|
}
|
|
10249
10240
|
function x(A) {
|
|
10250
|
-
return A === null ? n(A) : A === 93 ? (e.consume(A), P) : Pe(A) ? (l = x,
|
|
10241
|
+
return A === null ? n(A) : A === 93 ? (e.consume(A), P) : Pe(A) ? (l = x, le(A)) : (e.consume(A), x);
|
|
10251
10242
|
}
|
|
10252
10243
|
function P(A) {
|
|
10253
10244
|
return A === 93 ? (e.consume(A), L) : x(A);
|
|
@@ -10256,10 +10247,10 @@ function dw(e, t, n) {
|
|
|
10256
10247
|
return A === 62 ? ve(A) : A === 93 ? (e.consume(A), L) : x(A);
|
|
10257
10248
|
}
|
|
10258
10249
|
function H(A) {
|
|
10259
|
-
return A === null || A === 62 ? ve(A) : Pe(A) ? (l = H,
|
|
10250
|
+
return A === null || A === 62 ? ve(A) : Pe(A) ? (l = H, le(A)) : (e.consume(A), H);
|
|
10260
10251
|
}
|
|
10261
10252
|
function $(A) {
|
|
10262
|
-
return A === null ? n(A) : A === 63 ? (e.consume(A), J) : Pe(A) ? (l = $,
|
|
10253
|
+
return A === null ? n(A) : A === 63 ? (e.consume(A), J) : Pe(A) ? (l = $, le(A)) : (e.consume(A), $);
|
|
10263
10254
|
}
|
|
10264
10255
|
function J(A) {
|
|
10265
10256
|
return A === 62 ? ve(A) : $(A);
|
|
@@ -10271,28 +10262,28 @@ function dw(e, t, n) {
|
|
|
10271
10262
|
return A === 45 || qt(A) ? (e.consume(A), M) : Ee(A);
|
|
10272
10263
|
}
|
|
10273
10264
|
function Ee(A) {
|
|
10274
|
-
return Pe(A) ? (l = Ee,
|
|
10265
|
+
return Pe(A) ? (l = Ee, le(A)) : Ye(A) ? (e.consume(A), Ee) : ve(A);
|
|
10275
10266
|
}
|
|
10276
10267
|
function xe(A) {
|
|
10277
10268
|
return A === 45 || qt(A) ? (e.consume(A), xe) : A === 47 || A === 62 || et(A) ? Ne(A) : n(A);
|
|
10278
10269
|
}
|
|
10279
10270
|
function Ne(A) {
|
|
10280
|
-
return A === 47 ? (e.consume(A), ve) : A === 58 || A === 95 || Xt(A) ? (e.consume(A), U) : Pe(A) ? (l = Ne,
|
|
10271
|
+
return A === 47 ? (e.consume(A), ve) : A === 58 || A === 95 || Xt(A) ? (e.consume(A), U) : Pe(A) ? (l = Ne, le(A)) : Ye(A) ? (e.consume(A), Ne) : ve(A);
|
|
10281
10272
|
}
|
|
10282
10273
|
function U(A) {
|
|
10283
10274
|
return A === 45 || A === 46 || A === 58 || A === 95 || qt(A) ? (e.consume(A), U) : ge(A);
|
|
10284
10275
|
}
|
|
10285
10276
|
function ge(A) {
|
|
10286
|
-
return A === 61 ? (e.consume(A), me) : Pe(A) ? (l = ge,
|
|
10277
|
+
return A === 61 ? (e.consume(A), me) : Pe(A) ? (l = ge, le(A)) : Ye(A) ? (e.consume(A), ge) : Ne(A);
|
|
10287
10278
|
}
|
|
10288
10279
|
function me(A) {
|
|
10289
|
-
return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), u = A, pe) : Pe(A) ? (l = me,
|
|
10280
|
+
return A === null || A === 60 || A === 61 || A === 62 || A === 96 ? n(A) : A === 34 || A === 39 ? (e.consume(A), u = A, pe) : Pe(A) ? (l = me, le(A)) : Ye(A) ? (e.consume(A), me) : (e.consume(A), ae);
|
|
10290
10281
|
}
|
|
10291
10282
|
function pe(A) {
|
|
10292
|
-
return A === u ? (e.consume(A), u = void 0, _e) : A === null ? n(A) : Pe(A) ? (l = pe,
|
|
10283
|
+
return A === u ? (e.consume(A), u = void 0, _e) : A === null ? n(A) : Pe(A) ? (l = pe, le(A)) : (e.consume(A), pe);
|
|
10293
10284
|
}
|
|
10294
|
-
function
|
|
10295
|
-
return A === null || A === 34 || A === 39 || A === 60 || A === 61 || A === 96 ? n(A) : A === 47 || A === 62 || et(A) ? Ne(A) : (e.consume(A),
|
|
10285
|
+
function ae(A) {
|
|
10286
|
+
return A === null || A === 34 || A === 39 || A === 60 || A === 61 || A === 96 ? n(A) : A === 47 || A === 62 || et(A) ? Ne(A) : (e.consume(A), ae);
|
|
10296
10287
|
}
|
|
10297
10288
|
function _e(A) {
|
|
10298
10289
|
return A === 47 || A === 62 || et(A) ? Ne(A) : n(A);
|
|
@@ -10300,7 +10291,7 @@ function dw(e, t, n) {
|
|
|
10300
10291
|
function ve(A) {
|
|
10301
10292
|
return A === 62 ? (e.consume(A), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(A);
|
|
10302
10293
|
}
|
|
10303
|
-
function
|
|
10294
|
+
function le(A) {
|
|
10304
10295
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), V;
|
|
10305
10296
|
}
|
|
10306
10297
|
function V(A) {
|
|
@@ -10855,14 +10846,14 @@ function Zw(e, t, n) {
|
|
|
10855
10846
|
_bufferIndex: ge,
|
|
10856
10847
|
_index: me,
|
|
10857
10848
|
line: pe,
|
|
10858
|
-
column:
|
|
10849
|
+
column: ae,
|
|
10859
10850
|
offset: _e
|
|
10860
10851
|
} = r;
|
|
10861
10852
|
return {
|
|
10862
10853
|
_bufferIndex: ge,
|
|
10863
10854
|
_index: me,
|
|
10864
10855
|
line: pe,
|
|
10865
|
-
column:
|
|
10856
|
+
column: ae,
|
|
10866
10857
|
offset: _e
|
|
10867
10858
|
};
|
|
10868
10859
|
}
|
|
@@ -10905,18 +10896,18 @@ function Zw(e, t, n) {
|
|
|
10905
10896
|
}
|
|
10906
10897
|
function Ee(ge, me) {
|
|
10907
10898
|
return pe;
|
|
10908
|
-
function pe(
|
|
10909
|
-
let
|
|
10910
|
-
return Array.isArray(
|
|
10899
|
+
function pe(ae, _e, ve) {
|
|
10900
|
+
let le, V, ne, A;
|
|
10901
|
+
return Array.isArray(ae) ? (
|
|
10911
10902
|
/* c8 ignore next 1 */
|
|
10912
|
-
Y(
|
|
10913
|
-
) : "tokenize" in
|
|
10903
|
+
Y(ae)
|
|
10904
|
+
) : "tokenize" in ae ? (
|
|
10914
10905
|
// Looks like a construct.
|
|
10915
10906
|
Y([
|
|
10916
10907
|
/** @type {Construct} */
|
|
10917
|
-
|
|
10908
|
+
ae
|
|
10918
10909
|
])
|
|
10919
|
-
) : O(
|
|
10910
|
+
) : O(ae);
|
|
10920
10911
|
function O(ye) {
|
|
10921
10912
|
return we;
|
|
10922
10913
|
function we(Le) {
|
|
@@ -10930,7 +10921,7 @@ function Zw(e, t, n) {
|
|
|
10930
10921
|
}
|
|
10931
10922
|
}
|
|
10932
10923
|
function Y(ye) {
|
|
10933
|
-
return
|
|
10924
|
+
return le = ye, V = 0, ye.length === 0 ? ve : C(ye[V]);
|
|
10934
10925
|
}
|
|
10935
10926
|
function C(ye) {
|
|
10936
10927
|
return we;
|
|
@@ -10950,7 +10941,7 @@ function Zw(e, t, n) {
|
|
|
10950
10941
|
return ge(ne, A), _e;
|
|
10951
10942
|
}
|
|
10952
10943
|
function be(ye) {
|
|
10953
|
-
return A.restore(), ++V <
|
|
10944
|
+
return A.restore(), ++V < le.length ? C(le[V]) : ve;
|
|
10954
10945
|
}
|
|
10955
10946
|
}
|
|
10956
10947
|
}
|
|
@@ -10958,13 +10949,13 @@ function Zw(e, t, n) {
|
|
|
10958
10949
|
ge.resolveAll && !o.includes(ge) && o.push(ge), ge.resolve && Tn(h.events, me, h.events.length - me, ge.resolve(h.events.slice(me), h)), ge.resolveTo && (h.events = ge.resolveTo(h.events, h));
|
|
10959
10950
|
}
|
|
10960
10951
|
function Ne() {
|
|
10961
|
-
const ge = S(), me = h.previous, pe = h.currentConstruct,
|
|
10952
|
+
const ge = S(), me = h.previous, pe = h.currentConstruct, ae = h.events.length, _e = Array.from(c);
|
|
10962
10953
|
return {
|
|
10963
|
-
from:
|
|
10954
|
+
from: ae,
|
|
10964
10955
|
restore: ve
|
|
10965
10956
|
};
|
|
10966
10957
|
function ve() {
|
|
10967
|
-
r = ge, h.previous = me, h.currentConstruct = pe, h.events.length =
|
|
10958
|
+
r = ge, h.previous = me, h.currentConstruct = pe, h.events.length = ae, c = _e, U();
|
|
10968
10959
|
}
|
|
10969
10960
|
}
|
|
10970
10961
|
function U() {
|
|
@@ -11182,9 +11173,9 @@ function l3(e) {
|
|
|
11182
11173
|
hardBreakTrailing: d(me),
|
|
11183
11174
|
htmlFlow: d(pe),
|
|
11184
11175
|
htmlFlowData: U,
|
|
11185
|
-
htmlText: d(
|
|
11176
|
+
htmlText: d(ae),
|
|
11186
11177
|
htmlTextData: U,
|
|
11187
|
-
image: d(
|
|
11178
|
+
image: d(le),
|
|
11188
11179
|
label: ne,
|
|
11189
11180
|
labelText: V,
|
|
11190
11181
|
lineEnding: ge,
|
|
@@ -11228,18 +11219,18 @@ function l3(e) {
|
|
|
11228
11219
|
if (Q[Ke][0] === "enter")
|
|
11229
11220
|
je.push(Ke);
|
|
11230
11221
|
else {
|
|
11231
|
-
const
|
|
11232
|
-
Ke = u(Q,
|
|
11222
|
+
const Dt = je.pop();
|
|
11223
|
+
Ke = u(Q, Dt, Ke);
|
|
11233
11224
|
}
|
|
11234
11225
|
for (Ke = -1; ++Ke < Q.length; ) {
|
|
11235
|
-
const
|
|
11236
|
-
tT.call(
|
|
11226
|
+
const Dt = t[Q[Ke][0]];
|
|
11227
|
+
tT.call(Dt, Q[Ke][1].type) && Dt[Q[Ke][1].type].call(Object.assign({
|
|
11237
11228
|
sliceSerialize: Q[Ke][2].sliceSerialize
|
|
11238
11229
|
}, De), Q[Ke][1]);
|
|
11239
11230
|
}
|
|
11240
11231
|
if (De.tokenStack.length > 0) {
|
|
11241
|
-
const
|
|
11242
|
-
(
|
|
11232
|
+
const Dt = De.tokenStack[De.tokenStack.length - 1];
|
|
11233
|
+
(Dt[1] || e1).call(De, void 0, Dt[0]);
|
|
11243
11234
|
}
|
|
11244
11235
|
for (de.position = {
|
|
11245
11236
|
start: Kr(Q.length > 0 ? Q[0][1].start : {
|
|
@@ -11257,18 +11248,18 @@ function l3(e) {
|
|
|
11257
11248
|
return de;
|
|
11258
11249
|
}
|
|
11259
11250
|
function u(Q, de, De) {
|
|
11260
|
-
let je = de - 1, Ke = -1,
|
|
11251
|
+
let je = de - 1, Ke = -1, Dt = !1, cr, Sn, vr, ni;
|
|
11261
11252
|
for (; ++je <= De; ) {
|
|
11262
|
-
const
|
|
11263
|
-
switch (
|
|
11253
|
+
const Mt = Q[je];
|
|
11254
|
+
switch (Mt[1].type) {
|
|
11264
11255
|
case "listUnordered":
|
|
11265
11256
|
case "listOrdered":
|
|
11266
11257
|
case "blockQuote": {
|
|
11267
|
-
|
|
11258
|
+
Mt[0] === "enter" ? Ke++ : Ke--, ni = void 0;
|
|
11268
11259
|
break;
|
|
11269
11260
|
}
|
|
11270
11261
|
case "lineEndingBlank": {
|
|
11271
|
-
|
|
11262
|
+
Mt[0] === "enter" && (cr && !ni && !Ke && !vr && (vr = je), ni = void 0);
|
|
11272
11263
|
break;
|
|
11273
11264
|
}
|
|
11274
11265
|
case "linePrefix":
|
|
@@ -11280,31 +11271,31 @@ function l3(e) {
|
|
|
11280
11271
|
default:
|
|
11281
11272
|
ni = void 0;
|
|
11282
11273
|
}
|
|
11283
|
-
if (!Ke &&
|
|
11274
|
+
if (!Ke && Mt[0] === "enter" && Mt[1].type === "listItemPrefix" || Ke === -1 && Mt[0] === "exit" && (Mt[1].type === "listUnordered" || Mt[1].type === "listOrdered")) {
|
|
11284
11275
|
if (cr) {
|
|
11285
11276
|
let Wn = je;
|
|
11286
11277
|
for (Sn = void 0; Wn--; ) {
|
|
11287
11278
|
const dn = Q[Wn];
|
|
11288
11279
|
if (dn[1].type === "lineEnding" || dn[1].type === "lineEndingBlank") {
|
|
11289
11280
|
if (dn[0] === "exit") continue;
|
|
11290
|
-
Sn && (Q[Sn][1].type = "lineEndingBlank",
|
|
11281
|
+
Sn && (Q[Sn][1].type = "lineEndingBlank", Dt = !0), dn[1].type = "lineEnding", Sn = Wn;
|
|
11291
11282
|
} else if (!(dn[1].type === "linePrefix" || dn[1].type === "blockQuotePrefix" || dn[1].type === "blockQuotePrefixWhitespace" || dn[1].type === "blockQuoteMarker" || dn[1].type === "listItemIndent")) break;
|
|
11292
11283
|
}
|
|
11293
|
-
vr && (!Sn || vr < Sn) && (cr._spread = !0), cr.end = Object.assign({}, Sn ? Q[Sn][1].start :
|
|
11284
|
+
vr && (!Sn || vr < Sn) && (cr._spread = !0), cr.end = Object.assign({}, Sn ? Q[Sn][1].start : Mt[1].end), Q.splice(Sn || je, 0, ["exit", cr, Mt[2]]), je++, De++;
|
|
11294
11285
|
}
|
|
11295
|
-
if (
|
|
11286
|
+
if (Mt[1].type === "listItemPrefix") {
|
|
11296
11287
|
const Wn = {
|
|
11297
11288
|
type: "listItem",
|
|
11298
11289
|
_spread: !1,
|
|
11299
|
-
start: Object.assign({},
|
|
11290
|
+
start: Object.assign({}, Mt[1].start),
|
|
11300
11291
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
11301
11292
|
end: void 0
|
|
11302
11293
|
};
|
|
11303
|
-
cr = Wn, Q.splice(je, 0, ["enter", Wn,
|
|
11294
|
+
cr = Wn, Q.splice(je, 0, ["enter", Wn, Mt[2]]), je++, De++, vr = void 0, ni = !0;
|
|
11304
11295
|
}
|
|
11305
11296
|
}
|
|
11306
11297
|
}
|
|
11307
|
-
return Q[de][1]._spread =
|
|
11298
|
+
return Q[de][1]._spread = Dt, De;
|
|
11308
11299
|
}
|
|
11309
11300
|
function o(Q, de) {
|
|
11310
11301
|
return De;
|
|
@@ -11430,7 +11421,7 @@ function l3(e) {
|
|
|
11430
11421
|
const Q = this.resume(), de = this.stack[this.stack.length - 1];
|
|
11431
11422
|
de.value = Q;
|
|
11432
11423
|
}
|
|
11433
|
-
function
|
|
11424
|
+
function ae() {
|
|
11434
11425
|
const Q = this.resume(), de = this.stack[this.stack.length - 1];
|
|
11435
11426
|
de.value = Q;
|
|
11436
11427
|
}
|
|
@@ -11447,7 +11438,7 @@ function l3(e) {
|
|
|
11447
11438
|
delete Q.identifier, delete Q.label;
|
|
11448
11439
|
this.data.referenceType = void 0;
|
|
11449
11440
|
}
|
|
11450
|
-
function
|
|
11441
|
+
function le() {
|
|
11451
11442
|
const Q = this.stack[this.stack.length - 1];
|
|
11452
11443
|
if (this.data.inReference) {
|
|
11453
11444
|
const de = this.data.referenceType || "shortcut";
|
|
@@ -12517,7 +12508,7 @@ function a1(e, t) {
|
|
|
12517
12508
|
}
|
|
12518
12509
|
function sv(e, t) {
|
|
12519
12510
|
return e && "run" in e ? function(n, r) {
|
|
12520
|
-
return
|
|
12511
|
+
return Ot(this, null, function* () {
|
|
12521
12512
|
const u = (
|
|
12522
12513
|
/** @type {HastRoot} */
|
|
12523
12514
|
a1(n, G({ file: r }, t))
|
|
@@ -15632,42 +15623,42 @@ function SI(e) {
|
|
|
15632
15623
|
var t;
|
|
15633
15624
|
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (t = _I.get(e)) !== null && t !== void 0 ? t : e;
|
|
15634
15625
|
}
|
|
15635
|
-
var
|
|
15626
|
+
var Lt;
|
|
15636
15627
|
(function(e) {
|
|
15637
15628
|
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";
|
|
15638
|
-
})(
|
|
15629
|
+
})(Lt || (Lt = {}));
|
|
15639
15630
|
const CI = 32;
|
|
15640
15631
|
var Jr;
|
|
15641
15632
|
(function(e) {
|
|
15642
15633
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
15643
15634
|
})(Jr || (Jr = {}));
|
|
15644
15635
|
function Zd(e) {
|
|
15645
|
-
return e >=
|
|
15636
|
+
return e >= Lt.ZERO && e <= Lt.NINE;
|
|
15646
15637
|
}
|
|
15647
15638
|
function AI(e) {
|
|
15648
|
-
return e >=
|
|
15639
|
+
return e >= Lt.UPPER_A && e <= Lt.UPPER_F || e >= Lt.LOWER_A && e <= Lt.LOWER_F;
|
|
15649
15640
|
}
|
|
15650
15641
|
function kI(e) {
|
|
15651
|
-
return e >=
|
|
15642
|
+
return e >= Lt.UPPER_A && e <= Lt.UPPER_Z || e >= Lt.LOWER_A && e <= Lt.LOWER_Z || Zd(e);
|
|
15652
15643
|
}
|
|
15653
15644
|
function xI(e) {
|
|
15654
|
-
return e ===
|
|
15645
|
+
return e === Lt.EQUALS || kI(e);
|
|
15655
15646
|
}
|
|
15656
|
-
var
|
|
15647
|
+
var Pt;
|
|
15657
15648
|
(function(e) {
|
|
15658
15649
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
15659
|
-
})(
|
|
15650
|
+
})(Pt || (Pt = {}));
|
|
15660
15651
|
var Sr;
|
|
15661
15652
|
(function(e) {
|
|
15662
15653
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
15663
15654
|
})(Sr || (Sr = {}));
|
|
15664
15655
|
class NI {
|
|
15665
15656
|
constructor(t, n, r) {
|
|
15666
|
-
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state =
|
|
15657
|
+
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state = Pt.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Sr.Strict;
|
|
15667
15658
|
}
|
|
15668
15659
|
/** Resets the instance to make it reusable. */
|
|
15669
15660
|
startEntity(t) {
|
|
15670
|
-
this.decodeMode = t, this.state =
|
|
15661
|
+
this.decodeMode = t, this.state = Pt.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
15671
15662
|
}
|
|
15672
15663
|
/**
|
|
15673
15664
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -15682,15 +15673,15 @@ class NI {
|
|
|
15682
15673
|
*/
|
|
15683
15674
|
write(t, n) {
|
|
15684
15675
|
switch (this.state) {
|
|
15685
|
-
case
|
|
15686
|
-
return t.charCodeAt(n) ===
|
|
15687
|
-
case
|
|
15676
|
+
case Pt.EntityStart:
|
|
15677
|
+
return t.charCodeAt(n) === Lt.NUM ? (this.state = Pt.NumericStart, this.consumed += 1, this.stateNumericStart(t, n + 1)) : (this.state = Pt.NamedEntity, this.stateNamedEntity(t, n));
|
|
15678
|
+
case Pt.NumericStart:
|
|
15688
15679
|
return this.stateNumericStart(t, n);
|
|
15689
|
-
case
|
|
15680
|
+
case Pt.NumericDecimal:
|
|
15690
15681
|
return this.stateNumericDecimal(t, n);
|
|
15691
|
-
case
|
|
15682
|
+
case Pt.NumericHex:
|
|
15692
15683
|
return this.stateNumericHex(t, n);
|
|
15693
|
-
case
|
|
15684
|
+
case Pt.NamedEntity:
|
|
15694
15685
|
return this.stateNamedEntity(t, n);
|
|
15695
15686
|
}
|
|
15696
15687
|
}
|
|
@@ -15704,7 +15695,7 @@ class NI {
|
|
|
15704
15695
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
15705
15696
|
*/
|
|
15706
15697
|
stateNumericStart(t, n) {
|
|
15707
|
-
return n >= t.length ? -1 : (t.charCodeAt(n) | CI) ===
|
|
15698
|
+
return n >= t.length ? -1 : (t.charCodeAt(n) | CI) === Lt.LOWER_X ? (this.state = Pt.NumericHex, this.consumed += 1, this.stateNumericHex(t, n + 1)) : (this.state = Pt.NumericDecimal, this.stateNumericDecimal(t, n));
|
|
15708
15699
|
}
|
|
15709
15700
|
addToNumericResult(t, n, r, u) {
|
|
15710
15701
|
if (n !== r) {
|
|
@@ -15769,11 +15760,11 @@ class NI {
|
|
|
15769
15760
|
var r;
|
|
15770
15761
|
if (this.consumed <= n)
|
|
15771
15762
|
return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
15772
|
-
if (t ===
|
|
15763
|
+
if (t === Lt.SEMI)
|
|
15773
15764
|
this.consumed += 1;
|
|
15774
15765
|
else if (this.decodeMode === Sr.Strict)
|
|
15775
15766
|
return 0;
|
|
15776
|
-
return this.emitCodePoint(SI(this.result), this.consumed), this.errors && (t !==
|
|
15767
|
+
return this.emitCodePoint(SI(this.result), this.consumed), this.errors && (t !== Lt.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
15777
15768
|
}
|
|
15778
15769
|
/**
|
|
15779
15770
|
* Parses a named entity.
|
|
@@ -15795,7 +15786,7 @@ class NI {
|
|
|
15795
15786
|
(o === 0 || // And there should be no invalid characters.
|
|
15796
15787
|
xI(l)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
15797
15788
|
if (u = r[this.treeIndex], o = (u & Jr.VALUE_LENGTH) >> 14, o !== 0) {
|
|
15798
|
-
if (l ===
|
|
15789
|
+
if (l === Lt.SEMI)
|
|
15799
15790
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
15800
15791
|
this.decodeMode !== Sr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
15801
15792
|
}
|
|
@@ -15835,16 +15826,16 @@ class NI {
|
|
|
15835
15826
|
end() {
|
|
15836
15827
|
var t;
|
|
15837
15828
|
switch (this.state) {
|
|
15838
|
-
case
|
|
15829
|
+
case Pt.NamedEntity:
|
|
15839
15830
|
return this.result !== 0 && (this.decodeMode !== Sr.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
15840
15831
|
// Otherwise, emit a numeric entity if we have one.
|
|
15841
|
-
case
|
|
15832
|
+
case Pt.NumericDecimal:
|
|
15842
15833
|
return this.emitNumericEntity(0, 2);
|
|
15843
|
-
case
|
|
15834
|
+
case Pt.NumericHex:
|
|
15844
15835
|
return this.emitNumericEntity(0, 3);
|
|
15845
|
-
case
|
|
15836
|
+
case Pt.NumericStart:
|
|
15846
15837
|
return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
15847
|
-
case
|
|
15838
|
+
case Pt.EntityStart:
|
|
15848
15839
|
return 0;
|
|
15849
15840
|
}
|
|
15850
15841
|
}
|
|
@@ -22984,9 +22975,9 @@ function r6(e, t, n) {
|
|
|
22984
22975
|
function c(U) {
|
|
22985
22976
|
let ge = r.events.length - 1;
|
|
22986
22977
|
for (; ge > -1; ) {
|
|
22987
|
-
const
|
|
22988
|
-
if (
|
|
22989
|
-
|
|
22978
|
+
const ae = r.events[ge][1].type;
|
|
22979
|
+
if (ae === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
|
|
22980
|
+
ae === "linePrefix") ge--;
|
|
22990
22981
|
else break;
|
|
22991
22982
|
}
|
|
22992
22983
|
const me = ge > -1 ? r.events[ge][1].type : null, pe = me === "tableHead" || me === "tableRow" ? M : d;
|
|
@@ -23172,27 +23163,27 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23172
23163
|
remarkPlugins: [f6],
|
|
23173
23164
|
rehypePlugins: [nR],
|
|
23174
23165
|
components: {
|
|
23175
|
-
h1: ({ children: o }) => /* @__PURE__ */ I.jsx("h1", { className:
|
|
23176
|
-
h2: ({ children: o }) => /* @__PURE__ */ I.jsx("h2", { className:
|
|
23177
|
-
h3: ({ children: o }) => /* @__PURE__ */ I.jsx("h3", { className:
|
|
23178
|
-
ul: ({ children: o }) => /* @__PURE__ */ I.jsx("ul", { className:
|
|
23179
|
-
ol: ({ children: o }) => /* @__PURE__ */ I.jsx("ol", { className:
|
|
23180
|
-
li: ({ children: o }) => /* @__PURE__ */ I.jsx("li", { className:
|
|
23166
|
+
h1: ({ children: o }) => /* @__PURE__ */ I.jsx("h1", { className: ce(e, `${te}-header h1`), children: o }),
|
|
23167
|
+
h2: ({ children: o }) => /* @__PURE__ */ I.jsx("h2", { className: ce(e, `${te}-header h2`), children: o }),
|
|
23168
|
+
h3: ({ children: o }) => /* @__PURE__ */ I.jsx("h3", { className: ce(e, `${te}-header h3`), children: o }),
|
|
23169
|
+
ul: ({ children: o }) => /* @__PURE__ */ I.jsx("ul", { className: ce(e, `${te}-ul`), children: o }),
|
|
23170
|
+
ol: ({ children: o }) => /* @__PURE__ */ I.jsx("ol", { className: ce(e, `${te}-ol`), children: o }),
|
|
23171
|
+
li: ({ children: o }) => /* @__PURE__ */ I.jsx("li", { className: ce(e, `${te}-li`), children: o }),
|
|
23181
23172
|
a: ({ href: o, children: l }) => /* @__PURE__ */ I.jsx(
|
|
23182
23173
|
"a",
|
|
23183
23174
|
Fe(G({
|
|
23184
|
-
className:
|
|
23175
|
+
className: ce(e, `${te}-link`)
|
|
23185
23176
|
}, o ? { href: o, target: "_blank" } : {}), {
|
|
23186
23177
|
rel: "noopener noreferrer",
|
|
23187
23178
|
children: l
|
|
23188
23179
|
})
|
|
23189
23180
|
),
|
|
23190
|
-
table: ({ children: o }) => /* @__PURE__ */ I.jsx("table", { className:
|
|
23191
|
-
thead: ({ children: o }) => /* @__PURE__ */ I.jsx("thead", { className:
|
|
23192
|
-
tbody: ({ children: o }) => /* @__PURE__ */ I.jsx("tbody", { className:
|
|
23193
|
-
tr: ({ children: o }) => /* @__PURE__ */ I.jsx("tr", { className:
|
|
23194
|
-
th: ({ children: o }) => /* @__PURE__ */ I.jsx("th", { className:
|
|
23195
|
-
td: ({ children: o }) => /* @__PURE__ */ I.jsx("td", { className:
|
|
23181
|
+
table: ({ children: o }) => /* @__PURE__ */ I.jsx("table", { className: ce(e, `${te}-table`), children: o }),
|
|
23182
|
+
thead: ({ children: o }) => /* @__PURE__ */ I.jsx("thead", { className: ce(e, `${te}-thead`), children: o }),
|
|
23183
|
+
tbody: ({ children: o }) => /* @__PURE__ */ I.jsx("tbody", { className: ce(e, `${te}-tbody`), children: o }),
|
|
23184
|
+
tr: ({ children: o }) => /* @__PURE__ */ I.jsx("tr", { className: ce(e, `${te}-tr`), children: o }),
|
|
23185
|
+
th: ({ children: o }) => /* @__PURE__ */ I.jsx("th", { className: ce(e, `${te}-th`), children: o }),
|
|
23186
|
+
td: ({ children: o }) => /* @__PURE__ */ I.jsx("td", { className: ce(e, `${te}-td`), children: o }),
|
|
23196
23187
|
span: ({ className: o, children: l }) => o === `${te}-blinking-cursor` ? /* @__PURE__ */ I.jsx(Wl, {}) : /* @__PURE__ */ I.jsx("span", { children: l })
|
|
23197
23188
|
},
|
|
23198
23189
|
children: t.message + (u ? `<span className='${te}-blinking-cursor'></span>` : "")
|
|
@@ -23209,12 +23200,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23209
23200
|
/* @__PURE__ */ I.jsxs(
|
|
23210
23201
|
"div",
|
|
23211
23202
|
{
|
|
23212
|
-
className:
|
|
23203
|
+
className: ce(e, `${te}-progress-message`, "standalone"),
|
|
23213
23204
|
children: [
|
|
23214
23205
|
/* @__PURE__ */ I.jsx(
|
|
23215
23206
|
"span",
|
|
23216
23207
|
{
|
|
23217
|
-
className:
|
|
23208
|
+
className: ce(
|
|
23218
23209
|
e,
|
|
23219
23210
|
`${te}-message-icon`,
|
|
23220
23211
|
"progress-icon",
|
|
@@ -23223,7 +23214,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23223
23214
|
children: /* @__PURE__ */ I.jsx(Ny, {})
|
|
23224
23215
|
}
|
|
23225
23216
|
),
|
|
23226
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23217
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-progress-text`, "standalone"), children: t.message })
|
|
23227
23218
|
]
|
|
23228
23219
|
}
|
|
23229
23220
|
),
|
|
@@ -23231,7 +23222,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23231
23222
|
/* @__PURE__ */ I.jsx(
|
|
23232
23223
|
vh,
|
|
23233
23224
|
{
|
|
23234
|
-
className:
|
|
23225
|
+
className: ce(e, `${te}-thought-context-button`),
|
|
23235
23226
|
onClick: c,
|
|
23236
23227
|
children: n ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
23237
23228
|
"Hide ",
|
|
@@ -23242,7 +23233,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23242
23233
|
] })
|
|
23243
23234
|
}
|
|
23244
23235
|
),
|
|
23245
|
-
n && /* @__PURE__ */ I.jsx("div", { className:
|
|
23236
|
+
n && /* @__PURE__ */ I.jsx("div", { className: ce(e, `${te}-thought-container`), children: o && /* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-progress-thought`), children: t.thought }) })
|
|
23246
23237
|
] })
|
|
23247
23238
|
] });
|
|
23248
23239
|
}, h6 = ({
|
|
@@ -23252,13 +23243,13 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23252
23243
|
}) => n ? /* @__PURE__ */ I.jsx(d6, { globalClassName: e, message: t }) : /* @__PURE__ */ I.jsxs(
|
|
23253
23244
|
"div",
|
|
23254
23245
|
{
|
|
23255
|
-
className:
|
|
23246
|
+
className: ce(e, `${te}-progress-message`, "embedded"),
|
|
23256
23247
|
title: t.message,
|
|
23257
23248
|
children: [
|
|
23258
23249
|
/* @__PURE__ */ I.jsx(
|
|
23259
23250
|
"span",
|
|
23260
23251
|
{
|
|
23261
|
-
className:
|
|
23252
|
+
className: ce(
|
|
23262
23253
|
e,
|
|
23263
23254
|
`${te}-message-icon`,
|
|
23264
23255
|
"progress-icon",
|
|
@@ -23267,7 +23258,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23267
23258
|
children: /* @__PURE__ */ I.jsx(Ny, {})
|
|
23268
23259
|
}
|
|
23269
23260
|
),
|
|
23270
|
-
/* @__PURE__ */ I.jsx("i", { className:
|
|
23261
|
+
/* @__PURE__ */ I.jsx("i", { className: ce(e, `${te}-progress-text`, "embedded"), children: t.message })
|
|
23271
23262
|
]
|
|
23272
23263
|
}
|
|
23273
23264
|
), p6 = ({
|
|
@@ -23279,7 +23270,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23279
23270
|
return /* @__PURE__ */ I.jsxs(
|
|
23280
23271
|
"div",
|
|
23281
23272
|
{
|
|
23282
|
-
className:
|
|
23273
|
+
className: ce(e, `${te}-refined-search`, {
|
|
23283
23274
|
embedded: !n,
|
|
23284
23275
|
standalone: n
|
|
23285
23276
|
}),
|
|
@@ -23287,7 +23278,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23287
23278
|
/* @__PURE__ */ I.jsxs(
|
|
23288
23279
|
"div",
|
|
23289
23280
|
{
|
|
23290
|
-
className:
|
|
23281
|
+
className: ce(e, `${te}-refined-search-query`, {
|
|
23291
23282
|
embedded: !n,
|
|
23292
23283
|
standalone: n
|
|
23293
23284
|
}),
|
|
@@ -23295,7 +23286,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23295
23286
|
/* @__PURE__ */ I.jsx(
|
|
23296
23287
|
"span",
|
|
23297
23288
|
{
|
|
23298
|
-
className:
|
|
23289
|
+
className: ce(
|
|
23299
23290
|
e,
|
|
23300
23291
|
`${te}-message-icon`,
|
|
23301
23292
|
`${te}-refined-search-icon`,
|
|
@@ -23307,7 +23298,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23307
23298
|
children: /* @__PURE__ */ I.jsx(Ll, {})
|
|
23308
23299
|
}
|
|
23309
23300
|
),
|
|
23310
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23301
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-text`, "bold"), children: (r = t.searchParams) == null ? void 0 : r.query })
|
|
23311
23302
|
]
|
|
23312
23303
|
}
|
|
23313
23304
|
),
|
|
@@ -23334,7 +23325,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23334
23325
|
}) => /* @__PURE__ */ I.jsx(
|
|
23335
23326
|
"span",
|
|
23336
23327
|
{
|
|
23337
|
-
className:
|
|
23328
|
+
className: ce(t, `${te}-facet-pill`, {
|
|
23338
23329
|
standalone: e,
|
|
23339
23330
|
embedded: !e
|
|
23340
23331
|
}),
|
|
@@ -23351,9 +23342,9 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23351
23342
|
return n.map((l) => {
|
|
23352
23343
|
var d;
|
|
23353
23344
|
const c = ((d = r[l]) == null ? void 0 : d.join(", ")) || "";
|
|
23354
|
-
return /* @__PURE__ */ I.jsxs("div", { className:
|
|
23355
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23356
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23345
|
+
return /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-facets`), children: [
|
|
23346
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-facet-category`), children: l }),
|
|
23347
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-facet-values`), children: c })
|
|
23357
23348
|
] }, l);
|
|
23358
23349
|
});
|
|
23359
23350
|
}, m6 = ({
|
|
@@ -23364,18 +23355,18 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23364
23355
|
var o, l;
|
|
23365
23356
|
const { facetFiltersList: r, filterCount: u } = xb(t);
|
|
23366
23357
|
return n ? /* @__PURE__ */ I.jsxs("div", { children: [
|
|
23367
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
23358
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-message standalone`), children: [
|
|
23368
23359
|
/* @__PURE__ */ I.jsx(
|
|
23369
23360
|
"span",
|
|
23370
23361
|
{
|
|
23371
|
-
className:
|
|
23362
|
+
className: ce(
|
|
23372
23363
|
e,
|
|
23373
23364
|
`${te}-message-icon user-message-icon standalone`
|
|
23374
23365
|
),
|
|
23375
23366
|
children: /* @__PURE__ */ I.jsx(Og, {})
|
|
23376
23367
|
}
|
|
23377
23368
|
),
|
|
23378
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23369
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-user-message-text`), children: (o = t.request) == null ? void 0 : o.userPrompt }),
|
|
23379
23370
|
r.length > 0 && /* @__PURE__ */ I.jsx(
|
|
23380
23371
|
El,
|
|
23381
23372
|
{
|
|
@@ -23393,11 +23384,11 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23393
23384
|
message: t
|
|
23394
23385
|
}
|
|
23395
23386
|
)
|
|
23396
|
-
] }) : /* @__PURE__ */ I.jsxs("div", { className:
|
|
23387
|
+
] }) : /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-message embedded`), children: [
|
|
23397
23388
|
/* @__PURE__ */ I.jsx(
|
|
23398
23389
|
"span",
|
|
23399
23390
|
{
|
|
23400
|
-
className:
|
|
23391
|
+
className: ce(
|
|
23401
23392
|
e,
|
|
23402
23393
|
`${te}-message-icon user-message-icon embedded`
|
|
23403
23394
|
),
|
|
@@ -23414,12 +23405,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23414
23405
|
message: r,
|
|
23415
23406
|
facetFiltersList: u,
|
|
23416
23407
|
filterCount: o
|
|
23417
|
-
}) => /* @__PURE__ */ I.jsxs("div", { className:
|
|
23418
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
23408
|
+
}) => /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search standalone`), children: [
|
|
23409
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search-query`), children: [
|
|
23419
23410
|
/* @__PURE__ */ I.jsx(
|
|
23420
23411
|
"span",
|
|
23421
23412
|
{
|
|
23422
|
-
className:
|
|
23413
|
+
className: ce(
|
|
23423
23414
|
e,
|
|
23424
23415
|
`${te}-message-icon user-search-icon standalone`
|
|
23425
23416
|
),
|
|
@@ -23429,7 +23420,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23429
23420
|
/* @__PURE__ */ I.jsx(
|
|
23430
23421
|
"p",
|
|
23431
23422
|
{
|
|
23432
|
-
className:
|
|
23423
|
+
className: ce(e, `${te}-text bold`),
|
|
23433
23424
|
children: `${t}: ${n}`
|
|
23434
23425
|
}
|
|
23435
23426
|
),
|
|
@@ -23482,11 +23473,11 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23482
23473
|
facetFiltersList: r,
|
|
23483
23474
|
filterCount: u
|
|
23484
23475
|
}
|
|
23485
|
-
) : /* @__PURE__ */ I.jsxs("div", { className:
|
|
23476
|
+
) : /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search embedded`), children: [
|
|
23486
23477
|
/* @__PURE__ */ I.jsx(
|
|
23487
23478
|
"span",
|
|
23488
23479
|
{
|
|
23489
|
-
className:
|
|
23480
|
+
className: ce(
|
|
23490
23481
|
e,
|
|
23491
23482
|
`${te}-message-icon user-search-icon embedded`
|
|
23492
23483
|
),
|
|
@@ -23502,14 +23493,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23502
23493
|
isWidgetStandalone: n,
|
|
23503
23494
|
handleSuggestionClick: r
|
|
23504
23495
|
}) => {
|
|
23505
|
-
var
|
|
23506
|
-
const { connected: u } = _y();
|
|
23496
|
+
var o;
|
|
23507
23497
|
if (!e) return null;
|
|
23508
|
-
let
|
|
23509
|
-
if ($1.includes(
|
|
23498
|
+
let u = e.name;
|
|
23499
|
+
if ($1.includes(u) && (e.isInitial || e.isUserAction) && (u = "faceted_navigation"), $1.includes(u) && !((o = e.request) != null && o.userPrompt))
|
|
23510
23500
|
return null;
|
|
23511
|
-
|
|
23512
|
-
switch (o) {
|
|
23501
|
+
switch (u) {
|
|
23513
23502
|
case "copilot_search":
|
|
23514
23503
|
case "copilot_browse":
|
|
23515
23504
|
case "product_view":
|
|
@@ -23577,16 +23566,6 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23577
23566
|
message: e
|
|
23578
23567
|
}
|
|
23579
23568
|
);
|
|
23580
|
-
case "reconnect":
|
|
23581
|
-
return /* @__PURE__ */ I.jsxs("p", { className: ae(t, `${te}-reconnect-message`), children: [
|
|
23582
|
-
/* @__PURE__ */ I.jsx(
|
|
23583
|
-
"span",
|
|
23584
|
-
{
|
|
23585
|
-
className: ae(`${te}-connection-status-icon`, l)
|
|
23586
|
-
}
|
|
23587
|
-
),
|
|
23588
|
-
"Connection lost. Reconnecting to server."
|
|
23589
|
-
] });
|
|
23590
23569
|
default:
|
|
23591
23570
|
return null;
|
|
23592
23571
|
}
|
|
@@ -23599,7 +23578,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23599
23578
|
return t.map((u) => u.messages && u.type === "group" ? /* @__PURE__ */ I.jsx(
|
|
23600
23579
|
"div",
|
|
23601
23580
|
{
|
|
23602
|
-
className:
|
|
23581
|
+
className: ce(
|
|
23603
23582
|
r,
|
|
23604
23583
|
`${te}-message-group`,
|
|
23605
23584
|
e ? "standalone" : "embedded"
|
|
@@ -23619,7 +23598,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23619
23598
|
) : u.type === "individual" && u.message ? /* @__PURE__ */ I.jsx(
|
|
23620
23599
|
"div",
|
|
23621
23600
|
{
|
|
23622
|
-
className:
|
|
23601
|
+
className: ce(
|
|
23623
23602
|
r,
|
|
23624
23603
|
`${te}-message`,
|
|
23625
23604
|
e ? "standalone" : "embedded",
|
|
@@ -23648,7 +23627,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23648
23627
|
}, [u]), r ? !h || o.length === 0 ? null : /* @__PURE__ */ I.jsxs(
|
|
23649
23628
|
"div",
|
|
23650
23629
|
{
|
|
23651
|
-
className:
|
|
23630
|
+
className: ce(
|
|
23652
23631
|
e,
|
|
23653
23632
|
`${te}-container`,
|
|
23654
23633
|
`${te}-embedded-chat`
|
|
@@ -23658,7 +23637,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23658
23637
|
/* @__PURE__ */ I.jsxs(
|
|
23659
23638
|
"div",
|
|
23660
23639
|
{
|
|
23661
|
-
className:
|
|
23640
|
+
className: ce(e, `${te}-message-container`, "embedded"),
|
|
23662
23641
|
children: [
|
|
23663
23642
|
/* @__PURE__ */ I.jsx(
|
|
23664
23643
|
ep,
|
|
@@ -23973,15 +23952,6 @@ function c4(e) {
|
|
|
23973
23952
|
});
|
|
23974
23953
|
}
|
|
23975
23954
|
var gd = { exports: {} }, sn = {}, Ed = { exports: {} }, yd = {};
|
|
23976
|
-
/**
|
|
23977
|
-
* @license React
|
|
23978
|
-
* scheduler.production.min.js
|
|
23979
|
-
*
|
|
23980
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
23981
|
-
*
|
|
23982
|
-
* This source code is licensed under the MIT license found in the
|
|
23983
|
-
* LICENSE file in the root directory of this source tree.
|
|
23984
|
-
*/
|
|
23985
23955
|
var W1;
|
|
23986
23956
|
function f4() {
|
|
23987
23957
|
return W1 || (W1 = 1, function(e) {
|
|
@@ -24040,7 +24010,7 @@ function f4() {
|
|
|
24040
24010
|
if (x = !1, $(V), !S) if (n(d) !== null) S = !0, ve(he);
|
|
24041
24011
|
else {
|
|
24042
24012
|
var ne = n(h);
|
|
24043
|
-
ne !== null &&
|
|
24013
|
+
ne !== null && le(J, ne.startTime - V);
|
|
24044
24014
|
}
|
|
24045
24015
|
}
|
|
24046
24016
|
function he(V, ne) {
|
|
@@ -24059,7 +24029,7 @@ function f4() {
|
|
|
24059
24029
|
if (y !== null) var C = !0;
|
|
24060
24030
|
else {
|
|
24061
24031
|
var re = n(h);
|
|
24062
|
-
re !== null &&
|
|
24032
|
+
re !== null && le(J, re.startTime - ne), C = !1;
|
|
24063
24033
|
}
|
|
24064
24034
|
return C;
|
|
24065
24035
|
} finally {
|
|
@@ -24087,8 +24057,8 @@ function f4() {
|
|
|
24087
24057
|
H(me);
|
|
24088
24058
|
};
|
|
24089
24059
|
else if (typeof MessageChannel != "undefined") {
|
|
24090
|
-
var
|
|
24091
|
-
|
|
24060
|
+
var ae = new MessageChannel(), _e = ae.port2;
|
|
24061
|
+
ae.port1.onmessage = me, pe = function() {
|
|
24092
24062
|
_e.postMessage(null);
|
|
24093
24063
|
};
|
|
24094
24064
|
} else pe = function() {
|
|
@@ -24097,7 +24067,7 @@ function f4() {
|
|
|
24097
24067
|
function ve(V) {
|
|
24098
24068
|
Ee = V, M || (M = !0, pe());
|
|
24099
24069
|
}
|
|
24100
|
-
function
|
|
24070
|
+
function le(V, ne) {
|
|
24101
24071
|
xe = P(function() {
|
|
24102
24072
|
V(e.unstable_now());
|
|
24103
24073
|
}, ne);
|
|
@@ -24167,7 +24137,7 @@ function f4() {
|
|
|
24167
24137
|
default:
|
|
24168
24138
|
Y = 5e3;
|
|
24169
24139
|
}
|
|
24170
|
-
return Y = A + Y, V = { id: g++, callback: ne, priorityLevel: V, startTime: A, expirationTime: Y, sortIndex: -1 }, A > O ? (V.sortIndex = A, t(h, V), n(d) === null && V === n(h) && (x ? (L(xe), xe = -1) : x = !0,
|
|
24140
|
+
return Y = A + Y, V = { id: g++, callback: ne, priorityLevel: V, startTime: A, expirationTime: Y, sortIndex: -1 }, A > O ? (V.sortIndex = A, t(h, V), n(d) === null && V === n(h) && (x ? (L(xe), xe = -1) : x = !0, le(J, A - O))) : (V.sortIndex = Y, t(d, V), S || T || (S = !0, ve(he))), V;
|
|
24171
24141
|
}, e.unstable_shouldYield = ge, e.unstable_wrapCallback = function(V) {
|
|
24172
24142
|
var ne = b;
|
|
24173
24143
|
return function() {
|
|
@@ -24186,15 +24156,6 @@ var G1;
|
|
|
24186
24156
|
function d4() {
|
|
24187
24157
|
return G1 || (G1 = 1, Ed.exports = f4()), Ed.exports;
|
|
24188
24158
|
}
|
|
24189
|
-
/**
|
|
24190
|
-
* @license React
|
|
24191
|
-
* react-dom.production.min.js
|
|
24192
|
-
*
|
|
24193
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
24194
|
-
*
|
|
24195
|
-
* This source code is licensed under the MIT license found in the
|
|
24196
|
-
* LICENSE file in the root directory of this source tree.
|
|
24197
|
-
*/
|
|
24198
24159
|
var K1;
|
|
24199
24160
|
function h4() {
|
|
24200
24161
|
if (K1) return sn;
|
|
@@ -24291,7 +24252,7 @@ function h4() {
|
|
|
24291
24252
|
var m = P.hasOwnProperty(s) ? P[s] : null;
|
|
24292
24253
|
(m !== null ? m.type !== 0 : f || !(2 < s.length) || s[0] !== "o" && s[0] !== "O" || s[1] !== "n" && s[1] !== "N") && (S(s, a, m, f) && (a = null), f || m === null ? b(s) && (a === null ? i.removeAttribute(s) : i.setAttribute(s, "" + a)) : m.mustUseProperty ? i[m.propertyName] = a === null ? m.type === 3 ? !1 : "" : a : (s = m.attributeName, f = m.attributeNamespace, a === null ? i.removeAttribute(s) : (m = m.type, a = m === 3 || m === 4 && a === !0 ? "" : "" + a, f ? i.setAttributeNS(f, s, a) : i.setAttribute(s, a))));
|
|
24293
24254
|
}
|
|
24294
|
-
var J = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, he = Symbol.for("react.element"), M = Symbol.for("react.portal"), Ee = Symbol.for("react.fragment"), xe = Symbol.for("react.strict_mode"), Ne = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), ge = Symbol.for("react.context"), me = Symbol.for("react.forward_ref"), pe = Symbol.for("react.suspense"),
|
|
24255
|
+
var J = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, he = Symbol.for("react.element"), M = Symbol.for("react.portal"), Ee = Symbol.for("react.fragment"), xe = Symbol.for("react.strict_mode"), Ne = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), ge = Symbol.for("react.context"), me = Symbol.for("react.forward_ref"), pe = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), _e = Symbol.for("react.memo"), ve = Symbol.for("react.lazy"), le = Symbol.for("react.offscreen"), V = Symbol.iterator;
|
|
24295
24256
|
function ne(i) {
|
|
24296
24257
|
return i === null || typeof i != "object" ? null : (i = V && i[V] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
24297
24258
|
}
|
|
@@ -24399,7 +24360,7 @@ function h4() {
|
|
|
24399
24360
|
return "StrictMode";
|
|
24400
24361
|
case pe:
|
|
24401
24362
|
return "Suspense";
|
|
24402
|
-
case
|
|
24363
|
+
case ae:
|
|
24403
24364
|
return "SuspenseList";
|
|
24404
24365
|
}
|
|
24405
24366
|
if (typeof i == "object") switch (i.$$typeof) {
|
|
@@ -24635,7 +24596,7 @@ function h4() {
|
|
|
24635
24596
|
}
|
|
24636
24597
|
i.textContent = s;
|
|
24637
24598
|
}
|
|
24638
|
-
var
|
|
24599
|
+
var Dt = {
|
|
24639
24600
|
animationIterationCount: !0,
|
|
24640
24601
|
aspectRatio: !0,
|
|
24641
24602
|
borderImageOutset: !0,
|
|
@@ -24680,13 +24641,13 @@ function h4() {
|
|
|
24680
24641
|
strokeOpacity: !0,
|
|
24681
24642
|
strokeWidth: !0
|
|
24682
24643
|
}, cr = ["Webkit", "ms", "Moz", "O"];
|
|
24683
|
-
Object.keys(
|
|
24644
|
+
Object.keys(Dt).forEach(function(i) {
|
|
24684
24645
|
cr.forEach(function(s) {
|
|
24685
|
-
s = s + i.charAt(0).toUpperCase() + i.substring(1),
|
|
24646
|
+
s = s + i.charAt(0).toUpperCase() + i.substring(1), Dt[s] = Dt[i];
|
|
24686
24647
|
});
|
|
24687
24648
|
});
|
|
24688
24649
|
function Sn(i, s, a) {
|
|
24689
|
-
return s == null || typeof s == "boolean" || s === "" ? "" : a || typeof s != "number" || s === 0 ||
|
|
24650
|
+
return s == null || typeof s == "boolean" || s === "" ? "" : a || typeof s != "number" || s === 0 || Dt.hasOwnProperty(i) && Dt[i] ? ("" + s).trim() : s + "px";
|
|
24690
24651
|
}
|
|
24691
24652
|
function vr(i, s) {
|
|
24692
24653
|
i = i.style;
|
|
@@ -24696,7 +24657,7 @@ function h4() {
|
|
|
24696
24657
|
}
|
|
24697
24658
|
}
|
|
24698
24659
|
var ni = A({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
|
|
24699
|
-
function
|
|
24660
|
+
function Mt(i, s) {
|
|
24700
24661
|
if (s) {
|
|
24701
24662
|
if (ni[i] && (s.children != null || s.dangerouslySetInnerHTML != null)) throw Error(n(137, i));
|
|
24702
24663
|
if (s.dangerouslySetInnerHTML != null) {
|
|
@@ -27345,7 +27306,7 @@ Error generating stack: ` + E.message + `
|
|
|
27345
27306
|
default:
|
|
27346
27307
|
typeof m.onClick != "function" && typeof f.onClick == "function" && (i.onclick = qo);
|
|
27347
27308
|
}
|
|
27348
|
-
|
|
27309
|
+
Mt(a, f);
|
|
27349
27310
|
var _;
|
|
27350
27311
|
a = null;
|
|
27351
27312
|
for (j in m) if (!f.hasOwnProperty(j) && m.hasOwnProperty(j) && m[j] != null) if (j === "style") {
|
|
@@ -27455,7 +27416,7 @@ Error generating stack: ` + E.message + `
|
|
|
27455
27416
|
case "textarea":
|
|
27456
27417
|
_o(f, E), it("invalid", f);
|
|
27457
27418
|
}
|
|
27458
|
-
|
|
27419
|
+
Mt(a, E), m = null;
|
|
27459
27420
|
for (var _ in E) if (E.hasOwnProperty(_)) {
|
|
27460
27421
|
var w = E[_];
|
|
27461
27422
|
_ === "children" ? typeof w == "string" ? f.textContent !== w && (E.suppressHydrationWarning !== !0 && Vo(f.textContent, w, i), m = ["children", w]) : typeof w == "number" && f.textContent !== "" + w && (E.suppressHydrationWarning !== !0 && Vo(
|
|
@@ -27524,7 +27485,7 @@ Error generating stack: ` + E.message + `
|
|
|
27524
27485
|
default:
|
|
27525
27486
|
m = f;
|
|
27526
27487
|
}
|
|
27527
|
-
|
|
27488
|
+
Mt(a, m), w = m;
|
|
27528
27489
|
for (E in w) if (w.hasOwnProperty(E)) {
|
|
27529
27490
|
var R = w[E];
|
|
27530
27491
|
E === "style" ? vr(i, R) : E === "dangerouslySetInnerHTML" ? (R = R ? R.__html : void 0, R != null && je(i, R)) : E === "children" ? typeof R == "string" ? (a !== "textarea" || R !== "") && Ke(i, R) : typeof R == "number" && Ke(i, "" + R) : E !== "suppressContentEditableWarning" && E !== "suppressHydrationWarning" && E !== "autoFocus" && (u.hasOwnProperty(E) ? R != null && E === "onScroll" && it("scroll", i) : R != null && $(i, E, R, _));
|
|
@@ -27822,7 +27783,7 @@ Error generating stack: ` + E.message + `
|
|
|
27822
27783
|
if (f === 5 || f === 6) i = i.stateNode, s ? a.insertBefore(i, s) : a.appendChild(i);
|
|
27823
27784
|
else if (f !== 4 && (i = i.child, i !== null)) for (yf(i, s, a), i = i.sibling; i !== null; ) yf(i, s, a), i = i.sibling;
|
|
27824
27785
|
}
|
|
27825
|
-
var
|
|
27786
|
+
var Ft = null, Bn = !1;
|
|
27826
27787
|
function jr(i, s, a) {
|
|
27827
27788
|
for (a = a.child; a !== null; ) Am(i, s, a), a = a.sibling;
|
|
27828
27789
|
}
|
|
@@ -27835,14 +27796,14 @@ Error generating stack: ` + E.message + `
|
|
|
27835
27796
|
case 5:
|
|
27836
27797
|
$t || es(a, s);
|
|
27837
27798
|
case 6:
|
|
27838
|
-
var f =
|
|
27839
|
-
|
|
27799
|
+
var f = Ft, m = Bn;
|
|
27800
|
+
Ft = null, jr(i, s, a), Ft = f, Bn = m, Ft !== null && (Bn ? (i = Ft, a = a.stateNode, i.nodeType === 8 ? i.parentNode.removeChild(a) : i.removeChild(a)) : Ft.removeChild(a.stateNode));
|
|
27840
27801
|
break;
|
|
27841
27802
|
case 18:
|
|
27842
|
-
|
|
27803
|
+
Ft !== null && (Bn ? (i = Ft, a = a.stateNode, i.nodeType === 8 ? Ic(i.parentNode, a) : i.nodeType === 1 && Ic(i, a), Js(i)) : Ic(Ft, a.stateNode));
|
|
27843
27804
|
break;
|
|
27844
27805
|
case 4:
|
|
27845
|
-
f =
|
|
27806
|
+
f = Ft, m = Bn, Ft = a.stateNode.containerInfo, Bn = !0, jr(i, s, a), Ft = f, Bn = m;
|
|
27846
27807
|
break;
|
|
27847
27808
|
case 0:
|
|
27848
27809
|
case 11:
|
|
@@ -27895,19 +27856,19 @@ Error generating stack: ` + E.message + `
|
|
|
27895
27856
|
e: for (; w !== null; ) {
|
|
27896
27857
|
switch (w.tag) {
|
|
27897
27858
|
case 5:
|
|
27898
|
-
|
|
27859
|
+
Ft = w.stateNode, Bn = !1;
|
|
27899
27860
|
break e;
|
|
27900
27861
|
case 3:
|
|
27901
|
-
|
|
27862
|
+
Ft = w.stateNode.containerInfo, Bn = !0;
|
|
27902
27863
|
break e;
|
|
27903
27864
|
case 4:
|
|
27904
|
-
|
|
27865
|
+
Ft = w.stateNode.containerInfo, Bn = !0;
|
|
27905
27866
|
break e;
|
|
27906
27867
|
}
|
|
27907
27868
|
w = w.return;
|
|
27908
27869
|
}
|
|
27909
|
-
if (
|
|
27910
|
-
Am(E, _, m),
|
|
27870
|
+
if (Ft === null) throw Error(n(160));
|
|
27871
|
+
Am(E, _, m), Ft = null, Bn = !1;
|
|
27911
27872
|
var R = m.alternate;
|
|
27912
27873
|
R !== null && (R.return = null), m.return = null;
|
|
27913
27874
|
} catch (j) {
|
|
@@ -28304,21 +28265,21 @@ Error generating stack: ` + E.message + `
|
|
|
28304
28265
|
Se = s.return;
|
|
28305
28266
|
}
|
|
28306
28267
|
}
|
|
28307
|
-
var M2 = Math.ceil, ma = J.ReactCurrentDispatcher, Tf = J.ReactCurrentOwner, Nn = J.ReactCurrentBatchConfig, Qe = 0, vt = null, _t = null,
|
|
28268
|
+
var M2 = Math.ceil, ma = J.ReactCurrentDispatcher, Tf = J.ReactCurrentOwner, Nn = J.ReactCurrentBatchConfig, Qe = 0, vt = null, _t = null, Bt = 0, gn = 0, ts = Fr(0), xt = 0, _u = null, fi = 0, ga = 0, bf = 0, Su = null, tn = null, _f = 0, ns = 1 / 0, yr = null, Ea = !1, Sf = null, $r = null, ya = !1, Vr = null, Ta = 0, Cu = 0, Cf = null, ba = -1, _a = 0;
|
|
28308
28269
|
function Kt() {
|
|
28309
28270
|
return (Qe & 6) !== 0 ? pt() : ba !== -1 ? ba : ba = pt();
|
|
28310
28271
|
}
|
|
28311
28272
|
function qr(i) {
|
|
28312
|
-
return (i.mode & 1) === 0 ? 1 : (Qe & 2) !== 0 &&
|
|
28273
|
+
return (i.mode & 1) === 0 ? 1 : (Qe & 2) !== 0 && Bt !== 0 ? Bt & -Bt : T2.transition !== null ? (_a === 0 && (_a = Cp()), _a) : (i = Ze, i !== 0 || (i = window.event, i = i === void 0 ? 16 : Pp(i.type)), i);
|
|
28313
28274
|
}
|
|
28314
28275
|
function Hn(i, s, a, f) {
|
|
28315
28276
|
if (50 < Cu) throw Cu = 0, Cf = null, Error(n(185));
|
|
28316
|
-
Ws(i, a, f), ((Qe & 2) === 0 || i !== vt) && (i === vt && ((Qe & 2) === 0 && (ga |= a), xt === 4 && Yr(i,
|
|
28277
|
+
Ws(i, a, f), ((Qe & 2) === 0 || i !== vt) && (i === vt && ((Qe & 2) === 0 && (ga |= a), xt === 4 && Yr(i, Bt)), nn(i, f), a === 1 && Qe === 0 && (s.mode & 1) === 0 && (ns = pt() + 500, Ko && Ur()));
|
|
28317
28278
|
}
|
|
28318
28279
|
function nn(i, s) {
|
|
28319
28280
|
var a = i.callbackNode;
|
|
28320
28281
|
T_(i, s);
|
|
28321
|
-
var f = Io(i, i === vt ?
|
|
28282
|
+
var f = Io(i, i === vt ? Bt : 0);
|
|
28322
28283
|
if (f === 0) a !== null && bp(a), i.callbackNode = null, i.callbackPriority = 0;
|
|
28323
28284
|
else if (s = f & -f, i.callbackPriority !== s) {
|
|
28324
28285
|
if (a != null && bp(a), s === 1) i.tag === 0 ? y2(Pm.bind(null, i)) : E0(Pm.bind(null, i)), p2(function() {
|
|
@@ -28350,7 +28311,7 @@ Error generating stack: ` + E.message + `
|
|
|
28350
28311
|
if (ba = -1, _a = 0, (Qe & 6) !== 0) throw Error(n(327));
|
|
28351
28312
|
var a = i.callbackNode;
|
|
28352
28313
|
if (rs() && i.callbackNode !== a) return null;
|
|
28353
|
-
var f = Io(i, i === vt ?
|
|
28314
|
+
var f = Io(i, i === vt ? Bt : 0);
|
|
28354
28315
|
if (f === 0) return null;
|
|
28355
28316
|
if ((f & 30) !== 0 || (f & i.expiredLanes) !== 0 || s) s = Sa(i, f);
|
|
28356
28317
|
else {
|
|
@@ -28358,7 +28319,7 @@ Error generating stack: ` + E.message + `
|
|
|
28358
28319
|
var m = Qe;
|
|
28359
28320
|
Qe |= 2;
|
|
28360
28321
|
var E = Lm();
|
|
28361
|
-
(vt !== i ||
|
|
28322
|
+
(vt !== i || Bt !== s) && (yr = null, ns = pt() + 500, hi(i, s));
|
|
28362
28323
|
do
|
|
28363
28324
|
try {
|
|
28364
28325
|
U2();
|
|
@@ -28367,7 +28328,7 @@ Error generating stack: ` + E.message + `
|
|
|
28367
28328
|
Rm(i, w);
|
|
28368
28329
|
}
|
|
28369
28330
|
while (!0);
|
|
28370
|
-
Hc(), ma.current = E, Qe = m, _t !== null ? s = 0 : (vt = null,
|
|
28331
|
+
Hc(), ma.current = E, Qe = m, _t !== null ? s = 0 : (vt = null, Bt = 0, s = xt);
|
|
28371
28332
|
}
|
|
28372
28333
|
if (s !== 0) {
|
|
28373
28334
|
if (s === 2 && (m = nc(i), m !== 0 && (f = m, s = Af(i, m))), s === 1) throw a = _u, hi(i, 0), Yr(i, f), nn(i, pt()), a;
|
|
@@ -28524,7 +28485,7 @@ Error generating stack: ` + E.message + `
|
|
|
28524
28485
|
}
|
|
28525
28486
|
a = a.return;
|
|
28526
28487
|
}
|
|
28527
|
-
if (vt = i, _t = i = Wr(i.current, null),
|
|
28488
|
+
if (vt = i, _t = i = Wr(i.current, null), Bt = gn = s, xt = 0, _u = null, bf = ga = fi = 0, tn = Su = null, ai !== null) {
|
|
28528
28489
|
for (s = 0; s < ai.length; s++) if (a = ai[s], f = a.interleaved, f !== null) {
|
|
28529
28490
|
a.interleaved = null;
|
|
28530
28491
|
var m = f.next, E = a.pending;
|
|
@@ -28555,7 +28516,7 @@ Error generating stack: ` + E.message + `
|
|
|
28555
28516
|
}
|
|
28556
28517
|
e: {
|
|
28557
28518
|
var E = i, _ = a.return, w = a, R = s;
|
|
28558
|
-
if (s =
|
|
28519
|
+
if (s = Bt, w.flags |= 32768, R !== null && typeof R == "object" && typeof R.then == "function") {
|
|
28559
28520
|
var j = R, ee = w, ie = ee.tag;
|
|
28560
28521
|
if ((ee.mode & 1) === 0 && (ie === 0 || ie === 11 || ie === 15)) {
|
|
28561
28522
|
var X = ee.alternate;
|
|
@@ -28618,13 +28579,13 @@ Error generating stack: ` + E.message + `
|
|
|
28618
28579
|
return ma.current = la, i === null ? la : i;
|
|
28619
28580
|
}
|
|
28620
28581
|
function wf() {
|
|
28621
|
-
(xt === 0 || xt === 3 || xt === 2) && (xt = 4), vt === null || (fi & 268435455) === 0 && (ga & 268435455) === 0 || Yr(vt,
|
|
28582
|
+
(xt === 0 || xt === 3 || xt === 2) && (xt = 4), vt === null || (fi & 268435455) === 0 && (ga & 268435455) === 0 || Yr(vt, Bt);
|
|
28622
28583
|
}
|
|
28623
28584
|
function Sa(i, s) {
|
|
28624
28585
|
var a = Qe;
|
|
28625
28586
|
Qe |= 2;
|
|
28626
28587
|
var f = Lm();
|
|
28627
|
-
(vt !== i ||
|
|
28588
|
+
(vt !== i || Bt !== s) && (yr = null, hi(i, s));
|
|
28628
28589
|
do
|
|
28629
28590
|
try {
|
|
28630
28591
|
B2();
|
|
@@ -28634,7 +28595,7 @@ Error generating stack: ` + E.message + `
|
|
|
28634
28595
|
}
|
|
28635
28596
|
while (!0);
|
|
28636
28597
|
if (Hc(), Qe = a, ma.current = f, _t !== null) throw Error(n(261));
|
|
28637
|
-
return vt = null,
|
|
28598
|
+
return vt = null, Bt = 0, xt;
|
|
28638
28599
|
}
|
|
28639
28600
|
function B2() {
|
|
28640
28601
|
for (; _t !== null; ) Dm(_t);
|
|
@@ -28694,7 +28655,7 @@ Error generating stack: ` + E.message + `
|
|
|
28694
28655
|
if (i.finishedWork = null, i.finishedLanes = 0, a === i.current) throw Error(n(177));
|
|
28695
28656
|
i.callbackNode = null, i.callbackPriority = 0;
|
|
28696
28657
|
var E = a.lanes | a.childLanes;
|
|
28697
|
-
if (b_(i, E), i === vt && (_t = vt = null,
|
|
28658
|
+
if (b_(i, E), i === vt && (_t = vt = null, Bt = 0), (a.subtreeFlags & 2064) === 0 && (a.flags & 2064) === 0 || ya || (ya = !0, Hm(xo, function() {
|
|
28698
28659
|
return rs(), null;
|
|
28699
28660
|
})), E = (a.flags & 15990) !== 0, (a.subtreeFlags & 15990) !== 0 || E) {
|
|
28700
28661
|
E = Nn.transition, Nn.transition = null;
|
|
@@ -28839,7 +28800,7 @@ Error generating stack: ` + E.message + `
|
|
|
28839
28800
|
}
|
|
28840
28801
|
function z2(i, s, a) {
|
|
28841
28802
|
var f = i.pingCache;
|
|
28842
|
-
f !== null && f.delete(s), s = Kt(), i.pingedLanes |= i.suspendedLanes & a, vt === i && (
|
|
28803
|
+
f !== null && f.delete(s), s = Kt(), i.pingedLanes |= i.suspendedLanes & a, vt === i && (Bt & a) === a && (xt === 4 || xt === 3 && (Bt & 130023424) === Bt && 500 > pt() - _f ? hi(i, 0) : bf |= a), nn(i, s);
|
|
28843
28804
|
}
|
|
28844
28805
|
function Bm(i, s) {
|
|
28845
28806
|
s === 0 && ((i.mode & 1) === 0 ? s = 1 : (s = vo, vo <<= 1, (vo & 130023424) === 0 && (vo = 4194304)));
|
|
@@ -29053,9 +29014,9 @@ Error generating stack: ` + E.message + `
|
|
|
29053
29014
|
return i = wn(12, a, s, m | 2), i.elementType = Ne, i.lanes = E, i;
|
|
29054
29015
|
case pe:
|
|
29055
29016
|
return i = wn(13, a, s, m), i.elementType = pe, i.lanes = E, i;
|
|
29017
|
+
case ae:
|
|
29018
|
+
return i = wn(19, a, s, m), i.elementType = ae, i.lanes = E, i;
|
|
29056
29019
|
case le:
|
|
29057
|
-
return i = wn(19, a, s, m), i.elementType = le, i.lanes = E, i;
|
|
29058
|
-
case ce:
|
|
29059
29020
|
return Aa(a, m, E, s);
|
|
29060
29021
|
default:
|
|
29061
29022
|
if (typeof i == "object" && i !== null) switch (i.$$typeof) {
|
|
@@ -29083,7 +29044,7 @@ Error generating stack: ` + E.message + `
|
|
|
29083
29044
|
return i = wn(7, i, f, s), i.lanes = a, i;
|
|
29084
29045
|
}
|
|
29085
29046
|
function Aa(i, s, a, f) {
|
|
29086
|
-
return i = wn(22, i, f, s), i.elementType =
|
|
29047
|
+
return i = wn(22, i, f, s), i.elementType = le, i.lanes = a, i.stateNode = { isHidden: !1 }, i;
|
|
29087
29048
|
}
|
|
29088
29049
|
function If(i, s, a) {
|
|
29089
29050
|
return i = wn(6, i, null, s), i.lanes = a, i;
|
|
@@ -29445,12 +29406,12 @@ var g4 = (e, t) => {
|
|
|
29445
29406
|
}), []);
|
|
29446
29407
|
};
|
|
29447
29408
|
function jb(e, t = {}) {
|
|
29448
|
-
var ge, me, pe,
|
|
29409
|
+
var ge, me, pe, ae, _e, ve;
|
|
29449
29410
|
const n = K.useMemo(() => {
|
|
29450
|
-
const { id:
|
|
29451
|
-
return c4({ id:
|
|
29452
|
-
}, [t]), r = (...
|
|
29453
|
-
e.debug && console.log(...
|
|
29411
|
+
const { id: le, ids: V, getRootNode: ne } = t;
|
|
29412
|
+
return c4({ id: le, ids: V, getRootNode: ne });
|
|
29413
|
+
}, [t]), r = (...le) => {
|
|
29414
|
+
e.debug && console.log(...le);
|
|
29454
29415
|
}, u = (me = (ge = e.props) == null ? void 0 : ge.call(e, { props: vb(t), scope: n })) != null ? me : t, o = E4(u), l = (pe = e.context) == null ? void 0 : pe.call(e, {
|
|
29455
29416
|
prop: o,
|
|
29456
29417
|
bindable: bl,
|
|
@@ -29469,22 +29430,22 @@ function jb(e, t = {}) {
|
|
|
29469
29430
|
return T();
|
|
29470
29431
|
}
|
|
29471
29432
|
}), c = $b(l), d = {
|
|
29472
|
-
get(
|
|
29433
|
+
get(le) {
|
|
29473
29434
|
var V;
|
|
29474
|
-
return (V = c.current) == null ? void 0 : V[
|
|
29435
|
+
return (V = c.current) == null ? void 0 : V[le].ref.current;
|
|
29475
29436
|
},
|
|
29476
|
-
set(
|
|
29437
|
+
set(le, V) {
|
|
29477
29438
|
var ne;
|
|
29478
|
-
(ne = c.current) == null || ne[
|
|
29439
|
+
(ne = c.current) == null || ne[le].set(V);
|
|
29479
29440
|
},
|
|
29480
|
-
initial(
|
|
29441
|
+
initial(le) {
|
|
29481
29442
|
var V;
|
|
29482
|
-
return (V = c.current) == null ? void 0 : V[
|
|
29443
|
+
return (V = c.current) == null ? void 0 : V[le].initial;
|
|
29483
29444
|
},
|
|
29484
|
-
hash(
|
|
29445
|
+
hash(le) {
|
|
29485
29446
|
var ne, A;
|
|
29486
|
-
const V = (ne = c.current) == null ? void 0 : ne[
|
|
29487
|
-
return (A = c.current) == null ? void 0 : A[
|
|
29447
|
+
const V = (ne = c.current) == null ? void 0 : ne[le].get();
|
|
29448
|
+
return (A = c.current) == null ? void 0 : A[le].hash(V);
|
|
29488
29449
|
}
|
|
29489
29450
|
}, h = K.useRef(/* @__PURE__ */ new Map()), g = K.useRef(null), y = K.useRef(null), b = K.useRef({ type: "" }), T = () => Fe(G({}, b.current), {
|
|
29490
29451
|
current() {
|
|
@@ -29494,14 +29455,14 @@ function jb(e, t = {}) {
|
|
|
29494
29455
|
return y.current;
|
|
29495
29456
|
}
|
|
29496
29457
|
}), S = () => Fe(G({}, M), {
|
|
29497
|
-
matches(...
|
|
29498
|
-
return
|
|
29458
|
+
matches(...le) {
|
|
29459
|
+
return le.includes(M.ref.current);
|
|
29499
29460
|
},
|
|
29500
|
-
hasTag(
|
|
29461
|
+
hasTag(le) {
|
|
29501
29462
|
var V, ne;
|
|
29502
|
-
return !!((ne = (V = e.states[M.ref.current]) == null ? void 0 : V.tags) != null && ne.includes(
|
|
29463
|
+
return !!((ne = (V = e.states[M.ref.current]) == null ? void 0 : V.tags) != null && ne.includes(le));
|
|
29503
29464
|
}
|
|
29504
|
-
}), x = m4((_e = (
|
|
29465
|
+
}), x = m4((_e = (ae = e.refs) == null ? void 0 : ae.call(e, { prop: o, context: d })) != null ? _e : {}), P = () => ({
|
|
29505
29466
|
state: S(),
|
|
29506
29467
|
context: d,
|
|
29507
29468
|
event: T(),
|
|
@@ -29515,8 +29476,8 @@ function jb(e, t = {}) {
|
|
|
29515
29476
|
flush: X1,
|
|
29516
29477
|
scope: n,
|
|
29517
29478
|
choose: J
|
|
29518
|
-
}), L = (
|
|
29519
|
-
const V = ms(
|
|
29479
|
+
}), L = (le) => {
|
|
29480
|
+
const V = ms(le) ? le(P()) : le;
|
|
29520
29481
|
if (!V) return;
|
|
29521
29482
|
const ne = V.map((A) => {
|
|
29522
29483
|
var Y, C;
|
|
@@ -29525,11 +29486,11 @@ function jb(e, t = {}) {
|
|
|
29525
29486
|
});
|
|
29526
29487
|
for (const A of ne)
|
|
29527
29488
|
A == null || A(P());
|
|
29528
|
-
}, H = (
|
|
29489
|
+
}, H = (le) => {
|
|
29529
29490
|
var V, ne;
|
|
29530
|
-
return ms(
|
|
29531
|
-
}, $ = (
|
|
29532
|
-
const V = ms(
|
|
29491
|
+
return ms(le) ? le(P()) : (ne = (V = e.implementations) == null ? void 0 : V.guards) == null ? void 0 : ne[le](P());
|
|
29492
|
+
}, $ = (le) => {
|
|
29493
|
+
const V = ms(le) ? le(P()) : le;
|
|
29533
29494
|
if (!V) return;
|
|
29534
29495
|
const ne = V.map((O) => {
|
|
29535
29496
|
var C, re;
|
|
@@ -29541,12 +29502,12 @@ function jb(e, t = {}) {
|
|
|
29541
29502
|
Y && A.push(Y);
|
|
29542
29503
|
}
|
|
29543
29504
|
return () => A.forEach((O) => O == null ? void 0 : O());
|
|
29544
|
-
}, J = (
|
|
29505
|
+
}, J = (le) => C6(le).find((V) => {
|
|
29545
29506
|
let ne = !V.guard;
|
|
29546
29507
|
return il(V.guard) ? ne = !!H(V.guard) : ms(V.guard) && (ne = V.guard(P())), ne;
|
|
29547
|
-
}), he = (
|
|
29508
|
+
}), he = (le) => {
|
|
29548
29509
|
R6(e.computed, () => "[zag-js] No computed object found on machine");
|
|
29549
|
-
const V = e.computed[
|
|
29510
|
+
const V = e.computed[le];
|
|
29550
29511
|
return V({
|
|
29551
29512
|
context: d,
|
|
29552
29513
|
event: T(),
|
|
@@ -29557,20 +29518,20 @@ function jb(e, t = {}) {
|
|
|
29557
29518
|
});
|
|
29558
29519
|
}, M = bl(() => ({
|
|
29559
29520
|
defaultValue: e.initialState({ prop: o }),
|
|
29560
|
-
onChange(
|
|
29521
|
+
onChange(le, V) {
|
|
29561
29522
|
var A, O, Y, C;
|
|
29562
29523
|
if (V) {
|
|
29563
29524
|
const re = h.current.get(V);
|
|
29564
29525
|
re == null || re(), h.current.delete(V);
|
|
29565
29526
|
}
|
|
29566
29527
|
V && L((A = e.states[V]) == null ? void 0 : A.exit), L((O = g.current) == null ? void 0 : O.actions);
|
|
29567
|
-
const ne = $((Y = e.states[
|
|
29568
|
-
if (ne && h.current.set(
|
|
29528
|
+
const ne = $((Y = e.states[le]) == null ? void 0 : Y.effects);
|
|
29529
|
+
if (ne && h.current.set(le, ne), V === md) {
|
|
29569
29530
|
L(e.entry);
|
|
29570
29531
|
const re = $(e.effects);
|
|
29571
29532
|
re && h.current.set(md, re);
|
|
29572
29533
|
}
|
|
29573
|
-
L((C = e.states[
|
|
29534
|
+
L((C = e.states[le]) == null ? void 0 : C.entry);
|
|
29574
29535
|
}
|
|
29575
29536
|
})), Ee = K.useRef(void 0), xe = K.useRef(hs.NotStarted);
|
|
29576
29537
|
zb(() => {
|
|
@@ -29581,24 +29542,24 @@ function jb(e, t = {}) {
|
|
|
29581
29542
|
const A = (O = Ee.current) != null ? O : M.initial;
|
|
29582
29543
|
M.invoke(A, ne ? M.get() : md);
|
|
29583
29544
|
});
|
|
29584
|
-
const
|
|
29545
|
+
const le = h.current, V = M.ref.current;
|
|
29585
29546
|
return () => {
|
|
29586
|
-
r("unmounting..."), Ee.current = V, xe.current = hs.Stopped,
|
|
29547
|
+
r("unmounting..."), Ee.current = V, xe.current = hs.Stopped, le.forEach((ne) => ne == null ? void 0 : ne()), h.current = /* @__PURE__ */ new Map(), g.current = null, queueMicrotask(() => {
|
|
29587
29548
|
L(e.exit);
|
|
29588
29549
|
});
|
|
29589
29550
|
};
|
|
29590
29551
|
}, []);
|
|
29591
|
-
const Ne = () => "ref" in M ? M.ref.current : M.get(), U = (
|
|
29552
|
+
const Ne = () => "ref" in M ? M.ref.current : M.get(), U = (le) => {
|
|
29592
29553
|
queueMicrotask(() => {
|
|
29593
29554
|
var C, re, be, ye, we;
|
|
29594
29555
|
if (xe.current !== hs.Started) return;
|
|
29595
|
-
y.current = b.current, b.current =
|
|
29556
|
+
y.current = b.current, b.current = le, r("send", le);
|
|
29596
29557
|
let V = Ne();
|
|
29597
29558
|
const ne = (
|
|
29598
29559
|
// @ts-ignore
|
|
29599
|
-
(be = (C = e.states[V].on) == null ? void 0 : C[
|
|
29560
|
+
(be = (C = e.states[V].on) == null ? void 0 : C[le.type]) != null ? be : (
|
|
29600
29561
|
// @ts-ignore
|
|
29601
|
-
(re = e.on) == null ? void 0 : re[
|
|
29562
|
+
(re = e.on) == null ? void 0 : re[le.type]
|
|
29602
29563
|
)
|
|
29603
29564
|
), A = J(ne);
|
|
29604
29565
|
if (!A) return;
|
|
@@ -31036,7 +30997,7 @@ const n_ = (e) => {
|
|
|
31036
30997
|
children: /* @__PURE__ */ I.jsx(n_, { children: /* @__PURE__ */ I.jsx(
|
|
31037
30998
|
op,
|
|
31038
30999
|
{
|
|
31039
|
-
className:
|
|
31000
|
+
className: ce(
|
|
31040
31001
|
n,
|
|
31041
31002
|
`${te}-container`,
|
|
31042
31003
|
`${te}-dialog`,
|
|
@@ -31046,7 +31007,7 @@ const n_ = (e) => {
|
|
|
31046
31007
|
children: /* @__PURE__ */ I.jsxs(
|
|
31047
31008
|
sp,
|
|
31048
31009
|
{
|
|
31049
|
-
className:
|
|
31010
|
+
className: ce(n, `${te}-dialog-content`, {
|
|
31050
31011
|
standalone: x,
|
|
31051
31012
|
embedded: !x
|
|
31052
31013
|
}),
|
|
@@ -31054,7 +31015,7 @@ const n_ = (e) => {
|
|
|
31054
31015
|
/* @__PURE__ */ I.jsxs(
|
|
31055
31016
|
"div",
|
|
31056
31017
|
{
|
|
31057
|
-
className:
|
|
31018
|
+
className: ce(n, `${te}-dialog-header`, {
|
|
31058
31019
|
standalone: x,
|
|
31059
31020
|
embedded: !x
|
|
31060
31021
|
}),
|
|
@@ -31064,7 +31025,7 @@ const n_ = (e) => {
|
|
|
31064
31025
|
{
|
|
31065
31026
|
alt: "",
|
|
31066
31027
|
role: "img",
|
|
31067
|
-
className:
|
|
31028
|
+
className: ce(n, `${te}-dialog-logo`, {
|
|
31068
31029
|
standalone: x,
|
|
31069
31030
|
embedded: !x
|
|
31070
31031
|
}),
|
|
@@ -31074,14 +31035,14 @@ const n_ = (e) => {
|
|
|
31074
31035
|
/* @__PURE__ */ I.jsx(
|
|
31075
31036
|
ap,
|
|
31076
31037
|
{
|
|
31077
|
-
className:
|
|
31038
|
+
className: ce(n, `${te}-dialog-title`, {
|
|
31078
31039
|
standalone: x,
|
|
31079
31040
|
embedded: !x
|
|
31080
31041
|
}),
|
|
31081
31042
|
children: t
|
|
31082
31043
|
}
|
|
31083
31044
|
),
|
|
31084
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
31045
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(n, `${te}-dialog-controls`), children: [
|
|
31085
31046
|
/* @__PURE__ */ I.jsx(
|
|
31086
31047
|
eo,
|
|
31087
31048
|
{
|
|
@@ -31106,7 +31067,7 @@ const n_ = (e) => {
|
|
|
31106
31067
|
/* @__PURE__ */ I.jsxs(
|
|
31107
31068
|
up,
|
|
31108
31069
|
{
|
|
31109
|
-
className:
|
|
31070
|
+
className: ce(n, `${te}-message-container`, {
|
|
31110
31071
|
standalone: x,
|
|
31111
31072
|
embedded: !x
|
|
31112
31073
|
}),
|
|
@@ -31162,19 +31123,19 @@ const n_ = (e) => {
|
|
|
31162
31123
|
return !S || h.length === 0 ? null : c ? /* @__PURE__ */ I.jsx(t_, { lazyMount: !0, open: S, onOpenChange: P, children: /* @__PURE__ */ I.jsx(n_, { children: /* @__PURE__ */ I.jsxs(
|
|
31163
31124
|
"div",
|
|
31164
31125
|
{
|
|
31165
|
-
className:
|
|
31126
|
+
className: ce(n, `${te}-modal-container`),
|
|
31166
31127
|
style: r,
|
|
31167
31128
|
children: [
|
|
31168
31129
|
/* @__PURE__ */ I.jsx(
|
|
31169
31130
|
Yb,
|
|
31170
31131
|
{
|
|
31171
|
-
className:
|
|
31132
|
+
className: ce(n, `${te}-modal-backdrop`)
|
|
31172
31133
|
}
|
|
31173
31134
|
),
|
|
31174
31135
|
/* @__PURE__ */ I.jsx(
|
|
31175
31136
|
op,
|
|
31176
31137
|
{
|
|
31177
|
-
className:
|
|
31138
|
+
className: ce(
|
|
31178
31139
|
n,
|
|
31179
31140
|
`${te}-container`,
|
|
31180
31141
|
`${te}-modal`,
|
|
@@ -31187,7 +31148,7 @@ const n_ = (e) => {
|
|
|
31187
31148
|
children: /* @__PURE__ */ I.jsxs(
|
|
31188
31149
|
sp,
|
|
31189
31150
|
{
|
|
31190
|
-
className:
|
|
31151
|
+
className: ce(n, `${te}-modal-content`, {
|
|
31191
31152
|
standalone: x,
|
|
31192
31153
|
embedded: !x
|
|
31193
31154
|
}),
|
|
@@ -31195,7 +31156,7 @@ const n_ = (e) => {
|
|
|
31195
31156
|
/* @__PURE__ */ I.jsxs(
|
|
31196
31157
|
"div",
|
|
31197
31158
|
{
|
|
31198
|
-
className:
|
|
31159
|
+
className: ce(n, `${te}-modal-header`, {
|
|
31199
31160
|
standalone: x,
|
|
31200
31161
|
embedded: !x
|
|
31201
31162
|
}),
|
|
@@ -31205,7 +31166,7 @@ const n_ = (e) => {
|
|
|
31205
31166
|
{
|
|
31206
31167
|
alt: "",
|
|
31207
31168
|
role: "img",
|
|
31208
|
-
className:
|
|
31169
|
+
className: ce(n, `${te}-modal-logo`, {
|
|
31209
31170
|
standalone: x,
|
|
31210
31171
|
embedded: !x
|
|
31211
31172
|
}),
|
|
@@ -31215,19 +31176,19 @@ const n_ = (e) => {
|
|
|
31215
31176
|
/* @__PURE__ */ I.jsx(
|
|
31216
31177
|
ap,
|
|
31217
31178
|
{
|
|
31218
|
-
className:
|
|
31179
|
+
className: ce(n, `${te}-modal-title`, {
|
|
31219
31180
|
standalone: x,
|
|
31220
31181
|
embedded: !x
|
|
31221
31182
|
}),
|
|
31222
31183
|
children: t
|
|
31223
31184
|
}
|
|
31224
31185
|
),
|
|
31225
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
31186
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(n, `${te}-modal-controls`), children: [
|
|
31226
31187
|
/* @__PURE__ */ I.jsx(
|
|
31227
31188
|
eo,
|
|
31228
31189
|
{
|
|
31229
31190
|
ariaLabel: "Toggle Fullscreen",
|
|
31230
|
-
className:
|
|
31191
|
+
className: ce(
|
|
31231
31192
|
n,
|
|
31232
31193
|
`${te}-modal-fullscreen-button`
|
|
31233
31194
|
),
|
|
@@ -31239,7 +31200,7 @@ const n_ = (e) => {
|
|
|
31239
31200
|
eo,
|
|
31240
31201
|
{
|
|
31241
31202
|
ariaLabel: "Toggle Dialog",
|
|
31242
|
-
className:
|
|
31203
|
+
className: ce(
|
|
31243
31204
|
n,
|
|
31244
31205
|
`${te}-modal-toggle-dialog-button`
|
|
31245
31206
|
),
|
|
@@ -31255,7 +31216,7 @@ const n_ = (e) => {
|
|
|
31255
31216
|
/* @__PURE__ */ I.jsxs(
|
|
31256
31217
|
up,
|
|
31257
31218
|
{
|
|
31258
|
-
className:
|
|
31219
|
+
className: ce(n, `${te}-message-container`, {
|
|
31259
31220
|
standalone: x,
|
|
31260
31221
|
embedded: !x
|
|
31261
31222
|
}),
|