@botpress/webchat 2.1.5 → 2.1.6
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.
|
@@ -1670,7 +1670,7 @@ var kQ = CQ, fp = { exports: {} };
|
|
|
1670
1670
|
fp.exports;
|
|
1671
1671
|
(function(e, t) {
|
|
1672
1672
|
(function() {
|
|
1673
|
-
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", s = "Invalid `variable` option passed into `_.template`", l = "__lodash_hash_undefined__", c = 500, f = "__lodash_placeholder__", p = 1, m = 2, h = 4, g = 1, v = 2, x = 1, _ = 2, w = 4, S = 8, A = 16, C = 32, T = 64, M = 128,
|
|
1673
|
+
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", s = "Invalid `variable` option passed into `_.template`", l = "__lodash_hash_undefined__", c = 500, f = "__lodash_placeholder__", p = 1, m = 2, h = 4, g = 1, v = 2, x = 1, _ = 2, w = 4, S = 8, A = 16, C = 32, T = 64, M = 128, L = 256, q = 512, D = 30, Z = "...", ne = 800, J = 16, K = 1, H = 2, F = 3, G = 1 / 0, te = 9007199254740991, ue = 17976931348623157e292, R = 0 / 0, ae = 4294967295, Ae = ae - 1, N = ae >>> 1, Pe = [
|
|
1674
1674
|
["ary", M],
|
|
1675
1675
|
["bind", x],
|
|
1676
1676
|
["bindKey", _],
|
|
@@ -1679,7 +1679,7 @@ fp.exports;
|
|
|
1679
1679
|
["flip", q],
|
|
1680
1680
|
["partial", C],
|
|
1681
1681
|
["partialRight", T],
|
|
1682
|
-
["rearg",
|
|
1682
|
+
["rearg", L]
|
|
1683
1683
|
], Fe = "[object Arguments]", Ne = "[object Array]", Ge = "[object AsyncFunction]", nt = "[object Boolean]", He = "[object Date]", Oe = "[object DOMException]", Se = "[object Error]", Le = "[object Function]", Ce = "[object GeneratorFunction]", Be = "[object Map]", ct = "[object Number]", V = "[object Null]", ce = "[object Object]", Te = "[object Promise]", _e = "[object Proxy]", Je = "[object RegExp]", je = "[object Set]", ot = "[object String]", Pt = "[object Symbol]", gt = "[object Undefined]", re = "[object WeakMap]", fe = "[object WeakSet]", we = "[object ArrayBuffer]", qe = "[object DataView]", ft = "[object Float32Array]", fn = "[object Float64Array]", nn = "[object Int8Array]", Xt = "[object Int16Array]", cn = "[object Int32Array]", En = "[object Uint8Array]", X = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", pt = "[object Uint32Array]", At = /\b__p \+= '';/g, rn = /\b(__p \+=) '' \+/g, ht = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Dn = /&(?:amp|lt|gt|quot|#39);/g, ir = /[&<>"']/g, P = RegExp(Dn.source), De = RegExp(ir.source), ze = /<%-([\s\S]+?)%>/g, Ye = /<%([\s\S]+?)%>/g, Re = /<%=([\s\S]+?)%>/g, Ze = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, xt = /^\w*$/, Nt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Qt = /[\\^$.*+?()[\]{}|]/g, mn = RegExp(Qt.source), Rn = /^\s+/, cr = /\s/, _o = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Fs = /\{\n\/\* \[wrapped with (.+)\] \*/, z = /,? & /, Ee = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ue = /[()=,{}\[\]\/\s]/, vt = /\\(\\)?/g, Kt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, an = /\w*$/, jt = /^[-+]0x[0-9a-f]+$/i, $t = /^0b[01]+$/i, Mn = /^\[object .+?Constructor\]$/, An = /^0o[0-7]+$/i, Tn = /^(?:0|[1-9]\d*)$/, qr = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, $i = /($^)/, bd = /['\n\r\u2028\u2029\\]/g, Ur = "\\ud800-\\udfff", cM = "\\u0300-\\u036f", dM = "\\ufe20-\\ufe2f", fM = "\\u20d0-\\u20ff", y_ = cM + dM + fM, g_ = "\\u2700-\\u27bf", v_ = "a-z\\xdf-\\xf6\\xf8-\\xff", pM = "\\xac\\xb1\\xd7\\xf7", hM = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", mM = "\\u2000-\\u206f", yM = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", b_ = "A-Z\\xc0-\\xd6\\xd8-\\xde", w_ = "\\ufe0e\\ufe0f", __ = pM + hM + mM + yM, uy = "['’]", gM = "[" + Ur + "]", x_ = "[" + __ + "]", wd = "[" + y_ + "]", S_ = "\\d+", vM = "[" + g_ + "]", E_ = "[" + v_ + "]", A_ = "[^" + Ur + __ + S_ + g_ + v_ + b_ + "]", ly = "\\ud83c[\\udffb-\\udfff]", bM = "(?:" + wd + "|" + ly + ")", T_ = "[^" + Ur + "]", cy = "(?:\\ud83c[\\udde6-\\uddff]){2}", dy = "[\\ud800-\\udbff][\\udc00-\\udfff]", js = "[" + b_ + "]", C_ = "\\u200d", k_ = "(?:" + E_ + "|" + A_ + ")", wM = "(?:" + js + "|" + A_ + ")", O_ = "(?:" + uy + "(?:d|ll|m|re|s|t|ve))?", $_ = "(?:" + uy + "(?:D|LL|M|RE|S|T|VE))?", R_ = bM + "?", I_ = "[" + w_ + "]?", _M = "(?:" + C_ + "(?:" + [T_, cy, dy].join("|") + ")" + I_ + R_ + ")*", xM = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", SM = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", P_ = I_ + R_ + _M, EM = "(?:" + [vM, cy, dy].join("|") + ")" + P_, AM = "(?:" + [T_ + wd + "?", wd, cy, dy, gM].join("|") + ")", TM = RegExp(uy, "g"), CM = RegExp(wd, "g"), fy = RegExp(ly + "(?=" + ly + ")|" + AM + P_, "g"), kM = RegExp([
|
|
1684
1684
|
js + "?" + E_ + "+" + O_ + "(?=" + [x_, js, "$"].join("|") + ")",
|
|
1685
1685
|
wM + "+" + $_ + "(?=" + [x_, js + k_, "$"].join("|") + ")",
|
|
@@ -3312,7 +3312,7 @@ fp.exports;
|
|
|
3312
3312
|
for (b = j ? b : y; ++b < y; ) {
|
|
3313
3313
|
$ = d[b];
|
|
3314
3314
|
var W = Gd($), ee = W == "wrapper" ? Yy($) : n;
|
|
3315
|
-
ee && eg(ee[0]) && ee[1] == (M | S | C |
|
|
3315
|
+
ee && eg(ee[0]) && ee[1] == (M | S | C | L) && !ee[4].length && ee[9] == 1 ? j = j[Gd(ee[0])].apply(j, ee[3]) : j = $.length == 1 && eg($) ? j[W]() : j.thru($);
|
|
3316
3316
|
}
|
|
3317
3317
|
return function() {
|
|
3318
3318
|
var ve = arguments, be = ve[0];
|
|
@@ -3797,7 +3797,7 @@ fp.exports;
|
|
|
3797
3797
|
return d;
|
|
3798
3798
|
}
|
|
3799
3799
|
function ej(u, d) {
|
|
3800
|
-
var y = u[1], b = d[1], E = y | b, $ = E < (x | _ | M), j = b == M && y == S || b == M && y ==
|
|
3800
|
+
var y = u[1], b = d[1], E = y | b, $ = E < (x | _ | M), j = b == M && y == S || b == M && y == L && u[7].length <= d[8] || b == (M | L) && d[7].length <= d[8] && y == S;
|
|
3801
3801
|
if (!($ || j))
|
|
3802
3802
|
return u;
|
|
3803
3803
|
b & x && (u[2] = d[2], E |= y & x ? 0 : w);
|
|
@@ -4486,7 +4486,7 @@ fp.exports;
|
|
|
4486
4486
|
var y = ia(d, Ys(x1));
|
|
4487
4487
|
return Ao(u, T, n, d, y);
|
|
4488
4488
|
}), Zq = To(function(u, d) {
|
|
4489
|
-
return Ao(u,
|
|
4489
|
+
return Ao(u, L, n, n, n, d);
|
|
4490
4490
|
});
|
|
4491
4491
|
function Wq(u, d) {
|
|
4492
4492
|
if (typeof u != "function")
|
|
@@ -5253,7 +5253,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5253
5253
|
return this.reverse()[u](y).reverse();
|
|
5254
5254
|
};
|
|
5255
5255
|
}), yi(["filter", "map", "takeWhile"], function(u, d) {
|
|
5256
|
-
var y = d + 1, b = y == K || y ==
|
|
5256
|
+
var y = d + 1, b = y == K || y == F;
|
|
5257
5257
|
Gt.prototype[u] = function(E) {
|
|
5258
5258
|
var $ = this.clone();
|
|
5259
5259
|
return $.__iteratees__.push({
|
|
@@ -6665,7 +6665,7 @@ O(Rk, "hasDefinitions");
|
|
|
6665
6665
|
async function Ik(e, { cwd: t, $refOptions: n }) {
|
|
6666
6666
|
if (mr("green", "dereferencer", "Dereferencing input schema:", t, e), typeof process > "u")
|
|
6667
6667
|
throw new Error("process is not defined");
|
|
6668
|
-
const r = await import("./index-
|
|
6668
|
+
const r = await import("./index-1cf0a08f.js").then((s) => s.i), i = new r.$RefParser(), o = /* @__PURE__ */ new WeakMap(), a = await i.dereference(t, e, le(U({}, n), {
|
|
6669
6669
|
dereference: le(U({}, n.dereference), {
|
|
6670
6670
|
onDereference(s, l) {
|
|
6671
6671
|
o.set(l, s);
|
|
@@ -11529,8 +11529,8 @@ var Ff = H$, KS = jn, ite = /* @__PURE__ */ O((e, t) => {
|
|
|
11529
11529
|
const { formData: f, disabled: p, hidden: m, handlePropertyChange: h, addArrayItem: g, removeArrayItem: v, formErrors: x, formValid: _ } = U$(r, i), w = (0, Nr.useMemo)(() => os(f, i), [f, i]), S = (0, Nr.useMemo)(() => ste(n, r), [r, n]), { discriminator: A, discriminatedSchema: C, discriminatorValue: T } = ite(r, i);
|
|
11530
11530
|
if (!S || m === !0)
|
|
11531
11531
|
return null;
|
|
11532
|
-
const { Component: M, type:
|
|
11533
|
-
type:
|
|
11532
|
+
const { Component: M, type: L } = S, q = {
|
|
11533
|
+
type: L,
|
|
11534
11534
|
componentID: S.id,
|
|
11535
11535
|
scope: i.join("."),
|
|
11536
11536
|
context: {
|
|
@@ -11549,15 +11549,15 @@ var Ff = H$, KS = jn, ite = /* @__PURE__ */ O((e, t) => {
|
|
|
11549
11549
|
schema: r,
|
|
11550
11550
|
zuiProps: r[gn]
|
|
11551
11551
|
};
|
|
11552
|
-
if (r.type === "array" &&
|
|
11552
|
+
if (r.type === "array" && L === "array") {
|
|
11553
11553
|
const ne = M, J = q.schema, K = Array.isArray(w) || typeof w == "object" ? w : [], H = U(le(U({}, q), {
|
|
11554
|
-
type:
|
|
11554
|
+
type: L,
|
|
11555
11555
|
schema: J,
|
|
11556
11556
|
data: K,
|
|
11557
|
-
addItem: (
|
|
11558
|
-
removeItem: (
|
|
11557
|
+
addItem: (F = void 0) => g(i, typeof F > "u" ? z0(J.items) : F),
|
|
11558
|
+
removeItem: (F) => v(i, F)
|
|
11559
11559
|
}), s);
|
|
11560
|
-
return Array.isArray(r.items) ? null : /* @__PURE__ */ Nr.default.createElement(ne, le(U({ key: q.scope }, H), { isArrayChild: H.isArrayChild }), Array.isArray(H.data) ? H.data.map((
|
|
11560
|
+
return Array.isArray(r.items) ? null : /* @__PURE__ */ Nr.default.createElement(ne, le(U({ key: q.scope }, H), { isArrayChild: H.isArrayChild }), Array.isArray(H.data) ? H.data.map((F, G) => {
|
|
11561
11561
|
const te = [...i, G.toString()];
|
|
11562
11562
|
return /* @__PURE__ */ Nr.default.createElement(
|
|
11563
11563
|
Ff,
|
|
@@ -11584,14 +11584,14 @@ var Ff = H$, KS = jn, ite = /* @__PURE__ */ O((e, t) => {
|
|
|
11584
11584
|
);
|
|
11585
11585
|
}) : []);
|
|
11586
11586
|
}
|
|
11587
|
-
if (r.type === "object" &&
|
|
11587
|
+
if (r.type === "object" && L === "object" && r.properties) {
|
|
11588
11588
|
const ne = M, J = U(le(U({}, q), {
|
|
11589
|
-
type:
|
|
11589
|
+
type: L,
|
|
11590
11590
|
schema: q.schema,
|
|
11591
11591
|
data: w || {}
|
|
11592
11592
|
}), s);
|
|
11593
11593
|
return /* @__PURE__ */ Nr.default.createElement(ne, le(U({ key: q.scope }, J), { isArrayChild: J.isArrayChild }), Object.entries(r.properties).map(([K, H]) => {
|
|
11594
|
-
var
|
|
11594
|
+
var F;
|
|
11595
11595
|
const G = [...i, K];
|
|
11596
11596
|
return /* @__PURE__ */ Nr.default.createElement(Ff, { key: G.join("."), fallback: a, fieldSchema: H, path: G }, /* @__PURE__ */ Nr.default.createElement(
|
|
11597
11597
|
jf,
|
|
@@ -11600,16 +11600,16 @@ var Ff = H$, KS = jn, ite = /* @__PURE__ */ O((e, t) => {
|
|
|
11600
11600
|
components: n,
|
|
11601
11601
|
fieldSchema: H,
|
|
11602
11602
|
path: G,
|
|
11603
|
-
required: ((
|
|
11603
|
+
required: ((F = r.required) == null ? void 0 : F.includes(K)) || !1,
|
|
11604
11604
|
isArrayChild: !1,
|
|
11605
11605
|
fallback: a
|
|
11606
11606
|
}
|
|
11607
11607
|
));
|
|
11608
11608
|
}));
|
|
11609
11609
|
}
|
|
11610
|
-
if (
|
|
11610
|
+
if (L === "discriminatedUnion") {
|
|
11611
11611
|
const ne = M, J = U(le(U({}, q), {
|
|
11612
|
-
type:
|
|
11612
|
+
type: L,
|
|
11613
11613
|
schema: q.schema,
|
|
11614
11614
|
data: w || {},
|
|
11615
11615
|
discriminatorKey: (A == null ? void 0 : A.key) || null,
|
|
@@ -11637,7 +11637,7 @@ var Ff = H$, KS = jn, ite = /* @__PURE__ */ O((e, t) => {
|
|
|
11637
11637
|
)));
|
|
11638
11638
|
}
|
|
11639
11639
|
const D = M, Z = U(le(U({}, q), {
|
|
11640
|
-
type:
|
|
11640
|
+
type: L,
|
|
11641
11641
|
schema: q.schema,
|
|
11642
11642
|
config: {},
|
|
11643
11643
|
required: o,
|
|
@@ -12881,8 +12881,8 @@ const Ine = async (e) => {
|
|
|
12881
12881
|
const A = Yv && (c === "stream" || c === "response");
|
|
12882
12882
|
if (Yv && (s || A)) {
|
|
12883
12883
|
const T = {};
|
|
12884
|
-
["status", "statusText", "headers"].forEach((
|
|
12885
|
-
T[
|
|
12884
|
+
["status", "statusText", "headers"].forEach((L) => {
|
|
12885
|
+
T[L] = S[L];
|
|
12886
12886
|
});
|
|
12887
12887
|
const M = de.toFiniteNumber(S.headers.get("content-length"));
|
|
12888
12888
|
S = new Response(
|
|
@@ -13474,38 +13474,38 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13474
13474
|
x = m(m(K)), v["%Error.prototype%"] = x;
|
|
13475
13475
|
}
|
|
13476
13476
|
var x, _ = function K(H) {
|
|
13477
|
-
var
|
|
13477
|
+
var F;
|
|
13478
13478
|
if (H === "%AsyncFunction%")
|
|
13479
|
-
|
|
13479
|
+
F = a("async function () {}");
|
|
13480
13480
|
else if (H === "%GeneratorFunction%")
|
|
13481
|
-
|
|
13481
|
+
F = a("function* () {}");
|
|
13482
13482
|
else if (H === "%AsyncGeneratorFunction%")
|
|
13483
|
-
|
|
13483
|
+
F = a("async function* () {}");
|
|
13484
13484
|
else if (H === "%AsyncGenerator%") {
|
|
13485
13485
|
var G = K("%AsyncGeneratorFunction%");
|
|
13486
|
-
G && (
|
|
13486
|
+
G && (F = G.prototype);
|
|
13487
13487
|
} else if (H === "%AsyncIteratorPrototype%") {
|
|
13488
13488
|
var te = K("%AsyncGenerator%");
|
|
13489
|
-
te && m && (
|
|
13489
|
+
te && m && (F = m(te.prototype));
|
|
13490
13490
|
}
|
|
13491
|
-
return v[H] =
|
|
13492
|
-
}, w = { "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, S = X0(), A = Sre(), C = S.call(Function.call, Array.prototype.concat), T = S.call(Function.apply, Array.prototype.splice), M = S.call(Function.call, String.prototype.replace),
|
|
13493
|
-
var H =
|
|
13494
|
-
if (H === "%" &&
|
|
13491
|
+
return v[H] = F, F;
|
|
13492
|
+
}, w = { "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, S = X0(), A = Sre(), C = S.call(Function.call, Array.prototype.concat), T = S.call(Function.apply, Array.prototype.splice), M = S.call(Function.call, String.prototype.replace), L = S.call(Function.call, String.prototype.slice), q = S.call(Function.call, RegExp.prototype.exec), D = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Z = /\\(\\)?/g, ne = function(K) {
|
|
13493
|
+
var H = L(K, 0, 1), F = L(K, -1);
|
|
13494
|
+
if (H === "%" && F !== "%")
|
|
13495
13495
|
throw new r("invalid intrinsic syntax, expected closing `%`");
|
|
13496
|
-
if (
|
|
13496
|
+
if (F === "%" && H !== "%")
|
|
13497
13497
|
throw new r("invalid intrinsic syntax, expected opening `%`");
|
|
13498
13498
|
var G = [];
|
|
13499
13499
|
return M(K, D, function(te, ue, R, ae) {
|
|
13500
13500
|
G[G.length] = R ? M(ae, Z, "$1") : ue || te;
|
|
13501
13501
|
}), G;
|
|
13502
13502
|
}, J = function(K, H) {
|
|
13503
|
-
var
|
|
13504
|
-
if (A(w,
|
|
13505
|
-
var te = v[
|
|
13506
|
-
if (te === h && (te = _(
|
|
13503
|
+
var F = K, G;
|
|
13504
|
+
if (A(w, F) && (G = w[F], F = "%" + G[0] + "%"), A(v, F)) {
|
|
13505
|
+
var te = v[F];
|
|
13506
|
+
if (te === h && (te = _(F)), typeof te > "u" && !H)
|
|
13507
13507
|
throw new o("intrinsic " + K + " exists, but is not available. Please file an issue!");
|
|
13508
|
-
return { alias: G, name:
|
|
13508
|
+
return { alias: G, name: F, value: te };
|
|
13509
13509
|
}
|
|
13510
13510
|
throw new r("intrinsic " + K + " does not exist!");
|
|
13511
13511
|
};
|
|
@@ -13516,10 +13516,10 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13516
13516
|
throw new o('"allowMissing" argument must be a boolean');
|
|
13517
13517
|
if (q(/^%?[^%]*%?$/, K) === null)
|
|
13518
13518
|
throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
|
|
13519
|
-
var
|
|
13520
|
-
Ae && (G = Ae[0], T(
|
|
13521
|
-
for (var N = 1, Pe = !0; N <
|
|
13522
|
-
var Fe =
|
|
13519
|
+
var F = ne(K), G = F.length > 0 ? F[0] : "", te = J("%" + G + "%", H), ue = te.name, R = te.value, ae = !1, Ae = te.alias;
|
|
13520
|
+
Ae && (G = Ae[0], T(F, C([0, 1], Ae)));
|
|
13521
|
+
for (var N = 1, Pe = !0; N < F.length; N += 1) {
|
|
13522
|
+
var Fe = F[N], Ne = L(Fe, 0, 1), Ge = L(Fe, -1);
|
|
13523
13523
|
if ((Ne === '"' || Ne === "'" || Ne === "`" || Ge === '"' || Ge === "'" || Ge === "`") && Ne !== Ge)
|
|
13524
13524
|
throw new r("property names with quotes must have matching quotes");
|
|
13525
13525
|
if ((Fe === "constructor" || !Pe) && (ae = !0), G += "." + Fe, ue = "%" + G + "%", A(v, ue))
|
|
@@ -13530,7 +13530,7 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13530
13530
|
throw new o("base intrinsic for " + K + " exists, but the property is not available.");
|
|
13531
13531
|
return;
|
|
13532
13532
|
}
|
|
13533
|
-
if (s && N + 1 >=
|
|
13533
|
+
if (s && N + 1 >= F.length) {
|
|
13534
13534
|
var nt = s(R, Fe);
|
|
13535
13535
|
Pe = !!nt, Pe && "get" in nt && !("originalValue" in nt.get) ? R = nt.get : R = R[Fe];
|
|
13536
13536
|
} else
|
|
@@ -13568,11 +13568,11 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13568
13568
|
};
|
|
13569
13569
|
}), Tre = rr(() => {
|
|
13570
13570
|
}), Cre = rr((e, t) => {
|
|
13571
|
-
var n = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = n && r && typeof r.get == "function" ? r.get : null, o = n && Map.prototype.forEach, a = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, l = a && s && typeof s.get == "function" ? s.get : null, c = a && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, p = f ? WeakMap.prototype.has : null, m = typeof WeakSet == "function" && WeakSet.prototype, h = m ? WeakSet.prototype.has : null, g = typeof WeakRef == "function" && WeakRef.prototype, v = g ? WeakRef.prototype.deref : null, x = Boolean.prototype.valueOf, _ = Object.prototype.toString, w = Function.prototype.toString, S = String.prototype.match, A = String.prototype.slice, C = String.prototype.replace, T = String.prototype.toUpperCase, M = String.prototype.toLowerCase,
|
|
13571
|
+
var n = typeof Map == "function" && Map.prototype, r = Object.getOwnPropertyDescriptor && n ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, i = n && r && typeof r.get == "function" ? r.get : null, o = n && Map.prototype.forEach, a = typeof Set == "function" && Set.prototype, s = Object.getOwnPropertyDescriptor && a ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, l = a && s && typeof s.get == "function" ? s.get : null, c = a && Set.prototype.forEach, f = typeof WeakMap == "function" && WeakMap.prototype, p = f ? WeakMap.prototype.has : null, m = typeof WeakSet == "function" && WeakSet.prototype, h = m ? WeakSet.prototype.has : null, g = typeof WeakRef == "function" && WeakRef.prototype, v = g ? WeakRef.prototype.deref : null, x = Boolean.prototype.valueOf, _ = Object.prototype.toString, w = Function.prototype.toString, S = String.prototype.match, A = String.prototype.slice, C = String.prototype.replace, T = String.prototype.toUpperCase, M = String.prototype.toLowerCase, L = RegExp.prototype.test, q = Array.prototype.concat, D = Array.prototype.join, Z = Array.prototype.slice, ne = Math.floor, J = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, K = Object.getOwnPropertySymbols, H = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, F = typeof Symbol == "function" && typeof Symbol.iterator == "object", G = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === F || "symbol") ? Symbol.toStringTag : null, te = Object.prototype.propertyIsEnumerable, ue = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(X) {
|
|
13572
13572
|
return X.__proto__;
|
|
13573
13573
|
} : null);
|
|
13574
13574
|
function R(X, oe) {
|
|
13575
|
-
if (X === 1 / 0 || X === -1 / 0 || X !== X || X && X > -1e3 && X < 1e3 ||
|
|
13575
|
+
if (X === 1 / 0 || X === -1 / 0 || X !== X || X && X > -1e3 && X < 1e3 || L.call(/e/, oe))
|
|
13576
13576
|
return oe;
|
|
13577
13577
|
var pt = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
|
|
13578
13578
|
if (typeof X == "number") {
|
|
@@ -13637,8 +13637,8 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13637
13637
|
return "[Function" + (Ze ? ": " + Ze : " (anonymous)") + "]" + (xt.length > 0 ? " { " + D.call(xt, ", ") + " }" : "");
|
|
13638
13638
|
}
|
|
13639
13639
|
if (Ce(oe)) {
|
|
13640
|
-
var Nt =
|
|
13641
|
-
return typeof oe == "object" && !
|
|
13640
|
+
var Nt = F ? C.call(String(oe), /^(Symbol\(.*\))_[^)]*$/, "$1") : H.call(oe);
|
|
13641
|
+
return typeof oe == "object" && !F ? qe(Nt) : Nt;
|
|
13642
13642
|
}
|
|
13643
13643
|
if (re(oe)) {
|
|
13644
13644
|
for (var Qt = "<" + M.call(String(oe.nodeName)), mn = oe.attributes || [], Rn = 0; Rn < mn.length; Rn++)
|
|
@@ -13722,7 +13722,7 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13722
13722
|
return ce(X) === "[object Boolean]" && (!G || !(typeof X == "object" && G in X));
|
|
13723
13723
|
}
|
|
13724
13724
|
function Ce(X) {
|
|
13725
|
-
if (
|
|
13725
|
+
if (F)
|
|
13726
13726
|
return X && typeof X == "object" && X instanceof Symbol;
|
|
13727
13727
|
if (typeof X == "symbol")
|
|
13728
13728
|
return !0;
|
|
@@ -13893,13 +13893,13 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13893
13893
|
At[rn] = V(X, rn) ? oe(X[rn], X) : "";
|
|
13894
13894
|
}
|
|
13895
13895
|
var ht = typeof K == "function" ? K(X) : [], Dn;
|
|
13896
|
-
if (
|
|
13896
|
+
if (F) {
|
|
13897
13897
|
Dn = {};
|
|
13898
13898
|
for (var ir = 0; ir < ht.length; ir++)
|
|
13899
13899
|
Dn["$" + ht[ir]] = ht[ir];
|
|
13900
13900
|
}
|
|
13901
13901
|
for (var P in X)
|
|
13902
|
-
V(X, P) && (pt && String(Number(P)) === P && P < X.length ||
|
|
13902
|
+
V(X, P) && (pt && String(Number(P)) === P && P < X.length || F && Dn["$" + P] instanceof Symbol || (L.call(/[^\w$]/, P) ? At.push(oe(P, X) + ": " + oe(X[P], X)) : At.push(P + ": " + oe(X[P], X))));
|
|
13903
13903
|
if (typeof K == "function")
|
|
13904
13904
|
for (var De = 0; De < ht.length; De++)
|
|
13905
13905
|
te.call(X, ht[De]) && At.push("[" + oe(ht[De]) + "]: " + oe(X[ht[De]], X));
|
|
@@ -13989,13 +13989,13 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
13989
13989
|
var C = w;
|
|
13990
13990
|
return i(w) && !i(S) && (C = s(w, A)), i(w) && i(S) ? (S.forEach(function(T, M) {
|
|
13991
13991
|
if (r.call(w, M)) {
|
|
13992
|
-
var
|
|
13993
|
-
|
|
13992
|
+
var L = w[M];
|
|
13993
|
+
L && typeof L == "object" && T && typeof T == "object" ? w[M] = _(L, T, A) : w.push(T);
|
|
13994
13994
|
} else
|
|
13995
13995
|
w[M] = T;
|
|
13996
13996
|
}), w) : Object.keys(S).reduce(function(T, M) {
|
|
13997
|
-
var
|
|
13998
|
-
return r.call(T, M) ? T[M] = _(T[M],
|
|
13997
|
+
var L = S[M];
|
|
13998
|
+
return r.call(T, M) ? T[M] = _(T[M], L, A) : T[M] = L, T;
|
|
13999
13999
|
}, C);
|
|
14000
14000
|
}, c = function(_, w) {
|
|
14001
14001
|
return Object.keys(w).reduce(function(S, A) {
|
|
@@ -14018,10 +14018,10 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14018
14018
|
return escape(T).replace(/%u[0-9a-f]{4}/gi, function(D) {
|
|
14019
14019
|
return "%26%23" + parseInt(D.slice(2), 16) + "%3B";
|
|
14020
14020
|
});
|
|
14021
|
-
for (var M = "",
|
|
14022
|
-
var q = T.charCodeAt(
|
|
14021
|
+
for (var M = "", L = 0; L < T.length; ++L) {
|
|
14022
|
+
var q = T.charCodeAt(L);
|
|
14023
14023
|
if (q === 45 || q === 46 || q === 95 || q === 126 || q >= 48 && q <= 57 || q >= 65 && q <= 90 || q >= 97 && q <= 122 || C === n.RFC1738 && (q === 40 || q === 41)) {
|
|
14024
|
-
M += T.charAt(
|
|
14024
|
+
M += T.charAt(L);
|
|
14025
14025
|
continue;
|
|
14026
14026
|
}
|
|
14027
14027
|
if (q < 128) {
|
|
@@ -14036,13 +14036,13 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14036
14036
|
M = M + (o[224 | q >> 12] + o[128 | q >> 6 & 63] + o[128 | q & 63]);
|
|
14037
14037
|
continue;
|
|
14038
14038
|
}
|
|
14039
|
-
|
|
14039
|
+
L += 1, q = 65536 + ((q & 1023) << 10 | T.charCodeAt(L) & 1023), M += o[240 | q >> 18] + o[128 | q >> 12 & 63] + o[128 | q >> 6 & 63] + o[128 | q & 63];
|
|
14040
14040
|
}
|
|
14041
14041
|
return M;
|
|
14042
14042
|
}, m = function(_) {
|
|
14043
14043
|
for (var w = [{ obj: { o: _ }, prop: "o" }], S = [], A = 0; A < w.length; ++A)
|
|
14044
|
-
for (var C = w[A], T = C.obj[C.prop], M = Object.keys(T),
|
|
14045
|
-
var q = M[
|
|
14044
|
+
for (var C = w[A], T = C.obj[C.prop], M = Object.keys(T), L = 0; L < M.length; ++L) {
|
|
14045
|
+
var q = M[L], D = T[q];
|
|
14046
14046
|
typeof D == "object" && D !== null && S.indexOf(D) === -1 && (w.push({ obj: T, prop: q }), S.push(D));
|
|
14047
14047
|
}
|
|
14048
14048
|
return a(w), _;
|
|
@@ -14074,7 +14074,7 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14074
14074
|
return p.call(w);
|
|
14075
14075
|
}, skipNulls: !1, strictNullHandling: !1 }, g = function(w) {
|
|
14076
14076
|
return typeof w == "string" || typeof w == "number" || typeof w == "boolean" || typeof w == "symbol" || typeof w == "bigint";
|
|
14077
|
-
}, v = {}, x = function w(S, A, C, T, M,
|
|
14077
|
+
}, v = {}, x = function w(S, A, C, T, M, L, q, D, Z, ne, J, K, H, F, G, te) {
|
|
14078
14078
|
for (var ue = S, R = te, ae = 0, Ae = !1; (R = R.get(v)) !== void 0 && !Ae; ) {
|
|
14079
14079
|
var N = R.get(S);
|
|
14080
14080
|
if (ae += 1, typeof N < "u") {
|
|
@@ -14088,13 +14088,13 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14088
14088
|
return ce instanceof Date ? J(ce) : ce;
|
|
14089
14089
|
})), ue === null) {
|
|
14090
14090
|
if (M)
|
|
14091
|
-
return q && !
|
|
14091
|
+
return q && !F ? q(A, h.encoder, G, "key", K) : A;
|
|
14092
14092
|
ue = "";
|
|
14093
14093
|
}
|
|
14094
14094
|
if (g(ue) || r.isBuffer(ue)) {
|
|
14095
14095
|
if (q) {
|
|
14096
|
-
var Pe =
|
|
14097
|
-
if (C === "comma" &&
|
|
14096
|
+
var Pe = F ? A : q(A, h.encoder, G, "key", K);
|
|
14097
|
+
if (C === "comma" && F) {
|
|
14098
14098
|
for (var Fe = l.call(String(ue), ","), Ne = "", Ge = 0; Ge < Fe.length; ++Ge)
|
|
14099
14099
|
Ne += (Ge === 0 ? "" : ",") + H(q(Fe[Ge], h.encoder, G, "value", K));
|
|
14100
14100
|
return [H(Pe) + (T && s(ue) && Fe.length === 1 ? "[]" : "") + "=" + Ne];
|
|
@@ -14117,11 +14117,11 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14117
14117
|
}
|
|
14118
14118
|
for (var Se = T && s(ue) && ue.length === 1 ? A + "[]" : A, Le = 0; Le < He.length; ++Le) {
|
|
14119
14119
|
var Ce = He[Le], Be = typeof Ce == "object" && typeof Ce.value < "u" ? Ce.value : ue[Ce];
|
|
14120
|
-
if (!(
|
|
14120
|
+
if (!(L && Be === null)) {
|
|
14121
14121
|
var ct = s(ue) ? typeof C == "function" ? C(Se, Ce) : Se : Se + (ne ? "." + Ce : "[" + Ce + "]");
|
|
14122
14122
|
te.set(S, ae);
|
|
14123
14123
|
var V = n();
|
|
14124
|
-
V.set(v, te), f(nt, w(Be, ct, C, T, M,
|
|
14124
|
+
V.set(v, te), f(nt, w(Be, ct, C, T, M, L, q, D, Z, ne, J, K, H, F, G, V));
|
|
14125
14125
|
}
|
|
14126
14126
|
}
|
|
14127
14127
|
return nt;
|
|
@@ -14145,7 +14145,7 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14145
14145
|
t.exports = function(w, S) {
|
|
14146
14146
|
var A = w, C = _(S), T, M;
|
|
14147
14147
|
typeof C.filter == "function" ? (M = C.filter, A = M("", A)) : s(C.filter) && (M = C.filter, T = M);
|
|
14148
|
-
var
|
|
14148
|
+
var L = [];
|
|
14149
14149
|
if (typeof A != "object" || A === null)
|
|
14150
14150
|
return "";
|
|
14151
14151
|
var q;
|
|
@@ -14157,10 +14157,10 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14157
14157
|
T || (T = Object.keys(A)), C.sort && T.sort(C.sort);
|
|
14158
14158
|
for (var ne = n(), J = 0; J < T.length; ++J) {
|
|
14159
14159
|
var K = T[J];
|
|
14160
|
-
C.skipNulls && A[K] === null || f(
|
|
14160
|
+
C.skipNulls && A[K] === null || f(L, x(A[K], K, D, Z, C.strictNullHandling, C.skipNulls, C.encode ? C.encoder : null, C.filter, C.sort, C.allowDots, C.serializeDate, C.format, C.formatter, C.encodeValuesOnly, C.charset, ne));
|
|
14161
14161
|
}
|
|
14162
|
-
var H =
|
|
14163
|
-
return C.charsetSentinel && (C.charset === "iso-8859-1" ?
|
|
14162
|
+
var H = L.join(C.delimiter), F = C.addQueryPrefix === !0 ? "?" : "";
|
|
14163
|
+
return C.charsetSentinel && (C.charset === "iso-8859-1" ? F += "utf8=%26%2310003%3B&" : F += "utf8=%E2%9C%93&"), H.length > 0 ? F + H : "";
|
|
14164
14164
|
};
|
|
14165
14165
|
}), $re = rr((e, t) => {
|
|
14166
14166
|
var n = wR(), r = Object.prototype.hasOwnProperty, i = Array.isArray, o = { allowDots: !1, allowPrototypes: !1, allowSparse: !1, arrayLimit: 20, charset: "utf-8", charsetSentinel: !1, comma: !1, decoder: n.decode, delimiter: "&", depth: 5, ignoreQueryPrefix: !1, interpretNumericEntities: !1, parameterLimit: 1e3, parseArrays: !0, plainObjects: !1, strictNullHandling: !1 }, a = function(g) {
|
|
@@ -14176,7 +14176,7 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14176
14176
|
S[C].indexOf("utf8=") === 0 && (S[C] === c ? T = "utf-8" : S[C] === l && (T = "iso-8859-1"), A = C, C = S.length);
|
|
14177
14177
|
for (C = 0; C < S.length; ++C)
|
|
14178
14178
|
if (C !== A) {
|
|
14179
|
-
var M = S[C],
|
|
14179
|
+
var M = S[C], L = M.indexOf("]="), q = L === -1 ? M.indexOf("=") : L + 1, D, Z;
|
|
14180
14180
|
q === -1 ? (D = v.decoder(M, o.decoder, T, "key"), Z = v.strictNullHandling ? null : "") : (D = v.decoder(M.slice(0, q), o.decoder, T, "key"), Z = n.maybeMap(s(M.slice(q + 1), v), function(ne) {
|
|
14181
14181
|
return v.decoder(ne, o.decoder, T, "value");
|
|
14182
14182
|
})), Z && v.interpretNumericEntities && T === "iso-8859-1" && (Z = a(Z)), M.indexOf("[]=") > -1 && (Z = i(Z) ? [Z] : Z), r.call(x, D) ? x[D] = n.combine(x[D], Z) : x[D] = Z;
|
|
@@ -14203,8 +14203,8 @@ var dre = Object.create, bR = Object.defineProperty, fre = Object.getOwnProperty
|
|
|
14203
14203
|
return;
|
|
14204
14204
|
M.push(T);
|
|
14205
14205
|
}
|
|
14206
|
-
for (var
|
|
14207
|
-
if (
|
|
14206
|
+
for (var L = 0; x.depth > 0 && (C = A.exec(w)) !== null && L < x.depth; ) {
|
|
14207
|
+
if (L += 1, !x.plainObjects && r.call(Object.prototype, C[1].slice(1, -1)) && !x.allowPrototypes)
|
|
14208
14208
|
return;
|
|
14209
14209
|
M.push(C[1]);
|
|
14210
14210
|
}
|
|
@@ -15211,12 +15211,12 @@ const vae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
15211
15211
|
}, c = (P, De, ze) => (l(P, De, "default"), ze && l(ze, De, "default")), f = (P, De, ze) => (ze = P != null ? t(o(P)) : {}, l(De || !P || !P.__esModule ? n(ze, "default", { value: P, enumerable: !0 }) : ze, P)), p = (P) => l(n({}, "__esModule", { value: !0 }), P), m = {};
|
|
15212
15212
|
s(m, { Bot: () => ir, BotSpecificClient: () => cn, Integration: () => nn, IntegrationDefinition: () => V, IntegrationSpecificClient: () => Te, RuntimeError: () => Le.RuntimeError, botIdHeader: () => G, botUserIdHeader: () => te, configurationHeader: () => ae, integrationIdHeader: () => ue, isApiError: () => Le.isApiError, messages: () => h, operationHeader: () => Ae, parseBody: () => Ne, serve: () => Ge, studioComponentDefinitions: () => _, typeHeader: () => N, webhookIdHeader: () => R }), e.exports = p(m);
|
|
15213
15213
|
var h = {};
|
|
15214
|
-
s(h, { defaults: () =>
|
|
15214
|
+
s(h, { defaults: () => F });
|
|
15215
15215
|
var g = {};
|
|
15216
15216
|
s(g, { default: () => w, studioComponentDefinitions: () => _ });
|
|
15217
15217
|
var v = uf;
|
|
15218
15218
|
c(g, uf);
|
|
15219
|
-
var x = v.z.object({ allowDynamicVariable: v.z.boolean().optional(), horizontal: v.z.boolean().optional() }), _ = { string: { text: { id: "text", params: x.extend({ multiLine: v.z.boolean().optional(), growVertically: v.z.boolean().optional(), suggestions: v.z.array(v.z.string()).optional() }) }, dropdown: { id: "dropdown", params: x.extend({ filterable: v.z.boolean().optional() }) }, radiogroup: { id: "radiogroup", params: x.extend({}) }, date: { id: "date", params: x.extend({ dateFormat: v.z.string().optional(), minDate: v.z.string().optional(), maxDate: v.z.string().optional(), defaultTimezone: v.z.string().optional(), disableTimezoneSelection: v.z.boolean().optional(), highlightCurrentDay: v.z.boolean().optional(), showShortcutButtons: v.z.boolean().optional(), showOutsideDaysOfMonth: v.z.boolean().optional(), firstDayOfWeek: v.z.number().optional(), canChangeMonth: v.z.boolean().optional(), showWeekNumbers: v.z.boolean().optional() }) }, time: { id: "time", params: x.extend({ useAMPM: v.z.boolean().optional(), timeFormat: v.z.string().optional(), minTime: v.z.string().optional(), maxTime: v.z.string().optional(), showArrowButtons: v.z.boolean().optional(), precision: v.z.enum(["minute", "second", "millisecond"]).optional() }) }, richtext: { id: "richtext", params: v.z.object({ allowDynamicVariable: v.z.boolean().optional(), resizable: v.z.boolean().optional() }) }, json: { id: "json", params: x.extend({ showPreview: v.z.boolean().optional(), showValidationError: v.z.boolean().optional() }) }, file: { id: "file", params: x.extend({ fileTypes: v.z.array(v.z.enum(["image", "audio", "video"])).optional(), showUploadedFiles: v.z.boolean().optional() }) } }, number: { number: { id: "number", params: x.extend({ allowNumericCharactersOnly: v.z.boolean().optional(), stepSize: v.z.number().optional() }) }, slider: { id: "slider", params: v.z.object({ horizontal: v.z.boolean().optional(), stepSize: v.z.number().optional() }) } }, boolean: { switch: { id: "switch", params: x } }, array: { options: { id: "options", params: x }, strings: { id: "strings", params: x }, daterange: { id: "daterange", params: v.z.object({ dateFormat: v.z.string().optional(), minDate: v.z.string().optional(), maxDate: v.z.string().optional(), defaultTimezone: v.z.string().optional(), allowSingleDayRange: v.z.boolean().optional(), highlightCurrentDay: v.z.boolean().optional(), showOutsideDaysOfMonth: v.z.boolean().optional(), firstDayOfWeek: v.z.number().optional(), canChangeMonth: v.z.boolean().optional(), showWeekNumbers: v.z.boolean().optional() }) } }, object: { collapsible: { id: "collapsible", params: v.z.object({ defaultOpen: v.z.boolean().optional() }) }, modal: { id: "modal", params: v.z.object({ title: v.z.string().optional(), buttonLabel: v.z.string().optional(), closeButtonLabel: v.z.string().optional() }) }, popover: { id: "popover", params: v.z.object({ buttonLabel: v.z.string().optional() }) } }, discriminatedUnion: {} }, w = v.z, S = g.z.string().min(1), A = g.z.object({ text: S }), C = g.z.object({ markdown: S }), T = g.z.object({ imageUrl: S }), M = g.z.object({ audioUrl: S }),
|
|
15219
|
+
var x = v.z.object({ allowDynamicVariable: v.z.boolean().optional(), horizontal: v.z.boolean().optional() }), _ = { string: { text: { id: "text", params: x.extend({ multiLine: v.z.boolean().optional(), growVertically: v.z.boolean().optional(), suggestions: v.z.array(v.z.string()).optional() }) }, dropdown: { id: "dropdown", params: x.extend({ filterable: v.z.boolean().optional() }) }, radiogroup: { id: "radiogroup", params: x.extend({}) }, date: { id: "date", params: x.extend({ dateFormat: v.z.string().optional(), minDate: v.z.string().optional(), maxDate: v.z.string().optional(), defaultTimezone: v.z.string().optional(), disableTimezoneSelection: v.z.boolean().optional(), highlightCurrentDay: v.z.boolean().optional(), showShortcutButtons: v.z.boolean().optional(), showOutsideDaysOfMonth: v.z.boolean().optional(), firstDayOfWeek: v.z.number().optional(), canChangeMonth: v.z.boolean().optional(), showWeekNumbers: v.z.boolean().optional() }) }, time: { id: "time", params: x.extend({ useAMPM: v.z.boolean().optional(), timeFormat: v.z.string().optional(), minTime: v.z.string().optional(), maxTime: v.z.string().optional(), showArrowButtons: v.z.boolean().optional(), precision: v.z.enum(["minute", "second", "millisecond"]).optional() }) }, richtext: { id: "richtext", params: v.z.object({ allowDynamicVariable: v.z.boolean().optional(), resizable: v.z.boolean().optional() }) }, json: { id: "json", params: x.extend({ showPreview: v.z.boolean().optional(), showValidationError: v.z.boolean().optional() }) }, file: { id: "file", params: x.extend({ fileTypes: v.z.array(v.z.enum(["image", "audio", "video"])).optional(), showUploadedFiles: v.z.boolean().optional() }) } }, number: { number: { id: "number", params: x.extend({ allowNumericCharactersOnly: v.z.boolean().optional(), stepSize: v.z.number().optional() }) }, slider: { id: "slider", params: v.z.object({ horizontal: v.z.boolean().optional(), stepSize: v.z.number().optional() }) } }, boolean: { switch: { id: "switch", params: x } }, array: { options: { id: "options", params: x }, strings: { id: "strings", params: x }, daterange: { id: "daterange", params: v.z.object({ dateFormat: v.z.string().optional(), minDate: v.z.string().optional(), maxDate: v.z.string().optional(), defaultTimezone: v.z.string().optional(), allowSingleDayRange: v.z.boolean().optional(), highlightCurrentDay: v.z.boolean().optional(), showOutsideDaysOfMonth: v.z.boolean().optional(), firstDayOfWeek: v.z.number().optional(), canChangeMonth: v.z.boolean().optional(), showWeekNumbers: v.z.boolean().optional() }) } }, object: { collapsible: { id: "collapsible", params: v.z.object({ defaultOpen: v.z.boolean().optional() }) }, modal: { id: "modal", params: v.z.object({ title: v.z.string().optional(), buttonLabel: v.z.string().optional(), closeButtonLabel: v.z.string().optional() }) }, popover: { id: "popover", params: v.z.object({ buttonLabel: v.z.string().optional() }) } }, discriminatedUnion: {} }, w = v.z, S = g.z.string().min(1), A = g.z.object({ text: S }), C = g.z.object({ markdown: S }), T = g.z.object({ imageUrl: S }), M = g.z.object({ audioUrl: S }), L = g.z.object({ videoUrl: S }), q = g.z.object({ fileUrl: S, title: S.optional() }), D = g.z.object({ latitude: g.z.number(), longitude: g.z.number(), address: g.z.string().optional(), title: g.z.string().optional() }), Z = g.z.object({ title: S, subtitle: S.optional(), imageUrl: S.optional(), actions: g.z.array(g.z.object({ action: g.z.enum(["postback", "url", "say"]), label: S, value: S })) }), ne = g.z.object({ text: S, options: g.z.array(g.z.object({ label: S, value: S })) }), J = g.z.object({ items: g.z.array(Z) }), K = g.z.discriminatedUnion("type", [g.z.object({ type: g.z.literal("text"), payload: A }), g.z.object({ type: g.z.literal("markdown"), payload: C }), g.z.object({ type: g.z.literal("image"), payload: T }), g.z.object({ type: g.z.literal("audio"), payload: M }), g.z.object({ type: g.z.literal("video"), payload: L }), g.z.object({ type: g.z.literal("file"), payload: q }), g.z.object({ type: g.z.literal("location"), payload: D })]), H = g.z.object({ items: g.z.array(K) }), F = { text: { schema: A }, markdown: { schema: C }, image: { schema: T }, audio: { schema: M }, video: { schema: L }, file: { schema: q }, location: { schema: D }, carousel: { schema: J }, card: { schema: Z }, dropdown: { schema: ne }, choice: { schema: ne }, bloc: { schema: H } }, G = "x-bot-id", te = "x-bot-user-id", ue = "x-integration-id", R = "x-webhook-id", ae = "x-bp-configuration", Ae = "x-bp-operation", N = "x-bp-type", Pe = Hv, Fe = console;
|
|
15220
15220
|
function Ne(P) {
|
|
15221
15221
|
if (!P.body)
|
|
15222
15222
|
throw new Error("Missing body");
|
|
@@ -16319,10 +16319,10 @@ function ese() {
|
|
|
16319
16319
|
an.unshift("Warning: " + Ee), Function.prototype.apply.call(console[z], console, an);
|
|
16320
16320
|
}
|
|
16321
16321
|
}
|
|
16322
|
-
var A = !1, C = !1, T = !1, M = !1,
|
|
16322
|
+
var A = !1, C = !1, T = !1, M = !1, L = !1, q;
|
|
16323
16323
|
q = Symbol.for("react.module.reference");
|
|
16324
16324
|
function D(z) {
|
|
16325
|
-
return !!(typeof z == "string" || typeof z == "function" || z === r || z === o ||
|
|
16325
|
+
return !!(typeof z == "string" || typeof z == "function" || z === r || z === o || L || z === i || z === c || z === f || M || z === h || A || C || T || typeof z == "object" && z !== null && (z.$$typeof === m || z.$$typeof === p || z.$$typeof === a || z.$$typeof === s || z.$$typeof === l || // This needs to include all possible module reference object
|
|
16326
16326
|
// types supported by any Flight configuration anywhere since
|
|
16327
16327
|
// we don't know which Flight build this will end up being used
|
|
16328
16328
|
// with.
|
|
@@ -16383,14 +16383,14 @@ function ese() {
|
|
|
16383
16383
|
}
|
|
16384
16384
|
return null;
|
|
16385
16385
|
}
|
|
16386
|
-
var K = Object.assign, H = 0,
|
|
16386
|
+
var K = Object.assign, H = 0, F, G, te, ue, R, ae, Ae;
|
|
16387
16387
|
function N() {
|
|
16388
16388
|
}
|
|
16389
16389
|
N.__reactDisabledLog = !0;
|
|
16390
16390
|
function Pe() {
|
|
16391
16391
|
{
|
|
16392
16392
|
if (H === 0) {
|
|
16393
|
-
|
|
16393
|
+
F = console.log, G = console.info, te = console.warn, ue = console.error, R = console.group, ae = console.groupCollapsed, Ae = console.groupEnd;
|
|
16394
16394
|
var z = {
|
|
16395
16395
|
configurable: !0,
|
|
16396
16396
|
enumerable: !0,
|
|
@@ -16420,7 +16420,7 @@ function ese() {
|
|
|
16420
16420
|
};
|
|
16421
16421
|
Object.defineProperties(console, {
|
|
16422
16422
|
log: K({}, z, {
|
|
16423
|
-
value:
|
|
16423
|
+
value: F
|
|
16424
16424
|
}),
|
|
16425
16425
|
info: K({}, z, {
|
|
16426
16426
|
value: G
|
|
@@ -19173,11 +19173,11 @@ function Tue(e) {
|
|
|
19173
19173
|
)
|
|
19174
19174
|
return;
|
|
19175
19175
|
const M = t.events.length;
|
|
19176
|
-
let
|
|
19177
|
-
for (;
|
|
19178
|
-
if (t.events[
|
|
19176
|
+
let L = M, q, D;
|
|
19177
|
+
for (; L--; )
|
|
19178
|
+
if (t.events[L][0] === "exit" && t.events[L][1].type === "chunkFlow") {
|
|
19179
19179
|
if (q) {
|
|
19180
|
-
D = t.events[
|
|
19180
|
+
D = t.events[L][1].end;
|
|
19181
19181
|
break;
|
|
19182
19182
|
}
|
|
19183
19183
|
q = !0;
|
|
@@ -19186,7 +19186,7 @@ function Tue(e) {
|
|
|
19186
19186
|
t.events[T][1].end = Object.assign({}, D), T++;
|
|
19187
19187
|
di(
|
|
19188
19188
|
t.events,
|
|
19189
|
-
|
|
19189
|
+
L + 1,
|
|
19190
19190
|
0,
|
|
19191
19191
|
t.events.slice(M)
|
|
19192
19192
|
), t.events.length = T;
|
|
@@ -19503,7 +19503,7 @@ function Fue(e, t, n) {
|
|
|
19503
19503
|
function A(T) {
|
|
19504
19504
|
return e.exit("codeFenced"), t(T);
|
|
19505
19505
|
}
|
|
19506
|
-
function C(T, M,
|
|
19506
|
+
function C(T, M, L) {
|
|
19507
19507
|
let q = 0;
|
|
19508
19508
|
return D;
|
|
19509
19509
|
function D(H) {
|
|
@@ -19518,13 +19518,13 @@ function Fue(e, t, n) {
|
|
|
19518
19518
|
)(H) : ne(H);
|
|
19519
19519
|
}
|
|
19520
19520
|
function ne(H) {
|
|
19521
|
-
return H === s ? (T.enter("codeFencedFenceSequence"), J(H)) :
|
|
19521
|
+
return H === s ? (T.enter("codeFencedFenceSequence"), J(H)) : L(H);
|
|
19522
19522
|
}
|
|
19523
19523
|
function J(H) {
|
|
19524
|
-
return H === s ? (q++, T.consume(H), J) : q >= a ? (T.exit("codeFencedFenceSequence"), Ht(H) ? tn(T, K, "whitespace")(H) : K(H)) :
|
|
19524
|
+
return H === s ? (q++, T.consume(H), J) : q >= a ? (T.exit("codeFencedFenceSequence"), Ht(H) ? tn(T, K, "whitespace")(H) : K(H)) : L(H);
|
|
19525
19525
|
}
|
|
19526
19526
|
function K(H) {
|
|
19527
|
-
return H === null || bt(H) ? (T.exit("codeFencedFence"), M(H)) :
|
|
19527
|
+
return H === null || bt(H) ? (T.exit("codeFencedFence"), M(H)) : L(H);
|
|
19528
19528
|
}
|
|
19529
19529
|
}
|
|
19530
19530
|
}
|
|
@@ -20056,13 +20056,13 @@ function ple(e, t, n) {
|
|
|
20056
20056
|
return N === 61 ? (e.consume(N), T) : Ht(N) ? (e.consume(N), C) : S(N);
|
|
20057
20057
|
}
|
|
20058
20058
|
function T(N) {
|
|
20059
|
-
return N === null || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 34 || N === 39 ? (e.consume(N), l = N, M) : Ht(N) ? (e.consume(N), T) :
|
|
20059
|
+
return N === null || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 34 || N === 39 ? (e.consume(N), l = N, M) : Ht(N) ? (e.consume(N), T) : L(N);
|
|
20060
20060
|
}
|
|
20061
20061
|
function M(N) {
|
|
20062
20062
|
return N === l ? (e.consume(N), l = null, q) : N === null || bt(N) ? n(N) : (e.consume(N), M);
|
|
20063
20063
|
}
|
|
20064
|
-
function
|
|
20065
|
-
return N === null || N === 34 || N === 39 || N === 47 || N === 60 || N === 61 || N === 62 || N === 96 || vn(N) ? C(N) : (e.consume(N),
|
|
20064
|
+
function L(N) {
|
|
20065
|
+
return N === null || N === 34 || N === 39 || N === 47 || N === 60 || N === 61 || N === 62 || N === 96 || vn(N) ? C(N) : (e.consume(N), L);
|
|
20066
20066
|
}
|
|
20067
20067
|
function q(N) {
|
|
20068
20068
|
return N === 47 || N === 62 || Ht(N) ? S(N) : n(N);
|
|
@@ -20074,7 +20074,7 @@ function ple(e, t, n) {
|
|
|
20074
20074
|
return N === null || bt(N) ? ne(N) : Ht(N) ? (e.consume(N), Z) : n(N);
|
|
20075
20075
|
}
|
|
20076
20076
|
function ne(N) {
|
|
20077
|
-
return N === 45 && i === 2 ? (e.consume(N),
|
|
20077
|
+
return N === 45 && i === 2 ? (e.consume(N), F) : N === 60 && i === 1 ? (e.consume(N), G) : N === 62 && i === 4 ? (e.consume(N), ae) : N === 63 && i === 3 ? (e.consume(N), R) : N === 93 && i === 5 ? (e.consume(N), ue) : bt(N) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
20078
20078
|
cle,
|
|
20079
20079
|
Ae,
|
|
20080
20080
|
J
|
|
@@ -20093,7 +20093,7 @@ function ple(e, t, n) {
|
|
|
20093
20093
|
function H(N) {
|
|
20094
20094
|
return N === null || bt(N) ? J(N) : (e.enter("htmlFlowData"), ne(N));
|
|
20095
20095
|
}
|
|
20096
|
-
function
|
|
20096
|
+
function F(N) {
|
|
20097
20097
|
return N === 45 ? (e.consume(N), R) : ne(N);
|
|
20098
20098
|
}
|
|
20099
20099
|
function G(N) {
|
|
@@ -20147,7 +20147,7 @@ function gle(e, t, n) {
|
|
|
20147
20147
|
return e.enter("htmlText"), e.enter("htmlTextData"), e.consume(R), l;
|
|
20148
20148
|
}
|
|
20149
20149
|
function l(R) {
|
|
20150
|
-
return R === 33 ? (e.consume(R), c) : R === 47 ? (e.consume(R), C) : R === 63 ? (e.consume(R), S) : Mr(R) ? (e.consume(R),
|
|
20150
|
+
return R === 33 ? (e.consume(R), c) : R === 47 ? (e.consume(R), C) : R === 63 ? (e.consume(R), S) : Mr(R) ? (e.consume(R), L) : n(R);
|
|
20151
20151
|
}
|
|
20152
20152
|
function c(R) {
|
|
20153
20153
|
return R === 45 ? (e.consume(R), f) : R === 91 ? (e.consume(R), o = 0, g) : Mr(R) ? (e.consume(R), w) : n(R);
|
|
@@ -20162,7 +20162,7 @@ function gle(e, t, n) {
|
|
|
20162
20162
|
return R === 45 ? (e.consume(R), h) : p(R);
|
|
20163
20163
|
}
|
|
20164
20164
|
function h(R) {
|
|
20165
|
-
return R === 62 ?
|
|
20165
|
+
return R === 62 ? F(R) : R === 45 ? m(R) : p(R);
|
|
20166
20166
|
}
|
|
20167
20167
|
function g(R) {
|
|
20168
20168
|
const ae = "CDATA[";
|
|
@@ -20175,16 +20175,16 @@ function gle(e, t, n) {
|
|
|
20175
20175
|
return R === 93 ? (e.consume(R), _) : v(R);
|
|
20176
20176
|
}
|
|
20177
20177
|
function _(R) {
|
|
20178
|
-
return R === 62 ?
|
|
20178
|
+
return R === 62 ? F(R) : R === 93 ? (e.consume(R), _) : v(R);
|
|
20179
20179
|
}
|
|
20180
20180
|
function w(R) {
|
|
20181
|
-
return R === null || R === 62 ?
|
|
20181
|
+
return R === null || R === 62 ? F(R) : bt(R) ? (a = w, G(R)) : (e.consume(R), w);
|
|
20182
20182
|
}
|
|
20183
20183
|
function S(R) {
|
|
20184
20184
|
return R === null ? n(R) : R === 63 ? (e.consume(R), A) : bt(R) ? (a = S, G(R)) : (e.consume(R), S);
|
|
20185
20185
|
}
|
|
20186
20186
|
function A(R) {
|
|
20187
|
-
return R === 62 ?
|
|
20187
|
+
return R === 62 ? F(R) : S(R);
|
|
20188
20188
|
}
|
|
20189
20189
|
function C(R) {
|
|
20190
20190
|
return Mr(R) ? (e.consume(R), T) : n(R);
|
|
@@ -20193,13 +20193,13 @@ function gle(e, t, n) {
|
|
|
20193
20193
|
return R === 45 || Er(R) ? (e.consume(R), T) : M(R);
|
|
20194
20194
|
}
|
|
20195
20195
|
function M(R) {
|
|
20196
|
-
return bt(R) ? (a = M, G(R)) : Ht(R) ? (e.consume(R), M) :
|
|
20196
|
+
return bt(R) ? (a = M, G(R)) : Ht(R) ? (e.consume(R), M) : F(R);
|
|
20197
20197
|
}
|
|
20198
|
-
function
|
|
20199
|
-
return R === 45 || Er(R) ? (e.consume(R),
|
|
20198
|
+
function L(R) {
|
|
20199
|
+
return R === 45 || Er(R) ? (e.consume(R), L) : R === 47 || R === 62 || vn(R) ? q(R) : n(R);
|
|
20200
20200
|
}
|
|
20201
20201
|
function q(R) {
|
|
20202
|
-
return R === 47 ? (e.consume(R),
|
|
20202
|
+
return R === 47 ? (e.consume(R), F) : R === 58 || R === 95 || Mr(R) ? (e.consume(R), D) : bt(R) ? (a = q, G(R)) : Ht(R) ? (e.consume(R), q) : F(R);
|
|
20203
20203
|
}
|
|
20204
20204
|
function D(R) {
|
|
20205
20205
|
return R === 45 || R === 46 || R === 58 || R === 95 || Er(R) ? (e.consume(R), D) : Z(R);
|
|
@@ -20219,7 +20219,7 @@ function gle(e, t, n) {
|
|
|
20219
20219
|
function H(R) {
|
|
20220
20220
|
return R === 47 || R === 62 || vn(R) ? q(R) : n(R);
|
|
20221
20221
|
}
|
|
20222
|
-
function
|
|
20222
|
+
function F(R) {
|
|
20223
20223
|
return R === 62 ? (e.consume(R), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(R);
|
|
20224
20224
|
}
|
|
20225
20225
|
function G(R) {
|
|
@@ -20810,7 +20810,7 @@ function Kle(e, t, n) {
|
|
|
20810
20810
|
let f = t.tokenize.call(c, l);
|
|
20811
20811
|
return t.resolveAll && o.push(t), c;
|
|
20812
20812
|
function p(Z) {
|
|
20813
|
-
return a = Si(a, Z), x(), a[a.length - 1] !== null ? [] : (
|
|
20813
|
+
return a = Si(a, Z), x(), a[a.length - 1] !== null ? [] : (L(t, 0), c.events = Am(o, c.events, c), c.events);
|
|
20814
20814
|
}
|
|
20815
20815
|
function m(Z, ne) {
|
|
20816
20816
|
return Yle(h(Z), ne);
|
|
@@ -20857,14 +20857,14 @@ function Kle(e, t, n) {
|
|
|
20857
20857
|
return ne.end = g(), c.events.push(["exit", ne, c]), ne;
|
|
20858
20858
|
}
|
|
20859
20859
|
function C(Z, ne) {
|
|
20860
|
-
|
|
20860
|
+
L(Z, ne.from);
|
|
20861
20861
|
}
|
|
20862
20862
|
function T(Z, ne) {
|
|
20863
20863
|
ne.restore();
|
|
20864
20864
|
}
|
|
20865
20865
|
function M(Z, ne) {
|
|
20866
20866
|
return J;
|
|
20867
|
-
function J(K, H,
|
|
20867
|
+
function J(K, H, F) {
|
|
20868
20868
|
let G, te, ue, R;
|
|
20869
20869
|
return Array.isArray(K) ? Ae(K) : "tokenize" in K ? (
|
|
20870
20870
|
// @ts-expect-error Looks like a construct.
|
|
@@ -20883,7 +20883,7 @@ function Kle(e, t, n) {
|
|
|
20883
20883
|
}
|
|
20884
20884
|
}
|
|
20885
20885
|
function Ae(Ne) {
|
|
20886
|
-
return G = Ne, te = 0, Ne.length === 0 ?
|
|
20886
|
+
return G = Ne, te = 0, Ne.length === 0 ? F : N(Ne[te]);
|
|
20887
20887
|
}
|
|
20888
20888
|
function N(Ne) {
|
|
20889
20889
|
return Ge;
|
|
@@ -20903,11 +20903,11 @@ function Kle(e, t, n) {
|
|
|
20903
20903
|
return Z(ue, R), H;
|
|
20904
20904
|
}
|
|
20905
20905
|
function Fe(Ne) {
|
|
20906
|
-
return R.restore(), ++te < G.length ? N(G[te]) :
|
|
20906
|
+
return R.restore(), ++te < G.length ? N(G[te]) : F;
|
|
20907
20907
|
}
|
|
20908
20908
|
}
|
|
20909
20909
|
}
|
|
20910
|
-
function
|
|
20910
|
+
function L(Z, ne) {
|
|
20911
20911
|
Z.resolveAll && !o.includes(Z) && o.push(Z), Z.resolve && di(
|
|
20912
20912
|
c.events,
|
|
20913
20913
|
ne,
|
|
@@ -20918,10 +20918,10 @@ function Kle(e, t, n) {
|
|
|
20918
20918
|
function q() {
|
|
20919
20919
|
const Z = g(), ne = c.previous, J = c.currentConstruct, K = c.events.length, H = Array.from(s);
|
|
20920
20920
|
return {
|
|
20921
|
-
restore:
|
|
20921
|
+
restore: F,
|
|
20922
20922
|
from: K
|
|
20923
20923
|
};
|
|
20924
|
-
function
|
|
20924
|
+
function F() {
|
|
20925
20925
|
r = Z, c.previous = ne, c.currentConstruct = J, c.events.length = K, s = H, D();
|
|
20926
20926
|
}
|
|
20927
20927
|
}
|
|
@@ -21216,7 +21216,7 @@ function hce(e) {
|
|
|
21216
21216
|
label: ue,
|
|
21217
21217
|
labelText: te,
|
|
21218
21218
|
lineEnding: Z,
|
|
21219
|
-
link: l(
|
|
21219
|
+
link: l(F),
|
|
21220
21220
|
listItem: l(),
|
|
21221
21221
|
listOrdered: l(),
|
|
21222
21222
|
listUnordered: l(),
|
|
@@ -21225,7 +21225,7 @@ function hce(e) {
|
|
|
21225
21225
|
resourceDestinationString: R,
|
|
21226
21226
|
resourceTitleString: ae,
|
|
21227
21227
|
resource: Ae,
|
|
21228
|
-
setextHeading: l(
|
|
21228
|
+
setextHeading: l(L),
|
|
21229
21229
|
setextHeadingLineSequence: M,
|
|
21230
21230
|
setextHeadingText: T,
|
|
21231
21231
|
strong: l(),
|
|
@@ -21446,7 +21446,7 @@ function hce(e) {
|
|
|
21446
21446
|
const fe = this.stack[this.stack.length - 1];
|
|
21447
21447
|
fe.depth = this.sliceSerialize(re).codePointAt(0) === 61 ? 1 : 2;
|
|
21448
21448
|
}
|
|
21449
|
-
function
|
|
21449
|
+
function L() {
|
|
21450
21450
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
21451
21451
|
}
|
|
21452
21452
|
function q(re) {
|
|
@@ -21486,7 +21486,7 @@ function hce(e) {
|
|
|
21486
21486
|
const re = this.resume(), fe = this.stack[this.stack.length - 1];
|
|
21487
21487
|
fe.value = re;
|
|
21488
21488
|
}
|
|
21489
|
-
function
|
|
21489
|
+
function F() {
|
|
21490
21490
|
const re = this.stack[this.stack.length - 1];
|
|
21491
21491
|
if (this.data.inReference) {
|
|
21492
21492
|
const fe = this.data.referenceType || "shortcut";
|
|
@@ -25653,13 +25653,13 @@ function jpe(e, t, n) {
|
|
|
25653
25653
|
return e.enter("tableRow"), M(D);
|
|
25654
25654
|
}
|
|
25655
25655
|
function M(D) {
|
|
25656
|
-
return D === 124 ? (e.enter("tableCellDivider"), e.consume(D), e.exit("tableCellDivider"), M) : D === null || bt(D) ? (e.exit("tableRow"), t(D)) : Ht(D) ? tn(e, M, "whitespace")(D) : (e.enter("data"),
|
|
25656
|
+
return D === 124 ? (e.enter("tableCellDivider"), e.consume(D), e.exit("tableCellDivider"), M) : D === null || bt(D) ? (e.exit("tableRow"), t(D)) : Ht(D) ? tn(e, M, "whitespace")(D) : (e.enter("data"), L(D));
|
|
25657
25657
|
}
|
|
25658
|
-
function
|
|
25659
|
-
return D === null || D === 124 || vn(D) ? (e.exit("data"), M(D)) : (e.consume(D), D === 92 ? q :
|
|
25658
|
+
function L(D) {
|
|
25659
|
+
return D === null || D === 124 || vn(D) ? (e.exit("data"), M(D)) : (e.consume(D), D === 92 ? q : L);
|
|
25660
25660
|
}
|
|
25661
25661
|
function q(D) {
|
|
25662
|
-
return D === 92 || D === 124 ? (e.consume(D),
|
|
25662
|
+
return D === 92 || D === 124 ? (e.consume(D), L) : L(D);
|
|
25663
25663
|
}
|
|
25664
25664
|
}
|
|
25665
25665
|
function qpe(e, t) {
|
|
@@ -26308,10 +26308,10 @@ function ghe(e) {
|
|
|
26308
26308
|
if (T === "%%")
|
|
26309
26309
|
return "%";
|
|
26310
26310
|
A++;
|
|
26311
|
-
const
|
|
26312
|
-
if (typeof
|
|
26311
|
+
const L = n.formatters[M];
|
|
26312
|
+
if (typeof L == "function") {
|
|
26313
26313
|
const q = x[A];
|
|
26314
|
-
T =
|
|
26314
|
+
T = L.call(_, q), x.splice(A, 1), A--;
|
|
26315
26315
|
}
|
|
26316
26316
|
return T;
|
|
26317
26317
|
}), n.formatArgs.call(_, x), (_.log || n.log).apply(_, x);
|
|
@@ -31026,10 +31026,10 @@ var Ob = Hv, WA = Ob.custom, HA = dN(WA) ? WA : null, xve = function e(t, n, r,
|
|
|
31026
31026
|
return "[Circular]";
|
|
31027
31027
|
function m(J, K, H) {
|
|
31028
31028
|
if (K && (i = _ve.call(i), i.push(K)), H) {
|
|
31029
|
-
var
|
|
31029
|
+
var F = {
|
|
31030
31030
|
depth: o.depth
|
|
31031
31031
|
};
|
|
31032
|
-
return ga(o, "quoteStyle") && (
|
|
31032
|
+
return ga(o, "quoteStyle") && (F.quoteStyle = o.quoteStyle), e(J, F, r + 1, i);
|
|
31033
31033
|
}
|
|
31034
31034
|
return e(J, o, r + 1, i);
|
|
31035
31035
|
}
|
|
@@ -31089,7 +31089,7 @@ var Ob = Hv, WA = Ob.custom, HA = dN(WA) ? WA : null, xve = function e(t, n, r,
|
|
|
31089
31089
|
if (Tve(t))
|
|
31090
31090
|
return ql(m(String(t)));
|
|
31091
31091
|
if (!Eve(t) && !VA(t)) {
|
|
31092
|
-
var M = gf(t, m),
|
|
31092
|
+
var M = gf(t, m), L = zA ? zA(t) === Object.prototype : t instanceof Object || t.constructor === Object, q = t instanceof Object ? "" : "null prototype", D = !L && Cr && Object(t) === t && Cr in t ? Hw.call(Fa(t), 8, -1) : q ? "Object" : "", Z = L || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", ne = Z + (D || q ? "[" + ro.call(UA.call([], D || [], q || []), ": ") + "] " : "");
|
|
31093
31093
|
return M.length === 0 ? ne + "{}" : p ? ne + "{" + Rb(M, p) + "}" : ne + "{ " + ro.call(M, ", ") + " }";
|
|
31094
31094
|
}
|
|
31095
31095
|
return String(t);
|
|
@@ -31537,8 +31537,8 @@ var Vw = zw, yl = fve, Uve = xve, Bve = Vw("%TypeError%"), vf = Vw("%WeakMap%",
|
|
|
31537
31537
|
}
|
|
31538
31538
|
typeof w.get(iv) > "u" && (S = 0);
|
|
31539
31539
|
}
|
|
31540
|
-
if (typeof l == "function" ? _ = l(n, _) : _ instanceof Date ? _ = p(_) : r === "comma" && Do(_) && (_ = Jf.maybeMap(_, function(
|
|
31541
|
-
return
|
|
31540
|
+
if (typeof l == "function" ? _ = l(n, _) : _ instanceof Date ? _ = p(_) : r === "comma" && Do(_) && (_ = Jf.maybeMap(_, function(F) {
|
|
31541
|
+
return F instanceof Date ? p(F) : F;
|
|
31542
31542
|
})), _ === null) {
|
|
31543
31543
|
if (o)
|
|
31544
31544
|
return s && !g ? s(n, _r.encoder, v, "key", m) : n;
|
|
@@ -31554,17 +31554,17 @@ var Vw = zw, yl = fve, Uve = xve, Bve = Vw("%TypeError%"), vf = Vw("%WeakMap%",
|
|
|
31554
31554
|
var M = [];
|
|
31555
31555
|
if (typeof _ > "u")
|
|
31556
31556
|
return M;
|
|
31557
|
-
var
|
|
31557
|
+
var L;
|
|
31558
31558
|
if (r === "comma" && Do(_))
|
|
31559
|
-
g && s && (_ = Jf.maybeMap(_, s)),
|
|
31559
|
+
g && s && (_ = Jf.maybeMap(_, s)), L = [{ value: _.length > 0 ? _.join(",") || null : void 0 }];
|
|
31560
31560
|
else if (Do(l))
|
|
31561
|
-
|
|
31561
|
+
L = l;
|
|
31562
31562
|
else {
|
|
31563
31563
|
var q = Object.keys(_);
|
|
31564
|
-
|
|
31564
|
+
L = c ? q.sort(c) : q;
|
|
31565
31565
|
}
|
|
31566
|
-
for (var D = i && Do(_) && _.length === 1 ? n + "[]" : n, Z = 0; Z <
|
|
31567
|
-
var ne =
|
|
31566
|
+
for (var D = i && Do(_) && _.length === 1 ? n + "[]" : n, Z = 0; Z < L.length; ++Z) {
|
|
31567
|
+
var ne = L[Z], J = typeof ne == "object" && typeof ne.value < "u" ? ne.value : _[ne];
|
|
31568
31568
|
if (!(a && J === null)) {
|
|
31569
31569
|
var K = Do(_) ? typeof r == "function" ? r(D, ne) : D : D + (f ? "." + ne : "[" + ne + "]");
|
|
31570
31570
|
x.set(t, S);
|
|
@@ -32393,10 +32393,10 @@ var Pb = { exports: {} };
|
|
|
32393
32393
|
Object.prototype.hasOwnProperty.call(ot, gt) && V.setRequestHeader(gt, ot[gt]);
|
|
32394
32394
|
return V.send(), V;
|
|
32395
32395
|
};
|
|
32396
|
-
function
|
|
32396
|
+
function L(V) {
|
|
32397
32397
|
this._headers = V;
|
|
32398
32398
|
}
|
|
32399
|
-
|
|
32399
|
+
L.prototype.get = function(V) {
|
|
32400
32400
|
return this._headers.get(V);
|
|
32401
32401
|
};
|
|
32402
32402
|
function q() {
|
|
@@ -32409,7 +32409,7 @@ var Pb = { exports: {} };
|
|
|
32409
32409
|
signal: re,
|
|
32410
32410
|
cache: "no-store"
|
|
32411
32411
|
}).then(function(we) {
|
|
32412
|
-
return Pt = we.body.getReader(), ce(we.status, we.statusText, we.headers.get("Content-Type"), new
|
|
32412
|
+
return Pt = we.body.getReader(), ce(we.status, we.statusText, we.headers.get("Content-Type"), new L(we.headers)), new f(function(qe, ft) {
|
|
32413
32413
|
var fn = function() {
|
|
32414
32414
|
Pt.read().then(function(nn) {
|
|
32415
32415
|
if (nn.done)
|
|
@@ -32486,7 +32486,7 @@ var Pb = { exports: {} };
|
|
|
32486
32486
|
ne.call(this, V), this.error = ce.error;
|
|
32487
32487
|
}
|
|
32488
32488
|
H.prototype = Object.create(ne.prototype);
|
|
32489
|
-
var
|
|
32489
|
+
var F = -1, G = 0, te = 1, ue = 2, R = -1, ae = 0, Ae = 1, N = 2, Pe = 3, Fe = /^text\/event\-stream(;.*)?$/i, Ne = 1e3, Ge = 18e6, nt = function(V, ce) {
|
|
32490
32490
|
var Te = V == null ? ce : parseInt(V, 10);
|
|
32491
32491
|
return Te !== Te && (Te = ce), He(Te);
|
|
32492
32492
|
}, He = function(V) {
|
|
@@ -32507,7 +32507,7 @@ var Pb = { exports: {} };
|
|
|
32507
32507
|
var Ce = p != null && m != null && "body" in m.prototype;
|
|
32508
32508
|
function Be(V, ce, Te) {
|
|
32509
32509
|
ce = String(ce);
|
|
32510
|
-
var _e = !!Te.withCredentials, Je = Te.lastEventIdQueryParameterName || "lastEventId", je = He(1e3), ot = nt(Te.heartbeatTimeout, 45e3), Pt = "", gt = je, re = !1, fe = 0, we = Te.headers || {}, qe = Te.Transport, ft = Ce && qe == null ? void 0 : new A(qe != null ? new qe() : Le()), fn = qe != null && typeof qe != "string" ? new qe() : ft == null ? new q() : new M(), nn = void 0, Xt = 0, cn =
|
|
32510
|
+
var _e = !!Te.withCredentials, Je = Te.lastEventIdQueryParameterName || "lastEventId", je = He(1e3), ot = nt(Te.heartbeatTimeout, 45e3), Pt = "", gt = je, re = !1, fe = 0, we = Te.headers || {}, qe = Te.Transport, ft = Ce && qe == null ? void 0 : new A(qe != null ? new qe() : Le()), fn = qe != null && typeof qe != "string" ? new qe() : ft == null ? new q() : new M(), nn = void 0, Xt = 0, cn = F, En = "", X = "", oe = "", pt = "", At = ae, rn = 0, ht = 0, Dn = function(Ye, Re, Ze, xt) {
|
|
32511
32511
|
if (cn === G)
|
|
32512
32512
|
if (Ye === 200 && Ze != null && Fe.test(Ze)) {
|
|
32513
32513
|
cn = te, re = Date.now(), gt = je, V.readyState = te;
|
|
@@ -32570,7 +32570,7 @@ var Pb = { exports: {} };
|
|
|
32570
32570
|
}
|
|
32571
32571
|
}, P = function(Ye) {
|
|
32572
32572
|
if (cn === te || cn === G) {
|
|
32573
|
-
cn =
|
|
32573
|
+
cn = F, Xt !== 0 && (i(Xt), Xt = 0), Xt = r(function() {
|
|
32574
32574
|
ze();
|
|
32575
32575
|
}, gt), gt = He(Math.min(je * 16, gt * 2)), V.readyState = G;
|
|
32576
32576
|
var Re = new H("error", { error: Ye });
|
|
@@ -32579,7 +32579,7 @@ var Pb = { exports: {} };
|
|
|
32579
32579
|
}, De = function() {
|
|
32580
32580
|
cn = ue, nn != null && (nn.abort(), nn = void 0), Xt !== 0 && (i(Xt), Xt = 0), V.readyState = ue;
|
|
32581
32581
|
}, ze = function() {
|
|
32582
|
-
if (Xt = 0, cn !==
|
|
32582
|
+
if (Xt = 0, cn !== F) {
|
|
32583
32583
|
if (!re && nn != null)
|
|
32584
32584
|
P(new Error("No activity within " + ot + " milliseconds. " + (cn === G ? "No response received." : fe + " chars received.") + " Reconnecting.")), nn != null && (nn.abort(), nn = void 0);
|
|
32585
32585
|
else {
|
|
@@ -36672,22 +36672,22 @@ function A_e(e) {
|
|
|
36672
36672
|
}, [e]), t;
|
|
36673
36673
|
}
|
|
36674
36674
|
let T_e = "div", BN = MN.RenderStrategy, zN = Yw(function(e, t) {
|
|
36675
|
-
let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: o, enter: a, enterFrom: s, enterTo: l, entered: c, leave: f, leaveFrom: p, leaveTo: m, ...h } = e, g = yt(null), v = NN(g, t), x = h.unmount ? jo.Unmount : jo.Hidden, { show: _, appear: w, initial: S } = __e(), [A, C] = ut(_ ? "visible" : "hidden"), T = x_e(), { register: M, unregister:
|
|
36675
|
+
let { beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: o, enter: a, enterFrom: s, enterTo: l, entered: c, leave: f, leaveFrom: p, leaveTo: m, ...h } = e, g = yt(null), v = NN(g, t), x = h.unmount ? jo.Unmount : jo.Hidden, { show: _, appear: w, initial: S } = __e(), [A, C] = ut(_ ? "visible" : "hidden"), T = x_e(), { register: M, unregister: L } = T, q = yt(null);
|
|
36676
36676
|
tt(() => M(g), [M, g]), tt(() => {
|
|
36677
36677
|
if (x === jo.Hidden && g.current) {
|
|
36678
36678
|
if (_ && A !== "visible") {
|
|
36679
36679
|
C("visible");
|
|
36680
36680
|
return;
|
|
36681
36681
|
}
|
|
36682
|
-
return ao(A, { hidden: () =>
|
|
36682
|
+
return ao(A, { hidden: () => L(g), visible: () => M(g) });
|
|
36683
36683
|
}
|
|
36684
|
-
}, [A, g, M,
|
|
36684
|
+
}, [A, g, M, L, _, x]);
|
|
36685
36685
|
let D = Eu({ enter: Qa(a), enterFrom: Qa(s), enterTo: Qa(l), entered: Qa(c), leave: Qa(f), leaveFrom: Qa(p), leaveTo: Qa(m) }), Z = A_e({ beforeEnter: n, afterEnter: r, beforeLeave: i, afterLeave: o }), ne = PN();
|
|
36686
36686
|
tt(() => {
|
|
36687
36687
|
if (ne && A === "visible" && g.current === null)
|
|
36688
36688
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
36689
36689
|
}, [g, A, ne]);
|
|
36690
|
-
let J = S && !w, K = (() => !ne || J || q.current === _ ? "idle" : _ ? "enter" : "leave")(), H = m_e(0),
|
|
36690
|
+
let J = S && !w, K = (() => !ne || J || q.current === _ ? "idle" : _ ? "enter" : "leave")(), H = m_e(0), F = ls((ae) => ao(ae, { enter: () => {
|
|
36691
36691
|
H.addFlag(Mo.Opening), Z.current.beforeEnter();
|
|
36692
36692
|
}, leave: () => {
|
|
36693
36693
|
H.addFlag(Mo.Closing), Z.current.beforeLeave();
|
|
@@ -36698,12 +36698,12 @@ let T_e = "div", BN = MN.RenderStrategy, zN = Yw(function(e, t) {
|
|
|
36698
36698
|
H.removeFlag(Mo.Closing), Z.current.afterLeave();
|
|
36699
36699
|
}, idle: () => {
|
|
36700
36700
|
} })), te = UN(() => {
|
|
36701
|
-
C("hidden"),
|
|
36701
|
+
C("hidden"), L(g);
|
|
36702
36702
|
}, T);
|
|
36703
36703
|
b_e({ container: g, classes: D, direction: K, onStart: Eu((ae) => {
|
|
36704
|
-
te.onStart(g, ae,
|
|
36704
|
+
te.onStart(g, ae, F);
|
|
36705
36705
|
}), onStop: Eu((ae) => {
|
|
36706
|
-
te.onStop(g, ae, G), ae === "leave" && !Jm(te) && (C("hidden"),
|
|
36706
|
+
te.onStop(g, ae, G), ae === "leave" && !Jm(te) && (C("hidden"), L(g));
|
|
36707
36707
|
}) }), tt(() => {
|
|
36708
36708
|
!J || (x === jo.Hidden ? q.current = null : q.current = _);
|
|
36709
36709
|
}, [_, J, A]);
|
|
@@ -36970,10 +36970,10 @@ function X_e() {
|
|
|
36970
36970
|
{
|
|
36971
36971
|
var T = t.ReactDebugCurrentFrame, M = T.getStackAddendum();
|
|
36972
36972
|
M !== "" && (A += "%s", C = C.concat([M]));
|
|
36973
|
-
var
|
|
36973
|
+
var L = C.map(function(q) {
|
|
36974
36974
|
return String(q);
|
|
36975
36975
|
});
|
|
36976
|
-
|
|
36976
|
+
L.unshift("Warning: " + A), Function.prototype.apply.call(console[S], console, L);
|
|
36977
36977
|
}
|
|
36978
36978
|
}
|
|
36979
36979
|
function i(S, A) {
|
|
@@ -36987,12 +36987,12 @@ function X_e() {
|
|
|
36987
36987
|
var M = A();
|
|
36988
36988
|
o(T, M) || (n("The result of getSnapshot should be cached to avoid an infinite loop"), p = !0);
|
|
36989
36989
|
}
|
|
36990
|
-
var
|
|
36990
|
+
var L = a({
|
|
36991
36991
|
inst: {
|
|
36992
36992
|
value: T,
|
|
36993
36993
|
getSnapshot: A
|
|
36994
36994
|
}
|
|
36995
|
-
}), q =
|
|
36995
|
+
}), q = L[0].inst, D = L[1];
|
|
36996
36996
|
return l(function() {
|
|
36997
36997
|
q.value = T, q.getSnapshot = A, h(q) && D({
|
|
36998
36998
|
inst: q
|
|
@@ -37067,8 +37067,8 @@ function Q_e() {
|
|
|
37067
37067
|
}
|
|
37068
37068
|
if (M = A, r(S, T))
|
|
37069
37069
|
return M;
|
|
37070
|
-
var
|
|
37071
|
-
return h !== void 0 && h(M,
|
|
37070
|
+
var L = m(T);
|
|
37071
|
+
return h !== void 0 && h(M, L) ? M : (S = T, A = L);
|
|
37072
37072
|
}
|
|
37073
37073
|
var w = !1, S, A, C = p === void 0 ? null : p;
|
|
37074
37074
|
return [function() {
|
|
@@ -37109,7 +37109,7 @@ function exe() {
|
|
|
37109
37109
|
value: null
|
|
37110
37110
|
}, v.current = x) : x = v.current;
|
|
37111
37111
|
var _ = s(function() {
|
|
37112
|
-
var C = !1, T, M,
|
|
37112
|
+
var C = !1, T, M, L = function(ne) {
|
|
37113
37113
|
if (!C) {
|
|
37114
37114
|
C = !0, T = ne;
|
|
37115
37115
|
var J = h(ne);
|
|
@@ -37120,15 +37120,15 @@ function exe() {
|
|
|
37120
37120
|
}
|
|
37121
37121
|
return M = J, J;
|
|
37122
37122
|
}
|
|
37123
|
-
var H = T,
|
|
37123
|
+
var H = T, F = M;
|
|
37124
37124
|
if (r(H, ne))
|
|
37125
|
-
return
|
|
37125
|
+
return F;
|
|
37126
37126
|
var G = h(ne);
|
|
37127
|
-
return g !== void 0 && g(
|
|
37127
|
+
return g !== void 0 && g(F, G) ? F : (T = ne, M = G, G);
|
|
37128
37128
|
}, q = m === void 0 ? null : m, D = function() {
|
|
37129
|
-
return
|
|
37129
|
+
return L(p());
|
|
37130
37130
|
}, Z = q === null ? void 0 : function() {
|
|
37131
|
-
return
|
|
37131
|
+
return L(q());
|
|
37132
37132
|
};
|
|
37133
37133
|
return [D, Z];
|
|
37134
37134
|
}, [p, m, h, g]), w = _[0], S = _[1], A = i(f, w, S);
|
|
@@ -37608,7 +37608,8 @@ const Tc = (e) => (t) => {
|
|
|
37608
37608
|
messageContainerRef: { current: null },
|
|
37609
37609
|
isTyping: !1,
|
|
37610
37610
|
allowFileUpload: !1,
|
|
37611
|
-
conversationId: void 0
|
|
37611
|
+
conversationId: void 0,
|
|
37612
|
+
disableRestartConversation: !1
|
|
37612
37613
|
}, n = e == null ? void 0 : e.client, r = e == null ? void 0 : e.conversationId, i = qo.getState().setClientMode, o = qo.getState().setConversationId;
|
|
37613
37614
|
return n && i(n.mode), tt(() => {
|
|
37614
37615
|
r && o(r);
|
|
@@ -38150,14 +38151,14 @@ function Xxe(e, t, n, r, i, o, a, s, l, c, f, p, m, h, g, v, x, _, w) {
|
|
|
38150
38151
|
cross: S
|
|
38151
38152
|
} = e, A = ["INPUT", "SELECT", "TEXTAREA"], C = {
|
|
38152
38153
|
passive: !1
|
|
38153
|
-
}, T = kc(), M = kc(),
|
|
38154
|
+
}, T = kc(), M = kc(), L = Ia(50, 225).constrain(g.measure(20)), q = {
|
|
38154
38155
|
mouse: 300,
|
|
38155
38156
|
touch: 400
|
|
38156
38157
|
}, D = {
|
|
38157
38158
|
mouse: 500,
|
|
38158
38159
|
touch: 600
|
|
38159
38160
|
}, Z = v ? 43 : 25;
|
|
38160
|
-
let ne = !1, J = 0, K = 0, H = !1,
|
|
38161
|
+
let ne = !1, J = 0, K = 0, H = !1, F = !1, G = !1, te = !1;
|
|
38161
38162
|
function ue(Se, Le) {
|
|
38162
38163
|
if (!Le)
|
|
38163
38164
|
return;
|
|
@@ -38185,7 +38186,7 @@ function Xxe(e, t, n, r, i, o, a, s, l, c, f, p, m, h, g, v, x, _, w) {
|
|
|
38185
38186
|
}
|
|
38186
38187
|
function Pe(Se, Le) {
|
|
38187
38188
|
const Ce = m.add(t_(Se) * -1), Be = p.byDistance(Se, !v).distance;
|
|
38188
|
-
return v || Fn(Se) <
|
|
38189
|
+
return v || Fn(Se) < L ? Be : _ && Le ? Be * 0.5 : p.byIndex(Ce.get(), 0).distance;
|
|
38189
38190
|
}
|
|
38190
38191
|
function Fe(Se) {
|
|
38191
38192
|
const Le = nD(Se, i);
|
|
@@ -38193,14 +38194,14 @@ function Xxe(e, t, n, r, i, o, a, s, l, c, f, p, m, h, g, v, x, _, w) {
|
|
|
38193
38194
|
}
|
|
38194
38195
|
function Ne(Se) {
|
|
38195
38196
|
const Le = a.readPoint(Se), Ce = a.readPoint(Se, S), Be = np(Le, J), ct = np(Ce, K);
|
|
38196
|
-
if (!
|
|
38197
|
+
if (!F && !te && (!Se.cancelable || (F = Be > ct, !F)))
|
|
38197
38198
|
return Ge(Se);
|
|
38198
38199
|
const V = a.pointerMove(Se);
|
|
38199
38200
|
Be > x && (G = !0), f.useFriction(0.3).useDuration(1), l.start(), o.add(t.apply(V)), Se.preventDefault();
|
|
38200
38201
|
}
|
|
38201
38202
|
function Ge(Se) {
|
|
38202
38203
|
const Ce = p.byDistance(0, !1).index !== m.get(), Be = a.pointerUp(Se) * N(), ct = Pe(t.apply(Be), Ce), V = Kxe(Be, ct), ce = Z - 10 * V, Te = w + V / 50;
|
|
38203
|
-
|
|
38204
|
+
F = !1, H = !1, M.clear(), f.useDuration(ce).useFriction(Te), c.distance(ct, !v), te = !1, h.emit("pointerUp");
|
|
38204
38205
|
}
|
|
38205
38206
|
function nt(Se) {
|
|
38206
38207
|
G && (Se.stopPropagation(), Se.preventDefault());
|
|
@@ -38560,13 +38561,13 @@ function iD(e, t, n) {
|
|
|
38560
38561
|
function d1e(e, t, n, r, i, o, a, s, l) {
|
|
38561
38562
|
const c = Cc(i), f = Cc(i).reverse(), p = v().concat(x());
|
|
38562
38563
|
function m(C, T) {
|
|
38563
|
-
return C.reduce((M,
|
|
38564
|
+
return C.reduce((M, L) => M - i[L], T);
|
|
38564
38565
|
}
|
|
38565
38566
|
function h(C, T) {
|
|
38566
|
-
return C.reduce((M,
|
|
38567
|
+
return C.reduce((M, L) => m(M, T) > 0 ? M.concat([L]) : M, []);
|
|
38567
38568
|
}
|
|
38568
38569
|
function g(C, T) {
|
|
38569
|
-
const M = T === "start",
|
|
38570
|
+
const M = T === "start", L = M ? -r : r, q = a.findSlideBounds([L]);
|
|
38570
38571
|
return C.map((D) => {
|
|
38571
38572
|
const Z = M ? 0 : -r, ne = M ? r : 0, K = q.filter((H) => H.index === D)[0][M ? "end" : "start"];
|
|
38572
38573
|
return {
|
|
@@ -38598,9 +38599,9 @@ function d1e(e, t, n, r, i, o, a, s, l) {
|
|
|
38598
38599
|
const {
|
|
38599
38600
|
target: T,
|
|
38600
38601
|
translate: M,
|
|
38601
|
-
slideLocation:
|
|
38602
|
+
slideLocation: L
|
|
38602
38603
|
} = C, q = T();
|
|
38603
|
-
q !==
|
|
38604
|
+
q !== L.get() && (M.to(q), L.set(q));
|
|
38604
38605
|
});
|
|
38605
38606
|
}
|
|
38606
38607
|
function S() {
|
|
@@ -38651,10 +38652,10 @@ function p1e(e, t, n, r, i, o, a) {
|
|
|
38651
38652
|
function h(x, _) {
|
|
38652
38653
|
const w = x || f, S = m(_);
|
|
38653
38654
|
return w.reduce((A, C) => {
|
|
38654
|
-
const T = r.map((M,
|
|
38655
|
-
start: M - n[
|
|
38656
|
-
end: M + e - S[
|
|
38657
|
-
index:
|
|
38655
|
+
const T = r.map((M, L) => ({
|
|
38656
|
+
start: M - n[L] + S[L] + C,
|
|
38657
|
+
end: M + e - S[L] + C,
|
|
38658
|
+
index: L
|
|
38658
38659
|
}));
|
|
38659
38660
|
return A.concat(T);
|
|
38660
38661
|
}, []);
|
|
@@ -38665,8 +38666,8 @@ function p1e(e, t, n, r, i, o, a) {
|
|
|
38665
38666
|
const {
|
|
38666
38667
|
index: T,
|
|
38667
38668
|
start: M,
|
|
38668
|
-
end:
|
|
38669
|
-
} = C, q = A.includes(T), D = M < w &&
|
|
38669
|
+
end: L
|
|
38670
|
+
} = C, q = A.includes(T), D = M < w && L > w;
|
|
38670
38671
|
return !q && D ? A.concat([T]) : A;
|
|
38671
38672
|
}, []);
|
|
38672
38673
|
}
|
|
@@ -38736,15 +38737,15 @@ function y1e(e, t, n, r, i, o, a, s) {
|
|
|
38736
38737
|
slidesToScroll: _,
|
|
38737
38738
|
skipSnaps: w,
|
|
38738
38739
|
containScroll: S
|
|
38739
|
-
} = o, A = t.getBoundingClientRect(), C = n.map((Te) => Te.getBoundingClientRect()), T = Jxe(f), M = Yxe(c, f),
|
|
38740
|
+
} = o, A = t.getBoundingClientRect(), C = n.map((Te) => Te.getBoundingClientRect()), T = Jxe(f), M = Yxe(c, f), L = M.measureSize(A), q = e1e(L), D = Gxe(l, L), Z = !h && !!S, ne = h || !!S, {
|
|
38740
38741
|
slideSizes: J,
|
|
38741
38742
|
slideSizesWithGaps: K
|
|
38742
|
-
} = h1e(M, A, C, n, ne, i), H = m1e(
|
|
38743
|
-
snaps:
|
|
38743
|
+
} = h1e(M, A, C, n, ne, i), H = m1e(L, K, _), {
|
|
38744
|
+
snaps: F,
|
|
38744
38745
|
snapsAligned: G
|
|
38745
|
-
} = u1e(M, D, A, C, K, H, Z), te = -Zo(
|
|
38746
|
+
} = u1e(M, D, A, C, K, H, Z), te = -Zo(F) + Zo(K), {
|
|
38746
38747
|
snapsContained: ue
|
|
38747
|
-
} = i1e(
|
|
38748
|
+
} = i1e(L, te, G, S), R = Z ? ue : G, {
|
|
38748
38749
|
limit: ae
|
|
38749
38750
|
} = o1e(te, R, h), Ae = rD(Xm(R), p, h), N = Ae.clone(), Pe = Cc(n), Fe = ({
|
|
38750
38751
|
dragHandler: Te,
|
|
@@ -38778,7 +38779,7 @@ function y1e(e, t, n, r, i, o, a, s) {
|
|
|
38778
38779
|
stop: () => s.stop(ce),
|
|
38779
38780
|
update: () => Fe(ce),
|
|
38780
38781
|
render: (Te) => Ne(ce, Te)
|
|
38781
|
-
}, nt = 0.68, He = R[Ae.get()], Oe = rp(He), Se = rp(He), Le = rp(He), Ce = n1e(Oe, Le, g, nt), Be = l1e(h, R, te, ae, Le), ct = c1e(Ge, Ae, N, Be, Ce, Le, a), V = p1e(
|
|
38782
|
+
}, nt = 0.68, He = R[Ae.get()], Oe = rp(He), Se = rp(He), Le = rp(He), Ce = n1e(Oe, Le, g, nt), Be = l1e(h, R, te, ae, Le), ct = c1e(Ge, Ae, N, Be, Ce, Le, a), V = p1e(L, te, J, F, ae, h, m), ce = {
|
|
38782
38783
|
ownerDocument: r,
|
|
38783
38784
|
ownerWindow: i,
|
|
38784
38785
|
eventHandler: a,
|
|
@@ -38804,7 +38805,7 @@ function y1e(e, t, n, r, i, o, a, s) {
|
|
|
38804
38805
|
scrollSnaps: R,
|
|
38805
38806
|
scrollTarget: Be,
|
|
38806
38807
|
scrollTo: ct,
|
|
38807
|
-
slideLooper: d1e(M, T,
|
|
38808
|
+
slideLooper: d1e(M, T, L, te, K, R, V, Se, n),
|
|
38808
38809
|
slidesHandler: f1e(t, a),
|
|
38809
38810
|
slidesInView: V,
|
|
38810
38811
|
slideIndexes: Pe,
|
|
@@ -38938,18 +38939,18 @@ function Vu(e, t, n) {
|
|
|
38938
38939
|
off: v,
|
|
38939
38940
|
emit: x
|
|
38940
38941
|
} = c, _ = J;
|
|
38941
|
-
let w = !1, S, A = p(b1e, Vu.globalOptions), C = p(A), T = [], M,
|
|
38942
|
+
let w = !1, S, A = p(b1e, Vu.globalOptions), C = p(A), T = [], M, L, q;
|
|
38942
38943
|
function D() {
|
|
38943
38944
|
const {
|
|
38944
38945
|
container: Ce,
|
|
38945
38946
|
slides: Be
|
|
38946
38947
|
} = C;
|
|
38947
|
-
|
|
38948
|
-
const V = hT(Be) ?
|
|
38949
|
-
q = [].slice.call(V ||
|
|
38948
|
+
L = (hT(Ce) ? e.querySelector(Ce) : Ce) || e.children[0];
|
|
38949
|
+
const V = hT(Be) ? L.querySelectorAll(Be) : Be;
|
|
38950
|
+
q = [].slice.call(V || L.children);
|
|
38950
38951
|
}
|
|
38951
38952
|
function Z(Ce, Be) {
|
|
38952
|
-
const ct = y1e(e,
|
|
38953
|
+
const ct = y1e(e, L, q, r, i, Ce, c, Be);
|
|
38953
38954
|
if (Ce.loop && !ct.slideLooper.canLoop()) {
|
|
38954
38955
|
const V = Object.assign({}, Ce, {
|
|
38955
38956
|
loop: !1
|
|
@@ -38966,7 +38967,7 @@ function Vu(e, t, n) {
|
|
|
38966
38967
|
options: ce
|
|
38967
38968
|
}) => ce)]).forEach((ce) => s.add(ce, "change", J)), C.active && (S.translate.to(S.location.get()), S.eventHandler.init(Le), S.resizeHandler.init(Le, C.watchResize), S.slidesHandler.init(Le, C.watchSlides), l.add(r, "visibilitychange", () => {
|
|
38968
38969
|
r.hidden && V.reset();
|
|
38969
|
-
}), S.options.loop && S.slideLooper.loop(),
|
|
38970
|
+
}), S.options.loop && S.slideLooper.loop(), L.offsetParent && q.length && S.dragHandler.init(Le, C.watchDrag), M = a.init(T, Le));
|
|
38970
38971
|
}
|
|
38971
38972
|
function J(Ce, Be) {
|
|
38972
38973
|
const ct = Fe();
|
|
@@ -38980,12 +38981,12 @@ function Vu(e, t, n) {
|
|
|
38980
38981
|
function H() {
|
|
38981
38982
|
w || (w = !0, s.clear(), K(), c.emit("destroy"));
|
|
38982
38983
|
}
|
|
38983
|
-
function
|
|
38984
|
+
function F(Ce) {
|
|
38984
38985
|
const Be = S[Ce ? "target" : "location"].get(), ct = C.loop ? "removeOffset" : "constrain";
|
|
38985
38986
|
return S.slidesInView.check(S.limit[ct](Be));
|
|
38986
38987
|
}
|
|
38987
38988
|
function G(Ce) {
|
|
38988
|
-
const Be =
|
|
38989
|
+
const Be = F(Ce);
|
|
38989
38990
|
return S.slideIndexes.filter((ct) => !Be.includes(ct));
|
|
38990
38991
|
}
|
|
38991
38992
|
function te(Ce, Be, ct) {
|
|
@@ -39027,7 +39028,7 @@ function Vu(e, t, n) {
|
|
|
39027
39028
|
return e;
|
|
39028
39029
|
}
|
|
39029
39030
|
function Oe() {
|
|
39030
|
-
return
|
|
39031
|
+
return L;
|
|
39031
39032
|
}
|
|
39032
39033
|
function Se() {
|
|
39033
39034
|
return q;
|
|
@@ -39052,7 +39053,7 @@ function Vu(e, t, n) {
|
|
|
39052
39053
|
scrollTo: te,
|
|
39053
39054
|
selectedScrollSnap: Fe,
|
|
39054
39055
|
slideNodes: Se,
|
|
39055
|
-
slidesInView:
|
|
39056
|
+
slidesInView: F,
|
|
39056
39057
|
slidesNotInView: G
|
|
39057
39058
|
};
|
|
39058
39059
|
return ne(t, n), setTimeout(() => c.emit("init"), 0), Le;
|
|
@@ -39756,8 +39757,8 @@ const rSe = function(e) {
|
|
|
39756
39757
|
S = f || w ? Ku(x, T) : T;
|
|
39757
39758
|
}
|
|
39758
39759
|
if (w && !f) {
|
|
39759
|
-
const T = li(l.left, 0), M = li(l.right, 0),
|
|
39760
|
-
p ? A = m - 2 * (T !== 0 || M !== 0 ? T + M : li(l.left, l.right)) : S = h - 2 * (
|
|
39760
|
+
const T = li(l.left, 0), M = li(l.right, 0), L = li(l.top, 0), q = li(l.bottom, 0);
|
|
39761
|
+
p ? A = m - 2 * (T !== 0 || M !== 0 ? T + M : li(l.left, l.right)) : S = h - 2 * (L !== 0 || q !== 0 ? L + q : li(l.top, l.bottom));
|
|
39761
39762
|
}
|
|
39762
39763
|
await a({
|
|
39763
39764
|
...t,
|
|
@@ -40179,31 +40180,31 @@ function SSe(e) {
|
|
|
40179
40180
|
isPositioned: !1
|
|
40180
40181
|
}), [m, h] = B.useState(r);
|
|
40181
40182
|
Ih(m, r) || h(r);
|
|
40182
|
-
const [g, v] = B.useState(null), [x, _] = B.useState(null), w = B.useCallback((
|
|
40183
|
-
|
|
40184
|
-
}, [v]), S = B.useCallback((
|
|
40185
|
-
|
|
40186
|
-
}, [_]), A = o || g, C = a || x, T = B.useRef(null), M = B.useRef(null),
|
|
40183
|
+
const [g, v] = B.useState(null), [x, _] = B.useState(null), w = B.useCallback((F) => {
|
|
40184
|
+
F != T.current && (T.current = F, v(F));
|
|
40185
|
+
}, [v]), S = B.useCallback((F) => {
|
|
40186
|
+
F !== M.current && (M.current = F, _(F));
|
|
40187
|
+
}, [_]), A = o || g, C = a || x, T = B.useRef(null), M = B.useRef(null), L = B.useRef(f), q = xT(l), D = xT(i), Z = B.useCallback(() => {
|
|
40187
40188
|
if (!T.current || !M.current)
|
|
40188
40189
|
return;
|
|
40189
|
-
const
|
|
40190
|
+
const F = {
|
|
40190
40191
|
placement: t,
|
|
40191
40192
|
strategy: n,
|
|
40192
40193
|
middleware: m
|
|
40193
40194
|
};
|
|
40194
|
-
D.current && (
|
|
40195
|
+
D.current && (F.platform = D.current), xSe(T.current, M.current, F).then((G) => {
|
|
40195
40196
|
const te = {
|
|
40196
40197
|
...G,
|
|
40197
40198
|
isPositioned: !0
|
|
40198
40199
|
};
|
|
40199
|
-
ne.current && !Ih(
|
|
40200
|
+
ne.current && !Ih(L.current, te) && (L.current = te, _5.flushSync(() => {
|
|
40200
40201
|
p(te);
|
|
40201
40202
|
}));
|
|
40202
40203
|
});
|
|
40203
40204
|
}, [m, t, n, D]);
|
|
40204
40205
|
ip(() => {
|
|
40205
|
-
c === !1 &&
|
|
40206
|
-
...
|
|
40206
|
+
c === !1 && L.current.isPositioned && (L.current.isPositioned = !1, p((F) => ({
|
|
40207
|
+
...F,
|
|
40207
40208
|
isPositioned: !1
|
|
40208
40209
|
})));
|
|
40209
40210
|
}, [c]);
|
|
@@ -40226,16 +40227,16 @@ function SSe(e) {
|
|
|
40226
40227
|
reference: A,
|
|
40227
40228
|
floating: C
|
|
40228
40229
|
}), [A, C]), H = B.useMemo(() => {
|
|
40229
|
-
const
|
|
40230
|
+
const F = {
|
|
40230
40231
|
position: n,
|
|
40231
40232
|
left: 0,
|
|
40232
40233
|
top: 0
|
|
40233
40234
|
};
|
|
40234
40235
|
if (!K.floating)
|
|
40235
|
-
return
|
|
40236
|
+
return F;
|
|
40236
40237
|
const G = _T(K.floating, f.x), te = _T(K.floating, f.y);
|
|
40237
40238
|
return s ? {
|
|
40238
|
-
...
|
|
40239
|
+
...F,
|
|
40239
40240
|
transform: "translate(" + G + "px, " + te + "px)",
|
|
40240
40241
|
...wD(K.floating) >= 1.5 && {
|
|
40241
40242
|
willChange: "transform"
|
|
@@ -40869,7 +40870,7 @@ function aEe(e) {
|
|
|
40869
40870
|
domReference: _,
|
|
40870
40871
|
floating: w
|
|
40871
40872
|
}
|
|
40872
|
-
} = t, S = JSe() ? o : !0, A = Aa(i), C = Aa(a), T = Aa(s), M = ny(),
|
|
40873
|
+
} = t, S = JSe() ? o : !0, A = Aa(i), C = Aa(a), T = Aa(s), M = ny(), L = RD(), q = typeof a == "number" && a < 0, D = B.useRef(null), Z = B.useRef(null), ne = B.useRef(!1), J = B.useRef(null), K = B.useRef(!1), H = L != null, F = _ && _.getAttribute("role") === "combobox" && pD(_) && q, G = B.useCallback(function(ae) {
|
|
40873
40874
|
return ae === void 0 && (ae = w), ae ? s_(ae, c_()) : [];
|
|
40874
40875
|
}, [w]), te = B.useCallback((ae) => {
|
|
40875
40876
|
const Ae = G(ae);
|
|
@@ -40880,7 +40881,7 @@ function aEe(e) {
|
|
|
40880
40881
|
return;
|
|
40881
40882
|
function ae(N) {
|
|
40882
40883
|
if (N.key === "Tab") {
|
|
40883
|
-
Jr(w, wa(Li(w))) && G().length === 0 && !
|
|
40884
|
+
Jr(w, wa(Li(w))) && G().length === 0 && !F && yr(N);
|
|
40884
40885
|
const Pe = te(), Fe = fD(N);
|
|
40885
40886
|
A.current[0] === "reference" && Fe === _ && (yr(N), N.shiftKey ? No(Pe[Pe.length - 1]) : No(Pe[1])), A.current[1] === "floating" && Fe === w && N.shiftKey && (yr(N), No(Pe[0]));
|
|
40886
40887
|
}
|
|
@@ -40889,7 +40890,7 @@ function aEe(e) {
|
|
|
40889
40890
|
return Ae.addEventListener("keydown", ae), () => {
|
|
40890
40891
|
Ae.removeEventListener("keydown", ae);
|
|
40891
40892
|
};
|
|
40892
|
-
}, [r, _, w, l, A, m,
|
|
40893
|
+
}, [r, _, w, l, A, m, F, G, te]), B.useEffect(() => {
|
|
40893
40894
|
if (r || !f)
|
|
40894
40895
|
return;
|
|
40895
40896
|
function ae() {
|
|
@@ -40900,7 +40901,7 @@ function aEe(e) {
|
|
|
40900
40901
|
function Ae(N) {
|
|
40901
40902
|
const Pe = N.relatedTarget;
|
|
40902
40903
|
queueMicrotask(() => {
|
|
40903
|
-
const Fe = !(Jr(_, Pe) || Jr(w, Pe) || Jr(Pe, w) || Jr(
|
|
40904
|
+
const Fe = !(Jr(_, Pe) || Jr(w, Pe) || Jr(Pe, w) || Jr(L == null ? void 0 : L.portalNode, Pe) || Pe != null && Pe.hasAttribute($c("focus-guard")) || M && (Tu(M.nodesRef.current, h).find((Ne) => {
|
|
40904
40905
|
var Ge, nt;
|
|
40905
40906
|
return Jr((Ge = Ne.context) == null ? void 0 : Ge.elements.floating, Pe) || Jr((nt = Ne.context) == null ? void 0 : nt.elements.domReference, Pe);
|
|
40906
40907
|
}) || GSe(M.nodesRef.current, h).find((Ne) => {
|
|
@@ -40915,18 +40916,18 @@ function aEe(e) {
|
|
|
40915
40916
|
return _.addEventListener("focusout", Ae), _.addEventListener("pointerdown", ae), !l && w.addEventListener("focusout", Ae), () => {
|
|
40916
40917
|
_.removeEventListener("focusout", Ae), _.removeEventListener("pointerdown", ae), !l && w.removeEventListener("focusout", Ae);
|
|
40917
40918
|
};
|
|
40918
|
-
}, [r, _, w, l, h, M,
|
|
40919
|
+
}, [r, _, w, l, h, M, L, g, f]), B.useEffect(() => {
|
|
40919
40920
|
var ae;
|
|
40920
40921
|
if (r)
|
|
40921
40922
|
return;
|
|
40922
|
-
const Ae = Array.from((
|
|
40923
|
+
const Ae = Array.from((L == null || (ae = L.portalNode) == null ? void 0 : ae.querySelectorAll("[" + $c("portal") + "]")) || []);
|
|
40923
40924
|
if (w) {
|
|
40924
|
-
const N = [w, ...Ae, D.current, Z.current, A.current.includes("reference") ||
|
|
40925
|
+
const N = [w, ...Ae, D.current, Z.current, A.current.includes("reference") || F ? _ : null].filter((Fe) => Fe != null), Pe = l ? kT(N, S, !S) : kT(N);
|
|
40925
40926
|
return () => {
|
|
40926
40927
|
Pe();
|
|
40927
40928
|
};
|
|
40928
40929
|
}
|
|
40929
|
-
}, [r, _, w, l, A,
|
|
40930
|
+
}, [r, _, w, l, A, L, F, S]), tr(() => {
|
|
40930
40931
|
if (r || !w)
|
|
40931
40932
|
return;
|
|
40932
40933
|
const ae = Li(w), Ae = wa(ae);
|
|
@@ -40965,17 +40966,17 @@ function aEe(e) {
|
|
|
40965
40966
|
});
|
|
40966
40967
|
};
|
|
40967
40968
|
}, [r, w, T, x, m, v, M, h]), tr(() => {
|
|
40968
|
-
if (!(r || !
|
|
40969
|
-
return
|
|
40969
|
+
if (!(r || !L))
|
|
40970
|
+
return L.setFocusManagerState({
|
|
40970
40971
|
modal: l,
|
|
40971
40972
|
closeOnFocusOut: f,
|
|
40972
40973
|
open: p,
|
|
40973
40974
|
onOpenChange: g,
|
|
40974
40975
|
refs: m
|
|
40975
40976
|
}), () => {
|
|
40976
|
-
|
|
40977
|
+
L.setFocusManagerState(null);
|
|
40977
40978
|
};
|
|
40978
|
-
}, [r,
|
|
40979
|
+
}, [r, L, l, p, g, m, f]), tr(() => {
|
|
40979
40980
|
if (!r && w && typeof MutationObserver == "function" && !q) {
|
|
40980
40981
|
const ae = () => {
|
|
40981
40982
|
const N = w.getAttribute("tabindex");
|
|
@@ -40998,36 +40999,36 @@ function aEe(e) {
|
|
|
40998
40999
|
onClick: (Ae) => g(!1, Ae.nativeEvent)
|
|
40999
41000
|
}, typeof c == "string" ? c : "Dismiss");
|
|
41000
41001
|
}
|
|
41001
|
-
const R = !r && S && !
|
|
41002
|
+
const R = !r && S && !F && (H || l);
|
|
41002
41003
|
return /* @__PURE__ */ B.createElement(B.Fragment, null, R && /* @__PURE__ */ B.createElement(Mh, {
|
|
41003
41004
|
"data-type": "inside",
|
|
41004
|
-
ref:
|
|
41005
|
+
ref: L == null ? void 0 : L.beforeInsideRef,
|
|
41005
41006
|
onFocus: (ae) => {
|
|
41006
41007
|
if (l) {
|
|
41007
41008
|
const N = te();
|
|
41008
41009
|
No(i[0] === "reference" ? N[0] : N[N.length - 1]);
|
|
41009
|
-
} else if (
|
|
41010
|
-
if (ne.current = !1, tc(ae,
|
|
41010
|
+
} else if (L != null && L.preserveTabOrder && L.portalNode)
|
|
41011
|
+
if (ne.current = !1, tc(ae, L.portalNode)) {
|
|
41011
41012
|
const N = kD() || _;
|
|
41012
41013
|
N == null || N.focus();
|
|
41013
41014
|
} else {
|
|
41014
41015
|
var Ae;
|
|
41015
|
-
(Ae =
|
|
41016
|
+
(Ae = L.beforeOutsideRef.current) == null || Ae.focus();
|
|
41016
41017
|
}
|
|
41017
41018
|
}
|
|
41018
|
-
}), !
|
|
41019
|
+
}), !F && ue("start"), n, ue("end"), R && /* @__PURE__ */ B.createElement(Mh, {
|
|
41019
41020
|
"data-type": "inside",
|
|
41020
|
-
ref:
|
|
41021
|
+
ref: L == null ? void 0 : L.afterInsideRef,
|
|
41021
41022
|
onFocus: (ae) => {
|
|
41022
41023
|
if (l)
|
|
41023
41024
|
No(te()[0]);
|
|
41024
|
-
else if (
|
|
41025
|
-
if (f && (ne.current = !0), tc(ae,
|
|
41025
|
+
else if (L != null && L.preserveTabOrder && L.portalNode)
|
|
41026
|
+
if (f && (ne.current = !0), tc(ae, L.portalNode)) {
|
|
41026
41027
|
const N = OD() || _;
|
|
41027
41028
|
N == null || N.focus();
|
|
41028
41029
|
} else {
|
|
41029
41030
|
var Ae;
|
|
41030
|
-
(Ae =
|
|
41031
|
+
(Ae = L.afterOutsideRef.current) == null || Ae.focus();
|
|
41031
41032
|
}
|
|
41032
41033
|
}
|
|
41033
41034
|
}));
|
|
@@ -41131,7 +41132,7 @@ function pEe(e, t) {
|
|
|
41131
41132
|
bubbles: _
|
|
41132
41133
|
} = t, w = ny(), S = AD() != null, A = Ta(typeof m == "function" ? m : () => !1), C = typeof m == "function" ? A : m, T = B.useRef(!1), {
|
|
41133
41134
|
escapeKeyBubbles: M,
|
|
41134
|
-
outsidePressBubbles:
|
|
41135
|
+
outsidePressBubbles: L
|
|
41135
41136
|
} = fEe(_), q = Ta((Z) => {
|
|
41136
41137
|
if (!n || !f || !p || Z.key !== "Escape")
|
|
41137
41138
|
return;
|
|
@@ -41160,17 +41161,17 @@ function pEe(e, t) {
|
|
|
41160
41161
|
if (T.current = !1, ne || typeof C == "function" && !C(Z))
|
|
41161
41162
|
return;
|
|
41162
41163
|
const J = fD(Z), K = "[" + $c("inert") + "]", H = Li(l).querySelectorAll(K);
|
|
41163
|
-
let
|
|
41164
|
-
for (;
|
|
41165
|
-
const ue = Ts(
|
|
41164
|
+
let F = Bn(J) ? J : null;
|
|
41165
|
+
for (; F && !yd(F); ) {
|
|
41166
|
+
const ue = Ts(F);
|
|
41166
41167
|
if (ue === Li(l).body || !Bn(ue))
|
|
41167
41168
|
break;
|
|
41168
|
-
|
|
41169
|
+
F = ue;
|
|
41169
41170
|
}
|
|
41170
41171
|
if (H.length && Bn(J) && !Q1e(J) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
|
|
41171
41172
|
!Jr(J, l) && // If the target root element contains none of the markers, then the
|
|
41172
41173
|
// element was injected after the floating element rendered.
|
|
41173
|
-
Array.from(H).every((ue) => !Jr(
|
|
41174
|
+
Array.from(H).every((ue) => !Jr(F, ue)))
|
|
41174
41175
|
return;
|
|
41175
41176
|
if (Or(J) && l) {
|
|
41176
41177
|
const ue = J.clientWidth > 0 && J.scrollWidth > J.clientWidth, R = J.clientHeight > 0 && J.scrollHeight > J.clientHeight;
|
|
@@ -41208,7 +41209,7 @@ function pEe(e, t) {
|
|
|
41208
41209
|
return B.useEffect(() => {
|
|
41209
41210
|
if (!n || !f)
|
|
41210
41211
|
return;
|
|
41211
|
-
c.current.__escapeKeyBubbles = M, c.current.__outsidePressBubbles =
|
|
41212
|
+
c.current.__escapeKeyBubbles = M, c.current.__outsidePressBubbles = L;
|
|
41212
41213
|
function Z(K) {
|
|
41213
41214
|
r(!1, K);
|
|
41214
41215
|
}
|
|
@@ -41227,7 +41228,7 @@ function pEe(e, t) {
|
|
|
41227
41228
|
K.removeEventListener("scroll", Z);
|
|
41228
41229
|
});
|
|
41229
41230
|
};
|
|
41230
|
-
}, [c, l, s, a, p, C, h, n, r, x, f, M,
|
|
41231
|
+
}, [c, l, s, a, p, C, h, n, r, x, f, M, L, q, D]), B.useEffect(() => {
|
|
41231
41232
|
T.current = !1;
|
|
41232
41233
|
}, [C, h]), B.useMemo(() => f ? {
|
|
41233
41234
|
reference: {
|
|
@@ -41270,14 +41271,14 @@ function hEe(e) {
|
|
|
41270
41271
|
}
|
|
41271
41272
|
}
|
|
41272
41273
|
}
|
|
41273
|
-
const [l, c] = B.useState(null), f = ((t = e.elements) == null ? void 0 : t.reference) || l, p = SSe(e), m = ny(), h = Ta((M,
|
|
41274
|
-
M && (v.current.openEvent =
|
|
41274
|
+
const [l, c] = B.useState(null), f = ((t = e.elements) == null ? void 0 : t.reference) || l, p = SSe(e), m = ny(), h = Ta((M, L) => {
|
|
41275
|
+
M && (v.current.openEvent = L), r == null || r(M, L);
|
|
41275
41276
|
}), g = B.useRef(null), v = B.useRef({}), x = B.useState(() => HSe())[0], _ = l_(), w = B.useCallback((M) => {
|
|
41276
|
-
const
|
|
41277
|
+
const L = Bn(M) ? {
|
|
41277
41278
|
getBoundingClientRect: () => M.getBoundingClientRect(),
|
|
41278
41279
|
contextElement: M
|
|
41279
41280
|
} : M;
|
|
41280
|
-
p.refs.setReference(
|
|
41281
|
+
p.refs.setReference(L);
|
|
41281
41282
|
}, [p.refs]), S = B.useCallback((M) => {
|
|
41282
41283
|
(Bn(M) || M === null) && (g.current = M, c(M)), (Bn(p.refs.reference.current) || p.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
41283
41284
|
// `null` to support `positionReference` + an unstable `reference`
|
|
@@ -41303,7 +41304,7 @@ function hEe(e) {
|
|
|
41303
41304
|
onOpenChange: h
|
|
41304
41305
|
}), [p, i, _, x, n, h, A, C]);
|
|
41305
41306
|
return tr(() => {
|
|
41306
|
-
const M = m == null ? void 0 : m.nodesRef.current.find((
|
|
41307
|
+
const M = m == null ? void 0 : m.nodesRef.current.find((L) => L.id === i);
|
|
41307
41308
|
M && (M.context = T);
|
|
41308
41309
|
}), B.useMemo(() => ({
|
|
41309
41310
|
...p,
|
|
@@ -41411,13 +41412,13 @@ function gEe(e, t) {
|
|
|
41411
41412
|
orientation: C = "vertical",
|
|
41412
41413
|
cols: T = 1,
|
|
41413
41414
|
scrollItemIntoView: M = !0,
|
|
41414
|
-
virtualItemRef:
|
|
41415
|
+
virtualItemRef: L
|
|
41415
41416
|
} = t;
|
|
41416
41417
|
process.env.NODE_ENV !== "production" && (m && (h || console.warn(["Floating UI: `useListNavigation` looping must be enabled to allow", "escaping."].join(" ")), x || console.warn(["Floating UI: `useListNavigation` must be virtual to allow", "escaping."].join(" "))), C === "vertical" && T > 1 && console.warn(["Floating UI: In grid list navigation mode (`cols` > 1), the", '`orientation` should be either "horizontal" or "both".'].join(" ")));
|
|
41417
|
-
const q = AD(), D = ny(), Z = Ta(c), ne = B.useRef(_), J = B.useRef(p ?? -1), K = B.useRef(null), H = B.useRef(!0),
|
|
41418
|
+
const q = AD(), D = ny(), Z = Ta(c), ne = B.useRef(_), J = B.useRef(p ?? -1), K = B.useRef(null), H = B.useRef(!0), F = B.useRef(Z), G = B.useRef(!!a), te = B.useRef(!1), ue = B.useRef(!1), R = Aa(A), ae = Aa(n), Ae = Aa(M), [N, Pe] = B.useState(), [Fe, Ne] = B.useState(), Ge = Ta(function(Oe, Se, Le) {
|
|
41418
41419
|
Le === void 0 && (Le = !1);
|
|
41419
41420
|
const Ce = Oe.current[Se.current];
|
|
41420
|
-
Ce && (x ? (Pe(Ce.id), D == null || D.events.emit("virtualfocus", Ce),
|
|
41421
|
+
Ce && (x ? (Pe(Ce.id), D == null || D.events.emit("virtualfocus", Ce), L && (L.current = Ce)) : No(Ce, {
|
|
41421
41422
|
preventScroll: !0,
|
|
41422
41423
|
// Mac Safari does not move the virtual cursor unless the focus call
|
|
41423
41424
|
// is sync. However, for the very first focus call, we need to wait
|
|
@@ -41443,7 +41444,7 @@ function gEe(e, t) {
|
|
|
41443
41444
|
}
|
|
41444
41445
|
});
|
|
41445
41446
|
}, []), tr(() => {
|
|
41446
|
-
f && (n && a ? ne.current && p != null && (ue.current = !0, Z(p)) : G.current && (J.current = -1,
|
|
41447
|
+
f && (n && a ? ne.current && p != null && (ue.current = !0, Z(p)) : G.current && (J.current = -1, F.current(null)));
|
|
41447
41448
|
}, [f, n, a, p, Z]), tr(() => {
|
|
41448
41449
|
if (f && n && a)
|
|
41449
41450
|
if (l == null) {
|
|
@@ -41470,13 +41471,13 @@ function gEe(e, t) {
|
|
|
41470
41471
|
if (!f || !D || !x || q)
|
|
41471
41472
|
return;
|
|
41472
41473
|
function Oe(Se) {
|
|
41473
|
-
Ne(Se.id),
|
|
41474
|
+
Ne(Se.id), L && (L.current = Se);
|
|
41474
41475
|
}
|
|
41475
41476
|
return D.events.on("virtualfocus", Oe), () => {
|
|
41476
41477
|
D.events.off("virtualfocus", Oe);
|
|
41477
41478
|
};
|
|
41478
|
-
}, [f, D, x, q,
|
|
41479
|
-
|
|
41479
|
+
}, [f, D, x, q, L]), tr(() => {
|
|
41480
|
+
F.current = Z, G.current = !!a;
|
|
41480
41481
|
}), tr(() => {
|
|
41481
41482
|
n || (K.current = null);
|
|
41482
41483
|
}, [n]);
|
|
@@ -41582,7 +41583,7 @@ function gEe(e, t) {
|
|
|
41582
41583
|
const ce = V.key.indexOf("Arrow") === 0, Te = yEe(V.key, C, v), _e = NT(V.key, C, v), Je = PT(V.key, C), je = (g ? Te : Je) || V.key === "Enter" || V.key.trim() === "";
|
|
41583
41584
|
if (x && n) {
|
|
41584
41585
|
const re = D == null ? void 0 : D.nodesRef.current.find((we) => we.parentId == null), fe = D && re ? YSe(D.nodesRef.current, re.id) : null;
|
|
41585
|
-
if (ce && fe &&
|
|
41586
|
+
if (ce && fe && L) {
|
|
41586
41587
|
const we = new KeyboardEvent("keydown", {
|
|
41587
41588
|
key: V.key,
|
|
41588
41589
|
bubbles: !0
|
|
@@ -41625,7 +41626,7 @@ function gEe(e, t) {
|
|
|
41625
41626
|
},
|
|
41626
41627
|
item: He
|
|
41627
41628
|
};
|
|
41628
|
-
}, [o, i, N, Fe, R, ae, s, f, C, v, x, n, nt, g, p, S, m, T, h, _, Z, r, He, D,
|
|
41629
|
+
}, [o, i, N, Fe, R, ae, s, f, C, v, x, n, nt, g, p, S, m, T, h, _, Z, r, He, D, L]);
|
|
41629
41630
|
}
|
|
41630
41631
|
function vEe(e, t) {
|
|
41631
41632
|
t === void 0 && (t = {});
|
|
@@ -41700,15 +41701,15 @@ function bEe(e, t) {
|
|
|
41700
41701
|
const ne = A.current ? A.current(D, Z) : D.find((J) => (J == null ? void 0 : J.toLocaleLowerCase().indexOf(Z.toLocaleLowerCase())) === 0);
|
|
41701
41702
|
return ne ? q.indexOf(ne) : -1;
|
|
41702
41703
|
}
|
|
41703
|
-
function
|
|
41704
|
+
function L(q) {
|
|
41704
41705
|
const D = o.current;
|
|
41705
41706
|
if (v.current.length > 0 && v.current[0] !== " " && (M(D, D, v.current) === -1 ? T(!1) : q.key === " " && yr(q)), D == null || C.current.includes(q.key) || // Character key.
|
|
41706
41707
|
q.key.length !== 1 || // Modifier key.
|
|
41707
41708
|
q.ctrlKey || q.metaKey || q.altKey)
|
|
41708
41709
|
return;
|
|
41709
41710
|
r && q.key !== " " && (yr(q), T(!0)), D.every((K) => {
|
|
41710
|
-
var H,
|
|
41711
|
-
return K ? ((H = K[0]) == null ? void 0 : H.toLocaleLowerCase()) !== ((
|
|
41711
|
+
var H, F;
|
|
41712
|
+
return K ? ((H = K[0]) == null ? void 0 : H.toLocaleLowerCase()) !== ((F = K[1]) == null ? void 0 : F.toLocaleLowerCase()) : !0;
|
|
41712
41713
|
}) && v.current === q.key && (v.current = "", x.current = _.current), v.current += q.key, clearTimeout(g.current), g.current = setTimeout(() => {
|
|
41713
41714
|
v.current = "", x.current = _.current, T(!1);
|
|
41714
41715
|
}, p);
|
|
@@ -41717,10 +41718,10 @@ function bEe(e, t) {
|
|
|
41717
41718
|
}
|
|
41718
41719
|
return {
|
|
41719
41720
|
reference: {
|
|
41720
|
-
onKeyDown:
|
|
41721
|
+
onKeyDown: L
|
|
41721
41722
|
},
|
|
41722
41723
|
floating: {
|
|
41723
|
-
onKeyDown:
|
|
41724
|
+
onKeyDown: L,
|
|
41724
41725
|
onKeyUp(q) {
|
|
41725
41726
|
q.key === " " && T(!1);
|
|
41726
41727
|
}
|
|
@@ -41757,7 +41758,7 @@ const wEe = ({ styles: e, type: t, options: n, label: r, reusable: i }) => {
|
|
|
41757
41758
|
padding: 10
|
|
41758
41759
|
})
|
|
41759
41760
|
]
|
|
41760
|
-
}), A = B.useRef([]), C = B.useRef(v), T = B.useRef(!1), M = sEe(S, { event: "mousedown" }),
|
|
41761
|
+
}), A = B.useRef([]), C = B.useRef(v), T = B.useRef(!1), M = sEe(S, { event: "mousedown" }), L = pEe(S), q = vEe(S, { role: "listbox" }), D = gEe(S, {
|
|
41761
41762
|
listRef: A,
|
|
41762
41763
|
activeIndex: f,
|
|
41763
41764
|
selectedIndex: m,
|
|
@@ -41773,14 +41774,14 @@ const wEe = ({ styles: e, type: t, options: n, label: r, reusable: i }) => {
|
|
|
41773
41774
|
T.current = He;
|
|
41774
41775
|
}
|
|
41775
41776
|
}), { getReferenceProps: ne, getFloatingProps: J, getItemProps: K } = mEe([
|
|
41776
|
-
|
|
41777
|
+
L,
|
|
41777
41778
|
q,
|
|
41778
41779
|
D,
|
|
41779
41780
|
Z,
|
|
41780
41781
|
M
|
|
41781
41782
|
]), H = (He) => {
|
|
41782
41783
|
h(He), o(g[v[He]]), c(!1);
|
|
41783
|
-
},
|
|
41784
|
+
}, F = m !== null ? v[m] : void 0;
|
|
41784
41785
|
return /* @__PURE__ */ Q.jsxs(Q.Fragment, { children: [
|
|
41785
41786
|
/* @__PURE__ */ Q.jsxs(
|
|
41786
41787
|
"div",
|
|
@@ -41793,7 +41794,7 @@ const wEe = ({ styles: e, type: t, options: n, label: r, reusable: i }) => {
|
|
|
41793
41794
|
...(te = (G = e == null ? void 0 : e[t]) == null ? void 0 : G.button) == null ? void 0 : te.container,
|
|
41794
41795
|
...ne(),
|
|
41795
41796
|
children: [
|
|
41796
|
-
/* @__PURE__ */ Q.jsx("span", { ...(R = (ue = e == null ? void 0 : e[t]) == null ? void 0 : ue.button) == null ? void 0 : R.text, children:
|
|
41797
|
+
/* @__PURE__ */ Q.jsx("span", { ...(R = (ue = e == null ? void 0 : e[t]) == null ? void 0 : ue.button) == null ? void 0 : R.text, children: F || r || "Select..." }),
|
|
41797
41798
|
/* @__PURE__ */ Q.jsx(Ixe, { ...(Ae = (ae = e == null ? void 0 : e[t]) == null ? void 0 : ae.button) == null ? void 0 : Ae.icon })
|
|
41798
41799
|
]
|
|
41799
41800
|
}
|
|
@@ -42108,26 +42109,26 @@ const DEe = /* @__PURE__ */ Ti({
|
|
|
42108
42109
|
var n;
|
|
42109
42110
|
const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: i, onPointerDownOutside: o, onFocusOutside: a, onInteractOutside: s, onDismiss: l, ...c } = e, f = Hi(DEe), [p, m] = ut(null), h = (n = p == null ? void 0 : p.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, g] = ut({}), v = hi(
|
|
42110
42111
|
t,
|
|
42111
|
-
(
|
|
42112
|
+
(L) => m(L)
|
|
42112
42113
|
), x = Array.from(f.layers), [_] = [
|
|
42113
42114
|
...f.layersWithOutsidePointerEventsDisabled
|
|
42114
|
-
].slice(-1), w = x.indexOf(_), S = p ? x.indexOf(p) : -1, A = f.layersWithOutsidePointerEventsDisabled.size > 0, C = S >= w, T = LEe((
|
|
42115
|
-
const q =
|
|
42115
|
+
].slice(-1), w = x.indexOf(_), S = p ? x.indexOf(p) : -1, A = f.layersWithOutsidePointerEventsDisabled.size > 0, C = S >= w, T = LEe((L) => {
|
|
42116
|
+
const q = L.target, D = [
|
|
42116
42117
|
...f.branches
|
|
42117
42118
|
].some(
|
|
42118
42119
|
(Z) => Z.contains(q)
|
|
42119
42120
|
);
|
|
42120
|
-
!C || D || (o == null || o(
|
|
42121
|
-
}, h), M = FEe((
|
|
42122
|
-
const q =
|
|
42121
|
+
!C || D || (o == null || o(L), s == null || s(L), L.defaultPrevented || l == null || l());
|
|
42122
|
+
}, h), M = FEe((L) => {
|
|
42123
|
+
const q = L.target;
|
|
42123
42124
|
[
|
|
42124
42125
|
...f.branches
|
|
42125
42126
|
].some(
|
|
42126
42127
|
(Z) => Z.contains(q)
|
|
42127
|
-
) || (a == null || a(
|
|
42128
|
+
) || (a == null || a(L), s == null || s(L), L.defaultPrevented || l == null || l());
|
|
42128
42129
|
}, h);
|
|
42129
|
-
return IEe((
|
|
42130
|
-
S === f.layers.size - 1 && (i == null || i(
|
|
42130
|
+
return IEe((L) => {
|
|
42131
|
+
S === f.layers.size - 1 && (i == null || i(L), !L.defaultPrevented && l && (L.preventDefault(), l()));
|
|
42131
42132
|
}, h), tt(() => {
|
|
42132
42133
|
if (p)
|
|
42133
42134
|
return r && (f.layersWithOutsidePointerEventsDisabled.size === 0 && (DT = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(p)), f.layers.add(p), MT(), () => {
|
|
@@ -42144,8 +42145,8 @@ const DEe = /* @__PURE__ */ Ti({
|
|
|
42144
42145
|
p,
|
|
42145
42146
|
f
|
|
42146
42147
|
]), tt(() => {
|
|
42147
|
-
const
|
|
42148
|
-
return document.addEventListener(Gb,
|
|
42148
|
+
const L = () => g({});
|
|
42149
|
+
return document.addEventListener(Gb, L), () => document.removeEventListener(Gb, L);
|
|
42149
42150
|
}, []), /* @__PURE__ */ it(vr.div, vs({}, c, {
|
|
42150
42151
|
ref: v,
|
|
42151
42152
|
style: {
|
|
@@ -42872,10 +42873,10 @@ function CAe(e) {
|
|
|
42872
42873
|
var _ = Of(v), w = n.current, S = "deltaX" in v ? v.deltaX : w[0] - _[0], A = "deltaY" in v ? v.deltaY : w[1] - _[1], C, T = v.target, M = Math.abs(S) > Math.abs(A) ? "h" : "v";
|
|
42873
42874
|
if ("touches" in v && M === "h" && T.type === "range")
|
|
42874
42875
|
return !1;
|
|
42875
|
-
var
|
|
42876
|
-
if (!
|
|
42876
|
+
var L = zT(M, T);
|
|
42877
|
+
if (!L)
|
|
42877
42878
|
return !0;
|
|
42878
|
-
if (
|
|
42879
|
+
if (L ? C = M : (C = M === "v" ? "h" : "v", L = zT(M, T)), !L)
|
|
42879
42880
|
return !1;
|
|
42880
42881
|
if (!r.current && "changedTouches" in v && (S || A) && (r.current = C), !C)
|
|
42881
42882
|
return !0;
|
|
@@ -43423,27 +43424,27 @@ const dTe = aTe, fTe = uTe, pTe = lTe, hTe = (e) => /* @__PURE__ */ B.createElem
|
|
|
43423
43424
|
Actions: STe,
|
|
43424
43425
|
DescriptionItem: ETe
|
|
43425
43426
|
}), ATe = () => {
|
|
43426
|
-
var
|
|
43427
|
-
const { header: e } = rt((
|
|
43428
|
-
return /* @__PURE__ */ Q.jsxs(ui, { open:
|
|
43427
|
+
var o, a, s, l, c, f, p, m, h, g, v, x, _, w, S, A, C, T, M;
|
|
43428
|
+
const { header: e } = rt((L) => L.theme), t = rt((L) => L.configuration), n = rt((L) => L.closeWindow), r = rt((L) => !L.disableRestartConversation), i = !!((o = t.email) != null && o.title) || !!((a = t.phone) != null && a.title) || !!((s = t.website) != null && s.title) || !!((l = t.termsOfService) != null && l.link) || !!((c = t.privacyPolicy) != null && c.link);
|
|
43429
|
+
return /* @__PURE__ */ Q.jsxs(ui, { open: i ? void 0 : !1, "data-disabled": i ? void 0 : "", children: [
|
|
43429
43430
|
/* @__PURE__ */ Q.jsxs(ui.Content, { children: [
|
|
43430
43431
|
/* @__PURE__ */ Q.jsx(ui.Avatar, { src: t.botAvatar, children: t.botName || "Bot" }),
|
|
43431
43432
|
/* @__PURE__ */ Q.jsx(ui.Title, { children: t.botName || "Bot" }),
|
|
43432
43433
|
t.botDescription && /* @__PURE__ */ Q.jsx(ui.Description, { children: t.botDescription }),
|
|
43433
43434
|
/* @__PURE__ */ Q.jsxs(ui.Actions, { children: [
|
|
43434
|
-
/* @__PURE__ */ Q.jsx(mTe, {}),
|
|
43435
|
+
r && /* @__PURE__ */ Q.jsx(mTe, {}),
|
|
43435
43436
|
n && /* @__PURE__ */ Q.jsx(yTe, {})
|
|
43436
43437
|
] })
|
|
43437
43438
|
] }),
|
|
43438
43439
|
/* @__PURE__ */ Q.jsxs(ui.ExpandedContent, { children: [
|
|
43439
|
-
/* @__PURE__ */ Q.jsxs("div", { "data-links": "", ...(
|
|
43440
|
+
/* @__PURE__ */ Q.jsxs("div", { "data-links": "", ...(f = e == null ? void 0 : e.expandedContent) == null ? void 0 : f.group, children: [
|
|
43440
43441
|
/* @__PURE__ */ Q.jsx(
|
|
43441
43442
|
ui.DescriptionItem,
|
|
43442
43443
|
{
|
|
43443
43444
|
"data-email": "",
|
|
43444
43445
|
icon: P1e,
|
|
43445
|
-
title: (
|
|
43446
|
-
link: (
|
|
43446
|
+
title: (p = t.email) == null ? void 0 : p.title,
|
|
43447
|
+
link: (m = t.email) == null ? void 0 : m.link
|
|
43447
43448
|
}
|
|
43448
43449
|
),
|
|
43449
43450
|
/* @__PURE__ */ Q.jsx(
|
|
@@ -43451,41 +43452,41 @@ const dTe = aTe, fTe = uTe, pTe = lTe, hTe = (e) => /* @__PURE__ */ B.createElem
|
|
|
43451
43452
|
{
|
|
43452
43453
|
"data-phone": "",
|
|
43453
43454
|
icon: B1e,
|
|
43454
|
-
title: (
|
|
43455
|
-
link: (
|
|
43455
|
+
title: (h = t.phone) == null ? void 0 : h.title,
|
|
43456
|
+
link: (g = t.phone) == null ? void 0 : g.link
|
|
43456
43457
|
}
|
|
43457
43458
|
),
|
|
43458
43459
|
/* @__PURE__ */ Q.jsx(
|
|
43459
43460
|
ui.DescriptionItem,
|
|
43460
43461
|
{
|
|
43461
43462
|
"data-website": "",
|
|
43462
|
-
link: (
|
|
43463
|
+
link: (v = t.website) == null ? void 0 : v.link,
|
|
43463
43464
|
icon: M1e,
|
|
43464
|
-
title: (
|
|
43465
|
+
title: (x = t.website) == null ? void 0 : x.title
|
|
43465
43466
|
}
|
|
43466
43467
|
)
|
|
43467
43468
|
] }),
|
|
43468
|
-
/* @__PURE__ */ Q.jsxs("div", { "data-legal": "", ...(
|
|
43469
|
+
/* @__PURE__ */ Q.jsxs("div", { "data-legal": "", ...(_ = e == null ? void 0 : e.expandedContent) == null ? void 0 : _.group, children: [
|
|
43469
43470
|
/* @__PURE__ */ Q.jsx(
|
|
43470
43471
|
ui.DescriptionItem,
|
|
43471
43472
|
{
|
|
43472
43473
|
"data-terms": "",
|
|
43473
|
-
link: (
|
|
43474
|
+
link: (w = t.termsOfService) == null ? void 0 : w.link,
|
|
43474
43475
|
icon: $1e,
|
|
43475
|
-
title: (
|
|
43476
|
+
title: (S = t.termsOfService) == null ? void 0 : S.title
|
|
43476
43477
|
}
|
|
43477
43478
|
),
|
|
43478
43479
|
/* @__PURE__ */ Q.jsx(
|
|
43479
43480
|
ui.DescriptionItem,
|
|
43480
43481
|
{
|
|
43481
43482
|
"data-privacy": "",
|
|
43482
|
-
link: (
|
|
43483
|
+
link: (A = t.privacyPolicy) == null ? void 0 : A.link,
|
|
43483
43484
|
icon: j1e,
|
|
43484
|
-
title: (
|
|
43485
|
+
title: (C = t.privacyPolicy) == null ? void 0 : C.title
|
|
43485
43486
|
}
|
|
43486
43487
|
)
|
|
43487
43488
|
] }),
|
|
43488
|
-
/* @__PURE__ */ Q.jsx("div", { ...(
|
|
43489
|
+
/* @__PURE__ */ Q.jsx("div", { ...(M = (T = e == null ? void 0 : e.expandedContent) == null ? void 0 : T.descriptionItems) == null ? void 0 : M.poweredBy, children: "⚡ by Botpress" })
|
|
43489
43490
|
] })
|
|
43490
43491
|
] });
|
|
43491
43492
|
}, wke = ui, TTe = Os(({ ...e }) => {
|
|
@@ -43536,7 +43537,7 @@ function $Te(e, t) {
|
|
|
43536
43537
|
}, e);
|
|
43537
43538
|
}
|
|
43538
43539
|
const XD = "ScrollArea", [QD, _ke] = Sm(XD), [RTe, Oi] = QD(XD), ITe = /* @__PURE__ */ st((e, t) => {
|
|
43539
|
-
const { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: o = 600, ...a } = e, [s, l] = ut(null), [c, f] = ut(null), [p, m] = ut(null), [h, g] = ut(null), [v, x] = ut(null), [_, w] = ut(0), [S, A] = ut(0), [C, T] = ut(!1), [M,
|
|
43540
|
+
const { __scopeScrollArea: n, type: r = "hover", dir: i, scrollHideDelay: o = 600, ...a } = e, [s, l] = ut(null), [c, f] = ut(null), [p, m] = ut(null), [h, g] = ut(null), [v, x] = ut(null), [_, w] = ut(0), [S, A] = ut(0), [C, T] = ut(!1), [M, L] = ut(!1), q = hi(
|
|
43540
43541
|
t,
|
|
43541
43542
|
(Z) => l(Z)
|
|
43542
43543
|
), D = kTe(i);
|
|
@@ -43557,7 +43558,7 @@ const XD = "ScrollArea", [QD, _ke] = Sm(XD), [RTe, Oi] = QD(XD), ITe = /* @__PUR
|
|
|
43557
43558
|
scrollbarY: v,
|
|
43558
43559
|
onScrollbarYChange: x,
|
|
43559
43560
|
scrollbarYEnabled: M,
|
|
43560
|
-
onScrollbarYEnabledChange:
|
|
43561
|
+
onScrollbarYEnabledChange: L,
|
|
43561
43562
|
onCornerWidthChange: w,
|
|
43562
43563
|
onCornerHeightChange: A
|
|
43563
43564
|
}, /* @__PURE__ */ it(vr.div, Vt({
|
|
@@ -43863,7 +43864,7 @@ const XD = "ScrollArea", [QD, _ke] = Sm(XD), [RTe, Oi] = QD(XD), ITe = /* @__PUR
|
|
|
43863
43864
|
t,
|
|
43864
43865
|
(q) => v(q)
|
|
43865
43866
|
), _ = yt(null), w = yt(""), S = h.viewport, A = r.content - r.viewport, C = Dr(f), T = Dr(l), M = ay(p, 10);
|
|
43866
|
-
function
|
|
43867
|
+
function L(q) {
|
|
43867
43868
|
if (_.current) {
|
|
43868
43869
|
const D = q.clientX - _.current.left, Z = q.clientY - _.current.top;
|
|
43869
43870
|
c({
|
|
@@ -43905,9 +43906,9 @@ const XD = "ScrollArea", [QD, _ke] = Sm(XD), [RTe, Oi] = QD(XD), ITe = /* @__PUR
|
|
|
43905
43906
|
...m.style
|
|
43906
43907
|
},
|
|
43907
43908
|
onPointerDown: Ar(e.onPointerDown, (q) => {
|
|
43908
|
-
q.button === 0 && (q.target.setPointerCapture(q.pointerId), _.current = g.getBoundingClientRect(), w.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", h.viewport && (h.viewport.style.scrollBehavior = "auto"),
|
|
43909
|
+
q.button === 0 && (q.target.setPointerCapture(q.pointerId), _.current = g.getBoundingClientRect(), w.current = document.body.style.webkitUserSelect, document.body.style.webkitUserSelect = "none", h.viewport && (h.viewport.style.scrollBehavior = "auto"), L(q));
|
|
43909
43910
|
}),
|
|
43910
|
-
onPointerMove: Ar(e.onPointerMove,
|
|
43911
|
+
onPointerMove: Ar(e.onPointerMove, L),
|
|
43911
43912
|
onPointerUp: Ar(e.onPointerUp, (q) => {
|
|
43912
43913
|
const D = q.target;
|
|
43913
43914
|
D.hasPointerCapture(q.pointerId) && D.releasePointerCapture(q.pointerId), document.body.style.webkitUserSelect = w.current, h.viewport && (h.viewport.style.scrollBehavior = ""), _.current = null;
|
|
@@ -44089,19 +44090,19 @@ var sM = { exports: {} };
|
|
|
44089
44090
|
e.exports = r();
|
|
44090
44091
|
})(lt, function() {
|
|
44091
44092
|
var n = 1e3, r = 6e4, i = 36e5, o = "millisecond", a = "second", s = "minute", l = "hour", c = "day", f = "week", p = "month", m = "quarter", h = "year", g = "date", v = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(K) {
|
|
44092
|
-
var H = ["th", "st", "nd", "rd"],
|
|
44093
|
-
return "[" + K + (H[(
|
|
44094
|
-
} }, S = function(K, H,
|
|
44093
|
+
var H = ["th", "st", "nd", "rd"], F = K % 100;
|
|
44094
|
+
return "[" + K + (H[(F - 20) % 10] || H[F] || H[0]) + "]";
|
|
44095
|
+
} }, S = function(K, H, F) {
|
|
44095
44096
|
var G = String(K);
|
|
44096
|
-
return !G || G.length >= H ? K : "" + Array(H + 1 - G.length).join(
|
|
44097
|
+
return !G || G.length >= H ? K : "" + Array(H + 1 - G.length).join(F) + K;
|
|
44097
44098
|
}, A = { s: S, z: function(K) {
|
|
44098
|
-
var H = -K.utcOffset(),
|
|
44099
|
+
var H = -K.utcOffset(), F = Math.abs(H), G = Math.floor(F / 60), te = F % 60;
|
|
44099
44100
|
return (H <= 0 ? "+" : "-") + S(G, 2, "0") + ":" + S(te, 2, "0");
|
|
44100
|
-
}, m: function K(H,
|
|
44101
|
-
if (H.date() <
|
|
44102
|
-
return -K(
|
|
44103
|
-
var G = 12 * (
|
|
44104
|
-
return +(-(G + (
|
|
44101
|
+
}, m: function K(H, F) {
|
|
44102
|
+
if (H.date() < F.date())
|
|
44103
|
+
return -K(F, H);
|
|
44104
|
+
var G = 12 * (F.year() - H.year()) + (F.month() - H.month()), te = H.clone().add(G, p), ue = F - te < 0, R = H.clone().add(G + (ue ? -1 : 1), p);
|
|
44105
|
+
return +(-(G + (F - te) / (ue ? te - R : R - te)) || 0);
|
|
44105
44106
|
}, a: function(K) {
|
|
44106
44107
|
return K < 0 ? Math.ceil(K) || 0 : Math.floor(K);
|
|
44107
44108
|
}, p: function(K) {
|
|
@@ -44110,15 +44111,15 @@ var sM = { exports: {} };
|
|
|
44110
44111
|
return K === void 0;
|
|
44111
44112
|
} }, C = "en", T = {};
|
|
44112
44113
|
T[C] = w;
|
|
44113
|
-
var M = "$isDayjsObject",
|
|
44114
|
+
var M = "$isDayjsObject", L = function(K) {
|
|
44114
44115
|
return K instanceof ne || !(!K || !K[M]);
|
|
44115
|
-
}, q = function K(H,
|
|
44116
|
+
}, q = function K(H, F, G) {
|
|
44116
44117
|
var te;
|
|
44117
44118
|
if (!H)
|
|
44118
44119
|
return C;
|
|
44119
44120
|
if (typeof H == "string") {
|
|
44120
44121
|
var ue = H.toLowerCase();
|
|
44121
|
-
T[ue] && (te = ue),
|
|
44122
|
+
T[ue] && (te = ue), F && (T[ue] = F, te = ue);
|
|
44122
44123
|
var R = H.split("-");
|
|
44123
44124
|
if (!te && R.length > 1)
|
|
44124
44125
|
return K(R[0]);
|
|
@@ -44128,20 +44129,20 @@ var sM = { exports: {} };
|
|
|
44128
44129
|
}
|
|
44129
44130
|
return !G && te && (C = te), te || !G && C;
|
|
44130
44131
|
}, D = function(K, H) {
|
|
44131
|
-
if (
|
|
44132
|
+
if (L(K))
|
|
44132
44133
|
return K.clone();
|
|
44133
|
-
var
|
|
44134
|
-
return
|
|
44134
|
+
var F = typeof H == "object" ? H : {};
|
|
44135
|
+
return F.date = K, F.args = arguments, new ne(F);
|
|
44135
44136
|
}, Z = A;
|
|
44136
|
-
Z.l = q, Z.i =
|
|
44137
|
+
Z.l = q, Z.i = L, Z.w = function(K, H) {
|
|
44137
44138
|
return D(K, { locale: H.$L, utc: H.$u, x: H.$x, $offset: H.$offset });
|
|
44138
44139
|
};
|
|
44139
44140
|
var ne = function() {
|
|
44140
|
-
function K(
|
|
44141
|
-
this.$L = q(
|
|
44141
|
+
function K(F) {
|
|
44142
|
+
this.$L = q(F.locale, null, !0), this.parse(F), this.$x = this.$x || F.x || {}, this[M] = !0;
|
|
44142
44143
|
}
|
|
44143
44144
|
var H = K.prototype;
|
|
44144
|
-
return H.parse = function(
|
|
44145
|
+
return H.parse = function(F) {
|
|
44145
44146
|
this.$d = function(G) {
|
|
44146
44147
|
var te = G.date, ue = G.utc;
|
|
44147
44148
|
if (te === null)
|
|
@@ -44158,29 +44159,29 @@ var sM = { exports: {} };
|
|
|
44158
44159
|
}
|
|
44159
44160
|
}
|
|
44160
44161
|
return new Date(te);
|
|
44161
|
-
}(
|
|
44162
|
+
}(F), this.init();
|
|
44162
44163
|
}, H.init = function() {
|
|
44163
|
-
var
|
|
44164
|
-
this.$y =
|
|
44164
|
+
var F = this.$d;
|
|
44165
|
+
this.$y = F.getFullYear(), this.$M = F.getMonth(), this.$D = F.getDate(), this.$W = F.getDay(), this.$H = F.getHours(), this.$m = F.getMinutes(), this.$s = F.getSeconds(), this.$ms = F.getMilliseconds();
|
|
44165
44166
|
}, H.$utils = function() {
|
|
44166
44167
|
return Z;
|
|
44167
44168
|
}, H.isValid = function() {
|
|
44168
44169
|
return this.$d.toString() !== v;
|
|
44169
|
-
}, H.isSame = function(
|
|
44170
|
-
var te = D(
|
|
44170
|
+
}, H.isSame = function(F, G) {
|
|
44171
|
+
var te = D(F);
|
|
44171
44172
|
return this.startOf(G) <= te && te <= this.endOf(G);
|
|
44172
|
-
}, H.isAfter = function(
|
|
44173
|
-
return D(
|
|
44174
|
-
}, H.isBefore = function(
|
|
44175
|
-
return this.endOf(G) < D(
|
|
44176
|
-
}, H.$g = function(
|
|
44177
|
-
return Z.u(
|
|
44173
|
+
}, H.isAfter = function(F, G) {
|
|
44174
|
+
return D(F) < this.startOf(G);
|
|
44175
|
+
}, H.isBefore = function(F, G) {
|
|
44176
|
+
return this.endOf(G) < D(F);
|
|
44177
|
+
}, H.$g = function(F, G, te) {
|
|
44178
|
+
return Z.u(F) ? this[G] : this.set(te, F);
|
|
44178
44179
|
}, H.unix = function() {
|
|
44179
44180
|
return Math.floor(this.valueOf() / 1e3);
|
|
44180
44181
|
}, H.valueOf = function() {
|
|
44181
44182
|
return this.$d.getTime();
|
|
44182
|
-
}, H.startOf = function(
|
|
44183
|
-
var te = this, ue = !!Z.u(G) || G, R = Z.p(
|
|
44183
|
+
}, H.startOf = function(F, G) {
|
|
44184
|
+
var te = this, ue = !!Z.u(G) || G, R = Z.p(F), ae = function(He, Oe) {
|
|
44184
44185
|
var Se = Z.w(te.$u ? Date.UTC(te.$y, Oe, He) : new Date(te.$y, Oe, He), te);
|
|
44185
44186
|
return ue ? Se : Se.endOf(c);
|
|
44186
44187
|
}, Ae = function(He, Oe) {
|
|
@@ -44206,44 +44207,44 @@ var sM = { exports: {} };
|
|
|
44206
44207
|
default:
|
|
44207
44208
|
return this.clone();
|
|
44208
44209
|
}
|
|
44209
|
-
}, H.endOf = function(
|
|
44210
|
-
return this.startOf(
|
|
44211
|
-
}, H.$set = function(
|
|
44212
|
-
var te, ue = Z.p(
|
|
44210
|
+
}, H.endOf = function(F) {
|
|
44211
|
+
return this.startOf(F, !1);
|
|
44212
|
+
}, H.$set = function(F, G) {
|
|
44213
|
+
var te, ue = Z.p(F), R = "set" + (this.$u ? "UTC" : ""), ae = (te = {}, te[c] = R + "Date", te[g] = R + "Date", te[p] = R + "Month", te[h] = R + "FullYear", te[l] = R + "Hours", te[s] = R + "Minutes", te[a] = R + "Seconds", te[o] = R + "Milliseconds", te)[ue], Ae = ue === c ? this.$D + (G - this.$W) : G;
|
|
44213
44214
|
if (ue === p || ue === h) {
|
|
44214
44215
|
var N = this.clone().set(g, 1);
|
|
44215
44216
|
N.$d[ae](Ae), N.init(), this.$d = N.set(g, Math.min(this.$D, N.daysInMonth())).$d;
|
|
44216
44217
|
} else
|
|
44217
44218
|
ae && this.$d[ae](Ae);
|
|
44218
44219
|
return this.init(), this;
|
|
44219
|
-
}, H.set = function(
|
|
44220
|
-
return this.clone().$set(
|
|
44221
|
-
}, H.get = function(
|
|
44222
|
-
return this[Z.p(
|
|
44223
|
-
}, H.add = function(
|
|
44220
|
+
}, H.set = function(F, G) {
|
|
44221
|
+
return this.clone().$set(F, G);
|
|
44222
|
+
}, H.get = function(F) {
|
|
44223
|
+
return this[Z.p(F)]();
|
|
44224
|
+
}, H.add = function(F, G) {
|
|
44224
44225
|
var te, ue = this;
|
|
44225
|
-
|
|
44226
|
+
F = Number(F);
|
|
44226
44227
|
var R = Z.p(G), ae = function(Pe) {
|
|
44227
44228
|
var Fe = D(ue);
|
|
44228
|
-
return Z.w(Fe.date(Fe.date() + Math.round(Pe *
|
|
44229
|
+
return Z.w(Fe.date(Fe.date() + Math.round(Pe * F)), ue);
|
|
44229
44230
|
};
|
|
44230
44231
|
if (R === p)
|
|
44231
|
-
return this.set(p, this.$M +
|
|
44232
|
+
return this.set(p, this.$M + F);
|
|
44232
44233
|
if (R === h)
|
|
44233
|
-
return this.set(h, this.$y +
|
|
44234
|
+
return this.set(h, this.$y + F);
|
|
44234
44235
|
if (R === c)
|
|
44235
44236
|
return ae(1);
|
|
44236
44237
|
if (R === f)
|
|
44237
44238
|
return ae(7);
|
|
44238
|
-
var Ae = (te = {}, te[s] = r, te[l] = i, te[a] = n, te)[R] || 1, N = this.$d.getTime() +
|
|
44239
|
+
var Ae = (te = {}, te[s] = r, te[l] = i, te[a] = n, te)[R] || 1, N = this.$d.getTime() + F * Ae;
|
|
44239
44240
|
return Z.w(N, this);
|
|
44240
|
-
}, H.subtract = function(
|
|
44241
|
-
return this.add(-1 *
|
|
44242
|
-
}, H.format = function(
|
|
44241
|
+
}, H.subtract = function(F, G) {
|
|
44242
|
+
return this.add(-1 * F, G);
|
|
44243
|
+
}, H.format = function(F) {
|
|
44243
44244
|
var G = this, te = this.$locale();
|
|
44244
44245
|
if (!this.isValid())
|
|
44245
44246
|
return te.invalidDate || v;
|
|
44246
|
-
var ue =
|
|
44247
|
+
var ue = F || "YYYY-MM-DDTHH:mm:ssZ", R = Z.z(this), ae = this.$H, Ae = this.$m, N = this.$M, Pe = te.weekdays, Fe = te.months, Ne = te.meridiem, Ge = function(Oe, Se, Le, Ce) {
|
|
44247
44248
|
return Oe && (Oe[Se] || Oe(G, ue)) || Le[Se].slice(0, Ce);
|
|
44248
44249
|
}, nt = function(Oe) {
|
|
44249
44250
|
return Z.s(ae % 12 || 12, Oe, "0");
|
|
@@ -44308,8 +44309,8 @@ var sM = { exports: {} };
|
|
|
44308
44309
|
});
|
|
44309
44310
|
}, H.utcOffset = function() {
|
|
44310
44311
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
44311
|
-
}, H.diff = function(
|
|
44312
|
-
var ue, R = this, ae = Z.p(G), Ae = D(
|
|
44312
|
+
}, H.diff = function(F, G, te) {
|
|
44313
|
+
var ue, R = this, ae = Z.p(G), Ae = D(F), N = (Ae.utcOffset() - this.utcOffset()) * r, Pe = this - Ae, Fe = function() {
|
|
44313
44314
|
return Z.m(R, Ae);
|
|
44314
44315
|
};
|
|
44315
44316
|
switch (ae) {
|
|
@@ -44345,10 +44346,10 @@ var sM = { exports: {} };
|
|
|
44345
44346
|
return this.endOf(p).$D;
|
|
44346
44347
|
}, H.$locale = function() {
|
|
44347
44348
|
return T[this.$L];
|
|
44348
|
-
}, H.locale = function(
|
|
44349
|
-
if (!
|
|
44349
|
+
}, H.locale = function(F, G) {
|
|
44350
|
+
if (!F)
|
|
44350
44351
|
return this.$L;
|
|
44351
|
-
var te = this.clone(), ue = q(
|
|
44352
|
+
var te = this.clone(), ue = q(F, G, !0);
|
|
44352
44353
|
return ue && (te.$L = ue), te;
|
|
44353
44354
|
}, H.clone = function() {
|
|
44354
44355
|
return Z.w(this.$d, this);
|
|
@@ -44368,7 +44369,7 @@ var sM = { exports: {} };
|
|
|
44368
44369
|
};
|
|
44369
44370
|
}), D.extend = function(K, H) {
|
|
44370
44371
|
return K.$i || (K(H, ne, D), K.$i = !0), D;
|
|
44371
|
-
}, D.locale = q, D.isDayjs =
|
|
44372
|
+
}, D.locale = q, D.isDayjs = L, D.unix = function(K) {
|
|
44372
44373
|
return D(1e3 * K);
|
|
44373
44374
|
}, D.en = T[C], D.Ls = T, D.p = {}, D;
|
|
44374
44375
|
});
|
|
@@ -44435,28 +44436,28 @@ function iCe(e, t = !1) {
|
|
|
44435
44436
|
return n.isToday() ? t ? `Today • ${n.format(r)}` : "Today" : n.isYesterday() ? t ? `Yesterday • ${n.format(r)}` : "Yesterday" : t ? n.format(`YYYY-MM-DD • ${r}`) : n.format("YYYY-MM-DD");
|
|
44436
44437
|
}
|
|
44437
44438
|
const GT = 10 * 1e3, oCe = Os(({ scrollDownButton: e, ...t }) => {
|
|
44438
|
-
var S, A, C, T, M,
|
|
44439
|
-
const { messageList: n } = rt((
|
|
44439
|
+
var S, A, C, T, M, L, q, D, Z, ne, J, K, H;
|
|
44440
|
+
const { messageList: n } = rt((F) => F.theme), r = rt((F) => F.messages), i = rt((F) => F.setState), o = rt((F) => F.on), a = rt((F) => F.getClientId)(), s = rt((F) => F.configuration), l = rt((F) => F.messageContainerRef), c = rt((F) => F.isTyping), f = rt((F) => F.setIsTyping), p = hs(() => rCe(r), [r]), [m, h] = ut(!0), { y: g } = K_e(l), [v, x] = Y_e(), _ = () => {
|
|
44440
44441
|
if (!l.current)
|
|
44441
44442
|
return;
|
|
44442
|
-
const { scrollHeight:
|
|
44443
|
-
m && l.current.scrollTo({ top:
|
|
44443
|
+
const { scrollHeight: F } = l.current;
|
|
44444
|
+
m && l.current.scrollTo({ top: F });
|
|
44444
44445
|
};
|
|
44445
44446
|
tt(() => {
|
|
44446
|
-
const
|
|
44447
|
-
r.length > 0 && r[r.length - 1].timestamp <
|
|
44447
|
+
const F = new Date(Date.now() - GT + 2e3);
|
|
44448
|
+
r.length > 0 && r[r.length - 1].timestamp < F && f(!1);
|
|
44448
44449
|
}, [v]), tt(() => o("messageSent", () => {
|
|
44449
44450
|
f(!0), x(new Date(Date.now() + GT));
|
|
44450
44451
|
}), []), tt(() => o("message", () => {
|
|
44451
44452
|
f(!1);
|
|
44452
44453
|
}), []), tt(() => {
|
|
44453
|
-
const
|
|
44454
|
-
i({ disableComposer: !!(
|
|
44454
|
+
const F = r[r.length - 1];
|
|
44455
|
+
i({ disableComposer: !!(F != null && F.disableInput) });
|
|
44455
44456
|
}, [r.length]), tt(() => {
|
|
44456
44457
|
if (!l.current)
|
|
44457
44458
|
return;
|
|
44458
|
-
const { offsetHeight:
|
|
44459
|
-
h(G <= te +
|
|
44459
|
+
const { offsetHeight: F, scrollHeight: G, scrollTop: te } = l.current;
|
|
44460
|
+
h(G <= te + F + 100);
|
|
44460
44461
|
}, [g]);
|
|
44461
44462
|
const w = e != null && e.icon ? e == null ? void 0 : e.icon : Sxe;
|
|
44462
44463
|
return /* @__PURE__ */ Q.jsxs(VTe, { ...(S = n == null ? void 0 : n.scrollbar) == null ? void 0 : S.container, scrollHideDelay: 300, type: "hover", children: [
|
|
@@ -44464,11 +44465,11 @@ const GT = 10 * 1e3, oCe = Os(({ scrollDownButton: e, ...t }) => {
|
|
|
44464
44465
|
/* @__PURE__ */ Q.jsxs("li", { ...(C = n == null ? void 0 : n.marquee) == null ? void 0 : C.container, children: [
|
|
44465
44466
|
/* @__PURE__ */ Q.jsx(uP, { userId: a, src: s.botAvatar, ...(T = n == null ? void 0 : n.marquee) == null ? void 0 : T.avatar, children: (s.botName || "Bot").slice(0, 1) }),
|
|
44466
44467
|
/* @__PURE__ */ Q.jsxs("div", { ...(M = n == null ? void 0 : n.marquee) == null ? void 0 : M.content, children: [
|
|
44467
|
-
/* @__PURE__ */ Q.jsx("h1", { ...(
|
|
44468
|
+
/* @__PURE__ */ Q.jsx("h1", { ...(L = n == null ? void 0 : n.marquee) == null ? void 0 : L.title, children: s.botName || "Bot" }),
|
|
44468
44469
|
/* @__PURE__ */ Q.jsx("p", { ...(q = n == null ? void 0 : n.marquee) == null ? void 0 : q.description, children: s.botDescription })
|
|
44469
44470
|
] })
|
|
44470
44471
|
] }),
|
|
44471
|
-
p.map((
|
|
44472
|
+
p.map((F, G) => /* @__PURE__ */ Q.jsx(HT, { scroll: _, ...F }, G)),
|
|
44472
44473
|
c && /* @__PURE__ */ Q.jsx(HT, { scroll: _, direction: "incoming", children: /* @__PURE__ */ Q.jsx(TTe, {}) }),
|
|
44473
44474
|
/* @__PURE__ */ Q.jsx("li", { "data-is-at-bottom": m, ...(D = n == null ? void 0 : n.scrollDownButton) == null ? void 0 : D.container, children: !!r.length && /* @__PURE__ */ Q.jsxs(
|
|
44474
44475
|
"button",
|
|
@@ -44477,8 +44478,8 @@ const GT = 10 * 1e3, oCe = Os(({ scrollDownButton: e, ...t }) => {
|
|
|
44477
44478
|
"data-is-at-bottom": m,
|
|
44478
44479
|
...(Z = n == null ? void 0 : n.scrollDownButton) == null ? void 0 : Z.button,
|
|
44479
44480
|
onClick: () => {
|
|
44480
|
-
var
|
|
44481
|
-
return (G = l.current) == null ? void 0 : G.scrollBy({ top: (
|
|
44481
|
+
var F, G;
|
|
44482
|
+
return (G = l.current) == null ? void 0 : G.scrollBy({ top: (F = l.current) == null ? void 0 : F.scrollHeight });
|
|
44482
44483
|
},
|
|
44483
44484
|
children: [
|
|
44484
44485
|
(e == null ? void 0 : e.text) ?? "Back",
|