@espresso-lab/mantine-data-table 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -807,7 +807,7 @@ function Iy() {
807
807
  return Error("react-stack-top-frame");
808
808
  }
809
809
  function g(h) {
810
- if (Ce.call(h, "key")) {
810
+ if (Se.call(h, "key")) {
811
811
  var m = Object.getOwnPropertyDescriptor(h, "key").get;
812
812
  if (m && m.isReactWarning) return !1;
813
813
  }
@@ -876,7 +876,7 @@ function Iy() {
876
876
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
877
877
  );
878
878
  else N(J);
879
- if (Ce.call(m, "key")) {
879
+ if (Se.call(m, "key")) {
880
880
  J = i(h);
881
881
  var _e = Object.keys(m).filter(function(ge) {
882
882
  return ge !== "key";
@@ -916,7 +916,7 @@ React keys must be passed directly to JSX without using spread:
916
916
  function N(h) {
917
917
  typeof h == "object" && h !== null && h.$$typeof === L && h._store && (h._store.validated = 1);
918
918
  }
919
- var M = ui, L = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), oe = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), se = Symbol.for("react.context"), ue = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), ne = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ce = Object.prototype.hasOwnProperty, De = Array.isArray, $ = console.createTask ? console.createTask : function() {
919
+ var M = ui, L = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), oe = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), se = Symbol.for("react.context"), ue = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), ne = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Se = Object.prototype.hasOwnProperty, De = Array.isArray, $ = console.createTask ? console.createTask : function() {
920
920
  return null;
921
921
  };
922
922
  M = {
@@ -1234,7 +1234,7 @@ function Qy() {
1234
1234
  return Error("react-stack-top-frame");
1235
1235
  }
1236
1236
  function g(h) {
1237
- if (Ce.call(h, "key")) {
1237
+ if (Se.call(h, "key")) {
1238
1238
  var m = Object.getOwnPropertyDescriptor(h, "key").get;
1239
1239
  if (m && m.isReactWarning) return !1;
1240
1240
  }
@@ -1303,7 +1303,7 @@ function Qy() {
1303
1303
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1304
1304
  );
1305
1305
  else N(J);
1306
- if (Ce.call(m, "key")) {
1306
+ if (Se.call(m, "key")) {
1307
1307
  J = i(h);
1308
1308
  var _e = Object.keys(m).filter(function(ge) {
1309
1309
  return ge !== "key";
@@ -1343,7 +1343,7 @@ React keys must be passed directly to JSX without using spread:
1343
1343
  function N(h) {
1344
1344
  typeof h == "object" && h !== null && h.$$typeof === L && h._store && (h._store.validated = 1);
1345
1345
  }
1346
- var M = ui, L = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), oe = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), se = Symbol.for("react.context"), ue = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), ne = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ce = Object.prototype.hasOwnProperty, De = Array.isArray, $ = console.createTask ? console.createTask : function() {
1346
+ var M = ui, L = Symbol.for("react.transitional.element"), I = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), oe = Symbol.for("react.profiler"), ae = Symbol.for("react.consumer"), se = Symbol.for("react.context"), ue = Symbol.for("react.forward_ref"), Z = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), he = Symbol.for("react.activity"), fe = Symbol.for("react.client.reference"), ne = M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Se = Object.prototype.hasOwnProperty, De = Array.isArray, $ = console.createTask ? console.createTask : function() {
1347
1347
  return null;
1348
1348
  };
1349
1349
  M = {
@@ -1803,12 +1803,12 @@ function o2() {
1803
1803
  if (c >= _)
1804
1804
  return 1;
1805
1805
  if (c >>>= 0, _ >>>= 0, k >>>= 0, F >>>= 0, this === l) return 0;
1806
- for (var ee = F - k, Se = _ - c, be = Math.min(ee, Se), Re = this.slice(k, F), ve = l.slice(c, _), Pe = 0; Pe < be; ++Pe)
1806
+ for (var ee = F - k, Ce = _ - c, be = Math.min(ee, Ce), Re = this.slice(k, F), ve = l.slice(c, _), Pe = 0; Pe < be; ++Pe)
1807
1807
  if (Re[Pe] !== ve[Pe]) {
1808
- ee = Re[Pe], Se = ve[Pe];
1808
+ ee = Re[Pe], Ce = ve[Pe];
1809
1809
  break;
1810
1810
  }
1811
- return ee < Se ? -1 : Se < ee ? 1 : 0;
1811
+ return ee < Ce ? -1 : Ce < ee ? 1 : 0;
1812
1812
  };
1813
1813
  function Z(l, c, _, k, F) {
1814
1814
  if (l.length === 0) return -1;
@@ -1825,11 +1825,11 @@ function o2() {
1825
1825
  throw new TypeError("val must be string, number or Buffer");
1826
1826
  }
1827
1827
  function te(l, c, _, k, F) {
1828
- var ee = 1, Se = l.length, be = c.length;
1828
+ var ee = 1, Ce = l.length, be = c.length;
1829
1829
  if (k !== void 0 && (k = String(k).toLowerCase(), k === "ucs2" || k === "ucs-2" || k === "utf16le" || k === "utf-16le")) {
1830
1830
  if (l.length < 2 || c.length < 2)
1831
1831
  return -1;
1832
- ee = 2, Se /= 2, be /= 2, _ /= 2;
1832
+ ee = 2, Ce /= 2, be /= 2, _ /= 2;
1833
1833
  }
1834
1834
  function Re(Qe, Ke) {
1835
1835
  return ee === 1 ? Qe[Ke] : Qe.readUInt16BE(Ke * ee);
@@ -1837,13 +1837,13 @@ function o2() {
1837
1837
  var ve;
1838
1838
  if (F) {
1839
1839
  var Pe = -1;
1840
- for (ve = _; ve < Se; ve++)
1840
+ for (ve = _; ve < Ce; ve++)
1841
1841
  if (Re(l, ve) === Re(c, Pe === -1 ? 0 : ve - Pe)) {
1842
1842
  if (Pe === -1 && (Pe = ve), ve - Pe + 1 === be) return Pe * ee;
1843
1843
  } else
1844
1844
  Pe !== -1 && (ve -= ve - Pe), Pe = -1;
1845
1845
  } else
1846
- for (_ + be > Se && (_ = Se - be), ve = _; ve >= 0; ve--) {
1846
+ for (_ + be > Ce && (_ = Ce - be), ve = _; ve >= 0; ve--) {
1847
1847
  for (var Le = !0, Te = 0; Te < be; Te++)
1848
1848
  if (Re(l, ve + Te) !== Re(c, Te)) {
1849
1849
  Le = !1;
@@ -1867,12 +1867,12 @@ function o2() {
1867
1867
  var ee = c.length;
1868
1868
  if (ee % 2 !== 0) throw new TypeError("Invalid hex string");
1869
1869
  k > ee / 2 && (k = ee / 2);
1870
- for (var Se = 0; Se < k; ++Se) {
1871
- var be = parseInt(c.substr(Se * 2, 2), 16);
1872
- if (isNaN(be)) return Se;
1873
- l[_ + Se] = be;
1870
+ for (var Ce = 0; Ce < k; ++Ce) {
1871
+ var be = parseInt(c.substr(Ce * 2, 2), 16);
1872
+ if (isNaN(be)) return Ce;
1873
+ l[_ + Ce] = be;
1874
1874
  }
1875
- return Se;
1875
+ return Ce;
1876
1876
  }
1877
1877
  function G(l, c, _, k) {
1878
1878
  return X(B(c, l.length - _), l, _, k);
@@ -1886,7 +1886,7 @@ function o2() {
1886
1886
  function ne(l, c, _, k) {
1887
1887
  return X(V(c), l, _, k);
1888
1888
  }
1889
- function Ce(l, c, _, k) {
1889
+ function Se(l, c, _, k) {
1890
1890
  return X(W(c, l.length - _), l, _, k);
1891
1891
  }
1892
1892
  d.prototype.write = function(l, c, _, k) {
@@ -1922,7 +1922,7 @@ function o2() {
1922
1922
  case "ucs-2":
1923
1923
  case "utf16le":
1924
1924
  case "utf-16le":
1925
- return Ce(this, l, c, _);
1925
+ return Se(this, l, c, _);
1926
1926
  default:
1927
1927
  if (ee) throw new TypeError("Unknown encoding: " + k);
1928
1928
  k = ("" + k).toLowerCase(), ee = !0;
@@ -1939,24 +1939,24 @@ function o2() {
1939
1939
  function $(l, c, _) {
1940
1940
  _ = Math.min(l.length, _);
1941
1941
  for (var k = [], F = c; F < _; ) {
1942
- var ee = l[F], Se = null, be = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1;
1942
+ var ee = l[F], Ce = null, be = ee > 239 ? 4 : ee > 223 ? 3 : ee > 191 ? 2 : 1;
1943
1943
  if (F + be <= _) {
1944
1944
  var Re, ve, Pe, Le;
1945
1945
  switch (be) {
1946
1946
  case 1:
1947
- ee < 128 && (Se = ee);
1947
+ ee < 128 && (Ce = ee);
1948
1948
  break;
1949
1949
  case 2:
1950
- Re = l[F + 1], (Re & 192) === 128 && (Le = (ee & 31) << 6 | Re & 63, Le > 127 && (Se = Le));
1950
+ Re = l[F + 1], (Re & 192) === 128 && (Le = (ee & 31) << 6 | Re & 63, Le > 127 && (Ce = Le));
1951
1951
  break;
1952
1952
  case 3:
1953
- Re = l[F + 1], ve = l[F + 2], (Re & 192) === 128 && (ve & 192) === 128 && (Le = (ee & 15) << 12 | (Re & 63) << 6 | ve & 63, Le > 2047 && (Le < 55296 || Le > 57343) && (Se = Le));
1953
+ Re = l[F + 1], ve = l[F + 2], (Re & 192) === 128 && (ve & 192) === 128 && (Le = (ee & 15) << 12 | (Re & 63) << 6 | ve & 63, Le > 2047 && (Le < 55296 || Le > 57343) && (Ce = Le));
1954
1954
  break;
1955
1955
  case 4:
1956
- Re = l[F + 1], ve = l[F + 2], Pe = l[F + 3], (Re & 192) === 128 && (ve & 192) === 128 && (Pe & 192) === 128 && (Le = (ee & 15) << 18 | (Re & 63) << 12 | (ve & 63) << 6 | Pe & 63, Le > 65535 && Le < 1114112 && (Se = Le));
1956
+ Re = l[F + 1], ve = l[F + 2], Pe = l[F + 3], (Re & 192) === 128 && (ve & 192) === 128 && (Pe & 192) === 128 && (Le = (ee & 15) << 18 | (Re & 63) << 12 | (ve & 63) << 6 | Pe & 63, Le > 65535 && Le < 1114112 && (Ce = Le));
1957
1957
  }
1958
1958
  }
1959
- Se === null ? (Se = 65533, be = 1) : Se > 65535 && (Se -= 65536, k.push(Se >>> 10 & 1023 | 55296), Se = 56320 | Se & 1023), k.push(Se), F += be;
1959
+ Ce === null ? (Ce = 65533, be = 1) : Ce > 65535 && (Ce -= 65536, k.push(Ce >>> 10 & 1023 | 55296), Ce = 56320 | Ce & 1023), k.push(Ce), F += be;
1960
1960
  }
1961
1961
  return A(k);
1962
1962
  }
@@ -2079,18 +2079,18 @@ function o2() {
2079
2079
  var F = Math.pow(2, 8 * _) - 1;
2080
2080
  C(this, l, c, _, F, 0);
2081
2081
  }
2082
- var ee = 1, Se = 0;
2083
- for (this[c] = l & 255; ++Se < _ && (ee *= 256); )
2084
- this[c + Se] = l / ee & 255;
2082
+ var ee = 1, Ce = 0;
2083
+ for (this[c] = l & 255; ++Ce < _ && (ee *= 256); )
2084
+ this[c + Ce] = l / ee & 255;
2085
2085
  return c + _;
2086
2086
  }, d.prototype.writeUIntBE = function(l, c, _, k) {
2087
2087
  if (l = +l, c = c | 0, _ = _ | 0, !k) {
2088
2088
  var F = Math.pow(2, 8 * _) - 1;
2089
2089
  C(this, l, c, _, F, 0);
2090
2090
  }
2091
- var ee = _ - 1, Se = 1;
2092
- for (this[c + ee] = l & 255; --ee >= 0 && (Se *= 256); )
2093
- this[c + ee] = l / Se & 255;
2091
+ var ee = _ - 1, Ce = 1;
2092
+ for (this[c + ee] = l & 255; --ee >= 0 && (Ce *= 256); )
2093
+ this[c + ee] = l / Ce & 255;
2094
2094
  return c + _;
2095
2095
  }, d.prototype.writeUInt8 = function(l, c, _) {
2096
2096
  return l = +l, c = c | 0, _ || C(this, l, c, 1, 255, 0), d.TYPED_ARRAY_SUPPORT || (l = Math.floor(l)), this[c] = l & 255, c + 1;
@@ -2119,18 +2119,18 @@ function o2() {
2119
2119
  var F = Math.pow(2, 8 * _ - 1);
2120
2120
  C(this, l, c, _, F - 1, -F);
2121
2121
  }
2122
- var ee = 0, Se = 1, be = 0;
2123
- for (this[c] = l & 255; ++ee < _ && (Se *= 256); )
2124
- l < 0 && be === 0 && this[c + ee - 1] !== 0 && (be = 1), this[c + ee] = (l / Se >> 0) - be & 255;
2122
+ var ee = 0, Ce = 1, be = 0;
2123
+ for (this[c] = l & 255; ++ee < _ && (Ce *= 256); )
2124
+ l < 0 && be === 0 && this[c + ee - 1] !== 0 && (be = 1), this[c + ee] = (l / Ce >> 0) - be & 255;
2125
2125
  return c + _;
2126
2126
  }, d.prototype.writeIntBE = function(l, c, _, k) {
2127
2127
  if (l = +l, c = c | 0, !k) {
2128
2128
  var F = Math.pow(2, 8 * _ - 1);
2129
2129
  C(this, l, c, _, F - 1, -F);
2130
2130
  }
2131
- var ee = _ - 1, Se = 1, be = 0;
2132
- for (this[c + ee] = l & 255; --ee >= 0 && (Se *= 256); )
2133
- l < 0 && be === 0 && this[c + ee + 1] !== 0 && (be = 1), this[c + ee] = (l / Se >> 0) - be & 255;
2131
+ var ee = _ - 1, Ce = 1, be = 0;
2132
+ for (this[c + ee] = l & 255; --ee >= 0 && (Ce *= 256); )
2133
+ l < 0 && be === 0 && this[c + ee + 1] !== 0 && (be = 1), this[c + ee] = (l / Ce >> 0) - be & 255;
2134
2134
  return c + _;
2135
2135
  }, d.prototype.writeInt8 = function(l, c, _) {
2136
2136
  return l = +l, c = c | 0, _ || C(this, l, c, 1, 127, -128), d.TYPED_ARRAY_SUPPORT || (l = Math.floor(l)), l < 0 && (l = 255 + l + 1), this[c] = l & 255, c + 1;
@@ -2204,9 +2204,9 @@ function o2() {
2204
2204
  for (ee = c; ee < _; ++ee)
2205
2205
  this[ee] = l;
2206
2206
  else {
2207
- var Se = d.isBuffer(l) ? l : B(new d(l, k).toString()), be = Se.length;
2207
+ var Ce = d.isBuffer(l) ? l : B(new d(l, k).toString()), be = Ce.length;
2208
2208
  for (ee = 0; ee < _ - c; ++ee)
2209
- this[ee + c] = Se[ee % be];
2209
+ this[ee + c] = Ce[ee % be];
2210
2210
  }
2211
2211
  return this;
2212
2212
  };
@@ -2225,13 +2225,13 @@ function o2() {
2225
2225
  }
2226
2226
  function B(l, c) {
2227
2227
  c = c || 1 / 0;
2228
- for (var _, k = l.length, F = null, ee = [], Se = 0; Se < k; ++Se) {
2229
- if (_ = l.charCodeAt(Se), _ > 55295 && _ < 57344) {
2228
+ for (var _, k = l.length, F = null, ee = [], Ce = 0; Ce < k; ++Ce) {
2229
+ if (_ = l.charCodeAt(Ce), _ > 55295 && _ < 57344) {
2230
2230
  if (!F) {
2231
2231
  if (_ > 56319) {
2232
2232
  (c -= 3) > -1 && ee.push(239, 191, 189);
2233
2233
  continue;
2234
- } else if (Se + 1 === k) {
2234
+ } else if (Ce + 1 === k) {
2235
2235
  (c -= 3) > -1 && ee.push(239, 191, 189);
2236
2236
  continue;
2237
2237
  }
@@ -2279,8 +2279,8 @@ function o2() {
2279
2279
  return c;
2280
2280
  }
2281
2281
  function W(l, c) {
2282
- for (var _, k, F, ee = [], Se = 0; Se < l.length && !((c -= 2) < 0); ++Se)
2283
- _ = l.charCodeAt(Se), k = _ >> 8, F = _ % 256, ee.push(F), ee.push(k);
2282
+ for (var _, k, F, ee = [], Ce = 0; Ce < l.length && !((c -= 2) < 0); ++Ce)
2283
+ _ = l.charCodeAt(Ce), k = _ >> 8, F = _ % 256, ee.push(F), ee.push(k);
2284
2284
  return ee;
2285
2285
  }
2286
2286
  function V(l) {
@@ -3520,9 +3520,9 @@ function U_() {
3520
3520
  for (X.getLengthInBits() + 4 <= 8 * c && X.put(0, 4); X.getLengthInBits() % 8 != 0; ) X.putBit(!1);
3521
3521
  for (; !(X.getLengthInBits() >= 8 * c || (X.put(236, 8), X.getLengthInBits() >= 8 * c)); ) X.put(17, 8);
3522
3522
  return function(_, k) {
3523
- for (var F = 0, ee = 0, Se = 0, be = new Array(k.length), Re = new Array(k.length), ve = 0; ve < k.length; ve += 1) {
3523
+ for (var F = 0, ee = 0, Ce = 0, be = new Array(k.length), Re = new Array(k.length), ve = 0; ve < k.length; ve += 1) {
3524
3524
  var Pe = k[ve].dataCount, Le = k[ve].totalCount - Pe;
3525
- ee = Math.max(ee, Pe), Se = Math.max(Se, Le), be[ve] = new Array(Pe);
3525
+ ee = Math.max(ee, Pe), Ce = Math.max(Ce, Le), be[ve] = new Array(Pe);
3526
3526
  for (var Te = 0; Te < be[ve].length; Te += 1) be[ve][Te] = 255 & _.getBuffer()[Te + F];
3527
3527
  F += Pe;
3528
3528
  var Qe = ae.getErrorCorrectPolynomial(Le), Ke = ue(be[ve], Qe.getLength() - 1).mod(Qe);
@@ -3535,7 +3535,7 @@ function U_() {
3535
3535
  for (Te = 0; Te < k.length; Te += 1) Rt += k[Te].totalCount;
3536
3536
  var ht = new Array(Rt), nt = 0;
3537
3537
  for (Te = 0; Te < ee; Te += 1) for (ve = 0; ve < k.length; ve += 1) Te < be[ve].length && (ht[nt] = be[ve][Te], nt += 1);
3538
- for (Te = 0; Te < Se; Te += 1) for (ve = 0; ve < k.length; ve += 1) Te < Re[ve].length && (ht[nt] = Re[ve][Te], nt += 1);
3538
+ for (Te = 0; Te < Ce; Te += 1) for (ve = 0; ve < k.length; ve += 1) Te < Re[ve].length && (ht[nt] = Re[ve][Te], nt += 1);
3539
3539
  return ht;
3540
3540
  }(X, V);
3541
3541
  };
@@ -3649,10 +3649,10 @@ function U_() {
3649
3649
  return Qe % 2 && be > 0 ? nt.substring(0, nt.length - Qe - 1) + Array(Qe + 1).join("▀") : nt.substring(0, nt.length - 1);
3650
3650
  }(K);
3651
3651
  B -= 1, K = K === void 0 ? 2 * B : K;
3652
- var W, V, X, xe, l = C.getModuleCount() * B + 2 * K, c = K, _ = l - K, k = Array(B + 1).join("██"), F = Array(B + 1).join(" "), ee = "", Se = "";
3652
+ var W, V, X, xe, l = C.getModuleCount() * B + 2 * K, c = K, _ = l - K, k = Array(B + 1).join("██"), F = Array(B + 1).join(" "), ee = "", Ce = "";
3653
3653
  for (W = 0; W < l; W += 1) {
3654
- for (X = Math.floor((W - c) / B), Se = "", V = 0; V < l; V += 1) xe = 1, c <= V && V < _ && c <= W && W < _ && C.isDark(X, Math.floor((V - c) / B)) && (xe = 0), Se += xe ? k : F;
3655
- for (X = 0; X < B; X += 1) ee += Se + `
3654
+ for (X = Math.floor((W - c) / B), Ce = "", V = 0; V < l; V += 1) xe = 1, c <= V && V < _ && c <= W && W < _ && C.isDark(X, Math.floor((V - c) / B)) && (xe = 0), Ce += xe ? k : F;
3655
+ for (X = 0; X < B; X += 1) ee += Ce + `
3656
3656
  `;
3657
3657
  }
3658
3658
  return ee.substring(0, ee.length - 1);
@@ -3669,7 +3669,7 @@ function U_() {
3669
3669
  return P;
3670
3670
  } }).default, N.createStringToBytes = function($, P) {
3671
3671
  var A = function() {
3672
- for (var f = Ce($), w = function() {
3672
+ for (var f = Se($), w = function() {
3673
3673
  var ie = f.read();
3674
3674
  if (ie == -1) throw "eof";
3675
3675
  return ie;
@@ -3974,7 +3974,7 @@ function U_() {
3974
3974
  return A + "]";
3975
3975
  } };
3976
3976
  return P;
3977
- }, Ce = function($) {
3977
+ }, Se = function($) {
3978
3978
  var P = $, A = 0, v = 0, f = 0, w = { read: function() {
3979
3979
  for (; f < 8; ) {
3980
3980
  if (A >= P.length) {
@@ -4017,12 +4017,12 @@ function U_() {
4017
4017
  c > 0 && l.writeByte(_);
4018
4018
  } });
4019
4019
  F.write(K, V);
4020
- var ee = 0, Se = String.fromCharCode(J[ee]);
4020
+ var ee = 0, Ce = String.fromCharCode(J[ee]);
4021
4021
  for (ee += 1; ee < J.length; ) {
4022
4022
  var be = String.fromCharCode(J[ee]);
4023
- ee += 1, X.contains(Se + be) ? Se += be : (F.write(X.indexOf(Se), V), X.size() < 4095 && (X.size() == 1 << V && (V += 1), X.add(Se + be)), Se = be);
4023
+ ee += 1, X.contains(Ce + be) ? Ce += be : (F.write(X.indexOf(Ce), V), X.size() < 4095 && (X.size() == 1 << V && (V += 1), X.add(Ce + be)), Ce = be);
4024
4024
  }
4025
- return F.write(X.indexOf(Se), V), F.write(W, V), F.flush(), k.toByteArray();
4025
+ return F.write(X.indexOf(Ce), V), F.write(W, V), F.flush(), k.toByteArray();
4026
4026
  }, ge = function() {
4027
4027
  var B = {}, K = 0, W = { add: function(V) {
4028
4028
  if (W.contains(V)) throw "dup key:" + V;
@@ -4375,24 +4375,24 @@ function U_() {
4375
4375
  const w = this._qr.getModuleCount(), h = Math.min(f.width, f.height) - 2 * f.margin, m = f.shape === oe ? h / Math.sqrt(2) : h, C = this._roundSize(m / w), E = 7 * C, H = 3 * C, ie = this._roundSize((f.width - w * C) / 2), le = this._roundSize((f.height - w * C) / 2);
4376
4376
  [[0, 0, 0], [1, 0, Math.PI / 2], [0, 1, -Math.PI / 2]].forEach(([ye, J, _e]) => {
4377
4377
  var me, ge, B, K, W, V, X, xe, l, c, _, k, F, ee;
4378
- const Se = ie + ye * C * (w - 7), be = le + J * C * (w - 7);
4378
+ const Ce = ie + ye * C * (w - 7), be = le + J * C * (w - 7);
4379
4379
  let Re = this._dotsClipPath, ve = this._dotsClipPath;
4380
- if ((!((me = f.cornersSquareOptions) === null || me === void 0) && me.gradient || !((ge = f.cornersSquareOptions) === null || ge === void 0) && ge.color) && (Re = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), Re.setAttribute("id", `clip-path-corners-square-color-${ye}-${J}-${this._instanceId}`), this._defs.appendChild(Re), this._cornersSquareClipPath = this._cornersDotClipPath = ve = Re, this._createColor({ options: (B = f.cornersSquareOptions) === null || B === void 0 ? void 0 : B.gradient, color: (K = f.cornersSquareOptions) === null || K === void 0 ? void 0 : K.color, additionalRotation: _e, x: Se, y: be, height: E, width: E, name: `corners-square-color-${ye}-${J}-${this._instanceId}` })), ((W = f.cornersSquareOptions) === null || W === void 0 ? void 0 : W.type) && M.includes(f.cornersSquareOptions.type)) {
4380
+ if ((!((me = f.cornersSquareOptions) === null || me === void 0) && me.gradient || !((ge = f.cornersSquareOptions) === null || ge === void 0) && ge.color) && (Re = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), Re.setAttribute("id", `clip-path-corners-square-color-${ye}-${J}-${this._instanceId}`), this._defs.appendChild(Re), this._cornersSquareClipPath = this._cornersDotClipPath = ve = Re, this._createColor({ options: (B = f.cornersSquareOptions) === null || B === void 0 ? void 0 : B.gradient, color: (K = f.cornersSquareOptions) === null || K === void 0 ? void 0 : K.color, additionalRotation: _e, x: Ce, y: be, height: E, width: E, name: `corners-square-color-${ye}-${J}-${this._instanceId}` })), ((W = f.cornersSquareOptions) === null || W === void 0 ? void 0 : W.type) && M.includes(f.cornersSquareOptions.type)) {
4381
4381
  const Pe = new L({ svg: this._element, type: f.cornersSquareOptions.type, window: this._window });
4382
- Pe.draw(Se, be, E, _e), Pe._element && Re && Re.appendChild(Pe._element);
4382
+ Pe.draw(Ce, be, E, _e), Pe._element && Re && Re.appendChild(Pe._element);
4383
4383
  } else {
4384
4384
  const Pe = new R({ svg: this._element, type: ((V = f.cornersSquareOptions) === null || V === void 0 ? void 0 : V.type) || f.dotsOptions.type, window: this._window });
4385
- for (let Le = 0; Le < ae.length; Le++) for (let Te = 0; Te < ae[Le].length; Te++) !((X = ae[Le]) === null || X === void 0) && X[Te] && (Pe.draw(Se + Te * C, be + Le * C, C, (Qe, Ke) => {
4385
+ for (let Le = 0; Le < ae.length; Le++) for (let Te = 0; Te < ae[Le].length; Te++) !((X = ae[Le]) === null || X === void 0) && X[Te] && (Pe.draw(Ce + Te * C, be + Le * C, C, (Qe, Ke) => {
4386
4386
  var tt;
4387
4387
  return !!(!((tt = ae[Le + Ke]) === null || tt === void 0) && tt[Te + Qe]);
4388
4388
  }), Pe._element && Re && Re.appendChild(Pe._element));
4389
4389
  }
4390
- if ((!((xe = f.cornersDotOptions) === null || xe === void 0) && xe.gradient || !((l = f.cornersDotOptions) === null || l === void 0) && l.color) && (ve = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), ve.setAttribute("id", `clip-path-corners-dot-color-${ye}-${J}-${this._instanceId}`), this._defs.appendChild(ve), this._cornersDotClipPath = ve, this._createColor({ options: (c = f.cornersDotOptions) === null || c === void 0 ? void 0 : c.gradient, color: (_ = f.cornersDotOptions) === null || _ === void 0 ? void 0 : _.color, additionalRotation: _e, x: Se + 2 * C, y: be + 2 * C, height: H, width: H, name: `corners-dot-color-${ye}-${J}-${this._instanceId}` })), ((k = f.cornersDotOptions) === null || k === void 0 ? void 0 : k.type) && j.includes(f.cornersDotOptions.type)) {
4390
+ if ((!((xe = f.cornersDotOptions) === null || xe === void 0) && xe.gradient || !((l = f.cornersDotOptions) === null || l === void 0) && l.color) && (ve = this._window.document.createElementNS("http://www.w3.org/2000/svg", "clipPath"), ve.setAttribute("id", `clip-path-corners-dot-color-${ye}-${J}-${this._instanceId}`), this._defs.appendChild(ve), this._cornersDotClipPath = ve, this._createColor({ options: (c = f.cornersDotOptions) === null || c === void 0 ? void 0 : c.gradient, color: (_ = f.cornersDotOptions) === null || _ === void 0 ? void 0 : _.color, additionalRotation: _e, x: Ce + 2 * C, y: be + 2 * C, height: H, width: H, name: `corners-dot-color-${ye}-${J}-${this._instanceId}` })), ((k = f.cornersDotOptions) === null || k === void 0 ? void 0 : k.type) && j.includes(f.cornersDotOptions.type)) {
4391
4391
  const Pe = new q({ svg: this._element, type: f.cornersDotOptions.type, window: this._window });
4392
- Pe.draw(Se + 2 * C, be + 2 * C, H, _e), Pe._element && ve && ve.appendChild(Pe._element);
4392
+ Pe.draw(Ce + 2 * C, be + 2 * C, H, _e), Pe._element && ve && ve.appendChild(Pe._element);
4393
4393
  } else {
4394
4394
  const Pe = new R({ svg: this._element, type: ((F = f.cornersDotOptions) === null || F === void 0 ? void 0 : F.type) || f.dotsOptions.type, window: this._window });
4395
- for (let Le = 0; Le < se.length; Le++) for (let Te = 0; Te < se[Le].length; Te++) !((ee = se[Le]) === null || ee === void 0) && ee[Te] && (Pe.draw(Se + Te * C, be + Le * C, C, (Qe, Ke) => {
4395
+ for (let Le = 0; Le < se.length; Le++) for (let Te = 0; Te < se[Le].length; Te++) !((ee = se[Le]) === null || ee === void 0) && ee[Te] && (Pe.draw(Ce + Te * C, be + Le * C, C, (Qe, Ke) => {
4396
4396
  var tt;
4397
4397
  return !!(!((tt = se[Le + Ke]) === null || tt === void 0) && tt[Te + Qe]);
4398
4398
  }), Pe._element && ve && ve.appendChild(Pe._element));
@@ -4465,7 +4465,7 @@ function U_() {
4465
4465
  const v = Object.assign({}, A);
4466
4466
  return v.width = Number(v.width), v.height = Number(v.height), v.margin = Number(v.margin), v.imageOptions = Object.assign(Object.assign({}, v.imageOptions), { hideBackgroundDots: !!v.imageOptions.hideBackgroundDots, imageSize: Number(v.imageOptions.imageSize), margin: Number(v.imageOptions.margin) }), v.margin > Math.min(v.width, v.height) && (v.margin = Math.min(v.width, v.height)), v.dotsOptions = Object.assign({}, v.dotsOptions), v.dotsOptions.gradient && (v.dotsOptions.gradient = he(v.dotsOptions.gradient)), v.cornersSquareOptions && (v.cornersSquareOptions = Object.assign({}, v.cornersSquareOptions), v.cornersSquareOptions.gradient && (v.cornersSquareOptions.gradient = he(v.cornersSquareOptions.gradient))), v.cornersDotOptions && (v.cornersDotOptions = Object.assign({}, v.cornersDotOptions), v.cornersDotOptions.gradient && (v.cornersDotOptions.gradient = he(v.cornersDotOptions.gradient))), v.backgroundOptions && (v.backgroundOptions = Object.assign({}, v.backgroundOptions), v.backgroundOptions.gradient && (v.backgroundOptions.gradient = he(v.backgroundOptions.gradient))), v;
4467
4467
  }
4468
- var ne = u(873), Ce = u.n(ne);
4468
+ var ne = u(873), Se = u.n(ne);
4469
4469
  function De(A) {
4470
4470
  if (!A) throw new Error("Extension must be defined");
4471
4471
  A[0] === "." && (A = A.substring(1));
@@ -4514,7 +4514,7 @@ function U_() {
4514
4514
  return v.toLowerCase() === "svg" ? (this._svg && this._svgDrawingPromise || this._setupSvg(), await this._svgDrawingPromise, this._svg) : ((this._domCanvas || this._nodeCanvas) && this._canvasDrawingPromise || this._setupCanvas(), await this._canvasDrawingPromise, this._domCanvas || this._nodeCanvas);
4515
4515
  }
4516
4516
  update(v) {
4517
- $._clearContainer(this._container), this._options = v ? fe(d(this._options, v)) : this._options, this._options.data && (this._qr = Ce()(this._options.qrOptions.typeNumber, this._options.qrOptions.errorCorrectionLevel), this._qr.addData(this._options.data, this._options.qrOptions.mode || function(f) {
4517
+ $._clearContainer(this._container), this._options = v ? fe(d(this._options, v)) : this._options, this._options.data && (this._qr = Se()(this._options.qrOptions.typeNumber, this._options.qrOptions.errorCorrectionLevel), this._qr.addData(this._options.data, this._options.qrOptions.mode || function(f) {
4518
4518
  switch (!0) {
4519
4519
  case /^[0-9]*$/.test(f):
4520
4520
  return "Numeric";
@@ -4825,7 +4825,7 @@ function uw() {
4825
4825
  } }, Z = "en", te = {};
4826
4826
  te[Z] = ae;
4827
4827
  var Q = "$isDayjsObject", G = function($) {
4828
- return $ instanceof Ce || !(!$ || !$[Q]);
4828
+ return $ instanceof Se || !(!$ || !$[Q]);
4829
4829
  }, he = function $(P, A, v) {
4830
4830
  var f;
4831
4831
  if (!P) return Z;
@@ -4842,12 +4842,12 @@ function uw() {
4842
4842
  }, fe = function($, P) {
4843
4843
  if (G($)) return $.clone();
4844
4844
  var A = typeof P == "object" ? P : {};
4845
- return A.date = $, A.args = arguments, new Ce(A);
4845
+ return A.date = $, A.args = arguments, new Se(A);
4846
4846
  }, ne = ue;
4847
4847
  ne.l = he, ne.i = G, ne.w = function($, P) {
4848
4848
  return fe($, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
4849
4849
  };
4850
- var Ce = function() {
4850
+ var Se = function() {
4851
4851
  function $(A) {
4852
4852
  this.$L = he(A.locale, null, !0), this.parse(A), this.$x = this.$x || A.x || {}, this[Q] = !0;
4853
4853
  }
@@ -5062,13 +5062,13 @@ function uw() {
5062
5062
  }, P.toString = function() {
5063
5063
  return this.$d.toUTCString();
5064
5064
  }, $;
5065
- }(), De = Ce.prototype;
5065
+ }(), De = Se.prototype;
5066
5066
  return fe.prototype = De, [["$ms", p], ["$s", g], ["$m", d], ["$H", S], ["$W", D], ["$M", N], ["$y", L], ["$D", I]].forEach(function($) {
5067
5067
  De[$[1]] = function(P) {
5068
5068
  return this.$g(P, $[0], $[1]);
5069
5069
  };
5070
5070
  }), fe.extend = function($, P) {
5071
- return $.$i || ($(P, Ce, fe), $.$i = !0), fe;
5071
+ return $.$i || ($(P, Se, fe), $.$i = !0), fe;
5072
5072
  }, fe.locale = he, fe.isDayjs = G, fe.unix = function($) {
5073
5073
  return fe(1e3 * $);
5074
5074
  }, fe.en = te[Z], fe.Ls = te, fe.p = {}, fe;
@@ -5517,7 +5517,7 @@ const Ew = {
5517
5517
  __onDayKeyDown: he,
5518
5518
  __onDayClick: fe,
5519
5519
  __onDayMouseEnter: ne,
5520
- __preventFocus: Ce,
5520
+ __preventFocus: Se,
5521
5521
  __stopPropagation: De,
5522
5522
  withCellSpacing: $,
5523
5523
  size: P,
@@ -5594,9 +5594,9 @@ const Ew = {
5594
5594
  W?.onClick?.(X), fe?.(X, me);
5595
5595
  },
5596
5596
  onMouseDown: (X) => {
5597
- W?.onMouseDown?.(X), Ce && X.preventDefault();
5597
+ W?.onMouseDown?.(X), Se && X.preventDefault();
5598
5598
  },
5599
- tabIndex: Ce || !V ? -1 : 0
5599
+ tabIndex: Se || !V ? -1 : 0
5600
5600
  }
5601
5601
  )
5602
5602
  },
@@ -5752,12 +5752,12 @@ const kw = {
5752
5752
  attributes: G,
5753
5753
  vars: S,
5754
5754
  rootSelector: "yearsList"
5755
- }), ne = yr(), Ce = Yh(D), De = Mw({
5756
- years: Ce,
5755
+ }), ne = yr(), Se = Yh(D), De = Mw({
5756
+ years: Se,
5757
5757
  minDate: M,
5758
5758
  maxDate: L,
5759
5759
  getYearControlProps: I
5760
- }), $ = Ce.map((P, A) => {
5760
+ }), $ = Se.map((P, A) => {
5761
5761
  const v = P.map((f, w) => {
5762
5762
  const h = I?.(f), m = Oe(f).isSame(De, "year");
5763
5763
  return /* @__PURE__ */ O.jsx(
@@ -5869,12 +5869,12 @@ const $w = {
5869
5869
  attributes: G,
5870
5870
  vars: S,
5871
5871
  rootSelector: "monthsList"
5872
- }), ne = yr(), Ce = Nw(R), De = Lw({
5873
- months: Ce,
5872
+ }), ne = yr(), Se = Nw(R), De = Lw({
5873
+ months: Se,
5874
5874
  minDate: xn(L),
5875
5875
  maxDate: xn(I),
5876
5876
  getMonthControlProps: j
5877
- }), $ = Ce.map((P, A) => {
5877
+ }), $ = Se.map((P, A) => {
5878
5878
  const v = P.map((f, w) => {
5879
5879
  const h = j?.(f), m = Oe(f).isSame(De, "month");
5880
5880
  return /* @__PURE__ */ O.jsx(
@@ -5963,7 +5963,7 @@ const Iw = {
5963
5963
  __preventFocus: he,
5964
5964
  __stopPropagation: fe,
5965
5965
  attributes: ne,
5966
- ...Ce
5966
+ ...Se
5967
5967
  } = r, De = mr({
5968
5968
  name: G || "CalendarHeader",
5969
5969
  classes: zh,
@@ -6040,7 +6040,7 @@ const Iw = {
6040
6040
  }
6041
6041
  )
6042
6042
  ), f = Q.map((w) => w === "previous" ? P : w === "level" ? A : w === "next" ? v : null);
6043
- return /* @__PURE__ */ O.jsx(Bt, { ...De("calendarHeader"), ref: n, ...Ce, children: f });
6043
+ return /* @__PURE__ */ O.jsx(Bt, { ...De("calendarHeader"), ref: n, ...Se, children: f });
6044
6044
  });
6045
6045
  _r.classes = zh;
6046
6046
  _r.displayName = "@mantine/dates/CalendarHeader";
@@ -6080,7 +6080,7 @@ const Yw = {
6080
6080
  headerControlsOrder: fe,
6081
6081
  // Other props
6082
6082
  decadeLabelFormat: ne,
6083
- classNames: Ce,
6083
+ classNames: Se,
6084
6084
  styles: De,
6085
6085
  unstyled: $,
6086
6086
  __staticSelector: P,
@@ -6090,7 +6090,7 @@ const Yw = {
6090
6090
  ...w
6091
6091
  } = r, h = yr(), [m, C] = Bw(s), E = {
6092
6092
  __staticSelector: P || "DecadeLevel",
6093
- classNames: Ce,
6093
+ classNames: Se,
6094
6094
  styles: De,
6095
6095
  unstyled: $,
6096
6096
  size: v,
@@ -6176,7 +6176,7 @@ const Ww = {
6176
6176
  levelControlAriaLabel: he,
6177
6177
  withNext: fe,
6178
6178
  withPrevious: ne,
6179
- headerControlsOrder: Ce,
6179
+ headerControlsOrder: Se,
6180
6180
  // Other props
6181
6181
  yearLabelFormat: De,
6182
6182
  __staticSelector: $,
@@ -6215,7 +6215,7 @@ const Ww = {
6215
6215
  levelControlAriaLabel: he,
6216
6216
  withNext: fe,
6217
6217
  withPrevious: ne,
6218
- headerControlsOrder: Ce,
6218
+ headerControlsOrder: Se,
6219
6219
  ...E
6220
6220
  }
6221
6221
  ),
@@ -6273,7 +6273,7 @@ const Fw = {
6273
6273
  nextIcon: he,
6274
6274
  previousIcon: fe,
6275
6275
  nextLabel: ne,
6276
- previousLabel: Ce,
6276
+ previousLabel: Se,
6277
6277
  onNext: De,
6278
6278
  onPrevious: $,
6279
6279
  onLevelClick: P,
@@ -6312,7 +6312,7 @@ const Fw = {
6312
6312
  nextIcon: he,
6313
6313
  previousIcon: fe,
6314
6314
  nextLabel: ne,
6315
- previousLabel: Ce,
6315
+ previousLabel: Se,
6316
6316
  onNext: De,
6317
6317
  onPrevious: $,
6318
6318
  onLevelClick: P,
@@ -6420,7 +6420,7 @@ const Uw = {
6420
6420
  __staticSelector: he,
6421
6421
  __stopPropagation: fe,
6422
6422
  numberOfColumns: ne,
6423
- levelControlAriaLabel: Ce,
6423
+ levelControlAriaLabel: Se,
6424
6424
  decadeLabelFormat: De,
6425
6425
  size: $,
6426
6426
  vars: P,
@@ -6449,7 +6449,7 @@ const Uw = {
6449
6449
  __getControlRef: (E, H, ie) => {
6450
6450
  Array.isArray(f.current[m]) || (f.current[m] = []), Array.isArray(f.current[m][E]) || (f.current[m][E] = []), f.current[m][E][H] = ie;
6451
6451
  },
6452
- levelControlAriaLabel: typeof Ce == "function" ? Ce(C) : Ce,
6452
+ levelControlAriaLabel: typeof Se == "function" ? Se(C) : Se,
6453
6453
  locale: u,
6454
6454
  minDate: p,
6455
6455
  maxDate: g,
@@ -6524,7 +6524,7 @@ const zw = {
6524
6524
  styles: he,
6525
6525
  unstyled: fe,
6526
6526
  __staticSelector: ne,
6527
- __stopPropagation: Ce,
6527
+ __stopPropagation: Se,
6528
6528
  numberOfColumns: De,
6529
6529
  levelControlAriaLabel: $,
6530
6530
  yearLabelFormat: P,
@@ -6543,7 +6543,7 @@ const zw = {
6543
6543
  withNext: E === De - 1,
6544
6544
  withPrevious: E === 0,
6545
6545
  yearLabelFormat: P,
6546
- __stopPropagation: Ce,
6546
+ __stopPropagation: Se,
6547
6547
  __onControlClick: D,
6548
6548
  __onControlMouseEnter: R,
6549
6549
  __onControlKeyDown: (ie, le) => bl({
@@ -6631,7 +6631,7 @@ const qw = {
6631
6631
  previousLabel: he,
6632
6632
  onNext: fe,
6633
6633
  onPrevious: ne,
6634
- onLevelClick: Ce,
6634
+ onLevelClick: Se,
6635
6635
  nextDisabled: De,
6636
6636
  previousDisabled: $,
6637
6637
  hasNextLevel: P,
@@ -6692,7 +6692,7 @@ const qw = {
6692
6692
  previousLabel: he,
6693
6693
  onNext: fe,
6694
6694
  onPrevious: ne,
6695
- onLevelClick: Ce,
6695
+ onLevelClick: Se,
6696
6696
  nextDisabled: De,
6697
6697
  previousDisabled: $,
6698
6698
  hasNextLevel: P,
@@ -6797,7 +6797,7 @@ const Gw = {
6797
6797
  // MonthLevelGroup props
6798
6798
  firstDayOfWeek: fe,
6799
6799
  weekdayFormat: ne,
6800
- weekendDays: Ce,
6800
+ weekendDays: Se,
6801
6801
  getDayProps: De,
6802
6802
  excludeDate: $,
6803
6803
  renderDay: P,
@@ -6832,7 +6832,7 @@ const Gw = {
6832
6832
  __preventFocus: k,
6833
6833
  __stopPropagation: F,
6834
6834
  onNextDecade: ee,
6835
- onPreviousDecade: Se,
6835
+ onPreviousDecade: Ce,
6836
6836
  onNextYear: be,
6837
6837
  onPreviousYear: Re,
6838
6838
  onNextMonth: ve,
@@ -6885,7 +6885,7 @@ const Gw = {
6885
6885
  ee?.(Fe), Ct(Fe);
6886
6886
  }, zt = () => {
6887
6887
  const Fe = Oe(gt).subtract(10 * St, "year").format("YYYY-MM-DD");
6888
- Se?.(Fe), Ct(Fe);
6888
+ Ce?.(Fe), Ct(Fe);
6889
6889
  }, Qt = yt(null);
6890
6890
  xt(() => {
6891
6891
  if (!Te || Le)
@@ -6931,7 +6931,7 @@ const Gw = {
6931
6931
  maxDate: xe,
6932
6932
  firstDayOfWeek: fe,
6933
6933
  weekdayFormat: ne,
6934
- weekendDays: Ce,
6934
+ weekendDays: Se,
6935
6935
  getDayProps: De,
6936
6936
  excludeDate: $,
6937
6937
  renderDay: P,
@@ -7058,7 +7058,7 @@ function Vw(i) {
7058
7058
  onPreviousDecade: he,
7059
7059
  withCellSpacing: fe,
7060
7060
  highlightToday: ne,
7061
- __updateDateOnYearSelect: Ce,
7061
+ __updateDateOnYearSelect: Se,
7062
7062
  __updateDateOnMonthSelect: De,
7063
7063
  __setDateRef: $,
7064
7064
  __setLevelRef: P,
@@ -7121,7 +7121,7 @@ function Vw(i) {
7121
7121
  onPreviousDecade: he,
7122
7122
  withCellSpacing: fe,
7123
7123
  highlightToday: ne,
7124
- __updateDateOnYearSelect: Ce,
7124
+ __updateDateOnYearSelect: Se,
7125
7125
  __updateDateOnMonthSelect: De,
7126
7126
  __setDateRef: $,
7127
7127
  withWeekNumbers: A,
@@ -7195,7 +7195,7 @@ const Qw = {
7195
7195
  rightSection: he,
7196
7196
  unstyled: fe,
7197
7197
  classNames: ne,
7198
- styles: Ce,
7198
+ styles: Se,
7199
7199
  allowDeselect: De,
7200
7200
  date: $,
7201
7201
  defaultDate: P,
@@ -7248,7 +7248,7 @@ const Qw = {
7248
7248
  const ve = S && _e && Oe(ge).isSame(be, "day") ? null : be;
7249
7249
  B(ve), !K && ve && xe(me(ve)), E(!1);
7250
7250
  }
7251
- }), Se = he || (S && ge && !te ? /* @__PURE__ */ O.jsx(
7251
+ }), Ce = he || (S && ge && !te ? /* @__PURE__ */ O.jsx(
7252
7252
  Km,
7253
7253
  {
7254
7254
  variant: "transparent",
@@ -7293,7 +7293,7 @@ const Qw = {
7293
7293
  onClick: k,
7294
7294
  onKeyDown: F,
7295
7295
  readOnly: te,
7296
- rightSection: Se,
7296
+ rightSection: Ce,
7297
7297
  ...s,
7298
7298
  ...ie,
7299
7299
  __staticSelector: "DateInput"
@@ -7311,7 +7311,7 @@ const Qw = {
7311
7311
  __staticSelector: "DateInput",
7312
7312
  ...H,
7313
7313
  classNames: ne,
7314
- styles: Ce,
7314
+ styles: Se,
7315
7315
  unstyled: fe,
7316
7316
  __preventFocus: !0,
7317
7317
  minDate: j,
@@ -7343,7 +7343,7 @@ const Qw = {
7343
7343
  bs.classes = { ...Qa.classes, ...ws.classes };
7344
7344
  bs.displayName = "@mantine/dates/DateInput";
7345
7345
  function Jw(i) {
7346
- const n = kn.c(51), {
7346
+ const n = kn.c(50), {
7347
7347
  fields: r,
7348
7348
  onClose: s,
7349
7349
  queryKey: u,
@@ -7375,11 +7375,11 @@ function Jw(i) {
7375
7375
  validate: he
7376
7376
  }, n[8] = G, n[9] = he, n[10] = fe) : fe = n[10];
7377
7377
  const ne = ph(fe);
7378
- let Ce;
7379
- n[11] !== ne ? (Ce = function(E) {
7378
+ let Se;
7379
+ n[11] !== ne ? (Se = function(E) {
7380
7380
  return E.conditional ? E.conditional(ne.getValues()) : !0;
7381
- }, n[11] = ne, n[12] = Ce) : Ce = n[12];
7382
- const De = Ce;
7381
+ }, n[11] = ne, n[12] = Se) : Se = n[12];
7382
+ const De = Se;
7383
7383
  let $;
7384
7384
  n[13] !== ne || n[14] !== M || n[15] !== De ? ($ = function(E) {
7385
7385
  return De(E) ? /* @__PURE__ */ O.jsxs(sh, { children: [
@@ -7415,24 +7415,24 @@ function Jw(i) {
7415
7415
  Q.length && S < Q.length - 1 ? j || D(S + 1) : j || (ne.setInitialValues(C), ne.reset(), s());
7416
7416
  }), n[21] = S, n[22] = I, n[23] = ne, n[24] = j, n[25] = s, n[26] = d, n[27] = M, n[28] = Q.length, n[29] = ae, n[30] = v) : v = n[30];
7417
7417
  let f;
7418
- n[31] !== S || n[32] !== r || n[33] !== P || n[34] !== De || n[35] !== g || n[36] !== Q ? (f = Q.length ? /* @__PURE__ */ O.jsx(Jo, { active: S, size: "sm", children: Q.map((C) => /* @__PURE__ */ O.jsx(Jo.Step, { ...g && g[C - 1] ? {
7418
+ n[31] !== S || n[32] !== r || n[33] !== P || n[34] !== g || n[35] !== Q ? (f = Q.length ? /* @__PURE__ */ O.jsx(Jo, { active: S, size: "sm", children: Q.map((C) => /* @__PURE__ */ O.jsx(Jo.Step, { ...g && g[C - 1] ? {
7419
7419
  label: g[C - 1].label
7420
- } : {}, children: r.filter((E) => E.step === C && De(E)).map((E) => P(E)) }, C)) }) : r.filter(De).map((C) => P(C)), n[31] = S, n[32] = r, n[33] = P, n[34] = De, n[35] = g, n[36] = Q, n[37] = f) : f = n[37];
7420
+ } : {}, children: r.filter((E) => E.step === C).map((E) => P(E)) }, C)) }) : r.map((C) => P(C)), n[31] = S, n[32] = r, n[33] = P, n[34] = g, n[35] = Q, n[36] = f) : f = n[36];
7421
7421
  let w;
7422
- n[38] !== S || n[39] !== R || n[40] !== ue || n[41] !== s || n[42] !== Q.length ? (w = !R && /* @__PURE__ */ O.jsxs(nr, { mt: "md", justify: "end", children: [
7422
+ n[37] !== S || n[38] !== R || n[39] !== ue || n[40] !== s || n[41] !== Q.length ? (w = !R && /* @__PURE__ */ O.jsxs(nr, { mt: "md", justify: "end", children: [
7423
7423
  /* @__PURE__ */ O.jsx(rr, { onClick: () => Q.length ? S === 0 ? s() : D(S - 1) : s(), variant: "outline", children: Q.length ? S === 0 ? "Abbrechen" : "Zurück" : "Abbrechen" }),
7424
7424
  /* @__PURE__ */ O.jsx(rr, { type: "submit", loading: ue, children: Q.length ? S === Q.length - 1 ? "Speichern" : "Weiter" : "Speichern" })
7425
- ] }), n[38] = S, n[39] = R, n[40] = ue, n[41] = s, n[42] = Q.length, n[43] = w) : w = n[43];
7425
+ ] }), n[37] = S, n[38] = R, n[39] = ue, n[40] = s, n[41] = Q.length, n[42] = w) : w = n[42];
7426
7426
  let h;
7427
- n[44] !== f || n[45] !== w || n[46] !== v ? (h = /* @__PURE__ */ O.jsxs("form", { onSubmit: v, children: [
7427
+ n[43] !== f || n[44] !== w || n[45] !== v ? (h = /* @__PURE__ */ O.jsxs("form", { onSubmit: v, children: [
7428
7428
  f,
7429
7429
  w
7430
- ] }), n[44] = f, n[45] = w, n[46] = v, n[47] = h) : h = n[47];
7430
+ ] }), n[43] = f, n[44] = w, n[45] = v, n[46] = h) : h = n[46];
7431
7431
  let m;
7432
- return n[48] !== h || n[49] !== A ? (m = /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
7432
+ return n[47] !== h || n[48] !== A ? (m = /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
7433
7433
  A,
7434
7434
  h
7435
- ] }), n[48] = h, n[49] = A, n[50] = m) : m = n[50], m;
7435
+ ] }), n[47] = h, n[48] = A, n[49] = m) : m = n[49], m;
7436
7436
  }
7437
7437
  function Xw(i, n) {
7438
7438
  return i[n.id] = eb, i;
@@ -7594,8 +7594,8 @@ function cb({ scrollCallbacks: i, withRowBorders: n }) {
7594
7594
  }
7595
7595
  M.current = se;
7596
7596
  function ue() {
7597
- let te = R.current, Q = p.current?.scrollTop ?? 0, G = p.current?.scrollLeft ?? 0, he = Q === 0, fe = j.height - Q - q.height < 1, ne = oe("top", he), Ce = oe("bottom", fe);
7598
- he && he !== ne && te.onScrollToTop?.(), fe && fe !== Ce && te.onScrollToBottom?.();
7597
+ let te = R.current, Q = p.current?.scrollTop ?? 0, G = p.current?.scrollLeft ?? 0, he = Q === 0, fe = j.height - Q - q.height < 1, ne = oe("top", he), Se = oe("bottom", fe);
7598
+ he && he !== ne && te.onScrollToTop?.(), fe && fe !== Se && te.onScrollToBottom?.();
7599
7599
  let De = G === 0, $ = j.width - G - q.width < 1, P = oe("left", De), A = oe("right", $);
7600
7600
  De && De !== P && te.onScrollToLeft?.(), $ && $ !== A && te.onScrollToRight?.();
7601
7601
  }
@@ -7748,8 +7748,8 @@ var Ob = (i) => {
7748
7748
  if (!r.current) return;
7749
7749
  let ue = r.current, Z = ue.nextElementSibling;
7750
7750
  if (!Z) return;
7751
- let te = se.clientX - p.current, Q = 50, G = g.current.current - Q, he = g.current.next - Q, fe = Math.max(-G, Math.min(te, he)), ne = g.current.current + fe, Ce = g.current.next - fe;
7752
- ue.style.width = `${ne}px`, Z.style.width = `${Ce}px`, ue.style.minWidth = `${ne}px`, ue.style.maxWidth = `${ne}px`, Z.style.minWidth = `${Ce}px`, Z.style.maxWidth = `${Ce}px`;
7751
+ let te = se.clientX - p.current, Q = 50, G = g.current.current - Q, he = g.current.next - Q, fe = Math.max(-G, Math.min(te, he)), ne = g.current.current + fe, Se = g.current.next - fe;
7752
+ ue.style.width = `${ne}px`, Z.style.width = `${Se}px`, ue.style.minWidth = `${ne}px`, ue.style.maxWidth = `${ne}px`, Z.style.minWidth = `${Se}px`, Z.style.maxWidth = `${Se}px`;
7753
7753
  }, ae = () => {
7754
7754
  if (!r.current) return;
7755
7755
  let se = r.current, ue = se.nextElementSibling;
@@ -7795,7 +7795,7 @@ function Tb() {
7795
7795
  function Mb({ className: i, style: n, accessor: r, visibleMediaQuery: s, title: u, sortable: p, draggable: g, toggleable: d, resizable: S, sortIcons: D, textAlign: R, width: N, sortStatus: M, onSortStatusChange: L, filter: I, filterPopoverProps: j, filterPopoverDisableClickOutside: q, filtering: oe, sortKey: ae }) {
7796
7796
  let { setSourceColumn: se, setTargetColumn: ue, swapColumns: Z, setColumnsToggle: te } = Dl(), [Q, G] = Xe(!1), he = yt(null);
7797
7797
  if (!xs(s)) return null;
7798
- let fe = u ?? Al(r), ne = typeof fe == "string" ? fe : void 0, Ce = p && L ? (w) => {
7798
+ let fe = u ?? Al(r), ne = typeof fe == "string" ? fe : void 0, Se = p && L ? (w) => {
7799
7799
  w?.defaultPrevented || L({ sortKey: ae, columnAccessor: r, direction: M?.columnAccessor === r ? M.direction === "asc" ? "desc" : "asc" : M?.direction ?? "asc" });
7800
7800
  } : void 0, De = (w) => {
7801
7801
  w.stopPropagation(), se(r), G(!1);
@@ -7810,7 +7810,7 @@ function Mb({ className: i, style: n, accessor: r, visibleMediaQuery: s, title:
7810
7810
  }, f = (w) => {
7811
7811
  w.stopPropagation(), te((h) => h.map((m) => m.accessor === r ? { ...m, toggled: !1 } : m));
7812
7812
  };
7813
- return O.jsxs(Ji, { "data-accessor": r, className: ft({ "mantine-datatable-header-cell-sortable": p, "mantine-datatable-header-cell-toggleable": d, "mantine-datatable-header-cell-resizable": S }, i), style: [{ width: N, ...S ? { minWidth: "1px" } : { minWidth: N, maxWidth: N } }, n], role: p ? "button" : void 0, tabIndex: p ? 0 : void 0, onClick: Ce, onKeyDown: (w) => w.key === "Enter" && Ce?.(), ref: he, children: [O.jsxs(nr, { className: "mantine-datatable-header-cell-sortable-group", justify: "space-between", wrap: "nowrap", children: [O.jsxs(iy, { align: "center", w: "100%", className: ft({ "mantine-datatable-header-cell-draggable": g, "mantine-datatable-header-cell-drag-over": Q }), draggable: g, onDragStart: g ? De : void 0, onDragEnter: g ? A : void 0, onDragOver: g ? $ : void 0, onDrop: g ? P : void 0, onDragLeave: g ? v : void 0, children: [g ? O.jsx(oi, { role: "img", "aria-label": "Drag column", children: O.jsx(Xo, { className: "mantine-datatable-header-cell-draggable-action-icon", variant: "subtle", size: "xs", onClick: (w) => {
7813
+ return O.jsxs(Ji, { "data-accessor": r, className: ft({ "mantine-datatable-header-cell-sortable": p, "mantine-datatable-header-cell-toggleable": d, "mantine-datatable-header-cell-resizable": S }, i), style: [{ width: N, ...S ? { minWidth: "1px" } : { minWidth: N, maxWidth: N } }, n], role: p ? "button" : void 0, tabIndex: p ? 0 : void 0, onClick: Se, onKeyDown: (w) => w.key === "Enter" && Se?.(), ref: he, children: [O.jsxs(nr, { className: "mantine-datatable-header-cell-sortable-group", justify: "space-between", wrap: "nowrap", children: [O.jsxs(iy, { align: "center", w: "100%", className: ft({ "mantine-datatable-header-cell-draggable": g, "mantine-datatable-header-cell-drag-over": Q }), draggable: g, onDragStart: g ? De : void 0, onDragEnter: g ? A : void 0, onDragOver: g ? $ : void 0, onDrop: g ? P : void 0, onDragLeave: g ? v : void 0, children: [g ? O.jsx(oi, { role: "img", "aria-label": "Drag column", children: O.jsx(Xo, { className: "mantine-datatable-header-cell-draggable-action-icon", variant: "subtle", size: "xs", onClick: (w) => {
7814
7814
  w.stopPropagation();
7815
7815
  }, children: O.jsx(Pb, {}) }) }) : null, O.jsx(Bt, { className: ft("mantine-datatable-header-cell-sortable-text", { [Cs]: R === "left", [Ss]: R === "center", [Ds]: R === "right" }, Ol, Rl), title: ne, children: fe })] }), d ? O.jsx(oi, { className: "mantine-datatable-header-cell-toggleable-icon", role: "img", "aria-label": "Toggle column", children: O.jsx(Xo, { size: "xs", variant: "light", onClick: f, children: O.jsx(Tb, {}) }) }) : null, p || M?.columnAccessor === r ? O.jsx(O.Fragment, { children: M?.columnAccessor === r ? O.jsx(oi, { className: ft("mantine-datatable-header-cell-sortable-icon", { "mantine-datatable-header-cell-sortable-icon-reversed": M.direction === "desc" }), role: "img", "aria-label": `Sorted ${M.direction === "desc" ? "descending" : "ascending"}`, children: D?.sorted || O.jsx(Rb, {}) }) : O.jsx(oi, { className: "mantine-datatable-header-cell-sortable-unsorted-icon", role: "img", "aria-label": "Not sorted", children: D?.unsorted || O.jsx(Eb, {}) }) }) : null, I ? O.jsx(Ab, { filterPopoverProps: j, isActive: !!oe, filterPopoverDisableClickOutside: q, children: I }) : null] }), S && r !== "__selection__" ? O.jsx(Ob, { accessor: r, columnRef: he }) : null] });
7816
7816
  }
@@ -7819,15 +7819,15 @@ function kb({ className: i, style: n, trigger: r, shadowVisible: s, checked: u,
7819
7819
  return O.jsx(Ji, { ref: D, className: ft("mantine-datatable-header-selector-cell", { [li]: r === "cell" && R }, i), style: n, rowSpan: S, "data-shadow-visible": s || void 0, "data-accessor": "__selection__", onClick: r === "cell" && R ? d : void 0, children: O.jsx(Qi, { classNames: R ? { input: li } : void 0, checked: u, indeterminate: p, onChange: d, ...g, disabled: !(d || g.onChange) || g.disabled }) });
7820
7820
  }
7821
7821
  function Lb({ selectionColumnHeaderRef: i, className: n, style: r, sortStatus: s, sortIcons: u, onSortStatusChange: p, columns: g, defaultColumnProps: d, groups: S, selectionTrigger: D, selectionVisible: R, selectionChecked: N, selectionIndeterminate: M, onSelectionChange: L, selectionCheckboxProps: I, selectorCellShadowVisible: j, selectionColumnClassName: q, selectionColumnStyle: oe, ref: ae }) {
7822
- let se = R ? O.jsx(kb, { ref: i, className: q, style: oe, trigger: D, shadowVisible: j, checked: N, indeterminate: M, checkboxProps: I, onChange: L, rowSpan: S ? 2 : void 0 }) : null, { columnsToggle: ue, setColumnsToggle: Z } = Dl(), [te, Q] = Xe(!1), G = g.some((ne) => ne.toggleable), he = G ? Object.fromEntries(g.map(({ accessor: ne, title: Ce }) => [ne, Ce ?? Al(String(ne))])) : void 0, fe = O.jsxs(Xm, { className: ft("mantine-datatable-header", n), style: r, ref: ae, onContextMenu: G ? (ne) => {
7823
- ne.preventDefault(), Q((Ce) => !Ce);
7824
- } : void 0, children: [S && O.jsxs(ai, { children: [se, S.map((ne) => O.jsx(Cb, { group: ne }, ne.id))] }), O.jsxs(ai, { children: [!S && se, g.map(({ hidden: ne, ...Ce }, De) => {
7822
+ let se = R ? O.jsx(kb, { ref: i, className: q, style: oe, trigger: D, shadowVisible: j, checked: N, indeterminate: M, checkboxProps: I, onChange: L, rowSpan: S ? 2 : void 0 }) : null, { columnsToggle: ue, setColumnsToggle: Z } = Dl(), [te, Q] = Xe(!1), G = g.some((ne) => ne.toggleable), he = G ? Object.fromEntries(g.map(({ accessor: ne, title: Se }) => [ne, Se ?? Al(String(ne))])) : void 0, fe = O.jsxs(Xm, { className: ft("mantine-datatable-header", n), style: r, ref: ae, onContextMenu: G ? (ne) => {
7823
+ ne.preventDefault(), Q((Se) => !Se);
7824
+ } : void 0, children: [S && O.jsxs(ai, { children: [se, S.map((ne) => O.jsx(Cb, { group: ne }, ne.id))] }), O.jsxs(ai, { children: [!S && se, g.map(({ hidden: ne, ...Se }, De) => {
7825
7825
  if (ne) return null;
7826
- let { accessor: $, visibleMediaQuery: P, textAlign: A, width: v, title: f, sortable: w, draggable: h, toggleable: m, resizable: C, titleClassName: E, titleStyle: H, filter: ie, filterPopoverProps: le, filterPopoverDisableClickOutside: ye, filtering: J, sortKey: _e } = { ...d, ...Ce };
7826
+ let { accessor: $, visibleMediaQuery: P, textAlign: A, width: v, title: f, sortable: w, draggable: h, toggleable: m, resizable: C, titleClassName: E, titleStyle: H, filter: ie, filterPopoverProps: le, filterPopoverDisableClickOutside: ye, filtering: J, sortKey: _e } = { ...d, ...Se };
7827
7827
  return O.jsx(Mb, { accessor: $, className: E, style: H, visibleMediaQuery: P, textAlign: A, width: v, title: f, sortable: w, draggable: h, toggleable: m, resizable: C && De < g.length - 1, sortStatus: s, sortIcons: u, sortKey: _e, onSortStatusChange: p, filter: ie, filterPopoverProps: le, filterPopoverDisableClickOutside: ye, filtering: J }, $);
7828
7828
  })] })] });
7829
- return G ? O.jsxs(qi, { position: "bottom", withArrow: !0, shadow: "md", opened: te, onChange: Q, children: [O.jsx(fh, { children: fe }), O.jsx(hh, { children: O.jsx(dl, { children: ue.filter((ne) => ne.toggleable).map((ne) => O.jsx(nr, { children: O.jsx(Qi, { classNames: { label: "mantine-datatable-header-column-toggle-checkbox-label" }, size: "xs", label: he[ne.accessor], checked: ne.toggled, onChange: (Ce) => {
7830
- Z(ue.map((De) => De.accessor === ne.accessor ? { ...De, toggled: Ce.currentTarget.checked } : De));
7829
+ return G ? O.jsxs(qi, { position: "bottom", withArrow: !0, shadow: "md", opened: te, onChange: Q, children: [O.jsx(fh, { children: fe }), O.jsx(hh, { children: O.jsx(dl, { children: ue.filter((ne) => ne.toggleable).map((ne) => O.jsx(nr, { children: O.jsx(Qi, { classNames: { label: "mantine-datatable-header-column-toggle-checkbox-label" }, size: "xs", label: he[ne.accessor], checked: ne.toggled, onChange: (Se) => {
7830
+ Z(ue.map((De) => De.accessor === ne.accessor ? { ...De, toggled: Se.currentTarget.checked } : De));
7831
7831
  } }) }, ne.accessor)) }) })] }) : fe;
7832
7832
  }
7833
7833
  function Nb({ fetching: i, customContent: n, backgroundBlur: r, size: s, type: u, color: p }) {
@@ -7878,12 +7878,12 @@ function Ub({ className: i, style: n, record: r, index: s, trigger: u, onChange:
7878
7878
  return O.jsx(pl, { className: ft("mantine-datatable-row-selector-cell", { [li]: u === "cell" && N }, i), style: n, "data-shadow-visible": g || void 0, onClick: M, children: O.jsx(Qi, { classNames: N ? { input: li } : void 0, onChange: p, ...D, ...R }) });
7879
7879
  }
7880
7880
  function zb({ record: i, index: n, columns: r, defaultColumnProps: s, defaultColumnRender: u, selectionTrigger: p, selectionVisible: g, selectionChecked: d, onSelectionChange: S, isRecordSelectable: D, selectionCheckboxProps: R, getSelectionCheckboxProps: N, onClick: M, onDoubleClick: L, onContextMenu: I, onCellClick: j, onCellDoubleClick: q, onCellContextMenu: oe, expansion: ae, customAttributes: se, color: ue, backgroundColor: Z, className: te, style: Q, selectorCellShadowVisible: G, selectionColumnClassName: he, selectionColumnStyle: fe, rowFactory: ne }) {
7881
- let Ce = O.jsxs(O.Fragment, { children: [g && O.jsx(Ub, { className: he, style: fe, record: i, index: n, trigger: p, withRightShadow: G, checked: d, disabled: !S || (D ? !D(i, n) : !1), onChange: S, checkboxProps: R, getCheckboxProps: N }), r.map(({ hidden: P, hiddenContent: A, ...v }, f) => {
7881
+ let Se = O.jsxs(O.Fragment, { children: [g && O.jsx(Ub, { className: he, style: fe, record: i, index: n, trigger: p, withRightShadow: G, checked: d, disabled: !S || (D ? !D(i, n) : !1), onChange: S, checkboxProps: R, getCheckboxProps: N }), r.map(({ hidden: P, hiddenContent: A, ...v }, f) => {
7882
7882
  if (P || A) return null;
7883
7883
  let { accessor: w, visibleMediaQuery: h, textAlign: m, noWrap: C, ellipsis: E, width: H, render: ie, cellsClassName: le, cellsStyle: ye, customCellAttributes: J } = { ...s, ...v };
7884
7884
  return O.jsx(Wb, { className: typeof le == "function" ? le(i, n) : le, style: ye?.(i, n), visibleMediaQuery: h, record: i, index: n, onClick: j ? (_e) => j({ event: _e, record: i, index: n, column: v, columnIndex: f }) : void 0, onDoubleClick: q ? (_e) => q({ event: _e, record: i, index: n, column: v, columnIndex: f }) : void 0, onContextMenu: oe ? (_e) => oe({ event: _e, record: i, index: n, column: v, columnIndex: f }) : void 0, accessor: w, textAlign: m, noWrap: C, ellipsis: E, width: H, render: ie, defaultRender: u, customCellAttributes: J }, w);
7885
7885
  })] }), De = ae && O.jsx(Fb, { colSpan: r.filter(({ hidden: P }) => !P).length + (g ? 1 : 0), open: ae.isRowExpanded(i), content: ae.content({ record: i, index: n }), collapseProps: ae.collapseProps }), $ = qb({ record: i, index: n, selectionChecked: d, onClick: M, onDoubleClick: L, onContextMenu: I, expansion: ae, customAttributes: se, color: ue, backgroundColor: Z, className: te, style: Q });
7886
- return ne ? ne({ record: i, index: n, rowProps: $, children: Ce, expandedElement: De }) : O.jsxs(O.Fragment, { children: [O.jsx(ai, { ...$, children: Ce }), De] });
7886
+ return ne ? ne({ record: i, index: n, rowProps: $, children: Se, expandedElement: De }) : O.jsxs(O.Fragment, { children: [O.jsx(ai, { ...$, children: Se }), De] });
7887
7887
  }
7888
7888
  function qb({ record: i, index: n, selectionChecked: r, onClick: s, onDoubleClick: u, onContextMenu: p, expansion: g, customAttributes: d, color: S, backgroundColor: D, className: R, style: N }) {
7889
7889
  return { className: ft("mantine-datatable-row", { [li]: s || u || g?.isExpandable({ record: i, index: n }) && g?.expandOnClick }, { [Gh]: p }, typeof R == "function" ? R(i, n) : R), "data-selected": r || void 0, onClick: (M) => {
@@ -7900,13 +7900,13 @@ function qb({ record: i, index: n, selectionChecked: r, onClick: s, onDoubleClic
7900
7900
  function Hb({ leftShadowBehind: i, rightShadowBehind: n, onScrollPositionChange: r, children: s, viewportRef: u, scrollAreaProps: p }) {
7901
7901
  return O.jsxs(Jm, { ...p, viewportRef: u, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: r, children: [s, O.jsx(Bt, { className: ft("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow") }), O.jsx("div", { className: ft("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-left-shadow", { "mantine-datatable-scroll-area-shadow-behind": i }) }), O.jsx("div", { className: ft("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-right-shadow", { "mantine-datatable-scroll-area-shadow-behind": n }) }), O.jsx(Bt, { className: ft("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-bottom-shadow") })] });
7902
7902
  }
7903
- function Gb({ withTableBorder: i, borderRadius: n, textSelectionDisabled: r, height: s = "100%", minHeight: u, maxHeight: p, shadow: g, verticalAlign: d = "center", fetching: S, columns: D, storeColumnsKey: R, groups: N, pinFirstColumn: M, pinLastColumn: L, defaultColumnProps: I, defaultColumnRender: j, idAccessor: q = "id", records: oe, selectionTrigger: ae = "checkbox", selectedRecords: se, onSelectedRecordsChange: ue, selectionColumnClassName: Z, selectionColumnStyle: te, isRecordSelectable: Q, selectionCheckboxProps: G, allRecordsSelectionCheckboxProps: he = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: fe = (vt, Ve) => ({ "aria-label": `Select record ${Ve + 1}` }), sortStatus: ne, sortIcons: Ce, onSortStatusChange: De, horizontalSpacing: $, page: P, onPageChange: A, totalRecords: v, recordsPerPage: f, onRecordsPerPageChange: w, recordsPerPageOptions: h, recordsPerPageLabel: m = "Records per page", paginationWithEdges: C, paginationWithControls: E, paginationActiveTextColor: H, paginationActiveBackgroundColor: ie, paginationSize: le = "sm", paginationText: ye = ({ from: vt, to: Ve, totalRecords: lt }) => `${vt} - ${Ve} / ${lt}`, paginationWrapBreakpoint: J = "sm", getPaginationControlProps: _e = (vt) => vt === "previous" ? { "aria-label": "Previous page" } : vt === "next" ? { "aria-label": "Next page" } : {}, loaderBackgroundBlur: me, customLoader: ge, loaderSize: B, loaderType: K, loaderColor: W, loadingText: V = "...", emptyState: X, noRecordsText: xe = "No records", noRecordsIcon: l, highlightOnHover: c, striped: _, noHeader: k, onRowClick: F, onRowDoubleClick: ee, onRowContextMenu: Se, onCellClick: be, onCellDoubleClick: Re, onCellContextMenu: ve, onScroll: Pe, onScrollToTop: Le, onScrollToBottom: Te, onScrollToLeft: Qe, onScrollToRight: Ke, c: tt, backgroundColor: Rt, borderColor: ht, rowBorderColor: nt, stripedColor: Cn, highlightOnHoverColor: Ct, rowColor: Sn, rowBackgroundColor: St, rowExpansion: Wt, rowClassName: Dn, rowStyle: gt, customRowAttributes: sn, scrollViewportRef: an, scrollAreaProps: Ft, tableRef: Mt, bodyRef: Ut, m: zt, my: Qt, mx: qt, mt: Fe, mb: ot, ml: kt, mr: Jt, className: Ln, classNames: ln, style: br, styles: un, rowFactory: Nn, tableWrapper: cn, ...fn }) {
7903
+ function Gb({ withTableBorder: i, borderRadius: n, textSelectionDisabled: r, height: s = "100%", minHeight: u, maxHeight: p, shadow: g, verticalAlign: d = "center", fetching: S, columns: D, storeColumnsKey: R, groups: N, pinFirstColumn: M, pinLastColumn: L, defaultColumnProps: I, defaultColumnRender: j, idAccessor: q = "id", records: oe, selectionTrigger: ae = "checkbox", selectedRecords: se, onSelectedRecordsChange: ue, selectionColumnClassName: Z, selectionColumnStyle: te, isRecordSelectable: Q, selectionCheckboxProps: G, allRecordsSelectionCheckboxProps: he = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: fe = (vt, Ve) => ({ "aria-label": `Select record ${Ve + 1}` }), sortStatus: ne, sortIcons: Se, onSortStatusChange: De, horizontalSpacing: $, page: P, onPageChange: A, totalRecords: v, recordsPerPage: f, onRecordsPerPageChange: w, recordsPerPageOptions: h, recordsPerPageLabel: m = "Records per page", paginationWithEdges: C, paginationWithControls: E, paginationActiveTextColor: H, paginationActiveBackgroundColor: ie, paginationSize: le = "sm", paginationText: ye = ({ from: vt, to: Ve, totalRecords: lt }) => `${vt} - ${Ve} / ${lt}`, paginationWrapBreakpoint: J = "sm", getPaginationControlProps: _e = (vt) => vt === "previous" ? { "aria-label": "Previous page" } : vt === "next" ? { "aria-label": "Next page" } : {}, loaderBackgroundBlur: me, customLoader: ge, loaderSize: B, loaderType: K, loaderColor: W, loadingText: V = "...", emptyState: X, noRecordsText: xe = "No records", noRecordsIcon: l, highlightOnHover: c, striped: _, noHeader: k, onRowClick: F, onRowDoubleClick: ee, onRowContextMenu: Ce, onCellClick: be, onCellDoubleClick: Re, onCellContextMenu: ve, onScroll: Pe, onScrollToTop: Le, onScrollToBottom: Te, onScrollToLeft: Qe, onScrollToRight: Ke, c: tt, backgroundColor: Rt, borderColor: ht, rowBorderColor: nt, stripedColor: Cn, highlightOnHoverColor: Ct, rowColor: Sn, rowBackgroundColor: St, rowExpansion: Wt, rowClassName: Dn, rowStyle: gt, customRowAttributes: sn, scrollViewportRef: an, scrollAreaProps: Ft, tableRef: Mt, bodyRef: Ut, m: zt, my: Qt, mx: qt, mt: Fe, mb: ot, ml: kt, mr: Jt, className: Ln, classNames: ln, style: br, styles: un, rowFactory: Nn, tableWrapper: cn, ...fn }) {
7904
7904
  let vt = Lr(() => N?.flatMap((He) => He.columns) ?? D, [D, N]), Ve = Lr(() => vt.some((He) => He.resizable), [vt]), lt = ub({ key: R, columns: vt }), { refs: Ht, onScroll: Un } = cb({ scrollCallbacks: { onScroll: Pe, onScrollToTop: Le, onScrollToBottom: Te, onScrollToLeft: Qe, onScrollToRight: Ke }, withRowBorders: fn.withRowBorders }), Ir = qc(Ht.table, Mt), zn = qc(Ht.scrollViewport, an), jr = mb({ rowExpansion: Wt, records: oe, idAccessor: q }), qn = Fn((He) => {
7905
7905
  Ht.scrollViewport.current?.scrollTo({ top: 0, left: 0 }), A(He);
7906
7906
  }, [A, Ht.scrollViewport]), Br = oe?.length, Xi = oe?.map((He) => It(He, q)), ir = !!se, or = se?.map((He) => It(He, q)), di = Xi !== void 0 && or !== void 0 && or.length > 0, Yr = Q ? oe?.filter(Q) : oe, Wr = Yr?.map((He) => It(He, q)), Fr = di && Wr.every((He) => or.includes(He)), As = di && Wr.some((He) => or.includes(He)), Os = Fn(() => {
7907
7907
  se && ue && ue(Fr ? se.filter((He) => !Wr.includes(It(He, q))) : Za([...se, ...Yr], (He) => It(He, q)));
7908
7908
  }, [Fr, q, ue, Wr, Yr, se]), { lastSelectionChangeIndex: xr, setLastSelectionChangeIndex: eo } = fb(Xi), Ur = ir && !M, pi = { m: zt, my: Qt, mx: qt, mt: Fe, mb: ot, ml: kt, mr: Jt }, Rs = Fn(({ children: He }) => cn ? cn({ children: He }) : He, [cn]);
7909
- return O.jsx(Vf, { ...lt, children: O.jsxs(Bt, { ref: Ht.root, ...pi, className: ft("mantine-datatable", { "mantine-datatable-with-border": i }, Ln, ln?.root), style: [(He) => ({ ...$b({ theme: He, c: tt, backgroundColor: Rt, borderColor: ht, rowBorderColor: nt, stripedColor: Cn, highlightOnHoverColor: Ct }), borderRadius: He.radius[n] || n, boxShadow: He.shadows[g] || g, height: s, minHeight: u, maxHeight: p }), br, un?.root, { position: "relative" }], children: [O.jsx(Hb, { viewportRef: zn, leftShadowBehind: ir || !!M, rightShadowBehind: L, onScrollPositionChange: Un, scrollAreaProps: Ft, children: O.jsx(Rs, { children: O.jsxs(Qm, { ref: Ir, horizontalSpacing: $, className: ft("mantine-datatable-table", { [_b]: r, "mantine-datatable-vertical-align-top": d === "top", "mantine-datatable-vertical-align-bottom": d === "bottom", "mantine-datatable-pin-last-column": L, "mantine-datatable-selection-column-visible": ir, "mantine-datatable-pin-first-column": M, "mantine-datatable-resizable-columns": Ve }, ln?.table), style: { ...un?.table }, "data-striped": Br && _ || void 0, "data-highlight-on-hover": c || void 0, ...fn, children: [k ? null : O.jsx(Vf, { ...lt, children: O.jsx(Lb, { ref: Ht.header, selectionColumnHeaderRef: Ht.selectionColumnHeader, className: ln?.header, style: un?.header, columns: vt, defaultColumnProps: I, groups: N, sortStatus: ne, sortIcons: Ce, onSortStatusChange: De, selectionTrigger: ae, selectionVisible: ir, selectionChecked: Fr, selectionIndeterminate: As && !Fr, onSelectionChange: Os, selectionCheckboxProps: { ...G, ...he }, selectorCellShadowVisible: Ur, selectionColumnClassName: Z, selectionColumnStyle: te }) }), O.jsx("tbody", { ref: Ut, children: Br ? oe.map((He, $n) => {
7909
+ return O.jsx(Vf, { ...lt, children: O.jsxs(Bt, { ref: Ht.root, ...pi, className: ft("mantine-datatable", { "mantine-datatable-with-border": i }, Ln, ln?.root), style: [(He) => ({ ...$b({ theme: He, c: tt, backgroundColor: Rt, borderColor: ht, rowBorderColor: nt, stripedColor: Cn, highlightOnHoverColor: Ct }), borderRadius: He.radius[n] || n, boxShadow: He.shadows[g] || g, height: s, minHeight: u, maxHeight: p }), br, un?.root, { position: "relative" }], children: [O.jsx(Hb, { viewportRef: zn, leftShadowBehind: ir || !!M, rightShadowBehind: L, onScrollPositionChange: Un, scrollAreaProps: Ft, children: O.jsx(Rs, { children: O.jsxs(Qm, { ref: Ir, horizontalSpacing: $, className: ft("mantine-datatable-table", { [_b]: r, "mantine-datatable-vertical-align-top": d === "top", "mantine-datatable-vertical-align-bottom": d === "bottom", "mantine-datatable-pin-last-column": L, "mantine-datatable-selection-column-visible": ir, "mantine-datatable-pin-first-column": M, "mantine-datatable-resizable-columns": Ve }, ln?.table), style: { ...un?.table }, "data-striped": Br && _ || void 0, "data-highlight-on-hover": c || void 0, ...fn, children: [k ? null : O.jsx(Vf, { ...lt, children: O.jsx(Lb, { ref: Ht.header, selectionColumnHeaderRef: Ht.selectionColumnHeader, className: ln?.header, style: un?.header, columns: vt, defaultColumnProps: I, groups: N, sortStatus: ne, sortIcons: Se, onSortStatusChange: De, selectionTrigger: ae, selectionVisible: ir, selectionChecked: Fr, selectionIndeterminate: As && !Fr, onSelectionChange: Os, selectionCheckboxProps: { ...G, ...he }, selectorCellShadowVisible: Ur, selectionColumnClassName: Z, selectionColumnStyle: te }) }), O.jsx("tbody", { ref: Ut, children: Br ? oe.map((He, $n) => {
7910
7910
  let zr = It(He, q), gi = or?.includes(zr) || !1, vi;
7911
7911
  return ue && se && (vi = (to) => {
7912
7912
  if (to.nativeEvent.shiftKey && xr !== null) {
@@ -7914,7 +7914,7 @@ function Gb({ withTableBorder: i, borderRadius: n, textSelectionDisabled: r, hei
7914
7914
  ue(gi ? vb(se, In, (Hn) => It(Hn, q)) : Za([...se, ...In], (Hn) => It(Hn, q)));
7915
7915
  } else ue(gi ? se.filter((In) => It(In, q) !== zr) : Za([...se, He], (In) => It(In, q)));
7916
7916
  eo($n);
7917
- }), O.jsx(zb, { record: He, index: $n, columns: vt, defaultColumnProps: I, defaultColumnRender: j, selectionTrigger: ae, selectionVisible: ir, selectionChecked: gi, onSelectionChange: vi, isRecordSelectable: Q, selectionCheckboxProps: G, getSelectionCheckboxProps: fe, onClick: F, onDoubleClick: ee, onCellClick: be, onCellDoubleClick: Re, onContextMenu: Se, onCellContextMenu: ve, expansion: jr, color: Sn, backgroundColor: St, className: Dn, style: gt, customAttributes: sn, selectorCellShadowVisible: Ur, selectionColumnClassName: Z, selectionColumnStyle: te, idAccessor: q, rowFactory: Nn }, zr);
7917
+ }), O.jsx(zb, { record: He, index: $n, columns: vt, defaultColumnProps: I, defaultColumnRender: j, selectionTrigger: ae, selectionVisible: ir, selectionChecked: gi, onSelectionChange: vi, isRecordSelectable: Q, selectionCheckboxProps: G, getSelectionCheckboxProps: fe, onClick: F, onDoubleClick: ee, onCellClick: be, onCellDoubleClick: Re, onContextMenu: Ce, onCellContextMenu: ve, expansion: jr, color: Sn, backgroundColor: St, className: Dn, style: gt, customAttributes: sn, selectorCellShadowVisible: Ur, selectionColumnClassName: Z, selectionColumnStyle: te, idAccessor: q, rowFactory: Nn }, zr);
7918
7918
  }) : O.jsx(sb, {}) }), vt.some(({ footer: He }) => He) && O.jsx(xb, { ref: Ht.footer, className: ln?.footer, style: un?.footer, columns: vt, defaultColumnProps: I, selectionVisible: ir, selectorCellShadowVisible: Ur })] }) }) }), P && O.jsx(Yb, { className: ln?.pagination, style: un?.pagination, horizontalSpacing: $, fetching: S, page: P, onPageChange: qn, totalRecords: v, recordsPerPage: f, onRecordsPerPageChange: w, recordsPerPageOptions: h, recordsPerPageLabel: m, paginationWithEdges: C, paginationWithControls: E, paginationActiveTextColor: H, paginationActiveBackgroundColor: ie, paginationSize: le, paginationText: ye, paginationWrapBreakpoint: J, getPaginationControlProps: _e, noRecordsText: xe, loadingText: V, recordsLength: Br }), O.jsx(Nb, { fetching: S, backgroundBlur: me, customContent: ge, size: B, type: K, color: W }), O.jsx(lb, { icon: l, text: xe, active: !S && !Br, children: X })] }) });
7919
7919
  }
7920
7920
  var Ui = { exports: {} };
@@ -7930,7 +7930,7 @@ var Vb = Ui.exports, nh;
7930
7930
  function Kb() {
7931
7931
  return nh || (nh = 1, function(i, n) {
7932
7932
  (function() {
7933
- var r, s = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", g = "Expected a function", d = "Invalid `variable` option passed into `_.template`", S = "__lodash_hash_undefined__", D = 500, R = "__lodash_placeholder__", N = 1, M = 2, L = 4, I = 1, j = 2, q = 1, oe = 2, ae = 4, se = 8, ue = 16, Z = 32, te = 64, Q = 128, G = 256, he = 512, fe = 30, ne = "...", Ce = 800, De = 16, $ = 1, P = 2, A = 3, v = 1 / 0, f = 9007199254740991, w = 17976931348623157e292, h = NaN, m = 4294967295, C = m - 1, E = m >>> 1, H = [
7933
+ var r, s = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", g = "Expected a function", d = "Invalid `variable` option passed into `_.template`", S = "__lodash_hash_undefined__", D = 500, R = "__lodash_placeholder__", N = 1, M = 2, L = 4, I = 1, j = 2, q = 1, oe = 2, ae = 4, se = 8, ue = 16, Z = 32, te = 64, Q = 128, G = 256, he = 512, fe = 30, ne = "...", Se = 800, De = 16, $ = 1, P = 2, A = 3, v = 1 / 0, f = 9007199254740991, w = 17976931348623157e292, h = NaN, m = 4294967295, C = m - 1, E = m >>> 1, H = [
7934
7934
  ["ary", Q],
7935
7935
  ["bind", q],
7936
7936
  ["bindKey", oe],
@@ -7940,7 +7940,7 @@ function Kb() {
7940
7940
  ["partial", Z],
7941
7941
  ["partialRight", te],
7942
7942
  ["rearg", G]
7943
- ], ie = "[object Arguments]", le = "[object Array]", ye = "[object AsyncFunction]", J = "[object Boolean]", _e = "[object Date]", me = "[object DOMException]", ge = "[object Error]", B = "[object Function]", K = "[object GeneratorFunction]", W = "[object Map]", V = "[object Number]", X = "[object Null]", xe = "[object Object]", l = "[object Promise]", c = "[object Proxy]", _ = "[object RegExp]", k = "[object Set]", F = "[object String]", ee = "[object Symbol]", Se = "[object Undefined]", be = "[object WeakMap]", Re = "[object WeakSet]", ve = "[object ArrayBuffer]", Pe = "[object DataView]", Le = "[object Float32Array]", Te = "[object Float64Array]", Qe = "[object Int8Array]", Ke = "[object Int16Array]", tt = "[object Int32Array]", Rt = "[object Uint8Array]", ht = "[object Uint8ClampedArray]", nt = "[object Uint16Array]", Cn = "[object Uint32Array]", Ct = /\b__p \+= '';/g, Sn = /\b(__p \+=) '' \+/g, St = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Wt = /&(?:amp|lt|gt|quot|#39);/g, Dn = /[&<>"']/g, gt = RegExp(Wt.source), sn = RegExp(Dn.source), an = /<%-([\s\S]+?)%>/g, Ft = /<%([\s\S]+?)%>/g, Mt = /<%=([\s\S]+?)%>/g, Ut = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zt = /^\w*$/, Qt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, qt = /[\\^$.*+?()[\]{}|]/g, Fe = RegExp(qt.source), ot = /^\s+/, kt = /\s/, Jt = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ln = /\{\n\/\* \[wrapped with (.+)\] \*/, ln = /,? & /, br = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, un = /[()=,{}\[\]\/\s]/, Nn = /\\(\\)?/g, cn = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, fn = /\w*$/, vt = /^[-+]0x[0-9a-f]+$/i, Ve = /^0b[01]+$/i, lt = /^\[object .+?Constructor\]$/, Ht = /^0o[0-7]+$/i, Un = /^(?:0|[1-9]\d*)$/, Ir = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, zn = /($^)/, jr = /['\n\r\u2028\u2029\\]/g, qn = "\\ud800-\\udfff", Br = "\\u0300-\\u036f", Xi = "\\ufe20-\\ufe2f", ir = "\\u20d0-\\u20ff", or = Br + Xi + ir, di = "\\u2700-\\u27bf", Yr = "a-z\\xdf-\\xf6\\xf8-\\xff", Wr = "\\xac\\xb1\\xd7\\xf7", Fr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", As = "\\u2000-\\u206f", Os = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", xr = "A-Z\\xc0-\\xd6\\xd8-\\xde", eo = "\\ufe0e\\ufe0f", Ur = Wr + Fr + As + Os, pi = "['’]", Rs = "[" + qn + "]", He = "[" + Ur + "]", $n = "[" + or + "]", zr = "\\d+", gi = "[" + di + "]", vi = "[" + Yr + "]", to = "[^" + qn + Ur + zr + di + Yr + xr + "]", In = "\\ud83c[\\udffb-\\udfff]", Hn = "(?:" + $n + "|" + In + ")", jn = "[^" + qn + "]", Es = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ps = "[\\ud800-\\udbff][\\udc00-\\udfff]", qr = "[" + xr + "]", El = "\\u200d", Pl = "(?:" + vi + "|" + to + ")", Kh = "(?:" + qr + "|" + to + ")", Tl = "(?:" + pi + "(?:d|ll|m|re|s|t|ve))?", Ml = "(?:" + pi + "(?:D|LL|M|RE|S|T|VE))?", kl = Hn + "?", Ll = "[" + eo + "]?", Zh = "(?:" + El + "(?:" + [jn, Es, Ps].join("|") + ")" + Ll + kl + ")*", Qh = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Jh = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nl = Ll + kl + Zh, Xh = "(?:" + [gi, Es, Ps].join("|") + ")" + Nl, ed = "(?:" + [jn + $n + "?", $n, Es, Ps, Rs].join("|") + ")", td = RegExp(pi, "g"), nd = RegExp($n, "g"), Ts = RegExp(In + "(?=" + In + ")|" + ed + Nl, "g"), rd = RegExp([
7943
+ ], ie = "[object Arguments]", le = "[object Array]", ye = "[object AsyncFunction]", J = "[object Boolean]", _e = "[object Date]", me = "[object DOMException]", ge = "[object Error]", B = "[object Function]", K = "[object GeneratorFunction]", W = "[object Map]", V = "[object Number]", X = "[object Null]", xe = "[object Object]", l = "[object Promise]", c = "[object Proxy]", _ = "[object RegExp]", k = "[object Set]", F = "[object String]", ee = "[object Symbol]", Ce = "[object Undefined]", be = "[object WeakMap]", Re = "[object WeakSet]", ve = "[object ArrayBuffer]", Pe = "[object DataView]", Le = "[object Float32Array]", Te = "[object Float64Array]", Qe = "[object Int8Array]", Ke = "[object Int16Array]", tt = "[object Int32Array]", Rt = "[object Uint8Array]", ht = "[object Uint8ClampedArray]", nt = "[object Uint16Array]", Cn = "[object Uint32Array]", Ct = /\b__p \+= '';/g, Sn = /\b(__p \+=) '' \+/g, St = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Wt = /&(?:amp|lt|gt|quot|#39);/g, Dn = /[&<>"']/g, gt = RegExp(Wt.source), sn = RegExp(Dn.source), an = /<%-([\s\S]+?)%>/g, Ft = /<%([\s\S]+?)%>/g, Mt = /<%=([\s\S]+?)%>/g, Ut = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, zt = /^\w*$/, Qt = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, qt = /[\\^$.*+?()[\]{}|]/g, Fe = RegExp(qt.source), ot = /^\s+/, kt = /\s/, Jt = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ln = /\{\n\/\* \[wrapped with (.+)\] \*/, ln = /,? & /, br = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, un = /[()=,{}\[\]\/\s]/, Nn = /\\(\\)?/g, cn = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, fn = /\w*$/, vt = /^[-+]0x[0-9a-f]+$/i, Ve = /^0b[01]+$/i, lt = /^\[object .+?Constructor\]$/, Ht = /^0o[0-7]+$/i, Un = /^(?:0|[1-9]\d*)$/, Ir = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, zn = /($^)/, jr = /['\n\r\u2028\u2029\\]/g, qn = "\\ud800-\\udfff", Br = "\\u0300-\\u036f", Xi = "\\ufe20-\\ufe2f", ir = "\\u20d0-\\u20ff", or = Br + Xi + ir, di = "\\u2700-\\u27bf", Yr = "a-z\\xdf-\\xf6\\xf8-\\xff", Wr = "\\xac\\xb1\\xd7\\xf7", Fr = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", As = "\\u2000-\\u206f", Os = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", xr = "A-Z\\xc0-\\xd6\\xd8-\\xde", eo = "\\ufe0e\\ufe0f", Ur = Wr + Fr + As + Os, pi = "['’]", Rs = "[" + qn + "]", He = "[" + Ur + "]", $n = "[" + or + "]", zr = "\\d+", gi = "[" + di + "]", vi = "[" + Yr + "]", to = "[^" + qn + Ur + zr + di + Yr + xr + "]", In = "\\ud83c[\\udffb-\\udfff]", Hn = "(?:" + $n + "|" + In + ")", jn = "[^" + qn + "]", Es = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ps = "[\\ud800-\\udbff][\\udc00-\\udfff]", qr = "[" + xr + "]", El = "\\u200d", Pl = "(?:" + vi + "|" + to + ")", Kh = "(?:" + qr + "|" + to + ")", Tl = "(?:" + pi + "(?:d|ll|m|re|s|t|ve))?", Ml = "(?:" + pi + "(?:D|LL|M|RE|S|T|VE))?", kl = Hn + "?", Ll = "[" + eo + "]?", Zh = "(?:" + El + "(?:" + [jn, Es, Ps].join("|") + ")" + Ll + kl + ")*", Qh = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Jh = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Nl = Ll + kl + Zh, Xh = "(?:" + [gi, Es, Ps].join("|") + ")" + Nl, ed = "(?:" + [jn + $n + "?", $n, Es, Ps, Rs].join("|") + ")", td = RegExp(pi, "g"), nd = RegExp($n, "g"), Ts = RegExp(In + "(?=" + In + ")|" + ed + Nl, "g"), rd = RegExp([
7944
7944
  qr + "?" + vi + "+" + Tl + "(?=" + [He, qr, "$"].join("|") + ")",
7945
7945
  Kh + "+" + Ml + "(?=" + [He, qr + Pl, "$"].join("|") + ")",
7946
7946
  qr + "?" + Pl + "+" + Tl,
@@ -8921,7 +8921,7 @@ function Kb() {
8921
8921
  return Be(e) ? a : ar(a, o(e));
8922
8922
  }
8923
8923
  function Lt(e) {
8924
- return e == null ? e === r ? Se : X : Sr && Sr in rt(e) ? yg(e) : Tg(e);
8924
+ return e == null ? e === r ? Ce : X : Sr && Sr in rt(e) ? yg(e) : Tg(e);
8925
8925
  }
8926
8926
  function Qs(e, t) {
8927
8927
  return e > t;
@@ -10110,7 +10110,7 @@ function Kb() {
10110
10110
  return function() {
10111
10111
  var a = Qd(), y = De - (a - o);
10112
10112
  if (o = a, y > 0) {
10113
- if (++t >= Ce)
10113
+ if (++t >= Se)
10114
10114
  return arguments[0];
10115
10115
  } else
10116
10116
  t = 0;
@@ -11592,7 +11592,7 @@ function print() { __p += __j.call(arguments, '') }
11592
11592
  }
11593
11593
  var rh = Kb();
11594
11594
  function Zb(i) {
11595
- const n = kn.c(45), {
11595
+ const n = kn.c(44), {
11596
11596
  fields: r,
11597
11597
  onClose: s,
11598
11598
  queryKey: u,
@@ -11640,10 +11640,10 @@ function Zb(i) {
11640
11640
  n[17] !== G ? (ne = function(w) {
11641
11641
  return w.conditional ? w.conditional(G.getValues()) : !0;
11642
11642
  }, n[17] = G, n[18] = ne) : ne = n[18];
11643
- const Ce = ne;
11643
+ const Se = ne;
11644
11644
  let De;
11645
- n[19] !== G || n[20] !== g || n[21] !== Ce ? (De = function(w) {
11646
- return Ce(w) ? /* @__PURE__ */ O.jsxs(sh, { children: [
11645
+ n[19] !== G || n[20] !== g || n[21] !== Se ? (De = function(w) {
11646
+ return Se(w) ? /* @__PURE__ */ O.jsxs(sh, { children: [
11647
11647
  (w.type === void 0 || w.type == "text") && /* @__PURE__ */ O.jsx(lh, { label: w.column.title, placeholder: w.placeholder ?? "", ...G.getInputProps(w.id), type: w.id.includes("email") ? "email" : void 0 }, G.key(w.id)),
11648
11648
  w.type === "number" && /* @__PURE__ */ O.jsx(uh, { decimalSeparator: ",", label: w.column.title, placeholder: w.placeholder ?? "", ...G.getInputProps(w.id) }, G.key(w.id)),
11649
11649
  w.type === "date" && /* @__PURE__ */ O.jsx(bs, { label: w.column.title, placeholder: w.placeholder ?? "", valueFormat: "DD.MM.YYYY", clearable: !0, ...G.getInputProps(w.id) }, G.key(w.id)),
@@ -11656,12 +11656,12 @@ function Zb(i) {
11656
11656
  id: g
11657
11657
  }, G.setValues, N)
11658
11658
  ] }, w.id) : null;
11659
- }, n[19] = G, n[20] = g, n[21] = Ce, n[22] = De) : De = n[22];
11659
+ }, n[19] = G, n[20] = g, n[21] = Se, n[22] = De) : De = n[22];
11660
11660
  const $ = De;
11661
11661
  let P;
11662
11662
  n[23] !== j || n[24] !== q?.message || n[25] !== q?.name ? (P = j && /* @__PURE__ */ O.jsx(os, { variant: "outline", color: "red", title: q?.name ?? "Fehler aufgetreten", mb: "lg", children: q?.message ?? "Fehler aufgetreten" }), n[23] = j, n[24] = q?.message, n[25] = q?.name, n[26] = P) : P = n[26];
11663
11663
  let A;
11664
- n[27] !== S || n[28] !== r || n[29] !== G || n[30] !== R || n[31] !== g || n[32] !== L || n[33] !== oe || n[34] !== j || n[35] !== s || n[36] !== $ || n[37] !== Ce || n[38] !== d || n[39] !== ue || n[40] !== I ? (A = L ? /* @__PURE__ */ O.jsxs(dl, { gap: "md", children: [
11664
+ n[27] !== S || n[28] !== r || n[29] !== G || n[30] !== R || n[31] !== g || n[32] !== L || n[33] !== oe || n[34] !== j || n[35] !== s || n[36] !== $ || n[37] !== d || n[38] !== ue || n[39] !== I ? (A = L ? /* @__PURE__ */ O.jsxs(dl, { gap: "md", children: [
11665
11665
  /* @__PURE__ */ O.jsx(si, { height: 40 }),
11666
11666
  Array(r.length).fill(0).map(Qb),
11667
11667
  /* @__PURE__ */ O.jsxs(nr, { mt: "md", justify: "end", children: [
@@ -11676,17 +11676,17 @@ function Zb(i) {
11676
11676
  }), children: [
11677
11677
  ue.length ? /* @__PURE__ */ O.jsx(Jo, { active: S, size: "sm", children: ue.map((f) => /* @__PURE__ */ O.jsx(Jo.Step, { ...d && d[f - 1] ? {
11678
11678
  label: d[f - 1].label
11679
- } : {}, children: r.filter((w) => w.step === f && Ce(w)).map((w) => $(w)) }, f)) }) : r.filter(Ce).map((f) => $(f)),
11679
+ } : {}, children: r.filter((w) => w.step === f).map((w) => $(w)) }, f)) }) : r.map((f) => $(f)),
11680
11680
  !R && /* @__PURE__ */ O.jsxs(nr, { mt: "md", justify: "end", children: [
11681
11681
  /* @__PURE__ */ O.jsx(rr, { onClick: () => ue.length ? S === 0 ? s() : D(S - 1) : s(), variant: "outline", children: ue.length ? S === 0 ? "Abbrechen" : "Zurück" : "Abbrechen" }),
11682
11682
  /* @__PURE__ */ O.jsx(rr, { type: "submit", loading: oe, children: ue.length ? S === ue.length - 1 ? "Speichern" : "Weiter" : "Speichern" })
11683
11683
  ] })
11684
- ] }), n[27] = S, n[28] = r, n[29] = G, n[30] = R, n[31] = g, n[32] = L, n[33] = oe, n[34] = j, n[35] = s, n[36] = $, n[37] = Ce, n[38] = d, n[39] = ue, n[40] = I, n[41] = A) : A = n[41];
11684
+ ] }), n[27] = S, n[28] = r, n[29] = G, n[30] = R, n[31] = g, n[32] = L, n[33] = oe, n[34] = j, n[35] = s, n[36] = $, n[37] = d, n[38] = ue, n[39] = I, n[40] = A) : A = n[40];
11685
11685
  let v;
11686
- return n[42] !== P || n[43] !== A ? (v = /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
11686
+ return n[41] !== P || n[42] !== A ? (v = /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
11687
11687
  P,
11688
11688
  A
11689
- ] }), n[42] = P, n[43] = A, n[44] = v) : v = n[44], v;
11689
+ ] }), n[41] = P, n[42] = A, n[43] = v) : v = n[43], v;
11690
11690
  }
11691
11691
  function Qb(i, n) {
11692
11692
  return /* @__PURE__ */ O.jsx(si, { height: 35 }, `skeleton-field-${n}`);
@@ -11792,9 +11792,9 @@ function sx(i) {
11792
11792
  } else
11793
11793
  he = n[6], fe = n[7];
11794
11794
  const ne = fe;
11795
- let Ce;
11796
- n[8] !== te || n[9] !== s ? (Ce = te ? [...s, te] : s, n[8] = te, n[9] = s, n[10] = Ce) : Ce = n[10];
11797
- const De = Ce, {
11795
+ let Se;
11796
+ n[8] !== te || n[9] !== s ? (Se = te ? [...s, te] : s, n[8] = te, n[9] = s, n[10] = Se) : Se = n[10];
11797
+ const De = Se, {
11798
11798
  data: $,
11799
11799
  isLoading: P,
11800
11800
  isError: A,
@@ -11870,14 +11870,14 @@ function sx(i) {
11870
11870
  }, n[40] = F) : F = n[40];
11871
11871
  let ee;
11872
11872
  n[41] !== V ? (ee = [V], n[41] = V, n[42] = ee) : ee = n[42], xt(F, ee);
11873
- let Se, be;
11874
- n[43] !== xe || n[44] !== V || n[45] !== D || n[46] !== ge ? (Se = () => {
11873
+ let Ce, be;
11874
+ n[43] !== xe || n[44] !== V || n[45] !== D || n[46] !== ge ? (Ce = () => {
11875
11875
  if (D) {
11876
11876
  const Ve = (xe - 1) * V, lt = Ve + V;
11877
11877
  k(ge.slice(Ve, lt));
11878
11878
  } else
11879
11879
  k(ge);
11880
- }, be = [xe, ge, D, V], n[43] = xe, n[44] = V, n[45] = D, n[46] = ge, n[47] = Se, n[48] = be) : (Se = n[47], be = n[48]), xt(Se, be);
11880
+ }, be = [xe, ge, D, V], n[43] = xe, n[44] = V, n[45] = D, n[46] = ge, n[47] = Ce, n[48] = be) : (Ce = n[47], be = n[48]), xt(Ce, be);
11881
11881
  let Re;
11882
11882
  n[49] === Symbol.for("react.memo_cache_sentinel") ? (Re = [], n[49] = Re) : Re = n[49];
11883
11883
  const [ve, Pe] = Xe(Re);