@oslokommune/punkt-react 13.13.1 → 13.14.0

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.
@@ -35,9 +35,9 @@
35
35
  }
36
36
  import { jsx as h, jsxs as x, Fragment as Gt } from "react/jsx-runtime";
37
37
  import * as dn from "react";
38
- import ct, { createContext as Na, forwardRef as G, useContext as Aa, useState as oi, useEffect as as, useCallback as Ea, Fragment as cn, createRef as pn, createElement as un, Children as Es, isValidElement as mn, cloneElement as fn, useRef as gn } from "react";
38
+ import pt, { createContext as Na, forwardRef as Y, useContext as Aa, useState as oi, useEffect as as, useCallback as Ea, Fragment as cn, createRef as pn, createElement as un, Children as Es, isValidElement as mn, cloneElement as fn, useRef as gn } from "react";
39
39
  import { Link as zs } from "react-router-dom";
40
- const Oa = Na({}), vn = () => Aa(Oa), bn = G(
40
+ const Oa = Na({}), vn = () => Aa(Oa), bn = Y(
41
41
  ({ compact: i = !1, skin: t = "borderless", ariaLabelledBy: e, children: s, name: a, className: n }, r) => {
42
42
  const l = [
43
43
  "pkt-accordion",
@@ -68,24 +68,24 @@ const yn = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
68
68
  n === void 0 ? (i[t] = e, e == null && t in HTMLElement.prototype && i.removeAttribute(t)) : e !== s && ((r, l, d) => {
69
69
  let p = Ws.get(r);
70
70
  p === void 0 && Ws.set(r, p = /* @__PURE__ */ new Map());
71
- let f = p.get(l);
72
- d !== void 0 ? f === void 0 ? (p.set(l, f = { handleEvent: d }), r.addEventListener(l, f)) : f.handleEvent = d : f !== void 0 && (p.delete(l), r.removeEventListener(l, f));
71
+ let g = p.get(l);
72
+ d !== void 0 ? g === void 0 ? (p.set(l, g = { handleEvent: d }), r.addEventListener(l, g)) : g.handleEvent = d : g !== void 0 && (p.delete(l), r.removeEventListener(l, g));
73
73
  })(i, n, e);
74
- }, Lt = ({ react: i, tagName: t, elementClass: e, events: s, displayName: a }) => {
74
+ }, zt = ({ react: i, tagName: t, elementClass: e, events: s, displayName: a }) => {
75
75
  const n = new Set(Object.keys(s ?? {})), r = i.forwardRef(((l, d) => {
76
- const p = i.useRef(/* @__PURE__ */ new Map()), f = i.useRef(null), g = {}, k = {};
77
- for (const [b, y] of Object.entries(l)) yn.has(b) ? g[b === "className" ? "class" : b] = y : n.has(b) || b in e.prototype ? k[b] = y : g[b] = y;
76
+ const p = i.useRef(/* @__PURE__ */ new Map()), g = i.useRef(null), f = {}, k = {};
77
+ for (const [b, y] of Object.entries(l)) yn.has(b) ? f[b === "className" ? "class" : b] = y : n.has(b) || b in e.prototype ? k[b] = y : f[b] = y;
78
78
  return i.useLayoutEffect((() => {
79
- if (f.current === null) return;
79
+ if (g.current === null) return;
80
80
  const b = /* @__PURE__ */ new Map();
81
- for (const y in k) Ks(f.current, y, l[y], p.current.get(y), s), p.current.delete(y), b.set(y, l[y]);
82
- for (const [y, w] of p.current) Ks(f.current, y, void 0, w, s);
81
+ for (const y in k) Ks(g.current, y, l[y], p.current.get(y), s), p.current.delete(y), b.set(y, l[y]);
82
+ for (const [y, w] of p.current) Ks(g.current, y, void 0, w, s);
83
83
  p.current = b;
84
84
  })), i.useLayoutEffect((() => {
85
85
  var b;
86
- (b = f.current) == null || b.removeAttribute("defer-hydration");
87
- }), []), g.suppressHydrationWarning = !0, i.createElement(t, { ...g, ref: i.useCallback(((b) => {
88
- f.current = b, typeof d == "function" ? d(b) : d !== null && (d.current = b);
86
+ (b = g.current) == null || b.removeAttribute("defer-hydration");
87
+ }), []), f.suppressHydrationWarning = !0, i.createElement(t, { ...f, ref: i.useCallback(((b) => {
88
+ g.current = b, typeof d == "function" ? d(b) : d !== null && (d.current = b);
89
89
  }), [d]) });
90
90
  }));
91
91
  return r.displayName = a ?? e.name, r;
@@ -95,9 +95,9 @@ const yn = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "cl
95
95
  * Copyright 2017 Google LLC
96
96
  * SPDX-License-Identifier: BSD-3-Clause
97
97
  */
98
- const Xi = globalThis, Ji = Xi.trustedTypes, Gs = Ji ? Ji.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Pa = "$lit$", be = `lit$${Math.random().toFixed(9).slice(2)}$`, Ma = "?" + be, kn = `<${Ma}>`, De = document, Ni = () => De.createComment(""), Ai = (i) => i === null || typeof i != "object" && typeof i != "function", Rs = Array.isArray, $n = (i) => Rs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", vs = `[
99
- \f\r]`, fi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ys = /-->/g, Zs = />/g, Ne = RegExp(`>|${vs}(?:([^\\s"'>=/]+)(${vs}*=${vs}*(?:[^
100
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Xs = /'/g, Js = /"/g, Ia = /^(?:script|style|textarea|title)$/i, _n = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = _n(1), _t = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qs = /* @__PURE__ */ new WeakMap(), Pe = De.createTreeWalker(De, 129);
98
+ const Xi = globalThis, Ji = Xi.trustedTypes, Gs = Ji ? Ji.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, Pa = "$lit$", be = `lit$${Math.random().toFixed(9).slice(2)}$`, Ma = "?" + be, kn = `<${Ma}>`, Ie = document, Ni = () => Ie.createComment(""), Ai = (i) => i === null || typeof i != "object" && typeof i != "function", Rs = Array.isArray, $n = (i) => Rs(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", vs = `[
99
+ \f\r]`, fi = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ys = /-->/g, Zs = />/g, Te = RegExp(`>|${vs}(?:([^\\s"'>=/]+)(${vs}*=${vs}*(?:[^
100
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xs = /'/g, Js = /"/g, Ia = /^(?:script|style|textarea|title)$/i, _n = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), u = _n(1), wt = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Qs = /* @__PURE__ */ new WeakMap(), Oe = Ie.createTreeWalker(Ie, 129);
101
101
  function Da(i, t) {
102
102
  if (!Rs(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
103
103
  return Gs !== void 0 ? Gs.createHTML(t) : t;
@@ -107,10 +107,10 @@ const wn = (i, t) => {
107
107
  let a, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", r = fi;
108
108
  for (let l = 0; l < e; l++) {
109
109
  const d = i[l];
110
- let p, f, g = -1, k = 0;
111
- for (; k < d.length && (r.lastIndex = k, f = r.exec(d), f !== null); ) k = r.lastIndex, r === fi ? f[1] === "!--" ? r = Ys : f[1] !== void 0 ? r = Zs : f[2] !== void 0 ? (Ia.test(f[2]) && (a = RegExp("</" + f[2], "g")), r = Ne) : f[3] !== void 0 && (r = Ne) : r === Ne ? f[0] === ">" ? (r = a ?? fi, g = -1) : f[1] === void 0 ? g = -2 : (g = r.lastIndex - f[2].length, p = f[1], r = f[3] === void 0 ? Ne : f[3] === '"' ? Js : Xs) : r === Js || r === Xs ? r = Ne : r === Ys || r === Zs ? r = fi : (r = Ne, a = void 0);
112
- const b = r === Ne && i[l + 1].startsWith("/>") ? " " : "";
113
- n += r === fi ? d + kn : g >= 0 ? (s.push(p), d.slice(0, g) + Pa + d.slice(g) + be + b) : d + be + (g === -2 ? l : b);
110
+ let p, g, f = -1, k = 0;
111
+ for (; k < d.length && (r.lastIndex = k, g = r.exec(d), g !== null); ) k = r.lastIndex, r === fi ? g[1] === "!--" ? r = Ys : g[1] !== void 0 ? r = Zs : g[2] !== void 0 ? (Ia.test(g[2]) && (a = RegExp("</" + g[2], "g")), r = Te) : g[3] !== void 0 && (r = Te) : r === Te ? g[0] === ">" ? (r = a ?? fi, f = -1) : g[1] === void 0 ? f = -2 : (f = r.lastIndex - g[2].length, p = g[1], r = g[3] === void 0 ? Te : g[3] === '"' ? Js : Xs) : r === Js || r === Xs ? r = Te : r === Ys || r === Zs ? r = fi : (r = Te, a = void 0);
112
+ const b = r === Te && i[l + 1].startsWith("/>") ? " " : "";
113
+ n += r === fi ? d + kn : f >= 0 ? (s.push(p), d.slice(0, f) + Pa + d.slice(f) + be + b) : d + be + (f === -2 ? l : b);
114
114
  }
115
115
  return [Da(i, n + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
116
116
  };
@@ -119,41 +119,41 @@ let Os = class Ra {
119
119
  let a;
120
120
  this.parts = [];
121
121
  let n = 0, r = 0;
122
- const l = t.length - 1, d = this.parts, [p, f] = wn(t, e);
123
- if (this.el = Ra.createElement(p, s), Pe.currentNode = this.el.content, e === 2 || e === 3) {
124
- const g = this.el.content.firstChild;
125
- g.replaceWith(...g.childNodes);
122
+ const l = t.length - 1, d = this.parts, [p, g] = wn(t, e);
123
+ if (this.el = Ra.createElement(p, s), Oe.currentNode = this.el.content, e === 2 || e === 3) {
124
+ const f = this.el.content.firstChild;
125
+ f.replaceWith(...f.childNodes);
126
126
  }
127
- for (; (a = Pe.nextNode()) !== null && d.length < l; ) {
127
+ for (; (a = Oe.nextNode()) !== null && d.length < l; ) {
128
128
  if (a.nodeType === 1) {
129
- if (a.hasAttributes()) for (const g of a.getAttributeNames()) if (g.endsWith(Pa)) {
130
- const k = f[r++], b = a.getAttribute(g).split(be), y = /([.?@])?(.*)/.exec(k);
131
- d.push({ type: 1, index: n, name: y[2], strings: b, ctor: y[1] === "." ? Sn : y[1] === "?" ? Cn : y[1] === "@" ? Tn : rs }), a.removeAttribute(g);
132
- } else g.startsWith(be) && (d.push({ type: 6, index: n }), a.removeAttribute(g));
129
+ if (a.hasAttributes()) for (const f of a.getAttributeNames()) if (f.endsWith(Pa)) {
130
+ const k = g[r++], b = a.getAttribute(f).split(be), y = /([.?@])?(.*)/.exec(k);
131
+ d.push({ type: 1, index: n, name: y[2], strings: b, ctor: y[1] === "." ? Sn : y[1] === "?" ? Cn : y[1] === "@" ? Tn : rs }), a.removeAttribute(f);
132
+ } else f.startsWith(be) && (d.push({ type: 6, index: n }), a.removeAttribute(f));
133
133
  if (Ia.test(a.tagName)) {
134
- const g = a.textContent.split(be), k = g.length - 1;
134
+ const f = a.textContent.split(be), k = f.length - 1;
135
135
  if (k > 0) {
136
136
  a.textContent = Ji ? Ji.emptyScript : "";
137
- for (let b = 0; b < k; b++) a.append(g[b], Ni()), Pe.nextNode(), d.push({ type: 2, index: ++n });
138
- a.append(g[k], Ni());
137
+ for (let b = 0; b < k; b++) a.append(f[b], Ni()), Oe.nextNode(), d.push({ type: 2, index: ++n });
138
+ a.append(f[k], Ni());
139
139
  }
140
140
  }
141
141
  } else if (a.nodeType === 8) if (a.data === Ma) d.push({ type: 2, index: n });
142
142
  else {
143
- let g = -1;
144
- for (; (g = a.data.indexOf(be, g + 1)) !== -1; ) d.push({ type: 7, index: n }), g += be.length - 1;
143
+ let f = -1;
144
+ for (; (f = a.data.indexOf(be, f + 1)) !== -1; ) d.push({ type: 7, index: n }), f += be.length - 1;
145
145
  }
146
146
  n++;
147
147
  }
148
148
  }
149
149
  static createElement(t, e) {
150
- const s = De.createElement("template");
150
+ const s = Ie.createElement("template");
151
151
  return s.innerHTML = t, s;
152
152
  }
153
153
  };
154
154
  function Qe(i, t, e = i, s) {
155
155
  var a, n;
156
- if (t === _t) return t;
156
+ if (t === wt) return t;
157
157
  let r = s !== void 0 ? (a = e._$Co) == null ? void 0 : a[s] : e._$Cl;
158
158
  const l = Ai(t) ? void 0 : t._$litDirective$;
159
159
  return (r == null ? void 0 : r.constructor) !== l && ((n = r == null ? void 0 : r._$AO) == null || n.call(r, !1), l === void 0 ? r = void 0 : (r = new l(i), r._$AT(i, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = r : e._$Cl = r), r !== void 0 && (t = Qe(i, r._$AS(i, t.values), r, s)), t;
@@ -169,17 +169,17 @@ let xn = class {
169
169
  return this._$AM._$AU;
170
170
  }
171
171
  u(t) {
172
- const { el: { content: e }, parts: s } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ?? De).importNode(e, !0);
173
- Pe.currentNode = a;
174
- let n = Pe.nextNode(), r = 0, l = 0, d = s[0];
172
+ const { el: { content: e }, parts: s } = this._$AD, a = ((t == null ? void 0 : t.creationScope) ?? Ie).importNode(e, !0);
173
+ Oe.currentNode = a;
174
+ let n = Oe.nextNode(), r = 0, l = 0, d = s[0];
175
175
  for (; d !== void 0; ) {
176
176
  if (r === d.index) {
177
177
  let p;
178
178
  d.type === 2 ? p = new ns(n, n.nextSibling, this, t) : d.type === 1 ? p = new d.ctor(n, d.name, d.strings, this, t) : d.type === 6 && (p = new Nn(n, this, t)), this._$AV.push(p), d = s[++l];
179
179
  }
180
- r !== (d == null ? void 0 : d.index) && (n = Pe.nextNode(), r++);
180
+ r !== (d == null ? void 0 : d.index) && (n = Oe.nextNode(), r++);
181
181
  }
182
- return Pe.currentNode = De, a;
182
+ return Oe.currentNode = Ie, a;
183
183
  }
184
184
  p(t) {
185
185
  let e = 0;
@@ -205,7 +205,7 @@ let xn = class {
205
205
  return this._$AB;
206
206
  }
207
207
  _$AI(t, e = this) {
208
- t = Qe(this, t, e), Ai(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== _t && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : $n(t) ? this.k(t) : this._(t);
208
+ t = Qe(this, t, e), Ai(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== wt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : $n(t) ? this.k(t) : this._(t);
209
209
  }
210
210
  O(t) {
211
211
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -214,7 +214,7 @@ let xn = class {
214
214
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
215
215
  }
216
216
  _(t) {
217
- this._$AH !== $ && Ai(this._$AH) ? this._$AA.nextSibling.data = t : this.T(De.createTextNode(t)), this._$AH = t;
217
+ this._$AH !== $ && Ai(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ie.createTextNode(t)), this._$AH = t;
218
218
  }
219
219
  $(t) {
220
220
  var e;
@@ -260,11 +260,11 @@ let xn = class {
260
260
  _$AI(t, e = this, s, a) {
261
261
  const n = this.strings;
262
262
  let r = !1;
263
- if (n === void 0) t = Qe(this, t, e, 0), r = !Ai(t) || t !== this._$AH && t !== _t, r && (this._$AH = t);
263
+ if (n === void 0) t = Qe(this, t, e, 0), r = !Ai(t) || t !== this._$AH && t !== wt, r && (this._$AH = t);
264
264
  else {
265
265
  const l = t;
266
266
  let d, p;
267
- for (t = n[0], d = 0; d < n.length - 1; d++) p = Qe(this, l[s + d], e, d), p === _t && (p = this._$AH[d]), r || (r = !Ai(p) || p !== this._$AH[d]), p === $ ? t = $ : t !== $ && (t += (p ?? "") + n[d + 1]), this._$AH[d] = p;
267
+ for (t = n[0], d = 0; d < n.length - 1; d++) p = Qe(this, l[s + d], e, d), p === wt && (p = this._$AH[d]), r || (r = !Ai(p) || p !== this._$AH[d]), p === $ ? t = $ : t !== $ && (t += (p ?? "") + n[d + 1]), this._$AH[d] = p;
268
268
  }
269
269
  r && !a && this.j(t);
270
270
  }
@@ -290,7 +290,7 @@ let xn = class {
290
290
  super(t, e, s, a, n), this.type = 5;
291
291
  }
292
292
  _$AI(t, e = this) {
293
- if ((t = Qe(this, t, e, 0) ?? $) === _t) return;
293
+ if ((t = Qe(this, t, e, 0) ?? $) === wt) return;
294
294
  const s = this._$AH, a = t === $ && s !== $ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, n = t !== $ && (s === $ || a);
295
295
  a && this.element.removeEventListener(this.name, this, s), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
296
296
  }
@@ -664,7 +664,7 @@ let Ze = class extends Ye {
664
664
  super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
665
665
  }
666
666
  render() {
667
- return _t;
667
+ return wt;
668
668
  }
669
669
  };
670
670
  var ra;
@@ -672,7 +672,7 @@ Ze._$litElement$ = !0, Ze.finalized = !0, (ra = Ei.litElementHydrateSupport) ==
672
672
  const oa = Ei.litElementPolyfillSupport;
673
673
  oa == null || oa({ LitElement: Ze });
674
674
  (Ei.litElementVersions ?? (Ei.litElementVersions = [])).push("4.2.1");
675
- const Hn = { hi: "Hei!" }, qn = { from: "Fra", to: "Til" }, zn = { buttonAltText: "Åpne kalender", deleteDate: "Fjern dato" }, Wn = { month: "Måned", year: "År", days: ["Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], daysShort: ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], week: "Uke", prevMonth: "Forrige måned", nextMonth: "Neste måned" }, Kn = { search: { placeholder: "Søk…" }, labels: { optional: "Valgfritt", required: "Må fylles ut" }, messages: { required: "Dette feltet er påkrevd", invalid: "Ugyldig verdi", invalidPattern: "Ugyldig format", tooShort: "For kort", tooLong: "For lang", rangeUnderflow: "For lav verdi", rangeOverflow: "For høy verdi", rangeUnderflowMin: "Verdien må være større enn eller lik {min}.", rangeOverflowMax: "Verdien må være mindre enn eller lik {max}.", dateUnderflow: "For tidlig dato", dateOverflow: "For sen dato" }, helptext: { helptextDropdownButton: "Les mer" }, date: { multiple: "Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato." } }, bt = {
675
+ const Hn = { hi: "Hei!" }, qn = { from: "Fra", to: "Til" }, zn = { buttonAltText: "Åpne kalender", deleteDate: "Fjern dato" }, Wn = { month: "Måned", year: "År", days: ["Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], daysShort: ["Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], week: "Uke", prevMonth: "Forrige måned", nextMonth: "Neste måned" }, Kn = { search: { placeholder: "Søk…" }, labels: { optional: "Valgfritt", required: "Må fylles ut" }, messages: { required: "Dette feltet er påkrevd", invalid: "Ugyldig verdi", invalidPattern: "Ugyldig format", tooShort: "For kort", tooLong: "For lang", rangeUnderflow: "For lav verdi", rangeOverflow: "For høy verdi", rangeUnderflowMin: "Verdien må være større enn eller lik {min}.", rangeOverflowMax: "Verdien må være mindre enn eller lik {max}.", dateUnderflow: "For tidlig dato", dateOverflow: "For sen dato" }, helptext: { helptextDropdownButton: "Les mer" }, date: { multiple: "Her kan du velge flere datoer. Trykk komma eller enter når du har skrevet inn en dato." } }, kt = {
676
676
  example: Hn,
677
677
  generic: qn,
678
678
  calendar: zn,
@@ -686,7 +686,7 @@ var Gn = Object.defineProperty, Va = (i, t, e, s) => {
686
686
  };
687
687
  let os = class extends Ze {
688
688
  constructor() {
689
- super(...arguments), this.strings = bt, this.role = null;
689
+ super(...arguments), this.strings = kt, this.role = null;
690
690
  }
691
691
  /**
692
692
  * Add support for Hot Module Reloading in dev mode
@@ -757,7 +757,7 @@ const O = Fe(class extends li {
757
757
  const r = !!t[n];
758
758
  r === this.st.has(n) || (s = this.nt) != null && s.has(n) || (r ? (a.add(n), this.st.add(n)) : (a.remove(n), this.st.delete(n)));
759
759
  }
760
- return _t;
760
+ return wt;
761
761
  }
762
762
  });
763
763
  /**
@@ -765,7 +765,7 @@ const O = Fe(class extends li {
765
765
  * Copyright 2017 Google LLC
766
766
  * SPDX-License-Identifier: BSD-3-Clause
767
767
  */
768
- function R(i) {
768
+ function L(i) {
769
769
  return o({ ...i, state: !0, attribute: !1 });
770
770
  }
771
771
  function ja(i, t) {
@@ -877,13 +877,13 @@ const { I: Zn } = An, Fa = (i) => i.strings === void 0, la = () => document.crea
877
877
  if (r !== n || d) {
878
878
  let p = e._$AA;
879
879
  for (; p !== r; ) {
880
- const f = p.nextSibling;
881
- a.insertBefore(p, n), p = f;
880
+ const g = p.nextSibling;
881
+ a.insertBefore(p, n), p = g;
882
882
  }
883
883
  }
884
884
  }
885
885
  return e;
886
- }, Ae = (i, t, e = i) => (i._$AI(t, e), i), Xn = {}, Ua = (i, t = Xn) => i._$AH = t, Jn = (i) => i._$AH, ys = (i) => {
886
+ }, Ne = (i, t, e = i) => (i._$AI(t, e), i), Xn = {}, Ua = (i, t = Xn) => i._$AH = t, Jn = (i) => i._$AH, ys = (i) => {
887
887
  i._$AR(), i._$AA.remove();
888
888
  };
889
889
  /**
@@ -996,7 +996,7 @@ let es = class extends li {
996
996
  }
997
997
  render(t) {
998
998
  if (t === $ || t == null) return this._t = void 0, this.it = t;
999
- if (t === _t) return t;
999
+ if (t === wt) return t;
1000
1000
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
1001
1001
  if (t === this.it) return this._t;
1002
1002
  this.it = t;
@@ -1020,7 +1020,7 @@ var ar = Object.defineProperty, nr = Object.getOwnPropertyDescriptor, Di = (i, t
1020
1020
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1021
1021
  return s && a && ar(t, e, a), a;
1022
1022
  };
1023
- const Ms = "https://punkt-cdn.oslo.kommune.no/13.13/icons/";
1023
+ const Ms = "https://punkt-cdn.oslo.kommune.no/13.14/icons/";
1024
1024
  typeof window < "u" && (window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch, window.pktIconPath = window.pktIconPath || Ms);
1025
1025
  const rr = (i) => new Promise((t) => setTimeout(t, i)), Zi = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', $s = {}, or = async (i, t) => {
1026
1026
  let e = 0;
@@ -1031,7 +1031,7 @@ const rr = (i) => new Promise((t) => setTimeout(t, i)), Zi = '<svg xmlns="http:/
1031
1031
  window.pktFetch(t + i + ".svg").then((a) => a.ok ? a.text() : (console.error("Missing icon: " + t + i + ".svg"), Zi)).then((a) => (a !== Zi && s && localStorage.setItem(t + i + ".svg", a), $s[t + i + ".svg"] = "fetched", a))
1032
1032
  )) : Promise.resolve(Zi);
1033
1033
  };
1034
- let Re = class extends K {
1034
+ let De = class extends K {
1035
1035
  constructor() {
1036
1036
  super(...arguments), this.path = typeof window < "u" ? window.pktIconPath : Ms, this.name = "", this.icon = ha(Zi), this._updatedProps = [];
1037
1037
  }
@@ -1055,34 +1055,34 @@ let Re = class extends K {
1055
1055
  };
1056
1056
  Di([
1057
1057
  o({ type: String, reflect: !1 })
1058
- ], Re.prototype, "path", 2);
1058
+ ], De.prototype, "path", 2);
1059
1059
  Di([
1060
1060
  o({ type: String, reflect: !0 })
1061
- ], Re.prototype, "name", 2);
1061
+ ], De.prototype, "name", 2);
1062
1062
  Di([
1063
1063
  o({ type: SVGElement })
1064
- ], Re.prototype, "icon", 2);
1064
+ ], De.prototype, "icon", 2);
1065
1065
  Di([
1066
1066
  o({ type: Array, noAccessor: !0 })
1067
- ], Re.prototype, "_updatedProps", 2);
1068
- Re = Di([
1067
+ ], De.prototype, "_updatedProps", 2);
1068
+ De = Di([
1069
1069
  V("pkt-icon")
1070
- ], Re);
1070
+ ], De);
1071
1071
  /**
1072
1072
  * @license
1073
1073
  * Copyright 2018 Google LLC
1074
1074
  * SPDX-License-Identifier: BSD-3-Clause
1075
1075
  */
1076
1076
  const S = (i) => i ?? $;
1077
- var lr = Object.defineProperty, hr = Object.getOwnPropertyDescriptor, Tt = (i, t, e, s) => {
1077
+ var lr = Object.defineProperty, hr = Object.getOwnPropertyDescriptor, bt = (i, t, e, s) => {
1078
1078
  for (var a = s > 1 ? void 0 : s ? hr(t, e) : t, n = i.length - 1, r; n >= 0; n--)
1079
1079
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
1080
1080
  return s && a && lr(t, e, a), a;
1081
1081
  };
1082
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
1083
- let yt = class extends K {
1082
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
1083
+ let ut = class extends K {
1084
1084
  constructor() {
1085
- super(), this.defaultSlot = N(), this.iconName = "user", this.secondIconName = "user", this.mode = "light", this.size = "medium", this.skin = "primary", this.variant = "label-only", this.state = "normal", this.type = "button", this.form = void 0, this.isLoading = !1, this.disabled = !1, this.loadingAnimationPath = window.pktAnimationPath, this.slotController = new rt(this, this.defaultSlot);
1085
+ super(), this.defaultSlot = N(), this.iconName = "user", this.secondIconName = "user", this.mode = "light", this.size = "medium", this.fullWidth = !1, this.fullWidthOnMobile = !1, this.skin = "primary", this.variant = "label-only", this.state = "normal", this.type = "button", this.form = void 0, this.isLoading = !1, this.disabled = !1, this.loadingAnimationPath = window.pktAnimationPath, this.slotController = new rt(this, this.defaultSlot);
1086
1086
  }
1087
1087
  // Lifecycle
1088
1088
  connectedCallback() {
@@ -1115,6 +1115,8 @@ let yt = class extends K {
1115
1115
  [`pkt-btn--${this.variant}`]: !!this.variant,
1116
1116
  [`pkt-btn--${this.color}`]: !!this.color,
1117
1117
  [`pkt-btn--${this.state}`]: !!this.state,
1118
+ "pkt-btn--full": !!this.fullWidth,
1119
+ "pkt-btn--full-small": !!this.fullWidthOnMobile,
1118
1120
  "pkt-btn--disabled": !!this.disabled,
1119
1121
  "pkt-btn--isLoading": !!this.isLoading
1120
1122
  };
@@ -1139,48 +1141,54 @@ let yt = class extends K {
1139
1141
  `;
1140
1142
  }
1141
1143
  };
1142
- Tt([
1144
+ bt([
1143
1145
  o({ type: String })
1144
- ], yt.prototype, "iconName", 2);
1145
- Tt([
1146
+ ], ut.prototype, "iconName", 2);
1147
+ bt([
1146
1148
  o({ type: String })
1147
- ], yt.prototype, "secondIconName", 2);
1148
- Tt([
1149
+ ], ut.prototype, "secondIconName", 2);
1150
+ bt([
1149
1151
  o({ type: String })
1150
- ], yt.prototype, "mode", 2);
1151
- Tt([
1152
+ ], ut.prototype, "mode", 2);
1153
+ bt([
1152
1154
  o({ type: String })
1153
- ], yt.prototype, "size", 2);
1154
- Tt([
1155
+ ], ut.prototype, "size", 2);
1156
+ bt([
1157
+ o({ type: Boolean, attribute: "full-width" })
1158
+ ], ut.prototype, "fullWidth", 2);
1159
+ bt([
1160
+ o({ type: Boolean, attribute: "full-width-on-mobile" })
1161
+ ], ut.prototype, "fullWidthOnMobile", 2);
1162
+ bt([
1155
1163
  o({ type: String })
1156
- ], yt.prototype, "color", 2);
1157
- Tt([
1164
+ ], ut.prototype, "color", 2);
1165
+ bt([
1158
1166
  o({ type: String })
1159
- ], yt.prototype, "skin", 2);
1160
- Tt([
1167
+ ], ut.prototype, "skin", 2);
1168
+ bt([
1161
1169
  o({ type: String })
1162
- ], yt.prototype, "variant", 2);
1163
- Tt([
1170
+ ], ut.prototype, "variant", 2);
1171
+ bt([
1164
1172
  o({ type: String, reflect: !0 })
1165
- ], yt.prototype, "state", 2);
1166
- Tt([
1173
+ ], ut.prototype, "state", 2);
1174
+ bt([
1167
1175
  o({ type: String, reflect: !0 })
1168
- ], yt.prototype, "type", 2);
1169
- Tt([
1176
+ ], ut.prototype, "type", 2);
1177
+ bt([
1170
1178
  o({ type: String })
1171
- ], yt.prototype, "form", 2);
1172
- Tt([
1179
+ ], ut.prototype, "form", 2);
1180
+ bt([
1173
1181
  o({ type: Boolean, reflect: !0 })
1174
- ], yt.prototype, "isLoading", 2);
1175
- Tt([
1182
+ ], ut.prototype, "isLoading", 2);
1183
+ bt([
1176
1184
  o({ type: Boolean, reflect: !0 })
1177
- ], yt.prototype, "disabled", 2);
1178
- Tt([
1185
+ ], ut.prototype, "disabled", 2);
1186
+ bt([
1179
1187
  o({ type: String })
1180
- ], yt.prototype, "loadingAnimationPath", 2);
1181
- yt = Tt([
1188
+ ], ut.prototype, "loadingAnimationPath", 2);
1189
+ ut = bt([
1182
1190
  V("pkt-button")
1183
- ], yt);
1191
+ ], ut);
1184
1192
  const dr = { skin: { default: "info" }, ariaLive: { default: "polite" }, compact: { default: !1 }, closeAlert: { default: !1 } }, Wi = {
1185
1193
  props: dr
1186
1194
  };
@@ -1281,7 +1289,7 @@ ae([
1281
1289
  o({ type: String, reflect: !0 })
1282
1290
  ], Yt.prototype, "role", 2);
1283
1291
  ae([
1284
- R()
1292
+ L()
1285
1293
  ], Yt.prototype, "_isClosed", 2);
1286
1294
  Yt = ae([
1287
1295
  V("pkt-alert")
@@ -1458,11 +1466,11 @@ const za = 6048e5, yr = 864e5, da = Symbol.for("constructDateFrom");
1458
1466
  function ie(i, t) {
1459
1467
  return typeof i == "function" ? i(t) : i && typeof i == "object" && da in i ? i[da](t) : i instanceof Date ? new i.constructor(t) : new Date(t);
1460
1468
  }
1461
- function Bt(i, t) {
1469
+ function Lt(i, t) {
1462
1470
  return ie(t || i, i);
1463
1471
  }
1464
1472
  function _s(i, t, e) {
1465
- const s = Bt(i, void 0);
1473
+ const s = Lt(i, void 0);
1466
1474
  return isNaN(t) ? ie(i, NaN) : (t && s.setDate(s.getDate() + t), s);
1467
1475
  }
1468
1476
  let kr = {};
@@ -1471,14 +1479,14 @@ function hs() {
1471
1479
  }
1472
1480
  function Oi(i, t) {
1473
1481
  var e, s, a, n;
1474
- const r = hs(), l = (t == null ? void 0 : t.weekStartsOn) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.weekStartsOn) ?? r.weekStartsOn ?? ((n = (a = r.locale) == null ? void 0 : a.options) == null ? void 0 : n.weekStartsOn) ?? 0, d = Bt(i, t == null ? void 0 : t.in), p = d.getDay(), f = (p < l ? 7 : 0) + p - l;
1475
- return d.setDate(d.getDate() - f), d.setHours(0, 0, 0, 0), d;
1482
+ const r = hs(), l = (t == null ? void 0 : t.weekStartsOn) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.weekStartsOn) ?? r.weekStartsOn ?? ((n = (a = r.locale) == null ? void 0 : a.options) == null ? void 0 : n.weekStartsOn) ?? 0, d = Lt(i, t == null ? void 0 : t.in), p = d.getDay(), g = (p < l ? 7 : 0) + p - l;
1483
+ return d.setDate(d.getDate() - g), d.setHours(0, 0, 0, 0), d;
1476
1484
  }
1477
1485
  function is(i, t) {
1478
1486
  return Oi(i, { ...t, weekStartsOn: 1 });
1479
1487
  }
1480
1488
  function Wa(i, t) {
1481
- const e = Bt(i, void 0), s = e.getFullYear(), a = ie(e, 0);
1489
+ const e = Lt(i, void 0), s = e.getFullYear(), a = ie(e, 0);
1482
1490
  a.setFullYear(s + 1, 0, 4), a.setHours(0, 0, 0, 0);
1483
1491
  const n = is(a), r = ie(e, 0);
1484
1492
  r.setFullYear(s, 0, 4), r.setHours(0, 0, 0, 0);
@@ -1486,7 +1494,7 @@ function Wa(i, t) {
1486
1494
  return e.getTime() >= n.getTime() ? s + 1 : e.getTime() >= l.getTime() ? s : s - 1;
1487
1495
  }
1488
1496
  function ca(i) {
1489
- const t = Bt(i), e = new Date(
1497
+ const t = Lt(i), e = new Date(
1490
1498
  Date.UTC(
1491
1499
  t.getFullYear(),
1492
1500
  t.getMonth(),
@@ -1507,7 +1515,7 @@ function Ka(i, ...t) {
1507
1515
  return t.map(e);
1508
1516
  }
1509
1517
  function pa(i, t) {
1510
- const e = Bt(i, void 0);
1518
+ const e = Lt(i, void 0);
1511
1519
  return e.setHours(0, 0, 0, 0), e;
1512
1520
  }
1513
1521
  function $r(i, t, e) {
@@ -1526,7 +1534,7 @@ function wr(i) {
1526
1534
  return i instanceof Date || typeof i == "object" && Object.prototype.toString.call(i) === "[object Date]";
1527
1535
  }
1528
1536
  function xr(i) {
1529
- return !(!wr(i) && typeof i != "number" || isNaN(+Bt(i)));
1537
+ return !(!wr(i) && typeof i != "number" || isNaN(+Lt(i)));
1530
1538
  }
1531
1539
  function Sr(i, t) {
1532
1540
  const [e, s] = Ka(i, t.start, t.end);
@@ -1544,7 +1552,7 @@ function ws(i, t) {
1544
1552
  return a ? d.reverse() : d;
1545
1553
  }
1546
1554
  function Cr(i, t) {
1547
- const e = Bt(i, void 0);
1555
+ const e = Lt(i, void 0);
1548
1556
  return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
1549
1557
  }
1550
1558
  const Tr = {
@@ -1827,17 +1835,17 @@ function yi(i) {
1827
1835
  const s = e.width, a = s && i.matchPatterns[s] || i.matchPatterns[i.defaultMatchWidth], n = t.match(a);
1828
1836
  if (!n)
1829
1837
  return null;
1830
- const r = n[0], l = s && i.parsePatterns[s] || i.parsePatterns[i.defaultParseWidth], d = Array.isArray(l) ? qr(l, (g) => g.test(r)) : (
1838
+ const r = n[0], l = s && i.parsePatterns[s] || i.parsePatterns[i.defaultParseWidth], d = Array.isArray(l) ? qr(l, (f) => f.test(r)) : (
1831
1839
  // [TODO] -- I challenge you to fix the type
1832
- Hr(l, (g) => g.test(r))
1840
+ Hr(l, (f) => f.test(r))
1833
1841
  );
1834
1842
  let p;
1835
1843
  p = i.valueCallback ? i.valueCallback(d) : d, p = e.valueCallback ? (
1836
1844
  // [TODO] -- I challenge you to fix the type
1837
1845
  e.valueCallback(p)
1838
1846
  ) : p;
1839
- const f = t.slice(r.length);
1840
- return { value: p, rest: f };
1847
+ const g = t.slice(r.length);
1848
+ return { value: p, rest: g };
1841
1849
  };
1842
1850
  }
1843
1851
  function Hr(i, t) {
@@ -1979,21 +1987,21 @@ const Wr = /^(\d+)(th|st|nd|rd)?/i, Kr = /\d+/i, Gr = {
1979
1987
  }
1980
1988
  };
1981
1989
  function ro(i, t) {
1982
- const e = Bt(i, void 0);
1990
+ const e = Lt(i, void 0);
1983
1991
  return $r(e, Cr(e)) + 1;
1984
1992
  }
1985
1993
  function oo(i, t) {
1986
- const e = Bt(i, void 0), s = +is(e) - +_r(e);
1994
+ const e = Lt(i, void 0), s = +is(e) - +_r(e);
1987
1995
  return Math.round(s / za) + 1;
1988
1996
  }
1989
1997
  function Ga(i, t) {
1990
1998
  var e, s, a, n;
1991
- const r = Bt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = hs(), p = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((n = (a = d.locale) == null ? void 0 : a.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, f = ie((t == null ? void 0 : t.in) || i, 0);
1992
- f.setFullYear(l + 1, 0, p), f.setHours(0, 0, 0, 0);
1993
- const g = Oi(f, t), k = ie((t == null ? void 0 : t.in) || i, 0);
1999
+ const r = Lt(i, t == null ? void 0 : t.in), l = r.getFullYear(), d = hs(), p = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((s = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : s.firstWeekContainsDate) ?? d.firstWeekContainsDate ?? ((n = (a = d.locale) == null ? void 0 : a.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, g = ie((t == null ? void 0 : t.in) || i, 0);
2000
+ g.setFullYear(l + 1, 0, p), g.setHours(0, 0, 0, 0);
2001
+ const f = Oi(g, t), k = ie((t == null ? void 0 : t.in) || i, 0);
1994
2002
  k.setFullYear(l, 0, p), k.setHours(0, 0, 0, 0);
1995
2003
  const b = Oi(k, t);
1996
- return +r >= +g ? l + 1 : +r >= +b ? l : l - 1;
2004
+ return +r >= +f ? l + 1 : +r >= +b ? l : l - 1;
1997
2005
  }
1998
2006
  function lo(i, t) {
1999
2007
  var e, s, a, n;
@@ -2001,7 +2009,7 @@ function lo(i, t) {
2001
2009
  return p.setFullYear(d, 0, l), p.setHours(0, 0, 0, 0), Oi(p, t);
2002
2010
  }
2003
2011
  function Ya(i, t) {
2004
- const e = Bt(i, t == null ? void 0 : t.in), s = +Oi(e, t) - +lo(e, t);
2012
+ const e = Lt(i, t == null ? void 0 : t.in), s = +Oi(e, t) - +lo(e, t);
2005
2013
  return Math.round(s / za) + 1;
2006
2014
  }
2007
2015
  function H(i, t) {
@@ -2550,7 +2558,7 @@ const ge = {
2550
2558
  // so this token always has the same output as `XX`
2551
2559
  case "XXXX":
2552
2560
  case "XX":
2553
- return Oe(s);
2561
+ return Ee(s);
2554
2562
  // Hours, minutes and optional seconds with `:` delimiter
2555
2563
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2556
2564
  // so this token always has the same output as `XXX`
@@ -2558,7 +2566,7 @@ const ge = {
2558
2566
  case "XXX":
2559
2567
  // Hours and minutes with `:` delimiter
2560
2568
  default:
2561
- return Oe(s, ":");
2569
+ return Ee(s, ":");
2562
2570
  }
2563
2571
  },
2564
2572
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
@@ -2573,7 +2581,7 @@ const ge = {
2573
2581
  // so this token always has the same output as `xx`
2574
2582
  case "xxxx":
2575
2583
  case "xx":
2576
- return Oe(s);
2584
+ return Ee(s);
2577
2585
  // Hours, minutes and optional seconds with `:` delimiter
2578
2586
  // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
2579
2587
  // so this token always has the same output as `xxx`
@@ -2581,7 +2589,7 @@ const ge = {
2581
2589
  case "xxx":
2582
2590
  // Hours and minutes with `:` delimiter
2583
2591
  default:
2584
- return Oe(s, ":");
2592
+ return Ee(s, ":");
2585
2593
  }
2586
2594
  },
2587
2595
  // Timezone (GMT)
@@ -2596,7 +2604,7 @@ const ge = {
2596
2604
  // Long
2597
2605
  case "OOOO":
2598
2606
  default:
2599
- return "GMT" + Oe(s, ":");
2607
+ return "GMT" + Ee(s, ":");
2600
2608
  }
2601
2609
  },
2602
2610
  // Timezone (specific non-location)
@@ -2611,7 +2619,7 @@ const ge = {
2611
2619
  // Long
2612
2620
  case "zzzz":
2613
2621
  default:
2614
- return "GMT" + Oe(s, ":");
2622
+ return "GMT" + Ee(s, ":");
2615
2623
  }
2616
2624
  },
2617
2625
  // Seconds timestamp
@@ -2629,9 +2637,9 @@ function ma(i, t = "") {
2629
2637
  return n === 0 ? e + String(a) : e + String(a) + t + H(n, 2);
2630
2638
  }
2631
2639
  function fa(i, t) {
2632
- return i % 60 === 0 ? (i > 0 ? "-" : "+") + H(Math.abs(i) / 60, 2) : Oe(i, t);
2640
+ return i % 60 === 0 ? (i > 0 ? "-" : "+") + H(Math.abs(i) / 60, 2) : Ee(i, t);
2633
2641
  }
2634
- function Oe(i, t = "") {
2642
+ function Ee(i, t = "") {
2635
2643
  const e = i > 0 ? "-" : "+", s = Math.abs(i), a = H(Math.trunc(s / 60), 2), n = H(s % 60, 2);
2636
2644
  return e + a + t + n;
2637
2645
  }
@@ -2701,8 +2709,8 @@ function bo(i, t, e) {
2701
2709
  const yo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ko = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, $o = /^'([^]*?)'?$/, _o = /''/g, wo = /[a-zA-Z]/;
2702
2710
  function xo(i, t, e) {
2703
2711
  var s, a, n, r;
2704
- const l = hs(), d = l.locale ?? no, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, f = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, g = Bt(i, void 0);
2705
- if (!xr(g))
2712
+ const l = hs(), d = l.locale ?? no, p = l.firstWeekContainsDate ?? ((a = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, g = l.weekStartsOn ?? ((r = (n = l.locale) == null ? void 0 : n.options) == null ? void 0 : r.weekStartsOn) ?? 0, f = Lt(i, void 0);
2713
+ if (!xr(f))
2706
2714
  throw new RangeError("Invalid time value");
2707
2715
  let k = t.match(ko).map((y) => {
2708
2716
  const w = y[0];
@@ -2725,10 +2733,10 @@ function xo(i, t, e) {
2725
2733
  );
2726
2734
  return { isToken: !1, value: y };
2727
2735
  });
2728
- d.localize.preprocessor && (k = d.localize.preprocessor(g, k));
2736
+ d.localize.preprocessor && (k = d.localize.preprocessor(f, k));
2729
2737
  const b = {
2730
2738
  firstWeekContainsDate: p,
2731
- weekStartsOn: f,
2739
+ weekStartsOn: g,
2732
2740
  locale: d
2733
2741
  };
2734
2742
  return k.map((y) => {
@@ -2736,7 +2744,7 @@ function xo(i, t, e) {
2736
2744
  const w = y.value;
2737
2745
  (go(w) || fo(w)) && vo(w, t, String(i));
2738
2746
  const C = ua[w[0]];
2739
- return C(g, w, d.localize, b);
2747
+ return C(f, w, d.localize, b);
2740
2748
  }).join("");
2741
2749
  }
2742
2750
  function So(i) {
@@ -2744,7 +2752,7 @@ function So(i) {
2744
2752
  return t ? t[1].replace(_o, "'") : i;
2745
2753
  }
2746
2754
  function Co(i, t) {
2747
- const e = Bt(i, void 0).getDay();
2755
+ const e = Lt(i, void 0).getDay();
2748
2756
  return e === 0 ? 7 : e;
2749
2757
  }
2750
2758
  function To(i, t, e = "long") {
@@ -2756,7 +2764,7 @@ function To(i, t, e = "long") {
2756
2764
  }).format(t).split(/\s/g).slice(2).join(" ");
2757
2765
  }
2758
2766
  const va = {}, _i = {};
2759
- function Me(i, t) {
2767
+ function Pe(i, t) {
2760
2768
  try {
2761
2769
  const e = (va[i] || (va[i] = new Intl.DateTimeFormat("en-US", {
2762
2770
  timeZone: i,
@@ -2777,7 +2785,7 @@ function ba(i, t) {
2777
2785
  let wi = class xi extends Date {
2778
2786
  //#region static
2779
2787
  constructor(...t) {
2780
- super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Me(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Xa(this), Is(this)) : this.setTime(Date.now());
2788
+ super(), t.length > 1 && typeof t[t.length - 1] == "string" && (this.timeZone = t.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Pe(this.timeZone, this)) ? this.setTime(NaN) : t.length ? typeof t[0] == "number" && (t.length === 1 || t.length === 2 && typeof t[1] != "number") ? this.setTime(t[0]) : typeof t[0] == "string" ? this.setTime(+new Date(t[0])) : t[0] instanceof Date ? this.setTime(+t[0]) : (this.setTime(+new Date(...t)), Xa(this), Is(this)) : this.setTime(Date.now());
2781
2789
  }
2782
2790
  static tz(t, ...e) {
2783
2791
  return e.length ? new xi(...e, t) : new xi(Date.now(), t);
@@ -2788,7 +2796,7 @@ let wi = class xi extends Date {
2788
2796
  return new xi(+this, t);
2789
2797
  }
2790
2798
  getTimezoneOffset() {
2791
- const t = -Me(this.timeZone, this);
2799
+ const t = -Pe(this.timeZone, this);
2792
2800
  return t > 0 ? Math.floor(t) : Math.ceil(t);
2793
2801
  }
2794
2802
  //#endregion
@@ -2816,13 +2824,13 @@ Object.getOwnPropertyNames(Date.prototype).forEach((i) => {
2816
2824
  }));
2817
2825
  });
2818
2826
  function Is(i) {
2819
- i.internal.setTime(+i), i.internal.setUTCSeconds(i.internal.getUTCSeconds() - Math.round(-Me(i.timeZone, i) * 60));
2827
+ i.internal.setTime(+i), i.internal.setUTCSeconds(i.internal.getUTCSeconds() - Math.round(-Pe(i.timeZone, i) * 60));
2820
2828
  }
2821
2829
  function Ao(i) {
2822
2830
  Date.prototype.setFullYear.call(i, i.internal.getUTCFullYear(), i.internal.getUTCMonth(), i.internal.getUTCDate()), Date.prototype.setHours.call(i, i.internal.getUTCHours(), i.internal.getUTCMinutes(), i.internal.getUTCSeconds(), i.internal.getUTCMilliseconds()), Xa(i);
2823
2831
  }
2824
2832
  function Xa(i) {
2825
- const t = Me(i.timeZone, i), e = t > 0 ? Math.floor(t) : Math.ceil(t), s = /* @__PURE__ */ new Date(+i);
2833
+ const t = Pe(i.timeZone, i), e = t > 0 ? Math.floor(t) : Math.ceil(t), s = /* @__PURE__ */ new Date(+i);
2826
2834
  s.setUTCHours(s.getUTCHours() - 1);
2827
2835
  const a = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset(), n = -(/* @__PURE__ */ new Date(+s)).getTimezoneOffset(), r = a - n, l = Date.prototype.getHours.apply(i) !== i.internal.getUTCHours();
2828
2836
  r && l && i.internal.setUTCMinutes(i.internal.getUTCMinutes() + r);
@@ -2830,12 +2838,12 @@ function Xa(i) {
2830
2838
  d && Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + d);
2831
2839
  const p = /* @__PURE__ */ new Date(+i);
2832
2840
  p.setUTCSeconds(0);
2833
- const f = a > 0 ? p.getSeconds() : (p.getSeconds() - 60) % 60, g = Math.round(-(Me(i.timeZone, i) * 60)) % 60;
2834
- (g || f) && (i.internal.setUTCSeconds(i.internal.getUTCSeconds() + g), Date.prototype.setUTCSeconds.call(i, Date.prototype.getUTCSeconds.call(i) + g + f));
2835
- const k = Me(i.timeZone, i), b = k > 0 ? Math.floor(k) : Math.ceil(k), y = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset() - b, w = b !== e, C = y - d;
2841
+ const g = a > 0 ? p.getSeconds() : (p.getSeconds() - 60) % 60, f = Math.round(-(Pe(i.timeZone, i) * 60)) % 60;
2842
+ (f || g) && (i.internal.setUTCSeconds(i.internal.getUTCSeconds() + f), Date.prototype.setUTCSeconds.call(i, Date.prototype.getUTCSeconds.call(i) + f + g));
2843
+ const k = Pe(i.timeZone, i), b = k > 0 ? Math.floor(k) : Math.ceil(k), y = -(/* @__PURE__ */ new Date(+i)).getTimezoneOffset() - b, w = b !== e, C = y - d;
2836
2844
  if (w && C) {
2837
2845
  Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + C);
2838
- const P = Me(i.timeZone, i), T = P > 0 ? Math.floor(P) : Math.ceil(P), F = b - T;
2846
+ const P = Pe(i.timeZone, i), T = P > 0 ? Math.floor(P) : Math.ceil(P), F = b - T;
2839
2847
  F && (i.internal.setUTCMinutes(i.internal.getUTCMinutes() + F), Date.prototype.setUTCMinutes.call(i, Date.prototype.getUTCMinutes.call(i) + F));
2840
2848
  }
2841
2849
  }
@@ -2968,7 +2976,7 @@ const nt = (i) => {
2968
2976
  csvToArray: Qa,
2969
2977
  stringToDate: Bo,
2970
2978
  stringsToDate: Vo
2971
- }, jo = { earliest: { default: null }, latest: { default: null }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, maxMultiple: { default: 4 }, range: { default: !1 } }, Ee = {
2979
+ }, jo = { earliest: { default: null }, latest: { default: null }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, maxMultiple: { default: 4 }, range: { default: !1 } }, Ae = {
2972
2980
  props: jo
2973
2981
  };
2974
2982
  var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, W = (i, t, e, s) => {
@@ -2978,7 +2986,7 @@ var Fo = Object.defineProperty, Uo = Object.getOwnPropertyDescriptor, W = (i, t,
2978
2986
  };
2979
2987
  let q = class extends K {
2980
2988
  constructor() {
2981
- super(...arguments), this.multiple = Ee.props.multiple.default, this.maxMultiple = Ee.props.maxMultiple.default, this.range = Ee.props.range.default, this.weeknumbers = Ee.props.weeknumbers.default, this.withcontrols = Ee.props.withcontrols.default, this.selected = [], this.earliest = Ee.props.earliest.default, this.latest = Ee.props.latest.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.dayStrings = this.strings.dates.daysShort, this.dayStringsLong = this.strings.dates.days, this.monthStrings = this.strings.dates.months, this.weekString = this.strings.dates.week, this.prevMonthString = this.strings.dates.prevMonth, this.nextMonthString = this.strings.dates.nextMonth, this._selected = [], this.year = 0, this.month = 0, this.week = 0, this.rangeHovered = null, this.inRange = {}, this.focusedDate = null, this.selectableDates = [], this.currentmonthtouched = !1, this.tabIndexSet = 0;
2989
+ super(...arguments), this.multiple = Ae.props.multiple.default, this.maxMultiple = Ae.props.maxMultiple.default, this.range = Ae.props.range.default, this.weeknumbers = Ae.props.weeknumbers.default, this.withcontrols = Ae.props.withcontrols.default, this.selected = [], this.earliest = Ae.props.earliest.default, this.latest = Ae.props.latest.default, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.dayStrings = this.strings.dates.daysShort, this.dayStringsLong = this.strings.dates.days, this.monthStrings = this.strings.dates.months, this.weekString = this.strings.dates.week, this.prevMonthString = this.strings.dates.prevMonth, this.nextMonthString = this.strings.dates.nextMonth, this._selected = [], this.year = 0, this.month = 0, this.week = 0, this.rangeHovered = null, this.inRange = {}, this.focusedDate = null, this.selectableDates = [], this.currentmonthtouched = !1, this.tabIndexSet = 0;
2982
2990
  }
2983
2991
  /**
2984
2992
  * Runs on mount, used to set up various values and whatever you need to run
@@ -3046,16 +3054,16 @@ let q = class extends K {
3046
3054
  const d = this.focusedDate ? ce(this.focusedDate) : ve(this.year, this.month, 1);
3047
3055
  let p = _s(d, e);
3048
3056
  if (p) {
3049
- let f = this.querySelector(`button[data-date="${nt(p)}"]`);
3050
- if (f instanceof HTMLButtonElement) {
3051
- if (f.dataset.disabled) {
3057
+ let g = this.querySelector(`button[data-date="${nt(p)}"]`);
3058
+ if (g instanceof HTMLButtonElement) {
3059
+ if (g.dataset.disabled) {
3052
3060
  p = _s(p, e);
3053
- let g = this.querySelector(`button[data-date="${nt(p)}"]`);
3054
- for (; g && g instanceof HTMLButtonElement && g.dataset.disabled; )
3055
- p = _s(p, e), g = this.querySelector(`button[data-date="${nt(p)}"]`);
3056
- f = g;
3061
+ let f = this.querySelector(`button[data-date="${nt(p)}"]`);
3062
+ for (; f && f instanceof HTMLButtonElement && f.dataset.disabled; )
3063
+ p = _s(p, e), f = this.querySelector(`button[data-date="${nt(p)}"]`);
3064
+ g = f;
3057
3065
  }
3058
- f instanceof HTMLButtonElement && !f.dataset.disabled && (this.focusedDate = nt(p), f.focus());
3066
+ g instanceof HTMLButtonElement && !g.dataset.disabled && (this.focusedDate = nt(p), g.focus());
3059
3067
  }
3060
3068
  }
3061
3069
  }
@@ -3177,9 +3185,9 @@ let q = class extends K {
3177
3185
  }
3178
3186
  renderDayView(t, e) {
3179
3187
  var s;
3180
- const a = ve(this.year, this.month, t), n = nt(a), r = n === nt(e), l = this.selected.includes(n), d = Oo(a), p = this.isExcluded(a) || !l && this.multiple && this.maxMultiple > 0 && this.selected.length >= this.maxMultiple, f = this.focusedDate ? this.focusedDate === n && !p ? "0" : "-1" : !p && this.tabIndexSet === 0 || this.tabIndexSet === t ? "0" : "-1";
3181
- f === "0" && (this.tabIndexSet = t), this.selectableDates.push({ currentDateISO: n, isDisabled: p, tabindex: f });
3182
- const g = {
3188
+ const a = ve(this.year, this.month, t), n = nt(a), r = n === nt(e), l = this.selected.includes(n), d = Oo(a), p = this.isExcluded(a) || !l && this.multiple && this.maxMultiple > 0 && this.selected.length >= this.maxMultiple, g = this.focusedDate ? this.focusedDate === n && !p ? "0" : "-1" : !p && this.tabIndexSet === 0 || this.tabIndexSet === t ? "0" : "-1";
3189
+ g === "0" && (this.tabIndexSet = t), this.selectableDates.push({ currentDateISO: n, isDisabled: p, tabindex: g });
3190
+ const f = {
3183
3191
  "pkt-cal-today": r,
3184
3192
  "pkt-cal-selected": l,
3185
3193
  "pkt-cal-in-range": this.inRange[n],
@@ -3197,7 +3205,7 @@ let q = class extends K {
3197
3205
  "pkt-calendar__date--range-start": this.range && (this.selected.length === 2 || this.rangeHovered !== null) && n === this.selected[0],
3198
3206
  "pkt-calendar__date--range-end": this.range && this.selected.length === 2 && n === this.selected[1]
3199
3207
  };
3200
- return u`<td class=${O(g)}>
3208
+ return u`<td class=${O(f)}>
3201
3209
  <button
3202
3210
  type="button"
3203
3211
  aria-pressed=${l ? "true" : "false"}
@@ -3229,13 +3237,13 @@ let q = class extends K {
3229
3237
  let d = 1;
3230
3238
  this.week = Ya(ve(this.year, this.month, 1));
3231
3239
  const p = [];
3232
- for (let f = 0; f < r; f++) {
3233
- const g = [];
3234
- this.weeknumbers && g.push(u`<td class="pkt-cal-week">${this.week}</td>`), this.week++;
3240
+ for (let g = 0; g < r; g++) {
3241
+ const f = [];
3242
+ this.weeknumbers && f.push(u`<td class="pkt-cal-week">${this.week}</td>`), this.week++;
3235
3243
  for (let k = 1; k < 8; k++)
3236
- if (f === 0 && k < a + 1) {
3244
+ if (g === 0 && k < a + 1) {
3237
3245
  const b = l - (a - k);
3238
- g.push(
3246
+ f.push(
3239
3247
  u`<td class="pkt-cal-other">
3240
3248
  <div
3241
3249
  class="pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--label-only"
@@ -3245,7 +3253,7 @@ let q = class extends K {
3245
3253
  </div>
3246
3254
  </td>`
3247
3255
  );
3248
- } else d > n ? (g.push(
3256
+ } else d > n ? (f.push(
3249
3257
  u`<td class="pkt-cal-other">
3250
3258
  <div
3251
3259
  class="pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--label-only"
@@ -3254,10 +3262,10 @@ let q = class extends K {
3254
3262
  <span class="pkt-btn__text pkt-txt-14-light">${d - n}</span>
3255
3263
  </div>
3256
3264
  </td>`
3257
- ), d++) : (g.push(this.renderDayView(d, t)), d++);
3265
+ ), d++) : (f.push(this.renderDayView(d, t)), d++);
3258
3266
  p.push(
3259
3267
  u`<tr class="pkt-cal-week-row" role="row">
3260
- ${g}
3268
+ ${f}
3261
3269
  </tr>`
3262
3270
  );
3263
3271
  }
@@ -3454,19 +3462,19 @@ W([
3454
3462
  o({ type: Date })
3455
3463
  ], q.prototype, "rangeHovered", 2);
3456
3464
  W([
3457
- R()
3465
+ L()
3458
3466
  ], q.prototype, "inRange", 2);
3459
3467
  W([
3460
- R()
3468
+ L()
3461
3469
  ], q.prototype, "focusedDate", 2);
3462
3470
  W([
3463
- R()
3471
+ L()
3464
3472
  ], q.prototype, "selectableDates", 2);
3465
3473
  W([
3466
- R()
3474
+ L()
3467
3475
  ], q.prototype, "currentmonthtouched", 2);
3468
3476
  W([
3469
- R()
3477
+ L()
3470
3478
  ], q.prototype, "tabIndexSet", 2);
3471
3479
  q = W([
3472
3480
  V("pkt-calendar")
@@ -3479,7 +3487,7 @@ var qo = Object.defineProperty, zo = Object.getOwnPropertyDescriptor, ne = (i, t
3479
3487
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3480
3488
  return s && a && qo(t, e, a), a;
3481
3489
  };
3482
- let qt = class extends K {
3490
+ let Ht = class extends K {
3483
3491
  constructor() {
3484
3492
  super(), this.defaultSlot = N(), this.closeTag = Ki.props.closeTag.default, this.size = Ki.props.size.default, this.skin = Ki.props.skin.default, this.textStyle = null, this.iconName = void 0, this.type = Ki.props.type.default, this.ariaLabel = null, this._isClosed = !1, this._ariaDescription = null, this.close = (t) => {
3485
3493
  this._isClosed = !0, this.dispatchEvent(
@@ -3537,40 +3545,40 @@ let qt = class extends K {
3537
3545
  };
3538
3546
  ne([
3539
3547
  o({ type: Boolean, reflect: !0 })
3540
- ], qt.prototype, "closeTag", 2);
3548
+ ], Ht.prototype, "closeTag", 2);
3541
3549
  ne([
3542
3550
  o({ type: String, reflect: !0 })
3543
- ], qt.prototype, "size", 2);
3551
+ ], Ht.prototype, "size", 2);
3544
3552
  ne([
3545
3553
  o({ type: String, reflect: !0 })
3546
- ], qt.prototype, "skin", 2);
3554
+ ], Ht.prototype, "skin", 2);
3547
3555
  ne([
3548
3556
  o({ type: String, reflect: !0 })
3549
- ], qt.prototype, "textStyle", 2);
3557
+ ], Ht.prototype, "textStyle", 2);
3550
3558
  ne([
3551
3559
  o({ type: String, reflect: !0 })
3552
- ], qt.prototype, "iconName", 2);
3560
+ ], Ht.prototype, "iconName", 2);
3553
3561
  ne([
3554
3562
  o({ type: String })
3555
- ], qt.prototype, "type", 2);
3563
+ ], Ht.prototype, "type", 2);
3556
3564
  ne([
3557
3565
  o({ type: String })
3558
- ], qt.prototype, "ariaLabel", 2);
3566
+ ], Ht.prototype, "ariaLabel", 2);
3559
3567
  ne([
3560
- R()
3561
- ], qt.prototype, "_isClosed", 2);
3568
+ L()
3569
+ ], Ht.prototype, "_isClosed", 2);
3562
3570
  ne([
3563
- R()
3564
- ], qt.prototype, "_ariaDescription", 2);
3565
- qt = ne([
3571
+ L()
3572
+ ], Ht.prototype, "_ariaDescription", 2);
3573
+ Ht = ne([
3566
3574
  V("pkt-tag")
3567
- ], qt);
3575
+ ], Ht);
3568
3576
  var Wo = Object.defineProperty, Ko = Object.getOwnPropertyDescriptor, Li = (i, t, e, s) => {
3569
3577
  for (var a = s > 1 ? void 0 : s ? Ko(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3570
3578
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3571
3579
  return s && a && Wo(t, e, a), a;
3572
3580
  };
3573
- let Le = class extends os {
3581
+ let Re = class extends os {
3574
3582
  constructor() {
3575
3583
  super(...arguments), this.size = void 0, this.level = 2, this.visuallyHidden = !1, this.align = void 0;
3576
3584
  }
@@ -3624,23 +3632,23 @@ let Le = class extends os {
3624
3632
  };
3625
3633
  Li([
3626
3634
  o({ type: String, reflect: !0 })
3627
- ], Le.prototype, "size", 2);
3635
+ ], Re.prototype, "size", 2);
3628
3636
  Li([
3629
3637
  o({ type: Number, reflect: !0 })
3630
- ], Le.prototype, "level", 2);
3638
+ ], Re.prototype, "level", 2);
3631
3639
  Li([
3632
3640
  o({ type: Boolean, reflect: !0 })
3633
- ], Le.prototype, "visuallyHidden", 2);
3641
+ ], Re.prototype, "visuallyHidden", 2);
3634
3642
  Li([
3635
3643
  o({ type: String, reflect: !0 })
3636
- ], Le.prototype, "align", 2);
3637
- Le = Li([
3644
+ ], Re.prototype, "align", 2);
3645
+ Re = Li([
3638
3646
  V("pkt-heading")
3639
- ], Le);
3647
+ ], Re);
3640
3648
  const Go = { layout: { default: "vertical" }, skin: { type: ["outlined", "outlined-beige", "gray", "blue", "beige", "green"], default: "outlined" }, padding: { default: "default" } }, Je = {
3641
3649
  props: Go
3642
3650
  };
3643
- var Yo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, mt = (i, t, e, s) => {
3651
+ var Yo = Object.defineProperty, Zo = Object.getOwnPropertyDescriptor, gt = (i, t, e, s) => {
3644
3652
  for (var a = s > 1 ? void 0 : s ? Zo(t, e) : t, n = i.length - 1, r; n >= 0; n--)
3645
3653
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
3646
3654
  return s && a && Yo(t, e, a), a;
@@ -3797,43 +3805,43 @@ let lt = class extends K {
3797
3805
  `;
3798
3806
  }
3799
3807
  };
3800
- mt([
3808
+ gt([
3801
3809
  o({ type: String })
3802
3810
  ], lt.prototype, "ariaLabel", 2);
3803
- mt([
3811
+ gt([
3804
3812
  o({ type: String })
3805
3813
  ], lt.prototype, "metaLead", 2);
3806
- mt([
3814
+ gt([
3807
3815
  o({ type: Boolean })
3808
3816
  ], lt.prototype, "borderOnHover", 2);
3809
- mt([
3817
+ gt([
3810
3818
  o({ type: String, reflect: !0 })
3811
3819
  ], lt.prototype, "clickCardLink", 2);
3812
- mt([
3820
+ gt([
3813
3821
  o({ type: String })
3814
3822
  ], lt.prototype, "metaTrail", 2);
3815
- mt([
3823
+ gt([
3816
3824
  o({ type: String })
3817
3825
  ], lt.prototype, "layout", 2);
3818
- mt([
3826
+ gt([
3819
3827
  o({ type: String })
3820
3828
  ], lt.prototype, "heading", 2);
3821
- mt([
3829
+ gt([
3822
3830
  o({ type: Number })
3823
3831
  ], lt.prototype, "headinglevel", 2);
3824
- mt([
3832
+ gt([
3825
3833
  o({ type: Object })
3826
3834
  ], lt.prototype, "image", 2);
3827
- mt([
3835
+ gt([
3828
3836
  o({ type: String })
3829
3837
  ], lt.prototype, "imageShape", 2);
3830
- mt([
3838
+ gt([
3831
3839
  o({ type: Boolean })
3832
3840
  ], lt.prototype, "openLinkInNewTab", 2);
3833
- mt([
3841
+ gt([
3834
3842
  o({ type: String })
3835
3843
  ], lt.prototype, "padding", 2);
3836
- mt([
3844
+ gt([
3837
3845
  o({
3838
3846
  type: String,
3839
3847
  converter: {
@@ -3847,16 +3855,16 @@ mt([
3847
3855
  }
3848
3856
  })
3849
3857
  ], lt.prototype, "skin", 2);
3850
- mt([
3858
+ gt([
3851
3859
  o({ type: String })
3852
3860
  ], lt.prototype, "subheading", 2);
3853
- mt([
3861
+ gt([
3854
3862
  o({ type: String })
3855
3863
  ], lt.prototype, "tagPosition", 2);
3856
- mt([
3864
+ gt([
3857
3865
  o({ type: Array })
3858
3866
  ], lt.prototype, "tags", 2);
3859
- lt = mt([
3867
+ lt = gt([
3860
3868
  V("pkt-card")
3861
3869
  ], lt);
3862
3870
  /**
@@ -3887,31 +3895,31 @@ const $a = (i, t, e) => {
3887
3895
  const a = Jn(i), { values: n, keys: r } = this.dt(t, e, s);
3888
3896
  if (!Array.isArray(a)) return this.ut = r, n;
3889
3897
  const l = this.ut ?? (this.ut = []), d = [];
3890
- let p, f, g = 0, k = a.length - 1, b = 0, y = n.length - 1;
3891
- for (; g <= k && b <= y; ) if (a[g] === null) g++;
3898
+ let p, g, f = 0, k = a.length - 1, b = 0, y = n.length - 1;
3899
+ for (; f <= k && b <= y; ) if (a[f] === null) f++;
3892
3900
  else if (a[k] === null) k--;
3893
- else if (l[g] === r[b]) d[b] = Ae(a[g], n[b]), g++, b++;
3894
- else if (l[k] === r[y]) d[y] = Ae(a[k], n[y]), k--, y--;
3895
- else if (l[g] === r[y]) d[y] = Ae(a[g], n[y]), vi(i, d[y + 1], a[g]), g++, y--;
3896
- else if (l[k] === r[b]) d[b] = Ae(a[k], n[b]), vi(i, a[g], a[k]), k--, b++;
3897
- else if (p === void 0 && (p = $a(r, b, y), f = $a(l, g, k)), p.has(l[g])) if (p.has(l[k])) {
3898
- const w = f.get(r[b]), C = w !== void 0 ? a[w] : null;
3901
+ else if (l[f] === r[b]) d[b] = Ne(a[f], n[b]), f++, b++;
3902
+ else if (l[k] === r[y]) d[y] = Ne(a[k], n[y]), k--, y--;
3903
+ else if (l[f] === r[y]) d[y] = Ne(a[f], n[y]), vi(i, d[y + 1], a[f]), f++, y--;
3904
+ else if (l[k] === r[b]) d[b] = Ne(a[k], n[b]), vi(i, a[f], a[k]), k--, b++;
3905
+ else if (p === void 0 && (p = $a(r, b, y), g = $a(l, f, k)), p.has(l[f])) if (p.has(l[k])) {
3906
+ const w = g.get(r[b]), C = w !== void 0 ? a[w] : null;
3899
3907
  if (C === null) {
3900
- const P = vi(i, a[g]);
3901
- Ae(P, n[b]), d[b] = P;
3902
- } else d[b] = Ae(C, n[b]), vi(i, a[g], C), a[w] = null;
3908
+ const P = vi(i, a[f]);
3909
+ Ne(P, n[b]), d[b] = P;
3910
+ } else d[b] = Ne(C, n[b]), vi(i, a[f], C), a[w] = null;
3903
3911
  b++;
3904
3912
  } else ys(a[k]), k--;
3905
- else ys(a[g]), g++;
3913
+ else ys(a[f]), f++;
3906
3914
  for (; b <= y; ) {
3907
3915
  const w = vi(i, d[y + 1]);
3908
- Ae(w, n[b]), d[b++] = w;
3916
+ Ne(w, n[b]), d[b++] = w;
3909
3917
  }
3910
- for (; g <= k; ) {
3911
- const w = a[g++];
3918
+ for (; f <= k; ) {
3919
+ const w = a[f++];
3912
3920
  w !== null && ys(w);
3913
3921
  }
3914
- return this.ut = r, Ua(i, d), _t;
3922
+ return this.ut = r, Ua(i, d), wt;
3915
3923
  }
3916
3924
  }), _a = () => ("00000000000000000" + (Math.random() * 18446744073709552e3).toString(16)).slice(-16), ye = () => {
3917
3925
  const i = _a(), t = _a();
@@ -3923,7 +3931,7 @@ var Jo = {}, wa;
3923
3931
  function Qo() {
3924
3932
  return wa || (wa = 1, (function() {
3925
3933
  (function(i) {
3926
- const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap(), C = {
3934
+ const t = /* @__PURE__ */ new WeakMap(), e = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new WeakMap(), p = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), k = /* @__PURE__ */ new WeakMap(), b = /* @__PURE__ */ new WeakMap(), y = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap(), C = {
3927
3935
  ariaAtomic: "aria-atomic",
3928
3936
  ariaAutoComplete: "aria-autocomplete",
3929
3937
  ariaBusy: "aria-busy",
@@ -3975,20 +3983,20 @@ function Qo() {
3975
3983
  get() {
3976
3984
  return _;
3977
3985
  },
3978
- set(L) {
3979
- _ = L, m.isConnected ? st(m, I, L) : f.set(m, c);
3986
+ set(B) {
3987
+ _ = B, m.isConnected ? st(m, I, B) : g.set(m, c);
3980
3988
  }
3981
3989
  });
3982
3990
  }
3983
3991
  };
3984
3992
  function T(m) {
3985
3993
  const c = a.get(m), { form: v } = c;
3986
- he(m, v, c), $t(m, c.labels);
3994
+ he(m, v, c), _t(m, c.labels);
3987
3995
  }
3988
3996
  const F = (m, c = !1) => {
3989
3997
  const v = document.createTreeWalker(m, NodeFilter.SHOW_ELEMENT, {
3990
- acceptNode(L) {
3991
- return a.has(L) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3998
+ acceptNode(B) {
3999
+ return a.has(B) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
3992
4000
  }
3993
4001
  });
3994
4002
  let _ = v.nextNode();
@@ -4006,23 +4014,23 @@ function Qo() {
4006
4014
  }) : {};
4007
4015
  function Z(m) {
4008
4016
  m.forEach((c) => {
4009
- const { addedNodes: v, removedNodes: _ } = c, I = Array.from(v), L = Array.from(_);
4017
+ const { addedNodes: v, removedNodes: _ } = c, I = Array.from(v), B = Array.from(_);
4010
4018
  I.forEach((U) => {
4011
4019
  var Pt;
4012
- if (a.has(U) && U.constructor.formAssociated && T(U), f.has(U)) {
4013
- const pt = f.get(U);
4014
- Object.keys(C).filter((Mt) => pt[Mt] !== null).forEach((Mt) => {
4015
- st(U, C[Mt], pt[Mt]);
4016
- }), f.delete(U);
4020
+ if (a.has(U) && U.constructor.formAssociated && T(U), g.has(U)) {
4021
+ const ct = g.get(U);
4022
+ Object.keys(C).filter((Mt) => ct[Mt] !== null).forEach((Mt) => {
4023
+ st(U, C[Mt], ct[Mt]);
4024
+ }), g.delete(U);
4017
4025
  }
4018
4026
  if (w.has(U)) {
4019
- const pt = w.get(U);
4020
- st(U, "internals-valid", pt.validity.valid.toString()), st(U, "internals-invalid", (!pt.validity.valid).toString()), st(U, "aria-invalid", (!pt.validity.valid).toString()), w.delete(U);
4027
+ const ct = w.get(U);
4028
+ st(U, "internals-valid", ct.validity.valid.toString()), st(U, "internals-invalid", (!ct.validity.valid).toString()), st(U, "aria-invalid", (!ct.validity.valid).toString()), w.delete(U);
4021
4029
  }
4022
4030
  if (U.localName === "form") {
4023
- const pt = d.get(U), Mt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4031
+ const ct = d.get(U), Mt = document.createTreeWalker(U, NodeFilter.SHOW_ELEMENT, {
4024
4032
  acceptNode(gs) {
4025
- return a.has(gs) && gs.constructor.formAssociated && !(pt && pt.has(gs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4033
+ return a.has(gs) && gs.constructor.formAssociated && !(ct && ct.has(gs)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4026
4034
  }
4027
4035
  });
4028
4036
  let mi = Mt.nextNode();
@@ -4030,7 +4038,7 @@ function Qo() {
4030
4038
  T(mi), mi = Mt.nextNode();
4031
4039
  }
4032
4040
  U.localName === "fieldset" && ((Pt = z.observe) === null || Pt === void 0 || Pt.call(z, U, A), F(U, !0));
4033
- }), L.forEach((U) => {
4041
+ }), B.forEach((U) => {
4034
4042
  const Pt = a.get(U);
4035
4043
  Pt && s.get(Pt) && Ot(Pt), l.has(U) && l.get(U).disconnect();
4036
4044
  });
@@ -4041,7 +4049,7 @@ function Qo() {
4041
4049
  const { removedNodes: v } = c;
4042
4050
  v.forEach((_) => {
4043
4051
  const I = b.get(c.target);
4044
- a.has(_) && Te(_), I.disconnect();
4052
+ a.has(_) && Ce(_), I.disconnect();
4045
4053
  });
4046
4054
  });
4047
4055
  }
@@ -4068,20 +4076,20 @@ function Qo() {
4068
4076
  }, D = (m, c) => {
4069
4077
  var v;
4070
4078
  s.set(c, []), (v = z.observe) === null || v === void 0 || v.call(z, m, A);
4071
- }, $t = (m, c) => {
4079
+ }, _t = (m, c) => {
4072
4080
  if (c.length) {
4073
4081
  Array.from(c).forEach((_) => _.addEventListener("click", m.click.bind(m)));
4074
4082
  let v = c[0].id;
4075
4083
  c[0].id || (v = `${c[0].htmlFor}_Label`, c[0].id = v), st(m, "aria-labelledby", v);
4076
4084
  }
4077
4085
  }, Qt = (m) => {
4078
- const c = Array.from(m.elements).filter((L) => !L.tagName.includes("-") && L.validity).map((L) => L.validity.valid), v = d.get(m) || [], _ = Array.from(v).filter((L) => L.isConnected).map((L) => a.get(L).validity.valid), I = [...c, ..._].includes(!1);
4086
+ const c = Array.from(m.elements).filter((B) => !B.tagName.includes("-") && B.validity).map((B) => B.validity.valid), v = d.get(m) || [], _ = Array.from(v).filter((B) => B.isConnected).map((B) => a.get(B).validity.valid), I = [...c, ..._].includes(!1);
4079
4087
  m.toggleAttribute("internals-invalid", I), m.toggleAttribute("internals-valid", !I);
4080
4088
  }, le = (m) => {
4081
- Qt(Ht(m.target));
4089
+ Qt(Ut(m.target));
4082
4090
  }, te = (m) => {
4083
- Qt(Ht(m.target));
4084
- }, Se = (m) => {
4091
+ Qt(Ut(m.target));
4092
+ }, xe = (m) => {
4085
4093
  const c = ["button[type=submit]", "input[type=submit]", "button:not([type])"].map((v) => `${v}:not([disabled])`).map((v) => `${v}:not([form])${m.id ? `,${v}[form='${m.id}']` : ""}`).join(",");
4086
4094
  m.addEventListener("click", (v) => {
4087
4095
  if (v.target.closest(c)) {
@@ -4103,27 +4111,27 @@ function Qo() {
4103
4111
  _.add(m);
4104
4112
  else {
4105
4113
  const I = /* @__PURE__ */ new Set();
4106
- I.add(m), d.set(c, I), Se(c), c.addEventListener("reset", ze), c.addEventListener("input", le), c.addEventListener("change", te);
4114
+ I.add(m), d.set(c, I), xe(c), c.addEventListener("reset", ze), c.addEventListener("input", le), c.addEventListener("change", te);
4107
4115
  }
4108
4116
  r.set(c, { ref: m, internals: v }), m.constructor.formAssociated && m.formAssociatedCallback && setTimeout(() => {
4109
4117
  m.formAssociatedCallback.apply(m, [c]);
4110
4118
  }, 0), Qt(c);
4111
4119
  }
4112
- }, Ht = (m) => {
4120
+ }, Ut = (m) => {
4113
4121
  let c = m.parentNode;
4114
- return c && c.tagName !== "FORM" && (c = Ht(c)), c;
4122
+ return c && c.tagName !== "FORM" && (c = Ut(c)), c;
4115
4123
  }, ot = (m, c, v = DOMException) => {
4116
4124
  if (!m.constructor.formAssociated)
4117
4125
  throw new v(c);
4118
- }, Ce = (m, c, v) => {
4126
+ }, Se = (m, c, v) => {
4119
4127
  const _ = d.get(m);
4120
4128
  return _ && _.size && _.forEach((I) => {
4121
4129
  a.get(I)[v]() || (c = !1);
4122
4130
  }), c;
4123
- }, Te = (m) => {
4131
+ }, Ce = (m) => {
4124
4132
  if (m.constructor.formAssociated) {
4125
4133
  const c = a.get(m), { labels: v, form: _ } = c;
4126
- $t(m, v), he(m, _, c);
4134
+ _t(m, v), he(m, _, c);
4127
4135
  }
4128
4136
  };
4129
4137
  function de() {
@@ -4208,22 +4216,22 @@ function Qo() {
4208
4216
  HTMLFormElement.prototype.checkValidity = v;
4209
4217
  const c = HTMLFormElement.prototype.reportValidity;
4210
4218
  HTMLFormElement.prototype.reportValidity = _;
4211
- function v(...L) {
4212
- let U = m.apply(this, L);
4213
- return Ce(this, U, "checkValidity");
4219
+ function v(...B) {
4220
+ let U = m.apply(this, B);
4221
+ return Se(this, U, "checkValidity");
4214
4222
  }
4215
- function _(...L) {
4216
- let U = c.apply(this, L);
4217
- return Ce(this, U, "reportValidity");
4223
+ function _(...B) {
4224
+ let U = c.apply(this, B);
4225
+ return Se(this, U, "reportValidity");
4218
4226
  }
4219
4227
  const { get: I } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements");
4220
4228
  Object.defineProperty(HTMLFormElement.prototype, "elements", {
4221
- get(...L) {
4222
- const U = I.call(this, ...L), Pt = Array.from(d.get(this) || []);
4229
+ get(...B) {
4230
+ const U = I.call(this, ...B), Pt = Array.from(d.get(this) || []);
4223
4231
  if (Pt.length === 0)
4224
4232
  return U;
4225
- const pt = Array.from(U).concat(Pt).sort((Mt, mi) => Mt.compareDocumentPosition ? Mt.compareDocumentPosition(mi) & 2 ? 1 : -1 : 0);
4226
- return new qi(pt);
4233
+ const ct = Array.from(U).concat(Pt).sort((Mt, mi) => Mt.compareDocumentPosition ? Mt.compareDocumentPosition(mi) & 2 ? 1 : -1 : 0);
4234
+ return new qi(ct);
4227
4235
  }
4228
4236
  });
4229
4237
  }
@@ -4256,7 +4264,7 @@ function Qo() {
4256
4264
  const c = t.get(this);
4257
4265
  ot(c, "Failed to read the 'form' property from 'ElementInternals': The target element is not a form-associated custom element.");
4258
4266
  let v;
4259
- return c.constructor.formAssociated === !0 && (v = Ht(c)), v;
4267
+ return c.constructor.formAssociated === !0 && (v = Ut(c)), v;
4260
4268
  }
4261
4269
  get labels() {
4262
4270
  const c = t.get(this);
@@ -4282,8 +4290,8 @@ function Qo() {
4282
4290
  }
4283
4291
  } else c != null && c instanceof FormData && Array.from(c).reverse().forEach(([_, I]) => {
4284
4292
  if (typeof I == "string") {
4285
- const L = at(v, this);
4286
- L.name = _, L.value = I;
4293
+ const B = at(v, this);
4294
+ B.name = _, B.value = I;
4287
4295
  }
4288
4296
  });
4289
4297
  p.set(v, c);
@@ -4293,20 +4301,20 @@ function Qo() {
4293
4301
  if (ot(I, "Failed to execute 'setValidity' on 'ElementInternals': The target element is not a form-associated custom element."), !c)
4294
4302
  throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");
4295
4303
  k.set(this, _);
4296
- const L = e.get(this), U = {};
4304
+ const B = e.get(this), U = {};
4297
4305
  for (const Mt in c)
4298
4306
  U[Mt] = c[Mt];
4299
- Object.keys(U).length === 0 && Fi(L);
4300
- const Pt = Object.assign(Object.assign({}, L), U);
4307
+ Object.keys(U).length === 0 && Fi(B);
4308
+ const Pt = Object.assign(Object.assign({}, B), U);
4301
4309
  delete Pt.valid;
4302
- const { valid: pt } = us(L, Pt, this.form);
4303
- if (!pt && !v)
4310
+ const { valid: ct } = us(B, Pt, this.form);
4311
+ if (!ct && !v)
4304
4312
  throw new DOMException("Failed to execute 'setValidity' on 'ElementInternals': The second argument should not be empty if one or more flags in the first argument are true.");
4305
- n.set(this, pt ? "" : v), I.isConnected ? (I.toggleAttribute("internals-invalid", !pt), I.toggleAttribute("internals-valid", pt), st(I, "aria-invalid", `${!pt}`)) : w.set(I, this);
4313
+ n.set(this, ct ? "" : v), I.isConnected ? (I.toggleAttribute("internals-invalid", !ct), I.toggleAttribute("internals-valid", ct), st(I, "aria-invalid", `${!ct}`)) : w.set(I, this);
4306
4314
  }
4307
4315
  get shadowRoot() {
4308
4316
  const c = t.get(this);
4309
- return g.get(c) || null;
4317
+ return f.get(c) || null;
4310
4318
  }
4311
4319
  get validationMessage() {
4312
4320
  const c = t.get(this);
@@ -4358,9 +4366,9 @@ function Qo() {
4358
4366
  const c = CustomElementRegistry.prototype.define;
4359
4367
  CustomElementRegistry.prototype.define = function(v, _, I) {
4360
4368
  if (_.formAssociated) {
4361
- const L = _.prototype.connectedCallback;
4369
+ const B = _.prototype.connectedCallback;
4362
4370
  _.prototype.connectedCallback = function() {
4363
- y.has(this) || (y.set(this, !0), this.hasAttribute("disabled") && Et(this, !0)), L != null && L.apply(this), Te(this);
4371
+ y.has(this) || (y.set(this, !0), this.hasAttribute("disabled") && Et(this, !0)), B != null && B.apply(this), Ce(this);
4364
4372
  };
4365
4373
  }
4366
4374
  c.call(this, v, _, I);
@@ -4377,9 +4385,9 @@ function Qo() {
4377
4385
  }), typeof Element < "u") {
4378
4386
  let c = function(..._) {
4379
4387
  const I = v.apply(this, _);
4380
- if (g.set(this, I), de()) {
4381
- const L = new MutationObserver(Z);
4382
- window.ShadyDOM ? L.observe(this, Q) : L.observe(I, Q), l.set(this, L);
4388
+ if (f.set(this, I), de()) {
4389
+ const B = new MutationObserver(Z);
4390
+ window.ShadyDOM ? B.observe(this, Q) : B.observe(I, Q), l.set(this, B);
4383
4391
  }
4384
4392
  return I;
4385
4393
  };
@@ -4401,24 +4409,24 @@ var tl = Object.defineProperty, j = (i, t, e, s) => {
4401
4409
  };
4402
4410
  let M = class extends K {
4403
4411
  constructor() {
4404
- super(), this.defaultValue = null, this.disabled = !1, this.readonly = !1, this.required = !1, this.max = null, this.maxlength = null, this.min = null, this.minlength = null, this.step = null, this.ariaDescribedBy = null, this.ariaLabelledby = null, this.name = "", this.pattern = null, this.placeholder = null, this.id = ye(), this.counter = !1, this.hasError = !1, this.inline = !1, this.hasFieldset = !1, this.optionalTag = !1, this.requiredTag = !1, this.skipForwardTestid = !1, this.useWrapper = !0, this.fullwidth = !1, this.counterMaxLength = 0, this.errorMessage = "", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = It.props.helptextDropdownButton.default, this.label = null, this.optionalText = bt.forms.labels.optional, this.requiredText = bt.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4412
+ super(), this.defaultValue = null, this.disabled = !1, this.readonly = !1, this.required = !1, this.max = null, this.maxlength = null, this.min = null, this.minlength = null, this.step = null, this.ariaDescribedBy = null, this.ariaLabelledby = null, this.name = "", this.pattern = null, this.placeholder = null, this.id = ye(), this.counter = !1, this.hasError = !1, this.inline = !1, this.hasFieldset = !1, this.optionalTag = !1, this.requiredTag = !1, this.skipForwardTestid = !1, this.useWrapper = !0, this.fullwidth = !1, this.counterMaxLength = 0, this.errorMessage = "", this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = It.props.helptextDropdownButton.default, this.label = null, this.optionalText = kt.forms.labels.optional, this.requiredText = kt.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4405
4413
  }
4406
4414
  static get formAssociated() {
4407
4415
  return !0;
4408
4416
  }
4409
4417
  manageValidity(t) {
4410
- var e, s, a, n, r, l, d, p, f, g, k;
4411
- t && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, bt.forms.messages.required, t) : (e = t.validity) != null && e.typeMismatch || (s = t.validity) != null && s.badInput ? this.internals.setValidity({ typeMismatch: !0 }, bt.forms.messages.invalid, t) : (a = t.validity) != null && a.patternMismatch ? this.internals.setValidity(
4418
+ var e, s, a, n, r, l, d, p, g, f, k;
4419
+ t && (this.required && !this.value ? this.internals.setValidity({ valueMissing: !0 }, kt.forms.messages.required, t) : (e = t.validity) != null && e.typeMismatch || (s = t.validity) != null && s.badInput ? this.internals.setValidity({ typeMismatch: !0 }, kt.forms.messages.invalid, t) : (a = t.validity) != null && a.patternMismatch ? this.internals.setValidity(
4412
4420
  { patternMismatch: !0 },
4413
- bt.forms.messages.invalidPattern,
4421
+ kt.forms.messages.invalidPattern,
4414
4422
  t
4415
- ) : (n = t.validity) != null && n.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, bt.forms.messages.tooShort, t) : (r = t.validity) != null && r.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, bt.forms.messages.tooLong, t) : (l = t.validity) != null && l.rangeUnderflow ? this.internals.setValidity(
4423
+ ) : (n = t.validity) != null && n.tooShort || this.minlength && this.minlength > 0 && this.value.length < this.minlength ? this.internals.setValidity({ tooShort: !0 }, kt.forms.messages.tooShort, t) : (r = t.validity) != null && r.tooLong || this.maxlength && this.maxlength > 0 && this.value.length > this.maxlength ? this.internals.setValidity({ tooLong: !0 }, kt.forms.messages.tooLong, t) : (l = t.validity) != null && l.rangeUnderflow ? this.internals.setValidity(
4416
4424
  { rangeUnderflow: !0 },
4417
- this.min ? bt.forms.messages.rangeUnderflowMin.replace("{min}", (d = this.min) == null ? void 0 : d.toString()) : bt.forms.messages.rangeUnderflow,
4425
+ this.min ? kt.forms.messages.rangeUnderflowMin.replace("{min}", (d = this.min) == null ? void 0 : d.toString()) : kt.forms.messages.rangeUnderflow,
4418
4426
  t
4419
- ) : (p = t.validity) != null && p.stepMismatch ? this.internals.setValidity({ stepMismatch: !0 }, bt.forms.messages.invalid, t) : (f = t.validity) != null && f.rangeOverflow ? this.internals.setValidity(
4427
+ ) : (p = t.validity) != null && p.stepMismatch ? this.internals.setValidity({ stepMismatch: !0 }, kt.forms.messages.invalid, t) : (g = t.validity) != null && g.rangeOverflow ? this.internals.setValidity(
4420
4428
  { rangeOverflow: !0 },
4421
- this.max ? bt.forms.messages.rangeOverflowMax.replace("{max}", (g = this.max) == null ? void 0 : g.toString()) : bt.forms.messages.rangeOverflow,
4429
+ this.max ? kt.forms.messages.rangeOverflowMax.replace("{max}", (f = this.max) == null ? void 0 : f.toString()) : kt.forms.messages.rangeOverflow,
4422
4430
  t
4423
4431
  ) : (k = t.validity) != null && k.customError ? this.internals.setValidity({ customError: !0 }, t.validationMessage, t) : this.internals.setValidity({}));
4424
4432
  }
@@ -4617,7 +4625,7 @@ j([
4617
4625
  o({ type: String, attribute: "data-testid" })
4618
4626
  ], M.prototype, "dataTestid");
4619
4627
  j([
4620
- R()
4628
+ L()
4621
4629
  ], M.prototype, "touched");
4622
4630
  let tn = class {
4623
4631
  constructor(t) {
@@ -4722,10 +4730,10 @@ He([
4722
4730
  o({ type: String })
4723
4731
  ], pe.prototype, "helptextDropdownButton", 2);
4724
4732
  He([
4725
- R()
4733
+ L()
4726
4734
  ], pe.prototype, "isHelpTextOpen", 2);
4727
4735
  He([
4728
- R()
4736
+ L()
4729
4737
  ], pe.prototype, "filledSlots", 2);
4730
4738
  pe = He([
4731
4739
  V("pkt-helptext")
@@ -4743,7 +4751,7 @@ const nl = {
4743
4751
  return i ? "true" : "false";
4744
4752
  }
4745
4753
  };
4746
- let Y = class extends K {
4754
+ let G = class extends K {
4747
4755
  constructor() {
4748
4756
  super(), this.defaultSlot = N(), this.helptextSlot = N(), this.forId = ye(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = It.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = It.props.optionalTag.default, this.optionalText = It.props.optionalText.default, this.requiredTag = It.props.requiredTag.default, this.requiredText = It.props.requiredText.default, this.tagText = null, this.hasError = It.props.hasError.default, this.errorMessage = "", this.disabled = It.props.disabled.default, this.inline = It.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = It.props.hasFieldset.default, this.role = "group", this.useWrapper = It.props.useWrapper.default, this.slotController = new rt(this, this.defaultSlot, this.helptextSlot);
4749
4757
  }
@@ -4787,8 +4795,8 @@ let Y = class extends K {
4787
4795
  .helptext=${this.helptext}
4788
4796
  .helptextDropdown=${this.helptextDropdown}
4789
4797
  .helptextDropdownButton=${this.helptextDropdownButton || It.props.helptextDropdownButton.default}
4790
- @toggleHelpText=${(g) => {
4791
- this.toggleDropdown(g);
4798
+ @toggleHelpText=${(f) => {
4799
+ this.toggleDropdown(f);
4792
4800
  }}
4793
4801
  ${E(this.helptextSlot)}
4794
4802
  name="helptext"
@@ -4811,10 +4819,10 @@ let Y = class extends K {
4811
4819
  <div class="pkt-contents" ${E(this.defaultSlot)}></div>
4812
4820
  ${this.counterPosition === "bottom" ? l() : $}
4813
4821
  ${d()}
4814
- `, f = () => this.hasFieldset ? u`<fieldset class="pkt-inputwrapper__fieldset" aria-describedby="${s}">
4822
+ `, g = () => this.hasFieldset ? u`<fieldset class="pkt-inputwrapper__fieldset" aria-describedby="${s}">
4815
4823
  ${p()}
4816
4824
  </fieldset>` : u`<div class="pkt-inputwrapper__fieldset">${p()}</div>`;
4817
- return u`<div class=${O(t)}>${f()}</div> `;
4825
+ return u`<div class=${O(t)}>${g()}</div> `;
4818
4826
  }
4819
4827
  toggleDropdown(t) {
4820
4828
  this.dispatchEvent(
@@ -4836,82 +4844,82 @@ let Y = class extends K {
4836
4844
  };
4837
4845
  X([
4838
4846
  o({ type: String })
4839
- ], Y.prototype, "forId", 2);
4847
+ ], G.prototype, "forId", 2);
4840
4848
  X([
4841
4849
  o({ type: String })
4842
- ], Y.prototype, "label", 2);
4850
+ ], G.prototype, "label", 2);
4843
4851
  X([
4844
4852
  o({ type: String })
4845
- ], Y.prototype, "helptext", 2);
4853
+ ], G.prototype, "helptext", 2);
4846
4854
  X([
4847
4855
  o({ type: String })
4848
- ], Y.prototype, "helptextDropdown", 2);
4856
+ ], G.prototype, "helptextDropdown", 2);
4849
4857
  X([
4850
4858
  o({ type: String })
4851
- ], Y.prototype, "helptextDropdownButton", 2);
4859
+ ], G.prototype, "helptextDropdownButton", 2);
4852
4860
  X([
4853
4861
  o({ type: Boolean })
4854
- ], Y.prototype, "counter", 2);
4862
+ ], G.prototype, "counter", 2);
4855
4863
  X([
4856
4864
  o({ type: Number })
4857
- ], Y.prototype, "counterCurrent", 2);
4865
+ ], G.prototype, "counterCurrent", 2);
4858
4866
  X([
4859
4867
  o({ type: Number })
4860
- ], Y.prototype, "counterMaxLength", 2);
4868
+ ], G.prototype, "counterMaxLength", 2);
4861
4869
  X([
4862
4870
  o({ type: String })
4863
- ], Y.prototype, "counterError", 2);
4871
+ ], G.prototype, "counterError", 2);
4864
4872
  X([
4865
4873
  o({ type: String, reflect: !1 })
4866
- ], Y.prototype, "counterPosition", 2);
4874
+ ], G.prototype, "counterPosition", 2);
4867
4875
  X([
4868
4876
  o({ type: Boolean })
4869
- ], Y.prototype, "optionalTag", 2);
4877
+ ], G.prototype, "optionalTag", 2);
4870
4878
  X([
4871
4879
  o({ type: String })
4872
- ], Y.prototype, "optionalText", 2);
4880
+ ], G.prototype, "optionalText", 2);
4873
4881
  X([
4874
4882
  o({ type: Boolean })
4875
- ], Y.prototype, "requiredTag", 2);
4883
+ ], G.prototype, "requiredTag", 2);
4876
4884
  X([
4877
4885
  o({ type: String })
4878
- ], Y.prototype, "requiredText", 2);
4886
+ ], G.prototype, "requiredText", 2);
4879
4887
  X([
4880
4888
  o({ type: String })
4881
- ], Y.prototype, "tagText", 2);
4889
+ ], G.prototype, "tagText", 2);
4882
4890
  X([
4883
4891
  o({ type: Boolean })
4884
- ], Y.prototype, "hasError", 2);
4892
+ ], G.prototype, "hasError", 2);
4885
4893
  X([
4886
4894
  o({ type: String })
4887
- ], Y.prototype, "errorMessage", 2);
4895
+ ], G.prototype, "errorMessage", 2);
4888
4896
  X([
4889
4897
  o({ type: Boolean })
4890
- ], Y.prototype, "disabled", 2);
4898
+ ], G.prototype, "disabled", 2);
4891
4899
  X([
4892
4900
  o({ type: Boolean })
4893
- ], Y.prototype, "inline", 2);
4901
+ ], G.prototype, "inline", 2);
4894
4902
  X([
4895
4903
  o({ type: String })
4896
- ], Y.prototype, "ariaDescribedby", 2);
4904
+ ], G.prototype, "ariaDescribedby", 2);
4897
4905
  X([
4898
4906
  o({ type: Boolean })
4899
- ], Y.prototype, "hasFieldset", 2);
4907
+ ], G.prototype, "hasFieldset", 2);
4900
4908
  X([
4901
4909
  o({ type: String, reflect: !0 })
4902
- ], Y.prototype, "role", 2);
4910
+ ], G.prototype, "role", 2);
4903
4911
  X([
4904
4912
  o({ type: Boolean, reflect: !0, converter: nl })
4905
- ], Y.prototype, "useWrapper", 2);
4906
- Y = X([
4913
+ ], G.prototype, "useWrapper", 2);
4914
+ G = X([
4907
4915
  V("pkt-input-wrapper")
4908
- ], Y);
4909
- var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, vt = (i, t, e, s) => {
4916
+ ], G);
4917
+ var rl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, yt = (i, t, e, s) => {
4910
4918
  for (var a = s > 1 ? void 0 : s ? ol(t, e) : t, n = i.length - 1, r; n >= 0; n--)
4911
4919
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
4912
4920
  return s && a && rl(t, e, a), a;
4913
4921
  };
4914
- let ut = class extends K {
4922
+ let mt = class extends K {
4915
4923
  constructor() {
4916
4924
  super(...arguments), this.id = ye(), this.label = null, this.options = [], this.isOpen = !1, this.disabled = !1, this.includeSearch = !1, this.isMultiSelect = !1, this.allowUserInput = !1, this.maxIsReached = !1, this.customUserInput = null, this.searchPlaceholder = null, this.searchValue = null, this.maxLength = 0, this.userMessage = null, this._selectedOptions = 0, this._filteredOptions = [];
4917
4925
  }
@@ -5045,7 +5053,7 @@ let ut = class extends K {
5045
5053
  type="text"
5046
5054
  aria-label="Søk i listen"
5047
5055
  form=""
5048
- placeholder=${this.searchPlaceholder || bt.forms.search.placeholder}
5056
+ placeholder=${this.searchPlaceholder || kt.forms.search.placeholder}
5049
5057
  @input=${this.handleSearchInput}
5050
5058
  @keydown=${this.handleSearchKeydown}
5051
5059
  .value=${this.searchValue}
@@ -5209,54 +5217,54 @@ let ut = class extends K {
5209
5217
  ) : [];
5210
5218
  }
5211
5219
  };
5212
- vt([
5220
+ yt([
5213
5221
  o({ type: String })
5214
- ], ut.prototype, "id", 2);
5215
- vt([
5222
+ ], mt.prototype, "id", 2);
5223
+ yt([
5216
5224
  o({ type: String })
5217
- ], ut.prototype, "label", 2);
5218
- vt([
5225
+ ], mt.prototype, "label", 2);
5226
+ yt([
5219
5227
  o({ type: Array })
5220
- ], ut.prototype, "options", 2);
5221
- vt([
5228
+ ], mt.prototype, "options", 2);
5229
+ yt([
5222
5230
  o({ type: Boolean, reflect: !0 })
5223
- ], ut.prototype, "isOpen", 2);
5224
- vt([
5231
+ ], mt.prototype, "isOpen", 2);
5232
+ yt([
5225
5233
  o({ type: Boolean })
5226
- ], ut.prototype, "disabled", 2);
5227
- vt([
5234
+ ], mt.prototype, "disabled", 2);
5235
+ yt([
5228
5236
  o({ type: Boolean })
5229
- ], ut.prototype, "includeSearch", 2);
5230
- vt([
5237
+ ], mt.prototype, "includeSearch", 2);
5238
+ yt([
5231
5239
  o({ type: Boolean })
5232
- ], ut.prototype, "isMultiSelect", 2);
5233
- vt([
5240
+ ], mt.prototype, "isMultiSelect", 2);
5241
+ yt([
5234
5242
  o({ type: Boolean })
5235
- ], ut.prototype, "allowUserInput", 2);
5236
- vt([
5243
+ ], mt.prototype, "allowUserInput", 2);
5244
+ yt([
5237
5245
  o({ type: Boolean })
5238
- ], ut.prototype, "maxIsReached", 2);
5239
- vt([
5246
+ ], mt.prototype, "maxIsReached", 2);
5247
+ yt([
5240
5248
  o({ type: String })
5241
- ], ut.prototype, "customUserInput", 2);
5242
- vt([
5249
+ ], mt.prototype, "customUserInput", 2);
5250
+ yt([
5243
5251
  o({ type: String })
5244
- ], ut.prototype, "searchPlaceholder", 2);
5245
- vt([
5252
+ ], mt.prototype, "searchPlaceholder", 2);
5253
+ yt([
5246
5254
  o({ type: String })
5247
- ], ut.prototype, "searchValue", 2);
5248
- vt([
5255
+ ], mt.prototype, "searchValue", 2);
5256
+ yt([
5249
5257
  o({ type: Number })
5250
- ], ut.prototype, "maxLength", 2);
5251
- vt([
5258
+ ], mt.prototype, "maxLength", 2);
5259
+ yt([
5252
5260
  o({ type: String })
5253
- ], ut.prototype, "userMessage", 2);
5254
- vt([
5255
- R()
5256
- ], ut.prototype, "_filteredOptions", 2);
5257
- ut = vt([
5261
+ ], mt.prototype, "userMessage", 2);
5262
+ yt([
5263
+ L()
5264
+ ], mt.prototype, "_filteredOptions", 2);
5265
+ mt = yt([
5258
5266
  V("pkt-listbox")
5259
- ], ut);
5267
+ ], mt);
5260
5268
  const ll = { displayValueAs: { default: "label" } }, hl = {
5261
5269
  props: ll
5262
5270
  };
@@ -5636,12 +5644,12 @@ let J = class extends M {
5636
5644
  var e, s;
5637
5645
  if (this.disabled) return;
5638
5646
  this.touched = !0, this._userInfoMessage = "", this._addValueText = null;
5639
- const a = ((e = this.findValueInOptions(t)) == null ? void 0 : e.value) || null, n = this._value.includes(t || a || ""), r = !!a, l = ((s = this._options.find((C) => C.value === t)) == null ? void 0 : s.disabled) || !1, d = !(t != null && t.trim()), p = !this.multiple, f = this.multiple, g = this.isMaxItemsReached();
5647
+ const a = ((e = this.findValueInOptions(t)) == null ? void 0 : e.value) || null, n = this._value.includes(t || a || ""), r = !!a, l = ((s = this._options.find((C) => C.value === t)) == null ? void 0 : s.disabled) || !1, d = !(t != null && t.trim()), p = !this.multiple, g = this.multiple, f = this.isMaxItemsReached();
5640
5648
  let k = !1, b = !0, y = "", w = "";
5641
- l || (!r && this.allowUserInput && !d ? (this.addNewUserValue(t), y = "Ny verdi lagt til", k = !f) : !r && !this.allowUserInput ? (p && this._value[0] && this.removeValue(this._value[0]), b = !1, k = !0, y = "Ingen treff i søket") : n ? (this.removeValue(a), k = !0) : d && p ? (this.removeAllSelected(), k = !0) : p ? (this._value[0] && this.removeSelected(this._value[0]), this.setSelected(a), k = !1, this.inputRef.value && this.inputRef.value.type !== "hidden" && (this.inputRef.value.value = "", this.inputRef.value.blur())) : f && !g ? (this.setSelected(a), k = !0) : f && g ? (this._userInfoMessage = "Maks antall valg nådd", b = !1, w = t) : (p && this.removeAllSelected(), this._userInfoMessage = "Ingen gyldig verdi valgt", b = !1, k = !0, w = t), this._isOptionsOpen = k, k || window.setTimeout(() => {
5649
+ l || (!r && this.allowUserInput && !d ? (this.addNewUserValue(t), y = "Ny verdi lagt til", k = !g) : !r && !this.allowUserInput ? (p && this._value[0] && this.removeValue(this._value[0]), b = !1, k = !0, y = "Ingen treff i søket") : n ? (this.removeValue(a), k = !0) : d && p ? (this.removeAllSelected(), k = !0) : p ? (this._value[0] && this.removeSelected(this._value[0]), this.setSelected(a), k = !1, this.inputRef.value && this.inputRef.value.type !== "hidden" && (this.inputRef.value.value = "", this.inputRef.value.blur())) : g && !f ? (this.setSelected(a), k = !0) : g && f ? (this._userInfoMessage = "Maks antall valg nådd", b = !1, w = t) : (p && this.removeAllSelected(), this._userInfoMessage = "Ingen gyldig verdi valgt", b = !1, k = !0, w = t), this._isOptionsOpen = k, k || window.setTimeout(() => {
5642
5650
  var C;
5643
5651
  (C = this.focusRef.value) == null || C.focus();
5644
- }, 0), this._userInfoMessage = y, this._search = w || "", this.resetComboboxInput(b), f && this.isMaxItemsReached());
5652
+ }, 0), this._userInfoMessage = y, this._search = w || "", this.resetComboboxInput(b), g && this.isMaxItemsReached());
5645
5653
  }
5646
5654
  setSelected(t) {
5647
5655
  if (!this._value.includes(t)) {
@@ -5742,31 +5750,31 @@ it([
5742
5750
  o({ type: String })
5743
5751
  ], J.prototype, "tagPlacement", 2);
5744
5752
  it([
5745
- R()
5753
+ L()
5746
5754
  ], J.prototype, "_options", 2);
5747
5755
  it([
5748
- R()
5756
+ L()
5749
5757
  ], J.prototype, "_isOptionsOpen", 2);
5750
5758
  it([
5751
- R()
5759
+ L()
5752
5760
  ], J.prototype, "_value", 2);
5753
5761
  it([
5754
- R()
5762
+ L()
5755
5763
  ], J.prototype, "_userInfoMessage", 2);
5756
5764
  it([
5757
- R()
5765
+ L()
5758
5766
  ], J.prototype, "_addValueText", 2);
5759
5767
  it([
5760
- R()
5768
+ L()
5761
5769
  ], J.prototype, "_maxIsReached", 2);
5762
5770
  it([
5763
- R()
5771
+ L()
5764
5772
  ], J.prototype, "_search", 2);
5765
5773
  it([
5766
- R()
5774
+ L()
5767
5775
  ], J.prototype, "_inputFocus", 2);
5768
5776
  it([
5769
- R()
5777
+ L()
5770
5778
  ], J.prototype, "_editingSingleValue", 2);
5771
5779
  J = it([
5772
5780
  V("pkt-combobox")
@@ -5842,7 +5850,7 @@ function fl() {
5842
5850
  s.href = "https://cdn.web.oslo.kommune.no/cb/cb-v1.1.0.css", s.type = "text/css", s.rel = "stylesheet", s.id = "oslo-consent-styles", document.head.appendChild(s);
5843
5851
  }), Ss);
5844
5852
  }
5845
- let zt = class extends K {
5853
+ let qt = class extends K {
5846
5854
  constructor() {
5847
5855
  super(), this.devMode = !1, this.hotjarId = null, this.googleAnalyticsId = null, this.cookieDomain = null, this.cookieSecure = null, this.cookieExpiryDays = null, this.triggerType = "button", this.triggerText = null, this.i18nLanguage = "nb";
5848
5856
  }
@@ -5910,40 +5918,40 @@ let zt = class extends K {
5910
5918
  };
5911
5919
  re([
5912
5920
  o({ type: Boolean })
5913
- ], zt.prototype, "devMode", 2);
5921
+ ], qt.prototype, "devMode", 2);
5914
5922
  re([
5915
5923
  o({ type: String })
5916
- ], zt.prototype, "hotjarId", 2);
5924
+ ], qt.prototype, "hotjarId", 2);
5917
5925
  re([
5918
5926
  o({ type: String })
5919
- ], zt.prototype, "googleAnalyticsId", 2);
5927
+ ], qt.prototype, "googleAnalyticsId", 2);
5920
5928
  re([
5921
5929
  o({ type: String })
5922
- ], zt.prototype, "cookieDomain", 2);
5930
+ ], qt.prototype, "cookieDomain", 2);
5923
5931
  re([
5924
5932
  o({ type: String })
5925
- ], zt.prototype, "cookieSecure", 2);
5933
+ ], qt.prototype, "cookieSecure", 2);
5926
5934
  re([
5927
5935
  o({ type: String })
5928
- ], zt.prototype, "cookieExpiryDays", 2);
5936
+ ], qt.prototype, "cookieExpiryDays", 2);
5929
5937
  re([
5930
5938
  o({ type: String })
5931
- ], zt.prototype, "triggerType", 2);
5939
+ ], qt.prototype, "triggerType", 2);
5932
5940
  re([
5933
5941
  o({ type: String })
5934
- ], zt.prototype, "triggerText", 2);
5942
+ ], qt.prototype, "triggerText", 2);
5935
5943
  re([
5936
5944
  o({ type: String })
5937
- ], zt.prototype, "i18nLanguage", 2);
5938
- zt = re([
5945
+ ], qt.prototype, "i18nLanguage", 2);
5946
+ qt = re([
5939
5947
  V("pkt-consent")
5940
- ], zt);
5941
- var gl = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, kt = (i, t, e, s) => {
5948
+ ], qt);
5949
+ var gl = Object.defineProperty, vl = Object.getOwnPropertyDescriptor, $t = (i, t, e, s) => {
5942
5950
  for (var a = s > 1 ? void 0 : s ? vl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
5943
5951
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
5944
5952
  return s && a && gl(t, e, a), a;
5945
5953
  };
5946
- let ft = class extends M {
5954
+ let vt = class extends M {
5947
5955
  constructor() {
5948
5956
  super(...arguments), this.inputRef = N(), this.value = "", this.checkHelptext = null, this.defaultChecked = !1, this.hasTile = !1, this.isSwitch = !1, this.labelPosition = "right", this.hideLabel = !1, this.checked = null, this.type = "checkbox", this.tagText = null, this.optionalTag = !1, this.optionalText = "Valgfritt", this.requiredTag = !1, this.requiredText = "Må fylles ut";
5949
5957
  }
@@ -6028,52 +6036,52 @@ let ft = class extends M {
6028
6036
  t.stopImmediatePropagation(), this.touched = !0, this.inputRef.value && (this.checked = this.inputRef.value.matches(":checked"), this.valueChecked(this.checked));
6029
6037
  }
6030
6038
  };
6031
- kt([
6039
+ $t([
6032
6040
  o({ type: String, reflect: !0 })
6033
- ], ft.prototype, "value", 2);
6034
- kt([
6041
+ ], vt.prototype, "value", 2);
6042
+ $t([
6035
6043
  o({ type: String })
6036
- ], ft.prototype, "checkHelptext", 2);
6037
- kt([
6044
+ ], vt.prototype, "checkHelptext", 2);
6045
+ $t([
6038
6046
  o({ type: Boolean })
6039
- ], ft.prototype, "defaultChecked", 2);
6040
- kt([
6047
+ ], vt.prototype, "defaultChecked", 2);
6048
+ $t([
6041
6049
  o({ type: Boolean })
6042
- ], ft.prototype, "hasTile", 2);
6043
- kt([
6050
+ ], vt.prototype, "hasTile", 2);
6051
+ $t([
6044
6052
  o({ type: Boolean })
6045
- ], ft.prototype, "isSwitch", 2);
6046
- kt([
6053
+ ], vt.prototype, "isSwitch", 2);
6054
+ $t([
6047
6055
  o({ type: String })
6048
- ], ft.prototype, "labelPosition", 2);
6049
- kt([
6056
+ ], vt.prototype, "labelPosition", 2);
6057
+ $t([
6050
6058
  o({ type: Boolean })
6051
- ], ft.prototype, "hideLabel", 2);
6052
- kt([
6059
+ ], vt.prototype, "hideLabel", 2);
6060
+ $t([
6053
6061
  o({ type: Boolean, reflect: !0 })
6054
- ], ft.prototype, "checked", 2);
6055
- kt([
6062
+ ], vt.prototype, "checked", 2);
6063
+ $t([
6056
6064
  o({ type: String, reflect: !0 })
6057
- ], ft.prototype, "type", 2);
6058
- kt([
6065
+ ], vt.prototype, "type", 2);
6066
+ $t([
6059
6067
  o({ type: String })
6060
- ], ft.prototype, "tagText", 2);
6061
- kt([
6068
+ ], vt.prototype, "tagText", 2);
6069
+ $t([
6062
6070
  o({ type: Boolean })
6063
- ], ft.prototype, "optionalTag", 2);
6064
- kt([
6071
+ ], vt.prototype, "optionalTag", 2);
6072
+ $t([
6065
6073
  o({ type: String })
6066
- ], ft.prototype, "optionalText", 2);
6067
- kt([
6074
+ ], vt.prototype, "optionalText", 2);
6075
+ $t([
6068
6076
  o({ type: Boolean })
6069
- ], ft.prototype, "requiredTag", 2);
6070
- kt([
6077
+ ], vt.prototype, "requiredTag", 2);
6078
+ $t([
6071
6079
  o({ type: String })
6072
- ], ft.prototype, "requiredText", 2);
6073
- ft = kt([
6080
+ ], vt.prototype, "requiredText", 2);
6081
+ vt = $t([
6074
6082
  V("pkt-checkbox")
6075
- ], ft);
6076
- const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6083
+ ], vt);
6084
+ const bl = (i) => new Promise((t) => setTimeout(t, i)), Le = {
6077
6085
  /**
6078
6086
  * Detects if the current device is iOS (iPhone, iPad, iPod)
6079
6087
  * Handles modern iPad Safari which uses desktop user agent since iOS 13
@@ -6131,7 +6139,7 @@ const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6131
6139
  * Mobile Safari does not play well with type="date" amd custom datepickers
6132
6140
  */
6133
6141
  getInputType() {
6134
- return Be.isIOS() ? "text" : "date";
6142
+ return Le.isIOS() ? "text" : "date";
6135
6143
  }
6136
6144
  }, Pi = {
6137
6145
  /**
@@ -6246,7 +6254,7 @@ const bl = (i) => new Promise((t) => setTimeout(t, i)), Be = {
6246
6254
  l && t[0] !== r.value && t[1] && (s(), (n = e == null ? void 0 : e.value) == null || n.handleDateSelect(l));
6247
6255
  } else t[0] && s();
6248
6256
  }
6249
- }, Ie = {
6257
+ }, Me = {
6250
6258
  /**
6251
6259
  * Handles common keyboard interactions for datepicker inputs
6252
6260
  */
@@ -6316,12 +6324,12 @@ si = Bi([
6316
6324
  const _l = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, $i = {
6317
6325
  props: _l
6318
6326
  };
6319
- var wl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6327
+ var wl = Object.defineProperty, xl = Object.getOwnPropertyDescriptor, Bt = (i, t, e, s) => {
6320
6328
  for (var a = s > 1 ? void 0 : s ? xl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6321
6329
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6322
6330
  return s && a && wl(t, e, a), a;
6323
6331
  };
6324
- let wt = class extends K {
6332
+ let xt = class extends K {
6325
6333
  constructor() {
6326
6334
  super(...arguments), this.open = !1, this.multiple = !1, this.range = !1, this.weeknumbers = !1, this.withcontrols = !1, this.maxMultiple = null, this.selected = [], this.earliest = null, this.latest = null, this.excludedates = [], this.excludeweekdays = [], this.currentmonth = null, this.popupRef = N(), this.calendarRef = N(), this.handleDocumentClick = (t) => {
6327
6335
  if (!this.open) return;
@@ -6399,45 +6407,45 @@ let wt = class extends K {
6399
6407
  `;
6400
6408
  }
6401
6409
  };
6402
- Vt([
6410
+ Bt([
6403
6411
  o({ type: Boolean, reflect: !0 })
6404
- ], wt.prototype, "open", 2);
6405
- Vt([
6412
+ ], xt.prototype, "open", 2);
6413
+ Bt([
6406
6414
  o({ type: Boolean })
6407
- ], wt.prototype, "multiple", 2);
6408
- Vt([
6415
+ ], xt.prototype, "multiple", 2);
6416
+ Bt([
6409
6417
  o({ type: Boolean })
6410
- ], wt.prototype, "range", 2);
6411
- Vt([
6418
+ ], xt.prototype, "range", 2);
6419
+ Bt([
6412
6420
  o({ type: Boolean })
6413
- ], wt.prototype, "weeknumbers", 2);
6414
- Vt([
6421
+ ], xt.prototype, "weeknumbers", 2);
6422
+ Bt([
6415
6423
  o({ type: Boolean })
6416
- ], wt.prototype, "withcontrols", 2);
6417
- Vt([
6424
+ ], xt.prototype, "withcontrols", 2);
6425
+ Bt([
6418
6426
  o({ type: Number })
6419
- ], wt.prototype, "maxMultiple", 2);
6420
- Vt([
6427
+ ], xt.prototype, "maxMultiple", 2);
6428
+ Bt([
6421
6429
  o({ type: Array })
6422
- ], wt.prototype, "selected", 2);
6423
- Vt([
6430
+ ], xt.prototype, "selected", 2);
6431
+ Bt([
6424
6432
  o({ type: String })
6425
- ], wt.prototype, "earliest", 2);
6426
- Vt([
6433
+ ], xt.prototype, "earliest", 2);
6434
+ Bt([
6427
6435
  o({ type: String })
6428
- ], wt.prototype, "latest", 2);
6429
- Vt([
6436
+ ], xt.prototype, "latest", 2);
6437
+ Bt([
6430
6438
  o({ type: Array })
6431
- ], wt.prototype, "excludedates", 2);
6432
- Vt([
6439
+ ], xt.prototype, "excludedates", 2);
6440
+ Bt([
6433
6441
  o({ type: Array })
6434
- ], wt.prototype, "excludeweekdays", 2);
6435
- Vt([
6442
+ ], xt.prototype, "excludeweekdays", 2);
6443
+ Bt([
6436
6444
  o({ type: String })
6437
- ], wt.prototype, "currentmonth", 2);
6438
- wt = Vt([
6445
+ ], xt.prototype, "currentmonth", 2);
6446
+ xt = Bt([
6439
6447
  V("pkt-datepicker-popup")
6440
- ], wt);
6448
+ ], xt);
6441
6449
  var Sl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Wt = (i, t, e, s) => {
6442
6450
  for (var a = s > 1 ? void 0 : s ? Cl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6443
6451
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
@@ -6532,7 +6540,7 @@ let Dt = class extends K {
6532
6540
  t.preventDefault(), this.dispatchToggleCalendar(t);
6533
6541
  }}
6534
6542
  ?disabled=${this.disabled}
6535
- @keydown=${(t) => Ie.handleInputKeydown(
6543
+ @keydown=${(t) => Me.handleInputKeydown(
6536
6544
  t,
6537
6545
  (e) => this.dispatchToggleCalendar(e),
6538
6546
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -6549,7 +6557,7 @@ let Dt = class extends K {
6549
6557
  this.dispatchInput(t), t.stopImmediatePropagation();
6550
6558
  }}
6551
6559
  @focus=${() => {
6552
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6560
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6553
6561
  }}
6554
6562
  @blur=${(t) => {
6555
6563
  this.dispatchBlur(t), this.dispatchManageValidity(t.target), this.dispatchEvent(
@@ -6569,7 +6577,7 @@ let Dt = class extends K {
6569
6577
  class="${O(Mi.getButtonClasses())}"
6570
6578
  type="button"
6571
6579
  @click=${(t) => this.dispatchToggleCalendar(t)}
6572
- @keydown=${(t) => Ie.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
6580
+ @keydown=${(t) => Me.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
6573
6581
  ?disabled=${this.disabled}
6574
6582
  ${E(this.btnRef)}
6575
6583
  >
@@ -6616,12 +6624,12 @@ Wt([
6616
6624
  Dt = Wt([
6617
6625
  V("pkt-datepicker-single")
6618
6626
  ], Dt);
6619
- var Tl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
6627
+ var Tl = Object.defineProperty, Nl = Object.getOwnPropertyDescriptor, Vt = (i, t, e, s) => {
6620
6628
  for (var a = s > 1 ? void 0 : s ? Nl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6621
6629
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6622
6630
  return s && a && Tl(t, e, a), a;
6623
6631
  };
6624
- let xt = class extends K {
6632
+ let St = class extends K {
6625
6633
  constructor() {
6626
6634
  super(...arguments), this.value = [], this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.showRangeLabels = !1, this.inputClasses = {}, this.strings = { generic: { from: "Fra", to: "Til" } }, this.inputRef = N(), this.inputRefTo = N(), this.btnRef = N();
6627
6635
  }
@@ -6714,7 +6722,7 @@ let xt = class extends K {
6714
6722
  @touchend=${(e) => {
6715
6723
  e.preventDefault(), this.dispatchToggleCalendar(e);
6716
6724
  }}
6717
- @keydown=${(e) => Ie.handleInputKeydown(
6725
+ @keydown=${(e) => Me.handleInputKeydown(
6718
6726
  e,
6719
6727
  (s) => this.dispatchToggleCalendar(s),
6720
6728
  () => Pi.submitFormOrFallback(
@@ -6737,7 +6745,7 @@ let xt = class extends K {
6737
6745
  this.dispatchInput(e), e.stopImmediatePropagation();
6738
6746
  }}
6739
6747
  @focus=${() => {
6740
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6748
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6741
6749
  }}
6742
6750
  @blur=${(e) => {
6743
6751
  this.dispatchEvent(
@@ -6778,7 +6786,7 @@ let xt = class extends K {
6778
6786
  @touchend=${(e) => {
6779
6787
  e.preventDefault(), this.dispatchToggleCalendar(e);
6780
6788
  }}
6781
- @keydown=${(e) => Ie.handleInputKeydown(
6789
+ @keydown=${(e) => Me.handleInputKeydown(
6782
6790
  e,
6783
6791
  (s) => this.dispatchToggleCalendar(s),
6784
6792
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -6795,7 +6803,7 @@ let xt = class extends K {
6795
6803
  this.dispatchInput(e), e.stopImmediatePropagation();
6796
6804
  }}
6797
6805
  @focus=${() => {
6798
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6806
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6799
6807
  }}
6800
6808
  @blur=${(e) => {
6801
6809
  this.dispatchBlur(e), e.target.value && (this.dispatchManageValidity(e.target), this.dispatchEvent(
@@ -6821,7 +6829,7 @@ let xt = class extends K {
6821
6829
  class="${O(Mi.getButtonClasses())}"
6822
6830
  type="button"
6823
6831
  @click=${(e) => this.dispatchToggleCalendar(e)}
6824
- @keydown=${(e) => Ie.handleButtonKeydown(e, (s) => this.dispatchToggleCalendar(s))}
6832
+ @keydown=${(e) => Me.handleButtonKeydown(e, (s) => this.dispatchToggleCalendar(s))}
6825
6833
  ?disabled=${this.disabled}
6826
6834
  ${E(this.btnRef)}
6827
6835
  >
@@ -6832,51 +6840,51 @@ let xt = class extends K {
6832
6840
  `;
6833
6841
  }
6834
6842
  };
6835
- jt([
6843
+ Vt([
6836
6844
  o({ type: Array })
6837
- ], xt.prototype, "value", 2);
6838
- jt([
6845
+ ], St.prototype, "value", 2);
6846
+ Vt([
6839
6847
  o({ type: String })
6840
- ], xt.prototype, "inputType", 2);
6841
- jt([
6848
+ ], St.prototype, "inputType", 2);
6849
+ Vt([
6842
6850
  o({ type: String })
6843
- ], xt.prototype, "id", 2);
6844
- jt([
6851
+ ], St.prototype, "id", 2);
6852
+ Vt([
6845
6853
  o({ type: String })
6846
- ], xt.prototype, "min", 2);
6847
- jt([
6854
+ ], St.prototype, "min", 2);
6855
+ Vt([
6848
6856
  o({ type: String })
6849
- ], xt.prototype, "max", 2);
6850
- jt([
6857
+ ], St.prototype, "max", 2);
6858
+ Vt([
6851
6859
  o({ type: String })
6852
- ], xt.prototype, "placeholder", 2);
6853
- jt([
6860
+ ], St.prototype, "placeholder", 2);
6861
+ Vt([
6854
6862
  o({ type: Boolean })
6855
- ], xt.prototype, "readonly", 2);
6856
- jt([
6863
+ ], St.prototype, "readonly", 2);
6864
+ Vt([
6857
6865
  o({ type: Boolean })
6858
- ], xt.prototype, "disabled", 2);
6859
- jt([
6866
+ ], St.prototype, "disabled", 2);
6867
+ Vt([
6860
6868
  o({ type: Boolean })
6861
- ], xt.prototype, "showRangeLabels", 2);
6862
- jt([
6869
+ ], St.prototype, "showRangeLabels", 2);
6870
+ Vt([
6863
6871
  o({ type: Object })
6864
- ], xt.prototype, "inputClasses", 2);
6865
- jt([
6872
+ ], St.prototype, "inputClasses", 2);
6873
+ Vt([
6866
6874
  o({ type: Object })
6867
- ], xt.prototype, "internals", 2);
6868
- jt([
6875
+ ], St.prototype, "internals", 2);
6876
+ Vt([
6869
6877
  o({ type: Object })
6870
- ], xt.prototype, "strings", 2);
6871
- xt = jt([
6878
+ ], St.prototype, "strings", 2);
6879
+ St = Vt([
6872
6880
  V("pkt-datepicker-range")
6873
- ], xt);
6874
- var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Ft = (i, t, e, s) => {
6881
+ ], St);
6882
+ var Al = Object.defineProperty, El = Object.getOwnPropertyDescriptor, jt = (i, t, e, s) => {
6875
6883
  for (var a = s > 1 ? void 0 : s ? El(t, e) : t, n = i.length - 1, r; n >= 0; n--)
6876
6884
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
6877
6885
  return s && a && Al(t, e, a), a;
6878
6886
  };
6879
- let St = class extends K {
6887
+ let Ct = class extends K {
6880
6888
  constructor() {
6881
6889
  super(...arguments), this.value = [], this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.inputClasses = {}, this.strings = { calendar: { buttonAltText: "Åpne kalender" } }, this.inputRef = N(), this.btnRef = N();
6882
6890
  }
@@ -6973,9 +6981,9 @@ let St = class extends K {
6973
6981
  this.dispatchInput(t), t.stopImmediatePropagation();
6974
6982
  }}
6975
6983
  @focus=${() => {
6976
- this.dispatchFocus(), Be.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6984
+ this.dispatchFocus(), Le.isIOS() && this.dispatchToggleCalendar(new Event("focus"));
6977
6985
  }}
6978
- @keydown=${(t) => Ie.handleInputKeydown(
6986
+ @keydown=${(t) => Me.handleInputKeydown(
6979
6987
  t,
6980
6988
  (e) => this.dispatchToggleCalendar(e),
6981
6989
  () => Pi.submitFormOrFallback(this.internals, () => {
@@ -6995,7 +7003,7 @@ let St = class extends K {
6995
7003
  class="${O(Mi.getButtonClasses())}"
6996
7004
  type="button"
6997
7005
  @click=${(t) => this.dispatchToggleCalendar(t)}
6998
- @keydown=${(t) => Ie.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
7006
+ @keydown=${(t) => Me.handleButtonKeydown(t, (e) => this.dispatchToggleCalendar(e))}
6999
7007
  ?disabled=${this.disabled}
7000
7008
  ${E(this.btnRef)}
7001
7009
  >
@@ -7006,45 +7014,45 @@ let St = class extends K {
7006
7014
  `;
7007
7015
  }
7008
7016
  };
7009
- Ft([
7017
+ jt([
7010
7018
  o({ type: Array })
7011
- ], St.prototype, "value", 2);
7012
- Ft([
7019
+ ], Ct.prototype, "value", 2);
7020
+ jt([
7013
7021
  o({ type: String })
7014
- ], St.prototype, "inputType", 2);
7015
- Ft([
7022
+ ], Ct.prototype, "inputType", 2);
7023
+ jt([
7016
7024
  o({ type: String })
7017
- ], St.prototype, "id", 2);
7018
- Ft([
7025
+ ], Ct.prototype, "id", 2);
7026
+ jt([
7019
7027
  o({ type: String })
7020
- ], St.prototype, "min", 2);
7021
- Ft([
7028
+ ], Ct.prototype, "min", 2);
7029
+ jt([
7022
7030
  o({ type: String })
7023
- ], St.prototype, "max", 2);
7024
- Ft([
7031
+ ], Ct.prototype, "max", 2);
7032
+ jt([
7025
7033
  o({ type: String })
7026
- ], St.prototype, "placeholder", 2);
7027
- Ft([
7034
+ ], Ct.prototype, "placeholder", 2);
7035
+ jt([
7028
7036
  o({ type: Boolean })
7029
- ], St.prototype, "readonly", 2);
7030
- Ft([
7037
+ ], Ct.prototype, "readonly", 2);
7038
+ jt([
7031
7039
  o({ type: Boolean })
7032
- ], St.prototype, "disabled", 2);
7033
- Ft([
7040
+ ], Ct.prototype, "disabled", 2);
7041
+ jt([
7034
7042
  o({ type: Number })
7035
- ], St.prototype, "maxlength", 2);
7036
- Ft([
7043
+ ], Ct.prototype, "maxlength", 2);
7044
+ jt([
7037
7045
  o({ type: Object })
7038
- ], St.prototype, "inputClasses", 2);
7039
- Ft([
7046
+ ], Ct.prototype, "inputClasses", 2);
7047
+ jt([
7040
7048
  o({ type: Object })
7041
- ], St.prototype, "internals", 2);
7042
- Ft([
7049
+ ], Ct.prototype, "internals", 2);
7050
+ jt([
7043
7051
  o({ type: Object })
7044
- ], St.prototype, "strings", 2);
7045
- St = Ft([
7052
+ ], Ct.prototype, "strings", 2);
7053
+ Ct = jt([
7046
7054
  V("pkt-datepicker-multiple")
7047
- ], St);
7055
+ ], Ct);
7048
7056
  var Ol = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, ht = (i, t, e, s) => {
7049
7057
  for (var a = s > 1 ? void 0 : s ? Pl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7050
7058
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
@@ -7347,10 +7355,10 @@ let tt = class extends M {
7347
7355
  var i;
7348
7356
  const t = this.datepickerPopupRef.value;
7349
7357
  if (this.calendarOpen = !0, t && typeof t.show == "function") {
7350
- t.show(), Be.isIOS() && t.focusOnCurrentDate();
7358
+ t.show(), Le.isIOS() && t.focusOnCurrentDate();
7351
7359
  return;
7352
7360
  }
7353
- await bl(20), this.handleCalendarPosition(), Be.isIOS() && ((i = this.calRef.value) == null || i.focusOnCurrentDate());
7361
+ await bl(20), this.handleCalendarPosition(), Le.isIOS() && ((i = this.calRef.value) == null || i.focusOnCurrentDate());
7354
7362
  }
7355
7363
  hideCalendar() {
7356
7364
  const i = this.datepickerPopupRef.value;
@@ -7422,7 +7430,7 @@ ht([
7422
7430
  o({ type: String })
7423
7431
  ], tt.prototype, "timezone", 2);
7424
7432
  ht([
7425
- R()
7433
+ L()
7426
7434
  ], tt.prototype, "inputClasses", 2);
7427
7435
  tt = ht([
7428
7436
  V("pkt-datepicker")
@@ -7435,7 +7443,7 @@ var Il = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, di = (i, t
7435
7443
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7436
7444
  return s && a && Il(t, e, a), a;
7437
7445
  };
7438
- let we = class extends K {
7446
+ let Be = class extends K {
7439
7447
  constructor() {
7440
7448
  super(), this.defaultSlot = N(), this.href = xa.props.href.default, this.iconName = void 0, this.iconPosition = void 0, this.external = !1, this.target = xa.props.target.default, this.slotController = new rt(this, this.defaultSlot);
7441
7449
  }
@@ -7457,28 +7465,28 @@ let we = class extends K {
7457
7465
  };
7458
7466
  di([
7459
7467
  o({ type: String, reflect: !0 })
7460
- ], we.prototype, "href", 2);
7468
+ ], Be.prototype, "href", 2);
7461
7469
  di([
7462
7470
  o({ type: String, reflect: !0 })
7463
- ], we.prototype, "iconName", 2);
7471
+ ], Be.prototype, "iconName", 2);
7464
7472
  di([
7465
7473
  o({ type: String, reflect: !0 })
7466
- ], we.prototype, "iconPosition", 2);
7474
+ ], Be.prototype, "iconPosition", 2);
7467
7475
  di([
7468
7476
  o({ type: Boolean, reflect: !0 })
7469
- ], we.prototype, "external", 2);
7477
+ ], Be.prototype, "external", 2);
7470
7478
  di([
7471
7479
  o({ type: String, reflect: !0 })
7472
- ], we.prototype, "target", 2);
7473
- we = di([
7480
+ ], Be.prototype, "target", 2);
7481
+ Be = di([
7474
7482
  V("pkt-link")
7475
- ], we);
7483
+ ], Be);
7476
7484
  var Rl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, qe = (i, t, e, s) => {
7477
7485
  for (var a = s > 1 ? void 0 : s ? Ll(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7478
7486
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7479
7487
  return s && a && Rl(t, e, a), a;
7480
7488
  };
7481
- let xe = class extends K {
7489
+ let we = class extends K {
7482
7490
  constructor() {
7483
7491
  super(), this.defaultSlot = N(), this.title = "", this.href = "#", this.iconName = "", this.external = !1, this.openInNewTab = !1, this.skin = "normal", this.slotController = new rt(this, this.defaultSlot);
7484
7492
  }
@@ -7501,31 +7509,31 @@ let xe = class extends K {
7501
7509
  };
7502
7510
  qe([
7503
7511
  o({ type: String, reflect: !0 })
7504
- ], xe.prototype, "title", 2);
7512
+ ], we.prototype, "title", 2);
7505
7513
  qe([
7506
7514
  o({ type: String, reflect: !0 })
7507
- ], xe.prototype, "href", 2);
7515
+ ], we.prototype, "href", 2);
7508
7516
  qe([
7509
7517
  o({ type: String, reflect: !0 })
7510
- ], xe.prototype, "iconName", 2);
7518
+ ], we.prototype, "iconName", 2);
7511
7519
  qe([
7512
7520
  o({ type: Boolean, reflect: !0 })
7513
- ], xe.prototype, "external", 2);
7521
+ ], we.prototype, "external", 2);
7514
7522
  qe([
7515
7523
  o({ type: Boolean, reflect: !0 })
7516
- ], xe.prototype, "openInNewTab", 2);
7524
+ ], we.prototype, "openInNewTab", 2);
7517
7525
  qe([
7518
7526
  o({ type: String, reflect: !0 })
7519
- ], xe.prototype, "skin", 2);
7520
- xe = qe([
7527
+ ], we.prototype, "skin", 2);
7528
+ we = qe([
7521
7529
  V("pkt-linkcard")
7522
- ], xe);
7530
+ ], we);
7523
7531
  var Bl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, ue = (i, t, e, s) => {
7524
7532
  for (var a = s > 1 ? void 0 : s ? Vl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7525
7533
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7526
7534
  return s && a && Bl(t, e, a), a;
7527
7535
  };
7528
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
7536
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
7529
7537
  let Zt = class extends K {
7530
7538
  constructor() {
7531
7539
  super(), this.defaultSlot = N(), this.delay = 0, this.inline = !1, this.isLoading = !0, this.message = null, this.size = "medium", this.variant = "shapes", this.loadingAnimationPath = window.pktAnimationPath, this._shouldDisplayLoader = !1, this.slotController = new rt(this, this.defaultSlot);
@@ -7600,7 +7608,7 @@ ue([
7600
7608
  o({ type: String })
7601
7609
  ], Zt.prototype, "loadingAnimationPath", 2);
7602
7610
  ue([
7603
- R()
7611
+ L()
7604
7612
  ], Zt.prototype, "_shouldDisplayLoader", 2);
7605
7613
  Zt = ue([
7606
7614
  V("pkt-loader")
@@ -7660,7 +7668,7 @@ ci([
7660
7668
  o({ type: String, reflect: !0 })
7661
7669
  ], Ve.prototype, "skin", 2);
7662
7670
  ci([
7663
- R()
7671
+ L()
7664
7672
  ], Ve.prototype, "_isClosed", 2);
7665
7673
  Ve = ci([
7666
7674
  V("pkt-messagebox")
@@ -7805,7 +7813,7 @@ Jt([
7805
7813
  o({ type: Boolean })
7806
7814
  ], Rt.prototype, "transparentBackdrop", 2);
7807
7815
  Jt([
7808
- R()
7816
+ L()
7809
7817
  ], Rt.prototype, "_isOpen", 2);
7810
7818
  Rt = Jt([
7811
7819
  V("pkt-modal")
@@ -7838,7 +7846,7 @@ const en = "important", Wl = " !" + en, Kl = Fe(class extends li {
7838
7846
  s.includes("-") || n ? e.setProperty(s, n ? a.slice(0, -11) : a, n ? en : "") : e[s] = a;
7839
7847
  }
7840
7848
  }
7841
- return _t;
7849
+ return wt;
7842
7850
  }
7843
7851
  });
7844
7852
  var Gl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, dt = (i, t, e, s) => {
@@ -7946,26 +7954,26 @@ dt([
7946
7954
  o({ type: Number })
7947
7955
  ], et.prototype, "valueMin", 2);
7948
7956
  dt([
7949
- R()
7957
+ L()
7950
7958
  ], et.prototype, "labelWidth", 2);
7951
7959
  dt([
7952
- R()
7960
+ L()
7953
7961
  ], et.prototype, "progressbarId", 2);
7954
7962
  dt([
7955
- R()
7963
+ L()
7956
7964
  ], et.prototype, "computedAriaLabelledby", 2);
7957
7965
  dt([
7958
- R()
7966
+ L()
7959
7967
  ], et.prototype, "computedAriaValueText", 2);
7960
7968
  et = dt([
7961
7969
  V("pkt-progressbar")
7962
7970
  ], et);
7963
- var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Ut = (i, t, e, s) => {
7971
+ var Zl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, Ft = (i, t, e, s) => {
7964
7972
  for (var a = s > 1 ? void 0 : s ? Xl(t, e) : t, n = i.length - 1, r; n >= 0; n--)
7965
7973
  (r = i[n]) && (a = (s ? r(t, e, a) : r(a)) || a);
7966
7974
  return s && a && Zl(t, e, a), a;
7967
7975
  };
7968
- let Ct = class extends M {
7976
+ let Tt = class extends M {
7969
7977
  constructor() {
7970
7978
  super(...arguments), this.inputRef = N(), this.value = "", this.checkHelptext = null, this.defaultChecked = !1, this.hasTile = !1, this.checked = null, this.type = "radio", this.tagText = null, this.optionalTag = !1, this.optionalText = "Valgfritt", this.requiredTag = !1, this.requiredText = "Må fylles ut", this._checked = !1;
7971
7979
  }
@@ -8024,45 +8032,45 @@ let Ct = class extends M {
8024
8032
  i && i.preventDefault(), i && i.stopImmediatePropagation(), this.touched = !0, this.inputRef.value && (this._checked = this.inputRef.value.matches(":checked"), this.valueChecked(this._checked));
8025
8033
  }
8026
8034
  };
8027
- Ut([
8035
+ Ft([
8028
8036
  o({ type: String, reflect: !0 })
8029
- ], Ct.prototype, "value", 2);
8030
- Ut([
8037
+ ], Tt.prototype, "value", 2);
8038
+ Ft([
8031
8039
  o({ type: String })
8032
- ], Ct.prototype, "checkHelptext", 2);
8033
- Ut([
8040
+ ], Tt.prototype, "checkHelptext", 2);
8041
+ Ft([
8034
8042
  o({ type: Boolean })
8035
- ], Ct.prototype, "defaultChecked", 2);
8036
- Ut([
8043
+ ], Tt.prototype, "defaultChecked", 2);
8044
+ Ft([
8037
8045
  o({ type: Boolean })
8038
- ], Ct.prototype, "hasTile", 2);
8039
- Ut([
8046
+ ], Tt.prototype, "hasTile", 2);
8047
+ Ft([
8040
8048
  o({ type: Boolean, reflect: !0 })
8041
- ], Ct.prototype, "checked", 2);
8042
- Ut([
8049
+ ], Tt.prototype, "checked", 2);
8050
+ Ft([
8043
8051
  o({ type: String, reflect: !0 })
8044
- ], Ct.prototype, "type", 2);
8045
- Ut([
8052
+ ], Tt.prototype, "type", 2);
8053
+ Ft([
8046
8054
  o({ type: String })
8047
- ], Ct.prototype, "tagText", 2);
8048
- Ut([
8055
+ ], Tt.prototype, "tagText", 2);
8056
+ Ft([
8049
8057
  o({ type: Boolean })
8050
- ], Ct.prototype, "optionalTag", 2);
8051
- Ut([
8058
+ ], Tt.prototype, "optionalTag", 2);
8059
+ Ft([
8052
8060
  o({ type: String })
8053
- ], Ct.prototype, "optionalText", 2);
8054
- Ut([
8061
+ ], Tt.prototype, "optionalText", 2);
8062
+ Ft([
8055
8063
  o({ type: Boolean })
8056
- ], Ct.prototype, "requiredTag", 2);
8057
- Ut([
8064
+ ], Tt.prototype, "requiredTag", 2);
8065
+ Ft([
8058
8066
  o({ type: String })
8059
- ], Ct.prototype, "requiredText", 2);
8060
- Ut([
8061
- R()
8062
- ], Ct.prototype, "_checked", 2);
8063
- Ct = Ut([
8067
+ ], Tt.prototype, "requiredText", 2);
8068
+ Ft([
8069
+ L()
8070
+ ], Tt.prototype, "_checked", 2);
8071
+ Tt = Ft([
8064
8072
  V("pkt-radiobutton")
8065
- ], Ct);
8073
+ ], Tt);
8066
8074
  /**
8067
8075
  * @license
8068
8076
  * Copyright 2021 Google LLC
@@ -8285,14 +8293,14 @@ pi([
8285
8293
  o({ type: Boolean, reflect: !0, attribute: "disable-arrow-nav" })
8286
8294
  ], je.prototype, "disableArrowNav", 2);
8287
8295
  pi([
8288
- R()
8296
+ L()
8289
8297
  ], je.prototype, "tabRefs", 2);
8290
8298
  pi([
8291
- R()
8299
+ L()
8292
8300
  ], je.prototype, "tabCount", 2);
8293
8301
  pi([
8294
8302
  th({ context: an }),
8295
- R()
8303
+ L()
8296
8304
  ], je.prototype, "context", 2);
8297
8305
  je = pi([
8298
8306
  V("pkt-tabs")
@@ -8397,13 +8405,13 @@ const rh = Fe(class extends li {
8397
8405
  return i;
8398
8406
  }
8399
8407
  update(i, [t]) {
8400
- if (t === _t || t === $) return t;
8408
+ if (t === wt || t === $) return t;
8401
8409
  const e = i.element, s = i.name;
8402
8410
  if (i.type === Kt.PROPERTY) {
8403
- if (t === e[s]) return _t;
8411
+ if (t === e[s]) return wt;
8404
8412
  } else if (i.type === Kt.BOOLEAN_ATTRIBUTE) {
8405
- if (!!t === e.hasAttribute(s)) return _t;
8406
- } else if (i.type === Kt.ATTRIBUTE && e.getAttribute(s) === t + "") return _t;
8413
+ if (!!t === e.hasAttribute(s)) return wt;
8414
+ } else if (i.type === Kt.ATTRIBUTE && e.getAttribute(s) === t + "") return wt;
8407
8415
  return Ua(i), t;
8408
8416
  }
8409
8417
  });
@@ -8495,7 +8503,7 @@ Vi([
8495
8503
  o({ type: Number })
8496
8504
  ], ai.prototype, "rows", 2);
8497
8505
  Vi([
8498
- R()
8506
+ L()
8499
8507
  ], ai.prototype, "counterCurrent", 2);
8500
8508
  ai = Vi([
8501
8509
  V("pkt-textarea")
@@ -8633,7 +8641,7 @@ oe([
8633
8641
  o({ type: Boolean })
8634
8642
  ], Xt.prototype, "omitSearchIcon", 2);
8635
8643
  oe([
8636
- R()
8644
+ L()
8637
8645
  ], Xt.prototype, "counterCurrent", 2);
8638
8646
  Xt = oe([
8639
8647
  V("pkt-textinput")
@@ -8795,7 +8803,7 @@ ds([
8795
8803
  o({ type: String })
8796
8804
  ], Ii.prototype, "value", 2);
8797
8805
  ds([
8798
- R()
8806
+ L()
8799
8807
  ], Ii.prototype, "_options", 2);
8800
8808
  Ii = ds([
8801
8809
  V("pkt-select")
@@ -8847,7 +8855,7 @@ let ni = class extends K {
8847
8855
 
8848
8856
  <h2 class="pkt-txt-22">Knapp som emitter en event</h2>
8849
8857
  <button type="button" @click=${() => this.handleGreeting()}>
8850
- Si ${bt.example.hi}
8858
+ Si ${kt.example.hi}
8851
8859
  </button>
8852
8860
  </div>
8853
8861
  `;
@@ -8891,13 +8899,13 @@ ji([
8891
8899
  ni = ji([
8892
8900
  V("pkt-component")
8893
8901
  ], ni);
8894
- const B = Lt({
8902
+ const R = zt({
8895
8903
  tagName: "pkt-icon",
8896
- elementClass: Re,
8897
- react: ct,
8904
+ elementClass: De,
8905
+ react: pt,
8898
8906
  displayName: "PktIcon",
8899
8907
  events: {}
8900
- }), fh = G(
8908
+ }), fh = Y(
8901
8909
  ({
8902
8910
  defaultOpen: i = !1,
8903
8911
  id: t,
@@ -8909,15 +8917,15 @@ const B = Lt({
8909
8917
  name: l,
8910
8918
  className: d,
8911
8919
  onClick: p,
8912
- onToggle: f
8913
- }, g) => {
8920
+ onToggle: g
8921
+ }, f) => {
8914
8922
  const [k, b] = oi(i), { name: y } = vn(), w = l || y, C = n !== void 0 ? n : k;
8915
8923
  as(() => {
8916
8924
  n === void 0 && b(i);
8917
8925
  }, [i, n]);
8918
8926
  const P = (A) => {
8919
8927
  const Z = A.currentTarget.open;
8920
- n === void 0 && b(Z), f == null || f(A);
8928
+ n === void 0 && b(Z), g == null || g(A);
8921
8929
  }, T = (A) => {
8922
8930
  setTimeout(() => {
8923
8931
  p == null || p(A);
@@ -8931,7 +8939,7 @@ const B = Lt({
8931
8939
  return /* @__PURE__ */ x(
8932
8940
  "details",
8933
8941
  {
8934
- ref: g,
8942
+ ref: f,
8935
8943
  className: F,
8936
8944
  id: t,
8937
8945
  open: C,
@@ -8941,7 +8949,7 @@ const B = Lt({
8941
8949
  children: [
8942
8950
  /* @__PURE__ */ x("summary", { className: "pkt-accordion-item__title", id: `pkt-accordion-item-summary-${t}`, children: [
8943
8951
  e,
8944
- /* @__PURE__ */ h(B, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8952
+ /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-accordion-item__icon", "aria-hidden": "true" })
8945
8953
  ] }),
8946
8954
  /* @__PURE__ */ h("div", { className: "pkt-accordion-item__content", id: `pkt-accordion-item__content-${t}`, role: "region", children: /* @__PURE__ */ h("div", { className: "pkt-accordion-item__content-inner", children: r }) })
8947
8955
  ]
@@ -8993,7 +9001,7 @@ function vh() {
8993
9001
  })(As)), As.exports;
8994
9002
  }
8995
9003
  var bh = vh();
8996
- const gt = /* @__PURE__ */ gh(bh), nn = ({
9004
+ const ft = /* @__PURE__ */ gh(bh), nn = ({
8997
9005
  children: i,
8998
9006
  closeAlert: t,
8999
9007
  compact: e,
@@ -9005,21 +9013,21 @@ const gt = /* @__PURE__ */ gh(bh), nn = ({
9005
9013
  skin: d = "info",
9006
9014
  ...p
9007
9015
  }) => {
9008
- const [f, g] = oi(!1), k = {
9016
+ const [g, f] = oi(!1), k = {
9009
9017
  "pkt-alert": !0,
9010
9018
  "pkt-alert--compact": e,
9011
9019
  [`pkt-alert--${d}`]: d,
9012
- "pkt-hide": f
9020
+ "pkt-hide": g
9013
9021
  }, b = {
9014
9022
  "pkt-alert__grid": !0,
9015
9023
  "pkt-alert__noTitle": !s,
9016
9024
  "pkt-alert__noDate": !a
9017
9025
  }, y = Ea(() => {
9018
- g(!0), p.onClose && p.onClose(new CustomEvent("close", { detail: { origin: event }, bubbles: !0, composed: !0 }));
9019
- }, [p.onClose, g]);
9020
- return /* @__PURE__ */ h("div", { ...p, "aria-live": n || r, role: l, className: gt(k), children: /* @__PURE__ */ x("div", { className: gt(b), children: [
9026
+ f(!0), p.onClose && p.onClose(new CustomEvent("close", { detail: { origin: event }, bubbles: !0, composed: !0 }));
9027
+ }, [p.onClose, f]);
9028
+ return /* @__PURE__ */ h("div", { ...p, "aria-live": n || r, role: l, className: ft(k), children: /* @__PURE__ */ x("div", { className: ft(b), children: [
9021
9029
  /* @__PURE__ */ h(
9022
- B,
9030
+ R,
9023
9031
  {
9024
9032
  className: "pkt-alert__icon",
9025
9033
  "aria-hidden": "true",
@@ -9049,14 +9057,14 @@ const gt = /* @__PURE__ */ gh(bh), nn = ({
9049
9057
  ] }) });
9050
9058
  };
9051
9059
  nn.displayName = "PktAlert";
9052
- const yh = Lt({
9060
+ const yh = zt({
9053
9061
  tagName: "pkt-backlink",
9054
9062
  elementClass: ii,
9055
- react: ct,
9063
+ react: pt,
9056
9064
  displayName: "PktBackLink"
9057
9065
  });
9058
9066
  yh.displayName = "PktBackLink";
9059
- const Wd = G(
9067
+ const zd = Y(
9060
9068
  ({ breadcrumbs: i, navigationType: t, className: e, ...s }, a) => {
9061
9069
  const n = i, r = n[n.length - 2], l = [e, "pkt-breadcrumbs"].filter(Boolean).join(" ");
9062
9070
  return /* @__PURE__ */ x("nav", { ref: a, "aria-label": "brødsmulemeny", className: l, children: [
@@ -9067,7 +9075,7 @@ const Wd = G(
9067
9075
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9068
9076
  ...s,
9069
9077
  children: [
9070
- /* @__PURE__ */ h(B, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9078
+ /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9071
9079
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9072
9080
  ]
9073
9081
  }
@@ -9078,81 +9086,85 @@ const Wd = G(
9078
9086
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
9079
9087
  ...s,
9080
9088
  children: [
9081
- /* @__PURE__ */ h(B, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9089
+ /* @__PURE__ */ h(R, { className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon", name: "chevron-thin-right" }),
9082
9090
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: d.text })
9083
9091
  ]
9084
9092
  }
9085
9093
  ) }, `breadcrumb-${p}`)) }),
9086
9094
  t === "router" ? /* @__PURE__ */ x(zs, { to: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9087
- /* @__PURE__ */ h(B, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9095
+ /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9088
9096
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9089
9097
  ] }) : /* @__PURE__ */ x("a", { href: r.href, className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile", ...s, children: [
9090
- /* @__PURE__ */ h(B, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9098
+ /* @__PURE__ */ h(R, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left" }),
9091
9099
  /* @__PURE__ */ h("span", { className: "pkt-breadcrumbs__text", children: r.text })
9092
9100
  ] })
9093
9101
  ] });
9094
9102
  }
9095
9103
  );
9096
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.13/animations/";
9097
- const ri = G(
9104
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/13.14/animations/";
9105
+ const ri = Y(
9098
9106
  ({
9099
9107
  children: i,
9100
9108
  className: t,
9101
9109
  iconName: e = "user",
9102
9110
  secondIconName: s = "user",
9103
9111
  size: a = "medium",
9104
- skin: n = "primary",
9105
- type: r = "button",
9106
- variant: l = "label-only",
9107
- state: d,
9108
- color: p,
9109
- isLoading: f = void 0,
9110
- disabled: g = void 0,
9111
- loadingAnimationPath: k = window.pktAnimationPath,
9112
- ...b
9113
- }, y) => {
9114
- const w = [
9112
+ fullWidth: n = !1,
9113
+ fullWidthOnMobile: r = !1,
9114
+ skin: l = "primary",
9115
+ type: d = "button",
9116
+ variant: p = "label-only",
9117
+ state: g,
9118
+ color: f,
9119
+ isLoading: k = void 0,
9120
+ disabled: b = void 0,
9121
+ loadingAnimationPath: y = window.pktAnimationPath,
9122
+ ...w
9123
+ }, C) => {
9124
+ const P = [
9115
9125
  t,
9116
9126
  "pkt-btn",
9117
9127
  a && `pkt-btn--${a}`,
9118
- n && `pkt-btn--${n}`,
9128
+ n && "pkt-btn--full",
9129
+ r && "pkt-btn--full-small",
9119
9130
  l && `pkt-btn--${l}`,
9120
9131
  p && `pkt-btn--${p}`,
9121
- d && `pkt-btn--${d}`,
9122
- f && "pkt-btn--isLoading"
9132
+ f && `pkt-btn--${f}`,
9133
+ g && `pkt-btn--${g}`,
9134
+ k && "pkt-btn--isLoading"
9123
9135
  ].filter(Boolean).join(" ");
9124
9136
  return /* @__PURE__ */ x(
9125
9137
  "button",
9126
9138
  {
9127
- ...b,
9128
- "aria-busy": f || void 0,
9129
- "aria-disabled": g || void 0,
9130
- disabled: g,
9131
- className: w,
9132
- type: r,
9133
- ref: y,
9139
+ ...w,
9140
+ "aria-busy": k || void 0,
9141
+ "aria-disabled": b || void 0,
9142
+ disabled: b,
9143
+ className: P,
9144
+ type: d,
9145
+ ref: C,
9134
9146
  children: [
9135
- f && /* @__PURE__ */ h(B, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: k }),
9136
- l !== "label-only" && /* @__PURE__ */ h(B, { className: "pkt-btn__icon", name: e }),
9147
+ k && /* @__PURE__ */ h(R, { className: "pkt-btn__icon pkt-btn__spinner", name: "spinner-blue", path: y }),
9148
+ p !== "label-only" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: e }),
9137
9149
  /* @__PURE__ */ h("span", { className: "pkt-btn__text", children: i }),
9138
- l === "icons-right-and-left" && /* @__PURE__ */ h(B, { className: "pkt-btn__icon", name: s })
9150
+ p === "icons-right-and-left" && /* @__PURE__ */ h(R, { className: "pkt-btn__icon", name: s })
9139
9151
  ]
9140
9152
  }
9141
9153
  );
9142
9154
  }
9143
9155
  );
9144
9156
  ri.displayName = "PktButton";
9145
- const kh = Lt({
9157
+ const kh = zt({
9146
9158
  tagName: "pkt-card",
9147
9159
  elementClass: lt,
9148
- react: ct,
9160
+ react: pt,
9149
9161
  displayName: "PktCard",
9150
9162
  events: {}
9151
- }), $h = G(
9163
+ }), $h = Y(
9152
9164
  ({ children: i, ...t }, e) => /* @__PURE__ */ h(kh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9153
9165
  );
9154
9166
  $h.displayName = "PktCard";
9155
- const _h = G(
9167
+ const _h = Y(
9156
9168
  ({
9157
9169
  id: i,
9158
9170
  hasTile: t = !1,
@@ -9164,8 +9176,8 @@ const _h = G(
9164
9176
  isSwitch: l = !1,
9165
9177
  hideLabel: d = !1,
9166
9178
  labelPosition: p = "right",
9167
- defaultChecked: f,
9168
- checked: g,
9179
+ defaultChecked: g,
9180
+ checked: f,
9169
9181
  optionalTag: k,
9170
9182
  optionalText: b = "Valgfritt",
9171
9183
  requiredTag: y,
@@ -9203,7 +9215,7 @@ const _h = G(
9203
9215
  type: "checkbox",
9204
9216
  id: i,
9205
9217
  disabled: e,
9206
- ...g !== void 0 ? { checked: g } : { defaultChecked: f },
9218
+ ...f !== void 0 ? { checked: f } : { defaultChecked: g },
9207
9219
  ...P
9208
9220
  }
9209
9221
  ),
@@ -9217,10 +9229,10 @@ const _h = G(
9217
9229
  }
9218
9230
  );
9219
9231
  _h.displayName = "PktCheckbox";
9220
- const wh = Lt({
9232
+ const wh = zt({
9221
9233
  tagName: "pkt-combobox",
9222
9234
  elementClass: J,
9223
- react: ct,
9235
+ react: pt,
9224
9236
  displayName: "PktCombobox",
9225
9237
  events: {
9226
9238
  onClick: "click",
@@ -9231,25 +9243,25 @@ const wh = Lt({
9231
9243
  onValueChange: "value-change",
9232
9244
  onToggleHelpText: "toggleHelpText"
9233
9245
  }
9234
- }), xh = G(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(wh, { ...e, ref: s, children: [
9246
+ }), xh = Y(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(wh, { ...e, ref: s, children: [
9235
9247
  t && /* @__PURE__ */ h("div", { slot: "helptext", className: "pkt-contents", children: t }),
9236
9248
  i
9237
9249
  ] }));
9238
9250
  xh.displayName = "PktCombobox";
9239
- const js = Lt({
9251
+ const js = zt({
9240
9252
  tagName: "pkt-consent",
9241
- elementClass: zt,
9242
- react: ct,
9253
+ elementClass: qt,
9254
+ react: pt,
9243
9255
  displayName: "PktConsent",
9244
9256
  events: {
9245
9257
  onToggleConsent: "toggle-consent"
9246
9258
  }
9247
9259
  });
9248
9260
  js.displayName = "PktConsent";
9249
- const Sh = Lt({
9261
+ const Sh = zt({
9250
9262
  tagName: "pkt-datepicker",
9251
9263
  elementClass: tt,
9252
- react: ct,
9264
+ react: pt,
9253
9265
  displayName: "PktDatepicker",
9254
9266
  events: {
9255
9267
  onChange: "change",
@@ -9258,11 +9270,11 @@ const Sh = Lt({
9258
9270
  onValueChange: "value-change",
9259
9271
  onToggleHelpText: "toggleHelpText"
9260
9272
  }
9261
- }), Ch = G(
9273
+ }), Ch = Y(
9262
9274
  ({ helptext: i, ...t }, e) => /* @__PURE__ */ h(Sh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", slot: "helptext", children: i }) })
9263
9275
  );
9264
9276
  Ch.displayName = "PktDatepicker";
9265
- const Kd = ({
9277
+ const Wd = ({
9266
9278
  columnOne: i,
9267
9279
  columnTwo: t,
9268
9280
  socialLinks: e,
@@ -9273,8 +9285,8 @@ const Kd = ({
9273
9285
  includeConsent: l = !1,
9274
9286
  hotjarId: d = null,
9275
9287
  googleAnalyticsId: p = null,
9276
- devMode: f = !1,
9277
- cookieDomain: g = null,
9288
+ devMode: g = !1,
9289
+ cookieDomain: f = null,
9278
9290
  cookieSecure: k = null,
9279
9291
  cookieExpiryDays: b = null,
9280
9292
  onToggleConsent: y = (w) => {
@@ -9297,7 +9309,7 @@ const Kd = ({
9297
9309
  target: T.openInNewTab || a ? "_blank" : "_self",
9298
9310
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9299
9311
  children: [
9300
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9312
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9301
9313
  T.text
9302
9314
  ]
9303
9315
  }
@@ -9316,7 +9328,7 @@ const Kd = ({
9316
9328
  target: T.openInNewTab || a ? "_blank" : "_self",
9317
9329
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9318
9330
  children: [
9319
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9331
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9320
9332
  T.text
9321
9333
  ]
9322
9334
  }
@@ -9334,7 +9346,7 @@ const Kd = ({
9334
9346
  target: a ? "_blank" : "_self",
9335
9347
  rel: a ? "noopener noreferrer" : void 0,
9336
9348
  children: [
9337
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9349
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9338
9350
  "Personvern og informasjonskapsler"
9339
9351
  ]
9340
9352
  }
@@ -9347,7 +9359,7 @@ const Kd = ({
9347
9359
  target: a ? "_blank" : "_self",
9348
9360
  rel: a ? "noopener noreferrer" : void 0,
9349
9361
  children: [
9350
- /* @__PURE__ */ h(B, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9362
+ /* @__PURE__ */ h(R, { className: "pkt-footer__link-icon", name: "chevron-right" }),
9351
9363
  "Tilgjengelighet"
9352
9364
  ]
9353
9365
  }
@@ -9358,8 +9370,8 @@ const Kd = ({
9358
9370
  triggerType: "footerlink",
9359
9371
  hotjarId: d,
9360
9372
  googleAnalyticsId: p,
9361
- devMode: f,
9362
- cookieDomain: g,
9373
+ devMode: g,
9374
+ cookieDomain: f,
9363
9375
  cookieSecure: k,
9364
9376
  cookieExpiryDays: b,
9365
9377
  onToggleConsent: y
@@ -9387,12 +9399,12 @@ const Kd = ({
9387
9399
  className: "pkt-footer__social-icon-link",
9388
9400
  target: T.openInNewTab || a ? "_blank" : "_self",
9389
9401
  rel: T.openInNewTab || a ? "noopener noreferrer" : void 0,
9390
- children: /* @__PURE__ */ h(B, { className: "pkt-footer__social-icon", name: T.iconName })
9402
+ children: /* @__PURE__ */ h(R, { className: "pkt-footer__social-icon", name: T.iconName })
9391
9403
  }
9392
9404
  ) }, `sociallinks-${F}`)) })
9393
9405
  ] })
9394
9406
  ] }) });
9395
- }, Gd = ({
9407
+ }, Kd = ({
9396
9408
  links: i = [],
9397
9409
  openLinksInNewTab: t = !1,
9398
9410
  personvernOgInfoLink: e = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
@@ -9403,8 +9415,8 @@ const Kd = ({
9403
9415
  devMode: l = !1,
9404
9416
  cookieDomain: d = null,
9405
9417
  cookieSecure: p = null,
9406
- cookieExpiryDays: f = null,
9407
- onToggleConsent: g = (b) => {
9418
+ cookieExpiryDays: g = null,
9419
+ onToggleConsent: f = (b) => {
9408
9420
  console.log(b.detail);
9409
9421
  },
9410
9422
  className: k
@@ -9419,7 +9431,7 @@ const Kd = ({
9419
9431
  target: y.openInNewTab || t ? "_blank" : "_self",
9420
9432
  rel: y.openInNewTab || t ? "noopener noreferrer" : void 0,
9421
9433
  children: [
9422
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9434
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9423
9435
  y.text
9424
9436
  ]
9425
9437
  }
@@ -9432,7 +9444,7 @@ const Kd = ({
9432
9444
  target: t ? "_blank" : "_self",
9433
9445
  rel: t ? "noopener noreferrer" : void 0,
9434
9446
  children: [
9435
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9447
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9436
9448
  "Personvern og informasjonskapsler"
9437
9449
  ]
9438
9450
  }
@@ -9445,7 +9457,7 @@ const Kd = ({
9445
9457
  target: t ? "_blank" : "_self",
9446
9458
  rel: t ? "noopener noreferrer" : void 0,
9447
9459
  children: [
9448
- /* @__PURE__ */ h(B, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9460
+ /* @__PURE__ */ h(R, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
9449
9461
  "Tilgjengelighet"
9450
9462
  ]
9451
9463
  }
@@ -9459,12 +9471,12 @@ const Kd = ({
9459
9471
  devMode: l,
9460
9472
  cookieDomain: d,
9461
9473
  cookieSecure: p,
9462
- cookieExpiryDays: f,
9463
- onToggleConsent: g
9474
+ cookieExpiryDays: g,
9475
+ onToggleConsent: f
9464
9476
  }
9465
9477
  ) })
9466
9478
  ] }) }) });
9467
- }, Yd = G(
9479
+ }, Gd = Y(
9468
9480
  ({
9469
9481
  className: i,
9470
9482
  logoLink: t = "https://www.oslo.kommune.no/",
@@ -9476,8 +9488,8 @@ const Kd = ({
9476
9488
  representing: l,
9477
9489
  userOptions: d,
9478
9490
  userMenuFooter: p,
9479
- canChangeRepresentation: f = !0,
9480
- showMenuButton: g = !1,
9491
+ canChangeRepresentation: g = !0,
9492
+ showMenuButton: f = !1,
9481
9493
  showLogOutButton: k = !1,
9482
9494
  openMenu: b,
9483
9495
  logOut: y,
@@ -9485,12 +9497,12 @@ const Kd = ({
9485
9497
  children: C,
9486
9498
  ...P
9487
9499
  }, T) => {
9488
- const F = ct.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9500
+ const F = pt.useMemo(() => typeof (n == null ? void 0 : n.lastLoggedIn) == "string" ? n.lastLoggedIn : n != null && n.lastLoggedIn ? new Date(n.lastLoggedIn).toLocaleString("nb-NO", {
9489
9501
  year: "numeric",
9490
9502
  month: "long",
9491
9503
  day: "numeric"
9492
- }) : "", [n]), [A, z] = ct.useState(!1), [Z, Nt] = ct.useState(0), [At, Q] = ct.useState(!1), st = ct.useRef(null);
9493
- ct.useEffect(() => (document && (document.addEventListener("mouseup", Ot), window.addEventListener("scroll", at)), () => {
9504
+ }) : "", [n]), [A, z] = pt.useState(!1), [Z, Nt] = pt.useState(0), [At, Q] = pt.useState(!1), st = pt.useRef(null);
9505
+ pt.useEffect(() => (document && (document.addEventListener("mouseup", Ot), window.addEventListener("scroll", at)), () => {
9494
9506
  document && (document.removeEventListener("mouseup", Ot), window.removeEventListener("scroll", at));
9495
9507
  }));
9496
9508
  const Et = () => {
@@ -9512,7 +9524,7 @@ const Kd = ({
9512
9524
  id: "pkt-header",
9513
9525
  "data-testid": "pkt-header",
9514
9526
  "aria-label": "Topp",
9515
- className: gt(i, "pkt-header", {
9527
+ className: ft(i, "pkt-header", {
9516
9528
  "pkt-header--fixed": s,
9517
9529
  "pkt-header--scroll-to-hide": a,
9518
9530
  "pkt-header--hidden": A
@@ -9521,12 +9533,12 @@ const Kd = ({
9521
9533
  children: [
9522
9534
  /* @__PURE__ */ x("div", { className: "pkt-header__logo", children: [
9523
9535
  typeof t == "string" ? /* @__PURE__ */ h("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: t, children: /* @__PURE__ */ h(
9524
- B,
9536
+ R,
9525
9537
  {
9526
9538
  name: "oslologo",
9527
9539
  className: "pkt-header__logo-svg",
9528
9540
  "aria-hidden": "true",
9529
- path: "https://punkt-cdn.oslo.kommune.no/13.13/logos/"
9541
+ path: "https://punkt-cdn.oslo.kommune.no/13.14/logos/"
9530
9542
  }
9531
9543
  ) }) : /* @__PURE__ */ h(
9532
9544
  "button",
@@ -9535,12 +9547,12 @@ const Kd = ({
9535
9547
  className: "pkt-link-button pkt-link pkt-header__logo-link",
9536
9548
  onClick: t,
9537
9549
  children: /* @__PURE__ */ h(
9538
- B,
9550
+ R,
9539
9551
  {
9540
9552
  name: "oslologo",
9541
9553
  className: "pkt-header__logo-svg",
9542
9554
  "aria-hidden": "true",
9543
- path: "https://punkt-cdn.oslo.kommune.no/13.13/logos/"
9555
+ path: "https://punkt-cdn.oslo.kommune.no/13.14/logos/"
9544
9556
  }
9545
9557
  )
9546
9558
  }
@@ -9548,7 +9560,7 @@ const Kd = ({
9548
9560
  /* @__PURE__ */ h("span", { className: "pkt-header__logo-service", translate: "no", children: e })
9549
9561
  ] }),
9550
9562
  /* @__PURE__ */ h("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ x("ul", { className: "pkt-header__actions-row", children: [
9551
- g && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(
9563
+ f && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h(
9552
9564
  ri,
9553
9565
  {
9554
9566
  className: "pkt-header__menu-btn",
@@ -9576,11 +9588,11 @@ const Kd = ({
9576
9588
  "aria-expanded": At,
9577
9589
  onClick: Et,
9578
9590
  children: [
9579
- /* @__PURE__ */ h(B, { name: "user", className: "pkt-btn__icon" }),
9591
+ /* @__PURE__ */ h(R, { name: "user", className: "pkt-btn__icon" }),
9580
9592
  /* @__PURE__ */ h("span", { className: "pkt-header__user-fullname", translate: "no", children: (l == null ? void 0 : l.name) || (n == null ? void 0 : n.name) }),
9581
9593
  /* @__PURE__ */ h("span", { className: "pkt-header__user-shortname", translate: "no", children: (l == null ? void 0 : l.shortname) || (n == null ? void 0 : n.shortname) }),
9582
- /* @__PURE__ */ h(B, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9583
- /* @__PURE__ */ h(B, { name: "chevron-thin-up", className: "pkt-btn--open" })
9594
+ /* @__PURE__ */ h(R, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
9595
+ /* @__PURE__ */ h(R, { name: "chevron-thin-up", className: "pkt-btn--open" })
9584
9596
  ]
9585
9597
  }
9586
9598
  ),
@@ -9593,14 +9605,14 @@ const Kd = ({
9593
9605
  /* @__PURE__ */ h("time", { children: F })
9594
9606
  ] })
9595
9607
  ] }),
9596
- r && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: r.map((D, $t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9597
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9608
+ r && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: r.map((D, _t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9609
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9598
9610
  D.title
9599
9611
  ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: [
9600
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9612
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9601
9613
  D.title
9602
- ] }) }, `userMenu-${$t}`)) }) }),
9603
- (l || f) && /* @__PURE__ */ x("li", { children: [
9614
+ ] }) }, `userMenu-${_t}`)) }) }),
9615
+ (l || g) && /* @__PURE__ */ x("li", { children: [
9604
9616
  l && /* @__PURE__ */ x(Gt, { children: [
9605
9617
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__label", children: "Representerer" }),
9606
9618
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__name", translate: "no", children: l.name }),
@@ -9609,25 +9621,25 @@ const Kd = ({
9609
9621
  l.orgNumber
9610
9622
  ] })
9611
9623
  ] }),
9612
- /* @__PURE__ */ h("ul", { className: "pkt-list mt-size-16", children: f && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: w, children: [
9613
- /* @__PURE__ */ h(B, { name: "cogwheel", className: "pkt-link__icon" }),
9624
+ /* @__PURE__ */ h("ul", { className: "pkt-list mt-size-16", children: g && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: w, children: [
9625
+ /* @__PURE__ */ h(R, { name: "cogwheel", className: "pkt-link__icon" }),
9614
9626
  "Endre organisasjon"
9615
9627
  ] }) }) })
9616
9628
  ] }),
9617
9629
  /* @__PURE__ */ h("li", { children: /* @__PURE__ */ h("ul", { className: "pkt-list", children: (d || !k) && /* @__PURE__ */ x(Gt, { children: [
9618
- d == null ? void 0 : d.map((D, $t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9619
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9630
+ d == null ? void 0 : d.map((D, _t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ x("a", { href: D.target, className: "pkt-link", children: [
9631
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9620
9632
  D.title
9621
9633
  ] }) : /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: [
9622
- D.iconName && /* @__PURE__ */ h(B, { name: D.iconName, className: "pkt-link__icon" }),
9634
+ D.iconName && /* @__PURE__ */ h(R, { name: D.iconName, className: "pkt-link__icon" }),
9623
9635
  D.title
9624
- ] }) }, `userOptions-${$t}`)),
9636
+ ] }) }, `userOptions-${_t}`)),
9625
9637
  !k && /* @__PURE__ */ h("li", { children: /* @__PURE__ */ x("button", { className: "pkt-link-button pkt-link", onClick: y, children: [
9626
- /* @__PURE__ */ h(B, { name: "exit", className: "pkt-link__icon" }),
9638
+ /* @__PURE__ */ h(R, { name: "exit", className: "pkt-link__icon" }),
9627
9639
  "Logg ut"
9628
9640
  ] }) })
9629
9641
  ] }) }) }),
9630
- p && /* @__PURE__ */ h("li", { className: "footer", children: /* @__PURE__ */ h("ul", { className: "pkt-list-horizontal bordered", children: p.map((D, $t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ h("a", { href: D.target, className: "pkt-link", children: D.title }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: D.title }) }, `userMenuFooter-${$t}`)) }) })
9642
+ p && /* @__PURE__ */ h("li", { className: "footer", children: /* @__PURE__ */ h("ul", { className: "pkt-list-horizontal bordered", children: p.map((D, _t) => /* @__PURE__ */ h("li", { children: typeof D.target == "string" ? /* @__PURE__ */ h("a", { href: D.target, className: "pkt-link", children: D.title }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: D.target, children: D.title }) }, `userMenuFooter-${_t}`)) }) })
9631
9643
  ] })
9632
9644
  ]
9633
9645
  }
@@ -9650,26 +9662,26 @@ const Kd = ({
9650
9662
  }
9651
9663
  );
9652
9664
  }
9653
- ), Th = Lt({
9665
+ ), Th = zt({
9654
9666
  tagName: "pkt-heading",
9655
- elementClass: Le,
9656
- react: ct,
9667
+ elementClass: Re,
9668
+ react: pt,
9657
9669
  displayName: "PktHeading"
9658
- }), Nh = G(({ children: i, ...t }, e) => /* @__PURE__ */ h(Th, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
9670
+ }), Nh = Y(({ children: i, ...t }, e) => /* @__PURE__ */ h(Th, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
9659
9671
  Nh.displayName = "PktHeading";
9660
- const Ah = Lt({
9672
+ const Ah = zt({
9661
9673
  tagName: "pkt-helptext",
9662
9674
  elementClass: pe,
9663
- react: ct,
9675
+ react: pt,
9664
9676
  displayName: "PktHelptext",
9665
9677
  events: {
9666
9678
  onToggleHelpText: "toggleHelpText"
9667
9679
  }
9668
- }), Eh = G(
9680
+ }), Eh = Y(
9669
9681
  ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ah, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9670
9682
  );
9671
9683
  Eh.displayName = "PktHelptext";
9672
- const Oh = G(
9684
+ const Oh = Y(
9673
9685
  ({ label: i, id: t, children: e, ...s }, a) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
9674
9686
  /* @__PURE__ */ h("label", { htmlFor: t, className: "pkt-form-label", children: i }),
9675
9687
  /* @__PURE__ */ h("input", { className: "pkt-form-input", id: t, ...s, ref: a }),
@@ -9677,7 +9689,7 @@ const Oh = G(
9677
9689
  ] })
9678
9690
  );
9679
9691
  Oh.displayName = "PktInput";
9680
- const cs = G(
9692
+ const cs = Y(
9681
9693
  ({
9682
9694
  forId: i,
9683
9695
  label: t,
@@ -9689,8 +9701,8 @@ const cs = G(
9689
9701
  counterMaxLength: l,
9690
9702
  optionalTag: d = !1,
9691
9703
  optionalText: p = "Valgfritt",
9692
- requiredTag: f = !1,
9693
- requiredText: g = "Må fylles ut",
9704
+ requiredTag: g = !1,
9705
+ requiredText: f = "Må fylles ut",
9694
9706
  tagText: k = null,
9695
9707
  hasError: b = !1,
9696
9708
  errorMessage: y,
@@ -9704,7 +9716,7 @@ const cs = G(
9704
9716
  role: Z = "group",
9705
9717
  counterPosition: Nt = "bottom"
9706
9718
  }, At) => {
9707
- const [Q, st] = oi(!1), Et = P || (e ? `${i}-helptext` : void 0), Ot = !!n, at = Ot && Nt === "top", D = Ot && Nt === "bottom", $t = () => st((ot) => !ot), Qt = [
9719
+ const [Q, st] = oi(!1), Et = P || (e ? `${i}-helptext` : void 0), Ot = !!n, at = Ot && Nt === "top", D = Ot && Nt === "bottom", _t = () => st((ot) => !ot), Qt = [
9708
9720
  "pkt-inputwrapper",
9709
9721
  A,
9710
9722
  b ? "pkt-inputwrapper--error" : "",
@@ -9713,15 +9725,15 @@ const cs = G(
9713
9725
  ].filter(Boolean).join(" "), le = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), te = () => Ot ? /* @__PURE__ */ x("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": "true", children: [
9714
9726
  r,
9715
9727
  l ? `/${l}` : ""
9716
- ] }) : null, Se = () => /* @__PURE__ */ x(Gt, { children: [
9728
+ ] }) : null, xe = () => /* @__PURE__ */ x(Gt, { children: [
9717
9729
  k && /* @__PURE__ */ h("span", { className: le + " pkt-tag--gray", children: k }),
9718
9730
  d && /* @__PURE__ */ h("span", { className: le + " pkt-tag--blue-light", children: p }),
9719
- f && /* @__PURE__ */ h("span", { className: le + " pkt-tag--beige", children: g })
9731
+ g && /* @__PURE__ */ h("span", { className: le + " pkt-tag--beige", children: f })
9720
9732
  ] }), ze = () => {
9721
9733
  const ot = /* @__PURE__ */ x(Gt, { children: [
9722
9734
  t,
9723
9735
  " ",
9724
- Se()
9736
+ xe()
9725
9737
  ] });
9726
9738
  return T ? z ? /* @__PURE__ */ h("legend", { className: "pkt-inputwrapper__legend", id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { className: "pkt-inputwrapper__label", htmlFor: i, "aria-describedby": Et, id: `${i}-label`, children: ot }) : /* @__PURE__ */ h("label", { htmlFor: i, className: "pkt-sr-only", "aria-describedby": Et, id: `${i}-label`, children: t });
9727
9739
  }, he = () => !e && !s ? null : /* @__PURE__ */ x(Gt, { children: [
@@ -9735,7 +9747,7 @@ const cs = G(
9735
9747
  variant: "icon-right",
9736
9748
  iconName: Q ? "chevron-thin-up" : "chevron-thin-down",
9737
9749
  className: "pkt-link pkt-link--icon-right",
9738
- onClick: $t,
9750
+ onClick: _t,
9739
9751
  children: /* @__PURE__ */ h(
9740
9752
  "span",
9741
9753
  {
@@ -9754,7 +9766,7 @@ const cs = G(
9754
9766
  }
9755
9767
  )
9756
9768
  ] })
9757
- ] }), Ht = /* @__PURE__ */ x(Gt, { children: [
9769
+ ] }), Ut = /* @__PURE__ */ x(Gt, { children: [
9758
9770
  ze(),
9759
9771
  he(),
9760
9772
  at && /* @__PURE__ */ h(te, {}),
@@ -9762,20 +9774,40 @@ const cs = G(
9762
9774
  D && /* @__PURE__ */ h(te, {}),
9763
9775
  b && y && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__alert-wrapper", children: /* @__PURE__ */ h(nn, { skin: "error", "aria-live": "assertive", role: "alert", id: `${i}-error`, compact: !0, children: y }) })
9764
9776
  ] });
9765
- return /* @__PURE__ */ h("div", { className: Qt, ref: At, role: Z, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Et, children: Ht }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ht }) });
9777
+ return /* @__PURE__ */ h("div", { className: Qt, ref: At, role: Z, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Et, children: Ut }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Ut }) });
9766
9778
  }
9767
9779
  );
9768
9780
  cs.displayName = "PktInputWrapper";
9769
- const Ph = Lt({
9770
- tagName: "pkt-link",
9771
- elementClass: we,
9772
- react: ct,
9773
- displayName: "PktLink"
9774
- }), Mh = G(
9775
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ph, { ...t, ref: e, children: /* @__PURE__ */ h("span", { className: "pkt-contents", children: i }) })
9781
+ const Ph = ({
9782
+ href: i,
9783
+ iconName: t,
9784
+ className: e,
9785
+ iconPosition: s,
9786
+ external: a,
9787
+ target: n,
9788
+ children: r,
9789
+ ...l
9790
+ }) => /* @__PURE__ */ x(
9791
+ "a",
9792
+ {
9793
+ ...l,
9794
+ className: ft({
9795
+ "pkt-link": !0,
9796
+ "pkt-link--icon-left": !!t && s === "left" || !!(t && !s),
9797
+ "pkt-link--icon-right": !!t && s === "right",
9798
+ "pkt-link--external": a
9799
+ }, e),
9800
+ href: i,
9801
+ target: n,
9802
+ rel: a ? "noopener noreferrer" : void 0,
9803
+ children: [
9804
+ t && /* @__PURE__ */ h(R, { name: t, className: "pkt-link__icon" }),
9805
+ r
9806
+ ]
9807
+ }
9776
9808
  );
9777
- Mh.displayName = "PktLink";
9778
- const Ih = ({
9809
+ Ph.displayName = "PktLink";
9810
+ const Mh = ({
9779
9811
  children: i,
9780
9812
  skin: t,
9781
9813
  title: e,
@@ -9786,35 +9818,35 @@ const Ih = ({
9786
9818
  className: l,
9787
9819
  ...d
9788
9820
  }) => {
9789
- const p = ["pkt-linkcard", t && `pkt-linkcard--${t}`].filter(Boolean).join(" "), f = ["pkt-linkcard__title", r && "pkt-link pkt-link--external"].filter(Boolean).join(" ");
9821
+ const p = ["pkt-linkcard", t && `pkt-linkcard--${t}`].filter(Boolean).join(" "), g = ["pkt-linkcard__title", r && "pkt-link pkt-link--external"].filter(Boolean).join(" ");
9790
9822
  return /* @__PURE__ */ x(
9791
9823
  "a",
9792
9824
  {
9793
9825
  ...d,
9794
9826
  href: s,
9795
- className: gt(p, l),
9827
+ className: ft(p, l),
9796
9828
  target: n ? "_blank" : "_self",
9797
9829
  rel: n ? "noopener noreferrer" : void 0,
9798
9830
  children: [
9799
- a && /* @__PURE__ */ h(B, { className: "pkt-link__icon", name: a }),
9800
- e && /* @__PURE__ */ h("div", { className: gt(f), children: e }),
9831
+ a && /* @__PURE__ */ h(R, { className: "pkt-link__icon", name: a }),
9832
+ e && /* @__PURE__ */ h("div", { className: ft(g), children: e }),
9801
9833
  /* @__PURE__ */ h("div", { className: "pkt-linkcard__text", children: i })
9802
9834
  ]
9803
9835
  }
9804
9836
  );
9805
9837
  };
9806
- Ih.displayName = "PktLinkCard";
9807
- const Dh = Lt({
9838
+ Mh.displayName = "PktLinkCard";
9839
+ const Ih = zt({
9808
9840
  tagName: "pkt-loader",
9809
9841
  elementClass: Zt,
9810
- react: ct,
9842
+ react: pt,
9811
9843
  displayName: "PktLoader",
9812
9844
  events: {}
9813
- }), Rh = G(
9814
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Dh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9845
+ }), Dh = Y(
9846
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ih, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9815
9847
  );
9816
- Rh.displayName = "PktLoader";
9817
- const Lh = ({
9848
+ Dh.displayName = "PktLoader";
9849
+ const Rh = ({
9818
9850
  children: i,
9819
9851
  className: t,
9820
9852
  skin: e,
@@ -9824,51 +9856,51 @@ const Lh = ({
9824
9856
  onClose: r,
9825
9857
  ...l
9826
9858
  }) => {
9827
- const [d, p] = oi(!1), f = {
9859
+ const [d, p] = oi(!1), g = {
9828
9860
  "pkt-messagebox": !0,
9829
9861
  "pkt-messagebox--compact": a,
9830
9862
  [`pkt-messagebox--${e}`]: e,
9831
9863
  "pkt-messagebox--closable": n,
9832
9864
  "pkt-hide": d
9833
- }, g = pn(), k = Ea(() => {
9865
+ }, f = pn(), k = Ea(() => {
9834
9866
  p(!0), r && r();
9835
9867
  }, [p, r]);
9836
- return /* @__PURE__ */ x("div", { ...l, className: gt(f, t), ref: g, children: [
9868
+ return /* @__PURE__ */ x("div", { ...l, className: ft(g, t), ref: f, children: [
9837
9869
  n && /* @__PURE__ */ h("div", { className: '"pkt-messagebox__close"', children: /* @__PURE__ */ h(
9838
9870
  "button",
9839
9871
  {
9840
9872
  onClick: k,
9841
9873
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
9842
9874
  "aria-label": "Lukk",
9843
- children: /* @__PURE__ */ h(B, { name: "close", className: "pkt-link__icon" })
9875
+ children: /* @__PURE__ */ h(R, { name: "close", className: "pkt-link__icon" })
9844
9876
  }
9845
9877
  ) }),
9846
9878
  /* @__PURE__ */ h("div", { className: "pkt-messagebox__title", children: s }),
9847
9879
  /* @__PURE__ */ h("div", { className: "pkt-messagebox__text", children: i })
9848
9880
  ] });
9849
9881
  };
9850
- Lh.displayName = "PktMessagebox";
9851
- const Bh = Lt({
9882
+ Rh.displayName = "PktMessagebox";
9883
+ const Lh = zt({
9852
9884
  tagName: "pkt-modal",
9853
9885
  elementClass: Rt,
9854
- react: ct,
9886
+ react: pt,
9855
9887
  displayName: "PktModal",
9856
9888
  events: {}
9857
- }), Vh = G(
9858
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Bh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9889
+ }), Bh = Y(
9890
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Lh, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9859
9891
  );
9860
- Vh.displayName = "PktModal";
9861
- const jh = Lt({
9892
+ Bh.displayName = "PktModal";
9893
+ const Vh = zt({
9862
9894
  tagName: "pkt-progressbar",
9863
9895
  elementClass: et,
9864
- react: ct,
9896
+ react: pt,
9865
9897
  displayName: "PktProgressbar",
9866
9898
  events: {}
9867
- }), Fh = G(
9868
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(jh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9899
+ }), jh = Y(
9900
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Vh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
9869
9901
  );
9870
- Fh.displayName = "PktProgressbar";
9871
- const Uh = G(
9902
+ jh.displayName = "PktProgressbar";
9903
+ const Fh = Y(
9872
9904
  ({
9873
9905
  id: i,
9874
9906
  name: t,
@@ -9880,8 +9912,8 @@ const Uh = G(
9880
9912
  hasError: l = !1,
9881
9913
  defaultChecked: d,
9882
9914
  checked: p,
9883
- optionalTag: f,
9884
- optionalText: g,
9915
+ optionalTag: g,
9916
+ optionalText: f,
9885
9917
  requiredTag: k,
9886
9918
  requiredText: b,
9887
9919
  tagText: y,
@@ -9896,7 +9928,7 @@ const Uh = G(
9896
9928
  l ? "pkt-input-check__input-checkbox--error" : ""
9897
9929
  ].filter(Boolean).join(" "), A = ["pkt-input-check__input-label", n ? "pkt-input-check__input-label--disabled" : ""].filter(Boolean).join(" "), z = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), Z = () => /* @__PURE__ */ x(Gt, { children: [
9898
9930
  y && /* @__PURE__ */ h("span", { className: z + " pkt-tag--gray", children: y }),
9899
- f && /* @__PURE__ */ h("span", { className: z + " pkt-tag--blue-light", children: g }),
9931
+ g && /* @__PURE__ */ h("span", { className: z + " pkt-tag--blue-light", children: f }),
9900
9932
  k && /* @__PURE__ */ h("span", { className: z + " pkt-tag--beige", children: b })
9901
9933
  ] });
9902
9934
  return /* @__PURE__ */ h("div", { className: P, children: /* @__PURE__ */ x("div", { className: T, children: [
@@ -9922,8 +9954,8 @@ const Uh = G(
9922
9954
  ] }) });
9923
9955
  }
9924
9956
  );
9925
- Uh.displayName = "PktRadioButton";
9926
- const Zd = G(
9957
+ Fh.displayName = "PktRadioButton";
9958
+ const Yd = Y(
9927
9959
  ({
9928
9960
  appearance: i = "local",
9929
9961
  disabled: t = !1,
@@ -9935,8 +9967,8 @@ const Zd = G(
9935
9967
  suggestions: l,
9936
9968
  value: d = "",
9937
9969
  action: p,
9938
- method: f,
9939
- onChange: g,
9970
+ method: g,
9971
+ onChange: f,
9940
9972
  onSearch: k,
9941
9973
  onSuggestionClick: b,
9942
9974
  ...y
@@ -9947,7 +9979,7 @@ const Zd = G(
9947
9979
  d = A.target.value;
9948
9980
  }, T = `pkt-searchinput pkt-searchinput--${i} ${e ? "pkt-searchinput--fullwidth" : ""}`;
9949
9981
  let F;
9950
- return p ? F = (A) => /* @__PURE__ */ h("form", { role: "search", className: T, action: p, method: f, children: A }) : F = (A) => /* @__PURE__ */ h("div", { role: "search", className: T, children: A }), F(
9982
+ return p ? F = (A) => /* @__PURE__ */ h("form", { role: "search", className: T, action: p, method: g, children: A }) : F = (A) => /* @__PURE__ */ h("div", { role: "search", className: T, children: A }), F(
9951
9983
  /* @__PURE__ */ x(Gt, { children: [
9952
9984
  a && /* @__PURE__ */ h("label", { htmlFor: a ? s : void 0, className: a ? "pkt-inputwrapper__label" : "", children: a }),
9953
9985
  /* @__PURE__ */ x("div", { className: i === "local" ? "pkt-input__container" : "pkt-searchinput__field", children: [
@@ -9965,7 +9997,7 @@ const Zd = G(
9965
9997
  "aria-autocomplete": "list",
9966
9998
  ref: w,
9967
9999
  "aria-controls": `${s}-suggestions`,
9968
- onChange: g || P,
10000
+ onChange: f || P,
9969
10001
  onKeyUp: k && ((A) => {
9970
10002
  A.key === "Enter" && (A.preventDefault(), k(d));
9971
10003
  }),
@@ -10006,7 +10038,7 @@ const Zd = G(
10006
10038
  ] })
10007
10039
  );
10008
10040
  }
10009
- ), Xd = G(
10041
+ ), Zd = Y(
10010
10042
  ({
10011
10043
  ariaDescribedby: i,
10012
10044
  ariaLabelledby: t,
@@ -10018,8 +10050,8 @@ const Zd = G(
10018
10050
  helptext: l,
10019
10051
  helptextDropdown: d,
10020
10052
  helptextDropdownButton: p,
10021
- id: f,
10022
- inline: g = !1,
10053
+ id: g,
10054
+ inline: f = !1,
10023
10055
  fullwidth: k = !1,
10024
10056
  label: b,
10025
10057
  name: y,
@@ -10035,7 +10067,7 @@ const Zd = G(
10035
10067
  cs,
10036
10068
  {
10037
10069
  className: Z,
10038
- forId: `${f}-input`,
10070
+ forId: `${g}-input`,
10039
10071
  label: b,
10040
10072
  helptext: l,
10041
10073
  helptextDropdown: d,
@@ -10048,7 +10080,7 @@ const Zd = G(
10048
10080
  hasError: r,
10049
10081
  errorMessage: n,
10050
10082
  disabled: a,
10051
- inline: g,
10083
+ inline: f,
10052
10084
  ariaDescribedby: i,
10053
10085
  children: /* @__PURE__ */ h(
10054
10086
  "select",
@@ -10056,11 +10088,11 @@ const Zd = G(
10056
10088
  ref: z,
10057
10089
  className: `pkt-input ${k ? "pkt-input--fullwidth" : ""}`,
10058
10090
  "aria-invalid": r,
10059
- "aria-errormessage": `${f}-error`,
10091
+ "aria-errormessage": `${g}-error`,
10060
10092
  "aria-labelledby": t || void 0,
10061
10093
  disabled: a,
10062
- id: `${f}-input`,
10063
- name: y || f,
10094
+ id: `${g}-input`,
10095
+ name: y || g,
10064
10096
  ...A,
10065
10097
  children: e
10066
10098
  }
@@ -10068,22 +10100,22 @@ const Zd = G(
10068
10100
  }
10069
10101
  );
10070
10102
  }
10071
- ), Hh = /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), qh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10103
+ ), Uh = /* @__PURE__ */ h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "7", style: { fill: "var(--pkt-color-grays-grey-200, #CCC)" } }) }), Hh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10072
10104
  /* @__PURE__ */ h("circle", { opacity: ".15", cx: "12", cy: "12", r: "12", fill: "#2A2859" }),
10073
10105
  /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "6", fill: "#2A2859" })
10074
- ] }), zh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10106
+ ] }), qh = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
10075
10107
  /* @__PURE__ */ h("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
10076
10108
  /* @__PURE__ */ h("path", { d: "m10.34 16-1.11-1.14L7 12.58l1.11-1.15 2.23 2.28L15.88 8 17 9.15l-5.55 5.71L10.34 16Z", fill: "#F1FDFF" })
10077
- ] }), Jd = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: gt("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
10109
+ ] }), Xd = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: ft("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
10078
10110
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--1", "aria-hidden": !0 }),
10079
10111
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--2", "aria-hidden": !0 }),
10080
- /* @__PURE__ */ h("span", { className: gt("pkt-step__indicator"), children: e === "current" ? qh : e === "completed" ? zh : Hh }),
10112
+ /* @__PURE__ */ h("span", { className: ft("pkt-step__indicator"), children: e === "current" ? Hh : e === "completed" ? qh : Uh }),
10081
10113
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--3", "aria-hidden": !0 }),
10082
10114
  /* @__PURE__ */ x("div", { className: "pkt-step__wrapper", children: [
10083
10115
  /* @__PURE__ */ h("div", { className: "pkt-step__title", children: s }),
10084
10116
  /* @__PURE__ */ h("div", { className: "pkt-step__content", children: i })
10085
10117
  ] })
10086
- ] }), Qd = G(
10118
+ ] }), Jd = Y(
10087
10119
  ({
10088
10120
  activeStep: i,
10089
10121
  className: t,
@@ -10093,19 +10125,19 @@ const Zd = G(
10093
10125
  orientation: n = "vertical",
10094
10126
  ...r
10095
10127
  }, l) => {
10096
- const d = gt(
10128
+ const d = ft(
10097
10129
  t,
10098
10130
  "pkt-stepper",
10099
10131
  n === "horizontal" ? "pkt-stepper--horizontal" : "pkt-stepper--vertical"
10100
- ), p = Es.map(e, (f, g) => mn(f) ? fn(f, {
10101
- className: gt(f.props.className, {
10102
- "pkt-step--hideStep": s && g !== i,
10103
- "pkt-step--hideContent": a && g !== i
10132
+ ), p = Es.map(e, (g, f) => mn(g) ? fn(g, {
10133
+ className: ft(g.props.className, {
10134
+ "pkt-step--hideStep": s && f !== i,
10135
+ "pkt-step--hideContent": a && f !== i
10104
10136
  })
10105
- }) : f);
10137
+ }) : g);
10106
10138
  return /* @__PURE__ */ h("ol", { "data-testid": "pkt-stepper", className: d, ref: l, ...r, children: p });
10107
10139
  }
10108
- ), tc = ({
10140
+ ), Qd = ({
10109
10141
  className: i,
10110
10142
  compact: t = !1,
10111
10143
  skin: e = "basic",
@@ -10116,7 +10148,7 @@ const Zd = G(
10116
10148
  "table",
10117
10149
  {
10118
10150
  "data-testid": "pkt-table",
10119
- className: gt(i, "pkt-table", {
10151
+ className: ft(i, "pkt-table", {
10120
10152
  "pkt-table--responsive": s,
10121
10153
  "pkt-table--compact": t,
10122
10154
  "pkt-table--basic": e === "basic",
@@ -10126,44 +10158,44 @@ const Zd = G(
10126
10158
  ...n,
10127
10159
  children: a
10128
10160
  }
10129
- ), ec = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: gt(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), ic = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
10161
+ ), tc = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: ft(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), ec = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
10130
10162
  "td",
10131
10163
  {
10132
- className: gt(t, "pkt-table__data-cell", {}),
10164
+ className: ft(t, "pkt-table__data-cell", {}),
10133
10165
  "data-label": e,
10134
10166
  role: "cell",
10135
10167
  "data-testid": "pkt-table__data-cell",
10136
10168
  ...s,
10137
10169
  children: i
10138
10170
  }
10139
- ), sc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: gt(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), ac = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: gt(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), nc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: gt(i, "pkt-table__row", {}), role: "row", ...e, children: t }), Wh = Lt({
10171
+ ), ic = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: ft(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), sc = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: ft(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), ac = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: ft(i, "pkt-table__row", {}), role: "row", ...e, children: t }), zh = zt({
10140
10172
  tagName: "pkt-tag",
10141
- elementClass: qt,
10173
+ elementClass: Ht,
10142
10174
  react: dn,
10143
10175
  displayName: "PktTag",
10144
10176
  events: {
10145
10177
  onClose: "close"
10146
10178
  }
10147
- }), rn = G(
10148
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Wh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10179
+ }), rn = Y(
10180
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(zh, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10149
10181
  );
10150
10182
  rn.displayName = "PktTag";
10151
- const on = G(
10183
+ const on = Y(
10152
10184
  ({ children: i, active: t, href: e, onClick: s, icon: a, controls: n, tag: r, tagSkin: l, index: d = 0 }, p) => {
10153
- const { arrowNav: f, registerTabRef: g, handleKeyPress: k, selectTab: b } = Kh(), w = {
10154
- "aria-selected": f ? !!t : void 0,
10185
+ const { arrowNav: g, registerTabRef: f, handleKeyPress: k, selectTab: b } = Wh(), w = {
10186
+ "aria-selected": g ? !!t : void 0,
10155
10187
  "aria-controls": n,
10156
- role: f ? "tab" : void 0,
10188
+ role: g ? "tab" : void 0,
10157
10189
  onKeyUp: (P) => k(d, P),
10158
10190
  onClick: (P) => {
10159
10191
  b(d), s == null || s(P);
10160
10192
  },
10161
- tabIndex: t || !f ? void 0 : -1,
10193
+ tabIndex: t || !g ? void 0 : -1,
10162
10194
  ref: (P) => {
10163
- g(d, P), typeof p == "function" ? p(P) : p && (p.current = P);
10195
+ f(d, P), typeof p == "function" ? p(P) : p && (p.current = P);
10164
10196
  }
10165
10197
  }, C = /* @__PURE__ */ x(Gt, { children: [
10166
- a && /* @__PURE__ */ h(B, { name: a, className: "pkt-icon--small" }),
10198
+ a && /* @__PURE__ */ h(R, { name: a, className: "pkt-icon--small" }),
10167
10199
  i,
10168
10200
  r && /* @__PURE__ */ h(rn, { skin: l, size: "small", children: r })
10169
10201
  ] });
@@ -10171,23 +10203,23 @@ const on = G(
10171
10203
  }
10172
10204
  );
10173
10205
  on.displayName = "PktTabItem";
10174
- const ln = Na(null), Kh = () => {
10206
+ const ln = Na(null), Wh = () => {
10175
10207
  const i = Aa(ln);
10176
10208
  if (!i)
10177
10209
  throw new Error("TabItem must be used within a Tabs component");
10178
10210
  return i;
10179
- }, rc = G(
10211
+ }, nc = Y(
10180
10212
  ({ arrowNav: i = !0, disableArrowNav: t = !1, tabs: e, onTabSelected: s, children: a }, n) => {
10181
10213
  const r = gn([]), l = i && !t, p = a && Es.count(a) > 0 ? Es.count(a) : (e == null ? void 0 : e.length) || 0;
10182
10214
  as(() => {
10183
10215
  r.current = r.current.slice(0, p);
10184
10216
  }, [p]);
10185
- const f = (y) => {
10217
+ const g = (y) => {
10186
10218
  const w = e == null ? void 0 : e[y];
10187
10219
  w != null && w.action && w.action(y), s && s(y);
10188
- }, g = (y, w) => {
10220
+ }, f = (y, w) => {
10189
10221
  var C, P;
10190
- l && (w.code === "ArrowLeft" && y !== 0 && ((C = r.current[y - 1]) == null || C.focus()), w.code === "ArrowRight" && y < p - 1 && ((P = r.current[y + 1]) == null || P.focus()), (w.code === "ArrowDown" || w.code === "Space") && f(y));
10222
+ l && (w.code === "ArrowLeft" && y !== 0 && ((C = r.current[y - 1]) == null || C.focus()), w.code === "ArrowRight" && y < p - 1 && ((P = r.current[y + 1]) == null || P.focus()), (w.code === "ArrowDown" || w.code === "Space") && g(y));
10191
10223
  }, k = (y, w) => {
10192
10224
  r.current[y] = w;
10193
10225
  }, b = e == null ? void 0 : e.map((y, w) => {
@@ -10197,7 +10229,7 @@ const ln = Na(null), Kh = () => {
10197
10229
  {
10198
10230
  active: y.active,
10199
10231
  href: y.href,
10200
- onClick: () => f(w),
10232
+ onClick: () => g(w),
10201
10233
  icon: y.icon,
10202
10234
  controls: y.controls,
10203
10235
  tag: (C = y.tag) == null ? void 0 : C.text,
@@ -10208,9 +10240,9 @@ const ln = Na(null), Kh = () => {
10208
10240
  w
10209
10241
  );
10210
10242
  });
10211
- return /* @__PURE__ */ h(ln.Provider, { value: { arrowNav: l, registerTabRef: k, handleKeyPress: g, selectTab: f }, children: /* @__PURE__ */ h("div", { className: "pkt-tabs", ref: n, children: /* @__PURE__ */ h("div", { className: "pkt-tabs__list", role: l ? "tablist" : "navigation", children: a || b }) }) });
10243
+ return /* @__PURE__ */ h(ln.Provider, { value: { arrowNav: l, registerTabRef: k, handleKeyPress: f, selectTab: g }, children: /* @__PURE__ */ h("div", { className: "pkt-tabs", ref: n, children: /* @__PURE__ */ h("div", { className: "pkt-tabs__list", role: l ? "tablist" : "navigation", children: a || b }) }) });
10212
10244
  }
10213
- ), oc = G(
10245
+ ), rc = Y(
10214
10246
  ({
10215
10247
  id: i,
10216
10248
  ariaDescribedby: t,
@@ -10222,8 +10254,8 @@ const ln = Na(null), Kh = () => {
10222
10254
  errorMessage: l,
10223
10255
  hasError: d,
10224
10256
  helptext: p,
10225
- helptextDropdown: f,
10226
- helptextDropdownButton: g,
10257
+ helptextDropdown: g,
10258
+ helptextDropdownButton: f,
10227
10259
  inline: k,
10228
10260
  fullwidth: b = !1,
10229
10261
  label: y,
@@ -10243,15 +10275,15 @@ const ln = Na(null), Kh = () => {
10243
10275
  maxLength: Ot,
10244
10276
  readOnly: at = !1,
10245
10277
  skipForwardTestid: D = !1,
10246
- ...$t
10278
+ ..._t
10247
10279
  }, Qt) => {
10248
- const le = [n, "pkt-textinput", "pkt-textarea"].join(" "), te = `${i}-input`, Se = `${te}-label`, ze = e || Se, [he, Ht] = oi(0), ot = (Ce) => {
10249
- var Te, de;
10250
- if (s && Ht(((de = (Te = Ce.currentTarget) == null ? void 0 : Te.value) == null ? void 0 : de.length) || 0), At)
10251
- return At(Ce);
10280
+ const le = [n, "pkt-textinput", "pkt-textarea"].join(" "), te = `${i}-input`, xe = `${te}-label`, ze = e || xe, [he, Ut] = oi(0), ot = (Se) => {
10281
+ var Ce, de;
10282
+ if (s && Ut(((de = (Ce = Se.currentTarget) == null ? void 0 : Ce.value) == null ? void 0 : de.length) || 0), At)
10283
+ return At(Se);
10252
10284
  };
10253
10285
  return as(() => {
10254
- Q !== void 0 && Ht((Q == null ? void 0 : Q.length) || 0);
10286
+ Q !== void 0 && Ut((Q == null ? void 0 : Q.length) || 0);
10255
10287
  }, [Q]), /* @__PURE__ */ h(
10256
10288
  cs,
10257
10289
  {
@@ -10262,8 +10294,8 @@ const ln = Na(null), Kh = () => {
10262
10294
  forId: te,
10263
10295
  hasError: d,
10264
10296
  helptext: p,
10265
- helptextDropdown: f,
10266
- helptextDropdownButton: g,
10297
+ helptextDropdown: g,
10298
+ helptextDropdownButton: f,
10267
10299
  inline: k,
10268
10300
  label: y,
10269
10301
  optionalTag: C,
@@ -10288,7 +10320,7 @@ const ln = Na(null), Kh = () => {
10288
10320
  "aria-labelledby": ze,
10289
10321
  "aria-invalid": d,
10290
10322
  "aria-errormessage": `${i}-error`,
10291
- ...$t,
10323
+ ..._t,
10292
10324
  onChange: ot,
10293
10325
  value: Q,
10294
10326
  autoComplete: st,
@@ -10300,7 +10332,7 @@ const ln = Na(null), Kh = () => {
10300
10332
  }
10301
10333
  );
10302
10334
  }
10303
- ), lc = G(
10335
+ ), oc = Y(
10304
10336
  ({
10305
10337
  id: i,
10306
10338
  ariaDescribedby: t,
@@ -10312,8 +10344,8 @@ const ln = Na(null), Kh = () => {
10312
10344
  disabled: l = !1,
10313
10345
  errorMessage: d,
10314
10346
  hasError: p = !1,
10315
- helptext: f,
10316
- helptextDropdown: g,
10347
+ helptext: g,
10348
+ helptextDropdown: f,
10317
10349
  helptextDropdownButton: k,
10318
10350
  iconNameRight: b,
10319
10351
  inline: y = !1,
@@ -10333,17 +10365,17 @@ const ln = Na(null), Kh = () => {
10333
10365
  omitSearchIcon: Ot = !1,
10334
10366
  value: at,
10335
10367
  minLength: D,
10336
- maxLength: $t,
10368
+ maxLength: _t,
10337
10369
  min: Qt,
10338
10370
  max: le,
10339
10371
  step: te,
10340
- size: Se,
10372
+ size: xe,
10341
10373
  readonly: ze,
10342
10374
  required: he,
10343
- dataTestid: Ht,
10375
+ dataTestid: Ut,
10344
10376
  onChange: ot,
10345
- skipForwardTestid: Ce = !1,
10346
- ...Te
10377
+ skipForwardTestid: Se = !1,
10378
+ ...Ce
10347
10379
  }, de) => {
10348
10380
  const ps = [r, "pkt-textinput"].join(" "), Fi = st === "search" && !b && !Ot, us = st === "date" && at ? at.slice(0, 10) : at, [Ui, We] = oi((at == null ? void 0 : at.length) || 0), Ke = `${i}`, ui = `${Ke}-label`, Hi = e || ui, ms = (fe) => {
10349
10381
  var qi, zi;
@@ -10360,8 +10392,8 @@ const ln = Na(null), Kh = () => {
10360
10392
  errorMessage: d,
10361
10393
  forId: Ke,
10362
10394
  hasError: p,
10363
- helptext: f,
10364
- helptextDropdown: g,
10395
+ helptext: g,
10396
+ helptextDropdown: f,
10365
10397
  helptextDropdownButton: k,
10366
10398
  inline: y,
10367
10399
  label: C,
@@ -10378,14 +10410,14 @@ const ln = Na(null), Kh = () => {
10378
10410
  "div",
10379
10411
  {
10380
10412
  className: "pkt-input__container",
10381
- "data-testid": Ht,
10382
- "data-skip-forward-testid": Ce ? "true" : void 0,
10413
+ "data-testid": Ut,
10414
+ "data-skip-forward-testid": Se ? "true" : void 0,
10383
10415
  children: [
10384
10416
  At && /* @__PURE__ */ h("div", { className: "pkt-input-prefix", children: At }),
10385
10417
  /* @__PURE__ */ h(
10386
10418
  "input",
10387
10419
  {
10388
- ...Te,
10420
+ ...Ce,
10389
10421
  ref: de,
10390
10422
  className: `pkt-input ${w ? "pkt-input--fullwidth" : ""} ${n && Ui > n ? "pkt-input--counter-error" : ""}`,
10391
10423
  type: st,
@@ -10403,18 +10435,18 @@ const ln = Na(null), Kh = () => {
10403
10435
  onChange: ms,
10404
10436
  step: te,
10405
10437
  minLength: D,
10406
- maxLength: $t,
10407
- size: Se,
10438
+ maxLength: _t,
10439
+ size: xe,
10408
10440
  required: he
10409
10441
  }
10410
10442
  ),
10411
10443
  Q && /* @__PURE__ */ x("p", { className: "pkt-input-suffix", children: [
10412
10444
  Q,
10413
- b && /* @__PURE__ */ h(B, { className: "pkt-input-suffix-icon", name: b }),
10414
- Fi && /* @__PURE__ */ h(B, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10445
+ b && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: b }),
10446
+ Fi && /* @__PURE__ */ h(R, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
10415
10447
  ] }),
10416
- !Q && b && /* @__PURE__ */ h(B, { className: "pkt-input-icon", name: b }),
10417
- !Q && Fi && /* @__PURE__ */ h(B, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10448
+ !Q && b && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: b }),
10449
+ !Q && Fi && /* @__PURE__ */ h(R, { className: "pkt-input-icon", name: "magnifying-glass-big" })
10418
10450
  ]
10419
10451
  }
10420
10452
  )
@@ -10427,41 +10459,41 @@ export {
10427
10459
  fh as PktAccordionItem,
10428
10460
  nn as PktAlert,
10429
10461
  yh as PktBackLink,
10430
- Wd as PktBreadcrumbs,
10462
+ zd as PktBreadcrumbs,
10431
10463
  ri as PktButton,
10432
10464
  $h as PktCard,
10433
10465
  _h as PktCheckbox,
10434
10466
  xh as PktCombobox,
10435
10467
  js as PktConsent,
10436
10468
  Ch as PktDatepicker,
10437
- Kd as PktFooter,
10438
- Gd as PktFooterSimple,
10439
- Yd as PktHeader,
10469
+ Wd as PktFooter,
10470
+ Kd as PktFooterSimple,
10471
+ Gd as PktHeader,
10440
10472
  Nh as PktHeading,
10441
10473
  Eh as PktHelptext,
10442
- B as PktIcon,
10474
+ R as PktIcon,
10443
10475
  Oh as PktInput,
10444
10476
  cs as PktInputWrapper,
10445
- Mh as PktLink,
10446
- Ih as PktLinkCard,
10447
- Rh as PktLoader,
10448
- Lh as PktMessagebox,
10449
- Vh as PktModal,
10450
- Fh as PktProgressbar,
10451
- Uh as PktRadioButton,
10452
- Zd as PktSearchInput,
10453
- Xd as PktSelect,
10454
- Jd as PktStep,
10455
- Qd as PktStepper,
10477
+ Ph as PktLink,
10478
+ Mh as PktLinkCard,
10479
+ Dh as PktLoader,
10480
+ Rh as PktMessagebox,
10481
+ Bh as PktModal,
10482
+ jh as PktProgressbar,
10483
+ Fh as PktRadioButton,
10484
+ Yd as PktSearchInput,
10485
+ Zd as PktSelect,
10486
+ Xd as PktStep,
10487
+ Jd as PktStepper,
10456
10488
  on as PktTabItem,
10457
- tc as PktTable,
10458
- ec as PktTableBody,
10459
- ic as PktTableDataCell,
10460
- sc as PktTableHeader,
10461
- ac as PktTableHeaderCell,
10462
- nc as PktTableRow,
10463
- rc as PktTabs,
10489
+ Qd as PktTable,
10490
+ tc as PktTableBody,
10491
+ ec as PktTableDataCell,
10492
+ ic as PktTableHeader,
10493
+ sc as PktTableHeaderCell,
10494
+ ac as PktTableRow,
10495
+ nc as PktTabs,
10464
10496
  rn as PktTag,
10465
- oc as PktTextarea,
10466
- lc as PktTextinput
10497
+ rc as PktTextarea,
10498
+ oc as PktTextinput
10467
10499
  };