@telia-ace/widget-components-copyright-flamingo 1.0.8 → 1.0.9

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,119 +1,38 @@
1
- var gt = Object.defineProperty, yt = Object.defineProperties;
2
- var mt = Object.getOwnPropertyDescriptors;
3
- var J = Object.getOwnPropertySymbols;
4
- var At = Object.prototype.hasOwnProperty, bt = Object.prototype.propertyIsEnumerable;
5
- var G = (n, t, e) => t in n ? gt(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, O = (n, t) => {
6
- for (var e in t || (t = {}))
7
- At.call(t, e) && G(n, e, t[e]);
8
- if (J)
9
- for (var e of J(t))
10
- bt.call(t, e) && G(n, e, t[e]);
11
- return n;
12
- }, T = (n, t) => yt(n, mt(t));
13
- var Q = (n, t, e) => new Promise((s, i) => {
14
- var r = (c) => {
1
+ var Z = (n, t, e) => new Promise((s, i) => {
2
+ var r = (l) => {
15
3
  try {
16
- h(e.next(c));
17
- } catch (l) {
18
- i(l);
4
+ h(e.next(l));
5
+ } catch (c) {
6
+ i(c);
19
7
  }
20
- }, o = (c) => {
8
+ }, o = (l) => {
21
9
  try {
22
- h(e.throw(c));
23
- } catch (l) {
24
- i(l);
10
+ h(e.throw(l));
11
+ } catch (c) {
12
+ i(c);
25
13
  }
26
- }, h = (c) => c.done ? s(c.value) : Promise.resolve(c.value).then(r, o);
14
+ }, h = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(r, o);
27
15
  h((e = e.apply(n, t)).next());
28
16
  });
29
- import { f as Et } from "./index-c0ca28bb.js";
30
- /**
31
- * @license
32
- * Copyright 2021 Google LLC
33
- * SPDX-License-Identifier: BSD-3-Clause
34
- */
35
- let St = class extends Event {
36
- constructor(t, e, s) {
37
- super("context-request", { bubbles: !0, composed: !0 }), this.context = t, this.callback = e, this.subscribe = s != null && s;
38
- }
39
- };
40
- /**
41
- * @license
42
- * Copyright 2021 Google LLC
43
- * SPDX-License-Identifier: BSD-3-Clause
44
- */
45
- let wt = class {
46
- constructor(t, e, s, i) {
47
- var r;
48
- if (this.subscribe = !1, this.provided = !1, this.value = void 0, this.t = (o, h) => {
49
- this.unsubscribe && (this.unsubscribe !== h && (this.provided = !1, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = o, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = !0, this.callback && this.callback(o, h)), this.unsubscribe = h;
50
- }, this.host = t, e.context !== void 0) {
51
- const o = e;
52
- this.context = o.context, this.callback = o.callback, this.subscribe = (r = o.subscribe) !== null && r !== void 0 && r;
53
- } else
54
- this.context = e, this.callback = s, this.subscribe = i != null && i;
55
- this.host.addController(this);
56
- }
57
- hostConnected() {
58
- this.dispatchRequest();
59
- }
60
- hostDisconnected() {
61
- this.unsubscribe && (this.unsubscribe(), this.unsubscribe = void 0);
62
- }
63
- dispatchRequest() {
64
- this.host.dispatchEvent(new St(this.context, this.t, this.subscribe));
65
- }
66
- };
67
- /**
68
- * @license
69
- * Copyright 2017 Google LLC
70
- * SPDX-License-Identifier: BSD-3-Clause
71
- */
72
- const xt = ({ finisher: n, descriptor: t }) => (e, s) => {
73
- var i;
74
- if (s === void 0) {
75
- const r = (i = e.originalKey) !== null && i !== void 0 ? i : e.key, o = t != null ? { kind: "method", placement: "prototype", key: r, descriptor: t(e.key) } : T(O({}, e), { key: r });
76
- return n != null && (o.finisher = function(h) {
77
- n(h, r);
78
- }), o;
79
- }
80
- {
81
- const r = e.constructor;
82
- t !== void 0 && Object.defineProperty(e, s, t(s)), n == null || n(r, s);
83
- }
84
- };
85
- /**
86
- * @license
87
- * Copyright 2022 Google LLC
88
- * SPDX-License-Identifier: BSD-3-Clause
89
- */
90
- function Ct({ context: n, subscribe: t }) {
91
- return xt({ finisher: (e, s) => {
92
- e.addInitializer((i) => {
93
- new wt(i, { context: n, callback: (r) => {
94
- i[s] = r;
95
- }, subscribe: t });
96
- });
97
- } });
98
- }
17
+ import { D as vt } from "./index-005e7ef2.js";
99
18
  /**
100
19
  * @license
101
20
  * Copyright 2019 Google LLC
102
21
  * SPDX-License-Identifier: BSD-3-Clause
103
22
  */
104
- const k = window, K = k.ShadowRoot && (k.ShadyCSS === void 0 || k.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Z = Symbol(), X = /* @__PURE__ */ new WeakMap();
105
- let at = class {
23
+ const P = window, W = P.ShadowRoot && (P.ShadyCSS === void 0 || P.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, q = Symbol(), J = /* @__PURE__ */ new WeakMap();
24
+ let rt = class {
106
25
  constructor(t, e, s) {
107
- if (this._$cssResult$ = !0, s !== Z)
26
+ if (this._$cssResult$ = !0, s !== q)
108
27
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
109
28
  this.cssText = t, this.t = e;
110
29
  }
111
30
  get styleSheet() {
112
31
  let t = this.o;
113
32
  const e = this.t;
114
- if (K && t === void 0) {
33
+ if (W && t === void 0) {
115
34
  const s = e !== void 0 && e.length === 1;
116
- s && (t = X.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && X.set(e, t));
35
+ s && (t = J.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && J.set(e, t));
117
36
  }
118
37
  return t;
119
38
  }
@@ -121,7 +40,7 @@ let at = class {
121
40
  return this.cssText;
122
41
  }
123
42
  };
124
- const Ht = (n) => new at(typeof n == "string" ? n : n + "", void 0, Z), Mt = (n, ...t) => {
43
+ const $t = (n) => new rt(typeof n == "string" ? n : n + "", void 0, q), _t = (n, ...t) => {
125
44
  const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
126
45
  if (o._$cssResult$ === !0)
127
46
  return o.cssText;
@@ -129,28 +48,28 @@ const Ht = (n) => new at(typeof n == "string" ? n : n + "", void 0, Z), Mt = (n,
129
48
  return o;
130
49
  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.");
131
50
  })(i) + n[r + 1], n[0]);
132
- return new at(e, n, Z);
133
- }, Pt = (n, t) => {
134
- K ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
135
- const s = document.createElement("style"), i = k.litNonce;
51
+ return new rt(e, n, q);
52
+ }, ft = (n, t) => {
53
+ W ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
54
+ const s = document.createElement("style"), i = P.litNonce;
136
55
  i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
137
56
  });
138
- }, Y = K ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
57
+ }, K = W ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
139
58
  let e = "";
140
59
  for (const s of t.cssRules)
141
60
  e += s.cssText;
142
- return Ht(e);
61
+ return $t(e);
143
62
  })(n) : n;
144
63
  /**
145
64
  * @license
146
65
  * Copyright 2017 Google LLC
147
66
  * SPDX-License-Identifier: BSD-3-Clause
148
67
  */
149
- var R;
150
- const z = window, tt = z.trustedTypes, kt = tt ? tt.emptyScript : "", et = z.reactiveElementPolyfillSupport, F = { toAttribute(n, t) {
68
+ var T;
69
+ const U = window, G = U.trustedTypes, gt = G ? G.emptyScript : "", Q = U.reactiveElementPolyfillSupport, B = { toAttribute(n, t) {
151
70
  switch (t) {
152
71
  case Boolean:
153
- n = n ? kt : null;
72
+ n = n ? gt : null;
154
73
  break;
155
74
  case Object:
156
75
  case Array:
@@ -175,8 +94,8 @@ const z = window, tt = z.trustedTypes, kt = tt ? tt.emptyScript : "", et = z.rea
175
94
  }
176
95
  }
177
96
  return e;
178
- } }, dt = (n, t) => t !== n && (t == t || n == n), D = { attribute: !0, type: String, converter: F, reflect: !1, hasChanged: dt }, q = "finalized";
179
- let y = class extends HTMLElement {
97
+ } }, lt = (n, t) => t !== n && (t == t || n == n), R = { attribute: !0, type: String, converter: B, reflect: !1, hasChanged: lt }, I = "finalized";
98
+ let A = class extends HTMLElement {
180
99
  constructor() {
181
100
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this._$Eu();
182
101
  }
@@ -192,7 +111,7 @@ let y = class extends HTMLElement {
192
111
  i !== void 0 && (this._$Ev.set(i, s), t.push(i));
193
112
  }), t;
194
113
  }
195
- static createProperty(t, e = D) {
114
+ static createProperty(t, e = R) {
196
115
  if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
197
116
  const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
198
117
  i !== void 0 && Object.defineProperty(this.prototype, t, i);
@@ -207,12 +126,12 @@ let y = class extends HTMLElement {
207
126
  }, configurable: !0, enumerable: !0 };
208
127
  }
209
128
  static getPropertyOptions(t) {
210
- return this.elementProperties.get(t) || D;
129
+ return this.elementProperties.get(t) || R;
211
130
  }
212
131
  static finalize() {
213
- if (this.hasOwnProperty(q))
132
+ if (this.hasOwnProperty(I))
214
133
  return !1;
215
- this[q] = !0;
134
+ this[I] = !0;
216
135
  const t = Object.getPrototypeOf(this);
217
136
  if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
218
137
  const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
@@ -226,9 +145,9 @@ let y = class extends HTMLElement {
226
145
  if (Array.isArray(t)) {
227
146
  const s = new Set(t.flat(1 / 0).reverse());
228
147
  for (const i of s)
229
- e.unshift(Y(i));
148
+ e.unshift(K(i));
230
149
  } else
231
- t !== void 0 && e.push(Y(t));
150
+ t !== void 0 && e.push(K(t));
232
151
  return e;
233
152
  }
234
153
  static _$Ep(t, e) {
@@ -255,7 +174,7 @@ let y = class extends HTMLElement {
255
174
  createRenderRoot() {
256
175
  var t;
257
176
  const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
258
- return Pt(e, this.constructor.elementStyles), e;
177
+ return ft(e, this.constructor.elementStyles), e;
259
178
  }
260
179
  connectedCallback() {
261
180
  var t;
@@ -276,11 +195,11 @@ let y = class extends HTMLElement {
276
195
  attributeChangedCallback(t, e, s) {
277
196
  this._$AK(t, s);
278
197
  }
279
- _$EO(t, e, s = D) {
198
+ _$EO(t, e, s = R) {
280
199
  var i;
281
200
  const r = this.constructor._$Ep(t, s);
282
201
  if (r !== void 0 && s.reflect === !0) {
283
- const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : F).toAttribute(e, s.type);
202
+ const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : B).toAttribute(e, s.type);
284
203
  this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
285
204
  }
286
205
  }
@@ -288,16 +207,16 @@ let y = class extends HTMLElement {
288
207
  var s;
289
208
  const i = this.constructor, r = i._$Ev.get(t);
290
209
  if (r !== void 0 && this._$El !== r) {
291
- const o = i.getPropertyOptions(r), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : F;
210
+ const o = i.getPropertyOptions(r), h = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : B;
292
211
  this._$El = r, this[r] = h.fromAttribute(e, o.type), this._$El = null;
293
212
  }
294
213
  }
295
214
  requestUpdate(t, e, s) {
296
215
  let i = !0;
297
- t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || dt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
216
+ t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || lt)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
298
217
  }
299
218
  _$Ej() {
300
- return Q(this, null, function* () {
219
+ return Z(this, null, function* () {
301
220
  this.isUpdatePending = !0;
302
221
  try {
303
222
  yield this._$E_;
@@ -357,76 +276,76 @@ let y = class extends HTMLElement {
357
276
  firstUpdated(t) {
358
277
  }
359
278
  };
360
- y[q] = !0, y.elementProperties = /* @__PURE__ */ new Map(), y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, et == null || et({ ReactiveElement: y }), ((R = z.reactiveElementVersions) !== null && R !== void 0 ? R : z.reactiveElementVersions = []).push("1.6.3");
279
+ A[I] = !0, A.elementProperties = /* @__PURE__ */ new Map(), A.elementStyles = [], A.shadowRootOptions = { mode: "open" }, Q == null || Q({ ReactiveElement: A }), ((T = U.reactiveElementVersions) !== null && T !== void 0 ? T : U.reactiveElementVersions = []).push("1.6.3");
361
280
  /**
362
281
  * @license
363
282
  * Copyright 2017 Google LLC
364
283
  * SPDX-License-Identifier: BSD-3-Clause
365
284
  */
366
- var V;
367
- const U = window, m = U.trustedTypes, st = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, W = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, ut = "?" + $, zt = `<${ut}>`, g = document, w = () => g.createComment(""), x = (n) => n === null || typeof n != "object" && typeof n != "function", pt = Array.isArray, Ut = (n) => pt(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", L = `[
368
- \f\r]`, E = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, it = /-->/g, nt = />/g, _ = RegExp(`>|${L}(?:([^\\s"'>=/]+)(${L}*=${L}*(?:[^
369
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ot = /'/g, rt = /"/g, vt = /^(?:script|style|textarea|title)$/i, Nt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Ot = Nt(1), A = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), ct = /* @__PURE__ */ new WeakMap(), f = g.createTreeWalker(g, 129, null, !1);
370
- function $t(n, t) {
285
+ var k;
286
+ const z = window, m = z.trustedTypes, X = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, F = "$lit$", $ = `lit$${(Math.random() + "").slice(9)}$`, ct = "?" + $, At = `<${ct}>`, g = document, w = () => g.createComment(""), C = (n) => n === null || typeof n != "object" && typeof n != "function", ht = Array.isArray, mt = (n) => ht(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", D = `[
287
+ \f\r]`, S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Y = /-->/g, tt = />/g, _ = RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^
288
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), et = /'/g, st = /"/g, at = /^(?:script|style|textarea|title)$/i, yt = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), Et = yt(1), y = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), it = /* @__PURE__ */ new WeakMap(), f = g.createTreeWalker(g, 129, null, !1);
289
+ function dt(n, t) {
371
290
  if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
372
291
  throw Error("invalid template strings array");
373
- return st !== void 0 ? st.createHTML(t) : t;
292
+ return X !== void 0 ? X.createHTML(t) : t;
374
293
  }
375
- const Tt = (n, t) => {
294
+ const St = (n, t) => {
376
295
  const e = n.length - 1, s = [];
377
- let i, r = t === 2 ? "<svg>" : "", o = E;
296
+ let i, r = t === 2 ? "<svg>" : "", o = S;
378
297
  for (let h = 0; h < e; h++) {
379
- const c = n[h];
380
- let l, a, d = -1, p = 0;
381
- for (; p < c.length && (o.lastIndex = p, a = o.exec(c), a !== null); )
382
- p = o.lastIndex, o === E ? a[1] === "!--" ? o = it : a[1] !== void 0 ? o = nt : a[2] !== void 0 ? (vt.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i != null ? i : E, d = -1) : a[1] === void 0 ? d = -2 : (d = o.lastIndex - a[2].length, l = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? rt : ot) : o === rt || o === ot ? o = _ : o === it || o === nt ? o = E : (o = _, i = void 0);
298
+ const l = n[h];
299
+ let c, a, d = -1, u = 0;
300
+ for (; u < l.length && (o.lastIndex = u, a = o.exec(l), a !== null); )
301
+ u = o.lastIndex, o === S ? a[1] === "!--" ? o = Y : a[1] !== void 0 ? o = tt : a[2] !== void 0 ? (at.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i != null ? i : S, d = -1) : a[1] === void 0 ? d = -2 : (d = o.lastIndex - a[2].length, c = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? st : et) : o === st || o === et ? o = _ : o === Y || o === tt ? o = S : (o = _, i = void 0);
383
302
  const v = o === _ && n[h + 1].startsWith("/>") ? " " : "";
384
- r += o === E ? c + zt : d >= 0 ? (s.push(l), c.slice(0, d) + W + c.slice(d) + $ + v) : c + $ + (d === -2 ? (s.push(void 0), h) : v);
303
+ r += o === S ? l + At : d >= 0 ? (s.push(c), l.slice(0, d) + F + l.slice(d) + $ + v) : l + $ + (d === -2 ? (s.push(void 0), h) : v);
385
304
  }
386
- return [$t(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
305
+ return [dt(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), s];
387
306
  };
388
- class C {
307
+ class x {
389
308
  constructor({ strings: t, _$litType$: e }, s) {
390
309
  let i;
391
310
  this.parts = [];
392
311
  let r = 0, o = 0;
393
- const h = t.length - 1, c = this.parts, [l, a] = Tt(t, e);
394
- if (this.el = C.createElement(l, s), f.currentNode = this.el.content, e === 2) {
395
- const d = this.el.content, p = d.firstChild;
396
- p.remove(), d.append(...p.childNodes);
312
+ const h = t.length - 1, l = this.parts, [c, a] = St(t, e);
313
+ if (this.el = x.createElement(c, s), f.currentNode = this.el.content, e === 2) {
314
+ const d = this.el.content, u = d.firstChild;
315
+ u.remove(), d.append(...u.childNodes);
397
316
  }
398
- for (; (i = f.nextNode()) !== null && c.length < h; ) {
317
+ for (; (i = f.nextNode()) !== null && l.length < h; ) {
399
318
  if (i.nodeType === 1) {
400
319
  if (i.hasAttributes()) {
401
320
  const d = [];
402
- for (const p of i.getAttributeNames())
403
- if (p.endsWith(W) || p.startsWith($)) {
321
+ for (const u of i.getAttributeNames())
322
+ if (u.endsWith(F) || u.startsWith($)) {
404
323
  const v = a[o++];
405
- if (d.push(p), v !== void 0) {
406
- const ft = i.getAttribute(v.toLowerCase() + W).split($), P = /([.?@])?(.*)/.exec(v);
407
- c.push({ type: 1, index: r, name: P[2], strings: ft, ctor: P[1] === "." ? Dt : P[1] === "?" ? Lt : P[1] === "@" ? jt : N });
324
+ if (d.push(u), v !== void 0) {
325
+ const ut = i.getAttribute(v.toLowerCase() + F).split($), M = /([.?@])?(.*)/.exec(v);
326
+ l.push({ type: 1, index: r, name: M[2], strings: ut, ctor: M[1] === "." ? wt : M[1] === "?" ? xt : M[1] === "@" ? Ht : O });
408
327
  } else
409
- c.push({ type: 6, index: r });
328
+ l.push({ type: 6, index: r });
410
329
  }
411
- for (const p of d)
412
- i.removeAttribute(p);
330
+ for (const u of d)
331
+ i.removeAttribute(u);
413
332
  }
414
- if (vt.test(i.tagName)) {
415
- const d = i.textContent.split($), p = d.length - 1;
416
- if (p > 0) {
333
+ if (at.test(i.tagName)) {
334
+ const d = i.textContent.split($), u = d.length - 1;
335
+ if (u > 0) {
417
336
  i.textContent = m ? m.emptyScript : "";
418
- for (let v = 0; v < p; v++)
419
- i.append(d[v], w()), f.nextNode(), c.push({ type: 2, index: ++r });
420
- i.append(d[p], w());
337
+ for (let v = 0; v < u; v++)
338
+ i.append(d[v], w()), f.nextNode(), l.push({ type: 2, index: ++r });
339
+ i.append(d[u], w());
421
340
  }
422
341
  }
423
342
  } else if (i.nodeType === 8)
424
- if (i.data === ut)
425
- c.push({ type: 2, index: r });
343
+ if (i.data === ct)
344
+ l.push({ type: 2, index: r });
426
345
  else {
427
346
  let d = -1;
428
347
  for (; (d = i.data.indexOf($, d + 1)) !== -1; )
429
- c.push({ type: 7, index: r }), d += $.length - 1;
348
+ l.push({ type: 7, index: r }), d += $.length - 1;
430
349
  }
431
350
  r++;
432
351
  }
@@ -436,15 +355,15 @@ class C {
436
355
  return s.innerHTML = t, s;
437
356
  }
438
357
  }
439
- function b(n, t, e = n, s) {
358
+ function E(n, t, e = n, s) {
440
359
  var i, r, o, h;
441
- if (t === A)
360
+ if (t === y)
442
361
  return t;
443
- let c = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
444
- const l = x(t) ? void 0 : t._$litDirective$;
445
- return (c == null ? void 0 : c.constructor) !== l && ((r = c == null ? void 0 : c._$AO) === null || r === void 0 || r.call(c, !1), l === void 0 ? c = void 0 : (c = new l(n), c._$AT(n, e, s)), s !== void 0 ? ((o = (h = e)._$Co) !== null && o !== void 0 ? o : h._$Co = [])[s] = c : e._$Cl = c), c !== void 0 && (t = b(n, c._$AS(n, t.values), c, s)), t;
362
+ let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
363
+ const c = C(t) ? void 0 : t._$litDirective$;
364
+ return (l == null ? void 0 : l.constructor) !== c && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), c === void 0 ? l = void 0 : (l = new c(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (h = e)._$Co) !== null && o !== void 0 ? o : h._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
446
365
  }
447
- class Rt {
366
+ class bt {
448
367
  constructor(t, e) {
449
368
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
450
369
  }
@@ -458,13 +377,13 @@ class Rt {
458
377
  var e;
459
378
  const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : g).importNode(s, !0);
460
379
  f.currentNode = r;
461
- let o = f.nextNode(), h = 0, c = 0, l = i[0];
462
- for (; l !== void 0; ) {
463
- if (h === l.index) {
380
+ let o = f.nextNode(), h = 0, l = 0, c = i[0];
381
+ for (; c !== void 0; ) {
382
+ if (h === c.index) {
464
383
  let a;
465
- l.type === 2 ? a = new M(o, o.nextSibling, this, t) : l.type === 1 ? a = new l.ctor(o, l.name, l.strings, this, t) : l.type === 6 && (a = new Bt(o, this, t)), this._$AV.push(a), l = i[++c];
384
+ c.type === 2 ? a = new H(o, o.nextSibling, this, t) : c.type === 1 ? a = new c.ctor(o, c.name, c.strings, this, t) : c.type === 6 && (a = new Mt(o, this, t)), this._$AV.push(a), c = i[++l];
466
385
  }
467
- h !== (l == null ? void 0 : l.index) && (o = f.nextNode(), h++);
386
+ h !== (c == null ? void 0 : c.index) && (o = f.nextNode(), h++);
468
387
  }
469
388
  return f.currentNode = g, r;
470
389
  }
@@ -474,10 +393,10 @@ class Rt {
474
393
  s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
475
394
  }
476
395
  }
477
- class M {
396
+ class H {
478
397
  constructor(t, e, s, i) {
479
398
  var r;
480
- this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cp = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
399
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cp = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
481
400
  }
482
401
  get _$AU() {
483
402
  var t, e;
@@ -495,7 +414,7 @@ class M {
495
414
  return this._$AB;
496
415
  }
497
416
  _$AI(t, e = this) {
498
- t = b(this, t, e), x(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== A && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : Ut(t) ? this.T(t) : this._(t);
417
+ t = E(this, t, e), C(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== y && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : mt(t) ? this.T(t) : this._(t);
499
418
  }
500
419
  k(t) {
501
420
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -504,28 +423,28 @@ class M {
504
423
  this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
505
424
  }
506
425
  _(t) {
507
- this._$AH !== u && x(this._$AH) ? this._$AA.nextSibling.data = t : this.$(g.createTextNode(t)), this._$AH = t;
426
+ this._$AH !== p && C(this._$AH) ? this._$AA.nextSibling.data = t : this.$(g.createTextNode(t)), this._$AH = t;
508
427
  }
509
428
  g(t) {
510
429
  var e;
511
- const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = C.createElement($t(i.h, i.h[0]), this.options)), i);
430
+ const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = x.createElement(dt(i.h, i.h[0]), this.options)), i);
512
431
  if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
513
432
  this._$AH.v(s);
514
433
  else {
515
- const o = new Rt(r, this), h = o.u(this.options);
434
+ const o = new bt(r, this), h = o.u(this.options);
516
435
  o.v(s), this.$(h), this._$AH = o;
517
436
  }
518
437
  }
519
438
  _$AC(t) {
520
- let e = ct.get(t.strings);
521
- return e === void 0 && ct.set(t.strings, e = new C(t)), e;
439
+ let e = it.get(t.strings);
440
+ return e === void 0 && it.set(t.strings, e = new x(t)), e;
522
441
  }
523
442
  T(t) {
524
- pt(this._$AH) || (this._$AH = [], this._$AR());
443
+ ht(this._$AH) || (this._$AH = [], this._$AR());
525
444
  const e = this._$AH;
526
445
  let s, i = 0;
527
446
  for (const r of t)
528
- i === e.length ? e.push(s = new M(this.k(w()), this.k(w()), this, this.options)) : s = e[i], s._$AI(r), i++;
447
+ i === e.length ? e.push(s = new H(this.k(w()), this.k(w()), this, this.options)) : s = e[i], s._$AI(r), i++;
529
448
  i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
530
449
  }
531
450
  _$AR(t = this._$AA.nextSibling, e) {
@@ -540,9 +459,9 @@ class M {
540
459
  this._$AM === void 0 && (this._$Cp = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
541
460
  }
542
461
  }
543
- class N {
462
+ class O {
544
463
  constructor(t, e, s, i, r) {
545
- this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = u;
464
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
546
465
  }
547
466
  get tagName() {
548
467
  return this.element.tagName;
@@ -554,45 +473,45 @@ class N {
554
473
  const r = this.strings;
555
474
  let o = !1;
556
475
  if (r === void 0)
557
- t = b(this, t, e, 0), o = !x(t) || t !== this._$AH && t !== A, o && (this._$AH = t);
476
+ t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== y, o && (this._$AH = t);
558
477
  else {
559
478
  const h = t;
560
- let c, l;
561
- for (t = r[0], c = 0; c < r.length - 1; c++)
562
- l = b(this, h[s + c], e, c), l === A && (l = this._$AH[c]), o || (o = !x(l) || l !== this._$AH[c]), l === u ? t = u : t !== u && (t += (l != null ? l : "") + r[c + 1]), this._$AH[c] = l;
479
+ let l, c;
480
+ for (t = r[0], l = 0; l < r.length - 1; l++)
481
+ c = E(this, h[s + l], e, l), c === y && (c = this._$AH[l]), o || (o = !C(c) || c !== this._$AH[l]), c === p ? t = p : t !== p && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
563
482
  }
564
483
  o && !i && this.j(t);
565
484
  }
566
485
  j(t) {
567
- t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
486
+ t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
568
487
  }
569
488
  }
570
- class Dt extends N {
489
+ class wt extends O {
571
490
  constructor() {
572
491
  super(...arguments), this.type = 3;
573
492
  }
574
493
  j(t) {
575
- this.element[this.name] = t === u ? void 0 : t;
494
+ this.element[this.name] = t === p ? void 0 : t;
576
495
  }
577
496
  }
578
- const Vt = m ? m.emptyScript : "";
579
- class Lt extends N {
497
+ const Ct = m ? m.emptyScript : "";
498
+ class xt extends O {
580
499
  constructor() {
581
500
  super(...arguments), this.type = 4;
582
501
  }
583
502
  j(t) {
584
- t && t !== u ? this.element.setAttribute(this.name, Vt) : this.element.removeAttribute(this.name);
503
+ t && t !== p ? this.element.setAttribute(this.name, Ct) : this.element.removeAttribute(this.name);
585
504
  }
586
505
  }
587
- class jt extends N {
506
+ class Ht extends O {
588
507
  constructor(t, e, s, i, r) {
589
508
  super(t, e, s, i, r), this.type = 5;
590
509
  }
591
510
  _$AI(t, e = this) {
592
511
  var s;
593
- if ((t = (s = b(this, t, e, 0)) !== null && s !== void 0 ? s : u) === A)
512
+ if ((t = (s = E(this, t, e, 0)) !== null && s !== void 0 ? s : p) === y)
594
513
  return;
595
- const i = this._$AH, r = t === u && i !== u || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== u && (i === u || r);
514
+ const i = this._$AH, r = t === p && i !== p || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, o = t !== p && (i === p || r);
596
515
  r && this.element.removeEventListener(this.name, this, i), o && this.element.addEventListener(this.name, this, t), this._$AH = t;
597
516
  }
598
517
  handleEvent(t) {
@@ -600,7 +519,7 @@ class jt extends N {
600
519
  typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
601
520
  }
602
521
  }
603
- class Bt {
522
+ class Mt {
604
523
  constructor(t, e, s) {
605
524
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
606
525
  }
@@ -608,18 +527,18 @@ class Bt {
608
527
  return this._$AM._$AU;
609
528
  }
610
529
  _$AI(t) {
611
- b(this, t);
530
+ E(this, t);
612
531
  }
613
532
  }
614
- const lt = U.litHtmlPolyfillSupport;
615
- lt == null || lt(C, M), ((V = U.litHtmlVersions) !== null && V !== void 0 ? V : U.litHtmlVersions = []).push("2.8.0");
616
- const It = (n, t, e) => {
533
+ const nt = z.litHtmlPolyfillSupport;
534
+ nt == null || nt(x, H), ((k = z.litHtmlVersions) !== null && k !== void 0 ? k : z.litHtmlVersions = []).push("2.8.0");
535
+ const Pt = (n, t, e) => {
617
536
  var s, i;
618
537
  const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
619
538
  let o = r._$litPart$;
620
539
  if (o === void 0) {
621
540
  const h = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
622
- r._$litPart$ = o = new M(t.insertBefore(w(), h), h, void 0, e != null ? e : {});
541
+ r._$litPart$ = o = new H(t.insertBefore(w(), h), h, void 0, e != null ? e : {});
623
542
  }
624
543
  return o._$AI(n), o;
625
544
  };
@@ -628,8 +547,8 @@ const It = (n, t, e) => {
628
547
  * Copyright 2017 Google LLC
629
548
  * SPDX-License-Identifier: BSD-3-Clause
630
549
  */
631
- var j, B;
632
- class S extends y {
550
+ var V, L;
551
+ class b extends A {
633
552
  constructor() {
634
553
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
635
554
  }
@@ -640,7 +559,7 @@ class S extends y {
640
559
  }
641
560
  update(t) {
642
561
  const e = this.render();
643
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = It(e, this.renderRoot, this.renderOptions);
562
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Pt(e, this.renderRoot, this.renderOptions);
644
563
  }
645
564
  connectedCallback() {
646
565
  var t;
@@ -651,59 +570,40 @@ class S extends y {
651
570
  super.disconnectedCallback(), (t = this._$Do) === null || t === void 0 || t.setConnected(!1);
652
571
  }
653
572
  render() {
654
- return A;
573
+ return y;
655
574
  }
656
575
  }
657
- S.finalized = !0, S._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: S });
658
- const ht = globalThis.litElementPolyfillSupport;
659
- ht == null || ht({ LitElement: S });
660
- ((B = globalThis.litElementVersions) !== null && B !== void 0 ? B : globalThis.litElementVersions = []).push("3.3.3");
576
+ b.finalized = !0, b._$litElement$ = !0, (V = globalThis.litElementHydrateSupport) === null || V === void 0 || V.call(globalThis, { LitElement: b });
577
+ const ot = globalThis.litElementPolyfillSupport;
578
+ ot == null || ot({ LitElement: b });
579
+ ((L = globalThis.litElementVersions) !== null && L !== void 0 ? L : globalThis.litElementVersions = []).push("3.3.3");
661
580
  /**
662
581
  * @license
663
582
  * Copyright 2017 Google LLC
664
583
  * SPDX-License-Identifier: BSD-3-Clause
665
584
  */
666
- const Ft = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
585
+ const Ut = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
667
586
  const { kind: i, elements: r } = s;
668
587
  return { kind: i, elements: r, finisher(o) {
669
588
  customElements.define(e, o);
670
589
  } };
671
590
  })(n, t);
672
- /**
673
- * @license
674
- * Copyright 2017 Google LLC
675
- * SPDX-License-Identifier: BSD-3-Clause
676
- */
677
- const qt = (n, t) => t.kind === "method" && t.descriptor && !("value" in t.descriptor) ? T(O({}, t), { finisher(e) {
678
- e.createProperty(t.key, n);
679
- } }) : { kind: "field", key: Symbol(), placement: "own", descriptor: {}, originalKey: t.key, initializer() {
680
- typeof t.initializer == "function" && (this[t.key] = t.initializer.call(this));
681
- }, finisher(e) {
682
- e.createProperty(t.key, n);
683
- } }, Wt = (n, t, e) => {
684
- t.constructor.createProperty(e, n);
685
- };
686
- function Kt(n) {
687
- return (t, e) => e !== void 0 ? Wt(n, t, e) : qt(n, t);
688
- }
689
591
  /**
690
592
  * @license
691
593
  * Copyright 2021 Google LLC
692
594
  * SPDX-License-Identifier: BSD-3-Clause
693
595
  */
694
- var I;
695
- ((I = window.HTMLSlotElement) === null || I === void 0 ? void 0 : I.prototype.assignedElements) != null;
696
- var Zt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, _t = (n, t, e, s) => {
697
- for (var i = s > 1 ? void 0 : s ? Jt(t, e) : t, r = n.length - 1, o; r >= 0; r--)
596
+ var j;
597
+ ((j = window.HTMLSlotElement) === null || j === void 0 ? void 0 : j.prototype.assignedElements) != null;
598
+ var zt = Object.defineProperty, Nt = Object.getOwnPropertyDescriptor, Ot = (n, t, e, s) => {
599
+ for (var i = s > 1 ? void 0 : s ? Nt(t, e) : t, r = n.length - 1, o; r >= 0; r--)
698
600
  (o = n[r]) && (i = (s ? o(t, e, i) : o(i)) || i);
699
- return s && i && Zt(t, e, i), i;
601
+ return s && i && zt(t, e, i), i;
700
602
  };
701
- let H = class extends S {
702
- constructor() {
703
- super(...arguments), this.properties = {};
704
- }
603
+ const pt = vt(b);
604
+ let N = class extends pt {
705
605
  render() {
706
- return Ot` <div class="copyright">
606
+ return Et` <div class="copyright">
707
607
  <a
708
608
  aria-label="Powered by Telia ACE"
709
609
  href="https://ace-showcase.com/marketplace/ace-knowledge/"
@@ -819,46 +719,38 @@ let H = class extends S {
819
719
  </div>`;
820
720
  }
821
721
  };
822
- H.styles = Mt`
823
- :host {
824
- font-family: var(--font-family);
825
- box-sizing: border-box;
826
- }
827
- * {
828
- box-sizing: border-box;
829
- }
830
- .copyright {
831
- padding: var(--spacing-md);
832
- box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
833
- z-index: 6;
834
- background-color: #fff;
835
- }
722
+ N.styles = [
723
+ pt.styles || [],
724
+ _t`
725
+ .copyright {
726
+ padding: var(--spacing-md);
727
+ box-shadow: 1px 0px 10px rgba(0, 0, 0, 0.1);
728
+ z-index: 6;
729
+ background-color: #fff;
730
+ }
836
731
 
837
- a {
838
- display: flex;
839
- justify-content: center;
840
- align-items: center;
841
- outline: none;
842
- }
732
+ a {
733
+ display: flex;
734
+ justify-content: center;
735
+ align-items: center;
736
+ outline: none;
737
+ }
843
738
 
844
- svg {
845
- width: 145px;
846
- }
739
+ svg {
740
+ width: 145px;
741
+ }
847
742
 
848
- svg.compact {
849
- width: 130px;
850
- }
851
- `;
852
- _t([
853
- Ct({ context: Et }),
854
- Kt({ attribute: !1 })
855
- ], H.prototype, "properties", 2);
856
- H = _t([
857
- Ft("copyright-component")
858
- ], H);
859
- const se = H;
743
+ svg.compact {
744
+ width: 130px;
745
+ }
746
+ `
747
+ ];
748
+ N = Ot([
749
+ Ut("ace-copyright")
750
+ ], N);
751
+ const Vt = N;
860
752
  export {
861
- H as CopyrightComponent,
862
- se as default
753
+ N as CopyrightComponent,
754
+ Vt as default
863
755
  };
864
- //# sourceMappingURL=copyright-25b3d445.js.map
756
+ //# sourceMappingURL=copyright-7e5b57e6.js.map