@oslokommune/punkt-react 14.1.1 → 14.2.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.
@@ -34,7 +34,7 @@
34
34
  };
35
35
  }
36
36
  import { jsx as h, jsxs as x, Fragment as de } from "react/jsx-runtime";
37
- import oe, { createContext as Gn, forwardRef as X, useContext as Zn, useState as It, useEffect as Pt, useCallback as Pe, useRef as Zt, Fragment as Da, useMemo as Jn, createRef as Ia, createElement as Ra, Children as Ws, isValidElement as La, cloneElement as Ba } from "react";
37
+ import oe, { createContext as Gn, forwardRef as X, useContext as Zn, useState as It, useEffect as Pt, useCallback as Pe, useRef as Jt, Fragment as Da, useMemo as Jn, createRef as Ia, createElement as Ra, Children as Ws, isValidElement as La, cloneElement as Ba } from "react";
38
38
  import { Link as hn } from "react-router-dom";
39
39
  const Xn = Gn({}), Fa = () => Zn(Xn), ja = X(
40
40
  ({ compact: i = !1, skin: t = "borderless", ariaLabelledBy: e, children: s, name: n, className: a }, r) => {
@@ -1021,7 +1021,7 @@ var Cr = Object.defineProperty, Tr = Object.getOwnPropertyDescriptor, ss = (i, t
1021
1021
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
1022
1022
  return s && n && Cr(t, e, n), n;
1023
1023
  };
1024
- const Gs = "https://punkt-cdn.oslo.kommune.no/14.1/icons/";
1024
+ const Gs = "https://punkt-cdn.oslo.kommune.no/14.2/icons/";
1025
1025
  typeof window < "u" && (window.pktFetch = window.pktFetch === void 0 ? fetch : window.pktFetch, window.pktIconPath = window.pktIconPath || Gs);
1026
1026
  const Nr = (i) => new Promise((t) => setTimeout(t, i)), ms = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', Fs = {}, Ar = async (i, t) => {
1027
1027
  let e = 0;
@@ -1080,7 +1080,7 @@ var Er = Object.defineProperty, Or = Object.getOwnPropertyDescriptor, bt = (i, t
1080
1080
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
1081
1081
  return s && n && Er(t, e, n), n;
1082
1082
  };
1083
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.1/animations/";
1083
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.2/animations/";
1084
1084
  let dt = class extends G {
1085
1085
  constructor() {
1086
1086
  super(), this.defaultSlot = O(), 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 at(this, this.defaultSlot);
@@ -1481,11 +1481,11 @@ const da = 6048e5, Vr = 864e5, Nn = Symbol.for("constructDateFrom");
1481
1481
  function pe(i, t) {
1482
1482
  return typeof i == "function" ? i(t) : i && typeof i == "object" && Nn in i ? i[Nn](t) : i instanceof Date ? new i.constructor(t) : new Date(t);
1483
1483
  }
1484
- function zt(i, t) {
1484
+ function qt(i, t) {
1485
1485
  return pe(t || i, i);
1486
1486
  }
1487
1487
  function An(i, t, e) {
1488
- const s = zt(i, void 0);
1488
+ const s = qt(i, void 0);
1489
1489
  return isNaN(t) ? pe(i, NaN) : (t && s.setDate(s.getDate() + t), s);
1490
1490
  }
1491
1491
  let Hr = {};
@@ -1494,14 +1494,14 @@ function As() {
1494
1494
  }
1495
1495
  function Ji(i, t) {
1496
1496
  var e, s, n, a;
1497
- const r = As(), 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 ?? ((a = (n = r.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? 0, c = zt(i, t == null ? void 0 : t.in), p = c.getDay(), g = (p < l ? 7 : 0) + p - l;
1497
+ const r = As(), 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 ?? ((a = (n = r.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? 0, c = qt(i, t == null ? void 0 : t.in), p = c.getDay(), g = (p < l ? 7 : 0) + p - l;
1498
1498
  return c.setDate(c.getDate() - g), c.setHours(0, 0, 0, 0), c;
1499
1499
  }
1500
1500
  function $s(i, t) {
1501
1501
  return Ji(i, { ...t, weekStartsOn: 1 });
1502
1502
  }
1503
1503
  function pa(i, t) {
1504
- const e = zt(i, void 0), s = e.getFullYear(), n = pe(e, 0);
1504
+ const e = qt(i, void 0), s = e.getFullYear(), n = pe(e, 0);
1505
1505
  n.setFullYear(s + 1, 0, 4), n.setHours(0, 0, 0, 0);
1506
1506
  const a = $s(n), r = pe(e, 0);
1507
1507
  r.setFullYear(s, 0, 4), r.setHours(0, 0, 0, 0);
@@ -1509,7 +1509,7 @@ function pa(i, t) {
1509
1509
  return e.getTime() >= a.getTime() ? s + 1 : e.getTime() >= l.getTime() ? s : s - 1;
1510
1510
  }
1511
1511
  function En(i) {
1512
- const t = zt(i), e = new Date(
1512
+ const t = qt(i), e = new Date(
1513
1513
  Date.UTC(
1514
1514
  t.getFullYear(),
1515
1515
  t.getMonth(),
@@ -1530,7 +1530,7 @@ function ma(i, ...t) {
1530
1530
  return t.map(e);
1531
1531
  }
1532
1532
  function On(i, t) {
1533
- const e = zt(i, void 0);
1533
+ const e = qt(i, void 0);
1534
1534
  return e.setHours(0, 0, 0, 0), e;
1535
1535
  }
1536
1536
  function Ur(i, t, e) {
@@ -1549,7 +1549,7 @@ function qr(i) {
1549
1549
  return i instanceof Date || typeof i == "object" && Object.prototype.toString.call(i) === "[object Date]";
1550
1550
  }
1551
1551
  function Wr(i) {
1552
- return !(!qr(i) && typeof i != "number" || isNaN(+zt(i)));
1552
+ return !(!qr(i) && typeof i != "number" || isNaN(+qt(i)));
1553
1553
  }
1554
1554
  function Kr(i, t) {
1555
1555
  const [e, s] = ma(i, t.start, t.end);
@@ -1567,7 +1567,7 @@ function fa(i, t) {
1567
1567
  return n ? c.reverse() : c;
1568
1568
  }
1569
1569
  function Yr(i, t) {
1570
- const e = zt(i, void 0);
1570
+ const e = qt(i, void 0);
1571
1571
  return e.setFullYear(e.getFullYear(), 0, 1), e.setHours(0, 0, 0, 0), e;
1572
1572
  }
1573
1573
  const Gr = {
@@ -2002,16 +2002,16 @@ const fo = /^(\d+)(th|st|nd|rd)?/i, go = /\d+/i, vo = {
2002
2002
  }
2003
2003
  };
2004
2004
  function Ao(i, t) {
2005
- const e = zt(i, void 0);
2005
+ const e = qt(i, void 0);
2006
2006
  return Ur(e, Yr(e)) + 1;
2007
2007
  }
2008
2008
  function Eo(i, t) {
2009
- const e = zt(i, void 0), s = +$s(e) - +zr(e);
2009
+ const e = qt(i, void 0), s = +$s(e) - +zr(e);
2010
2010
  return Math.round(s / da) + 1;
2011
2011
  }
2012
2012
  function ga(i, t) {
2013
2013
  var e, s, n, a;
2014
- const r = zt(i, t == null ? void 0 : t.in), l = r.getFullYear(), c = As(), 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) ?? c.firstWeekContainsDate ?? ((a = (n = c.locale) == null ? void 0 : n.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, g = pe((t == null ? void 0 : t.in) || i, 0);
2014
+ const r = qt(i, t == null ? void 0 : t.in), l = r.getFullYear(), c = As(), 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) ?? c.firstWeekContainsDate ?? ((a = (n = c.locale) == null ? void 0 : n.options) == null ? void 0 : a.firstWeekContainsDate) ?? 1, g = pe((t == null ? void 0 : t.in) || i, 0);
2015
2015
  g.setFullYear(l + 1, 0, p), g.setHours(0, 0, 0, 0);
2016
2016
  const v = Ji(g, t), $ = pe((t == null ? void 0 : t.in) || i, 0);
2017
2017
  $.setFullYear(l, 0, p), $.setHours(0, 0, 0, 0);
@@ -2024,7 +2024,7 @@ function Oo(i, t) {
2024
2024
  return p.setFullYear(c, 0, l), p.setHours(0, 0, 0, 0), Ji(p, t);
2025
2025
  }
2026
2026
  function va(i, t) {
2027
- const e = zt(i, t == null ? void 0 : t.in), s = +Ji(e, t) - +Oo(e, t);
2027
+ const e = qt(i, t == null ? void 0 : t.in), s = +Ji(e, t) - +Oo(e, t);
2028
2028
  return Math.round(s / da) + 1;
2029
2029
  }
2030
2030
  function q(i, t) {
@@ -2724,7 +2724,7 @@ function jo(i, t, e) {
2724
2724
  const Vo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ho = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Uo = /^'([^]*?)'?$/, zo = /''/g, qo = /[a-zA-Z]/;
2725
2725
  function Wo(i, t, e) {
2726
2726
  var s, n, a, r;
2727
- const l = As(), c = l.locale ?? No, p = l.firstWeekContainsDate ?? ((n = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, g = l.weekStartsOn ?? ((r = (a = l.locale) == null ? void 0 : a.options) == null ? void 0 : r.weekStartsOn) ?? 0, v = zt(i, void 0);
2727
+ const l = As(), c = l.locale ?? No, p = l.firstWeekContainsDate ?? ((n = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : n.firstWeekContainsDate) ?? 1, g = l.weekStartsOn ?? ((r = (a = l.locale) == null ? void 0 : a.options) == null ? void 0 : r.weekStartsOn) ?? 0, v = qt(i, void 0);
2728
2728
  if (!Wr(v))
2729
2729
  throw new RangeError("Invalid time value");
2730
2730
  let $ = t.match(Ho).map((b) => {
@@ -2767,7 +2767,7 @@ function Ko(i) {
2767
2767
  return t ? t[1].replace(zo, "'") : i;
2768
2768
  }
2769
2769
  function Yo(i, t) {
2770
- const e = zt(i, void 0).getDay();
2770
+ const e = qt(i, void 0).getDay();
2771
2771
  return e === 0 ? 7 : e;
2772
2772
  }
2773
2773
  function Go(i, t, e = "long") {
@@ -4055,7 +4055,14 @@ const Vn = (i, t, e) => {
4055
4055
  }), Hn = () => ("00000000000000000" + (Math.random() * 18446744073709552e3).toString(16)).slice(-16), Ml = (i) => new Promise((t) => setTimeout(t, i)), Ie = () => {
4056
4056
  const i = Hn(), t = Hn();
4057
4057
  return i.slice(0, 8) + "-" + i.slice(8, 12) + "-4" + i.slice(13) + "-a" + t.slice(1, 4) + "-" + t.slice(4);
4058
- }, Pl = { helptextDropdownButton: { default: "Les mer <span class='pkt-sr-only'>om feltet</span>" }, counter: { default: !1 }, optionalTag: { default: !1 }, optionalText: { default: "Valgfritt" }, requiredTag: { default: !1 }, requiredText: { default: "Må fylles ut" }, hasError: { default: !1 }, disabled: { default: !1 }, inline: { default: !1 }, hasFieldset: { default: !1 }, useWrapper: { default: !0 } }, Ht = {
4058
+ }, Ft = {
4059
+ fromAttribute(i) {
4060
+ return i == null ? !1 : i === "" || i === "true" || i === !0 ? !0 : i === "false" || i === !1 ? !1 : !!i;
4061
+ },
4062
+ toAttribute(i) {
4063
+ return i ? "true" : "false";
4064
+ }
4065
+ }, Pl = { helptextDropdownButton: { default: "Les mer <span class='pkt-sr-only'>om feltet</span>" }, counter: { default: !1 }, optionalTag: { default: !1 }, optionalText: { default: "Valgfritt" }, requiredTag: { default: !1 }, requiredText: { default: "Må fylles ut" }, hasError: { default: !1 }, disabled: { default: !1 }, inline: { default: !1 }, hasFieldset: { default: !1 }, useWrapper: { default: !0 } }, Ut = {
4059
4066
  props: Pl
4060
4067
  };
4061
4068
  var Dl = {}, Un;
@@ -4133,11 +4140,11 @@ function Il() {
4133
4140
  let _ = f.nextNode();
4134
4141
  const R = !d || m.disabled;
4135
4142
  for (; _; )
4136
- _.formDisabledCallback && R && Ft(_, m.disabled), _ = f.nextNode();
4137
- }, E = { attributes: !0, attributeFilter: ["disabled", "name"] }, z = Yt() ? new MutationObserver((m) => {
4143
+ _.formDisabledCallback && R && jt(_, m.disabled), _ = f.nextNode();
4144
+ }, E = { attributes: !0, attributeFilter: ["disabled", "name"] }, z = Gt() ? new MutationObserver((m) => {
4138
4145
  for (const d of m) {
4139
4146
  const f = d.target;
4140
- if (d.attributeName === "disabled" && (f.constructor.formAssociated ? Ft(f, f.hasAttribute("disabled")) : f.localName === "fieldset" && D(f)), d.attributeName === "name" && f.constructor.formAssociated) {
4147
+ if (d.attributeName === "disabled" && (f.constructor.formAssociated ? jt(f, f.hasAttribute("disabled")) : f.localName === "fieldset" && D(f)), d.attributeName === "name" && f.constructor.formAssociated) {
4141
4148
  const _ = n.get(f), R = p.get(f);
4142
4149
  _.setFormValue(R);
4143
4150
  }
@@ -4147,11 +4154,11 @@ function Il() {
4147
4154
  m.forEach((d) => {
4148
4155
  const { addedNodes: f, removedNodes: _ } = d, R = Array.from(f), j = Array.from(_);
4149
4156
  R.forEach((H) => {
4150
- var jt;
4157
+ var Vt;
4151
4158
  if (n.has(H) && H.constructor.formAssociated && A(H), g.has(H)) {
4152
4159
  const $t = g.get(H);
4153
- Object.keys(T).filter((Vt) => $t[Vt] !== null).forEach((Vt) => {
4154
- gt(H, T[Vt], $t[Vt]);
4160
+ Object.keys(T).filter((Ht) => $t[Ht] !== null).forEach((Ht) => {
4161
+ gt(H, T[Ht], $t[Ht]);
4155
4162
  }), g.delete(H);
4156
4163
  }
4157
4164
  if (w.has(H)) {
@@ -4159,19 +4166,19 @@ function Il() {
4159
4166
  gt(H, "internals-valid", $t.validity.valid.toString()), gt(H, "internals-invalid", (!$t.validity.valid).toString()), gt(H, "aria-invalid", (!$t.validity.valid).toString()), w.delete(H);
4160
4167
  }
4161
4168
  if (H.localName === "form") {
4162
- const $t = c.get(H), Vt = document.createTreeWalker(H, NodeFilter.SHOW_ELEMENT, {
4169
+ const $t = c.get(H), Ht = document.createTreeWalker(H, NodeFilter.SHOW_ELEMENT, {
4163
4170
  acceptNode(Ds) {
4164
4171
  return n.has(Ds) && Ds.constructor.formAssociated && !($t && $t.has(Ds)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
4165
4172
  }
4166
4173
  });
4167
- let Pi = Vt.nextNode();
4174
+ let Pi = Ht.nextNode();
4168
4175
  for (; Pi; )
4169
- A(Pi), Pi = Vt.nextNode();
4176
+ A(Pi), Pi = Ht.nextNode();
4170
4177
  }
4171
- H.localName === "fieldset" && ((jt = z.observe) === null || jt === void 0 || jt.call(z, H, E), D(H, !0));
4178
+ H.localName === "fieldset" && ((Vt = z.observe) === null || Vt === void 0 || Vt.call(z, H, E), D(H, !0));
4172
4179
  }), j.forEach((H) => {
4173
- const jt = n.get(H);
4174
- jt && s.get(jt) && Ct(jt), l.has(H) && l.get(H).disconnect();
4180
+ const Vt = n.get(H);
4181
+ Vt && s.get(Vt) && Ct(Vt), l.has(H) && l.get(H).disconnect();
4175
4182
  });
4176
4183
  });
4177
4184
  }
@@ -4189,13 +4196,13 @@ function Il() {
4189
4196
  const _ = new MutationObserver(Et);
4190
4197
  !((d = window == null ? void 0 : window.ShadyDOM) === null || d === void 0) && d.inUse && m.mode && m.host && (m = m.host), (f = _.observe) === null || f === void 0 || f.call(_, m, { childList: !0 }), k.set(m, _);
4191
4198
  };
4192
- Yt() && new MutationObserver(Q);
4199
+ Gt() && new MutationObserver(Q);
4193
4200
  const et = {
4194
4201
  childList: !0,
4195
4202
  subtree: !0
4196
4203
  }, gt = (m, d, f) => {
4197
4204
  m.getAttribute(d) !== f && m.setAttribute(d, f);
4198
- }, Ft = (m, d) => {
4205
+ }, jt = (m, d) => {
4199
4206
  m.toggleAttribute("internals-disabled", d), d ? gt(m, "aria-disabled", "true") : m.removeAttribute("aria-disabled"), m.formDisabledCallback && m.formDisabledCallback.apply(m, [d]);
4200
4207
  }, Ct = (m) => {
4201
4208
  s.get(m).forEach((d) => {
@@ -4218,7 +4225,7 @@ function Il() {
4218
4225
  m.toggleAttribute("internals-invalid", R), m.toggleAttribute("internals-valid", !R);
4219
4226
  }, yt = (m) => {
4220
4227
  F(Dt(m.target));
4221
- }, Kt = (m) => {
4228
+ }, Yt = (m) => {
4222
4229
  F(Dt(m.target));
4223
4230
  }, be = (m) => {
4224
4231
  const d = ["button[type=submit]", "input[type=submit]", "button:not([type])"].map((f) => `${f}:not([disabled])`).map((f) => `${f}:not([form])${m.id ? `,${f}[form='${m.id}']` : ""}`).join(",");
@@ -4242,7 +4249,7 @@ function Il() {
4242
4249
  _.add(m);
4243
4250
  else {
4244
4251
  const R = /* @__PURE__ */ new Set();
4245
- R.add(m), c.set(d, R), be(d), d.addEventListener("reset", ue), d.addEventListener("input", yt), d.addEventListener("change", Kt);
4252
+ R.add(m), c.set(d, R), be(d), d.addEventListener("reset", ue), d.addEventListener("input", yt), d.addEventListener("change", Yt);
4246
4253
  }
4247
4254
  r.set(d, { ref: m, internals: f }), m.constructor.formAssociated && m.formAssociatedCallback && setTimeout(() => {
4248
4255
  m.formAssociatedCallback.apply(m, [d]);
@@ -4265,7 +4272,7 @@ function Il() {
4265
4272
  ce(m, f), ee(m, _, d);
4266
4273
  }
4267
4274
  };
4268
- function Yt() {
4275
+ function Gt() {
4269
4276
  return typeof MutationObserver < "u";
4270
4277
  }
4271
4278
  class hi {
@@ -4279,7 +4286,7 @@ function Il() {
4279
4286
  f !== "valid" && m[f] !== !1 && (d = !1);
4280
4287
  return d;
4281
4288
  }, _e = /* @__PURE__ */ new WeakMap();
4282
- function Gt(m, d) {
4289
+ function Zt(m, d) {
4283
4290
  m.toggleAttribute(d, !0), m.part && m.part.add(d);
4284
4291
  }
4285
4292
  class we extends Set {
@@ -4295,8 +4302,8 @@ function Il() {
4295
4302
  if (!/^--/.test(d) || typeof d != "string")
4296
4303
  throw new DOMException(`Failed to execute 'add' on 'CustomStateSet': The specified value ${d} must start with '--'.`);
4297
4304
  const f = super.add(d), _ = _e.get(this), R = `state${d}`;
4298
- return _.isConnected ? Gt(_, R) : setTimeout(() => {
4299
- Gt(_, R);
4305
+ return _.isConnected ? Zt(_, R) : setTimeout(() => {
4306
+ Zt(_, R);
4300
4307
  }), f;
4301
4308
  }
4302
4309
  clear() {
@@ -4358,10 +4365,10 @@ function Il() {
4358
4365
  const { get: R } = Object.getOwnPropertyDescriptor(HTMLFormElement.prototype, "elements");
4359
4366
  Object.defineProperty(HTMLFormElement.prototype, "elements", {
4360
4367
  get(...j) {
4361
- const H = R.call(this, ...j), jt = Array.from(c.get(this) || []);
4362
- if (jt.length === 0)
4368
+ const H = R.call(this, ...j), Vt = Array.from(c.get(this) || []);
4369
+ if (Vt.length === 0)
4363
4370
  return H;
4364
- const $t = Array.from(H).concat(jt).sort((Vt, Pi) => Vt.compareDocumentPosition ? Vt.compareDocumentPosition(Pi) & 2 ? 1 : -1 : 0);
4371
+ const $t = Array.from(H).concat(Vt).sort((Ht, Pi) => Ht.compareDocumentPosition ? Ht.compareDocumentPosition(Pi) & 2 ? 1 : -1 : 0);
4365
4372
  return new ci($t);
4366
4373
  }
4367
4374
  });
@@ -4433,12 +4440,12 @@ function Il() {
4433
4440
  throw new TypeError("Failed to execute 'setValidity' on 'ElementInternals': 1 argument required, but only 0 present.");
4434
4441
  $.set(this, _);
4435
4442
  const j = e.get(this), H = {};
4436
- for (const Vt in d)
4437
- H[Vt] = d[Vt];
4443
+ for (const Ht in d)
4444
+ H[Ht] = d[Ht];
4438
4445
  Object.keys(H).length === 0 && Ee(j);
4439
- const jt = Object.assign(Object.assign({}, j), H);
4440
- delete jt.valid;
4441
- const { valid: $t } = He(j, jt, this.form);
4446
+ const Vt = Object.assign(Object.assign({}, j), H);
4447
+ delete Vt.valid;
4448
+ const { valid: $t } = He(j, Vt, this.form);
4442
4449
  if (!$t && !f)
4443
4450
  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.");
4444
4451
  a.set(this, $t ? "" : f), R.isConnected ? (R.toggleAttribute("internals-invalid", !$t), R.toggleAttribute("internals-valid", $t), gt(R, "aria-invalid", `${!$t}`)) : w.set(R, this);
@@ -4499,7 +4506,7 @@ function Il() {
4499
4506
  if (_.formAssociated) {
4500
4507
  const j = _.prototype.connectedCallback;
4501
4508
  _.prototype.connectedCallback = function() {
4502
- b.has(this) || (b.set(this, !0), this.hasAttribute("disabled") && Ft(this, !0)), j != null && j.apply(this), $e(this);
4509
+ b.has(this) || (b.set(this, !0), this.hasAttribute("disabled") && jt(this, !0)), j != null && j.apply(this), $e(this);
4503
4510
  };
4504
4511
  }
4505
4512
  d.call(this, f, _, R);
@@ -4516,7 +4523,7 @@ function Il() {
4516
4523
  }), typeof Element < "u") {
4517
4524
  let d = function(..._) {
4518
4525
  const R = f.apply(this, _);
4519
- if (v.set(this, R), Yt()) {
4526
+ if (v.set(this, R), Gt()) {
4520
4527
  const j = new MutationObserver(Q);
4521
4528
  window.ShadyDOM ? j.observe(this, et) : j.observe(R, et), l.set(this, j);
4522
4529
  }
@@ -4525,7 +4532,7 @@ function Il() {
4525
4532
  const f = Element.prototype.attachShadow;
4526
4533
  Element.prototype.attachShadow = d;
4527
4534
  }
4528
- Yt() && typeof document < "u" && new MutationObserver(Q).observe(document.documentElement, et), typeof HTMLFormElement < "u" && Oe(), (m || typeof window < "u" && !window.CustomStateSet) && B();
4535
+ Gt() && typeof document < "u" && new MutationObserver(Q).observe(document.documentElement, et), typeof HTMLFormElement < "u" && Oe(), (m || typeof window < "u" && !window.CustomStateSet) && B();
4529
4536
  }
4530
4537
  }
4531
4538
  return customElements.polyfillWrapFlushCallback || (ls() ? typeof window < "u" && !window.CustomStateSet && B(HTMLElement.prototype.attachInternals) : Ot(!1)), i.forceCustomStateSetPolyfill = B, i.forceElementInternalsPolyfill = Ot, Object.defineProperty(i, "__esModule", { value: !0 }), i;
@@ -4538,17 +4545,9 @@ var Rl = Object.defineProperty, V = (i, t, e, s) => {
4538
4545
  (r = i[a]) && (n = r(t, e, n) || n);
4539
4546
  return n && Rl(t, e, n), n;
4540
4547
  };
4541
- const Ll = {
4542
- fromAttribute(i) {
4543
- return i == null ? !1 : i === "" || i === "true" || i === !0 ? !0 : i === "false" || i === !1 ? !1 : !!i;
4544
- },
4545
- toAttribute(i) {
4546
- return i ? "true" : "false";
4547
- }
4548
- };
4549
4548
  let I = class extends G {
4550
4549
  constructor() {
4551
- 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 = Ie(), 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 = Ht.props.helptextDropdownButton.default, this.label = null, this.optionalText = Mt.forms.labels.optional, this.requiredText = Mt.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4550
+ 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 = Ie(), 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 = Ut.props.helptextDropdownButton.default, this.label = null, this.optionalText = Mt.forms.labels.optional, this.requiredText = Mt.forms.labels.required, this.tagText = null, this.dataTestid = "", this.touched = !1, this.internals = this.attachInternals();
4552
4551
  }
4553
4552
  static get formAssociated() {
4554
4553
  return !0;
@@ -4728,7 +4727,7 @@ V([
4728
4727
  o({ type: Boolean })
4729
4728
  ], I.prototype, "skipForwardTestid");
4730
4729
  V([
4731
- o({ type: Boolean, reflect: !0, converter: Ll })
4730
+ o({ type: Boolean, reflect: !0, converter: Ft })
4732
4731
  ], I.prototype, "useWrapper");
4733
4732
  V([
4734
4733
  o({ type: Boolean, reflect: !0 })
@@ -4801,14 +4800,14 @@ let Sa = class {
4801
4800
  }), e && this.createOptions();
4802
4801
  }
4803
4802
  };
4804
- var Bl = Object.defineProperty, Fl = Object.getOwnPropertyDescriptor, ri = (i, t, e, s) => {
4805
- for (var n = s > 1 ? void 0 : s ? Fl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
4803
+ var Ll = Object.defineProperty, Bl = Object.getOwnPropertyDescriptor, ri = (i, t, e, s) => {
4804
+ for (var n = s > 1 ? void 0 : s ? Bl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
4806
4805
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
4807
- return s && n && Bl(t, e, n), n;
4806
+ return s && n && Ll(t, e, n), n;
4808
4807
  };
4809
4808
  let Ce = class extends G {
4810
4809
  constructor() {
4811
- super(), this.defaultSlot = O(), this.forId = Ie(), this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Ht.props.helptextDropdownButton.default, this.isHelpTextOpen = !1, this.filledSlots = /* @__PURE__ */ new Set(), this.slotController = new at(this, this.defaultSlot);
4810
+ super(), this.defaultSlot = O(), this.forId = Ie(), this.helptext = "", this.helptextDropdown = "", this.helptextDropdownButton = Ut.props.helptextDropdownButton.default, this.isHelpTextOpen = !1, this.filledSlots = /* @__PURE__ */ new Set(), this.slotController = new at(this, this.defaultSlot);
4812
4811
  }
4813
4812
  updateSlots(t) {
4814
4813
  this.filledSlots = new Set(t);
@@ -4877,22 +4876,14 @@ ri([
4877
4876
  Ce = ri([
4878
4877
  L("pkt-helptext")
4879
4878
  ], Ce);
4880
- var jl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, it = (i, t, e, s) => {
4881
- for (var n = s > 1 ? void 0 : s ? Vl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
4879
+ var Fl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, it = (i, t, e, s) => {
4880
+ for (var n = s > 1 ? void 0 : s ? jl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
4882
4881
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
4883
- return s && n && jl(t, e, n), n;
4884
- };
4885
- const Hl = {
4886
- fromAttribute(i) {
4887
- return i == null ? !1 : i === "" || i === "true" || i === !0 ? !0 : i === "false" || i === !1 ? !1 : !!i;
4888
- },
4889
- toAttribute(i) {
4890
- return i ? "true" : "false";
4891
- }
4882
+ return s && n && Fl(t, e, n), n;
4892
4883
  };
4893
4884
  let tt = class extends G {
4894
4885
  constructor() {
4895
- super(), this.defaultSlot = O(), this.helptextSlot = O(), this.forId = Ie(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = Ht.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = Ht.props.optionalTag.default, this.optionalText = Ht.props.optionalText.default, this.requiredTag = Ht.props.requiredTag.default, this.requiredText = Ht.props.requiredText.default, this.tagText = null, this.hasError = Ht.props.hasError.default, this.errorMessage = "", this.disabled = Ht.props.disabled.default, this.inline = Ht.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = Ht.props.hasFieldset.default, this.role = "group", this.useWrapper = Ht.props.useWrapper.default, this.slotController = new at(this, this.defaultSlot, this.helptextSlot);
4886
+ super(), this.defaultSlot = O(), this.helptextSlot = O(), this.forId = Ie(), this.label = "", this.helptext = null, this.helptextDropdown = null, this.helptextDropdownButton = null, this.counter = Ut.props.counter.default, this.counterCurrent = 0, this.counterMaxLength = 0, this.counterError = null, this.counterPosition = "bottom", this.optionalTag = Ut.props.optionalTag.default, this.optionalText = Ut.props.optionalText.default, this.requiredTag = Ut.props.requiredTag.default, this.requiredText = Ut.props.requiredText.default, this.tagText = null, this.hasError = Ut.props.hasError.default, this.errorMessage = "", this.disabled = Ut.props.disabled.default, this.inline = Ut.props.inline.default, this.ariaDescribedby = void 0, this.hasFieldset = Ut.props.hasFieldset.default, this.role = "group", this.useWrapper = Ut.props.useWrapper.default, this.slotController = new at(this, this.defaultSlot, this.helptextSlot);
4896
4887
  }
4897
4888
  updated(t) {
4898
4889
  super.updated(t);
@@ -4933,7 +4924,7 @@ let tt = class extends G {
4933
4924
  .forId=${this.forId}
4934
4925
  .helptext=${this.helptext}
4935
4926
  .helptextDropdown=${this.helptextDropdown}
4936
- .helptextDropdownButton=${this.helptextDropdownButton || Ht.props.helptextDropdownButton.default}
4927
+ .helptextDropdownButton=${this.helptextDropdownButton || Ut.props.helptextDropdownButton.default}
4937
4928
  @toggleHelpText=${(v) => {
4938
4929
  this.toggleDropdown(v);
4939
4930
  }}
@@ -5048,15 +5039,15 @@ it([
5048
5039
  o({ type: String, reflect: !0 })
5049
5040
  ], tt.prototype, "role", 2);
5050
5041
  it([
5051
- o({ type: Boolean, reflect: !0, converter: Hl })
5042
+ o({ type: Boolean, reflect: !0, converter: Ft })
5052
5043
  ], tt.prototype, "useWrapper", 2);
5053
5044
  tt = it([
5054
5045
  L("pkt-input-wrapper")
5055
5046
  ], tt);
5056
- var Ul = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Nt = (i, t, e, s) => {
5057
- for (var n = s > 1 ? void 0 : s ? zl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5047
+ var Vl = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, Nt = (i, t, e, s) => {
5048
+ for (var n = s > 1 ? void 0 : s ? Hl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5058
5049
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
5059
- return s && n && Ul(t, e, n), n;
5050
+ return s && n && Vl(t, e, n), n;
5060
5051
  };
5061
5052
  let _t = class extends G {
5062
5053
  constructor() {
@@ -5404,17 +5395,17 @@ Nt([
5404
5395
  _t = Nt([
5405
5396
  L("pkt-listbox")
5406
5397
  ], _t);
5407
- const ql = { displayValueAs: { default: "label" } }, Wl = {
5408
- props: ql
5398
+ const Ul = { displayValueAs: { default: "label" } }, zl = {
5399
+ props: Ul
5409
5400
  };
5410
- var Kl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, ut = (i, t, e, s) => {
5411
- for (var n = s > 1 ? void 0 : s ? Yl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5401
+ var ql = Object.defineProperty, Wl = Object.getOwnPropertyDescriptor, ut = (i, t, e, s) => {
5402
+ for (var n = s > 1 ? void 0 : s ? Wl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5412
5403
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
5413
- return s && n && Kl(t, e, n), n;
5404
+ return s && n && ql(t, e, n), n;
5414
5405
  };
5415
5406
  let st = class extends I {
5416
5407
  constructor() {
5417
- super(), this.helptextSlot = O(), this.value = "", this.options = [], this.defaultOptions = [], this.allowUserInput = !1, this.typeahead = !1, this.includeSearch = !1, this.searchPlaceholder = "", this.multiple = !1, this.maxlength = null, this.displayValueAs = Wl.props.displayValueAs.default, this.tagPlacement = null, this._options = [], this._isOptionsOpen = !1, this._value = [], this._userInfoMessage = "", this._addValueText = null, this._maxIsReached = !1, this._search = "", this._inputFocus = !1, this._editingSingleValue = !1, this.inputRef = O(), this.arrowRef = O(), this.listboxRef = O(), this.focusRef = O(), this.optionTagRef = O(), this.optionsController = new Sa(this), this.slotController = new at(this, this.helptextSlot), this.slotController.skipOptions = !0;
5408
+ super(), this.helptextSlot = O(), this.value = "", this.options = [], this.defaultOptions = [], this.allowUserInput = !1, this.typeahead = !1, this.includeSearch = !1, this.searchPlaceholder = "", this.multiple = !1, this.maxlength = null, this.displayValueAs = zl.props.displayValueAs.default, this.tagPlacement = null, this._options = [], this._isOptionsOpen = !1, this._value = [], this._userInfoMessage = "", this._addValueText = null, this._maxIsReached = !1, this._search = "", this._inputFocus = !1, this._editingSingleValue = !1, this.inputRef = O(), this.arrowRef = O(), this.listboxRef = O(), this.focusRef = O(), this.optionTagRef = O(), this.optionsController = new Sa(this), this.slotController = new at(this, this.helptextSlot), this.slotController.skipOptions = !0;
5418
5409
  }
5419
5410
  // Lifecycle methods
5420
5411
  connectedCallback() {
@@ -5922,7 +5913,7 @@ ut([
5922
5913
  st = ut([
5923
5914
  L("pkt-combobox")
5924
5915
  ], st);
5925
- const Gl = {
5916
+ const Kl = {
5926
5917
  i18n: {
5927
5918
  nb: {
5928
5919
  contentPresentation: {
@@ -5975,13 +5966,13 @@ const Gl = {
5975
5966
  }
5976
5967
  }
5977
5968
  };
5978
- var Zl = Object.defineProperty, Jl = Object.getOwnPropertyDescriptor, ve = (i, t, e, s) => {
5979
- for (var n = s > 1 ? void 0 : s ? Jl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5969
+ var Yl = Object.defineProperty, Gl = Object.getOwnPropertyDescriptor, ve = (i, t, e, s) => {
5970
+ for (var n = s > 1 ? void 0 : s ? Gl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
5980
5971
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
5981
- return s && n && Zl(t, e, n), n;
5972
+ return s && n && Yl(t, e, n), n;
5982
5973
  };
5983
5974
  let Vs = null;
5984
- function Xl() {
5975
+ function Zl() {
5985
5976
  return Vs || (Vs = new Promise((i, t) => {
5986
5977
  if (document.querySelector("#oslo-consent-script")) {
5987
5978
  i();
@@ -5993,12 +5984,12 @@ function Xl() {
5993
5984
  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);
5994
5985
  }), Vs);
5995
5986
  }
5996
- let Jt = class extends G {
5987
+ let Xt = class extends G {
5997
5988
  constructor() {
5998
5989
  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";
5999
5990
  }
6000
5991
  connectedCallback() {
6001
- super.connectedCallback(), this.triggerText = this.triggerText || Gl.i18n[this.i18nLanguage].contentPresentation.buttons.settings;
5992
+ super.connectedCallback(), this.triggerText = this.triggerText || Kl.i18n[this.i18nLanguage].contentPresentation.buttons.settings;
6002
5993
  }
6003
5994
  disconnectedCallback() {
6004
5995
  var t;
@@ -6024,7 +6015,7 @@ let Jt = class extends G {
6024
6015
  );
6025
6016
  }
6026
6017
  async firstUpdated(t) {
6027
- window.cookieBanner_googleAnalyticsId = this.googleAnalyticsId, window.cookieBanner_hotjarId = this.hotjarId, this.cookieDomain && (window.cookieBanner_cookieDomain = this.cookieDomain), this.cookieSecure && (window.cookieBanner_cookieSecure = this.cookieSecure), this.cookieExpiryDays && (window.cookieBanner_cookieExpiryDays = this.cookieExpiryDays), this.devMode && (window.cookieBanner_devMode = this.devMode), await Xl(), this.triggerInit();
6018
+ window.cookieBanner_googleAnalyticsId = this.googleAnalyticsId, window.cookieBanner_hotjarId = this.hotjarId, this.cookieDomain && (window.cookieBanner_cookieDomain = this.cookieDomain), this.cookieSecure && (window.cookieBanner_cookieSecure = this.cookieSecure), this.cookieExpiryDays && (window.cookieBanner_cookieExpiryDays = this.cookieExpiryDays), this.devMode && (window.cookieBanner_devMode = this.devMode), await Zl(), this.triggerInit();
6028
6019
  }
6029
6020
  triggerInit() {
6030
6021
  window.document.dispatchEvent(
@@ -6061,38 +6052,38 @@ let Jt = class extends G {
6061
6052
  };
6062
6053
  ve([
6063
6054
  o({ type: Boolean })
6064
- ], Jt.prototype, "devMode", 2);
6055
+ ], Xt.prototype, "devMode", 2);
6065
6056
  ve([
6066
6057
  o({ type: String })
6067
- ], Jt.prototype, "hotjarId", 2);
6058
+ ], Xt.prototype, "hotjarId", 2);
6068
6059
  ve([
6069
6060
  o({ type: String })
6070
- ], Jt.prototype, "googleAnalyticsId", 2);
6061
+ ], Xt.prototype, "googleAnalyticsId", 2);
6071
6062
  ve([
6072
6063
  o({ type: String })
6073
- ], Jt.prototype, "cookieDomain", 2);
6064
+ ], Xt.prototype, "cookieDomain", 2);
6074
6065
  ve([
6075
6066
  o({ type: String })
6076
- ], Jt.prototype, "cookieSecure", 2);
6067
+ ], Xt.prototype, "cookieSecure", 2);
6077
6068
  ve([
6078
6069
  o({ type: String })
6079
- ], Jt.prototype, "cookieExpiryDays", 2);
6070
+ ], Xt.prototype, "cookieExpiryDays", 2);
6080
6071
  ve([
6081
6072
  o({ type: String })
6082
- ], Jt.prototype, "triggerType", 2);
6073
+ ], Xt.prototype, "triggerType", 2);
6083
6074
  ve([
6084
6075
  o({ type: String })
6085
- ], Jt.prototype, "triggerText", 2);
6076
+ ], Xt.prototype, "triggerText", 2);
6086
6077
  ve([
6087
6078
  o({ type: String })
6088
- ], Jt.prototype, "i18nLanguage", 2);
6089
- Jt = ve([
6079
+ ], Xt.prototype, "i18nLanguage", 2);
6080
+ Xt = ve([
6090
6081
  L("pkt-consent")
6091
- ], Jt);
6092
- var Ql = Object.defineProperty, th = Object.getOwnPropertyDescriptor, At = (i, t, e, s) => {
6093
- for (var n = s > 1 ? void 0 : s ? th(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6082
+ ], Xt);
6083
+ var Jl = Object.defineProperty, Xl = Object.getOwnPropertyDescriptor, At = (i, t, e, s) => {
6084
+ for (var n = s > 1 ? void 0 : s ? Xl(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6094
6085
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
6095
- return s && n && Ql(t, e, n), n;
6086
+ return s && n && Jl(t, e, n), n;
6096
6087
  };
6097
6088
  let wt = class extends I {
6098
6089
  constructor() {
@@ -6227,10 +6218,10 @@ At([
6227
6218
  wt = At([
6228
6219
  L("pkt-checkbox")
6229
6220
  ], wt);
6230
- var eh = Object.defineProperty, ih = Object.getOwnPropertyDescriptor, as = (i, t, e, s) => {
6231
- for (var n = s > 1 ? void 0 : s ? ih(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6221
+ var Ql = Object.defineProperty, th = Object.getOwnPropertyDescriptor, as = (i, t, e, s) => {
6222
+ for (var n = s > 1 ? void 0 : s ? th(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6232
6223
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
6233
- return s && n && eh(t, e, n), n;
6224
+ return s && n && Ql(t, e, n), n;
6234
6225
  };
6235
6226
  let _i = class extends G {
6236
6227
  constructor() {
@@ -6278,8 +6269,8 @@ as([
6278
6269
  _i = as([
6279
6270
  L("pkt-date-tags")
6280
6271
  ], _i);
6281
- const sh = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, ji = {
6282
- props: sh
6272
+ const eh = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }, withcontrols: { default: !1 }, multiple: { default: !1 }, range: { default: !1 } }, ji = {
6273
+ props: eh
6283
6274
  }, ti = () => {
6284
6275
  const i = navigator.userAgent;
6285
6276
  return !!(/iP(hone|od|ad)/.test(i) || /Macintosh/.test(i) && "ontouchend" in document);
@@ -6358,7 +6349,7 @@ const sh = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6358
6349
  filterSelectableDates(i, t, e, s, n) {
6359
6350
  return sl(i, t, e, s, n);
6360
6351
  }
6361
- }, nh = {
6352
+ }, ih = {
6362
6353
  /**
6363
6354
  * Determines the appropriate input type based on device
6364
6355
  *
@@ -6707,10 +6698,10 @@ const sh = { dateformat: { default: "dd.MM.yyyy" }, weeknumbers: { default: !1 }
6707
6698
  (e === "Enter" || e === " " || e === "Space") && (i.preventDefault(), t(i));
6708
6699
  }
6709
6700
  };
6710
- var ah = Object.defineProperty, rh = Object.getOwnPropertyDescriptor, qt = (i, t, e, s) => {
6711
- for (var n = s > 1 ? void 0 : s ? rh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6701
+ var sh = Object.defineProperty, nh = Object.getOwnPropertyDescriptor, Wt = (i, t, e, s) => {
6702
+ for (var n = s > 1 ? void 0 : s ? nh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6712
6703
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
6713
- return s && n && ah(t, e, n), n;
6704
+ return s && n && sh(t, e, n), n;
6714
6705
  };
6715
6706
  let Lt = class extends G {
6716
6707
  constructor() {
@@ -6790,51 +6781,51 @@ let Lt = class extends G {
6790
6781
  `;
6791
6782
  }
6792
6783
  };
6793
- qt([
6784
+ Wt([
6794
6785
  o({ type: Boolean, reflect: !0 })
6795
6786
  ], Lt.prototype, "open", 2);
6796
- qt([
6787
+ Wt([
6797
6788
  o({ type: Boolean })
6798
6789
  ], Lt.prototype, "multiple", 2);
6799
- qt([
6790
+ Wt([
6800
6791
  o({ type: Boolean })
6801
6792
  ], Lt.prototype, "range", 2);
6802
- qt([
6793
+ Wt([
6803
6794
  o({ type: Boolean })
6804
6795
  ], Lt.prototype, "weeknumbers", 2);
6805
- qt([
6796
+ Wt([
6806
6797
  o({ type: Boolean })
6807
6798
  ], Lt.prototype, "withcontrols", 2);
6808
- qt([
6799
+ Wt([
6809
6800
  o({ type: Number })
6810
6801
  ], Lt.prototype, "maxMultiple", 2);
6811
- qt([
6802
+ Wt([
6812
6803
  o({ type: Array })
6813
6804
  ], Lt.prototype, "selected", 2);
6814
- qt([
6805
+ Wt([
6815
6806
  o({ type: String })
6816
6807
  ], Lt.prototype, "earliest", 2);
6817
- qt([
6808
+ Wt([
6818
6809
  o({ type: String })
6819
6810
  ], Lt.prototype, "latest", 2);
6820
- qt([
6811
+ Wt([
6821
6812
  o({ type: Array })
6822
6813
  ], Lt.prototype, "excludedates", 2);
6823
- qt([
6814
+ Wt([
6824
6815
  o({ type: Array })
6825
6816
  ], Lt.prototype, "excludeweekdays", 2);
6826
- qt([
6817
+ Wt([
6827
6818
  o({ type: String })
6828
6819
  ], Lt.prototype, "currentmonth", 2);
6829
- Lt = qt([
6820
+ Lt = Wt([
6830
6821
  L("pkt-datepicker-popup")
6831
6822
  ], Lt);
6832
- var oh = Object.defineProperty, Te = (i, t, e, s) => {
6823
+ var ah = Object.defineProperty, Te = (i, t, e, s) => {
6833
6824
  for (var n = void 0, a = i.length - 1, r; a >= 0; a--)
6834
6825
  (r = i[a]) && (n = r(t, e, n) || n);
6835
- return n && oh(t, e, n), n;
6826
+ return n && ah(t, e, n), n;
6836
6827
  };
6837
- let Xt = class extends G {
6828
+ let Qt = class extends G {
6838
6829
  constructor() {
6839
6830
  super(...arguments), this.inputType = "date", this.id = "", this.readonly = !1, this.disabled = !1, this.inputClasses = {}, this.inputRef = O(), this.btnRef = O();
6840
6831
  }
@@ -6920,43 +6911,43 @@ let Xt = class extends G {
6920
6911
  };
6921
6912
  Te([
6922
6913
  o({ type: String })
6923
- ], Xt.prototype, "inputType");
6914
+ ], Qt.prototype, "inputType");
6924
6915
  Te([
6925
6916
  o({ type: String })
6926
- ], Xt.prototype, "id");
6917
+ ], Qt.prototype, "id");
6927
6918
  Te([
6928
6919
  o({ type: String })
6929
- ], Xt.prototype, "min");
6920
+ ], Qt.prototype, "min");
6930
6921
  Te([
6931
6922
  o({ type: String })
6932
- ], Xt.prototype, "max");
6923
+ ], Qt.prototype, "max");
6933
6924
  Te([
6934
6925
  o({ type: String })
6935
- ], Xt.prototype, "placeholder");
6926
+ ], Qt.prototype, "placeholder");
6936
6927
  Te([
6937
6928
  o({ type: Boolean })
6938
- ], Xt.prototype, "readonly");
6929
+ ], Qt.prototype, "readonly");
6939
6930
  Te([
6940
6931
  o({ type: Boolean })
6941
- ], Xt.prototype, "disabled");
6932
+ ], Qt.prototype, "disabled");
6942
6933
  Te([
6943
6934
  o({ type: Object })
6944
- ], Xt.prototype, "inputClasses");
6935
+ ], Qt.prototype, "inputClasses");
6945
6936
  Te([
6946
6937
  o({ type: Object })
6947
- ], Xt.prototype, "internals");
6938
+ ], Qt.prototype, "internals");
6948
6939
  const Ca = {
6949
6940
  calendar: { buttonAltText: "Åpne kalender" }
6950
- }, lh = {
6941
+ }, rh = {
6951
6942
  calendar: { buttonAltText: "Åpne kalender" },
6952
6943
  generic: { from: "Fra", to: "Til" }
6953
6944
  };
6954
- var hh = Object.defineProperty, ch = Object.getOwnPropertyDescriptor, rn = (i, t, e, s) => {
6955
- for (var n = s > 1 ? void 0 : s ? ch(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6945
+ var oh = Object.defineProperty, lh = Object.getOwnPropertyDescriptor, rn = (i, t, e, s) => {
6946
+ for (var n = s > 1 ? void 0 : s ? lh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
6956
6947
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
6957
- return s && n && hh(t, e, n), n;
6948
+ return s && n && oh(t, e, n), n;
6958
6949
  };
6959
- let xs = class extends Xt {
6950
+ let xs = class extends Qt {
6960
6951
  constructor() {
6961
6952
  super(...arguments), this.value = "", this.strings = Ca;
6962
6953
  }
@@ -7036,14 +7027,14 @@ rn([
7036
7027
  xs = rn([
7037
7028
  L("pkt-datepicker-single")
7038
7029
  ], xs);
7039
- var uh = Object.defineProperty, dh = Object.getOwnPropertyDescriptor, Es = (i, t, e, s) => {
7040
- for (var n = s > 1 ? void 0 : s ? dh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7030
+ var hh = Object.defineProperty, ch = Object.getOwnPropertyDescriptor, Es = (i, t, e, s) => {
7031
+ for (var n = s > 1 ? void 0 : s ? ch(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7041
7032
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7042
- return s && n && uh(t, e, n), n;
7033
+ return s && n && hh(t, e, n), n;
7043
7034
  };
7044
- let ts = class extends Xt {
7035
+ let ts = class extends Qt {
7045
7036
  constructor() {
7046
- super(...arguments), this.value = [], this.showRangeLabels = !1, this.strings = lh, this.inputRefTo = O();
7037
+ super(...arguments), this.value = [], this.showRangeLabels = !1, this.strings = rh, this.inputRefTo = O();
7047
7038
  }
7048
7039
  get inputElementTo() {
7049
7040
  return this.inputRefTo.value;
@@ -7188,12 +7179,12 @@ Es([
7188
7179
  ts = Es([
7189
7180
  L("pkt-datepicker-range")
7190
7181
  ], ts);
7191
- var ph = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, Os = (i, t, e, s) => {
7192
- for (var n = s > 1 ? void 0 : s ? mh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7182
+ var uh = Object.defineProperty, dh = Object.getOwnPropertyDescriptor, Os = (i, t, e, s) => {
7183
+ for (var n = s > 1 ? void 0 : s ? dh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7193
7184
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7194
- return s && n && ph(t, e, n), n;
7185
+ return s && n && uh(t, e, n), n;
7195
7186
  };
7196
- let es = class extends Xt {
7187
+ let es = class extends Qt {
7197
7188
  constructor() {
7198
7189
  super(...arguments), this.value = [], this.strings = Ca;
7199
7190
  }
@@ -7269,10 +7260,10 @@ Os([
7269
7260
  es = Os([
7270
7261
  L("pkt-datepicker-multiple")
7271
7262
  ], es);
7272
- var fh = Object.defineProperty, gh = Object.getOwnPropertyDescriptor, mt = (i, t, e, s) => {
7273
- for (var n = s > 1 ? void 0 : s ? gh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7263
+ var ph = Object.defineProperty, mh = Object.getOwnPropertyDescriptor, mt = (i, t, e, s) => {
7264
+ for (var n = s > 1 ? void 0 : s ? mh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7274
7265
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7275
- return s && n && fh(t, e, n), n;
7266
+ return s && n && ph(t, e, n), n;
7276
7267
  };
7277
7268
  let ht = class extends I {
7278
7269
  /**
@@ -7295,7 +7286,7 @@ let ht = class extends I {
7295
7286
  * Computed properties
7296
7287
  */
7297
7288
  get inputType() {
7298
- return nh.getInputType();
7289
+ return ih.getInputType();
7299
7290
  }
7300
7291
  connectedCallback() {
7301
7292
  super.connectedCallback(), this.timezone && this.timezone !== window.pktTz && (window.pktTz = this.timezone), this.name = us.normalizeNameForMultiple(this.name, this.multiple, this.range) || this.name;
@@ -7670,13 +7661,13 @@ mt([
7670
7661
  ht = mt([
7671
7662
  L("pkt-datepicker")
7672
7663
  ], ht);
7673
- const vh = { href: { default: "#" }, target: { default: "_self" } }, zn = {
7674
- props: vh
7664
+ const fh = { href: { default: "#" }, target: { default: "_self" } }, zn = {
7665
+ props: fh
7675
7666
  };
7676
- var kh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, Ni = (i, t, e, s) => {
7677
- for (var n = s > 1 ? void 0 : s ? bh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7667
+ var gh = Object.defineProperty, vh = Object.getOwnPropertyDescriptor, Ni = (i, t, e, s) => {
7668
+ for (var n = s > 1 ? void 0 : s ? vh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7678
7669
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7679
- return s && n && kh(t, e, n), n;
7670
+ return s && n && gh(t, e, n), n;
7680
7671
  };
7681
7672
  let ei = class extends G {
7682
7673
  constructor() {
@@ -7716,10 +7707,10 @@ Ni([
7716
7707
  ei = Ni([
7717
7708
  L("pkt-link")
7718
7709
  ], ei);
7719
- var yh = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, ke = (i, t, e, s) => {
7720
- for (var n = s > 1 ? void 0 : s ? $h(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7710
+ var kh = Object.defineProperty, bh = Object.getOwnPropertyDescriptor, ke = (i, t, e, s) => {
7711
+ for (var n = s > 1 ? void 0 : s ? bh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7721
7712
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7722
- return s && n && yh(t, e, n), n;
7713
+ return s && n && kh(t, e, n), n;
7723
7714
  };
7724
7715
  let ae = class extends I {
7725
7716
  constructor() {
@@ -7854,14 +7845,7 @@ ke([
7854
7845
  ae = ke([
7855
7846
  L("pkt-textinput")
7856
7847
  ], ae);
7857
- const Qt = {
7858
- fromAttribute(i) {
7859
- return i == null ? !1 : i === "" || i === "true" || i === !0 ? !0 : i === "false" || i === !1 ? !1 : !!i;
7860
- },
7861
- toAttribute(i) {
7862
- return i ? "true" : "false";
7863
- }
7864
- }, _h = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.iconName, href: i.target } : { title: i.title, iconName: i.iconName, onClick: i.target }, wh = (i) => {
7848
+ const yh = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.iconName, href: i.target } : { title: i.title, iconName: i.iconName, onClick: i.target }, $h = (i) => yh(i), _h = (i) => {
7865
7849
  if (!i) return;
7866
7850
  const t = typeof i == "string" ? new Date(i) : i;
7867
7851
  if (!isNaN(t.getTime()))
@@ -7873,10 +7857,10 @@ const Qt = {
7873
7857
  minute: "2-digit"
7874
7858
  });
7875
7859
  };
7876
- var xh = Object.defineProperty, Sh = Object.getOwnPropertyDescriptor, oi = (i, t, e, s) => {
7877
- for (var n = s > 1 ? void 0 : s ? Sh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7860
+ var wh = Object.defineProperty, xh = Object.getOwnPropertyDescriptor, oi = (i, t, e, s) => {
7861
+ for (var n = s > 1 ? void 0 : s ? xh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
7878
7862
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
7879
- return s && n && xh(t, e, n), n;
7863
+ return s && n && wh(t, e, n), n;
7880
7864
  };
7881
7865
  let je = class extends G {
7882
7866
  constructor() {
@@ -7942,7 +7926,7 @@ let je = class extends G {
7942
7926
  }
7943
7927
  render() {
7944
7928
  var t;
7945
- const e = (t = this.userMenu) == null ? void 0 : t.map(_h);
7929
+ const e = (t = this.userMenu) == null ? void 0 : t.map($h);
7946
7930
  return u`
7947
7931
  <nav class="pkt-user-menu" aria-label="Meny for innlogget bruker">
7948
7932
  <ul class="pkt-user-menu__list">
@@ -8032,21 +8016,21 @@ oi([
8032
8016
  o({
8033
8017
  type: Boolean,
8034
8018
  attribute: "can-change-representation",
8035
- converter: Qt
8019
+ converter: Ft
8036
8020
  })
8037
8021
  ], je.prototype, "canChangeRepresentation", 2);
8038
8022
  oi([
8039
- o({ type: Boolean, attribute: "logout-on-click", converter: Qt })
8023
+ o({ type: Boolean, attribute: "logout-on-click", converter: Ft })
8040
8024
  ], je.prototype, "logoutOnClick", 2);
8041
8025
  je = oi([
8042
8026
  L("pkt-header-user-menu")
8043
8027
  ], je);
8044
- var Ch = Object.defineProperty, Th = Object.getOwnPropertyDescriptor, J = (i, t, e, s) => {
8045
- for (var n = s > 1 ? void 0 : s ? Th(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8028
+ var Sh = Object.defineProperty, Ch = Object.getOwnPropertyDescriptor, J = (i, t, e, s) => {
8029
+ for (var n = s > 1 ? void 0 : s ? Ch(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8046
8030
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8047
- return s && n && Ch(t, e, n), n;
8031
+ return s && n && Sh(t, e, n), n;
8048
8032
  };
8049
- const Nh = "https://punkt-cdn.oslo.kommune.no/14.1/logos/";
8033
+ const Th = "https://punkt-cdn.oslo.kommune.no/14.2/logos/";
8050
8034
  let Y = class extends G {
8051
8035
  constructor() {
8052
8036
  super(), this.searchPlaceholder = "Søk", this.searchValue = "", this.mobileBreakpoint = 768, this.tabletBreakpoint = 1280, this.openedMenu = "none", this.logOutButtonPlacement = "none", this.position = "fixed", this.scrollBehavior = "hide", this.hideLogo = !1, this.compact = !1, this.showSearch = !1, this.canChangeRepresentation = !1, this.hasLogOut = !1, this.isMobile = !1, this.isTablet = !1, this.openMenu = "none", this.isHidden = !1, this.componentWidth = typeof window < "u" ? window.innerWidth : 0, this.hasSlotContent = !1, this.alignSlotRight = !1, this.alignSearchRight = !1, this.defaultSlot = O(), this.headerRef = O(), this.userContainerRef = O(), this.slotContainerRef = O(), this.searchContainerRef = O(), this.slotContentRef = O(), this.searchMenuRef = O(), this.lastScrollPosition = 0, this.savedScrollY = 0, this.lastFocusedElement = null, this.shouldRestoreFocus = !1, this.handleScroll = () => {
@@ -8194,7 +8178,7 @@ let Y = class extends G {
8194
8178
  }
8195
8179
  get formattedLastLoggedIn() {
8196
8180
  var t;
8197
- return wh((t = this.user) == null ? void 0 : t.lastLoggedIn);
8181
+ return _h((t = this.user) == null ? void 0 : t.lastLoggedIn);
8198
8182
  }
8199
8183
  get isFixed() {
8200
8184
  return this.position === "fixed";
@@ -8211,7 +8195,7 @@ let Y = class extends G {
8211
8195
  renderLogo() {
8212
8196
  if (this.hideLogo) return y;
8213
8197
  const t = u`
8214
- <pkt-icon name="oslologo" aria-hidden="true" path=${Nh}></pkt-icon>
8198
+ <pkt-icon name="oslologo" aria-hidden="true" path=${Th}></pkt-icon>
8215
8199
  `;
8216
8200
  return this.logoLink && typeof this.logoLink == "string" ? u`
8217
8201
  <span class="pkt-header-service__logo">
@@ -8516,23 +8500,23 @@ J([
8516
8500
  o({ type: String, attribute: "scroll-behavior" })
8517
8501
  ], Y.prototype, "scrollBehavior", 2);
8518
8502
  J([
8519
- o({ type: Boolean, attribute: "hide-logo", converter: Qt })
8503
+ o({ type: Boolean, attribute: "hide-logo", converter: Ft })
8520
8504
  ], Y.prototype, "hideLogo", 2);
8521
8505
  J([
8522
- o({ type: Boolean, converter: Qt })
8506
+ o({ type: Boolean, converter: Ft })
8523
8507
  ], Y.prototype, "compact", 2);
8524
8508
  J([
8525
- o({ type: Boolean, attribute: "show-search", converter: Qt })
8509
+ o({ type: Boolean, attribute: "show-search", converter: Ft })
8526
8510
  ], Y.prototype, "showSearch", 2);
8527
8511
  J([
8528
8512
  o({
8529
8513
  type: Boolean,
8530
8514
  attribute: "can-change-representation",
8531
- converter: Qt
8515
+ converter: Ft
8532
8516
  })
8533
8517
  ], Y.prototype, "canChangeRepresentation", 2);
8534
8518
  J([
8535
- o({ type: Boolean, attribute: "has-log-out", converter: Qt })
8519
+ o({ type: Boolean, attribute: "has-log-out", converter: Ft })
8536
8520
  ], Y.prototype, "hasLogOut", 2);
8537
8521
  J([
8538
8522
  o({ type: Object })
@@ -8570,10 +8554,10 @@ J([
8570
8554
  Y = J([
8571
8555
  L("pkt-header-service")
8572
8556
  ], Y);
8573
- var Ah = Object.defineProperty, Eh = Object.getOwnPropertyDescriptor, rt = (i, t, e, s) => {
8574
- for (var n = s > 1 ? void 0 : s ? Eh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8557
+ var Nh = Object.defineProperty, Ah = Object.getOwnPropertyDescriptor, rt = (i, t, e, s) => {
8558
+ for (var n = s > 1 ? void 0 : s ? Ah(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8575
8559
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8576
- return s && n && Ah(t, e, n), n;
8560
+ return s && n && Nh(t, e, n), n;
8577
8561
  };
8578
8562
  let nt = class extends G {
8579
8563
  constructor() {
@@ -8654,23 +8638,23 @@ rt([
8654
8638
  o({ type: String, attribute: "scroll-behavior" })
8655
8639
  ], nt.prototype, "scrollBehavior", 2);
8656
8640
  rt([
8657
- o({ type: Boolean, attribute: "hide-logo", converter: Qt })
8641
+ o({ type: Boolean, attribute: "hide-logo", converter: Ft })
8658
8642
  ], nt.prototype, "hideLogo", 2);
8659
8643
  rt([
8660
- o({ type: Boolean, converter: Qt })
8644
+ o({ type: Boolean, converter: Ft })
8661
8645
  ], nt.prototype, "compact", 2);
8662
8646
  rt([
8663
- o({ type: Boolean, attribute: "show-search", converter: Qt })
8647
+ o({ type: Boolean, attribute: "show-search", converter: Ft })
8664
8648
  ], nt.prototype, "showSearch", 2);
8665
8649
  rt([
8666
8650
  o({
8667
8651
  type: Boolean,
8668
8652
  attribute: "can-change-representation",
8669
- converter: Qt
8653
+ converter: Ft
8670
8654
  })
8671
8655
  ], nt.prototype, "canChangeRepresentation", 2);
8672
8656
  rt([
8673
- o({ type: Boolean, attribute: "has-log-out", converter: Qt })
8657
+ o({ type: Boolean, attribute: "has-log-out", converter: Ft })
8674
8658
  ], nt.prototype, "hasLogOut", 2);
8675
8659
  rt([
8676
8660
  o({ type: Object })
@@ -8690,10 +8674,10 @@ rt([
8690
8674
  nt = rt([
8691
8675
  L("pkt-header")
8692
8676
  ], nt);
8693
- var Oh = Object.defineProperty, Mh = Object.getOwnPropertyDescriptor, li = (i, t, e, s) => {
8694
- for (var n = s > 1 ? void 0 : s ? Mh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8677
+ var Eh = Object.defineProperty, Oh = Object.getOwnPropertyDescriptor, li = (i, t, e, s) => {
8678
+ for (var n = s > 1 ? void 0 : s ? Oh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8695
8679
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8696
- return s && n && Oh(t, e, n), n;
8680
+ return s && n && Eh(t, e, n), n;
8697
8681
  };
8698
8682
  let Ve = class extends G {
8699
8683
  constructor() {
@@ -8737,12 +8721,12 @@ li([
8737
8721
  Ve = li([
8738
8722
  L("pkt-linkcard")
8739
8723
  ], Ve);
8740
- var Ph = Object.defineProperty, Dh = Object.getOwnPropertyDescriptor, Ne = (i, t, e, s) => {
8741
- for (var n = s > 1 ? void 0 : s ? Dh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8724
+ var Mh = Object.defineProperty, Ph = Object.getOwnPropertyDescriptor, Ne = (i, t, e, s) => {
8725
+ for (var n = s > 1 ? void 0 : s ? Ph(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8742
8726
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8743
- return s && n && Ph(t, e, n), n;
8727
+ return s && n && Mh(t, e, n), n;
8744
8728
  };
8745
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.1/animations/";
8729
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.2/animations/";
8746
8730
  let re = class extends G {
8747
8731
  constructor() {
8748
8732
  super(), this.defaultSlot = O(), 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 at(this, this.defaultSlot);
@@ -8822,13 +8806,13 @@ Ne([
8822
8806
  re = Ne([
8823
8807
  L("pkt-loader")
8824
8808
  ], re);
8825
- const Ih = { skin: { default: "beige" }, compact: { default: !1 }, closable: { default: !1 } }, Us = {
8826
- props: Ih
8809
+ const Dh = { skin: { default: "beige" }, compact: { default: !1 }, closable: { default: !1 } }, Us = {
8810
+ props: Dh
8827
8811
  };
8828
- var Rh = Object.defineProperty, Lh = Object.getOwnPropertyDescriptor, Ai = (i, t, e, s) => {
8829
- for (var n = s > 1 ? void 0 : s ? Lh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8812
+ var Ih = Object.defineProperty, Rh = Object.getOwnPropertyDescriptor, Ai = (i, t, e, s) => {
8813
+ for (var n = s > 1 ? void 0 : s ? Rh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8830
8814
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8831
- return s && n && Rh(t, e, n), n;
8815
+ return s && n && Ih(t, e, n), n;
8832
8816
  };
8833
8817
  let ii = class extends G {
8834
8818
  constructor() {
@@ -8882,15 +8866,15 @@ Ai([
8882
8866
  ii = Ai([
8883
8867
  L("pkt-messagebox")
8884
8868
  ], ii);
8885
- const Bh = { hideCloseButton: { default: !1 }, closeOnBackdropClick: { default: !1 }, size: { default: "medium" } }, zs = {
8886
- props: Bh
8869
+ const Lh = { hideCloseButton: { default: !1 }, closeOnBackdropClick: { default: !1 }, size: { default: "medium" } }, zs = {
8870
+ props: Lh
8887
8871
  };
8888
- var Fh = Object.defineProperty, jh = Object.getOwnPropertyDescriptor, he = (i, t, e, s) => {
8889
- for (var n = s > 1 ? void 0 : s ? jh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8872
+ var Bh = Object.defineProperty, Fh = Object.getOwnPropertyDescriptor, he = (i, t, e, s) => {
8873
+ for (var n = s > 1 ? void 0 : s ? Fh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
8890
8874
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
8891
- return s && n && Fh(t, e, n), n;
8875
+ return s && n && Bh(t, e, n), n;
8892
8876
  };
8893
- let Ut = class extends G {
8877
+ let zt = class extends G {
8894
8878
  constructor() {
8895
8879
  super(), this.headingText = "", this.removePadding = !1, this.hideCloseButton = zs.props.hideCloseButton.default, this.closeOnBackdropClick = zs.props.closeOnBackdropClick.default, this.closeButtonSkin = "blue", this.size = zs.props.size.default, this.variant = "dialog", this.drawerPosition = "right", this.transparentBackdrop = !1, this.defaultSlot = O(), this.dialogRef = O(), this._isOpen = !1, this.close = (t, e = !1) => {
8896
8880
  var s;
@@ -8996,43 +8980,43 @@ let Ut = class extends G {
8996
8980
  };
8997
8981
  he([
8998
8982
  o({ type: String })
8999
- ], Ut.prototype, "headingText", 2);
8983
+ ], zt.prototype, "headingText", 2);
9000
8984
  he([
9001
8985
  o({ type: Boolean })
9002
- ], Ut.prototype, "removePadding", 2);
8986
+ ], zt.prototype, "removePadding", 2);
9003
8987
  he([
9004
8988
  o({ type: Boolean })
9005
- ], Ut.prototype, "hideCloseButton", 2);
8989
+ ], zt.prototype, "hideCloseButton", 2);
9006
8990
  he([
9007
8991
  o({ type: Boolean })
9008
- ], Ut.prototype, "closeOnBackdropClick", 2);
8992
+ ], zt.prototype, "closeOnBackdropClick", 2);
9009
8993
  he([
9010
8994
  o({ type: String })
9011
- ], Ut.prototype, "closeButtonSkin", 2);
8995
+ ], zt.prototype, "closeButtonSkin", 2);
9012
8996
  he([
9013
8997
  o({ type: String })
9014
- ], Ut.prototype, "size", 2);
8998
+ ], zt.prototype, "size", 2);
9015
8999
  he([
9016
9000
  o({ type: String })
9017
- ], Ut.prototype, "variant", 2);
9001
+ ], zt.prototype, "variant", 2);
9018
9002
  he([
9019
9003
  o({ type: String })
9020
- ], Ut.prototype, "drawerPosition", 2);
9004
+ ], zt.prototype, "drawerPosition", 2);
9021
9005
  he([
9022
9006
  o({ type: Boolean })
9023
- ], Ut.prototype, "transparentBackdrop", 2);
9007
+ ], zt.prototype, "transparentBackdrop", 2);
9024
9008
  he([
9025
9009
  P()
9026
- ], Ut.prototype, "_isOpen", 2);
9027
- Ut = he([
9010
+ ], zt.prototype, "_isOpen", 2);
9011
+ zt = he([
9028
9012
  L("pkt-modal")
9029
- ], Ut);
9013
+ ], zt);
9030
9014
  /**
9031
9015
  * @license
9032
9016
  * Copyright 2018 Google LLC
9033
9017
  * SPDX-License-Identifier: BSD-3-Clause
9034
9018
  */
9035
- const Ta = "important", Vh = " !" + Ta, Hh = ni(class extends Si {
9019
+ const Ta = "important", jh = " !" + Ta, Vh = ni(class extends Si {
9036
9020
  constructor(i) {
9037
9021
  var t;
9038
9022
  if (super(i), i.type !== ie.ATTRIBUTE || i.name !== "style" || ((t = i.strings) == null ? void 0 : t.length) > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
@@ -9051,17 +9035,17 @@ const Ta = "important", Vh = " !" + Ta, Hh = ni(class extends Si {
9051
9035
  const n = t[s];
9052
9036
  if (n != null) {
9053
9037
  this.ft.add(s);
9054
- const a = typeof n == "string" && n.endsWith(Vh);
9038
+ const a = typeof n == "string" && n.endsWith(jh);
9055
9039
  s.includes("-") || a ? e.setProperty(s, a ? n.slice(0, -11) : n, a ? Ta : "") : e[s] = n;
9056
9040
  }
9057
9041
  }
9058
9042
  return Rt;
9059
9043
  }
9060
9044
  });
9061
- var Uh = Object.defineProperty, zh = Object.getOwnPropertyDescriptor, ft = (i, t, e, s) => {
9062
- for (var n = s > 1 ? void 0 : s ? zh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9045
+ var Hh = Object.defineProperty, Uh = Object.getOwnPropertyDescriptor, ft = (i, t, e, s) => {
9046
+ for (var n = s > 1 ? void 0 : s ? Uh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9063
9047
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9064
- return s && n && Uh(t, e, n), n;
9048
+ return s && n && Hh(t, e, n), n;
9065
9049
  };
9066
9050
  let ct = class extends G {
9067
9051
  constructor() {
@@ -9091,7 +9075,7 @@ let ct = class extends G {
9091
9075
  return u` <div
9092
9076
  class="pkt-progressbar__container"
9093
9077
  .ref=${this.progressBarRef}
9094
- style=${Hh({
9078
+ style=${Vh({
9095
9079
  "--pkt-progress-label-width": `${this.labelWidth}px`,
9096
9080
  "--pkt-progress-width": `${s}%`
9097
9081
  })}
@@ -9177,10 +9161,10 @@ ft([
9177
9161
  ct = ft([
9178
9162
  L("pkt-progressbar")
9179
9163
  ], ct);
9180
- var qh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, Wt = (i, t, e, s) => {
9181
- for (var n = s > 1 ? void 0 : s ? Wh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9164
+ var zh = Object.defineProperty, qh = Object.getOwnPropertyDescriptor, Kt = (i, t, e, s) => {
9165
+ for (var n = s > 1 ? void 0 : s ? qh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9182
9166
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9183
- return s && n && qh(t, e, n), n;
9167
+ return s && n && zh(t, e, n), n;
9184
9168
  };
9185
9169
  let Bt = class extends I {
9186
9170
  constructor() {
@@ -9241,43 +9225,43 @@ let Bt = class extends I {
9241
9225
  i && i.preventDefault(), i && i.stopImmediatePropagation(), this.touched = !0, this.inputRef.value && (this._checked = this.inputRef.value.matches(":checked"), this.valueChecked(this._checked));
9242
9226
  }
9243
9227
  };
9244
- Wt([
9228
+ Kt([
9245
9229
  o({ type: String, reflect: !0 })
9246
9230
  ], Bt.prototype, "value", 2);
9247
- Wt([
9231
+ Kt([
9248
9232
  o({ type: String })
9249
9233
  ], Bt.prototype, "checkHelptext", 2);
9250
- Wt([
9234
+ Kt([
9251
9235
  o({ type: Boolean })
9252
9236
  ], Bt.prototype, "defaultChecked", 2);
9253
- Wt([
9237
+ Kt([
9254
9238
  o({ type: Boolean })
9255
9239
  ], Bt.prototype, "hasTile", 2);
9256
- Wt([
9240
+ Kt([
9257
9241
  o({ type: Boolean, reflect: !0 })
9258
9242
  ], Bt.prototype, "checked", 2);
9259
- Wt([
9243
+ Kt([
9260
9244
  o({ type: String, reflect: !0 })
9261
9245
  ], Bt.prototype, "type", 2);
9262
- Wt([
9246
+ Kt([
9263
9247
  o({ type: String })
9264
9248
  ], Bt.prototype, "tagText", 2);
9265
- Wt([
9249
+ Kt([
9266
9250
  o({ type: Boolean })
9267
9251
  ], Bt.prototype, "optionalTag", 2);
9268
- Wt([
9252
+ Kt([
9269
9253
  o({ type: String })
9270
9254
  ], Bt.prototype, "optionalText", 2);
9271
- Wt([
9255
+ Kt([
9272
9256
  o({ type: Boolean })
9273
9257
  ], Bt.prototype, "requiredTag", 2);
9274
- Wt([
9258
+ Kt([
9275
9259
  o({ type: String })
9276
9260
  ], Bt.prototype, "requiredText", 2);
9277
- Wt([
9261
+ Kt([
9278
9262
  P()
9279
9263
  ], Bt.prototype, "_checked", 2);
9280
- Bt = Wt([
9264
+ Bt = Kt([
9281
9265
  L("pkt-radiobutton")
9282
9266
  ], Bt);
9283
9267
  /**
@@ -9325,7 +9309,7 @@ let qn = class {
9325
9309
  * Copyright 2021 Google LLC
9326
9310
  * SPDX-License-Identifier: BSD-3-Clause
9327
9311
  */
9328
- class Kh {
9312
+ class Wh {
9329
9313
  get value() {
9330
9314
  return this.o;
9331
9315
  }
@@ -9358,11 +9342,11 @@ class Kh {
9358
9342
  * Copyright 2021 Google LLC
9359
9343
  * SPDX-License-Identifier: BSD-3-Clause
9360
9344
  */
9361
- let Yh = class extends Event {
9345
+ let Kh = class extends Event {
9362
9346
  constructor(i, t) {
9363
9347
  super("context-provider", { bubbles: !0, composed: !0 }), this.context = i, this.contextTarget = t;
9364
9348
  }
9365
- }, Wn = class extends Kh {
9349
+ }, Wn = class extends Wh {
9366
9350
  constructor(t, e, s) {
9367
9351
  var n, a;
9368
9352
  super(e.context !== void 0 ? e.initialValue : s), this.onContextRequest = (r) => {
@@ -9380,7 +9364,7 @@ let Yh = class extends Event {
9380
9364
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
9381
9365
  }
9382
9366
  hostConnected() {
9383
- this.host.dispatchEvent(new Yh(this.context, this.host));
9367
+ this.host.dispatchEvent(new Kh(this.context, this.host));
9384
9368
  }
9385
9369
  };
9386
9370
  /**
@@ -9388,7 +9372,7 @@ let Yh = class extends Event {
9388
9372
  * Copyright 2017 Google LLC
9389
9373
  * SPDX-License-Identifier: BSD-3-Clause
9390
9374
  */
9391
- function Gh({ context: i }) {
9375
+ function Yh({ context: i }) {
9392
9376
  return (t, e) => {
9393
9377
  const s = /* @__PURE__ */ new WeakMap();
9394
9378
  if (typeof e == "object") return { get() {
@@ -9426,7 +9410,7 @@ function Gh({ context: i }) {
9426
9410
  * Copyright 2022 Google LLC
9427
9411
  * SPDX-License-Identifier: BSD-3-Clause
9428
9412
  */
9429
- function Zh({ context: i, subscribe: t }) {
9413
+ function Gh({ context: i, subscribe: t }) {
9430
9414
  return (e, s) => {
9431
9415
  typeof s == "object" ? s.addInitializer((function() {
9432
9416
  new qn(this, { context: i, callback: (n) => {
@@ -9440,10 +9424,10 @@ function Zh({ context: i, subscribe: t }) {
9440
9424
  };
9441
9425
  }
9442
9426
  const Aa = Symbol("pkt-tabs-context");
9443
- var Jh = Object.defineProperty, Xh = Object.getOwnPropertyDescriptor, Ei = (i, t, e, s) => {
9444
- for (var n = s > 1 ? void 0 : s ? Xh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9427
+ var Zh = Object.defineProperty, Jh = Object.getOwnPropertyDescriptor, Ei = (i, t, e, s) => {
9428
+ for (var n = s > 1 ? void 0 : s ? Jh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9445
9429
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9446
- return s && n && Jh(t, e, n), n;
9430
+ return s && n && Zh(t, e, n), n;
9447
9431
  };
9448
9432
  let si = class extends G {
9449
9433
  constructor() {
@@ -9508,16 +9492,16 @@ Ei([
9508
9492
  P()
9509
9493
  ], si.prototype, "tabCount", 2);
9510
9494
  Ei([
9511
- Gh({ context: Aa }),
9495
+ Yh({ context: Aa }),
9512
9496
  P()
9513
9497
  ], si.prototype, "context", 2);
9514
9498
  si = Ei([
9515
9499
  L("pkt-tabs")
9516
9500
  ], si);
9517
- var Qh = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, Ae = (i, t, e, s) => {
9518
- for (var n = s > 1 ? void 0 : s ? tc(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9501
+ var Xh = Object.defineProperty, Qh = Object.getOwnPropertyDescriptor, Ae = (i, t, e, s) => {
9502
+ for (var n = s > 1 ? void 0 : s ? Qh(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9519
9503
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9520
- return s && n && Qh(t, e, n), n;
9504
+ return s && n && Xh(t, e, n), n;
9521
9505
  };
9522
9506
  let me = class extends G {
9523
9507
  constructor() {
@@ -9594,7 +9578,7 @@ Ae([
9594
9578
  o({ type: Number, reflect: !0 })
9595
9579
  ], me.prototype, "index", 2);
9596
9580
  Ae([
9597
- Zh({ context: Aa, subscribe: !0 }),
9581
+ Gh({ context: Aa, subscribe: !0 }),
9598
9582
  o({ attribute: !1 })
9599
9583
  ], me.prototype, "context", 2);
9600
9584
  me = Ae([
@@ -9605,7 +9589,7 @@ me = Ae([
9605
9589
  * Copyright 2020 Google LLC
9606
9590
  * SPDX-License-Identifier: BSD-3-Clause
9607
9591
  */
9608
- const ec = ni(class extends Si {
9592
+ const tc = ni(class extends Si {
9609
9593
  constructor(i) {
9610
9594
  if (super(i), i.type !== ie.PROPERTY && i.type !== ie.ATTRIBUTE && i.type !== ie.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
9611
9595
  if (!la(i)) throw Error("`live` bindings can only contain a single expression");
@@ -9624,10 +9608,10 @@ const ec = ni(class extends Si {
9624
9608
  return ha(i), t;
9625
9609
  }
9626
9610
  });
9627
- var ic = Object.defineProperty, sc = Object.getOwnPropertyDescriptor, rs = (i, t, e, s) => {
9628
- for (var n = s > 1 ? void 0 : s ? sc(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9611
+ var ec = Object.defineProperty, ic = Object.getOwnPropertyDescriptor, rs = (i, t, e, s) => {
9612
+ for (var n = s > 1 ? void 0 : s ? ic(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9629
9613
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9630
- return s && n && ic(t, e, n), n;
9614
+ return s && n && ec(t, e, n), n;
9631
9615
  };
9632
9616
  let wi = class extends I {
9633
9617
  constructor() {
@@ -9676,7 +9660,7 @@ let wi = class extends I {
9676
9660
  id=${this.id + "-input"}
9677
9661
  name=${(this.name || this.id) + "-input"}
9678
9662
  placeholder=${C(this.placeholder)}
9679
- .value=${ec(this.value)}
9663
+ .value=${tc(this.value)}
9680
9664
  minlength=${C(this.minlength)}
9681
9665
  maxlength=${C(this.maxlength)}
9682
9666
  ?readonly=${this.readonly}
@@ -9717,10 +9701,10 @@ rs([
9717
9701
  wi = rs([
9718
9702
  L("pkt-textarea")
9719
9703
  ], wi);
9720
- var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, Ms = (i, t, e, s) => {
9721
- for (var n = s > 1 ? void 0 : s ? ac(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9704
+ var sc = Object.defineProperty, nc = Object.getOwnPropertyDescriptor, Ms = (i, t, e, s) => {
9705
+ for (var n = s > 1 ? void 0 : s ? nc(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9722
9706
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9723
- return s && n && nc(t, e, n), n;
9707
+ return s && n && sc(t, e, n), n;
9724
9708
  };
9725
9709
  let is = class extends I {
9726
9710
  constructor() {
@@ -9879,10 +9863,10 @@ Ms([
9879
9863
  is = Ms([
9880
9864
  L("pkt-select")
9881
9865
  ], is);
9882
- var rc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, os = (i, t, e, s) => {
9883
- for (var n = s > 1 ? void 0 : s ? oc(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9866
+ var ac = Object.defineProperty, rc = Object.getOwnPropertyDescriptor, os = (i, t, e, s) => {
9867
+ for (var n = s > 1 ? void 0 : s ? rc(t, e) : t, a = i.length - 1, r; a >= 0; a--)
9884
9868
  (r = i[a]) && (n = (s ? r(t, e, n) : r(n)) || n);
9885
- return s && n && rc(t, e, n), n;
9869
+ return s && n && ac(t, e, n), n;
9886
9870
  };
9887
9871
  let xi = class extends G {
9888
9872
  constructor() {
@@ -9976,7 +9960,7 @@ const U = le({
9976
9960
  react: oe,
9977
9961
  displayName: "PktIcon",
9978
9962
  events: {}
9979
- }), lc = X(
9963
+ }), oc = X(
9980
9964
  ({
9981
9965
  defaultOpen: i = !1,
9982
9966
  id: t,
@@ -10028,8 +10012,8 @@ const U = le({
10028
10012
  );
10029
10013
  }
10030
10014
  );
10031
- lc.displayName = "PktAccordionItem";
10032
- function hc(i) {
10015
+ oc.displayName = "PktAccordionItem";
10016
+ function lc(i) {
10033
10017
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
10034
10018
  }
10035
10019
  var qs = { exports: {} };
@@ -10039,7 +10023,7 @@ var qs = { exports: {} };
10039
10023
  http://jedwatson.github.io/classnames
10040
10024
  */
10041
10025
  var Kn;
10042
- function cc() {
10026
+ function hc() {
10043
10027
  return Kn || (Kn = 1, (function(i) {
10044
10028
  (function() {
10045
10029
  var t = {}.hasOwnProperty;
@@ -10071,8 +10055,8 @@ function cc() {
10071
10055
  })();
10072
10056
  })(qs)), qs.exports;
10073
10057
  }
10074
- var uc = cc();
10075
- const W = /* @__PURE__ */ hc(uc), Ea = ({
10058
+ var cc = hc();
10059
+ const W = /* @__PURE__ */ lc(cc), Ea = ({
10076
10060
  children: i,
10077
10061
  closeAlert: t,
10078
10062
  compact: e,
@@ -10129,14 +10113,14 @@ const W = /* @__PURE__ */ hc(uc), Ea = ({
10129
10113
  ] }) });
10130
10114
  };
10131
10115
  Ea.displayName = "PktAlert";
10132
- const dc = le({
10116
+ const uc = le({
10133
10117
  tagName: "pkt-backlink",
10134
10118
  elementClass: $i,
10135
10119
  react: oe,
10136
10120
  displayName: "PktBackLink"
10137
10121
  });
10138
- dc.displayName = "PktBackLink";
10139
- const Ku = X(
10122
+ uc.displayName = "PktBackLink";
10123
+ const Wu = X(
10140
10124
  ({ breadcrumbs: i, navigationType: t, className: e, ...s }, n) => {
10141
10125
  const a = i, r = a[a.length - 2], l = [e, "pkt-breadcrumbs"].filter(Boolean).join(" ");
10142
10126
  return /* @__PURE__ */ x("nav", { ref: n, "aria-label": "brødsmulemeny", className: l, children: [
@@ -10173,7 +10157,7 @@ const Ku = X(
10173
10157
  ] });
10174
10158
  }
10175
10159
  );
10176
- window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.1/animations/";
10160
+ window.pktAnimationPath = window.pktAnimationPath || "https://punkt-cdn.oslo.kommune.no/14.2/animations/";
10177
10161
  const xe = X(
10178
10162
  ({
10179
10163
  children: i,
@@ -10235,17 +10219,17 @@ const xe = X(
10235
10219
  }
10236
10220
  );
10237
10221
  xe.displayName = "PktButton";
10238
- const pc = le({
10222
+ const dc = le({
10239
10223
  tagName: "pkt-card",
10240
10224
  elementClass: pt,
10241
10225
  react: oe,
10242
10226
  displayName: "PktCard",
10243
10227
  events: {}
10244
- }), mc = X(
10245
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(pc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10228
+ }), pc = X(
10229
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(dc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
10246
10230
  );
10247
- mc.displayName = "PktCard";
10248
- const fc = X(
10231
+ pc.displayName = "PktCard";
10232
+ const mc = X(
10249
10233
  ({
10250
10234
  id: i,
10251
10235
  hasTile: t = !1,
@@ -10267,7 +10251,7 @@ const fc = X(
10267
10251
  tagText: S,
10268
10252
  ...A
10269
10253
  }, D) => {
10270
- const E = Zt(null);
10254
+ const E = Jt(null);
10271
10255
  Pt(() => {
10272
10256
  E.current && $ !== void 0 && (E.current.indeterminate = $);
10273
10257
  }, [$]), Pt(() => {
@@ -10316,8 +10300,8 @@ const fc = X(
10316
10300
  ] }) });
10317
10301
  }
10318
10302
  );
10319
- fc.displayName = "PktCheckbox";
10320
- const gc = le({
10303
+ mc.displayName = "PktCheckbox";
10304
+ const fc = le({
10321
10305
  tagName: "pkt-combobox",
10322
10306
  elementClass: st,
10323
10307
  react: oe,
@@ -10331,14 +10315,14 @@ const gc = le({
10331
10315
  onValueChange: "value-change",
10332
10316
  onToggleHelpText: "toggleHelpText"
10333
10317
  }
10334
- }), vc = X(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(gc, { ...e, ref: s, children: [
10318
+ }), gc = X(({ children: i, helptext: t, ...e }, s) => /* @__PURE__ */ x(fc, { ...e, ref: s, children: [
10335
10319
  t && /* @__PURE__ */ h("div", { slot: "helptext", className: "pkt-contents", children: t }),
10336
10320
  i
10337
10321
  ] }));
10338
- vc.displayName = "PktCombobox";
10322
+ gc.displayName = "PktCombobox";
10339
10323
  const on = le({
10340
10324
  tagName: "pkt-consent",
10341
- elementClass: Jt,
10325
+ elementClass: Xt,
10342
10326
  react: oe,
10343
10327
  displayName: "PktConsent",
10344
10328
  events: {
@@ -10346,7 +10330,7 @@ const on = le({
10346
10330
  }
10347
10331
  });
10348
10332
  on.displayName = "PktConsent";
10349
- const kc = le({
10333
+ const vc = le({
10350
10334
  tagName: "pkt-datepicker",
10351
10335
  elementClass: ht,
10352
10336
  react: oe,
@@ -10358,11 +10342,11 @@ const kc = le({
10358
10342
  onValueChange: "value-change",
10359
10343
  onToggleHelpText: "toggleHelpText"
10360
10344
  }
10361
- }), bc = X(
10362
- ({ helptext: i, ...t }, e) => /* @__PURE__ */ h(kc, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", slot: "helptext", children: i }) })
10345
+ }), kc = X(
10346
+ ({ helptext: i, ...t }, e) => /* @__PURE__ */ h(vc, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", slot: "helptext", children: i }) })
10363
10347
  );
10364
- bc.displayName = "PktDatepicker";
10365
- const Yu = ({
10348
+ kc.displayName = "PktDatepicker";
10349
+ const Ku = ({
10366
10350
  columnOne: i,
10367
10351
  columnTwo: t,
10368
10352
  socialLinks: e,
@@ -10492,7 +10476,7 @@ const Yu = ({
10492
10476
  ) }, `sociallinks-${D}`)) })
10493
10477
  ] })
10494
10478
  ] }) });
10495
- }, Gu = ({
10479
+ }, Yu = ({
10496
10480
  links: i = [],
10497
10481
  openLinksInNewTab: t = !1,
10498
10482
  personvernOgInfoLink: e = "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/",
@@ -10593,7 +10577,7 @@ const Yu = ({
10593
10577
  }
10594
10578
  );
10595
10579
  ln.displayName = "PktLink";
10596
- const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.iconName, href: i.target } : { title: i.title, iconName: i.iconName, onClick: i.target }, fs = ({ item: i, className: t }) => "href" in i ? /* @__PURE__ */ h(
10580
+ const bc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.iconName, href: i.target } : { title: i.title, iconName: i.iconName, onClick: i.target }, fs = ({ item: i, className: t }) => "href" in i ? /* @__PURE__ */ h(
10597
10581
  ln,
10598
10582
  {
10599
10583
  iconName: i.iconName,
@@ -10615,7 +10599,7 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10615
10599
  i.title
10616
10600
  ]
10617
10601
  }
10618
- ), $c = ({ links: i }) => /* @__PURE__ */ h("ul", { className: "pkt-user-menu__sublist", children: i.map((t, e) => /* @__PURE__ */ h("li", { className: "pkt-user-menu__subitem", children: /* @__PURE__ */ h(fs, { item: t }) }, e)) }), _c = X(
10602
+ ), yc = ({ links: i }) => /* @__PURE__ */ h("ul", { className: "pkt-user-menu__sublist", children: i.map((t, e) => /* @__PURE__ */ h("li", { className: "pkt-user-menu__subitem", children: /* @__PURE__ */ h(fs, { item: t }) }, e)) }), $c = X(
10619
10603
  ({
10620
10604
  user: i,
10621
10605
  formattedLastLoggedIn: t,
@@ -10625,7 +10609,7 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10625
10609
  changeRepresentation: a,
10626
10610
  logoutOnClick: r
10627
10611
  }, l) => {
10628
- const c = s == null ? void 0 : s.map(yc);
10612
+ const c = s == null ? void 0 : s.map(bc);
10629
10613
  return /* @__PURE__ */ h("nav", { className: "pkt-user-menu", ref: l, "aria-label": "Meny for innlogget bruker", children: /* @__PURE__ */ x("ul", { className: "pkt-user-menu__list", children: [
10630
10614
  i && /* @__PURE__ */ x("li", { className: "pkt-user-menu__item", children: [
10631
10615
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
@@ -10635,7 +10619,7 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10635
10619
  /* @__PURE__ */ h("time", { children: t })
10636
10620
  ] })
10637
10621
  ] }),
10638
- c && c.length > 0 && /* @__PURE__ */ h("li", { className: "pkt-user-menu__item", children: /* @__PURE__ */ h($c, { links: c }) }),
10622
+ c && c.length > 0 && /* @__PURE__ */ h("li", { className: "pkt-user-menu__item", children: /* @__PURE__ */ h(yc, { links: c }) }),
10639
10623
  e && /* @__PURE__ */ x("li", { className: "pkt-user-menu__item", children: [
10640
10624
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__label", children: "Representerer" }),
10641
10625
  /* @__PURE__ */ h("div", { className: "pkt-user-menu__name", translate: "no", children: e.name }),
@@ -10686,13 +10670,13 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10686
10670
  role: Q = "group",
10687
10671
  counterPosition: Et = "bottom"
10688
10672
  }, St) => {
10689
- const [et, gt] = It(!1), Ft = S || (e ? `${i}-helptext` : void 0), Ct = !!a, ot = Ct && Et === "top", te = Ct && Et === "bottom", ce = () => gt((lt) => !lt), F = [
10673
+ const [et, gt] = It(!1), jt = S || (e ? `${i}-helptext` : void 0), Ct = !!a, ot = Ct && Et === "top", te = Ct && Et === "bottom", ce = () => gt((lt) => !lt), F = [
10690
10674
  "pkt-inputwrapper",
10691
10675
  E,
10692
10676
  k ? "pkt-inputwrapper--error" : "",
10693
10677
  w ? "pkt-inputwrapper--disabled" : "",
10694
10678
  T ? "pkt-inputwrapper--inline" : ""
10695
- ].filter(Boolean).join(" "), yt = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), Kt = () => Ct ? /* @__PURE__ */ x("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": "true", children: [
10679
+ ].filter(Boolean).join(" "), yt = ["pkt-tag", "pkt-tag--small", "pkt-tag--thin-text"].join(" "), Yt = () => Ct ? /* @__PURE__ */ x("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": "true", children: [
10696
10680
  r,
10697
10681
  l ? `/${l}` : ""
10698
10682
  ] }) : null, be = () => /* @__PURE__ */ x(de, { children: [
@@ -10705,7 +10689,7 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10705
10689
  " ",
10706
10690
  be()
10707
10691
  ] });
10708
- return A ? z ? /* @__PURE__ */ h("legend", { className: "pkt-inputwrapper__legend", id: `${i}-label`, children: lt }) : /* @__PURE__ */ h("label", { className: "pkt-inputwrapper__label", htmlFor: i, "aria-describedby": Ft, id: `${i}-label`, children: lt }) : /* @__PURE__ */ h("label", { htmlFor: i, className: "pkt-sr-only", "aria-describedby": Ft, id: `${i}-label`, children: t });
10692
+ return A ? z ? /* @__PURE__ */ h("legend", { className: "pkt-inputwrapper__legend", id: `${i}-label`, children: lt }) : /* @__PURE__ */ h("label", { className: "pkt-inputwrapper__label", htmlFor: i, "aria-describedby": jt, id: `${i}-label`, children: lt }) : /* @__PURE__ */ h("label", { htmlFor: i, className: "pkt-sr-only", "aria-describedby": jt, id: `${i}-label`, children: t });
10709
10693
  }, ee = () => !e && !s ? null : /* @__PURE__ */ x(de, { children: [
10710
10694
  e && A && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__helptext", id: `${i}-helptext`, children: e }),
10711
10695
  s && /* @__PURE__ */ x("div", { className: "pkt-inputwrapper__helptext-expandable", children: [
@@ -10739,12 +10723,12 @@ const yc = (i) => typeof i.target == "string" ? { title: i.title, iconName: i.ic
10739
10723
  ] }), Dt = /* @__PURE__ */ x(de, { children: [
10740
10724
  ue(),
10741
10725
  ee(),
10742
- ot && /* @__PURE__ */ h(Kt, {}),
10726
+ ot && /* @__PURE__ */ h(Yt, {}),
10743
10727
  D,
10744
- te && /* @__PURE__ */ h(Kt, {}),
10728
+ te && /* @__PURE__ */ h(Yt, {}),
10745
10729
  k && b && /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__alert-wrapper", children: /* @__PURE__ */ h(Ea, { skin: "error", "aria-live": "assertive", role: "alert", id: `${i}-error`, compact: !0, children: b }) })
10746
10730
  ] });
10747
- return /* @__PURE__ */ h("div", { className: F, ref: St, role: Q, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": Ft, children: Dt }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Dt }) });
10731
+ return /* @__PURE__ */ h("div", { className: F, ref: St, role: Q, children: z ? /* @__PURE__ */ h("fieldset", { className: "pkt-inputwrapper__fieldset", "aria-describedby": jt, children: Dt }) : /* @__PURE__ */ h("div", { className: "pkt-inputwrapper__fieldset", children: Dt }) });
10748
10732
  }
10749
10733
  );
10750
10734
  Ps.displayName = "PktInputWrapper";
@@ -10777,14 +10761,14 @@ const Yn = X(
10777
10761
  prefix: St,
10778
10762
  suffix: et,
10779
10763
  type: gt = "text",
10780
- useWrapper: Ft = !0,
10764
+ useWrapper: jt = !0,
10781
10765
  omitSearchIcon: Ct = !1,
10782
10766
  value: ot,
10783
10767
  minLength: te,
10784
10768
  maxLength: ce,
10785
10769
  min: F,
10786
10770
  max: yt,
10787
- step: Kt,
10771
+ step: Yt,
10788
10772
  size: be,
10789
10773
  readonly: ue,
10790
10774
  required: ee,
@@ -10792,8 +10776,8 @@ const Yn = X(
10792
10776
  onChange: lt,
10793
10777
  skipForwardTestid: ye = !1,
10794
10778
  ...$e
10795
- }, Yt) => {
10796
- const hi = [r, "pkt-textinput"].join(" "), Ee = gt === "search" && !k && !Ct, He = gt === "date" && ot ? ot.slice(0, 10) : ot, [Ue, _e] = It((ot == null ? void 0 : ot.length) || 0), Gt = `${i}`, we = `${Gt}-label`, ze = e || we, Tt = (vt) => {
10779
+ }, Gt) => {
10780
+ const hi = [r, "pkt-textinput"].join(" "), Ee = gt === "search" && !k && !Ct, He = gt === "date" && ot ? ot.slice(0, 10) : ot, [Ue, _e] = It((ot == null ? void 0 : ot.length) || 0), Zt = `${i}`, we = `${Zt}-label`, ze = e || we, Tt = (vt) => {
10797
10781
  var ci, Oe;
10798
10782
  n && _e(((Oe = (ci = vt.currentTarget) == null ? void 0 : ci.value) == null ? void 0 : Oe.length) || 0), lt && lt(vt);
10799
10783
  };
@@ -10806,7 +10790,7 @@ const Yn = X(
10806
10790
  className: hi,
10807
10791
  disabled: l,
10808
10792
  errorMessage: c,
10809
- forId: Gt,
10793
+ forId: Zt,
10810
10794
  hasError: p,
10811
10795
  helptext: g,
10812
10796
  helptextDropdown: v,
@@ -10818,7 +10802,7 @@ const Yn = X(
10818
10802
  requiredTag: E,
10819
10803
  requiredText: z,
10820
10804
  tagText: Q,
10821
- useWrapper: Ft,
10805
+ useWrapper: jt,
10822
10806
  counter: n,
10823
10807
  counterCurrent: Ue,
10824
10808
  counterMaxLength: a,
@@ -10834,12 +10818,12 @@ const Yn = X(
10834
10818
  "input",
10835
10819
  {
10836
10820
  ...$e,
10837
- ref: Yt,
10821
+ ref: Gt,
10838
10822
  className: `pkt-input ${w ? "pkt-input--fullwidth" : ""} ${a && Ue > a ? "pkt-input--counter-error" : ""}`,
10839
10823
  type: gt,
10840
10824
  name: `${S || i}`,
10841
10825
  value: He,
10842
- id: Gt,
10826
+ id: Zt,
10843
10827
  placeholder: Et,
10844
10828
  autoComplete: s,
10845
10829
  disabled: l,
@@ -10849,7 +10833,7 @@ const Yn = X(
10849
10833
  min: F,
10850
10834
  max: yt,
10851
10835
  onChange: Tt,
10852
- step: Kt,
10836
+ step: Yt,
10853
10837
  minLength: te,
10854
10838
  maxLength: ce,
10855
10839
  size: be,
@@ -10869,7 +10853,7 @@ const Yn = X(
10869
10853
  }
10870
10854
  );
10871
10855
  }
10872
- ), wc = (i, t) => {
10856
+ ), _c = (i, t) => {
10873
10857
  const e = () => typeof window > "u" ? 0 : window.innerWidth, [s, n] = It(e);
10874
10858
  return Pt(() => {
10875
10859
  const a = i.current;
@@ -10889,8 +10873,8 @@ const Yn = X(
10889
10873
  };
10890
10874
  }, [i]), s;
10891
10875
  };
10892
- function xc(i) {
10893
- const t = Zt(0);
10876
+ function wc(i) {
10877
+ const t = Jt(0);
10894
10878
  Pt(() => {
10895
10879
  const e = document.body, s = document.documentElement;
10896
10880
  if (i) {
@@ -10904,7 +10888,7 @@ function xc(i) {
10904
10888
  };
10905
10889
  }, [i]);
10906
10890
  }
10907
- const Sc = X(
10891
+ const xc = X(
10908
10892
  ({
10909
10893
  mobileBreakpoint: i = 768,
10910
10894
  tabletBreakpoint: t = 1280,
@@ -10933,9 +10917,9 @@ const Sc = X(
10933
10917
  logoLink: St,
10934
10918
  logoClick: et,
10935
10919
  position: gt = "fixed",
10936
- scrollBehavior: Ft = "hide"
10920
+ scrollBehavior: jt = "hide"
10937
10921
  }, Ct) => {
10938
- const ot = gt === "fixed", te = Ft === "hide";
10922
+ const ot = gt === "fixed", te = jt === "hide";
10939
10923
  Pt(() => {
10940
10924
  D && console.warn(
10941
10925
  'PktHeaderService: The "userMenuFooter" prop is deprecated and will be removed in a future version. Please use "userMenu" instead.'
@@ -10956,13 +10940,13 @@ const Sc = X(
10956
10940
  month: "long",
10957
10941
  day: "numeric"
10958
10942
  });
10959
- }, [S == null ? void 0 : S.lastLoggedIn]), [F, yt] = It(l || "none"), [Kt, be] = It(!1), [ue, ee] = It(0), [Dt, lt] = It(!1), [ye, $e] = It(!1), Yt = Zt(null), hi = Zt(null), Ee = Zt(null), He = Zt(null), Ue = Zt(null), _e = Zt(null), Gt = Zt(null), we = Zt(!1), ze = wc(Yt), Tt = ze < i, vt = ze < t, ci = Pe(
10943
+ }, [S == null ? void 0 : S.lastLoggedIn]), [F, yt] = It(l || "none"), [Yt, be] = It(!1), [ue, ee] = It(0), [Dt, lt] = It(!1), [ye, $e] = It(!1), Gt = Jt(null), hi = Jt(null), Ee = Jt(null), He = Jt(null), Ue = Jt(null), _e = Jt(null), Zt = Jt(null), we = Jt(!1), ze = _c(Gt), Tt = ze < i, vt = ze < t, ci = Pe(
10960
10944
  (B) => {
10961
- Yt.current = B, typeof Ct == "function" ? Ct(B) : Ct && (Ct.current = B);
10945
+ Gt.current = B, typeof Ct == "function" ? Ct(B) : Ct && (Ct.current = B);
10962
10946
  },
10963
10947
  [Ct]
10964
10948
  );
10965
- xc(ot && Tt && F !== "none");
10949
+ wc(ot && Tt && F !== "none");
10966
10950
  const Oe = Pe((B, Ot) => {
10967
10951
  const m = B.relatedTarget;
10968
10952
  let d;
@@ -10982,7 +10966,7 @@ const Sc = X(
10982
10966
  const f = d.current;
10983
10967
  f && (!m || !f.contains(m)) && yt("none");
10984
10968
  }, []), Oi = Pe(() => {
10985
- we.current && Gt.current && document.contains(Gt.current) && Gt.current.focus(), Gt.current = null, we.current = !1;
10969
+ we.current && Zt.current && document.contains(Zt.current) && Zt.current.focus(), Zt.current = null, we.current = !1;
10986
10970
  }, []);
10987
10971
  Pt(() => {
10988
10972
  const B = (m) => {
@@ -11018,7 +11002,7 @@ const Sc = X(
11018
11002
  [vt, Tt]
11019
11003
  ), ui = Pe(
11020
11004
  (B) => {
11021
- F !== "none" ? yt("none") : (Gt.current = document.activeElement, yt(B));
11005
+ F !== "none" ? yt("none") : (Zt.current = document.activeElement, yt(B));
11022
11006
  },
11023
11007
  [F]
11024
11008
  );
@@ -11037,7 +11021,7 @@ const Sc = X(
11037
11021
  vt && "pkt-header-service--tablet",
11038
11022
  ot && "pkt-header-service--fixed",
11039
11023
  te && "pkt-header-service--scroll-to-hide",
11040
- Kt && "pkt-header-service--hidden"
11024
+ Yt && "pkt-header-service--hidden"
11041
11025
  ),
11042
11026
  "data-mode": n,
11043
11027
  ref: ci,
@@ -11055,7 +11039,7 @@ const Sc = X(
11055
11039
  {
11056
11040
  name: "oslologo",
11057
11041
  "aria-hidden": "true",
11058
- path: "https://punkt-cdn.oslo.kommune.no/14.1/logos/"
11042
+ path: "https://punkt-cdn.oslo.kommune.no/14.2/logos/"
11059
11043
  }
11060
11044
  ) }) : et ? /* @__PURE__ */ h(
11061
11045
  "button",
@@ -11068,7 +11052,7 @@ const Sc = X(
11068
11052
  {
11069
11053
  name: "oslologo",
11070
11054
  "aria-hidden": "true",
11071
- path: "https://punkt-cdn.oslo.kommune.no/14.1/logos/"
11055
+ path: "https://punkt-cdn.oslo.kommune.no/14.2/logos/"
11072
11056
  }
11073
11057
  )
11074
11058
  }
@@ -11077,7 +11061,7 @@ const Sc = X(
11077
11061
  {
11078
11062
  name: "oslologo",
11079
11063
  "aria-hidden": "true",
11080
- path: "https://punkt-cdn.oslo.kommune.no/14.1/logos/"
11064
+ path: "https://punkt-cdn.oslo.kommune.no/14.2/logos/"
11081
11065
  }
11082
11066
  ) }),
11083
11067
  T && /* @__PURE__ */ h("span", { className: "pkt-header-service__service-name", children: b ? /* @__PURE__ */ h(ln, { href: b, className: "pkt-header-service__service-link ", children: T }) : w ? /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link pkt-header-service__service-link", onClick: w, children: T }) : /* @__PURE__ */ h("span", { className: "pkt-header-service__service-link", children: T }) })
@@ -11238,7 +11222,7 @@ const Sc = X(
11238
11222
  "is-open"
11239
11223
  ),
11240
11224
  children: /* @__PURE__ */ h(
11241
- _c,
11225
+ $c,
11242
11226
  {
11243
11227
  user: S,
11244
11228
  formattedLastLoggedIn: ce,
@@ -11275,16 +11259,16 @@ const Sc = X(
11275
11259
  )
11276
11260
  ] }) : Mi;
11277
11261
  }
11278
- ), Cc = X((i, t) => /* @__PURE__ */ h(Sc, { ...i, ref: t }));
11279
- Cc.displayName = "PktHeader";
11280
- const Tc = le({
11262
+ ), Sc = X((i, t) => /* @__PURE__ */ h(xc, { ...i, ref: t }));
11263
+ Sc.displayName = "PktHeader";
11264
+ const Cc = le({
11281
11265
  tagName: "pkt-heading",
11282
11266
  elementClass: Fe,
11283
11267
  react: oe,
11284
11268
  displayName: "PktHeading"
11285
- }), Nc = X(({ children: i, ...t }, e) => /* @__PURE__ */ h(Tc, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
11286
- Nc.displayName = "PktHeading";
11287
- const Ac = le({
11269
+ }), Tc = X(({ children: i, ...t }, e) => /* @__PURE__ */ h(Cc, { "data-testid": "pkt-heading", ...t, ref: e, children: i }));
11270
+ Tc.displayName = "PktHeading";
11271
+ const Nc = le({
11288
11272
  tagName: "pkt-helptext",
11289
11273
  elementClass: Ce,
11290
11274
  react: oe,
@@ -11292,19 +11276,19 @@ const Ac = le({
11292
11276
  events: {
11293
11277
  onToggleHelpText: "toggleHelpText"
11294
11278
  }
11295
- }), Ec = X(
11296
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ac, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11279
+ }), Ac = X(
11280
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Nc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11297
11281
  );
11298
- Ec.displayName = "PktHelptext";
11299
- const Oc = X(
11282
+ Ac.displayName = "PktHelptext";
11283
+ const Ec = X(
11300
11284
  ({ label: i, id: t, children: e, ...s }, n) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
11301
11285
  /* @__PURE__ */ h("label", { htmlFor: t, className: "pkt-form-label", children: i }),
11302
11286
  /* @__PURE__ */ h("input", { className: "pkt-form-input", id: t, ...s, ref: n }),
11303
11287
  e
11304
11288
  ] })
11305
11289
  );
11306
- Oc.displayName = "PktInput";
11307
- const Mc = ({
11290
+ Ec.displayName = "PktInput";
11291
+ const Oc = ({
11308
11292
  children: i,
11309
11293
  skin: t,
11310
11294
  title: e,
@@ -11332,18 +11316,18 @@ const Mc = ({
11332
11316
  }
11333
11317
  );
11334
11318
  };
11335
- Mc.displayName = "PktLinkCard";
11336
- const Pc = le({
11319
+ Oc.displayName = "PktLinkCard";
11320
+ const Mc = le({
11337
11321
  tagName: "pkt-loader",
11338
11322
  elementClass: re,
11339
11323
  react: oe,
11340
11324
  displayName: "PktLoader",
11341
11325
  events: {}
11342
- }), Dc = X(
11343
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Pc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11326
+ }), Pc = X(
11327
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Mc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11344
11328
  );
11345
- Dc.displayName = "PktLoader";
11346
- const Ic = ({
11329
+ Pc.displayName = "PktLoader";
11330
+ const Dc = ({
11347
11331
  children: i,
11348
11332
  className: t,
11349
11333
  skin: e,
@@ -11376,28 +11360,28 @@ const Ic = ({
11376
11360
  /* @__PURE__ */ h("div", { className: "pkt-messagebox__text", children: i })
11377
11361
  ] });
11378
11362
  };
11379
- Ic.displayName = "PktMessagebox";
11380
- const Rc = le({
11363
+ Dc.displayName = "PktMessagebox";
11364
+ const Ic = le({
11381
11365
  tagName: "pkt-modal",
11382
- elementClass: Ut,
11366
+ elementClass: zt,
11383
11367
  react: oe,
11384
11368
  displayName: "PktModal",
11385
11369
  events: {}
11386
- }), Lc = X(
11387
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Rc, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11370
+ }), Rc = X(
11371
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Ic, { ...t, ref: e, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11388
11372
  );
11389
- Lc.displayName = "PktModal";
11390
- const Bc = le({
11373
+ Rc.displayName = "PktModal";
11374
+ const Lc = le({
11391
11375
  tagName: "pkt-progressbar",
11392
11376
  elementClass: ct,
11393
11377
  react: oe,
11394
11378
  displayName: "PktProgressbar",
11395
11379
  events: {}
11396
- }), Fc = X(
11397
- ({ children: i, ...t }, e) => /* @__PURE__ */ h(Bc, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11380
+ }), Bc = X(
11381
+ ({ children: i, ...t }, e) => /* @__PURE__ */ h(Lc, { ref: e, ...t, children: /* @__PURE__ */ h("div", { className: "pkt-contents", children: i }) })
11398
11382
  );
11399
- Fc.displayName = "PktProgressbar";
11400
- const jc = X(
11383
+ Bc.displayName = "PktProgressbar";
11384
+ const Fc = X(
11401
11385
  ({
11402
11386
  id: i,
11403
11387
  name: t,
@@ -11451,8 +11435,8 @@ const jc = X(
11451
11435
  ] }) });
11452
11436
  }
11453
11437
  );
11454
- jc.displayName = "PktRadioButton";
11455
- const Zu = X(
11438
+ Fc.displayName = "PktRadioButton";
11439
+ const Gu = X(
11456
11440
  ({
11457
11441
  appearance: i = "local",
11458
11442
  disabled: t = !1,
@@ -11535,7 +11519,7 @@ const Zu = X(
11535
11519
  ] })
11536
11520
  );
11537
11521
  }
11538
- ), Ju = X(
11522
+ ), Zu = X(
11539
11523
  ({
11540
11524
  ariaDescribedby: i,
11541
11525
  ariaLabelledby: t,
@@ -11597,22 +11581,22 @@ const Zu = X(
11597
11581
  }
11598
11582
  );
11599
11583
  }
11600
- ), Vc = /* @__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)" } }) }), Hc = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
11584
+ ), jc = /* @__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)" } }) }), Vc = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
11601
11585
  /* @__PURE__ */ h("circle", { opacity: ".15", cx: "12", cy: "12", r: "12", fill: "#2A2859" }),
11602
11586
  /* @__PURE__ */ h("circle", { cx: "12", cy: "12", r: "6", fill: "#2A2859" })
11603
- ] }), Uc = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
11587
+ ] }), Hc = /* @__PURE__ */ x("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", children: [
11604
11588
  /* @__PURE__ */ h("path", { fill: "#2A2859", d: "M3 3h18v18H3z" }),
11605
11589
  /* @__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" })
11606
- ] }), Xu = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: W("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
11590
+ ] }), Ju = ({ children: i, className: t, status: e = "incomplete", title: s }) => /* @__PURE__ */ x("li", { className: W("pkt-step", t, `pkt-step--${e}`), "data-testid": "pkt-step", children: [
11607
11591
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--1", "aria-hidden": !0 }),
11608
11592
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--2", "aria-hidden": !0 }),
11609
- /* @__PURE__ */ h("span", { className: W("pkt-step__indicator"), children: e === "current" ? Hc : e === "completed" ? Uc : Vc }),
11593
+ /* @__PURE__ */ h("span", { className: W("pkt-step__indicator"), children: e === "current" ? Vc : e === "completed" ? Hc : jc }),
11610
11594
  /* @__PURE__ */ h("span", { className: "pkt-step__line pkt-step__line--3", "aria-hidden": !0 }),
11611
11595
  /* @__PURE__ */ x("div", { className: "pkt-step__wrapper", children: [
11612
11596
  /* @__PURE__ */ h("div", { className: "pkt-step__title", children: s }),
11613
11597
  /* @__PURE__ */ h("div", { className: "pkt-step__content", children: i })
11614
11598
  ] })
11615
- ] }), Qu = X(
11599
+ ] }), Xu = X(
11616
11600
  ({
11617
11601
  activeStep: i,
11618
11602
  className: t,
@@ -11634,7 +11618,7 @@ const Zu = X(
11634
11618
  }) : g);
11635
11619
  return /* @__PURE__ */ h("ol", { "data-testid": "pkt-stepper", className: c, ref: l, ...r, children: p });
11636
11620
  }
11637
- ), td = ({
11621
+ ), Qu = ({
11638
11622
  className: i,
11639
11623
  compact: t = !1,
11640
11624
  skin: e = "basic",
@@ -11655,7 +11639,7 @@ const Zu = X(
11655
11639
  ...a,
11656
11640
  children: n
11657
11641
  }
11658
- ), ed = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: W(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), id = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
11642
+ ), td = ({ id: i, children: t, className: e, ...s }) => /* @__PURE__ */ h("tbody", { id: i, className: W(e, "pkt-table__body", {}), ...s, role: "rowgroup", children: t }), ed = ({ children: i, className: t, dataLabel: e, ...s }) => /* @__PURE__ */ h(
11659
11643
  "td",
11660
11644
  {
11661
11645
  className: W(t, "pkt-table__data-cell", {}),
@@ -11665,7 +11649,7 @@ const Zu = X(
11665
11649
  ...s,
11666
11650
  children: i
11667
11651
  }
11668
- ), sd = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: W(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), nd = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: W(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), ad = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: W(i, "pkt-table__row", {}), role: "row", ...e, children: t }), Oa = X(
11652
+ ), id = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("thead", { className: W(i, "pkt-table__header", {}), role: "rowgroup", ...e, children: t }), sd = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("th", { className: W(i, "pkt-table__header-cell", {}), role: "columnheader", ...e, children: t }), nd = ({ className: i, children: t, ...e }) => /* @__PURE__ */ h("tr", { className: W(i, "pkt-table__row", {}), role: "row", ...e, children: t }), Oa = X(
11669
11653
  ({
11670
11654
  children: i,
11671
11655
  skin: t,
@@ -11682,7 +11666,7 @@ const Zu = X(
11682
11666
  }, $) => {
11683
11667
  const [k, b] = It(!1), w = Pe(() => {
11684
11668
  b(!0), c && c();
11685
- }, [b]), T = Zt(null), [S, A] = It("");
11669
+ }, [b]), T = Jt(null), [S, A] = It("");
11686
11670
  Pt(() => {
11687
11671
  var Q, Et;
11688
11672
  A(((Et = (Q = T.current) == null ? void 0 : Q.textContent) == null ? void 0 : Et.trim()) ?? "");
@@ -11729,7 +11713,7 @@ const Zu = X(
11729
11713
  Oa.displayName = "PktTag";
11730
11714
  const Ma = X(
11731
11715
  ({ children: i, active: t, href: e, onClick: s, icon: n, controls: a, tag: r, tagSkin: l, index: c = 0 }, p) => {
11732
- const { arrowNav: g, registerTabRef: v, handleKeyPress: $, selectTab: k } = zc(), w = {
11716
+ const { arrowNav: g, registerTabRef: v, handleKeyPress: $, selectTab: k } = Uc(), w = {
11733
11717
  "aria-selected": g ? !!t : void 0,
11734
11718
  "aria-controls": a,
11735
11719
  role: g ? "tab" : void 0,
@@ -11750,14 +11734,14 @@ const Ma = X(
11750
11734
  }
11751
11735
  );
11752
11736
  Ma.displayName = "PktTabItem";
11753
- const Pa = Gn(null), zc = () => {
11737
+ const Pa = Gn(null), Uc = () => {
11754
11738
  const i = Zn(Pa);
11755
11739
  if (!i)
11756
11740
  throw new Error("TabItem must be used within a Tabs component");
11757
11741
  return i;
11758
- }, rd = X(
11742
+ }, ad = X(
11759
11743
  ({ arrowNav: i = !0, disableArrowNav: t = !1, tabs: e, onTabSelected: s, children: n }, a) => {
11760
- const r = Zt([]), l = i && !t, p = n && Ws.count(n) > 0 ? Ws.count(n) : (e == null ? void 0 : e.length) || 0;
11744
+ const r = Jt([]), l = i && !t, p = n && Ws.count(n) > 0 ? Ws.count(n) : (e == null ? void 0 : e.length) || 0;
11761
11745
  Pt(() => {
11762
11746
  r.current = r.current.slice(0, p);
11763
11747
  }, [p]);
@@ -11789,7 +11773,7 @@ const Pa = Gn(null), zc = () => {
11789
11773
  });
11790
11774
  return /* @__PURE__ */ h(Pa.Provider, { value: { arrowNav: l, registerTabRef: $, handleKeyPress: v, selectTab: g }, children: /* @__PURE__ */ h("div", { className: "pkt-tabs", ref: a, children: /* @__PURE__ */ h("div", { className: "pkt-tabs__list", role: l ? "tablist" : "navigation", children: n || k }) }) });
11791
11775
  }
11792
- ), od = X(
11776
+ ), rd = X(
11793
11777
  ({
11794
11778
  id: i,
11795
11779
  ariaDescribedby: t,
@@ -11818,15 +11802,15 @@ const Pa = Gn(null), zc = () => {
11818
11802
  onChange: St,
11819
11803
  value: et,
11820
11804
  autoComplete: gt = "off",
11821
- minLength: Ft,
11805
+ minLength: jt,
11822
11806
  maxLength: Ct,
11823
11807
  readOnly: ot = !1,
11824
11808
  skipForwardTestid: te = !1,
11825
11809
  ...ce
11826
11810
  }, F) => {
11827
- const yt = [a, "pkt-textinput", "pkt-textarea"].join(" "), Kt = `${i}-input`, be = `${Kt}-label`, ue = e || be, [ee, Dt] = It(0), lt = (ye) => {
11828
- var $e, Yt;
11829
- if (s && Dt(((Yt = ($e = ye.currentTarget) == null ? void 0 : $e.value) == null ? void 0 : Yt.length) || 0), St)
11811
+ const yt = [a, "pkt-textinput", "pkt-textarea"].join(" "), Yt = `${i}-input`, be = `${Yt}-label`, ue = e || be, [ee, Dt] = It(0), lt = (ye) => {
11812
+ var $e, Gt;
11813
+ if (s && Dt(((Gt = ($e = ye.currentTarget) == null ? void 0 : $e.value) == null ? void 0 : Gt.length) || 0), St)
11830
11814
  return St(ye);
11831
11815
  };
11832
11816
  return Pt(() => {
@@ -11838,7 +11822,7 @@ const Pa = Gn(null), zc = () => {
11838
11822
  className: yt,
11839
11823
  disabled: r,
11840
11824
  errorMessage: l,
11841
- forId: Kt,
11825
+ forId: Yt,
11842
11826
  hasError: c,
11843
11827
  helptext: p,
11844
11828
  helptextDropdown: g,
@@ -11860,7 +11844,7 @@ const Pa = Gn(null), zc = () => {
11860
11844
  ref: F,
11861
11845
  className: `pkt-input ${k ? "pkt-input--fullwidth" : ""} ${n && ee > n ? "pkt-input--counter-error" : ""}`,
11862
11846
  name: `${w || i}`,
11863
- id: Kt,
11847
+ id: Yt,
11864
11848
  placeholder: z,
11865
11849
  disabled: r,
11866
11850
  rows: Q,
@@ -11871,7 +11855,7 @@ const Pa = Gn(null), zc = () => {
11871
11855
  onChange: lt,
11872
11856
  value: et,
11873
11857
  autoComplete: gt,
11874
- minLength: Ft,
11858
+ minLength: jt,
11875
11859
  maxLength: Ct,
11876
11860
  "data-skip-forward-testid": te ? "true" : void 0
11877
11861
  }
@@ -11882,45 +11866,45 @@ const Pa = Gn(null), zc = () => {
11882
11866
  );
11883
11867
  export {
11884
11868
  ja as PktAccordion,
11885
- lc as PktAccordionItem,
11869
+ oc as PktAccordionItem,
11886
11870
  Ea as PktAlert,
11887
- dc as PktBackLink,
11888
- Ku as PktBreadcrumbs,
11871
+ uc as PktBackLink,
11872
+ Wu as PktBreadcrumbs,
11889
11873
  xe as PktButton,
11890
- mc as PktCard,
11891
- fc as PktCheckbox,
11892
- vc as PktCombobox,
11874
+ pc as PktCard,
11875
+ mc as PktCheckbox,
11876
+ gc as PktCombobox,
11893
11877
  on as PktConsent,
11894
- bc as PktDatepicker,
11895
- Yu as PktFooter,
11896
- Gu as PktFooterSimple,
11897
- Cc as PktHeader,
11898
- Sc as PktHeaderService,
11899
- Nc as PktHeading,
11900
- Ec as PktHelptext,
11878
+ kc as PktDatepicker,
11879
+ Ku as PktFooter,
11880
+ Yu as PktFooterSimple,
11881
+ Sc as PktHeader,
11882
+ xc as PktHeaderService,
11883
+ Tc as PktHeading,
11884
+ Ac as PktHelptext,
11901
11885
  U as PktIcon,
11902
- Oc as PktInput,
11886
+ Ec as PktInput,
11903
11887
  Ps as PktInputWrapper,
11904
11888
  ln as PktLink,
11905
- Mc as PktLinkCard,
11906
- Dc as PktLoader,
11907
- Ic as PktMessagebox,
11908
- Lc as PktModal,
11909
- Fc as PktProgressbar,
11910
- jc as PktRadioButton,
11911
- Zu as PktSearchInput,
11912
- Ju as PktSelect,
11913
- Xu as PktStep,
11914
- Qu as PktStepper,
11889
+ Oc as PktLinkCard,
11890
+ Pc as PktLoader,
11891
+ Dc as PktMessagebox,
11892
+ Rc as PktModal,
11893
+ Bc as PktProgressbar,
11894
+ Fc as PktRadioButton,
11895
+ Gu as PktSearchInput,
11896
+ Zu as PktSelect,
11897
+ Ju as PktStep,
11898
+ Xu as PktStepper,
11915
11899
  Ma as PktTabItem,
11916
- td as PktTable,
11917
- ed as PktTableBody,
11918
- id as PktTableDataCell,
11919
- sd as PktTableHeader,
11920
- nd as PktTableHeaderCell,
11921
- ad as PktTableRow,
11922
- rd as PktTabs,
11900
+ Qu as PktTable,
11901
+ td as PktTableBody,
11902
+ ed as PktTableDataCell,
11903
+ id as PktTableHeader,
11904
+ sd as PktTableHeaderCell,
11905
+ nd as PktTableRow,
11906
+ ad as PktTabs,
11923
11907
  Oa as PktTag,
11924
- od as PktTextarea,
11908
+ rd as PktTextarea,
11925
11909
  Yn as PktTextinput
11926
11910
  };