@redhq/ui 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -3,11 +3,11 @@ import ie, { createContext as ye, useContext as ce, useState as be, useCallback
3
3
  function fn(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
5
5
  }
6
- var je = { exports: {} }, Fe = { exports: {} }, ee = {};
7
- var Ft;
6
+ var je = { exports: {} }, qe = { exports: {} }, ee = {};
7
+ var qt;
8
8
  function pn() {
9
- if (Ft) return ee;
10
- Ft = 1;
9
+ if (qt) return ee;
10
+ qt = 1;
11
11
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
12
12
  function v(y) {
13
13
  if (typeof y == "object" && y !== null) {
@@ -71,9 +71,9 @@ function pn() {
71
71
  }, ee.typeOf = v, ee;
72
72
  }
73
73
  var te = {};
74
- var Vt;
74
+ var Ft;
75
75
  function mn() {
76
- return Vt || (Vt = 1, process.env.NODE_ENV !== "production" && (function() {
76
+ return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && (function() {
77
77
  var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, a = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, T = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, x = e ? Symbol.for("react.fundamental") : 60117, u = e ? Symbol.for("react.responder") : 60118, m = e ? Symbol.for("react.scope") : 60119;
78
78
  function v(z) {
79
79
  return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
@@ -111,7 +111,7 @@ function mn() {
111
111
  }
112
112
  }
113
113
  }
114
- var y = a, A = c, L = l, h = o, _ = r, O = p, k = n, R = g, V = f, q = t, Q = s, E = i, M = d, S = !1;
114
+ var y = a, A = c, L = l, h = o, _ = r, O = p, k = n, R = g, F = f, V = t, Q = s, E = i, M = d, S = !1;
115
115
  function B(z) {
116
116
  return S || (S = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(z) || w(z) === a;
117
117
  }
@@ -136,7 +136,7 @@ function mn() {
136
136
  function W(z) {
137
137
  return w(z) === g;
138
138
  }
139
- function F(z) {
139
+ function q(z) {
140
140
  return w(z) === f;
141
141
  }
142
142
  function J(z) {
@@ -151,12 +151,12 @@ function mn() {
151
151
  function se(z) {
152
152
  return w(z) === d;
153
153
  }
154
- te.AsyncMode = y, te.ConcurrentMode = A, te.ContextConsumer = L, te.ContextProvider = h, te.Element = _, te.ForwardRef = O, te.Fragment = k, te.Lazy = R, te.Memo = V, te.Portal = q, te.Profiler = Q, te.StrictMode = E, te.Suspense = M, te.isAsyncMode = B, te.isConcurrentMode = C, te.isContextConsumer = I, te.isContextProvider = H, te.isElement = $, te.isForwardRef = j, te.isFragment = X, te.isLazy = W, te.isMemo = F, te.isPortal = J, te.isProfiler = Z, te.isStrictMode = U, te.isSuspense = se, te.isValidElementType = v, te.typeOf = w;
154
+ te.AsyncMode = y, te.ConcurrentMode = A, te.ContextConsumer = L, te.ContextProvider = h, te.Element = _, te.ForwardRef = O, te.Fragment = k, te.Lazy = R, te.Memo = F, te.Portal = V, te.Profiler = Q, te.StrictMode = E, te.Suspense = M, te.isAsyncMode = B, te.isConcurrentMode = C, te.isContextConsumer = I, te.isContextProvider = H, te.isElement = $, te.isForwardRef = j, te.isFragment = X, te.isLazy = W, te.isMemo = q, te.isPortal = J, te.isProfiler = Z, te.isStrictMode = U, te.isSuspense = se, te.isValidElementType = v, te.typeOf = w;
155
155
  })()), te;
156
156
  }
157
- var qt;
157
+ var Vt;
158
158
  function fr() {
159
- return qt || (qt = 1, process.env.NODE_ENV === "production" ? Fe.exports = pn() : Fe.exports = mn()), Fe.exports;
159
+ return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? qe.exports = pn() : qe.exports = mn()), qe.exports;
160
160
  }
161
161
  var Qe, Ht;
162
162
  function gn() {
@@ -307,7 +307,7 @@ function vn() {
307
307
  oneOf: L,
308
308
  oneOfType: _,
309
309
  shape: R,
310
- exact: V
310
+ exact: F
311
311
  };
312
312
  function g(C, I) {
313
313
  return C === I ? C !== 0 || 1 / C === 1 / I : C !== C && I !== I;
@@ -319,28 +319,28 @@ function vn() {
319
319
  function x(C) {
320
320
  if (process.env.NODE_ENV !== "production")
321
321
  var I = {}, H = 0;
322
- function $(X, W, F, J, Z, U, se) {
323
- if (J = J || T, U = U || F, se !== t) {
322
+ function $(X, W, q, J, Z, U, se) {
323
+ if (J = J || T, U = U || q, se !== t) {
324
324
  if (a) {
325
325
  var z = new Error(
326
326
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
327
327
  );
328
328
  throw z.name = "Invariant Violation", z;
329
329
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
330
- var ue = J + ":" + F;
330
+ var ue = J + ":" + q;
331
331
  !I[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
332
332
  H < 3 && (s(
333
333
  "You are manually calling a React.PropTypes validation function for the `" + U + "` prop on `" + J + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
334
334
  ), I[ue] = !0, H++);
335
335
  }
336
336
  }
337
- return W[F] == null ? X ? W[F] === null ? new b("The " + Z + " `" + U + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new b("The " + Z + " `" + U + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : C(W, F, J, Z, U);
337
+ return W[q] == null ? X ? W[q] === null ? new b("The " + Z + " `" + U + "` is marked as required " + ("in `" + J + "`, but its value is `null`.")) : new b("The " + Z + " `" + U + "` is marked as required in " + ("`" + J + "`, but its value is `undefined`.")) : null : C(W, q, J, Z, U);
338
338
  }
339
339
  var j = $.bind(null, !1);
340
340
  return j.isRequired = $.bind(null, !0), j;
341
341
  }
342
342
  function u(C) {
343
- function I(H, $, j, X, W, F) {
343
+ function I(H, $, j, X, W, q) {
344
344
  var J = H[$], Z = E(J);
345
345
  if (Z !== C) {
346
346
  var U = M(J);
@@ -360,13 +360,13 @@ function vn() {
360
360
  function I(H, $, j, X, W) {
361
361
  if (typeof C != "function")
362
362
  return new b("Property `" + W + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
363
- var F = H[$];
364
- if (!Array.isArray(F)) {
365
- var J = E(F);
363
+ var q = H[$];
364
+ if (!Array.isArray(q)) {
365
+ var J = E(q);
366
366
  return new b("Invalid " + X + " `" + W + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected an array."));
367
367
  }
368
- for (var Z = 0; Z < F.length; Z++) {
369
- var U = C(F, Z, j, X, W + "[" + Z + "]", t);
368
+ for (var Z = 0; Z < q.length; Z++) {
369
+ var U = C(q, Z, j, X, W + "[" + Z + "]", t);
370
370
  if (U instanceof Error)
371
371
  return U;
372
372
  }
@@ -378,8 +378,8 @@ function vn() {
378
378
  function C(I, H, $, j, X) {
379
379
  var W = I[H];
380
380
  if (!l(W)) {
381
- var F = E(W);
382
- return new b("Invalid " + j + " `" + X + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected a single ReactElement."));
381
+ var q = E(W);
382
+ return new b("Invalid " + j + " `" + X + "` of type " + ("`" + q + "` supplied to `" + $ + "`, expected a single ReactElement."));
383
383
  }
384
384
  return null;
385
385
  }
@@ -389,8 +389,8 @@ function vn() {
389
389
  function C(I, H, $, j, X) {
390
390
  var W = I[H];
391
391
  if (!e.isValidElementType(W)) {
392
- var F = E(W);
393
- return new b("Invalid " + j + " `" + X + "` of type " + ("`" + F + "` supplied to `" + $ + "`, expected a single ReactElement type."));
392
+ var q = E(W);
393
+ return new b("Invalid " + j + " `" + X + "` of type " + ("`" + q + "` supplied to `" + $ + "`, expected a single ReactElement type."));
394
394
  }
395
395
  return null;
396
396
  }
@@ -399,8 +399,8 @@ function vn() {
399
399
  function A(C) {
400
400
  function I(H, $, j, X, W) {
401
401
  if (!(H[$] instanceof C)) {
402
- var F = C.name || T, J = B(H[$]);
403
- return new b("Invalid " + X + " `" + W + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected ") + ("instance of `" + F + "`."));
402
+ var q = C.name || T, J = B(H[$]);
403
+ return new b("Invalid " + X + " `" + W + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected ") + ("instance of `" + q + "`."));
404
404
  }
405
405
  return null;
406
406
  }
@@ -412,14 +412,14 @@ function vn() {
412
412
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
413
413
  ) : s("Invalid argument supplied to oneOf, expected an array.")), o;
414
414
  function I(H, $, j, X, W) {
415
- for (var F = H[$], J = 0; J < C.length; J++)
416
- if (g(F, C[J]))
415
+ for (var q = H[$], J = 0; J < C.length; J++)
416
+ if (g(q, C[J]))
417
417
  return null;
418
418
  var Z = JSON.stringify(C, function(se, z) {
419
419
  var ue = M(z);
420
420
  return ue === "symbol" ? String(z) : z;
421
421
  });
422
- return new b("Invalid " + X + " `" + W + "` of value `" + String(F) + "` " + ("supplied to `" + j + "`, expected one of " + Z + "."));
422
+ return new b("Invalid " + X + " `" + W + "` of value `" + String(q) + "` " + ("supplied to `" + j + "`, expected one of " + Z + "."));
423
423
  }
424
424
  return x(I);
425
425
  }
@@ -427,12 +427,12 @@ function vn() {
427
427
  function I(H, $, j, X, W) {
428
428
  if (typeof C != "function")
429
429
  return new b("Property `" + W + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
430
- var F = H[$], J = E(F);
430
+ var q = H[$], J = E(q);
431
431
  if (J !== "object")
432
432
  return new b("Invalid " + X + " `" + W + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected an object."));
433
- for (var Z in F)
434
- if (n(F, Z)) {
435
- var U = C(F, Z, j, X, W + "." + Z, t);
433
+ for (var Z in q)
434
+ if (n(q, Z)) {
435
+ var U = C(q, Z, j, X, W + "." + Z, t);
436
436
  if (U instanceof Error)
437
437
  return U;
438
438
  }
@@ -450,21 +450,21 @@ function vn() {
450
450
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + S(H) + " at index " + I + "."
451
451
  ), o;
452
452
  }
453
- function $(j, X, W, F, J) {
453
+ function $(j, X, W, q, J) {
454
454
  for (var Z = [], U = 0; U < C.length; U++) {
455
- var se = C[U], z = se(j, X, W, F, J, t);
455
+ var se = C[U], z = se(j, X, W, q, J, t);
456
456
  if (z == null)
457
457
  return null;
458
458
  z.data && n(z.data, "expectedType") && Z.push(z.data.expectedType);
459
459
  }
460
460
  var ue = Z.length > 0 ? ", expected one of type [" + Z.join(", ") + "]" : "";
461
- return new b("Invalid " + F + " `" + J + "` supplied to " + ("`" + W + "`" + ue + "."));
461
+ return new b("Invalid " + q + " `" + J + "` supplied to " + ("`" + W + "`" + ue + "."));
462
462
  }
463
463
  return x($);
464
464
  }
465
465
  function O() {
466
466
  function C(I, H, $, j, X) {
467
- return q(I[H]) ? null : new b("Invalid " + j + " `" + X + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
467
+ return V(I[H]) ? null : new b("Invalid " + j + " `" + X + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
468
468
  }
469
469
  return x(C);
470
470
  }
@@ -475,14 +475,14 @@ function vn() {
475
475
  }
476
476
  function R(C) {
477
477
  function I(H, $, j, X, W) {
478
- var F = H[$], J = E(F);
478
+ var q = H[$], J = E(q);
479
479
  if (J !== "object")
480
480
  return new b("Invalid " + X + " `" + W + "` of type `" + J + "` " + ("supplied to `" + j + "`, expected `object`."));
481
481
  for (var Z in C) {
482
482
  var U = C[Z];
483
483
  if (typeof U != "function")
484
484
  return k(j, X, W, Z, M(U));
485
- var se = U(F, Z, j, X, W + "." + Z, t);
485
+ var se = U(q, Z, j, X, W + "." + Z, t);
486
486
  if (se)
487
487
  return se;
488
488
  }
@@ -490,9 +490,9 @@ function vn() {
490
490
  }
491
491
  return x(I);
492
492
  }
493
- function V(C) {
493
+ function F(C) {
494
494
  function I(H, $, j, X, W) {
495
- var F = H[$], J = E(F);
495
+ var q = H[$], J = E(q);
496
496
  if (J !== "object")
497
497
  return new b("Invalid " + X + " `" + W + "` of type `" + J + "` " + ("supplied to `" + j + "`, expected `object`."));
498
498
  var Z = r({}, H[$], C);
@@ -505,7 +505,7 @@ function vn() {
505
505
  "Invalid " + X + " `" + W + "` key `" + U + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(H[$], null, " ") + `
506
506
  Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
507
507
  );
508
- var z = se(F, U, j, X, W + "." + U, t);
508
+ var z = se(q, U, j, X, W + "." + U, t);
509
509
  if (z)
510
510
  return z;
511
511
  }
@@ -513,7 +513,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
513
513
  }
514
514
  return x(I);
515
515
  }
516
- function q(C) {
516
+ function V(C) {
517
517
  switch (typeof C) {
518
518
  case "number":
519
519
  case "string":
@@ -523,7 +523,7 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
523
523
  return !C;
524
524
  case "object":
525
525
  if (Array.isArray(C))
526
- return C.every(q);
526
+ return C.every(V);
527
527
  if (C === null || l(C))
528
528
  return !0;
529
529
  var I = d(C);
@@ -531,12 +531,12 @@ Valid keys: ` + JSON.stringify(Object.keys(C), null, " ")
531
531
  var H = I.call(C), $;
532
532
  if (I !== C.entries) {
533
533
  for (; !($ = H.next()).done; )
534
- if (!q($.value))
534
+ if (!V($.value))
535
535
  return !1;
536
536
  } else
537
537
  for (; !($ = H.next()).done; ) {
538
538
  var j = $.value;
539
- if (j && !q(j[1]))
539
+ if (j && !V(j[1]))
540
540
  return !1;
541
541
  }
542
542
  } else
@@ -916,7 +916,7 @@ const Tn = (e, r) => {
916
916
  for (let n = 0; n < e.length; n++)
917
917
  e[n] && (r = br(e[n])) && (t && (t += " "), t += r);
918
918
  return t;
919
- }, Fn = (e, ...r) => {
919
+ }, qn = (e, ...r) => {
920
920
  let t, n, i, s;
921
921
  const o = (a) => {
922
922
  const c = r.reduce((p, d) => d(p), e());
@@ -929,15 +929,15 @@ const Tn = (e, r) => {
929
929
  return i(a, p), p;
930
930
  };
931
931
  return s = o, (...a) => s(jn(...a));
932
- }, Vn = [], ne = (e) => {
933
- const r = (t) => t[e] || Vn;
932
+ }, Fn = [], ne = (e) => {
933
+ const r = (t) => t[e] || Fn;
934
934
  return r.isThemeGetter = !0, r;
935
- }, yr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qn = /^\d+\/\d+$/, Hn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Un = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, we = (e) => qn.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), ge = (e) => !!e && Number.isInteger(Number(e)), st = (e) => e.endsWith("%") && Y(e.slice(0, -1)), pe = (e) => Hn.test(e), Kn = () => !0, Jn = (e) => (
935
+ }, yr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, xr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vn = /^\d+\/\d+$/, Hn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Yn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Xn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Un = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, we = (e) => Vn.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), ge = (e) => !!e && Number.isInteger(Number(e)), st = (e) => e.endsWith("%") && Y(e.slice(0, -1)), pe = (e) => Hn.test(e), Kn = () => !0, Jn = (e) => (
936
936
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
937
937
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
938
938
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
939
939
  Wn.test(e) && !Yn.test(e)
940
- ), Sr = () => !1, Zn = (e) => Xn.test(e), Qn = (e) => Un.test(e), ei = (e) => !N(e) && !D(e), ti = (e) => Oe(e, wr, Sr), N = (e) => yr.test(e), xe = (e) => Oe(e, Cr, Jn), at = (e) => Oe(e, ai, Y), tr = (e) => Oe(e, Tr, Sr), ri = (e) => Oe(e, Er, Qn), Ve = (e) => Oe(e, Mr, Zn), D = (e) => xr.test(e), Re = (e) => ke(e, Cr), ni = (e) => ke(e, oi), rr = (e) => ke(e, Tr), ii = (e) => ke(e, wr), si = (e) => ke(e, Er), qe = (e) => ke(e, Mr, !0), Oe = (e, r, t) => {
940
+ ), Sr = () => !1, Zn = (e) => Xn.test(e), Qn = (e) => Un.test(e), ei = (e) => !N(e) && !D(e), ti = (e) => Oe(e, wr, Sr), N = (e) => yr.test(e), xe = (e) => Oe(e, Cr, Jn), at = (e) => Oe(e, ai, Y), tr = (e) => Oe(e, Tr, Sr), ri = (e) => Oe(e, Er, Qn), Fe = (e) => Oe(e, Mr, Zn), D = (e) => xr.test(e), Re = (e) => ke(e, Cr), ni = (e) => ke(e, oi), rr = (e) => ke(e, Tr), ii = (e) => ke(e, wr), si = (e) => ke(e, Er), Ve = (e) => ke(e, Mr, !0), Oe = (e, r, t) => {
941
941
  const n = yr.exec(e);
942
942
  return n ? n[1] ? r(n[1]) : t(n[2]) : !1;
943
943
  }, ke = (e, r, t = !1) => {
@@ -964,7 +964,7 @@ const Tn = (e, r) => {
964
964
  "left-bottom"
965
965
  ], y = () => [...w(), D, N], A = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], h = () => [D, N, a], _ = () => [we, "full", "auto", ...h()], O = () => [ge, "none", "subgrid", D, N], k = () => ["auto", {
966
966
  span: ["full", ge, D, N]
967
- }, ge, D, N], R = () => [ge, "auto", D, N], V = () => ["auto", "min", "max", "fr", D, N], q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], E = () => ["auto", ...h()], M = () => [we, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], S = () => [e, D, N], B = () => [...w(), rr, tr, {
967
+ }, ge, D, N], R = () => [ge, "auto", D, N], F = () => ["auto", "min", "max", "fr", D, N], V = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], E = () => ["auto", ...h()], M = () => [we, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], S = () => [e, D, N], B = () => [...w(), rr, tr, {
968
968
  position: [D, N]
969
969
  }], C = () => ["no-repeat", {
970
970
  repeat: ["", "x", "y", "space", "round"]
@@ -978,7 +978,7 @@ const Tn = (e, r) => {
978
978
  c,
979
979
  D,
980
980
  N
981
- ], j = () => ["", Y, Re, xe], X = () => ["solid", "dashed", "dotted", "double"], W = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [Y, st, rr, tr], J = () => [
981
+ ], j = () => ["", Y, Re, xe], X = () => ["solid", "dashed", "dotted", "double"], W = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => [Y, st, rr, tr], J = () => [
982
982
  // Deprecated since Tailwind CSS v4.0.0
983
983
  "",
984
984
  "none",
@@ -1353,14 +1353,14 @@ const Tn = (e, r) => {
1353
1353
  * @see https://tailwindcss.com/docs/grid-auto-columns
1354
1354
  */
1355
1355
  "auto-cols": [{
1356
- "auto-cols": V()
1356
+ "auto-cols": F()
1357
1357
  }],
1358
1358
  /**
1359
1359
  * Grid Auto Rows
1360
1360
  * @see https://tailwindcss.com/docs/grid-auto-rows
1361
1361
  */
1362
1362
  "auto-rows": [{
1363
- "auto-rows": V()
1363
+ "auto-rows": F()
1364
1364
  }],
1365
1365
  /**
1366
1366
  * Gap
@@ -1388,7 +1388,7 @@ const Tn = (e, r) => {
1388
1388
  * @see https://tailwindcss.com/docs/justify-content
1389
1389
  */
1390
1390
  "justify-content": [{
1391
- justify: [...q(), "normal"]
1391
+ justify: [...V(), "normal"]
1392
1392
  }],
1393
1393
  /**
1394
1394
  * Justify Items
@@ -1409,7 +1409,7 @@ const Tn = (e, r) => {
1409
1409
  * @see https://tailwindcss.com/docs/align-content
1410
1410
  */
1411
1411
  "align-content": [{
1412
- content: ["normal", ...q()]
1412
+ content: ["normal", ...V()]
1413
1413
  }],
1414
1414
  /**
1415
1415
  * Align Items
@@ -1434,7 +1434,7 @@ const Tn = (e, r) => {
1434
1434
  * @see https://tailwindcss.com/docs/place-content
1435
1435
  */
1436
1436
  "place-content": [{
1437
- "place-content": q()
1437
+ "place-content": V()
1438
1438
  }],
1439
1439
  /**
1440
1440
  * Place Items
@@ -2335,8 +2335,8 @@ const Tn = (e, r) => {
2335
2335
  "",
2336
2336
  "none",
2337
2337
  p,
2338
- qe,
2339
- Ve
2338
+ Ve,
2339
+ Fe
2340
2340
  ]
2341
2341
  }],
2342
2342
  /**
@@ -2351,7 +2351,7 @@ const Tn = (e, r) => {
2351
2351
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2352
2352
  */
2353
2353
  "inset-shadow": [{
2354
- "inset-shadow": ["none", d, qe, Ve]
2354
+ "inset-shadow": ["none", d, Ve, Fe]
2355
2355
  }],
2356
2356
  /**
2357
2357
  * Inset Box Shadow Color
@@ -2418,7 +2418,7 @@ const Tn = (e, r) => {
2418
2418
  * @see https://tailwindcss.com/docs/text-shadow
2419
2419
  */
2420
2420
  "text-shadow": [{
2421
- "text-shadow": ["none", T, qe, Ve]
2421
+ "text-shadow": ["none", T, Ve, Fe]
2422
2422
  }],
2423
2423
  /**
2424
2424
  * Text Shadow Color
@@ -2470,10 +2470,10 @@ const Tn = (e, r) => {
2470
2470
  "mask-linear": [Y]
2471
2471
  }],
2472
2472
  "mask-image-linear-from-pos": [{
2473
- "mask-linear-from": F()
2473
+ "mask-linear-from": q()
2474
2474
  }],
2475
2475
  "mask-image-linear-to-pos": [{
2476
- "mask-linear-to": F()
2476
+ "mask-linear-to": q()
2477
2477
  }],
2478
2478
  "mask-image-linear-from-color": [{
2479
2479
  "mask-linear-from": S()
@@ -2482,10 +2482,10 @@ const Tn = (e, r) => {
2482
2482
  "mask-linear-to": S()
2483
2483
  }],
2484
2484
  "mask-image-t-from-pos": [{
2485
- "mask-t-from": F()
2485
+ "mask-t-from": q()
2486
2486
  }],
2487
2487
  "mask-image-t-to-pos": [{
2488
- "mask-t-to": F()
2488
+ "mask-t-to": q()
2489
2489
  }],
2490
2490
  "mask-image-t-from-color": [{
2491
2491
  "mask-t-from": S()
@@ -2494,10 +2494,10 @@ const Tn = (e, r) => {
2494
2494
  "mask-t-to": S()
2495
2495
  }],
2496
2496
  "mask-image-r-from-pos": [{
2497
- "mask-r-from": F()
2497
+ "mask-r-from": q()
2498
2498
  }],
2499
2499
  "mask-image-r-to-pos": [{
2500
- "mask-r-to": F()
2500
+ "mask-r-to": q()
2501
2501
  }],
2502
2502
  "mask-image-r-from-color": [{
2503
2503
  "mask-r-from": S()
@@ -2506,10 +2506,10 @@ const Tn = (e, r) => {
2506
2506
  "mask-r-to": S()
2507
2507
  }],
2508
2508
  "mask-image-b-from-pos": [{
2509
- "mask-b-from": F()
2509
+ "mask-b-from": q()
2510
2510
  }],
2511
2511
  "mask-image-b-to-pos": [{
2512
- "mask-b-to": F()
2512
+ "mask-b-to": q()
2513
2513
  }],
2514
2514
  "mask-image-b-from-color": [{
2515
2515
  "mask-b-from": S()
@@ -2518,10 +2518,10 @@ const Tn = (e, r) => {
2518
2518
  "mask-b-to": S()
2519
2519
  }],
2520
2520
  "mask-image-l-from-pos": [{
2521
- "mask-l-from": F()
2521
+ "mask-l-from": q()
2522
2522
  }],
2523
2523
  "mask-image-l-to-pos": [{
2524
- "mask-l-to": F()
2524
+ "mask-l-to": q()
2525
2525
  }],
2526
2526
  "mask-image-l-from-color": [{
2527
2527
  "mask-l-from": S()
@@ -2530,10 +2530,10 @@ const Tn = (e, r) => {
2530
2530
  "mask-l-to": S()
2531
2531
  }],
2532
2532
  "mask-image-x-from-pos": [{
2533
- "mask-x-from": F()
2533
+ "mask-x-from": q()
2534
2534
  }],
2535
2535
  "mask-image-x-to-pos": [{
2536
- "mask-x-to": F()
2536
+ "mask-x-to": q()
2537
2537
  }],
2538
2538
  "mask-image-x-from-color": [{
2539
2539
  "mask-x-from": S()
@@ -2542,10 +2542,10 @@ const Tn = (e, r) => {
2542
2542
  "mask-x-to": S()
2543
2543
  }],
2544
2544
  "mask-image-y-from-pos": [{
2545
- "mask-y-from": F()
2545
+ "mask-y-from": q()
2546
2546
  }],
2547
2547
  "mask-image-y-to-pos": [{
2548
- "mask-y-to": F()
2548
+ "mask-y-to": q()
2549
2549
  }],
2550
2550
  "mask-image-y-from-color": [{
2551
2551
  "mask-y-from": S()
@@ -2557,10 +2557,10 @@ const Tn = (e, r) => {
2557
2557
  "mask-radial": [D, N]
2558
2558
  }],
2559
2559
  "mask-image-radial-from-pos": [{
2560
- "mask-radial-from": F()
2560
+ "mask-radial-from": q()
2561
2561
  }],
2562
2562
  "mask-image-radial-to-pos": [{
2563
- "mask-radial-to": F()
2563
+ "mask-radial-to": q()
2564
2564
  }],
2565
2565
  "mask-image-radial-from-color": [{
2566
2566
  "mask-radial-from": S()
@@ -2584,10 +2584,10 @@ const Tn = (e, r) => {
2584
2584
  "mask-conic": [Y]
2585
2585
  }],
2586
2586
  "mask-image-conic-from-pos": [{
2587
- "mask-conic-from": F()
2587
+ "mask-conic-from": q()
2588
2588
  }],
2589
2589
  "mask-image-conic-to-pos": [{
2590
- "mask-conic-to": F()
2590
+ "mask-conic-to": q()
2591
2591
  }],
2592
2592
  "mask-image-conic-from-color": [{
2593
2593
  "mask-conic-from": S()
@@ -2691,8 +2691,8 @@ const Tn = (e, r) => {
2691
2691
  "",
2692
2692
  "none",
2693
2693
  f,
2694
- qe,
2695
- Ve
2694
+ Ve,
2695
+ Fe
2696
2696
  ]
2697
2697
  }],
2698
2698
  /**
@@ -3413,7 +3413,7 @@ const Tn = (e, r) => {
3413
3413
  },
3414
3414
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3415
3415
  };
3416
- }, ci = /* @__PURE__ */ Fn(li);
3416
+ }, ci = /* @__PURE__ */ qn(li);
3417
3417
  function re(...e) {
3418
3418
  return ci(Sn(e));
3419
3419
  }
@@ -3425,7 +3425,7 @@ const ze = {
3425
3425
  },
3426
3426
  color: {
3427
3427
  solid: {
3428
- primary: "text-[var(--color-white)] bg-[var(--color-primary-500)] hover:bg-[var(--color-primary-600)] active:bg-[var(--color-primary-700)] border border-[var(--color-primary-500)] hover:border-[var(--color-primary-600)] active:border-[var(--color-primary-700)]",
3428
+ primary: "text-[var(--redhq-white)] bg-[var(--redhq-primary-500)] hover:bg-[var(--redhq-primary-600)] active:bg-[var(--redhq-primary-700)] border border-[var(--redhq-primary-500)] hover:border-[var(--redhq-primary-600)] active:border-[var(--redhq-primary-700)]",
3429
3429
  secondary: "text-white bg-violet-500 hover:bg-violet-600 active:bg-violet-700 border border-violet-500 hover:border-violet-600 active:border-violet-700",
3430
3430
  info: "text-white bg-cyan-500 hover:bg-cyan-600 active:bg-cyan-700 border border-cyan-500 hover:border-cyan-600 active:border-cyan-700",
3431
3431
  success: "text-white bg-emerald-500 hover:bg-emerald-600 active:bg-emerald-700 border border-emerald-500 hover:border-emerald-600 active:border-emerald-700",
@@ -3433,7 +3433,7 @@ const ze = {
3433
3433
  danger: "text-white bg-rose-500 hover:bg-rose-600 active:bg-rose-700 border border-rose-500 hover:border-rose-600 active:border-rose-700"
3434
3434
  },
3435
3435
  outline: {
3436
- primary: "text-inherit bg-transparent border border-[var(--color-primary-500)] hover:border-[var(--color-primary-600)] active:border-[var(--color-primary-700)]",
3436
+ primary: "text-inherit bg-transparent border border-[var(--redhq-primary-500)] hover:border-[var(--redhq-primary-600)] active:border-[var(--redhq-primary-700)]",
3437
3437
  secondary: "text-inherit bg-transparent border border-violet-500 hover:border-violet-600 active:border-violet-700",
3438
3438
  info: "text-inherit bg-transparent border border-cyan-500 hover:border-cyan-600 active:border-cyan-700",
3439
3439
  success: "text-inherit bg-transparent border border-emerald-500 hover:border-emerald-600 active:border-emerald-700",
@@ -3441,7 +3441,7 @@ const ze = {
3441
3441
  danger: "text-inherit bg-transparent border border-rose-500 hover:border-rose-600 active:border-rose-700"
3442
3442
  },
3443
3443
  flat: {
3444
- primary: "p-0 text-[var(--color-primary-500)] hover:text-[var(--color-primary-600)] active:text-[var(--color-primary-700)]",
3444
+ primary: "p-0 text-[var(--redhq-primary-500)] hover:text-[var(--redhq-primary-600)] active:text-[var(--redhq-primary-700)]",
3445
3445
  secondary: "p-0 text-violet-500 hover:text-violet-600 active:text-violet-700",
3446
3446
  info: "p-0 text-cyan-500 hover:text-cyan-600 active:text-cyan-700",
3447
3447
  success: "p-0 text-emerald-500 hover:text-emerald-600 active:text-emerald-700",
@@ -3979,7 +3979,7 @@ Ae.propTypes = {
3979
3979
  }).isRequired,
3980
3980
  children: P.node.isRequired
3981
3981
  };
3982
- const Fr = ye({
3982
+ const qr = ye({
3983
3983
  id: "",
3984
3984
  theme: {
3985
3985
  primary: "",
@@ -3987,7 +3987,7 @@ const Fr = ye({
3987
3987
  tertiary: "",
3988
3988
  quaternary: ""
3989
3989
  }
3990
- }), hi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Fr.Provider, { value: { id: e, theme: r }, children: t }), At = ({ className: e = "", children: r }) => /* @__PURE__ */ G("div", { className: re("RECORD-BASE", "space-y-4 md:space-y-6 lg:space-y-8", e), children: r });
3990
+ }), hi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(qr.Provider, { value: { id: e, theme: r }, children: t }), At = ({ className: e = "", children: r }) => /* @__PURE__ */ G("div", { className: re("RECORD-BASE", "space-y-4 md:space-y-6 lg:space-y-8", e), children: r });
3991
3991
  At.displayName = "Record.Base";
3992
3992
  At.propTypes = {
3993
3993
  className: P.string,
@@ -3999,7 +3999,7 @@ const Rt = ({ className: e = "", specs: r = [], children: t }) => {
3999
3999
  i = "normal",
4000
4000
  s = "normal",
4001
4001
  o = "1.2"
4002
- ] = r, { theme: l } = ce(Fr);
4002
+ ] = r, { theme: l } = ce(qr);
4003
4003
  return /* @__PURE__ */ G(
4004
4004
  "h2",
4005
4005
  {
@@ -4086,7 +4086,7 @@ $e.propTypes = {
4086
4086
  }).isRequired,
4087
4087
  children: P.node.isRequired
4088
4088
  };
4089
- const Vr = ye({
4089
+ const Fr = ye({
4090
4090
  id: "",
4091
4091
  theme: {
4092
4092
  primary: "",
@@ -4094,7 +4094,7 @@ const Vr = ye({
4094
4094
  tertiary: "",
4095
4095
  quaternary: ""
4096
4096
  }
4097
- }), bi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Vr.Provider, { value: { id: e, theme: r }, children: t }), Nt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
4097
+ }), bi = ({ id: e, theme: r, children: t }) => /* @__PURE__ */ G(Fr.Provider, { value: { id: e, theme: r }, children: t }), Nt = ({ className: e = "", style: r = {}, children: t }) => /* @__PURE__ */ G(
4098
4098
  "section",
4099
4099
  {
4100
4100
  className: re(
@@ -4135,7 +4135,7 @@ function Bt(e = {}, r = {}) {
4135
4135
  typeof e[n] > "u" ? e[n] = r[n] : nr(r[n]) && nr(e[n]) && Object.keys(r[n]).length > 0 && Bt(e[n], r[n]);
4136
4136
  });
4137
4137
  }
4138
- const qr = {
4138
+ const Vr = {
4139
4139
  body: {},
4140
4140
  addEventListener() {
4141
4141
  },
@@ -4192,10 +4192,10 @@ const qr = {
4192
4192
  };
4193
4193
  function de() {
4194
4194
  const e = typeof document < "u" ? document : {};
4195
- return Bt(e, qr), e;
4195
+ return Bt(e, Vr), e;
4196
4196
  }
4197
4197
  const yi = {
4198
- document: qr,
4198
+ document: Vr,
4199
4199
  navigator: {
4200
4200
  userAgent: ""
4201
4201
  },
@@ -4652,8 +4652,8 @@ function Ni() {
4652
4652
  t.virtual.slidesPerViewAutoSlideSize && (h = t.virtual.slidesPerViewAutoSlideSize), h && k && (t.roundLengths && (h = Math.floor(h)), k.style[e.getDirectionLabel("width")] = `${h}px`);
4653
4653
  else if (t.slidesPerView === "auto") {
4654
4654
  _ && (k.style[e.getDirectionLabel("width")] = "");
4655
- const R = getComputedStyle(k), V = k.style.transform, q = k.style.webkitTransform;
4656
- if (V && (k.style.transform = "none"), q && (k.style.webkitTransform = "none"), t.roundLengths)
4655
+ const R = getComputedStyle(k), F = k.style.transform, V = k.style.webkitTransform;
4656
+ if (F && (k.style.transform = "none"), V && (k.style.webkitTransform = "none"), t.roundLengths)
4657
4657
  h = e.isHorizontal() ? ht(k, "width") : ht(k, "height");
4658
4658
  else {
4659
4659
  const Q = r(R, "width"), E = r(R, "padding-left"), M = r(R, "padding-right"), S = r(R, "margin-left"), B = r(R, "margin-right"), C = R.getPropertyValue("box-sizing");
@@ -4667,7 +4667,7 @@ function Ni() {
4667
4667
  h = Q + E + M + S + B + (H - I);
4668
4668
  }
4669
4669
  }
4670
- V && (k.style.transform = V), q && (k.style.webkitTransform = q), t.roundLengths && (h = Math.floor(h));
4670
+ F && (k.style.transform = F), V && (k.style.webkitTransform = V), t.roundLengths && (h = Math.floor(h));
4671
4671
  } else
4672
4672
  h = (m - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (h = Math.floor(h)), k && (k.style[e.getDirectionLabel("width")] = `${h}px`);
4673
4673
  k && (k.swiperSlideSize = h), f.push(h), t.centeredSlides ? (w = w + h / 2 + y / 2 + v, y === 0 && O !== 0 && (w = w - m / 2 - v), O === 0 && (w = w - m / 2 - v), Math.abs(w) < 1 / 1e3 && (w = 0), t.roundLengths && (w = Math.floor(w)), A % t.slidesPerGroup === 0 && d.push(w), T.push(w)) : (t.roundLengths && (w = Math.floor(w)), (A - Math.min(e.params.slidesPerGroupSkip, A)) % e.params.slidesPerGroup === 0 && d.push(w), T.push(w), w = w + h + v), e.virtualSize += h + v, y = h, A += 1;
@@ -4685,7 +4685,7 @@ function Ni() {
4685
4685
  const O = f[0] + v;
4686
4686
  if (t.slidesPerGroup > 1) {
4687
4687
  const k = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / t.slidesPerGroup), R = O * t.slidesPerGroup;
4688
- for (let V = 0; V < k; V += 1)
4688
+ for (let F = 0; F < k; F += 1)
4689
4689
  d.push(d[d.length - 1] + R);
4690
4690
  }
4691
4691
  for (let k = 0; k < e.virtual.slidesBefore + e.virtual.slidesAfter; k += 1)
@@ -4713,10 +4713,10 @@ function Ni() {
4713
4713
  const k = (g || 0) + (b || 0);
4714
4714
  if (O + k < m) {
4715
4715
  const R = (m - O - k) / 2;
4716
- d.forEach((V, q) => {
4717
- d[q] = V - R;
4718
- }), T.forEach((V, q) => {
4719
- T[q] = V + R;
4716
+ d.forEach((F, V) => {
4717
+ d[V] = F - R;
4718
+ }), T.forEach((F, V) => {
4719
+ T[V] = F + R;
4720
4720
  });
4721
4721
  }
4722
4722
  }
@@ -4882,7 +4882,7 @@ const Ye = (e, r) => {
4882
4882
  for (let o = Math.max(i - r, 0); o <= Math.min(s + r, t - 1); o += 1)
4883
4883
  o !== i && (o > s || o < i) && ut(e, o);
4884
4884
  };
4885
- function Fi(e) {
4885
+ function qi(e) {
4886
4886
  const {
4887
4887
  slidesGrid: r,
4888
4888
  params: t
@@ -4892,7 +4892,7 @@ function Fi(e) {
4892
4892
  typeof r[s + 1] < "u" ? n >= r[s] && n < r[s + 1] - (r[s + 1] - r[s]) / 2 ? i = s : n >= r[s] && n < r[s + 1] && (i = s + 1) : n >= r[s] && (i = s);
4893
4893
  return t.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
4894
4894
  }
4895
- function Vi(e) {
4895
+ function Fi(e) {
4896
4896
  const r = this, t = r.rtlTranslate ? r.translate : -r.translate, {
4897
4897
  snapGrid: n,
4898
4898
  params: i,
@@ -4905,7 +4905,7 @@ function Vi(e) {
4905
4905
  let g = f - r.virtual.slidesBefore;
4906
4906
  return g < 0 && (g = r.virtual.slides.length + g), g >= r.virtual.slides.length && (g -= r.virtual.slides.length), g;
4907
4907
  };
4908
- if (typeof a > "u" && (a = Fi(r)), n.indexOf(t) >= 0)
4908
+ if (typeof a > "u" && (a = qi(r)), n.indexOf(t) >= 0)
4909
4909
  c = n.indexOf(t);
4910
4910
  else {
4911
4911
  const f = Math.min(i.slidesPerGroupSkip, a);
@@ -4941,7 +4941,7 @@ function Vi(e) {
4941
4941
  activeIndex: a
4942
4942
  }), r.initialized && vt(r), r.emit("activeIndexChange"), r.emit("snapIndexChange"), (r.initialized || r.params.runCallbacksOnInit) && (o !== T && r.emit("realIndexChange"), r.emit("slideChange"));
4943
4943
  }
4944
- function qi(e, r) {
4944
+ function Vi(e, r) {
4945
4945
  const t = this, n = t.params;
4946
4946
  let i = e.closest(`.${n.slideClass}, swiper-slide`);
4947
4947
  !i && t.isElement && r && r.length > 1 && r.includes(e) && [...r.slice(r.indexOf(e) + 1, r.length)].forEach((l) => {
@@ -4971,8 +4971,8 @@ var Hi = {
4971
4971
  updateSlidesProgress: $i,
4972
4972
  updateProgress: Gi,
4973
4973
  updateSlidesClasses: ji,
4974
- updateActiveIndex: Vi,
4975
- updateClickedSlide: qi
4974
+ updateActiveIndex: Fi,
4975
+ updateClickedSlide: Vi
4976
4976
  };
4977
4977
  function Wi(e = this.isHorizontal() ? "x" : "y") {
4978
4978
  const r = this, {
@@ -5389,11 +5389,11 @@ function us({
5389
5389
  const L = [], h = [], _ = A ? Math.ceil(c.length / f.grid.rows) : c.length, O = s && _ - u < v && !m;
5390
5390
  let k = O ? u : a.activeIndex;
5391
5391
  typeof i > "u" ? i = a.getSlideIndex(c.find((S) => S.classList.contains(f.slideActiveClass))) : k = i;
5392
- const R = t === "next" || !t, V = t === "prev" || !t;
5393
- let q = 0, Q = 0;
5392
+ const R = t === "next" || !t, F = t === "prev" || !t;
5393
+ let V = 0, Q = 0;
5394
5394
  const M = (A ? c[i].column : i) + (m && typeof n > "u" ? -v / 2 + 0.5 : 0);
5395
5395
  if (M < y) {
5396
- q = Math.max(y - M, w);
5396
+ V = Math.max(y - M, w);
5397
5397
  for (let S = 0; S < y - M; S += 1) {
5398
5398
  const B = S - Math.floor(S / _) * _;
5399
5399
  if (A) {
@@ -5414,17 +5414,17 @@ function us({
5414
5414
  }
5415
5415
  if (a.__preventObserver__ = !0, requestAnimationFrame(() => {
5416
5416
  a.__preventObserver__ = !1;
5417
- }), a.params.effect === "cards" && c.length < v + y * 2 && (h.includes(i) && h.splice(h.indexOf(i), 1), L.includes(i) && L.splice(L.indexOf(i), 1)), V && L.forEach((S) => {
5417
+ }), a.params.effect === "cards" && c.length < v + y * 2 && (h.includes(i) && h.splice(h.indexOf(i), 1), L.includes(i) && L.splice(L.indexOf(i), 1)), F && L.forEach((S) => {
5418
5418
  c[S].swiperLoopMoveDOM = !0, T.prepend(c[S]), c[S].swiperLoopMoveDOM = !1;
5419
5419
  }), R && h.forEach((S) => {
5420
5420
  c[S].swiperLoopMoveDOM = !0, T.append(c[S]), c[S].swiperLoopMoveDOM = !1;
5421
- }), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : A && (L.length > 0 && V || h.length > 0 && R) && a.slides.forEach((S, B) => {
5421
+ }), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : A && (L.length > 0 && F || h.length > 0 && R) && a.slides.forEach((S, B) => {
5422
5422
  a.grid.updateSlide(B, S, a.slides);
5423
5423
  }), f.watchSlidesProgress && a.updateSlidesOffset(), r) {
5424
- if (L.length > 0 && V) {
5424
+ if (L.length > 0 && F) {
5425
5425
  if (typeof e > "u") {
5426
- const S = a.slidesGrid[k], C = a.slidesGrid[k + q] - S;
5427
- l ? a.setTranslate(a.translate - C) : (a.slideTo(k + Math.ceil(q), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - C, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - C));
5426
+ const S = a.slidesGrid[k], C = a.slidesGrid[k + V] - S;
5427
+ l ? a.setTranslate(a.translate - C) : (a.slideTo(k + Math.ceil(V), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - C, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - C));
5428
5428
  } else if (n) {
5429
5429
  const S = A ? L.length / f.grid.rows : L.length;
5430
5430
  a.slideTo(a.activeIndex + S, 0, !1, !0), a.touchEventsData.currentTranslate = a.translate;
@@ -6627,7 +6627,7 @@ function js({
6627
6627
  }, o) {
6628
6628
  en(o) && r && t && (s.params.navigation.nextEl = r, s.originalParams.navigation.nextEl = r, s.params.navigation.prevEl = t, s.originalParams.navigation.prevEl = t), tn(o) && n && (s.params.pagination.el = n, s.originalParams.pagination.el = n), rn(o) && i && (s.params.scrollbar.el = i, s.originalParams.scrollbar.el = i), s.init(e);
6629
6629
  }
6630
- function Fs(e, r, t, n, i) {
6630
+ function qs(e, r, t, n, i) {
6631
6631
  const s = [];
6632
6632
  if (!r) return s;
6633
6633
  const o = (a) => {
@@ -6649,7 +6649,7 @@ function Fs(e, r, t, n, i) {
6649
6649
  } else e[a] !== r[a] && o(a);
6650
6650
  }), s;
6651
6651
  }
6652
- const Vs = (e) => {
6652
+ const Fs = (e) => {
6653
6653
  !e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.emit("_virtualUpdated"), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
6654
6654
  };
6655
6655
  function Je() {
@@ -6671,7 +6671,7 @@ function an(e) {
6671
6671
  sn(t) ? r.push(t) : t.props && t.props.children && an(t.props.children).forEach((n) => r.push(n));
6672
6672
  }), r;
6673
6673
  }
6674
- function qs(e) {
6674
+ function Vs(e) {
6675
6675
  const r = [], t = {
6676
6676
  "container-start": [],
6677
6677
  "container-end": [],
@@ -6734,7 +6734,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6734
6734
  } = Gs(s), {
6735
6735
  slides: k,
6736
6736
  slots: R
6737
- } = qs(n), V = () => {
6737
+ } = Vs(n), F = () => {
6738
6738
  f(!T);
6739
6739
  };
6740
6740
  Object.assign(L.on, {
@@ -6742,7 +6742,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6742
6742
  c(B);
6743
6743
  }
6744
6744
  });
6745
- const q = () => {
6745
+ const V = () => {
6746
6746
  Object.assign(L.on, O), l = !0;
6747
6747
  const S = {
6748
6748
  ...L
@@ -6758,7 +6758,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6758
6758
  Me(x.current.params.virtual, B), Me(x.current.originalParams.virtual, B);
6759
6759
  }
6760
6760
  };
6761
- b.current || q(), x.current && x.current.on("_beforeBreakpoint", V);
6761
+ b.current || V(), x.current && x.current.on("_beforeBreakpoint", F);
6762
6762
  const Q = () => {
6763
6763
  l || !O || !x.current || Object.keys(O).forEach((S) => {
6764
6764
  x.current.on(S, O[S]);
@@ -6769,12 +6769,12 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6769
6769
  });
6770
6770
  };
6771
6771
  mt(() => () => {
6772
- x.current && x.current.off("_beforeBreakpoint", V);
6772
+ x.current && x.current.off("_beforeBreakpoint", F);
6773
6773
  }), mt(() => {
6774
6774
  !g.current && x.current && (x.current.emitSlidesClasses(), g.current = !0);
6775
6775
  }), _e(() => {
6776
6776
  if (o && (o.current = b.current), !!b.current)
6777
- return x.current.destroyed && q(), js({
6777
+ return x.current.destroyed && V(), js({
6778
6778
  el: b.current,
6779
6779
  nextEl: v.current,
6780
6780
  prevEl: w.current,
@@ -6786,7 +6786,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6786
6786
  };
6787
6787
  }, []), _e(() => {
6788
6788
  Q();
6789
- const S = Fs(h, u.current, k, m.current, (B) => B.key);
6789
+ const S = qs(h, u.current, k, m.current, (B) => B.key);
6790
6790
  return u.current = h, m.current = k, S.length && x.current && !x.current.destroyed && $s({
6791
6791
  swiper: x.current,
6792
6792
  slides: k,
@@ -6800,7 +6800,7 @@ const lr = /* @__PURE__ */ ye(null), Ws = /* @__PURE__ */ ye(null), on = /* @__P
6800
6800
  E();
6801
6801
  };
6802
6802
  }), _e(() => {
6803
- Vs(x.current);
6803
+ Fs(x.current);
6804
6804
  }, [p]);
6805
6805
  function M() {
6806
6806
  return L.virtual ? Hs(x.current, k, p) : k.map((S, B) => /* @__PURE__ */ ie.cloneElement(S, {
@@ -7111,28 +7111,28 @@ function Xs({
7111
7111
  if (m.dynamicBullets && (s = ht(h[0], e.isHorizontal() ? "width" : "height"), v.forEach((R) => {
7112
7112
  R.style[e.isHorizontal() ? "width" : "height"] = `${s * (m.dynamicMainBullets + 4)}px`;
7113
7113
  }), m.dynamicMainBullets > 1 && y !== void 0 && (o += w - (y || 0), o > m.dynamicMainBullets - 1 ? o = m.dynamicMainBullets - 1 : o < 0 && (o = 0)), _ = Math.max(w - o, 0), O = _ + (Math.min(h.length, m.dynamicMainBullets) - 1), k = (O + _) / 2), h.forEach((R) => {
7114
- const V = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((q) => `${m.bulletActiveClass}${q}`)].map((q) => typeof q == "string" && q.includes(" ") ? q.split(" ") : q).flat();
7115
- R.classList.remove(...V);
7114
+ const F = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((V) => `${m.bulletActiveClass}${V}`)].map((V) => typeof V == "string" && V.includes(" ") ? V.split(" ") : V).flat();
7115
+ R.classList.remove(...F);
7116
7116
  }), v.length > 1)
7117
7117
  h.forEach((R) => {
7118
- const V = De(R);
7119
- V === w ? R.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && R.setAttribute("part", "bullet"), m.dynamicBullets && (V >= _ && V <= O && R.classList.add(...`${m.bulletActiveClass}-main`.split(" ")), V === _ && a(R, "prev"), V === O && a(R, "next"));
7118
+ const F = De(R);
7119
+ F === w ? R.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && R.setAttribute("part", "bullet"), m.dynamicBullets && (F >= _ && F <= O && R.classList.add(...`${m.bulletActiveClass}-main`.split(" ")), F === _ && a(R, "prev"), F === O && a(R, "next"));
7120
7120
  });
7121
7121
  else {
7122
7122
  const R = h[w];
7123
- if (R && R.classList.add(...m.bulletActiveClass.split(" ")), e.isElement && h.forEach((V, q) => {
7124
- V.setAttribute("part", q === w ? "bullet-active" : "bullet");
7123
+ if (R && R.classList.add(...m.bulletActiveClass.split(" ")), e.isElement && h.forEach((F, V) => {
7124
+ F.setAttribute("part", V === w ? "bullet-active" : "bullet");
7125
7125
  }), m.dynamicBullets) {
7126
- const V = h[_], q = h[O];
7126
+ const F = h[_], V = h[O];
7127
7127
  for (let Q = _; Q <= O; Q += 1)
7128
7128
  h[Q] && h[Q].classList.add(...`${m.bulletActiveClass}-main`.split(" "));
7129
- a(V, "prev"), a(q, "next");
7129
+ a(F, "prev"), a(V, "next");
7130
7130
  }
7131
7131
  }
7132
7132
  if (m.dynamicBullets) {
7133
- const R = Math.min(h.length, m.dynamicMainBullets + 4), V = (s * R - s) / 2 - k * s, q = u ? "right" : "left";
7133
+ const R = Math.min(h.length, m.dynamicMainBullets + 4), F = (s * R - s) / 2 - k * s, V = u ? "right" : "left";
7134
7134
  h.forEach((Q) => {
7135
- Q.style[e.isHorizontal() ? q : "top"] = `${V}px`;
7135
+ Q.style[e.isHorizontal() ? V : "top"] = `${F}px`;
7136
7136
  });
7137
7137
  }
7138
7138
  }
@@ -7145,9 +7145,9 @@ function Xs({
7145
7145
  let O;
7146
7146
  m.progressbarOpposite ? O = e.isHorizontal() ? "vertical" : "horizontal" : O = e.isHorizontal() ? "horizontal" : "vertical";
7147
7147
  const k = (w + 1) / L;
7148
- let R = 1, V = 1;
7149
- O === "horizontal" ? R = k : V = k, h.querySelectorAll(he(m.progressbarFillClass)).forEach((q) => {
7150
- q.style.transform = `translate3d(0,0,0) scaleX(${R}) scaleY(${V})`, q.style.transitionDuration = `${e.params.speed}ms`;
7148
+ let R = 1, F = 1;
7149
+ O === "horizontal" ? R = k : F = k, h.querySelectorAll(he(m.progressbarFillClass)).forEach((V) => {
7150
+ V.style.transform = `translate3d(0,0,0) scaleX(${R}) scaleY(${F})`, V.style.transitionDuration = `${e.params.speed}ms`;
7151
7151
  });
7152
7152
  }
7153
7153
  m.type === "custom" && m.renderCustom ? (Pe(h, m.renderCustom(e, w + 1, L)), _ === 0 && n("paginationRender", h)) : (_ === 0 && n("paginationRender", h), n("paginationUpdate", h)), e.params.watchOverflow && e.enabled && h.classList[e.isLocked ? "add" : "remove"](m.lockClass);
@@ -7385,7 +7385,7 @@ function Us({
7385
7385
  S || B || E.sourceCapabilities && E.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
7386
7386
  i || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(M.getAttribute("data-swiper-slide-index"))), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(M)), 0), i = !1);
7387
7387
  }));
7388
- }, V = () => {
7388
+ }, F = () => {
7389
7389
  const E = e.params.a11y;
7390
7390
  E.itemRoleDescriptionMessage && T(e.slides, E.itemRoleDescriptionMessage), E.slideRole && d(e.slides, E.slideRole);
7391
7391
  const M = e.slides.length;
@@ -7393,7 +7393,7 @@ function Us({
7393
7393
  const C = e.params.loop ? parseInt(S.getAttribute("data-swiper-slide-index"), 10) : B, I = E.slideLabelMessage.replace(/\{\{index\}\}/, C + 1).replace(/\{\{slidesLength\}\}/, M);
7394
7394
  g(S, I);
7395
7395
  });
7396
- }, q = () => {
7396
+ }, V = () => {
7397
7397
  const E = e.params.a11y;
7398
7398
  e.el.append(n);
7399
7399
  const M = e.el;
@@ -7403,7 +7403,7 @@ function Us({
7403
7403
  const $ = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
7404
7404
  x(S, $);
7405
7405
  }
7406
- V();
7406
+ F();
7407
7407
  let {
7408
7408
  nextEl: C,
7409
7409
  prevEl: I
@@ -7425,9 +7425,9 @@ function Us({
7425
7425
  t("beforeInit", () => {
7426
7426
  n = Ne("span", e.params.a11y.notificationClass), n.setAttribute("aria-live", "assertive"), n.setAttribute("aria-atomic", "true");
7427
7427
  }), t("afterInit", () => {
7428
- e.params.a11y.enabled && q();
7429
- }), t("slidesLengthChange snapGridLengthChange slidesGridLengthChange", () => {
7430
7428
  e.params.a11y.enabled && V();
7429
+ }), t("slidesLengthChange snapGridLengthChange slidesGridLengthChange", () => {
7430
+ e.params.a11y.enabled && F();
7431
7431
  }), t("fromEdge toEdge afterInit lock unlock", () => {
7432
7432
  e.params.a11y.enabled && w();
7433
7433
  }), t("paginationUpdate", () => {
@@ -7514,9 +7514,9 @@ function Ks({
7514
7514
  M.pointerType === "mouse" && (x = !0, u = !0, !(e.animating || e.autoplay.paused) && h(!0));
7515
7515
  }, R = (M) => {
7516
7516
  M.pointerType === "mouse" && (u = !1, e.autoplay.paused && _());
7517
- }, V = () => {
7517
+ }, F = () => {
7518
7518
  e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", k), e.el.addEventListener("pointerleave", R));
7519
- }, q = () => {
7519
+ }, V = () => {
7520
7520
  e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", k), e.el.removeEventListener("pointerleave", R));
7521
7521
  }, Q = () => {
7522
7522
  de().addEventListener("visibilitychange", O);
@@ -7524,9 +7524,9 @@ function Ks({
7524
7524
  de().removeEventListener("visibilitychange", O);
7525
7525
  };
7526
7526
  t("init", () => {
7527
- e.params.autoplay.enabled && (V(), Q(), A());
7527
+ e.params.autoplay.enabled && (F(), Q(), A());
7528
7528
  }), t("destroy", () => {
7529
- q(), E(), e.autoplay.running && L();
7529
+ V(), E(), e.autoplay.running && L();
7530
7530
  }), t("_freeModeStaticRelease", () => {
7531
7531
  (f || x) && _();
7532
7532
  }), t("_freeModeNoMomentumRelease", () => {
@@ -7647,7 +7647,7 @@ const Gt = ({
7647
7647
  onSwiper: d,
7648
7648
  onSlideChange: T
7649
7649
  }) => {
7650
- const { theme: f } = ce(Vr);
7650
+ const { theme: f } = ce(Fr);
7651
7651
  return /* @__PURE__ */ G("div", { className: "relative w-full", children: /* @__PURE__ */ G(
7652
7652
  on,
7653
7653
  {