@telia-ace/widget-components-copyright-flamingo 1.1.110-rc.1 → 1.1.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,93 +1,93 @@
1
- var dt = function(s, t) {
2
- return dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
1
+ var lt = function(n, t) {
2
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
3
  e.__proto__ = i;
4
4
  } || function(e, i) {
5
- for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
6
- }, dt(s, t);
5
+ for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
6
+ }, lt(n, t);
7
7
  };
8
- function D(s, t) {
8
+ function D(n, t) {
9
9
  if (typeof t != "function" && t !== null)
10
10
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
11
- dt(s, t);
11
+ lt(n, t);
12
12
  function e() {
13
- this.constructor = s;
13
+ this.constructor = n;
14
14
  }
15
- s.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
15
+ n.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
16
16
  }
17
- function pt(s) {
18
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && s[t], i = 0;
19
- if (e) return e.call(s);
20
- if (s && typeof s.length == "number") return {
17
+ function dt(n) {
18
+ var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], i = 0;
19
+ if (e) return e.call(n);
20
+ if (n && typeof n.length == "number") return {
21
21
  next: function() {
22
- return s && i >= s.length && (s = void 0), { value: s && s[i++], done: !s };
22
+ return n && i >= n.length && (n = void 0), { value: n && n[i++], done: !n };
23
23
  }
24
24
  };
25
25
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
26
26
  }
27
- function ut(s, t) {
28
- var e = typeof Symbol == "function" && s[Symbol.iterator];
29
- if (!e) return s;
30
- var i = e.call(s), r, n = [], o;
27
+ function ut(n, t) {
28
+ var e = typeof Symbol == "function" && n[Symbol.iterator];
29
+ if (!e) return n;
30
+ var i = e.call(n), s, r = [], o;
31
31
  try {
32
- for (; (t === void 0 || t-- > 0) && !(r = i.next()).done; ) n.push(r.value);
32
+ for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) r.push(s.value);
33
33
  } catch (a) {
34
34
  o = { error: a };
35
35
  } finally {
36
36
  try {
37
- r && !r.done && (e = i.return) && e.call(i);
37
+ s && !s.done && (e = i.return) && e.call(i);
38
38
  } finally {
39
39
  if (o) throw o.error;
40
40
  }
41
41
  }
42
- return n;
42
+ return r;
43
43
  }
44
- function ft(s, t, e) {
45
- if (e || arguments.length === 2) for (var i = 0, r = t.length, n; i < r; i++)
46
- (n || !(i in t)) && (n || (n = Array.prototype.slice.call(t, 0, i)), n[i] = t[i]);
47
- return s.concat(n || Array.prototype.slice.call(t));
44
+ function pt(n, t, e) {
45
+ if (e || arguments.length === 2) for (var i = 0, s = t.length, r; i < s; i++)
46
+ (r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
47
+ return n.concat(r || Array.prototype.slice.call(t));
48
48
  }
49
- function b(s) {
50
- return typeof s == "function";
49
+ function v(n) {
50
+ return typeof n == "function";
51
51
  }
52
- function oe(s) {
52
+ function re(n) {
53
53
  var t = function(i) {
54
54
  Error.call(i), i.stack = new Error().stack;
55
- }, e = s(t);
55
+ }, e = n(t);
56
56
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
57
57
  }
58
- var it = oe(function(s) {
58
+ var it = re(function(n) {
59
59
  return function(e) {
60
- s(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
- ` + e.map(function(i, r) {
62
- return r + 1 + ") " + i.toString();
60
+ n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
61
+ ` + e.map(function(i, s) {
62
+ return s + 1 + ") " + i.toString();
63
63
  }).join(`
64
64
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
65
65
  };
66
66
  });
67
- function gt(s, t) {
68
- if (s) {
69
- var e = s.indexOf(t);
70
- 0 <= e && s.splice(e, 1);
67
+ function ft(n, t) {
68
+ if (n) {
69
+ var e = n.indexOf(t);
70
+ 0 <= e && n.splice(e, 1);
71
71
  }
72
72
  }
73
73
  var tt = function() {
74
- function s(t) {
74
+ function n(t) {
75
75
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
76
76
  }
77
- return s.prototype.unsubscribe = function() {
78
- var t, e, i, r, n;
77
+ return n.prototype.unsubscribe = function() {
78
+ var t, e, i, s, r;
79
79
  if (!this.closed) {
80
80
  this.closed = !0;
81
81
  var o = this._parentage;
82
82
  if (o)
83
83
  if (this._parentage = null, Array.isArray(o))
84
84
  try {
85
- for (var a = pt(o), c = a.next(); !c.done; c = a.next()) {
85
+ for (var a = dt(o), c = a.next(); !c.done; c = a.next()) {
86
86
  var h = c.value;
87
87
  h.remove(this);
88
88
  }
89
- } catch (v) {
90
- t = { error: v };
89
+ } catch (m) {
90
+ t = { error: m };
91
91
  } finally {
92
92
  try {
93
93
  c && !c.done && (e = a.return) && e.call(a);
@@ -98,108 +98,104 @@ var tt = function() {
98
98
  else
99
99
  o.remove(this);
100
100
  var l = this.initialTeardown;
101
- if (b(l))
101
+ if (v(l))
102
102
  try {
103
103
  l();
104
- } catch (v) {
105
- n = v instanceof it ? v.errors : [v];
104
+ } catch (m) {
105
+ r = m instanceof it ? m.errors : [m];
106
106
  }
107
107
  var d = this._finalizers;
108
108
  if (d) {
109
109
  this._finalizers = null;
110
110
  try {
111
- for (var u = pt(d), f = u.next(); !f.done; f = u.next()) {
112
- var O = f.value;
111
+ for (var p = dt(d), f = p.next(); !f.done; f = p.next()) {
112
+ var k = f.value;
113
113
  try {
114
- Ht(O);
115
- } catch (v) {
116
- n = n ?? [], v instanceof it ? n = ft(ft([], ut(n)), ut(v.errors)) : n.push(v);
114
+ Mt(k);
115
+ } catch (m) {
116
+ r = r ?? [], m instanceof it ? r = pt(pt([], ut(r)), ut(m.errors)) : r.push(m);
117
117
  }
118
118
  }
119
- } catch (v) {
120
- i = { error: v };
119
+ } catch (m) {
120
+ i = { error: m };
121
121
  } finally {
122
122
  try {
123
- f && !f.done && (r = u.return) && r.call(u);
123
+ f && !f.done && (s = p.return) && s.call(p);
124
124
  } finally {
125
125
  if (i) throw i.error;
126
126
  }
127
127
  }
128
128
  }
129
- if (n)
130
- throw new it(n);
129
+ if (r)
130
+ throw new it(r);
131
131
  }
132
- }, s.prototype.add = function(t) {
132
+ }, n.prototype.add = function(t) {
133
133
  var e;
134
134
  if (t && t !== this)
135
135
  if (this.closed)
136
- Ht(t);
136
+ Mt(t);
137
137
  else {
138
- if (t instanceof s) {
138
+ if (t instanceof n) {
139
139
  if (t.closed || t._hasParent(this))
140
140
  return;
141
141
  t._addParent(this);
142
142
  }
143
143
  (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
144
144
  }
145
- }, s.prototype._hasParent = function(t) {
145
+ }, n.prototype._hasParent = function(t) {
146
146
  var e = this._parentage;
147
147
  return e === t || Array.isArray(e) && e.includes(t);
148
- }, s.prototype._addParent = function(t) {
148
+ }, n.prototype._addParent = function(t) {
149
149
  var e = this._parentage;
150
150
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
151
- }, s.prototype._removeParent = function(t) {
151
+ }, n.prototype._removeParent = function(t) {
152
152
  var e = this._parentage;
153
- e === t ? this._parentage = null : Array.isArray(e) && gt(e, t);
154
- }, s.prototype.remove = function(t) {
153
+ e === t ? this._parentage = null : Array.isArray(e) && ft(e, t);
154
+ }, n.prototype.remove = function(t) {
155
155
  var e = this._finalizers;
156
- e && gt(e, t), t instanceof s && t._removeParent(this);
157
- }, s.EMPTY = function() {
158
- var t = new s();
156
+ e && ft(e, t), t instanceof n && t._removeParent(this);
157
+ }, n.EMPTY = function() {
158
+ var t = new n();
159
159
  return t.closed = !0, t;
160
- }(), s;
161
- }(), ae = tt.EMPTY;
162
- function ce(s) {
163
- return s instanceof tt || s && "closed" in s && b(s.remove) && b(s.add) && b(s.unsubscribe);
160
+ }(), n;
161
+ }(), oe = tt.EMPTY;
162
+ function ae(n) {
163
+ return n instanceof tt || n && "closed" in n && v(n.remove) && v(n.add) && v(n.unsubscribe);
164
164
  }
165
- function Ht(s) {
166
- b(s) ? s() : s.unsubscribe();
165
+ function Mt(n) {
166
+ v(n) ? n() : n.unsubscribe();
167
167
  }
168
- var he = {
169
- onUnhandledError: null,
170
- onStoppedNotification: null,
171
- Promise: void 0,
172
- useDeprecatedSynchronousErrorHandling: !1,
173
- useDeprecatedNextContext: !1
174
- }, Ee = {
175
- setTimeout: function(s, t) {
168
+ var xe = {
169
+ Promise: void 0
170
+ }, Ce = {
171
+ setTimeout: function(n, t) {
176
172
  for (var e = [], i = 2; i < arguments.length; i++)
177
173
  e[i - 2] = arguments[i];
178
- return setTimeout.apply(void 0, ft([s, t], ut(e)));
174
+ return setTimeout.apply(void 0, pt([n, t], ut(e)));
179
175
  },
180
- clearTimeout: function(s) {
181
- return clearTimeout(s);
176
+ clearTimeout: function(n) {
177
+ return clearTimeout(n);
182
178
  },
183
179
  delegate: void 0
184
180
  };
185
- function Se(s) {
186
- Ee.setTimeout(function() {
187
- throw s;
181
+ function Ee(n) {
182
+ Ce.setTimeout(function() {
183
+ throw n;
188
184
  });
189
185
  }
190
- function Lt() {
186
+ function Ht() {
191
187
  }
192
- function W(s) {
193
- s();
188
+ function W(n) {
189
+ n();
194
190
  }
195
- var le = function(s) {
196
- D(t, s);
191
+ var ce = function(n) {
192
+ D(t, n);
197
193
  function t(e) {
198
- var i = s.call(this) || this;
199
- return i.isStopped = !1, e ? (i.destination = e, ce(e) && e.add(i)) : i.destination = Te, i;
194
+ var i = n.call(this) || this;
195
+ return i.isStopped = !1, e ? (i.destination = e, ae(e) && e.add(i)) : i.destination = Oe, i;
200
196
  }
201
- return t.create = function(e, i, r) {
202
- return new vt(e, i, r);
197
+ return t.create = function(e, i, s) {
198
+ return new gt(e, i, s);
203
199
  }, t.prototype.next = function(e) {
204
200
  this.isStopped || this._next(e);
205
201
  }, t.prototype.error = function(e) {
@@ -207,7 +203,7 @@ var le = function(s) {
207
203
  }, t.prototype.complete = function() {
208
204
  this.isStopped || (this.isStopped = !0, this._complete());
209
205
  }, t.prototype.unsubscribe = function() {
210
- this.closed || (this.isStopped = !0, s.prototype.unsubscribe.call(this), this.destination = null);
206
+ this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
211
207
  }, t.prototype._next = function(e) {
212
208
  this.destination.next(e);
213
209
  }, t.prototype._error = function(e) {
@@ -223,15 +219,11 @@ var le = function(s) {
223
219
  this.unsubscribe();
224
220
  }
225
221
  }, t;
226
- }(tt), Pe = Function.prototype.bind;
227
- function st(s, t) {
228
- return Pe.call(s, t);
229
- }
230
- var ke = function() {
231
- function s(t) {
222
+ }(tt), Se = function() {
223
+ function n(t) {
232
224
  this.partialObserver = t;
233
225
  }
234
- return s.prototype.next = function(t) {
226
+ return n.prototype.next = function(t) {
235
227
  var e = this.partialObserver;
236
228
  if (e.next)
237
229
  try {
@@ -239,7 +231,7 @@ var ke = function() {
239
231
  } catch (i) {
240
232
  Z(i);
241
233
  }
242
- }, s.prototype.error = function(t) {
234
+ }, n.prototype.error = function(t) {
243
235
  var e = this.partialObserver;
244
236
  if (e.error)
245
237
  try {
@@ -249,7 +241,7 @@ var ke = function() {
249
241
  }
250
242
  else
251
243
  Z(t);
252
- }, s.prototype.complete = function() {
244
+ }, n.prototype.complete = function() {
253
245
  var t = this.partialObserver;
254
246
  if (t.complete)
255
247
  try {
@@ -257,159 +249,147 @@ var ke = function() {
257
249
  } catch (e) {
258
250
  Z(e);
259
251
  }
260
- }, s;
261
- }(), vt = function(s) {
262
- D(t, s);
263
- function t(e, i, r) {
264
- var n = s.call(this) || this, o;
265
- if (b(e) || !e)
266
- o = {
267
- next: e ?? void 0,
268
- error: i ?? void 0,
269
- complete: r ?? void 0
270
- };
271
- else {
272
- var a;
273
- n && he.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
274
- return n.unsubscribe();
275
- }, o = {
276
- next: e.next && st(e.next, a),
277
- error: e.error && st(e.error, a),
278
- complete: e.complete && st(e.complete, a)
279
- }) : o = e;
280
- }
281
- return n.destination = new ke(o), n;
252
+ }, n;
253
+ }(), gt = function(n) {
254
+ D(t, n);
255
+ function t(e, i, s) {
256
+ var r = n.call(this) || this, o;
257
+ return v(e) || !e ? o = {
258
+ next: e ?? void 0,
259
+ error: i ?? void 0,
260
+ complete: s ?? void 0
261
+ } : o = e, r.destination = new Se(o), r;
282
262
  }
283
263
  return t;
284
- }(le);
285
- function Z(s) {
286
- Se(s);
264
+ }(ce);
265
+ function Z(n) {
266
+ Ee(n);
287
267
  }
288
- function Oe(s) {
289
- throw s;
268
+ function Pe(n) {
269
+ throw n;
290
270
  }
291
- var Te = {
271
+ var Oe = {
292
272
  closed: !0,
293
- next: Lt,
294
- error: Oe,
295
- complete: Lt
296
- }, Me = function() {
273
+ next: Ht,
274
+ error: Pe,
275
+ complete: Ht
276
+ }, ke = function() {
297
277
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
298
278
  }();
299
- function He(s) {
300
- return s;
279
+ function Te(n) {
280
+ return n;
301
281
  }
302
- function Le(s) {
303
- return s.length === 0 ? He : s.length === 1 ? s[0] : function(e) {
304
- return s.reduce(function(i, r) {
305
- return r(i);
282
+ function Me(n) {
283
+ return n.length === 0 ? Te : n.length === 1 ? n[0] : function(e) {
284
+ return n.reduce(function(i, s) {
285
+ return s(i);
306
286
  }, e);
307
287
  };
308
288
  }
309
- var Ut = function() {
310
- function s(t) {
289
+ var Lt = function() {
290
+ function n(t) {
311
291
  t && (this._subscribe = t);
312
292
  }
313
- return s.prototype.lift = function(t) {
314
- var e = new s();
293
+ return n.prototype.lift = function(t) {
294
+ var e = new n();
315
295
  return e.source = this, e.operator = t, e;
316
- }, s.prototype.subscribe = function(t, e, i) {
317
- var r = this, n = Re(t) ? t : new vt(t, e, i);
296
+ }, n.prototype.subscribe = function(t, e, i) {
297
+ var s = this, r = Le(t) ? t : new gt(t, e, i);
318
298
  return W(function() {
319
- var o = r, a = o.operator, c = o.source;
320
- n.add(a ? a.call(n, c) : c ? r._subscribe(n) : r._trySubscribe(n));
321
- }), n;
322
- }, s.prototype._trySubscribe = function(t) {
299
+ var o = s, a = o.operator, c = o.source;
300
+ r.add(a ? a.call(r, c) : c ? s._subscribe(r) : s._trySubscribe(r));
301
+ }), r;
302
+ }, n.prototype._trySubscribe = function(t) {
323
303
  try {
324
304
  return this._subscribe(t);
325
305
  } catch (e) {
326
306
  t.error(e);
327
307
  }
328
- }, s.prototype.forEach = function(t, e) {
308
+ }, n.prototype.forEach = function(t, e) {
329
309
  var i = this;
330
- return e = Rt(e), new e(function(r, n) {
331
- var o = new vt({
310
+ return e = Ut(e), new e(function(s, r) {
311
+ var o = new gt({
332
312
  next: function(a) {
333
313
  try {
334
314
  t(a);
335
315
  } catch (c) {
336
- n(c), o.unsubscribe();
316
+ r(c), o.unsubscribe();
337
317
  }
338
318
  },
339
- error: n,
340
- complete: r
319
+ error: r,
320
+ complete: s
341
321
  });
342
322
  i.subscribe(o);
343
323
  });
344
- }, s.prototype._subscribe = function(t) {
324
+ }, n.prototype._subscribe = function(t) {
345
325
  var e;
346
326
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
347
- }, s.prototype[Me] = function() {
327
+ }, n.prototype[ke] = function() {
348
328
  return this;
349
- }, s.prototype.pipe = function() {
329
+ }, n.prototype.pipe = function() {
350
330
  for (var t = [], e = 0; e < arguments.length; e++)
351
331
  t[e] = arguments[e];
352
- return Le(t)(this);
353
- }, s.prototype.toPromise = function(t) {
332
+ return Me(t)(this);
333
+ }, n.prototype.toPromise = function(t) {
354
334
  var e = this;
355
- return t = Rt(t), new t(function(i, r) {
356
- var n;
335
+ return t = Ut(t), new t(function(i, s) {
336
+ var r;
357
337
  e.subscribe(function(o) {
358
- return n = o;
338
+ return r = o;
359
339
  }, function(o) {
360
- return r(o);
340
+ return s(o);
361
341
  }, function() {
362
- return i(n);
342
+ return i(r);
363
343
  });
364
344
  });
365
- }, s.create = function(t) {
366
- return new s(t);
367
- }, s;
345
+ }, n.create = function(t) {
346
+ return new n(t);
347
+ }, n;
368
348
  }();
369
- function Rt(s) {
349
+ function Ut(n) {
370
350
  var t;
371
- return (t = s ?? he.Promise) !== null && t !== void 0 ? t : Promise;
351
+ return (t = n ?? xe.Promise) !== null && t !== void 0 ? t : Promise;
372
352
  }
373
- function Ue(s) {
374
- return s && b(s.next) && b(s.error) && b(s.complete);
353
+ function He(n) {
354
+ return n && v(n.next) && v(n.error) && v(n.complete);
375
355
  }
376
- function Re(s) {
377
- return s && s instanceof le || Ue(s) && ce(s);
356
+ function Le(n) {
357
+ return n && n instanceof ce || He(n) && ae(n);
378
358
  }
379
- var je = oe(function(s) {
359
+ var Ue = re(function(n) {
380
360
  return function() {
381
- s(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
361
+ n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
382
362
  };
383
- }), bt = function(s) {
384
- D(t, s);
363
+ }), bt = function(n) {
364
+ D(t, n);
385
365
  function t() {
386
- var e = s.call(this) || this;
366
+ var e = n.call(this) || this;
387
367
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
388
368
  }
389
369
  return t.prototype.lift = function(e) {
390
- var i = new jt(this, this);
370
+ var i = new Rt(this, this);
391
371
  return i.operator = e, i;
392
372
  }, t.prototype._throwIfClosed = function() {
393
373
  if (this.closed)
394
- throw new je();
374
+ throw new Ue();
395
375
  }, t.prototype.next = function(e) {
396
376
  var i = this;
397
377
  W(function() {
398
- var r, n;
378
+ var s, r;
399
379
  if (i._throwIfClosed(), !i.isStopped) {
400
380
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
401
381
  try {
402
- for (var o = pt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
382
+ for (var o = dt(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
403
383
  var c = a.value;
404
384
  c.next(e);
405
385
  }
406
386
  } catch (h) {
407
- r = { error: h };
387
+ s = { error: h };
408
388
  } finally {
409
389
  try {
410
- a && !a.done && (n = o.return) && n.call(o);
390
+ a && !a.done && (r = o.return) && r.call(o);
411
391
  } finally {
412
- if (r) throw r.error;
392
+ if (s) throw s.error;
413
393
  }
414
394
  }
415
395
  }
@@ -419,8 +399,8 @@ var je = oe(function(s) {
419
399
  W(function() {
420
400
  if (i._throwIfClosed(), !i.isStopped) {
421
401
  i.hasError = i.isStopped = !0, i.thrownError = e;
422
- for (var r = i.observers; r.length; )
423
- r.shift().error(e);
402
+ for (var s = i.observers; s.length; )
403
+ s.shift().error(e);
424
404
  }
425
405
  });
426
406
  }, t.prototype.complete = function() {
@@ -442,46 +422,46 @@ var je = oe(function(s) {
442
422
  enumerable: !1,
443
423
  configurable: !0
444
424
  }), t.prototype._trySubscribe = function(e) {
445
- return this._throwIfClosed(), s.prototype._trySubscribe.call(this, e);
425
+ return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
446
426
  }, t.prototype._subscribe = function(e) {
447
427
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
448
428
  }, t.prototype._innerSubscribe = function(e) {
449
- var i = this, r = this, n = r.hasError, o = r.isStopped, a = r.observers;
450
- return n || o ? ae : (this.currentObservers = null, a.push(e), new tt(function() {
451
- i.currentObservers = null, gt(a, e);
429
+ var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
430
+ return r || o ? oe : (this.currentObservers = null, a.push(e), new tt(function() {
431
+ i.currentObservers = null, ft(a, e);
452
432
  }));
453
433
  }, t.prototype._checkFinalizedStatuses = function(e) {
454
- var i = this, r = i.hasError, n = i.thrownError, o = i.isStopped;
455
- r ? e.error(n) : o && e.complete();
434
+ var i = this, s = i.hasError, r = i.thrownError, o = i.isStopped;
435
+ s ? e.error(r) : o && e.complete();
456
436
  }, t.prototype.asObservable = function() {
457
- var e = new Ut();
437
+ var e = new Lt();
458
438
  return e.source = this, e;
459
439
  }, t.create = function(e, i) {
460
- return new jt(e, i);
440
+ return new Rt(e, i);
461
441
  }, t;
462
- }(Ut), jt = function(s) {
463
- D(t, s);
442
+ }(Lt), Rt = function(n) {
443
+ D(t, n);
464
444
  function t(e, i) {
465
- var r = s.call(this) || this;
466
- return r.destination = e, r.source = i, r;
445
+ var s = n.call(this) || this;
446
+ return s.destination = e, s.source = i, s;
467
447
  }
468
448
  return t.prototype.next = function(e) {
469
- var i, r;
470
- (r = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || r === void 0 || r.call(i, e);
449
+ var i, s;
450
+ (s = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || s === void 0 || s.call(i, e);
471
451
  }, t.prototype.error = function(e) {
472
- var i, r;
473
- (r = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || r === void 0 || r.call(i, e);
452
+ var i, s;
453
+ (s = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || s === void 0 || s.call(i, e);
474
454
  }, t.prototype.complete = function() {
475
455
  var e, i;
476
456
  (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
477
457
  }, t.prototype._subscribe = function(e) {
478
- var i, r;
479
- return (r = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && r !== void 0 ? r : ae;
458
+ var i, s;
459
+ return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : oe;
480
460
  }, t;
481
- }(bt), Ne = function(s) {
482
- D(t, s);
461
+ }(bt), Re = function(n) {
462
+ D(t, n);
483
463
  function t(e) {
484
- var i = s.call(this) || this;
464
+ var i = n.call(this) || this;
485
465
  return i._value = e, i;
486
466
  }
487
467
  return Object.defineProperty(t.prototype, "value", {
@@ -491,15 +471,15 @@ var je = oe(function(s) {
491
471
  enumerable: !1,
492
472
  configurable: !0
493
473
  }), t.prototype._subscribe = function(e) {
494
- var i = s.prototype._subscribe.call(this, e);
474
+ var i = n.prototype._subscribe.call(this, e);
495
475
  return !i.closed && e.next(this._value), i;
496
476
  }, t.prototype.getValue = function() {
497
- var e = this, i = e.hasError, r = e.thrownError, n = e._value;
477
+ var e = this, i = e.hasError, s = e.thrownError, r = e._value;
498
478
  if (i)
499
- throw r;
500
- return this._throwIfClosed(), n;
479
+ throw s;
480
+ return this._throwIfClosed(), r;
501
481
  }, t.prototype.next = function(e) {
502
- s.prototype.next.call(this, this._value = e);
482
+ n.prototype.next.call(this, this._value = e);
503
483
  }, t;
504
484
  }(bt);
505
485
  /**
@@ -507,16 +487,16 @@ var je = oe(function(s) {
507
487
  * Copyright 2019 Google LLC
508
488
  * SPDX-License-Identifier: BSD-3-Clause
509
489
  */
510
- const q = globalThis, $t = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
511
- let de = class {
490
+ const q = globalThis, vt = q.ShadowRoot && (q.ShadyCSS === void 0 || q.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $t = Symbol(), Nt = /* @__PURE__ */ new WeakMap();
491
+ let he = class {
512
492
  constructor(t, e, i) {
513
- if (this._$cssResult$ = !0, i !== _t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
493
+ if (this._$cssResult$ = !0, i !== $t) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
514
494
  this.cssText = t, this.t = e;
515
495
  }
516
496
  get styleSheet() {
517
497
  let t = this.o;
518
498
  const e = this.t;
519
- if ($t && t === void 0) {
499
+ if (vt && t === void 0) {
520
500
  const i = e !== void 0 && e.length === 1;
521
501
  i && (t = Nt.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Nt.set(e, t));
522
502
  }
@@ -526,58 +506,58 @@ let de = class {
526
506
  return this.cssText;
527
507
  }
528
508
  };
529
- const Ie = (s) => new de(typeof s == "string" ? s : s + "", void 0, _t), k = (s, ...t) => {
530
- const e = s.length === 1 ? s[0] : t.reduce((i, r, n) => i + ((o) => {
509
+ const Ne = (n) => new he(typeof n == "string" ? n : n + "", void 0, $t), O = (n, ...t) => {
510
+ const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
531
511
  if (o._$cssResult$ === !0) return o.cssText;
532
512
  if (typeof o == "number") return o;
533
513
  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.");
534
- })(r) + s[n + 1], s[0]);
535
- return new de(e, s, _t);
536
- }, Be = (s, t) => {
537
- if ($t) s.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
514
+ })(s) + n[r + 1], n[0]);
515
+ return new he(e, n, $t);
516
+ }, je = (n, t) => {
517
+ if (vt) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
538
518
  else for (const e of t) {
539
- const i = document.createElement("style"), r = q.litNonce;
540
- r !== void 0 && i.setAttribute("nonce", r), i.textContent = e.cssText, s.appendChild(i);
519
+ const i = document.createElement("style"), s = q.litNonce;
520
+ s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
541
521
  }
542
- }, It = $t ? (s) => s : (s) => s instanceof CSSStyleSheet ? ((t) => {
522
+ }, jt = vt ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
543
523
  let e = "";
544
524
  for (const i of t.cssRules) e += i.cssText;
545
- return Ie(e);
546
- })(s) : s;
525
+ return Ne(e);
526
+ })(n) : n;
547
527
  /**
548
528
  * @license
549
529
  * Copyright 2017 Google LLC
550
530
  * SPDX-License-Identifier: BSD-3-Clause
551
531
  */
552
- const { is: Ve, defineProperty: ze, getOwnPropertyDescriptor: De, getOwnPropertyNames: Fe, getOwnPropertySymbols: Ye, getPrototypeOf: Ze } = Object, w = globalThis, Bt = w.trustedTypes, We = Bt ? Bt.emptyScript : "", rt = w.reactiveElementPolyfillSupport, R = (s, t) => s, K = { toAttribute(s, t) {
532
+ const { is: Ie, defineProperty: Be, getOwnPropertyDescriptor: Ve, getOwnPropertyNames: ze, getOwnPropertySymbols: De, getPrototypeOf: Fe } = Object, w = globalThis, It = w.trustedTypes, Ye = It ? It.emptyScript : "", nt = w.reactiveElementPolyfillSupport, R = (n, t) => n, K = { toAttribute(n, t) {
553
533
  switch (t) {
554
534
  case Boolean:
555
- s = s ? We : null;
535
+ n = n ? Ye : null;
556
536
  break;
557
537
  case Object:
558
538
  case Array:
559
- s = s == null ? s : JSON.stringify(s);
539
+ n = n == null ? n : JSON.stringify(n);
560
540
  }
561
- return s;
562
- }, fromAttribute(s, t) {
563
- let e = s;
541
+ return n;
542
+ }, fromAttribute(n, t) {
543
+ let e = n;
564
544
  switch (t) {
565
545
  case Boolean:
566
- e = s !== null;
546
+ e = n !== null;
567
547
  break;
568
548
  case Number:
569
- e = s === null ? null : Number(s);
549
+ e = n === null ? null : Number(n);
570
550
  break;
571
551
  case Object:
572
552
  case Array:
573
553
  try {
574
- e = JSON.parse(s);
554
+ e = JSON.parse(n);
575
555
  } catch {
576
556
  e = null;
577
557
  }
578
558
  }
579
559
  return e;
580
- } }, wt = (s, t) => !Ve(s, t), Vt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt };
560
+ } }, _t = (n, t) => !Ie(n, t), Bt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t };
581
561
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), w.litPropertyMetadata ?? (w.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
582
562
  let T = class extends HTMLElement {
583
563
  static addInitializer(t) {
@@ -586,48 +566,48 @@ let T = class extends HTMLElement {
586
566
  static get observedAttributes() {
587
567
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
588
568
  }
589
- static createProperty(t, e = Vt) {
569
+ static createProperty(t, e = Bt) {
590
570
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
591
- const i = Symbol(), r = this.getPropertyDescriptor(t, i, e);
592
- r !== void 0 && ze(this.prototype, t, r);
571
+ const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
572
+ s !== void 0 && Be(this.prototype, t, s);
593
573
  }
594
574
  }
595
575
  static getPropertyDescriptor(t, e, i) {
596
- const { get: r, set: n } = De(this.prototype, t) ?? { get() {
576
+ const { get: s, set: r } = Ve(this.prototype, t) ?? { get() {
597
577
  return this[e];
598
578
  }, set(o) {
599
579
  this[e] = o;
600
580
  } };
601
581
  return { get() {
602
- return r == null ? void 0 : r.call(this);
582
+ return s == null ? void 0 : s.call(this);
603
583
  }, set(o) {
604
- const a = r == null ? void 0 : r.call(this);
605
- n.call(this, o), this.requestUpdate(t, a, i);
584
+ const a = s == null ? void 0 : s.call(this);
585
+ r.call(this, o), this.requestUpdate(t, a, i);
606
586
  }, configurable: !0, enumerable: !0 };
607
587
  }
608
588
  static getPropertyOptions(t) {
609
- return this.elementProperties.get(t) ?? Vt;
589
+ return this.elementProperties.get(t) ?? Bt;
610
590
  }
611
591
  static _$Ei() {
612
592
  if (this.hasOwnProperty(R("elementProperties"))) return;
613
- const t = Ze(this);
593
+ const t = Fe(this);
614
594
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
615
595
  }
616
596
  static finalize() {
617
597
  if (this.hasOwnProperty(R("finalized"))) return;
618
598
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(R("properties"))) {
619
- const e = this.properties, i = [...Fe(e), ...Ye(e)];
620
- for (const r of i) this.createProperty(r, e[r]);
599
+ const e = this.properties, i = [...ze(e), ...De(e)];
600
+ for (const s of i) this.createProperty(s, e[s]);
621
601
  }
622
602
  const t = this[Symbol.metadata];
623
603
  if (t !== null) {
624
604
  const e = litPropertyMetadata.get(t);
625
- if (e !== void 0) for (const [i, r] of e) this.elementProperties.set(i, r);
605
+ if (e !== void 0) for (const [i, s] of e) this.elementProperties.set(i, s);
626
606
  }
627
607
  this._$Eh = /* @__PURE__ */ new Map();
628
608
  for (const [e, i] of this.elementProperties) {
629
- const r = this._$Eu(e, i);
630
- r !== void 0 && this._$Eh.set(r, e);
609
+ const s = this._$Eu(e, i);
610
+ s !== void 0 && this._$Eh.set(s, e);
631
611
  }
632
612
  this.elementStyles = this.finalizeStyles(this.styles);
633
613
  }
@@ -635,8 +615,8 @@ let T = class extends HTMLElement {
635
615
  const e = [];
636
616
  if (Array.isArray(t)) {
637
617
  const i = new Set(t.flat(1 / 0).reverse());
638
- for (const r of i) e.unshift(It(r));
639
- } else t !== void 0 && e.push(It(t));
618
+ for (const s of i) e.unshift(jt(s));
619
+ } else t !== void 0 && e.push(jt(t));
640
620
  return e;
641
621
  }
642
622
  static _$Eu(t, e) {
@@ -665,7 +645,7 @@ let T = class extends HTMLElement {
665
645
  }
666
646
  createRenderRoot() {
667
647
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
668
- return Be(t, this.constructor.elementStyles), t;
648
+ return je(t, this.constructor.elementStyles), t;
669
649
  }
670
650
  connectedCallback() {
671
651
  var t;
@@ -687,24 +667,24 @@ let T = class extends HTMLElement {
687
667
  this._$AK(t, i);
688
668
  }
689
669
  _$EC(t, e) {
690
- var n;
691
- const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
692
- if (r !== void 0 && i.reflect === !0) {
693
- const o = (((n = i.converter) == null ? void 0 : n.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
694
- this._$Em = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$Em = null;
670
+ var r;
671
+ const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
672
+ if (s !== void 0 && i.reflect === !0) {
673
+ const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
674
+ this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
695
675
  }
696
676
  }
697
677
  _$AK(t, e) {
698
- var n;
699
- const i = this.constructor, r = i._$Eh.get(t);
700
- if (r !== void 0 && this._$Em !== r) {
701
- const o = i.getPropertyOptions(r), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((n = o.converter) == null ? void 0 : n.fromAttribute) !== void 0 ? o.converter : K;
702
- this._$Em = r, this[r] = a.fromAttribute(e, o.type), this._$Em = null;
678
+ var r;
679
+ const i = this.constructor, s = i._$Eh.get(t);
680
+ if (s !== void 0 && this._$Em !== s) {
681
+ const o = i.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : K;
682
+ this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
703
683
  }
704
684
  }
705
685
  requestUpdate(t, e, i) {
706
686
  if (t !== void 0) {
707
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? wt)(this[t], e)) return;
687
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _t)(this[t], e)) return;
708
688
  this.P(t, e, i);
709
689
  }
710
690
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -730,21 +710,21 @@ let T = class extends HTMLElement {
730
710
  if (!this.isUpdatePending) return;
731
711
  if (!this.hasUpdated) {
732
712
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
733
- for (const [n, o] of this._$Ep) this[n] = o;
713
+ for (const [r, o] of this._$Ep) this[r] = o;
734
714
  this._$Ep = void 0;
735
715
  }
736
- const r = this.constructor.elementProperties;
737
- if (r.size > 0) for (const [n, o] of r) o.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], o);
716
+ const s = this.constructor.elementProperties;
717
+ if (s.size > 0) for (const [r, o] of s) o.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], o);
738
718
  }
739
719
  let t = !1;
740
720
  const e = this._$AL;
741
721
  try {
742
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((r) => {
743
- var n;
744
- return (n = r.hostUpdate) == null ? void 0 : n.call(r);
722
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
723
+ var r;
724
+ return (r = s.hostUpdate) == null ? void 0 : r.call(s);
745
725
  }), this.update(e)) : this._$EU();
746
- } catch (r) {
747
- throw t = !1, this._$EU(), r;
726
+ } catch (s) {
727
+ throw t = !1, this._$EU(), s;
748
728
  }
749
729
  t && this._$AE(e);
750
730
  }
@@ -753,8 +733,8 @@ let T = class extends HTMLElement {
753
733
  _$AE(t) {
754
734
  var e;
755
735
  (e = this._$EO) == null || e.forEach((i) => {
756
- var r;
757
- return (r = i.hostUpdated) == null ? void 0 : r.call(i);
736
+ var s;
737
+ return (s = i.hostUpdated) == null ? void 0 : s.call(i);
758
738
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
759
739
  }
760
740
  _$EU() {
@@ -777,61 +757,61 @@ let T = class extends HTMLElement {
777
757
  firstUpdated(t) {
778
758
  }
779
759
  };
780
- T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), rt == null || rt({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
760
+ T.elementStyles = [], T.shadowRootOptions = { mode: "open" }, T[R("elementProperties")] = /* @__PURE__ */ new Map(), T[R("finalized")] = /* @__PURE__ */ new Map(), nt == null || nt({ ReactiveElement: T }), (w.reactiveElementVersions ?? (w.reactiveElementVersions = [])).push("2.0.4");
781
761
  /**
782
762
  * @license
783
763
  * Copyright 2017 Google LLC
784
764
  * SPDX-License-Identifier: BSD-3-Clause
785
765
  */
786
- const j = globalThis, G = j.trustedTypes, zt = G ? G.createPolicy("lit-html", { createHTML: (s) => s }) : void 0, pe = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, ue = "?" + _, qe = `<${ue}>`, S = document, I = () => S.createComment(""), B = (s) => s === null || typeof s != "object" && typeof s != "function", At = Array.isArray, Ke = (s) => At(s) || typeof (s == null ? void 0 : s[Symbol.iterator]) == "function", nt = `[
787
- \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Dt = /-->/g, Ft = />/g, A = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
788
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Yt = /'/g, Zt = /"/g, fe = /^(?:script|style|textarea|title)$/i, ge = (s) => (t, ...e) => ({ _$litType$: s, strings: t, values: e }), C = ge(1), Ge = ge(2), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Wt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
789
- function ve(s, t) {
790
- if (!At(s) || !s.hasOwnProperty("raw")) throw Error("invalid template strings array");
791
- return zt !== void 0 ? zt.createHTML(t) : t;
766
+ const N = globalThis, G = N.trustedTypes, Vt = G ? G.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, le = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, de = "?" + _, Ze = `<${de}>`, S = document, I = () => S.createComment(""), B = (n) => n === null || typeof n != "object" && typeof n != "function", wt = Array.isArray, We = (n) => wt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", st = `[
767
+ \f\r]`, U = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zt = /-->/g, Dt = />/g, A = RegExp(`>|${st}(?:([^\\s"'>=/]+)(${st}*=${st}*(?:[^
768
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Ft = /'/g, Yt = /"/g, ue = /^(?:script|style|textarea|title)$/i, pe = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), C = pe(1), qe = pe(2), P = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Zt = /* @__PURE__ */ new WeakMap(), E = S.createTreeWalker(S, 129);
769
+ function fe(n, t) {
770
+ if (!wt(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
771
+ return Vt !== void 0 ? Vt.createHTML(t) : t;
792
772
  }
793
- const Xe = (s, t) => {
794
- const e = s.length - 1, i = [];
795
- let r, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
773
+ const Ke = (n, t) => {
774
+ const e = n.length - 1, i = [];
775
+ let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = U;
796
776
  for (let a = 0; a < e; a++) {
797
- const c = s[a];
798
- let h, l, d = -1, u = 0;
799
- for (; u < c.length && (o.lastIndex = u, l = o.exec(c), l !== null); ) u = o.lastIndex, o === U ? l[1] === "!--" ? o = Dt : l[1] !== void 0 ? o = Ft : l[2] !== void 0 ? (fe.test(l[2]) && (r = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = r ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Zt : Yt) : o === Zt || o === Yt ? o = A : o === Dt || o === Ft ? o = U : (o = A, r = void 0);
800
- const f = o === A && s[a + 1].startsWith("/>") ? " " : "";
801
- n += o === U ? c + qe : d >= 0 ? (i.push(h), c.slice(0, d) + pe + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
777
+ const c = n[a];
778
+ let h, l, d = -1, p = 0;
779
+ for (; p < c.length && (o.lastIndex = p, l = o.exec(c), l !== null); ) p = o.lastIndex, o === U ? l[1] === "!--" ? o = zt : l[1] !== void 0 ? o = Dt : l[2] !== void 0 ? (ue.test(l[2]) && (s = RegExp("</" + l[2], "g")), o = A) : l[3] !== void 0 && (o = A) : o === A ? l[0] === ">" ? (o = s ?? U, d = -1) : l[1] === void 0 ? d = -2 : (d = o.lastIndex - l[2].length, h = l[1], o = l[3] === void 0 ? A : l[3] === '"' ? Yt : Ft) : o === Yt || o === Ft ? o = A : o === zt || o === Dt ? o = U : (o = A, s = void 0);
780
+ const f = o === A && n[a + 1].startsWith("/>") ? " " : "";
781
+ r += o === U ? c + Ze : d >= 0 ? (i.push(h), c.slice(0, d) + le + c.slice(d) + _ + f) : c + _ + (d === -2 ? a : f);
802
782
  }
803
- return [ve(s, n + (s[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
783
+ return [fe(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
804
784
  };
805
- let mt = class me {
785
+ let mt = class ge {
806
786
  constructor({ strings: t, _$litType$: e }, i) {
807
- let r;
787
+ let s;
808
788
  this.parts = [];
809
- let n = 0, o = 0;
810
- const a = t.length - 1, c = this.parts, [h, l] = Xe(t, e);
811
- if (this.el = me.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
789
+ let r = 0, o = 0;
790
+ const a = t.length - 1, c = this.parts, [h, l] = Ke(t, e);
791
+ if (this.el = ge.createElement(h, i), E.currentNode = this.el.content, e === 2 || e === 3) {
812
792
  const d = this.el.content.firstChild;
813
793
  d.replaceWith(...d.childNodes);
814
794
  }
815
- for (; (r = E.nextNode()) !== null && c.length < a; ) {
816
- if (r.nodeType === 1) {
817
- if (r.hasAttributes()) for (const d of r.getAttributeNames()) if (d.endsWith(pe)) {
818
- const u = l[o++], f = r.getAttribute(d).split(_), O = /([.?@])?(.*)/.exec(u);
819
- c.push({ type: 1, index: n, name: O[2], strings: f, ctor: O[1] === "." ? Qe : O[1] === "?" ? ti : O[1] === "@" ? ei : et }), r.removeAttribute(d);
820
- } else d.startsWith(_) && (c.push({ type: 6, index: n }), r.removeAttribute(d));
821
- if (fe.test(r.tagName)) {
822
- const d = r.textContent.split(_), u = d.length - 1;
823
- if (u > 0) {
824
- r.textContent = G ? G.emptyScript : "";
825
- for (let f = 0; f < u; f++) r.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++n });
826
- r.append(d[u], I());
795
+ for (; (s = E.nextNode()) !== null && c.length < a; ) {
796
+ if (s.nodeType === 1) {
797
+ if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(le)) {
798
+ const p = l[o++], f = s.getAttribute(d).split(_), k = /([.?@])?(.*)/.exec(p);
799
+ c.push({ type: 1, index: r, name: k[2], strings: f, ctor: k[1] === "." ? Xe : k[1] === "?" ? Je : k[1] === "@" ? Qe : et }), s.removeAttribute(d);
800
+ } else d.startsWith(_) && (c.push({ type: 6, index: r }), s.removeAttribute(d));
801
+ if (ue.test(s.tagName)) {
802
+ const d = s.textContent.split(_), p = d.length - 1;
803
+ if (p > 0) {
804
+ s.textContent = G ? G.emptyScript : "";
805
+ for (let f = 0; f < p; f++) s.append(d[f], I()), E.nextNode(), c.push({ type: 2, index: ++r });
806
+ s.append(d[p], I());
827
807
  }
828
808
  }
829
- } else if (r.nodeType === 8) if (r.data === ue) c.push({ type: 2, index: n });
809
+ } else if (s.nodeType === 8) if (s.data === de) c.push({ type: 2, index: r });
830
810
  else {
831
811
  let d = -1;
832
- for (; (d = r.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: n }), d += _.length - 1;
812
+ for (; (d = s.data.indexOf(_, d + 1)) !== -1; ) c.push({ type: 7, index: r }), d += _.length - 1;
833
813
  }
834
- n++;
814
+ r++;
835
815
  }
836
816
  }
837
817
  static createElement(t, e) {
@@ -839,14 +819,14 @@ let mt = class me {
839
819
  return i.innerHTML = t, i;
840
820
  }
841
821
  };
842
- function M(s, t, e = s, i) {
822
+ function M(n, t, e = n, i) {
843
823
  var o, a;
844
824
  if (t === P) return t;
845
- let r = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
846
- const n = B(t) ? void 0 : t._$litDirective$;
847
- return (r == null ? void 0 : r.constructor) !== n && ((a = r == null ? void 0 : r._$AO) == null || a.call(r, !1), n === void 0 ? r = void 0 : (r = new n(s), r._$AT(s, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = r : e._$Cl = r), r !== void 0 && (t = M(s, r._$AS(s, t.values), r, i)), t;
825
+ let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
826
+ const r = B(t) ? void 0 : t._$litDirective$;
827
+ return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(n), s._$AT(n, e, i)), i !== void 0 ? (e._$Co ?? (e._$Co = []))[i] = s : e._$Cl = s), s !== void 0 && (t = M(n, s._$AS(n, t.values), s, i)), t;
848
828
  }
849
- class Je {
829
+ class Ge {
850
830
  constructor(t, e) {
851
831
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
852
832
  }
@@ -857,17 +837,17 @@ class Je {
857
837
  return this._$AM._$AU;
858
838
  }
859
839
  u(t) {
860
- const { el: { content: e }, parts: i } = this._$AD, r = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
861
- E.currentNode = r;
862
- let n = E.nextNode(), o = 0, a = 0, c = i[0];
840
+ const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
841
+ E.currentNode = s;
842
+ let r = E.nextNode(), o = 0, a = 0, c = i[0];
863
843
  for (; c !== void 0; ) {
864
844
  if (o === c.index) {
865
845
  let h;
866
- c.type === 2 ? h = new F(n, n.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(n, c.name, c.strings, this, t) : c.type === 6 && (h = new ii(n, this, t)), this._$AV.push(h), c = i[++a];
846
+ c.type === 2 ? h = new F(r, r.nextSibling, this, t) : c.type === 1 ? h = new c.ctor(r, c.name, c.strings, this, t) : c.type === 6 && (h = new ti(r, this, t)), this._$AV.push(h), c = i[++a];
867
847
  }
868
- o !== (c == null ? void 0 : c.index) && (n = E.nextNode(), o++);
848
+ o !== (c == null ? void 0 : c.index) && (r = E.nextNode(), o++);
869
849
  }
870
- return E.currentNode = S, r;
850
+ return E.currentNode = S, s;
871
851
  }
872
852
  p(t) {
873
853
  let e = 0;
@@ -879,8 +859,8 @@ class F {
879
859
  var t;
880
860
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
881
861
  }
882
- constructor(t, e, i, r) {
883
- this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = r, this._$Cv = (r == null ? void 0 : r.isConnected) ?? !0;
862
+ constructor(t, e, i, s) {
863
+ this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
884
864
  }
885
865
  get parentNode() {
886
866
  let t = this._$AA.parentNode;
@@ -894,7 +874,7 @@ class F {
894
874
  return this._$AB;
895
875
  }
896
876
  _$AI(t, e = this) {
897
- t = M(this, t, e), B(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ke(t) ? this.k(t) : this._(t);
877
+ t = M(this, t, e), B(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : We(t) ? this.k(t) : this._(t);
898
878
  }
899
879
  O(t) {
900
880
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -903,33 +883,33 @@ class F {
903
883
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
904
884
  }
905
885
  _(t) {
906
- this._$AH !== p && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
886
+ this._$AH !== u && B(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
907
887
  }
908
888
  $(t) {
909
- var n;
910
- const { values: e, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(ve(i.h, i.h[0]), this.options)), i);
911
- if (((n = this._$AH) == null ? void 0 : n._$AD) === r) this._$AH.p(e);
889
+ var r;
890
+ const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(fe(i.h, i.h[0]), this.options)), i);
891
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(e);
912
892
  else {
913
- const o = new Je(r, this), a = o.u(this.options);
893
+ const o = new Ge(s, this), a = o.u(this.options);
914
894
  o.p(e), this.T(a), this._$AH = o;
915
895
  }
916
896
  }
917
897
  _$AC(t) {
918
- let e = Wt.get(t.strings);
919
- return e === void 0 && Wt.set(t.strings, e = new mt(t)), e;
898
+ let e = Zt.get(t.strings);
899
+ return e === void 0 && Zt.set(t.strings, e = new mt(t)), e;
920
900
  }
921
901
  k(t) {
922
- At(this._$AH) || (this._$AH = [], this._$AR());
902
+ wt(this._$AH) || (this._$AH = [], this._$AR());
923
903
  const e = this._$AH;
924
- let i, r = 0;
925
- for (const n of t) r === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[r], i._$AI(n), r++;
926
- r < e.length && (this._$AR(i && i._$AB.nextSibling, r), e.length = r);
904
+ let i, s = 0;
905
+ for (const r of t) s === e.length ? e.push(i = new F(this.O(I()), this.O(I()), this, this.options)) : i = e[s], i._$AI(r), s++;
906
+ s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
927
907
  }
928
908
  _$AR(t = this._$AA.nextSibling, e) {
929
909
  var i;
930
910
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
931
- const r = t.nextSibling;
932
- t.remove(), t = r;
911
+ const s = t.nextSibling;
912
+ t.remove(), t = s;
933
913
  }
934
914
  }
935
915
  setConnected(t) {
@@ -944,55 +924,55 @@ class et {
944
924
  get _$AU() {
945
925
  return this._$AM._$AU;
946
926
  }
947
- constructor(t, e, i, r, n) {
948
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = r, this.options = n, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = p;
927
+ constructor(t, e, i, s, r) {
928
+ this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, 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;
949
929
  }
950
- _$AI(t, e = this, i, r) {
951
- const n = this.strings;
930
+ _$AI(t, e = this, i, s) {
931
+ const r = this.strings;
952
932
  let o = !1;
953
- if (n === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
933
+ if (r === void 0) t = M(this, t, e, 0), o = !B(t) || t !== this._$AH && t !== P, o && (this._$AH = t);
954
934
  else {
955
935
  const a = t;
956
936
  let c, h;
957
- for (t = n[0], c = 0; c < n.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === p ? t = p : t !== p && (t += (h ?? "") + n[c + 1]), this._$AH[c] = h;
937
+ for (t = r[0], c = 0; c < r.length - 1; c++) h = M(this, a[i + c], e, c), h === P && (h = this._$AH[c]), o || (o = !B(h) || h !== this._$AH[c]), h === u ? t = u : t !== u && (t += (h ?? "") + r[c + 1]), this._$AH[c] = h;
958
938
  }
959
- o && !r && this.j(t);
939
+ o && !s && this.j(t);
960
940
  }
961
941
  j(t) {
962
- t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
942
+ t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
963
943
  }
964
944
  }
965
- class Qe extends et {
945
+ class Xe extends et {
966
946
  constructor() {
967
947
  super(...arguments), this.type = 3;
968
948
  }
969
949
  j(t) {
970
- this.element[this.name] = t === p ? void 0 : t;
950
+ this.element[this.name] = t === u ? void 0 : t;
971
951
  }
972
952
  }
973
- class ti extends et {
953
+ class Je extends et {
974
954
  constructor() {
975
955
  super(...arguments), this.type = 4;
976
956
  }
977
957
  j(t) {
978
- this.element.toggleAttribute(this.name, !!t && t !== p);
958
+ this.element.toggleAttribute(this.name, !!t && t !== u);
979
959
  }
980
960
  }
981
- class ei extends et {
982
- constructor(t, e, i, r, n) {
983
- super(t, e, i, r, n), this.type = 5;
961
+ class Qe extends et {
962
+ constructor(t, e, i, s, r) {
963
+ super(t, e, i, s, r), this.type = 5;
984
964
  }
985
965
  _$AI(t, e = this) {
986
- if ((t = M(this, t, e, 0) ?? p) === P) return;
987
- const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== p && (i === p || r);
988
- r && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
966
+ if ((t = M(this, t, e, 0) ?? u) === P) return;
967
+ const i = this._$AH, s = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== u && (i === u || s);
968
+ s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
989
969
  }
990
970
  handleEvent(t) {
991
971
  var e;
992
972
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
993
973
  }
994
974
  }
995
- class ii {
975
+ class ti {
996
976
  constructor(t, e, i) {
997
977
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
998
978
  }
@@ -1003,23 +983,23 @@ class ii {
1003
983
  M(this, t);
1004
984
  }
1005
985
  }
1006
- const ot = j.litHtmlPolyfillSupport;
1007
- ot == null || ot(mt, F), (j.litHtmlVersions ?? (j.litHtmlVersions = [])).push("3.2.1");
1008
- const si = (s, t, e) => {
986
+ const rt = N.litHtmlPolyfillSupport;
987
+ rt == null || rt(mt, F), (N.litHtmlVersions ?? (N.litHtmlVersions = [])).push("3.2.1");
988
+ const ei = (n, t, e) => {
1009
989
  const i = (e == null ? void 0 : e.renderBefore) ?? t;
1010
- let r = i._$litPart$;
1011
- if (r === void 0) {
1012
- const n = (e == null ? void 0 : e.renderBefore) ?? null;
1013
- i._$litPart$ = r = new F(t.insertBefore(I(), n), n, void 0, e ?? {});
990
+ let s = i._$litPart$;
991
+ if (s === void 0) {
992
+ const r = (e == null ? void 0 : e.renderBefore) ?? null;
993
+ i._$litPart$ = s = new F(t.insertBefore(I(), r), r, void 0, e ?? {});
1014
994
  }
1015
- return r._$AI(s), r;
995
+ return s._$AI(n), s;
1016
996
  };
1017
997
  /**
1018
998
  * @license
1019
999
  * Copyright 2017 Google LLC
1020
1000
  * SPDX-License-Identifier: BSD-3-Clause
1021
1001
  */
1022
- let m = class extends T {
1002
+ let y = class extends T {
1023
1003
  constructor() {
1024
1004
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
1025
1005
  }
@@ -1030,7 +1010,7 @@ let m = class extends T {
1030
1010
  }
1031
1011
  update(t) {
1032
1012
  const e = this.render();
1033
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = si(e, this.renderRoot, this.renderOptions);
1013
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ei(e, this.renderRoot, this.renderOptions);
1034
1014
  }
1035
1015
  connectedCallback() {
1036
1016
  var t;
@@ -1044,57 +1024,57 @@ let m = class extends T {
1044
1024
  return P;
1045
1025
  }
1046
1026
  };
1047
- var ne;
1048
- m._$litElement$ = !0, m.finalized = !0, (ne = globalThis.litElementHydrateSupport) == null || ne.call(globalThis, { LitElement: m });
1049
- const at = globalThis.litElementPolyfillSupport;
1050
- at == null || at({ LitElement: m });
1027
+ var se;
1028
+ y._$litElement$ = !0, y.finalized = !0, (se = globalThis.litElementHydrateSupport) == null || se.call(globalThis, { LitElement: y });
1029
+ const ot = globalThis.litElementPolyfillSupport;
1030
+ ot == null || ot({ LitElement: y });
1051
1031
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1052
1032
  /**
1053
1033
  * @license
1054
1034
  * Copyright 2017 Google LLC
1055
1035
  * SPDX-License-Identifier: BSD-3-Clause
1056
1036
  */
1057
- const ri = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: wt }, ni = (s = ri, t, e) => {
1058
- const { kind: i, metadata: r } = e;
1059
- let n = globalThis.litPropertyMetadata.get(r);
1060
- if (n === void 0 && globalThis.litPropertyMetadata.set(r, n = /* @__PURE__ */ new Map()), n.set(e.name, s), i === "accessor") {
1037
+ const ii = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: _t }, ni = (n = ii, t, e) => {
1038
+ const { kind: i, metadata: s } = e;
1039
+ let r = globalThis.litPropertyMetadata.get(s);
1040
+ if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name, n), i === "accessor") {
1061
1041
  const { name: o } = e;
1062
1042
  return { set(a) {
1063
1043
  const c = t.get.call(this);
1064
- t.set.call(this, a), this.requestUpdate(o, c, s);
1044
+ t.set.call(this, a), this.requestUpdate(o, c, n);
1065
1045
  }, init(a) {
1066
- return a !== void 0 && this.P(o, void 0, s), a;
1046
+ return a !== void 0 && this.P(o, void 0, n), a;
1067
1047
  } };
1068
1048
  }
1069
1049
  if (i === "setter") {
1070
1050
  const { name: o } = e;
1071
1051
  return function(a) {
1072
1052
  const c = this[o];
1073
- t.call(this, a), this.requestUpdate(o, c, s);
1053
+ t.call(this, a), this.requestUpdate(o, c, n);
1074
1054
  };
1075
1055
  }
1076
1056
  throw Error("Unsupported decorator location: " + i);
1077
1057
  };
1078
- function g(s) {
1079
- return (t, e) => typeof e == "object" ? ni(s, t, e) : ((i, r, n) => {
1080
- const o = r.hasOwnProperty(n);
1081
- return r.constructor.createProperty(n, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(r, n) : void 0;
1082
- })(s, t, e);
1058
+ function g(n) {
1059
+ return (t, e) => typeof e == "object" ? ni(n, t, e) : ((i, s, r) => {
1060
+ const o = s.hasOwnProperty(r);
1061
+ return s.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
1062
+ })(n, t, e);
1083
1063
  }
1084
1064
  /**
1085
1065
  * @license
1086
1066
  * Copyright 2017 Google LLC
1087
1067
  * SPDX-License-Identifier: BSD-3-Clause
1088
1068
  */
1089
- function L(s) {
1090
- return g({ ...s, state: !0, attribute: !1 });
1069
+ function L(n) {
1070
+ return g({ ...n, state: !0, attribute: !1 });
1091
1071
  }
1092
- var oi = Object.defineProperty, ai = (s, t, e, i) => {
1093
- for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1094
- (o = s[n]) && (r = o(t, e, r) || r);
1095
- return r && oi(t, e, r), r;
1072
+ var si = Object.defineProperty, ri = (n, t, e, i) => {
1073
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1074
+ (o = n[r]) && (s = o(t, e, s) || s);
1075
+ return s && si(t, e, s), s;
1096
1076
  };
1097
- const St = class St extends m {
1077
+ const Et = class Et extends y {
1098
1078
  constructor() {
1099
1079
  super(...arguments), this.anchor = "BottomRight";
1100
1080
  }
@@ -1103,11 +1083,11 @@ const St = class St extends m {
1103
1083
  return (e = this.shadowRoot) == null || e.appendChild(t), t;
1104
1084
  }
1105
1085
  render() {
1106
- return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
1086
+ return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), u;
1107
1087
  }
1108
1088
  };
1109
- St.styles = [
1110
- k`
1089
+ Et.styles = [
1090
+ O`
1111
1091
  :host {
1112
1092
  position: fixed;
1113
1093
  display: flex;
@@ -1125,8 +1105,8 @@ St.styles = [
1125
1105
  }
1126
1106
  `
1127
1107
  ];
1128
- let X = St;
1129
- ai([
1108
+ let X = Et;
1109
+ ri([
1130
1110
  g({ attribute: !0 })
1131
1111
  ], X.prototype, "anchor");
1132
1112
  /**
@@ -1134,8 +1114,8 @@ ai([
1134
1114
  * Copyright 2017 Google LLC
1135
1115
  * SPDX-License-Identifier: BSD-3-Clause
1136
1116
  */
1137
- const xt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Ct = (s) => (...t) => ({ _$litDirective$: s, values: t });
1138
- let ye = class {
1117
+ const At = { ATTRIBUTE: 1, CHILD: 2 }, xt = (n) => (...t) => ({ _$litDirective$: n, values: t });
1118
+ let me = class {
1139
1119
  constructor(t) {
1140
1120
  }
1141
1121
  get _$AU() {
@@ -1156,57 +1136,57 @@ let ye = class {
1156
1136
  * Copyright 2020 Google LLC
1157
1137
  * SPDX-License-Identifier: BSD-3-Clause
1158
1138
  */
1159
- const ci = (s) => s.strings === void 0;
1139
+ const oi = (n) => n.strings === void 0;
1160
1140
  /**
1161
1141
  * @license
1162
1142
  * Copyright 2017 Google LLC
1163
1143
  * SPDX-License-Identifier: BSD-3-Clause
1164
1144
  */
1165
- const N = (s, t) => {
1145
+ const j = (n, t) => {
1166
1146
  var i;
1167
- const e = s._$AN;
1147
+ const e = n._$AN;
1168
1148
  if (e === void 0) return !1;
1169
- for (const r of e) (i = r._$AO) == null || i.call(r, t, !1), N(r, t);
1149
+ for (const s of e) (i = s._$AO) == null || i.call(s, t, !1), j(s, t);
1170
1150
  return !0;
1171
- }, J = (s) => {
1151
+ }, J = (n) => {
1172
1152
  let t, e;
1173
1153
  do {
1174
- if ((t = s._$AM) === void 0) break;
1175
- e = t._$AN, e.delete(s), s = t;
1154
+ if ((t = n._$AM) === void 0) break;
1155
+ e = t._$AN, e.delete(n), n = t;
1176
1156
  } while ((e == null ? void 0 : e.size) === 0);
1177
- }, be = (s) => {
1178
- for (let t; t = s._$AM; s = t) {
1157
+ }, ye = (n) => {
1158
+ for (let t; t = n._$AM; n = t) {
1179
1159
  let e = t._$AN;
1180
1160
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1181
- else if (e.has(s)) break;
1182
- e.add(s), di(t);
1161
+ else if (e.has(n)) break;
1162
+ e.add(n), hi(t);
1183
1163
  }
1184
1164
  };
1185
- function hi(s) {
1186
- this._$AN !== void 0 ? (J(this), this._$AM = s, be(this)) : this._$AM = s;
1165
+ function ai(n) {
1166
+ this._$AN !== void 0 ? (J(this), this._$AM = n, ye(this)) : this._$AM = n;
1187
1167
  }
1188
- function li(s, t = !1, e = 0) {
1189
- const i = this._$AH, r = this._$AN;
1190
- if (r !== void 0 && r.size !== 0) if (t) if (Array.isArray(i)) for (let n = e; n < i.length; n++) N(i[n], !1), J(i[n]);
1191
- else i != null && (N(i, !1), J(i));
1192
- else N(this, s);
1168
+ function ci(n, t = !1, e = 0) {
1169
+ const i = this._$AH, s = this._$AN;
1170
+ if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let r = e; r < i.length; r++) j(i[r], !1), J(i[r]);
1171
+ else i != null && (j(i, !1), J(i));
1172
+ else j(this, n);
1193
1173
  }
1194
- const di = (s) => {
1195
- s.type == xt.CHILD && (s._$AP ?? (s._$AP = li), s._$AQ ?? (s._$AQ = hi));
1174
+ const hi = (n) => {
1175
+ n.type == At.CHILD && (n._$AP ?? (n._$AP = ci), n._$AQ ?? (n._$AQ = ai));
1196
1176
  };
1197
- class $e extends ye {
1177
+ class be extends me {
1198
1178
  constructor() {
1199
1179
  super(...arguments), this._$AN = void 0;
1200
1180
  }
1201
1181
  _$AT(t, e, i) {
1202
- super._$AT(t, e, i), be(this), this.isConnected = t._$AU;
1182
+ super._$AT(t, e, i), ye(this), this.isConnected = t._$AU;
1203
1183
  }
1204
1184
  _$AO(t, e = !0) {
1205
- var i, r;
1206
- t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (r = this.disconnected) == null || r.call(this)), e && (N(this, t), J(this));
1185
+ var i, s;
1186
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (j(this, t), J(this));
1207
1187
  }
1208
1188
  setValue(t) {
1209
- if (ci(this._$Ct)) this._$Ct._$AI(t, this);
1189
+ if (oi(this._$Ct)) this._$Ct._$AI(t, this);
1210
1190
  else {
1211
1191
  const e = [...this._$Ct._$AH];
1212
1192
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1217,34 +1197,34 @@ class $e extends ye {
1217
1197
  reconnected() {
1218
1198
  }
1219
1199
  }
1220
- const pi = /* @__PURE__ */ new WeakMap();
1221
- let qt = 0;
1222
- const ct = /* @__PURE__ */ new Map(), Kt = /* @__PURE__ */ new WeakSet(), Gt = () => new Promise((s) => requestAnimationFrame(s)), ui = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Xt = (s, t) => {
1223
- const e = s - t;
1200
+ const li = /* @__PURE__ */ new WeakMap();
1201
+ let Wt = 0;
1202
+ const at = /* @__PURE__ */ new Map(), qt = /* @__PURE__ */ new WeakSet(), Kt = () => new Promise((n) => requestAnimationFrame(n)), di = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Gt = (n, t) => {
1203
+ const e = n - t;
1224
1204
  return e === 0 ? void 0 : e;
1225
- }, Jt = (s, t) => {
1226
- const e = s / t;
1205
+ }, Xt = (n, t) => {
1206
+ const e = n / t;
1227
1207
  return e === 1 ? void 0 : e;
1228
- }, ht = { left: (s, t) => {
1229
- const e = Xt(s, t);
1208
+ }, ct = { left: (n, t) => {
1209
+ const e = Gt(n, t);
1230
1210
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1231
- }, top: (s, t) => {
1232
- const e = Xt(s, t);
1211
+ }, top: (n, t) => {
1212
+ const e = Gt(n, t);
1233
1213
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1234
- }, width: (s, t) => {
1214
+ }, width: (n, t) => {
1235
1215
  let e;
1236
1216
  t === 0 && (t = 1, e = { width: "1px" });
1237
- const i = Jt(s, t);
1217
+ const i = Xt(n, t);
1238
1218
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1239
- }, height: (s, t) => {
1219
+ }, height: (n, t) => {
1240
1220
  let e;
1241
1221
  t === 0 && (t = 1, e = { height: "1px" });
1242
- const i = Jt(s, t);
1222
+ const i = Xt(n, t);
1243
1223
  return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1244
- } }, fi = { duration: 333, easing: "ease-in-out" }, gi = ["left", "top", "width", "height", "opacity", "color", "background"], Qt = /* @__PURE__ */ new WeakMap();
1245
- class vi extends $e {
1224
+ } }, ui = { duration: 333, easing: "ease-in-out" }, pi = ["left", "top", "width", "height", "opacity", "color", "background"], Jt = /* @__PURE__ */ new WeakMap();
1225
+ class fi extends be {
1246
1226
  constructor(t) {
1247
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === xt.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1227
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === At.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1248
1228
  this.createFinished();
1249
1229
  }
1250
1230
  createFinished() {
@@ -1258,38 +1238,38 @@ class vi extends $e {
1258
1238
  (t = this.l) == null || t.call(this), this.l = void 0;
1259
1239
  }
1260
1240
  render(t) {
1261
- return p;
1241
+ return u;
1262
1242
  }
1263
1243
  getController() {
1264
- return pi.get(this.u);
1244
+ return li.get(this.u);
1265
1245
  }
1266
1246
  isDisabled() {
1267
1247
  var t;
1268
1248
  return this.options.disabled || ((t = this.getController()) == null ? void 0 : t.disabled);
1269
1249
  }
1270
1250
  update(t, [e]) {
1271
- var r;
1251
+ var s;
1272
1252
  const i = this.u === void 0;
1273
- return i && (this.u = (r = t.options) == null ? void 0 : r.host, this.u.addController(this), this.u.updateComplete.then((n) => this.t = !0), this.element = t.element, Qt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1253
+ return i && (this.u = (s = t.options) == null ? void 0 : s.host, this.u.addController(this), this.u.updateComplete.then((r) => this.t = !0), this.element = t.element, Jt.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1274
1254
  }
1275
1255
  p(t) {
1276
1256
  t = t ?? {};
1277
1257
  const e = this.getController();
1278
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = gi), this.options = t;
1258
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = pi), this.options = t;
1279
1259
  }
1280
1260
  m() {
1281
1261
  const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1282
- return this.options.properties.forEach((r) => {
1283
- const n = e[r] ?? (ht[r] ? void 0 : i[r]), o = Number(n);
1284
- t[r] = isNaN(o) ? n + "" : o;
1262
+ return this.options.properties.forEach((s) => {
1263
+ const r = e[s] ?? (ct[s] ? void 0 : i[s]), o = Number(r);
1264
+ t[s] = isNaN(o) ? r + "" : o;
1285
1265
  }), t;
1286
1266
  }
1287
1267
  v() {
1288
1268
  let t, e = !0;
1289
- return this.options.guard && (t = this.options.guard(), e = ((i, r) => {
1269
+ return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
1290
1270
  if (Array.isArray(i)) {
1291
- if (Array.isArray(r) && r.length === i.length && i.every((n, o) => n === r[o])) return !1;
1292
- } else if (r === i) return !1;
1271
+ if (Array.isArray(s) && s.length === i.length && i.every((r, o) => r === s[o])) return !1;
1272
+ } else if (s === i) return !1;
1293
1273
  return !0;
1294
1274
  })(t, this._)), this.h = this.t && !this.isDisabled() && !this.isAnimating() && e && this.element.isConnected, this.h && (this._ = Array.isArray(t) ? Array.from(t) : t), this.h;
1295
1275
  }
@@ -1299,17 +1279,17 @@ class vi extends $e {
1299
1279
  async hostUpdated() {
1300
1280
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1301
1281
  let t;
1302
- this.prepare(), await Gt;
1303
- const e = this.O(), i = this.j(this.options.keyframeOptions, e), r = this.m();
1282
+ this.prepare(), await Kt;
1283
+ const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
1304
1284
  if (this.A !== void 0) {
1305
- const { from: n, to: o } = this.N(this.A, r, e);
1306
- this.log("measured", [this.A, r, n, o]), t = this.calculateKeyframes(n, o);
1285
+ const { from: r, to: o } = this.N(this.A, s, e);
1286
+ this.log("measured", [this.A, s, r, o]), t = this.calculateKeyframes(r, o);
1307
1287
  } else {
1308
- const n = ct.get(this.options.inId);
1309
- if (n) {
1310
- ct.delete(this.options.inId);
1311
- const { from: o, to: a } = this.N(n, r, e);
1312
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, qt++, t.forEach((c) => c.zIndex = qt);
1288
+ const r = at.get(this.options.inId);
1289
+ if (r) {
1290
+ at.delete(this.options.inId);
1291
+ const { from: o, to: a } = this.N(r, s, e);
1292
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Wt++, t.forEach((c) => c.zIndex = Wt);
1313
1293
  } else this.options.in && (t = [...this.options.in, {}]);
1314
1294
  }
1315
1295
  this.animate(t, i);
@@ -1325,14 +1305,14 @@ class vi extends $e {
1325
1305
  }
1326
1306
  async disconnected() {
1327
1307
  var e;
1328
- if (!this.h || (this.options.id !== void 0 && ct.set(this.options.id, this.A), this.options.out === void 0)) return;
1329
- if (this.prepare(), await Gt(), (e = this.i) == null ? void 0 : e.isConnected) {
1308
+ if (!this.h || (this.options.id !== void 0 && at.set(this.options.id, this.A), this.options.out === void 0)) return;
1309
+ if (this.prepare(), await Kt(), (e = this.i) == null ? void 0 : e.isConnected) {
1330
1310
  const i = this.o && this.o.parentNode === this.i ? this.o : null;
1331
1311
  if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1332
- const r = this.m();
1312
+ const s = this.m();
1333
1313
  this.log("stabilizing out");
1334
- const n = this.A.left - r.left, o = this.A.top - r.top;
1335
- getComputedStyle(this.element).position !== "static" || n === 0 && o === 0 || (this.element.style.position = "relative"), n !== 0 && (this.element.style.left = n + "px"), o !== 0 && (this.element.style.top = o + "px");
1314
+ const r = this.A.left - s.left, o = this.A.top - s.top;
1315
+ 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");
1336
1316
  }
1337
1317
  }
1338
1318
  const t = this.j(this.options.keyframeOptions);
@@ -1352,56 +1332,56 @@ class vi extends $e {
1352
1332
  O() {
1353
1333
  const t = [];
1354
1334
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1355
- const i = Qt.get(e);
1335
+ const i = Jt.get(e);
1356
1336
  i && !i.isDisabled() && i && t.push(i);
1357
1337
  }
1358
1338
  return t;
1359
1339
  }
1360
1340
  get isHostRendered() {
1361
- const t = Kt.has(this.u);
1341
+ const t = qt.has(this.u);
1362
1342
  return t || this.u.updateComplete.then(() => {
1363
- Kt.add(this.u);
1343
+ qt.add(this.u);
1364
1344
  }), t;
1365
1345
  }
1366
1346
  j(t, e = this.O()) {
1367
- const i = { ...fi };
1368
- return e.forEach((r) => Object.assign(i, r.options.keyframeOptions)), Object.assign(i, t), i;
1347
+ const i = { ...ui };
1348
+ return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
1369
1349
  }
1370
1350
  N(t, e, i) {
1371
1351
  t = { ...t }, e = { ...e };
1372
- const r = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1373
- let n = 1, o = 1;
1374
- return r.length > 0 && (r.forEach((a) => {
1375
- a.width && (n /= a.width), a.height && (o /= a.height);
1376
- }), t.left !== void 0 && e.left !== void 0 && (t.left = n * t.left, e.left = n * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1352
+ const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1353
+ let r = 1, o = 1;
1354
+ return s.length > 0 && (s.forEach((a) => {
1355
+ a.width && (r /= a.width), a.height && (o /= a.height);
1356
+ }), t.left !== void 0 && e.left !== void 0 && (t.left = r * t.left, e.left = r * e.left), t.top !== void 0 && e.top !== void 0 && (t.top = o * t.top, e.top = o * e.top)), { from: t, to: e };
1377
1357
  }
1378
1358
  calculateKeyframes(t, e, i = !1) {
1379
- const r = {}, n = {};
1359
+ const s = {}, r = {};
1380
1360
  let o = !1;
1381
1361
  const a = {};
1382
1362
  for (const c in e) {
1383
1363
  const h = t[c], l = e[c];
1384
- if (c in ht) {
1385
- const d = ht[c];
1364
+ if (c in ct) {
1365
+ const d = ct[c];
1386
1366
  if (h === void 0 || l === void 0) continue;
1387
- const u = d(h, l);
1388
- u.transform !== void 0 && (a[c] = u.value, o = !0, r.transform = `${r.transform ?? ""} ${u.transform}`, u.overrideFrom !== void 0 && Object.assign(r, u.overrideFrom));
1389
- } else h !== l && h !== void 0 && l !== void 0 && (o = !0, r[c] = h, n[c] = l);
1367
+ const p = d(h, l);
1368
+ p.transform !== void 0 && (a[c] = p.value, o = !0, s.transform = `${s.transform ?? ""} ${p.transform}`, p.overrideFrom !== void 0 && Object.assign(s, p.overrideFrom));
1369
+ } else h !== l && h !== void 0 && l !== void 0 && (o = !0, s[c] = h, r[c] = l);
1390
1370
  }
1391
- return r.transformOrigin = n.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [r, n] : void 0;
1371
+ return s.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, r] : void 0;
1392
1372
  }
1393
1373
  async animate(t, e = this.options.keyframeOptions) {
1394
1374
  this.start(), this.frames = t;
1395
1375
  let i = !1;
1396
1376
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1397
1377
  this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1398
- const r = this.getController();
1399
- r == null || r.add(this);
1378
+ const s = this.getController();
1379
+ s == null || s.add(this);
1400
1380
  try {
1401
1381
  await this.webAnimation.finished;
1402
1382
  } catch {
1403
1383
  }
1404
- r == null || r.remove(this);
1384
+ s == null || s.remove(this);
1405
1385
  }
1406
1386
  return this.didFinish(i), i;
1407
1387
  }
@@ -1413,96 +1393,96 @@ class vi extends $e {
1413
1393
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1414
1394
  }
1415
1395
  }
1416
- const mi = Ct(vi), yi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1396
+ const gi = xt(fi), mi = { name: "question", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M32 4C16.536 4 4 16.536 4 32C4 47.464 16.536 60 32 60C47.464 60 60 47.464 60 32C59.9827 16.5432 47.4568 4.01731 32 4ZM32 55.6923C18.9151 55.6923 8.30769 45.0849 8.30769 32C8.30769 18.9151 18.9151 8.30769 32 8.30769C45.0849 8.30769 55.6923 18.9151 55.6923 32C55.6775 45.0788 45.0788 55.6775 32 55.6923Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M31.9423 37.5723L36.311 32.9068L36.7354 32.4448C39.7555 29.1161 40.7645 27.0647 40.7645 24.5087C40.7645 23.1091 40.4251 21.7942 39.7041 20.6491C38.3044 18.3587 35.6323 16.9166 32.2816 16.9166C28.7565 16.9166 25.3125 18.7414 23.2581 21.6772L23.1201 21.8791C22.8232 22.3032 22.696 22.6849 22.696 22.9818C22.696 23.7029 23.926 25.9932 25.2833 25.9932C25.5378 25.9932 25.7922 25.9084 26.0467 25.7388C26.2588 25.5691 26.5981 25.2298 27.0647 24.7208C28.8885 22.6849 30.1185 21.9215 31.7726 21.9215C33.6813 21.9215 35.081 23.1939 35.081 24.8905C35.081 26.375 34.2751 27.7746 32.3664 29.8529L28.2523 34.2216C27.9554 34.6033 27.7857 34.9426 27.7857 35.282C27.7857 35.6213 27.9978 36.1726 28.4219 36.8937C29.0581 37.8692 29.7368 38.3782 30.4578 38.3782C30.9244 38.3782 31.3909 38.1237 31.9423 37.5723ZM30.882 47.4972C29.2278 47.4972 27.6585 44.7403 27.6585 43.6799C27.6585 42.1954 30.0761 40.6261 32.4089 40.6261C33.6389 40.6261 34.2751 41.1775 34.2751 42.3227C34.2751 44.0616 33.4692 45.843 32.4513 46.7761C31.9423 47.2427 31.4334 47.4972 30.882 47.4972Z"/></svg>' };
1417
1397
  /**
1418
1398
  * @license
1419
1399
  * Copyright 2018 Google LLC
1420
1400
  * SPDX-License-Identifier: BSD-3-Clause
1421
1401
  */
1422
- const te = Ct(class extends ye {
1423
- constructor(s) {
1402
+ const Qt = xt(class extends me {
1403
+ constructor(n) {
1424
1404
  var t;
1425
- if (super(s), s.type !== xt.ATTRIBUTE || s.name !== "class" || ((t = s.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1405
+ if (super(n), n.type !== At.ATTRIBUTE || n.name !== "class" || ((t = n.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
1426
1406
  }
1427
- render(s) {
1428
- return " " + Object.keys(s).filter((t) => s[t]).join(" ") + " ";
1407
+ render(n) {
1408
+ return " " + Object.keys(n).filter((t) => n[t]).join(" ") + " ";
1429
1409
  }
1430
- update(s, [t]) {
1431
- var i, r;
1410
+ update(n, [t]) {
1411
+ var i, s;
1432
1412
  if (this.st === void 0) {
1433
- this.st = /* @__PURE__ */ new Set(), s.strings !== void 0 && (this.nt = new Set(s.strings.join(" ").split(/\s/).filter((n) => n !== "")));
1434
- for (const n in t) t[n] && !((i = this.nt) != null && i.has(n)) && this.st.add(n);
1413
+ this.st = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1414
+ for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
1435
1415
  return this.render(t);
1436
1416
  }
1437
- const e = s.element.classList;
1438
- for (const n of this.st) n in t || (e.remove(n), this.st.delete(n));
1439
- for (const n in t) {
1440
- const o = !!t[n];
1441
- o === this.st.has(n) || (r = this.nt) != null && r.has(n) || (o ? (e.add(n), this.st.add(n)) : (e.remove(n), this.st.delete(n)));
1417
+ const e = n.element.classList;
1418
+ for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
1419
+ for (const r in t) {
1420
+ const o = !!t[r];
1421
+ o === this.st.has(r) || (s = this.nt) != null && s.has(r) || (o ? (e.add(r), this.st.add(r)) : (e.remove(r), this.st.delete(r)));
1442
1422
  }
1443
1423
  return P;
1444
1424
  }
1445
- }), y = (s, t, e) => {
1446
- s && e.style.setProperty(t, s);
1447
- }, _e = (s, t) => {
1448
- var e, i, r, n, o, a, c, h, l;
1449
- y((e = s.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), y(
1450
- (i = s.colors) == null ? void 0 : i.textOnPrimaryBackground,
1425
+ }), b = (n, t, e) => {
1426
+ n && e.style.setProperty(t, n);
1427
+ }, ve = (n, t) => {
1428
+ var e, i, s, r, o, a, c, h, l;
1429
+ b((e = n.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), b(
1430
+ (i = n.colors) == null ? void 0 : i.textOnPrimaryBackground,
1451
1431
  "--text-on-primary-background",
1452
1432
  t
1453
- ), y(
1454
- (r = s.colors) == null ? void 0 : r.secondaryBackground,
1433
+ ), b(
1434
+ (s = n.colors) == null ? void 0 : s.secondaryBackground,
1455
1435
  "--secondary-background",
1456
1436
  t
1457
- ), y(
1458
- (n = s.colors) == null ? void 0 : n.textOnSecondaryBackground,
1437
+ ), b(
1438
+ (r = n.colors) == null ? void 0 : r.textOnSecondaryBackground,
1459
1439
  "--text-on-secondary-background",
1460
1440
  t
1461
- ), y(
1462
- (o = s.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1441
+ ), b(
1442
+ (o = n.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1463
1443
  "--destructive-color",
1464
1444
  t
1465
- ), y(
1466
- (a = s.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1445
+ ), b(
1446
+ (a = n.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1467
1447
  "--text-on-destructive-color",
1468
1448
  t
1469
- ), y(
1470
- (c = s.colors) == null ? void 0 : c.interactivePrimaryBackground,
1449
+ ), b(
1450
+ (c = n.colors) == null ? void 0 : c.interactivePrimaryBackground,
1471
1451
  "--interactive-primary-background",
1472
1452
  t
1473
- ), y(
1474
- (h = s.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1453
+ ), b(
1454
+ (h = n.colors) == null ? void 0 : h.interactiveTextOnPrimaryBackground,
1475
1455
  "--interactive-text-on-primary-background",
1476
1456
  t
1477
- ), y((l = s.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1457
+ ), b((l = n.colors) == null ? void 0 : l.focusColor, "--focus-color", t);
1478
1458
  };
1479
1459
  /**
1480
1460
  * @license
1481
1461
  * Copyright 2020 Google LLC
1482
1462
  * SPDX-License-Identifier: BSD-3-Clause
1483
1463
  */
1484
- const we = () => new bi();
1485
- class bi {
1464
+ const $e = () => new yi();
1465
+ class yi {
1486
1466
  }
1487
- const lt = /* @__PURE__ */ new WeakMap(), Ae = Ct(class extends $e {
1488
- render(s) {
1489
- return p;
1467
+ const ht = /* @__PURE__ */ new WeakMap(), _e = xt(class extends be {
1468
+ render(n) {
1469
+ return u;
1490
1470
  }
1491
- update(s, [t]) {
1471
+ update(n, [t]) {
1492
1472
  var i;
1493
1473
  const e = t !== this.Y;
1494
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = s.options) == null ? void 0 : i.host, this.rt(this.ct = s.element)), p;
1474
+ return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (i = n.options) == null ? void 0 : i.host, this.rt(this.ct = n.element)), u;
1495
1475
  }
1496
- rt(s) {
1497
- if (this.isConnected || (s = void 0), typeof this.Y == "function") {
1476
+ rt(n) {
1477
+ if (this.isConnected || (n = void 0), typeof this.Y == "function") {
1498
1478
  const t = this.ht ?? globalThis;
1499
- let e = lt.get(t);
1500
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), lt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, s), s !== void 0 && this.Y.call(this.ht, s);
1501
- } else this.Y.value = s;
1479
+ let e = ht.get(t);
1480
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), ht.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, n), n !== void 0 && this.Y.call(this.ht, n);
1481
+ } else this.Y.value = n;
1502
1482
  }
1503
1483
  get lt() {
1504
- var s, t;
1505
- return typeof this.Y == "function" ? (s = lt.get(this.ht ?? globalThis)) == null ? void 0 : s.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1484
+ var n, t;
1485
+ return typeof this.Y == "function" ? (n = ht.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
1506
1486
  }
1507
1487
  disconnected() {
1508
1488
  this.lt === this.ct && this.rt(void 0);
@@ -1511,14 +1491,14 @@ const lt = /* @__PURE__ */ new WeakMap(), Ae = Ct(class extends $e {
1511
1491
  this.rt(this.ct);
1512
1492
  }
1513
1493
  });
1514
- var $i = Object.defineProperty, Y = (s, t, e, i) => {
1515
- for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1516
- (o = s[n]) && (r = o(t, e, r) || r);
1517
- return r && $i(t, e, r), r;
1494
+ var bi = Object.defineProperty, Y = (n, t, e, i) => {
1495
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1496
+ (o = n[r]) && (s = o(t, e, s) || s);
1497
+ return s && bi(t, e, s), s;
1518
1498
  };
1519
- const Pt = class Pt extends m {
1499
+ const St = class St extends y {
1520
1500
  constructor() {
1521
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = we(), this.widgetActive$ = new Ne(!1), this.componentIsDestroyed$ = new bt();
1501
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = $e(), this.widgetActive$ = new Re(!1), this.componentIsDestroyed$ = new bt();
1522
1502
  }
1523
1503
  async connectedCallback() {
1524
1504
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -1553,7 +1533,7 @@ const Pt = class Pt extends m {
1553
1533
  }
1554
1534
  _applyBranding() {
1555
1535
  var t;
1556
- (t = this.application) != null && t.settings && _e(this.application.settings.branding, this);
1536
+ (t = this.application) != null && t.settings && ve(this.application.settings.branding, this);
1557
1537
  }
1558
1538
  async _renderSymbol() {
1559
1539
  var a, c, h;
@@ -1562,19 +1542,19 @@ const Pt = class Pt extends m {
1562
1542
  return C` <img src=${e} class="trigger-icon" alt="" /> `;
1563
1543
  const i = (h = this.application) == null ? void 0 : h.triggerIcon;
1564
1544
  if (!i)
1565
- return p;
1566
- const r = async (l) => yi, { type: n, content: o } = i;
1567
- switch (n) {
1545
+ return u;
1546
+ const s = async (l) => mi, { type: r, content: o } = i;
1547
+ switch (r) {
1568
1548
  case "Telia": {
1569
- const l = await r();
1549
+ const l = await s();
1570
1550
  return l ? C`<telia-icon
1571
1551
  class="trigger-icon"
1572
1552
  svg=${l.svg}
1573
1553
  size="lg"
1574
- ></telia-icon>` : p;
1554
+ ></telia-icon>` : u;
1575
1555
  }
1576
1556
  default:
1577
- return p;
1557
+ return u;
1578
1558
  }
1579
1559
  }
1580
1560
  hideTrigger() {
@@ -1584,33 +1564,33 @@ const Pt = class Pt extends m {
1584
1564
  this.triggerVisible = !0;
1585
1565
  }
1586
1566
  render() {
1587
- var t, e, i, r;
1567
+ var t, e, i, s;
1588
1568
  return C`<div
1589
- class=${te({
1569
+ class=${Qt({
1590
1570
  "trigger-container": !0,
1591
1571
  hidden: !this.triggerVisible
1592
1572
  })}
1593
- ${Ae(this.containerRef)}
1573
+ ${_e(this.containerRef)}
1594
1574
  >
1595
- ${!this.active && ((r = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && r.showButtonLabel) ? C`
1575
+ ${!this.active && ((s = (i = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : i.other) != null && s.showButtonLabel) ? C`
1596
1576
  <button
1597
1577
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
1598
1578
  class="trigger-label"
1599
1579
  @click=${this.toggleActive}
1600
- ${mi({
1580
+ ${gi({
1601
1581
  keyframeOptions: {},
1602
- in: ui,
1582
+ in: di,
1603
1583
  stabilizeOut: !0,
1604
1584
  skipInitial: !1
1605
1585
  })}
1606
1586
  >
1607
1587
  ${this.application.settings.branding.other.buttonLabelText}
1608
1588
  </button>
1609
- ` : p}
1589
+ ` : u}
1610
1590
 
1611
1591
  <button
1612
1592
  label="Widget trigger"
1613
- class=${te({
1593
+ class=${Qt({
1614
1594
  trigger: !0,
1615
1595
  active: this.active,
1616
1596
  rendered: this.loaded
@@ -1649,8 +1629,8 @@ const Pt = class Pt extends m {
1649
1629
  </div>`;
1650
1630
  }
1651
1631
  };
1652
- Pt.styles = [
1653
- k`
1632
+ St.styles = [
1633
+ O`
1654
1634
  :host {
1655
1635
  --voca-rem-multiplier: 0.625;
1656
1636
  --trigger-label-bg: #f5e0ff;
@@ -1781,7 +1761,7 @@ Pt.styles = [
1781
1761
  }
1782
1762
  `
1783
1763
  ];
1784
- let $ = Pt;
1764
+ let $ = St;
1785
1765
  Y([
1786
1766
  g({ attribute: !1 })
1787
1767
  ], $.prototype, "application");
@@ -1797,27 +1777,27 @@ Y([
1797
1777
  Y([
1798
1778
  L()
1799
1779
  ], $.prototype, "icon");
1800
- var _i = Object.defineProperty, x = (s, t, e, i) => {
1801
- for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
1802
- (o = s[n]) && (r = o(t, e, r) || r);
1803
- return r && _i(t, e, r), r;
1780
+ var vi = Object.defineProperty, x = (n, t, e, i) => {
1781
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1782
+ (o = n[r]) && (s = o(t, e, s) || s);
1783
+ return s && vi(t, e, s), s;
1804
1784
  };
1805
- const xe = (s) => {
1806
- const e = class e extends s {
1785
+ const we = (n) => {
1786
+ const e = class e extends n {
1807
1787
  constructor() {
1808
1788
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
1809
1789
  }
1810
- writeProperties(r) {
1811
- this.properties = r;
1790
+ writeProperties(s) {
1791
+ this.properties = s;
1812
1792
  }
1813
- writeLayout(r) {
1814
- this.layout = r;
1793
+ writeLayout(s) {
1794
+ this.layout = s;
1815
1795
  }
1816
- writeContext(r) {
1817
- this.context = r;
1796
+ writeContext(s) {
1797
+ this.context = s;
1818
1798
  }
1819
- addChild(r) {
1820
- r.parent = this, this.nodes.push(r);
1799
+ addChild(s) {
1800
+ s.parent = this, this.nodes.push(s);
1821
1801
  }
1822
1802
  connectedCallback() {
1823
1803
  super.connectedCallback(), this.renderRoot.host.style.setProperty(
@@ -1828,7 +1808,7 @@ const xe = (s) => {
1828
1808
  };
1829
1809
  e.styles = [
1830
1810
  // (superClass as unknown as typeof LitElement).styles ?? [],
1831
- k`
1811
+ O`
1832
1812
  :host {
1833
1813
  font-family: var(--font-family);
1834
1814
  grid-column: span var(--width);
@@ -1858,37 +1838,37 @@ const xe = (s) => {
1858
1838
  ], t.prototype, "application"), x([
1859
1839
  g({ attribute: !1 })
1860
1840
  ], t.prototype, "parent"), t;
1861
- }, kt = class kt extends xe(m) {
1841
+ }, Pt = class Pt extends we(y) {
1862
1842
  render() {
1863
1843
  return C`Non resolved component`;
1864
1844
  }
1865
1845
  };
1866
- kt.styles = [
1867
- k`
1846
+ Pt.styles = [
1847
+ O`
1868
1848
  :host {
1869
1849
  display: block;
1870
1850
  }
1871
1851
  `
1872
1852
  ];
1873
- let yt = kt;
1853
+ let yt = Pt;
1874
1854
  /**
1875
1855
  * @license
1876
1856
  * Copyright 2021 Google LLC
1877
1857
  * SPDX-License-Identifier: BSD-3-Clause
1878
1858
  */
1879
- function* wi(s, t) {
1880
- if (s !== void 0) {
1859
+ function* $i(n, t) {
1860
+ if (n !== void 0) {
1881
1861
  let e = 0;
1882
- for (const i of s) yield t(i, e++);
1862
+ for (const i of n) yield t(i, e++);
1883
1863
  }
1884
1864
  }
1885
- var V = /* @__PURE__ */ ((s) => (s.Inline = "inline", s.Trigger = "trigger", s))(V || {});
1865
+ var V = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(V || {});
1886
1866
  /**
1887
1867
  * @license
1888
1868
  * Copyright 2021 Google LLC
1889
1869
  * SPDX-License-Identifier: BSD-3-Clause
1890
1870
  */
1891
- let Ai = class extends Event {
1871
+ let _i = class extends Event {
1892
1872
  constructor(t, e, i) {
1893
1873
  super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
1894
1874
  }
@@ -1903,7 +1883,7 @@ let Ai = class extends Event {
1903
1883
  * Copyright 2021 Google LLC
1904
1884
  * SPDX-License-Identifier: BSD-3-Clause
1905
1885
  */
1906
- class xi {
1886
+ class wi {
1907
1887
  get value() {
1908
1888
  return this.o;
1909
1889
  }
@@ -1924,8 +1904,8 @@ class xi {
1924
1904
  this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
1925
1905
  this.subscriptions.delete(t);
1926
1906
  }, consumerHost: e });
1927
- const { disposer: r } = this.subscriptions.get(t);
1928
- t(this.value, r);
1907
+ const { disposer: s } = this.subscriptions.get(t);
1908
+ t(this.value, s);
1929
1909
  }
1930
1910
  clearCallbacks() {
1931
1911
  this.subscriptions.clear();
@@ -1936,14 +1916,14 @@ class xi {
1936
1916
  * Copyright 2021 Google LLC
1937
1917
  * SPDX-License-Identifier: BSD-3-Clause
1938
1918
  */
1939
- let Ci = class extends Event {
1919
+ let Ai = class extends Event {
1940
1920
  constructor(t) {
1941
1921
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
1942
1922
  }
1943
1923
  };
1944
- class ee extends xi {
1924
+ class te extends wi {
1945
1925
  constructor(t, e, i) {
1946
- var r, n;
1926
+ var s, r;
1947
1927
  super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
1948
1928
  const a = o.composedPath()[0];
1949
1929
  o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
@@ -1951,15 +1931,15 @@ class ee extends xi {
1951
1931
  const a = o.composedPath()[0];
1952
1932
  if (o.context !== this.context || a === this.host) return;
1953
1933
  const c = /* @__PURE__ */ new Set();
1954
- for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new Ai(this.context, h, !0)));
1934
+ for (const [h, { consumerHost: l }] of this.subscriptions) c.has(h) || (c.add(h), l.dispatchEvent(new _i(this.context, h, !0)));
1955
1935
  o.stopPropagation();
1956
- }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (n = (r = this.host).addController) == null || n.call(r, this);
1936
+ }, this.host = t, e.context !== void 0 ? this.context = e.context : this.context = e, this.attachListeners(), (r = (s = this.host).addController) == null || r.call(s, this);
1957
1937
  }
1958
1938
  attachListeners() {
1959
1939
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
1960
1940
  }
1961
1941
  hostConnected() {
1962
- this.host.dispatchEvent(new Ci(this.context));
1942
+ this.host.dispatchEvent(new Ai(this.context));
1963
1943
  }
1964
1944
  }
1965
1945
  /**
@@ -1967,51 +1947,51 @@ class ee extends xi {
1967
1947
  * Copyright 2017 Google LLC
1968
1948
  * SPDX-License-Identifier: BSD-3-Clause
1969
1949
  */
1970
- function Ei({ context: s }) {
1950
+ function xi({ context: n }) {
1971
1951
  return (t, e) => {
1972
1952
  const i = /* @__PURE__ */ new WeakMap();
1973
1953
  if (typeof e == "object") return e.addInitializer(function() {
1974
- i.set(this, new ee(this, { context: s }));
1954
+ i.set(this, new te(this, { context: n }));
1975
1955
  }), { get() {
1976
1956
  return t.get.call(this);
1977
- }, set(r) {
1978
- var n;
1979
- return (n = i.get(this)) == null || n.setValue(r), t.set.call(this, r);
1980
- }, init(r) {
1981
- var n;
1982
- return (n = i.get(this)) == null || n.setValue(r), r;
1957
+ }, set(s) {
1958
+ var r;
1959
+ return (r = i.get(this)) == null || r.setValue(s), t.set.call(this, s);
1960
+ }, init(s) {
1961
+ var r;
1962
+ return (r = i.get(this)) == null || r.setValue(s), s;
1983
1963
  } };
1984
1964
  {
1985
1965
  t.constructor.addInitializer((o) => {
1986
- i.set(o, new ee(o, { context: s }));
1966
+ i.set(o, new te(o, { context: n }));
1987
1967
  });
1988
- const r = Object.getOwnPropertyDescriptor(t, e);
1989
- let n;
1990
- if (r === void 0) {
1968
+ const s = Object.getOwnPropertyDescriptor(t, e);
1969
+ let r;
1970
+ if (s === void 0) {
1991
1971
  const o = /* @__PURE__ */ new WeakMap();
1992
- n = { get() {
1972
+ r = { get() {
1993
1973
  return o.get(this);
1994
1974
  }, set(a) {
1995
1975
  i.get(this).setValue(a), o.set(this, a);
1996
1976
  }, configurable: !0, enumerable: !0 };
1997
1977
  } else {
1998
- const o = r.set;
1999
- n = { ...r, set(a) {
1978
+ const o = s.set;
1979
+ r = { ...s, set(a) {
2000
1980
  i.get(this).setValue(a), o == null || o.call(this, a);
2001
1981
  } };
2002
1982
  }
2003
- return void Object.defineProperty(t, e, n);
1983
+ return void Object.defineProperty(t, e, r);
2004
1984
  }
2005
1985
  };
2006
1986
  }
2007
- var Si = Object.defineProperty, Ce = (s, t, e, i) => {
2008
- for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2009
- (o = s[n]) && (r = o(t, e, r) || r);
2010
- return r && Si(t, e, r), r;
1987
+ var Ci = Object.defineProperty, Ae = (n, t, e, i) => {
1988
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1989
+ (o = n[r]) && (s = o(t, e, s) || s);
1990
+ return s && Ci(t, e, s), s;
2011
1991
  };
2012
- const Pi = "application", Ot = class Ot extends m {
1992
+ const Ei = "application", Ot = class Ot extends y {
2013
1993
  constructor() {
2014
- super(...arguments), this.nodes = [], this.wrapperRef = we(), this.fullscreen = !1;
1994
+ super(...arguments), this.nodes = [], this.wrapperRef = $e(), this.fullscreen = !1;
2015
1995
  }
2016
1996
  addChild(t) {
2017
1997
  t.parent = this, this.nodes.push(t);
@@ -2020,28 +2000,28 @@ const Pi = "application", Ot = class Ot extends m {
2020
2000
  if (!this.wrapperRef.value)
2021
2001
  return;
2022
2002
  const t = this.application.settings;
2023
- t != null && t.branding && _e(t.branding, this.wrapperRef.value);
2003
+ t != null && t.branding && ve(t.branding, this.wrapperRef.value);
2024
2004
  }
2025
2005
  applyStyles() {
2026
2006
  if (!this.wrapperRef.value)
2027
2007
  return;
2028
2008
  const t = this.application.styles(), e = this.wrapperRef.value;
2029
- Object.entries(t).forEach(([i, r]) => {
2030
- e.style.setProperty(`--${i}`, r);
2009
+ Object.entries(t).forEach(([i, s]) => {
2010
+ e.style.setProperty(`--${i}`, s);
2031
2011
  });
2032
2012
  }
2033
2013
  firstUpdated(t) {
2034
2014
  this.applyBranding(), this.applyStyles();
2035
2015
  }
2036
2016
  render() {
2037
- var i, r;
2017
+ var i, s;
2038
2018
  const t = this.application.settings.components.conversation;
2039
- return ((r = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : r.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === V.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")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${Ae(this.wrapperRef)}>
2040
- ${wi(this.nodes, (n) => n)}
2019
+ return ((s = (i = t == null ? void 0 : t.properties) == null ? void 0 : i.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === V.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")), this.application.fullscreen && this.renderRoot.host.classList.add("fullscreen"), window.self !== window.top && this.renderRoot.host.classList.add("embedded"), C`<div class="widget-container" ${_e(this.wrapperRef)}>
2020
+ ${$i(this.nodes, (r) => r)}
2041
2021
  </div>`;
2042
2022
  }
2043
2023
  };
2044
- Ot.styles = k`
2024
+ Ot.styles = O`
2045
2025
  :host {
2046
2026
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2047
2027
  --spacing-xs: 0.2rem;
@@ -2195,12 +2175,12 @@ Ot.styles = k`
2195
2175
  }
2196
2176
  `;
2197
2177
  let z = Ot;
2198
- Ce([
2178
+ Ae([
2199
2179
  g({ attribute: !0 })
2200
2180
  ], z.prototype, "fullscreen");
2201
- Ce([
2181
+ Ae([
2202
2182
  g({ attribute: !1 }),
2203
- Ei({ context: Pi })
2183
+ xi({ context: Ei })
2204
2184
  ], z.prototype, "application");
2205
2185
  const Q = class Q {
2206
2186
  // TODO:
@@ -2213,14 +2193,14 @@ const Q = class Q {
2213
2193
  return i ? {
2214
2194
  id: i.id,
2215
2195
  triggers: i.triggers || [],
2216
- apps: (i.widgets || []).map((r) => {
2217
- let n = V.Trigger;
2218
- r.renderStrategy.toLowerCase() === "inline" && (n = V.Inline);
2219
- const o = r.widgetId ? r.widgetId : r.id, a = typeof r.autoActivate == "boolean" ? r.autoActivate : !1, c = typeof r.anchor == "string" ? r.anchor : "BottomRight", h = typeof r.triggerIcon == "string" ? r.triggerIcon : "question";
2196
+ apps: (i.widgets || []).map((s) => {
2197
+ let r = V.Trigger;
2198
+ s.renderStrategy.toLowerCase() === "inline" && (r = V.Inline);
2199
+ const o = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, c = typeof s.anchor == "string" ? s.anchor : "BottomRight", h = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
2220
2200
  return {
2221
2201
  id: o,
2222
2202
  widgetId: o,
2223
- renderStrategy: n,
2203
+ renderStrategy: r,
2224
2204
  autoActivate: a,
2225
2205
  anchor: c,
2226
2206
  triggerIcon: {
@@ -2240,13 +2220,13 @@ const Q = class Q {
2240
2220
  }
2241
2221
  };
2242
2222
  Q.endpoint = "https://widgets.ace.teliacompany.net/api";
2243
- let ie = Q;
2244
- var ki = Object.defineProperty, Et = (s, t, e, i) => {
2245
- for (var r = void 0, n = s.length - 1, o; n >= 0; n--)
2246
- (o = s[n]) && (r = o(t, e, r) || r);
2247
- return r && ki(t, e, r), r;
2223
+ let ee = Q;
2224
+ var Si = Object.defineProperty, Ct = (n, t, e, i) => {
2225
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2226
+ (o = n[r]) && (s = o(t, e, s) || s);
2227
+ return s && Si(t, e, s), s;
2248
2228
  };
2249
- const Tt = class Tt extends m {
2229
+ const kt = class kt extends y {
2250
2230
  constructor() {
2251
2231
  super(), this.status = "deactivated", this.addEventListener("environment-created", this.onEnvironmentCreated);
2252
2232
  }
@@ -2270,7 +2250,7 @@ const Tt = class Tt extends m {
2270
2250
  }
2271
2251
  render() {
2272
2252
  if (!this.widget || this.status !== "activated")
2273
- return p;
2253
+ return u;
2274
2254
  if (this.widget.renderStrategy === V.Trigger) {
2275
2255
  const t = new $();
2276
2256
  return t.application = this.widget, t;
@@ -2278,21 +2258,21 @@ const Tt = class Tt extends m {
2278
2258
  return this.widget.render();
2279
2259
  }
2280
2260
  };
2281
- Tt.styles = [
2282
- k`
2261
+ kt.styles = [
2262
+ O`
2283
2263
  :host {
2284
2264
  display: block;
2285
2265
  }
2286
2266
  `
2287
2267
  ];
2288
- let H = Tt;
2289
- Et([
2268
+ let H = kt;
2269
+ Ct([
2290
2270
  g({ attribute: !0 })
2291
2271
  ], H.prototype, "name");
2292
- Et([
2272
+ Ct([
2293
2273
  L()
2294
2274
  ], H.prototype, "widget");
2295
- Et([
2275
+ Ct([
2296
2276
  L()
2297
2277
  ], H.prototype, "status");
2298
2278
  customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", X);
@@ -2300,7 +2280,7 @@ customElements.get("ace-trigger") || customElements.define("ace-trigger", $);
2300
2280
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", yt);
2301
2281
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", z);
2302
2282
  customElements.get("ace-widget") || customElements.define("ace-widget", H);
2303
- const Oi = Ge`
2283
+ const Pi = qe`
2304
2284
  <g clip-path="url(#clip0_119_1665)">
2305
2285
  <path d="M16.9321 27.4656C11.5983 29.6245 8.54568 28.9365 6.85856 27.5904L6.83398 27.5712C9.44534 30.1717 12.4221 32.0011 15.0324 32.0011C19.6033 32.0011 25.8614 26.4651 28.8232 17.8805C27.1542 20.9792 23.5727 24.7861 16.9321 27.4656Z" fill="#990AE3"/>
2306
2286
  <path d="M20.9805 22.4843C25.1369 20.0779 28.8809 15.9968 30.0615 13.0869C30.397 10.6784 30.4654 10.3744 30.506 7.72479C30.5113 7.35786 30.4889 7.00586 30.4547 6.66879C30.2122 10.56 25.1743 15.4528 18.5092 18.6496C10.4689 22.5056 4.43734 23.5435 1.74585 20.6027C2.68077 22.4459 3.29407 23.3408 4.34545 24.7083C7.45044 27.4539 13.9852 26.5355 20.9805 22.4843Z" fill="#990AE3"/>
@@ -2318,10 +2298,10 @@ const Oi = Ge`
2318
2298
  <clipPath id="clip0_119_1665">
2319
2299
  <rect width="30.5068" height="32.0011" fill="white"/>
2320
2300
  </clipPath>
2321
- </defs>`, se = xe(m), Mt = class Mt extends se {
2301
+ </defs>`, ie = we(y), Tt = class Tt extends ie {
2322
2302
  render() {
2323
2303
  var e;
2324
- return (e = this.application.branding().other) != null && e.whiteLabel ? p : C` <div class="copyright">
2304
+ return (e = this.application.branding().other) != null && e.whiteLabel ? u : C` <div class="copyright">
2325
2305
  <a
2326
2306
  aria-label="Powered by Telia ACE"
2327
2307
  href="https://ace-showcase.com"
@@ -2336,15 +2316,15 @@ const Oi = Ge`
2336
2316
  fill="none"
2337
2317
  xmlns="http://www.w3.org/2000/svg"
2338
2318
  >
2339
- ${Oi}
2319
+ ${Pi}
2340
2320
  </svg>
2341
2321
  </a>
2342
2322
  </div>`;
2343
2323
  }
2344
2324
  };
2345
- Mt.styles = [
2346
- se.styles || [],
2347
- k`
2325
+ Tt.styles = [
2326
+ ie.styles || [],
2327
+ O`
2348
2328
  :host {
2349
2329
  --copyright-text-color: var(--text-on-primary-background);
2350
2330
  }
@@ -2379,8 +2359,8 @@ Mt.styles = [
2379
2359
  }
2380
2360
  `
2381
2361
  ];
2382
- let re = Mt;
2362
+ let ne = Tt;
2383
2363
  export {
2384
- re as Copyright,
2385
- re as default
2364
+ ne as Copyright,
2365
+ ne as default
2386
2366
  };