uikit-react-public 0.32.3 → 0.32.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.
package/dist/index.js CHANGED
@@ -194,7 +194,7 @@ function xs(e) {
194
194
  return Nl(ho("", null, null, null, [""], e = zl(e), 0, [0], e));
195
195
  }
196
196
  function ho(e, t, o, r, i, l, a, c, d) {
197
- for (var s = 0, p = 0, f = a, h = 0, g = 0, y = 0, b = 1, w = 1, x = 1, S = 0, C = "", A = i, v = l, I = r, E = C; w; )
197
+ for (var s = 0, p = 0, f = a, h = 0, g = 0, y = 0, b = 1, v = 1, x = 1, S = 0, C = "", A = i, w = l, I = r, E = C; v; )
198
198
  switch (y = S, S = Pe()) {
199
199
  // (
200
200
  case 40:
@@ -241,7 +241,7 @@ function ho(e, t, o, r, i, l, a, c, d) {
241
241
  // \0 }
242
242
  case 0:
243
243
  case 125:
244
- w = 0;
244
+ v = 0;
245
245
  // ;
246
246
  case 59 + p:
247
247
  x == -1 && (E = he(E, /\f/g, "")), g > 0 && tt(E) - f && oo(g > 32 ? Fn(E + ";", r, o, f - 1) : Fn(he(E, " ", "") + ";", r, o, f - 2), d);
@@ -251,9 +251,9 @@ function ho(e, t, o, r, i, l, a, c, d) {
251
251
  E += ";";
252
252
  // { rule/at-rule
253
253
  default:
254
- if (oo(I = Hn(E, t, o, s, p, i, c, C, A = [], v = [], f), l), S === 123)
254
+ if (oo(I = Hn(E, t, o, s, p, i, c, C, A = [], w = [], f), l), S === 123)
255
255
  if (p === 0)
256
- ho(E, t, I, I, A, l, f, c, v);
256
+ ho(E, t, I, I, A, l, f, c, w);
257
257
  else
258
258
  switch (h === 99 && Fe(E, 3) === 110 ? 100 : h) {
259
259
  // d l m s
@@ -261,10 +261,10 @@ function ho(e, t, o, r, i, l, a, c, d) {
261
261
  case 108:
262
262
  case 109:
263
263
  case 115:
264
- ho(e, I, I, r && oo(Hn(e, I, I, 0, 0, i, c, C, i, A = [], f), v), i, v, f, c, r ? A : v);
264
+ ho(e, I, I, r && oo(Hn(e, I, I, 0, 0, i, c, C, i, A = [], f), w), i, w, f, c, r ? A : w);
265
265
  break;
266
266
  default:
267
- ho(E, I, I, I, [""], v, 0, c, v);
267
+ ho(E, I, I, I, [""], w, 0, c, w);
268
268
  }
269
269
  }
270
270
  s = p = g = 0, b = x = 1, C = E = "", f = a;
@@ -300,9 +300,9 @@ function ho(e, t, o, r, i, l, a, c, d) {
300
300
  return l;
301
301
  }
302
302
  function Hn(e, t, o, r, i, l, a, c, d, s, p) {
303
- for (var f = i - 1, h = i === 0 ? l : [""], g = sn(h), y = 0, b = 0, w = 0; y < r; ++y)
303
+ for (var f = i - 1, h = i === 0 ? l : [""], g = sn(h), y = 0, b = 0, v = 0; y < r; ++y)
304
304
  for (var x = 0, S = Rt(e, f + 1, f = ds(b = a[y])), C = e; x < g; ++x)
305
- (C = Fl(b > 0 ? h[x] + " " + S : he(S, /&\f/g, h[x]))) && (d[w++] = C);
305
+ (C = Fl(b > 0 ? h[x] + " " + S : he(S, /&\f/g, h[x]))) && (d[v++] = C);
306
306
  return Co(e, t, o, i === 0 ? ln : c, d, s, p);
307
307
  }
308
308
  function ks(e, t, o) {
@@ -577,8 +577,8 @@ var Fs = function(t, o, r, i) {
577
577
  if (o === "css") {
578
578
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
579
579
  Array.prototype.forEach.call(r, function(b) {
580
- var w = b.getAttribute("data-emotion");
581
- w.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
580
+ var v = b.getAttribute("data-emotion");
581
+ v.indexOf(" ") !== -1 && (document.head.appendChild(b), b.setAttribute("data-s", ""));
582
582
  });
583
583
  }
584
584
  var i = t.stylisPlugins || Bs, l = {}, a, c = [];
@@ -587,8 +587,8 @@ var Fs = function(t, o, r, i) {
587
587
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
588
588
  document.querySelectorAll('style[data-emotion^="' + o + ' "]'),
589
589
  function(b) {
590
- for (var w = b.getAttribute("data-emotion").split(" "), x = 1; x < w.length; x++)
591
- l[w[x]] = !0;
590
+ for (var v = b.getAttribute("data-emotion").split(" "), x = 1; x < v.length; x++)
591
+ l[v[x]] = !0;
592
592
  c.push(b);
593
593
  }
594
594
  );
@@ -596,11 +596,11 @@ var Fs = function(t, o, r, i) {
596
596
  {
597
597
  var p, f = [Ss, Cs(function(b) {
598
598
  p.insert(b);
599
- })], h = As(s.concat(i, f)), g = function(w) {
600
- return Mt(xs(w), h);
599
+ })], h = As(s.concat(i, f)), g = function(v) {
600
+ return Mt(xs(v), h);
601
601
  };
602
- d = function(w, x, S, C) {
603
- p = S, g(w ? w + "{" + x.styles + "}" : x.styles), C && (y.inserted[x.name] = !0);
602
+ d = function(v, x, S, C) {
603
+ p = S, g(v ? v + "{" + x.styles + "}" : x.styles), C && (y.inserted[x.name] = !0);
604
604
  };
605
605
  }
606
606
  var y = {
@@ -12543,12 +12543,12 @@ for (const e in On)
12543
12543
  ...t
12544
12544
  }
12545
12545
  );
12546
- const yo = ql, fy = P(Zl), V = fy;
12547
- Object.assign(V, yo);
12548
- V.getIconNames = () => Object.keys(yo);
12546
+ const yo = ql, fy = P(Zl), T = fy;
12547
+ Object.assign(T, yo);
12548
+ T.getIconNames = () => Object.keys(yo);
12549
12549
  let To;
12550
12550
  for (To in yo)
12551
- V[To] = yo[To];
12551
+ T[To] = yo[To];
12552
12552
  var no = { exports: {} }, pe = {};
12553
12553
  /** @license React v16.13.1
12554
12554
  * react-is.production.min.js
@@ -12562,28 +12562,28 @@ var Zn;
12562
12562
  function py() {
12563
12563
  if (Zn) return pe;
12564
12564
  Zn = 1;
12565
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
12566
- function C(v) {
12567
- if (typeof v == "object" && v !== null) {
12568
- var I = v.$$typeof;
12565
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
12566
+ function C(w) {
12567
+ if (typeof w == "object" && w !== null) {
12568
+ var I = w.$$typeof;
12569
12569
  switch (I) {
12570
12570
  case t:
12571
- switch (v = v.type, v) {
12571
+ switch (w = w.type, w) {
12572
12572
  case d:
12573
12573
  case s:
12574
12574
  case r:
12575
12575
  case l:
12576
12576
  case i:
12577
12577
  case f:
12578
- return v;
12578
+ return w;
12579
12579
  default:
12580
- switch (v = v && v.$$typeof, v) {
12580
+ switch (w = w && w.$$typeof, w) {
12581
12581
  case c:
12582
12582
  case p:
12583
12583
  case y:
12584
12584
  case g:
12585
12585
  case a:
12586
- return v;
12586
+ return w;
12587
12587
  default:
12588
12588
  return I;
12589
12589
  }
@@ -12593,35 +12593,35 @@ function py() {
12593
12593
  }
12594
12594
  }
12595
12595
  }
12596
- function A(v) {
12597
- return C(v) === s;
12598
- }
12599
- return pe.AsyncMode = d, pe.ConcurrentMode = s, pe.ContextConsumer = c, pe.ContextProvider = a, pe.Element = t, pe.ForwardRef = p, pe.Fragment = r, pe.Lazy = y, pe.Memo = g, pe.Portal = o, pe.Profiler = l, pe.StrictMode = i, pe.Suspense = f, pe.isAsyncMode = function(v) {
12600
- return A(v) || C(v) === d;
12601
- }, pe.isConcurrentMode = A, pe.isContextConsumer = function(v) {
12602
- return C(v) === c;
12603
- }, pe.isContextProvider = function(v) {
12604
- return C(v) === a;
12605
- }, pe.isElement = function(v) {
12606
- return typeof v == "object" && v !== null && v.$$typeof === t;
12607
- }, pe.isForwardRef = function(v) {
12608
- return C(v) === p;
12609
- }, pe.isFragment = function(v) {
12610
- return C(v) === r;
12611
- }, pe.isLazy = function(v) {
12612
- return C(v) === y;
12613
- }, pe.isMemo = function(v) {
12614
- return C(v) === g;
12615
- }, pe.isPortal = function(v) {
12616
- return C(v) === o;
12617
- }, pe.isProfiler = function(v) {
12618
- return C(v) === l;
12619
- }, pe.isStrictMode = function(v) {
12620
- return C(v) === i;
12621
- }, pe.isSuspense = function(v) {
12622
- return C(v) === f;
12623
- }, pe.isValidElementType = function(v) {
12624
- return typeof v == "string" || typeof v == "function" || v === r || v === s || v === l || v === i || v === f || v === h || typeof v == "object" && v !== null && (v.$$typeof === y || v.$$typeof === g || v.$$typeof === a || v.$$typeof === c || v.$$typeof === p || v.$$typeof === w || v.$$typeof === x || v.$$typeof === S || v.$$typeof === b);
12596
+ function A(w) {
12597
+ return C(w) === s;
12598
+ }
12599
+ return pe.AsyncMode = d, pe.ConcurrentMode = s, pe.ContextConsumer = c, pe.ContextProvider = a, pe.Element = t, pe.ForwardRef = p, pe.Fragment = r, pe.Lazy = y, pe.Memo = g, pe.Portal = o, pe.Profiler = l, pe.StrictMode = i, pe.Suspense = f, pe.isAsyncMode = function(w) {
12600
+ return A(w) || C(w) === d;
12601
+ }, pe.isConcurrentMode = A, pe.isContextConsumer = function(w) {
12602
+ return C(w) === c;
12603
+ }, pe.isContextProvider = function(w) {
12604
+ return C(w) === a;
12605
+ }, pe.isElement = function(w) {
12606
+ return typeof w == "object" && w !== null && w.$$typeof === t;
12607
+ }, pe.isForwardRef = function(w) {
12608
+ return C(w) === p;
12609
+ }, pe.isFragment = function(w) {
12610
+ return C(w) === r;
12611
+ }, pe.isLazy = function(w) {
12612
+ return C(w) === y;
12613
+ }, pe.isMemo = function(w) {
12614
+ return C(w) === g;
12615
+ }, pe.isPortal = function(w) {
12616
+ return C(w) === o;
12617
+ }, pe.isProfiler = function(w) {
12618
+ return C(w) === l;
12619
+ }, pe.isStrictMode = function(w) {
12620
+ return C(w) === i;
12621
+ }, pe.isSuspense = function(w) {
12622
+ return C(w) === f;
12623
+ }, pe.isValidElementType = function(w) {
12624
+ return typeof w == "string" || typeof w == "function" || w === r || w === s || w === l || w === i || w === f || w === h || typeof w == "object" && w !== null && (w.$$typeof === y || w.$$typeof === g || w.$$typeof === a || w.$$typeof === c || w.$$typeof === p || w.$$typeof === v || w.$$typeof === x || w.$$typeof === S || w.$$typeof === b);
12625
12625
  }, pe.typeOf = C, pe;
12626
12626
  }
12627
12627
  var me = {};
@@ -12636,17 +12636,17 @@ var me = {};
12636
12636
  var qn;
12637
12637
  function my() {
12638
12638
  return qn || (qn = 1, process.env.NODE_ENV !== "production" && (function() {
12639
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, w = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
12640
- function C(T) {
12641
- return typeof T == "string" || typeof T == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
12642
- T === r || T === s || T === l || T === i || T === f || T === h || typeof T == "object" && T !== null && (T.$$typeof === y || T.$$typeof === g || T.$$typeof === a || T.$$typeof === c || T.$$typeof === p || T.$$typeof === w || T.$$typeof === x || T.$$typeof === S || T.$$typeof === b);
12643
- }
12644
- function A(T) {
12645
- if (typeof T == "object" && T !== null) {
12646
- var te = T.$$typeof;
12639
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, s = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
12640
+ function C(R) {
12641
+ return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
12642
+ R === r || R === s || R === l || R === i || R === f || R === h || typeof R == "object" && R !== null && (R.$$typeof === y || R.$$typeof === g || R.$$typeof === a || R.$$typeof === c || R.$$typeof === p || R.$$typeof === v || R.$$typeof === x || R.$$typeof === S || R.$$typeof === b);
12643
+ }
12644
+ function A(R) {
12645
+ if (typeof R == "object" && R !== null) {
12646
+ var te = R.$$typeof;
12647
12647
  switch (te) {
12648
12648
  case t:
12649
- var He = T.type;
12649
+ var He = R.type;
12650
12650
  switch (He) {
12651
12651
  case d:
12652
12652
  case s:
@@ -12673,47 +12673,47 @@ function my() {
12673
12673
  }
12674
12674
  }
12675
12675
  }
12676
- var v = d, I = s, E = c, H = a, z = t, D = p, G = r, j = y, X = g, oe = o, Z = l, Y = i, ne = f, U = !1;
12677
- function F(T) {
12678
- return U || (U = !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.")), N(T) || A(T) === d;
12676
+ var w = d, I = s, E = c, H = a, z = t, D = p, J = r, j = y, X = g, oe = o, Z = l, Y = i, ne = f, U = !1;
12677
+ function F(R) {
12678
+ return U || (U = !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.")), N(R) || A(R) === d;
12679
12679
  }
12680
- function N(T) {
12681
- return A(T) === s;
12680
+ function N(R) {
12681
+ return A(R) === s;
12682
12682
  }
12683
- function ie(T) {
12684
- return A(T) === c;
12683
+ function ie(R) {
12684
+ return A(R) === c;
12685
12685
  }
12686
- function _(T) {
12687
- return A(T) === a;
12686
+ function _(R) {
12687
+ return A(R) === a;
12688
12688
  }
12689
- function se(T) {
12690
- return typeof T == "object" && T !== null && T.$$typeof === t;
12689
+ function se(R) {
12690
+ return typeof R == "object" && R !== null && R.$$typeof === t;
12691
12691
  }
12692
- function Se(T) {
12693
- return A(T) === p;
12692
+ function Se(R) {
12693
+ return A(R) === p;
12694
12694
  }
12695
- function q(T) {
12696
- return A(T) === r;
12695
+ function q(R) {
12696
+ return A(R) === r;
12697
12697
  }
12698
- function Q(T) {
12699
- return A(T) === y;
12698
+ function G(R) {
12699
+ return A(R) === y;
12700
12700
  }
12701
- function le(T) {
12702
- return A(T) === g;
12701
+ function le(R) {
12702
+ return A(R) === g;
12703
12703
  }
12704
- function de(T) {
12705
- return A(T) === o;
12704
+ function de(R) {
12705
+ return A(R) === o;
12706
12706
  }
12707
- function be(T) {
12708
- return A(T) === l;
12707
+ function be(R) {
12708
+ return A(R) === l;
12709
12709
  }
12710
- function ke(T) {
12711
- return A(T) === i;
12710
+ function ke(R) {
12711
+ return A(R) === i;
12712
12712
  }
12713
- function fe(T) {
12714
- return A(T) === f;
12713
+ function fe(R) {
12714
+ return A(R) === f;
12715
12715
  }
12716
- me.AsyncMode = v, me.ConcurrentMode = I, me.ContextConsumer = E, me.ContextProvider = H, me.Element = z, me.ForwardRef = D, me.Fragment = G, me.Lazy = j, me.Memo = X, me.Portal = oe, me.Profiler = Z, me.StrictMode = Y, me.Suspense = ne, me.isAsyncMode = F, me.isConcurrentMode = N, me.isContextConsumer = ie, me.isContextProvider = _, me.isElement = se, me.isForwardRef = Se, me.isFragment = q, me.isLazy = Q, me.isMemo = le, me.isPortal = de, me.isProfiler = be, me.isStrictMode = ke, me.isSuspense = fe, me.isValidElementType = C, me.typeOf = A;
12716
+ me.AsyncMode = w, me.ConcurrentMode = I, me.ContextConsumer = E, me.ContextProvider = H, me.Element = z, me.ForwardRef = D, me.Fragment = J, me.Lazy = j, me.Memo = X, me.Portal = oe, me.Profiler = Z, me.StrictMode = Y, me.Suspense = ne, me.isAsyncMode = F, me.isConcurrentMode = N, me.isContextConsumer = ie, me.isContextProvider = _, me.isElement = se, me.isForwardRef = Se, me.isFragment = q, me.isLazy = G, me.isMemo = le, me.isPortal = de, me.isProfiler = be, me.isStrictMode = ke, me.isSuspense = fe, me.isValidElementType = C, me.typeOf = A;
12717
12717
  })()), me;
12718
12718
  }
12719
12719
  var Pn;
@@ -12763,17 +12763,17 @@ function yy() {
12763
12763
  return e.isMemo(y) ? i : l[y.$$typeof] || t;
12764
12764
  }
12765
12765
  var c = Object.defineProperty, d = Object.getOwnPropertyNames, s = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, f = Object.getPrototypeOf, h = Object.prototype;
12766
- function g(y, b, w) {
12766
+ function g(y, b, v) {
12767
12767
  if (typeof b != "string") {
12768
12768
  if (h) {
12769
12769
  var x = f(b);
12770
- x && x !== h && g(y, x, w);
12770
+ x && x !== h && g(y, x, v);
12771
12771
  }
12772
12772
  var S = d(b);
12773
12773
  s && (S = S.concat(s(b)));
12774
- for (var C = a(y), A = a(b), v = 0; v < S.length; ++v) {
12775
- var I = S[v];
12776
- if (!o[I] && !(w && w[I]) && !(A && A[I]) && !(C && C[I])) {
12774
+ for (var C = a(y), A = a(b), w = 0; w < S.length; ++w) {
12775
+ var I = S[w];
12776
+ if (!o[I] && !(v && v[I]) && !(A && A[I]) && !(C && C[I])) {
12777
12777
  var E = p(b, I);
12778
12778
  try {
12779
12779
  c(y, I, E);
@@ -13290,7 +13290,7 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13290
13290
  white: en.white
13291
13291
  }, W4 = {
13292
13292
  blanket: "rgba(0, 0, 0, 0.5)"
13293
- }, J = {
13293
+ }, Q = {
13294
13294
  base: O,
13295
13295
  text: A4,
13296
13296
  interaction: C4,
@@ -13311,17 +13311,17 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13311
13311
  }, { light: K } = Pt, H4 = {
13312
13312
  default: M(K.colour.bg.default.$value),
13313
13313
  brand: M(K.colour.bg.brand.$value),
13314
- inverse: J.interaction.blue70,
13314
+ inverse: Q.interaction.blue70,
13315
13315
  // tokenToHex(lightThemeTokens.colour.bg.inverse.$value),
13316
- inversePrimary: J.interaction.blue100
13316
+ inversePrimary: Q.interaction.blue100
13317
13317
  // tokenToHex(lightThemeTokens.colour.bg['inverse-primary'].$value),
13318
13318
  }, F4 = {
13319
13319
  default: M(K.colour.border.default.$value),
13320
- brand: J.interaction.blue70,
13320
+ brand: Q.interaction.blue70,
13321
13321
  // tokenToHex(lightThemeTokens.colour.border.brand.$value),
13322
- brandHover: J.interaction.blue80,
13322
+ brandHover: Q.interaction.blue80,
13323
13323
  // tokenToHex(lightThemeTokens.colour.border['brand-hover'].$value),
13324
- brandSubtle: J.base.blue20Alt,
13324
+ brandSubtle: Q.base.blue20Alt,
13325
13325
  // tokenToHex(lightThemeTokens.colour.border['brand-subtle'].$value),
13326
13326
  primary: M(K.colour.border.primary.$value),
13327
13327
  secondary: M(K.colour.border.secondary.$value),
@@ -13332,44 +13332,44 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13332
13332
  brandInverse: M(
13333
13333
  K.colour.border["brand-inverse"].$value
13334
13334
  ),
13335
- brandInverseSecondary: J.base.blue40,
13335
+ brandInverseSecondary: Q.base.blue40,
13336
13336
  // tokenToHex(lightThemeTokens.colour.border['brand-inverse-secondary'].$value),
13337
- focus: J.interaction.blue80,
13337
+ focus: Q.interaction.blue80,
13338
13338
  // tokenToHex(lightThemeTokens.colour.border.focus.$value),
13339
- success: J.system.green70,
13339
+ success: Q.system.green70,
13340
13340
  // tokenToHex(lightThemeTokens.colour.border.success.$value),
13341
- critical: J.system.red70,
13341
+ critical: Q.system.red70,
13342
13342
  // tokenToHex(lightThemeTokens.colour.border.critical.$value),
13343
- warning: J.system.orange70
13343
+ warning: Q.system.orange70
13344
13344
  // tokenToHex(lightThemeTokens.colour.border.warning.$value),
13345
13345
  }, B4 = {
13346
13346
  default: M(K.colour.fill.default.$value),
13347
13347
  hover: M(K.colour.fill.hover.$value),
13348
- brand: J.interaction.blue70,
13348
+ brand: Q.interaction.blue70,
13349
13349
  // tokenToHex(lightThemeTokens.colour.fill.brand.$value),
13350
- brandHover: J.interaction.blue80,
13350
+ brandHover: Q.interaction.blue80,
13351
13351
  // tokenToHex(lightThemeTokens.colour.fill['brand-hover'].$value),
13352
- brandPressed: J.interaction.blue80,
13352
+ brandPressed: Q.interaction.blue80,
13353
13353
  // tokenToHex(lightThemeTokens.colour.fill['brand-pressed'].$value),
13354
- brandSubtleSelected: J.interaction.blue10,
13354
+ brandSubtleSelected: Q.interaction.blue10,
13355
13355
  // tokenToHex(lightThemeTokens.colour.fill['brand-subtle-selected'].$value),
13356
- brandSubtleHover: J.interaction.blue10,
13356
+ brandSubtleHover: Q.interaction.blue10,
13357
13357
  // tokenToHex(lightThemeTokens.colour.fill['brand-subtle-hover'].$value),
13358
- brandPrimary: J.interaction.blue100,
13358
+ brandPrimary: Q.interaction.blue100,
13359
13359
  // tokenToHex(lightThemeTokens.colour.fill['brand-primary'].$value),
13360
13360
  disabled: M(K.colour.fill.disabled.$value),
13361
13361
  inverse: M(K.colour.fill.inverse.$value),
13362
- brandInverseSecondary: J.base.blue40,
13362
+ brandInverseSecondary: Q.base.blue40,
13363
13363
  // tokenToHex(lightThemeTokens.colour.fill['brand-inverse-secondary'].$value),
13364
- inverseHover: J.base.blue20Alt,
13364
+ inverseHover: Q.base.blue20Alt,
13365
13365
  // tokenToHex(lightThemeTokens.colour.fill['inverse-hover'].$value),
13366
- critical: J.system.red70,
13366
+ critical: Q.system.red70,
13367
13367
  // tokenToHex(lightThemeTokens.colour.fill.critical.$value),
13368
- criticalHover: J.base.red80,
13368
+ criticalHover: Q.base.red80,
13369
13369
  // tokenToHex(lightThemeTokens.colour.fill['critical-hover'].$value),
13370
- criticalSelected: J.base.red80,
13370
+ criticalSelected: Q.base.red80,
13371
13371
  // tokenToHex(lightThemeTokens.colour.fill['critical-selected'].$value),
13372
- criticalPressed: J.base.red90,
13372
+ criticalPressed: Q.base.red90,
13373
13373
  // tokenToHex(lightThemeTokens.colour.fill['critical-pressed'].$value),
13374
13374
  warning: M(K.colour.fill.warning.$value),
13375
13375
  warningHover: M(
@@ -13381,7 +13381,7 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13381
13381
  warningPressed: M(
13382
13382
  K.colour.fill["warning-pressed"].$value
13383
13383
  ),
13384
- success: J.system.green70
13384
+ success: Q.system.green70
13385
13385
  // tokenToHex(lightThemeTokens.colour.fill.success.$value),
13386
13386
  }, z4 = {
13387
13387
  default: M(K.colour.icon.default.$value),
@@ -13392,15 +13392,15 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13392
13392
  disabledOnBgFill: M(
13393
13393
  K.colour.icon["disabled-on-bg-fill"].$value
13394
13394
  ),
13395
- brand: J.interaction.blue70,
13395
+ brand: Q.interaction.blue70,
13396
13396
  // tokenToHex(lightThemeTokens.colour.icon.brand.$value),
13397
- brandHover: J.interaction.blue80,
13397
+ brandHover: Q.interaction.blue80,
13398
13398
  // tokenToHex(lightThemeTokens.colour.icon['brand-hover'].$value),
13399
- brandSelectedOnBgFill: J.interaction.blue80,
13399
+ brandSelectedOnBgFill: Q.interaction.blue80,
13400
13400
  // tokenToHex(lightThemeTokens.colour.icon['brand-selected-on-bg-fill'].$value),
13401
- visited: J.interaction.blue80,
13401
+ visited: Q.interaction.blue80,
13402
13402
  // tokenToHex(lightThemeTokens.colour.icon.visited.$value),
13403
- brandPrimary: J.interaction.blue100,
13403
+ brandPrimary: Q.interaction.blue100,
13404
13404
  // tokenToHex(lightThemeTokens.colour.icon['brand-primary'].$value),
13405
13405
  brandInverted: M(
13406
13406
  K.colour.icon["brand-inverted"].$value
@@ -13409,7 +13409,7 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13409
13409
  inverseHover: M(
13410
13410
  K.colour.icon["inverse-hover"].$value
13411
13411
  ),
13412
- brandInverseSecondary: J.base.blue40,
13412
+ brandInverseSecondary: Q.base.blue40,
13413
13413
  // tokenToHex(lightThemeTokens.colour.icon['brand-inverse-secondary'].$value),
13414
13414
  inverseTertiary: M(
13415
13415
  K.colour.icon["inverse-tertiary"].$value
@@ -13417,11 +13417,11 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13417
13417
  inverseDisabled: M(
13418
13418
  K.colour.icon["inverse-disabled"].$value
13419
13419
  ),
13420
- critical: J.system.red70,
13420
+ critical: Q.system.red70,
13421
13421
  // tokenToHex(lightThemeTokens.colour.icon.critical.$value),
13422
- criticalOnBgFill: J.base.red80,
13422
+ criticalOnBgFill: Q.base.red80,
13423
13423
  // tokenToHex(lightThemeTokens.colour.icon['critical-on-bg-fill'].$value),
13424
- success: J.system.green70,
13424
+ success: Q.system.green70,
13425
13425
  // tokenToHex(lightThemeTokens.colour.icon.success.$value),
13426
13426
  successOnBgFill: M(
13427
13427
  K.colour.icon["success-on-bg-fill"].$value
@@ -13434,25 +13434,25 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13434
13434
  default: M(K.colour.surface.default.$value),
13435
13435
  primary: M(K.colour.surface.primary.$value),
13436
13436
  secondary: M(K.colour.surface.secondary.$value),
13437
- brand: J.base.blue15,
13437
+ brand: Q.base.blue15,
13438
13438
  // tokenToHex(lightThemeTokens.colour.surface.brand.$value),
13439
- brandHover: J.interaction.blue10,
13439
+ brandHover: Q.interaction.blue10,
13440
13440
  // tokenToHex(lightThemeTokens.colour.surface['brand-hover'].$value),
13441
- brandSelected: J.interaction.blue10,
13441
+ brandSelected: Q.interaction.blue10,
13442
13442
  // tokenToHex(lightThemeTokens.colour.surface['brand-selected'].$value),
13443
- warning: J.system.orange10,
13443
+ warning: Q.system.orange10,
13444
13444
  // tokenToHex(lightThemeTokens.colour.surface.warning.$value),
13445
- success: J.system.green10,
13445
+ success: Q.system.green10,
13446
13446
  // tokenToHex(lightThemeTokens.colour.surface.success.$value),
13447
- critical: J.system.red10,
13447
+ critical: Q.system.red10,
13448
13448
  // tokenToHex(lightThemeTokens.colour.surface.critical.$value),
13449
13449
  hover: M(K.colour.surface.hover.$value),
13450
13450
  selected: M(K.colour.surface.selected.$value),
13451
13451
  disabled: M(K.colour.surface.disabled.$value),
13452
13452
  tertiary: M(K.colour.surface.tertiary.$value),
13453
- inverseBrand: J.interaction.blue70,
13453
+ inverseBrand: Q.interaction.blue70,
13454
13454
  // tokenToHex(lightThemeTokens.colour.surface['inverse-brand'].$value),
13455
- inverseBrandPrimary: J.interaction.blue100,
13455
+ inverseBrandPrimary: Q.interaction.blue100,
13456
13456
  // tokenToHex(lightThemeTokens.colour.surface['inverse-brand-primary'].$value),
13457
13457
  backdrop: M(K.colour.surface.backdrop.$value)
13458
13458
  }, D4 = {
@@ -13464,43 +13464,43 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13464
13464
  onBgFillDisabled: M(
13465
13465
  K.colour.text["on-bg-fill-disabled"].$value
13466
13466
  ),
13467
- brand: J.interaction.blue70,
13467
+ brand: Q.interaction.blue70,
13468
13468
  // tokenToHex(lightThemeTokens.colour.text.brand.$value),
13469
13469
  brandAccent: M(K.colour.text["brand-accent"].$value),
13470
- brandHover: J.interaction.blue80,
13470
+ brandHover: Q.interaction.blue80,
13471
13471
  // tokenToHex(lightThemeTokens.colour.text['brand-hover'].$value),
13472
13472
  brandInverse: M(
13473
13473
  K.colour.text["brand-inverse"].$value
13474
13474
  ),
13475
- brandInverseSecondary: J.base.blue40,
13475
+ brandInverseSecondary: Q.base.blue40,
13476
13476
  // tokenToHex(lightThemeTokens.colour.text['brand-inverse-secondary'].$value),
13477
- brandPrimary: J.interaction.blue100,
13477
+ brandPrimary: Q.interaction.blue100,
13478
13478
  // tokenToHex(lightThemeTokens.colour.text['brand-primary'].$value),
13479
- critical: J.system.red70,
13479
+ critical: Q.system.red70,
13480
13480
  // tokenToHex(lightThemeTokens.colour.text.critical.$value),
13481
13481
  warningOnBgFill: M(
13482
13482
  K.colour.text["warning-on-bg-fill"].$value
13483
13483
  )
13484
13484
  }, T4 = {
13485
13485
  default: M(K.colour.link.default.$value),
13486
- brand: J.interaction.blue70,
13486
+ brand: Q.interaction.blue70,
13487
13487
  // tokenToHex(lightThemeTokens.colour.link.brand.$value),
13488
- brandHover: J.interaction.blue80,
13488
+ brandHover: Q.interaction.blue80,
13489
13489
  // tokenToHex(lightThemeTokens.colour.link['brand-hover'].$value),
13490
- visited: J.interaction.blue80,
13490
+ visited: Q.interaction.blue80,
13491
13491
  // tokenToHex(lightThemeTokens.colour.link.visited.$value),
13492
- primary: J.interaction.blue100,
13492
+ primary: Q.interaction.blue100,
13493
13493
  // tokenToHex(lightThemeTokens.colour.link.primary.$value),
13494
- primaryHover: J.interaction.blue80,
13494
+ primaryHover: Q.interaction.blue80,
13495
13495
  // tokenToHex(lightThemeTokens.colour.link['primary-hover'].$value),
13496
13496
  disabled: M(K.colour.link.disabled.$value),
13497
13497
  inverse: M(K.colour.link.inverse.$value),
13498
- inverseVisited: J.base.blue15,
13498
+ inverseVisited: Q.base.blue15,
13499
13499
  // tokenToHex(lightThemeTokens.colour.link['inverse-visited'].$value),
13500
13500
  inverseDisabled: M(
13501
13501
  K.colour.link["inverse-disabled"].$value
13502
13502
  ),
13503
- inverseSecondary: J.base.blue40,
13503
+ inverseSecondary: Q.base.blue40,
13504
13504
  // tokenToHex(lightThemeTokens.colour.link['inverse-secondary'].$value),
13505
13505
  inverseTertiary: M(
13506
13506
  K.colour.link["inverse-tertiary"].$value
@@ -13593,7 +13593,7 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13593
13593
  colour: V4,
13594
13594
  typography: Gl,
13595
13595
  // to deprecate
13596
- color: J,
13596
+ color: Q,
13597
13597
  thickness: {
13598
13598
  t1: ee.s1,
13599
13599
  t2: ee.s2
@@ -13674,9 +13674,9 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
13674
13674
  y1: "0 1px 4px 1px rgba(0, 0, 0, 0.1)",
13675
13675
  y2: "0 2px 4px 1px rgba(0, 0, 0, 0.1)",
13676
13676
  x2y4: "2px 4px 8px 4px rgba(0, 0, 0, 0.1)",
13677
- focus: `0px 0px 0px 2px ${J.neutral.white}, 0px 0px 0px 4px ${J.neutral.black}, 0px 0px 0px 6px ${J.system.orange70}`,
13678
- active: `0px 6px 0px 0px ${J.interaction.blue80} inset`,
13679
- destructiveActive: `0px 6px 0px 0px ${J.system.red100} inset`
13677
+ focus: `0px 0px 0px 2px ${Q.neutral.white}, 0px 0px 0px 4px ${Q.neutral.black}, 0px 0px 0px 6px ${Q.system.orange70}`,
13678
+ active: `0px 6px 0px 0px ${Q.interaction.blue80} inset`,
13679
+ destructiveActive: `0px 6px 0px 0px ${Q.system.red100} inset`
13680
13680
  },
13681
13681
  breakpoints: Dt,
13682
13682
  mq: Z4,
@@ -14139,7 +14139,7 @@ const { light: W, primitives: et } = Pt, { sans: Jl, mono: My } = et.font.family
14139
14139
  ...r,
14140
14140
  role: "alert",
14141
14141
  children: [
14142
- /* @__PURE__ */ n(V.Info, { className: d }),
14142
+ /* @__PURE__ */ n(T.Info, { className: d }),
14143
14143
  t
14144
14144
  ]
14145
14145
  }
@@ -14265,7 +14265,7 @@ const er = "ucl-uikit-input", pb = "ucl-uikit-input__input", mb = Le(
14265
14265
  color: ${d.color.text.disabled};
14266
14266
  border-color: ${d.color.neutral.grey20};
14267
14267
  cursor: not-allowed;
14268
- `, w = u`
14268
+ `, v = u`
14269
14269
  padding-left: ${d.padding.p48};
14270
14270
  `, x = u`
14271
14271
  padding-right: ${d.padding.p48};
@@ -14274,7 +14274,7 @@ const er = "ucl-uikit-input", pb = "ucl-uikit-input__input", mb = Le(
14274
14274
  g,
14275
14275
  !f && y,
14276
14276
  f && b,
14277
- t && o === "left" && w,
14277
+ t && o === "left" && v,
14278
14278
  (t && o === "right" || r) && x,
14279
14279
  i
14280
14280
  ), C = u`
@@ -14286,7 +14286,7 @@ const er = "ucl-uikit-input", pb = "ucl-uikit-input__input", mb = Le(
14286
14286
  C,
14287
14287
  Ie(a, d),
14288
14288
  l
14289
- ), v = u`
14289
+ ), w = u`
14290
14290
  position: absolute;
14291
14291
  display: flex;
14292
14292
  align-items: center;
@@ -14296,10 +14296,10 @@ const er = "ucl-uikit-input", pb = "ucl-uikit-input__input", mb = Le(
14296
14296
  `, E = u`
14297
14297
  right: ${d.padding.p16};
14298
14298
  `, H = k(
14299
- v,
14299
+ w,
14300
14300
  o === "left" && I,
14301
14301
  o === "right" && E
14302
- ), z = k(v, E);
14302
+ ), z = k(w, E);
14303
14303
  return /* @__PURE__ */ m("span", { className: A, children: [
14304
14304
  /* @__PURE__ */ n(
14305
14305
  "input",
@@ -14331,7 +14331,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14331
14331
  asChild: d = !1,
14332
14332
  ...s
14333
14333
  }, p) {
14334
- const [f] = L(), h = a || "a", g = bb(s) ? s : {}, { href: y, onClick: b, ...w } = g, x = h === "a", S = We(
14334
+ const [f] = L(), h = a || "a", g = bb(s) ? s : {}, { href: y, onClick: b, ...v } = g, x = h === "a", S = We(
14335
14335
  (E) => (E.preventDefault(), E.stopPropagation(), !1),
14336
14336
  []
14337
14337
  ), C = u`
@@ -14344,7 +14344,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14344
14344
  }
14345
14345
  `, A = u`
14346
14346
  font-size: ${f.font.size.f14};
14347
- `, v = u`
14347
+ `, w = u`
14348
14348
  cursor: not-allowed;
14349
14349
  color: ${f.colour.link.disabled};
14350
14350
  pointer-events: none;
@@ -14356,7 +14356,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14356
14356
  tr,
14357
14357
  C,
14358
14358
  i === "small" && A,
14359
- l && v,
14359
+ l && w,
14360
14360
  o
14361
14361
  );
14362
14362
  if (d) {
@@ -14383,7 +14383,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14383
14383
  tabIndex: l ? -1 : s.tabIndex,
14384
14384
  onClick: l ? S : b,
14385
14385
  ...x ? { href: l ? void 0 : y ?? c } : c ? { to: c } : y ? { href: y } : {},
14386
- ...w,
14386
+ ...v,
14387
14387
  children: r
14388
14388
  }
14389
14389
  );
@@ -14424,7 +14424,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14424
14424
  &:visited {
14425
14425
  color: ${s.color.link.secondaryDefault};
14426
14426
  }
14427
- `, w = u`
14427
+ `, v = u`
14428
14428
  &:hover {
14429
14429
  color: ${s.colour.link.brandHover};
14430
14430
  }
@@ -14444,7 +14444,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14444
14444
  o === "primary" ? C = k(
14445
14445
  f,
14446
14446
  t && !r && y,
14447
- !r && w
14447
+ !r && v
14448
14448
  ) : o === "secondary" && (C = k(
14449
14449
  h,
14450
14450
  t && !r && b,
@@ -14488,9 +14488,9 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14488
14488
  tertiary: 16
14489
14489
  }[t], [y] = L(), {
14490
14490
  typography: {
14491
- body: { md: b, sm: w }
14491
+ body: { md: b, sm: v }
14492
14492
  }
14493
- } = y, x = p === "small" ? w : b, S = u`
14493
+ } = y, x = p === "small" ? v : b, S = u`
14494
14494
  display: inline-flex;
14495
14495
  align-items: center;
14496
14496
  gap: 8px;
@@ -14505,7 +14505,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14505
14505
  font-weight: 700;
14506
14506
  `, A = u`
14507
14507
  color: ${y.colour.link.primary};
14508
- `, v = u`
14508
+ `, w = u`
14509
14509
  color: ${y.colour.link.primary};
14510
14510
  `, I = u`
14511
14511
  &:visited {
@@ -14535,7 +14535,7 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14535
14535
  &:active {
14536
14536
  color: ${y.colour.link.brandHover};
14537
14537
  }
14538
- `, G = u`
14538
+ `, J = u`
14539
14539
  &:hover {
14540
14540
  color: ${y.colour.link.primaryHover};
14541
14541
  text-decoration: underline;
@@ -14568,10 +14568,10 @@ const tr = "ucl-uikit-base-link", Xl = Le(function({
14568
14568
  ) : t === "secondary" ? X = k(
14569
14569
  A,
14570
14570
  i && !l && H,
14571
- !l && G,
14571
+ !l && J,
14572
14572
  !i && !l && I
14573
14573
  ) : t === "tertiary" && (X = k(
14574
- v,
14574
+ w,
14575
14575
  !l && z,
14576
14576
  !l && j
14577
14577
  ));
@@ -14839,8 +14839,8 @@ async function Hb(e, t) {
14839
14839
  elementContext: f = "floating",
14840
14840
  altBoundary: h = !1,
14841
14841
  padding: g = 0
14842
- } = Ut(t, e), y = Wb(g), w = c[h ? f === "floating" ? "reference" : "floating" : f], x = wo(await l.getClippingRect({
14843
- element: (o = await (l.isElement == null ? void 0 : l.isElement(w))) == null || o ? w : w.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(c.floating)),
14842
+ } = Ut(t, e), y = Wb(g), v = c[h ? f === "floating" ? "reference" : "floating" : f], x = wo(await l.getClippingRect({
14843
+ element: (o = await (l.isElement == null ? void 0 : l.isElement(v))) == null || o ? v : v.contextElement || await (l.getDocumentElement == null ? void 0 : l.getDocumentElement(c.floating)),
14844
14844
  boundary: s,
14845
14845
  rootBoundary: p,
14846
14846
  strategy: d
@@ -14855,17 +14855,17 @@ async function Hb(e, t) {
14855
14855
  } : {
14856
14856
  x: 1,
14857
14857
  y: 1
14858
- }, v = wo(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
14858
+ }, w = wo(l.convertOffsetParentRelativeRectToViewportRelativeRect ? await l.convertOffsetParentRelativeRectToViewportRelativeRect({
14859
14859
  elements: c,
14860
14860
  rect: S,
14861
14861
  offsetParent: C,
14862
14862
  strategy: d
14863
14863
  }) : S);
14864
14864
  return {
14865
- top: (x.top - v.top + y.top) / A.y,
14866
- bottom: (v.bottom - x.bottom + y.bottom) / A.y,
14867
- left: (x.left - v.left + y.left) / A.x,
14868
- right: (v.right - x.right + y.right) / A.x
14865
+ top: (x.top - w.top + y.top) / A.y,
14866
+ bottom: (w.bottom - x.bottom + y.bottom) / A.y,
14867
+ left: (x.left - w.left + y.left) / A.x,
14868
+ right: (w.right - x.right + y.right) / A.x
14869
14869
  };
14870
14870
  }
14871
14871
  const Fb = 50, Bb = async (e, t, o) => {
@@ -14888,16 +14888,16 @@ const Fb = 50, Bb = async (e, t, o) => {
14888
14888
  } = sr(s, r, d), h = r, g = 0;
14889
14889
  const y = {};
14890
14890
  for (let b = 0; b < l.length; b++) {
14891
- const w = l[b];
14892
- if (!w)
14891
+ const v = l[b];
14892
+ if (!v)
14893
14893
  continue;
14894
14894
  const {
14895
14895
  name: x,
14896
14896
  fn: S
14897
- } = w, {
14897
+ } = v, {
14898
14898
  x: C,
14899
14899
  y: A,
14900
- data: v,
14900
+ data: w,
14901
14901
  reset: I
14902
14902
  } = await S({
14903
14903
  x: p,
@@ -14915,7 +14915,7 @@ const Fb = 50, Bb = async (e, t, o) => {
14915
14915
  });
14916
14916
  p = C ?? p, f = A ?? f, y[x] = {
14917
14917
  ...y[x],
14918
- ...v
14918
+ ...w
14919
14919
  }, I && g < Fb && (g++, typeof I == "object" && (I.placement && (h = I.placement), I.rects && (s = I.rects === !0 ? await a.getElementRects({
14920
14920
  reference: e,
14921
14921
  floating: t,
@@ -14952,13 +14952,13 @@ const Fb = 50, Bb = async (e, t, o) => {
14952
14952
  fallbackStrategy: g = "bestFit",
14953
14953
  fallbackAxisSideDirection: y = "none",
14954
14954
  flipAlignment: b = !0,
14955
- ...w
14955
+ ...v
14956
14956
  } = Ut(e, t);
14957
14957
  if ((o = l.arrow) != null && o.alignmentOffset)
14958
14958
  return {};
14959
- const x = mt(i), S = at(c), C = mt(c) === c, A = await (d.isRTL == null ? void 0 : d.isRTL(s.floating)), v = h || (C || !b ? [vo(c)] : Ab(c)), I = y !== "none";
14960
- !h && I && v.push(...Ib(c, b, y, A));
14961
- const E = [c, ...v], H = await d.detectOverflow(t, w), z = [];
14959
+ const x = mt(i), S = at(c), C = mt(c) === c, A = await (d.isRTL == null ? void 0 : d.isRTL(s.floating)), w = h || (C || !b ? [vo(c)] : Ab(c)), I = y !== "none";
14960
+ !h && I && w.push(...Ib(c, b, y, A));
14961
+ const E = [c, ...w], H = await d.detectOverflow(t, v), z = [];
14962
14962
  let D = ((r = l.flip) == null ? void 0 : r.overflows) || [];
14963
14963
  if (p && z.push(H[x]), f) {
14964
14964
  const oe = Sb(i, a, A);
@@ -14968,8 +14968,8 @@ const Fb = 50, Bb = async (e, t, o) => {
14968
14968
  placement: i,
14969
14969
  overflows: z
14970
14970
  }], !z.every((oe) => oe <= 0)) {
14971
- var G, j;
14972
- const oe = (((G = l.flip) == null ? void 0 : G.index) || 0) + 1, Z = E[oe];
14971
+ var J, j;
14972
+ const oe = (((J = l.flip) == null ? void 0 : J.index) || 0) + 1, Z = E[oe];
14973
14973
  if (Z && (!(f === "alignment" ? S !== at(Z) : !1) || // We leave the current main axis only if every placement on that axis
14974
14974
  // overflows the main axis.
14975
14975
  D.every((U) => at(U.placement) === S ? U.overflows[0] > 0 : !0)))
@@ -15102,16 +15102,16 @@ const Tb = function(e) {
15102
15102
  const x = h === "y" ? "top" : "left", S = h === "y" ? "bottom" : "right", C = b + f[x], A = b - f[S];
15103
15103
  b = ir(C, b, A);
15104
15104
  }
15105
- const w = d.fn({
15105
+ const v = d.fn({
15106
15106
  ...t,
15107
15107
  [g]: y,
15108
15108
  [h]: b
15109
15109
  });
15110
15110
  return {
15111
- ...w,
15111
+ ...v,
15112
15112
  data: {
15113
- x: w.x - o,
15114
- y: w.y - r,
15113
+ x: v.x - o,
15114
+ y: v.y - r,
15115
15115
  enabled: {
15116
15116
  [g]: a,
15117
15117
  [h]: c
@@ -15139,13 +15139,13 @@ const Tb = function(e) {
15139
15139
  width: y,
15140
15140
  height: b
15141
15141
  } = l.floating;
15142
- let w, x;
15143
- f === "top" || f === "bottom" ? (w = f, x = h === (await (a.isRTL == null ? void 0 : a.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, w = h === "end" ? "top" : "bottom");
15144
- const S = b - p.top - p.bottom, C = y - p.left - p.right, A = Ht(b - p[w], S), v = Ht(y - p[x], C), I = !t.middlewareData.shift;
15145
- let E = A, H = v;
15142
+ let v, x;
15143
+ f === "top" || f === "bottom" ? (v = f, x = h === (await (a.isRTL == null ? void 0 : a.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, v = h === "end" ? "top" : "bottom");
15144
+ const S = b - p.top - p.bottom, C = y - p.left - p.right, A = Ht(b - p[v], S), w = Ht(y - p[x], C), I = !t.middlewareData.shift;
15145
+ let E = A, H = w;
15146
15146
  if ((o = t.middlewareData.shift) != null && o.enabled.x && (H = C), (r = t.middlewareData.shift) != null && r.enabled.y && (E = S), I && !h) {
15147
- const D = qe(p.left, 0), G = qe(p.right, 0), j = qe(p.top, 0), X = qe(p.bottom, 0);
15148
- g ? H = y - 2 * (D !== 0 || G !== 0 ? D + G : qe(p.left, p.right)) : E = b - 2 * (j !== 0 || X !== 0 ? j + X : qe(p.top, p.bottom));
15147
+ const D = qe(p.left, 0), J = qe(p.right, 0), j = qe(p.top, 0), X = qe(p.bottom, 0);
15148
+ g ? H = y - 2 * (D !== 0 || J !== 0 ? D + J : qe(p.left, p.right)) : E = b - 2 * (j !== 0 || X !== 0 ? j + X : qe(p.top, p.bottom));
15149
15149
  }
15150
15150
  await d({
15151
15151
  ...t,
@@ -15325,8 +15325,8 @@ function kt(e, t, o, r) {
15325
15325
  const h = Ue(l), g = r && Xe(r) ? Ue(r) : r;
15326
15326
  let y = h, b = on(y);
15327
15327
  for (; b && r && g !== y; ) {
15328
- const w = It(b), x = b.getBoundingClientRect(), S = $e(b), C = x.left + (b.clientLeft + parseFloat(S.paddingLeft)) * w.x, A = x.top + (b.clientTop + parseFloat(S.paddingTop)) * w.y;
15329
- d *= w.x, s *= w.y, p *= w.x, f *= w.y, d += C, s += A, y = Ue(b), b = on(y);
15328
+ const v = It(b), x = b.getBoundingClientRect(), S = $e(b), C = x.left + (b.clientLeft + parseFloat(S.paddingLeft)) * v.x, A = x.top + (b.clientTop + parseFloat(S.paddingTop)) * v.y;
15329
+ d *= v.x, s *= v.y, p *= v.x, f *= v.y, d += C, s += A, y = Ue(b), b = on(y);
15330
15330
  }
15331
15331
  }
15332
15332
  return wo({
@@ -15584,12 +15584,12 @@ function r3(e, t) {
15584
15584
  } = s;
15585
15585
  if (c || t(), !h || !g)
15586
15586
  return;
15587
- const y = ro(f), b = ro(i.clientWidth - (p + h)), w = ro(i.clientHeight - (f + g)), x = ro(p), C = {
15588
- rootMargin: -y + "px " + -b + "px " + -w + "px " + -x + "px",
15587
+ const y = ro(f), b = ro(i.clientWidth - (p + h)), v = ro(i.clientHeight - (f + g)), x = ro(p), C = {
15588
+ rootMargin: -y + "px " + -b + "px " + -v + "px " + -x + "px",
15589
15589
  threshold: qe(0, Ht(1, d)) || 1
15590
15590
  };
15591
15591
  let A = !0;
15592
- function v(I) {
15592
+ function w(I) {
15593
15593
  const E = I[0].intersectionRatio;
15594
15594
  if (E !== d) {
15595
15595
  if (!A)
@@ -15601,13 +15601,13 @@ function r3(e, t) {
15601
15601
  E === 1 && !sa(s, e.getBoundingClientRect()) && a(), A = !1;
15602
15602
  }
15603
15603
  try {
15604
- o = new IntersectionObserver(v, {
15604
+ o = new IntersectionObserver(w, {
15605
15605
  ...C,
15606
15606
  // Handle <iframe>s
15607
15607
  root: i.ownerDocument
15608
15608
  });
15609
15609
  } catch {
15610
- o = new IntersectionObserver(v, C);
15610
+ o = new IntersectionObserver(w, C);
15611
15611
  }
15612
15612
  o.observe(e);
15613
15613
  }
@@ -15637,10 +15637,10 @@ function i3(e, t, o, r) {
15637
15637
  })), o();
15638
15638
  }), s && !d && g.observe(s), t && g.observe(t));
15639
15639
  let y, b = d ? kt(e) : null;
15640
- d && w();
15641
- function w() {
15640
+ d && v();
15641
+ function v() {
15642
15642
  const x = kt(e);
15643
- b && !sa(b, x) && o(), b = x, y = requestAnimationFrame(w);
15643
+ b && !sa(b, x) && o(), b = x, y = requestAnimationFrame(v);
15644
15644
  }
15645
15645
  return o(), () => {
15646
15646
  var x;
@@ -15939,19 +15939,19 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
15939
15939
  "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
15940
15940
  i(f)
15941
15941
  ), typeof f == "string" && h && typeof h.as == "string") {
15942
- var g = h.as, y = r(g, h.crossOrigin), b = typeof h.integrity == "string" ? h.integrity : void 0, w = typeof h.fetchPriority == "string" ? h.fetchPriority : void 0;
15942
+ var g = h.as, y = r(g, h.crossOrigin), b = typeof h.integrity == "string" ? h.integrity : void 0, v = typeof h.fetchPriority == "string" ? h.fetchPriority : void 0;
15943
15943
  g === "style" ? d.d.S(
15944
15944
  f,
15945
15945
  typeof h.precedence == "string" ? h.precedence : void 0,
15946
15946
  {
15947
15947
  crossOrigin: y,
15948
15948
  integrity: b,
15949
- fetchPriority: w
15949
+ fetchPriority: v
15950
15950
  }
15951
15951
  ) : g === "script" && d.d.X(f, {
15952
15952
  crossOrigin: y,
15953
15953
  integrity: b,
15954
- fetchPriority: w,
15954
+ fetchPriority: v,
15955
15955
  nonce: typeof h.nonce == "string" ? h.nonce : void 0
15956
15956
  });
15957
15957
  }
@@ -16113,11 +16113,11 @@ function g3(e) {
16113
16113
  isPositioned: !1
16114
16114
  }), [h, g] = ge.useState(r);
16115
16115
  xo(h, r) || g(r);
16116
- const [y, b] = ge.useState(null), [w, x] = ge.useState(null), S = ge.useCallback((U) => {
16116
+ const [y, b] = ge.useState(null), [v, x] = ge.useState(null), S = ge.useCallback((U) => {
16117
16117
  U !== I.current && (I.current = U, b(U));
16118
16118
  }, []), C = ge.useCallback((U) => {
16119
16119
  U !== E.current && (E.current = U, x(U));
16120
- }, []), A = l || y, v = a || w, I = ge.useRef(null), E = ge.useRef(null), H = ge.useRef(p), z = d != null, D = qo(d), G = qo(i), j = qo(s), X = ge.useCallback(() => {
16120
+ }, []), A = l || y, w = a || v, I = ge.useRef(null), E = ge.useRef(null), H = ge.useRef(p), z = d != null, D = qo(d), J = qo(i), j = qo(s), X = ge.useCallback(() => {
16121
16121
  if (!I.current || !E.current)
16122
16122
  return;
16123
16123
  const U = {
@@ -16125,7 +16125,7 @@ function g3(e) {
16125
16125
  strategy: o,
16126
16126
  middleware: h
16127
16127
  };
16128
- G.current && (U.platform = G.current), d3(I.current, E.current, U).then((F) => {
16128
+ J.current && (U.platform = J.current), d3(I.current, E.current, U).then((F) => {
16129
16129
  const N = {
16130
16130
  ...F,
16131
16131
  // The floating element's position may be recomputed while it's closed
@@ -16138,7 +16138,7 @@ function g3(e) {
16138
16138
  f(N);
16139
16139
  }));
16140
16140
  });
16141
- }, [h, t, o, G, j]);
16141
+ }, [h, t, o, J, j]);
16142
16142
  po(() => {
16143
16143
  s === !1 && H.current.isPositioned && (H.current.isPositioned = !1, f((U) => ({
16144
16144
  ...U,
@@ -16149,12 +16149,12 @@ function g3(e) {
16149
16149
  po(() => (oe.current = !0, () => {
16150
16150
  oe.current = !1;
16151
16151
  }), []), po(() => {
16152
- if (A && (I.current = A), v && (E.current = v), A && v) {
16152
+ if (A && (I.current = A), w && (E.current = w), A && w) {
16153
16153
  if (D.current)
16154
- return D.current(A, v, X);
16154
+ return D.current(A, w, X);
16155
16155
  X();
16156
16156
  }
16157
- }, [A, v, X, D, z]);
16157
+ }, [A, w, X, D, z]);
16158
16158
  const Z = ge.useMemo(() => ({
16159
16159
  reference: I,
16160
16160
  floating: E,
@@ -16162,8 +16162,8 @@ function g3(e) {
16162
16162
  setFloating: C
16163
16163
  }), [S, C]), Y = ge.useMemo(() => ({
16164
16164
  reference: A,
16165
- floating: v
16166
- }), [A, v]), ne = ge.useMemo(() => {
16165
+ floating: w
16166
+ }), [A, w]), ne = ge.useMemo(() => {
16167
16167
  const U = {
16168
16168
  position: o,
16169
16169
  left: 0,
@@ -16278,8 +16278,8 @@ const y3 = (e, t) => {
16278
16278
  ...y
16279
16279
  }, b) => {
16280
16280
  var Y, ne;
16281
- const w = ae(null), x = ae(null);
16282
- rs(b, () => w.current);
16281
+ const v = ae(null), x = ae(null);
16282
+ rs(b, () => v.current);
16283
16283
  const S = [];
16284
16284
  if (r && S.push(v3(typeof r == "object" ? r : {})), i && S.push(b3(typeof i == "object" ? i : {})), l && S.push(y3(l)), a) {
16285
16285
  const U = typeof a == "object" ? a : {}, { padding: F = 0, matchReferenceWidth: N = !1 } = U;
@@ -16300,7 +16300,7 @@ const y3 = (e, t) => {
16300
16300
  const {
16301
16301
  x: C,
16302
16302
  y: A,
16303
- refs: v,
16303
+ refs: w,
16304
16304
  strategy: I,
16305
16305
  placement: E
16306
16306
  } = g3({
@@ -16311,14 +16311,14 @@ const y3 = (e, t) => {
16311
16311
  whileElementsMounted: i3
16312
16312
  }), H = E.split("-")[0];
16313
16313
  rn(() => {
16314
- v.setReference(e.current);
16315
- }, [e, v]);
16314
+ w.setReference(e.current);
16315
+ }, [e, w]);
16316
16316
  const { width: z, height: D } = ((ne = (Y = x == null ? void 0 : x.current) == null ? void 0 : Y.getBoundingClientRect) == null ? void 0 : ne.call(Y)) || {
16317
16317
  width: 0,
16318
16318
  height: 0
16319
- }, G = u`
16319
+ }, J = u`
16320
16320
  z-index: 1000;
16321
- `, j = k(k3, G, d), X = k(
16321
+ `, j = k(k3, J, d), X = k(
16322
16322
  u`
16323
16323
  position: absolute;
16324
16324
  `,
@@ -16372,7 +16372,7 @@ const y3 = (e, t) => {
16372
16372
  "div",
16373
16373
  {
16374
16374
  ref: (U) => {
16375
- w.current = U, v.setFloating(U);
16375
+ v.current = U, w.setFloating(U);
16376
16376
  },
16377
16377
  className: j,
16378
16378
  style: {
@@ -16495,7 +16495,7 @@ const y3 = (e, t) => {
16495
16495
  color: ${f};
16496
16496
  border-color: ${h};
16497
16497
  }
16498
- `, w = u`
16498
+ `, v = u`
16499
16499
  border-color: ${e.colour.border.disabled};
16500
16500
  color: ${e.colour.text.disabled};
16501
16501
  `;
@@ -16503,7 +16503,7 @@ const y3 = (e, t) => {
16503
16503
  g,
16504
16504
  t && y,
16505
16505
  !o && !r && b,
16506
- o && w
16506
+ o && v
16507
16507
  );
16508
16508
  }, E3 = (e, t, o, r, i) => {
16509
16509
  const {
@@ -16515,7 +16515,7 @@ const y3 = (e, t) => {
16515
16515
  `, b = u`
16516
16516
  border-color: transparent;
16517
16517
  background-color: ${h};
16518
- `, w = u`
16518
+ `, v = u`
16519
16519
  cursor: pointer;
16520
16520
 
16521
16521
  &:hover {
@@ -16533,7 +16533,7 @@ const y3 = (e, t) => {
16533
16533
  return k(
16534
16534
  y,
16535
16535
  t && b,
16536
- !o && !r && w,
16536
+ !o && !r && v,
16537
16537
  o && x
16538
16538
  );
16539
16539
  }, W3 = (e, t, o, r) => {
@@ -16590,7 +16590,7 @@ const y3 = (e, t) => {
16590
16590
  color: ${f};
16591
16591
  border-color: ${h};
16592
16592
  }
16593
- `, w = u`
16593
+ `, v = u`
16594
16594
  border-color: ${e.colour.border.disabled};
16595
16595
  color: ${e.colour.text.disabled};
16596
16596
  `;
@@ -16598,7 +16598,7 @@ const y3 = (e, t) => {
16598
16598
  g,
16599
16599
  t && y,
16600
16600
  !o && !r && b,
16601
- o && w
16601
+ o && v
16602
16602
  );
16603
16603
  }, F3 = (e, t, o, r, i) => {
16604
16604
  const {
@@ -16608,7 +16608,7 @@ const y3 = (e, t) => {
16608
16608
  background-color: transparent;
16609
16609
  color: ${c};
16610
16610
  padding: 0 ${y}px;
16611
- `, w = u`
16611
+ `, v = u`
16612
16612
  color: ${h};
16613
16613
  background-color: ${g};
16614
16614
  `, x = u`
@@ -16629,7 +16629,7 @@ const y3 = (e, t) => {
16629
16629
  `;
16630
16630
  return k(
16631
16631
  b,
16632
- t && w,
16632
+ t && v,
16633
16633
  !o && !r && x,
16634
16634
  o && S
16635
16635
  );
@@ -16665,7 +16665,7 @@ const y3 = (e, t) => {
16665
16665
  }, z3 = (e, t, o, r, i) => {
16666
16666
  const {
16667
16667
  colour: { border: l, fill: a, text: c }
16668
- } = e, d = a.inverse, s = l.subtle, p = a.hover, f = a.hover, h = a.brandSubtleHover, g = l.brand, y = c.brandHover, b = i + 1, w = u`
16668
+ } = e, d = a.inverse, s = l.subtle, p = a.hover, f = a.hover, h = a.brandSubtleHover, g = l.brand, y = c.brandHover, b = i + 1, v = u`
16669
16669
  background-color: ${d};
16670
16670
  border: 1px solid ${s};
16671
16671
  color: ${e.colour.text.default};
@@ -16689,7 +16689,7 @@ const y3 = (e, t) => {
16689
16689
  color: ${c.disabled};
16690
16690
  `;
16691
16691
  return k(
16692
- w,
16692
+ v,
16693
16693
  t && x,
16694
16694
  !t && !o && !r && S,
16695
16695
  o && C
@@ -16697,13 +16697,13 @@ const y3 = (e, t) => {
16697
16697
  }, N3 = (e, t, o, r, i) => {
16698
16698
  const {
16699
16699
  colour: { border: l, fill: a, text: c }
16700
- } = e, d = c.brand, s = l.subtle, p = c.brandHover, f = a.brandSubtleHover, h = l.brandSubtle, g = c.brandHover, y = a.brandSubtleHover, b = l.brandSubtle, w = a.brandSubtleHover, x = l.brand, S = c.brandHover, C = i + 1, A = u`
16700
+ } = e, d = c.brand, s = l.subtle, p = c.brandHover, f = a.brandSubtleHover, h = l.brandSubtle, g = c.brandHover, y = a.brandSubtleHover, b = l.brandSubtle, v = a.brandSubtleHover, x = l.brand, S = c.brandHover, C = i + 1, A = u`
16701
16701
  background-color: ${e.color.neutral.white};
16702
16702
  color: ${d};
16703
16703
  border: ${e.border.b1} solid ${s};
16704
16704
  padding: 0 ${C}px;
16705
- `, v = u`
16706
- background-color: ${w};
16705
+ `, w = u`
16706
+ background-color: ${v};
16707
16707
  border-color: ${x};
16708
16708
  color: ${S};
16709
16709
  `, I = u`
@@ -16726,7 +16726,7 @@ const y3 = (e, t) => {
16726
16726
  `;
16727
16727
  return k(
16728
16728
  A,
16729
- t && v,
16729
+ t && w,
16730
16730
  !t && !o && !r && I,
16731
16731
  o && E
16732
16732
  );
@@ -16785,18 +16785,18 @@ const y3 = (e, t) => {
16785
16785
  className: y,
16786
16786
  ...b
16787
16787
  }) => {
16788
- const w = e || "button", x = ae(null), S = h || x, [C, A] = ce(!1), [v] = L(), I = V3(t, o), E = R3(r), H = u`
16788
+ const v = e || "button", x = ae(null), S = h || x, [C, A] = ce(!1), [w] = L(), I = V3(t, o), E = R3(r), H = u`
16789
16789
  all: unset;
16790
16790
  border: 2px solid transparent;
16791
16791
  display: inline-flex;
16792
16792
  align-items: center;
16793
16793
  justify-content: center;
16794
- gap: ${v.padding.p8};
16794
+ gap: ${w.padding.p8};
16795
16795
  position: relative;
16796
16796
  box-sizing: border-box;
16797
- border-radius: ${v.radius.r4};
16798
- font-family: ${v.typography.body.md.fontFamily};
16799
- font-feature-settings: ${v.typography.body.md.fontSettings};
16797
+ border-radius: ${w.radius.r4};
16798
+ font-family: ${w.typography.body.md.fontFamily};
16799
+ font-feature-settings: ${w.typography.body.md.fontSettings};
16800
16800
  font-weight: 500;
16801
16801
  -webkit-font-smoothing: antialiased;
16802
16802
  -moz-osx-font-smoothing: grayscale;
@@ -16805,9 +16805,9 @@ const y3 = (e, t) => {
16805
16805
  user-select: none;
16806
16806
 
16807
16807
  &:focus-visible {
16808
- box-shadow: ${v.boxShadow.focus};
16808
+ box-shadow: ${w.boxShadow.focus};
16809
16809
  }
16810
- `, z = E === "xsmall" ? 20 : 24, D = E === "xsmall" ? 8 : 16, G = u`
16810
+ `, z = E === "xsmall" ? 20 : 24, D = E === "xsmall" ? 8 : 16, J = u`
16811
16811
  width: 48px;
16812
16812
  padding: 0;
16813
16813
  justify-content: center;
@@ -16830,57 +16830,57 @@ const y3 = (e, t) => {
16830
16830
  `, Y = u`
16831
16831
  width: 100%;
16832
16832
  `, ne = {
16833
- accent: M3(v, i, l, s),
16834
- primary: L3(v, i, l, s),
16835
- secondary: I3(v, i, l, s),
16833
+ accent: M3(w, i, l, s),
16834
+ primary: L3(w, i, l, s),
16835
+ secondary: I3(w, i, l, s),
16836
16836
  tertiary: E3(
16837
- v,
16837
+ w,
16838
16838
  i,
16839
16839
  l,
16840
16840
  s,
16841
16841
  D
16842
16842
  ),
16843
16843
  "primary-subtle": z3(
16844
- v,
16844
+ w,
16845
16845
  i,
16846
16846
  l,
16847
16847
  s,
16848
16848
  D
16849
16849
  ),
16850
16850
  "secondary-subtle": N3(
16851
- v,
16851
+ w,
16852
16852
  i,
16853
16853
  l,
16854
16854
  s,
16855
16855
  D
16856
16856
  ),
16857
16857
  "tertiary-no-padding": D3(
16858
- v,
16858
+ w,
16859
16859
  l,
16860
16860
  s,
16861
16861
  D
16862
16862
  ),
16863
16863
  "primary-destructive": W3(
16864
- v,
16864
+ w,
16865
16865
  i,
16866
16866
  l,
16867
16867
  s
16868
16868
  ),
16869
16869
  "secondary-destructive": H3(
16870
- v,
16870
+ w,
16871
16871
  i,
16872
16872
  l,
16873
16873
  s
16874
16874
  ),
16875
16875
  "tertiary-destructive": F3(
16876
- v,
16876
+ w,
16877
16877
  i,
16878
16878
  l,
16879
16879
  s,
16880
16880
  D
16881
16881
  ),
16882
16882
  "primary-warning": B3(
16883
- v,
16883
+ w,
16884
16884
  i,
16885
16885
  l,
16886
16886
  s
@@ -16892,7 +16892,7 @@ const y3 = (e, t) => {
16892
16892
  `, N = k(
16893
16893
  vr,
16894
16894
  H,
16895
- Ie(b, v),
16895
+ Ie(b, w),
16896
16896
  E === "xsmall" && j,
16897
16897
  E === "small" && X,
16898
16898
  E === "medium" && oe,
@@ -16901,12 +16901,12 @@ const y3 = (e, t) => {
16901
16901
  ne,
16902
16902
  l && U,
16903
16903
  s && F,
16904
- !g && G,
16904
+ !g && J,
16905
16905
  y
16906
16906
  );
16907
16907
  return /* @__PURE__ */ m(Re, { children: [
16908
16908
  /* @__PURE__ */ n(
16909
- w,
16909
+ v,
16910
16910
  {
16911
16911
  ref: S,
16912
16912
  disabled: s || l,
@@ -16916,7 +16916,7 @@ const y3 = (e, t) => {
16916
16916
  "data-testid": f,
16917
16917
  "aria-disabled": l,
16918
16918
  ...b,
16919
- href: w === "a" && l ? void 0 : b.href,
16919
+ href: v === "a" && l ? void 0 : b.href,
16920
16920
  children: s ? /* @__PURE__ */ n(
16921
16921
  xb,
16922
16922
  {
@@ -16972,7 +16972,7 @@ const y3 = (e, t) => {
16972
16972
  display: inline;
16973
16973
  font-weight: ${d.font.weight.regular};
16974
16974
  line-height: ${d.font.lineHeight.h150};
16975
- `, w = u`
16975
+ `, v = u`
16976
16976
  color: ${d.color.neutral.grey20};
16977
16977
  `, x = k(
16978
16978
  wr,
@@ -16980,7 +16980,7 @@ const y3 = (e, t) => {
16980
16980
  Ie(a, d),
16981
16981
  e === "block" && y,
16982
16982
  e === "inline" && b,
16983
- t && w,
16983
+ t && v,
16984
16984
  i
16985
16985
  ), S = u`
16986
16986
  font-weight: ${d.font.weight.regular};
@@ -17059,7 +17059,15 @@ const y3 = (e, t) => {
17059
17059
  ref: p,
17060
17060
  ...f
17061
17061
  }) => {
17062
- const [h] = L(), g = s === "error" ? V.AlertTriangle : V.CheckCircle, y = s === "error" ? "alert" : "status", b = a === "small" ? 20 : 32, w = a === "small" ? h.padding.p16 : h.padding.p24, x = a === "small" ? "md" : "lg-medium", S = a === "small" ? "56px" : h.height.h80, C = u`
17062
+ const [h] = L(), g = {
17063
+ default: T.Info,
17064
+ error: T.AlertTriangle,
17065
+ success: T.CheckCircle
17066
+ }[s], y = {
17067
+ default: h.colour.fill.brandPrimary,
17068
+ error: h.colour.fill.critical,
17069
+ success: h.colour.fill.success
17070
+ }[s], b = s === "error" ? "alert" : "status", v = a === "small" ? 20 : 32, x = a === "small" ? h.padding.p16 : h.padding.p24, S = a === "small" ? "md" : "lg-medium", C = a === "small" ? "56px" : h.height.h80, A = u`
17063
17071
  display: flex;
17064
17072
  justify-content: start;
17065
17073
  align-items: center;
@@ -17068,28 +17076,28 @@ const y3 = (e, t) => {
17068
17076
  position: fixed;
17069
17077
  width: 375px;
17070
17078
  max-width: calc(100vw - ${h.margin.m48});
17071
- min-height: ${S};
17079
+ min-height: ${C};
17072
17080
  z-index: 9999;
17073
- padding: ${w};
17081
+ padding: ${x};
17074
17082
  color: ${h.colour.text.inverse};
17075
- background-color: ${s === "error" ? h.primitiveColour.red[10].$value.hex : h.colour.bg.inversePrimary};
17076
- `, A = k(kr, C, Ie(f, h), d), v = u`
17077
- min-width: ${b}px;
17078
- min-height: ${b}px;
17083
+ background-color: ${y};
17084
+ `, w = k(kr, A, Ie(f, h), d), I = u`
17085
+ min-width: ${v}px;
17086
+ min-height: ${v}px;
17079
17087
  flex-shrink: 0;
17080
- `, I = u`
17088
+ `, E = u`
17081
17089
  flex: 1;
17082
17090
  min-width: 0;
17083
17091
  color: inherit;
17084
17092
  overflow-wrap: anywhere;
17085
- `, E = u`
17093
+ `, H = u`
17086
17094
  margin-left: auto;
17087
17095
  flex-shrink: 0;
17088
- `, H = u`
17096
+ `, z = u`
17089
17097
  &:hover {
17090
17098
  color: ${h.colour.icon.inverseHover};
17091
17099
  }
17092
- `, z = u`
17100
+ `, D = u`
17093
17101
  padding: ${h.padding.p4};
17094
17102
  border: none;
17095
17103
  background-color: transparent;
@@ -17104,14 +17112,14 @@ const y3 = (e, t) => {
17104
17112
  outline: none;
17105
17113
  box-shadow: ${h.boxShadow.focus};
17106
17114
  }
17107
- `, D = u`
17115
+ `, J = u`
17108
17116
  color: inherit;
17109
17117
  `;
17110
17118
  return /* @__PURE__ */ m(
17111
17119
  "div",
17112
17120
  {
17113
17121
  ref: p,
17114
- className: A,
17122
+ className: w,
17115
17123
  "data-testid": c,
17116
17124
  ...f,
17117
17125
  children: [
@@ -17119,20 +17127,20 @@ const y3 = (e, t) => {
17119
17127
  g,
17120
17128
  {
17121
17129
  "aria-hidden": "true",
17122
- className: v,
17123
- size: b
17130
+ className: I,
17131
+ size: v
17124
17132
  }
17125
17133
  ),
17126
17134
  /* @__PURE__ */ n(
17127
17135
  Qe,
17128
17136
  {
17129
- level: x,
17130
- className: I,
17131
- role: y,
17137
+ level: S,
17138
+ className: E,
17139
+ role: b,
17132
17140
  children: l
17133
17141
  }
17134
17142
  ),
17135
- /* @__PURE__ */ m("span", { className: E, children: [
17143
+ /* @__PURE__ */ m("span", { className: H, children: [
17136
17144
  e === "close" && /* @__PURE__ */ n(
17137
17145
  Ze,
17138
17146
  {
@@ -17141,10 +17149,10 @@ const y3 = (e, t) => {
17141
17149
  "<Snackbar> close action triggered but unassigned"
17142
17150
  )),
17143
17151
  "data-testid": `${c}-close-button`,
17144
- className: H,
17152
+ className: z,
17145
17153
  disabled: t,
17146
17154
  children: /* @__PURE__ */ n(
17147
- V.X,
17155
+ T.X,
17148
17156
  {
17149
17157
  "aria-hidden": "true",
17150
17158
  size: 24
@@ -17156,15 +17164,15 @@ const y3 = (e, t) => {
17156
17164
  "button",
17157
17165
  {
17158
17166
  onClick: i ?? (() => console.warn("<Snackbar> undo action triggered but unassigned")),
17159
- className: z,
17167
+ className: D,
17160
17168
  "data-testid": `${c}-undo-button`,
17161
17169
  disabled: t,
17162
17170
  children: /* @__PURE__ */ n(
17163
17171
  Qe,
17164
17172
  {
17165
17173
  level: "lg-semibold",
17166
- className: D,
17167
- children: "UNDO"
17174
+ className: J,
17175
+ children: "Undo"
17168
17176
  }
17169
17177
  )
17170
17178
  }
@@ -17184,9 +17192,9 @@ const y3 = (e, t) => {
17184
17192
  className: c,
17185
17193
  ...d
17186
17194
  }) => {
17187
- const [s] = L(), [p, f] = ce(/* @__PURE__ */ new Set()), h = ae({}), g = ae({}), y = ae({}), b = ae({}), w = ae(t), x = ae(/* @__PURE__ */ new Set());
17195
+ const [s] = L(), [p, f] = ce(/* @__PURE__ */ new Set()), h = ae({}), g = ae({}), y = ae({}), b = ae({}), v = ae(t), x = ae(/* @__PURE__ */ new Set());
17188
17196
  re(() => {
17189
- w.current = t;
17197
+ v.current = t;
17190
17198
  }, [t]);
17191
17199
  const S = st(
17192
17200
  () => e.slice(0, i),
@@ -17194,11 +17202,11 @@ const y3 = (e, t) => {
17194
17202
  ), C = st(
17195
17203
  () => new Set(S.map((F) => F.id)),
17196
17204
  [S]
17197
- ), A = st(() => new Set(e.map((F) => F.id)), [e]), v = We((F) => {
17205
+ ), A = st(() => new Set(e.map((F) => F.id)), [e]), w = We((F) => {
17198
17206
  h.current[F] !== void 0 && (window.clearTimeout(h.current[F]), delete h.current[F], delete g.current[F]);
17199
17207
  }, []), I = We(
17200
17208
  (F) => {
17201
- v(F), delete y.current[F], x.current.delete(F), f((N) => {
17209
+ w(F), delete y.current[F], x.current.delete(F), f((N) => {
17202
17210
  if (N.has(F)) return N;
17203
17211
  const ie = new Set(N);
17204
17212
  return ie.add(F), ie;
@@ -17206,10 +17214,10 @@ const y3 = (e, t) => {
17206
17214
  delete b.current[F], f((N) => {
17207
17215
  const ie = new Set(N);
17208
17216
  return ie.delete(F), ie;
17209
- }), w.current(F);
17217
+ }), v.current(F);
17210
17218
  }, r));
17211
17219
  },
17212
- [v, r]
17220
+ [w, r]
17213
17221
  ), E = We(
17214
17222
  (F, N) => {
17215
17223
  g.current[F] = Date.now(), h.current[F] = window.setTimeout(() => {
@@ -17224,9 +17232,9 @@ const y3 = (e, t) => {
17224
17232
  N !== void 0 && ie !== void 0 && (y.current[F] = Math.max(
17225
17233
  0,
17226
17234
  ie - (Date.now() - N)
17227
- )), v(F);
17235
+ )), w(F);
17228
17236
  },
17229
- [v]
17237
+ [w]
17230
17238
  ), z = We(
17231
17239
  (F) => {
17232
17240
  if (x.current.has(F) || h.current[F] !== void 0) return;
@@ -17256,7 +17264,7 @@ const y3 = (e, t) => {
17256
17264
  y.current[F.id] = ie, !x.current.has(F.id) && E(F.id, ie);
17257
17265
  });
17258
17266
  }, [
17259
- v,
17267
+ w,
17260
17268
  p,
17261
17269
  D,
17262
17270
  E,
@@ -17282,11 +17290,11 @@ const y3 = (e, t) => {
17282
17290
  );
17283
17291
  };
17284
17292
  }, []);
17285
- const G = l.startsWith("bottom"), j = l.endsWith("right"), X = G ? [...S].reverse() : S, oe = qs`
17293
+ const J = l.startsWith("bottom"), j = l.endsWith("right"), X = J ? [...S].reverse() : S, oe = qs`
17286
17294
  from {
17287
17295
  opacity: 0;
17288
17296
  transform: translateY(
17289
- ${G ? s.margin.m8 : `-${s.margin.m8}`}
17297
+ ${J ? s.margin.m8 : `-${s.margin.m8}`}
17290
17298
  );
17291
17299
  }
17292
17300
 
@@ -17301,7 +17309,7 @@ const y3 = (e, t) => {
17301
17309
  flex-direction: column;
17302
17310
  gap: ${s.margin.m8};
17303
17311
  pointer-events: none;
17304
- ${G ? `bottom: ${s.margin.m24};` : `top: ${s.margin.m24};`}
17312
+ ${J ? `bottom: ${s.margin.m24};` : `top: ${s.margin.m24};`}
17305
17313
  right: ${s.margin.m16};
17306
17314
  left: ${s.margin.m16};
17307
17315
 
@@ -17326,7 +17334,7 @@ const y3 = (e, t) => {
17326
17334
  animation: none;
17327
17335
  opacity: 0;
17328
17336
  transform: translateY(
17329
- ${G ? s.margin.m8 : `-${s.margin.m8}`}
17337
+ ${J ? s.margin.m8 : `-${s.margin.m8}`}
17330
17338
  );
17331
17339
  `, U = k(Sr, Z, c);
17332
17340
  return /* @__PURE__ */ n(
@@ -17414,7 +17422,7 @@ const y3 = (e, t) => {
17414
17422
  font-family: ${s.font.family.primary};
17415
17423
  font-size: ${h}px;
17416
17424
  cursor: pointer;
17417
- `, w = u`
17425
+ `, v = u`
17418
17426
  &:focus-visible {
17419
17427
  box-shadow: ${s.boxShadow.focus};
17420
17428
  }
@@ -17435,10 +17443,10 @@ const y3 = (e, t) => {
17435
17443
  width: 100%;
17436
17444
  height: 100%;
17437
17445
  padding-top: 0.1em;
17438
- `, v = k(
17446
+ `, w = k(
17439
17447
  Cr,
17440
17448
  b,
17441
- !i && w,
17449
+ !i && v,
17442
17450
  i && x,
17443
17451
  a
17444
17452
  );
@@ -17448,7 +17456,7 @@ const y3 = (e, t) => {
17448
17456
  ref: d,
17449
17457
  disabled: i,
17450
17458
  "data-testid": l,
17451
- className: v,
17459
+ className: w,
17452
17460
  ...c,
17453
17461
  children: e === "image" && t && !p ? /* @__PURE__ */ n(
17454
17462
  "img",
@@ -17459,23 +17467,23 @@ const y3 = (e, t) => {
17459
17467
  "data-testid": `${l}-image`,
17460
17468
  className: S
17461
17469
  }
17462
- ) : (e === "initials" || e === "image") && g ? /* @__PURE__ */ n("span", { className: C, children: g }) : /* @__PURE__ */ n(V.Avatar, { className: A })
17470
+ ) : (e === "initials" || e === "image") && g ? /* @__PURE__ */ n("span", { className: C, children: g }) : /* @__PURE__ */ n(T.Avatar, { className: A })
17463
17471
  }
17464
17472
  );
17465
17473
  }
17466
17474
  ), Q3 = P(J3), G3 = {
17467
- info: V.Info,
17468
- "info-subtle": V.Info,
17469
- neutral: V.Info,
17470
- "neutral-subtle": V.Info,
17471
- critical: V.XCircle,
17472
- "critical-subtle": V.XCircle,
17473
- caution: V.AlertCircle,
17474
- "caution-subtle": V.AlertCircle,
17475
- success: V.CheckCircle,
17476
- "success-subtle": V.CheckCircle,
17477
- warning: V.AlertTriangle,
17478
- "warning-subtle": V.AlertTriangle,
17475
+ info: T.Info,
17476
+ "info-subtle": T.Info,
17477
+ neutral: T.Info,
17478
+ "neutral-subtle": T.Info,
17479
+ critical: T.XCircle,
17480
+ "critical-subtle": T.XCircle,
17481
+ caution: T.AlertCircle,
17482
+ "caution-subtle": T.AlertCircle,
17483
+ success: T.CheckCircle,
17484
+ "success-subtle": T.CheckCircle,
17485
+ warning: T.AlertTriangle,
17486
+ "warning-subtle": T.AlertTriangle,
17479
17487
  disabled: null
17480
17488
  }, K3 = (e) => ({
17481
17489
  info: {
@@ -17563,7 +17571,7 @@ const y3 = (e, t) => {
17563
17571
  white-space: nowrap;
17564
17572
  gap: 4px;
17565
17573
  vertical-align: middle;
17566
- `, w = k(Mr, b, t), x = u`
17574
+ `, v = k(Mr, b, t), x = u`
17567
17575
  display: block;
17568
17576
  border-radius: 50%;
17569
17577
  background-color: currentColor;
@@ -17588,7 +17596,7 @@ const y3 = (e, t) => {
17588
17596
  "span",
17589
17597
  {
17590
17598
  "data-testid": e,
17591
- className: w,
17599
+ className: v,
17592
17600
  ...c,
17593
17601
  children: [
17594
17602
  i && /* @__PURE__ */ n(
@@ -17625,7 +17633,7 @@ const y3 = (e, t) => {
17625
17633
  ref: f,
17626
17634
  ...h
17627
17635
  }) => {
17628
- const g = ae(null), y = i !== void 0, [b, w] = ce(
17636
+ const g = ae(null), y = i !== void 0, [b, v] = ce(
17629
17637
  l ?? !1
17630
17638
  ), x = y ? i : b;
17631
17639
  re(() => {
@@ -17637,12 +17645,12 @@ const y3 = (e, t) => {
17637
17645
  },
17638
17646
  [f]
17639
17647
  ), C = (D) => {
17640
- y || w(D.target.checked), p == null || p(D);
17648
+ y || v(D.target.checked), p == null || p(D);
17641
17649
  }, A = u`
17642
17650
  position: relative;
17643
17651
  display: inline-grid;
17644
17652
  cursor: ${c ? "not-allowed" : "pointer"};
17645
- `, v = u`
17653
+ `, w = u`
17646
17654
  position: absolute;
17647
17655
  inset: 0;
17648
17656
  width: 100%;
@@ -17673,7 +17681,7 @@ const y3 = (e, t) => {
17673
17681
  {
17674
17682
  ref: S,
17675
17683
  type: "checkbox",
17676
- className: v,
17684
+ className: w,
17677
17685
  ...h,
17678
17686
  checked: y ? i : void 0,
17679
17687
  defaultChecked: y ? void 0 : l,
@@ -17776,7 +17784,7 @@ const y3 = (e, t) => {
17776
17784
  typography: {
17777
17785
  heading: { xxl: s, xl: p, lg: f, md: h, sm: g, xs: y }
17778
17786
  }
17779
- } = d, b = e === 1 ? "xxl" : e === 2 ? "xl" : e === 3 ? "lg" : e === 4 ? "md" : e, w = b === "xxl" ? "h1" : b === "xl" ? "h2" : b === "lg" ? "h3" : b === "md" ? "h4" : b === "sm" ? "h5" : "h6", x = u`
17787
+ } = d, b = e === 1 ? "xxl" : e === 2 ? "xl" : e === 3 ? "lg" : e === 4 ? "md" : e, v = b === "xxl" ? "h1" : b === "xl" ? "h2" : b === "lg" ? "h3" : b === "md" ? "h4" : b === "sm" ? "h5" : "h6", x = u`
17780
17788
  font-family: ${h.md.fontFamily};
17781
17789
  font-feature-settings: ${h.md.fontSettings};
17782
17790
  color: ${d.colour.text.default};
@@ -17808,7 +17816,7 @@ const y3 = (e, t) => {
17808
17816
  font-weight: ${f.md.fontWeight};
17809
17817
  line-height: ${f.md.lineHeight}%;
17810
17818
  }
17811
- `, v = u`
17819
+ `, w = u`
17812
17820
  font-size: ${h.sm.fontSize}px;
17813
17821
  font-weight: ${h.sm.fontWeight};
17814
17822
  line-height: ${h.sm.lineHeight}%;
@@ -17841,7 +17849,7 @@ const y3 = (e, t) => {
17841
17849
  b === "xxl" && S,
17842
17850
  b === "xl" && C,
17843
17851
  b === "lg" && A,
17844
- b === "md" && v,
17852
+ b === "md" && w,
17845
17853
  b === "sm" && I,
17846
17854
  b === "xs" && E,
17847
17855
  Ie(
@@ -17849,7 +17857,7 @@ const y3 = (e, t) => {
17849
17857
  d
17850
17858
  ),
17851
17859
  i
17852
- ), z = t || w;
17860
+ ), z = t || v;
17853
17861
  return /* @__PURE__ */ m(Re, { children: [
17854
17862
  z === "h1" && /* @__PURE__ */ n(
17855
17863
  "h1",
@@ -17945,12 +17953,12 @@ const y3 = (e, t) => {
17945
17953
  lgSemibold: g,
17946
17954
  lgBold: y,
17947
17955
  md: b,
17948
- mdMedium: w,
17956
+ mdMedium: v,
17949
17957
  mdSemibold: x,
17950
17958
  mdMediumNumeric: S,
17951
17959
  sm: C,
17952
17960
  smMedium: A,
17953
- smSemibold: v,
17961
+ smSemibold: w,
17954
17962
  xs: I,
17955
17963
  xsMedium: E
17956
17964
  }
@@ -17964,7 +17972,7 @@ const y3 = (e, t) => {
17964
17972
  font-size: ${f.fontSize}px;
17965
17973
  font-weight: ${f.fontWeight};
17966
17974
  line-height: ${f.lineHeight}%;
17967
- `, G = u`
17975
+ `, J = u`
17968
17976
  font-size: ${h.fontSize}px;
17969
17977
  font-weight: ${h.fontWeight};
17970
17978
  line-height: ${h.lineHeight}%;
@@ -17981,9 +17989,9 @@ const y3 = (e, t) => {
17981
17989
  font-weight: ${b.fontWeight};
17982
17990
  line-height: ${b.lineHeight}%;
17983
17991
  `, Z = u`
17984
- font-size: ${w.fontSize}px;
17985
- font-weight: ${w.fontWeight};
17986
- line-height: ${w.lineHeight}%;
17992
+ font-size: ${v.fontSize}px;
17993
+ font-weight: ${v.fontWeight};
17994
+ line-height: ${v.lineHeight}%;
17987
17995
  `, Y = u`
17988
17996
  font-size: ${x.fontSize}px;
17989
17997
  font-weight: ${x.fontWeight};
@@ -18001,9 +18009,9 @@ const y3 = (e, t) => {
18001
18009
  font-weight: ${A.fontWeight};
18002
18010
  line-height: ${A.lineHeight}%;
18003
18011
  `, N = u`
18004
- font-size: ${v.fontSize}px;
18005
- font-weight: ${v.fontWeight};
18006
- line-height: ${v.lineHeight}%;
18012
+ font-size: ${w.fontSize}px;
18013
+ font-weight: ${w.fontWeight};
18014
+ line-height: ${w.lineHeight}%;
18007
18015
  `, ie = u`
18008
18016
  font-size: ${I.fontSize}px;
18009
18017
  font-weight: ${I.fontWeight};
@@ -18016,7 +18024,7 @@ const y3 = (e, t) => {
18016
18024
  Wr,
18017
18025
  z,
18018
18026
  H === "lg" && D,
18019
- H === "lg-medium" && G,
18027
+ H === "lg-medium" && J,
18020
18028
  H === "lg-semibold" && j,
18021
18029
  H === "lg-bold" && X,
18022
18030
  H === "md" && oe,
@@ -18083,7 +18091,7 @@ const y3 = (e, t) => {
18083
18091
  mdMediumNumeric: g,
18084
18092
  sm: y,
18085
18093
  smMedium: b,
18086
- smSemibold: w,
18094
+ smSemibold: v,
18087
18095
  xs: x,
18088
18096
  xsMedium: S
18089
18097
  }
@@ -18097,7 +18105,7 @@ const y3 = (e, t) => {
18097
18105
  font-size: ${a.fontSize}px;
18098
18106
  font-weight: ${a.fontWeight};
18099
18107
  line-height: ${a.lineHeight}%;
18100
- `, v = u`
18108
+ `, w = u`
18101
18109
  font-size: ${c.fontSize}px;
18102
18110
  font-weight: ${c.fontWeight};
18103
18111
  line-height: ${c.lineHeight}%;
@@ -18121,7 +18129,7 @@ const y3 = (e, t) => {
18121
18129
  font-size: ${h.fontSize}px;
18122
18130
  font-weight: ${h.fontWeight};
18123
18131
  line-height: ${h.lineHeight}%;
18124
- `, G = u`
18132
+ `, J = u`
18125
18133
  font-size: ${g.fontSize}px;
18126
18134
  font-weight: ${g.fontWeight};
18127
18135
  line-height: ${g.lineHeight}%;
@@ -18134,9 +18142,9 @@ const y3 = (e, t) => {
18134
18142
  font-weight: ${b.fontWeight};
18135
18143
  line-height: ${b.lineHeight}%;
18136
18144
  `, oe = u`
18137
- font-size: ${w.fontSize}px;
18138
- font-weight: ${w.fontWeight};
18139
- line-height: ${w.lineHeight}%;
18145
+ font-size: ${v.fontSize}px;
18146
+ font-weight: ${v.fontWeight};
18147
+ line-height: ${v.lineHeight}%;
18140
18148
  `, Z = u`
18141
18149
  font-size: ${x.fontSize}px;
18142
18150
  font-weight: ${x.fontWeight};
@@ -18149,13 +18157,13 @@ const y3 = (e, t) => {
18149
18157
  Hr,
18150
18158
  C,
18151
18159
  e === "lg" && A,
18152
- e === "lg-medium" && v,
18160
+ e === "lg-medium" && w,
18153
18161
  e === "lg-semibold" && I,
18154
18162
  e === "lg-bold" && E,
18155
18163
  e === "md" && H,
18156
18164
  e === "md-medium" && z,
18157
18165
  e === "md-semibold" && D,
18158
- e === "md-medium-numeric" && G,
18166
+ e === "md-medium-numeric" && J,
18159
18167
  e === "sm" && j,
18160
18168
  e === "sm-medium" && X,
18161
18169
  e === "sm-semibold" && oe,
@@ -18506,7 +18514,7 @@ const Po = "ucl-uikit-breadcrumb", vv = "ucl-uikit-breadcrumb--active", wv = "uc
18506
18514
  children: [
18507
18515
  s,
18508
18516
  p < f.length - 1 && /* @__PURE__ */ n(
18509
- V.ChevronRight,
18517
+ T.ChevronRight,
18510
18518
  {
18511
18519
  size: 24,
18512
18520
  className: a
@@ -18558,7 +18566,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18558
18566
  ...a,
18559
18567
  children: [
18560
18568
  t && /* @__PURE__ */ n(
18561
- V.ArrowLeft,
18569
+ T.ArrowLeft,
18562
18570
  {
18563
18571
  "aria-hidden": !0,
18564
18572
  className: s,
@@ -18567,7 +18575,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18567
18575
  ),
18568
18576
  l,
18569
18577
  e && /* @__PURE__ */ n(
18570
- V.ChevronRight,
18578
+ T.ChevronRight,
18571
18579
  {
18572
18580
  "aria-hidden": !0,
18573
18581
  className: s,
@@ -18721,7 +18729,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18721
18729
  o ?? !1
18722
18730
  ), y = f ? t : h, b = (H) => {
18723
18731
  f || g(H.target.checked), c == null || c(H);
18724
- }, w = u`
18732
+ }, v = u`
18725
18733
  position: relative;
18726
18734
  width: 24px;
18727
18735
  height: 24px;
@@ -18751,9 +18759,9 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18751
18759
  background-color: ${p.colour.icon.disabled};
18752
18760
  border-color: ${p.colour.icon.disabled};
18753
18761
  cursor: not-allowed;
18754
- `, v = k(
18762
+ `, w = k(
18755
18763
  Zr,
18756
- w,
18764
+ v,
18757
18765
  Ie(d, p),
18758
18766
  !r && x,
18759
18767
  y && S,
@@ -18778,7 +18786,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18778
18786
  fa,
18779
18787
  {
18780
18788
  ref: s,
18781
- className: v,
18789
+ className: w,
18782
18790
  testId: `${i}__root`,
18783
18791
  "data-testid": i,
18784
18792
  "aria-label": l,
@@ -18787,7 +18795,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18787
18795
  disabled: r,
18788
18796
  indeterminate: e,
18789
18797
  renderVisual: (H) => H.indeterminate ? /* @__PURE__ */ n(
18790
- V.Empty,
18798
+ T.Empty,
18791
18799
  {
18792
18800
  className: E,
18793
18801
  size: 24,
@@ -18803,7 +18811,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18803
18811
  )
18804
18812
  }
18805
18813
  ) : H.checked ? /* @__PURE__ */ n(
18806
- V.Empty,
18814
+ T.Empty,
18807
18815
  {
18808
18816
  className: I,
18809
18817
  size: 24,
@@ -18834,8 +18842,8 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
18834
18842
  children: h,
18835
18843
  ...g
18836
18844
  }, y) => {
18837
- const [b] = L(), w = ct();
18838
- e = e ?? w;
18845
+ const [b] = L(), v = ct();
18846
+ e = e ?? v;
18839
18847
  const x = u`
18840
18848
  margin-top: ${b.margin.m16};
18841
18849
  margin-bottom: ${b.margin.m16};
@@ -19067,7 +19075,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19067
19075
  opacity: 0;
19068
19076
  margin-left: -4px;
19069
19077
  margin-right: 4px;
19070
- `, w = u`
19078
+ `, v = u`
19071
19079
  color: inherit;
19072
19080
  transition:
19073
19081
  margin-left 0.15s ease-out,
@@ -19098,14 +19106,14 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19098
19106
  g,
19099
19107
  C && y,
19100
19108
  !C && b
19101
- ), v = k(
19102
- w,
19109
+ ), w = k(
19110
+ v,
19103
19111
  C && x,
19104
19112
  !C && S
19105
19113
  );
19106
19114
  return /* @__PURE__ */ m("span", { className: h, children: [
19107
19115
  /* @__PURE__ */ n(
19108
- V.Check,
19116
+ T.Check,
19109
19117
  {
19110
19118
  className: A,
19111
19119
  size: 16
@@ -19115,7 +19123,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19115
19123
  Qe,
19116
19124
  {
19117
19125
  level: "sm-semibold",
19118
- className: v,
19126
+ className: w,
19119
19127
  children: e
19120
19128
  }
19121
19129
  )
@@ -19169,20 +19177,20 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19169
19177
  return S.getAttribute("aria-disabled") !== "true" && S.tabIndex >= 0 && S.offsetParent !== null;
19170
19178
  });
19171
19179
  if (g.length === 0) return;
19172
- const y = g[0], b = g[g.length - 1], w = g.indexOf(
19180
+ const y = g[0], b = g[g.length - 1], v = g.indexOf(
19173
19181
  document.activeElement
19174
19182
  );
19175
19183
  if (h.key === "Tab")
19176
19184
  h.shiftKey && document.activeElement === y ? (b.focus(), h.preventDefault()) : !h.shiftKey && document.activeElement === b && (y.focus(), h.preventDefault());
19177
19185
  else if (h.key === "ArrowDown")
19178
- if (w !== -1) {
19179
- const x = (w + 1) % g.length;
19186
+ if (v !== -1) {
19187
+ const x = (v + 1) % g.length;
19180
19188
  g[x].focus(), h.preventDefault();
19181
19189
  } else
19182
19190
  y.focus(), h.preventDefault();
19183
19191
  else if (h.key === "ArrowUp")
19184
- if (w !== -1) {
19185
- const x = (w - 1 + g.length) % g.length;
19192
+ if (v !== -1) {
19193
+ const x = (v - 1 + g.length) % g.length;
19186
19194
  g[x].focus(), h.preventDefault();
19187
19195
  } else
19188
19196
  b.focus(), h.preventDefault();
@@ -19210,8 +19218,8 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19210
19218
  onClick: d,
19211
19219
  ...s
19212
19220
  }) => {
19213
- const p = !!(d || i || l), [f] = L(), { toggleMenu: h } = xn(), g = st(() => typeof c == "boolean" ? c : typeof window < "u" && i ? window.location.pathname === i : !1, [c, i]), y = (v) => {
19214
- g && (v.preventDefault(), h()), d && d(v);
19221
+ const p = !!(d || i || l), [f] = L(), { toggleMenu: h } = xn(), g = st(() => typeof c == "boolean" ? c : typeof window < "u" && i ? window.location.pathname === i : !1, [c, i]), y = (w) => {
19222
+ g && (w.preventDefault(), h()), d && d(w);
19215
19223
  }, b = u`
19216
19224
  height: 40px;
19217
19225
  padding: 0 16px;
@@ -19220,7 +19228,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19220
19228
  font-family: ${f.font.family.primary};
19221
19229
  font-size: ${f.font.size.f16};
19222
19230
  color: ${f.color.text.secondary};
19223
- `, w = u`
19231
+ `, v = u`
19224
19232
  color: ${f.color.text.primary};
19225
19233
  &:hover {
19226
19234
  background-color: ${f.color.interaction.blue5};
@@ -19255,7 +19263,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19255
19263
  `, C = k(
19256
19264
  Yr,
19257
19265
  b,
19258
- p && w,
19266
+ p && v,
19259
19267
  r
19260
19268
  ), A = /* @__PURE__ */ m(Re, { children: [
19261
19269
  xt.isValidElement(t) && /* @__PURE__ */ n("span", { className: S, children: t }),
@@ -19384,7 +19392,7 @@ const Rr = "ucl-uikit-breadcrumbs__item", vn = ({
19384
19392
  {
19385
19393
  onClick: a,
19386
19394
  onKeyDown: s,
19387
- icon: /* @__PURE__ */ n(V.ChevronLeft, {}),
19395
+ icon: /* @__PURE__ */ n(T.ChevronLeft, {}),
19388
19396
  className: h,
19389
19397
  "aria-label": "Go Back",
19390
19398
  children: "Back"
@@ -19495,20 +19503,20 @@ const va = _e({}), wa = () => je(va), Ov = ({
19495
19503
  return S.getAttribute("aria-disabled") !== "true" && S.tabIndex >= 0 && S.offsetParent !== null;
19496
19504
  });
19497
19505
  if (g.length === 0) return;
19498
- const y = g[0], b = g[g.length - 1], w = g.indexOf(
19506
+ const y = g[0], b = g[g.length - 1], v = g.indexOf(
19499
19507
  document.activeElement
19500
19508
  );
19501
19509
  if (h.key === "Tab")
19502
19510
  h.shiftKey && document.activeElement === y ? (b.focus(), h.preventDefault()) : !h.shiftKey && document.activeElement === b && (y.focus(), h.preventDefault());
19503
19511
  else if (h.key === "ArrowDown")
19504
- if (w !== -1) {
19505
- const x = (w + 1) % g.length;
19512
+ if (v !== -1) {
19513
+ const x = (v + 1) % g.length;
19506
19514
  g[x].focus(), h.preventDefault();
19507
19515
  } else
19508
19516
  y.focus(), h.preventDefault();
19509
19517
  else if (h.key === "ArrowUp")
19510
- if (w !== -1) {
19511
- const x = (w - 1 + g.length) % g.length;
19518
+ if (v !== -1) {
19519
+ const x = (v - 1 + g.length) % g.length;
19512
19520
  g[x].focus(), h.preventDefault();
19513
19521
  } else
19514
19522
  b.focus(), h.preventDefault();
@@ -19573,7 +19581,7 @@ const va = _e({}), wa = () => je(va), Ov = ({
19573
19581
  padding: ${p.p32} ${p.p48} ${p.p16} ${p.p64};
19574
19582
  justify-content: flex-end;
19575
19583
  }
19576
- `, w = u`
19584
+ `, v = u`
19577
19585
  @media (min-width: ${s.breakpoints.desktop}px) {
19578
19586
  display: none;
19579
19587
  }
@@ -19597,13 +19605,13 @@ const va = _e({}), wa = () => je(va), Ov = ({
19597
19605
  className: y,
19598
19606
  children: [
19599
19607
  /* @__PURE__ */ m("header", { className: b, children: [
19600
- /* @__PURE__ */ n("h3", { className: w, children: e }),
19608
+ /* @__PURE__ */ n("h3", { className: v, children: e }),
19601
19609
  /* @__PURE__ */ n(
19602
19610
  Ze,
19603
19611
  {
19604
19612
  onClick: d,
19605
19613
  "aria-label": "Close menu",
19606
- children: /* @__PURE__ */ n(V.X, { size: 40 })
19614
+ children: /* @__PURE__ */ n(T.X, { size: 40 })
19607
19615
  }
19608
19616
  )
19609
19617
  ] }),
@@ -19679,7 +19687,7 @@ const va = _e({}), wa = () => je(va), Ov = ({
19679
19687
  children: [
19680
19688
  y,
19681
19689
  a && /* @__PURE__ */ n(
19682
- V.ExternalLink,
19690
+ T.ExternalLink,
19683
19691
  {
19684
19692
  size: 16,
19685
19693
  className: u`
@@ -19730,7 +19738,7 @@ const va = _e({}), wa = () => je(va), Ov = ({
19730
19738
  "aria-haspopup": "true",
19731
19739
  "aria-expanded": r ? "true" : "false",
19732
19740
  ...t,
19733
- children: /* @__PURE__ */ n(V.Menu, {})
19741
+ children: /* @__PURE__ */ n(T.Menu, {})
19734
19742
  }
19735
19743
  );
19736
19744
  }, Kv = P(Gv), Uo = "ucl-uikit-menu", Xv = ({
@@ -19785,7 +19793,7 @@ const Jt = ({
19785
19793
  active: f = !1,
19786
19794
  ...h
19787
19795
  }) => {
19788
- const [g] = L(), y = typeof l == "function", b = !p, w = (E) => {
19796
+ const [g] = L(), y = typeof l == "function", b = !p, v = (E) => {
19789
19797
  a == null || a(E), !(E.defaultPrevented || !y) && (E.key === "Enter" && E.currentTarget.click(), E.key === " " && (E.preventDefault(), E.currentTarget.click()));
19790
19798
  }, x = u`
19791
19799
  width: 100%;
@@ -19825,7 +19833,7 @@ const Jt = ({
19825
19833
  &:hover .ucl-uikit-menu__item-text {
19826
19834
  text-decoration: underline;
19827
19835
  }
19828
- `, v = k(
19836
+ `, w = k(
19829
19837
  x,
19830
19838
  f && S,
19831
19839
  s === "underline" && A,
@@ -19840,9 +19848,9 @@ const Jt = ({
19840
19848
  return /* @__PURE__ */ m(
19841
19849
  "div",
19842
19850
  {
19843
- className: v,
19851
+ className: w,
19844
19852
  onClick: l,
19845
- onKeyDown: w,
19853
+ onKeyDown: v,
19846
19854
  role: c ?? (b ? "button" : void 0),
19847
19855
  tabIndex: d ?? (b ? 0 : void 0),
19848
19856
  ...h,
@@ -19953,7 +19961,7 @@ const Jt = ({
19953
19961
  t == null || t(), a == null || a.setIsOpen(!1);
19954
19962
  },
19955
19963
  className: s,
19956
- children: /* @__PURE__ */ n(V.X, { size: 32 })
19964
+ children: /* @__PURE__ */ n(T.X, { size: 32 })
19957
19965
  }
19958
19966
  )
19959
19967
  ]
@@ -20097,7 +20105,7 @@ const Jt = ({
20097
20105
  transform: rotate(180deg);
20098
20106
  `;
20099
20107
  return /* @__PURE__ */ n(
20100
- V.ChevronDown,
20108
+ T.ChevronDown,
20101
20109
  {
20102
20110
  className: k(o, e && r, t),
20103
20111
  size: 24,
@@ -20376,7 +20384,7 @@ const Jt = ({
20376
20384
  }
20377
20385
  ),
20378
20386
  r && /* @__PURE__ */ n(
20379
- V.ExternalLink,
20387
+ T.ExternalLink,
20380
20388
  {
20381
20389
  size: 16,
20382
20390
  "aria-hidden": "true",
@@ -20454,17 +20462,17 @@ const Jt = ({
20454
20462
  panelClassName: g,
20455
20463
  filterable: y = !1,
20456
20464
  ref: b,
20457
- ...w
20465
+ ...v
20458
20466
  }) => {
20459
20467
  p !== void 0 && console.warn(
20460
20468
  "Select width prop is deprecated; it has no effect. Use className instead."
20461
20469
  ), !!o.find(
20462
- (R) => R.icon !== void 0
20470
+ (V) => V.icon !== void 0
20463
20471
  ) && console.warn("Select option icon prop is deprecated; it has no effect.");
20464
20472
  const S = st(() => {
20465
- const R = /* @__PURE__ */ new Set(), $ = /* @__PURE__ */ new Set();
20473
+ const V = /* @__PURE__ */ new Set(), $ = /* @__PURE__ */ new Set();
20466
20474
  for (const Ce of o)
20467
- R.has(Ce.value) ? $.add(Ce.value) : R.add(Ce.value);
20475
+ V.has(Ce.value) ? $.add(Ce.value) : V.add(Ce.value);
20468
20476
  return Array.from($);
20469
20477
  }, [o]);
20470
20478
  re(() => {
@@ -20472,51 +20480,51 @@ const Jt = ({
20472
20480
  `Select options contain non-unique values: ${S.map(String).join(", ")}`
20473
20481
  );
20474
20482
  }, [S]);
20475
- const C = ae(null), A = C, v = ae(!1), I = ae(!1), E = (R) => {
20476
- C.current = R, typeof b == "function" ? b(R) : b && "current" in b && (b.current = R);
20477
- }, [H] = L(), [z, D] = ce(!1), [G, j] = ce(""), [X, oe] = ce(
20483
+ const C = ae(null), A = C, w = ae(!1), I = ae(!1), E = (V) => {
20484
+ C.current = V, typeof b == "function" ? b(V) : b && "current" in b && (b.current = V);
20485
+ }, [H] = L(), [z, D] = ce(!1), [J, j] = ce(""), [X, oe] = ce(
20478
20486
  null
20479
20487
  ), [Z, Y] = ce(
20480
20488
  null
20481
20489
  ), [ne, U] = ce(null), [F, N] = ce(
20482
20490
  null
20483
- ), [ie, _] = ce(null), [se, Se] = ce(""), q = ae(null), Q = ae(null), le = ct(), de = w.id ?? `${f}-${le.replace(/[:]/g, "")}`, be = `${de}-listbox`, ke = `${de}-selection-status`, fe = parseFloat(String(H.margin.m32)), T = st(() => {
20484
- const R = G.toLowerCase();
20485
- return y ? o.reduce(($, Ce, Ae) => (Ce.label.toLowerCase().includes(R) && $.push(Ae), $), []) : o.map(($, Ce) => Ce);
20486
- }, [y, o, G]), te = st(
20487
- () => T.map((R) => o[R]),
20488
- [T, o]
20491
+ ), [ie, _] = ce(null), [se, Se] = ce(""), q = ae(null), G = ae(null), le = ct(), de = v.id ?? `${f}-${le.replace(/[:]/g, "")}`, be = `${de}-listbox`, ke = `${de}-selection-status`, fe = parseFloat(String(H.margin.m32)), R = st(() => {
20492
+ const V = J.toLowerCase();
20493
+ return y ? o.reduce(($, Ce, Ae) => (Ce.label.toLowerCase().includes(V) && $.push(Ae), $), []) : o.map(($, Ce) => Ce);
20494
+ }, [y, o, J]), te = st(
20495
+ () => R.map((V) => o[V]),
20496
+ [R, o]
20489
20497
  );
20490
20498
  re(() => {
20491
- !z && G && j("");
20492
- }, [z, G]), re(() => {
20499
+ !z && J && j("");
20500
+ }, [z, J]), re(() => {
20493
20501
  z && se && Se("");
20494
20502
  }, [z, se]), re(() => {
20495
- const R = o.reduce(
20503
+ const V = o.reduce(
20496
20504
  ($, Ce, Ae) => (Ce.value === t && $.push(Ae), $),
20497
20505
  []
20498
20506
  );
20499
- if (R.length === 0) {
20507
+ if (V.length === 0) {
20500
20508
  Z !== null && Y(null);
20501
20509
  return;
20502
20510
  }
20503
- Z !== null && R.includes(Z) || Y(R[0]);
20511
+ Z !== null && V.includes(Z) || Y(V[0]);
20504
20512
  }, [o, Z, t]), re(() => {
20505
- const R = ($) => {
20513
+ const V = ($) => {
20506
20514
  A.current && !A.current.contains($.target) && D(!1);
20507
20515
  };
20508
- return document.addEventListener("mousedown", R), () => {
20509
- document.removeEventListener("mousedown", R);
20516
+ return document.addEventListener("mousedown", V), () => {
20517
+ document.removeEventListener("mousedown", V);
20510
20518
  };
20511
20519
  }, [A]);
20512
- const He = (R) => {
20513
- const $ = R.relatedTarget;
20520
+ const He = (V) => {
20521
+ const $ = V.relatedTarget;
20514
20522
  A.current && $ && A.current.contains($) || bt();
20515
- }, Ve = (R) => {
20516
- if (!R.isConnected || R instanceof HTMLInputElement && R.type === "hidden" || R.tabIndex < 0 || "disabled" in R && R.disabled) return !1;
20517
- const $ = window.getComputedStyle(R);
20523
+ }, Ve = (V) => {
20524
+ if (!V.isConnected || V instanceof HTMLInputElement && V.type === "hidden" || V.tabIndex < 0 || "disabled" in V && V.disabled) return !1;
20525
+ const $ = window.getComputedStyle(V);
20518
20526
  return !($.display === "none" || $.visibility === "hidden");
20519
- }, Xt = (R) => {
20527
+ }, Xt = (V) => {
20520
20528
  if (!A.current) return !1;
20521
20529
  const $ = Array.from(
20522
20530
  document.querySelectorAll(ww)
@@ -20524,7 +20532,7 @@ const Jt = ({
20524
20532
  if (!Ce) return !1;
20525
20533
  const Ae = $.indexOf(Ce);
20526
20534
  if (Ae === -1) return !1;
20527
- const Me = R ? -1 : 1;
20535
+ const Me = V ? -1 : 1;
20528
20536
  let Be = Ae + Me;
20529
20537
  for (; Be >= 0 && Be < $.length; ) {
20530
20538
  const No = $[Be];
@@ -20533,12 +20541,12 @@ const Jt = ({
20533
20541
  Be += Me;
20534
20542
  }
20535
20543
  return !1;
20536
- }, $t = (R) => {
20537
- if (bt(), !R.shiftKey && Q.current && (Q.current.focus(), document.activeElement === Q.current)) {
20538
- R.preventDefault();
20544
+ }, $t = (V) => {
20545
+ if (bt(), !V.shiftKey && G.current && (G.current.focus(), document.activeElement === G.current)) {
20546
+ V.preventDefault();
20539
20547
  return;
20540
20548
  }
20541
- Xt(R.shiftKey) && R.preventDefault();
20549
+ Xt(V.shiftKey) && V.preventDefault();
20542
20550
  };
20543
20551
  re(() => {
20544
20552
  i && z && D(!1);
@@ -20549,47 +20557,47 @@ const Jt = ({
20549
20557
  U(null), N(null), _(null);
20550
20558
  return;
20551
20559
  }
20552
- const R = () => {
20560
+ const V = () => {
20553
20561
  const $ = A.current, Ce = $ == null ? void 0 : $.closest("dialog"), Ae = Ce == null ? void 0 : Ce.querySelector('[role="document"]'), Me = Ae == null ? void 0 : Ae.getBoundingClientRect(), Be = $ == null ? void 0 : $.getBoundingClientRect();
20554
20562
  N((Be == null ? void 0 : Be.width) ?? null), U(
20555
20563
  Me && Be ? Math.max(0, Me.right - Be.left) : null
20556
20564
  );
20557
20565
  };
20558
- return R(), window.addEventListener("resize", R), () => window.removeEventListener("resize", R);
20566
+ return V(), window.addEventListener("resize", V), () => window.removeEventListener("resize", V);
20559
20567
  }, [A, z]);
20560
20568
  const Ya = () => {
20561
- i || D((R) => !R);
20569
+ i || D((V) => !V);
20562
20570
  }, At = () => {
20563
20571
  i || D(!0);
20564
20572
  }, bt = () => {
20565
20573
  i || (D(!1), oe(null));
20566
- }, Ja = (R) => {
20567
- _(($) => $ && $.referenceWidth === R.referenceWidth && $.availableWidth === R.availableWidth && $.availableHeight === R.availableHeight ? $ : R);
20568
- }, Qa = (R) => {
20574
+ }, Ja = (V) => {
20575
+ _(($) => $ && $.referenceWidth === V.referenceWidth && $.availableWidth === V.availableWidth && $.availableHeight === V.availableHeight ? $ : V);
20576
+ }, Qa = (V) => {
20569
20577
  if (!i) {
20570
- if (v.current) {
20571
- v.current = !1;
20578
+ if (w.current) {
20579
+ w.current = !1;
20572
20580
  return;
20573
20581
  }
20574
20582
  if (!z) {
20575
20583
  At(), y && q.current && q.current.focus();
20576
20584
  return;
20577
20585
  }
20578
- y && q.current && q.current.contains(R.target) || bt();
20586
+ y && q.current && q.current.contains(V.target) || bt();
20579
20587
  }
20580
- }, Ga = (R) => {
20588
+ }, Ga = (V) => {
20581
20589
  var $;
20582
- i || (R.stopPropagation(), Y(null), oe(null), j(""), bt(), ($ = A.current) == null || $.focus(), r == null || r(null, R));
20583
- }, Ka = (R, $, Ce) => {
20584
- typeof Ce == "number" && Y(Ce), r == null || r($, R), j(""), bt();
20585
- }, _t = Z !== null ? o[Z] : void 0, Ln = Z !== null ? T.indexOf(Z) : -1, eo = X !== null && X >= 0 && X < te.length ? X : null, to = eo !== null ? eo : Ln >= 0 ? Ln : null, In = to !== null ? T[to] : null, En = z && eo !== null && In !== null ? `${de}-option-${In}` : void 0, Xa = (R) => {
20590
+ i || (V.stopPropagation(), Y(null), oe(null), j(""), bt(), ($ = A.current) == null || $.focus(), r == null || r(null, V));
20591
+ }, Ka = (V, $, Ce) => {
20592
+ typeof Ce == "number" && Y(Ce), r == null || r($, V), j(""), bt();
20593
+ }, _t = Z !== null ? o[Z] : void 0, Ln = Z !== null ? R.indexOf(Z) : -1, eo = X !== null && X >= 0 && X < te.length ? X : null, to = eo !== null ? eo : Ln >= 0 ? Ln : null, In = to !== null ? R[to] : null, En = z && eo !== null && In !== null ? `${de}-option-${In}` : void 0, Xa = (V) => {
20586
20594
  var Ce;
20587
- (R.key === "ArrowUp" || R.key === "ArrowDown" || R.key === "ArrowLeft" || R.key === "ArrowRight") && R.preventDefault();
20595
+ (V.key === "ArrowUp" || V.key === "ArrowDown" || V.key === "ArrowLeft" || V.key === "ArrowRight") && V.preventDefault();
20588
20596
  const $ = () => {
20589
20597
  if (X !== null && X >= 0 && X < te.length)
20590
20598
  return X;
20591
20599
  if (Z !== null) {
20592
- const Me = T.indexOf(Z);
20600
+ const Me = R.indexOf(Z);
20593
20601
  if (Me >= 0)
20594
20602
  return Me;
20595
20603
  }
@@ -20599,7 +20607,7 @@ const Jt = ({
20599
20607
  return Ae >= 0 ? Ae : null;
20600
20608
  };
20601
20609
  if (!i) {
20602
- if (R.key === "Enter") {
20610
+ if (V.key === "Enter") {
20603
20611
  if (!z) {
20604
20612
  At();
20605
20613
  return;
@@ -20607,8 +20615,8 @@ const Jt = ({
20607
20615
  if (e === "commit" && te.length > 0) {
20608
20616
  const Ae = $();
20609
20617
  if (Ae !== null) {
20610
- const Me = te[Ae], Be = T[Ae];
20611
- Y(Be), r == null || r(Me.value, R), j(""), Se(`${Me.label} selected`);
20618
+ const Me = te[Ae], Be = R[Ae];
20619
+ Y(Be), r == null || r(Me.value, V), j(""), Se(`${Me.label} selected`);
20612
20620
  }
20613
20621
  bt(), I.current = !0, (Ce = A.current) == null || Ce.focus();
20614
20622
  return;
@@ -20616,45 +20624,45 @@ const Jt = ({
20616
20624
  Ya();
20617
20625
  return;
20618
20626
  }
20619
- if (!z && R.code === "Space") {
20627
+ if (!z && V.code === "Space") {
20620
20628
  At();
20621
20629
  return;
20622
20630
  }
20623
- if (z && R.key === "Escape") {
20624
- bt(), I.current = !0, R.currentTarget.focus();
20631
+ if (z && V.key === "Escape") {
20632
+ bt(), I.current = !0, V.currentTarget.focus();
20625
20633
  return;
20626
20634
  }
20627
- if (R.key === "ArrowUp" || R.key === "ArrowLeft") {
20635
+ if (V.key === "ArrowUp" || V.key === "ArrowLeft") {
20628
20636
  if (!z) {
20629
20637
  At();
20630
20638
  return;
20631
20639
  }
20632
20640
  if (te.length === 0)
20633
20641
  return;
20634
- const Ae = $(), Me = Ae === null ? te.length - 1 : (Ae - 1 + te.length) % te.length, Be = T[Me];
20635
- oe(Me), e === "focus" && (Y(Be), r == null || r(te[Me].value, R));
20642
+ const Ae = $(), Me = Ae === null ? te.length - 1 : (Ae - 1 + te.length) % te.length, Be = R[Me];
20643
+ oe(Me), e === "focus" && (Y(Be), r == null || r(te[Me].value, V));
20636
20644
  return;
20637
20645
  }
20638
- if (R.key === "ArrowDown" || R.key === "ArrowRight") {
20646
+ if (V.key === "ArrowDown" || V.key === "ArrowRight") {
20639
20647
  if (!z) {
20640
20648
  At();
20641
20649
  return;
20642
20650
  }
20643
20651
  if (te.length === 0)
20644
20652
  return;
20645
- const Ae = $(), Me = Ae === null ? 0 : (Ae + 1) % te.length, Be = T[Me];
20646
- oe(Me), e === "focus" && (Y(Be), r == null || r(te[Me].value, R));
20653
+ const Ae = $(), Me = Ae === null ? 0 : (Ae + 1) % te.length, Be = R[Me];
20654
+ oe(Me), e === "focus" && (Y(Be), r == null || r(te[Me].value, V));
20647
20655
  return;
20648
20656
  }
20649
20657
  }
20650
- }, $a = (R) => {
20658
+ }, $a = (V) => {
20651
20659
  if (i) return;
20652
20660
  if (I.current) {
20653
20661
  I.current = !1;
20654
20662
  return;
20655
20663
  }
20656
- const $ = R.currentTarget.matches(":focus-visible");
20657
- y && $ && (v.current = !0, At(), q.current && q.current.focus());
20664
+ const $ = V.currentTarget.matches(":focus-visible");
20665
+ y && $ && (w.current = !0, At(), q.current && q.current.focus());
20658
20666
  }, _a = u`
20659
20667
  display: inline-flex;
20660
20668
  align-items: center;
@@ -20701,10 +20709,10 @@ const Jt = ({
20701
20709
  white-space: nowrap;
20702
20710
  border: 0;
20703
20711
  `, os = k(ii, _a, i && es, h), ns = {
20704
- ...w["aria-label"] !== void 0 ? { "aria-label": w["aria-label"] } : {},
20705
- ...w["aria-labelledby"] !== void 0 ? { "aria-labelledby": w["aria-labelledby"] } : {},
20712
+ ...v["aria-label"] !== void 0 ? { "aria-label": v["aria-label"] } : {},
20713
+ ...v["aria-labelledby"] !== void 0 ? { "aria-labelledby": v["aria-labelledby"] } : {},
20706
20714
  "aria-describedby": [
20707
- w["aria-describedby"],
20715
+ v["aria-describedby"],
20708
20716
  _t ? ke : void 0
20709
20717
  ].filter(Boolean).join(" ") || void 0
20710
20718
  };
@@ -20724,7 +20732,7 @@ const Jt = ({
20724
20732
  "aria-expanded": z,
20725
20733
  "aria-controls": z ? be : void 0,
20726
20734
  "aria-activedescendant": En,
20727
- ...w,
20735
+ ...v,
20728
20736
  children: [
20729
20737
  /* @__PURE__ */ n(
20730
20738
  Iw,
@@ -20736,11 +20744,11 @@ const Jt = ({
20736
20744
  filterable: y,
20737
20745
  clearable: l,
20738
20746
  onClear: Ga,
20739
- clearButtonRef: Q,
20747
+ clearButtonRef: G,
20740
20748
  children: y && /* @__PURE__ */ n(
20741
20749
  Ew,
20742
20750
  {
20743
- value: G,
20751
+ value: J,
20744
20752
  onChange: j,
20745
20753
  placeholder: a,
20746
20754
  disabled: i,
@@ -20800,12 +20808,12 @@ const Jt = ({
20800
20808
  id: be,
20801
20809
  role: "listbox",
20802
20810
  children: [
20803
- te.map((R, $) => /* @__PURE__ */ n(
20811
+ te.map((V, $) => /* @__PURE__ */ n(
20804
20812
  Mw,
20805
20813
  {
20806
- id: `${de}-option-${T[$]}`,
20807
- value: R.value,
20808
- optionIndex: T[$],
20814
+ id: `${de}-option-${R[$]}`,
20815
+ value: V.value,
20816
+ optionIndex: R[$],
20809
20817
  isSelected: to === $,
20810
20818
  onSelect: Ka,
20811
20819
  lineBreak: c,
@@ -20813,10 +20821,10 @@ const Jt = ({
20813
20821
  "aria-selected": eo !== null ? to === $ : void 0,
20814
20822
  "aria-posinset": $ + 1,
20815
20823
  "aria-setsize": te.length,
20816
- ...R.optionProps,
20817
- children: R.label
20824
+ ...V.optionProps,
20825
+ children: V.label
20818
20826
  },
20819
- `${String(R.value)}-${T[$]}`
20827
+ `${String(V.value)}-${R[$]}`
20820
20828
  )),
20821
20829
  te.length === 0 && /* @__PURE__ */ n("div", { className: ts, children: "No options" })
20822
20830
  ]
@@ -20968,14 +20976,14 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
20968
20976
  text-overflow: ellipsis;
20969
20977
  `, b = u`
20970
20978
  word-break: break-all;
20971
- `, w = u`
20979
+ `, v = u`
20972
20980
  background-color: ${s.colour.fill.brandSubtleSelected};
20973
20981
  `, x = k(
20974
20982
  ai,
20975
20983
  g,
20976
20984
  !i && y,
20977
20985
  i && b,
20978
- o && w,
20986
+ o && v,
20979
20987
  a
20980
20988
  );
20981
20989
  return /* @__PURE__ */ n(
@@ -21059,7 +21067,7 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21059
21067
  transform: rotate(180deg);
21060
21068
  `, b = u`
21061
21069
  color: ${s.colour.icon.disabled};
21062
- `, w = k(
21070
+ `, v = k(
21063
21071
  g,
21064
21072
  t && y,
21065
21073
  r && b
@@ -21101,9 +21109,9 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21101
21109
  onKeyDown: (C) => {
21102
21110
  C.stopPropagation();
21103
21111
  },
21104
- children: /* @__PURE__ */ n(V.X, {})
21112
+ children: /* @__PURE__ */ n(T.X, {})
21105
21113
  }
21106
- ) : /* @__PURE__ */ n(V.ChevronDown, { className: w })
21114
+ ) : /* @__PURE__ */ n(T.ChevronDown, { className: v })
21107
21115
  ]
21108
21116
  }
21109
21117
  );
@@ -21287,13 +21295,13 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21287
21295
  color: ${a.color.neutral.grey20};
21288
21296
  }
21289
21297
  `, d = k(di, c, o), s = {
21290
- facebook: V.Facebook,
21291
- flickr: V.Flickr,
21292
- instagram: V.Instagram,
21293
- soundcloud: V.Soundcloud,
21294
- tiktok: V.Tiktok,
21295
- x: V.XSocial,
21296
- youtube: V.Youtube
21298
+ facebook: T.Facebook,
21299
+ flickr: T.Flickr,
21300
+ instagram: T.Instagram,
21301
+ soundcloud: T.Soundcloud,
21302
+ tiktok: T.Tiktok,
21303
+ x: T.XSocial,
21304
+ youtube: T.Youtube
21297
21305
  }[e];
21298
21306
  return /* @__PURE__ */ n(
21299
21307
  it,
@@ -21378,7 +21386,7 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21378
21386
  margin-right: 10%;
21379
21387
  display: flex;
21380
21388
  }
21381
- `, w = u`
21389
+ `, v = u`
21382
21390
  margin-top: ${f.margin.m40};
21383
21391
  padding: ${f.padding.p8} 0;
21384
21392
  box-sizing: border-box;
@@ -21418,7 +21426,7 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21418
21426
  }
21419
21427
  `, A = u`
21420
21428
  margin-right: ${f.margin.m32};
21421
- `, v = u`
21429
+ `, w = u`
21422
21430
  margin-top: ${f.margin.m16};
21423
21431
  color: inherit;
21424
21432
  text-decoration: none;
@@ -21477,7 +21485,7 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21477
21485
  ...s,
21478
21486
  children: /* @__PURE__ */ m("div", { className: y, children: [
21479
21487
  /* @__PURE__ */ n("nav", { className: b, children: d }),
21480
- /* @__PURE__ */ m("div", { className: w, children: [
21488
+ /* @__PURE__ */ m("div", { className: v, children: [
21481
21489
  /* @__PURE__ */ n(Ho, { className: x }),
21482
21490
  /* @__PURE__ */ m("div", { className: S, children: [
21483
21491
  /* @__PURE__ */ n(wt, { socialNetwork: "facebook" }),
@@ -21495,7 +21503,7 @@ const Sw = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
21495
21503
  /* @__PURE__ */ n(
21496
21504
  "a",
21497
21505
  {
21498
- className: v,
21506
+ className: w,
21499
21507
  href: "tel:+4402076792000",
21500
21508
  children: "Tel: +44 (0) 20 7679 2000"
21501
21509
  }
@@ -21726,14 +21734,14 @@ const fi = "ucl-uikit-footer__column", Tw = ({
21726
21734
  background-color: ${a.colour.fill.brandInverseSecondary};
21727
21735
  }
21728
21736
  `, d = k(mi, c, o), s = {
21729
- bluesky: V.Bluesky,
21730
- facebook: V.Facebook,
21731
- instagram: V.Instagram,
21732
- linkedin: V.Linkedin,
21733
- soundcloud: V.Soundcloud,
21734
- tiktok: V.Tiktok,
21735
- threads: V.Threads,
21736
- youtube: V.Youtube
21737
+ bluesky: T.Bluesky,
21738
+ facebook: T.Facebook,
21739
+ instagram: T.Instagram,
21740
+ linkedin: T.Linkedin,
21741
+ soundcloud: T.Soundcloud,
21742
+ tiktok: T.Tiktok,
21743
+ threads: T.Threads,
21744
+ youtube: T.Youtube
21737
21745
  }[e];
21738
21746
  return /* @__PURE__ */ n(
21739
21747
  it,
@@ -21916,7 +21924,7 @@ const fi = "ucl-uikit-footer__column", Tw = ({
21916
21924
  &:hover {
21917
21925
  text-decoration: underline;
21918
21926
  }
21919
- `, w = u`
21927
+ `, v = u`
21920
21928
  margin-top: ${f.margin.m24};
21921
21929
  color: ${f.colour.text.inverse};
21922
21930
  opacity: 0.6; // todo
@@ -22008,7 +22016,7 @@ const fi = "ucl-uikit-footer__column", Tw = ({
22008
22016
  }
22009
22017
  )
22010
22018
  ] }),
22011
- /* @__PURE__ */ m("div", { className: w, children: [
22019
+ /* @__PURE__ */ m("div", { className: v, children: [
22012
22020
  "© ",
22013
22021
  p,
22014
22022
  " UCL"
@@ -22073,7 +22081,7 @@ const fi = "ucl-uikit-footer__column", Tw = ({
22073
22081
  onClick: l,
22074
22082
  children: [
22075
22083
  "Back to top ",
22076
- /* @__PURE__ */ n(V.ArrowUp, {})
22084
+ /* @__PURE__ */ n(T.ArrowUp, {})
22077
22085
  ]
22078
22086
  }
22079
22087
  )
@@ -22120,7 +22128,7 @@ const fi = "ucl-uikit-footer__column", Tw = ({
22120
22128
  children: f,
22121
22129
  ...h
22122
22130
  }) => {
22123
- const g = !!f, y = !g, [b] = L(), w = u`
22131
+ const g = !!f, y = !g, [b] = L(), v = u`
22124
22132
  background-color: ${b.colour.surface.inverseBrandPrimary};
22125
22133
  color: ${b.colour.text.brandInverse};
22126
22134
  padding: ${b.padding.p40} ${b.padding.p16};
@@ -22133,7 +22141,7 @@ const fi = "ucl-uikit-footer__column", Tw = ({
22133
22141
  @media screen and (min-width: ${b.breakpoints.desktop}px) {
22134
22142
  padding: ${b.padding.p64} ${b.padding.p64} ${b.padding.p48};
22135
22143
  }
22136
- `, x = k(wi, w, t), S = u`
22144
+ `, x = k(wi, v, t), S = u`
22137
22145
  @media screen and (min-width: ${b.breakpoints.desktopLarge}px) {
22138
22146
  display: flex;
22139
22147
  }
@@ -22252,7 +22260,7 @@ const xi = "ucl-divider", Gw = ({ testId: e = xi, className: t, ...o }) => {
22252
22260
  top: 0;
22253
22261
  width: 100%;
22254
22262
  z-index: ${_w};
22255
- `, b = k(Si, g, t && y, s), w = u`
22263
+ `, b = k(Si, g, t && y, s), v = u`
22256
22264
  position: absolute;
22257
22265
  left: 16px;
22258
22266
  bottom: -0.5px;
@@ -22292,8 +22300,8 @@ const xi = "ucl-divider", Gw = ({ testId: e = xi, className: t, ...o }) => {
22292
22300
  outline: none;
22293
22301
  box-shadow: ${h.boxShadow.focus};
22294
22302
  }
22295
- `, C = k(x, r), v = /* @__PURE__ */ m(Re, { children: [
22296
- /* @__PURE__ */ n(Ho, { className: w }),
22303
+ `, C = k(x, r), w = /* @__PURE__ */ m(Re, { children: [
22304
+ /* @__PURE__ */ n(Ho, { className: v }),
22297
22305
  e && /* @__PURE__ */ n(
22298
22306
  o,
22299
22307
  {
@@ -22317,9 +22325,9 @@ const xi = "ucl-divider", Gw = ({ testId: e = xi, className: t, ...o }) => {
22317
22325
  "aria-label": c,
22318
22326
  className: S,
22319
22327
  ...a,
22320
- children: v
22328
+ children: w
22321
22329
  }
22322
- ) : v,
22330
+ ) : w,
22323
22331
  p
22324
22332
  ]
22325
22333
  }
@@ -22650,7 +22658,7 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22650
22658
  height: 40px;
22651
22659
  border-radius: 50%;
22652
22660
  overflow: hidden;
22653
- `, w = u`
22661
+ `, v = u`
22654
22662
  width: 100%;
22655
22663
  `, x = u`
22656
22664
  flex: 1;
@@ -22678,7 +22686,7 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22678
22686
  /* @__PURE__ */ n("div", { className: b, children: /* @__PURE__ */ n(
22679
22687
  "img",
22680
22688
  {
22681
- className: w,
22689
+ className: v,
22682
22690
  src: i,
22683
22691
  alt: "Profile photo"
22684
22692
  }
@@ -22688,7 +22696,7 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22688
22696
  /* @__PURE__ */ n("div", { className: C, children: r })
22689
22697
  ] }),
22690
22698
  /* @__PURE__ */ n(
22691
- V.ChevronDown,
22699
+ T.ChevronDown,
22692
22700
  {
22693
22701
  className: A,
22694
22702
  size: 24
@@ -22738,7 +22746,7 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22738
22746
  children: [
22739
22747
  /* @__PURE__ */ n("span", { className: s, children: r }),
22740
22748
  e && /* @__PURE__ */ n(
22741
- V.ChevronRight,
22749
+ T.ChevronRight,
22742
22750
  {
22743
22751
  className: p,
22744
22752
  size: 24,
@@ -22775,9 +22783,9 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22775
22783
  children: h,
22776
22784
  ...g
22777
22785
  }) => {
22778
- const [y] = L(), b = [], w = [];
22786
+ const [y] = L(), b = [], v = [];
22779
22787
  xt.Children.forEach(h, (z) => {
22780
- xt.isValidElement(z) && z.type === Ia ? b.push(z) : w.push(z);
22788
+ xt.isValidElement(z) && z.type === Ia ? b.push(z) : v.push(z);
22781
22789
  });
22782
22790
  const x = u`
22783
22791
  background-color: ${y.color.neutral.white};
@@ -22801,7 +22809,7 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22801
22809
  d && S,
22802
22810
  s && C,
22803
22811
  f
22804
- ), v = u`
22812
+ ), w = u`
22805
22813
  position: relative;
22806
22814
  height: ${zi}px;
22807
22815
  background-color: ${y.color.neutral.grey90};
@@ -22849,12 +22857,12 @@ const Wi = "ucl-uikit-header__bottom--breadcrumbs", u6 = ({
22849
22857
  "data-testid": p,
22850
22858
  ...g,
22851
22859
  children: [
22852
- /* @__PURE__ */ m("div", { className: v, children: [
22860
+ /* @__PURE__ */ m("div", { className: w, children: [
22853
22861
  /* @__PURE__ */ n(Ho, { className: I }),
22854
22862
  t && /* @__PURE__ */ n("h1", { className: E, children: t }),
22855
22863
  c && /* @__PURE__ */ n("div", { className: H, children: b })
22856
22864
  ] }),
22857
- e === "breadcrumbs" && /* @__PURE__ */ n(h6, { children: w }),
22865
+ e === "breadcrumbs" && /* @__PURE__ */ n(h6, { children: v }),
22858
22866
  e === "avatar" && /* @__PURE__ */ n(
22859
22867
  p6,
22860
22868
  {
@@ -23001,7 +23009,7 @@ const Ni = "ucl-uikit-table__head", x6 = ({ className: e, children: t, ...o }) =
23001
23009
  r && !t ? console.warn(`${Yo}: onSortChange requires an accessor to be defined.`) : g && (o === "asc" ? r(t, "desc", A) : o === "desc" ? r(t, null, A) : r(t, "asc", A));
23002
23010
  }, b = (A) => {
23003
23011
  y(A);
23004
- }, w = (A) => {
23012
+ }, v = (A) => {
23005
23013
  (A.key === "Enter" || A.key === " ") && (A.preventDefault(), y(A));
23006
23014
  }, x = (A) => {
23007
23015
  e === "checkbox" && a && a(A.target.checked, A);
@@ -23018,7 +23026,7 @@ const Ni = "ucl-uikit-table__head", x6 = ({ className: e, children: t, ...o }) =
23018
23026
  "th",
23019
23027
  {
23020
23028
  onClick: b,
23021
- onKeyDown: w,
23029
+ onKeyDown: v,
23022
23030
  scope: "col",
23023
23031
  className: C,
23024
23032
  "data-testid": c,
@@ -23167,10 +23175,10 @@ const Ni = "ucl-uikit-table__head", x6 = ({ className: e, children: t, ...o }) =
23167
23175
  e === "checkbox" && !(d != null && d.ariaLabel) && !(d != null && d["aria-label"]) && console.warn(
23168
23176
  `${Jo}: checkboxProps.ariaLabel is required when using variant="checkbox". Provide a row-specific label (e.g. "Select John Smith") so screen readers can identify each checkbox.`
23169
23177
  );
23170
- const h = (w) => {
23171
- e === "checkbox" && o && o(w.target.checked, w);
23172
- }, g = (w) => {
23173
- e === "button" && i && i(w);
23178
+ const h = (v) => {
23179
+ e === "checkbox" && o && o(v.target.checked, v);
23180
+ }, g = (v) => {
23181
+ e === "button" && i && i(v);
23174
23182
  }, y = u`
23175
23183
  box-sizing: border-box;
23176
23184
  padding: 0 ${f.padding.p16};
@@ -23317,10 +23325,10 @@ const Oi = "ucl-uikit-alert__message", W6 = ({
23317
23325
  color: ${a.colour.icon.critical};
23318
23326
  `
23319
23327
  ), b = {
23320
- info: V.Info,
23321
- success: V.CheckCircle,
23322
- warning: V.AlertTriangle,
23323
- error: V.XCircle
23328
+ info: T.Info,
23329
+ success: T.CheckCircle,
23330
+ warning: T.AlertTriangle,
23331
+ error: T.XCircle
23324
23332
  }[e];
23325
23333
  return /* @__PURE__ */ n(z6.Provider, { value: { type: e }, children: /* @__PURE__ */ m(
23326
23334
  "div",
@@ -23369,9 +23377,9 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23369
23377
  value: g,
23370
23378
  setValue: y,
23371
23379
  baseId: b,
23372
- fullWidth: w,
23380
+ fullWidth: v,
23373
23381
  panelValues: x
23374
- } = An(), S = g === i, C = o ?? r, A = l ?? a, v = u`
23382
+ } = An(), S = g === i, C = o ?? r, A = l ?? a, w = u`
23375
23383
  all: unset;
23376
23384
  box-sizing: border-box;
23377
23385
  height: 40px;
@@ -23427,15 +23435,15 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23427
23435
  }
23428
23436
  `, D = u`
23429
23437
  color: inherit;
23430
- `, G = u`
23438
+ `, J = u`
23431
23439
  height: 0;
23432
23440
  overflow: hidden;
23433
23441
  visibility: hidden;
23434
23442
  pointer-events: none;
23435
23443
  `, j = k(
23436
23444
  qi,
23437
- v,
23438
- w ? I : E,
23445
+ w,
23446
+ v ? I : E,
23439
23447
  S && H,
23440
23448
  c && z,
23441
23449
  t
@@ -23483,7 +23491,7 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23483
23491
  {
23484
23492
  "aria-hidden": !0,
23485
23493
  level: "md-semibold",
23486
- className: k(D, G),
23494
+ className: k(D, J),
23487
23495
  children: [
23488
23496
  ne.props.children,
23489
23497
  A !== void 0 ? ` ${A}` : ""
@@ -23518,7 +23526,7 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23518
23526
  {
23519
23527
  "aria-hidden": !0,
23520
23528
  level: "md-semibold",
23521
- className: k(D, G),
23529
+ className: k(D, J),
23522
23530
  children: [
23523
23531
  C,
23524
23532
  A !== void 0 ? ` ${A}` : ""
@@ -23557,16 +23565,16 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23557
23565
  "End"
23558
23566
  ].includes(S.key))
23559
23567
  return;
23560
- const v = T6(S.currentTarget), I = v.indexOf(document.activeElement);
23568
+ const w = T6(S.currentTarget), I = w.indexOf(document.activeElement);
23561
23569
  if (I === -1)
23562
23570
  return;
23563
23571
  S.preventDefault();
23564
23572
  const E = {
23565
- [C.next]: (I + 1) % v.length,
23566
- [C.previous]: (I - 1 + v.length) % v.length,
23573
+ [C.next]: (I + 1) % w.length,
23574
+ [C.previous]: (I - 1 + w.length) % w.length,
23567
23575
  Home: 0,
23568
- End: v.length - 1
23569
- }[S.key] ?? I, H = v[E];
23576
+ End: w.length - 1
23577
+ }[S.key] ?? I, H = w[E];
23570
23578
  if (H.focus(), s === "automatic") {
23571
23579
  const z = H.dataset.uclTabsValue;
23572
23580
  z && f(z);
@@ -23583,13 +23591,13 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23583
23591
  overflow: visible;
23584
23592
  border-bottom: 0;
23585
23593
  border-right: ${c.border.b1} solid ${c.colour.border.subtle};
23586
- `, w = u`
23594
+ `, v = u`
23587
23595
  width: 100%;
23588
23596
  `, x = k(
23589
23597
  Ui,
23590
23598
  y,
23591
23599
  d === "vertical" && b,
23592
- h && w,
23600
+ h && v,
23593
23601
  o
23594
23602
  );
23595
23603
  return /* @__PURE__ */ n(
@@ -23666,12 +23674,12 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23666
23674
  ref: h,
23667
23675
  ...g
23668
23676
  }) => {
23669
- const [y] = L(), b = ct(), [w, x] = ce(
23677
+ const [y] = L(), b = ct(), [v, x] = ce(
23670
23678
  t ?? l
23671
- ), S = O6(f), C = za(f), A = e !== void 0 || l !== void 0, v = e ?? l ?? w, I = c ?? !S, E = (D) => {
23679
+ ), S = O6(f), C = za(f), A = e !== void 0 || l !== void 0, w = e ?? l ?? v, I = c ?? !S, E = (D) => {
23672
23680
  A || x(D), o == null || o(D), a == null || a(D);
23673
23681
  }, H = k(Yi, Ie(g, y), p), z = {
23674
- value: v,
23682
+ value: w,
23675
23683
  setValue: E,
23676
23684
  baseId: `ucl-uikit-tabs-${b}`,
23677
23685
  activationMode: r,
@@ -23710,8 +23718,8 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23710
23718
  testId: o = Ji,
23711
23719
  className: r
23712
23720
  }) => {
23713
- const [i] = L(), { isOpen: l, toggleAccordion: a, disabled: c, size: d } = Da(), s = (w) => {
23714
- c || (w.key === "Enter" || w.key === " ") && (w.preventDefault(), a());
23721
+ const [i] = L(), { isOpen: l, toggleAccordion: a, disabled: c, size: d } = Da(), s = (v) => {
23722
+ c || (v.key === "Enter" || v.key === " ") && (v.preventDefault(), a());
23715
23723
  }, p = u`
23716
23724
  display: flex;
23717
23725
  position: relative;
@@ -23769,7 +23777,7 @@ const Wa = _e(void 0), Ha = (e, t) => `${e}-tab-${t}`.replace(/[^a-zA-Z0-9_-]/g,
23769
23777
  children: [
23770
23778
  e,
23771
23779
  /* @__PURE__ */ n(
23772
- V.ChevronDown,
23780
+ T.ChevronDown,
23773
23781
  {
23774
23782
  size: d === "medium" ? 32 : 24,
23775
23783
  className: b
@@ -23999,9 +24007,9 @@ const U6 = (e, t, o) => {
23999
24007
  hasNextPage: g,
24000
24008
  onNextPage: y,
24001
24009
  onPreviousPage: b
24002
- } = l, w = typeof s == "number" ? Math.ceil(s / d) : void 0, x = c === "tracked" ? Array.from({ length: f }, (j, X) => X + 1) : U6(
24010
+ } = l, v = typeof s == "number" ? Math.ceil(s / d) : void 0, x = c === "tracked" ? Array.from({ length: f }, (j, X) => X + 1) : U6(
24003
24011
  p,
24004
- w ?? 0,
24012
+ v ?? 0,
24005
24013
  i ? e : 5
24006
24014
  ), S = u``, C = k(Xi, S, o), A = u`
24007
24015
  margin: 0;
@@ -24016,12 +24024,12 @@ const U6 = (e, t, o) => {
24016
24024
  @media (min-width: ${r.breakpoints.tablet}px) {
24017
24025
  gap: ${r.margin.m8};
24018
24026
  }
24019
- `, v = u`
24027
+ `, w = u`
24020
24028
  @media (max-width: ${r.breakpoints.tablet}px) {
24021
24029
  gap: ${r.margin.m4};
24022
24030
  }
24023
24031
  `, I = k(
24024
- v,
24032
+ w,
24025
24033
  u`
24026
24034
  margin-right: ${r.margin.m16};
24027
24035
  display: none;
@@ -24031,7 +24039,7 @@ const U6 = (e, t, o) => {
24031
24039
  }
24032
24040
  `
24033
24041
  ), E = k(
24034
- v,
24042
+ w,
24035
24043
  u`
24036
24044
  margin-left: ${r.margin.m16};
24037
24045
  display: none;
@@ -24041,7 +24049,7 @@ const U6 = (e, t, o) => {
24041
24049
  }
24042
24050
  `
24043
24051
  ), H = k(
24044
- v,
24052
+ w,
24045
24053
  u`
24046
24054
  height: 40px;
24047
24055
  min-width: 40px;
@@ -24064,14 +24072,14 @@ const U6 = (e, t, o) => {
24064
24072
  color: ${r.colour.text.brand};
24065
24073
  border-color: ${r.colour.border.brand};
24066
24074
  `
24067
- ), G = u`
24075
+ ), J = u`
24068
24076
  padding: 0 ${r.padding.p8};
24069
24077
  `;
24070
24078
  return /* @__PURE__ */ n(
24071
24079
  "nav",
24072
24080
  {
24073
24081
  className: C,
24074
- "aria-label": typeof w == "number" ? `Pagination, ${w} pages total` : "Pagination",
24082
+ "aria-label": typeof v == "number" ? `Pagination, ${v} pages total` : "Pagination",
24075
24083
  "data-testid": t,
24076
24084
  children: /* @__PURE__ */ m("ul", { className: A, children: [
24077
24085
  /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(
@@ -24101,7 +24109,7 @@ const U6 = (e, t, o) => {
24101
24109
  size: i ? "default" : "small",
24102
24110
  "aria-label": `Page ${j}`,
24103
24111
  onClick: () => a(j),
24104
- children: /* @__PURE__ */ n("span", { className: G, children: j })
24112
+ children: /* @__PURE__ */ n("span", { className: J, children: j })
24105
24113
  }
24106
24114
  ),
24107
24115
  j === p && /* @__PURE__ */ n(
@@ -24114,7 +24122,7 @@ const U6 = (e, t, o) => {
24114
24122
  "aria-current": "page",
24115
24123
  disabled: !0,
24116
24124
  onClick: () => a(j),
24117
- children: /* @__PURE__ */ n("span", { className: G, children: j })
24125
+ children: /* @__PURE__ */ n("span", { className: J, children: j })
24118
24126
  }
24119
24127
  )
24120
24128
  ] }) }, j)),
@@ -24161,11 +24169,11 @@ const U6 = (e, t, o) => {
24161
24169
  @media (min-width: ${l.breakpoints.tablet}px) {
24162
24170
  margin: ${l.margin.m24} 0;
24163
24171
  }
24164
- `, w = k(G6, b, r);
24172
+ `, v = k(G6, b, r);
24165
24173
  return /* @__PURE__ */ n(
24166
24174
  "div",
24167
24175
  {
24168
- className: w,
24176
+ className: v,
24169
24177
  "data-testid": o,
24170
24178
  "aria-live": "polite",
24171
24179
  "aria-label": `Pagination info: ${y}`,
@@ -24190,27 +24198,27 @@ const U6 = (e, t, o) => {
24190
24198
  children: g,
24191
24199
  ...y
24192
24200
  }) => {
24193
- const [b] = L(), w = i === "tracked", x = w ? Math.max(1, l ?? 1) : Math.floor((e ?? 0) / t) + 1, S = w ? (x - 1) * t : e ?? 0, C = {
24201
+ const [b] = L(), v = i === "tracked", x = v ? Math.max(1, l ?? 1) : Math.floor((e ?? 0) / t) + 1, S = v ? (x - 1) * t : e ?? 0, C = {
24194
24202
  mode: i,
24195
24203
  offset: S,
24196
24204
  limit: t,
24197
24205
  total: o,
24198
24206
  currentPage: x,
24199
- trackedMaxPage: w ? Math.max(x, a ?? x) : 0,
24200
- hasPreviousPage: w ? !!(d ?? x > 1) : x > 1,
24201
- hasNextPage: w ? !!c : typeof o == "number" && S + t < o,
24207
+ trackedMaxPage: v ? Math.max(x, a ?? x) : 0,
24208
+ hasPreviousPage: v ? !!(d ?? x > 1) : x > 1,
24209
+ hasNextPage: v ? !!c : typeof o == "number" && S + t < o,
24202
24210
  onPageChange: r,
24203
24211
  onNextPage: s,
24204
24212
  onPreviousPage: p
24205
24213
  }, A = u`
24206
24214
  margin-left: auto;
24207
24215
  margin-right: auto;
24208
- `, v = k($6, A, Ie(y, b), h);
24216
+ `, w = k($6, A, Ie(y, b), h);
24209
24217
  return /* @__PURE__ */ n(Mn.Provider, { value: C, children: /* @__PURE__ */ n(
24210
24218
  "div",
24211
24219
  {
24212
24220
  "data-testid": f,
24213
- className: v,
24221
+ className: w,
24214
24222
  ...y,
24215
24223
  children: g
24216
24224
  }
@@ -24251,7 +24259,7 @@ const $i = "ucl-uikit-dialog__header", e5 = ({
24251
24259
  "aria-label": "Close dialog",
24252
24260
  onClick: h,
24253
24261
  children: /* @__PURE__ */ n(
24254
- V.X,
24262
+ T.X,
24255
24263
  {
24256
24264
  role: "presentation",
24257
24265
  "aria-hidden": "true"
@@ -24308,14 +24316,14 @@ const $i = "ucl-uikit-dialog__header", e5 = ({
24308
24316
  justify-content: flex-end;
24309
24317
  `, b = u`
24310
24318
  justify-content: flex-start;
24311
- `, w = u`
24319
+ `, v = u`
24312
24320
  justify-content: space-between;
24313
24321
  `, x = k(
24314
24322
  n5,
24315
24323
  g,
24316
24324
  c && y,
24317
24325
  d && b,
24318
- s && w,
24326
+ s && v,
24319
24327
  l
24320
24328
  );
24321
24329
  return /* @__PURE__ */ m(
@@ -24398,13 +24406,13 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24398
24406
  restoreFocus: g = !0,
24399
24407
  skipCloseOnInitialFocus: y = !1,
24400
24408
  testId: b = tl,
24401
- ...w
24409
+ ...v
24402
24410
  }, x) {
24403
24411
  const S = {
24404
24412
  small: l5,
24405
24413
  medium: a5,
24406
24414
  large: s5
24407
- }[o], [C] = L(), A = ae(null), v = ae(null), I = We(
24415
+ }[o], [C] = L(), A = ae(null), w = ae(null), I = We(
24408
24416
  (Z) => {
24409
24417
  A.current = Z, typeof x == "function" ? x(Z) : x && (x.current = Z);
24410
24418
  },
@@ -24426,7 +24434,7 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24426
24434
  }), [t, r, D]), re(() => {
24427
24435
  var Y;
24428
24436
  const Z = A.current;
24429
- Z && (t && !Z.hasAttribute("open") ? (v.current = document.activeElement, r ? Z.showModal() : Z.show()) : !t && Z.hasAttribute("open") && (Z.close(), (!r || h) && g && ((Y = v.current) == null || Y.focus())));
24437
+ Z && (t && !Z.hasAttribute("open") ? (w.current = document.activeElement, r ? Z.showModal() : Z.show()) : !t && Z.hasAttribute("open") && (Z.close(), (!r || h) && g && ((Y = w.current) == null || Y.focus())));
24430
24438
  }, [t, r, h, g]), re(() => {
24431
24439
  if (!t || r || !a) return;
24432
24440
  const Z = (Y) => {
@@ -24434,7 +24442,7 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24434
24442
  };
24435
24443
  return document.addEventListener("keydown", Z), () => document.removeEventListener("keydown", Z);
24436
24444
  }, [t, r, a, c]);
24437
- const G = We(
24445
+ const J = We(
24438
24446
  (Z) => {
24439
24447
  if (i && c && A.current) {
24440
24448
  l && Z.stopPropagation();
@@ -24485,12 +24493,12 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24485
24493
  ref: I,
24486
24494
  className: oe,
24487
24495
  "data-testid": b,
24488
- onClick: G,
24496
+ onClick: J,
24489
24497
  onClose: j,
24490
24498
  "aria-modal": r ? "true" : "false",
24491
24499
  "aria-labelledby": H,
24492
24500
  "aria-describedby": z,
24493
- ...w,
24501
+ ...v,
24494
24502
  children: s
24495
24503
  }
24496
24504
  ) : null;
@@ -24527,27 +24535,27 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24527
24535
  `
24528
24536
  ), g = {
24529
24537
  success: /* @__PURE__ */ n(
24530
- V.CheckCircle,
24538
+ T.CheckCircle,
24531
24539
  {
24532
24540
  size: Qo,
24533
24541
  className: h
24534
24542
  }
24535
24543
  ),
24536
24544
  error: /* @__PURE__ */ n(
24537
- V.XCircle,
24545
+ T.XCircle,
24538
24546
  {
24539
24547
  size: Qo,
24540
24548
  className: h
24541
24549
  }
24542
24550
  ),
24543
24551
  warning: /* @__PURE__ */ n(
24544
- V.AlertTriangle,
24552
+ T.AlertTriangle,
24545
24553
  {
24546
24554
  size: Qo,
24547
24555
  className: h
24548
24556
  }
24549
24557
  )
24550
- }[e], y = u``, b = k(ol, y, a), w = u`
24558
+ }[e], y = u``, b = k(ol, y, a), v = u`
24551
24559
  text-align: center;
24552
24560
  `, x = u`
24553
24561
  margin-left: ${s.margin.m32};
@@ -24570,7 +24578,7 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24570
24578
  {
24571
24579
  decoration: g,
24572
24580
  headingProps: {
24573
- className: w
24581
+ className: v
24574
24582
  },
24575
24583
  children: t
24576
24584
  }
@@ -24594,9 +24602,9 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24594
24602
  ({ checked: e, defaultChecked: t, disabled: o, testId: r = nl, className: i, ...l }, a) => {
24595
24603
  const [c] = L(), d = e !== void 0, [s, p] = ce(
24596
24604
  t ?? !1
24597
- ), f = d ? e : s, h = (v) => {
24605
+ ), f = d ? e : s, h = (w) => {
24598
24606
  var I;
24599
- d || p(v.target.checked), (I = l.onChange) == null || I.call(l, v);
24607
+ d || p(w.target.checked), (I = l.onChange) == null || I.call(l, w);
24600
24608
  }, g = u`
24601
24609
  position: relative;
24602
24610
  display: inline-block;
@@ -24621,7 +24629,7 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24621
24629
  background-color: ${c.colour.icon.brand};
24622
24630
  border-color: ${c.colour.icon.brand};
24623
24631
  color: ${c.colour.icon.inverse};
24624
- `, w = u`
24632
+ `, v = u`
24625
24633
  background-color: ${c.colour.icon.inverse};
24626
24634
  border-color: ${c.colour.speciality.inputDefault};
24627
24635
  `, x = u`
@@ -24634,7 +24642,7 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24634
24642
  Ie(l, c),
24635
24643
  !o && y,
24636
24644
  f && b,
24637
- !f && w,
24645
+ !f && v,
24638
24646
  o && x,
24639
24647
  i
24640
24648
  ), C = u`
@@ -24694,8 +24702,8 @@ const tl = "ucl-uikit-base-dialog", l5 = 495, a5 = 495, s5 = 740, c5 = Le(
24694
24702
  children: h,
24695
24703
  ...g
24696
24704
  }, y) => {
24697
- const [b] = L(), w = ct();
24698
- e = e ?? w;
24705
+ const [b] = L(), v = ct();
24706
+ e = e ?? v;
24699
24707
  const x = u`
24700
24708
  margin-top: ${b.margin.m16};
24701
24709
  margin-bottom: ${b.margin.m16};
@@ -24813,9 +24821,9 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24813
24821
  ...y
24814
24822
  }) => {
24815
24823
  e && isNaN(e.getTime()) && (console.warn("CustomDatepicker: value is invalid, defaulting to null"), e = null);
24816
- const b = ae(null), w = f || b, x = ae(null), S = h || x, C = ae(!1), [A, v] = ce(!1), I = (e == null ? void 0 : e.getDate().toString().padStart(2, "0")) ?? "", E = e ? (e.getMonth() + 1).toString().padStart(2, "0") : "", H = (e == null ? void 0 : e.getFullYear().toString()) ?? "", z = e ? `${I}/${E}/${H}` : "", [D, G] = ce(z), j = We(() => {
24817
- G(z);
24818
- }, [G, z]);
24824
+ const b = ae(null), v = f || b, x = ae(null), S = h || x, C = ae(!1), [A, w] = ce(!1), I = (e == null ? void 0 : e.getDate().toString().padStart(2, "0")) ?? "", E = e ? (e.getMonth() + 1).toString().padStart(2, "0") : "", H = (e == null ? void 0 : e.getFullYear().toString()) ?? "", z = e ? `${I}/${E}/${H}` : "", [D, J] = ce(z), j = We(() => {
24825
+ J(z);
24826
+ }, [J, z]);
24819
24827
  re(() => {
24820
24828
  j();
24821
24829
  }, [e, j]), re(() => {
@@ -24823,7 +24831,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24823
24831
  !e && C.current && ((_ = S.current) == null || _.focus(), C.current = !1);
24824
24832
  }, [e, S]);
24825
24833
  const X = (_) => {
24826
- G(_.target.value);
24834
+ J(_.target.value);
24827
24835
  }, oe = (_) => {
24828
24836
  const se = Oa(D, o, r);
24829
24837
  se ? (il(
@@ -24836,23 +24844,23 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24836
24844
  ), t(se, _)) : j();
24837
24845
  }, Z = (_) => {
24838
24846
  var se;
24839
- _.key === "Enter" ? oe(_) : _.key === "Escape" ? (j(), (se = S.current) == null || se.blur(), v(!1)) : _.key === "Tab" && (oe(_), v(!1));
24847
+ _.key === "Enter" ? oe(_) : _.key === "Escape" ? (j(), (se = S.current) == null || se.blur(), w(!1)) : _.key === "Tab" && (oe(_), w(!1));
24840
24848
  };
24841
24849
  re(() => {
24842
24850
  e && ((se) => {
24843
24851
  if (!se) return !1;
24844
- const Se = (de) => (de.setHours(0, 0, 0, 0), de), q = o ? Se(new Date(o)) : null, Q = r ? Se(new Date(r)) : null, le = Se(se);
24845
- return !!(q && le < q || Q && le > Q);
24852
+ const Se = (de) => (de.setHours(0, 0, 0, 0), de), q = o ? Se(new Date(o)) : null, G = r ? Se(new Date(r)) : null, le = Se(se);
24853
+ return !!(q && le < q || G && le > G);
24846
24854
  })(e) && (console.warn("CustomDatepicker: value is out of range, setting to null"), t(null));
24847
24855
  }, [e, o, r, t]), re(() => {
24848
24856
  const _ = (se) => {
24849
- w.current && !w.current.contains(se.target) && (v(!1), j());
24857
+ v.current && !v.current.contains(se.target) && (w(!1), j());
24850
24858
  };
24851
24859
  return document.addEventListener("mousedown", _), () => {
24852
24860
  document.removeEventListener("mousedown", _);
24853
24861
  };
24854
- }, [w, v, j]), re(() => {
24855
- i && A && v(!1);
24862
+ }, [v, w, j]), re(() => {
24863
+ i && A && w(!1);
24856
24864
  }, [i, A]);
24857
24865
  const Y = (_, se) => {
24858
24866
  t && (il(
@@ -24862,11 +24870,11 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24862
24870
  month: "long",
24863
24871
  year: "numeric"
24864
24872
  }))
24865
- ), t(_, se)), v(!1);
24873
+ ), t(_, se)), w(!1);
24866
24874
  }, ne = () => {
24867
- i || v(!0);
24875
+ i || w(!0);
24868
24876
  }, U = () => {
24869
- i || v((_) => !_);
24877
+ i || w((_) => !_);
24870
24878
  }, F = (_) => {
24871
24879
  _.stopPropagation(), C.current = !0, t(null, _);
24872
24880
  }, N = u`
@@ -24880,7 +24888,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24880
24888
  {
24881
24889
  className: ie,
24882
24890
  "data-testid": s,
24883
- ref: w,
24891
+ ref: v,
24884
24892
  ...y,
24885
24893
  children: [
24886
24894
  /* @__PURE__ */ n(
@@ -24968,7 +24976,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24968
24976
  `, b = u`
24969
24977
  min-width: 24px;
24970
24978
  color: ${a ? f.color.text.disabled : "#8C8C8C"}; // TODO: Needs a design token
24971
- `, w = c && d && !a, x = k(ao, h, a && g);
24979
+ `, v = c && d && !a, x = k(ao, h, a && g);
24972
24980
  return /* @__PURE__ */ m(
24973
24981
  "div",
24974
24982
  {
@@ -24987,7 +24995,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24987
24995
  ...p
24988
24996
  }
24989
24997
  ),
24990
- w ? /* @__PURE__ */ n(
24998
+ v ? /* @__PURE__ */ n(
24991
24999
  Ze,
24992
25000
  {
24993
25001
  type: "button",
@@ -24995,7 +25003,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
24995
25003
  className: y,
24996
25004
  "aria-label": "Clear date",
24997
25005
  "data-testid": `${ao}-icon-button`,
24998
- children: /* @__PURE__ */ n(V.X, { className: b })
25006
+ children: /* @__PURE__ */ n(T.X, { className: b })
24999
25007
  }
25000
25008
  ) : /* @__PURE__ */ n(
25001
25009
  Ze,
@@ -25007,7 +25015,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
25007
25015
  "data-testid": `${ao}-icon-button`,
25008
25016
  tabIndex: -1,
25009
25017
  disabled: a,
25010
- children: /* @__PURE__ */ n(V.Calendar, { className: b })
25018
+ children: /* @__PURE__ */ n(T.Calendar, { className: b })
25011
25019
  }
25012
25020
  )
25013
25021
  ]
@@ -25179,7 +25187,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
25179
25187
  "data-testid": dl,
25180
25188
  children: [
25181
25189
  /* @__PURE__ */ n(
25182
- V.ChevronLeft,
25190
+ T.ChevronLeft,
25183
25191
  {
25184
25192
  className: l,
25185
25193
  onClick: () => t(-1)
@@ -25194,7 +25202,7 @@ const p5 = 100, m5 = 1e3, g5 = (e) => {
25194
25202
  /* @__PURE__ */ n("span", { children: e ? e.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear() })
25195
25203
  ] }),
25196
25204
  /* @__PURE__ */ n(
25197
- V.ChevronRight,
25205
+ T.ChevronRight,
25198
25206
  {
25199
25207
  className: l,
25200
25208
  onClick: () => t(1)
@@ -25539,8 +25547,8 @@ const E5 = ({
25539
25547
  ((A = p.current) == null ? void 0 : A.getTime()) !== e.getTime() && (e.getMonth() !== f.getMonth() || e.getFullYear() !== f.getFullYear()) && h(Go(e)), p.current = e;
25540
25548
  }, [e, f]);
25541
25549
  const b = (A) => {
25542
- const v = new Date(f);
25543
- v.setMonth(v.getMonth() + A), h(Go(v));
25550
+ const w = new Date(f);
25551
+ w.setMonth(w.getMonth() + A), h(Go(w));
25544
25552
  }, x = u`
25545
25553
  display: flex;
25546
25554
  flex-direction: column;
@@ -25612,52 +25620,52 @@ const E5 = ({
25612
25620
  e && isNaN(e.getTime()) && (console.warn("CustomDatepicker: value is invalid, defaulting to null"), e = null);
25613
25621
  function g(q) {
25614
25622
  if (!q) return null;
25615
- const Q = q.split("/");
25616
- if (Q.length !== 3) return null;
25617
- const le = parseInt(Q[0]), de = parseInt(Q[1]) - 1, be = parseInt(Q[2]), ke = new Date(be, de, le);
25623
+ const G = q.split("/");
25624
+ if (G.length !== 3) return null;
25625
+ const le = parseInt(G[0]), de = parseInt(G[1]) - 1, be = parseInt(G[2]), ke = new Date(be, de, le);
25618
25626
  return isNaN(ke.getTime()) ? null : ke;
25619
25627
  }
25620
- function y(q, Q = !0) {
25628
+ function y(q, G = !0) {
25621
25629
  const le = new Date(q);
25622
25630
  le.setHours(0, 0, 0, 0);
25623
- const de = le.getDay(), be = Q ? de === 0 ? -6 : 1 - de : -de, ke = new Date(le);
25631
+ const de = le.getDay(), be = G ? de === 0 ? -6 : 1 - de : -de, ke = new Date(le);
25624
25632
  ke.setDate(le.getDate() + be);
25625
25633
  const fe = new Date(ke);
25626
25634
  return fe.setDate(ke.getDate() + 6), { start: ke, end: fe };
25627
25635
  }
25628
- const b = ae(null), w = p || b, x = ae(null), S = f || x, [C, A] = ce(!1), v = (e == null ? void 0 : e.getDate().toString().padStart(2, "0")) ?? "", I = e ? (e.getMonth() + 1).toString().padStart(2, "0") : "", E = (e == null ? void 0 : e.getFullYear().toString()) ?? "", H = e ? `${v}/${I}/${E}` : "", [z, D] = ce(H), G = We(() => {
25636
+ const b = ae(null), v = p || b, x = ae(null), S = f || x, [C, A] = ce(!1), w = (e == null ? void 0 : e.getDate().toString().padStart(2, "0")) ?? "", I = e ? (e.getMonth() + 1).toString().padStart(2, "0") : "", E = (e == null ? void 0 : e.getFullYear().toString()) ?? "", H = e ? `${w}/${I}/${E}` : "", [z, D] = ce(H), J = We(() => {
25629
25637
  D(H);
25630
25638
  }, [D, H]);
25631
25639
  re(() => {
25632
- G();
25633
- }, [e, G]);
25640
+ J();
25641
+ }, [e, J]);
25634
25642
  const j = (q) => {
25635
25643
  D(q.target.value);
25636
25644
  }, X = (q) => {
25637
- const Q = Oa(z, o, r);
25638
- Q ? t(Q, q) : G();
25645
+ const G = Oa(z, o, r);
25646
+ G ? t(G, q) : J();
25639
25647
  }, oe = (q) => {
25640
- var Q;
25641
- q.key === "Enter" ? X(q) : q.key === "Escape" ? (G(), (Q = S.current) == null || Q.blur(), A(!1)) : q.key === "Tab" && (G(), A(!1));
25648
+ var G;
25649
+ q.key === "Enter" ? X(q) : q.key === "Escape" ? (J(), (G = S.current) == null || G.blur(), A(!1)) : q.key === "Tab" && (J(), A(!1));
25642
25650
  };
25643
25651
  re(() => {
25644
- e && ((Q) => {
25645
- if (!Q) return !1;
25646
- const le = (fe) => (fe.setHours(0, 0, 0, 0), fe), de = o ? le(new Date(o)) : null, be = r ? le(new Date(r)) : null, ke = le(Q);
25652
+ e && ((G) => {
25653
+ if (!G) return !1;
25654
+ const le = (fe) => (fe.setHours(0, 0, 0, 0), fe), de = o ? le(new Date(o)) : null, be = r ? le(new Date(r)) : null, ke = le(G);
25647
25655
  return !!(de && ke < de || be && ke > be);
25648
25656
  })(e) && (console.warn("CustomDatepicker: value is out of range, setting to null"), t(null));
25649
25657
  }, [e, o, r, t]), re(() => {
25650
- const q = (Q) => {
25651
- w.current && !w.current.contains(Q.target) && (A(!1), G());
25658
+ const q = (G) => {
25659
+ v.current && !v.current.contains(G.target) && (A(!1), J());
25652
25660
  };
25653
25661
  return document.addEventListener("mousedown", q), () => {
25654
25662
  document.removeEventListener("mousedown", q);
25655
25663
  };
25656
- }, [w, A, G]), re(() => {
25664
+ }, [v, A, J]), re(() => {
25657
25665
  i && C && A(!1);
25658
25666
  }, [i, C]);
25659
- const Z = (q, Q) => {
25660
- t && t(q, Q), A(!1);
25667
+ const Z = (q, G) => {
25668
+ t && t(q, G), A(!1);
25661
25669
  }, Y = () => {
25662
25670
  i || A(!0);
25663
25671
  }, ne = () => {
@@ -25673,8 +25681,8 @@ const E5 = ({
25673
25681
  let _ = null;
25674
25682
  if (N)
25675
25683
  for (let q = 0; q < c.length; q++) {
25676
- const Q = new Date(c[q].start), le = q + 1 < c.length ? new Date(c[q + 1].start) : null;
25677
- if (Q.setHours(0, 0, 0, 0), le && le.setHours(0, 0, 0, 0), N >= Q && (!le || N < le)) {
25684
+ const G = new Date(c[q].start), le = q + 1 < c.length ? new Date(c[q + 1].start) : null;
25685
+ if (G.setHours(0, 0, 0, 0), le && le.setHours(0, 0, 0, 0), N >= G && (!le || N < le)) {
25678
25686
  _ = c[q].number;
25679
25687
  break;
25680
25688
  }
@@ -25693,7 +25701,7 @@ const E5 = ({
25693
25701
  {
25694
25702
  className: F,
25695
25703
  "data-testid": d,
25696
- ref: w,
25704
+ ref: v,
25697
25705
  ...h,
25698
25706
  children: [
25699
25707
  /* @__PURE__ */ n(
@@ -25702,7 +25710,7 @@ const E5 = ({
25702
25710
  onClick: se,
25703
25711
  disabled: i,
25704
25712
  "aria-label": "Go to previous week",
25705
- children: /* @__PURE__ */ n(V.ChevronLeft, {})
25713
+ children: /* @__PURE__ */ n(T.ChevronLeft, {})
25706
25714
  }
25707
25715
  ),
25708
25716
  /* @__PURE__ */ n(
@@ -25726,7 +25734,7 @@ const E5 = ({
25726
25734
  onClick: Se,
25727
25735
  disabled: i,
25728
25736
  "aria-label": "Go to next week",
25729
- children: /* @__PURE__ */ n(V.ChevronRight, {})
25737
+ children: /* @__PURE__ */ n(T.ChevronRight, {})
25730
25738
  }
25731
25739
  ),
25732
25740
  C && /* @__PURE__ */ n(qa, { children: /* @__PURE__ */ n(
@@ -25803,7 +25811,7 @@ const E5 = ({
25803
25811
  onClick: i,
25804
25812
  className: g,
25805
25813
  children: /* @__PURE__ */ n(
25806
- V.Calendar,
25814
+ T.Calendar,
25807
25815
  {
25808
25816
  className: y,
25809
25817
  size: 16
@@ -25879,11 +25887,11 @@ const E5 = ({
25879
25887
  `, y = k(wl, h, i && g), b = (C) => new Date(C).toLocaleDateString("en-GB", {
25880
25888
  day: "2-digit",
25881
25889
  month: "short"
25882
- }), w = (C) => new Date(C).toLocaleDateString("en-GB", {
25890
+ }), v = (C) => new Date(C).toLocaleDateString("en-GB", {
25883
25891
  day: "2-digit",
25884
25892
  month: "short",
25885
25893
  year: "numeric"
25886
- }), x = l && a ? `${b(l)} - ${w(a)}` : "";
25894
+ }), x = l && a ? `${b(l)} - ${v(a)}` : "";
25887
25895
  return /* @__PURE__ */ n(
25888
25896
  "input",
25889
25897
  {
@@ -25953,7 +25961,7 @@ const E5 = ({
25953
25961
  htmlFor: `file-input-${o}`,
25954
25962
  className: d,
25955
25963
  children: [
25956
- /* @__PURE__ */ n(V.Upload, {}),
25964
+ /* @__PURE__ */ n(T.Upload, {}),
25957
25965
  t
25958
25966
  ]
25959
25967
  }
@@ -26009,8 +26017,8 @@ const E5 = ({
26009
26017
  console.error("Invalid time values:", { hours: y, minutes: b });
26010
26018
  return;
26011
26019
  }
26012
- const w = t ? new Date(t) : /* @__PURE__ */ new Date();
26013
- w.setHours(y, b, 0, 0), r && r(w, s);
26020
+ const v = t ? new Date(t) : /* @__PURE__ */ new Date();
26021
+ v.setHours(y, b, 0, 0), r && r(v, s);
26014
26022
  };
26015
26023
  return /* @__PURE__ */ n(
26016
26024
  "input",
@@ -26098,7 +26106,7 @@ const E5 = ({
26098
26106
  target: "_blank",
26099
26107
  children: [
26100
26108
  "Cookies policy ",
26101
- /* @__PURE__ */ n(V.ExternalLink, { className: y })
26109
+ /* @__PURE__ */ n(T.ExternalLink, { className: y })
26102
26110
  ]
26103
26111
  }
26104
26112
  )
@@ -26123,10 +26131,10 @@ const E5 = ({
26123
26131
  inputProps: g,
26124
26132
  clearButtonProps: y,
26125
26133
  submitButtonProps: b,
26126
- className: w,
26134
+ className: v,
26127
26135
  ...x
26128
26136
  }) => {
26129
- const [S, C] = ce(""), A = ae(null), [v] = L(), I = (N) => {
26137
+ const [S, C] = ce(""), A = ae(null), [w] = L(), I = (N) => {
26130
26138
  C(N.target.value);
26131
26139
  }, E = () => {
26132
26140
  var N;
@@ -26137,12 +26145,12 @@ const E5 = ({
26137
26145
  N.key === "Enter" && H();
26138
26146
  }, D = () => {
26139
26147
  H();
26140
- }, G = u`
26148
+ }, J = u`
26141
26149
  position: relative;
26142
26150
  height: 48px;
26143
26151
  `, j = k(
26144
26152
  Al,
26145
- G,
26153
+ J,
26146
26154
  Ie(
26147
26155
  {
26148
26156
  m: l,
@@ -26154,9 +26162,9 @@ const E5 = ({
26154
26162
  mr: f,
26155
26163
  noMargins: h
26156
26164
  },
26157
- v
26165
+ w
26158
26166
  ),
26159
- w
26167
+ v
26160
26168
  ), X = u`
26161
26169
  width: 100%;
26162
26170
  box-sizing: border-box;
@@ -26170,17 +26178,17 @@ const E5 = ({
26170
26178
  justify-content: flex-end;
26171
26179
  align-items: center;
26172
26180
  `, Z = u`
26173
- margin-left: ${v.margin.m12};
26174
- margin-right: ${v.margin.m12};
26181
+ margin-left: ${w.margin.m12};
26182
+ margin-right: ${w.margin.m12};
26175
26183
  `, Y = u`
26176
- color: ${v.color.neutral.grey20};
26184
+ color: ${w.color.neutral.grey20};
26177
26185
  `, ne = k(
26178
26186
  Z,
26179
26187
  S.length === 0 && Y
26180
26188
  ), U = u`
26181
26189
  width: 1px;
26182
26190
  height: 38px;
26183
- background-color: ${v.color.neutral.grey20};
26191
+ background-color: ${w.color.neutral.grey20};
26184
26192
  `, F = u`
26185
26193
  width: 48px;
26186
26194
  height: 100%;
@@ -26216,7 +26224,7 @@ const E5 = ({
26216
26224
  "aria-label": "Clear search",
26217
26225
  "data-testid": `${t}-clear-search-btn`,
26218
26226
  ...y,
26219
- children: /* @__PURE__ */ n(V.X, {})
26227
+ children: /* @__PURE__ */ n(T.X, {})
26220
26228
  }
26221
26229
  ),
26222
26230
  /* @__PURE__ */ n("div", { className: U }),
@@ -26229,7 +26237,7 @@ const E5 = ({
26229
26237
  "aria-label": "Search",
26230
26238
  "data-testid": `${t}-search-btn`,
26231
26239
  ...b,
26232
- children: /* @__PURE__ */ n(V.Search, {})
26240
+ children: /* @__PURE__ */ n(T.Search, {})
26233
26241
  }
26234
26242
  )
26235
26243
  ] })
@@ -26268,20 +26276,20 @@ const E5 = ({
26268
26276
  id: p,
26269
26277
  ...f
26270
26278
  }) => {
26271
- const [h] = L(), { isOpen: g, contentRef: y, contentId: b, triggerRef: w } = Qt(), [x, S] = ce(
26279
+ const [h] = L(), { isOpen: g, contentRef: y, contentId: b, triggerRef: v } = Qt(), [x, S] = ce(
26272
26280
  void 0
26273
- ), [C, A] = ce(0), v = ft(
26281
+ ), [C, A] = ce(0), w = ft(
26274
26282
  `(min-width: ${h.breakpoints.tablet}px)`
26275
26283
  ), I = l === "drawer", E = ae(g);
26276
26284
  re(() => {
26277
26285
  const q = E.current;
26278
26286
  if (E.current = g, g || !q) return;
26279
- const Q = y.current;
26280
- if (!Q) return;
26287
+ const G = y.current;
26288
+ if (!G) return;
26281
26289
  const le = () => {
26282
26290
  [
26283
- Q,
26284
- ...Array.from(Q.querySelectorAll("*"))
26291
+ G,
26292
+ ...Array.from(G.querySelectorAll("*"))
26285
26293
  ].forEach((te) => {
26286
26294
  te.scrollTop = 0, te.scrollLeft = 0;
26287
26295
  });
@@ -26293,33 +26301,33 @@ const E5 = ({
26293
26301
  let de = !1;
26294
26302
  const be = () => {
26295
26303
  de || (de = !0, le());
26296
- }, ke = (T) => {
26297
- T.target !== Q || T.propertyName !== "transform" || be();
26304
+ }, ke = (R) => {
26305
+ R.target !== G || R.propertyName !== "transform" || be();
26298
26306
  };
26299
- Q.addEventListener("transitionend", ke);
26307
+ G.addEventListener("transitionend", ke);
26300
26308
  const fe = window.setTimeout(be, so);
26301
26309
  return () => {
26302
- Q.removeEventListener("transitionend", ke), window.clearTimeout(fe);
26310
+ G.removeEventListener("transitionend", ke), window.clearTimeout(fe);
26303
26311
  };
26304
26312
  }, [y, I, g]), re(() => {
26305
- if (typeof document > "u" || v || !g) return;
26313
+ if (typeof document > "u" || w || !g) return;
26306
26314
  const q = y.current;
26307
26315
  if (!q) return;
26308
- const { body: Q } = document, le = Q.style.overflow, be = Array.from(Q.children).filter(
26316
+ const { body: G } = document, le = G.style.overflow, be = Array.from(G.children).filter(
26309
26317
  (te) => te !== q
26310
26318
  ).map((te) => ({
26311
26319
  element: te,
26312
26320
  ariaHidden: te.getAttribute("aria-hidden"),
26313
26321
  inert: te.inert
26314
26322
  }));
26315
- Q.style.overflow = "hidden", be.forEach(({ element: te }) => {
26323
+ G.style.overflow = "hidden", be.forEach(({ element: te }) => {
26316
26324
  te.setAttribute("aria-hidden", "true"), te.inert = !0;
26317
26325
  });
26318
26326
  const ke = () => Array.from(
26319
26327
  q.querySelectorAll(Ml)
26320
26328
  ).filter((te) => !te.hasAttribute("disabled")), fe = ke();
26321
26329
  fe.length > 0 ? fe[0].focus() : q.focus();
26322
- const T = (te) => {
26330
+ const R = (te) => {
26323
26331
  if (te.key !== "Tab") return;
26324
26332
  const He = ke();
26325
26333
  if (He.length === 0) {
@@ -26329,16 +26337,16 @@ const E5 = ({
26329
26337
  const Ve = He[0], Xt = He[He.length - 1], $t = document.activeElement;
26330
26338
  te.shiftKey && $t === Ve ? (te.preventDefault(), Xt.focus()) : !te.shiftKey && $t === Xt && (te.preventDefault(), Ve.focus());
26331
26339
  };
26332
- return document.addEventListener("keydown", T), () => {
26333
- Q.style.overflow = le, be.forEach(({ element: te, ariaHidden: He, inert: Ve }) => {
26340
+ return document.addEventListener("keydown", R), () => {
26341
+ G.style.overflow = le, be.forEach(({ element: te, ariaHidden: He, inert: Ve }) => {
26334
26342
  He === null ? te.removeAttribute("aria-hidden") : te.setAttribute("aria-hidden", He), te.inert = Ve;
26335
- }), document.removeEventListener("keydown", T);
26343
+ }), document.removeEventListener("keydown", R);
26336
26344
  };
26337
- }, [y, g, v]), re(() => {
26338
- if (typeof document > "u" || !I || !v || !g) return;
26345
+ }, [y, g, w]), re(() => {
26346
+ if (typeof document > "u" || !I || !w || !g) return;
26339
26347
  const q = y.current;
26340
26348
  if (!q) return;
26341
- const Q = w.current, le = (a == null ? void 0 : a.current) ?? (Q == null ? void 0 : Q.closest(c)), de = le ? [le] : [Q, q].filter(
26349
+ const G = v.current, le = (a == null ? void 0 : a.current) ?? (G == null ? void 0 : G.closest(c)), de = le ? [le] : [G, q].filter(
26342
26350
  (fe) => !!fe
26343
26351
  ), be = () => Array.from(
26344
26352
  new Set(
@@ -26350,13 +26358,13 @@ const E5 = ({
26350
26358
  )
26351
26359
  ).filter((fe) => !fe.hasAttribute("disabled")), ke = (fe) => {
26352
26360
  if (fe.key !== "Tab") return;
26353
- const T = be();
26354
- if (T.length === 0) {
26361
+ const R = be();
26362
+ if (R.length === 0) {
26355
26363
  fe.preventDefault(), q.focus();
26356
26364
  return;
26357
26365
  }
26358
- const te = T[0], He = T[T.length - 1], Ve = document.activeElement;
26359
- if (!Ve || !T.includes(Ve)) {
26366
+ const te = R[0], He = R[R.length - 1], Ve = document.activeElement;
26367
+ if (!Ve || !R.includes(Ve)) {
26360
26368
  fe.preventDefault(), te.focus();
26361
26369
  return;
26362
26370
  }
@@ -26371,40 +26379,40 @@ const E5 = ({
26371
26379
  c,
26372
26380
  I,
26373
26381
  g,
26374
- v,
26375
- w
26382
+ w,
26383
+ v
26376
26384
  ]), re(() => {
26377
26385
  if (typeof window > "u") return;
26378
- if (!v || !g || I) {
26386
+ if (!w || !g || I) {
26379
26387
  S(void 0);
26380
26388
  return;
26381
26389
  }
26382
26390
  const q = () => {
26383
26391
  var le;
26384
- const Q = ((le = y.current) == null ? void 0 : le.getBoundingClientRect().top) ?? 0;
26392
+ const G = ((le = y.current) == null ? void 0 : le.getBoundingClientRect().top) ?? 0;
26385
26393
  S(
26386
- Math.max(window.innerHeight - Q - P5, 0)
26394
+ Math.max(window.innerHeight - G - P5, 0)
26387
26395
  );
26388
26396
  };
26389
26397
  return q(), window.addEventListener("resize", q), () => {
26390
26398
  window.removeEventListener("resize", q);
26391
26399
  };
26392
- }, [y, I, g, v]), re(() => {
26400
+ }, [y, I, g, w]), re(() => {
26393
26401
  if (typeof window > "u" || !I || !g || t !== void 0) return;
26394
- const Q = (() => {
26402
+ const G = (() => {
26395
26403
  if (a != null && a.current)
26396
26404
  return a.current;
26397
- const be = w.current;
26405
+ const be = v.current;
26398
26406
  return (be == null ? void 0 : be.closest(
26399
26407
  c
26400
26408
  )) ?? document.querySelector(c);
26401
26409
  })(), le = () => {
26402
- const be = (Q == null ? void 0 : Q.getBoundingClientRect().bottom) ?? 0;
26410
+ const be = (G == null ? void 0 : G.getBoundingClientRect().bottom) ?? 0;
26403
26411
  A(Math.max(be, 0));
26404
26412
  };
26405
26413
  le(), window.addEventListener("resize", le), window.addEventListener("scroll", le, !0);
26406
26414
  const de = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(le);
26407
- return Q && (de == null || de.observe(Q)), () => {
26415
+ return G && (de == null || de.observe(G)), () => {
26408
26416
  window.removeEventListener("resize", le), window.removeEventListener("scroll", le, !0), de == null || de.disconnect();
26409
26417
  };
26410
26418
  }, [
@@ -26413,9 +26421,9 @@ const E5 = ({
26413
26421
  I,
26414
26422
  g,
26415
26423
  t,
26416
- w
26424
+ v
26417
26425
  ]);
26418
- const H = t === void 0 ? `${C}px` : Ko(t), z = Ko(o), D = r === void 0 ? `calc(100dvh - ${H} - ${z})` : Ko(r), G = u`
26426
+ const H = t === void 0 ? `${C}px` : Ko(t), z = Ko(o), D = r === void 0 ? `calc(100dvh - ${H} - ${z})` : Ko(r), J = u`
26419
26427
  display: none;
26420
26428
  z-index: 9999;
26421
26429
  position: fixed;
@@ -26504,7 +26512,7 @@ const E5 = ({
26504
26512
  transition: transform ${so}ms ease-out;
26505
26513
  `, F = k(
26506
26514
  Cl,
26507
- G,
26515
+ J,
26508
26516
  I && j,
26509
26517
  !I && t !== void 0 && X,
26510
26518
  i === "left" && (I ? Z : oe),
@@ -26529,16 +26537,16 @@ const E5 = ({
26529
26537
  max-height: ${x}px;
26530
26538
  `, se = k(
26531
26539
  N,
26532
- !I && v && x !== void 0 && ie,
26540
+ !I && w && x !== void 0 && ie,
26533
26541
  d
26534
26542
  ), Se = /* @__PURE__ */ n(
26535
26543
  "div",
26536
26544
  {
26537
26545
  ref: y,
26538
26546
  className: F,
26539
- tabIndex: v ? void 0 : -1,
26540
- role: v ? void 0 : "dialog",
26541
- "aria-modal": v ? void 0 : !0,
26547
+ tabIndex: w ? void 0 : -1,
26548
+ role: w ? void 0 : "dialog",
26549
+ "aria-modal": w ? void 0 : !0,
26542
26550
  "aria-hidden": !g,
26543
26551
  children: /* @__PURE__ */ n(
26544
26552
  "div",
@@ -26552,7 +26560,7 @@ const E5 = ({
26552
26560
  )
26553
26561
  }
26554
26562
  );
26555
- return v ? Se : Wo.createPortal(Se, document.body);
26563
+ return w ? Se : Wo.createPortal(Se, document.body);
26556
26564
  }, Y5 = P(j5), Ll = "ucl-uikit-dropdown", J5 = ({
26557
26565
  testId: e = Ll,
26558
26566
  className: t,
@@ -26562,9 +26570,9 @@ const E5 = ({
26562
26570
  const [i] = L(), { isOpen: l, setIsOpen: a, triggerRef: c, contentRef: d } = Qt(), s = ae(l);
26563
26571
  re(() => {
26564
26572
  const h = (y) => {
26565
- var w, x;
26573
+ var v, x;
26566
26574
  const b = y.target;
26567
- (w = c.current) != null && w.contains(b) || (x = d.current) != null && x.contains(b) || a(!1);
26575
+ (v = c.current) != null && v.contains(b) || (x = d.current) != null && x.contains(b) || a(!1);
26568
26576
  }, g = (y) => {
26569
26577
  y.key === "Escape" && a(!1);
26570
26578
  };
@@ -26601,13 +26609,13 @@ const ja = ({
26601
26609
  ...l
26602
26610
  }) => {
26603
26611
  const a = !!l["aria-expanded"], c = a ? r : o, d = a ? /* @__PURE__ */ n(
26604
- V.X,
26612
+ T.X,
26605
26613
  {
26606
26614
  title: "Close menu",
26607
26615
  testId: "ucl-uikit-dropdown-menu__icon-close"
26608
26616
  }
26609
26617
  ) : /* @__PURE__ */ n(
26610
- V.Menu2,
26618
+ T.Menu2,
26611
26619
  {
26612
26620
  title: "Open menu",
26613
26621
  testId: "ucl-uikit-dropdown-menu__icon-open"
@@ -26671,7 +26679,7 @@ const ja = ({
26671
26679
  box-shadow: ${p.boxShadow.y1};
26672
26680
  border-radius: ${p.radius.r4};
26673
26681
  }
26674
- `, w = k(b, c);
26682
+ `, v = k(b, c);
26675
26683
  return /* @__PURE__ */ m(
26676
26684
  Ke,
26677
26685
  {
@@ -26691,7 +26699,7 @@ const ja = ({
26691
26699
  /* @__PURE__ */ n(
26692
26700
  Ke.Content,
26693
26701
  {
26694
- className: w,
26702
+ className: v,
26695
26703
  align: e,
26696
26704
  children: /* @__PURE__ */ n(K5, { children: t })
26697
26705
  }
@@ -26719,7 +26727,7 @@ const ja = ({
26719
26727
  className: g,
26720
26728
  ...y
26721
26729
  }) => {
26722
- const [b] = L(), w = ft(
26730
+ const [b] = L(), v = ft(
26723
26731
  `(min-width: ${b.breakpoints.desktop}px)`
26724
26732
  ), x = u`
26725
26733
  color: ${b.colour.text.brandPrimary};
@@ -26737,7 +26745,7 @@ const ja = ({
26737
26745
  width: 460px;
26738
26746
  border-left: ${b.border.b1} solid ${b.colour.border.default};
26739
26747
  }
26740
- `, v = k(A, h);
26748
+ `, w = k(A, h);
26741
26749
  return /* @__PURE__ */ m(
26742
26750
  Ke,
26743
26751
  {
@@ -26747,7 +26755,7 @@ const ja = ({
26747
26755
  /* @__PURE__ */ n(Ke.Trigger, { children: /* @__PURE__ */ n(
26748
26756
  X5,
26749
26757
  {
26750
- isDesktop: w,
26758
+ isDesktop: v,
26751
26759
  label: c,
26752
26760
  triggerAriaLabelCollapsed: d,
26753
26761
  triggerAriaLabelExpanded: s,
@@ -26757,7 +26765,7 @@ const ja = ({
26757
26765
  /* @__PURE__ */ n(
26758
26766
  Ke.Content,
26759
26767
  {
26760
- className: v,
26768
+ className: w,
26761
26769
  align: l,
26762
26770
  variant: "drawer",
26763
26771
  topPx: e,
@@ -26810,7 +26818,7 @@ const ja = ({
26810
26818
  @media screen and (min-width: ${s.breakpoints.desktop}px) {
26811
26819
  inset: ${Ca}px auto 0 0;
26812
26820
  }
26813
- `, w = u`
26821
+ `, v = u`
26814
26822
  width: 64px;
26815
26823
  padding: ${s.padding.p16} ${s.padding.p8};
26816
26824
 
@@ -26843,7 +26851,7 @@ const ja = ({
26843
26851
  justify-content: flex-end;
26844
26852
  `, A = u`
26845
26853
  justify-content: center;
26846
- `, v = u`
26854
+ `, w = u`
26847
26855
  width: 32px;
26848
26856
  height: 32px;
26849
26857
  border-radius: 4px;
@@ -26856,7 +26864,7 @@ const ja = ({
26856
26864
  background-color: ${s.colour.fill.brandSubtleHover};
26857
26865
  color: ${s.colour.icon.brandHover};
26858
26866
  }
26859
- `, I = k(Il, b, g && w, a), E = k(x, g && S), H = k(C, g && A), z = tx(
26867
+ `, I = k(Il, b, g && v, a), E = k(x, g && S), H = k(C, g && A), z = tx(
26860
26868
  dt.only(c),
26861
26869
  {
26862
26870
  collapsed: g,
@@ -26877,20 +26885,20 @@ const ja = ({
26877
26885
  Ze,
26878
26886
  {
26879
26887
  type: "button",
26880
- className: v,
26888
+ className: w,
26881
26889
  "aria-controls": p,
26882
26890
  "aria-expanded": !g,
26883
26891
  "aria-label": g ? l : i,
26884
26892
  onClick: y,
26885
26893
  children: g ? /* @__PURE__ */ n(
26886
- V.ChevronsRight,
26894
+ T.ChevronsRight,
26887
26895
  {
26888
26896
  size: 20,
26889
26897
  "aria-hidden": "true",
26890
26898
  focusable: "false"
26891
26899
  }
26892
26900
  ) : /* @__PURE__ */ n(
26893
- V.ChevronsLeft,
26901
+ T.ChevronsLeft,
26894
26902
  {
26895
26903
  size: 20,
26896
26904
  "aria-hidden": "true",
@@ -26942,7 +26950,7 @@ const ja = ({
26942
26950
  &:focus-visible {
26943
26951
  box-shadow: ${g.boxShadow.focus};
26944
26952
  }
26945
- `, w = u`
26953
+ `, v = u`
26946
26954
  font-family: ${g.typography.body.md.fontFamily};
26947
26955
  font-feature-settings: ${g.typography.body.md.fontSettings};
26948
26956
  font-size: ${g.typography.body.md.fontSize}px;
@@ -26962,7 +26970,7 @@ const ja = ({
26962
26970
  b,
26963
26971
  f,
26964
26972
  c
26965
- ), v = k(w, p), I = k(x, s), E = k(S, d);
26973
+ ), w = k(v, p), I = k(x, s), E = k(S, d);
26966
26974
  return /* @__PURE__ */ m(
26967
26975
  Ke,
26968
26976
  {
@@ -26977,7 +26985,7 @@ const ja = ({
26977
26985
  "aria-label": l,
26978
26986
  className: A,
26979
26987
  children: [
26980
- y ? /* @__PURE__ */ n("span", { className: v, children: t }) : null,
26988
+ y ? /* @__PURE__ */ n("span", { className: w, children: t }) : null,
26981
26989
  /* @__PURE__ */ n(
26982
26990
  Q3,
26983
26991
  {
@@ -26990,7 +26998,7 @@ const ja = ({
26990
26998
  size: i
26991
26999
  }
26992
27000
  ),
26993
- /* @__PURE__ */ n(V.ChevronDown, { size: 20 })
27001
+ /* @__PURE__ */ n(T.ChevronDown, { size: 20 })
26994
27002
  ]
26995
27003
  }
26996
27004
  ) }),
@@ -27095,7 +27103,7 @@ export {
27095
27103
  La as HeaderNew,
27096
27104
  pa as Heading,
27097
27105
  pa as HeadingNew,
27098
- V as Icon,
27106
+ T as Icon,
27099
27107
  Ze as IconButton,
27100
27108
  gb as Input,
27101
27109
  ha as Label,