@scbt-ecom/ui 0.78.5 → 0.78.7

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.
Files changed (32) hide show
  1. package/dist/capitalize-B7CPmCdk.js +23 -0
  2. package/dist/capitalize-B7CPmCdk.js.map +1 -0
  3. package/dist/hooks.js +2 -2
  4. package/dist/{index-DwZjTCDF.js → index-B6WYooej.js} +2 -2
  5. package/dist/{index-DwZjTCDF.js.map → index-B6WYooej.js.map} +1 -1
  6. package/dist/{index-B2IoSSqc.js → index-DClkmaAg.js} +58 -58
  7. package/dist/{index-B2IoSSqc.js.map → index-DClkmaAg.js.map} +1 -1
  8. package/dist/lib/shared/ui/index.d.ts +0 -1
  9. package/dist/lib/widgets/breadcrumbs/Breadcrumbs.d.ts +6 -2
  10. package/dist/lib/widgets/breadcrumbs/hooks/constants.d.ts +2 -0
  11. package/dist/lib/widgets/breadcrumbs/hooks/index.d.ts +1 -1
  12. package/dist/lib/widgets/breadcrumbs/hooks/types.d.ts +2 -3
  13. package/dist/lib/widgets/breadcrumbs/index.d.ts +1 -0
  14. package/dist/lib/widgets/model/helpers.d.ts +1 -1
  15. package/dist/lib/widgets/seoHeader/SeoHeader.d.ts +3 -1
  16. package/dist/ui.js +803 -834
  17. package/dist/ui.js.map +1 -1
  18. package/dist/{useDebounce-BH0d8exl.js → useDebounce-DcKs_mq9.js} +3 -3
  19. package/dist/{useDebounce-BH0d8exl.js.map → useDebounce-DcKs_mq9.js.map} +1 -1
  20. package/dist/{useFieldsProgress-dcSmd8dw.js → useFieldsProgress-COFjjZK4.js} +6 -6
  21. package/dist/{useFieldsProgress-dcSmd8dw.js.map → useFieldsProgress-COFjjZK4.js.map} +1 -1
  22. package/dist/{utils-CnDzHNQ6.js → utils-Bu1Zg675.js} +62 -62
  23. package/dist/{utils-CnDzHNQ6.js.map → utils-Bu1Zg675.js.map} +1 -1
  24. package/dist/utils.js +30 -45
  25. package/dist/utils.js.map +1 -1
  26. package/dist/validation.js +2 -2
  27. package/dist/widget.js +973 -985
  28. package/dist/widget.js.map +1 -1
  29. package/package.json +1 -1
  30. package/dist/lib/shared/ui/breadcrumbs/Breadcrumbs.d.ts +0 -16
  31. package/dist/lib/shared/ui/breadcrumbs/index.d.ts +0 -1
  32. package/dist/lib/widgets/breadcrumbs/hooks/useBreadcrumbs.d.ts +0 -2
package/dist/ui.js CHANGED
@@ -1,10 +1,10 @@
1
- import { j as w, c as On, R as An, B as ge, u as Nn, a as Tn, b as jn, d as Hn, P as ke, e as Wt, f as Gn, I as zn, g as et, h as Bn, A as kn, i as be, H as qn, D as Un, V as Kn, O as Xn } from "./index-B2IoSSqc.js";
2
- import { p as Fi, C as _i, x as Ii, w as Mi, t as Vi, q as bi, K as Pi, L as $i, M as Ei, N as Di, o as Li, r as Oi, s as Ai, U as Ni, v as Ti, k as ji, m as Hi, l as Gi, n as zi, y as Bi } from "./index-B2IoSSqc.js";
1
+ import { k as C, l as On, q as An, B as ge, F as Tn, G as Nn, J as jn, K as Hn, N as Be, O as Wt, T as Gn, V as zn, W as et, X as kn, A as Bn, I as Ne, H as qn, Y as Un, Z as Kn, _ as Xn } from "./index-DClkmaAg.js";
2
+ import { v as yi, a3 as Fi, w as _i, C as Ii, D as Mi, a4 as Vi, a6 as Pi, L as $i, M as bi, a5 as Ei, P as Di, u as Li, y as Oi, U as Ai, t as Ti, $ as Ni, a1 as ji, a0 as Hi, a2 as Gi, a7 as zi } from "./index-DClkmaAg.js";
3
3
  import * as ce from "react";
4
4
  import { forwardRef as Q, useState as oe, useRef as je, useCallback as Se, useEffect as ve, isValidElement as He, cloneElement as Qt, Children as Ie } from "react";
5
- import { c as F, T as Nt } from "./typeGuards-CSiImkUY.js";
6
- import { aQ as qi, aT as Ui, aP as Ki, aS as Xi, aR as Wi } from "./utils-CnDzHNQ6.js";
7
- import { u as qe, a as Wn } from "./useDebounce-BH0d8exl.js";
5
+ import { c as F, T as Tt } from "./typeGuards-CSiImkUY.js";
6
+ import { aQ as Bi, aT as qi, aP as Ui, aS as Ki, aR as Xi } from "./utils-Bu1Zg675.js";
7
+ import { u as qe, a as Wn } from "./useDebounce-DcKs_mq9.js";
8
8
  import { m as Qn } from "./mergeRefs-qDToYXtM.js";
9
9
  const Jn = On(
10
10
  "group flex items-center justify-center cursor-pointer rounded-full outline-offset-[3px] outline-transparent outline-2 transition duration-12 active:scale-[0.97] disabled:pointer-events-none",
@@ -27,8 +27,8 @@ const Jn = On(
27
27
  }
28
28
  }
29
29
  ), ci = Q(
30
- ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, s) => /* @__PURE__ */ w.jsx("button", { ref: s, type: r, className: F(Jn({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ w.jsx("span", { className: F(n == null ? void 0 : n.icon), children: t }) })
31
- ), di = ({ className: e }) => /* @__PURE__ */ w.jsx("div", { className: F("skeleton-apply h-full w-full", e) }), gi = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ w.jsxs(
30
+ ({ size: e, intent: o, children: t, classes: n, type: r = "button", ...i }, l) => /* @__PURE__ */ C.jsx("button", { ref: l, type: r, className: F(Jn({ intent: o, size: e }), n == null ? void 0 : n.button), ...i, children: /* @__PURE__ */ C.jsx("span", { className: F(n == null ? void 0 : n.icon), children: t }) })
31
+ ), di = ({ className: e }) => /* @__PURE__ */ C.jsx("div", { className: F("skeleton-apply h-full w-full", e) }), gi = ({ isVisible: e, classes: o, children: t, buttonProps: n }) => /* @__PURE__ */ C.jsxs(
32
32
  An,
33
33
  {
34
34
  className: F(
@@ -38,7 +38,7 @@ const Jn = On(
38
38
  ),
39
39
  children: [
40
40
  t,
41
- /* @__PURE__ */ w.jsx(ge, { size: "lg", className: F("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
41
+ /* @__PURE__ */ C.jsx(ge, { size: "lg", className: F("m-auto w-full", o == null ? void 0 : o.button), ...n, children: "Оформить заявку" })
42
42
  ]
43
43
  }
44
44
  ), fi = {
@@ -163,31 +163,31 @@ var Ue = "Tabs", [Yn, pi] = jn(Ue, [
163
163
  value: n,
164
164
  onValueChange: r,
165
165
  defaultValue: i,
166
- orientation: s = "horizontal",
166
+ orientation: l = "horizontal",
167
167
  dir: u,
168
- activationMode: l = "automatic",
168
+ activationMode: s = "automatic",
169
169
  ...a
170
- } = e, d = Nn(u), [f, g] = Tn({
170
+ } = e, d = Tn(u), [f, g] = Nn({
171
171
  prop: n,
172
172
  onChange: r,
173
173
  defaultProp: i ?? "",
174
174
  caller: Ue
175
175
  });
176
- return /* @__PURE__ */ w.jsx(
176
+ return /* @__PURE__ */ C.jsx(
177
177
  Zn,
178
178
  {
179
179
  scope: t,
180
180
  baseId: Hn(),
181
181
  value: f,
182
182
  onValueChange: g,
183
- orientation: s,
183
+ orientation: l,
184
184
  dir: d,
185
- activationMode: l,
186
- children: /* @__PURE__ */ w.jsx(
187
- ke.div,
185
+ activationMode: s,
186
+ children: /* @__PURE__ */ C.jsx(
187
+ Be.div,
188
188
  {
189
189
  dir: d,
190
- "data-orientation": s,
190
+ "data-orientation": l,
191
191
  ...a,
192
192
  ref: o
193
193
  }
@@ -199,17 +199,17 @@ var Ue = "Tabs", [Yn, pi] = jn(Ue, [
199
199
  Yt.displayName = Ue;
200
200
  var Zt = "TabsList", en = ce.forwardRef(
201
201
  (e, o) => {
202
- const { __scopeTabs: t, loop: n = !0, ...r } = e, i = St(Zt, t), s = Jt(t);
203
- return /* @__PURE__ */ w.jsx(
202
+ const { __scopeTabs: t, loop: n = !0, ...r } = e, i = St(Zt, t), l = Jt(t);
203
+ return /* @__PURE__ */ C.jsx(
204
204
  Gn,
205
205
  {
206
206
  asChild: !0,
207
- ...s,
207
+ ...l,
208
208
  orientation: i.orientation,
209
209
  dir: i.dir,
210
210
  loop: n,
211
- children: /* @__PURE__ */ w.jsx(
212
- ke.div,
211
+ children: /* @__PURE__ */ C.jsx(
212
+ Be.div,
213
213
  {
214
214
  role: "tablist",
215
215
  "aria-orientation": i.orientation,
@@ -224,16 +224,16 @@ var Zt = "TabsList", en = ce.forwardRef(
224
224
  en.displayName = Zt;
225
225
  var tn = "TabsTrigger", nn = ce.forwardRef(
226
226
  (e, o) => {
227
- const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, s = St(tn, t), u = Jt(t), l = sn(s.baseId, n), a = ln(s.baseId, n), d = n === s.value;
228
- return /* @__PURE__ */ w.jsx(
227
+ const { __scopeTabs: t, value: n, disabled: r = !1, ...i } = e, l = St(tn, t), u = Jt(t), s = ln(l.baseId, n), a = sn(l.baseId, n), d = n === l.value;
228
+ return /* @__PURE__ */ C.jsx(
229
229
  zn,
230
230
  {
231
231
  asChild: !0,
232
232
  ...u,
233
233
  focusable: !r,
234
234
  active: d,
235
- children: /* @__PURE__ */ w.jsx(
236
- ke.button,
235
+ children: /* @__PURE__ */ C.jsx(
236
+ Be.button,
237
237
  {
238
238
  type: "button",
239
239
  role: "tab",
@@ -242,18 +242,18 @@ var tn = "TabsTrigger", nn = ce.forwardRef(
242
242
  "data-state": d ? "active" : "inactive",
243
243
  "data-disabled": r ? "" : void 0,
244
244
  disabled: r,
245
- id: l,
245
+ id: s,
246
246
  ...i,
247
247
  ref: o,
248
248
  onMouseDown: et(e.onMouseDown, (f) => {
249
- !r && f.button === 0 && f.ctrlKey === !1 ? s.onValueChange(n) : f.preventDefault();
249
+ !r && f.button === 0 && f.ctrlKey === !1 ? l.onValueChange(n) : f.preventDefault();
250
250
  }),
251
251
  onKeyDown: et(e.onKeyDown, (f) => {
252
- [" ", "Enter"].includes(f.key) && s.onValueChange(n);
252
+ [" ", "Enter"].includes(f.key) && l.onValueChange(n);
253
253
  }),
254
254
  onFocus: et(e.onFocus, () => {
255
- const f = s.activationMode !== "manual";
256
- !d && !r && f && s.onValueChange(n);
255
+ const f = l.activationMode !== "manual";
256
+ !d && !r && f && l.onValueChange(n);
257
257
  })
258
258
  }
259
259
  )
@@ -264,21 +264,21 @@ var tn = "TabsTrigger", nn = ce.forwardRef(
264
264
  nn.displayName = tn;
265
265
  var on = "TabsContent", rn = ce.forwardRef(
266
266
  (e, o) => {
267
- const { __scopeTabs: t, value: n, forceMount: r, children: i, ...s } = e, u = St(on, t), l = sn(u.baseId, n), a = ln(u.baseId, n), d = n === u.value, f = ce.useRef(d);
267
+ const { __scopeTabs: t, value: n, forceMount: r, children: i, ...l } = e, u = St(on, t), s = ln(u.baseId, n), a = sn(u.baseId, n), d = n === u.value, f = ce.useRef(d);
268
268
  return ce.useEffect(() => {
269
269
  const g = requestAnimationFrame(() => f.current = !1);
270
270
  return () => cancelAnimationFrame(g);
271
- }, []), /* @__PURE__ */ w.jsx(Bn, { present: r || d, children: ({ present: g }) => /* @__PURE__ */ w.jsx(
272
- ke.div,
271
+ }, []), /* @__PURE__ */ C.jsx(kn, { present: r || d, children: ({ present: g }) => /* @__PURE__ */ C.jsx(
272
+ Be.div,
273
273
  {
274
274
  "data-state": d ? "active" : "inactive",
275
275
  "data-orientation": u.orientation,
276
276
  role: "tabpanel",
277
- "aria-labelledby": l,
277
+ "aria-labelledby": s,
278
278
  hidden: !g,
279
279
  id: a,
280
280
  tabIndex: 0,
281
- ...s,
281
+ ...l,
282
282
  ref: o,
283
283
  style: {
284
284
  ...e.style,
@@ -290,16 +290,16 @@ var on = "TabsContent", rn = ce.forwardRef(
290
290
  }
291
291
  );
292
292
  rn.displayName = on;
293
- function sn(e, o) {
293
+ function ln(e, o) {
294
294
  return `${e}-trigger-${o}`;
295
295
  }
296
- function ln(e, o) {
296
+ function sn(e, o) {
297
297
  return `${e}-content-${o}`;
298
298
  }
299
- var eo = Yt, to = en, no = nn, Tt = rn;
300
- const oo = ({ classes: e, contents: o }) => /* @__PURE__ */ w.jsx("div", { className: F("flex flex-col gap-4", e == null ? void 0 : e.contentsWrapper), children: o == null ? void 0 : o.map(({ id: t, body: n, accordion: r }) => r && (r != null && r.title) ? /* @__PURE__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ w.jsx(kn, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ w.jsx(Tt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: n }, t)) }), mi = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
299
+ var eo = Yt, to = en, no = nn, Nt = rn;
300
+ const oo = ({ classes: e, contents: o }) => /* @__PURE__ */ C.jsx("div", { className: F("flex flex-col gap-4", e == null ? void 0 : e.contentsWrapper), children: o == null ? void 0 : o.map(({ id: t, body: n, accordion: r }) => r && (r != null && r.title) ? /* @__PURE__ */ C.jsx(Nt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: /* @__PURE__ */ C.jsx(Bn, { label: r == null ? void 0 : r.title, children: n }) }, t) : /* @__PURE__ */ C.jsx(Nt, { value: t, className: F("py-8", e == null ? void 0 : e.content), children: n }, t)) }), mi = ({ renderContent: e, defaultActiveTabId: o = "1", value: t, onChangeTab: n, classes: r }) => {
301
301
  var i;
302
- return /* @__PURE__ */ w.jsxs(
302
+ return /* @__PURE__ */ C.jsxs(
303
303
  eo,
304
304
  {
305
305
  value: t,
@@ -307,39 +307,39 @@ const oo = ({ classes: e, contents: o }) => /* @__PURE__ */ w.jsx("div", { class
307
307
  defaultValue: o,
308
308
  className: F("flex flex-col", r == null ? void 0 : r.root),
309
309
  children: [
310
- /* @__PURE__ */ w.jsx(to, { className: F("flex items-center gap-4", r == null ? void 0 : r.list), children: (i = e == null ? void 0 : e.triggers) == null ? void 0 : i.map(({ id: s, label: u }) => /* @__PURE__ */ w.jsx(
310
+ /* @__PURE__ */ C.jsx(to, { className: F("flex items-center gap-4", r == null ? void 0 : r.list), children: (i = e == null ? void 0 : e.triggers) == null ? void 0 : i.map(({ id: l, label: u }) => /* @__PURE__ */ C.jsx(
311
311
  no,
312
312
  {
313
- value: s,
313
+ value: l,
314
314
  className: F(
315
315
  'desk-body-regular-l cursor-pointer rounded-sm bg-color-blue-grey-100 px-4 py-2 text-color-secondary outline outline-2 outline-offset-2 outline-transparent transition-colors hover:bg-color-blue-grey-200 hover:text-color-secondary data-[state="active"]:!bg-color-primary-default data-[state="active"]:!text-color-white',
316
316
  r == null ? void 0 : r.trigger
317
317
  ),
318
318
  children: u
319
319
  },
320
- s
320
+ l
321
321
  )) }),
322
- /* @__PURE__ */ w.jsx(oo, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
322
+ /* @__PURE__ */ C.jsx(oo, { contents: e == null ? void 0 : e.contents, classes: r == null ? void 0 : r.tabContent })
323
323
  ]
324
324
  }
325
325
  );
326
- }, un = Q((e, o) => /* @__PURE__ */ w.jsx("table", { ref: o, ...e }));
326
+ }, un = Q((e, o) => /* @__PURE__ */ C.jsx("table", { ref: o, ...e }));
327
327
  un.displayName = "Table";
328
- const an = Q((e, o) => /* @__PURE__ */ w.jsx("thead", { ref: o, ...e }));
328
+ const an = Q((e, o) => /* @__PURE__ */ C.jsx("thead", { ref: o, ...e }));
329
329
  an.displayName = "TableHeader";
330
- const cn = Q((e, o) => /* @__PURE__ */ w.jsx("tbody", { ref: o, ...e }));
330
+ const cn = Q((e, o) => /* @__PURE__ */ C.jsx("tbody", { ref: o, ...e }));
331
331
  cn.displayName = "TableBody";
332
- const ro = Q((e, o) => /* @__PURE__ */ w.jsx("tfoot", { ref: o, ...e }));
332
+ const ro = Q((e, o) => /* @__PURE__ */ C.jsx("tfoot", { ref: o, ...e }));
333
333
  ro.displayName = "TableFooter";
334
- const Te = Q((e, o) => /* @__PURE__ */ w.jsx("tr", { ref: o, ...e }));
334
+ const Te = Q((e, o) => /* @__PURE__ */ C.jsx("tr", { ref: o, ...e }));
335
335
  Te.displayName = "TableRow";
336
- const dn = Q((e, o) => /* @__PURE__ */ w.jsx("th", { ref: o, ...e }));
336
+ const dn = Q((e, o) => /* @__PURE__ */ C.jsx("th", { ref: o, ...e }));
337
337
  dn.displayName = "TableHead";
338
- const ut = Q((e, o) => /* @__PURE__ */ w.jsx("td", { ref: o, ...e }));
338
+ const ut = Q((e, o) => /* @__PURE__ */ C.jsx("td", { ref: o, ...e }));
339
339
  ut.displayName = "TableCell";
340
- const io = Q((e, o) => /* @__PURE__ */ w.jsx("caption", { ref: o, ...e }));
340
+ const io = Q((e, o) => /* @__PURE__ */ C.jsx("caption", { ref: o, ...e }));
341
341
  io.displayName = "TableCaption";
342
- const so = ({
342
+ const lo = ({
343
343
  children: e,
344
344
  canSort: o,
345
345
  toggleSorting: t,
@@ -347,18 +347,18 @@ const so = ({
347
347
  isSorted: r,
348
348
  classes: i
349
349
  }) => {
350
- const { root: s, content: u, icon: l } = i || {}, { isDesktop: a } = qe(), d = o && a;
351
- return /* @__PURE__ */ w.jsxs(
350
+ const { root: l, content: u, icon: s } = i || {}, { isDesktop: a } = qe(), d = o && a;
351
+ return /* @__PURE__ */ C.jsxs(
352
352
  "button",
353
353
  {
354
354
  type: "button",
355
- className: F("desk-body-regular-l flex items-center justify-center gap-x-2 text-color-secondary", s),
355
+ className: F("desk-body-regular-l flex items-center justify-center gap-x-2 text-color-secondary", l),
356
356
  onClick: () => t(!r),
357
357
  disabled: !d,
358
358
  children: [
359
- /* @__PURE__ */ w.jsx("span", { className: F("", u), children: e }),
360
- d && /* @__PURE__ */ w.jsx(
361
- be,
359
+ /* @__PURE__ */ C.jsx("span", { className: F("", u), children: e }),
360
+ d && /* @__PURE__ */ C.jsx(
361
+ Ne,
362
362
  {
363
363
  name: "arrows/arrowRight",
364
364
  className: F(
@@ -366,7 +366,7 @@ const so = ({
366
366
  {
367
367
  "-rotate-90": !n
368
368
  },
369
- l
369
+ s
370
370
  )
371
371
  }
372
372
  )
@@ -380,16 +380,16 @@ const so = ({
380
380
  target: n,
381
381
  rowIndex: r = -1
382
382
  }) => {
383
- const [i, s] = oe(!1), [u, l] = oe(o()), a = je(!1), d = je(null), { original: f } = e, g = (p) => {
384
- l(p.target.value), a.current = !0;
383
+ const [i, l] = oe(!1), [u, s] = oe(o()), a = je(!1), d = je(null), { original: f } = e, g = (p) => {
384
+ s(p.target.value), a.current = !0;
385
385
  }, c = () => {
386
386
  if (a.current) {
387
387
  const p = { ...f, [n]: u };
388
388
  t(r, p), a.current = !1;
389
389
  }
390
- s(!1);
390
+ l(!1);
391
391
  };
392
- return Wn(d, c), i ? /* @__PURE__ */ w.jsx(
392
+ return Wn(d, c), i ? /* @__PURE__ */ C.jsx(
393
393
  "input",
394
394
  {
395
395
  ref: d,
@@ -401,7 +401,7 @@ const so = ({
401
401
  p.key === "Enter" && (p.preventDefault(), c());
402
402
  }
403
403
  }
404
- ) : /* @__PURE__ */ w.jsx("p", { className: "w-full", onClick: () => s(!0), children: o() });
404
+ ) : /* @__PURE__ */ C.jsx("p", { className: "w-full", onClick: () => l(!0), children: o() });
405
405
  };
406
406
  /**
407
407
  * table-core
@@ -413,7 +413,7 @@ const so = ({
413
413
  *
414
414
  * @license MIT
415
415
  */
416
- function lo() {
416
+ function so() {
417
417
  return {
418
418
  accessor: (e, o) => typeof e == "function" ? {
419
419
  ...o,
@@ -447,8 +447,8 @@ function ao(e, o) {
447
447
  const t = [], n = (r) => {
448
448
  r.forEach((i) => {
449
449
  t.push(i);
450
- const s = o(i);
451
- s != null && s.length && n(s);
450
+ const l = o(i);
451
+ l != null && l.length && n(l);
452
452
  });
453
453
  };
454
454
  return n(e), t;
@@ -456,15 +456,15 @@ function ao(e, o) {
456
456
  function x(e, o, t) {
457
457
  let n = [], r;
458
458
  return (i) => {
459
- let s;
460
- t.key && t.debug && (s = Date.now());
459
+ let l;
460
+ t.key && t.debug && (l = Date.now());
461
461
  const u = e(i);
462
462
  if (!(u.length !== n.length || u.some((d, f) => n[f] !== d)))
463
463
  return r;
464
464
  n = u;
465
465
  let a;
466
466
  if (t.key && t.debug && (a = Date.now()), r = o(...u), t == null || t.onChange == null || t.onChange(r), t.key && t.debug && t != null && t.debug()) {
467
- const d = Math.round((Date.now() - s) * 100) / 100, f = Math.round((Date.now() - a) * 100) / 100, g = f / 16, c = (p, m) => {
467
+ const d = Math.round((Date.now() - l) * 100) / 100, f = Math.round((Date.now() - a) * 100) / 100, g = f / 16, c = (p, m) => {
468
468
  for (p = String(p); p.length < m; )
469
469
  p = " " + p;
470
470
  return p;
@@ -489,25 +489,25 @@ function y(e, o, t, n) {
489
489
  }
490
490
  function co(e, o, t, n) {
491
491
  const r = () => {
492
- var s;
493
- return (s = i.getValue()) != null ? s : e.options.renderFallbackValue;
492
+ var l;
493
+ return (l = i.getValue()) != null ? l : e.options.renderFallbackValue;
494
494
  }, i = {
495
495
  id: `${o.id}_${t.id}`,
496
496
  row: o,
497
497
  column: t,
498
498
  getValue: () => o.getValue(n),
499
499
  renderValue: r,
500
- getContext: x(() => [e, t, o, i], (s, u, l, a) => ({
501
- table: s,
500
+ getContext: x(() => [e, t, o, i], (l, u, s, a) => ({
501
+ table: l,
502
502
  column: u,
503
- row: l,
503
+ row: s,
504
504
  cell: a,
505
505
  getValue: a.getValue,
506
506
  renderValue: a.renderValue
507
507
  }), y(e.options, "debugCells", "cell.getContext"))
508
508
  };
509
- return e._features.forEach((s) => {
510
- s.createCell == null || s.createCell(i, t, o, e);
509
+ return e._features.forEach((l) => {
510
+ l.createCell == null || l.createCell(i, t, o, e);
511
511
  }, {}), i;
512
512
  }
513
513
  function go(e, o, t, n) {
@@ -515,13 +515,13 @@ function go(e, o, t, n) {
515
515
  const u = {
516
516
  ...e._getDefaultColumnDef(),
517
517
  ...o
518
- }, l = u.accessorKey;
519
- let a = (r = (i = u.id) != null ? i : l ? typeof String.prototype.replaceAll == "function" ? l.replaceAll(".", "_") : l.replace(/\./g, "_") : void 0) != null ? r : typeof u.header == "string" ? u.header : void 0, d;
520
- if (u.accessorFn ? d = u.accessorFn : l && (l.includes(".") ? d = (g) => {
518
+ }, s = u.accessorKey;
519
+ let a = (r = (i = u.id) != null ? i : s ? typeof String.prototype.replaceAll == "function" ? s.replaceAll(".", "_") : s.replace(/\./g, "_") : void 0) != null ? r : typeof u.header == "string" ? u.header : void 0, d;
520
+ if (u.accessorFn ? d = u.accessorFn : s && (s.includes(".") ? d = (g) => {
521
521
  let c = g;
522
- for (const m of l.split(".")) {
522
+ for (const m of s.split(".")) {
523
523
  var p;
524
- c = (p = c) == null ? void 0 : p[m], process.env.NODE_ENV !== "production" && c === void 0 && console.warn(`"${m}" in deeply nested key "${l}" returned undefined.`);
524
+ c = (p = c) == null ? void 0 : p[m], process.env.NODE_ENV !== "production" && c === void 0 && console.warn(`"${m}" in deeply nested key "${s}" returned undefined.`);
525
525
  }
526
526
  return c;
527
527
  } : d = (g) => g[u.accessorKey]), !a)
@@ -565,10 +565,10 @@ function jt(e, o, t) {
565
565
  rowSpan: 0,
566
566
  headerGroup: null,
567
567
  getLeafHeaders: () => {
568
- const s = [], u = (l) => {
569
- l.subHeaders && l.subHeaders.length && l.subHeaders.map(u), s.push(l);
568
+ const l = [], u = (s) => {
569
+ s.subHeaders && s.subHeaders.length && s.subHeaders.map(u), l.push(s);
570
570
  };
571
- return u(i), s;
571
+ return u(i), l;
572
572
  },
573
573
  getContext: () => ({
574
574
  table: e,
@@ -576,24 +576,24 @@ function jt(e, o, t) {
576
576
  column: o
577
577
  })
578
578
  };
579
- return e._features.forEach((s) => {
580
- s.createHeader == null || s.createHeader(i, e);
579
+ return e._features.forEach((l) => {
580
+ l.createHeader == null || l.createHeader(i, e);
581
581
  }), i;
582
582
  }
583
583
  const fo = {
584
584
  createTable: (e) => {
585
585
  e.getHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => {
586
- var i, s;
587
- const u = (i = n == null ? void 0 : n.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? i : [], l = (s = r == null ? void 0 : r.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? s : [], a = t.filter((f) => !(n != null && n.includes(f.id)) && !(r != null && r.includes(f.id)));
588
- return Oe(o, [...u, ...a, ...l], e);
589
- }, y(e.options, H, "getHeaderGroups")), e.getCenterHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => (t = t.filter((i) => !(n != null && n.includes(i.id)) && !(r != null && r.includes(i.id))), Oe(o, t, e, "center")), y(e.options, H, "getCenterHeaderGroups")), e.getLeftHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
586
+ var i, l;
587
+ const u = (i = n == null ? void 0 : n.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? i : [], s = (l = r == null ? void 0 : r.map((f) => t.find((g) => g.id === f)).filter(Boolean)) != null ? l : [], a = t.filter((f) => !(n != null && n.includes(f.id)) && !(r != null && r.includes(f.id)));
588
+ return Le(o, [...u, ...a, ...s], e);
589
+ }, y(e.options, H, "getHeaderGroups")), e.getCenterHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (o, t, n, r) => (t = t.filter((i) => !(n != null && n.includes(i.id)) && !(r != null && r.includes(i.id))), Le(o, t, e, "center")), y(e.options, H, "getCenterHeaderGroups")), e.getLeftHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left], (o, t, n) => {
590
590
  var r;
591
- const i = (r = n == null ? void 0 : n.map((s) => t.find((u) => u.id === s)).filter(Boolean)) != null ? r : [];
592
- return Oe(o, i, e, "left");
591
+ const i = (r = n == null ? void 0 : n.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
592
+ return Le(o, i, e, "left");
593
593
  }, y(e.options, H, "getLeftHeaderGroups")), e.getRightHeaderGroups = x(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.right], (o, t, n) => {
594
594
  var r;
595
- const i = (r = n == null ? void 0 : n.map((s) => t.find((u) => u.id === s)).filter(Boolean)) != null ? r : [];
596
- return Oe(o, i, e, "right");
595
+ const i = (r = n == null ? void 0 : n.map((l) => t.find((u) => u.id === l)).filter(Boolean)) != null ? r : [];
596
+ return Le(o, i, e, "right");
597
597
  }, y(e.options, H, "getRightHeaderGroups")), e.getFooterGroups = x(() => [e.getHeaderGroups()], (o) => [...o].reverse(), y(e.options, H, "getFooterGroups")), e.getLeftFooterGroups = x(() => [e.getLeftHeaderGroups()], (o) => [...o].reverse(), y(e.options, H, "getLeftFooterGroups")), e.getCenterFooterGroups = x(() => [e.getCenterHeaderGroups()], (o) => [...o].reverse(), y(e.options, H, "getCenterFooterGroups")), e.getRightFooterGroups = x(() => [e.getRightHeaderGroups()], (o) => [...o].reverse(), y(e.options, H, "getRightFooterGroups")), e.getFlatHeaders = x(() => [e.getHeaderGroups()], (o) => o.map((t) => t.headers).flat(), y(e.options, H, "getFlatHeaders")), e.getLeftFlatHeaders = x(() => [e.getLeftHeaderGroups()], (o) => o.map((t) => t.headers).flat(), y(e.options, H, "getLeftFlatHeaders")), e.getCenterFlatHeaders = x(() => [e.getCenterHeaderGroups()], (o) => o.map((t) => t.headers).flat(), y(e.options, H, "getCenterFlatHeaders")), e.getRightFlatHeaders = x(() => [e.getRightHeaderGroups()], (o) => o.map((t) => t.headers).flat(), y(e.options, H, "getRightFlatHeaders")), e.getCenterLeafHeaders = x(() => [e.getCenterFlatHeaders()], (o) => o.filter((t) => {
598
598
  var n;
599
599
  return !((n = t.subHeaders) != null && n.length);
@@ -604,22 +604,22 @@ const fo = {
604
604
  var n;
605
605
  return !((n = t.subHeaders) != null && n.length);
606
606
  }), y(e.options, H, "getRightLeafHeaders")), e.getLeafHeaders = x(() => [e.getLeftHeaderGroups(), e.getCenterHeaderGroups(), e.getRightHeaderGroups()], (o, t, n) => {
607
- var r, i, s, u, l, a;
608
- return [...(r = (i = o[0]) == null ? void 0 : i.headers) != null ? r : [], ...(s = (u = t[0]) == null ? void 0 : u.headers) != null ? s : [], ...(l = (a = n[0]) == null ? void 0 : a.headers) != null ? l : []].map((d) => d.getLeafHeaders()).flat();
607
+ var r, i, l, u, s, a;
608
+ return [...(r = (i = o[0]) == null ? void 0 : i.headers) != null ? r : [], ...(l = (u = t[0]) == null ? void 0 : u.headers) != null ? l : [], ...(s = (a = n[0]) == null ? void 0 : a.headers) != null ? s : []].map((d) => d.getLeafHeaders()).flat();
609
609
  }, y(e.options, H, "getLeafHeaders"));
610
610
  }
611
611
  };
612
- function Oe(e, o, t, n) {
612
+ function Le(e, o, t, n) {
613
613
  var r, i;
614
- let s = 0;
614
+ let l = 0;
615
615
  const u = function(g, c) {
616
- c === void 0 && (c = 1), s = Math.max(s, c), g.filter((p) => p.getIsVisible()).forEach((p) => {
616
+ c === void 0 && (c = 1), l = Math.max(l, c), g.filter((p) => p.getIsVisible()).forEach((p) => {
617
617
  var m;
618
618
  (m = p.columns) != null && m.length && u(p.columns, c + 1);
619
619
  }, 0);
620
620
  };
621
621
  u(e);
622
- let l = [];
622
+ let s = [];
623
623
  const a = (g, c) => {
624
624
  const p = {
625
625
  depth: c,
@@ -627,9 +627,9 @@ function Oe(e, o, t, n) {
627
627
  headers: []
628
628
  }, m = [];
629
629
  g.forEach((S) => {
630
- const h = [...m].reverse()[0], C = S.column.depth === p.depth;
630
+ const h = [...m].reverse()[0], w = S.column.depth === p.depth;
631
631
  let v, _ = !1;
632
- if (C && S.column.parent ? v = S.column.parent : (v = S.column, _ = !0), h && (h == null ? void 0 : h.column) === v)
632
+ if (w && S.column.parent ? v = S.column.parent : (v = S.column, _ = !0), h && (h == null ? void 0 : h.column) === v)
633
633
  h.subHeaders.push(S);
634
634
  else {
635
635
  const I = jt(t, v, {
@@ -642,12 +642,12 @@ function Oe(e, o, t, n) {
642
642
  I.subHeaders.push(S), m.push(I);
643
643
  }
644
644
  p.headers.push(S), S.headerGroup = p;
645
- }), l.push(p), c > 0 && a(m, c - 1);
645
+ }), s.push(p), c > 0 && a(m, c - 1);
646
646
  }, d = o.map((g, c) => jt(t, g, {
647
- depth: s,
647
+ depth: l,
648
648
  index: c
649
649
  }));
650
- a(d, s - 1), l.reverse();
650
+ a(d, l - 1), s.reverse();
651
651
  const f = (g) => g.filter((p) => p.column.getIsVisible()).map((p) => {
652
652
  let m = 0, S = 0, h = [0];
653
653
  p.subHeaders && p.subHeaders.length ? (h = [], f(p.subHeaders).forEach((v) => {
@@ -657,58 +657,58 @@ function Oe(e, o, t, n) {
657
657
  } = v;
658
658
  m += _, h.push(I);
659
659
  })) : m = 1;
660
- const C = Math.min(...h);
661
- return S = S + C, p.colSpan = m, p.rowSpan = S, {
660
+ const w = Math.min(...h);
661
+ return S = S + w, p.colSpan = m, p.rowSpan = S, {
662
662
  colSpan: m,
663
663
  rowSpan: S
664
664
  };
665
665
  });
666
- return f((r = (i = l[0]) == null ? void 0 : i.headers) != null ? r : []), l;
666
+ return f((r = (i = s[0]) == null ? void 0 : i.headers) != null ? r : []), s;
667
667
  }
668
- const wt = (e, o, t, n, r, i, s) => {
668
+ const wt = (e, o, t, n, r, i, l) => {
669
669
  let u = {
670
670
  id: o,
671
671
  index: n,
672
672
  original: t,
673
673
  depth: r,
674
- parentId: s,
674
+ parentId: l,
675
675
  _valuesCache: {},
676
676
  _uniqueValuesCache: {},
677
- getValue: (l) => {
678
- if (u._valuesCache.hasOwnProperty(l))
679
- return u._valuesCache[l];
680
- const a = e.getColumn(l);
677
+ getValue: (s) => {
678
+ if (u._valuesCache.hasOwnProperty(s))
679
+ return u._valuesCache[s];
680
+ const a = e.getColumn(s);
681
681
  if (a != null && a.accessorFn)
682
- return u._valuesCache[l] = a.accessorFn(u.original, n), u._valuesCache[l];
682
+ return u._valuesCache[s] = a.accessorFn(u.original, n), u._valuesCache[s];
683
683
  },
684
- getUniqueValues: (l) => {
685
- if (u._uniqueValuesCache.hasOwnProperty(l))
686
- return u._uniqueValuesCache[l];
687
- const a = e.getColumn(l);
684
+ getUniqueValues: (s) => {
685
+ if (u._uniqueValuesCache.hasOwnProperty(s))
686
+ return u._uniqueValuesCache[s];
687
+ const a = e.getColumn(s);
688
688
  if (a != null && a.accessorFn)
689
- return a.columnDef.getUniqueValues ? (u._uniqueValuesCache[l] = a.columnDef.getUniqueValues(u.original, n), u._uniqueValuesCache[l]) : (u._uniqueValuesCache[l] = [u.getValue(l)], u._uniqueValuesCache[l]);
689
+ return a.columnDef.getUniqueValues ? (u._uniqueValuesCache[s] = a.columnDef.getUniqueValues(u.original, n), u._uniqueValuesCache[s]) : (u._uniqueValuesCache[s] = [u.getValue(s)], u._uniqueValuesCache[s]);
690
690
  },
691
- renderValue: (l) => {
691
+ renderValue: (s) => {
692
692
  var a;
693
- return (a = u.getValue(l)) != null ? a : e.options.renderFallbackValue;
693
+ return (a = u.getValue(s)) != null ? a : e.options.renderFallbackValue;
694
694
  },
695
695
  subRows: [],
696
- getLeafRows: () => ao(u.subRows, (l) => l.subRows),
696
+ getLeafRows: () => ao(u.subRows, (s) => s.subRows),
697
697
  getParentRow: () => u.parentId ? e.getRow(u.parentId, !0) : void 0,
698
698
  getParentRows: () => {
699
- let l = [], a = u;
699
+ let s = [], a = u;
700
700
  for (; ; ) {
701
701
  const d = a.getParentRow();
702
702
  if (!d) break;
703
- l.push(d), a = d;
703
+ s.push(d), a = d;
704
704
  }
705
- return l.reverse();
705
+ return s.reverse();
706
706
  },
707
- getAllCells: x(() => [e.getAllLeafColumns()], (l) => l.map((a) => co(e, u, a, a.id)), y(e.options, "debugRows", "getAllCells")),
708
- _getAllCellsByColumnId: x(() => [u.getAllCells()], (l) => l.reduce((a, d) => (a[d.column.id] = d, a), {}), y(e.options, "debugRows", "getAllCellsByColumnId"))
707
+ getAllCells: x(() => [e.getAllLeafColumns()], (s) => s.map((a) => co(e, u, a, a.id)), y(e.options, "debugRows", "getAllCells")),
708
+ _getAllCellsByColumnId: x(() => [u.getAllCells()], (s) => s.reduce((a, d) => (a[d.column.id] = d, a), {}), y(e.options, "debugRows", "getAllCellsByColumnId"))
709
709
  };
710
- for (let l = 0; l < e._features.length; l++) {
711
- const a = e._features[l];
710
+ for (let s = 0; s < e._features.length; s++) {
711
+ const a = e._features[s];
712
712
  a == null || a.createRow == null || a.createRow(u, e);
713
713
  }
714
714
  return u;
@@ -760,12 +760,12 @@ const Ct = (e, o, t) => {
760
760
  return i >= n && i <= r;
761
761
  };
762
762
  Ct.resolveFilterValue = (e) => {
763
- let [o, t] = e, n = typeof o != "number" ? parseFloat(o) : o, r = typeof t != "number" ? parseFloat(t) : t, i = o === null || Number.isNaN(n) ? -1 / 0 : n, s = t === null || Number.isNaN(r) ? 1 / 0 : r;
764
- if (i > s) {
763
+ let [o, t] = e, n = typeof o != "number" ? parseFloat(o) : o, r = typeof t != "number" ? parseFloat(t) : t, i = o === null || Number.isNaN(n) ? -1 / 0 : n, l = t === null || Number.isNaN(r) ? 1 / 0 : r;
764
+ if (i > l) {
765
765
  const u = i;
766
- i = s, s = u;
766
+ i = l, l = u;
767
767
  }
768
- return [i, s];
768
+ return [i, l];
769
769
  };
770
770
  Ct.autoRemove = (e) => Z(e) || Z(e[0]) && Z(e[1]);
771
771
  const ae = {
@@ -816,20 +816,20 @@ const mo = {
816
816
  return (t = (n = o.getState().columnFilters) == null ? void 0 : n.findIndex((r) => r.id === e.id)) != null ? t : -1;
817
817
  }, e.setFilterValue = (t) => {
818
818
  o.setColumnFilters((n) => {
819
- const r = e.getFilterFn(), i = n == null ? void 0 : n.find((d) => d.id === e.id), s = fe(t, i ? i.value : void 0);
820
- if (Ht(r, s, e)) {
819
+ const r = e.getFilterFn(), i = n == null ? void 0 : n.find((d) => d.id === e.id), l = fe(t, i ? i.value : void 0);
820
+ if (Ht(r, l, e)) {
821
821
  var u;
822
822
  return (u = n == null ? void 0 : n.filter((d) => d.id !== e.id)) != null ? u : [];
823
823
  }
824
- const l = {
824
+ const s = {
825
825
  id: e.id,
826
- value: s
826
+ value: l
827
827
  };
828
828
  if (i) {
829
829
  var a;
830
- return (a = n == null ? void 0 : n.map((d) => d.id === e.id ? l : d)) != null ? a : [];
830
+ return (a = n == null ? void 0 : n.map((d) => d.id === e.id ? s : d)) != null ? a : [];
831
831
  }
832
- return n != null && n.length ? [...n, l] : [l];
832
+ return n != null && n.length ? [...n, s] : [s];
833
833
  });
834
834
  };
835
835
  },
@@ -840,11 +840,11 @@ const mo = {
840
840
  e.setColumnFilters = (o) => {
841
841
  const t = e.getAllLeafColumns(), n = (r) => {
842
842
  var i;
843
- return (i = fe(o, r)) == null ? void 0 : i.filter((s) => {
844
- const u = t.find((l) => l.id === s.id);
843
+ return (i = fe(o, r)) == null ? void 0 : i.filter((l) => {
844
+ const u = t.find((s) => s.id === l.id);
845
845
  if (u) {
846
- const l = u.getFilterFn();
847
- if (Ht(l, s.value, u))
846
+ const s = u.getFilterFn();
847
+ if (Ht(s, l.value, u))
848
848
  return !1;
849
849
  }
850
850
  return !0;
@@ -878,8 +878,8 @@ const ho = (e, o, t) => t.reduce((n, r) => {
878
878
  }, Co = (e, o, t) => {
879
879
  let n, r;
880
880
  return t.forEach((i) => {
881
- const s = i.getValue(e);
882
- s != null && (n === void 0 ? s >= s && (n = r = s) : (n > s && (n = s), r < s && (r = s)));
881
+ const l = i.getValue(e);
882
+ l != null && (n === void 0 ? l >= l && (n = r = l) : (n > l && (n = l), r < l && (r = l)));
883
883
  }), [n, r];
884
884
  }, vo = (e, o) => {
885
885
  let t = 0, n = 0;
@@ -895,7 +895,7 @@ const ho = (e, o, t) => t.reduce((n, r) => {
895
895
  return;
896
896
  if (t.length === 1)
897
897
  return t[0];
898
- const n = Math.floor(t.length / 2), r = t.sort((i, s) => i - s);
898
+ const n = Math.floor(t.length / 2), r = t.sort((i, l) => i - l);
899
899
  return t.length % 2 !== 0 ? r[n] : (r[n - 1] + r[n]) / 2;
900
900
  }, xo = (e, o) => Array.from(new Set(o.map((t) => t.getValue(e))).values()), yo = (e, o) => new Set(o.map((t) => t.getValue(e))).size, Fo = (e, o) => o.length, tt = {
901
901
  sum: ho,
@@ -978,7 +978,7 @@ function Io(e, o, t) {
978
978
  if (!(o != null && o.length) || !t)
979
979
  return e;
980
980
  const n = e.filter((i) => !o.includes(i.id));
981
- return t === "remove" ? n : [...o.map((i) => e.find((s) => s.id === i)).filter(Boolean), ...n];
981
+ return t === "remove" ? n : [...o.map((i) => e.find((l) => l.id === i)).filter(Boolean), ...n];
982
982
  }
983
983
  const Mo = {
984
984
  getInitialState: (e) => ({
@@ -1007,9 +1007,9 @@ const Mo = {
1007
1007
  if (!(o != null && o.length))
1008
1008
  i = r;
1009
1009
  else {
1010
- const s = [...o], u = [...r];
1011
- for (; u.length && s.length; ) {
1012
- const l = s.shift(), a = u.findIndex((d) => d.id === l);
1010
+ const l = [...o], u = [...r];
1011
+ for (; u.length && l.length; ) {
1012
+ const s = l.shift(), a = u.findIndex((d) => d.id === s);
1013
1013
  a > -1 && i.push(u.splice(a, 1)[0]);
1014
1014
  }
1015
1015
  i = [...i, ...u];
@@ -1032,12 +1032,12 @@ const Mo = {
1032
1032
  e.pin = (t) => {
1033
1033
  const n = e.getLeafColumns().map((r) => r.id).filter(Boolean);
1034
1034
  o.setColumnPinning((r) => {
1035
- var i, s;
1035
+ var i, l;
1036
1036
  if (t === "right") {
1037
- var u, l;
1037
+ var u, s;
1038
1038
  return {
1039
1039
  left: ((u = r == null ? void 0 : r.left) != null ? u : []).filter((f) => !(n != null && n.includes(f))),
1040
- right: [...((l = r == null ? void 0 : r.right) != null ? l : []).filter((f) => !(n != null && n.includes(f))), ...n]
1040
+ right: [...((s = r == null ? void 0 : r.right) != null ? s : []).filter((f) => !(n != null && n.includes(f))), ...n]
1041
1041
  };
1042
1042
  }
1043
1043
  if (t === "left") {
@@ -1049,18 +1049,18 @@ const Mo = {
1049
1049
  }
1050
1050
  return {
1051
1051
  left: ((i = r == null ? void 0 : r.left) != null ? i : []).filter((f) => !(n != null && n.includes(f))),
1052
- right: ((s = r == null ? void 0 : r.right) != null ? s : []).filter((f) => !(n != null && n.includes(f)))
1052
+ right: ((l = r == null ? void 0 : r.right) != null ? l : []).filter((f) => !(n != null && n.includes(f)))
1053
1053
  };
1054
1054
  });
1055
1055
  }, e.getCanPin = () => e.getLeafColumns().some((n) => {
1056
- var r, i, s;
1057
- return ((r = n.columnDef.enablePinning) != null ? r : !0) && ((i = (s = o.options.enableColumnPinning) != null ? s : o.options.enablePinning) != null ? i : !0);
1056
+ var r, i, l;
1057
+ return ((r = n.columnDef.enablePinning) != null ? r : !0) && ((i = (l = o.options.enableColumnPinning) != null ? l : o.options.enablePinning) != null ? i : !0);
1058
1058
  }), e.getIsPinned = () => {
1059
1059
  const t = e.getLeafColumns().map((u) => u.id), {
1060
1060
  left: n,
1061
1061
  right: r
1062
- } = o.getState().columnPinning, i = t.some((u) => n == null ? void 0 : n.includes(u)), s = t.some((u) => r == null ? void 0 : r.includes(u));
1063
- return i ? "left" : s ? "right" : !1;
1062
+ } = o.getState().columnPinning, i = t.some((u) => n == null ? void 0 : n.includes(u)), l = t.some((u) => r == null ? void 0 : r.includes(u));
1063
+ return i ? "left" : l ? "right" : !1;
1064
1064
  }, e.getPinnedIndex = () => {
1065
1065
  var t, n;
1066
1066
  const r = e.getIsPinned();
@@ -1070,11 +1070,11 @@ const Mo = {
1070
1070
  createRow: (e, o) => {
1071
1071
  e.getCenterVisibleCells = x(() => [e._getAllVisibleCells(), o.getState().columnPinning.left, o.getState().columnPinning.right], (t, n, r) => {
1072
1072
  const i = [...n ?? [], ...r ?? []];
1073
- return t.filter((s) => !i.includes(s.column.id));
1074
- }, y(o.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = x(() => [e._getAllVisibleCells(), o.getState().columnPinning.left], (t, n) => (n ?? []).map((i) => t.find((s) => s.column.id === i)).filter(Boolean).map((i) => ({
1073
+ return t.filter((l) => !i.includes(l.column.id));
1074
+ }, y(o.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = x(() => [e._getAllVisibleCells(), o.getState().columnPinning.left], (t, n) => (n ?? []).map((i) => t.find((l) => l.column.id === i)).filter(Boolean).map((i) => ({
1075
1075
  ...i,
1076
1076
  position: "left"
1077
- })), y(o.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = x(() => [e._getAllVisibleCells(), o.getState().columnPinning.right], (t, n) => (n ?? []).map((i) => t.find((s) => s.column.id === i)).filter(Boolean).map((i) => ({
1077
+ })), y(o.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = x(() => [e._getAllVisibleCells(), o.getState().columnPinning.right], (t, n) => (n ?? []).map((i) => t.find((l) => l.column.id === i)).filter(Boolean).map((i) => ({
1078
1078
  ...i,
1079
1079
  position: "right"
1080
1080
  })), y(o.options, "debugRows", "getRightVisibleCells"));
@@ -1097,10 +1097,10 @@ const Mo = {
1097
1097
  }, y(e.options, "debugColumns", "getCenterLeafColumns"));
1098
1098
  }
1099
1099
  };
1100
- function bo(e) {
1100
+ function Po(e) {
1101
1101
  return e || (typeof document < "u" ? document : null);
1102
1102
  }
1103
- const Ae = {
1103
+ const Oe = {
1104
1104
  size: 150,
1105
1105
  minSize: 20,
1106
1106
  maxSize: Number.MAX_SAFE_INTEGER
@@ -1111,8 +1111,8 @@ const Ae = {
1111
1111
  deltaPercentage: null,
1112
1112
  isResizingColumn: !1,
1113
1113
  columnSizingStart: []
1114
- }), Po = {
1115
- getDefaultColumnDef: () => Ae,
1114
+ }), $o = {
1115
+ getDefaultColumnDef: () => Oe,
1116
1116
  getInitialState: (e) => ({
1117
1117
  columnSizing: {},
1118
1118
  columnSizingInfo: ot(),
@@ -1128,7 +1128,7 @@ const Ae = {
1128
1128
  e.getSize = () => {
1129
1129
  var t, n, r;
1130
1130
  const i = o.getState().columnSizing[e.id];
1131
- return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : Ae.minSize, (n = i ?? e.columnDef.size) != null ? n : Ae.size), (r = e.columnDef.maxSize) != null ? r : Ae.maxSize);
1131
+ return Math.min(Math.max((t = e.columnDef.minSize) != null ? t : Oe.minSize, (n = i ?? e.columnDef.size) != null ? n : Oe.size), (r = e.columnDef.maxSize) != null ? r : Oe.maxSize);
1132
1132
  }, e.getStart = x((t) => [t, Me(o, t), o.getState().columnSizing], (t, n) => n.slice(0, e.getIndex(t)).reduce((r, i) => r + i.getSize(), 0), y(o.options, "debugColumns", "getStart")), e.getAfter = x((t) => [t, Me(o, t), o.getState().columnSizing], (t, n) => n.slice(e.getIndex(t) + 1).reduce((r, i) => r + i.getSize(), 0), y(o.options, "debugColumns", "getAfter")), e.resetSize = () => {
1133
1133
  o.setColumnSizing((t) => {
1134
1134
  let {
@@ -1165,25 +1165,25 @@ const Ae = {
1165
1165
  return (i) => {
1166
1166
  if (!n || !r || (i.persist == null || i.persist(), rt(i) && i.touches && i.touches.length > 1))
1167
1167
  return;
1168
- const s = e.getSize(), u = e ? e.getLeafHeaders().map((h) => [h.column.id, h.column.getSize()]) : [[n.id, n.getSize()]], l = rt(i) ? Math.round(i.touches[0].clientX) : i.clientX, a = {}, d = (h, C) => {
1169
- typeof C == "number" && (o.setColumnSizingInfo((v) => {
1168
+ const l = e.getSize(), u = e ? e.getLeafHeaders().map((h) => [h.column.id, h.column.getSize()]) : [[n.id, n.getSize()]], s = rt(i) ? Math.round(i.touches[0].clientX) : i.clientX, a = {}, d = (h, w) => {
1169
+ typeof w == "number" && (o.setColumnSizingInfo((v) => {
1170
1170
  var _, I;
1171
- const V = o.options.columnResizeDirection === "rtl" ? -1 : 1, M = (C - ((_ = v == null ? void 0 : v.startOffset) != null ? _ : 0)) * V, b = Math.max(M / ((I = v == null ? void 0 : v.startSize) != null ? I : 0), -0.999999);
1172
- return v.columnSizingStart.forEach((P) => {
1173
- let [L, $] = P;
1174
- a[L] = Math.round(Math.max($ + $ * b, 0) * 100) / 100;
1171
+ const V = o.options.columnResizeDirection === "rtl" ? -1 : 1, M = (w - ((_ = v == null ? void 0 : v.startOffset) != null ? _ : 0)) * V, P = Math.max(M / ((I = v == null ? void 0 : v.startSize) != null ? I : 0), -0.999999);
1172
+ return v.columnSizingStart.forEach(($) => {
1173
+ let [L, b] = $;
1174
+ a[L] = Math.round(Math.max(b + b * P, 0) * 100) / 100;
1175
1175
  }), {
1176
1176
  ...v,
1177
1177
  deltaOffset: M,
1178
- deltaPercentage: b
1178
+ deltaPercentage: P
1179
1179
  };
1180
1180
  }), (o.options.columnResizeMode === "onChange" || h === "end") && o.setColumnSizing((v) => ({
1181
1181
  ...v,
1182
1182
  ...a
1183
1183
  })));
1184
1184
  }, f = (h) => d("move", h), g = (h) => {
1185
- d("end", h), o.setColumnSizingInfo((C) => ({
1186
- ...C,
1185
+ d("end", h), o.setColumnSizingInfo((w) => ({
1186
+ ...w,
1187
1187
  isResizingColumn: !1,
1188
1188
  startOffset: null,
1189
1189
  startSize: null,
@@ -1191,7 +1191,7 @@ const Ae = {
1191
1191
  deltaPercentage: null,
1192
1192
  columnSizingStart: []
1193
1193
  }));
1194
- }, c = bo(t), p = {
1194
+ }, c = Po(t), p = {
1195
1195
  moveHandler: (h) => f(h.clientX),
1196
1196
  upHandler: (h) => {
1197
1197
  c == null || c.removeEventListener("mousemove", p.moveHandler), c == null || c.removeEventListener("mouseup", p.upHandler), g(h.clientX);
@@ -1199,16 +1199,16 @@ const Ae = {
1199
1199
  }, m = {
1200
1200
  moveHandler: (h) => (h.cancelable && (h.preventDefault(), h.stopPropagation()), f(h.touches[0].clientX), !1),
1201
1201
  upHandler: (h) => {
1202
- var C;
1203
- c == null || c.removeEventListener("touchmove", m.moveHandler), c == null || c.removeEventListener("touchend", m.upHandler), h.cancelable && (h.preventDefault(), h.stopPropagation()), g((C = h.touches[0]) == null ? void 0 : C.clientX);
1202
+ var w;
1203
+ c == null || c.removeEventListener("touchmove", m.moveHandler), c == null || c.removeEventListener("touchend", m.upHandler), h.cancelable && (h.preventDefault(), h.stopPropagation()), g((w = h.touches[0]) == null ? void 0 : w.clientX);
1204
1204
  }
1205
- }, S = $o() ? {
1205
+ }, S = bo() ? {
1206
1206
  passive: !1
1207
1207
  } : !1;
1208
1208
  rt(i) ? (c == null || c.addEventListener("touchmove", m.moveHandler, S), c == null || c.addEventListener("touchend", m.upHandler, S)) : (c == null || c.addEventListener("mousemove", p.moveHandler, S), c == null || c.addEventListener("mouseup", p.upHandler, S)), o.setColumnSizingInfo((h) => ({
1209
1209
  ...h,
1210
- startOffset: l,
1211
- startSize: s,
1210
+ startOffset: s,
1211
+ startSize: l,
1212
1212
  deltaOffset: 0,
1213
1213
  deltaPercentage: 0,
1214
1214
  columnSizingStart: u,
@@ -1239,9 +1239,9 @@ const Ae = {
1239
1239
  };
1240
1240
  }
1241
1241
  };
1242
- let Ne = null;
1243
- function $o() {
1244
- if (typeof Ne == "boolean") return Ne;
1242
+ let Ae = null;
1243
+ function bo() {
1244
+ if (typeof Ae == "boolean") return Ae;
1245
1245
  let e = !1;
1246
1246
  try {
1247
1247
  const o = {
@@ -1254,7 +1254,7 @@ function $o() {
1254
1254
  } catch {
1255
1255
  e = !1;
1256
1256
  }
1257
- return Ne = e, Ne;
1257
+ return Ae = e, Ae;
1258
1258
  }
1259
1259
  function rt(e) {
1260
1260
  return e.type === "touchstart";
@@ -1388,8 +1388,8 @@ const Do = {
1388
1388
  }, e.getExpandedDepth = () => {
1389
1389
  let n = 0;
1390
1390
  return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((i) => {
1391
- const s = i.split(".");
1392
- n = Math.max(n, s.length);
1391
+ const l = i.split(".");
1392
+ n = Math.max(n, l.length);
1393
1393
  }), n;
1394
1394
  }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());
1395
1395
  },
@@ -1398,20 +1398,20 @@ const Do = {
1398
1398
  o.setExpanded((n) => {
1399
1399
  var r;
1400
1400
  const i = n === !0 ? !0 : !!(n != null && n[e.id]);
1401
- let s = {};
1401
+ let l = {};
1402
1402
  if (n === !0 ? Object.keys(o.getRowModel().rowsById).forEach((u) => {
1403
- s[u] = !0;
1404
- }) : s = n, t = (r = t) != null ? r : !i, !i && t)
1403
+ l[u] = !0;
1404
+ }) : l = n, t = (r = t) != null ? r : !i, !i && t)
1405
1405
  return {
1406
- ...s,
1406
+ ...l,
1407
1407
  [e.id]: !0
1408
1408
  };
1409
1409
  if (i && !t) {
1410
1410
  const {
1411
1411
  [e.id]: u,
1412
- ...l
1413
- } = s;
1414
- return l;
1412
+ ...s
1413
+ } = l;
1414
+ return s;
1415
1415
  }
1416
1416
  return n;
1417
1417
  });
@@ -1473,8 +1473,8 @@ const Do = {
1473
1473
  }, e.setPageIndex = (n) => {
1474
1474
  e.setPagination((r) => {
1475
1475
  let i = fe(n, r.pageIndex);
1476
- const s = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
1477
- return i = Math.max(0, Math.min(i, s)), {
1476
+ const l = typeof e.options.pageCount > "u" || e.options.pageCount === -1 ? Number.MAX_SAFE_INTEGER : e.options.pageCount - 1;
1477
+ return i = Math.max(0, Math.min(i, l)), {
1478
1478
  ...r,
1479
1479
  pageIndex: i
1480
1480
  };
@@ -1487,7 +1487,7 @@ const Do = {
1487
1487
  e.setPageSize(n ? ct : (r = (i = e.initialState) == null || (i = i.pagination) == null ? void 0 : i.pageSize) != null ? r : ct);
1488
1488
  }, e.setPageSize = (n) => {
1489
1489
  e.setPagination((r) => {
1490
- const i = Math.max(1, fe(n, r.pageSize)), s = r.pageSize * r.pageIndex, u = Math.floor(s / i);
1490
+ const i = Math.max(1, fe(n, r.pageSize)), l = r.pageSize * r.pageIndex, u = Math.floor(l / i);
1491
1491
  return {
1492
1492
  ...r,
1493
1493
  pageIndex: u,
@@ -1496,14 +1496,14 @@ const Do = {
1496
1496
  });
1497
1497
  }, e.setPageCount = (n) => e.setPagination((r) => {
1498
1498
  var i;
1499
- let s = fe(n, (i = e.options.pageCount) != null ? i : -1);
1500
- return typeof s == "number" && (s = Math.max(-1, s)), {
1499
+ let l = fe(n, (i = e.options.pageCount) != null ? i : -1);
1500
+ return typeof l == "number" && (l = Math.max(-1, l)), {
1501
1501
  ...r,
1502
- pageCount: s
1502
+ pageCount: l
1503
1503
  };
1504
1504
  }), e.getPageOptions = x(() => [e.getPageCount()], (n) => {
1505
1505
  let r = [];
1506
- return n && n > 0 && (r = [...new Array(n)].fill(null).map((i, s) => s)), r;
1506
+ return n && n > 0 && (r = [...new Array(n)].fill(null).map((i, l) => l)), r;
1507
1507
  }, y(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
1508
1508
  const {
1509
1509
  pageIndex: n
@@ -1517,12 +1517,12 @@ const Do = {
1517
1517
  return (n = e.options.rowCount) != null ? n : e.getPrePaginationRowModel().rows.length;
1518
1518
  };
1519
1519
  }
1520
- }, st = () => ({
1520
+ }, lt = () => ({
1521
1521
  top: [],
1522
1522
  bottom: []
1523
- }), No = {
1523
+ }), To = {
1524
1524
  getInitialState: (e) => ({
1525
- rowPinning: st(),
1525
+ rowPinning: lt(),
1526
1526
  ...e
1527
1527
  }),
1528
1528
  getDefaultOptions: (e) => ({
@@ -1530,36 +1530,36 @@ const Do = {
1530
1530
  }),
1531
1531
  createRow: (e, o) => {
1532
1532
  e.pin = (t, n, r) => {
1533
- const i = n ? e.getLeafRows().map((l) => {
1533
+ const i = n ? e.getLeafRows().map((s) => {
1534
1534
  let {
1535
1535
  id: a
1536
- } = l;
1536
+ } = s;
1537
1537
  return a;
1538
- }) : [], s = r ? e.getParentRows().map((l) => {
1538
+ }) : [], l = r ? e.getParentRows().map((s) => {
1539
1539
  let {
1540
1540
  id: a
1541
- } = l;
1541
+ } = s;
1542
1542
  return a;
1543
- }) : [], u = /* @__PURE__ */ new Set([...s, e.id, ...i]);
1544
- o.setRowPinning((l) => {
1543
+ }) : [], u = /* @__PURE__ */ new Set([...l, e.id, ...i]);
1544
+ o.setRowPinning((s) => {
1545
1545
  var a, d;
1546
1546
  if (t === "bottom") {
1547
1547
  var f, g;
1548
1548
  return {
1549
- top: ((f = l == null ? void 0 : l.top) != null ? f : []).filter((m) => !(u != null && u.has(m))),
1550
- bottom: [...((g = l == null ? void 0 : l.bottom) != null ? g : []).filter((m) => !(u != null && u.has(m))), ...Array.from(u)]
1549
+ top: ((f = s == null ? void 0 : s.top) != null ? f : []).filter((m) => !(u != null && u.has(m))),
1550
+ bottom: [...((g = s == null ? void 0 : s.bottom) != null ? g : []).filter((m) => !(u != null && u.has(m))), ...Array.from(u)]
1551
1551
  };
1552
1552
  }
1553
1553
  if (t === "top") {
1554
1554
  var c, p;
1555
1555
  return {
1556
- top: [...((c = l == null ? void 0 : l.top) != null ? c : []).filter((m) => !(u != null && u.has(m))), ...Array.from(u)],
1557
- bottom: ((p = l == null ? void 0 : l.bottom) != null ? p : []).filter((m) => !(u != null && u.has(m)))
1556
+ top: [...((c = s == null ? void 0 : s.top) != null ? c : []).filter((m) => !(u != null && u.has(m))), ...Array.from(u)],
1557
+ bottom: ((p = s == null ? void 0 : s.bottom) != null ? p : []).filter((m) => !(u != null && u.has(m)))
1558
1558
  };
1559
1559
  }
1560
1560
  return {
1561
- top: ((a = l == null ? void 0 : l.top) != null ? a : []).filter((m) => !(u != null && u.has(m))),
1562
- bottom: ((d = l == null ? void 0 : l.bottom) != null ? d : []).filter((m) => !(u != null && u.has(m)))
1561
+ top: ((a = s == null ? void 0 : s.top) != null ? a : []).filter((m) => !(u != null && u.has(m))),
1562
+ bottom: ((d = s == null ? void 0 : s.bottom) != null ? d : []).filter((m) => !(u != null && u.has(m)))
1563
1563
  };
1564
1564
  });
1565
1565
  }, e.getCanPin = () => {
@@ -1573,16 +1573,16 @@ const Do = {
1573
1573
  const t = [e.id], {
1574
1574
  top: n,
1575
1575
  bottom: r
1576
- } = o.getState().rowPinning, i = t.some((u) => n == null ? void 0 : n.includes(u)), s = t.some((u) => r == null ? void 0 : r.includes(u));
1577
- return i ? "top" : s ? "bottom" : !1;
1576
+ } = o.getState().rowPinning, i = t.some((u) => n == null ? void 0 : n.includes(u)), l = t.some((u) => r == null ? void 0 : r.includes(u));
1577
+ return i ? "top" : l ? "bottom" : !1;
1578
1578
  }, e.getPinnedIndex = () => {
1579
1579
  var t, n;
1580
1580
  const r = e.getIsPinned();
1581
1581
  if (!r) return -1;
1582
- const i = (t = r === "top" ? o.getTopRows() : o.getBottomRows()) == null ? void 0 : t.map((s) => {
1582
+ const i = (t = r === "top" ? o.getTopRows() : o.getBottomRows()) == null ? void 0 : t.map((l) => {
1583
1583
  let {
1584
1584
  id: u
1585
- } = s;
1585
+ } = l;
1586
1586
  return u;
1587
1587
  });
1588
1588
  return (n = i == null ? void 0 : i.indexOf(e.id)) != null ? n : -1;
@@ -1591,7 +1591,7 @@ const Do = {
1591
1591
  createTable: (e) => {
1592
1592
  e.setRowPinning = (o) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(o), e.resetRowPinning = (o) => {
1593
1593
  var t, n;
1594
- return e.setRowPinning(o ? st() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : st());
1594
+ return e.setRowPinning(o ? lt() : (t = (n = e.initialState) == null ? void 0 : n.rowPinning) != null ? t : lt());
1595
1595
  }, e.getIsSomeRowsPinned = (o) => {
1596
1596
  var t;
1597
1597
  const n = e.getState().rowPinning;
@@ -1605,15 +1605,15 @@ const Do = {
1605
1605
  return ((r = e.options.keepPinnedRows) == null || r ? (
1606
1606
  //get all rows that are pinned even if they would not be otherwise visible
1607
1607
  //account for expanded parent rows, but not pagination or filtering
1608
- (t ?? []).map((s) => {
1609
- const u = e.getRow(s, !0);
1608
+ (t ?? []).map((l) => {
1609
+ const u = e.getRow(l, !0);
1610
1610
  return u.getIsAllParentsExpanded() ? u : null;
1611
1611
  })
1612
1612
  ) : (
1613
1613
  //else get only visible rows that are pinned
1614
- (t ?? []).map((s) => o.find((u) => u.id === s))
1615
- )).filter(Boolean).map((s) => ({
1616
- ...s,
1614
+ (t ?? []).map((l) => o.find((u) => u.id === l))
1615
+ )).filter(Boolean).map((l) => ({
1616
+ ...l,
1617
1617
  position: n
1618
1618
  }));
1619
1619
  }, e.getTopRows = x(() => [e.getRowModel().rows, e.getState().rowPinning.top], (o, t) => e._getPinnedRows(o, t, "top"), y(e.options, "debugRows", "getTopRows")), e.getBottomRows = x(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (o, t) => e._getPinnedRows(o, t, "bottom"), y(e.options, "debugRows", "getBottomRows")), e.getCenterRows = x(() => [e.getRowModel().rows, e.getState().rowPinning.top, e.getState().rowPinning.bottom], (o, t, n) => {
@@ -1621,7 +1621,7 @@ const Do = {
1621
1621
  return o.filter((i) => !r.has(i.id));
1622
1622
  }, y(e.options, "debugRows", "getCenterRows"));
1623
1623
  }
1624
- }, To = {
1624
+ }, No = {
1625
1625
  getInitialState: (e) => ({
1626
1626
  rowSelection: {},
1627
1627
  ...e
@@ -1658,15 +1658,15 @@ const Do = {
1658
1658
  return e.getRowModel().rows.forEach((i) => {
1659
1659
  dt(r, i.id, n, !0, e);
1660
1660
  }), r;
1661
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = x(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1661
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = x(() => [e.getState().rowSelection, e.getCoreRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1662
1662
  rows: [],
1663
1663
  flatRows: [],
1664
1664
  rowsById: {}
1665
- }, y(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = x(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1665
+ }, y(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = x(() => [e.getState().rowSelection, e.getFilteredRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1666
1666
  rows: [],
1667
1667
  flatRows: [],
1668
1668
  rowsById: {}
1669
- }, y(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = x(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? lt(e, t) : {
1669
+ }, y(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = x(() => [e.getState().rowSelection, e.getSortedRowModel()], (o, t) => Object.keys(o).length ? st(e, t) : {
1670
1670
  rows: [],
1671
1671
  flatRows: [],
1672
1672
  rowsById: {}
@@ -1699,13 +1699,13 @@ const Do = {
1699
1699
  e.toggleSelected = (t, n) => {
1700
1700
  const r = e.getIsSelected();
1701
1701
  o.setRowSelection((i) => {
1702
- var s;
1702
+ var l;
1703
1703
  if (t = typeof t < "u" ? t : !r, e.getCanSelect() && r === t)
1704
1704
  return i;
1705
1705
  const u = {
1706
1706
  ...i
1707
1707
  };
1708
- return dt(u, e.id, t, (s = n == null ? void 0 : n.selectChildren) != null ? s : !0, o), u;
1708
+ return dt(u, e.id, t, (l = n == null ? void 0 : n.selectChildren) != null ? l : !0, o), u;
1709
1709
  });
1710
1710
  }, e.getIsSelected = () => {
1711
1711
  const {
@@ -1741,19 +1741,19 @@ const Do = {
1741
1741
  }
1742
1742
  }, dt = (e, o, t, n, r) => {
1743
1743
  var i;
1744
- const s = r.getRow(o, !0);
1745
- t ? (s.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), s.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = s.subRows) != null && i.length && s.getCanSelectSubRows() && s.subRows.forEach((u) => dt(e, u.id, t, n, r));
1744
+ const l = r.getRow(o, !0);
1745
+ t ? (l.getCanMultiSelect() || Object.keys(e).forEach((u) => delete e[u]), l.getCanSelect() && (e[o] = !0)) : delete e[o], n && (i = l.subRows) != null && i.length && l.getCanSelectSubRows() && l.subRows.forEach((u) => dt(e, u.id, t, n, r));
1746
1746
  };
1747
- function lt(e, o) {
1748
- const t = e.getState().rowSelection, n = [], r = {}, i = function(s, u) {
1749
- return s.map((l) => {
1747
+ function st(e, o) {
1748
+ const t = e.getState().rowSelection, n = [], r = {}, i = function(l, u) {
1749
+ return l.map((s) => {
1750
1750
  var a;
1751
- const d = vt(l, t);
1752
- if (d && (n.push(l), r[l.id] = l), (a = l.subRows) != null && a.length && (l = {
1753
- ...l,
1754
- subRows: i(l.subRows)
1751
+ const d = vt(s, t);
1752
+ if (d && (n.push(s), r[s.id] = s), (a = s.subRows) != null && a.length && (s = {
1753
+ ...s,
1754
+ subRows: i(s.subRows)
1755
1755
  }), d)
1756
- return l;
1756
+ return s;
1757
1757
  }).filter(Boolean);
1758
1758
  };
1759
1759
  return {
@@ -1770,17 +1770,17 @@ function gt(e, o, t) {
1770
1770
  var n;
1771
1771
  if (!((n = e.subRows) != null && n.length)) return !1;
1772
1772
  let r = !0, i = !1;
1773
- return e.subRows.forEach((s) => {
1774
- if (!(i && !r) && (s.getCanSelect() && (vt(s, o) ? i = !0 : r = !1), s.subRows && s.subRows.length)) {
1775
- const u = gt(s, o);
1773
+ return e.subRows.forEach((l) => {
1774
+ if (!(i && !r) && (l.getCanSelect() && (vt(l, o) ? i = !0 : r = !1), l.subRows && l.subRows.length)) {
1775
+ const u = gt(l, o);
1776
1776
  u === "all" ? i = !0 : (u === "some" && (i = !0), r = !1);
1777
1777
  }
1778
1778
  }), r ? "all" : i ? "some" : !1;
1779
1779
  }
1780
- const ft = /([0-9]+)/gm, jo = (e, o, t) => vn(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), Ho = (e, o, t) => vn(pe(e.getValue(t)), pe(o.getValue(t))), Go = (e, o, t) => Rt(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), zo = (e, o, t) => Rt(pe(e.getValue(t)), pe(o.getValue(t))), Bo = (e, o, t) => {
1780
+ const ft = /([0-9]+)/gm, jo = (e, o, t) => vn(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), Ho = (e, o, t) => vn(pe(e.getValue(t)), pe(o.getValue(t))), Go = (e, o, t) => Rt(pe(e.getValue(t)).toLowerCase(), pe(o.getValue(t)).toLowerCase()), zo = (e, o, t) => Rt(pe(e.getValue(t)), pe(o.getValue(t))), ko = (e, o, t) => {
1781
1781
  const n = e.getValue(t), r = o.getValue(t);
1782
1782
  return n > r ? 1 : n < r ? -1 : 0;
1783
- }, ko = (e, o, t) => Rt(e.getValue(t), o.getValue(t));
1783
+ }, Bo = (e, o, t) => Rt(e.getValue(t), o.getValue(t));
1784
1784
  function Rt(e, o) {
1785
1785
  return e === o ? 0 : e > o ? 1 : -1;
1786
1786
  }
@@ -1790,19 +1790,19 @@ function pe(e) {
1790
1790
  function vn(e, o) {
1791
1791
  const t = e.split(ft).filter(Boolean), n = o.split(ft).filter(Boolean);
1792
1792
  for (; t.length && n.length; ) {
1793
- const r = t.shift(), i = n.shift(), s = parseInt(r, 10), u = parseInt(i, 10), l = [s, u].sort();
1794
- if (isNaN(l[0])) {
1793
+ const r = t.shift(), i = n.shift(), l = parseInt(r, 10), u = parseInt(i, 10), s = [l, u].sort();
1794
+ if (isNaN(s[0])) {
1795
1795
  if (r > i)
1796
1796
  return 1;
1797
1797
  if (i > r)
1798
1798
  return -1;
1799
1799
  continue;
1800
1800
  }
1801
- if (isNaN(l[1]))
1802
- return isNaN(s) ? -1 : 1;
1803
- if (s > u)
1801
+ if (isNaN(s[1]))
1802
+ return isNaN(l) ? -1 : 1;
1803
+ if (l > u)
1804
1804
  return 1;
1805
- if (u > s)
1805
+ if (u > l)
1806
1806
  return -1;
1807
1807
  }
1808
1808
  return t.length - n.length;
@@ -1812,8 +1812,8 @@ const Fe = {
1812
1812
  alphanumericCaseSensitive: Ho,
1813
1813
  text: Go,
1814
1814
  textCaseSensitive: zo,
1815
- datetime: Bo,
1816
- basic: ko
1815
+ datetime: ko,
1816
+ basic: Bo
1817
1817
  }, qo = {
1818
1818
  getInitialState: (e) => ({
1819
1819
  sorting: [],
@@ -1849,19 +1849,19 @@ const Fe = {
1849
1849
  return Ke(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : (t = (n = o.options.sortingFns) == null ? void 0 : n[e.columnDef.sortingFn]) != null ? t : Fe[e.columnDef.sortingFn];
1850
1850
  }, e.toggleSorting = (t, n) => {
1851
1851
  const r = e.getNextSortingOrder(), i = typeof t < "u" && t !== null;
1852
- o.setSorting((s) => {
1853
- const u = s == null ? void 0 : s.find((c) => c.id === e.id), l = s == null ? void 0 : s.findIndex((c) => c.id === e.id);
1852
+ o.setSorting((l) => {
1853
+ const u = l == null ? void 0 : l.find((c) => c.id === e.id), s = l == null ? void 0 : l.findIndex((c) => c.id === e.id);
1854
1854
  let a = [], d, f = i ? t : r === "desc";
1855
- if (s != null && s.length && e.getCanMultiSort() && n ? u ? d = "toggle" : d = "add" : s != null && s.length && l !== s.length - 1 ? d = "replace" : u ? d = "toggle" : d = "replace", d === "toggle" && (i || r || (d = "remove")), d === "add") {
1855
+ if (l != null && l.length && e.getCanMultiSort() && n ? u ? d = "toggle" : d = "add" : l != null && l.length && s !== l.length - 1 ? d = "replace" : u ? d = "toggle" : d = "replace", d === "toggle" && (i || r || (d = "remove")), d === "add") {
1856
1856
  var g;
1857
- a = [...s, {
1857
+ a = [...l, {
1858
1858
  id: e.id,
1859
1859
  desc: f
1860
1860
  }], a.splice(0, a.length - ((g = o.options.maxMultiSortColCount) != null ? g : Number.MAX_SAFE_INTEGER));
1861
- } else d === "toggle" ? a = s.map((c) => c.id === e.id ? {
1861
+ } else d === "toggle" ? a = l.map((c) => c.id === e.id ? {
1862
1862
  ...c,
1863
1863
  desc: f
1864
- } : c) : d === "remove" ? a = s.filter((c) => c.id !== e.id) : a = [{
1864
+ } : c) : d === "remove" ? a = l.filter((c) => c.id !== e.id) : a = [{
1865
1865
  id: e.id,
1866
1866
  desc: f
1867
1867
  }];
@@ -1872,9 +1872,9 @@ const Fe = {
1872
1872
  return ((t = (n = e.columnDef.sortDescFirst) != null ? n : o.options.sortDescFirst) != null ? t : e.getAutoSortDir() === "desc") ? "desc" : "asc";
1873
1873
  }, e.getNextSortingOrder = (t) => {
1874
1874
  var n, r;
1875
- const i = e.getFirstSortDir(), s = e.getIsSorted();
1876
- return s ? s !== i && ((n = o.options.enableSortingRemoval) == null || n) && // If enableSortRemove, enable in general
1877
- (!(t && (r = o.options.enableMultiRemove) != null) || r) ? !1 : s === "desc" ? "asc" : "desc" : i;
1875
+ const i = e.getFirstSortDir(), l = e.getIsSorted();
1876
+ return l ? l !== i && ((n = o.options.enableSortingRemoval) == null || n) && // If enableSortRemove, enable in general
1877
+ (!(t && (r = o.options.enableMultiRemove) != null) || r) ? !1 : l === "desc" ? "asc" : "desc" : i;
1878
1878
  }, e.getCanSort = () => {
1879
1879
  var t, n;
1880
1880
  return ((t = e.columnDef.enableSorting) != null ? t : !0) && ((n = o.options.enableSorting) != null ? n : !0) && !!e.accessorFn;
@@ -1919,9 +1919,9 @@ const Fe = {
1919
1919
  //depends on RowSorting
1920
1920
  Oo,
1921
1921
  Ao,
1922
- No,
1923
1922
  To,
1924
- Po
1923
+ No,
1924
+ $o
1925
1925
  ];
1926
1926
  function Ko(e) {
1927
1927
  var o, t;
@@ -1930,17 +1930,17 @@ function Ko(e) {
1930
1930
  let r = {
1931
1931
  _features: n
1932
1932
  };
1933
- const i = r._features.reduce((g, c) => Object.assign(g, c.getDefaultOptions == null ? void 0 : c.getDefaultOptions(r)), {}), s = (g) => r.options.mergeOptions ? r.options.mergeOptions(i, g) : {
1933
+ const i = r._features.reduce((g, c) => Object.assign(g, c.getDefaultOptions == null ? void 0 : c.getDefaultOptions(r)), {}), l = (g) => r.options.mergeOptions ? r.options.mergeOptions(i, g) : {
1934
1934
  ...i,
1935
1935
  ...g
1936
1936
  };
1937
- let l = {
1937
+ let s = {
1938
1938
  ...{},
1939
1939
  ...(t = e.initialState) != null ? t : {}
1940
1940
  };
1941
1941
  r._features.forEach((g) => {
1942
1942
  var c;
1943
- l = (c = g.getInitialState == null ? void 0 : g.getInitialState(l)) != null ? c : l;
1943
+ s = (c = g.getInitialState == null ? void 0 : g.getInitialState(s)) != null ? c : s;
1944
1944
  });
1945
1945
  const a = [];
1946
1946
  let d = !1;
@@ -1950,7 +1950,7 @@ function Ko(e) {
1950
1950
  ...i,
1951
1951
  ...e
1952
1952
  },
1953
- initialState: l,
1953
+ initialState: s,
1954
1954
  _queue: (g) => {
1955
1955
  a.push(g), d || (d = !0, Promise.resolve().then(() => {
1956
1956
  for (; a.length; )
@@ -1965,7 +1965,7 @@ function Ko(e) {
1965
1965
  },
1966
1966
  setOptions: (g) => {
1967
1967
  const c = fe(g, r.options);
1968
- r.options = s(c);
1968
+ r.options = l(c);
1969
1969
  },
1970
1970
  getState: () => r.options.state,
1971
1971
  setState: (g) => {
@@ -2006,8 +2006,8 @@ function Ko(e) {
2006
2006
  getAllColumns: x(() => [r._getColumnDefs()], (g) => {
2007
2007
  const c = function(p, m, S) {
2008
2008
  return S === void 0 && (S = 0), p.map((h) => {
2009
- const C = go(r, h, S, m), v = h;
2010
- return C.columns = v.columns ? c(v.columns, C, S + 1) : [], C;
2009
+ const w = go(r, h, S, m), v = h;
2010
+ return w.columns = v.columns ? c(v.columns, w, S + 1) : [], w;
2011
2011
  });
2012
2012
  };
2013
2013
  return c(g);
@@ -2036,14 +2036,14 @@ function Xo() {
2036
2036
  rows: [],
2037
2037
  flatRows: [],
2038
2038
  rowsById: {}
2039
- }, n = function(r, i, s) {
2039
+ }, n = function(r, i, l) {
2040
2040
  i === void 0 && (i = 0);
2041
2041
  const u = [];
2042
2042
  for (let a = 0; a < r.length; a++) {
2043
- const d = wt(e, e._getRowId(r[a], a, s), r[a], a, i, void 0, s == null ? void 0 : s.id);
2043
+ const d = wt(e, e._getRowId(r[a], a, l), r[a], a, i, void 0, l == null ? void 0 : l.id);
2044
2044
  if (t.flatRows.push(d), t.rowsById[d.id] = d, u.push(d), e.options.getSubRows) {
2045
- var l;
2046
- d.originalSubRows = e.options.getSubRows(r[a], a), (l = d.originalSubRows) != null && l.length && (d.subRows = n(d.originalSubRows, i + 1, d));
2045
+ var s;
2046
+ d.originalSubRows = e.options.getSubRows(r[a], a), (s = d.originalSubRows) != null && s.length && (d.subRows = n(d.originalSubRows, i + 1, d));
2047
2047
  }
2048
2048
  }
2049
2049
  return u;
@@ -2067,14 +2067,14 @@ function Rn(e, o, t) {
2067
2067
  }
2068
2068
  function Qo(e, o, t) {
2069
2069
  var n;
2070
- const r = [], i = {}, s = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(l, a) {
2070
+ const r = [], i = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(s, a) {
2071
2071
  a === void 0 && (a = 0);
2072
2072
  const d = [];
2073
- for (let g = 0; g < l.length; g++) {
2073
+ for (let g = 0; g < s.length; g++) {
2074
2074
  var f;
2075
- let c = l[g];
2075
+ let c = s[g];
2076
2076
  const p = wt(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2077
- if (p.columnFilters = c.columnFilters, (f = c.subRows) != null && f.length && a < s) {
2077
+ if (p.columnFilters = c.columnFilters, (f = c.subRows) != null && f.length && a < l) {
2078
2078
  if (p.subRows = u(c.subRows, a + 1), c = p, o(c) && !p.subRows.length) {
2079
2079
  d.push(c), i[c.id] = c, r.push(c);
2080
2080
  continue;
@@ -2096,14 +2096,14 @@ function Qo(e, o, t) {
2096
2096
  }
2097
2097
  function Jo(e, o, t) {
2098
2098
  var n;
2099
- const r = [], i = {}, s = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(l, a) {
2099
+ const r = [], i = {}, l = (n = t.options.maxLeafRowFilterDepth) != null ? n : 100, u = function(s, a) {
2100
2100
  a === void 0 && (a = 0);
2101
2101
  const d = [];
2102
- for (let g = 0; g < l.length; g++) {
2103
- let c = l[g];
2102
+ for (let g = 0; g < s.length; g++) {
2103
+ let c = s[g];
2104
2104
  if (o(c)) {
2105
2105
  var f;
2106
- if ((f = c.subRows) != null && f.length && a < s) {
2106
+ if ((f = c.subRows) != null && f.length && a < l) {
2107
2107
  const m = wt(t, c.id, c.original, c.index, c.depth, void 0, c.parentId);
2108
2108
  m.subRows = u(c.subRows, a + 1), c = m;
2109
2109
  }
@@ -2122,13 +2122,13 @@ function Yo() {
2122
2122
  return (e, o) => x(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter, e.getFilteredRowModel()], (t, n, r) => {
2123
2123
  if (!t.rows.length || !(n != null && n.length) && !r)
2124
2124
  return t;
2125
- const i = [...n.map((u) => u.id).filter((u) => u !== o), r ? "__global__" : void 0].filter(Boolean), s = (u) => {
2126
- for (let l = 0; l < i.length; l++)
2127
- if (u.columnFilters[i[l]] === !1)
2125
+ const i = [...n.map((u) => u.id).filter((u) => u !== o), r ? "__global__" : void 0].filter(Boolean), l = (u) => {
2126
+ for (let s = 0; s < i.length; s++)
2127
+ if (u.columnFilters[i[s]] === !1)
2128
2128
  return !1;
2129
2129
  return !0;
2130
2130
  };
2131
- return Rn(t.rows, s, e);
2131
+ return Rn(t.rows, l, e);
2132
2132
  }, y(e.options, "debugTable", "getFacetedRowModel"));
2133
2133
  }
2134
2134
  function Zo() {
@@ -2139,14 +2139,14 @@ function Zo() {
2139
2139
  if (!t) return /* @__PURE__ */ new Map();
2140
2140
  let n = /* @__PURE__ */ new Map();
2141
2141
  for (let i = 0; i < t.flatRows.length; i++) {
2142
- const s = t.flatRows[i].getUniqueValues(o);
2143
- for (let u = 0; u < s.length; u++) {
2144
- const l = s[u];
2145
- if (n.has(l)) {
2142
+ const l = t.flatRows[i].getUniqueValues(o);
2143
+ for (let u = 0; u < l.length; u++) {
2144
+ const s = l[u];
2145
+ if (n.has(s)) {
2146
2146
  var r;
2147
- n.set(l, ((r = n.get(l)) != null ? r : 0) + 1);
2147
+ n.set(s, ((r = n.get(s)) != null ? r : 0) + 1);
2148
2148
  } else
2149
- n.set(l, 1);
2149
+ n.set(s, 1);
2150
2150
  }
2151
2151
  }
2152
2152
  return n;
@@ -2176,8 +2176,8 @@ function er() {
2176
2176
  resolvedValue: (c = m.resolveFilterValue == null ? void 0 : m.resolveFilterValue(g.value)) != null ? c : g.value
2177
2177
  });
2178
2178
  });
2179
- const s = (t ?? []).map((g) => g.id), u = e.getGlobalFilterFn(), l = e.getAllLeafColumns().filter((g) => g.getCanGlobalFilter());
2180
- n && u && l.length && (s.push("__global__"), l.forEach((g) => {
2179
+ const l = (t ?? []).map((g) => g.id), u = e.getGlobalFilterFn(), s = e.getAllLeafColumns().filter((g) => g.getCanGlobalFilter());
2180
+ n && u && s.length && (l.push("__global__"), s.forEach((g) => {
2181
2181
  var c;
2182
2182
  i.push({
2183
2183
  id: g.id,
@@ -2211,8 +2211,8 @@ function er() {
2211
2211
  }
2212
2212
  }
2213
2213
  const f = (g) => {
2214
- for (let c = 0; c < s.length; c++)
2215
- if (g.columnFilters[s[c]] === !1)
2214
+ for (let c = 0; c < l.length; c++)
2215
+ if (g.columnFilters[l[c]] === !1)
2216
2216
  return !1;
2217
2217
  return !0;
2218
2218
  };
@@ -2228,21 +2228,21 @@ function tr(e) {
2228
2228
  pageIndex: i
2229
2229
  } = t;
2230
2230
  let {
2231
- rows: s,
2231
+ rows: l,
2232
2232
  flatRows: u,
2233
- rowsById: l
2233
+ rowsById: s
2234
2234
  } = n;
2235
2235
  const a = r * i, d = a + r;
2236
- s = s.slice(a, d);
2236
+ l = l.slice(a, d);
2237
2237
  let f;
2238
2238
  o.options.paginateExpandedRows ? f = {
2239
- rows: s,
2239
+ rows: l,
2240
2240
  flatRows: u,
2241
- rowsById: l
2241
+ rowsById: s
2242
2242
  } : f = Wo({
2243
- rows: s,
2243
+ rows: l,
2244
2244
  flatRows: u,
2245
- rowsById: l
2245
+ rowsById: s
2246
2246
  }), f.flatRows = [];
2247
2247
  const g = (c) => {
2248
2248
  f.flatRows.push(c), c.subRows.length && c.subRows.forEach(g);
@@ -2254,37 +2254,37 @@ function nr() {
2254
2254
  return (e) => x(() => [e.getState().sorting, e.getPreSortedRowModel()], (o, t) => {
2255
2255
  if (!t.rows.length || !(o != null && o.length))
2256
2256
  return t;
2257
- const n = e.getState().sorting, r = [], i = n.filter((l) => {
2257
+ const n = e.getState().sorting, r = [], i = n.filter((s) => {
2258
2258
  var a;
2259
- return (a = e.getColumn(l.id)) == null ? void 0 : a.getCanSort();
2260
- }), s = {};
2261
- i.forEach((l) => {
2262
- const a = e.getColumn(l.id);
2263
- a && (s[l.id] = {
2259
+ return (a = e.getColumn(s.id)) == null ? void 0 : a.getCanSort();
2260
+ }), l = {};
2261
+ i.forEach((s) => {
2262
+ const a = e.getColumn(s.id);
2263
+ a && (l[s.id] = {
2264
2264
  sortUndefined: a.columnDef.sortUndefined,
2265
2265
  invertSorting: a.columnDef.invertSorting,
2266
2266
  sortingFn: a.getSortingFn()
2267
2267
  });
2268
2268
  });
2269
- const u = (l) => {
2270
- const a = l.map((d) => ({
2269
+ const u = (s) => {
2270
+ const a = s.map((d) => ({
2271
2271
  ...d
2272
2272
  }));
2273
2273
  return a.sort((d, f) => {
2274
2274
  for (let c = 0; c < i.length; c += 1) {
2275
2275
  var g;
2276
- const p = i[c], m = s[p.id], S = m.sortUndefined, h = (g = p == null ? void 0 : p.desc) != null ? g : !1;
2277
- let C = 0;
2276
+ const p = i[c], m = l[p.id], S = m.sortUndefined, h = (g = p == null ? void 0 : p.desc) != null ? g : !1;
2277
+ let w = 0;
2278
2278
  if (S) {
2279
2279
  const v = d.getValue(p.id), _ = f.getValue(p.id), I = v === void 0, V = _ === void 0;
2280
2280
  if (I || V) {
2281
2281
  if (S === "first") return I ? -1 : 1;
2282
2282
  if (S === "last") return I ? 1 : -1;
2283
- C = I && V ? 0 : I ? S : -S;
2283
+ w = I && V ? 0 : I ? S : -S;
2284
2284
  }
2285
2285
  }
2286
- if (C === 0 && (C = m.sortingFn(d, f, p.id)), C !== 0)
2287
- return h && (C *= -1), m.invertSorting && (C *= -1), C;
2286
+ if (w === 0 && (w = m.sortingFn(d, f, p.id)), w !== 0)
2287
+ return h && (w *= -1), m.invertSorting && (w *= -1), w;
2288
2288
  }
2289
2289
  return d.index - f.index;
2290
2290
  }), a.forEach((d) => {
@@ -2324,7 +2324,7 @@ function rr(e) {
2324
2324
  function ir(e) {
2325
2325
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
2326
2326
  }
2327
- function sr(e) {
2327
+ function lr(e) {
2328
2328
  const o = {
2329
2329
  state: {},
2330
2330
  // Dummy state
@@ -2345,70 +2345,70 @@ function sr(e) {
2345
2345
  },
2346
2346
  // Similarly, we'll maintain both our internal state and any user-provided
2347
2347
  // state.
2348
- onStateChange: (s) => {
2349
- r(s), e.onStateChange == null || e.onStateChange(s);
2348
+ onStateChange: (l) => {
2349
+ r(l), e.onStateChange == null || e.onStateChange(l);
2350
2350
  }
2351
2351
  })), t.current;
2352
2352
  }
2353
- const lr = ({
2353
+ const sr = ({
2354
2354
  page: e = 1,
2355
2355
  between: o = 3,
2356
2356
  totalPages: t,
2357
2357
  changePage: n,
2358
2358
  next: r = !0,
2359
2359
  ellipsis: i = 0,
2360
- classes: s
2360
+ classes: l
2361
2361
  }) => {
2362
2362
  o = o < 1 ? 1 : o, e = Math.min(Math.max(e, 1), t), i = Math.min(Math.max(i, 0), o - 2);
2363
- const u = Array.from({ length: t }, (d, f) => f), l = o * 2 + 1;
2363
+ const u = Array.from({ length: t }, (d, f) => f), s = o * 2 + 1;
2364
2364
  let a;
2365
- return t < l ? a = u : e - 1 <= o ? a = u.slice(0, l - (i > 0 ? i + 1 : 0)) : e + o >= t ? a = u.slice(t - l + (i > 0 ? i + 1 : 0), t) : a = u.slice(
2365
+ return t < s ? a = u : e - 1 <= o ? a = u.slice(0, s - (i > 0 ? i + 1 : 0)) : e + o >= t ? a = u.slice(t - s + (i > 0 ? i + 1 : 0), t) : a = u.slice(
2366
2366
  e - 1 - (o - (i > 0 ? i + 1 : 0)),
2367
2367
  e + (o - (i > 0 ? i + 1 : 0))
2368
- ), /* @__PURE__ */ w.jsxs("div", { className: F("flex", s == null ? void 0 : s.root), children: [
2369
- r && /* @__PURE__ */ w.jsx(
2368
+ ), /* @__PURE__ */ C.jsxs("div", { className: F("flex", l == null ? void 0 : l.root), children: [
2369
+ r && /* @__PURE__ */ C.jsx(
2370
2370
  ge,
2371
2371
  {
2372
2372
  size: "sm",
2373
2373
  intent: "ghost",
2374
- className: F("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", s == null ? void 0 : s.button),
2374
+ className: F("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", l == null ? void 0 : l.button),
2375
2375
  disabled: e <= 1,
2376
2376
  onClick: () => e > 1 && n(e - 2),
2377
- children: /* @__PURE__ */ w.jsx(be, { name: "arrows/arrowRight", className: "rotate-180" })
2377
+ children: /* @__PURE__ */ C.jsx(Ne, { name: "arrows/arrowRight", className: "rotate-180" })
2378
2378
  }
2379
2379
  ),
2380
- t > l && i > 0 && u.slice(0, e - 1 <= o ? 0 : i).map((d) => /* @__PURE__ */ w.jsx(
2380
+ t > s && i > 0 && u.slice(0, e - 1 <= o ? 0 : i).map((d) => /* @__PURE__ */ C.jsx(
2381
2381
  ge,
2382
2382
  {
2383
2383
  size: "sm",
2384
2384
  intent: "ghost",
2385
- className: F("mob-body-regular-l w-[40px] p-0 text-color-dark", s == null ? void 0 : s.button),
2385
+ className: F("mob-body-regular-l w-[40px] p-0 text-color-dark", l == null ? void 0 : l.button),
2386
2386
  onClick: () => d !== e - 1 && n(d),
2387
2387
  children: d + 1
2388
2388
  },
2389
2389
  d
2390
2390
  )),
2391
- t > l && i > 0 && e - 1 > o && /* @__PURE__ */ w.jsx(
2391
+ t > s && i > 0 && e - 1 > o && /* @__PURE__ */ C.jsx(
2392
2392
  ge,
2393
2393
  {
2394
2394
  size: "sm",
2395
2395
  intent: "ghost",
2396
- className: F("mob-body-regular-l pointer-events-none w-[40px] p-0 text-color-dark", s == null ? void 0 : s.ellipsis),
2396
+ className: F("mob-body-regular-l pointer-events-none w-[40px] p-0 text-color-dark", l == null ? void 0 : l.ellipsis),
2397
2397
  children: "..."
2398
2398
  }
2399
2399
  ),
2400
2400
  a.map((d) => {
2401
2401
  const f = d === e - 1;
2402
- return /* @__PURE__ */ w.jsx(
2402
+ return /* @__PURE__ */ C.jsx(
2403
2403
  ge,
2404
2404
  {
2405
2405
  size: "sm",
2406
2406
  className: F(
2407
2407
  "mob-body-regular-l w-[40px] p-0 text-color-dark",
2408
2408
  {
2409
- [`text-color-primary-default ${s == null ? void 0 : s.active}`]: f
2409
+ [`text-color-primary-default ${l == null ? void 0 : l.active}`]: f
2410
2410
  },
2411
- s == null ? void 0 : s.button
2411
+ l == null ? void 0 : l.button
2412
2412
  ),
2413
2413
  intent: f ? "secondary" : "ghost",
2414
2414
  onClick: () => !f && n(d),
@@ -2417,52 +2417,52 @@ const lr = ({
2417
2417
  d
2418
2418
  );
2419
2419
  }),
2420
- t > l && i > 0 && e < t - o && /* @__PURE__ */ w.jsx(
2420
+ t > s && i > 0 && e < t - o && /* @__PURE__ */ C.jsx(
2421
2421
  ge,
2422
2422
  {
2423
2423
  size: "sm",
2424
2424
  intent: "ghost",
2425
- className: F("mob-body-regular-l pointer-events-none w-[40px] p-0 text-color-dark", s == null ? void 0 : s.ellipsis),
2425
+ className: F("mob-body-regular-l pointer-events-none w-[40px] p-0 text-color-dark", l == null ? void 0 : l.ellipsis),
2426
2426
  children: "..."
2427
2427
  }
2428
2428
  ),
2429
- t > l && i > 0 && u.slice(e >= t - o ? t : t - i, t).map((d) => /* @__PURE__ */ w.jsx(
2429
+ t > s && i > 0 && u.slice(e >= t - o ? t : t - i, t).map((d) => /* @__PURE__ */ C.jsx(
2430
2430
  ge,
2431
2431
  {
2432
2432
  size: "sm",
2433
- className: F("mob-body-regular-l w-[40px] p-0 text-color-dark", s == null ? void 0 : s.button),
2433
+ className: F("mob-body-regular-l w-[40px] p-0 text-color-dark", l == null ? void 0 : l.button),
2434
2434
  intent: "ghost",
2435
2435
  onClick: () => d !== e - 1 && n(d),
2436
2436
  children: d + 1
2437
2437
  },
2438
2438
  d
2439
2439
  )),
2440
- r && /* @__PURE__ */ w.jsx(
2440
+ r && /* @__PURE__ */ C.jsx(
2441
2441
  ge,
2442
2442
  {
2443
2443
  size: "sm",
2444
2444
  intent: "ghost",
2445
- className: F("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", s == null ? void 0 : s.button),
2445
+ className: F("mob-body-regular-l w-[40px] p-0 text-color-dark disabled:text-icon-disabled", l == null ? void 0 : l.button),
2446
2446
  disabled: e >= t,
2447
2447
  onClick: () => e < t && n(e),
2448
- children: /* @__PURE__ */ w.jsx(be, { name: "arrows/arrowRight" })
2448
+ children: /* @__PURE__ */ C.jsx(Ne, { name: "arrows/arrowRight" })
2449
2449
  }
2450
2450
  )
2451
2451
  ] });
2452
2452
  }, ur = ({ page: e, pageCount: o, pageSize: t, onPageIndexChange: n, rowsCount: r, classes: i }) => {
2453
- const s = t * e, u = s > r ? r : s;
2454
- return /* @__PURE__ */ w.jsxs("div", { className: F("flex w-full items-center justify-between", i == null ? void 0 : i.root), children: [
2455
- /* @__PURE__ */ w.jsxs("span", { className: F("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.displayShown), children: [
2453
+ const l = t * e, u = l > r ? r : l;
2454
+ return /* @__PURE__ */ C.jsxs("div", { className: F("flex w-full items-center justify-between", i == null ? void 0 : i.root), children: [
2455
+ /* @__PURE__ */ C.jsxs("span", { className: F("desk-body-regular-m text-color-tetriary", i == null ? void 0 : i.displayShown), children: [
2456
2456
  "Показано ",
2457
2457
  u,
2458
2458
  " из ",
2459
2459
  r
2460
2460
  ] }),
2461
- /* @__PURE__ */ w.jsx(
2462
- lr,
2461
+ /* @__PURE__ */ C.jsx(
2462
+ sr,
2463
2463
  {
2464
2464
  totalPages: o,
2465
- changePage: (l) => n(l),
2465
+ changePage: (s) => n(s),
2466
2466
  page: e,
2467
2467
  ellipsis: 1,
2468
2468
  classes: i == null ? void 0 : i.pagination
@@ -2477,7 +2477,7 @@ const lr = ({
2477
2477
  pagination: r,
2478
2478
  empty: i = "Not found"
2479
2479
  }) => {
2480
- const s = r !== !1 && t.getPageCount() > 1, u = {
2480
+ const l = r !== !1 && t.getPageCount() > 1, u = {
2481
2481
  pageCount: t.getPageCount(),
2482
2482
  rowsCount: t.getCoreRowModel().rows.length,
2483
2483
  pageSize: t.getState().pagination.pageSize,
@@ -2485,9 +2485,9 @@ const lr = ({
2485
2485
  onPageIndexChange: t.setPageIndex,
2486
2486
  classes: n == null ? void 0 : n.pagination
2487
2487
  };
2488
- return /* @__PURE__ */ w.jsxs("div", { className: F("flex w-full flex-col gap-y-4", n == null ? void 0 : n.root), children: [
2489
- /* @__PURE__ */ w.jsxs(un, { className: F("w-full", n == null ? void 0 : n.table), children: [
2490
- o && /* @__PURE__ */ w.jsx(an, { className: "px-2", children: t.getHeaderGroups().map((l) => /* @__PURE__ */ w.jsx(
2488
+ return /* @__PURE__ */ C.jsxs("div", { className: F("flex w-full flex-col gap-y-4", n == null ? void 0 : n.root), children: [
2489
+ /* @__PURE__ */ C.jsxs(un, { className: F("w-full", n == null ? void 0 : n.table), children: [
2490
+ o && /* @__PURE__ */ C.jsx(an, { className: "px-2", children: t.getHeaderGroups().map((s) => /* @__PURE__ */ C.jsx(
2491
2491
  Te,
2492
2492
  {
2493
2493
  className: F(
@@ -2497,7 +2497,7 @@ const lr = ({
2497
2497
  },
2498
2498
  n == null ? void 0 : n.tableHeader
2499
2499
  ),
2500
- children: l.headers.map((a) => /* @__PURE__ */ w.jsx(
2500
+ children: s.headers.map((a) => /* @__PURE__ */ C.jsx(
2501
2501
  dn,
2502
2502
  {
2503
2503
  className: F(
@@ -2512,9 +2512,9 @@ const lr = ({
2512
2512
  a.id
2513
2513
  ))
2514
2514
  },
2515
- l.id
2515
+ s.id
2516
2516
  )) }),
2517
- /* @__PURE__ */ w.jsx(cn, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((l, a) => /* @__PURE__ */ w.jsx(
2517
+ /* @__PURE__ */ C.jsx(cn, { children: t.getRowModel().rows.length ? t.getRowModel().rows.map((s, a) => /* @__PURE__ */ C.jsx(
2518
2518
  Te,
2519
2519
  {
2520
2520
  className: F(
@@ -2525,7 +2525,7 @@ const lr = ({
2525
2525
  },
2526
2526
  n == null ? void 0 : n.tableRow
2527
2527
  ),
2528
- children: l.getVisibleCells().map((d, f) => /* @__PURE__ */ w.jsx(
2528
+ children: s.getVisibleCells().map((d, f) => /* @__PURE__ */ C.jsx(
2529
2529
  ut,
2530
2530
  {
2531
2531
  className: F(
@@ -2541,10 +2541,10 @@ const lr = ({
2541
2541
  d.id
2542
2542
  ))
2543
2543
  },
2544
- l.id
2545
- )) : /* @__PURE__ */ w.jsx(Te, { children: /* @__PURE__ */ w.jsx(ut, { className: "py-4 text-center", colSpan: t.getAllColumns().length, children: i }) }) })
2544
+ s.id
2545
+ )) : /* @__PURE__ */ C.jsx(Te, { children: /* @__PURE__ */ C.jsx(ut, { className: "py-4 text-center", colSpan: t.getAllColumns().length, children: i }) }) })
2546
2546
  ] }),
2547
- s ? typeof r == "function" ? r(u) : /* @__PURE__ */ w.jsx(ur, { ...u }) : null
2547
+ l ? typeof r == "function" ? r(u) : /* @__PURE__ */ C.jsx(ur, { ...u }) : null
2548
2548
  ] });
2549
2549
  }, cr = ({
2550
2550
  mode: e,
@@ -2552,7 +2552,7 @@ const lr = ({
2552
2552
  table: t,
2553
2553
  classes: n,
2554
2554
  empty: r = "Not found"
2555
- }) => /* @__PURE__ */ w.jsx("div", { className: F("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((i) => /* @__PURE__ */ w.jsx(
2555
+ }) => /* @__PURE__ */ C.jsx("div", { className: F("w-full", n == null ? void 0 : n.table), children: t.getRowModel().rows.length ? t.getRowModel().rows.map((i) => /* @__PURE__ */ C.jsx(
2556
2556
  "div",
2557
2557
  {
2558
2558
  className: F(
@@ -2562,9 +2562,9 @@ const lr = ({
2562
2562
  },
2563
2563
  n == null ? void 0 : n.tableRow
2564
2564
  ),
2565
- children: i.getVisibleCells().map((s, u) => {
2566
- const l = t.getHeaderGroups()[0].headers[u];
2567
- return /* @__PURE__ */ w.jsxs(
2565
+ children: i.getVisibleCells().map((l, u) => {
2566
+ const s = t.getHeaderGroups()[0].headers[u];
2567
+ return /* @__PURE__ */ C.jsxs(
2568
2568
  "div",
2569
2569
  {
2570
2570
  className: F(
@@ -2576,32 +2576,32 @@ const lr = ({
2576
2576
  n == null ? void 0 : n.tableCell
2577
2577
  ),
2578
2578
  children: [
2579
- o && /* @__PURE__ */ w.jsx("p", { className: "font-bold", children: Ge(l.column.columnDef.header, l.getContext()) }),
2580
- /* @__PURE__ */ w.jsx("p", { children: Ge(s.column.columnDef.cell, s.getContext()) })
2579
+ o && /* @__PURE__ */ C.jsx("p", { className: "font-bold", children: Ge(s.column.columnDef.header, s.getContext()) }),
2580
+ /* @__PURE__ */ C.jsx("p", { children: Ge(l.column.columnDef.cell, l.getContext()) })
2581
2581
  ]
2582
2582
  },
2583
- s.id
2583
+ l.id
2584
2584
  );
2585
2585
  })
2586
2586
  },
2587
2587
  i.id
2588
- )) : /* @__PURE__ */ w.jsx("div", { children: r }) }), Si = ({
2588
+ )) : /* @__PURE__ */ C.jsx("div", { children: r }) }), Si = ({
2589
2589
  columns: e,
2590
2590
  data: o,
2591
2591
  enableHeaders: t = !0,
2592
2592
  mode: n = "solid",
2593
2593
  classes: r,
2594
2594
  pagination: i = !0,
2595
- empty: s,
2595
+ empty: l,
2596
2596
  pageSize: u = 10
2597
2597
  }) => {
2598
- const [l, a] = oe([]), [d, f] = oe([]), [g, c] = oe({
2598
+ const [s, a] = oe([]), [d, f] = oe([]), [g, c] = oe({
2599
2599
  pageIndex: 0,
2600
2600
  pageSize: u
2601
- }), p = sr({
2601
+ }), p = lr({
2602
2602
  data: o,
2603
2603
  columns: e,
2604
- state: { columnFilters: l, sorting: d, pagination: g },
2604
+ state: { columnFilters: s, sorting: d, pagination: g },
2605
2605
  enableRowSelection: !0,
2606
2606
  onSortingChange: f,
2607
2607
  onColumnFiltersChange: a,
@@ -2613,25 +2613,25 @@ const lr = ({
2613
2613
  getFacetedUniqueValues: Zo(),
2614
2614
  getPaginationRowModel: tr()
2615
2615
  }), { isMobile: m } = qe();
2616
- return m ? /* @__PURE__ */ w.jsx(cr, { table: p, enableHeaders: t, empty: s, mode: n, classes: r }) : /* @__PURE__ */ w.jsx(ar, { table: p, enableHeaders: t, empty: s, mode: n, pagination: i, classes: r });
2616
+ return m ? /* @__PURE__ */ C.jsx(cr, { table: p, enableHeaders: t, empty: l, mode: n, classes: r }) : /* @__PURE__ */ C.jsx(ar, { table: p, enableHeaders: t, empty: l, mode: n, pagination: i, classes: r });
2617
2617
  };
2618
2618
  class wi {
2619
2619
  static getColumnHelper() {
2620
- return lo();
2620
+ return so();
2621
2621
  }
2622
2622
  static getColumns(o, t) {
2623
2623
  const {
2624
2624
  helper: n = this.getColumnHelper(),
2625
2625
  enableColumnFilter: r = !1,
2626
2626
  enableSorting: i = !1,
2627
- cellAccessor: s,
2627
+ cellAccessor: l,
2628
2628
  headerAccessor: u
2629
2629
  } = t || {};
2630
2630
  return Object.keys(o).map((a) => n.accessor(a, {
2631
2631
  header: (d) => {
2632
2632
  const { column: f } = d, g = u ? u[a] : null;
2633
- return /* @__PURE__ */ w.jsx(
2634
- so,
2633
+ return /* @__PURE__ */ C.jsx(
2634
+ lo,
2635
2635
  {
2636
2636
  isSorted: f.getIsSorted() === "desc",
2637
2637
  nextSortingOrder: f.getNextSortingOrder(),
@@ -2642,19 +2642,19 @@ class wi {
2642
2642
  );
2643
2643
  },
2644
2644
  cell: (d) => {
2645
- const f = s ? s[a] : null;
2645
+ const f = l ? l[a] : null;
2646
2646
  return f ? f(d) : d.getValue();
2647
2647
  },
2648
- enableColumnFilter: Nt.isBoolean(r) ? r : r.includes(a),
2649
- enableSorting: Nt.isBoolean(i) ? i : i.includes(a)
2648
+ enableColumnFilter: Tt.isBoolean(r) ? r : r.includes(a),
2649
+ enableSorting: Tt.isBoolean(i) ? i : i.includes(a)
2650
2650
  }));
2651
2651
  }
2652
2652
  }
2653
2653
  const dr = ({ emblaApi: e, navigationHandler: o }) => {
2654
- const [t, n] = oe(!0), [r, i] = oe(!0), s = Se(
2655
- (l) => {
2654
+ const [t, n] = oe(!0), [r, i] = oe(!0), l = Se(
2655
+ (s) => {
2656
2656
  if (e) {
2657
- switch (l) {
2657
+ switch (s) {
2658
2658
  case "prev":
2659
2659
  e.scrollPrev();
2660
2660
  break;
@@ -2666,30 +2666,30 @@ const dr = ({ emblaApi: e, navigationHandler: o }) => {
2666
2666
  }
2667
2667
  },
2668
2668
  [e, o]
2669
- ), u = Se((l) => {
2670
- n(!l.canScrollPrev()), i(!l.canScrollNext());
2669
+ ), u = Se((s) => {
2670
+ n(!s.canScrollPrev()), i(!s.canScrollNext());
2671
2671
  }, []);
2672
2672
  return ve(() => {
2673
2673
  e && (u(e), e.on("reInit", u).on("select", u));
2674
2674
  }, [e, u]), {
2675
2675
  prevBtnDisabled: t,
2676
2676
  nextBtnDisabled: r,
2677
- onClickNavigationButton: s
2677
+ onClickNavigationButton: l
2678
2678
  };
2679
2679
  }, gr = ({ emblaApi: e, navigationHandler: o, setVisibleIndex: t }) => {
2680
2680
  const [n, r] = oe([]), i = Se(
2681
- (l) => {
2682
- e && (e.scrollTo(l), o && o(e));
2681
+ (s) => {
2682
+ e && (e.scrollTo(s), o && o(e));
2683
2683
  },
2684
2684
  [e, o]
2685
- ), s = Se((l) => {
2686
- r(l.scrollSnapList());
2687
- }, []), u = Se((l) => {
2688
- t(l.selectedScrollSnap());
2685
+ ), l = Se((s) => {
2686
+ r(s.scrollSnapList());
2687
+ }, []), u = Se((s) => {
2688
+ t(s.selectedScrollSnap());
2689
2689
  }, []);
2690
2690
  return ve(() => {
2691
- e && (s(e), u(e), e.on("reInit", s).on("reInit", u).on("select", u));
2692
- }, [e, s, u]), {
2691
+ e && (l(e), u(e), e.on("reInit", l).on("reInit", u).on("select", u));
2692
+ }, [e, l, u]), {
2693
2693
  scrollSnaps: n,
2694
2694
  onClickDot: i
2695
2695
  };
@@ -2714,7 +2714,7 @@ function mr(e, o) {
2714
2714
  return o && o(t) || t;
2715
2715
  }
2716
2716
  function xt(e = {}) {
2717
- let o, t, n, r, i = null, s = 0, u = !1, l = !1, a = !1, d = !1;
2717
+ let o, t, n, r, i = null, l = 0, u = !1, s = !1, a = !1, d = !1;
2718
2718
  function f(E, j) {
2719
2719
  t = E;
2720
2720
  const {
@@ -2736,17 +2736,17 @@ function xt(e = {}) {
2736
2736
  const {
2737
2737
  ownerWindow: E
2738
2738
  } = t.internalEngine();
2739
- E.clearTimeout(s), s = E.setTimeout($, r[t.selectedScrollSnap()]), i = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
2739
+ E.clearTimeout(l), l = E.setTimeout(b, r[t.selectedScrollSnap()]), i = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
2740
2740
  }
2741
2741
  function p() {
2742
2742
  const {
2743
2743
  ownerWindow: E
2744
2744
  } = t.internalEngine();
2745
- E.clearTimeout(s), s = 0, i = null, t.emit("autoplay:timerstopped");
2745
+ E.clearTimeout(l), l = 0, i = null, t.emit("autoplay:timerstopped");
2746
2746
  }
2747
2747
  function m() {
2748
2748
  if (!n) {
2749
- if (C()) {
2749
+ if (w()) {
2750
2750
  a = !0;
2751
2751
  return;
2752
2752
  }
@@ -2757,48 +2757,48 @@ function xt(e = {}) {
2757
2757
  n || (u && t.emit("autoplay:stop"), p(), u = !1);
2758
2758
  }
2759
2759
  function h() {
2760
- if (C())
2760
+ if (w())
2761
2761
  return a = u, S();
2762
2762
  a && m();
2763
2763
  }
2764
- function C() {
2764
+ function w() {
2765
2765
  const {
2766
2766
  ownerDocument: E
2767
2767
  } = t.internalEngine();
2768
2768
  return E.visibilityState === "hidden";
2769
2769
  }
2770
2770
  function v() {
2771
- l || S();
2771
+ s || S();
2772
2772
  }
2773
2773
  function _() {
2774
- l || m();
2774
+ s || m();
2775
2775
  }
2776
2776
  function I() {
2777
- l = !0, S();
2777
+ s = !0, S();
2778
2778
  }
2779
2779
  function V() {
2780
- l = !1, m();
2780
+ s = !1, m();
2781
2781
  }
2782
2782
  function M(E) {
2783
2783
  typeof E < "u" && (d = E), m();
2784
2784
  }
2785
- function b() {
2785
+ function P() {
2786
2786
  u && S();
2787
2787
  }
2788
- function P() {
2788
+ function $() {
2789
2789
  u && m();
2790
2790
  }
2791
2791
  function L() {
2792
2792
  return u;
2793
2793
  }
2794
- function $() {
2794
+ function b() {
2795
2795
  const {
2796
2796
  index: E
2797
2797
  } = t.internalEngine(), j = E.clone().add(1).get(), U = t.scrollSnapList().length - 1, K = o.stopOnLastSnap && j === U;
2798
2798
  if (t.canScrollNext() ? t.scrollNext(d) : t.scrollTo(0, d), t.emit("autoplay:select"), K) return S();
2799
2799
  m();
2800
2800
  }
2801
- function N() {
2801
+ function T() {
2802
2802
  if (!i) return null;
2803
2803
  const E = r[t.selectedScrollSnap()], j = (/* @__PURE__ */ new Date()).getTime() - i;
2804
2804
  return E - j;
@@ -2809,10 +2809,10 @@ function xt(e = {}) {
2809
2809
  init: f,
2810
2810
  destroy: g,
2811
2811
  play: M,
2812
- stop: b,
2813
- reset: P,
2812
+ stop: P,
2813
+ reset: $,
2814
2814
  isPlaying: L,
2815
- timeUntilNext: N
2815
+ timeUntilNext: T
2816
2816
  };
2817
2817
  }
2818
2818
  xt.globalOptions = void 0;
@@ -2829,9 +2829,9 @@ function yt(e, o) {
2829
2829
  const t = Object.keys(e), n = Object.keys(o);
2830
2830
  if (t.length !== n.length) return !1;
2831
2831
  const r = JSON.stringify(Object.keys(e.breakpoints || {})), i = JSON.stringify(Object.keys(o.breakpoints || {}));
2832
- return r !== i ? !1 : t.every((s) => {
2833
- const u = e[s], l = o[s];
2834
- return typeof u == "function" ? `${u}` == `${l}` : !Gt(u) || !Gt(l) ? u === l : yt(u, l);
2832
+ return r !== i ? !1 : t.every((l) => {
2833
+ const u = e[l], s = o[l];
2834
+ return typeof u == "function" ? `${u}` == `${s}` : !Gt(u) || !Gt(s) ? u === s : yt(u, s);
2835
2835
  });
2836
2836
  }
2837
2837
  function zt(e) {
@@ -2841,8 +2841,8 @@ function wr(e, o) {
2841
2841
  if (e.length !== o.length) return !1;
2842
2842
  const t = zt(e), n = zt(o);
2843
2843
  return t.every((r, i) => {
2844
- const s = n[i];
2845
- return yt(r, s);
2844
+ const l = n[i];
2845
+ return yt(r, l);
2846
2846
  });
2847
2847
  }
2848
2848
  function Ft(e) {
@@ -2854,7 +2854,7 @@ function pt(e) {
2854
2854
  function Xe(e) {
2855
2855
  return typeof e == "boolean";
2856
2856
  }
2857
- function Bt(e) {
2857
+ function kt(e) {
2858
2858
  return Object.prototype.toString.call(e) === "[object Object]";
2859
2859
  }
2860
2860
  function A(e) {
@@ -2878,15 +2878,15 @@ function Pe(e) {
2878
2878
  return $e(e).map(Number);
2879
2879
  }
2880
2880
  function ee(e) {
2881
- return e[De(e)];
2881
+ return e[Ee(e)];
2882
2882
  }
2883
- function De(e) {
2883
+ function Ee(e) {
2884
2884
  return Math.max(0, e.length - 1);
2885
2885
  }
2886
2886
  function It(e, o) {
2887
- return o === De(e);
2887
+ return o === Ee(e);
2888
2888
  }
2889
- function kt(e, o = 0) {
2889
+ function Bt(e, o = 0) {
2890
2890
  return Array.from(Array(e), (t, n) => o + n);
2891
2891
  }
2892
2892
  function $e(e) {
@@ -2894,8 +2894,8 @@ function $e(e) {
2894
2894
  }
2895
2895
  function xn(e, o) {
2896
2896
  return [e, o].reduce((t, n) => ($e(n).forEach((r) => {
2897
- const i = t[r], s = n[r], u = Bt(i) && Bt(s);
2898
- t[r] = u ? xn(i, s) : s;
2897
+ const i = t[r], l = n[r], u = kt(i) && kt(l);
2898
+ t[r] = u ? xn(i, l) : l;
2899
2899
  }), t), {});
2900
2900
  }
2901
2901
  function mt(e, o) {
@@ -2910,32 +2910,32 @@ function Rr(e, o) {
2910
2910
  function n() {
2911
2911
  return 0;
2912
2912
  }
2913
- function r(l) {
2914
- return i(l) / 2;
2913
+ function r(s) {
2914
+ return i(s) / 2;
2915
2915
  }
2916
- function i(l) {
2917
- return o - l;
2916
+ function i(s) {
2917
+ return o - s;
2918
2918
  }
2919
- function s(l, a) {
2920
- return pt(e) ? t[e](l) : e(o, l, a);
2919
+ function l(s, a) {
2920
+ return pt(e) ? t[e](s) : e(o, s, a);
2921
2921
  }
2922
2922
  return {
2923
- measure: s
2923
+ measure: l
2924
2924
  };
2925
2925
  }
2926
- function Ee() {
2926
+ function be() {
2927
2927
  let e = [];
2928
- function o(r, i, s, u = {
2928
+ function o(r, i, l, u = {
2929
2929
  passive: !0
2930
2930
  }) {
2931
- let l;
2931
+ let s;
2932
2932
  if ("addEventListener" in r)
2933
- r.addEventListener(i, s, u), l = () => r.removeEventListener(i, s, u);
2933
+ r.addEventListener(i, l, u), s = () => r.removeEventListener(i, l, u);
2934
2934
  else {
2935
2935
  const a = r;
2936
- a.addListener(s), l = () => a.removeListener(s);
2936
+ a.addListener(l), s = () => a.removeListener(l);
2937
2937
  }
2938
- return e.push(l), n;
2938
+ return e.push(s), n;
2939
2939
  }
2940
2940
  function t() {
2941
2941
  e = e.filter((r) => r());
@@ -2947,8 +2947,8 @@ function Ee() {
2947
2947
  return n;
2948
2948
  }
2949
2949
  function xr(e, o, t, n) {
2950
- const r = Ee(), i = 1e3 / 60;
2951
- let s = null, u = 0, l = 0;
2950
+ const r = be(), i = 1e3 / 60;
2951
+ let l = null, u = 0, s = 0;
2952
2952
  function a() {
2953
2953
  r.add(e, "visibilitychange", () => {
2954
2954
  e.hidden && p();
@@ -2958,22 +2958,22 @@ function xr(e, o, t, n) {
2958
2958
  c(), r.clear();
2959
2959
  }
2960
2960
  function f(S) {
2961
- if (!l) return;
2962
- s || (s = S, t(), t());
2963
- const h = S - s;
2964
- for (s = S, u += h; u >= i; )
2961
+ if (!s) return;
2962
+ l || (l = S, t(), t());
2963
+ const h = S - l;
2964
+ for (l = S, u += h; u >= i; )
2965
2965
  t(), u -= i;
2966
- const C = u / i;
2967
- n(C), l && (l = o.requestAnimationFrame(f));
2966
+ const w = u / i;
2967
+ n(w), s && (s = o.requestAnimationFrame(f));
2968
2968
  }
2969
2969
  function g() {
2970
- l || (l = o.requestAnimationFrame(f));
2970
+ s || (s = o.requestAnimationFrame(f));
2971
2971
  }
2972
2972
  function c() {
2973
- o.cancelAnimationFrame(l), s = null, u = 0, l = 0;
2973
+ o.cancelAnimationFrame(s), l = null, u = 0, s = 0;
2974
2974
  }
2975
2975
  function p() {
2976
- s = null, u = 0;
2976
+ l = null, u = 0;
2977
2977
  }
2978
2978
  return {
2979
2979
  init: a,
@@ -2985,7 +2985,7 @@ function xr(e, o, t, n) {
2985
2985
  };
2986
2986
  }
2987
2987
  function yr(e, o) {
2988
- const t = o === "rtl", n = e === "y", r = n ? "y" : "x", i = n ? "x" : "y", s = !n && t ? -1 : 1, u = d(), l = f();
2988
+ const t = o === "rtl", n = e === "y", r = n ? "y" : "x", i = n ? "x" : "y", l = !n && t ? -1 : 1, u = d(), s = f();
2989
2989
  function a(p) {
2990
2990
  const {
2991
2991
  height: m,
@@ -3000,13 +3000,13 @@ function yr(e, o) {
3000
3000
  return n ? "bottom" : t ? "left" : "right";
3001
3001
  }
3002
3002
  function g(p) {
3003
- return p * s;
3003
+ return p * l;
3004
3004
  }
3005
3005
  return {
3006
3006
  scroll: r,
3007
3007
  cross: i,
3008
3008
  startEdge: u,
3009
- endEdge: l,
3009
+ endEdge: s,
3010
3010
  measureSize: a,
3011
3011
  direction: g
3012
3012
  };
@@ -3022,7 +3022,7 @@ function we(e = 0, o = 0) {
3022
3022
  function i(a) {
3023
3023
  return n(a) || r(a);
3024
3024
  }
3025
- function s(a) {
3025
+ function l(a) {
3026
3026
  return i(a) ? n(a) ? e : o : a;
3027
3027
  }
3028
3028
  function u(a) {
@@ -3032,7 +3032,7 @@ function we(e = 0, o = 0) {
3032
3032
  length: t,
3033
3033
  max: o,
3034
3034
  min: e,
3035
- constrain: s,
3035
+ constrain: l,
3036
3036
  reachedAny: i,
3037
3037
  reachedMax: r,
3038
3038
  reachedMin: n,
@@ -3043,15 +3043,15 @@ function yn(e, o, t) {
3043
3043
  const {
3044
3044
  constrain: n
3045
3045
  } = we(0, e), r = e + 1;
3046
- let i = s(o);
3047
- function s(g) {
3046
+ let i = l(o);
3047
+ function l(g) {
3048
3048
  return t ? A((r + g) % r) : n(g);
3049
3049
  }
3050
3050
  function u() {
3051
3051
  return i;
3052
3052
  }
3053
- function l(g) {
3054
- return i = s(g), f;
3053
+ function s(g) {
3054
+ return i = l(g), f;
3055
3055
  }
3056
3056
  function a(g) {
3057
3057
  return d().set(u() + g);
@@ -3061,71 +3061,71 @@ function yn(e, o, t) {
3061
3061
  }
3062
3062
  const f = {
3063
3063
  get: u,
3064
- set: l,
3064
+ set: s,
3065
3065
  add: a,
3066
3066
  clone: d
3067
3067
  };
3068
3068
  return f;
3069
3069
  }
3070
- function Fr(e, o, t, n, r, i, s, u, l, a, d, f, g, c, p, m, S, h, C) {
3070
+ function Fr(e, o, t, n, r, i, l, u, s, a, d, f, g, c, p, m, S, h, w) {
3071
3071
  const {
3072
3072
  cross: v,
3073
3073
  direction: _
3074
3074
  } = e, I = ["INPUT", "SELECT", "TEXTAREA"], V = {
3075
3075
  passive: !1
3076
- }, M = Ee(), b = Ee(), P = we(50, 225).constrain(c.measure(20)), L = {
3076
+ }, M = be(), P = be(), $ = we(50, 225).constrain(c.measure(20)), L = {
3077
3077
  mouse: 300,
3078
3078
  touch: 400
3079
- }, $ = {
3079
+ }, b = {
3080
3080
  mouse: 500,
3081
3081
  touch: 600
3082
- }, N = p ? 43 : 25;
3083
- let B = !1, E = 0, j = 0, U = !1, K = !1, J = !1, Y = !1;
3082
+ }, T = p ? 43 : 25;
3083
+ let k = !1, E = 0, j = 0, U = !1, K = !1, J = !1, Y = !1;
3084
3084
  function te(R) {
3085
- if (!C) return;
3085
+ if (!w) return;
3086
3086
  function D(z) {
3087
- (Xe(C) || C(R, z)) && xe(z);
3087
+ (Xe(w) || w(R, z)) && xe(z);
3088
3088
  }
3089
- const T = o;
3090
- M.add(T, "dragstart", (z) => z.preventDefault(), V).add(T, "touchmove", () => {
3091
- }, V).add(T, "touchend", () => {
3092
- }).add(T, "touchstart", D).add(T, "mousedown", D).add(T, "touchcancel", G).add(T, "contextmenu", G).add(T, "click", le, !0);
3089
+ const N = o;
3090
+ M.add(N, "dragstart", (z) => z.preventDefault(), V).add(N, "touchmove", () => {
3091
+ }, V).add(N, "touchend", () => {
3092
+ }).add(N, "touchstart", D).add(N, "mousedown", D).add(N, "touchcancel", G).add(N, "contextmenu", G).add(N, "click", se, !0);
3093
3093
  }
3094
3094
  function X() {
3095
- M.clear(), b.clear();
3095
+ M.clear(), P.clear();
3096
3096
  }
3097
3097
  function re() {
3098
3098
  const R = Y ? t : o;
3099
- b.add(R, "touchmove", k, V).add(R, "touchend", G).add(R, "mousemove", k, V).add(R, "mouseup", G);
3099
+ P.add(R, "touchmove", B, V).add(R, "touchend", G).add(R, "mousemove", B, V).add(R, "mouseup", G);
3100
3100
  }
3101
3101
  function ie(R) {
3102
3102
  const D = R.nodeName || "";
3103
3103
  return I.includes(D);
3104
3104
  }
3105
- function se() {
3106
- return (p ? $ : L)[Y ? "mouse" : "touch"];
3105
+ function le() {
3106
+ return (p ? b : L)[Y ? "mouse" : "touch"];
3107
3107
  }
3108
3108
  function Re(R, D) {
3109
- const T = f.add(_t(R) * -1), z = d.byDistance(R, !p).distance;
3110
- return p || A(R) < P ? z : S && D ? z * 0.5 : d.byIndex(T.get(), 0).distance;
3109
+ const N = f.add(_t(R) * -1), z = d.byDistance(R, !p).distance;
3110
+ return p || A(R) < $ ? z : S && D ? z * 0.5 : d.byIndex(N.get(), 0).distance;
3111
3111
  }
3112
3112
  function xe(R) {
3113
3113
  const D = mt(R, n);
3114
- Y = D, J = p && D && !R.buttons && B, B = Ve(r.get(), s.get()) >= 2, !(D && R.button !== 0) && (ie(R.target) || (U = !0, i.pointerDown(R), a.useFriction(0).useDuration(0), r.set(s), re(), E = i.readPoint(R), j = i.readPoint(R, v), g.emit("pointerDown")));
3114
+ Y = D, J = p && D && !R.buttons && k, k = Ve(r.get(), l.get()) >= 2, !(D && R.button !== 0) && (ie(R.target) || (U = !0, i.pointerDown(R), a.useFriction(0).useDuration(0), r.set(l), re(), E = i.readPoint(R), j = i.readPoint(R, v), g.emit("pointerDown")));
3115
3115
  }
3116
- function k(R) {
3116
+ function B(R) {
3117
3117
  if (!mt(R, n) && R.touches.length >= 2) return G(R);
3118
- const T = i.readPoint(R), z = i.readPoint(R, v), ne = Ve(T, E), ue = Ve(z, j);
3118
+ const N = i.readPoint(R), z = i.readPoint(R, v), ne = Ve(N, E), ue = Ve(z, j);
3119
3119
  if (!K && !Y && (!R.cancelable || (K = ne > ue, !K)))
3120
3120
  return G(R);
3121
3121
  const me = i.pointerMove(R);
3122
3122
  ne > m && (J = !0), a.useFriction(0.3).useDuration(0.75), u.start(), r.add(_(me)), R.preventDefault();
3123
3123
  }
3124
3124
  function G(R) {
3125
- const T = d.byDistance(0, !1).index !== f.get(), z = i.pointerUp(R) * se(), ne = Re(_(z), T), ue = Cr(z, ne), me = N - 10 * ue, de = h + ue / 50;
3126
- K = !1, U = !1, b.clear(), a.useDuration(me).useFriction(de), l.distance(ne, !p), Y = !1, g.emit("pointerUp");
3125
+ const N = d.byDistance(0, !1).index !== f.get(), z = i.pointerUp(R) * le(), ne = Re(_(z), N), ue = Cr(z, ne), me = T - 10 * ue, de = h + ue / 50;
3126
+ K = !1, U = !1, P.clear(), a.useDuration(me).useFriction(de), s.distance(ne, !p), Y = !1, g.emit("pointerUp");
3127
3127
  }
3128
- function le(R) {
3128
+ function se(R) {
3129
3129
  J && (R.stopPropagation(), R.preventDefault(), J = !1);
3130
3130
  }
3131
3131
  function W() {
@@ -3142,27 +3142,27 @@ function _r(e, o) {
3142
3142
  function i(f) {
3143
3143
  return f.timeStamp;
3144
3144
  }
3145
- function s(f, g) {
3145
+ function l(f, g) {
3146
3146
  const p = `client${(g || e.scroll) === "x" ? "X" : "Y"}`;
3147
3147
  return (mt(f, o) ? f : f.touches[0])[p];
3148
3148
  }
3149
3149
  function u(f) {
3150
- return n = f, r = f, s(f);
3150
+ return n = f, r = f, l(f);
3151
3151
  }
3152
- function l(f) {
3153
- const g = s(f) - s(r), c = i(f) - i(n) > 170;
3152
+ function s(f) {
3153
+ const g = l(f) - l(r), c = i(f) - i(n) > 170;
3154
3154
  return r = f, c && (n = f), g;
3155
3155
  }
3156
3156
  function a(f) {
3157
3157
  if (!n || !r) return 0;
3158
- const g = s(r) - s(n), c = i(f) - i(n), p = i(f) - i(r) > 170, m = g / c;
3158
+ const g = l(r) - l(n), c = i(f) - i(n), p = i(f) - i(r) > 170, m = g / c;
3159
3159
  return c && !p && A(m) > 0.1 ? m : 0;
3160
3160
  }
3161
3161
  return {
3162
3162
  pointerDown: u,
3163
- pointerMove: l,
3163
+ pointerMove: s,
3164
3164
  pointerUp: a,
3165
- readPoint: s
3165
+ readPoint: l
3166
3166
  };
3167
3167
  }
3168
3168
  function Ir() {
@@ -3171,15 +3171,15 @@ function Ir() {
3171
3171
  offsetTop: n,
3172
3172
  offsetLeft: r,
3173
3173
  offsetWidth: i,
3174
- offsetHeight: s
3174
+ offsetHeight: l
3175
3175
  } = t;
3176
3176
  return {
3177
3177
  top: n,
3178
3178
  right: r + i,
3179
- bottom: n + s,
3179
+ bottom: n + l,
3180
3180
  left: r,
3181
3181
  width: i,
3182
- height: s
3182
+ height: l
3183
3183
  };
3184
3184
  }
3185
3185
  return {
@@ -3194,17 +3194,17 @@ function Mr(e) {
3194
3194
  measure: o
3195
3195
  };
3196
3196
  }
3197
- function Vr(e, o, t, n, r, i, s) {
3197
+ function Vr(e, o, t, n, r, i, l) {
3198
3198
  const u = [e].concat(n);
3199
- let l, a, d = [], f = !1;
3199
+ let s, a, d = [], f = !1;
3200
3200
  function g(S) {
3201
- return r.measureSize(s.measure(S));
3201
+ return r.measureSize(l.measure(S));
3202
3202
  }
3203
3203
  function c(S) {
3204
3204
  if (!i) return;
3205
3205
  a = g(e), d = n.map(g);
3206
- function h(C) {
3207
- for (const v of C) {
3206
+ function h(w) {
3207
+ for (const v of w) {
3208
3208
  if (f) return;
3209
3209
  const _ = v.target === e, I = n.indexOf(v.target), V = _ ? a : d[I], M = g(_ ? e : n[I]);
3210
3210
  if (A(M - V) >= 0.5) {
@@ -3213,48 +3213,48 @@ function Vr(e, o, t, n, r, i, s) {
3213
3213
  }
3214
3214
  }
3215
3215
  }
3216
- l = new ResizeObserver((C) => {
3217
- (Xe(i) || i(S, C)) && h(C);
3216
+ s = new ResizeObserver((w) => {
3217
+ (Xe(i) || i(S, w)) && h(w);
3218
3218
  }), t.requestAnimationFrame(() => {
3219
- u.forEach((C) => l.observe(C));
3219
+ u.forEach((w) => s.observe(w));
3220
3220
  });
3221
3221
  }
3222
3222
  function p() {
3223
- f = !0, l && l.disconnect();
3223
+ f = !0, s && s.disconnect();
3224
3224
  }
3225
3225
  return {
3226
3226
  init: c,
3227
3227
  destroy: p
3228
3228
  };
3229
3229
  }
3230
- function br(e, o, t, n, r, i) {
3231
- let s = 0, u = 0, l = r, a = i, d = e.get(), f = 0;
3230
+ function Pr(e, o, t, n, r, i) {
3231
+ let l = 0, u = 0, s = r, a = i, d = e.get(), f = 0;
3232
3232
  function g() {
3233
- const V = n.get() - e.get(), M = !l;
3234
- let b = 0;
3235
- return M ? (s = 0, t.set(n), e.set(n), b = V) : (t.set(e), s += V / l, s *= a, d += s, e.add(s), b = d - f), u = _t(b), f = d, I;
3233
+ const V = n.get() - e.get(), M = !s;
3234
+ let P = 0;
3235
+ return M ? (l = 0, t.set(n), e.set(n), P = V) : (t.set(e), l += V / s, l *= a, d += l, e.add(l), P = d - f), u = _t(P), f = d, I;
3236
3236
  }
3237
3237
  function c() {
3238
3238
  const V = n.get() - o.get();
3239
3239
  return A(V) < 1e-3;
3240
3240
  }
3241
3241
  function p() {
3242
- return l;
3242
+ return s;
3243
3243
  }
3244
3244
  function m() {
3245
3245
  return u;
3246
3246
  }
3247
3247
  function S() {
3248
- return s;
3248
+ return l;
3249
3249
  }
3250
3250
  function h() {
3251
3251
  return v(r);
3252
3252
  }
3253
- function C() {
3253
+ function w() {
3254
3254
  return _(i);
3255
3255
  }
3256
3256
  function v(V) {
3257
- return l = V, I;
3257
+ return s = V, I;
3258
3258
  }
3259
3259
  function _(V) {
3260
3260
  return a = V, I;
@@ -3265,26 +3265,26 @@ function br(e, o, t, n, r, i) {
3265
3265
  velocity: S,
3266
3266
  seek: g,
3267
3267
  settled: c,
3268
- useBaseFriction: C,
3268
+ useBaseFriction: w,
3269
3269
  useBaseDuration: h,
3270
3270
  useFriction: _,
3271
3271
  useDuration: v
3272
3272
  };
3273
3273
  return I;
3274
3274
  }
3275
- function Pr(e, o, t, n, r) {
3276
- const i = r.measure(10), s = r.measure(50), u = we(0.1, 0.99);
3277
- let l = !1;
3275
+ function $r(e, o, t, n, r) {
3276
+ const i = r.measure(10), l = r.measure(50), u = we(0.1, 0.99);
3277
+ let s = !1;
3278
3278
  function a() {
3279
- return !(l || !e.reachedAny(t.get()) || !e.reachedAny(o.get()));
3279
+ return !(s || !e.reachedAny(t.get()) || !e.reachedAny(o.get()));
3280
3280
  }
3281
3281
  function d(c) {
3282
3282
  if (!a()) return;
3283
- const p = e.reachedMin(o.get()) ? "min" : "max", m = A(e[p] - o.get()), S = t.get() - o.get(), h = u.constrain(m / s);
3283
+ const p = e.reachedMin(o.get()) ? "min" : "max", m = A(e[p] - o.get()), S = t.get() - o.get(), h = u.constrain(m / l);
3284
3284
  t.subtract(S * h), !c && A(S) < i && (t.set(e.constrain(t.get())), n.useDuration(25).useBaseFriction());
3285
3285
  }
3286
3286
  function f(c) {
3287
- l = !c;
3287
+ s = !c;
3288
3288
  }
3289
3289
  return {
3290
3290
  shouldConstrain: a,
@@ -3292,13 +3292,13 @@ function Pr(e, o, t, n, r) {
3292
3292
  toggleActive: f
3293
3293
  };
3294
3294
  }
3295
- function $r(e, o, t, n, r) {
3296
- const i = we(-o + e, 0), s = f(), u = d(), l = g();
3295
+ function br(e, o, t, n, r) {
3296
+ const i = we(-o + e, 0), l = f(), u = d(), s = g();
3297
3297
  function a(p, m) {
3298
3298
  return Ve(p, m) <= 1;
3299
3299
  }
3300
3300
  function d() {
3301
- const p = s[0], m = ee(s), S = s.lastIndexOf(p), h = s.indexOf(m) + 1;
3301
+ const p = l[0], m = ee(l), S = l.lastIndexOf(p), h = l.indexOf(m) + 1;
3302
3302
  return we(S, h);
3303
3303
  }
3304
3304
  function f() {
@@ -3306,21 +3306,21 @@ function $r(e, o, t, n, r) {
3306
3306
  const {
3307
3307
  min: S,
3308
3308
  max: h
3309
- } = i, C = i.constrain(p), v = !m, _ = It(t, m);
3310
- return v ? h : _ || a(S, C) ? S : a(h, C) ? h : C;
3309
+ } = i, w = i.constrain(p), v = !m, _ = It(t, m);
3310
+ return v ? h : _ || a(S, w) ? S : a(h, w) ? h : w;
3311
3311
  }).map((p) => parseFloat(p.toFixed(3)));
3312
3312
  }
3313
3313
  function g() {
3314
3314
  if (o <= e + r) return [i.max];
3315
- if (n === "keepSnaps") return s;
3315
+ if (n === "keepSnaps") return l;
3316
3316
  const {
3317
3317
  min: p,
3318
3318
  max: m
3319
3319
  } = u;
3320
- return s.slice(p, m);
3320
+ return l.slice(p, m);
3321
3321
  }
3322
3322
  return {
3323
- snapsContained: l,
3323
+ snapsContained: s,
3324
3324
  scrollContainLimit: u
3325
3325
  };
3326
3326
  }
@@ -3331,12 +3331,12 @@ function Er(e, o, t) {
3331
3331
  };
3332
3332
  }
3333
3333
  function Dr(e, o, t, n) {
3334
- const i = o.min + 0.1, s = o.max + 0.1, {
3334
+ const i = o.min + 0.1, l = o.max + 0.1, {
3335
3335
  reachedMin: u,
3336
- reachedMax: l
3337
- } = we(i, s);
3336
+ reachedMax: s
3337
+ } = we(i, l);
3338
3338
  function a(g) {
3339
- return g === 1 ? l(t.get()) : g === -1 ? u(t.get()) : !1;
3339
+ return g === 1 ? s(t.get()) : g === -1 ? u(t.get()) : !1;
3340
3340
  }
3341
3341
  function d(g) {
3342
3342
  if (!a(g)) return;
@@ -3353,8 +3353,8 @@ function Lr(e) {
3353
3353
  length: t
3354
3354
  } = e;
3355
3355
  function n(i) {
3356
- const s = i - o;
3357
- return t ? s / -t : 0;
3356
+ const l = i - o;
3357
+ return t ? l / -t : 0;
3358
3358
  }
3359
3359
  return {
3360
3360
  get: n
@@ -3363,18 +3363,18 @@ function Lr(e) {
3363
3363
  function Or(e, o, t, n, r) {
3364
3364
  const {
3365
3365
  startEdge: i,
3366
- endEdge: s
3366
+ endEdge: l
3367
3367
  } = e, {
3368
3368
  groupSlides: u
3369
- } = r, l = f().map(o.measure), a = g(), d = c();
3369
+ } = r, s = f().map(o.measure), a = g(), d = c();
3370
3370
  function f() {
3371
- return u(n).map((m) => ee(m)[s] - m[0][i]).map(A);
3371
+ return u(n).map((m) => ee(m)[l] - m[0][i]).map(A);
3372
3372
  }
3373
3373
  function g() {
3374
3374
  return n.map((m) => t[i] - m[i]).map((m) => -A(m));
3375
3375
  }
3376
3376
  function c() {
3377
- return u(a).map((m) => m[0]).map((m, S) => m + l[S]);
3377
+ return u(a).map((m) => m[0]).map((m, S) => m + s[S]);
3378
3378
  }
3379
3379
  return {
3380
3380
  snaps: a,
@@ -3383,22 +3383,22 @@ function Or(e, o, t, n, r) {
3383
3383
  }
3384
3384
  function Ar(e, o, t, n, r, i) {
3385
3385
  const {
3386
- groupSlides: s
3386
+ groupSlides: l
3387
3387
  } = r, {
3388
3388
  min: u,
3389
- max: l
3389
+ max: s
3390
3390
  } = n, a = d();
3391
3391
  function d() {
3392
- const g = s(i), c = !e || o === "keepSnaps";
3393
- return t.length === 1 ? [i] : c ? g : g.slice(u, l).map((p, m, S) => {
3394
- const h = !m, C = It(S, m);
3392
+ const g = l(i), c = !e || o === "keepSnaps";
3393
+ return t.length === 1 ? [i] : c ? g : g.slice(u, s).map((p, m, S) => {
3394
+ const h = !m, w = It(S, m);
3395
3395
  if (h) {
3396
3396
  const v = ee(S[0]) + 1;
3397
- return kt(v);
3397
+ return Bt(v);
3398
3398
  }
3399
- if (C) {
3400
- const v = De(i) - ee(S)[0] + 1;
3401
- return kt(v, ee(S)[0]);
3399
+ if (w) {
3400
+ const v = Ee(i) - ee(S)[0] + 1;
3401
+ return Bt(v, ee(S)[0]);
3402
3402
  }
3403
3403
  return p;
3404
3404
  });
@@ -3407,20 +3407,20 @@ function Ar(e, o, t, n, r, i) {
3407
3407
  slideRegistry: a
3408
3408
  };
3409
3409
  }
3410
- function Nr(e, o, t, n, r) {
3410
+ function Tr(e, o, t, n, r) {
3411
3411
  const {
3412
3412
  reachedAny: i,
3413
- removeOffset: s,
3413
+ removeOffset: l,
3414
3414
  constrain: u
3415
3415
  } = n;
3416
- function l(p) {
3416
+ function s(p) {
3417
3417
  return p.concat().sort((m, S) => A(m) - A(S))[0];
3418
3418
  }
3419
3419
  function a(p) {
3420
- const m = e ? s(p) : u(p), S = o.map((C, v) => ({
3421
- diff: d(C - m, 0),
3420
+ const m = e ? l(p) : u(p), S = o.map((w, v) => ({
3421
+ diff: d(w - m, 0),
3422
3422
  index: v
3423
- })).sort((C, v) => A(C.diff) - A(v.diff)), {
3423
+ })).sort((w, v) => A(w.diff) - A(v.diff)), {
3424
3424
  index: h
3425
3425
  } = S[0];
3426
3426
  return {
@@ -3431,9 +3431,9 @@ function Nr(e, o, t, n, r) {
3431
3431
  function d(p, m) {
3432
3432
  const S = [p, p + t, p - t];
3433
3433
  if (!e) return p;
3434
- if (!m) return l(S);
3435
- const h = S.filter((C) => _t(C) === m);
3436
- return h.length ? l(h) : ee(S) - t;
3434
+ if (!m) return s(S);
3435
+ const h = S.filter((w) => _t(w) === m);
3436
+ return h.length ? s(h) : ee(S) - t;
3437
3437
  }
3438
3438
  function f(p, m) {
3439
3439
  const S = o[p] - r.get(), h = d(S, m);
@@ -3445,13 +3445,13 @@ function Nr(e, o, t, n, r) {
3445
3445
  function g(p, m) {
3446
3446
  const S = r.get() + p, {
3447
3447
  index: h,
3448
- distance: C
3448
+ distance: w
3449
3449
  } = a(S), v = !e && i(S);
3450
3450
  if (!m || v) return {
3451
3451
  index: h,
3452
3452
  distance: p
3453
3453
  };
3454
- const _ = o[h] - C, I = p + d(_, 0);
3454
+ const _ = o[h] - w, I = p + d(_, 0);
3455
3455
  return {
3456
3456
  index: h,
3457
3457
  distance: I
@@ -3463,12 +3463,12 @@ function Nr(e, o, t, n, r) {
3463
3463
  shortcut: d
3464
3464
  };
3465
3465
  }
3466
- function Tr(e, o, t, n, r, i, s) {
3466
+ function Nr(e, o, t, n, r, i, l) {
3467
3467
  function u(f) {
3468
3468
  const g = f.distance, c = f.index !== o.get();
3469
- i.add(g), g && (n.duration() ? e.start() : (e.update(), e.render(1), e.update())), c && (t.set(o.get()), o.set(f.index), s.emit("select"));
3469
+ i.add(g), g && (n.duration() ? e.start() : (e.update(), e.render(1), e.update())), c && (t.set(o.get()), o.set(f.index), l.emit("select"));
3470
3470
  }
3471
- function l(f, g) {
3471
+ function s(f, g) {
3472
3472
  const c = r.byDistance(f, g);
3473
3473
  u(c);
3474
3474
  }
@@ -3477,12 +3477,12 @@ function Tr(e, o, t, n, r, i, s) {
3477
3477
  u(p);
3478
3478
  }
3479
3479
  return {
3480
- distance: l,
3480
+ distance: s,
3481
3481
  index: a
3482
3482
  };
3483
3483
  }
3484
- function jr(e, o, t, n, r, i, s, u) {
3485
- const l = {
3484
+ function jr(e, o, t, n, r, i, l, u) {
3485
+ const s = {
3486
3486
  passive: !0,
3487
3487
  capture: !0
3488
3488
  };
@@ -3491,14 +3491,14 @@ function jr(e, o, t, n, r, i, s, u) {
3491
3491
  if (!u) return;
3492
3492
  function p(m) {
3493
3493
  if ((/* @__PURE__ */ new Date()).getTime() - a > 10) return;
3494
- s.emit("slideFocusStart"), e.scrollLeft = 0;
3495
- const C = t.findIndex((v) => v.includes(m));
3496
- Ft(C) && (r.useDuration(0), n.index(C, 0), s.emit("slideFocus"));
3494
+ l.emit("slideFocusStart"), e.scrollLeft = 0;
3495
+ const w = t.findIndex((v) => v.includes(m));
3496
+ Ft(w) && (r.useDuration(0), n.index(w, 0), l.emit("slideFocus"));
3497
3497
  }
3498
3498
  i.add(document, "keydown", f, !1), o.forEach((m, S) => {
3499
3499
  i.add(m, "focus", (h) => {
3500
3500
  (Xe(u) || u(c, h)) && p(S);
3501
- }, l);
3501
+ }, s);
3502
3502
  });
3503
3503
  }
3504
3504
  function f(c) {
@@ -3513,17 +3513,17 @@ function _e(e) {
3513
3513
  function t() {
3514
3514
  return o;
3515
3515
  }
3516
- function n(l) {
3517
- o = s(l);
3516
+ function n(s) {
3517
+ o = l(s);
3518
3518
  }
3519
- function r(l) {
3520
- o += s(l);
3519
+ function r(s) {
3520
+ o += l(s);
3521
3521
  }
3522
- function i(l) {
3523
- o -= s(l);
3522
+ function i(s) {
3523
+ o -= l(s);
3524
3524
  }
3525
- function s(l) {
3526
- return Ft(l) ? l : l.get();
3525
+ function l(s) {
3526
+ return Ft(s) ? s : s.get();
3527
3527
  }
3528
3528
  return {
3529
3529
  get: t,
@@ -3533,15 +3533,15 @@ function _e(e) {
3533
3533
  };
3534
3534
  }
3535
3535
  function Fn(e, o) {
3536
- const t = e.scroll === "x" ? s : u, n = o.style;
3536
+ const t = e.scroll === "x" ? l : u, n = o.style;
3537
3537
  let r = null, i = !1;
3538
- function s(g) {
3538
+ function l(g) {
3539
3539
  return `translate3d(${g}px,0px,0px)`;
3540
3540
  }
3541
3541
  function u(g) {
3542
3542
  return `translate3d(0px,${g}px,0px)`;
3543
3543
  }
3544
- function l(g) {
3544
+ function s(g) {
3545
3545
  if (i) return;
3546
3546
  const c = vr(e.direction(g));
3547
3547
  c !== r && (n.transform = t(c), r = c);
@@ -3554,61 +3554,61 @@ function Fn(e, o) {
3554
3554
  }
3555
3555
  return {
3556
3556
  clear: d,
3557
- to: l,
3557
+ to: s,
3558
3558
  toggleActive: a
3559
3559
  };
3560
3560
  }
3561
- function Hr(e, o, t, n, r, i, s, u, l) {
3562
- const d = Pe(r), f = Pe(r).reverse(), g = h().concat(C());
3563
- function c(M, b) {
3564
- return M.reduce((P, L) => P - r[L], b);
3561
+ function Hr(e, o, t, n, r, i, l, u, s) {
3562
+ const d = Pe(r), f = Pe(r).reverse(), g = h().concat(w());
3563
+ function c(M, P) {
3564
+ return M.reduce(($, L) => $ - r[L], P);
3565
3565
  }
3566
- function p(M, b) {
3567
- return M.reduce((P, L) => c(P, b) > 0 ? P.concat([L]) : P, []);
3566
+ function p(M, P) {
3567
+ return M.reduce(($, L) => c($, P) > 0 ? $.concat([L]) : $, []);
3568
3568
  }
3569
3569
  function m(M) {
3570
- return i.map((b, P) => ({
3571
- start: b - n[P] + 0.5 + M,
3572
- end: b + o - 0.5 + M
3570
+ return i.map((P, $) => ({
3571
+ start: P - n[$] + 0.5 + M,
3572
+ end: P + o - 0.5 + M
3573
3573
  }));
3574
3574
  }
3575
- function S(M, b, P) {
3576
- const L = m(b);
3577
- return M.map(($) => {
3578
- const N = P ? 0 : -t, B = P ? t : 0, E = P ? "end" : "start", j = L[$][E];
3575
+ function S(M, P, $) {
3576
+ const L = m(P);
3577
+ return M.map((b) => {
3578
+ const T = $ ? 0 : -t, k = $ ? t : 0, E = $ ? "end" : "start", j = L[b][E];
3579
3579
  return {
3580
- index: $,
3580
+ index: b,
3581
3581
  loopPoint: j,
3582
3582
  slideLocation: _e(-1),
3583
- translate: Fn(e, l[$]),
3584
- target: () => u.get() > j ? N : B
3583
+ translate: Fn(e, s[b]),
3584
+ target: () => u.get() > j ? T : k
3585
3585
  };
3586
3586
  });
3587
3587
  }
3588
3588
  function h() {
3589
- const M = s[0], b = p(f, M);
3590
- return S(b, t, !1);
3589
+ const M = l[0], P = p(f, M);
3590
+ return S(P, t, !1);
3591
3591
  }
3592
- function C() {
3593
- const M = o - s[0] - 1, b = p(d, M);
3594
- return S(b, -t, !0);
3592
+ function w() {
3593
+ const M = o - l[0] - 1, P = p(d, M);
3594
+ return S(P, -t, !0);
3595
3595
  }
3596
3596
  function v() {
3597
3597
  return g.every(({
3598
3598
  index: M
3599
3599
  }) => {
3600
- const b = d.filter((P) => P !== M);
3601
- return c(b, o) <= 0.1;
3600
+ const P = d.filter(($) => $ !== M);
3601
+ return c(P, o) <= 0.1;
3602
3602
  });
3603
3603
  }
3604
3604
  function _() {
3605
3605
  g.forEach((M) => {
3606
3606
  const {
3607
- target: b,
3608
- translate: P,
3607
+ target: P,
3608
+ translate: $,
3609
3609
  slideLocation: L
3610
- } = M, $ = b();
3611
- $ !== L.get() && (P.to($), L.set($));
3610
+ } = M, b = P();
3611
+ b !== L.get() && ($.to(b), L.set(b));
3612
3612
  });
3613
3613
  }
3614
3614
  function I() {
@@ -3623,59 +3623,59 @@ function Hr(e, o, t, n, r, i, s, u, l) {
3623
3623
  }
3624
3624
  function Gr(e, o, t) {
3625
3625
  let n, r = !1;
3626
- function i(l) {
3626
+ function i(s) {
3627
3627
  if (!t) return;
3628
3628
  function a(d) {
3629
3629
  for (const f of d)
3630
3630
  if (f.type === "childList") {
3631
- l.reInit(), o.emit("slidesChanged");
3631
+ s.reInit(), o.emit("slidesChanged");
3632
3632
  break;
3633
3633
  }
3634
3634
  }
3635
3635
  n = new MutationObserver((d) => {
3636
- r || (Xe(t) || t(l, d)) && a(d);
3636
+ r || (Xe(t) || t(s, d)) && a(d);
3637
3637
  }), n.observe(e, {
3638
3638
  childList: !0
3639
3639
  });
3640
3640
  }
3641
- function s() {
3641
+ function l() {
3642
3642
  n && n.disconnect(), r = !0;
3643
3643
  }
3644
3644
  return {
3645
3645
  init: i,
3646
- destroy: s
3646
+ destroy: l
3647
3647
  };
3648
3648
  }
3649
3649
  function zr(e, o, t, n) {
3650
3650
  const r = {};
3651
- let i = null, s = null, u, l = !1;
3651
+ let i = null, l = null, u, s = !1;
3652
3652
  function a() {
3653
3653
  u = new IntersectionObserver((p) => {
3654
- l || (p.forEach((m) => {
3654
+ s || (p.forEach((m) => {
3655
3655
  const S = o.indexOf(m.target);
3656
3656
  r[S] = m;
3657
- }), i = null, s = null, t.emit("slidesInView"));
3657
+ }), i = null, l = null, t.emit("slidesInView"));
3658
3658
  }, {
3659
3659
  root: e.parentElement,
3660
3660
  threshold: n
3661
3661
  }), o.forEach((p) => u.observe(p));
3662
3662
  }
3663
3663
  function d() {
3664
- u && u.disconnect(), l = !0;
3664
+ u && u.disconnect(), s = !0;
3665
3665
  }
3666
3666
  function f(p) {
3667
3667
  return $e(r).reduce((m, S) => {
3668
3668
  const h = parseInt(S), {
3669
- isIntersecting: C
3669
+ isIntersecting: w
3670
3670
  } = r[h];
3671
- return (p && C || !p && !C) && m.push(h), m;
3671
+ return (p && w || !p && !w) && m.push(h), m;
3672
3672
  }, []);
3673
3673
  }
3674
3674
  function g(p = !0) {
3675
3675
  if (p && i) return i;
3676
- if (!p && s) return s;
3676
+ if (!p && l) return l;
3677
3677
  const m = f(p);
3678
- return p && (i = m), p || (s = m), m;
3678
+ return p && (i = m), p || (l = m), m;
3679
3679
  }
3680
3680
  return {
3681
3681
  init: a,
@@ -3683,26 +3683,26 @@ function zr(e, o, t, n) {
3683
3683
  get: g
3684
3684
  };
3685
3685
  }
3686
- function Br(e, o, t, n, r, i) {
3686
+ function kr(e, o, t, n, r, i) {
3687
3687
  const {
3688
- measureSize: s,
3688
+ measureSize: l,
3689
3689
  startEdge: u,
3690
- endEdge: l
3691
- } = e, a = t[0] && r, d = p(), f = m(), g = t.map(s), c = S();
3690
+ endEdge: s
3691
+ } = e, a = t[0] && r, d = p(), f = m(), g = t.map(l), c = S();
3692
3692
  function p() {
3693
3693
  if (!a) return 0;
3694
- const C = t[0];
3695
- return A(o[u] - C[u]);
3694
+ const w = t[0];
3695
+ return A(o[u] - w[u]);
3696
3696
  }
3697
3697
  function m() {
3698
3698
  if (!a) return 0;
3699
- const C = i.getComputedStyle(ee(n));
3700
- return parseFloat(C.getPropertyValue(`margin-${l}`));
3699
+ const w = i.getComputedStyle(ee(n));
3700
+ return parseFloat(w.getPropertyValue(`margin-${s}`));
3701
3701
  }
3702
3702
  function S() {
3703
- return t.map((C, v, _) => {
3703
+ return t.map((w, v, _) => {
3704
3704
  const I = !v, V = It(_, v);
3705
- return I ? g[v] + d : V ? g[v] + f : _[v + 1][u] - C[u];
3705
+ return I ? g[v] + d : V ? g[v] + f : _[v + 1][u] - w[u];
3706
3706
  }).map(A);
3707
3707
  }
3708
3708
  return {
@@ -3712,22 +3712,22 @@ function Br(e, o, t, n, r, i) {
3712
3712
  endGap: f
3713
3713
  };
3714
3714
  }
3715
- function kr(e, o, t, n, r, i, s, u, l) {
3715
+ function Br(e, o, t, n, r, i, l, u, s) {
3716
3716
  const {
3717
3717
  startEdge: a,
3718
3718
  endEdge: d,
3719
3719
  direction: f
3720
3720
  } = e, g = Ft(t);
3721
- function c(h, C) {
3722
- return Pe(h).filter((v) => v % C === 0).map((v) => h.slice(v, v + C));
3721
+ function c(h, w) {
3722
+ return Pe(h).filter((v) => v % w === 0).map((v) => h.slice(v, v + w));
3723
3723
  }
3724
3724
  function p(h) {
3725
- return h.length ? Pe(h).reduce((C, v, _) => {
3726
- const I = ee(C) || 0, V = I === 0, M = v === De(h), b = r[a] - i[I][a], P = r[a] - i[v][d], L = !n && V ? f(s) : 0, $ = !n && M ? f(u) : 0, N = A(P - $ - (b + L));
3727
- return _ && N > o + l && C.push(v), M && C.push(h.length), C;
3728
- }, []).map((C, v, _) => {
3725
+ return h.length ? Pe(h).reduce((w, v, _) => {
3726
+ const I = ee(w) || 0, V = I === 0, M = v === Ee(h), P = r[a] - i[I][a], $ = r[a] - i[v][d], L = !n && V ? f(l) : 0, b = !n && M ? f(u) : 0, T = A($ - b - (P + L));
3727
+ return _ && T > o + s && w.push(v), M && w.push(h.length), w;
3728
+ }, []).map((w, v, _) => {
3729
3729
  const I = Math.max(_[v - 1] || 0);
3730
- return h.slice(I, C);
3730
+ return h.slice(I, w);
3731
3731
  }) : [];
3732
3732
  }
3733
3733
  function m(h) {
@@ -3737,10 +3737,10 @@ function kr(e, o, t, n, r, i, s, u, l) {
3737
3737
  groupSlides: m
3738
3738
  };
3739
3739
  }
3740
- function qr(e, o, t, n, r, i, s) {
3740
+ function qr(e, o, t, n, r, i, l) {
3741
3741
  const {
3742
3742
  align: u,
3743
- axis: l,
3743
+ axis: s,
3744
3744
  direction: a,
3745
3745
  startIndex: d,
3746
3746
  loop: f,
@@ -3750,91 +3750,91 @@ function qr(e, o, t, n, r, i, s) {
3750
3750
  inViewThreshold: m,
3751
3751
  slidesToScroll: S,
3752
3752
  skipSnaps: h,
3753
- containScroll: C,
3753
+ containScroll: w,
3754
3754
  watchResize: v,
3755
3755
  watchSlides: _,
3756
3756
  watchDrag: I,
3757
3757
  watchFocus: V
3758
- } = i, M = 2, b = Ir(), P = b.measure(o), L = t.map(b.measure), $ = yr(l, a), N = $.measureSize(P), B = Mr(N), E = Rr(u, N), j = !f && !!C, U = f || !!C, {
3758
+ } = i, M = 2, P = Ir(), $ = P.measure(o), L = t.map(P.measure), b = yr(s, a), T = b.measureSize($), k = Mr(T), E = Rr(u, T), j = !f && !!w, U = f || !!w, {
3759
3759
  slideSizes: K,
3760
3760
  slideSizesWithGaps: J,
3761
3761
  startGap: Y,
3762
3762
  endGap: te
3763
- } = Br($, P, L, t, U, r), X = kr($, N, S, f, P, L, Y, te, M), {
3763
+ } = kr(b, $, L, t, U, r), X = Br(b, T, S, f, $, L, Y, te, M), {
3764
3764
  snaps: re,
3765
3765
  snapsAligned: ie
3766
- } = Or($, E, P, L, X), se = -ee(re) + ee(J), {
3766
+ } = Or(b, E, $, L, X), le = -ee(re) + ee(J), {
3767
3767
  snapsContained: Re,
3768
3768
  scrollContainLimit: xe
3769
- } = $r(N, se, ie, C, M), k = j ? Re : ie, {
3769
+ } = br(T, le, ie, w, M), B = j ? Re : ie, {
3770
3770
  limit: G
3771
- } = Er(se, k, f), le = yn(De(k), d, f), W = le.clone(), O = Pe(t), R = ({
3771
+ } = Er(le, B, f), se = yn(Ee(B), d, f), W = se.clone(), O = Pe(t), R = ({
3772
3772
  dragHandler: Ce,
3773
3773
  scrollBody: Ye,
3774
3774
  scrollBounds: Ze,
3775
3775
  options: {
3776
- loop: Le
3776
+ loop: De
3777
3777
  }
3778
3778
  }) => {
3779
- Le || Ze.constrain(Ce.pointerDown()), Ye.seek();
3779
+ De || Ze.constrain(Ce.pointerDown()), Ye.seek();
3780
3780
  }, D = ({
3781
3781
  scrollBody: Ce,
3782
3782
  translate: Ye,
3783
3783
  location: Ze,
3784
- offsetLocation: Le,
3784
+ offsetLocation: De,
3785
3785
  previousLocation: Mn,
3786
3786
  scrollLooper: Vn,
3787
- slideLooper: bn,
3788
- dragHandler: Pn,
3789
- animation: $n,
3790
- eventHandler: $t,
3787
+ slideLooper: Pn,
3788
+ dragHandler: $n,
3789
+ animation: bn,
3790
+ eventHandler: bt,
3791
3791
  scrollBounds: En,
3792
3792
  options: {
3793
3793
  loop: Et
3794
3794
  }
3795
3795
  }, Dt) => {
3796
- const Lt = Ce.settled(), Dn = !En.shouldConstrain(), Ot = Et ? Lt : Lt && Dn, At = Ot && !Pn.pointerDown();
3797
- At && $n.stop();
3796
+ const Lt = Ce.settled(), Dn = !En.shouldConstrain(), Ot = Et ? Lt : Lt && Dn, At = Ot && !$n.pointerDown();
3797
+ At && bn.stop();
3798
3798
  const Ln = Ze.get() * Dt + Mn.get() * (1 - Dt);
3799
- Le.set(Ln), Et && (Vn.loop(Ce.direction()), bn.loop()), Ye.to(Le.get()), At && $t.emit("settle"), Ot || $t.emit("scroll");
3800
- }, T = xr(n, r, () => R(Je), (Ce) => D(Je, Ce)), z = 0.68, ne = k[le.get()], ue = _e(ne), me = _e(ne), de = _e(ne), he = _e(ne), ye = br(ue, de, me, he, g, z), We = Nr(f, k, se, G, he), Qe = Tr(T, le, W, ye, We, he, s), Vt = Lr(G), bt = Ee(), _n = zr(o, t, s, m), {
3801
- slideRegistry: Pt
3802
- } = Ar(j, C, k, xe, X, O), In = jr(e, t, Pt, Qe, ye, bt, s, V), Je = {
3799
+ De.set(Ln), Et && (Vn.loop(Ce.direction()), Pn.loop()), Ye.to(De.get()), At && bt.emit("settle"), Ot || bt.emit("scroll");
3800
+ }, N = xr(n, r, () => R(Je), (Ce) => D(Je, Ce)), z = 0.68, ne = B[se.get()], ue = _e(ne), me = _e(ne), de = _e(ne), he = _e(ne), ye = Pr(ue, de, me, he, g, z), We = Tr(f, B, le, G, he), Qe = Nr(N, se, W, ye, We, he, l), Vt = Lr(G), Pt = be(), _n = zr(o, t, l, m), {
3801
+ slideRegistry: $t
3802
+ } = Ar(j, w, B, xe, X, O), In = jr(e, t, $t, Qe, ye, Pt, l, V), Je = {
3803
3803
  ownerDocument: n,
3804
3804
  ownerWindow: r,
3805
- eventHandler: s,
3806
- containerRect: P,
3805
+ eventHandler: l,
3806
+ containerRect: $,
3807
3807
  slideRects: L,
3808
- animation: T,
3809
- axis: $,
3810
- dragHandler: Fr($, e, n, r, he, _r($, r), ue, T, Qe, ye, We, le, s, B, c, p, h, z, I),
3811
- eventStore: bt,
3812
- percentOfView: B,
3813
- index: le,
3808
+ animation: N,
3809
+ axis: b,
3810
+ dragHandler: Fr(b, e, n, r, he, _r(b, r), ue, N, Qe, ye, We, se, l, k, c, p, h, z, I),
3811
+ eventStore: Pt,
3812
+ percentOfView: k,
3813
+ index: se,
3814
3814
  indexPrevious: W,
3815
3815
  limit: G,
3816
3816
  location: ue,
3817
3817
  offsetLocation: de,
3818
3818
  previousLocation: me,
3819
3819
  options: i,
3820
- resizeHandler: Vr(o, s, r, t, $, v, b),
3820
+ resizeHandler: Vr(o, l, r, t, b, v, P),
3821
3821
  scrollBody: ye,
3822
- scrollBounds: Pr(G, de, he, ye, B),
3823
- scrollLooper: Dr(se, G, de, [ue, de, me, he]),
3822
+ scrollBounds: $r(G, de, he, ye, k),
3823
+ scrollLooper: Dr(le, G, de, [ue, de, me, he]),
3824
3824
  scrollProgress: Vt,
3825
- scrollSnapList: k.map(Vt.get),
3826
- scrollSnaps: k,
3825
+ scrollSnapList: B.map(Vt.get),
3826
+ scrollSnaps: B,
3827
3827
  scrollTarget: We,
3828
3828
  scrollTo: Qe,
3829
- slideLooper: Hr($, N, se, K, J, re, k, de, t),
3829
+ slideLooper: Hr(b, T, le, K, J, re, B, de, t),
3830
3830
  slideFocus: In,
3831
- slidesHandler: Gr(o, s, _),
3831
+ slidesHandler: Gr(o, l, _),
3832
3832
  slidesInView: _n,
3833
3833
  slideIndexes: O,
3834
- slideRegistry: Pt,
3834
+ slideRegistry: $t,
3835
3835
  slidesToScroll: X,
3836
3836
  target: he,
3837
- translate: Fn($, o)
3837
+ translate: Fn(b, o)
3838
3838
  };
3839
3839
  return Je;
3840
3840
  }
@@ -3847,25 +3847,25 @@ function Ur() {
3847
3847
  return e[a] || [];
3848
3848
  }
3849
3849
  function r(a) {
3850
- return n(a).forEach((d) => d(o, a)), l;
3850
+ return n(a).forEach((d) => d(o, a)), s;
3851
3851
  }
3852
3852
  function i(a, d) {
3853
- return e[a] = n(a).concat([d]), l;
3853
+ return e[a] = n(a).concat([d]), s;
3854
3854
  }
3855
- function s(a, d) {
3856
- return e[a] = n(a).filter((f) => f !== d), l;
3855
+ function l(a, d) {
3856
+ return e[a] = n(a).filter((f) => f !== d), s;
3857
3857
  }
3858
3858
  function u() {
3859
3859
  e = {};
3860
3860
  }
3861
- const l = {
3861
+ const s = {
3862
3862
  init: t,
3863
3863
  emit: r,
3864
- off: s,
3864
+ off: l,
3865
3865
  on: i,
3866
3866
  clear: u
3867
3867
  };
3868
- return l;
3868
+ return s;
3869
3869
  }
3870
3870
  const Kr = {
3871
3871
  align: "center",
@@ -3890,15 +3890,15 @@ const Kr = {
3890
3890
  watchFocus: !0
3891
3891
  };
3892
3892
  function Xr(e) {
3893
- function o(i, s) {
3894
- return xn(i, s || {});
3893
+ function o(i, l) {
3894
+ return xn(i, l || {});
3895
3895
  }
3896
3896
  function t(i) {
3897
- const s = i.breakpoints || {}, u = $e(s).filter((l) => e.matchMedia(l).matches).map((l) => s[l]).reduce((l, a) => o(l, a), {});
3897
+ const l = i.breakpoints || {}, u = $e(l).filter((s) => e.matchMedia(s).matches).map((s) => l[s]).reduce((s, a) => o(s, a), {});
3898
3898
  return o(i, u);
3899
3899
  }
3900
3900
  function n(i) {
3901
- return i.map((s) => $e(s.breakpoints || {})).reduce((s, u) => s.concat(u), []).map(e.matchMedia);
3901
+ return i.map((l) => $e(l.breakpoints || {})).reduce((l, u) => l.concat(u), []).map(e.matchMedia);
3902
3902
  }
3903
3903
  return {
3904
3904
  mergeOptions: o,
@@ -3908,11 +3908,11 @@ function Xr(e) {
3908
3908
  }
3909
3909
  function Wr(e) {
3910
3910
  let o = [];
3911
- function t(i, s) {
3912
- return o = s.filter(({
3911
+ function t(i, l) {
3912
+ return o = l.filter(({
3913
3913
  options: u
3914
- }) => e.optionsAtMedia(u).active !== !1), o.forEach((u) => u.init(i, e)), s.reduce((u, l) => Object.assign(u, {
3915
- [l.name]: l
3914
+ }) => e.optionsAtMedia(u).active !== !1), o.forEach((u) => u.init(i, e)), l.reduce((u, s) => Object.assign(u, {
3915
+ [s.name]: s
3916
3916
  }), {});
3917
3917
  }
3918
3918
  function n() {
@@ -3924,7 +3924,7 @@ function Wr(e) {
3924
3924
  };
3925
3925
  }
3926
3926
  function ze(e, o, t) {
3927
- const n = e.ownerDocument, r = n.defaultView, i = Xr(r), s = Wr(i), u = Ee(), l = Ur(), {
3927
+ const n = e.ownerDocument, r = n.defaultView, i = Xr(r), l = Wr(i), u = be(), s = Ur(), {
3928
3928
  mergeOptions: a,
3929
3929
  optionsAtMedia: d,
3930
3930
  optionsMediaQueries: f
@@ -3932,43 +3932,43 @@ function ze(e, o, t) {
3932
3932
  on: g,
3933
3933
  off: c,
3934
3934
  emit: p
3935
- } = l, m = $;
3936
- let S = !1, h, C = a(Kr, ze.globalOptions), v = a(C), _ = [], I, V, M;
3937
- function b() {
3935
+ } = s, m = b;
3936
+ let S = !1, h, w = a(Kr, ze.globalOptions), v = a(w), _ = [], I, V, M;
3937
+ function P() {
3938
3938
  const {
3939
3939
  container: O,
3940
3940
  slides: R
3941
3941
  } = v;
3942
3942
  V = (pt(O) ? e.querySelector(O) : O) || e.children[0];
3943
- const T = pt(R) ? V.querySelectorAll(R) : R;
3944
- M = [].slice.call(T || V.children);
3943
+ const N = pt(R) ? V.querySelectorAll(R) : R;
3944
+ M = [].slice.call(N || V.children);
3945
3945
  }
3946
- function P(O) {
3947
- const R = qr(e, V, M, n, r, O, l);
3946
+ function $(O) {
3947
+ const R = qr(e, V, M, n, r, O, s);
3948
3948
  if (O.loop && !R.slideLooper.canLoop()) {
3949
3949
  const D = Object.assign({}, O, {
3950
3950
  loop: !1
3951
3951
  });
3952
- return P(D);
3952
+ return $(D);
3953
3953
  }
3954
3954
  return R;
3955
3955
  }
3956
3956
  function L(O, R) {
3957
- S || (C = a(C, O), v = d(C), _ = R || _, b(), h = P(v), f([C, ..._.map(({
3957
+ S || (w = a(w, O), v = d(w), _ = R || _, P(), h = $(v), f([w, ..._.map(({
3958
3958
  options: D
3959
- }) => D)]).forEach((D) => u.add(D, "change", $)), v.active && (h.translate.to(h.location.get()), h.animation.init(), h.slidesInView.init(), h.slideFocus.init(W), h.eventHandler.init(W), h.resizeHandler.init(W), h.slidesHandler.init(W), h.options.loop && h.slideLooper.loop(), V.offsetParent && M.length && h.dragHandler.init(W), I = s.init(W, _)));
3959
+ }) => D)]).forEach((D) => u.add(D, "change", b)), v.active && (h.translate.to(h.location.get()), h.animation.init(), h.slidesInView.init(), h.slideFocus.init(W), h.eventHandler.init(W), h.resizeHandler.init(W), h.slidesHandler.init(W), h.options.loop && h.slideLooper.loop(), V.offsetParent && M.length && h.dragHandler.init(W), I = l.init(W, _)));
3960
3960
  }
3961
- function $(O, R) {
3961
+ function b(O, R) {
3962
3962
  const D = X();
3963
- N(), L(a({
3963
+ T(), L(a({
3964
3964
  startIndex: D
3965
- }, O), R), l.emit("reInit");
3965
+ }, O), R), s.emit("reInit");
3966
3966
  }
3967
- function N() {
3968
- h.dragHandler.destroy(), h.eventStore.clear(), h.translate.clear(), h.slideLooper.clear(), h.resizeHandler.destroy(), h.slidesHandler.destroy(), h.slidesInView.destroy(), h.animation.destroy(), s.destroy(), u.clear();
3967
+ function T() {
3968
+ h.dragHandler.destroy(), h.eventStore.clear(), h.translate.clear(), h.slideLooper.clear(), h.resizeHandler.destroy(), h.slidesHandler.destroy(), h.slidesInView.destroy(), h.animation.destroy(), l.destroy(), u.clear();
3969
3969
  }
3970
- function B() {
3971
- S || (S = !0, u.clear(), N(), l.emit("destroy"), l.clear());
3970
+ function k() {
3971
+ S || (S = !0, u.clear(), T(), s.emit("destroy"), s.clear());
3972
3972
  }
3973
3973
  function E(O, R, D) {
3974
3974
  !v.active || S || (h.scrollBody.useBaseFriction().useDuration(R === !0 ? 0 : v.duration), h.scrollTo.index(O, D || 0));
@@ -4002,7 +4002,7 @@ function ze(e, o, t) {
4002
4002
  function ie() {
4003
4003
  return h.slidesInView.get();
4004
4004
  }
4005
- function se() {
4005
+ function le() {
4006
4006
  return h.slidesInView.get(!1);
4007
4007
  }
4008
4008
  function Re() {
@@ -4011,13 +4011,13 @@ function ze(e, o, t) {
4011
4011
  function xe() {
4012
4012
  return h;
4013
4013
  }
4014
- function k() {
4014
+ function B() {
4015
4015
  return e;
4016
4016
  }
4017
4017
  function G() {
4018
4018
  return V;
4019
4019
  }
4020
- function le() {
4020
+ function se() {
4021
4021
  return M;
4022
4022
  }
4023
4023
  const W = {
@@ -4025,54 +4025,54 @@ function ze(e, o, t) {
4025
4025
  canScrollPrev: J,
4026
4026
  containerNode: G,
4027
4027
  internalEngine: xe,
4028
- destroy: B,
4028
+ destroy: k,
4029
4029
  off: c,
4030
4030
  on: g,
4031
4031
  emit: p,
4032
4032
  plugins: Re,
4033
4033
  previousScrollSnap: re,
4034
4034
  reInit: m,
4035
- rootNode: k,
4035
+ rootNode: B,
4036
4036
  scrollNext: j,
4037
4037
  scrollPrev: U,
4038
4038
  scrollProgress: te,
4039
4039
  scrollSnapList: Y,
4040
4040
  scrollTo: E,
4041
4041
  selectedScrollSnap: X,
4042
- slideNodes: le,
4042
+ slideNodes: se,
4043
4043
  slidesInView: ie,
4044
- slidesNotInView: se
4044
+ slidesNotInView: le
4045
4045
  };
4046
- return L(o, t), setTimeout(() => l.emit("init"), 0), W;
4046
+ return L(o, t), setTimeout(() => s.emit("init"), 0), W;
4047
4047
  }
4048
4048
  ze.globalOptions = void 0;
4049
4049
  function Mt(e = {}, o = []) {
4050
- const t = je(e), n = je(o), [r, i] = oe(), [s, u] = oe(), l = Se(() => {
4050
+ const t = je(e), n = je(o), [r, i] = oe(), [l, u] = oe(), s = Se(() => {
4051
4051
  r && r.reInit(t.current, n.current);
4052
4052
  }, [r]);
4053
4053
  return ve(() => {
4054
- yt(t.current, e) || (t.current = e, l());
4055
- }, [e, l]), ve(() => {
4056
- wr(n.current, o) || (n.current = o, l());
4057
- }, [o, l]), ve(() => {
4058
- if (Sr() && s) {
4054
+ yt(t.current, e) || (t.current = e, s());
4055
+ }, [e, s]), ve(() => {
4056
+ wr(n.current, o) || (n.current = o, s());
4057
+ }, [o, s]), ve(() => {
4058
+ if (Sr() && l) {
4059
4059
  ze.globalOptions = Mt.globalOptions;
4060
- const a = ze(s, t.current, n.current);
4060
+ const a = ze(l, t.current, n.current);
4061
4061
  return i(a), () => a.destroy();
4062
4062
  } else
4063
4063
  i(void 0);
4064
- }, [s, i]), [u, r];
4064
+ }, [l, i]), [u, r];
4065
4065
  }
4066
4066
  Mt.globalOptions = void 0;
4067
4067
  const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4068
4068
  const [t, n] = Mt(e, [xt(o)]), r = Se((i) => {
4069
- var l;
4070
- const s = (l = i == null ? void 0 : i.plugins()) == null ? void 0 : l.autoplay;
4071
- if (!s) return;
4072
- (s.options.stopOnInteraction === !1 ? s.reset : s.stop)();
4069
+ var s;
4070
+ const l = (s = i == null ? void 0 : i.plugins()) == null ? void 0 : s.autoplay;
4071
+ if (!l) return;
4072
+ (l.options.stopOnInteraction === !1 ? l.reset : l.stop)();
4073
4073
  }, []);
4074
4074
  return { emblaRef: t, emblaApi: n, navigationHandler: r };
4075
- }, Be = ({ mode: e, onClick: o, children: t, classes: n, ...r }) => /* @__PURE__ */ w.jsxs(
4075
+ }, ke = ({ mode: e, onClick: o, children: t, classes: n, ...r }) => /* @__PURE__ */ C.jsxs(
4076
4076
  "button",
4077
4077
  {
4078
4078
  className: F("group flex size-8 cursor-pointer items-center justify-center p-1", n == null ? void 0 : n.button),
@@ -4080,8 +4080,8 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4080
4080
  onClick: () => o(e),
4081
4081
  ...r,
4082
4082
  children: [
4083
- /* @__PURE__ */ w.jsx(
4084
- be,
4083
+ /* @__PURE__ */ C.jsx(
4084
+ Ne,
4085
4085
  {
4086
4086
  name: "arrows/arrowRight",
4087
4087
  className: F(
@@ -4094,7 +4094,7 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4094
4094
  t
4095
4095
  ]
4096
4096
  }
4097
- ), Jr = ({ scrollSnaps: e, visibleIndex: o, onClickDot: t, position: n, classes: r, ...i }) => /* @__PURE__ */ w.jsx(
4097
+ ), Jr = ({ scrollSnaps: e, visibleIndex: o, onClickDot: t, position: n, classes: r, ...i }) => /* @__PURE__ */ C.jsx(
4098
4098
  "div",
4099
4099
  {
4100
4100
  className: F(
@@ -4106,7 +4106,7 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4106
4106
  },
4107
4107
  r == null ? void 0 : r.dotsWrapper
4108
4108
  ),
4109
- children: e.map((s, u) => /* @__PURE__ */ w.jsx(
4109
+ children: e.map((l, u) => /* @__PURE__ */ C.jsx(
4110
4110
  "button",
4111
4111
  {
4112
4112
  type: "button",
@@ -4123,13 +4123,13 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4123
4123
  }
4124
4124
  ), qt = Q(
4125
4125
  ({ visibleIndex: e, classes: o, children: t, dotsProps: n, dotsOptions: r }, i) => {
4126
- const { isMobile: s, isDesktop: u } = qe(), { mobVisible: l, deskVisible: a, ...d } = r ?? {}, f = l && s, g = a && u, c = {
4126
+ const { isMobile: l, isDesktop: u } = qe(), { mobVisible: s, deskVisible: a, ...d } = r ?? {}, f = s && l, g = a && u, c = {
4127
4127
  visibleIndex: e,
4128
4128
  ...n
4129
4129
  };
4130
- return /* @__PURE__ */ w.jsxs("div", { className: F("mx-auto overflow-hidden", o == null ? void 0 : o.slidesOverlay), ref: i, children: [
4131
- /* @__PURE__ */ w.jsx("div", { className: F("flex touch-pan-y gap-6", o == null ? void 0 : o.slidesWrapper), children: t }),
4132
- (g || f) && /* @__PURE__ */ w.jsx(Jr, { ...c, ...d })
4130
+ return /* @__PURE__ */ C.jsxs("div", { className: F("mx-auto overflow-hidden", o == null ? void 0 : o.slidesOverlay), ref: i, children: [
4131
+ /* @__PURE__ */ C.jsx("div", { className: F("flex touch-pan-y gap-6", o == null ? void 0 : o.slidesWrapper), children: t }),
4132
+ (g || f) && /* @__PURE__ */ C.jsx(Jr, { ...c, ...d })
4133
4133
  ] });
4134
4134
  }
4135
4135
  ), Ut = {
@@ -4154,30 +4154,30 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4154
4154
  onClickNavigationButton: n,
4155
4155
  classes: r
4156
4156
  }) => {
4157
- var i, s, u, l;
4158
- return /* @__PURE__ */ w.jsxs("div", { className: F("relative flex items-center gap-1", r == null ? void 0 : r.wrapper), children: [
4159
- /* @__PURE__ */ w.jsx(
4160
- Be,
4157
+ var i, l, u, s;
4158
+ return /* @__PURE__ */ C.jsxs("div", { className: F("relative flex items-center gap-1", r == null ? void 0 : r.wrapper), children: [
4159
+ /* @__PURE__ */ C.jsx(
4160
+ ke,
4161
4161
  {
4162
4162
  mode: "prev",
4163
4163
  onClick: n,
4164
4164
  disabled: o,
4165
4165
  classes: {
4166
4166
  button: F("absolute -left-12 top-1/2 -transform-y-1/2", (i = r == null ? void 0 : r.arrowLeftClasses) == null ? void 0 : i.button),
4167
- icon: F((s = r == null ? void 0 : r.arrowLeftClasses) == null ? void 0 : s.icon)
4167
+ icon: F((l = r == null ? void 0 : r.arrowLeftClasses) == null ? void 0 : l.icon)
4168
4168
  }
4169
4169
  }
4170
4170
  ),
4171
4171
  e,
4172
- /* @__PURE__ */ w.jsx(
4173
- Be,
4172
+ /* @__PURE__ */ C.jsx(
4173
+ ke,
4174
4174
  {
4175
4175
  mode: "next",
4176
4176
  onClick: n,
4177
4177
  disabled: t,
4178
4178
  classes: {
4179
4179
  button: F("absolute -right-12 top-1/2 -transform-y-1/2", (u = r == null ? void 0 : r.arrowRightClasses) == null ? void 0 : u.button),
4180
- icon: F((l = r == null ? void 0 : r.arrowRightClasses) == null ? void 0 : l.icon)
4180
+ icon: F((s = r == null ? void 0 : r.arrowRightClasses) == null ? void 0 : s.icon)
4181
4181
  }
4182
4182
  }
4183
4183
  )
@@ -4189,69 +4189,69 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4189
4189
  heading: n,
4190
4190
  autoPlayOptions: r,
4191
4191
  setVisibleIndex: i,
4192
- visibleIndex: s,
4192
+ visibleIndex: l,
4193
4193
  children: u,
4194
- classes: l,
4194
+ classes: s,
4195
4195
  ...a
4196
4196
  }) => {
4197
4197
  const d = { ...Ut, ...t }, f = { ...Yr, ...r }, g = { ...Xt, ...o }, c = { ...Kt, ...e }, { emblaApi: p, navigationHandler: m, emblaRef: S } = Qr({
4198
4198
  carouselOptions: d,
4199
4199
  autoPlayOptions: f
4200
- }), h = gr({ emblaApi: p, navigationHandler: m, setVisibleIndex: i }), { prevBtnDisabled: C, nextBtnDisabled: v, onClickNavigationButton: _ } = dr({
4200
+ }), h = gr({ emblaApi: p, navigationHandler: m, setVisibleIndex: i }), { prevBtnDisabled: w, nextBtnDisabled: v, onClickNavigationButton: _ } = dr({
4201
4201
  emblaApi: p,
4202
4202
  navigationHandler: m
4203
- }), { isMobile: I, isDesktop: V } = qe(), { deskVisible: M, mobVisible: b, position: P } = g ?? {}, N = M && V || b && I, B = !!n || N && P === "top-right";
4204
- return /* @__PURE__ */ w.jsxs("div", { className: F("flex flex-col", l == null ? void 0 : l.root), ...a, children: [
4205
- B && /* @__PURE__ */ w.jsxs("div", { className: F("flex items-center justify-between gap-6", { "mb-6": B }, l == null ? void 0 : l.header), children: [
4206
- !!n && /* @__PURE__ */ w.jsx(qn, { as: "h2", className: F(l == null ? void 0 : l.heading), children: "Другие предложения" }),
4207
- N && P === "top-right" && /* @__PURE__ */ w.jsxs("div", { className: F("ml-auto flex items-center gap-2", l == null ? void 0 : l.arrowsNavWrapper), children: [
4208
- /* @__PURE__ */ w.jsx(
4209
- Be,
4203
+ }), { isMobile: I, isDesktop: V } = qe(), { deskVisible: M, mobVisible: P, position: $ } = g ?? {}, T = M && V || P && I, k = !!n || T && $ === "top-right";
4204
+ return /* @__PURE__ */ C.jsxs("div", { className: F("flex flex-col", s == null ? void 0 : s.root), ...a, children: [
4205
+ k && /* @__PURE__ */ C.jsxs("div", { className: F("flex items-center justify-between gap-6", { "mb-6": k }, s == null ? void 0 : s.header), children: [
4206
+ !!n && /* @__PURE__ */ C.jsx(qn, { as: "h2", className: F(s == null ? void 0 : s.heading), children: "Другие предложения" }),
4207
+ T && $ === "top-right" && /* @__PURE__ */ C.jsxs("div", { className: F("ml-auto flex items-center gap-2", s == null ? void 0 : s.arrowsNavWrapper), children: [
4208
+ /* @__PURE__ */ C.jsx(
4209
+ ke,
4210
4210
  {
4211
4211
  mode: "prev",
4212
4212
  onClick: _,
4213
- disabled: C,
4214
- classes: l == null ? void 0 : l.arrowLeftClasses
4213
+ disabled: w,
4214
+ classes: s == null ? void 0 : s.arrowLeftClasses
4215
4215
  }
4216
4216
  ),
4217
- /* @__PURE__ */ w.jsx(
4218
- Be,
4217
+ /* @__PURE__ */ C.jsx(
4218
+ ke,
4219
4219
  {
4220
4220
  mode: "next",
4221
4221
  onClick: _,
4222
4222
  disabled: v,
4223
- classes: l == null ? void 0 : l.arrowRightClasses
4223
+ classes: s == null ? void 0 : s.arrowRightClasses
4224
4224
  }
4225
4225
  )
4226
4226
  ] })
4227
4227
  ] }),
4228
- N && P === "center" ? /* @__PURE__ */ w.jsx(
4228
+ T && $ === "center" ? /* @__PURE__ */ C.jsx(
4229
4229
  Zr,
4230
4230
  {
4231
4231
  onClickNavigationButton: _,
4232
- prevBtnDisabled: C,
4232
+ prevBtnDisabled: w,
4233
4233
  nextBtnDisabled: v,
4234
- classes: l == null ? void 0 : l.containerWithNavClasses,
4235
- children: /* @__PURE__ */ w.jsx(
4234
+ classes: s == null ? void 0 : s.containerWithNavClasses,
4235
+ children: /* @__PURE__ */ C.jsx(
4236
4236
  qt,
4237
4237
  {
4238
- visibleIndex: s,
4238
+ visibleIndex: l,
4239
4239
  dotsOptions: c,
4240
4240
  ref: S,
4241
4241
  dotsProps: h,
4242
- classes: l == null ? void 0 : l.carouselContentClasses,
4242
+ classes: s == null ? void 0 : s.carouselContentClasses,
4243
4243
  children: u
4244
4244
  }
4245
4245
  )
4246
4246
  }
4247
- ) : /* @__PURE__ */ w.jsx(
4247
+ ) : /* @__PURE__ */ C.jsx(
4248
4248
  qt,
4249
4249
  {
4250
- visibleIndex: s,
4250
+ visibleIndex: l,
4251
4251
  dotsOptions: c,
4252
4252
  ref: S,
4253
4253
  dotsProps: h,
4254
- classes: l == null ? void 0 : l.carouselContentClasses,
4254
+ classes: s == null ? void 0 : s.carouselContentClasses,
4255
4255
  children: u
4256
4256
  }
4257
4257
  )
@@ -4260,7 +4260,7 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4260
4260
  const { toasts: t } = Un();
4261
4261
  return ve(() => {
4262
4262
  t.filter((n) => n.visible).filter((n, r) => r >= e).forEach((n) => Kn.dismiss(n.id));
4263
- }, [e, t]), /* @__PURE__ */ w.jsx(
4263
+ }, [e, t]), /* @__PURE__ */ C.jsx(
4264
4264
  Xn,
4265
4265
  {
4266
4266
  position: "top-center",
@@ -4269,37 +4269,7 @@ const Qr = ({ carouselOptions: e, autoPlayOptions: o }) => {
4269
4269
  }
4270
4270
  }
4271
4271
  );
4272
- }, Ri = ({ linksList: e }) => /* @__PURE__ */ w.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: e.map((o) => /* @__PURE__ */ w.jsx(w.Fragment, { children: "path" in o ? /* @__PURE__ */ w.jsxs(
4273
- "div",
4274
- {
4275
- className: F(
4276
- "flex items-center gap-1 rounded-sm border-2 border-solid border-transparent px-1 focus-within:border-primary-focus",
4277
- { "pointer-events-none !border-transparent": o == null ? void 0 : o.isDisabled }
4278
- ),
4279
- children: [
4280
- /* @__PURE__ */ w.jsx(
4281
- "a",
4282
- {
4283
- href: o.path,
4284
- target: "_blank",
4285
- rel: "noreferrer",
4286
- className: F(
4287
- "desk-body-regular-m text-color-primary-default outline-none hover:text-color-primary-hover focus:text-color-primary-default",
4288
- { "!text-color-disabled": o == null ? void 0 : o.isDisabled }
4289
- ),
4290
- children: o.label
4291
- }
4292
- ),
4293
- /* @__PURE__ */ w.jsx(
4294
- be,
4295
- {
4296
- name: "arrows/arrowRight",
4297
- className: F("size-4 text-icon-primary-default", { "!text-icon-disabled": o == null ? void 0 : o.isDisabled })
4298
- }
4299
- )
4300
- ]
4301
- }
4302
- ) : /* @__PURE__ */ w.jsx("div", { "aria-current": "page", className: "desk-body-regular-m text-color-blue-grey-600", children: o.label }) })) }), ei = ({ children: e }) => /* @__PURE__ */ w.jsx(w.Fragment, { children: e }), ht = Q(({ children: e, ...o }, t) => {
4272
+ }, ei = ({ children: e }) => /* @__PURE__ */ C.jsx(C.Fragment, { children: e }), ht = Q(({ children: e, ...o }, t) => {
4303
4273
  if (He(e)) {
4304
4274
  const n = ni(e);
4305
4275
  return Qt(e, {
@@ -4320,48 +4290,47 @@ const ti = (e) => He(e) && e.type === ei, ni = (e) => {
4320
4290
  const t = { ...o };
4321
4291
  for (const n in o) {
4322
4292
  const r = e[n], i = o[n];
4323
- /^on[A-Z]/.test(n) ? r && i && (t[n] = (...s) => {
4324
- r(...s), i(...s);
4293
+ /^on[A-Z]/.test(n) ? r && i && (t[n] = (...l) => {
4294
+ r(...l), i(...l);
4325
4295
  }) : r ? t[n] = r : n === "style" ? t[n] = { ...r, ...i } : n === "className" && (t[n] = [r, i].filter(Boolean).join(" "));
4326
4296
  }
4327
4297
  return { ...e, ...t };
4328
4298
  }, ri = Q(({ children: e, ...o }, t) => {
4329
4299
  const n = Ie.toArray(e), r = n.find(ti);
4330
4300
  if (r) {
4331
- const i = r.props.children, s = n.map((u) => u === r ? Ie.count(i) > 1 ? Ie.only(null) : He(i) ? i.props.children : null : u);
4332
- return /* @__PURE__ */ w.jsx(ht, { ...o, ref: t, children: He(i) ? Qt(i, void 0, s) : null });
4301
+ const i = r.props.children, l = n.map((u) => u === r ? Ie.count(i) > 1 ? Ie.only(null) : He(i) ? i.props.children : null : u);
4302
+ return /* @__PURE__ */ C.jsx(ht, { ...o, ref: t, children: He(i) ? Qt(i, void 0, l) : null });
4333
4303
  }
4334
- return /* @__PURE__ */ w.jsx(ht, { ...o, ref: t, children: e });
4304
+ return /* @__PURE__ */ C.jsx(ht, { ...o, ref: t, children: e });
4335
4305
  });
4336
4306
  ri.displayName = "Slot";
4337
4307
  export {
4338
- kn as Accordion,
4339
- Fi as Badge,
4340
- Ri as Breadcrumbs,
4308
+ Bn as Accordion,
4309
+ yi as Badge,
4341
4310
  ge as Button,
4342
4311
  ci as ButtonIcon,
4343
- _i as Calendar,
4312
+ Fi as Calendar,
4344
4313
  Ci as CarouselBase,
4345
- Ii as Controlled,
4346
- Mi as CustomLink,
4347
- qi as DATE_VISIBLE_PATTERN,
4314
+ _i as Controlled,
4315
+ Ii as CustomLink,
4316
+ Bi as DATE_VISIBLE_PATTERN,
4348
4317
  Si as DataTable,
4349
- so as DataTableColumnHeader,
4350
- Vi as Dialog,
4318
+ lo as DataTableColumnHeader,
4319
+ Mi as Dialog,
4351
4320
  hi as EditableCell,
4352
4321
  gi as FloatButton,
4353
4322
  qn as Heading,
4354
- bi as Hint,
4355
- be as Icon,
4323
+ Vi as Hint,
4324
+ Ne as Icon,
4356
4325
  Pi as KeyboardShortcuts,
4357
4326
  $i as Loader,
4358
- Ei as Modal,
4359
- Di as Notification,
4327
+ bi as Modal,
4328
+ Ei as Notification,
4360
4329
  vi as NotificationProvider,
4361
- lr as Pagination,
4362
- Li as PhoneView,
4363
- Oi as Popover,
4364
- Ai as ProgressBar,
4330
+ sr as Pagination,
4331
+ Di as PhoneView,
4332
+ Li as Popover,
4333
+ Oi as ProgressBar,
4365
4334
  An as ResponsiveContainer,
4366
4335
  di as Skeleton,
4367
4336
  ri as Slot,
@@ -4375,17 +4344,17 @@ export {
4375
4344
  Te as TableRow,
4376
4345
  wi as TableUtils,
4377
4346
  mi as TabsSwitcher,
4378
- Ni as Uncontrolled,
4347
+ Ai as Uncontrolled,
4379
4348
  fi as allowedIcons,
4380
4349
  Ti as brandLogos,
4381
- ji as buttonPrimitiveIntent,
4382
- Hi as buttonPrimitiveSize,
4383
- Gi as buttonPrimitiveTextFormat,
4384
- zi as buttonPrimitiveType,
4385
- Ui as defaultClassNames,
4386
- Ki as formatDateToLocaleString,
4387
- Xi as formatDateToMonthString,
4388
- Wi as formatDateToYearString,
4389
- Bi as isSingleOption
4350
+ Ni as buttonPrimitiveIntent,
4351
+ ji as buttonPrimitiveSize,
4352
+ Hi as buttonPrimitiveTextFormat,
4353
+ Gi as buttonPrimitiveType,
4354
+ qi as defaultClassNames,
4355
+ Ui as formatDateToLocaleString,
4356
+ Ki as formatDateToMonthString,
4357
+ Xi as formatDateToYearString,
4358
+ zi as isSingleOption
4390
4359
  };
4391
4360
  //# sourceMappingURL=ui.js.map