@oslokommune/punkt-react 7.0.0 → 7.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- import B, { useState as se, useEffect as bt, forwardRef as G } from "react";
2
- function gt(a) {
3
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
1
+ import U, { useState as se, useEffect as bt, forwardRef as V } from "react";
2
+ function gt(n) {
3
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
4
4
  }
5
5
  var ve = { exports: {} }, ee = {};
6
6
  /**
@@ -17,18 +17,18 @@ function Nt() {
17
17
  if (Ue)
18
18
  return ee;
19
19
  Ue = 1;
20
- var a = B, u = Symbol.for("react.element"), p = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function f(o, d, x) {
20
+ var n = U, p = Symbol.for("react.element"), c = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, l = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function f(i, d, x) {
22
22
  var N, v = {}, T = null, C = null;
23
23
  x !== void 0 && (T = "" + x), d.key !== void 0 && (T = "" + d.key), d.ref !== void 0 && (C = d.ref);
24
24
  for (N in d)
25
- s.call(d, N) && !c.hasOwnProperty(N) && (v[N] = d[N]);
26
- if (o && o.defaultProps)
27
- for (N in d = o.defaultProps, d)
25
+ s.call(d, N) && !u.hasOwnProperty(N) && (v[N] = d[N]);
26
+ if (i && i.defaultProps)
27
+ for (N in d = i.defaultProps, d)
28
28
  v[N] === void 0 && (v[N] = d[N]);
29
- return { $$typeof: u, type: o, key: T, ref: C, props: v, _owner: l.current };
29
+ return { $$typeof: p, type: i, key: T, ref: C, props: v, _owner: l.current };
30
30
  }
31
- return ee.Fragment = p, ee.jsx = f, ee.jsxs = f, ee;
31
+ return ee.Fragment = c, ee.jsx = f, ee.jsxs = f, ee;
32
32
  }
33
33
  var te = {};
34
34
  /**
@@ -43,46 +43,46 @@ var te = {};
43
43
  var Ve;
44
44
  function yt() {
45
45
  return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
46
- var a = B, u = Symbol.for("react.element"), p = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), o = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), $ = Symbol.iterator, L = "@@iterator";
46
+ var n = U, p = Symbol.for("react.element"), c = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), i = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), $ = Symbol.iterator, L = "@@iterator";
47
47
  function S(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
50
  var r = $ && e[$] || e[L];
51
51
  return typeof r == "function" ? r : null;
52
52
  }
53
- var R = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
54
  function y(e) {
55
55
  {
56
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), m = 1; m < r; m++)
57
- n[m - 1] = arguments[m];
58
- D("error", e, n);
56
+ for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), m = 1; m < r; m++)
57
+ a[m - 1] = arguments[m];
58
+ D("error", e, a);
59
59
  }
60
60
  }
61
- function D(e, r, n) {
61
+ function D(e, r, a) {
62
62
  {
63
63
  var m = R.ReactDebugCurrentFrame, b = m.getStackAddendum();
64
- b !== "" && (r += "%s", n = n.concat([b]));
65
- var w = n.map(function(_) {
64
+ b !== "" && (r += "%s", a = a.concat([b]));
65
+ var w = a.map(function(_) {
66
66
  return String(_);
67
67
  });
68
68
  w.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, w);
69
69
  }
70
70
  }
71
- var j = !1, U = !1, A = !1, M = !1, O = !1, J;
72
- J = Symbol.for("react.module.reference");
71
+ var j = !1, H = !1, A = !1, M = !1, O = !1, B;
72
+ B = Symbol.for("react.module.reference");
73
73
  function Y(e) {
74
- return !!(typeof e == "string" || typeof e == "function" || e === s || e === c || O || e === l || e === x || e === N || M || e === C || j || U || A || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === v || e.$$typeof === f || e.$$typeof === o || e.$$typeof === d || // This needs to include all possible module reference object
74
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === u || O || e === l || e === x || e === N || M || e === C || j || H || A || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === v || e.$$typeof === f || e.$$typeof === i || e.$$typeof === d || // This needs to include all possible module reference object
75
75
  // types supported by any Flight configuration anywhere since
76
76
  // we don't know which Flight build this will end up being used
77
77
  // with.
78
- e.$$typeof === J || e.getModuleId !== void 0));
78
+ e.$$typeof === B || e.getModuleId !== void 0));
79
79
  }
80
- function z(e, r, n) {
80
+ function z(e, r, a) {
81
81
  var m = e.displayName;
82
82
  if (m)
83
83
  return m;
84
84
  var b = r.displayName || r.name || "";
85
- return b !== "" ? n + "(" + b + ")" : n;
85
+ return b !== "" ? a + "(" + b + ")" : a;
86
86
  }
87
87
  function k(e) {
88
88
  return e.displayName || "Context";
@@ -97,9 +97,9 @@ function yt() {
97
97
  switch (e) {
98
98
  case s:
99
99
  return "Fragment";
100
- case p:
101
- return "Portal";
102
100
  case c:
101
+ return "Portal";
102
+ case u:
103
103
  return "Profiler";
104
104
  case l:
105
105
  return "StrictMode";
@@ -110,12 +110,12 @@ function yt() {
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
- case o:
113
+ case i:
114
114
  var r = e;
115
115
  return k(r) + ".Consumer";
116
116
  case f:
117
- var n = e;
118
- return k(n._context) + ".Provider";
117
+ var a = e;
118
+ return k(a._context) + ".Provider";
119
119
  case d:
120
120
  return z(e, e.render, "ForwardRef");
121
121
  case v:
@@ -195,7 +195,7 @@ function yt() {
195
195
  }
196
196
  }
197
197
  var ce = R.ReactCurrentDispatcher, ue;
198
- function re(e, r, n) {
198
+ function re(e, r, a) {
199
199
  {
200
200
  if (ue === void 0)
201
201
  try {
@@ -208,18 +208,18 @@ function yt() {
208
208
  ` + ue + e;
209
209
  }
210
210
  }
211
- var pe = !1, ae;
211
+ var pe = !1, ne;
212
212
  {
213
213
  var Ke = typeof WeakMap == "function" ? WeakMap : Map;
214
- ae = new Ke();
214
+ ne = new Ke();
215
215
  }
216
216
  function Ce(e, r) {
217
217
  if (!e || pe)
218
218
  return "";
219
219
  {
220
- var n = ae.get(e);
221
- if (n !== void 0)
222
- return n;
220
+ var a = ne.get(e);
221
+ if (a !== void 0)
222
+ return a;
223
223
  }
224
224
  var m;
225
225
  pe = !0;
@@ -239,29 +239,29 @@ function yt() {
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
241
  Reflect.construct(_, []);
242
- } catch (V) {
243
- m = V;
242
+ } catch (G) {
243
+ m = G;
244
244
  }
245
245
  Reflect.construct(e, [], _);
246
246
  } else {
247
247
  try {
248
248
  _.call();
249
- } catch (V) {
250
- m = V;
249
+ } catch (G) {
250
+ m = G;
251
251
  }
252
252
  e.call(_.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
- } catch (V) {
258
- m = V;
257
+ } catch (G) {
258
+ m = G;
259
259
  }
260
260
  e();
261
261
  }
262
- } catch (V) {
263
- if (V && m && typeof V.stack == "string") {
264
- for (var h = V.stack.split(`
262
+ } catch (G) {
263
+ if (G && m && typeof G.stack == "string") {
264
+ for (var h = G.stack.split(`
265
265
  `), F = m.stack.split(`
266
266
  `), E = h.length - 1, P = F.length - 1; E >= 1 && P >= 0 && h[E] !== F[P]; )
267
267
  P--;
@@ -272,7 +272,7 @@ function yt() {
272
272
  if (E--, P--, P < 0 || h[E] !== F[P]) {
273
273
  var W = `
274
274
  ` + h[E].replace(" at new ", " at ");
275
- return e.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, W), W;
275
+ return e.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, W), W;
276
276
  }
277
277
  while (E >= 1 && P >= 0);
278
278
  break;
@@ -281,17 +281,17 @@ function yt() {
281
281
  } finally {
282
282
  pe = !1, ce.current = w, ze(), Error.prepareStackTrace = b;
283
283
  }
284
- var X = e ? e.displayName || e.name : "", Be = X ? re(X) : "";
285
- return typeof e == "function" && ae.set(e, Be), Be;
284
+ var X = e ? e.displayName || e.name : "", Ye = X ? re(X) : "";
285
+ return typeof e == "function" && ne.set(e, Ye), Ye;
286
286
  }
287
- function Xe(e, r, n) {
287
+ function Xe(e, r, a) {
288
288
  return Ce(e, !1);
289
289
  }
290
290
  function Ze(e) {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function ne(e, r, n) {
294
+ function ae(e, r, a) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
@@ -309,11 +309,11 @@ function yt() {
309
309
  case d:
310
310
  return Xe(e.render);
311
311
  case v:
312
- return ne(e.type, r, n);
312
+ return ae(e.type, r, a);
313
313
  case T: {
314
314
  var m = e, b = m._payload, w = m._init;
315
315
  try {
316
- return ne(w(b), r, n);
316
+ return ae(w(b), r, a);
317
317
  } catch {
318
318
  }
319
319
  }
@@ -321,14 +321,14 @@ function yt() {
321
321
  return "";
322
322
  }
323
323
  var le = Object.prototype.hasOwnProperty, je = {}, Se = R.ReactDebugCurrentFrame;
324
- function oe(e) {
324
+ function ie(e) {
325
325
  if (e) {
326
- var r = e._owner, n = ne(e.type, e._source, r ? r.type : null);
327
- Se.setExtraStackFrame(n);
326
+ var r = e._owner, a = ae(e.type, e._source, r ? r.type : null);
327
+ Se.setExtraStackFrame(a);
328
328
  } else
329
329
  Se.setExtraStackFrame(null);
330
330
  }
331
- function Qe(e, r, n, m, b) {
331
+ function Qe(e, r, a, m, b) {
332
332
  {
333
333
  var w = Function.call.bind(le);
334
334
  for (var _ in e)
@@ -336,14 +336,14 @@ function yt() {
336
336
  var h = void 0;
337
337
  try {
338
338
  if (typeof e[_] != "function") {
339
- var F = Error((m || "React class") + ": " + n + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
339
+ var F = Error((m || "React class") + ": " + a + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
340
  throw F.name = "Invariant Violation", F;
341
341
  }
342
- h = e[_](r, _, m, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
342
+ h = e[_](r, _, m, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
343
  } catch (E) {
344
344
  h = E;
345
345
  }
346
- h && !(h instanceof Error) && (oe(b), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", n, _, typeof h), oe(null)), h instanceof Error && !(h.message in je) && (je[h.message] = !0, oe(b), y("Failed %s type: %s", n, h.message), oe(null));
346
+ h && !(h instanceof Error) && (ie(b), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", m || "React class", a, _, typeof h), ie(null)), h instanceof Error && !(h.message in je) && (je[h.message] = !0, ie(b), y("Failed %s type: %s", a, h.message), ie(null));
347
347
  }
348
348
  }
349
349
  }
@@ -353,8 +353,8 @@ function yt() {
353
353
  }
354
354
  function tt(e) {
355
355
  {
356
- var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
- return n;
356
+ var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
+ return a;
358
358
  }
359
359
  }
360
360
  function rt(e) {
@@ -371,14 +371,14 @@ function yt() {
371
371
  if (rt(e))
372
372
  return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", tt(e)), Oe(e);
373
373
  }
374
- var Q = R.ReactCurrentOwner, at = {
374
+ var Q = R.ReactCurrentOwner, nt = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
379
  }, Ie, Fe, de;
380
380
  de = {};
381
- function nt(e) {
381
+ function at(e) {
382
382
  if (le.call(e, "ref")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
384
384
  if (r && r.isReactWarning)
@@ -394,42 +394,42 @@ function yt() {
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function ot(e, r) {
397
+ function it(e, r) {
398
398
  if (typeof e.ref == "string" && Q.current && r && Q.current.stateNode !== r) {
399
- var n = I(Q.current.type);
400
- de[n] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(Q.current.type), e.ref), de[n] = !0);
399
+ var a = I(Q.current.type);
400
+ de[a] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(Q.current.type), e.ref), de[a] = !0);
401
401
  }
402
402
  }
403
- function it(e, r) {
403
+ function ot(e, r) {
404
404
  {
405
- var n = function() {
405
+ var a = function() {
406
406
  Ie || (Ie = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
407
407
  };
408
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
409
- get: n,
408
+ a.isReactWarning = !0, Object.defineProperty(e, "key", {
409
+ get: a,
410
410
  configurable: !0
411
411
  });
412
412
  }
413
413
  }
414
414
  function st(e, r) {
415
415
  {
416
- var n = function() {
416
+ var a = function() {
417
417
  Fe || (Fe = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
418
418
  };
419
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
- get: n,
419
+ a.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
+ get: a,
421
421
  configurable: !0
422
422
  });
423
423
  }
424
424
  }
425
- var ct = function(e, r, n, m, b, w, _) {
425
+ var ct = function(e, r, a, m, b, w, _) {
426
426
  var h = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
- $$typeof: u,
428
+ $$typeof: p,
429
429
  // Built-in properties that belong on the element
430
430
  type: e,
431
431
  key: r,
432
- ref: n,
432
+ ref: a,
433
433
  props: _,
434
434
  // Record the component responsible for creating this element.
435
435
  _owner: w
@@ -451,12 +451,12 @@ function yt() {
451
451
  value: b
452
452
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
453
453
  };
454
- function ut(e, r, n, m, b) {
454
+ function ut(e, r, a, m, b) {
455
455
  {
456
456
  var w, _ = {}, h = null, F = null;
457
- n !== void 0 && ($e(n), h = "" + n), lt(r) && ($e(r.key), h = "" + r.key), nt(r) && (F = r.ref, ot(r, b));
457
+ a !== void 0 && ($e(a), h = "" + a), lt(r) && ($e(r.key), h = "" + r.key), at(r) && (F = r.ref, it(r, b));
458
458
  for (w in r)
459
- le.call(r, w) && !at.hasOwnProperty(w) && (_[w] = r[w]);
459
+ le.call(r, w) && !nt.hasOwnProperty(w) && (_[w] = r[w]);
460
460
  if (e && e.defaultProps) {
461
461
  var E = e.defaultProps;
462
462
  for (w in E)
@@ -464,7 +464,7 @@ function yt() {
464
464
  }
465
465
  if (h || F) {
466
466
  var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- h && it(_, P), F && st(_, P);
467
+ h && ot(_, P), F && st(_, P);
468
468
  }
469
469
  return ct(e, h, F, b, m, Q.current, _);
470
470
  }
@@ -472,15 +472,15 @@ function yt() {
472
472
  var me = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
473
473
  function K(e) {
474
474
  if (e) {
475
- var r = e._owner, n = ne(e.type, e._source, r ? r.type : null);
476
- De.setExtraStackFrame(n);
475
+ var r = e._owner, a = ae(e.type, e._source, r ? r.type : null);
476
+ De.setExtraStackFrame(a);
477
477
  } else
478
478
  De.setExtraStackFrame(null);
479
479
  }
480
480
  var ke;
481
481
  ke = !1;
482
482
  function he(e) {
483
- return typeof e == "object" && e !== null && e.$$typeof === u;
483
+ return typeof e == "object" && e !== null && e.$$typeof === p;
484
484
  }
485
485
  function Ae() {
486
486
  {
@@ -497,10 +497,10 @@ Check the render method of \`` + e + "`.";
497
497
  function pt(e) {
498
498
  {
499
499
  if (e !== void 0) {
500
- var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
500
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
501
501
  return `
502
502
 
503
- Check your code at ` + r + ":" + n + ".";
503
+ Check your code at ` + r + ":" + a + ".";
504
504
  }
505
505
  return "";
506
506
  }
@@ -510,10 +510,10 @@ Check your code at ` + r + ":" + n + ".";
510
510
  {
511
511
  var r = Ae();
512
512
  if (!r) {
513
- var n = typeof e == "string" ? e : e.displayName || e.name;
514
- n && (r = `
513
+ var a = typeof e == "string" ? e : e.displayName || e.name;
514
+ a && (r = `
515
515
 
516
- Check the top-level render call using <` + n + ">.");
516
+ Check the top-level render call using <` + a + ">.");
517
517
  }
518
518
  return r;
519
519
  }
@@ -523,12 +523,12 @@ Check the top-level render call using <` + n + ">.");
523
523
  if (!e._store || e._store.validated || e.key != null)
524
524
  return;
525
525
  e._store.validated = !0;
526
- var n = ft(r);
527
- if (Le[n])
526
+ var a = ft(r);
527
+ if (Le[a])
528
528
  return;
529
- Le[n] = !0;
529
+ Le[a] = !0;
530
530
  var m = "";
531
- e && e._owner && e._owner !== me.current && (m = " It was passed a child from " + I(e._owner.type) + "."), K(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, m), K(null);
531
+ e && e._owner && e._owner !== me.current && (m = " It was passed a child from " + I(e._owner.type) + "."), K(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, m), K(null);
532
532
  }
533
533
  }
534
534
  function We(e, r) {
@@ -536,8 +536,8 @@ Check the top-level render call using <` + n + ">.");
536
536
  if (typeof e != "object")
537
537
  return;
538
538
  if (fe(e))
539
- for (var n = 0; n < e.length; n++) {
540
- var m = e[n];
539
+ for (var a = 0; a < e.length; a++) {
540
+ var m = e[a];
541
541
  he(m) && Me(m, r);
542
542
  }
543
543
  else if (he(e))
@@ -555,18 +555,18 @@ Check the top-level render call using <` + n + ">.");
555
555
  var r = e.type;
556
556
  if (r == null || typeof r == "string")
557
557
  return;
558
- var n;
558
+ var a;
559
559
  if (typeof r == "function")
560
- n = r.propTypes;
560
+ a = r.propTypes;
561
561
  else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
562
562
  // Inner props are checked in the reconciler.
563
563
  r.$$typeof === v))
564
- n = r.propTypes;
564
+ a = r.propTypes;
565
565
  else
566
566
  return;
567
- if (n) {
567
+ if (a) {
568
568
  var m = I(r);
569
- Qe(n, e.props, "prop", m, e);
569
+ Qe(a, e.props, "prop", m, e);
570
570
  } else if (r.PropTypes !== void 0 && !ke) {
571
571
  ke = !0;
572
572
  var b = I(r);
@@ -577,8 +577,8 @@ Check the top-level render call using <` + n + ">.");
577
577
  }
578
578
  function mt(e) {
579
579
  {
580
- for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
581
- var m = r[n];
580
+ for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
581
+ var m = r[a];
582
582
  if (m !== "children" && m !== "key") {
583
583
  K(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), K(null);
584
584
  break;
@@ -587,7 +587,7 @@ Check the top-level render call using <` + n + ">.");
587
587
  e.ref !== null && (K(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
588
588
  }
589
589
  }
590
- function Ye(e, r, n, m, b, w) {
590
+ function Be(e, r, a, m, b, w) {
591
591
  {
592
592
  var _ = Y(e);
593
593
  if (!_) {
@@ -596,9 +596,9 @@ Check the top-level render call using <` + n + ">.");
596
596
  var F = pt(b);
597
597
  F ? h += F : h += Ae();
598
598
  var E;
599
- e === null ? E = "null" : fe(e) ? E = "array" : e !== void 0 && e.$$typeof === u ? (E = "<" + (I(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, h);
599
+ e === null ? E = "null" : fe(e) ? E = "array" : e !== void 0 && e.$$typeof === p ? (E = "<" + (I(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, h);
600
600
  }
601
- var P = ut(e, r, n, b, w);
601
+ var P = ut(e, r, a, b, w);
602
602
  if (P == null)
603
603
  return P;
604
604
  if (_) {
@@ -617,11 +617,11 @@ Check the top-level render call using <` + n + ">.");
617
617
  return e === s ? mt(P) : dt(P), P;
618
618
  }
619
619
  }
620
- function kt(e, r, n) {
621
- return Ye(e, r, n, !0);
620
+ function kt(e, r, a) {
621
+ return Be(e, r, a, !0);
622
622
  }
623
- function ht(e, r, n) {
624
- return Ye(e, r, n, !1);
623
+ function ht(e, r, a) {
624
+ return Be(e, r, a, !1);
625
625
  }
626
626
  var _t = ht, vt = kt;
627
627
  te.Fragment = s, te.jsx = _t, te.jsxs = vt;
@@ -629,45 +629,45 @@ Check the top-level render call using <` + n + ">.");
629
629
  }
630
630
  process.env.NODE_ENV === "production" ? ve.exports = Nt() : ve.exports = yt();
631
631
  var be = ve.exports;
632
- const H = be.Fragment, t = be.jsx, i = be.jsxs, _e = {}, wt = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
633
- function xt(a, u) {
634
- return !_e[a] && typeof window.fetch == "function" && (_e[a] = window.fetch(u + a + ".svg").then((p) => p.ok ? p.text() : (console.error("Missing icon: " + u + a + ".svg"), wt)).then((p) => p)), Promise.resolve(_e[a]);
632
+ const J = be.Fragment, t = be.jsx, o = be.jsxs, _e = {}, wt = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
633
+ function xt(n, p) {
634
+ return !_e[n] && typeof window.fetch == "function" && (_e[n] = window.fetch(p + n + ".svg").then((c) => c.ok ? c.text() : (console.error("Missing icon: " + p + n + ".svg"), wt)).then((c) => c)), Promise.resolve(_e[n]);
635
635
  }
636
- const g = ({ name: a, path: u, className: p = "", ...s }) => {
637
- const l = "https://punkt-cdn.oslo.kommune.no/7.0/icons/", [c, f] = se(null);
636
+ const g = ({ name: n, path: p, className: c = "", ...s }) => {
637
+ const l = "https://punkt-cdn.oslo.kommune.no/7.1/icons/", [u, f] = se(null);
638
638
  return bt(() => {
639
- if (!a)
639
+ if (!n)
640
640
  return;
641
- xt(a, u || l).then((d) => f(d));
642
- }, [a, u, l]), c ? /* @__PURE__ */ t(
641
+ xt(n, p || l).then((d) => f(d));
642
+ }, [n, p, l]), u ? /* @__PURE__ */ t(
643
643
  "span",
644
644
  {
645
- className: `pkt-icon ${p}`,
646
- dangerouslySetInnerHTML: { __html: c },
645
+ className: `pkt-icon ${c}`,
646
+ dangerouslySetInnerHTML: { __html: u },
647
647
  ...s
648
648
  }
649
649
  ) : null;
650
- }, He = G(
650
+ }, He = V(
651
651
  ({
652
- children: a,
653
- className: u,
654
- skin: p = "info",
652
+ children: n,
653
+ className: p,
654
+ skin: c = "info",
655
655
  closeAlert: s = !1,
656
656
  onClose: l,
657
- title: c,
657
+ title: u,
658
658
  date: f,
659
- ariaLive: o = "polite",
659
+ ariaLive: i = "polite",
660
660
  ...d
661
661
  }, x) => {
662
- const N = [u, "pkt-alert", p && `pkt-alert--${p}`].filter(Boolean).join(" "), [v, T] = se(!0), C = () => {
662
+ const N = [p, "pkt-alert", c && `pkt-alert--${c}`].filter(Boolean).join(" "), [v, T] = se(!0), C = () => {
663
663
  T(!1), l && l();
664
664
  };
665
- return v ? /* @__PURE__ */ i("div", { ...d, className: N, "aria-live": o, ref: x, children: [
665
+ return v ? /* @__PURE__ */ o("div", { ...d, className: N, "aria-live": i, ref: x, children: [
666
666
  /* @__PURE__ */ t(
667
667
  g,
668
668
  {
669
669
  className: "pkt-alert__icon",
670
- name: p === "info" ? "alert-information" : `alert-${p}`
670
+ name: c === "info" ? "alert-information" : `alert-${c}`
671
671
  }
672
672
  ),
673
673
  s && /* @__PURE__ */ t("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t(
@@ -681,90 +681,103 @@ const g = ({ name: a, path: u, className: p = "", ...s }) => {
681
681
  children: /* @__PURE__ */ t(g, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
682
682
  }
683
683
  ) }),
684
- c && /* @__PURE__ */ t("div", { className: "pkt-alert__title", children: c }),
685
- /* @__PURE__ */ t("div", { className: "pkt-alert__text", children: a }),
686
- f && /* @__PURE__ */ i("div", { className: "pkt-alert__date", children: [
684
+ u && /* @__PURE__ */ t("div", { className: "pkt-alert__title", children: u }),
685
+ /* @__PURE__ */ t("div", { className: "pkt-alert__text", children: n }),
686
+ f && /* @__PURE__ */ o("div", { className: "pkt-alert__date", children: [
687
687
  "Sist oppdatert: ",
688
688
  f
689
689
  ] })
690
690
  ] }) : null;
691
691
  }
692
- ), ie = G(
692
+ ), Ot = V(
693
+ ({ href: n, text: p, onClick: c, className: s, ...l }, u) => {
694
+ const f = [
695
+ s,
696
+ "pkt-back-link"
697
+ ].filter(Boolean).join(" ");
698
+ return /* @__PURE__ */ t("nav", { ref: u, className: f, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ o("a", { href: n || "/", className: "pkt-link pkt-link--icon-left", onClick: () => {
699
+ c && c();
700
+ }, ...l, children: [
701
+ /* @__PURE__ */ t(g, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
702
+ /* @__PURE__ */ t("span", { className: "pkt-back-link__text", children: p || "Forsiden" })
703
+ ] }) });
704
+ }
705
+ ), oe = V(
693
706
  ({
694
- children: a,
695
- className: u,
696
- iconName: p = "user",
707
+ children: n,
708
+ className: p,
709
+ iconName: c = "user",
697
710
  secondIconName: s = "user",
698
711
  size: l = "medium",
699
- skin: c = "primary",
712
+ skin: u = "primary",
700
713
  type: f = "button",
701
- variant: o = "label-only",
714
+ variant: i = "label-only",
702
715
  color: d,
703
716
  ...x
704
717
  }, N) => {
705
718
  const v = [
706
- u,
719
+ p,
707
720
  "pkt-btn",
708
721
  l && `pkt-btn--${l}`,
709
- c && `pkt-btn--${c}`,
710
- o && `pkt-btn--${o}`,
722
+ u && `pkt-btn--${u}`,
723
+ i && `pkt-btn--${i}`,
711
724
  d && `pkt-btn--${d}`
712
725
  ].filter(Boolean).join(" ");
713
- return /* @__PURE__ */ i("button", { ...x, className: v, type: f, ref: N, children: [
714
- o !== "label-only" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: p }),
715
- /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: a }),
716
- o === "icons-right-and-left" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: s })
726
+ return /* @__PURE__ */ o("button", { ...x, className: v, type: f, ref: N, children: [
727
+ i !== "label-only" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: c }),
728
+ /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: n }),
729
+ i === "icons-right-and-left" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: s })
717
730
  ] });
718
731
  }
719
732
  );
720
- ie.displayName = "PktButton";
721
- const Ot = ({ columnOne: a, columnTwo: u, socialLinks: p, className: s }) => {
722
- var c, f;
733
+ oe.displayName = "PktButton";
734
+ const $t = ({ columnOne: n, columnTwo: p, socialLinks: c, className: s }) => {
735
+ var u, f;
723
736
  const l = [s, "pkt-footer"].filter(Boolean).join(" ");
724
- return /* @__PURE__ */ t("footer", { className: l, "data-mode": "dark", children: /* @__PURE__ */ i("div", { className: "pkt-footer__container", children: [
725
- /* @__PURE__ */ i("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
726
- /* @__PURE__ */ i("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
727
- /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: a.title }),
728
- /* @__PURE__ */ i("ul", { className: "pkt-footer__list", children: [
729
- a.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: a.text }),
730
- (c = a.links) == null ? void 0 : c.map((o, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ i(
737
+ return /* @__PURE__ */ t("footer", { className: l, "data-mode": "dark", children: /* @__PURE__ */ o("div", { className: "pkt-footer__container", children: [
738
+ /* @__PURE__ */ o("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
739
+ /* @__PURE__ */ o("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
740
+ /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: n.title }),
741
+ /* @__PURE__ */ o("ul", { className: "pkt-footer__list", children: [
742
+ n.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: n.text }),
743
+ (u = n.links) == null ? void 0 : u.map((i, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ o(
731
744
  "a",
732
745
  {
733
- className: `pkt-footer__link ${o.external ? "pkt-link--external" : ""}`,
734
- href: o.href,
735
- target: o.openInNewTab ? "_blank" : "_self",
736
- rel: o.openInNewTab ? "noopener noreferrer" : void 0,
746
+ className: `pkt-footer__link ${i.external ? "pkt-link--external" : ""}`,
747
+ href: i.href,
748
+ target: i.openInNewTab ? "_blank" : "_self",
749
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
737
750
  children: [
738
751
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
739
- o.text
752
+ i.text
740
753
  ]
741
754
  }
742
755
  ) }, `links-${d}`))
743
756
  ] })
744
757
  ] }),
745
- /* @__PURE__ */ i("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
746
- /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: u.title }),
747
- /* @__PURE__ */ i("ul", { className: "pkt-footer__list", children: [
748
- u.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: u.text }),
749
- (f = u.links) == null ? void 0 : f.map((o, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ i(
758
+ /* @__PURE__ */ o("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
759
+ /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: p.title }),
760
+ /* @__PURE__ */ o("ul", { className: "pkt-footer__list", children: [
761
+ p.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: p.text }),
762
+ (f = p.links) == null ? void 0 : f.map((i, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ o(
750
763
  "a",
751
764
  {
752
- className: `pkt-footer__link ${o.external ? "pkt-link--external" : ""}`,
753
- href: o.href,
754
- target: o.openInNewTab ? "_blank" : "_self",
755
- rel: o.openInNewTab ? "noopener noreferrer" : void 0,
765
+ className: `pkt-footer__link ${i.external ? "pkt-link--external" : ""}`,
766
+ href: i.href,
767
+ target: i.openInNewTab ? "_blank" : "_self",
768
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
756
769
  children: [
757
770
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
758
- o.text
771
+ i.text
759
772
  ]
760
773
  }
761
774
  ) }, `links-${d}`))
762
775
  ] })
763
776
  ] }),
764
- /* @__PURE__ */ i("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
777
+ /* @__PURE__ */ o("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
765
778
  /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
766
- /* @__PURE__ */ i("ul", { className: "pkt-footer__list", children: [
767
- /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ i(
779
+ /* @__PURE__ */ o("ul", { className: "pkt-footer__list", children: [
780
+ /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ o(
768
781
  "a",
769
782
  {
770
783
  className: "pkt-footer__link",
@@ -775,51 +788,51 @@ const Ot = ({ columnOne: a, columnTwo: u, socialLinks: p, className: s }) => {
775
788
  ]
776
789
  }
777
790
  ) }),
778
- /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ i("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
791
+ /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ o("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
779
792
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
780
793
  "Tilgjengelighet"
781
794
  ] }) })
782
795
  ] })
783
796
  ] })
784
797
  ] }),
785
- p && /* @__PURE__ */ i("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
786
- /* @__PURE__ */ t("div", { className: "pkt-footer__social-languages", children: p.filter((o) => o.language).map((o, d) => /* @__PURE__ */ t(
798
+ c && /* @__PURE__ */ o("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
799
+ /* @__PURE__ */ t("div", { className: "pkt-footer__social-languages", children: c.filter((i) => i.language).map((i, d) => /* @__PURE__ */ t(
787
800
  "div",
788
801
  {
789
802
  className: "pkt-footer__social-language",
790
803
  children: /* @__PURE__ */ t(
791
804
  "a",
792
805
  {
793
- href: o.href,
794
- "aria-label": `til ${o.language} versjon av nettsiden`,
795
- target: o.openInNewTab ? "_blank" : "_self",
796
- rel: o.openInNewTab ? "noopener noreferrer" : void 0,
797
- children: o.language
806
+ href: i.href,
807
+ "aria-label": `til ${i.language} versjon av nettsiden`,
808
+ target: i.openInNewTab ? "_blank" : "_self",
809
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
810
+ children: i.language
798
811
  }
799
812
  )
800
813
  },
801
814
  `sociallinks-language-${d}`
802
815
  )) }),
803
- /* @__PURE__ */ t("div", { className: "pkt-footer__social-icons", children: p.filter((o) => o.iconName).map((o, d) => /* @__PURE__ */ t(B.Fragment, { children: /* @__PURE__ */ t(
816
+ /* @__PURE__ */ t("div", { className: "pkt-footer__social-icons", children: c.filter((i) => i.iconName).map((i, d) => /* @__PURE__ */ t(U.Fragment, { children: /* @__PURE__ */ t(
804
817
  "a",
805
818
  {
806
- href: o.href,
807
- "aria-label": `til ${o.iconName}`,
819
+ href: i.href,
820
+ "aria-label": `til ${i.iconName}`,
808
821
  className: "pkt-footer__social-icon-link",
809
- target: o.openInNewTab ? "_blank" : "_self",
810
- rel: o.openInNewTab ? "noopener noreferrer" : void 0,
811
- children: /* @__PURE__ */ t(g, { className: "pkt-footer__social-icon", name: o.iconName })
822
+ target: i.openInNewTab ? "_blank" : "_self",
823
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
824
+ children: /* @__PURE__ */ t(g, { className: "pkt-footer__social-icon", name: i.iconName })
812
825
  }
813
826
  ) }, `sociallinks-${d}`)) })
814
827
  ] })
815
828
  ] }) });
816
- }, $t = ({
817
- links: a = [],
818
- className: u
829
+ }, It = ({
830
+ links: n = [],
831
+ className: p
819
832
  }) => {
820
- const p = [u, "pkt-footer-simple"].filter(Boolean).join(" ");
821
- return /* @__PURE__ */ t("footer", { className: p, "data-mode": "dark", children: /* @__PURE__ */ t("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ i("ul", { className: "pkt-footer-simple__list", children: [
822
- a.map((s, l) => /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ i(
833
+ const c = [p, "pkt-footer-simple"].filter(Boolean).join(" ");
834
+ return /* @__PURE__ */ t("footer", { className: c, "data-mode": "dark", children: /* @__PURE__ */ t("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ o("ul", { className: "pkt-footer-simple__list", children: [
835
+ n.map((s, l) => /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ o(
823
836
  "a",
824
837
  {
825
838
  className: `pkt-footer-simple__link ${s.external ? " pkt-link--external" : ""}`,
@@ -838,11 +851,11 @@ const Ot = ({ columnOne: a, columnTwo: u, socialLinks: p, className: s }) => {
838
851
  ]
839
852
  }
840
853
  ) }, l)),
841
- /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ i("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
854
+ /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ o("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
842
855
  /* @__PURE__ */ t(g, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
843
856
  "Personvern og informasjonskapsler"
844
857
  ] }) }),
845
- /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ i("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
858
+ /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ o("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
846
859
  /* @__PURE__ */ t(g, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
847
860
  "Tilgjengelighet"
848
861
  ] }) })
@@ -854,47 +867,47 @@ var Ge = { exports: {} };
854
867
  Licensed under the MIT License (MIT), see
855
868
  http://jedwatson.github.io/classnames
856
869
  */
857
- (function(a) {
870
+ (function(n) {
858
871
  (function() {
859
- var u = {}.hasOwnProperty;
860
- function p() {
872
+ var p = {}.hasOwnProperty;
873
+ function c() {
861
874
  for (var s = [], l = 0; l < arguments.length; l++) {
862
- var c = arguments[l];
863
- if (c) {
864
- var f = typeof c;
875
+ var u = arguments[l];
876
+ if (u) {
877
+ var f = typeof u;
865
878
  if (f === "string" || f === "number")
866
- s.push(c);
867
- else if (Array.isArray(c)) {
868
- if (c.length) {
869
- var o = p.apply(null, c);
870
- o && s.push(o);
879
+ s.push(u);
880
+ else if (Array.isArray(u)) {
881
+ if (u.length) {
882
+ var i = c.apply(null, u);
883
+ i && s.push(i);
871
884
  }
872
885
  } else if (f === "object") {
873
- if (c.toString !== Object.prototype.toString && !c.toString.toString().includes("[native code]")) {
874
- s.push(c.toString());
886
+ if (u.toString !== Object.prototype.toString && !u.toString.toString().includes("[native code]")) {
887
+ s.push(u.toString());
875
888
  continue;
876
889
  }
877
- for (var d in c)
878
- u.call(c, d) && c[d] && s.push(d);
890
+ for (var d in u)
891
+ p.call(u, d) && u[d] && s.push(d);
879
892
  }
880
893
  }
881
894
  }
882
895
  return s.join(" ");
883
896
  }
884
- a.exports ? (p.default = p, a.exports = p) : window.classNames = p;
897
+ n.exports ? (c.default = c, n.exports = c) : window.classNames = c;
885
898
  })();
886
899
  })(Ge);
887
900
  var Et = Ge.exports;
888
- const Je = /* @__PURE__ */ gt(Et), It = G(
901
+ const Je = /* @__PURE__ */ gt(Et), Ft = V(
889
902
  ({
890
- logoLink: a = "https://www.oslo.kommune.no/",
891
- serviceName: u,
892
- fixed: p = !0,
903
+ logoLink: n = "https://www.oslo.kommune.no/",
904
+ serviceName: p,
905
+ fixed: c = !0,
893
906
  scrollToHide: s = !0,
894
907
  user: l,
895
- userMenu: c,
908
+ userMenu: u,
896
909
  representing: f,
897
- userOptions: o,
910
+ userOptions: i,
898
911
  userMenuFooter: d,
899
912
  canChangeRepresentation: x = !0,
900
913
  showMenuButton: N = !1,
@@ -904,15 +917,15 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
904
917
  changeRepresentation: $,
905
918
  ...L
906
919
  }, S) => {
907
- const R = B.useMemo(() => typeof (l == null ? void 0 : l.lastLoggedIn) == "string" ? l.lastLoggedIn : l != null && l.lastLoggedIn ? new Date(l.lastLoggedIn).toLocaleString("nb-NO", {
920
+ const R = U.useMemo(() => typeof (l == null ? void 0 : l.lastLoggedIn) == "string" ? l.lastLoggedIn : l != null && l.lastLoggedIn ? new Date(l.lastLoggedIn).toLocaleString("nb-NO", {
908
921
  year: "numeric",
909
922
  month: "long",
910
923
  day: "numeric"
911
- }) : "", [l]), [y, D] = B.useState(!1), [j, U] = B.useState(0), [A, M] = B.useState(!1), O = B.useRef(null);
912
- B.useEffect(() => (document.addEventListener("mouseup", Y), window.addEventListener("scroll", z), () => {
924
+ }) : "", [l]), [y, D] = U.useState(!1), [j, H] = U.useState(0), [A, M] = U.useState(!1), O = U.useRef(null);
925
+ U.useEffect(() => (document.addEventListener("mouseup", Y), window.addEventListener("scroll", z), () => {
913
926
  document.removeEventListener("mouseup", Y), window.removeEventListener("scroll", z);
914
927
  }));
915
- const J = () => {
928
+ const B = () => {
916
929
  M(!A);
917
930
  }, Y = (k) => {
918
931
  O.current && !O.current.contains(k.target) && M(!1);
@@ -921,10 +934,10 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
921
934
  const k = window.pageYOffset || document.documentElement.scrollTop;
922
935
  if (k < 0 || Math.abs(k - j) < 60)
923
936
  return;
924
- D(k > j), U(k);
937
+ D(k > j), H(k);
925
938
  }
926
939
  };
927
- return /* @__PURE__ */ i(
940
+ return /* @__PURE__ */ o(
928
941
  "header",
929
942
  {
930
943
  ...L,
@@ -932,43 +945,43 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
932
945
  "data-testid": "pkt-header",
933
946
  "aria-label": "Topp",
934
947
  className: Je("pkt-header", {
935
- "pkt-header--fixed": p,
948
+ "pkt-header--fixed": c,
936
949
  "pkt-header--scroll-to-hide": s,
937
950
  "pkt-header--hidden": y
938
951
  }),
939
952
  ref: S,
940
953
  children: [
941
- /* @__PURE__ */ i("div", { className: "pkt-header__logo", children: [
942
- typeof a == "string" ? /* @__PURE__ */ t("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: a, children: /* @__PURE__ */ t(
954
+ /* @__PURE__ */ o("div", { className: "pkt-header__logo", children: [
955
+ typeof n == "string" ? /* @__PURE__ */ t("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: n, children: /* @__PURE__ */ t(
943
956
  g,
944
957
  {
945
958
  name: "oslologo",
946
959
  className: "pkt-header__logo-svg",
947
960
  "aria-hidden": "true",
948
- path: "https://punkt-cdn.oslo.kommune.no/7.0/logos/"
961
+ path: "https://punkt-cdn.oslo.kommune.no/7.1/logos/"
949
962
  }
950
963
  ) }) : /* @__PURE__ */ t(
951
964
  "button",
952
965
  {
953
966
  "aria-label": "Tilbake til forside",
954
967
  className: "pkt-link-button pkt-link pkt-header__logo-link",
955
- onClick: a,
968
+ onClick: n,
956
969
  children: /* @__PURE__ */ t(
957
970
  g,
958
971
  {
959
972
  name: "oslologo",
960
973
  className: "pkt-header__logo-svg",
961
974
  "aria-hidden": "true",
962
- path: "https://punkt-cdn.oslo.kommune.no/7.0/logos/"
975
+ path: "https://punkt-cdn.oslo.kommune.no/7.1/logos/"
963
976
  }
964
977
  )
965
978
  }
966
979
  ),
967
- /* @__PURE__ */ t("span", { className: "pkt-header__logo-service", children: u })
980
+ /* @__PURE__ */ t("span", { className: "pkt-header__logo-service", children: p })
968
981
  ] }),
969
- /* @__PURE__ */ t("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ i("ul", { className: "pkt-header__actions-row", children: [
982
+ /* @__PURE__ */ t("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ o("ul", { className: "pkt-header__actions-row", children: [
970
983
  N && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
971
- ie,
984
+ oe,
972
985
  {
973
986
  className: "pkt-header__menu-btn",
974
987
  skin: "secondary",
@@ -978,14 +991,14 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
978
991
  children: "Meny"
979
992
  }
980
993
  ) }),
981
- (l || f) && /* @__PURE__ */ i(
994
+ (l || f) && /* @__PURE__ */ o(
982
995
  "li",
983
996
  {
984
997
  "data-testid": "usermenu",
985
998
  className: `pkt-header--has-dropdown ${A && !y ? "pkt-header--open-dropdown" : ""}`,
986
999
  ref: O,
987
1000
  children: [
988
- /* @__PURE__ */ i(
1001
+ /* @__PURE__ */ o(
989
1002
  "button",
990
1003
  {
991
1004
  className: "pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",
@@ -993,7 +1006,7 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
993
1006
  role: "button",
994
1007
  "aria-controls": "pktUserDropdown",
995
1008
  "aria-expanded": A,
996
- onClick: J,
1009
+ onClick: B,
997
1010
  children: [
998
1011
  /* @__PURE__ */ t(g, { name: "user", className: "pkt-btn__icon" }),
999
1012
  /* @__PURE__ */ t("span", { className: "pkt-header__user-fullname", children: (f == null ? void 0 : f.name) || (l == null ? void 0 : l.name) }),
@@ -1003,32 +1016,32 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
1003
1016
  ]
1004
1017
  }
1005
1018
  ),
1006
- /* @__PURE__ */ i("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1007
- l && /* @__PURE__ */ i("li", { children: [
1019
+ /* @__PURE__ */ o("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1020
+ l && /* @__PURE__ */ o("li", { children: [
1008
1021
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
1009
1022
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__name", children: l.name }),
1010
- l.lastLoggedIn && /* @__PURE__ */ i("div", { className: "pkt-user-menu__last-logged-in", children: [
1023
+ l.lastLoggedIn && /* @__PURE__ */ o("div", { className: "pkt-user-menu__last-logged-in", children: [
1011
1024
  "Sist pålogget: ",
1012
1025
  /* @__PURE__ */ t("time", { children: R })
1013
1026
  ] })
1014
1027
  ] }),
1015
- c && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: c.map((k, I) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ i("a", { href: k.target, className: "pkt-link", children: [
1028
+ u && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: u.map((k, I) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ o("a", { href: k.target, className: "pkt-link", children: [
1016
1029
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1017
1030
  k.title
1018
- ] }) : /* @__PURE__ */ i("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1031
+ ] }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1019
1032
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1020
1033
  k.title
1021
1034
  ] }) }, `userMenu-${I}`)) }) }),
1022
- (f || x) && /* @__PURE__ */ i("li", { children: [
1023
- f && /* @__PURE__ */ i(H, { children: [
1035
+ (f || x) && /* @__PURE__ */ o("li", { children: [
1036
+ f && /* @__PURE__ */ o(J, { children: [
1024
1037
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1025
1038
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__name", children: f.name }),
1026
- f.orgNumber && /* @__PURE__ */ i("div", { className: "pkt-user-menu__org-number", children: [
1039
+ f.orgNumber && /* @__PURE__ */ o("div", { className: "pkt-user-menu__org-number", children: [
1027
1040
  "Org.nr. ",
1028
1041
  f.orgNumber
1029
1042
  ] })
1030
1043
  ] }),
1031
- /* @__PURE__ */ t("ul", { className: "pkt-list mt-size-16", children: x && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ i(
1044
+ /* @__PURE__ */ t("ul", { className: "pkt-list mt-size-16", children: x && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ o(
1032
1045
  "button",
1033
1046
  {
1034
1047
  className: "pkt-link-button pkt-link",
@@ -1040,15 +1053,15 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
1040
1053
  }
1041
1054
  ) }) })
1042
1055
  ] }),
1043
- /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: (o || !v) && /* @__PURE__ */ i(H, { children: [
1044
- o == null ? void 0 : o.map((k, I) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ i("a", { href: k.target, className: "pkt-link", children: [
1056
+ /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: (i || !v) && /* @__PURE__ */ o(J, { children: [
1057
+ i == null ? void 0 : i.map((k, I) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ o("a", { href: k.target, className: "pkt-link", children: [
1045
1058
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1046
1059
  k.title
1047
- ] }) : /* @__PURE__ */ i("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1060
+ ] }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1048
1061
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1049
1062
  k.title
1050
1063
  ] }) }, `userOptions-${I}`)),
1051
- !v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ i("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1064
+ !v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1052
1065
  /* @__PURE__ */ t(g, { name: "exit", className: "pkt-link__icon" }),
1053
1066
  "Logg ut"
1054
1067
  ] }) })
@@ -1059,7 +1072,7 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
1059
1072
  }
1060
1073
  ),
1061
1074
  v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
1062
- ie,
1075
+ oe,
1063
1076
  {
1064
1077
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
1065
1078
  iconName: "exit",
@@ -1075,24 +1088,24 @@ const Je = /* @__PURE__ */ gt(Et), It = G(
1075
1088
  }
1076
1089
  );
1077
1090
  }
1078
- ), Rt = B.forwardRef(
1079
- ({ label: a, id: u, children: p, ...s }, l) => /* @__PURE__ */ i("div", { className: "pkt-form-group", children: [
1080
- /* @__PURE__ */ t("label", { htmlFor: u, className: "pkt-form-label", children: a }),
1081
- /* @__PURE__ */ t("input", { className: "pkt-form-input", id: u, ...s, ref: l }),
1082
- p
1091
+ ), Rt = U.forwardRef(
1092
+ ({ label: n, id: p, children: c, ...s }, l) => /* @__PURE__ */ o("div", { className: "pkt-form-group", children: [
1093
+ /* @__PURE__ */ t("label", { htmlFor: p, className: "pkt-form-label", children: n }),
1094
+ /* @__PURE__ */ t("input", { className: "pkt-form-input", id: p, ...s, ref: l }),
1095
+ c
1083
1096
  ] })
1084
1097
  );
1085
1098
  Rt.displayName = "PktInput";
1086
- const ge = G(
1099
+ const ge = V(
1087
1100
  ({
1088
- forId: a,
1089
- label: u,
1090
- helptext: p,
1101
+ forId: n,
1102
+ label: p,
1103
+ helptext: c,
1091
1104
  helptextDropdown: s,
1092
1105
  helptextDropdownButton: l,
1093
- optional: c,
1106
+ optional: u,
1094
1107
  required: f,
1095
- hasError: o,
1108
+ hasError: i,
1096
1109
  errorMessage: d,
1097
1110
  disabled: x,
1098
1111
  inline: N,
@@ -1103,32 +1116,32 @@ const ge = G(
1103
1116
  }, L) => {
1104
1117
  const [S, R] = se(!1), y = () => {
1105
1118
  R(!S);
1106
- }, D = () => c ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : f ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", j = c ? "Valgfritt" : f ? "Må fylles ut" : "", U = x ? "pkt-inputwrapper--disabled" : "", A = N ? "pkt-inputwrapper--inline" : "", M = o ? "pkt-inputwrapper--error" : "", O = !!s && s !== "", J = l || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', Y = O ? "div" : "label", z = O ? "h2" : "span", k = v || (p ? `${a}-helptext` : void 0);
1107
- return /* @__PURE__ */ i(
1119
+ }, D = () => u ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--blue-light" : f ? "pkt-tag pkt-tag--small pkt-tag--thin-text pkt-tag--beige" : "", j = u ? "Valgfritt" : f ? "Må fylles ut" : "", H = x ? "pkt-inputwrapper--disabled" : "", A = N ? "pkt-inputwrapper--inline" : "", M = i ? "pkt-inputwrapper--error" : "", O = !!s && s !== "", B = l || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', Y = O ? "div" : "label", z = O ? "h2" : "span", k = v || (c ? `${n}-helptext` : void 0);
1120
+ return /* @__PURE__ */ o(
1108
1121
  "div",
1109
1122
  {
1110
- className: ["pkt-inputwrapper", $, U, A, M].join(
1123
+ className: ["pkt-inputwrapper", $, H, A, M].join(
1111
1124
  " "
1112
1125
  ),
1113
1126
  ref: L,
1114
1127
  children: [
1115
- T ? /* @__PURE__ */ i(H, { children: [
1128
+ T ? /* @__PURE__ */ o(J, { children: [
1116
1129
  /* @__PURE__ */ t(
1117
1130
  Y,
1118
1131
  {
1119
- htmlFor: a,
1132
+ htmlFor: n,
1120
1133
  className: "pkt-inputwrapper__label",
1121
1134
  "aria-describedby": O ? "" : v,
1122
- children: /* @__PURE__ */ i(z, { id: `${a}-label`, children: [
1123
- u,
1135
+ children: /* @__PURE__ */ o(z, { id: `${n}-label`, children: [
1136
+ p,
1124
1137
  j !== "" && /* @__PURE__ */ t("span", { className: D(), children: j })
1125
1138
  ] })
1126
1139
  }
1127
1140
  ),
1128
- p && /* @__PURE__ */ t("div", { className: "pkt-inputwrapper__helptext", id: `${a}-helptext`, children: p }),
1129
- O && s !== "" && /* @__PURE__ */ i("div", { children: [
1141
+ c && /* @__PURE__ */ t("div", { className: "pkt-inputwrapper__helptext", id: `${n}-helptext`, children: c }),
1142
+ O && s !== "" && /* @__PURE__ */ o("div", { children: [
1130
1143
  /* @__PURE__ */ t(
1131
- ie,
1144
+ oe,
1132
1145
  {
1133
1146
  skin: "tertiary",
1134
1147
  size: "small",
@@ -1136,7 +1149,7 @@ const ge = G(
1136
1149
  iconName: S ? "chevron-thin-up" : "chevron-thin-down",
1137
1150
  className: "pkt-inputwrapper__helptext-expandable pkt-link pkt-link--icon-right",
1138
1151
  onClick: y,
1139
- children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: J } })
1152
+ children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: B } })
1140
1153
  }
1141
1154
  ),
1142
1155
  /* @__PURE__ */ t(
@@ -1146,54 +1159,54 @@ const ge = G(
1146
1159
  children: /* @__PURE__ */ t(He, { children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: s } }) })
1147
1160
  }
1148
1161
  ),
1149
- /* @__PURE__ */ t("label", { htmlFor: a, className: "pkt-sr-only", "aria-describedby": k, children: u })
1162
+ /* @__PURE__ */ t("label", { htmlFor: n, className: "pkt-sr-only", "aria-describedby": k, children: p })
1150
1163
  ] }),
1151
- /* @__PURE__ */ t(H, { children: C })
1152
- ] }) : /* @__PURE__ */ i(H, { children: [
1164
+ /* @__PURE__ */ t(J, { children: C })
1165
+ ] }) : /* @__PURE__ */ o(J, { children: [
1153
1166
  /* @__PURE__ */ t(
1154
1167
  "label",
1155
1168
  {
1156
- htmlFor: a,
1169
+ htmlFor: n,
1157
1170
  className: "pkt-sr-only",
1158
1171
  "aria-describedby": k,
1159
- id: `${a}-label`,
1160
- children: u
1172
+ id: `${n}-label`,
1173
+ children: p
1161
1174
  }
1162
1175
  ),
1163
1176
  C
1164
1177
  ] }),
1165
- o && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(He, { skin: "error", "aria-live": "assertive", children: d }) })
1178
+ i && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(He, { skin: "error", "aria-live": "assertive", children: d }) })
1166
1179
  ]
1167
1180
  }
1168
1181
  );
1169
1182
  }
1170
1183
  );
1171
1184
  ge.displayName = "PktInputWrapper";
1172
- const Pt = G(
1185
+ const Pt = V(
1173
1186
  ({
1174
- children: a,
1175
- className: u,
1176
- iconName: p = "user",
1187
+ children: n,
1188
+ className: p,
1189
+ iconName: c = "user",
1177
1190
  openInNewTab: s = !1,
1178
1191
  skin: l = "normal",
1179
- href: c = "#",
1192
+ href: u = "#",
1180
1193
  external: f = !1,
1181
- title: o
1194
+ title: i
1182
1195
  }, d) => {
1183
- const x = [u, "pkt-linkcard", l && `pkt-linkcard--${l}`].filter(Boolean).join(" ");
1184
- return /* @__PURE__ */ i(
1196
+ const x = [p, "pkt-linkcard", l && `pkt-linkcard--${l}`].filter(Boolean).join(" ");
1197
+ return /* @__PURE__ */ o(
1185
1198
  "a",
1186
1199
  {
1187
- href: c,
1200
+ href: u,
1188
1201
  className: `pkt-linkcard pkt-link ${x}`,
1189
1202
  target: s ? "_blank" : "_self",
1190
1203
  rel: s ? "noopener noreferrer" : void 0,
1191
1204
  ref: d,
1192
1205
  children: [
1193
- /* @__PURE__ */ t(g, { className: "pkt-link__icon", name: p }),
1194
- /* @__PURE__ */ i("div", { className: "pkt-linkcard__content", children: [
1195
- /* @__PURE__ */ t("div", { className: `pkt-linkcard__title ${f ? "pkt-link pkt-link--external" : ""}`, children: o }),
1196
- /* @__PURE__ */ t("div", { className: "pkt-linkcard__text", children: a })
1206
+ /* @__PURE__ */ t(g, { className: "pkt-link__icon", name: c }),
1207
+ /* @__PURE__ */ o("div", { className: "pkt-linkcard__content", children: [
1208
+ /* @__PURE__ */ t("div", { className: `pkt-linkcard__title ${f ? "pkt-link pkt-link--external" : ""}`, children: i }),
1209
+ /* @__PURE__ */ t("div", { className: "pkt-linkcard__text", children: n })
1197
1210
  ] })
1198
1211
  ]
1199
1212
  }
@@ -1201,52 +1214,52 @@ const Pt = G(
1201
1214
  }
1202
1215
  );
1203
1216
  Pt.displayName = "PktLinkCard";
1204
- const Ft = ({
1205
- children: a,
1206
- skin: u = "beige",
1207
- title: p,
1217
+ const Dt = ({
1218
+ children: n,
1219
+ skin: p = "beige",
1220
+ title: c,
1208
1221
  className: s,
1209
1222
  ...l
1210
1223
  }) => {
1211
- const c = ["pkt-messagebox", u && `pkt-messagebox--${u}`, s].filter(Boolean).join(" ");
1212
- return /* @__PURE__ */ i("div", { ...l, className: c, children: [
1213
- /* @__PURE__ */ t("div", { className: "pkt-messagebox__title", children: p }),
1214
- /* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: a })
1224
+ const u = ["pkt-messagebox", p && `pkt-messagebox--${p}`, s].filter(Boolean).join(" ");
1225
+ return /* @__PURE__ */ o("div", { ...l, className: u, children: [
1226
+ /* @__PURE__ */ t("div", { className: "pkt-messagebox__title", children: c }),
1227
+ /* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: n })
1215
1228
  ] });
1216
- }, Tt = G(
1217
- ({ id: a, name: u, label: p, value: s, ...l }, c) => /* @__PURE__ */ i("div", { className: "pkt-form-group", children: [
1218
- /* @__PURE__ */ t("input", { type: "radio", className: "pkt-form-check-input", id: a, name: u, value: s, ref: c, ...l }),
1219
- /* @__PURE__ */ t("label", { className: "pkt-form-label", htmlFor: a, children: p })
1229
+ }, Tt = V(
1230
+ ({ id: n, name: p, label: c, value: s, ...l }, u) => /* @__PURE__ */ o("div", { className: "pkt-form-group", children: [
1231
+ /* @__PURE__ */ t("input", { type: "radio", className: "pkt-form-check-input", id: n, name: p, value: s, ref: u, ...l }),
1232
+ /* @__PURE__ */ t("label", { className: "pkt-form-label", htmlFor: n, children: c })
1220
1233
  ] })
1221
1234
  );
1222
1235
  Tt.displayName = "PktRadio";
1223
- const Dt = ({ label: a, children: u }) => /* @__PURE__ */ i(H, { children: [
1224
- /* @__PURE__ */ t("p", { children: a }),
1225
- /* @__PURE__ */ t("div", { className: "pkt-form-group", children: u })
1226
- ] }), Ct = ({ isResponsive: a, children: u }) => a ? /* @__PURE__ */ t("div", { className: "pkt-table-container", children: u }) : /* @__PURE__ */ t(H, { children: u }), At = ({
1227
- isResponsive: a,
1228
- modifiers: { info: u = !1, success: p = !1, strong: s = !1, shadow: l = !1 } = {},
1229
- children: c
1230
- }) => /* @__PURE__ */ t(Ct, { isResponsive: a, children: /* @__PURE__ */ t(
1236
+ const At = ({ label: n, children: p }) => /* @__PURE__ */ o(J, { children: [
1237
+ /* @__PURE__ */ t("p", { children: n }),
1238
+ /* @__PURE__ */ t("div", { className: "pkt-form-group", children: p })
1239
+ ] }), Ct = ({ isResponsive: n, children: p }) => n ? /* @__PURE__ */ t("div", { className: "pkt-table-container", children: p }) : /* @__PURE__ */ t(J, { children: p }), Lt = ({
1240
+ isResponsive: n,
1241
+ modifiers: { info: p = !1, success: c = !1, strong: s = !1, shadow: l = !1 } = {},
1242
+ children: u
1243
+ }) => /* @__PURE__ */ t(Ct, { isResponsive: n, children: /* @__PURE__ */ t(
1231
1244
  "table",
1232
1245
  {
1233
1246
  className: Je("pkt-table", {
1234
- "pkt-table--info": u,
1235
- "pkt-table--success": p,
1247
+ "pkt-table--info": p,
1248
+ "pkt-table--success": c,
1236
1249
  "pkt-table--strong": s,
1237
1250
  "pkt-table--shadow": l
1238
1251
  }),
1239
- children: c
1252
+ children: u
1240
1253
  }
1241
- ) }), Lt = ({ children: a }) => /* @__PURE__ */ t("td", { className: "pkt-table__th", children: a }), Mt = ({ children: a }) => /* @__PURE__ */ t("th", { className: "pkt-table__th", children: a }), jt = G(({
1242
- children: a,
1243
- className: u,
1244
- skin: p = "blue",
1254
+ ) }), Mt = ({ children: n }) => /* @__PURE__ */ t("td", { className: "pkt-table__th", children: n }), Wt = ({ children: n }) => /* @__PURE__ */ t("th", { className: "pkt-table__th", children: n }), jt = V(({
1255
+ children: n,
1256
+ className: p,
1257
+ skin: c = "blue",
1245
1258
  textStyle: s = "normal-text",
1246
1259
  size: l = "medium",
1247
- closeTag: c = !1,
1260
+ closeTag: u = !1,
1248
1261
  iconName: f = "",
1249
- type: o = "button",
1262
+ type: i = "button",
1250
1263
  ariaLabel: d = "close",
1251
1264
  onClick: x = () => {
1252
1265
  }
@@ -1256,63 +1269,63 @@ const Dt = ({ label: a, children: u }) => /* @__PURE__ */ i(H, { children: [
1256
1269
  }, $ = [
1257
1270
  "pkt-tag",
1258
1271
  l && `pkt-tag--${l}`,
1259
- p && `pkt-tag--${p}`,
1272
+ c && `pkt-tag--${c}`,
1260
1273
  s && `pkt-tag--${s}`,
1261
- u
1274
+ p
1262
1275
  ].filter(Boolean).join(" "), L = [
1263
1276
  "pkt-tag",
1264
1277
  "pkt-btn",
1265
1278
  "pkt-btn--tertiary",
1266
1279
  l && `pkt-tag--${l}`,
1267
- p && `pkt-tag--${p}`,
1280
+ c && `pkt-tag--${c}`,
1268
1281
  s && `pkt-tag--${s}`,
1269
- f && c ? "pkt-btn--icons-right-and-left" : null,
1270
- c && !f ? "pkt-btn--icon-right" : null,
1271
- u
1282
+ f && u ? "pkt-btn--icons-right-and-left" : null,
1283
+ u && !f ? "pkt-btn--icon-right" : null,
1284
+ p
1272
1285
  ].filter(Boolean).join(" "), S = !v;
1273
- return c && f ? /* @__PURE__ */ t(H, { children: S && /* @__PURE__ */ i(
1286
+ return u && f ? /* @__PURE__ */ t(J, { children: S && /* @__PURE__ */ o(
1274
1287
  "button",
1275
1288
  {
1276
1289
  className: L,
1277
- type: o,
1290
+ type: i,
1278
1291
  "aria-label": d,
1279
1292
  onClick: C,
1280
1293
  ref: N,
1281
1294
  children: [
1282
1295
  /* @__PURE__ */ t(g, { className: "pkt-tag__icon", name: f }),
1283
- a,
1296
+ n,
1284
1297
  /* @__PURE__ */ t(g, { className: "pkt-tag__close-btn", name: "close" })
1285
1298
  ]
1286
1299
  }
1287
- ) }) : c ? /* @__PURE__ */ t(H, { children: S && /* @__PURE__ */ i(
1300
+ ) }) : u ? /* @__PURE__ */ t(J, { children: S && /* @__PURE__ */ o(
1288
1301
  "button",
1289
1302
  {
1290
1303
  className: L,
1291
- type: o,
1304
+ type: i,
1292
1305
  "aria-label": d,
1293
1306
  onClick: C,
1294
1307
  ref: N,
1295
1308
  children: [
1296
1309
  /* @__PURE__ */ t(g, { className: "pkt-tag__close-btn", name: "close" }),
1297
- a
1310
+ n
1298
1311
  ]
1299
1312
  }
1300
- ) }) : f ? /* @__PURE__ */ i("span", { className: $, children: [
1313
+ ) }) : f ? /* @__PURE__ */ o("span", { className: $, children: [
1301
1314
  /* @__PURE__ */ t(g, { className: "pkt-tag__icon", name: f }),
1302
- a
1303
- ] }) : /* @__PURE__ */ t("span", { className: $, children: a });
1315
+ n
1316
+ ] }) : /* @__PURE__ */ t("span", { className: $, children: n });
1304
1317
  });
1305
1318
  jt.displayName = "PktTag";
1306
- const Wt = G(
1319
+ const Bt = V(
1307
1320
  ({
1308
- id: a,
1309
- ariaDescribedby: u,
1310
- ariaLabelledby: p,
1321
+ id: n,
1322
+ ariaDescribedby: p,
1323
+ ariaLabelledby: c,
1311
1324
  counter: s,
1312
1325
  counterMaxLength: l,
1313
- className: c,
1326
+ className: u,
1314
1327
  disabled: f,
1315
- errorMessage: o,
1328
+ errorMessage: i,
1316
1329
  hasError: d,
1317
1330
  helptext: x,
1318
1331
  helptextDropdown: N,
@@ -1325,18 +1338,18 @@ const Wt = G(
1325
1338
  required: R,
1326
1339
  rows: y,
1327
1340
  useWrapper: D,
1328
- value: j = "",
1329
- ...U
1341
+ value: j,
1342
+ ...H
1330
1343
  }, A) => {
1331
- const M = [c, "pkt-textinput", "pkt-textarea"].join(" "), O = p || `${a}-label`;
1332
- return /* @__PURE__ */ i(
1344
+ const M = [u, "pkt-textinput", "pkt-textarea"].join(" "), O = c || `${n}-label`, B = (j == null ? void 0 : j.length) || 0;
1345
+ return /* @__PURE__ */ o(
1333
1346
  ge,
1334
1347
  {
1335
- ariaDescribedby: u,
1348
+ ariaDescribedby: p,
1336
1349
  className: M,
1337
1350
  disabled: f,
1338
- errorMessage: o,
1339
- forId: a,
1351
+ errorMessage: i,
1352
+ forId: n,
1340
1353
  hasError: d,
1341
1354
  helptext: x,
1342
1355
  helptextDropdown: N,
@@ -1351,9 +1364,9 @@ const Wt = G(
1351
1364
  "textarea",
1352
1365
  {
1353
1366
  ref: A,
1354
- className: `pkt-textinput__input ${l && (j == null ? void 0 : j.length) > l ? "pkt-textinput__input--counter-error" : ""}`,
1355
- name: $ || a,
1356
- id: a,
1367
+ className: `pkt-textinput__input ${l && B > l ? "pkt-textinput__input--counter-error" : ""}`,
1368
+ name: $ || n,
1369
+ id: n,
1357
1370
  placeholder: S,
1358
1371
  value: j,
1359
1372
  disabled: f,
@@ -1361,10 +1374,10 @@ const Wt = G(
1361
1374
  "aria-labelledby": O,
1362
1375
  "aria-invalid": d,
1363
1376
  "aria-required": R,
1364
- ...U
1377
+ ...H
1365
1378
  }
1366
1379
  ),
1367
- s && /* @__PURE__ */ i("div", { className: "pkt-textinput__counter", "aria-live": "polite", "aria-atomic": !0, children: [
1380
+ s && /* @__PURE__ */ o("div", { className: "pkt-textinput__counter", "aria-live": "polite", "aria-atomic": !0, children: [
1368
1381
  (j == null ? void 0 : j.length) || 0,
1369
1382
  l && `/${l}`
1370
1383
  ] })
@@ -1372,16 +1385,16 @@ const Wt = G(
1372
1385
  }
1373
1386
  );
1374
1387
  }
1375
- ), Yt = G(
1388
+ ), Yt = V(
1376
1389
  ({
1377
- id: a,
1378
- ariaDescribedby: u,
1379
- ariaLabelledby: p,
1390
+ id: n,
1391
+ ariaDescribedby: p,
1392
+ ariaLabelledby: c,
1380
1393
  autocomplete: s = "off",
1381
1394
  className: l,
1382
- disabled: c = !1,
1395
+ disabled: u = !1,
1383
1396
  errorMessage: f,
1384
- hasError: o = !1,
1397
+ hasError: i = !1,
1385
1398
  helptext: d,
1386
1399
  helptextDropdown: x,
1387
1400
  helptextDropdownButton: N,
@@ -1395,20 +1408,20 @@ const Wt = G(
1395
1408
  required: y = !1,
1396
1409
  suffix: D,
1397
1410
  type: j = "text",
1398
- useWrapper: U = !0,
1411
+ useWrapper: H = !0,
1399
1412
  value: A,
1400
1413
  ...M
1401
1414
  }, O) => {
1402
- const J = [l, "pkt-textinput"].join(" "), Y = p || `${a}-label`;
1403
- return /* @__PURE__ */ i(
1415
+ const B = [l, "pkt-textinput"].join(" "), Y = c || `${n}-label`;
1416
+ return /* @__PURE__ */ o(
1404
1417
  ge,
1405
1418
  {
1406
- ariaDescribedby: u,
1407
- className: J,
1408
- disabled: c,
1419
+ ariaDescribedby: p,
1420
+ className: B,
1421
+ disabled: u,
1409
1422
  errorMessage: f,
1410
- forId: a,
1411
- hasError: o,
1423
+ forId: n,
1424
+ hasError: i,
1412
1425
  helptext: d,
1413
1426
  helptextDropdown: x,
1414
1427
  helptextDropdownButton: N,
@@ -1416,9 +1429,9 @@ const Wt = G(
1416
1429
  label: C,
1417
1430
  optional: L,
1418
1431
  required: y,
1419
- useWrapper: U,
1432
+ useWrapper: H,
1420
1433
  children: [
1421
- R && /* @__PURE__ */ i("div", { className: "pkt-textinput__input-prefix-wrapper", children: [
1434
+ R && /* @__PURE__ */ o("div", { className: "pkt-textinput__input-prefix-wrapper", children: [
1422
1435
  /* @__PURE__ */ t("div", { className: "pkt-textinput__input-prefix", children: R }),
1423
1436
  /* @__PURE__ */ t(
1424
1437
  "input",
@@ -1426,39 +1439,39 @@ const Wt = G(
1426
1439
  ref: O,
1427
1440
  className: "pkt-textinput__input",
1428
1441
  type: j,
1429
- name: $ || a,
1430
- id: a,
1442
+ name: $ || n,
1443
+ id: n,
1431
1444
  placeholder: S,
1432
1445
  autoComplete: s,
1433
1446
  value: A,
1434
- disabled: c,
1447
+ disabled: u,
1435
1448
  "aria-required": y,
1436
- "aria-invalid": o,
1449
+ "aria-invalid": i,
1437
1450
  "aria-labelledby": Y,
1438
1451
  ...M
1439
1452
  }
1440
1453
  )
1441
1454
  ] }),
1442
- !R && (D || v) && /* @__PURE__ */ i("div", { className: "pkt-textinput__input-suffix-wrapper", children: [
1455
+ !R && (D || v) && /* @__PURE__ */ o("div", { className: "pkt-textinput__input-suffix-wrapper", children: [
1443
1456
  /* @__PURE__ */ t(
1444
1457
  "input",
1445
1458
  {
1446
1459
  ref: O,
1447
1460
  className: "pkt-textinput__input",
1448
1461
  type: j,
1449
- name: $ || a,
1450
- id: a,
1462
+ name: $ || n,
1463
+ id: n,
1451
1464
  placeholder: S,
1452
1465
  autoComplete: s,
1453
1466
  value: A,
1454
- disabled: c,
1467
+ disabled: u,
1455
1468
  "aria-required": y,
1456
- "aria-invalid": o,
1469
+ "aria-invalid": i,
1457
1470
  "aria-labelledby": Y,
1458
1471
  ...M
1459
1472
  }
1460
1473
  ),
1461
- D && /* @__PURE__ */ i("p", { className: "pkt-textinput__input-suffix", children: [
1474
+ D && /* @__PURE__ */ o("p", { className: "pkt-textinput__input-suffix", children: [
1462
1475
  D,
1463
1476
  v && /* @__PURE__ */ t(g, { className: "pkt-textinput__input-suffix-icon", name: v })
1464
1477
  ] }),
@@ -1470,14 +1483,14 @@ const Wt = G(
1470
1483
  ref: O,
1471
1484
  className: "pkt-textinput__input",
1472
1485
  type: j,
1473
- name: $ || a,
1474
- id: a,
1486
+ name: $ || n,
1487
+ id: n,
1475
1488
  placeholder: S,
1476
1489
  autoComplete: s,
1477
1490
  value: A,
1478
- disabled: c,
1491
+ disabled: u,
1479
1492
  "aria-required": y,
1480
- "aria-invalid": o,
1493
+ "aria-invalid": i,
1481
1494
  "aria-labelledby": Y,
1482
1495
  ...M
1483
1496
  }
@@ -1489,21 +1502,22 @@ const Wt = G(
1489
1502
  );
1490
1503
  export {
1491
1504
  He as PktAlert,
1492
- ie as PktButton,
1493
- Ot as PktFooter,
1494
- $t as PktFooterSimple,
1495
- It as PktHeader,
1505
+ Ot as PktBackLink,
1506
+ oe as PktButton,
1507
+ $t as PktFooter,
1508
+ It as PktFooterSimple,
1509
+ Ft as PktHeader,
1496
1510
  g as PktIcon,
1497
1511
  Rt as PktInput,
1498
1512
  ge as PktInputWrapper,
1499
1513
  Pt as PktLinkCard,
1500
- Ft as PktMessagebox,
1514
+ Dt as PktMessagebox,
1501
1515
  Tt as PktRadio,
1502
- Dt as PktRadioGroup,
1503
- At as PktTable,
1504
- Lt as PktTableData,
1505
- Mt as PktTableHeader,
1516
+ At as PktRadioGroup,
1517
+ Lt as PktTable,
1518
+ Mt as PktTableData,
1519
+ Wt as PktTableHeader,
1506
1520
  jt as PktTag,
1507
- Wt as PktTextarea,
1521
+ Bt as PktTextarea,
1508
1522
  Yt as PktTextinput
1509
1523
  };