@tsiky/components-r19 1.5.4 → 1.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ const U$ = "_button_11lba_2", W$ = "_primary_11lba_21", G$ = "_secondary_11lba_3
41
41
  return /* @__PURE__ */ h("button", { type: c, className: d, ...r, children: e });
42
42
  }, vL = ({
43
43
  progress: e,
44
- size: t = 100,
44
+ size: t,
45
45
  strokeWidth: n,
46
46
  color: o = "#FFD700",
47
47
  bgColor: c = "#eef2f6",
@@ -49,31 +49,51 @@ const U$ = "_button_11lba_2", W$ = "_primary_11lba_21", G$ = "_secondary_11lba_3
49
49
  textTop: i,
50
50
  textBottom: s,
51
51
  label: d,
52
- textTopStyle: l,
53
- textBottomStyle: p,
54
- className: y = ""
52
+ labelColor: l,
53
+ textTopStyle: p,
54
+ textBottomStyle: y,
55
+ className: u = ""
55
56
  }) => {
56
- n || (n = t * 0.09);
57
- const u = (t - n) / 2, k = 2 * Math.PI * u, m = k - e / 100 * k;
58
- return /* @__PURE__ */ _("div", { className: `circular-progress-container ${y}`, style: { color: r }, children: [
57
+ t || (t = 150);
58
+ const k = n || t * 0.1;
59
+ t += k;
60
+ const m = Math.min(5, Math.max(0, Math.floor(e))), f = t / 2, v = (t - k) / 2, M = 2 * Math.PI * v, x = M / 5 * (1 - 0.1), N = M - x;
61
+ return /* @__PURE__ */ _("div", { className: `circular-progress-container ${u}`, children: [
59
62
  /* @__PURE__ */ _("div", { className: "circular-progress", style: { width: t, height: t }, children: [
60
- /* @__PURE__ */ h("svg", { width: t, height: t, children: /* @__PURE__ */ h(
61
- "circle",
62
- {
63
- className: "circular-progress-bar",
64
- stroke: o,
65
- strokeWidth: n,
66
- strokeLinecap: "round",
67
- fill: c,
68
- r: u,
69
- cx: t / 2,
70
- cy: t / 2,
71
- strokeDasharray: k,
72
- strokeDashoffset: m,
73
- style: { transition: "stroke-dashoffset 0.6s ease" }
74
- }
75
- ) }),
76
- (i || s) && /* @__PURE__ */ _("div", { className: "circular-progress-content", children: [
63
+ /* @__PURE__ */ _("svg", { width: t, height: t, children: [
64
+ /* @__PURE__ */ h(
65
+ "circle",
66
+ {
67
+ cx: f,
68
+ cy: f,
69
+ r: v - k / 2,
70
+ fill: c,
71
+ stroke: "none",
72
+ style: { filter: "drop-shadow(0px 0px 1px rgba(0,0,0,0.4))" }
73
+ }
74
+ ),
75
+ Array.from({ length: 5 }).map((b, C) => {
76
+ const w = -90 + C * 72;
77
+ return C >= m ? null : /* @__PURE__ */ h(
78
+ "circle",
79
+ {
80
+ cx: f,
81
+ cy: f,
82
+ r: v,
83
+ fill: "transparent",
84
+ stroke: o,
85
+ strokeWidth: k,
86
+ strokeLinecap: "butt",
87
+ strokeDasharray: `${x} ${N}`,
88
+ strokeDashoffset: 0,
89
+ transform: `rotate(${w} ${f} ${f})`,
90
+ style: { transition: "stroke 0.3s ease" }
91
+ },
92
+ C
93
+ );
94
+ })
95
+ ] }),
96
+ (i || s) && /* @__PURE__ */ _("div", { className: "circular-progress-content", style: { color: r }, children: [
77
97
  i && /* @__PURE__ */ h(
78
98
  "div",
79
99
  {
@@ -81,7 +101,7 @@ const U$ = "_button_11lba_2", W$ = "_primary_11lba_21", G$ = "_secondary_11lba_3
81
101
  style: {
82
102
  fontSize: "var(--text-paragraph)",
83
103
  fontWeight: "var(--font-bold)",
84
- ...l
104
+ ...p
85
105
  },
86
106
  children: i
87
107
  }
@@ -91,17 +111,29 @@ const U$ = "_button_11lba_2", W$ = "_primary_11lba_21", G$ = "_secondary_11lba_3
91
111
  {
92
112
  className: "circular-progress-text-bottom",
93
113
  style: {
94
- fontSize: "var(--text-small)",
95
- ...p
114
+ fontSize: "var(--text-paragraph)",
115
+ fontWeight: "var(--font-medium)",
116
+ ...y
96
117
  },
97
118
  children: s
98
119
  }
99
120
  )
100
121
  ] })
101
122
  ] }),
102
- d && /* @__PURE__ */ h("div", { className: "circular-progress-label", style: { fontSize: "var(--text-small)" }, children: d })
123
+ d && /* @__PURE__ */ h(
124
+ "div",
125
+ {
126
+ className: "circular-progress-label",
127
+ style: {
128
+ fontSize: "var(--text-paragraph)",
129
+ fontWeight: "var(--font-medium)",
130
+ color: l || r || "inherit"
131
+ },
132
+ children: d
133
+ }
134
+ )
103
135
  ] });
104
- }, oq = "_wrapper_x6fct_1", cq = "_list_x6fct_25", iq = "_item_x6fct_45", rq = "_badge_x6fct_61", sq = "_text_x6fct_85", dq = "_tooltip_x6fct_99", we = {
136
+ }, oq = "_wrapper_fxmkb_1", cq = "_list_fxmkb_14", iq = "_item_fxmkb_24", rq = "_badge_fxmkb_32", sq = "_text_fxmkb_44", dq = "_tooltip_fxmkb_51", we = {
105
137
  wrapper: oq,
106
138
  list: cq,
107
139
  item: iq,
@@ -122,20 +154,20 @@ function hq({
122
154
  }) {
123
155
  const [l, p] = V(!1), [y, u] = V(null), k = B(null);
124
156
  H(() => {
125
- function M(f) {
126
- f.key === "Escape" && p(!1);
157
+ function M(g) {
158
+ g.key === "Escape" && p(!1);
127
159
  }
128
160
  return l && document.addEventListener("keydown", M), () => document.removeEventListener("keydown", M);
129
161
  }, [l]), H(() => {
130
- function M(f) {
131
- k.current && !k.current.contains(f.target) && p(!1);
162
+ function M(g) {
163
+ k.current && !k.current.contains(g.target) && p(!1);
132
164
  }
133
165
  return l && document.addEventListener("mousedown", M), () => document.removeEventListener("mousedown", M);
134
166
  }, [l]);
135
167
  function m(M) {
136
168
  r && (M.preventDefault(), u({ x: M.clientX, y: M.clientY }), p(!0));
137
169
  }
138
- const g = e.slice(0, i), v = (M) => typeof M == "number" ? `${M}px` : M;
170
+ const f = e.slice(0, i), v = (M) => typeof M == "number" ? `${M}px` : M;
139
171
  return /* @__PURE__ */ _(
140
172
  "div",
141
173
  {
@@ -149,7 +181,7 @@ function hq({
149
181
  onContextMenu: m,
150
182
  "aria-label": "liste-badges",
151
183
  children: [
152
- /* @__PURE__ */ h("ul", { className: we.list, children: g.map((M, f) => /* @__PURE__ */ _("li", { className: we.item, children: [
184
+ /* @__PURE__ */ h("ul", { className: we.list, children: f.map((M, g) => /* @__PURE__ */ _("li", { className: we.item, children: [
153
185
  /* @__PURE__ */ h(
154
186
  "span",
155
187
  {
@@ -159,7 +191,7 @@ function hq({
159
191
  }
160
192
  ),
161
193
  /* @__PURE__ */ h("span", { className: we.text, style: { color: M.textColor ?? o }, children: M.text })
162
- ] }, f)) }),
194
+ ] }, g)) }),
163
195
  r && l && y && /* @__PURE__ */ h(
164
196
  "div",
165
197
  {
@@ -168,13 +200,13 @@ function hq({
168
200
  left: y.x + 8,
169
201
  top: y.y + 8,
170
202
  backgroundColor: c,
171
- width: v(s),
203
+ // width: toCssValue(width),
172
204
  "--gap": v(d)
173
205
  },
174
206
  role: "dialog",
175
207
  "aria-modal": "false",
176
208
  ref: k,
177
- children: /* @__PURE__ */ h("ul", { className: we.list, children: e.map((M, f) => /* @__PURE__ */ _("li", { className: we.item, children: [
209
+ children: /* @__PURE__ */ h("ul", { className: we.list, children: e.map((M, g) => /* @__PURE__ */ _("li", { className: we.item, children: [
178
210
  /* @__PURE__ */ h(
179
211
  "span",
180
212
  {
@@ -183,7 +215,7 @@ function hq({
183
215
  }
184
216
  ),
185
217
  /* @__PURE__ */ h("span", { className: we.text, style: { color: M.textColor ?? "#000" }, children: M.text })
186
- ] }, f)) })
218
+ ] }, g)) })
187
219
  }
188
220
  )
189
221
  ]
@@ -31246,7 +31278,7 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31246
31278
  createLucideIcon: a,
31247
31279
  icons: _ie
31248
31280
  }, Symbol.toStringTag, { value: "Module" })), G5e = ({
31249
- size: e = 200,
31281
+ size: e = 250,
31250
31282
  background: t = "#fff",
31251
31283
  headerTop: n,
31252
31284
  headerBottom: o,
@@ -31259,44 +31291,42 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31259
31291
  className: p = "",
31260
31292
  draggable: y = !1
31261
31293
  }) => {
31262
- const u = { size: e * 0.5, ...i }, k = { size: e * 0.4, ...d };
31263
- return /* @__PURE__ */ _(
31264
- "div",
31265
- {
31266
- style: { width: e, background: t, position: "relative", ...l },
31267
- className: `stat-card ${p}`,
31268
- children: [
31269
- /* @__PURE__ */ _("div", { className: "stat-card-header", children: [
31270
- /* @__PURE__ */ h("div", { className: "stat-card-header-top", style: c, children: n }),
31271
- o && /* @__PURE__ */ h("div", { className: "stat-card-header-bottom", style: r, children: o })
31272
- ] }),
31273
- /* @__PURE__ */ _("div", { className: "stat-card-body", style: { opacity: y ? 0 : 1 }, children: [
31274
- /* @__PURE__ */ h("div", { className: "progress-row-single", children: /* @__PURE__ */ h(vL, { ...u }) }),
31275
- /* @__PURE__ */ _("div", { className: "progress-row-double", children: [
31276
- /* @__PURE__ */ h("div", { className: "progress-item", children: /* @__PURE__ */ h(hq, { ...s }) }),
31277
- /* @__PURE__ */ h("div", { className: "progress-item", children: /* @__PURE__ */ h(vL, { ...k }) })
31278
- ] })
31279
- ] }),
31280
- y && /* @__PURE__ */ h(
31281
- "div",
31282
- {
31283
- style: {
31284
- position: "absolute",
31285
- top: 0,
31286
- left: 0,
31287
- width: "100%",
31288
- height: "100%",
31289
- display: "flex",
31290
- alignItems: "center",
31291
- justifyContent: "center",
31292
- pointerEvents: "none"
31293
- },
31294
- children: /* @__PURE__ */ h(jn, { size: 32, strokeWidth: 1.5, style: { opacity: 0.8 } })
31295
- }
31296
- )
31297
- ]
31298
- }
31299
- );
31294
+ const u = e !== void 0 ? e : 250, k = e ? { size: e * 0.5, ...i } : i, m = e ? { size: e * 0.4, ...d } : d, f = {
31295
+ background: t,
31296
+ position: "relative",
31297
+ ...l,
31298
+ ...u && { width: u }
31299
+ };
31300
+ return /* @__PURE__ */ _("div", { style: f, className: `stat-card ${p}`, children: [
31301
+ /* @__PURE__ */ _("div", { className: "stat-card-header", children: [
31302
+ /* @__PURE__ */ h("div", { className: "stat-card-header-top", style: c, children: n }),
31303
+ o && /* @__PURE__ */ h("div", { className: "stat-card-header-bottom", style: r, children: o })
31304
+ ] }),
31305
+ /* @__PURE__ */ _("div", { className: "stat-card-body", style: { opacity: y ? 0 : 1 }, children: [
31306
+ /* @__PURE__ */ h("div", { className: "progress-row-single", children: /* @__PURE__ */ h(vL, { ...k }) }),
31307
+ /* @__PURE__ */ _("div", { className: "progress-row-double", children: [
31308
+ /* @__PURE__ */ h("div", { className: "progress-item", children: /* @__PURE__ */ h(hq, { ...s }) }),
31309
+ /* @__PURE__ */ h("div", { className: "progress-item", children: /* @__PURE__ */ h(vL, { ...m }) })
31310
+ ] })
31311
+ ] }),
31312
+ y && /* @__PURE__ */ h(
31313
+ "div",
31314
+ {
31315
+ style: {
31316
+ position: "absolute",
31317
+ top: 0,
31318
+ left: 0,
31319
+ width: "100%",
31320
+ height: "100%",
31321
+ display: "flex",
31322
+ alignItems: "center",
31323
+ justifyContent: "center",
31324
+ pointerEvents: "none"
31325
+ },
31326
+ children: /* @__PURE__ */ h(jn, { size: 32, strokeWidth: 1.5, style: { opacity: 0.8 } })
31327
+ }
31328
+ )
31329
+ ] });
31300
31330
  }, CN = de(void 0), ax = () => {
31301
31331
  const e = K(CN);
31302
31332
  if (!e) throw new Error("useNavigation must be used within a NavProvider");
@@ -31347,28 +31377,28 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31347
31377
  ),
31348
31378
  i && /* @__PURE__ */ h("div", { className: `dropdown-content ${o === "auto" ? d : o}`, children: e?.map((v, M) => /* @__PURE__ */ _("div", { className: "dropdown-category", children: [
31349
31379
  v.title && /* @__PURE__ */ h("div", { className: "category-title", children: v.title }),
31350
- /* @__PURE__ */ h("div", { className: "category-items", children: v.items.map((f, x) => {
31351
- const C = f.id ?? f.label, b = u === C || k === C, N = f.select ?? r;
31352
- if (f.id === "language") {
31353
- if (!N || !Array.isArray(N.options) || !N.onChange)
31380
+ /* @__PURE__ */ h("div", { className: "category-items", children: v.items.map((g, x) => {
31381
+ const N = g.id ?? g.label, b = u === N || k === N, C = g.select ?? r;
31382
+ if (g.id === "language") {
31383
+ if (!C || !Array.isArray(C.options) || !C.onChange)
31354
31384
  return /* @__PURE__ */ h("div", { className: "dropdown-language" }, x);
31355
- const L = Array.isArray(N.options) ? N.options : [], A = L.some((I) => I.code === N.value) ? L : [
31385
+ const L = Array.isArray(C.options) ? C.options : [], A = L.some((I) => I.code === C.value) ? L : [
31356
31386
  {
31357
- code: N.value ?? "",
31358
- label: String(N.value ?? "")
31387
+ code: C.value ?? "",
31388
+ label: String(C.value ?? "")
31359
31389
  },
31360
31390
  ...L
31361
31391
  ];
31362
31392
  return /* @__PURE__ */ h("div", { className: "dropdown-language", children: /* @__PURE__ */ h(
31363
31393
  "select",
31364
31394
  {
31365
- name: N.name ?? "language",
31395
+ name: C.name ?? "language",
31366
31396
  className: "language-select",
31367
- value: N.value ?? "",
31397
+ value: C.value ?? "",
31368
31398
  onChange: (I) => {
31369
31399
  const z = I.target.value;
31370
31400
  try {
31371
- N.onChange(z);
31401
+ C.onChange(z);
31372
31402
  } catch (P) {
31373
31403
  console.error("select onChange error", P);
31374
31404
  }
@@ -31380,11 +31410,11 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31380
31410
  const w = {
31381
31411
  className: `dropdown-item ${b ? "active" : ""}`,
31382
31412
  onClick: () => {
31383
- f.onClick?.(), s(!1);
31413
+ g.onClick?.(), s(!1);
31384
31414
  },
31385
- role: f.type === "button" || !f.href ? "button" : void 0
31415
+ role: g.type === "button" || !g.href ? "button" : void 0
31386
31416
  };
31387
- return f.type === "button" || !f.href ? /* @__PURE__ */ h("button", { type: "button", ...w, children: f.label }, x) : /* @__PURE__ */ h("a", { ...w, href: f.href, children: f.label }, x);
31417
+ return g.type === "button" || !g.href ? /* @__PURE__ */ h("button", { type: "button", ...w, children: g.label }, x) : /* @__PURE__ */ h("a", { ...w, href: g.href, children: g.label }, x);
31388
31418
  }) })
31389
31419
  ] }, M)) })
31390
31420
  ] });
@@ -31404,10 +31434,10 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31404
31434
  style: u = {},
31405
31435
  width: k,
31406
31436
  order: m,
31407
- onSwap: g,
31437
+ onSwap: f,
31408
31438
  draggable: v = !1
31409
31439
  }) => {
31410
- const [M, f] = V([]);
31440
+ const [M, g] = V([]);
31411
31441
  H(() => {
31412
31442
  const w = (I) => {
31413
31443
  const z = [];
@@ -31430,11 +31460,11 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31430
31460
  m && m.length > 0 && (A = q.map((I, z) => ({
31431
31461
  ...I,
31432
31462
  node: q[m[z]]?.node ?? I.node
31433
- }))), f(A);
31463
+ }))), g(A);
31434
31464
  }, [e]);
31435
31465
  const x = (w, L) => {
31436
31466
  w.stopPropagation(), w.dataTransfer.setData("dragIndex", L.toString()), w.dataTransfer.setData("parentKey", y.toString());
31437
- }, C = (w) => {
31467
+ }, N = (w) => {
31438
31468
  w.preventDefault(), w.stopPropagation();
31439
31469
  }, b = (w, L) => {
31440
31470
  w.preventDefault();
@@ -31457,8 +31487,8 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31457
31487
  }, I[z] = {
31458
31488
  ...I[z],
31459
31489
  node: $
31460
- }, f(I), typeof g == "function" && g(P, z);
31461
- }, N = o ? [
31490
+ }, g(I), typeof f == "function" && f(P, z);
31491
+ }, C = o ? [
31462
31492
  c ? `grid-xs-${c}` : "",
31463
31493
  r ? `grid-sm-${r}` : "",
31464
31494
  i ? `grid-md-${i}` : "",
@@ -31468,7 +31498,7 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31468
31498
  return !o && k ? u = { ...u, width: `${k}px` } : !o && !k && (u = { ...u, width: "100%" }), u = { ...u, height: "100%" }, t ? /* @__PURE__ */ h(
31469
31499
  "div",
31470
31500
  {
31471
- className: `${p} grid-container ${N}`,
31501
+ className: `${p} grid-container ${C}`,
31472
31502
  style: {
31473
31503
  "--gap": `${l}rem`,
31474
31504
  ...u
@@ -31479,7 +31509,7 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31479
31509
  {
31480
31510
  draggable: !0,
31481
31511
  onDragStart: (L) => x(L, w.node?.props?.uniqueKey),
31482
- onDragOver: (L) => C(L),
31512
+ onDragOver: (L) => N(L),
31483
31513
  onDrop: (L) => b(L, w.node?.props?.uniqueKey),
31484
31514
  className: `grid-item grid-item-grabbing ${w.classes}`,
31485
31515
  children: w.node
@@ -31491,7 +31521,7 @@ const ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31491
31521
  ) : n ? /* @__PURE__ */ h(
31492
31522
  "div",
31493
31523
  {
31494
- className: `${p} grid-item ${N}`,
31524
+ className: `${p} grid-item ${C}`,
31495
31525
  style: { gap: `${l}rem`, ...u },
31496
31526
  children: e
31497
31527
  }
@@ -31547,28 +31577,28 @@ const wie = ({
31547
31577
  }) => {
31548
31578
  const { activeNav: r } = ax(), [i, s] = V(!0), [d, l] = V(!1), [p, y] = V("left"), u = B(null), k = B(null), m = B(null);
31549
31579
  H(() => {
31550
- const f = () => {
31580
+ const g = () => {
31551
31581
  if (u.current && u.current.parentElement) {
31552
31582
  const x = u.current.parentNode?.parentElement?.offsetWidth || 0;
31553
31583
  s(x * 0.8 < u.current.offsetWidth || x < 1100);
31554
31584
  }
31555
31585
  };
31556
- return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
31586
+ return g(), window.addEventListener("resize", g), () => window.removeEventListener("resize", g);
31557
31587
  }, []), H(() => {
31558
31588
  if (d && c === "auto" && k.current) {
31559
- const f = k.current.getBoundingClientRect(), x = window.innerWidth / 2;
31560
- y(f.left < x ? "left" : "right");
31589
+ const g = k.current.getBoundingClientRect(), x = window.innerWidth / 2;
31590
+ y(g.left < x ? "left" : "right");
31561
31591
  }
31562
31592
  }, [d, c]), H(() => {
31563
31593
  if (!d) return;
31564
- const f = (x) => {
31594
+ const g = (x) => {
31565
31595
  m.current && !m.current.contains(x.target) && k.current && !k.current.contains(x.target) && l(!1);
31566
31596
  };
31567
- return document.addEventListener("mousedown", f), () => document.removeEventListener("mousedown", f);
31597
+ return document.addEventListener("mousedown", g), () => document.removeEventListener("mousedown", g);
31568
31598
  }, [d]);
31569
- const g = (f) => {
31570
- t?.(f), l(!1);
31571
- }, v = e.find((f) => f.id === r) || e[0], M = c === "auto" ? p : c;
31599
+ const f = (g) => {
31600
+ t?.(g), l(!1);
31601
+ }, v = e.find((g) => g.id === r) || e[0], M = c === "auto" ? p : c;
31572
31602
  return /* @__PURE__ */ h("div", { ref: u, children: i ? /* @__PURE__ */ _("div", { className: "navbar-mobile", children: [
31573
31603
  /* @__PURE__ */ _(
31574
31604
  "button",
@@ -31585,29 +31615,29 @@ const wie = ({
31585
31615
  ]
31586
31616
  }
31587
31617
  ),
31588
- d && /* @__PURE__ */ h("div", { ref: m, className: `navbar-dropdown ${M}`, children: e.map((f) => /* @__PURE__ */ h(
31618
+ d && /* @__PURE__ */ h("div", { ref: m, className: `navbar-dropdown ${M}`, children: e.map((g) => /* @__PURE__ */ h(
31589
31619
  _L,
31590
31620
  {
31591
- id: f.id,
31592
- label: f.label,
31593
- href: f.moduleKey && o[f.moduleKey] ? f.href : void 0,
31594
- isActive: r === f.id && f.moduleKey !== void 0 && o[f.moduleKey],
31595
- onClick: g,
31621
+ id: g.id,
31622
+ label: g.label,
31623
+ href: g.moduleKey && o[g.moduleKey] ? g.href : void 0,
31624
+ isActive: r === g.id && g.moduleKey !== void 0 && o[g.moduleKey],
31625
+ onClick: f,
31596
31626
  highlightColor: n
31597
31627
  },
31598
- f.id
31628
+ g.id
31599
31629
  )) })
31600
- ] }) : /* @__PURE__ */ h("nav", { className: "navbar", children: e.map((f) => /* @__PURE__ */ h(
31630
+ ] }) : /* @__PURE__ */ h("nav", { className: "navbar", children: e.map((g) => /* @__PURE__ */ h(
31601
31631
  _L,
31602
31632
  {
31603
- id: f.id,
31604
- label: f.label,
31605
- href: f.moduleKey && o[f.moduleKey] ? f.href : void 0,
31606
- isActive: r === f.id && f.moduleKey !== void 0 && o[f.moduleKey],
31607
- onClick: g,
31633
+ id: g.id,
31634
+ label: g.label,
31635
+ href: g.moduleKey && o[g.moduleKey] ? g.href : void 0,
31636
+ isActive: r === g.id && g.moduleKey !== void 0 && o[g.moduleKey],
31637
+ onClick: f,
31608
31638
  highlightColor: n
31609
31639
  },
31610
- f.id
31640
+ g.id
31611
31641
  )) }) });
31612
31642
  }, SN = de(void 0), K5e = ({ children: e, initialTheme: t }) => {
31613
31643
  const [n, o] = V(() => {
@@ -31868,7 +31898,7 @@ function Vie({
31868
31898
  const y = (k) => {
31869
31899
  p(
31870
31900
  (m) => m.map(
31871
- (g) => g.component_key === k && !g.is_default ? { ...g, visible: !g.visible } : g
31901
+ (f) => f.component_key === k && !f.is_default ? { ...f, visible: !f.visible } : f
31872
31902
  )
31873
31903
  );
31874
31904
  }, u = () => {
@@ -31913,27 +31943,47 @@ function Vie({
31913
31943
  padding: 12
31914
31944
  },
31915
31945
  children: [
31916
- /* @__PURE__ */ h("ul", { style: { listStyle: "none", padding: 0, margin: 0, marginBottom: 12 }, children: l.map((k) => /* @__PURE__ */ _("li", { style: { display: "flex", alignItems: "center", marginBottom: 4 }, children: [
31917
- /* @__PURE__ */ h(
31918
- "input",
31919
- {
31920
- type: "checkbox",
31921
- checked: k.visible,
31922
- disabled: !!k.is_default,
31923
- onChange: () => y(k.component_key),
31924
- style: { marginRight: 8 }
31925
- }
31926
- ),
31927
- /* @__PURE__ */ h("span", { style: { color: k.is_default ? "#6b7280" : "#111827" }, children: k.label }),
31928
- k.is_default && /* @__PURE__ */ h("span", { style: { fontSize: "var(--text-paragraph)", color: "#9ca3af", marginLeft: 6 } })
31929
- ] }, k.component_key)) }),
31946
+ /* @__PURE__ */ h("ul", { style: { listStyle: "none", padding: 0, margin: 0, marginBottom: 12 }, children: l.map((k) => /* @__PURE__ */ _(
31947
+ "li",
31948
+ {
31949
+ style: { display: "flex", alignItems: "center", marginBottom: 4 },
31950
+ children: [
31951
+ /* @__PURE__ */ h(
31952
+ "input",
31953
+ {
31954
+ type: "checkbox",
31955
+ checked: k.visible,
31956
+ disabled: !!k.is_default,
31957
+ onChange: () => y(k.component_key),
31958
+ style: { marginRight: 8 }
31959
+ }
31960
+ ),
31961
+ /* @__PURE__ */ h("span", { style: { color: k.is_default ? "#6b7280" : "#111827" }, children: k.label }),
31962
+ k.is_default && /* @__PURE__ */ h(
31963
+ "span",
31964
+ {
31965
+ style: { fontSize: "var(--text-paragraph)", color: "#9ca3af", marginLeft: 6 }
31966
+ }
31967
+ )
31968
+ ]
31969
+ },
31970
+ k.component_key
31971
+ )) }),
31930
31972
  /* @__PURE__ */ h(
31931
31973
  "button",
31932
31974
  {
31933
31975
  type: "button",
31934
31976
  onClick: u,
31935
31977
  disabled: n,
31936
- style: { padding: "6px 18px", borderRadius: 6, border: "none", background: "var(--color-primary)", color: "#fff", fontWeight: 600, cursor: "pointer" },
31978
+ style: {
31979
+ padding: "6px 18px",
31980
+ borderRadius: 6,
31981
+ border: "none",
31982
+ background: "var(--color-primary)",
31983
+ color: "#fff",
31984
+ fontWeight: 600,
31985
+ cursor: "pointer"
31986
+ },
31937
31987
  children: n ? r : c
31938
31988
  }
31939
31989
  )
@@ -32250,18 +32300,18 @@ function KN(e, t) {
32250
32300
  delta: 0,
32251
32301
  timestamp: 0,
32252
32302
  isProcessing: !1
32253
- }, r = () => n = !0, i = Oo.reduce((x, C) => (x[C] = Gie(r), x), {}), { setup: s, read: d, resolveKeyframes: l, preUpdate: p, update: y, preRender: u, render: k, postRender: m } = i, g = () => {
32303
+ }, r = () => n = !0, i = Oo.reduce((x, N) => (x[N] = Gie(r), x), {}), { setup: s, read: d, resolveKeyframes: l, preUpdate: p, update: y, preRender: u, render: k, postRender: m } = i, f = () => {
32254
32304
  const x = ze.useManualTiming ? c.timestamp : performance.now();
32255
- n = !1, ze.useManualTiming || (c.delta = o ? 1e3 / 60 : Math.max(Math.min(x - c.timestamp, Zie), 1)), c.timestamp = x, c.isProcessing = !0, s.process(c), d.process(c), l.process(c), p.process(c), y.process(c), u.process(c), k.process(c), m.process(c), c.isProcessing = !1, n && t && (o = !1, e(g));
32305
+ n = !1, ze.useManualTiming || (c.delta = o ? 1e3 / 60 : Math.max(Math.min(x - c.timestamp, Zie), 1)), c.timestamp = x, c.isProcessing = !0, s.process(c), d.process(c), l.process(c), p.process(c), y.process(c), u.process(c), k.process(c), m.process(c), c.isProcessing = !1, n && t && (o = !1, e(f));
32256
32306
  }, v = () => {
32257
- n = !0, o = !0, c.isProcessing || e(g);
32307
+ n = !0, o = !0, c.isProcessing || e(f);
32258
32308
  };
32259
- return { schedule: Oo.reduce((x, C) => {
32260
- const b = i[C];
32261
- return x[C] = (N, w = !1, L = !1) => (n || v(), b.schedule(N, w, L)), x;
32309
+ return { schedule: Oo.reduce((x, N) => {
32310
+ const b = i[N];
32311
+ return x[N] = (C, w = !1, L = !1) => (n || v(), b.schedule(C, w, L)), x;
32262
32312
  }, {}), cancel: (x) => {
32263
- for (let C = 0; C < Oo.length; C++)
32264
- i[Oo[C]].cancel(x);
32313
+ for (let N = 0; N < Oo.length; N++)
32314
+ i[Oo[N]].cancel(x);
32265
32315
  }, state: c, steps: i };
32266
32316
  }
32267
32317
  const { schedule: U, cancel: Ve, state: ae, steps: mx } = /* @__PURE__ */ KN(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ge, !0);
@@ -32538,8 +32588,8 @@ function x2e({ duration: e = Z.duration, bounce: t = Z.bounce, velocity: n = Z.v
32538
32588
  const p = l * i, y = p * e, u = p - n, k = kb(l, i), m = Math.exp(-y);
32539
32589
  return vx - u / k * m;
32540
32590
  }, r = (l) => {
32541
- const y = l * i * e, u = y * n + n, k = Math.pow(i, 2) * Math.pow(l, 2) * e, m = Math.exp(-y), g = kb(Math.pow(l, 2), i);
32542
- return (-c(l) + vx > 0 ? -1 : 1) * ((u - k) * m) / g;
32591
+ const y = l * i * e, u = y * n + n, k = Math.pow(i, 2) * Math.pow(l, 2) * e, m = Math.exp(-y), f = kb(Math.pow(l, 2), i);
32592
+ return (-c(l) + vx > 0 ? -1 : 1) * ((u - k) * m) / f;
32543
32593
  }) : (c = (l) => {
32544
32594
  const p = Math.exp(-l * e), y = (l - n) * e + 1;
32545
32595
  return -vx + p * y;
@@ -32615,46 +32665,46 @@ function X_(e = Z.visualDuration, t = Z.bounce) {
32615
32665
  const r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], s = { done: !1, value: r }, { stiffness: d, damping: l, mass: p, duration: y, velocity: u, isResolvedFromDuration: k } = C2e({
32616
32666
  ...n,
32617
32667
  velocity: -/* @__PURE__ */ me(n.velocity || 0)
32618
- }), m = u || 0, g = l / (2 * Math.sqrt(d * p)), v = i - r, M = /* @__PURE__ */ me(Math.sqrt(d / p)), f = Math.abs(v) < 5;
32619
- o || (o = f ? Z.restSpeed.granular : Z.restSpeed.default), c || (c = f ? Z.restDelta.granular : Z.restDelta.default);
32668
+ }), m = u || 0, f = l / (2 * Math.sqrt(d * p)), v = i - r, M = /* @__PURE__ */ me(Math.sqrt(d / p)), g = Math.abs(v) < 5;
32669
+ o || (o = g ? Z.restSpeed.granular : Z.restSpeed.default), c || (c = g ? Z.restDelta.granular : Z.restDelta.default);
32620
32670
  let x;
32621
- if (g < 1) {
32622
- const b = kb(M, g);
32623
- x = (N) => {
32624
- const w = Math.exp(-g * M * N);
32625
- return i - w * ((m + g * M * v) / b * Math.sin(b * N) + v * Math.cos(b * N));
32671
+ if (f < 1) {
32672
+ const b = kb(M, f);
32673
+ x = (C) => {
32674
+ const w = Math.exp(-f * M * C);
32675
+ return i - w * ((m + f * M * v) / b * Math.sin(b * C) + v * Math.cos(b * C));
32626
32676
  };
32627
- } else if (g === 1)
32677
+ } else if (f === 1)
32628
32678
  x = (b) => i - Math.exp(-M * b) * (v + (m + M * v) * b);
32629
32679
  else {
32630
- const b = M * Math.sqrt(g * g - 1);
32631
- x = (N) => {
32632
- const w = Math.exp(-g * M * N), L = Math.min(b * N, 300);
32633
- return i - w * ((m + g * M * v) * Math.sinh(L) + b * v * Math.cosh(L)) / b;
32680
+ const b = M * Math.sqrt(f * f - 1);
32681
+ x = (C) => {
32682
+ const w = Math.exp(-f * M * C), L = Math.min(b * C, 300);
32683
+ return i - w * ((m + f * M * v) * Math.sinh(L) + b * v * Math.cosh(L)) / b;
32634
32684
  };
32635
32685
  }
32636
- const C = {
32686
+ const N = {
32637
32687
  calculatedDuration: k && y || null,
32638
32688
  next: (b) => {
32639
- const N = x(b);
32689
+ const C = x(b);
32640
32690
  if (k)
32641
32691
  s.done = b >= y;
32642
32692
  else {
32643
32693
  let w = b === 0 ? m : 0;
32644
- g < 1 && (w = b === 0 ? /* @__PURE__ */ _e(m) : cS(x, b, N));
32645
- const L = Math.abs(w) <= o, q = Math.abs(i - N) <= c;
32694
+ f < 1 && (w = b === 0 ? /* @__PURE__ */ _e(m) : cS(x, b, C));
32695
+ const L = Math.abs(w) <= o, q = Math.abs(i - C) <= c;
32646
32696
  s.done = L && q;
32647
32697
  }
32648
- return s.value = s.done ? i : N, s;
32698
+ return s.value = s.done ? i : C, s;
32649
32699
  },
32650
32700
  toString: () => {
32651
- const b = Math.min(Kb(C), K_), N = oS((w) => C.next(b * w).value, b, 30);
32652
- return b + "ms " + N;
32701
+ const b = Math.min(Kb(N), K_), C = oS((w) => N.next(b * w).value, b, 30);
32702
+ return b + "ms " + C;
32653
32703
  },
32654
32704
  toTransition: () => {
32655
32705
  }
32656
32706
  };
32657
- return C;
32707
+ return N;
32658
32708
  }
32659
32709
  X_.applyToOptions = (e) => {
32660
32710
  const t = v2e(e, 100, X_);
@@ -32665,16 +32715,16 @@ function mb({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: o = 3
32665
32715
  done: !1,
32666
32716
  value: y
32667
32717
  }, k = (L) => s !== void 0 && L < s || d !== void 0 && L > d, m = (L) => s === void 0 ? d : d === void 0 || Math.abs(s - L) < Math.abs(d - L) ? s : d;
32668
- let g = n * t;
32669
- const v = y + g, M = i === void 0 ? v : i(v);
32670
- M !== v && (g = M - y);
32671
- const f = (L) => -g * Math.exp(-L / o), x = (L) => M + f(L), C = (L) => {
32672
- const q = f(L), A = x(L);
32718
+ let f = n * t;
32719
+ const v = y + f, M = i === void 0 ? v : i(v);
32720
+ M !== v && (f = M - y);
32721
+ const g = (L) => -f * Math.exp(-L / o), x = (L) => M + g(L), N = (L) => {
32722
+ const q = g(L), A = x(L);
32673
32723
  u.done = Math.abs(q) <= l, u.value = u.done ? M : A;
32674
32724
  };
32675
- let b, N;
32725
+ let b, C;
32676
32726
  const w = (L) => {
32677
- k(u.value) && (b = L, N = X_({
32727
+ k(u.value) && (b = L, C = X_({
32678
32728
  keyframes: [u.value, m(u.value)],
32679
32729
  velocity: cS(x, L, u.value),
32680
32730
  // TODO: This should be passing * 1000
@@ -32688,7 +32738,7 @@ function mb({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: o = 3
32688
32738
  calculatedDuration: null,
32689
32739
  next: (L) => {
32690
32740
  let q = !1;
32691
- return !N && b === void 0 && (q = !0, C(L), w(L)), b !== void 0 && L >= b ? N.next(L - b) : (!q && C(L), u);
32741
+ return !C && b === void 0 && (q = !0, N(L), w(L)), b !== void 0 && L >= b ? C.next(L - b) : (!q && N(L), u);
32692
32742
  }
32693
32743
  };
32694
32744
  }
@@ -32829,22 +32879,22 @@ class Jb extends Yb {
32829
32879
  const { generator: o, totalDuration: c, mixKeyframes: r, mirroredGenerator: i, resolvedDuration: s, calculatedDuration: d } = this;
32830
32880
  if (this.startTime === null)
32831
32881
  return o.next(0);
32832
- const { delay: l = 0, keyframes: p, repeat: y, repeatType: u, repeatDelay: k, type: m, onUpdate: g, finalKeyframe: v } = this.options;
32882
+ const { delay: l = 0, keyframes: p, repeat: y, repeatType: u, repeatDelay: k, type: m, onUpdate: f, finalKeyframe: v } = this.options;
32833
32883
  this.speed > 0 ? this.startTime = Math.min(this.startTime, t) : this.speed < 0 && (this.startTime = Math.min(t - c / this.speed, this.startTime)), n ? this.currentTime = t : this.updateTime(t);
32834
- const M = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), f = this.playbackSpeed >= 0 ? M < 0 : M > c;
32884
+ const M = this.currentTime - l * (this.playbackSpeed >= 0 ? 1 : -1), g = this.playbackSpeed >= 0 ? M < 0 : M > c;
32835
32885
  this.currentTime = Math.max(M, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = c);
32836
- let x = this.currentTime, C = o;
32886
+ let x = this.currentTime, N = o;
32837
32887
  if (y) {
32838
32888
  const L = Math.min(this.currentTime, c) / s;
32839
32889
  let q = Math.floor(L), A = L % 1;
32840
- !A && L >= 1 && (A = 1), A === 1 && q--, q = Math.min(q, y + 1), !!(q % 2) && (u === "reverse" ? (A = 1 - A, k && (A -= k / s)) : u === "mirror" && (C = i)), x = Ae(0, 1, A) * s;
32890
+ !A && L >= 1 && (A = 1), A === 1 && q--, q = Math.min(q, y + 1), !!(q % 2) && (u === "reverse" ? (A = 1 - A, k && (A -= k / s)) : u === "mirror" && (N = i)), x = Ae(0, 1, A) * s;
32841
32891
  }
32842
- const b = f ? { done: !1, value: p[0] } : C.next(x);
32892
+ const b = g ? { done: !1, value: p[0] } : N.next(x);
32843
32893
  r && (b.value = r(b.value));
32844
- let { done: N } = b;
32845
- !f && d !== null && (N = this.playbackSpeed >= 0 ? this.currentTime >= c : this.currentTime <= 0);
32846
- const w = this.holdTime === null && (this.state === "finished" || this.state === "running" && N);
32847
- return w && m !== mb && (b.value = Xb(p, this.options, v, this.speed)), g && g(b.value), w && this.finish(), b;
32894
+ let { done: C } = b;
32895
+ !g && d !== null && (C = this.playbackSpeed >= 0 ? this.currentTime >= c : this.currentTime <= 0);
32896
+ const w = this.holdTime === null && (this.state === "finished" || this.state === "running" && C);
32897
+ return w && m !== mb && (b.value = Xb(p, this.options, v, this.speed)), f && f(b.value), w && this.finish(), b;
32848
32898
  }
32849
32899
  /**
32850
32900
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -33324,7 +33374,7 @@ class sre extends Yb {
33324
33374
  element: p,
33325
33375
  ...y
33326
33376
  }, k = p?.KeyframeResolver || Qb;
33327
- this.keyframeResolver = new k(s, (m, g, v) => this.onKeyframesResolved(m, g, u, !v), d, l, p), this.keyframeResolver?.scheduleResolve();
33377
+ this.keyframeResolver = new k(s, (m, f, v) => this.onKeyframesResolved(m, f, u, !v), d, l, p), this.keyframeResolver?.scheduleResolve();
33328
33378
  }
33329
33379
  onKeyframesResolved(t, n, o, c) {
33330
33380
  this.keyframeResolver = void 0;
@@ -34292,17 +34342,17 @@ function n0e(e, t, n, o) {
34292
34342
  for (let k = 0; k < u.length; k++) {
34293
34343
  const m = hL(e, u[k]);
34294
34344
  if (m) {
34295
- const { transitionEnd: g, transition: v, ...M } = m;
34296
- for (const f in M) {
34297
- let x = M[f];
34345
+ const { transitionEnd: f, transition: v, ...M } = m;
34346
+ for (const g in M) {
34347
+ let x = M[g];
34298
34348
  if (Array.isArray(x)) {
34299
- const C = p ? x.length - 1 : 0;
34300
- x = x[C];
34349
+ const N = p ? x.length - 1 : 0;
34350
+ x = x[N];
34301
34351
  }
34302
- x !== null && (c[f] = x);
34352
+ x !== null && (c[g] = x);
34303
34353
  }
34304
- for (const f in g)
34305
- c[f] = g[f];
34354
+ for (const g in f)
34355
+ c[g] = f[g];
34306
34356
  }
34307
34357
  }
34308
34358
  }
@@ -35017,15 +35067,15 @@ function GS(e, t, { delay: n = 0, transitionOverride: o, type: c } = {}) {
35017
35067
  }, m = y.get();
35018
35068
  if (m !== void 0 && !y.isAnimating && !Array.isArray(u) && u === m && !k.velocity)
35019
35069
  continue;
35020
- let g = !1;
35070
+ let f = !1;
35021
35071
  if (window.MotionHandoffAnimation) {
35022
35072
  const M = WS(e);
35023
35073
  if (M) {
35024
- const f = window.MotionHandoffAnimation(M, p, U);
35025
- f !== null && (k.startTime = f, g = !0);
35074
+ const g = window.MotionHandoffAnimation(M, p, U);
35075
+ g !== null && (k.startTime = g, f = !0);
35026
35076
  }
35027
35077
  }
35028
- $b(e, p), y.start(yL(p, y, u, e.shouldReduceMotion && kS.has(p) ? { type: !1 } : k, e, g));
35078
+ $b(e, p), y.start(yL(p, y, u, e.shouldReduceMotion && kS.has(p) ? { type: !1 } : k, e, f));
35029
35079
  const v = y.animation;
35030
35080
  v && d.push(v);
35031
35081
  }
@@ -35125,26 +35175,26 @@ function G0e(e) {
35125
35175
  const { props: l } = e, p = XS(e.parent) || {}, y = [], u = /* @__PURE__ */ new Set();
35126
35176
  let k = {}, m = 1 / 0;
35127
35177
  for (let v = 0; v < U0e; v++) {
35128
- const M = E0e[v], f = n[M], x = l[M] !== void 0 ? l[M] : p[M], C = Po(x), b = M === d ? f.isActive : null;
35178
+ const M = E0e[v], g = n[M], x = l[M] !== void 0 ? l[M] : p[M], N = Po(x), b = M === d ? g.isActive : null;
35129
35179
  b === !1 && (m = v);
35130
- let N = x === p[M] && x !== l[M] && C;
35131
- if (N && o && e.manuallyAnimateOnMount && (N = !1), f.protectedKeys = { ...k }, // If it isn't active and hasn't *just* been set as inactive
35132
- !f.isActive && b === null || // If we didn't and don't have any defined prop for this animation type
35133
- !x && !f.prevProp || // Or if the prop doesn't define an animation
35180
+ let C = x === p[M] && x !== l[M] && N;
35181
+ if (C && o && e.manuallyAnimateOnMount && (C = !1), g.protectedKeys = { ...k }, // If it isn't active and hasn't *just* been set as inactive
35182
+ !g.isActive && b === null || // If we didn't and don't have any defined prop for this animation type
35183
+ !x && !g.prevProp || // Or if the prop doesn't define an animation
35134
35184
  cx(x) || typeof x == "boolean")
35135
35185
  continue;
35136
- const w = Z0e(f.prevProp, x);
35186
+ const w = Z0e(g.prevProp, x);
35137
35187
  let L = w || // If we're making this variant active, we want to always make it active
35138
- M === d && f.isActive && !N && C || // If we removed a higher-priority variant (i is in reverse order)
35139
- v > m && C, q = !1;
35188
+ M === d && g.isActive && !C && N || // If we removed a higher-priority variant (i is in reverse order)
35189
+ v > m && N, q = !1;
35140
35190
  const A = Array.isArray(x) ? x : [x];
35141
35191
  let I = A.reduce(c(M), {});
35142
35192
  b === !1 && (I = {});
35143
- const { prevResolvedValues: z = {} } = f, P = {
35193
+ const { prevResolvedValues: z = {} } = g, P = {
35144
35194
  ...z,
35145
35195
  ...I
35146
35196
  }, $ = (R) => {
35147
- L = !0, u.has(R) && (q = !0, u.delete(R)), f.needsAnimating[R] = !0;
35197
+ L = !0, u.has(R) && (q = !0, u.delete(R)), g.needsAnimating[R] = !0;
35148
35198
  const J = e.getValue(R);
35149
35199
  J && (J.liveStyle = !1);
35150
35200
  };
@@ -35153,10 +35203,10 @@ function G0e(e) {
35153
35203
  if (k.hasOwnProperty(R))
35154
35204
  continue;
35155
35205
  let te = !1;
35156
- Sb(J) && Sb(ee) ? te = !KS(J, ee) : te = J !== ee, te ? J != null ? $(R) : u.add(R) : J !== void 0 && u.has(R) ? $(R) : f.protectedKeys[R] = !0;
35206
+ Sb(J) && Sb(ee) ? te = !KS(J, ee) : te = J !== ee, te ? J != null ? $(R) : u.add(R) : J !== void 0 && u.has(R) ? $(R) : g.protectedKeys[R] = !0;
35157
35207
  }
35158
- f.prevProp = x, f.prevResolvedValues = I, f.isActive && (k = { ...k, ...I }), o && e.blockInitialAnimation && (L = !1);
35159
- const T = N && w;
35208
+ g.prevProp = x, g.prevResolvedValues = I, g.isActive && (k = { ...k, ...I }), o && e.blockInitialAnimation && (L = !1);
35209
+ const T = C && w;
35160
35210
  L && (!T || q) && y.push(...A.map((R) => {
35161
35211
  const J = { type: M };
35162
35212
  if (typeof R == "string" && o && !T && e.manuallyAnimateOnMount && e.parent) {
@@ -35179,12 +35229,12 @@ function G0e(e) {
35179
35229
  M && M.transition && (v.transition = M.transition);
35180
35230
  }
35181
35231
  u.forEach((M) => {
35182
- const f = e.getBaseTarget(M), x = e.getValue(M);
35183
- x && (x.liveStyle = !0), v[M] = f ?? null;
35232
+ const g = e.getBaseTarget(M), x = e.getValue(M);
35233
+ x && (x.liveStyle = !0), v[M] = g ?? null;
35184
35234
  }), y.push({ animation: v });
35185
35235
  }
35186
- let g = !!y.length;
35187
- return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (g = !1), o = !1, g ? t(y) : Promise.resolve();
35236
+ let f = !!y.length;
35237
+ return o && (l.initial === !1 || l.initial === l.animate) && !e.manuallyAnimateOnMount && (f = !1), o = !1, f ? t(y) : Promise.resolve();
35188
35238
  }
35189
35239
  function s(d, l) {
35190
35240
  if (n[d].isActive === l)
@@ -35348,19 +35398,19 @@ class e$ {
35348
35398
  const u = Lx(this.lastMoveEventInfo, this.history), k = this.startEvent !== null, m = ise(u.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
35349
35399
  if (!k && !m)
35350
35400
  return;
35351
- const { point: g } = u, { timestamp: v } = ae;
35352
- this.history.push({ ...g, timestamp: v });
35353
- const { onStart: M, onMove: f } = this.handlers;
35354
- k || (M && M(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), f && f(this.lastMoveEvent, u);
35401
+ const { point: f } = u, { timestamp: v } = ae;
35402
+ this.history.push({ ...f, timestamp: v });
35403
+ const { onStart: M, onMove: g } = this.handlers;
35404
+ k || (M && M(this.lastMoveEvent, u), this.startEvent = this.lastMoveEvent), g && g(this.lastMoveEvent, u);
35355
35405
  }, this.handlePointerMove = (u, k) => {
35356
35406
  this.lastMoveEvent = u, this.lastMoveEventInfo = bx(k, this.transformPagePoint), U.update(this.updatePoint, !0);
35357
35407
  }, this.handlePointerUp = (u, k) => {
35358
35408
  this.end();
35359
- const { onEnd: m, onSessionEnd: g, resumeAnimation: v } = this.handlers;
35409
+ const { onEnd: m, onSessionEnd: f, resumeAnimation: v } = this.handlers;
35360
35410
  if (this.dragSnapToOrigin && v && v(), !(this.lastMoveEvent && this.lastMoveEventInfo))
35361
35411
  return;
35362
35412
  const M = Lx(u.type === "pointercancel" ? this.lastMoveEventInfo : bx(k, this.transformPagePoint), this.history);
35363
- this.startEvent && m && m(u, M), g && g(u, M);
35413
+ this.startEvent && m && m(u, M), f && f(u, M);
35364
35414
  }, !nL(t))
35365
35415
  return;
35366
35416
  this.dragSnapToOrigin = r, this.handlers = n, this.transformPagePoint = o, this.distanceThreshold = i, this.contextWindow = c || window;
@@ -35477,30 +35527,30 @@ class mse {
35477
35527
  const { dragSnapToOrigin: u } = this.getProps();
35478
35528
  u ? this.pauseAnimation() : this.stopAnimation(), n && this.snapToCursor(Bo(y).point);
35479
35529
  }, i = (y, u) => {
35480
- const { drag: k, dragPropagation: m, onDragStart: g } = this.getProps();
35530
+ const { drag: k, dragPropagation: m, onDragStart: f } = this.getProps();
35481
35531
  if (k && !m && (this.openDragLock && this.openDragLock(), this.openDragLock = Ire(k), !this.openDragLock))
35482
35532
  return;
35483
35533
  this.latestPointerEvent = y, this.latestPanInfo = u, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), ue((M) => {
35484
- let f = this.getAxisMotionValue(M).get() || 0;
35485
- if ($e.test(f)) {
35534
+ let g = this.getAxisMotionValue(M).get() || 0;
35535
+ if ($e.test(g)) {
35486
35536
  const { projection: x } = this.visualElement;
35487
35537
  if (x && x.layout) {
35488
- const C = x.layout.layoutBox[M];
35489
- C && (f = ce(C) * (parseFloat(f) / 100));
35538
+ const N = x.layout.layoutBox[M];
35539
+ N && (g = ce(N) * (parseFloat(g) / 100));
35490
35540
  }
35491
35541
  }
35492
- this.originPoint[M] = f;
35493
- }), g && U.postRender(() => g(y, u)), $b(this.visualElement, "transform");
35542
+ this.originPoint[M] = g;
35543
+ }), f && U.postRender(() => f(y, u)), $b(this.visualElement, "transform");
35494
35544
  const { animationState: v } = this.visualElement;
35495
35545
  v && v.setActive("whileDrag", !0);
35496
35546
  }, s = (y, u) => {
35497
35547
  this.latestPointerEvent = y, this.latestPanInfo = u;
35498
- const { dragPropagation: k, dragDirectionLock: m, onDirectionLock: g, onDrag: v } = this.getProps();
35548
+ const { dragPropagation: k, dragDirectionLock: m, onDirectionLock: f, onDrag: v } = this.getProps();
35499
35549
  if (!k && !this.openDragLock)
35500
35550
  return;
35501
35551
  const { offset: M } = u;
35502
35552
  if (m && this.currentDirection === null) {
35503
- this.currentDirection = fse(M), this.currentDirection !== null && g && g(this.currentDirection);
35553
+ this.currentDirection = fse(M), this.currentDirection !== null && f && f(this.currentDirection);
35504
35554
  return;
35505
35555
  }
35506
35556
  this.updateAxis("x", u.point, M), this.updateAxis("y", u.point, M), this.visualElement.render(), v && v(y, u);
@@ -36067,15 +36117,15 @@ function s$({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36067
36117
  this.target = void 0, this.relativeTarget = void 0;
36068
36118
  return;
36069
36119
  }
36070
- const m = this.options.transition || l.getDefaultTransition() || Yse, { onLayoutAnimationStart: g, onLayoutAnimationComplete: v } = l.getProps(), M = !this.targetLayout || !i$(this.targetLayout, k), f = !y && u;
36071
- if (this.options.layoutRoot || this.resumeFrom || f || y && (M || !this.currentAnimation)) {
36120
+ const m = this.options.transition || l.getDefaultTransition() || Yse, { onLayoutAnimationStart: f, onLayoutAnimationComplete: v } = l.getProps(), M = !this.targetLayout || !i$(this.targetLayout, k), g = !y && u;
36121
+ if (this.options.layoutRoot || this.resumeFrom || g || y && (M || !this.currentAnimation)) {
36072
36122
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
36073
36123
  const x = {
36074
36124
  ...eL(m, "layout"),
36075
- onPlay: g,
36125
+ onPlay: f,
36076
36126
  onComplete: v
36077
36127
  };
36078
- (l.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(p, f);
36128
+ (l.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(p, g);
36079
36129
  } else
36080
36130
  y || CI(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
36081
36131
  this.targetLayout = k;
@@ -36324,12 +36374,12 @@ function s$({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36324
36374
  setAnimationOrigin(i, s = !1) {
36325
36375
  const d = this.snapshot, l = d ? d.latestValues : {}, p = { ...this.latestValues }, y = Kn();
36326
36376
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !s;
36327
- const u = X(), k = d ? d.source : void 0, m = this.layout ? this.layout.source : void 0, g = k !== m, v = this.getStack(), M = !v || v.members.length <= 1, f = !!(g && !M && this.options.crossfade === !0 && !this.path.some(Xse));
36377
+ const u = X(), k = d ? d.source : void 0, m = this.layout ? this.layout.source : void 0, f = k !== m, v = this.getStack(), M = !v || v.members.length <= 1, g = !!(f && !M && this.options.crossfade === !0 && !this.path.some(Xse));
36328
36378
  this.animationProgress = 0;
36329
36379
  let x;
36330
- this.mixTargetDelta = (C) => {
36331
- const b = C / 1e3;
36332
- NI(y.x, i.x, b), NI(y.y, i.y, b), this.setTargetDelta(y), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (qo(u, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Kse(this.relativeTarget, this.relativeTargetOrigin, u, b), x && Vse(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = X()), le(x, this.relativeTarget)), g && (this.animationValues = p, Nse(p, l, this.latestValues, b, f, M)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = b;
36380
+ this.mixTargetDelta = (N) => {
36381
+ const b = N / 1e3;
36382
+ NI(y.x, i.x, b), NI(y.y, i.y, b), this.setTargetDelta(y), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (qo(u, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Kse(this.relativeTarget, this.relativeTargetOrigin, u, b), x && Vse(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = X()), le(x, this.relativeTarget)), f && (this.animationValues = p, Nse(p, l, this.latestValues, b, g, M)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = b;
36333
36383
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
36334
36384
  }
36335
36385
  startAnimation(i) {
@@ -36448,13 +36498,13 @@ function s$({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
36448
36498
  for (const m in Ho) {
36449
36499
  if (p[m] === void 0)
36450
36500
  continue;
36451
- const { correct: g, applyTo: v, isCSSVariable: M } = Ho[m], f = y === "none" ? p[m] : g(p[m], l);
36501
+ const { correct: f, applyTo: v, isCSSVariable: M } = Ho[m], g = y === "none" ? p[m] : f(p[m], l);
36452
36502
  if (v) {
36453
36503
  const x = v.length;
36454
- for (let C = 0; C < x; C++)
36455
- i[v[C]] = f;
36504
+ for (let N = 0; N < x; N++)
36505
+ i[v[N]] = g;
36456
36506
  } else
36457
- M ? this.options.visualElement.renderState.vars[m] = f : i[m] = f;
36507
+ M ? this.options.visualElement.renderState.vars[m] = g : i[m] = g;
36458
36508
  }
36459
36509
  this.options.layoutId && (i.pointerEvents = l === this ? W_(s?.pointerEvents) || "" : "none");
36460
36510
  }
@@ -36872,7 +36922,7 @@ function _de({ children: e, as: t = "ul", axis: n = "y", onReorder: o, values: c
36872
36922
  if (l.current)
36873
36923
  return;
36874
36924
  const m = vde(d, y, u, k);
36875
- d !== m && (l.current = !0, o(m.map(wde).filter((g) => c.indexOf(g) !== -1)));
36925
+ d !== m && (l.current = !0, o(m.map(wde).filter((f) => c.indexOf(f) !== -1)));
36876
36926
  }
36877
36927
  };
36878
36928
  return H(() => {
@@ -36893,13 +36943,13 @@ function Lde({ children: e, style: t = {}, value: n, as: o = "li", onDrag: c, la
36893
36943
  const d = to(() => l$[o]), l = K(u$), p = {
36894
36944
  x: HI(t.x),
36895
36945
  y: HI(t.y)
36896
- }, y = mde([p.x, p.y], ([g, v]) => g || v ? 1 : "unset");
36946
+ }, y = mde([p.x, p.y], ([f, v]) => f || v ? 1 : "unset");
36897
36947
  xe(!!l, "Reorder.Item must be a child of Reorder.Group", "reorder-item-child");
36898
36948
  const { axis: u, registerItem: k, updateOrder: m } = l;
36899
- return h(d, { drag: u, ...i, dragSnapToOrigin: !0, style: { ...t, x: p.x, y: p.y, zIndex: y }, layout: r, onDrag: (g, v) => {
36949
+ return h(d, { drag: u, ...i, dragSnapToOrigin: !0, style: { ...t, x: p.x, y: p.y, zIndex: y }, layout: r, onDrag: (f, v) => {
36900
36950
  const { velocity: M } = v;
36901
- M[u] && m(n, p[u].get(), M[u]), c && c(g, v);
36902
- }, onLayoutMeasure: (g) => k(n, g), ref: s, ignoreStrict: !0, children: e });
36951
+ M[u] && m(n, p[u].get(), M[u]), c && c(f, v);
36952
+ }, onLayoutMeasure: (f) => k(n, f), ref: s, ignoreStrict: !0, children: e });
36903
36953
  }
36904
36954
  const Ide = /* @__PURE__ */ tx(Lde), Q_ = [
36905
36955
  /* @__PURE__ */ h(Io, { size: 18 }),
@@ -36923,51 +36973,59 @@ const Ide = /* @__PURE__ */ tx(Lde), Q_ = [
36923
36973
  if (l.icon == null && (l.icon = Q_[p % Q_.length]), typeof l.text == "string" && l.text.includes("/")) {
36924
36974
  const y = String(l.text).split("/"), u = y[0].trim(), m = y.slice(1).join("/").trim().match(/^(\d+)(.*)$/);
36925
36975
  if (m) {
36926
- const g = m[1], v = m[2] ?? "", M = g.padStart(3, "0");
36976
+ const f = m[1], v = m[2] ?? "", M = f.padStart(3, "0");
36927
36977
  l.text = `${u} / ${M}${v}`;
36928
36978
  }
36929
36979
  }
36930
36980
  }), d(e)) : d([]);
36931
- }, [e]), /* @__PURE__ */ _("div", { className: `trend-list ${o ?? ""}`, draggable: n, style: { position: "relative" }, children: [
36932
- /* @__PURE__ */ h("div", { className: "trend-header", style: r, children: c ?? "Trend" }),
36933
- /* @__PURE__ */ h("div", { className: "trend-list-body", style: { opacity: n ? 0 : 1 }, children: /* @__PURE__ */ h(
36934
- xde,
36935
- {
36936
- axis: "y",
36937
- values: s,
36938
- onReorder: (l) => {
36939
- d(l), t?.(l);
36940
- },
36941
- style: { display: "flex", flexDirection: "column", gap: 8 },
36942
- children: s.map((l, p) => /* @__PURE__ */ h(
36943
- Cde,
36981
+ }, [e]), /* @__PURE__ */ _(
36982
+ "div",
36983
+ {
36984
+ className: `trend-list ${o ?? ""}`,
36985
+ draggable: n,
36986
+ style: { position: "relative" },
36987
+ children: [
36988
+ /* @__PURE__ */ h("div", { className: "trend-header", style: r, children: c ?? "Trend" }),
36989
+ /* @__PURE__ */ h("div", { className: "trend-list-body", style: { opacity: n ? 0 : 1 }, children: /* @__PURE__ */ h(
36990
+ xde,
36944
36991
  {
36945
- value: l,
36946
- index: p,
36947
- itemsDraggable: i
36948
- },
36949
- String(l.id)
36950
- ))
36951
- }
36952
- ) }),
36953
- n && /* @__PURE__ */ h(
36954
- "div",
36955
- {
36956
- style: {
36957
- position: "absolute",
36958
- top: 0,
36959
- left: 0,
36960
- width: "100%",
36961
- height: "100%",
36962
- display: "flex",
36963
- alignItems: "center",
36964
- justifyContent: "center",
36965
- pointerEvents: "none"
36966
- },
36967
- children: /* @__PURE__ */ h(jn, { size: 48, strokeWidth: 1.5, style: { opacity: 0.8 } })
36968
- }
36969
- )
36970
- ] });
36992
+ axis: "y",
36993
+ values: s,
36994
+ onReorder: (l) => {
36995
+ d(l), t?.(l);
36996
+ },
36997
+ style: { display: "flex", flexDirection: "column", gap: 8 },
36998
+ children: s.map((l, p) => /* @__PURE__ */ h(
36999
+ Cde,
37000
+ {
37001
+ value: l,
37002
+ index: p,
37003
+ itemsDraggable: i
37004
+ },
37005
+ String(l.id)
37006
+ ))
37007
+ }
37008
+ ) }),
37009
+ n && /* @__PURE__ */ h(
37010
+ "div",
37011
+ {
37012
+ style: {
37013
+ position: "absolute",
37014
+ top: 0,
37015
+ left: 0,
37016
+ width: "100%",
37017
+ height: "100%",
37018
+ display: "flex",
37019
+ alignItems: "center",
37020
+ justifyContent: "center",
37021
+ pointerEvents: "none"
37022
+ },
37023
+ children: /* @__PURE__ */ h(jn, { size: 48, strokeWidth: 1.5, style: { opacity: 0.8 } })
37024
+ }
37025
+ )
37026
+ ]
37027
+ }
37028
+ );
36971
37029
  };
36972
37030
  function Cde({
36973
37031
  value: e,
@@ -37115,7 +37173,7 @@ function Hde(e, t) {
37115
37173
  }
37116
37174
  return { isValid: o, errors: n };
37117
37175
  }
37118
- const Tde = "_formContainer_1llhn_1", jde = "_headerLine_1llhn_39", Dde = "_formTitle_1llhn_55", Rde = "_formDescription_1llhn_67", Bde = "_sectionTitle_1llhn_81", Fde = "_sectionHelp_1llhn_93", Ode = "_fieldHelp_1llhn_103", Ede = "_gridContainer_1llhn_119", Ude = "_fieldGridItem_1llhn_143", Wde = "_sectionFull_1llhn_209", Gde = "_formFooter_1llhn_219", Zde = "_footerLeft_1llhn_233", Kde = "_footerRight_1llhn_235", Xde = "_cancelLink_1llhn_247", Yde = "_submitButton_1llhn_267", Jde = "_fieldLabel_1llhn_287", Qde = "_inputWrapper_1llhn_315", ehe = "_inputInner_1llhn_357", the = "_hasPrefix_1llhn_375", ahe = "_inputBase_1llhn_375", nhe = "_iconPrefix_1llhn_557", ohe = "_iconSuffix_1llhn_559", che = "_passwordToggle_1llhn_607", ihe = "_fieldError_1llhn_695", rhe = "_fieldInvalid_1llhn_707", E = {
37176
+ const Tde = "_formContainer_1rw8s_1", jde = "_headerLine_1rw8s_20", Dde = "_formTitle_1rw8s_28", Rde = "_formDescription_1rw8s_34", Bde = "_sectionTitle_1rw8s_41", Fde = "_sectionHelp_1rw8s_47", Ode = "_fieldHelp_1rw8s_52", Ede = "_gridContainer_1rw8s_60", Ude = "_fieldGridItem_1rw8s_72", Wde = "_sectionFull_1rw8s_105", Gde = "_formFooter_1rw8s_110", Zde = "_footerLeft_1rw8s_117", Kde = "_footerRight_1rw8s_118", Xde = "_cancelLink_1rw8s_124", Yde = "_submitButton_1rw8s_134", Jde = "_fieldLabel_1rw8s_144", Qde = "_inputWrapper_1rw8s_158", ehe = "_inputInner_1rw8s_179", the = "_hasPrefix_1rw8s_188", ahe = "_inputBase_1rw8s_188", nhe = "_iconPrefix_1rw8s_279", ohe = "_iconSuffix_1rw8s_280", che = "_passwordToggle_1rw8s_304", ihe = "_fieldError_1rw8s_348", rhe = "_fieldInvalid_1rw8s_354", E = {
37119
37177
  formContainer: Tde,
37120
37178
  headerLine: jde,
37121
37179
  formTitle: Dde,
@@ -37200,7 +37258,7 @@ const Tde = "_formContainer_1llhn_1", jde = "_headerLine_1llhn_39", Dde = "_form
37200
37258
  ),
37201
37259
  r && c && /* @__PURE__ */ h("span", { className: E.fieldError, children: c })
37202
37260
  ] });
37203
- }, dhe = "_fieldGroup_1ws5x_13", hhe = "_fieldLabel_1ws5x_21", lhe = "_required_1ws5x_33", phe = "_fieldInput_1ws5x_43", yhe = "_fieldInvalid_1ws5x_79", uhe = "_fieldValid_1ws5x_87", khe = "_fieldError_1ws5x_95", mhe = "_radioGroup_1ws5x_113", Oe = {
37261
+ }, dhe = "_fieldGroup_yb3zi_7", hhe = "_fieldLabel_yb3zi_11", lhe = "_required_yb3zi_17", phe = "_fieldInput_yb3zi_22", yhe = "_fieldInvalid_yb3zi_40", uhe = "_fieldValid_yb3zi_44", khe = "_fieldError_yb3zi_48", mhe = "_radioGroup_yb3zi_57", Oe = {
37204
37262
  fieldGroup: dhe,
37205
37263
  fieldLabel: hhe,
37206
37264
  required: lhe,
@@ -37379,12 +37437,12 @@ const Tde = "_formContainer_1llhn_1", jde = "_headerLine_1llhn_39", Dde = "_form
37379
37437
  if (!t) return;
37380
37438
  const M = Array.from(t);
37381
37439
  M.splice(v, 1);
37382
- const f = new DataTransfer();
37383
- M.forEach((x) => f.items.add(x)), n(f.files);
37384
- }, g = (v) => {
37440
+ const g = new DataTransfer();
37441
+ M.forEach((x) => g.items.add(x)), n(g.files);
37442
+ }, f = (v) => {
37385
37443
  if (v === 0) return "0 Bytes";
37386
- const M = 1024, f = ["Bytes", "KB", "MB", "GB"], x = Math.floor(Math.log(v) / Math.log(M));
37387
- return parseFloat((v / Math.pow(M, x)).toFixed(2)) + " " + f[x];
37444
+ const M = 1024, g = ["Bytes", "KB", "MB", "GB"], x = Math.floor(Math.log(v) / Math.log(M));
37445
+ return parseFloat((v / Math.pow(M, x)).toFixed(2)) + " " + g[x];
37388
37446
  };
37389
37447
  return /* @__PURE__ */ _("div", { className: `${oe.fileInputContainer} ${r && c ? oe.hasError : ""}`, children: [
37390
37448
  /* @__PURE__ */ _("label", { htmlFor: e.name, className: "form-label", children: [
@@ -37454,14 +37512,14 @@ const Tde = "_formContainer_1llhn_1", jde = "_headerLine_1llhn_39", Dde = "_form
37454
37512
  }
37455
37513
  ) }),
37456
37514
  /* @__PURE__ */ h("div", { className: oe.fileName, children: v.name }),
37457
- /* @__PURE__ */ h("div", { className: oe.fileSize, children: g(v.size) }),
37515
+ /* @__PURE__ */ h("div", { className: oe.fileSize, children: f(v.size) }),
37458
37516
  /* @__PURE__ */ h(
37459
37517
  "button",
37460
37518
  {
37461
37519
  type: "button",
37462
37520
  className: oe.removeButton,
37463
- onClick: (f) => {
37464
- f.stopPropagation(), m(M);
37521
+ onClick: (g) => {
37522
+ g.stopPropagation(), m(M);
37465
37523
  },
37466
37524
  "aria-label": `Supprimer ${v.name}`,
37467
37525
  children: /* @__PURE__ */ _(
@@ -38266,34 +38324,34 @@ function x$() {
38266
38324
  var u = d & o, k = i.length, m = s.length;
38267
38325
  if (k != m && !(u && m > k))
38268
38326
  return !1;
38269
- var g = y.get(i), v = y.get(s);
38270
- if (g && v)
38271
- return g == s && v == i;
38272
- var M = -1, f = !0, x = d & c ? new e() : void 0;
38327
+ var f = y.get(i), v = y.get(s);
38328
+ if (f && v)
38329
+ return f == s && v == i;
38330
+ var M = -1, g = !0, x = d & c ? new e() : void 0;
38273
38331
  for (y.set(i, s), y.set(s, i); ++M < k; ) {
38274
- var C = i[M], b = s[M];
38332
+ var N = i[M], b = s[M];
38275
38333
  if (l)
38276
- var N = u ? l(b, C, M, s, i, y) : l(C, b, M, i, s, y);
38277
- if (N !== void 0) {
38278
- if (N)
38334
+ var C = u ? l(b, N, M, s, i, y) : l(N, b, M, i, s, y);
38335
+ if (C !== void 0) {
38336
+ if (C)
38279
38337
  continue;
38280
- f = !1;
38338
+ g = !1;
38281
38339
  break;
38282
38340
  }
38283
38341
  if (x) {
38284
38342
  if (!t(s, function(w, L) {
38285
- if (!n(x, L) && (C === w || p(C, w, d, l, y)))
38343
+ if (!n(x, L) && (N === w || p(N, w, d, l, y)))
38286
38344
  return x.push(L);
38287
38345
  })) {
38288
- f = !1;
38346
+ g = !1;
38289
38347
  break;
38290
38348
  }
38291
- } else if (!(C === b || p(C, b, d, l, y))) {
38292
- f = !1;
38349
+ } else if (!(N === b || p(N, b, d, l, y))) {
38350
+ g = !1;
38293
38351
  break;
38294
38352
  }
38295
38353
  }
38296
- return y.delete(i), y.delete(s), f;
38354
+ return y.delete(i), y.delete(s), g;
38297
38355
  }
38298
38356
  return Cw = r, Cw;
38299
38357
  }
@@ -38332,39 +38390,39 @@ var qw, HC;
38332
38390
  function Ule() {
38333
38391
  if (HC) return qw;
38334
38392
  HC = 1;
38335
- var e = kL(), t = Fle(), n = m$(), o = x$(), c = Ole(), r = Ele(), i = 1, s = 2, d = "[object Boolean]", l = "[object Date]", p = "[object Error]", y = "[object Map]", u = "[object Number]", k = "[object RegExp]", m = "[object Set]", g = "[object String]", v = "[object Symbol]", M = "[object ArrayBuffer]", f = "[object DataView]", x = e ? e.prototype : void 0, C = x ? x.valueOf : void 0;
38336
- function b(N, w, L, q, A, I, z) {
38393
+ var e = kL(), t = Fle(), n = m$(), o = x$(), c = Ole(), r = Ele(), i = 1, s = 2, d = "[object Boolean]", l = "[object Date]", p = "[object Error]", y = "[object Map]", u = "[object Number]", k = "[object RegExp]", m = "[object Set]", f = "[object String]", v = "[object Symbol]", M = "[object ArrayBuffer]", g = "[object DataView]", x = e ? e.prototype : void 0, N = x ? x.valueOf : void 0;
38394
+ function b(C, w, L, q, A, I, z) {
38337
38395
  switch (L) {
38338
- case f:
38339
- if (N.byteLength != w.byteLength || N.byteOffset != w.byteOffset)
38396
+ case g:
38397
+ if (C.byteLength != w.byteLength || C.byteOffset != w.byteOffset)
38340
38398
  return !1;
38341
- N = N.buffer, w = w.buffer;
38399
+ C = C.buffer, w = w.buffer;
38342
38400
  case M:
38343
- return !(N.byteLength != w.byteLength || !I(new t(N), new t(w)));
38401
+ return !(C.byteLength != w.byteLength || !I(new t(C), new t(w)));
38344
38402
  case d:
38345
38403
  case l:
38346
38404
  case u:
38347
- return n(+N, +w);
38405
+ return n(+C, +w);
38348
38406
  case p:
38349
- return N.name == w.name && N.message == w.message;
38407
+ return C.name == w.name && C.message == w.message;
38350
38408
  case k:
38351
- case g:
38352
- return N == w + "";
38409
+ case f:
38410
+ return C == w + "";
38353
38411
  case y:
38354
38412
  var P = c;
38355
38413
  case m:
38356
38414
  var $ = q & i;
38357
- if (P || (P = r), N.size != w.size && !$)
38415
+ if (P || (P = r), C.size != w.size && !$)
38358
38416
  return !1;
38359
- var T = z.get(N);
38417
+ var T = z.get(C);
38360
38418
  if (T)
38361
38419
  return T == w;
38362
- q |= s, z.set(N, w);
38363
- var Y = o(P(N), P(w), q, A, I, z);
38364
- return z.delete(N), Y;
38420
+ q |= s, z.set(C, w);
38421
+ var Y = o(P(C), P(w), q, A, I, z);
38422
+ return z.delete(C), Y;
38365
38423
  case v:
38366
- if (C)
38367
- return C.call(N) == C.call(w);
38424
+ if (N)
38425
+ return N.call(C) == N.call(w);
38368
38426
  }
38369
38427
  return !1;
38370
38428
  }
@@ -38515,8 +38573,8 @@ var Uw, YC;
38515
38573
  function ape() {
38516
38574
  if (YC) return Uw;
38517
38575
  YC = 1;
38518
- var e = dx(), t = b$(), n = px(), o = "[object Arguments]", c = "[object Array]", r = "[object Boolean]", i = "[object Date]", s = "[object Error]", d = "[object Function]", l = "[object Map]", p = "[object Number]", y = "[object Object]", u = "[object RegExp]", k = "[object Set]", m = "[object String]", g = "[object WeakMap]", v = "[object ArrayBuffer]", M = "[object DataView]", f = "[object Float32Array]", x = "[object Float64Array]", C = "[object Int8Array]", b = "[object Int16Array]", N = "[object Int32Array]", w = "[object Uint8Array]", L = "[object Uint8ClampedArray]", q = "[object Uint16Array]", A = "[object Uint32Array]", I = {};
38519
- I[f] = I[x] = I[C] = I[b] = I[N] = I[w] = I[L] = I[q] = I[A] = !0, I[o] = I[c] = I[v] = I[r] = I[M] = I[i] = I[s] = I[d] = I[l] = I[p] = I[y] = I[u] = I[k] = I[m] = I[g] = !1;
38576
+ var e = dx(), t = b$(), n = px(), o = "[object Arguments]", c = "[object Array]", r = "[object Boolean]", i = "[object Date]", s = "[object Error]", d = "[object Function]", l = "[object Map]", p = "[object Number]", y = "[object Object]", u = "[object RegExp]", k = "[object Set]", m = "[object String]", f = "[object WeakMap]", v = "[object ArrayBuffer]", M = "[object DataView]", g = "[object Float32Array]", x = "[object Float64Array]", N = "[object Int8Array]", b = "[object Int16Array]", C = "[object Int32Array]", w = "[object Uint8Array]", L = "[object Uint8ClampedArray]", q = "[object Uint16Array]", A = "[object Uint32Array]", I = {};
38577
+ I[g] = I[x] = I[N] = I[b] = I[C] = I[w] = I[L] = I[q] = I[A] = !0, I[o] = I[c] = I[v] = I[r] = I[M] = I[i] = I[s] = I[d] = I[l] = I[p] = I[y] = I[u] = I[k] = I[m] = I[f] = !1;
38520
38578
  function z(P) {
38521
38579
  return n(P) && t(P.length) && !!I[e(P)];
38522
38580
  }
@@ -38561,13 +38619,13 @@ function cpe() {
38561
38619
  tN = 1;
38562
38620
  var e = Yle(), t = Qle(), n = fL(), o = w$(), c = tpe(), r = L$(), i = Object.prototype, s = i.hasOwnProperty;
38563
38621
  function d(l, p) {
38564
- var y = n(l), u = !y && t(l), k = !y && !u && o(l), m = !y && !u && !k && r(l), g = y || u || k || m, v = g ? e(l.length, String) : [], M = v.length;
38565
- for (var f in l)
38566
- (p || s.call(l, f)) && !(g && // Safari 9 has enumerable `arguments.length` in strict mode.
38567
- (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
38568
- k && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
38569
- m && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
38570
- c(f, M))) && v.push(f);
38622
+ var y = n(l), u = !y && t(l), k = !y && !u && o(l), m = !y && !u && !k && r(l), f = y || u || k || m, v = f ? e(l.length, String) : [], M = v.length;
38623
+ for (var g in l)
38624
+ (p || s.call(l, g)) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
38625
+ (g == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
38626
+ k && (g == "offset" || g == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
38627
+ m && (g == "buffer" || g == "byteLength" || g == "byteOffset") || // Skip index properties.
38628
+ c(g, M))) && v.push(g);
38571
38629
  return v;
38572
38630
  }
38573
38631
  return Zw = d, Zw;
@@ -38652,35 +38710,35 @@ function ype() {
38652
38710
  dN = 1;
38653
38711
  var e = ppe(), t = 1, n = Object.prototype, o = n.hasOwnProperty;
38654
38712
  function c(r, i, s, d, l, p) {
38655
- var y = s & t, u = e(r), k = u.length, m = e(i), g = m.length;
38656
- if (k != g && !y)
38713
+ var y = s & t, u = e(r), k = u.length, m = e(i), f = m.length;
38714
+ if (k != f && !y)
38657
38715
  return !1;
38658
38716
  for (var v = k; v--; ) {
38659
38717
  var M = u[v];
38660
38718
  if (!(y ? M in i : o.call(i, M)))
38661
38719
  return !1;
38662
38720
  }
38663
- var f = p.get(r), x = p.get(i);
38664
- if (f && x)
38665
- return f == i && x == r;
38666
- var C = !0;
38721
+ var g = p.get(r), x = p.get(i);
38722
+ if (g && x)
38723
+ return g == i && x == r;
38724
+ var N = !0;
38667
38725
  p.set(r, i), p.set(i, r);
38668
38726
  for (var b = y; ++v < k; ) {
38669
38727
  M = u[v];
38670
- var N = r[M], w = i[M];
38728
+ var C = r[M], w = i[M];
38671
38729
  if (d)
38672
- var L = y ? d(w, N, M, i, r, p) : d(N, w, M, r, i, p);
38673
- if (!(L === void 0 ? N === w || l(N, w, s, d, p) : L)) {
38674
- C = !1;
38730
+ var L = y ? d(w, C, M, i, r, p) : d(C, w, M, r, i, p);
38731
+ if (!(L === void 0 ? C === w || l(C, w, s, d, p) : L)) {
38732
+ N = !1;
38675
38733
  break;
38676
38734
  }
38677
38735
  b || (b = M == "constructor");
38678
38736
  }
38679
- if (C && !b) {
38737
+ if (N && !b) {
38680
38738
  var q = r.constructor, A = i.constructor;
38681
- q != A && "constructor" in r && "constructor" in i && !(typeof q == "function" && q instanceof q && typeof A == "function" && A instanceof A) && (C = !1);
38739
+ q != A && "constructor" in r && "constructor" in i && !(typeof q == "function" && q instanceof q && typeof A == "function" && A instanceof A) && (N = !1);
38682
38740
  }
38683
- return p.delete(r), p.delete(i), C;
38741
+ return p.delete(r), p.delete(i), N;
38684
38742
  }
38685
38743
  return ab = c, ab;
38686
38744
  }
@@ -38716,49 +38774,49 @@ var rb, uN;
38716
38774
  function gpe() {
38717
38775
  if (uN) return rb;
38718
38776
  uN = 1;
38719
- var e = upe(), t = mL(), n = kpe(), o = mpe(), c = fpe(), r = dx(), i = v$(), s = "[object Map]", d = "[object Object]", l = "[object Promise]", p = "[object Set]", y = "[object WeakMap]", u = "[object DataView]", k = i(e), m = i(t), g = i(n), v = i(o), M = i(c), f = r;
38720
- return (e && f(new e(new ArrayBuffer(1))) != u || t && f(new t()) != s || n && f(n.resolve()) != l || o && f(new o()) != p || c && f(new c()) != y) && (f = function(x) {
38721
- var C = r(x), b = C == d ? x.constructor : void 0, N = b ? i(b) : "";
38722
- if (N)
38723
- switch (N) {
38777
+ var e = upe(), t = mL(), n = kpe(), o = mpe(), c = fpe(), r = dx(), i = v$(), s = "[object Map]", d = "[object Object]", l = "[object Promise]", p = "[object Set]", y = "[object WeakMap]", u = "[object DataView]", k = i(e), m = i(t), f = i(n), v = i(o), M = i(c), g = r;
38778
+ return (e && g(new e(new ArrayBuffer(1))) != u || t && g(new t()) != s || n && g(n.resolve()) != l || o && g(new o()) != p || c && g(new c()) != y) && (g = function(x) {
38779
+ var N = r(x), b = N == d ? x.constructor : void 0, C = b ? i(b) : "";
38780
+ if (C)
38781
+ switch (C) {
38724
38782
  case k:
38725
38783
  return u;
38726
38784
  case m:
38727
38785
  return s;
38728
- case g:
38786
+ case f:
38729
38787
  return l;
38730
38788
  case v:
38731
38789
  return p;
38732
38790
  case M:
38733
38791
  return y;
38734
38792
  }
38735
- return C;
38736
- }), rb = f, rb;
38793
+ return N;
38794
+ }), rb = g, rb;
38737
38795
  }
38738
38796
  var sb, kN;
38739
38797
  function Mpe() {
38740
38798
  if (kN) return sb;
38741
38799
  kN = 1;
38742
38800
  var e = Hle(), t = x$(), n = Ule(), o = ype(), c = gpe(), r = fL(), i = w$(), s = L$(), d = 1, l = "[object Arguments]", p = "[object Array]", y = "[object Object]", u = Object.prototype, k = u.hasOwnProperty;
38743
- function m(g, v, M, f, x, C) {
38744
- var b = r(g), N = r(v), w = b ? p : c(g), L = N ? p : c(v);
38801
+ function m(f, v, M, g, x, N) {
38802
+ var b = r(f), C = r(v), w = b ? p : c(f), L = C ? p : c(v);
38745
38803
  w = w == l ? y : w, L = L == l ? y : L;
38746
38804
  var q = w == y, A = L == y, I = w == L;
38747
- if (I && i(g)) {
38805
+ if (I && i(f)) {
38748
38806
  if (!i(v))
38749
38807
  return !1;
38750
38808
  b = !0, q = !1;
38751
38809
  }
38752
38810
  if (I && !q)
38753
- return C || (C = new e()), b || s(g) ? t(g, v, M, f, x, C) : n(g, v, w, M, f, x, C);
38811
+ return N || (N = new e()), b || s(f) ? t(f, v, M, g, x, N) : n(f, v, w, M, g, x, N);
38754
38812
  if (!(M & d)) {
38755
- var z = q && k.call(g, "__wrapped__"), P = A && k.call(v, "__wrapped__");
38813
+ var z = q && k.call(f, "__wrapped__"), P = A && k.call(v, "__wrapped__");
38756
38814
  if (z || P) {
38757
- var $ = z ? g.value() : g, T = P ? v.value() : v;
38758
- return C || (C = new e()), x($, T, M, f, C);
38815
+ var $ = z ? f.value() : f, T = P ? v.value() : v;
38816
+ return N || (N = new e()), x($, T, M, g, N);
38759
38817
  }
38760
38818
  }
38761
- return I ? (C || (C = new e()), o(g, v, M, f, x, C)) : !1;
38819
+ return I ? (N || (N = new e()), o(f, v, M, g, x, N)) : !1;
38762
38820
  }
38763
38821
  return sb = m, sb;
38764
38822
  }
@@ -38794,11 +38852,11 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38794
38852
  cancelLabel: s = "Retour",
38795
38853
  cancelIcon: d
38796
38854
  }) => {
38797
- const [l, p] = V(t), [y, u] = V({}), [k, m] = V({}), [g, v] = V(!1), M = B(t);
38855
+ const [l, p] = V(t), [y, u] = V({}), [k, m] = V({}), [f, v] = V(!1), M = B(t);
38798
38856
  H(() => {
38799
38857
  wpe(M.current, t) || (p(t), M.current = t);
38800
38858
  }, [t]);
38801
- const f = (L, q) => {
38859
+ const g = (L, q) => {
38802
38860
  const A = { ...l, [L]: q };
38803
38861
  if (p(A), k[L]) {
38804
38862
  const I = e.fields.find((z) => z.name === L);
@@ -38822,7 +38880,7 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38822
38880
  }));
38823
38881
  }
38824
38882
  }
38825
- }, C = async (L) => {
38883
+ }, N = async (L) => {
38826
38884
  L.preventDefault(), v(!0);
38827
38885
  const q = e.fields.reduce(
38828
38886
  (I, z) => (z.type !== "section" && (I[z.name] = !0), I),
@@ -38843,7 +38901,7 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38843
38901
  }));
38844
38902
  }
38845
38903
  v(!1);
38846
- }, b = d ? ve[d] : null, N = (
38904
+ }, b = d ? ve[d] : null, C = (
38847
38905
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
38848
38906
  c && ve[c] || // eslint-disable-next-line @typescript-eslint/no-explicit-any
38849
38907
  e.submitIcon && ve[e.submitIcon] || null
@@ -38852,7 +38910,7 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38852
38910
  /* @__PURE__ */ h("div", { className: E.headerLine, children: /* @__PURE__ */ h("h2", { className: E.formTitle, children: e.title }) }),
38853
38911
  e.description && /* @__PURE__ */ h("p", { className: E.formDescription, children: e.description }),
38854
38912
  y.__global && /* @__PURE__ */ h("div", { className: `alert alert-danger ${E.globalError}`, children: y.__global }),
38855
- /* @__PURE__ */ _("form", { onSubmit: C, children: [
38913
+ /* @__PURE__ */ _("form", { onSubmit: N, children: [
38856
38914
  /* @__PURE__ */ h(
38857
38915
  "div",
38858
38916
  {
@@ -38871,7 +38929,7 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38871
38929
  {
38872
38930
  field: L,
38873
38931
  value: l[L.name],
38874
- onChange: (I) => f(L.name, I),
38932
+ onChange: (I) => g(L.name, I),
38875
38933
  onBlur: () => x(L.name),
38876
38934
  error: y[L.name],
38877
38935
  touched: k[L.name]
@@ -38895,14 +38953,14 @@ const wpe = /* @__PURE__ */ O$(xpe), nke = ({
38895
38953
  variant: "primary",
38896
38954
  size: "md",
38897
38955
  className: E.submitButton,
38898
- disabled: g,
38899
- children: g ? /* @__PURE__ */ _(Tn, { children: [
38956
+ disabled: f,
38957
+ children: f ? /* @__PURE__ */ _(Tn, { children: [
38900
38958
  /* @__PURE__ */ h("span", { className: "spinner-border spinner-border-sm me-2", role: "status" }),
38901
38959
  "Validation..."
38902
38960
  ] }) : /* @__PURE__ */ _(Tn, { children: [
38903
- N && (r === "left" || e.submitIconPosition === "left") && /* @__PURE__ */ h(N, { size: 16, className: "me-2" }),
38961
+ C && (r === "left" || e.submitIconPosition === "left") && /* @__PURE__ */ h(C, { size: 16, className: "me-2" }),
38904
38962
  o || e.submitText || "Valider",
38905
- N && (r === "right" || e.submitIconPosition === "right") && /* @__PURE__ */ h(N, { size: 16, className: "ms-2" })
38963
+ C && (r === "right" || e.submitIconPosition === "right") && /* @__PURE__ */ h(C, { size: 16, className: "ms-2" })
38906
38964
  ] })
38907
38965
  }
38908
38966
  ) })
@@ -38918,7 +38976,7 @@ function oke(e) {
38918
38976
  submitText: e._submitText || "Valider"
38919
38977
  };
38920
38978
  }
38921
- const bpe = "_container_xxyle_165", Lpe = "_tableWrapper_xxyle_215", Ipe = "_tableControls_xxyle_227", Cpe = "_controlsRight_xxyle_247", Npe = "_limitedRows_xxyle_291", Spe = "_table_xxyle_215", $pe = "_headerCell_xxyle_397", qpe = "_headerContent_xxyle_423", Ape = "_headerWords_xxyle_439", zpe = "_headerWord_xxyle_439", Vpe = "_cellContent_xxyle_523", Ppe = "_alignLeft_xxyle_541", Hpe = "_alignCenter_xxyle_547", Tpe = "_alignRight_xxyle_553", jpe = "_tableCell_xxyle_559", Dpe = "_tableRow_xxyle_577", Rpe = "_emptyRow_xxyle_715", Bpe = "_toggleFiltersButton_xxyle_731", Fpe = "_toggleSortButton_xxyle_733", Ope = "_buttonTextCompact_xxyle_771", Epe = "_uppercaseSmall_xxyle_835", Upe = "_filtersPanel_xxyle_859", Wpe = "_filtersPanelInline_xxyle_893", Gpe = "_filtersPanelHorizontal_xxyle_913", Zpe = "_filtersRow_xxyle_913", Kpe = "_filtersActionsHorizontal_xxyle_975", Xpe = "_filterItemInline_xxyle_1007", Ype = "_filterLabel_xxyle_1059", Jpe = "_filterInput_xxyle_1067", Qpe = "_filterSelect_xxyle_1069", eye = "_operatorSelect_xxyle_1071", tye = "_operatorInput_xxyle_1073", aye = "_activeFilterTag_xxyle_1107", nye = "_actionsGroup_xxyle_1131", oye = "_applyButton_xxyle_1141", cye = "_cancelButton_xxyle_1159", iye = "_columnSorterContainer_xxyle_1205", rye = "_sorterControls_xxyle_1213", sye = "_sortDropdownWrapper_xxyle_1221", dye = "_sortDropdown_xxyle_1221", hye = "_sortDropdownHeader_xxyle_1259", lye = "_closeButton_xxyle_1275", pye = "_sortDropdownContent_xxyle_1301", yye = "_sortDropdownItem_xxyle_1311", uye = "_sortDirectionButtons_xxyle_1355", kye = "_sortDirectionButton_xxyle_1355", mye = "_activeSort_xxyle_1395", fye = "_sortActions_xxyle_1407", gye = "_paginationButton_xxyle_1549", Mye = "_pageSizeSelect_xxyle_1553", vye = "_topPagination_xxyle_1571", _ye = "_paginationContainer_xxyle_1585", xye = "_leftGroup_xxyle_1609", wye = "_pageSizeControls_xxyle_1623", bye = "_paginationInfo_xxyle_1667", Lye = "_paginationControls_xxyle_1681", Iye = "_disabledButton_xxyle_1739", Cye = "_activeButton_xxyle_1747", Nye = "_navigationButton_xxyle_1763", Sye = "_operatorFilterContainer_xxyle_1849", $ye = "_rangeSeparator_xxyle_1859", qye = "_activeFiltersSection_xxyle_2135", Aye = "_activeFiltersRow_xxyle_2143", zye = "_activeFiltersList_xxyle_2157", Vye = "_clearAllButton_xxyle_2171", Pye = "_removeFilterButton_xxyle_2209", Hye = "_sortIndicator_xxyle_2303", Tye = "_active_xxyle_651", jye = "_clearSortButton_xxyle_2475", S = {
38979
+ const bpe = "_container_1705c_83", Lpe = "_tableWrapper_1705c_108", Ipe = "_tableControls_1705c_114", Cpe = "_controlsRight_1705c_124", Npe = "_limitedRows_1705c_146", Spe = "_table_1705c_108", $pe = "_headerCell_1705c_199", qpe = "_headerContent_1705c_212", Ape = "_headerWords_1705c_220", zpe = "_headerWord_1705c_220", Vpe = "_cellContent_1705c_262", Ppe = "_alignLeft_1705c_271", Hpe = "_alignCenter_1705c_274", Tpe = "_alignRight_1705c_277", jpe = "_tableCell_1705c_280", Dpe = "_tableRow_1705c_289", Rpe = "_emptyRow_1705c_358", Bpe = "_toggleFiltersButton_1705c_366", Fpe = "_toggleSortButton_1705c_367", Ope = "_buttonTextCompact_1705c_386", Epe = "_uppercaseSmall_1705c_418", Upe = "_filtersPanel_1705c_430", Wpe = "_filtersPanelInline_1705c_447", Gpe = "_filtersPanelHorizontal_1705c_457", Zpe = "_filtersRow_1705c_457", Kpe = "_filtersActionsHorizontal_1705c_488", Xpe = "_filterItemInline_1705c_504", Ype = "_filterLabel_1705c_530", Jpe = "_filterInput_1705c_534", Qpe = "_filterSelect_1705c_535", eye = "_operatorSelect_1705c_536", tye = "_operatorInput_1705c_537", aye = "_activeFilterTag_1705c_554", nye = "_actionsGroup_1705c_566", oye = "_applyButton_1705c_571", cye = "_cancelButton_1705c_580", iye = "_columnSorterContainer_1705c_603", rye = "_sorterControls_1705c_607", sye = "_sortDropdownWrapper_1705c_611", dye = "_sortDropdown_1705c_611", hye = "_sortDropdownHeader_1705c_630", lye = "_closeButton_1705c_638", pye = "_sortDropdownContent_1705c_651", yye = "_sortDropdownItem_1705c_656", uye = "_sortDirectionButtons_1705c_678", kye = "_sortDirectionButton_1705c_678", mye = "_activeSort_1705c_698", fye = "_sortActions_1705c_704", gye = "_paginationButton_1705c_775", Mye = "_pageSizeSelect_1705c_777", vye = "_topPagination_1705c_786", _ye = "_paginationContainer_1705c_793", xye = "_leftGroup_1705c_805", wye = "_pageSizeControls_1705c_812", bye = "_paginationInfo_1705c_834", Lye = "_paginationControls_1705c_841", Iye = "_disabledButton_1705c_870", Cye = "_activeButton_1705c_874", Nye = "_navigationButton_1705c_882", Sye = "_operatorFilterContainer_1705c_925", $ye = "_rangeSeparator_1705c_930", qye = "_activeFiltersSection_1705c_1068", Aye = "_activeFiltersRow_1705c_1072", zye = "_activeFiltersList_1705c_1079", Vye = "_clearAllButton_1705c_1086", Pye = "_removeFilterButton_1705c_1105", Hye = "_sortIndicator_1705c_1152", Tye = "_active_1705c_326", jye = "_clearSortButton_1705c_1238", S = {
38922
38980
  container: bpe,
38923
38981
  tableWrapper: Lpe,
38924
38982
  tableControls: Ipe,
@@ -39298,58 +39356,58 @@ const bpe = "_container_xxyle_165", Lpe = "_tableWrapper_xxyle_215", Ipe = "_tab
39298
39356
  }) => {
39299
39357
  const [r, i] = V([]), [s, d] = V(() => {
39300
39358
  const m = {};
39301
- return e.forEach((g) => {
39302
- g.type === "daterange" ? m[g.id] = { start: "", end: "" } : m[g.id] = g.defaultValue ?? "";
39359
+ return e.forEach((f) => {
39360
+ f.type === "daterange" ? m[f.id] = { start: "", end: "" } : m[f.id] = f.defaultValue ?? "";
39303
39361
  }), m;
39304
39362
  });
39305
39363
  H(() => {
39306
39364
  if (!c) return;
39307
39365
  const m = { ...s ?? {} };
39308
- e.forEach((g) => {
39309
- g.id in m || (m[g.id] = g.type === "daterange" ? { start: "", end: "" } : g.defaultValue ?? "");
39310
- }), (t || []).forEach((g) => {
39311
- !g || !g.id || (m[g.id] = g.value);
39366
+ e.forEach((f) => {
39367
+ f.id in m || (m[f.id] = f.type === "daterange" ? { start: "", end: "" } : f.defaultValue ?? "");
39368
+ }), (t || []).forEach((f) => {
39369
+ !f || !f.id || (m[f.id] = f.value);
39312
39370
  }), d(m), i(t ?? []);
39313
39371
  }, [
39314
39372
  c,
39315
39373
  JSON.stringify(t || []),
39316
39374
  JSON.stringify(e.map((m) => m.id))
39317
39375
  ]);
39318
- const l = c ? t : r, p = ke((m, g) => {
39319
- d((v) => ({ ...v, [m]: g }));
39376
+ const l = c ? t : r, p = ke((m, f) => {
39377
+ d((v) => ({ ...v, [m]: f }));
39320
39378
  }, []), y = ke(async () => {
39321
- const m = [], g = { ...s };
39322
- for (const [v, M] of Object.entries(g)) {
39323
- const f = e.find((b) => b.id === v);
39324
- if (!f) continue;
39379
+ const m = [], f = { ...s };
39380
+ for (const [v, M] of Object.entries(f)) {
39381
+ const g = e.find((b) => b.id === v);
39382
+ if (!g) continue;
39325
39383
  let x = M;
39326
39384
  try {
39327
- typeof M == "function" && (x = await M(g)), typeof f.executeOnApply == "function" && (x = await f.executeOnApply(x, g));
39385
+ typeof M == "function" && (x = await M(f)), typeof g.executeOnApply == "function" && (x = await g.executeOnApply(x, f));
39328
39386
  } catch {
39329
39387
  continue;
39330
39388
  }
39331
- if (f.type === "daterange") {
39332
- const b = x?.start ?? "", N = x?.end ?? "", w = typeof b == "string" ? b.trim() === "" : !b, L = typeof N == "string" ? N.trim() === "" : !N;
39389
+ if (g.type === "daterange") {
39390
+ const b = x?.start ?? "", C = x?.end ?? "", w = typeof b == "string" ? b.trim() === "" : !b, L = typeof C == "string" ? C.trim() === "" : !C;
39333
39391
  if (w && L)
39334
39392
  continue;
39335
39393
  }
39336
39394
  x == null || typeof x == "string" && x.trim() === "" || Array.isArray(x) && x.length === 0 || typeof x == "object" && !Array.isArray(x) && Object.keys(x).length === 0 || m.push({
39337
39395
  id: v,
39338
- type: f.type,
39396
+ type: g.type,
39339
39397
  value: x,
39340
- label: f.label
39398
+ label: g.label
39341
39399
  });
39342
39400
  }
39343
39401
  return c ? n?.(m) : (i(m), o?.(m)), m;
39344
39402
  }, [s, e, c, n, o]), u = ke(
39345
39403
  (m) => {
39346
- d((g) => ({ ...g, [m]: void 0 })), p(m, void 0);
39404
+ d((f) => ({ ...f, [m]: void 0 })), p(m, void 0);
39347
39405
  },
39348
39406
  [p]
39349
39407
  ), k = ke(() => {
39350
39408
  const m = {};
39351
- e.forEach((g) => {
39352
- g.type === "daterange" ? m[g.id] = { start: "", end: "" } : m[g.id] = g.defaultValue ?? "";
39409
+ e.forEach((f) => {
39410
+ f.type === "daterange" ? m[f.id] = { start: "", end: "" } : m[f.id] = f.defaultValue ?? "";
39353
39411
  }), d(m), c ? n?.([]) : (i([]), o?.([]));
39354
39412
  }, [e, c, n, o]);
39355
39413
  return {
@@ -39424,42 +39482,42 @@ const bpe = "_container_xxyle_165", Lpe = "_tableWrapper_xxyle_215", Ipe = "_tab
39424
39482
  };
39425
39483
  function Kye(e, t, n = "", o = { key: null, direction: "asc" }, c = 1, r = 10, i = []) {
39426
39484
  const s = Math.max(1, r), d = (n || "").trim().toLowerCase(), l = fe(() => {
39427
- let g = e;
39428
- return d && (g = g.filter(
39485
+ let f = e;
39486
+ return d && (f = f.filter(
39429
39487
  (v) => t.some((M) => {
39430
- const f = v.data[M.id];
39431
- return f == null ? !1 : String(f).toLowerCase().includes(d);
39488
+ const g = v.data[M.id];
39489
+ return g == null ? !1 : String(g).toLowerCase().includes(d);
39432
39490
  })
39433
- )), i.length > 0 && (g = g.filter((v) => i.every((M) => {
39491
+ )), i.length > 0 && (f = f.filter((v) => i.every((M) => {
39434
39492
  try {
39435
- const f = v.data[M.id];
39436
- return Zye(f, M);
39437
- } catch (f) {
39438
- return console.error("Error applying filter:", f), !1;
39493
+ const g = v.data[M.id];
39494
+ return Zye(g, M);
39495
+ } catch (g) {
39496
+ return console.error("Error applying filter:", g), !1;
39439
39497
  }
39440
- }))), g;
39498
+ }))), f;
39441
39499
  }, [e, t, d, i]), p = fe(() => {
39442
39500
  if (!o?.key) return l;
39443
- const g = o.key;
39501
+ const f = o.key;
39444
39502
  return [...l].sort((v, M) => {
39445
- const f = v.data[g], x = M.data[g];
39446
- if (f == null) return 1;
39503
+ const g = v.data[f], x = M.data[f];
39504
+ if (g == null) return 1;
39447
39505
  if (x == null) return -1;
39448
- if (typeof f == "number" && typeof x == "number")
39449
- return o.direction === "desc" ? x - f : f - x;
39450
- if (f instanceof Date && x instanceof Date) {
39451
- const b = f.getTime() - x.getTime();
39506
+ if (typeof g == "number" && typeof x == "number")
39507
+ return o.direction === "desc" ? x - g : g - x;
39508
+ if (g instanceof Date && x instanceof Date) {
39509
+ const b = g.getTime() - x.getTime();
39452
39510
  return o.direction === "desc" ? -b : b;
39453
39511
  }
39454
- const C = String(f).localeCompare(String(x), void 0, {
39512
+ const N = String(g).localeCompare(String(x), void 0, {
39455
39513
  numeric: !0,
39456
39514
  sensitivity: "base"
39457
39515
  });
39458
- return o.direction === "desc" ? -C : C;
39516
+ return o.direction === "desc" ? -N : N;
39459
39517
  });
39460
39518
  }, [l, o]), y = fe(() => {
39461
- const g = (c - 1) * s;
39462
- return p.slice(g, g + s);
39519
+ const f = (c - 1) * s;
39520
+ return p.slice(f, f + s);
39463
39521
  }, [p, c, s]), u = Math.ceil(p.length / s), k = p.length === 0 ? 0 : (c - 1) * s + 1, m = Math.min(c * s, p.length);
39464
39522
  return {
39465
39523
  paginatedData: y,
@@ -39553,7 +39611,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39553
39611
  clearLabel: k = "Clear",
39554
39612
  applyDisabled: m = !1
39555
39613
  }) => {
39556
- const [g, v] = V(!1), M = typeof i == "boolean" ? i : g, { appliedFilters: f, tempFilters: x, updateFilter: C, applyFilters: b, clearAllFilters: N } = Gye({
39614
+ const [f, v] = V(!1), M = typeof i == "boolean" ? i : f, { appliedFilters: g, tempFilters: x, updateFilter: N, applyFilters: b, clearAllFilters: C } = Gye({
39557
39615
  filters: e,
39558
39616
  externalFilters: t,
39559
39617
  onFiltersChange: n,
@@ -39583,11 +39641,11 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39583
39641
  $ = void 0;
39584
39642
  }
39585
39643
  let T = [];
39586
- $ && Array.isArray($) && $.length > 0 ? T = $ : f && f.length > 0 ? T = f : T = A(), n?.(T), o?.(T);
39644
+ $ && Array.isArray($) && $.length > 0 ? T = $ : g && g.length > 0 ? T = g : T = A(), n?.(T), o?.(T);
39587
39645
  }, z = () => {
39588
39646
  s?.(!1), typeof i != "boolean" && v(!1);
39589
39647
  }, P = () => {
39590
- N(), n?.([]), o?.([]);
39648
+ C(), n?.([]), o?.([]);
39591
39649
  };
39592
39650
  return H(() => {
39593
39651
  const $ = (Y) => {
@@ -39602,7 +39660,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39602
39660
  /* @__PURE__ */ _(
39603
39661
  "button",
39604
39662
  {
39605
- className: `${S.toggleFiltersButton} ${f.length > 0 ? S.active : ""} ${M ? S.toggleFiltersButtonOpen : ""}`,
39663
+ className: `${S.toggleFiltersButton} ${g.length > 0 ? S.active : ""} ${M ? S.toggleFiltersButtonOpen : ""}`,
39606
39664
  onClick: q,
39607
39665
  "aria-expanded": M,
39608
39666
  "aria-controls": "advanced-filters-panel",
@@ -39610,7 +39668,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39610
39668
  children: [
39611
39669
  /* @__PURE__ */ h(Re, { size: 14 }),
39612
39670
  /* @__PURE__ */ h("span", { className: S.buttonTextCompact, children: p }),
39613
- f.length > 0 && /* @__PURE__ */ h("span", { className: S.filterCountBadge, "aria-hidden": !0, children: f.length })
39671
+ g.length > 0 && /* @__PURE__ */ h("span", { className: S.filterCountBadge, "aria-hidden": !0, children: g.length })
39614
39672
  ]
39615
39673
  }
39616
39674
  ),
@@ -39633,21 +39691,21 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39633
39691
  {
39634
39692
  config: $,
39635
39693
  value: x[$.id],
39636
- onChange: (T) => C($.id, T),
39694
+ onChange: (T) => N($.id, T),
39637
39695
  disabled: $.disabled
39638
39696
  }
39639
39697
  )
39640
39698
  ] }, $.id)) }),
39641
39699
  /* @__PURE__ */ _("div", { className: S.filtersActionsHorizontal, children: [
39642
- /* @__PURE__ */ h("div", { className: S.activeFiltersSection, children: f.length > 0 && /* @__PURE__ */ _("div", { className: S.activeFiltersRow, children: [
39700
+ /* @__PURE__ */ h("div", { className: S.activeFiltersSection, children: g.length > 0 && /* @__PURE__ */ _("div", { className: S.activeFiltersRow, children: [
39643
39701
  /* @__PURE__ */ h("span", { className: S.activeLabelCompact, children: "Actifs :" }),
39644
- /* @__PURE__ */ h("div", { className: S.activeFiltersList, children: f.map(($) => /* @__PURE__ */ _("div", { className: S.activeFilterTag, children: [
39702
+ /* @__PURE__ */ h("div", { className: S.activeFiltersList, children: g.map(($) => /* @__PURE__ */ _("div", { className: S.activeFilterTag, children: [
39645
39703
  $.label ?? $.id,
39646
39704
  /* @__PURE__ */ h(
39647
39705
  "button",
39648
39706
  {
39649
39707
  className: S.removeFilterButton,
39650
- onClick: () => C($.id, void 0),
39708
+ onClick: () => N($.id, void 0),
39651
39709
  "aria-label": `Supprimer ${$.id}`,
39652
39710
  type: "button",
39653
39711
  children: "×"
@@ -39697,12 +39755,12 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39697
39755
  };
39698
39756
  return H(() => {
39699
39757
  if (!c) return;
39700
- const k = (g) => {
39758
+ const k = (f) => {
39701
39759
  if (!s.current) return;
39702
- const v = g.target;
39760
+ const v = f.target;
39703
39761
  v && !s.current.contains(v) && r(!1);
39704
- }, m = (g) => {
39705
- g.key === "Escape" && r(!1);
39762
+ }, m = (f) => {
39763
+ f.key === "Escape" && r(!1);
39706
39764
  };
39707
39765
  return document.addEventListener("pointerdown", k), document.addEventListener("keydown", m), () => {
39708
39766
  document.removeEventListener("pointerdown", k), document.removeEventListener("keydown", m);
@@ -39751,7 +39809,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39751
39809
  )
39752
39810
  ] }),
39753
39811
  /* @__PURE__ */ h("div", { className: S.sortDropdownContent, children: i.map((k) => {
39754
- const m = String(k.label ?? k.id), g = vN(m);
39812
+ const m = String(k.label ?? k.id), f = vN(m);
39755
39813
  return /* @__PURE__ */ _(
39756
39814
  "div",
39757
39815
  {
@@ -39765,7 +39823,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39765
39823
  /* @__PURE__ */ h(
39766
39824
  "span",
39767
39825
  {
39768
- className: `${S.columnSorterLabel} ${g ? S.uppercaseSmall : ""}`,
39826
+ className: `${S.columnSorterLabel} ${f ? S.uppercaseSmall : ""}`,
39769
39827
  title: m,
39770
39828
  "aria-label": m,
39771
39829
  children: m
@@ -39825,24 +39883,24 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39825
39883
  const d = Math.max(1, Math.floor(t)), l = Math.min(Math.max(1, Math.floor(e)), d), p = () => {
39826
39884
  l > 1 && r(l - 1);
39827
39885
  }, y = () => {
39828
- const g = l + 1;
39829
- r(g), l === d && s && s(g);
39886
+ const f = l + 1;
39887
+ r(f), l === d && s && s(f);
39830
39888
  }, u = o > 0 ? (l - 1) * n + 1 : 0, k = o > 0 ? Math.min(l * n, o) : 0, m = () => {
39831
- const g = [];
39832
- let M = Math.max(1, l - Math.floor(2.5)), f = M + 5 - 1;
39833
- f > d && (f = d, M = Math.max(1, f - 5 + 1));
39834
- for (let x = M; x <= f; x++) g.push(x);
39835
- return g;
39889
+ const f = [];
39890
+ let M = Math.max(1, l - Math.floor(2.5)), g = M + 5 - 1;
39891
+ g > d && (g = d, M = Math.max(1, g - 5 + 1));
39892
+ for (let x = M; x <= g; x++) f.push(x);
39893
+ return f;
39836
39894
  };
39837
39895
  return /* @__PURE__ */ _("div", { className: S.paginationContainer, role: "navigation", "aria-label": "Pagination", children: [
39838
39896
  /* @__PURE__ */ h("div", { className: S.leftGroup, children: i && /* @__PURE__ */ h("div", { className: S.pageSizeControls, children: /* @__PURE__ */ h(
39839
39897
  "select",
39840
39898
  {
39841
39899
  value: n,
39842
- onChange: (g) => i(Number(g.target.value)),
39900
+ onChange: (f) => i(Number(f.target.value)),
39843
39901
  className: S.pageSizeSelect,
39844
39902
  "aria-label": "Taille de page",
39845
- children: [10, 20, 30].map((g) => /* @__PURE__ */ h("option", { value: g, children: g }, g))
39903
+ children: [10, 20, 30].map((f) => /* @__PURE__ */ h("option", { value: f, children: f }, f))
39846
39904
  }
39847
39905
  ) }) }),
39848
39906
  /* @__PURE__ */ _("div", { className: S.paginationInfo, "aria-live": "polite", children: [
@@ -39863,15 +39921,15 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39863
39921
  children: "«"
39864
39922
  }
39865
39923
  ),
39866
- m().map((g) => /* @__PURE__ */ h(
39924
+ m().map((f) => /* @__PURE__ */ h(
39867
39925
  "button",
39868
39926
  {
39869
- onClick: () => r(g),
39870
- "aria-current": l === g ? "page" : void 0,
39871
- className: `${S.paginationButton} ${l === g ? S.activeButton : ""}`,
39872
- children: g
39927
+ onClick: () => r(f),
39928
+ "aria-current": l === f ? "page" : void 0,
39929
+ className: `${S.paginationButton} ${l === f ? S.activeButton : ""}`,
39930
+ children: f
39873
39931
  },
39874
- g
39932
+ f
39875
39933
  )),
39876
39934
  /* @__PURE__ */ h(
39877
39935
  "button",
@@ -39981,14 +40039,14 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
39981
40039
  debounceTimeout: u = 300,
39982
40040
  getRowStyle: k,
39983
40041
  background: m,
39984
- onNewPage: g,
40042
+ onNewPage: f,
39985
40043
  onPageSizeChange: v,
39986
40044
  onPageChange: M,
39987
- itemLabel: f = "items",
40045
+ itemLabel: g = "items",
39988
40046
  advancedFiltersLabel: x = "Advanced-Filters",
39989
- sortLabel: C = "Sort",
40047
+ sortLabel: N = "Sort",
39990
40048
  applyLabel: b = "Apply",
39991
- cancelLabel: N = "Cancel",
40049
+ cancelLabel: C = "Cancel",
39992
40050
  clearLabel: w = "Clear",
39993
40051
  applyDisabled: L = !1
39994
40052
  }) => {
@@ -40046,7 +40104,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40046
40104
  {
40047
40105
  columns: e,
40048
40106
  onSort: V$,
40049
- label: C,
40107
+ label: N,
40050
40108
  sortConfig: q
40051
40109
  }
40052
40110
  ),
@@ -40065,7 +40123,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40065
40123
  onPanelHeightChange: z$,
40066
40124
  label: x,
40067
40125
  applyLabel: b,
40068
- cancelLabel: N,
40126
+ cancelLabel: C,
40069
40127
  clearLabel: w,
40070
40128
  applyDisabled: L
40071
40129
  }
@@ -40078,10 +40136,10 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40078
40136
  totalPages: Math.max(1, kx),
40079
40137
  pageSize: P,
40080
40138
  totalItems: gL,
40081
- itemLabel: f,
40139
+ itemLabel: g,
40082
40140
  onPageChange: q$,
40083
40141
  onPageSizeChange: A$,
40084
- onNewPage: g
40142
+ onNewPage: f
40085
40143
  }
40086
40144
  ) }),
40087
40145
  /* @__PURE__ */ h(
@@ -40554,15 +40612,15 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40554
40612
  renderItem: u,
40555
40613
  summary: k = !1,
40556
40614
  summaryBgColors: m = n4e,
40557
- summaryBorderColors: g = o4e,
40615
+ summaryBorderColors: f = o4e,
40558
40616
  summaryValueColors: v = c4e,
40559
40617
  preset: M,
40560
- background: f
40618
+ background: g
40561
40619
  } = e, {
40562
40620
  itemsContainerStyle: x,
40563
- itemsContainerClassName: C,
40621
+ itemsContainerClassName: N,
40564
40622
  summaryGridColumns: b,
40565
- compactItemWidth: N,
40623
+ compactItemWidth: C,
40566
40624
  compactItemHeight: w,
40567
40625
  compactItemStyle: L,
40568
40626
  summaryCardWidth: q,
@@ -40571,7 +40629,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40571
40629
  } = e, z = n === "vertical", P = {
40572
40630
  "--mp-accent": r,
40573
40631
  "--mp-accent-soft": i4e(r, 0.08),
40574
- "--mp-bg-primary": f
40632
+ "--mp-bg-primary": g
40575
40633
  }, $ = [
40576
40634
  D.mpRoot,
40577
40635
  z ? D.mpVertical : D.mpHorizontal,
@@ -40593,10 +40651,10 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40593
40651
  /* @__PURE__ */ h("div", { className: D.mpSummaryInner, children: /* @__PURE__ */ h(
40594
40652
  "div",
40595
40653
  {
40596
- className: `${Y} ${C ?? ""}`,
40654
+ className: `${Y} ${N ?? ""}`,
40597
40655
  style: J,
40598
40656
  children: t.length === 0 ? /* @__PURE__ */ h("div", { className: D.mpEmpty, children: y }) : t.map((ee, te) => {
40599
- const ro = ee.bgColor ?? m[te % m.length], yx = ee.borderColor ?? g[te % g.length], ux = ee.valueColor ?? v[te % v.length];
40657
+ const ro = ee.bgColor ?? m[te % m.length], yx = ee.borderColor ?? f[te % f.length], ux = ee.valueColor ?? v[te % v.length];
40600
40658
  return T ? /* @__PURE__ */ h(
40601
40659
  "div",
40602
40660
  {
@@ -40633,7 +40691,7 @@ const Xye = ({ value: e }) => e, Yye = ({ value: e }) => G.createElement(
40633
40691
  s && /* @__PURE__ */ h(_N, { title: s }),
40634
40692
  /* @__PURE__ */ h("div", { className: D.mpList, style: x, children: p ? /* @__PURE__ */ h("div", { className: D.mpEmpty, children: "Chargement…" }) : t.length === 0 ? /* @__PURE__ */ h("div", { className: D.mpEmpty, children: y }) : t.map((Y) => {
40635
40693
  const R = i ? {
40636
- width: N ?? void 0,
40694
+ width: C ?? void 0,
40637
40695
  height: w ?? void 0,
40638
40696
  boxSizing: "border-box",
40639
40697
  ...L ?? {}
@@ -40674,13 +40732,13 @@ const rke = ({
40674
40732
  shadow: p = "soft",
40675
40733
  showBorder: y = !1
40676
40734
  }) => {
40677
- const u = e ? typeof e == "number" ? `${e}px` : e : void 0, k = t ? typeof t == "number" ? `${t}px` : t : void 0, m = c && typeof c == "object" && !G.isValidElement(c) && ("text" in c || "subtext" in c || "icon" in c || "background" in c || "iconSize" in c), g = m ? c : void 0, v = g?.icon ? ve[g.icon] : void 0, M = 28, f = g?.iconSize ?? M, x = [
40735
+ const u = e ? typeof e == "number" ? `${e}px` : e : void 0, k = t ? typeof t == "number" ? `${t}px` : t : void 0, m = c && typeof c == "object" && !G.isValidElement(c) && ("text" in c || "subtext" in c || "icon" in c || "background" in c || "iconSize" in c), f = m ? c : void 0, v = f?.icon ? ve[f.icon] : void 0, M = 28, g = f?.iconSize ?? M, x = [
40678
40736
  "chart-container",
40679
40737
  `variant-${l}`,
40680
40738
  p !== "none" ? `shadow-${p}` : "",
40681
40739
  y ? "with-border" : "",
40682
40740
  i
40683
- ].filter(Boolean).join(" "), C = n.contentBackground ?? void 0, b = typeof d == "number" ? `${d}px` : d;
40741
+ ].filter(Boolean).join(" "), N = n.contentBackground ?? void 0, b = typeof d == "number" ? `${d}px` : d;
40684
40742
  return /* @__PURE__ */ _(
40685
40743
  "div",
40686
40744
  {
@@ -40711,26 +40769,26 @@ const rke = ({
40711
40769
  flexDirection: "column",
40712
40770
  alignItems: "center",
40713
40771
  justifyContent: "center",
40714
- background: C
40772
+ background: N
40715
40773
  // pas de padding spécifique ici — le padding global de la racine gère l'espace
40716
40774
  },
40717
- children: s || (m && g ? /* @__PURE__ */ _("div", { className: "placeholder", role: "status", "aria-live": "polite", children: [
40775
+ children: s || (m && f ? /* @__PURE__ */ _("div", { className: "placeholder", role: "status", "aria-live": "polite", children: [
40718
40776
  v && /* @__PURE__ */ h(
40719
40777
  "div",
40720
40778
  {
40721
40779
  className: "placeholder-icon",
40722
- style: { width: f, height: f },
40780
+ style: { width: g, height: g },
40723
40781
  children: /* @__PURE__ */ h(
40724
40782
  v,
40725
40783
  {
40726
- color: g.iconColor ?? "currentColor",
40727
- size: typeof f == "number" ? f : parseInt(String(f), 10) || M
40784
+ color: f.iconColor ?? "currentColor",
40785
+ size: typeof g == "number" ? g : parseInt(String(g), 10) || M
40728
40786
  }
40729
40787
  )
40730
40788
  }
40731
40789
  ),
40732
- g.text && /* @__PURE__ */ h("div", { className: "placeholder-text", children: g.text }),
40733
- g.subtext && /* @__PURE__ */ h("div", { className: "placeholder-subtext", children: g.subtext })
40790
+ f.text && /* @__PURE__ */ h("div", { className: "placeholder-text", children: f.text }),
40791
+ f.subtext && /* @__PURE__ */ h("div", { className: "placeholder-subtext", children: f.subtext })
40734
40792
  ] }) : /* @__PURE__ */ h("div", { className: "placeholder-node", role: "status", "aria-live": "polite", children: c }))
40735
40793
  }
40736
40794
  )
@@ -40787,29 +40845,29 @@ const rke = ({
40787
40845
  H(() => () => {
40788
40846
  r.current.forEach((b) => window.clearTimeout(b)), r.current.clear();
40789
40847
  }, []);
40790
- const l = (b, N) => {
40791
- const w = N === void 0 || N === 0 ? t : N;
40848
+ const l = (b, C) => {
40849
+ const w = C === void 0 || C === 0 ? t : C;
40792
40850
  if (w === -1) return;
40793
40851
  const L = window.setTimeout(() => {
40794
40852
  u(b);
40795
40853
  }, w);
40796
40854
  r.current.set(b, L);
40797
40855
  }, p = (b) => {
40798
- const N = r.current.get(b);
40799
- N && (window.clearTimeout(N), r.current.delete(b));
40856
+ const C = r.current.get(b);
40857
+ C && (window.clearTimeout(C), r.current.delete(b));
40800
40858
  }, y = (b) => {
40801
- const N = d4e(), w = { ...b, id: N, createdAt: Date.now() };
40859
+ const C = d4e(), w = { ...b, id: C, createdAt: Date.now() };
40802
40860
  return c((L) => {
40803
40861
  const q = [w, ...L], A = d.current;
40804
40862
  return typeof A == "number" && A >= 0 && q.length > A ? (q.slice(A).forEach((z) => p(z.id)), q.slice(0, A)) : q;
40805
- }), l(N, b.duration), N;
40863
+ }), l(C, b.duration), C;
40806
40864
  }, u = (b) => {
40807
- p(b), c((N) => N.filter((w) => w.id !== b));
40808
- }, k = (b, N) => {
40809
- c((w) => w.map((L) => L.id === b ? { ...L, ...N } : L));
40865
+ p(b), c((C) => C.filter((w) => w.id !== b));
40866
+ }, k = (b, C) => {
40867
+ c((w) => w.map((L) => L.id === b ? { ...L, ...C } : L));
40810
40868
  }, m = () => {
40811
40869
  r.current.forEach((b) => window.clearTimeout(b)), r.current.clear(), c([]);
40812
- }, g = (b) => {
40870
+ }, f = (b) => {
40813
40871
  s.current = b;
40814
40872
  }, v = () => o.slice(), M = fe(
40815
40873
  () => ({
@@ -40817,12 +40875,12 @@ const rke = ({
40817
40875
  dismissAlert: u,
40818
40876
  updateAlert: k,
40819
40877
  clearAlerts: m,
40820
- setContainerRef: g,
40878
+ setContainerRef: f,
40821
40879
  getAlertsSnapshot: v
40822
40880
  }),
40823
40881
  // eslint-disable-next-line react-hooks/exhaustive-deps
40824
40882
  [o]
40825
- ), f = s.current, x = /* @__PURE__ */ h(Tn, { children: o.map((b) => /* @__PURE__ */ h(
40883
+ ), g = s.current, x = /* @__PURE__ */ h(Tn, { children: o.map((b) => /* @__PURE__ */ h(
40826
40884
  s4e,
40827
40885
  {
40828
40886
  id: b.id,
@@ -40837,7 +40895,7 @@ const rke = ({
40837
40895
  size: "100%"
40838
40896
  },
40839
40897
  b.id
40840
- )) }), C = /* @__PURE__ */ h(
40898
+ )) }), N = /* @__PURE__ */ h(
40841
40899
  "div",
40842
40900
  {
40843
40901
  ref: (b) => {
@@ -40855,7 +40913,7 @@ const rke = ({
40855
40913
  }
40856
40914
  );
40857
40915
  return /* @__PURE__ */ _(I$.Provider, { value: M, children: [
40858
- f ? E$(x, f) : C,
40916
+ g ? E$(x, g) : N,
40859
40917
  e
40860
40918
  ] });
40861
40919
  }, dke = () => {
@@ -40937,7 +40995,7 @@ const rke = ({
40937
40995
  closeOnOverlayClick: p = !0,
40938
40996
  showCloseButton: y = !0
40939
40997
  }, u) => {
40940
- const [k, m] = V(!1), [g, v] = V(!1), M = B(null), f = B(null), x = B(null), C = B(null);
40998
+ const [k, m] = V(!1), [f, v] = V(!1), M = B(null), g = B(null), x = B(null), N = B(null);
40941
40999
  H(() => {
40942
41000
  const w = M.current;
40943
41001
  if (!w) return;
@@ -40963,8 +41021,8 @@ const rke = ({
40963
41021
  }),
40964
41022
  [k, o, r]
40965
41023
  ), H(() => {
40966
- const w = f.current;
40967
- C.current && (window.clearTimeout(C.current), C.current = null);
41024
+ const w = g.current;
41025
+ N.current && (window.clearTimeout(N.current), N.current = null);
40968
41026
  const L = (q) => {
40969
41027
  if (q.target === w && !(q.propertyName !== "transform" && q.propertyName !== "opacity"))
40970
41028
  if (k) {
@@ -40981,7 +41039,7 @@ const rke = ({
40981
41039
  }
40982
41040
  }
40983
41041
  };
40984
- return w && (w.addEventListener("transitionend", L), C.current = window.setTimeout(() => {
41042
+ return w && (w.addEventListener("transitionend", L), N.current = window.setTimeout(() => {
40985
41043
  if (k) {
40986
41044
  v(!0), c?.();
40987
41045
  try {
@@ -40996,7 +41054,7 @@ const rke = ({
40996
41054
  }
40997
41055
  }
40998
41056
  }, y4e + 60)), k && (x.current = document.activeElement), () => {
40999
- w && w.removeEventListener("transitionend", L), C.current && (window.clearTimeout(C.current), C.current = null);
41057
+ w && w.removeEventListener("transitionend", L), N.current && (window.clearTimeout(N.current), N.current = null);
41000
41058
  };
41001
41059
  }, [k, c, i]), H(() => {
41002
41060
  const w = (L) => {
@@ -41006,7 +41064,7 @@ const rke = ({
41006
41064
  }, [k, r]);
41007
41065
  const b = () => {
41008
41066
  p && (r?.(), v(!1), m(!1));
41009
- }, N = typeof n == "number" ? `${n}px` : n;
41067
+ }, C = typeof n == "number" ? `${n}px` : n;
41010
41068
  return /* @__PURE__ */ _("div", { ref: M, className: `scp-inline-root ${k ? "open" : ""}`, "aria-hidden": !k, children: [
41011
41069
  /* @__PURE__ */ h(
41012
41070
  "div",
@@ -41019,9 +41077,9 @@ const rke = ({
41019
41077
  /* @__PURE__ */ _(
41020
41078
  "aside",
41021
41079
  {
41022
- className: `scp-panel ${k ? "in" : "out"} ${g ? "interactive" : ""} ${d}`,
41023
- style: { width: N, ...s },
41024
- ref: f,
41080
+ className: `scp-panel ${k ? "in" : "out"} ${f ? "interactive" : ""} ${d}`,
41081
+ style: { width: C, ...s },
41082
+ ref: g,
41025
41083
  tabIndex: -1,
41026
41084
  role: "dialog",
41027
41085
  "aria-label": e,
@@ -41100,13 +41158,13 @@ const uke = ({
41100
41158
  d.current?.focus();
41101
41159
  const m = d.current;
41102
41160
  if (m && typeof m.selectionStart == "number") {
41103
- const g = String(m.value ?? "").length;
41104
- m.setSelectionRange(g, g);
41161
+ const f = String(m.value ?? "").length;
41162
+ m.setSelectionRange(f, f);
41105
41163
  }
41106
41164
  });
41107
41165
  }, [e]), !e) return null;
41108
41166
  const l = (k, m) => {
41109
- s((g) => ({ ...g, [k]: m }));
41167
+ s((f) => ({ ...f, [k]: m }));
41110
41168
  }, p = () => {
41111
41169
  Object.values(i).some((k) => k === "" || k === void 0) || (n(i), s({}), t());
41112
41170
  }, y = (k) => {
@@ -41122,10 +41180,10 @@ const uke = ({
41122
41180
  children: /* @__PURE__ */ _("div", { className: He.modalContainer, onMouseDown: u, onClick: u, children: [
41123
41181
  /* @__PURE__ */ h("h2", { className: He.modalTitle, children: o }),
41124
41182
  c.map((k, m) => {
41125
- const g = i[k.name] ?? "", v = {
41183
+ const f = i[k.name] ?? "", v = {
41126
41184
  name: k.name,
41127
41185
  placeholder: k.placeholder || k.label,
41128
- value: String(g),
41186
+ value: String(f),
41129
41187
  onChange: (M) => l(k.name, M.target.value),
41130
41188
  className: k.type === "textarea" ? He.modalTextarea : He.modalInput,
41131
41189
  tabIndex: 0
@@ -41178,7 +41236,7 @@ const uke = ({
41178
41236
  addModalFields: r,
41179
41237
  addModalTitle: i
41180
41238
  }) => {
41181
- const [s, d] = V(!1), [l, p] = V(null), [y, u] = V(null), [k, m] = V(!1), g = () => d(!0), v = () => d(!1), M = (w) => {
41239
+ const [s, d] = V(!1), [l, p] = V(null), [y, u] = V(null), [k, m] = V(!1), f = () => d(!0), v = () => d(!1), M = (w) => {
41182
41240
  if (o) {
41183
41241
  const L = w.code?.trim() || w.id?.trim(), q = w.title?.trim(), A = L || q || String(Date.now()), I = q || L || `Module ${A}`;
41184
41242
  o({
@@ -41189,9 +41247,9 @@ const uke = ({
41189
41247
  });
41190
41248
  }
41191
41249
  v();
41192
- }, f = (w, L) => {
41250
+ }, g = (w, L) => {
41193
41251
  w.stopPropagation(), p(L);
41194
- }, x = () => p(null), C = (w) => {
41252
+ }, x = () => p(null), N = (w) => {
41195
41253
  if (!l) {
41196
41254
  x();
41197
41255
  return;
@@ -41204,7 +41262,7 @@ const uke = ({
41204
41262
  t && t(L), x();
41205
41263
  }, b = (w, L) => {
41206
41264
  w.stopPropagation(), n && n(L);
41207
- }, N = (w) => {
41265
+ }, C = (w) => {
41208
41266
  u(w.id), c && c(w);
41209
41267
  };
41210
41268
  return k ? /* @__PURE__ */ h("div", { className: "module-sidebar collapsed", children: /* @__PURE__ */ h(Yn, { size: 20, className: "menu-toggle", onClick: () => m(!1) }) }) : /* @__PURE__ */ _("div", { className: "module-sidebar", children: [
@@ -41215,7 +41273,7 @@ const uke = ({
41215
41273
  ")"
41216
41274
  ] }),
41217
41275
  /* @__PURE__ */ _("div", { className: "header-actions", children: [
41218
- /* @__PURE__ */ h(Mo, { size: 18, className: "header-folder", onClick: g }),
41276
+ /* @__PURE__ */ h(Mo, { size: 18, className: "header-folder", onClick: f }),
41219
41277
  /* @__PURE__ */ h(Yn, { size: 18, className: "header-menu", onClick: () => m(!0) })
41220
41278
  ] })
41221
41279
  ] }),
@@ -41226,11 +41284,11 @@ const uke = ({
41226
41284
  "div",
41227
41285
  {
41228
41286
  className: `module-item ${w.id === y ? "selected" : ""}`,
41229
- onClick: () => N(w),
41287
+ onClick: () => C(w),
41230
41288
  role: "button",
41231
41289
  tabIndex: 0,
41232
41290
  onKeyDown: (A) => {
41233
- A.key === "Enter" && N(w);
41291
+ A.key === "Enter" && C(w);
41234
41292
  },
41235
41293
  children: [
41236
41294
  /* @__PURE__ */ _("div", { className: "module-left", children: [
@@ -41248,7 +41306,7 @@ const uke = ({
41248
41306
  ] })
41249
41307
  ] }),
41250
41308
  /* @__PURE__ */ _("div", { className: "module-actions", children: [
41251
- t && /* @__PURE__ */ h(wo, { onClick: (A) => f(A, w), color: "#777", size: 16 }),
41309
+ t && /* @__PURE__ */ h(wo, { onClick: (A) => g(A, w), color: "#777", size: 16 }),
41252
41310
  n && /* @__PURE__ */ h(Jn, { onClick: (A) => b(A, w.id), color: "#777", size: 16 })
41253
41311
  ] })
41254
41312
  ]
@@ -41277,7 +41335,7 @@ const uke = ({
41277
41335
  {
41278
41336
  isOpen: !!l,
41279
41337
  onClose: x,
41280
- onSave: C,
41338
+ onSave: N,
41281
41339
  title: "Éditer le module",
41282
41340
  initialValues: { title: l.title },
41283
41341
  fields: [{ name: "title", label: "Titre", placeholder: "Titre du module" }]
@@ -41311,22 +41369,22 @@ const uke = ({
41311
41369
  onAddTranslation: s,
41312
41370
  draggable: d = !1
41313
41371
  }) => {
41314
- const [l, p] = V(!1), [y, u] = V(""), [k, m] = V(null), [g, v] = V(""), [M, f] = V(""), [x, C] = V(!1), [b, N] = V(!1), w = t.map(($) => $.language), L = n.filter(($) => !w.includes($.code)), q = () => {
41315
- y && M.trim() && (s?.(e, y, M.trim()), u(""), f(""), p(!1));
41372
+ const [l, p] = V(!1), [y, u] = V(""), [k, m] = V(null), [f, v] = V(""), [M, g] = V(""), [x, N] = V(!1), [b, C] = V(!1), w = t.map(($) => $.language), L = n.filter(($) => !w.includes($.code)), q = () => {
41373
+ y && M.trim() && (s?.(e, y, M.trim()), u(""), g(""), p(!1));
41316
41374
  }, A = ($, T) => {
41317
41375
  m($), v(T);
41318
41376
  }, I = ($) => {
41319
- r?.(e, $, g), m(null), v("");
41377
+ r?.(e, $, f), m(null), v("");
41320
41378
  }, z = () => {
41321
41379
  m(null), v("");
41322
41380
  }, P = ($) => {
41323
41381
  const T = $.name?.trim();
41324
41382
  if (T) {
41325
41383
  if (T === e) {
41326
- C(!1);
41384
+ N(!1);
41327
41385
  return;
41328
41386
  }
41329
- c?.(e, T), C(!1);
41387
+ c?.(e, T), N(!1);
41330
41388
  }
41331
41389
  };
41332
41390
  return /* @__PURE__ */ _(
@@ -41340,7 +41398,7 @@ const uke = ({
41340
41398
  "button",
41341
41399
  {
41342
41400
  className: "collapse-button",
41343
- onClick: () => N(!b),
41401
+ onClick: () => C(!b),
41344
41402
  title: b ? "Déplier" : "Replier",
41345
41403
  children: b ? /* @__PURE__ */ h(mo, { className: "collapse-icon" }) : /* @__PURE__ */ h(Ee, { className: "collapse-icon" })
41346
41404
  }
@@ -41353,7 +41411,7 @@ const uke = ({
41353
41411
  {
41354
41412
  className: "action-button",
41355
41413
  onClick: ($) => {
41356
- $.stopPropagation(), C(!0);
41414
+ $.stopPropagation(), N(!0);
41357
41415
  },
41358
41416
  title: "Renommer la clé",
41359
41417
  children: /* @__PURE__ */ h(qe, { className: "action-icon" })
@@ -41380,7 +41438,7 @@ const uke = ({
41380
41438
  "input",
41381
41439
  {
41382
41440
  type: "text",
41383
- value: g,
41441
+ value: f,
41384
41442
  onChange: (T) => v(T.target.value),
41385
41443
  className: "edit-input",
41386
41444
  autoFocus: !0,
@@ -41394,7 +41452,7 @@ const uke = ({
41394
41452
  {
41395
41453
  onClick: () => I($.language),
41396
41454
  className: "save-button",
41397
- disabled: !g.trim(),
41455
+ disabled: !f.trim(),
41398
41456
  children: "Enregistrer"
41399
41457
  }
41400
41458
  ),
@@ -41446,11 +41504,11 @@ const uke = ({
41446
41504
  {
41447
41505
  type: "text",
41448
41506
  value: M,
41449
- onChange: ($) => f($.target.value),
41507
+ onChange: ($) => g($.target.value),
41450
41508
  placeholder: "Entrez la traduction...",
41451
41509
  className: "translation-input",
41452
41510
  onKeyDown: ($) => {
41453
- $.key === "Enter" && q(), $.key === "Escape" && (p(!1), u(""), f(""));
41511
+ $.key === "Enter" && q(), $.key === "Escape" && (p(!1), u(""), g(""));
41454
41512
  }
41455
41513
  }
41456
41514
  ),
@@ -41467,7 +41525,7 @@ const uke = ({
41467
41525
  "button",
41468
41526
  {
41469
41527
  onClick: () => {
41470
- p(!1), u(""), f("");
41528
+ p(!1), u(""), g("");
41471
41529
  },
41472
41530
  className: "cancel-button",
41473
41531
  children: /* @__PURE__ */ h(Se, { className: "action-icon" })
@@ -41495,7 +41553,7 @@ const uke = ({
41495
41553
  ex,
41496
41554
  {
41497
41555
  isOpen: x,
41498
- onClose: () => C(!1),
41556
+ onClose: () => N(!1),
41499
41557
  onSave: P,
41500
41558
  title: "Renommer la clé",
41501
41559
  initialValues: { name: e },
@@ -41637,8 +41695,8 @@ const vke = ({
41637
41695
  emptyContent: u,
41638
41696
  colGap: k = "1rem"
41639
41697
  }) => {
41640
- const m = Array.isArray(r) ? r : [], g = m.length === 0, v = m.every((C) => typeof C == "string"), M = m.some((C) => Array.isArray(C)), f = (C, b, N) => s ? s(C, b, N) : /* @__PURE__ */ h("span", { className: "slb-cell-text", children: C }), x = k ? { "--col-gap": k } : void 0;
41641
- return g ? /* @__PURE__ */ _("div", { className: `slb-root ${e}`, style: { ...t, background: d ?? void 0 }, children: [
41698
+ const m = Array.isArray(r) ? r : [], f = m.length === 0, v = m.every((N) => typeof N == "string"), M = m.some((N) => Array.isArray(N)), g = (N, b, C) => s ? s(N, b, C) : /* @__PURE__ */ h("span", { className: "slb-cell-text", children: N }), x = k ? { "--col-gap": k } : void 0;
41699
+ return f ? /* @__PURE__ */ _("div", { className: `slb-root ${e}`, style: { ...t, background: d ?? void 0 }, children: [
41642
41700
  n && /* @__PURE__ */ h(
41643
41701
  "div",
41644
41702
  {
@@ -41661,12 +41719,12 @@ const vke = ({
41661
41719
  children: n
41662
41720
  }
41663
41721
  ),
41664
- /* @__PURE__ */ h("ul", { className: "slb-list", children: m.map((C, b) => /* @__PURE__ */ h(
41722
+ /* @__PURE__ */ h("ul", { className: "slb-list", children: m.map((N, b) => /* @__PURE__ */ h(
41665
41723
  "li",
41666
41724
  {
41667
41725
  className: `slb-item ${i[b] || ""}`,
41668
41726
  style: { background: y ?? void 0 },
41669
- children: f(C, b, 0)
41727
+ children: g(N, b, 0)
41670
41728
  },
41671
41729
  b
41672
41730
  )) })
@@ -41679,18 +41737,18 @@ const vke = ({
41679
41737
  children: n
41680
41738
  }
41681
41739
  ),
41682
- /* @__PURE__ */ h("div", { className: "slb-grid", style: x, children: m.map((C, b) => {
41683
- const N = i[b] || "";
41684
- if (Array.isArray(C)) {
41685
- const [w, L] = C;
41740
+ /* @__PURE__ */ h("div", { className: "slb-grid", style: x, children: m.map((N, b) => {
41741
+ const C = i[b] || "";
41742
+ if (Array.isArray(N)) {
41743
+ const [w, L] = N;
41686
41744
  return /* @__PURE__ */ _(
41687
41745
  "div",
41688
41746
  {
41689
- className: `slb-row ${N}`,
41747
+ className: `slb-row ${C}`,
41690
41748
  style: { background: y ?? void 0 },
41691
41749
  children: [
41692
- /* @__PURE__ */ h("div", { className: "slb-grid-left", children: f(w, b, 0) }),
41693
- /* @__PURE__ */ h("div", { className: "slb-grid-right", children: f(L, b, 1) })
41750
+ /* @__PURE__ */ h("div", { className: "slb-grid-left", children: g(w, b, 0) }),
41751
+ /* @__PURE__ */ h("div", { className: "slb-grid-right", children: g(L, b, 1) })
41694
41752
  ]
41695
41753
  },
41696
41754
  b
@@ -41699,10 +41757,10 @@ const vke = ({
41699
41757
  return /* @__PURE__ */ _(
41700
41758
  "div",
41701
41759
  {
41702
- className: `slb-row ${N}`,
41760
+ className: `slb-row ${C}`,
41703
41761
  style: { background: y ?? void 0 },
41704
41762
  children: [
41705
- /* @__PURE__ */ h("div", { className: "slb-grid-left", children: f(C, b, 0) }),
41763
+ /* @__PURE__ */ h("div", { className: "slb-grid-left", children: g(N, b, 0) }),
41706
41764
  /* @__PURE__ */ h("div", { className: "slb-grid-right slb-empty-cell", "aria-hidden": "true" })
41707
41765
  ]
41708
41766
  },
@@ -41727,10 +41785,10 @@ const vke = ({
41727
41785
  const u = c.some((m) => Array.isArray(m)), k = y ? { "--col-gap": y } : void 0;
41728
41786
  return /* @__PURE__ */ _("div", { className: `clb-root ${e}`, style: { ...t }, children: [
41729
41787
  n && /* @__PURE__ */ h("div", { className: "clb-title", style: o ? { color: o } : void 0, children: n }),
41730
- /* @__PURE__ */ h("div", { className: "clb-grid", style: k, children: c.map((m, g) => {
41731
- const v = p[g] || "";
41788
+ /* @__PURE__ */ h("div", { className: "clb-grid", style: k, children: c.map((m, f) => {
41789
+ const v = p[f] || "";
41732
41790
  if (Array.isArray(m)) {
41733
- const [M, f] = m, x = i[g] || r;
41791
+ const [M, g] = m, x = i[f] || r;
41734
41792
  return /* @__PURE__ */ _(
41735
41793
  "div",
41736
41794
  {
@@ -41750,10 +41808,10 @@ const vke = ({
41750
41808
  children: M
41751
41809
  }
41752
41810
  ) }),
41753
- /* @__PURE__ */ h("div", { className: "clb-text", children: f })
41811
+ /* @__PURE__ */ h("div", { className: "clb-text", children: g })
41754
41812
  ]
41755
41813
  },
41756
- g
41814
+ f
41757
41815
  );
41758
41816
  }
41759
41817
  return u ? /* @__PURE__ */ _(
@@ -41766,7 +41824,7 @@ const vke = ({
41766
41824
  /* @__PURE__ */ h("div", { className: "clb-text", children: m })
41767
41825
  ]
41768
41826
  },
41769
- g
41827
+ f
41770
41828
  ) : /* @__PURE__ */ h(
41771
41829
  "div",
41772
41830
  {
@@ -41774,7 +41832,7 @@ const vke = ({
41774
41832
  style: { background: l ?? void 0 },
41775
41833
  children: /* @__PURE__ */ h("span", { children: m })
41776
41834
  },
41777
- g
41835
+ f
41778
41836
  );
41779
41837
  }) })
41780
41838
  ] });
@@ -41978,12 +42036,12 @@ const vke = ({
41978
42036
  variant: l = "default",
41979
42037
  width: p = "w-full"
41980
42038
  }) => {
41981
- const [y, u] = V(!1), [k, m] = V(""), [g, v] = V(0), M = B(null), f = B(null), x = fe(() => k ? e.filter(
42039
+ const [y, u] = V(!1), [k, m] = V(""), [f, v] = V(0), M = B(null), g = B(null), x = fe(() => k ? e.filter(
41982
42040
  (I) => I.label.toLowerCase().includes(k.toLowerCase())
41983
- ) : e, [e, k]), C = e.find((I) => I.value === t);
42041
+ ) : e, [e, k]), N = e.find((I) => I.value === t);
41984
42042
  H(() => {
41985
42043
  const I = (z) => {
41986
- f.current && !f.current.contains(z.target) && (u(!1), m(""));
42044
+ g.current && !g.current.contains(z.target) && (u(!1), m(""));
41987
42045
  };
41988
42046
  return document.addEventListener("mousedown", I), () => document.removeEventListener("mousedown", I);
41989
42047
  }, []), H(() => {
@@ -41991,7 +42049,7 @@ const vke = ({
41991
42049
  }, [x]);
41992
42050
  const b = (I) => {
41993
42051
  I.disabled || (n?.(I.value, I), u(!1), m(""));
41994
- }, N = (I) => {
42052
+ }, C = (I) => {
41995
42053
  m(I.target.value), y || u(!0);
41996
42054
  }, w = (I) => {
41997
42055
  if (!y) {
@@ -42006,7 +42064,7 @@ const vke = ({
42006
42064
  I.preventDefault(), v((z) => z > 0 ? z - 1 : z);
42007
42065
  break;
42008
42066
  case "Enter":
42009
- I.preventDefault(), x[g] && b(x[g]);
42067
+ I.preventDefault(), x[f] && b(x[f]);
42010
42068
  break;
42011
42069
  case "Escape":
42012
42070
  u(!1), m("");
@@ -42032,11 +42090,11 @@ const vke = ({
42032
42090
  }
42033
42091
  }, A = (I, z) => [
42034
42092
  F.option,
42035
- z === g ? F.optionHighlighted : "",
42093
+ z === f ? F.optionHighlighted : "",
42036
42094
  I.value === t ? F.optionSelected : "",
42037
42095
  I.disabled ? F.optionDisabled : ""
42038
42096
  ].filter(Boolean).join(" ");
42039
- return /* @__PURE__ */ _("div", { className: `${F.container} ${q()}`, ref: f, children: [
42097
+ return /* @__PURE__ */ _("div", { className: `${F.container} ${q()}`, ref: g, children: [
42040
42098
  /* @__PURE__ */ h(
42041
42099
  "button",
42042
42100
  {
@@ -42049,7 +42107,7 @@ const vke = ({
42049
42107
  "aria-expanded": y,
42050
42108
  disabled: c,
42051
42109
  children: /* @__PURE__ */ _("div", { className: F.buttonContent, children: [
42052
- /* @__PURE__ */ h("span", { className: `${F.label} ${C ? "" : F.placeholder}`, children: C ? C.label : o }),
42110
+ /* @__PURE__ */ h("span", { className: `${F.label} ${N ? "" : F.placeholder}`, children: N ? N.label : o }),
42053
42111
  /* @__PURE__ */ _("div", { className: F.iconsContainer, children: [
42054
42112
  r && /* @__PURE__ */ h("div", { className: F.loadingSpinner }),
42055
42113
  /* @__PURE__ */ h(
@@ -42081,7 +42139,7 @@ const vke = ({
42081
42139
  ref: M,
42082
42140
  type: "text",
42083
42141
  value: k,
42084
- onChange: N,
42142
+ onChange: C,
42085
42143
  placeholder: "Rechercher...",
42086
42144
  className: F.searchInput,
42087
42145
  autoFocus: !0
@@ -42112,7 +42170,7 @@ const vke = ({
42112
42170
  )) }) })
42113
42171
  ] })
42114
42172
  ] });
42115
- }, b5e = "_container_1exkw_1", L5e = "_item_1exkw_13", I5e = "_mainValue_1exkw_25", C5e = "_label_1exkw_33", N5e = "_subValue_1exkw_43", S5e = "_subValueWrapper_1exkw_53", $5e = "_subSeparator_1exkw_63", ye = {
42173
+ }, b5e = "_container_uq7pt_1", L5e = "_item_uq7pt_7", I5e = "_mainValue_uq7pt_13", C5e = "_label_uq7pt_17", N5e = "_subValue_uq7pt_22", S5e = "_subValueWrapper_uq7pt_27", $5e = "_subSeparator_uq7pt_32", ye = {
42116
42174
  container: b5e,
42117
42175
  item: L5e,
42118
42176
  mainValue: I5e,
@@ -42135,11 +42193,11 @@ const vke = ({
42135
42193
  // texte principal noir
42136
42194
  }) => {
42137
42195
  const p = (y, u, k) => {
42138
- const [m, g] = y.split("/").map((v) => v.trim());
42196
+ const [m, f] = y.split("/").map((v) => v.trim());
42139
42197
  return /* @__PURE__ */ _("span", { className: ye.subValueWrapper, children: [
42140
42198
  /* @__PURE__ */ h("span", { className: ye.subLeft, style: { color: u }, children: m }),
42141
42199
  /* @__PURE__ */ h("span", { className: ye.subSeparator, children: " / " }),
42142
- /* @__PURE__ */ h("span", { className: ye.subRight, style: { color: k }, children: g })
42200
+ /* @__PURE__ */ h("span", { className: ye.subRight, style: { color: k }, children: f })
42143
42201
  ] });
42144
42202
  };
42145
42203
  return /* @__PURE__ */ _("div", { className: ye.container, style: { backgroundColor: s }, children: [
@@ -42223,26 +42281,26 @@ function Ske(e) {
42223
42281
  data: u,
42224
42282
  style: k,
42225
42283
  bg: m = "#ffffff",
42226
- width: g,
42284
+ width: f,
42227
42285
  gap: v,
42228
42286
  className: M,
42229
- ariaLabel: f
42230
- } = e, x = r ? ve[r] : void 0, C = {
42287
+ ariaLabel: g
42288
+ } = e, x = r ? ve[r] : void 0, N = {
42231
42289
  background: m,
42232
- width: Hn(g),
42290
+ width: Hn(f),
42233
42291
  ...k
42234
42292
  }, b = {};
42235
42293
  n && (b.color = n), o !== void 0 && (b.fontSize = Hn(o)), c !== void 0 && (b.fontWeight = c);
42236
- const N = {};
42237
- return s && (N.color = s), /* @__PURE__ */ _(
42294
+ const C = {};
42295
+ return s && (C.color = s), /* @__PURE__ */ _(
42238
42296
  "section",
42239
42297
  {
42240
42298
  className: `${be.encours} ${M ?? ""}`,
42241
- style: C,
42242
- "aria-label": f ?? t,
42299
+ style: N,
42300
+ "aria-label": g ?? t,
42243
42301
  children: [
42244
42302
  /* @__PURE__ */ _("div", { className: be.header, children: [
42245
- /* @__PURE__ */ h("div", { className: be.iconWrap, "aria-hidden": !0, style: N, children: x ? /* @__PURE__ */ h(x, { size: typeof i == "number" ? i : void 0 }) : /* @__PURE__ */ h(F5e, {}) }),
42303
+ /* @__PURE__ */ h("div", { className: be.iconWrap, "aria-hidden": !0, style: C, children: x ? /* @__PURE__ */ h(x, { size: typeof i == "number" ? i : void 0 }) : /* @__PURE__ */ h(F5e, {}) }),
42246
42304
  /* @__PURE__ */ h("div", { className: be.title, style: b, children: t })
42247
42305
  ] }),
42248
42306
  /* @__PURE__ */ h(