@telia-ace/widget-conversation-flamingo 1.1.56-rc.0 → 1.1.56-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +32 -29
- package/index.mjs +175 -172
- package/package.json +2 -2
package/index.mjs
CHANGED
@@ -238,7 +238,7 @@ function Cn(n) {
|
|
238
238
|
}, e = n(t);
|
239
239
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
240
240
|
}
|
241
|
-
var
|
241
|
+
var Gt = Cn(function(n) {
|
242
242
|
return function(e) {
|
243
243
|
n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
244
244
|
` + e.map(function(s, r) {
|
@@ -286,7 +286,7 @@ var Ht = function() {
|
|
286
286
|
try {
|
287
287
|
u();
|
288
288
|
} catch (m) {
|
289
|
-
i = m instanceof
|
289
|
+
i = m instanceof Gt ? m.errors : [m];
|
290
290
|
}
|
291
291
|
var h = this._finalizers;
|
292
292
|
if (h) {
|
@@ -297,7 +297,7 @@ var Ht = function() {
|
|
297
297
|
try {
|
298
298
|
je($);
|
299
299
|
} catch (m) {
|
300
|
-
i = i ?? [], m instanceof
|
300
|
+
i = i ?? [], m instanceof Gt ? i = F(F([], R(i)), R(m.errors)) : i.push(m);
|
301
301
|
}
|
302
302
|
}
|
303
303
|
} catch (m) {
|
@@ -312,7 +312,7 @@ var Ht = function() {
|
|
312
312
|
}
|
313
313
|
}
|
314
314
|
if (i)
|
315
|
-
throw new
|
315
|
+
throw new Gt(i);
|
316
316
|
}
|
317
317
|
}, n.prototype.add = function(t) {
|
318
318
|
var e;
|
@@ -964,10 +964,10 @@ function Bn(n, t) {
|
|
964
964
|
}, t));
|
965
965
|
});
|
966
966
|
}
|
967
|
-
function
|
967
|
+
function Ys(n, t) {
|
968
968
|
return k(n).pipe(Bn(t), Dn(t));
|
969
969
|
}
|
970
|
-
function
|
970
|
+
function Zs(n, t) {
|
971
971
|
return k(n).pipe(Bn(t), Dn(t));
|
972
972
|
}
|
973
973
|
function qs(n, t) {
|
@@ -978,7 +978,7 @@ function qs(n, t) {
|
|
978
978
|
});
|
979
979
|
});
|
980
980
|
}
|
981
|
-
function
|
981
|
+
function Ks(n, t) {
|
982
982
|
return new S(function(e) {
|
983
983
|
var s;
|
984
984
|
return P(e, t, function() {
|
@@ -1011,23 +1011,23 @@ function zn(n, t) {
|
|
1011
1011
|
});
|
1012
1012
|
});
|
1013
1013
|
}
|
1014
|
-
function
|
1014
|
+
function Gs(n, t) {
|
1015
1015
|
return zn(jn(n), t);
|
1016
1016
|
}
|
1017
1017
|
function Xs(n, t) {
|
1018
1018
|
if (n != null) {
|
1019
1019
|
if (Ln(n))
|
1020
|
-
return
|
1020
|
+
return Ys(n, t);
|
1021
1021
|
if (ye(n))
|
1022
1022
|
return qs(n, t);
|
1023
1023
|
if (Pn(n))
|
1024
|
-
return
|
1024
|
+
return Zs(n, t);
|
1025
1025
|
if (Mn(n))
|
1026
1026
|
return zn(n, t);
|
1027
1027
|
if (Rn(n))
|
1028
|
-
return Ys(n, t);
|
1029
|
-
if (Hn(n))
|
1030
1028
|
return Ks(n, t);
|
1029
|
+
if (Hn(n))
|
1030
|
+
return Gs(n, t);
|
1031
1031
|
}
|
1032
1032
|
throw In(n);
|
1033
1033
|
}
|
@@ -1266,10 +1266,10 @@ function Wn() {
|
|
1266
1266
|
});
|
1267
1267
|
}
|
1268
1268
|
var I = /* @__PURE__ */ ((n) => (n.User = "user", n.Agent = "agent", n.System = "system", n))(I || {});
|
1269
|
-
const
|
1269
|
+
const Yn = () => crypto.randomUUID();
|
1270
1270
|
class Dt {
|
1271
1271
|
constructor(t, e, s) {
|
1272
|
-
this.type = t, this.sender = e, this.messages = s, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id =
|
1272
|
+
this.type = t, this.sender = e, this.messages = s, this.status = "delivered", this.didUpdate = new _(), this.actions$ = new _(), this.remove$ = new _(), this.timestamp = Date.now(), this.id = Yn();
|
1273
1273
|
}
|
1274
1274
|
update(t) {
|
1275
1275
|
this.messages = [
|
@@ -1428,7 +1428,7 @@ class Ro {
|
|
1428
1428
|
* SPDX-License-Identifier: BSD-3-Clause
|
1429
1429
|
*/
|
1430
1430
|
const xt = globalThis, we = xt.ShadowRoot && (xt.ShadyCSS === void 0 || xt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _e = Symbol(), Fe = /* @__PURE__ */ new WeakMap();
|
1431
|
-
let
|
1431
|
+
let Zn = class {
|
1432
1432
|
constructor(t, e, s) {
|
1433
1433
|
if (this._$cssResult$ = !0, s !== _e)
|
1434
1434
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
@@ -1447,7 +1447,7 @@ let Gn = class {
|
|
1447
1447
|
return this.cssText;
|
1448
1448
|
}
|
1449
1449
|
};
|
1450
|
-
const br = (n) => new
|
1450
|
+
const br = (n) => new Zn(typeof n == "string" ? n : n + "", void 0, _e), C = (n, ...t) => {
|
1451
1451
|
const e = n.length === 1 ? n[0] : t.reduce((s, r, i) => s + ((o) => {
|
1452
1452
|
if (o._$cssResult$ === !0)
|
1453
1453
|
return o.cssText;
|
@@ -1455,7 +1455,7 @@ const br = (n) => new Gn(typeof n == "string" ? n : n + "", void 0, _e), C = (n,
|
|
1455
1455
|
return o;
|
1456
1456
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
1457
1457
|
})(r) + n[i + 1], n[0]);
|
1458
|
-
return new
|
1458
|
+
return new Zn(e, n, _e);
|
1459
1459
|
}, wr = (n, t) => {
|
1460
1460
|
if (we)
|
1461
1461
|
n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
@@ -1475,7 +1475,7 @@ const br = (n) => new Gn(typeof n == "string" ? n : n + "", void 0, _e), C = (n,
|
|
1475
1475
|
* Copyright 2017 Google LLC
|
1476
1476
|
* SPDX-License-Identifier: BSD-3-Clause
|
1477
1477
|
*/
|
1478
|
-
const { is: _r, defineProperty: Sr, getOwnPropertyDescriptor: xr, getOwnPropertyNames: Cr, getOwnPropertySymbols: Ar, getPrototypeOf: Er } = Object, U = globalThis,
|
1478
|
+
const { is: _r, defineProperty: Sr, getOwnPropertyDescriptor: xr, getOwnPropertyNames: Cr, getOwnPropertySymbols: Ar, getPrototypeOf: Er } = Object, U = globalThis, Ye = U.trustedTypes, Or = Ye ? Ye.emptyScript : "", Jt = U.reactiveElementPolyfillSupport, ot = (n, t) => n, Ot = { toAttribute(n, t) {
|
1479
1479
|
switch (t) {
|
1480
1480
|
case Boolean:
|
1481
1481
|
n = n ? Or : null;
|
@@ -1503,7 +1503,7 @@ const { is: _r, defineProperty: Sr, getOwnPropertyDescriptor: xr, getOwnProperty
|
|
1503
1503
|
}
|
1504
1504
|
}
|
1505
1505
|
return e;
|
1506
|
-
} }, Se = (n, t) => !_r(n, t),
|
1506
|
+
} }, Se = (n, t) => !_r(n, t), Ze = { attribute: !0, type: String, converter: Ot, reflect: !1, hasChanged: Se };
|
1507
1507
|
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), U.litPropertyMetadata ?? (U.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
1508
1508
|
let q = class extends HTMLElement {
|
1509
1509
|
static addInitializer(t) {
|
@@ -1512,7 +1512,7 @@ let q = class extends HTMLElement {
|
|
1512
1512
|
static get observedAttributes() {
|
1513
1513
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
1514
1514
|
}
|
1515
|
-
static createProperty(t, e =
|
1515
|
+
static createProperty(t, e = Ze) {
|
1516
1516
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
1517
1517
|
const s = Symbol(), r = this.getPropertyDescriptor(t, s, e);
|
1518
1518
|
r !== void 0 && Sr(this.prototype, t, r);
|
@@ -1532,7 +1532,7 @@ let q = class extends HTMLElement {
|
|
1532
1532
|
}, configurable: !0, enumerable: !0 };
|
1533
1533
|
}
|
1534
1534
|
static getPropertyOptions(t) {
|
1535
|
-
return this.elementProperties.get(t) ??
|
1535
|
+
return this.elementProperties.get(t) ?? Ze;
|
1536
1536
|
}
|
1537
1537
|
static _$Ei() {
|
1538
1538
|
if (this.hasOwnProperty(ot("elementProperties")))
|
@@ -1581,15 +1581,15 @@ let q = class extends HTMLElement {
|
|
1581
1581
|
}
|
1582
1582
|
_$Ev() {
|
1583
1583
|
var t;
|
1584
|
-
this._$
|
1584
|
+
this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
|
1585
1585
|
}
|
1586
1586
|
addController(t) {
|
1587
1587
|
var e;
|
1588
|
-
(this._$
|
1588
|
+
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
|
1589
1589
|
}
|
1590
1590
|
removeController(t) {
|
1591
1591
|
var e;
|
1592
|
-
(e = this._$
|
1592
|
+
(e = this._$EO) == null || e.delete(t);
|
1593
1593
|
}
|
1594
1594
|
_$E_() {
|
1595
1595
|
const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
|
@@ -1603,7 +1603,7 @@ let q = class extends HTMLElement {
|
|
1603
1603
|
}
|
1604
1604
|
connectedCallback() {
|
1605
1605
|
var t;
|
1606
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$
|
1606
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
|
1607
1607
|
var s;
|
1608
1608
|
return (s = e.hostConnected) == null ? void 0 : s.call(e);
|
1609
1609
|
});
|
@@ -1612,7 +1612,7 @@ let q = class extends HTMLElement {
|
|
1612
1612
|
}
|
1613
1613
|
disconnectedCallback() {
|
1614
1614
|
var t;
|
1615
|
-
(t = this._$
|
1615
|
+
(t = this._$EO) == null || t.forEach((e) => {
|
1616
1616
|
var s;
|
1617
1617
|
return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
|
1618
1618
|
});
|
@@ -1620,7 +1620,7 @@ let q = class extends HTMLElement {
|
|
1620
1620
|
attributeChangedCallback(t, e, s) {
|
1621
1621
|
this._$AK(t, s);
|
1622
1622
|
}
|
1623
|
-
_$
|
1623
|
+
_$EC(t, e) {
|
1624
1624
|
var i;
|
1625
1625
|
const s = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, s);
|
1626
1626
|
if (r !== void 0 && s.reflect === !0) {
|
@@ -1636,21 +1636,21 @@ let q = class extends HTMLElement {
|
|
1636
1636
|
this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
|
1637
1637
|
}
|
1638
1638
|
}
|
1639
|
-
requestUpdate(t, e, s
|
1639
|
+
requestUpdate(t, e, s) {
|
1640
1640
|
if (t !== void 0) {
|
1641
|
-
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? Se)(
|
1641
|
+
if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? Se)(this[t], e))
|
1642
1642
|
return;
|
1643
|
-
this.
|
1643
|
+
this.P(t, e, s);
|
1644
1644
|
}
|
1645
|
-
this.isUpdatePending === !1 && (this._$
|
1645
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
1646
1646
|
}
|
1647
|
-
|
1647
|
+
P(t, e, s) {
|
1648
1648
|
this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
|
1649
1649
|
}
|
1650
|
-
async _$
|
1650
|
+
async _$ET() {
|
1651
1651
|
this.isUpdatePending = !0;
|
1652
1652
|
try {
|
1653
|
-
await this._$
|
1653
|
+
await this._$ES;
|
1654
1654
|
} catch (e) {
|
1655
1655
|
Promise.reject(e);
|
1656
1656
|
}
|
@@ -1665,7 +1665,7 @@ let q = class extends HTMLElement {
|
|
1665
1665
|
if (!this.isUpdatePending)
|
1666
1666
|
return;
|
1667
1667
|
if (!this.hasUpdated) {
|
1668
|
-
if (this._$Ep) {
|
1668
|
+
if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
|
1669
1669
|
for (const [i, o] of this._$Ep)
|
1670
1670
|
this[i] = o;
|
1671
1671
|
this._$Ep = void 0;
|
@@ -1673,17 +1673,17 @@ let q = class extends HTMLElement {
|
|
1673
1673
|
const r = this.constructor.elementProperties;
|
1674
1674
|
if (r.size > 0)
|
1675
1675
|
for (const [i, o] of r)
|
1676
|
-
o.wrapped !== !0 || this._$AL.has(i) || this[i] === void 0 || this.
|
1676
|
+
o.wrapped !== !0 || this._$AL.has(i) || this[i] === void 0 || this.P(i, this[i], o);
|
1677
1677
|
}
|
1678
1678
|
let t = !1;
|
1679
1679
|
const e = this._$AL;
|
1680
1680
|
try {
|
1681
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$
|
1681
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
1682
1682
|
var i;
|
1683
1683
|
return (i = r.hostUpdate) == null ? void 0 : i.call(r);
|
1684
|
-
}), this.update(e)) : this._$
|
1684
|
+
}), this.update(e)) : this._$EU();
|
1685
1685
|
} catch (r) {
|
1686
|
-
throw t = !1, this._$
|
1686
|
+
throw t = !1, this._$EU(), r;
|
1687
1687
|
}
|
1688
1688
|
t && this._$AE(e);
|
1689
1689
|
}
|
@@ -1691,39 +1691,39 @@ let q = class extends HTMLElement {
|
|
1691
1691
|
}
|
1692
1692
|
_$AE(t) {
|
1693
1693
|
var e;
|
1694
|
-
(e = this._$
|
1694
|
+
(e = this._$EO) == null || e.forEach((s) => {
|
1695
1695
|
var r;
|
1696
1696
|
return (r = s.hostUpdated) == null ? void 0 : r.call(s);
|
1697
1697
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
1698
1698
|
}
|
1699
|
-
_$
|
1699
|
+
_$EU() {
|
1700
1700
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
1701
1701
|
}
|
1702
1702
|
get updateComplete() {
|
1703
1703
|
return this.getUpdateComplete();
|
1704
1704
|
}
|
1705
1705
|
getUpdateComplete() {
|
1706
|
-
return this._$
|
1706
|
+
return this._$ES;
|
1707
1707
|
}
|
1708
1708
|
shouldUpdate(t) {
|
1709
1709
|
return !0;
|
1710
1710
|
}
|
1711
1711
|
update(t) {
|
1712
|
-
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$
|
1712
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
1713
1713
|
}
|
1714
1714
|
updated(t) {
|
1715
1715
|
}
|
1716
1716
|
firstUpdated(t) {
|
1717
1717
|
}
|
1718
1718
|
};
|
1719
|
-
q.elementStyles = [], q.shadowRootOptions = { mode: "open" }, q[ot("elementProperties")] = /* @__PURE__ */ new Map(), q[ot("finalized")] = /* @__PURE__ */ new Map(), Jt == null || Jt({ ReactiveElement: q }), (U.reactiveElementVersions ?? (U.reactiveElementVersions = [])).push("2.0.
|
1719
|
+
q.elementStyles = [], q.shadowRootOptions = { mode: "open" }, q[ot("elementProperties")] = /* @__PURE__ */ new Map(), q[ot("finalized")] = /* @__PURE__ */ new Map(), Jt == null || Jt({ ReactiveElement: q }), (U.reactiveElementVersions ?? (U.reactiveElementVersions = [])).push("2.0.4");
|
1720
1720
|
/**
|
1721
1721
|
* @license
|
1722
1722
|
* Copyright 2017 Google LLC
|
1723
1723
|
* SPDX-License-Identifier: BSD-3-Clause
|
1724
1724
|
*/
|
1725
|
-
const at = globalThis, kt = at.trustedTypes, qe = kt ? kt.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, qn = "$lit$", L = `lit$${(Math.random() + "").slice(9)}$`,
|
1726
|
-
\f\r]`, it = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
1725
|
+
const at = globalThis, kt = at.trustedTypes, qe = kt ? kt.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, qn = "$lit$", L = `lit$${(Math.random() + "").slice(9)}$`, Kn = "?" + L, kr = `<${Kn}>`, W = document, ct = () => W.createComment(""), ut = (n) => n === null || typeof n != "object" && typeof n != "function", Gn = Array.isArray, Tr = (n) => Gn(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Qt = `[
|
1726
|
+
\f\r]`, it = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ke = /-->/g, Ge = />/g, D = RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^
|
1727
1727
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), Xe = /'/g, Je = /"/g, Xn = /^(?:script|style|textarea|title)$/i, Pr = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), v = Pr(1), j = Symbol.for("lit-noChange"), f = Symbol.for("lit-nothing"), Qe = /* @__PURE__ */ new WeakMap(), z = W.createTreeWalker(W, 129);
|
1728
1728
|
function Jn(n, t) {
|
1729
1729
|
if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
|
@@ -1737,7 +1737,7 @@ const Lr = (n, t) => {
|
|
1737
1737
|
const l = n[a];
|
1738
1738
|
let c, u, h = -1, d = 0;
|
1739
1739
|
for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
|
1740
|
-
d = o.lastIndex, o === it ? u[1] === "!--" ? o =
|
1740
|
+
d = o.lastIndex, o === it ? u[1] === "!--" ? o = Ke : u[1] !== void 0 ? o = Ge : u[2] !== void 0 ? (Xn.test(u[2]) && (r = RegExp("</" + u[2], "g")), o = D) : u[3] !== void 0 && (o = D) : o === D ? u[0] === ">" ? (o = r ?? it, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? D : u[3] === '"' ? Je : Xe) : o === Je || o === Xe ? o = D : o === Ke || o === Ge ? o = it : (o = D, r = void 0);
|
1741
1741
|
const p = o === D && n[a + 1].startsWith("/>") ? " " : "";
|
1742
1742
|
i += o === it ? l + kr : h >= 0 ? (s.push(c), l.slice(0, h) + qn + l.slice(h) + L + p) : l + L + (h === -2 ? a : p);
|
1743
1743
|
}
|
@@ -1772,7 +1772,7 @@ class ht {
|
|
1772
1772
|
}
|
1773
1773
|
}
|
1774
1774
|
} else if (r.nodeType === 8)
|
1775
|
-
if (r.data ===
|
1775
|
+
if (r.data === Kn)
|
1776
1776
|
l.push({ type: 2, index: i });
|
1777
1777
|
else {
|
1778
1778
|
let h = -1;
|
@@ -1844,37 +1844,37 @@ class vt {
|
|
1844
1844
|
return this._$AB;
|
1845
1845
|
}
|
1846
1846
|
_$AI(t, e = this) {
|
1847
|
-
t = nt(this, t, e), ut(t) ? t === f || t == null || t === "" ? (this._$AH !== f && this._$AR(), this._$AH = f) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this
|
1847
|
+
t = nt(this, t, e), ut(t) ? t === f || t == null || t === "" ? (this._$AH !== f && this._$AR(), this._$AH = f) : t !== this._$AH && t !== j && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Tr(t) ? this.k(t) : this._(t);
|
1848
1848
|
}
|
1849
|
-
|
1849
|
+
S(t) {
|
1850
1850
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
1851
1851
|
}
|
1852
|
-
|
1853
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.
|
1852
|
+
T(t) {
|
1853
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
1854
1854
|
}
|
1855
1855
|
_(t) {
|
1856
|
-
this._$AH !== f && ut(this._$AH) ? this._$AA.nextSibling.data = t : this
|
1856
|
+
this._$AH !== f && ut(this._$AH) ? this._$AA.nextSibling.data = t : this.T(W.createTextNode(t)), this._$AH = t;
|
1857
1857
|
}
|
1858
|
-
|
1858
|
+
$(t) {
|
1859
1859
|
var i;
|
1860
1860
|
const { values: e, _$litType$: s } = t, r = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = ht.createElement(Jn(s.h, s.h[0]), this.options)), s);
|
1861
1861
|
if (((i = this._$AH) == null ? void 0 : i._$AD) === r)
|
1862
1862
|
this._$AH.p(e);
|
1863
1863
|
else {
|
1864
1864
|
const o = new Mr(r, this), a = o.u(this.options);
|
1865
|
-
o.p(e), this
|
1865
|
+
o.p(e), this.T(a), this._$AH = o;
|
1866
1866
|
}
|
1867
1867
|
}
|
1868
1868
|
_$AC(t) {
|
1869
1869
|
let e = Qe.get(t.strings);
|
1870
1870
|
return e === void 0 && Qe.set(t.strings, e = new ht(t)), e;
|
1871
1871
|
}
|
1872
|
-
|
1873
|
-
|
1872
|
+
k(t) {
|
1873
|
+
Gn(this._$AH) || (this._$AH = [], this._$AR());
|
1874
1874
|
const e = this._$AH;
|
1875
1875
|
let s, r = 0;
|
1876
1876
|
for (const i of t)
|
1877
|
-
r === e.length ? e.push(s = new vt(this.
|
1877
|
+
r === e.length ? e.push(s = new vt(this.S(ct()), this.S(ct()), this, this.options)) : s = e[r], s._$AI(i), r++;
|
1878
1878
|
r < e.length && (this._$AR(s && s._$AB.nextSibling, r), e.length = r);
|
1879
1879
|
}
|
1880
1880
|
_$AR(t = this._$AA.nextSibling, e) {
|
@@ -1910,9 +1910,9 @@ class Bt {
|
|
1910
1910
|
for (t = i[0], l = 0; l < i.length - 1; l++)
|
1911
1911
|
c = nt(this, a[s + l], e, l), c === j && (c = this._$AH[l]), o || (o = !ut(c) || c !== this._$AH[l]), c === f ? t = f : t !== f && (t += (c ?? "") + i[l + 1]), this._$AH[l] = c;
|
1912
1912
|
}
|
1913
|
-
o && !r && this.
|
1913
|
+
o && !r && this.j(t);
|
1914
1914
|
}
|
1915
|
-
|
1915
|
+
j(t) {
|
1916
1916
|
t === f ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
1917
1917
|
}
|
1918
1918
|
}
|
@@ -1920,7 +1920,7 @@ class Ir extends Bt {
|
|
1920
1920
|
constructor() {
|
1921
1921
|
super(...arguments), this.type = 3;
|
1922
1922
|
}
|
1923
|
-
|
1923
|
+
j(t) {
|
1924
1924
|
this.element[this.name] = t === f ? void 0 : t;
|
1925
1925
|
}
|
1926
1926
|
}
|
@@ -1928,7 +1928,7 @@ let Ur = class extends Bt {
|
|
1928
1928
|
constructor() {
|
1929
1929
|
super(...arguments), this.type = 4;
|
1930
1930
|
}
|
1931
|
-
|
1931
|
+
j(t) {
|
1932
1932
|
this.element.toggleAttribute(this.name, !!t && t !== f);
|
1933
1933
|
}
|
1934
1934
|
};
|
@@ -1959,7 +1959,7 @@ class jr {
|
|
1959
1959
|
}
|
1960
1960
|
}
|
1961
1961
|
const Vt = at.litHtmlPolyfillSupport;
|
1962
|
-
Vt == null || Vt(ht, vt), (at.litHtmlVersions ?? (at.litHtmlVersions = [])).push("3.
|
1962
|
+
Vt == null || Vt(ht, vt), (at.litHtmlVersions ?? (at.litHtmlVersions = [])).push("3.1.2");
|
1963
1963
|
const Hr = (n, t, e) => {
|
1964
1964
|
const s = (e == null ? void 0 : e.renderBefore) ?? t;
|
1965
1965
|
let r = s._$litPart$;
|
@@ -2003,8 +2003,8 @@ var _n;
|
|
2003
2003
|
b._$litElement$ = !0, b.finalized = !0, (_n = globalThis.litElementHydrateSupport) == null || _n.call(globalThis, { LitElement: b });
|
2004
2004
|
const te = globalThis.litElementPolyfillSupport;
|
2005
2005
|
te == null || te({ LitElement: b });
|
2006
|
-
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.
|
2007
|
-
const Nr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Dr = { name: "check-circle-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Br = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Ve = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, zr = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Fr = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, tn = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' },
|
2006
|
+
(globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
|
2007
|
+
const Nr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 60C47.464 60 60 47.464 60 32C60 16.536 47.464 4 32 4C16.536 4 4 16.536 4 32C4.01731 47.4568 16.5432 59.9827 32 60ZM32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6923 45.0849 45.0849 55.6923 32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.32247 18.9212 18.9212 8.32247 32 8.30769Z"/><path d="M29.3491 38.6031V20.6807C29.348 19.8662 29.4903 19.0598 29.7675 18.3096C29.9945 17.6371 30.3484 17.0302 30.804 16.5322C31.1251 16.1524 31.5593 15.9246 32.0204 15.894C32.6852 15.894 33.3496 16.471 34.0134 17.625C34.3738 18.1337 34.5955 18.7525 34.6509 19.4042V37.3267C34.6509 37.9947 34.2454 38.6329 33.4345 39.2414C32.6632 39.835 31.7547 40.1521 30.825 40.1523C29.8423 40.1524 29.3503 39.636 29.3491 38.6031Z"/><path d="M33.66 44.6959C33.9649 45.0866 34.161 45.551 34.2284 46.0419C34.2284 46.5397 33.8893 47.0083 33.2109 47.4476C32.5638 47.8771 31.8043 48.1062 31.0275 48.1061C30.1902 48.1061 29.7716 47.7271 29.7716 46.9693C29.7703 46.3788 29.8874 45.7941 30.116 45.2496C30.3064 44.7579 30.6022 44.3138 30.9826 43.9487C31.2626 43.6591 31.6427 43.4875 32.045 43.4692C32.5635 43.4692 33.1019 43.8781 33.66 44.6959Z"/></svg>' }, Dr = { name: "check-circle-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9829 16.5431 47.4569 4.01712 32 4ZM44.5613 24.5793L31.6382 43.9639C31.2806 44.5011 30.7008 44.8493 30.0586 44.9126C29.988 44.9197 29.9171 44.9232 29.8462 44.9231C29.275 44.9229 28.7272 44.696 28.3233 44.2921L19.7079 35.6767C19.1639 35.1326 18.9514 34.3396 19.1505 33.5964C19.3497 32.8533 19.9302 32.2728 20.6734 32.0736C21.4166 31.8745 22.2095 32.087 22.7536 32.631L29.5117 39.3881L40.9772 22.1899C41.4016 21.5439 42.1396 21.1749 42.9111 21.2229C43.6825 21.2709 44.3691 21.7286 44.7101 22.4223C45.0511 23.1159 44.9944 23.9391 44.5613 24.5793Z"/></svg>' }, Br = { name: "check-circle", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9998 4C16.5358 4 3.99976 16.536 3.99976 32C3.99976 47.464 16.5358 60 31.9998 60C47.4637 60 59.9998 47.464 59.9998 32C59.9826 16.5431 47.4566 4.01712 31.9998 4ZM31.9998 55.6923C18.9149 55.6923 8.30745 45.0849 8.30745 32C8.30745 18.9151 18.9149 8.30769 31.9998 8.30769C45.0847 8.30769 55.6921 18.9151 55.6921 32C55.6773 45.0788 45.0785 55.6775 31.9998 55.6923ZM44.5611 24.5793L31.638 43.9639C31.2804 44.5011 30.7005 44.8493 30.0584 44.9126C29.9878 44.9197 29.9169 44.9232 29.8459 44.9231C29.2747 44.9229 28.727 44.696 28.3231 44.2921L19.7077 35.6767C19.1636 35.1326 18.9512 34.3396 19.1503 33.5964C19.3494 32.8533 19.9299 32.2728 20.6731 32.0736C21.4163 31.8745 22.2093 32.087 22.7534 32.631L29.5115 39.3881L40.9769 22.1899C41.4013 21.5439 42.1394 21.1749 42.9108 21.2229C43.6823 21.2709 44.3688 21.7286 44.7099 22.4223C45.0509 23.1159 44.9941 23.9391 44.5611 24.5793Z"/></svg>' }, Ve = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M51.4283 11.6761L53.1768 9.53891C53.9347 8.61282 53.7982 7.24774 52.8722 6.48993C51.9461 5.73211 50.581 5.86852 49.8232 6.79461L36.3333 23.2822V13.3972C36.3332 11.6447 35.2774 10.0648 33.6583 9.39418C32.0391 8.72356 30.1755 9.09425 28.9362 10.3334L18.1029 21.1668H14.6667C9.88247 21.1722 6.00547 25.0492 6 29.8334V34.1668C6.00547 38.951 9.88247 42.828 14.6667 42.8334H18.1029L19.3315 44.0621L10.8232 54.4613C10.0653 55.3874 10.2018 56.7525 11.1279 57.5103C12.0539 58.2681 13.419 58.1317 14.1768 57.2056L22.411 47.1416L28.9362 53.6668C30.1755 54.9059 32.0391 55.2766 33.6583 54.606C35.2774 53.9354 36.3332 52.3555 36.3333 50.603V30.1254L42.6092 22.4549C44.2201 25.3756 45.044 28.6649 45 32.0001C45.1184 36.1899 43.7698 40.2896 41.1872 43.5909C40.409 44.5001 40.5152 45.8679 41.4243 46.6461C42.3334 47.4243 43.7012 47.3183 44.4795 46.4093C47.7313 42.3208 49.4486 37.2227 49.3333 32.0001C49.403 27.3538 48.067 22.7949 45.5005 18.9211L48.6119 15.1182C52.019 20.0793 53.7867 25.9829 53.6667 32.0001C53.6667 39.0587 51.4873 45.6518 47.6872 50.0909C46.909 51.0001 47.0152 52.3679 47.9243 53.1461C48.8334 53.9243 50.2012 53.8183 50.9795 52.9093C55.4408 47.6968 58 40.0764 58 32.0001C58 24.21 55.6006 16.8662 51.4283 11.6761ZM19.8971 38.5H14.6667C12.2744 38.4977 10.3357 36.559 10.3333 34.1667V29.8334C10.3357 27.4411 12.2744 25.5024 14.6667 25.5H19.8971L32 13.3972V28.5784L22.089 40.6919L19.8971 38.5ZM31.9997 50.603L25.1682 43.7715L31.9997 35.4218V50.603Z"/></svg>' }, zr = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' }, Fr = { name: "send", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.41642 6.29292C5.99705 5.18016 3.38612 7.41823 4.12858 9.96847L10.5427 32L4.12858 54.0315C3.38612 56.5818 5.99704 58.8198 8.41642 57.7071L58.1942 34.8125C60.6019 33.7051 60.6019 30.2949 58.1942 29.1875L8.41642 6.29292ZM14.2569 29.9351L8.74174 10.9913L49.9295 29.9351H14.2569ZM14.2568 34.0651L8.74174 53.0087L49.9291 34.0651H14.2568Z"/></svg>' }, tn = { name: "volume", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M33.6578 9.3322C32.0391 8.65799 30.1735 9.02919 28.9362 10.2717L18.1029 21.105H14.6667C9.88247 21.1105 6.00547 24.9875 6 29.7717V34.105C6.00547 38.8892 9.88247 42.7662 14.6667 42.7717H18.1029L28.9362 53.605C30.1755 54.8442 32.0391 55.2149 33.6583 54.5442C35.2774 53.8736 36.3332 52.2937 36.3333 50.5412V13.3355C36.3365 11.5817 35.2794 10.0001 33.6578 9.3322ZM32 50.5411L19.8971 38.4382H14.6667C12.2744 38.4358 10.3357 36.4971 10.3333 34.1049V29.7716C10.3357 27.3793 12.2744 25.4406 14.6667 25.4382H19.8971L32 13.3353V50.5411ZM49.3334 31.9383C49.4487 37.161 47.7314 42.2591 44.4796 46.3475C43.7013 47.2565 42.3335 47.3625 41.4244 46.5843C40.5153 45.8061 40.4092 44.4383 41.1873 43.5291C43.7699 40.2278 45.1185 36.1282 45.0001 31.9383C45.1185 27.7485 43.7699 23.6488 41.1873 20.3475C40.4092 19.4383 40.5153 18.0705 41.4244 17.2923C42.3335 16.5141 43.7013 16.6201 44.4796 17.5291C47.7314 21.6176 49.4487 26.7157 49.3334 31.9383ZM58.0001 31.9383C58.0001 40.0147 55.441 47.635 50.9796 52.8475C50.2013 53.7565 48.8335 53.8625 47.9244 53.0843C47.0153 52.3061 46.9092 50.9383 47.6873 50.0291C51.4874 45.59 53.6668 38.9969 53.6668 31.9383C53.6668 24.8797 51.4874 18.2866 47.6873 13.8475C46.9092 12.9383 47.0153 11.5705 47.9244 10.7923C48.8335 10.0141 50.2013 10.1201 50.9796 11.0291C55.441 16.2416 58.0001 23.862 58.0001 31.9383Z"/></svg>' }, K = {
|
2008
2008
|
allRenderFn: !1,
|
2009
2009
|
cmpDidLoad: !0,
|
2010
2010
|
cmpDidUnload: !1,
|
@@ -2088,7 +2088,7 @@ const Nr = { name: "alert", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.
|
|
2088
2088
|
transformTagName: !1,
|
2089
2089
|
attachStyles: !0
|
2090
2090
|
};
|
2091
|
-
let
|
2091
|
+
let G, Qn, zt, Vn = !1, Tt = !1, xe = !1, x = !1, en = null, ue = !1;
|
2092
2092
|
const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, ts = Ft.HTMLElement || class {
|
2093
2093
|
}, w = {
|
2094
2094
|
$flags$: 0,
|
@@ -2109,7 +2109,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2109
2109
|
} catch {
|
2110
2110
|
}
|
2111
2111
|
return n;
|
2112
|
-
})(),
|
2112
|
+
})(), Yr = (n) => Promise.resolve(n), Zr = /* @__PURE__ */ (() => {
|
2113
2113
|
try {
|
2114
2114
|
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
2115
2115
|
} catch {
|
@@ -2117,22 +2117,22 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2117
2117
|
return !1;
|
2118
2118
|
})(), es = (n, t, e, s) => {
|
2119
2119
|
e && e.map(([r, i, o]) => {
|
2120
|
-
const a =
|
2120
|
+
const a = Kr(n, r), l = qr(t, o), c = Gr(r);
|
2121
2121
|
w.ael(a, i, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => w.rel(a, i, l, c));
|
2122
2122
|
});
|
2123
2123
|
}, qr = (n, t) => (e) => {
|
2124
2124
|
try {
|
2125
|
-
|
2125
|
+
K.lazyLoad || n.$hostElement$[t](e);
|
2126
2126
|
} catch (s) {
|
2127
2127
|
gt(s);
|
2128
2128
|
}
|
2129
|
-
},
|
2129
|
+
}, Kr = (n, t) => t & 4 ? O : t & 8 ? Ft : t & 16 ? O.body : n, Gr = (n) => Wr ? {
|
2130
2130
|
passive: (n & 1) !== 0,
|
2131
2131
|
capture: (n & 2) !== 0
|
2132
|
-
} : (n & 2) !== 0, nn = "http://www.w3.org/1999/xlink",
|
2132
|
+
} : (n & 2) !== 0, nn = "http://www.w3.org/1999/xlink", Y = (n, t = "") => () => {
|
2133
2133
|
}, sn = /* @__PURE__ */ new WeakMap(), Xr = (n, t, e) => {
|
2134
2134
|
let s = Mt.get(n);
|
2135
|
-
|
2135
|
+
Zr && e ? (s = s || new CSSStyleSheet(), s.replace(t)) : s = t, Mt.set(n, s);
|
2136
2136
|
}, Jr = (n, t, e, s) => {
|
2137
2137
|
let r = ns(t, e), i = Mt.get(r);
|
2138
2138
|
if (n = n.nodeType === 11 ? n : O, i)
|
@@ -2144,7 +2144,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2144
2144
|
n.adoptedStyleSheets.includes(i) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, i]);
|
2145
2145
|
return r;
|
2146
2146
|
}, Qr = (n) => {
|
2147
|
-
const t = n.$cmpMeta$, e = n.$hostElement$, s = t.$flags$, r =
|
2147
|
+
const t = n.$cmpMeta$, e = n.$hostElement$, s = t.$flags$, r = Y("attachStyles", t.$tagName$), i = Jr(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, n.$modeName$);
|
2148
2148
|
s & 10 && (e["s-sc"] = i, e.classList.add(i + "-h"), s & 2 && e.classList.add(i + "-s")), r();
|
2149
2149
|
}, ns = (n, t) => "sc-" + (t && n.$flags$ & 32 ? n.$tagName$ + "-" + t : n.$tagName$), Vr = (n) => Ei.map((t) => t(n)).find((t) => !!t), rn = {}, ti = "http://www.w3.org/2000/svg", ei = "http://www.w3.org/1999/xhtml", ni = (n) => n != null, Ce = (n) => (n = typeof n, n === "object" || n === "function"), V = (n, t, ...e) => {
|
2150
2150
|
let s = null, r = null, i = null, o = !1, a = !1, l = [];
|
@@ -2229,7 +2229,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2229
2229
|
an(r, s, i[s], o[s], e, t.$flags$);
|
2230
2230
|
}, Lt = (n, t, e, s) => {
|
2231
2231
|
let r = t.$children$[e], i = 0, o, a, l;
|
2232
|
-
if (Vn || (xe = !0, r.$tag$ === "slot" && (
|
2232
|
+
if (Vn || (xe = !0, r.$tag$ === "slot" && (G && s.classList.add(G + "-s"), r.$flags$ |= r.$children$ ? (
|
2233
2233
|
// slot element has fallback content
|
2234
2234
|
2
|
2235
2235
|
) : (
|
@@ -2240,7 +2240,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2240
2240
|
else if (r.$flags$ & 1)
|
2241
2241
|
o = r.$elm$ = O.createTextNode("");
|
2242
2242
|
else {
|
2243
|
-
if (x || (x = r.$tag$ === "svg"), o = r.$elm$ = O.createElementNS(x ? ti : ei, r.$flags$ & 2 ? "slot-fb" : r.$tag$), x && r.$tag$ === "foreignObject" && (x = !1), ss(null, r, x), ni(
|
2243
|
+
if (x || (x = r.$tag$ === "svg"), o = r.$elm$ = O.createElementNS(x ? ti : ei, r.$flags$ & 2 ? "slot-fb" : r.$tag$), x && r.$tag$ === "foreignObject" && (x = !1), ss(null, r, x), ni(G) && o["s-si"] !== G && o.classList.add(o["s-si"] = G), r.$children$)
|
2244
2244
|
for (i = 0; i < r.$children$.length; ++i)
|
2245
2245
|
a = Lt(n, r, i, o), a && o.appendChild(a);
|
2246
2246
|
r.$tag$ === "svg" ? x = !1 : o.tagName === "foreignObject" && (x = !0);
|
@@ -2330,7 +2330,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2330
2330
|
n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(cs);
|
2331
2331
|
}, li = (n, t) => {
|
2332
2332
|
const e = n.$hostElement$, s = n.$cmpMeta$, r = n.$vnode$ || Pt(null, null), i = si(t) ? t : V(null, null, t);
|
2333
|
-
zt = e.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = e[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = e.shadowRoot || e,
|
2333
|
+
zt = e.tagName, s.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, s.$attrsToReflect$.map(([o, a]) => i.$attrs$[a] = e[o])), i.$tag$ = null, i.$flags$ |= 4, n.$vnode$ = i, i.$elm$ = r.$elm$ = e.shadowRoot || e, G = e["s-sc"], Qn = e["s-cr"], Vn = (s.$flags$ & 1) !== 0, Tt = !1, X(r, i);
|
2334
2334
|
{
|
2335
2335
|
if (w.$flags$ |= 1, xe) {
|
2336
2336
|
ls(i.$elm$);
|
@@ -2365,23 +2365,23 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2365
2365
|
return n.dispatchEvent(s), s;
|
2366
2366
|
}, di = (n, t) => {
|
2367
2367
|
}, us = (n, t) => (n.$flags$ |= 16, di(n, n.$ancestorComponent$), Ti(() => pi(n, t))), pi = (n, t) => {
|
2368
|
-
const e = n.$hostElement$, s =
|
2368
|
+
const e = n.$hostElement$, s = Y("scheduleUpdate", n.$cmpMeta$.$tagName$), r = e;
|
2369
2369
|
let i;
|
2370
2370
|
return t ? i = tt(r, "componentWillLoad") : i = tt(r, "componentWillUpdate"), i = un(i, () => tt(r, "componentWillRender")), s(), un(i, () => fi(n, r, t));
|
2371
2371
|
}, fi = async (n, t, e) => {
|
2372
|
-
const s = n.$hostElement$, r =
|
2372
|
+
const s = n.$hostElement$, r = Y("update", n.$cmpMeta$.$tagName$);
|
2373
2373
|
s["s-rc"], e && Qr(n);
|
2374
|
-
const i =
|
2374
|
+
const i = Y("render", n.$cmpMeta$.$tagName$);
|
2375
2375
|
vi(n, t, s), i(), r(), gi(n);
|
2376
2376
|
}, vi = (n, t, e) => {
|
2377
2377
|
try {
|
2378
|
-
en = t, t = t.render && t.render(), n.$flags$ &= -17, n.$flags$ |= 2, (
|
2378
|
+
en = t, t = t.render && t.render(), n.$flags$ &= -17, n.$flags$ |= 2, (K.hasRenderFn || K.reflect) && (K.vdomRender || K.reflect) && (K.hydrateServerSide || li(n, t));
|
2379
2379
|
} catch (a) {
|
2380
2380
|
gt(a, n.$hostElement$);
|
2381
2381
|
}
|
2382
2382
|
return en = null, null;
|
2383
2383
|
}, gi = (n) => {
|
2384
|
-
const t = n.$cmpMeta$.$tagName$, e = n.$hostElement$, s =
|
2384
|
+
const t = n.$cmpMeta$.$tagName$, e = n.$hostElement$, s = Y("postUpdate", t), r = e;
|
2385
2385
|
n.$ancestorComponent$, tt(r, "componentDidRender"), n.$flags$ & 64 ? (tt(r, "componentDidUpdate"), s()) : (n.$flags$ |= 64, tt(r, "componentDidLoad"), s());
|
2386
2386
|
}, tt = (n, t, e) => {
|
2387
2387
|
if (n && n[t])
|
@@ -2457,7 +2457,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2457
2457
|
typeof o != "string" && (o = o[t.$modeName$ = Vr(n)]);
|
2458
2458
|
const a = ns(e, t.$modeName$);
|
2459
2459
|
if (!Mt.has(a)) {
|
2460
|
-
const l =
|
2460
|
+
const l = Y("registerStyles", e.$tagName$);
|
2461
2461
|
Xr(a, o, !!(e.$flags$ & 1)), l();
|
2462
2462
|
}
|
2463
2463
|
}
|
@@ -2465,7 +2465,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2465
2465
|
}, _i = (n) => {
|
2466
2466
|
}, Si = (n) => {
|
2467
2467
|
if (!(w.$flags$ & 1)) {
|
2468
|
-
const t = Wt(n), e = t.$cmpMeta$, s =
|
2468
|
+
const t = Wt(n), e = t.$cmpMeta$, s = Y("connectedCallback", e.$tagName$);
|
2469
2469
|
t.$flags$ & 1 ? (es(n, t, e.$listeners$), _i(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && xi(n), e.$members$ && Object.entries(e.$members$).map(([r, [i]]) => {
|
2470
2470
|
if (i & 31 && n.hasOwnProperty(r)) {
|
2471
2471
|
const o = n[r];
|
@@ -2525,7 +2525,7 @@ const Ft = typeof window < "u" ? window : {}, O = Ft.document || { head: {} }, t
|
|
2525
2525
|
n.length = 0;
|
2526
2526
|
}, he = () => {
|
2527
2527
|
pn(dn), pn(ps), (ue = dn.length > 0) && w.raf(he);
|
2528
|
-
}, ki = (n) =>
|
2528
|
+
}, ki = (n) => Yr().then(n), Ti = /* @__PURE__ */ Oi(ps, !0), Pi = (n = {}) => {
|
2529
2529
|
const { content: t = "", title: e, attributes: s = [] } = n;
|
2530
2530
|
let r = "", i = [
|
2531
2531
|
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
@@ -2650,7 +2650,7 @@ const zi = { attribute: !0, type: String, converter: Ot, reflect: !1, hasChanged
|
|
2650
2650
|
const l = t.get.call(this);
|
2651
2651
|
t.set.call(this, a), this.requestUpdate(o, l, n);
|
2652
2652
|
}, init(a) {
|
2653
|
-
return a !== void 0 && this.
|
2653
|
+
return a !== void 0 && this.P(o, void 0, n), a;
|
2654
2654
|
} };
|
2655
2655
|
}
|
2656
2656
|
if (s === "setter") {
|
@@ -2687,7 +2687,7 @@ const Wi = (n) => n.strings === void 0;
|
|
2687
2687
|
* Copyright 2017 Google LLC
|
2688
2688
|
* SPDX-License-Identifier: BSD-3-Clause
|
2689
2689
|
*/
|
2690
|
-
const
|
2690
|
+
const Yt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Zt = (n) => (...t) => ({ _$litDirective$: n, values: t });
|
2691
2691
|
let Oe = class {
|
2692
2692
|
constructor(t) {
|
2693
2693
|
}
|
@@ -2734,10 +2734,10 @@ const lt = (n, t) => {
|
|
2734
2734
|
e.add(n), qi(t);
|
2735
2735
|
}
|
2736
2736
|
};
|
2737
|
-
function
|
2737
|
+
function Yi(n) {
|
2738
2738
|
this._$AN !== void 0 ? (It(this), this._$AM = n, vs(this)) : this._$AM = n;
|
2739
2739
|
}
|
2740
|
-
function
|
2740
|
+
function Zi(n, t = !1, e = 0) {
|
2741
2741
|
const s = this._$AH, r = this._$AN;
|
2742
2742
|
if (r !== void 0 && r.size !== 0)
|
2743
2743
|
if (t)
|
@@ -2750,7 +2750,7 @@ function Gi(n, t = !1, e = 0) {
|
|
2750
2750
|
lt(this, n);
|
2751
2751
|
}
|
2752
2752
|
const qi = (n) => {
|
2753
|
-
n.type ==
|
2753
|
+
n.type == Yt.CHILD && (n._$AP ?? (n._$AP = Zi), n._$AQ ?? (n._$AQ = Yi));
|
2754
2754
|
};
|
2755
2755
|
let gs = class extends Oe {
|
2756
2756
|
constructor() {
|
@@ -2781,35 +2781,35 @@ let gs = class extends Oe {
|
|
2781
2781
|
* Copyright 2020 Google LLC
|
2782
2782
|
* SPDX-License-Identifier: BSD-3-Clause
|
2783
2783
|
*/
|
2784
|
-
const Ut = () => new
|
2785
|
-
class
|
2784
|
+
const Ut = () => new Ki();
|
2785
|
+
class Ki {
|
2786
2786
|
}
|
2787
|
-
const ee = /* @__PURE__ */ new WeakMap(), Rt =
|
2787
|
+
const ee = /* @__PURE__ */ new WeakMap(), Rt = Zt(class extends gs {
|
2788
2788
|
render(n) {
|
2789
2789
|
return f;
|
2790
2790
|
}
|
2791
2791
|
update(n, [t]) {
|
2792
2792
|
var s;
|
2793
|
-
const e = t !== this.
|
2794
|
-
return e && this.
|
2793
|
+
const e = t !== this.Y;
|
2794
|
+
return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (s = n.options) == null ? void 0 : s.host, this.rt(this.ct = n.element)), f;
|
2795
2795
|
}
|
2796
|
-
|
2797
|
-
if (typeof this.
|
2798
|
-
const t = this.
|
2796
|
+
rt(n) {
|
2797
|
+
if (typeof this.Y == "function") {
|
2798
|
+
const t = this.ht ?? globalThis;
|
2799
2799
|
let e = ee.get(t);
|
2800
|
-
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ee.set(t, e)), e.get(this.
|
2800
|
+
e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ee.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
|
2801
2801
|
} else
|
2802
|
-
this.
|
2802
|
+
this.Y.value = n;
|
2803
2803
|
}
|
2804
|
-
get
|
2804
|
+
get lt() {
|
2805
2805
|
var n, t;
|
2806
|
-
return typeof this.
|
2806
|
+
return typeof this.Y == "function" ? (n = ee.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
|
2807
2807
|
}
|
2808
2808
|
disconnected() {
|
2809
|
-
this.
|
2809
|
+
this.lt === this.ct && this.rt(void 0);
|
2810
2810
|
}
|
2811
2811
|
reconnected() {
|
2812
|
-
this.
|
2812
|
+
this.rt(this.ct);
|
2813
2813
|
}
|
2814
2814
|
});
|
2815
2815
|
/**
|
@@ -2817,10 +2817,10 @@ const ee = /* @__PURE__ */ new WeakMap(), Rt = Gt(class extends gs {
|
|
2817
2817
|
* Copyright 2018 Google LLC
|
2818
2818
|
* SPDX-License-Identifier: BSD-3-Clause
|
2819
2819
|
*/
|
2820
|
-
const jt =
|
2820
|
+
const jt = Zt(class extends Oe {
|
2821
2821
|
constructor(n) {
|
2822
2822
|
var t;
|
2823
|
-
if (super(n), n.type !==
|
2823
|
+
if (super(n), n.type !== Yt.ATTRIBUTE || n.name !== "class" || ((t = n.strings) == null ? void 0 : t.length) > 2)
|
2824
2824
|
throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
2825
2825
|
}
|
2826
2826
|
render(n) {
|
@@ -2828,26 +2828,26 @@ const jt = Gt(class extends Oe {
|
|
2828
2828
|
}
|
2829
2829
|
update(n, [t]) {
|
2830
2830
|
var s, r;
|
2831
|
-
if (this.
|
2832
|
-
this.
|
2831
|
+
if (this.st === void 0) {
|
2832
|
+
this.st = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((i) => i !== "")));
|
2833
2833
|
for (const i in t)
|
2834
|
-
t[i] && !((s = this.
|
2834
|
+
t[i] && !((s = this.nt) != null && s.has(i)) && this.st.add(i);
|
2835
2835
|
return this.render(t);
|
2836
2836
|
}
|
2837
2837
|
const e = n.element.classList;
|
2838
|
-
for (const i of this.
|
2839
|
-
i in t || (e.remove(i), this.
|
2838
|
+
for (const i of this.st)
|
2839
|
+
i in t || (e.remove(i), this.st.delete(i));
|
2840
2840
|
for (const i in t) {
|
2841
2841
|
const o = !!t[i];
|
2842
|
-
o === this.
|
2842
|
+
o === this.st.has(i) || (r = this.nt) != null && r.has(i) || (o ? (e.add(i), this.st.add(i)) : (e.remove(i), this.st.delete(i)));
|
2843
2843
|
}
|
2844
2844
|
return j;
|
2845
2845
|
}
|
2846
2846
|
});
|
2847
|
-
var
|
2847
|
+
var Gi = Object.defineProperty, Xi = Object.getOwnPropertyDescriptor, Ji = (n, t, e, s) => {
|
2848
2848
|
for (var r = s > 1 ? void 0 : s ? Xi(t, e) : t, i = n.length - 1, o; i >= 0; i--)
|
2849
2849
|
(o = n[i]) && (r = (s ? o(t, e, r) : o(r)) || r);
|
2850
|
-
return s && r &&
|
2850
|
+
return s && r && Gi(t, e, r), r;
|
2851
2851
|
};
|
2852
2852
|
class ke extends b {
|
2853
2853
|
constructor() {
|
@@ -2910,25 +2910,25 @@ const ne = /* @__PURE__ */ new Map(), vn = /* @__PURE__ */ new WeakSet(), gn = (
|
|
2910
2910
|
} }, eo = { duration: 333, easing: "ease-in-out" }, no = ["left", "top", "width", "height", "opacity", "color", "background"], bn = /* @__PURE__ */ new WeakMap();
|
2911
2911
|
class so extends gs {
|
2912
2912
|
constructor(t) {
|
2913
|
-
if (super(t), this.t =
|
2913
|
+
if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === Yt.CHILD)
|
2914
2914
|
throw Error("The `animate` directive must be used in attribute position.");
|
2915
2915
|
this.createFinished();
|
2916
2916
|
}
|
2917
2917
|
createFinished() {
|
2918
2918
|
var t;
|
2919
2919
|
(t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((e) => {
|
2920
|
-
this.
|
2920
|
+
this.l = e;
|
2921
2921
|
});
|
2922
2922
|
}
|
2923
2923
|
async resolveFinished() {
|
2924
2924
|
var t;
|
2925
|
-
(t = this.
|
2925
|
+
(t = this.l) == null || t.call(this), this.l = void 0;
|
2926
2926
|
}
|
2927
2927
|
render(t) {
|
2928
2928
|
return f;
|
2929
2929
|
}
|
2930
2930
|
getController() {
|
2931
|
-
return Qi.get(this.
|
2931
|
+
return Qi.get(this.u);
|
2932
2932
|
}
|
2933
2933
|
isDisabled() {
|
2934
2934
|
var t;
|
@@ -2936,22 +2936,22 @@ class so extends gs {
|
|
2936
2936
|
}
|
2937
2937
|
update(t, [e]) {
|
2938
2938
|
var r;
|
2939
|
-
const s = this.
|
2940
|
-
return s && (this.
|
2939
|
+
const s = this.u === void 0;
|
2940
|
+
return s && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((i) => this.t = !0), this.element = t.element, bn.set(this.element, this)), this.optionsOrCallback = e, (s || typeof e != "function") && this.p(e), this.render(e);
|
2941
2941
|
}
|
2942
|
-
|
2942
|
+
p(t) {
|
2943
2943
|
t = t ?? {};
|
2944
2944
|
const e = this.getController();
|
2945
2945
|
e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = no), this.options = t;
|
2946
2946
|
}
|
2947
|
-
|
2947
|
+
m() {
|
2948
2948
|
const t = {}, e = this.element.getBoundingClientRect(), s = getComputedStyle(this.element);
|
2949
2949
|
return this.options.properties.forEach((r) => {
|
2950
2950
|
const i = e[r] ?? (se[r] ? void 0 : s[r]), o = Number(i);
|
2951
2951
|
t[r] = isNaN(o) ? i + "" : o;
|
2952
2952
|
}), t;
|
2953
2953
|
}
|
2954
|
-
|
2954
|
+
v() {
|
2955
2955
|
let t, e = !0;
|
2956
2956
|
return this.options.guard && (t = this.options.guard(), e = ((s, r) => {
|
2957
2957
|
if (Array.isArray(s)) {
|
@@ -2960,25 +2960,25 @@ class so extends gs {
|
|
2960
2960
|
} else if (r === s)
|
2961
2961
|
return !1;
|
2962
2962
|
return !0;
|
2963
|
-
})(t, this.
|
2963
|
+
})(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
|
2964
2964
|
}
|
2965
2965
|
hostUpdate() {
|
2966
|
-
typeof this.optionsOrCallback == "function" && this.
|
2966
|
+
typeof this.optionsOrCallback == "function" && this.p(this.optionsOrCallback()), this.v() && (this.A = this.m(), this.i = this.i ?? this.element.parentNode, this.o = this.element.nextSibling);
|
2967
2967
|
}
|
2968
2968
|
async hostUpdated() {
|
2969
|
-
if (!this.
|
2969
|
+
if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered)
|
2970
2970
|
return;
|
2971
2971
|
let t;
|
2972
2972
|
this.prepare(), await gn;
|
2973
|
-
const e = this.
|
2974
|
-
if (this.
|
2975
|
-
const { from: i, to: o } = this.
|
2976
|
-
this.log("measured", [this.
|
2973
|
+
const e = this.O(), s = this.j(this.options.keyframeOptions, e), r = this.m();
|
2974
|
+
if (this.A !== void 0) {
|
2975
|
+
const { from: i, to: o } = this.N(this.A, r, e);
|
2976
|
+
this.log("measured", [this.A, r, i, o]), t = this.calculateKeyframes(i, o);
|
2977
2977
|
} else {
|
2978
2978
|
const i = ne.get(this.options.inId);
|
2979
2979
|
if (i) {
|
2980
2980
|
ne.delete(this.options.inId);
|
2981
|
-
const { from: o, to: a } = this.
|
2981
|
+
const { from: o, to: a } = this.N(i, r, e);
|
2982
2982
|
t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, fn++, t.forEach((l) => l.zIndex = fn);
|
2983
2983
|
} else
|
2984
2984
|
this.options.in && (t = [...this.options.in, {}]);
|
@@ -2986,28 +2986,28 @@ class so extends gs {
|
|
2986
2986
|
this.animate(t, s);
|
2987
2987
|
}
|
2988
2988
|
resetStyles() {
|
2989
|
-
this.
|
2989
|
+
this.P !== void 0 && (this.element.setAttribute("style", this.P ?? ""), this.P = void 0);
|
2990
2990
|
}
|
2991
2991
|
commitStyles() {
|
2992
2992
|
var t, e;
|
2993
|
-
this.
|
2993
|
+
this.P = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (e = this.webAnimation) == null || e.cancel();
|
2994
2994
|
}
|
2995
2995
|
reconnected() {
|
2996
2996
|
}
|
2997
2997
|
async disconnected() {
|
2998
2998
|
var e;
|
2999
|
-
if (!this.
|
2999
|
+
if (!this.h || (this.options.id !== void 0 && ne.set(this.options.id, this.A), this.options.out === void 0))
|
3000
3000
|
return;
|
3001
|
-
if (this.prepare(), await gn(), (e = this.
|
3002
|
-
const s = this.
|
3003
|
-
if (this.
|
3004
|
-
const r = this.
|
3001
|
+
if (this.prepare(), await gn(), (e = this.i) == null ? void 0 : e.isConnected) {
|
3002
|
+
const s = this.o && this.o.parentNode === this.i ? this.o : null;
|
3003
|
+
if (this.i.insertBefore(this.element, s), this.options.stabilizeOut) {
|
3004
|
+
const r = this.m();
|
3005
3005
|
this.log("stabilizing out");
|
3006
|
-
const i = this.
|
3006
|
+
const i = this.A.left - r.left, o = this.A.top - r.top;
|
3007
3007
|
getComputedStyle(this.element).position !== "static" || i === 0 && o === 0 || (this.element.style.position = "relative"), i !== 0 && (this.element.style.left = i + "px"), o !== 0 && (this.element.style.top = o + "px");
|
3008
3008
|
}
|
3009
3009
|
}
|
3010
|
-
const t = this.
|
3010
|
+
const t = this.j(this.options.keyframeOptions);
|
3011
3011
|
await this.animate(this.options.out, t), this.element.remove();
|
3012
3012
|
}
|
3013
3013
|
prepare() {
|
@@ -3019,9 +3019,9 @@ class so extends gs {
|
|
3019
3019
|
}
|
3020
3020
|
didFinish(t) {
|
3021
3021
|
var e, s;
|
3022
|
-
t && ((s = (e = this.options).onComplete) == null || s.call(e, this)), this.
|
3022
|
+
t && ((s = (e = this.options).onComplete) == null || s.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
|
3023
3023
|
}
|
3024
|
-
|
3024
|
+
O() {
|
3025
3025
|
const t = [];
|
3026
3026
|
for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
|
3027
3027
|
const s = bn.get(e);
|
@@ -3030,20 +3030,20 @@ class so extends gs {
|
|
3030
3030
|
return t;
|
3031
3031
|
}
|
3032
3032
|
get isHostRendered() {
|
3033
|
-
const t = vn.has(this.
|
3034
|
-
return t || this.
|
3035
|
-
vn.add(this.
|
3033
|
+
const t = vn.has(this.u);
|
3034
|
+
return t || this.u.updateComplete.then(() => {
|
3035
|
+
vn.add(this.u);
|
3036
3036
|
}), t;
|
3037
3037
|
}
|
3038
|
-
|
3038
|
+
j(t, e = this.O()) {
|
3039
3039
|
const s = { ...eo };
|
3040
3040
|
return e.forEach((r) => Object.assign(s, r.options.keyframeOptions)), Object.assign(s, t), s;
|
3041
3041
|
}
|
3042
|
-
|
3042
|
+
N(t, e, s) {
|
3043
3043
|
t = { ...t }, e = { ...e };
|
3044
3044
|
const r = s.map((a) => a.animatingProperties).filter((a) => a !== void 0);
|
3045
3045
|
let i = 1, o = 1;
|
3046
|
-
return r
|
3046
|
+
return r.length > 0 && (r.forEach((a) => {
|
3047
3047
|
a.width && (i /= a.width), a.height && (o /= a.height);
|
3048
3048
|
}), t.left !== void 0 && e.left !== void 0 && (t.left = i * t.left, e.left = i * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
|
3049
3049
|
}
|
@@ -3087,7 +3087,7 @@ class so extends gs {
|
|
3087
3087
|
this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
|
3088
3088
|
}
|
3089
3089
|
}
|
3090
|
-
const pe =
|
3090
|
+
const pe = Zt(so), _t = (n, t, e) => {
|
3091
3091
|
n && e.style.setProperty(t, n);
|
3092
3092
|
}, ms = (n, t) => {
|
3093
3093
|
var e, s, r, i;
|
@@ -3110,7 +3110,7 @@ var ro = Object.defineProperty, io = Object.getOwnPropertyDescriptor, qt = (n, t
|
|
3110
3110
|
(o = n[i]) && (r = (s ? o(t, e, r) : o(r)) || r);
|
3111
3111
|
return s && r && ro(t, e, r), r;
|
3112
3112
|
};
|
3113
|
-
class
|
3113
|
+
class Z extends b {
|
3114
3114
|
constructor() {
|
3115
3115
|
super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = Ut();
|
3116
3116
|
}
|
@@ -3158,6 +3158,7 @@ class G extends b {
|
|
3158
3158
|
return v`<div class="trigger-container" ${Rt(this.containerRef)}>
|
3159
3159
|
${!this.active && ((r = (s = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : s.other) != null && r.showButtonLabel) ? v`
|
3160
3160
|
<button
|
3161
|
+
label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
|
3161
3162
|
class="trigger-label"
|
3162
3163
|
@click=${this.toggleActive}
|
3163
3164
|
${pe({
|
@@ -3172,6 +3173,7 @@ class G extends b {
|
|
3172
3173
|
` : f}
|
3173
3174
|
|
3174
3175
|
<button
|
3176
|
+
label="Widget trigger"
|
3175
3177
|
class=${jt({
|
3176
3178
|
trigger: !0,
|
3177
3179
|
active: this.active,
|
@@ -3211,7 +3213,7 @@ class G extends b {
|
|
3211
3213
|
</div>`;
|
3212
3214
|
}
|
3213
3215
|
}
|
3214
|
-
|
3216
|
+
Z.styles = [
|
3215
3217
|
C`
|
3216
3218
|
:host {
|
3217
3219
|
--voca-rem-multiplier: 0.625;
|
@@ -3320,16 +3322,16 @@ G.styles = [
|
|
3320
3322
|
];
|
3321
3323
|
qt([
|
3322
3324
|
y({ attribute: !1 })
|
3323
|
-
],
|
3325
|
+
], Z.prototype, "application", 2);
|
3324
3326
|
qt([
|
3325
3327
|
T()
|
3326
|
-
],
|
3328
|
+
], Z.prototype, "active", 2);
|
3327
3329
|
qt([
|
3328
3330
|
T()
|
3329
|
-
],
|
3331
|
+
], Z.prototype, "loaded", 2);
|
3330
3332
|
qt([
|
3331
3333
|
T()
|
3332
|
-
],
|
3334
|
+
], Z.prototype, "icon", 2);
|
3333
3335
|
var oo = Object.defineProperty, ao = Object.getOwnPropertyDescriptor, B = (n, t, e, s) => {
|
3334
3336
|
for (var r = s > 1 ? void 0 : s ? ao(t, e) : t, i = n.length - 1, o; i >= 0; i--)
|
3335
3337
|
(o = n[i]) && (r = (s ? o(t, e, r) : o(r)) || r);
|
@@ -3581,7 +3583,7 @@ class mt extends b {
|
|
3581
3583
|
if (!this.widget || this.status !== "activated")
|
3582
3584
|
return f;
|
3583
3585
|
if (this.widget.renderStrategy === Te.Trigger) {
|
3584
|
-
const t = new
|
3586
|
+
const t = new Z();
|
3585
3587
|
return t.application = this.widget, t;
|
3586
3588
|
}
|
3587
3589
|
return this.widget.render();
|
@@ -3604,7 +3606,7 @@ Le([
|
|
3604
3606
|
T()
|
3605
3607
|
], mt.prototype, "status", 2);
|
3606
3608
|
customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", ke);
|
3607
|
-
customElements.get("ace-trigger") || customElements.define("ace-trigger",
|
3609
|
+
customElements.get("ace-trigger") || customElements.define("ace-trigger", Z);
|
3608
3610
|
customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ys);
|
3609
3611
|
customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Pe);
|
3610
3612
|
customElements.get("ace-widget") || customElements.define("ace-widget", mt);
|
@@ -3763,7 +3765,7 @@ class go {
|
|
3763
3765
|
}
|
3764
3766
|
_createNewSession(t, e = {}) {
|
3765
3767
|
const s = this._getStoredSessions(), r = new wn(
|
3766
|
-
|
3768
|
+
Yn(),
|
3767
3769
|
t,
|
3768
3770
|
e,
|
3769
3771
|
{},
|
@@ -4073,7 +4075,7 @@ var wo = Object.defineProperty, _o = Object.getOwnPropertyDescriptor, bs = (n, t
|
|
4073
4075
|
(o = n[i]) && (r = (s ? o(t, e, r) : o(r)) || r);
|
4074
4076
|
return s && r && wo(t, e, r), r;
|
4075
4077
|
};
|
4076
|
-
class
|
4078
|
+
class Kt extends b {
|
4077
4079
|
constructor() {
|
4078
4080
|
super(...arguments), this.entries = [], this.loading = !0;
|
4079
4081
|
}
|
@@ -4109,7 +4111,7 @@ class Yt extends b {
|
|
4109
4111
|
</div>`;
|
4110
4112
|
}
|
4111
4113
|
}
|
4112
|
-
|
4114
|
+
Kt.styles = [
|
4113
4115
|
C`
|
4114
4116
|
:host {
|
4115
4117
|
display: block;
|
@@ -4125,10 +4127,10 @@ Yt.styles = [
|
|
4125
4127
|
];
|
4126
4128
|
bs([
|
4127
4129
|
y({ attribute: !1 })
|
4128
|
-
],
|
4130
|
+
], Kt.prototype, "entries", 2);
|
4129
4131
|
bs([
|
4130
4132
|
y({ type: Boolean })
|
4131
|
-
],
|
4133
|
+
], Kt.prototype, "loading", 2);
|
4132
4134
|
/**
|
4133
4135
|
* @license
|
4134
4136
|
* Copyright 2021 Google LLC
|
@@ -4240,25 +4242,25 @@ ws.styles = [
|
|
4240
4242
|
*/
|
4241
4243
|
class fe extends Oe {
|
4242
4244
|
constructor(t) {
|
4243
|
-
if (super(t), this.
|
4245
|
+
if (super(t), this.it = f, t.type !== Yt.CHILD)
|
4244
4246
|
throw Error(this.constructor.directiveName + "() can only be used in child bindings");
|
4245
4247
|
}
|
4246
4248
|
render(t) {
|
4247
4249
|
if (t === f || t == null)
|
4248
|
-
return this.
|
4250
|
+
return this._t = void 0, this.it = t;
|
4249
4251
|
if (t === j)
|
4250
4252
|
return t;
|
4251
4253
|
if (typeof t != "string")
|
4252
4254
|
throw Error(this.constructor.directiveName + "() called with a non-string value");
|
4253
|
-
if (t === this.
|
4254
|
-
return this.
|
4255
|
-
this.
|
4255
|
+
if (t === this.it)
|
4256
|
+
return this._t;
|
4257
|
+
this.it = t;
|
4256
4258
|
const e = [t];
|
4257
|
-
return e.raw = e, this.
|
4259
|
+
return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
|
4258
4260
|
}
|
4259
4261
|
}
|
4260
4262
|
fe.directiveName = "unsafeHTML", fe.resultType = 1;
|
4261
|
-
const Eo =
|
4263
|
+
const Eo = Zt(fe);
|
4262
4264
|
var Oo = Object.defineProperty, ko = Object.getOwnPropertyDescriptor, To = (n, t, e, s) => {
|
4263
4265
|
for (var r = s > 1 ? void 0 : s ? ko(t, e) : t, i = n.length - 1, o; i >= 0; i--)
|
4264
4266
|
(o = n[i]) && (r = (s ? o(t, e, r) : o(r)) || r);
|
@@ -4301,7 +4303,7 @@ const Mo = (n) => {
|
|
4301
4303
|
n.scrollTo ? n.scrollTo({ top: n.scrollHeight, behavior: "smooth" }) : n.scrollTop = n.scrollHeight;
|
4302
4304
|
};
|
4303
4305
|
customElements.get("conversation-entry") || customElements.define("conversation-entry", Me);
|
4304
|
-
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed",
|
4306
|
+
customElements.get("ace-conversation-feed") || customElements.define("ace-conversation-feed", Kt);
|
4305
4307
|
customElements.get("conversation-group") || customElements.define("conversation-group", Ie);
|
4306
4308
|
customElements.get("ace-typing-state") || customElements.define("ace-typing-state", ws);
|
4307
4309
|
customElements.get("message-type-html") || customElements.define("message-type-html", Ue);
|
@@ -4423,11 +4425,12 @@ class H extends _s {
|
|
4423
4425
|
@submit=${this._onSendMessage}
|
4424
4426
|
${Rt(this.formRef)}
|
4425
4427
|
>
|
4426
|
-
<label for="chat-message-input" class="visually-hidden"
|
4427
|
-
|
4428
|
-
>
|
4428
|
+
<label for="chat-message-input" class="visually-hidden">
|
4429
|
+
Chat message
|
4430
|
+
</label>
|
4429
4431
|
<input
|
4430
4432
|
id="chat-message-input"
|
4433
|
+
autocomplete="off"
|
4431
4434
|
maxlength=${this.messageMaxLength}
|
4432
4435
|
placeholder=${t.getOrFallback(
|
4433
4436
|
"conversation.input-placeholder",
|