@telia-ace/widget-conversation-flamingo 1.1.34-rc.0 → 1.1.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,22 @@
1
- import { C as At } from "./index-351f4e11.mjs";
1
+ import { ConversationMessageType as St } from "./index.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
5
5
  * SPDX-License-Identifier: BSD-3-Clause
6
6
  */
7
- const nt = globalThis, Dt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, It = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
7
+ const nt = globalThis, Dt = nt.ShadowRoot && (nt.ShadyCSS === void 0 || nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Bt = Symbol(), Vt = /* @__PURE__ */ new WeakMap();
8
8
  let Pe = class {
9
- constructor(t, s, i) {
10
- if (this._$cssResult$ = !0, i !== It)
9
+ constructor(t, e, i) {
10
+ if (this._$cssResult$ = !0, i !== Bt)
11
11
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
12
- this.cssText = t, this.t = s;
12
+ this.cssText = t, this.t = e;
13
13
  }
14
14
  get styleSheet() {
15
15
  let t = this.o;
16
- const s = this.t;
16
+ const e = this.t;
17
17
  if (Dt && t === void 0) {
18
- const i = s !== void 0 && s.length === 1;
19
- i && (t = Vt.get(s)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Vt.set(s, t));
18
+ const i = e !== void 0 && e.length === 1;
19
+ i && (t = Vt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Vt.set(e, t));
20
20
  }
21
21
  return t;
22
22
  }
@@ -24,63 +24,63 @@ let Pe = class {
24
24
  return this.cssText;
25
25
  }
26
26
  };
27
- const cs = (e) => new Pe(typeof e == "string" ? e : e + "", void 0, It), b = (e, ...t) => {
28
- const s = e.length === 1 ? e[0] : t.reduce((i, n, r) => i + ((o) => {
29
- if (o._$cssResult$ === !0)
30
- return o.cssText;
31
- if (typeof o == "number")
32
- return o;
33
- 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.");
34
- })(n) + e[r + 1], e[0]);
35
- return new Pe(s, e, It);
36
- }, ds = (e, t) => {
27
+ const cs = (s) => new Pe(typeof s == "string" ? s : s + "", void 0, Bt), b = (s, ...t) => {
28
+ const e = s.length === 1 ? s[0] : t.reduce((i, n, o) => i + ((r) => {
29
+ if (r._$cssResult$ === !0)
30
+ return r.cssText;
31
+ if (typeof r == "number")
32
+ return r;
33
+ throw Error("Value passed to 'css' function must be a 'css' function result: " + r + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
34
+ })(n) + s[o + 1], s[0]);
35
+ return new Pe(e, s, Bt);
36
+ }, ds = (s, t) => {
37
37
  if (Dt)
38
- e.adoptedStyleSheets = t.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);
38
+ s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
39
39
  else
40
- for (const s of t) {
40
+ for (const e of t) {
41
41
  const i = document.createElement("style"), n = nt.litNonce;
42
- n !== void 0 && i.setAttribute("nonce", n), i.textContent = s.cssText, e.appendChild(i);
42
+ n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, s.appendChild(i);
43
43
  }
44
- }, te = Dt ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
45
- let s = "";
44
+ }, te = Dt ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
45
+ let e = "";
46
46
  for (const i of t.cssRules)
47
- s += i.cssText;
48
- return cs(s);
49
- })(e) : e;
47
+ e += i.cssText;
48
+ return cs(e);
49
+ })(s) : s;
50
50
  /**
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
54
  */
55
- const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", St = S.reactiveElementPolyfillSupport, W = (e, t) => e, rt = { toAttribute(e, t) {
55
+ const { is: hs, defineProperty: ps, getOwnPropertyDescriptor: us, getOwnPropertyNames: fs, getOwnPropertySymbols: gs, getPrototypeOf: $s } = Object, S = globalThis, ee = S.trustedTypes, ms = ee ? ee.emptyScript : "", Et = S.reactiveElementPolyfillSupport, W = (s, t) => s, ot = { toAttribute(s, t) {
56
56
  switch (t) {
57
57
  case Boolean:
58
- e = e ? ms : null;
58
+ s = s ? ms : null;
59
59
  break;
60
60
  case Object:
61
61
  case Array:
62
- e = e == null ? e : JSON.stringify(e);
62
+ s = s == null ? s : JSON.stringify(s);
63
63
  }
64
- return e;
65
- }, fromAttribute(e, t) {
66
- let s = e;
64
+ return s;
65
+ }, fromAttribute(s, t) {
66
+ let e = s;
67
67
  switch (t) {
68
68
  case Boolean:
69
- s = e !== null;
69
+ e = s !== null;
70
70
  break;
71
71
  case Number:
72
- s = e === null ? null : Number(e);
72
+ e = s === null ? null : Number(s);
73
73
  break;
74
74
  case Object:
75
75
  case Array:
76
76
  try {
77
- s = JSON.parse(e);
77
+ e = JSON.parse(s);
78
78
  } catch {
79
- s = null;
79
+ e = null;
80
80
  }
81
81
  }
82
- return s;
83
- } }, Bt = (e, t) => !hs(e, t), se = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: Bt };
82
+ return e;
83
+ } }, zt = (s, t) => !hs(s, t), se = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt };
84
84
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), S.litPropertyMetadata ?? (S.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
85
85
  let H = class extends HTMLElement {
86
86
  static addInitializer(t) {
@@ -89,23 +89,23 @@ let H = class extends HTMLElement {
89
89
  static get observedAttributes() {
90
90
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
91
91
  }
92
- static createProperty(t, s = se) {
93
- if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
94
- const i = Symbol(), n = this.getPropertyDescriptor(t, i, s);
92
+ static createProperty(t, e = se) {
93
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
94
+ const i = Symbol(), n = this.getPropertyDescriptor(t, i, e);
95
95
  n !== void 0 && ps(this.prototype, t, n);
96
96
  }
97
97
  }
98
- static getPropertyDescriptor(t, s, i) {
99
- const { get: n, set: r } = us(this.prototype, t) ?? { get() {
100
- return this[s];
101
- }, set(o) {
102
- this[s] = o;
98
+ static getPropertyDescriptor(t, e, i) {
99
+ const { get: n, set: o } = us(this.prototype, t) ?? { get() {
100
+ return this[e];
101
+ }, set(r) {
102
+ this[e] = r;
103
103
  } };
104
104
  return { get() {
105
105
  return n == null ? void 0 : n.call(this);
106
- }, set(o) {
106
+ }, set(r) {
107
107
  const a = n == null ? void 0 : n.call(this);
108
- r.call(this, o), this.requestUpdate(t, a, i);
108
+ o.call(this, r), this.requestUpdate(t, a, i);
109
109
  }, configurable: !0, enumerable: !0 };
110
110
  }
111
111
  static getPropertyOptions(t) {
@@ -121,36 +121,36 @@ let H = class extends HTMLElement {
121
121
  if (this.hasOwnProperty(W("finalized")))
122
122
  return;
123
123
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(W("properties"))) {
124
- const s = this.properties, i = [...fs(s), ...gs(s)];
124
+ const e = this.properties, i = [...fs(e), ...gs(e)];
125
125
  for (const n of i)
126
- this.createProperty(n, s[n]);
126
+ this.createProperty(n, e[n]);
127
127
  }
128
128
  const t = this[Symbol.metadata];
129
129
  if (t !== null) {
130
- const s = litPropertyMetadata.get(t);
131
- if (s !== void 0)
132
- for (const [i, n] of s)
130
+ const e = litPropertyMetadata.get(t);
131
+ if (e !== void 0)
132
+ for (const [i, n] of e)
133
133
  this.elementProperties.set(i, n);
134
134
  }
135
135
  this._$Eh = /* @__PURE__ */ new Map();
136
- for (const [s, i] of this.elementProperties) {
137
- const n = this._$Eu(s, i);
138
- n !== void 0 && this._$Eh.set(n, s);
136
+ for (const [e, i] of this.elementProperties) {
137
+ const n = this._$Eu(e, i);
138
+ n !== void 0 && this._$Eh.set(n, e);
139
139
  }
140
140
  this.elementStyles = this.finalizeStyles(this.styles);
141
141
  }
142
142
  static finalizeStyles(t) {
143
- const s = [];
143
+ const e = [];
144
144
  if (Array.isArray(t)) {
145
145
  const i = new Set(t.flat(1 / 0).reverse());
146
146
  for (const n of i)
147
- s.unshift(te(n));
147
+ e.unshift(te(n));
148
148
  } else
149
- t !== void 0 && s.push(te(t));
150
- return s;
149
+ t !== void 0 && e.push(te(t));
150
+ return e;
151
151
  }
152
- static _$Eu(t, s) {
153
- const i = s.attribute;
152
+ static _$Eu(t, e) {
153
+ const i = e.attribute;
154
154
  return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
155
155
  }
156
156
  constructor() {
@@ -158,19 +158,19 @@ let H = class extends HTMLElement {
158
158
  }
159
159
  _$Ev() {
160
160
  var t;
161
- this._$Eg = new Promise((s) => this.enableUpdating = s), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((s) => s(this));
161
+ this._$Eg = 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));
162
162
  }
163
163
  addController(t) {
164
- var s;
165
- (this._$ES ?? (this._$ES = [])).push(t), this.renderRoot !== void 0 && this.isConnected && ((s = t.hostConnected) == null || s.call(t));
164
+ var e;
165
+ (this._$ES ?? (this._$ES = [])).push(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
166
166
  }
167
167
  removeController(t) {
168
- var s;
169
- (s = this._$ES) == null || s.splice(this._$ES.indexOf(t) >>> 0, 1);
168
+ var e;
169
+ (e = this._$ES) == null || e.splice(this._$ES.indexOf(t) >>> 0, 1);
170
170
  }
171
171
  _$E_() {
172
- const t = /* @__PURE__ */ new Map(), s = this.constructor.elementProperties;
173
- for (const i of s.keys())
172
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
173
+ for (const i of e.keys())
174
174
  this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
175
175
  t.size > 0 && (this._$Ep = t);
176
176
  }
@@ -180,56 +180,56 @@ let H = class extends HTMLElement {
180
180
  }
181
181
  connectedCallback() {
182
182
  var t;
183
- this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) == null || t.forEach((s) => {
183
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$ES) == null || t.forEach((e) => {
184
184
  var i;
185
- return (i = s.hostConnected) == null ? void 0 : i.call(s);
185
+ return (i = e.hostConnected) == null ? void 0 : i.call(e);
186
186
  });
187
187
  }
188
188
  enableUpdating(t) {
189
189
  }
190
190
  disconnectedCallback() {
191
191
  var t;
192
- (t = this._$ES) == null || t.forEach((s) => {
192
+ (t = this._$ES) == null || t.forEach((e) => {
193
193
  var i;
194
- return (i = s.hostDisconnected) == null ? void 0 : i.call(s);
194
+ return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
195
195
  });
196
196
  }
197
- attributeChangedCallback(t, s, i) {
197
+ attributeChangedCallback(t, e, i) {
198
198
  this._$AK(t, i);
199
199
  }
200
- _$EO(t, s) {
201
- var r;
200
+ _$EO(t, e) {
201
+ var o;
202
202
  const i = this.constructor.elementProperties.get(t), n = this.constructor._$Eu(t, i);
203
203
  if (n !== void 0 && i.reflect === !0) {
204
- const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : rt).toAttribute(s, i.type);
205
- this._$Em = t, o == null ? this.removeAttribute(n) : this.setAttribute(n, o), this._$Em = null;
204
+ const r = (((o = i.converter) == null ? void 0 : o.toAttribute) !== void 0 ? i.converter : ot).toAttribute(e, i.type);
205
+ this._$Em = t, r == null ? this.removeAttribute(n) : this.setAttribute(n, r), this._$Em = null;
206
206
  }
207
207
  }
208
- _$AK(t, s) {
209
- var r;
208
+ _$AK(t, e) {
209
+ var o;
210
210
  const i = this.constructor, n = i._$Eh.get(t);
211
211
  if (n !== void 0 && this._$Em !== n) {
212
- const o = i.getPropertyOptions(n), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : rt;
213
- this._$Em = n, this[n] = a.fromAttribute(s, o.type), this._$Em = null;
212
+ const r = i.getPropertyOptions(n), a = typeof r.converter == "function" ? { fromAttribute: r.converter } : ((o = r.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? r.converter : ot;
213
+ this._$Em = n, this[n] = a.fromAttribute(e, r.type), this._$Em = null;
214
214
  }
215
215
  }
216
- requestUpdate(t, s, i, n = !1, r) {
216
+ requestUpdate(t, e, i, n = !1, o) {
217
217
  if (t !== void 0) {
218
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Bt)(n ? r : this[t], s))
218
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? zt)(n ? o : this[t], e))
219
219
  return;
220
- this.C(t, s, i);
220
+ this.C(t, e, i);
221
221
  }
222
222
  this.isUpdatePending === !1 && (this._$Eg = this._$EP());
223
223
  }
224
- C(t, s, i) {
225
- this._$AL.has(t) || this._$AL.set(t, s), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
224
+ C(t, e, i) {
225
+ this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
226
226
  }
227
227
  async _$EP() {
228
228
  this.isUpdatePending = !0;
229
229
  try {
230
230
  await this._$Eg;
231
- } catch (s) {
232
- Promise.reject(s);
231
+ } catch (e) {
232
+ Promise.reject(e);
233
233
  }
234
234
  const t = this.scheduleUpdate();
235
235
  return t != null && await t, !this.isUpdatePending;
@@ -243,32 +243,32 @@ let H = class extends HTMLElement {
243
243
  return;
244
244
  if (!this.hasUpdated) {
245
245
  if (this._$Ep) {
246
- for (const [r, o] of this._$Ep)
247
- this[r] = o;
246
+ for (const [o, r] of this._$Ep)
247
+ this[o] = r;
248
248
  this._$Ep = void 0;
249
249
  }
250
250
  const n = this.constructor.elementProperties;
251
251
  if (n.size > 0)
252
- for (const [r, o] of n)
253
- o.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.C(r, this[r], o);
252
+ for (const [o, r] of n)
253
+ r.wrapped !== !0 || this._$AL.has(o) || this[o] === void 0 || this.C(o, this[o], r);
254
254
  }
255
255
  let t = !1;
256
- const s = this._$AL;
256
+ const e = this._$AL;
257
257
  try {
258
- t = this.shouldUpdate(s), t ? (this.willUpdate(s), (i = this._$ES) == null || i.forEach((n) => {
259
- var r;
260
- return (r = n.hostUpdate) == null ? void 0 : r.call(n);
261
- }), this.update(s)) : this._$ET();
258
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$ES) == null || i.forEach((n) => {
259
+ var o;
260
+ return (o = n.hostUpdate) == null ? void 0 : o.call(n);
261
+ }), this.update(e)) : this._$ET();
262
262
  } catch (n) {
263
263
  throw t = !1, this._$ET(), n;
264
264
  }
265
- t && this._$AE(s);
265
+ t && this._$AE(e);
266
266
  }
267
267
  willUpdate(t) {
268
268
  }
269
269
  _$AE(t) {
270
- var s;
271
- (s = this._$ES) == null || s.forEach((i) => {
270
+ var e;
271
+ (e = this._$ES) == null || e.forEach((i) => {
272
272
  var n;
273
273
  return (n = i.hostUpdated) == null ? void 0 : n.call(i);
274
274
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
@@ -286,47 +286,47 @@ let H = class extends HTMLElement {
286
286
  return !0;
287
287
  }
288
288
  update(t) {
289
- this._$Ej && (this._$Ej = this._$Ej.forEach((s) => this._$EO(s, this[s]))), this._$ET();
289
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EO(e, this[e]))), this._$ET();
290
290
  }
291
291
  updated(t) {
292
292
  }
293
293
  firstUpdated(t) {
294
294
  }
295
295
  };
296
- H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[W("elementProperties")] = /* @__PURE__ */ new Map(), H[W("finalized")] = /* @__PURE__ */ new Map(), St == null || St({ ReactiveElement: H }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
296
+ H.elementStyles = [], H.shadowRootOptions = { mode: "open" }, H[W("elementProperties")] = /* @__PURE__ */ new Map(), H[W("finalized")] = /* @__PURE__ */ new Map(), Et == null || Et({ ReactiveElement: H }), (S.reactiveElementVersions ?? (S.reactiveElementVersions = [])).push("2.0.1");
297
297
  /**
298
298
  * @license
299
299
  * Copyright 2017 Google LLC
300
300
  * SPDX-License-Identifier: BSD-3-Clause
301
301
  */
302
- const G = globalThis, ot = G.trustedTypes, ie = ot ? ot.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Le = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, Re = "?" + A, vs = `<${Re}>`, P = document, Z = () => P.createComment(""), X = (e) => e === null || typeof e != "object" && typeof e != "function", He = Array.isArray, ys = (e) => He(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", Et = `[
303
- \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, re = />/g, k = RegExp(`>|${Et}(?:([^\\s"'>=/]+)(${Et}*=${Et}*(?:[^
304
- \f\r"'\`<>=]|("|')|))|$)`, "g"), oe = /'/g, ae = /"/g, Me = /^(?:script|style|textarea|title)$/i, bs = (e) => (t, ...s) => ({ _$litType$: e, strings: t, values: s }), f = bs(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), le = /* @__PURE__ */ new WeakMap(), O = P.createTreeWalker(P, 129);
305
- function Ue(e, t) {
306
- if (!Array.isArray(e) || !e.hasOwnProperty("raw"))
302
+ const G = globalThis, rt = G.trustedTypes, ie = rt ? rt.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, Le = "$lit$", A = `lit$${(Math.random() + "").slice(9)}$`, Re = "?" + A, vs = `<${Re}>`, P = document, Z = () => P.createComment(""), X = (s) => s === null || typeof s != "object" && typeof s != "function", Me = Array.isArray, ys = (s) => Me(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", Tt = `[
303
+ \f\r]`, F = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ne = /-->/g, oe = />/g, T = RegExp(`>|${Tt}(?:([^\\s"'>=/]+)(${Tt}*=${Tt}*(?:[^
304
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), re = /'/g, ae = /"/g, He = /^(?:script|style|textarea|title)$/i, bs = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), f = bs(1), E = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), le = /* @__PURE__ */ new WeakMap(), O = P.createTreeWalker(P, 129);
305
+ function Ue(s, t) {
306
+ if (!Array.isArray(s) || !s.hasOwnProperty("raw"))
307
307
  throw Error("invalid template strings array");
308
308
  return ie !== void 0 ? ie.createHTML(t) : t;
309
309
  }
310
- const _s = (e, t) => {
311
- const s = e.length - 1, i = [];
312
- let n, r = t === 2 ? "<svg>" : "", o = F;
313
- for (let a = 0; a < s; a++) {
314
- const l = e[a];
310
+ const _s = (s, t) => {
311
+ const e = s.length - 1, i = [];
312
+ let n, o = t === 2 ? "<svg>" : "", r = F;
313
+ for (let a = 0; a < e; a++) {
314
+ const l = s[a];
315
315
  let c, d, h = -1, p = 0;
316
- for (; p < l.length && (o.lastIndex = p, d = o.exec(l), d !== null); )
317
- p = o.lastIndex, o === F ? d[1] === "!--" ? o = ne : d[1] !== void 0 ? o = re : d[2] !== void 0 ? (Me.test(d[2]) && (n = RegExp("</" + d[2], "g")), o = k) : d[3] !== void 0 && (o = k) : o === k ? d[0] === ">" ? (o = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, c = d[1], o = d[3] === void 0 ? k : d[3] === '"' ? ae : oe) : o === ae || o === oe ? o = k : o === ne || o === re ? o = F : (o = k, n = void 0);
318
- const g = o === k && e[a + 1].startsWith("/>") ? " " : "";
319
- r += o === F ? l + vs : h >= 0 ? (i.push(c), l.slice(0, h) + Le + l.slice(h) + A + g) : l + A + (h === -2 ? a : g);
316
+ for (; p < l.length && (r.lastIndex = p, d = r.exec(l), d !== null); )
317
+ p = r.lastIndex, r === F ? d[1] === "!--" ? r = ne : d[1] !== void 0 ? r = oe : d[2] !== void 0 ? (He.test(d[2]) && (n = RegExp("</" + d[2], "g")), r = T) : d[3] !== void 0 && (r = T) : r === T ? d[0] === ">" ? (r = n ?? F, h = -1) : d[1] === void 0 ? h = -2 : (h = r.lastIndex - d[2].length, c = d[1], r = d[3] === void 0 ? T : d[3] === '"' ? ae : re) : r === ae || r === re ? r = T : r === ne || r === oe ? r = F : (r = T, n = void 0);
318
+ const g = r === T && s[a + 1].startsWith("/>") ? " " : "";
319
+ o += r === F ? l + vs : h >= 0 ? (i.push(c), l.slice(0, h) + Le + l.slice(h) + A + g) : l + A + (h === -2 ? a : g);
320
320
  }
321
- return [Ue(e, r + (e[s] || "<?>") + (t === 2 ? "</svg>" : "")), i];
321
+ return [Ue(s, o + (s[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
322
322
  };
323
323
  class Y {
324
- constructor({ strings: t, _$litType$: s }, i) {
324
+ constructor({ strings: t, _$litType$: e }, i) {
325
325
  let n;
326
326
  this.parts = [];
327
- let r = 0, o = 0;
328
- const a = t.length - 1, l = this.parts, [c, d] = _s(t, s);
329
- if (this.el = Y.createElement(c, i), O.currentNode = this.el.content, s === 2) {
327
+ let o = 0, r = 0;
328
+ const a = t.length - 1, l = this.parts, [c, d] = _s(t, e);
329
+ if (this.el = Y.createElement(c, i), O.currentNode = this.el.content, e === 2) {
330
330
  const h = this.el.content.firstChild;
331
331
  h.replaceWith(...h.childNodes);
332
332
  }
@@ -335,46 +335,46 @@ class Y {
335
335
  if (n.hasAttributes())
336
336
  for (const h of n.getAttributeNames())
337
337
  if (h.endsWith(Le)) {
338
- const p = d[o++], g = n.getAttribute(h).split(A), x = /([.?@])?(.*)/.exec(p);
339
- l.push({ type: 1, index: r, name: x[2], strings: g, ctor: x[1] === "." ? ws : x[1] === "?" ? Cs : x[1] === "@" ? As : mt }), n.removeAttribute(h);
338
+ const p = d[r++], g = n.getAttribute(h).split(A), x = /([.?@])?(.*)/.exec(p);
339
+ l.push({ type: 1, index: o, name: x[2], strings: g, ctor: x[1] === "." ? ws : x[1] === "?" ? Cs : x[1] === "@" ? As : mt }), n.removeAttribute(h);
340
340
  } else
341
- h.startsWith(A) && (l.push({ type: 6, index: r }), n.removeAttribute(h));
342
- if (Me.test(n.tagName)) {
341
+ h.startsWith(A) && (l.push({ type: 6, index: o }), n.removeAttribute(h));
342
+ if (He.test(n.tagName)) {
343
343
  const h = n.textContent.split(A), p = h.length - 1;
344
344
  if (p > 0) {
345
- n.textContent = ot ? ot.emptyScript : "";
345
+ n.textContent = rt ? rt.emptyScript : "";
346
346
  for (let g = 0; g < p; g++)
347
- n.append(h[g], Z()), O.nextNode(), l.push({ type: 2, index: ++r });
347
+ n.append(h[g], Z()), O.nextNode(), l.push({ type: 2, index: ++o });
348
348
  n.append(h[p], Z());
349
349
  }
350
350
  }
351
351
  } else if (n.nodeType === 8)
352
352
  if (n.data === Re)
353
- l.push({ type: 2, index: r });
353
+ l.push({ type: 2, index: o });
354
354
  else {
355
355
  let h = -1;
356
356
  for (; (h = n.data.indexOf(A, h + 1)) !== -1; )
357
- l.push({ type: 7, index: r }), h += A.length - 1;
357
+ l.push({ type: 7, index: o }), h += A.length - 1;
358
358
  }
359
- r++;
359
+ o++;
360
360
  }
361
361
  }
362
- static createElement(t, s) {
362
+ static createElement(t, e) {
363
363
  const i = P.createElement("template");
364
364
  return i.innerHTML = t, i;
365
365
  }
366
366
  }
367
- function I(e, t, s = e, i) {
368
- var o, a;
367
+ function B(s, t, e = s, i) {
368
+ var r, a;
369
369
  if (t === E)
370
370
  return t;
371
- let n = i !== void 0 ? (o = s._$Co) == null ? void 0 : o[i] : s._$Cl;
372
- const r = X(t) ? void 0 : t._$litDirective$;
373
- return (n == null ? void 0 : n.constructor) !== r && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), r === void 0 ? n = void 0 : (n = new r(e), n._$AT(e, s, i)), i !== void 0 ? (s._$Co ?? (s._$Co = []))[i] = n : s._$Cl = n), n !== void 0 && (t = I(e, n._$AS(e, t.values), n, i)), t;
371
+ let n = i !== void 0 ? (r = e._$Co) == null ? void 0 : r[i] : e._$Cl;
372
+ const o = X(t) ? void 0 : t._$litDirective$;
373
+ return (n == null ? void 0 : n.constructor) !== o && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), o === void 0 ? n = void 0 : (n = new o(s), n._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = n : e._$Cl = n), n !== void 0 && (t = B(s, n._$AS(s, t.values), n, i)), t;
374
374
  }
375
375
  class xs {
376
- constructor(t, s) {
377
- this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
376
+ constructor(t, e) {
377
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
378
378
  }
379
379
  get parentNode() {
380
380
  return this._$AM.parentNode;
@@ -383,22 +383,22 @@ class xs {
383
383
  return this._$AM._$AU;
384
384
  }
385
385
  u(t) {
386
- const { el: { content: s }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? P).importNode(s, !0);
386
+ const { el: { content: e }, parts: i } = this._$AD, n = ((t == null ? void 0 : t.creationScope) ?? P).importNode(e, !0);
387
387
  O.currentNode = n;
388
- let r = O.nextNode(), o = 0, a = 0, l = i[0];
388
+ let o = O.nextNode(), r = 0, a = 0, l = i[0];
389
389
  for (; l !== void 0; ) {
390
- if (o === l.index) {
390
+ if (r === l.index) {
391
391
  let c;
392
- l.type === 2 ? c = new Q(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new Ss(r, this, t)), this._$AV.push(c), l = i[++a];
392
+ l.type === 2 ? c = new Q(o, o.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (c = new Ss(o, this, t)), this._$AV.push(c), l = i[++a];
393
393
  }
394
- o !== (l == null ? void 0 : l.index) && (r = O.nextNode(), o++);
394
+ r !== (l == null ? void 0 : l.index) && (o = O.nextNode(), r++);
395
395
  }
396
396
  return O.currentNode = P, n;
397
397
  }
398
398
  p(t) {
399
- let s = 0;
399
+ let e = 0;
400
400
  for (const i of this._$AV)
401
- i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++;
401
+ i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
402
402
  }
403
403
  }
404
404
  class Q {
@@ -406,13 +406,13 @@ class Q {
406
406
  var t;
407
407
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
408
408
  }
409
- constructor(t, s, i, n) {
410
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
409
+ constructor(t, e, i, n) {
410
+ this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cv = (n == null ? void 0 : n.isConnected) ?? !0;
411
411
  }
412
412
  get parentNode() {
413
413
  let t = this._$AA.parentNode;
414
- const s = this._$AM;
415
- return s !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = s.parentNode), t;
414
+ const e = this._$AM;
415
+ return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
416
416
  }
417
417
  get startNode() {
418
418
  return this._$AA;
@@ -420,8 +420,8 @@ class Q {
420
420
  get endNode() {
421
421
  return this._$AB;
422
422
  }
423
- _$AI(t, s = this) {
424
- t = I(this, t, s), X(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : ys(t) ? this.T(t) : this._(t);
423
+ _$AI(t, e = this) {
424
+ t = B(this, t, e), X(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== E && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : ys(t) ? this.T(t) : this._(t);
425
425
  }
426
426
  k(t) {
427
427
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -433,37 +433,37 @@ class Q {
433
433
  this._$AH !== u && X(this._$AH) ? this._$AA.nextSibling.data = t : this.$(P.createTextNode(t)), this._$AH = t;
434
434
  }
435
435
  g(t) {
436
- var r;
437
- const { values: s, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Y.createElement(Ue(i.h, i.h[0]), this.options)), i);
438
- if (((r = this._$AH) == null ? void 0 : r._$AD) === n)
439
- this._$AH.p(s);
436
+ var o;
437
+ const { values: e, _$litType$: i } = t, n = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Y.createElement(Ue(i.h, i.h[0]), this.options)), i);
438
+ if (((o = this._$AH) == null ? void 0 : o._$AD) === n)
439
+ this._$AH.p(e);
440
440
  else {
441
- const o = new xs(n, this), a = o.u(this.options);
442
- o.p(s), this.$(a), this._$AH = o;
441
+ const r = new xs(n, this), a = r.u(this.options);
442
+ r.p(e), this.$(a), this._$AH = r;
443
443
  }
444
444
  }
445
445
  _$AC(t) {
446
- let s = le.get(t.strings);
447
- return s === void 0 && le.set(t.strings, s = new Y(t)), s;
446
+ let e = le.get(t.strings);
447
+ return e === void 0 && le.set(t.strings, e = new Y(t)), e;
448
448
  }
449
449
  T(t) {
450
- He(this._$AH) || (this._$AH = [], this._$AR());
451
- const s = this._$AH;
450
+ Me(this._$AH) || (this._$AH = [], this._$AR());
451
+ const e = this._$AH;
452
452
  let i, n = 0;
453
- for (const r of t)
454
- n === s.length ? s.push(i = new Q(this.k(Z()), this.k(Z()), this, this.options)) : i = s[n], i._$AI(r), n++;
455
- n < s.length && (this._$AR(i && i._$AB.nextSibling, n), s.length = n);
453
+ for (const o of t)
454
+ n === e.length ? e.push(i = new Q(this.k(Z()), this.k(Z()), this, this.options)) : i = e[n], i._$AI(o), n++;
455
+ n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
456
456
  }
457
- _$AR(t = this._$AA.nextSibling, s) {
457
+ _$AR(t = this._$AA.nextSibling, e) {
458
458
  var i;
459
- for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, s); t && t !== this._$AB; ) {
459
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
460
460
  const n = t.nextSibling;
461
461
  t.remove(), t = n;
462
462
  }
463
463
  }
464
464
  setConnected(t) {
465
- var s;
466
- this._$AM === void 0 && (this._$Cv = t, (s = this._$AP) == null || s.call(this, t));
465
+ var e;
466
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
467
467
  }
468
468
  }
469
469
  class mt {
@@ -473,21 +473,21 @@ class mt {
473
473
  get _$AU() {
474
474
  return this._$AM._$AU;
475
475
  }
476
- constructor(t, s, i, n, r) {
477
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = s, this._$AM = n, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
476
+ constructor(t, e, i, n, o) {
477
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = o, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = u;
478
478
  }
479
- _$AI(t, s = this, i, n) {
480
- const r = this.strings;
481
- let o = !1;
482
- if (r === void 0)
483
- t = I(this, t, s, 0), o = !X(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
479
+ _$AI(t, e = this, i, n) {
480
+ const o = this.strings;
481
+ let r = !1;
482
+ if (o === void 0)
483
+ t = B(this, t, e, 0), r = !X(t) || t !== this._$AH && t !== E, r && (this._$AH = t);
484
484
  else {
485
485
  const a = t;
486
486
  let l, c;
487
- for (t = r[0], l = 0; l < r.length - 1; l++)
488
- c = I(this, a[i + l], s, l), c === E && (c = this._$AH[l]), o || (o = !X(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
487
+ for (t = o[0], l = 0; l < o.length - 1; l++)
488
+ c = B(this, a[i + l], e, l), c === E && (c = this._$AH[l]), r || (r = !X(c) || c !== this._$AH[l]), c === u ? t = u : t !== u && (t += (c ?? "") + o[l + 1]), this._$AH[l] = c;
489
489
  }
490
- o && !n && this.O(t);
490
+ r && !n && this.O(t);
491
491
  }
492
492
  O(t) {
493
493
  t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
@@ -510,41 +510,41 @@ let Cs = class extends mt {
510
510
  }
511
511
  };
512
512
  class As extends mt {
513
- constructor(t, s, i, n, r) {
514
- super(t, s, i, n, r), this.type = 5;
513
+ constructor(t, e, i, n, o) {
514
+ super(t, e, i, n, o), this.type = 5;
515
515
  }
516
- _$AI(t, s = this) {
517
- if ((t = I(this, t, s, 0) ?? u) === E)
516
+ _$AI(t, e = this) {
517
+ if ((t = B(this, t, e, 0) ?? u) === E)
518
518
  return;
519
- const i = this._$AH, n = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== u && (i === u || n);
520
- n && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
519
+ const i = this._$AH, n = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || n);
520
+ n && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
521
521
  }
522
522
  handleEvent(t) {
523
- var s;
524
- typeof this._$AH == "function" ? this._$AH.call(((s = this.options) == null ? void 0 : s.host) ?? this.element, t) : this._$AH.handleEvent(t);
523
+ var e;
524
+ typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
525
525
  }
526
526
  }
527
527
  class Ss {
528
- constructor(t, s, i) {
529
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i;
528
+ constructor(t, e, i) {
529
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
530
530
  }
531
531
  get _$AU() {
532
532
  return this._$AM._$AU;
533
533
  }
534
534
  _$AI(t) {
535
- I(this, t);
535
+ B(this, t);
536
536
  }
537
537
  }
538
538
  const kt = G.litHtmlPolyfillSupport;
539
539
  kt == null || kt(Y, Q), (G.litHtmlVersions ?? (G.litHtmlVersions = [])).push("3.0.2");
540
- const Es = (e, t, s) => {
541
- const i = (s == null ? void 0 : s.renderBefore) ?? t;
540
+ const Es = (s, t, e) => {
541
+ const i = (e == null ? void 0 : e.renderBefore) ?? t;
542
542
  let n = i._$litPart$;
543
543
  if (n === void 0) {
544
- const r = (s == null ? void 0 : s.renderBefore) ?? null;
545
- i._$litPart$ = n = new Q(t.insertBefore(Z(), r), r, void 0, s ?? {});
544
+ const o = (e == null ? void 0 : e.renderBefore) ?? null;
545
+ i._$litPart$ = n = new Q(t.insertBefore(Z(), o), o, void 0, e ?? {});
546
546
  }
547
- return n._$AI(e), n;
547
+ return n._$AI(s), n;
548
548
  };
549
549
  /**
550
550
  * @license
@@ -556,13 +556,13 @@ let m = class extends H {
556
556
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
557
557
  }
558
558
  createRenderRoot() {
559
- var s;
559
+ var e;
560
560
  const t = super.createRenderRoot();
561
- return (s = this.renderOptions).renderBefore ?? (s.renderBefore = t.firstChild), t;
561
+ return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
562
562
  }
563
563
  update(t) {
564
- const s = this.render();
565
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Es(s, this.renderRoot, this.renderOptions);
564
+ const e = this.render();
565
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Es(e, this.renderRoot, this.renderOptions);
566
566
  }
567
567
  connectedCallback() {
568
568
  var t;
@@ -578,10 +578,10 @@ let m = class extends H {
578
578
  };
579
579
  var Oe;
580
580
  m._$litElement$ = !0, m.finalized = !0, (Oe = globalThis.litElementHydrateSupport) == null || Oe.call(globalThis, { LitElement: m });
581
- const Tt = globalThis.litElementPolyfillSupport;
582
- Tt == null || Tt({ LitElement: m });
581
+ const Ot = globalThis.litElementPolyfillSupport;
582
+ Ot == null || Ot({ LitElement: m });
583
583
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.1");
584
- const ce = { 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>' }, ks = { 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>' }, de = { 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>' }, M = {
584
+ const ce = { 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>' }, Ts = { 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>' }, de = { 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>' }, U = {
585
585
  allRenderFn: !1,
586
586
  cmpDidLoad: !0,
587
587
  cmpDidUnload: !1,
@@ -665,258 +665,258 @@ const ce = { name: "mute", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.o
665
665
  transformTagName: !1,
666
666
  attachStyles: !0
667
667
  };
668
- let U, Ne, vt, je = !1, at = !1, zt = !1, y = !1, he = null, Rt = !1;
669
- const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, De = yt.HTMLElement || class {
668
+ let N, Ne, vt, je = !1, at = !1, Ft = !1, y = !1, he = null, Mt = !1;
669
+ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, Ie = yt.HTMLElement || class {
670
670
  }, v = {
671
671
  $flags$: 0,
672
672
  $resourcesUrl$: "",
673
- jmp: (e) => e(),
674
- raf: (e) => requestAnimationFrame(e),
675
- ael: (e, t, s, i) => e.addEventListener(t, s, i),
676
- rel: (e, t, s, i) => e.removeEventListener(t, s, i),
677
- ce: (e, t) => new CustomEvent(e, t)
678
- }, Ts = /* @__PURE__ */ (() => {
679
- let e = !1;
673
+ jmp: (s) => s(),
674
+ raf: (s) => requestAnimationFrame(s),
675
+ ael: (s, t, e, i) => s.addEventListener(t, e, i),
676
+ rel: (s, t, e, i) => s.removeEventListener(t, e, i),
677
+ ce: (s, t) => new CustomEvent(s, t)
678
+ }, ks = /* @__PURE__ */ (() => {
679
+ let s = !1;
680
680
  try {
681
681
  w.addEventListener("e", null, Object.defineProperty({}, "passive", {
682
682
  get() {
683
- e = !0;
683
+ s = !0;
684
684
  }
685
685
  }));
686
686
  } catch {
687
687
  }
688
- return e;
689
- })(), Os = (e) => Promise.resolve(e), Ps = /* @__PURE__ */ (() => {
688
+ return s;
689
+ })(), Os = (s) => Promise.resolve(s), Ps = /* @__PURE__ */ (() => {
690
690
  try {
691
691
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
692
692
  } catch {
693
693
  }
694
694
  return !1;
695
- })(), Ie = (e, t, s, i) => {
696
- s && s.map(([n, r, o]) => {
697
- const a = Rs(e, n), l = Ls(t, o), c = Hs(n);
698
- v.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => v.rel(a, r, l, c));
695
+ })(), De = (s, t, e, i) => {
696
+ e && e.map(([n, o, r]) => {
697
+ const a = Rs(s, n), l = Ls(t, r), c = Ms(n);
698
+ v.ael(a, o, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => v.rel(a, o, l, c));
699
699
  });
700
- }, Ls = (e, t) => (s) => {
700
+ }, Ls = (s, t) => (e) => {
701
701
  try {
702
- M.lazyLoad || e.$hostElement$[t](s);
702
+ U.lazyLoad || s.$hostElement$[t](e);
703
703
  } catch (i) {
704
704
  J(i);
705
705
  }
706
- }, Rs = (e, t) => t & 4 ? w : t & 8 ? yt : t & 16 ? w.body : e, Hs = (e) => Ts ? {
707
- passive: (e & 1) !== 0,
708
- capture: (e & 2) !== 0
709
- } : (e & 2) !== 0, pe = "http://www.w3.org/1999/xlink", L = (e, t = "") => () => {
710
- }, ue = /* @__PURE__ */ new WeakMap(), Ms = (e, t, s) => {
711
- let i = dt.get(e);
712
- Ps && s ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(e, i);
713
- }, Us = (e, t, s, i) => {
714
- let n = Be(t, s), r = dt.get(n);
715
- if (e = e.nodeType === 11 ? e : w, r)
716
- if (typeof r == "string") {
717
- e = e.head || e;
718
- let o = ue.get(e), a;
719
- o || ue.set(e, o = /* @__PURE__ */ new Set()), o.has(n) || (a = w.createElement("style"), a.innerHTML = r, e.insertBefore(a, e.querySelector("link")), o && o.add(n));
706
+ }, Rs = (s, t) => t & 4 ? w : t & 8 ? yt : t & 16 ? w.body : s, Ms = (s) => ks ? {
707
+ passive: (s & 1) !== 0,
708
+ capture: (s & 2) !== 0
709
+ } : (s & 2) !== 0, pe = "http://www.w3.org/1999/xlink", L = (s, t = "") => () => {
710
+ }, ue = /* @__PURE__ */ new WeakMap(), Hs = (s, t, e) => {
711
+ let i = dt.get(s);
712
+ Ps && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, dt.set(s, i);
713
+ }, Us = (s, t, e, i) => {
714
+ let n = Be(t, e), o = dt.get(n);
715
+ if (s = s.nodeType === 11 ? s : w, o)
716
+ if (typeof o == "string") {
717
+ s = s.head || s;
718
+ let r = ue.get(s), a;
719
+ r || ue.set(s, r = /* @__PURE__ */ new Set()), r.has(n) || (a = w.createElement("style"), a.innerHTML = o, s.insertBefore(a, s.querySelector("link")), r && r.add(n));
720
720
  } else
721
- e.adoptedStyleSheets.includes(r) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, r]);
721
+ s.adoptedStyleSheets.includes(o) || (s.adoptedStyleSheets = [...s.adoptedStyleSheets, o]);
722
722
  return n;
723
- }, Ns = (e) => {
724
- const t = e.$cmpMeta$, s = e.$hostElement$, i = t.$flags$, n = L("attachStyles", t.$tagName$), r = Us(s.shadowRoot ? s.shadowRoot : s.getRootNode(), t, e.$modeName$);
725
- i & 10 && (s["s-sc"] = r, s.classList.add(r + "-h"), i & 2 && s.classList.add(r + "-s")), n();
726
- }, Be = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), js = (e) => pi.map((t) => t(e)).find((t) => !!t), fe = {}, Ds = "http://www.w3.org/2000/svg", Is = "http://www.w3.org/1999/xhtml", Bs = (e) => e != null, Ft = (e) => (e = typeof e, e === "object" || e === "function"), j = (e, t, ...s) => {
727
- let i = null, n = null, r = null, o = !1, a = !1, l = [];
723
+ }, Ns = (s) => {
724
+ const t = s.$cmpMeta$, e = s.$hostElement$, i = t.$flags$, n = L("attachStyles", t.$tagName$), o = Us(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, s.$modeName$);
725
+ i & 10 && (e["s-sc"] = o, e.classList.add(o + "-h"), i & 2 && e.classList.add(o + "-s")), n();
726
+ }, Be = (s, t) => "sc-" + (t && s.$flags$ & 32 ? s.$tagName$ + "-" + t : s.$tagName$), js = (s) => pi.map((t) => t(s)).find((t) => !!t), fe = {}, Is = "http://www.w3.org/2000/svg", Ds = "http://www.w3.org/1999/xhtml", Bs = (s) => s != null, Wt = (s) => (s = typeof s, s === "object" || s === "function"), I = (s, t, ...e) => {
727
+ let i = null, n = null, o = null, r = !1, a = !1, l = [];
728
728
  const c = (h) => {
729
729
  for (let p = 0; p < h.length; p++)
730
- i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof e != "function" && !Ft(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? lt(null, i) : i), a = o);
730
+ i = h[p], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((r = typeof s != "function" && !Wt(i)) && (i = String(i)), r && a ? l[l.length - 1].$text$ += i : l.push(r ? lt(null, i) : i), a = r);
731
731
  };
732
- if (c(s), t) {
733
- t.key && (n = t.key), t.name && (r = t.name);
732
+ if (c(e), t) {
733
+ t.key && (n = t.key), t.name && (o = t.name);
734
734
  {
735
735
  const h = t.className || t.class;
736
736
  h && (t.class = typeof h != "object" ? h : Object.keys(h).filter((p) => h[p]).join(" "));
737
737
  }
738
738
  }
739
- if (typeof e == "function")
740
- return e(t === null ? {} : t, l, Fs);
741
- const d = lt(e, null);
742
- return d.$attrs$ = t, l.length > 0 && (d.$children$ = l), d.$key$ = n, d.$name$ = r, d;
743
- }, lt = (e, t) => {
744
- const s = {
739
+ if (typeof s == "function")
740
+ return s(t === null ? {} : t, l, Fs);
741
+ const d = lt(s, null);
742
+ return d.$attrs$ = t, l.length > 0 && (d.$children$ = l), d.$key$ = n, d.$name$ = o, d;
743
+ }, lt = (s, t) => {
744
+ const e = {
745
745
  $flags$: 0,
746
- $tag$: e,
746
+ $tag$: s,
747
747
  $text$: t,
748
748
  $elm$: null,
749
749
  $children$: null
750
750
  };
751
- return s.$attrs$ = null, s.$key$ = null, s.$name$ = null, s;
752
- }, Wt = {}, zs = (e) => e && e.$tag$ === Wt, Fs = {
753
- forEach: (e, t) => e.map(ge).forEach(t),
754
- map: (e, t) => e.map(ge).map(t).map(Ws)
755
- }, ge = (e) => ({
756
- vattrs: e.$attrs$,
757
- vchildren: e.$children$,
758
- vkey: e.$key$,
759
- vname: e.$name$,
760
- vtag: e.$tag$,
761
- vtext: e.$text$
762
- }), Ws = (e) => {
763
- if (typeof e.vtag == "function") {
764
- const s = Object.assign({}, e.vattrs);
765
- return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), j(e.vtag, s, ...e.vchildren || []);
766
- }
767
- const t = lt(e.vtag, e.vtext);
768
- return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
769
- }, $e = (e, t, s, i, n, r) => {
770
- if (s !== i) {
771
- let o = be(e, t), a = t.toLowerCase();
751
+ return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
752
+ }, Gt = {}, zs = (s) => s && s.$tag$ === Gt, Fs = {
753
+ forEach: (s, t) => s.map(ge).forEach(t),
754
+ map: (s, t) => s.map(ge).map(t).map(Ws)
755
+ }, ge = (s) => ({
756
+ vattrs: s.$attrs$,
757
+ vchildren: s.$children$,
758
+ vkey: s.$key$,
759
+ vname: s.$name$,
760
+ vtag: s.$tag$,
761
+ vtext: s.$text$
762
+ }), Ws = (s) => {
763
+ if (typeof s.vtag == "function") {
764
+ const e = Object.assign({}, s.vattrs);
765
+ return s.vkey && (e.key = s.vkey), s.vname && (e.name = s.vname), I(s.vtag, e, ...s.vchildren || []);
766
+ }
767
+ const t = lt(s.vtag, s.vtext);
768
+ return t.$attrs$ = s.vattrs, t.$children$ = s.vchildren, t.$key$ = s.vkey, t.$name$ = s.vname, t;
769
+ }, $e = (s, t, e, i, n, o) => {
770
+ if (e !== i) {
771
+ let r = be(s, t), a = t.toLowerCase();
772
772
  if (t === "class") {
773
- const l = e.classList, c = me(s), d = me(i);
773
+ const l = s.classList, c = me(e), d = me(i);
774
774
  l.remove(...c.filter((h) => h && !d.includes(h))), l.add(...d.filter((h) => h && !c.includes(h)));
775
775
  } else if (t === "style") {
776
- for (const l in s)
777
- (!i || i[l] == null) && (l.includes("-") ? e.style.removeProperty(l) : e.style[l] = "");
776
+ for (const l in e)
777
+ (!i || i[l] == null) && (l.includes("-") ? s.style.removeProperty(l) : s.style[l] = "");
778
778
  for (const l in i)
779
- (!s || i[l] !== s[l]) && (l.includes("-") ? e.style.setProperty(l, i[l]) : e.style[l] = i[l]);
779
+ (!e || i[l] !== e[l]) && (l.includes("-") ? s.style.setProperty(l, i[l]) : s.style[l] = i[l]);
780
780
  } else if (t !== "key")
781
781
  if (t === "ref")
782
- i && i(e);
783
- else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
- t[2] === "-" ? t = t.slice(3) : be(yt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), s && v.rel(e, t, s, !1), i && v.ael(e, t, i, !1);
782
+ i && i(s);
783
+ else if (!s.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
784
+ t[2] === "-" ? t = t.slice(3) : be(yt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && v.rel(s, t, e, !1), i && v.ael(s, t, i, !1);
785
785
  else {
786
- const l = Ft(i);
787
- if ((o || l && i !== null) && !n)
786
+ const l = Wt(i);
787
+ if ((r || l && i !== null) && !n)
788
788
  try {
789
- if (e.tagName.includes("-"))
790
- e[t] = i;
789
+ if (s.tagName.includes("-"))
790
+ s[t] = i;
791
791
  else {
792
792
  let d = i ?? "";
793
- t === "list" ? o = !1 : (s == null || e[t] != d) && (e[t] = d);
793
+ t === "list" ? r = !1 : (e == null || s[t] != d) && (s[t] = d);
794
794
  }
795
795
  } catch {
796
796
  }
797
797
  let c = !1;
798
- a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || e.getAttribute(t) === "") && (c ? e.removeAttributeNS(pe, t) : e.removeAttribute(t)) : (!o || r & 4 || n) && !l && (i = i === !0 ? "" : i, c ? e.setAttributeNS(pe, t, i) : e.setAttribute(t, i));
798
+ a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || s.getAttribute(t) === "") && (c ? s.removeAttributeNS(pe, t) : s.removeAttribute(t)) : (!r || o & 4 || n) && !l && (i = i === !0 ? "" : i, c ? s.setAttributeNS(pe, t, i) : s.setAttribute(t, i));
799
799
  }
800
800
  }
801
- }, Gs = /\s/, me = (e) => e ? e.split(Gs) : [], ze = (e, t, s, i) => {
802
- const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || fe, o = t.$attrs$ || fe;
803
- for (i in r)
804
- i in o || $e(n, i, r[i], void 0, s, t.$flags$);
801
+ }, Gs = /\s/, me = (s) => s ? s.split(Gs) : [], ze = (s, t, e, i) => {
802
+ const n = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, o = s && s.$attrs$ || fe, r = t.$attrs$ || fe;
805
803
  for (i in o)
806
- $e(n, i, r[i], o[i], s, t.$flags$);
807
- }, ct = (e, t, s, i) => {
808
- let n = t.$children$[s], r = 0, o, a, l;
809
- if (je || (zt = !0, n.$tag$ === "slot" && (U && i.classList.add(U + "-s"), n.$flags$ |= n.$children$ ? (
804
+ i in r || $e(n, i, o[i], void 0, e, t.$flags$);
805
+ for (i in r)
806
+ $e(n, i, o[i], r[i], e, t.$flags$);
807
+ }, ct = (s, t, e, i) => {
808
+ let n = t.$children$[e], o = 0, r, a, l;
809
+ if (je || (Ft = !0, n.$tag$ === "slot" && (N && i.classList.add(N + "-s"), n.$flags$ |= n.$children$ ? (
810
810
  // slot element has fallback content
811
811
  2
812
812
  ) : (
813
813
  // slot element does not have fallback content
814
814
  1
815
815
  ))), n.$text$ !== null)
816
- o = n.$elm$ = w.createTextNode(n.$text$);
816
+ r = n.$elm$ = w.createTextNode(n.$text$);
817
817
  else if (n.$flags$ & 1)
818
- o = n.$elm$ = w.createTextNode("");
818
+ r = n.$elm$ = w.createTextNode("");
819
819
  else {
820
- if (y || (y = n.$tag$ === "svg"), o = n.$elm$ = w.createElementNS(y ? Ds : Is, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), ze(null, n, y), Bs(U) && o["s-si"] !== U && o.classList.add(o["s-si"] = U), n.$children$)
821
- for (r = 0; r < n.$children$.length; ++r)
822
- a = ct(e, n, r, o), a && o.appendChild(a);
823
- n.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
820
+ if (y || (y = n.$tag$ === "svg"), r = n.$elm$ = w.createElementNS(y ? Is : Ds, n.$flags$ & 2 ? "slot-fb" : n.$tag$), y && n.$tag$ === "foreignObject" && (y = !1), ze(null, n, y), Bs(N) && r["s-si"] !== N && r.classList.add(r["s-si"] = N), n.$children$)
821
+ for (o = 0; o < n.$children$.length; ++o)
822
+ a = ct(s, n, o, r), a && r.appendChild(a);
823
+ n.$tag$ === "svg" ? y = !1 : r.tagName === "foreignObject" && (y = !0);
824
824
  }
825
- return o["s-hn"] = vt, n.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Ne, o["s-sn"] = n.$name$ || "", l = e && e.$children$ && e.$children$[s], l && l.$tag$ === n.$tag$ && e.$elm$ && K(e.$elm$, !1)), o;
826
- }, K = (e, t) => {
825
+ return r["s-hn"] = vt, n.$flags$ & 3 && (r["s-sr"] = !0, r["s-cr"] = Ne, r["s-sn"] = n.$name$ || "", l = s && s.$children$ && s.$children$[e], l && l.$tag$ === n.$tag$ && s.$elm$ && K(s.$elm$, !1)), r;
826
+ }, K = (s, t) => {
827
827
  v.$flags$ |= 1;
828
- const s = e.childNodes;
829
- for (let i = s.length - 1; i >= 0; i--) {
830
- const n = s[i];
831
- n["s-hn"] !== vt && n["s-ol"] && (Ge(n).insertBefore(n, Gt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, zt = !0), t && K(n, t);
828
+ const e = s.childNodes;
829
+ for (let i = e.length - 1; i >= 0; i--) {
830
+ const n = e[i];
831
+ n["s-hn"] !== vt && n["s-ol"] && (Ge(n).insertBefore(n, qt(n)), n["s-ol"].remove(), n["s-ol"] = void 0, Ft = !0), t && K(n, t);
832
832
  }
833
833
  v.$flags$ &= -2;
834
- }, Fe = (e, t, s, i, n, r) => {
835
- let o = e["s-cr"] && e["s-cr"].parentNode || e, a;
836
- for (o.shadowRoot && o.tagName === vt && (o = o.shadowRoot); n <= r; ++n)
837
- i[n] && (a = ct(null, s, n, e), a && (i[n].$elm$ = a, o.insertBefore(a, Gt(t))));
838
- }, We = (e, t, s, i, n) => {
839
- for (; t <= s; ++t)
840
- (i = e[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : K(n, !0), n.remove());
841
- }, qs = (e, t, s, i) => {
842
- let n = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], d = t[l], h = i.length - 1, p = i[0], g = i[h], x, et;
843
- for (; n <= l && r <= h; )
834
+ }, Fe = (s, t, e, i, n, o) => {
835
+ let r = s["s-cr"] && s["s-cr"].parentNode || s, a;
836
+ for (r.shadowRoot && r.tagName === vt && (r = r.shadowRoot); n <= o; ++n)
837
+ i[n] && (a = ct(null, e, n, s), a && (i[n].$elm$ = a, r.insertBefore(a, qt(t))));
838
+ }, We = (s, t, e, i, n) => {
839
+ for (; t <= e; ++t)
840
+ (i = s[t]) && (n = i.$elm$, Xe(i), at = !0, n["s-ol"] ? n["s-ol"].remove() : K(n, !0), n.remove());
841
+ }, qs = (s, t, e, i) => {
842
+ let n = 0, o = 0, r = 0, a = 0, l = t.length - 1, c = t[0], d = t[l], h = i.length - 1, p = i[0], g = i[h], x, et;
843
+ for (; n <= l && o <= h; )
844
844
  if (c == null)
845
845
  c = t[++n];
846
846
  else if (d == null)
847
847
  d = t[--l];
848
848
  else if (p == null)
849
- p = i[++r];
849
+ p = i[++o];
850
850
  else if (g == null)
851
851
  g = i[--h];
852
852
  else if (st(c, p))
853
- N(c, p), c = t[++n], p = i[++r];
853
+ j(c, p), c = t[++n], p = i[++o];
854
854
  else if (st(d, g))
855
- N(d, g), d = t[--l], g = i[--h];
855
+ j(d, g), d = t[--l], g = i[--h];
856
856
  else if (st(c, g))
857
- (c.$tag$ === "slot" || g.$tag$ === "slot") && K(c.$elm$.parentNode, !1), N(c, g), e.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
857
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && K(c.$elm$.parentNode, !1), j(c, g), s.insertBefore(c.$elm$, d.$elm$.nextSibling), c = t[++n], g = i[--h];
858
858
  else if (st(d, p))
859
- (c.$tag$ === "slot" || g.$tag$ === "slot") && K(d.$elm$.parentNode, !1), N(d, p), e.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++r];
859
+ (c.$tag$ === "slot" || g.$tag$ === "slot") && K(d.$elm$.parentNode, !1), j(d, p), s.insertBefore(d.$elm$, c.$elm$), d = t[--l], p = i[++o];
860
860
  else {
861
- for (o = -1, a = n; a <= l; ++a)
861
+ for (r = -1, a = n; a <= l; ++a)
862
862
  if (t[a] && t[a].$key$ !== null && t[a].$key$ === p.$key$) {
863
- o = a;
863
+ r = a;
864
864
  break;
865
865
  }
866
- o >= 0 ? (et = t[o], et.$tag$ !== p.$tag$ ? x = ct(t && t[r], s, o, e) : (N(et, p), t[o] = void 0, x = et.$elm$), p = i[++r]) : (x = ct(t && t[r], s, r, e), p = i[++r]), x && Ge(c.$elm$).insertBefore(x, Gt(c.$elm$));
866
+ r >= 0 ? (et = t[r], et.$tag$ !== p.$tag$ ? x = ct(t && t[o], e, r, s) : (j(et, p), t[r] = void 0, x = et.$elm$), p = i[++o]) : (x = ct(t && t[o], e, o, s), p = i[++o]), x && Ge(c.$elm$).insertBefore(x, qt(c.$elm$));
867
867
  }
868
- n > l ? Fe(e, i[h + 1] == null ? null : i[h + 1].$elm$, s, i, r, h) : r > h && We(t, n, l);
869
- }, st = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, Gt = (e) => e && e["s-ol"] || e, Ge = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, N = (e, t) => {
870
- const s = t.$elm$ = e.$elm$, i = e.$children$, n = t.$children$, r = t.$tag$, o = t.$text$;
868
+ n > l ? Fe(s, i[h + 1] == null ? null : i[h + 1].$elm$, e, i, o, h) : o > h && We(t, n, l);
869
+ }, st = (s, t) => s.$tag$ === t.$tag$ ? s.$tag$ === "slot" ? s.$name$ === t.$name$ : s.$key$ === t.$key$ : !1, qt = (s) => s && s["s-ol"] || s, Ge = (s) => (s["s-ol"] ? s["s-ol"] : s).parentNode, j = (s, t) => {
870
+ const e = t.$elm$ = s.$elm$, i = s.$children$, n = t.$children$, o = t.$tag$, r = t.$text$;
871
871
  let a;
872
- o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || ze(e, t, y), i !== null && n !== null ? qs(s, i, t, n) : n !== null ? (e.$text$ !== null && (s.textContent = ""), Fe(s, null, t, n, 0, n.length - 1)) : i !== null && We(i, 0, i.length - 1), y && r === "svg" && (y = !1)) : (a = s["s-cr"]) ? a.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
873
- }, qe = (e) => {
874
- let t = e.childNodes, s, i, n, r, o, a;
872
+ r === null ? (y = o === "svg" ? !0 : o === "foreignObject" ? !1 : y, o === "slot" || ze(s, t, y), i !== null && n !== null ? qs(e, i, t, n) : n !== null ? (s.$text$ !== null && (e.textContent = ""), Fe(e, null, t, n, 0, n.length - 1)) : i !== null && We(i, 0, i.length - 1), y && o === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = r : s.$text$ !== r && (e.data = r);
873
+ }, qe = (s) => {
874
+ let t = s.childNodes, e, i, n, o, r, a;
875
875
  for (i = 0, n = t.length; i < n; i++)
876
- if (s = t[i], s.nodeType === 1) {
877
- if (s["s-sr"]) {
878
- for (o = s["s-sn"], s.hidden = !1, r = 0; r < n; r++)
879
- if (a = t[r].nodeType, t[r]["s-hn"] !== s["s-hn"] || o !== "") {
880
- if (a === 1 && o === t[r].getAttribute("slot")) {
881
- s.hidden = !0;
876
+ if (e = t[i], e.nodeType === 1) {
877
+ if (e["s-sr"]) {
878
+ for (r = e["s-sn"], e.hidden = !1, o = 0; o < n; o++)
879
+ if (a = t[o].nodeType, t[o]["s-hn"] !== e["s-hn"] || r !== "") {
880
+ if (a === 1 && r === t[o].getAttribute("slot")) {
881
+ e.hidden = !0;
882
882
  break;
883
883
  }
884
- } else if (a === 1 || a === 3 && t[r].textContent.trim() !== "") {
885
- s.hidden = !0;
884
+ } else if (a === 1 || a === 3 && t[o].textContent.trim() !== "") {
885
+ e.hidden = !0;
886
886
  break;
887
887
  }
888
888
  }
889
- qe(s);
889
+ qe(e);
890
890
  }
891
- }, _ = [], Ze = (e) => {
892
- let t, s, i, n, r, o, a = 0, l = e.childNodes, c = l.length;
891
+ }, _ = [], Ze = (s) => {
892
+ let t, e, i, n, o, r, a = 0, l = s.childNodes, c = l.length;
893
893
  for (; a < c; a++) {
894
- if (t = l[a], t["s-sr"] && (s = t["s-cr"]) && s.parentNode)
895
- for (i = s.parentNode.childNodes, n = t["s-sn"], o = i.length - 1; o >= 0; o--)
896
- s = i[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (ve(s, n) ? (r = _.find((d) => d.$nodeToRelocate$ === s), at = !0, s["s-sn"] = s["s-sn"] || n, r ? r.$slotRefNode$ = t : _.push({
894
+ if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
895
+ for (i = e.parentNode.childNodes, n = t["s-sn"], r = i.length - 1; r >= 0; r--)
896
+ e = i[r], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (ve(e, n) ? (o = _.find((d) => d.$nodeToRelocate$ === e), at = !0, e["s-sn"] = e["s-sn"] || n, o ? o.$slotRefNode$ = t : _.push({
897
897
  $slotRefNode$: t,
898
- $nodeToRelocate$: s
899
- }), s["s-sr"] && _.map((d) => {
900
- ve(d.$nodeToRelocate$, s["s-sn"]) && (r = _.find((h) => h.$nodeToRelocate$ === s), r && !d.$slotRefNode$ && (d.$slotRefNode$ = r.$slotRefNode$));
901
- })) : _.some((d) => d.$nodeToRelocate$ === s) || _.push({
902
- $nodeToRelocate$: s
898
+ $nodeToRelocate$: e
899
+ }), e["s-sr"] && _.map((d) => {
900
+ ve(d.$nodeToRelocate$, e["s-sn"]) && (o = _.find((h) => h.$nodeToRelocate$ === e), o && !d.$slotRefNode$ && (d.$slotRefNode$ = o.$slotRefNode$));
901
+ })) : _.some((d) => d.$nodeToRelocate$ === e) || _.push({
902
+ $nodeToRelocate$: e
903
903
  }));
904
904
  t.nodeType === 1 && Ze(t);
905
905
  }
906
- }, ve = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", Xe = (e) => {
907
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(Xe);
908
- }, Zs = (e, t) => {
909
- const s = e.$hostElement$, i = e.$cmpMeta$, n = e.$vnode$ || lt(null, null), r = zs(t) ? t : j(null, null, t);
910
- vt = s.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = s[o])), r.$tag$ = null, r.$flags$ |= 4, e.$vnode$ = r, r.$elm$ = n.$elm$ = s.shadowRoot || s, U = s["s-sc"], Ne = s["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, N(n, r);
906
+ }, ve = (s, t) => s.nodeType === 1 ? s.getAttribute("slot") === null && t === "" || s.getAttribute("slot") === t : s["s-sn"] === t ? !0 : t === "", Xe = (s) => {
907
+ s.$attrs$ && s.$attrs$.ref && s.$attrs$.ref(null), s.$children$ && s.$children$.map(Xe);
908
+ }, Zs = (s, t) => {
909
+ const e = s.$hostElement$, i = s.$cmpMeta$, n = s.$vnode$ || lt(null, null), o = zs(t) ? t : I(null, null, t);
910
+ vt = e.tagName, i.$attrsToReflect$ && (o.$attrs$ = o.$attrs$ || {}, i.$attrsToReflect$.map(([r, a]) => o.$attrs$[a] = e[r])), o.$tag$ = null, o.$flags$ |= 4, s.$vnode$ = o, o.$elm$ = n.$elm$ = e.shadowRoot || e, N = e["s-sc"], Ne = e["s-cr"], je = (i.$flags$ & 1) !== 0, at = !1, j(n, o);
911
911
  {
912
- if (v.$flags$ |= 1, zt) {
913
- Ze(r.$elm$);
914
- let o, a, l, c, d, h, p = 0;
912
+ if (v.$flags$ |= 1, Ft) {
913
+ Ze(o.$elm$);
914
+ let r, a, l, c, d, h, p = 0;
915
915
  for (; p < _.length; p++)
916
- o = _[p], a = o.$nodeToRelocate$, a["s-ol"] || (l = w.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
916
+ r = _[p], a = r.$nodeToRelocate$, a["s-ol"] || (l = w.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
917
917
  for (p = 0; p < _.length; p++)
918
- if (o = _[p], a = o.$nodeToRelocate$, o.$slotRefNode$) {
919
- for (c = o.$slotRefNode$.parentNode, d = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
918
+ if (r = _[p], a = r.$nodeToRelocate$, r.$slotRefNode$) {
919
+ for (c = r.$slotRefNode$.parentNode, d = r.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
920
920
  if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
921
921
  d = h;
922
922
  break;
@@ -925,149 +925,149 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, D
925
925
  } else
926
926
  a.nodeType === 1 && (a.hidden = !0);
927
927
  }
928
- at && qe(r.$elm$), v.$flags$ &= -2, _.length = 0;
928
+ at && qe(o.$elm$), v.$flags$ &= -2, _.length = 0;
929
929
  }
930
- }, Xs = (e) => e, Ys = (e, t, s) => {
931
- const i = Xs(e);
930
+ }, Xs = (s) => s, Ys = (s, t, e) => {
931
+ const i = Xs(s);
932
932
  return {
933
933
  emit: (n) => Ks(i, t, {
934
- bubbles: !!(s & 4),
935
- composed: !!(s & 2),
936
- cancelable: !!(s & 1),
934
+ bubbles: !!(e & 4),
935
+ composed: !!(e & 2),
936
+ cancelable: !!(e & 1),
937
937
  detail: n
938
938
  })
939
939
  };
940
- }, Ks = (e, t, s) => {
941
- const i = v.ce(t, s);
942
- return e.dispatchEvent(i), i;
943
- }, Qs = (e, t) => {
944
- }, Ye = (e, t) => (e.$flags$ |= 16, Qs(e, e.$ancestorComponent$), gi(() => Js(e, t))), Js = (e, t) => {
945
- const s = e.$hostElement$, i = L("scheduleUpdate", e.$cmpMeta$.$tagName$), n = s;
946
- let r;
947
- return t ? r = D(n, "componentWillLoad") : r = D(n, "componentWillUpdate"), r = ye(r, () => D(n, "componentWillRender")), i(), ye(r, () => Vs(e, n, t));
948
- }, Vs = async (e, t, s) => {
949
- const i = e.$hostElement$, n = L("update", e.$cmpMeta$.$tagName$);
950
- i["s-rc"], s && Ns(e);
951
- const r = L("render", e.$cmpMeta$.$tagName$);
952
- ti(e, t, i), r(), n(), ei(e);
953
- }, ti = (e, t, s) => {
940
+ }, Ks = (s, t, e) => {
941
+ const i = v.ce(t, e);
942
+ return s.dispatchEvent(i), i;
943
+ }, Qs = (s, t) => {
944
+ }, Ye = (s, t) => (s.$flags$ |= 16, Qs(s, s.$ancestorComponent$), gi(() => Js(s, t))), Js = (s, t) => {
945
+ const e = s.$hostElement$, i = L("scheduleUpdate", s.$cmpMeta$.$tagName$), n = e;
946
+ let o;
947
+ return t ? o = D(n, "componentWillLoad") : o = D(n, "componentWillUpdate"), o = ye(o, () => D(n, "componentWillRender")), i(), ye(o, () => Vs(s, n, t));
948
+ }, Vs = async (s, t, e) => {
949
+ const i = s.$hostElement$, n = L("update", s.$cmpMeta$.$tagName$);
950
+ i["s-rc"], e && Ns(s);
951
+ const o = L("render", s.$cmpMeta$.$tagName$);
952
+ ti(s, t, i), o(), n(), ei(s);
953
+ }, ti = (s, t, e) => {
954
954
  try {
955
- he = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (M.hasRenderFn || M.reflect) && (M.vdomRender || M.reflect) && (M.hydrateServerSide || Zs(e, t));
955
+ he = t, t = t.render && t.render(), s.$flags$ &= -17, s.$flags$ |= 2, (U.hasRenderFn || U.reflect) && (U.vdomRender || U.reflect) && (U.hydrateServerSide || Zs(s, t));
956
956
  } catch (a) {
957
- J(a, e.$hostElement$);
957
+ J(a, s.$hostElement$);
958
958
  }
959
959
  return he = null, null;
960
- }, ei = (e) => {
961
- const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, i = L("postUpdate", t), n = s;
962
- e.$ancestorComponent$, D(n, "componentDidRender"), e.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (e.$flags$ |= 64, D(n, "componentDidLoad"), i());
963
- }, D = (e, t, s) => {
964
- if (e && e[t])
960
+ }, ei = (s) => {
961
+ const t = s.$cmpMeta$.$tagName$, e = s.$hostElement$, i = L("postUpdate", t), n = e;
962
+ s.$ancestorComponent$, D(n, "componentDidRender"), s.$flags$ & 64 ? (D(n, "componentDidUpdate"), i()) : (s.$flags$ |= 64, D(n, "componentDidLoad"), i());
963
+ }, D = (s, t, e) => {
964
+ if (s && s[t])
965
965
  try {
966
- return e[t](s);
966
+ return s[t](e);
967
967
  } catch (i) {
968
968
  J(i);
969
969
  }
970
- }, ye = (e, t) => e && e.then ? e.then(t) : t(), si = (e, t) => e != null && !Ft(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, ii = (e, t) => bt(e).$instanceValues$.get(t), ni = (e, t, s, i) => {
971
- const n = bt(e), r = e, o = n.$instanceValues$.get(t), a = n.$flags$, l = r;
972
- s = si(s, i.$members$[t][0]);
973
- const c = Number.isNaN(o) && Number.isNaN(s);
974
- if (s !== o && !c) {
975
- n.$instanceValues$.set(t, s);
970
+ }, ye = (s, t) => s && s.then ? s.then(t) : t(), si = (s, t) => s != null && !Wt(s) ? t & 4 ? s === "false" ? !1 : s === "" || !!s : t & 2 ? parseFloat(s) : t & 1 ? String(s) : s : s, ii = (s, t) => bt(s).$instanceValues$.get(t), ni = (s, t, e, i) => {
971
+ const n = bt(s), o = s, r = n.$instanceValues$.get(t), a = n.$flags$, l = o;
972
+ e = si(e, i.$members$[t][0]);
973
+ const c = Number.isNaN(r) && Number.isNaN(e);
974
+ if (e !== r && !c) {
975
+ n.$instanceValues$.set(t, e);
976
976
  {
977
977
  if (i.$watchers$ && a & 128) {
978
978
  const h = i.$watchers$[t];
979
979
  h && h.map((p) => {
980
980
  try {
981
- l[p](s, o, t);
981
+ l[p](e, r, t);
982
982
  } catch (g) {
983
- J(g, r);
983
+ J(g, o);
984
984
  }
985
985
  });
986
986
  }
987
987
  if ((a & 18) === 2) {
988
- if (l.componentShouldUpdate && l.componentShouldUpdate(s, o, t) === !1)
988
+ if (l.componentShouldUpdate && l.componentShouldUpdate(e, r, t) === !1)
989
989
  return;
990
990
  Ye(n, !1);
991
991
  }
992
992
  }
993
993
  }
994
- }, ri = (e, t, s) => {
994
+ }, oi = (s, t, e) => {
995
995
  if (t.$members$) {
996
- e.watchers && (t.$watchers$ = e.watchers);
997
- const i = Object.entries(t.$members$), n = e.prototype;
998
- i.map(([r, [o]]) => {
999
- (o & 31 || o & 32) && Object.defineProperty(n, r, {
996
+ s.watchers && (t.$watchers$ = s.watchers);
997
+ const i = Object.entries(t.$members$), n = s.prototype;
998
+ i.map(([o, [r]]) => {
999
+ (r & 31 || r & 32) && Object.defineProperty(n, o, {
1000
1000
  get() {
1001
- return ii(this, r);
1001
+ return ii(this, o);
1002
1002
  },
1003
1003
  set(a) {
1004
- ni(this, r, a, t);
1004
+ ni(this, o, a, t);
1005
1005
  },
1006
1006
  configurable: !0,
1007
1007
  enumerable: !0
1008
1008
  });
1009
1009
  });
1010
1010
  {
1011
- const r = /* @__PURE__ */ new Map();
1012
- n.attributeChangedCallback = function(o, a, l) {
1011
+ const o = /* @__PURE__ */ new Map();
1012
+ n.attributeChangedCallback = function(r, a, l) {
1013
1013
  v.jmp(() => {
1014
- const c = r.get(o);
1014
+ const c = o.get(r);
1015
1015
  if (this.hasOwnProperty(c))
1016
1016
  l = this[c], delete this[c];
1017
1017
  else if (n.hasOwnProperty(c) && typeof this[c] == "number" && this[c] == l)
1018
1018
  return;
1019
1019
  this[c] = l === null && typeof this[c] == "boolean" ? !1 : l;
1020
1020
  });
1021
- }, e.observedAttributes = i.filter(
1022
- ([o, a]) => a[0] & 15
1021
+ }, s.observedAttributes = i.filter(
1022
+ ([r, a]) => a[0] & 15
1023
1023
  /* HasAttribute */
1024
- ).map(([o, a]) => {
1025
- const l = a[1] || o;
1026
- return r.set(l, o), a[0] & 512 && t.$attrsToReflect$.push([o, l]), l;
1024
+ ).map(([r, a]) => {
1025
+ const l = a[1] || r;
1026
+ return o.set(l, r), a[0] & 512 && t.$attrsToReflect$.push([r, l]), l;
1027
1027
  });
1028
1028
  }
1029
1029
  }
1030
- return e;
1031
- }, oi = async (e, t, s, i, n) => {
1032
- if (!(t.$flags$ & 32) && (n = e.constructor, t.$flags$ |= 32, customElements.whenDefined(s.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
1033
- let o = n.style;
1034
- typeof o != "string" && (o = o[t.$modeName$ = js(e)]);
1035
- const a = Be(s, t.$modeName$);
1030
+ return s;
1031
+ }, ri = async (s, t, e, i, n) => {
1032
+ if (!(t.$flags$ & 32) && (n = s.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), n.style)) {
1033
+ let r = n.style;
1034
+ typeof r != "string" && (r = r[t.$modeName$ = js(s)]);
1035
+ const a = Be(e, t.$modeName$);
1036
1036
  if (!dt.has(a)) {
1037
- const l = L("registerStyles", s.$tagName$);
1038
- Ms(a, o, !!(s.$flags$ & 1)), l();
1037
+ const l = L("registerStyles", e.$tagName$);
1038
+ Hs(a, r, !!(e.$flags$ & 1)), l();
1039
1039
  }
1040
1040
  }
1041
1041
  t.$ancestorComponent$, (() => Ye(t, !0))();
1042
- }, ai = (e) => {
1043
- }, li = (e) => {
1042
+ }, ai = (s) => {
1043
+ }, li = (s) => {
1044
1044
  if (!(v.$flags$ & 1)) {
1045
- const t = bt(e), s = t.$cmpMeta$, i = L("connectedCallback", s.$tagName$);
1046
- t.$flags$ & 1 ? (Ie(e, t, s.$listeners$), ai(t.$lazyInstance$)) : (t.$flags$ |= 1, s.$flags$ & 12 && ci(e), s.$members$ && Object.entries(s.$members$).map(([n, [r]]) => {
1047
- if (r & 31 && e.hasOwnProperty(n)) {
1048
- const o = e[n];
1049
- delete e[n], e[n] = o;
1050
- }
1051
- }), oi(e, t, s)), i();
1052
- }
1053
- }, ci = (e) => {
1054
- const t = e["s-cr"] = w.createComment("");
1055
- t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
1056
- }, di = (e) => {
1045
+ const t = bt(s), e = t.$cmpMeta$, i = L("connectedCallback", e.$tagName$);
1046
+ t.$flags$ & 1 ? (De(s, t, e.$listeners$), ai(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && ci(s), e.$members$ && Object.entries(e.$members$).map(([n, [o]]) => {
1047
+ if (o & 31 && s.hasOwnProperty(n)) {
1048
+ const r = s[n];
1049
+ delete s[n], s[n] = r;
1050
+ }
1051
+ }), ri(s, t, e)), i();
1052
+ }
1053
+ }, ci = (s) => {
1054
+ const t = s["s-cr"] = w.createComment("");
1055
+ t["s-cn"] = !0, s.insertBefore(t, s.firstChild);
1056
+ }, di = (s) => {
1057
1057
  if (!(v.$flags$ & 1)) {
1058
- const t = bt(e);
1059
- t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0);
1058
+ const t = bt(s);
1059
+ t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
1060
1060
  }
1061
- }, Ke = (e, t) => {
1062
- const s = {
1061
+ }, Ke = (s, t) => {
1062
+ const e = {
1063
1063
  $flags$: t[0],
1064
1064
  $tagName$: t[1]
1065
1065
  };
1066
- s.$members$ = t[2], s.$listeners$ = t[3], s.$watchers$ = e.$watchers$, s.$attrsToReflect$ = [];
1067
- const i = e.prototype.connectedCallback, n = e.prototype.disconnectedCallback;
1068
- return Object.assign(e.prototype, {
1066
+ e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = s.$watchers$, e.$attrsToReflect$ = [];
1067
+ const i = s.prototype.connectedCallback, n = s.prototype.disconnectedCallback;
1068
+ return Object.assign(s.prototype, {
1069
1069
  __registerHost() {
1070
- hi(this, s);
1070
+ hi(this, e);
1071
1071
  },
1072
1072
  connectedCallback() {
1073
1073
  li(this), i && i.call(this);
@@ -1078,48 +1078,48 @@ const yt = typeof window < "u" ? window : {}, w = yt.document || { head: {} }, D
1078
1078
  __attachShadow() {
1079
1079
  this.attachShadow({
1080
1080
  mode: "open",
1081
- delegatesFocus: !!(s.$flags$ & 16)
1081
+ delegatesFocus: !!(e.$flags$ & 16)
1082
1082
  });
1083
1083
  }
1084
- }), e.is = s.$tagName$, ri(e, s);
1085
- }, Qe = /* @__PURE__ */ new WeakMap(), bt = (e) => Qe.get(e), hi = (e, t) => {
1086
- const s = {
1084
+ }), s.is = e.$tagName$, oi(s, e);
1085
+ }, Qe = /* @__PURE__ */ new WeakMap(), bt = (s) => Qe.get(s), hi = (s, t) => {
1086
+ const e = {
1087
1087
  $flags$: 0,
1088
- $hostElement$: e,
1088
+ $hostElement$: s,
1089
1089
  $cmpMeta$: t,
1090
1090
  $instanceValues$: /* @__PURE__ */ new Map()
1091
1091
  };
1092
- return Ie(e, s, t.$listeners$), Qe.set(e, s);
1093
- }, be = (e, t) => t in e, J = (e, t) => (0, console.error)(e, t), dt = /* @__PURE__ */ new Map(), pi = [], _e = [], Je = [], ui = (e, t) => (s) => {
1094
- e.push(s), Rt || (Rt = !0, t && v.$flags$ & 4 ? fi(Ht) : v.raf(Ht));
1095
- }, xe = (e) => {
1096
- for (let t = 0; t < e.length; t++)
1092
+ return De(s, e, t.$listeners$), Qe.set(s, e);
1093
+ }, be = (s, t) => t in s, J = (s, t) => (0, console.error)(s, t), dt = /* @__PURE__ */ new Map(), pi = [], _e = [], Je = [], ui = (s, t) => (e) => {
1094
+ s.push(e), Mt || (Mt = !0, t && v.$flags$ & 4 ? fi(Ht) : v.raf(Ht));
1095
+ }, xe = (s) => {
1096
+ for (let t = 0; t < s.length; t++)
1097
1097
  try {
1098
- e[t](performance.now());
1099
- } catch (s) {
1100
- J(s);
1098
+ s[t](performance.now());
1099
+ } catch (e) {
1100
+ J(e);
1101
1101
  }
1102
- e.length = 0;
1102
+ s.length = 0;
1103
1103
  }, Ht = () => {
1104
- xe(_e), xe(Je), (Rt = _e.length > 0) && v.raf(Ht);
1105
- }, fi = (e) => Os().then(e), gi = /* @__PURE__ */ ui(Je, !0), $i = (e = {}) => {
1106
- const { content: t = "", title: s, attributes: i = [] } = e;
1107
- let n = "", r = [
1104
+ xe(_e), xe(Je), (Mt = _e.length > 0) && v.raf(Ht);
1105
+ }, fi = (s) => Os().then(s), gi = /* @__PURE__ */ ui(Je, !0), $i = (s = {}) => {
1106
+ const { content: t = "", title: e, attributes: i = [] } = s;
1107
+ let n = "", o = [
1108
1108
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
1109
1109
  { name: "fill", value: "currentColor" },
1110
1110
  ...i
1111
1111
  ];
1112
- return s && (n = `<title>${s}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
1113
- }, mi = (e) => e.replace(/<(\/?)svg([^>]*)>/g, "").trim();
1114
- function vi(e) {
1115
- return `${e.getFullYear()}.${e.getMonth() + 1}`;
1112
+ return e && (n = `<title>${e}</title>`), `<svg ${o.map((a) => `${a.name}="${a.value}"`).join(" ")}>${n}${t}</svg>`;
1113
+ }, mi = (s) => s.replace(/<(\/?)svg([^>]*)>/g, "").trim();
1114
+ function vi(s) {
1115
+ return `${s.getFullYear()}.${s.getMonth() + 1}`;
1116
1116
  }
1117
1117
  class yi {
1118
1118
  constructor(t) {
1119
1119
  this.voca_component = t, this.voca_added = vi(/* @__PURE__ */ new Date());
1120
1120
  }
1121
1121
  }
1122
- const bi = "telia-vst{display:none}", _i = /* @__PURE__ */ Ke(class extends De {
1122
+ const bi = "telia-vst{display:none}", _i = /* @__PURE__ */ Ke(class extends Ie {
1123
1123
  constructor() {
1124
1124
  super(), this.__registerHost(), this.vocaInternalUStats = Ys(this, "vocaInternalUStats", 7);
1125
1125
  }
@@ -1127,7 +1127,7 @@ const bi = "telia-vst{display:none}", _i = /* @__PURE__ */ Ke(class extends De {
1127
1127
  this.vocaInternalUStats.emit(new yi(this.dataTrackingId));
1128
1128
  }
1129
1129
  render() {
1130
- return j(Wt, null);
1130
+ return I(Gt, null);
1131
1131
  }
1132
1132
  static get style() {
1133
1133
  return bi;
@@ -1147,17 +1147,17 @@ function Ve() {
1147
1147
  });
1148
1148
  }
1149
1149
  Ve();
1150
- function Mt() {
1150
+ function Ut() {
1151
1151
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
1152
1152
  }
1153
1153
  function xi() {
1154
- if (typeof Mt().vocadsIcons !== void 0)
1155
- return Mt().vocadsIcons;
1154
+ if (typeof Ut().vocadsIcons !== void 0)
1155
+ return Ut().vocadsIcons;
1156
1156
  }
1157
1157
  function wi() {
1158
- return Mt().vocadsIconsRegistered;
1158
+ return Ut().vocadsIconsRegistered;
1159
1159
  }
1160
- const Ci = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Ai = /* @__PURE__ */ Ke(class extends De {
1160
+ const Ci = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Ai = /* @__PURE__ */ Ke(class extends Ie {
1161
1161
  constructor() {
1162
1162
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
1163
1163
  }
@@ -1170,23 +1170,23 @@ const Ci = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
1170
1170
  if (this.svg)
1171
1171
  return this.svg;
1172
1172
  if (wi() && this.name) {
1173
- const e = xi();
1174
- return e[this.name] ? e[this.name].svg : "";
1173
+ const s = xi();
1174
+ return s[this.name] ? s[this.name].svg : "";
1175
1175
  }
1176
1176
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
1177
1177
  }
1178
1178
  render() {
1179
- let e = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
1179
+ let s = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
1180
1180
  this.allyTitle ? t = [...t, { name: "role", value: "img" }] : t = [
1181
1181
  ...t,
1182
1182
  { name: "aria-hidden", value: "true" }
1183
1183
  ];
1184
- const s = $i({
1185
- content: mi(e),
1184
+ const e = $i({
1185
+ content: mi(s),
1186
1186
  attributes: t,
1187
1187
  title: this.allyTitle
1188
1188
  });
1189
- return j(Wt, { class: `telia-icon telia-icon--${this.size}` }, j("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: s }), j("telia-vst", { dataTrackingId: this.dataTrackingId }));
1189
+ return I(Gt, { class: `telia-icon telia-icon--${this.size}` }, I("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), I("telia-vst", { dataTrackingId: this.dataTrackingId }));
1190
1190
  }
1191
1191
  static get style() {
1192
1192
  return Ci;
@@ -1218,77 +1218,77 @@ Si();
1218
1218
  * Copyright 2017 Google LLC
1219
1219
  * SPDX-License-Identifier: BSD-3-Clause
1220
1220
  */
1221
- const V = (e) => (t, s) => {
1222
- s !== void 0 ? s.addInitializer(() => {
1223
- customElements.define(e, t);
1224
- }) : customElements.define(e, t);
1221
+ const V = (s) => (t, e) => {
1222
+ e !== void 0 ? e.addInitializer(() => {
1223
+ customElements.define(s, t);
1224
+ }) : customElements.define(s, t);
1225
1225
  };
1226
1226
  /**
1227
1227
  * @license
1228
1228
  * Copyright 2017 Google LLC
1229
1229
  * SPDX-License-Identifier: BSD-3-Clause
1230
1230
  */
1231
- const Ei = { attribute: !0, type: String, converter: rt, reflect: !1, hasChanged: Bt }, ki = (e = Ei, t, s) => {
1232
- const { kind: i, metadata: n } = s;
1233
- let r = globalThis.litPropertyMetadata.get(n);
1234
- if (r === void 0 && globalThis.litPropertyMetadata.set(n, r = /* @__PURE__ */ new Map()), r.set(s.name, e), i === "accessor") {
1235
- const { name: o } = s;
1231
+ const Ei = { attribute: !0, type: String, converter: ot, reflect: !1, hasChanged: zt }, Ti = (s = Ei, t, e) => {
1232
+ const { kind: i, metadata: n } = e;
1233
+ let o = globalThis.litPropertyMetadata.get(n);
1234
+ if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), o.set(e.name, s), i === "accessor") {
1235
+ const { name: r } = e;
1236
1236
  return { set(a) {
1237
1237
  const l = t.get.call(this);
1238
- t.set.call(this, a), this.requestUpdate(o, l, e);
1238
+ t.set.call(this, a), this.requestUpdate(r, l, s);
1239
1239
  }, init(a) {
1240
- return a !== void 0 && this.C(o, void 0, e), a;
1240
+ return a !== void 0 && this.C(r, void 0, s), a;
1241
1241
  } };
1242
1242
  }
1243
1243
  if (i === "setter") {
1244
- const { name: o } = s;
1244
+ const { name: r } = e;
1245
1245
  return function(a) {
1246
- const l = this[o];
1247
- t.call(this, a), this.requestUpdate(o, l, e);
1246
+ const l = this[r];
1247
+ t.call(this, a), this.requestUpdate(r, l, s);
1248
1248
  };
1249
1249
  }
1250
1250
  throw Error("Unsupported decorator location: " + i);
1251
1251
  };
1252
- function $(e) {
1253
- return (t, s) => typeof s == "object" ? ki(e, t, s) : ((i, n, r) => {
1254
- const o = n.hasOwnProperty(r);
1255
- return n.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(n, r) : void 0;
1256
- })(e, t, s);
1252
+ function $(s) {
1253
+ return (t, e) => typeof e == "object" ? Ti(s, t, e) : ((i, n, o) => {
1254
+ const r = n.hasOwnProperty(o);
1255
+ return n.constructor.createProperty(o, r ? { ...i, wrapped: !0 } : i), r ? Object.getOwnPropertyDescriptor(n, o) : void 0;
1256
+ })(s, t, e);
1257
1257
  }
1258
1258
  /**
1259
1259
  * @license
1260
1260
  * Copyright 2017 Google LLC
1261
1261
  * SPDX-License-Identifier: BSD-3-Clause
1262
1262
  */
1263
- function C(e) {
1264
- return $({ ...e, state: !0, attribute: !1 });
1263
+ function C(s) {
1264
+ return $({ ...s, state: !0, attribute: !1 });
1265
1265
  }
1266
1266
  /**
1267
1267
  * @license
1268
1268
  * Copyright 2020 Google LLC
1269
1269
  * SPDX-License-Identifier: BSD-3-Clause
1270
1270
  */
1271
- const Ti = (e) => e.strings === void 0;
1271
+ const ki = (s) => s.strings === void 0;
1272
1272
  /**
1273
1273
  * @license
1274
1274
  * Copyright 2017 Google LLC
1275
1275
  * SPDX-License-Identifier: BSD-3-Clause
1276
1276
  */
1277
- const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (e) => (...t) => ({ _$litDirective$: e, values: t });
1278
- let qt = class {
1277
+ const _t = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, xt = (s) => (...t) => ({ _$litDirective$: s, values: t });
1278
+ let Zt = class {
1279
1279
  constructor(t) {
1280
1280
  }
1281
1281
  get _$AU() {
1282
1282
  return this._$AM._$AU;
1283
1283
  }
1284
- _$AT(t, s, i) {
1285
- this._$Ct = t, this._$AM = s, this._$Ci = i;
1284
+ _$AT(t, e, i) {
1285
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
1286
1286
  }
1287
- _$AS(t, s) {
1288
- return this.update(t, s);
1287
+ _$AS(t, e) {
1288
+ return this.update(t, e);
1289
1289
  }
1290
- update(t, s) {
1291
- return this.render(...s);
1290
+ update(t, e) {
1291
+ return this.render(...e);
1292
1292
  }
1293
1293
  };
1294
1294
  /**
@@ -1296,66 +1296,66 @@ let qt = class {
1296
1296
  * Copyright 2017 Google LLC
1297
1297
  * SPDX-License-Identifier: BSD-3-Clause
1298
1298
  */
1299
- const q = (e, t) => {
1299
+ const q = (s, t) => {
1300
1300
  var i;
1301
- const s = e._$AN;
1302
- if (s === void 0)
1301
+ const e = s._$AN;
1302
+ if (e === void 0)
1303
1303
  return !1;
1304
- for (const n of s)
1304
+ for (const n of e)
1305
1305
  (i = n._$AO) == null || i.call(n, t, !1), q(n, t);
1306
1306
  return !0;
1307
- }, ht = (e) => {
1308
- let t, s;
1307
+ }, ht = (s) => {
1308
+ let t, e;
1309
1309
  do {
1310
- if ((t = e._$AM) === void 0)
1310
+ if ((t = s._$AM) === void 0)
1311
1311
  break;
1312
- s = t._$AN, s.delete(e), e = t;
1313
- } while ((s == null ? void 0 : s.size) === 0);
1314
- }, ts = (e) => {
1315
- for (let t; t = e._$AM; e = t) {
1316
- let s = t._$AN;
1317
- if (s === void 0)
1318
- t._$AN = s = /* @__PURE__ */ new Set();
1319
- else if (s.has(e))
1312
+ e = t._$AN, e.delete(s), s = t;
1313
+ } while ((e == null ? void 0 : e.size) === 0);
1314
+ }, ts = (s) => {
1315
+ for (let t; t = s._$AM; s = t) {
1316
+ let e = t._$AN;
1317
+ if (e === void 0)
1318
+ t._$AN = e = /* @__PURE__ */ new Set();
1319
+ else if (e.has(s))
1320
1320
  break;
1321
- s.add(e), Li(t);
1321
+ e.add(s), Li(t);
1322
1322
  }
1323
1323
  };
1324
- function Oi(e) {
1325
- this._$AN !== void 0 ? (ht(this), this._$AM = e, ts(this)) : this._$AM = e;
1324
+ function Oi(s) {
1325
+ this._$AN !== void 0 ? (ht(this), this._$AM = s, ts(this)) : this._$AM = s;
1326
1326
  }
1327
- function Pi(e, t = !1, s = 0) {
1327
+ function Pi(s, t = !1, e = 0) {
1328
1328
  const i = this._$AH, n = this._$AN;
1329
1329
  if (n !== void 0 && n.size !== 0)
1330
1330
  if (t)
1331
1331
  if (Array.isArray(i))
1332
- for (let r = s; r < i.length; r++)
1333
- q(i[r], !1), ht(i[r]);
1332
+ for (let o = e; o < i.length; o++)
1333
+ q(i[o], !1), ht(i[o]);
1334
1334
  else
1335
1335
  i != null && (q(i, !1), ht(i));
1336
1336
  else
1337
- q(this, e);
1337
+ q(this, s);
1338
1338
  }
1339
- const Li = (e) => {
1340
- e.type == _t.CHILD && (e._$AP ?? (e._$AP = Pi), e._$AQ ?? (e._$AQ = Oi));
1339
+ const Li = (s) => {
1340
+ s.type == _t.CHILD && (s._$AP ?? (s._$AP = Pi), s._$AQ ?? (s._$AQ = Oi));
1341
1341
  };
1342
- let es = class extends qt {
1342
+ let es = class extends Zt {
1343
1343
  constructor() {
1344
1344
  super(...arguments), this._$AN = void 0;
1345
1345
  }
1346
- _$AT(t, s, i) {
1347
- super._$AT(t, s, i), ts(this), this.isConnected = t._$AU;
1346
+ _$AT(t, e, i) {
1347
+ super._$AT(t, e, i), ts(this), this.isConnected = t._$AU;
1348
1348
  }
1349
- _$AO(t, s = !0) {
1349
+ _$AO(t, e = !0) {
1350
1350
  var i, n;
1351
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), s && (q(this, t), ht(this));
1351
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (n = this.disconnected) == null || n.call(this)), e && (q(this, t), ht(this));
1352
1352
  }
1353
1353
  setValue(t) {
1354
- if (Ti(this._$Ct))
1354
+ if (ki(this._$Ct))
1355
1355
  this._$Ct._$AI(t, this);
1356
1356
  else {
1357
- const s = [...this._$Ct._$AH];
1358
- s[this._$Ci] = t, this._$Ct._$AI(s, this, 0);
1357
+ const e = [...this._$Ct._$AH];
1358
+ e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
1359
1359
  }
1360
1360
  }
1361
1361
  disconnected() {
@@ -1371,26 +1371,26 @@ let es = class extends qt {
1371
1371
  const pt = () => new Ri();
1372
1372
  class Ri {
1373
1373
  }
1374
- const Ot = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1375
- render(e) {
1374
+ const Pt = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1375
+ render(s) {
1376
1376
  return u;
1377
1377
  }
1378
- update(e, [t]) {
1378
+ update(s, [t]) {
1379
1379
  var i;
1380
- const s = t !== this.G;
1381
- return s && this.G !== void 0 && this.ot(void 0), (s || this.rt !== this.lt) && (this.G = t, this.ct = (i = e.options) == null ? void 0 : i.host, this.ot(this.lt = e.element)), u;
1380
+ const e = t !== this.G;
1381
+ return e && this.G !== void 0 && this.ot(void 0), (e || this.rt !== this.lt) && (this.G = t, this.ct = (i = s.options) == null ? void 0 : i.host, this.ot(this.lt = s.element)), u;
1382
1382
  }
1383
- ot(e) {
1383
+ ot(s) {
1384
1384
  if (typeof this.G == "function") {
1385
1385
  const t = this.ct ?? globalThis;
1386
- let s = Ot.get(t);
1387
- s === void 0 && (s = /* @__PURE__ */ new WeakMap(), Ot.set(t, s)), s.get(this.G) !== void 0 && this.G.call(this.ct, void 0), s.set(this.G, e), e !== void 0 && this.G.call(this.ct, e);
1386
+ let e = Pt.get(t);
1387
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), Pt.set(t, e)), e.get(this.G) !== void 0 && this.G.call(this.ct, void 0), e.set(this.G, s), s !== void 0 && this.G.call(this.ct, s);
1388
1388
  } else
1389
- this.G.value = e;
1389
+ this.G.value = s;
1390
1390
  }
1391
1391
  get rt() {
1392
- var e, t;
1393
- return typeof this.G == "function" ? (e = Ot.get(this.ct ?? globalThis)) == null ? void 0 : e.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1392
+ var s, t;
1393
+ return typeof this.G == "function" ? (s = Pt.get(this.ct ?? globalThis)) == null ? void 0 : s.get(this.G) : (t = this.G) == null ? void 0 : t.value;
1394
1394
  }
1395
1395
  disconnected() {
1396
1396
  this.rt === this.lt && this.ot(void 0);
@@ -1404,51 +1404,51 @@ const Ot = /* @__PURE__ */ new WeakMap(), ut = xt(class extends es {
1404
1404
  * Copyright 2018 Google LLC
1405
1405
  * SPDX-License-Identifier: BSD-3-Clause
1406
1406
  */
1407
- const Zt = xt(class extends qt {
1408
- constructor(e) {
1407
+ const Xt = xt(class extends Zt {
1408
+ constructor(s) {
1409
1409
  var t;
1410
- if (super(e), e.type !== _t.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2)
1410
+ if (super(s), s.type !== _t.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2)
1411
1411
  throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1412
1412
  }
1413
- render(e) {
1414
- return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
1413
+ render(s) {
1414
+ return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1415
1415
  }
1416
- update(e, [t]) {
1416
+ update(s, [t]) {
1417
1417
  var i, n;
1418
1418
  if (this.it === void 0) {
1419
- this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.st = new Set(e.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1420
- for (const r in t)
1421
- t[r] && !((i = this.st) != null && i.has(r)) && this.it.add(r);
1419
+ this.it = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.st = new Set(s.strings.join(" ").split(/\s/).filter((o) => o !== "")));
1420
+ for (const o in t)
1421
+ t[o] && !((i = this.st) != null && i.has(o)) && this.it.add(o);
1422
1422
  return this.render(t);
1423
1423
  }
1424
- const s = e.element.classList;
1425
- for (const r of this.it)
1426
- r in t || (s.remove(r), this.it.delete(r));
1427
- for (const r in t) {
1428
- const o = !!t[r];
1429
- o === this.it.has(r) || (n = this.st) != null && n.has(r) || (o ? (s.add(r), this.it.add(r)) : (s.remove(r), this.it.delete(r)));
1424
+ const e = s.element.classList;
1425
+ for (const o of this.it)
1426
+ o in t || (e.remove(o), this.it.delete(o));
1427
+ for (const o in t) {
1428
+ const r = !!t[o];
1429
+ r === this.it.has(o) || (n = this.st) != null && n.has(o) || (r ? (e.add(o), this.it.add(o)) : (e.remove(o), this.it.delete(o)));
1430
1430
  }
1431
1431
  return E;
1432
1432
  }
1433
1433
  });
1434
- var Hi = Object.defineProperty, Mi = Object.getOwnPropertyDescriptor, Ui = (e, t, s, i) => {
1435
- for (var n = i > 1 ? void 0 : i ? Mi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1436
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1437
- return i && n && Hi(t, s, n), n;
1434
+ var Mi = Object.defineProperty, Hi = Object.getOwnPropertyDescriptor, Ui = (s, t, e, i) => {
1435
+ for (var n = i > 1 ? void 0 : i ? Hi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
1436
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
1437
+ return i && n && Mi(t, e, n), n;
1438
1438
  };
1439
- class Xt extends m {
1439
+ class Yt extends m {
1440
1440
  constructor() {
1441
1441
  super(...arguments), this.anchor = "BottomRight";
1442
1442
  }
1443
1443
  appendChild(t) {
1444
- var s;
1445
- return (s = this.shadowRoot) == null || s.appendChild(t), t;
1444
+ var e;
1445
+ return (e = this.shadowRoot) == null || e.appendChild(t), t;
1446
1446
  }
1447
1447
  render() {
1448
1448
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1449
1449
  }
1450
1450
  }
1451
- Xt.styles = [
1451
+ Yt.styles = [
1452
1452
  b`
1453
1453
  :host {
1454
1454
  position: fixed;
@@ -1469,32 +1469,32 @@ Xt.styles = [
1469
1469
  ];
1470
1470
  Ui([
1471
1471
  $({ attribute: !0 })
1472
- ], Xt.prototype, "anchor", 2);
1472
+ ], Yt.prototype, "anchor", 2);
1473
1473
  const Ni = /* @__PURE__ */ new WeakMap();
1474
1474
  let we = 0;
1475
- const Pt = /* @__PURE__ */ new Map(), Ce = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((e) => requestAnimationFrame(e)), ji = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Di = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (e, t) => {
1476
- const s = e - t;
1477
- return s === 0 ? void 0 : s;
1478
- }, ke = (e, t) => {
1479
- const s = e / t;
1480
- return s === 1 ? void 0 : s;
1481
- }, Lt = { left: (e, t) => {
1482
- const s = Ee(e, t);
1483
- return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateX(${s}px)` };
1484
- }, top: (e, t) => {
1485
- const s = Ee(e, t);
1486
- return { value: s, transform: s == null || isNaN(s) ? void 0 : `translateY(${s}px)` };
1487
- }, width: (e, t) => {
1488
- let s;
1489
- t === 0 && (t = 1, s = { width: "1px" });
1490
- const i = ke(e, t);
1491
- return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1492
- }, height: (e, t) => {
1493
- let s;
1494
- t === 0 && (t = 1, s = { height: "1px" });
1495
- const i = ke(e, t);
1496
- return { value: i, overrideFrom: s, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1497
- } }, Ii = { duration: 333, easing: "ease-in-out" }, Bi = ["left", "top", "width", "height", "opacity", "color", "background"], Te = /* @__PURE__ */ new WeakMap();
1475
+ const Lt = /* @__PURE__ */ new Map(), Ce = /* @__PURE__ */ new WeakSet(), Ae = () => new Promise((s) => requestAnimationFrame(s)), ji = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ii = [{ opacity: 0 }], Se = [{ opacity: 0 }, { opacity: 1 }], Ee = (s, t) => {
1476
+ const e = s - t;
1477
+ return e === 0 ? void 0 : e;
1478
+ }, Te = (s, t) => {
1479
+ const e = s / t;
1480
+ return e === 1 ? void 0 : e;
1481
+ }, Rt = { left: (s, t) => {
1482
+ const e = Ee(s, t);
1483
+ return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1484
+ }, top: (s, t) => {
1485
+ const e = Ee(s, t);
1486
+ return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1487
+ }, width: (s, t) => {
1488
+ let e;
1489
+ t === 0 && (t = 1, e = { width: "1px" });
1490
+ const i = Te(s, t);
1491
+ return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1492
+ }, height: (s, t) => {
1493
+ let e;
1494
+ t === 0 && (t = 1, e = { height: "1px" });
1495
+ const i = Te(s, t);
1496
+ return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1497
+ } }, Di = { duration: 333, easing: "ease-in-out" }, Bi = ["left", "top", "width", "height", "opacity", "color", "background"], ke = /* @__PURE__ */ new WeakMap();
1498
1498
  class zi extends es {
1499
1499
  constructor(t) {
1500
1500
  if (super(t), this.t = null, this.i = null, this.o = !0, this.shouldLog = !1, t.type === _t.CHILD)
@@ -1503,8 +1503,8 @@ class zi extends es {
1503
1503
  }
1504
1504
  createFinished() {
1505
1505
  var t;
1506
- (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((s) => {
1507
- this.h = s;
1506
+ (t = this.resolveFinished) == null || t.call(this), this.finished = new Promise((e) => {
1507
+ this.h = e;
1508
1508
  });
1509
1509
  }
1510
1510
  async resolveFinished() {
@@ -1521,33 +1521,33 @@ class zi extends es {
1521
1521
  var t;
1522
1522
  return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1523
1523
  }
1524
- update(t, [s]) {
1524
+ update(t, [e]) {
1525
1525
  var n;
1526
1526
  const i = this.l === void 0;
1527
- return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, Te.set(this.element, this)), this.optionsOrCallback = s, (i || typeof s != "function") && this.u(s), this.render(s);
1527
+ return i && (this.l = (n = t.options) == null ? void 0 : n.host, this.l.addController(this), this.element = t.element, ke.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.u(e), this.render(e);
1528
1528
  }
1529
1529
  u(t) {
1530
1530
  t = t ?? {};
1531
- const s = this.getController();
1532
- s !== void 0 && ((t = { ...s.defaultOptions, ...t }).keyframeOptions = { ...s.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Bi), this.options = t;
1531
+ const e = this.getController();
1532
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = Bi), this.options = t;
1533
1533
  }
1534
1534
  p() {
1535
- const t = {}, s = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1535
+ const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1536
1536
  return this.options.properties.forEach((n) => {
1537
- const r = s[n] ?? (Lt[n] ? void 0 : i[n]), o = Number(r);
1538
- t[n] = isNaN(o) ? r + "" : o;
1537
+ const o = e[n] ?? (Rt[n] ? void 0 : i[n]), r = Number(o);
1538
+ t[n] = isNaN(r) ? o + "" : r;
1539
1539
  }), t;
1540
1540
  }
1541
1541
  m() {
1542
- let t, s = !0;
1543
- return this.options.guard && (t = this.options.guard(), s = ((i, n) => {
1542
+ let t, e = !0;
1543
+ return this.options.guard && (t = this.options.guard(), e = ((i, n) => {
1544
1544
  if (Array.isArray(i)) {
1545
- if (Array.isArray(n) && n.length === i.length && i.every((r, o) => r === n[o]))
1545
+ if (Array.isArray(n) && n.length === i.length && i.every((o, r) => o === n[r]))
1546
1546
  return !1;
1547
1547
  } else if (n === i)
1548
1548
  return !1;
1549
1549
  return !0;
1550
- })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && s && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
1550
+ })(t, this.v)), this.o = this.l.hasUpdated && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.o && (this.v = Array.isArray(t) ? Array.from(t) : t), this.o;
1551
1551
  }
1552
1552
  hostUpdate() {
1553
1553
  typeof this.optionsOrCallback == "function" && this.u(this.optionsOrCallback()), this.m() && (this.g = this.p(), this.t = this.t ?? this.element.parentNode, this.i = this.element.nextSibling);
@@ -1557,16 +1557,16 @@ class zi extends es {
1557
1557
  return;
1558
1558
  let t;
1559
1559
  this.prepare(), await Ae;
1560
- const s = this._(), i = this.A(this.options.keyframeOptions, s), n = this.p();
1560
+ const e = this._(), i = this.A(this.options.keyframeOptions, e), n = this.p();
1561
1561
  if (this.g !== void 0) {
1562
- const { from: r, to: o } = this.O(this.g, n, s);
1563
- this.log("measured", [this.g, n, r, o]), t = this.calculateKeyframes(r, o);
1562
+ const { from: o, to: r } = this.O(this.g, n, e);
1563
+ this.log("measured", [this.g, n, o, r]), t = this.calculateKeyframes(o, r);
1564
1564
  } else {
1565
- const r = Pt.get(this.options.inId);
1566
- if (r) {
1567
- Pt.delete(this.options.inId);
1568
- const { from: o, to: a } = this.O(r, n, s);
1569
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, we++, t.forEach((l) => l.zIndex = we);
1565
+ const o = Lt.get(this.options.inId);
1566
+ if (o) {
1567
+ Lt.delete(this.options.inId);
1568
+ const { from: r, to: a } = this.O(o, n, e);
1569
+ t = this.calculateKeyframes(r, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, we++, t.forEach((l) => l.zIndex = we);
1570
1570
  } else
1571
1571
  this.options.in && (t = [...this.options.in, {}]);
1572
1572
  }
@@ -1576,22 +1576,22 @@ class zi extends es {
1576
1576
  this.j !== void 0 && (this.element.setAttribute("style", this.j ?? ""), this.j = void 0);
1577
1577
  }
1578
1578
  commitStyles() {
1579
- var t, s;
1580
- this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (s = this.webAnimation) == null || s.cancel();
1579
+ var t, e;
1580
+ this.j = this.element.getAttribute("style"), (t = this.webAnimation) == null || t.commitStyles(), (e = this.webAnimation) == null || e.cancel();
1581
1581
  }
1582
1582
  reconnected() {
1583
1583
  }
1584
1584
  async disconnected() {
1585
- var s;
1586
- if (!this.o || (this.options.id !== void 0 && Pt.set(this.options.id, this.g), this.options.out === void 0))
1585
+ var e;
1586
+ if (!this.o || (this.options.id !== void 0 && Lt.set(this.options.id, this.g), this.options.out === void 0))
1587
1587
  return;
1588
- if (this.prepare(), await Ae(), (s = this.t) == null ? void 0 : s.isConnected) {
1588
+ if (this.prepare(), await Ae(), (e = this.t) == null ? void 0 : e.isConnected) {
1589
1589
  const i = this.i && this.i.parentNode === this.t ? this.i : null;
1590
1590
  if (this.t.insertBefore(this.element, i), this.options.stabilizeOut) {
1591
1591
  const n = this.p();
1592
1592
  this.log("stabilizing out");
1593
- const r = this.g.left - n.left, o = this.g.top - n.top;
1594
- getComputedStyle(this.element).position !== "static" || r === 0 && o === 0 || (this.element.style.position = "relative"), r !== 0 && (this.element.style.left = r + "px"), o !== 0 && (this.element.style.top = o + "px");
1593
+ const o = this.g.left - n.left, r = this.g.top - n.top;
1594
+ getComputedStyle(this.element).position !== "static" || o === 0 && r === 0 || (this.element.style.position = "relative"), o !== 0 && (this.element.style.left = o + "px"), r !== 0 && (this.element.style.top = r + "px");
1595
1595
  }
1596
1596
  }
1597
1597
  const t = this.A(this.options.keyframeOptions);
@@ -1601,17 +1601,17 @@ class zi extends es {
1601
1601
  this.createFinished();
1602
1602
  }
1603
1603
  start() {
1604
- var t, s;
1605
- (s = (t = this.options).onStart) == null || s.call(t, this);
1604
+ var t, e;
1605
+ (e = (t = this.options).onStart) == null || e.call(t, this);
1606
1606
  }
1607
1607
  didFinish(t) {
1608
- var s, i;
1609
- t && ((i = (s = this.options).onComplete) == null || i.call(s, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1608
+ var e, i;
1609
+ t && ((i = (e = this.options).onComplete) == null || i.call(e, this)), this.g = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1610
1610
  }
1611
1611
  _() {
1612
1612
  const t = [];
1613
- for (let s = this.element.parentNode; s; s = s == null ? void 0 : s.parentNode) {
1614
- const i = Te.get(s);
1613
+ for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1614
+ const i = ke.get(e);
1615
1615
  i && !i.isDisabled() && i && t.push(i);
1616
1616
  }
1617
1617
  return t;
@@ -1622,40 +1622,40 @@ class zi extends es {
1622
1622
  Ce.add(this.l);
1623
1623
  }), t;
1624
1624
  }
1625
- A(t, s = this._()) {
1626
- const i = { ...Ii };
1627
- return s.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1625
+ A(t, e = this._()) {
1626
+ const i = { ...Di };
1627
+ return e.forEach((n) => Object.assign(i, n.options.keyframeOptions)), Object.assign(i, t), i;
1628
1628
  }
1629
- O(t, s, i) {
1630
- t = { ...t }, s = { ...s };
1629
+ O(t, e, i) {
1630
+ t = { ...t }, e = { ...e };
1631
1631
  const n = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1632
- let r = 1, o = 1;
1632
+ let o = 1, r = 1;
1633
1633
  return n !== void 0 && (n.forEach((a) => {
1634
- a.width && (r /= a.width), a.height && (o /= a.height);
1635
- }), t.left !== void 0 && s.left !== void 0 && (t.left = r * t.left, s.left = r * s.left), t.top !== void 0 && s.top !== void 0 && (t.top = o * t.top, s.top = o * s.top)), { from: t, to: s };
1634
+ a.width && (o /= a.width), a.height && (r /= a.height);
1635
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = o * t.left, e.left = o * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = r * t.top, e.top = r * e.top)), { from: t, to: e };
1636
1636
  }
1637
- calculateKeyframes(t, s, i = !1) {
1638
- const n = {}, r = {};
1639
- let o = !1;
1637
+ calculateKeyframes(t, e, i = !1) {
1638
+ const n = {}, o = {};
1639
+ let r = !1;
1640
1640
  const a = {};
1641
- for (const l in s) {
1642
- const c = t[l], d = s[l];
1643
- if (l in Lt) {
1644
- const h = Lt[l];
1641
+ for (const l in e) {
1642
+ const c = t[l], d = e[l];
1643
+ if (l in Rt) {
1644
+ const h = Rt[l];
1645
1645
  if (c === void 0 || d === void 0)
1646
1646
  continue;
1647
1647
  const p = h(c, d);
1648
- p.transform !== void 0 && (a[l] = p.value, o = !0, n.transform = `${n.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(n, p.overrideFrom));
1648
+ p.transform !== void 0 && (a[l] = p.value, r = !0, n.transform = `${n.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(n, p.overrideFrom));
1649
1649
  } else
1650
- c !== d && c !== void 0 && d !== void 0 && (o = !0, n[l] = c, r[l] = d);
1650
+ c !== d && c !== void 0 && d !== void 0 && (r = !0, n[l] = c, o[l] = d);
1651
1651
  }
1652
- return n.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [n, r] : void 0;
1652
+ return n.transformOrigin = o.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, r ? [n, o] : void 0;
1653
1653
  }
1654
- async animate(t, s = this.options.keyframeOptions) {
1654
+ async animate(t, e = this.options.keyframeOptions) {
1655
1655
  this.start(), this.frames = t;
1656
1656
  let i = !1;
1657
1657
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1658
- this.log("animate", [t, s]), i = !0, this.webAnimation = this.element.animate(t, s);
1658
+ this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1659
1659
  const n = this.getController();
1660
1660
  n == null || n.add(this);
1661
1661
  try {
@@ -1667,37 +1667,37 @@ class zi extends es {
1667
1667
  return this.didFinish(i), i;
1668
1668
  }
1669
1669
  isAnimating() {
1670
- var t, s;
1671
- return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((s = this.webAnimation) == null ? void 0 : s.pending);
1670
+ var t, e;
1671
+ return ((t = this.webAnimation) == null ? void 0 : t.playState) === "running" || ((e = this.webAnimation) == null ? void 0 : e.pending);
1672
1672
  }
1673
- log(t, s) {
1674
- this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, s);
1673
+ log(t, e) {
1674
+ this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1675
1675
  }
1676
1676
  }
1677
- const Ut = xt(zi), it = (e, t, s) => {
1678
- e && s.style.setProperty(t, e);
1679
- }, ss = (e, t) => {
1680
- var s, i, n, r;
1681
- it((s = e.colors) == null ? void 0 : s.primaryBackground, "--primary-background", t), it(
1682
- (i = e.colors) == null ? void 0 : i.textOnPrimaryBackground,
1677
+ const Nt = xt(zi), it = (s, t, e) => {
1678
+ s && e.style.setProperty(t, s);
1679
+ }, ss = (s, t) => {
1680
+ var e, i, n, o;
1681
+ it((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), it(
1682
+ (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1683
1683
  "--text-on-primary-background",
1684
1684
  t
1685
1685
  ), it(
1686
- (n = e.colors) == null ? void 0 : n.secondaryBackground,
1686
+ (n = s.colors) == null ? void 0 : n.secondaryBackground,
1687
1687
  "--secondary-background",
1688
1688
  t
1689
1689
  ), it(
1690
- (r = e.colors) == null ? void 0 : r.textOnSecondaryBackground,
1690
+ (o = s.colors) == null ? void 0 : o.textOnSecondaryBackground,
1691
1691
  "--text-on-secondary-background",
1692
1692
  t
1693
1693
  );
1694
1694
  };
1695
- var Fi = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, wt = (e, t, s, i) => {
1696
- for (var n = i > 1 ? void 0 : i ? Wi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1697
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1698
- return i && n && Fi(t, s, n), n;
1695
+ var Fi = Object.defineProperty, Wi = Object.getOwnPropertyDescriptor, wt = (s, t, e, i) => {
1696
+ for (var n = i > 1 ? void 0 : i ? Wi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
1697
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
1698
+ return i && n && Fi(t, e, n), n;
1699
1699
  };
1700
- class R extends m {
1700
+ class M extends m {
1701
1701
  constructor() {
1702
1702
  super(...arguments), this.active = !1, this.loaded = !1, this.containerRef = pt();
1703
1703
  }
@@ -1720,18 +1720,18 @@ class R extends m {
1720
1720
  }
1721
1721
  async _renderSymbol() {
1722
1722
  var a, l, c;
1723
- const t = (a = this.application) == null ? void 0 : a.branding(), s = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
1724
- if (s)
1725
- return f` <img src=${s} class="trigger-icon" alt="" /> `;
1723
+ const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
1724
+ if (e)
1725
+ return f` <img src=${e} class="trigger-icon" alt="" /> `;
1726
1726
  const i = (c = this.application) == null ? void 0 : c.triggerIcon;
1727
1727
  if (!i)
1728
1728
  return u;
1729
- const n = async (d) => await import("./index-0b4bc287.mjs").then(
1729
+ const n = async (d) => await import("./index-127a80a4.mjs").then(
1730
1730
  (p) => p[d]
1731
- ), { type: r, content: o } = i;
1732
- switch (r) {
1731
+ ), { type: o, content: r } = i;
1732
+ switch (o) {
1733
1733
  case "Telia": {
1734
- const d = await n(o);
1734
+ const d = await n(r);
1735
1735
  return d ? f`<telia-icon
1736
1736
  class="trigger-icon"
1737
1737
  svg=${d.svg}
@@ -1743,13 +1743,13 @@ class R extends m {
1743
1743
  }
1744
1744
  }
1745
1745
  render() {
1746
- var t, s, i, n;
1746
+ var t, e, i, n;
1747
1747
  return f`<div class="trigger-container" ${ut(this.containerRef)}>
1748
- ${!this.active && ((n = (i = (s = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : s.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? f`
1748
+ ${!this.active && ((n = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && n.showButtonLabel) ? f`
1749
1749
  <button
1750
1750
  class="trigger-label"
1751
1751
  @click=${this._toggleActive}
1752
- ${Ut({
1752
+ ${Nt({
1753
1753
  keyframeOptions: {},
1754
1754
  in: ji,
1755
1755
  stabilizeOut: !0,
@@ -1761,7 +1761,7 @@ class R extends m {
1761
1761
  ` : u}
1762
1762
 
1763
1763
  <button
1764
- class=${Zt({
1764
+ class=${Xt({
1765
1765
  trigger: !0,
1766
1766
  active: this.active,
1767
1767
  rendered: this.loaded
@@ -1800,7 +1800,7 @@ class R extends m {
1800
1800
  </div>`;
1801
1801
  }
1802
1802
  }
1803
- R.styles = [
1803
+ M.styles = [
1804
1804
  b`
1805
1805
  :host {
1806
1806
  --voca-rem-multiplier: 0.625;
@@ -1909,23 +1909,23 @@ R.styles = [
1909
1909
  ];
1910
1910
  wt([
1911
1911
  $({ attribute: !1 })
1912
- ], R.prototype, "application", 2);
1912
+ ], M.prototype, "application", 2);
1913
1913
  wt([
1914
1914
  C()
1915
- ], R.prototype, "active", 2);
1915
+ ], M.prototype, "active", 2);
1916
1916
  wt([
1917
1917
  C()
1918
- ], R.prototype, "loaded", 2);
1918
+ ], M.prototype, "loaded", 2);
1919
1919
  wt([
1920
1920
  C()
1921
- ], R.prototype, "icon", 2);
1922
- var Gi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, T = (e, t, s, i) => {
1923
- for (var n = i > 1 ? void 0 : i ? qi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
1924
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
1925
- return i && n && Gi(t, s, n), n;
1921
+ ], M.prototype, "icon", 2);
1922
+ var Gi = Object.defineProperty, qi = Object.getOwnPropertyDescriptor, k = (s, t, e, i) => {
1923
+ for (var n = i > 1 ? void 0 : i ? qi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
1924
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
1925
+ return i && n && Gi(t, e, n), n;
1926
1926
  };
1927
- const is = (e) => {
1928
- class t extends e {
1927
+ const is = (s) => {
1928
+ class t extends s {
1929
1929
  constructor() {
1930
1930
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
1931
1931
  }
@@ -1963,19 +1963,19 @@ const is = (e) => {
1963
1963
  box-sizing: border-box;
1964
1964
  }
1965
1965
  `
1966
- ], T([
1966
+ ], k([
1967
1967
  $()
1968
- ], t.prototype, "properties", 2), T([
1968
+ ], t.prototype, "properties", 2), k([
1969
1969
  $()
1970
- ], t.prototype, "context", 2), T([
1970
+ ], t.prototype, "context", 2), k([
1971
1971
  $()
1972
- ], t.prototype, "layout", 2), T([
1972
+ ], t.prototype, "layout", 2), k([
1973
1973
  $()
1974
- ], t.prototype, "name", 2), T([
1974
+ ], t.prototype, "name", 2), k([
1975
1975
  $()
1976
- ], t.prototype, "type", 2), T([
1976
+ ], t.prototype, "type", 2), k([
1977
1977
  $({ attribute: !1 })
1978
- ], t.prototype, "application", 2), T([
1978
+ ], t.prototype, "application", 2), k([
1979
1979
  $({ attribute: !1 })
1980
1980
  ], t.prototype, "parent", 2), t;
1981
1981
  };
@@ -1996,19 +1996,19 @@ ns.styles = [
1996
1996
  * Copyright 2021 Google LLC
1997
1997
  * SPDX-License-Identifier: BSD-3-Clause
1998
1998
  */
1999
- function* Zi(e, t) {
2000
- if (e !== void 0) {
2001
- let s = 0;
2002
- for (const i of e)
2003
- yield t(i, s++);
1999
+ function* Zi(s, t) {
2000
+ if (s !== void 0) {
2001
+ let e = 0;
2002
+ for (const i of s)
2003
+ yield t(i, e++);
2004
2004
  }
2005
2005
  }
2006
- var Yt = /* @__PURE__ */ ((e) => (e.Inline = "inline", e.Trigger = "trigger", e))(Yt || {}), Xi = Object.defineProperty, Yi = Object.getOwnPropertyDescriptor, Ki = (e, t, s, i) => {
2007
- for (var n = i > 1 ? void 0 : i ? Yi(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2008
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2009
- return i && n && Xi(t, s, n), n;
2006
+ var Kt = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(Kt || {}), Xi = Object.defineProperty, Yi = Object.getOwnPropertyDescriptor, Ki = (s, t, e, i) => {
2007
+ for (var n = i > 1 ? void 0 : i ? Yi(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2008
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2009
+ return i && n && Xi(t, e, n), n;
2010
2010
  };
2011
- class Kt extends m {
2011
+ class Qt extends m {
2012
2012
  constructor() {
2013
2013
  super(...arguments), this.nodes = [], this.wrapperRef = pt();
2014
2014
  }
@@ -2024,21 +2024,21 @@ class Kt extends m {
2024
2024
  applyStyles() {
2025
2025
  if (!this.wrapperRef.value)
2026
2026
  return;
2027
- const t = this.application.styles(), s = this.wrapperRef.value;
2027
+ const t = this.application.styles(), e = this.wrapperRef.value;
2028
2028
  Object.entries(t).forEach(([i, n]) => {
2029
- s.style.setProperty(`--${i}`, n);
2029
+ e.style.setProperty(`--${i}`, n);
2030
2030
  });
2031
2031
  }
2032
2032
  firstUpdated(t) {
2033
2033
  this.applyBranding(), this.applyStyles();
2034
2034
  }
2035
2035
  render() {
2036
- return this.application.renderStrategy === Yt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), f`<div class="widget-container" ${ut(this.wrapperRef)}>
2036
+ return this.application.renderStrategy === Kt.Trigger && (this.renderRoot.host.classList.add("floating"), this.application.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.application.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right")), f`<div class="widget-container" ${ut(this.wrapperRef)}>
2037
2037
  ${Zi(this.nodes, (t) => t)}
2038
2038
  </div>`;
2039
2039
  }
2040
2040
  }
2041
- Kt.styles = b`
2041
+ Qt.styles = b`
2042
2042
  :host {
2043
2043
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2044
2044
  --spacing-xs: 0.2rem;
@@ -2138,11 +2138,11 @@ Kt.styles = b`
2138
2138
  `;
2139
2139
  Ki([
2140
2140
  $({ attribute: !1 })
2141
- ], Kt.prototype, "application", 2);
2142
- var Qi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, Qt = (e, t, s, i) => {
2143
- for (var n = i > 1 ? void 0 : i ? Ji(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2144
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2145
- return i && n && Qi(t, s, n), n;
2141
+ ], Qt.prototype, "application", 2);
2142
+ var Qi = Object.defineProperty, Ji = Object.getOwnPropertyDescriptor, Jt = (s, t, e, i) => {
2143
+ for (var n = i > 1 ? void 0 : i ? Ji(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2144
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2145
+ return i && n && Qi(t, e, n), n;
2146
2146
  };
2147
2147
  class tt extends m {
2148
2148
  constructor() {
@@ -2163,14 +2163,14 @@ class tt extends m {
2163
2163
  async getGlobalEnvironment() {
2164
2164
  const t = globalThis.widgets;
2165
2165
  t && (this.widget = t.applications.find(
2166
- (s) => s.name === this.name
2166
+ (e) => e.name === this.name
2167
2167
  ), await this.activate());
2168
2168
  }
2169
2169
  render() {
2170
2170
  if (!this.widget || this.status !== "activated")
2171
2171
  return u;
2172
- if (this.widget.renderStrategy === Yt.Trigger) {
2173
- const t = new R();
2172
+ if (this.widget.renderStrategy === Kt.Trigger) {
2173
+ const t = new M();
2174
2174
  return t.application = this.widget, t;
2175
2175
  }
2176
2176
  return this.widget.render();
@@ -2183,47 +2183,47 @@ tt.styles = [
2183
2183
  }
2184
2184
  `
2185
2185
  ];
2186
- Qt([
2186
+ Jt([
2187
2187
  $({ attribute: !0 })
2188
2188
  ], tt.prototype, "name", 2);
2189
- Qt([
2189
+ Jt([
2190
2190
  C()
2191
2191
  ], tt.prototype, "widget", 2);
2192
- Qt([
2192
+ Jt([
2193
2193
  C()
2194
2194
  ], tt.prototype, "status", 2);
2195
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Xt);
2196
- customElements.get("ace-trigger") || customElements.define("ace-trigger", R);
2195
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", Yt);
2196
+ customElements.get("ace-trigger") || customElements.define("ace-trigger", M);
2197
2197
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", ns);
2198
- customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Kt);
2198
+ customElements.get("ace-wrapper") || customElements.define("ace-wrapper", Qt);
2199
2199
  customElements.get("ace-widget") || customElements.define("ace-widget", tt);
2200
- var Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, Ct = (e, t, s, i) => {
2201
- for (var n = i > 1 ? void 0 : i ? tn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2202
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2203
- return i && n && Vi(t, s, n), n;
2200
+ var Vi = Object.defineProperty, tn = Object.getOwnPropertyDescriptor, Ct = (s, t, e, i) => {
2201
+ for (var n = i > 1 ? void 0 : i ? tn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2202
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2203
+ return i && n && Vi(t, e, n), n;
2204
2204
  };
2205
- let B = class extends m {
2205
+ let z = class extends m {
2206
2206
  constructor() {
2207
2207
  super(...arguments), this.loading = !0, this.entries = [];
2208
2208
  }
2209
2209
  connectedCallback() {
2210
- super.connectedCallback(), this.session.entries().subscribe((e) => {
2211
- this.entries = e;
2212
- }), this.session.isTyping().subscribe((e) => {
2213
- this.loading = e;
2210
+ super.connectedCallback(), this.session.entries().subscribe((s) => {
2211
+ this.entries = s;
2212
+ }), this.session.isTyping().subscribe((s) => {
2213
+ this.loading = s;
2214
2214
  });
2215
2215
  }
2216
- updated(e) {
2216
+ updated(s) {
2217
2217
  const t = new CustomEvent("updated", {});
2218
2218
  this.dispatchEvent(t);
2219
2219
  }
2220
2220
  render() {
2221
2221
  return f`<div class="conversation-session">
2222
2222
  ${this.entries.map(
2223
- (e) => f`<div class="conversation-entry" tabindex="-1">
2223
+ (s) => f`<div class="conversation-entry" tabindex="-1">
2224
2224
  <conversation-entry
2225
- .entry=${e}
2226
- ${Ut({
2225
+ .entry=${s}
2226
+ ${Nt({
2227
2227
  keyframeOptions: {},
2228
2228
  in: Se,
2229
2229
  stabilizeOut: !0,
@@ -2234,10 +2234,10 @@ let B = class extends m {
2234
2234
  </div>`
2235
2235
  )}
2236
2236
  ${this.loading ? f`<ace-typing-state
2237
- ${Ut({
2237
+ ${Nt({
2238
2238
  keyframeOptions: {},
2239
2239
  in: Se,
2240
- out: Di,
2240
+ out: Ii,
2241
2241
  stabilizeOut: !0,
2242
2242
  skipInitial: !1
2243
2243
  })}
@@ -2245,7 +2245,7 @@ let B = class extends m {
2245
2245
  </div> `;
2246
2246
  }
2247
2247
  };
2248
- B.styles = [
2248
+ z.styles = [
2249
2249
  b`
2250
2250
  :host {
2251
2251
  display: block;
@@ -2255,53 +2255,76 @@ B.styles = [
2255
2255
  flex-direction: column;
2256
2256
  justify-content: end;
2257
2257
  min-height: 100%;
2258
+ padding: var(--spacing-md);
2258
2259
  }
2259
2260
  `
2260
2261
  ];
2261
2262
  Ct([
2262
2263
  $({ type: Boolean })
2263
- ], B.prototype, "loading", 2);
2264
+ ], z.prototype, "loading", 2);
2264
2265
  Ct([
2265
2266
  $({ attribute: !1 })
2266
- ], B.prototype, "session", 2);
2267
+ ], z.prototype, "session", 2);
2267
2268
  Ct([
2268
2269
  C()
2269
- ], B.prototype, "entries", 2);
2270
- B = Ct([
2270
+ ], z.prototype, "entries", 2);
2271
+ z = Ct([
2271
2272
  V("ace-conversation-session")
2272
- ], B);
2273
- var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, rs = (e, t, s, i) => {
2274
- for (var n = i > 1 ? void 0 : i ? sn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2275
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2276
- return i && n && en(t, s, n), n;
2273
+ ], z);
2274
+ var en = Object.defineProperty, sn = Object.getOwnPropertyDescriptor, os = (s, t, e, i) => {
2275
+ for (var n = i > 1 ? void 0 : i ? sn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2276
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2277
+ return i && n && en(t, e, n), n;
2277
2278
  };
2278
2279
  let ft = class extends m {
2279
2280
  connectedCallback() {
2280
- var e;
2281
- super.connectedCallback(), (e = this.entry.didUpdate) == null || e.subscribe(() => {
2281
+ var s;
2282
+ super.connectedCallback(), (s = this.entry.didUpdate) == null || s.subscribe(() => {
2282
2283
  this.requestUpdate();
2283
2284
  });
2284
2285
  }
2285
- _renderTimestamp(e, t) {
2286
- if (!e && !t)
2287
- return u;
2288
- const s = (n) => new Date(n).toLocaleTimeString([], {
2289
- hour: "2-digit",
2290
- minute: "2-digit"
2286
+ _getTimestamp(s) {
2287
+ return new Date(s).toLocaleTimeString([], {
2288
+ hour: "numeric",
2289
+ minute: "2-digit",
2290
+ hourCycle: "h23"
2291
2291
  });
2292
- let i = "";
2293
- return e ? t ? i = `${e}: ${s(t)}` : i = e : t && (i = s(t)), f`<p class="conversation-timestamp">${i}</p>`;
2292
+ }
2293
+ _renderTimestamp(s, t) {
2294
+ if (!s && !t)
2295
+ return u;
2296
+ let e = "";
2297
+ return s ? t ? e = `${s}: ${this._getTimestamp(t)}` : e = s : t && (e = this._getTimestamp(t)), f`<p class="conversation-timestamp">${e}</p>`;
2298
+ }
2299
+ _dispatchEntryAction(s) {
2300
+ this.entry.actions$.next(s.detail);
2294
2301
  }
2295
2302
  render() {
2296
- var e, t;
2303
+ var s, t;
2297
2304
  switch (this.entry.type) {
2298
- case At.System:
2299
- return "";
2300
- case At.Agent:
2305
+ case St.System:
2306
+ return f`
2307
+ <div class="conversation-system-message">
2308
+ ${this.entry.messages.map(
2309
+ (e) => f`
2310
+ <div class="message-container">
2311
+ <div class="message-content">
2312
+ <conversation-group
2313
+ .group=${e}
2314
+ @action=${this._dispatchEntryAction}
2315
+ ></conversation-group>
2316
+ </div>
2317
+ </div>
2318
+ `
2319
+ )}
2320
+ <span>${this._getTimestamp(this.entry.timestamp)}</span>
2321
+ </div>
2322
+ `;
2323
+ case St.Agent:
2301
2324
  return f`<div
2302
- class=${Zt({
2325
+ class=${Xt({
2303
2326
  "conversation-agent-message": !0,
2304
- "has-avatar": !!((e = this.entry.sender) != null && e.avatar)
2327
+ "has-avatar": !!((s = this.entry.sender) != null && s.avatar)
2305
2328
  })}
2306
2329
  >
2307
2330
  ${typeof ((t = this.entry.sender) == null ? void 0 : t.avatar) == "string" ? f`<div class="avatar">
@@ -2310,10 +2333,10 @@ let ft = class extends m {
2310
2333
 
2311
2334
  <div class="entry-content">
2312
2335
  ${this.entry.messages.map(
2313
- (s) => f`
2336
+ (e) => f`
2314
2337
  <div class="message-container">
2315
2338
  <div class="message-content">
2316
- <conversation-group .group=${s}></conversation-group>
2339
+ <conversation-group .group=${e}></conversation-group>
2317
2340
  </div>
2318
2341
  </div>
2319
2342
  `
@@ -2324,14 +2347,14 @@ let ft = class extends m {
2324
2347
  this.entry.timestamp
2325
2348
  )}
2326
2349
  </div>`;
2327
- case At.User:
2350
+ case St.User:
2328
2351
  return f`<div class="conversation-user-message">
2329
2352
  <div class="entry-content">
2330
2353
  ${this.entry.messages.map(
2331
- (s) => f`
2354
+ (e) => f`
2332
2355
  <div class="message-container">
2333
2356
  <div class="message-content">
2334
- <conversation-group .group=${s}></conversation-group>
2357
+ <conversation-group .group=${e}></conversation-group>
2335
2358
  </div>
2336
2359
  </div>
2337
2360
  `
@@ -2367,6 +2390,22 @@ ft.styles = [
2367
2390
  color: var(--bubble-text-color);
2368
2391
  }
2369
2392
 
2393
+ .conversation-system-message {
2394
+ display: flex;
2395
+ flex-direction: column;
2396
+ justify-content: center;
2397
+ align-items: center;
2398
+ }
2399
+
2400
+ .conversation-system-message .message-content {
2401
+ padding: 0;
2402
+ }
2403
+
2404
+ .conversation-system-message span {
2405
+ color: var(--message-info-color, var(--text-color));
2406
+ font-size: 0.8rem;
2407
+ }
2408
+
2370
2409
  .conversation-user-message {
2371
2410
  --bubble-bg-color: var(--user-bg-color);
2372
2411
  --bubble-text-color: var(--user-text-color);
@@ -2432,26 +2471,45 @@ ft.styles = [
2432
2471
  }
2433
2472
  `
2434
2473
  ];
2435
- rs([
2474
+ os([
2436
2475
  $({ attribute: !1 })
2437
2476
  ], ft.prototype, "entry", 2);
2438
- ft = rs([
2477
+ ft = os([
2439
2478
  V("conversation-entry")
2440
2479
  ], ft);
2441
- var nn = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, os = (e, t, s, i) => {
2442
- for (var n = i > 1 ? void 0 : i ? rn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2443
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2444
- return i && n && nn(t, s, n), n;
2480
+ /**
2481
+ * @license
2482
+ * Copyright 2021 Google LLC
2483
+ * SPDX-License-Identifier: BSD-3-Clause
2484
+ */
2485
+ const nn = (s, t, e) => {
2486
+ for (const i of t)
2487
+ if (i[0] === s)
2488
+ return (0, i[1])();
2489
+ return e == null ? void 0 : e();
2490
+ };
2491
+ var on = Object.defineProperty, rn = Object.getOwnPropertyDescriptor, rs = (s, t, e, i) => {
2492
+ for (var n = i > 1 ? void 0 : i ? rn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2493
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2494
+ return i && n && on(t, e, n), n;
2445
2495
  };
2446
2496
  let gt = class extends m {
2447
2497
  render() {
2448
2498
  return f`
2449
2499
  <div class="message-group">
2450
2500
  ${this.group.items.map(
2451
- ([e, t]) => f`
2452
- ${e === "html" ? f`
2453
- <message-type-html .message=${t}></message-type-html>
2454
- ` : u}
2501
+ ([s, t]) => f`
2502
+ ${nn(
2503
+ s,
2504
+ [["html", () => f`<message-type-html .message=${t} />`]],
2505
+ () => {
2506
+ const e = customElements.get(s);
2507
+ if (!e)
2508
+ return u;
2509
+ const i = new e();
2510
+ return f`${i}`;
2511
+ }
2512
+ )}
2455
2513
  `
2456
2514
  )}
2457
2515
  </div>
@@ -2474,18 +2532,18 @@ gt.styles = [
2474
2532
  }
2475
2533
  `
2476
2534
  ];
2477
- os([
2535
+ rs([
2478
2536
  $({ attribute: !1 })
2479
2537
  ], gt.prototype, "group", 2);
2480
- gt = os([
2538
+ gt = rs([
2481
2539
  V("conversation-group")
2482
2540
  ], gt);
2483
- var on = Object.defineProperty, an = Object.getOwnPropertyDescriptor, ln = (e, t, s, i) => {
2484
- for (var n = i > 1 ? void 0 : i ? an(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2485
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2486
- return i && n && on(t, s, n), n;
2541
+ var an = Object.defineProperty, ln = Object.getOwnPropertyDescriptor, cn = (s, t, e, i) => {
2542
+ for (var n = i > 1 ? void 0 : i ? ln(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2543
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2544
+ return i && n && an(t, e, n), n;
2487
2545
  };
2488
- let Nt = class extends m {
2546
+ let jt = class extends m {
2489
2547
  render() {
2490
2548
  return f`<div class="container">
2491
2549
  <div class="dot"></div>
@@ -2494,7 +2552,7 @@ let Nt = class extends m {
2494
2552
  </div>`;
2495
2553
  }
2496
2554
  };
2497
- Nt.styles = [
2555
+ jt.styles = [
2498
2556
  b`
2499
2557
  :host {
2500
2558
  display: block;
@@ -2531,15 +2589,15 @@ Nt.styles = [
2531
2589
  }
2532
2590
  `
2533
2591
  ];
2534
- Nt = ln([
2592
+ jt = cn([
2535
2593
  V("ace-typing-state")
2536
- ], Nt);
2594
+ ], jt);
2537
2595
  /**
2538
2596
  * @license
2539
2597
  * Copyright 2017 Google LLC
2540
2598
  * SPDX-License-Identifier: BSD-3-Clause
2541
2599
  */
2542
- class jt extends qt {
2600
+ class It extends Zt {
2543
2601
  constructor(t) {
2544
2602
  if (super(t), this.et = u, t.type !== _t.CHILD)
2545
2603
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
@@ -2554,21 +2612,21 @@ class jt extends qt {
2554
2612
  if (t === this.et)
2555
2613
  return this.vt;
2556
2614
  this.et = t;
2557
- const s = [t];
2558
- return s.raw = s, this.vt = { _$litType$: this.constructor.resultType, strings: s, values: [] };
2615
+ const e = [t];
2616
+ return e.raw = e, this.vt = { _$litType$: this.constructor.resultType, strings: e, values: [] };
2559
2617
  }
2560
2618
  }
2561
- jt.directiveName = "unsafeHTML", jt.resultType = 1;
2562
- const cn = xt(jt);
2563
- var dn = Object.defineProperty, hn = Object.getOwnPropertyDescriptor, as = (e, t, s, i) => {
2564
- for (var n = i > 1 ? void 0 : i ? hn(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2565
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2566
- return i && n && dn(t, s, n), n;
2619
+ It.directiveName = "unsafeHTML", It.resultType = 1;
2620
+ const dn = xt(It);
2621
+ var hn = Object.defineProperty, pn = Object.getOwnPropertyDescriptor, as = (s, t, e, i) => {
2622
+ for (var n = i > 1 ? void 0 : i ? pn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2623
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2624
+ return i && n && hn(t, e, n), n;
2567
2625
  };
2568
2626
  let $t = class extends m {
2569
2627
  render() {
2570
2628
  return f`<div class="message-type-html">
2571
- ${cn(this.message.content)}
2629
+ ${dn(this.message.content)}
2572
2630
  </div>`;
2573
2631
  }
2574
2632
  };
@@ -2593,17 +2651,33 @@ as([
2593
2651
  $t = as([
2594
2652
  V("message-type-html")
2595
2653
  ], $t);
2596
- var pn = Object.defineProperty, un = Object.getOwnPropertyDescriptor, Jt = (e, t, s, i) => {
2597
- for (var n = i > 1 ? void 0 : i ? un(t, s) : t, r = e.length - 1, o; r >= 0; r--)
2598
- (o = e[r]) && (n = (i ? o(t, s, n) : o(n)) || n);
2599
- return i && n && pn(t, s, n), n;
2654
+ class un {
2655
+ constructor(t) {
2656
+ this._message = null, this._host = t, t.addController(this);
2657
+ }
2658
+ hostConnected() {
2659
+ }
2660
+ set message(t) {
2661
+ this._message = t, this._host.requestUpdate();
2662
+ }
2663
+ get message() {
2664
+ return this._message;
2665
+ }
2666
+ hasMessage() {
2667
+ return !!this.message;
2668
+ }
2669
+ }
2670
+ var fn = Object.defineProperty, gn = Object.getOwnPropertyDescriptor, At = (s, t, e, i) => {
2671
+ for (var n = i > 1 ? void 0 : i ? gn(t, e) : t, o = s.length - 1, r; o >= 0; o--)
2672
+ (r = s[o]) && (n = (i ? r(t, e, n) : r(n)) || n);
2673
+ return i && n && fn(t, e, n), n;
2600
2674
  };
2601
- const fn = (e) => {
2602
- e.scrollTo ? e.scrollTo({ top: e.scrollHeight, behavior: "smooth" }) : e.scrollTop = e.scrollHeight;
2675
+ const $n = (s) => {
2676
+ s.scrollTo ? s.scrollTo({ top: s.scrollHeight, behavior: "smooth" }) : s.scrollTop = s.scrollHeight;
2603
2677
  }, ls = is(m);
2604
- class z extends ls {
2678
+ class R extends ls {
2605
2679
  constructor() {
2606
- super(...arguments), this.message = "", this.platform = null, this.session = null, this.conversationContentRef = pt(), this.formRef = pt(), this.chatScrollHeight = 0;
2680
+ super(...arguments), this.toast = new un(this), this.message = "", this.platform = null, this.session = null, this.disabled = !1, this.conversationContentRef = pt(), this.formRef = pt(), this.chatScrollHeight = 0;
2607
2681
  }
2608
2682
  async connectedCallback() {
2609
2683
  super.connectedCallback();
@@ -2621,10 +2695,10 @@ class z extends ls {
2621
2695
  }, 500);
2622
2696
  return;
2623
2697
  }
2624
- const s = new CustomEvent("user-submit", {
2698
+ const e = new CustomEvent("user-submit", {
2625
2699
  detail: { text: this.message }
2626
2700
  });
2627
- this.dispatchEvent(s), this.message = "";
2701
+ this.dispatchEvent(e), this.message = "";
2628
2702
  }
2629
2703
  _addHeaderOptions() {
2630
2704
  const t = this.application.getComponent("widget-header");
@@ -2646,19 +2720,31 @@ class z extends ls {
2646
2720
  onSessionUpdated() {
2647
2721
  const t = this.conversationContentRef.value;
2648
2722
  t && setTimeout(() => {
2649
- const s = t.scrollHeight;
2650
- s > this.chatScrollHeight && (fn(t), this.chatScrollHeight = s);
2723
+ const e = t.scrollHeight;
2724
+ e > this.chatScrollHeight && ($n(t), this.chatScrollHeight = e);
2651
2725
  }, 1e3);
2652
2726
  }
2727
+ disableInput() {
2728
+ this.disabled = !0;
2729
+ }
2730
+ enableInput() {
2731
+ this.disabled = !1;
2732
+ }
2733
+ setToastMessage(t) {
2734
+ this.toast.message = t;
2735
+ }
2653
2736
  render() {
2654
2737
  return f` <div
2655
2738
  @action=${this._actionHandler}
2656
- class=${Zt({
2739
+ class=${Xt({
2657
2740
  conversation: !0,
2658
- "input-has-text": this.message.length > 0
2741
+ disabled: this.disabled,
2742
+ "conversation--has-toast": this.toast.hasMessage(),
2743
+ "conversation--input-has-text": this.message.length > 0
2659
2744
  })}
2660
2745
  >
2661
2746
  <div class="conversation-content" ${ut(this.conversationContentRef)}>
2747
+ ${this.toast.hasMessage() ? f`<div class="conversation__toast">${this.toast.message}</div>` : u}
2662
2748
  ${this.session ? f`<ace-conversation-session
2663
2749
  @updated=${this.onSessionUpdated}
2664
2750
  .session=${this.session}
@@ -2672,18 +2758,23 @@ class z extends ls {
2672
2758
  <input
2673
2759
  placeholder=${this.properties.inputPlaceholder || "Type your message here..."}
2674
2760
  .value=${this.message}
2761
+ ?disabled=${this.disabled}
2675
2762
  @input=${this._inputHandler}
2676
2763
  />
2677
2764
  <div class="conversation-actions">
2678
- <button class="conversation-send-button" type="submit">
2679
- <telia-icon svg=${ks.svg}></telia-icon>
2765
+ <button
2766
+ class="conversation-send-button"
2767
+ type="submit"
2768
+ ?disabled=${this.disabled}
2769
+ >
2770
+ <telia-icon svg=${Ts.svg}></telia-icon>
2680
2771
  </button>
2681
2772
  </div>
2682
2773
  </form>
2683
2774
  </div>`;
2684
2775
  }
2685
2776
  }
2686
- z.styles = [
2777
+ R.styles = [
2687
2778
  ls.styles || [],
2688
2779
  b`
2689
2780
  :host {
@@ -2714,6 +2805,9 @@ z.styles = [
2714
2805
  --input-text-color: var(--conversation-input-text-color, inherit);
2715
2806
  --conversation-input-bg: var(--conversation-input-bg-color, #fff);
2716
2807
 
2808
+ --toast-bg: #eb5185;
2809
+ --toast-text-color: white;
2810
+
2717
2811
  --message-info-color: var(
2718
2812
  --conversation-message-info-color,
2719
2813
  var(--text-color)
@@ -2762,18 +2856,25 @@ z.styles = [
2762
2856
  height: 100%;
2763
2857
  background-color: transparent;
2764
2858
  }
2765
- .conversation.input-has-text {
2859
+ .conversation.conversation--input-has-text {
2766
2860
  /* --send-icon-color: var(--primary-color); */
2767
2861
  --send-icon-opacity: 1;
2768
2862
  }
2863
+ .conversation.conversation--has-toast .conversation-content {
2864
+ border-top-right-radius: 0;
2865
+ border-top-left-radius: 0;
2866
+ }
2867
+ .conversation.disabled .conversation-bottom {
2868
+ --conversation-input-bg: rgba(255, 255, 255, 0.4);
2869
+ }
2769
2870
  .conversation-content {
2770
2871
  flex: 1;
2771
2872
  background-color: var(--conversation-bg);
2772
- padding: var(--spacing-md);
2773
2873
  overflow-y: auto;
2774
2874
  overflow-x: hidden;
2775
2875
  border-radius: var(--border-radius-sm);
2776
2876
  border: var(--content-border);
2877
+ position: relative;
2777
2878
  }
2778
2879
  .conversation-bottom {
2779
2880
  border: var(--input-border);
@@ -2785,6 +2886,7 @@ z.styles = [
2785
2886
  align-items: center;
2786
2887
  padding: 0 var(--spacing-md);
2787
2888
  margin: 0;
2889
+ transition: background-color 500ms ease-in-out;
2788
2890
  }
2789
2891
  .conversation-bottom.shake {
2790
2892
  animation: 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) 0s 1 normal both
@@ -2797,13 +2899,25 @@ z.styles = [
2797
2899
  .conversation-send-button {
2798
2900
  border: none;
2799
2901
  background: transparent;
2800
- cursor: pointer;
2801
2902
  color: var(--send-icon-color);
2802
2903
  opacity: var(--send-icon-opacity);
2803
2904
  transition: opacity 200ms ease-in-out;
2804
2905
  }
2805
- .conversation-send-button:hover {
2906
+ .conversation-send-button:not(:disabled):hover {
2806
2907
  --send-icon-opacity: 1;
2908
+ cursor: pointer;
2909
+ }
2910
+ .conversation__toast {
2911
+ background-color: var(--toast-bg);
2912
+ color: var(--toast-text-color);
2913
+ padding: var(--spacing-md);
2914
+ position: sticky;
2915
+ top: 0;
2916
+ left: 0;
2917
+ right: 0;
2918
+ font-size: 0.8rem;
2919
+ text-align: center;
2920
+ font-weight: 500;
2807
2921
  }
2808
2922
  input {
2809
2923
  border: none;
@@ -2817,23 +2931,26 @@ z.styles = [
2817
2931
  }
2818
2932
  `
2819
2933
  ];
2820
- Jt([
2934
+ At([
2821
2935
  C()
2822
- ], z.prototype, "message", 2);
2823
- Jt([
2936
+ ], R.prototype, "message", 2);
2937
+ At([
2824
2938
  C()
2825
- ], z.prototype, "platform", 2);
2826
- Jt([
2939
+ ], R.prototype, "platform", 2);
2940
+ At([
2827
2941
  C()
2828
- ], z.prototype, "session", 2);
2829
- const xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2942
+ ], R.prototype, "session", 2);
2943
+ At([
2944
+ C()
2945
+ ], R.prototype, "disabled", 2);
2946
+ const Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2830
2947
  __proto__: null,
2831
- Conversation: z,
2832
- default: z
2948
+ Conversation: R,
2949
+ default: R
2833
2950
  }, Symbol.toStringTag, { value: "Module" }));
2834
2951
  export {
2835
- xn as c,
2952
+ Cn as c,
2836
2953
  ce as m,
2837
- ks as s,
2954
+ Ts as s,
2838
2955
  de as v
2839
2956
  };