@nice2dev/ui-core 1.1.10 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import be, { createContext as Q, useContext as U, useState as C, useRef as H, useCallback as k, useEffect as E, useId as Ut, useMemo as _, useSyncExternalStore as Ur, Profiler as Kr, memo as Gr, startTransition as Kt, useDeferredValue as Ct, useTransition as Jr } from "react";
2
2
  import { jsx as M, jsxs as F, Fragment as Fe } from "react/jsx-runtime";
3
3
  import { NiceI18nLazyProvider as Yr, useNiceTranslation as ge } from "@nice2dev/i18n";
4
- import { NICE_I18N_DICTIONARIES as lu, NICE_SUPPORTED_LANGS as du, NiceI18nLazyProvider as uu, NiceI18nProvider as fu, createICUTranslator as mu, formatICU as pu, getLoadedNiceDictionary as gu, loadNiceDictionary as yu, useNiceTranslation as hu } from "@nice2dev/i18n";
4
+ import { NICE_SUPPORTED_LANGS as du, NiceI18nLazyProvider as uu, NiceI18nProvider as fu, createICUTranslator as mu, formatICU as pu, getLoadedNiceDictionary as gu, loadNiceDictionary as yu, useNiceTranslation as hu } from "@nice2dev/i18n";
5
5
  const Qr = {
6
6
  small: "sm",
7
7
  medium: "md",
@@ -477,7 +477,7 @@ function ea(e, t) {
477
477
  return {
478
478
  ...r,
479
479
  background: t,
480
- color: "var(--nice-text-on-primary, #fff)",
480
+ color: "var(--nice-color-white, #fff)",
481
481
  padding: "2px 8px",
482
482
  borderRadius: "4px"
483
483
  };
@@ -505,7 +505,7 @@ function ea(e, t) {
505
505
  return {
506
506
  ...r,
507
507
  background: t,
508
- color: "var(--nice-text-on-primary, #fff)",
508
+ color: "var(--nice-color-white, #fff)",
509
509
  padding: "2px 12px",
510
510
  borderRadius: "9999px"
511
511
  };
@@ -532,7 +532,7 @@ function ta(e, t) {
532
532
  case "pills":
533
533
  return {
534
534
  background: t,
535
- color: "var(--nice-text-on-primary, #fff)",
535
+ color: "var(--nice-color-white, #fff)",
536
536
  borderRadius: "9999px",
537
537
  padding: "6px 16px"
538
538
  };
@@ -619,7 +619,7 @@ function aa(e) {
619
619
  return {
620
620
  background: "var(--nice-overlay-light-15, rgba(255, 255, 255, 0.15))",
621
621
  backdropFilter: "blur(12px)",
622
- color: "var(--nice-text-on-primary, #fff)",
622
+ color: "var(--nice-color-white, #fff)",
623
623
  borderRadius: "8px",
624
624
  padding: "8px 14px"
625
625
  };
@@ -3443,7 +3443,7 @@ const Qc = ({
3443
3443
  width: a,
3444
3444
  background: N.color,
3445
3445
  border: "none",
3446
- color: "var(--nice-text-on-primary, #fff)",
3446
+ color: "var(--nice-color-white, #fff)",
3447
3447
  display: "flex",
3448
3448
  alignItems: "center",
3449
3449
  justifyContent: "center",
@@ -3476,7 +3476,7 @@ const Qc = ({
3476
3476
  width: a,
3477
3477
  background: N.color,
3478
3478
  border: "none",
3479
- color: "var(--nice-text-on-primary, #fff)",
3479
+ color: "var(--nice-color-white, #fff)",
3480
3480
  display: "flex",
3481
3481
  alignItems: "center",
3482
3482
  justifyContent: "center",
@@ -4432,6 +4432,20 @@ function cr(e) {
4432
4432
  const t = e.trim().match(/^var\(\s*[^,\s)]+\s*(?:,\s*(.+))?\)$/);
4433
4433
  return t != null && t[1] ? cr(t[1]) : e;
4434
4434
  }
4435
+ function Sl() {
4436
+ const e = globalThis.crypto;
4437
+ if (typeof (e == null ? void 0 : e.randomUUID) == "function")
4438
+ return e.randomUUID();
4439
+ const t = new Uint8Array(16);
4440
+ if (typeof (e == null ? void 0 : e.getRandomValues) == "function")
4441
+ e.getRandomValues(t);
4442
+ else
4443
+ for (let a = 0; a < t.length; a++)
4444
+ t[a] = Math.floor(Math.random() * 256);
4445
+ t[6] = t[6] & 15 | 64, t[8] = t[8] & 63 | 128;
4446
+ const r = Array.from(t, (a) => a.toString(16).padStart(2, "0")).join("");
4447
+ return `${r.slice(0, 8)}-${r.slice(8, 12)}-${r.slice(12, 16)}-${r.slice(16, 20)}-${r.slice(20)}`;
4448
+ }
4435
4449
  const Ea = (e) => [
4436
4450
  ...e
4437
4451
  ], Ta = () => {
@@ -4441,7 +4455,7 @@ const Ea = (e) => [
4441
4455
  setItem: (t, r) => (e.set(t, r), Promise.resolve())
4442
4456
  };
4443
4457
  };
4444
- function Sl(e = {}) {
4458
+ function xl(e = {}) {
4445
4459
  var m, y;
4446
4460
  const t = e.permissionPolicy ?? Ea, r = e.storage;
4447
4461
  let a;
@@ -4618,6 +4632,10 @@ const lr = {
4618
4632
  "text.inverse": "--text-inverse",
4619
4633
  "text.onPrimary": "--text-on-primary",
4620
4634
  "text.onAccent": "--text-on-accent",
4635
+ "text.onSuccess": "--text-on-success",
4636
+ "text.onError": "--text-on-error",
4637
+ "text.onInfo": "--text-on-info",
4638
+ "text.onWarning": "--text-on-warning",
4621
4639
  // Borders
4622
4640
  "borders.color": "--border-color",
4623
4641
  "borders.radiusSm": "--nice-radius-sm",
@@ -4699,7 +4717,7 @@ function ot(e) {
4699
4717
  }
4700
4718
  return t;
4701
4719
  }
4702
- function xl(e, t) {
4720
+ function wl(e, t) {
4703
4721
  const r = t ?? document.documentElement, a = ot(e);
4704
4722
  for (const [n, o] of Object.entries(a))
4705
4723
  r.style.setProperty(n, o);
@@ -4757,7 +4775,7 @@ function $a(e) {
4757
4775
  t.style.removeProperty(`--nice-${r}-level-${a}-bg`), t.style.removeProperty(`--nice-${r}-level-${a}-text`), t.style.removeProperty(`--nice-${r}-level-${a}-hover-bg`), t.style.removeProperty(`--nice-${r}-level-${a}-active-bg`), t.style.removeProperty(`--nice-${r}-level-${a}-border`);
4758
4776
  }
4759
4777
  }
4760
- function wl(e) {
4778
+ function Ml(e) {
4761
4779
  const t = e ?? document.documentElement, r = getComputedStyle(t), a = (i) => r.getPropertyValue(i).trim(), n = (i) => parseFloat(r.getPropertyValue(i)) || 0, o = (i) => a(i) || void 0;
4762
4780
  return {
4763
4781
  name: "Current",
@@ -4794,7 +4812,11 @@ function wl(e) {
4794
4812
  muted: a("--text-muted"),
4795
4813
  inverse: o("--text-inverse"),
4796
4814
  onPrimary: o("--text-on-primary"),
4797
- onAccent: o("--text-on-accent")
4815
+ onAccent: o("--text-on-accent"),
4816
+ onSuccess: o("--text-on-success"),
4817
+ onError: o("--text-on-error"),
4818
+ onInfo: o("--text-on-info"),
4819
+ onWarning: o("--text-on-warning")
4798
4820
  },
4799
4821
  borders: {
4800
4822
  color: a("--border-color"),
@@ -4854,10 +4876,10 @@ function wl(e) {
4854
4876
  darkMode: t.dataset.ntdColorScheme ?? void 0
4855
4877
  };
4856
4878
  }
4857
- function Ml(e) {
4879
+ function kl(e) {
4858
4880
  return JSON.stringify(e, null, 2);
4859
4881
  }
4860
- function kl(e) {
4882
+ function Al(e) {
4861
4883
  const t = JSON.parse(e);
4862
4884
  if (!t || typeof t != "object" || !t.name || !t.colors || !t.backgrounds)
4863
4885
  throw new Error("Invalid theme format: missing required fields (name, colors, backgrounds)");
@@ -4935,7 +4957,7 @@ function Wa(e, t, r, a) {
4935
4957
  return n[`--nice-${e}-levels`] = String(o), n;
4936
4958
  }
4937
4959
  const ur = Q(null);
4938
- function Al() {
4960
+ function Cl() {
4939
4961
  const e = U(ur);
4940
4962
  if (!e)
4941
4963
  throw new Error("useNiceTheme must be used within a NiceThemeProvider");
@@ -5387,7 +5409,8 @@ const Va = $(
5387
5409
  info: "#22d3ee"
5388
5410
  },
5389
5411
  { primary: "#030712", secondary: "#111827", tertiary: "#1f2937", hover: "#1f2937" },
5390
- { primary: "#e5e7eb", secondary: "#9ca3af", muted: "#4b5563" },
5412
+ // indigo-500 is a dark fill: white on it reads better than the dark default of dark themes
5413
+ { primary: "#e5e7eb", secondary: "#9ca3af", muted: "#4b5563", onPrimary: "#ffffff" },
5391
5414
  "#374151"
5392
5415
  ), bn = j(
5393
5416
  "Nebula",
@@ -5829,7 +5852,8 @@ const Va = $(
5829
5852
  info: "#2aa198"
5830
5853
  },
5831
5854
  { primary: "#002b36", secondary: "#073642", tertiary: "#0a4858", hover: "#073642" },
5832
- { primary: "#eee8d5", secondary: "#93a1a1", muted: "#586e75" },
5855
+ // Solarized red is a dark fill: white on it is 4.63 : 1, the dark default 3.86
5856
+ { primary: "#eee8d5", secondary: "#93a1a1", muted: "#586e75", onError: "#ffffff" },
5833
5857
  "#073642"
5834
5858
  ), Qn = j(
5835
5859
  "Monokai",
@@ -5933,7 +5957,8 @@ const Va = $(
5933
5957
  info: "#bf00ff"
5934
5958
  },
5935
5959
  { primary: "#0a0e17", secondary: "#131824", tertiary: "#1c2333", hover: "#1c2333" },
5936
- { primary: "#e0fbfc", secondary: "#80d4dd", muted: "#3a6b72" },
5960
+ // the purple info fill is dark: white on it is 4.51 : 1, the dark default 3.96
5961
+ { primary: "#e0fbfc", secondary: "#80d4dd", muted: "#3a6b72", onInfo: "#ffffff" },
5937
5962
  "#1c3a44"
5938
5963
  ), io = j(
5939
5964
  "Neon",
@@ -5985,7 +6010,8 @@ const Va = $(
5985
6010
  info: "#9333ea"
5986
6011
  },
5987
6012
  { primary: "#1a0a00", secondary: "#2d1500", tertiary: "#402000", hover: "#402000" },
5988
- { primary: "#ffedd5", secondary: "#fdba74", muted: "#9a5c28" },
6013
+ // purple-600 info is a dark fill: white on it is 5.38 : 1, the dark default 3.32
6014
+ { primary: "#ffedd5", secondary: "#fdba74", muted: "#9a5c28", onInfo: "#ffffff" },
5989
6015
  "#5c3400"
5990
6016
  ), uo = $(
5991
6017
  "Valentine",
@@ -6584,13 +6610,15 @@ const Va = $(
6584
6610
  }, Ee = { fast: "120ms ease", normal: "200ms ease", slow: "300ms ease" }, mr = {
6585
6611
  name: "Light",
6586
6612
  darkMode: "light",
6613
+ // The same AA palette as the light block of controls.css (`scripts/audit-contrast.mjs`): white
6614
+ // text on every fill ≥ 4.5 : 1; warning keeps its amber and takes dark text.
6587
6615
  colors: {
6588
- primary: "#3b82f6",
6589
- primaryHover: "#2563eb",
6590
- success: "#10b981",
6616
+ primary: "#2563eb",
6617
+ primaryHover: "#1d4ed8",
6618
+ success: "#047857",
6591
6619
  warning: "#f59e0b",
6592
- error: "#ef4444",
6593
- info: "#06b6d4",
6620
+ error: "#dc2626",
6621
+ info: "#0e7490",
6594
6622
  surface: "#ffffff",
6595
6623
  surfaceHover: "#f8fafc"
6596
6624
  },
@@ -6603,7 +6631,7 @@ const Va = $(
6603
6631
  inset: "#f1f5f9",
6604
6632
  canvas: "#f8fafc"
6605
6633
  },
6606
- text: { primary: "#0f172a", secondary: "#475569", muted: "#94a3b8", inverse: "#ffffff" },
6634
+ text: { primary: "#0f172a", secondary: "#475569", muted: "#64748b", inverse: "#ffffff" },
6607
6635
  borders: ze,
6608
6636
  shadows: {
6609
6637
  sm: "0 1px 2px rgba(0,0,0,0.05)",
@@ -6636,7 +6664,8 @@ const Va = $(
6636
6664
  inset: "#0a0a0a",
6637
6665
  canvas: "#0a0a0a"
6638
6666
  },
6639
- text: { primary: "#ffffff", secondary: "#a1a1a1", muted: "#6b6b6b", inverse: "#0f172a" },
6667
+ // muted: #6b6b6b was 3.9 : 1 on the background — #858585 is AA on primary and secondary
6668
+ text: { primary: "#ffffff", secondary: "#a1a1a1", muted: "#858585", inverse: "#0f172a" },
6640
6669
  borders: { ...ze, color: "#2a2a2a" },
6641
6670
  shadows: {
6642
6671
  sm: "0 1px 2px rgba(0,0,0,0.5)",
@@ -7046,10 +7075,10 @@ const pr = ({
7046
7075
  ) }) });
7047
7076
  };
7048
7077
  pr.displayName = "NiceThemeProvider";
7049
- function Cl(...e) {
7078
+ function Ll(...e) {
7050
7079
  return e.join("-");
7051
7080
  }
7052
- const Ll = {
7081
+ const Nl = {
7053
7082
  button: (e) => e ? `nice-button-${e}` : "nice-button",
7054
7083
  textInput: (e) => e ? `nice-text-input-${e}` : "nice-text-input",
7055
7084
  numberInput: (e) => e ? `nice-number-input-${e}` : "nice-number-input",
@@ -7089,7 +7118,7 @@ const Ll = {
7089
7118
  })), n;
7090
7119
  };
7091
7120
  jo.displayName = "NiceTestWrapper";
7092
- function Nl(e, t, r) {
7121
+ function zl(e, t, r) {
7093
7122
  const a = new KeyboardEvent("keydown", {
7094
7123
  key: t,
7095
7124
  bubbles: !0,
@@ -7098,12 +7127,12 @@ function Nl(e, t, r) {
7098
7127
  });
7099
7128
  e.dispatchEvent(a);
7100
7129
  }
7101
- function zl(e, t) {
7130
+ function El(e, t) {
7102
7131
  var a, n;
7103
7132
  const r = ((a = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype, "value")) == null ? void 0 : a.set) || ((n = Object.getOwnPropertyDescriptor(window.HTMLTextAreaElement.prototype, "value")) == null ? void 0 : n.set);
7104
7133
  r && r.call(e, t), e.dispatchEvent(new Event("input", { bubbles: !0 })), e.dispatchEvent(new Event("change", { bubbles: !0 }));
7105
7134
  }
7106
- function El(e) {
7135
+ function Tl(e) {
7107
7136
  const { data: t, delay: r = 0, keyField: a = "id" } = e;
7108
7137
  let n = [...t];
7109
7138
  return {
@@ -7123,7 +7152,7 @@ function El(e) {
7123
7152
  }
7124
7153
  };
7125
7154
  }
7126
- function Tl(e) {
7155
+ function Il(e) {
7127
7156
  const t = [];
7128
7157
  return e.querySelectorAll(
7129
7158
  'button, input, select, textarea, [role="button"], [role="link"], [role="checkbox"], [role="radio"]'
@@ -7166,7 +7195,7 @@ function Go() {
7166
7195
  function Jo(e) {
7167
7196
  return te.get(e);
7168
7197
  }
7169
- function Il(e = 100) {
7198
+ function Hl(e = 100) {
7170
7199
  return We.slice(-e);
7171
7200
  }
7172
7201
  function yr() {
@@ -7197,7 +7226,7 @@ function Qo(e) {
7197
7226
  function ee(e) {
7198
7227
  return e < 1 ? `${(e * 1e3).toFixed(0)}μs` : e < 1e3 ? `${e.toFixed(2)}ms` : `${(e / 1e3).toFixed(2)}s`;
7199
7228
  }
7200
- const Hl = ({
7229
+ const Rl = ({
7201
7230
  id: e,
7202
7231
  children: t,
7203
7232
  onRender: r,
@@ -7281,11 +7310,11 @@ function Zo(e, t) {
7281
7310
  ), r.current = t;
7282
7311
  });
7283
7312
  }
7284
- function Rl(e, t) {
7313
+ function $l(e, t) {
7285
7314
  const r = t || e.displayName || e.name || "Unknown", a = (n) => (Zo(r, n), /* @__PURE__ */ M(e, { ...n }));
7286
7315
  return a.displayName = `WhyDidYouRender(${r})`, a;
7287
7316
  }
7288
- function $l(e) {
7317
+ function Fl(e) {
7289
7318
  const t = H(0);
7290
7319
  return t.current++, E(() => {
7291
7320
  V.enabled && V.logToConsole && e && console.log(
@@ -7325,7 +7354,7 @@ function St(e) {
7325
7354
  `color: ${r > 100 ? "var(--nice-color-warning, #f59e0b)" : "var(--nice-color-success, #22c55e)"}`
7326
7355
  ), r;
7327
7356
  }
7328
- async function Fl(e, t, r) {
7357
+ async function Dl(e, t, r) {
7329
7358
  vt(e, r);
7330
7359
  try {
7331
7360
  return await t();
@@ -7333,7 +7362,7 @@ async function Fl(e, t, r) {
7333
7362
  St(e);
7334
7363
  }
7335
7364
  }
7336
- function Dl(e, t, r) {
7365
+ function Pl(e, t, r) {
7337
7366
  vt(e, r);
7338
7367
  try {
7339
7368
  return t();
@@ -7341,7 +7370,7 @@ function Dl(e, t, r) {
7341
7370
  St(e);
7342
7371
  }
7343
7372
  }
7344
- function Pl(e, t, r) {
7373
+ function Bl(e, t, r) {
7345
7374
  E(() => {
7346
7375
  vt(e);
7347
7376
  const a = t();
@@ -7445,7 +7474,7 @@ const ai = Gr(
7445
7474
  style: {
7446
7475
  ...c,
7447
7476
  background: "var(--nice-overlay-85, rgba(0, 0, 0, 0.85))",
7448
- color: "var(--nice-text-on-primary, #fff)",
7477
+ color: "var(--nice-color-white, #fff)",
7449
7478
  borderRadius: 8,
7450
7479
  fontSize: 11,
7451
7480
  fontFamily: "Monaco, Consolas, monospace",
@@ -7571,7 +7600,7 @@ const ai = Gr(
7571
7600
  }
7572
7601
  );
7573
7602
  ai.displayName = "ProfilerOverlay";
7574
- function Bl() {
7603
+ function Ol() {
7575
7604
  gr && (window.__NICE2DEV_PROFILER__ = {
7576
7605
  getStats: Go,
7577
7606
  getComponentStats: Jo,
@@ -7635,13 +7664,13 @@ function ce(e, t, r = "warning", a, n) {
7635
7664
  ""
7636
7665
  ), (s = X.onLeak) == null || s.call(X, o);
7637
7666
  }
7638
- function Ol(e) {
7667
+ function Wl(e) {
7639
7668
  X = { ...X, ...e };
7640
7669
  }
7641
- function Wl() {
7670
+ function _l() {
7642
7671
  return [...Ve];
7643
7672
  }
7644
- function _l() {
7673
+ function Vl() {
7645
7674
  Ve.length = 0;
7646
7675
  }
7647
7676
  function ii() {
@@ -7650,7 +7679,7 @@ function ii() {
7650
7679
  {}
7651
7680
  );
7652
7681
  }
7653
- function Vl(e, t) {
7682
+ function Xl(e, t) {
7654
7683
  const [r, a] = C(e), n = H(!0), o = H(t);
7655
7684
  E(() => (n.current = !0, () => {
7656
7685
  n.current = !1;
@@ -7665,7 +7694,7 @@ function Vl(e, t) {
7665
7694
  }, []);
7666
7695
  return [r, i];
7667
7696
  }
7668
- function Xl(e) {
7697
+ function ql(e) {
7669
7698
  const t = H(null), r = H(e), a = k(() => {
7670
7699
  t.current && (clearTimeout(t.current), X.enabled && $e.delete(t.current), t.current = null);
7671
7700
  }, []), n = k(
@@ -7692,7 +7721,7 @@ function Xl(e) {
7692
7721
  };
7693
7722
  }, [a]), [n, a];
7694
7723
  }
7695
- function ql(e) {
7724
+ function jl(e) {
7696
7725
  const t = H(null), r = H(e), a = k(() => {
7697
7726
  t.current && (clearInterval(t.current), X.enabled && $e.delete(t.current), t.current = null);
7698
7727
  }, []), n = k(
@@ -7719,7 +7748,7 @@ function ql(e) {
7719
7748
  };
7720
7749
  }, [a]), [n, a];
7721
7750
  }
7722
- function jl(e) {
7751
+ function Ul(e) {
7723
7752
  const t = H([]), r = H(e);
7724
7753
  return E(() => {
7725
7754
  const a = t.current, n = r.current;
@@ -7775,7 +7804,7 @@ function si(e) {
7775
7804
  };
7776
7805
  }, []), k(() => (t.current && t.current.abort(), t.current = new AbortController(), t.current.signal), []);
7777
7806
  }
7778
- function Ul(e) {
7807
+ function Kl(e) {
7779
7808
  const t = si(e);
7780
7809
  return k(
7781
7810
  (r, a) => {
@@ -7785,7 +7814,7 @@ function Ul(e) {
7785
7814
  [t]
7786
7815
  );
7787
7816
  }
7788
- function Kl(e) {
7817
+ function Gl(e) {
7789
7818
  const t = H([]), r = H(e);
7790
7819
  return E(() => {
7791
7820
  const a = t.current, n = r.current;
@@ -7807,7 +7836,7 @@ function Kl(e) {
7807
7836
  typeof a == "function" ? t.current.push(a) : a && typeof a.unsubscribe == "function" && t.current.push(() => a.unsubscribe());
7808
7837
  }, []);
7809
7838
  }
7810
- function Gl(e, t, r) {
7839
+ function Jl(e, t, r) {
7811
7840
  const [a, n] = C(null), [o, i] = C(WebSocket.CLOSED), s = H(r);
7812
7841
  E(() => {
7813
7842
  if (!e)
@@ -7832,7 +7861,7 @@ function Gl(e, t, r) {
7832
7861
  );
7833
7862
  return { socket: a, readyState: o, send: c, close: l };
7834
7863
  }
7835
- function Jl(e, t) {
7864
+ function Yl(e, t) {
7836
7865
  const r = t || e.displayName || e.name || "Unknown", a = (n) => {
7837
7866
  const o = H({});
7838
7867
  return E(() => {
@@ -7849,7 +7878,7 @@ function Jl(e, t) {
7849
7878
  };
7850
7879
  return a.displayName = `LeakTracked(${r})`, a;
7851
7880
  }
7852
- function Yl(e) {
7881
+ function Ql(e) {
7853
7882
  const t = H(Date.now());
7854
7883
  E(() => {
7855
7884
  X.enabled && X.logToConsole && console.log(`%c[NTD] ${e} mounted`, "color: var(--nice-success, #22c55e)");
@@ -7865,7 +7894,7 @@ function Yl(e) {
7865
7894
  };
7866
7895
  }, [e]);
7867
7896
  }
7868
- async function Ql(e) {
7897
+ async function Zl(e) {
7869
7898
  if (!xt)
7870
7899
  return;
7871
7900
  const t = window.performance;
@@ -7886,13 +7915,13 @@ async function Ql(e) {
7886
7915
  "color: var(--nice-text-secondary, #64748b); font-style: italic"
7887
7916
  );
7888
7917
  }
7889
- function Zl() {
7918
+ function ed() {
7890
7919
  xt && (window.gc ? (window.gc(), console.log("%c[GC] Forced garbage collection", "color: var(--nice-success, #22c55e)")) : console.log(
7891
7920
  "%c[GC] gc() not available. Run Chrome with --expose-gc flag",
7892
7921
  "color: var(--nice-warning, #f59e0b)"
7893
7922
  ));
7894
7923
  }
7895
- function ed(e = 5e3, t = 100) {
7924
+ function td(e = 5e3, t = 100) {
7896
7925
  const [r, a] = C({
7897
7926
  usedMB: 0,
7898
7927
  totalMB: 0,
@@ -7924,7 +7953,7 @@ const ci = () => {
7924
7953
  return !X.enabled || t === 0, null;
7925
7954
  };
7926
7955
  ci.displayName = "NiceLeakDetectorStatus";
7927
- function td(e) {
7956
+ function rd(e) {
7928
7957
  const t = () => {
7929
7958
  var r;
7930
7959
  (r = e.queryClient) == null || r.invalidateQueries({ queryKey: e.queryKey });
@@ -7944,7 +7973,7 @@ function td(e) {
7944
7973
  } : void 0
7945
7974
  };
7946
7975
  }
7947
- function rd(e, t) {
7976
+ function ad(e, t) {
7948
7977
  return {
7949
7978
  load: async () => t.getData(e.getState()),
7950
7979
  insert: t.addItem ? async (r) => {
@@ -7961,7 +7990,7 @@ function rd(e, t) {
7961
7990
  } : void 0
7962
7991
  };
7963
7992
  }
7964
- function ad(e = {}) {
7993
+ function nd(e = {}) {
7965
7994
  const t = e.actionPrefix ?? "nice";
7966
7995
  return (r) => (a) => (n) => {
7967
7996
  const o = a(n);
@@ -7976,7 +8005,7 @@ function ad(e = {}) {
7976
8005
  return o;
7977
8006
  };
7978
8007
  }
7979
- function nd(e = "nice") {
8008
+ function od(e = "nice") {
7980
8009
  return {
7981
8010
  setGridState: (t, r) => ({
7982
8011
  type: `${e}/grid/${t}/setState`,
@@ -7999,7 +8028,7 @@ function nd(e = "nice") {
7999
8028
  })
8000
8029
  };
8001
8030
  }
8002
- function od(e = "nice") {
8031
+ function id(e = "nice") {
8003
8032
  return (t = {}, r) => {
8004
8033
  if (!r.type.startsWith(`${e}/`))
8005
8034
  return t;
@@ -8024,7 +8053,7 @@ function od(e = "nice") {
8024
8053
  }
8025
8054
  };
8026
8055
  }
8027
- function id(e) {
8056
+ function sd(e) {
8028
8057
  let t = null, r = [];
8029
8058
  return {
8030
8059
  load: async () => {
@@ -8067,7 +8096,7 @@ function id(e) {
8067
8096
  }
8068
8097
  };
8069
8098
  }
8070
- async function sd(e, t) {
8099
+ async function cd(e, t) {
8071
8100
  var l;
8072
8101
  const r = await fetch(e);
8073
8102
  if (!r.ok)
@@ -8096,7 +8125,7 @@ async function sd(e, t) {
8096
8125
  }
8097
8126
  return { columns: s, formFields: c, schema: o };
8098
8127
  }
8099
- function cd(e) {
8128
+ function ld(e) {
8100
8129
  const t = [];
8101
8130
  for (const [r, a] of Object.entries(e.properties ?? {}))
8102
8131
  t.push({
@@ -8107,7 +8136,7 @@ function cd(e) {
8107
8136
  });
8108
8137
  return t;
8109
8138
  }
8110
- function ld(e) {
8139
+ function dd(e) {
8111
8140
  const t = new Set(e.required ?? []), r = [];
8112
8141
  for (const [a, n] of Object.entries(e.properties ?? {})) {
8113
8142
  const o = wt(n);
@@ -8475,7 +8504,7 @@ const kt = Q({
8475
8504
  active: !1,
8476
8505
  run: () => {
8477
8506
  }
8478
- }), dd = ({
8507
+ }), ud = ({
8479
8508
  enabled: e = !0,
8480
8509
  active: t = !1,
8481
8510
  onRun: r,
@@ -8491,10 +8520,10 @@ const kt = Q({
8491
8520
  function hi() {
8492
8521
  return U(kt);
8493
8522
  }
8494
- function ud() {
8523
+ function fd() {
8495
8524
  return U(kt).enabled;
8496
8525
  }
8497
- function fd(e, t) {
8526
+ function md(e, t) {
8498
8527
  if (!e)
8499
8528
  return null;
8500
8529
  if (e === !0)
@@ -8516,7 +8545,7 @@ function bi(e, t) {
8516
8545
  disableInteraction: r.disableInteraction
8517
8546
  }));
8518
8547
  }
8519
- const md = ({
8548
+ const pd = ({
8520
8549
  steps: e,
8521
8550
  autoStart: t,
8522
8551
  label: r,
@@ -8592,7 +8621,7 @@ class vi {
8592
8621
  localStorage.removeItem(this.key);
8593
8622
  }
8594
8623
  }
8595
- class pd {
8624
+ class gd {
8596
8625
  constructor(t = "ntd-preferences", r = "preferences") {
8597
8626
  this.db = null, this.dbName = t, this.storeName = r;
8598
8627
  }
@@ -8632,7 +8661,7 @@ class pd {
8632
8661
  });
8633
8662
  }
8634
8663
  }
8635
- class gd {
8664
+ class yd {
8636
8665
  constructor(t, r) {
8637
8666
  this.baseUrl = t, this.getAuthHeaders = r;
8638
8667
  }
@@ -8689,10 +8718,10 @@ function Lr(e, t) {
8689
8718
  );
8690
8719
  return [o, i, s];
8691
8720
  }
8692
- function yd(e) {
8721
+ function hd(e) {
8693
8722
  return Lr(e, "grid");
8694
8723
  }
8695
- function hd(e) {
8724
+ function bd(e) {
8696
8725
  return Lr(e, "chart");
8697
8726
  }
8698
8727
  const Pt = {
@@ -8700,7 +8729,7 @@ const Pt = {
8700
8729
  global: {},
8701
8730
  controls: {}
8702
8731
  };
8703
- function bd({
8732
+ function vd({
8704
8733
  storage: e = new vi(),
8705
8734
  syncAdapter: t,
8706
8735
  autoSyncInterval: r = 0,
@@ -8890,7 +8919,7 @@ function bd({
8890
8919
  );
8891
8920
  return /* @__PURE__ */ M(Ar.Provider, { value: T, children: n });
8892
8921
  }
8893
- function vd({
8922
+ function Sd({
8894
8923
  showGlobal: e = !0,
8895
8924
  showControls: t = !0,
8896
8925
  showExportImport: r = !0,
@@ -9132,7 +9161,7 @@ function vd({
9132
9161
  }
9133
9162
  );
9134
9163
  }
9135
- const Sd = {
9164
+ const xd = {
9136
9165
  cookiesAllowed: !1,
9137
9166
  localStorageAllowed: !1,
9138
9167
  sessionStorageAllowed: !1,
@@ -9200,7 +9229,7 @@ const Sd = {
9200
9229
  "full",
9201
9230
  "custom"
9202
9231
  ];
9203
- function xd(e, t) {
9232
+ function wd(e, t) {
9204
9233
  const r = ke.indexOf(e), a = ke.indexOf(t);
9205
9234
  return r <= a ? e : t;
9206
9235
  }
@@ -9208,7 +9237,7 @@ function Je(e, t) {
9208
9237
  const r = ke.indexOf(e), a = ke.indexOf(t);
9209
9238
  return r <= a;
9210
9239
  }
9211
- function wd(e, t, r, a) {
9240
+ function Md(e, t, r, a) {
9212
9241
  let n = e.defaultMode, o = "instance";
9213
9242
  t && e.allowTenantOverride && Je(t.mode, n) && (n = t.mode, o = "tenant"), r && (t != null && t.allowGroupOverride) && Je(r.mode, n) && (n = r.mode, o = "group"), a && (t != null && t.allowUserOverride || r != null && r.allowUserLockdown) && Je(a.preferredMode, n) && (n = a.preferredMode, o = "user");
9214
9243
  const i = Si[n], s = {
@@ -9372,7 +9401,7 @@ class wi {
9372
9401
  this.policy = t;
9373
9402
  }
9374
9403
  }
9375
- function Md(e, t) {
9404
+ function kd(e, t) {
9376
9405
  const { cookies: r, localStorage: a, storageMode: n } = t, o = { ...e };
9377
9406
  if (n && n !== "auto")
9378
9407
  switch (n) {
@@ -9385,7 +9414,7 @@ function Md(e, t) {
9385
9414
  }
9386
9415
  return r === !1 && (o.cookiesAllowed = !1), a === !1 && (o.localStorageAllowed = !1), o.effectiveMode = Nr(o), o.source = "control", o;
9387
9416
  }
9388
- function kd(e, t, r) {
9417
+ function Ad(e, t, r) {
9389
9418
  return {
9390
9419
  generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
9391
9420
  instanceId: t,
@@ -9424,7 +9453,7 @@ function kd(e, t, r) {
9424
9453
  function Mi(e) {
9425
9454
  return e.effectiveMode === "traceless" ? "This OmniVerk instance operates in Traceless™ mode. No cookies are set (0), no data is saved to localStorage (0), and no sessionStorage is used (0). No cookie consent banner is required under ePrivacy Directive Art. 5(3) as no similar technologies are employed." : e.effectiveMode === "ephemeral" ? "This OmniVerk instance operates in Ephemeral mode. No cookies are set, no localStorage is used. sessionStorage is used for session-only data that is automatically cleared when the browser tab is closed. No cookie consent banner is required." : e.effectiveMode === "private" ? "This OmniVerk instance operates in Private mode. One strictly necessary httpOnly authentication cookie may be set. sessionStorage is used for session preferences. No consent banner is required as only strictly necessary technologies are used." : e.effectiveMode === "balanced" ? "This OmniVerk instance operates in Balanced mode. localStorage is used for user preferences. sessionStorage is used for session data. No cookies are set. Depending on jurisdiction, a consent banner may be shown." : "This OmniVerk instance operates in Full mode. Cookies, localStorage, and sessionStorage are enabled. A consent banner is displayed to users before any non-essential storage is used.";
9426
9455
  }
9427
- function Ad(e) {
9456
+ function Cd(e) {
9428
9457
  const { effectiveMode: t } = e;
9429
9458
  switch (t) {
9430
9459
  case "traceless":
@@ -9490,7 +9519,7 @@ function Ad(e) {
9490
9519
  };
9491
9520
  }
9492
9521
  }
9493
- function Cd(e, t) {
9522
+ function Ld(e, t) {
9494
9523
  const r = e.localStorageAllowed, a = e.sessionStorageAllowed, o = {
9495
9524
  preferences: {
9496
9525
  message: "Your preferences will reset when you close this tab.",
@@ -9528,18 +9557,18 @@ function Cd(e, t) {
9528
9557
  canSession: !0
9529
9558
  };
9530
9559
  }
9531
- const Ld = "X-OmniVerk-Storage-Policy";
9532
- function Nd(e) {
9560
+ const Nd = "X-OmniVerk-Storage-Policy";
9561
+ function zd(e) {
9533
9562
  const t = e.toLowerCase().trim();
9534
9563
  return ke.includes(t) ? t : null;
9535
9564
  }
9536
- function zd(e) {
9565
+ function Ed(e) {
9537
9566
  return e.effectiveMode;
9538
9567
  }
9539
- function Ed(e, t) {
9568
+ function Td(e, t) {
9540
9569
  return new wi(e, t);
9541
9570
  }
9542
- function Td(e) {
9571
+ function Id(e) {
9543
9572
  return {
9544
9573
  maxCookies: !1,
9545
9574
  maxLocalStorage: !1,
@@ -9550,7 +9579,7 @@ function Td(e) {
9550
9579
  instanceId: e
9551
9580
  };
9552
9581
  }
9553
- function Id(e) {
9582
+ function Hd(e) {
9554
9583
  return {
9555
9584
  maxCookies: !0,
9556
9585
  maxLocalStorage: !0,
@@ -9560,7 +9589,7 @@ function Id(e) {
9560
9589
  instanceId: e
9561
9590
  };
9562
9591
  }
9563
- function Hd() {
9592
+ function Rd() {
9564
9593
  if (typeof document < "u") {
9565
9594
  const e = document.cookie.split(";");
9566
9595
  for (const t of e) {
@@ -9578,7 +9607,7 @@ function Hd() {
9578
9607
  }
9579
9608
  zr.clear();
9580
9609
  }
9581
- function Rd(e) {
9610
+ function $d(e) {
9582
9611
  const t = [];
9583
9612
  if (!e.cookiesAllowed && typeof document < "u") {
9584
9613
  const r = document.cookie;
@@ -9614,7 +9643,7 @@ function Rd(e) {
9614
9643
  policy: e.effectiveMode
9615
9644
  };
9616
9645
  }
9617
- const Er = Q(null), $d = ({ config: e, children: t }) => {
9646
+ const Er = Q(null), Fd = ({ config: e, children: t }) => {
9618
9647
  const [r, a] = C(!1), [n, o] = C(null), i = H(null);
9619
9648
  E(() => () => {
9620
9649
  var f;
@@ -9833,7 +9862,7 @@ function ve() {
9833
9862
  throw new Error("useNiceAI must be used within a NiceAIProvider");
9834
9863
  return e;
9835
9864
  }
9836
- function Fd(e = {}) {
9865
+ function Dd(e = {}) {
9837
9866
  const t = ve(), [r, a] = C(""), [n, o] = C([]), [i, s] = C(!1), [c, l] = C(null), d = k(
9838
9867
  async (g) => {
9839
9868
  s(!0), l(null), a("");
@@ -9895,7 +9924,7 @@ function Fd(e = {}) {
9895
9924
  clearHistory: y
9896
9925
  };
9897
9926
  }
9898
- function Dd(e = {}) {
9927
+ function Pd(e = {}) {
9899
9928
  const t = ve(), [r, a] = C(""), [n, o] = C(!1), i = k(
9900
9929
  async (d, u = "") => {
9901
9930
  o(!0), a("");
@@ -10025,7 +10054,7 @@ Code:`
10025
10054
  generateFromComment: l
10026
10055
  };
10027
10056
  }
10028
- function Pd() {
10057
+ function Bd() {
10029
10058
  const e = ve(), [t, r] = C(!1);
10030
10059
  return { parseFilter: k(
10031
10060
  async (n, o) => {
@@ -10061,7 +10090,7 @@ Only return the JSON array, no explanation.`
10061
10090
  [e]
10062
10091
  ), isLoading: t };
10063
10092
  }
10064
- function Bd() {
10093
+ function Od() {
10065
10094
  const e = ve(), [t, r] = C(!1), a = k(
10066
10095
  async (o, i) => {
10067
10096
  r(!0);
@@ -10123,7 +10152,7 @@ Return a JSON array of insight strings.`
10123
10152
  );
10124
10153
  return { suggestChartType: a, generateInsights: n, isLoading: t };
10125
10154
  }
10126
- function Od() {
10155
+ function Wd() {
10127
10156
  const e = ve(), [t, r] = C(!1);
10128
10157
  return { generateForm: k(
10129
10158
  async (n) => {
@@ -10156,7 +10185,7 @@ Only return JSON.`
10156
10185
  [e]
10157
10186
  ), isLoading: t };
10158
10187
  }
10159
- function Wd() {
10188
+ function _d() {
10160
10189
  const e = ve(), [t, r] = C(!1), a = k(
10161
10190
  async (i, s) => {
10162
10191
  r(!0);
@@ -10315,7 +10344,7 @@ function Ai(e, t) {
10315
10344
  }
10316
10345
  return { data: r, totalCount: a };
10317
10346
  }
10318
- function _d(e) {
10347
+ function Vd(e) {
10319
10348
  const t = e.keyField ?? "id";
10320
10349
  let r = [...e.data];
10321
10350
  const a = new qe();
@@ -10458,7 +10487,7 @@ function Ir(e, t) {
10458
10487
  (a) => a.type === "condition" ? Ei(a, t) : `(${Ir(a, t)})`
10459
10488
  ).join(e.logic === "and" ? " and " : " or ");
10460
10489
  }
10461
- function Vd(e) {
10490
+ function Xd(e) {
10462
10491
  const t = e.version ?? 4, r = {
10463
10492
  url: e.url,
10464
10493
  keyField: e.keyField,
@@ -10487,7 +10516,7 @@ function Vd(e) {
10487
10516
  };
10488
10517
  return zi(r);
10489
10518
  }
10490
- function Xd(e) {
10519
+ function qd(e) {
10491
10520
  const t = e.keyField ?? "id", r = new qe();
10492
10521
  async function a(c, l) {
10493
10522
  var f;
@@ -10558,7 +10587,7 @@ function Xd(e) {
10558
10587
  on: r.on.bind(r)
10559
10588
  };
10560
10589
  }
10561
- function qd(e) {
10590
+ function jd(e) {
10562
10591
  const t = e.keyField ?? "id", r = new qe();
10563
10592
  return {
10564
10593
  keyField: t,
@@ -10595,7 +10624,7 @@ function qd(e) {
10595
10624
  function Hr(e) {
10596
10625
  return /^[A-Za-z_][A-Za-z0-9_.]*$/.test(e) ? e : `"${e.replace(/"/g, '""')}"`;
10597
10626
  }
10598
- function jd(e, t = {}) {
10627
+ function Ud(e, t = {}) {
10599
10628
  const r = [], a = t.placeholder ?? (() => "?"), n = t.quoteField ?? Hr, o = (c) => (r.push(c), a(r.length - 1)), i = (c) => {
10600
10629
  const l = n(c.field);
10601
10630
  switch (c.operator) {
@@ -10641,7 +10670,7 @@ function jd(e, t = {}) {
10641
10670
  };
10642
10671
  return { sql: s(e), params: r };
10643
10672
  }
10644
- function Ud(e, t = {}) {
10673
+ function Kd(e, t = {}) {
10645
10674
  const r = t.quoteField ?? Hr;
10646
10675
  return e.filter((a) => a.field).map((a) => `${r(a.field)} ${a.direction === "desc" ? "DESC" : "ASC"}`).join(", ");
10647
10676
  }
@@ -10802,7 +10831,7 @@ function Fi(e, t) {
10802
10831
  });
10803
10832
  return r;
10804
10833
  }
10805
- function Kd(e, t) {
10834
+ function Gd(e, t) {
10806
10835
  return Fi(e, t).every((r) => r.severity !== "error");
10807
10836
  }
10808
10837
  class Ot {
@@ -10864,7 +10893,7 @@ class Di {
10864
10893
  this.pending.clear();
10865
10894
  }
10866
10895
  }
10867
- function Gd(e, t = {}) {
10896
+ function Jd(e, t = {}) {
10868
10897
  const r = new Ot(t), a = new Ot(t), n = new Di(), o = t.generateKey ?? ((c) => JSON.stringify(c)), i = t.cacheLoads !== !1, s = t.cacheByKey !== !1;
10869
10898
  return {
10870
10899
  ...e,
@@ -10909,7 +10938,7 @@ function Gd(e, t = {}) {
10909
10938
  }
10910
10939
  };
10911
10940
  }
10912
- function Jd(e, t) {
10941
+ function Yd(e, t) {
10913
10942
  const { cursorField: r, pageSize: a = 20, direction: n = "asc" } = t;
10914
10943
  return {
10915
10944
  async loadPage(o = {}) {
@@ -10972,7 +11001,7 @@ function Pi(e) {
10972
11001
  return e;
10973
11002
  }
10974
11003
  }
10975
- function Yd(e, t = {}) {
11004
+ function Qd(e, t = {}) {
10976
11005
  const { pageSize: r = 50, threshold: a = 200, initialPage: n = 0 } = t;
10977
11006
  let o = {
10978
11007
  items: [],
@@ -11045,7 +11074,7 @@ function Yd(e, t = {}) {
11045
11074
  }
11046
11075
  };
11047
11076
  }
11048
- function Qd(e) {
11077
+ function Zd(e) {
11049
11078
  const {
11050
11079
  url: t,
11051
11080
  baseSource: r,
@@ -11160,7 +11189,7 @@ function Qd(e) {
11160
11189
  };
11161
11190
  return L;
11162
11191
  }
11163
- function Zd(e) {
11192
+ function e0(e) {
11164
11193
  const { connection: t, baseSource: r } = e, a = {
11165
11194
  onInsert: "OnInsert",
11166
11195
  onUpdate: "OnUpdate",
@@ -11226,7 +11255,7 @@ function Zd(e) {
11226
11255
  }
11227
11256
  };
11228
11257
  }
11229
- function e0(e, t = {}) {
11258
+ function t0(e, t = {}) {
11230
11259
  const r = e.keyField;
11231
11260
  let a = [];
11232
11261
  const n = /* @__PURE__ */ new Map();
@@ -11330,7 +11359,7 @@ function $r(e, t) {
11330
11359
  return !1;
11331
11360
  return !0;
11332
11361
  }
11333
- function t0(e, t = {}) {
11362
+ function r0(e, t = {}) {
11334
11363
  const { interval: r = 5e3, autoStart: a = !1, pauseWhenHidden: n = !0, onDataChange: o } = t;
11335
11364
  let i = r, s = null, c = [], l = {};
11336
11365
  const d = /* @__PURE__ */ new Map();
@@ -11379,7 +11408,7 @@ function t0(e, t = {}) {
11379
11408
  };
11380
11409
  return a && y(), g;
11381
11410
  }
11382
- function r0(e) {
11411
+ function a0(e) {
11383
11412
  const {
11384
11413
  url: t,
11385
11414
  baseSource: r,
@@ -11566,7 +11595,7 @@ function Oi(e, t, r = []) {
11566
11595
  i.groups = Oi(i.items, n, r), delete i.items;
11567
11596
  return o;
11568
11597
  }
11569
- function a0(e, t) {
11598
+ function n0(e, t) {
11570
11599
  const {
11571
11600
  rows: r,
11572
11601
  columns: a,
@@ -11607,7 +11636,7 @@ function a0(e, t) {
11607
11636
  grandTotal: y
11608
11637
  };
11609
11638
  }
11610
- function n0(e, t) {
11639
+ function o0(e, t) {
11611
11640
  return e.map((r, a) => {
11612
11641
  const n = { ...r };
11613
11642
  for (const o of t)
@@ -11615,7 +11644,7 @@ function n0(e, t) {
11615
11644
  return n;
11616
11645
  });
11617
11646
  }
11618
- const o0 = {
11647
+ const i0 = {
11619
11648
  /** Running sum of a field */
11620
11649
  runningSum: (e) => (t, r, a) => a.slice(0, r + 1).reduce((n, o) => n + Number(o[e] ?? 0), 0),
11621
11650
  /** Running average of a field */
@@ -11659,7 +11688,7 @@ const o0 = {
11659
11688
  }) : "";
11660
11689
  }
11661
11690
  };
11662
- function i0(e, t) {
11691
+ function s0(e, t) {
11663
11692
  const r = [], a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
11664
11693
  for (let s = 0; s < e.length; s++) {
11665
11694
  const c = e[s];
@@ -11688,7 +11717,7 @@ function i0(e, t) {
11688
11717
  byField: n
11689
11718
  };
11690
11719
  }
11691
- const s0 = {
11720
+ const c0 = {
11692
11721
  required: (e) => ({
11693
11722
  name: `required_${String(e)}`,
11694
11723
  validate: (t) => t[e] != null && t[e] !== "",
@@ -11746,7 +11775,7 @@ const s0 = {
11746
11775
  message: r,
11747
11776
  fields: a
11748
11777
  })
11749
- }, c0 = {
11778
+ }, l0 = {
11750
11779
  /**
11751
11780
  * Updates multiple items matching a condition.
11752
11781
  */
@@ -11833,7 +11862,7 @@ const s0 = {
11833
11862
  return s;
11834
11863
  }
11835
11864
  };
11836
- function l0(e, t) {
11865
+ function d0(e, t) {
11837
11866
  const r = (t == null ? void 0 : t.autoLoad) ?? !0, a = (t == null ? void 0 : t.defaultPageSize) ?? 20, [n, o] = C([]), [i, s] = C(0), [c, l] = C(!1), [d, u] = C(null), [m, y] = C(1), [f, g] = C(a), [p, b] = C((t == null ? void 0 : t.defaultSort) ?? []), [h, v] = C(t == null ? void 0 : t.defaultFilter), [S, L] = C((t == null ? void 0 : t.defaultSearch) ?? ""), x = H(0), A = t == null ? void 0 : t.loadOptions, w = k(async () => {
11838
11867
  if (!e)
11839
11868
  return;
@@ -11976,7 +12005,7 @@ function Wi(e, t) {
11976
12005
  reset: b
11977
12006
  };
11978
12007
  }
11979
- function d0(e, t, r) {
12008
+ function u0(e, t, r) {
11980
12009
  const a = Wi(e, t), n = a.editData[r], o = k(
11981
12010
  (s) => {
11982
12011
  a.set(r, s);
@@ -11997,7 +12026,7 @@ function d0(e, t, r) {
11997
12026
  save: i
11998
12027
  };
11999
12028
  }
12000
- function u0(e, t, r, a) {
12029
+ function f0(e, t, r, a) {
12001
12030
  const n = (a == null ? void 0 : a.autoLoad) ?? !0, o = (a == null ? void 0 : a.take) ?? 200, [i, s] = C([]), [c, l] = C(!1), [d, u] = C(null), m = H(0), y = k(
12002
12031
  async (p) => {
12003
12032
  if (!e)
@@ -12234,7 +12263,7 @@ function Wt(e) {
12234
12263
  }
12235
12264
  };
12236
12265
  }
12237
- function f0(e) {
12266
+ function m0(e) {
12238
12267
  const {
12239
12268
  remoteSource: t,
12240
12269
  offlineConfig: r,
@@ -12385,7 +12414,7 @@ function f0(e) {
12385
12414
  }
12386
12415
  };
12387
12416
  }
12388
- function m0(e) {
12417
+ function p0(e) {
12389
12418
  const { channelName: t, source: r } = e, a = new BroadcastChannel(t), n = /* @__PURE__ */ new Map();
12390
12419
  function o(s, ...c) {
12391
12420
  var l;
@@ -12439,7 +12468,7 @@ function m0(e) {
12439
12468
  }
12440
12469
  };
12441
12470
  }
12442
- function p0(e = {}) {
12471
+ function g0(e = {}) {
12443
12472
  const {
12444
12473
  prefix: t = "",
12445
12474
  persist: r = { filter: !0, sort: !0, page: !0, search: !0 },
@@ -12520,7 +12549,7 @@ function p0(e = {}) {
12520
12549
  }
12521
12550
  };
12522
12551
  }
12523
- const g0 = {
12552
+ const y0 = {
12524
12553
  /**
12525
12554
  * Export data to JSON string.
12526
12555
  */
@@ -12568,7 +12597,7 @@ const g0 = {
12568
12597
  return this.importFromJSON(e, a, r);
12569
12598
  }
12570
12599
  };
12571
- function y0(e = "nice_user_prefs") {
12600
+ function h0(e = "nice_user_prefs") {
12572
12601
  let t = null;
12573
12602
  function r() {
12574
12603
  if (t)
@@ -12613,7 +12642,7 @@ function y0(e = "nice_user_prefs") {
12613
12642
  }
12614
12643
  };
12615
12644
  }
12616
- const h0 = [
12645
+ const b0 = [
12617
12646
  // Obsidian Editorial, Newspaper Broadsheet — serif display + body
12618
12647
  "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap",
12619
12648
  // Terminal, Neon Arcade — monospace
@@ -13630,13 +13659,13 @@ const h0 = [
13630
13659
  bauhaus: Zi,
13631
13660
  bankVault: es
13632
13661
  }, ts = Object.values(Dr);
13633
- function b0(e) {
13662
+ function v0(e) {
13634
13663
  return Dr[e];
13635
13664
  }
13636
- function v0(e) {
13665
+ function S0(e) {
13637
13666
  return ts.filter((t) => t.meta.tags.includes(e));
13638
13667
  }
13639
- const S0 = [
13668
+ const x0 = [
13640
13669
  // Nature family
13641
13670
  "https://fonts.googleapis.com/css2?family=Spectral:wght@300;400;500;600;700&family=Lora:wght@400;500;600;700&display=swap",
13642
13671
  "https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:wght@400;500;700&display=swap",
@@ -15641,10 +15670,10 @@ const S0 = [
15641
15670
  blackTieGala: ks,
15642
15671
  swissGrid: As
15643
15672
  }, Cs = Object.values(Br);
15644
- function x0(e) {
15673
+ function w0(e) {
15645
15674
  return Br[e];
15646
15675
  }
15647
- function w0(e) {
15676
+ function M0(e) {
15648
15677
  return Cs.filter((t) => t.meta.tags.includes(e));
15649
15678
  }
15650
15679
  const Or = Q(null);
@@ -15654,7 +15683,7 @@ function Ls() {
15654
15683
  throw new Error("useThemeVariants must be used within NiceThemeVariantProvider");
15655
15684
  return e;
15656
15685
  }
15657
- function M0({
15686
+ function k0({
15658
15687
  initialConfig: e,
15659
15688
  storageKey: t = "ntd-variant-config",
15660
15689
  autoApply: r = !0,
@@ -15686,7 +15715,7 @@ function M0({
15686
15715
  }, []);
15687
15716
  return /* @__PURE__ */ M(Or.Provider, { value: { config: n, setConfig: i, applyPreset: s, reset: c }, children: a });
15688
15717
  }
15689
- function k0({
15718
+ function A0({
15690
15719
  showPresets: e = !0,
15691
15720
  showPreview: t = !0,
15692
15721
  showCSS: r = !1,
@@ -16112,7 +16141,7 @@ function Ns({ config: e }) {
16112
16141
  }
16113
16142
  );
16114
16143
  }
16115
- function A0(e) {
16144
+ function C0(e) {
16116
16145
  const [t, r] = C(() => typeof window > "u" ? !1 : _t());
16117
16146
  return E(() => {
16118
16147
  var l, d, u;
@@ -16163,7 +16192,7 @@ function _t(e = document.documentElement) {
16163
16192
  return !1;
16164
16193
  }
16165
16194
  }
16166
- const C0 = [
16195
+ const L0 = [
16167
16196
  // Editors
16168
16197
  "NiceTextInput",
16169
16198
  "NiceTextArea",
@@ -16289,7 +16318,7 @@ const C0 = [
16289
16318
  "stack",
16290
16319
  "container"
16291
16320
  ];
16292
- function L0(e) {
16321
+ function N0(e) {
16293
16322
  const t = [];
16294
16323
  Wr(e.root, t, "root");
16295
16324
  const r = new Set((e.dataSources ?? []).map((a) => a.id));
@@ -16310,7 +16339,7 @@ function _r(e, t, r) {
16310
16339
  for (const a of e.children)
16311
16340
  _r(a, t, r);
16312
16341
  }
16313
- function N0(e, t) {
16342
+ function z0(e, t) {
16314
16343
  const r = zs(t, e.field);
16315
16344
  switch (e.operator) {
16316
16345
  case "eq":
@@ -16441,7 +16470,7 @@ function Es(e) {
16441
16470
  isScrolling: c
16442
16471
  };
16443
16472
  }
16444
- function z0(e) {
16473
+ function E0(e) {
16445
16474
  const {
16446
16475
  rowCount: t,
16447
16476
  columnCount: r,
@@ -16545,7 +16574,7 @@ function z0(e) {
16545
16574
  isScrolling: m
16546
16575
  };
16547
16576
  }
16548
- function E0(e, t, r, a = 3) {
16577
+ function T0(e, t, r, a = 3) {
16549
16578
  const n = Es({
16550
16579
  itemCount: e.length,
16551
16580
  itemHeight: r,
@@ -16572,7 +16601,7 @@ function E0(e, t, r, a = 3) {
16572
16601
  })
16573
16602
  };
16574
16603
  }
16575
- function T0(e) {
16604
+ function I0(e) {
16576
16605
  const { items: t, searchFn: r, debounce: a = 0, minLength: n = 0 } = e, [o, i] = C(""), s = Ct(o), [c, l] = C(""), d = H(void 0);
16577
16606
  E(() => {
16578
16607
  if (a > 0)
@@ -16592,7 +16621,7 @@ function T0(e) {
16592
16621
  deferredQuery: u
16593
16622
  };
16594
16623
  }
16595
- function I0(e) {
16624
+ function H0(e) {
16596
16625
  const [t, r] = C(e), [a, n] = C(e), [o, i] = Jr(), s = k(
16597
16626
  (l) => {
16598
16627
  const d = typeof l == "function" ? l(t) : l;
@@ -16616,7 +16645,7 @@ function I0(e) {
16616
16645
  setValueImmediate: c
16617
16646
  };
16618
16647
  }
16619
- function H0(e) {
16648
+ function R0(e) {
16620
16649
  const { data: t, processFn: r, chunkSize: a = 1e3, priority: n = "user-visible" } = e, [o, i] = C(null), [s, c] = C(0), [l, d] = C(!1), u = H(!1), m = k(async () => {
16621
16650
  if (t.length === 0) {
16622
16651
  i([]);
@@ -16648,7 +16677,7 @@ function H0(e) {
16648
16677
  cancel: y
16649
16678
  };
16650
16679
  }
16651
- function R0(e, t = {}) {
16680
+ function $0(e, t = {}) {
16652
16681
  const { initialCount: r = 20, batchSize: a = 50, batchDelay: n = 16 } = t, [o, i] = C(Math.min(r, e.length)), [s, c] = C(e.length <= r);
16653
16682
  return E(() => {
16654
16683
  if (o >= e.length) {
@@ -16671,7 +16700,7 @@ function R0(e, t = {}) {
16671
16700
  progress: o / e.length * 100
16672
16701
  };
16673
16702
  }
16674
- function $0(e) {
16703
+ function F0(e) {
16675
16704
  const { initial: t, mutate: r, rollbackOnError: a = !0 } = e, [n, o] = C(t), [i, s] = C(!1), [c, l] = C(null), d = H(t), u = k(
16676
16705
  async (y) => {
16677
16706
  d.current = n, l(null), o(y), s(!0);
@@ -16696,7 +16725,7 @@ function $0(e) {
16696
16725
  reset: m
16697
16726
  };
16698
16727
  }
16699
- function F0(e) {
16728
+ function D0(e) {
16700
16729
  const { workerScript: t, idleTimeout: r = 3e4 } = e, [a, n] = C(null), [o, i] = C(!1), [s, c] = C(null), l = H(null), d = H(0), u = H(null), m = H(void 0), y = k(() => {
16701
16730
  if (!l.current) {
16702
16731
  if (typeof t == "function") {
@@ -16751,7 +16780,7 @@ function F0(e) {
16751
16780
  terminate: b
16752
16781
  };
16753
16782
  }
16754
- function D0(e) {
16783
+ function P0(e) {
16755
16784
  const {
16756
16785
  workerScript: t,
16757
16786
  poolSize: r = navigator.hardwareConcurrency || 4,
@@ -16829,7 +16858,7 @@ function D0(e) {
16829
16858
  getStats: g
16830
16859
  };
16831
16860
  }
16832
- function P0(e) {
16861
+ function B0(e) {
16833
16862
  const t = `
16834
16863
  self.onmessage = function(e) {
16835
16864
  const msg = e.data;
@@ -16856,13 +16885,13 @@ function P0(e) {
16856
16885
  `, r = new Blob([t], { type: "application/javascript" });
16857
16886
  return new URL(URL.createObjectURL(r));
16858
16887
  }
16859
- function B0(e) {
16888
+ function O0(e) {
16860
16889
  const t = [], r = (a) => {
16861
16890
  a instanceof ArrayBuffer || a instanceof MessagePort ? t.push(a) : "buffer" in a && a.buffer instanceof ArrayBuffer ? t.push(a.buffer) : a instanceof ImageBitmap ? t.push(a) : Array.isArray(a) ? a.forEach(r) : a && typeof a == "object" && Object.values(a).forEach(r);
16862
16891
  };
16863
16892
  return r(e), t;
16864
16893
  }
16865
- function O0() {
16894
+ function W0() {
16866
16895
  const e = /* @__PURE__ */ new WeakMap();
16867
16896
  return {
16868
16897
  get: (t) => e.get(t),
@@ -16873,7 +16902,7 @@ function O0() {
16873
16902
  delete: (t) => e.delete(t)
16874
16903
  };
16875
16904
  }
16876
- function W0(e = {}) {
16905
+ function _0(e = {}) {
16877
16906
  const { maxSize: t = 1e3, ttl: r } = e, a = /* @__PURE__ */ new Map(), n = (i) => r ? Date.now() - i.timestamp > r : !1, o = () => {
16878
16907
  if (a.size <= t)
16879
16908
  return;
@@ -16907,7 +16936,7 @@ function W0(e = {}) {
16907
16936
  keys: () => Array.from(a.keys())
16908
16937
  };
16909
16938
  }
16910
- function _0() {
16939
+ function V0() {
16911
16940
  const e = /* @__PURE__ */ new Map(), t = new FinalizationRegistry((r) => {
16912
16941
  e.delete(r);
16913
16942
  });
@@ -16948,7 +16977,7 @@ function _0() {
16948
16977
  }
16949
16978
  };
16950
16979
  }
16951
- function V0() {
16980
+ function X0() {
16952
16981
  const e = H([]), t = k(
16953
16982
  (n, o, i, s) => {
16954
16983
  n.addEventListener(o, i, s), e.current.push({
@@ -16968,7 +16997,7 @@ function V0() {
16968
16997
  r();
16969
16998
  }, [r]), { add: t, removeAll: r, count: a };
16970
16999
  }
16971
- function X0() {
17000
+ function q0() {
16972
17001
  const e = [];
16973
17002
  return {
16974
17003
  add: (t, r, a, n) => {
@@ -17006,7 +17035,7 @@ function Ze() {
17006
17035
  isSupported: !0
17007
17036
  };
17008
17037
  }
17009
- function q0(e = {}) {
17038
+ function j0(e = {}) {
17010
17039
  const { warningThreshold: t = 75, pollInterval: r = 1e4, onHighUsage: a } = e, [n, o] = C(Ze), [i, s] = C(!1);
17011
17040
  return E(() => {
17012
17041
  if (!Ze().isSupported)
@@ -17020,7 +17049,7 @@ function q0(e = {}) {
17020
17049
  return () => clearInterval(l);
17021
17050
  }, [t, r, a]), { stats: n, isHighUsage: i };
17022
17051
  }
17023
- function j0(e) {
17052
+ function U0(e) {
17024
17053
  const { src: t, rootMargin: r = "200px", threshold: a = 0, placeholder: n, progressive: o } = e, i = H(null), [s, c] = C(!1), [l, d] = C(!1), [u, m] = C(n || "");
17025
17054
  return E(() => {
17026
17055
  const y = i.current;
@@ -17049,7 +17078,7 @@ function j0(e) {
17049
17078
  currentSrc: u
17050
17079
  };
17051
17080
  }
17052
- function U0(e) {
17081
+ function K0(e) {
17053
17082
  const { create: t, reset: r, maxSize: a = 100 } = e, n = [];
17054
17083
  return {
17055
17084
  acquire: () => n.length > 0 ? n.pop() : t(),
@@ -17304,7 +17333,7 @@ function _s(e, t = "vertical", r = 10, a = 10) {
17304
17333
  </svg>`;
17305
17334
  return `data:image/svg+xml,${encodeURIComponent(s)}`;
17306
17335
  }
17307
- const K0 = {
17336
+ const G0 = {
17308
17337
  // Format detection
17309
17338
  checkFormatSupport: ut,
17310
17339
  useImageFormats: Ts,
@@ -17327,13 +17356,13 @@ const K0 = {
17327
17356
  generateColorPlaceholder: Ws,
17328
17357
  generateGradientPlaceholder: _s
17329
17358
  };
17330
- function G0(e) {
17359
+ function J0(e) {
17331
17360
  return e["data-testid"] ?? e.testId;
17332
17361
  }
17333
17362
  function Xr(e) {
17334
17363
  return e.error || e.status === "error" ? "error" : e.warning || e.status === "warning" ? "warning" : e.success || e.status === "success" ? "success" : e.status ?? "idle";
17335
17364
  }
17336
- function J0(e) {
17365
+ function Y0(e) {
17337
17366
  const t = Xr(e), r = {};
17338
17367
  return t === "error" && (r["aria-invalid"] = !0), e.required && (r["aria-required"] = !0), e.disabled && (r["aria-disabled"] = !0), e.readOnly && (r["aria-readonly"] = !0), e.describedById && (r["aria-describedby"] = e.describedById), r;
17339
17368
  }
@@ -17359,7 +17388,7 @@ function Xs(e) {
17359
17388
  console.warn(i.join(" "));
17360
17389
  });
17361
17390
  }
17362
- function Y0(e) {
17391
+ function Q0(e) {
17363
17392
  const { symbol: t, replacement: r, removeIn: a, reason: n } = e;
17364
17393
  qr(`symbol:${t}`, () => {
17365
17394
  const o = [
@@ -17371,7 +17400,7 @@ function Y0(e) {
17371
17400
  console.warn(o.join(" "));
17372
17401
  });
17373
17402
  }
17374
- function Q0(e) {
17403
+ function Z0(e) {
17375
17404
  return e.value !== void 0 && e.newValue === void 0 && Xs({
17376
17405
  componentName: e.componentName,
17377
17406
  prop: e.prop,
@@ -17380,7 +17409,7 @@ function Q0(e) {
17380
17409
  }), e.newValue ?? e.value;
17381
17410
  }
17382
17411
  const qt = /* @__PURE__ */ new Set();
17383
- function Z0(e) {
17412
+ function eu(e) {
17384
17413
  const { value: t, defaultValue: r, fallbackValue: a, onChange: n, componentName: o = "Component" } = e, i = t !== void 0, [s, c] = C(
17385
17414
  () => r !== void 0 ? r : a
17386
17415
  ), l = H(i);
@@ -17404,7 +17433,7 @@ const qs = {
17404
17433
  warning: "nice-field-status nice-field-status--warning",
17405
17434
  error: "nice-field-status nice-field-status--error"
17406
17435
  };
17407
- function eu(e) {
17436
+ function tu(e) {
17408
17437
  const t = Xr(e), r = t === "error" && (typeof e.error == "string" ? e.error : void 0) || t === "warning" && e.warning || t === "success" && e.success || e.helperText || null;
17409
17438
  return r ? /* @__PURE__ */ M(
17410
17439
  "div",
@@ -17443,7 +17472,7 @@ const jr = {
17443
17472
  1: "LeftY",
17444
17473
  2: "RightX",
17445
17474
  3: "RightY"
17446
- }, tu = {
17475
+ }, ru = {
17447
17476
  Cross: "A",
17448
17477
  Circle: "B",
17449
17478
  Square: "X",
@@ -17599,7 +17628,7 @@ function Ie() {
17599
17628
  Home: !1
17600
17629
  };
17601
17630
  }
17602
- function ru(e) {
17631
+ function au(e) {
17603
17632
  const t = {};
17604
17633
  return e.onNavigateUp && (t.navUp = {
17605
17634
  button: "DpadUp",
@@ -17644,7 +17673,7 @@ function jt(e) {
17644
17673
  const t = e.getBoundingClientRect();
17645
17674
  return t.width === 0 && t.height === 0 ? null : { x: t.left + t.width / 2, y: t.top + t.height / 2 };
17646
17675
  }
17647
- const au = ({
17676
+ const nu = ({
17648
17677
  keyboard: e = !0,
17649
17678
  gamepad: t = !0,
17650
17679
  gamepadIndex: r = 0,
@@ -17829,10 +17858,10 @@ const au = ({
17829
17858
  );
17830
17859
  return /* @__PURE__ */ M(Ue.Provider, { value: A, children: a });
17831
17860
  };
17832
- function nu() {
17861
+ function ou() {
17833
17862
  return U(Ue);
17834
17863
  }
17835
- function ou() {
17864
+ function iu() {
17836
17865
  const e = U(Ue);
17837
17866
  if (!e)
17838
17867
  throw new Error("useSpatialNav must be used inside a NiceSpatialNavProvider");
@@ -17861,7 +17890,7 @@ function Gs(e, t) {
17861
17890
  u && (d ? u.dataset.active = "true" : delete u.dataset.active);
17862
17891
  }, [d, e]), { active: d };
17863
17892
  }
17864
- const iu = ({
17893
+ const su = ({
17865
17894
  focusId: e,
17866
17895
  onActivate: t,
17867
17896
  disabled: r,
@@ -17887,20 +17916,20 @@ const iu = ({
17887
17916
  };
17888
17917
  export {
17889
17918
  ft as ANIMATION_VALUES,
17890
- c0 as BatchOperations,
17919
+ l0 as BatchOperations,
17891
17920
  sl as COMMON_SHORTCUTS,
17892
17921
  vc as CheckMark,
17893
17922
  xc as ChevronMark,
17894
17923
  Mc as CloseMark,
17895
- o0 as ColumnFormulas,
17896
- Sd as DEFAULT_TRACELESS_POLICY,
17924
+ i0 as ColumnFormulas,
17925
+ xd as DEFAULT_TRACELESS_POLICY,
17897
17926
  se as DEFAULT_VARIANT_CONFIG,
17898
17927
  De as DENSITY_VALUES,
17899
17928
  mc as DisplayModeView,
17900
17929
  wc as DotMark,
17901
17930
  Us as GAMEPAD_BUTTONS,
17902
- K0 as ImageOptimization,
17903
- pd as IndexedDBAdapter,
17931
+ G0 as ImageOptimization,
17932
+ gd as IndexedDBAdapter,
17904
17933
  ci as LeakDetectorStatus,
17905
17934
  vi as LocalStorageAdapter,
17906
17935
  Me as NICE_BREAKPOINTS,
@@ -17908,24 +17937,23 @@ export {
17908
17937
  hl as NICE_COLOR_BLIND_MODES,
17909
17938
  oc as NICE_DISPLAY_STYLES,
17910
17939
  uc as NICE_DISPLAY_STYLE_INFO,
17911
- lu as NICE_I18N_DICTIONARIES,
17912
17940
  du as NICE_SUPPORTED_LANGS,
17913
17941
  Do as NICE_THEME_GALLERY,
17914
17942
  Dr as NICE_THEME_PACKS,
17915
17943
  Br as NICE_THEME_PACKS_EXTENDED,
17916
- h0 as NICE_THEME_PACK_FONT_LINKS,
17917
- S0 as NICE_THEME_PACK_FONT_LINKS_EXTENDED,
17944
+ b0 as NICE_THEME_PACK_FONT_LINKS,
17945
+ x0 as NICE_THEME_PACK_FONT_LINKS_EXTENDED,
17918
17946
  ts as NICE_THEME_PACK_LIST,
17919
17947
  Cs as NICE_THEME_PACK_LIST_EXTENDED,
17920
17948
  It as NICE_THEME_PRESETS,
17921
- C0 as NICE_VIEW_COMPONENT_TYPES,
17949
+ L0 as NICE_VIEW_COMPONENT_TYPES,
17922
17950
  ya as NiceA11yProvider,
17923
- $d as NiceAIProvider,
17951
+ Fd as NiceAIProvider,
17924
17952
  ma as NiceAccessControl,
17925
17953
  Ot as NiceDataCache,
17926
17954
  pt as NiceDisplayStyleContext,
17927
- eu as NiceFieldStatus,
17928
- iu as NiceFocusable,
17955
+ tu as NiceFieldStatus,
17956
+ su as NiceFocusable,
17929
17957
  yi as NiceHelpIcon,
17930
17958
  di as NiceHelpProvider,
17931
17959
  uu as NiceI18nLazyProvider,
@@ -17934,49 +17962,49 @@ export {
17934
17962
  yc as NiceIconProvider,
17935
17963
  pi as NiceInlineHelp,
17936
17964
  xa as NiceKeyboardHint,
17937
- vd as NicePreferencesPanel,
17938
- Hl as NiceProfiler,
17965
+ Sd as NicePreferencesPanel,
17966
+ Rl as NiceProfiler,
17939
17967
  Zc as NicePullToRefresh,
17940
17968
  gi as NiceQuickHelp,
17941
17969
  fa as NiceRTLProvider,
17942
17970
  Di as NiceRequestDeduplicator,
17943
17971
  va as NiceSkipLink,
17944
- au as NiceSpatialNavProvider,
17945
- g0 as NiceStateIO,
17972
+ nu as NiceSpatialNavProvider,
17973
+ y0 as NiceStateIO,
17946
17974
  Qc as NiceSwipeableListItem,
17947
17975
  jo as NiceTestWrapper,
17948
17976
  ur as NiceThemeContext,
17949
17977
  pr as NiceThemeProvider,
17950
- k0 as NiceThemeVariantConfigurator,
17951
- M0 as NiceThemeVariantProvider,
17978
+ A0 as NiceThemeVariantConfigurator,
17979
+ k0 as NiceThemeVariantProvider,
17952
17980
  tl as NiceTouchTarget,
17953
- md as NiceTutorialButton,
17954
- dd as NiceTutorialsProvider,
17955
- bd as NiceUserPreferencesProvider,
17981
+ pd as NiceTutorialButton,
17982
+ ud as NiceTutorialsProvider,
17983
+ vd as NiceUserPreferencesProvider,
17956
17984
  ba as NiceVisuallyHidden,
17957
17985
  ke as PRIVACY_LEVEL_ORDER,
17958
- tu as PS_BUTTON_ALIASES,
17986
+ ru as PS_BUTTON_ALIASES,
17959
17987
  ai as ProfilerOverlay,
17960
17988
  He as RADIUS_VALUES,
17961
17989
  Sc as RefreshMark,
17962
- gd as RestAPISyncAdapter,
17990
+ yd as RestAPISyncAdapter,
17963
17991
  Zr as SHADOW_DARK_MODE_VALUES,
17964
17992
  et as SHADOW_VALUES,
17965
17993
  wi as StorageAdapter,
17966
17994
  Si as TRACELESS_MODE_PRESETS,
17967
- Ld as TRACELESS_POLICY_HEADER,
17995
+ Nd as TRACELESS_POLICY_HEADER,
17968
17996
  mt as VARIANT_PRESETS,
17969
- s0 as ValidationRules,
17997
+ c0 as ValidationRules,
17970
17998
  Kc as accessModeAttrs,
17971
17999
  pe as aggregate,
17972
18000
  ms as analog70s,
17973
18001
  sr as applyColorBlindMode,
17974
- xl as applyTheme,
18002
+ wl as applyTheme,
17975
18003
  Zt as applyVariantConfig,
17976
18004
  nc as applyVariantsToTheme,
17977
18005
  ns as arcticCrystal,
17978
18006
  cs as artDecoGatsby,
17979
- Rd as auditStorageCompliance,
18007
+ $d as auditStorageCompliance,
17980
18008
  yl as auditWCAG22AAA,
17981
18009
  os as autumnFoliage,
17982
18010
  es as bankVault,
@@ -17985,82 +18013,83 @@ export {
17985
18013
  ds as blueprint,
17986
18014
  ji as brutalistRaw,
17987
18015
  ha as buildAriaDescribedBy,
17988
- J0 as buildFieldA11y,
18016
+ Y0 as buildFieldA11y,
17989
18017
  nl as buildFormFieldAria,
17990
18018
  Bi as calculateDataDiff,
17991
18019
  Ki as candyPop,
17992
- Tl as checkAriaCompliance,
18020
+ Il as checkAriaCompliance,
17993
18021
  gl as checkContrastAAA,
17994
18022
  ut as checkFormatSupport,
17995
18023
  ri as checkRegression,
17996
18024
  Qi as claymorphism,
17997
- Hd as clearAllClientStorage,
17998
- _l as clearLeakReports,
18025
+ Rd as clearAllClientStorage,
18026
+ Vl as clearLeakReports,
17999
18027
  yr as clearProfilingData,
18000
18028
  bs as comicHalftone,
18001
- Ol as configureLeakDetector,
18029
+ Wl as configureLeakDetector,
18002
18030
  Ko as configureProfiler,
18003
- _d as createArrayDataSource,
18031
+ Vd as createArrayDataSource,
18004
18032
  vl as createColorBlindController,
18005
- qd as createCustomDataSource,
18006
- X0 as createEventCleanup,
18007
- Xd as createGraphQLDataSource,
18008
- id as createGraphQLSubscriptionSource,
18033
+ jd as createCustomDataSource,
18034
+ q0 as createEventCleanup,
18035
+ qd as createGraphQLDataSource,
18036
+ sd as createGraphQLSubscriptionSource,
18009
18037
  mu as createICUTranslator,
18038
+ Sl as createId,
18010
18039
  Bs as createImageObserver,
18011
18040
  Wt as createIndexedDBDataSource,
18012
- Yd as createInfiniteScroll,
18013
- P0 as createInlineWorker,
18014
- W0 as createLRUCache,
18015
- El as createMockDataSource,
18016
- ru as createNavigationActions,
18017
- Sl as createNicePluginSystem,
18018
- ad as createNiceReduxMiddleware,
18019
- Vd as createODataDataSource,
18020
- U0 as createObjectPool,
18021
- f0 as createOfflineFirstDataSource,
18022
- Id as createPermissiveInstanceCeiling,
18023
- zd as createPolicyHeader,
18024
- td as createReactQueryAdapter,
18041
+ Qd as createInfiniteScroll,
18042
+ B0 as createInlineWorker,
18043
+ _0 as createLRUCache,
18044
+ Tl as createMockDataSource,
18045
+ au as createNavigationActions,
18046
+ xl as createNicePluginSystem,
18047
+ nd as createNiceReduxMiddleware,
18048
+ Xd as createODataDataSource,
18049
+ K0 as createObjectPool,
18050
+ m0 as createOfflineFirstDataSource,
18051
+ Hd as createPermissiveInstanceCeiling,
18052
+ Ed as createPolicyHeader,
18053
+ rd as createReactQueryAdapter,
18025
18054
  zi as createRestDataSource,
18026
- Td as createRestrictiveInstanceCeiling,
18027
- r0 as createSSEDataSource,
18028
- Zd as createSignalRDataSource,
18029
- Ed as createStorageAdapter,
18030
- p0 as createURLStateManager,
18031
- y0 as createUserPreferencesStore,
18032
- O0 as createWeakCache,
18033
- _0 as createWeakRefCache,
18034
- Qd as createWebSocketDataSource,
18035
- rd as createZustandAdapter,
18055
+ Id as createRestrictiveInstanceCeiling,
18056
+ a0 as createSSEDataSource,
18057
+ e0 as createSignalRDataSource,
18058
+ Td as createStorageAdapter,
18059
+ g0 as createURLStateManager,
18060
+ h0 as createUserPreferencesStore,
18061
+ W0 as createWeakCache,
18062
+ V0 as createWeakRefCache,
18063
+ Zd as createWebSocketDataSource,
18064
+ ad as createZustandAdapter,
18036
18065
  fs as deepSea,
18037
18066
  Ri as defaultValidationMessage,
18038
18067
  Xs as deprecateProp,
18039
- Y0 as deprecateSymbol,
18068
+ Q0 as deprecateSymbol,
18040
18069
  Nr as deriveMode,
18041
- kl as deserializeTheme,
18070
+ Al as deserializeTheme,
18042
18071
  as as desertDune,
18043
18072
  Ms as dieterRams,
18044
18073
  St as endMark,
18045
- N0 as evaluateCondition,
18074
+ z0 as evaluateCondition,
18046
18075
  Fi as evaluateValidation,
18047
18076
  $i as evaluateValidationRule,
18048
- jd as filterGroupToWhere,
18049
- v0 as filterNiceThemePacksByTag,
18050
- w0 as filterNiceThemePacksExtendedByTag,
18051
- Zl as forceGC,
18077
+ Ud as filterGroupToWhere,
18078
+ S0 as filterNiceThemePacksByTag,
18079
+ M0 as filterNiceThemePacksExtendedByTag,
18080
+ ed as forceGC,
18052
18081
  rs as forestCanopy,
18053
18082
  pu as formatICU,
18054
18083
  Sa as formatShortcut,
18055
- Q0 as forwardDeprecated,
18084
+ Z0 as forwardDeprecated,
18056
18085
  ea as generateBadgeStyles,
18057
18086
  Gt as generateButtonStyles,
18058
18087
  Yt as generateCardStyles,
18059
18088
  Ws as generateColorPlaceholder,
18060
- cd as generateColumnsFromSchema,
18089
+ ld as generateColumnsFromSchema,
18061
18090
  ac as generateFillStyles,
18062
- ld as generateFormFieldsFromSchema,
18063
- sd as generateFromOpenAPI,
18091
+ dd as generateFormFieldsFromSchema,
18092
+ cd as generateFromOpenAPI,
18064
18093
  _s as generateGradientPlaceholder,
18065
18094
  Jt as generateInputStyles,
18066
18095
  Rc as generatePaletteFromColor,
@@ -18070,27 +18099,27 @@ export {
18070
18099
  na as generateTableStyles,
18071
18100
  ra as generateToggleStyles,
18072
18101
  aa as generateTooltipStyles,
18073
- kd as generateTracelessComplianceReport,
18102
+ Ad as generateTracelessComplianceReport,
18074
18103
  Qt as generateVariantCSS,
18075
18104
  Jo as getComponentStats,
18076
18105
  ia as getComponentStyleFromConfig,
18077
- wl as getComputedTheme,
18106
+ Ml as getComputedTheme,
18078
18107
  sa as getDisplayStyleDataAttrs,
18079
- Cd as getGracefulDegradationInfo,
18080
- Wl as getLeakReports,
18108
+ Ld as getGracefulDegradationInfo,
18109
+ _l as getLeakReports,
18081
18110
  ii as getLeakSummary,
18082
18111
  gu as getLoadedNiceDictionary,
18083
18112
  Ze as getMemoryStats,
18084
- xd as getMorePrivateMode,
18113
+ wd as getMorePrivateMode,
18085
18114
  Xc as getNiceAnimationClass,
18086
- b0 as getNiceThemePack,
18087
- x0 as getNiceThemePackExtended,
18115
+ v0 as getNiceThemePack,
18116
+ w0 as getNiceThemePackExtended,
18088
18117
  ei as getPerformanceReport,
18089
18118
  Go as getProfilingStats,
18090
- Il as getRecentTimings,
18119
+ Hl as getRecentTimings,
18091
18120
  hr as getSlowRenders,
18092
- Ad as getTracelessBadgeInfo,
18093
- B0 as getTransferables,
18121
+ Cd as getTracelessBadgeInfo,
18122
+ O0 as getTransferables,
18094
18123
  Ui as glassAurora,
18095
18124
  Fr as groupBy,
18096
18125
  Oi as groupByHierarchical,
@@ -18098,7 +18127,7 @@ export {
18098
18127
  qi as hyggeScandinavian,
18099
18128
  ws as inkSumie,
18100
18129
  Je as isAtLeastAsPrivate,
18101
- Kd as isRecordValid,
18130
+ Gd as isRecordValid,
18102
18131
  gc as isSafeUrl,
18103
18132
  is as japaneseWashi,
18104
18133
  Vr as loadAndDecodeImage,
@@ -18107,15 +18136,15 @@ export {
18107
18136
  Ti as matchesFilterCondition,
18108
18137
  Rr as matchesFilterGroup,
18109
18138
  cl as matchesShortcut,
18110
- Fl as measureAsync,
18111
- Dl as measureSync,
18139
+ Dl as measureAsync,
18140
+ Pl as measureSync,
18112
18141
  xs as memphis80s,
18113
18142
  ss as moroccanMosaic,
18114
18143
  Xi as neonArcade,
18115
18144
  Gi as newspaperBroadsheet,
18116
- nd as niceReduxActions,
18117
- od as niceReduxReducer,
18118
- Ll as niceSelectors,
18145
+ od as niceReduxActions,
18146
+ id as niceReduxReducer,
18147
+ Nl as niceSelectors,
18119
18148
  Vc as niceStaggerDelay,
18120
18149
  Bo as niceThemeBlue,
18121
18150
  _o as niceThemeBootstrap,
@@ -18127,35 +18156,35 @@ export {
18127
18156
  tc as normalizeSize,
18128
18157
  rc as normalizeVariant,
18129
18158
  Vi as obsidianEditorial,
18130
- Nd as parsePolicyFromHeader,
18131
- a0 as pivot,
18159
+ zd as parsePolicyFromHeader,
18160
+ n0 as pivot,
18132
18161
  Fs as preloadImages,
18133
18162
  br as printPerformanceReport,
18134
18163
  $a as removeTheme,
18135
18164
  oa as removeVariantConfig,
18136
- Md as resolveControlStoragePermissions,
18165
+ kd as resolveControlStoragePermissions,
18137
18166
  za as resolveCssColor,
18138
18167
  Re as resolveDisplayStyleConfig,
18139
18168
  Xr as resolveStatus,
18140
18169
  bi as resolveStepsI18n,
18141
- G0 as resolveTestId,
18142
- wd as resolveTracelessPolicy,
18143
- fd as resolveTutorial,
18170
+ J0 as resolveTestId,
18171
+ Md as resolveTracelessPolicy,
18172
+ md as resolveTutorial,
18144
18173
  pc as sanitizeHtml,
18145
18174
  ti as saveBaseline,
18146
18175
  Rs as selectOptimalSource,
18147
- Ml as serializeTheme,
18148
- Bl as setupReactDevToolsIntegration,
18176
+ kl as serializeTheme,
18177
+ Ol as setupReactDevToolsIntegration,
18149
18178
  xi as shouldShowConsentBanner,
18150
- Nl as simulateKeyboard,
18151
- zl as simulateType,
18152
- Ud as sortModelToOrderBy,
18179
+ zl as simulateKeyboard,
18180
+ El as simulateType,
18181
+ Kd as sortModelToOrderBy,
18153
18182
  ls as sovietConstructivist,
18154
18183
  vt as startMark,
18155
18184
  As as swissGrid,
18156
18185
  Ji as synthwave84,
18157
- Ql as takeMemorySnapshot,
18158
- Cl as testId,
18186
+ Zl as takeMemorySnapshot,
18187
+ Ll as testId,
18159
18188
  vn as themeAbyss,
18160
18189
  ko as themeAfricanEarth,
18161
18190
  Za as themeAmber,
@@ -18259,16 +18288,16 @@ export {
18259
18288
  Xa as themeZinc,
18260
18289
  ga as triggerHaptic,
18261
18290
  gs as typewriterPress,
18262
- Fd as useAICompletion,
18291
+ Dd as useAICompletion,
18263
18292
  dl as useAccessibleClick,
18264
18293
  Dc as useAdaptiveVariant,
18265
18294
  Hc as useBrandColors,
18266
18295
  Be as useBreakpoint,
18267
- hd as useChartPreferences,
18268
- Bd as useChartSuggestion,
18269
- H0 as useChunkedProcessor,
18296
+ bd as useChartPreferences,
18297
+ Od as useChartSuggestion,
18298
+ R0 as useChunkedProcessor,
18270
18299
  Ec as useClickOutside,
18271
- Dd as useCodeCompletion,
18300
+ Pd as useCodeCompletion,
18272
18301
  pl as useCognitiveAccessibility,
18273
18302
  Ca as useColorBlindMode,
18274
18303
  bl as useColorBlindModePersisted,
@@ -18278,60 +18307,60 @@ export {
18278
18307
  Fc as useContainerSize,
18279
18308
  Nc as useControlId,
18280
18309
  Lr as useControlPreferences,
18281
- Z0 as useControllableState,
18310
+ eu as useControllableState,
18282
18311
  Ic as useDarkMode,
18283
18312
  zc as useDebouncedValue,
18284
18313
  Ps as useDecodedImage,
18285
- R0 as useDeferredList,
18286
- T0 as useDeferredSearch,
18314
+ $0 as useDeferredList,
18315
+ I0 as useDeferredSearch,
18287
18316
  ua as useDevice,
18288
18317
  dc as useDisplayAnimation,
18289
18318
  lc as useDisplayDensity,
18290
18319
  fc as useDisplayModeEdit,
18291
- V0 as useEventCleanup,
18320
+ X0 as useEventCleanup,
18292
18321
  ml as useFocusManagement,
18293
18322
  Tc as useFocusTrap,
18294
- Od as useFormGeneration,
18323
+ Wd as useFormGeneration,
18295
18324
  Ks as useGamepad,
18296
- yd as useGridPreferences,
18325
+ hd as useGridPreferences,
18297
18326
  el as useHaptic,
18298
18327
  Lc as useHoldRepeat,
18299
18328
  Ts as useImageFormats,
18300
18329
  Ds as useImagePreload,
18301
18330
  Ac as useInputMode,
18302
18331
  kc as useIsTouchDevice,
18303
- j0 as useLazyImage,
18332
+ U0 as useLazyImage,
18304
18333
  wa as useLiveAnnouncement,
18305
18334
  Cc as useLongPress,
18306
- Pl as useMeasureEffect,
18335
+ Bl as useMeasureEffect,
18307
18336
  tt as useMediaQuery,
18308
- ed as useMemoryMonitor,
18309
- q0 as useMemoryMonitorPerf,
18310
- Pd as useNaturalLanguageFilter,
18337
+ td as useMemoryMonitor,
18338
+ j0 as useMemoryMonitorPerf,
18339
+ Bd as useNaturalLanguageFilter,
18311
18340
  al as useNiceA11y,
18312
18341
  ve as useNiceAI,
18313
18342
  Uc as useNiceAccessMode,
18314
18343
  _c as useNiceCollapse,
18315
- l0 as useNiceDataSource,
18344
+ d0 as useNiceDataSource,
18316
18345
  ic as useNiceDisplayStyle,
18317
- d0 as useNiceField,
18346
+ u0 as useNiceField,
18318
18347
  ui as useNiceHelp,
18319
18348
  hc as useNiceIcon,
18320
- u0 as useNiceLookupSource,
18349
+ f0 as useNiceLookupSource,
18321
18350
  qc as useNiceRTL,
18322
18351
  Wi as useNiceRecord,
18323
- Al as useNiceTheme,
18352
+ Cl as useNiceTheme,
18324
18353
  Wc as useNiceTransition,
18325
18354
  hu as useNiceTranslation,
18326
18355
  hi as useNiceTutorials,
18327
- ud as useNiceTutorialsEnabled,
18328
- $0 as useOptimistic,
18356
+ fd as useNiceTutorialsEnabled,
18357
+ F0 as useOptimistic,
18329
18358
  Bc as useOrientation,
18330
18359
  Yc as usePan,
18331
18360
  Jc as usePinch,
18332
18361
  $s as useProgressiveImage,
18333
18362
  pa as usePullToRefresh,
18334
- $l as useRenderCount,
18363
+ Fl as useRenderCount,
18335
18364
  Pe as useResolvedDisplayStyle,
18336
18365
  $c as useResponsiveValue,
18337
18366
  il as useRestoreFocus,
@@ -18339,48 +18368,48 @@ export {
18339
18368
  ol as useRovingTabIndex,
18340
18369
  si as useSafeAbortController,
18341
18370
  Oc as useSafeAreaInsets,
18342
- jl as useSafeEventListener,
18343
- Ul as useSafeFetch,
18344
- ql as useSafeInterval,
18345
- Vl as useSafeState,
18346
- Kl as useSafeSubscription,
18347
- Xl as useSafeTimeout,
18348
- Gl as useSafeWebSocket,
18371
+ Ul as useSafeEventListener,
18372
+ Kl as useSafeFetch,
18373
+ jl as useSafeInterval,
18374
+ Xl as useSafeState,
18375
+ Gl as useSafeSubscription,
18376
+ ql as useSafeTimeout,
18377
+ Jl as useSafeWebSocket,
18349
18378
  Os as useSharedImageObserver,
18350
18379
  Pc as useShowAt,
18351
18380
  Gs as useSpatialFocusable,
18352
- ou as useSpatialNav,
18353
- nu as useSpatialNavOptional,
18381
+ iu as useSpatialNav,
18382
+ ou as useSpatialNavOptional,
18354
18383
  ll as useSubmitOnEnter,
18355
18384
  Gc as useSwipe,
18356
- Wd as useTextImprovement,
18357
- A0 as useThemeIsDark,
18385
+ _d as useTextImprovement,
18386
+ C0 as useThemeIsDark,
18358
18387
  Ls as useThemeVariants,
18359
- I0 as useTransitionState,
18360
- Yl as useUnmountLog,
18388
+ H0 as useTransitionState,
18389
+ Ql as useUnmountLog,
18361
18390
  Cr as useUserPreferences,
18362
- z0 as useVirtualGrid,
18391
+ E0 as useVirtualGrid,
18363
18392
  rl as useVirtualKeyboard,
18364
18393
  Es as useVirtualScroll,
18365
18394
  ul as useVoiceControl,
18366
18395
  Zo as useWhyDidYouRender,
18367
- E0 as useWindowedList,
18368
- F0 as useWorker,
18369
- D0 as useWorkerPool,
18370
- i0 as validateData,
18371
- L0 as validateViewDocument,
18396
+ T0 as useWindowedList,
18397
+ D0 as useWorker,
18398
+ P0 as useWorkerPool,
18399
+ s0 as validateData,
18400
+ N0 as validateViewDocument,
18372
18401
  ps as vhsTracking,
18373
18402
  hs as vogueDidone,
18374
18403
  Vs as warnControlledClash,
18375
18404
  Ss as watercolorWash,
18376
- Gd as withCaching,
18377
- n0 as withCalculatedColumns,
18378
- m0 as withCrossTabSync,
18379
- Jd as withCursorPagination,
18380
- Jl as withLeakTracking,
18381
- e0 as withOptimisticUpdates,
18382
- t0 as withPolling,
18383
- Rl as withWhyDidYouRender,
18405
+ Jd as withCaching,
18406
+ o0 as withCalculatedColumns,
18407
+ p0 as withCrossTabSync,
18408
+ Yd as withCursorPagination,
18409
+ Yl as withLeakTracking,
18410
+ t0 as withOptimisticUpdates,
18411
+ r0 as withPolling,
18412
+ $l as withWhyDidYouRender,
18384
18413
  ys as y2kAqua,
18385
18414
  Yi as zenMinimal,
18386
18415
  vs as zinePunk