@oslokommune/punkt-react 9.4.1 → 9.5.1

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,9 +1,9 @@
1
- import * as b from "react";
2
- import q, { createContext as on, useState as ue, useContext as sn, useEffect as yt, forwardRef as B, useRef as cn } from "react";
1
+ import * as N from "react";
2
+ import G, { createContext as on, useState as pe, useContext as sn, useEffect as yt, forwardRef as B, useRef as cn } from "react";
3
3
  function un(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
- var Ue = { exports: {} }, se = {};
6
+ var Ae = { exports: {} }, se = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -18,16 +18,16 @@ function pn() {
18
18
  if (kt)
19
19
  return se;
20
20
  kt = 1;
21
- var e = q, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ var e = G, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
22
22
  function s(f, p, c) {
23
- var m, v = {}, E = null, C = null;
24
- c !== void 0 && (E = "" + c), p.key !== void 0 && (E = "" + p.key), p.ref !== void 0 && (C = p.ref);
23
+ var m, k = {}, y = null, C = null;
24
+ c !== void 0 && (y = "" + c), p.key !== void 0 && (y = "" + p.key), p.ref !== void 0 && (C = p.ref);
25
25
  for (m in p)
26
- o.call(p, m) && !i.hasOwnProperty(m) && (v[m] = p[m]);
26
+ o.call(p, m) && !i.hasOwnProperty(m) && (k[m] = p[m]);
27
27
  if (f && f.defaultProps)
28
28
  for (m in p = f.defaultProps, p)
29
- v[m] === void 0 && (v[m] = p[m]);
30
- return { $$typeof: n, type: f, key: E, ref: C, props: v, _owner: a.current };
29
+ k[m] === void 0 && (k[m] = p[m]);
30
+ return { $$typeof: n, type: f, key: y, ref: C, props: k, _owner: a.current };
31
31
  }
32
32
  return se.Fragment = r, se.jsx = s, se.jsxs = s, se;
33
33
  }
@@ -44,51 +44,51 @@ var ce = {};
44
44
  var vt;
45
45
  function fn() {
46
46
  return vt || (vt = 1, process.env.NODE_ENV !== "production" && function() {
47
- var e = q, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), f = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), S = Symbol.iterator, P = "@@iterator";
48
- function T(t) {
47
+ var e = G, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), f = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), S = Symbol.iterator, P = "@@iterator";
48
+ function j(t) {
49
49
  if (t === null || typeof t != "object")
50
50
  return null;
51
51
  var u = S && t[S] || t[P];
52
52
  return typeof u == "function" ? u : null;
53
53
  }
54
- var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
54
+ var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function g(t) {
56
56
  {
57
- for (var u = arguments.length, d = new Array(u > 1 ? u - 1 : 0), k = 1; k < u; k++)
58
- d[k - 1] = arguments[k];
59
- j("error", t, d);
57
+ for (var u = arguments.length, d = new Array(u > 1 ? u - 1 : 0), v = 1; v < u; v++)
58
+ d[v - 1] = arguments[v];
59
+ b("error", t, d);
60
60
  }
61
61
  }
62
- function j(t, u, d) {
62
+ function b(t, u, d) {
63
63
  {
64
- var k = x.ReactDebugCurrentFrame, R = k.getStackAddendum();
65
- R !== "" && (u += "%s", d = d.concat([R]));
66
- var O = d.map(function(w) {
67
- return String(w);
64
+ var v = w.ReactDebugCurrentFrame, O = v.getStackAddendum();
65
+ O !== "" && (u += "%s", d = d.concat([O]));
66
+ var T = d.map(function(R) {
67
+ return String(R);
68
68
  });
69
- O.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, O);
69
+ T.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, T);
70
70
  }
71
71
  }
72
- var F = !1, A = !1, U = !1, M = !1, H = !1, Y;
73
- Y = Symbol.for("react.module.reference");
74
- function G(t) {
75
- return !!(typeof t == "string" || typeof t == "function" || t === o || t === i || H || t === a || t === c || t === m || M || t === C || F || A || U || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === v || t.$$typeof === s || t.$$typeof === f || t.$$typeof === p || // This needs to include all possible module reference object
72
+ var $ = !1, U = !1, A = !1, M = !1, H = !1, K;
73
+ K = Symbol.for("react.module.reference");
74
+ function q(t) {
75
+ return !!(typeof t == "string" || typeof t == "function" || t === o || t === i || H || t === a || t === c || t === m || M || t === C || $ || U || A || typeof t == "object" && t !== null && (t.$$typeof === y || t.$$typeof === k || t.$$typeof === s || t.$$typeof === f || t.$$typeof === p || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
- t.$$typeof === Y || t.getModuleId !== void 0));
79
+ t.$$typeof === K || t.getModuleId !== void 0));
80
80
  }
81
- function W(t, u, d) {
82
- var k = t.displayName;
83
- if (k)
84
- return k;
85
- var R = u.displayName || u.name || "";
86
- return R !== "" ? d + "(" + R + ")" : d;
81
+ function Y(t, u, d) {
82
+ var v = t.displayName;
83
+ if (v)
84
+ return v;
85
+ var O = u.displayName || u.name || "";
86
+ return O !== "" ? d + "(" + O + ")" : d;
87
87
  }
88
88
  function _(t) {
89
89
  return t.displayName || "Context";
90
90
  }
91
- function $(t) {
91
+ function D(t) {
92
92
  if (t == null)
93
93
  return null;
94
94
  if (typeof t.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
@@ -118,14 +118,14 @@ function fn() {
118
118
  var d = t;
119
119
  return _(d._context) + ".Provider";
120
120
  case p:
121
- return W(t, t.render, "ForwardRef");
122
- case v:
123
- var k = t.displayName || null;
124
- return k !== null ? k : $(t.type) || "Memo";
125
- case E: {
126
- var R = t, O = R._payload, w = R._init;
121
+ return Y(t, t.render, "ForwardRef");
122
+ case k:
123
+ var v = t.displayName || null;
124
+ return v !== null ? v : D(t.type) || "Memo";
125
+ case y: {
126
+ var O = t, T = O._payload, R = O._init;
127
127
  try {
128
- return $(w(O));
128
+ return D(R(T));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -133,14 +133,14 @@ function fn() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var J = Object.assign, K = 0, Z, Q, oe, Xe, Ze, Qe, et;
136
+ var V = Object.assign, J = 0, Q, ee, oe, Xe, Ze, Qe, et;
137
137
  function tt() {
138
138
  }
139
139
  tt.__reactDisabledLog = !0;
140
- function Lt() {
140
+ function It() {
141
141
  {
142
- if (K === 0) {
143
- Z = console.log, Q = console.info, oe = console.warn, Xe = console.error, Ze = console.group, Qe = console.groupCollapsed, et = console.groupEnd;
142
+ if (J === 0) {
143
+ Q = console.log, ee = console.info, oe = console.warn, Xe = console.error, Ze = console.group, Qe = console.groupCollapsed, et = console.groupEnd;
144
144
  var t = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -157,200 +157,200 @@ function fn() {
157
157
  groupEnd: t
158
158
  });
159
159
  }
160
- K++;
160
+ J++;
161
161
  }
162
162
  }
163
- function It() {
163
+ function Lt() {
164
164
  {
165
- if (K--, K === 0) {
165
+ if (J--, J === 0) {
166
166
  var t = {
167
167
  configurable: !0,
168
168
  enumerable: !0,
169
169
  writable: !0
170
170
  };
171
171
  Object.defineProperties(console, {
172
- log: J({}, t, {
173
- value: Z
174
- }),
175
- info: J({}, t, {
172
+ log: V({}, t, {
176
173
  value: Q
177
174
  }),
178
- warn: J({}, t, {
175
+ info: V({}, t, {
176
+ value: ee
177
+ }),
178
+ warn: V({}, t, {
179
179
  value: oe
180
180
  }),
181
- error: J({}, t, {
181
+ error: V({}, t, {
182
182
  value: Xe
183
183
  }),
184
- group: J({}, t, {
184
+ group: V({}, t, {
185
185
  value: Ze
186
186
  }),
187
- groupCollapsed: J({}, t, {
187
+ groupCollapsed: V({}, t, {
188
188
  value: Qe
189
189
  }),
190
- groupEnd: J({}, t, {
190
+ groupEnd: V({}, t, {
191
191
  value: et
192
192
  })
193
193
  });
194
194
  }
195
- K < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
+ J < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var Pe = x.ReactCurrentDispatcher, Se;
199
- function fe(t, u, d) {
198
+ var Pe = w.ReactCurrentDispatcher, Se;
199
+ function de(t, u, d) {
200
200
  {
201
201
  if (Se === void 0)
202
202
  try {
203
203
  throw Error();
204
- } catch (R) {
205
- var k = R.stack.trim().match(/\n( *(at )?)/);
206
- Se = k && k[1] || "";
204
+ } catch (O) {
205
+ var v = O.stack.trim().match(/\n( *(at )?)/);
206
+ Se = v && v[1] || "";
207
207
  }
208
208
  return `
209
209
  ` + Se + t;
210
210
  }
211
211
  }
212
- var Oe = !1, de;
212
+ var Oe = !1, me;
213
213
  {
214
214
  var Ft = typeof WeakMap == "function" ? WeakMap : Map;
215
- de = new Ft();
215
+ me = new Ft();
216
216
  }
217
217
  function nt(t, u) {
218
218
  if (!t || Oe)
219
219
  return "";
220
220
  {
221
- var d = de.get(t);
221
+ var d = me.get(t);
222
222
  if (d !== void 0)
223
223
  return d;
224
224
  }
225
- var k;
225
+ var v;
226
226
  Oe = !0;
227
- var R = Error.prepareStackTrace;
227
+ var O = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
- var O;
230
- O = Pe.current, Pe.current = null, Lt();
229
+ var T;
230
+ T = Pe.current, Pe.current = null, It();
231
231
  try {
232
232
  if (u) {
233
- var w = function() {
233
+ var R = function() {
234
234
  throw Error();
235
235
  };
236
- if (Object.defineProperty(w.prototype, "props", {
236
+ if (Object.defineProperty(R.prototype, "props", {
237
237
  set: function() {
238
238
  throw Error();
239
239
  }
240
240
  }), typeof Reflect == "object" && Reflect.construct) {
241
241
  try {
242
- Reflect.construct(w, []);
243
- } catch (X) {
244
- k = X;
242
+ Reflect.construct(R, []);
243
+ } catch (Z) {
244
+ v = Z;
245
245
  }
246
- Reflect.construct(t, [], w);
246
+ Reflect.construct(t, [], R);
247
247
  } else {
248
248
  try {
249
- w.call();
250
- } catch (X) {
251
- k = X;
249
+ R.call();
250
+ } catch (Z) {
251
+ v = Z;
252
252
  }
253
- t.call(w.prototype);
253
+ t.call(R.prototype);
254
254
  }
255
255
  } else {
256
256
  try {
257
257
  throw Error();
258
- } catch (X) {
259
- k = X;
258
+ } catch (Z) {
259
+ v = Z;
260
260
  }
261
261
  t();
262
262
  }
263
- } catch (X) {
264
- if (X && k && typeof X.stack == "string") {
265
- for (var N = X.stack.split(`
266
- `), V = k.stack.split(`
267
- `), D = N.length - 1, L = V.length - 1; D >= 1 && L >= 0 && N[D] !== V[L]; )
263
+ } catch (Z) {
264
+ if (Z && v && typeof Z.stack == "string") {
265
+ for (var x = Z.stack.split(`
266
+ `), W = v.stack.split(`
267
+ `), I = x.length - 1, L = W.length - 1; I >= 1 && L >= 0 && x[I] !== W[L]; )
268
268
  L--;
269
- for (; D >= 1 && L >= 0; D--, L--)
270
- if (N[D] !== V[L]) {
271
- if (D !== 1 || L !== 1)
269
+ for (; I >= 1 && L >= 0; I--, L--)
270
+ if (x[I] !== W[L]) {
271
+ if (I !== 1 || L !== 1)
272
272
  do
273
- if (D--, L--, L < 0 || N[D] !== V[L]) {
273
+ if (I--, L--, L < 0 || x[I] !== W[L]) {
274
274
  var z = `
275
- ` + N[D].replace(" at new ", " at ");
276
- return t.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", t.displayName)), typeof t == "function" && de.set(t, z), z;
275
+ ` + x[I].replace(" at new ", " at ");
276
+ return t.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", t.displayName)), typeof t == "function" && me.set(t, z), z;
277
277
  }
278
- while (D >= 1 && L >= 0);
278
+ while (I >= 1 && L >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- Oe = !1, Pe.current = O, It(), Error.prepareStackTrace = R;
283
+ Oe = !1, Pe.current = T, Lt(), Error.prepareStackTrace = O;
284
284
  }
285
- var ae = t ? t.displayName || t.name : "", ht = ae ? fe(ae) : "";
286
- return typeof t == "function" && de.set(t, ht), ht;
285
+ var ae = t ? t.displayName || t.name : "", ht = ae ? de(ae) : "";
286
+ return typeof t == "function" && me.set(t, ht), ht;
287
287
  }
288
- function At(t, u, d) {
288
+ function Ut(t, u, d) {
289
289
  return nt(t, !1);
290
290
  }
291
- function Ut(t) {
291
+ function At(t) {
292
292
  var u = t.prototype;
293
293
  return !!(u && u.isReactComponent);
294
294
  }
295
- function me(t, u, d) {
295
+ function he(t, u, d) {
296
296
  if (t == null)
297
297
  return "";
298
298
  if (typeof t == "function")
299
- return nt(t, Ut(t));
299
+ return nt(t, At(t));
300
300
  if (typeof t == "string")
301
- return fe(t);
301
+ return de(t);
302
302
  switch (t) {
303
303
  case c:
304
- return fe("Suspense");
304
+ return de("Suspense");
305
305
  case m:
306
- return fe("SuspenseList");
306
+ return de("SuspenseList");
307
307
  }
308
308
  if (typeof t == "object")
309
309
  switch (t.$$typeof) {
310
310
  case p:
311
- return At(t.render);
312
- case v:
313
- return me(t.type, u, d);
314
- case E: {
315
- var k = t, R = k._payload, O = k._init;
311
+ return Ut(t.render);
312
+ case k:
313
+ return he(t.type, u, d);
314
+ case y: {
315
+ var v = t, O = v._payload, T = v._init;
316
316
  try {
317
- return me(O(R), u, d);
317
+ return he(T(O), u, d);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var he = Object.prototype.hasOwnProperty, rt = {}, at = x.ReactDebugCurrentFrame;
325
- function ke(t) {
324
+ var ke = Object.prototype.hasOwnProperty, rt = {}, at = w.ReactDebugCurrentFrame;
325
+ function ve(t) {
326
326
  if (t) {
327
- var u = t._owner, d = me(t.type, t._source, u ? u.type : null);
327
+ var u = t._owner, d = he(t.type, t._source, u ? u.type : null);
328
328
  at.setExtraStackFrame(d);
329
329
  } else
330
330
  at.setExtraStackFrame(null);
331
331
  }
332
- function Vt(t, u, d, k, R) {
332
+ function Wt(t, u, d, v, O) {
333
333
  {
334
- var O = Function.call.bind(he);
335
- for (var w in t)
336
- if (O(t, w)) {
337
- var N = void 0;
334
+ var T = Function.call.bind(ke);
335
+ for (var R in t)
336
+ if (T(t, R)) {
337
+ var x = void 0;
338
338
  try {
339
- if (typeof t[w] != "function") {
340
- var V = Error((k || "React class") + ": " + d + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
- throw V.name = "Invariant Violation", V;
339
+ if (typeof t[R] != "function") {
340
+ var W = Error((v || "React class") + ": " + d + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
+ throw W.name = "Invariant Violation", W;
342
342
  }
343
- N = t[w](u, w, k, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
- } catch (D) {
345
- N = D;
343
+ x = t[R](u, R, v, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
+ } catch (I) {
345
+ x = I;
346
346
  }
347
- N && !(N instanceof Error) && (ke(R), g("%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).", k || "React class", d, w, typeof N), ke(null)), N instanceof Error && !(N.message in rt) && (rt[N.message] = !0, ke(R), g("Failed %s type: %s", d, N.message), ke(null));
347
+ x && !(x instanceof Error) && (ve(O), g("%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).", v || "React class", d, R, typeof x), ve(null)), x instanceof Error && !(x.message in rt) && (rt[x.message] = !0, ve(O), g("Failed %s type: %s", d, x.message), ve(null));
348
348
  }
349
349
  }
350
350
  }
351
- var Wt = Array.isArray;
351
+ var Vt = Array.isArray;
352
352
  function Te(t) {
353
- return Wt(t);
353
+ return Vt(t);
354
354
  }
355
355
  function Bt(t) {
356
356
  {
@@ -372,7 +372,7 @@ function fn() {
372
372
  if (Mt(t))
373
373
  return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Bt(t)), lt(t);
374
374
  }
375
- var ie = x.ReactCurrentOwner, Yt = {
375
+ var ie = w.ReactCurrentOwner, Yt = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
@@ -380,28 +380,28 @@ function fn() {
380
380
  }, it, st, je;
381
381
  je = {};
382
382
  function Jt(t) {
383
- if (he.call(t, "ref")) {
383
+ if (ke.call(t, "ref")) {
384
384
  var u = Object.getOwnPropertyDescriptor(t, "ref").get;
385
385
  if (u && u.isReactWarning)
386
386
  return !1;
387
387
  }
388
388
  return t.ref !== void 0;
389
389
  }
390
- function zt(t) {
391
- if (he.call(t, "key")) {
390
+ function Kt(t) {
391
+ if (ke.call(t, "key")) {
392
392
  var u = Object.getOwnPropertyDescriptor(t, "key").get;
393
393
  if (u && u.isReactWarning)
394
394
  return !1;
395
395
  }
396
396
  return t.key !== void 0;
397
397
  }
398
- function Ht(t, u) {
398
+ function zt(t, u) {
399
399
  if (typeof t.ref == "string" && ie.current && u && ie.current.stateNode !== u) {
400
- var d = $(ie.current.type);
401
- je[d] || (g('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', $(ie.current.type), t.ref), je[d] = !0);
400
+ var d = D(ie.current.type);
401
+ je[d] || (g('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', D(ie.current.type), t.ref), je[d] = !0);
402
402
  }
403
403
  }
404
- function Gt(t, u) {
404
+ function Ht(t, u) {
405
405
  {
406
406
  var d = function() {
407
407
  it || (it = !0, g("%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)", u));
@@ -412,7 +412,7 @@ function fn() {
412
412
  });
413
413
  }
414
414
  }
415
- function Kt(t, u) {
415
+ function Gt(t, u) {
416
416
  {
417
417
  var d = function() {
418
418
  st || (st = !0, g("%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)", u));
@@ -423,70 +423,70 @@ function fn() {
423
423
  });
424
424
  }
425
425
  }
426
- var qt = function(t, u, d, k, R, O, w) {
427
- var N = {
426
+ var qt = function(t, u, d, v, O, T, R) {
427
+ var x = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
429
  $$typeof: n,
430
430
  // Built-in properties that belong on the element
431
431
  type: t,
432
432
  key: u,
433
433
  ref: d,
434
- props: w,
434
+ props: R,
435
435
  // Record the component responsible for creating this element.
436
- _owner: O
436
+ _owner: T
437
437
  };
438
- return N._store = {}, Object.defineProperty(N._store, "validated", {
438
+ return x._store = {}, Object.defineProperty(x._store, "validated", {
439
439
  configurable: !1,
440
440
  enumerable: !1,
441
441
  writable: !0,
442
442
  value: !1
443
- }), Object.defineProperty(N, "_self", {
443
+ }), Object.defineProperty(x, "_self", {
444
444
  configurable: !1,
445
445
  enumerable: !1,
446
446
  writable: !1,
447
- value: k
448
- }), Object.defineProperty(N, "_source", {
447
+ value: v
448
+ }), Object.defineProperty(x, "_source", {
449
449
  configurable: !1,
450
450
  enumerable: !1,
451
451
  writable: !1,
452
- value: R
453
- }), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
452
+ value: O
453
+ }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
454
454
  };
455
- function Xt(t, u, d, k, R) {
455
+ function Xt(t, u, d, v, O) {
456
456
  {
457
- var O, w = {}, N = null, V = null;
458
- d !== void 0 && (ot(d), N = "" + d), zt(u) && (ot(u.key), N = "" + u.key), Jt(u) && (V = u.ref, Ht(u, R));
459
- for (O in u)
460
- he.call(u, O) && !Yt.hasOwnProperty(O) && (w[O] = u[O]);
457
+ var T, R = {}, x = null, W = null;
458
+ d !== void 0 && (ot(d), x = "" + d), Kt(u) && (ot(u.key), x = "" + u.key), Jt(u) && (W = u.ref, zt(u, O));
459
+ for (T in u)
460
+ ke.call(u, T) && !Yt.hasOwnProperty(T) && (R[T] = u[T]);
461
461
  if (t && t.defaultProps) {
462
- var D = t.defaultProps;
463
- for (O in D)
464
- w[O] === void 0 && (w[O] = D[O]);
462
+ var I = t.defaultProps;
463
+ for (T in I)
464
+ R[T] === void 0 && (R[T] = I[T]);
465
465
  }
466
- if (N || V) {
466
+ if (x || W) {
467
467
  var L = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
468
- N && Gt(w, L), V && Kt(w, L);
468
+ x && Ht(R, L), W && Gt(R, L);
469
469
  }
470
- return qt(t, N, V, R, k, ie.current, w);
470
+ return qt(t, x, W, O, v, ie.current, R);
471
471
  }
472
472
  }
473
- var $e = x.ReactCurrentOwner, ct = x.ReactDebugCurrentFrame;
473
+ var $e = w.ReactCurrentOwner, ct = w.ReactDebugCurrentFrame;
474
474
  function re(t) {
475
475
  if (t) {
476
- var u = t._owner, d = me(t.type, t._source, u ? u.type : null);
476
+ var u = t._owner, d = he(t.type, t._source, u ? u.type : null);
477
477
  ct.setExtraStackFrame(d);
478
478
  } else
479
479
  ct.setExtraStackFrame(null);
480
480
  }
481
481
  var De;
482
482
  De = !1;
483
- function Le(t) {
483
+ function Ie(t) {
484
484
  return typeof t == "object" && t !== null && t.$$typeof === n;
485
485
  }
486
486
  function ut() {
487
487
  {
488
488
  if ($e.current) {
489
- var t = $($e.current.type);
489
+ var t = D($e.current.type);
490
490
  if (t)
491
491
  return `
492
492
 
@@ -528,8 +528,8 @@ Check the top-level render call using <` + d + ">.");
528
528
  if (pt[d])
529
529
  return;
530
530
  pt[d] = !0;
531
- var k = "";
532
- t && t._owner && t._owner !== $e.current && (k = " It was passed a child from " + $(t._owner.type) + "."), re(t), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, k), re(null);
531
+ var v = "";
532
+ t && t._owner && t._owner !== $e.current && (v = " It was passed a child from " + D(t._owner.type) + "."), re(t), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, v), re(null);
533
533
  }
534
534
  }
535
535
  function dt(t, u) {
@@ -538,16 +538,16 @@ Check the top-level render call using <` + d + ">.");
538
538
  return;
539
539
  if (Te(t))
540
540
  for (var d = 0; d < t.length; d++) {
541
- var k = t[d];
542
- Le(k) && ft(k, u);
541
+ var v = t[d];
542
+ Ie(v) && ft(v, u);
543
543
  }
544
- else if (Le(t))
544
+ else if (Ie(t))
545
545
  t._store && (t._store.validated = !0);
546
546
  else if (t) {
547
- var R = T(t);
548
- if (typeof R == "function" && R !== t.entries)
549
- for (var O = R.call(t), w; !(w = O.next()).done; )
550
- Le(w.value) && ft(w.value, u);
547
+ var O = j(t);
548
+ if (typeof O == "function" && O !== t.entries)
549
+ for (var T = O.call(t), R; !(R = T.next()).done; )
550
+ Ie(R.value) && ft(R.value, u);
551
551
  }
552
552
  }
553
553
  }
@@ -561,17 +561,17 @@ Check the top-level render call using <` + d + ">.");
561
561
  d = u.propTypes;
562
562
  else if (typeof u == "object" && (u.$$typeof === p || // Note: Memo only checks outer props here.
563
563
  // Inner props are checked in the reconciler.
564
- u.$$typeof === v))
564
+ u.$$typeof === k))
565
565
  d = u.propTypes;
566
566
  else
567
567
  return;
568
568
  if (d) {
569
- var k = $(u);
570
- Vt(d, t.props, "prop", k, t);
569
+ var v = D(u);
570
+ Wt(d, t.props, "prop", v, t);
571
571
  } else if (u.PropTypes !== void 0 && !De) {
572
572
  De = !0;
573
- var R = $(u);
574
- g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
573
+ var O = D(u);
574
+ g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", O || "Unknown");
575
575
  }
576
576
  typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
577
577
  }
@@ -579,33 +579,33 @@ Check the top-level render call using <` + d + ">.");
579
579
  function tn(t) {
580
580
  {
581
581
  for (var u = Object.keys(t.props), d = 0; d < u.length; d++) {
582
- var k = u[d];
583
- if (k !== "children" && k !== "key") {
584
- re(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), re(null);
582
+ var v = u[d];
583
+ if (v !== "children" && v !== "key") {
584
+ re(t), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), re(null);
585
585
  break;
586
586
  }
587
587
  }
588
588
  t.ref !== null && (re(t), g("Invalid attribute `ref` supplied to `React.Fragment`."), re(null));
589
589
  }
590
590
  }
591
- function mt(t, u, d, k, R, O) {
591
+ function mt(t, u, d, v, O, T) {
592
592
  {
593
- var w = G(t);
594
- if (!w) {
595
- var N = "";
596
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
597
- var V = Zt(R);
598
- V ? N += V : N += ut();
599
- var D;
600
- t === null ? D = "null" : Te(t) ? D = "array" : t !== void 0 && t.$$typeof === n ? (D = "<" + ($(t.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, N);
593
+ var R = q(t);
594
+ if (!R) {
595
+ var x = "";
596
+ (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
597
+ var W = Zt(O);
598
+ W ? x += W : x += ut();
599
+ var I;
600
+ t === null ? I = "null" : Te(t) ? I = "array" : t !== void 0 && t.$$typeof === n ? (I = "<" + (D(t.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : I = typeof t, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, x);
601
601
  }
602
- var L = Xt(t, u, d, R, O);
602
+ var L = Xt(t, u, d, O, T);
603
603
  if (L == null)
604
604
  return L;
605
- if (w) {
605
+ if (R) {
606
606
  var z = u.children;
607
607
  if (z !== void 0)
608
- if (k)
608
+ if (v)
609
609
  if (Te(z)) {
610
610
  for (var ae = 0; ae < z.length; ae++)
611
611
  dt(z[ae], t);
@@ -628,12 +628,12 @@ Check the top-level render call using <` + d + ">.");
628
628
  ce.Fragment = o, ce.jsx = an, ce.jsxs = ln;
629
629
  }()), ce;
630
630
  }
631
- process.env.NODE_ENV === "production" ? Ue.exports = pn() : Ue.exports = fn();
632
- var ze = Ue.exports;
633
- const ee = ze.Fragment, l = ze.jsx, h = ze.jsxs, Ie = {}, dn = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', mn = "https://punkt-cdn.oslo.kommune.no/9.4/icons/", hn = (e, n) => (!Ie[e] && typeof window.fetch == "function" && (Ie[e] = window.fetch(n + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + n + e + ".svg"), dn)).then((r) => r)), Promise.resolve(Ie[e])), kn = {
631
+ process.env.NODE_ENV === "production" ? Ae.exports = pn() : Ae.exports = fn();
632
+ var Ke = Ae.exports;
633
+ const X = Ke.Fragment, l = Ke.jsx, h = Ke.jsxs, Le = {}, dn = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"></svg>', mn = "https://punkt-cdn.oslo.kommune.no/9.5/icons/", hn = (e, n) => (!Le[e] && typeof window.fetch == "function" && (Le[e] = window.fetch(n + e + ".svg").then((r) => r.ok ? r.text() : (console.error("Missing icon: " + n + e + ".svg"), dn)).then((r) => r)), Promise.resolve(Le[e])), kn = {
634
634
  fetchIcon: async (e, n) => hn(e, n || mn)
635
- }, vn = on(kn), y = ({ name: e, path: n, className: r = "", ...o }) => {
636
- const [a, i] = ue(null), s = sn(vn);
635
+ }, vn = on(kn), E = ({ name: e, path: n, className: r = "", ...o }) => {
636
+ const [a, i] = pe(null), s = sn(vn);
637
637
  return yt(() => {
638
638
  e ? s.fetchIcon(e, n).then(i) : i(null);
639
639
  }, [e, n]), a ? /* @__PURE__ */ l(
@@ -657,17 +657,17 @@ const ee = ze.Fragment, l = ze.jsx, h = ze.jsxs, Ie = {}, dn = '<svg xmlns="http
657
657
  slim: p = !1,
658
658
  ...c
659
659
  }, m) => {
660
- const v = [
660
+ const k = [
661
661
  n,
662
662
  "pkt-alert",
663
663
  r && `pkt-alert--${r}`,
664
664
  p && "pkt-alert--slim"
665
- ].filter(Boolean).join(" "), [E, C] = ue(!0), S = () => {
665
+ ].filter(Boolean).join(" "), [y, C] = pe(!0), S = () => {
666
666
  C(!1), a && a();
667
667
  };
668
- return E ? /* @__PURE__ */ h("div", { ...c, className: v, "aria-live": f, ref: m, children: [
668
+ return y ? /* @__PURE__ */ h("div", { ...c, className: k, "aria-live": f, ref: m, children: [
669
669
  /* @__PURE__ */ l(
670
- y,
670
+ E,
671
671
  {
672
672
  className: "pkt-alert__icon",
673
673
  name: r === "info" ? "alert-information" : `alert-${r}`
@@ -681,7 +681,7 @@ const ee = ze.Fragment, l = ze.jsx, h = ze.jsxs, Ie = {}, dn = '<svg xmlns="http
681
681
  tabIndex: 0,
682
682
  "aria-label": "close",
683
683
  onClick: S,
684
- children: /* @__PURE__ */ l(y, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
684
+ children: /* @__PURE__ */ l(E, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
685
685
  }
686
686
  ) }),
687
687
  i && /* @__PURE__ */ l("div", { className: "pkt-alert__title", children: i }),
@@ -701,7 +701,7 @@ const ee = ze.Fragment, l = ze.jsx, h = ze.jsxs, Ie = {}, dn = '<svg xmlns="http
701
701
  return /* @__PURE__ */ l("nav", { ref: i, className: s, "aria-label": "Gå tilbake et steg", children: /* @__PURE__ */ h("a", { href: e || "/", className: "pkt-link pkt-link--icon-left", onClick: () => {
702
702
  r && r();
703
703
  }, ...a, children: [
704
- /* @__PURE__ */ l(y, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
704
+ /* @__PURE__ */ l(E, { className: "pkt-back-link__icon pkt-icon pkt-link__icon", name: "chevron-thin-left", "aria-hidden": "true" }),
705
705
  /* @__PURE__ */ l("span", { className: "pkt-back-link__text", children: n || "Forsiden" })
706
706
  ] }) });
707
707
  }
@@ -716,21 +716,21 @@ const ee = ze.Fragment, l = ze.jsx, h = ze.jsxs, Ie = {}, dn = '<svg xmlns="http
716
716
  *
717
717
  * @license MIT
718
718
  */
719
- function Ve() {
720
- return Ve = Object.assign ? Object.assign.bind() : function(e) {
719
+ function We() {
720
+ return We = Object.assign ? Object.assign.bind() : function(e) {
721
721
  for (var n = 1; n < arguments.length; n++) {
722
722
  var r = arguments[n];
723
723
  for (var o in r)
724
724
  Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
725
725
  }
726
726
  return e;
727
- }, Ve.apply(this, arguments);
727
+ }, We.apply(this, arguments);
728
728
  }
729
729
  var _t;
730
730
  (function(e) {
731
731
  e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
732
732
  })(_t || (_t = {}));
733
- function I(e, n) {
733
+ function F(e, n) {
734
734
  if (e === !1 || e === null || typeof e > "u")
735
735
  throw new Error(n);
736
736
  }
@@ -743,7 +743,7 @@ function Ee(e, n) {
743
743
  }
744
744
  }
745
745
  }
746
- function We(e) {
746
+ function Ve(e) {
747
747
  let {
748
748
  pathname: n = "/",
749
749
  search: r = "",
@@ -801,24 +801,24 @@ function xt(e) {
801
801
  function wt(e, n, r, o) {
802
802
  o === void 0 && (o = !1);
803
803
  let a;
804
- typeof e == "string" ? a = Et(e) : (a = Ve({}, e), I(!a.pathname || !a.pathname.includes("?"), Fe("?", "pathname", "search", a)), I(!a.pathname || !a.pathname.includes("#"), Fe("#", "pathname", "hash", a)), I(!a.search || !a.search.includes("#"), Fe("#", "search", "hash", a)));
804
+ typeof e == "string" ? a = Et(e) : (a = We({}, e), F(!a.pathname || !a.pathname.includes("?"), Fe("?", "pathname", "search", a)), F(!a.pathname || !a.pathname.includes("#"), Fe("#", "pathname", "hash", a)), F(!a.search || !a.search.includes("#"), Fe("#", "search", "hash", a)));
805
805
  let i = e === "" || a.pathname === "", s = i ? "/" : a.pathname, f;
806
806
  if (o || s == null)
807
807
  f = r;
808
808
  else {
809
- let v = n.length - 1;
809
+ let k = n.length - 1;
810
810
  if (s.startsWith("..")) {
811
- let E = s.split("/");
812
- for (; E[0] === ".."; )
813
- E.shift(), v -= 1;
814
- a.pathname = E.join("/");
811
+ let y = s.split("/");
812
+ for (; y[0] === ".."; )
813
+ y.shift(), k -= 1;
814
+ a.pathname = y.join("/");
815
815
  }
816
- f = v >= 0 ? n[v] : "/";
816
+ f = k >= 0 ? n[k] : "/";
817
817
  }
818
818
  let p = bn(a, f), c = s && s !== "/" && s.endsWith("/"), m = (i || s === ".") && r.endsWith("/");
819
819
  return !p.pathname.endsWith("/") && (c || m) && (p.pathname += "/"), p;
820
820
  }
821
- const He = (e) => e.join("/").replace(/\/\/+/g, "/"), Nn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, yn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ct = ["post", "put", "patch", "delete"];
821
+ const ze = (e) => e.join("/").replace(/\/\/+/g, "/"), Nn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, yn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, Ct = ["post", "put", "patch", "delete"];
822
822
  new Set(Ct);
823
823
  const En = ["get", ...Ct];
824
824
  new Set(En);
@@ -842,89 +842,89 @@ function Me() {
842
842
  return e;
843
843
  }, Me.apply(this, arguments);
844
844
  }
845
- const xe = /* @__PURE__ */ b.createContext(null);
845
+ const xe = /* @__PURE__ */ N.createContext(null);
846
846
  process.env.NODE_ENV !== "production" && (xe.displayName = "DataRouter");
847
- const Rt = /* @__PURE__ */ b.createContext(null);
847
+ const Rt = /* @__PURE__ */ N.createContext(null);
848
848
  process.env.NODE_ENV !== "production" && (Rt.displayName = "DataRouterState");
849
- const xn = /* @__PURE__ */ b.createContext(null);
849
+ const xn = /* @__PURE__ */ N.createContext(null);
850
850
  process.env.NODE_ENV !== "production" && (xn.displayName = "Await");
851
- const te = /* @__PURE__ */ b.createContext(null);
851
+ const te = /* @__PURE__ */ N.createContext(null);
852
852
  process.env.NODE_ENV !== "production" && (te.displayName = "Navigation");
853
- const Ge = /* @__PURE__ */ b.createContext(null);
854
- process.env.NODE_ENV !== "production" && (Ge.displayName = "Location");
855
- const le = /* @__PURE__ */ b.createContext({
853
+ const He = /* @__PURE__ */ N.createContext(null);
854
+ process.env.NODE_ENV !== "production" && (He.displayName = "Location");
855
+ const le = /* @__PURE__ */ N.createContext({
856
856
  outlet: null,
857
857
  matches: [],
858
858
  isDataRoute: !1
859
859
  });
860
860
  process.env.NODE_ENV !== "production" && (le.displayName = "Route");
861
- const wn = /* @__PURE__ */ b.createContext(null);
861
+ const wn = /* @__PURE__ */ N.createContext(null);
862
862
  process.env.NODE_ENV !== "production" && (wn.displayName = "RouteError");
863
863
  function Cn(e, n) {
864
864
  let {
865
865
  relative: r
866
866
  } = n === void 0 ? {} : n;
867
- Ke() || (process.env.NODE_ENV !== "production" ? I(
867
+ Ge() || (process.env.NODE_ENV !== "production" ? F(
868
868
  !1,
869
869
  // TODO: This error is probably because they somehow have 2 versions of the
870
870
  // router loaded. We can help them understand how to avoid that.
871
871
  "useHref() may be used only in the context of a <Router> component."
872
- ) : I(!1));
872
+ ) : F(!1));
873
873
  let {
874
874
  basename: o,
875
875
  navigator: a
876
- } = b.useContext(te), {
876
+ } = N.useContext(te), {
877
877
  hash: i,
878
878
  pathname: s,
879
879
  search: f
880
880
  } = we(e, {
881
881
  relative: r
882
882
  }), p = s;
883
- return o !== "/" && (p = s === "/" ? o : He([o, s])), a.createHref({
883
+ return o !== "/" && (p = s === "/" ? o : ze([o, s])), a.createHref({
884
884
  pathname: p,
885
885
  search: f,
886
886
  hash: i
887
887
  });
888
888
  }
889
- function Ke() {
890
- return b.useContext(Ge) != null;
889
+ function Ge() {
890
+ return N.useContext(He) != null;
891
891
  }
892
- function pe() {
893
- return Ke() || (process.env.NODE_ENV !== "production" ? I(
892
+ function fe() {
893
+ return Ge() || (process.env.NODE_ENV !== "production" ? F(
894
894
  !1,
895
895
  // TODO: This error is probably because they somehow have 2 versions of the
896
896
  // router loaded. We can help them understand how to avoid that.
897
897
  "useLocation() may be used only in the context of a <Router> component."
898
- ) : I(!1)), b.useContext(Ge).location;
898
+ ) : F(!1)), N.useContext(He).location;
899
899
  }
900
900
  const Pt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
901
901
  function St(e) {
902
- b.useContext(te).static || b.useLayoutEffect(e);
902
+ N.useContext(te).static || N.useLayoutEffect(e);
903
903
  }
904
904
  function Rn() {
905
905
  let {
906
906
  isDataRoute: e
907
- } = b.useContext(le);
907
+ } = N.useContext(le);
908
908
  return e ? jn() : Pn();
909
909
  }
910
910
  function Pn() {
911
- Ke() || (process.env.NODE_ENV !== "production" ? I(
911
+ Ge() || (process.env.NODE_ENV !== "production" ? F(
912
912
  !1,
913
913
  // TODO: This error is probably because they somehow have 2 versions of the
914
914
  // router loaded. We can help them understand how to avoid that.
915
915
  "useNavigate() may be used only in the context of a <Router> component."
916
- ) : I(!1));
917
- let e = b.useContext(xe), {
916
+ ) : F(!1));
917
+ let e = N.useContext(xe), {
918
918
  basename: n,
919
919
  navigator: r
920
- } = b.useContext(te), {
920
+ } = N.useContext(te), {
921
921
  matches: o
922
- } = b.useContext(le), {
922
+ } = N.useContext(le), {
923
923
  pathname: a
924
- } = pe(), i = JSON.stringify(xt(o).map((p) => p.pathnameBase)), s = b.useRef(!1);
924
+ } = fe(), i = JSON.stringify(xt(o).map((p) => p.pathnameBase)), s = N.useRef(!1);
925
925
  return St(() => {
926
926
  s.current = !0;
927
- }), b.useCallback(function(p, c) {
927
+ }), N.useCallback(function(p, c) {
928
928
  if (c === void 0 && (c = {}), process.env.NODE_ENV !== "production" && Ee(s.current, Pt), !s.current)
929
929
  return;
930
930
  if (typeof p == "number") {
@@ -932,7 +932,7 @@ function Pn() {
932
932
  return;
933
933
  }
934
934
  let m = wt(p, JSON.parse(i), a, c.relative === "path");
935
- e == null && n !== "/" && (m.pathname = m.pathname === "/" ? n : He([n, m.pathname])), (c.replace ? r.replace : r.push)(m, c.state, c);
935
+ e == null && n !== "/" && (m.pathname = m.pathname === "/" ? n : ze([n, m.pathname])), (c.replace ? r.replace : r.push)(m, c.state, c);
936
936
  }, [n, r, i, a, e]);
937
937
  }
938
938
  function we(e, n) {
@@ -940,44 +940,44 @@ function we(e, n) {
940
940
  relative: r
941
941
  } = n === void 0 ? {} : n, {
942
942
  matches: o
943
- } = b.useContext(le), {
943
+ } = N.useContext(le), {
944
944
  pathname: a
945
- } = pe(), i = JSON.stringify(xt(o).map((s) => s.pathnameBase));
946
- return b.useMemo(() => wt(e, JSON.parse(i), a, r === "path"), [e, i, a, r]);
945
+ } = fe(), i = JSON.stringify(xt(o).map((s) => s.pathnameBase));
946
+ return N.useMemo(() => wt(e, JSON.parse(i), a, r === "path"), [e, i, a, r]);
947
947
  }
948
948
  var Ye;
949
949
  (function(e) {
950
950
  e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate";
951
951
  })(Ye || (Ye = {}));
952
- var ge;
952
+ var Ne;
953
953
  (function(e) {
954
954
  e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId";
955
- })(ge || (ge = {}));
955
+ })(Ne || (Ne = {}));
956
956
  function Ot(e) {
957
957
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
958
958
  }
959
959
  function Sn(e) {
960
- let n = b.useContext(xe);
961
- return n || (process.env.NODE_ENV !== "production" ? I(!1, Ot(e)) : I(!1)), n;
960
+ let n = N.useContext(xe);
961
+ return n || (process.env.NODE_ENV !== "production" ? F(!1, Ot(e)) : F(!1)), n;
962
962
  }
963
963
  function On(e) {
964
- let n = b.useContext(le);
965
- return n || (process.env.NODE_ENV !== "production" ? I(!1, Ot(e)) : I(!1)), n;
964
+ let n = N.useContext(le);
965
+ return n || (process.env.NODE_ENV !== "production" ? F(!1, Ot(e)) : F(!1)), n;
966
966
  }
967
967
  function Tt(e) {
968
968
  let n = On(e), r = n.matches[n.matches.length - 1];
969
- return r.route.id || (process.env.NODE_ENV !== "production" ? I(!1, e + ' can only be used on routes that contain a unique "id"') : I(!1)), r.route.id;
969
+ return r.route.id || (process.env.NODE_ENV !== "production" ? F(!1, e + ' can only be used on routes that contain a unique "id"') : F(!1)), r.route.id;
970
970
  }
971
971
  function Tn() {
972
- return Tt(ge.UseRouteId);
972
+ return Tt(Ne.UseRouteId);
973
973
  }
974
974
  function jn() {
975
975
  let {
976
976
  router: e
977
- } = Sn(Ye.UseNavigateStable), n = Tt(ge.UseNavigateStable), r = b.useRef(!1);
977
+ } = Sn(Ye.UseNavigateStable), n = Tt(Ne.UseNavigateStable), r = N.useRef(!1);
978
978
  return St(() => {
979
979
  r.current = !0;
980
- }), b.useCallback(function(a, i) {
980
+ }), N.useCallback(function(a, i) {
981
981
  i === void 0 && (i = {}), process.env.NODE_ENV !== "production" && Ee(r.current, Pt), r.current && (typeof a == "number" ? e.navigate(a) : e.navigate(a, Me({
982
982
  fromRouteId: n
983
983
  }, i)));
@@ -1017,7 +1017,7 @@ function qe(e, n) {
1017
1017
  a = o[i], !(n.indexOf(a) >= 0) && (r[a] = e[a]);
1018
1018
  return r;
1019
1019
  }
1020
- const _e = "get", be = "application/x-www-form-urlencoded";
1020
+ const be = "get", ge = "application/x-www-form-urlencoded";
1021
1021
  function Ce(e) {
1022
1022
  return e != null && typeof e.tagName == "string";
1023
1023
  }
@@ -1027,61 +1027,61 @@ function $n(e) {
1027
1027
  function Dn(e) {
1028
1028
  return Ce(e) && e.tagName.toLowerCase() === "form";
1029
1029
  }
1030
- function Ln(e) {
1030
+ function In(e) {
1031
1031
  return Ce(e) && e.tagName.toLowerCase() === "input";
1032
1032
  }
1033
- function In(e) {
1033
+ function Ln(e) {
1034
1034
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1035
1035
  }
1036
1036
  function Fn(e, n) {
1037
1037
  return e.button === 0 && // Ignore everything but left clicks
1038
1038
  (!n || n === "_self") && // Let browser handle "target=_blank" etc.
1039
- !In(e);
1039
+ !Ln(e);
1040
1040
  }
1041
- let ve = null;
1042
- function An() {
1043
- if (ve === null)
1041
+ let _e = null;
1042
+ function Un() {
1043
+ if (_e === null)
1044
1044
  try {
1045
1045
  new FormData(
1046
1046
  document.createElement("form"),
1047
1047
  // @ts-expect-error if FormData supports the submitter parameter, this will throw
1048
1048
  0
1049
- ), ve = !1;
1049
+ ), _e = !1;
1050
1050
  } catch {
1051
- ve = !0;
1051
+ _e = !0;
1052
1052
  }
1053
- return ve;
1053
+ return _e;
1054
1054
  }
1055
- const Un = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
1056
- function Ae(e) {
1057
- return e != null && !Un.has(e) ? (process.env.NODE_ENV !== "production" && Ee(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + be + '"')), null) : e;
1055
+ const An = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
1056
+ function Ue(e) {
1057
+ return e != null && !An.has(e) ? (process.env.NODE_ENV !== "production" && Ee(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + ge + '"')), null) : e;
1058
1058
  }
1059
- function Vn(e, n) {
1059
+ function Wn(e, n) {
1060
1060
  let r, o, a, i, s;
1061
1061
  if (Dn(e)) {
1062
1062
  let f = e.getAttribute("action");
1063
- o = f ? Be(f, n) : null, r = e.getAttribute("method") || _e, a = Ae(e.getAttribute("enctype")) || be, i = new FormData(e);
1064
- } else if ($n(e) || Ln(e) && (e.type === "submit" || e.type === "image")) {
1063
+ o = f ? Be(f, n) : null, r = e.getAttribute("method") || be, a = Ue(e.getAttribute("enctype")) || ge, i = new FormData(e);
1064
+ } else if ($n(e) || In(e) && (e.type === "submit" || e.type === "image")) {
1065
1065
  let f = e.form;
1066
1066
  if (f == null)
1067
1067
  throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
1068
1068
  let p = e.getAttribute("formaction") || f.getAttribute("action");
1069
- if (o = p ? Be(p, n) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || _e, a = Ae(e.getAttribute("formenctype")) || Ae(f.getAttribute("enctype")) || be, i = new FormData(f, e), !An()) {
1069
+ if (o = p ? Be(p, n) : null, r = e.getAttribute("formmethod") || f.getAttribute("method") || be, a = Ue(e.getAttribute("formenctype")) || Ue(f.getAttribute("enctype")) || ge, i = new FormData(f, e), !Un()) {
1070
1070
  let {
1071
1071
  name: c,
1072
1072
  type: m,
1073
- value: v
1073
+ value: k
1074
1074
  } = e;
1075
1075
  if (m === "image") {
1076
- let E = c ? c + "." : "";
1077
- i.append(E + "x", "0"), i.append(E + "y", "0");
1076
+ let y = c ? c + "." : "";
1077
+ i.append(y + "x", "0"), i.append(y + "y", "0");
1078
1078
  } else
1079
- c && i.append(c, v);
1079
+ c && i.append(c, k);
1080
1080
  }
1081
1081
  } else {
1082
1082
  if (Ce(e))
1083
1083
  throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
1084
- r = _e, o = null, a = be, s = e;
1084
+ r = be, o = null, a = ge, s = e;
1085
1085
  }
1086
1086
  return i && a === "text/plain" && (s = i, i = void 0), {
1087
1087
  action: o,
@@ -1091,9 +1091,9 @@ function Vn(e, n) {
1091
1091
  body: s
1092
1092
  };
1093
1093
  }
1094
- const Wn = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], Bn = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], Mn = ["reloadDocument", "replace", "method", "action", "onSubmit", "submit", "relative", "preventScrollReset"];
1094
+ const Vn = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset"], Bn = ["aria-current", "caseSensitive", "className", "end", "style", "to", "children"], Mn = ["reloadDocument", "replace", "method", "action", "onSubmit", "submit", "relative", "preventScrollReset"];
1095
1095
  process.env.NODE_ENV;
1096
- const Yn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Jn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Ne = /* @__PURE__ */ b.forwardRef(function(n, r) {
1096
+ const Yn = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Jn = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, ye = /* @__PURE__ */ N.forwardRef(function(n, r) {
1097
1097
  let {
1098
1098
  onClick: o,
1099
1099
  relative: a,
@@ -1103,40 +1103,40 @@ const Yn = typeof window < "u" && typeof window.document < "u" && typeof window.
1103
1103
  target: p,
1104
1104
  to: c,
1105
1105
  preventScrollReset: m
1106
- } = n, v = qe(n, Wn), {
1107
- basename: E
1108
- } = b.useContext(te), C, S = !1;
1106
+ } = n, k = qe(n, Vn), {
1107
+ basename: y
1108
+ } = N.useContext(te), C, S = !1;
1109
1109
  if (typeof c == "string" && Jn.test(c) && (C = c, Yn))
1110
1110
  try {
1111
- let g = new URL(window.location.href), j = c.startsWith("//") ? new URL(g.protocol + c) : new URL(c), F = Be(j.pathname, E);
1112
- j.origin === g.origin && F != null ? c = F + j.search + j.hash : S = !0;
1111
+ let g = new URL(window.location.href), b = c.startsWith("//") ? new URL(g.protocol + c) : new URL(c), $ = Be(b.pathname, y);
1112
+ b.origin === g.origin && $ != null ? c = $ + b.search + b.hash : S = !0;
1113
1113
  } catch {
1114
1114
  process.env.NODE_ENV !== "production" && Ee(!1, '<Link to="' + c + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
1115
1115
  }
1116
1116
  let P = Cn(c, {
1117
1117
  relative: a
1118
- }), T = qn(c, {
1118
+ }), j = qn(c, {
1119
1119
  replace: s,
1120
1120
  state: f,
1121
1121
  target: p,
1122
1122
  preventScrollReset: m,
1123
1123
  relative: a
1124
1124
  });
1125
- function x(g) {
1126
- o && o(g), g.defaultPrevented || T(g);
1125
+ function w(g) {
1126
+ o && o(g), g.defaultPrevented || j(g);
1127
1127
  }
1128
1128
  return (
1129
1129
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1130
- /* @__PURE__ */ b.createElement("a", ne({}, v, {
1130
+ /* @__PURE__ */ N.createElement("a", ne({}, k, {
1131
1131
  href: C || P,
1132
- onClick: S || i ? o : x,
1132
+ onClick: S || i ? o : w,
1133
1133
  ref: r,
1134
1134
  target: p
1135
1135
  }))
1136
1136
  );
1137
1137
  });
1138
- process.env.NODE_ENV !== "production" && (Ne.displayName = "Link");
1139
- const zn = /* @__PURE__ */ b.forwardRef(function(n, r) {
1138
+ process.env.NODE_ENV !== "production" && (ye.displayName = "Link");
1139
+ const Kn = /* @__PURE__ */ N.forwardRef(function(n, r) {
1140
1140
  let {
1141
1141
  "aria-current": o = "page",
1142
1142
  caseSensitive: a = !1,
@@ -1145,69 +1145,69 @@ const zn = /* @__PURE__ */ b.forwardRef(function(n, r) {
1145
1145
  style: f,
1146
1146
  to: p,
1147
1147
  children: c
1148
- } = n, m = qe(n, Bn), v = we(p, {
1148
+ } = n, m = qe(n, Bn), k = we(p, {
1149
1149
  relative: m.relative
1150
- }), E = pe(), C = b.useContext(Rt), {
1150
+ }), y = fe(), C = N.useContext(Rt), {
1151
1151
  navigator: S
1152
- } = b.useContext(te), P = S.encodeLocation ? S.encodeLocation(v).pathname : v.pathname, T = E.pathname, x = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
1153
- a || (T = T.toLowerCase(), x = x ? x.toLowerCase() : null, P = P.toLowerCase());
1154
- let g = T === P || !s && T.startsWith(P) && T.charAt(P.length) === "/", j = x != null && (x === P || !s && x.startsWith(P) && x.charAt(P.length) === "/"), F = g ? o : void 0, A;
1155
- typeof i == "function" ? A = i({
1152
+ } = N.useContext(te), P = S.encodeLocation ? S.encodeLocation(k).pathname : k.pathname, j = y.pathname, w = C && C.navigation && C.navigation.location ? C.navigation.location.pathname : null;
1153
+ a || (j = j.toLowerCase(), w = w ? w.toLowerCase() : null, P = P.toLowerCase());
1154
+ let g = j === P || !s && j.startsWith(P) && j.charAt(P.length) === "/", b = w != null && (w === P || !s && w.startsWith(P) && w.charAt(P.length) === "/"), $ = g ? o : void 0, U;
1155
+ typeof i == "function" ? U = i({
1156
1156
  isActive: g,
1157
- isPending: j
1158
- }) : A = [i, g ? "active" : null, j ? "pending" : null].filter(Boolean).join(" ");
1159
- let U = typeof f == "function" ? f({
1157
+ isPending: b
1158
+ }) : U = [i, g ? "active" : null, b ? "pending" : null].filter(Boolean).join(" ");
1159
+ let A = typeof f == "function" ? f({
1160
1160
  isActive: g,
1161
- isPending: j
1161
+ isPending: b
1162
1162
  }) : f;
1163
- return /* @__PURE__ */ b.createElement(Ne, ne({}, m, {
1164
- "aria-current": F,
1165
- className: A,
1163
+ return /* @__PURE__ */ N.createElement(ye, ne({}, m, {
1164
+ "aria-current": $,
1165
+ className: U,
1166
1166
  ref: r,
1167
- style: U,
1167
+ style: A,
1168
1168
  to: p
1169
1169
  }), typeof c == "function" ? c({
1170
1170
  isActive: g,
1171
- isPending: j
1171
+ isPending: b
1172
1172
  }) : c);
1173
1173
  });
1174
- process.env.NODE_ENV !== "production" && (zn.displayName = "NavLink");
1175
- const Hn = /* @__PURE__ */ b.forwardRef((e, n) => {
1174
+ process.env.NODE_ENV !== "production" && (Kn.displayName = "NavLink");
1175
+ const zn = /* @__PURE__ */ N.forwardRef((e, n) => {
1176
1176
  let r = Zn();
1177
- return /* @__PURE__ */ b.createElement(jt, ne({}, e, {
1177
+ return /* @__PURE__ */ N.createElement(jt, ne({}, e, {
1178
1178
  submit: r,
1179
1179
  ref: n
1180
1180
  }));
1181
1181
  });
1182
- process.env.NODE_ENV !== "production" && (Hn.displayName = "Form");
1183
- const jt = /* @__PURE__ */ b.forwardRef((e, n) => {
1182
+ process.env.NODE_ENV !== "production" && (zn.displayName = "Form");
1183
+ const jt = /* @__PURE__ */ N.forwardRef((e, n) => {
1184
1184
  let {
1185
1185
  reloadDocument: r,
1186
1186
  replace: o,
1187
- method: a = _e,
1187
+ method: a = be,
1188
1188
  action: i,
1189
1189
  onSubmit: s,
1190
1190
  submit: f,
1191
1191
  relative: p,
1192
1192
  preventScrollReset: c
1193
- } = e, m = qe(e, Mn), v = a.toLowerCase() === "get" ? "get" : "post", E = Qn(i, {
1193
+ } = e, m = qe(e, Mn), k = a.toLowerCase() === "get" ? "get" : "post", y = Qn(i, {
1194
1194
  relative: p
1195
1195
  }), C = (S) => {
1196
1196
  if (s && s(S), S.defaultPrevented)
1197
1197
  return;
1198
1198
  S.preventDefault();
1199
- let P = S.nativeEvent.submitter, T = (P == null ? void 0 : P.getAttribute("formmethod")) || a;
1199
+ let P = S.nativeEvent.submitter, j = (P == null ? void 0 : P.getAttribute("formmethod")) || a;
1200
1200
  f(P || S.currentTarget, {
1201
- method: T,
1201
+ method: j,
1202
1202
  replace: o,
1203
1203
  relative: p,
1204
1204
  preventScrollReset: c
1205
1205
  });
1206
1206
  };
1207
- return /* @__PURE__ */ b.createElement("form", ne({
1207
+ return /* @__PURE__ */ N.createElement("form", ne({
1208
1208
  ref: n,
1209
- method: v,
1210
- action: E,
1209
+ method: k,
1210
+ action: y,
1211
1211
  onSubmit: r ? s : C
1212
1212
  }, m));
1213
1213
  });
@@ -1221,12 +1221,12 @@ var Nt;
1221
1221
  (function(e) {
1222
1222
  e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
1223
1223
  })(Nt || (Nt = {}));
1224
- function Gn(e) {
1224
+ function Hn(e) {
1225
1225
  return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
1226
1226
  }
1227
- function Kn(e) {
1228
- let n = b.useContext(xe);
1229
- return n || (process.env.NODE_ENV !== "production" ? I(!1, Gn(e)) : I(!1)), n;
1227
+ function Gn(e) {
1228
+ let n = N.useContext(xe);
1229
+ return n || (process.env.NODE_ENV !== "production" ? F(!1, Hn(e)) : F(!1)), n;
1230
1230
  }
1231
1231
  function qn(e, n) {
1232
1232
  let {
@@ -1235,15 +1235,15 @@ function qn(e, n) {
1235
1235
  state: a,
1236
1236
  preventScrollReset: i,
1237
1237
  relative: s
1238
- } = n === void 0 ? {} : n, f = Rn(), p = pe(), c = we(e, {
1238
+ } = n === void 0 ? {} : n, f = Rn(), p = fe(), c = we(e, {
1239
1239
  relative: s
1240
1240
  });
1241
- return b.useCallback((m) => {
1241
+ return N.useCallback((m) => {
1242
1242
  if (Fn(m, r)) {
1243
1243
  m.preventDefault();
1244
- let v = o !== void 0 ? o : We(p) === We(c);
1244
+ let k = o !== void 0 ? o : Ve(p) === Ve(c);
1245
1245
  f(e, {
1246
- replace: v,
1246
+ replace: k,
1247
1247
  state: a,
1248
1248
  preventScrollReset: i,
1249
1249
  relative: s
@@ -1258,10 +1258,10 @@ function Xn() {
1258
1258
  function Zn() {
1259
1259
  let {
1260
1260
  router: e
1261
- } = Kn(Je.UseSubmit), {
1261
+ } = Gn(Je.UseSubmit), {
1262
1262
  basename: n
1263
- } = b.useContext(te), r = Tn();
1264
- return b.useCallback(function(o, a) {
1263
+ } = N.useContext(te), r = Tn();
1264
+ return N.useCallback(function(o, a) {
1265
1265
  a === void 0 && (a = {}), Xn();
1266
1266
  let {
1267
1267
  action: i,
@@ -1269,7 +1269,7 @@ function Zn() {
1269
1269
  encType: f,
1270
1270
  formData: p,
1271
1271
  body: c
1272
- } = Vn(o, n);
1272
+ } = Wn(o, n);
1273
1273
  e.navigate(a.action || i, {
1274
1274
  preventScrollReset: a.preventScrollReset,
1275
1275
  formData: p,
@@ -1286,16 +1286,16 @@ function Qn(e, n) {
1286
1286
  relative: r
1287
1287
  } = n === void 0 ? {} : n, {
1288
1288
  basename: o
1289
- } = b.useContext(te), a = b.useContext(le);
1290
- a || (process.env.NODE_ENV !== "production" ? I(!1, "useFormAction must be used inside a RouteContext") : I(!1));
1289
+ } = N.useContext(te), a = N.useContext(le);
1290
+ a || (process.env.NODE_ENV !== "production" ? F(!1, "useFormAction must be used inside a RouteContext") : F(!1));
1291
1291
  let [i] = a.matches.slice(-1), s = ne({}, we(e || ".", {
1292
1292
  relative: r
1293
- })), f = pe();
1293
+ })), f = fe();
1294
1294
  if (e == null && (s.search = f.search, s.hash = f.hash, i.route.index)) {
1295
1295
  let p = new URLSearchParams(s.search);
1296
1296
  p.delete("index"), s.search = p.toString() ? "?" + p.toString() : "";
1297
1297
  }
1298
- return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (s.pathname = s.pathname === "/" ? o : He([o, s.pathname])), We(s);
1298
+ return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), o !== "/" && (s.pathname = s.pathname === "/" ? o : ze([o, s.pathname])), Ve(s);
1299
1299
  }
1300
1300
  const cr = B(
1301
1301
  ({ breadcrumbs: e, navigationType: n, className: r, ...o }, a) => {
@@ -1309,14 +1309,14 @@ const cr = B(
1309
1309
  {
1310
1310
  className: "pkt-breadcrumbs__item",
1311
1311
  children: c === i.length - 1 ? /* @__PURE__ */ l("span", { className: "pkt-breadcrumbs__label", "aria-current": "true", children: /* @__PURE__ */ l("span", { className: "pkt-breadcrumbs__text", children: p.text }) }) : n === "router" ? /* @__PURE__ */ h(
1312
- Ne,
1312
+ ye,
1313
1313
  {
1314
1314
  to: p.href,
1315
1315
  className: "pkt-link pkt-link--icon-right pkt-breadcrumbs__label pkt-breadcrumbs__link",
1316
1316
  ...o,
1317
1317
  children: [
1318
1318
  /* @__PURE__ */ l(
1319
- y,
1319
+ E,
1320
1320
  {
1321
1321
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
1322
1322
  name: "chevron-thin-right"
@@ -1333,7 +1333,7 @@ const cr = B(
1333
1333
  ...o,
1334
1334
  children: [
1335
1335
  /* @__PURE__ */ l(
1336
- y,
1336
+ E,
1337
1337
  {
1338
1338
  className: "pkt-icon pkt-breadcrumbs__icon pkt-link__icon",
1339
1339
  name: "chevron-thin-right"
@@ -1347,14 +1347,14 @@ const cr = B(
1347
1347
  `breadcrumb-${c}`
1348
1348
  )) }),
1349
1349
  n === "router" ? /* @__PURE__ */ h(
1350
- Ne,
1350
+ ye,
1351
1351
  {
1352
1352
  to: s.href,
1353
1353
  className: "pkt-link pkt-link--icon-left pkt-breadcrumbs--mobile",
1354
1354
  ...o,
1355
1355
  children: [
1356
1356
  /* @__PURE__ */ l(
1357
- y,
1357
+ E,
1358
1358
  {
1359
1359
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
1360
1360
  name: "chevron-thin-left"
@@ -1371,7 +1371,7 @@ const cr = B(
1371
1371
  ...o,
1372
1372
  children: [
1373
1373
  /* @__PURE__ */ l(
1374
- y,
1374
+ E,
1375
1375
  {
1376
1376
  className: "pkt-back-link__icon pkt-icon pkt-link__icon",
1377
1377
  name: "chevron-thin-left"
@@ -1383,7 +1383,7 @@ const cr = B(
1383
1383
  )
1384
1384
  ] });
1385
1385
  }
1386
- ), ye = B(
1386
+ ), ue = B(
1387
1387
  ({
1388
1388
  children: e,
1389
1389
  className: n,
@@ -1396,7 +1396,7 @@ const cr = B(
1396
1396
  color: p,
1397
1397
  ...c
1398
1398
  }, m) => {
1399
- const v = [
1399
+ const k = [
1400
1400
  n,
1401
1401
  "pkt-btn",
1402
1402
  a && `pkt-btn--${a}`,
@@ -1404,14 +1404,14 @@ const cr = B(
1404
1404
  f && `pkt-btn--${f}`,
1405
1405
  p && `pkt-btn--${p}`
1406
1406
  ].filter(Boolean).join(" ");
1407
- return /* @__PURE__ */ h("button", { ...c, className: v, type: s, ref: m, children: [
1408
- f !== "label-only" && /* @__PURE__ */ l(y, { className: "pkt-btn__icon", name: r }),
1407
+ return /* @__PURE__ */ h("button", { ...c, className: k, type: s, ref: m, children: [
1408
+ f !== "label-only" && /* @__PURE__ */ l(E, { className: "pkt-btn__icon", name: r }),
1409
1409
  /* @__PURE__ */ l("span", { className: "pkt-btn__text", children: e }),
1410
- f === "icons-right-and-left" && /* @__PURE__ */ l(y, { className: "pkt-btn__icon", name: o })
1410
+ f === "icons-right-and-left" && /* @__PURE__ */ l(E, { className: "pkt-btn__icon", name: o })
1411
1411
  ] });
1412
1412
  }
1413
1413
  );
1414
- ye.displayName = "PktButton";
1414
+ ue.displayName = "PktButton";
1415
1415
  const er = B(
1416
1416
  ({
1417
1417
  id: e,
@@ -1471,7 +1471,7 @@ const ur = ({
1471
1471
  target: c.openInNewTab ? "_blank" : "_self",
1472
1472
  rel: c.openInNewTab ? "noopener noreferrer" : void 0,
1473
1473
  children: [
1474
- /* @__PURE__ */ l(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1474
+ /* @__PURE__ */ l(E, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1475
1475
  c.text
1476
1476
  ]
1477
1477
  }
@@ -1490,7 +1490,7 @@ const ur = ({
1490
1490
  target: c.openInNewTab ? "_blank" : "_self",
1491
1491
  rel: c.openInNewTab ? "noopener noreferrer" : void 0,
1492
1492
  children: [
1493
- /* @__PURE__ */ l(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1493
+ /* @__PURE__ */ l(E, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1494
1494
  c.text
1495
1495
  ]
1496
1496
  }
@@ -1506,13 +1506,13 @@ const ur = ({
1506
1506
  className: "pkt-footer__link",
1507
1507
  href: a,
1508
1508
  children: [
1509
- /* @__PURE__ */ l(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1509
+ /* @__PURE__ */ l(E, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1510
1510
  "Personvern og informasjonskapsler"
1511
1511
  ]
1512
1512
  }
1513
1513
  ) }),
1514
1514
  /* @__PURE__ */ l("li", { className: "pkt-footer__list-item", children: /* @__PURE__ */ h("a", { className: "pkt-footer__link", href: i, children: [
1515
- /* @__PURE__ */ l(y, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1515
+ /* @__PURE__ */ l(E, { className: "pkt-footer__link-icon", name: "chevron-right" }),
1516
1516
  "Tilgjengelighet"
1517
1517
  ] }) })
1518
1518
  ] })
@@ -1536,7 +1536,7 @@ const ur = ({
1536
1536
  },
1537
1537
  `sociallinks-language-${m}`
1538
1538
  )) }),
1539
- /* @__PURE__ */ l("div", { className: "pkt-footer__social-icons", children: r.filter((c) => c.iconName).map((c, m) => /* @__PURE__ */ l(q.Fragment, { children: /* @__PURE__ */ l(
1539
+ /* @__PURE__ */ l("div", { className: "pkt-footer__social-icons", children: r.filter((c) => c.iconName).map((c, m) => /* @__PURE__ */ l(G.Fragment, { children: /* @__PURE__ */ l(
1540
1540
  "a",
1541
1541
  {
1542
1542
  href: c.href,
@@ -1544,7 +1544,7 @@ const ur = ({
1544
1544
  className: "pkt-footer__social-icon-link",
1545
1545
  target: c.openInNewTab ? "_blank" : "_self",
1546
1546
  rel: c.openInNewTab ? "noopener noreferrer" : void 0,
1547
- children: /* @__PURE__ */ l(y, { className: "pkt-footer__social-icon", name: c.iconName })
1547
+ children: /* @__PURE__ */ l(E, { className: "pkt-footer__social-icon", name: c.iconName })
1548
1548
  }
1549
1549
  ) }, `sociallinks-${m}`)) })
1550
1550
  ] })
@@ -1566,7 +1566,7 @@ const ur = ({
1566
1566
  rel: i.openInNewTab ? "noopener noreferrer" : void 0,
1567
1567
  children: [
1568
1568
  /* @__PURE__ */ l(
1569
- y,
1569
+ E,
1570
1570
  {
1571
1571
  className: "pkt-footer-simple__link-icon",
1572
1572
  name: "chevron-right"
@@ -1577,11 +1577,11 @@ const ur = ({
1577
1577
  }
1578
1578
  ) }, s)),
1579
1579
  /* @__PURE__ */ l("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ h("a", { className: "pkt-footer-simple__link", href: n, children: [
1580
- /* @__PURE__ */ l(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1580
+ /* @__PURE__ */ l(E, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1581
1581
  "Personvern og informasjonskapsler"
1582
1582
  ] }) }),
1583
1583
  /* @__PURE__ */ l("li", { className: "pkt-footer-simple__list-item", children: /* @__PURE__ */ h("a", { className: "pkt-footer-simple__link", href: r, children: [
1584
- /* @__PURE__ */ l(y, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1584
+ /* @__PURE__ */ l(E, { className: "pkt-footer-simple__link-icon", name: "chevron-right" }),
1585
1585
  "Tilgjengelighet"
1586
1586
  ] }) })
1587
1587
  ] }) }) });
@@ -1636,30 +1636,30 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1636
1636
  userMenuFooter: p,
1637
1637
  canChangeRepresentation: c = !0,
1638
1638
  showMenuButton: m = !1,
1639
- showLogOutButton: v = !1,
1640
- openMenu: E,
1639
+ showLogOutButton: k = !1,
1640
+ openMenu: y,
1641
1641
  logOut: C,
1642
1642
  changeRepresentation: S,
1643
1643
  ...P
1644
- }, T) => {
1645
- const x = q.useMemo(() => typeof (a == null ? void 0 : a.lastLoggedIn) == "string" ? a.lastLoggedIn : a != null && a.lastLoggedIn ? new Date(a.lastLoggedIn).toLocaleString("nb-NO", {
1644
+ }, j) => {
1645
+ const w = G.useMemo(() => typeof (a == null ? void 0 : a.lastLoggedIn) == "string" ? a.lastLoggedIn : a != null && a.lastLoggedIn ? new Date(a.lastLoggedIn).toLocaleString("nb-NO", {
1646
1646
  year: "numeric",
1647
1647
  month: "long",
1648
1648
  day: "numeric"
1649
- }) : "", [a]), [g, j] = q.useState(!1), [F, A] = q.useState(0), [U, M] = q.useState(!1), H = q.useRef(null);
1650
- q.useEffect(() => (document.addEventListener("mouseup", G), window.addEventListener("scroll", W), () => {
1651
- document.removeEventListener("mouseup", G), window.removeEventListener("scroll", W);
1649
+ }) : "", [a]), [g, b] = G.useState(!1), [$, U] = G.useState(0), [A, M] = G.useState(!1), H = G.useRef(null);
1650
+ G.useEffect(() => (document.addEventListener("mouseup", q), window.addEventListener("scroll", Y), () => {
1651
+ document.removeEventListener("mouseup", q), window.removeEventListener("scroll", Y);
1652
1652
  }));
1653
- const Y = () => {
1654
- M(!U);
1655
- }, G = (_) => {
1653
+ const K = () => {
1654
+ M(!A);
1655
+ }, q = (_) => {
1656
1656
  H.current && !H.current.contains(_.target) && M(!1);
1657
- }, W = () => {
1657
+ }, Y = () => {
1658
1658
  if (o) {
1659
1659
  const _ = window.pageYOffset || document.documentElement.scrollTop;
1660
- if (_ < 0 || Math.abs(_ - F) < 60)
1660
+ if (_ < 0 || Math.abs(_ - $) < 60)
1661
1661
  return;
1662
- j(_ > F), A(_);
1662
+ b(_ > $), U(_);
1663
1663
  }
1664
1664
  };
1665
1665
  return /* @__PURE__ */ h(
@@ -1674,16 +1674,16 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1674
1674
  "pkt-header--scroll-to-hide": o,
1675
1675
  "pkt-header--hidden": g
1676
1676
  }),
1677
- ref: T,
1677
+ ref: j,
1678
1678
  children: [
1679
1679
  /* @__PURE__ */ h("div", { className: "pkt-header__logo", children: [
1680
1680
  typeof e == "string" ? /* @__PURE__ */ l("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: e, children: /* @__PURE__ */ l(
1681
- y,
1681
+ E,
1682
1682
  {
1683
1683
  name: "oslologo",
1684
1684
  className: "pkt-header__logo-svg",
1685
1685
  "aria-hidden": "true",
1686
- path: "https://punkt-cdn.oslo.kommune.no/9.4/logos/"
1686
+ path: "https://punkt-cdn.oslo.kommune.no/9.5/logos/"
1687
1687
  }
1688
1688
  ) }) : /* @__PURE__ */ l(
1689
1689
  "button",
@@ -1692,12 +1692,12 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1692
1692
  className: "pkt-link-button pkt-link pkt-header__logo-link",
1693
1693
  onClick: e,
1694
1694
  children: /* @__PURE__ */ l(
1695
- y,
1695
+ E,
1696
1696
  {
1697
1697
  name: "oslologo",
1698
1698
  className: "pkt-header__logo-svg",
1699
1699
  "aria-hidden": "true",
1700
- path: "https://punkt-cdn.oslo.kommune.no/9.4/logos/"
1700
+ path: "https://punkt-cdn.oslo.kommune.no/9.5/logos/"
1701
1701
  }
1702
1702
  )
1703
1703
  }
@@ -1706,13 +1706,13 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1706
1706
  ] }),
1707
1707
  /* @__PURE__ */ l("nav", { className: "pkt-header__actions", children: /* @__PURE__ */ h("ul", { className: "pkt-header__actions-row", children: [
1708
1708
  m && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
1709
- ye,
1709
+ ue,
1710
1710
  {
1711
1711
  className: "pkt-header__menu-btn",
1712
1712
  skin: "secondary",
1713
1713
  variant: "icon-right",
1714
1714
  iconName: "menu",
1715
- onClick: E,
1715
+ onClick: y,
1716
1716
  children: "Meny"
1717
1717
  }
1718
1718
  ) }),
@@ -1720,7 +1720,7 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1720
1720
  "li",
1721
1721
  {
1722
1722
  "data-testid": "usermenu",
1723
- className: `pkt-header--has-dropdown ${U && !g ? "pkt-header--open-dropdown" : ""}`,
1723
+ className: `pkt-header--has-dropdown ${A && !g ? "pkt-header--open-dropdown" : ""}`,
1724
1724
  ref: H,
1725
1725
  children: [
1726
1726
  /* @__PURE__ */ h(
@@ -1730,14 +1730,14 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1730
1730
  type: "button",
1731
1731
  role: "button",
1732
1732
  "aria-controls": "pktUserDropdown",
1733
- "aria-expanded": U,
1734
- onClick: Y,
1733
+ "aria-expanded": A,
1734
+ onClick: K,
1735
1735
  children: [
1736
- /* @__PURE__ */ l(y, { name: "user", className: "pkt-btn__icon" }),
1736
+ /* @__PURE__ */ l(E, { name: "user", className: "pkt-btn__icon" }),
1737
1737
  /* @__PURE__ */ l("span", { className: "pkt-header__user-fullname", children: (s == null ? void 0 : s.name) || (a == null ? void 0 : a.name) }),
1738
1738
  /* @__PURE__ */ l("span", { className: "pkt-header__user-shortname", children: (s == null ? void 0 : s.shortname) || (a == null ? void 0 : a.shortname) }),
1739
- /* @__PURE__ */ l(y, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1740
- /* @__PURE__ */ l(y, { name: "chevron-thin-up", className: "pkt-btn--open" })
1739
+ /* @__PURE__ */ l(E, { name: "chevron-thin-down", className: "pkt-btn--closed" }),
1740
+ /* @__PURE__ */ l(E, { name: "chevron-thin-up", className: "pkt-btn--open" })
1741
1741
  ]
1742
1742
  }
1743
1743
  ),
@@ -1747,18 +1747,18 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1747
1747
  /* @__PURE__ */ l("div", { className: "pkt-user-menu__name", children: a.name }),
1748
1748
  a.lastLoggedIn && /* @__PURE__ */ h("div", { className: "pkt-user-menu__last-logged-in", children: [
1749
1749
  "Sist pålogget: ",
1750
- /* @__PURE__ */ l("time", { children: x })
1750
+ /* @__PURE__ */ l("time", { children: w })
1751
1751
  ] })
1752
1752
  ] }),
1753
- i && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l("ul", { className: "pkt-list", children: i.map((_, $) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ h("a", { href: _.target, className: "pkt-link", children: [
1754
- _.iconName && /* @__PURE__ */ l(y, { name: _.iconName, className: "pkt-link__icon" }),
1753
+ i && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l("ul", { className: "pkt-list", children: i.map((_, D) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ h("a", { href: _.target, className: "pkt-link", children: [
1754
+ _.iconName && /* @__PURE__ */ l(E, { name: _.iconName, className: "pkt-link__icon" }),
1755
1755
  _.title
1756
1756
  ] }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: [
1757
- _.iconName && /* @__PURE__ */ l(y, { name: _.iconName, className: "pkt-link__icon" }),
1757
+ _.iconName && /* @__PURE__ */ l(E, { name: _.iconName, className: "pkt-link__icon" }),
1758
1758
  _.title
1759
- ] }) }, `userMenu-${$}`)) }) }),
1759
+ ] }) }, `userMenu-${D}`)) }) }),
1760
1760
  (s || c) && /* @__PURE__ */ h("li", { children: [
1761
- s && /* @__PURE__ */ h(ee, { children: [
1761
+ s && /* @__PURE__ */ h(X, { children: [
1762
1762
  /* @__PURE__ */ l("div", { className: "pkt-user-menu__label", children: "Representerer" }),
1763
1763
  /* @__PURE__ */ l("div", { className: "pkt-user-menu__name", children: s.name }),
1764
1764
  s.orgNumber && /* @__PURE__ */ h("div", { className: "pkt-user-menu__org-number", children: [
@@ -1772,32 +1772,32 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1772
1772
  className: "pkt-link-button pkt-link",
1773
1773
  onClick: S,
1774
1774
  children: [
1775
- /* @__PURE__ */ l(y, { name: "cogwheel", className: "pkt-link__icon" }),
1775
+ /* @__PURE__ */ l(E, { name: "cogwheel", className: "pkt-link__icon" }),
1776
1776
  "Endre organisasjon"
1777
1777
  ]
1778
1778
  }
1779
1779
  ) }) })
1780
1780
  ] }),
1781
- /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l("ul", { className: "pkt-list", children: (f || !v) && /* @__PURE__ */ h(ee, { children: [
1782
- f == null ? void 0 : f.map((_, $) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ h("a", { href: _.target, className: "pkt-link", children: [
1783
- _.iconName && /* @__PURE__ */ l(y, { name: _.iconName, className: "pkt-link__icon" }),
1781
+ /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l("ul", { className: "pkt-list", children: (f || !k) && /* @__PURE__ */ h(X, { children: [
1782
+ f == null ? void 0 : f.map((_, D) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ h("a", { href: _.target, className: "pkt-link", children: [
1783
+ _.iconName && /* @__PURE__ */ l(E, { name: _.iconName, className: "pkt-link__icon" }),
1784
1784
  _.title
1785
1785
  ] }) : /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: [
1786
- _.iconName && /* @__PURE__ */ l(y, { name: _.iconName, className: "pkt-link__icon" }),
1786
+ _.iconName && /* @__PURE__ */ l(E, { name: _.iconName, className: "pkt-link__icon" }),
1787
1787
  _.title
1788
- ] }) }, `userOptions-${$}`)),
1789
- !v && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1790
- /* @__PURE__ */ l(y, { name: "exit", className: "pkt-link__icon" }),
1788
+ ] }) }, `userOptions-${D}`)),
1789
+ !k && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ h("button", { className: "pkt-link-button pkt-link", onClick: C, children: [
1790
+ /* @__PURE__ */ l(E, { name: "exit", className: "pkt-link__icon" }),
1791
1791
  "Logg ut"
1792
1792
  ] }) })
1793
1793
  ] }) }) }),
1794
- p && /* @__PURE__ */ l("li", { className: "footer", children: /* @__PURE__ */ l("ul", { className: "pkt-list-horizontal bordered", children: p.map((_, $) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ l("a", { href: _.target, className: "pkt-link", children: _.title }) : /* @__PURE__ */ l("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: _.title }) }, `userMenuFooter-${$}`)) }) })
1794
+ p && /* @__PURE__ */ l("li", { className: "footer", children: /* @__PURE__ */ l("ul", { className: "pkt-list-horizontal bordered", children: p.map((_, D) => /* @__PURE__ */ l("li", { children: typeof _.target == "string" ? /* @__PURE__ */ l("a", { href: _.target, className: "pkt-link", children: _.title }) : /* @__PURE__ */ l("button", { className: "pkt-link-button pkt-link", onClick: _.target, children: _.title }) }, `userMenuFooter-${D}`)) }) })
1795
1795
  ] })
1796
1796
  ]
1797
1797
  }
1798
1798
  ),
1799
- v && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
1800
- ye,
1799
+ k && /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
1800
+ ue,
1801
1801
  {
1802
1802
  className: "pkt-header__user-btn pkt-header__user-btn-logout",
1803
1803
  iconName: "exit",
@@ -1813,7 +1813,7 @@ const Dt = /* @__PURE__ */ un(tr), fr = B(
1813
1813
  }
1814
1814
  );
1815
1815
  }
1816
- ), nr = q.forwardRef(
1816
+ ), nr = G.forwardRef(
1817
1817
  ({ label: e, id: n, children: r, ...o }, a) => /* @__PURE__ */ h("div", { className: "pkt-form-group", children: [
1818
1818
  /* @__PURE__ */ l("label", { htmlFor: n, className: "pkt-form-label", children: e }),
1819
1819
  /* @__PURE__ */ l("input", { className: "pkt-form-input", id: n, ...o, ref: a }),
@@ -1834,40 +1834,40 @@ const Re = B(
1834
1834
  requiredText: p = "Må fylles ut",
1835
1835
  hasError: c,
1836
1836
  errorMessage: m,
1837
- disabled: v,
1838
- inline: E,
1837
+ disabled: k,
1838
+ inline: y,
1839
1839
  ariaDescribedby: C,
1840
1840
  useWrapper: S = !0,
1841
1841
  children: P,
1842
- className: T,
1843
- hasFieldset: x = !1
1842
+ className: j,
1843
+ hasFieldset: w = !1
1844
1844
  }, g) => {
1845
- const [j, F] = ue(!1), A = () => {
1846
- F(!j);
1847
- }, U = () => i ? "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" : "", M = i ? s : f ? p : "", H = v ? "pkt-inputwrapper--disabled" : "", Y = E ? "pkt-inputwrapper--inline" : "", G = c ? "pkt-inputwrapper--error" : "", W = !!o && o !== "", _ = a || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', $ = x ? "fieldset" : W ? "div" : "label", J = x ? "legend" : W ? "h2" : "span", K = C || (r ? `${e}-helptext` : void 0);
1845
+ const [b, $] = pe(!1), U = () => {
1846
+ $(!b);
1847
+ }, A = () => i ? "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" : "", M = i ? s : f ? p : "", H = k ? "pkt-inputwrapper--disabled" : "", K = y ? "pkt-inputwrapper--inline" : "", q = c ? "pkt-inputwrapper--error" : "", Y = !!o && o !== "", _ = a || 'Les mer <span class="pkt-sr-only">om inputfeltet</span>', D = w ? "fieldset" : Y ? "div" : "label", V = w ? "legend" : Y ? "h2" : "span", J = C || (r ? `${e}-helptext` : void 0);
1848
1848
  return /* @__PURE__ */ h(
1849
1849
  "div",
1850
1850
  {
1851
- className: ["pkt-inputwrapper", T, H, Y, G].join(
1851
+ className: ["pkt-inputwrapper", j, H, K, q].join(
1852
1852
  " "
1853
1853
  ),
1854
1854
  ref: g,
1855
1855
  children: [
1856
- S ? /* @__PURE__ */ l(ee, { children: /* @__PURE__ */ h(
1857
- $,
1856
+ S ? /* @__PURE__ */ l(X, { children: /* @__PURE__ */ h(
1857
+ D,
1858
1858
  {
1859
- htmlFor: x ? void 0 : e,
1860
- "aria-describedby": W ? void 0 : C,
1861
- className: `pkt-inputwrapper__label${x ? " pkt-inputwrapper__fieldset" : ""}`,
1859
+ htmlFor: w ? void 0 : e,
1860
+ "aria-describedby": Y ? void 0 : C,
1861
+ className: `pkt-inputwrapper__label${w ? " pkt-inputwrapper__fieldset" : ""}`,
1862
1862
  children: [
1863
1863
  /* @__PURE__ */ h(
1864
- J,
1864
+ V,
1865
1865
  {
1866
1866
  id: `${e}-label`,
1867
- className: `${x ? " pkt-inputwrapper__legend" : ""}`,
1867
+ className: `${w ? " pkt-inputwrapper__legend" : ""}`,
1868
1868
  children: [
1869
1869
  n,
1870
- M !== "" && /* @__PURE__ */ l("span", { className: U(), children: M })
1870
+ M !== "" && /* @__PURE__ */ l("span", { className: A(), children: M })
1871
1871
  ]
1872
1872
  }
1873
1873
  ),
@@ -1879,38 +1879,38 @@ const Re = B(
1879
1879
  dangerouslySetInnerHTML: { __html: r }
1880
1880
  }
1881
1881
  ),
1882
- W && o !== "" && /* @__PURE__ */ h("div", { children: [
1882
+ Y && o !== "" && /* @__PURE__ */ h("div", { children: [
1883
1883
  /* @__PURE__ */ l(
1884
- ye,
1884
+ ue,
1885
1885
  {
1886
1886
  skin: "tertiary",
1887
1887
  size: "small",
1888
1888
  variant: "icon-right",
1889
- iconName: j ? "chevron-thin-up" : "chevron-thin-down",
1889
+ iconName: b ? "chevron-thin-up" : "chevron-thin-down",
1890
1890
  className: "pkt-inputwrapper__helptext-expandable pkt-link pkt-link--icon-right",
1891
- onClick: A,
1891
+ onClick: U,
1892
1892
  children: /* @__PURE__ */ l("span", { dangerouslySetInnerHTML: { __html: _ } })
1893
1893
  }
1894
1894
  ),
1895
1895
  /* @__PURE__ */ l(
1896
1896
  "div",
1897
1897
  {
1898
- className: `pkt-inputwrapper__helptext ${j ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1898
+ className: `pkt-inputwrapper__helptext ${b ? "pkt-inputwrapper__helptext-expandable-open" : "pkt-inputwrapper__helptext-expandable-closed"}`,
1899
1899
  children: /* @__PURE__ */ l("span", { dangerouslySetInnerHTML: { __html: o } })
1900
1900
  }
1901
1901
  ),
1902
- !x && /* @__PURE__ */ l("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": K, children: n })
1902
+ !w && /* @__PURE__ */ l("label", { htmlFor: e, className: "pkt-sr-only", "aria-describedby": J, children: n })
1903
1903
  ] }),
1904
- /* @__PURE__ */ l(ee, { children: P })
1904
+ /* @__PURE__ */ l(X, { children: P })
1905
1905
  ]
1906
1906
  }
1907
- ) }) : /* @__PURE__ */ h(ee, { children: [
1908
- !x && /* @__PURE__ */ l(
1907
+ ) }) : /* @__PURE__ */ h(X, { children: [
1908
+ !w && /* @__PURE__ */ l(
1909
1909
  "label",
1910
1910
  {
1911
1911
  htmlFor: e,
1912
1912
  className: "pkt-sr-only",
1913
- "aria-describedby": K,
1913
+ "aria-describedby": J,
1914
1914
  id: `${e}-label`,
1915
1915
  children: n
1916
1916
  }
@@ -1947,7 +1947,7 @@ const rr = B(
1947
1947
  rel: o ? "noopener noreferrer" : void 0,
1948
1948
  ref: c,
1949
1949
  children: [
1950
- /* @__PURE__ */ l(y, { className: "pkt-link__icon", name: r }),
1950
+ /* @__PURE__ */ l(E, { className: "pkt-link__icon", name: r }),
1951
1951
  /* @__PURE__ */ h("div", { className: "pkt-linkcard__content", children: [
1952
1952
  /* @__PURE__ */ l("div", { className: `pkt-linkcard__title ${s ? "pkt-link pkt-link--external" : ""}`, children: f }),
1953
1953
  /* @__PURE__ */ l("div", { className: "pkt-linkcard__text", children: e })
@@ -2008,6 +2008,112 @@ const dr = ({
2008
2008
  );
2009
2009
  ar.displayName = "PktRadioButton";
2010
2010
  const mr = B(
2011
+ ({
2012
+ action: e,
2013
+ appearance: n = "local",
2014
+ disabled: r = !1,
2015
+ fullwidth: o = !1,
2016
+ id: a,
2017
+ label: i,
2018
+ method: s = "get",
2019
+ name: f,
2020
+ placeholder: p = "Søk…",
2021
+ suggestions: c,
2022
+ value: m = "",
2023
+ onSearch: k,
2024
+ onSuggestionClick: y,
2025
+ ...C
2026
+ }, S) => {
2027
+ const P = (b, $) => {
2028
+ b ? b() : y && y($);
2029
+ }, j = `pkt-searchinput pkt-searchinput--${n} ${o ? "pkt-searchinput--fullwidth" : ""}`;
2030
+ return /* @__PURE__ */ h(
2031
+ e ? "form" : "div",
2032
+ {
2033
+ className: j,
2034
+ onSubmit: k && (() => k(m)),
2035
+ action: e || void 0,
2036
+ method: e ? s : void 0,
2037
+ role: "search",
2038
+ ref: S,
2039
+ ...C,
2040
+ children: [
2041
+ /* @__PURE__ */ h(
2042
+ i ? "label" : "div",
2043
+ {
2044
+ htmlFor: i ? a : void 0,
2045
+ className: i ? "pkt-inputwrapper__label" : "",
2046
+ children: [
2047
+ i && /* @__PURE__ */ l(X, { children: i }),
2048
+ /* @__PURE__ */ h(
2049
+ "div",
2050
+ {
2051
+ className: n === "local" ? "pkt-input__container" : "pkt-searchinput__field",
2052
+ children: [
2053
+ /* @__PURE__ */ l(
2054
+ "input",
2055
+ {
2056
+ className: `pkt-input ${o ? "pkt-input--fullwidth" : ""}`,
2057
+ type: "search",
2058
+ name: f || a,
2059
+ id: a,
2060
+ placeholder: p,
2061
+ value: m,
2062
+ disabled: r,
2063
+ onInput: k && ((b) => k(b.currentTarget.value)),
2064
+ autoComplete: "off",
2065
+ "aria-autocomplete": "list",
2066
+ "aria-controls": `${a}-suggestions`
2067
+ }
2068
+ ),
2069
+ /* @__PURE__ */ l(
2070
+ ue,
2071
+ {
2072
+ className: `pkt-searchinput__button ${n === "local" ? "pkt-input-icon" : ""}`,
2073
+ variant: "icon-only",
2074
+ iconName: "magnifying-glass-big",
2075
+ skin: n === "local" ? "tertiary" : "primary",
2076
+ color: n === "global" ? "yellow" : void 0,
2077
+ type: "submit",
2078
+ disabled: r,
2079
+ onClick: k && (() => k(m)),
2080
+ onKeyUp: k && ((b) => b.key === "Enter" && k(m)),
2081
+ children: i || p
2082
+ }
2083
+ )
2084
+ ]
2085
+ }
2086
+ )
2087
+ ]
2088
+ }
2089
+ ),
2090
+ c && /* @__PURE__ */ l(
2091
+ "ul",
2092
+ {
2093
+ id: `${a}-suggestions`,
2094
+ className: "pkt-searchinput__suggestions",
2095
+ "aria-live": "assertive",
2096
+ children: c.map((b, $) => /* @__PURE__ */ l("li", { children: G.createElement(
2097
+ b.href ? "a" : b.onClick ? "button" : "div",
2098
+ {
2099
+ href: b.href,
2100
+ className: `pkt-searchinput__suggestion ${b.onClick ? "pkt-link-button" : ""} ${b.href || b.onClick ? "pkt-searchinput__suggestion--has-hover" : ""}`,
2101
+ type: b.onClick ? "button" : void 0,
2102
+ onClick: () => P(b.onClick, $),
2103
+ onKeyUp: () => P(b.onClick, $)
2104
+ },
2105
+ /* @__PURE__ */ h(X, { children: [
2106
+ b.title && /* @__PURE__ */ l("h3", { className: "pkt-searchinput__suggestion-title", children: b.title }),
2107
+ b.text && /* @__PURE__ */ l("p", { className: "pkt-searchinput__suggestion-text", children: b.text })
2108
+ ] })
2109
+ ) }, `search-suggestion-${$}`))
2110
+ }
2111
+ )
2112
+ ]
2113
+ }
2114
+ );
2115
+ }
2116
+ ), hr = B(
2011
2117
  ({
2012
2118
  ariaDescribedby: e,
2013
2119
  ariaLabelledby: n,
@@ -2020,54 +2126,54 @@ const mr = B(
2020
2126
  helptextDropdown: p,
2021
2127
  helptextDropdownButton: c,
2022
2128
  id: m,
2023
- inline: v = !1,
2024
- fullwidth: E = !1,
2129
+ inline: k = !1,
2130
+ fullwidth: y = !1,
2025
2131
  label: C,
2026
2132
  name: S,
2027
2133
  optionalTag: P = !1,
2028
- optionalText: T,
2029
- requiredTag: x = !1,
2134
+ optionalText: j,
2135
+ requiredTag: w = !1,
2030
2136
  requiredText: g,
2031
- ...j
2032
- }, F) => {
2033
- const A = [o, "pkt-select"].join(" ");
2137
+ ...b
2138
+ }, $) => {
2139
+ const U = [o, "pkt-select"].join(" ");
2034
2140
  return /* @__PURE__ */ l(
2035
2141
  Re,
2036
2142
  {
2037
- className: A,
2143
+ className: U,
2038
2144
  forId: m,
2039
2145
  label: C,
2040
2146
  helptext: f,
2041
2147
  helptextDropdown: p,
2042
2148
  helptextDropdownButton: c,
2043
2149
  optionalTag: P,
2044
- optionalText: T,
2045
- requiredTag: x,
2150
+ optionalText: j,
2151
+ requiredTag: w,
2046
2152
  requiredText: g,
2047
2153
  hasError: s,
2048
2154
  errorMessage: i,
2049
2155
  disabled: a,
2050
- inline: v,
2156
+ inline: k,
2051
2157
  ariaDescribedby: e,
2052
2158
  children: /* @__PURE__ */ l(
2053
2159
  "select",
2054
2160
  {
2055
- ref: F,
2056
- className: `pkt-input ${E ? "pkt-input--fullwidth" : ""}`,
2161
+ ref: $,
2162
+ className: `pkt-input ${y ? "pkt-input--fullwidth" : ""}`,
2057
2163
  "aria-invalid": s,
2058
2164
  "aria-errormessage": `${m}-error`,
2059
2165
  "aria-labelledby": n || `${m}-label`,
2060
2166
  disabled: a,
2061
2167
  id: m,
2062
2168
  name: S || m,
2063
- ...j,
2169
+ ...b,
2064
2170
  children: r
2065
2171
  }
2066
2172
  )
2067
2173
  }
2068
2174
  );
2069
2175
  }
2070
- ), lr = ({ isResponsive: e, children: n }) => e ? /* @__PURE__ */ l("div", { className: "pkt-table-container", children: n }) : /* @__PURE__ */ l(ee, { children: n }), hr = ({
2176
+ ), lr = ({ isResponsive: e, children: n }) => e ? /* @__PURE__ */ l("div", { className: "pkt-table-container", children: n }) : /* @__PURE__ */ l(X, { children: n }), kr = ({
2071
2177
  isResponsive: e,
2072
2178
  modifiers: { info: n = !1, success: r = !1, strong: o = !1, shadow: a = !1 } = {},
2073
2179
  children: i
@@ -2082,7 +2188,7 @@ const mr = B(
2082
2188
  }),
2083
2189
  children: i
2084
2190
  }
2085
- ) }), kr = ({ children: e }) => /* @__PURE__ */ l("td", { className: "pkt-table__th", children: e }), vr = ({ children: e }) => /* @__PURE__ */ l("th", { className: "pkt-table__th", children: e }), or = B(({
2191
+ ) }), vr = ({ children: e }) => /* @__PURE__ */ l("td", { className: "pkt-table__th", children: e }), _r = ({ children: e }) => /* @__PURE__ */ l("th", { className: "pkt-table__th", children: e }), or = B(({
2086
2192
  children: e,
2087
2193
  className: n,
2088
2194
  skin: r = "blue",
@@ -2095,8 +2201,8 @@ const mr = B(
2095
2201
  onClick: c = () => {
2096
2202
  }
2097
2203
  }, m) => {
2098
- const [v, E] = ue(!1), C = (x) => {
2099
- E(!0), c(x);
2204
+ const [k, y] = pe(!1), C = (w) => {
2205
+ y(!0), c(w);
2100
2206
  }, S = [
2101
2207
  "pkt-tag",
2102
2208
  a && `pkt-tag--${a}`,
@@ -2113,8 +2219,8 @@ const mr = B(
2113
2219
  s && i ? "pkt-btn--icons-right-and-left" : null,
2114
2220
  i && !s ? "pkt-btn--icon-right" : null,
2115
2221
  n
2116
- ].filter(Boolean).join(" "), T = !v;
2117
- return i && s ? /* @__PURE__ */ l(ee, { children: T && /* @__PURE__ */ h(
2222
+ ].filter(Boolean).join(" "), j = !k;
2223
+ return i && s ? /* @__PURE__ */ l(X, { children: j && /* @__PURE__ */ h(
2118
2224
  "button",
2119
2225
  {
2120
2226
  className: P,
@@ -2123,12 +2229,12 @@ const mr = B(
2123
2229
  onClick: C,
2124
2230
  ref: m,
2125
2231
  children: [
2126
- /* @__PURE__ */ l(y, { className: "pkt-tag__icon", name: s }),
2232
+ /* @__PURE__ */ l(E, { className: "pkt-tag__icon", name: s }),
2127
2233
  e,
2128
- /* @__PURE__ */ l(y, { className: "pkt-tag__close-btn", name: "close" })
2234
+ /* @__PURE__ */ l(E, { className: "pkt-tag__close-btn", name: "close" })
2129
2235
  ]
2130
2236
  }
2131
- ) }) : i ? /* @__PURE__ */ l(ee, { children: T && /* @__PURE__ */ h(
2237
+ ) }) : i ? /* @__PURE__ */ l(X, { children: j && /* @__PURE__ */ h(
2132
2238
  "button",
2133
2239
  {
2134
2240
  className: P,
@@ -2137,17 +2243,17 @@ const mr = B(
2137
2243
  onClick: C,
2138
2244
  ref: m,
2139
2245
  children: [
2140
- /* @__PURE__ */ l(y, { className: "pkt-tag__close-btn", name: "close" }),
2246
+ /* @__PURE__ */ l(E, { className: "pkt-tag__close-btn", name: "close" }),
2141
2247
  e
2142
2248
  ]
2143
2249
  }
2144
2250
  ) }) : s ? /* @__PURE__ */ h("span", { className: S, children: [
2145
- /* @__PURE__ */ l(y, { className: "pkt-tag__icon", name: s }),
2251
+ /* @__PURE__ */ l(E, { className: "pkt-tag__icon", name: s }),
2146
2252
  e
2147
2253
  ] }) : /* @__PURE__ */ l("span", { className: S, children: e });
2148
2254
  });
2149
2255
  or.displayName = "PktTag";
2150
- const _r = B(
2256
+ const br = B(
2151
2257
  ({
2152
2258
  id: e,
2153
2259
  ariaDescribedby: n,
@@ -2160,75 +2266,75 @@ const _r = B(
2160
2266
  hasError: p,
2161
2267
  helptext: c,
2162
2268
  helptextDropdown: m,
2163
- helptextDropdownButton: v,
2164
- inline: E,
2269
+ helptextDropdownButton: k,
2270
+ inline: y,
2165
2271
  fullwidth: C = !1,
2166
2272
  label: S,
2167
2273
  name: P,
2168
- optionalTag: T = !1,
2169
- optionalText: x,
2274
+ optionalTag: j = !1,
2275
+ optionalText: w,
2170
2276
  requiredTag: g = !1,
2171
- requiredText: j,
2172
- placeholder: F,
2173
- rows: A,
2174
- useWrapper: U = !0,
2277
+ requiredText: b,
2278
+ placeholder: $,
2279
+ rows: U,
2280
+ useWrapper: A = !0,
2175
2281
  onChange: M,
2176
2282
  ...H
2177
- }, Y) => {
2178
- const G = [i, "pkt-textinput", "pkt-textarea"].join(" "), W = r || `${e}-label`, _ = cn(null), [$, J] = ue(0), K = (Z) => {
2179
- var Q, oe;
2180
- if (o && J(((oe = (Q = Z.currentTarget) == null ? void 0 : Q.value) == null ? void 0 : oe.length) || 0), M)
2181
- return M(Z);
2283
+ }, K) => {
2284
+ const q = [i, "pkt-textinput", "pkt-textarea"].join(" "), Y = r || `${e}-label`, _ = cn(null), [D, V] = pe(0), J = (Q) => {
2285
+ var ee, oe;
2286
+ if (o && V(((oe = (ee = Q.currentTarget) == null ? void 0 : ee.value) == null ? void 0 : oe.length) || 0), M)
2287
+ return M(Q);
2182
2288
  };
2183
2289
  return yt(() => {
2184
- var Z, Q;
2185
- typeof Y == "function" && Y(_.current), o && J(((Q = (Z = _ == null ? void 0 : _.current) == null ? void 0 : Z.value) == null ? void 0 : Q.length) || 0);
2186
- }, [Y]), /* @__PURE__ */ h(
2290
+ var Q, ee;
2291
+ typeof K == "function" && K(_.current), o && V(((ee = (Q = _ == null ? void 0 : _.current) == null ? void 0 : Q.value) == null ? void 0 : ee.length) || 0);
2292
+ }, [K]), /* @__PURE__ */ h(
2187
2293
  Re,
2188
2294
  {
2189
2295
  ariaDescribedby: n,
2190
- className: G,
2296
+ className: q,
2191
2297
  disabled: s,
2192
2298
  errorMessage: f,
2193
2299
  forId: e,
2194
2300
  hasError: p,
2195
2301
  helptext: c,
2196
2302
  helptextDropdown: m,
2197
- helptextDropdownButton: v,
2198
- inline: E,
2303
+ helptextDropdownButton: k,
2304
+ inline: y,
2199
2305
  label: S,
2200
- optionalTag: T,
2201
- optionalText: x,
2306
+ optionalTag: j,
2307
+ optionalText: w,
2202
2308
  requiredTag: g,
2203
- requiredText: j,
2204
- useWrapper: U,
2309
+ requiredText: b,
2310
+ useWrapper: A,
2205
2311
  children: [
2206
2312
  /* @__PURE__ */ l(
2207
2313
  "textarea",
2208
2314
  {
2209
2315
  ref: _,
2210
- className: `pkt-input ${C ? "pkt-input--fullwidth" : ""} ${a && $ > a ? "pkt-input--counter-error" : ""}`,
2316
+ className: `pkt-input ${C ? "pkt-input--fullwidth" : ""} ${a && D > a ? "pkt-input--counter-error" : ""}`,
2211
2317
  name: P || e,
2212
2318
  id: e,
2213
- placeholder: F,
2319
+ placeholder: $,
2214
2320
  disabled: s,
2215
- rows: A,
2216
- "aria-labelledby": W,
2321
+ rows: U,
2322
+ "aria-labelledby": Y,
2217
2323
  "aria-invalid": p,
2218
2324
  "aria-errormessage": `${e}-error`,
2219
2325
  ...H,
2220
- onChange: K
2326
+ onChange: J
2221
2327
  }
2222
2328
  ),
2223
2329
  o && /* @__PURE__ */ h("div", { className: "pkt-input__counter", "aria-live": "polite", "aria-atomic": !0, children: [
2224
- $ || 0,
2330
+ D || 0,
2225
2331
  a && `/${a}`
2226
2332
  ] })
2227
2333
  ]
2228
2334
  }
2229
2335
  );
2230
2336
  }
2231
- ), br = B(
2337
+ ), gr = B(
2232
2338
  ({
2233
2339
  id: e,
2234
2340
  ariaDescribedby: n,
@@ -2241,29 +2347,30 @@ const _r = B(
2241
2347
  helptext: p,
2242
2348
  helptextDropdown: c,
2243
2349
  helptextDropdownButton: m,
2244
- iconNameRight: v,
2245
- inline: E = !1,
2350
+ iconNameRight: k,
2351
+ inline: y = !1,
2246
2352
  fullwidth: C = !1,
2247
2353
  label: S,
2248
2354
  name: P,
2249
- optionalTag: T = !1,
2250
- optionalText: x,
2355
+ optionalTag: j = !1,
2356
+ optionalText: w,
2251
2357
  requiredTag: g = !1,
2252
- requiredText: j,
2253
- placeholder: F,
2254
- prefix: A,
2255
- suffix: U,
2358
+ requiredText: b,
2359
+ placeholder: $,
2360
+ prefix: U,
2361
+ suffix: A,
2256
2362
  type: M = "text",
2257
2363
  useWrapper: H = !0,
2258
- value: Y,
2259
- ...G
2260
- }, W) => {
2261
- const _ = [a, "pkt-textinput"].join(" "), $ = r || `${e}-label`;
2364
+ omitSearchIcon: K = !1,
2365
+ value: q,
2366
+ ...Y
2367
+ }, _) => {
2368
+ const D = [a, "pkt-textinput"].join(" "), V = r || `${e}-label`, J = M === "search" && !k && !K;
2262
2369
  return /* @__PURE__ */ l(
2263
2370
  Re,
2264
2371
  {
2265
2372
  ariaDescribedby: n,
2266
- className: _,
2373
+ className: D,
2267
2374
  disabled: i,
2268
2375
  errorMessage: s,
2269
2376
  forId: e,
@@ -2271,38 +2378,40 @@ const _r = B(
2271
2378
  helptext: p,
2272
2379
  helptextDropdown: c,
2273
2380
  helptextDropdownButton: m,
2274
- inline: E,
2381
+ inline: y,
2275
2382
  label: S,
2276
- optionalTag: T,
2277
- optionalText: x,
2383
+ optionalTag: j,
2384
+ optionalText: w,
2278
2385
  requiredTag: g,
2279
- requiredText: j,
2386
+ requiredText: b,
2280
2387
  useWrapper: H,
2281
2388
  children: /* @__PURE__ */ h("div", { className: "pkt-input__container", children: [
2282
- A && /* @__PURE__ */ l("div", { className: "pkt-input-prefix", children: A }),
2389
+ U && /* @__PURE__ */ l("div", { className: "pkt-input-prefix", children: U }),
2283
2390
  /* @__PURE__ */ l(
2284
2391
  "input",
2285
2392
  {
2286
- ref: W,
2393
+ ref: _,
2287
2394
  className: `pkt-input ${C ? "pkt-input--fullwidth" : ""}`,
2288
2395
  type: M,
2289
2396
  name: P || e,
2290
2397
  id: e,
2291
- placeholder: F,
2398
+ placeholder: $,
2292
2399
  autoComplete: o,
2293
- value: Y,
2400
+ value: q,
2294
2401
  disabled: i,
2295
2402
  "aria-invalid": f,
2296
2403
  "aria-errormessage": `${e}-error`,
2297
- "aria-labelledby": $,
2298
- ...G
2404
+ "aria-labelledby": V,
2405
+ ...Y
2299
2406
  }
2300
2407
  ),
2301
- U && /* @__PURE__ */ h("p", { className: "pkt-input-suffix", children: [
2302
- U,
2303
- v && /* @__PURE__ */ l(y, { className: "pkt-input-suffix-icon", name: v })
2408
+ A && /* @__PURE__ */ h("p", { className: "pkt-input-suffix", children: [
2409
+ A,
2410
+ k && /* @__PURE__ */ l(E, { className: "pkt-input-suffix-icon", name: k }),
2411
+ J && /* @__PURE__ */ l(E, { className: "pkt-input-suffix-icon", name: "magnifying-glass-big" })
2304
2412
  ] }),
2305
- !U && v && /* @__PURE__ */ l(y, { className: "pkt-input-icon", name: v })
2413
+ !A && k && /* @__PURE__ */ l(E, { className: "pkt-input-icon", name: k }),
2414
+ !A && J && /* @__PURE__ */ l(E, { className: "pkt-input-icon", name: "magnifying-glass-big" })
2306
2415
  ] })
2307
2416
  }
2308
2417
  );
@@ -2312,23 +2421,24 @@ export {
2312
2421
  _n as PktAlert,
2313
2422
  sr as PktBackLink,
2314
2423
  cr as PktBreadcrumbs,
2315
- ye as PktButton,
2424
+ ue as PktButton,
2316
2425
  er as PktCheckbox,
2317
2426
  ur as PktFooter,
2318
2427
  pr as PktFooterSimple,
2319
2428
  fr as PktHeader,
2320
- y as PktIcon,
2429
+ E as PktIcon,
2321
2430
  vn as PktIconContext,
2322
2431
  nr as PktInput,
2323
2432
  Re as PktInputWrapper,
2324
2433
  rr as PktLinkCard,
2325
2434
  dr as PktMessagebox,
2326
2435
  ar as PktRadioButton,
2327
- mr as PktSelect,
2328
- hr as PktTable,
2329
- kr as PktTableData,
2330
- vr as PktTableHeader,
2436
+ mr as PktSearchInput,
2437
+ hr as PktSelect,
2438
+ kr as PktTable,
2439
+ vr as PktTableData,
2440
+ _r as PktTableHeader,
2331
2441
  or as PktTag,
2332
- _r as PktTextarea,
2333
- br as PktTextinput
2442
+ br as PktTextarea,
2443
+ gr as PktTextinput
2334
2444
  };