@oslokommune/punkt-react 2.0.2 → 2.0.4

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,10 +1,10 @@
1
- import re, { forwardRef as Se } from "react";
2
- var Y = {}, dr = {
1
+ import re, { useState as dr, forwardRef as Oe } from "react";
2
+ var Y = {}, pr = {
3
3
  get exports() {
4
4
  return Y;
5
5
  },
6
- set exports(n) {
7
- Y = n;
6
+ set exports(o) {
7
+ Y = o;
8
8
  }
9
9
  }, I = {};
10
10
  /**
@@ -17,22 +17,22 @@ var Y = {}, dr = {
17
17
  * LICENSE file in the root directory of this source tree.
18
18
  */
19
19
  var Pe;
20
- function pr() {
20
+ function vr() {
21
21
  if (Pe)
22
22
  return I;
23
23
  Pe = 1;
24
- var n = re, c = Symbol.for("react.element"), p = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, v = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function y(_, m, w) {
26
- var E, x = {}, S = null, L = null;
27
- w !== void 0 && (S = "" + w), m.key !== void 0 && (S = "" + m.key), m.ref !== void 0 && (L = m.ref);
28
- for (E in m)
29
- u.call(m, E) && !f.hasOwnProperty(E) && (x[E] = m[E]);
24
+ var o = re, f = Symbol.for("react.element"), d = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, v = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ function k(_, m, T) {
26
+ var g, R = {}, P = null, L = null;
27
+ T !== void 0 && (P = "" + T), m.key !== void 0 && (P = "" + m.key), m.ref !== void 0 && (L = m.ref);
28
+ for (g in m)
29
+ l.call(m, g) && !u.hasOwnProperty(g) && (R[g] = m[g]);
30
30
  if (_ && _.defaultProps)
31
- for (E in m = _.defaultProps, m)
32
- x[E] === void 0 && (x[E] = m[E]);
33
- return { $$typeof: c, type: _, key: S, ref: L, props: x, _owner: v.current };
31
+ for (g in m = _.defaultProps, m)
32
+ R[g] === void 0 && (R[g] = m[g]);
33
+ return { $$typeof: f, type: _, key: P, ref: L, props: R, _owner: v.current };
34
34
  }
35
- return I.Fragment = p, I.jsx = y, I.jsxs = y, I;
35
+ return I.Fragment = d, I.jsx = k, I.jsxs = k, I;
36
36
  }
37
37
  var W = {};
38
38
  /**
@@ -44,18 +44,18 @@ var W = {};
44
44
  * This source code is licensed under the MIT license found in the
45
45
  * LICENSE file in the root directory of this source tree.
46
46
  */
47
- var Oe;
48
- function vr() {
49
- return Oe || (Oe = 1, process.env.NODE_ENV !== "production" && function() {
50
- var n = re, c = Symbol.for("react.element"), p = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), te = Symbol.iterator, Ne = "@@iterator";
47
+ var Ne;
48
+ function mr() {
49
+ return Ne || (Ne = 1, process.env.NODE_ENV !== "production" && function() {
50
+ var o = re, f = Symbol.for("react.element"), d = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), v = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), _ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), L = Symbol.for("react.offscreen"), te = Symbol.iterator, Ce = "@@iterator";
51
51
  function je(e) {
52
52
  if (e === null || typeof e != "object")
53
53
  return null;
54
- var r = te && e[te] || e[Ne];
54
+ var r = te && e[te] || e[Ce];
55
55
  return typeof r == "function" ? r : null;
56
56
  }
57
- var j = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
- function g(e) {
57
+ var j = o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
58
+ function y(e) {
59
59
  {
60
60
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
61
61
  t[a - 1] = arguments[a];
@@ -64,18 +64,18 @@ function vr() {
64
64
  }
65
65
  function Fe(e, r, t) {
66
66
  {
67
- var a = j.ReactDebugCurrentFrame, l = a.getStackAddendum();
68
- l !== "" && (r += "%s", t = t.concat([l]));
69
- var d = t.map(function(i) {
70
- return String(i);
67
+ var a = j.ReactDebugCurrentFrame, c = a.getStackAddendum();
68
+ c !== "" && (r += "%s", t = t.concat([c]));
69
+ var p = t.map(function(s) {
70
+ return String(s);
71
71
  });
72
- d.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, d);
72
+ p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
73
73
  }
74
74
  }
75
75
  var De = !1, Ae = !1, $e = !1, Ie = !1, We = !1, ae;
76
76
  ae = Symbol.for("react.module.reference");
77
77
  function Ye(e) {
78
- return !!(typeof e == "string" || typeof e == "function" || e === u || e === f || We || e === v || e === w || e === E || Ie || e === L || De || Ae || $e || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === y || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
78
+ return !!(typeof e == "string" || typeof e == "function" || e === l || e === u || We || e === v || e === T || e === g || Ie || e === L || De || Ae || $e || typeof e == "object" && e !== null && (e.$$typeof === P || e.$$typeof === R || e.$$typeof === k || e.$$typeof === _ || e.$$typeof === m || // This needs to include all possible module reference object
79
79
  // types supported by any Flight configuration anywhere since
80
80
  // we don't know which Flight build this will end up being used
81
81
  // with.
@@ -85,31 +85,31 @@ function vr() {
85
85
  var a = e.displayName;
86
86
  if (a)
87
87
  return a;
88
- var l = r.displayName || r.name || "";
89
- return l !== "" ? t + "(" + l + ")" : t;
88
+ var c = r.displayName || r.name || "";
89
+ return c !== "" ? t + "(" + c + ")" : t;
90
90
  }
91
91
  function ne(e) {
92
92
  return e.displayName || "Context";
93
93
  }
94
- function P(e) {
94
+ function N(e) {
95
95
  if (e == null)
96
96
  return null;
97
- if (typeof e.tag == "number" && g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
97
+ if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
98
98
  return e.displayName || e.name || null;
99
99
  if (typeof e == "string")
100
100
  return e;
101
101
  switch (e) {
102
- case u:
102
+ case l:
103
103
  return "Fragment";
104
- case p:
104
+ case d:
105
105
  return "Portal";
106
- case f:
106
+ case u:
107
107
  return "Profiler";
108
108
  case v:
109
109
  return "StrictMode";
110
- case w:
110
+ case T:
111
111
  return "Suspense";
112
- case E:
112
+ case g:
113
113
  return "SuspenseList";
114
114
  }
115
115
  if (typeof e == "object")
@@ -117,18 +117,18 @@ function vr() {
117
117
  case _:
118
118
  var r = e;
119
119
  return ne(r) + ".Consumer";
120
- case y:
120
+ case k:
121
121
  var t = e;
122
122
  return ne(t._context) + ".Provider";
123
123
  case m:
124
124
  return Le(e, e.render, "ForwardRef");
125
- case x:
125
+ case R:
126
126
  var a = e.displayName || null;
127
- return a !== null ? a : P(e.type) || "Memo";
128
- case S: {
129
- var l = e, d = l._payload, i = l._init;
127
+ return a !== null ? a : N(e.type) || "Memo";
128
+ case P: {
129
+ var c = e, p = c._payload, s = c._init;
130
130
  try {
131
- return P(i(d));
131
+ return N(s(p));
132
132
  } catch {
133
133
  return null;
134
134
  }
@@ -136,14 +136,14 @@ function vr() {
136
136
  }
137
137
  return null;
138
138
  }
139
- var C = Object.assign, A = 0, oe, ie, se, le, ue, ce, fe;
139
+ var C = Object.assign, A = 0, oe, ie, se, le, ce, ue, fe;
140
140
  function de() {
141
141
  }
142
142
  de.__reactDisabledLog = !0;
143
143
  function Ve() {
144
144
  {
145
145
  if (A === 0) {
146
- oe = console.log, ie = console.info, se = console.warn, le = console.error, ue = console.group, ce = console.groupCollapsed, fe = console.groupEnd;
146
+ oe = console.log, ie = console.info, se = console.warn, le = console.error, ce = console.group, ue = console.groupCollapsed, fe = console.groupEnd;
147
147
  var e = {
148
148
  configurable: !0,
149
149
  enumerable: !0,
@@ -185,17 +185,17 @@ function vr() {
185
185
  value: le
186
186
  }),
187
187
  group: C({}, e, {
188
- value: ue
188
+ value: ce
189
189
  }),
190
190
  groupCollapsed: C({}, e, {
191
- value: ce
191
+ value: ue
192
192
  }),
193
193
  groupEnd: C({}, e, {
194
194
  value: fe
195
195
  })
196
196
  });
197
197
  }
198
- A < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
+ A < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
199
199
  }
200
200
  }
201
201
  var G = j.ReactCurrentDispatcher, J;
@@ -204,8 +204,8 @@ function vr() {
204
204
  if (J === void 0)
205
205
  try {
206
206
  throw Error();
207
- } catch (l) {
208
- var a = l.stack.trim().match(/\n( *(at )?)/);
207
+ } catch (c) {
208
+ var a = c.stack.trim().match(/\n( *(at )?)/);
209
209
  J = a && a[1] || "";
210
210
  }
211
211
  return `
@@ -227,33 +227,33 @@ function vr() {
227
227
  }
228
228
  var a;
229
229
  z = !0;
230
- var l = Error.prepareStackTrace;
230
+ var c = Error.prepareStackTrace;
231
231
  Error.prepareStackTrace = void 0;
232
- var d;
233
- d = G.current, G.current = null, Ve();
232
+ var p;
233
+ p = G.current, G.current = null, Ve();
234
234
  try {
235
235
  if (r) {
236
- var i = function() {
236
+ var s = function() {
237
237
  throw Error();
238
238
  };
239
- if (Object.defineProperty(i.prototype, "props", {
239
+ if (Object.defineProperty(s.prototype, "props", {
240
240
  set: function() {
241
241
  throw Error();
242
242
  }
243
243
  }), typeof Reflect == "object" && Reflect.construct) {
244
244
  try {
245
- Reflect.construct(i, []);
245
+ Reflect.construct(s, []);
246
246
  } catch (O) {
247
247
  a = O;
248
248
  }
249
- Reflect.construct(e, [], i);
249
+ Reflect.construct(e, [], s);
250
250
  } else {
251
251
  try {
252
- i.call();
252
+ s.call();
253
253
  } catch (O) {
254
254
  a = O;
255
255
  }
256
- e.call(i.prototype);
256
+ e.call(s.prototype);
257
257
  }
258
258
  } else {
259
259
  try {
@@ -265,25 +265,25 @@ function vr() {
265
265
  }
266
266
  } catch (O) {
267
267
  if (O && a && typeof O.stack == "string") {
268
- for (var o = O.stack.split(`
269
- `), k = a.stack.split(`
270
- `), h = o.length - 1, b = k.length - 1; h >= 1 && b >= 0 && o[h] !== k[b]; )
268
+ for (var i = O.stack.split(`
269
+ `), E = a.stack.split(`
270
+ `), h = i.length - 1, b = E.length - 1; h >= 1 && b >= 0 && i[h] !== E[b]; )
271
271
  b--;
272
272
  for (; h >= 1 && b >= 0; h--, b--)
273
- if (o[h] !== k[b]) {
273
+ if (i[h] !== E[b]) {
274
274
  if (h !== 1 || b !== 1)
275
275
  do
276
- if (h--, b--, b < 0 || o[h] !== k[b]) {
277
- var R = `
278
- ` + o[h].replace(" at new ", " at ");
279
- return e.displayName && R.includes("<anonymous>") && (R = R.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, R), R;
276
+ if (h--, b--, b < 0 || i[h] !== E[b]) {
277
+ var w = `
278
+ ` + i[h].replace(" at new ", " at ");
279
+ return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && M.set(e, w), w;
280
280
  }
281
281
  while (h >= 1 && b >= 0);
282
282
  break;
283
283
  }
284
284
  }
285
285
  } finally {
286
- z = !1, G.current = d, Me(), Error.prepareStackTrace = l;
286
+ z = !1, G.current = p, Me(), Error.prepareStackTrace = c;
287
287
  }
288
288
  var D = e ? e.displayName || e.name : "", we = D ? V(D) : "";
289
289
  return typeof e == "function" && M.set(e, we), we;
@@ -303,21 +303,21 @@ function vr() {
303
303
  if (typeof e == "string")
304
304
  return V(e);
305
305
  switch (e) {
306
- case w:
306
+ case T:
307
307
  return V("Suspense");
308
- case E:
308
+ case g:
309
309
  return V("SuspenseList");
310
310
  }
311
311
  if (typeof e == "object")
312
312
  switch (e.$$typeof) {
313
313
  case m:
314
314
  return Be(e.render);
315
- case x:
315
+ case R:
316
316
  return U(e.type, r, t);
317
- case S: {
318
- var a = e, l = a._payload, d = a._init;
317
+ case P: {
318
+ var a = e, c = a._payload, p = a._init;
319
319
  try {
320
- return U(d(l), r, t);
320
+ return U(p(c), r, t);
321
321
  } catch {
322
322
  }
323
323
  }
@@ -332,22 +332,22 @@ function vr() {
332
332
  } else
333
333
  me.setExtraStackFrame(null);
334
334
  }
335
- function Ge(e, r, t, a, l) {
335
+ function Ge(e, r, t, a, c) {
336
336
  {
337
- var d = Function.call.bind(B);
338
- for (var i in e)
339
- if (d(e, i)) {
340
- var o = void 0;
337
+ var p = Function.call.bind(B);
338
+ for (var s in e)
339
+ if (p(e, s)) {
340
+ var i = void 0;
341
341
  try {
342
- if (typeof e[i] != "function") {
343
- var k = Error((a || "React class") + ": " + t + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
344
- throw k.name = "Invariant Violation", k;
342
+ if (typeof e[s] != "function") {
343
+ var E = Error((a || "React class") + ": " + t + " type `" + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[s] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
344
+ throw E.name = "Invariant Violation", E;
345
345
  }
346
- o = e[i](r, i, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
+ i = e[s](r, s, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
347
347
  } catch (h) {
348
- o = h;
348
+ i = h;
349
349
  }
350
- o && !(o instanceof Error) && (q(l), 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).", a || "React class", t, i, typeof o), q(null)), o instanceof Error && !(o.message in ve) && (ve[o.message] = !0, q(l), g("Failed %s type: %s", t, o.message), q(null));
350
+ i && !(i instanceof Error) && (q(c), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, s, typeof i), q(null)), i instanceof Error && !(i.message in ve) && (ve[i.message] = !0, q(c), y("Failed %s type: %s", t, i.message), q(null));
351
351
  }
352
352
  }
353
353
  }
@@ -373,14 +373,14 @@ function vr() {
373
373
  }
374
374
  function be(e) {
375
375
  if (He(e))
376
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), he(e);
376
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ze(e)), he(e);
377
377
  }
378
378
  var $ = j.ReactCurrentOwner, Ke = {
379
379
  key: !0,
380
380
  ref: !0,
381
381
  __self: !0,
382
382
  __source: !0
383
- }, _e, ge, K;
383
+ }, _e, ke, K;
384
384
  K = {};
385
385
  function Xe(e) {
386
386
  if (B.call(e, "ref")) {
@@ -400,14 +400,14 @@ function vr() {
400
400
  }
401
401
  function Qe(e, r) {
402
402
  if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
403
- var t = P($.current.type);
404
- K[t] || (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', P($.current.type), e.ref), K[t] = !0);
403
+ var t = N($.current.type);
404
+ K[t] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', N($.current.type), e.ref), K[t] = !0);
405
405
  }
406
406
  }
407
407
  function er(e, r) {
408
408
  {
409
409
  var t = function() {
410
- _e || (_e = !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)", r));
410
+ _e || (_e = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
411
411
  };
412
412
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
413
413
  get: t,
@@ -418,7 +418,7 @@ function vr() {
418
418
  function rr(e, r) {
419
419
  {
420
420
  var t = function() {
421
- ge || (ge = !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)", r));
421
+ ke || (ke = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
422
422
  };
423
423
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
424
424
  get: t,
@@ -426,70 +426,70 @@ function vr() {
426
426
  });
427
427
  }
428
428
  }
429
- var tr = function(e, r, t, a, l, d, i) {
430
- var o = {
429
+ var tr = function(e, r, t, a, c, p, s) {
430
+ var i = {
431
431
  // This tag allows us to uniquely identify this as a React Element
432
- $$typeof: c,
432
+ $$typeof: f,
433
433
  // Built-in properties that belong on the element
434
434
  type: e,
435
435
  key: r,
436
436
  ref: t,
437
- props: i,
437
+ props: s,
438
438
  // Record the component responsible for creating this element.
439
- _owner: d
439
+ _owner: p
440
440
  };
441
- return o._store = {}, Object.defineProperty(o._store, "validated", {
441
+ return i._store = {}, Object.defineProperty(i._store, "validated", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !0,
445
445
  value: !1
446
- }), Object.defineProperty(o, "_self", {
446
+ }), Object.defineProperty(i, "_self", {
447
447
  configurable: !1,
448
448
  enumerable: !1,
449
449
  writable: !1,
450
450
  value: a
451
- }), Object.defineProperty(o, "_source", {
451
+ }), Object.defineProperty(i, "_source", {
452
452
  configurable: !1,
453
453
  enumerable: !1,
454
454
  writable: !1,
455
- value: l
456
- }), Object.freeze && (Object.freeze(o.props), Object.freeze(o)), o;
455
+ value: c
456
+ }), Object.freeze && (Object.freeze(i.props), Object.freeze(i)), i;
457
457
  };
458
- function ar(e, r, t, a, l) {
458
+ function ar(e, r, t, a, c) {
459
459
  {
460
- var d, i = {}, o = null, k = null;
461
- t !== void 0 && (be(t), o = "" + t), Ze(r) && (be(r.key), o = "" + r.key), Xe(r) && (k = r.ref, Qe(r, l));
462
- for (d in r)
463
- B.call(r, d) && !Ke.hasOwnProperty(d) && (i[d] = r[d]);
460
+ var p, s = {}, i = null, E = null;
461
+ t !== void 0 && (be(t), i = "" + t), Ze(r) && (be(r.key), i = "" + r.key), Xe(r) && (E = r.ref, Qe(r, c));
462
+ for (p in r)
463
+ B.call(r, p) && !Ke.hasOwnProperty(p) && (s[p] = r[p]);
464
464
  if (e && e.defaultProps) {
465
465
  var h = e.defaultProps;
466
- for (d in h)
467
- i[d] === void 0 && (i[d] = h[d]);
466
+ for (p in h)
467
+ s[p] === void 0 && (s[p] = h[p]);
468
468
  }
469
- if (o || k) {
469
+ if (i || E) {
470
470
  var b = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
471
- o && er(i, b), k && rr(i, b);
471
+ i && er(s, b), E && rr(s, b);
472
472
  }
473
- return tr(e, o, k, l, a, $.current, i);
473
+ return tr(e, i, E, c, a, $.current, s);
474
474
  }
475
475
  }
476
- var X = j.ReactCurrentOwner, ke = j.ReactDebugCurrentFrame;
476
+ var X = j.ReactCurrentOwner, ge = j.ReactDebugCurrentFrame;
477
477
  function F(e) {
478
478
  if (e) {
479
479
  var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
480
- ke.setExtraStackFrame(t);
480
+ ge.setExtraStackFrame(t);
481
481
  } else
482
- ke.setExtraStackFrame(null);
482
+ ge.setExtraStackFrame(null);
483
483
  }
484
484
  var Z;
485
485
  Z = !1;
486
486
  function Q(e) {
487
- return typeof e == "object" && e !== null && e.$$typeof === c;
487
+ return typeof e == "object" && e !== null && e.$$typeof === f;
488
488
  }
489
489
  function ye() {
490
490
  {
491
491
  if (X.current) {
492
- var e = P(X.current.type);
492
+ var e = N(X.current.type);
493
493
  if (e)
494
494
  return `
495
495
 
@@ -532,7 +532,7 @@ Check the top-level render call using <` + t + ">.");
532
532
  return;
533
533
  Ee[t] = !0;
534
534
  var a = "";
535
- e && e._owner && e._owner !== X.current && (a = " It was passed a child from " + P(e._owner.type) + "."), F(e), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), F(null);
535
+ e && e._owner && e._owner !== X.current && (a = " It was passed a child from " + N(e._owner.type) + "."), F(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), F(null);
536
536
  }
537
537
  }
538
538
  function xe(e, r) {
@@ -547,10 +547,10 @@ Check the top-level render call using <` + t + ">.");
547
547
  else if (Q(e))
548
548
  e._store && (e._store.validated = !0);
549
549
  else if (e) {
550
- var l = je(e);
551
- if (typeof l == "function" && l !== e.entries)
552
- for (var d = l.call(e), i; !(i = d.next()).done; )
553
- Q(i.value) && Re(i.value, r);
550
+ var c = je(e);
551
+ if (typeof c == "function" && c !== e.entries)
552
+ for (var p = c.call(e), s; !(s = p.next()).done; )
553
+ Q(s.value) && Re(s.value, r);
554
554
  }
555
555
  }
556
556
  }
@@ -564,19 +564,19 @@ Check the top-level render call using <` + t + ">.");
564
564
  t = r.propTypes;
565
565
  else if (typeof r == "object" && (r.$$typeof === m || // Note: Memo only checks outer props here.
566
566
  // Inner props are checked in the reconciler.
567
- r.$$typeof === x))
567
+ r.$$typeof === R))
568
568
  t = r.propTypes;
569
569
  else
570
570
  return;
571
571
  if (t) {
572
- var a = P(r);
572
+ var a = N(r);
573
573
  Ge(t, e.props, "prop", a, e);
574
574
  } else if (r.PropTypes !== void 0 && !Z) {
575
575
  Z = !0;
576
- var l = P(r);
577
- g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
576
+ var c = N(r);
577
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
578
578
  }
579
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
579
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
580
580
  }
581
581
  }
582
582
  function sr(e) {
@@ -584,104 +584,137 @@ Check the top-level render call using <` + t + ">.");
584
584
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
585
585
  var a = r[t];
586
586
  if (a !== "children" && a !== "key") {
587
- F(e), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), F(null);
587
+ F(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), F(null);
588
588
  break;
589
589
  }
590
590
  }
591
- e.ref !== null && (F(e), g("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
591
+ e.ref !== null && (F(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
592
592
  }
593
593
  }
594
- function Te(e, r, t, a, l, d) {
594
+ function Te(e, r, t, a, c, p) {
595
595
  {
596
- var i = Ye(e);
597
- if (!i) {
598
- var o = "";
599
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
600
- var k = nr(l);
601
- k ? o += k : o += ye();
596
+ var s = Ye(e);
597
+ if (!s) {
598
+ var i = "";
599
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
600
+ var E = nr(c);
601
+ E ? i += E : i += ye();
602
602
  var h;
603
- e === null ? h = "null" : H(e) ? h = "array" : e !== void 0 && e.$$typeof === c ? (h = "<" + (P(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : h = typeof e, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", h, o);
603
+ e === null ? h = "null" : H(e) ? h = "array" : e !== void 0 && e.$$typeof === f ? (h = "<" + (N(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : h = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", h, i);
604
604
  }
605
- var b = ar(e, r, t, l, d);
605
+ var b = ar(e, r, t, c, p);
606
606
  if (b == null)
607
607
  return b;
608
- if (i) {
609
- var R = r.children;
610
- if (R !== void 0)
608
+ if (s) {
609
+ var w = r.children;
610
+ if (w !== void 0)
611
611
  if (a)
612
- if (H(R)) {
613
- for (var D = 0; D < R.length; D++)
614
- xe(R[D], e);
615
- Object.freeze && Object.freeze(R);
612
+ if (H(w)) {
613
+ for (var D = 0; D < w.length; D++)
614
+ xe(w[D], e);
615
+ Object.freeze && Object.freeze(w);
616
616
  } else
617
- g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
617
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
618
618
  else
619
- xe(R, e);
619
+ xe(w, e);
620
620
  }
621
- return e === u ? sr(b) : ir(b), b;
621
+ return e === l ? sr(b) : ir(b), b;
622
622
  }
623
623
  }
624
624
  function lr(e, r, t) {
625
625
  return Te(e, r, t, !0);
626
626
  }
627
- function ur(e, r, t) {
627
+ function cr(e, r, t) {
628
628
  return Te(e, r, t, !1);
629
629
  }
630
- var cr = ur, fr = lr;
631
- W.Fragment = u, W.jsx = cr, W.jsxs = fr;
630
+ var ur = cr, fr = lr;
631
+ W.Fragment = l, W.jsx = ur, W.jsxs = fr;
632
632
  }()), W;
633
633
  }
634
- (function(n) {
635
- process.env.NODE_ENV === "production" ? n.exports = pr() : n.exports = vr();
636
- })(dr);
637
- const Ce = Y.Fragment, s = Y.jsx, T = Y.jsxs, N = ({
638
- className: n,
639
- name: c,
640
- viewBox: p = "0 0 32 32",
641
- ...u
634
+ (function(o) {
635
+ process.env.NODE_ENV === "production" ? o.exports = vr() : o.exports = mr();
636
+ })(pr);
637
+ const Se = Y.Fragment, n = Y.jsx, x = Y.jsxs, S = ({
638
+ className: o,
639
+ name: f,
640
+ viewBox: d = "0 0 32 32",
641
+ ...l
642
642
  }) => {
643
- const v = [n, "balle"].filter(Boolean).join(" ");
644
- return /* @__PURE__ */ s("svg", { ...u, className: v, viewBox: p, children: /* @__PURE__ */ s("use", { href: `#${c}` }) });
645
- }, Er = ({
646
- children: n,
647
- className: c,
648
- iconName: p = "user",
649
- secondIconName: u = "user",
643
+ const v = [o].filter(Boolean).join(" ");
644
+ return /* @__PURE__ */ n("svg", { ...l, className: v, viewBox: d, children: /* @__PURE__ */ n("use", { href: `#${f}` }) });
645
+ }, Rr = ({
646
+ children: o,
647
+ className: f,
648
+ skin: d = "info",
649
+ closeAlert: l = !1,
650
+ onClose: v,
651
+ title: u,
652
+ date: k,
653
+ ariaLive: _ = "polite",
654
+ ...m
655
+ }) => {
656
+ const T = [f, "pkt-alert", d && `pkt-alert--${d}`].filter(Boolean).join(" "), [g, R] = dr(!0), P = () => {
657
+ R(!1), v && v();
658
+ };
659
+ return g ? /* @__PURE__ */ x("div", { ...m, className: T, "aria-live": _, children: [
660
+ /* @__PURE__ */ n("div", { className: "pkt-alert__icon", children: /* @__PURE__ */ n(S, { name: d === "info" ? "alert-information" : `alert-${d}` }) }),
661
+ l && /* @__PURE__ */ n("div", { className: "pkt-alert__close", children: /* @__PURE__ */ n(
662
+ "button",
663
+ {
664
+ className: "pkt-btn pkt-btn--tertiary pkt-btn--small pkt-btn--icon-only",
665
+ tabIndex: 0,
666
+ "aria-label": "close",
667
+ onClick: P,
668
+ children: /* @__PURE__ */ n(S, { name: "close", className: "pkt-btn__icon", "aria-hidden": "true" })
669
+ }
670
+ ) }),
671
+ u && /* @__PURE__ */ n("div", { className: "pkt-alert__title", children: u }),
672
+ /* @__PURE__ */ n("div", { className: "pkt-alert__text", children: o }),
673
+ k && /* @__PURE__ */ x("div", { className: "pkt-alert__date", children: [
674
+ "Sist oppdatert: ",
675
+ k
676
+ ] })
677
+ ] }) : null;
678
+ }, xr = ({
679
+ children: o,
680
+ className: f,
681
+ iconName: d = "user",
682
+ secondIconName: l = "user",
650
683
  size: v = "medium",
651
- skin: f = "primary",
652
- type: y = "button",
684
+ skin: u = "primary",
685
+ type: k = "button",
653
686
  variant: _ = "label-only",
654
687
  ...m
655
688
  }) => {
656
- const w = [
657
- c,
689
+ const T = [
690
+ f,
658
691
  "pkt-btn",
659
692
  v && `pkt-btn--${v}`,
660
- f && `pkt-btn--${f}`,
693
+ u && `pkt-btn--${u}`,
661
694
  _ && `pkt-btn--${_}`
662
695
  ].filter(Boolean).join(" ");
663
- return /* @__PURE__ */ T("button", { ...m, className: w, type: y, children: [
664
- /* @__PURE__ */ s(N, { className: "pkt-btn__icon", name: p }),
665
- /* @__PURE__ */ s("span", { className: "pkt-btn__text", children: n }),
666
- _ === "icons-right-and-left" && /* @__PURE__ */ s(N, { className: "pkt-btn__icon", name: u })
696
+ return /* @__PURE__ */ x("button", { ...m, className: T, type: k, children: [
697
+ /* @__PURE__ */ n(S, { className: "pkt-btn__icon", name: d }),
698
+ /* @__PURE__ */ n("span", { className: "pkt-btn__text", children: o }),
699
+ _ === "icons-right-and-left" && /* @__PURE__ */ n(S, { className: "pkt-btn__icon", name: l })
667
700
  ] });
668
- }, Rr = ({
669
- children: n,
670
- className: c,
671
- logoLink: p = "https://www.oslo.kommune.no/",
672
- isLoggedIn: u = !1,
701
+ }, Tr = ({
702
+ children: o,
703
+ className: f,
704
+ logoLink: d = "https://www.oslo.kommune.no/",
705
+ isLoggedIn: l = !1,
673
706
  representing: v = "",
674
- canChangeRepresentation: f = !1,
675
- showLogInButton: y = !0,
707
+ canChangeRepresentation: u = !1,
708
+ showLogInButton: k = !0,
676
709
  onLogIn: _,
677
710
  onLogOut: m,
678
- onChangeRepresentation: w,
679
- ...E
711
+ onChangeRepresentation: T,
712
+ ...g
680
713
  }) => {
681
- const x = [c, "pkt-header"].filter(Boolean).join(" ");
682
- return /* @__PURE__ */ T("header", { id: "pkt-header", className: x, "aria-label": "Topp", children: [
683
- /* @__PURE__ */ s("div", { className: "pkt-header__logo", children: /* @__PURE__ */ s("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: p, children: /* @__PURE__ */ s(
684
- N,
714
+ const R = [f, "pkt-header"].filter(Boolean).join(" ");
715
+ return /* @__PURE__ */ x("header", { id: "pkt-header", className: R, "aria-label": "Topp", children: [
716
+ /* @__PURE__ */ n("div", { className: "pkt-header__logo", children: /* @__PURE__ */ n("a", { "aria-label": "Tilbake til forside", className: "pkt-header__logo-link", href: d, children: /* @__PURE__ */ n(
717
+ S,
685
718
  {
686
719
  name: "oslologo",
687
720
  className: "pkt-header__logo-svg",
@@ -689,83 +722,83 @@ const Ce = Y.Fragment, s = Y.jsx, T = Y.jsxs, N = ({
689
722
  "aria-hidden": "true"
690
723
  }
691
724
  ) }) }),
692
- /* @__PURE__ */ T("div", { className: "pkt-header__actions", children: [
693
- u && f && /* @__PURE__ */ T(
725
+ /* @__PURE__ */ x("div", { className: "pkt-header__actions", children: [
726
+ l && u && /* @__PURE__ */ x(
694
727
  "button",
695
728
  {
696
729
  className: "pkt-btn pkt-btn--secondary pkt-btn--icon-right",
697
730
  "aria-label": `Bytt bruker fra ${v}`,
698
- onClick: w,
731
+ onClick: T,
699
732
  children: [
700
- /* @__PURE__ */ s(N, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
701
- /* @__PURE__ */ s("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
702
- /* @__PURE__ */ s("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
703
- /* @__PURE__ */ s("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: v })
733
+ /* @__PURE__ */ n(S, { name: "user", className: "pkt-btn__icon pkt-show-tablet-up" }),
734
+ /* @__PURE__ */ n("span", { className: "pkt-header__action-change pkt-hide pkt-show-tablet-up ml-size-15", children: "Endre" }),
735
+ /* @__PURE__ */ n("span", { className: "pkt-btn__text pkt-hide-tablet-up", children: "Endre" }),
736
+ /* @__PURE__ */ n("span", { className: "pkt-btn__text--representing pkt-hide pkt-show-tablet-up", children: v })
704
737
  ]
705
738
  }
706
739
  ),
707
- u && !f && /* @__PURE__ */ T("div", { className: "pkt-header__action", children: [
708
- /* @__PURE__ */ s("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ s("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline truncate-text", children: v }) }),
709
- /* @__PURE__ */ s("span", { className: "pkt-header__action-icon pkt-show-phablet-up", children: /* @__PURE__ */ s(N, { name: "user" }) })
740
+ l && !u && /* @__PURE__ */ x("div", { className: "pkt-header__action", children: [
741
+ /* @__PURE__ */ n("span", { className: "pkt-header__action-text", children: /* @__PURE__ */ n("span", { className: "pkt-btn__text pkt-header__action-textrow text-row-inline truncate-text", children: v }) }),
742
+ /* @__PURE__ */ n("span", { className: "pkt-header__action-icon pkt-show-phablet-up", children: /* @__PURE__ */ n(S, { name: "user" }) })
710
743
  ] }),
711
- y && u && /* @__PURE__ */ T(
744
+ k && l && /* @__PURE__ */ x(
712
745
  "button",
713
746
  {
714
747
  className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
715
748
  "aria-label": "Logg ut",
716
749
  onClick: m,
717
750
  children: [
718
- /* @__PURE__ */ s(N, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
719
- /* @__PURE__ */ s("span", { className: "pkt-btn__text", children: "Logg ut" })
751
+ /* @__PURE__ */ n(S, { className: "pkt-btn__icon pkt-show-tablet-up", name: "exit" }),
752
+ /* @__PURE__ */ n("span", { className: "pkt-btn__text", children: "Logg ut" })
720
753
  ]
721
754
  }
722
755
  ),
723
- y && !u && /* @__PURE__ */ T(
756
+ k && !l && /* @__PURE__ */ x(
724
757
  "button",
725
758
  {
726
759
  className: "pkt-btn pkt-btn--tertiary pkt-btn--icon-right",
727
760
  "aria-label": "Logg inn",
728
761
  onClick: _,
729
762
  children: [
730
- /* @__PURE__ */ s(N, { className: "pkt-btn__icon", name: "user" }),
731
- /* @__PURE__ */ s("span", { className: "pkt-btn__text", children: "Logg inn" })
763
+ /* @__PURE__ */ n(S, { className: "pkt-btn__icon", name: "user" }),
764
+ /* @__PURE__ */ n("span", { className: "pkt-btn__text", children: "Logg inn" })
732
765
  ]
733
766
  }
734
767
  )
735
768
  ] })
736
769
  ] });
737
- }, mr = re.forwardRef(
738
- ({ label: n, id: c, children: p, ...u }, v) => /* @__PURE__ */ T("div", { className: "pkt-form-group", children: [
739
- /* @__PURE__ */ s("label", { htmlFor: c, className: "pkt-form-label", children: n }),
740
- /* @__PURE__ */ s("input", { className: "pkt-form-input", id: c, ...u, ref: v }),
741
- p
770
+ }, hr = re.forwardRef(
771
+ ({ label: o, id: f, children: d, ...l }, v) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
772
+ /* @__PURE__ */ n("label", { htmlFor: f, className: "pkt-form-label", children: o }),
773
+ /* @__PURE__ */ n("input", { className: "pkt-form-input", id: f, ...l, ref: v }),
774
+ d
742
775
  ] })
743
776
  );
744
- mr.displayName = "PktInput";
745
- const hr = Se(
746
- ({ id: n, label: c, ...p }, u) => /* @__PURE__ */ T("div", { className: "pkt-form-group", children: [
747
- /* @__PURE__ */ s("label", { htmlFor: n, className: "pkt-form-label", children: c }),
748
- /* @__PURE__ */ s("textarea", { className: "pkt-form-textarea", id: n, ref: u, ...p })
777
+ hr.displayName = "PktInput";
778
+ const br = Oe(
779
+ ({ id: o, label: f, ...d }, l) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
780
+ /* @__PURE__ */ n("label", { htmlFor: o, className: "pkt-form-label", children: f }),
781
+ /* @__PURE__ */ n("textarea", { className: "pkt-form-textarea", id: o, ref: l, ...d })
749
782
  ] })
750
783
  );
751
- hr.displayName = "PktTextarea";
752
- const br = Se(
753
- ({ id: n, name: c, label: p, value: u, ...v }, f) => /* @__PURE__ */ T("div", { className: "pkt-form-group", children: [
754
- /* @__PURE__ */ s("input", { type: "radio", className: "pkt-form-check-input", id: n, name: c, value: u, ref: f, ...v }),
755
- /* @__PURE__ */ s("label", { className: "pkt-form-label", htmlFor: n, children: p })
784
+ br.displayName = "PktTextarea";
785
+ const _r = Oe(
786
+ ({ id: o, name: f, label: d, value: l, ...v }, u) => /* @__PURE__ */ x("div", { className: "pkt-form-group", children: [
787
+ /* @__PURE__ */ n("input", { type: "radio", className: "pkt-form-check-input", id: o, name: f, value: l, ref: u, ...v }),
788
+ /* @__PURE__ */ n("label", { className: "pkt-form-label", htmlFor: o, children: d })
756
789
  ] })
757
790
  );
758
- br.displayName = "PktRadio";
759
- const xr = ({ label: n, children: c }) => /* @__PURE__ */ T(Ce, { children: [
760
- /* @__PURE__ */ s("p", { children: n }),
761
- /* @__PURE__ */ s("div", { className: "pkt-form-group", children: c })
791
+ _r.displayName = "PktRadio";
792
+ const wr = ({ label: o, children: f }) => /* @__PURE__ */ x(Se, { children: [
793
+ /* @__PURE__ */ n("p", { children: o }),
794
+ /* @__PURE__ */ n("div", { className: "pkt-form-group", children: f })
762
795
  ] });
763
- var ee = {}, _r = {
796
+ var ee = {}, kr = {
764
797
  get exports() {
765
798
  return ee;
766
799
  },
767
- set exports(n) {
768
- ee = n;
800
+ set exports(o) {
801
+ ee = o;
769
802
  }
770
803
  };
771
804
  /*!
@@ -773,60 +806,61 @@ var ee = {}, _r = {
773
806
  Licensed under the MIT License (MIT), see
774
807
  http://jedwatson.github.io/classnames
775
808
  */
776
- (function(n) {
809
+ (function(o) {
777
810
  (function() {
778
- var c = {}.hasOwnProperty;
779
- function p() {
780
- for (var u = [], v = 0; v < arguments.length; v++) {
781
- var f = arguments[v];
782
- if (f) {
783
- var y = typeof f;
784
- if (y === "string" || y === "number")
785
- u.push(f);
786
- else if (Array.isArray(f)) {
787
- if (f.length) {
788
- var _ = p.apply(null, f);
789
- _ && u.push(_);
811
+ var f = {}.hasOwnProperty;
812
+ function d() {
813
+ for (var l = [], v = 0; v < arguments.length; v++) {
814
+ var u = arguments[v];
815
+ if (u) {
816
+ var k = typeof u;
817
+ if (k === "string" || k === "number")
818
+ l.push(u);
819
+ else if (Array.isArray(u)) {
820
+ if (u.length) {
821
+ var _ = d.apply(null, u);
822
+ _ && l.push(_);
790
823
  }
791
- } else if (y === "object") {
792
- if (f.toString !== Object.prototype.toString && !f.toString.toString().includes("[native code]")) {
793
- u.push(f.toString());
824
+ } else if (k === "object") {
825
+ if (u.toString !== Object.prototype.toString && !u.toString.toString().includes("[native code]")) {
826
+ l.push(u.toString());
794
827
  continue;
795
828
  }
796
- for (var m in f)
797
- c.call(f, m) && f[m] && u.push(m);
829
+ for (var m in u)
830
+ f.call(u, m) && u[m] && l.push(m);
798
831
  }
799
832
  }
800
833
  }
801
- return u.join(" ");
834
+ return l.join(" ");
802
835
  }
803
- n.exports ? (p.default = p, n.exports = p) : window.classNames = p;
836
+ o.exports ? (d.default = d, o.exports = d) : window.classNames = d;
804
837
  })();
805
- })(_r);
806
- const gr = ee, kr = ({ isResponsive: n, children: c }) => n ? /* @__PURE__ */ s("div", { className: "pkt-table-container", children: c }) : /* @__PURE__ */ s(Ce, { children: c }), Tr = ({
807
- isResponsive: n,
808
- modifiers: { info: c = !1, success: p = !1, strong: u = !1, shadow: v = !1 } = {},
809
- children: f
810
- }) => /* @__PURE__ */ s(kr, { isResponsive: n, children: /* @__PURE__ */ s(
838
+ })(kr);
839
+ const gr = ee, yr = ({ isResponsive: o, children: f }) => o ? /* @__PURE__ */ n("div", { className: "pkt-table-container", children: f }) : /* @__PURE__ */ n(Se, { children: f }), Pr = ({
840
+ isResponsive: o,
841
+ modifiers: { info: f = !1, success: d = !1, strong: l = !1, shadow: v = !1 } = {},
842
+ children: u
843
+ }) => /* @__PURE__ */ n(yr, { isResponsive: o, children: /* @__PURE__ */ n(
811
844
  "table",
812
845
  {
813
846
  className: gr("pkt-table", {
814
- "pkt-table--info": c,
815
- "pkt-table--success": p,
816
- "pkt-table--strong": u,
847
+ "pkt-table--info": f,
848
+ "pkt-table--success": d,
849
+ "pkt-table--strong": l,
817
850
  "pkt-table--shadow": v
818
851
  }),
819
- children: f
852
+ children: u
820
853
  }
821
- ) }), wr = ({ children: n }) => /* @__PURE__ */ s("td", { className: "pkt-table__th", children: n }), Pr = ({ children: n }) => /* @__PURE__ */ s("th", { className: "pkt-table__th", children: n });
854
+ ) }), Nr = ({ children: o }) => /* @__PURE__ */ n("td", { className: "pkt-table__th", children: o }), Or = ({ children: o }) => /* @__PURE__ */ n("th", { className: "pkt-table__th", children: o });
822
855
  export {
823
- Er as PktButton,
824
- Rr as PktHeader,
825
- mr as PktInput,
826
- br as PktRadio,
827
- xr as PktRadioGroup,
828
- Tr as PktTable,
829
- wr as PktTableData,
830
- Pr as PktTableHeader,
831
- hr as PktTextarea
856
+ Rr as PktAlert,
857
+ xr as PktButton,
858
+ Tr as PktHeader,
859
+ hr as PktInput,
860
+ _r as PktRadio,
861
+ wr as PktRadioGroup,
862
+ Pr as PktTable,
863
+ Nr as PktTableData,
864
+ Or as PktTableHeader,
865
+ br as PktTextarea
832
866
  };