@telia-ace/alliance-ui 1.0.5-next.0 → 1.0.5

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,10 +1,9 @@
1
- import "../chunks/telia-heading2-5fdf4c16.js";
2
- import { s as G, m as ft, c as at, f as gt } from "../chunks/variables-03fe2cd9.js";
3
- import "../chunks/telia-divider-7f90475d.js";
4
1
  import "../chunks/telia-button-ef4894d0.js";
5
2
  import "../chunks/telia-label2-4d674e5e.js";
3
+ import { s as Y, c as Z, b as Zt, m as gt, f as ft } from "../chunks/variables-03fe2cd9.js";
6
4
  import "../chunks/telia-icon2-34bf5aef.js";
7
- import { c as Zt, a as Jt } from "../chunks/chevron-right-788ce8a9.js";
5
+ import { c as Jt, a as Ft } from "../chunks/chevron-right-788ce8a9.js";
6
+ import "../chunks/telia-heading2-5fdf4c16.js";
8
7
  import "../chunks/index-17652cf7.js";
9
8
  import "../chunks/telia-vst2-1a7f7bd6.js";
10
9
  import "../chunks/getSvgContent-f2389ce0.js";
@@ -13,10 +12,10 @@ import "../chunks/getSvgContent-f2389ce0.js";
13
12
  * Copyright 2019 Google LLC
14
13
  * SPDX-License-Identifier: BSD-3-Clause
15
14
  */
16
- const Z = window, dt = Z.ShadowRoot && (Z.ShadyCSS === void 0 || Z.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ut = Symbol(), _t = /* @__PURE__ */ new WeakMap();
15
+ const K = window, dt = K.ShadowRoot && (K.ShadyCSS === void 0 || K.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, pt = Symbol(), _t = /* @__PURE__ */ new WeakMap();
17
16
  let Nt = class {
18
17
  constructor(t, e, i) {
19
- if (this._$cssResult$ = !0, i !== ut)
18
+ if (this._$cssResult$ = !0, i !== pt)
20
19
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
21
20
  this.cssText = t, this.t = e;
22
21
  }
@@ -33,7 +32,7 @@ let Nt = class {
33
32
  return this.cssText;
34
33
  }
35
34
  };
36
- const _ = (n) => new Nt(typeof n == "string" ? n : n + "", void 0, ut), V = (n, ...t) => {
35
+ const f = (n) => new Nt(typeof n == "string" ? n : n + "", void 0, pt), M = (n, ...t) => {
37
36
  const e = n.length === 1 ? n[0] : t.reduce((i, s, r) => i + ((o) => {
38
37
  if (o._$cssResult$ === !0)
39
38
  return o.cssText;
@@ -41,17 +40,17 @@ const _ = (n) => new Nt(typeof n == "string" ? n : n + "", void 0, ut), V = (n,
41
40
  return o;
42
41
  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.");
43
42
  })(s) + n[r + 1], n[0]);
44
- return new Nt(e, n, ut);
45
- }, Ft = (n, t) => {
43
+ return new Nt(e, n, pt);
44
+ }, Qt = (n, t) => {
46
45
  dt ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
47
- const i = document.createElement("style"), s = Z.litNonce;
46
+ const i = document.createElement("style"), s = K.litNonce;
48
47
  s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, n.appendChild(i);
49
48
  });
50
49
  }, yt = dt ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
51
50
  let e = "";
52
51
  for (const i of t.cssRules)
53
52
  e += i.cssText;
54
- return _(e);
53
+ return f(e);
55
54
  })(n) : n;
56
55
  /**
57
56
  * @license
@@ -59,10 +58,10 @@ const _ = (n) => new Nt(typeof n == "string" ? n : n + "", void 0, ut), V = (n,
59
58
  * SPDX-License-Identifier: BSD-3-Clause
60
59
  */
61
60
  var tt;
62
- const J = window, mt = J.trustedTypes, Qt = mt ? mt.emptyScript : "", bt = J.reactiveElementPolyfillSupport, ht = { toAttribute(n, t) {
61
+ const J = window, bt = J.trustedTypes, Xt = bt ? bt.emptyScript : "", mt = J.reactiveElementPolyfillSupport, at = { toAttribute(n, t) {
63
62
  switch (t) {
64
63
  case Boolean:
65
- n = n ? Qt : null;
64
+ n = n ? Xt : null;
66
65
  break;
67
66
  case Object:
68
67
  case Array:
@@ -87,7 +86,7 @@ const J = window, mt = J.trustedTypes, Qt = mt ? mt.emptyScript : "", bt = J.rea
87
86
  }
88
87
  }
89
88
  return e;
90
- } }, jt = (n, t) => t !== n && (t == t || n == n), et = { attribute: !0, type: String, converter: ht, reflect: !1, hasChanged: jt };
89
+ } }, Ht = (n, t) => t !== n && (t == t || n == n), et = { attribute: !0, type: String, converter: at, reflect: !1, hasChanged: Ht };
91
90
  let U = class extends HTMLElement {
92
91
  constructor() {
93
92
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
@@ -167,7 +166,7 @@ let U = class extends HTMLElement {
167
166
  createRenderRoot() {
168
167
  var t;
169
168
  const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
170
- return Ft(e, this.constructor.elementStyles), e;
169
+ return Qt(e, this.constructor.elementStyles), e;
171
170
  }
172
171
  connectedCallback() {
173
172
  var t;
@@ -192,7 +191,7 @@ let U = class extends HTMLElement {
192
191
  var s;
193
192
  const r = this.constructor._$Ep(t, i);
194
193
  if (r !== void 0 && i.reflect === !0) {
195
- const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : ht).toAttribute(e, i.type);
194
+ const o = (((s = i.converter) === null || s === void 0 ? void 0 : s.toAttribute) !== void 0 ? i.converter : at).toAttribute(e, i.type);
196
195
  this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
197
196
  }
198
197
  }
@@ -200,13 +199,13 @@ let U = class extends HTMLElement {
200
199
  var i;
201
200
  const s = this.constructor, r = s._$Ev.get(t);
202
201
  if (r !== void 0 && this._$El !== r) {
203
- const o = s.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : ht;
202
+ const o = s.getPropertyOptions(r), c = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? o.converter : at;
204
203
  this._$El = r, this[r] = c.fromAttribute(e, o.type), this._$El = null;
205
204
  }
206
205
  }
207
206
  requestUpdate(t, e, i) {
208
207
  let s = !0;
209
- t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || jt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
208
+ t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || Ht)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : s = !1), !this.isUpdatePending && s && (this._$E_ = this._$Ej());
210
209
  }
211
210
  async _$Ej() {
212
211
  this.isUpdatePending = !0;
@@ -267,27 +266,27 @@ let U = class extends HTMLElement {
267
266
  firstUpdated(t) {
268
267
  }
269
268
  };
270
- U.finalized = !0, U.elementProperties = /* @__PURE__ */ new Map(), U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, bt == null || bt({ ReactiveElement: U }), ((tt = J.reactiveElementVersions) !== null && tt !== void 0 ? tt : J.reactiveElementVersions = []).push("1.6.1");
269
+ U.finalized = !0, U.elementProperties = /* @__PURE__ */ new Map(), U.elementStyles = [], U.shadowRootOptions = { mode: "open" }, mt == null || mt({ ReactiveElement: U }), ((tt = J.reactiveElementVersions) !== null && tt !== void 0 ? tt : J.reactiveElementVersions = []).push("1.6.1");
271
270
  /**
272
271
  * @license
273
272
  * Copyright 2017 Google LLC
274
273
  * SPDX-License-Identifier: BSD-3-Clause
275
274
  */
276
275
  var it;
277
- const F = window, N = F.trustedTypes, At = N ? N.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, A = `lit$${(Math.random() + "").slice(9)}$`, pt = "?" + A, Yt = `<${pt}>`, j = document, L = (n = "") => j.createComment(n), z = (n) => n === null || typeof n != "object" && typeof n != "function", Ht = Array.isArray, Rt = (n) => Ht(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", D = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = /-->/g, Pt = />/g, P = RegExp(`>|[
276
+ const F = window, H = F.trustedTypes, At = H ? H.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, A = `lit$${(Math.random() + "").slice(9)}$`, $t = "?" + A, Yt = `<${$t}>`, R = document, I = (n = "") => R.createComment(n), L = (n) => n === null || typeof n != "object" && typeof n != "function", Rt = Array.isArray, Mt = (n) => Rt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", j = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Pt = /-->/g, Et = />/g, E = RegExp(`>|[
278
277
  \f\r](?:([^\\s"'>=/]+)([
279
278
  \f\r]*=[
280
279
  \f\r]*(?:[^
281
- \f\r"'\`<>=]|("|')|))|$)`, "g"), St = /'/g, Ct = /"/g, Mt = /^(?:script|style|textarea|title)$/i, Gt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), y = Gt(1), C = Symbol.for("lit-noChange"), f = Symbol.for("lit-nothing"), wt = /* @__PURE__ */ new WeakMap(), T = j.createTreeWalker(j, 129, null, !1), Dt = (n, t) => {
280
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), St = /'/g, Ct = /"/g, Dt = /^(?:script|style|textarea|title)$/i, Gt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), _ = Gt(1), C = Symbol.for("lit-noChange"), g = Symbol.for("lit-nothing"), wt = /* @__PURE__ */ new WeakMap(), N = R.createTreeWalker(R, 129, null, !1), Bt = (n, t) => {
282
281
  const e = n.length - 1, i = [];
283
- let s, r = t === 2 ? "<svg>" : "", o = D;
282
+ let s, r = t === 2 ? "<svg>" : "", o = j;
284
283
  for (let a = 0; a < e; a++) {
285
284
  const l = n[a];
286
- let $, d, h = -1, u = 0;
287
- for (; u < l.length && (o.lastIndex = u, d = o.exec(l), d !== null); )
288
- u = o.lastIndex, o === D ? d[1] === "!--" ? o = Et : d[1] !== void 0 ? o = Pt : d[2] !== void 0 ? (Mt.test(d[2]) && (s = RegExp("</" + d[2], "g")), o = P) : d[3] !== void 0 && (o = P) : o === P ? d[0] === ">" ? (o = s ?? D, h = -1) : d[1] === void 0 ? h = -2 : (h = o.lastIndex - d[2].length, $ = d[1], o = d[3] === void 0 ? P : d[3] === '"' ? Ct : St) : o === Ct || o === St ? o = P : o === Et || o === Pt ? o = D : (o = P, s = void 0);
289
- const p = o === P && n[a + 1].startsWith("/>") ? " " : "";
290
- r += o === D ? l + Yt : h >= 0 ? (i.push($), l.slice(0, h) + "$lit$" + l.slice(h) + A + p) : l + A + (h === -2 ? (i.push(void 0), a) : p);
285
+ let $, u, h = -1, d = 0;
286
+ for (; d < l.length && (o.lastIndex = d, u = o.exec(l), u !== null); )
287
+ d = o.lastIndex, o === j ? u[1] === "!--" ? o = Pt : u[1] !== void 0 ? o = Et : u[2] !== void 0 ? (Dt.test(u[2]) && (s = RegExp("</" + u[2], "g")), o = E) : u[3] !== void 0 && (o = E) : o === E ? u[0] === ">" ? (o = s ?? j, h = -1) : u[1] === void 0 ? h = -2 : (h = o.lastIndex - u[2].length, $ = u[1], o = u[3] === void 0 ? E : u[3] === '"' ? Ct : St) : o === Ct || o === St ? o = E : o === Pt || o === Et ? o = j : (o = E, s = void 0);
288
+ const p = o === E && n[a + 1].startsWith("/>") ? " " : "";
289
+ r += o === j ? l + Yt : h >= 0 ? (i.push($), l.slice(0, h) + "$lit$" + l.slice(h) + A + p) : l + A + (h === -2 ? (i.push(void 0), a) : p);
291
290
  }
292
291
  const c = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
293
292
  if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
@@ -299,49 +298,49 @@ class k {
299
298
  let s;
300
299
  this.parts = [];
301
300
  let r = 0, o = 0;
302
- const c = t.length - 1, a = this.parts, [l, $] = Dt(t, e);
303
- if (this.el = k.createElement(l, i), T.currentNode = this.el.content, e === 2) {
304
- const d = this.el.content, h = d.firstChild;
305
- h.remove(), d.append(...h.childNodes);
301
+ const c = t.length - 1, a = this.parts, [l, $] = Bt(t, e);
302
+ if (this.el = k.createElement(l, i), N.currentNode = this.el.content, e === 2) {
303
+ const u = this.el.content, h = u.firstChild;
304
+ h.remove(), u.append(...h.childNodes);
306
305
  }
307
- for (; (s = T.nextNode()) !== null && a.length < c; ) {
306
+ for (; (s = N.nextNode()) !== null && a.length < c; ) {
308
307
  if (s.nodeType === 1) {
309
308
  if (s.hasAttributes()) {
310
- const d = [];
309
+ const u = [];
311
310
  for (const h of s.getAttributeNames())
312
311
  if (h.endsWith("$lit$") || h.startsWith(A)) {
313
- const u = $[o++];
314
- if (d.push(h), u !== void 0) {
315
- const p = s.getAttribute(u.toLowerCase() + "$lit$").split(A), v = /([.?@])?(.*)/.exec(u);
316
- a.push({ type: 1, index: r, name: v[2], strings: p, ctor: v[1] === "." ? Lt : v[1] === "?" ? zt : v[1] === "@" ? kt : W });
312
+ const d = $[o++];
313
+ if (u.push(h), d !== void 0) {
314
+ const p = s.getAttribute(d.toLowerCase() + "$lit$").split(A), v = /([.?@])?(.*)/.exec(d);
315
+ a.push({ type: 1, index: r, name: v[2], strings: p, ctor: v[1] === "." ? zt : v[1] === "?" ? It : v[1] === "@" ? Lt : V });
317
316
  } else
318
317
  a.push({ type: 6, index: r });
319
318
  }
320
- for (const h of d)
319
+ for (const h of u)
321
320
  s.removeAttribute(h);
322
321
  }
323
- if (Mt.test(s.tagName)) {
324
- const d = s.textContent.split(A), h = d.length - 1;
322
+ if (Dt.test(s.tagName)) {
323
+ const u = s.textContent.split(A), h = u.length - 1;
325
324
  if (h > 0) {
326
- s.textContent = N ? N.emptyScript : "";
327
- for (let u = 0; u < h; u++)
328
- s.append(d[u], L()), T.nextNode(), a.push({ type: 2, index: ++r });
329
- s.append(d[h], L());
325
+ s.textContent = H ? H.emptyScript : "";
326
+ for (let d = 0; d < h; d++)
327
+ s.append(u[d], I()), N.nextNode(), a.push({ type: 2, index: ++r });
328
+ s.append(u[h], I());
330
329
  }
331
330
  }
332
331
  } else if (s.nodeType === 8)
333
- if (s.data === pt)
332
+ if (s.data === $t)
334
333
  a.push({ type: 2, index: r });
335
334
  else {
336
- let d = -1;
337
- for (; (d = s.data.indexOf(A, d + 1)) !== -1; )
338
- a.push({ type: 7, index: r }), d += A.length - 1;
335
+ let u = -1;
336
+ for (; (u = s.data.indexOf(A, u + 1)) !== -1; )
337
+ a.push({ type: 7, index: r }), u += A.length - 1;
339
338
  }
340
339
  r++;
341
340
  }
342
341
  }
343
342
  static createElement(t, e) {
344
- const i = j.createElement("template");
343
+ const i = R.createElement("template");
345
344
  return i.innerHTML = t, i;
346
345
  }
347
346
  }
@@ -350,10 +349,10 @@ function w(n, t, e = n, i) {
350
349
  if (t === C)
351
350
  return t;
352
351
  let a = i !== void 0 ? (s = e._$Co) === null || s === void 0 ? void 0 : s[i] : e._$Cl;
353
- const l = z(t) ? void 0 : t._$litDirective$;
352
+ const l = L(t) ? void 0 : t._$litDirective$;
354
353
  return (a == null ? void 0 : a.constructor) !== l && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), l === void 0 ? a = void 0 : (a = new l(n), a._$AT(n, e, i)), i !== void 0 ? ((o = (c = e)._$Co) !== null && o !== void 0 ? o : c._$Co = [])[i] = a : e._$Cl = a), a !== void 0 && (t = w(n, a._$AS(n, t.values), a, i)), t;
355
354
  }
356
- class Bt {
355
+ class jt {
357
356
  constructor(t, e) {
358
357
  this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
359
358
  }
@@ -365,15 +364,15 @@ class Bt {
365
364
  }
366
365
  v(t) {
367
366
  var e;
368
- const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : j).importNode(i, !0);
369
- T.currentNode = r;
370
- let o = T.nextNode(), c = 0, a = 0, l = s[0];
367
+ const { el: { content: i }, parts: s } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : R).importNode(i, !0);
368
+ N.currentNode = r;
369
+ let o = N.nextNode(), c = 0, a = 0, l = s[0];
371
370
  for (; l !== void 0; ) {
372
371
  if (c === l.index) {
373
372
  let $;
374
- l.type === 2 ? $ = new H(o, o.nextSibling, this, t) : l.type === 1 ? $ = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && ($ = new It(o, this, t)), this.u.push($), l = s[++a];
373
+ l.type === 2 ? $ = new D(o, o.nextSibling, this, t) : l.type === 1 ? $ = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && ($ = new kt(o, this, t)), this.u.push($), l = s[++a];
375
374
  }
376
- c !== (l == null ? void 0 : l.index) && (o = T.nextNode(), c++);
375
+ c !== (l == null ? void 0 : l.index) && (o = N.nextNode(), c++);
377
376
  }
378
377
  return r;
379
378
  }
@@ -383,10 +382,10 @@ class Bt {
383
382
  i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
384
383
  }
385
384
  }
386
- class H {
385
+ class D {
387
386
  constructor(t, e, i, s) {
388
387
  var r;
389
- this.type = 2, this._$AH = f, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cm = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
388
+ this.type = 2, this._$AH = g, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cm = (r = s == null ? void 0 : s.isConnected) === null || r === void 0 || r;
390
389
  }
391
390
  get _$AU() {
392
391
  var t, e;
@@ -404,7 +403,7 @@ class H {
404
403
  return this._$AB;
405
404
  }
406
405
  _$AI(t, e = this) {
407
- t = w(this, t, e), z(t) ? t === f || t == null || t === "" ? (this._$AH !== f && this._$AR(), this._$AH = f) : t !== this._$AH && t !== C && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Rt(t) ? this.k(t) : this.g(t);
406
+ t = w(this, t, e), L(t) ? t === g || t == null || t === "" ? (this._$AH !== g && this._$AR(), this._$AH = g) : t !== this._$AH && t !== C && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Mt(t) ? this.k(t) : this.g(t);
408
407
  }
409
408
  O(t, e = this._$AB) {
410
409
  return this._$AA.parentNode.insertBefore(t, e);
@@ -413,7 +412,7 @@ class H {
413
412
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
414
413
  }
415
414
  g(t) {
416
- this._$AH !== f && z(this._$AH) ? this._$AA.nextSibling.data = t : this.T(j.createTextNode(t)), this._$AH = t;
415
+ this._$AH !== g && L(this._$AH) ? this._$AA.nextSibling.data = t : this.T(R.createTextNode(t)), this._$AH = t;
417
416
  }
418
417
  $(t) {
419
418
  var e;
@@ -421,7 +420,7 @@ class H {
421
420
  if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
422
421
  this._$AH.p(i);
423
422
  else {
424
- const o = new Bt(r, this), c = o.v(this.options);
423
+ const o = new jt(r, this), c = o.v(this.options);
425
424
  o.p(i), this.T(c), this._$AH = o;
426
425
  }
427
426
  }
@@ -430,11 +429,11 @@ class H {
430
429
  return e === void 0 && wt.set(t.strings, e = new k(t)), e;
431
430
  }
432
431
  k(t) {
433
- Ht(this._$AH) || (this._$AH = [], this._$AR());
432
+ Rt(this._$AH) || (this._$AH = [], this._$AR());
434
433
  const e = this._$AH;
435
434
  let i, s = 0;
436
435
  for (const r of t)
437
- s === e.length ? e.push(i = new H(this.O(L()), this.O(L()), this, this.options)) : i = e[s], i._$AI(r), s++;
436
+ s === e.length ? e.push(i = new D(this.O(I()), this.O(I()), this, this.options)) : i = e[s], i._$AI(r), s++;
438
437
  s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
439
438
  }
440
439
  _$AR(t = this._$AA.nextSibling, e) {
@@ -449,9 +448,9 @@ class H {
449
448
  this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
450
449
  }
451
450
  }
452
- class W {
451
+ class V {
453
452
  constructor(t, e, i, s, r) {
454
- this.type = 1, this._$AH = f, 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 = f;
453
+ this.type = 1, this._$AH = g, 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 = g;
455
454
  }
456
455
  get tagName() {
457
456
  return this.element.tagName;
@@ -463,45 +462,45 @@ class W {
463
462
  const r = this.strings;
464
463
  let o = !1;
465
464
  if (r === void 0)
466
- t = w(this, t, e, 0), o = !z(t) || t !== this._$AH && t !== C, o && (this._$AH = t);
465
+ t = w(this, t, e, 0), o = !L(t) || t !== this._$AH && t !== C, o && (this._$AH = t);
467
466
  else {
468
467
  const c = t;
469
468
  let a, l;
470
469
  for (t = r[0], a = 0; a < r.length - 1; a++)
471
- l = w(this, c[i + a], e, a), l === C && (l = this._$AH[a]), o || (o = !z(l) || l !== this._$AH[a]), l === f ? t = f : t !== f && (t += (l ?? "") + r[a + 1]), this._$AH[a] = l;
470
+ l = w(this, c[i + a], e, a), l === C && (l = this._$AH[a]), o || (o = !L(l) || l !== this._$AH[a]), l === g ? t = g : t !== g && (t += (l ?? "") + r[a + 1]), this._$AH[a] = l;
472
471
  }
473
472
  o && !s && this.j(t);
474
473
  }
475
474
  j(t) {
476
- t === f ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
475
+ t === g ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
477
476
  }
478
477
  }
479
- class Lt extends W {
478
+ class zt extends V {
480
479
  constructor() {
481
480
  super(...arguments), this.type = 3;
482
481
  }
483
482
  j(t) {
484
- this.element[this.name] = t === f ? void 0 : t;
483
+ this.element[this.name] = t === g ? void 0 : t;
485
484
  }
486
485
  }
487
- const Xt = N ? N.emptyScript : "";
488
- class zt extends W {
486
+ const te = H ? H.emptyScript : "";
487
+ class It extends V {
489
488
  constructor() {
490
489
  super(...arguments), this.type = 4;
491
490
  }
492
491
  j(t) {
493
- t && t !== f ? this.element.setAttribute(this.name, Xt) : this.element.removeAttribute(this.name);
492
+ t && t !== g ? this.element.setAttribute(this.name, te) : this.element.removeAttribute(this.name);
494
493
  }
495
494
  }
496
- class kt extends W {
495
+ class Lt extends V {
497
496
  constructor(t, e, i, s, r) {
498
497
  super(t, e, i, s, r), this.type = 5;
499
498
  }
500
499
  _$AI(t, e = this) {
501
500
  var i;
502
- if ((t = (i = w(this, t, e, 0)) !== null && i !== void 0 ? i : f) === C)
501
+ if ((t = (i = w(this, t, e, 0)) !== null && i !== void 0 ? i : g) === C)
503
502
  return;
504
- const s = this._$AH, r = t === f && s !== f || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== f && (s === f || r);
503
+ const s = this._$AH, r = t === g && s !== g || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, o = t !== g && (s === g || r);
505
504
  r && this.element.removeEventListener(this.name, this, s), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
506
505
  }
507
506
  handleEvent(t) {
@@ -509,7 +508,7 @@ class kt extends W {
509
508
  typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
510
509
  }
511
510
  }
512
- class It {
511
+ class kt {
513
512
  constructor(t, e, i) {
514
513
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
515
514
  }
@@ -520,15 +519,15 @@ class It {
520
519
  w(this, t);
521
520
  }
522
521
  }
523
- const te = { P: "$lit$", A, M: pt, C: 1, L: Dt, R: Bt, D: Rt, V: w, I: H, H: W, N: zt, U: kt, B: Lt, F: It }, xt = F.litHtmlPolyfillSupport;
524
- xt == null || xt(k, H), ((it = F.litHtmlVersions) !== null && it !== void 0 ? it : F.litHtmlVersions = []).push("2.6.1");
525
- const ee = (n, t, e) => {
522
+ const ee = { P: "$lit$", A, M: $t, C: 1, L: Bt, R: jt, D: Mt, V: w, I: D, H: V, N: It, U: Lt, B: zt, F: kt }, Ot = F.litHtmlPolyfillSupport;
523
+ Ot == null || Ot(k, D), ((it = F.litHtmlVersions) !== null && it !== void 0 ? it : F.litHtmlVersions = []).push("2.6.1");
524
+ const ie = (n, t, e) => {
526
525
  var i, s;
527
526
  const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
528
527
  let o = r._$litPart$;
529
528
  if (o === void 0) {
530
529
  const c = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : null;
531
- r._$litPart$ = o = new H(t.insertBefore(L(), c), c, void 0, e ?? {});
530
+ r._$litPart$ = o = new D(t.insertBefore(I(), c), c, void 0, e ?? {});
532
531
  }
533
532
  return o._$AI(n), o;
534
533
  };
@@ -538,7 +537,7 @@ const ee = (n, t, e) => {
538
537
  * SPDX-License-Identifier: BSD-3-Clause
539
538
  */
540
539
  var st, nt;
541
- let m = class extends U {
540
+ let b = class extends U {
542
541
  constructor() {
543
542
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
544
543
  }
@@ -549,7 +548,7 @@ let m = class extends U {
549
548
  }
550
549
  update(t) {
551
550
  const e = this.render();
552
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ee(e, this.renderRoot, this.renderOptions);
551
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ie(e, this.renderRoot, this.renderOptions);
553
552
  }
554
553
  connectedCallback() {
555
554
  var t;
@@ -563,16 +562,16 @@ let m = class extends U {
563
562
  return C;
564
563
  }
565
564
  };
566
- m.finalized = !0, m._$litElement$ = !0, (st = globalThis.litElementHydrateSupport) === null || st === void 0 || st.call(globalThis, { LitElement: m });
567
- const Ot = globalThis.litElementPolyfillSupport;
568
- Ot == null || Ot({ LitElement: m });
565
+ b.finalized = !0, b._$litElement$ = !0, (st = globalThis.litElementHydrateSupport) === null || st === void 0 || st.call(globalThis, { LitElement: b });
566
+ const xt = globalThis.litElementPolyfillSupport;
567
+ xt == null || xt({ LitElement: b });
569
568
  ((nt = globalThis.litElementVersions) !== null && nt !== void 0 ? nt : globalThis.litElementVersions = []).push("3.2.2");
570
569
  /**
571
570
  * @license
572
571
  * Copyright 2017 Google LLC
573
572
  * SPDX-License-Identifier: BSD-3-Clause
574
573
  */
575
- const R = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.define(e, i), i))(n, t) : ((e, i) => {
574
+ const x = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.define(e, i), i))(n, t) : ((e, i) => {
576
575
  const { kind: s, elements: r } = i;
577
576
  return { kind: s, elements: r, finisher(o) {
578
577
  customElements.define(e, o);
@@ -583,17 +582,17 @@ const R = (n) => (t) => typeof t == "function" ? ((e, i) => (customElements.defi
583
582
  * Copyright 2017 Google LLC
584
583
  * SPDX-License-Identifier: BSD-3-Clause
585
584
  */
586
- const ie = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
585
+ const se = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? { ...t, finisher(e) {
587
586
  e.createProperty(t.key, n);
588
587
  } } : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
589
588
  typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
590
589
  }, finisher(e) {
591
590
  e.createProperty(t.key, n);
592
591
  } };
593
- function g(n) {
592
+ function y(n) {
594
593
  return (t, e) => e !== void 0 ? ((i, s, r) => {
595
594
  s.constructor.createProperty(r, i);
596
- })(n, t, e) : ie(n, t);
595
+ })(n, t, e) : se(n, t);
597
596
  }
598
597
  /**
599
598
  * @license
@@ -601,7 +600,7 @@ function g(n) {
601
600
  * SPDX-License-Identifier: BSD-3-Clause
602
601
  */
603
602
  function Vt(n) {
604
- return g({ ...n, state: !0 });
603
+ return y({ ...n, state: !0 });
605
604
  }
606
605
  /**
607
606
  * @license
@@ -610,153 +609,13 @@ function Vt(n) {
610
609
  */
611
610
  var rt;
612
611
  ((rt = window.HTMLSlotElement) === null || rt === void 0 ? void 0 : rt.prototype.assignedElements) != null;
613
- var se = Object.defineProperty, ne = Object.getOwnPropertyDescriptor, re = (n, t, e, i) => {
614
- for (var s = i > 1 ? void 0 : i ? ne(t, e) : t, r = n.length - 1, o; r >= 0; r--)
615
- (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
616
- return i && s && se(t, e, s), s;
617
- };
618
- let ct = class extends m {
619
- render() {
620
- return y` <slot></slot> `;
621
- }
622
- };
623
- ct.styles = V`
624
- :host {
625
- display: flex;
626
- flex-direction: column;
627
- }
628
- `;
629
- ct = re([
630
- R("alliance-object-list")
631
- ], ct);
632
- var oe = Object.defineProperty, le = Object.getOwnPropertyDescriptor, $t = (n, t, e, i) => {
633
- for (var s = i > 1 ? void 0 : i ? le(t, e) : t, r = n.length - 1, o; r >= 0; r--)
634
- (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
635
- return i && s && oe(t, e, s), s;
636
- };
637
- let I = class extends m {
638
- constructor() {
639
- super(...arguments), this.padded = !0, this.label = "";
640
- }
641
- render() {
642
- return y`
643
- <style>
644
- :host {
645
- padding: ${this.padded ? _(G.spacing24) : "inherit"};
646
- }
647
- </style>
648
- <telia-heading tag="h4" variant="title-100">${this.label}</telia-heading>
649
- `;
650
- }
651
- };
652
- I.styles = V`
653
- :host {
654
- flex: 1;
655
- }
656
- `;
657
- $t([
658
- g({ type: Boolean })
659
- ], I.prototype, "padded", 2);
660
- $t([
661
- g({ type: String })
662
- ], I.prototype, "label", 2);
663
- I = $t([
664
- R("alliance-object-list-head")
665
- ], I);
666
- var ae = Object.defineProperty, he = Object.getOwnPropertyDescriptor, Wt = (n, t, e, i) => {
667
- for (var s = i > 1 ? void 0 : i ? he(t, e) : t, r = n.length - 1, o; r >= 0; r--)
668
- (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
669
- return i && s && ae(t, e, s), s;
670
- };
671
- let Q = class extends m {
672
- constructor() {
673
- super(...arguments), this.padded = !0;
674
- }
675
- render() {
676
- return y`
677
- <style>
678
- :host {
679
- padding: ${this.padded ? _(G.spacing24) : "inherit"};
680
- }
681
- </style>
682
- <slot></slot>
683
- `;
684
- }
685
- };
686
- Q.styles = V`
687
- :host {
688
- flex: 1;
689
- display: flex;
690
- align-items: center;
691
- }
692
- `;
693
- Wt([
694
- g({ type: Boolean })
695
- ], Q.prototype, "padded", 2);
696
- Q = Wt([
697
- R("alliance-object-list-item")
698
- ], Q);
699
- var ce = Object.defineProperty, de = Object.getOwnPropertyDescriptor, qt = (n, t, e, i) => {
700
- for (var s = i > 1 ? void 0 : i ? de(t, e) : t, r = n.length - 1, o; r >= 0; r--)
701
- (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
702
- return i && s && ce(t, e, s), s;
703
- };
704
- let Y = class extends m {
705
- constructor() {
706
- super(...arguments), this.clickable = !1;
707
- }
708
- render() {
709
- return y`
710
- <div
711
- tabindex="${this.clickable ? "0" : "-1"}"
712
- class="${"object-list-row"}${this.clickable ? " object-list-clickable" : ""}"
713
- >
714
- <slot></slot>
715
- </div>
716
- <telia-divider />
717
- `;
718
- }
719
- };
720
- Y.styles = V`
721
- .object-list-row {
722
- display: flex;
723
- flex-direction: row;
724
- }
725
- .object-list-clickable {
726
- background-color: transparent;
727
- transition: background-color ${_(ft.duration150)}
728
- ${_(ft.easeIn)};
729
- cursor: pointer;
730
- }
731
-
732
- .object-list-clickable:hover,
733
- .object-list-clickable:focus-visible,
734
- .object-list-clickable:focus {
735
- background-color: ${_(at.gray200)};
736
- }
737
-
738
- .object-list-clickable:active {
739
- background-color: ${_(at.gray300)};
740
- }
741
-
742
- .object-list-clickable:focus-visible {
743
- outline: solid ${_(gt.focusBorderWidth)} ${_(gt.focusColor)};
744
- outline-offset: ${_(G.spacing4)};
745
- }
746
- `;
747
- qt([
748
- g({ type: Boolean })
749
- ], Y.prototype, "clickable", 2);
750
- Y = qt([
751
- R("alliance-object-list-row")
752
- ], Y);
753
612
  /**
754
613
  * @license
755
614
  * Copyright 2017 Google LLC
756
615
  * SPDX-License-Identifier: BSD-3-Clause
757
616
  */
758
- const ue = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, pe = (n) => (...t) => ({ _$litDirective$: n, values: t });
759
- class $e {
617
+ const ne = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, re = (n) => (...t) => ({ _$litDirective$: n, values: t });
618
+ class oe {
760
619
  constructor(t) {
761
620
  }
762
621
  get _$AU() {
@@ -777,12 +636,12 @@ class $e {
777
636
  * Copyright 2020 Google LLC
778
637
  * SPDX-License-Identifier: BSD-3-Clause
779
638
  */
780
- const { I: ve } = te, Ut = () => document.createComment(""), B = (n, t, e) => {
639
+ const { I: le } = ee, Tt = () => document.createComment(""), z = (n, t, e) => {
781
640
  var i;
782
641
  const s = n._$AA.parentNode, r = t === void 0 ? n._$AB : t._$AA;
783
642
  if (e === void 0) {
784
- const o = s.insertBefore(Ut(), r), c = s.insertBefore(Ut(), r);
785
- e = new ve(o, c, n, n.options);
643
+ const o = s.insertBefore(Tt(), r), c = s.insertBefore(Tt(), r);
644
+ e = new le(o, c, n, n.options);
786
645
  } else {
787
646
  const o = e._$AB.nextSibling, c = e._$AM, a = c !== n;
788
647
  if (a) {
@@ -798,7 +657,7 @@ const { I: ve } = te, Ut = () => document.createComment(""), B = (n, t, e) => {
798
657
  }
799
658
  }
800
659
  return e;
801
- }, S = (n, t, e = n) => (n._$AI(t, e), n), fe = {}, ge = (n, t = fe) => n._$AH = t, _e = (n) => n._$AH, ot = (n) => {
660
+ }, S = (n, t, e = n) => (n._$AI(t, e), n), ae = {}, he = (n, t = ae) => n._$AH = t, ce = (n) => n._$AH, ot = (n) => {
802
661
  var t;
803
662
  (t = n._$AP) === null || t === void 0 || t.call(n, !1, !0);
804
663
  let e = n._$AA;
@@ -813,14 +672,14 @@ const { I: ve } = te, Ut = () => document.createComment(""), B = (n, t, e) => {
813
672
  * Copyright 2017 Google LLC
814
673
  * SPDX-License-Identifier: BSD-3-Clause
815
674
  */
816
- const Tt = (n, t, e) => {
675
+ const Ut = (n, t, e) => {
817
676
  const i = /* @__PURE__ */ new Map();
818
677
  for (let s = t; s <= e; s++)
819
678
  i.set(n[s], s);
820
679
  return i;
821
- }, ye = pe(class extends $e {
680
+ }, ue = re(class extends oe {
822
681
  constructor(n) {
823
- if (super(n), n.type !== ue.CHILD)
682
+ if (super(n), n.type !== ne.CHILD)
824
683
  throw Error("repeat() can only be used in text expressions");
825
684
  }
826
685
  ht(n, t, e) {
@@ -837,75 +696,75 @@ const Tt = (n, t, e) => {
837
696
  }
838
697
  update(n, [t, e, i]) {
839
698
  var s;
840
- const r = _e(n), { values: o, keys: c } = this.ht(t, e, i);
699
+ const r = ce(n), { values: o, keys: c } = this.ht(t, e, i);
841
700
  if (!Array.isArray(r))
842
701
  return this.ut = c, o;
843
702
  const a = (s = this.ut) !== null && s !== void 0 ? s : this.ut = [], l = [];
844
- let $, d, h = 0, u = r.length - 1, p = 0, v = o.length - 1;
845
- for (; h <= u && p <= v; )
703
+ let $, u, h = 0, d = r.length - 1, p = 0, v = o.length - 1;
704
+ for (; h <= d && p <= v; )
846
705
  if (r[h] === null)
847
706
  h++;
848
- else if (r[u] === null)
849
- u--;
707
+ else if (r[d] === null)
708
+ d--;
850
709
  else if (a[h] === c[p])
851
710
  l[p] = S(r[h], o[p]), h++, p++;
852
- else if (a[u] === c[v])
853
- l[v] = S(r[u], o[v]), u--, v--;
711
+ else if (a[d] === c[v])
712
+ l[v] = S(r[d], o[v]), d--, v--;
854
713
  else if (a[h] === c[v])
855
- l[v] = S(r[h], o[v]), B(n, l[v + 1], r[h]), h++, v--;
856
- else if (a[u] === c[p])
857
- l[p] = S(r[u], o[p]), B(n, r[h], r[u]), u--, p++;
858
- else if ($ === void 0 && ($ = Tt(c, p, v), d = Tt(a, h, u)), $.has(a[h]))
859
- if ($.has(a[u])) {
860
- const b = d.get(c[p]), X = b !== void 0 ? r[b] : null;
861
- if (X === null) {
862
- const vt = B(n, r[h]);
714
+ l[v] = S(r[h], o[v]), z(n, l[v + 1], r[h]), h++, v--;
715
+ else if (a[d] === c[p])
716
+ l[p] = S(r[d], o[p]), z(n, r[h], r[d]), d--, p++;
717
+ else if ($ === void 0 && ($ = Ut(c, p, v), u = Ut(a, h, d)), $.has(a[h]))
718
+ if ($.has(a[d])) {
719
+ const m = u.get(c[p]), G = m !== void 0 ? r[m] : null;
720
+ if (G === null) {
721
+ const vt = z(n, r[h]);
863
722
  S(vt, o[p]), l[p] = vt;
864
723
  } else
865
- l[p] = S(X, o[p]), B(n, r[h], X), r[b] = null;
724
+ l[p] = S(G, o[p]), z(n, r[h], G), r[m] = null;
866
725
  p++;
867
726
  } else
868
- ot(r[u]), u--;
727
+ ot(r[d]), d--;
869
728
  else
870
729
  ot(r[h]), h++;
871
730
  for (; p <= v; ) {
872
- const b = B(n, l[v + 1]);
873
- S(b, o[p]), l[p++] = b;
731
+ const m = z(n, l[v + 1]);
732
+ S(m, o[p]), l[p++] = m;
874
733
  }
875
- for (; h <= u; ) {
876
- const b = r[h++];
877
- b !== null && ot(b);
734
+ for (; h <= d; ) {
735
+ const m = r[h++];
736
+ m !== null && ot(m);
878
737
  }
879
- return this.ut = c, ge(n, l), C;
738
+ return this.ut = c, he(n, l), C;
880
739
  }
881
- }), q = "...", K = (n, t) => {
740
+ }), W = "...", q = (n, t) => {
882
741
  let e = t - n + 1;
883
742
  return Array.from({ length: e }, (i, s) => s + n);
884
743
  }, lt = ({ itemCount: n, pageSize: t, siblingCount: e, currentPage: i }) => {
885
744
  const s = Math.ceil(n / t);
886
745
  if (e + 5 >= s)
887
- return K(1, s);
888
- const o = Math.max(i - e, 1), c = Math.min(i + e, s), a = o > 2, l = c < s - 2, $ = 1, d = s;
746
+ return q(1, s);
747
+ const o = Math.max(i - e, 1), c = Math.min(i + e, s), a = o > 2, l = c < s - 2, $ = 1, u = s;
889
748
  if (!a && l) {
890
749
  let h = 3 + 2 * e;
891
- return [...K(1, h), q, s];
750
+ return [...q(1, h), W, s];
892
751
  }
893
752
  if (a && !l) {
894
- let h = 3 + 2 * e, u = K(s - h + 1, s);
895
- return [$, q, ...u];
753
+ let h = 3 + 2 * e, d = q(s - h + 1, s);
754
+ return [$, W, ...d];
896
755
  }
897
756
  if (a && l) {
898
- let h = K(o, c);
899
- return [$, q, ...h, q, d];
757
+ let h = q(o, c);
758
+ return [$, W, ...h, W, u];
900
759
  }
901
760
  return [];
902
761
  };
903
- var me = Object.defineProperty, be = Object.getOwnPropertyDescriptor, O = (n, t, e, i) => {
904
- for (var s = i > 1 ? void 0 : i ? be(t, e) : t, r = n.length - 1, o; r >= 0; r--)
762
+ var de = Object.defineProperty, pe = Object.getOwnPropertyDescriptor, T = (n, t, e, i) => {
763
+ for (var s = i > 1 ? void 0 : i ? pe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
905
764
  (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
906
- return i && s && me(t, e, s), s;
765
+ return i && s && de(t, e, s), s;
907
766
  };
908
- let E = class extends m {
767
+ let P = class extends b {
909
768
  constructor() {
910
769
  super(...arguments), this.itemCount = 0, this.pageSize = 50, this.initialPage = 1, this.siblingCount = 2, this.currentPage = this.initialPage, this.pages = [], this.changePage = (n) => {
911
770
  if (n === this.currentPage || // Next page is the same
@@ -948,16 +807,16 @@ let E = class extends m {
948
807
  });
949
808
  }
950
809
  render() {
951
- return y`
810
+ return _`
952
811
  <alliance-paginator-button
953
812
  @click=${this.previous}
954
813
  ?disabled=${this.currentPage === 1}
955
814
  icon="left"
956
815
  ></alliance-paginator-button>
957
816
 
958
- ${ye(
817
+ ${ue(
959
818
  this.pages,
960
- (n) => n === "..." ? y`<telia-label>...</telia-label>` : y`<alliance-paginator-button
819
+ (n) => n === "..." ? _`<telia-label>...</telia-label>` : _`<alliance-paginator-button
961
820
  page=${n}
962
821
  @click=${() => this.changePage(n)}
963
822
  ?selected=${this.currentPage === n}
@@ -972,75 +831,212 @@ let E = class extends m {
972
831
  `;
973
832
  }
974
833
  };
975
- E.styles = V`
834
+ P.styles = M`
976
835
  :host {
977
836
  display: flex;
978
837
  flex-direction: row;
979
838
  place-items: center;
980
- gap: ${_(G.spacing8)};
839
+ gap: ${f(Y.spacing8)};
981
840
  }
982
841
 
983
842
  :host .telia-label {
984
- color: ${_(at.purple700)};
843
+ color: ${f(Z.purple700)};
985
844
  }
986
845
 
987
846
  span {
988
847
  display: block;
989
848
  }
990
849
  `;
991
- O([
992
- g({ type: Number, attribute: "item-count" })
993
- ], E.prototype, "itemCount", 2);
994
- O([
995
- g({ type: Number, attribute: "page-size" })
996
- ], E.prototype, "pageSize", 2);
997
- O([
998
- g({ type: Number, attribute: "initial-page" })
999
- ], E.prototype, "initialPage", 2);
1000
- O([
1001
- g({ type: Number, attribute: "sibling-count" })
1002
- ], E.prototype, "siblingCount", 2);
1003
- O([
850
+ T([
851
+ y({ type: Number, attribute: "item-count" })
852
+ ], P.prototype, "itemCount", 2);
853
+ T([
854
+ y({ type: Number, attribute: "page-size" })
855
+ ], P.prototype, "pageSize", 2);
856
+ T([
857
+ y({ type: Number, attribute: "initial-page" })
858
+ ], P.prototype, "initialPage", 2);
859
+ T([
860
+ y({ type: Number, attribute: "sibling-count" })
861
+ ], P.prototype, "siblingCount", 2);
862
+ T([
1004
863
  Vt()
1005
- ], E.prototype, "currentPage", 2);
1006
- O([
864
+ ], P.prototype, "currentPage", 2);
865
+ T([
1007
866
  Vt()
1008
- ], E.prototype, "pages", 2);
1009
- E = O([
1010
- R("alliance-paginator")
1011
- ], E);
1012
- var Ae = Object.defineProperty, Ee = Object.getOwnPropertyDescriptor, M = (n, t, e, i) => {
1013
- for (var s = i > 1 ? void 0 : i ? Ee(t, e) : t, r = n.length - 1, o; r >= 0; r--)
867
+ ], P.prototype, "pages", 2);
868
+ P = T([
869
+ x("alliance-paginator")
870
+ ], P);
871
+ var $e = Object.defineProperty, ve = Object.getOwnPropertyDescriptor, B = (n, t, e, i) => {
872
+ for (var s = i > 1 ? void 0 : i ? ve(t, e) : t, r = n.length - 1, o; r >= 0; r--)
1014
873
  (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
1015
- return i && s && Ae(t, e, s), s;
1016
- }, Kt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Kt || {});
1017
- let x = class extends m {
874
+ return i && s && $e(t, e, s), s;
875
+ }, Wt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Wt || {});
876
+ let O = class extends b {
1018
877
  constructor() {
1019
878
  super(...arguments), this.selected = !1, this.disabled = !1, this.clickable = !0;
1020
879
  }
1021
880
  renderContent() {
1022
- return this.icon === "left" ? y`<telia-icon size="sm" svg="${Zt.svg}" />` : this.icon === "right" ? y`<telia-icon size="sm" svg="${Jt.svg}" />` : y`<span>${this.page}</span>`;
881
+ return this.icon === "left" ? _`<telia-icon size="sm" svg="${Jt.svg}" />` : this.icon === "right" ? _`<telia-icon size="sm" svg="${Ft.svg}" />` : _`<span>${this.page}</span>`;
1023
882
  }
1024
883
  render() {
1025
- return y`<telia-button ?disabled=${this.disabled} variant=${this.selected ? "primary" : "tertiary-purple"}>${this.renderContent()}</telia-button> `;
884
+ return _`<telia-button ?disabled=${this.disabled} variant=${this.selected ? "primary" : "tertiary-purple"}>${this.renderContent()}</telia-button> `;
1026
885
  }
1027
886
  };
1028
- M([
1029
- g({ type: Kt })
1030
- ], x.prototype, "icon", 2);
1031
- M([
1032
- g({ type: String })
1033
- ], x.prototype, "page", 2);
1034
- M([
1035
- g({ type: Boolean })
1036
- ], x.prototype, "selected", 2);
1037
- M([
1038
- g({ type: Boolean })
1039
- ], x.prototype, "disabled", 2);
1040
- M([
1041
- g({ type: Boolean })
1042
- ], x.prototype, "clickable", 2);
1043
- x = M([
1044
- R("alliance-paginator-button")
1045
- ], x);
887
+ B([
888
+ y({ type: Wt })
889
+ ], O.prototype, "icon", 2);
890
+ B([
891
+ y({ type: String })
892
+ ], O.prototype, "page", 2);
893
+ B([
894
+ y({ type: Boolean })
895
+ ], O.prototype, "selected", 2);
896
+ B([
897
+ y({ type: Boolean })
898
+ ], O.prototype, "disabled", 2);
899
+ B([
900
+ y({ type: Boolean })
901
+ ], O.prototype, "clickable", 2);
902
+ O = B([
903
+ x("alliance-paginator-button")
904
+ ], O);
905
+ var ge = Object.defineProperty, fe = Object.getOwnPropertyDescriptor, _e = (n, t, e, i) => {
906
+ for (var s = i > 1 ? void 0 : i ? fe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
907
+ (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
908
+ return i && s && ge(t, e, s), s;
909
+ };
910
+ let ht = class extends b {
911
+ render() {
912
+ return _` <alliance-tb>
913
+ <slot></slot>
914
+ </alliance-tb>`;
915
+ }
916
+ };
917
+ ht.styles = M`
918
+ :host {
919
+ display: table;
920
+ border-collapse: collapse;
921
+ width: 100%;
922
+ }
923
+ `;
924
+ ht = _e([
925
+ x("alliance-table")
926
+ ], ht);
927
+ var ye = Object.defineProperty, be = Object.getOwnPropertyDescriptor, me = (n, t, e, i) => {
928
+ for (var s = i > 1 ? void 0 : i ? be(t, e) : t, r = n.length - 1, o; r >= 0; r--)
929
+ (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
930
+ return i && s && ye(t, e, s), s;
931
+ };
932
+ let ct = class extends b {
933
+ render() {
934
+ return _`<slot></slot>`;
935
+ }
936
+ };
937
+ ct.styles = M`
938
+ :host {
939
+ display: table-row-group;
940
+ vertical-align: middle;
941
+ border-color: inherit;
942
+ }
943
+ `;
944
+ ct = me([
945
+ x("alliance-tb")
946
+ ], ct);
947
+ var Ae = Object.defineProperty, Pe = Object.getOwnPropertyDescriptor, Ee = (n, t, e, i) => {
948
+ for (var s = i > 1 ? void 0 : i ? Pe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
949
+ (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
950
+ return i && s && Ae(t, e, s), s;
951
+ };
952
+ let ut = class extends b {
953
+ render() {
954
+ return _` <slot></slot> `;
955
+ }
956
+ };
957
+ ut.styles = M`
958
+ :host {
959
+ display: table-cell;
960
+ vertical-align: inherit;
961
+ padding: ${f(Y.spacing24)};
962
+ }
963
+ `;
964
+ ut = Ee([
965
+ x("alliance-td")
966
+ ], ut);
967
+ var Se = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, qt = (n, t, e, i) => {
968
+ for (var s = i > 1 ? void 0 : i ? Ce(t, e) : t, r = n.length - 1, o; r >= 0; r--)
969
+ (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
970
+ return i && s && Se(t, e, s), s;
971
+ };
972
+ let Q = class extends b {
973
+ constructor() {
974
+ super(...arguments), this.label = "";
975
+ }
976
+ render() {
977
+ return _`<telia-heading tag="h4" variant="title-100">${this.label}</telia-heading>`;
978
+ }
979
+ };
980
+ Q.styles = M`
981
+ :host {
982
+ display: table-cell;
983
+ padding: ${f(Y.spacing24)};
984
+ }
985
+ `;
986
+ qt([
987
+ y({ type: String })
988
+ ], Q.prototype, "label", 2);
989
+ Q = qt([
990
+ x("alliance-th")
991
+ ], Q);
992
+ var we = Object.defineProperty, Oe = Object.getOwnPropertyDescriptor, Kt = (n, t, e, i) => {
993
+ for (var s = i > 1 ? void 0 : i ? Oe(t, e) : t, r = n.length - 1, o; r >= 0; r--)
994
+ (o = n[r]) && (s = (i ? o(t, e, s) : o(s)) || s);
995
+ return i && s && we(t, e, s), s;
996
+ };
997
+ let X = class extends b {
998
+ constructor() {
999
+ super(...arguments), this.clickable = !1;
1000
+ }
1001
+ render() {
1002
+ return _`
1003
+ ${this.clickable ? xe : ""}
1004
+ <slot></slot>
1005
+ `;
1006
+ }
1007
+ };
1008
+ X.styles = M`
1009
+ :host {
1010
+ display: table-row;
1011
+ border-bottom: ${f(Zt.widthXs)} solid ${f(Z.gray200)};
1012
+ }
1013
+ `;
1014
+ Kt([
1015
+ y({ type: Boolean })
1016
+ ], X.prototype, "clickable", 2);
1017
+ X = Kt([
1018
+ x("alliance-tr")
1019
+ ], X);
1020
+ const xe = _`<style>
1021
+ :host {
1022
+ background-color: transparent;
1023
+ transition: background-color ${f(gt.duration150)} ${f(gt.easeIn)};
1024
+ cursor: pointer;
1025
+ }
1026
+
1027
+ :host(:hover),
1028
+ :host(:focus-visible),
1029
+ :host(:focus) {
1030
+ background-color: ${f(Z.gray200)};
1031
+ }
1032
+
1033
+ :host(:active) {
1034
+ background-color: ${f(Z.gray300)};
1035
+ }
1036
+
1037
+ :host(:focus-visible) {
1038
+ outline: solid ${f(ft.focusBorderWidth)} ${f(ft.focusColor)};
1039
+ outline-offset: ${f(Y.spacing4)};
1040
+ }
1041
+ </style>`;
1046
1042
  //# sourceMappingURL=index.js.map