@telia-ace/widget-side-menu 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,20 +1,20 @@
1
- var Ft = function(i, t) {
2
- return Ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
3
- e.__proto__ = n;
4
- } || function(e, n) {
5
- for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (e[s] = n[s]);
6
- }, Ft(i, t);
1
+ var Dt = function(n, t) {
2
+ return Dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, i) {
3
+ e.__proto__ = i;
4
+ } || function(e, i) {
5
+ for (var s in i) Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
6
+ }, Dt(n, t);
7
7
  };
8
- function Z(i, t) {
8
+ function K(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
- Ft(i, t);
11
+ Dt(n, t);
12
12
  function e() {
13
- this.constructor = i;
13
+ this.constructor = n;
14
14
  }
15
- i.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 sn(i, t, e, n) {
17
+ function ei(n, t, e, i) {
18
18
  function s(r) {
19
19
  return r instanceof e ? r : new e(function(o) {
20
20
  o(r);
@@ -23,29 +23,29 @@ function sn(i, t, e, n) {
23
23
  return new (e || (e = Promise))(function(r, o) {
24
24
  function a(u) {
25
25
  try {
26
- c(n.next(u));
27
- } catch (h) {
28
- o(h);
26
+ c(i.next(u));
27
+ } catch (d) {
28
+ o(d);
29
29
  }
30
30
  }
31
31
  function l(u) {
32
32
  try {
33
- c(n.throw(u));
34
- } catch (h) {
35
- o(h);
33
+ c(i.throw(u));
34
+ } catch (d) {
35
+ o(d);
36
36
  }
37
37
  }
38
38
  function c(u) {
39
39
  u.done ? r(u.value) : s(u.value).then(a, l);
40
40
  }
41
- c((n = n.apply(i, t || [])).next());
41
+ c((i = i.apply(n, t || [])).next());
42
42
  });
43
43
  }
44
- function si(i, t) {
44
+ function sn(n, t) {
45
45
  var e = { label: 0, sent: function() {
46
46
  if (r[0] & 1) throw r[1];
47
47
  return r[1];
48
- }, trys: [], ops: [] }, n, s, r, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
48
+ }, trys: [], ops: [] }, i, s, r, o = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
49
49
  return o.next = a(0), o.throw = a(1), o.return = a(2), typeof Symbol == "function" && (o[Symbol.iterator] = function() {
50
50
  return this;
51
51
  }), o;
@@ -55,9 +55,9 @@ function si(i, t) {
55
55
  };
56
56
  }
57
57
  function l(c) {
58
- if (n) throw new TypeError("Generator is already executing.");
58
+ if (i) throw new TypeError("Generator is already executing.");
59
59
  for (; o && (o = 0, c[0] && (e = 0)), e; ) try {
60
- if (n = 1, s && (r = c[0] & 2 ? s.return : c[0] ? s.throw || ((r = s.return) && r.call(s), 0) : s.next) && !(r = r.call(s, c[1])).done) return r;
60
+ if (i = 1, s && (r = c[0] & 2 ? s.return : c[0] ? s.throw || ((r = s.return) && r.call(s), 0) : s.next) && !(r = r.call(s, c[1])).done) return r;
61
61
  switch (s = 0, r && (c = [c[0] & 2, r.value]), c[0]) {
62
62
  case 0:
63
63
  case 1:
@@ -91,99 +91,99 @@ function si(i, t) {
91
91
  r[2] && e.ops.pop(), e.trys.pop();
92
92
  continue;
93
93
  }
94
- c = t.call(i, e);
94
+ c = t.call(n, e);
95
95
  } catch (u) {
96
96
  c = [6, u], s = 0;
97
97
  } finally {
98
- n = r = 0;
98
+ i = r = 0;
99
99
  }
100
100
  if (c[0] & 5) throw c[1];
101
101
  return { value: c[0] ? c[1] : void 0, done: !0 };
102
102
  }
103
103
  }
104
- function q(i) {
105
- var t = typeof Symbol == "function" && Symbol.iterator, e = t && i[t], n = 0;
106
- if (e) return e.call(i);
107
- if (i && typeof i.length == "number") return {
104
+ function W(n) {
105
+ var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], i = 0;
106
+ if (e) return e.call(n);
107
+ if (n && typeof n.length == "number") return {
108
108
  next: function() {
109
- return i && n >= i.length && (i = void 0), { value: i && i[n++], done: !i };
109
+ return n && i >= n.length && (n = void 0), { value: n && n[i++], done: !n };
110
110
  }
111
111
  };
112
112
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
113
113
  }
114
- function Yt(i, t) {
115
- var e = typeof Symbol == "function" && i[Symbol.iterator];
116
- if (!e) return i;
117
- var n = e.call(i), s, r = [], o;
114
+ function Ft(n, t) {
115
+ var e = typeof Symbol == "function" && n[Symbol.iterator];
116
+ if (!e) return n;
117
+ var i = e.call(n), s, r = [], o;
118
118
  try {
119
- for (; (t === void 0 || t-- > 0) && !(s = n.next()).done; ) r.push(s.value);
119
+ for (; (t === void 0 || t-- > 0) && !(s = i.next()).done; ) r.push(s.value);
120
120
  } catch (a) {
121
121
  o = { error: a };
122
122
  } finally {
123
123
  try {
124
- s && !s.done && (e = n.return) && e.call(n);
124
+ s && !s.done && (e = i.return) && e.call(i);
125
125
  } finally {
126
126
  if (o) throw o.error;
127
127
  }
128
128
  }
129
129
  return r;
130
130
  }
131
- function Wt(i, t, e) {
132
- if (e || arguments.length === 2) for (var n = 0, s = t.length, r; n < s; n++)
133
- (r || !(n in t)) && (r || (r = Array.prototype.slice.call(t, 0, n)), r[n] = t[n]);
134
- return i.concat(r || Array.prototype.slice.call(t));
131
+ function Yt(n, t, e) {
132
+ if (e || arguments.length === 2) for (var i = 0, s = t.length, r; i < s; i++)
133
+ (r || !(i in t)) && (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
134
+ return n.concat(r || Array.prototype.slice.call(t));
135
135
  }
136
- function F(i) {
137
- return this instanceof F ? (this.v = i, this) : new F(i);
136
+ function F(n) {
137
+ return this instanceof F ? (this.v = n, this) : new F(n);
138
138
  }
139
- function rn(i, t, e) {
139
+ function ni(n, t, e) {
140
140
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
141
- var n = e.apply(i, t || []), s, r = [];
141
+ var i = e.apply(n, t || []), s, r = [];
142
142
  return s = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), a("next"), a("throw"), a("return", o), s[Symbol.asyncIterator] = function() {
143
143
  return this;
144
144
  }, s;
145
145
  function o(f) {
146
146
  return function($) {
147
- return Promise.resolve($).then(f, h);
147
+ return Promise.resolve($).then(f, d);
148
148
  };
149
149
  }
150
150
  function a(f, $) {
151
- n[f] && (s[f] = function(g) {
152
- return new Promise(function(ut, Q) {
153
- r.push([f, g, ut, Q]) > 1 || l(f, g);
151
+ i[f] && (s[f] = function(g) {
152
+ return new Promise(function(ut, J) {
153
+ r.push([f, g, ut, J]) > 1 || l(f, g);
154
154
  });
155
155
  }, $ && (s[f] = $(s[f])));
156
156
  }
157
157
  function l(f, $) {
158
158
  try {
159
- c(n[f]($));
159
+ c(i[f]($));
160
160
  } catch (g) {
161
- d(r[0][3], g);
161
+ h(r[0][3], g);
162
162
  }
163
163
  }
164
164
  function c(f) {
165
- f.value instanceof F ? Promise.resolve(f.value.v).then(u, h) : d(r[0][2], f);
165
+ f.value instanceof F ? Promise.resolve(f.value.v).then(u, d) : h(r[0][2], f);
166
166
  }
167
167
  function u(f) {
168
168
  l("next", f);
169
169
  }
170
- function h(f) {
170
+ function d(f) {
171
171
  l("throw", f);
172
172
  }
173
- function d(f, $) {
173
+ function h(f, $) {
174
174
  f($), r.shift(), r.length && l(r[0][0], r[0][1]);
175
175
  }
176
176
  }
177
- function on(i) {
177
+ function ii(n) {
178
178
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
179
- var t = i[Symbol.asyncIterator], e;
180
- return t ? t.call(i) : (i = typeof q == "function" ? q(i) : i[Symbol.iterator](), e = {}, n("next"), n("throw"), n("return"), e[Symbol.asyncIterator] = function() {
179
+ var t = n[Symbol.asyncIterator], e;
180
+ return t ? t.call(n) : (n = typeof W == "function" ? W(n) : n[Symbol.iterator](), e = {}, i("next"), i("throw"), i("return"), e[Symbol.asyncIterator] = function() {
181
181
  return this;
182
182
  }, e);
183
- function n(r) {
184
- e[r] = i[r] && function(o) {
183
+ function i(r) {
184
+ e[r] = n[r] && function(o) {
185
185
  return new Promise(function(a, l) {
186
- o = i[r](o), s(a, l, o.done, o.value);
186
+ o = n[r](o), s(a, l, o.done, o.value);
187
187
  });
188
188
  };
189
189
  }
@@ -193,43 +193,43 @@ function on(i) {
193
193
  }, o);
194
194
  }
195
195
  }
196
- function v(i) {
197
- return typeof i == "function";
196
+ function m(n) {
197
+ return typeof n == "function";
198
198
  }
199
- function ri(i) {
200
- var t = function(n) {
201
- Error.call(n), n.stack = new Error().stack;
202
- }, e = i(t);
199
+ function rn(n) {
200
+ var t = function(i) {
201
+ Error.call(i), i.stack = new Error().stack;
202
+ }, e = n(t);
203
203
  return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
204
204
  }
205
- var Rt = ri(function(i) {
205
+ var Rt = rn(function(n) {
206
206
  return function(e) {
207
- i(this), this.message = e ? e.length + ` errors occurred during unsubscription:
208
- ` + e.map(function(n, s) {
209
- return s + 1 + ") " + n.toString();
207
+ n(this), this.message = e ? e.length + ` errors occurred during unsubscription:
208
+ ` + e.map(function(i, s) {
209
+ return s + 1 + ") " + i.toString();
210
210
  }).join(`
211
211
  `) : "", this.name = "UnsubscriptionError", this.errors = e;
212
212
  };
213
213
  });
214
- function qt(i, t) {
215
- if (i) {
216
- var e = i.indexOf(t);
217
- 0 <= e && i.splice(e, 1);
214
+ function qt(n, t) {
215
+ if (n) {
216
+ var e = n.indexOf(t);
217
+ 0 <= e && n.splice(e, 1);
218
218
  }
219
219
  }
220
220
  var kt = function() {
221
- function i(t) {
221
+ function n(t) {
222
222
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
223
223
  }
224
- return i.prototype.unsubscribe = function() {
225
- var t, e, n, s, r;
224
+ return n.prototype.unsubscribe = function() {
225
+ var t, e, i, s, r;
226
226
  if (!this.closed) {
227
227
  this.closed = !0;
228
228
  var o = this._parentage;
229
229
  if (o)
230
230
  if (this._parentage = null, Array.isArray(o))
231
231
  try {
232
- for (var a = q(o), l = a.next(); !l.done; l = a.next()) {
232
+ for (var a = W(o), l = a.next(); !l.done; l = a.next()) {
233
233
  var c = l.value;
234
234
  c.remove(this);
235
235
  }
@@ -245,109 +245,104 @@ var kt = function() {
245
245
  else
246
246
  o.remove(this);
247
247
  var u = this.initialTeardown;
248
- if (v(u))
248
+ if (m(u))
249
249
  try {
250
250
  u();
251
251
  } catch (g) {
252
252
  r = g instanceof Rt ? g.errors : [g];
253
253
  }
254
- var h = this._finalizers;
255
- if (h) {
254
+ var d = this._finalizers;
255
+ if (d) {
256
256
  this._finalizers = null;
257
257
  try {
258
- for (var d = q(h), f = d.next(); !f.done; f = d.next()) {
258
+ for (var h = W(d), f = h.next(); !f.done; f = h.next()) {
259
259
  var $ = f.value;
260
260
  try {
261
261
  be($);
262
262
  } catch (g) {
263
- r = r ?? [], g instanceof Rt ? r = Wt(Wt([], Yt(r)), Yt(g.errors)) : r.push(g);
263
+ r = r ?? [], g instanceof Rt ? r = Yt(Yt([], Ft(r)), Ft(g.errors)) : r.push(g);
264
264
  }
265
265
  }
266
266
  } catch (g) {
267
- n = { error: g };
267
+ i = { error: g };
268
268
  } finally {
269
269
  try {
270
- f && !f.done && (s = d.return) && s.call(d);
270
+ f && !f.done && (s = h.return) && s.call(h);
271
271
  } finally {
272
- if (n) throw n.error;
272
+ if (i) throw i.error;
273
273
  }
274
274
  }
275
275
  }
276
276
  if (r)
277
277
  throw new Rt(r);
278
278
  }
279
- }, i.prototype.add = function(t) {
279
+ }, n.prototype.add = function(t) {
280
280
  var e;
281
281
  if (t && t !== this)
282
282
  if (this.closed)
283
283
  be(t);
284
284
  else {
285
- if (t instanceof i) {
285
+ if (t instanceof n) {
286
286
  if (t.closed || t._hasParent(this))
287
287
  return;
288
288
  t._addParent(this);
289
289
  }
290
290
  (this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
291
291
  }
292
- }, i.prototype._hasParent = function(t) {
292
+ }, n.prototype._hasParent = function(t) {
293
293
  var e = this._parentage;
294
294
  return e === t || Array.isArray(e) && e.includes(t);
295
- }, i.prototype._addParent = function(t) {
295
+ }, n.prototype._addParent = function(t) {
296
296
  var e = this._parentage;
297
297
  this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
298
- }, i.prototype._removeParent = function(t) {
298
+ }, n.prototype._removeParent = function(t) {
299
299
  var e = this._parentage;
300
300
  e === t ? this._parentage = null : Array.isArray(e) && qt(e, t);
301
- }, i.prototype.remove = function(t) {
301
+ }, n.prototype.remove = function(t) {
302
302
  var e = this._finalizers;
303
- e && qt(e, t), t instanceof i && t._removeParent(this);
304
- }, i.EMPTY = function() {
305
- var t = new i();
303
+ e && qt(e, t), t instanceof n && t._removeParent(this);
304
+ }, n.EMPTY = function() {
305
+ var t = new n();
306
306
  return t.closed = !0, t;
307
- }(), i;
308
- }(), oi = kt.EMPTY;
309
- function ai(i) {
310
- return i instanceof kt || i && "closed" in i && v(i.remove) && v(i.add) && v(i.unsubscribe);
311
- }
312
- function be(i) {
313
- v(i) ? i() : i.unsubscribe();
314
- }
315
- var li = {
316
- onUnhandledError: null,
317
- onStoppedNotification: null,
318
- Promise: void 0,
319
- useDeprecatedSynchronousErrorHandling: !1,
320
- useDeprecatedNextContext: !1
321
- }, ci = {
322
- setTimeout: function(i, t) {
323
- for (var e = [], n = 2; n < arguments.length; n++)
324
- e[n - 2] = arguments[n];
325
- return setTimeout.apply(void 0, Wt([i, t], Yt(e)));
307
+ }(), n;
308
+ }(), on = kt.EMPTY;
309
+ function an(n) {
310
+ return n instanceof kt || n && "closed" in n && m(n.remove) && m(n.add) && m(n.unsubscribe);
311
+ }
312
+ function be(n) {
313
+ m(n) ? n() : n.unsubscribe();
314
+ }
315
+ var si = {
316
+ Promise: void 0
317
+ }, ri = {
318
+ setTimeout: function(n, t) {
319
+ for (var e = [], i = 2; i < arguments.length; i++)
320
+ e[i - 2] = arguments[i];
321
+ return setTimeout.apply(void 0, Yt([n, t], Ft(e)));
326
322
  },
327
- clearTimeout: function(i) {
328
- var t = ci.delegate;
329
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(i);
323
+ clearTimeout: function(n) {
324
+ return clearTimeout(n);
330
325
  },
331
326
  delegate: void 0
332
327
  };
333
- function ui(i) {
334
- ci.setTimeout(function() {
335
- throw i;
328
+ function ln(n) {
329
+ ri.setTimeout(function() {
330
+ throw n;
336
331
  });
337
332
  }
338
- function _e() {
333
+ function ve() {
339
334
  }
340
- function ft(i) {
341
- i();
335
+ function ft(n) {
336
+ n();
342
337
  }
343
- var te = function(i) {
344
- Z(t, i);
338
+ var Vt = function(n) {
339
+ K(t, n);
345
340
  function t(e) {
346
- var n = i.call(this) || this;
347
- return n.isStopped = !1, e ? (n.destination = e, ai(e) && e.add(n)) : n.destination = un, n;
341
+ var i = n.call(this) || this;
342
+ return i.isStopped = !1, e ? (i.destination = e, an(e) && e.add(i)) : i.destination = li, i;
348
343
  }
349
- return t.create = function(e, n, s) {
350
- return new Gt(e, n, s);
344
+ return t.create = function(e, i, s) {
345
+ return new Wt(e, i, s);
351
346
  }, t.prototype.next = function(e) {
352
347
  this.isStopped || this._next(e);
353
348
  }, t.prototype.error = function(e) {
@@ -355,7 +350,7 @@ var te = function(i) {
355
350
  }, t.prototype.complete = function() {
356
351
  this.isStopped || (this.isStopped = !0, this._complete());
357
352
  }, t.prototype.unsubscribe = function() {
358
- this.closed || (this.isStopped = !0, i.prototype.unsubscribe.call(this), this.destination = null);
353
+ this.closed || (this.isStopped = !0, n.prototype.unsubscribe.call(this), this.destination = null);
359
354
  }, t.prototype._next = function(e) {
360
355
  this.destination.next(e);
361
356
  }, t.prototype._error = function(e) {
@@ -371,112 +366,96 @@ var te = function(i) {
371
366
  this.unsubscribe();
372
367
  }
373
368
  }, t;
374
- }(kt), an = Function.prototype.bind;
375
- function Ut(i, t) {
376
- return an.call(i, t);
377
- }
378
- var ln = function() {
379
- function i(t) {
369
+ }(kt), oi = function() {
370
+ function n(t) {
380
371
  this.partialObserver = t;
381
372
  }
382
- return i.prototype.next = function(t) {
373
+ return n.prototype.next = function(t) {
383
374
  var e = this.partialObserver;
384
375
  if (e.next)
385
376
  try {
386
377
  e.next(t);
387
- } catch (n) {
388
- ht(n);
378
+ } catch (i) {
379
+ dt(i);
389
380
  }
390
- }, i.prototype.error = function(t) {
381
+ }, n.prototype.error = function(t) {
391
382
  var e = this.partialObserver;
392
383
  if (e.error)
393
384
  try {
394
385
  e.error(t);
395
- } catch (n) {
396
- ht(n);
386
+ } catch (i) {
387
+ dt(i);
397
388
  }
398
389
  else
399
- ht(t);
400
- }, i.prototype.complete = function() {
390
+ dt(t);
391
+ }, n.prototype.complete = function() {
401
392
  var t = this.partialObserver;
402
393
  if (t.complete)
403
394
  try {
404
395
  t.complete();
405
396
  } catch (e) {
406
- ht(e);
407
- }
408
- }, i;
409
- }(), Gt = function(i) {
410
- Z(t, i);
411
- function t(e, n, s) {
412
- var r = i.call(this) || this, o;
413
- if (v(e) || !e)
414
- o = {
415
- next: e ?? void 0,
416
- error: n ?? void 0,
417
- complete: s ?? void 0
418
- };
419
- else {
420
- var a;
421
- r && li.useDeprecatedNextContext ? (a = Object.create(e), a.unsubscribe = function() {
422
- return r.unsubscribe();
423
- }, o = {
424
- next: e.next && Ut(e.next, a),
425
- error: e.error && Ut(e.error, a),
426
- complete: e.complete && Ut(e.complete, a)
427
- }) : o = e;
428
- }
429
- return r.destination = new ln(o), r;
397
+ dt(e);
398
+ }
399
+ }, n;
400
+ }(), Wt = function(n) {
401
+ K(t, n);
402
+ function t(e, i, s) {
403
+ var r = n.call(this) || this, o;
404
+ return m(e) || !e ? o = {
405
+ next: e ?? void 0,
406
+ error: i ?? void 0,
407
+ complete: s ?? void 0
408
+ } : o = e, r.destination = new oi(o), r;
430
409
  }
431
410
  return t;
432
- }(te);
433
- function ht(i) {
434
- ui(i);
411
+ }(Vt);
412
+ function dt(n) {
413
+ ln(n);
435
414
  }
436
- function cn(i) {
437
- throw i;
415
+ function ai(n) {
416
+ throw n;
438
417
  }
439
- var un = {
418
+ var li = {
440
419
  closed: !0,
441
- next: _e,
442
- error: cn,
443
- complete: _e
444
- }, ee = function() {
420
+ next: ve,
421
+ error: ai,
422
+ complete: ve
423
+ }, te = function() {
445
424
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
446
425
  }();
447
- function hi(i) {
448
- return i;
426
+ function cn(n) {
427
+ return n;
449
428
  }
450
- function hn(i) {
451
- return i.length === 0 ? hi : i.length === 1 ? i[0] : function(e) {
452
- return i.reduce(function(n, s) {
453
- return s(n);
429
+ function ci(n) {
430
+ return n.length === 0 ? cn : n.length === 1 ? n[0] : function(e) {
431
+ return n.reduce(function(i, s) {
432
+ return s(i);
454
433
  }, e);
455
434
  };
456
435
  }
457
436
  var _ = function() {
458
- function i(t) {
437
+ function n(t) {
459
438
  t && (this._subscribe = t);
460
439
  }
461
- return i.prototype.lift = function(t) {
462
- var e = new i();
440
+ return n.prototype.lift = function(t) {
441
+ var e = new n();
463
442
  return e.source = this, e.operator = t, e;
464
- }, i.prototype.subscribe = function(t, e, n) {
465
- var s = this, r = fn(t) ? t : new Gt(t, e, n);
443
+ }, n.prototype.subscribe = function(t, e, i) {
444
+ var s = this, r = di(t) ? t : new Wt(t, e, i);
466
445
  return ft(function() {
467
446
  var o = s, a = o.operator, l = o.source;
468
447
  r.add(a ? a.call(r, l) : l ? s._subscribe(r) : s._trySubscribe(r));
469
448
  }), r;
470
- }, i.prototype._trySubscribe = function(t) {
449
+ }, n.prototype._trySubscribe = function(t) {
471
450
  try {
472
451
  return this._subscribe(t);
473
452
  } catch (e) {
474
453
  t.error(e);
475
454
  }
476
- }, i.prototype.forEach = function(t, e) {
477
- var n = this;
478
- return e = we(e), new e(function(s, r) {
479
- var o = new Gt({
455
+ }, n.prototype.forEach = function(t, e) {
456
+ var i = this;
457
+ return e = _e(e), new e(function(s, r) {
458
+ var o = new Wt({
480
459
  next: function(a) {
481
460
  try {
482
461
  t(a);
@@ -487,73 +466,73 @@ var _ = function() {
487
466
  error: r,
488
467
  complete: s
489
468
  });
490
- n.subscribe(o);
469
+ i.subscribe(o);
491
470
  });
492
- }, i.prototype._subscribe = function(t) {
471
+ }, n.prototype._subscribe = function(t) {
493
472
  var e;
494
473
  return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
495
- }, i.prototype[ee] = function() {
474
+ }, n.prototype[te] = function() {
496
475
  return this;
497
- }, i.prototype.pipe = function() {
476
+ }, n.prototype.pipe = function() {
498
477
  for (var t = [], e = 0; e < arguments.length; e++)
499
478
  t[e] = arguments[e];
500
- return hn(t)(this);
501
- }, i.prototype.toPromise = function(t) {
479
+ return ci(t)(this);
480
+ }, n.prototype.toPromise = function(t) {
502
481
  var e = this;
503
- return t = we(t), new t(function(n, s) {
482
+ return t = _e(t), new t(function(i, s) {
504
483
  var r;
505
484
  e.subscribe(function(o) {
506
485
  return r = o;
507
486
  }, function(o) {
508
487
  return s(o);
509
488
  }, function() {
510
- return n(r);
489
+ return i(r);
511
490
  });
512
491
  });
513
- }, i.create = function(t) {
514
- return new i(t);
515
- }, i;
492
+ }, n.create = function(t) {
493
+ return new n(t);
494
+ }, n;
516
495
  }();
517
- function we(i) {
496
+ function _e(n) {
518
497
  var t;
519
- return (t = i ?? li.Promise) !== null && t !== void 0 ? t : Promise;
498
+ return (t = n ?? si.Promise) !== null && t !== void 0 ? t : Promise;
520
499
  }
521
- function dn(i) {
522
- return i && v(i.next) && v(i.error) && v(i.complete);
500
+ function ui(n) {
501
+ return n && m(n.next) && m(n.error) && m(n.complete);
523
502
  }
524
- function fn(i) {
525
- return i && i instanceof te || dn(i) && ai(i);
503
+ function di(n) {
504
+ return n && n instanceof Vt || ui(n) && an(n);
526
505
  }
527
- function pn(i) {
528
- return v(i == null ? void 0 : i.lift);
506
+ function hi(n) {
507
+ return m(n == null ? void 0 : n.lift);
529
508
  }
530
- function Et(i) {
509
+ function Et(n) {
531
510
  return function(t) {
532
- if (pn(t))
511
+ if (hi(t))
533
512
  return t.lift(function(e) {
534
513
  try {
535
- return i(e, this);
536
- } catch (n) {
537
- this.error(n);
514
+ return n(e, this);
515
+ } catch (i) {
516
+ this.error(i);
538
517
  }
539
518
  });
540
519
  throw new TypeError("Unable to lift unknown Observable type");
541
520
  };
542
521
  }
543
- function gt(i, t, e, n, s) {
544
- return new gn(i, t, e, n, s);
522
+ function gt(n, t, e, i, s) {
523
+ return new fi(n, t, e, i, s);
545
524
  }
546
- var gn = function(i) {
547
- Z(t, i);
548
- function t(e, n, s, r, o, a) {
549
- var l = i.call(this, e) || this;
550
- return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = n ? function(c) {
525
+ var fi = function(n) {
526
+ K(t, n);
527
+ function t(e, i, s, r, o, a) {
528
+ var l = n.call(this, e) || this;
529
+ return l.onFinalize = o, l.shouldUnsubscribe = a, l._next = i ? function(c) {
551
530
  try {
552
- n(c);
531
+ i(c);
553
532
  } catch (u) {
554
533
  e.error(u);
555
534
  }
556
- } : i.prototype._next, l._error = r ? function(c) {
535
+ } : n.prototype._next, l._error = r ? function(c) {
557
536
  try {
558
537
  r(c);
559
538
  } catch (u) {
@@ -561,7 +540,7 @@ var gn = function(i) {
561
540
  } finally {
562
541
  this.unsubscribe();
563
542
  }
564
- } : i.prototype._error, l._complete = s ? function() {
543
+ } : n.prototype._error, l._complete = s ? function() {
565
544
  try {
566
545
  s();
567
546
  } catch (c) {
@@ -569,39 +548,39 @@ var gn = function(i) {
569
548
  } finally {
570
549
  this.unsubscribe();
571
550
  }
572
- } : i.prototype._complete, l;
551
+ } : n.prototype._complete, l;
573
552
  }
574
553
  return t.prototype.unsubscribe = function() {
575
554
  var e;
576
555
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
577
- var n = this.closed;
578
- i.prototype.unsubscribe.call(this), !n && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
556
+ var i = this.closed;
557
+ n.prototype.unsubscribe.call(this), !i && ((e = this.onFinalize) === null || e === void 0 || e.call(this));
579
558
  }
580
559
  }, t;
581
- }(te), $n = ri(function(i) {
560
+ }(Vt), pi = rn(function(n) {
582
561
  return function() {
583
- i(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
562
+ n(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
584
563
  };
585
- }), Ct = function(i) {
586
- Z(t, i);
564
+ }), Ct = function(n) {
565
+ K(t, n);
587
566
  function t() {
588
- var e = i.call(this) || this;
567
+ var e = n.call(this) || this;
589
568
  return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
590
569
  }
591
570
  return t.prototype.lift = function(e) {
592
- var n = new xe(this, this);
593
- return n.operator = e, n;
571
+ var i = new we(this, this);
572
+ return i.operator = e, i;
594
573
  }, t.prototype._throwIfClosed = function() {
595
574
  if (this.closed)
596
- throw new $n();
575
+ throw new pi();
597
576
  }, t.prototype.next = function(e) {
598
- var n = this;
577
+ var i = this;
599
578
  ft(function() {
600
579
  var s, r;
601
- if (n._throwIfClosed(), !n.isStopped) {
602
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
580
+ if (i._throwIfClosed(), !i.isStopped) {
581
+ i.currentObservers || (i.currentObservers = Array.from(i.observers));
603
582
  try {
604
- for (var o = q(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
583
+ for (var o = W(i.currentObservers), a = o.next(); !a.done; a = o.next()) {
605
584
  var l = a.value;
606
585
  l.next(e);
607
586
  }
@@ -617,11 +596,11 @@ var gn = function(i) {
617
596
  }
618
597
  });
619
598
  }, t.prototype.error = function(e) {
620
- var n = this;
599
+ var i = this;
621
600
  ft(function() {
622
- if (n._throwIfClosed(), !n.isStopped) {
623
- n.hasError = n.isStopped = !0, n.thrownError = e;
624
- for (var s = n.observers; s.length; )
601
+ if (i._throwIfClosed(), !i.isStopped) {
602
+ i.hasError = i.isStopped = !0, i.thrownError = e;
603
+ for (var s = i.observers; s.length; )
625
604
  s.shift().error(e);
626
605
  }
627
606
  });
@@ -630,8 +609,8 @@ var gn = function(i) {
630
609
  ft(function() {
631
610
  if (e._throwIfClosed(), !e.isStopped) {
632
611
  e.isStopped = !0;
633
- for (var n = e.observers; n.length; )
634
- n.shift().complete();
612
+ for (var i = e.observers; i.length; )
613
+ i.shift().complete();
635
614
  }
636
615
  });
637
616
  }, t.prototype.unsubscribe = function() {
@@ -644,47 +623,47 @@ var gn = function(i) {
644
623
  enumerable: !1,
645
624
  configurable: !0
646
625
  }), t.prototype._trySubscribe = function(e) {
647
- return this._throwIfClosed(), i.prototype._trySubscribe.call(this, e);
626
+ return this._throwIfClosed(), n.prototype._trySubscribe.call(this, e);
648
627
  }, t.prototype._subscribe = function(e) {
649
628
  return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
650
629
  }, t.prototype._innerSubscribe = function(e) {
651
- var n = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
652
- return r || o ? oi : (this.currentObservers = null, a.push(e), new kt(function() {
653
- n.currentObservers = null, qt(a, e);
630
+ var i = this, s = this, r = s.hasError, o = s.isStopped, a = s.observers;
631
+ return r || o ? on : (this.currentObservers = null, a.push(e), new kt(function() {
632
+ i.currentObservers = null, qt(a, e);
654
633
  }));
655
634
  }, t.prototype._checkFinalizedStatuses = function(e) {
656
- var n = this, s = n.hasError, r = n.thrownError, o = n.isStopped;
635
+ var i = this, s = i.hasError, r = i.thrownError, o = i.isStopped;
657
636
  s ? e.error(r) : o && e.complete();
658
637
  }, t.prototype.asObservable = function() {
659
638
  var e = new _();
660
639
  return e.source = this, e;
661
- }, t.create = function(e, n) {
662
- return new xe(e, n);
640
+ }, t.create = function(e, i) {
641
+ return new we(e, i);
663
642
  }, t;
664
- }(_), xe = function(i) {
665
- Z(t, i);
666
- function t(e, n) {
667
- var s = i.call(this) || this;
668
- return s.destination = e, s.source = n, s;
643
+ }(_), we = function(n) {
644
+ K(t, n);
645
+ function t(e, i) {
646
+ var s = n.call(this) || this;
647
+ return s.destination = e, s.source = i, s;
669
648
  }
670
649
  return t.prototype.next = function(e) {
671
- var n, s;
672
- (s = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || s === void 0 || s.call(n, e);
650
+ var i, s;
651
+ (s = (i = this.destination) === null || i === void 0 ? void 0 : i.next) === null || s === void 0 || s.call(i, e);
673
652
  }, t.prototype.error = function(e) {
674
- var n, s;
675
- (s = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || s === void 0 || s.call(n, e);
653
+ var i, s;
654
+ (s = (i = this.destination) === null || i === void 0 ? void 0 : i.error) === null || s === void 0 || s.call(i, e);
676
655
  }, t.prototype.complete = function() {
677
- var e, n;
678
- (n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
656
+ var e, i;
657
+ (i = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || i === void 0 || i.call(e);
679
658
  }, t.prototype._subscribe = function(e) {
680
- var n, s;
681
- return (s = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && s !== void 0 ? s : oi;
659
+ var i, s;
660
+ return (s = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(e)) !== null && s !== void 0 ? s : on;
682
661
  }, t;
683
- }(Ct), vn = function(i) {
684
- Z(t, i);
662
+ }(Ct), gi = function(n) {
663
+ K(t, n);
685
664
  function t(e) {
686
- var n = i.call(this) || this;
687
- return n._value = e, n;
665
+ var i = n.call(this) || this;
666
+ return i._value = e, i;
688
667
  }
689
668
  return Object.defineProperty(t.prototype, "value", {
690
669
  get: function() {
@@ -693,66 +672,66 @@ var gn = function(i) {
693
672
  enumerable: !1,
694
673
  configurable: !0
695
674
  }), t.prototype._subscribe = function(e) {
696
- var n = i.prototype._subscribe.call(this, e);
697
- return !n.closed && e.next(this._value), n;
675
+ var i = n.prototype._subscribe.call(this, e);
676
+ return !i.closed && e.next(this._value), i;
698
677
  }, t.prototype.getValue = function() {
699
- var e = this, n = e.hasError, s = e.thrownError, r = e._value;
700
- if (n)
678
+ var e = this, i = e.hasError, s = e.thrownError, r = e._value;
679
+ if (i)
701
680
  throw s;
702
681
  return this._throwIfClosed(), r;
703
682
  }, t.prototype.next = function(e) {
704
- i.prototype.next.call(this, this._value = e);
683
+ n.prototype.next.call(this, this._value = e);
705
684
  }, t;
706
- }(Ct), mn = new _(function(i) {
707
- return i.complete();
685
+ }(Ct), $i = new _(function(n) {
686
+ return n.complete();
708
687
  });
709
- function yn(i) {
710
- return i && v(i.schedule);
688
+ function mi(n) {
689
+ return n && m(n.schedule);
711
690
  }
712
- function di(i) {
713
- return i[i.length - 1];
691
+ function un(n) {
692
+ return n[n.length - 1];
714
693
  }
715
- function bn(i) {
716
- return yn(di(i)) ? i.pop() : void 0;
694
+ function yi(n) {
695
+ return mi(un(n)) ? n.pop() : void 0;
717
696
  }
718
- function _n(i, t) {
719
- return typeof di(i) == "number" ? i.pop() : t;
697
+ function bi(n, t) {
698
+ return typeof un(n) == "number" ? n.pop() : t;
720
699
  }
721
- var fi = function(i) {
722
- return i && typeof i.length == "number" && typeof i != "function";
700
+ var dn = function(n) {
701
+ return n && typeof n.length == "number" && typeof n != "function";
723
702
  };
724
- function pi(i) {
725
- return v(i == null ? void 0 : i.then);
703
+ function hn(n) {
704
+ return m(n == null ? void 0 : n.then);
726
705
  }
727
- function gi(i) {
728
- return v(i[ee]);
706
+ function fn(n) {
707
+ return m(n[te]);
729
708
  }
730
- function $i(i) {
731
- return Symbol.asyncIterator && v(i == null ? void 0 : i[Symbol.asyncIterator]);
709
+ function pn(n) {
710
+ return Symbol.asyncIterator && m(n == null ? void 0 : n[Symbol.asyncIterator]);
732
711
  }
733
- function vi(i) {
734
- return new TypeError("You provided " + (i !== null && typeof i == "object" ? "an invalid object" : "'" + i + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
712
+ function gn(n) {
713
+ return new TypeError("You provided " + (n !== null && typeof n == "object" ? "an invalid object" : "'" + n + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
735
714
  }
736
- function wn() {
715
+ function vi() {
737
716
  return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
738
717
  }
739
- var mi = wn();
740
- function yi(i) {
741
- return v(i == null ? void 0 : i[mi]);
718
+ var $n = vi();
719
+ function mn(n) {
720
+ return m(n == null ? void 0 : n[$n]);
742
721
  }
743
- function bi(i) {
744
- return rn(this, arguments, function() {
745
- var e, n, s, r;
746
- return si(this, function(o) {
722
+ function yn(n) {
723
+ return ni(this, arguments, function() {
724
+ var e, i, s, r;
725
+ return sn(this, function(o) {
747
726
  switch (o.label) {
748
727
  case 0:
749
- e = i.getReader(), o.label = 1;
728
+ e = n.getReader(), o.label = 1;
750
729
  case 1:
751
730
  o.trys.push([1, , 9, 10]), o.label = 2;
752
731
  case 2:
753
732
  return [4, F(e.read())];
754
733
  case 3:
755
- return n = o.sent(), s = n.value, r = n.done, r ? [4, F(void 0)] : [3, 5];
734
+ return i = o.sent(), s = i.value, r = i.done, r ? [4, F(void 0)] : [3, 5];
756
735
  case 4:
757
736
  return [2, o.sent()];
758
737
  case 5:
@@ -771,57 +750,57 @@ function bi(i) {
771
750
  });
772
751
  });
773
752
  }
774
- function _i(i) {
775
- return v(i == null ? void 0 : i.getReader);
776
- }
777
- function X(i) {
778
- if (i instanceof _)
779
- return i;
780
- if (i != null) {
781
- if (gi(i))
782
- return xn(i);
783
- if (fi(i))
784
- return Sn(i);
785
- if (pi(i))
786
- return An(i);
787
- if ($i(i))
788
- return wi(i);
789
- if (yi(i))
790
- return kn(i);
791
- if (_i(i))
792
- return En(i);
793
- }
794
- throw vi(i);
795
- }
796
- function xn(i) {
753
+ function bn(n) {
754
+ return m(n == null ? void 0 : n.getReader);
755
+ }
756
+ function X(n) {
757
+ if (n instanceof _)
758
+ return n;
759
+ if (n != null) {
760
+ if (fn(n))
761
+ return _i(n);
762
+ if (dn(n))
763
+ return wi(n);
764
+ if (hn(n))
765
+ return xi(n);
766
+ if (pn(n))
767
+ return vn(n);
768
+ if (mn(n))
769
+ return Si(n);
770
+ if (bn(n))
771
+ return Ai(n);
772
+ }
773
+ throw gn(n);
774
+ }
775
+ function _i(n) {
797
776
  return new _(function(t) {
798
- var e = i[ee]();
799
- if (v(e.subscribe))
777
+ var e = n[te]();
778
+ if (m(e.subscribe))
800
779
  return e.subscribe(t);
801
780
  throw new TypeError("Provided object does not correctly implement Symbol.observable");
802
781
  });
803
782
  }
804
- function Sn(i) {
783
+ function wi(n) {
805
784
  return new _(function(t) {
806
- for (var e = 0; e < i.length && !t.closed; e++)
807
- t.next(i[e]);
785
+ for (var e = 0; e < n.length && !t.closed; e++)
786
+ t.next(n[e]);
808
787
  t.complete();
809
788
  });
810
789
  }
811
- function An(i) {
790
+ function xi(n) {
812
791
  return new _(function(t) {
813
- i.then(function(e) {
792
+ n.then(function(e) {
814
793
  t.closed || (t.next(e), t.complete());
815
794
  }, function(e) {
816
795
  return t.error(e);
817
- }).then(null, ui);
796
+ }).then(null, ln);
818
797
  });
819
798
  }
820
- function kn(i) {
799
+ function Si(n) {
821
800
  return new _(function(t) {
822
- var e, n;
801
+ var e, i;
823
802
  try {
824
- for (var s = q(i), r = s.next(); !r.done; r = s.next()) {
803
+ for (var s = W(n), r = s.next(); !r.done; r = s.next()) {
825
804
  var o = r.value;
826
805
  if (t.next(o), t.closed)
827
806
  return;
@@ -830,7 +809,7 @@ function kn(i) {
830
809
  e = { error: a };
831
810
  } finally {
832
811
  try {
833
- r && !r.done && (n = s.return) && n.call(s);
812
+ r && !r.done && (i = s.return) && i.call(s);
834
813
  } finally {
835
814
  if (e) throw e.error;
836
815
  }
@@ -838,29 +817,29 @@ function kn(i) {
838
817
  t.complete();
839
818
  });
840
819
  }
841
- function wi(i) {
820
+ function vn(n) {
842
821
  return new _(function(t) {
843
- Cn(i, t).catch(function(e) {
822
+ ki(n, t).catch(function(e) {
844
823
  return t.error(e);
845
824
  });
846
825
  });
847
826
  }
848
- function En(i) {
849
- return wi(bi(i));
827
+ function Ai(n) {
828
+ return vn(yn(n));
850
829
  }
851
- function Cn(i, t) {
852
- var e, n, s, r;
853
- return sn(this, void 0, void 0, function() {
830
+ function ki(n, t) {
831
+ var e, i, s, r;
832
+ return ei(this, void 0, void 0, function() {
854
833
  var o, a;
855
- return si(this, function(l) {
834
+ return sn(this, function(l) {
856
835
  switch (l.label) {
857
836
  case 0:
858
- l.trys.push([0, 5, 6, 11]), e = on(i), l.label = 1;
837
+ l.trys.push([0, 5, 6, 11]), e = ii(n), l.label = 1;
859
838
  case 1:
860
839
  return [4, e.next()];
861
840
  case 2:
862
- if (n = l.sent(), !!n.done) return [3, 4];
863
- if (o = n.value, t.next(o), t.closed)
841
+ if (i = l.sent(), !!i.done) return [3, 4];
842
+ if (o = i.value, t.next(o), t.closed)
864
843
  return [2];
865
844
  l.label = 3;
866
845
  case 3:
@@ -870,7 +849,7 @@ function Cn(i, t) {
870
849
  case 5:
871
850
  return a = l.sent(), s = { error: a }, [3, 11];
872
851
  case 6:
873
- return l.trys.push([6, , 9, 10]), n && !n.done && (r = e.return) ? [4, r.call(e)] : [3, 8];
852
+ return l.trys.push([6, , 9, 10]), i && !i.done && (r = e.return) ? [4, r.call(e)] : [3, 8];
874
853
  case 7:
875
854
  l.sent(), l.label = 8;
876
855
  case 8:
@@ -886,60 +865,60 @@ function Cn(i, t) {
886
865
  });
887
866
  });
888
867
  }
889
- function L(i, t, e, n, s) {
890
- n === void 0 && (n = 0), s === void 0 && (s = !1);
868
+ function L(n, t, e, i, s) {
869
+ i === void 0 && (i = 0), s === void 0 && (s = !1);
891
870
  var r = t.schedule(function() {
892
- e(), s ? i.add(this.schedule(null, n)) : this.unsubscribe();
893
- }, n);
894
- if (i.add(r), !s)
871
+ e(), s ? n.add(this.schedule(null, i)) : this.unsubscribe();
872
+ }, i);
873
+ if (n.add(r), !s)
895
874
  return r;
896
875
  }
897
- function xi(i, t) {
898
- return t === void 0 && (t = 0), Et(function(e, n) {
899
- e.subscribe(gt(n, function(s) {
900
- return L(n, i, function() {
901
- return n.next(s);
876
+ function _n(n, t) {
877
+ return t === void 0 && (t = 0), Et(function(e, i) {
878
+ e.subscribe(gt(i, function(s) {
879
+ return L(i, n, function() {
880
+ return i.next(s);
902
881
  }, t);
903
882
  }, function() {
904
- return L(n, i, function() {
905
- return n.complete();
883
+ return L(i, n, function() {
884
+ return i.complete();
906
885
  }, t);
907
886
  }, function(s) {
908
- return L(n, i, function() {
909
- return n.error(s);
887
+ return L(i, n, function() {
888
+ return i.error(s);
910
889
  }, t);
911
890
  }));
912
891
  });
913
892
  }
914
- function Si(i, t) {
915
- return t === void 0 && (t = 0), Et(function(e, n) {
916
- n.add(i.schedule(function() {
917
- return e.subscribe(n);
893
+ function wn(n, t) {
894
+ return t === void 0 && (t = 0), Et(function(e, i) {
895
+ i.add(n.schedule(function() {
896
+ return e.subscribe(i);
918
897
  }, t));
919
898
  });
920
899
  }
921
- function On(i, t) {
922
- return X(i).pipe(Si(t), xi(t));
900
+ function Ei(n, t) {
901
+ return X(n).pipe(wn(t), _n(t));
923
902
  }
924
- function Tn(i, t) {
925
- return X(i).pipe(Si(t), xi(t));
903
+ function Ci(n, t) {
904
+ return X(n).pipe(wn(t), _n(t));
926
905
  }
927
- function Pn(i, t) {
906
+ function Oi(n, t) {
928
907
  return new _(function(e) {
929
- var n = 0;
908
+ var i = 0;
930
909
  return t.schedule(function() {
931
- n === i.length ? e.complete() : (e.next(i[n++]), e.closed || this.schedule());
910
+ i === n.length ? e.complete() : (e.next(n[i++]), e.closed || this.schedule());
932
911
  });
933
912
  });
934
913
  }
935
- function In(i, t) {
914
+ function Ti(n, t) {
936
915
  return new _(function(e) {
937
- var n;
916
+ var i;
938
917
  return L(e, t, function() {
939
- n = i[mi](), L(e, t, function() {
918
+ i = n[$n](), L(e, t, function() {
940
919
  var s, r, o;
941
920
  try {
942
- s = n.next(), r = s.value, o = s.done;
921
+ s = i.next(), r = s.value, o = s.done;
943
922
  } catch (a) {
944
923
  e.error(a);
945
924
  return;
@@ -947,122 +926,122 @@ function In(i, t) {
947
926
  o ? e.complete() : e.next(r);
948
927
  }, 0, !0);
949
928
  }), function() {
950
- return v(n == null ? void 0 : n.return) && n.return();
929
+ return m(i == null ? void 0 : i.return) && i.return();
951
930
  };
952
931
  });
953
932
  }
954
- function Ai(i, t) {
955
- if (!i)
933
+ function xn(n, t) {
934
+ if (!n)
956
935
  throw new Error("Iterable cannot be null");
957
936
  return new _(function(e) {
958
937
  L(e, t, function() {
959
- var n = i[Symbol.asyncIterator]();
938
+ var i = n[Symbol.asyncIterator]();
960
939
  L(e, t, function() {
961
- n.next().then(function(s) {
940
+ i.next().then(function(s) {
962
941
  s.done ? e.complete() : e.next(s.value);
963
942
  });
964
943
  }, 0, !0);
965
944
  });
966
945
  });
967
946
  }
968
- function Ln(i, t) {
969
- return Ai(bi(i), t);
970
- }
971
- function Rn(i, t) {
972
- if (i != null) {
973
- if (gi(i))
974
- return On(i, t);
975
- if (fi(i))
976
- return Pn(i, t);
977
- if (pi(i))
978
- return Tn(i, t);
979
- if ($i(i))
980
- return Ai(i, t);
981
- if (yi(i))
982
- return In(i, t);
983
- if (_i(i))
984
- return Ln(i, t);
985
- }
986
- throw vi(i);
987
- }
988
- function Un(i, t) {
989
- return t ? Rn(i, t) : X(i);
990
- }
991
- function jn(i, t) {
992
- return Et(function(e, n) {
947
+ function Pi(n, t) {
948
+ return xn(yn(n), t);
949
+ }
950
+ function Ii(n, t) {
951
+ if (n != null) {
952
+ if (fn(n))
953
+ return Ei(n, t);
954
+ if (dn(n))
955
+ return Oi(n, t);
956
+ if (hn(n))
957
+ return Ci(n, t);
958
+ if (pn(n))
959
+ return xn(n, t);
960
+ if (mn(n))
961
+ return Ti(n, t);
962
+ if (bn(n))
963
+ return Pi(n, t);
964
+ }
965
+ throw gn(n);
966
+ }
967
+ function Li(n, t) {
968
+ return t ? Ii(n, t) : X(n);
969
+ }
970
+ function Ri(n, t) {
971
+ return Et(function(e, i) {
993
972
  var s = 0;
994
- e.subscribe(gt(n, function(r) {
995
- n.next(i.call(t, r, s++));
973
+ e.subscribe(gt(i, function(r) {
974
+ i.next(n.call(t, r, s++));
996
975
  }));
997
976
  });
998
977
  }
999
- function Mn(i, t, e, n, s, r, o, a) {
1000
- var l = [], c = 0, u = 0, h = !1, d = function() {
1001
- h && !l.length && !c && t.complete();
978
+ function Ui(n, t, e, i, s, r, o, a) {
979
+ var l = [], c = 0, u = 0, d = !1, h = function() {
980
+ d && !l.length && !c && t.complete();
1002
981
  }, f = function(g) {
1003
- return c < n ? $(g) : l.push(g);
982
+ return c < i ? $(g) : l.push(g);
1004
983
  }, $ = function(g) {
1005
984
  c++;
1006
985
  var ut = !1;
1007
- X(e(g, u++)).subscribe(gt(t, function(Q) {
1008
- t.next(Q);
986
+ X(e(g, u++)).subscribe(gt(t, function(J) {
987
+ t.next(J);
1009
988
  }, function() {
1010
989
  ut = !0;
1011
990
  }, void 0, function() {
1012
991
  if (ut)
1013
992
  try {
1014
993
  c--;
1015
- for (var Q = function() {
994
+ for (var J = function() {
1016
995
  var Lt = l.shift();
1017
996
  o || $(Lt);
1018
- }; l.length && c < n; )
1019
- Q();
1020
- d();
997
+ }; l.length && c < i; )
998
+ J();
999
+ h();
1021
1000
  } catch (Lt) {
1022
1001
  t.error(Lt);
1023
1002
  }
1024
1003
  }));
1025
1004
  };
1026
- return i.subscribe(gt(t, f, function() {
1027
- h = !0, d();
1005
+ return n.subscribe(gt(t, f, function() {
1006
+ d = !0, h();
1028
1007
  })), function() {
1029
1008
  };
1030
1009
  }
1031
- function ki(i, t, e) {
1032
- return e === void 0 && (e = 1 / 0), v(t) ? ki(function(n, s) {
1033
- return jn(function(r, o) {
1034
- return t(n, r, s, o);
1035
- })(X(i(n, s)));
1036
- }, e) : (typeof t == "number" && (e = t), Et(function(n, s) {
1037
- return Mn(n, s, i, e);
1010
+ function Sn(n, t, e) {
1011
+ return e === void 0 && (e = 1 / 0), m(t) ? Sn(function(i, s) {
1012
+ return Ri(function(r, o) {
1013
+ return t(i, r, s, o);
1014
+ })(X(n(i, s)));
1015
+ }, e) : (typeof t == "number" && (e = t), Et(function(i, s) {
1016
+ return Ui(i, s, n, e);
1038
1017
  }));
1039
1018
  }
1040
- function Nn(i) {
1041
- return i === void 0 && (i = 1 / 0), ki(hi, i);
1019
+ function ji(n) {
1020
+ return n === void 0 && (n = 1 / 0), Sn(cn, n);
1042
1021
  }
1043
- function Bn() {
1044
- for (var i = [], t = 0; t < arguments.length; t++)
1045
- i[t] = arguments[t];
1046
- var e = bn(i), n = _n(i, 1 / 0), s = i;
1047
- return s.length ? s.length === 1 ? X(s[0]) : Nn(n)(Un(s, e)) : mn;
1022
+ function Mi() {
1023
+ for (var n = [], t = 0; t < arguments.length; t++)
1024
+ n[t] = arguments[t];
1025
+ var e = yi(n), i = bi(n, 1 / 0), s = n;
1026
+ return s.length ? s.length === 1 ? X(s[0]) : ji(i)(Li(s, e)) : $i;
1048
1027
  }
1049
1028
  /**
1050
1029
  * @license
1051
1030
  * Copyright 2019 Google LLC
1052
1031
  * SPDX-License-Identifier: BSD-3-Clause
1053
1032
  */
1054
- const pt = globalThis, ie = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = Symbol(), Se = /* @__PURE__ */ new WeakMap();
1055
- let Ei = class {
1056
- constructor(t, e, n) {
1057
- if (this._$cssResult$ = !0, n !== ne) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1033
+ const pt = globalThis, ee = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ne = Symbol(), xe = /* @__PURE__ */ new WeakMap();
1034
+ let An = class {
1035
+ constructor(t, e, i) {
1036
+ if (this._$cssResult$ = !0, i !== ne) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
1058
1037
  this.cssText = t, this.t = e;
1059
1038
  }
1060
1039
  get styleSheet() {
1061
1040
  let t = this.o;
1062
1041
  const e = this.t;
1063
- if (ie && t === void 0) {
1064
- const n = e !== void 0 && e.length === 1;
1065
- n && (t = Se.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), n && Se.set(e, t));
1042
+ if (ee && t === void 0) {
1043
+ const i = e !== void 0 && e.length === 1;
1044
+ i && (t = xe.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && xe.set(e, t));
1066
1045
  }
1067
1046
  return t;
1068
1047
  }
@@ -1070,58 +1049,58 @@ let Ei = class {
1070
1049
  return this.cssText;
1071
1050
  }
1072
1051
  };
1073
- const Hn = (i) => new Ei(typeof i == "string" ? i : i + "", void 0, ne), M = (i, ...t) => {
1074
- const e = i.length === 1 ? i[0] : t.reduce((n, s, r) => n + ((o) => {
1052
+ const Ni = (n) => new An(typeof n == "string" ? n : n + "", void 0, ne), M = (n, ...t) => {
1053
+ const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
1075
1054
  if (o._$cssResult$ === !0) return o.cssText;
1076
1055
  if (typeof o == "number") return o;
1077
1056
  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.");
1078
- })(s) + i[r + 1], i[0]);
1079
- return new Ei(e, i, ne);
1080
- }, Dn = (i, t) => {
1081
- if (ie) i.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1057
+ })(s) + n[r + 1], n[0]);
1058
+ return new An(e, n, ne);
1059
+ }, Bi = (n, t) => {
1060
+ if (ee) n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
1082
1061
  else for (const e of t) {
1083
- const n = document.createElement("style"), s = pt.litNonce;
1084
- s !== void 0 && n.setAttribute("nonce", s), n.textContent = e.cssText, i.appendChild(n);
1062
+ const i = document.createElement("style"), s = pt.litNonce;
1063
+ s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
1085
1064
  }
1086
- }, Ae = ie ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((t) => {
1065
+ }, Se = ee ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
1087
1066
  let e = "";
1088
- for (const n of t.cssRules) e += n.cssText;
1089
- return Hn(e);
1090
- })(i) : i;
1067
+ for (const i of t.cssRules) e += i.cssText;
1068
+ return Ni(e);
1069
+ })(n) : n;
1091
1070
  /**
1092
1071
  * @license
1093
1072
  * Copyright 2017 Google LLC
1094
1073
  * SPDX-License-Identifier: BSD-3-Clause
1095
1074
  */
1096
- const { is: zn, defineProperty: Fn, getOwnPropertyDescriptor: Yn, getOwnPropertyNames: Wn, getOwnPropertySymbols: qn, getPrototypeOf: Gn } = Object, O = globalThis, ke = O.trustedTypes, Kn = ke ? ke.emptyScript : "", jt = O.reactiveElementPolyfillSupport, V = (i, t) => i, $t = { toAttribute(i, t) {
1075
+ const { is: Hi, defineProperty: zi, getOwnPropertyDescriptor: Di, getOwnPropertyNames: Fi, getOwnPropertySymbols: Yi, getPrototypeOf: qi } = Object, O = globalThis, Ae = O.trustedTypes, Wi = Ae ? Ae.emptyScript : "", Ut = O.reactiveElementPolyfillSupport, V = (n, t) => n, $t = { toAttribute(n, t) {
1097
1076
  switch (t) {
1098
1077
  case Boolean:
1099
- i = i ? Kn : null;
1078
+ n = n ? Wi : null;
1100
1079
  break;
1101
1080
  case Object:
1102
1081
  case Array:
1103
- i = i == null ? i : JSON.stringify(i);
1082
+ n = n == null ? n : JSON.stringify(n);
1104
1083
  }
1105
- return i;
1106
- }, fromAttribute(i, t) {
1107
- let e = i;
1084
+ return n;
1085
+ }, fromAttribute(n, t) {
1086
+ let e = n;
1108
1087
  switch (t) {
1109
1088
  case Boolean:
1110
- e = i !== null;
1089
+ e = n !== null;
1111
1090
  break;
1112
1091
  case Number:
1113
- e = i === null ? null : Number(i);
1092
+ e = n === null ? null : Number(n);
1114
1093
  break;
1115
1094
  case Object:
1116
1095
  case Array:
1117
1096
  try {
1118
- e = JSON.parse(i);
1097
+ e = JSON.parse(n);
1119
1098
  } catch {
1120
1099
  e = null;
1121
1100
  }
1122
1101
  }
1123
1102
  return e;
1124
- } }, se = (i, t) => !zn(i, t), Ee = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: se };
1103
+ } }, ie = (n, t) => !Hi(n, t), ke = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ie };
1125
1104
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), O.litPropertyMetadata ?? (O.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
1126
1105
  let B = class extends HTMLElement {
1127
1106
  static addInitializer(t) {
@@ -1130,14 +1109,14 @@ let B = class extends HTMLElement {
1130
1109
  static get observedAttributes() {
1131
1110
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
1132
1111
  }
1133
- static createProperty(t, e = Ee) {
1112
+ static createProperty(t, e = ke) {
1134
1113
  if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
1135
- const n = Symbol(), s = this.getPropertyDescriptor(t, n, e);
1136
- s !== void 0 && Fn(this.prototype, t, s);
1114
+ const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
1115
+ s !== void 0 && zi(this.prototype, t, s);
1137
1116
  }
1138
1117
  }
1139
- static getPropertyDescriptor(t, e, n) {
1140
- const { get: s, set: r } = Yn(this.prototype, t) ?? { get() {
1118
+ static getPropertyDescriptor(t, e, i) {
1119
+ const { get: s, set: r } = Di(this.prototype, t) ?? { get() {
1141
1120
  return this[e];
1142
1121
  }, set(o) {
1143
1122
  this[e] = o;
@@ -1146,31 +1125,31 @@ let B = class extends HTMLElement {
1146
1125
  return s == null ? void 0 : s.call(this);
1147
1126
  }, set(o) {
1148
1127
  const a = s == null ? void 0 : s.call(this);
1149
- r.call(this, o), this.requestUpdate(t, a, n);
1128
+ r.call(this, o), this.requestUpdate(t, a, i);
1150
1129
  }, configurable: !0, enumerable: !0 };
1151
1130
  }
1152
1131
  static getPropertyOptions(t) {
1153
- return this.elementProperties.get(t) ?? Ee;
1132
+ return this.elementProperties.get(t) ?? ke;
1154
1133
  }
1155
1134
  static _$Ei() {
1156
1135
  if (this.hasOwnProperty(V("elementProperties"))) return;
1157
- const t = Gn(this);
1136
+ const t = qi(this);
1158
1137
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
1159
1138
  }
1160
1139
  static finalize() {
1161
1140
  if (this.hasOwnProperty(V("finalized"))) return;
1162
1141
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(V("properties"))) {
1163
- const e = this.properties, n = [...Wn(e), ...qn(e)];
1164
- for (const s of n) this.createProperty(s, e[s]);
1142
+ const e = this.properties, i = [...Fi(e), ...Yi(e)];
1143
+ for (const s of i) this.createProperty(s, e[s]);
1165
1144
  }
1166
1145
  const t = this[Symbol.metadata];
1167
1146
  if (t !== null) {
1168
1147
  const e = litPropertyMetadata.get(t);
1169
- if (e !== void 0) for (const [n, s] of e) this.elementProperties.set(n, s);
1148
+ if (e !== void 0) for (const [i, s] of e) this.elementProperties.set(i, s);
1170
1149
  }
1171
1150
  this._$Eh = /* @__PURE__ */ new Map();
1172
- for (const [e, n] of this.elementProperties) {
1173
- const s = this._$Eu(e, n);
1151
+ for (const [e, i] of this.elementProperties) {
1152
+ const s = this._$Eu(e, i);
1174
1153
  s !== void 0 && this._$Eh.set(s, e);
1175
1154
  }
1176
1155
  this.elementStyles = this.finalizeStyles(this.styles);
@@ -1178,14 +1157,14 @@ let B = class extends HTMLElement {
1178
1157
  static finalizeStyles(t) {
1179
1158
  const e = [];
1180
1159
  if (Array.isArray(t)) {
1181
- const n = new Set(t.flat(1 / 0).reverse());
1182
- for (const s of n) e.unshift(Ae(s));
1183
- } else t !== void 0 && e.push(Ae(t));
1160
+ const i = new Set(t.flat(1 / 0).reverse());
1161
+ for (const s of i) e.unshift(Se(s));
1162
+ } else t !== void 0 && e.push(Se(t));
1184
1163
  return e;
1185
1164
  }
1186
1165
  static _$Eu(t, e) {
1187
- const n = e.attribute;
1188
- return n === !1 ? void 0 : typeof n == "string" ? n : typeof t == "string" ? t.toLowerCase() : void 0;
1166
+ const i = e.attribute;
1167
+ return i === !1 ? void 0 : typeof i == "string" ? i : typeof t == "string" ? t.toLowerCase() : void 0;
1189
1168
  }
1190
1169
  constructor() {
1191
1170
  super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
@@ -1204,18 +1183,18 @@ let B = class extends HTMLElement {
1204
1183
  }
1205
1184
  _$E_() {
1206
1185
  const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
1207
- for (const n of e.keys()) this.hasOwnProperty(n) && (t.set(n, this[n]), delete this[n]);
1186
+ for (const i of e.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
1208
1187
  t.size > 0 && (this._$Ep = t);
1209
1188
  }
1210
1189
  createRenderRoot() {
1211
1190
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
1212
- return Dn(t, this.constructor.elementStyles), t;
1191
+ return Bi(t, this.constructor.elementStyles), t;
1213
1192
  }
1214
1193
  connectedCallback() {
1215
1194
  var t;
1216
1195
  this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
1217
- var n;
1218
- return (n = e.hostConnected) == null ? void 0 : n.call(e);
1196
+ var i;
1197
+ return (i = e.hostConnected) == null ? void 0 : i.call(e);
1219
1198
  });
1220
1199
  }
1221
1200
  enableUpdating(t) {
@@ -1223,38 +1202,38 @@ let B = class extends HTMLElement {
1223
1202
  disconnectedCallback() {
1224
1203
  var t;
1225
1204
  (t = this._$EO) == null || t.forEach((e) => {
1226
- var n;
1227
- return (n = e.hostDisconnected) == null ? void 0 : n.call(e);
1205
+ var i;
1206
+ return (i = e.hostDisconnected) == null ? void 0 : i.call(e);
1228
1207
  });
1229
1208
  }
1230
- attributeChangedCallback(t, e, n) {
1231
- this._$AK(t, n);
1209
+ attributeChangedCallback(t, e, i) {
1210
+ this._$AK(t, i);
1232
1211
  }
1233
1212
  _$EC(t, e) {
1234
1213
  var r;
1235
- const n = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, n);
1236
- if (s !== void 0 && n.reflect === !0) {
1237
- const o = (((r = n.converter) == null ? void 0 : r.toAttribute) !== void 0 ? n.converter : $t).toAttribute(e, n.type);
1214
+ const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
1215
+ if (s !== void 0 && i.reflect === !0) {
1216
+ const o = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : $t).toAttribute(e, i.type);
1238
1217
  this._$Em = t, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
1239
1218
  }
1240
1219
  }
1241
1220
  _$AK(t, e) {
1242
1221
  var r;
1243
- const n = this.constructor, s = n._$Eh.get(t);
1222
+ const i = this.constructor, s = i._$Eh.get(t);
1244
1223
  if (s !== void 0 && this._$Em !== s) {
1245
- const o = n.getPropertyOptions(s), a = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((r = o.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? o.converter : $t;
1224
+ 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 : $t;
1246
1225
  this._$Em = s, this[s] = a.fromAttribute(e, o.type), this._$Em = null;
1247
1226
  }
1248
1227
  }
1249
- requestUpdate(t, e, n) {
1228
+ requestUpdate(t, e, i) {
1250
1229
  if (t !== void 0) {
1251
- if (n ?? (n = this.constructor.getPropertyOptions(t)), !(n.hasChanged ?? se)(this[t], e)) return;
1252
- this.P(t, e, n);
1230
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? ie)(this[t], e)) return;
1231
+ this.P(t, e, i);
1253
1232
  }
1254
1233
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
1255
1234
  }
1256
- P(t, e, n) {
1257
- this._$AL.has(t) || this._$AL.set(t, e), n.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
1235
+ P(t, e, i) {
1236
+ this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
1258
1237
  }
1259
1238
  async _$ET() {
1260
1239
  this.isUpdatePending = !0;
@@ -1270,7 +1249,7 @@ let B = class extends HTMLElement {
1270
1249
  return this.performUpdate();
1271
1250
  }
1272
1251
  performUpdate() {
1273
- var n;
1252
+ var i;
1274
1253
  if (!this.isUpdatePending) return;
1275
1254
  if (!this.hasUpdated) {
1276
1255
  if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
@@ -1283,7 +1262,7 @@ let B = class extends HTMLElement {
1283
1262
  let t = !1;
1284
1263
  const e = this._$AL;
1285
1264
  try {
1286
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (n = this._$EO) == null || n.forEach((s) => {
1265
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (i = this._$EO) == null || i.forEach((s) => {
1287
1266
  var r;
1288
1267
  return (r = s.hostUpdate) == null ? void 0 : r.call(s);
1289
1268
  }), this.update(e)) : this._$EU();
@@ -1296,9 +1275,9 @@ let B = class extends HTMLElement {
1296
1275
  }
1297
1276
  _$AE(t) {
1298
1277
  var e;
1299
- (e = this._$EO) == null || e.forEach((n) => {
1278
+ (e = this._$EO) == null || e.forEach((i) => {
1300
1279
  var s;
1301
- return (s = n.hostUpdated) == null ? void 0 : s.call(n);
1280
+ return (s = i.hostUpdated) == null ? void 0 : s.call(i);
1302
1281
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
1303
1282
  }
1304
1283
  _$EU() {
@@ -1321,76 +1300,76 @@ let B = class extends HTMLElement {
1321
1300
  firstUpdated(t) {
1322
1301
  }
1323
1302
  };
1324
- B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[V("elementProperties")] = /* @__PURE__ */ new Map(), B[V("finalized")] = /* @__PURE__ */ new Map(), jt == null || jt({ ReactiveElement: B }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.4");
1303
+ B.elementStyles = [], B.shadowRootOptions = { mode: "open" }, B[V("elementProperties")] = /* @__PURE__ */ new Map(), B[V("finalized")] = /* @__PURE__ */ new Map(), Ut == null || Ut({ ReactiveElement: B }), (O.reactiveElementVersions ?? (O.reactiveElementVersions = [])).push("2.0.4");
1325
1304
  /**
1326
1305
  * @license
1327
1306
  * Copyright 2017 Google LLC
1328
1307
  * SPDX-License-Identifier: BSD-3-Clause
1329
1308
  */
1330
- const tt = globalThis, vt = tt.trustedTypes, Ce = vt ? vt.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Ci = "$lit$", C = `lit$${Math.random().toFixed(9).slice(2)}$`, Oi = "?" + C, Zn = `<${Oi}>`, R = document, it = () => R.createComment(""), nt = (i) => i === null || typeof i != "object" && typeof i != "function", re = Array.isArray, Xn = (i) => re(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Mt = `[
1331
- \f\r]`, J = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Oe = /-->/g, Te = />/g, T = RegExp(`>|${Mt}(?:([^\\s"'>=/]+)(${Mt}*=${Mt}*(?:[^
1332
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Pe = /'/g, Ie = /"/g, Ti = /^(?:script|style|textarea|title)$/i, Qn = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), k = Qn(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Le = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
1333
- function Pi(i, t) {
1334
- if (!re(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
1335
- return Ce !== void 0 ? Ce.createHTML(t) : t;
1336
- }
1337
- const Jn = (i, t) => {
1338
- const e = i.length - 1, n = [];
1339
- let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = J;
1309
+ const tt = globalThis, mt = tt.trustedTypes, Ee = mt ? mt.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, kn = "$lit$", C = `lit$${Math.random().toFixed(9).slice(2)}$`, En = "?" + C, Gi = `<${En}>`, R = document, nt = () => R.createComment(""), it = (n) => n === null || typeof n != "object" && typeof n != "function", se = Array.isArray, Zi = (n) => se(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", jt = `[
1310
+ \f\r]`, Q = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ce = /-->/g, Oe = />/g, T = RegExp(`>|${jt}(?:([^\\s"'>=/]+)(${jt}*=${jt}*(?:[^
1311
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Te = /'/g, Pe = /"/g, Cn = /^(?:script|style|textarea|title)$/i, Ki = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), k = Ki(1), U = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Ie = /* @__PURE__ */ new WeakMap(), I = R.createTreeWalker(R, 129);
1312
+ function On(n, t) {
1313
+ if (!se(n) || !n.hasOwnProperty("raw")) throw Error("invalid template strings array");
1314
+ return Ee !== void 0 ? Ee.createHTML(t) : t;
1315
+ }
1316
+ const Xi = (n, t) => {
1317
+ const e = n.length - 1, i = [];
1318
+ let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = Q;
1340
1319
  for (let a = 0; a < e; a++) {
1341
- const l = i[a];
1342
- let c, u, h = -1, d = 0;
1343
- for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); ) d = o.lastIndex, o === J ? u[1] === "!--" ? o = Oe : u[1] !== void 0 ? o = Te : u[2] !== void 0 ? (Ti.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = s ?? J, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? Ie : Pe) : o === Ie || o === Pe ? o = T : o === Oe || o === Te ? o = J : (o = T, s = void 0);
1344
- const f = o === T && i[a + 1].startsWith("/>") ? " " : "";
1345
- r += o === J ? l + Zn : h >= 0 ? (n.push(c), l.slice(0, h) + Ci + l.slice(h) + C + f) : l + C + (h === -2 ? a : f);
1320
+ const l = n[a];
1321
+ let c, u, d = -1, h = 0;
1322
+ for (; h < l.length && (o.lastIndex = h, u = o.exec(l), u !== null); ) h = o.lastIndex, o === Q ? u[1] === "!--" ? o = Ce : u[1] !== void 0 ? o = Oe : u[2] !== void 0 ? (Cn.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = T) : u[3] !== void 0 && (o = T) : o === T ? u[0] === ">" ? (o = s ?? Q, d = -1) : u[1] === void 0 ? d = -2 : (d = o.lastIndex - u[2].length, c = u[1], o = u[3] === void 0 ? T : u[3] === '"' ? Pe : Te) : o === Pe || o === Te ? o = T : o === Ce || o === Oe ? o = Q : (o = T, s = void 0);
1323
+ const f = o === T && n[a + 1].startsWith("/>") ? " " : "";
1324
+ r += o === Q ? l + Gi : d >= 0 ? (i.push(c), l.slice(0, d) + kn + l.slice(d) + C + f) : l + C + (d === -2 ? a : f);
1346
1325
  }
1347
- return [Pi(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
1326
+ return [On(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
1348
1327
  };
1349
- let Kt = class Ii {
1350
- constructor({ strings: t, _$litType$: e }, n) {
1328
+ let Gt = class Tn {
1329
+ constructor({ strings: t, _$litType$: e }, i) {
1351
1330
  let s;
1352
1331
  this.parts = [];
1353
1332
  let r = 0, o = 0;
1354
- const a = t.length - 1, l = this.parts, [c, u] = Jn(t, e);
1355
- if (this.el = Ii.createElement(c, n), I.currentNode = this.el.content, e === 2 || e === 3) {
1356
- const h = this.el.content.firstChild;
1357
- h.replaceWith(...h.childNodes);
1333
+ const a = t.length - 1, l = this.parts, [c, u] = Xi(t, e);
1334
+ if (this.el = Tn.createElement(c, i), I.currentNode = this.el.content, e === 2 || e === 3) {
1335
+ const d = this.el.content.firstChild;
1336
+ d.replaceWith(...d.childNodes);
1358
1337
  }
1359
1338
  for (; (s = I.nextNode()) !== null && l.length < a; ) {
1360
1339
  if (s.nodeType === 1) {
1361
- if (s.hasAttributes()) for (const h of s.getAttributeNames()) if (h.endsWith(Ci)) {
1362
- const d = u[o++], f = s.getAttribute(h).split(C), $ = /([.?@])?(.*)/.exec(d);
1363
- l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? ts : $[1] === "?" ? es : $[1] === "@" ? is : Ot }), s.removeAttribute(h);
1364
- } else h.startsWith(C) && (l.push({ type: 6, index: r }), s.removeAttribute(h));
1365
- if (Ti.test(s.tagName)) {
1366
- const h = s.textContent.split(C), d = h.length - 1;
1367
- if (d > 0) {
1368
- s.textContent = vt ? vt.emptyScript : "";
1369
- for (let f = 0; f < d; f++) s.append(h[f], it()), I.nextNode(), l.push({ type: 2, index: ++r });
1370
- s.append(h[d], it());
1340
+ if (s.hasAttributes()) for (const d of s.getAttributeNames()) if (d.endsWith(kn)) {
1341
+ const h = u[o++], f = s.getAttribute(d).split(C), $ = /([.?@])?(.*)/.exec(h);
1342
+ l.push({ type: 1, index: r, name: $[2], strings: f, ctor: $[1] === "." ? Qi : $[1] === "?" ? Vi : $[1] === "@" ? ts : Ot }), s.removeAttribute(d);
1343
+ } else d.startsWith(C) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
1344
+ if (Cn.test(s.tagName)) {
1345
+ const d = s.textContent.split(C), h = d.length - 1;
1346
+ if (h > 0) {
1347
+ s.textContent = mt ? mt.emptyScript : "";
1348
+ for (let f = 0; f < h; f++) s.append(d[f], nt()), I.nextNode(), l.push({ type: 2, index: ++r });
1349
+ s.append(d[h], nt());
1371
1350
  }
1372
1351
  }
1373
- } else if (s.nodeType === 8) if (s.data === Oi) l.push({ type: 2, index: r });
1352
+ } else if (s.nodeType === 8) if (s.data === En) l.push({ type: 2, index: r });
1374
1353
  else {
1375
- let h = -1;
1376
- for (; (h = s.data.indexOf(C, h + 1)) !== -1; ) l.push({ type: 7, index: r }), h += C.length - 1;
1354
+ let d = -1;
1355
+ for (; (d = s.data.indexOf(C, d + 1)) !== -1; ) l.push({ type: 7, index: r }), d += C.length - 1;
1377
1356
  }
1378
1357
  r++;
1379
1358
  }
1380
1359
  }
1381
1360
  static createElement(t, e) {
1382
- const n = R.createElement("template");
1383
- return n.innerHTML = t, n;
1361
+ const i = R.createElement("template");
1362
+ return i.innerHTML = t, i;
1384
1363
  }
1385
1364
  };
1386
- function G(i, t, e = i, n) {
1365
+ function G(n, t, e = n, i) {
1387
1366
  var o, a;
1388
1367
  if (t === U) return t;
1389
- let s = n !== void 0 ? (o = e._$Co) == null ? void 0 : o[n] : e._$Cl;
1390
- const r = nt(t) ? void 0 : t._$litDirective$;
1391
- 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(i), s._$AT(i, e, n)), n !== void 0 ? (e._$Co ?? (e._$Co = []))[n] = s : e._$Cl = s), s !== void 0 && (t = G(i, s._$AS(i, t.values), s, n)), t;
1368
+ let s = i !== void 0 ? (o = e._$Co) == null ? void 0 : o[i] : e._$Cl;
1369
+ const r = it(t) ? void 0 : t._$litDirective$;
1370
+ 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 = G(n, s._$AS(n, t.values), s, i)), t;
1392
1371
  }
1393
- class Vn {
1372
+ class Ji {
1394
1373
  constructor(t, e) {
1395
1374
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
1396
1375
  }
@@ -1401,13 +1380,13 @@ class Vn {
1401
1380
  return this._$AM._$AU;
1402
1381
  }
1403
1382
  u(t) {
1404
- const { el: { content: e }, parts: n } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
1383
+ const { el: { content: e }, parts: i } = this._$AD, s = ((t == null ? void 0 : t.creationScope) ?? R).importNode(e, !0);
1405
1384
  I.currentNode = s;
1406
- let r = I.nextNode(), o = 0, a = 0, l = n[0];
1385
+ let r = I.nextNode(), o = 0, a = 0, l = i[0];
1407
1386
  for (; l !== void 0; ) {
1408
1387
  if (o === l.index) {
1409
1388
  let c;
1410
- l.type === 2 ? c = new at(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new ns(r, this, t)), this._$AV.push(c), l = n[++a];
1389
+ l.type === 2 ? c = new at(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new es(r, this, t)), this._$AV.push(c), l = i[++a];
1411
1390
  }
1412
1391
  o !== (l == null ? void 0 : l.index) && (r = I.nextNode(), o++);
1413
1392
  }
@@ -1415,7 +1394,7 @@ class Vn {
1415
1394
  }
1416
1395
  p(t) {
1417
1396
  let e = 0;
1418
- for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
1397
+ for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
1419
1398
  }
1420
1399
  }
1421
1400
  class at {
@@ -1423,8 +1402,8 @@ class at {
1423
1402
  var t;
1424
1403
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
1425
1404
  }
1426
- constructor(t, e, n, s) {
1427
- this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = n, this.options = s, this._$Cv = (s == null ? void 0 : s.isConnected) ?? !0;
1405
+ constructor(t, e, i, s) {
1406
+ this.type = 2, this._$AH = p, 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;
1428
1407
  }
1429
1408
  get parentNode() {
1430
1409
  let t = this._$AA.parentNode;
@@ -1438,7 +1417,7 @@ class at {
1438
1417
  return this._$AB;
1439
1418
  }
1440
1419
  _$AI(t, e = this) {
1441
- t = G(this, t, e), nt(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Xn(t) ? this.k(t) : this._(t);
1420
+ t = G(this, t, e), it(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== U && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Zi(t) ? this.k(t) : this._(t);
1442
1421
  }
1443
1422
  O(t) {
1444
1423
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -1447,31 +1426,31 @@ class at {
1447
1426
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1448
1427
  }
1449
1428
  _(t) {
1450
- this._$AH !== p && nt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
1429
+ this._$AH !== p && it(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
1451
1430
  }
1452
1431
  $(t) {
1453
1432
  var r;
1454
- const { values: e, _$litType$: n } = t, s = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = Kt.createElement(Pi(n.h, n.h[0]), this.options)), n);
1433
+ const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = Gt.createElement(On(i.h, i.h[0]), this.options)), i);
1455
1434
  if (((r = this._$AH) == null ? void 0 : r._$AD) === s) this._$AH.p(e);
1456
1435
  else {
1457
- const o = new Vn(s, this), a = o.u(this.options);
1436
+ const o = new Ji(s, this), a = o.u(this.options);
1458
1437
  o.p(e), this.T(a), this._$AH = o;
1459
1438
  }
1460
1439
  }
1461
1440
  _$AC(t) {
1462
- let e = Le.get(t.strings);
1463
- return e === void 0 && Le.set(t.strings, e = new Kt(t)), e;
1441
+ let e = Ie.get(t.strings);
1442
+ return e === void 0 && Ie.set(t.strings, e = new Gt(t)), e;
1464
1443
  }
1465
1444
  k(t) {
1466
- re(this._$AH) || (this._$AH = [], this._$AR());
1445
+ se(this._$AH) || (this._$AH = [], this._$AR());
1467
1446
  const e = this._$AH;
1468
- let n, s = 0;
1469
- for (const r of t) s === e.length ? e.push(n = new at(this.O(it()), this.O(it()), this, this.options)) : n = e[s], n._$AI(r), s++;
1470
- s < e.length && (this._$AR(n && n._$AB.nextSibling, s), e.length = s);
1447
+ let i, s = 0;
1448
+ for (const r of t) s === e.length ? e.push(i = new at(this.O(nt()), this.O(nt()), this, this.options)) : i = e[s], i._$AI(r), s++;
1449
+ s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
1471
1450
  }
1472
1451
  _$AR(t = this._$AA.nextSibling, e) {
1473
- var n;
1474
- for ((n = this._$AP) == null ? void 0 : n.call(this, !1, !0, e); t && t !== this._$AB; ) {
1452
+ var i;
1453
+ for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
1475
1454
  const s = t.nextSibling;
1476
1455
  t.remove(), t = s;
1477
1456
  }
@@ -1488,17 +1467,17 @@ class Ot {
1488
1467
  get _$AU() {
1489
1468
  return this._$AM._$AU;
1490
1469
  }
1491
- constructor(t, e, n, s, r) {
1492
- this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = p;
1470
+ constructor(t, e, i, s, r) {
1471
+ this.type = 1, this._$AH = p, 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 = p;
1493
1472
  }
1494
- _$AI(t, e = this, n, s) {
1473
+ _$AI(t, e = this, i, s) {
1495
1474
  const r = this.strings;
1496
1475
  let o = !1;
1497
- if (r === void 0) t = G(this, t, e, 0), o = !nt(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
1476
+ if (r === void 0) t = G(this, t, e, 0), o = !it(t) || t !== this._$AH && t !== U, o && (this._$AH = t);
1498
1477
  else {
1499
1478
  const a = t;
1500
1479
  let l, c;
1501
- for (t = r[0], l = 0; l < r.length - 1; l++) c = G(this, a[n + l], e, l), c === U && (c = this._$AH[l]), o || (o = !nt(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1480
+ for (t = r[0], l = 0; l < r.length - 1; l++) c = G(this, a[i + l], e, l), c === U && (c = this._$AH[l]), o || (o = !it(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
1502
1481
  }
1503
1482
  o && !s && this.j(t);
1504
1483
  }
@@ -1506,7 +1485,7 @@ class Ot {
1506
1485
  t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1507
1486
  }
1508
1487
  }
1509
- let ts = class extends Ot {
1488
+ let Qi = class extends Ot {
1510
1489
  constructor() {
1511
1490
  super(...arguments), this.type = 3;
1512
1491
  }
@@ -1514,7 +1493,7 @@ let ts = class extends Ot {
1514
1493
  this.element[this.name] = t === p ? void 0 : t;
1515
1494
  }
1516
1495
  };
1517
- class es extends Ot {
1496
+ class Vi extends Ot {
1518
1497
  constructor() {
1519
1498
  super(...arguments), this.type = 4;
1520
1499
  }
@@ -1522,23 +1501,23 @@ class es extends Ot {
1522
1501
  this.element.toggleAttribute(this.name, !!t && t !== p);
1523
1502
  }
1524
1503
  }
1525
- class is extends Ot {
1526
- constructor(t, e, n, s, r) {
1527
- super(t, e, n, s, r), this.type = 5;
1504
+ class ts extends Ot {
1505
+ constructor(t, e, i, s, r) {
1506
+ super(t, e, i, s, r), this.type = 5;
1528
1507
  }
1529
1508
  _$AI(t, e = this) {
1530
1509
  if ((t = G(this, t, e, 0) ?? p) === U) return;
1531
- const n = this._$AH, s = t === p && n !== p || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== p && (n === p || s);
1532
- s && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
1510
+ const i = this._$AH, s = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== p && (i === p || s);
1511
+ s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
1533
1512
  }
1534
1513
  handleEvent(t) {
1535
1514
  var e;
1536
1515
  typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1537
1516
  }
1538
1517
  }
1539
- class ns {
1540
- constructor(t, e, n) {
1541
- this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = n;
1518
+ class es {
1519
+ constructor(t, e, i) {
1520
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
1542
1521
  }
1543
1522
  get _$AU() {
1544
1523
  return this._$AM._$AU;
@@ -1547,16 +1526,16 @@ class ns {
1547
1526
  G(this, t);
1548
1527
  }
1549
1528
  }
1550
- const Nt = tt.litHtmlPolyfillSupport;
1551
- Nt == null || Nt(Kt, at), (tt.litHtmlVersions ?? (tt.litHtmlVersions = [])).push("3.2.1");
1552
- const ss = (i, t, e) => {
1553
- const n = (e == null ? void 0 : e.renderBefore) ?? t;
1554
- let s = n._$litPart$;
1529
+ const Mt = tt.litHtmlPolyfillSupport;
1530
+ Mt == null || Mt(Gt, at), (tt.litHtmlVersions ?? (tt.litHtmlVersions = [])).push("3.2.1");
1531
+ const ns = (n, t, e) => {
1532
+ const i = (e == null ? void 0 : e.renderBefore) ?? t;
1533
+ let s = i._$litPart$;
1555
1534
  if (s === void 0) {
1556
1535
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
1557
- n._$litPart$ = s = new at(t.insertBefore(it(), r), r, void 0, e ?? {});
1536
+ i._$litPart$ = s = new at(t.insertBefore(nt(), r), r, void 0, e ?? {});
1558
1537
  }
1559
- return s._$AI(i), s;
1538
+ return s._$AI(n), s;
1560
1539
  };
1561
1540
  /**
1562
1541
  * @license
@@ -1574,7 +1553,7 @@ let x = class extends B {
1574
1553
  }
1575
1554
  update(t) {
1576
1555
  const e = this.render();
1577
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ss(e, this.renderRoot, this.renderOptions);
1556
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ns(e, this.renderRoot, this.renderOptions);
1578
1557
  }
1579
1558
  connectedCallback() {
1580
1559
  var t;
@@ -1588,57 +1567,57 @@ let x = class extends B {
1588
1567
  return U;
1589
1568
  }
1590
1569
  };
1591
- var ni;
1592
- x._$litElement$ = !0, x.finalized = !0, (ni = globalThis.litElementHydrateSupport) == null || ni.call(globalThis, { LitElement: x });
1593
- const Bt = globalThis.litElementPolyfillSupport;
1594
- Bt == null || Bt({ LitElement: x });
1570
+ var nn;
1571
+ x._$litElement$ = !0, x.finalized = !0, (nn = globalThis.litElementHydrateSupport) == null || nn.call(globalThis, { LitElement: x });
1572
+ const Nt = globalThis.litElementPolyfillSupport;
1573
+ Nt == null || Nt({ LitElement: x });
1595
1574
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
1596
1575
  /**
1597
1576
  * @license
1598
1577
  * Copyright 2017 Google LLC
1599
1578
  * SPDX-License-Identifier: BSD-3-Clause
1600
1579
  */
1601
- const rs = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: se }, os = (i = rs, t, e) => {
1602
- const { kind: n, metadata: s } = e;
1580
+ const is = { attribute: !0, type: String, converter: $t, reflect: !1, hasChanged: ie }, ss = (n = is, t, e) => {
1581
+ const { kind: i, metadata: s } = e;
1603
1582
  let r = globalThis.litPropertyMetadata.get(s);
1604
- if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name, i), n === "accessor") {
1583
+ if (r === void 0 && globalThis.litPropertyMetadata.set(s, r = /* @__PURE__ */ new Map()), r.set(e.name, n), i === "accessor") {
1605
1584
  const { name: o } = e;
1606
1585
  return { set(a) {
1607
1586
  const l = t.get.call(this);
1608
- t.set.call(this, a), this.requestUpdate(o, l, i);
1587
+ t.set.call(this, a), this.requestUpdate(o, l, n);
1609
1588
  }, init(a) {
1610
- return a !== void 0 && this.P(o, void 0, i), a;
1589
+ return a !== void 0 && this.P(o, void 0, n), a;
1611
1590
  } };
1612
1591
  }
1613
- if (n === "setter") {
1592
+ if (i === "setter") {
1614
1593
  const { name: o } = e;
1615
1594
  return function(a) {
1616
1595
  const l = this[o];
1617
- t.call(this, a), this.requestUpdate(o, l, i);
1596
+ t.call(this, a), this.requestUpdate(o, l, n);
1618
1597
  };
1619
1598
  }
1620
- throw Error("Unsupported decorator location: " + n);
1599
+ throw Error("Unsupported decorator location: " + i);
1621
1600
  };
1622
- function b(i) {
1623
- return (t, e) => typeof e == "object" ? os(i, t, e) : ((n, s, r) => {
1601
+ function v(n) {
1602
+ return (t, e) => typeof e == "object" ? ss(n, t, e) : ((i, s, r) => {
1624
1603
  const o = s.hasOwnProperty(r);
1625
- return s.constructor.createProperty(r, o ? { ...n, wrapped: !0 } : n), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
1626
- })(i, t, e);
1604
+ return s.constructor.createProperty(r, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(s, r) : void 0;
1605
+ })(n, t, e);
1627
1606
  }
1628
1607
  /**
1629
1608
  * @license
1630
1609
  * Copyright 2017 Google LLC
1631
1610
  * SPDX-License-Identifier: BSD-3-Clause
1632
1611
  */
1633
- function N(i) {
1634
- return b({ ...i, state: !0, attribute: !1 });
1612
+ function N(n) {
1613
+ return v({ ...n, state: !0, attribute: !1 });
1635
1614
  }
1636
- var as = Object.defineProperty, ls = (i, t, e, n) => {
1637
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
1638
- (o = i[r]) && (s = o(t, e, s) || s);
1639
- return s && as(t, e, s), s;
1615
+ var rs = Object.defineProperty, os = (n, t, e, i) => {
1616
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
1617
+ (o = n[r]) && (s = o(t, e, s) || s);
1618
+ return s && rs(t, e, s), s;
1640
1619
  };
1641
- const pe = class pe extends x {
1620
+ const fe = class fe extends x {
1642
1621
  constructor() {
1643
1622
  super(...arguments), this.anchor = "BottomRight";
1644
1623
  }
@@ -1650,7 +1629,7 @@ const pe = class pe extends x {
1650
1629
  return this.anchor === "BottomLeft" ? this.renderRoot.host.classList.add("bottom-left") : this.anchor === "BottomRight" && this.renderRoot.host.classList.add("bottom-right"), p;
1651
1630
  }
1652
1631
  };
1653
- pe.styles = [
1632
+ fe.styles = [
1654
1633
  M`
1655
1634
  :host {
1656
1635
  position: fixed;
@@ -1669,24 +1648,24 @@ pe.styles = [
1669
1648
  }
1670
1649
  `
1671
1650
  ];
1672
- let mt = pe;
1673
- ls([
1674
- b({ attribute: !0 })
1675
- ], mt.prototype, "anchor");
1651
+ let yt = fe;
1652
+ os([
1653
+ v({ attribute: !0 })
1654
+ ], yt.prototype, "anchor");
1676
1655
  /**
1677
1656
  * @license
1678
1657
  * Copyright 2017 Google LLC
1679
1658
  * SPDX-License-Identifier: BSD-3-Clause
1680
1659
  */
1681
- const oe = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ae = (i) => (...t) => ({ _$litDirective$: i, values: t });
1682
- let Li = class {
1660
+ const re = { ATTRIBUTE: 1, CHILD: 2 }, oe = (n) => (...t) => ({ _$litDirective$: n, values: t });
1661
+ let Pn = class {
1683
1662
  constructor(t) {
1684
1663
  }
1685
1664
  get _$AU() {
1686
1665
  return this._$AM._$AU;
1687
1666
  }
1688
- _$AT(t, e, n) {
1689
- this._$Ct = t, this._$AM = e, this._$Ci = n;
1667
+ _$AT(t, e, i) {
1668
+ this._$Ct = t, this._$AM = e, this._$Ci = i;
1690
1669
  }
1691
1670
  _$AS(t, e) {
1692
1671
  return this.update(t, e);
@@ -1700,57 +1679,57 @@ let Li = class {
1700
1679
  * Copyright 2020 Google LLC
1701
1680
  * SPDX-License-Identifier: BSD-3-Clause
1702
1681
  */
1703
- const cs = (i) => i.strings === void 0;
1682
+ const as = (n) => n.strings === void 0;
1704
1683
  /**
1705
1684
  * @license
1706
1685
  * Copyright 2017 Google LLC
1707
1686
  * SPDX-License-Identifier: BSD-3-Clause
1708
1687
  */
1709
- const et = (i, t) => {
1710
- var n;
1711
- const e = i._$AN;
1688
+ const et = (n, t) => {
1689
+ var i;
1690
+ const e = n._$AN;
1712
1691
  if (e === void 0) return !1;
1713
- for (const s of e) (n = s._$AO) == null || n.call(s, t, !1), et(s, t);
1692
+ for (const s of e) (i = s._$AO) == null || i.call(s, t, !1), et(s, t);
1714
1693
  return !0;
1715
- }, yt = (i) => {
1694
+ }, bt = (n) => {
1716
1695
  let t, e;
1717
1696
  do {
1718
- if ((t = i._$AM) === void 0) break;
1719
- e = t._$AN, e.delete(i), i = t;
1697
+ if ((t = n._$AM) === void 0) break;
1698
+ e = t._$AN, e.delete(n), n = t;
1720
1699
  } while ((e == null ? void 0 : e.size) === 0);
1721
- }, Ri = (i) => {
1722
- for (let t; t = i._$AM; i = t) {
1700
+ }, In = (n) => {
1701
+ for (let t; t = n._$AM; n = t) {
1723
1702
  let e = t._$AN;
1724
1703
  if (e === void 0) t._$AN = e = /* @__PURE__ */ new Set();
1725
- else if (e.has(i)) break;
1726
- e.add(i), ds(t);
1704
+ else if (e.has(n)) break;
1705
+ e.add(n), us(t);
1727
1706
  }
1728
1707
  };
1729
- function us(i) {
1730
- this._$AN !== void 0 ? (yt(this), this._$AM = i, Ri(this)) : this._$AM = i;
1708
+ function ls(n) {
1709
+ this._$AN !== void 0 ? (bt(this), this._$AM = n, In(this)) : this._$AM = n;
1731
1710
  }
1732
- function hs(i, t = !1, e = 0) {
1733
- const n = this._$AH, s = this._$AN;
1734
- if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(n)) for (let r = e; r < n.length; r++) et(n[r], !1), yt(n[r]);
1735
- else n != null && (et(n, !1), yt(n));
1736
- else et(this, i);
1711
+ function cs(n, t = !1, e = 0) {
1712
+ const i = this._$AH, s = this._$AN;
1713
+ if (s !== void 0 && s.size !== 0) if (t) if (Array.isArray(i)) for (let r = e; r < i.length; r++) et(i[r], !1), bt(i[r]);
1714
+ else i != null && (et(i, !1), bt(i));
1715
+ else et(this, n);
1737
1716
  }
1738
- const ds = (i) => {
1739
- i.type == oe.CHILD && (i._$AP ?? (i._$AP = hs), i._$AQ ?? (i._$AQ = us));
1717
+ const us = (n) => {
1718
+ n.type == re.CHILD && (n._$AP ?? (n._$AP = cs), n._$AQ ?? (n._$AQ = ls));
1740
1719
  };
1741
- class Ui extends Li {
1720
+ class Ln extends Pn {
1742
1721
  constructor() {
1743
1722
  super(...arguments), this._$AN = void 0;
1744
1723
  }
1745
- _$AT(t, e, n) {
1746
- super._$AT(t, e, n), Ri(this), this.isConnected = t._$AU;
1724
+ _$AT(t, e, i) {
1725
+ super._$AT(t, e, i), In(this), this.isConnected = t._$AU;
1747
1726
  }
1748
1727
  _$AO(t, e = !0) {
1749
- var n, s;
1750
- t !== this.isConnected && (this.isConnected = t, t ? (n = this.reconnected) == null || n.call(this) : (s = this.disconnected) == null || s.call(this)), e && (et(this, t), yt(this));
1728
+ var i, s;
1729
+ t !== this.isConnected && (this.isConnected = t, t ? (i = this.reconnected) == null || i.call(this) : (s = this.disconnected) == null || s.call(this)), e && (et(this, t), bt(this));
1751
1730
  }
1752
1731
  setValue(t) {
1753
- if (cs(this._$Ct)) this._$Ct._$AI(t, this);
1732
+ if (as(this._$Ct)) this._$Ct._$AI(t, this);
1754
1733
  else {
1755
1734
  const e = [...this._$Ct._$AH];
1756
1735
  e[this._$Ci] = t, this._$Ct._$AI(e, this, 0);
@@ -1761,34 +1740,34 @@ class Ui extends Li {
1761
1740
  reconnected() {
1762
1741
  }
1763
1742
  }
1764
- const fs = /* @__PURE__ */ new WeakMap();
1765
- let Re = 0;
1766
- const Ht = /* @__PURE__ */ new Map(), Ue = /* @__PURE__ */ new WeakSet(), je = () => new Promise((i) => requestAnimationFrame(i)), Me = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], ps = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Ne = (i, t) => {
1767
- const e = i - t;
1743
+ const ds = /* @__PURE__ */ new WeakMap();
1744
+ let Le = 0;
1745
+ const Bt = /* @__PURE__ */ new Map(), Re = /* @__PURE__ */ new WeakSet(), Ue = () => new Promise((n) => requestAnimationFrame(n)), je = [{ transform: "translateY(-100%) scale(0)", opacity: 0 }], hs = [{ transform: "translateX(100%) scale(0)", opacity: 0 }], Me = (n, t) => {
1746
+ const e = n - t;
1768
1747
  return e === 0 ? void 0 : e;
1769
- }, Be = (i, t) => {
1770
- const e = i / t;
1748
+ }, Ne = (n, t) => {
1749
+ const e = n / t;
1771
1750
  return e === 1 ? void 0 : e;
1772
- }, Dt = { left: (i, t) => {
1773
- const e = Ne(i, t);
1751
+ }, Ht = { left: (n, t) => {
1752
+ const e = Me(n, t);
1774
1753
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
1775
- }, top: (i, t) => {
1776
- const e = Ne(i, t);
1754
+ }, top: (n, t) => {
1755
+ const e = Me(n, t);
1777
1756
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateY(${e}px)` };
1778
- }, width: (i, t) => {
1757
+ }, width: (n, t) => {
1779
1758
  let e;
1780
1759
  t === 0 && (t = 1, e = { width: "1px" });
1781
- const n = Be(i, t);
1782
- return { value: n, overrideFrom: e, transform: n == null || isNaN(n) ? void 0 : `scaleX(${n})` };
1783
- }, height: (i, t) => {
1760
+ const i = Ne(n, t);
1761
+ return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleX(${i})` };
1762
+ }, height: (n, t) => {
1784
1763
  let e;
1785
1764
  t === 0 && (t = 1, e = { height: "1px" });
1786
- const n = Be(i, t);
1787
- return { value: n, overrideFrom: e, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
1788
- } }, gs = { duration: 333, easing: "ease-in-out" }, $s = ["left", "top", "width", "height", "opacity", "color", "background"], He = /* @__PURE__ */ new WeakMap();
1789
- class vs extends Ui {
1765
+ const i = Ne(n, t);
1766
+ return { value: i, overrideFrom: e, transform: i == null || isNaN(i) ? void 0 : `scaleY(${i})` };
1767
+ } }, fs = { duration: 333, easing: "ease-in-out" }, ps = ["left", "top", "width", "height", "opacity", "color", "background"], Be = /* @__PURE__ */ new WeakMap();
1768
+ class gs extends Ln {
1790
1769
  constructor(t) {
1791
- if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === oe.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1770
+ if (super(t), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, t.type === re.CHILD) throw Error("The `animate` directive must be used in attribute position.");
1792
1771
  this.createFinished();
1793
1772
  }
1794
1773
  createFinished() {
@@ -1805,7 +1784,7 @@ class vs extends Ui {
1805
1784
  return p;
1806
1785
  }
1807
1786
  getController() {
1808
- return fs.get(this.u);
1787
+ return ds.get(this.u);
1809
1788
  }
1810
1789
  isDisabled() {
1811
1790
  var t;
@@ -1813,27 +1792,27 @@ class vs extends Ui {
1813
1792
  }
1814
1793
  update(t, [e]) {
1815
1794
  var s;
1816
- const n = this.u === void 0;
1817
- return n && (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, He.set(this.element, this)), this.optionsOrCallback = e, (n || typeof e != "function") && this.p(e), this.render(e);
1795
+ const i = this.u === void 0;
1796
+ 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, Be.set(this.element, this)), this.optionsOrCallback = e, (i || typeof e != "function") && this.p(e), this.render(e);
1818
1797
  }
1819
1798
  p(t) {
1820
1799
  t = t ?? {};
1821
1800
  const e = this.getController();
1822
- e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = $s), this.options = t;
1801
+ e !== void 0 && ((t = { ...e.defaultOptions, ...t }).keyframeOptions = { ...e.defaultOptions.keyframeOptions, ...t.keyframeOptions }), t.properties ?? (t.properties = ps), this.options = t;
1823
1802
  }
1824
1803
  m() {
1825
- const t = {}, e = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
1804
+ const t = {}, e = this.element.getBoundingClientRect(), i = getComputedStyle(this.element);
1826
1805
  return this.options.properties.forEach((s) => {
1827
- const r = e[s] ?? (Dt[s] ? void 0 : n[s]), o = Number(r);
1806
+ const r = e[s] ?? (Ht[s] ? void 0 : i[s]), o = Number(r);
1828
1807
  t[s] = isNaN(o) ? r + "" : o;
1829
1808
  }), t;
1830
1809
  }
1831
1810
  v() {
1832
1811
  let t, e = !0;
1833
- return this.options.guard && (t = this.options.guard(), e = ((n, s) => {
1834
- if (Array.isArray(n)) {
1835
- if (Array.isArray(s) && s.length === n.length && n.every((r, o) => r === s[o])) return !1;
1836
- } else if (s === n) return !1;
1812
+ return this.options.guard && (t = this.options.guard(), e = ((i, s) => {
1813
+ if (Array.isArray(i)) {
1814
+ if (Array.isArray(s) && s.length === i.length && i.every((r, o) => r === s[o])) return !1;
1815
+ } else if (s === i) return !1;
1837
1816
  return !0;
1838
1817
  })(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;
1839
1818
  }
@@ -1843,20 +1822,20 @@ class vs extends Ui {
1843
1822
  async hostUpdated() {
1844
1823
  if (!this.h || !this.element.isConnected || this.options.skipInitial && !this.isHostRendered) return;
1845
1824
  let t;
1846
- this.prepare(), await je;
1847
- const e = this.O(), n = this.j(this.options.keyframeOptions, e), s = this.m();
1825
+ this.prepare(), await Ue;
1826
+ const e = this.O(), i = this.j(this.options.keyframeOptions, e), s = this.m();
1848
1827
  if (this.A !== void 0) {
1849
1828
  const { from: r, to: o } = this.N(this.A, s, e);
1850
1829
  this.log("measured", [this.A, s, r, o]), t = this.calculateKeyframes(r, o);
1851
1830
  } else {
1852
- const r = Ht.get(this.options.inId);
1831
+ const r = Bt.get(this.options.inId);
1853
1832
  if (r) {
1854
- Ht.delete(this.options.inId);
1833
+ Bt.delete(this.options.inId);
1855
1834
  const { from: o, to: a } = this.N(r, s, e);
1856
- t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Re++, t.forEach((l) => l.zIndex = Re);
1835
+ t = this.calculateKeyframes(o, a), t = this.options.in ? [{ ...this.options.in[0], ...t[0] }, ...this.options.in.slice(1), t[1]] : t, Le++, t.forEach((l) => l.zIndex = Le);
1857
1836
  } else this.options.in && (t = [...this.options.in, {}]);
1858
1837
  }
1859
- this.animate(t, n);
1838
+ this.animate(t, i);
1860
1839
  }
1861
1840
  resetStyles() {
1862
1841
  this.P !== void 0 && (this.element.setAttribute("style", this.P ?? ""), this.P = void 0);
@@ -1869,10 +1848,10 @@ class vs extends Ui {
1869
1848
  }
1870
1849
  async disconnected() {
1871
1850
  var e;
1872
- if (!this.h || (this.options.id !== void 0 && Ht.set(this.options.id, this.A), this.options.out === void 0)) return;
1873
- if (this.prepare(), await je(), (e = this.i) == null ? void 0 : e.isConnected) {
1874
- const n = this.o && this.o.parentNode === this.i ? this.o : null;
1875
- if (this.i.insertBefore(this.element, n), this.options.stabilizeOut) {
1851
+ if (!this.h || (this.options.id !== void 0 && Bt.set(this.options.id, this.A), this.options.out === void 0)) return;
1852
+ if (this.prepare(), await Ue(), (e = this.i) == null ? void 0 : e.isConnected) {
1853
+ const i = this.o && this.o.parentNode === this.i ? this.o : null;
1854
+ if (this.i.insertBefore(this.element, i), this.options.stabilizeOut) {
1876
1855
  const s = this.m();
1877
1856
  this.log("stabilizing out");
1878
1857
  const r = this.A.left - s.left, o = this.A.top - s.top;
@@ -1890,55 +1869,55 @@ class vs extends Ui {
1890
1869
  (e = (t = this.options).onStart) == null || e.call(t, this);
1891
1870
  }
1892
1871
  didFinish(t) {
1893
- var e, n;
1894
- t && ((n = (e = this.options).onComplete) == null || n.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1872
+ var e, i;
1873
+ t && ((i = (e = this.options).onComplete) == null || i.call(e, this)), this.A = void 0, this.animatingProperties = void 0, this.frames = void 0, this.resolveFinished();
1895
1874
  }
1896
1875
  O() {
1897
1876
  const t = [];
1898
1877
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
1899
- const n = He.get(e);
1900
- n && !n.isDisabled() && n && t.push(n);
1878
+ const i = Be.get(e);
1879
+ i && !i.isDisabled() && i && t.push(i);
1901
1880
  }
1902
1881
  return t;
1903
1882
  }
1904
1883
  get isHostRendered() {
1905
- const t = Ue.has(this.u);
1884
+ const t = Re.has(this.u);
1906
1885
  return t || this.u.updateComplete.then(() => {
1907
- Ue.add(this.u);
1886
+ Re.add(this.u);
1908
1887
  }), t;
1909
1888
  }
1910
1889
  j(t, e = this.O()) {
1911
- const n = { ...gs };
1912
- return e.forEach((s) => Object.assign(n, s.options.keyframeOptions)), Object.assign(n, t), n;
1890
+ const i = { ...fs };
1891
+ return e.forEach((s) => Object.assign(i, s.options.keyframeOptions)), Object.assign(i, t), i;
1913
1892
  }
1914
- N(t, e, n) {
1893
+ N(t, e, i) {
1915
1894
  t = { ...t }, e = { ...e };
1916
- const s = n.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1895
+ const s = i.map((a) => a.animatingProperties).filter((a) => a !== void 0);
1917
1896
  let r = 1, o = 1;
1918
1897
  return s.length > 0 && (s.forEach((a) => {
1919
1898
  a.width && (r /= a.width), a.height && (o /= a.height);
1920
1899
  }), 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 };
1921
1900
  }
1922
- calculateKeyframes(t, e, n = !1) {
1901
+ calculateKeyframes(t, e, i = !1) {
1923
1902
  const s = {}, r = {};
1924
1903
  let o = !1;
1925
1904
  const a = {};
1926
1905
  for (const l in e) {
1927
1906
  const c = t[l], u = e[l];
1928
- if (l in Dt) {
1929
- const h = Dt[l];
1907
+ if (l in Ht) {
1908
+ const d = Ht[l];
1930
1909
  if (c === void 0 || u === void 0) continue;
1931
- const d = h(c, u);
1932
- d.transform !== void 0 && (a[l] = d.value, o = !0, s.transform = `${s.transform ?? ""} ${d.transform}`, d.overrideFrom !== void 0 && Object.assign(s, d.overrideFrom));
1910
+ const h = d(c, u);
1911
+ h.transform !== void 0 && (a[l] = h.value, o = !0, s.transform = `${s.transform ?? ""} ${h.transform}`, h.overrideFrom !== void 0 && Object.assign(s, h.overrideFrom));
1933
1912
  } else c !== u && c !== void 0 && u !== void 0 && (o = !0, s[l] = c, r[l] = u);
1934
1913
  }
1935
- return s.transformOrigin = r.transformOrigin = n ? "center center" : "top left", this.animatingProperties = a, o ? [s, r] : void 0;
1914
+ return s.transformOrigin = r.transformOrigin = i ? "center center" : "top left", this.animatingProperties = a, o ? [s, r] : void 0;
1936
1915
  }
1937
1916
  async animate(t, e = this.options.keyframeOptions) {
1938
1917
  this.start(), this.frames = t;
1939
- let n = !1;
1918
+ let i = !1;
1940
1919
  if (!this.isAnimating() && !this.isDisabled() && (this.options.onFrames && (this.frames = t = this.options.onFrames(this), this.log("modified frames", t)), t !== void 0)) {
1941
- this.log("animate", [t, e]), n = !0, this.webAnimation = this.element.animate(t, e);
1920
+ this.log("animate", [t, e]), i = !0, this.webAnimation = this.element.animate(t, e);
1942
1921
  const s = this.getController();
1943
1922
  s == null || s.add(this);
1944
1923
  try {
@@ -1947,7 +1926,7 @@ class vs extends Ui {
1947
1926
  }
1948
1927
  s == null || s.remove(this);
1949
1928
  }
1950
- return this.didFinish(n), n;
1929
+ return this.didFinish(i), i;
1951
1930
  }
1952
1931
  isAnimating() {
1953
1932
  var t, e;
@@ -1957,28 +1936,28 @@ class vs extends Ui {
1957
1936
  this.shouldLog && !this.isDisabled() && console.log(t, this.options.id, e);
1958
1937
  }
1959
1938
  }
1960
- const ji = ae(vs), ms = { 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>' };
1939
+ const Rn = oe(gs), $s = { 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>' };
1961
1940
  /**
1962
1941
  * @license
1963
1942
  * Copyright 2018 Google LLC
1964
1943
  * SPDX-License-Identifier: BSD-3-Clause
1965
1944
  */
1966
- const De = ae(class extends Li {
1967
- constructor(i) {
1945
+ const He = oe(class extends Pn {
1946
+ constructor(n) {
1968
1947
  var t;
1969
- if (super(i), i.type !== oe.ATTRIBUTE || i.name !== "class" || ((t = i.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.");
1948
+ if (super(n), n.type !== re.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.");
1970
1949
  }
1971
- render(i) {
1972
- return " " + Object.keys(i).filter((t) => i[t]).join(" ") + " ";
1950
+ render(n) {
1951
+ return " " + Object.keys(n).filter((t) => n[t]).join(" ") + " ";
1973
1952
  }
1974
- update(i, [t]) {
1975
- var n, s;
1953
+ update(n, [t]) {
1954
+ var i, s;
1976
1955
  if (this.st === void 0) {
1977
- this.st = /* @__PURE__ */ new Set(), i.strings !== void 0 && (this.nt = new Set(i.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1978
- for (const r in t) t[r] && !((n = this.nt) != null && n.has(r)) && this.st.add(r);
1956
+ this.st = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((r) => r !== "")));
1957
+ for (const r in t) t[r] && !((i = this.nt) != null && i.has(r)) && this.st.add(r);
1979
1958
  return this.render(t);
1980
1959
  }
1981
- const e = i.element.classList;
1960
+ const e = n.element.classList;
1982
1961
  for (const r of this.st) r in t || (e.remove(r), this.st.delete(r));
1983
1962
  for (const r in t) {
1984
1963
  const o = !!t[r];
@@ -1986,67 +1965,67 @@ const De = ae(class extends Li {
1986
1965
  }
1987
1966
  return U;
1988
1967
  }
1989
- }), A = (i, t, e) => {
1990
- i && e.style.setProperty(t, i);
1991
- }, Mi = (i, t) => {
1992
- var e, n, s, r, o, a, l, c, u;
1993
- A((e = i.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
1994
- (n = i.colors) == null ? void 0 : n.textOnPrimaryBackground,
1968
+ }), A = (n, t, e) => {
1969
+ n && e.style.setProperty(t, n);
1970
+ }, Un = (n, t) => {
1971
+ var e, i, s, r, o, a, l, c, u;
1972
+ A((e = n.colors) == null ? void 0 : e.primaryBackground, "--primary-background", t), A(
1973
+ (i = n.colors) == null ? void 0 : i.textOnPrimaryBackground,
1995
1974
  "--text-on-primary-background",
1996
1975
  t
1997
1976
  ), A(
1998
- (s = i.colors) == null ? void 0 : s.secondaryBackground,
1977
+ (s = n.colors) == null ? void 0 : s.secondaryBackground,
1999
1978
  "--secondary-background",
2000
1979
  t
2001
1980
  ), A(
2002
- (r = i.colors) == null ? void 0 : r.textOnSecondaryBackground,
1981
+ (r = n.colors) == null ? void 0 : r.textOnSecondaryBackground,
2003
1982
  "--text-on-secondary-background",
2004
1983
  t
2005
1984
  ), A(
2006
- (o = i.colors) == null ? void 0 : o.interactiveDestructiveBackground,
1985
+ (o = n.colors) == null ? void 0 : o.interactiveDestructiveBackground,
2007
1986
  "--destructive-color",
2008
1987
  t
2009
1988
  ), A(
2010
- (a = i.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
1989
+ (a = n.colors) == null ? void 0 : a.interactiveTextOnDestructiveBackground,
2011
1990
  "--text-on-destructive-color",
2012
1991
  t
2013
1992
  ), A(
2014
- (l = i.colors) == null ? void 0 : l.interactivePrimaryBackground,
1993
+ (l = n.colors) == null ? void 0 : l.interactivePrimaryBackground,
2015
1994
  "--interactive-primary-background",
2016
1995
  t
2017
1996
  ), A(
2018
- (c = i.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
1997
+ (c = n.colors) == null ? void 0 : c.interactiveTextOnPrimaryBackground,
2019
1998
  "--interactive-text-on-primary-background",
2020
1999
  t
2021
- ), A((u = i.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
2000
+ ), A((u = n.colors) == null ? void 0 : u.focusColor, "--focus-color", t);
2022
2001
  };
2023
2002
  /**
2024
2003
  * @license
2025
2004
  * Copyright 2020 Google LLC
2026
2005
  * SPDX-License-Identifier: BSD-3-Clause
2027
2006
  */
2028
- const bt = () => new ys();
2029
- let ys = class {
2007
+ const vt = () => new ms();
2008
+ let ms = class {
2030
2009
  };
2031
- const zt = /* @__PURE__ */ new WeakMap(), le = ae(class extends Ui {
2032
- render(i) {
2010
+ const zt = /* @__PURE__ */ new WeakMap(), ae = oe(class extends Ln {
2011
+ render(n) {
2033
2012
  return p;
2034
2013
  }
2035
- update(i, [t]) {
2036
- var n;
2014
+ update(n, [t]) {
2015
+ var i;
2037
2016
  const e = t !== this.Y;
2038
- return e && this.Y !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.Y = t, this.ht = (n = i.options) == null ? void 0 : n.host, this.rt(this.ct = i.element)), p;
2017
+ 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)), p;
2039
2018
  }
2040
- rt(i) {
2041
- if (this.isConnected || (i = void 0), typeof this.Y == "function") {
2019
+ rt(n) {
2020
+ if (this.isConnected || (n = void 0), typeof this.Y == "function") {
2042
2021
  const t = this.ht ?? globalThis;
2043
2022
  let e = zt.get(t);
2044
- e === void 0 && (e = /* @__PURE__ */ new WeakMap(), zt.set(t, e)), e.get(this.Y) !== void 0 && this.Y.call(this.ht, void 0), e.set(this.Y, i), i !== void 0 && this.Y.call(this.ht, i);
2045
- } else this.Y.value = i;
2023
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), zt.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);
2024
+ } else this.Y.value = n;
2046
2025
  }
2047
2026
  get lt() {
2048
- var i, t;
2049
- return typeof this.Y == "function" ? (i = zt.get(this.ht ?? globalThis)) == null ? void 0 : i.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
2027
+ var n, t;
2028
+ return typeof this.Y == "function" ? (n = zt.get(this.ht ?? globalThis)) == null ? void 0 : n.get(this.Y) : (t = this.Y) == null ? void 0 : t.value;
2050
2029
  }
2051
2030
  disconnected() {
2052
2031
  this.lt === this.ct && this.rt(void 0);
@@ -2055,14 +2034,14 @@ const zt = /* @__PURE__ */ new WeakMap(), le = ae(class extends Ui {
2055
2034
  this.rt(this.ct);
2056
2035
  }
2057
2036
  });
2058
- var bs = Object.defineProperty, lt = (i, t, e, n) => {
2059
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
2060
- (o = i[r]) && (s = o(t, e, s) || s);
2061
- return s && bs(t, e, s), s;
2037
+ var ys = Object.defineProperty, lt = (n, t, e, i) => {
2038
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2039
+ (o = n[r]) && (s = o(t, e, s) || s);
2040
+ return s && ys(t, e, s), s;
2062
2041
  };
2063
- const ge = class ge extends x {
2042
+ const pe = class pe extends x {
2064
2043
  constructor() {
2065
- super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = bt(), this.widgetActive$ = new vn(!1), this.componentIsDestroyed$ = new Ct();
2044
+ super(...arguments), this.active = !1, this.triggerVisible = !0, this.loaded = !1, this.containerRef = vt(), this.widgetActive$ = new gi(!1), this.componentIsDestroyed$ = new Ct();
2066
2045
  }
2067
2046
  async connectedCallback() {
2068
2047
  super.connectedCallback(), this.icon = await this._renderSymbol(), this.loaded = !0, this._applyBranding();
@@ -2097,17 +2076,17 @@ const ge = class ge extends x {
2097
2076
  }
2098
2077
  _applyBranding() {
2099
2078
  var t;
2100
- (t = this.application) != null && t.settings && Mi(this.application.settings.branding, this);
2079
+ (t = this.application) != null && t.settings && Un(this.application.settings.branding, this);
2101
2080
  }
2102
2081
  async _renderSymbol() {
2103
2082
  var a, l, c;
2104
2083
  const t = (a = this.application) == null ? void 0 : a.branding(), e = (l = t == null ? void 0 : t.graphics) == null ? void 0 : l.trigger;
2105
2084
  if (e)
2106
2085
  return k` <img src=${e} class="trigger-icon" alt="" /> `;
2107
- const n = (c = this.application) == null ? void 0 : c.triggerIcon;
2108
- if (!n)
2086
+ const i = (c = this.application) == null ? void 0 : c.triggerIcon;
2087
+ if (!i)
2109
2088
  return p;
2110
- const s = async (u) => ms, { type: r, content: o } = n;
2089
+ const s = async (u) => $s, { type: r, content: o } = i;
2111
2090
  switch (r) {
2112
2091
  case "Telia": {
2113
2092
  const u = await s();
@@ -2128,22 +2107,22 @@ const ge = class ge extends x {
2128
2107
  this.triggerVisible = !0;
2129
2108
  }
2130
2109
  render() {
2131
- var t, e, n, s;
2110
+ var t, e, i, s;
2132
2111
  return k`<div
2133
- class=${De({
2112
+ class=${He({
2134
2113
  "trigger-container": !0,
2135
2114
  hidden: !this.triggerVisible
2136
2115
  })}
2137
- ${le(this.containerRef)}
2116
+ ${ae(this.containerRef)}
2138
2117
  >
2139
- ${!this.active && ((s = (n = (e = (t = this.application) == null ? void 0 : t.settings) == null ? void 0 : e.branding) == null ? void 0 : n.other) != null && s.showButtonLabel) ? k`
2118
+ ${!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) ? k`
2140
2119
  <button
2141
2120
  label="${this.application.settings.branding.other.buttonLabelText ?? "Widget trigger"}"
2142
2121
  class="trigger-label"
2143
2122
  @click=${this.toggleActive}
2144
- ${ji({
2123
+ ${Rn({
2145
2124
  keyframeOptions: {},
2146
- in: ps,
2125
+ in: hs,
2147
2126
  stabilizeOut: !0,
2148
2127
  skipInitial: !1
2149
2128
  })}
@@ -2154,7 +2133,7 @@ const ge = class ge extends x {
2154
2133
 
2155
2134
  <button
2156
2135
  label="Widget trigger"
2157
- class=${De({
2136
+ class=${He({
2158
2137
  trigger: !0,
2159
2138
  active: this.active,
2160
2139
  rendered: this.loaded
@@ -2193,7 +2172,7 @@ const ge = class ge extends x {
2193
2172
  </div>`;
2194
2173
  }
2195
2174
  };
2196
- ge.styles = [
2175
+ pe.styles = [
2197
2176
  M`
2198
2177
  :host {
2199
2178
  --voca-rem-multiplier: 0.625;
@@ -2325,9 +2304,9 @@ ge.styles = [
2325
2304
  }
2326
2305
  `
2327
2306
  ];
2328
- let E = ge;
2307
+ let E = pe;
2329
2308
  lt([
2330
- b({ attribute: !1 })
2309
+ v({ attribute: !1 })
2331
2310
  ], E.prototype, "application");
2332
2311
  lt([
2333
2312
  N()
@@ -2341,13 +2320,13 @@ lt([
2341
2320
  lt([
2342
2321
  N()
2343
2322
  ], E.prototype, "icon");
2344
- var _s = Object.defineProperty, P = (i, t, e, n) => {
2345
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
2346
- (o = i[r]) && (s = o(t, e, s) || s);
2347
- return s && _s(t, e, s), s;
2323
+ var bs = Object.defineProperty, P = (n, t, e, i) => {
2324
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2325
+ (o = n[r]) && (s = o(t, e, s) || s);
2326
+ return s && bs(t, e, s), s;
2348
2327
  };
2349
- const Ni = (i) => {
2350
- const e = class e extends i {
2328
+ const jn = (n) => {
2329
+ const e = class e extends n {
2351
2330
  constructor() {
2352
2331
  super(...arguments), this.properties = {}, this.context = {}, this.layout = {}, this.nodes = [];
2353
2332
  }
@@ -2388,53 +2367,53 @@ const Ni = (i) => {
2388
2367
  ];
2389
2368
  let t = e;
2390
2369
  return P([
2391
- b()
2370
+ v()
2392
2371
  ], t.prototype, "properties"), P([
2393
- b()
2372
+ v()
2394
2373
  ], t.prototype, "context"), P([
2395
- b()
2374
+ v()
2396
2375
  ], t.prototype, "layout"), P([
2397
- b()
2376
+ v()
2398
2377
  ], t.prototype, "name"), P([
2399
- b()
2378
+ v()
2400
2379
  ], t.prototype, "type"), P([
2401
- b({ attribute: !1 })
2380
+ v({ attribute: !1 })
2402
2381
  ], t.prototype, "application"), P([
2403
- b({ attribute: !1 })
2382
+ v({ attribute: !1 })
2404
2383
  ], t.prototype, "parent"), t;
2405
- }, $e = class $e extends Ni(x) {
2384
+ }, ge = class ge extends jn(x) {
2406
2385
  render() {
2407
2386
  return k`Non resolved component`;
2408
2387
  }
2409
2388
  };
2410
- $e.styles = [
2389
+ ge.styles = [
2411
2390
  M`
2412
2391
  :host {
2413
2392
  display: block;
2414
2393
  }
2415
2394
  `
2416
2395
  ];
2417
- let Zt = $e;
2396
+ let Zt = ge;
2418
2397
  /**
2419
2398
  * @license
2420
2399
  * Copyright 2021 Google LLC
2421
2400
  * SPDX-License-Identifier: BSD-3-Clause
2422
2401
  */
2423
- function* ws(i, t) {
2424
- if (i !== void 0) {
2402
+ function* vs(n, t) {
2403
+ if (n !== void 0) {
2425
2404
  let e = 0;
2426
- for (const n of i) yield t(n, e++);
2405
+ for (const i of n) yield t(i, e++);
2427
2406
  }
2428
2407
  }
2429
- var st = /* @__PURE__ */ ((i) => (i.Inline = "inline", i.Trigger = "trigger", i))(st || {});
2408
+ var st = /* @__PURE__ */ ((n) => (n.Inline = "inline", n.Trigger = "trigger", n))(st || {});
2430
2409
  /**
2431
2410
  * @license
2432
2411
  * Copyright 2021 Google LLC
2433
2412
  * SPDX-License-Identifier: BSD-3-Clause
2434
2413
  */
2435
- let xs = class extends Event {
2436
- constructor(t, e, n) {
2437
- super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = n ?? !1;
2414
+ let _s = class extends Event {
2415
+ constructor(t, e, i) {
2416
+ super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = i ?? !1;
2438
2417
  }
2439
2418
  };
2440
2419
  /**
@@ -2447,7 +2426,7 @@ let xs = class extends Event {
2447
2426
  * Copyright 2021 Google LLC
2448
2427
  * SPDX-License-Identifier: BSD-3-Clause
2449
2428
  */
2450
- class Ss {
2429
+ class ws {
2451
2430
  get value() {
2452
2431
  return this.o;
2453
2432
  }
@@ -2455,16 +2434,16 @@ class Ss {
2455
2434
  this.setValue(t);
2456
2435
  }
2457
2436
  setValue(t, e = !1) {
2458
- const n = e || !Object.is(t, this.o);
2459
- this.o = t, n && this.updateObservers();
2437
+ const i = e || !Object.is(t, this.o);
2438
+ this.o = t, i && this.updateObservers();
2460
2439
  }
2461
2440
  constructor(t) {
2462
2441
  this.subscriptions = /* @__PURE__ */ new Map(), this.updateObservers = () => {
2463
- for (const [e, { disposer: n }] of this.subscriptions) e(this.o, n);
2442
+ for (const [e, { disposer: i }] of this.subscriptions) e(this.o, i);
2464
2443
  }, t !== void 0 && (this.value = t);
2465
2444
  }
2466
- addCallback(t, e, n) {
2467
- if (!n) return void t(this.value);
2445
+ addCallback(t, e, i) {
2446
+ if (!i) return void t(this.value);
2468
2447
  this.subscriptions.has(t) || this.subscriptions.set(t, { disposer: () => {
2469
2448
  this.subscriptions.delete(t);
2470
2449
  }, consumerHost: e });
@@ -2480,22 +2459,22 @@ class Ss {
2480
2459
  * Copyright 2021 Google LLC
2481
2460
  * SPDX-License-Identifier: BSD-3-Clause
2482
2461
  */
2483
- let As = class extends Event {
2462
+ let xs = class extends Event {
2484
2463
  constructor(t) {
2485
2464
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = t;
2486
2465
  }
2487
2466
  };
2488
- class ze extends Ss {
2489
- constructor(t, e, n) {
2467
+ class ze extends ws {
2468
+ constructor(t, e, i) {
2490
2469
  var s, r;
2491
- super(e.context !== void 0 ? e.initialValue : n), this.onContextRequest = (o) => {
2470
+ super(e.context !== void 0 ? e.initialValue : i), this.onContextRequest = (o) => {
2492
2471
  const a = o.composedPath()[0];
2493
2472
  o.context === this.context && a !== this.host && (o.stopPropagation(), this.addCallback(o.callback, a, o.subscribe));
2494
2473
  }, this.onProviderRequest = (o) => {
2495
2474
  const a = o.composedPath()[0];
2496
2475
  if (o.context !== this.context || a === this.host) return;
2497
2476
  const l = /* @__PURE__ */ new Set();
2498
- for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new xs(this.context, c, !0)));
2477
+ for (const [c, { consumerHost: u }] of this.subscriptions) l.has(c) || (l.add(c), u.dispatchEvent(new _s(this.context, c, !0)));
2499
2478
  o.stopPropagation();
2500
2479
  }, 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);
2501
2480
  }
@@ -2503,7 +2482,7 @@ class ze extends Ss {
2503
2482
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
2504
2483
  }
2505
2484
  hostConnected() {
2506
- this.host.dispatchEvent(new As(this.context));
2485
+ this.host.dispatchEvent(new xs(this.context));
2507
2486
  }
2508
2487
  }
2509
2488
  /**
@@ -2511,23 +2490,23 @@ class ze extends Ss {
2511
2490
  * Copyright 2017 Google LLC
2512
2491
  * SPDX-License-Identifier: BSD-3-Clause
2513
2492
  */
2514
- function ks({ context: i }) {
2493
+ function Ss({ context: n }) {
2515
2494
  return (t, e) => {
2516
- const n = /* @__PURE__ */ new WeakMap();
2495
+ const i = /* @__PURE__ */ new WeakMap();
2517
2496
  if (typeof e == "object") return e.addInitializer(function() {
2518
- n.set(this, new ze(this, { context: i }));
2497
+ i.set(this, new ze(this, { context: n }));
2519
2498
  }), { get() {
2520
2499
  return t.get.call(this);
2521
2500
  }, set(s) {
2522
2501
  var r;
2523
- return (r = n.get(this)) == null || r.setValue(s), t.set.call(this, s);
2502
+ return (r = i.get(this)) == null || r.setValue(s), t.set.call(this, s);
2524
2503
  }, init(s) {
2525
2504
  var r;
2526
- return (r = n.get(this)) == null || r.setValue(s), s;
2505
+ return (r = i.get(this)) == null || r.setValue(s), s;
2527
2506
  } };
2528
2507
  {
2529
2508
  t.constructor.addInitializer((o) => {
2530
- n.set(o, new ze(o, { context: i }));
2509
+ i.set(o, new ze(o, { context: n }));
2531
2510
  });
2532
2511
  const s = Object.getOwnPropertyDescriptor(t, e);
2533
2512
  let r;
@@ -2536,26 +2515,26 @@ function ks({ context: i }) {
2536
2515
  r = { get() {
2537
2516
  return o.get(this);
2538
2517
  }, set(a) {
2539
- n.get(this).setValue(a), o.set(this, a);
2518
+ i.get(this).setValue(a), o.set(this, a);
2540
2519
  }, configurable: !0, enumerable: !0 };
2541
2520
  } else {
2542
2521
  const o = s.set;
2543
2522
  r = { ...s, set(a) {
2544
- n.get(this).setValue(a), o == null || o.call(this, a);
2523
+ i.get(this).setValue(a), o == null || o.call(this, a);
2545
2524
  } };
2546
2525
  }
2547
2526
  return void Object.defineProperty(t, e, r);
2548
2527
  }
2549
2528
  };
2550
2529
  }
2551
- var Es = Object.defineProperty, Bi = (i, t, e, n) => {
2552
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
2553
- (o = i[r]) && (s = o(t, e, s) || s);
2554
- return s && Es(t, e, s), s;
2530
+ var As = Object.defineProperty, Mn = (n, t, e, i) => {
2531
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2532
+ (o = n[r]) && (s = o(t, e, s) || s);
2533
+ return s && As(t, e, s), s;
2555
2534
  };
2556
- const Cs = "application", ve = class ve extends x {
2535
+ const ks = "application", $e = class $e extends x {
2557
2536
  constructor() {
2558
- super(...arguments), this.nodes = [], this.wrapperRef = bt(), this.fullscreen = !1;
2537
+ super(...arguments), this.nodes = [], this.wrapperRef = vt(), this.fullscreen = !1;
2559
2538
  }
2560
2539
  addChild(t) {
2561
2540
  t.parent = this, this.nodes.push(t);
@@ -2564,28 +2543,28 @@ const Cs = "application", ve = class ve extends x {
2564
2543
  if (!this.wrapperRef.value)
2565
2544
  return;
2566
2545
  const t = this.application.settings;
2567
- t != null && t.branding && Mi(t.branding, this.wrapperRef.value);
2546
+ t != null && t.branding && Un(t.branding, this.wrapperRef.value);
2568
2547
  }
2569
2548
  applyStyles() {
2570
2549
  if (!this.wrapperRef.value)
2571
2550
  return;
2572
2551
  const t = this.application.styles(), e = this.wrapperRef.value;
2573
- Object.entries(t).forEach(([n, s]) => {
2574
- e.style.setProperty(`--${n}`, s);
2552
+ Object.entries(t).forEach(([i, s]) => {
2553
+ e.style.setProperty(`--${i}`, s);
2575
2554
  });
2576
2555
  }
2577
2556
  firstUpdated(t) {
2578
2557
  this.applyBranding(), this.applyStyles();
2579
2558
  }
2580
2559
  render() {
2581
- var n, s;
2560
+ var i, s;
2582
2561
  const t = this.application.settings.components.conversation;
2583
- return ((s = (n = t == null ? void 0 : t.properties) == null ? void 0 : n.chat) == null ? void 0 : s.isThirdPartyWidget) ? this.renderRoot.host.classList.add("third-party") : this.application.renderStrategy === st.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"), k`<div class="widget-container" ${le(this.wrapperRef)}>
2584
- ${ws(this.nodes, (r) => r)}
2562
+ 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 === st.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"), k`<div class="widget-container" ${ae(this.wrapperRef)}>
2563
+ ${vs(this.nodes, (r) => r)}
2585
2564
  </div>`;
2586
2565
  }
2587
2566
  };
2588
- ve.styles = M`
2567
+ $e.styles = M`
2589
2568
  :host {
2590
2569
  --font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
2591
2570
  --spacing-xs: 0.2rem;
@@ -2738,13 +2717,13 @@ ve.styles = M`
2738
2717
  animation: none;
2739
2718
  }
2740
2719
  `;
2741
- let rt = ve;
2742
- Bi([
2743
- b({ attribute: !0 })
2720
+ let rt = $e;
2721
+ Mn([
2722
+ v({ attribute: !0 })
2744
2723
  ], rt.prototype, "fullscreen");
2745
- Bi([
2746
- b({ attribute: !1 }),
2747
- ks({ context: Cs })
2724
+ Mn([
2725
+ v({ attribute: !1 }),
2726
+ Ss({ context: ks })
2748
2727
  ], rt.prototype, "application");
2749
2728
  const At = class At {
2750
2729
  // TODO:
@@ -2753,11 +2732,11 @@ const At = class At {
2753
2732
  this._endpoint = t;
2754
2733
  }
2755
2734
  async getSite(t) {
2756
- const n = await (await fetch(t)).json();
2757
- return n ? {
2758
- id: n.id,
2759
- triggers: n.triggers || [],
2760
- apps: (n.widgets || []).map((s) => {
2735
+ const i = await (await fetch(t)).json();
2736
+ return i ? {
2737
+ id: i.id,
2738
+ triggers: i.triggers || [],
2739
+ apps: (i.widgets || []).map((s) => {
2761
2740
  let r = st.Trigger;
2762
2741
  s.renderStrategy.toLowerCase() === "inline" && (r = st.Inline);
2763
2742
  const o = s.widgetId ? s.widgetId : s.id, a = typeof s.autoActivate == "boolean" ? s.autoActivate : !1, l = typeof s.anchor == "string" ? s.anchor : "BottomRight", c = typeof s.triggerIcon == "string" ? s.triggerIcon : "question";
@@ -2776,19 +2755,19 @@ const At = class At {
2776
2755
  } : null;
2777
2756
  }
2778
2757
  async getWidget(t) {
2779
- const n = await (await fetch(`${this._endpoint}/widget/${t}`)).json();
2780
- return n ? {
2781
- name: n.name,
2782
- config: JSON.parse(n.configuration)
2758
+ const i = await (await fetch(`${this._endpoint}/widget/${t}`)).json();
2759
+ return i ? {
2760
+ name: i.name,
2761
+ config: JSON.parse(i.configuration)
2783
2762
  } : null;
2784
2763
  }
2785
2764
  };
2786
2765
  At.endpoint = "https://widgets.ace.teliacompany.net/api";
2787
- let Fe = At;
2788
- var Os = Object.defineProperty, ce = (i, t, e, n) => {
2789
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
2790
- (o = i[r]) && (s = o(t, e, s) || s);
2791
- return s && Os(t, e, s), s;
2766
+ let De = At;
2767
+ var Es = Object.defineProperty, le = (n, t, e, i) => {
2768
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
2769
+ (o = n[r]) && (s = o(t, e, s) || s);
2770
+ return s && Es(t, e, s), s;
2792
2771
  };
2793
2772
  const me = class me extends x {
2794
2773
  constructor() {
@@ -2829,28 +2808,28 @@ me.styles = [
2829
2808
  }
2830
2809
  `
2831
2810
  ];
2832
- let K = me;
2833
- ce([
2834
- b({ attribute: !0 })
2835
- ], K.prototype, "name");
2836
- ce([
2811
+ let Z = me;
2812
+ le([
2813
+ v({ attribute: !0 })
2814
+ ], Z.prototype, "name");
2815
+ le([
2837
2816
  N()
2838
- ], K.prototype, "widget");
2839
- ce([
2817
+ ], Z.prototype, "widget");
2818
+ le([
2840
2819
  N()
2841
- ], K.prototype, "status");
2842
- customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", mt);
2820
+ ], Z.prototype, "status");
2821
+ customElements.get("ace-trigger-slot") || customElements.define("ace-trigger-slot", yt);
2843
2822
  customElements.get("ace-trigger") || customElements.define("ace-trigger", E);
2844
2823
  customElements.get("ace-unresolved-component") || customElements.define("ace-unresolved-component", Zt);
2845
2824
  customElements.get("ace-wrapper") || customElements.define("ace-wrapper", rt);
2846
- customElements.get("ace-widget") || customElements.define("ace-widget", K);
2847
- const Ts = () => "10000000-1000-4000-8000-100000000000".replace(
2825
+ customElements.get("ace-widget") || customElements.define("ace-widget", Z);
2826
+ const Cs = () => "10000000-1000-4000-8000-100000000000".replace(
2848
2827
  /[018]/g,
2849
- (i) => (+i ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +i / 4).toString(16)
2850
- ), Ps = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Ts();
2851
- class Is {
2852
- constructor(t, e, n, s, r, o, a = !0) {
2853
- this.label = t, this.icon = e, this.onClick = n, this.closeOnClick = s, this.key = r, this.update = new Ct(), this.id = Ps(), this._controller = o, this.enabled = a;
2828
+ (n) => (+n ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> +n / 4).toString(16)
2829
+ ), Os = () => typeof crypto.randomUUID == "function" ? crypto.randomUUID() : Cs();
2830
+ class Ts {
2831
+ constructor(t, e, i, s, r, o, a = !0) {
2832
+ this.label = t, this.icon = e, this.onClick = i, this.closeOnClick = s, this.key = r, this.update = new Ct(), this.id = Os(), this._controller = o, this.enabled = a;
2854
2833
  }
2855
2834
  updateLabel(t) {
2856
2835
  this.label = t, this.update.next();
@@ -2865,7 +2844,7 @@ class Is {
2865
2844
  return this.update.asObservable();
2866
2845
  }
2867
2846
  }
2868
- class Ls {
2847
+ class Ps {
2869
2848
  constructor(t) {
2870
2849
  this._options = [], this._subscription = null, this._host = t, t.addController(this);
2871
2850
  }
@@ -2875,7 +2854,7 @@ class Ls {
2875
2854
  this._subscription && this._subscription.unsubscribe(), this._options = [];
2876
2855
  }
2877
2856
  addOption(t) {
2878
- const e = new Is(
2857
+ const e = new Ts(
2879
2858
  t.label,
2880
2859
  t.icon,
2881
2860
  t.onClick,
@@ -2891,7 +2870,7 @@ class Ls {
2891
2870
  handleUpdate() {
2892
2871
  this._subscription && this._subscription.unsubscribe();
2893
2872
  const t = this._options.map((e) => e.subscribe());
2894
- this._subscription = Bn(t).subscribe(() => {
2873
+ this._subscription = Mi(t).subscribe(() => {
2895
2874
  this._host.requestUpdate();
2896
2875
  });
2897
2876
  }
@@ -2906,230 +2885,153 @@ class Ls {
2906
2885
  }
2907
2886
  }
2908
2887
  const H = {
2909
- allRenderFn: !1,
2910
- cmpDidLoad: !0,
2911
- cmpDidUnload: !1,
2912
- cmpDidUpdate: !0,
2913
- cmpDidRender: !0,
2914
- cmpWillLoad: !0,
2915
- cmpWillUpdate: !0,
2916
- cmpWillRender: !0,
2917
- connectedCallback: !0,
2918
- disconnectedCallback: !0,
2919
- element: !0,
2920
- event: !0,
2921
2888
  hasRenderFn: !0,
2922
- lifecycle: !0,
2923
- hostListener: !0,
2924
- hostListenerTargetWindow: !0,
2925
- hostListenerTargetDocument: !0,
2926
- hostListenerTargetBody: !0,
2927
- hostListenerTargetParent: !1,
2928
- hostListenerTarget: !0,
2929
- member: !0,
2930
- method: !0,
2931
- mode: !0,
2932
- observeAttribute: !0,
2933
- prop: !0,
2934
- propMutable: !0,
2935
2889
  reflect: !0,
2936
- scoped: !0,
2937
- shadowDom: !0,
2938
- slot: !0,
2939
- cssAnnotations: !0,
2940
- state: !0,
2941
- style: !0,
2942
- svg: !0,
2943
- updatable: !0,
2944
- vdomAttribute: !0,
2945
- vdomXlink: !0,
2946
- vdomClass: !0,
2947
- vdomFunctional: !0,
2948
- vdomKey: !0,
2949
- vdomListener: !0,
2950
- vdomRef: !0,
2951
- vdomPropOrAttr: !0,
2952
2890
  vdomRender: !0,
2953
- vdomStyle: !0,
2954
- vdomText: !0,
2955
- watchCallback: !0,
2956
- taskQueue: !0,
2957
- hotModuleReplacement: !1,
2958
- isDebug: !1,
2959
- isDev: !1,
2960
- isTesting: !1,
2961
2891
  hydrateServerSide: !1,
2962
- hydrateClientSide: !1,
2963
- lifecycleDOMEvents: !1,
2964
- lazyLoad: !1,
2965
- profile: !1,
2966
- slotRelocation: !0,
2967
- appendChildSlotFix: !1,
2968
- cloneNodeFix: !1,
2969
- hydratedAttribute: !1,
2970
- hydratedClass: !0,
2971
- safari10: !1,
2972
- scriptDataOpts: !1,
2973
- scopedSlotTextContentFix: !1,
2974
- shadowDomShim: !1,
2975
- slotChildNodesFix: !1,
2976
- invisiblePrehydration: !0,
2977
- propBoolean: !0,
2978
- propNumber: !0,
2979
- propString: !0,
2980
- cssVarShim: !1,
2981
- constructableCSS: !0,
2982
- cmpShouldUpdate: !0,
2983
- devTools: !1,
2984
- dynamicImportShim: !1,
2985
- shadowDelegatesFocus: !0,
2986
- initializeNextTick: !1,
2987
- asyncLoading: !1,
2988
- asyncQueue: !1,
2989
- transformTagName: !1,
2990
- attachStyles: !0
2892
+ lazyLoad: !1
2991
2893
  };
2992
- let D, Hi, Tt, Di = !1, _t = !1, ue = !1, y = !1, Ye = null, Xt = !1;
2993
- const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, zi = Pt.HTMLElement || class {
2994
- }, m = {
2894
+ let z, Nn, Tt, Bn = !1, _t = !1, ce = !1, b = !1, Fe = null, Kt = !1;
2895
+ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, Hn = Pt.HTMLElement || class {
2896
+ }, y = {
2995
2897
  $flags$: 0,
2996
2898
  $resourcesUrl$: "",
2997
- jmp: (i) => i(),
2998
- raf: (i) => requestAnimationFrame(i),
2999
- ael: (i, t, e, n) => i.addEventListener(t, e, n),
3000
- rel: (i, t, e, n) => i.removeEventListener(t, e, n),
3001
- ce: (i, t) => new CustomEvent(i, t)
3002
- }, Rs = /* @__PURE__ */ (() => {
3003
- let i = !1;
2899
+ jmp: (n) => n(),
2900
+ raf: (n) => requestAnimationFrame(n),
2901
+ ael: (n, t, e, i) => n.addEventListener(t, e, i),
2902
+ rel: (n, t, e, i) => n.removeEventListener(t, e, i),
2903
+ ce: (n, t) => new CustomEvent(n, t)
2904
+ }, Is = /* @__PURE__ */ (() => {
2905
+ let n = !1;
3004
2906
  try {
3005
2907
  S.addEventListener("e", null, Object.defineProperty({}, "passive", {
3006
2908
  get() {
3007
- i = !0;
2909
+ n = !0;
3008
2910
  }
3009
2911
  }));
3010
2912
  } catch {
3011
2913
  }
3012
- return i;
3013
- })(), Us = (i) => Promise.resolve(i), js = /* @__PURE__ */ (() => {
2914
+ return n;
2915
+ })(), Ls = (n) => Promise.resolve(n), Rs = /* @__PURE__ */ (() => {
3014
2916
  try {
3015
2917
  return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
3016
2918
  } catch {
3017
2919
  }
3018
2920
  return !1;
3019
- })(), Fi = (i, t, e, n) => {
2921
+ })(), zn = (n, t, e, i) => {
3020
2922
  e && e.map(([s, r, o]) => {
3021
- const a = Ns(i, s), l = Ms(t, o), c = Bs(s);
3022
- m.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => m.rel(a, r, l, c));
2923
+ const a = js(n, s), l = Us(t, o), c = Ms(s);
2924
+ y.ael(a, r, l, c), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => y.rel(a, r, l, c));
3023
2925
  });
3024
- }, Ms = (i, t) => (e) => {
2926
+ }, Us = (n, t) => (e) => {
3025
2927
  try {
3026
- H.lazyLoad || i.$hostElement$[t](e);
3027
- } catch (n) {
3028
- ct(n);
3029
- }
3030
- }, Ns = (i, t) => t & 4 ? S : t & 8 ? Pt : t & 16 ? S.body : i, Bs = (i) => Rs ? {
3031
- passive: (i & 1) !== 0,
3032
- capture: (i & 2) !== 0
3033
- } : (i & 2) !== 0, We = "http://www.w3.org/1999/xlink", j = (i, t = "") => () => {
3034
- }, qe = /* @__PURE__ */ new WeakMap(), Hs = (i, t, e) => {
3035
- let n = St.get(i);
3036
- js && e ? (n = n || new CSSStyleSheet(), n.replace(t)) : n = t, St.set(i, n);
3037
- }, Ds = (i, t, e, n) => {
3038
- let s = Yi(t, e), r = St.get(s);
3039
- if (i = i.nodeType === 11 ? i : S, r)
2928
+ H.lazyLoad || n.$hostElement$[t](e);
2929
+ } catch (i) {
2930
+ ct(i);
2931
+ }
2932
+ }, js = (n, t) => t & 4 ? S : t & 8 ? Pt : t & 16 ? S.body : n, Ms = (n) => Is ? {
2933
+ passive: (n & 1) !== 0,
2934
+ capture: (n & 2) !== 0
2935
+ } : (n & 2) !== 0, Ye = "http://www.w3.org/1999/xlink", j = (n, t = "") => () => {
2936
+ }, qe = /* @__PURE__ */ new WeakMap(), Ns = (n, t, e) => {
2937
+ let i = St.get(n);
2938
+ Rs && e ? (i = i || new CSSStyleSheet(), i.replace(t)) : i = t, St.set(n, i);
2939
+ }, Bs = (n, t, e, i) => {
2940
+ let s = Dn(t, e), r = St.get(s);
2941
+ if (n = n.nodeType === 11 ? n : S, r)
3040
2942
  if (typeof r == "string") {
3041
- i = i.head || i;
3042
- let o = qe.get(i), a;
3043
- o || qe.set(i, o = /* @__PURE__ */ new Set()), o.has(s) || (a = S.createElement("style"), a.innerHTML = r, i.insertBefore(a, i.querySelector("link")), o && o.add(s));
3044
- } else i.adoptedStyleSheets.includes(r) || (i.adoptedStyleSheets = [...i.adoptedStyleSheets, r]);
2943
+ n = n.head || n;
2944
+ let o = qe.get(n), a;
2945
+ o || qe.set(n, o = /* @__PURE__ */ new Set()), o.has(s) || (a = S.createElement("style"), a.innerHTML = r, n.insertBefore(a, n.querySelector("link")), o && o.add(s));
2946
+ } else n.adoptedStyleSheets.includes(r) || (n.adoptedStyleSheets = [...n.adoptedStyleSheets, r]);
3045
2947
  return s;
3046
- }, zs = (i) => {
3047
- const t = i.$cmpMeta$, e = i.$hostElement$, n = t.$flags$, s = j("attachStyles", t.$tagName$), r = Ds(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, i.$modeName$);
3048
- n & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), n & 2 && e.classList.add(r + "-s")), s();
3049
- }, Yi = (i, t) => "sc-" + (t && i.$flags$ & 32 ? i.$tagName$ + "-" + t : i.$tagName$), Fs = (i) => vr.map((t) => t(i)).find((t) => !!t), Ge = {}, Ys = "http://www.w3.org/2000/svg", Ws = "http://www.w3.org/1999/xhtml", qs = (i) => i != null, he = (i) => (i = typeof i, i === "object" || i === "function"), Y = (i, t, ...e) => {
3050
- let n = null, s = null, r = null, o = !1, a = !1, l = [];
3051
- const c = (h) => {
3052
- for (let d = 0; d < h.length; d++)
3053
- n = h[d], Array.isArray(n) ? c(n) : n != null && typeof n != "boolean" && ((o = typeof i != "function" && !he(n)) && (n = String(n)), o && a ? l[l.length - 1].$text$ += n : l.push(o ? wt(null, n) : n), a = o);
2948
+ }, Hs = (n) => {
2949
+ const t = n.$cmpMeta$, e = n.$hostElement$, i = t.$flags$, s = j("attachStyles", t.$tagName$), r = Bs(e.shadowRoot ? e.shadowRoot : e.getRootNode(), t, n.$modeName$);
2950
+ i & 10 && (e["s-sc"] = r, e.classList.add(r + "-h"), i & 2 && e.classList.add(r + "-s")), s();
2951
+ }, Dn = (n, t) => "sc-" + (t && n.$flags$ & 32 ? n.$tagName$ + "-" + t : n.$tagName$), zs = (n) => gr.map((t) => t(n)).find((t) => !!t), We = {}, Ds = "http://www.w3.org/2000/svg", Fs = "http://www.w3.org/1999/xhtml", Ys = (n) => n != null, ue = (n) => (n = typeof n, n === "object" || n === "function"), Y = (n, t, ...e) => {
2952
+ let i = null, s = null, r = null, o = !1, a = !1, l = [];
2953
+ const c = (d) => {
2954
+ for (let h = 0; h < d.length; h++)
2955
+ i = d[h], Array.isArray(i) ? c(i) : i != null && typeof i != "boolean" && ((o = typeof n != "function" && !ue(i)) && (i = String(i)), o && a ? l[l.length - 1].$text$ += i : l.push(o ? wt(null, i) : i), a = o);
3054
2956
  };
3055
2957
  if (c(e), t) {
3056
2958
  t.key && (s = t.key), t.name && (r = t.name);
3057
2959
  {
3058
- const h = t.className || t.class;
3059
- h && (t.class = typeof h != "object" ? h : Object.keys(h).filter((d) => h[d]).join(" "));
2960
+ const d = t.className || t.class;
2961
+ d && (t.class = typeof d != "object" ? d : Object.keys(d).filter((h) => d[h]).join(" "));
3060
2962
  }
3061
2963
  }
3062
- if (typeof i == "function")
3063
- return i(t === null ? {} : t, l, Ks);
3064
- const u = wt(i, null);
2964
+ if (typeof n == "function")
2965
+ return n(t === null ? {} : t, l, Ws);
2966
+ const u = wt(n, null);
3065
2967
  return u.$attrs$ = t, l.length > 0 && (u.$children$ = l), u.$key$ = s, u.$name$ = r, u;
3066
- }, wt = (i, t) => {
2968
+ }, wt = (n, t) => {
3067
2969
  const e = {
3068
2970
  $flags$: 0,
3069
- $tag$: i,
2971
+ $tag$: n,
3070
2972
  $text$: t,
3071
2973
  $elm$: null,
3072
2974
  $children$: null
3073
2975
  };
3074
2976
  return e.$attrs$ = null, e.$key$ = null, e.$name$ = null, e;
3075
- }, de = {}, Gs = (i) => i && i.$tag$ === de, Ks = {
3076
- forEach: (i, t) => i.map(Ke).forEach(t),
3077
- map: (i, t) => i.map(Ke).map(t).map(Zs)
3078
- }, Ke = (i) => ({
3079
- vattrs: i.$attrs$,
3080
- vchildren: i.$children$,
3081
- vkey: i.$key$,
3082
- vname: i.$name$,
3083
- vtag: i.$tag$,
3084
- vtext: i.$text$
3085
- }), Zs = (i) => {
3086
- if (typeof i.vtag == "function") {
3087
- const e = Object.assign({}, i.vattrs);
3088
- return i.vkey && (e.key = i.vkey), i.vname && (e.name = i.vname), Y(i.vtag, e, ...i.vchildren || []);
3089
- }
3090
- const t = wt(i.vtag, i.vtext);
3091
- return t.$attrs$ = i.vattrs, t.$children$ = i.vchildren, t.$key$ = i.vkey, t.$name$ = i.vname, t;
3092
- }, Ze = (i, t, e, n, s, r) => {
3093
- if (e !== n) {
3094
- let o = Ve(i, t), a = t.toLowerCase();
2977
+ }, de = {}, qs = (n) => n && n.$tag$ === de, Ws = {
2978
+ forEach: (n, t) => n.map(Ge).forEach(t),
2979
+ map: (n, t) => n.map(Ge).map(t).map(Gs)
2980
+ }, Ge = (n) => ({
2981
+ vattrs: n.$attrs$,
2982
+ vchildren: n.$children$,
2983
+ vkey: n.$key$,
2984
+ vname: n.$name$,
2985
+ vtag: n.$tag$,
2986
+ vtext: n.$text$
2987
+ }), Gs = (n) => {
2988
+ if (typeof n.vtag == "function") {
2989
+ const e = Object.assign({}, n.vattrs);
2990
+ return n.vkey && (e.key = n.vkey), n.vname && (e.name = n.vname), Y(n.vtag, e, ...n.vchildren || []);
2991
+ }
2992
+ const t = wt(n.vtag, n.vtext);
2993
+ return t.$attrs$ = n.vattrs, t.$children$ = n.vchildren, t.$key$ = n.vkey, t.$name$ = n.vname, t;
2994
+ }, Ze = (n, t, e, i, s, r) => {
2995
+ if (e !== i) {
2996
+ let o = Qe(n, t), a = t.toLowerCase();
3095
2997
  if (t === "class") {
3096
- const l = i.classList, c = Xe(e), u = Xe(n);
3097
- l.remove(...c.filter((h) => h && !u.includes(h))), l.add(...u.filter((h) => h && !c.includes(h)));
2998
+ const l = n.classList, c = Ke(e), u = Ke(i);
2999
+ l.remove(...c.filter((d) => d && !u.includes(d))), l.add(...u.filter((d) => d && !c.includes(d)));
3098
3000
  } else if (t === "style") {
3099
3001
  for (const l in e)
3100
- (!n || n[l] == null) && (l.includes("-") ? i.style.removeProperty(l) : i.style[l] = "");
3101
- for (const l in n)
3102
- (!e || n[l] !== e[l]) && (l.includes("-") ? i.style.setProperty(l, n[l]) : i.style[l] = n[l]);
3002
+ (!i || i[l] == null) && (l.includes("-") ? n.style.removeProperty(l) : n.style[l] = "");
3003
+ for (const l in i)
3004
+ (!e || i[l] !== e[l]) && (l.includes("-") ? n.style.setProperty(l, i[l]) : n.style[l] = i[l]);
3103
3005
  } else if (t !== "key")
3104
3006
  if (t === "ref")
3105
- n && n(i);
3106
- else if (!i.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
3107
- t[2] === "-" ? t = t.slice(3) : Ve(Pt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && m.rel(i, t, e, !1), n && m.ael(i, t, n, !1);
3007
+ i && i(n);
3008
+ else if (!n.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
3009
+ t[2] === "-" ? t = t.slice(3) : Qe(Pt, a) ? t = a.slice(2) : t = a[2] + t.slice(3), e && y.rel(n, t, e, !1), i && y.ael(n, t, i, !1);
3108
3010
  else {
3109
- const l = he(n);
3110
- if ((o || l && n !== null) && !s)
3011
+ const l = ue(i);
3012
+ if ((o || l && i !== null) && !s)
3111
3013
  try {
3112
- if (i.tagName.includes("-"))
3113
- i[t] = n;
3014
+ if (n.tagName.includes("-"))
3015
+ n[t] = i;
3114
3016
  else {
3115
- let u = n ?? "";
3116
- t === "list" ? o = !1 : (e == null || i[t] != u) && (i[t] = u);
3017
+ let u = i ?? "";
3018
+ t === "list" ? o = !1 : (e == null || n[t] != u) && (n[t] = u);
3117
3019
  }
3118
3020
  } catch {
3119
3021
  }
3120
3022
  let c = !1;
3121
- a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), n == null || n === !1 ? (n !== !1 || i.getAttribute(t) === "") && (c ? i.removeAttributeNS(We, t) : i.removeAttribute(t)) : (!o || r & 4 || s) && !l && (n = n === !0 ? "" : n, c ? i.setAttributeNS(We, t, n) : i.setAttribute(t, n));
3023
+ a !== (a = a.replace(/^xlink\:?/, "")) && (t = a, c = !0), i == null || i === !1 ? (i !== !1 || n.getAttribute(t) === "") && (c ? n.removeAttributeNS(Ye, t) : n.removeAttribute(t)) : (!o || r & 4 || s) && !l && (i = i === !0 ? "" : i, c ? n.setAttributeNS(Ye, t, i) : n.setAttribute(t, i));
3122
3024
  }
3123
3025
  }
3124
- }, Xs = /\s/, Xe = (i) => i ? i.split(Xs) : [], Wi = (i, t, e, n) => {
3125
- const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = i && i.$attrs$ || Ge, o = t.$attrs$ || Ge;
3126
- for (n in r)
3127
- n in o || Ze(s, n, r[n], void 0, e, t.$flags$);
3128
- for (n in o)
3129
- Ze(s, n, r[n], o[n], e, t.$flags$);
3130
- }, xt = (i, t, e, n) => {
3026
+ }, Zs = /\s/, Ke = (n) => n ? n.split(Zs) : [], Fn = (n, t, e, i) => {
3027
+ const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = n && n.$attrs$ || We, o = t.$attrs$ || We;
3028
+ for (i in r)
3029
+ i in o || Ze(s, i, r[i], void 0, e, t.$flags$);
3030
+ for (i in o)
3031
+ Ze(s, i, r[i], o[i], e, t.$flags$);
3032
+ }, xt = (n, t, e, i) => {
3131
3033
  let s = t.$children$[e], r = 0, o, a, l;
3132
- if (Di || (ue = !0, s.$tag$ === "slot" && (D && n.classList.add(D + "-s"), s.$flags$ |= s.$children$ ? (
3034
+ if (Bn || (ce = !0, s.$tag$ === "slot" && (z && i.classList.add(z + "-s"), s.$flags$ |= s.$children$ ? (
3133
3035
  // slot element has fallback content
3134
3036
  2
3135
3037
  ) : (
@@ -3140,63 +3042,63 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3140
3042
  else if (s.$flags$ & 1)
3141
3043
  o = s.$elm$ = S.createTextNode("");
3142
3044
  else {
3143
- if (y || (y = s.$tag$ === "svg"), o = s.$elm$ = S.createElementNS(y ? Ys : Ws, s.$flags$ & 2 ? "slot-fb" : s.$tag$), y && s.$tag$ === "foreignObject" && (y = !1), Wi(null, s, y), qs(D) && o["s-si"] !== D && o.classList.add(o["s-si"] = D), s.$children$)
3045
+ if (b || (b = s.$tag$ === "svg"), o = s.$elm$ = S.createElementNS(b ? Ds : Fs, s.$flags$ & 2 ? "slot-fb" : s.$tag$), b && s.$tag$ === "foreignObject" && (b = !1), Fn(null, s, b), Ys(z) && o["s-si"] !== z && o.classList.add(o["s-si"] = z), s.$children$)
3144
3046
  for (r = 0; r < s.$children$.length; ++r)
3145
- a = xt(i, s, r, o), a && o.appendChild(a);
3146
- s.$tag$ === "svg" ? y = !1 : o.tagName === "foreignObject" && (y = !0);
3147
- }
3148
- return o["s-hn"] = Tt, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Hi, o["s-sn"] = s.$name$ || "", l = i && i.$children$ && i.$children$[e], l && l.$tag$ === s.$tag$ && i.$elm$ && ot(i.$elm$, !1)), o;
3149
- }, ot = (i, t) => {
3150
- m.$flags$ |= 1;
3151
- const e = i.childNodes;
3152
- for (let n = e.length - 1; n >= 0; n--) {
3153
- const s = e[n];
3154
- s["s-hn"] !== Tt && s["s-ol"] && (Ki(s).insertBefore(s, fe(s)), s["s-ol"].remove(), s["s-ol"] = void 0, ue = !0), t && ot(s, t);
3155
- }
3156
- m.$flags$ &= -2;
3157
- }, qi = (i, t, e, n, s, r) => {
3158
- let o = i["s-cr"] && i["s-cr"].parentNode || i, a;
3047
+ a = xt(n, s, r, o), a && o.appendChild(a);
3048
+ s.$tag$ === "svg" ? b = !1 : o.tagName === "foreignObject" && (b = !0);
3049
+ }
3050
+ return o["s-hn"] = Tt, s.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = Nn, o["s-sn"] = s.$name$ || "", l = n && n.$children$ && n.$children$[e], l && l.$tag$ === s.$tag$ && n.$elm$ && ot(n.$elm$, !1)), o;
3051
+ }, ot = (n, t) => {
3052
+ y.$flags$ |= 1;
3053
+ const e = n.childNodes;
3054
+ for (let i = e.length - 1; i >= 0; i--) {
3055
+ const s = e[i];
3056
+ s["s-hn"] !== Tt && s["s-ol"] && (Wn(s).insertBefore(s, he(s)), s["s-ol"].remove(), s["s-ol"] = void 0, ce = !0), t && ot(s, t);
3057
+ }
3058
+ y.$flags$ &= -2;
3059
+ }, Yn = (n, t, e, i, s, r) => {
3060
+ let o = n["s-cr"] && n["s-cr"].parentNode || n, a;
3159
3061
  for (o.shadowRoot && o.tagName === Tt && (o = o.shadowRoot); s <= r; ++s)
3160
- n[s] && (a = xt(null, e, s, i), a && (n[s].$elm$ = a, o.insertBefore(a, fe(t))));
3161
- }, Gi = (i, t, e, n, s) => {
3062
+ i[s] && (a = xt(null, e, s, n), a && (i[s].$elm$ = a, o.insertBefore(a, he(t))));
3063
+ }, qn = (n, t, e, i, s) => {
3162
3064
  for (; t <= e; ++t)
3163
- (n = i[t]) && (s = n.$elm$, Qi(n), _t = !0, s["s-ol"] ? s["s-ol"].remove() : ot(s, !0), s.remove());
3164
- }, Qs = (i, t, e, n) => {
3165
- let s = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], h = n.length - 1, d = n[0], f = n[h], $, g;
3166
- for (; s <= l && r <= h; )
3065
+ (i = n[t]) && (s = i.$elm$, Kn(i), _t = !0, s["s-ol"] ? s["s-ol"].remove() : ot(s, !0), s.remove());
3066
+ }, Ks = (n, t, e, i) => {
3067
+ let s = 0, r = 0, o = 0, a = 0, l = t.length - 1, c = t[0], u = t[l], d = i.length - 1, h = i[0], f = i[d], $, g;
3068
+ for (; s <= l && r <= d; )
3167
3069
  if (c == null)
3168
3070
  c = t[++s];
3169
3071
  else if (u == null)
3170
3072
  u = t[--l];
3171
- else if (d == null)
3172
- d = n[++r];
3073
+ else if (h == null)
3074
+ h = i[++r];
3173
3075
  else if (f == null)
3174
- f = n[--h];
3175
- else if (dt(c, d))
3176
- z(c, d), c = t[++s], d = n[++r];
3177
- else if (dt(u, f))
3178
- z(u, f), u = t[--l], f = n[--h];
3179
- else if (dt(c, f))
3180
- (c.$tag$ === "slot" || f.$tag$ === "slot") && ot(c.$elm$.parentNode, !1), z(c, f), i.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++s], f = n[--h];
3181
- else if (dt(u, d))
3182
- (c.$tag$ === "slot" || f.$tag$ === "slot") && ot(u.$elm$.parentNode, !1), z(u, d), i.insertBefore(u.$elm$, c.$elm$), u = t[--l], d = n[++r];
3076
+ f = i[--d];
3077
+ else if (ht(c, h))
3078
+ D(c, h), c = t[++s], h = i[++r];
3079
+ else if (ht(u, f))
3080
+ D(u, f), u = t[--l], f = i[--d];
3081
+ else if (ht(c, f))
3082
+ (c.$tag$ === "slot" || f.$tag$ === "slot") && ot(c.$elm$.parentNode, !1), D(c, f), n.insertBefore(c.$elm$, u.$elm$.nextSibling), c = t[++s], f = i[--d];
3083
+ else if (ht(u, h))
3084
+ (c.$tag$ === "slot" || f.$tag$ === "slot") && ot(u.$elm$.parentNode, !1), D(u, h), n.insertBefore(u.$elm$, c.$elm$), u = t[--l], h = i[++r];
3183
3085
  else {
3184
3086
  for (o = -1, a = s; a <= l; ++a)
3185
- if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
3087
+ if (t[a] && t[a].$key$ !== null && t[a].$key$ === h.$key$) {
3186
3088
  o = a;
3187
3089
  break;
3188
3090
  }
3189
- o >= 0 ? (g = t[o], g.$tag$ !== d.$tag$ ? $ = xt(t && t[r], e, o, i) : (z(g, d), t[o] = void 0, $ = g.$elm$), d = n[++r]) : ($ = xt(t && t[r], e, r, i), d = n[++r]), $ && Ki(c.$elm$).insertBefore($, fe(c.$elm$));
3091
+ o >= 0 ? (g = t[o], g.$tag$ !== h.$tag$ ? $ = xt(t && t[r], e, o, n) : (D(g, h), t[o] = void 0, $ = g.$elm$), h = i[++r]) : ($ = xt(t && t[r], e, r, n), h = i[++r]), $ && Wn(c.$elm$).insertBefore($, he(c.$elm$));
3190
3092
  }
3191
- s > l ? qi(i, n[h + 1] == null ? null : n[h + 1].$elm$, e, n, r, h) : r > h && Gi(t, s, l);
3192
- }, dt = (i, t) => i.$tag$ === t.$tag$ ? i.$tag$ === "slot" ? i.$name$ === t.$name$ : i.$key$ === t.$key$ : !1, fe = (i) => i && i["s-ol"] || i, Ki = (i) => (i["s-ol"] ? i["s-ol"] : i).parentNode, z = (i, t) => {
3193
- const e = t.$elm$ = i.$elm$, n = i.$children$, s = t.$children$, r = t.$tag$, o = t.$text$;
3093
+ s > l ? Yn(n, i[d + 1] == null ? null : i[d + 1].$elm$, e, i, r, d) : r > d && qn(t, s, l);
3094
+ }, ht = (n, t) => n.$tag$ === t.$tag$ ? n.$tag$ === "slot" ? n.$name$ === t.$name$ : n.$key$ === t.$key$ : !1, he = (n) => n && n["s-ol"] || n, Wn = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, D = (n, t) => {
3095
+ const e = t.$elm$ = n.$elm$, i = n.$children$, s = t.$children$, r = t.$tag$, o = t.$text$;
3194
3096
  let a;
3195
- o === null ? (y = r === "svg" ? !0 : r === "foreignObject" ? !1 : y, r === "slot" || Wi(i, t, y), n !== null && s !== null ? Qs(e, n, t, s) : s !== null ? (i.$text$ !== null && (e.textContent = ""), qi(e, null, t, s, 0, s.length - 1)) : n !== null && Gi(n, 0, n.length - 1), y && r === "svg" && (y = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : i.$text$ !== o && (e.data = o);
3196
- }, Zi = (i) => {
3197
- let t = i.childNodes, e, n, s, r, o, a;
3198
- for (n = 0, s = t.length; n < s; n++)
3199
- if (e = t[n], e.nodeType === 1) {
3097
+ o === null ? (b = r === "svg" ? !0 : r === "foreignObject" ? !1 : b, r === "slot" || Fn(n, t, b), i !== null && s !== null ? Ks(e, i, t, s) : s !== null ? (n.$text$ !== null && (e.textContent = ""), Yn(e, null, t, s, 0, s.length - 1)) : i !== null && qn(i, 0, i.length - 1), b && r === "svg" && (b = !1)) : (a = e["s-cr"]) ? a.parentNode.textContent = o : n.$text$ !== o && (e.data = o);
3098
+ }, Gn = (n) => {
3099
+ let t = n.childNodes, e, i, s, r, o, a;
3100
+ for (i = 0, s = t.length; i < s; i++)
3101
+ if (e = t[i], e.nodeType === 1) {
3200
3102
  if (e["s-sr"]) {
3201
3103
  for (o = e["s-sn"], e.hidden = !1, r = 0; r < s; r++)
3202
3104
  if (a = t[r].nodeType, t[r]["s-hn"] !== e["s-hn"] || o !== "") {
@@ -3209,99 +3111,99 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3209
3111
  break;
3210
3112
  }
3211
3113
  }
3212
- Zi(e);
3114
+ Gn(e);
3213
3115
  }
3214
- }, w = [], Xi = (i) => {
3215
- let t, e, n, s, r, o, a = 0, l = i.childNodes, c = l.length;
3116
+ }, w = [], Zn = (n) => {
3117
+ let t, e, i, s, r, o, a = 0, l = n.childNodes, c = l.length;
3216
3118
  for (; a < c; a++) {
3217
3119
  if (t = l[a], t["s-sr"] && (e = t["s-cr"]) && e.parentNode)
3218
- for (n = e.parentNode.childNodes, s = t["s-sn"], o = n.length - 1; o >= 0; o--)
3219
- e = n[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Qe(e, s) ? (r = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || s, r ? r.$slotRefNode$ = t : w.push({
3120
+ for (i = e.parentNode.childNodes, s = t["s-sn"], o = i.length - 1; o >= 0; o--)
3121
+ e = i[o], !e["s-cn"] && !e["s-nr"] && e["s-hn"] !== t["s-hn"] && (Xe(e, s) ? (r = w.find((u) => u.$nodeToRelocate$ === e), _t = !0, e["s-sn"] = e["s-sn"] || s, r ? r.$slotRefNode$ = t : w.push({
3220
3122
  $slotRefNode$: t,
3221
3123
  $nodeToRelocate$: e
3222
3124
  }), e["s-sr"] && w.map((u) => {
3223
- Qe(u.$nodeToRelocate$, e["s-sn"]) && (r = w.find((h) => h.$nodeToRelocate$ === e), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
3125
+ Xe(u.$nodeToRelocate$, e["s-sn"]) && (r = w.find((d) => d.$nodeToRelocate$ === e), r && !u.$slotRefNode$ && (u.$slotRefNode$ = r.$slotRefNode$));
3224
3126
  })) : w.some((u) => u.$nodeToRelocate$ === e) || w.push({
3225
3127
  $nodeToRelocate$: e
3226
3128
  }));
3227
- t.nodeType === 1 && Xi(t);
3129
+ t.nodeType === 1 && Zn(t);
3228
3130
  }
3229
- }, Qe = (i, t) => i.nodeType === 1 ? i.getAttribute("slot") === null && t === "" || i.getAttribute("slot") === t : i["s-sn"] === t ? !0 : t === "", Qi = (i) => {
3230
- i.$attrs$ && i.$attrs$.ref && i.$attrs$.ref(null), i.$children$ && i.$children$.map(Qi);
3231
- }, Js = (i, t) => {
3232
- const e = i.$hostElement$, n = i.$cmpMeta$, s = i.$vnode$ || wt(null, null), r = Gs(t) ? t : Y(null, null, t);
3233
- Tt = e.tagName, n.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, n.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, i.$vnode$ = r, r.$elm$ = s.$elm$ = e.shadowRoot || e, D = e["s-sc"], Hi = e["s-cr"], Di = (n.$flags$ & 1) !== 0, _t = !1, z(s, r);
3131
+ }, Xe = (n, t) => n.nodeType === 1 ? n.getAttribute("slot") === null && t === "" || n.getAttribute("slot") === t : n["s-sn"] === t ? !0 : t === "", Kn = (n) => {
3132
+ n.$attrs$ && n.$attrs$.ref && n.$attrs$.ref(null), n.$children$ && n.$children$.map(Kn);
3133
+ }, Xs = (n, t) => {
3134
+ const e = n.$hostElement$, i = n.$cmpMeta$, s = n.$vnode$ || wt(null, null), r = qs(t) ? t : Y(null, null, t);
3135
+ Tt = e.tagName, i.$attrsToReflect$ && (r.$attrs$ = r.$attrs$ || {}, i.$attrsToReflect$.map(([o, a]) => r.$attrs$[a] = e[o])), r.$tag$ = null, r.$flags$ |= 4, n.$vnode$ = r, r.$elm$ = s.$elm$ = e.shadowRoot || e, z = e["s-sc"], Nn = e["s-cr"], Bn = (i.$flags$ & 1) !== 0, _t = !1, D(s, r);
3234
3136
  {
3235
- if (m.$flags$ |= 1, ue) {
3236
- Xi(r.$elm$);
3237
- let o, a, l, c, u, h, d = 0;
3238
- for (; d < w.length; d++)
3239
- o = w[d], a = o.$nodeToRelocate$, a["s-ol"] || (l = S.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
3240
- for (d = 0; d < w.length; d++)
3241
- if (o = w[d], a = o.$nodeToRelocate$, o.$slotRefNode$) {
3137
+ if (y.$flags$ |= 1, ce) {
3138
+ Zn(r.$elm$);
3139
+ let o, a, l, c, u, d, h = 0;
3140
+ for (; h < w.length; h++)
3141
+ o = w[h], a = o.$nodeToRelocate$, a["s-ol"] || (l = S.createTextNode(""), l["s-nr"] = a, a.parentNode.insertBefore(a["s-ol"] = l, a));
3142
+ for (h = 0; h < w.length; h++)
3143
+ if (o = w[h], a = o.$nodeToRelocate$, o.$slotRefNode$) {
3242
3144
  for (c = o.$slotRefNode$.parentNode, u = o.$slotRefNode$.nextSibling, l = a["s-ol"]; l = l.previousSibling; )
3243
- if (h = l["s-nr"], h && h["s-sn"] === a["s-sn"] && c === h.parentNode && (h = h.nextSibling, !h || !h["s-nr"])) {
3244
- u = h;
3145
+ if (d = l["s-nr"], d && d["s-sn"] === a["s-sn"] && c === d.parentNode && (d = d.nextSibling, !d || !d["s-nr"])) {
3146
+ u = d;
3245
3147
  break;
3246
3148
  }
3247
3149
  (!u && c !== a.parentNode || a.nextSibling !== u) && a !== u && (!a["s-hn"] && a["s-ol"] && (a["s-hn"] = a["s-ol"].parentNode.nodeName), c.insertBefore(a, u));
3248
3150
  } else
3249
3151
  a.nodeType === 1 && (a.hidden = !0);
3250
3152
  }
3251
- _t && Zi(r.$elm$), m.$flags$ &= -2, w.length = 0;
3153
+ _t && Gn(r.$elm$), y.$flags$ &= -2, w.length = 0;
3252
3154
  }
3253
- }, Vs = (i) => i, tr = (i, t, e) => {
3254
- const n = Vs(i);
3155
+ }, Js = (n) => n, Qs = (n, t, e) => {
3156
+ const i = Js(n);
3255
3157
  return {
3256
- emit: (s) => er(n, t, {
3257
- bubbles: !!(e & 4),
3258
- composed: !!(e & 2),
3259
- cancelable: !!(e & 1),
3158
+ emit: (s) => Vs(i, t, {
3159
+ bubbles: !0,
3160
+ composed: !0,
3161
+ cancelable: !0,
3260
3162
  detail: s
3261
3163
  })
3262
3164
  };
3263
- }, er = (i, t, e) => {
3264
- const n = m.ce(t, e);
3265
- return i.dispatchEvent(n), n;
3266
- }, ir = (i, t) => {
3267
- }, Ji = (i, t) => (i.$flags$ |= 16, ir(i, i.$ancestorComponent$), br(() => nr(i, t))), nr = (i, t) => {
3268
- const e = i.$hostElement$, n = j("scheduleUpdate", i.$cmpMeta$.$tagName$), s = e;
3165
+ }, Vs = (n, t, e) => {
3166
+ const i = y.ce(t, e);
3167
+ return n.dispatchEvent(i), i;
3168
+ }, tr = (n, t) => {
3169
+ }, Xn = (n, t) => (n.$flags$ |= 16, tr(n, n.$ancestorComponent$), yr(() => er(n, t))), er = (n, t) => {
3170
+ const e = n.$hostElement$, i = j("scheduleUpdate", n.$cmpMeta$.$tagName$), s = e;
3269
3171
  let r;
3270
- return t ? r = W(s, "componentWillLoad") : r = W(s, "componentWillUpdate"), r = Je(r, () => W(s, "componentWillRender")), n(), Je(r, () => sr(i, s, t));
3271
- }, sr = async (i, t, e) => {
3272
- const n = i.$hostElement$, s = j("update", i.$cmpMeta$.$tagName$);
3273
- n["s-rc"], e && zs(i);
3274
- const r = j("render", i.$cmpMeta$.$tagName$);
3275
- rr(i, t, n), r(), s(), or(i);
3276
- }, rr = (i, t, e) => {
3172
+ return t ? r = q(s, "componentWillLoad") : r = q(s, "componentWillUpdate"), r = Je(r, () => q(s, "componentWillRender")), i(), Je(r, () => nr(n, s, t));
3173
+ }, nr = async (n, t, e) => {
3174
+ const i = n.$hostElement$, s = j("update", n.$cmpMeta$.$tagName$);
3175
+ i["s-rc"], e && Hs(n);
3176
+ const r = j("render", n.$cmpMeta$.$tagName$);
3177
+ ir(n, t, i), r(), s(), sr(n);
3178
+ }, ir = (n, t, e) => {
3277
3179
  try {
3278
- Ye = t, t = t.render && t.render(), i.$flags$ &= -17, i.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Js(i, t));
3180
+ Fe = t, t = t.render && t.render(), n.$flags$ &= -17, n.$flags$ |= 2, (H.hasRenderFn || H.reflect) && (H.vdomRender || H.reflect) && (H.hydrateServerSide || Xs(n, t));
3279
3181
  } catch (a) {
3280
- ct(a, i.$hostElement$);
3281
- }
3282
- return Ye = null, null;
3283
- }, or = (i) => {
3284
- const t = i.$cmpMeta$.$tagName$, e = i.$hostElement$, n = j("postUpdate", t), s = e;
3285
- i.$ancestorComponent$, W(s, "componentDidRender"), i.$flags$ & 64 ? (W(s, "componentDidUpdate"), n()) : (i.$flags$ |= 64, W(s, "componentDidLoad"), n());
3286
- }, W = (i, t, e) => {
3287
- if (i && i[t])
3182
+ ct(a, n.$hostElement$);
3183
+ }
3184
+ return Fe = null, null;
3185
+ }, sr = (n) => {
3186
+ const t = n.$cmpMeta$.$tagName$, e = n.$hostElement$, i = j("postUpdate", t), s = e;
3187
+ n.$ancestorComponent$, q(s, "componentDidRender"), n.$flags$ & 64 ? (q(s, "componentDidUpdate"), i()) : (n.$flags$ |= 64, q(s, "componentDidLoad"), i());
3188
+ }, q = (n, t, e) => {
3189
+ if (n && n[t])
3288
3190
  try {
3289
- return i[t](e);
3290
- } catch (n) {
3291
- ct(n);
3191
+ return n[t](e);
3192
+ } catch (i) {
3193
+ ct(i);
3292
3194
  }
3293
- }, Je = (i, t) => i && i.then ? i.then(t) : t(), ar = (i, t) => i != null && !he(i) ? t & 4 ? i === "false" ? !1 : i === "" || !!i : t & 2 ? parseFloat(i) : t & 1 ? String(i) : i : i, lr = (i, t) => It(i).$instanceValues$.get(t), cr = (i, t, e, n) => {
3294
- const s = It(i), r = i, o = s.$instanceValues$.get(t), a = s.$flags$, l = r;
3295
- e = ar(e, n.$members$[t][0]);
3195
+ }, Je = (n, t) => n && n.then ? n.then(t) : t(), rr = (n, t) => n != null && !ue(n) ? t & 4 ? n === "false" ? !1 : n === "" || !!n : t & 2 ? parseFloat(n) : t & 1 ? String(n) : n : n, or = (n, t) => It(n).$instanceValues$.get(t), ar = (n, t, e, i) => {
3196
+ const s = It(n), r = n, o = s.$instanceValues$.get(t), a = s.$flags$, l = r;
3197
+ e = rr(e, i.$members$[t][0]);
3296
3198
  const c = Number.isNaN(o) && Number.isNaN(e);
3297
3199
  if (e !== o && !c) {
3298
3200
  s.$instanceValues$.set(t, e);
3299
3201
  {
3300
- if (n.$watchers$ && a & 128) {
3301
- const h = n.$watchers$[t];
3302
- h && h.map((d) => {
3202
+ if (i.$watchers$ && a & 128) {
3203
+ const d = i.$watchers$[t];
3204
+ d && d.map((h) => {
3303
3205
  try {
3304
- l[d](e, o, t);
3206
+ l[h](e, o, t);
3305
3207
  } catch (f) {
3306
3208
  ct(f, r);
3307
3209
  }
@@ -3310,21 +3212,21 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3310
3212
  if ((a & 18) === 2) {
3311
3213
  if (l.componentShouldUpdate && l.componentShouldUpdate(e, o, t) === !1)
3312
3214
  return;
3313
- Ji(s, !1);
3215
+ Xn(s, !1);
3314
3216
  }
3315
3217
  }
3316
3218
  }
3317
- }, ur = (i, t, e) => {
3219
+ }, lr = (n, t, e) => {
3318
3220
  if (t.$members$) {
3319
- i.watchers && (t.$watchers$ = i.watchers);
3320
- const n = Object.entries(t.$members$), s = i.prototype;
3321
- n.map(([r, [o]]) => {
3221
+ n.watchers && (t.$watchers$ = n.watchers);
3222
+ const i = Object.entries(t.$members$), s = n.prototype;
3223
+ i.map(([r, [o]]) => {
3322
3224
  (o & 31 || o & 32) && Object.defineProperty(s, r, {
3323
3225
  get() {
3324
- return lr(this, r);
3226
+ return or(this, r);
3325
3227
  },
3326
3228
  set(a) {
3327
- cr(this, r, a, t);
3229
+ ar(this, r, a, t);
3328
3230
  },
3329
3231
  configurable: !0,
3330
3232
  enumerable: !0
@@ -3333,7 +3235,7 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3333
3235
  {
3334
3236
  const r = /* @__PURE__ */ new Map();
3335
3237
  s.attributeChangedCallback = function(o, a, l) {
3336
- m.jmp(() => {
3238
+ y.jmp(() => {
3337
3239
  const c = r.get(o);
3338
3240
  if (this.hasOwnProperty(c))
3339
3241
  l = this[c], delete this[c];
@@ -3341,7 +3243,7 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3341
3243
  return;
3342
3244
  this[c] = l === null && typeof this[c] == "boolean" ? !1 : l;
3343
3245
  });
3344
- }, i.observedAttributes = n.filter(
3246
+ }, n.observedAttributes = i.filter(
3345
3247
  ([o, a]) => a[0] & 15
3346
3248
  /* HasAttribute */
3347
3249
  ).map(([o, a]) => {
@@ -3350,53 +3252,53 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3350
3252
  });
3351
3253
  }
3352
3254
  }
3353
- return i;
3354
- }, hr = async (i, t, e, n, s) => {
3355
- if (!(t.$flags$ & 32) && (s = i.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), s.style)) {
3255
+ return n;
3256
+ }, cr = async (n, t, e, i, s) => {
3257
+ if (!(t.$flags$ & 32) && (s = n.constructor, t.$flags$ |= 32, customElements.whenDefined(e.$tagName$).then(() => t.$flags$ |= 128), s.style)) {
3356
3258
  let o = s.style;
3357
- typeof o != "string" && (o = o[t.$modeName$ = Fs(i)]);
3358
- const a = Yi(e, t.$modeName$);
3259
+ typeof o != "string" && (o = o[t.$modeName$ = zs(n)]);
3260
+ const a = Dn(e, t.$modeName$);
3359
3261
  if (!St.has(a)) {
3360
3262
  const l = j("registerStyles", e.$tagName$);
3361
- Hs(a, o, !!(e.$flags$ & 1)), l();
3362
- }
3363
- }
3364
- t.$ancestorComponent$, Ji(t, !0);
3365
- }, dr = (i) => {
3366
- }, fr = (i) => {
3367
- if (!(m.$flags$ & 1)) {
3368
- const t = It(i), e = t.$cmpMeta$, n = j("connectedCallback", e.$tagName$);
3369
- t.$flags$ & 1 ? (Fi(i, t, e.$listeners$), dr(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && pr(i), e.$members$ && Object.entries(e.$members$).map(([s, [r]]) => {
3370
- if (r & 31 && i.hasOwnProperty(s)) {
3371
- const o = i[s];
3372
- delete i[s], i[s] = o;
3373
- }
3374
- }), hr(i, t, e)), n();
3375
- }
3376
- }, pr = (i) => {
3377
- const t = i["s-cr"] = S.createComment("");
3378
- t["s-cn"] = !0, i.insertBefore(t, i.firstChild);
3379
- }, gr = (i) => {
3380
- if (!(m.$flags$ & 1)) {
3381
- const t = It(i);
3263
+ Ns(a, o, !!(e.$flags$ & 1)), l();
3264
+ }
3265
+ }
3266
+ t.$ancestorComponent$, Xn(t, !0);
3267
+ }, ur = (n) => {
3268
+ }, dr = (n) => {
3269
+ if (!(y.$flags$ & 1)) {
3270
+ const t = It(n), e = t.$cmpMeta$, i = j("connectedCallback", e.$tagName$);
3271
+ t.$flags$ & 1 ? (zn(n, t, e.$listeners$), ur(t.$lazyInstance$)) : (t.$flags$ |= 1, e.$flags$ & 12 && hr(n), e.$members$ && Object.entries(e.$members$).map(([s, [r]]) => {
3272
+ if (r & 31 && n.hasOwnProperty(s)) {
3273
+ const o = n[s];
3274
+ delete n[s], n[s] = o;
3275
+ }
3276
+ }), cr(n, t, e)), i();
3277
+ }
3278
+ }, hr = (n) => {
3279
+ const t = n["s-cr"] = S.createComment("");
3280
+ t["s-cn"] = !0, n.insertBefore(t, n.firstChild);
3281
+ }, fr = (n) => {
3282
+ if (!(y.$flags$ & 1)) {
3283
+ const t = It(n);
3382
3284
  t.$rmListeners$ && (t.$rmListeners$.map((e) => e()), t.$rmListeners$ = void 0);
3383
3285
  }
3384
- }, Vi = (i, t) => {
3286
+ }, Jn = (n, t) => {
3385
3287
  const e = {
3386
3288
  $flags$: t[0],
3387
3289
  $tagName$: t[1]
3388
3290
  };
3389
- e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = i.$watchers$, e.$attrsToReflect$ = [];
3390
- const n = i.prototype.connectedCallback, s = i.prototype.disconnectedCallback;
3391
- return Object.assign(i.prototype, {
3291
+ e.$members$ = t[2], e.$listeners$ = t[3], e.$watchers$ = n.$watchers$, e.$attrsToReflect$ = [];
3292
+ const i = n.prototype.connectedCallback, s = n.prototype.disconnectedCallback;
3293
+ return Object.assign(n.prototype, {
3392
3294
  __registerHost() {
3393
- $r(this, e);
3295
+ pr(this, e);
3394
3296
  },
3395
3297
  connectedCallback() {
3396
- fr(this), n && n.call(this);
3298
+ dr(this), i && i.call(this);
3397
3299
  },
3398
3300
  disconnectedCallback() {
3399
- gr(this), s && s.call(this);
3301
+ fr(this), s && s.call(this);
3400
3302
  },
3401
3303
  __attachShadow() {
3402
3304
  this.attachShadow({
@@ -3404,83 +3306,83 @@ const Pt = typeof window < "u" ? window : {}, S = Pt.document || { head: {} }, z
3404
3306
  delegatesFocus: !!(e.$flags$ & 16)
3405
3307
  });
3406
3308
  }
3407
- }), i.is = e.$tagName$, ur(i, e);
3408
- }, tn = /* @__PURE__ */ new WeakMap(), It = (i) => tn.get(i), $r = (i, t) => {
3309
+ }), n.is = e.$tagName$, lr(n, e);
3310
+ }, Qn = /* @__PURE__ */ new WeakMap(), It = (n) => Qn.get(n), pr = (n, t) => {
3409
3311
  const e = {
3410
3312
  $flags$: 0,
3411
- $hostElement$: i,
3313
+ $hostElement$: n,
3412
3314
  $cmpMeta$: t,
3413
3315
  $instanceValues$: /* @__PURE__ */ new Map()
3414
3316
  };
3415
- return Fi(i, e, t.$listeners$), tn.set(i, e);
3416
- }, Ve = (i, t) => t in i, ct = (i, t) => (0, console.error)(i, t), St = /* @__PURE__ */ new Map(), vr = [], ti = [], en = [], mr = (i, t) => (e) => {
3417
- i.push(e), Xt || (Xt = !0, t && m.$flags$ & 4 ? yr(Qt) : m.raf(Qt));
3418
- }, ei = (i) => {
3419
- for (let t = 0; t < i.length; t++)
3317
+ return zn(n, e, t.$listeners$), Qn.set(n, e);
3318
+ }, Qe = (n, t) => t in n, ct = (n, t) => (0, console.error)(n, t), St = /* @__PURE__ */ new Map(), gr = [], Ve = [], Vn = [], $r = (n, t) => (e) => {
3319
+ n.push(e), Kt || (Kt = !0, t && y.$flags$ & 4 ? mr(Xt) : y.raf(Xt));
3320
+ }, tn = (n) => {
3321
+ for (let t = 0; t < n.length; t++)
3420
3322
  try {
3421
- i[t](performance.now());
3323
+ n[t](performance.now());
3422
3324
  } catch (e) {
3423
3325
  ct(e);
3424
3326
  }
3425
- i.length = 0;
3426
- }, Qt = () => {
3427
- ei(ti), ei(en), (Xt = ti.length > 0) && m.raf(Qt);
3428
- }, yr = (i) => Us().then(i), br = /* @__PURE__ */ mr(en, !0), _r = (i = {}) => {
3429
- const { content: t = "", title: e, attributes: n = [] } = i;
3327
+ n.length = 0;
3328
+ }, Xt = () => {
3329
+ tn(Ve), tn(Vn), (Kt = Ve.length > 0) && y.raf(Xt);
3330
+ }, mr = (n) => Ls().then(n), yr = /* @__PURE__ */ $r(Vn, !0), br = (n = {}) => {
3331
+ const { content: t = "", title: e, attributes: i = [] } = n;
3430
3332
  let s = "", r = [
3431
3333
  { name: "xmlns", value: "http://www.w3.org/2000/svg" },
3432
3334
  { name: "fill", value: "currentColor" },
3433
- ...n
3335
+ ...i
3434
3336
  ];
3435
3337
  return e && (s = `<title>${e}</title>`), `<svg ${r.map((a) => `${a.name}="${a.value}"`).join(" ")}>${s}${t}</svg>`;
3436
- }, wr = (i) => i.replace(/<(\/?)svg([^>]*)>/g, "").trim();
3437
- function xr(i) {
3438
- return `${i.getFullYear()}.${i.getMonth() + 1}`;
3338
+ }, vr = (n) => n.replace(/<(\/?)svg([^>]*)>/g, "").trim();
3339
+ function _r(n) {
3340
+ return `${n.getFullYear()}.${n.getMonth() + 1}`;
3439
3341
  }
3440
- class Sr {
3342
+ class wr {
3441
3343
  constructor(t) {
3442
- this.voca_component = t, this.voca_added = xr(/* @__PURE__ */ new Date());
3344
+ this.voca_component = t, this.voca_added = _r(/* @__PURE__ */ new Date());
3443
3345
  }
3444
3346
  }
3445
- const Ar = "telia-vst{display:none}", kr = /* @__PURE__ */ Vi(class extends zi {
3347
+ const xr = "telia-vst{display:none}", Sr = /* @__PURE__ */ Jn(class extends Hn {
3446
3348
  constructor() {
3447
- super(), this.__registerHost(), this.vocaInternalUStats = tr(this, "vocaInternalUStats", 7);
3349
+ super(), this.__registerHost(), this.vocaInternalUStats = Qs(this, "vocaInternalUStats");
3448
3350
  }
3449
3351
  connectedCallback() {
3450
- this.vocaInternalUStats.emit(new Sr(this.dataTrackingId));
3352
+ this.vocaInternalUStats.emit(new wr(this.dataTrackingId));
3451
3353
  }
3452
3354
  render() {
3453
3355
  return Y(de, null);
3454
3356
  }
3455
3357
  static get style() {
3456
- return Ar;
3358
+ return xr;
3457
3359
  }
3458
3360
  }, [0, "telia-vst", {
3459
3361
  dataTrackingId: [1, "data-tracking-id"]
3460
3362
  }]);
3461
- function nn() {
3363
+ function ti() {
3462
3364
  if (typeof customElements > "u")
3463
3365
  return;
3464
3366
  ["telia-vst"].forEach((t) => {
3465
3367
  switch (t) {
3466
3368
  case "telia-vst":
3467
- customElements.get(t) || customElements.define(t, kr);
3369
+ customElements.get(t) || customElements.define(t, Sr);
3468
3370
  break;
3469
3371
  }
3470
3372
  });
3471
3373
  }
3472
- nn();
3374
+ ti();
3473
3375
  function Jt() {
3474
3376
  return typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : { vocadsIcons: void 0, vocadsIconsRegistered: !1 };
3475
3377
  }
3476
- function Er() {
3378
+ function Ar() {
3477
3379
  if (typeof Jt().vocadsIcons !== void 0)
3478
3380
  return Jt().vocadsIcons;
3479
3381
  }
3480
- function Cr() {
3382
+ function kr() {
3481
3383
  return Jt().vocadsIconsRegistered;
3482
3384
  }
3483
- const Or = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Tr = /* @__PURE__ */ Vi(class extends zi {
3385
+ const Er = ".telia-icon{display:inline-block}.telia-icon__container{display:block;height:inherit}.telia-icon svg{display:block}.telia-icon--sm{height:calc(1.6rem * var(--voca-rem-multiplier));min-width:calc(1.6rem * var(--voca-rem-multiplier));width:calc(1.6rem * var(--voca-rem-multiplier))}.telia-icon--md{height:calc(2.4rem * var(--voca-rem-multiplier));min-width:calc(2.4rem * var(--voca-rem-multiplier));width:calc(2.4rem * var(--voca-rem-multiplier))}.telia-icon--lg{height:calc(3.2rem * var(--voca-rem-multiplier));min-width:calc(3.2rem * var(--voca-rem-multiplier));width:calc(3.2rem * var(--voca-rem-multiplier))}", Cr = /* @__PURE__ */ Jn(class extends Hn {
3484
3386
  constructor() {
3485
3387
  super(), this.__registerHost(), this.size = "md", this.allyTitle = null, this.dataTrackingId = "telia-icon";
3486
3388
  }
@@ -3492,27 +3394,27 @@ const Or = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
3492
3394
  getSvgString() {
3493
3395
  if (this.svg)
3494
3396
  return this.svg;
3495
- if (Cr() && this.name) {
3496
- const i = Er();
3497
- return i[this.name] ? i[this.name].svg : "";
3397
+ if (kr() && this.name) {
3398
+ const n = Ar();
3399
+ return n[this.name] ? n[this.name].svg : "";
3498
3400
  }
3499
3401
  return this.name && console.warn(this.name, "Icons bundle is not registered and will not be rendered. Check if you have registered icons bundle or use svg property"), "";
3500
3402
  }
3501
3403
  render() {
3502
- let i = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
3404
+ let n = this.getSvgString(), t = [{ name: "viewBox", value: "0 0 64 64" }];
3503
3405
  this.allyTitle ? t = [...t, { name: "role", value: "img" }] : t = [
3504
3406
  ...t,
3505
3407
  { name: "aria-hidden", value: "true" }
3506
3408
  ];
3507
- const e = _r({
3508
- content: wr(i),
3409
+ const e = br({
3410
+ content: vr(n),
3509
3411
  attributes: t,
3510
3412
  title: this.allyTitle
3511
3413
  });
3512
3414
  return Y(de, { class: `telia-icon telia-icon--${this.size}` }, Y("span", { "aria-label": this.allyTitle, class: "telia-icon__container", innerHTML: e }), Y("telia-vst", { dataTrackingId: this.dataTrackingId }));
3513
3415
  }
3514
3416
  static get style() {
3515
- return Or;
3417
+ return Er;
3516
3418
  }
3517
3419
  }, [0, "telia-icon", {
3518
3420
  name: [1],
@@ -3521,29 +3423,29 @@ const Or = ".telia-icon{display:inline-block}.telia-icon__container{display:bloc
3521
3423
  allyTitle: [1, "ally-title"],
3522
3424
  dataTestid: [1, "data-testid"]
3523
3425
  }]);
3524
- function Pr() {
3426
+ function Or() {
3525
3427
  if (typeof customElements > "u")
3526
3428
  return;
3527
3429
  ["telia-icon", "telia-vst"].forEach((t) => {
3528
3430
  switch (t) {
3529
3431
  case "telia-icon":
3530
- customElements.get(t) || customElements.define(t, Tr);
3432
+ customElements.get(t) || customElements.define(t, Cr);
3531
3433
  break;
3532
3434
  case "telia-vst":
3533
- customElements.get(t) || nn();
3435
+ customElements.get(t) || ti();
3534
3436
  break;
3535
3437
  }
3536
3438
  });
3537
3439
  }
3538
- Pr();
3539
- var Ir = Object.defineProperty, Lr = (i, t, e, n) => {
3540
- for (var s = void 0, r = i.length - 1, o; r >= 0; r--)
3541
- (o = i[r]) && (s = o(t, e, s) || s);
3542
- return s && Ir(t, e, s), s;
3440
+ Or();
3441
+ var Tr = Object.defineProperty, Pr = (n, t, e, i) => {
3442
+ for (var s = void 0, r = n.length - 1, o; r >= 0; r--)
3443
+ (o = n[r]) && (s = o(t, e, s) || s);
3444
+ return s && Tr(t, e, s), s;
3543
3445
  };
3544
- const ii = Ni(x), ye = class ye extends ii {
3446
+ const en = jn(x), ye = class ye extends en {
3545
3447
  constructor() {
3546
- super(...arguments), this.optionsIsVisible = !1, this.options = new Ls(this), this.optionsRef = bt(), this.optionsTriggerRef = bt(), this._onClickOutside = (t) => {
3448
+ super(...arguments), this.optionsIsVisible = !1, this.options = new Ps(this), this.optionsRef = vt(), this.optionsTriggerRef = vt(), this._onClickOutside = (t) => {
3547
3449
  !this.optionsTriggerRef.value || !this.optionsRef.value || t.composedPath().includes(this.optionsTriggerRef.value) || t.composedPath().includes(this.optionsRef.value) || (this.optionsIsVisible = !1);
3548
3450
  };
3549
3451
  }
@@ -3567,11 +3469,11 @@ const ii = Ni(x), ye = class ye extends ii {
3567
3469
  return this.options.options.length ? k` <div class="side-menu">
3568
3470
  <div
3569
3471
  class="options-menu"
3570
- ${le(this.optionsRef)}
3571
- ${ji({
3472
+ ${ae(this.optionsRef)}
3473
+ ${Rn({
3572
3474
  keyframeOptions: { duration: 120 },
3573
- in: Me,
3574
- out: Me,
3475
+ in: je,
3476
+ out: je,
3575
3477
  stabilizeOut: !0,
3576
3478
  skipInitial: !1
3577
3479
  })}
@@ -3595,7 +3497,7 @@ const ii = Ni(x), ye = class ye extends ii {
3595
3497
  }
3596
3498
  };
3597
3499
  ye.styles = [
3598
- ii.styles || [],
3500
+ en.styles || [],
3599
3501
  M`
3600
3502
  :host {
3601
3503
  --header-text-color: var(--text-on-primary-background);
@@ -3685,11 +3587,11 @@ ye.styles = [
3685
3587
  }
3686
3588
  `
3687
3589
  ];
3688
- let Vt = ye;
3689
- Lr([
3590
+ let Qt = ye;
3591
+ Pr([
3690
3592
  N()
3691
- ], Vt.prototype, "optionsIsVisible");
3593
+ ], Qt.prototype, "optionsIsVisible");
3692
3594
  export {
3693
- Vt as SideMenu,
3694
- Vt as default
3595
+ Qt as SideMenu,
3596
+ Qt as default
3695
3597
  };