@oslokommune/punkt-react 7.1.2 → 7.1.3

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 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;
1
+ import V, { useState as re, useEffect as Ge, forwardRef as H, useRef as gt } from "react";
2
+ function Nt(a) {
3
+ return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
4
4
  }
5
5
  var ve = { exports: {} }, ee = {};
6
6
  /**
@@ -13,20 +13,20 @@ var ve = { exports: {} }, ee = {};
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
15
  var Ue;
16
- function Nt() {
16
+ function yt() {
17
17
  if (Ue)
18
18
  return ee;
19
19
  Ue = 1;
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
- var N, v = {}, T = null, C = null;
23
- x !== void 0 && (T = "" + x), d.key !== void 0 && (T = "" + d.key), d.ref !== void 0 && (C = d.ref);
20
+ var a = V, p = Symbol.for("react.element"), c = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function f(o, d, x) {
22
+ var N, v = {}, T = null, j = null;
23
+ x !== void 0 && (T = "" + x), d.key !== void 0 && (T = "" + d.key), d.ref !== void 0 && (j = d.ref);
24
24
  for (N in 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)
25
+ i.call(d, N) && !u.hasOwnProperty(N) && (v[N] = d[N]);
26
+ if (o && o.defaultProps)
27
+ for (N in d = o.defaultProps, d)
28
28
  v[N] === void 0 && (v[N] = d[N]);
29
- return { $$typeof: p, type: i, key: T, ref: C, props: v, _owner: l.current };
29
+ return { $$typeof: p, type: o, key: T, ref: j, props: v, _owner: l.current };
30
30
  }
31
31
  return ee.Fragment = c, ee.jsx = f, ee.jsxs = f, ee;
32
32
  }
@@ -41,53 +41,53 @@ var te = {};
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
43
  var Ve;
44
- function yt() {
44
+ function wt() {
45
45
  return Ve || (Ve = 1, process.env.NODE_ENV !== "production" && function() {
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";
46
+ var a = V, p = Symbol.for("react.element"), c = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), u = 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"), j = Symbol.for("react.offscreen"), $ = Symbol.iterator, B = "@@iterator";
47
47
  function S(e) {
48
48
  if (e === null || typeof e != "object")
49
49
  return null;
50
- var r = $ && e[$] || e[L];
50
+ var r = $ && e[$] || e[B];
51
51
  return typeof r == "function" ? r : null;
52
52
  }
53
- var R = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ var P = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
54
  function y(e) {
55
55
  {
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);
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
+ L("error", e, n);
59
59
  }
60
60
  }
61
- function D(e, r, a) {
61
+ function L(e, r, n) {
62
62
  {
63
- var m = R.ReactDebugCurrentFrame, b = m.getStackAddendum();
64
- b !== "" && (r += "%s", a = a.concat([b]));
65
- var w = a.map(function(_) {
63
+ var m = P.ReactDebugCurrentFrame, b = m.getStackAddendum();
64
+ b !== "" && (r += "%s", n = n.concat([b]));
65
+ var w = n.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, H = !1, A = !1, M = !1, O = !1, B;
72
- B = Symbol.for("react.module.reference");
73
- function Y(e) {
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
71
+ var D = !1, G = !1, I = !1, Y = !1, O = !1, A;
72
+ A = Symbol.for("react.module.reference");
73
+ function M(e) {
74
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || O || e === l || e === x || e === N || Y || e === j || D || G || I || 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
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 === B || e.getModuleId !== void 0));
78
+ e.$$typeof === A || e.getModuleId !== void 0));
79
79
  }
80
- function z(e, r, a) {
80
+ function J(e, r, n) {
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 !== "" ? a + "(" + b + ")" : a;
85
+ return b !== "" ? n + "(" + b + ")" : n;
86
86
  }
87
87
  function k(e) {
88
88
  return e.displayName || "Context";
89
89
  }
90
- function I(e) {
90
+ function E(e) {
91
91
  if (e == null)
92
92
  return null;
93
93
  if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -95,7 +95,7 @@ function yt() {
95
95
  if (typeof e == "string")
96
96
  return e;
97
97
  switch (e) {
98
- case s:
98
+ case i:
99
99
  return "Fragment";
100
100
  case c:
101
101
  return "Portal";
@@ -110,21 +110,21 @@ function yt() {
110
110
  }
111
111
  if (typeof e == "object")
112
112
  switch (e.$$typeof) {
113
- case i:
113
+ case o:
114
114
  var r = e;
115
115
  return k(r) + ".Consumer";
116
116
  case f:
117
- var a = e;
118
- return k(a._context) + ".Provider";
117
+ var n = e;
118
+ return k(n._context) + ".Provider";
119
119
  case d:
120
- return z(e, e.render, "ForwardRef");
120
+ return J(e, e.render, "ForwardRef");
121
121
  case v:
122
122
  var m = e.displayName || null;
123
- return m !== null ? m : I(e.type) || "Memo";
123
+ return m !== null ? m : E(e.type) || "Memo";
124
124
  case T: {
125
125
  var b = e, w = b._payload, _ = b._init;
126
126
  try {
127
- return I(_(w));
127
+ return E(_(w));
128
128
  } catch {
129
129
  return null;
130
130
  }
@@ -132,18 +132,18 @@ function yt() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var q = Object.assign, Z = 0, Ne, ye, we, xe, Ee, Re, Pe;
136
- function Te() {
135
+ var W = Object.assign, K = 0, Ne, ye, we, xe, Ee, Re, Pe;
136
+ function Ce() {
137
137
  }
138
- Te.__reactDisabledLog = !0;
139
- function qe() {
138
+ Ce.__reactDisabledLog = !0;
139
+ function ze() {
140
140
  {
141
- if (Z === 0) {
141
+ if (K === 0) {
142
142
  Ne = console.log, ye = console.info, we = console.warn, xe = console.error, Ee = console.group, Re = console.groupCollapsed, Pe = console.groupEnd;
143
143
  var e = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
146
- value: Te,
146
+ value: Ce,
147
147
  writable: !0
148
148
  };
149
149
  Object.defineProperties(console, {
@@ -156,46 +156,46 @@ function yt() {
156
156
  groupEnd: e
157
157
  });
158
158
  }
159
- Z++;
159
+ K++;
160
160
  }
161
161
  }
162
- function ze() {
162
+ function Ke() {
163
163
  {
164
- if (Z--, Z === 0) {
164
+ if (K--, K === 0) {
165
165
  var e = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: q({}, e, {
171
+ log: W({}, e, {
172
172
  value: Ne
173
173
  }),
174
- info: q({}, e, {
174
+ info: W({}, e, {
175
175
  value: ye
176
176
  }),
177
- warn: q({}, e, {
177
+ warn: W({}, e, {
178
178
  value: we
179
179
  }),
180
- error: q({}, e, {
180
+ error: W({}, e, {
181
181
  value: xe
182
182
  }),
183
- group: q({}, e, {
183
+ group: W({}, e, {
184
184
  value: Ee
185
185
  }),
186
- groupCollapsed: q({}, e, {
186
+ groupCollapsed: W({}, e, {
187
187
  value: Re
188
188
  }),
189
- groupEnd: q({}, e, {
189
+ groupEnd: W({}, e, {
190
190
  value: Pe
191
191
  })
192
192
  });
193
193
  }
194
- Z < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ K < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var ce = R.ReactCurrentDispatcher, ue;
198
- function re(e, r, a) {
197
+ var ce = P.ReactCurrentDispatcher, ue;
198
+ function ae(e, r, n) {
199
199
  {
200
200
  if (ue === void 0)
201
201
  try {
@@ -210,23 +210,23 @@ function yt() {
210
210
  }
211
211
  var pe = !1, ne;
212
212
  {
213
- var Ke = typeof WeakMap == "function" ? WeakMap : Map;
214
- ne = new Ke();
213
+ var Xe = typeof WeakMap == "function" ? WeakMap : Map;
214
+ ne = new Xe();
215
215
  }
216
- function Ce(e, r) {
216
+ function Te(e, r) {
217
217
  if (!e || pe)
218
218
  return "";
219
219
  {
220
- var a = ne.get(e);
221
- if (a !== void 0)
222
- return a;
220
+ var n = ne.get(e);
221
+ if (n !== void 0)
222
+ return n;
223
223
  }
224
224
  var m;
225
225
  pe = !0;
226
226
  var b = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
228
  var w;
229
- w = ce.current, ce.current = null, qe();
229
+ w = ce.current, ce.current = null, ze();
230
230
  try {
231
231
  if (r) {
232
232
  var _ = function() {
@@ -239,125 +239,125 @@ function yt() {
239
239
  }), typeof Reflect == "object" && Reflect.construct) {
240
240
  try {
241
241
  Reflect.construct(_, []);
242
- } catch (G) {
243
- m = G;
242
+ } catch (q) {
243
+ m = q;
244
244
  }
245
245
  Reflect.construct(e, [], _);
246
246
  } else {
247
247
  try {
248
248
  _.call();
249
- } catch (G) {
250
- m = G;
249
+ } catch (q) {
250
+ m = q;
251
251
  }
252
252
  e.call(_.prototype);
253
253
  }
254
254
  } else {
255
255
  try {
256
256
  throw Error();
257
- } catch (G) {
258
- m = G;
257
+ } catch (q) {
258
+ m = q;
259
259
  }
260
260
  e();
261
261
  }
262
- } catch (G) {
263
- if (G && m && typeof G.stack == "string") {
264
- for (var h = G.stack.split(`
262
+ } catch (q) {
263
+ if (q && m && typeof q.stack == "string") {
264
+ for (var h = q.stack.split(`
265
265
  `), F = m.stack.split(`
266
- `), E = h.length - 1, P = F.length - 1; E >= 1 && P >= 0 && h[E] !== F[P]; )
267
- P--;
268
- for (; E >= 1 && P >= 0; E--, P--)
269
- if (h[E] !== F[P]) {
270
- if (E !== 1 || P !== 1)
266
+ `), R = h.length - 1, C = F.length - 1; R >= 1 && C >= 0 && h[R] !== F[C]; )
267
+ C--;
268
+ for (; R >= 1 && C >= 0; R--, C--)
269
+ if (h[R] !== F[C]) {
270
+ if (R !== 1 || C !== 1)
271
271
  do
272
- if (E--, P--, P < 0 || h[E] !== F[P]) {
273
- var W = `
274
- ` + h[E].replace(" at new ", " at ");
275
- return e.displayName && W.includes("<anonymous>") && (W = W.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, W), W;
272
+ if (R--, C--, C < 0 || h[R] !== F[C]) {
273
+ var U = `
274
+ ` + h[R].replace(" at new ", " at ");
275
+ return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" && ne.set(e, U), U;
276
276
  }
277
- while (E >= 1 && P >= 0);
277
+ while (R >= 1 && C >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- pe = !1, ce.current = w, ze(), Error.prepareStackTrace = b;
282
+ pe = !1, ce.current = w, Ke(), Error.prepareStackTrace = b;
283
283
  }
284
- var X = e ? e.displayName || e.name : "", Ye = X ? re(X) : "";
284
+ var Z = e ? e.displayName || e.name : "", Ye = Z ? ae(Z) : "";
285
285
  return typeof e == "function" && ne.set(e, Ye), Ye;
286
286
  }
287
- function Xe(e, r, a) {
288
- return Ce(e, !1);
287
+ function Ze(e, r, n) {
288
+ return Te(e, !1);
289
289
  }
290
- function Ze(e) {
290
+ function Qe(e) {
291
291
  var r = e.prototype;
292
292
  return !!(r && r.isReactComponent);
293
293
  }
294
- function ae(e, r, a) {
294
+ function le(e, r, n) {
295
295
  if (e == null)
296
296
  return "";
297
297
  if (typeof e == "function")
298
- return Ce(e, Ze(e));
298
+ return Te(e, Qe(e));
299
299
  if (typeof e == "string")
300
- return re(e);
300
+ return ae(e);
301
301
  switch (e) {
302
302
  case x:
303
- return re("Suspense");
303
+ return ae("Suspense");
304
304
  case N:
305
- return re("SuspenseList");
305
+ return ae("SuspenseList");
306
306
  }
307
307
  if (typeof e == "object")
308
308
  switch (e.$$typeof) {
309
309
  case d:
310
- return Xe(e.render);
310
+ return Ze(e.render);
311
311
  case v:
312
- return ae(e.type, r, a);
312
+ return le(e.type, r, n);
313
313
  case T: {
314
314
  var m = e, b = m._payload, w = m._init;
315
315
  try {
316
- return ae(w(b), r, a);
316
+ return le(w(b), r, n);
317
317
  } catch {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var le = Object.prototype.hasOwnProperty, je = {}, Se = R.ReactDebugCurrentFrame;
323
+ var oe = Object.prototype.hasOwnProperty, je = {}, Se = P.ReactDebugCurrentFrame;
324
324
  function ie(e) {
325
325
  if (e) {
326
- var r = e._owner, a = ae(e.type, e._source, r ? r.type : null);
327
- Se.setExtraStackFrame(a);
326
+ var r = e._owner, n = le(e.type, e._source, r ? r.type : null);
327
+ Se.setExtraStackFrame(n);
328
328
  } else
329
329
  Se.setExtraStackFrame(null);
330
330
  }
331
- function Qe(e, r, a, m, b) {
331
+ function et(e, r, n, m, b) {
332
332
  {
333
- var w = Function.call.bind(le);
333
+ var w = Function.call.bind(oe);
334
334
  for (var _ in e)
335
335
  if (w(e, _)) {
336
336
  var h = void 0;
337
337
  try {
338
338
  if (typeof e[_] != "function") {
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`.");
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`.");
340
340
  throw F.name = "Invariant Violation", F;
341
341
  }
342
- h = e[_](r, _, m, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
- } catch (E) {
344
- h = E;
342
+ h = e[_](r, _, m, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ } catch (R) {
344
+ h = R;
345
345
  }
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));
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", n, _, typeof h), ie(null)), h instanceof Error && !(h.message in je) && (je[h.message] = !0, ie(b), y("Failed %s type: %s", n, h.message), ie(null));
347
347
  }
348
348
  }
349
349
  }
350
- var et = Array.isArray;
350
+ var tt = Array.isArray;
351
351
  function fe(e) {
352
- return et(e);
352
+ return tt(e);
353
353
  }
354
- function tt(e) {
354
+ function rt(e) {
355
355
  {
356
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
- return a;
356
+ var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
+ return n;
358
358
  }
359
359
  }
360
- function rt(e) {
360
+ function at(e) {
361
361
  try {
362
362
  return Oe(e), !1;
363
363
  } catch {
@@ -368,26 +368,26 @@ function yt() {
368
368
  return "" + e;
369
369
  }
370
370
  function $e(e) {
371
- if (rt(e))
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);
371
+ if (at(e))
372
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rt(e)), Oe(e);
373
373
  }
374
- var Q = R.ReactCurrentOwner, nt = {
374
+ var Q = P.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 at(e) {
382
- if (le.call(e, "ref")) {
381
+ function lt(e) {
382
+ if (oe.call(e, "ref")) {
383
383
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
384
384
  if (r && r.isReactWarning)
385
385
  return !1;
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
- function lt(e) {
390
- if (le.call(e, "key")) {
389
+ function ot(e) {
390
+ if (oe.call(e, "key")) {
391
391
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
392
392
  if (r && r.isReactWarning)
393
393
  return !1;
@@ -396,40 +396,40 @@ function yt() {
396
396
  }
397
397
  function it(e, r) {
398
398
  if (typeof e.ref == "string" && Q.current && r && Q.current.stateNode !== r) {
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);
399
+ var n = E(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', E(Q.current.type), e.ref), de[n] = !0);
401
401
  }
402
402
  }
403
- function ot(e, r) {
403
+ function st(e, r) {
404
404
  {
405
- var a = function() {
405
+ var n = 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
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
409
- get: a,
408
+ n.isReactWarning = !0, Object.defineProperty(e, "key", {
409
+ get: n,
410
410
  configurable: !0
411
411
  });
412
412
  }
413
413
  }
414
- function st(e, r) {
414
+ function ct(e, r) {
415
415
  {
416
- var a = function() {
416
+ var n = 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
- a.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
- get: a,
419
+ n.isReactWarning = !0, Object.defineProperty(e, "ref", {
420
+ get: n,
421
421
  configurable: !0
422
422
  });
423
423
  }
424
424
  }
425
- var ct = function(e, r, a, m, b, w, _) {
425
+ var ut = function(e, r, n, m, b, w, _) {
426
426
  var h = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
428
  $$typeof: p,
429
429
  // Built-in properties that belong on the element
430
430
  type: e,
431
431
  key: r,
432
- ref: a,
432
+ ref: n,
433
433
  props: _,
434
434
  // Record the component responsible for creating this element.
435
435
  _owner: w
@@ -451,29 +451,29 @@ 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, a, m, b) {
454
+ function pt(e, r, n, m, b) {
455
455
  {
456
456
  var w, _ = {}, h = null, F = null;
457
- a !== void 0 && ($e(a), h = "" + a), lt(r) && ($e(r.key), h = "" + r.key), at(r) && (F = r.ref, it(r, b));
457
+ n !== void 0 && ($e(n), h = "" + n), ot(r) && ($e(r.key), h = "" + r.key), lt(r) && (F = r.ref, it(r, b));
458
458
  for (w in r)
459
- le.call(r, w) && !nt.hasOwnProperty(w) && (_[w] = r[w]);
459
+ oe.call(r, w) && !nt.hasOwnProperty(w) && (_[w] = r[w]);
460
460
  if (e && e.defaultProps) {
461
- var E = e.defaultProps;
462
- for (w in E)
463
- _[w] === void 0 && (_[w] = E[w]);
461
+ var R = e.defaultProps;
462
+ for (w in R)
463
+ _[w] === void 0 && (_[w] = R[w]);
464
464
  }
465
465
  if (h || F) {
466
- var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
- h && ot(_, P), F && st(_, P);
466
+ var C = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
467
+ h && st(_, C), F && ct(_, C);
468
468
  }
469
- return ct(e, h, F, b, m, Q.current, _);
469
+ return ut(e, h, F, b, m, Q.current, _);
470
470
  }
471
471
  }
472
- var me = R.ReactCurrentOwner, De = R.ReactDebugCurrentFrame;
473
- function K(e) {
472
+ var me = P.ReactCurrentOwner, De = P.ReactDebugCurrentFrame;
473
+ function X(e) {
474
474
  if (e) {
475
- var r = e._owner, a = ae(e.type, e._source, r ? r.type : null);
476
- De.setExtraStackFrame(a);
475
+ var r = e._owner, n = le(e.type, e._source, r ? r.type : null);
476
+ De.setExtraStackFrame(n);
477
477
  } else
478
478
  De.setExtraStackFrame(null);
479
479
  }
@@ -485,7 +485,7 @@ function yt() {
485
485
  function Ae() {
486
486
  {
487
487
  if (me.current) {
488
- var e = I(me.current.type);
488
+ var e = E(me.current.type);
489
489
  if (e)
490
490
  return `
491
491
 
@@ -494,26 +494,26 @@ Check the render method of \`` + e + "`.";
494
494
  return "";
495
495
  }
496
496
  }
497
- function pt(e) {
497
+ function ft(e) {
498
498
  {
499
499
  if (e !== void 0) {
500
- var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
500
+ var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
501
501
  return `
502
502
 
503
- Check your code at ` + r + ":" + a + ".";
503
+ Check your code at ` + r + ":" + n + ".";
504
504
  }
505
505
  return "";
506
506
  }
507
507
  }
508
508
  var Le = {};
509
- function ft(e) {
509
+ function dt(e) {
510
510
  {
511
511
  var r = Ae();
512
512
  if (!r) {
513
- var a = typeof e == "string" ? e : e.displayName || e.name;
514
- a && (r = `
513
+ var n = typeof e == "string" ? e : e.displayName || e.name;
514
+ n && (r = `
515
515
 
516
- Check the top-level render call using <` + a + ">.");
516
+ Check the top-level render call using <` + n + ">.");
517
517
  }
518
518
  return r;
519
519
  }
@@ -523,12 +523,12 @@ Check the top-level render call using <` + a + ">.");
523
523
  if (!e._store || e._store.validated || e.key != null)
524
524
  return;
525
525
  e._store.validated = !0;
526
- var a = ft(r);
527
- if (Le[a])
526
+ var n = dt(r);
527
+ if (Le[n])
528
528
  return;
529
- Le[a] = !0;
529
+ Le[n] = !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.', a, m), K(null);
531
+ e && e._owner && e._owner !== me.current && (m = " It was passed a child from " + E(e._owner.type) + "."), X(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), X(null);
532
532
  }
533
533
  }
534
534
  function We(e, r) {
@@ -536,8 +536,8 @@ Check the top-level render call using <` + a + ">.");
536
536
  if (typeof e != "object")
537
537
  return;
538
538
  if (fe(e))
539
- for (var a = 0; a < e.length; a++) {
540
- var m = e[a];
539
+ for (var n = 0; n < e.length; n++) {
540
+ var m = e[n];
541
541
  he(m) && Me(m, r);
542
542
  }
543
543
  else if (he(e))
@@ -550,119 +550,119 @@ Check the top-level render call using <` + a + ">.");
550
550
  }
551
551
  }
552
552
  }
553
- function dt(e) {
553
+ function mt(e) {
554
554
  {
555
555
  var r = e.type;
556
556
  if (r == null || typeof r == "string")
557
557
  return;
558
- var a;
558
+ var n;
559
559
  if (typeof r == "function")
560
- a = r.propTypes;
560
+ n = 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
- a = r.propTypes;
564
+ n = r.propTypes;
565
565
  else
566
566
  return;
567
- if (a) {
568
- var m = I(r);
569
- Qe(a, e.props, "prop", m, e);
567
+ if (n) {
568
+ var m = E(r);
569
+ et(n, e.props, "prop", m, e);
570
570
  } else if (r.PropTypes !== void 0 && !ke) {
571
571
  ke = !0;
572
- var b = I(r);
572
+ var b = E(r);
573
573
  y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
574
574
  }
575
575
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
576
576
  }
577
577
  }
578
- function mt(e) {
578
+ function kt(e) {
579
579
  {
580
- for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
581
- var m = r[a];
580
+ for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
581
+ var m = r[n];
582
582
  if (m !== "children" && m !== "key") {
583
- K(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), K(null);
583
+ X(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", m), X(null);
584
584
  break;
585
585
  }
586
586
  }
587
- e.ref !== null && (K(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
587
+ e.ref !== null && (X(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
588
588
  }
589
589
  }
590
- function Be(e, r, a, m, b, w) {
590
+ function Be(e, r, n, m, b, w) {
591
591
  {
592
- var _ = Y(e);
592
+ var _ = M(e);
593
593
  if (!_) {
594
594
  var h = "";
595
595
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
596
- var F = pt(b);
596
+ var F = ft(b);
597
597
  F ? h += F : h += Ae();
598
- var E;
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);
598
+ var R;
599
+ e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === p ? (R = "<" + (E(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : R = 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", R, h);
600
600
  }
601
- var P = ut(e, r, a, b, w);
602
- if (P == null)
603
- return P;
601
+ var C = pt(e, r, n, b, w);
602
+ if (C == null)
603
+ return C;
604
604
  if (_) {
605
- var W = r.children;
606
- if (W !== void 0)
605
+ var U = r.children;
606
+ if (U !== void 0)
607
607
  if (m)
608
- if (fe(W)) {
609
- for (var X = 0; X < W.length; X++)
610
- We(W[X], e);
611
- Object.freeze && Object.freeze(W);
608
+ if (fe(U)) {
609
+ for (var Z = 0; Z < U.length; Z++)
610
+ We(U[Z], e);
611
+ Object.freeze && Object.freeze(U);
612
612
  } else
613
613
  y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
614
614
  else
615
- We(W, e);
615
+ We(U, e);
616
616
  }
617
- return e === s ? mt(P) : dt(P), P;
617
+ return e === i ? kt(C) : mt(C), C;
618
618
  }
619
619
  }
620
- function kt(e, r, a) {
621
- return Be(e, r, a, !0);
620
+ function ht(e, r, n) {
621
+ return Be(e, r, n, !0);
622
622
  }
623
- function ht(e, r, a) {
624
- return Be(e, r, a, !1);
623
+ function _t(e, r, n) {
624
+ return Be(e, r, n, !1);
625
625
  }
626
- var _t = ht, vt = kt;
627
- te.Fragment = s, te.jsx = _t, te.jsxs = vt;
626
+ var vt = _t, bt = ht;
627
+ te.Fragment = i, te.jsx = vt, te.jsxs = bt;
628
628
  }()), te;
629
629
  }
630
- process.env.NODE_ENV === "production" ? ve.exports = Nt() : ve.exports = yt();
630
+ process.env.NODE_ENV === "production" ? ve.exports = yt() : ve.exports = wt();
631
631
  var be = ve.exports;
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]);
632
+ const z = be.Fragment, t = be.jsx, s = be.jsxs, _e = {}, xt = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>';
633
+ function Et(a, p) {
634
+ return !_e[a] && typeof window.fetch == "function" && (_e[a] = window.fetch(p + a + ".svg").then((c) => c.ok ? c.text() : (console.error("Missing icon: " + p + a + ".svg"), xt)).then((c) => c)), Promise.resolve(_e[a]);
635
635
  }
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
- return bt(() => {
639
- if (!n)
636
+ const g = ({ name: a, path: p, className: c = "", ...i }) => {
637
+ const l = "https://punkt-cdn.oslo.kommune.no/7.1/icons/", [u, f] = re(null);
638
+ return Ge(() => {
639
+ if (!a)
640
640
  return;
641
- xt(n, p || l).then((d) => f(d));
642
- }, [n, p, l]), u ? /* @__PURE__ */ t(
641
+ Et(a, p || l).then((d) => f(d));
642
+ }, [a, p, l]), u ? /* @__PURE__ */ t(
643
643
  "span",
644
644
  {
645
645
  className: `pkt-icon ${c}`,
646
646
  dangerouslySetInnerHTML: { __html: u },
647
- ...s
647
+ ...i
648
648
  }
649
649
  ) : null;
650
- }, He = V(
650
+ }, He = H(
651
651
  ({
652
- children: n,
652
+ children: a,
653
653
  className: p,
654
654
  skin: c = "info",
655
- closeAlert: s = !1,
655
+ closeAlert: i = !1,
656
656
  onClose: l,
657
657
  title: u,
658
658
  date: f,
659
- ariaLive: i = "polite",
659
+ ariaLive: o = "polite",
660
660
  ...d
661
661
  }, x) => {
662
- const N = [p, "pkt-alert", c && `pkt-alert--${c}`].filter(Boolean).join(" "), [v, T] = se(!0), C = () => {
662
+ const N = [p, "pkt-alert", c && `pkt-alert--${c}`].filter(Boolean).join(" "), [v, T] = re(!0), j = () => {
663
663
  T(!1), l && l();
664
664
  };
665
- return v ? /* @__PURE__ */ o("div", { ...d, className: N, "aria-live": i, ref: x, children: [
665
+ return v ? /* @__PURE__ */ s("div", { ...d, className: N, "aria-live": o, ref: x, children: [
666
666
  /* @__PURE__ */ t(
667
667
  g,
668
668
  {
@@ -670,48 +670,48 @@ const g = ({ name: n, path: p, className: c = "", ...s }) => {
670
670
  name: c === "info" ? "alert-information" : `alert-${c}`
671
671
  }
672
672
  ),
673
- s && /* @__PURE__ */ t("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t(
673
+ i && /* @__PURE__ */ t("div", { className: "pkt-alert__close", children: /* @__PURE__ */ t(
674
674
  "button",
675
675
  {
676
676
  type: "button",
677
677
  className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
678
678
  tabIndex: 0,
679
679
  "aria-label": "close",
680
- onClick: C,
680
+ onClick: j,
681
681
  children: /* @__PURE__ */ t(g, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
682
682
  }
683
683
  ) }),
684
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: [
685
+ /* @__PURE__ */ t("div", { className: "pkt-alert__text", children: a }),
686
+ f && /* @__PURE__ */ s("div", { className: "pkt-alert__date", children: [
687
687
  "Sist oppdatert: ",
688
688
  f
689
689
  ] })
690
690
  ] }) : null;
691
691
  }
692
- ), Ot = V(
693
- ({ href: n, text: p, onClick: c, className: s, ...l }, u) => {
692
+ ), $t = H(
693
+ ({ href: a, text: p, onClick: c, className: i, ...l }, u) => {
694
694
  const f = [
695
- s,
695
+ i,
696
696
  "pkt-back-link"
697
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: () => {
698
+ return /* @__PURE__ */ t("nav", { ref: u, className: f, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ s("a", { href: a || "/", className: "pkt-link pkt-link--icon-left", onClick: () => {
699
699
  c && c();
700
700
  }, ...l, children: [
701
701
  /* @__PURE__ */ t(g, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
702
702
  /* @__PURE__ */ t("span", { className: "pkt-back-link__text", children: p || "Forsiden" })
703
703
  ] }) });
704
704
  }
705
- ), oe = V(
705
+ ), se = H(
706
706
  ({
707
- children: n,
707
+ children: a,
708
708
  className: p,
709
709
  iconName: c = "user",
710
- secondIconName: s = "user",
710
+ secondIconName: i = "user",
711
711
  size: l = "medium",
712
712
  skin: u = "primary",
713
713
  type: f = "button",
714
- variant: i = "label-only",
714
+ variant: o = "label-only",
715
715
  color: d,
716
716
  ...x
717
717
  }, N) => {
@@ -720,64 +720,64 @@ const g = ({ name: n, path: p, className: c = "", ...s }) => {
720
720
  "pkt-btn",
721
721
  l && `pkt-btn--${l}`,
722
722
  u && `pkt-btn--${u}`,
723
- i && `pkt-btn--${i}`,
723
+ o && `pkt-btn--${o}`,
724
724
  d && `pkt-btn--${d}`
725
725
  ].filter(Boolean).join(" ");
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 })
726
+ return /* @__PURE__ */ s("button", { ...x, className: v, type: f, ref: N, children: [
727
+ o !== "label-only" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: c }),
728
+ /* @__PURE__ */ t("span", { className: "pkt-btn__text", children: a }),
729
+ o === "icons-right-and-left" && /* @__PURE__ */ t(g, { className: "pkt-btn__icon", name: i })
730
730
  ] });
731
731
  }
732
732
  );
733
- oe.displayName = "PktButton";
734
- const $t = ({ columnOne: n, columnTwo: p, socialLinks: c, className: s }) => {
733
+ se.displayName = "PktButton";
734
+ const It = ({ columnOne: a, columnTwo: p, socialLinks: c, className: i }) => {
735
735
  var u, f;
736
- const l = [s, "pkt-footer"].filter(Boolean).join(" ");
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(
736
+ const l = [i, "pkt-footer"].filter(Boolean).join(" ");
737
+ return /* @__PURE__ */ t("footer", { className: l, "data-mode": "dark", children: /* @__PURE__ */ s("div", { className: "pkt-footer__container", children: [
738
+ /* @__PURE__ */ s("div", { className: "pkt-grid pkt-grid--rowgap-size-32 pkt-grid--gap-size-16", children: [
739
+ /* @__PURE__ */ s("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: a.title }),
741
+ /* @__PURE__ */ s("ul", { className: "pkt-footer__list", children: [
742
+ a.text && /* @__PURE__ */ t("li", { className: "pkt-footer__text", children: a.text }),
743
+ (u = a.links) == null ? void 0 : u.map((o, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ s(
744
744
  "a",
745
745
  {
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,
746
+ className: `pkt-footer__link ${o.external ? "pkt-link--external" : ""}`,
747
+ href: o.href,
748
+ target: o.openInNewTab ? "_blank" : "_self",
749
+ rel: o.openInNewTab ? "noopener noreferrer" : void 0,
750
750
  children: [
751
751
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
752
- i.text
752
+ o.text
753
753
  ]
754
754
  }
755
755
  ) }, `links-${d}`))
756
756
  ] })
757
757
  ] }),
758
- /* @__PURE__ */ o("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
758
+ /* @__PURE__ */ s("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
759
759
  /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: p.title }),
760
- /* @__PURE__ */ o("ul", { className: "pkt-footer__list", children: [
760
+ /* @__PURE__ */ s("ul", { className: "pkt-footer__list", children: [
761
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(
762
+ (f = p.links) == null ? void 0 : f.map((o, d) => /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ s(
763
763
  "a",
764
764
  {
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,
765
+ className: `pkt-footer__link ${o.external ? "pkt-link--external" : ""}`,
766
+ href: o.href,
767
+ target: o.openInNewTab ? "_blank" : "_self",
768
+ rel: o.openInNewTab ? "noopener noreferrer" : void 0,
769
769
  children: [
770
770
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
771
- i.text
771
+ o.text
772
772
  ]
773
773
  }
774
774
  ) }, `links-${d}`))
775
775
  ] })
776
776
  ] }),
777
- /* @__PURE__ */ o("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
777
+ /* @__PURE__ */ s("div", { className: "pkt-footer__column pkt-cell pkt-cell--span12 pkt-cell--span4-laptop-up", children: [
778
778
  /* @__PURE__ */ t("h2", { className: "pkt-footer__title", children: "Om nettstedet" }),
779
- /* @__PURE__ */ o("ul", { className: "pkt-footer__list", children: [
780
- /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ o(
779
+ /* @__PURE__ */ s("ul", { className: "pkt-footer__list", children: [
780
+ /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ s(
781
781
  "a",
782
782
  {
783
783
  className: "pkt-footer__link",
@@ -788,57 +788,57 @@ const $t = ({ columnOne: n, columnTwo: p, socialLinks: c, className: s }) => {
788
788
  ]
789
789
  }
790
790
  ) }),
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: [
791
+ /* @__PURE__ */ t("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ s("a", { className: "pkt-footer__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
792
792
  /* @__PURE__ */ t(g, { className: "pkt-footer__link-icon", name: "chevron-right" }),
793
793
  "Tilgjengelighet"
794
794
  ] }) })
795
795
  ] })
796
796
  ] })
797
797
  ] }),
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(
798
+ c && /* @__PURE__ */ s("div", { className: "pkt-footer__social", "aria-label": "standard lenker", children: [
799
+ /* @__PURE__ */ t("div", { className: "pkt-footer__social-languages", children: c.filter((o) => o.language).map((o, d) => /* @__PURE__ */ t(
800
800
  "div",
801
801
  {
802
802
  className: "pkt-footer__social-language",
803
803
  children: /* @__PURE__ */ t(
804
804
  "a",
805
805
  {
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
806
+ href: o.href,
807
+ "aria-label": `til ${o.language} versjon av nettsiden`,
808
+ target: o.openInNewTab ? "_blank" : "_self",
809
+ rel: o.openInNewTab ? "noopener noreferrer" : void 0,
810
+ children: o.language
811
811
  }
812
812
  )
813
813
  },
814
814
  `sociallinks-language-${d}`
815
815
  )) }),
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(
816
+ /* @__PURE__ */ t("div", { className: "pkt-footer__social-icons", children: c.filter((o) => o.iconName).map((o, d) => /* @__PURE__ */ t(V.Fragment, { children: /* @__PURE__ */ t(
817
817
  "a",
818
818
  {
819
- href: i.href,
820
- "aria-label": `til ${i.iconName}`,
819
+ href: o.href,
820
+ "aria-label": `til ${o.iconName}`,
821
821
  className: "pkt-footer__social-icon-link",
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 })
822
+ target: o.openInNewTab ? "_blank" : "_self",
823
+ rel: o.openInNewTab ? "noopener noreferrer" : void 0,
824
+ children: /* @__PURE__ */ t(g, { className: "pkt-footer__social-icon", name: o.iconName })
825
825
  }
826
826
  ) }, `sociallinks-${d}`)) })
827
827
  ] })
828
828
  ] }) });
829
- }, It = ({
830
- links: n = [],
829
+ }, Ft = ({
830
+ links: a = [],
831
831
  className: p
832
832
  }) => {
833
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(
834
+ return /* @__PURE__ */ t("footer", { className: c, "data-mode": "dark", children: /* @__PURE__ */ t("div", { className: "pkt-footer-simple__container", children: /* @__PURE__ */ s("ul", { className: "pkt-footer-simple__list", children: [
835
+ a.map((i, l) => /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ s(
836
836
  "a",
837
837
  {
838
- className: `pkt-footer-simple__link ${s.external ? " pkt-link--external" : ""}`,
839
- href: s.href,
840
- target: s.openInNewTab ? "_blank" : "_self",
841
- rel: s.openInNewTab ? "noopener noreferrer" : void 0,
838
+ className: `pkt-footer-simple__link ${i.external ? " pkt-link--external" : ""}`,
839
+ href: i.href,
840
+ target: i.openInNewTab ? "_blank" : "_self",
841
+ rel: i.openInNewTab ? "noopener noreferrer" : void 0,
842
842
  children: [
843
843
  /* @__PURE__ */ t(
844
844
  g,
@@ -847,112 +847,112 @@ const $t = ({ columnOne: n, columnTwo: p, socialLinks: c, className: s }) => {
847
847
  name: "chevron-right"
848
848
  }
849
849
  ),
850
- s.text
850
+ i.text
851
851
  ]
852
852
  }
853
853
  ) }, l)),
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: [
854
+ /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ s("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/personvern-og-informasjonskapsler/", children: [
855
855
  /* @__PURE__ */ t(g, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
856
856
  "Personvern og informasjonskapsler"
857
857
  ] }) }),
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: [
858
+ /* @__PURE__ */ t("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ s("a", { className: "pkt-footer-simple__link", href: "https://www.oslo.kommune.no/tilgjengelighet/", children: [
859
859
  /* @__PURE__ */ t(g, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
860
860
  "Tilgjengelighet"
861
861
  ] }) })
862
862
  ] }) }) });
863
863
  };
864
- var Ge = { exports: {} };
864
+ var Je = { exports: {} };
865
865
  /*!
866
866
  Copyright (c) 2018 Jed Watson.
867
867
  Licensed under the MIT License (MIT), see
868
868
  http://jedwatson.github.io/classnames
869
869
  */
870
- (function(n) {
870
+ (function(a) {
871
871
  (function() {
872
872
  var p = {}.hasOwnProperty;
873
873
  function c() {
874
- for (var s = [], l = 0; l < arguments.length; l++) {
874
+ for (var i = [], l = 0; l < arguments.length; l++) {
875
875
  var u = arguments[l];
876
876
  if (u) {
877
877
  var f = typeof u;
878
878
  if (f === "string" || f === "number")
879
- s.push(u);
879
+ i.push(u);
880
880
  else if (Array.isArray(u)) {
881
881
  if (u.length) {
882
- var i = c.apply(null, u);
883
- i && s.push(i);
882
+ var o = c.apply(null, u);
883
+ o && i.push(o);
884
884
  }
885
885
  } else if (f === "object") {
886
886
  if (u.toString !== Object.prototype.toString && !u.toString.toString().includes("[native code]")) {
887
- s.push(u.toString());
887
+ i.push(u.toString());
888
888
  continue;
889
889
  }
890
890
  for (var d in u)
891
- p.call(u, d) && u[d] && s.push(d);
891
+ p.call(u, d) && u[d] && i.push(d);
892
892
  }
893
893
  }
894
894
  }
895
- return s.join(" ");
895
+ return i.join(" ");
896
896
  }
897
- n.exports ? (c.default = c, n.exports = c) : window.classNames = c;
897
+ a.exports ? (c.default = c, a.exports = c) : window.classNames = c;
898
898
  })();
899
- })(Ge);
900
- var Et = Ge.exports;
901
- const Je = /* @__PURE__ */ gt(Et), Ft = V(
899
+ })(Je);
900
+ var Rt = Je.exports;
901
+ const qe = /* @__PURE__ */ Nt(Rt), Dt = H(
902
902
  ({
903
- logoLink: n = "https://www.oslo.kommune.no/",
903
+ logoLink: a = "https://www.oslo.kommune.no/",
904
904
  serviceName: p,
905
905
  fixed: c = !0,
906
- scrollToHide: s = !0,
906
+ scrollToHide: i = !0,
907
907
  user: l,
908
908
  userMenu: u,
909
909
  representing: f,
910
- userOptions: i,
910
+ userOptions: o,
911
911
  userMenuFooter: d,
912
912
  canChangeRepresentation: x = !0,
913
913
  showMenuButton: N = !1,
914
914
  showLogOutButton: v = !1,
915
915
  openMenu: T,
916
- logOut: C,
916
+ logOut: j,
917
917
  changeRepresentation: $,
918
- ...L
918
+ ...B
919
919
  }, S) => {
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", {
920
+ const P = V.useMemo(() => typeof (l == null ? void 0 : l.lastLoggedIn) == "string" ? l.lastLoggedIn : l != null && l.lastLoggedIn ? new Date(l.lastLoggedIn).toLocaleString("nb-NO", {
921
921
  year: "numeric",
922
922
  month: "long",
923
923
  day: "numeric"
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), () => {
926
- document.removeEventListener("mouseup", Y), window.removeEventListener("scroll", z);
924
+ }) : "", [l]), [y, L] = V.useState(!1), [D, G] = V.useState(0), [I, Y] = V.useState(!1), O = V.useRef(null);
925
+ V.useEffect(() => (document.addEventListener("mouseup", M), window.addEventListener("scroll", J), () => {
926
+ document.removeEventListener("mouseup", M), window.removeEventListener("scroll", J);
927
927
  }));
928
- const B = () => {
929
- M(!A);
930
- }, Y = (k) => {
931
- O.current && !O.current.contains(k.target) && M(!1);
932
- }, z = () => {
933
- if (s) {
928
+ const A = () => {
929
+ Y(!I);
930
+ }, M = (k) => {
931
+ O.current && !O.current.contains(k.target) && Y(!1);
932
+ }, J = () => {
933
+ if (i) {
934
934
  const k = window.pageYOffset || document.documentElement.scrollTop;
935
- if (k < 0 || Math.abs(k - j) < 60)
935
+ if (k < 0 || Math.abs(k - D) < 60)
936
936
  return;
937
- D(k > j), H(k);
937
+ L(k > D), G(k);
938
938
  }
939
939
  };
940
- return /* @__PURE__ */ o(
940
+ return /* @__PURE__ */ s(
941
941
  "header",
942
942
  {
943
- ...L,
943
+ ...B,
944
944
  id: "pkt-header",
945
945
  "data-testid": "pkt-header",
946
946
  "aria-label": "Topp",
947
- className: Je("pkt-header", {
947
+ className: qe("pkt-header", {
948
948
  "pkt-header--fixed": c,
949
- "pkt-header--scroll-to-hide": s,
949
+ "pkt-header--scroll-to-hide": i,
950
950
  "pkt-header--hidden": y
951
951
  }),
952
952
  ref: S,
953
953
  children: [
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(
954
+ /* @__PURE__ */ s("div", { className: "pkt-header__logo", children: [
955
+ typeof a == "string" ? /* @__PURE__ */ t("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: a, children: /* @__PURE__ */ t(
956
956
  g,
957
957
  {
958
958
  name: "oslologo",
@@ -965,7 +965,7 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
965
965
  {
966
966
  "aria-label": "Tilbake til forside",
967
967
  className: "pkt-link-button pkt-link pkt-header__logo-link",
968
- onClick: n,
968
+ onClick: a,
969
969
  children: /* @__PURE__ */ t(
970
970
  g,
971
971
  {
@@ -979,9 +979,9 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
979
979
  ),
980
980
  /* @__PURE__ */ t("span", { className: "pkt-header__logo-service", children: p })
981
981
  ] }),
982
- /* @__PURE__ */ t("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ o("ul", { className: "pkt-header__actions-row", children: [
982
+ /* @__PURE__ */ t("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ s("ul", { className: "pkt-header__actions-row", children: [
983
983
  N && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
984
- oe,
984
+ se,
985
985
  {
986
986
  className: "pkt-header__menu-btn",
987
987
  skin: "secondary",
@@ -991,22 +991,22 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
991
991
  children: "Meny"
992
992
  }
993
993
  ) }),
994
- (l || f) && /* @__PURE__ */ o(
994
+ (l || f) && /* @__PURE__ */ s(
995
995
  "li",
996
996
  {
997
997
  "data-testid": "usermenu",
998
- className: `pkt-header--has-dropdown ${A && !y ? "pkt-header--open-dropdown" : ""}`,
998
+ className: `pkt-header--has-dropdown ${I && !y ? "pkt-header--open-dropdown" : ""}`,
999
999
  ref: O,
1000
1000
  children: [
1001
- /* @__PURE__ */ o(
1001
+ /* @__PURE__ */ s(
1002
1002
  "button",
1003
1003
  {
1004
1004
  className: "pkt-header__user-btn pkt-btn pkt-btn--secondary pkt-btn--icons-right-and-left",
1005
1005
  type: "button",
1006
1006
  role: "button",
1007
1007
  "aria-controls": "pktUserDropdown",
1008
- "aria-expanded": A,
1009
- onClick: B,
1008
+ "aria-expanded": I,
1009
+ onClick: A,
1010
1010
  children: [
1011
1011
  /* @__PURE__ */ t(g, { name: "user", className: "pkt-btn__icon" }),
1012
1012
  /* @__PURE__ */ t("span", { className: "pkt-header__user-fullname", children: (f == null ? void 0 : f.name) || (l == null ? void 0 : l.name) }),
@@ -1016,32 +1016,32 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
1016
1016
  ]
1017
1017
  }
1018
1018
  ),
1019
- /* @__PURE__ */ o("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1020
- l && /* @__PURE__ */ o("li", { children: [
1019
+ /* @__PURE__ */ s("ul", { id: "pktUserDropdown", className: "pkt-header__dropdown pkt-user-menu", children: [
1020
+ l && /* @__PURE__ */ s("li", { children: [
1021
1021
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__label", children: "Pålogget som" }),
1022
1022
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__name", children: l.name }),
1023
- l.lastLoggedIn && /* @__PURE__ */ o("div", { className: "pkt-user-menu__last-logged-in", children: [
1023
+ l.lastLoggedIn && /* @__PURE__ */ s("div", { className: "pkt-user-menu__last-logged-in", children: [
1024
1024
  "Sist pålogget: ",
1025
- /* @__PURE__ */ t("time", { children: R })
1025
+ /* @__PURE__ */ t("time", { children: P })
1026
1026
  ] })
1027
1027
  ] }),
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: [
1028
+ u && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: u.map((k, E) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ s("a", { href: k.target, className: "pkt-link", children: [
1029
1029
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1030
1030
  k.title
1031
- ] }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1031
+ ] }) : /* @__PURE__ */ s("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1032
1032
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1033
1033
  k.title
1034
- ] }) }, `userMenu-${I}`)) }) }),
1035
- (f || x) && /* @__PURE__ */ o("li", { children: [
1036
- f && /* @__PURE__ */ o(J, { children: [
1034
+ ] }) }, `userMenu-${E}`)) }) }),
1035
+ (f || x) && /* @__PURE__ */ s("li", { children: [
1036
+ f && /* @__PURE__ */ s(z, { children: [
1037
1037
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1038
1038
  /* @__PURE__ */ t("div", { className: "pkt-user-menu__name", children: f.name }),
1039
- f.orgNumber && /* @__PURE__ */ o("div", { className: "pkt-user-menu__org-number", children: [
1039
+ f.orgNumber && /* @__PURE__ */ s("div", { className: "pkt-user-menu__org-number", children: [
1040
1040
  "Org.nr. ",
1041
1041
  f.orgNumber
1042
1042
  ] })
1043
1043
  ] }),
1044
- /* @__PURE__ */ t("ul", { className: "pkt-list mt-size-16", children: x && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ o(
1044
+ /* @__PURE__ */ t("ul", { className: "pkt-list mt-size-16", children: x && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ s(
1045
1045
  "button",
1046
1046
  {
1047
1047
  className: "pkt-link-button pkt-link",
@@ -1053,31 +1053,31 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
1053
1053
  }
1054
1054
  ) }) })
1055
1055
  ] }),
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: [
1056
+ /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("ul", { className: "pkt-list", children: (o || !v) && /* @__PURE__ */ s(z, { children: [
1057
+ o == null ? void 0 : o.map((k, E) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ s("a", { href: k.target, className: "pkt-link", children: [
1058
1058
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1059
1059
  k.title
1060
- ] }) : /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1060
+ ] }) : /* @__PURE__ */ s("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: [
1061
1061
  k.iconName && /* @__PURE__ */ t(g, { name: k.iconName, className: "pkt-link__icon" }),
1062
1062
  k.title
1063
- ] }) }, `userOptions-${I}`)),
1064
- !v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ o("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1063
+ ] }) }, `userOptions-${E}`)),
1064
+ !v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ s("button", { className: "pkt-link-button pkt-link", onClick: j, children: [
1065
1065
  /* @__PURE__ */ t(g, { name: "exit", className: "pkt-link__icon" }),
1066
1066
  "Logg ut"
1067
1067
  ] }) })
1068
1068
  ] }) }) }),
1069
- d && /* @__PURE__ */ t("li", { className: "footer", children: /* @__PURE__ */ t("ul", { className: "pkt-list-horizontal bordered", children: d.map((k, I) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ t("a", { href: k.target, className: "pkt-link", children: k.title }) : /* @__PURE__ */ t("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: k.title }) }, `userMenuFooter-${I}`)) }) })
1069
+ d && /* @__PURE__ */ t("li", { className: "footer", children: /* @__PURE__ */ t("ul", { className: "pkt-list-horizontal bordered", children: d.map((k, E) => /* @__PURE__ */ t("li", { children: typeof k.target == "string" ? /* @__PURE__ */ t("a", { href: k.target, className: "pkt-link", children: k.title }) : /* @__PURE__ */ t("button", { className: "pkt-link-button pkt-link", onClick: k.target, children: k.title }) }, `userMenuFooter-${E}`)) }) })
1070
1070
  ] })
1071
1071
  ]
1072
1072
  }
1073
1073
  ),
1074
1074
  v && /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t(
1075
- oe,
1075
+ se,
1076
1076
  {
1077
1077
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
1078
1078
  iconName: "exit",
1079
1079
  role: "button",
1080
- onClick: C,
1080
+ onClick: j,
1081
1081
  skin: "secondary",
1082
1082
  variant: "icon-right",
1083
1083
  children: "Logg ut"
@@ -1088,60 +1088,60 @@ const Je = /* @__PURE__ */ gt(Et), Ft = V(
1088
1088
  }
1089
1089
  );
1090
1090
  }
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 }),
1091
+ ), Pt = V.forwardRef(
1092
+ ({ label: a, id: p, children: c, ...i }, l) => /* @__PURE__ */ s("div", { className: "pkt-form-group", children: [
1093
+ /* @__PURE__ */ t("label", { htmlFor: p, className: "pkt-form-label", children: a }),
1094
+ /* @__PURE__ */ t("input", { className: "pkt-form-input", id: p, ...i, ref: l }),
1095
1095
  c
1096
1096
  ] })
1097
1097
  );
1098
- Rt.displayName = "PktInput";
1099
- const ge = V(
1098
+ Pt.displayName = "PktInput";
1099
+ const ge = H(
1100
1100
  ({
1101
- forId: n,
1101
+ forId: a,
1102
1102
  label: p,
1103
1103
  helptext: c,
1104
- helptextDropdown: s,
1104
+ helptextDropdown: i,
1105
1105
  helptextDropdownButton: l,
1106
1106
  optional: u,
1107
1107
  required: f,
1108
- hasError: i,
1108
+ hasError: o,
1109
1109
  errorMessage: d,
1110
1110
  disabled: x,
1111
1111
  inline: N,
1112
1112
  ariaDescribedby: v,
1113
1113
  useWrapper: T = !0,
1114
- children: C,
1114
+ children: j,
1115
1115
  className: $
1116
- }, L) => {
1117
- const [S, R] = se(!1), y = () => {
1118
- R(!S);
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(
1116
+ }, B) => {
1117
+ const [S, P] = re(!1), y = () => {
1118
+ P(!S);
1119
+ }, L = () => 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" : "", D = u ? "Valgfritt" : f ? "Må fylles ut" : "", G = x ? "pkt-inputwrapper--disabled" : "", I = N ? "pkt-inputwrapper--inline" : "", Y = o ? "pkt-inputwrapper--error" : "", O = !!i && i !== "", A = l || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', M = O ? "div" : "label", J = O ? "h2" : "span", k = v || (c ? `${a}-helptext` : void 0);
1120
+ return /* @__PURE__ */ s(
1121
1121
  "div",
1122
1122
  {
1123
- className: ["pkt-inputwrapper", $, H, A, M].join(
1123
+ className: ["pkt-inputwrapper", $, G, I, Y].join(
1124
1124
  " "
1125
1125
  ),
1126
- ref: L,
1126
+ ref: B,
1127
1127
  children: [
1128
- T ? /* @__PURE__ */ o(J, { children: [
1128
+ T ? /* @__PURE__ */ s(z, { children: [
1129
1129
  /* @__PURE__ */ t(
1130
- Y,
1130
+ M,
1131
1131
  {
1132
- htmlFor: n,
1132
+ htmlFor: a,
1133
1133
  className: "pkt-inputwrapper__label",
1134
1134
  "aria-describedby": O ? "" : v,
1135
- children: /* @__PURE__ */ o(z, { id: `${n}-label`, children: [
1135
+ children: /* @__PURE__ */ s(J, { id: `${a}-label`, children: [
1136
1136
  p,
1137
- j !== "" && /* @__PURE__ */ t("span", { className: D(), children: j })
1137
+ D !== "" && /* @__PURE__ */ t("span", { className: L(), children: D })
1138
1138
  ] })
1139
1139
  }
1140
1140
  ),
1141
- c && /* @__PURE__ */ t("div", { className: "pkt-inputwrapper__helptext", id: `${n}-helptext`, children: c }),
1142
- O && s !== "" && /* @__PURE__ */ o("div", { children: [
1141
+ c && /* @__PURE__ */ t("div", { className: "pkt-inputwrapper__helptext", id: `${a}-helptext`, children: c }),
1142
+ O && i !== "" && /* @__PURE__ */ s("div", { children: [
1143
1143
  /* @__PURE__ */ t(
1144
- oe,
1144
+ se,
1145
1145
  {
1146
1146
  skin: "tertiary",
1147
1147
  size: "small",
@@ -1149,350 +1149,357 @@ const ge = V(
1149
1149
  iconName: S ? "chevron-thin-up" : "chevron-thin-down",
1150
1150
  className: "pkt-inputwrapper__helptext-expandable pkt-link pkt-link--icon-right",
1151
1151
  onClick: y,
1152
- children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: B } })
1152
+ children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: A } })
1153
1153
  }
1154
1154
  ),
1155
1155
  /* @__PURE__ */ t(
1156
1156
  "div",
1157
1157
  {
1158
1158
  className: `pkt-inputwrapper__helptext ${S ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1159
- children: /* @__PURE__ */ t(He, { children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: s } }) })
1159
+ children: /* @__PURE__ */ t(He, { children: /* @__PURE__ */ t("span", { dangerouslySetInnerHTML: { __html: i } }) })
1160
1160
  }
1161
1161
  ),
1162
- /* @__PURE__ */ t("label", { htmlFor: n, className: "pkt-sr-only", "aria-describedby": k, children: p })
1162
+ /* @__PURE__ */ t("label", { htmlFor: a, className: "pkt-sr-only", "aria-describedby": k, children: p })
1163
1163
  ] }),
1164
- /* @__PURE__ */ t(J, { children: C })
1165
- ] }) : /* @__PURE__ */ o(J, { children: [
1164
+ /* @__PURE__ */ t(z, { children: j })
1165
+ ] }) : /* @__PURE__ */ s(z, { children: [
1166
1166
  /* @__PURE__ */ t(
1167
1167
  "label",
1168
1168
  {
1169
- htmlFor: n,
1169
+ htmlFor: a,
1170
1170
  className: "pkt-sr-only",
1171
1171
  "aria-describedby": k,
1172
- id: `${n}-label`,
1172
+ id: `${a}-label`,
1173
1173
  children: p
1174
1174
  }
1175
1175
  ),
1176
- C
1176
+ j
1177
1177
  ] }),
1178
- i && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(He, { skin: "error", "aria-live": "assertive", children: d }) })
1178
+ o && /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(He, { skin: "error", "aria-live": "assertive", children: d }) })
1179
1179
  ]
1180
1180
  }
1181
1181
  );
1182
1182
  }
1183
1183
  );
1184
1184
  ge.displayName = "PktInputWrapper";
1185
- const Pt = V(
1185
+ const Ct = H(
1186
1186
  ({
1187
- children: n,
1187
+ children: a,
1188
1188
  className: p,
1189
1189
  iconName: c = "user",
1190
- openInNewTab: s = !1,
1190
+ openInNewTab: i = !1,
1191
1191
  skin: l = "normal",
1192
1192
  href: u = "#",
1193
1193
  external: f = !1,
1194
- title: i
1194
+ title: o
1195
1195
  }, d) => {
1196
1196
  const x = [p, "pkt-linkcard", l && `pkt-linkcard--${l}`].filter(Boolean).join(" ");
1197
- return /* @__PURE__ */ o(
1197
+ return /* @__PURE__ */ s(
1198
1198
  "a",
1199
1199
  {
1200
1200
  href: u,
1201
1201
  className: `pkt-linkcard pkt-link ${x}`,
1202
- target: s ? "_blank" : "_self",
1203
- rel: s ? "noopener noreferrer" : void 0,
1202
+ target: i ? "_blank" : "_self",
1203
+ rel: i ? "noopener noreferrer" : void 0,
1204
1204
  ref: d,
1205
1205
  children: [
1206
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 })
1207
+ /* @__PURE__ */ s("div", { className: "pkt-linkcard__content", children: [
1208
+ /* @__PURE__ */ t("div", { className: `pkt-linkcard__title ${f ? "pkt-link pkt-link--external" : ""}`, children: o }),
1209
+ /* @__PURE__ */ t("div", { className: "pkt-linkcard__text", children: a })
1210
1210
  ] })
1211
1211
  ]
1212
1212
  }
1213
1213
  );
1214
1214
  }
1215
1215
  );
1216
- Pt.displayName = "PktLinkCard";
1217
- const Dt = ({
1218
- children: n,
1216
+ Ct.displayName = "PktLinkCard";
1217
+ const At = ({
1218
+ children: a,
1219
1219
  skin: p = "beige",
1220
1220
  title: c,
1221
- className: s,
1221
+ className: i,
1222
1222
  ...l
1223
1223
  }) => {
1224
- const u = ["pkt-messagebox", p && `pkt-messagebox--${p}`, s].filter(Boolean).join(" ");
1225
- return /* @__PURE__ */ o("div", { ...l, className: u, children: [
1224
+ const u = ["pkt-messagebox", p && `pkt-messagebox--${p}`, i].filter(Boolean).join(" ");
1225
+ return /* @__PURE__ */ s("div", { ...l, className: u, children: [
1226
1226
  /* @__PURE__ */ t("div", { className: "pkt-messagebox__title", children: c }),
1227
- /* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: n })
1227
+ /* @__PURE__ */ t("div", { className: "pkt-messagebox__text", children: a })
1228
1228
  ] });
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 })
1229
+ }, Tt = H(
1230
+ ({ id: a, name: p, label: c, value: i, ...l }, u) => /* @__PURE__ */ s("div", { className: "pkt-form-group", children: [
1231
+ /* @__PURE__ */ t("input", { type: "radio", className: "pkt-form-check-input", id: a, name: p, value: i, ref: u, ...l }),
1232
+ /* @__PURE__ */ t("label", { className: "pkt-form-label", htmlFor: a, children: c })
1233
1233
  ] })
1234
1234
  );
1235
1235
  Tt.displayName = "PktRadio";
1236
- const At = ({ label: n, children: p }) => /* @__PURE__ */ o(J, { children: [
1237
- /* @__PURE__ */ t("p", { children: n }),
1236
+ const Lt = ({ label: a, children: p }) => /* @__PURE__ */ s(z, { children: [
1237
+ /* @__PURE__ */ t("p", { children: a }),
1238
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 } = {},
1239
+ ] }), jt = ({ isResponsive: a, children: p }) => a ? /* @__PURE__ */ t("div", { className: "pkt-table-container", children: p }) : /* @__PURE__ */ t(z, { children: p }), Mt = ({
1240
+ isResponsive: a,
1241
+ modifiers: { info: p = !1, success: c = !1, strong: i = !1, shadow: l = !1 } = {},
1242
1242
  children: u
1243
- }) => /* @__PURE__ */ t(Ct, { isResponsive: n, children: /* @__PURE__ */ t(
1243
+ }) => /* @__PURE__ */ t(jt, { isResponsive: a, children: /* @__PURE__ */ t(
1244
1244
  "table",
1245
1245
  {
1246
- className: Je("pkt-table", {
1246
+ className: qe("pkt-table", {
1247
1247
  "pkt-table--info": p,
1248
1248
  "pkt-table--success": c,
1249
- "pkt-table--strong": s,
1249
+ "pkt-table--strong": i,
1250
1250
  "pkt-table--shadow": l
1251
1251
  }),
1252
1252
  children: u
1253
1253
  }
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,
1254
+ ) }), Wt = ({ children: a }) => /* @__PURE__ */ t("td", { className: "pkt-table__th", children: a }), Bt = ({ children: a }) => /* @__PURE__ */ t("th", { className: "pkt-table__th", children: a }), St = H(({
1255
+ children: a,
1256
1256
  className: p,
1257
1257
  skin: c = "blue",
1258
- textStyle: s = "normal-text",
1258
+ textStyle: i = "normal-text",
1259
1259
  size: l = "medium",
1260
1260
  closeTag: u = !1,
1261
1261
  iconName: f = "",
1262
- type: i = "button",
1262
+ type: o = "button",
1263
1263
  ariaLabel: d = "close",
1264
1264
  onClick: x = () => {
1265
1265
  }
1266
1266
  }, N) => {
1267
- const [v, T] = se(!1), C = (R) => {
1268
- T(!0), x(R);
1267
+ const [v, T] = re(!1), j = (P) => {
1268
+ T(!0), x(P);
1269
1269
  }, $ = [
1270
1270
  "pkt-tag",
1271
1271
  l && `pkt-tag--${l}`,
1272
1272
  c && `pkt-tag--${c}`,
1273
- s && `pkt-tag--${s}`,
1273
+ i && `pkt-tag--${i}`,
1274
1274
  p
1275
- ].filter(Boolean).join(" "), L = [
1275
+ ].filter(Boolean).join(" "), B = [
1276
1276
  "pkt-tag",
1277
1277
  "pkt-btn",
1278
1278
  "pkt-btn--tertiary",
1279
1279
  l && `pkt-tag--${l}`,
1280
1280
  c && `pkt-tag--${c}`,
1281
- s && `pkt-tag--${s}`,
1281
+ i && `pkt-tag--${i}`,
1282
1282
  f && u ? "pkt-btn--icons-right-and-left" : null,
1283
1283
  u && !f ? "pkt-btn--icon-right" : null,
1284
1284
  p
1285
1285
  ].filter(Boolean).join(" "), S = !v;
1286
- return u && f ? /* @__PURE__ */ t(J, { children: S && /* @__PURE__ */ o(
1286
+ return u && f ? /* @__PURE__ */ t(z, { children: S && /* @__PURE__ */ s(
1287
1287
  "button",
1288
1288
  {
1289
- className: L,
1290
- type: i,
1289
+ className: B,
1290
+ type: o,
1291
1291
  "aria-label": d,
1292
- onClick: C,
1292
+ onClick: j,
1293
1293
  ref: N,
1294
1294
  children: [
1295
1295
  /* @__PURE__ */ t(g, { className: "pkt-tag__icon", name: f }),
1296
- n,
1296
+ a,
1297
1297
  /* @__PURE__ */ t(g, { className: "pkt-tag__close-btn", name: "close" })
1298
1298
  ]
1299
1299
  }
1300
- ) }) : u ? /* @__PURE__ */ t(J, { children: S && /* @__PURE__ */ o(
1300
+ ) }) : u ? /* @__PURE__ */ t(z, { children: S && /* @__PURE__ */ s(
1301
1301
  "button",
1302
1302
  {
1303
- className: L,
1304
- type: i,
1303
+ className: B,
1304
+ type: o,
1305
1305
  "aria-label": d,
1306
- onClick: C,
1306
+ onClick: j,
1307
1307
  ref: N,
1308
1308
  children: [
1309
1309
  /* @__PURE__ */ t(g, { className: "pkt-tag__close-btn", name: "close" }),
1310
- n
1310
+ a
1311
1311
  ]
1312
1312
  }
1313
- ) }) : f ? /* @__PURE__ */ o("span", { className: $, children: [
1313
+ ) }) : f ? /* @__PURE__ */ s("span", { className: $, children: [
1314
1314
  /* @__PURE__ */ t(g, { className: "pkt-tag__icon", name: f }),
1315
- n
1316
- ] }) : /* @__PURE__ */ t("span", { className: $, children: n });
1315
+ a
1316
+ ] }) : /* @__PURE__ */ t("span", { className: $, children: a });
1317
1317
  });
1318
- jt.displayName = "PktTag";
1319
- const Bt = V(
1318
+ St.displayName = "PktTag";
1319
+ const Yt = H(
1320
1320
  ({
1321
- id: n,
1321
+ id: a,
1322
1322
  ariaDescribedby: p,
1323
1323
  ariaLabelledby: c,
1324
- counter: s,
1324
+ counter: i,
1325
1325
  counterMaxLength: l,
1326
1326
  className: u,
1327
1327
  disabled: f,
1328
- errorMessage: i,
1328
+ errorMessage: o,
1329
1329
  hasError: d,
1330
1330
  helptext: x,
1331
1331
  helptextDropdown: N,
1332
1332
  helptextDropdownButton: v,
1333
1333
  inline: T,
1334
- label: C,
1334
+ label: j,
1335
1335
  name: $,
1336
- optional: L,
1336
+ optional: B,
1337
1337
  placeholder: S,
1338
- required: R,
1338
+ required: P,
1339
1339
  rows: y,
1340
- useWrapper: D,
1341
- value: j,
1342
- ...H
1343
- }, A) => {
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(
1340
+ useWrapper: L,
1341
+ onChange: D,
1342
+ ...G
1343
+ }, I) => {
1344
+ const Y = [u, "pkt-textinput", "pkt-textarea"].join(" "), O = c || `${a}-label`, A = gt(null), [M, J] = re(0), k = (E) => {
1345
+ var W, K;
1346
+ if (i && J(((K = (W = E.currentTarget) == null ? void 0 : W.value) == null ? void 0 : K.length) || 0), D)
1347
+ return D(E);
1348
+ };
1349
+ return Ge(() => {
1350
+ var E, W;
1351
+ typeof I == "function" && I(A.current), i && J(((W = (E = A == null ? void 0 : A.current) == null ? void 0 : E.value) == null ? void 0 : W.length) || 0);
1352
+ }, [I]), /* @__PURE__ */ s(
1346
1353
  ge,
1347
1354
  {
1348
1355
  ariaDescribedby: p,
1349
- className: M,
1356
+ className: Y,
1350
1357
  disabled: f,
1351
- errorMessage: i,
1352
- forId: n,
1358
+ errorMessage: o,
1359
+ forId: a,
1353
1360
  hasError: d,
1354
1361
  helptext: x,
1355
1362
  helptextDropdown: N,
1356
1363
  helptextDropdownButton: v,
1357
1364
  inline: T,
1358
- label: C,
1359
- optional: L,
1360
- required: R,
1361
- useWrapper: D,
1365
+ label: j,
1366
+ optional: B,
1367
+ required: P,
1368
+ useWrapper: L,
1362
1369
  children: [
1363
1370
  /* @__PURE__ */ t(
1364
1371
  "textarea",
1365
1372
  {
1366
1373
  ref: A,
1367
- className: `pkt-textinput__input ${l && B > l ? "pkt-textinput__input--counter-error" : ""}`,
1368
- name: $ || n,
1369
- id: n,
1374
+ className: `pkt-textinput__input ${l && M > l ? "pkt-textinput__input--counter-error" : ""}`,
1375
+ name: $ || a,
1376
+ id: a,
1370
1377
  placeholder: S,
1371
- value: j,
1372
1378
  disabled: f,
1373
1379
  rows: y,
1374
1380
  "aria-labelledby": O,
1375
1381
  "aria-invalid": d,
1376
- "aria-required": R,
1377
- ...H
1382
+ "aria-required": P,
1383
+ ...G,
1384
+ onChange: k
1378
1385
  }
1379
1386
  ),
1380
- s && /* @__PURE__ */ o("div", { className: "pkt-textinput__counter", "aria-live": "polite", "aria-atomic": !0, children: [
1381
- (j == null ? void 0 : j.length) || 0,
1387
+ i && /* @__PURE__ */ s("div", { className: "pkt-textinput__counter", "aria-live": "polite", "aria-atomic": !0, children: [
1388
+ M || 0,
1382
1389
  l && `/${l}`
1383
1390
  ] })
1384
1391
  ]
1385
1392
  }
1386
1393
  );
1387
1394
  }
1388
- ), Yt = V(
1395
+ ), Ut = H(
1389
1396
  ({
1390
- id: n,
1397
+ id: a,
1391
1398
  ariaDescribedby: p,
1392
1399
  ariaLabelledby: c,
1393
- autocomplete: s = "off",
1400
+ autocomplete: i = "off",
1394
1401
  className: l,
1395
1402
  disabled: u = !1,
1396
1403
  errorMessage: f,
1397
- hasError: i = !1,
1404
+ hasError: o = !1,
1398
1405
  helptext: d,
1399
1406
  helptextDropdown: x,
1400
1407
  helptextDropdownButton: N,
1401
1408
  iconNameRight: v,
1402
1409
  inline: T = !1,
1403
- label: C,
1410
+ label: j,
1404
1411
  name: $,
1405
- optional: L = !1,
1412
+ optional: B = !1,
1406
1413
  placeholder: S,
1407
- prefix: R,
1414
+ prefix: P,
1408
1415
  required: y = !1,
1409
- suffix: D,
1410
- type: j = "text",
1411
- useWrapper: H = !0,
1412
- value: A,
1413
- ...M
1416
+ suffix: L,
1417
+ type: D = "text",
1418
+ useWrapper: G = !0,
1419
+ value: I,
1420
+ ...Y
1414
1421
  }, O) => {
1415
- const B = [l, "pkt-textinput"].join(" "), Y = c || `${n}-label`;
1416
- return /* @__PURE__ */ o(
1422
+ const A = [l, "pkt-textinput"].join(" "), M = c || `${a}-label`;
1423
+ return /* @__PURE__ */ s(
1417
1424
  ge,
1418
1425
  {
1419
1426
  ariaDescribedby: p,
1420
- className: B,
1427
+ className: A,
1421
1428
  disabled: u,
1422
1429
  errorMessage: f,
1423
- forId: n,
1424
- hasError: i,
1430
+ forId: a,
1431
+ hasError: o,
1425
1432
  helptext: d,
1426
1433
  helptextDropdown: x,
1427
1434
  helptextDropdownButton: N,
1428
1435
  inline: T,
1429
- label: C,
1430
- optional: L,
1436
+ label: j,
1437
+ optional: B,
1431
1438
  required: y,
1432
- useWrapper: H,
1439
+ useWrapper: G,
1433
1440
  children: [
1434
- R && /* @__PURE__ */ o("div", { className: "pkt-textinput__input-prefix-wrapper", children: [
1435
- /* @__PURE__ */ t("div", { className: "pkt-textinput__input-prefix", children: R }),
1441
+ P && /* @__PURE__ */ s("div", { className: "pkt-textinput__input-prefix-wrapper", children: [
1442
+ /* @__PURE__ */ t("div", { className: "pkt-textinput__input-prefix", children: P }),
1436
1443
  /* @__PURE__ */ t(
1437
1444
  "input",
1438
1445
  {
1439
1446
  ref: O,
1440
1447
  className: "pkt-textinput__input",
1441
- type: j,
1442
- name: $ || n,
1443
- id: n,
1448
+ type: D,
1449
+ name: $ || a,
1450
+ id: a,
1444
1451
  placeholder: S,
1445
- autoComplete: s,
1446
- value: A,
1452
+ autoComplete: i,
1453
+ value: I,
1447
1454
  disabled: u,
1448
1455
  "aria-required": y,
1449
- "aria-invalid": i,
1450
- "aria-labelledby": Y,
1451
- ...M
1456
+ "aria-invalid": o,
1457
+ "aria-labelledby": M,
1458
+ ...Y
1452
1459
  }
1453
1460
  )
1454
1461
  ] }),
1455
- !R && (D || v) && /* @__PURE__ */ o("div", { className: "pkt-textinput__input-suffix-wrapper", children: [
1462
+ !P && (L || v) && /* @__PURE__ */ s("div", { className: "pkt-textinput__input-suffix-wrapper", children: [
1456
1463
  /* @__PURE__ */ t(
1457
1464
  "input",
1458
1465
  {
1459
1466
  ref: O,
1460
1467
  className: "pkt-textinput__input",
1461
- type: j,
1462
- name: $ || n,
1463
- id: n,
1468
+ type: D,
1469
+ name: $ || a,
1470
+ id: a,
1464
1471
  placeholder: S,
1465
- autoComplete: s,
1466
- value: A,
1472
+ autoComplete: i,
1473
+ value: I,
1467
1474
  disabled: u,
1468
1475
  "aria-required": y,
1469
- "aria-invalid": i,
1470
- "aria-labelledby": Y,
1471
- ...M
1476
+ "aria-invalid": o,
1477
+ "aria-labelledby": M,
1478
+ ...Y
1472
1479
  }
1473
1480
  ),
1474
- D && /* @__PURE__ */ o("p", { className: "pkt-textinput__input-suffix", children: [
1475
- D,
1481
+ L && /* @__PURE__ */ s("p", { className: "pkt-textinput__input-suffix", children: [
1482
+ L,
1476
1483
  v && /* @__PURE__ */ t(g, { className: "pkt-textinput__input-suffix-icon", name: v })
1477
1484
  ] }),
1478
- !D && v && /* @__PURE__ */ t(g, { className: "pkt-textinput__input-icon", name: v })
1485
+ !L && v && /* @__PURE__ */ t(g, { className: "pkt-textinput__input-icon", name: v })
1479
1486
  ] }),
1480
- !R && !D && !v && /* @__PURE__ */ t(
1487
+ !P && !L && !v && /* @__PURE__ */ t(
1481
1488
  "input",
1482
1489
  {
1483
1490
  ref: O,
1484
1491
  className: "pkt-textinput__input",
1485
- type: j,
1486
- name: $ || n,
1487
- id: n,
1492
+ type: D,
1493
+ name: $ || a,
1494
+ id: a,
1488
1495
  placeholder: S,
1489
- autoComplete: s,
1490
- value: A,
1496
+ autoComplete: i,
1497
+ value: I,
1491
1498
  disabled: u,
1492
1499
  "aria-required": y,
1493
- "aria-invalid": i,
1494
- "aria-labelledby": Y,
1495
- ...M
1500
+ "aria-invalid": o,
1501
+ "aria-labelledby": M,
1502
+ ...Y
1496
1503
  }
1497
1504
  )
1498
1505
  ]
@@ -1502,22 +1509,22 @@ const Bt = V(
1502
1509
  );
1503
1510
  export {
1504
1511
  He as PktAlert,
1505
- Ot as PktBackLink,
1506
- oe as PktButton,
1507
- $t as PktFooter,
1508
- It as PktFooterSimple,
1509
- Ft as PktHeader,
1512
+ $t as PktBackLink,
1513
+ se as PktButton,
1514
+ It as PktFooter,
1515
+ Ft as PktFooterSimple,
1516
+ Dt as PktHeader,
1510
1517
  g as PktIcon,
1511
- Rt as PktInput,
1518
+ Pt as PktInput,
1512
1519
  ge as PktInputWrapper,
1513
- Pt as PktLinkCard,
1514
- Dt as PktMessagebox,
1520
+ Ct as PktLinkCard,
1521
+ At as PktMessagebox,
1515
1522
  Tt as PktRadio,
1516
- At as PktRadioGroup,
1517
- Lt as PktTable,
1518
- Mt as PktTableData,
1519
- Wt as PktTableHeader,
1520
- jt as PktTag,
1521
- Bt as PktTextarea,
1522
- Yt as PktTextinput
1523
+ Lt as PktRadioGroup,
1524
+ Mt as PktTable,
1525
+ Wt as PktTableData,
1526
+ Bt as PktTableHeader,
1527
+ St as PktTag,
1528
+ Yt as PktTextarea,
1529
+ Ut as PktTextinput
1523
1530
  };