@cimulate/copilot-widget 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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));
|
|
@@ -140,7 +140,7 @@ function rS() {
|
|
|
140
140
|
function pe(O, Y) {
|
|
141
141
|
return typeof O == "object" && O !== null && O.key != null ? ge("" + O.key) : Y.toString(36);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function ae(O, Y, C, re, be) {
|
|
144
144
|
var ye = typeof O;
|
|
145
145
|
(ye === "undefined" || ye === "boolean") && (O = null);
|
|
146
146
|
var we = !1;
|
|
@@ -157,22 +157,22 @@ function rS() {
|
|
|
157
157
|
we = !0;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
if (we) return we = O, be = be(we), O = re === "" ? "." + pe(we, 0) : re, J(be) ? (C = "", O != null && (C = O.replace(me, "$&/") + "/"),
|
|
160
|
+
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
161
|
return qe;
|
|
162
162
|
})) : 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
163
|
if (we = 0, re = re === "" ? "." : re + ":", J(O)) for (var Le = 0; Le < O.length; Le++) {
|
|
164
164
|
ye = O[Le];
|
|
165
165
|
var Be = re + pe(ye, Le);
|
|
166
|
-
we +=
|
|
166
|
+
we += ae(ye, Y, C, Be, be);
|
|
167
167
|
}
|
|
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 +=
|
|
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 += ae(ye, Y, C, Be, be);
|
|
169
169
|
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
170
|
return we;
|
|
171
171
|
}
|
|
172
172
|
function _e(O, Y, C) {
|
|
173
173
|
if (O == null) return O;
|
|
174
174
|
var re = [], be = 0;
|
|
175
|
-
return
|
|
175
|
+
return ae(O, re, "", "", function(ye) {
|
|
176
176
|
return Y.call(C, ye, be++);
|
|
177
177
|
}), re;
|
|
178
178
|
}
|
|
@@ -188,7 +188,7 @@ function rS() {
|
|
|
188
188
|
if (O._status === 1) return O._result.default;
|
|
189
189
|
throw O._result;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
191
|
+
var le = { current: null }, V = { transition: null }, ne = { ReactCurrentDispatcher: le, ReactCurrentBatchConfig: V, ReactCurrentOwner: M };
|
|
192
192
|
function A() {
|
|
193
193
|
throw Error("act(...) is not supported in production builds of React.");
|
|
194
194
|
}
|
|
@@ -245,34 +245,34 @@ function rS() {
|
|
|
245
245
|
V.transition = Y;
|
|
246
246
|
}
|
|
247
247
|
}, $e.unstable_act = A, $e.useCallback = function(O, Y) {
|
|
248
|
-
return
|
|
248
|
+
return le.current.useCallback(O, Y);
|
|
249
249
|
}, $e.useContext = function(O) {
|
|
250
|
-
return
|
|
250
|
+
return le.current.useContext(O);
|
|
251
251
|
}, $e.useDebugValue = function() {
|
|
252
252
|
}, $e.useDeferredValue = function(O) {
|
|
253
|
-
return
|
|
253
|
+
return le.current.useDeferredValue(O);
|
|
254
254
|
}, $e.useEffect = function(O, Y) {
|
|
255
|
-
return
|
|
255
|
+
return le.current.useEffect(O, Y);
|
|
256
256
|
}, $e.useId = function() {
|
|
257
|
-
return
|
|
257
|
+
return le.current.useId();
|
|
258
258
|
}, $e.useImperativeHandle = function(O, Y, C) {
|
|
259
|
-
return
|
|
259
|
+
return le.current.useImperativeHandle(O, Y, C);
|
|
260
260
|
}, $e.useInsertionEffect = function(O, Y) {
|
|
261
|
-
return
|
|
261
|
+
return le.current.useInsertionEffect(O, Y);
|
|
262
262
|
}, $e.useLayoutEffect = function(O, Y) {
|
|
263
|
-
return
|
|
263
|
+
return le.current.useLayoutEffect(O, Y);
|
|
264
264
|
}, $e.useMemo = function(O, Y) {
|
|
265
|
-
return
|
|
265
|
+
return le.current.useMemo(O, Y);
|
|
266
266
|
}, $e.useReducer = function(O, Y, C) {
|
|
267
|
-
return
|
|
267
|
+
return le.current.useReducer(O, Y, C);
|
|
268
268
|
}, $e.useRef = function(O) {
|
|
269
|
-
return
|
|
269
|
+
return le.current.useRef(O);
|
|
270
270
|
}, $e.useState = function(O) {
|
|
271
|
-
return
|
|
271
|
+
return le.current.useState(O);
|
|
272
272
|
}, $e.useSyncExternalStore = function(O, Y, C) {
|
|
273
|
-
return
|
|
273
|
+
return le.current.useSyncExternalStore(O, Y, C);
|
|
274
274
|
}, $e.useTransition = function() {
|
|
275
|
-
return
|
|
275
|
+
return le.current.useTransition();
|
|
276
276
|
}, $e.version = "18.3.1", $e;
|
|
277
277
|
}
|
|
278
278
|
var Qm;
|
|
@@ -2917,17 +2917,17 @@ class EC {
|
|
|
2917
2917
|
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
2918
|
}
|
|
2919
2919
|
browse(t, n) {
|
|
2920
|
-
return
|
|
2920
|
+
return Ot(this, null, function* () {
|
|
2921
2921
|
return this.asyncResponse("copilot_browse", t, n);
|
|
2922
2922
|
});
|
|
2923
2923
|
}
|
|
2924
2924
|
search(t, n) {
|
|
2925
|
-
return
|
|
2925
|
+
return Ot(this, null, function* () {
|
|
2926
2926
|
return this.asyncResponse("copilot_search", t, n);
|
|
2927
2927
|
});
|
|
2928
2928
|
}
|
|
2929
2929
|
facetedNavigation(t, n) {
|
|
2930
|
-
return
|
|
2930
|
+
return Ot(this, null, function* () {
|
|
2931
2931
|
return this.asyncResponse("faceted_navigation", t, n);
|
|
2932
2932
|
});
|
|
2933
2933
|
}
|
|
@@ -2938,12 +2938,12 @@ class EC {
|
|
|
2938
2938
|
return this.asyncResponse("conversation_reset", t, n);
|
|
2939
2939
|
}
|
|
2940
2940
|
productView(t, n) {
|
|
2941
|
-
return
|
|
2941
|
+
return Ot(this, null, function* () {
|
|
2942
2942
|
return this.asyncResponse("product_view", t, n);
|
|
2943
2943
|
});
|
|
2944
2944
|
}
|
|
2945
2945
|
requestSessionInformation(t) {
|
|
2946
|
-
return
|
|
2946
|
+
return Ot(this, null, function* () {
|
|
2947
2947
|
return new Promise((n) => {
|
|
2948
2948
|
this.socket.emit("session_info", (r) => {
|
|
2949
2949
|
t && t(r), n(r);
|
|
@@ -2951,6 +2951,15 @@ class EC {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
});
|
|
2953
2953
|
}
|
|
2954
|
+
getConversationEvents(t, n) {
|
|
2955
|
+
return Ot(this, null, function* () {
|
|
2956
|
+
return new Promise((r) => {
|
|
2957
|
+
this.socket.emit("conversation_events", t, (u) => {
|
|
2958
|
+
n && n(u), r(u);
|
|
2959
|
+
});
|
|
2960
|
+
});
|
|
2961
|
+
});
|
|
2962
|
+
}
|
|
2954
2963
|
on(t, n) {
|
|
2955
2964
|
return this.socket.on(t, n), n;
|
|
2956
2965
|
}
|
|
@@ -2967,7 +2976,7 @@ class EC {
|
|
|
2967
2976
|
this.socket.on("disconnect", t);
|
|
2968
2977
|
}
|
|
2969
2978
|
asyncResponse(t, n, r) {
|
|
2970
|
-
return
|
|
2979
|
+
return Ot(this, null, function* () {
|
|
2971
2980
|
if (r) return void this.socket.emit(t, n, r);
|
|
2972
2981
|
let u = "";
|
|
2973
2982
|
const o = function(l) {
|
|
@@ -2992,7 +3001,7 @@ class EC {
|
|
|
2992
3001
|
const d = (h, g) => {
|
|
2993
3002
|
["done", "error"].includes(g.name) && c(), g.eventSourceId == u && l(g);
|
|
2994
3003
|
};
|
|
2995
|
-
return this.socket.onAny(d), () =>
|
|
3004
|
+
return this.socket.onAny(d), () => Ot(this, null, function* () {
|
|
2996
3005
|
this.socket.offAny(d);
|
|
2997
3006
|
});
|
|
2998
3007
|
});
|
|
@@ -4154,7 +4163,7 @@ const zE = (e) => {
|
|
|
4154
4163
|
};
|
|
4155
4164
|
return new ReadableStream({
|
|
4156
4165
|
pull(h) {
|
|
4157
|
-
return
|
|
4166
|
+
return Ot(this, null, function* () {
|
|
4158
4167
|
try {
|
|
4159
4168
|
const { done: g, value: y } = yield u.next();
|
|
4160
4169
|
if (g) {
|
|
@@ -4197,7 +4206,7 @@ const zE = (e) => {
|
|
|
4197
4206
|
const { fetch: t, Request: n, Response: r } = e, u = t ? Ma(t) : typeof fetch == "function", o = Ma(n), l = Ma(r);
|
|
4198
4207
|
if (!u)
|
|
4199
4208
|
return !1;
|
|
4200
|
-
const c = u && Ma(yg), d = u && (typeof Tg == "function" ? /* @__PURE__ */ ((S) => (x) => S.encode(x))(new Tg()) : (S) =>
|
|
4209
|
+
const c = u && Ma(yg), d = u && (typeof Tg == "function" ? /* @__PURE__ */ ((S) => (x) => S.encode(x))(new Tg()) : (S) => Ot(null, null, function* () {
|
|
4201
4210
|
return new Uint8Array(yield new n(S).arrayBuffer());
|
|
4202
4211
|
})), h = o && c && bg(() => {
|
|
4203
4212
|
let S = !1;
|
|
@@ -4220,7 +4229,7 @@ const zE = (e) => {
|
|
|
4220
4229
|
throw new He(`Response type '${S}' is not supported`, He.ERR_NOT_SUPPORT, P);
|
|
4221
4230
|
});
|
|
4222
4231
|
});
|
|
4223
|
-
const b = (S) =>
|
|
4232
|
+
const b = (S) => Ot(null, null, function* () {
|
|
4224
4233
|
if (S == null)
|
|
4225
4234
|
return 0;
|
|
4226
4235
|
if (q.isBlob(S))
|
|
@@ -4234,11 +4243,11 @@ const zE = (e) => {
|
|
|
4234
4243
|
return S.byteLength;
|
|
4235
4244
|
if (q.isURLSearchParams(S) && (S = S + ""), q.isString(S))
|
|
4236
4245
|
return (yield d(S)).byteLength;
|
|
4237
|
-
}), T = (S, x) =>
|
|
4246
|
+
}), T = (S, x) => Ot(null, null, function* () {
|
|
4238
4247
|
const P = q.toFiniteNumber(S.getContentLength());
|
|
4239
4248
|
return P == null ? b(x) : P;
|
|
4240
4249
|
});
|
|
4241
|
-
return (S) =>
|
|
4250
|
+
return (S) => Ot(null, null, function* () {
|
|
4242
4251
|
let {
|
|
4243
4252
|
url: x,
|
|
4244
4253
|
method: P,
|
|
@@ -4255,7 +4264,7 @@ const zE = (e) => {
|
|
|
4255
4264
|
} = zE(S), ge = t || fetch;
|
|
4256
4265
|
Ee = Ee ? (Ee + "").toLowerCase() : "text";
|
|
4257
4266
|
let me = LA([H, $ && $.toAbortSignal()], J), pe = null;
|
|
4258
|
-
const
|
|
4267
|
+
const ae = me && me.unsubscribe && (() => {
|
|
4259
4268
|
me.unsubscribe();
|
|
4260
4269
|
});
|
|
4261
4270
|
let _e;
|
|
@@ -4275,7 +4284,7 @@ const zE = (e) => {
|
|
|
4275
4284
|
}
|
|
4276
4285
|
}
|
|
4277
4286
|
q.isString(Ne) || (Ne = Ne ? "include" : "omit");
|
|
4278
|
-
const ve = o && "credentials" in n.prototype,
|
|
4287
|
+
const ve = o && "credentials" in n.prototype, le = Fe(G({}, U), {
|
|
4279
4288
|
signal: me,
|
|
4280
4289
|
method: P.toUpperCase(),
|
|
4281
4290
|
headers: xe.normalize().toJSON(),
|
|
@@ -4283,10 +4292,10 @@ const zE = (e) => {
|
|
|
4283
4292
|
duplex: "half",
|
|
4284
4293
|
credentials: ve ? Ne : void 0
|
|
4285
4294
|
});
|
|
4286
|
-
pe = o && new n(x,
|
|
4287
|
-
let V = yield o ? ge(pe, U) : ge(x,
|
|
4295
|
+
pe = o && new n(x, le);
|
|
4296
|
+
let V = yield o ? ge(pe, U) : ge(x, le);
|
|
4288
4297
|
const ne = g && (Ee === "stream" || Ee === "response");
|
|
4289
|
-
if (g && (he || ne &&
|
|
4298
|
+
if (g && (he || ne && ae)) {
|
|
4290
4299
|
const O = {};
|
|
4291
4300
|
["status", "statusText", "headers"].forEach((be) => {
|
|
4292
4301
|
O[be] = V[be];
|
|
@@ -4297,14 +4306,14 @@ const zE = (e) => {
|
|
|
4297
4306
|
) || [];
|
|
4298
4307
|
V = new r(
|
|
4299
4308
|
gg(V.body, Eg, C, () => {
|
|
4300
|
-
re && re(),
|
|
4309
|
+
re && re(), ae && ae();
|
|
4301
4310
|
}),
|
|
4302
4311
|
O
|
|
4303
4312
|
);
|
|
4304
4313
|
}
|
|
4305
4314
|
Ee = Ee || "text";
|
|
4306
4315
|
let A = yield y[q.findKey(y, Ee) || "text"](V, S);
|
|
4307
|
-
return !ne &&
|
|
4316
|
+
return !ne && ae && ae(), yield new Promise((O, Y) => {
|
|
4308
4317
|
UE(O, Y, {
|
|
4309
4318
|
data: A,
|
|
4310
4319
|
headers: ln.from(V.headers),
|
|
@@ -4315,7 +4324,7 @@ const zE = (e) => {
|
|
|
4315
4324
|
});
|
|
4316
4325
|
});
|
|
4317
4326
|
} catch (ve) {
|
|
4318
|
-
throw
|
|
4327
|
+
throw ae && ae(), ve && ve.name === "TypeError" && /Load failed|fetch/i.test(ve.message) ? Object.assign(
|
|
4319
4328
|
new He("Network Error", He.ERR_NETWORK, S, pe),
|
|
4320
4329
|
{
|
|
4321
4330
|
cause: ve.cause || ve
|
|
@@ -4470,7 +4479,7 @@ let Ci = class {
|
|
|
4470
4479
|
* @returns {Promise} The Promise to be fulfilled
|
|
4471
4480
|
*/
|
|
4472
4481
|
request(t, n) {
|
|
4473
|
-
return
|
|
4482
|
+
return Ot(this, null, function* () {
|
|
4474
4483
|
try {
|
|
4475
4484
|
return yield this._request(t, n);
|
|
4476
4485
|
} catch (r) {
|
|
@@ -4779,7 +4788,7 @@ class WE {
|
|
|
4779
4788
|
Re(this, "CIMULATE_SEARCH_API_PATH", "api/v1");
|
|
4780
4789
|
Re(this, "baseApiUrl");
|
|
4781
4790
|
Re(this, "headers", {});
|
|
4782
|
-
Re(this, "fetchConfig", () =>
|
|
4791
|
+
Re(this, "fetchConfig", () => Ot(this, null, function* () {
|
|
4783
4792
|
try {
|
|
4784
4793
|
const t = yield Tt.get(
|
|
4785
4794
|
`${this.apiUrl}/configs/copilot`,
|
|
@@ -4863,7 +4872,7 @@ function vl(e) {
|
|
|
4863
4872
|
function Il(e) {
|
|
4864
4873
|
return e instanceof Set;
|
|
4865
4874
|
}
|
|
4866
|
-
function
|
|
4875
|
+
function Rt(e) {
|
|
4867
4876
|
return e.copy_ || e.base_;
|
|
4868
4877
|
}
|
|
4869
4878
|
function Md(e, t) {
|
|
@@ -5035,24 +5044,24 @@ var Ch = {
|
|
|
5035
5044
|
get(e, t) {
|
|
5036
5045
|
if (t === Je)
|
|
5037
5046
|
return e;
|
|
5038
|
-
const n =
|
|
5047
|
+
const n = Rt(e);
|
|
5039
5048
|
if (!Dd(n, t))
|
|
5040
5049
|
return tk(e, n, t);
|
|
5041
5050
|
const r = n[t];
|
|
5042
5051
|
return e.finalized_ || !Ar(r) ? r : r === Yf(e.base_, t) ? (Wf(e), e.copy_[t] = Ju(r, e)) : r;
|
|
5043
5052
|
},
|
|
5044
5053
|
has(e, t) {
|
|
5045
|
-
return t in
|
|
5054
|
+
return t in Rt(e);
|
|
5046
5055
|
},
|
|
5047
5056
|
ownKeys(e) {
|
|
5048
|
-
return Reflect.ownKeys(
|
|
5057
|
+
return Reflect.ownKeys(Rt(e));
|
|
5049
5058
|
},
|
|
5050
5059
|
set(e, t, n) {
|
|
5051
|
-
const r = XE(
|
|
5060
|
+
const r = XE(Rt(e), t);
|
|
5052
5061
|
if (r != null && r.set)
|
|
5053
5062
|
return r.set.call(e.draft_, n), !0;
|
|
5054
5063
|
if (!e.modified_) {
|
|
5055
|
-
const u = Yf(
|
|
5064
|
+
const u = Yf(Rt(e), t), o = u == null ? void 0 : u[Je];
|
|
5056
5065
|
if (o && o.base_ === n)
|
|
5057
5066
|
return e.copy_[t] = n, e.assigned_[t] = !1, !0;
|
|
5058
5067
|
if (KA(n, u) && (n !== void 0 || Dd(e.base_, t)))
|
|
@@ -5069,7 +5078,7 @@ var Ch = {
|
|
|
5069
5078
|
// Note: We never coerce `desc.value` into an Immer draft, because we can't make
|
|
5070
5079
|
// the same guarantee in ES5 mode.
|
|
5071
5080
|
getOwnPropertyDescriptor(e, t) {
|
|
5072
|
-
const n =
|
|
5081
|
+
const n = Rt(e), r = Reflect.getOwnPropertyDescriptor(n, t);
|
|
5073
5082
|
return r && {
|
|
5074
5083
|
writable: !0,
|
|
5075
5084
|
configurable: e.type_ !== 1 || t !== "length",
|
|
@@ -5100,7 +5109,7 @@ Xu.set = function(e, t, n) {
|
|
|
5100
5109
|
};
|
|
5101
5110
|
function Yf(e, t) {
|
|
5102
5111
|
const n = e[Je];
|
|
5103
|
-
return (n ?
|
|
5112
|
+
return (n ? Rt(n) : e)[t];
|
|
5104
5113
|
}
|
|
5105
5114
|
function tk(e, t, n) {
|
|
5106
5115
|
var u;
|
|
@@ -5254,14 +5263,14 @@ function ik() {
|
|
|
5254
5263
|
};
|
|
5255
5264
|
}
|
|
5256
5265
|
get size() {
|
|
5257
|
-
return
|
|
5266
|
+
return Rt(this[Je]).size;
|
|
5258
5267
|
}
|
|
5259
5268
|
has(d) {
|
|
5260
|
-
return
|
|
5269
|
+
return Rt(this[Je]).has(d);
|
|
5261
5270
|
}
|
|
5262
5271
|
set(d, h) {
|
|
5263
5272
|
const g = this[Je];
|
|
5264
|
-
return l(g), (!
|
|
5273
|
+
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
5274
|
}
|
|
5266
5275
|
delete(d) {
|
|
5267
5276
|
if (!this.has(d))
|
|
@@ -5271,27 +5280,27 @@ function ik() {
|
|
|
5271
5280
|
}
|
|
5272
5281
|
clear() {
|
|
5273
5282
|
const d = this[Je];
|
|
5274
|
-
l(d),
|
|
5283
|
+
l(d), Rt(d).size && (n(d), _r(d), d.assigned_ = /* @__PURE__ */ new Map(), Ku(d.base_, (h) => {
|
|
5275
5284
|
d.assigned_.set(h, !1);
|
|
5276
5285
|
}), d.copy_.clear());
|
|
5277
5286
|
}
|
|
5278
5287
|
forEach(d, h) {
|
|
5279
5288
|
const g = this[Je];
|
|
5280
|
-
|
|
5289
|
+
Rt(g).forEach((y, b, T) => {
|
|
5281
5290
|
d.call(h, this.get(b), b, this);
|
|
5282
5291
|
});
|
|
5283
5292
|
}
|
|
5284
5293
|
get(d) {
|
|
5285
5294
|
const h = this[Je];
|
|
5286
5295
|
l(h);
|
|
5287
|
-
const g =
|
|
5296
|
+
const g = Rt(h).get(d);
|
|
5288
5297
|
if (h.finalized_ || !Ar(g) || g !== h.base_.get(d))
|
|
5289
5298
|
return g;
|
|
5290
5299
|
const y = Ju(g, h);
|
|
5291
5300
|
return n(h), h.copy_.set(d, y), y;
|
|
5292
5301
|
}
|
|
5293
5302
|
keys() {
|
|
5294
|
-
return
|
|
5303
|
+
return Rt(this[Je]).keys();
|
|
5295
5304
|
}
|
|
5296
5305
|
values() {
|
|
5297
5306
|
const d = this.keys();
|
|
@@ -5349,7 +5358,7 @@ function ik() {
|
|
|
5349
5358
|
};
|
|
5350
5359
|
}
|
|
5351
5360
|
get size() {
|
|
5352
|
-
return
|
|
5361
|
+
return Rt(this[Je]).size;
|
|
5353
5362
|
}
|
|
5354
5363
|
has(d) {
|
|
5355
5364
|
const h = this[Je];
|
|
@@ -5370,7 +5379,7 @@ function ik() {
|
|
|
5370
5379
|
}
|
|
5371
5380
|
clear() {
|
|
5372
5381
|
const d = this[Je];
|
|
5373
|
-
l(d),
|
|
5382
|
+
l(d), Rt(d).size && (o(d), _r(d), d.copy_.clear());
|
|
5374
5383
|
}
|
|
5375
5384
|
values() {
|
|
5376
5385
|
const d = this[Je];
|
|
@@ -5406,7 +5415,7 @@ function ik() {
|
|
|
5406
5415
|
}));
|
|
5407
5416
|
}
|
|
5408
5417
|
function l(c) {
|
|
5409
|
-
c.revoked_ && Pn(3, JSON.stringify(
|
|
5418
|
+
c.revoked_ && Pn(3, JSON.stringify(Rt(c)));
|
|
5410
5419
|
}
|
|
5411
5420
|
XA("MapSet", { proxyMap_: t, proxySet_: u });
|
|
5412
5421
|
}
|
|
@@ -5491,7 +5500,7 @@ class ck {
|
|
|
5491
5500
|
constructor(t, n, r = !1) {
|
|
5492
5501
|
Re(this, "apiService");
|
|
5493
5502
|
Re(this, "config", null);
|
|
5494
|
-
Re(this, "getConfig", () =>
|
|
5503
|
+
Re(this, "getConfig", () => Ot(this, null, function* () {
|
|
5495
5504
|
if (this.config)
|
|
5496
5505
|
return this.config;
|
|
5497
5506
|
try {
|
|
@@ -6245,20 +6254,13 @@ const Et = new Gk(), fs = {
|
|
|
6245
6254
|
"transport error",
|
|
6246
6255
|
"server shutting down"
|
|
6247
6256
|
];
|
|
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
|
-
});
|
|
6257
|
+
if (c == null || c.log("Connection disconnected with reason: ", re), !be.includes(re)) {
|
|
6258
|
+
T(!1);
|
|
6259
6259
|
return;
|
|
6260
6260
|
}
|
|
6261
|
-
c == null || c.log("De-registering event listeners")
|
|
6261
|
+
c == null || c.log("De-registering event listeners");
|
|
6262
|
+
const ye = (/* @__PURE__ */ new Date()).toISOString();
|
|
6263
|
+
x({
|
|
6262
6264
|
name: "error",
|
|
6263
6265
|
message: "Connection was lost. Please try again.",
|
|
6264
6266
|
createdAt: ye,
|
|
@@ -6288,7 +6290,7 @@ const Et = new Gk(), fs = {
|
|
|
6288
6290
|
be.disconnect(), be.off(), S();
|
|
6289
6291
|
};
|
|
6290
6292
|
});
|
|
6291
|
-
const
|
|
6293
|
+
const ae = K.useCallback(
|
|
6292
6294
|
({
|
|
6293
6295
|
query: C,
|
|
6294
6296
|
facetFilters: re,
|
|
@@ -6355,7 +6357,7 @@ const Et = new Gk(), fs = {
|
|
|
6355
6357
|
});
|
|
6356
6358
|
},
|
|
6357
6359
|
[c, H, U]
|
|
6358
|
-
),
|
|
6360
|
+
), le = K.useCallback(
|
|
6359
6361
|
(C) => {
|
|
6360
6362
|
if (!H) return;
|
|
6361
6363
|
const re = { eventId: C, reason: "User cancelled the request" };
|
|
@@ -6366,13 +6368,13 @@ const Et = new Gk(), fs = {
|
|
|
6366
6368
|
[x, L, H]
|
|
6367
6369
|
), V = K.useCallback(
|
|
6368
6370
|
(C) => {
|
|
6369
|
-
!C || !d ||
|
|
6371
|
+
!C || !d || ae(Fe(G({
|
|
6370
6372
|
query: d
|
|
6371
6373
|
}, h), {
|
|
6372
6374
|
userPrompt: C
|
|
6373
6375
|
}));
|
|
6374
6376
|
},
|
|
6375
|
-
[d, h,
|
|
6377
|
+
[d, h, ae]
|
|
6376
6378
|
), ne = K.useCallback(
|
|
6377
6379
|
(C, re) => {
|
|
6378
6380
|
var Le, qe;
|
|
@@ -6382,7 +6384,7 @@ const Et = new Gk(), fs = {
|
|
|
6382
6384
|
if (we) {
|
|
6383
6385
|
if (we.name === "copilot_search") {
|
|
6384
6386
|
const Be = ((Le = we.request) == null ? void 0 : Le.searchParams) || {}, { query: ht } = Be, bt = zn(Be, ["query"]);
|
|
6385
|
-
ht &&
|
|
6387
|
+
ht && ae(Fe(G(G({
|
|
6386
6388
|
query: ht || d
|
|
6387
6389
|
}, h), bt), {
|
|
6388
6390
|
userPrompt: ye
|
|
@@ -6408,7 +6410,7 @@ const Et = new Gk(), fs = {
|
|
|
6408
6410
|
g,
|
|
6409
6411
|
y,
|
|
6410
6412
|
$,
|
|
6411
|
-
|
|
6413
|
+
ae,
|
|
6412
6414
|
_e,
|
|
6413
6415
|
ve
|
|
6414
6416
|
]
|
|
@@ -6418,24 +6420,24 @@ const Et = new Gk(), fs = {
|
|
|
6418
6420
|
groupedMessages: J,
|
|
6419
6421
|
isLoading: xe,
|
|
6420
6422
|
isResponseLoading: Ne,
|
|
6421
|
-
handleSearch:
|
|
6423
|
+
handleSearch: ae,
|
|
6422
6424
|
handleBrowse: _e,
|
|
6423
6425
|
handlePdp: ve,
|
|
6424
6426
|
handleUserInput: V,
|
|
6425
6427
|
handleSuggestion: ne,
|
|
6426
|
-
handleCancel:
|
|
6428
|
+
handleCancel: le
|
|
6427
6429
|
}), [
|
|
6428
6430
|
H,
|
|
6429
6431
|
$,
|
|
6430
6432
|
J,
|
|
6431
6433
|
xe,
|
|
6432
6434
|
Ne,
|
|
6433
|
-
|
|
6435
|
+
ae,
|
|
6434
6436
|
_e,
|
|
6435
6437
|
ve,
|
|
6436
6438
|
V,
|
|
6437
6439
|
ne,
|
|
6438
|
-
|
|
6440
|
+
le
|
|
6439
6441
|
]);
|
|
6440
6442
|
return /* @__PURE__ */ I.jsx(Sy.Provider, { value: A, children: l });
|
|
6441
6443
|
}, Os = () => {
|
|
@@ -6648,7 +6650,7 @@ function Ay(e) {
|
|
|
6648
6650
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
6649
6651
|
return r;
|
|
6650
6652
|
}
|
|
6651
|
-
function
|
|
6653
|
+
function ce() {
|
|
6652
6654
|
for (var e, t, n = 0, r = "", u = arguments.length; n < u; n++) (e = arguments[n]) && (t = Ay(e)) && (r && (r += " "), r += t);
|
|
6653
6655
|
return r;
|
|
6654
6656
|
}
|
|
@@ -6787,7 +6789,7 @@ function gx(e) {
|
|
|
6787
6789
|
const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }) => /* @__PURE__ */ I.jsx(
|
|
6788
6790
|
"button",
|
|
6789
6791
|
{
|
|
6790
|
-
className:
|
|
6792
|
+
className: ce(`${te}-button`, e, { disabled: r }),
|
|
6791
6793
|
type: n || "button",
|
|
6792
6794
|
disabled: r,
|
|
6793
6795
|
onClick: u,
|
|
@@ -6803,7 +6805,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6803
6805
|
}) => /* @__PURE__ */ I.jsx(
|
|
6804
6806
|
"button",
|
|
6805
6807
|
{
|
|
6806
|
-
className:
|
|
6808
|
+
className: ce(e, `${te}-icon-button`),
|
|
6807
6809
|
type: n,
|
|
6808
6810
|
"aria-label": r,
|
|
6809
6811
|
onClick: o,
|
|
@@ -6819,7 +6821,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6819
6821
|
}) => t ? /* @__PURE__ */ I.jsx(
|
|
6820
6822
|
vh,
|
|
6821
6823
|
{
|
|
6822
|
-
className:
|
|
6824
|
+
className: ce(n, r, e),
|
|
6823
6825
|
type: "submit",
|
|
6824
6826
|
disabled: u,
|
|
6825
6827
|
children: t
|
|
@@ -6827,7 +6829,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6827
6829
|
) : /* @__PURE__ */ I.jsx(
|
|
6828
6830
|
eo,
|
|
6829
6831
|
{
|
|
6830
|
-
className:
|
|
6832
|
+
className: ce(n, r, e),
|
|
6831
6833
|
type: "submit",
|
|
6832
6834
|
disabled: u,
|
|
6833
6835
|
ariaLabel: "Search Copilot",
|
|
@@ -6839,46 +6841,53 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6839
6841
|
componentType: n,
|
|
6840
6842
|
onSubmit: r
|
|
6841
6843
|
}) => {
|
|
6842
|
-
const {
|
|
6843
|
-
var
|
|
6844
|
-
|
|
6845
|
-
const
|
|
6846
|
-
|
|
6847
|
-
};
|
|
6844
|
+
const { connected: u } = _y(), { globalClassName: o, searchPlaceholder: l, searchButtonLabel: c } = ur(), d = K.useRef(null), h = (b) => {
|
|
6845
|
+
var S;
|
|
6846
|
+
b.preventDefault();
|
|
6847
|
+
const T = (((S = d.current) == null ? void 0 : S.value) || "").trim();
|
|
6848
|
+
T && (r(T), d.current.value = "");
|
|
6849
|
+
}, g = !!u || !1, y = g ? "connected" : "disconnected";
|
|
6848
6850
|
return /* @__PURE__ */ I.jsxs(
|
|
6849
6851
|
"form",
|
|
6850
6852
|
{
|
|
6851
|
-
className:
|
|
6852
|
-
|
|
6853
|
+
className: ce(
|
|
6854
|
+
o,
|
|
6853
6855
|
e,
|
|
6854
6856
|
n,
|
|
6855
6857
|
`${te}-search-bar`
|
|
6856
6858
|
),
|
|
6857
6859
|
name: `${te}-search-form`,
|
|
6858
|
-
onSubmit:
|
|
6860
|
+
onSubmit: h,
|
|
6859
6861
|
children: [
|
|
6862
|
+
/* @__PURE__ */ I.jsx(
|
|
6863
|
+
"span",
|
|
6864
|
+
{
|
|
6865
|
+
role: "status",
|
|
6866
|
+
className: ce(`${te}-connection-status-icon`, y)
|
|
6867
|
+
}
|
|
6868
|
+
),
|
|
6860
6869
|
/* @__PURE__ */ I.jsx(
|
|
6861
6870
|
"input",
|
|
6862
6871
|
{
|
|
6863
|
-
className:
|
|
6864
|
-
|
|
6872
|
+
className: ce(
|
|
6873
|
+
o,
|
|
6865
6874
|
e,
|
|
6866
6875
|
n,
|
|
6867
6876
|
`${te}-search-input`
|
|
6868
6877
|
),
|
|
6869
6878
|
type: "text",
|
|
6870
|
-
ref:
|
|
6871
|
-
placeholder:
|
|
6879
|
+
ref: d,
|
|
6880
|
+
placeholder: l,
|
|
6872
6881
|
name: `${te}-user-input`
|
|
6873
6882
|
}
|
|
6874
6883
|
),
|
|
6875
6884
|
/* @__PURE__ */ I.jsx(
|
|
6876
6885
|
Ex,
|
|
6877
6886
|
{
|
|
6878
|
-
searchButtonLabel:
|
|
6879
|
-
globalClassName:
|
|
6887
|
+
searchButtonLabel: c,
|
|
6888
|
+
globalClassName: o,
|
|
6880
6889
|
componentType: n,
|
|
6881
|
-
isLoading: t
|
|
6890
|
+
isLoading: t || !g
|
|
6882
6891
|
}
|
|
6883
6892
|
)
|
|
6884
6893
|
]
|
|
@@ -6894,7 +6903,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6894
6903
|
return /* @__PURE__ */ I.jsxs(
|
|
6895
6904
|
"div",
|
|
6896
6905
|
{
|
|
6897
|
-
className:
|
|
6906
|
+
className: ce(r, `${te}-product-tile`, {
|
|
6898
6907
|
embedded: !e,
|
|
6899
6908
|
standalone: e
|
|
6900
6909
|
}),
|
|
@@ -6902,7 +6911,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6902
6911
|
/* @__PURE__ */ I.jsx(
|
|
6903
6912
|
"img",
|
|
6904
6913
|
{
|
|
6905
|
-
className:
|
|
6914
|
+
className: ce(r, `${te}-product-tile-image`, {
|
|
6906
6915
|
embedded: !e,
|
|
6907
6916
|
standalone: e
|
|
6908
6917
|
}),
|
|
@@ -6914,18 +6923,18 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6914
6923
|
/* @__PURE__ */ I.jsxs(
|
|
6915
6924
|
"div",
|
|
6916
6925
|
{
|
|
6917
|
-
className:
|
|
6926
|
+
className: ce(r, `${te}-product-tile-details`, {
|
|
6918
6927
|
embedded: !e,
|
|
6919
6928
|
standalone: e
|
|
6920
6929
|
}),
|
|
6921
6930
|
children: [
|
|
6922
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
6931
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(r, `${te}-product-tile-content`), children: [
|
|
6923
6932
|
o && /* @__PURE__ */ I.jsx("p", { className: `${te}-product-tile-brand`, children: o }),
|
|
6924
6933
|
g ? /* @__PURE__ */ I.jsxs(
|
|
6925
6934
|
"a",
|
|
6926
6935
|
{
|
|
6927
6936
|
"aria-label": `Go to product page for ${u}`,
|
|
6928
|
-
className:
|
|
6937
|
+
className: ce(r, `${te}-product-tile-pdp`),
|
|
6929
6938
|
href: `${g}`,
|
|
6930
6939
|
target: "_blank",
|
|
6931
6940
|
rel: "noopener noreferrer",
|
|
@@ -6935,7 +6944,7 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6935
6944
|
/* @__PURE__ */ I.jsx(
|
|
6936
6945
|
"span",
|
|
6937
6946
|
{
|
|
6938
|
-
className:
|
|
6947
|
+
className: ce(r, `${te}-product-tile-pdp-arrow`),
|
|
6939
6948
|
children: "→"
|
|
6940
6949
|
}
|
|
6941
6950
|
)
|
|
@@ -6944,13 +6953,13 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6944
6953
|
) : /* @__PURE__ */ I.jsx(
|
|
6945
6954
|
"p",
|
|
6946
6955
|
{
|
|
6947
|
-
className:
|
|
6956
|
+
className: ce(r, `${te}-product-tile-name`),
|
|
6948
6957
|
title: u,
|
|
6949
6958
|
children: u
|
|
6950
6959
|
}
|
|
6951
6960
|
)
|
|
6952
6961
|
] }),
|
|
6953
|
-
/* @__PURE__ */ I.jsx("div", { className:
|
|
6962
|
+
/* @__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
6963
|
]
|
|
6955
6964
|
}
|
|
6956
6965
|
)
|
|
@@ -6965,13 +6974,13 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6965
6974
|
return n ? /* @__PURE__ */ I.jsxs(
|
|
6966
6975
|
"div",
|
|
6967
6976
|
{
|
|
6968
|
-
className:
|
|
6977
|
+
className: ce(r, `${te}-display-products widget-message`),
|
|
6969
6978
|
children: [
|
|
6970
6979
|
/* @__PURE__ */ I.jsx("p", { children: u.message }),
|
|
6971
6980
|
u.products && u.products.length > 0 && /* @__PURE__ */ I.jsx(
|
|
6972
6981
|
"div",
|
|
6973
6982
|
{
|
|
6974
|
-
className:
|
|
6983
|
+
className: ce(r, `${te}-product-list`, {
|
|
6975
6984
|
embedded: !e,
|
|
6976
6985
|
standalone: e
|
|
6977
6986
|
}),
|
|
@@ -6998,14 +7007,14 @@ const vh = ({ className: e, children: t, type: n, disabled: r = !1, onClick: u }
|
|
|
6998
7007
|
}) => /* @__PURE__ */ I.jsx(
|
|
6999
7008
|
"div",
|
|
7000
7009
|
{
|
|
7001
|
-
className:
|
|
7010
|
+
className: ce(e, `${te}-error-message`, {
|
|
7002
7011
|
standalone: n,
|
|
7003
7012
|
embedded: !n
|
|
7004
7013
|
}),
|
|
7005
7014
|
children: /* @__PURE__ */ I.jsxs(
|
|
7006
7015
|
"p",
|
|
7007
7016
|
{
|
|
7008
|
-
className:
|
|
7017
|
+
className: ce(e, `${te}-error-message-text`, {
|
|
7009
7018
|
standalone: n,
|
|
7010
7019
|
embedded: !n
|
|
7011
7020
|
}),
|
|
@@ -7029,7 +7038,7 @@ const wy = ({
|
|
|
7029
7038
|
"button",
|
|
7030
7039
|
{
|
|
7031
7040
|
"aria-label": "Close",
|
|
7032
|
-
className:
|
|
7041
|
+
className: ce(e, `${te}-close-button`),
|
|
7033
7042
|
disabled: n,
|
|
7034
7043
|
onClick: t,
|
|
7035
7044
|
children: /* @__PURE__ */ I.jsx(
|
|
@@ -7055,12 +7064,12 @@ const wy = ({
|
|
|
7055
7064
|
}) => /* @__PURE__ */ I.jsx(
|
|
7056
7065
|
"div",
|
|
7057
7066
|
{
|
|
7058
|
-
className:
|
|
7067
|
+
className: ce(e, `${te}-suggestion-container standalone`),
|
|
7059
7068
|
children: u.map((l) => /* @__PURE__ */ I.jsxs(
|
|
7060
7069
|
vh,
|
|
7061
7070
|
{
|
|
7062
7071
|
disabled: r,
|
|
7063
|
-
className:
|
|
7072
|
+
className: ce(e, `${te}-suggestion-button standalone`),
|
|
7064
7073
|
onClick: () => o(l, n || t),
|
|
7065
7074
|
children: [
|
|
7066
7075
|
/* @__PURE__ */ I.jsx(_x, { size: "1.5rem", style: { minHeight: "1.5rem", minWidth: "1.5rem" } }),
|
|
@@ -7078,8 +7087,8 @@ const wy = ({
|
|
|
7078
7087
|
handleSuggestionClick: r
|
|
7079
7088
|
}) => {
|
|
7080
7089
|
const { isLoading: u } = Os();
|
|
7081
|
-
return /* @__PURE__ */ I.jsxs("div", { className:
|
|
7082
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
7090
|
+
return /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-follow-up`), children: [
|
|
7091
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-text`), children: t.message }),
|
|
7083
7092
|
n && /* @__PURE__ */ I.jsx(
|
|
7084
7093
|
Sx,
|
|
7085
7094
|
{
|
|
@@ -7094,12 +7103,12 @@ const wy = ({
|
|
|
7094
7103
|
!n && /* @__PURE__ */ I.jsx(
|
|
7095
7104
|
"div",
|
|
7096
7105
|
{
|
|
7097
|
-
className:
|
|
7106
|
+
className: ce(e, `${te}-suggestion-container embedded`),
|
|
7098
7107
|
children: t.suggestions.map((o) => /* @__PURE__ */ I.jsx(
|
|
7099
7108
|
"button",
|
|
7100
7109
|
{
|
|
7101
7110
|
disabled: u,
|
|
7102
|
-
className:
|
|
7111
|
+
className: ce(
|
|
7103
7112
|
e,
|
|
7104
7113
|
`${te}-suggestion-button embedded`
|
|
7105
7114
|
),
|
|
@@ -8322,15 +8331,15 @@ function Fx() {
|
|
|
8322
8331
|
P = P || {};
|
|
8323
8332
|
var L = 1, H = 1;
|
|
8324
8333
|
function $(pe) {
|
|
8325
|
-
var
|
|
8326
|
-
|
|
8334
|
+
var ae = pe.match(t);
|
|
8335
|
+
ae && (L += ae.length);
|
|
8327
8336
|
var _e = pe.lastIndexOf(d);
|
|
8328
8337
|
H = ~_e ? pe.length - _e : H + pe.length;
|
|
8329
8338
|
}
|
|
8330
8339
|
function J() {
|
|
8331
8340
|
var pe = { line: L, column: H };
|
|
8332
|
-
return function(
|
|
8333
|
-
return
|
|
8341
|
+
return function(ae) {
|
|
8342
|
+
return ae.position = new he(pe), xe(), ae;
|
|
8334
8343
|
};
|
|
8335
8344
|
}
|
|
8336
8345
|
function he(pe) {
|
|
@@ -8338,48 +8347,48 @@ function Fx() {
|
|
|
8338
8347
|
}
|
|
8339
8348
|
he.prototype.content = x;
|
|
8340
8349
|
function M(pe) {
|
|
8341
|
-
var
|
|
8350
|
+
var ae = new Error(
|
|
8342
8351
|
P.source + ":" + L + ":" + H + ": " + pe
|
|
8343
8352
|
);
|
|
8344
|
-
if (
|
|
8353
|
+
if (ae.reason = pe, ae.filename = P.source, ae.line = L, ae.column = H, ae.source = x, !P.silent) throw ae;
|
|
8345
8354
|
}
|
|
8346
8355
|
function Ee(pe) {
|
|
8347
|
-
var
|
|
8348
|
-
if (
|
|
8349
|
-
var _e =
|
|
8350
|
-
return $(_e), x = x.slice(_e.length),
|
|
8356
|
+
var ae = pe.exec(x);
|
|
8357
|
+
if (ae) {
|
|
8358
|
+
var _e = ae[0];
|
|
8359
|
+
return $(_e), x = x.slice(_e.length), ae;
|
|
8351
8360
|
}
|
|
8352
8361
|
}
|
|
8353
8362
|
function xe() {
|
|
8354
8363
|
Ee(n);
|
|
8355
8364
|
}
|
|
8356
8365
|
function Ne(pe) {
|
|
8357
|
-
var
|
|
8358
|
-
for (pe = pe || [];
|
|
8359
|
-
|
|
8366
|
+
var ae;
|
|
8367
|
+
for (pe = pe || []; ae = U(); )
|
|
8368
|
+
ae !== !1 && pe.push(ae);
|
|
8360
8369
|
return pe;
|
|
8361
8370
|
}
|
|
8362
8371
|
function U() {
|
|
8363
8372
|
var pe = J();
|
|
8364
8373
|
if (!(h != x.charAt(0) || g != x.charAt(1))) {
|
|
8365
|
-
for (var
|
|
8366
|
-
++
|
|
8367
|
-
if (
|
|
8374
|
+
for (var ae = 2; y != x.charAt(ae) && (g != x.charAt(ae) || h != x.charAt(ae + 1)); )
|
|
8375
|
+
++ae;
|
|
8376
|
+
if (ae += 2, y === x.charAt(ae - 1))
|
|
8368
8377
|
return M("End of comment missing");
|
|
8369
|
-
var _e = x.slice(2,
|
|
8370
|
-
return H += 2, $(_e), x = x.slice(
|
|
8378
|
+
var _e = x.slice(2, ae - 2);
|
|
8379
|
+
return H += 2, $(_e), x = x.slice(ae), H += 2, pe({
|
|
8371
8380
|
type: b,
|
|
8372
8381
|
comment: _e
|
|
8373
8382
|
});
|
|
8374
8383
|
}
|
|
8375
8384
|
}
|
|
8376
8385
|
function ge() {
|
|
8377
|
-
var pe = J(),
|
|
8378
|
-
if (
|
|
8386
|
+
var pe = J(), ae = Ee(r);
|
|
8387
|
+
if (ae) {
|
|
8379
8388
|
if (U(), !Ee(u)) return M("property missing ':'");
|
|
8380
8389
|
var _e = Ee(o), ve = pe({
|
|
8381
8390
|
type: T,
|
|
8382
|
-
property: S(
|
|
8391
|
+
property: S(ae[0].replace(e, y)),
|
|
8383
8392
|
value: _e ? S(_e[0].replace(e, y)) : y
|
|
8384
8393
|
});
|
|
8385
8394
|
return Ee(l), ve;
|
|
@@ -8388,8 +8397,8 @@ function Fx() {
|
|
|
8388
8397
|
function me() {
|
|
8389
8398
|
var pe = [];
|
|
8390
8399
|
Ne(pe);
|
|
8391
|
-
for (var
|
|
8392
|
-
|
|
8400
|
+
for (var ae; ae = ge(); )
|
|
8401
|
+
ae !== !1 && (pe.push(ae), Ne(pe));
|
|
8393
8402
|
return pe;
|
|
8394
8403
|
}
|
|
8395
8404
|
return xe(), me();
|
|
@@ -9451,9 +9460,9 @@ function PN(e, t, n) {
|
|
|
9451
9460
|
return _e === c ? (M.enter("codeFencedFenceSequence"), pe(_e)) : xe(_e);
|
|
9452
9461
|
}
|
|
9453
9462
|
function pe(_e) {
|
|
9454
|
-
return _e === c ? (Ne++, M.consume(_e), pe) : Ne >= l ? (M.exit("codeFencedFenceSequence"), Ye(_e) ? Ge(M,
|
|
9463
|
+
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
9464
|
}
|
|
9456
|
-
function
|
|
9465
|
+
function ae(_e) {
|
|
9457
9466
|
return _e === null || Pe(_e) ? (M.exit("codeFencedFence"), Ee(_e)) : xe(_e);
|
|
9458
9467
|
}
|
|
9459
9468
|
}
|
|
@@ -10160,12 +10169,12 @@ function aw(e, t, n) {
|
|
|
10160
10169
|
return C === null || Pe(C) ? me(C) : Ye(C) ? (e.consume(C), ge) : n(C);
|
|
10161
10170
|
}
|
|
10162
10171
|
function me(C) {
|
|
10163
|
-
return C === 45 && u === 2 ? (e.consume(C), ve) : C === 60 && u === 1 ? (e.consume(C),
|
|
10172
|
+
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
10173
|
}
|
|
10165
10174
|
function pe(C) {
|
|
10166
|
-
return e.check(uw,
|
|
10175
|
+
return e.check(uw, ae, Y)(C);
|
|
10167
10176
|
}
|
|
10168
|
-
function
|
|
10177
|
+
function ae(C) {
|
|
10169
10178
|
return e.enter("lineEnding"), e.consume(C), e.exit("lineEnding"), _e;
|
|
10170
10179
|
}
|
|
10171
10180
|
function _e(C) {
|
|
@@ -10174,7 +10183,7 @@ function aw(e, t, n) {
|
|
|
10174
10183
|
function ve(C) {
|
|
10175
10184
|
return C === 45 ? (e.consume(C), A) : me(C);
|
|
10176
10185
|
}
|
|
10177
|
-
function
|
|
10186
|
+
function le(C) {
|
|
10178
10187
|
return C === 47 ? (e.consume(C), l = "", V) : me(C);
|
|
10179
10188
|
}
|
|
10180
10189
|
function V(C) {
|
|
@@ -10234,7 +10243,7 @@ function dw(e, t, n) {
|
|
|
10234
10243
|
return A === 45 ? (e.consume(A), T) : n(A);
|
|
10235
10244
|
}
|
|
10236
10245
|
function y(A) {
|
|
10237
|
-
return A === null ? n(A) : A === 45 ? (e.consume(A), b) : Pe(A) ? (l = y,
|
|
10246
|
+
return A === null ? n(A) : A === 45 ? (e.consume(A), b) : Pe(A) ? (l = y, le(A)) : (e.consume(A), y);
|
|
10238
10247
|
}
|
|
10239
10248
|
function b(A) {
|
|
10240
10249
|
return A === 45 ? (e.consume(A), T) : y(A);
|
|
@@ -10247,7 +10256,7 @@ function dw(e, t, n) {
|
|
|
10247
10256
|
return A === O.charCodeAt(o++) ? (e.consume(A), o === O.length ? x : S) : n(A);
|
|
10248
10257
|
}
|
|
10249
10258
|
function x(A) {
|
|
10250
|
-
return A === null ? n(A) : A === 93 ? (e.consume(A), P) : Pe(A) ? (l = x,
|
|
10259
|
+
return A === null ? n(A) : A === 93 ? (e.consume(A), P) : Pe(A) ? (l = x, le(A)) : (e.consume(A), x);
|
|
10251
10260
|
}
|
|
10252
10261
|
function P(A) {
|
|
10253
10262
|
return A === 93 ? (e.consume(A), L) : x(A);
|
|
@@ -10256,10 +10265,10 @@ function dw(e, t, n) {
|
|
|
10256
10265
|
return A === 62 ? ve(A) : A === 93 ? (e.consume(A), L) : x(A);
|
|
10257
10266
|
}
|
|
10258
10267
|
function H(A) {
|
|
10259
|
-
return A === null || A === 62 ? ve(A) : Pe(A) ? (l = H,
|
|
10268
|
+
return A === null || A === 62 ? ve(A) : Pe(A) ? (l = H, le(A)) : (e.consume(A), H);
|
|
10260
10269
|
}
|
|
10261
10270
|
function $(A) {
|
|
10262
|
-
return A === null ? n(A) : A === 63 ? (e.consume(A), J) : Pe(A) ? (l = $,
|
|
10271
|
+
return A === null ? n(A) : A === 63 ? (e.consume(A), J) : Pe(A) ? (l = $, le(A)) : (e.consume(A), $);
|
|
10263
10272
|
}
|
|
10264
10273
|
function J(A) {
|
|
10265
10274
|
return A === 62 ? ve(A) : $(A);
|
|
@@ -10271,28 +10280,28 @@ function dw(e, t, n) {
|
|
|
10271
10280
|
return A === 45 || qt(A) ? (e.consume(A), M) : Ee(A);
|
|
10272
10281
|
}
|
|
10273
10282
|
function Ee(A) {
|
|
10274
|
-
return Pe(A) ? (l = Ee,
|
|
10283
|
+
return Pe(A) ? (l = Ee, le(A)) : Ye(A) ? (e.consume(A), Ee) : ve(A);
|
|
10275
10284
|
}
|
|
10276
10285
|
function xe(A) {
|
|
10277
10286
|
return A === 45 || qt(A) ? (e.consume(A), xe) : A === 47 || A === 62 || et(A) ? Ne(A) : n(A);
|
|
10278
10287
|
}
|
|
10279
10288
|
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,
|
|
10289
|
+
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
10290
|
}
|
|
10282
10291
|
function U(A) {
|
|
10283
10292
|
return A === 45 || A === 46 || A === 58 || A === 95 || qt(A) ? (e.consume(A), U) : ge(A);
|
|
10284
10293
|
}
|
|
10285
10294
|
function ge(A) {
|
|
10286
|
-
return A === 61 ? (e.consume(A), me) : Pe(A) ? (l = ge,
|
|
10295
|
+
return A === 61 ? (e.consume(A), me) : Pe(A) ? (l = ge, le(A)) : Ye(A) ? (e.consume(A), ge) : Ne(A);
|
|
10287
10296
|
}
|
|
10288
10297
|
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,
|
|
10298
|
+
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
10299
|
}
|
|
10291
10300
|
function pe(A) {
|
|
10292
|
-
return A === u ? (e.consume(A), u = void 0, _e) : A === null ? n(A) : Pe(A) ? (l = pe,
|
|
10301
|
+
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
10302
|
}
|
|
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),
|
|
10303
|
+
function ae(A) {
|
|
10304
|
+
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
10305
|
}
|
|
10297
10306
|
function _e(A) {
|
|
10298
10307
|
return A === 47 || A === 62 || et(A) ? Ne(A) : n(A);
|
|
@@ -10300,7 +10309,7 @@ function dw(e, t, n) {
|
|
|
10300
10309
|
function ve(A) {
|
|
10301
10310
|
return A === 62 ? (e.consume(A), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(A);
|
|
10302
10311
|
}
|
|
10303
|
-
function
|
|
10312
|
+
function le(A) {
|
|
10304
10313
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(A), e.exit("lineEnding"), V;
|
|
10305
10314
|
}
|
|
10306
10315
|
function V(A) {
|
|
@@ -10855,14 +10864,14 @@ function Zw(e, t, n) {
|
|
|
10855
10864
|
_bufferIndex: ge,
|
|
10856
10865
|
_index: me,
|
|
10857
10866
|
line: pe,
|
|
10858
|
-
column:
|
|
10867
|
+
column: ae,
|
|
10859
10868
|
offset: _e
|
|
10860
10869
|
} = r;
|
|
10861
10870
|
return {
|
|
10862
10871
|
_bufferIndex: ge,
|
|
10863
10872
|
_index: me,
|
|
10864
10873
|
line: pe,
|
|
10865
|
-
column:
|
|
10874
|
+
column: ae,
|
|
10866
10875
|
offset: _e
|
|
10867
10876
|
};
|
|
10868
10877
|
}
|
|
@@ -10905,18 +10914,18 @@ function Zw(e, t, n) {
|
|
|
10905
10914
|
}
|
|
10906
10915
|
function Ee(ge, me) {
|
|
10907
10916
|
return pe;
|
|
10908
|
-
function pe(
|
|
10909
|
-
let
|
|
10910
|
-
return Array.isArray(
|
|
10917
|
+
function pe(ae, _e, ve) {
|
|
10918
|
+
let le, V, ne, A;
|
|
10919
|
+
return Array.isArray(ae) ? (
|
|
10911
10920
|
/* c8 ignore next 1 */
|
|
10912
|
-
Y(
|
|
10913
|
-
) : "tokenize" in
|
|
10921
|
+
Y(ae)
|
|
10922
|
+
) : "tokenize" in ae ? (
|
|
10914
10923
|
// Looks like a construct.
|
|
10915
10924
|
Y([
|
|
10916
10925
|
/** @type {Construct} */
|
|
10917
|
-
|
|
10926
|
+
ae
|
|
10918
10927
|
])
|
|
10919
|
-
) : O(
|
|
10928
|
+
) : O(ae);
|
|
10920
10929
|
function O(ye) {
|
|
10921
10930
|
return we;
|
|
10922
10931
|
function we(Le) {
|
|
@@ -10930,7 +10939,7 @@ function Zw(e, t, n) {
|
|
|
10930
10939
|
}
|
|
10931
10940
|
}
|
|
10932
10941
|
function Y(ye) {
|
|
10933
|
-
return
|
|
10942
|
+
return le = ye, V = 0, ye.length === 0 ? ve : C(ye[V]);
|
|
10934
10943
|
}
|
|
10935
10944
|
function C(ye) {
|
|
10936
10945
|
return we;
|
|
@@ -10950,7 +10959,7 @@ function Zw(e, t, n) {
|
|
|
10950
10959
|
return ge(ne, A), _e;
|
|
10951
10960
|
}
|
|
10952
10961
|
function be(ye) {
|
|
10953
|
-
return A.restore(), ++V <
|
|
10962
|
+
return A.restore(), ++V < le.length ? C(le[V]) : ve;
|
|
10954
10963
|
}
|
|
10955
10964
|
}
|
|
10956
10965
|
}
|
|
@@ -10958,13 +10967,13 @@ function Zw(e, t, n) {
|
|
|
10958
10967
|
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
10968
|
}
|
|
10960
10969
|
function Ne() {
|
|
10961
|
-
const ge = S(), me = h.previous, pe = h.currentConstruct,
|
|
10970
|
+
const ge = S(), me = h.previous, pe = h.currentConstruct, ae = h.events.length, _e = Array.from(c);
|
|
10962
10971
|
return {
|
|
10963
|
-
from:
|
|
10972
|
+
from: ae,
|
|
10964
10973
|
restore: ve
|
|
10965
10974
|
};
|
|
10966
10975
|
function ve() {
|
|
10967
|
-
r = ge, h.previous = me, h.currentConstruct = pe, h.events.length =
|
|
10976
|
+
r = ge, h.previous = me, h.currentConstruct = pe, h.events.length = ae, c = _e, U();
|
|
10968
10977
|
}
|
|
10969
10978
|
}
|
|
10970
10979
|
function U() {
|
|
@@ -11182,9 +11191,9 @@ function l3(e) {
|
|
|
11182
11191
|
hardBreakTrailing: d(me),
|
|
11183
11192
|
htmlFlow: d(pe),
|
|
11184
11193
|
htmlFlowData: U,
|
|
11185
|
-
htmlText: d(
|
|
11194
|
+
htmlText: d(ae),
|
|
11186
11195
|
htmlTextData: U,
|
|
11187
|
-
image: d(
|
|
11196
|
+
image: d(le),
|
|
11188
11197
|
label: ne,
|
|
11189
11198
|
labelText: V,
|
|
11190
11199
|
lineEnding: ge,
|
|
@@ -11228,18 +11237,18 @@ function l3(e) {
|
|
|
11228
11237
|
if (Q[Ke][0] === "enter")
|
|
11229
11238
|
je.push(Ke);
|
|
11230
11239
|
else {
|
|
11231
|
-
const
|
|
11232
|
-
Ke = u(Q,
|
|
11240
|
+
const Dt = je.pop();
|
|
11241
|
+
Ke = u(Q, Dt, Ke);
|
|
11233
11242
|
}
|
|
11234
11243
|
for (Ke = -1; ++Ke < Q.length; ) {
|
|
11235
|
-
const
|
|
11236
|
-
tT.call(
|
|
11244
|
+
const Dt = t[Q[Ke][0]];
|
|
11245
|
+
tT.call(Dt, Q[Ke][1].type) && Dt[Q[Ke][1].type].call(Object.assign({
|
|
11237
11246
|
sliceSerialize: Q[Ke][2].sliceSerialize
|
|
11238
11247
|
}, De), Q[Ke][1]);
|
|
11239
11248
|
}
|
|
11240
11249
|
if (De.tokenStack.length > 0) {
|
|
11241
|
-
const
|
|
11242
|
-
(
|
|
11250
|
+
const Dt = De.tokenStack[De.tokenStack.length - 1];
|
|
11251
|
+
(Dt[1] || e1).call(De, void 0, Dt[0]);
|
|
11243
11252
|
}
|
|
11244
11253
|
for (de.position = {
|
|
11245
11254
|
start: Kr(Q.length > 0 ? Q[0][1].start : {
|
|
@@ -11257,18 +11266,18 @@ function l3(e) {
|
|
|
11257
11266
|
return de;
|
|
11258
11267
|
}
|
|
11259
11268
|
function u(Q, de, De) {
|
|
11260
|
-
let je = de - 1, Ke = -1,
|
|
11269
|
+
let je = de - 1, Ke = -1, Dt = !1, cr, Sn, vr, ni;
|
|
11261
11270
|
for (; ++je <= De; ) {
|
|
11262
|
-
const
|
|
11263
|
-
switch (
|
|
11271
|
+
const Mt = Q[je];
|
|
11272
|
+
switch (Mt[1].type) {
|
|
11264
11273
|
case "listUnordered":
|
|
11265
11274
|
case "listOrdered":
|
|
11266
11275
|
case "blockQuote": {
|
|
11267
|
-
|
|
11276
|
+
Mt[0] === "enter" ? Ke++ : Ke--, ni = void 0;
|
|
11268
11277
|
break;
|
|
11269
11278
|
}
|
|
11270
11279
|
case "lineEndingBlank": {
|
|
11271
|
-
|
|
11280
|
+
Mt[0] === "enter" && (cr && !ni && !Ke && !vr && (vr = je), ni = void 0);
|
|
11272
11281
|
break;
|
|
11273
11282
|
}
|
|
11274
11283
|
case "linePrefix":
|
|
@@ -11280,31 +11289,31 @@ function l3(e) {
|
|
|
11280
11289
|
default:
|
|
11281
11290
|
ni = void 0;
|
|
11282
11291
|
}
|
|
11283
|
-
if (!Ke &&
|
|
11292
|
+
if (!Ke && Mt[0] === "enter" && Mt[1].type === "listItemPrefix" || Ke === -1 && Mt[0] === "exit" && (Mt[1].type === "listUnordered" || Mt[1].type === "listOrdered")) {
|
|
11284
11293
|
if (cr) {
|
|
11285
11294
|
let Wn = je;
|
|
11286
11295
|
for (Sn = void 0; Wn--; ) {
|
|
11287
11296
|
const dn = Q[Wn];
|
|
11288
11297
|
if (dn[1].type === "lineEnding" || dn[1].type === "lineEndingBlank") {
|
|
11289
11298
|
if (dn[0] === "exit") continue;
|
|
11290
|
-
Sn && (Q[Sn][1].type = "lineEndingBlank",
|
|
11299
|
+
Sn && (Q[Sn][1].type = "lineEndingBlank", Dt = !0), dn[1].type = "lineEnding", Sn = Wn;
|
|
11291
11300
|
} else if (!(dn[1].type === "linePrefix" || dn[1].type === "blockQuotePrefix" || dn[1].type === "blockQuotePrefixWhitespace" || dn[1].type === "blockQuoteMarker" || dn[1].type === "listItemIndent")) break;
|
|
11292
11301
|
}
|
|
11293
|
-
vr && (!Sn || vr < Sn) && (cr._spread = !0), cr.end = Object.assign({}, Sn ? Q[Sn][1].start :
|
|
11302
|
+
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
11303
|
}
|
|
11295
|
-
if (
|
|
11304
|
+
if (Mt[1].type === "listItemPrefix") {
|
|
11296
11305
|
const Wn = {
|
|
11297
11306
|
type: "listItem",
|
|
11298
11307
|
_spread: !1,
|
|
11299
|
-
start: Object.assign({},
|
|
11308
|
+
start: Object.assign({}, Mt[1].start),
|
|
11300
11309
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
11301
11310
|
end: void 0
|
|
11302
11311
|
};
|
|
11303
|
-
cr = Wn, Q.splice(je, 0, ["enter", Wn,
|
|
11312
|
+
cr = Wn, Q.splice(je, 0, ["enter", Wn, Mt[2]]), je++, De++, vr = void 0, ni = !0;
|
|
11304
11313
|
}
|
|
11305
11314
|
}
|
|
11306
11315
|
}
|
|
11307
|
-
return Q[de][1]._spread =
|
|
11316
|
+
return Q[de][1]._spread = Dt, De;
|
|
11308
11317
|
}
|
|
11309
11318
|
function o(Q, de) {
|
|
11310
11319
|
return De;
|
|
@@ -11430,7 +11439,7 @@ function l3(e) {
|
|
|
11430
11439
|
const Q = this.resume(), de = this.stack[this.stack.length - 1];
|
|
11431
11440
|
de.value = Q;
|
|
11432
11441
|
}
|
|
11433
|
-
function
|
|
11442
|
+
function ae() {
|
|
11434
11443
|
const Q = this.resume(), de = this.stack[this.stack.length - 1];
|
|
11435
11444
|
de.value = Q;
|
|
11436
11445
|
}
|
|
@@ -11447,7 +11456,7 @@ function l3(e) {
|
|
|
11447
11456
|
delete Q.identifier, delete Q.label;
|
|
11448
11457
|
this.data.referenceType = void 0;
|
|
11449
11458
|
}
|
|
11450
|
-
function
|
|
11459
|
+
function le() {
|
|
11451
11460
|
const Q = this.stack[this.stack.length - 1];
|
|
11452
11461
|
if (this.data.inReference) {
|
|
11453
11462
|
const de = this.data.referenceType || "shortcut";
|
|
@@ -12517,7 +12526,7 @@ function a1(e, t) {
|
|
|
12517
12526
|
}
|
|
12518
12527
|
function sv(e, t) {
|
|
12519
12528
|
return e && "run" in e ? function(n, r) {
|
|
12520
|
-
return
|
|
12529
|
+
return Ot(this, null, function* () {
|
|
12521
12530
|
const u = (
|
|
12522
12531
|
/** @type {HastRoot} */
|
|
12523
12532
|
a1(n, G({ file: r }, t))
|
|
@@ -15632,42 +15641,42 @@ function SI(e) {
|
|
|
15632
15641
|
var t;
|
|
15633
15642
|
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (t = _I.get(e)) !== null && t !== void 0 ? t : e;
|
|
15634
15643
|
}
|
|
15635
|
-
var
|
|
15644
|
+
var Lt;
|
|
15636
15645
|
(function(e) {
|
|
15637
15646
|
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
|
-
})(
|
|
15647
|
+
})(Lt || (Lt = {}));
|
|
15639
15648
|
const CI = 32;
|
|
15640
15649
|
var Jr;
|
|
15641
15650
|
(function(e) {
|
|
15642
15651
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
15643
15652
|
})(Jr || (Jr = {}));
|
|
15644
15653
|
function Zd(e) {
|
|
15645
|
-
return e >=
|
|
15654
|
+
return e >= Lt.ZERO && e <= Lt.NINE;
|
|
15646
15655
|
}
|
|
15647
15656
|
function AI(e) {
|
|
15648
|
-
return e >=
|
|
15657
|
+
return e >= Lt.UPPER_A && e <= Lt.UPPER_F || e >= Lt.LOWER_A && e <= Lt.LOWER_F;
|
|
15649
15658
|
}
|
|
15650
15659
|
function kI(e) {
|
|
15651
|
-
return e >=
|
|
15660
|
+
return e >= Lt.UPPER_A && e <= Lt.UPPER_Z || e >= Lt.LOWER_A && e <= Lt.LOWER_Z || Zd(e);
|
|
15652
15661
|
}
|
|
15653
15662
|
function xI(e) {
|
|
15654
|
-
return e ===
|
|
15663
|
+
return e === Lt.EQUALS || kI(e);
|
|
15655
15664
|
}
|
|
15656
|
-
var
|
|
15665
|
+
var Pt;
|
|
15657
15666
|
(function(e) {
|
|
15658
15667
|
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
|
-
})(
|
|
15668
|
+
})(Pt || (Pt = {}));
|
|
15660
15669
|
var Sr;
|
|
15661
15670
|
(function(e) {
|
|
15662
15671
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
15663
15672
|
})(Sr || (Sr = {}));
|
|
15664
15673
|
class NI {
|
|
15665
15674
|
constructor(t, n, r) {
|
|
15666
|
-
this.decodeTree = t, this.emitCodePoint = n, this.errors = r, this.state =
|
|
15675
|
+
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
15676
|
}
|
|
15668
15677
|
/** Resets the instance to make it reusable. */
|
|
15669
15678
|
startEntity(t) {
|
|
15670
|
-
this.decodeMode = t, this.state =
|
|
15679
|
+
this.decodeMode = t, this.state = Pt.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
15671
15680
|
}
|
|
15672
15681
|
/**
|
|
15673
15682
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -15682,15 +15691,15 @@ class NI {
|
|
|
15682
15691
|
*/
|
|
15683
15692
|
write(t, n) {
|
|
15684
15693
|
switch (this.state) {
|
|
15685
|
-
case
|
|
15686
|
-
return t.charCodeAt(n) ===
|
|
15687
|
-
case
|
|
15694
|
+
case Pt.EntityStart:
|
|
15695
|
+
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));
|
|
15696
|
+
case Pt.NumericStart:
|
|
15688
15697
|
return this.stateNumericStart(t, n);
|
|
15689
|
-
case
|
|
15698
|
+
case Pt.NumericDecimal:
|
|
15690
15699
|
return this.stateNumericDecimal(t, n);
|
|
15691
|
-
case
|
|
15700
|
+
case Pt.NumericHex:
|
|
15692
15701
|
return this.stateNumericHex(t, n);
|
|
15693
|
-
case
|
|
15702
|
+
case Pt.NamedEntity:
|
|
15694
15703
|
return this.stateNamedEntity(t, n);
|
|
15695
15704
|
}
|
|
15696
15705
|
}
|
|
@@ -15704,7 +15713,7 @@ class NI {
|
|
|
15704
15713
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
15705
15714
|
*/
|
|
15706
15715
|
stateNumericStart(t, n) {
|
|
15707
|
-
return n >= t.length ? -1 : (t.charCodeAt(n) | CI) ===
|
|
15716
|
+
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
15717
|
}
|
|
15709
15718
|
addToNumericResult(t, n, r, u) {
|
|
15710
15719
|
if (n !== r) {
|
|
@@ -15769,11 +15778,11 @@ class NI {
|
|
|
15769
15778
|
var r;
|
|
15770
15779
|
if (this.consumed <= n)
|
|
15771
15780
|
return (r = this.errors) === null || r === void 0 || r.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
15772
|
-
if (t ===
|
|
15781
|
+
if (t === Lt.SEMI)
|
|
15773
15782
|
this.consumed += 1;
|
|
15774
15783
|
else if (this.decodeMode === Sr.Strict)
|
|
15775
15784
|
return 0;
|
|
15776
|
-
return this.emitCodePoint(SI(this.result), this.consumed), this.errors && (t !==
|
|
15785
|
+
return this.emitCodePoint(SI(this.result), this.consumed), this.errors && (t !== Lt.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
15777
15786
|
}
|
|
15778
15787
|
/**
|
|
15779
15788
|
* Parses a named entity.
|
|
@@ -15795,7 +15804,7 @@ class NI {
|
|
|
15795
15804
|
(o === 0 || // And there should be no invalid characters.
|
|
15796
15805
|
xI(l)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
15797
15806
|
if (u = r[this.treeIndex], o = (u & Jr.VALUE_LENGTH) >> 14, o !== 0) {
|
|
15798
|
-
if (l ===
|
|
15807
|
+
if (l === Lt.SEMI)
|
|
15799
15808
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
15800
15809
|
this.decodeMode !== Sr.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
15801
15810
|
}
|
|
@@ -15835,16 +15844,16 @@ class NI {
|
|
|
15835
15844
|
end() {
|
|
15836
15845
|
var t;
|
|
15837
15846
|
switch (this.state) {
|
|
15838
|
-
case
|
|
15847
|
+
case Pt.NamedEntity:
|
|
15839
15848
|
return this.result !== 0 && (this.decodeMode !== Sr.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
15840
15849
|
// Otherwise, emit a numeric entity if we have one.
|
|
15841
|
-
case
|
|
15850
|
+
case Pt.NumericDecimal:
|
|
15842
15851
|
return this.emitNumericEntity(0, 2);
|
|
15843
|
-
case
|
|
15852
|
+
case Pt.NumericHex:
|
|
15844
15853
|
return this.emitNumericEntity(0, 3);
|
|
15845
|
-
case
|
|
15854
|
+
case Pt.NumericStart:
|
|
15846
15855
|
return (t = this.errors) === null || t === void 0 || t.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
15847
|
-
case
|
|
15856
|
+
case Pt.EntityStart:
|
|
15848
15857
|
return 0;
|
|
15849
15858
|
}
|
|
15850
15859
|
}
|
|
@@ -22984,9 +22993,9 @@ function r6(e, t, n) {
|
|
|
22984
22993
|
function c(U) {
|
|
22985
22994
|
let ge = r.events.length - 1;
|
|
22986
22995
|
for (; ge > -1; ) {
|
|
22987
|
-
const
|
|
22988
|
-
if (
|
|
22989
|
-
|
|
22996
|
+
const ae = r.events[ge][1].type;
|
|
22997
|
+
if (ae === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
|
|
22998
|
+
ae === "linePrefix") ge--;
|
|
22990
22999
|
else break;
|
|
22991
23000
|
}
|
|
22992
23001
|
const me = ge > -1 ? r.events[ge][1].type : null, pe = me === "tableHead" || me === "tableRow" ? M : d;
|
|
@@ -23172,27 +23181,27 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23172
23181
|
remarkPlugins: [f6],
|
|
23173
23182
|
rehypePlugins: [nR],
|
|
23174
23183
|
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:
|
|
23184
|
+
h1: ({ children: o }) => /* @__PURE__ */ I.jsx("h1", { className: ce(e, `${te}-header h1`), children: o }),
|
|
23185
|
+
h2: ({ children: o }) => /* @__PURE__ */ I.jsx("h2", { className: ce(e, `${te}-header h2`), children: o }),
|
|
23186
|
+
h3: ({ children: o }) => /* @__PURE__ */ I.jsx("h3", { className: ce(e, `${te}-header h3`), children: o }),
|
|
23187
|
+
ul: ({ children: o }) => /* @__PURE__ */ I.jsx("ul", { className: ce(e, `${te}-ul`), children: o }),
|
|
23188
|
+
ol: ({ children: o }) => /* @__PURE__ */ I.jsx("ol", { className: ce(e, `${te}-ol`), children: o }),
|
|
23189
|
+
li: ({ children: o }) => /* @__PURE__ */ I.jsx("li", { className: ce(e, `${te}-li`), children: o }),
|
|
23181
23190
|
a: ({ href: o, children: l }) => /* @__PURE__ */ I.jsx(
|
|
23182
23191
|
"a",
|
|
23183
23192
|
Fe(G({
|
|
23184
|
-
className:
|
|
23193
|
+
className: ce(e, `${te}-link`)
|
|
23185
23194
|
}, o ? { href: o, target: "_blank" } : {}), {
|
|
23186
23195
|
rel: "noopener noreferrer",
|
|
23187
23196
|
children: l
|
|
23188
23197
|
})
|
|
23189
23198
|
),
|
|
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:
|
|
23199
|
+
table: ({ children: o }) => /* @__PURE__ */ I.jsx("table", { className: ce(e, `${te}-table`), children: o }),
|
|
23200
|
+
thead: ({ children: o }) => /* @__PURE__ */ I.jsx("thead", { className: ce(e, `${te}-thead`), children: o }),
|
|
23201
|
+
tbody: ({ children: o }) => /* @__PURE__ */ I.jsx("tbody", { className: ce(e, `${te}-tbody`), children: o }),
|
|
23202
|
+
tr: ({ children: o }) => /* @__PURE__ */ I.jsx("tr", { className: ce(e, `${te}-tr`), children: o }),
|
|
23203
|
+
th: ({ children: o }) => /* @__PURE__ */ I.jsx("th", { className: ce(e, `${te}-th`), children: o }),
|
|
23204
|
+
td: ({ children: o }) => /* @__PURE__ */ I.jsx("td", { className: ce(e, `${te}-td`), children: o }),
|
|
23196
23205
|
span: ({ className: o, children: l }) => o === `${te}-blinking-cursor` ? /* @__PURE__ */ I.jsx(Wl, {}) : /* @__PURE__ */ I.jsx("span", { children: l })
|
|
23197
23206
|
},
|
|
23198
23207
|
children: t.message + (u ? `<span className='${te}-blinking-cursor'></span>` : "")
|
|
@@ -23209,12 +23218,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23209
23218
|
/* @__PURE__ */ I.jsxs(
|
|
23210
23219
|
"div",
|
|
23211
23220
|
{
|
|
23212
|
-
className:
|
|
23221
|
+
className: ce(e, `${te}-progress-message`, "standalone"),
|
|
23213
23222
|
children: [
|
|
23214
23223
|
/* @__PURE__ */ I.jsx(
|
|
23215
23224
|
"span",
|
|
23216
23225
|
{
|
|
23217
|
-
className:
|
|
23226
|
+
className: ce(
|
|
23218
23227
|
e,
|
|
23219
23228
|
`${te}-message-icon`,
|
|
23220
23229
|
"progress-icon",
|
|
@@ -23223,7 +23232,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23223
23232
|
children: /* @__PURE__ */ I.jsx(Ny, {})
|
|
23224
23233
|
}
|
|
23225
23234
|
),
|
|
23226
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23235
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-progress-text`, "standalone"), children: t.message })
|
|
23227
23236
|
]
|
|
23228
23237
|
}
|
|
23229
23238
|
),
|
|
@@ -23231,7 +23240,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23231
23240
|
/* @__PURE__ */ I.jsx(
|
|
23232
23241
|
vh,
|
|
23233
23242
|
{
|
|
23234
|
-
className:
|
|
23243
|
+
className: ce(e, `${te}-thought-context-button`),
|
|
23235
23244
|
onClick: c,
|
|
23236
23245
|
children: n ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
23237
23246
|
"Hide ",
|
|
@@ -23242,7 +23251,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23242
23251
|
] })
|
|
23243
23252
|
}
|
|
23244
23253
|
),
|
|
23245
|
-
n && /* @__PURE__ */ I.jsx("div", { className:
|
|
23254
|
+
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
23255
|
] })
|
|
23247
23256
|
] });
|
|
23248
23257
|
}, h6 = ({
|
|
@@ -23252,13 +23261,13 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23252
23261
|
}) => n ? /* @__PURE__ */ I.jsx(d6, { globalClassName: e, message: t }) : /* @__PURE__ */ I.jsxs(
|
|
23253
23262
|
"div",
|
|
23254
23263
|
{
|
|
23255
|
-
className:
|
|
23264
|
+
className: ce(e, `${te}-progress-message`, "embedded"),
|
|
23256
23265
|
title: t.message,
|
|
23257
23266
|
children: [
|
|
23258
23267
|
/* @__PURE__ */ I.jsx(
|
|
23259
23268
|
"span",
|
|
23260
23269
|
{
|
|
23261
|
-
className:
|
|
23270
|
+
className: ce(
|
|
23262
23271
|
e,
|
|
23263
23272
|
`${te}-message-icon`,
|
|
23264
23273
|
"progress-icon",
|
|
@@ -23267,7 +23276,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23267
23276
|
children: /* @__PURE__ */ I.jsx(Ny, {})
|
|
23268
23277
|
}
|
|
23269
23278
|
),
|
|
23270
|
-
/* @__PURE__ */ I.jsx("i", { className:
|
|
23279
|
+
/* @__PURE__ */ I.jsx("i", { className: ce(e, `${te}-progress-text`, "embedded"), children: t.message })
|
|
23271
23280
|
]
|
|
23272
23281
|
}
|
|
23273
23282
|
), p6 = ({
|
|
@@ -23279,7 +23288,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23279
23288
|
return /* @__PURE__ */ I.jsxs(
|
|
23280
23289
|
"div",
|
|
23281
23290
|
{
|
|
23282
|
-
className:
|
|
23291
|
+
className: ce(e, `${te}-refined-search`, {
|
|
23283
23292
|
embedded: !n,
|
|
23284
23293
|
standalone: n
|
|
23285
23294
|
}),
|
|
@@ -23287,7 +23296,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23287
23296
|
/* @__PURE__ */ I.jsxs(
|
|
23288
23297
|
"div",
|
|
23289
23298
|
{
|
|
23290
|
-
className:
|
|
23299
|
+
className: ce(e, `${te}-refined-search-query`, {
|
|
23291
23300
|
embedded: !n,
|
|
23292
23301
|
standalone: n
|
|
23293
23302
|
}),
|
|
@@ -23295,7 +23304,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23295
23304
|
/* @__PURE__ */ I.jsx(
|
|
23296
23305
|
"span",
|
|
23297
23306
|
{
|
|
23298
|
-
className:
|
|
23307
|
+
className: ce(
|
|
23299
23308
|
e,
|
|
23300
23309
|
`${te}-message-icon`,
|
|
23301
23310
|
`${te}-refined-search-icon`,
|
|
@@ -23307,7 +23316,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23307
23316
|
children: /* @__PURE__ */ I.jsx(Ll, {})
|
|
23308
23317
|
}
|
|
23309
23318
|
),
|
|
23310
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23319
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-text`, "bold"), children: (r = t.searchParams) == null ? void 0 : r.query })
|
|
23311
23320
|
]
|
|
23312
23321
|
}
|
|
23313
23322
|
),
|
|
@@ -23334,7 +23343,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23334
23343
|
}) => /* @__PURE__ */ I.jsx(
|
|
23335
23344
|
"span",
|
|
23336
23345
|
{
|
|
23337
|
-
className:
|
|
23346
|
+
className: ce(t, `${te}-facet-pill`, {
|
|
23338
23347
|
standalone: e,
|
|
23339
23348
|
embedded: !e
|
|
23340
23349
|
}),
|
|
@@ -23351,9 +23360,9 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23351
23360
|
return n.map((l) => {
|
|
23352
23361
|
var d;
|
|
23353
23362
|
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:
|
|
23363
|
+
return /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-facets`), children: [
|
|
23364
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-facet-category`), children: l }),
|
|
23365
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-facet-values`), children: c })
|
|
23357
23366
|
] }, l);
|
|
23358
23367
|
});
|
|
23359
23368
|
}, m6 = ({
|
|
@@ -23364,18 +23373,18 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23364
23373
|
var o, l;
|
|
23365
23374
|
const { facetFiltersList: r, filterCount: u } = xb(t);
|
|
23366
23375
|
return n ? /* @__PURE__ */ I.jsxs("div", { children: [
|
|
23367
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
23376
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-message standalone`), children: [
|
|
23368
23377
|
/* @__PURE__ */ I.jsx(
|
|
23369
23378
|
"span",
|
|
23370
23379
|
{
|
|
23371
|
-
className:
|
|
23380
|
+
className: ce(
|
|
23372
23381
|
e,
|
|
23373
23382
|
`${te}-message-icon user-message-icon standalone`
|
|
23374
23383
|
),
|
|
23375
23384
|
children: /* @__PURE__ */ I.jsx(Og, {})
|
|
23376
23385
|
}
|
|
23377
23386
|
),
|
|
23378
|
-
/* @__PURE__ */ I.jsx("p", { className:
|
|
23387
|
+
/* @__PURE__ */ I.jsx("p", { className: ce(e, `${te}-user-message-text`), children: (o = t.request) == null ? void 0 : o.userPrompt }),
|
|
23379
23388
|
r.length > 0 && /* @__PURE__ */ I.jsx(
|
|
23380
23389
|
El,
|
|
23381
23390
|
{
|
|
@@ -23393,11 +23402,11 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23393
23402
|
message: t
|
|
23394
23403
|
}
|
|
23395
23404
|
)
|
|
23396
|
-
] }) : /* @__PURE__ */ I.jsxs("div", { className:
|
|
23405
|
+
] }) : /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-message embedded`), children: [
|
|
23397
23406
|
/* @__PURE__ */ I.jsx(
|
|
23398
23407
|
"span",
|
|
23399
23408
|
{
|
|
23400
|
-
className:
|
|
23409
|
+
className: ce(
|
|
23401
23410
|
e,
|
|
23402
23411
|
`${te}-message-icon user-message-icon embedded`
|
|
23403
23412
|
),
|
|
@@ -23414,12 +23423,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23414
23423
|
message: r,
|
|
23415
23424
|
facetFiltersList: u,
|
|
23416
23425
|
filterCount: o
|
|
23417
|
-
}) => /* @__PURE__ */ I.jsxs("div", { className:
|
|
23418
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
23426
|
+
}) => /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search standalone`), children: [
|
|
23427
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search-query`), children: [
|
|
23419
23428
|
/* @__PURE__ */ I.jsx(
|
|
23420
23429
|
"span",
|
|
23421
23430
|
{
|
|
23422
|
-
className:
|
|
23431
|
+
className: ce(
|
|
23423
23432
|
e,
|
|
23424
23433
|
`${te}-message-icon user-search-icon standalone`
|
|
23425
23434
|
),
|
|
@@ -23429,7 +23438,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23429
23438
|
/* @__PURE__ */ I.jsx(
|
|
23430
23439
|
"p",
|
|
23431
23440
|
{
|
|
23432
|
-
className:
|
|
23441
|
+
className: ce(e, `${te}-text bold`),
|
|
23433
23442
|
children: `${t}: ${n}`
|
|
23434
23443
|
}
|
|
23435
23444
|
),
|
|
@@ -23482,11 +23491,11 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23482
23491
|
facetFiltersList: r,
|
|
23483
23492
|
filterCount: u
|
|
23484
23493
|
}
|
|
23485
|
-
) : /* @__PURE__ */ I.jsxs("div", { className:
|
|
23494
|
+
) : /* @__PURE__ */ I.jsxs("div", { className: ce(e, `${te}-user-search embedded`), children: [
|
|
23486
23495
|
/* @__PURE__ */ I.jsx(
|
|
23487
23496
|
"span",
|
|
23488
23497
|
{
|
|
23489
|
-
className:
|
|
23498
|
+
className: ce(
|
|
23490
23499
|
e,
|
|
23491
23500
|
`${te}-message-icon user-search-icon embedded`
|
|
23492
23501
|
),
|
|
@@ -23502,14 +23511,12 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23502
23511
|
isWidgetStandalone: n,
|
|
23503
23512
|
handleSuggestionClick: r
|
|
23504
23513
|
}) => {
|
|
23505
|
-
var
|
|
23506
|
-
const { connected: u } = _y();
|
|
23514
|
+
var o;
|
|
23507
23515
|
if (!e) return null;
|
|
23508
|
-
let
|
|
23509
|
-
if ($1.includes(
|
|
23516
|
+
let u = e.name;
|
|
23517
|
+
if ($1.includes(u) && (e.isInitial || e.isUserAction) && (u = "faceted_navigation"), $1.includes(u) && !((o = e.request) != null && o.userPrompt))
|
|
23510
23518
|
return null;
|
|
23511
|
-
|
|
23512
|
-
switch (o) {
|
|
23519
|
+
switch (u) {
|
|
23513
23520
|
case "copilot_search":
|
|
23514
23521
|
case "copilot_browse":
|
|
23515
23522
|
case "product_view":
|
|
@@ -23577,16 +23584,6 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23577
23584
|
message: e
|
|
23578
23585
|
}
|
|
23579
23586
|
);
|
|
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
23587
|
default:
|
|
23591
23588
|
return null;
|
|
23592
23589
|
}
|
|
@@ -23599,7 +23596,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23599
23596
|
return t.map((u) => u.messages && u.type === "group" ? /* @__PURE__ */ I.jsx(
|
|
23600
23597
|
"div",
|
|
23601
23598
|
{
|
|
23602
|
-
className:
|
|
23599
|
+
className: ce(
|
|
23603
23600
|
r,
|
|
23604
23601
|
`${te}-message-group`,
|
|
23605
23602
|
e ? "standalone" : "embedded"
|
|
@@ -23619,7 +23616,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23619
23616
|
) : u.type === "individual" && u.message ? /* @__PURE__ */ I.jsx(
|
|
23620
23617
|
"div",
|
|
23621
23618
|
{
|
|
23622
|
-
className:
|
|
23619
|
+
className: ce(
|
|
23623
23620
|
r,
|
|
23624
23621
|
`${te}-message`,
|
|
23625
23622
|
e ? "standalone" : "embedded",
|
|
@@ -23648,7 +23645,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23648
23645
|
}, [u]), r ? !h || o.length === 0 ? null : /* @__PURE__ */ I.jsxs(
|
|
23649
23646
|
"div",
|
|
23650
23647
|
{
|
|
23651
|
-
className:
|
|
23648
|
+
className: ce(
|
|
23652
23649
|
e,
|
|
23653
23650
|
`${te}-container`,
|
|
23654
23651
|
`${te}-embedded-chat`
|
|
@@ -23658,7 +23655,7 @@ const Wl = () => /* @__PURE__ */ I.jsx("span", { className: `${te}-blinking-curs
|
|
|
23658
23655
|
/* @__PURE__ */ I.jsxs(
|
|
23659
23656
|
"div",
|
|
23660
23657
|
{
|
|
23661
|
-
className:
|
|
23658
|
+
className: ce(e, `${te}-message-container`, "embedded"),
|
|
23662
23659
|
children: [
|
|
23663
23660
|
/* @__PURE__ */ I.jsx(
|
|
23664
23661
|
ep,
|
|
@@ -24040,7 +24037,7 @@ function f4() {
|
|
|
24040
24037
|
if (x = !1, $(V), !S) if (n(d) !== null) S = !0, ve(he);
|
|
24041
24038
|
else {
|
|
24042
24039
|
var ne = n(h);
|
|
24043
|
-
ne !== null &&
|
|
24040
|
+
ne !== null && le(J, ne.startTime - V);
|
|
24044
24041
|
}
|
|
24045
24042
|
}
|
|
24046
24043
|
function he(V, ne) {
|
|
@@ -24059,7 +24056,7 @@ function f4() {
|
|
|
24059
24056
|
if (y !== null) var C = !0;
|
|
24060
24057
|
else {
|
|
24061
24058
|
var re = n(h);
|
|
24062
|
-
re !== null &&
|
|
24059
|
+
re !== null && le(J, re.startTime - ne), C = !1;
|
|
24063
24060
|
}
|
|
24064
24061
|
return C;
|
|
24065
24062
|
} finally {
|
|
@@ -24087,8 +24084,8 @@ function f4() {
|
|
|
24087
24084
|
H(me);
|
|
24088
24085
|
};
|
|
24089
24086
|
else if (typeof MessageChannel != "undefined") {
|
|
24090
|
-
var
|
|
24091
|
-
|
|
24087
|
+
var ae = new MessageChannel(), _e = ae.port2;
|
|
24088
|
+
ae.port1.onmessage = me, pe = function() {
|
|
24092
24089
|
_e.postMessage(null);
|
|
24093
24090
|
};
|
|
24094
24091
|
} else pe = function() {
|
|
@@ -24097,7 +24094,7 @@ function f4() {
|
|
|
24097
24094
|
function ve(V) {
|
|
24098
24095
|
Ee = V, M || (M = !0, pe());
|
|
24099
24096
|
}
|
|
24100
|
-
function
|
|
24097
|
+
function le(V, ne) {
|
|
24101
24098
|
xe = P(function() {
|
|
24102
24099
|
V(e.unstable_now());
|
|
24103
24100
|
}, ne);
|
|
@@ -24167,7 +24164,7 @@ function f4() {
|
|
|
24167
24164
|
default:
|
|
24168
24165
|
Y = 5e3;
|
|
24169
24166
|
}
|
|
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,
|
|
24167
|
+
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
24168
|
}, e.unstable_shouldYield = ge, e.unstable_wrapCallback = function(V) {
|
|
24172
24169
|
var ne = b;
|
|
24173
24170
|
return function() {
|
|
@@ -24291,7 +24288,7 @@ function h4() {
|
|
|
24291
24288
|
var m = P.hasOwnProperty(s) ? P[s] : null;
|
|
24292
24289
|
(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
24290
|
}
|
|
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"),
|
|
24291
|
+
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
24292
|
function ne(i) {
|
|
24296
24293
|
return i === null || typeof i != "object" ? null : (i = V && i[V] || i["@@iterator"], typeof i == "function" ? i : null);
|
|
24297
24294
|
}
|
|
@@ -24399,7 +24396,7 @@ function h4() {
|
|
|
24399
24396
|
return "StrictMode";
|
|
24400
24397
|
case pe:
|
|
24401
24398
|
return "Suspense";
|
|
24402
|
-
case
|
|
24399
|
+
case ae:
|
|
24403
24400
|
return "SuspenseList";
|
|
24404
24401
|
}
|
|
24405
24402
|
if (typeof i == "object") switch (i.$$typeof) {
|
|
@@ -24635,7 +24632,7 @@ function h4() {
|
|
|
24635
24632
|
}
|
|
24636
24633
|
i.textContent = s;
|
|
24637
24634
|
}
|
|
24638
|
-
var
|
|
24635
|
+
var Dt = {
|
|
24639
24636
|
animationIterationCount: !0,
|
|
24640
24637
|
aspectRatio: !0,
|
|
24641
24638
|
borderImageOutset: !0,
|
|
@@ -24680,13 +24677,13 @@ function h4() {
|
|
|
24680
24677
|
strokeOpacity: !0,
|
|
24681
24678
|
strokeWidth: !0
|
|
24682
24679
|
}, cr = ["Webkit", "ms", "Moz", "O"];
|
|
24683
|
-
Object.keys(
|
|
24680
|
+
Object.keys(Dt).forEach(function(i) {
|
|
24684
24681
|
cr.forEach(function(s) {
|
|
24685
|
-
s = s + i.charAt(0).toUpperCase() + i.substring(1),
|
|
24682
|
+
s = s + i.charAt(0).toUpperCase() + i.substring(1), Dt[s] = Dt[i];
|
|
24686
24683
|
});
|
|
24687
24684
|
});
|
|
24688
24685
|
function Sn(i, s, a) {
|
|
24689
|
-
return s == null || typeof s == "boolean" || s === "" ? "" : a || typeof s != "number" || s === 0 ||
|
|
24686
|
+
return s == null || typeof s == "boolean" || s === "" ? "" : a || typeof s != "number" || s === 0 || Dt.hasOwnProperty(i) && Dt[i] ? ("" + s).trim() : s + "px";
|
|
24690
24687
|
}
|
|
24691
24688
|
function vr(i, s) {
|
|
24692
24689
|
i = i.style;
|
|
@@ -24696,7 +24693,7 @@ function h4() {
|
|
|
24696
24693
|
}
|
|
24697
24694
|
}
|
|
24698
24695
|
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
|
|
24696
|
+
function Mt(i, s) {
|
|
24700
24697
|
if (s) {
|
|
24701
24698
|
if (ni[i] && (s.children != null || s.dangerouslySetInnerHTML != null)) throw Error(n(137, i));
|
|
24702
24699
|
if (s.dangerouslySetInnerHTML != null) {
|
|
@@ -27345,7 +27342,7 @@ Error generating stack: ` + E.message + `
|
|
|
27345
27342
|
default:
|
|
27346
27343
|
typeof m.onClick != "function" && typeof f.onClick == "function" && (i.onclick = qo);
|
|
27347
27344
|
}
|
|
27348
|
-
|
|
27345
|
+
Mt(a, f);
|
|
27349
27346
|
var _;
|
|
27350
27347
|
a = null;
|
|
27351
27348
|
for (j in m) if (!f.hasOwnProperty(j) && m.hasOwnProperty(j) && m[j] != null) if (j === "style") {
|
|
@@ -27455,7 +27452,7 @@ Error generating stack: ` + E.message + `
|
|
|
27455
27452
|
case "textarea":
|
|
27456
27453
|
_o(f, E), it("invalid", f);
|
|
27457
27454
|
}
|
|
27458
|
-
|
|
27455
|
+
Mt(a, E), m = null;
|
|
27459
27456
|
for (var _ in E) if (E.hasOwnProperty(_)) {
|
|
27460
27457
|
var w = E[_];
|
|
27461
27458
|
_ === "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 +27521,7 @@ Error generating stack: ` + E.message + `
|
|
|
27524
27521
|
default:
|
|
27525
27522
|
m = f;
|
|
27526
27523
|
}
|
|
27527
|
-
|
|
27524
|
+
Mt(a, m), w = m;
|
|
27528
27525
|
for (E in w) if (w.hasOwnProperty(E)) {
|
|
27529
27526
|
var R = w[E];
|
|
27530
27527
|
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 +27819,7 @@ Error generating stack: ` + E.message + `
|
|
|
27822
27819
|
if (f === 5 || f === 6) i = i.stateNode, s ? a.insertBefore(i, s) : a.appendChild(i);
|
|
27823
27820
|
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
27821
|
}
|
|
27825
|
-
var
|
|
27822
|
+
var Ft = null, Bn = !1;
|
|
27826
27823
|
function jr(i, s, a) {
|
|
27827
27824
|
for (a = a.child; a !== null; ) Am(i, s, a), a = a.sibling;
|
|
27828
27825
|
}
|
|
@@ -27835,14 +27832,14 @@ Error generating stack: ` + E.message + `
|
|
|
27835
27832
|
case 5:
|
|
27836
27833
|
$t || es(a, s);
|
|
27837
27834
|
case 6:
|
|
27838
|
-
var f =
|
|
27839
|
-
|
|
27835
|
+
var f = Ft, m = Bn;
|
|
27836
|
+
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
27837
|
break;
|
|
27841
27838
|
case 18:
|
|
27842
|
-
|
|
27839
|
+
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
27840
|
break;
|
|
27844
27841
|
case 4:
|
|
27845
|
-
f =
|
|
27842
|
+
f = Ft, m = Bn, Ft = a.stateNode.containerInfo, Bn = !0, jr(i, s, a), Ft = f, Bn = m;
|
|
27846
27843
|
break;
|
|
27847
27844
|
case 0:
|
|
27848
27845
|
case 11:
|
|
@@ -27895,19 +27892,19 @@ Error generating stack: ` + E.message + `
|
|
|
27895
27892
|
e: for (; w !== null; ) {
|
|
27896
27893
|
switch (w.tag) {
|
|
27897
27894
|
case 5:
|
|
27898
|
-
|
|
27895
|
+
Ft = w.stateNode, Bn = !1;
|
|
27899
27896
|
break e;
|
|
27900
27897
|
case 3:
|
|
27901
|
-
|
|
27898
|
+
Ft = w.stateNode.containerInfo, Bn = !0;
|
|
27902
27899
|
break e;
|
|
27903
27900
|
case 4:
|
|
27904
|
-
|
|
27901
|
+
Ft = w.stateNode.containerInfo, Bn = !0;
|
|
27905
27902
|
break e;
|
|
27906
27903
|
}
|
|
27907
27904
|
w = w.return;
|
|
27908
27905
|
}
|
|
27909
|
-
if (
|
|
27910
|
-
Am(E, _, m),
|
|
27906
|
+
if (Ft === null) throw Error(n(160));
|
|
27907
|
+
Am(E, _, m), Ft = null, Bn = !1;
|
|
27911
27908
|
var R = m.alternate;
|
|
27912
27909
|
R !== null && (R.return = null), m.return = null;
|
|
27913
27910
|
} catch (j) {
|
|
@@ -28304,21 +28301,21 @@ Error generating stack: ` + E.message + `
|
|
|
28304
28301
|
Se = s.return;
|
|
28305
28302
|
}
|
|
28306
28303
|
}
|
|
28307
|
-
var M2 = Math.ceil, ma = J.ReactCurrentDispatcher, Tf = J.ReactCurrentOwner, Nn = J.ReactCurrentBatchConfig, Qe = 0, vt = null, _t = null,
|
|
28304
|
+
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
28305
|
function Kt() {
|
|
28309
28306
|
return (Qe & 6) !== 0 ? pt() : ba !== -1 ? ba : ba = pt();
|
|
28310
28307
|
}
|
|
28311
28308
|
function qr(i) {
|
|
28312
|
-
return (i.mode & 1) === 0 ? 1 : (Qe & 2) !== 0 &&
|
|
28309
|
+
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
28310
|
}
|
|
28314
28311
|
function Hn(i, s, a, f) {
|
|
28315
28312
|
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,
|
|
28313
|
+
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
28314
|
}
|
|
28318
28315
|
function nn(i, s) {
|
|
28319
28316
|
var a = i.callbackNode;
|
|
28320
28317
|
T_(i, s);
|
|
28321
|
-
var f = Io(i, i === vt ?
|
|
28318
|
+
var f = Io(i, i === vt ? Bt : 0);
|
|
28322
28319
|
if (f === 0) a !== null && bp(a), i.callbackNode = null, i.callbackPriority = 0;
|
|
28323
28320
|
else if (s = f & -f, i.callbackPriority !== s) {
|
|
28324
28321
|
if (a != null && bp(a), s === 1) i.tag === 0 ? y2(Pm.bind(null, i)) : E0(Pm.bind(null, i)), p2(function() {
|
|
@@ -28350,7 +28347,7 @@ Error generating stack: ` + E.message + `
|
|
|
28350
28347
|
if (ba = -1, _a = 0, (Qe & 6) !== 0) throw Error(n(327));
|
|
28351
28348
|
var a = i.callbackNode;
|
|
28352
28349
|
if (rs() && i.callbackNode !== a) return null;
|
|
28353
|
-
var f = Io(i, i === vt ?
|
|
28350
|
+
var f = Io(i, i === vt ? Bt : 0);
|
|
28354
28351
|
if (f === 0) return null;
|
|
28355
28352
|
if ((f & 30) !== 0 || (f & i.expiredLanes) !== 0 || s) s = Sa(i, f);
|
|
28356
28353
|
else {
|
|
@@ -28358,7 +28355,7 @@ Error generating stack: ` + E.message + `
|
|
|
28358
28355
|
var m = Qe;
|
|
28359
28356
|
Qe |= 2;
|
|
28360
28357
|
var E = Lm();
|
|
28361
|
-
(vt !== i ||
|
|
28358
|
+
(vt !== i || Bt !== s) && (yr = null, ns = pt() + 500, hi(i, s));
|
|
28362
28359
|
do
|
|
28363
28360
|
try {
|
|
28364
28361
|
U2();
|
|
@@ -28367,7 +28364,7 @@ Error generating stack: ` + E.message + `
|
|
|
28367
28364
|
Rm(i, w);
|
|
28368
28365
|
}
|
|
28369
28366
|
while (!0);
|
|
28370
|
-
Hc(), ma.current = E, Qe = m, _t !== null ? s = 0 : (vt = null,
|
|
28367
|
+
Hc(), ma.current = E, Qe = m, _t !== null ? s = 0 : (vt = null, Bt = 0, s = xt);
|
|
28371
28368
|
}
|
|
28372
28369
|
if (s !== 0) {
|
|
28373
28370
|
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 +28521,7 @@ Error generating stack: ` + E.message + `
|
|
|
28524
28521
|
}
|
|
28525
28522
|
a = a.return;
|
|
28526
28523
|
}
|
|
28527
|
-
if (vt = i, _t = i = Wr(i.current, null),
|
|
28524
|
+
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
28525
|
for (s = 0; s < ai.length; s++) if (a = ai[s], f = a.interleaved, f !== null) {
|
|
28529
28526
|
a.interleaved = null;
|
|
28530
28527
|
var m = f.next, E = a.pending;
|
|
@@ -28555,7 +28552,7 @@ Error generating stack: ` + E.message + `
|
|
|
28555
28552
|
}
|
|
28556
28553
|
e: {
|
|
28557
28554
|
var E = i, _ = a.return, w = a, R = s;
|
|
28558
|
-
if (s =
|
|
28555
|
+
if (s = Bt, w.flags |= 32768, R !== null && typeof R == "object" && typeof R.then == "function") {
|
|
28559
28556
|
var j = R, ee = w, ie = ee.tag;
|
|
28560
28557
|
if ((ee.mode & 1) === 0 && (ie === 0 || ie === 11 || ie === 15)) {
|
|
28561
28558
|
var X = ee.alternate;
|
|
@@ -28618,13 +28615,13 @@ Error generating stack: ` + E.message + `
|
|
|
28618
28615
|
return ma.current = la, i === null ? la : i;
|
|
28619
28616
|
}
|
|
28620
28617
|
function wf() {
|
|
28621
|
-
(xt === 0 || xt === 3 || xt === 2) && (xt = 4), vt === null || (fi & 268435455) === 0 && (ga & 268435455) === 0 || Yr(vt,
|
|
28618
|
+
(xt === 0 || xt === 3 || xt === 2) && (xt = 4), vt === null || (fi & 268435455) === 0 && (ga & 268435455) === 0 || Yr(vt, Bt);
|
|
28622
28619
|
}
|
|
28623
28620
|
function Sa(i, s) {
|
|
28624
28621
|
var a = Qe;
|
|
28625
28622
|
Qe |= 2;
|
|
28626
28623
|
var f = Lm();
|
|
28627
|
-
(vt !== i ||
|
|
28624
|
+
(vt !== i || Bt !== s) && (yr = null, hi(i, s));
|
|
28628
28625
|
do
|
|
28629
28626
|
try {
|
|
28630
28627
|
B2();
|
|
@@ -28634,7 +28631,7 @@ Error generating stack: ` + E.message + `
|
|
|
28634
28631
|
}
|
|
28635
28632
|
while (!0);
|
|
28636
28633
|
if (Hc(), Qe = a, ma.current = f, _t !== null) throw Error(n(261));
|
|
28637
|
-
return vt = null,
|
|
28634
|
+
return vt = null, Bt = 0, xt;
|
|
28638
28635
|
}
|
|
28639
28636
|
function B2() {
|
|
28640
28637
|
for (; _t !== null; ) Dm(_t);
|
|
@@ -28694,7 +28691,7 @@ Error generating stack: ` + E.message + `
|
|
|
28694
28691
|
if (i.finishedWork = null, i.finishedLanes = 0, a === i.current) throw Error(n(177));
|
|
28695
28692
|
i.callbackNode = null, i.callbackPriority = 0;
|
|
28696
28693
|
var E = a.lanes | a.childLanes;
|
|
28697
|
-
if (b_(i, E), i === vt && (_t = vt = null,
|
|
28694
|
+
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
28695
|
return rs(), null;
|
|
28699
28696
|
})), E = (a.flags & 15990) !== 0, (a.subtreeFlags & 15990) !== 0 || E) {
|
|
28700
28697
|
E = Nn.transition, Nn.transition = null;
|
|
@@ -28839,7 +28836,7 @@ Error generating stack: ` + E.message + `
|
|
|
28839
28836
|
}
|
|
28840
28837
|
function z2(i, s, a) {
|
|
28841
28838
|
var f = i.pingCache;
|
|
28842
|
-
f !== null && f.delete(s), s = Kt(), i.pingedLanes |= i.suspendedLanes & a, vt === i && (
|
|
28839
|
+
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
28840
|
}
|
|
28844
28841
|
function Bm(i, s) {
|
|
28845
28842
|
s === 0 && ((i.mode & 1) === 0 ? s = 1 : (s = vo, vo <<= 1, (vo & 130023424) === 0 && (vo = 4194304)));
|
|
@@ -29053,9 +29050,9 @@ Error generating stack: ` + E.message + `
|
|
|
29053
29050
|
return i = wn(12, a, s, m | 2), i.elementType = Ne, i.lanes = E, i;
|
|
29054
29051
|
case pe:
|
|
29055
29052
|
return i = wn(13, a, s, m), i.elementType = pe, i.lanes = E, i;
|
|
29053
|
+
case ae:
|
|
29054
|
+
return i = wn(19, a, s, m), i.elementType = ae, i.lanes = E, i;
|
|
29056
29055
|
case le:
|
|
29057
|
-
return i = wn(19, a, s, m), i.elementType = le, i.lanes = E, i;
|
|
29058
|
-
case ce:
|
|
29059
29056
|
return Aa(a, m, E, s);
|
|
29060
29057
|
default:
|
|
29061
29058
|
if (typeof i == "object" && i !== null) switch (i.$$typeof) {
|
|
@@ -29083,7 +29080,7 @@ Error generating stack: ` + E.message + `
|
|
|
29083
29080
|
return i = wn(7, i, f, s), i.lanes = a, i;
|
|
29084
29081
|
}
|
|
29085
29082
|
function Aa(i, s, a, f) {
|
|
29086
|
-
return i = wn(22, i, f, s), i.elementType =
|
|
29083
|
+
return i = wn(22, i, f, s), i.elementType = le, i.lanes = a, i.stateNode = { isHidden: !1 }, i;
|
|
29087
29084
|
}
|
|
29088
29085
|
function If(i, s, a) {
|
|
29089
29086
|
return i = wn(6, i, null, s), i.lanes = a, i;
|
|
@@ -29445,12 +29442,12 @@ var g4 = (e, t) => {
|
|
|
29445
29442
|
}), []);
|
|
29446
29443
|
};
|
|
29447
29444
|
function jb(e, t = {}) {
|
|
29448
|
-
var ge, me, pe,
|
|
29445
|
+
var ge, me, pe, ae, _e, ve;
|
|
29449
29446
|
const n = K.useMemo(() => {
|
|
29450
|
-
const { id:
|
|
29451
|
-
return c4({ id:
|
|
29452
|
-
}, [t]), r = (...
|
|
29453
|
-
e.debug && console.log(...
|
|
29447
|
+
const { id: le, ids: V, getRootNode: ne } = t;
|
|
29448
|
+
return c4({ id: le, ids: V, getRootNode: ne });
|
|
29449
|
+
}, [t]), r = (...le) => {
|
|
29450
|
+
e.debug && console.log(...le);
|
|
29454
29451
|
}, 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
29452
|
prop: o,
|
|
29456
29453
|
bindable: bl,
|
|
@@ -29469,22 +29466,22 @@ function jb(e, t = {}) {
|
|
|
29469
29466
|
return T();
|
|
29470
29467
|
}
|
|
29471
29468
|
}), c = $b(l), d = {
|
|
29472
|
-
get(
|
|
29469
|
+
get(le) {
|
|
29473
29470
|
var V;
|
|
29474
|
-
return (V = c.current) == null ? void 0 : V[
|
|
29471
|
+
return (V = c.current) == null ? void 0 : V[le].ref.current;
|
|
29475
29472
|
},
|
|
29476
|
-
set(
|
|
29473
|
+
set(le, V) {
|
|
29477
29474
|
var ne;
|
|
29478
|
-
(ne = c.current) == null || ne[
|
|
29475
|
+
(ne = c.current) == null || ne[le].set(V);
|
|
29479
29476
|
},
|
|
29480
|
-
initial(
|
|
29477
|
+
initial(le) {
|
|
29481
29478
|
var V;
|
|
29482
|
-
return (V = c.current) == null ? void 0 : V[
|
|
29479
|
+
return (V = c.current) == null ? void 0 : V[le].initial;
|
|
29483
29480
|
},
|
|
29484
|
-
hash(
|
|
29481
|
+
hash(le) {
|
|
29485
29482
|
var ne, A;
|
|
29486
|
-
const V = (ne = c.current) == null ? void 0 : ne[
|
|
29487
|
-
return (A = c.current) == null ? void 0 : A[
|
|
29483
|
+
const V = (ne = c.current) == null ? void 0 : ne[le].get();
|
|
29484
|
+
return (A = c.current) == null ? void 0 : A[le].hash(V);
|
|
29488
29485
|
}
|
|
29489
29486
|
}, h = K.useRef(/* @__PURE__ */ new Map()), g = K.useRef(null), y = K.useRef(null), b = K.useRef({ type: "" }), T = () => Fe(G({}, b.current), {
|
|
29490
29487
|
current() {
|
|
@@ -29494,14 +29491,14 @@ function jb(e, t = {}) {
|
|
|
29494
29491
|
return y.current;
|
|
29495
29492
|
}
|
|
29496
29493
|
}), S = () => Fe(G({}, M), {
|
|
29497
|
-
matches(...
|
|
29498
|
-
return
|
|
29494
|
+
matches(...le) {
|
|
29495
|
+
return le.includes(M.ref.current);
|
|
29499
29496
|
},
|
|
29500
|
-
hasTag(
|
|
29497
|
+
hasTag(le) {
|
|
29501
29498
|
var V, ne;
|
|
29502
|
-
return !!((ne = (V = e.states[M.ref.current]) == null ? void 0 : V.tags) != null && ne.includes(
|
|
29499
|
+
return !!((ne = (V = e.states[M.ref.current]) == null ? void 0 : V.tags) != null && ne.includes(le));
|
|
29503
29500
|
}
|
|
29504
|
-
}), x = m4((_e = (
|
|
29501
|
+
}), x = m4((_e = (ae = e.refs) == null ? void 0 : ae.call(e, { prop: o, context: d })) != null ? _e : {}), P = () => ({
|
|
29505
29502
|
state: S(),
|
|
29506
29503
|
context: d,
|
|
29507
29504
|
event: T(),
|
|
@@ -29515,8 +29512,8 @@ function jb(e, t = {}) {
|
|
|
29515
29512
|
flush: X1,
|
|
29516
29513
|
scope: n,
|
|
29517
29514
|
choose: J
|
|
29518
|
-
}), L = (
|
|
29519
|
-
const V = ms(
|
|
29515
|
+
}), L = (le) => {
|
|
29516
|
+
const V = ms(le) ? le(P()) : le;
|
|
29520
29517
|
if (!V) return;
|
|
29521
29518
|
const ne = V.map((A) => {
|
|
29522
29519
|
var Y, C;
|
|
@@ -29525,11 +29522,11 @@ function jb(e, t = {}) {
|
|
|
29525
29522
|
});
|
|
29526
29523
|
for (const A of ne)
|
|
29527
29524
|
A == null || A(P());
|
|
29528
|
-
}, H = (
|
|
29525
|
+
}, H = (le) => {
|
|
29529
29526
|
var V, ne;
|
|
29530
|
-
return ms(
|
|
29531
|
-
}, $ = (
|
|
29532
|
-
const V = ms(
|
|
29527
|
+
return ms(le) ? le(P()) : (ne = (V = e.implementations) == null ? void 0 : V.guards) == null ? void 0 : ne[le](P());
|
|
29528
|
+
}, $ = (le) => {
|
|
29529
|
+
const V = ms(le) ? le(P()) : le;
|
|
29533
29530
|
if (!V) return;
|
|
29534
29531
|
const ne = V.map((O) => {
|
|
29535
29532
|
var C, re;
|
|
@@ -29541,12 +29538,12 @@ function jb(e, t = {}) {
|
|
|
29541
29538
|
Y && A.push(Y);
|
|
29542
29539
|
}
|
|
29543
29540
|
return () => A.forEach((O) => O == null ? void 0 : O());
|
|
29544
|
-
}, J = (
|
|
29541
|
+
}, J = (le) => C6(le).find((V) => {
|
|
29545
29542
|
let ne = !V.guard;
|
|
29546
29543
|
return il(V.guard) ? ne = !!H(V.guard) : ms(V.guard) && (ne = V.guard(P())), ne;
|
|
29547
|
-
}), he = (
|
|
29544
|
+
}), he = (le) => {
|
|
29548
29545
|
R6(e.computed, () => "[zag-js] No computed object found on machine");
|
|
29549
|
-
const V = e.computed[
|
|
29546
|
+
const V = e.computed[le];
|
|
29550
29547
|
return V({
|
|
29551
29548
|
context: d,
|
|
29552
29549
|
event: T(),
|
|
@@ -29557,20 +29554,20 @@ function jb(e, t = {}) {
|
|
|
29557
29554
|
});
|
|
29558
29555
|
}, M = bl(() => ({
|
|
29559
29556
|
defaultValue: e.initialState({ prop: o }),
|
|
29560
|
-
onChange(
|
|
29557
|
+
onChange(le, V) {
|
|
29561
29558
|
var A, O, Y, C;
|
|
29562
29559
|
if (V) {
|
|
29563
29560
|
const re = h.current.get(V);
|
|
29564
29561
|
re == null || re(), h.current.delete(V);
|
|
29565
29562
|
}
|
|
29566
29563
|
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(
|
|
29564
|
+
const ne = $((Y = e.states[le]) == null ? void 0 : Y.effects);
|
|
29565
|
+
if (ne && h.current.set(le, ne), V === md) {
|
|
29569
29566
|
L(e.entry);
|
|
29570
29567
|
const re = $(e.effects);
|
|
29571
29568
|
re && h.current.set(md, re);
|
|
29572
29569
|
}
|
|
29573
|
-
L((C = e.states[
|
|
29570
|
+
L((C = e.states[le]) == null ? void 0 : C.entry);
|
|
29574
29571
|
}
|
|
29575
29572
|
})), Ee = K.useRef(void 0), xe = K.useRef(hs.NotStarted);
|
|
29576
29573
|
zb(() => {
|
|
@@ -29581,24 +29578,24 @@ function jb(e, t = {}) {
|
|
|
29581
29578
|
const A = (O = Ee.current) != null ? O : M.initial;
|
|
29582
29579
|
M.invoke(A, ne ? M.get() : md);
|
|
29583
29580
|
});
|
|
29584
|
-
const
|
|
29581
|
+
const le = h.current, V = M.ref.current;
|
|
29585
29582
|
return () => {
|
|
29586
|
-
r("unmounting..."), Ee.current = V, xe.current = hs.Stopped,
|
|
29583
|
+
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
29584
|
L(e.exit);
|
|
29588
29585
|
});
|
|
29589
29586
|
};
|
|
29590
29587
|
}, []);
|
|
29591
|
-
const Ne = () => "ref" in M ? M.ref.current : M.get(), U = (
|
|
29588
|
+
const Ne = () => "ref" in M ? M.ref.current : M.get(), U = (le) => {
|
|
29592
29589
|
queueMicrotask(() => {
|
|
29593
29590
|
var C, re, be, ye, we;
|
|
29594
29591
|
if (xe.current !== hs.Started) return;
|
|
29595
|
-
y.current = b.current, b.current =
|
|
29592
|
+
y.current = b.current, b.current = le, r("send", le);
|
|
29596
29593
|
let V = Ne();
|
|
29597
29594
|
const ne = (
|
|
29598
29595
|
// @ts-ignore
|
|
29599
|
-
(be = (C = e.states[V].on) == null ? void 0 : C[
|
|
29596
|
+
(be = (C = e.states[V].on) == null ? void 0 : C[le.type]) != null ? be : (
|
|
29600
29597
|
// @ts-ignore
|
|
29601
|
-
(re = e.on) == null ? void 0 : re[
|
|
29598
|
+
(re = e.on) == null ? void 0 : re[le.type]
|
|
29602
29599
|
)
|
|
29603
29600
|
), A = J(ne);
|
|
29604
29601
|
if (!A) return;
|
|
@@ -31036,7 +31033,7 @@ const n_ = (e) => {
|
|
|
31036
31033
|
children: /* @__PURE__ */ I.jsx(n_, { children: /* @__PURE__ */ I.jsx(
|
|
31037
31034
|
op,
|
|
31038
31035
|
{
|
|
31039
|
-
className:
|
|
31036
|
+
className: ce(
|
|
31040
31037
|
n,
|
|
31041
31038
|
`${te}-container`,
|
|
31042
31039
|
`${te}-dialog`,
|
|
@@ -31046,7 +31043,7 @@ const n_ = (e) => {
|
|
|
31046
31043
|
children: /* @__PURE__ */ I.jsxs(
|
|
31047
31044
|
sp,
|
|
31048
31045
|
{
|
|
31049
|
-
className:
|
|
31046
|
+
className: ce(n, `${te}-dialog-content`, {
|
|
31050
31047
|
standalone: x,
|
|
31051
31048
|
embedded: !x
|
|
31052
31049
|
}),
|
|
@@ -31054,7 +31051,7 @@ const n_ = (e) => {
|
|
|
31054
31051
|
/* @__PURE__ */ I.jsxs(
|
|
31055
31052
|
"div",
|
|
31056
31053
|
{
|
|
31057
|
-
className:
|
|
31054
|
+
className: ce(n, `${te}-dialog-header`, {
|
|
31058
31055
|
standalone: x,
|
|
31059
31056
|
embedded: !x
|
|
31060
31057
|
}),
|
|
@@ -31064,7 +31061,7 @@ const n_ = (e) => {
|
|
|
31064
31061
|
{
|
|
31065
31062
|
alt: "",
|
|
31066
31063
|
role: "img",
|
|
31067
|
-
className:
|
|
31064
|
+
className: ce(n, `${te}-dialog-logo`, {
|
|
31068
31065
|
standalone: x,
|
|
31069
31066
|
embedded: !x
|
|
31070
31067
|
}),
|
|
@@ -31074,14 +31071,14 @@ const n_ = (e) => {
|
|
|
31074
31071
|
/* @__PURE__ */ I.jsx(
|
|
31075
31072
|
ap,
|
|
31076
31073
|
{
|
|
31077
|
-
className:
|
|
31074
|
+
className: ce(n, `${te}-dialog-title`, {
|
|
31078
31075
|
standalone: x,
|
|
31079
31076
|
embedded: !x
|
|
31080
31077
|
}),
|
|
31081
31078
|
children: t
|
|
31082
31079
|
}
|
|
31083
31080
|
),
|
|
31084
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
31081
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(n, `${te}-dialog-controls`), children: [
|
|
31085
31082
|
/* @__PURE__ */ I.jsx(
|
|
31086
31083
|
eo,
|
|
31087
31084
|
{
|
|
@@ -31106,7 +31103,7 @@ const n_ = (e) => {
|
|
|
31106
31103
|
/* @__PURE__ */ I.jsxs(
|
|
31107
31104
|
up,
|
|
31108
31105
|
{
|
|
31109
|
-
className:
|
|
31106
|
+
className: ce(n, `${te}-message-container`, {
|
|
31110
31107
|
standalone: x,
|
|
31111
31108
|
embedded: !x
|
|
31112
31109
|
}),
|
|
@@ -31162,19 +31159,19 @@ const n_ = (e) => {
|
|
|
31162
31159
|
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
31160
|
"div",
|
|
31164
31161
|
{
|
|
31165
|
-
className:
|
|
31162
|
+
className: ce(n, `${te}-modal-container`),
|
|
31166
31163
|
style: r,
|
|
31167
31164
|
children: [
|
|
31168
31165
|
/* @__PURE__ */ I.jsx(
|
|
31169
31166
|
Yb,
|
|
31170
31167
|
{
|
|
31171
|
-
className:
|
|
31168
|
+
className: ce(n, `${te}-modal-backdrop`)
|
|
31172
31169
|
}
|
|
31173
31170
|
),
|
|
31174
31171
|
/* @__PURE__ */ I.jsx(
|
|
31175
31172
|
op,
|
|
31176
31173
|
{
|
|
31177
|
-
className:
|
|
31174
|
+
className: ce(
|
|
31178
31175
|
n,
|
|
31179
31176
|
`${te}-container`,
|
|
31180
31177
|
`${te}-modal`,
|
|
@@ -31187,7 +31184,7 @@ const n_ = (e) => {
|
|
|
31187
31184
|
children: /* @__PURE__ */ I.jsxs(
|
|
31188
31185
|
sp,
|
|
31189
31186
|
{
|
|
31190
|
-
className:
|
|
31187
|
+
className: ce(n, `${te}-modal-content`, {
|
|
31191
31188
|
standalone: x,
|
|
31192
31189
|
embedded: !x
|
|
31193
31190
|
}),
|
|
@@ -31195,7 +31192,7 @@ const n_ = (e) => {
|
|
|
31195
31192
|
/* @__PURE__ */ I.jsxs(
|
|
31196
31193
|
"div",
|
|
31197
31194
|
{
|
|
31198
|
-
className:
|
|
31195
|
+
className: ce(n, `${te}-modal-header`, {
|
|
31199
31196
|
standalone: x,
|
|
31200
31197
|
embedded: !x
|
|
31201
31198
|
}),
|
|
@@ -31205,7 +31202,7 @@ const n_ = (e) => {
|
|
|
31205
31202
|
{
|
|
31206
31203
|
alt: "",
|
|
31207
31204
|
role: "img",
|
|
31208
|
-
className:
|
|
31205
|
+
className: ce(n, `${te}-modal-logo`, {
|
|
31209
31206
|
standalone: x,
|
|
31210
31207
|
embedded: !x
|
|
31211
31208
|
}),
|
|
@@ -31215,19 +31212,19 @@ const n_ = (e) => {
|
|
|
31215
31212
|
/* @__PURE__ */ I.jsx(
|
|
31216
31213
|
ap,
|
|
31217
31214
|
{
|
|
31218
|
-
className:
|
|
31215
|
+
className: ce(n, `${te}-modal-title`, {
|
|
31219
31216
|
standalone: x,
|
|
31220
31217
|
embedded: !x
|
|
31221
31218
|
}),
|
|
31222
31219
|
children: t
|
|
31223
31220
|
}
|
|
31224
31221
|
),
|
|
31225
|
-
/* @__PURE__ */ I.jsxs("div", { className:
|
|
31222
|
+
/* @__PURE__ */ I.jsxs("div", { className: ce(n, `${te}-modal-controls`), children: [
|
|
31226
31223
|
/* @__PURE__ */ I.jsx(
|
|
31227
31224
|
eo,
|
|
31228
31225
|
{
|
|
31229
31226
|
ariaLabel: "Toggle Fullscreen",
|
|
31230
|
-
className:
|
|
31227
|
+
className: ce(
|
|
31231
31228
|
n,
|
|
31232
31229
|
`${te}-modal-fullscreen-button`
|
|
31233
31230
|
),
|
|
@@ -31239,7 +31236,7 @@ const n_ = (e) => {
|
|
|
31239
31236
|
eo,
|
|
31240
31237
|
{
|
|
31241
31238
|
ariaLabel: "Toggle Dialog",
|
|
31242
|
-
className:
|
|
31239
|
+
className: ce(
|
|
31243
31240
|
n,
|
|
31244
31241
|
`${te}-modal-toggle-dialog-button`
|
|
31245
31242
|
),
|
|
@@ -31255,7 +31252,7 @@ const n_ = (e) => {
|
|
|
31255
31252
|
/* @__PURE__ */ I.jsxs(
|
|
31256
31253
|
up,
|
|
31257
31254
|
{
|
|
31258
|
-
className:
|
|
31255
|
+
className: ce(n, `${te}-message-container`, {
|
|
31259
31256
|
standalone: x,
|
|
31260
31257
|
embedded: !x
|
|
31261
31258
|
}),
|