lr-chatbot 0.23.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{chatbot-Bzc51Q7f.js → chatbot-Bo5XYKzS.js} +20 -18
- package/chatbot-Bo5XYKzS.js.map +1 -0
- package/custom-elements.json +1 -1
- package/index.js +588 -577
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/chatbot-Bzc51Q7f.js.map +0 -1
package/index.js
CHANGED
|
@@ -68,9 +68,9 @@ function Ga(t) {
|
|
|
68
68
|
r.set(n, i);
|
|
69
69
|
}
|
|
70
70
|
function i() {
|
|
71
|
-
return ih(n, arguments,
|
|
71
|
+
return ih(n, arguments, nr(this).constructor);
|
|
72
72
|
}
|
|
73
|
-
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }),
|
|
73
|
+
return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), rr(i, n);
|
|
74
74
|
}, Ga(t);
|
|
75
75
|
}
|
|
76
76
|
function ih(t, r, e) {
|
|
@@ -78,7 +78,7 @@ function ih(t, r, e) {
|
|
|
78
78
|
var n = [null];
|
|
79
79
|
n.push.apply(n, r);
|
|
80
80
|
var i = new (t.bind.apply(t, n))();
|
|
81
|
-
return e &&
|
|
81
|
+
return e && rr(i, e.prototype), i;
|
|
82
82
|
}
|
|
83
83
|
function ah(t) {
|
|
84
84
|
try {
|
|
@@ -88,14 +88,14 @@ function ah(t) {
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
function q(t, r, e) {
|
|
91
|
-
return r =
|
|
91
|
+
return r = nr(r), sh(t, ks() ? Reflect.construct(r, e || [], nr(t).constructor) : r.apply(t, e));
|
|
92
92
|
}
|
|
93
93
|
function sh(t, r) {
|
|
94
94
|
if (r && (z(r) == "object" || typeof r == "function")) return r;
|
|
95
95
|
if (r !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
96
|
-
return
|
|
96
|
+
return tr(t);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function tr(t) {
|
|
99
99
|
if (t === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
100
100
|
return t;
|
|
101
101
|
}
|
|
@@ -109,19 +109,19 @@ function ks() {
|
|
|
109
109
|
return !!t;
|
|
110
110
|
})();
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function nr(t) {
|
|
113
|
+
return nr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
114
114
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
115
|
-
},
|
|
115
|
+
}, nr(t);
|
|
116
116
|
}
|
|
117
117
|
function V(t, r) {
|
|
118
118
|
if (typeof r != "function" && r !== null) throw new TypeError("Super expression must either be null or a function");
|
|
119
|
-
t.prototype = Object.create(r && r.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), r &&
|
|
119
|
+
t.prototype = Object.create(r && r.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), r && rr(t, r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
return
|
|
121
|
+
function rr(t, r) {
|
|
122
|
+
return rr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
|
|
123
123
|
return e.__proto__ = n, e;
|
|
124
|
-
},
|
|
124
|
+
}, rr(t, r);
|
|
125
125
|
}
|
|
126
126
|
function m() {
|
|
127
127
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
@@ -212,7 +212,7 @@ function m() {
|
|
|
212
212
|
for (P.method = W, P.arg = j; ; ) {
|
|
213
213
|
var ie = P.delegate;
|
|
214
214
|
if (ie) {
|
|
215
|
-
var ue =
|
|
215
|
+
var ue = Ie(ie, P);
|
|
216
216
|
if (ue) {
|
|
217
217
|
if (ue === y) continue;
|
|
218
218
|
return ue;
|
|
@@ -233,9 +233,9 @@ function m() {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Ie(F, A) {
|
|
237
237
|
var P = A.method, B = F.iterator[P];
|
|
238
|
-
if (B === t) return A.delegate = null, P === "throw" && F.iterator.return && (A.method = "return", A.arg = t,
|
|
238
|
+
if (B === t) return A.delegate = null, P === "throw" && F.iterator.return && (A.method = "return", A.arg = t, Ie(F, A), A.method === "throw") || P !== "return" && (A.method = "throw", A.arg = new TypeError("The iterator does not provide a '" + P + "' method")), y;
|
|
239
239
|
var W = d(B, F.iterator, A.arg);
|
|
240
240
|
if (W.type === "throw") return A.method = "throw", A.arg = W.arg, A.delegate = null, y;
|
|
241
241
|
var j = W.arg;
|
|
@@ -608,9 +608,9 @@ Jc.DEFAULT_COMPONENT_STYLE = {
|
|
|
608
608
|
};
|
|
609
609
|
var la = Jc, ke = /* @__PURE__ */ function(t) {
|
|
610
610
|
return t.ESCAPE = "Escape", t.ENTER = "Enter", t.TAB = "Tab", t.ARROW_UP = "ArrowUp", t.ARROW_DOWN = "ArrowDown", t.ARROW_RIGHT = "ArrowRight", t.ARROW_LEFT = "ArrowLeft", t.BACKSPACE = "Backspace", t.DELETE = "Delete", t.META = "Meta", t.CONTROL = "Control", t;
|
|
611
|
-
}(ke || {}),
|
|
611
|
+
}(ke || {}), Pr, mn = (Pr = /* @__PURE__ */ k(function t() {
|
|
612
612
|
w(this, t);
|
|
613
|
-
}),
|
|
613
|
+
}), Pr.IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), Pr.IS_CHROMIUM = window.chrome, Pr), Zc = /* @__PURE__ */ function() {
|
|
614
614
|
function t() {
|
|
615
615
|
w(this, t);
|
|
616
616
|
}
|
|
@@ -758,7 +758,7 @@ var uh = Zc, dh = /* @__PURE__ */ function() {
|
|
|
758
758
|
}]);
|
|
759
759
|
}();
|
|
760
760
|
Ja.TEXT_INPUT_ID = "text-input", Ja.PLACEHOLDER_TEXT_CLASS = "text-input-placeholder";
|
|
761
|
-
var
|
|
761
|
+
var ir = Ja, Yc = /* @__PURE__ */ function() {
|
|
762
762
|
function t() {
|
|
763
763
|
w(this, t);
|
|
764
764
|
}
|
|
@@ -773,7 +773,7 @@ var rr = Ja, Yc = /* @__PURE__ */ function() {
|
|
|
773
773
|
}, {
|
|
774
774
|
key: "focusFromParentElement",
|
|
775
775
|
value: function(e) {
|
|
776
|
-
var n = e.querySelector("#".concat(
|
|
776
|
+
var n = e.querySelector("#".concat(ir.TEXT_INPUT_ID));
|
|
777
777
|
n && t.focusEndOfInput(n);
|
|
778
778
|
}
|
|
779
779
|
}]);
|
|
@@ -1347,9 +1347,9 @@ var J = qr, nu = /* @__PURE__ */ function() {
|
|
|
1347
1347
|
return J.fillEmptyMessageElement(u.bubbleElement, n), gn.apply(e, u.outerContainer), $e.flagHTMLUpdateClass(u.bubbleElement), e.applyCustomStyles(u, i, !1, (l = e.messageStyles) == null ? void 0 : l.html), o || t.addElement(e, u.outerContainer), u;
|
|
1348
1348
|
}
|
|
1349
1349
|
}]);
|
|
1350
|
-
}(),
|
|
1350
|
+
}(), Fr;
|
|
1351
1351
|
function ru(t) {
|
|
1352
|
-
return
|
|
1352
|
+
return Fr = Fr || document.createElement("textarea"), Fr.innerHTML = "&" + t + ";", Fr.value;
|
|
1353
1353
|
}
|
|
1354
1354
|
var wh = Object.prototype.hasOwnProperty;
|
|
1355
1355
|
function kh(t, r) {
|
|
@@ -1367,7 +1367,7 @@ function iu(t) {
|
|
|
1367
1367
|
}), t;
|
|
1368
1368
|
}
|
|
1369
1369
|
var _h = /\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;
|
|
1370
|
-
function
|
|
1370
|
+
function ar(t) {
|
|
1371
1371
|
return t.indexOf("\\") < 0 ? t : t.replace(_h, "$1");
|
|
1372
1372
|
}
|
|
1373
1373
|
function au(t) {
|
|
@@ -1416,7 +1416,7 @@ N.fence = function(t, r, e, n, i) {
|
|
|
1416
1416
|
var a = t[r], s = "", o = e.langPrefix, l = "", c, u, d;
|
|
1417
1417
|
if (a.params) {
|
|
1418
1418
|
if (c = a.params.split(/\s+/g), u = c.join(" "), kh(i.rules.fence_custom, c[0])) return i.rules.fence_custom[c[0]](t, r, e, n, i);
|
|
1419
|
-
l = Pe(Bt(
|
|
1419
|
+
l = Pe(Bt(ar(u))), s = ' class="' + o + l + '"';
|
|
1420
1420
|
}
|
|
1421
1421
|
return e.highlight ? d = e.highlight.apply(e.highlight, [a.content].concat(c)) || Pe(a.content) : d = Pe(a.content), "<pre><code" + s + ">" + d + "</code></pre>" + qt(t, r);
|
|
1422
1422
|
};
|
|
@@ -1468,7 +1468,7 @@ N.link_close = function() {
|
|
|
1468
1468
|
return "</a>";
|
|
1469
1469
|
};
|
|
1470
1470
|
N.image = function(t, r, e) {
|
|
1471
|
-
var n = ' src="' + Pe(t[r].src) + '"', i = t[r].title ? ' title="' + Pe(Bt(t[r].title)) + '"' : "", a = ' alt="' + (t[r].alt ? Pe(Bt(
|
|
1471
|
+
var n = ' src="' + Pe(t[r].src) + '"', i = t[r].title ? ' title="' + Pe(Bt(t[r].title)) + '"' : "", a = ' alt="' + (t[r].alt ? Pe(Bt(ar(t[r].alt))) : "") + '"', s = e.xhtmlOut ? " /" : "";
|
|
1472
1472
|
return "<img" + n + a + i + s + ">";
|
|
1473
1473
|
};
|
|
1474
1474
|
N.table_open = function() {
|
|
@@ -1748,7 +1748,7 @@ Vt.prototype.cacheSet = function(t, r) {
|
|
|
1748
1748
|
Vt.prototype.cacheGet = function(t) {
|
|
1749
1749
|
return t < this.cache.length ? this.cache[t] : 0;
|
|
1750
1750
|
};
|
|
1751
|
-
function
|
|
1751
|
+
function sr(t, r) {
|
|
1752
1752
|
var e, n, i, a = -1, s = t.posMax, o = t.pos, l = t.isInLabel;
|
|
1753
1753
|
if (t.isInLabel) return -1;
|
|
1754
1754
|
if (t.labelUnmatchedScopes) return t.labelUnmatchedScopes--, -1;
|
|
@@ -1762,17 +1762,17 @@ function ar(t, r) {
|
|
|
1762
1762
|
}
|
|
1763
1763
|
return n ? (a = t.pos, t.labelUnmatchedScopes = 0) : t.labelUnmatchedScopes = e - 1, t.pos = o, t.isInLabel = l, a;
|
|
1764
1764
|
}
|
|
1765
|
-
function
|
|
1765
|
+
function Ih(t, r, e, n) {
|
|
1766
1766
|
var i, a, s, o, l, c;
|
|
1767
|
-
if (t.charCodeAt(0) !== 42 || t.charCodeAt(1) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a =
|
|
1767
|
+
if (t.charCodeAt(0) !== 42 || t.charCodeAt(1) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a = sr(i, 1), a < 0 || t.charCodeAt(a + 1) !== 58)) return -1;
|
|
1768
1768
|
for (o = i.posMax, s = a + 2; s < o && i.src.charCodeAt(s) !== 10; s++) ;
|
|
1769
1769
|
return l = t.slice(2, a), c = t.slice(a + 2, s).trim(), c.length === 0 ? -1 : (n.abbreviations || (n.abbreviations = {}), z(n.abbreviations[":" + l]) > "u" && (n.abbreviations[":" + l] = c), s);
|
|
1770
1770
|
}
|
|
1771
|
-
function
|
|
1771
|
+
function Lh(t) {
|
|
1772
1772
|
var r = t.tokens, e, n, i, a;
|
|
1773
1773
|
if (!t.inlineMode) {
|
|
1774
1774
|
for (e = 1, n = r.length - 1; e < n; e++) if (r[e - 1].type === "paragraph_open" && r[e].type === "inline" && r[e + 1].type === "paragraph_close") {
|
|
1775
|
-
for (i = r[e].content; i.length && (a =
|
|
1775
|
+
for (i = r[e].content; i.length && (a = Ih(i, t.inline, t.options, t.env), !(a < 0)); ) i = i.slice(a).trim();
|
|
1776
1776
|
r[e].content = i, i.length || (r[e - 1].tight = !0, r[e + 1].tight = !0);
|
|
1777
1777
|
}
|
|
1778
1778
|
}
|
|
@@ -1790,7 +1790,7 @@ function ou(t, r) {
|
|
|
1790
1790
|
if (t.src.charCodeAt(r) === 60) {
|
|
1791
1791
|
for (r++; r < s; ) {
|
|
1792
1792
|
if (e = t.src.charCodeAt(r), e === 10) return !1;
|
|
1793
|
-
if (e === 62) return i = Qa(
|
|
1793
|
+
if (e === 62) return i = Qa(ar(t.src.slice(a + 1, r))), t.parser.validateLink(i) ? (t.pos = r + 1, t.linkContent = i, !0) : !1;
|
|
1794
1794
|
if (e === 92 && r + 1 < s) {
|
|
1795
1795
|
r += 2;
|
|
1796
1796
|
continue;
|
|
@@ -1807,13 +1807,13 @@ function ou(t, r) {
|
|
|
1807
1807
|
if (e === 40 && (n++, n > 1) || e === 41 && (n--, n < 0)) break;
|
|
1808
1808
|
r++;
|
|
1809
1809
|
}
|
|
1810
|
-
return a === r || (i =
|
|
1810
|
+
return a === r || (i = ar(t.src.slice(a, r)), !t.parser.validateLink(i)) ? !1 : (t.linkContent = i, t.pos = r, !0);
|
|
1811
1811
|
}
|
|
1812
1812
|
function lu(t, r) {
|
|
1813
1813
|
var e, n = r, i = t.posMax, a = t.src.charCodeAt(r);
|
|
1814
1814
|
if (a !== 34 && a !== 39 && a !== 40) return !1;
|
|
1815
1815
|
for (r++, a === 40 && (a = 41); r < i; ) {
|
|
1816
|
-
if (e = t.src.charCodeAt(r), e === a) return t.pos = r + 1, t.linkContent =
|
|
1816
|
+
if (e = t.src.charCodeAt(r), e === a) return t.pos = r + 1, t.linkContent = ar(t.src.slice(n + 1, r)), !0;
|
|
1817
1817
|
if (e === 92 && r + 1 < i) {
|
|
1818
1818
|
r += 2;
|
|
1819
1819
|
continue;
|
|
@@ -1827,7 +1827,7 @@ function cu(t) {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
function Mh(t, r, e, n) {
|
|
1829
1829
|
var i, a, s, o, l, c, u, d, h;
|
|
1830
|
-
if (t.charCodeAt(0) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a =
|
|
1830
|
+
if (t.charCodeAt(0) !== 91 || t.indexOf("]:") === -1 || (i = new Vt(t, r, e, n, []), a = sr(i, 0), a < 0 || t.charCodeAt(a + 1) !== 58)) return -1;
|
|
1831
1831
|
for (o = i.posMax, s = a + 2; s < o && (l = i.src.charCodeAt(s), !(l !== 32 && l !== 10)); s++) ;
|
|
1832
1832
|
if (!ou(i, s)) return -1;
|
|
1833
1833
|
for (u = i.linkContent, s = i.pos, c = s, s = s + 1; s < o && (l = i.src.charCodeAt(s), !(l !== 32 && l !== 10)); s++) ;
|
|
@@ -1985,7 +1985,7 @@ function Vh(t) {
|
|
|
1985
1985
|
}
|
|
1986
1986
|
}
|
|
1987
1987
|
}
|
|
1988
|
-
var ua = [["block", Oh], ["abbr",
|
|
1988
|
+
var ua = [["block", Oh], ["abbr", Lh], ["references", Ph], ["inline", Fh], ["footnote_tail", $h], ["abbr2", Nh], ["replacements", Uh], ["smartquotes", Vh]];
|
|
1989
1989
|
function uu() {
|
|
1990
1990
|
this.options = {}, this.ruler = new De();
|
|
1991
1991
|
for (var t = 0; t < ua.length; t++) this.ruler.push(ua[t][0], ua[t][1]);
|
|
@@ -2338,7 +2338,7 @@ function ap(t, r, e, n) {
|
|
|
2338
2338
|
level: --t.level
|
|
2339
2339
|
}), p[1] = f[1] = l, t.line = l, !0;
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function $r(t, r) {
|
|
2342
2342
|
var e, n, i = t.bMarks[r] + t.tShift[r], a = t.eMarks[r];
|
|
2343
2343
|
return i >= a || (n = t.src.charCodeAt(i++), n !== 126 && n !== 58) || (e = t.skipSpaces(i), i === e) || e >= a ? -1 : e;
|
|
2344
2344
|
}
|
|
@@ -2348,8 +2348,8 @@ function sp(t, r) {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
function op(t, r, e, n) {
|
|
2350
2350
|
var i, a, s, o, l, c, u, d, h, p, f, g, y, v;
|
|
2351
|
-
if (n) return t.ddIndent < 0 ? !1 :
|
|
2352
|
-
if (u = r + 1, t.isEmpty(u) && ++u > e || t.tShift[u] < t.blkIndent || (i =
|
|
2351
|
+
if (n) return t.ddIndent < 0 ? !1 : $r(t, r) >= 0;
|
|
2352
|
+
if (u = r + 1, t.isEmpty(u) && ++u > e || t.tShift[u] < t.blkIndent || (i = $r(t, u), i < 0) || t.level >= t.options.maxNesting) return !1;
|
|
2353
2353
|
c = t.tokens.length, t.tokens.push({
|
|
2354
2354
|
type: "dl_open",
|
|
2355
2355
|
lines: l = [r, 0],
|
|
@@ -2378,10 +2378,10 @@ function op(t, r, e, n) {
|
|
|
2378
2378
|
type: "dd_close",
|
|
2379
2379
|
level: --t.level
|
|
2380
2380
|
}), o[1] = u = t.line, u >= e || t.tShift[u] < t.blkIndent) break e;
|
|
2381
|
-
if (i =
|
|
2381
|
+
if (i = $r(t, u), i < 0) break;
|
|
2382
2382
|
a = u;
|
|
2383
2383
|
}
|
|
2384
|
-
if (u >= e || (s = u, t.isEmpty(s)) || t.tShift[s] < t.blkIndent || (a = s + 1, a >= e) || (t.isEmpty(a) && a++, a >= e) || t.tShift[a] < t.blkIndent || (i =
|
|
2384
|
+
if (u >= e || (s = u, t.isEmpty(s)) || t.tShift[s] < t.blkIndent || (a = s + 1, a >= e) || (t.isEmpty(a) && a++, a >= e) || t.tShift[a] < t.blkIndent || (i = $r(t, a), i < 0)) break;
|
|
2385
2385
|
}
|
|
2386
2386
|
return t.tokens.push({
|
|
2387
2387
|
type: "dl_close",
|
|
@@ -2416,11 +2416,11 @@ function lp(t, r) {
|
|
|
2416
2416
|
level: t.level
|
|
2417
2417
|
})), !0;
|
|
2418
2418
|
}
|
|
2419
|
-
var
|
|
2419
|
+
var Nr = [["code", Wh], ["fences", Gh, ["paragraph", "blockquote", "list"]], ["blockquote", Kh, ["paragraph", "blockquote", "list"]], ["hr", Jh, ["paragraph", "blockquote", "list"]], ["list", Yh, ["paragraph", "blockquote"]], ["footnote", Xh, ["paragraph"]], ["heading", Qh, ["paragraph", "blockquote"]], ["lheading", ep], ["htmlblock", ip, ["paragraph", "blockquote"]], ["table", ap, ["paragraph"]], ["deflist", op, ["paragraph"]], ["paragraph", lp]];
|
|
2420
2420
|
function xs() {
|
|
2421
2421
|
this.ruler = new De();
|
|
2422
|
-
for (var t = 0; t <
|
|
2423
|
-
alt: (
|
|
2422
|
+
for (var t = 0; t < Nr.length; t++) this.ruler.push(Nr[t][0], Nr[t][1], {
|
|
2423
|
+
alt: (Nr[t][2] || []).slice()
|
|
2424
2424
|
});
|
|
2425
2425
|
}
|
|
2426
2426
|
xs.prototype.tokenize = function(t, r, e) {
|
|
@@ -2593,13 +2593,13 @@ function bp(t, r) {
|
|
|
2593
2593
|
level: --t.level
|
|
2594
2594
|
})), t.pos = t.posMax + 2, t.posMax = a, !0) : (t.pos = s, !1);
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2596
|
+
function Io(t) {
|
|
2597
2597
|
return t >= 48 && t <= 57 || t >= 65 && t <= 90 || t >= 97 && t <= 122;
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2599
|
+
function Lo(t, r) {
|
|
2600
2600
|
var e = r, n, i, a, s = !0, o = !0, l = t.posMax, c = t.src.charCodeAt(r);
|
|
2601
2601
|
for (n = r > 0 ? t.src.charCodeAt(r - 1) : -1; e < l && t.src.charCodeAt(e) === c; ) e++;
|
|
2602
|
-
return e >= l && (s = !1), a = e - r, a >= 4 ? s = o = !1 : (i = e < l ? t.src.charCodeAt(e) : -1, (i === 32 || i === 10) && (s = !1), (n === 32 || n === 10) && (o = !1), c === 95 && (
|
|
2602
|
+
return e >= l && (s = !1), a = e - r, a >= 4 ? s = o = !1 : (i = e < l ? t.src.charCodeAt(e) : -1, (i === 32 || i === 10) && (s = !1), (n === 32 || n === 10) && (o = !1), c === 95 && (Io(n) && (s = !1), Io(i) && (o = !1))), {
|
|
2603
2603
|
can_open: s,
|
|
2604
2604
|
can_close: o,
|
|
2605
2605
|
delims: a
|
|
@@ -2608,11 +2608,11 @@ function Io(t, r) {
|
|
|
2608
2608
|
function wp(t, r) {
|
|
2609
2609
|
var e, n, i, a, s, o, l, c = t.posMax, u = t.pos, d = t.src.charCodeAt(u);
|
|
2610
2610
|
if (d !== 95 && d !== 42 || r) return !1;
|
|
2611
|
-
if (l =
|
|
2611
|
+
if (l = Lo(t, u), e = l.delims, !l.can_open) return t.pos += e, r || (t.pending += t.src.slice(u, t.pos)), !0;
|
|
2612
2612
|
if (t.level >= t.options.maxNesting) return !1;
|
|
2613
2613
|
for (t.pos = u + e, o = [e]; t.pos < c; ) {
|
|
2614
2614
|
if (t.src.charCodeAt(t.pos) === d) {
|
|
2615
|
-
if (l =
|
|
2615
|
+
if (l = Lo(t, t.pos), n = l.delims, l.can_close) {
|
|
2616
2616
|
for (a = o.pop(), s = n; a !== s; ) {
|
|
2617
2617
|
if (s < a) {
|
|
2618
2618
|
o.push(a - s);
|
|
@@ -2683,7 +2683,7 @@ function Cp(t, r) {
|
|
|
2683
2683
|
}
|
|
2684
2684
|
function xp(t, r) {
|
|
2685
2685
|
var e, n, i, a, s, o, l, c, u = !1, d = t.pos, h = t.posMax, p = t.pos, f = t.src.charCodeAt(p);
|
|
2686
|
-
if (f === 33 && (u = !0, f = t.src.charCodeAt(++p)), f !== 91 || t.level >= t.options.maxNesting || (e = p + 1, n =
|
|
2686
|
+
if (f === 33 && (u = !0, f = t.src.charCodeAt(++p)), f !== 91 || t.level >= t.options.maxNesting || (e = p + 1, n = sr(t, p), n < 0)) return !1;
|
|
2687
2687
|
if (o = n + 1, o < h && t.src.charCodeAt(o) === 40) {
|
|
2688
2688
|
for (o++; o < h && (c = t.src.charCodeAt(o), !(c !== 32 && c !== 10)); o++) ;
|
|
2689
2689
|
if (o >= h) return !1;
|
|
@@ -2695,7 +2695,7 @@ function xp(t, r) {
|
|
|
2695
2695
|
} else {
|
|
2696
2696
|
if (t.linkLevel > 0) return !1;
|
|
2697
2697
|
for (; o < h && (c = t.src.charCodeAt(o), !(c !== 32 && c !== 10)); o++) ;
|
|
2698
|
-
if (o < h && t.src.charCodeAt(o) === 91 && (p = o + 1, o =
|
|
2698
|
+
if (o < h && t.src.charCodeAt(o) === 91 && (p = o + 1, o = sr(t, o), o >= 0 ? i = t.src.slice(p, o++) : o = p - 1), i || (z(i) > "u" && (o = n + 1), i = t.src.slice(e, n)), l = t.env.references[cu(i)], !l) return t.pos = d, !1;
|
|
2699
2699
|
a = l.href, s = l.title;
|
|
2700
2700
|
}
|
|
2701
2701
|
return r || (t.pos = e, t.posMax = n, u ? t.push({
|
|
@@ -2716,7 +2716,7 @@ function xp(t, r) {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
function Ep(t, r) {
|
|
2718
2718
|
var e, n, i, a, s = t.posMax, o = t.pos;
|
|
2719
|
-
return o + 2 >= s || t.src.charCodeAt(o) !== 94 || t.src.charCodeAt(o + 1) !== 91 || t.level >= t.options.maxNesting || (e = o + 2, n =
|
|
2719
|
+
return o + 2 >= s || t.src.charCodeAt(o) !== 94 || t.src.charCodeAt(o + 1) !== 91 || t.level >= t.options.maxNesting || (e = o + 2, n = sr(t, o + 1), n < 0) ? !1 : (r || (t.env.footnotes || (t.env.footnotes = {}), t.env.footnotes.list || (t.env.footnotes.list = []), i = t.env.footnotes.list.length, t.pos = e, t.posMax = n, t.push({
|
|
2720
2720
|
type: "footnote_ref",
|
|
2721
2721
|
id: i,
|
|
2722
2722
|
level: t.level
|
|
@@ -2742,7 +2742,7 @@ function Ap(t, r) {
|
|
|
2742
2742
|
})), t.pos = n, t.posMax = s, !0);
|
|
2743
2743
|
}
|
|
2744
2744
|
var Tp = ["coap", "doi", "javascript", "aaa", "aaas", "about", "acap", "cap", "cid", "crid", "data", "dav", "dict", "dns", "file", "ftp", "geo", "go", "gopher", "h323", "http", "https", "iax", "icap", "im", "imap", "info", "ipp", "iris", "iris.beep", "iris.xpc", "iris.xpcs", "iris.lwz", "ldap", "mailto", "mid", "msrp", "msrps", "mtqp", "mupdate", "news", "nfs", "ni", "nih", "nntp", "opaquelocktoken", "pop", "pres", "rtsp", "service", "session", "shttp", "sieve", "sip", "sips", "sms", "snmp", "soap.beep", "soap.beeps", "tag", "tel", "telnet", "tftp", "thismessage", "tn3270", "tip", "tv", "urn", "vemmi", "ws", "wss", "xcon", "xcon-userid", "xmlrpc.beep", "xmlrpc.beeps", "xmpp", "z39.50r", "z39.50s", "adiumxtra", "afp", "afs", "aim", "apt", "attachment", "aw", "beshare", "bitcoin", "bolo", "callto", "chrome", "chrome-extension", "com-eventbrite-attendee", "content", "cvs", "dlna-playsingle", "dlna-playcontainer", "dtn", "dvb", "ed2k", "facetime", "feed", "finger", "fish", "gg", "git", "gizmoproject", "gtalk", "hcp", "icon", "ipn", "irc", "irc6", "ircs", "itms", "jar", "jms", "keyparc", "lastfm", "ldaps", "magnet", "maps", "market", "message", "mms", "ms-help", "msnim", "mumble", "mvn", "notes", "oid", "palm", "paparazzi", "platform", "proxy", "psyc", "query", "res", "resource", "rmi", "rsync", "rtmp", "secondlife", "sftp", "sgn", "skype", "smb", "soldat", "spotify", "ssh", "steam", "svn", "teamspeak", "things", "udp", "unreal", "ut2004", "ventrilo", "view-source", "webcal", "wtai", "wyciwyg", "xfire", "xri", "ymsgr"], Rp = /^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/, Op = /^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;
|
|
2745
|
-
function
|
|
2745
|
+
function Ip(t, r) {
|
|
2746
2746
|
var e, n, i, a, s, o = t.pos;
|
|
2747
2747
|
return t.src.charCodeAt(o) !== 60 || (e = t.src.slice(o), e.indexOf(">") < 0) ? !1 : (n = e.match(Op), n ? Tp.indexOf(n[1].toLowerCase()) < 0 || (a = n[0].slice(1, -1), s = Qa(a), !t.parser.validateLink(a)) ? !1 : (r || (t.push({
|
|
2748
2748
|
type: "link_open",
|
|
@@ -2773,7 +2773,7 @@ function Si(t, r) {
|
|
|
2773
2773
|
return n ? (i = i.source || i, t = t.replace(n, i), e) : new RegExp(t, r);
|
|
2774
2774
|
};
|
|
2775
2775
|
}
|
|
2776
|
-
var
|
|
2776
|
+
var Lp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Mp = /[^"'=<>`\x00-\x20]+/, Pp = /'[^']*'/, Fp = /"[^"]*"/, $p = Si(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Mp)("single_quoted", Pp)("double_quoted", Fp)(), Np = Si(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", Lp)("attr_value", $p)(), Dp = Si(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Np)(), Bp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, Hp = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, jp = /<[?].*?[?]>/, Up = /<![A-Z]+\s+[^>]*>/, zp = /<!\[CDATA\[[\s\S]*?\]\]>/, qp = Si(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Dp)("close_tag", Bp)("comment", Hp)("processing", jp)("declaration", Up)("cdata", zp)();
|
|
2777
2777
|
function Vp(t) {
|
|
2778
2778
|
var r = t | 32;
|
|
2779
2779
|
return r >= 97 && r <= 122;
|
|
@@ -2800,7 +2800,7 @@ function Jp(t, r) {
|
|
|
2800
2800
|
}
|
|
2801
2801
|
return r || (t.pending += "&"), t.pos++, !0;
|
|
2802
2802
|
}
|
|
2803
|
-
var ha = [["text", pp], ["newline", fp], ["escape", mp], ["backticks", gp], ["del", vp], ["ins", yp], ["mark", bp], ["emphasis", wp], ["sub", _p], ["sup", Cp], ["links", xp], ["footnote_inline", Ep], ["footnote_ref", Ap], ["autolink",
|
|
2803
|
+
var ha = [["text", pp], ["newline", fp], ["escape", mp], ["backticks", gp], ["del", vp], ["ins", yp], ["mark", bp], ["emphasis", wp], ["sub", _p], ["sup", Cp], ["links", xp], ["footnote_inline", Ep], ["footnote_ref", Ap], ["autolink", Ip], ["htmltag", Wp], ["entity", Jp]];
|
|
2804
2804
|
function Ci() {
|
|
2805
2805
|
this.ruler = new De();
|
|
2806
2806
|
for (var t = 0; t < ha.length; t++) this.ruler.push(ha[t][0], ha[t][1]);
|
|
@@ -3985,7 +3985,7 @@ var ye = /* @__PURE__ */ function() {
|
|
|
3985
3985
|
}]);
|
|
3986
3986
|
}();
|
|
3987
3987
|
gu.URL = "deep-chat-demo";
|
|
3988
|
-
var bt = gu,
|
|
3988
|
+
var bt = gu, or = /* @__PURE__ */ function() {
|
|
3989
3989
|
function t() {
|
|
3990
3990
|
w(this, t);
|
|
3991
3991
|
}
|
|
@@ -4301,7 +4301,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4301
4301
|
}
|
|
4302
4302
|
R.t0 = f;
|
|
4303
4303
|
case 7:
|
|
4304
|
-
v = R.t0, X.validateResponseFormat(v) ? typeof v.error == "string" ? (console.error(v.error), n.isLastMessageError() || n.addNewErrorMessage("service", v.error)) : ye.isSimulation(e.stream) ? (b =
|
|
4304
|
+
v = R.t0, X.validateResponseFormat(v) ? typeof v.error == "string" ? (console.error(v.error), n.isLastMessageError() || n.addNewErrorMessage("service", v.error)) : ye.isSimulation(e.stream) ? (b = or.stream.bind(i, e, n, o.roleToStream), _ = o.roleToStream[f.role || J.AI_ROLE], ye.upsertWFiles(n, b, _, f)) : n.addNewMessage(v) : (console.error(fe.INVALID_RESPONSE(f, "server", !!e.deepChat.responseInterceptor, v)), n.addNewErrorMessage("service", "Error in server message"));
|
|
4305
4305
|
case 9:
|
|
4306
4306
|
case "end":
|
|
4307
4307
|
return R.stop();
|
|
@@ -4381,7 +4381,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4381
4381
|
return X.processResponseByType(U);
|
|
4382
4382
|
}).then(/* @__PURE__ */ function() {
|
|
4383
4383
|
var U = S(/* @__PURE__ */ m().mark(function re(G) {
|
|
4384
|
-
var he, le,
|
|
4384
|
+
var he, le, Ie, K;
|
|
4385
4385
|
return m().wrap(function(Y) {
|
|
4386
4386
|
for (; ; ) switch (Y.prev = Y.next) {
|
|
4387
4387
|
case 0:
|
|
@@ -4399,7 +4399,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4399
4399
|
}
|
|
4400
4400
|
Y.t0 = G;
|
|
4401
4401
|
case 7:
|
|
4402
|
-
return
|
|
4402
|
+
return Ie = Y.t0, Y.next = 10, i.extractResultData(Ie, b, p);
|
|
4403
4403
|
case 10:
|
|
4404
4404
|
if (K = Y.sent, v) {
|
|
4405
4405
|
Y.next = 13;
|
|
@@ -4411,7 +4411,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4411
4411
|
Y.next = 15;
|
|
4412
4412
|
break;
|
|
4413
4413
|
}
|
|
4414
|
-
throw Error(fe.INVALID_RESPONSE(G, "response", !!i.deepChat.responseInterceptor,
|
|
4414
|
+
throw Error(fe.INVALID_RESPONSE(G, "response", !!i.deepChat.responseInterceptor, Ie));
|
|
4415
4415
|
case 15:
|
|
4416
4416
|
K.makingAnotherRequest || (ye.isSimulatable(i.stream, K) ? ye.simulate(s, i.streamHandlers, K) : (s.addNewMessage(K), y()));
|
|
4417
4417
|
case 16:
|
|
@@ -4678,7 +4678,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4678
4678
|
var i;
|
|
4679
4679
|
w(this, t);
|
|
4680
4680
|
var a, s, o, l, c;
|
|
4681
|
-
this.rawBody = {}, this.validateKeyProperty = !1, this.canSendMessage = t.canSendMessage, this.connectSettings = {}, this.fileTypes = {}, this.completionsHandlers = {}, this.streamHandlers = {}, this.deepChat = r, this.demo = n, Object.assign(this.rawBody, (a = r.connect) == null ? void 0 : a.additionalBodyProps), this.totalMessagesMaxCharLength = (s = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : s.totalMessagesMaxCharLength, this.maxMessages = (o = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : o.maxMessages, uf.set(r, this, e), r.connect && (this.connectSettings = r.connect), this.demo && ((i = (l = this.connectSettings).url) !== null && i !== void 0 || (l.url = bt.URL)), this.connectSettings.websocket &&
|
|
4681
|
+
this.rawBody = {}, this.validateKeyProperty = !1, this.canSendMessage = t.canSendMessage, this.connectSettings = {}, this.fileTypes = {}, this.completionsHandlers = {}, this.streamHandlers = {}, this.deepChat = r, this.demo = n, Object.assign(this.rawBody, (a = r.connect) == null ? void 0 : a.additionalBodyProps), this.totalMessagesMaxCharLength = (s = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : s.totalMessagesMaxCharLength, this.maxMessages = (o = r == null ? void 0 : r.requestBodyLimits) == null ? void 0 : o.maxMessages, uf.set(r, this, e), r.connect && (this.connectSettings = r.connect), this.demo && ((i = (l = this.connectSettings).url) !== null && i !== void 0 || (l.url = bt.URL)), this.connectSettings.websocket && or.setup(this), this.stream = ((c = this.deepChat.connect) == null ? void 0 : c.stream) || $e.checkForStream(this.deepChat);
|
|
4682
4682
|
}
|
|
4683
4683
|
return k(t, [{
|
|
4684
4684
|
key: "verifyKey",
|
|
@@ -4797,7 +4797,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4797
4797
|
case 2:
|
|
4798
4798
|
s = Ts.processMessages(a.messages, this.maxMessages, this.totalMessagesMaxCharLength), this.connectSettings.websocket ? (o = ne({
|
|
4799
4799
|
messages: s
|
|
4800
|
-
}, this.rawBody),
|
|
4800
|
+
}, this.rawBody), or.sendWebsocket(this, o, a, !1)) : this.callServiceAPI(a, s, i.files);
|
|
4801
4801
|
case 4:
|
|
4802
4802
|
case "end":
|
|
4803
4803
|
return c.stop();
|
|
@@ -4876,7 +4876,7 @@ var bt = gu, sr = /* @__PURE__ */ function() {
|
|
|
4876
4876
|
return o.text && (delete o.files, a.append("message".concat(s += 1), JSON.stringify(o))), a;
|
|
4877
4877
|
}
|
|
4878
4878
|
}]);
|
|
4879
|
-
}(),
|
|
4879
|
+
}(), Oe = /* @__PURE__ */ function(t) {
|
|
4880
4880
|
function r(e, n, i, a, s) {
|
|
4881
4881
|
var o;
|
|
4882
4882
|
w(this, r);
|
|
@@ -5377,7 +5377,7 @@ var Fo = Vn, $o = {
|
|
|
5377
5377
|
var n;
|
|
5378
5378
|
w(this, r);
|
|
5379
5379
|
var i, a;
|
|
5380
|
-
return n = q(this, r, [e]), n._isModelLoaded = !1, n._isModelLoading = !1, n._loadOnFirstMessage = !1, n._webModel = {}, n.permittedErrorPrefixes = [r.MULTIPLE_MODELS_ERROR, r.WEB_LLM_NOT_FOUND_ERROR, r.GENERIC_ERROR], n._conversationHistory = [], z(e.webModel) == "object" && (n._webModel = e.webModel), (i = n._webModel.load) != null && i.clearCache && r.clearAllCache(), n.findModelInWindow(e), n.canSendMessage = n.canSubmit.bind(
|
|
5380
|
+
return n = q(this, r, [e]), n._isModelLoaded = !1, n._isModelLoading = !1, n._loadOnFirstMessage = !1, n._webModel = {}, n.permittedErrorPrefixes = [r.MULTIPLE_MODELS_ERROR, r.WEB_LLM_NOT_FOUND_ERROR, r.GENERIC_ERROR], n._conversationHistory = [], z(e.webModel) == "object" && (n._webModel = e.webModel), (i = n._webModel.load) != null && i.clearCache && r.clearAllCache(), n.findModelInWindow(e), n.canSendMessage = n.canSubmit.bind(tr(n)), n._chatEl = (a = e.shadowRoot) == null ? void 0 : a.children[0], e.history && r.setUpHistory(n._conversationHistory, e.history), n;
|
|
5381
5381
|
}
|
|
5382
5382
|
return V(r, t), k(r, [{
|
|
5383
5383
|
key: "setUpMessages",
|
|
@@ -5523,8 +5523,8 @@ var Fo = Vn, $o = {
|
|
|
5523
5523
|
for (; ; ) switch (G.prev = G.next) {
|
|
5524
5524
|
case 0:
|
|
5525
5525
|
return this.scrollToTop(), r.chat = a, this._isModelLoading = !0, g = ((l = this._webModel.introMessage) == null ? void 0 : l.displayed) === !1, y = function(le) {
|
|
5526
|
-
var
|
|
5527
|
-
(
|
|
5526
|
+
var Ie;
|
|
5527
|
+
(Ie = o._messages) == null || Ie.addNewMessage({
|
|
5528
5528
|
html: "<div>".concat(le.text, "</div>"),
|
|
5529
5529
|
overwrite: !0,
|
|
5530
5530
|
sendUpdate: !1
|
|
@@ -5909,7 +5909,7 @@ var Rs = dn, No = /* @__PURE__ */ function() {
|
|
|
5909
5909
|
return n;
|
|
5910
5910
|
}()
|
|
5911
5911
|
}]);
|
|
5912
|
-
}(
|
|
5912
|
+
}(Oe);
|
|
5913
5913
|
yu.URL_PREFIX = "https://api-inference.huggingface.co/models/";
|
|
5914
5914
|
var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
5915
5915
|
function r(e, n, i, a, s, o) {
|
|
@@ -6049,7 +6049,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6049
6049
|
return n;
|
|
6050
6050
|
}()
|
|
6051
6051
|
}]);
|
|
6052
|
-
}(Os),
|
|
6052
|
+
}(Os), yr = "data:image/png;base64,", _t = /* @__PURE__ */ function() {
|
|
6053
6053
|
function t() {
|
|
6054
6054
|
w(this, t);
|
|
6055
6055
|
}
|
|
@@ -6083,7 +6083,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6083
6083
|
return w(this, r), o = q(this, r, [e, n, i, a, s]), o.insertKeyPlaceholderText = "Stability AI API Key", o.keyHelpUrl = "https://platform.stability.ai/docs/getting-started/authentication", o.permittedErrorPrefixes = ["Incorrect", "invalid_"], o;
|
|
6084
6084
|
}
|
|
6085
6085
|
return V(r, t), k(r);
|
|
6086
|
-
}(
|
|
6086
|
+
}(Oe), bf = /* @__PURE__ */ function(t) {
|
|
6087
6087
|
function r(e) {
|
|
6088
6088
|
var n;
|
|
6089
6089
|
w(this, r);
|
|
@@ -6160,7 +6160,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6160
6160
|
return o.abrupt("return", {
|
|
6161
6161
|
files: a.artifacts.map(function(l) {
|
|
6162
6162
|
return {
|
|
6163
|
-
src: "".concat(
|
|
6163
|
+
src: "".concat(yr).concat(l.base64),
|
|
6164
6164
|
type: "image"
|
|
6165
6165
|
};
|
|
6166
6166
|
})
|
|
@@ -6264,7 +6264,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6264
6264
|
return o.abrupt("return", {
|
|
6265
6265
|
files: a.artifacts.map(function(l) {
|
|
6266
6266
|
return {
|
|
6267
|
-
src: "".concat(
|
|
6267
|
+
src: "".concat(yr).concat(l.base64),
|
|
6268
6268
|
type: "image"
|
|
6269
6269
|
};
|
|
6270
6270
|
})
|
|
@@ -6601,7 +6601,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6601
6601
|
return o.abrupt("return", {
|
|
6602
6602
|
files: a.artifacts.map(function(l) {
|
|
6603
6603
|
return {
|
|
6604
|
-
src: "".concat(
|
|
6604
|
+
src: "".concat(yr).concat(l.base64),
|
|
6605
6605
|
type: "image"
|
|
6606
6606
|
};
|
|
6607
6607
|
})
|
|
@@ -6725,7 +6725,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6725
6725
|
return o.abrupt("return", {
|
|
6726
6726
|
files: a.artifacts.map(function(l) {
|
|
6727
6727
|
return {
|
|
6728
|
-
src: "".concat(
|
|
6728
|
+
src: "".concat(yr).concat(l.base64),
|
|
6729
6729
|
type: "image"
|
|
6730
6730
|
};
|
|
6731
6731
|
})
|
|
@@ -6824,13 +6824,13 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6824
6824
|
};
|
|
6825
6825
|
}
|
|
6826
6826
|
}]);
|
|
6827
|
-
}(),
|
|
6827
|
+
}(), Is = /* @__PURE__ */ function(t) {
|
|
6828
6828
|
function r(e, n, i, a, s) {
|
|
6829
6829
|
var o;
|
|
6830
6830
|
return w(this, r), o = q(this, r, [e, Do.buildKeyVerificationDetails(), Do.buildHeaders, s]), o.insertKeyPlaceholderText = "Cohere API Key", o.keyHelpUrl = "https://dashboard.cohere.ai/api-keys", o.permittedErrorPrefixes = ["invalid"], o.url = n, o.textInputPlaceholderText = i, a && z(a) == "object" && Object.assign(o.rawBody, a), o;
|
|
6831
6831
|
}
|
|
6832
6832
|
return V(r, t), k(r);
|
|
6833
|
-
}(
|
|
6833
|
+
}(Oe), Of = /* @__PURE__ */ function(t) {
|
|
6834
6834
|
function r(e) {
|
|
6835
6835
|
w(this, r);
|
|
6836
6836
|
var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : i.textGeneration, o = (a = e.directConnection) == null ? void 0 : a.cohere;
|
|
@@ -6899,7 +6899,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6899
6899
|
return n;
|
|
6900
6900
|
}()
|
|
6901
6901
|
}]);
|
|
6902
|
-
}(
|
|
6902
|
+
}(Is), If = /* @__PURE__ */ function(t) {
|
|
6903
6903
|
function r(e) {
|
|
6904
6904
|
w(this, r);
|
|
6905
6905
|
var n, i, a, s = (i = (n = e.directConnection) == null ? void 0 : n.cohere) == null ? void 0 : i.summarization, o = (a = e.directConnection) == null ? void 0 : a.cohere;
|
|
@@ -6967,7 +6967,7 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
6967
6967
|
return n;
|
|
6968
6968
|
}()
|
|
6969
6969
|
}]);
|
|
6970
|
-
}(
|
|
6970
|
+
}(Is), Ae = /* @__PURE__ */ function() {
|
|
6971
6971
|
function t() {
|
|
6972
6972
|
w(this, t);
|
|
6973
6973
|
}
|
|
@@ -7115,9 +7115,9 @@ var Gt = yu, Os = /* @__PURE__ */ function(t) {
|
|
|
7115
7115
|
return n;
|
|
7116
7116
|
}()
|
|
7117
7117
|
}]);
|
|
7118
|
-
}(
|
|
7118
|
+
}(Oe);
|
|
7119
7119
|
as.DEFAULT_MODEL = "tts-1", as.DEFAULT_VOIDE = "alloy";
|
|
7120
|
-
var
|
|
7120
|
+
var Lf = as, Wr = /* @__PURE__ */ function(t) {
|
|
7121
7121
|
function r(e) {
|
|
7122
7122
|
var n, i;
|
|
7123
7123
|
w(this, r);
|
|
@@ -7222,7 +7222,7 @@ var If = as, Wr = /* @__PURE__ */ function(t) {
|
|
|
7222
7222
|
}), a;
|
|
7223
7223
|
}
|
|
7224
7224
|
}]);
|
|
7225
|
-
}(
|
|
7225
|
+
}(Oe);
|
|
7226
7226
|
Wr.AUDIO_TRANSCRIPTIONS_URL = "https://api.openai.com/v1/audio/transcriptions", Wr.AUDIO_TRANSLATIONS_URL = "https://api.openai.com/v1/audio/translations", Wr.DEFAULT_MODEL = "whisper-1";
|
|
7227
7227
|
var Mf = Wr, Ht = /* @__PURE__ */ function() {
|
|
7228
7228
|
function t() {
|
|
@@ -7331,7 +7331,7 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
|
|
|
7331
7331
|
"https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", o.permittedErrorPrefixes = ["Access"], o;
|
|
7332
7332
|
}
|
|
7333
7333
|
return V(r, t), k(r);
|
|
7334
|
-
}(
|
|
7334
|
+
}(Oe), Ff = /* @__PURE__ */ function(t) {
|
|
7335
7335
|
function r(e) {
|
|
7336
7336
|
var n, i;
|
|
7337
7337
|
w(this, r);
|
|
@@ -7646,14 +7646,14 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
|
|
|
7646
7646
|
return !!(i != null && i[0]);
|
|
7647
7647
|
}
|
|
7648
7648
|
}]);
|
|
7649
|
-
}(
|
|
7649
|
+
}(Oe), bu = /* @__PURE__ */ function(t) {
|
|
7650
7650
|
function r(e, n, i, a, s) {
|
|
7651
7651
|
var o;
|
|
7652
7652
|
return w(this, r), o = q(this, r, [e, Ht.buildSpeechKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Speech Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
|
|
7653
7653
|
"https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", o;
|
|
7654
7654
|
}
|
|
7655
7655
|
return V(r, t), k(r);
|
|
7656
|
-
}(
|
|
7656
|
+
}(Oe), wu = /* @__PURE__ */ function(t) {
|
|
7657
7657
|
function r(e) {
|
|
7658
7658
|
var n, i, a, s;
|
|
7659
7659
|
w(this, r);
|
|
@@ -7893,7 +7893,7 @@ var Df = ku, Bf = /* @__PURE__ */ function(t) {
|
|
|
7893
7893
|
return n;
|
|
7894
7894
|
}()
|
|
7895
7895
|
}]);
|
|
7896
|
-
}(
|
|
7896
|
+
}(Oe), ss = /* @__PURE__ */ function() {
|
|
7897
7897
|
function t() {
|
|
7898
7898
|
w(this, t);
|
|
7899
7899
|
}
|
|
@@ -8187,7 +8187,7 @@ var Df = ku, Bf = /* @__PURE__ */ function(t) {
|
|
|
8187
8187
|
}]);
|
|
8188
8188
|
}();
|
|
8189
8189
|
ss.FILES_WITH_TEXT_ERROR = "content with type `text` must have `text` values", ss.FUNCTION_TOOL_RESP_ERROR = "Response must contain an array of strings for each individual function/tool_call, see https://deepchat.dev/docs/directConnection/OpenAI/#assistant-functions.";
|
|
8190
|
-
var
|
|
8190
|
+
var Lt = ss, Gr = /* @__PURE__ */ function(t) {
|
|
8191
8191
|
function r(e) {
|
|
8192
8192
|
var n, i, a;
|
|
8193
8193
|
w(this, r);
|
|
@@ -8318,7 +8318,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8318
8318
|
h.next = 19;
|
|
8319
8319
|
break;
|
|
8320
8320
|
}
|
|
8321
|
-
return h.next = 16,
|
|
8321
|
+
return h.next = 16, Lt.storeFiles(this, a, o);
|
|
8322
8322
|
case 16:
|
|
8323
8323
|
h.t1 = h.sent, h.next = 20;
|
|
8324
8324
|
break;
|
|
@@ -8390,7 +8390,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8390
8390
|
u.next = 6;
|
|
8391
8391
|
break;
|
|
8392
8392
|
}
|
|
8393
|
-
throw a.error.message.startsWith(
|
|
8393
|
+
throw a.error.message.startsWith(Lt.FILES_WITH_TEXT_ERROR) ? Error("Please send text with your file(s)") : a.error.message;
|
|
8394
8394
|
case 6:
|
|
8395
8395
|
return u.next = 8, this.assignThreadAndRun(a);
|
|
8396
8396
|
case 8:
|
|
@@ -8458,7 +8458,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8458
8458
|
case 9:
|
|
8459
8459
|
c = h.sent;
|
|
8460
8460
|
case 10:
|
|
8461
|
-
return h.abrupt("return",
|
|
8461
|
+
return h.abrupt("return", Lt.processAPIMessages(this, c, s));
|
|
8462
8462
|
case 11:
|
|
8463
8463
|
case "end":
|
|
8464
8464
|
return h.stop();
|
|
@@ -8546,7 +8546,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8546
8546
|
d.next = 5;
|
|
8547
8547
|
break;
|
|
8548
8548
|
}
|
|
8549
|
-
throw Error(
|
|
8549
|
+
throw Error(Lt.FUNCTION_TOOL_RESP_ERROR);
|
|
8550
8550
|
case 5:
|
|
8551
8551
|
return d.next = 7, Promise.all(o);
|
|
8552
8552
|
case 7:
|
|
@@ -8556,7 +8556,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8556
8556
|
d.next = 10;
|
|
8557
8557
|
break;
|
|
8558
8558
|
}
|
|
8559
|
-
throw Error(
|
|
8559
|
+
throw Error(Lt.FUNCTION_TOOL_RESP_ERROR);
|
|
8560
8560
|
case 10:
|
|
8561
8561
|
if (c = l.map(function(h, p) {
|
|
8562
8562
|
return {
|
|
@@ -8649,7 +8649,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8649
8649
|
}
|
|
8650
8650
|
return h = a.content.find(function(b) {
|
|
8651
8651
|
return !!b.text;
|
|
8652
|
-
}) || a.content[0], p =
|
|
8652
|
+
}) || a.content[0], p = Lt.getFilesAndText.bind(this, this, {
|
|
8653
8653
|
role: "assistant",
|
|
8654
8654
|
content: a.content
|
|
8655
8655
|
}, h), v.abrupt("return", ((o = this.messageStream) == null || o.endStreamAfterFileDownloaded(this.messages, p), {
|
|
@@ -8670,7 +8670,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8670
8670
|
v.next = 13;
|
|
8671
8671
|
break;
|
|
8672
8672
|
}
|
|
8673
|
-
return v.next = 11,
|
|
8673
|
+
return v.next = 11, Lt.processStreamMessages(this, a.delta.content);
|
|
8674
8674
|
case 11:
|
|
8675
8675
|
return g = v.sent, v.abrupt("return", {
|
|
8676
8676
|
text: g[0].text,
|
|
@@ -8759,7 +8759,7 @@ var It = ss, Gr = /* @__PURE__ */ function(t) {
|
|
|
8759
8759
|
};
|
|
8760
8760
|
}
|
|
8761
8761
|
}]);
|
|
8762
|
-
}(
|
|
8762
|
+
}(Oe);
|
|
8763
8763
|
Gr.THREAD_PREFIX = "https://api.openai.com/v1/threads", Gr.NEW_ASSISTANT_URL = "https://api.openai.com/v1/assistants", Gr.POLLING_TIMEOUT_MS = 800;
|
|
8764
8764
|
var Hf = Gr, Kr = /* @__PURE__ */ function(t) {
|
|
8765
8765
|
function r(e) {
|
|
@@ -8868,7 +8868,7 @@ var Hf = Gr, Kr = /* @__PURE__ */ function(t) {
|
|
|
8868
8868
|
src: l.url,
|
|
8869
8869
|
type: "image"
|
|
8870
8870
|
} : {
|
|
8871
|
-
src: "".concat(
|
|
8871
|
+
src: "".concat(yr).concat(l.b64_json),
|
|
8872
8872
|
type: "image"
|
|
8873
8873
|
};
|
|
8874
8874
|
})
|
|
@@ -8907,7 +8907,7 @@ var Hf = Gr, Kr = /* @__PURE__ */ function(t) {
|
|
|
8907
8907
|
}), s;
|
|
8908
8908
|
}
|
|
8909
8909
|
}]);
|
|
8910
|
-
}(
|
|
8910
|
+
}(Oe);
|
|
8911
8911
|
Kr.IMAGE_GENERATION_URL = "https://api.openai.com/v1/images/generations", Kr.IMAGE_VARIATIONS_URL = "https://api.openai.com/v1/images/variations", Kr.IMAGE_EDIT_URL = "https://api.openai.com/v1/images/edits";
|
|
8912
8912
|
var jf = Kr, Uf = /* @__PURE__ */ function(t) {
|
|
8913
8913
|
function r(e) {
|
|
@@ -9155,7 +9155,7 @@ var jf = Kr, Uf = /* @__PURE__ */ function(t) {
|
|
|
9155
9155
|
return n.text;
|
|
9156
9156
|
}
|
|
9157
9157
|
}]);
|
|
9158
|
-
}(
|
|
9158
|
+
}(Oe), zf = /* @__PURE__ */ function(t) {
|
|
9159
9159
|
function r(e) {
|
|
9160
9160
|
var n, i;
|
|
9161
9161
|
w(this, r);
|
|
@@ -9229,7 +9229,7 @@ var jf = Kr, Uf = /* @__PURE__ */ function(t) {
|
|
|
9229
9229
|
return n;
|
|
9230
9230
|
}()
|
|
9231
9231
|
}]);
|
|
9232
|
-
}(
|
|
9232
|
+
}(Is), Bo = /* @__PURE__ */ function() {
|
|
9233
9233
|
function t() {
|
|
9234
9234
|
w(this, t);
|
|
9235
9235
|
}
|
|
@@ -9339,7 +9339,7 @@ var jf = Kr, Uf = /* @__PURE__ */ function(t) {
|
|
|
9339
9339
|
return n;
|
|
9340
9340
|
}()
|
|
9341
9341
|
}]);
|
|
9342
|
-
}(
|
|
9342
|
+
}(Oe), Vf = /* @__PURE__ */ function() {
|
|
9343
9343
|
function t() {
|
|
9344
9344
|
w(this, t);
|
|
9345
9345
|
}
|
|
@@ -9351,9 +9351,9 @@ var jf = Kr, Uf = /* @__PURE__ */ function(t) {
|
|
|
9351
9351
|
var n = e.directConnection, i = e.connect, a = e.demo, s = e.webModel;
|
|
9352
9352
|
if (s) return new Rs(e);
|
|
9353
9353
|
if (n) {
|
|
9354
|
-
if (n.openAI) return n.openAI.images ? new jf(e) : n.openAI.speechToText ? new Mf(e) : n.openAI.textToSpeech ? new
|
|
9354
|
+
if (n.openAI) return n.openAI.images ? new jf(e) : n.openAI.speechToText ? new Mf(e) : n.openAI.textToSpeech ? new Lf(e) : n.openAI.assistant ? new Hf(e) : new Uf(e);
|
|
9355
9355
|
if (n.assemblyAI) return new $f(e);
|
|
9356
|
-
if (n.cohere) return n.cohere.textGeneration ? new Of(e) : n.cohere.summarization ? new
|
|
9356
|
+
if (n.cohere) return n.cohere.textGeneration ? new Of(e) : n.cohere.summarization ? new If(e) : new zf(e);
|
|
9357
9357
|
if (n.huggingFace) return n.huggingFace.textGeneration ? new _f(e) : n.huggingFace.summarization ? new Cf(e) : n.huggingFace.translation ? new Af(e) : n.huggingFace.fillMask ? new Rf(e) : n.huggingFace.questionAnswer ? new Sf(e) : n.huggingFace.audioSpeechRecognition ? new kf(e) : n.huggingFace.audioClassification ? new vf(e) : n.huggingFace.imageClassification ? new yf(e) : new xf(e);
|
|
9358
9358
|
if (n.azure) {
|
|
9359
9359
|
if (n.azure.speechToText) return new Df(e);
|
|
@@ -10054,7 +10054,7 @@ var em = Wn, di = /* @__PURE__ */ function() {
|
|
|
10054
10054
|
t.setElementsCSS(e, n, "default"), i !== "default" && (t.setElementsCSS(e, n, "hover"), i !== "hover" && t.setElementsCSS(e, n, "click"));
|
|
10055
10055
|
}
|
|
10056
10056
|
}]);
|
|
10057
|
-
}(),
|
|
10057
|
+
}(), br = /* @__PURE__ */ function() {
|
|
10058
10058
|
function t(r, e, n, i) {
|
|
10059
10059
|
w(this, t), this._mouseState = {
|
|
10060
10060
|
state: "default"
|
|
@@ -10291,7 +10291,7 @@ var em = Wn, di = /* @__PURE__ */ function() {
|
|
|
10291
10291
|
return (a = i == null ? void 0 : i.button) != null && a.position ? (s = i == null ? void 0 : i.button) == null ? void 0 : s.position : n["outside-left"].length > 0 && n["outside-right"].length === 0 ? "outside-right" : "outside-left";
|
|
10292
10292
|
}
|
|
10293
10293
|
}]);
|
|
10294
|
-
}(
|
|
10294
|
+
}(br), im = /* @__PURE__ */ function() {
|
|
10295
10295
|
function t() {
|
|
10296
10296
|
w(this, t);
|
|
10297
10297
|
}
|
|
@@ -10497,7 +10497,7 @@ var em = Wn, di = /* @__PURE__ */ function() {
|
|
|
10497
10497
|
return n.id = "microphone-icon", n;
|
|
10498
10498
|
}
|
|
10499
10499
|
}]);
|
|
10500
|
-
}(
|
|
10500
|
+
}(br), Cu = {}, Ei = {}, Ai = {}, wr = {}, Kt = {};
|
|
10501
10501
|
Object.defineProperty(Kt, "__esModule", {
|
|
10502
10502
|
value: !0
|
|
10503
10503
|
});
|
|
@@ -10536,10 +10536,10 @@ Kt.Text = Ti;
|
|
|
10536
10536
|
Ti.FIRST_CHAR_REGEX = /\S/;
|
|
10537
10537
|
Ti.DOUBLE_LINE = /\n\n/g;
|
|
10538
10538
|
Ti.ONE_LINE = /\n/g;
|
|
10539
|
-
Object.defineProperty(
|
|
10539
|
+
Object.defineProperty(wr, "__esModule", {
|
|
10540
10540
|
value: !0
|
|
10541
10541
|
});
|
|
10542
|
-
|
|
10542
|
+
wr.Translate = void 0;
|
|
10543
10543
|
var dm = Kt, hm = /* @__PURE__ */ function() {
|
|
10544
10544
|
function t() {
|
|
10545
10545
|
w(this, t);
|
|
@@ -10552,12 +10552,12 @@ var dm = Kt, hm = /* @__PURE__ */ function() {
|
|
|
10552
10552
|
}
|
|
10553
10553
|
}]);
|
|
10554
10554
|
}();
|
|
10555
|
-
|
|
10555
|
+
wr.Translate = hm;
|
|
10556
10556
|
Object.defineProperty(Ai, "__esModule", {
|
|
10557
10557
|
value: !0
|
|
10558
10558
|
});
|
|
10559
10559
|
Ai.WebSpeechTranscript = void 0;
|
|
10560
|
-
var zo =
|
|
10560
|
+
var zo = wr, pm = /* @__PURE__ */ function() {
|
|
10561
10561
|
function t() {
|
|
10562
10562
|
w(this, t);
|
|
10563
10563
|
}
|
|
@@ -10602,7 +10602,7 @@ En.Browser = Gn;
|
|
|
10602
10602
|
Gn.IS_SAFARI = function() {
|
|
10603
10603
|
return Gn._IS_SAFARI === void 0 && (Gn._IS_SAFARI = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), Gn._IS_SAFARI;
|
|
10604
10604
|
};
|
|
10605
|
-
var
|
|
10605
|
+
var kr = {}, Ri = {};
|
|
10606
10606
|
Object.defineProperty(Ri, "__esModule", {
|
|
10607
10607
|
value: !0
|
|
10608
10608
|
});
|
|
@@ -10671,11 +10671,11 @@ var fm = /* @__PURE__ */ function() {
|
|
|
10671
10671
|
}]);
|
|
10672
10672
|
}();
|
|
10673
10673
|
Oi.PreResultUtils = fm;
|
|
10674
|
-
var
|
|
10675
|
-
Object.defineProperty(
|
|
10674
|
+
var _r = {}, Sr = {};
|
|
10675
|
+
Object.defineProperty(Sr, "__esModule", {
|
|
10676
10676
|
value: !0
|
|
10677
10677
|
});
|
|
10678
|
-
|
|
10678
|
+
Sr.AutoScroll = void 0;
|
|
10679
10679
|
var mm = /* @__PURE__ */ function() {
|
|
10680
10680
|
function t() {
|
|
10681
10681
|
w(this, t);
|
|
@@ -10711,7 +10711,7 @@ var mm = /* @__PURE__ */ function() {
|
|
|
10711
10711
|
}
|
|
10712
10712
|
}]);
|
|
10713
10713
|
}();
|
|
10714
|
-
|
|
10714
|
+
Sr.AutoScroll = mm;
|
|
10715
10715
|
var Jt = {};
|
|
10716
10716
|
Object.defineProperty(Jt, "__esModule", {
|
|
10717
10717
|
value: !0
|
|
@@ -10848,11 +10848,11 @@ var vm = /* @__PURE__ */ function() {
|
|
|
10848
10848
|
}]);
|
|
10849
10849
|
}();
|
|
10850
10850
|
Zt.Cursor = vm;
|
|
10851
|
-
Object.defineProperty(
|
|
10851
|
+
Object.defineProperty(_r, "__esModule", {
|
|
10852
10852
|
value: !0
|
|
10853
10853
|
});
|
|
10854
|
-
|
|
10855
|
-
var qo =
|
|
10854
|
+
_r.CommandUtils = void 0;
|
|
10855
|
+
var qo = Sr, ym = Jt, bm = En, Vo = Zt, Wo = Kt, wm = /* @__PURE__ */ function() {
|
|
10856
10856
|
function t() {
|
|
10857
10857
|
w(this, t);
|
|
10858
10858
|
}
|
|
@@ -10941,13 +10941,13 @@ var qo = _r, ym = Jt, bm = En, Vo = Zt, Wo = Kt, wm = /* @__PURE__ */ function()
|
|
|
10941
10941
|
}
|
|
10942
10942
|
}]);
|
|
10943
10943
|
}();
|
|
10944
|
-
|
|
10945
|
-
var
|
|
10946
|
-
Object.defineProperty(
|
|
10944
|
+
_r.CommandUtils = wm;
|
|
10945
|
+
var Ii = {};
|
|
10946
|
+
Object.defineProperty(Ii, "__esModule", {
|
|
10947
10947
|
value: !0
|
|
10948
10948
|
});
|
|
10949
|
-
|
|
10950
|
-
var km = Jt,
|
|
10949
|
+
Ii.Highlight = void 0;
|
|
10950
|
+
var km = Jt, In = Zt, _m = /* @__PURE__ */ function() {
|
|
10951
10951
|
function t() {
|
|
10952
10952
|
w(this, t);
|
|
10953
10953
|
}
|
|
@@ -10962,7 +10962,7 @@ var km = Jt, Ln = Zt, _m = /* @__PURE__ */ function() {
|
|
|
10962
10962
|
value: function(e, n) {
|
|
10963
10963
|
var i = window.getSelection();
|
|
10964
10964
|
if (i != null && i.focusNode) {
|
|
10965
|
-
var a =
|
|
10965
|
+
var a = In.Cursor.getGenericElementCursorOffset(n, i, !0), s = In.Cursor.getGenericElementCursorOffset(n, i, !1);
|
|
10966
10966
|
e.isHighlighted = a !== s;
|
|
10967
10967
|
}
|
|
10968
10968
|
}
|
|
@@ -10976,8 +10976,8 @@ var km = Jt, Ln = Zt, _m = /* @__PURE__ */ function() {
|
|
|
10976
10976
|
value: function(e, n) {
|
|
10977
10977
|
var i = window.getSelection();
|
|
10978
10978
|
if (i) {
|
|
10979
|
-
var a =
|
|
10980
|
-
i.deleteFromDocument(),
|
|
10979
|
+
var a = In.Cursor.getGenericElementCursorOffset(n, i, !0);
|
|
10980
|
+
i.deleteFromDocument(), In.Cursor.setOffsetForGeneric(n, a), e.isHighlighted = !1;
|
|
10981
10981
|
}
|
|
10982
10982
|
}
|
|
10983
10983
|
}, {
|
|
@@ -10986,18 +10986,18 @@ var km = Jt, Ln = Zt, _m = /* @__PURE__ */ function() {
|
|
|
10986
10986
|
var i = n.selectionStart, a = n.selectionEnd, s = n.value;
|
|
10987
10987
|
if (i && a) {
|
|
10988
10988
|
var o = s.substring(0, i) + s.substring(a);
|
|
10989
|
-
n.value = o,
|
|
10989
|
+
n.value = o, In.Cursor.setOffsetForPrimitive(n, i, e.autoScroll);
|
|
10990
10990
|
}
|
|
10991
10991
|
e.isHighlighted = !1;
|
|
10992
10992
|
}
|
|
10993
10993
|
}]);
|
|
10994
10994
|
}();
|
|
10995
|
-
|
|
10996
|
-
var
|
|
10997
|
-
Object.defineProperty(
|
|
10995
|
+
Ii.Highlight = _m;
|
|
10996
|
+
var Li = {};
|
|
10997
|
+
Object.defineProperty(Li, "__esModule", {
|
|
10998
10998
|
value: !0
|
|
10999
10999
|
});
|
|
11000
|
-
|
|
11000
|
+
Li.Padding = void 0;
|
|
11001
11001
|
var Sm = Jt, Go = Zt, en = Kt, Cm = /* @__PURE__ */ function() {
|
|
11002
11002
|
function t() {
|
|
11003
11003
|
w(this, t);
|
|
@@ -11049,12 +11049,12 @@ var Sm = Jt, Go = Zt, en = Kt, Cm = /* @__PURE__ */ function() {
|
|
|
11049
11049
|
}
|
|
11050
11050
|
}]);
|
|
11051
11051
|
}();
|
|
11052
|
-
|
|
11053
|
-
Object.defineProperty(
|
|
11052
|
+
Li.Padding = Cm;
|
|
11053
|
+
Object.defineProperty(kr, "__esModule", {
|
|
11054
11054
|
value: !0
|
|
11055
11055
|
});
|
|
11056
|
-
|
|
11057
|
-
var Ko = Ri, xm = Oi, Jo =
|
|
11056
|
+
kr.Speech = void 0;
|
|
11057
|
+
var Ko = Ri, xm = Oi, Jo = _r, Dr = Sr, fa = Ii, Xe = Jt, ma = Li, Zo = En, Yo = Zt, ga = Kt, Em = /* @__PURE__ */ function() {
|
|
11058
11058
|
function t() {
|
|
11059
11059
|
w(this, t), this.finalTranscript = "", this.interimSpan = Xe.Elements.createInterimSpan(), this.finalSpan = Xe.Elements.createGenericSpan(), this.scrollingSpan = Xe.Elements.createGenericSpan(), this.isCursorAtEnd = !1, this.spansPopulated = !1, this.startPadding = "", this.endPadding = "", this.numberOfSpacesBeforeNewText = 0, this.numberOfSpacesAfterNewText = 0, this.isHighlighted = !1, this.primitiveTextRecorded = !1, this.recognizing = !1, this._displayInterimResults = !0, this.insertInCursorLocation = !0, this.autoScroll = !0, this.isRestarting = !1, this.isPaused = !1, this.isWaitingForCommand = !1, this.isTargetInShadow = !1, this.cannotBeStopped = !1, this.resetState();
|
|
11060
11060
|
}
|
|
@@ -11114,7 +11114,7 @@ var Ko = Ri, xm = Oi, Jo = kr, Nr = _r, fa = Li, Xe = Jt, ma = Ii, Zo = En, Yo =
|
|
|
11114
11114
|
var s = a.length + this.numberOfSpacesAfterNewText;
|
|
11115
11115
|
Yo.Cursor.setOffsetForPrimitive(e, s, this.autoScroll);
|
|
11116
11116
|
}
|
|
11117
|
-
this.autoScroll && Zo.Browser.IS_SAFARI() && this.isCursorAtEnd &&
|
|
11117
|
+
this.autoScroll && Zo.Browser.IS_SAFARI() && this.isCursorAtEnd && Dr.AutoScroll.scrollSafariPrimitiveToEnd(e);
|
|
11118
11118
|
}
|
|
11119
11119
|
}, {
|
|
11120
11120
|
key: "updateGenericElement",
|
|
@@ -11122,10 +11122,10 @@ var Ko = Ri, xm = Oi, Jo = kr, Nr = _r, fa = Li, Xe = Jt, ma = Ii, Zo = En, Yo =
|
|
|
11122
11122
|
this.isHighlighted && fa.Highlight.removeForGeneric(this, e), this.spansPopulated || Xe.Elements.appendSpans(this, e);
|
|
11123
11123
|
var a = (i ? "" : this.startPadding) + ga.Text.lineBreak(this.finalTranscript);
|
|
11124
11124
|
this.finalSpan.innerHTML = a;
|
|
11125
|
-
var s =
|
|
11126
|
-
|
|
11125
|
+
var s = Dr.AutoScroll.isRequired(this.autoScroll, e);
|
|
11126
|
+
Dr.AutoScroll.changeStateIfNeeded(this, s);
|
|
11127
11127
|
var o = ga.Text.lineBreak(n) + (i ? "" : this.endPadding);
|
|
11128
|
-
this.interimSpan.innerHTML = o, Zo.Browser.IS_SAFARI() && this.insertInCursorLocation && Yo.Cursor.setOffsetForSafariGeneric(e, a.length + o.length), s &&
|
|
11128
|
+
this.interimSpan.innerHTML = o, Zo.Browser.IS_SAFARI() && this.insertInCursorLocation && Yo.Cursor.setOffsetForSafariGeneric(e, a.length + o.length), s && Dr.AutoScroll.scrollGeneric(this, e), i && (this.scrollingSpan.innerHTML = "");
|
|
11129
11129
|
}
|
|
11130
11130
|
}, {
|
|
11131
11131
|
key: "finalise",
|
|
@@ -11162,12 +11162,12 @@ var Ko = Ri, xm = Oi, Jo = kr, Nr = _r, fa = Li, Xe = Jt, ma = Ii, Zo = En, Yo =
|
|
|
11162
11162
|
}
|
|
11163
11163
|
}]);
|
|
11164
11164
|
}();
|
|
11165
|
-
|
|
11165
|
+
kr.Speech = Em;
|
|
11166
11166
|
Object.defineProperty(Ei, "__esModule", {
|
|
11167
11167
|
value: !0
|
|
11168
11168
|
});
|
|
11169
11169
|
Ei.WebSpeech = void 0;
|
|
11170
|
-
var Xo = Ai, Qo = En, Am =
|
|
11170
|
+
var Xo = Ai, Qo = En, Am = kr, Tm = /* @__PURE__ */ function(t) {
|
|
11171
11171
|
function r() {
|
|
11172
11172
|
return w(this, r), q(this, r);
|
|
11173
11173
|
}
|
|
@@ -11377,7 +11377,7 @@ Object.defineProperty(Bi, "__esModule", {
|
|
|
11377
11377
|
value: !0
|
|
11378
11378
|
});
|
|
11379
11379
|
Bi.AzureTranscript = void 0;
|
|
11380
|
-
var
|
|
11380
|
+
var Im = wr, Lm = /* @__PURE__ */ function() {
|
|
11381
11381
|
function t() {
|
|
11382
11382
|
w(this, t);
|
|
11383
11383
|
}
|
|
@@ -11386,7 +11386,7 @@ var Lm = br, Im = /* @__PURE__ */ function() {
|
|
|
11386
11386
|
value: (
|
|
11387
11387
|
// newText is used to only send new text in onResult as finalTranscript is continuously accumulated
|
|
11388
11388
|
function(e, n, i, a) {
|
|
11389
|
-
return a && (e =
|
|
11389
|
+
return a && (e = Im.Translate.translate(e, a)), i ? {
|
|
11390
11390
|
interimTranscript: "",
|
|
11391
11391
|
finalTranscript: n + e,
|
|
11392
11392
|
newText: e
|
|
@@ -11399,12 +11399,12 @@ var Lm = br, Im = /* @__PURE__ */ function() {
|
|
|
11399
11399
|
)
|
|
11400
11400
|
}]);
|
|
11401
11401
|
}();
|
|
11402
|
-
Bi.AzureTranscript =
|
|
11402
|
+
Bi.AzureTranscript = Lm;
|
|
11403
11403
|
Object.defineProperty(Pi, "__esModule", {
|
|
11404
11404
|
value: !0
|
|
11405
11405
|
});
|
|
11406
11406
|
Pi.Azure = void 0;
|
|
11407
|
-
var el = Fi, tl = $i, ya = Di, nl = Bi, Mm =
|
|
11407
|
+
var el = Fi, tl = $i, ya = Di, nl = Bi, Mm = kr, Pm = /* @__PURE__ */ function(t) {
|
|
11408
11408
|
function r() {
|
|
11409
11409
|
var e;
|
|
11410
11410
|
return w(this, r), e = q(this, r, arguments), e._newTextPadding = "", e;
|
|
@@ -11557,7 +11557,7 @@ Pi.Azure = Pm;
|
|
|
11557
11557
|
Object.defineProperty(Cu, "__esModule", {
|
|
11558
11558
|
value: !0
|
|
11559
11559
|
});
|
|
11560
|
-
var rl = Ei, Fm =
|
|
11560
|
+
var rl = Ei, Fm = _r, Ge = Mi, $m = Pi, Nm = /* @__PURE__ */ function() {
|
|
11561
11561
|
function t() {
|
|
11562
11562
|
w(this, t);
|
|
11563
11563
|
}
|
|
@@ -11605,7 +11605,7 @@ var rl = Ei, Fm = kr, Ge = Mi, $m = Pi, Nm = /* @__PURE__ */ function() {
|
|
|
11605
11605
|
var i = this;
|
|
11606
11606
|
this._silenceTimeout = setTimeout(function() {
|
|
11607
11607
|
var a;
|
|
11608
|
-
(a = e.submit) == null || a.call(e), Jr.stop(), i.stop || setTimeout(n,
|
|
11608
|
+
(a = e.submit) == null || a.call(e), Jr.stop(), i.stop || setTimeout(n, Ls.MICROPHONE_RESET_TIMEOUT_MS);
|
|
11609
11609
|
}, this.silenceMS);
|
|
11610
11610
|
}
|
|
11611
11611
|
}, {
|
|
@@ -11726,7 +11726,7 @@ var rl = Ei, Fm = kr, Ge = Mi, $m = Pi, Nm = /* @__PURE__ */ function() {
|
|
|
11726
11726
|
}]);
|
|
11727
11727
|
}(Su);
|
|
11728
11728
|
Tu.MICROPHONE_RESET_TIMEOUT_MS = 300;
|
|
11729
|
-
var
|
|
11729
|
+
var Ls = Tu, Ms = /* @__PURE__ */ function() {
|
|
11730
11730
|
function t(r, e, n, i) {
|
|
11731
11731
|
var a = this;
|
|
11732
11732
|
w(this, t), this._attachments = [], this._fileCountLimit = 99, this._acceptedFormat = "", e.maxNumberOfFiles && (this._fileCountLimit = e.maxNumberOfFiles), this._toggleContainerDisplay = n, this._fileAttachmentsContainerRef = i, e.acceptedFormats && (this._acceptedFormat = e.acceptedFormats), setTimeout(function() {
|
|
@@ -12232,7 +12232,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12232
12232
|
return a.id = n, a;
|
|
12233
12233
|
}
|
|
12234
12234
|
}]);
|
|
12235
|
-
}(
|
|
12235
|
+
}(br), al = /* @__PURE__ */ function() {
|
|
12236
12236
|
function t() {
|
|
12237
12237
|
w(this, t);
|
|
12238
12238
|
}
|
|
@@ -12305,7 +12305,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12305
12305
|
return m().wrap(function(p) {
|
|
12306
12306
|
for (; ; ) switch (p.prev = p.next) {
|
|
12307
12307
|
case 0:
|
|
12308
|
-
return l = a.inputElementRef, c = l.classList.contains(
|
|
12308
|
+
return l = a.inputElementRef, c = l.classList.contains(ir.PLACEHOLDER_TEXT_CLASS) ? "" : l.textContent, p.next = 3, s.completePlaceholders();
|
|
12309
12309
|
case 3:
|
|
12310
12310
|
return u = s.getAllFileData(), d = u == null ? void 0 : u.map(function(f) {
|
|
12311
12311
|
return f.file;
|
|
@@ -12347,7 +12347,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12347
12347
|
}, {
|
|
12348
12348
|
key: "validateWebsocket",
|
|
12349
12349
|
value: function(e, n) {
|
|
12350
|
-
return e.websocket && !
|
|
12350
|
+
return e.websocket && !or.canSendMessage(e.websocket) ? (n.changeToDisabledIcon(), !1) : !0;
|
|
12351
12351
|
}
|
|
12352
12352
|
// prettier-ignore
|
|
12353
12353
|
}, {
|
|
@@ -12379,7 +12379,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12379
12379
|
}();
|
|
12380
12380
|
}
|
|
12381
12381
|
}]);
|
|
12382
|
-
}(),
|
|
12382
|
+
}(), Iu = /* @__PURE__ */ function() {
|
|
12383
12383
|
function t() {
|
|
12384
12384
|
w(this, t);
|
|
12385
12385
|
}
|
|
@@ -12395,7 +12395,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12395
12395
|
var i;
|
|
12396
12396
|
w(this, r);
|
|
12397
12397
|
var a, s;
|
|
12398
|
-
return i = q(this, r, [n.button]), i._waitingForBrowserApproval = !1, i._audioType = e, i._extension = ((a = n.files) == null ? void 0 : a.format) || "mp3", i._maxDurationSeconds = (s = n.files) == null ? void 0 : s.maxDurationSeconds, i.elementRef.onclick = i.buttonClick.bind(
|
|
12398
|
+
return i = q(this, r, [n.button]), i._waitingForBrowserApproval = !1, i._audioType = e, i._extension = ((a = n.files) == null ? void 0 : a.format) || "mp3", i._maxDurationSeconds = (s = n.files) == null ? void 0 : s.maxDurationSeconds, i.elementRef.onclick = i.buttonClick.bind(tr(i)), i;
|
|
12399
12399
|
}
|
|
12400
12400
|
return V(r, t), k(r, [{
|
|
12401
12401
|
key: "buttonClick",
|
|
@@ -12436,7 +12436,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12436
12436
|
value: function(n) {
|
|
12437
12437
|
var i = this, a = new Blob([n.data], {
|
|
12438
12438
|
type: "audio/".concat(this._extension)
|
|
12439
|
-
}), s =
|
|
12439
|
+
}), s = Iu.getFileName(this._newFilePrefix || "audio", this._extension), o = new File([a], s, {
|
|
12440
12440
|
type: a.type
|
|
12441
12441
|
}), l = new FileReader();
|
|
12442
12442
|
l.readAsDataURL(o), l.onload = function(c) {
|
|
@@ -12523,9 +12523,9 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12523
12523
|
}, l._messages = i, l._inputElementRef = n, l._fileAttachments = s, l._innerElements = l.createInnerElements(), l._abortStream = new AbortController(), l._stopClicked = {
|
|
12524
12524
|
listener: function() {
|
|
12525
12525
|
}
|
|
12526
|
-
}, l._serviceIO = a, l._alwaysEnabled = !!(c != null && c.alwaysEnabled), e.disableSubmitButton = l.disableSubmitButton.bind(
|
|
12526
|
+
}, l._serviceIO = a, l._alwaysEnabled = !!(c != null && c.alwaysEnabled), e.disableSubmitButton = l.disableSubmitButton.bind(tr(l), a), l.attemptOverwriteLoadingStyle(e), o.microphone && l.setUpSpeechToText(o.microphone.button, e.speechToText), setTimeout(function() {
|
|
12527
12527
|
var u;
|
|
12528
|
-
l._validationHandler = e._validationHandler, l.assignHandlers(l._validationHandler), (u = l._validationHandler) == null || u.call(
|
|
12528
|
+
l._validationHandler = e._validationHandler, l.assignHandlers(l._validationHandler), (u = l._validationHandler) == null || u.call(tr(l));
|
|
12529
12529
|
}), l;
|
|
12530
12530
|
}
|
|
12531
12531
|
return V(r, t), k(r, [{
|
|
@@ -12604,7 +12604,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12604
12604
|
case 0:
|
|
12605
12605
|
return l.next = 2, this._fileAttachments.completePlaceholders();
|
|
12606
12606
|
case 2:
|
|
12607
|
-
a = this._fileAttachments.getAllFileData(), this._inputElementRef.classList.contains(
|
|
12607
|
+
a = this._fileAttachments.getAllFileData(), this._inputElementRef.classList.contains(ir.PLACEHOLDER_TEXT_CLASS) ? this.attemptSubmit({
|
|
12608
12608
|
text: "",
|
|
12609
12609
|
files: a
|
|
12610
12610
|
}) : (s = this._inputElementRef.innerText.trim(), this.attemptSubmit({
|
|
@@ -12670,7 +12670,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12670
12670
|
case 7:
|
|
12671
12671
|
return this.changeToLoadingIcon(), f.next = 10, this.addNewMessage(a);
|
|
12672
12672
|
case 10:
|
|
12673
|
-
return this._serviceIO.isWebModel() || this._messages.addLoadingMessage(),
|
|
12673
|
+
return this._serviceIO.isWebModel() || this._messages.addLoadingMessage(), ir.clear(this._inputElementRef), u = (l = a.files) == null ? void 0 : l.map(function(g) {
|
|
12674
12674
|
return g.file;
|
|
12675
12675
|
}), d = {
|
|
12676
12676
|
text: a.text === "" ? void 0 : a.text,
|
|
@@ -12743,7 +12743,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12743
12743
|
var n = this;
|
|
12744
12744
|
this.elementRef.classList.contains(r.SUBMIT_CLASS) || (this.elementRef.classList.remove(r.LOADING_CLASS, r.DISABLED_CLASS), this.elementRef.classList.add(r.SUBMIT_CLASS), this.elementRef.replaceChildren(this._innerElements.submit), sl.resetSubmit(this, this.status.loadingActive), this.elementRef.onclick = function() {
|
|
12745
12745
|
var i;
|
|
12746
|
-
n.submitFromInput(), (i = n._microphoneButton) != null && i.isActive &&
|
|
12746
|
+
n.submitFromInput(), (i = n._microphoneButton) != null && i.isActive && Ls.toggleSpeechAfterSubmit(n._microphoneButton.elementRef, !!n._stopSTTAfterSubmit);
|
|
12747
12747
|
});
|
|
12748
12748
|
}
|
|
12749
12749
|
// called every time when user triggers an input via ValidationHandler - hence use class to check if not already present
|
|
@@ -12785,7 +12785,7 @@ var Kn = Ou, jm = /* @__PURE__ */ function(t) {
|
|
|
12785
12785
|
return n.id = "stop-icon", n;
|
|
12786
12786
|
}
|
|
12787
12787
|
}]);
|
|
12788
|
-
}(
|
|
12788
|
+
}(br);
|
|
12789
12789
|
Zr.SUBMIT_CLASS = "submit-button", Zr.LOADING_CLASS = "loading-button", Zr.DISABLED_CLASS = "disabled-button";
|
|
12790
12790
|
var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
|
|
12791
12791
|
<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -12872,7 +12872,7 @@ var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
12872
12872
|
for (var n = atob(this._dataURL.split(",")[1]), i = new Array(n.length), a = 0; a < n.length; a++) i[a] = n.charCodeAt(a);
|
|
12873
12873
|
var s = new Uint8Array(i), o = new Blob([s], {
|
|
12874
12874
|
type: this._format
|
|
12875
|
-
}), l = this._format === "image/jpeg" ? "jpeg" : "png", c =
|
|
12875
|
+
}), l = this._format === "image/jpeg" ? "jpeg" : "png", c = Iu.getFileName(this._newFilePrefix || "photo", l);
|
|
12876
12876
|
return new File([o], c, {
|
|
12877
12877
|
type: o.type
|
|
12878
12878
|
});
|
|
@@ -12945,12 +12945,12 @@ var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
12945
12945
|
return n.id = "camera-icon", n;
|
|
12946
12946
|
}
|
|
12947
12947
|
}]);
|
|
12948
|
-
}(
|
|
12948
|
+
}(br), Qm = /* @__PURE__ */ function() {
|
|
12949
12949
|
function t(r, e, n, i) {
|
|
12950
12950
|
w(this, t), this.elementRef = t.createPanelElement(r.inputAreaStyle);
|
|
12951
|
-
var a = {}, s = this.createFileUploadComponents(r, n, i, a), o = new
|
|
12951
|
+
var a = {}, s = this.createFileUploadComponents(r, n, i, a), o = new ir(r, n, s);
|
|
12952
12952
|
r.speechToText && !a.microphone && (a.microphone = {
|
|
12953
|
-
button: new
|
|
12953
|
+
button: new Ls(r, o, e.addNewErrorMessage.bind(e))
|
|
12954
12954
|
});
|
|
12955
12955
|
var l = new Vm(r, o.inputElementRef, e, n, s, a);
|
|
12956
12956
|
o.submit = l.submitFromInput.bind(l), Um.attach(r, n, o, s, l), r.submitUserMessage = l.programmaticSubmit.bind(l), a.submit = {
|
|
@@ -13018,7 +13018,7 @@ var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
13018
13018
|
var a = document.createElement("div");
|
|
13019
13019
|
a.id = "chat-view";
|
|
13020
13020
|
var s = new Qf(e, n, i);
|
|
13021
|
-
n.websocket &&
|
|
13021
|
+
n.websocket && or.createConnection(n, s);
|
|
13022
13022
|
var o = new Qm(e, s, n, a);
|
|
13023
13023
|
return Fe.addElements(a, s.elementRef, o.elementRef), a;
|
|
13024
13024
|
}
|
|
@@ -13070,7 +13070,7 @@ var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
|
|
|
13070
13070
|
key: "onRender",
|
|
13071
13071
|
value: function() {
|
|
13072
13072
|
var n;
|
|
13073
|
-
Kc.attemptAppendStyleSheetToHead(this.style), $e.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Vf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (la.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), la.applyDefaultStyleToComponent(this.style, this.chatStyle), $e.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? ch.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof
|
|
13073
|
+
Kc.attemptAppendStyleSheetToHead(this.style), $e.processConnect(this), (!this._activeService || this._activeService.demo) && (this._activeService = Vf.create(this)), this.auxiliaryStyle && !this._auxiliaryStyleApplied && (la.apply(this.auxiliaryStyle, this.shadowRoot), this._auxiliaryStyleApplied = !0), la.applyDefaultStyleToComponent(this.style, this.chatStyle), $e.checkForContainerStyles(this, this._elementRef), this._activeService.key && this._activeService.validateKeyProperty ? ch.render(this._elementRef, this.changeToChatView.bind(this), this._activeService) : !(this._activeService instanceof Oe) || this._activeService.key ? ((n = this._childElement) !== null && n !== void 0 || (this._childElement = this.children[0]), e0.render(this, this._elementRef, this._activeService, this._childElement)) : this._activeService instanceof Oe && gf.render(this._elementRef, this.changeToChatView.bind(this), this._activeService), this._hasBeenRendered = !0, ci.onRender(this);
|
|
13074
13074
|
}
|
|
13075
13075
|
}, {
|
|
13076
13076
|
key: "disconnectedCallback",
|
|
@@ -13125,7 +13125,7 @@ customElements.define("deep-chat", Q);
|
|
|
13125
13125
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13126
13126
|
*/
|
|
13127
13127
|
const Yr = globalThis, Fs = Yr.ShadowRoot && (Yr.ShadyCSS === void 0 || Yr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $s = Symbol(), ol = /* @__PURE__ */ new WeakMap();
|
|
13128
|
-
let
|
|
13128
|
+
let Lu = class {
|
|
13129
13129
|
constructor(r, e, n) {
|
|
13130
13130
|
if (this._$cssResult$ = !0, n !== $s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
13131
13131
|
this.cssText = r, this.t = e;
|
|
@@ -13143,13 +13143,13 @@ let Iu = class {
|
|
|
13143
13143
|
return this.cssText;
|
|
13144
13144
|
}
|
|
13145
13145
|
};
|
|
13146
|
-
const x = (t) => new
|
|
13146
|
+
const x = (t) => new Lu(typeof t == "string" ? t : t + "", void 0, $s), Te = (t, ...r) => {
|
|
13147
13147
|
const e = t.length === 1 ? t[0] : r.reduce((n, i, a) => n + ((s) => {
|
|
13148
13148
|
if (s._$cssResult$ === !0) return s.cssText;
|
|
13149
13149
|
if (typeof s == "number") return s;
|
|
13150
13150
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
13151
13151
|
})(i) + t[a + 1], t[0]);
|
|
13152
|
-
return new
|
|
13152
|
+
return new Lu(e, t, $s);
|
|
13153
13153
|
}, r0 = (t, r) => {
|
|
13154
13154
|
if (Fs) t.adoptedStyleSheets = r.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
13155
13155
|
else for (const e of r) {
|
|
@@ -13166,7 +13166,7 @@ const x = (t) => new Iu(typeof t == "string" ? t : t + "", void 0, $s), Te = (t,
|
|
|
13166
13166
|
* Copyright 2017 Google LLC
|
|
13167
13167
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13168
13168
|
*/
|
|
13169
|
-
const { is: i0, defineProperty: a0, getOwnPropertyDescriptor: s0, getOwnPropertyNames: o0, getOwnPropertySymbols: l0, getPrototypeOf: c0 } = Object, wt = globalThis, cl = wt.trustedTypes, u0 = cl ? cl.emptyScript : "", ba = wt.reactiveElementPolyfillSupport,
|
|
13169
|
+
const { is: i0, defineProperty: a0, getOwnPropertyDescriptor: s0, getOwnPropertyNames: o0, getOwnPropertySymbols: l0, getPrototypeOf: c0 } = Object, wt = globalThis, cl = wt.trustedTypes, u0 = cl ? cl.emptyScript : "", ba = wt.reactiveElementPolyfillSupport, Zn = (t, r) => t, hi = { toAttribute(t, r) {
|
|
13170
13170
|
switch (r) {
|
|
13171
13171
|
case Boolean:
|
|
13172
13172
|
t = t ? u0 : null;
|
|
@@ -13226,13 +13226,13 @@ let hn = class extends HTMLElement {
|
|
|
13226
13226
|
return this.elementProperties.get(r) ?? ul;
|
|
13227
13227
|
}
|
|
13228
13228
|
static _$Ei() {
|
|
13229
|
-
if (this.hasOwnProperty(
|
|
13229
|
+
if (this.hasOwnProperty(Zn("elementProperties"))) return;
|
|
13230
13230
|
const r = c0(this);
|
|
13231
13231
|
r.finalize(), r.l !== void 0 && (this.l = [...r.l]), this.elementProperties = new Map(r.elementProperties);
|
|
13232
13232
|
}
|
|
13233
13233
|
static finalize() {
|
|
13234
|
-
if (this.hasOwnProperty(
|
|
13235
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
13234
|
+
if (this.hasOwnProperty(Zn("finalized"))) return;
|
|
13235
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Zn("properties"))) {
|
|
13236
13236
|
const e = this.properties, n = [...o0(e), ...l0(e)];
|
|
13237
13237
|
for (const i of n) this.createProperty(i, e[i]);
|
|
13238
13238
|
}
|
|
@@ -13394,14 +13394,14 @@ let hn = class extends HTMLElement {
|
|
|
13394
13394
|
firstUpdated(r) {
|
|
13395
13395
|
}
|
|
13396
13396
|
};
|
|
13397
|
-
hn.elementStyles = [], hn.shadowRootOptions = { mode: "open" }, hn[
|
|
13397
|
+
hn.elementStyles = [], hn.shadowRootOptions = { mode: "open" }, hn[Zn("elementProperties")] = /* @__PURE__ */ new Map(), hn[Zn("finalized")] = /* @__PURE__ */ new Map(), ba == null || ba({ ReactiveElement: hn }), (wt.reactiveElementVersions ?? (wt.reactiveElementVersions = [])).push("2.0.4");
|
|
13398
13398
|
/**
|
|
13399
13399
|
* @license
|
|
13400
13400
|
* Copyright 2017 Google LLC
|
|
13401
13401
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13402
13402
|
*/
|
|
13403
|
-
const
|
|
13404
|
-
\f\r]`,
|
|
13403
|
+
const Yn = globalThis, pi = Yn.trustedTypes, dl = pi ? pi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Mu = "$lit$", vt = `lit$${Math.random().toFixed(9).slice(2)}$`, Pu = "?" + vt, d0 = `<${Pu}>`, jt = document, lr = () => jt.createComment(""), cr = (t) => t === null || typeof t != "object" && typeof t != "function", Fu = Array.isArray, h0 = (t) => Fu(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wa = `[
|
|
13404
|
+
\f\r]`, Ln = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, hl = /-->/g, pl = />/g, Ft = RegExp(`>|${wa}(?:([^\\s"'>=/]+)(${wa}*=${wa}*(?:[^
|
|
13405
13405
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), fl = /'/g, ml = /"/g, $u = /^(?:script|style|textarea|title)$/i, Nu = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), be = Nu(1), st = Nu(2), St = Symbol.for("lit-noChange"), oe = Symbol.for("lit-nothing"), gl = /* @__PURE__ */ new WeakMap(), $t = jt.createTreeWalker(jt, 129);
|
|
13406
13406
|
function Du(t, r) {
|
|
13407
13407
|
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
@@ -13409,23 +13409,23 @@ function Du(t, r) {
|
|
|
13409
13409
|
}
|
|
13410
13410
|
const p0 = (t, r) => {
|
|
13411
13411
|
const e = t.length - 1, n = [];
|
|
13412
|
-
let i, a = r === 2 ? "<svg>" : "", s =
|
|
13412
|
+
let i, a = r === 2 ? "<svg>" : "", s = Ln;
|
|
13413
13413
|
for (let o = 0; o < e; o++) {
|
|
13414
13414
|
const l = t[o];
|
|
13415
13415
|
let c, u, d = -1, h = 0;
|
|
13416
|
-
for (; h < l.length && (s.lastIndex = h, u = s.exec(l), u !== null); ) h = s.lastIndex, s ===
|
|
13416
|
+
for (; h < l.length && (s.lastIndex = h, u = s.exec(l), u !== null); ) h = s.lastIndex, s === Ln ? u[1] === "!--" ? s = hl : u[1] !== void 0 ? s = pl : u[2] !== void 0 ? ($u.test(u[2]) && (i = RegExp("</" + u[2], "g")), s = Ft) : u[3] !== void 0 && (s = Ft) : s === Ft ? u[0] === ">" ? (s = i ?? Ln, d = -1) : u[1] === void 0 ? d = -2 : (d = s.lastIndex - u[2].length, c = u[1], s = u[3] === void 0 ? Ft : u[3] === '"' ? ml : fl) : s === ml || s === fl ? s = Ft : s === hl || s === pl ? s = Ln : (s = Ft, i = void 0);
|
|
13417
13417
|
const p = s === Ft && t[o + 1].startsWith("/>") ? " " : "";
|
|
13418
|
-
a += s ===
|
|
13418
|
+
a += s === Ln ? l + d0 : d >= 0 ? (n.push(c), l.slice(0, d) + Mu + l.slice(d) + vt + p) : l + vt + (d === -2 ? o : p);
|
|
13419
13419
|
}
|
|
13420
13420
|
return [Du(t, a + (t[e] || "<?>") + (r === 2 ? "</svg>" : "")), n];
|
|
13421
13421
|
};
|
|
13422
|
-
class
|
|
13422
|
+
class ur {
|
|
13423
13423
|
constructor({ strings: r, _$litType$: e }, n) {
|
|
13424
13424
|
let i;
|
|
13425
13425
|
this.parts = [];
|
|
13426
13426
|
let a = 0, s = 0;
|
|
13427
13427
|
const o = r.length - 1, l = this.parts, [c, u] = p0(r, e);
|
|
13428
|
-
if (this.el =
|
|
13428
|
+
if (this.el = ur.createElement(c, n), $t.currentNode = this.el.content, e === 2) {
|
|
13429
13429
|
const d = this.el.content.firstChild;
|
|
13430
13430
|
d.replaceWith(...d.childNodes);
|
|
13431
13431
|
}
|
|
@@ -13439,8 +13439,8 @@ class cr {
|
|
|
13439
13439
|
const d = i.textContent.split(vt), h = d.length - 1;
|
|
13440
13440
|
if (h > 0) {
|
|
13441
13441
|
i.textContent = pi ? pi.emptyScript : "";
|
|
13442
|
-
for (let p = 0; p < h; p++) i.append(d[p],
|
|
13443
|
-
i.append(d[h],
|
|
13442
|
+
for (let p = 0; p < h; p++) i.append(d[p], lr()), $t.nextNode(), l.push({ type: 2, index: ++a });
|
|
13443
|
+
i.append(d[h], lr());
|
|
13444
13444
|
}
|
|
13445
13445
|
}
|
|
13446
13446
|
} else if (i.nodeType === 8) if (i.data === Pu) l.push({ type: 2, index: a });
|
|
@@ -13460,7 +13460,7 @@ function vn(t, r, e = t, n) {
|
|
|
13460
13460
|
var s, o;
|
|
13461
13461
|
if (r === St) return r;
|
|
13462
13462
|
let i = n !== void 0 ? (s = e._$Co) == null ? void 0 : s[n] : e._$Cl;
|
|
13463
|
-
const a =
|
|
13463
|
+
const a = cr(r) ? void 0 : r._$litDirective$;
|
|
13464
13464
|
return (i == null ? void 0 : i.constructor) !== a && ((o = i == null ? void 0 : i._$AO) == null || o.call(i, !1), a === void 0 ? i = void 0 : (i = new a(t), i._$AT(t, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = i : e._$Cl = i), i !== void 0 && (r = vn(t, i._$AS(t, r.values), i, n)), r;
|
|
13465
13465
|
}
|
|
13466
13466
|
class f0 {
|
|
@@ -13480,7 +13480,7 @@ class f0 {
|
|
|
13480
13480
|
for (; l !== void 0; ) {
|
|
13481
13481
|
if (s === l.index) {
|
|
13482
13482
|
let c;
|
|
13483
|
-
l.type === 2 ? c = new
|
|
13483
|
+
l.type === 2 ? c = new Cr(a, a.nextSibling, this, r) : l.type === 1 ? c = new l.ctor(a, l.name, l.strings, this, r) : l.type === 6 && (c = new y0(a, this, r)), this._$AV.push(c), l = n[++o];
|
|
13484
13484
|
}
|
|
13485
13485
|
s !== (l == null ? void 0 : l.index) && (a = $t.nextNode(), s++);
|
|
13486
13486
|
}
|
|
@@ -13491,7 +13491,7 @@ class f0 {
|
|
|
13491
13491
|
for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(r, n, e), e += n.strings.length - 2) : n._$AI(r[e])), e++;
|
|
13492
13492
|
}
|
|
13493
13493
|
}
|
|
13494
|
-
class
|
|
13494
|
+
class Cr {
|
|
13495
13495
|
get _$AU() {
|
|
13496
13496
|
var r;
|
|
13497
13497
|
return ((r = this._$AM) == null ? void 0 : r._$AU) ?? this._$Cv;
|
|
@@ -13511,7 +13511,7 @@ class Sr {
|
|
|
13511
13511
|
return this._$AB;
|
|
13512
13512
|
}
|
|
13513
13513
|
_$AI(r, e = this) {
|
|
13514
|
-
r = vn(this, r, e),
|
|
13514
|
+
r = vn(this, r, e), cr(r) ? r === oe || r == null || r === "" ? (this._$AH !== oe && this._$AR(), this._$AH = oe) : r !== this._$AH && r !== St && this._(r) : r._$litType$ !== void 0 ? this.$(r) : r.nodeType !== void 0 ? this.T(r) : h0(r) ? this.k(r) : this._(r);
|
|
13515
13515
|
}
|
|
13516
13516
|
S(r) {
|
|
13517
13517
|
return this._$AA.parentNode.insertBefore(r, this._$AB);
|
|
@@ -13520,11 +13520,11 @@ class Sr {
|
|
|
13520
13520
|
this._$AH !== r && (this._$AR(), this._$AH = this.S(r));
|
|
13521
13521
|
}
|
|
13522
13522
|
_(r) {
|
|
13523
|
-
this._$AH !== oe &&
|
|
13523
|
+
this._$AH !== oe && cr(this._$AH) ? this._$AA.nextSibling.data = r : this.T(jt.createTextNode(r)), this._$AH = r;
|
|
13524
13524
|
}
|
|
13525
13525
|
$(r) {
|
|
13526
13526
|
var a;
|
|
13527
|
-
const { values: e, _$litType$: n } = r, i = typeof n == "number" ? this._$AC(r) : (n.el === void 0 && (n.el =
|
|
13527
|
+
const { values: e, _$litType$: n } = r, i = typeof n == "number" ? this._$AC(r) : (n.el === void 0 && (n.el = ur.createElement(Du(n.h, n.h[0]), this.options)), n);
|
|
13528
13528
|
if (((a = this._$AH) == null ? void 0 : a._$AD) === i) this._$AH.p(e);
|
|
13529
13529
|
else {
|
|
13530
13530
|
const s = new f0(i, this), o = s.u(this.options);
|
|
@@ -13533,13 +13533,13 @@ class Sr {
|
|
|
13533
13533
|
}
|
|
13534
13534
|
_$AC(r) {
|
|
13535
13535
|
let e = gl.get(r.strings);
|
|
13536
|
-
return e === void 0 && gl.set(r.strings, e = new
|
|
13536
|
+
return e === void 0 && gl.set(r.strings, e = new ur(r)), e;
|
|
13537
13537
|
}
|
|
13538
13538
|
k(r) {
|
|
13539
13539
|
Fu(this._$AH) || (this._$AH = [], this._$AR());
|
|
13540
13540
|
const e = this._$AH;
|
|
13541
13541
|
let n, i = 0;
|
|
13542
|
-
for (const a of r) i === e.length ? e.push(n = new
|
|
13542
|
+
for (const a of r) i === e.length ? e.push(n = new Cr(this.S(lr()), this.S(lr()), this, this.options)) : n = e[i], n._$AI(a), i++;
|
|
13543
13543
|
i < e.length && (this._$AR(n && n._$AB.nextSibling, i), e.length = i);
|
|
13544
13544
|
}
|
|
13545
13545
|
_$AR(r = this._$AA.nextSibling, e) {
|
|
@@ -13567,11 +13567,11 @@ class ji {
|
|
|
13567
13567
|
_$AI(r, e = this, n, i) {
|
|
13568
13568
|
const a = this.strings;
|
|
13569
13569
|
let s = !1;
|
|
13570
|
-
if (a === void 0) r = vn(this, r, e, 0), s = !
|
|
13570
|
+
if (a === void 0) r = vn(this, r, e, 0), s = !cr(r) || r !== this._$AH && r !== St, s && (this._$AH = r);
|
|
13571
13571
|
else {
|
|
13572
13572
|
const o = r;
|
|
13573
13573
|
let l, c;
|
|
13574
|
-
for (r = a[0], l = 0; l < a.length - 1; l++) c = vn(this, o[n + l], e, l), c === St && (c = this._$AH[l]), s || (s = !
|
|
13574
|
+
for (r = a[0], l = 0; l < a.length - 1; l++) c = vn(this, o[n + l], e, l), c === St && (c = this._$AH[l]), s || (s = !cr(c) || c !== this._$AH[l]), c === oe ? r = oe : r !== oe && (r += (c ?? "") + a[l + 1]), this._$AH[l] = c;
|
|
13575
13575
|
}
|
|
13576
13576
|
s && !i && this.j(r);
|
|
13577
13577
|
}
|
|
@@ -13620,14 +13620,14 @@ class y0 {
|
|
|
13620
13620
|
vn(this, r);
|
|
13621
13621
|
}
|
|
13622
13622
|
}
|
|
13623
|
-
const ka =
|
|
13624
|
-
ka == null || ka(
|
|
13623
|
+
const ka = Yn.litHtmlPolyfillSupport;
|
|
13624
|
+
ka == null || ka(ur, Cr), (Yn.litHtmlVersions ?? (Yn.litHtmlVersions = [])).push("3.1.4");
|
|
13625
13625
|
const b0 = (t, r, e) => {
|
|
13626
13626
|
const n = (e == null ? void 0 : e.renderBefore) ?? r;
|
|
13627
13627
|
let i = n._$litPart$;
|
|
13628
13628
|
if (i === void 0) {
|
|
13629
13629
|
const a = (e == null ? void 0 : e.renderBefore) ?? null;
|
|
13630
|
-
n._$litPart$ = i = new
|
|
13630
|
+
n._$litPart$ = i = new Cr(r.insertBefore(lr(), a), a, void 0, e ?? {});
|
|
13631
13631
|
}
|
|
13632
13632
|
return i._$AI(t), i;
|
|
13633
13633
|
};
|
|
@@ -13636,7 +13636,7 @@ const b0 = (t, r, e) => {
|
|
|
13636
13636
|
* Copyright 2017 Google LLC
|
|
13637
13637
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
13638
13638
|
*/
|
|
13639
|
-
let
|
|
13639
|
+
let Xn = class extends hn {
|
|
13640
13640
|
constructor() {
|
|
13641
13641
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
13642
13642
|
}
|
|
@@ -13662,9 +13662,9 @@ let Yn = class extends hn {
|
|
|
13662
13662
|
}
|
|
13663
13663
|
};
|
|
13664
13664
|
var qc;
|
|
13665
|
-
|
|
13665
|
+
Xn._$litElement$ = !0, Xn.finalized = !0, (qc = globalThis.litElementHydrateSupport) == null || qc.call(globalThis, { LitElement: Xn });
|
|
13666
13666
|
const _a = globalThis.litElementPolyfillSupport;
|
|
13667
|
-
_a == null || _a({ LitElement:
|
|
13667
|
+
_a == null || _a({ LitElement: Xn });
|
|
13668
13668
|
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
|
|
13669
13669
|
const w0 = Te`
|
|
13670
13670
|
:host .button {
|
|
@@ -14042,9 +14042,9 @@ var T0 = Object.prototype, R0 = T0.toString;
|
|
|
14042
14042
|
function O0(t) {
|
|
14043
14043
|
return R0.call(t);
|
|
14044
14044
|
}
|
|
14045
|
-
var
|
|
14045
|
+
var I0 = "[object Null]", L0 = "[object Undefined]", vl = Ct ? Ct.toStringTag : void 0;
|
|
14046
14046
|
function An(t) {
|
|
14047
|
-
return t == null ? t === void 0 ?
|
|
14047
|
+
return t == null ? t === void 0 ? L0 : I0 : vl && vl in Object(t) ? A0(t) : O0(t);
|
|
14048
14048
|
}
|
|
14049
14049
|
function Rt(t) {
|
|
14050
14050
|
return t != null && typeof t == "object";
|
|
@@ -14175,7 +14175,7 @@ var Cl = Vi(Ze, "WeakMap"), fi = Cl && new Cl(), zu = fi ? function(t, r) {
|
|
|
14175
14175
|
return t.prototype = void 0, e;
|
|
14176
14176
|
};
|
|
14177
14177
|
}();
|
|
14178
|
-
function
|
|
14178
|
+
function dr(t) {
|
|
14179
14179
|
return function() {
|
|
14180
14180
|
var r = arguments;
|
|
14181
14181
|
switch (r.length) {
|
|
@@ -14202,7 +14202,7 @@ function ur(t) {
|
|
|
14202
14202
|
}
|
|
14203
14203
|
var ug = 1;
|
|
14204
14204
|
function dg(t, r, e) {
|
|
14205
|
-
var n = r & ug, i =
|
|
14205
|
+
var n = r & ug, i = dr(t);
|
|
14206
14206
|
function a() {
|
|
14207
14207
|
var s = this && this !== Ze && this instanceof a ? i : t;
|
|
14208
14208
|
return s.apply(n ? e : this, arguments);
|
|
@@ -14325,7 +14325,7 @@ function Rg(t) {
|
|
|
14325
14325
|
return r ? r[1].split(Tg) : [];
|
|
14326
14326
|
}
|
|
14327
14327
|
var Og = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;
|
|
14328
|
-
function
|
|
14328
|
+
function Ig(t, r) {
|
|
14329
14329
|
var e = r.length;
|
|
14330
14330
|
if (!e)
|
|
14331
14331
|
return t;
|
|
@@ -14334,7 +14334,7 @@ function Lg(t, r) {
|
|
|
14334
14334
|
/* [wrapped with ` + r + `] */
|
|
14335
14335
|
`);
|
|
14336
14336
|
}
|
|
14337
|
-
function
|
|
14337
|
+
function Lg(t) {
|
|
14338
14338
|
return function() {
|
|
14339
14339
|
return t;
|
|
14340
14340
|
};
|
|
@@ -14349,7 +14349,7 @@ var gi = function() {
|
|
|
14349
14349
|
return gi(t, "toString", {
|
|
14350
14350
|
configurable: !0,
|
|
14351
14351
|
enumerable: !1,
|
|
14352
|
-
value:
|
|
14352
|
+
value: Lg(r),
|
|
14353
14353
|
writable: !0
|
|
14354
14354
|
});
|
|
14355
14355
|
} : Ds, zs = Gu(Mg);
|
|
@@ -14399,7 +14399,7 @@ function Zg(t, r) {
|
|
|
14399
14399
|
}
|
|
14400
14400
|
function Ju(t, r, e) {
|
|
14401
14401
|
var n = r + "";
|
|
14402
|
-
return zs(t,
|
|
14402
|
+
return zs(t, Ig(n, Zg(Rg(n), e)));
|
|
14403
14403
|
}
|
|
14404
14404
|
var Yg = 1, Xg = 2, Qg = 4, ev = 8, Al = 32, Tl = 64;
|
|
14405
14405
|
function Zu(t, r, e, n, i, a, s, o, l, c) {
|
|
@@ -14424,7 +14424,7 @@ function Yu(t) {
|
|
|
14424
14424
|
return r.placeholder;
|
|
14425
14425
|
}
|
|
14426
14426
|
var tv = 9007199254740991, nv = /^(?:0|[1-9]\d*)$/;
|
|
14427
|
-
function
|
|
14427
|
+
function xr(t, r) {
|
|
14428
14428
|
var e = typeof t;
|
|
14429
14429
|
return r = r ?? tv, !!r && (e == "number" || e != "symbol" && nv.test(t)) && t > -1 && t % 1 == 0 && t < r;
|
|
14430
14430
|
}
|
|
@@ -14432,7 +14432,7 @@ var rv = Math.min;
|
|
|
14432
14432
|
function iv(t, r) {
|
|
14433
14433
|
for (var e = t.length, n = rv(r.length, e), i = Us(t); n--; ) {
|
|
14434
14434
|
var a = r[n];
|
|
14435
|
-
t[n] =
|
|
14435
|
+
t[n] = xr(a, e) ? i[a] : void 0;
|
|
14436
14436
|
}
|
|
14437
14437
|
return t;
|
|
14438
14438
|
}
|
|
@@ -14446,7 +14446,7 @@ function vi(t, r) {
|
|
|
14446
14446
|
}
|
|
14447
14447
|
var av = 1, sv = 2, ov = 8, lv = 16, cv = 128, uv = 512;
|
|
14448
14448
|
function qs(t, r, e, n, i, a, s, o, l, c) {
|
|
14449
|
-
var u = r & cv, d = r & av, h = r & sv, p = r & (ov | lv), f = r & uv, g = h ? void 0 :
|
|
14449
|
+
var u = r & cv, d = r & av, h = r & sv, p = r & (ov | lv), f = r & uv, g = h ? void 0 : dr(t);
|
|
14450
14450
|
function y() {
|
|
14451
14451
|
for (var v = arguments.length, b = Array(v), _ = v; _--; )
|
|
14452
14452
|
b[_] = arguments[_];
|
|
@@ -14468,12 +14468,12 @@ function qs(t, r, e, n, i, a, s, o, l, c) {
|
|
|
14468
14468
|
);
|
|
14469
14469
|
}
|
|
14470
14470
|
var re = d ? e : this, G = h ? re[t] : t;
|
|
14471
|
-
return v = b.length, o ? b = iv(b, o) : f && v > 1 && b.reverse(), u && l < v && (b.length = l), this && this !== Ze && this instanceof y && (G = g ||
|
|
14471
|
+
return v = b.length, o ? b = iv(b, o) : f && v > 1 && b.reverse(), u && l < v && (b.length = l), this && this !== Ze && this instanceof y && (G = g || dr(G)), G.apply(re, b);
|
|
14472
14472
|
}
|
|
14473
14473
|
return y;
|
|
14474
14474
|
}
|
|
14475
14475
|
function dv(t, r, e) {
|
|
14476
|
-
var n =
|
|
14476
|
+
var n = dr(t);
|
|
14477
14477
|
function i() {
|
|
14478
14478
|
for (var a = arguments.length, s = Array(a), o = a, l = Yu(i); o--; )
|
|
14479
14479
|
s[o] = arguments[o];
|
|
@@ -14498,7 +14498,7 @@ function dv(t, r, e) {
|
|
|
14498
14498
|
}
|
|
14499
14499
|
var hv = 1;
|
|
14500
14500
|
function pv(t, r, e, n) {
|
|
14501
|
-
var i = r & hv, a =
|
|
14501
|
+
var i = r & hv, a = dr(t);
|
|
14502
14502
|
function s() {
|
|
14503
14503
|
for (var o = -1, l = arguments.length, c = -1, u = n.length, d = Array(u + l), h = this && this !== Ze && this instanceof s ? a : t; ++c < u; )
|
|
14504
14504
|
d[c] = n[c];
|
|
@@ -14508,9 +14508,9 @@ function pv(t, r, e, n) {
|
|
|
14508
14508
|
}
|
|
14509
14509
|
return s;
|
|
14510
14510
|
}
|
|
14511
|
-
var Ol = "__lodash_placeholder__", Ca = 1, fv = 2, mv = 4,
|
|
14511
|
+
var Ol = "__lodash_placeholder__", Ca = 1, fv = 2, mv = 4, Il = 8, Pn = 128, Ll = 256, gv = Math.min;
|
|
14512
14512
|
function vv(t, r) {
|
|
14513
|
-
var e = t[1], n = r[1], i = e | n, a = i < (Ca | fv | Pn), s = n == Pn && e ==
|
|
14513
|
+
var e = t[1], n = r[1], i = e | n, a = i < (Ca | fv | Pn), s = n == Pn && e == Il || n == Pn && e == Ll && t[7].length <= r[8] || n == (Pn | Ll) && r[7].length <= r[8] && e == Il;
|
|
14514
14514
|
if (!(a || s))
|
|
14515
14515
|
return t;
|
|
14516
14516
|
n & Ca && (t[2] = r[2], i |= e & Ca ? 0 : mv);
|
|
@@ -14599,7 +14599,7 @@ function Ev(t, r, e) {
|
|
|
14599
14599
|
if (!We(e))
|
|
14600
14600
|
return !1;
|
|
14601
14601
|
var n = typeof r;
|
|
14602
|
-
return (n == "number" ? Gs(e) &&
|
|
14602
|
+
return (n == "number" ? Gs(e) && xr(r, e.length) : n == "string" && r in e) ? Gi(e[r], t) : !1;
|
|
14603
14603
|
}
|
|
14604
14604
|
function Av(t) {
|
|
14605
14605
|
return Cv(function(r, e) {
|
|
@@ -14625,10 +14625,10 @@ var Ov = "[object Arguments]";
|
|
|
14625
14625
|
function Nl(t) {
|
|
14626
14626
|
return Rt(t) && An(t) == Ov;
|
|
14627
14627
|
}
|
|
14628
|
-
var td = Object.prototype,
|
|
14628
|
+
var td = Object.prototype, Iv = td.hasOwnProperty, Lv = td.propertyIsEnumerable, hr = Nl(/* @__PURE__ */ function() {
|
|
14629
14629
|
return arguments;
|
|
14630
14630
|
}()) ? Nl : function(t) {
|
|
14631
|
-
return Rt(t) &&
|
|
14631
|
+
return Rt(t) && Iv.call(t, "callee") && !Lv.call(t, "callee");
|
|
14632
14632
|
};
|
|
14633
14633
|
function Mv() {
|
|
14634
14634
|
return !1;
|
|
@@ -14644,21 +14644,21 @@ function o1(t) {
|
|
|
14644
14644
|
return t(r);
|
|
14645
14645
|
};
|
|
14646
14646
|
}
|
|
14647
|
-
var id = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
14647
|
+
var id = typeof exports == "object" && exports && !exports.nodeType && exports, Qn = id && typeof module == "object" && module && !module.nodeType && module, l1 = Qn && Qn.exports === id, Ta = l1 && Hu.process, Hl = function() {
|
|
14648
14648
|
try {
|
|
14649
|
-
var t =
|
|
14649
|
+
var t = Qn && Qn.require && Qn.require("util").types;
|
|
14650
14650
|
return t || Ta && Ta.binding && Ta.binding("util");
|
|
14651
14651
|
} catch {
|
|
14652
14652
|
}
|
|
14653
14653
|
}(), jl = Hl && Hl.isTypedArray, ad = jl ? o1(jl) : s1;
|
|
14654
14654
|
function c1(t, r) {
|
|
14655
|
-
var e = it(t), n = !e &&
|
|
14655
|
+
var e = it(t), n = !e && hr(t), i = !e && !n && rd(t), a = !e && !n && !i && ad(t), s = e || n || i || a, o = s ? Rv(t.length, String) : [], l = o.length;
|
|
14656
14656
|
for (var c in t)
|
|
14657
14657
|
s && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
14658
14658
|
(c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
14659
14659
|
i && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
14660
14660
|
a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
|
|
14661
|
-
|
|
14661
|
+
xr(c, l)) || o.push(c);
|
|
14662
14662
|
return o;
|
|
14663
14663
|
}
|
|
14664
14664
|
function u1(t, r) {
|
|
@@ -14692,9 +14692,9 @@ function v1(t, r) {
|
|
|
14692
14692
|
var e = typeof t;
|
|
14693
14693
|
return e == "number" || e == "symbol" || e == "boolean" || t == null || qi(t) ? !0 : g1.test(t) || !m1.test(t) || r != null && t in Object(r);
|
|
14694
14694
|
}
|
|
14695
|
-
var
|
|
14695
|
+
var pr = Vi(Object, "create");
|
|
14696
14696
|
function y1() {
|
|
14697
|
-
this.__data__ =
|
|
14697
|
+
this.__data__ = pr ? pr(null) : {}, this.size = 0;
|
|
14698
14698
|
}
|
|
14699
14699
|
function b1(t) {
|
|
14700
14700
|
var r = this.has(t) && delete this.__data__[t];
|
|
@@ -14703,7 +14703,7 @@ function b1(t) {
|
|
|
14703
14703
|
var w1 = "__lodash_hash_undefined__", k1 = Object.prototype, _1 = k1.hasOwnProperty;
|
|
14704
14704
|
function S1(t) {
|
|
14705
14705
|
var r = this.__data__;
|
|
14706
|
-
if (
|
|
14706
|
+
if (pr) {
|
|
14707
14707
|
var e = r[t];
|
|
14708
14708
|
return e === w1 ? void 0 : e;
|
|
14709
14709
|
}
|
|
@@ -14712,12 +14712,12 @@ function S1(t) {
|
|
|
14712
14712
|
var C1 = Object.prototype, x1 = C1.hasOwnProperty;
|
|
14713
14713
|
function E1(t) {
|
|
14714
14714
|
var r = this.__data__;
|
|
14715
|
-
return
|
|
14715
|
+
return pr ? r[t] !== void 0 : x1.call(r, t);
|
|
14716
14716
|
}
|
|
14717
14717
|
var A1 = "__lodash_hash_undefined__";
|
|
14718
14718
|
function T1(t, r) {
|
|
14719
14719
|
var e = this.__data__;
|
|
14720
|
-
return this.size += this.has(t) ? 0 : 1, e[t] =
|
|
14720
|
+
return this.size += this.has(t) ? 0 : 1, e[t] = pr && r === void 0 ? A1 : r, this;
|
|
14721
14721
|
}
|
|
14722
14722
|
function Ut(t) {
|
|
14723
14723
|
var r = -1, e = t == null ? 0 : t.length;
|
|
@@ -14740,13 +14740,13 @@ function Ki(t, r) {
|
|
|
14740
14740
|
return e;
|
|
14741
14741
|
return -1;
|
|
14742
14742
|
}
|
|
14743
|
-
var O1 = Array.prototype,
|
|
14744
|
-
function
|
|
14743
|
+
var O1 = Array.prototype, I1 = O1.splice;
|
|
14744
|
+
function L1(t) {
|
|
14745
14745
|
var r = this.__data__, e = Ki(r, t);
|
|
14746
14746
|
if (e < 0)
|
|
14747
14747
|
return !1;
|
|
14748
14748
|
var n = r.length - 1;
|
|
14749
|
-
return e == n ? r.pop() :
|
|
14749
|
+
return e == n ? r.pop() : I1.call(r, e, 1), --this.size, !0;
|
|
14750
14750
|
}
|
|
14751
14751
|
function M1(t) {
|
|
14752
14752
|
var r = this.__data__, e = Ki(r, t);
|
|
@@ -14767,7 +14767,7 @@ function ft(t) {
|
|
|
14767
14767
|
}
|
|
14768
14768
|
}
|
|
14769
14769
|
ft.prototype.clear = R1;
|
|
14770
|
-
ft.prototype.delete =
|
|
14770
|
+
ft.prototype.delete = L1;
|
|
14771
14771
|
ft.prototype.get = M1;
|
|
14772
14772
|
ft.prototype.has = P1;
|
|
14773
14773
|
ft.prototype.set = F1;
|
|
@@ -14866,7 +14866,7 @@ function Y1(t, r) {
|
|
|
14866
14866
|
}
|
|
14867
14867
|
var Ul = Ct ? Ct.isConcatSpreadable : void 0;
|
|
14868
14868
|
function X1(t) {
|
|
14869
|
-
return it(t) ||
|
|
14869
|
+
return it(t) || hr(t) || !!(Ul && t && t[Ul]);
|
|
14870
14870
|
}
|
|
14871
14871
|
function Q1(t, r, e, n, i) {
|
|
14872
14872
|
var a = -1, s = t.length;
|
|
@@ -14954,7 +14954,7 @@ function w2(t, r, e) {
|
|
|
14954
14954
|
break;
|
|
14955
14955
|
t = t[s];
|
|
14956
14956
|
}
|
|
14957
|
-
return a || ++n != i ? a : (i = t == null ? 0 : t.length, !!i && Ws(i) &&
|
|
14957
|
+
return a || ++n != i ? a : (i = t == null ? 0 : t.length, !!i && Ws(i) && xr(s, i) && (it(t) || hr(t)));
|
|
14958
14958
|
}
|
|
14959
14959
|
function k2(t, r) {
|
|
14960
14960
|
return t != null && w2(t, r, b2);
|
|
@@ -14970,12 +14970,12 @@ function _2(t) {
|
|
|
14970
14970
|
};
|
|
14971
14971
|
}
|
|
14972
14972
|
var S2 = _2(), C2 = 8;
|
|
14973
|
-
function
|
|
14973
|
+
function Er(t, r, e) {
|
|
14974
14974
|
r = e ? void 0 : r;
|
|
14975
14975
|
var n = wv(t, C2, void 0, void 0, void 0, void 0, void 0, r);
|
|
14976
|
-
return n.placeholder =
|
|
14976
|
+
return n.placeholder = Er.placeholder, n;
|
|
14977
14977
|
}
|
|
14978
|
-
|
|
14978
|
+
Er.placeholder = {};
|
|
14979
14979
|
function ls(t, r, e) {
|
|
14980
14980
|
(e !== void 0 && !Gi(t[r], e) || e === void 0 && !(r in t)) && Vs(t, r, e);
|
|
14981
14981
|
}
|
|
@@ -14998,7 +14998,7 @@ function A2(t, r, e, n, i, a, s) {
|
|
|
14998
14998
|
var u = a ? a(o, l, e + "", t, r, s) : void 0, d = u === void 0;
|
|
14999
14999
|
if (d) {
|
|
15000
15000
|
var h = it(l), p = !h && rd(l), f = !h && !p && ad(l);
|
|
15001
|
-
u = l, h || p || f ? it(o) ? u = o : x2(o) ? u = Us(o) : p ? (d = !1, u = m2(l)) : f ? (d = !1, u = v2(l)) : u = [] : o2(l) ||
|
|
15001
|
+
u = l, h || p || f ? it(o) ? u = o : x2(o) ? u = Us(o) : p ? (d = !1, u = m2(l)) : f ? (d = !1, u = v2(l)) : u = [] : o2(l) || hr(l) ? (u = o, hr(o) ? u = E2(o) : (!We(o) || Bs(o)) && (u = y2(l))) : d = !1;
|
|
15002
15002
|
}
|
|
15003
15003
|
d && (s.set(l, u), i(u, l, n, a, s), s.delete(l)), ls(t, e, u);
|
|
15004
15004
|
}
|
|
@@ -15029,26 +15029,26 @@ function hd(t, r, e, n) {
|
|
|
15029
15029
|
return t;
|
|
15030
15030
|
if (i != s) {
|
|
15031
15031
|
var u = o[l];
|
|
15032
|
-
c = void 0, c === void 0 && (c = We(u) ? u :
|
|
15032
|
+
c = void 0, c === void 0 && (c = We(u) ? u : xr(r[i + 1]) ? [] : {});
|
|
15033
15033
|
}
|
|
15034
15034
|
Xu(o, l, c), o = o[l];
|
|
15035
15035
|
}
|
|
15036
15036
|
return t;
|
|
15037
15037
|
}
|
|
15038
|
-
function
|
|
15038
|
+
function I2(t, r, e) {
|
|
15039
15039
|
for (var n = -1, i = r.length, a = {}; ++n < i; ) {
|
|
15040
15040
|
var s = r[n], o = Z1(t, s);
|
|
15041
15041
|
e(o, s) && hd(a, Zi(s, t), o);
|
|
15042
15042
|
}
|
|
15043
15043
|
return a;
|
|
15044
15044
|
}
|
|
15045
|
-
function
|
|
15046
|
-
return
|
|
15045
|
+
function L2(t, r) {
|
|
15046
|
+
return I2(t, r, function(e, n) {
|
|
15047
15047
|
return k2(t, n);
|
|
15048
15048
|
});
|
|
15049
15049
|
}
|
|
15050
15050
|
var M2 = t2(function(t, r) {
|
|
15051
|
-
return t == null ? {} :
|
|
15051
|
+
return t == null ? {} : L2(t, r);
|
|
15052
15052
|
});
|
|
15053
15053
|
function P2(t, r, e) {
|
|
15054
15054
|
return t == null ? t : hd(t, r, e);
|
|
@@ -15264,7 +15264,7 @@ function B2(t, r, e) {
|
|
|
15264
15264
|
return Math.max(t, Math.min(r, e));
|
|
15265
15265
|
}
|
|
15266
15266
|
const pd = $2("rem");
|
|
15267
|
-
|
|
15267
|
+
Er(function(t, r) {
|
|
15268
15268
|
if (r === "transparent") return r;
|
|
15269
15269
|
const e = yi(r), n = "alpha" in e && typeof e.alpha == "number" ? e.alpha : 1, i = {
|
|
15270
15270
|
...e,
|
|
@@ -15272,7 +15272,7 @@ xr(function(t, r) {
|
|
|
15272
15272
|
};
|
|
15273
15273
|
return pe(i);
|
|
15274
15274
|
});
|
|
15275
|
-
const H2 =
|
|
15275
|
+
const H2 = Er(function(t, r, e) {
|
|
15276
15276
|
if (r === "transparent") return e;
|
|
15277
15277
|
if (e === "transparent") return r;
|
|
15278
15278
|
if (t === 0) return e;
|
|
@@ -15290,7 +15290,7 @@ const H2 = xr(function(t, r, e) {
|
|
|
15290
15290
|
};
|
|
15291
15291
|
return pe(p);
|
|
15292
15292
|
});
|
|
15293
|
-
|
|
15293
|
+
Er(function(t, r) {
|
|
15294
15294
|
return r === "transparent" ? r : H2(parseFloat(t.toString()), "rgb(0, 0, 0)", r);
|
|
15295
15295
|
});
|
|
15296
15296
|
const j2 = /^#[a-fA-F0-9]{6}$/, U2 = /^#[a-fA-F0-9]{8}$/, z2 = /^#[a-fA-F0-9]{3}$/, q2 = /^#[a-fA-F0-9]{4}$/, Oa = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, V2 = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, W2 = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, G2 = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
|
|
@@ -15722,7 +15722,7 @@ const K2 = {
|
|
|
15722
15722
|
lg: "0.04em",
|
|
15723
15723
|
md: "0.02em",
|
|
15724
15724
|
sm: "0.01em"
|
|
15725
|
-
},
|
|
15725
|
+
}, I = {
|
|
15726
15726
|
desktop: {
|
|
15727
15727
|
title: {
|
|
15728
15728
|
sm: "31px",
|
|
@@ -15789,7 +15789,7 @@ const K2 = {
|
|
|
15789
15789
|
md: "15px"
|
|
15790
15790
|
}
|
|
15791
15791
|
}
|
|
15792
|
-
},
|
|
15792
|
+
}, L = {
|
|
15793
15793
|
poppins: '"Poppins", Arial, sans-serif',
|
|
15794
15794
|
barlow: '"Barlow Condensed", Arial, sans-serif'
|
|
15795
15795
|
}, M = {
|
|
@@ -15841,481 +15841,481 @@ const K2 = {
|
|
|
15841
15841
|
}, ty = {
|
|
15842
15842
|
"body.lg.regUpper": {
|
|
15843
15843
|
tablet: {
|
|
15844
|
-
fontFamily:
|
|
15844
|
+
fontFamily: L.poppins,
|
|
15845
15845
|
fontWeight: O.regular,
|
|
15846
|
-
fontSize:
|
|
15846
|
+
fontSize: I.tablet.body.lg,
|
|
15847
15847
|
textTransform: "uppercase",
|
|
15848
15848
|
lineHeight: M.tablet.body.lg
|
|
15849
15849
|
},
|
|
15850
15850
|
mobile: {
|
|
15851
|
-
fontFamily:
|
|
15851
|
+
fontFamily: L.poppins,
|
|
15852
15852
|
fontWeight: O.regular,
|
|
15853
|
-
fontSize:
|
|
15853
|
+
fontSize: I.mobile.body.lg,
|
|
15854
15854
|
textTransform: "uppercase",
|
|
15855
15855
|
lineHeight: M.mobile.body.lg
|
|
15856
15856
|
},
|
|
15857
15857
|
desktop: {
|
|
15858
|
-
fontFamily:
|
|
15858
|
+
fontFamily: L.poppins,
|
|
15859
15859
|
fontWeight: O.regular,
|
|
15860
|
-
fontSize:
|
|
15860
|
+
fontSize: I.desktop.body.lg,
|
|
15861
15861
|
textTransform: "uppercase",
|
|
15862
15862
|
lineHeight: M.desktop.body.lg
|
|
15863
15863
|
}
|
|
15864
15864
|
},
|
|
15865
15865
|
"body.lg.semiUpper": {
|
|
15866
15866
|
tablet: {
|
|
15867
|
-
fontFamily:
|
|
15867
|
+
fontFamily: L.poppins,
|
|
15868
15868
|
fontWeight: O.bolder,
|
|
15869
|
-
fontSize:
|
|
15869
|
+
fontSize: I.tablet.body.lg,
|
|
15870
15870
|
textTransform: "uppercase",
|
|
15871
15871
|
lineHeight: M.tablet.body.lg
|
|
15872
15872
|
},
|
|
15873
15873
|
mobile: {
|
|
15874
|
-
fontFamily:
|
|
15874
|
+
fontFamily: L.poppins,
|
|
15875
15875
|
fontWeight: O.bolder,
|
|
15876
|
-
fontSize:
|
|
15876
|
+
fontSize: I.mobile.body.lg,
|
|
15877
15877
|
textTransform: "uppercase",
|
|
15878
15878
|
lineHeight: M.mobile.body.lg
|
|
15879
15879
|
},
|
|
15880
15880
|
desktop: {
|
|
15881
|
-
fontFamily:
|
|
15881
|
+
fontFamily: L.poppins,
|
|
15882
15882
|
fontWeight: O.bolder,
|
|
15883
|
-
fontSize:
|
|
15883
|
+
fontSize: I.desktop.body.lg,
|
|
15884
15884
|
textTransform: "uppercase",
|
|
15885
15885
|
lineHeight: M.desktop.body.lg
|
|
15886
15886
|
}
|
|
15887
15887
|
},
|
|
15888
15888
|
"body.lg.semi": {
|
|
15889
15889
|
tablet: {
|
|
15890
|
-
fontFamily:
|
|
15890
|
+
fontFamily: L.poppins,
|
|
15891
15891
|
fontWeight: O.bolder,
|
|
15892
|
-
fontSize:
|
|
15892
|
+
fontSize: I.tablet.body.lg,
|
|
15893
15893
|
lineHeight: M.tablet.body.lg
|
|
15894
15894
|
},
|
|
15895
15895
|
mobile: {
|
|
15896
|
-
fontFamily:
|
|
15896
|
+
fontFamily: L.poppins,
|
|
15897
15897
|
fontWeight: O.bolder,
|
|
15898
|
-
fontSize:
|
|
15898
|
+
fontSize: I.mobile.body.lg,
|
|
15899
15899
|
lineHeight: M.mobile.body.lg
|
|
15900
15900
|
},
|
|
15901
15901
|
desktop: {
|
|
15902
|
-
fontFamily:
|
|
15902
|
+
fontFamily: L.poppins,
|
|
15903
15903
|
fontWeight: O.bolder,
|
|
15904
|
-
fontSize:
|
|
15904
|
+
fontSize: I.desktop.body.lg,
|
|
15905
15905
|
lineHeight: M.desktop.body.lg
|
|
15906
15906
|
}
|
|
15907
15907
|
},
|
|
15908
15908
|
"body.lg.semiUnder": {
|
|
15909
15909
|
tablet: {
|
|
15910
|
-
fontFamily:
|
|
15910
|
+
fontFamily: L.poppins,
|
|
15911
15911
|
fontWeight: O.bolder,
|
|
15912
|
-
fontSize:
|
|
15912
|
+
fontSize: I.tablet.body.lg,
|
|
15913
15913
|
lineHeight: M.tablet.body.lg,
|
|
15914
15914
|
textDecoration: "underline"
|
|
15915
15915
|
},
|
|
15916
15916
|
mobile: {
|
|
15917
|
-
fontFamily:
|
|
15917
|
+
fontFamily: L.poppins,
|
|
15918
15918
|
fontWeight: O.bolder,
|
|
15919
|
-
fontSize:
|
|
15919
|
+
fontSize: I.mobile.body.lg,
|
|
15920
15920
|
lineHeight: M.mobile.body.lg,
|
|
15921
15921
|
textDecoration: "underline"
|
|
15922
15922
|
},
|
|
15923
15923
|
desktop: {
|
|
15924
|
-
fontFamily:
|
|
15924
|
+
fontFamily: L.poppins,
|
|
15925
15925
|
fontWeight: O.bolder,
|
|
15926
|
-
fontSize:
|
|
15926
|
+
fontSize: I.desktop.body.lg,
|
|
15927
15927
|
lineHeight: M.desktop.body.lg,
|
|
15928
15928
|
textDecoration: "underline"
|
|
15929
15929
|
}
|
|
15930
15930
|
},
|
|
15931
15931
|
"body.lg.reg": {
|
|
15932
15932
|
tablet: {
|
|
15933
|
-
fontFamily:
|
|
15933
|
+
fontFamily: L.poppins,
|
|
15934
15934
|
fontWeight: O.regular,
|
|
15935
|
-
fontSize:
|
|
15935
|
+
fontSize: I.tablet.body.lg,
|
|
15936
15936
|
lineHeight: M.tablet.body.lg
|
|
15937
15937
|
},
|
|
15938
15938
|
mobile: {
|
|
15939
|
-
fontFamily:
|
|
15939
|
+
fontFamily: L.poppins,
|
|
15940
15940
|
fontWeight: O.regular,
|
|
15941
|
-
fontSize:
|
|
15941
|
+
fontSize: I.mobile.body.lg,
|
|
15942
15942
|
lineHeight: M.mobile.body.lg
|
|
15943
15943
|
},
|
|
15944
15944
|
desktop: {
|
|
15945
|
-
fontFamily:
|
|
15945
|
+
fontFamily: L.poppins,
|
|
15946
15946
|
fontWeight: O.regular,
|
|
15947
|
-
fontSize:
|
|
15947
|
+
fontSize: I.desktop.body.lg,
|
|
15948
15948
|
lineHeight: M.desktop.body.lg
|
|
15949
15949
|
}
|
|
15950
15950
|
},
|
|
15951
15951
|
"body.xs.regUpper": {
|
|
15952
15952
|
tablet: {
|
|
15953
|
-
fontFamily:
|
|
15953
|
+
fontFamily: L.poppins,
|
|
15954
15954
|
fontWeight: O.regular,
|
|
15955
|
-
fontSize:
|
|
15955
|
+
fontSize: I.tablet.body.xs,
|
|
15956
15956
|
textTransform: "uppercase",
|
|
15957
15957
|
lineHeight: M.tablet.body.xs
|
|
15958
15958
|
},
|
|
15959
15959
|
mobile: {
|
|
15960
|
-
fontFamily:
|
|
15960
|
+
fontFamily: L.poppins,
|
|
15961
15961
|
fontWeight: O.regular,
|
|
15962
|
-
fontSize:
|
|
15962
|
+
fontSize: I.mobile.body.xs,
|
|
15963
15963
|
textTransform: "uppercase",
|
|
15964
15964
|
lineHeight: M.mobile.body.xs
|
|
15965
15965
|
},
|
|
15966
15966
|
desktop: {
|
|
15967
|
-
fontFamily:
|
|
15967
|
+
fontFamily: L.poppins,
|
|
15968
15968
|
fontWeight: O.regular,
|
|
15969
|
-
fontSize:
|
|
15969
|
+
fontSize: I.desktop.body.xs,
|
|
15970
15970
|
textTransform: "uppercase",
|
|
15971
15971
|
lineHeight: M.desktop.body.xs
|
|
15972
15972
|
}
|
|
15973
15973
|
},
|
|
15974
15974
|
"body.xs.semiUpper": {
|
|
15975
15975
|
tablet: {
|
|
15976
|
-
fontFamily:
|
|
15976
|
+
fontFamily: L.poppins,
|
|
15977
15977
|
fontWeight: O.bolder,
|
|
15978
|
-
fontSize:
|
|
15978
|
+
fontSize: I.tablet.body.xs,
|
|
15979
15979
|
textTransform: "uppercase",
|
|
15980
15980
|
lineHeight: M.tablet.body.xs
|
|
15981
15981
|
},
|
|
15982
15982
|
mobile: {
|
|
15983
|
-
fontFamily:
|
|
15983
|
+
fontFamily: L.poppins,
|
|
15984
15984
|
fontWeight: O.bolder,
|
|
15985
|
-
fontSize:
|
|
15985
|
+
fontSize: I.mobile.body.xs,
|
|
15986
15986
|
textTransform: "uppercase",
|
|
15987
15987
|
lineHeight: M.mobile.body.xs
|
|
15988
15988
|
},
|
|
15989
15989
|
desktop: {
|
|
15990
|
-
fontFamily:
|
|
15990
|
+
fontFamily: L.poppins,
|
|
15991
15991
|
fontWeight: O.bolder,
|
|
15992
|
-
fontSize:
|
|
15992
|
+
fontSize: I.desktop.body.xs,
|
|
15993
15993
|
textTransform: "uppercase",
|
|
15994
15994
|
lineHeight: M.desktop.body.xs
|
|
15995
15995
|
}
|
|
15996
15996
|
},
|
|
15997
15997
|
"body.xs.semi": {
|
|
15998
15998
|
tablet: {
|
|
15999
|
-
fontFamily:
|
|
15999
|
+
fontFamily: L.poppins,
|
|
16000
16000
|
fontWeight: O.bolder,
|
|
16001
|
-
fontSize:
|
|
16001
|
+
fontSize: I.tablet.body.xs,
|
|
16002
16002
|
lineHeight: M.tablet.body.xs
|
|
16003
16003
|
},
|
|
16004
16004
|
mobile: {
|
|
16005
|
-
fontFamily:
|
|
16005
|
+
fontFamily: L.poppins,
|
|
16006
16006
|
fontWeight: O.bolder,
|
|
16007
|
-
fontSize:
|
|
16007
|
+
fontSize: I.mobile.body.xs,
|
|
16008
16008
|
lineHeight: M.mobile.body.xs
|
|
16009
16009
|
},
|
|
16010
16010
|
desktop: {
|
|
16011
|
-
fontFamily:
|
|
16011
|
+
fontFamily: L.poppins,
|
|
16012
16012
|
fontWeight: O.bolder,
|
|
16013
|
-
fontSize:
|
|
16013
|
+
fontSize: I.desktop.body.xs,
|
|
16014
16014
|
lineHeight: M.desktop.body.xs
|
|
16015
16015
|
}
|
|
16016
16016
|
},
|
|
16017
16017
|
"body.xs.semiUnder": {
|
|
16018
16018
|
tablet: {
|
|
16019
|
-
fontFamily:
|
|
16019
|
+
fontFamily: L.poppins,
|
|
16020
16020
|
fontWeight: O.bolder,
|
|
16021
|
-
fontSize:
|
|
16021
|
+
fontSize: I.tablet.body.xs,
|
|
16022
16022
|
lineHeight: M.tablet.body.xs,
|
|
16023
16023
|
textDecoration: "underline"
|
|
16024
16024
|
},
|
|
16025
16025
|
mobile: {
|
|
16026
|
-
fontFamily:
|
|
16026
|
+
fontFamily: L.poppins,
|
|
16027
16027
|
fontWeight: O.bolder,
|
|
16028
|
-
fontSize:
|
|
16028
|
+
fontSize: I.mobile.body.xs,
|
|
16029
16029
|
lineHeight: M.mobile.body.xs,
|
|
16030
16030
|
textDecoration: "underline"
|
|
16031
16031
|
},
|
|
16032
16032
|
desktop: {
|
|
16033
|
-
fontFamily:
|
|
16033
|
+
fontFamily: L.poppins,
|
|
16034
16034
|
fontWeight: O.bolder,
|
|
16035
|
-
fontSize:
|
|
16035
|
+
fontSize: I.desktop.body.xs,
|
|
16036
16036
|
lineHeight: M.desktop.body.xs,
|
|
16037
16037
|
textDecoration: "underline"
|
|
16038
16038
|
}
|
|
16039
16039
|
},
|
|
16040
16040
|
"body.xs.reg": {
|
|
16041
16041
|
tablet: {
|
|
16042
|
-
fontFamily:
|
|
16042
|
+
fontFamily: L.poppins,
|
|
16043
16043
|
fontWeight: O.regular,
|
|
16044
|
-
fontSize:
|
|
16044
|
+
fontSize: I.tablet.body.xs,
|
|
16045
16045
|
lineHeight: M.tablet.body.xs
|
|
16046
16046
|
},
|
|
16047
16047
|
mobile: {
|
|
16048
|
-
fontFamily:
|
|
16048
|
+
fontFamily: L.poppins,
|
|
16049
16049
|
fontWeight: O.regular,
|
|
16050
|
-
fontSize:
|
|
16050
|
+
fontSize: I.mobile.body.xs,
|
|
16051
16051
|
lineHeight: M.mobile.body.xs
|
|
16052
16052
|
},
|
|
16053
16053
|
desktop: {
|
|
16054
|
-
fontFamily:
|
|
16054
|
+
fontFamily: L.poppins,
|
|
16055
16055
|
fontWeight: O.regular,
|
|
16056
|
-
fontSize:
|
|
16056
|
+
fontSize: I.desktop.body.xs,
|
|
16057
16057
|
lineHeight: M.desktop.body.xs
|
|
16058
16058
|
}
|
|
16059
16059
|
},
|
|
16060
16060
|
"body.sm.regUpper": {
|
|
16061
16061
|
tablet: {
|
|
16062
|
-
fontFamily:
|
|
16062
|
+
fontFamily: L.poppins,
|
|
16063
16063
|
fontWeight: O.regular,
|
|
16064
|
-
fontSize:
|
|
16064
|
+
fontSize: I.tablet.body.sm,
|
|
16065
16065
|
textTransform: "uppercase",
|
|
16066
16066
|
lineHeight: M.tablet.body.sm
|
|
16067
16067
|
},
|
|
16068
16068
|
mobile: {
|
|
16069
|
-
fontFamily:
|
|
16069
|
+
fontFamily: L.poppins,
|
|
16070
16070
|
fontWeight: O.regular,
|
|
16071
|
-
fontSize:
|
|
16071
|
+
fontSize: I.mobile.body.sm,
|
|
16072
16072
|
textTransform: "uppercase",
|
|
16073
16073
|
lineHeight: M.mobile.body.sm
|
|
16074
16074
|
},
|
|
16075
16075
|
desktop: {
|
|
16076
|
-
fontFamily:
|
|
16076
|
+
fontFamily: L.poppins,
|
|
16077
16077
|
fontWeight: O.regular,
|
|
16078
|
-
fontSize:
|
|
16078
|
+
fontSize: I.desktop.body.sm,
|
|
16079
16079
|
textTransform: "uppercase",
|
|
16080
16080
|
lineHeight: M.desktop.body.sm
|
|
16081
16081
|
}
|
|
16082
16082
|
},
|
|
16083
16083
|
"body.sm.semiUpper": {
|
|
16084
16084
|
tablet: {
|
|
16085
|
-
fontFamily:
|
|
16085
|
+
fontFamily: L.poppins,
|
|
16086
16086
|
fontWeight: O.bolder,
|
|
16087
|
-
fontSize:
|
|
16087
|
+
fontSize: I.tablet.body.sm,
|
|
16088
16088
|
textTransform: "uppercase",
|
|
16089
16089
|
lineHeight: M.tablet.body.sm
|
|
16090
16090
|
},
|
|
16091
16091
|
mobile: {
|
|
16092
|
-
fontFamily:
|
|
16092
|
+
fontFamily: L.poppins,
|
|
16093
16093
|
fontWeight: O.bolder,
|
|
16094
|
-
fontSize:
|
|
16094
|
+
fontSize: I.mobile.body.sm,
|
|
16095
16095
|
textTransform: "uppercase",
|
|
16096
16096
|
lineHeight: M.mobile.body.sm
|
|
16097
16097
|
},
|
|
16098
16098
|
desktop: {
|
|
16099
|
-
fontFamily:
|
|
16099
|
+
fontFamily: L.poppins,
|
|
16100
16100
|
fontWeight: O.bolder,
|
|
16101
|
-
fontSize:
|
|
16101
|
+
fontSize: I.desktop.body.sm,
|
|
16102
16102
|
textTransform: "uppercase",
|
|
16103
16103
|
lineHeight: M.desktop.body.sm
|
|
16104
16104
|
}
|
|
16105
16105
|
},
|
|
16106
16106
|
"body.sm.semi": {
|
|
16107
16107
|
tablet: {
|
|
16108
|
-
fontFamily:
|
|
16108
|
+
fontFamily: L.poppins,
|
|
16109
16109
|
fontWeight: O.bolder,
|
|
16110
|
-
fontSize:
|
|
16110
|
+
fontSize: I.tablet.body.sm,
|
|
16111
16111
|
lineHeight: M.tablet.body.sm
|
|
16112
16112
|
},
|
|
16113
16113
|
mobile: {
|
|
16114
|
-
fontFamily:
|
|
16114
|
+
fontFamily: L.poppins,
|
|
16115
16115
|
fontWeight: O.bolder,
|
|
16116
|
-
fontSize:
|
|
16116
|
+
fontSize: I.mobile.body.sm,
|
|
16117
16117
|
lineHeight: M.mobile.body.sm
|
|
16118
16118
|
},
|
|
16119
16119
|
desktop: {
|
|
16120
|
-
fontFamily:
|
|
16120
|
+
fontFamily: L.poppins,
|
|
16121
16121
|
fontWeight: O.bolder,
|
|
16122
|
-
fontSize:
|
|
16122
|
+
fontSize: I.desktop.body.sm,
|
|
16123
16123
|
lineHeight: M.desktop.body.sm
|
|
16124
16124
|
}
|
|
16125
16125
|
},
|
|
16126
16126
|
"body.sm.semiUnder": {
|
|
16127
16127
|
tablet: {
|
|
16128
|
-
fontFamily:
|
|
16128
|
+
fontFamily: L.poppins,
|
|
16129
16129
|
fontWeight: O.bolder,
|
|
16130
|
-
fontSize:
|
|
16130
|
+
fontSize: I.tablet.body.sm,
|
|
16131
16131
|
lineHeight: M.tablet.body.sm,
|
|
16132
16132
|
textDecoration: "underline"
|
|
16133
16133
|
},
|
|
16134
16134
|
mobile: {
|
|
16135
|
-
fontFamily:
|
|
16135
|
+
fontFamily: L.poppins,
|
|
16136
16136
|
fontWeight: O.bolder,
|
|
16137
|
-
fontSize:
|
|
16137
|
+
fontSize: I.mobile.body.sm,
|
|
16138
16138
|
lineHeight: M.mobile.body.sm,
|
|
16139
16139
|
textDecoration: "underline"
|
|
16140
16140
|
},
|
|
16141
16141
|
desktop: {
|
|
16142
|
-
fontFamily:
|
|
16142
|
+
fontFamily: L.poppins,
|
|
16143
16143
|
fontWeight: O.bolder,
|
|
16144
|
-
fontSize:
|
|
16144
|
+
fontSize: I.desktop.body.sm,
|
|
16145
16145
|
lineHeight: M.desktop.body.sm,
|
|
16146
16146
|
textDecoration: "underline"
|
|
16147
16147
|
}
|
|
16148
16148
|
},
|
|
16149
16149
|
"body.sm.reg": {
|
|
16150
16150
|
tablet: {
|
|
16151
|
-
fontFamily:
|
|
16151
|
+
fontFamily: L.poppins,
|
|
16152
16152
|
fontWeight: O.regular,
|
|
16153
|
-
fontSize:
|
|
16153
|
+
fontSize: I.tablet.body.sm,
|
|
16154
16154
|
lineHeight: M.tablet.body.sm
|
|
16155
16155
|
},
|
|
16156
16156
|
mobile: {
|
|
16157
|
-
fontFamily:
|
|
16157
|
+
fontFamily: L.poppins,
|
|
16158
16158
|
fontWeight: O.regular,
|
|
16159
|
-
fontSize:
|
|
16159
|
+
fontSize: I.mobile.body.sm,
|
|
16160
16160
|
lineHeight: M.mobile.body.sm
|
|
16161
16161
|
},
|
|
16162
16162
|
desktop: {
|
|
16163
|
-
fontFamily:
|
|
16163
|
+
fontFamily: L.poppins,
|
|
16164
16164
|
fontWeight: O.regular,
|
|
16165
|
-
fontSize:
|
|
16165
|
+
fontSize: I.desktop.body.sm,
|
|
16166
16166
|
lineHeight: M.desktop.body.sm
|
|
16167
16167
|
}
|
|
16168
16168
|
},
|
|
16169
16169
|
"body.md.regUpper": {
|
|
16170
16170
|
tablet: {
|
|
16171
|
-
fontFamily:
|
|
16171
|
+
fontFamily: L.poppins,
|
|
16172
16172
|
fontWeight: O.regular,
|
|
16173
|
-
fontSize:
|
|
16173
|
+
fontSize: I.tablet.body.md,
|
|
16174
16174
|
textTransform: "uppercase",
|
|
16175
16175
|
lineHeight: M.tablet.body.md
|
|
16176
16176
|
},
|
|
16177
16177
|
mobile: {
|
|
16178
|
-
fontFamily:
|
|
16178
|
+
fontFamily: L.poppins,
|
|
16179
16179
|
fontWeight: O.regular,
|
|
16180
|
-
fontSize:
|
|
16180
|
+
fontSize: I.mobile.body.md,
|
|
16181
16181
|
textTransform: "uppercase",
|
|
16182
16182
|
lineHeight: M.mobile.body.md
|
|
16183
16183
|
},
|
|
16184
16184
|
desktop: {
|
|
16185
|
-
fontFamily:
|
|
16185
|
+
fontFamily: L.poppins,
|
|
16186
16186
|
fontWeight: O.regular,
|
|
16187
|
-
fontSize:
|
|
16187
|
+
fontSize: I.desktop.body.md,
|
|
16188
16188
|
textTransform: "uppercase",
|
|
16189
16189
|
lineHeight: M.desktop.body.md
|
|
16190
16190
|
}
|
|
16191
16191
|
},
|
|
16192
16192
|
"body.md.semiUpper": {
|
|
16193
16193
|
tablet: {
|
|
16194
|
-
fontFamily:
|
|
16194
|
+
fontFamily: L.poppins,
|
|
16195
16195
|
fontWeight: O.bolder,
|
|
16196
|
-
fontSize:
|
|
16196
|
+
fontSize: I.tablet.body.md,
|
|
16197
16197
|
textTransform: "uppercase",
|
|
16198
16198
|
lineHeight: M.tablet.body.md
|
|
16199
16199
|
},
|
|
16200
16200
|
mobile: {
|
|
16201
|
-
fontFamily:
|
|
16201
|
+
fontFamily: L.poppins,
|
|
16202
16202
|
fontWeight: O.bolder,
|
|
16203
|
-
fontSize:
|
|
16203
|
+
fontSize: I.mobile.body.md,
|
|
16204
16204
|
textTransform: "uppercase",
|
|
16205
16205
|
lineHeight: M.mobile.body.md
|
|
16206
16206
|
},
|
|
16207
16207
|
desktop: {
|
|
16208
|
-
fontFamily:
|
|
16208
|
+
fontFamily: L.poppins,
|
|
16209
16209
|
fontWeight: O.bolder,
|
|
16210
|
-
fontSize:
|
|
16210
|
+
fontSize: I.desktop.body.md,
|
|
16211
16211
|
textTransform: "uppercase",
|
|
16212
16212
|
lineHeight: M.desktop.body.md
|
|
16213
16213
|
}
|
|
16214
16214
|
},
|
|
16215
16215
|
"body.md.semi": {
|
|
16216
16216
|
tablet: {
|
|
16217
|
-
fontFamily:
|
|
16217
|
+
fontFamily: L.poppins,
|
|
16218
16218
|
fontWeight: O.bolder,
|
|
16219
|
-
fontSize:
|
|
16219
|
+
fontSize: I.tablet.body.md,
|
|
16220
16220
|
lineHeight: M.tablet.body.md
|
|
16221
16221
|
},
|
|
16222
16222
|
mobile: {
|
|
16223
|
-
fontFamily:
|
|
16223
|
+
fontFamily: L.poppins,
|
|
16224
16224
|
fontWeight: O.bolder,
|
|
16225
|
-
fontSize:
|
|
16225
|
+
fontSize: I.mobile.body.md,
|
|
16226
16226
|
lineHeight: M.mobile.body.md
|
|
16227
16227
|
},
|
|
16228
16228
|
desktop: {
|
|
16229
|
-
fontFamily:
|
|
16229
|
+
fontFamily: L.poppins,
|
|
16230
16230
|
fontWeight: O.bolder,
|
|
16231
|
-
fontSize:
|
|
16231
|
+
fontSize: I.desktop.body.md,
|
|
16232
16232
|
lineHeight: M.desktop.body.md
|
|
16233
16233
|
}
|
|
16234
16234
|
},
|
|
16235
16235
|
"body.md.semiUnder": {
|
|
16236
16236
|
tablet: {
|
|
16237
|
-
fontFamily:
|
|
16237
|
+
fontFamily: L.poppins,
|
|
16238
16238
|
fontWeight: O.bolder,
|
|
16239
|
-
fontSize:
|
|
16239
|
+
fontSize: I.tablet.body.md,
|
|
16240
16240
|
lineHeight: M.tablet.body.md,
|
|
16241
16241
|
textDecoration: "underline"
|
|
16242
16242
|
},
|
|
16243
16243
|
mobile: {
|
|
16244
|
-
fontFamily:
|
|
16244
|
+
fontFamily: L.poppins,
|
|
16245
16245
|
fontWeight: O.bolder,
|
|
16246
|
-
fontSize:
|
|
16246
|
+
fontSize: I.mobile.body.md,
|
|
16247
16247
|
lineHeight: M.mobile.body.md,
|
|
16248
16248
|
textDecoration: "underline"
|
|
16249
16249
|
},
|
|
16250
16250
|
desktop: {
|
|
16251
|
-
fontFamily:
|
|
16251
|
+
fontFamily: L.poppins,
|
|
16252
16252
|
fontWeight: O.bolder,
|
|
16253
|
-
fontSize:
|
|
16253
|
+
fontSize: I.desktop.body.md,
|
|
16254
16254
|
lineHeight: M.desktop.body.md,
|
|
16255
16255
|
textDecoration: "underline"
|
|
16256
16256
|
}
|
|
16257
16257
|
},
|
|
16258
16258
|
"body.md.reg": {
|
|
16259
16259
|
tablet: {
|
|
16260
|
-
fontFamily:
|
|
16260
|
+
fontFamily: L.poppins,
|
|
16261
16261
|
fontWeight: O.regular,
|
|
16262
|
-
fontSize:
|
|
16262
|
+
fontSize: I.tablet.body.md,
|
|
16263
16263
|
lineHeight: M.tablet.body.md
|
|
16264
16264
|
},
|
|
16265
16265
|
mobile: {
|
|
16266
|
-
fontFamily:
|
|
16266
|
+
fontFamily: L.poppins,
|
|
16267
16267
|
fontWeight: O.regular,
|
|
16268
|
-
fontSize:
|
|
16268
|
+
fontSize: I.mobile.body.md,
|
|
16269
16269
|
lineHeight: M.mobile.body.md
|
|
16270
16270
|
},
|
|
16271
16271
|
desktop: {
|
|
16272
|
-
fontFamily:
|
|
16272
|
+
fontFamily: L.poppins,
|
|
16273
16273
|
fontWeight: O.regular,
|
|
16274
|
-
fontSize:
|
|
16274
|
+
fontSize: I.desktop.body.md,
|
|
16275
16275
|
lineHeight: M.desktop.body.md
|
|
16276
16276
|
}
|
|
16277
16277
|
},
|
|
16278
16278
|
"title.md.default": {
|
|
16279
16279
|
desktop: {
|
|
16280
|
-
fontFamily:
|
|
16280
|
+
fontFamily: L.poppins,
|
|
16281
16281
|
fontWeight: O.bolder,
|
|
16282
|
-
fontSize:
|
|
16282
|
+
fontSize: I.desktop.title.md,
|
|
16283
16283
|
lineHeight: M.desktop.title.md
|
|
16284
16284
|
},
|
|
16285
16285
|
tablet: {
|
|
16286
|
-
fontFamily:
|
|
16286
|
+
fontFamily: L.poppins,
|
|
16287
16287
|
fontWeight: O.bolder,
|
|
16288
|
-
fontSize:
|
|
16288
|
+
fontSize: I.tablet.title.md,
|
|
16289
16289
|
lineHeight: M.tablet.title.md
|
|
16290
16290
|
},
|
|
16291
16291
|
mobile: {
|
|
16292
|
-
fontFamily:
|
|
16292
|
+
fontFamily: L.poppins,
|
|
16293
16293
|
fontWeight: O.bolder,
|
|
16294
|
-
fontSize:
|
|
16294
|
+
fontSize: I.mobile.title.md,
|
|
16295
16295
|
lineHeight: M.mobile.title.md
|
|
16296
16296
|
}
|
|
16297
16297
|
},
|
|
16298
16298
|
"title.md.styled": {
|
|
16299
16299
|
desktop: {
|
|
16300
|
-
fontFamily:
|
|
16300
|
+
fontFamily: L.barlow,
|
|
16301
16301
|
fontWeight: O.bolder,
|
|
16302
|
-
fontSize:
|
|
16302
|
+
fontSize: I.desktop.title.spe.md,
|
|
16303
16303
|
lineHeight: M.desktop.title.md,
|
|
16304
16304
|
letterSpacing: Ee.md,
|
|
16305
16305
|
textTransform: "uppercase"
|
|
16306
16306
|
},
|
|
16307
16307
|
tablet: {
|
|
16308
|
-
fontFamily:
|
|
16308
|
+
fontFamily: L.barlow,
|
|
16309
16309
|
fontWeight: O.bolder,
|
|
16310
|
-
fontSize:
|
|
16310
|
+
fontSize: I.tablet.title.spe.md,
|
|
16311
16311
|
lineHeight: M.tablet.title.md,
|
|
16312
16312
|
letterSpacing: Ee.md,
|
|
16313
16313
|
textTransform: "uppercase"
|
|
16314
16314
|
},
|
|
16315
16315
|
mobile: {
|
|
16316
|
-
fontFamily:
|
|
16316
|
+
fontFamily: L.barlow,
|
|
16317
16317
|
fontWeight: O.bolder,
|
|
16318
|
-
fontSize:
|
|
16318
|
+
fontSize: I.mobile.title.spe.md,
|
|
16319
16319
|
lineHeight: M.mobile.title.md,
|
|
16320
16320
|
letterSpacing: Ee.md,
|
|
16321
16321
|
textTransform: "uppercase"
|
|
@@ -16323,45 +16323,45 @@ const K2 = {
|
|
|
16323
16323
|
},
|
|
16324
16324
|
"title.xs.default": {
|
|
16325
16325
|
desktop: {
|
|
16326
|
-
fontFamily:
|
|
16326
|
+
fontFamily: L.poppins,
|
|
16327
16327
|
fontWeight: O.bolder,
|
|
16328
|
-
fontSize:
|
|
16328
|
+
fontSize: I.desktop.title.xs,
|
|
16329
16329
|
lineHeight: M.desktop.title.xs
|
|
16330
16330
|
},
|
|
16331
16331
|
tablet: {
|
|
16332
|
-
fontFamily:
|
|
16332
|
+
fontFamily: L.poppins,
|
|
16333
16333
|
fontWeight: O.bolder,
|
|
16334
|
-
fontSize:
|
|
16334
|
+
fontSize: I.tablet.title.xs,
|
|
16335
16335
|
lineHeight: M.tablet.title.xs
|
|
16336
16336
|
},
|
|
16337
16337
|
mobile: {
|
|
16338
|
-
fontFamily:
|
|
16338
|
+
fontFamily: L.poppins,
|
|
16339
16339
|
fontWeight: O.bolder,
|
|
16340
|
-
fontSize:
|
|
16340
|
+
fontSize: I.mobile.title.xs,
|
|
16341
16341
|
lineHeight: M.mobile.title.xs
|
|
16342
16342
|
}
|
|
16343
16343
|
},
|
|
16344
16344
|
"title.xs.styled": {
|
|
16345
16345
|
desktop: {
|
|
16346
|
-
fontFamily:
|
|
16346
|
+
fontFamily: L.barlow,
|
|
16347
16347
|
fontWeight: O.bolder,
|
|
16348
|
-
fontSize:
|
|
16348
|
+
fontSize: I.desktop.title.spe.xs,
|
|
16349
16349
|
lineHeight: M.desktop.title.xs,
|
|
16350
16350
|
letterSpacing: Ee.md,
|
|
16351
16351
|
textTransform: "uppercase"
|
|
16352
16352
|
},
|
|
16353
16353
|
tablet: {
|
|
16354
|
-
fontFamily:
|
|
16354
|
+
fontFamily: L.barlow,
|
|
16355
16355
|
fontWeight: O.bolder,
|
|
16356
|
-
fontSize:
|
|
16356
|
+
fontSize: I.tablet.title.spe.xs,
|
|
16357
16357
|
lineHeight: M.tablet.title.xs,
|
|
16358
16358
|
letterSpacing: Ee.md,
|
|
16359
16359
|
textTransform: "uppercase"
|
|
16360
16360
|
},
|
|
16361
16361
|
mobile: {
|
|
16362
|
-
fontFamily:
|
|
16362
|
+
fontFamily: L.barlow,
|
|
16363
16363
|
fontWeight: O.bolder,
|
|
16364
|
-
fontSize:
|
|
16364
|
+
fontSize: I.mobile.title.spe.xs,
|
|
16365
16365
|
lineHeight: M.mobile.title.xs,
|
|
16366
16366
|
letterSpacing: Ee.md,
|
|
16367
16367
|
textTransform: "uppercase"
|
|
@@ -16369,45 +16369,45 @@ const K2 = {
|
|
|
16369
16369
|
},
|
|
16370
16370
|
"title.xl.default": {
|
|
16371
16371
|
desktop: {
|
|
16372
|
-
fontFamily:
|
|
16372
|
+
fontFamily: L.poppins,
|
|
16373
16373
|
fontWeight: O.bolder,
|
|
16374
|
-
fontSize:
|
|
16374
|
+
fontSize: I.desktop.title.xl,
|
|
16375
16375
|
lineHeight: M.desktop.title.xl
|
|
16376
16376
|
},
|
|
16377
16377
|
tablet: {
|
|
16378
|
-
fontFamily:
|
|
16378
|
+
fontFamily: L.poppins,
|
|
16379
16379
|
fontWeight: O.bolder,
|
|
16380
|
-
fontSize:
|
|
16380
|
+
fontSize: I.tablet.title.xl,
|
|
16381
16381
|
lineHeight: M.tablet.title.xl
|
|
16382
16382
|
},
|
|
16383
16383
|
mobile: {
|
|
16384
|
-
fontFamily:
|
|
16384
|
+
fontFamily: L.poppins,
|
|
16385
16385
|
fontWeight: O.bolder,
|
|
16386
|
-
fontSize:
|
|
16386
|
+
fontSize: I.mobile.title.xl,
|
|
16387
16387
|
lineHeight: M.mobile.title.xl
|
|
16388
16388
|
}
|
|
16389
16389
|
},
|
|
16390
16390
|
"title.xl.styled": {
|
|
16391
16391
|
desktop: {
|
|
16392
|
-
fontFamily:
|
|
16392
|
+
fontFamily: L.barlow,
|
|
16393
16393
|
fontWeight: O.bolder,
|
|
16394
|
-
fontSize:
|
|
16394
|
+
fontSize: I.desktop.title.spe.xl,
|
|
16395
16395
|
lineHeight: M.desktop.title.xl,
|
|
16396
16396
|
letterSpacing: Ee.md,
|
|
16397
16397
|
textTransform: "uppercase"
|
|
16398
16398
|
},
|
|
16399
16399
|
tablet: {
|
|
16400
|
-
fontFamily:
|
|
16400
|
+
fontFamily: L.barlow,
|
|
16401
16401
|
fontWeight: O.bolder,
|
|
16402
|
-
fontSize:
|
|
16402
|
+
fontSize: I.tablet.title.spe.xl,
|
|
16403
16403
|
lineHeight: M.tablet.title.xl,
|
|
16404
16404
|
letterSpacing: Ee.md,
|
|
16405
16405
|
textTransform: "uppercase"
|
|
16406
16406
|
},
|
|
16407
16407
|
mobile: {
|
|
16408
|
-
fontFamily:
|
|
16408
|
+
fontFamily: L.barlow,
|
|
16409
16409
|
fontWeight: O.bolder,
|
|
16410
|
-
fontSize:
|
|
16410
|
+
fontSize: I.mobile.title.spe.xl,
|
|
16411
16411
|
lineHeight: M.mobile.title.xl,
|
|
16412
16412
|
letterSpacing: Ee.md,
|
|
16413
16413
|
textTransform: "uppercase"
|
|
@@ -16415,45 +16415,45 @@ const K2 = {
|
|
|
16415
16415
|
},
|
|
16416
16416
|
"title.lg.default": {
|
|
16417
16417
|
desktop: {
|
|
16418
|
-
fontFamily:
|
|
16418
|
+
fontFamily: L.poppins,
|
|
16419
16419
|
fontWeight: O.bolder,
|
|
16420
|
-
fontSize:
|
|
16420
|
+
fontSize: I.desktop.title.lg,
|
|
16421
16421
|
lineHeight: M.desktop.title.lg
|
|
16422
16422
|
},
|
|
16423
16423
|
tablet: {
|
|
16424
|
-
fontFamily:
|
|
16424
|
+
fontFamily: L.poppins,
|
|
16425
16425
|
fontWeight: O.bolder,
|
|
16426
|
-
fontSize:
|
|
16426
|
+
fontSize: I.tablet.title.lg,
|
|
16427
16427
|
lineHeight: M.tablet.title.lg
|
|
16428
16428
|
},
|
|
16429
16429
|
mobile: {
|
|
16430
|
-
fontFamily:
|
|
16430
|
+
fontFamily: L.poppins,
|
|
16431
16431
|
fontWeight: O.bolder,
|
|
16432
|
-
fontSize:
|
|
16432
|
+
fontSize: I.mobile.title.lg,
|
|
16433
16433
|
lineHeight: M.mobile.title.lg
|
|
16434
16434
|
}
|
|
16435
16435
|
},
|
|
16436
16436
|
"title.lg.styled": {
|
|
16437
16437
|
desktop: {
|
|
16438
|
-
fontFamily:
|
|
16438
|
+
fontFamily: L.barlow,
|
|
16439
16439
|
fontWeight: O.bolder,
|
|
16440
|
-
fontSize:
|
|
16440
|
+
fontSize: I.desktop.title.spe.lg,
|
|
16441
16441
|
lineHeight: M.desktop.title.lg,
|
|
16442
16442
|
letterSpacing: Ee.md,
|
|
16443
16443
|
textTransform: "uppercase"
|
|
16444
16444
|
},
|
|
16445
16445
|
tablet: {
|
|
16446
|
-
fontFamily:
|
|
16446
|
+
fontFamily: L.barlow,
|
|
16447
16447
|
fontWeight: O.bolder,
|
|
16448
|
-
fontSize:
|
|
16448
|
+
fontSize: I.tablet.title.spe.lg,
|
|
16449
16449
|
lineHeight: M.tablet.title.lg,
|
|
16450
16450
|
letterSpacing: Ee.md,
|
|
16451
16451
|
textTransform: "uppercase"
|
|
16452
16452
|
},
|
|
16453
16453
|
mobile: {
|
|
16454
|
-
fontFamily:
|
|
16454
|
+
fontFamily: L.barlow,
|
|
16455
16455
|
fontWeight: O.bolder,
|
|
16456
|
-
fontSize:
|
|
16456
|
+
fontSize: I.mobile.title.spe.lg,
|
|
16457
16457
|
lineHeight: M.mobile.title.lg,
|
|
16458
16458
|
letterSpacing: Ee.md,
|
|
16459
16459
|
textTransform: "uppercase"
|
|
@@ -16461,45 +16461,45 @@ const K2 = {
|
|
|
16461
16461
|
},
|
|
16462
16462
|
"title.sm.default": {
|
|
16463
16463
|
desktop: {
|
|
16464
|
-
fontFamily:
|
|
16464
|
+
fontFamily: L.poppins,
|
|
16465
16465
|
fontWeight: O.bolder,
|
|
16466
|
-
fontSize:
|
|
16466
|
+
fontSize: I.desktop.title.sm,
|
|
16467
16467
|
lineHeight: M.desktop.title.sm
|
|
16468
16468
|
},
|
|
16469
16469
|
tablet: {
|
|
16470
|
-
fontFamily:
|
|
16470
|
+
fontFamily: L.poppins,
|
|
16471
16471
|
fontWeight: O.bolder,
|
|
16472
|
-
fontSize:
|
|
16472
|
+
fontSize: I.tablet.title.sm,
|
|
16473
16473
|
lineHeight: M.tablet.title.sm
|
|
16474
16474
|
},
|
|
16475
16475
|
mobile: {
|
|
16476
|
-
fontFamily:
|
|
16476
|
+
fontFamily: L.poppins,
|
|
16477
16477
|
fontWeight: O.bolder,
|
|
16478
|
-
fontSize:
|
|
16478
|
+
fontSize: I.mobile.title.sm,
|
|
16479
16479
|
lineHeight: M.mobile.title.sm
|
|
16480
16480
|
}
|
|
16481
16481
|
},
|
|
16482
16482
|
"title.sm.styled": {
|
|
16483
16483
|
desktop: {
|
|
16484
|
-
fontFamily:
|
|
16484
|
+
fontFamily: L.barlow,
|
|
16485
16485
|
fontWeight: O.bolder,
|
|
16486
|
-
fontSize:
|
|
16486
|
+
fontSize: I.desktop.title.spe.sm,
|
|
16487
16487
|
lineHeight: M.desktop.title.sm,
|
|
16488
16488
|
letterSpacing: Ee.md,
|
|
16489
16489
|
textTransform: "uppercase"
|
|
16490
16490
|
},
|
|
16491
16491
|
tablet: {
|
|
16492
|
-
fontFamily:
|
|
16492
|
+
fontFamily: L.barlow,
|
|
16493
16493
|
fontWeight: O.bolder,
|
|
16494
|
-
fontSize:
|
|
16494
|
+
fontSize: I.tablet.title.spe.sm,
|
|
16495
16495
|
lineHeight: M.tablet.title.sm,
|
|
16496
16496
|
letterSpacing: Ee.md,
|
|
16497
16497
|
textTransform: "uppercase"
|
|
16498
16498
|
},
|
|
16499
16499
|
mobile: {
|
|
16500
|
-
fontFamily:
|
|
16500
|
+
fontFamily: L.barlow,
|
|
16501
16501
|
fontWeight: O.bolder,
|
|
16502
|
-
fontSize:
|
|
16502
|
+
fontSize: I.mobile.title.spe.sm,
|
|
16503
16503
|
lineHeight: M.mobile.title.sm,
|
|
16504
16504
|
letterSpacing: Ee.md,
|
|
16505
16505
|
textTransform: "uppercase"
|
|
@@ -16507,8 +16507,8 @@ const K2 = {
|
|
|
16507
16507
|
}
|
|
16508
16508
|
}, ny = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16509
16509
|
__proto__: null,
|
|
16510
|
-
fontFamilies:
|
|
16511
|
-
fontSizes:
|
|
16510
|
+
fontFamilies: L,
|
|
16511
|
+
fontSizes: I,
|
|
16512
16512
|
fontWeights: O,
|
|
16513
16513
|
letterSpacings: Ee,
|
|
16514
16514
|
lineHeights: M,
|
|
@@ -16799,7 +16799,7 @@ function Yi(t, r) {
|
|
|
16799
16799
|
writable: !1
|
|
16800
16800
|
}), r && us(t, r);
|
|
16801
16801
|
}
|
|
16802
|
-
function
|
|
16802
|
+
function Ar(t, r) {
|
|
16803
16803
|
if (r && (ze(r) === "object" || typeof r == "function"))
|
|
16804
16804
|
return r;
|
|
16805
16805
|
if (r !== void 0)
|
|
@@ -16811,7 +16811,7 @@ function at(t) {
|
|
|
16811
16811
|
return e.__proto__ || Object.getPrototypeOf(e);
|
|
16812
16812
|
}, at(t);
|
|
16813
16813
|
}
|
|
16814
|
-
function
|
|
16814
|
+
function It(t, r, e) {
|
|
16815
16815
|
return r = fd(r), r in t ? Object.defineProperty(t, r, {
|
|
16816
16816
|
value: e,
|
|
16817
16817
|
enumerable: !0,
|
|
@@ -16859,7 +16859,7 @@ function tc(t) {
|
|
|
16859
16859
|
for (var r = 1; r < arguments.length; r++) {
|
|
16860
16860
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
16861
16861
|
r % 2 ? ec(Object(e), !0).forEach(function(n) {
|
|
16862
|
-
|
|
16862
|
+
It(t, n, e[n]);
|
|
16863
16863
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ec(Object(e)).forEach(function(n) {
|
|
16864
16864
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
16865
16865
|
});
|
|
@@ -17106,11 +17106,11 @@ function ic(t, r) {
|
|
|
17106
17106
|
}
|
|
17107
17107
|
return e;
|
|
17108
17108
|
}
|
|
17109
|
-
function
|
|
17109
|
+
function Br(t) {
|
|
17110
17110
|
for (var r = 1; r < arguments.length; r++) {
|
|
17111
17111
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
17112
17112
|
r % 2 ? ic(Object(e), !0).forEach(function(n) {
|
|
17113
|
-
|
|
17113
|
+
It(t, n, e[n]);
|
|
17114
17114
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ic(Object(e)).forEach(function(n) {
|
|
17115
17115
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
17116
17116
|
});
|
|
@@ -17126,7 +17126,7 @@ function wy(t) {
|
|
|
17126
17126
|
i = Reflect.construct(n, arguments, a);
|
|
17127
17127
|
} else
|
|
17128
17128
|
i = n.apply(this, arguments);
|
|
17129
|
-
return
|
|
17129
|
+
return Ar(this, i);
|
|
17130
17130
|
};
|
|
17131
17131
|
}
|
|
17132
17132
|
function ky() {
|
|
@@ -17196,7 +17196,7 @@ var _y = function(t) {
|
|
|
17196
17196
|
}, u = [i, a];
|
|
17197
17197
|
i.indexOf(".") > -1 && (u = i.split("."), o = s, s = a, a = u[1]), this.addNamespaces(a);
|
|
17198
17198
|
var d = bi(this.data, u) || {};
|
|
17199
|
-
o ? md(d, s, l) : d =
|
|
17199
|
+
o ? md(d, s, l) : d = Br(Br({}, d), s), rc(this.data, u, d), c.silent || this.emit("added", i, a, s);
|
|
17200
17200
|
}
|
|
17201
17201
|
}, {
|
|
17202
17202
|
key: "removeResourceBundle",
|
|
@@ -17211,7 +17211,7 @@ var _y = function(t) {
|
|
|
17211
17211
|
}, {
|
|
17212
17212
|
key: "getResourceBundle",
|
|
17213
17213
|
value: function(i, a) {
|
|
17214
|
-
return a || (a = this.options.defaultNS), this.options.compatibilityAPI === "v1" ?
|
|
17214
|
+
return a || (a = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? Br(Br({}, {}), this.getResource(i, a)) : this.getResource(i, a);
|
|
17215
17215
|
}
|
|
17216
17216
|
}, {
|
|
17217
17217
|
key: "getDataByLanguage",
|
|
@@ -17258,7 +17258,7 @@ function xe(t) {
|
|
|
17258
17258
|
for (var r = 1; r < arguments.length; r++) {
|
|
17259
17259
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
17260
17260
|
r % 2 ? ac(Object(e), !0).forEach(function(n) {
|
|
17261
|
-
|
|
17261
|
+
It(t, n, e[n]);
|
|
17262
17262
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : ac(Object(e)).forEach(function(n) {
|
|
17263
17263
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
17264
17264
|
});
|
|
@@ -17274,7 +17274,7 @@ function Sy(t) {
|
|
|
17274
17274
|
i = Reflect.construct(n, arguments, a);
|
|
17275
17275
|
} else
|
|
17276
17276
|
i = n.apply(this, arguments);
|
|
17277
|
-
return
|
|
17277
|
+
return Ar(this, i);
|
|
17278
17278
|
};
|
|
17279
17279
|
}
|
|
17280
17280
|
function Cy() {
|
|
@@ -17367,7 +17367,7 @@ var sc = {}, oc = function(t) {
|
|
|
17367
17367
|
return l ? (v.res = le, v) : le;
|
|
17368
17368
|
}
|
|
17369
17369
|
if (c) {
|
|
17370
|
-
var
|
|
17370
|
+
var Ie = R === "[object Array]", K = Ie ? [] : {}, ge = Ie ? $ : _;
|
|
17371
17371
|
for (var Y in b)
|
|
17372
17372
|
if (Object.prototype.hasOwnProperty.call(b, Y)) {
|
|
17373
17373
|
var He = "".concat(ge).concat(c).concat(Y);
|
|
@@ -17506,7 +17506,7 @@ var sc = {}, oc = function(t) {
|
|
|
17506
17506
|
}
|
|
17507
17507
|
}]), e;
|
|
17508
17508
|
}(xt);
|
|
17509
|
-
function
|
|
17509
|
+
function Ia(t) {
|
|
17510
17510
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
17511
17511
|
}
|
|
17512
17512
|
var lc = function() {
|
|
@@ -17534,7 +17534,7 @@ var lc = function() {
|
|
|
17534
17534
|
var n = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"], i = e.split("-");
|
|
17535
17535
|
return this.options.lowerCaseLng ? i = i.map(function(a) {
|
|
17536
17536
|
return a.toLowerCase();
|
|
17537
|
-
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] =
|
|
17537
|
+
}) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Ia(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), n.indexOf(i[1].toLowerCase()) > -1 && (i[1] = Ia(i[1].toLowerCase())), n.indexOf(i[2].toLowerCase()) > -1 && (i[2] = Ia(i[2].toLowerCase()))), i.join("-");
|
|
17538
17538
|
}
|
|
17539
17539
|
return this.options.cleanCode || this.options.lowerCaseLng ? e.toLowerCase() : e;
|
|
17540
17540
|
}
|
|
@@ -17851,7 +17851,7 @@ function Ke(t) {
|
|
|
17851
17851
|
for (var r = 1; r < arguments.length; r++) {
|
|
17852
17852
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
17853
17853
|
r % 2 ? uc(Object(e), !0).forEach(function(n) {
|
|
17854
|
-
|
|
17854
|
+
It(t, n, e[n]);
|
|
17855
17855
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : uc(Object(e)).forEach(function(n) {
|
|
17856
17856
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
17857
17857
|
});
|
|
@@ -17999,14 +17999,14 @@ function dt(t) {
|
|
|
17999
17999
|
for (var r = 1; r < arguments.length; r++) {
|
|
18000
18000
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
18001
18001
|
r % 2 ? hc(Object(e), !0).forEach(function(n) {
|
|
18002
|
-
|
|
18002
|
+
It(t, n, e[n]);
|
|
18003
18003
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : hc(Object(e)).forEach(function(n) {
|
|
18004
18004
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
18005
18005
|
});
|
|
18006
18006
|
}
|
|
18007
18007
|
return t;
|
|
18008
18008
|
}
|
|
18009
|
-
function
|
|
18009
|
+
function Iy(t) {
|
|
18010
18010
|
var r = t.toLowerCase().trim(), e = {};
|
|
18011
18011
|
if (t.indexOf("(") > -1) {
|
|
18012
18012
|
var n = t.split("(");
|
|
@@ -18038,7 +18038,7 @@ function rn(t) {
|
|
|
18038
18038
|
return o || (o = t(i, a), r[s] = o), o(n);
|
|
18039
18039
|
};
|
|
18040
18040
|
}
|
|
18041
|
-
var
|
|
18041
|
+
var Ly = function() {
|
|
18042
18042
|
function t() {
|
|
18043
18043
|
var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
18044
18044
|
ot(this, t), this.logger = nt.create("formatter"), this.options = r, this.formats = {
|
|
@@ -18098,7 +18098,7 @@ var Iy = function() {
|
|
|
18098
18098
|
key: "format",
|
|
18099
18099
|
value: function(e, n, i) {
|
|
18100
18100
|
var a = this, s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, o = n.split(this.formatSeparator), l = o.reduce(function(c, u) {
|
|
18101
|
-
var d =
|
|
18101
|
+
var d = Iy(u), h = d.formatName, p = d.formatOptions;
|
|
18102
18102
|
if (a.formats[h]) {
|
|
18103
18103
|
var f = c;
|
|
18104
18104
|
try {
|
|
@@ -18130,7 +18130,7 @@ function fc(t) {
|
|
|
18130
18130
|
for (var r = 1; r < arguments.length; r++) {
|
|
18131
18131
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
18132
18132
|
r % 2 ? pc(Object(e), !0).forEach(function(n) {
|
|
18133
|
-
|
|
18133
|
+
It(t, n, e[n]);
|
|
18134
18134
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : pc(Object(e)).forEach(function(n) {
|
|
18135
18135
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
18136
18136
|
});
|
|
@@ -18146,7 +18146,7 @@ function My(t) {
|
|
|
18146
18146
|
i = Reflect.construct(n, arguments, a);
|
|
18147
18147
|
} else
|
|
18148
18148
|
i = n.apply(this, arguments);
|
|
18149
|
-
return
|
|
18149
|
+
return Ar(this, i);
|
|
18150
18150
|
};
|
|
18151
18151
|
}
|
|
18152
18152
|
function Py() {
|
|
@@ -18396,7 +18396,7 @@ function Qe(t) {
|
|
|
18396
18396
|
for (var r = 1; r < arguments.length; r++) {
|
|
18397
18397
|
var e = arguments[r] != null ? arguments[r] : {};
|
|
18398
18398
|
r % 2 ? vc(Object(e), !0).forEach(function(n) {
|
|
18399
|
-
|
|
18399
|
+
It(t, n, e[n]);
|
|
18400
18400
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : vc(Object(e)).forEach(function(n) {
|
|
18401
18401
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(e, n));
|
|
18402
18402
|
});
|
|
@@ -18412,7 +18412,7 @@ function Ny(t) {
|
|
|
18412
18412
|
i = Reflect.construct(n, arguments, a);
|
|
18413
18413
|
} else
|
|
18414
18414
|
i = n.apply(this, arguments);
|
|
18415
|
-
return
|
|
18415
|
+
return Ar(this, i);
|
|
18416
18416
|
};
|
|
18417
18417
|
}
|
|
18418
18418
|
function Dy() {
|
|
@@ -18425,7 +18425,7 @@ function Dy() {
|
|
|
18425
18425
|
return !1;
|
|
18426
18426
|
}
|
|
18427
18427
|
}
|
|
18428
|
-
function
|
|
18428
|
+
function Hr() {
|
|
18429
18429
|
}
|
|
18430
18430
|
function By(t) {
|
|
18431
18431
|
var r = Object.getOwnPropertyNames(Object.getPrototypeOf(t));
|
|
@@ -18442,7 +18442,7 @@ var ki = function(t) {
|
|
|
18442
18442
|
external: []
|
|
18443
18443
|
}, By(kt(n)), a && !n.isInitialized && !i.isClone) {
|
|
18444
18444
|
if (!n.options.initImmediate)
|
|
18445
|
-
return n.init(i, a),
|
|
18445
|
+
return n.init(i, a), Ar(n, kt(n));
|
|
18446
18446
|
setTimeout(function() {
|
|
18447
18447
|
n.init(i, a);
|
|
18448
18448
|
}, 0);
|
|
@@ -18462,7 +18462,7 @@ var ki = function(t) {
|
|
|
18462
18462
|
if (!this.options.isClone) {
|
|
18463
18463
|
this.modules.logger ? nt.init(l(this.modules.logger), this.options) : nt.init(null, this.options);
|
|
18464
18464
|
var c;
|
|
18465
|
-
this.modules.formatter ? c = this.modules.formatter : typeof Intl < "u" && (c =
|
|
18465
|
+
this.modules.formatter ? c = this.modules.formatter : typeof Intl < "u" && (c = Ly);
|
|
18466
18466
|
var u = new lc(this.options);
|
|
18467
18467
|
this.store = new _y(this.options.resources, this.options);
|
|
18468
18468
|
var d = this.services;
|
|
@@ -18484,7 +18484,7 @@ var ki = function(t) {
|
|
|
18484
18484
|
v.init && v.init(i);
|
|
18485
18485
|
});
|
|
18486
18486
|
}
|
|
18487
|
-
if (this.format = this.options.interpolation.format, s || (s =
|
|
18487
|
+
if (this.format = this.options.interpolation.format, s || (s = Hr), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
18488
18488
|
var h = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
18489
18489
|
h.length > 0 && h[0] !== "dev" && (this.options.lng = h[0]);
|
|
18490
18490
|
}
|
|
@@ -18515,7 +18515,7 @@ var ki = function(t) {
|
|
|
18515
18515
|
}, {
|
|
18516
18516
|
key: "loadResources",
|
|
18517
18517
|
value: function(i) {
|
|
18518
|
-
var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
18518
|
+
var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Hr, o = s, l = typeof i == "string" ? i : this.language;
|
|
18519
18519
|
if (typeof i == "function" && (o = i), !this.options.resources || this.options.partialBundledLanguages) {
|
|
18520
18520
|
if (l && l.toLowerCase() === "cimode") return o();
|
|
18521
18521
|
var c = [], u = function(p) {
|
|
@@ -18546,7 +18546,7 @@ var ki = function(t) {
|
|
|
18546
18546
|
key: "reloadResources",
|
|
18547
18547
|
value: function(i, a, s) {
|
|
18548
18548
|
var o = Fn();
|
|
18549
|
-
return i || (i = this.languages), a || (a = this.options.ns), s || (s =
|
|
18549
|
+
return i || (i = this.languages), a || (a = this.options.ns), s || (s = Hr), this.services.backendConnector.reload(i, a, function(l) {
|
|
18550
18550
|
o.resolve(), s(l);
|
|
18551
18551
|
}), o;
|
|
18552
18552
|
}
|
|
@@ -18681,7 +18681,7 @@ var ki = function(t) {
|
|
|
18681
18681
|
}, {
|
|
18682
18682
|
key: "cloneInstance",
|
|
18683
18683
|
value: function() {
|
|
18684
|
-
var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
18684
|
+
var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Hr, o = Qe(Qe(Qe({}, this.options), a), {
|
|
18685
18685
|
isClone: !0
|
|
18686
18686
|
}), l = new e(o);
|
|
18687
18687
|
(a.debug !== void 0 || a.prefix !== void 0) && (l.logger = l.logger.clone(a));
|
|
@@ -18711,7 +18711,7 @@ var ki = function(t) {
|
|
|
18711
18711
|
}
|
|
18712
18712
|
}]), e;
|
|
18713
18713
|
}(xt);
|
|
18714
|
-
|
|
18714
|
+
It(ki, "createInstance", function() {
|
|
18715
18715
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
18716
18716
|
return new ki(t, r);
|
|
18717
18717
|
});
|
|
@@ -18725,7 +18725,7 @@ Se.reloadResources;
|
|
|
18725
18725
|
Se.use;
|
|
18726
18726
|
Se.changeLanguage;
|
|
18727
18727
|
Se.getFixedT;
|
|
18728
|
-
var
|
|
18728
|
+
var Re = Se.t;
|
|
18729
18729
|
Se.exists;
|
|
18730
18730
|
Se.setDefaultNamespace;
|
|
18731
18731
|
Se.hasLoadedNamespace;
|
|
@@ -18751,7 +18751,7 @@ const Hy = {
|
|
|
18751
18751
|
* Copyright 2017 Google LLC
|
|
18752
18752
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
18753
18753
|
*/
|
|
18754
|
-
const
|
|
18754
|
+
const La = { INITIAL: 0, PENDING: 1, COMPLETE: 2, ERROR: 3 }, jy = Symbol();
|
|
18755
18755
|
let vd = class {
|
|
18756
18756
|
get taskComplete() {
|
|
18757
18757
|
return this.t || (this.i === 1 ? this.t = new Promise((r, e) => {
|
|
@@ -18932,7 +18932,7 @@ var Ys = {};
|
|
|
18932
18932
|
*/
|
|
18933
18933
|
Ys.parse = Jy;
|
|
18934
18934
|
Ys.serialize = Zy;
|
|
18935
|
-
var Ky = Object.prototype.toString,
|
|
18935
|
+
var Ky = Object.prototype.toString, jr = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
|
|
18936
18936
|
function Jy(t, r) {
|
|
18937
18937
|
if (typeof t != "string")
|
|
18938
18938
|
throw new TypeError("argument str must be a string");
|
|
@@ -18960,10 +18960,10 @@ function Zy(t, r, e) {
|
|
|
18960
18960
|
var n = e || {}, i = n.encode || Xy;
|
|
18961
18961
|
if (typeof i != "function")
|
|
18962
18962
|
throw new TypeError("option encode is invalid");
|
|
18963
|
-
if (!
|
|
18963
|
+
if (!jr.test(t))
|
|
18964
18964
|
throw new TypeError("argument name is invalid");
|
|
18965
18965
|
var a = i(r);
|
|
18966
|
-
if (a && !
|
|
18966
|
+
if (a && !jr.test(a))
|
|
18967
18967
|
throw new TypeError("argument val is invalid");
|
|
18968
18968
|
var s = t + "=" + a;
|
|
18969
18969
|
if (n.maxAge != null) {
|
|
@@ -18973,12 +18973,12 @@ function Zy(t, r, e) {
|
|
|
18973
18973
|
s += "; Max-Age=" + Math.floor(o);
|
|
18974
18974
|
}
|
|
18975
18975
|
if (n.domain) {
|
|
18976
|
-
if (!
|
|
18976
|
+
if (!jr.test(n.domain))
|
|
18977
18977
|
throw new TypeError("option domain is invalid");
|
|
18978
18978
|
s += "; Domain=" + n.domain;
|
|
18979
18979
|
}
|
|
18980
18980
|
if (n.path) {
|
|
18981
|
-
if (!
|
|
18981
|
+
if (!jr.test(n.path))
|
|
18982
18982
|
throw new TypeError("option path is invalid");
|
|
18983
18983
|
s += "; Path=" + n.path;
|
|
18984
18984
|
}
|
|
@@ -19086,9 +19086,9 @@ function bd(t, r) {
|
|
|
19086
19086
|
const { toString: ib } = Object.prototype, { getPrototypeOf: Qs } = Object, Qi = /* @__PURE__ */ ((t) => (r) => {
|
|
19087
19087
|
const e = ib.call(r);
|
|
19088
19088
|
return t[e] || (t[e] = e.slice(8, -1).toLowerCase());
|
|
19089
|
-
})(/* @__PURE__ */ Object.create(null)), ct = (t) => (t = t.toLowerCase(), (r) => Qi(r) === t), ea = (t) => (r) => typeof r === t, { isArray: Rn } = Array,
|
|
19089
|
+
})(/* @__PURE__ */ Object.create(null)), ct = (t) => (t = t.toLowerCase(), (r) => Qi(r) === t), ea = (t) => (r) => typeof r === t, { isArray: Rn } = Array, fr = ea("undefined");
|
|
19090
19090
|
function ab(t) {
|
|
19091
|
-
return t !== null && !
|
|
19091
|
+
return t !== null && !fr(t) && t.constructor !== null && !fr(t.constructor) && qe(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
19092
19092
|
}
|
|
19093
19093
|
const wd = ct("ArrayBuffer");
|
|
19094
19094
|
function sb(t) {
|
|
@@ -19105,7 +19105,7 @@ const ob = ea("string"), qe = ea("function"), kd = ea("number"), ta = (t) => t !
|
|
|
19105
19105
|
return t && (typeof FormData == "function" && t instanceof FormData || qe(t.append) && ((r = Qi(t)) === "formdata" || // detect form-data instance
|
|
19106
19106
|
r === "object" && qe(t.toString) && t.toString() === "[object FormData]"));
|
|
19107
19107
|
}, mb = ct("URLSearchParams"), gb = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
19108
|
-
function
|
|
19108
|
+
function Tr(t, r, { allOwnKeys: e = !1 } = {}) {
|
|
19109
19109
|
if (t === null || typeof t > "u")
|
|
19110
19110
|
return;
|
|
19111
19111
|
let n, i;
|
|
@@ -19128,17 +19128,17 @@ function _d(t, r) {
|
|
|
19128
19128
|
return i;
|
|
19129
19129
|
return null;
|
|
19130
19130
|
}
|
|
19131
|
-
const Sd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Cd = (t) => !
|
|
19131
|
+
const Sd = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Cd = (t) => !fr(t) && t !== Sd;
|
|
19132
19132
|
function hs() {
|
|
19133
19133
|
const { caseless: t } = Cd(this) && this || {}, r = {}, e = (n, i) => {
|
|
19134
19134
|
const a = t && _d(r, i) || i;
|
|
19135
19135
|
Xr(r[a]) && Xr(n) ? r[a] = hs(r[a], n) : Xr(n) ? r[a] = hs({}, n) : Rn(n) ? r[a] = n.slice() : r[a] = n;
|
|
19136
19136
|
};
|
|
19137
19137
|
for (let n = 0, i = arguments.length; n < i; n++)
|
|
19138
|
-
arguments[n] &&
|
|
19138
|
+
arguments[n] && Tr(arguments[n], e);
|
|
19139
19139
|
return r;
|
|
19140
19140
|
}
|
|
19141
|
-
const vb = (t, r, e, { allOwnKeys: n } = {}) => (
|
|
19141
|
+
const vb = (t, r, e, { allOwnKeys: n } = {}) => (Tr(r, (i, a) => {
|
|
19142
19142
|
e && qe(i) ? t[a] = bd(i, e) : t[a] = i;
|
|
19143
19143
|
}, { allOwnKeys: n }), t), yb = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), bb = (t, r, e, n) => {
|
|
19144
19144
|
t.prototype = Object.create(r.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
@@ -19187,7 +19187,7 @@ const vb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
|
|
|
19187
19187
|
}
|
|
19188
19188
|
), yc = (({ hasOwnProperty: t }) => (r, e) => t.call(r, e))(Object.prototype), Tb = ct("RegExp"), xd = (t, r) => {
|
|
19189
19189
|
const e = Object.getOwnPropertyDescriptors(t), n = {};
|
|
19190
|
-
|
|
19190
|
+
Tr(e, (i, a) => {
|
|
19191
19191
|
let s;
|
|
19192
19192
|
(s = r(i, a, t)) !== !1 && (n[a] = s || i);
|
|
19193
19193
|
}), Object.defineProperties(t, n);
|
|
@@ -19213,8 +19213,8 @@ const vb = (t, r, e, { allOwnKeys: n } = {}) => (Ar(r, (i, a) => {
|
|
|
19213
19213
|
});
|
|
19214
19214
|
};
|
|
19215
19215
|
return Rn(t) ? n(t) : n(String(t).split(r)), e;
|
|
19216
|
-
},
|
|
19217
|
-
},
|
|
19216
|
+
}, Ib = () => {
|
|
19217
|
+
}, Lb = (t, r) => (t = +t, Number.isFinite(t) ? t : r), Pa = "abcdefghijklmnopqrstuvwxyz", bc = "0123456789", Ed = {
|
|
19218
19218
|
DIGIT: bc,
|
|
19219
19219
|
ALPHA: Pa,
|
|
19220
19220
|
ALPHA_DIGIT: Pa + Pa.toUpperCase() + bc
|
|
@@ -19236,9 +19236,9 @@ const Fb = (t) => {
|
|
|
19236
19236
|
if (!("toJSON" in n)) {
|
|
19237
19237
|
r[i] = n;
|
|
19238
19238
|
const a = Rn(n) ? [] : {};
|
|
19239
|
-
return
|
|
19239
|
+
return Tr(n, (s, o) => {
|
|
19240
19240
|
const l = e(s, i + 1);
|
|
19241
|
-
!
|
|
19241
|
+
!fr(l) && (a[o] = l);
|
|
19242
19242
|
}), r[i] = void 0, a;
|
|
19243
19243
|
}
|
|
19244
19244
|
}
|
|
@@ -19256,7 +19256,7 @@ const Fb = (t) => {
|
|
|
19256
19256
|
isBoolean: lb,
|
|
19257
19257
|
isObject: ta,
|
|
19258
19258
|
isPlainObject: Xr,
|
|
19259
|
-
isUndefined:
|
|
19259
|
+
isUndefined: fr,
|
|
19260
19260
|
isDate: cb,
|
|
19261
19261
|
isFile: ub,
|
|
19262
19262
|
isBlob: db,
|
|
@@ -19266,7 +19266,7 @@ const Fb = (t) => {
|
|
|
19266
19266
|
isURLSearchParams: mb,
|
|
19267
19267
|
isTypedArray: Sb,
|
|
19268
19268
|
isFileList: hb,
|
|
19269
|
-
forEach:
|
|
19269
|
+
forEach: Tr,
|
|
19270
19270
|
merge: hs,
|
|
19271
19271
|
extend: vb,
|
|
19272
19272
|
trim: gb,
|
|
@@ -19287,8 +19287,8 @@ const Fb = (t) => {
|
|
|
19287
19287
|
freezeMethods: Rb,
|
|
19288
19288
|
toObjectSet: Ob,
|
|
19289
19289
|
toCamelCase: Ab,
|
|
19290
|
-
noop:
|
|
19291
|
-
toFiniteNumber:
|
|
19290
|
+
noop: Ib,
|
|
19291
|
+
toFiniteNumber: Lb,
|
|
19292
19292
|
findKey: _d,
|
|
19293
19293
|
global: Sd,
|
|
19294
19294
|
isContextDefined: Cd,
|
|
@@ -19460,7 +19460,7 @@ Od.toString = function(r) {
|
|
|
19460
19460
|
function jb(t) {
|
|
19461
19461
|
return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
19462
19462
|
}
|
|
19463
|
-
function
|
|
19463
|
+
function Id(t, r, e) {
|
|
19464
19464
|
if (!r)
|
|
19465
19465
|
return t;
|
|
19466
19466
|
const n = e && e.encode || jb, i = e && e.serialize;
|
|
@@ -19525,7 +19525,7 @@ class _c {
|
|
|
19525
19525
|
});
|
|
19526
19526
|
}
|
|
19527
19527
|
}
|
|
19528
|
-
const
|
|
19528
|
+
const Ld = {
|
|
19529
19529
|
silentJSONParsing: !0,
|
|
19530
19530
|
forcedJSONParsing: !0,
|
|
19531
19531
|
clarifyTimeoutError: !1
|
|
@@ -19591,8 +19591,8 @@ function Xb(t, r, e) {
|
|
|
19591
19591
|
}
|
|
19592
19592
|
return (e || JSON.stringify)(t);
|
|
19593
19593
|
}
|
|
19594
|
-
const
|
|
19595
|
-
transitional:
|
|
19594
|
+
const Rr = {
|
|
19595
|
+
transitional: Ld,
|
|
19596
19596
|
adapter: ["xhr", "http"],
|
|
19597
19597
|
transformRequest: [function(r, e) {
|
|
19598
19598
|
const n = e.getContentType() || "", i = n.indexOf("application/json") > -1, a = E.isObject(r);
|
|
@@ -19620,7 +19620,7 @@ const Tr = {
|
|
|
19620
19620
|
return a || i ? (e.setContentType("application/json", !1), Xb(r)) : r;
|
|
19621
19621
|
}],
|
|
19622
19622
|
transformResponse: [function(r) {
|
|
19623
|
-
const e = this.transitional ||
|
|
19623
|
+
const e = this.transitional || Rr.transitional, n = e && e.forcedJSONParsing, i = this.responseType === "json";
|
|
19624
19624
|
if (r && E.isString(r) && (n && !this.responseType || i)) {
|
|
19625
19625
|
const s = !(e && e.silentJSONParsing) && i;
|
|
19626
19626
|
try {
|
|
@@ -19656,7 +19656,7 @@ const Tr = {
|
|
|
19656
19656
|
}
|
|
19657
19657
|
};
|
|
19658
19658
|
E.forEach(["delete", "get", "head", "post", "put", "patch"], (t) => {
|
|
19659
|
-
|
|
19659
|
+
Rr.headers[t] = {};
|
|
19660
19660
|
});
|
|
19661
19661
|
const Qb = E.toObjectSet([
|
|
19662
19662
|
"age",
|
|
@@ -19843,7 +19843,7 @@ E.reduceDescriptors(Ve.prototype, ({ value: t }, r) => {
|
|
|
19843
19843
|
});
|
|
19844
19844
|
E.freezeMethods(Ve);
|
|
19845
19845
|
function $a(t, r) {
|
|
19846
|
-
const e = this ||
|
|
19846
|
+
const e = this || Rr, n = r || e, i = Ve.from(n.headers);
|
|
19847
19847
|
let a = n.data;
|
|
19848
19848
|
return E.forEach(t, function(o) {
|
|
19849
19849
|
a = o.call(e, a, i.normalize(), r ? r.status : void 0);
|
|
@@ -19852,10 +19852,10 @@ function $a(t, r) {
|
|
|
19852
19852
|
function Fd(t) {
|
|
19853
19853
|
return !!(t && t.__CANCEL__);
|
|
19854
19854
|
}
|
|
19855
|
-
function
|
|
19855
|
+
function Or(t, r, e) {
|
|
19856
19856
|
ae.call(this, t ?? "canceled", ae.ERR_CANCELED, r, e), this.name = "CanceledError";
|
|
19857
19857
|
}
|
|
19858
|
-
E.inherits(
|
|
19858
|
+
E.inherits(Or, ae, {
|
|
19859
19859
|
__CANCEL__: !0
|
|
19860
19860
|
});
|
|
19861
19861
|
function a3(t, r, e) {
|
|
@@ -19997,7 +19997,7 @@ const h3 = typeof XMLHttpRequest < "u", p3 = h3 && function(t) {
|
|
|
19997
19997
|
a.set("Authorization", "Basic " + btoa(g + ":" + y));
|
|
19998
19998
|
}
|
|
19999
19999
|
const h = $d(t.baseURL, t.url);
|
|
20000
|
-
d.open(t.method.toUpperCase(),
|
|
20000
|
+
d.open(t.method.toUpperCase(), Id(h, t.params, t.paramsSerializer), !0), d.timeout = t.timeout;
|
|
20001
20001
|
function p() {
|
|
20002
20002
|
if (!d)
|
|
20003
20003
|
return;
|
|
@@ -20025,7 +20025,7 @@ const h3 = typeof XMLHttpRequest < "u", p3 = h3 && function(t) {
|
|
|
20025
20025
|
n(new ae("Network Error", ae.ERR_NETWORK, t, d)), d = null;
|
|
20026
20026
|
}, d.ontimeout = function() {
|
|
20027
20027
|
let y = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
|
|
20028
|
-
const v = t.transitional ||
|
|
20028
|
+
const v = t.transitional || Ld;
|
|
20029
20029
|
t.timeoutErrorMessage && (y = t.timeoutErrorMessage), n(new ae(
|
|
20030
20030
|
y,
|
|
20031
20031
|
v.clarifyTimeoutError ? ae.ETIMEDOUT : ae.ECONNABORTED,
|
|
@@ -20039,7 +20039,7 @@ const h3 = typeof XMLHttpRequest < "u", p3 = h3 && function(t) {
|
|
|
20039
20039
|
i === void 0 && a.setContentType(null), "setRequestHeader" in d && E.forEach(a.toJSON(), function(y, v) {
|
|
20040
20040
|
d.setRequestHeader(v, y);
|
|
20041
20041
|
}), E.isUndefined(t.withCredentials) || (d.withCredentials = !!t.withCredentials), s && s !== "json" && (d.responseType = t.responseType), typeof t.onDownloadProgress == "function" && d.addEventListener("progress", Cc(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Cc(t.onUploadProgress)), (t.cancelToken || t.signal) && (l = (g) => {
|
|
20042
|
-
d && (n(!g || g.type ? new
|
|
20042
|
+
d && (n(!g || g.type ? new Or(null, t, d) : g), d.abort(), d = null);
|
|
20043
20043
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
20044
20044
|
const f = u3(h);
|
|
20045
20045
|
if (f && rt.protocols.indexOf(f) === -1) {
|
|
@@ -20094,13 +20094,13 @@ const xc = (t) => `- ${t}`, f3 = (t) => E.isFunction(t) || t === null || t === !
|
|
|
20094
20094
|
};
|
|
20095
20095
|
function Na(t) {
|
|
20096
20096
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
20097
|
-
throw new
|
|
20097
|
+
throw new Or(null, t);
|
|
20098
20098
|
}
|
|
20099
20099
|
function Ec(t) {
|
|
20100
20100
|
return Na(t), t.headers = Ve.from(t.headers), t.data = $a.call(
|
|
20101
20101
|
t,
|
|
20102
20102
|
t.transformRequest
|
|
20103
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Nd.getAdapter(t.adapter ||
|
|
20103
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Nd.getAdapter(t.adapter || Rr.adapter)(t).then(function(n) {
|
|
20104
20104
|
return Na(t), n.data = $a.call(
|
|
20105
20105
|
t,
|
|
20106
20106
|
t.transformResponse,
|
|
@@ -20316,7 +20316,7 @@ class Dt {
|
|
|
20316
20316
|
getUri(r) {
|
|
20317
20317
|
r = wn(this.defaults, r);
|
|
20318
20318
|
const e = $d(r.baseURL, r.url);
|
|
20319
|
-
return
|
|
20319
|
+
return Id(e, r.params, r.paramsSerializer);
|
|
20320
20320
|
}
|
|
20321
20321
|
}
|
|
20322
20322
|
E.forEach(["delete", "get", "head", "options"], function(r) {
|
|
@@ -20367,7 +20367,7 @@ class no {
|
|
|
20367
20367
|
n.unsubscribe(a);
|
|
20368
20368
|
}, s;
|
|
20369
20369
|
}, r(function(a, s, o) {
|
|
20370
|
-
n.reason || (n.reason = new
|
|
20370
|
+
n.reason || (n.reason = new Or(a, s, o), e(n.reason));
|
|
20371
20371
|
});
|
|
20372
20372
|
}
|
|
20373
20373
|
/**
|
|
@@ -20492,9 +20492,9 @@ function Bd(t) {
|
|
|
20492
20492
|
return Bd(wn(t, i));
|
|
20493
20493
|
}, e;
|
|
20494
20494
|
}
|
|
20495
|
-
const H = Bd(
|
|
20495
|
+
const H = Bd(Rr);
|
|
20496
20496
|
H.Axios = Dt;
|
|
20497
|
-
H.CanceledError =
|
|
20497
|
+
H.CanceledError = Or;
|
|
20498
20498
|
H.CancelToken = no;
|
|
20499
20499
|
H.isCancel = Fd;
|
|
20500
20500
|
H.VERSION = Dd;
|
|
@@ -20684,7 +20684,7 @@ const b3 = "fr", w3 = (t) => {
|
|
|
20684
20684
|
i && k3(i) && (e = i);
|
|
20685
20685
|
}
|
|
20686
20686
|
return e;
|
|
20687
|
-
}, k3 = (t) => qy.includes(t), co = class co extends
|
|
20687
|
+
}, k3 = (t) => qy.includes(t), co = class co extends Xn {
|
|
20688
20688
|
constructor(r = {}) {
|
|
20689
20689
|
super(), this.translationsConfig = r, this.country = typeof window < "u" ? w3(window.location.hostname) : "fr", this.language = typeof window < "u" ? nb({ country: this.country, cookies: document.cookie }) : "fr-FR", this.translationsConfig.translationsLoaderGetter && (this.translationsTask = new zy(
|
|
20690
20690
|
this,
|
|
@@ -20803,15 +20803,15 @@ const uo = class uo extends me {
|
|
|
20803
20803
|
}
|
|
20804
20804
|
};
|
|
20805
20805
|
uo.styles = [me.styles, A3];
|
|
20806
|
-
let
|
|
20806
|
+
let mr = uo;
|
|
20807
20807
|
jd([
|
|
20808
20808
|
Z({ type: String, reflect: !0 })
|
|
20809
|
-
],
|
|
20809
|
+
], mr.prototype, "size");
|
|
20810
20810
|
jd([
|
|
20811
20811
|
Z({ type: String })
|
|
20812
|
-
],
|
|
20812
|
+
], mr.prototype, "viewBox");
|
|
20813
20813
|
function ut(t, r) {
|
|
20814
|
-
class e extends
|
|
20814
|
+
class e extends mr {
|
|
20815
20815
|
renderElement() {
|
|
20816
20816
|
return be`<svg viewBox="${this.viewBox}" aria-hidden="true" fill="none" part="icon">${r}</svg> `;
|
|
20817
20817
|
}
|
|
@@ -20835,7 +20835,7 @@ ut(
|
|
|
20835
20835
|
</defs>
|
|
20836
20836
|
`
|
|
20837
20837
|
);
|
|
20838
|
-
let
|
|
20838
|
+
let gr = class extends me {
|
|
20839
20839
|
constructor() {
|
|
20840
20840
|
super(), this.size = "medium", this.dataCerberus = "spinner", this.size = "medium";
|
|
20841
20841
|
}
|
|
@@ -20847,20 +20847,20 @@ let mr = class extends me {
|
|
|
20847
20847
|
></lr-icon-spinner> `;
|
|
20848
20848
|
}
|
|
20849
20849
|
};
|
|
20850
|
-
|
|
20850
|
+
gr.styles = [me.styles, E3];
|
|
20851
20851
|
io([
|
|
20852
20852
|
Z({ type: String, reflect: !0 })
|
|
20853
|
-
],
|
|
20853
|
+
], gr.prototype, "size", 2);
|
|
20854
20854
|
io([
|
|
20855
20855
|
Z({ type: String })
|
|
20856
|
-
],
|
|
20857
|
-
|
|
20856
|
+
], gr.prototype, "dataCerberus", 2);
|
|
20857
|
+
gr = io([
|
|
20858
20858
|
Be("lr-spinner")
|
|
20859
|
-
],
|
|
20860
|
-
var
|
|
20861
|
-
for (var i = n > 1 ? void 0 : n ?
|
|
20859
|
+
], gr);
|
|
20860
|
+
var I3 = Object.defineProperty, L3 = Object.getOwnPropertyDescriptor, Ce = (t, r, e, n) => {
|
|
20861
|
+
for (var i = n > 1 ? void 0 : n ? L3(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
20862
20862
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
20863
|
-
return n && i &&
|
|
20863
|
+
return n && i && I3(r, e, i), i;
|
|
20864
20864
|
};
|
|
20865
20865
|
const ho = class ho extends me {
|
|
20866
20866
|
constructor() {
|
|
@@ -21047,7 +21047,7 @@ var $3 = Object.defineProperty, N3 = Object.getOwnPropertyDescriptor, D3 = (t, r
|
|
|
21047
21047
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
21048
21048
|
return n && i && $3(r, e, i), i;
|
|
21049
21049
|
};
|
|
21050
|
-
let
|
|
21050
|
+
let Ic = class extends kn {
|
|
21051
21051
|
constructor() {
|
|
21052
21052
|
super(...arguments), this.active = !0;
|
|
21053
21053
|
}
|
|
@@ -21055,9 +21055,9 @@ let Lc = class extends kn {
|
|
|
21055
21055
|
return be`<lr-spinner></lr-spinner> `;
|
|
21056
21056
|
}
|
|
21057
21057
|
};
|
|
21058
|
-
|
|
21058
|
+
Ic = D3([
|
|
21059
21059
|
Be("lr-loading-overlay")
|
|
21060
|
-
],
|
|
21060
|
+
], Ic);
|
|
21061
21061
|
ut(
|
|
21062
21062
|
"lr-icon-help",
|
|
21063
21063
|
st`
|
|
@@ -21106,11 +21106,11 @@ const B3 = (t) => t.strings === void 0;
|
|
|
21106
21106
|
* Copyright 2017 Google LLC
|
|
21107
21107
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
21108
21108
|
*/
|
|
21109
|
-
const
|
|
21109
|
+
const er = (t, r) => {
|
|
21110
21110
|
var n;
|
|
21111
21111
|
const e = t._$AN;
|
|
21112
21112
|
if (e === void 0) return !1;
|
|
21113
|
-
for (const i of e) (n = i._$AO) == null || n.call(i, r, !1),
|
|
21113
|
+
for (const i of e) (n = i._$AO) == null || n.call(i, r, !1), er(i, r);
|
|
21114
21114
|
return !0;
|
|
21115
21115
|
}, _i = (t) => {
|
|
21116
21116
|
let r, e;
|
|
@@ -21131,9 +21131,9 @@ function H3(t) {
|
|
|
21131
21131
|
}
|
|
21132
21132
|
function j3(t, r = !1, e = 0) {
|
|
21133
21133
|
const n = this._$AH, i = this._$AN;
|
|
21134
|
-
if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++)
|
|
21135
|
-
else n != null && (
|
|
21136
|
-
else
|
|
21134
|
+
if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++) er(n[a], !1), _i(n[a]);
|
|
21135
|
+
else n != null && (er(n, !1), _i(n));
|
|
21136
|
+
else er(this, t);
|
|
21137
21137
|
}
|
|
21138
21138
|
const U3 = (t) => {
|
|
21139
21139
|
t.type == Ui.CHILD && (t._$AP ?? (t._$AP = j3), t._$AQ ?? (t._$AQ = H3));
|
|
@@ -21147,7 +21147,7 @@ let zd = class extends Ns {
|
|
|
21147
21147
|
}
|
|
21148
21148
|
_$AO(r, e = !0) {
|
|
21149
21149
|
var n, i;
|
|
21150
|
-
r !== this.isConnected && (this.isConnected = r, r ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (
|
|
21150
|
+
r !== this.isConnected && (this.isConnected = r, r ? (n = this.reconnected) == null || n.call(this) : (i = this.disconnected) == null || i.call(this)), e && (er(this, r), _i(this));
|
|
21151
21151
|
}
|
|
21152
21152
|
setValue(r) {
|
|
21153
21153
|
if (B3(this._$Ct)) this._$Ct._$AI(r, this);
|
|
@@ -21702,7 +21702,7 @@ D(Ue, "Endpoints", {
|
|
|
21702
21702
|
D(Ue, "Errors", ht);
|
|
21703
21703
|
let _n = Ue;
|
|
21704
21704
|
const V3 = /* @__PURE__ */ new WeakMap();
|
|
21705
|
-
let
|
|
21705
|
+
let Lc = 0;
|
|
21706
21706
|
const Ba = /* @__PURE__ */ new Map(), Mc = /* @__PURE__ */ new WeakSet(), Pc = () => new Promise((t) => requestAnimationFrame(t)), Fc = [{ transform: "translateY(100%) scale(0)", opacity: 0 }], $c = [{ opacity: 0 }], Nc = [{ opacity: 0 }, { opacity: 1 }], Dc = (t, r) => {
|
|
21707
21707
|
const e = t - r;
|
|
21708
21708
|
return e === 0 ? void 0 : e;
|
|
@@ -21793,7 +21793,7 @@ class K3 extends zd {
|
|
|
21793
21793
|
if (a) {
|
|
21794
21794
|
Ba.delete(this.options.inId);
|
|
21795
21795
|
const { from: s, to: o } = this.N(a, i, e);
|
|
21796
|
-
r = this.calculateKeyframes(s, o), r = this.options.in ? [{ ...this.options.in[0], ...r[0] }, ...this.options.in.slice(1), r[1]] : r,
|
|
21796
|
+
r = this.calculateKeyframes(s, o), r = this.options.in ? [{ ...this.options.in[0], ...r[0] }, ...this.options.in.slice(1), r[1]] : r, Lc++, r.forEach((l) => l.zIndex = Lc);
|
|
21797
21797
|
} else this.options.in && (r = [...this.options.in, {}]);
|
|
21798
21798
|
}
|
|
21799
21799
|
this.animate(r, n);
|
|
@@ -21897,7 +21897,7 @@ class K3 extends zd {
|
|
|
21897
21897
|
this.shouldLog && !this.isDisabled() && console.log(r, this.options.id, e);
|
|
21898
21898
|
}
|
|
21899
21899
|
}
|
|
21900
|
-
const
|
|
21900
|
+
const Ur = zi(K3);
|
|
21901
21901
|
class J3 extends y3 {
|
|
21902
21902
|
constructor(r, e, n) {
|
|
21903
21903
|
super({
|
|
@@ -21910,7 +21910,7 @@ class J3 extends y3 {
|
|
|
21910
21910
|
getFallbackTranslationsMaps() {
|
|
21911
21911
|
return {
|
|
21912
21912
|
"fr-FR": async () => ({
|
|
21913
|
-
chatbot: (await import("./chatbot-
|
|
21913
|
+
chatbot: (await import("./chatbot-Bo5XYKzS.js")).default
|
|
21914
21914
|
}),
|
|
21915
21915
|
"pt-PT": async () => {
|
|
21916
21916
|
throw Error("Not available yet");
|
|
@@ -22264,7 +22264,7 @@ let Cn = class extends Sn {
|
|
|
22264
22264
|
super.connectedCallback();
|
|
22265
22265
|
}
|
|
22266
22266
|
getUrl(t) {
|
|
22267
|
-
return
|
|
22267
|
+
return Re("chatbot:escalation.url", { context: this.channel, message: t });
|
|
22268
22268
|
}
|
|
22269
22269
|
async handleClick() {
|
|
22270
22270
|
super.handleClick(), await this.escalate();
|
|
@@ -22347,7 +22347,7 @@ ws.styles = [Et.styles, uw];
|
|
|
22347
22347
|
ws = pw([
|
|
22348
22348
|
Be("lr-icon-button")
|
|
22349
22349
|
], ws);
|
|
22350
|
-
var fw = Object.defineProperty, mw = Object.getOwnPropertyDescriptor,
|
|
22350
|
+
var fw = Object.defineProperty, mw = Object.getOwnPropertyDescriptor, Ir = (t, r, e, n) => {
|
|
22351
22351
|
for (var i = n > 1 ? void 0 : n ? mw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22352
22352
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22353
22353
|
return n && i && fw(r, e, i), i;
|
|
@@ -22355,17 +22355,13 @@ var fw = Object.defineProperty, mw = Object.getOwnPropertyDescriptor, Or = (t, r
|
|
|
22355
22355
|
let zt = class extends me {
|
|
22356
22356
|
constructor() {
|
|
22357
22357
|
var t;
|
|
22358
|
-
super(...arguments), this.upActive = !1, this.downActive = !1, this.score = (t = this.messageContext) == null ? void 0 : t.score
|
|
22358
|
+
super(...arguments), this.upActive = !1, this.downActive = !1, this.score = (t = this.messageContext) == null ? void 0 : t.score;
|
|
22359
22359
|
}
|
|
22360
22360
|
async toggleButton(t, r) {
|
|
22361
|
-
var n;
|
|
22362
22361
|
const e = t.target;
|
|
22363
22362
|
e.loading = !0;
|
|
22364
22363
|
try {
|
|
22365
|
-
await this.evaluateResponse(r), this.score = r, r === 1 ? (this.upActive = !this.upActive, this.downActive = !1, this.
|
|
22366
|
-
action: "end-conversation",
|
|
22367
|
-
payload: { conversationId: (n = this.messageContext) == null ? void 0 : n.conversationId }
|
|
22368
|
-
})) : r === 0 ? (this.downActive = !this.downActive, this.upActive = !1) : (this.upActive = !this.upActive, this.downActive = !1);
|
|
22364
|
+
await this.evaluateResponse(r), this.score = r, r === 1 ? (this.upActive = !this.upActive, this.downActive = !1) : r === 0 ? (this.downActive = !this.downActive, this.upActive = !1) : (this.upActive = !this.upActive, this.downActive = !1);
|
|
22369
22365
|
} catch {
|
|
22370
22366
|
} finally {
|
|
22371
22367
|
e.loading = !1;
|
|
@@ -22411,19 +22407,19 @@ let zt = class extends me {
|
|
|
22411
22407
|
}
|
|
22412
22408
|
};
|
|
22413
22409
|
zt.styles = [me.styles, cw];
|
|
22414
|
-
|
|
22410
|
+
Ir([
|
|
22415
22411
|
oo({ context: ra })
|
|
22416
22412
|
], zt.prototype, "messageContext", 2);
|
|
22417
|
-
|
|
22413
|
+
Ir([
|
|
22418
22414
|
Yt()
|
|
22419
22415
|
], zt.prototype, "upActive", 2);
|
|
22420
|
-
|
|
22416
|
+
Ir([
|
|
22421
22417
|
Yt()
|
|
22422
22418
|
], zt.prototype, "downActive", 2);
|
|
22423
|
-
|
|
22419
|
+
Ir([
|
|
22424
22420
|
Yt()
|
|
22425
22421
|
], zt.prototype, "score", 2);
|
|
22426
|
-
zt =
|
|
22422
|
+
zt = Ir([
|
|
22427
22423
|
Be("lr-chatbot-message-rating")
|
|
22428
22424
|
], zt);
|
|
22429
22425
|
const gw = Te`
|
|
@@ -22472,7 +22468,7 @@ var yw = Object.defineProperty, bw = Object.getOwnPropertyDescriptor, lo = (t, r
|
|
|
22472
22468
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22473
22469
|
return n && i && yw(r, e, i), i;
|
|
22474
22470
|
};
|
|
22475
|
-
let
|
|
22471
|
+
let vr = class extends me {
|
|
22476
22472
|
constructor() {
|
|
22477
22473
|
super(...arguments), this.active = !1, this.size = "medium";
|
|
22478
22474
|
}
|
|
@@ -22480,16 +22476,16 @@ let gr = class extends me {
|
|
|
22480
22476
|
return be`<lr-icon-star-filled size=${this.size}></lr-icon-star-filled>`;
|
|
22481
22477
|
}
|
|
22482
22478
|
};
|
|
22483
|
-
|
|
22479
|
+
vr.styles = [me.styles, vw];
|
|
22484
22480
|
lo([
|
|
22485
22481
|
Z({ type: Boolean, reflect: !0 })
|
|
22486
|
-
],
|
|
22482
|
+
], vr.prototype, "active", 2);
|
|
22487
22483
|
lo([
|
|
22488
22484
|
Z({ type: String, reflect: !0 })
|
|
22489
|
-
],
|
|
22490
|
-
|
|
22485
|
+
], vr.prototype, "size", 2);
|
|
22486
|
+
vr = lo([
|
|
22491
22487
|
Be("lr-rating-element")
|
|
22492
|
-
],
|
|
22488
|
+
], vr);
|
|
22493
22489
|
var ww = Object.defineProperty, kw = Object.getOwnPropertyDescriptor, Lr = (t, r, e, n) => {
|
|
22494
22490
|
for (var i = n > 1 ? void 0 : n ? kw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22495
22491
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
@@ -22553,14 +22549,20 @@ Lr([
|
|
|
22553
22549
|
At = Lr([
|
|
22554
22550
|
Be("lr-rating")
|
|
22555
22551
|
], At);
|
|
22556
|
-
var _w = Object.defineProperty, Sw = Object.getOwnPropertyDescriptor,
|
|
22552
|
+
var _w = Object.defineProperty, Sw = Object.getOwnPropertyDescriptor, Mr = (t, r, e, n) => {
|
|
22557
22553
|
for (var i = n > 1 ? void 0 : n ? Sw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
22558
22554
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22559
22555
|
return n && i && _w(r, e, i), i;
|
|
22560
22556
|
};
|
|
22561
22557
|
let xn = class extends me {
|
|
22562
22558
|
constructor() {
|
|
22563
|
-
super(...arguments), this.score = null, this.label = "", this.
|
|
22559
|
+
super(...arguments), this.score = null, this.label = "", this._broadcastController = new Wd(
|
|
22560
|
+
this,
|
|
22561
|
+
Yd
|
|
22562
|
+
), this.rating = 0;
|
|
22563
|
+
}
|
|
22564
|
+
getConversationId() {
|
|
22565
|
+
return localStorage.getItem(Jn);
|
|
22564
22566
|
}
|
|
22565
22567
|
async handleSubmit(t) {
|
|
22566
22568
|
var r, e;
|
|
@@ -22580,7 +22582,14 @@ let xn = class extends me {
|
|
|
22580
22582
|
score: s,
|
|
22581
22583
|
feedback: s.toString()
|
|
22582
22584
|
};
|
|
22583
|
-
await a.chatbotConversationsRatePost(this.messageContext.conversationId, o)
|
|
22585
|
+
await a.chatbotConversationsRatePost(this.messageContext.conversationId, o), this.getConversationId() || this._broadcastController.send({
|
|
22586
|
+
action: "addMessage",
|
|
22587
|
+
payload: {
|
|
22588
|
+
message: {
|
|
22589
|
+
html: Re("chatbot:otherQuestionOnConversation")
|
|
22590
|
+
}
|
|
22591
|
+
}
|
|
22592
|
+
});
|
|
22584
22593
|
}
|
|
22585
22594
|
} catch {
|
|
22586
22595
|
}
|
|
@@ -22595,19 +22604,19 @@ let xn = class extends me {
|
|
|
22595
22604
|
`;
|
|
22596
22605
|
}
|
|
22597
22606
|
};
|
|
22598
|
-
|
|
22607
|
+
Mr([
|
|
22599
22608
|
oo({ context: ra })
|
|
22600
22609
|
], xn.prototype, "messageContext", 2);
|
|
22601
|
-
|
|
22610
|
+
Mr([
|
|
22602
22611
|
Yt()
|
|
22603
22612
|
], xn.prototype, "score", 2);
|
|
22604
|
-
|
|
22613
|
+
Mr([
|
|
22605
22614
|
Z({ type: String })
|
|
22606
22615
|
], xn.prototype, "label", 2);
|
|
22607
|
-
|
|
22616
|
+
Mr([
|
|
22608
22617
|
Yt()
|
|
22609
22618
|
], xn.prototype, "rating", 2);
|
|
22610
|
-
xn =
|
|
22619
|
+
xn = Mr([
|
|
22611
22620
|
Be("lr-chatbot-conversation-rating")
|
|
22612
22621
|
], xn);
|
|
22613
22622
|
function Cw(t) {
|
|
@@ -22636,7 +22645,7 @@ let Je = class extends me {
|
|
|
22636
22645
|
|
|
22637
22646
|
${this.showEscalation ? be`<div class="button-container">
|
|
22638
22647
|
${Q3(
|
|
22639
|
-
|
|
22648
|
+
Re("chatbot:escalation.suggestions", {
|
|
22640
22649
|
context: Y3() ? "mobile" : ""
|
|
22641
22650
|
})
|
|
22642
22651
|
)}
|
|
@@ -22694,7 +22703,7 @@ var Aw = Object.defineProperty, Tw = Object.getOwnPropertyDescriptor, Jd = (t) =
|
|
|
22694
22703
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
22695
22704
|
return n && i && Aw(r, e, i), i;
|
|
22696
22705
|
}, Zd = (t, r, e) => r.has(t) || Jd("Cannot " + e), Dn = (t, r, e) => (Zd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Bn = (t, r, e) => r.has(t) ? Jd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), Hn = (t, r, e, n) => (Zd(t, r, "write to private field"), r.set(t, e), e), ri, ii, ai, si, oi;
|
|
22697
|
-
const Yd = "lr.chatbot.broadcast_channel." + document.location.hostname,
|
|
22706
|
+
const Yd = "lr.chatbot.broadcast_channel." + document.location.hostname, Jn = "lr.chatbot.conversation_id", jn = "lr.chatbot.conversation_state";
|
|
22698
22707
|
let Tt = class extends me {
|
|
22699
22708
|
constructor() {
|
|
22700
22709
|
super({
|
|
@@ -22736,7 +22745,7 @@ let Tt = class extends me {
|
|
|
22736
22745
|
Hn(this, oi, t);
|
|
22737
22746
|
}
|
|
22738
22747
|
getVersion() {
|
|
22739
|
-
return "LR Chatbot - 0.
|
|
22748
|
+
return "LR Chatbot - 0.24.0";
|
|
22740
22749
|
}
|
|
22741
22750
|
async connectedCallback() {
|
|
22742
22751
|
super.connectedCallback(), this._conversationHistoryTask.run();
|
|
@@ -22779,7 +22788,7 @@ let Tt = class extends me {
|
|
|
22779
22788
|
this.deepChat = t, this.deepChat && (this.setDeepChatStyle(), this.setDeepChatTranslations(), this.setChatConnection(), await this.setDeepChatHistory());
|
|
22780
22789
|
}
|
|
22781
22790
|
getCurrentConversationId() {
|
|
22782
|
-
return localStorage.getItem(
|
|
22791
|
+
return localStorage.getItem(Jn);
|
|
22783
22792
|
}
|
|
22784
22793
|
createConversationHistoryTask() {
|
|
22785
22794
|
return new vd(this, {
|
|
@@ -22809,18 +22818,18 @@ let Tt = class extends me {
|
|
|
22809
22818
|
this.deepChat.history = [
|
|
22810
22819
|
{
|
|
22811
22820
|
role: "lr",
|
|
22812
|
-
html:
|
|
22821
|
+
html: Re("chatbot:legalInformation")
|
|
22813
22822
|
},
|
|
22814
22823
|
{
|
|
22815
22824
|
role: "ai",
|
|
22816
|
-
html: Nn({ slot:
|
|
22825
|
+
html: Nn({ slot: Re("chatbot:introMessage") })
|
|
22817
22826
|
}
|
|
22818
22827
|
];
|
|
22819
22828
|
}
|
|
22820
22829
|
async setDeepChatHistory() {
|
|
22821
22830
|
if (!this.deepChat)
|
|
22822
22831
|
throw Error("Deep Chat should be initialized at this point");
|
|
22823
|
-
this.disableDeepChatTextInput(), [
|
|
22832
|
+
this.disableDeepChatTextInput(), [La.INITIAL, La.ERROR].includes(this._conversationHistoryTask.status) && this._conversationHistoryTask.run();
|
|
22824
22833
|
let t = await this._conversationHistoryTask.taskComplete;
|
|
22825
22834
|
this.setInitialMessages(), t != null && t.messages && (this.deepChat.history = [
|
|
22826
22835
|
...this.deepChat.history ?? [],
|
|
@@ -22842,7 +22851,7 @@ let Tt = class extends me {
|
|
|
22842
22851
|
throw Error("Deep Chat should be initialized at this point");
|
|
22843
22852
|
this.deepChat.textInput = {
|
|
22844
22853
|
...this.deepChat.textInput,
|
|
22845
|
-
placeholder: { text:
|
|
22854
|
+
placeholder: { text: Re("chatbot:inputPlaceholder") }
|
|
22846
22855
|
};
|
|
22847
22856
|
}
|
|
22848
22857
|
setDeepChatStyle() {
|
|
@@ -22861,7 +22870,7 @@ let Tt = class extends me {
|
|
|
22861
22870
|
}, this.deepChat.auxiliaryStyle = et.auxiliaryStyle;
|
|
22862
22871
|
}
|
|
22863
22872
|
setConversationTimeout() {
|
|
22864
|
-
const t = Number(
|
|
22873
|
+
const t = Number(Re("chatbot:evaluationTimeout"));
|
|
22865
22874
|
this.conversationTimeout && clearTimeout(this.conversationTimeout), this.conversationTimeout = setTimeout(() => {
|
|
22866
22875
|
if (!this._shouldEndConversation) {
|
|
22867
22876
|
const r = this.getCurrentConversationId();
|
|
@@ -22894,7 +22903,7 @@ let Tt = class extends me {
|
|
|
22894
22903
|
const s = await n.chatbotConversationsPost(i);
|
|
22895
22904
|
if (!s.message)
|
|
22896
22905
|
throw Error();
|
|
22897
|
-
s.conversation_id && a === null && localStorage.setItem(
|
|
22906
|
+
s.conversation_id && a === null && localStorage.setItem(Jn, s.conversation_id);
|
|
22898
22907
|
const o = Nn({
|
|
22899
22908
|
apiUrl: this.apiUrl,
|
|
22900
22909
|
conversationId: s.conversation_id ?? void 0,
|
|
@@ -22903,10 +22912,10 @@ let Tt = class extends me {
|
|
|
22903
22912
|
showMessageRating: s.popup_rate,
|
|
22904
22913
|
slot: s.message
|
|
22905
22914
|
});
|
|
22906
|
-
this._shouldEndConversation = s.
|
|
22915
|
+
this._shouldEndConversation = s.message_status === "end_conversation", this.setConversationTimeout(), this.observeInputChanges(), r.onResponse({ html: o, role: "ai" });
|
|
22907
22916
|
} catch {
|
|
22908
22917
|
const n = Nn({
|
|
22909
|
-
slot:
|
|
22918
|
+
slot: Re("chatbot:errorMessage")
|
|
22910
22919
|
});
|
|
22911
22920
|
r.onResponse({
|
|
22912
22921
|
html: n
|
|
@@ -22935,15 +22944,16 @@ let Tt = class extends me {
|
|
|
22935
22944
|
conversationId: t ?? void 0,
|
|
22936
22945
|
apiUrl: this.apiUrl,
|
|
22937
22946
|
showConversationRating: !0,
|
|
22938
|
-
slot:
|
|
22947
|
+
slot: Re("chatbot:ratingConversation")
|
|
22939
22948
|
})
|
|
22940
22949
|
}), this.conversationTimeout && (clearTimeout(this.conversationTimeout), this.conversationTimeout = void 0);
|
|
22941
22950
|
const e = this.getCurrentConversationId();
|
|
22942
|
-
e && (localStorage.removeItem(
|
|
22951
|
+
e && (localStorage.removeItem(Jn), localStorage.removeItem(jn), this._broadcastController.send({
|
|
22943
22952
|
action: "end-conversation",
|
|
22944
22953
|
payload: { conversationId: e }
|
|
22945
|
-
}))
|
|
22954
|
+
}));
|
|
22946
22955
|
}
|
|
22956
|
+
this._isConversationDone = !1, this._shouldEndConversation = !1;
|
|
22947
22957
|
}
|
|
22948
22958
|
disableDeepChatTextInput() {
|
|
22949
22959
|
var t, r, e, n;
|
|
@@ -22977,24 +22987,24 @@ let Tt = class extends me {
|
|
|
22977
22987
|
}
|
|
22978
22988
|
}
|
|
22979
22989
|
close() {
|
|
22980
|
-
(this.opened || this.minimized) && (localStorage.removeItem(
|
|
22990
|
+
(this.opened || this.minimized) && (localStorage.removeItem(Jn), localStorage.removeItem(jn), this.opened = !1, this.minimized = !1, this.exitOverlay = !1, this._closeClickCount = 0, this.clearConversation(), this._broadcastController.send({ action: "close" }));
|
|
22981
22991
|
}
|
|
22982
22992
|
renderExitOverlay() {
|
|
22983
22993
|
return be`
|
|
22984
22994
|
<div
|
|
22985
|
-
${
|
|
22995
|
+
${Ur({
|
|
22986
22996
|
in: Nc,
|
|
22987
22997
|
out: $c
|
|
22988
22998
|
})}
|
|
22989
22999
|
id="exit-overlay"
|
|
22990
23000
|
aria-hidden=${!this.exitOverlay}
|
|
22991
23001
|
>
|
|
22992
|
-
<p>${
|
|
23002
|
+
<p>${Re("chatbot:exit.text")}</p>
|
|
22993
23003
|
<div>
|
|
22994
23004
|
<lr-button @click=${this.handleReturnConversation} variant="secondary" size="small"
|
|
22995
|
-
>${
|
|
23005
|
+
>${Re("chatbot:returnToConversation")}</lr-button
|
|
22996
23006
|
>
|
|
22997
|
-
<lr-button size="small" @click=${this.close}>${
|
|
23007
|
+
<lr-button size="small" @click=${this.close}>${Re("chatbot:exit.button")}</lr-button>
|
|
22998
23008
|
</div>
|
|
22999
23009
|
</div>
|
|
23000
23010
|
`;
|
|
@@ -23009,10 +23019,10 @@ let Tt = class extends me {
|
|
|
23009
23019
|
aria-label="chat window"
|
|
23010
23020
|
role="region"
|
|
23011
23021
|
part="wrapper"
|
|
23012
|
-
${
|
|
23022
|
+
${Ur()}
|
|
23013
23023
|
>
|
|
23014
23024
|
<div id="chat-wrapper-menu" part="menu">
|
|
23015
|
-
<span id="chat-wrapper-menu-title">${
|
|
23025
|
+
<span id="chat-wrapper-menu-title">${Re("chatbot:title")}</span>
|
|
23016
23026
|
<div id="chat-wrapper-menu-button-container">
|
|
23017
23027
|
<lr-icon-button
|
|
23018
23028
|
size="small"
|
|
@@ -23039,8 +23049,8 @@ let Tt = class extends me {
|
|
|
23039
23049
|
</div>
|
|
23040
23050
|
<div id="chat-wrapper-content">
|
|
23041
23051
|
${this.exitOverlay ? this.renderExitOverlay() : oe}
|
|
23042
|
-
${this._conversationHistoryTask.status ===
|
|
23043
|
-
${
|
|
23052
|
+
${this._conversationHistoryTask.status === La.PENDING ? be`<lr-loading-overlay
|
|
23053
|
+
${Ur({
|
|
23044
23054
|
in: Nc,
|
|
23045
23055
|
out: $c
|
|
23046
23056
|
})}
|
|
@@ -23056,16 +23066,16 @@ let Tt = class extends me {
|
|
|
23056
23066
|
id="chat-minimized"
|
|
23057
23067
|
@click=${this.open}
|
|
23058
23068
|
aria-hidden=${!this.minimized}
|
|
23059
|
-
aria-label="${
|
|
23069
|
+
aria-label="${Re("chatbot:minimized.ariaLabel")}"
|
|
23060
23070
|
aria-expanded=${!this.minimized}
|
|
23061
23071
|
part="wrapper-minimized"
|
|
23062
|
-
${
|
|
23072
|
+
${Ur({
|
|
23063
23073
|
in: Fc,
|
|
23064
23074
|
out: Fc
|
|
23065
23075
|
})}
|
|
23066
23076
|
>
|
|
23067
23077
|
<lr-icon-chat size="medium"></lr-icon-chat>
|
|
23068
|
-
<p id="chat-minimized-text">${
|
|
23078
|
+
<p id="chat-minimized-text">${Re("chatbot:minimized.label")}</p>
|
|
23069
23079
|
</div>
|
|
23070
23080
|
`;
|
|
23071
23081
|
}
|
|
@@ -23099,6 +23109,7 @@ Tt = On([
|
|
|
23099
23109
|
], Tt);
|
|
23100
23110
|
export {
|
|
23101
23111
|
Tt as Chatbot,
|
|
23102
|
-
Yd as LR_CHATBOT_BROADCAST_CHANNEL_ID
|
|
23112
|
+
Yd as LR_CHATBOT_BROADCAST_CHANNEL_ID,
|
|
23113
|
+
Jn as LR_CHATBOT_LOCALSTORAGE_CONVERSATION_ID
|
|
23103
23114
|
};
|
|
23104
23115
|
//# sourceMappingURL=index.js.map
|