ecars-web-lib 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { clsx as hr } from "clsx";
2
2
  import * as S from "react";
3
- import A, { isValidElement as st, cloneElement as xt, useRef as H, useMemo as Et, useState as ae, useEffect as he, forwardRef as Ct, createContext as Pt, useLayoutEffect as mr } from "react";
3
+ import A, { isValidElement as st, cloneElement as xt, useRef as H, useMemo as Et, useState as te, useEffect as he, forwardRef as Ct, createContext as Pt, useLayoutEffect as mr } from "react";
4
4
  import { jsx as b, jsxs as $ } from "react/jsx-runtime";
5
5
  import gr from "react-image-gallery";
6
6
  import vr from "rc-slider";
@@ -83,15 +83,15 @@ function Er(e, t) {
83
83
  }
84
84
  return (t === "string" ? String : Number)(e);
85
85
  }
86
- function _t(e) {
86
+ function Ot(e) {
87
87
  return e && e.map((t, r) => /* @__PURE__ */ A.createElement(t.tag, Ce({
88
88
  key: r
89
- }, t.attr), _t(t.child)));
89
+ }, t.attr), Ot(t.child)));
90
90
  }
91
91
  function V(e) {
92
92
  return (t) => /* @__PURE__ */ A.createElement(Cr, Ee({
93
93
  attr: Ce({}, e.attr)
94
- }, t), _t(e.child));
94
+ }, t), Ot(e.child));
95
95
  }
96
96
  function Cr(e) {
97
97
  var t = (r) => {
@@ -122,13 +122,13 @@ function Pr(e) {
122
122
  function Ir(e) {
123
123
  return V({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z" }, child: [] }] })(e);
124
124
  }
125
- function _r(e) {
125
+ function Or(e) {
126
126
  return V({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
127
127
  }
128
- function Mr(e) {
128
+ function _r(e) {
129
129
  return V({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
130
130
  }
131
- function Or(e) {
131
+ function Mr(e) {
132
132
  return V({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" }, child: [] }] })(e);
133
133
  }
134
134
  function Lr(e) {
@@ -156,21 +156,21 @@ function Br(e) {
156
156
  return V({ attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z" }, child: [] }] })(e);
157
157
  }
158
158
  const Y = {
159
- ArrowNarrowRight: Mr,
160
- ArrowNarrowLeft: _r,
159
+ ArrowNarrowRight: _r,
160
+ ArrowNarrowLeft: Or,
161
161
  ArrowNarrowDown: Ir,
162
162
  Check: Lr,
163
163
  Close: Ar,
164
164
  Facebook: Rr,
165
- Twitter: Or,
165
+ Twitter: Mr,
166
166
  Youtube: zr,
167
167
  Instagram: Dr,
168
168
  Whatsapp: Nr,
169
169
  Email: Pr
170
- }, Ja = ["Option 1", "Option 2", "Another Option"], Qa = 100, Za = 10, eo = Array.from({ length: 6 }, (e) => ({
170
+ }, Qa = ["Option 1", "Option 2", "Another Option"], Za = 100, eo = 10, to = Array.from({ length: 6 }, (e) => ({
171
171
  original: "src/assets/react.svg",
172
172
  thumbnail: "src/assets/react.svg"
173
- })), to = [
173
+ })), ro = [
174
174
  {
175
175
  name: "Option 1",
176
176
  value: "1"
@@ -179,7 +179,7 @@ const Y = {
179
179
  name: "Option 2",
180
180
  value: "2"
181
181
  }
182
- ], ro = [10, 500], no = [1, 2, 3], io = Object.freeze({
182
+ ], no = [10, 500], io = [1, 2, 3], so = Object.freeze({
183
183
  GUIDES: "guides",
184
184
  REVIEWS: "reviews",
185
185
  NEWS: "news"
@@ -192,7 +192,7 @@ const Y = {
192
192
  return e;
193
193
  const r = e.props.block ?? t, n = e.props.block ? {} : { block: t }, i = e.props.children ? He(e.props.children, r) : e.props.children;
194
194
  return xt(e, n, i);
195
- }, Mt = (e, t, r) => ({ children: n, block: i = t, ...s }) => {
195
+ }, _t = (e, t, r) => ({ children: n, block: i = t, ...s }) => {
196
196
  const o = He(n, i);
197
197
  return /* @__PURE__ */ b(
198
198
  e,
@@ -203,7 +203,7 @@ const Y = {
203
203
  children: o
204
204
  }
205
205
  );
206
- }, Ot = (e) => {
206
+ }, Mt = (e) => {
207
207
  const t = H(null), r = Et(() => {
208
208
  var n;
209
209
  return {
@@ -214,8 +214,8 @@ const Y = {
214
214
  contentRef: t,
215
215
  style: r
216
216
  };
217
- }, so = (e) => {
218
- const [t, r] = ae(!1);
217
+ }, $r = (e) => {
218
+ const [t, r] = te(!1);
219
219
  return he(() => {
220
220
  const n = window.matchMedia(e);
221
221
  n.matches !== t && r(n.matches);
@@ -226,6 +226,21 @@ const Y = {
226
226
  n.removeEventListener("change", i);
227
227
  };
228
228
  }, [t, e]), t;
229
+ }, ao = (e) => {
230
+ const [t] = e, [r, n] = te(t), [i, s] = te(!1), o = $r("(pointer: coarse)");
231
+ return {
232
+ selectedOption: r,
233
+ isDropdownOpen: i,
234
+ handleOpenClick: () => {
235
+ o && s((c) => !c);
236
+ },
237
+ handleOutside: (c) => {
238
+ s(c);
239
+ },
240
+ handleSelect: (c) => {
241
+ n(c), o && s(!1);
242
+ }
243
+ };
229
244
  }, Lt = (e) => {
230
245
  const t = H(null);
231
246
  return he(() => {
@@ -237,7 +252,7 @@ const Y = {
237
252
  document.removeEventListener("mousedown", r);
238
253
  };
239
254
  }, [t, e]), t;
240
- }, ao = ({ category: e, block: t }) => {
255
+ }, oo = ({ category: e, block: t }) => {
241
256
  const r = z(t, "category", `category--${e}`);
242
257
  return /* @__PURE__ */ b(
243
258
  "span",
@@ -247,7 +262,13 @@ const Y = {
247
262
  children: wr(e)
248
263
  }
249
264
  );
250
- }, $r = ({ id: e, block: t, ...r }) => /* @__PURE__ */ $(
265
+ }, lo = ({ src: e, block: t }) => /* @__PURE__ */ b("a", { className: z(t, "logo"), children: /* @__PURE__ */ b(
266
+ "img",
267
+ {
268
+ src: e,
269
+ alt: "Logo"
270
+ }
271
+ ) }), Gr = ({ id: e, block: t, ...r }) => /* @__PURE__ */ $(
251
272
  Ne.Block,
252
273
  {
253
274
  htmlFor: e,
@@ -263,18 +284,18 @@ const Y = {
263
284
  /* @__PURE__ */ b(Ne.Indicator, {})
264
285
  ]
265
286
  }
266
- ), Gr = "checkboxTestId", Vr = "checkboxTestInputId", Hr = ({ children: e, block: t, htmlFor: r = "checkbox" }) => {
287
+ ), Vr = "checkboxTestId", Hr = "checkboxTestInputId", jr = ({ children: e, block: t, htmlFor: r = "checkbox" }) => {
267
288
  const n = z(t, "checkbox");
268
289
  return /* @__PURE__ */ b(
269
290
  "label",
270
291
  {
271
- "data-testid": Gr,
292
+ "data-testid": Vr,
272
293
  className: n,
273
294
  htmlFor: r,
274
295
  children: e
275
296
  }
276
297
  );
277
- }, jr = () => /* @__PURE__ */ b("span", { className: "checkbox__indicator", children: /* @__PURE__ */ b(Y.Check, {}) }), Wr = ({
298
+ }, Wr = () => /* @__PURE__ */ b("span", { className: "checkbox__indicator", children: /* @__PURE__ */ b(Y.Check, {}) }), Ur = ({
278
299
  onChange: e,
279
300
  id: t = "checkbox",
280
301
  checked: r = !1,
@@ -288,7 +309,7 @@ const Y = {
288
309
  return /* @__PURE__ */ b(
289
310
  "input",
290
311
  {
291
- "data-testid": Vr,
312
+ "data-testid": Hr,
292
313
  name: i,
293
314
  disabled: n,
294
315
  className: o,
@@ -300,11 +321,11 @@ const Y = {
300
321
  type: "checkbox"
301
322
  }
302
323
  );
303
- }, Ne = Object.assign($r, {
304
- Block: Hr,
305
- Indicator: jr,
306
- Input: Wr
307
- }), Ur = "dropdownTestId", Yr = ({
324
+ }, Ne = Object.assign(Gr, {
325
+ Block: jr,
326
+ Indicator: Wr,
327
+ Input: Ur
328
+ }), Yr = "dropdownTestId", qr = ({
308
329
  selectedOption: e,
309
330
  block: t,
310
331
  options: r,
@@ -318,7 +339,7 @@ const Y = {
318
339
  return /* @__PURE__ */ $(
319
340
  "div",
320
341
  {
321
- "data-testid": Ur,
342
+ "data-testid": Yr,
322
343
  ref: l,
323
344
  className: z(t, "dropdown-menu", `dropdown-menu--${a}`, {
324
345
  "_dropdown-active": s
@@ -342,7 +363,7 @@ const Y = {
342
363
  ]
343
364
  }
344
365
  );
345
- }, qr = ({ selectedOption: e, options: t, onSelect: r }) => /* @__PURE__ */ b("ul", { className: "dropdown-menu__list", children: t.map((n) => {
366
+ }, Xr = ({ selectedOption: e, options: t, onSelect: r }) => /* @__PURE__ */ b("ul", { className: "dropdown-menu__list", children: t.map((n) => {
346
367
  const { value: i } = n, s = i === e.value;
347
368
  return /* @__PURE__ */ b(
348
369
  Se.Option,
@@ -353,7 +374,7 @@ const Y = {
353
374
  },
354
375
  i
355
376
  );
356
- }) }), Xr = ({ option: e, isSelected: t, onSelect: r }) => {
377
+ }) }), Kr = ({ option: e, isSelected: t, onSelect: r }) => {
357
378
  const { label: n, value: i, name: s } = e;
358
379
  return /* @__PURE__ */ $(
359
380
  "li",
@@ -372,7 +393,7 @@ const Y = {
372
393
  ]
373
394
  }
374
395
  );
375
- }, Kr = ({ item: e, handleOpen: t }) => /* @__PURE__ */ $(
396
+ }, Jr = ({ item: e, handleOpen: t }) => /* @__PURE__ */ $(
376
397
  "button",
377
398
  {
378
399
  onClick: t,
@@ -383,19 +404,19 @@ const Y = {
383
404
  /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "dropdown-menu__arrow" })
384
405
  ]
385
406
  }
386
- ), Jr = ({ children: e }) => /* @__PURE__ */ b("div", { className: "dropdown-menu__block", children: e }), Se = Object.assign(Yr, {
387
- List: qr,
388
- Option: Xr,
389
- Category: Kr,
390
- Block: Jr
391
- }), Qr = "favButtonTestId", oo = ({ disabled: e, block: t, isFavorite: r, type: n, onClick: i }) => {
407
+ ), Qr = ({ children: e }) => /* @__PURE__ */ b("div", { className: "dropdown-menu__block", children: e }), Se = Object.assign(qr, {
408
+ List: Xr,
409
+ Option: Kr,
410
+ Category: Jr,
411
+ Block: Qr
412
+ }), Zr = "favButtonTestId", co = ({ disabled: e, block: t, isFavorite: r, type: n, onClick: i }) => {
392
413
  const s = z(t, "favorite-button", `favorite-button--${n}`, {
393
414
  active: r
394
415
  });
395
416
  return /* @__PURE__ */ b(
396
417
  "button",
397
418
  {
398
- "data-testid": Qr,
419
+ "data-testid": Zr,
399
420
  disabled: e,
400
421
  className: s,
401
422
  onClick: i,
@@ -403,12 +424,12 @@ const Y = {
403
424
  children: r ? /* @__PURE__ */ b(kr, {}) : /* @__PURE__ */ b(Br, {})
404
425
  }
405
426
  );
406
- }, Zr = "fieldTestId", en = "fieldLabelTestId", tn = ({ label: e, block: t, children: r, error: n, id: i = "input" }) => {
427
+ }, en = "fieldTestId", tn = "fieldLabelTestId", rn = ({ label: e, block: t, children: r, error: n, id: i = "input" }) => {
407
428
  const s = z(t, "field");
408
429
  return /* @__PURE__ */ $(
409
430
  "div",
410
431
  {
411
- "data-testid": Zr,
432
+ "data-testid": en,
412
433
  className: s,
413
434
  children: [
414
435
  !!e && /* @__PURE__ */ b(
@@ -423,41 +444,41 @@ const Y = {
423
444
  ]
424
445
  }
425
446
  );
426
- }, rn = ({ text: e, htmlFor: t = "input" }) => /* @__PURE__ */ b(
447
+ }, nn = ({ text: e, htmlFor: t = "input" }) => /* @__PURE__ */ b(
427
448
  "label",
428
449
  {
429
- "data-testid": en,
450
+ "data-testid": tn,
430
451
  className: "field__label",
431
452
  htmlFor: t,
432
453
  children: e
433
454
  }
434
- ), nn = ({ errorText: e }) => /* @__PURE__ */ b("p", { className: "field__error", children: e }), lt = Object.assign(tn, {
435
- Label: rn,
436
- Error: nn
437
- }), sn = ({ children: e }) => /* @__PURE__ */ b("div", { className: "filter-accordion__block", children: e }), At = "filter-accordion", an = "filterAccordionTestId", on = Mt(sn, At), ln = ({ onClick: e, title: t, isOpen: r, children: n }) => /* @__PURE__ */ $(ce.Layout, { isOpen: r, children: [
455
+ ), sn = ({ errorText: e }) => /* @__PURE__ */ b("p", { className: "field__error", children: e }), lt = Object.assign(rn, {
456
+ Label: nn,
457
+ Error: sn
458
+ }), an = ({ children: e }) => /* @__PURE__ */ b("div", { className: "filter-accordion__block", children: e }), At = "filter-accordion", on = "filterAccordionTestId", ln = _t(an, At), dn = ({ onClick: e, title: t, isOpen: r, children: n }) => /* @__PURE__ */ $(ce.Layout, { isOpen: r, children: [
438
459
  /* @__PURE__ */ $(ce.Block, { block: At, children: [
439
460
  /* @__PURE__ */ b("h2", { className: "filter-accordion__title", children: t }),
440
461
  /* @__PURE__ */ b(ce.Reset, {}),
441
462
  /* @__PURE__ */ b(ce.Arrow, { onClick: e })
442
463
  ] }),
443
464
  /* @__PURE__ */ b(ce.Content, { isOpen: r, children: n })
444
- ] }), dn = ({ isOpen: e, block: t, children: r }) => /* @__PURE__ */ b(
465
+ ] }), cn = ({ isOpen: e, block: t, children: r }) => /* @__PURE__ */ b(
445
466
  "div",
446
467
  {
447
- "data-testid": an,
468
+ "data-testid": on,
448
469
  className: z(t, "filter-accordion", {
449
470
  "_active-accordion": e
450
471
  }),
451
472
  children: r
452
473
  }
453
- ), cn = ({ onClick: e }) => /* @__PURE__ */ b(
474
+ ), un = ({ onClick: e }) => /* @__PURE__ */ b(
454
475
  "button",
455
476
  {
456
477
  onClick: e,
457
478
  className: "filter-accordion__arrow",
458
479
  children: /* @__PURE__ */ b(Y.ArrowNarrowDown, {})
459
480
  }
460
- ), un = "buttonTestId", Nt = ({
481
+ ), fn = "buttonTestId", Nt = ({
461
482
  children: e,
462
483
  size: t,
463
484
  color: r,
@@ -475,7 +496,7 @@ const Y = {
475
496
  return /* @__PURE__ */ b(
476
497
  "button",
477
498
  {
478
- "data-testid": un,
499
+ "data-testid": fn,
479
500
  disabled: s,
480
501
  type: i,
481
502
  className: d,
@@ -483,7 +504,7 @@ const Y = {
483
504
  children: e
484
505
  }
485
506
  );
486
- }, fn = ({ block: e }) => /* @__PURE__ */ b(
507
+ }, pn = ({ block: e }) => /* @__PURE__ */ b(
487
508
  Nt,
488
509
  {
489
510
  block: e,
@@ -492,8 +513,8 @@ const Y = {
492
513
  color: "gray",
493
514
  children: "Reset"
494
515
  }
495
- ), pn = ({ isOpen: e, children: t }) => {
496
- const { style: r, contentRef: n } = Ot(e);
516
+ ), hn = ({ isOpen: e, children: t }) => {
517
+ const { style: r, contentRef: n } = Mt(e);
497
518
  return /* @__PURE__ */ b(
498
519
  "div",
499
520
  {
@@ -503,13 +524,13 @@ const Y = {
503
524
  children: /* @__PURE__ */ b("div", { className: "filter-accordion__body", children: t })
504
525
  }
505
526
  );
506
- }, ce = Object.assign(ln, {
507
- Layout: dn,
508
- Arrow: cn,
509
- Reset: fn,
510
- Block: on,
511
- Content: pn
512
- }), hn = "leftIconButtonTestId", mn = "rightIconButtonTestId", gn = ({
527
+ }, ce = Object.assign(dn, {
528
+ Layout: cn,
529
+ Arrow: un,
530
+ Reset: pn,
531
+ Block: ln,
532
+ Content: hn
533
+ }), mn = "leftIconButtonTestId", gn = "rightIconButtonTestId", vn = ({
513
534
  RightIcon: e,
514
535
  LeftIcon: t,
515
536
  children: r,
@@ -525,7 +546,7 @@ const Y = {
525
546
  t,
526
547
  {
527
548
  className: n,
528
- "data-testid": hn
549
+ "data-testid": mn
529
550
  }
530
551
  ),
531
552
  r,
@@ -533,13 +554,13 @@ const Y = {
533
554
  e,
534
555
  {
535
556
  className: n,
536
- "data-testid": mn
557
+ "data-testid": gn
537
558
  }
538
559
  )
539
560
  ]
540
561
  }
541
- ), lo = ({ children: e, onClick: t, block: r }) => /* @__PURE__ */ b(
542
- gn,
562
+ ), uo = ({ children: e, onClick: t, block: r }) => /* @__PURE__ */ b(
563
+ vn,
543
564
  {
544
565
  type: "button",
545
566
  block: r,
@@ -550,7 +571,7 @@ const Y = {
550
571
  color: "gray",
551
572
  children: e
552
573
  }
553
- ), co = ({ images: e, block: t }) => /* @__PURE__ */ b(
574
+ ), fo = ({ images: e, block: t }) => /* @__PURE__ */ b(
554
575
  gr,
555
576
  {
556
577
  items: e,
@@ -558,7 +579,7 @@ const Y = {
558
579
  showFullscreenButton: !1,
559
580
  showPlayButton: !1
560
581
  }
561
- ), vn = "inputTestId", wn = ({
582
+ ), wn = "inputTestId", Sn = ({
562
583
  value: e,
563
584
  onChange: t,
564
585
  hasError: r,
@@ -584,7 +605,7 @@ const Y = {
584
605
  },
585
606
  disabled: s,
586
607
  autoComplete: "off",
587
- "data-testid": vn,
608
+ "data-testid": wn,
588
609
  className: u,
589
610
  id: a,
590
611
  name: l,
@@ -595,7 +616,7 @@ const Y = {
595
616
  );
596
617
  };
597
618
  var ue = {}, dt;
598
- function Sn() {
619
+ function bn() {
599
620
  if (dt) return ue;
600
621
  dt = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.parse = o, ue.serialize = d;
601
622
  const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, n = /^[\u0020-\u003A\u003D-\u007E]*$/, i = Object.prototype.toString, s = /* @__PURE__ */ (() => {
@@ -618,11 +639,11 @@ function Sn() {
618
639
  h = f.lastIndexOf(";", g - 1) + 1;
619
640
  continue;
620
641
  }
621
- const x = a(f, h, g), M = l(f, g, x), _ = f.slice(x, M);
622
- if (p[_] === void 0) {
642
+ const x = a(f, h, g), _ = l(f, g, x), O = f.slice(x, _);
643
+ if (p[O] === void 0) {
623
644
  let P = a(f, g + 1, C), E = l(f, C, P);
624
645
  const y = T(f.slice(P, E));
625
- p[_] = y;
646
+ p[O] = y;
626
647
  }
627
648
  h = C + 1;
628
649
  } while (h < v);
@@ -719,7 +740,7 @@ function Sn() {
719
740
  }
720
741
  return ue;
721
742
  }
722
- Sn();
743
+ bn();
723
744
  /**
724
745
  * react-router v7.5.0
725
746
  *
@@ -761,18 +782,18 @@ function Xe(e) {
761
782
  return t;
762
783
  }
763
784
  function Rt(e, t, r = "/") {
764
- return bn(e, t, r, !1);
785
+ return Tn(e, t, r, !1);
765
786
  }
766
- function bn(e, t, r, n) {
767
- let i = typeof t == "string" ? Xe(t) : t, s = te(i.pathname || "/", r);
787
+ function Tn(e, t, r, n) {
788
+ let i = typeof t == "string" ? Xe(t) : t, s = re(i.pathname || "/", r);
768
789
  if (s == null)
769
790
  return null;
770
791
  let o = zt(e);
771
- Tn(o);
792
+ yn(o);
772
793
  let a = null;
773
794
  for (let l = 0; a == null && l < o.length; ++l) {
774
- let d = An(s);
775
- a = On(
795
+ let d = Nn(s);
796
+ a = Ln(
776
797
  o[l],
777
798
  d,
778
799
  n
@@ -828,7 +849,7 @@ function kt(e) {
828
849
  (l) => e.startsWith("/") && l === "" ? "/" : l
829
850
  );
830
851
  }
831
- function Tn(e) {
852
+ function yn(e) {
832
853
  e.sort(
833
854
  (t, r) => t.score !== r.score ? r.score - t.score : Mn(
834
855
  t.routesMeta.map((n) => n.childrenIndex),
@@ -836,11 +857,11 @@ function Tn(e) {
836
857
  )
837
858
  );
838
859
  }
839
- var yn = /^:[\w-]+$/, xn = 3, En = 2, Cn = 1, Pn = 10, In = -2, ct = (e) => e === "*";
860
+ var xn = /^:[\w-]+$/, En = 3, Cn = 2, Pn = 1, In = 10, On = -2, ct = (e) => e === "*";
840
861
  function _n(e, t) {
841
862
  let r = e.split("/"), n = r.length;
842
- return r.some(ct) && (n += In), t && (n += En), r.filter((i) => !ct(i)).reduce(
843
- (i, s) => i + (yn.test(s) ? xn : s === "" ? Cn : Pn),
863
+ return r.some(ct) && (n += On), t && (n += Cn), r.filter((i) => !ct(i)).reduce(
864
+ (i, s) => i + (xn.test(s) ? En : s === "" ? Pn : In),
844
865
  n
845
866
  );
846
867
  }
@@ -857,7 +878,7 @@ function Mn(e, t) {
857
878
  0
858
879
  );
859
880
  }
860
- function On(e, t, r = !1) {
881
+ function Ln(e, t, r = !1) {
861
882
  let { routesMeta: n } = e, i = {}, s = "/", o = [];
862
883
  for (let a = 0; a < n.length; ++a) {
863
884
  let l = n[a], d = a === n.length - 1, c = s === "/" ? t : t.slice(s.length) || "/", u = Pe(
@@ -877,7 +898,7 @@ function On(e, t, r = !1) {
877
898
  // TODO: Can this as be avoided?
878
899
  params: i,
879
900
  pathname: K([s, u.pathname]),
880
- pathnameBase: kn(
901
+ pathnameBase: Dn(
881
902
  K([s, u.pathnameBase])
882
903
  ),
883
904
  route: f
@@ -887,7 +908,7 @@ function On(e, t, r = !1) {
887
908
  }
888
909
  function Pe(e, t) {
889
910
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
890
- let [r, n] = Ln(
911
+ let [r, n] = An(
891
912
  e.path,
892
913
  e.caseSensitive,
893
914
  e.end
@@ -911,7 +932,7 @@ function Pe(e, t) {
911
932
  pattern: e
912
933
  };
913
934
  }
914
- function Ln(e, t = !1, r = !0) {
935
+ function An(e, t = !1, r = !0) {
915
936
  J(
916
937
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
917
938
  `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
@@ -922,7 +943,7 @@ function Ln(e, t = !1, r = !0) {
922
943
  );
923
944
  return e.endsWith("*") ? (n.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), n];
924
945
  }
925
- function An(e) {
946
+ function Nn(e) {
926
947
  try {
927
948
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
928
949
  } catch (t) {
@@ -932,26 +953,26 @@ function An(e) {
932
953
  ), e;
933
954
  }
934
955
  }
935
- function te(e, t) {
956
+ function re(e, t) {
936
957
  if (t === "/") return e;
937
958
  if (!e.toLowerCase().startsWith(t.toLowerCase()))
938
959
  return null;
939
960
  let r = t.endsWith("/") ? t.length - 1 : t.length, n = e.charAt(r);
940
961
  return n && n !== "/" ? null : e.slice(r) || "/";
941
962
  }
942
- function Nn(e, t = "/") {
963
+ function Rn(e, t = "/") {
943
964
  let {
944
965
  pathname: r,
945
966
  search: n = "",
946
967
  hash: i = ""
947
968
  } = typeof e == "string" ? Xe(e) : e;
948
969
  return {
949
- pathname: r ? r.startsWith("/") ? r : Rn(r, t) : t,
950
- search: Dn(n),
951
- hash: Bn(i)
970
+ pathname: r ? r.startsWith("/") ? r : zn(r, t) : t,
971
+ search: Bn(n),
972
+ hash: Fn(i)
952
973
  };
953
974
  }
954
- function Rn(e, t) {
975
+ function zn(e, t) {
955
976
  let r = t.replace(/\/+$/, "").split("/");
956
977
  return e.split("/").forEach((i) => {
957
978
  i === ".." ? r.length > 1 && r.pop() : i !== "." && r.push(i);
@@ -962,13 +983,13 @@ function Re(e, t, r, n) {
962
983
  n
963
984
  )}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
964
985
  }
965
- function zn(e) {
986
+ function kn(e) {
966
987
  return e.filter(
967
988
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
968
989
  );
969
990
  }
970
991
  function Dt(e) {
971
- let t = zn(e);
992
+ let t = kn(e);
972
993
  return t.map(
973
994
  (r, n) => n === t.length - 1 ? r.pathname : r.pathnameBase
974
995
  );
@@ -998,11 +1019,11 @@ function Bt(e, t, r, n = !1) {
998
1019
  }
999
1020
  a = u >= 0 ? t[u] : "/";
1000
1021
  }
1001
- let l = Nn(i, a), d = o && o !== "/" && o.endsWith("/"), c = (s || o === ".") && r.endsWith("/");
1022
+ let l = Rn(i, a), d = o && o !== "/" && o.endsWith("/"), c = (s || o === ".") && r.endsWith("/");
1002
1023
  return !l.pathname.endsWith("/") && (d || c) && (l.pathname += "/"), l;
1003
1024
  }
1004
- var K = (e) => e.join("/").replace(/\/\/+/g, "/"), kn = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Dn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Bn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
1005
- function Fn(e) {
1025
+ var K = (e) => e.join("/").replace(/\/\/+/g, "/"), Dn = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Bn = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Fn = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
1026
+ function $n(e) {
1006
1027
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
1007
1028
  }
1008
1029
  var Ft = [
@@ -1014,25 +1035,25 @@ var Ft = [
1014
1035
  new Set(
1015
1036
  Ft
1016
1037
  );
1017
- var $n = [
1038
+ var Gn = [
1018
1039
  "GET",
1019
1040
  ...Ft
1020
1041
  ];
1021
- new Set($n);
1042
+ new Set(Gn);
1022
1043
  var de = S.createContext(null);
1023
1044
  de.displayName = "DataRouter";
1024
- var Oe = S.createContext(null);
1025
- Oe.displayName = "DataRouterState";
1045
+ var Me = S.createContext(null);
1046
+ Me.displayName = "DataRouterState";
1026
1047
  var $t = S.createContext({
1027
1048
  isTransitioning: !1
1028
1049
  });
1029
1050
  $t.displayName = "ViewTransition";
1030
- var Gn = S.createContext(
1051
+ var Vn = S.createContext(
1031
1052
  /* @__PURE__ */ new Map()
1032
1053
  );
1033
- Gn.displayName = "Fetchers";
1034
- var Vn = S.createContext(null);
1035
- Vn.displayName = "Await";
1054
+ Vn.displayName = "Fetchers";
1055
+ var Hn = S.createContext(null);
1056
+ Hn.displayName = "Await";
1036
1057
  var Q = S.createContext(
1037
1058
  null
1038
1059
  );
@@ -1049,7 +1070,7 @@ var Z = S.createContext({
1049
1070
  Z.displayName = "Route";
1050
1071
  var Je = S.createContext(null);
1051
1072
  Je.displayName = "RouteError";
1052
- function Hn(e, { relative: t } = {}) {
1073
+ function jn(e, { relative: t } = {}) {
1053
1074
  D(
1054
1075
  Le(),
1055
1076
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -1062,7 +1083,7 @@ function Hn(e, { relative: t } = {}) {
1062
1083
  function Le() {
1063
1084
  return S.useContext(Ke) != null;
1064
1085
  }
1065
- function ne() {
1086
+ function ie() {
1066
1087
  return D(
1067
1088
  Le(),
1068
1089
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -1074,18 +1095,18 @@ var Gt = "You should call navigate() in a React.useEffect(), not when your compo
1074
1095
  function Vt(e) {
1075
1096
  S.useContext(Q).static || S.useLayoutEffect(e);
1076
1097
  }
1077
- function jn() {
1098
+ function Wn() {
1078
1099
  let { isDataRoute: e } = S.useContext(Z);
1079
- return e ? ni() : Wn();
1100
+ return e ? ii() : Un();
1080
1101
  }
1081
- function Wn() {
1102
+ function Un() {
1082
1103
  D(
1083
1104
  Le(),
1084
1105
  // TODO: This error is probably because they somehow have 2 versions of the
1085
1106
  // router loaded. We can help them understand how to avoid that.
1086
1107
  "useNavigate() may be used only in the context of a <Router> component."
1087
1108
  );
1088
- let e = S.useContext(de), { basename: t, navigator: r } = S.useContext(Q), { matches: n } = S.useContext(Z), { pathname: i } = ne(), s = JSON.stringify(Dt(n)), o = S.useRef(!1);
1109
+ let e = S.useContext(de), { basename: t, navigator: r } = S.useContext(Q), { matches: n } = S.useContext(Z), { pathname: i } = ie(), s = JSON.stringify(Dt(n)), o = S.useRef(!1);
1089
1110
  return Vt(() => {
1090
1111
  o.current = !0;
1091
1112
  }), S.useCallback(
@@ -1118,7 +1139,7 @@ function Wn() {
1118
1139
  }
1119
1140
  S.createContext(null);
1120
1141
  function me(e, { relative: t } = {}) {
1121
- let { matches: r } = S.useContext(Z), { pathname: n } = ne(), i = JSON.stringify(Dt(r));
1142
+ let { matches: r } = S.useContext(Z), { pathname: n } = ie(), i = JSON.stringify(Dt(r));
1122
1143
  return S.useMemo(
1123
1144
  () => Bt(
1124
1145
  e,
@@ -1129,7 +1150,7 @@ function me(e, { relative: t } = {}) {
1129
1150
  [e, i, n, t]
1130
1151
  );
1131
1152
  }
1132
- function Un(e, t, r, n) {
1153
+ function Yn(e, t, r, n) {
1133
1154
  D(
1134
1155
  Le(),
1135
1156
  // TODO: This error is probably because they somehow have 2 versions of the
@@ -1147,7 +1168,7 @@ function Un(e, t, r, n) {
1147
1168
  Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" : `${g}/*`}">.`
1148
1169
  );
1149
1170
  }
1150
- let f = ne(), m;
1171
+ let f = ie(), m;
1151
1172
  m = f;
1152
1173
  let p = m.pathname || "/", v = p;
1153
1174
  if (c !== "/") {
@@ -1161,7 +1182,7 @@ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" :
1161
1182
  ), J(
1162
1183
  T == null || T[T.length - 1].route.element !== void 0 || T[T.length - 1].route.Component !== void 0 || T[T.length - 1].route.lazy !== void 0,
1163
1184
  `Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
1164
- ), Jn(
1185
+ ), Qn(
1165
1186
  T && T.map(
1166
1187
  (g) => Object.assign({}, g, {
1167
1188
  params: Object.assign({}, l, g.params),
@@ -1182,14 +1203,14 @@ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" :
1182
1203
  n
1183
1204
  );
1184
1205
  }
1185
- function Yn() {
1186
- let e = ri(), t = Fn(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, n = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: n }, s = { padding: "2px 4px", backgroundColor: n }, o = null;
1206
+ function qn() {
1207
+ let e = ni(), t = $n(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), r = e instanceof Error ? e.stack : null, n = "rgba(200,200,200, 0.5)", i = { padding: "0.5rem", backgroundColor: n }, s = { padding: "2px 4px", backgroundColor: n }, o = null;
1187
1208
  return console.error(
1188
1209
  "Error handled by React Router default ErrorBoundary:",
1189
1210
  e
1190
1211
  ), o = /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement("p", null, "💿 Hey developer 👋"), /* @__PURE__ */ S.createElement("p", null, "You can provide a way better UX than this when your app throws errors by providing your own ", /* @__PURE__ */ S.createElement("code", { style: s }, "ErrorBoundary"), " or", " ", /* @__PURE__ */ S.createElement("code", { style: s }, "errorElement"), " prop on your route.")), /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ S.createElement("h3", { style: { fontStyle: "italic" } }, t), r ? /* @__PURE__ */ S.createElement("pre", { style: i }, r) : null, o);
1191
1212
  }
1192
- var qn = /* @__PURE__ */ S.createElement(Yn, null), Xn = class extends S.Component {
1213
+ var Xn = /* @__PURE__ */ S.createElement(qn, null), Kn = class extends S.Component {
1193
1214
  constructor(e) {
1194
1215
  super(e), this.state = {
1195
1216
  location: e.location,
@@ -1228,11 +1249,11 @@ var qn = /* @__PURE__ */ S.createElement(Yn, null), Xn = class extends S.Compone
1228
1249
  )) : this.props.children;
1229
1250
  }
1230
1251
  };
1231
- function Kn({ routeContext: e, match: t, children: r }) {
1252
+ function Jn({ routeContext: e, match: t, children: r }) {
1232
1253
  let n = S.useContext(de);
1233
1254
  return n && n.static && n.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (n.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ S.createElement(Z.Provider, { value: e }, r);
1234
1255
  }
1235
- function Jn(e, t = [], r = null, n = null) {
1256
+ function Qn(e, t = [], r = null, n = null) {
1236
1257
  if (e == null) {
1237
1258
  if (!r)
1238
1259
  return null;
@@ -1272,7 +1293,7 @@ function Jn(e, t = [], r = null, n = null) {
1272
1293
  }
1273
1294
  return i.reduceRight((l, d, c) => {
1274
1295
  let u, f = !1, m = null, p = null;
1275
- r && (u = s && d.route.id ? s[d.route.id] : void 0, m = d.route.errorElement || qn, o && (a < 0 && c === 0 ? (Ht(
1296
+ r && (u = s && d.route.id ? s[d.route.id] : void 0, m = d.route.errorElement || Xn, o && (a < 0 && c === 0 ? (Ht(
1276
1297
  "route-fallback",
1277
1298
  !1,
1278
1299
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -1280,7 +1301,7 @@ function Jn(e, t = [], r = null, n = null) {
1280
1301
  let v = t.concat(i.slice(0, c + 1)), T = () => {
1281
1302
  let h;
1282
1303
  return u ? h = m : f ? h = p : d.route.Component ? h = /* @__PURE__ */ S.createElement(d.route.Component, null) : d.route.element ? h = d.route.element : h = l, /* @__PURE__ */ S.createElement(
1283
- Kn,
1304
+ Jn,
1284
1305
  {
1285
1306
  match: d,
1286
1307
  routeContext: {
@@ -1293,7 +1314,7 @@ function Jn(e, t = [], r = null, n = null) {
1293
1314
  );
1294
1315
  };
1295
1316
  return r && (d.route.ErrorBoundary || d.route.errorElement || c === 0) ? /* @__PURE__ */ S.createElement(
1296
- Xn,
1317
+ Kn,
1297
1318
  {
1298
1319
  location: r.location,
1299
1320
  revalidation: r.revalidation,
@@ -1308,34 +1329,34 @@ function Jn(e, t = [], r = null, n = null) {
1308
1329
  function Qe(e) {
1309
1330
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1310
1331
  }
1311
- function Qn(e) {
1332
+ function Zn(e) {
1312
1333
  let t = S.useContext(de);
1313
1334
  return D(t, Qe(e)), t;
1314
1335
  }
1315
- function Zn(e) {
1316
- let t = S.useContext(Oe);
1336
+ function ei(e) {
1337
+ let t = S.useContext(Me);
1317
1338
  return D(t, Qe(e)), t;
1318
1339
  }
1319
- function ei(e) {
1340
+ function ti(e) {
1320
1341
  let t = S.useContext(Z);
1321
1342
  return D(t, Qe(e)), t;
1322
1343
  }
1323
1344
  function Ze(e) {
1324
- let t = ei(e), r = t.matches[t.matches.length - 1];
1345
+ let t = ti(e), r = t.matches[t.matches.length - 1];
1325
1346
  return D(
1326
1347
  r.route.id,
1327
1348
  `${e} can only be used on routes that contain a unique "id"`
1328
1349
  ), r.route.id;
1329
1350
  }
1330
- function ti() {
1351
+ function ri() {
1331
1352
  return Ze(
1332
1353
  "useRouteId"
1333
1354
  /* UseRouteId */
1334
1355
  );
1335
1356
  }
1336
- function ri() {
1357
+ function ni() {
1337
1358
  var n;
1338
- let e = S.useContext(Je), t = Zn(
1359
+ let e = S.useContext(Je), t = ei(
1339
1360
  "useRouteError"
1340
1361
  /* UseRouteError */
1341
1362
  ), r = Ze(
@@ -1344,8 +1365,8 @@ function ri() {
1344
1365
  );
1345
1366
  return e !== void 0 ? e : (n = t.errors) == null ? void 0 : n[r];
1346
1367
  }
1347
- function ni() {
1348
- let { router: e } = Qn(
1368
+ function ii() {
1369
+ let { router: e } = Zn(
1349
1370
  "useNavigate"
1350
1371
  /* UseNavigateStable */
1351
1372
  ), t = Ze(
@@ -1365,37 +1386,37 @@ var ut = {};
1365
1386
  function Ht(e, t, r) {
1366
1387
  !t && !ut[e] && (ut[e] = !0, J(!1, r));
1367
1388
  }
1368
- S.memo(ii);
1369
- function ii({
1389
+ S.memo(si);
1390
+ function si({
1370
1391
  routes: e,
1371
1392
  future: t,
1372
1393
  state: r
1373
1394
  }) {
1374
- return Un(e, void 0, r, t);
1395
+ return Yn(e, void 0, r, t);
1375
1396
  }
1376
1397
  var be = "get", Te = "application/x-www-form-urlencoded";
1377
1398
  function Ae(e) {
1378
1399
  return e != null && typeof e.tagName == "string";
1379
1400
  }
1380
- function si(e) {
1401
+ function ai(e) {
1381
1402
  return Ae(e) && e.tagName.toLowerCase() === "button";
1382
1403
  }
1383
- function ai(e) {
1404
+ function oi(e) {
1384
1405
  return Ae(e) && e.tagName.toLowerCase() === "form";
1385
1406
  }
1386
- function oi(e) {
1407
+ function li(e) {
1387
1408
  return Ae(e) && e.tagName.toLowerCase() === "input";
1388
1409
  }
1389
- function li(e) {
1410
+ function di(e) {
1390
1411
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1391
1412
  }
1392
- function di(e, t) {
1413
+ function ci(e, t) {
1393
1414
  return e.button === 0 && // Ignore everything but left clicks
1394
1415
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1395
- !li(e);
1416
+ !di(e);
1396
1417
  }
1397
1418
  var ge = null;
1398
- function ci() {
1419
+ function ui() {
1399
1420
  if (ge === null)
1400
1421
  try {
1401
1422
  new FormData(
@@ -1408,30 +1429,30 @@ function ci() {
1408
1429
  }
1409
1430
  return ge;
1410
1431
  }
1411
- var ui = /* @__PURE__ */ new Set([
1432
+ var fi = /* @__PURE__ */ new Set([
1412
1433
  "application/x-www-form-urlencoded",
1413
1434
  "multipart/form-data",
1414
1435
  "text/plain"
1415
1436
  ]);
1416
1437
  function ze(e) {
1417
- return e != null && !ui.has(e) ? (J(
1438
+ return e != null && !fi.has(e) ? (J(
1418
1439
  !1,
1419
1440
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Te}"`
1420
1441
  ), null) : e;
1421
1442
  }
1422
- function fi(e, t) {
1443
+ function pi(e, t) {
1423
1444
  let r, n, i, s, o;
1424
- if (ai(e)) {
1445
+ if (oi(e)) {
1425
1446
  let a = e.getAttribute("action");
1426
- n = a ? te(a, t) : null, r = e.getAttribute("method") || be, i = ze(e.getAttribute("enctype")) || Te, s = new FormData(e);
1427
- } else if (si(e) || oi(e) && (e.type === "submit" || e.type === "image")) {
1447
+ n = a ? re(a, t) : null, r = e.getAttribute("method") || be, i = ze(e.getAttribute("enctype")) || Te, s = new FormData(e);
1448
+ } else if (ai(e) || li(e) && (e.type === "submit" || e.type === "image")) {
1428
1449
  let a = e.form;
1429
1450
  if (a == null)
1430
1451
  throw new Error(
1431
1452
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1432
1453
  );
1433
1454
  let l = e.getAttribute("formaction") || a.getAttribute("action");
1434
- if (n = l ? te(l, t) : null, r = e.getAttribute("formmethod") || a.getAttribute("method") || be, i = ze(e.getAttribute("formenctype")) || ze(a.getAttribute("enctype")) || Te, s = new FormData(a, e), !ci()) {
1455
+ if (n = l ? re(l, t) : null, r = e.getAttribute("formmethod") || a.getAttribute("method") || be, i = ze(e.getAttribute("formenctype")) || ze(a.getAttribute("enctype")) || Te, s = new FormData(a, e), !ui()) {
1435
1456
  let { name: d, type: c, value: u } = e;
1436
1457
  if (c === "image") {
1437
1458
  let f = d ? `${d}.` : "";
@@ -1451,7 +1472,7 @@ function et(e, t) {
1451
1472
  if (e === !1 || e === null || typeof e > "u")
1452
1473
  throw new Error(t);
1453
1474
  }
1454
- async function pi(e, t) {
1475
+ async function hi(e, t) {
1455
1476
  if (e.id in t)
1456
1477
  return t[e.id];
1457
1478
  try {
@@ -1468,22 +1489,22 @@ async function pi(e, t) {
1468
1489
  });
1469
1490
  }
1470
1491
  }
1471
- function hi(e) {
1492
+ function mi(e) {
1472
1493
  return e == null ? !1 : e.href == null ? e.rel === "preload" && typeof e.imageSrcSet == "string" && typeof e.imageSizes == "string" : typeof e.rel == "string" && typeof e.href == "string";
1473
1494
  }
1474
- async function mi(e, t, r) {
1495
+ async function gi(e, t, r) {
1475
1496
  let n = await Promise.all(
1476
1497
  e.map(async (i) => {
1477
1498
  let s = t.routes[i.route.id];
1478
1499
  if (s) {
1479
- let o = await pi(s, r);
1500
+ let o = await hi(s, r);
1480
1501
  return o.links ? o.links() : [];
1481
1502
  }
1482
1503
  return [];
1483
1504
  })
1484
1505
  );
1485
- return Si(
1486
- n.flat(1).filter(hi).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
1506
+ return bi(
1507
+ n.flat(1).filter(mi).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
1487
1508
  (i) => i.rel === "stylesheet" ? { ...i, rel: "prefetch", as: "style" } : { ...i, rel: "prefetch" }
1488
1509
  )
1489
1510
  );
@@ -1524,8 +1545,8 @@ function ft(e, t, r, n, i, s) {
1524
1545
  return !0;
1525
1546
  }) : [];
1526
1547
  }
1527
- function gi(e, t, { includeHydrateFallback: r } = {}) {
1528
- return vi(
1548
+ function vi(e, t, { includeHydrateFallback: r } = {}) {
1549
+ return wi(
1529
1550
  e.map((n) => {
1530
1551
  let i = t.routes[n.route.id];
1531
1552
  if (!i) return [];
@@ -1534,30 +1555,30 @@ function gi(e, t, { includeHydrateFallback: r } = {}) {
1534
1555
  }).flat(1)
1535
1556
  );
1536
1557
  }
1537
- function vi(e) {
1558
+ function wi(e) {
1538
1559
  return [...new Set(e)];
1539
1560
  }
1540
- function wi(e) {
1561
+ function Si(e) {
1541
1562
  let t = {}, r = Object.keys(e).sort();
1542
1563
  for (let n of r)
1543
1564
  t[n] = e[n];
1544
1565
  return t;
1545
1566
  }
1546
- function Si(e, t) {
1567
+ function bi(e, t) {
1547
1568
  let r = /* @__PURE__ */ new Set();
1548
1569
  return new Set(t), e.reduce((n, i) => {
1549
- let s = JSON.stringify(wi(i));
1570
+ let s = JSON.stringify(Si(i));
1550
1571
  return r.has(s) || (r.add(s), n.push({ key: s, link: i })), n;
1551
1572
  }, []);
1552
1573
  }
1553
- function bi(e, t) {
1574
+ function Ti(e, t) {
1554
1575
  let r = typeof e == "string" ? new URL(
1555
1576
  e,
1556
1577
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
1557
1578
  // don't assume window is available
1558
1579
  typeof window > "u" ? "server://singlefetch/" : window.location.origin
1559
1580
  ) : e;
1560
- return r.pathname === "/" ? r.pathname = "_root.data" : t && te(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
1581
+ return r.pathname === "/" ? r.pathname = "_root.data" : t && re(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
1561
1582
  }
1562
1583
  function jt() {
1563
1584
  let e = S.useContext(de);
@@ -1566,8 +1587,8 @@ function jt() {
1566
1587
  "You must render this element inside a <DataRouterContext.Provider> element"
1567
1588
  ), e;
1568
1589
  }
1569
- function Ti() {
1570
- let e = S.useContext(Oe);
1590
+ function yi() {
1591
+ let e = S.useContext(Me);
1571
1592
  return et(
1572
1593
  e,
1573
1594
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -1582,7 +1603,7 @@ function Wt() {
1582
1603
  "You must render this element inside a <HydratedRouter> element"
1583
1604
  ), e;
1584
1605
  }
1585
- function yi(e, t) {
1606
+ function xi(e, t) {
1586
1607
  let r = S.useContext(tt), [n, i] = S.useState(!1), [s, o] = S.useState(!1), { onFocus: a, onBlur: l, onMouseEnter: d, onMouseLeave: c, onTouchStart: u } = t, f = S.useRef(null);
1587
1608
  S.useEffect(() => {
1588
1609
  if (e === "render" && o(!0), e === "viewport") {
@@ -1627,7 +1648,7 @@ function fe(e, t) {
1627
1648
  e && e(r), r.defaultPrevented || t(r);
1628
1649
  };
1629
1650
  }
1630
- function xi({
1651
+ function Ei({
1631
1652
  page: e,
1632
1653
  ...t
1633
1654
  }) {
@@ -1635,13 +1656,13 @@ function xi({
1635
1656
  () => Rt(r.routes, e, r.basename),
1636
1657
  [r.routes, e, r.basename]
1637
1658
  );
1638
- return n ? /* @__PURE__ */ S.createElement(Ci, { page: e, matches: n, ...t }) : null;
1659
+ return n ? /* @__PURE__ */ S.createElement(Pi, { page: e, matches: n, ...t }) : null;
1639
1660
  }
1640
- function Ei(e) {
1661
+ function Ci(e) {
1641
1662
  let { manifest: t, routeModules: r } = Wt(), [n, i] = S.useState([]);
1642
1663
  return S.useEffect(() => {
1643
1664
  let s = !1;
1644
- return mi(e, t, r).then(
1665
+ return gi(e, t, r).then(
1645
1666
  (o) => {
1646
1667
  s || i(o);
1647
1668
  }
@@ -1650,12 +1671,12 @@ function Ei(e) {
1650
1671
  };
1651
1672
  }, [e, t, r]), n;
1652
1673
  }
1653
- function Ci({
1674
+ function Pi({
1654
1675
  page: e,
1655
1676
  matches: t,
1656
1677
  ...r
1657
1678
  }) {
1658
- let n = ne(), { manifest: i, routeModules: s } = Wt(), { basename: o } = jt(), { loaderData: a, matches: l } = Ti(), d = S.useMemo(
1679
+ let n = ie(), { manifest: i, routeModules: s } = Wt(), { basename: o } = jt(), { loaderData: a, matches: l } = yi(), d = S.useMemo(
1659
1680
  () => ft(
1660
1681
  e,
1661
1682
  t,
@@ -1685,7 +1706,7 @@ function Ci({
1685
1706
  !g || !g.hasLoader || (!d.some((C) => C.route.id === h.route.id) && h.route.id in a && ((w = s[h.route.id]) != null && w.shouldRevalidate) || g.hasClientLoader ? v = !0 : p.add(h.route.id));
1686
1707
  }), p.size === 0)
1687
1708
  return [];
1688
- let T = bi(e, o);
1709
+ let T = Ti(e, o);
1689
1710
  return v && p.size > 0 && T.searchParams.set(
1690
1711
  "_routes",
1691
1712
  t.filter((h) => p.has(h.route.id)).map((h) => h.route.id).join(",")
@@ -1700,16 +1721,16 @@ function Ci({
1700
1721
  e,
1701
1722
  s
1702
1723
  ]), f = S.useMemo(
1703
- () => gi(c, i),
1724
+ () => vi(c, i),
1704
1725
  [c, i]
1705
- ), m = Ei(c);
1726
+ ), m = Ci(c);
1706
1727
  return /* @__PURE__ */ S.createElement(S.Fragment, null, u.map((p) => /* @__PURE__ */ S.createElement("link", { key: p, rel: "prefetch", as: "fetch", href: p, ...r })), f.map((p) => /* @__PURE__ */ S.createElement("link", { key: p, rel: "modulepreload", href: p, ...r })), m.map(({ key: p, link: v }) => (
1707
1728
  // these don't spread `linkProps` because they are full link descriptors
1708
1729
  // already with their own props
1709
1730
  /* @__PURE__ */ S.createElement("link", { key: p, ...v })
1710
1731
  )));
1711
1732
  }
1712
- function Pi(...e) {
1733
+ function Ii(...e) {
1713
1734
  return (t) => {
1714
1735
  e.forEach((r) => {
1715
1736
  typeof r == "function" ? r(t) : r != null && (r.current = t);
@@ -1739,7 +1760,7 @@ var Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1739
1760
  let { basename: p } = S.useContext(Q), v = typeof d == "string" && Yt.test(d), T, h = !1;
1740
1761
  if (typeof d == "string" && v && (T = d, Ut))
1741
1762
  try {
1742
- let E = new URL(window.location.href), y = d.startsWith("//") ? new URL(E.protocol + d) : new URL(d), I = te(y.pathname, p);
1763
+ let E = new URL(window.location.href), y = d.startsWith("//") ? new URL(E.protocol + d) : new URL(d), I = re(y.pathname, p);
1743
1764
  y.origin === E.origin && I != null ? d = I + y.search + y.hash : h = !0;
1744
1765
  } catch {
1745
1766
  J(
@@ -1747,10 +1768,10 @@ var Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1747
1768
  `<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1748
1769
  );
1749
1770
  }
1750
- let g = Hn(d, { relative: i }), [w, C, x] = yi(
1771
+ let g = jn(d, { relative: i }), [w, C, x] = xi(
1751
1772
  n,
1752
1773
  f
1753
- ), M = Mi(d, {
1774
+ ), _ = Mi(d, {
1754
1775
  replace: o,
1755
1776
  state: a,
1756
1777
  target: l,
@@ -1758,8 +1779,8 @@ var Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1758
1779
  relative: i,
1759
1780
  viewTransition: u
1760
1781
  });
1761
- function _(E) {
1762
- t && t(E), E.defaultPrevented || M(E);
1782
+ function O(E) {
1783
+ t && t(E), E.defaultPrevented || _(E);
1763
1784
  }
1764
1785
  let P = (
1765
1786
  // eslint-disable-next-line jsx-a11y/anchor-has-content
@@ -1769,14 +1790,14 @@ var Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1769
1790
  ...f,
1770
1791
  ...x,
1771
1792
  href: T || g,
1772
- onClick: h || s ? t : _,
1773
- ref: Pi(m, C),
1793
+ onClick: h || s ? t : O,
1794
+ ref: Ii(m, C),
1774
1795
  target: l,
1775
1796
  "data-discover": !v && r === "render" ? "true" : void 0
1776
1797
  }
1777
1798
  )
1778
1799
  );
1779
- return w && !v ? /* @__PURE__ */ S.createElement(S.Fragment, null, P, /* @__PURE__ */ S.createElement(xi, { page: g })) : P;
1800
+ return w && !v ? /* @__PURE__ */ S.createElement(S.Fragment, null, P, /* @__PURE__ */ S.createElement(Ei, { page: g })) : P;
1780
1801
  }
1781
1802
  );
1782
1803
  rt.displayName = "Link";
@@ -1792,23 +1813,23 @@ var qt = S.forwardRef(
1792
1813
  children: l,
1793
1814
  ...d
1794
1815
  }, c) {
1795
- let u = me(o, { relative: d.relative }), f = ne(), m = S.useContext(Oe), { navigator: p, basename: v } = S.useContext(Q), T = m != null && // Conditional usage is OK here because the usage of a data router is static
1816
+ let u = me(o, { relative: d.relative }), f = ie(), m = S.useContext(Me), { navigator: p, basename: v } = S.useContext(Q), T = m != null && // Conditional usage is OK here because the usage of a data router is static
1796
1817
  // eslint-disable-next-line react-hooks/rules-of-hooks
1797
- Ri(u) && a === !0, h = p.encodeLocation ? p.encodeLocation(u).pathname : u.pathname, g = f.pathname, w = m && m.navigation && m.navigation.location ? m.navigation.location.pathname : null;
1798
- r || (g = g.toLowerCase(), w = w ? w.toLowerCase() : null, h = h.toLowerCase()), w && v && (w = te(w, v) || w);
1818
+ zi(u) && a === !0, h = p.encodeLocation ? p.encodeLocation(u).pathname : u.pathname, g = f.pathname, w = m && m.navigation && m.navigation.location ? m.navigation.location.pathname : null;
1819
+ r || (g = g.toLowerCase(), w = w ? w.toLowerCase() : null, h = h.toLowerCase()), w && v && (w = re(w, v) || w);
1799
1820
  const C = h !== "/" && h.endsWith("/") ? h.length - 1 : h.length;
1800
- let x = g === h || !i && g.startsWith(h) && g.charAt(C) === "/", M = w != null && (w === h || !i && w.startsWith(h) && w.charAt(h.length) === "/"), _ = {
1821
+ let x = g === h || !i && g.startsWith(h) && g.charAt(C) === "/", _ = w != null && (w === h || !i && w.startsWith(h) && w.charAt(h.length) === "/"), O = {
1801
1822
  isActive: x,
1802
- isPending: M,
1823
+ isPending: _,
1803
1824
  isTransitioning: T
1804
1825
  }, P = x ? t : void 0, E;
1805
- typeof n == "function" ? E = n(_) : E = [
1826
+ typeof n == "function" ? E = n(O) : E = [
1806
1827
  n,
1807
1828
  x ? "active" : null,
1808
- M ? "pending" : null,
1829
+ _ ? "pending" : null,
1809
1830
  T ? "transitioning" : null
1810
1831
  ].filter(Boolean).join(" ");
1811
- let y = typeof s == "function" ? s(_) : s;
1832
+ let y = typeof s == "function" ? s(O) : s;
1812
1833
  return /* @__PURE__ */ S.createElement(
1813
1834
  rt,
1814
1835
  {
@@ -1820,12 +1841,12 @@ var qt = S.forwardRef(
1820
1841
  to: o,
1821
1842
  viewTransition: a
1822
1843
  },
1823
- typeof l == "function" ? l(_) : l
1844
+ typeof l == "function" ? l(O) : l
1824
1845
  );
1825
1846
  }
1826
1847
  );
1827
1848
  qt.displayName = "NavLink";
1828
- var Ii = S.forwardRef(
1849
+ var Oi = S.forwardRef(
1829
1850
  ({
1830
1851
  discover: e = "render",
1831
1852
  fetcherKey: t,
@@ -1841,7 +1862,7 @@ var Ii = S.forwardRef(
1841
1862
  viewTransition: u,
1842
1863
  ...f
1843
1864
  }, m) => {
1844
- let p = Ai(), v = Ni(a, { relative: d }), T = o.toLowerCase() === "get" ? "get" : "post", h = typeof a == "string" && Yt.test(a), g = (w) => {
1865
+ let p = Ni(), v = Ri(a, { relative: d }), T = o.toLowerCase() === "get" ? "get" : "post", h = typeof a == "string" && Yt.test(a), g = (w) => {
1845
1866
  if (l && l(w), w.defaultPrevented) return;
1846
1867
  w.preventDefault();
1847
1868
  let C = w.nativeEvent.submitter, x = (C == null ? void 0 : C.getAttribute("formmethod")) || o;
@@ -1869,7 +1890,7 @@ var Ii = S.forwardRef(
1869
1890
  );
1870
1891
  }
1871
1892
  );
1872
- Ii.displayName = "Form";
1893
+ Oi.displayName = "Form";
1873
1894
  function _i(e) {
1874
1895
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1875
1896
  }
@@ -1885,10 +1906,10 @@ function Mi(e, {
1885
1906
  relative: s,
1886
1907
  viewTransition: o
1887
1908
  } = {}) {
1888
- let a = jn(), l = ne(), d = me(e, { relative: s });
1909
+ let a = Wn(), l = ie(), d = me(e, { relative: s });
1889
1910
  return S.useCallback(
1890
1911
  (c) => {
1891
- if (di(c, t)) {
1912
+ if (ci(c, t)) {
1892
1913
  c.preventDefault();
1893
1914
  let u = r !== void 0 ? r : je(l) === je(d);
1894
1915
  a(e, {
@@ -1914,20 +1935,20 @@ function Mi(e, {
1914
1935
  ]
1915
1936
  );
1916
1937
  }
1917
- var Oi = 0, Li = () => `__${String(++Oi)}__`;
1918
- function Ai() {
1938
+ var Li = 0, Ai = () => `__${String(++Li)}__`;
1939
+ function Ni() {
1919
1940
  let { router: e } = Xt(
1920
1941
  "useSubmit"
1921
1942
  /* UseSubmit */
1922
- ), { basename: t } = S.useContext(Q), r = ti();
1943
+ ), { basename: t } = S.useContext(Q), r = ri();
1923
1944
  return S.useCallback(
1924
1945
  async (n, i = {}) => {
1925
- let { action: s, method: o, encType: a, formData: l, body: d } = fi(
1946
+ let { action: s, method: o, encType: a, formData: l, body: d } = pi(
1926
1947
  n,
1927
1948
  t
1928
1949
  );
1929
1950
  if (i.navigate === !1) {
1930
- let c = i.fetcherKey || Li();
1951
+ let c = i.fetcherKey || Ai();
1931
1952
  await e.fetch(c, r, i.action || s, {
1932
1953
  preventScrollReset: i.preventScrollReset,
1933
1954
  formData: l,
@@ -1953,10 +1974,10 @@ function Ai() {
1953
1974
  [e, t, r]
1954
1975
  );
1955
1976
  }
1956
- function Ni(e, { relative: t } = {}) {
1977
+ function Ri(e, { relative: t } = {}) {
1957
1978
  let { basename: r } = S.useContext(Q), n = S.useContext(Z);
1958
1979
  D(n, "useFormAction must be used inside a RouteContext");
1959
- let [i] = n.matches.slice(-1), s = { ...me(e || ".", { relative: t }) }, o = ne();
1980
+ let [i] = n.matches.slice(-1), s = { ...me(e || ".", { relative: t }) }, o = ie();
1960
1981
  if (e == null) {
1961
1982
  s.search = o.search;
1962
1983
  let a = new URLSearchParams(s.search), l = a.getAll("index");
@@ -1968,7 +1989,7 @@ function Ni(e, { relative: t } = {}) {
1968
1989
  }
1969
1990
  return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : K([r, s.pathname])), je(s);
1970
1991
  }
1971
- function Ri(e, t = {}) {
1992
+ function zi(e, t = {}) {
1972
1993
  let r = S.useContext($t);
1973
1994
  D(
1974
1995
  r != null,
@@ -1980,11 +2001,11 @@ function Ri(e, t = {}) {
1980
2001
  ), i = me(e, { relative: t.relative });
1981
2002
  if (!r.isTransitioning)
1982
2003
  return !1;
1983
- let s = te(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = te(r.nextLocation.pathname, n) || r.nextLocation.pathname;
2004
+ let s = re(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = re(r.nextLocation.pathname, n) || r.nextLocation.pathname;
1984
2005
  return Pe(i.pathname, o) != null || Pe(i.pathname, s) != null;
1985
2006
  }
1986
2007
  new TextEncoder();
1987
- const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, children: i, withIcon: s = !1 }) => {
2008
+ const pt = "routerLinkTestId", ki = ({ color: e, block: t, href: r, to: n, children: i, withIcon: s = !1 }) => {
1988
2009
  const o = z(t, "link", `link--${e}`, {
1989
2010
  "link--icon": s
1990
2011
  });
@@ -2007,18 +2028,18 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2007
2028
  children: i
2008
2029
  }
2009
2030
  ) : null;
2010
- }, ki = "leftIconLinkTestId", Di = "rightIconLinkTestId", uo = ({ RightIcon: e, LeftIcon: t, children: r, ...n }) => /* @__PURE__ */ $(
2011
- zi,
2031
+ }, Di = "leftIconLinkTestId", Bi = "rightIconLinkTestId", po = ({ RightIcon: e, LeftIcon: t, children: r, ...n }) => /* @__PURE__ */ $(
2032
+ ki,
2012
2033
  {
2013
2034
  withIcon: !0,
2014
2035
  ...n,
2015
2036
  children: [
2016
- !!t && /* @__PURE__ */ b(t, { "data-testid": ki }),
2037
+ !!t && /* @__PURE__ */ b(t, { "data-testid": Di }),
2017
2038
  r,
2018
- !!e && /* @__PURE__ */ b(e, { "data-testid": Di })
2039
+ !!e && /* @__PURE__ */ b(e, { "data-testid": Bi })
2019
2040
  ]
2020
2041
  }
2021
- ), fo = ({ block: e, to: t, children: r }) => {
2042
+ ), ho = ({ block: e, to: t, children: r }) => {
2022
2043
  const n = (i) => z(e, "nav-link", {
2023
2044
  _active: i
2024
2045
  });
@@ -2030,17 +2051,17 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2030
2051
  children: r
2031
2052
  }
2032
2053
  );
2033
- }, Bi = Object.freeze({
2054
+ }, Fi = Object.freeze({
2034
2055
  LEFT: "left",
2035
2056
  RIGHT: "right"
2036
- }), Fi = "paginationTestId", $i = "paginationArrowLeftTestId", Gi = "paginationArrowRightTestId", Vi = ({ block: e, ...t }) => /* @__PURE__ */ b(
2057
+ }), $i = "paginationTestId", Gi = "paginationArrowLeftTestId", Vi = "paginationArrowRightTestId", Hi = ({ block: e, ...t }) => /* @__PURE__ */ b(
2037
2058
  "div",
2038
2059
  {
2039
- "data-testid": Fi,
2060
+ "data-testid": $i,
2040
2061
  className: z(e, "pagination"),
2041
2062
  children: /* @__PURE__ */ b(ye.Body, { ...t })
2042
2063
  }
2043
- ), Hi = ({ onClick: e, isSelected: t, page: r, disabled: n = !1 }) => /* @__PURE__ */ b(
2064
+ ), ji = ({ onClick: e, isSelected: t, page: r, disabled: n = !1 }) => /* @__PURE__ */ b(
2044
2065
  "button",
2045
2066
  {
2046
2067
  disabled: n,
@@ -2050,28 +2071,28 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2050
2071
  }),
2051
2072
  children: r
2052
2073
  }
2053
- ), ji = ({ onClick: e, direction: t, disabled: r = !1 }) => /* @__PURE__ */ b(
2074
+ ), Wi = ({ onClick: e, direction: t, disabled: r = !1 }) => /* @__PURE__ */ b(
2054
2075
  "button",
2055
2076
  {
2056
2077
  type: "button",
2057
2078
  onClick: e,
2058
2079
  disabled: r,
2059
2080
  className: "pagination__button",
2060
- children: t === Bi.LEFT ? /* @__PURE__ */ b(
2081
+ children: t === Fi.LEFT ? /* @__PURE__ */ b(
2061
2082
  Y.ArrowNarrowLeft,
2062
2083
  {
2063
- "data-testid": $i,
2084
+ "data-testid": Gi,
2064
2085
  className: "pagination__arrow"
2065
2086
  }
2066
2087
  ) : /* @__PURE__ */ b(
2067
2088
  Y.ArrowNarrowRight,
2068
2089
  {
2069
- "data-testid": Gi,
2090
+ "data-testid": Vi,
2070
2091
  className: "pagination__arrow"
2071
2092
  }
2072
2093
  )
2073
2094
  }
2074
- ), Wi = ({
2095
+ ), Ui = ({
2075
2096
  pages: e,
2076
2097
  currentPage: t,
2077
2098
  onPageClick: r,
@@ -2113,23 +2134,23 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2113
2134
  }
2114
2135
  )
2115
2136
  ] });
2116
- }, ye = Object.assign(Vi, {
2117
- Page: Hi,
2118
- Arrow: ji,
2119
- Body: Wi
2120
- }), po = ({ block: e, ...t }) => /* @__PURE__ */ b(
2137
+ }, ye = Object.assign(Hi, {
2138
+ Page: ji,
2139
+ Arrow: Wi,
2140
+ Body: Ui
2141
+ }), mo = ({ block: e, ...t }) => /* @__PURE__ */ b(
2121
2142
  vr,
2122
2143
  {
2123
2144
  className: z(e, "range-slider"),
2124
2145
  ...t,
2125
2146
  range: !0
2126
2147
  }
2127
- ), Ui = (e, t, r) => {
2148
+ ), Yi = (e, t, r) => {
2128
2149
  if (!r || !t.trim())
2129
2150
  return e;
2130
2151
  const n = e.filter((i) => i.toLowerCase().includes(t.toLowerCase()));
2131
2152
  return n.length > 0 ? n : null;
2132
- }, Yi = ({
2153
+ }, qi = ({
2133
2154
  options: e,
2134
2155
  onClick: t,
2135
2156
  handleSelect: r,
@@ -2144,11 +2165,11 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2144
2165
  hasSearch: u = !1,
2145
2166
  ...f
2146
2167
  }) => {
2147
- const m = Et(() => Ui(e, s, u), [e, s, u]), p = (v) => {
2168
+ const m = Et(() => Yi(e, s, u), [e, s, u]), p = (v) => {
2148
2169
  o(v), r(u);
2149
2170
  };
2150
2171
  return /* @__PURE__ */ $(
2151
- se.Wrapper,
2172
+ ae.Wrapper,
2152
2173
  {
2153
2174
  onClickOutside: r,
2154
2175
  isOpen: i,
@@ -2156,13 +2177,13 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2156
2177
  disabled: c,
2157
2178
  children: [
2158
2179
  /* @__PURE__ */ $(
2159
- se.Block,
2180
+ ae.Block,
2160
2181
  {
2161
2182
  onClick: t,
2162
2183
  block: "select",
2163
2184
  children: [
2164
2185
  /* @__PURE__ */ b(
2165
- se.Input,
2186
+ ae.Input,
2166
2187
  {
2167
2188
  disabled: c,
2168
2189
  id: l,
@@ -2173,12 +2194,12 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2173
2194
  ...f
2174
2195
  }
2175
2196
  ),
2176
- /* @__PURE__ */ b(se.Arrow, {})
2197
+ /* @__PURE__ */ b(ae.Arrow, {})
2177
2198
  ]
2178
2199
  }
2179
2200
  ),
2180
2201
  /* @__PURE__ */ b(
2181
- se.List,
2202
+ ae.List,
2182
2203
  {
2183
2204
  options: m,
2184
2205
  onClick: n,
@@ -2188,12 +2209,12 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2188
2209
  ]
2189
2210
  }
2190
2211
  );
2191
- }, qi = ({ options: e, onClick: t, value: r }) => e ? /* @__PURE__ */ b("ul", { className: "select__options", children: e.map((n) => {
2212
+ }, Xi = ({ options: e, onClick: t, value: r }) => e ? /* @__PURE__ */ b("ul", { className: "select__options", children: e.map((n) => {
2192
2213
  const i = n === r, s = () => {
2193
2214
  t(n);
2194
2215
  };
2195
2216
  return /* @__PURE__ */ b(
2196
- se.Option,
2217
+ ae.Option,
2197
2218
  {
2198
2219
  isSelected: i,
2199
2220
  onOptionClick: s,
@@ -2201,7 +2222,7 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2201
2222
  },
2202
2223
  n
2203
2224
  );
2204
- }) }) : /* @__PURE__ */ b("ul", { className: "select__options", children: /* @__PURE__ */ b("li", { className: "select__option select__option_empty", children: "Nothing found" }) }), Xi = ({ isSelected: e, option: t, onOptionClick: r }) => /* @__PURE__ */ b(
2225
+ }) }) : /* @__PURE__ */ b("ul", { className: "select__options", children: /* @__PURE__ */ b("li", { className: "select__option select__option_empty", children: "Nothing found" }) }), Ki = ({ isSelected: e, option: t, onOptionClick: r }) => /* @__PURE__ */ b(
2205
2226
  "li",
2206
2227
  {
2207
2228
  className: z("", "select__option", {
@@ -2210,28 +2231,28 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2210
2231
  onClick: r,
2211
2232
  children: t
2212
2233
  }
2213
- ), Ki = ({ onChange: e, hasSearch: t, ...r }) => /* @__PURE__ */ b(
2214
- wn,
2234
+ ), Ji = ({ onChange: e, hasSearch: t, ...r }) => /* @__PURE__ */ b(
2235
+ Sn,
2215
2236
  {
2216
2237
  isReadOnly: !t,
2217
2238
  isTransparent: !0,
2218
2239
  onChange: e,
2219
2240
  ...r
2220
2241
  }
2221
- ), Ji = () => /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "select__arrow" }), Qi = ({ children: e, onClick: t }) => /* @__PURE__ */ b(
2242
+ ), Qi = () => /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "select__arrow" }), Zi = ({ children: e, onClick: t }) => /* @__PURE__ */ b(
2222
2243
  "div",
2223
2244
  {
2224
2245
  onClick: t,
2225
2246
  className: "select__block",
2226
2247
  children: e
2227
2248
  }
2228
- ), Zi = "selectTestId", es = Mt(Qi, "select"), ts = ({ children: e, isOpen: t, onClickOutside: r, block: n, disabled: i = !1 }) => {
2249
+ ), es = "selectTestId", ts = _t(Zi, "select"), rs = ({ children: e, isOpen: t, onClickOutside: r, block: n, disabled: i = !1 }) => {
2229
2250
  const s = Lt(r);
2230
2251
  return /* @__PURE__ */ b(
2231
2252
  "div",
2232
2253
  {
2233
2254
  ref: s,
2234
- "data-testid": Zi,
2255
+ "data-testid": es,
2235
2256
  className: z(n, "select", {
2236
2257
  _open: t,
2237
2258
  disabled: i
@@ -2239,13 +2260,13 @@ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, child
2239
2260
  children: e
2240
2261
  }
2241
2262
  );
2242
- }, se = Object.assign(Yi, {
2243
- List: qi,
2244
- Option: Xi,
2245
- Input: Ki,
2246
- Arrow: Ji,
2247
- Wrapper: ts,
2248
- Block: es
2263
+ }, ae = Object.assign(qi, {
2264
+ List: Xi,
2265
+ Option: Ki,
2266
+ Input: Ji,
2267
+ Arrow: Qi,
2268
+ Wrapper: rs,
2269
+ Block: ts
2249
2270
  });
2250
2271
  function ht(e) {
2251
2272
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
@@ -2312,11 +2333,11 @@ const Kt = {
2312
2333
  search: ""
2313
2334
  }
2314
2335
  };
2315
- function ie() {
2336
+ function se() {
2316
2337
  const e = typeof document < "u" ? document : {};
2317
2338
  return nt(e, Kt), e;
2318
2339
  }
2319
- const rs = {
2340
+ const ns = {
2320
2341
  document: Kt,
2321
2342
  navigator: {
2322
2343
  userAgent: ""
@@ -2376,12 +2397,12 @@ const rs = {
2376
2397
  };
2377
2398
  function F() {
2378
2399
  const e = typeof window < "u" ? window : {};
2379
- return nt(e, rs), e;
2400
+ return nt(e, ns), e;
2380
2401
  }
2381
- function ns(e) {
2402
+ function is(e) {
2382
2403
  return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
2383
2404
  }
2384
- function is(e) {
2405
+ function ss(e) {
2385
2406
  const t = e;
2386
2407
  Object.keys(t).forEach((r) => {
2387
2408
  try {
@@ -2400,29 +2421,29 @@ function We(e, t) {
2400
2421
  function Ie() {
2401
2422
  return Date.now();
2402
2423
  }
2403
- function ss(e) {
2424
+ function as(e) {
2404
2425
  const t = F();
2405
2426
  let r;
2406
2427
  return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
2407
2428
  }
2408
- function as(e, t) {
2429
+ function os(e, t) {
2409
2430
  t === void 0 && (t = "x");
2410
2431
  const r = F();
2411
2432
  let n, i, s;
2412
- const o = ss(e);
2433
+ const o = as(e);
2413
2434
  return r.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((a) => a.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(i === "none" ? "" : i)) : (s = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? i = s.m41 : n.length === 16 ? i = parseFloat(n[12]) : i = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? i = s.m42 : n.length === 16 ? i = parseFloat(n[13]) : i = parseFloat(n[5])), i || 0;
2414
2435
  }
2415
2436
  function ve(e) {
2416
2437
  return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
2417
2438
  }
2418
- function os(e) {
2439
+ function ls(e) {
2419
2440
  return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
2420
2441
  }
2421
2442
  function G() {
2422
2443
  const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
2423
2444
  for (let r = 1; r < arguments.length; r += 1) {
2424
2445
  const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
2425
- if (n != null && !os(n)) {
2446
+ if (n != null && !ls(n)) {
2426
2447
  const i = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
2427
2448
  for (let s = 0, o = i.length; s < o; s += 1) {
2428
2449
  const a = i[s], l = Object.getOwnPropertyDescriptor(n, a);
@@ -2468,7 +2489,7 @@ function X(e, t) {
2468
2489
  const r = F(), n = [...e.children];
2469
2490
  return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((i) => i.matches(t)) : n;
2470
2491
  }
2471
- function ls(e, t) {
2492
+ function ds(e, t) {
2472
2493
  const r = [t];
2473
2494
  for (; r.length > 0; ) {
2474
2495
  const n = r.shift();
@@ -2477,12 +2498,12 @@ function ls(e, t) {
2477
2498
  r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
2478
2499
  }
2479
2500
  }
2480
- function ds(e, t) {
2501
+ function cs(e, t) {
2481
2502
  const r = F();
2482
2503
  let n = t.contains(e);
2483
- return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = ls(e, t))), n;
2504
+ return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = ds(e, t))), n;
2484
2505
  }
2485
- function _e(e) {
2506
+ function Oe(e) {
2486
2507
  try {
2487
2508
  console.warn(e);
2488
2509
  return;
@@ -2492,9 +2513,9 @@ function _e(e) {
2492
2513
  function Ue(e, t) {
2493
2514
  t === void 0 && (t = []);
2494
2515
  const r = document.createElement(e);
2495
- return r.classList.add(...Array.isArray(t) ? t : ns(t)), r;
2516
+ return r.classList.add(...Array.isArray(t) ? t : is(t)), r;
2496
2517
  }
2497
- function cs(e, t) {
2518
+ function us(e, t) {
2498
2519
  const r = [];
2499
2520
  for (; e.previousElementSibling; ) {
2500
2521
  const n = e.previousElementSibling;
@@ -2502,7 +2523,7 @@ function cs(e, t) {
2502
2523
  }
2503
2524
  return r;
2504
2525
  }
2505
- function us(e, t) {
2526
+ function fs(e, t) {
2506
2527
  const r = [];
2507
2528
  for (; e.nextElementSibling; ) {
2508
2529
  const n = e.nextElementSibling;
@@ -2521,7 +2542,7 @@ function mt(e) {
2521
2542
  return r;
2522
2543
  }
2523
2544
  }
2524
- function fs(e, t) {
2545
+ function ps(e, t) {
2525
2546
  const r = [];
2526
2547
  let n = e.parentElement;
2527
2548
  for (; n; )
@@ -2538,18 +2559,18 @@ function vt(e, t) {
2538
2559
  }).createHTML(t) : e.innerHTML = t;
2539
2560
  }
2540
2561
  let ke;
2541
- function ps() {
2542
- const e = F(), t = ie();
2562
+ function hs() {
2563
+ const e = F(), t = se();
2543
2564
  return {
2544
2565
  smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
2545
2566
  touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
2546
2567
  };
2547
2568
  }
2548
2569
  function Qt() {
2549
- return ke || (ke = ps()), ke;
2570
+ return ke || (ke = hs()), ke;
2550
2571
  }
2551
2572
  let De;
2552
- function hs(e) {
2573
+ function ms(e) {
2553
2574
  let {
2554
2575
  userAgent: t
2555
2576
  } = e === void 0 ? {} : e;
@@ -2564,10 +2585,10 @@ function hs(e) {
2564
2585
  return !c && p && r.touch && v.indexOf(`${a}x${l}`) >= 0 && (c = s.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), p = !1), d && !m && (o.os = "android", o.android = !0), (c || f || u) && (o.os = "ios", o.ios = !0), o;
2565
2586
  }
2566
2587
  function Zt(e) {
2567
- return e === void 0 && (e = {}), De || (De = hs(e)), De;
2588
+ return e === void 0 && (e = {}), De || (De = ms(e)), De;
2568
2589
  }
2569
2590
  let Be;
2570
- function ms() {
2591
+ function gs() {
2571
2592
  const e = F(), t = Zt();
2572
2593
  let r = !1;
2573
2594
  function n() {
@@ -2590,9 +2611,9 @@ function ms() {
2590
2611
  };
2591
2612
  }
2592
2613
  function er() {
2593
- return Be || (Be = ms()), Be;
2614
+ return Be || (Be = gs()), Be;
2594
2615
  }
2595
- function gs(e) {
2616
+ function vs(e) {
2596
2617
  let {
2597
2618
  swiper: t,
2598
2619
  on: r,
@@ -2635,7 +2656,7 @@ function gs(e) {
2635
2656
  d(), i.removeEventListener("resize", a), i.removeEventListener("orientationchange", c);
2636
2657
  });
2637
2658
  }
2638
- function vs(e) {
2659
+ function ws(e) {
2639
2660
  let {
2640
2661
  swiper: t,
2641
2662
  extendParams: r,
@@ -2663,7 +2684,7 @@ function vs(e) {
2663
2684
  }, l = () => {
2664
2685
  if (t.params.observer) {
2665
2686
  if (t.params.observeParents) {
2666
- const c = fs(t.hostEl);
2687
+ const c = ps(t.hostEl);
2667
2688
  for (let u = 0; u < c.length; u += 1)
2668
2689
  a(c[u]);
2669
2690
  }
@@ -2684,7 +2705,7 @@ function vs(e) {
2684
2705
  observeSlideChildren: !1
2685
2706
  }), n("init", l), n("destroy", d);
2686
2707
  }
2687
- var ws = {
2708
+ var Ss = {
2688
2709
  on(e, t, r) {
2689
2710
  const n = this;
2690
2711
  if (!n.eventsListeners || n.destroyed || typeof t != "function") return n;
@@ -2739,7 +2760,7 @@ var ws = {
2739
2760
  }), e;
2740
2761
  }
2741
2762
  };
2742
- function Ss() {
2763
+ function bs() {
2743
2764
  const e = this;
2744
2765
  let t, r;
2745
2766
  const n = e.el;
@@ -2749,7 +2770,7 @@ function Ss() {
2749
2770
  size: e.isHorizontal() ? t : r
2750
2771
  }));
2751
2772
  }
2752
- function bs() {
2773
+ function Ts() {
2753
2774
  const e = this;
2754
2775
  function t(y, I) {
2755
2776
  return parseFloat(y.getPropertyValue(e.getDirectionLabel(I)) || 0);
@@ -2768,27 +2789,27 @@ function bs() {
2768
2789
  let T = r.slidesOffsetAfter;
2769
2790
  typeof T == "function" && (T = r.slidesOffsetAfter.call(e));
2770
2791
  const h = e.snapGrid.length, g = e.slidesGrid.length;
2771
- let w = r.spaceBetween, C = -v, x = 0, M = 0;
2792
+ let w = r.spaceBetween, C = -v, x = 0, _ = 0;
2772
2793
  if (typeof s > "u")
2773
2794
  return;
2774
2795
  typeof w == "string" && w.indexOf("%") >= 0 ? w = parseFloat(w.replace("%", "")) / 100 * s : typeof w == "string" && (w = parseFloat(w)), e.virtualSize = -w, c.forEach((y) => {
2775
2796
  o ? y.style.marginLeft = "" : y.style.marginRight = "", y.style.marginBottom = "", y.style.marginTop = "";
2776
2797
  }), r.centeredSlides && r.cssMode && (we(n, "--swiper-centered-offset-before", ""), we(n, "--swiper-centered-offset-after", ""));
2777
- const _ = r.grid && r.grid.rows > 1 && e.grid;
2778
- _ ? e.grid.initSlides(c) : e.grid && e.grid.unsetSlides();
2798
+ const O = r.grid && r.grid.rows > 1 && e.grid;
2799
+ O ? e.grid.initSlides(c) : e.grid && e.grid.unsetSlides();
2779
2800
  let P;
2780
2801
  const E = r.slidesPerView === "auto" && r.breakpoints && Object.keys(r.breakpoints).filter((y) => typeof r.breakpoints[y].slidesPerView < "u").length > 0;
2781
2802
  for (let y = 0; y < u; y += 1) {
2782
2803
  P = 0;
2783
2804
  let I;
2784
- if (c[y] && (I = c[y]), _ && e.grid.updateSlide(y, I, c), !(c[y] && ee(I, "display") === "none")) {
2805
+ if (c[y] && (I = c[y]), O && e.grid.updateSlide(y, I, c), !(c[y] && ee(I, "display") === "none")) {
2785
2806
  if (r.slidesPerView === "auto") {
2786
2807
  E && (c[y].style[e.getDirectionLabel("width")] = "");
2787
- const O = getComputedStyle(I), R = I.style.transform, j = I.style.webkitTransform;
2808
+ const M = getComputedStyle(I), R = I.style.transform, j = I.style.webkitTransform;
2788
2809
  if (R && (I.style.transform = "none"), j && (I.style.webkitTransform = "none"), r.roundLengths)
2789
2810
  P = e.isHorizontal() ? gt(I, "width") : gt(I, "height");
2790
2811
  else {
2791
- const W = t(O, "width"), L = t(O, "padding-left"), k = t(O, "padding-right"), B = t(O, "margin-left"), N = t(O, "margin-right"), U = O.getPropertyValue("box-sizing");
2812
+ const W = t(M, "width"), L = t(M, "padding-left"), k = t(M, "padding-right"), B = t(M, "margin-left"), N = t(M, "margin-right"), U = M.getPropertyValue("box-sizing");
2792
2813
  if (U && U === "border-box")
2793
2814
  P = W + B + N;
2794
2815
  else {
@@ -2802,53 +2823,53 @@ function bs() {
2802
2823
  R && (I.style.transform = R), j && (I.style.webkitTransform = j), r.roundLengths && (P = Math.floor(P));
2803
2824
  } else
2804
2825
  P = (s - (r.slidesPerView - 1) * w) / r.slidesPerView, r.roundLengths && (P = Math.floor(P)), c[y] && (c[y].style[e.getDirectionLabel("width")] = `${P}px`);
2805
- c[y] && (c[y].swiperSlideSize = P), p.push(P), r.centeredSlides ? (C = C + P / 2 + x / 2 + w, x === 0 && y !== 0 && (C = C - s / 2 - w), y === 0 && (C = C - s / 2 - w), Math.abs(C) < 1 / 1e3 && (C = 0), r.roundLengths && (C = Math.floor(C)), M % r.slidesPerGroup === 0 && f.push(C), m.push(C)) : (r.roundLengths && (C = Math.floor(C)), (M - Math.min(e.params.slidesPerGroupSkip, M)) % e.params.slidesPerGroup === 0 && f.push(C), m.push(C), C = C + P + w), e.virtualSize += P + w, x = P, M += 1;
2826
+ c[y] && (c[y].swiperSlideSize = P), p.push(P), r.centeredSlides ? (C = C + P / 2 + x / 2 + w, x === 0 && y !== 0 && (C = C - s / 2 - w), y === 0 && (C = C - s / 2 - w), Math.abs(C) < 1 / 1e3 && (C = 0), r.roundLengths && (C = Math.floor(C)), _ % r.slidesPerGroup === 0 && f.push(C), m.push(C)) : (r.roundLengths && (C = Math.floor(C)), (_ - Math.min(e.params.slidesPerGroupSkip, _)) % e.params.slidesPerGroup === 0 && f.push(C), m.push(C), C = C + P + w), e.virtualSize += P + w, x = P, _ += 1;
2806
2827
  }
2807
2828
  }
2808
- if (e.virtualSize = Math.max(e.virtualSize, s) + T, o && a && (r.effect === "slide" || r.effect === "coverflow") && (n.style.width = `${e.virtualSize + w}px`), r.setWrapperSize && (n.style[e.getDirectionLabel("width")] = `${e.virtualSize + w}px`), _ && e.grid.updateWrapperSize(P, f), !r.centeredSlides) {
2829
+ if (e.virtualSize = Math.max(e.virtualSize, s) + T, o && a && (r.effect === "slide" || r.effect === "coverflow") && (n.style.width = `${e.virtualSize + w}px`), r.setWrapperSize && (n.style[e.getDirectionLabel("width")] = `${e.virtualSize + w}px`), O && e.grid.updateWrapperSize(P, f), !r.centeredSlides) {
2809
2830
  const y = [];
2810
2831
  for (let I = 0; I < f.length; I += 1) {
2811
- let O = f[I];
2812
- r.roundLengths && (O = Math.floor(O)), f[I] <= e.virtualSize - s && y.push(O);
2832
+ let M = f[I];
2833
+ r.roundLengths && (M = Math.floor(M)), f[I] <= e.virtualSize - s && y.push(M);
2813
2834
  }
2814
2835
  f = y, Math.floor(e.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(e.virtualSize - s);
2815
2836
  }
2816
2837
  if (l && r.loop) {
2817
2838
  const y = p[0] + w;
2818
2839
  if (r.slidesPerGroup > 1) {
2819
- const I = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), O = y * r.slidesPerGroup;
2840
+ const I = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), M = y * r.slidesPerGroup;
2820
2841
  for (let R = 0; R < I; R += 1)
2821
- f.push(f[f.length - 1] + O);
2842
+ f.push(f[f.length - 1] + M);
2822
2843
  }
2823
2844
  for (let I = 0; I < e.virtual.slidesBefore + e.virtual.slidesAfter; I += 1)
2824
2845
  r.slidesPerGroup === 1 && f.push(f[f.length - 1] + y), m.push(m[m.length - 1] + y), e.virtualSize += y;
2825
2846
  }
2826
2847
  if (f.length === 0 && (f = [0]), w !== 0) {
2827
2848
  const y = e.isHorizontal() && o ? "marginLeft" : e.getDirectionLabel("marginRight");
2828
- c.filter((I, O) => !r.cssMode || r.loop ? !0 : O !== c.length - 1).forEach((I) => {
2849
+ c.filter((I, M) => !r.cssMode || r.loop ? !0 : M !== c.length - 1).forEach((I) => {
2829
2850
  I.style[y] = `${w}px`;
2830
2851
  });
2831
2852
  }
2832
2853
  if (r.centeredSlides && r.centeredSlidesBounds) {
2833
2854
  let y = 0;
2834
- p.forEach((O) => {
2835
- y += O + (w || 0);
2855
+ p.forEach((M) => {
2856
+ y += M + (w || 0);
2836
2857
  }), y -= w;
2837
2858
  const I = y > s ? y - s : 0;
2838
- f = f.map((O) => O <= 0 ? -v : O > I ? I + T : O);
2859
+ f = f.map((M) => M <= 0 ? -v : M > I ? I + T : M);
2839
2860
  }
2840
2861
  if (r.centerInsufficientSlides) {
2841
2862
  let y = 0;
2842
- p.forEach((O) => {
2843
- y += O + (w || 0);
2863
+ p.forEach((M) => {
2864
+ y += M + (w || 0);
2844
2865
  }), y -= w;
2845
2866
  const I = (r.slidesOffsetBefore || 0) + (r.slidesOffsetAfter || 0);
2846
2867
  if (y + I < s) {
2847
- const O = (s - y - I) / 2;
2868
+ const M = (s - y - I) / 2;
2848
2869
  f.forEach((R, j) => {
2849
- f[j] = R - O;
2870
+ f[j] = R - M;
2850
2871
  }), m.forEach((R, j) => {
2851
- m[j] = R + O;
2872
+ m[j] = R + M;
2852
2873
  });
2853
2874
  }
2854
2875
  }
@@ -2860,14 +2881,14 @@ function bs() {
2860
2881
  }), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
2861
2882
  we(n, "--swiper-centered-offset-before", `${-f[0]}px`), we(n, "--swiper-centered-offset-after", `${e.size / 2 - p[p.length - 1] / 2}px`);
2862
2883
  const y = -e.snapGrid[0], I = -e.slidesGrid[0];
2863
- e.snapGrid = e.snapGrid.map((O) => O + y), e.slidesGrid = e.slidesGrid.map((O) => O + I);
2884
+ e.snapGrid = e.snapGrid.map((M) => M + y), e.slidesGrid = e.slidesGrid.map((M) => M + I);
2864
2885
  }
2865
2886
  if (u !== d && e.emit("slidesLengthChange"), f.length !== h && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), m.length !== g && e.emit("slidesGridLengthChange"), r.watchSlidesProgress && e.updateSlidesOffset(), e.emit("slidesUpdated"), !l && !r.cssMode && (r.effect === "slide" || r.effect === "fade")) {
2866
2887
  const y = `${r.containerModifierClass}backface-hidden`, I = e.el.classList.contains(y);
2867
2888
  u <= r.maxBackfaceHiddenSlides ? I || e.el.classList.add(y) : I && e.el.classList.remove(y);
2868
2889
  }
2869
2890
  }
2870
- function Ts(e) {
2891
+ function ys(e) {
2871
2892
  const t = this, r = [], n = t.virtual && t.params.virtual.enabled;
2872
2893
  let i = 0, s;
2873
2894
  typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
@@ -2892,7 +2913,7 @@ function Ts(e) {
2892
2913
  }
2893
2914
  (i || i === 0) && (t.wrapperEl.style.height = `${i}px`);
2894
2915
  }
2895
- function ys() {
2916
+ function xs() {
2896
2917
  const e = this, t = e.slides, r = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
2897
2918
  for (let n = 0; n < t.length; n += 1)
2898
2919
  t[n].swiperSlideOffset = (e.isHorizontal() ? t[n].offsetLeft : t[n].offsetTop) - r - e.cssOverflowAdjustment();
@@ -2900,7 +2921,7 @@ function ys() {
2900
2921
  const wt = (e, t, r) => {
2901
2922
  t && !e.classList.contains(r) ? e.classList.add(r) : !t && e.classList.contains(r) && e.classList.remove(r);
2902
2923
  };
2903
- function xs(e) {
2924
+ function Es(e) {
2904
2925
  e === void 0 && (e = this && this.translate || 0);
2905
2926
  const t = this, r = t.params, {
2906
2927
  slides: n,
@@ -2921,7 +2942,7 @@ function xs(e) {
2921
2942
  T && (t.visibleSlides.push(d), t.visibleSlidesIndexes.push(l)), wt(d, T, r.slideVisibleClass), wt(d, v, r.slideFullyVisibleClass), d.progress = i ? -u : u, d.originalProgress = i ? -f : f;
2922
2943
  }
2923
2944
  }
2924
- function Es(e) {
2945
+ function Cs(e) {
2925
2946
  const t = this;
2926
2947
  if (typeof e > "u") {
2927
2948
  const c = t.rtlTranslate ? -1 : 1;
@@ -2956,7 +2977,7 @@ function Es(e) {
2956
2977
  const Fe = (e, t, r) => {
2957
2978
  t && !e.classList.contains(r) ? e.classList.add(r) : !t && e.classList.contains(r) && e.classList.remove(r);
2958
2979
  };
2959
- function Cs() {
2980
+ function Ps() {
2960
2981
  const e = this, {
2961
2982
  slides: t,
2962
2983
  params: r,
@@ -2972,7 +2993,7 @@ function Cs() {
2972
2993
  l = a(`[data-swiper-slide-index="${i}"]`);
2973
2994
  else
2974
2995
  o ? (l = t.find((u) => u.column === i), c = t.find((u) => u.column === i + 1), d = t.find((u) => u.column === i - 1)) : l = t[i];
2975
- l && (o || (c = us(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !c && (c = t[0]), d = cs(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !d === 0 && (d = t[t.length - 1]))), t.forEach((u) => {
2996
+ l && (o || (c = fs(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !c && (c = t[0]), d = us(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !d === 0 && (d = t[t.length - 1]))), t.forEach((u) => {
2976
2997
  Fe(u, u === l, r.slideActiveClass), Fe(u, u === c, r.slideNextClass), Fe(u, u === d, r.slidePrevClass);
2977
2998
  }), e.emitSlidesClasses();
2978
2999
  }
@@ -3015,7 +3036,7 @@ const xe = (e, t) => {
3015
3036
  for (let o = Math.max(i - t, 0); o <= Math.min(s + t, r - 1); o += 1)
3016
3037
  o !== i && (o > s || o < i) && $e(e, o);
3017
3038
  };
3018
- function Ps(e) {
3039
+ function Is(e) {
3019
3040
  const {
3020
3041
  slidesGrid: t,
3021
3042
  params: r
@@ -3025,7 +3046,7 @@ function Ps(e) {
3025
3046
  typeof t[s + 1] < "u" ? n >= t[s] && n < t[s + 1] - (t[s + 1] - t[s]) / 2 ? i = s : n >= t[s] && n < t[s + 1] && (i = s + 1) : n >= t[s] && (i = s);
3026
3047
  return r.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
3027
3048
  }
3028
- function Is(e) {
3049
+ function Os(e) {
3029
3050
  const t = this, r = t.rtlTranslate ? t.translate : -t.translate, {
3030
3051
  snapGrid: n,
3031
3052
  params: i,
@@ -3038,7 +3059,7 @@ function Is(e) {
3038
3059
  let p = m - t.virtual.slidesBefore;
3039
3060
  return p < 0 && (p = t.virtual.slides.length + p), p >= t.virtual.slides.length && (p -= t.virtual.slides.length), p;
3040
3061
  };
3041
- if (typeof l > "u" && (l = Ps(t)), n.indexOf(r) >= 0)
3062
+ if (typeof l > "u" && (l = Is(t)), n.indexOf(r) >= 0)
3042
3063
  d = n.indexOf(r);
3043
3064
  else {
3044
3065
  const m = Math.min(i.slidesPerGroupSkip, l);
@@ -3097,17 +3118,17 @@ function _s(e, t) {
3097
3118
  n.slideToClickedSlide && r.clickedIndex !== void 0 && r.clickedIndex !== r.activeIndex && r.slideToClickedSlide();
3098
3119
  }
3099
3120
  var Ms = {
3100
- updateSize: Ss,
3101
- updateSlides: bs,
3102
- updateAutoHeight: Ts,
3103
- updateSlidesOffset: ys,
3104
- updateSlidesProgress: xs,
3105
- updateProgress: Es,
3106
- updateSlidesClasses: Cs,
3107
- updateActiveIndex: Is,
3121
+ updateSize: bs,
3122
+ updateSlides: Ts,
3123
+ updateAutoHeight: ys,
3124
+ updateSlidesOffset: xs,
3125
+ updateSlidesProgress: Es,
3126
+ updateProgress: Cs,
3127
+ updateSlidesClasses: Ps,
3128
+ updateActiveIndex: Os,
3108
3129
  updateClickedSlide: _s
3109
3130
  };
3110
- function Os(e) {
3131
+ function Ls(e) {
3111
3132
  e === void 0 && (e = this.isHorizontal() ? "x" : "y");
3112
3133
  const t = this, {
3113
3134
  params: r,
@@ -3119,10 +3140,10 @@ function Os(e) {
3119
3140
  return n ? -i : i;
3120
3141
  if (r.cssMode)
3121
3142
  return i;
3122
- let o = as(s, e);
3143
+ let o = os(s, e);
3123
3144
  return o += t.cssOverflowAdjustment(), n && (o = -o), o || 0;
3124
3145
  }
3125
- function Ls(e, t) {
3146
+ function As(e, t) {
3126
3147
  const r = this, {
3127
3148
  rtlTranslate: n,
3128
3149
  params: i,
@@ -3136,13 +3157,13 @@ function Ls(e, t) {
3136
3157
  const u = r.maxTranslate() - r.minTranslate();
3137
3158
  u === 0 ? c = 0 : c = (e - r.minTranslate()) / u, c !== o && r.updateProgress(e), r.emit("setTranslate", r.translate, t);
3138
3159
  }
3139
- function As() {
3160
+ function Ns() {
3140
3161
  return -this.snapGrid[0];
3141
3162
  }
3142
- function Ns() {
3163
+ function Rs() {
3143
3164
  return -this.snapGrid[this.snapGrid.length - 1];
3144
3165
  }
3145
- function Rs(e, t, r, n, i) {
3166
+ function zs(e, t, r, n, i) {
3146
3167
  e === void 0 && (e = 0), t === void 0 && (t = this.params.speed), r === void 0 && (r = !0), n === void 0 && (n = !0);
3147
3168
  const s = this, {
3148
3169
  params: o,
@@ -3174,14 +3195,14 @@ function Rs(e, t, r, n, i) {
3174
3195
  !s || s.destroyed || f.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onTranslateToWrapperTransitionEnd), s.onTranslateToWrapperTransitionEnd = null, delete s.onTranslateToWrapperTransitionEnd, s.animating = !1, r && s.emit("transitionEnd"));
3175
3196
  }), s.wrapperEl.addEventListener("transitionend", s.onTranslateToWrapperTransitionEnd))), !0;
3176
3197
  }
3177
- var zs = {
3178
- getTranslate: Os,
3179
- setTranslate: Ls,
3180
- minTranslate: As,
3181
- maxTranslate: Ns,
3182
- translateTo: Rs
3198
+ var ks = {
3199
+ getTranslate: Ls,
3200
+ setTranslate: As,
3201
+ minTranslate: Ns,
3202
+ maxTranslate: Rs,
3203
+ translateTo: zs
3183
3204
  };
3184
- function ks(e, t) {
3205
+ function Ds(e, t) {
3185
3206
  const r = this;
3186
3207
  r.params.cssMode || (r.wrapperEl.style.transitionDuration = `${e}ms`, r.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), r.emit("setTransition", e, t);
3187
3208
  }
@@ -3199,7 +3220,7 @@ function tr(e) {
3199
3220
  let a = n;
3200
3221
  a || (s > o ? a = "next" : s < o ? a = "prev" : a = "reset"), t.emit(`transition${i}`), r && a === "reset" ? t.emit(`slideResetTransition${i}`) : r && s !== o && (t.emit(`slideChangeTransition${i}`), a === "next" ? t.emit(`slideNextTransition${i}`) : t.emit(`slidePrevTransition${i}`));
3201
3222
  }
3202
- function Ds(e, t) {
3223
+ function Bs(e, t) {
3203
3224
  e === void 0 && (e = !0);
3204
3225
  const r = this, {
3205
3226
  params: n
@@ -3211,7 +3232,7 @@ function Ds(e, t) {
3211
3232
  step: "Start"
3212
3233
  }));
3213
3234
  }
3214
- function Bs(e, t) {
3235
+ function Fs(e, t) {
3215
3236
  e === void 0 && (e = !0);
3216
3237
  const r = this, {
3217
3238
  params: n
@@ -3223,12 +3244,12 @@ function Bs(e, t) {
3223
3244
  step: "End"
3224
3245
  }));
3225
3246
  }
3226
- var Fs = {
3227
- setTransition: ks,
3228
- transitionStart: Ds,
3229
- transitionEnd: Bs
3247
+ var $s = {
3248
+ setTransition: Ds,
3249
+ transitionStart: Bs,
3250
+ transitionEnd: Fs
3230
3251
  };
3231
- function $s(e, t, r, n, i) {
3252
+ function Gs(e, t, r, n, i) {
3232
3253
  e === void 0 && (e = 0), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
3233
3254
  const s = this;
3234
3255
  let o = e;
@@ -3251,9 +3272,9 @@ function $s(e, t, r, n, i) {
3251
3272
  T >= l.length && (T = l.length - 1);
3252
3273
  const h = -l[T];
3253
3274
  if (a.normalizeSlideIndex)
3254
- for (let _ = 0; _ < d.length; _ += 1) {
3255
- const P = -Math.floor(h * 100), E = Math.floor(d[_] * 100), y = Math.floor(d[_ + 1] * 100);
3256
- typeof d[_ + 1] < "u" ? P >= E && P < y - (y - E) / 2 ? o = _ : P >= E && P < y && (o = _ + 1) : P >= E && (o = _);
3275
+ for (let O = 0; O < d.length; O += 1) {
3276
+ const P = -Math.floor(h * 100), E = Math.floor(d[O] * 100), y = Math.floor(d[O + 1] * 100);
3277
+ typeof d[O + 1] < "u" ? P >= E && P < y - (y - E) / 2 ? o = O : P >= E && P < y && (o = O + 1) : P >= E && (o = O);
3257
3278
  }
3258
3279
  if (s.initialized && o !== u && (!s.allowSlideNext && (f ? h > s.translate && h > s.minTranslate() : h < s.translate && h < s.minTranslate()) || !s.allowSlidePrev && h > s.translate && h > s.maxTranslate() && (u || 0) !== o))
3259
3280
  return !1;
@@ -3264,11 +3285,11 @@ function $s(e, t, r, n, i) {
3264
3285
  if (!(w && i) && (f && -h === s.translate || !f && h === s.translate))
3265
3286
  return s.updateActiveIndex(o), a.autoHeight && s.updateAutoHeight(), s.updateSlidesClasses(), a.effect !== "slide" && s.setTranslate(h), g !== "reset" && (s.transitionStart(r, g), s.transitionEnd(r, g)), !1;
3266
3287
  if (a.cssMode) {
3267
- const _ = s.isHorizontal(), P = f ? h : -h;
3288
+ const O = s.isHorizontal(), P = f ? h : -h;
3268
3289
  if (t === 0)
3269
3290
  w && (s.wrapperEl.style.scrollSnapType = "none", s._immediateVirtual = !0), w && !s._cssModeVirtualInitialSet && s.params.initialSlide > 0 ? (s._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
3270
- m[_ ? "scrollLeft" : "scrollTop"] = P;
3271
- })) : m[_ ? "scrollLeft" : "scrollTop"] = P, w && requestAnimationFrame(() => {
3291
+ m[O ? "scrollLeft" : "scrollTop"] = P;
3292
+ })) : m[O ? "scrollLeft" : "scrollTop"] = P, w && requestAnimationFrame(() => {
3272
3293
  s.wrapperEl.style.scrollSnapType = "", s._immediateVirtual = !1;
3273
3294
  });
3274
3295
  else {
@@ -3276,21 +3297,21 @@ function $s(e, t, r, n, i) {
3276
3297
  return Jt({
3277
3298
  swiper: s,
3278
3299
  targetPosition: P,
3279
- side: _ ? "left" : "top"
3300
+ side: O ? "left" : "top"
3280
3301
  }), !0;
3281
3302
  m.scrollTo({
3282
- [_ ? "left" : "top"]: P,
3303
+ [O ? "left" : "top"]: P,
3283
3304
  behavior: "smooth"
3284
3305
  });
3285
3306
  }
3286
3307
  return !0;
3287
3308
  }
3288
- const M = er().isSafari;
3289
- return w && !i && M && s.isElement && s.virtual.update(!1, !1, o), s.setTransition(t), s.setTranslate(h), s.updateActiveIndex(o), s.updateSlidesClasses(), s.emit("beforeTransitionStart", t, n), s.transitionStart(r, g), t === 0 ? s.transitionEnd(r, g) : s.animating || (s.animating = !0, s.onSlideToWrapperTransitionEnd || (s.onSlideToWrapperTransitionEnd = function(P) {
3309
+ const _ = er().isSafari;
3310
+ return w && !i && _ && s.isElement && s.virtual.update(!1, !1, o), s.setTransition(t), s.setTranslate(h), s.updateActiveIndex(o), s.updateSlidesClasses(), s.emit("beforeTransitionStart", t, n), s.transitionStart(r, g), t === 0 ? s.transitionEnd(r, g) : s.animating || (s.animating = !0, s.onSlideToWrapperTransitionEnd || (s.onSlideToWrapperTransitionEnd = function(P) {
3290
3311
  !s || s.destroyed || P.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(r, g));
3291
3312
  }), s.wrapperEl.addEventListener("transitionend", s.onSlideToWrapperTransitionEnd)), !0;
3292
3313
  }
3293
- function Gs(e, t, r, n) {
3314
+ function Vs(e, t, r, n) {
3294
3315
  e === void 0 && (e = 0), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
3295
3316
  const i = this;
3296
3317
  if (i.destroyed) return;
@@ -3332,7 +3353,7 @@ function Gs(e, t, r, n) {
3332
3353
  i.slideTo(o, t, r, n);
3333
3354
  }), i;
3334
3355
  }
3335
- function Vs(e, t, r) {
3356
+ function Hs(e, t, r) {
3336
3357
  t === void 0 && (t = !0);
3337
3358
  const n = this, {
3338
3359
  enabled: i,
@@ -3355,7 +3376,7 @@ function Vs(e, t, r) {
3355
3376
  }
3356
3377
  return s.rewind && n.isEnd ? n.slideTo(0, e, t, r) : n.slideTo(n.activeIndex + l, e, t, r);
3357
3378
  }
3358
- function Hs(e, t, r) {
3379
+ function js(e, t, r) {
3359
3380
  t === void 0 && (t = !0);
3360
3381
  const n = this, {
3361
3382
  params: i,
@@ -3396,13 +3417,13 @@ function Hs(e, t, r) {
3396
3417
  }), !0;
3397
3418
  return n.slideTo(h, e, t, r);
3398
3419
  }
3399
- function js(e, t, r) {
3420
+ function Ws(e, t, r) {
3400
3421
  t === void 0 && (t = !0);
3401
3422
  const n = this;
3402
3423
  if (!n.destroyed)
3403
3424
  return typeof e > "u" && (e = n.params.speed), n.slideTo(n.activeIndex, e, t, r);
3404
3425
  }
3405
- function Ws(e, t, r, n) {
3426
+ function Us(e, t, r, n) {
3406
3427
  t === void 0 && (t = !0), n === void 0 && (n = 0.5);
3407
3428
  const i = this;
3408
3429
  if (i.destroyed) return;
@@ -3418,7 +3439,7 @@ function Ws(e, t, r, n) {
3418
3439
  }
3419
3440
  return s = Math.max(s, 0), s = Math.min(s, i.slidesGrid.length - 1), i.slideTo(s, e, t, r);
3420
3441
  }
3421
- function Us() {
3442
+ function Ys() {
3422
3443
  const e = this;
3423
3444
  if (e.destroyed) return;
3424
3445
  const {
@@ -3437,16 +3458,16 @@ function Us() {
3437
3458
  } else
3438
3459
  e.slideTo(i);
3439
3460
  }
3440
- var Ys = {
3441
- slideTo: $s,
3442
- slideToLoop: Gs,
3443
- slideNext: Vs,
3444
- slidePrev: Hs,
3445
- slideReset: js,
3446
- slideToClosest: Ws,
3447
- slideToClickedSlide: Us
3461
+ var qs = {
3462
+ slideTo: Gs,
3463
+ slideToLoop: Vs,
3464
+ slideNext: Hs,
3465
+ slidePrev: js,
3466
+ slideReset: Ws,
3467
+ slideToClosest: Us,
3468
+ slideToClickedSlide: Ys
3448
3469
  };
3449
- function qs(e, t) {
3470
+ function Xs(e, t) {
3450
3471
  const r = this, {
3451
3472
  params: n,
3452
3473
  slidesEl: i
@@ -3467,14 +3488,14 @@ function qs(e, t) {
3467
3488
  const u = a - r.slides.length % a;
3468
3489
  c(u), r.recalcSlides(), r.updateSlides();
3469
3490
  } else
3470
- _e("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
3491
+ Oe("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
3471
3492
  s();
3472
3493
  } else if (d) {
3473
3494
  if (n.loopAddBlankSlides) {
3474
3495
  const u = n.grid.rows - r.slides.length % n.grid.rows;
3475
3496
  c(u), r.recalcSlides(), r.updateSlides();
3476
3497
  } else
3477
- _e("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
3498
+ Oe("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
3478
3499
  s();
3479
3500
  } else
3480
3501
  s();
@@ -3484,7 +3505,7 @@ function qs(e, t) {
3484
3505
  initial: t
3485
3506
  });
3486
3507
  }
3487
- function Xs(e) {
3508
+ function Ks(e) {
3488
3509
  let {
3489
3510
  slideRealIndex: t,
3490
3511
  slideTo: r = !0,
@@ -3518,56 +3539,56 @@ function Xs(e) {
3518
3539
  let w = g;
3519
3540
  w % g !== 0 && (w += g - w % g), w += p.loopAdditionalSlides, d.loopedSlides = w;
3520
3541
  const C = d.grid && p.grid && p.grid.rows > 1;
3521
- c.length < h + w || d.params.effect === "cards" && c.length < h + w * 2 ? _e("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : C && p.grid.fill === "row" && _e("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
3522
- const x = [], M = [], _ = C ? Math.ceil(c.length / p.grid.rows) : c.length, P = o && _ - T < h && !v;
3542
+ c.length < h + w || d.params.effect === "cards" && c.length < h + w * 2 ? Oe("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : C && p.grid.fill === "row" && Oe("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
3543
+ const x = [], _ = [], O = C ? Math.ceil(c.length / p.grid.rows) : c.length, P = o && O - T < h && !v;
3523
3544
  let E = P ? T : d.activeIndex;
3524
3545
  typeof s > "u" ? s = d.getSlideIndex(c.find((L) => L.classList.contains(p.slideActiveClass))) : E = s;
3525
3546
  const y = n === "next" || !n, I = n === "prev" || !n;
3526
- let O = 0, R = 0;
3547
+ let M = 0, R = 0;
3527
3548
  const W = (C ? c[s].column : s) + (v && typeof i > "u" ? -h / 2 + 0.5 : 0);
3528
3549
  if (W < w) {
3529
- O = Math.max(w - W, g);
3550
+ M = Math.max(w - W, g);
3530
3551
  for (let L = 0; L < w - W; L += 1) {
3531
- const k = L - Math.floor(L / _) * _;
3552
+ const k = L - Math.floor(L / O) * O;
3532
3553
  if (C) {
3533
- const B = _ - k - 1;
3554
+ const B = O - k - 1;
3534
3555
  for (let N = c.length - 1; N >= 0; N -= 1)
3535
3556
  c[N].column === B && x.push(N);
3536
3557
  } else
3537
- x.push(_ - k - 1);
3558
+ x.push(O - k - 1);
3538
3559
  }
3539
- } else if (W + h > _ - w) {
3540
- R = Math.max(W - (_ - w * 2), g), P && (R = Math.max(R, h - _ + T + 1));
3560
+ } else if (W + h > O - w) {
3561
+ R = Math.max(W - (O - w * 2), g), P && (R = Math.max(R, h - O + T + 1));
3541
3562
  for (let L = 0; L < R; L += 1) {
3542
- const k = L - Math.floor(L / _) * _;
3563
+ const k = L - Math.floor(L / O) * O;
3543
3564
  C ? c.forEach((B, N) => {
3544
- B.column === k && M.push(N);
3545
- }) : M.push(k);
3565
+ B.column === k && _.push(N);
3566
+ }) : _.push(k);
3546
3567
  }
3547
3568
  }
3548
3569
  if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
3549
3570
  d.__preventObserver__ = !1;
3550
- }), d.params.effect === "cards" && c.length < h + w * 2 && (M.includes(s) && M.splice(M.indexOf(s), 1), x.includes(s) && x.splice(x.indexOf(s), 1)), I && x.forEach((L) => {
3571
+ }), d.params.effect === "cards" && c.length < h + w * 2 && (_.includes(s) && _.splice(_.indexOf(s), 1), x.includes(s) && x.splice(x.indexOf(s), 1)), I && x.forEach((L) => {
3551
3572
  c[L].swiperLoopMoveDOM = !0, m.prepend(c[L]), c[L].swiperLoopMoveDOM = !1;
3552
- }), y && M.forEach((L) => {
3573
+ }), y && _.forEach((L) => {
3553
3574
  c[L].swiperLoopMoveDOM = !0, m.append(c[L]), c[L].swiperLoopMoveDOM = !1;
3554
- }), d.recalcSlides(), p.slidesPerView === "auto" ? d.updateSlides() : C && (x.length > 0 && I || M.length > 0 && y) && d.slides.forEach((L, k) => {
3575
+ }), d.recalcSlides(), p.slidesPerView === "auto" ? d.updateSlides() : C && (x.length > 0 && I || _.length > 0 && y) && d.slides.forEach((L, k) => {
3555
3576
  d.grid.updateSlide(k, L, d.slides);
3556
3577
  }), p.watchSlidesProgress && d.updateSlidesOffset(), r) {
3557
3578
  if (x.length > 0 && I) {
3558
3579
  if (typeof t > "u") {
3559
- const L = d.slidesGrid[E], B = d.slidesGrid[E + O] - L;
3560
- l ? d.setTranslate(d.translate - B) : (d.slideTo(E + Math.ceil(O), 0, !1, !0), i && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - B, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - B));
3580
+ const L = d.slidesGrid[E], B = d.slidesGrid[E + M] - L;
3581
+ l ? d.setTranslate(d.translate - B) : (d.slideTo(E + Math.ceil(M), 0, !1, !0), i && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - B, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - B));
3561
3582
  } else if (i) {
3562
3583
  const L = C ? x.length / p.grid.rows : x.length;
3563
3584
  d.slideTo(d.activeIndex + L, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
3564
3585
  }
3565
- } else if (M.length > 0 && y)
3586
+ } else if (_.length > 0 && y)
3566
3587
  if (typeof t > "u") {
3567
3588
  const L = d.slidesGrid[E], B = d.slidesGrid[E - R] - L;
3568
3589
  l ? d.setTranslate(d.translate - B) : (d.slideTo(E - R, 0, !1, !0), i && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - B, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - B));
3569
3590
  } else {
3570
- const L = C ? M.length / p.grid.rows : M.length;
3591
+ const L = C ? _.length / p.grid.rows : _.length;
3571
3592
  d.slideTo(d.activeIndex - L, 0, !1, !0);
3572
3593
  }
3573
3594
  }
@@ -3591,7 +3612,7 @@ function Xs(e) {
3591
3612
  }
3592
3613
  d.emit("loopFix");
3593
3614
  }
3594
- function Ks() {
3615
+ function Js() {
3595
3616
  const e = this, {
3596
3617
  params: t,
3597
3618
  slidesEl: r
@@ -3608,12 +3629,12 @@ function Ks() {
3608
3629
  r.append(i);
3609
3630
  }), e.recalcSlides(), e.slideTo(e.realIndex, 0);
3610
3631
  }
3611
- var Js = {
3612
- loopCreate: qs,
3613
- loopFix: Xs,
3614
- loopDestroy: Ks
3632
+ var Qs = {
3633
+ loopCreate: Xs,
3634
+ loopFix: Ks,
3635
+ loopDestroy: Js
3615
3636
  };
3616
- function Qs(e) {
3637
+ function Zs(e) {
3617
3638
  const t = this;
3618
3639
  if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
3619
3640
  const r = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
@@ -3621,20 +3642,20 @@ function Qs(e) {
3621
3642
  t.__preventObserver__ = !1;
3622
3643
  });
3623
3644
  }
3624
- function Zs() {
3645
+ function ea() {
3625
3646
  const e = this;
3626
3647
  e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
3627
3648
  e.__preventObserver__ = !1;
3628
3649
  }));
3629
3650
  }
3630
- var ea = {
3631
- setGrabCursor: Qs,
3632
- unsetGrabCursor: Zs
3651
+ var ta = {
3652
+ setGrabCursor: Zs,
3653
+ unsetGrabCursor: ea
3633
3654
  };
3634
- function ta(e, t) {
3655
+ function ra(e, t) {
3635
3656
  t === void 0 && (t = this);
3636
3657
  function r(n) {
3637
- if (!n || n === ie() || n === F()) return null;
3658
+ if (!n || n === se() || n === F()) return null;
3638
3659
  n.assignedSlot && (n = n.assignedSlot);
3639
3660
  const i = n.closest(e);
3640
3661
  return !i && !n.getRootNode ? null : i || r(n.getRootNode().host);
@@ -3647,8 +3668,8 @@ function St(e, t, r) {
3647
3668
  } = e, s = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
3648
3669
  return s && (r <= o || r >= n.innerWidth - o) ? s === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
3649
3670
  }
3650
- function ra(e) {
3651
- const t = this, r = ie();
3671
+ function na(e) {
3672
+ const t = this, r = se();
3652
3673
  let n = e;
3653
3674
  n.originalEvent && (n = n.originalEvent);
3654
3675
  const i = t.touchEventsData;
@@ -3670,11 +3691,11 @@ function ra(e) {
3670
3691
  return;
3671
3692
  !t.animating && s.cssMode && s.loop && t.loopFix();
3672
3693
  let l = n.target;
3673
- if (s.touchEventsTarget === "wrapper" && !ds(l, t.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
3694
+ if (s.touchEventsTarget === "wrapper" && !cs(l, t.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
3674
3695
  const d = !!s.noSwipingClass && s.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
3675
3696
  d && n.target && n.target.shadowRoot && c && (l = c[0]);
3676
3697
  const u = s.noSwipingSelector ? s.noSwipingSelector : `.${s.noSwipingClass}`, f = !!(n.target && n.target.shadowRoot);
3677
- if (s.noSwiping && (f ? ta(u, l) : l.closest(u))) {
3698
+ if (s.noSwiping && (f ? ra(u, l) : l.closest(u))) {
3678
3699
  t.allowClick = !0;
3679
3700
  return;
3680
3701
  }
@@ -3696,8 +3717,8 @@ function ra(e) {
3696
3717
  const T = v && t.allowTouchMove && s.touchStartPreventDefault;
3697
3718
  (s.touchStartForcePreventDefault || T) && !l.isContentEditable && n.preventDefault(), s.freeMode && s.freeMode.enabled && t.freeMode && t.animating && !s.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", n);
3698
3719
  }
3699
- function na(e) {
3700
- const t = ie(), r = this, n = r.touchEventsData, {
3720
+ function ia(e) {
3721
+ const t = se(), r = this, n = r.touchEventsData, {
3701
3722
  params: i,
3702
3723
  touches: s,
3703
3724
  rtlTranslate: o,
@@ -3812,7 +3833,7 @@ function na(e) {
3812
3833
  }
3813
3834
  !i.followFinger || i.cssMode || ((i.freeMode && i.freeMode.enabled && r.freeMode || i.watchSlidesProgress) && (r.updateActiveIndex(), r.updateSlidesClasses()), i.freeMode && i.freeMode.enabled && r.freeMode && r.freeMode.onTouchMove(), r.updateProgress(n.currentTranslate), r.setTranslate(n.currentTranslate));
3814
3835
  }
3815
- function ia(e) {
3836
+ function sa(e) {
3816
3837
  const t = this, r = t.touchEventsData;
3817
3838
  let n = e;
3818
3839
  n.originalEvent && (n = n.originalEvent);
@@ -3863,8 +3884,8 @@ function ia(e) {
3863
3884
  const p = m >= -t.maxTranslate() && !t.params.loop;
3864
3885
  let v = 0, T = t.slidesSizesGrid[0];
3865
3886
  for (let x = 0; x < d.length; x += x < o.slidesPerGroupSkip ? 1 : o.slidesPerGroup) {
3866
- const M = x < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
3867
- typeof d[x + M] < "u" ? (p || m >= d[x] && m < d[x + M]) && (v = x, T = d[x + M] - d[x]) : (p || m >= d[x]) && (v = x, T = d[d.length - 1] - d[d.length - 2]);
3887
+ const _ = x < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
3888
+ typeof d[x + _] < "u" ? (p || m >= d[x] && m < d[x + _]) && (v = x, T = d[x + _] - d[x]) : (p || m >= d[x]) && (v = x, T = d[d.length - 1] - d[d.length - 2]);
3868
3889
  }
3869
3890
  let h = null, g = null;
3870
3891
  o.rewind && (t.isBeginning ? g = o.virtual && o.virtual.enabled && t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1 : t.isEnd && (h = 0));
@@ -3901,11 +3922,11 @@ function bt() {
3901
3922
  e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.resume();
3902
3923
  }, 500)), e.allowSlidePrev = i, e.allowSlideNext = n, e.params.watchOverflow && s !== e.snapGrid && e.checkOverflow();
3903
3924
  }
3904
- function sa(e) {
3925
+ function aa(e) {
3905
3926
  const t = this;
3906
3927
  t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
3907
3928
  }
3908
- function aa() {
3929
+ function oa() {
3909
3930
  const e = this, {
3910
3931
  wrapperEl: t,
3911
3932
  rtlTranslate: r,
@@ -3917,16 +3938,16 @@ function aa() {
3917
3938
  const s = e.maxTranslate() - e.minTranslate();
3918
3939
  s === 0 ? i = 0 : i = (e.translate - e.minTranslate()) / s, i !== e.progress && e.updateProgress(r ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
3919
3940
  }
3920
- function oa(e) {
3941
+ function la(e) {
3921
3942
  const t = this;
3922
3943
  xe(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
3923
3944
  }
3924
- function la() {
3945
+ function da() {
3925
3946
  const e = this;
3926
3947
  e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
3927
3948
  }
3928
3949
  const rr = (e, t) => {
3929
- const r = ie(), {
3950
+ const r = se(), {
3930
3951
  params: n,
3931
3952
  el: i,
3932
3953
  wrapperEl: s,
@@ -3963,21 +3984,21 @@ const rr = (e, t) => {
3963
3984
  capture: !0
3964
3985
  }));
3965
3986
  };
3966
- function da() {
3987
+ function ca() {
3967
3988
  const e = this, {
3968
3989
  params: t
3969
3990
  } = e;
3970
- e.onTouchStart = ra.bind(e), e.onTouchMove = na.bind(e), e.onTouchEnd = ia.bind(e), e.onDocumentTouchStart = la.bind(e), t.cssMode && (e.onScroll = aa.bind(e)), e.onClick = sa.bind(e), e.onLoad = oa.bind(e), rr(e, "on");
3991
+ e.onTouchStart = na.bind(e), e.onTouchMove = ia.bind(e), e.onTouchEnd = sa.bind(e), e.onDocumentTouchStart = da.bind(e), t.cssMode && (e.onScroll = oa.bind(e)), e.onClick = aa.bind(e), e.onLoad = la.bind(e), rr(e, "on");
3971
3992
  }
3972
- function ca() {
3993
+ function ua() {
3973
3994
  rr(this, "off");
3974
3995
  }
3975
- var ua = {
3976
- attachEvents: da,
3977
- detachEvents: ca
3996
+ var fa = {
3997
+ attachEvents: ca,
3998
+ detachEvents: ua
3978
3999
  };
3979
4000
  const Tt = (e, t) => e.grid && t.grid && t.grid.rows > 1;
3980
- function fa() {
4001
+ function pa() {
3981
4002
  const e = this, {
3982
4003
  realIndex: t,
3983
4004
  initialized: r,
@@ -3985,13 +4006,13 @@ function fa() {
3985
4006
  el: i
3986
4007
  } = e, s = n.breakpoints;
3987
4008
  if (!s || s && Object.keys(s).length === 0) return;
3988
- const o = ie(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", l = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? e.el : o.querySelector(n.breakpointsBase), d = e.getBreakpoint(s, a, l);
4009
+ const o = se(), a = n.breakpointsBase === "window" || !n.breakpointsBase ? n.breakpointsBase : "container", l = ["window", "container"].includes(n.breakpointsBase) || !n.breakpointsBase ? e.el : o.querySelector(n.breakpointsBase), d = e.getBreakpoint(s, a, l);
3989
4010
  if (!d || e.currentBreakpoint === d) return;
3990
4011
  const u = (d in s ? s[d] : void 0) || e.originalParams, f = Tt(e, n), m = Tt(e, u), p = e.params.grabCursor, v = u.grabCursor, T = n.enabled;
3991
- f && !m ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), e.emitContainerClasses()) : !f && m && (i.classList.add(`${n.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), e.emitContainerClasses()), p && !v ? e.unsetGrabCursor() : !p && v && e.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((M) => {
3992
- if (typeof u[M] > "u") return;
3993
- const _ = n[M] && n[M].enabled, P = u[M] && u[M].enabled;
3994
- _ && !P && e[M].disable(), !_ && P && e[M].enable();
4012
+ f && !m ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), e.emitContainerClasses()) : !f && m && (i.classList.add(`${n.containerModifierClass}grid`), (u.grid.fill && u.grid.fill === "column" || !u.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), e.emitContainerClasses()), p && !v ? e.unsetGrabCursor() : !p && v && e.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((_) => {
4013
+ if (typeof u[_] > "u") return;
4014
+ const O = n[_] && n[_].enabled, P = u[_] && u[_].enabled;
4015
+ O && !P && e[_].disable(), !O && P && e[_].enable();
3995
4016
  });
3996
4017
  const h = u.direction && u.direction !== n.direction, g = n.loop && (u.slidesPerView !== n.slidesPerView || h), w = n.loop;
3997
4018
  h && r && e.changeDirection(), G(e.params, u);
@@ -4002,7 +4023,7 @@ function fa() {
4002
4023
  allowSlidePrev: e.params.allowSlidePrev
4003
4024
  }), T && !C ? e.disable() : !T && C && e.enable(), e.currentBreakpoint = d, e.emit("_beforeBreakpoint", u), r && (g ? (e.loopDestroy(), e.loopCreate(t), e.updateSlides()) : !w && x ? (e.loopCreate(t), e.updateSlides()) : w && !x && e.loopDestroy()), e.emit("breakpoint", u);
4004
4025
  }
4005
- function pa(e, t, r) {
4026
+ function ha(e, t, r) {
4006
4027
  if (t === void 0 && (t = "window"), !e || t === "container" && !r) return;
4007
4028
  let n = !1;
4008
4029
  const i = F(), s = t === "window" ? i.innerHeight : r.clientHeight, o = Object.keys(e).map((a) => {
@@ -4028,11 +4049,11 @@ function pa(e, t, r) {
4028
4049
  }
4029
4050
  return n || "max";
4030
4051
  }
4031
- var ha = {
4032
- setBreakpoint: fa,
4033
- getBreakpoint: pa
4052
+ var ma = {
4053
+ setBreakpoint: pa,
4054
+ getBreakpoint: ha
4034
4055
  };
4035
- function ma(e, t) {
4056
+ function ga(e, t) {
4036
4057
  const r = [];
4037
4058
  return e.forEach((n) => {
4038
4059
  typeof n == "object" ? Object.keys(n).forEach((i) => {
@@ -4040,14 +4061,14 @@ function ma(e, t) {
4040
4061
  }) : typeof n == "string" && r.push(t + n);
4041
4062
  }), r;
4042
4063
  }
4043
- function ga() {
4064
+ function va() {
4044
4065
  const e = this, {
4045
4066
  classNames: t,
4046
4067
  params: r,
4047
4068
  rtl: n,
4048
4069
  el: i,
4049
4070
  device: s
4050
- } = e, o = ma(["initialized", r.direction, {
4071
+ } = e, o = ga(["initialized", r.direction, {
4051
4072
  "free-mode": e.params.freeMode && r.freeMode.enabled
4052
4073
  }, {
4053
4074
  autoheight: r.autoHeight
@@ -4070,18 +4091,18 @@ function ga() {
4070
4091
  }], r.containerModifierClass);
4071
4092
  t.push(...o), i.classList.add(...t), e.emitContainerClasses();
4072
4093
  }
4073
- function va() {
4094
+ function wa() {
4074
4095
  const e = this, {
4075
4096
  el: t,
4076
4097
  classNames: r
4077
4098
  } = e;
4078
4099
  !t || typeof t == "string" || (t.classList.remove(...r), e.emitContainerClasses());
4079
4100
  }
4080
- var wa = {
4081
- addClasses: ga,
4082
- removeClasses: va
4101
+ var Sa = {
4102
+ addClasses: va,
4103
+ removeClasses: wa
4083
4104
  };
4084
- function Sa() {
4105
+ function ba() {
4085
4106
  const e = this, {
4086
4107
  isLocked: t,
4087
4108
  params: r
@@ -4095,8 +4116,8 @@ function Sa() {
4095
4116
  e.isLocked = e.snapGrid.length === 1;
4096
4117
  r.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), r.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
4097
4118
  }
4098
- var ba = {
4099
- checkOverflow: Sa
4119
+ var Ta = {
4120
+ checkOverflow: ba
4100
4121
  }, qe = {
4101
4122
  init: !0,
4102
4123
  direction: "horizontal",
@@ -4218,7 +4239,7 @@ var ba = {
4218
4239
  // Internals
4219
4240
  _emitClasses: !1
4220
4241
  };
4221
- function Ta(e, t) {
4242
+ function ya(e, t) {
4222
4243
  return function(n) {
4223
4244
  n === void 0 && (n = {});
4224
4245
  const i = Object.keys(n)[0], s = n[i];
@@ -4238,17 +4259,17 @@ function Ta(e, t) {
4238
4259
  };
4239
4260
  }
4240
4261
  const Ge = {
4241
- eventsEmitter: ws,
4262
+ eventsEmitter: Ss,
4242
4263
  update: Ms,
4243
- translate: zs,
4244
- transition: Fs,
4245
- slide: Ys,
4246
- loop: Js,
4247
- grabCursor: ea,
4248
- events: ua,
4249
- breakpoints: ha,
4250
- checkOverflow: ba,
4251
- classes: wa
4264
+ translate: ks,
4265
+ transition: $s,
4266
+ slide: qs,
4267
+ loop: Qs,
4268
+ grabCursor: ta,
4269
+ events: fa,
4270
+ breakpoints: ma,
4271
+ checkOverflow: Ta,
4272
+ classes: Sa
4252
4273
  }, Ve = {};
4253
4274
  let it = class q {
4254
4275
  constructor() {
@@ -4256,7 +4277,7 @@ let it = class q {
4256
4277
  for (var n = arguments.length, i = new Array(n), s = 0; s < n; s++)
4257
4278
  i[s] = arguments[s];
4258
4279
  i.length === 1 && i[0].constructor && Object.prototype.toString.call(i[0]).slice(8, -1) === "Object" ? r = i[0] : [t, r] = i, r || (r = {}), r = G({}, r), t && !r.el && (r.el = t);
4259
- const o = ie();
4280
+ const o = se();
4260
4281
  if (r.el && typeof r.el == "string" && o.querySelectorAll(r.el).length > 1) {
4261
4282
  const c = [];
4262
4283
  return o.querySelectorAll(r.el).forEach((u) => {
@@ -4275,7 +4296,7 @@ let it = class q {
4275
4296
  c({
4276
4297
  params: r,
4277
4298
  swiper: a,
4278
- extendParams: Ta(r, l),
4299
+ extendParams: ya(r, l),
4279
4300
  on: a.on.bind(a),
4280
4301
  once: a.once.bind(a),
4281
4302
  off: a.off.bind(a),
@@ -4533,7 +4554,7 @@ let it = class q {
4533
4554
  l.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), l.removeAttribute("style"), l.removeAttribute("data-swiper-slide-index");
4534
4555
  })), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((l) => {
4535
4556
  n.off(l);
4536
- }), t !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), is(n)), n.destroyed = !0), null;
4557
+ }), t !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), ss(n)), n.destroyed = !0), null;
4537
4558
  }
4538
4559
  static extendDefaults(t) {
4539
4560
  G(Ve, t);
@@ -4558,7 +4579,7 @@ Object.keys(Ge).forEach((e) => {
4558
4579
  it.prototype[t] = Ge[e][t];
4559
4580
  });
4560
4581
  });
4561
- it.use([gs, vs]);
4582
+ it.use([vs, ws]);
4562
4583
  const nr = [
4563
4584
  "eventsPrefix",
4564
4585
  "injectStyles",
@@ -4678,13 +4699,13 @@ const nr = [
4678
4699
  "zoom",
4679
4700
  "control"
4680
4701
  ];
4681
- function re(e) {
4702
+ function ne(e) {
4682
4703
  return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object" && !e.__swiper__;
4683
4704
  }
4684
4705
  function oe(e, t) {
4685
4706
  const r = ["__proto__", "constructor", "prototype"];
4686
4707
  Object.keys(t).filter((n) => r.indexOf(n) < 0).forEach((n) => {
4687
- typeof e[n] > "u" ? e[n] = t[n] : re(t[n]) && re(e[n]) && Object.keys(t[n]).length > 0 ? t[n].__swiper__ ? e[n] = t[n] : oe(e[n], t[n]) : e[n] = t[n];
4708
+ typeof e[n] > "u" ? e[n] = t[n] : ne(t[n]) && ne(e[n]) && Object.keys(t[n]).length > 0 ? t[n].__swiper__ ? e[n] = t[n] : oe(e[n], t[n]) : e[n] = t[n];
4688
4709
  });
4689
4710
  }
4690
4711
  function ir(e) {
@@ -4703,10 +4724,10 @@ function or(e) {
4703
4724
  r.indexOf(n) < 0 && r.push(n);
4704
4725
  }), r.join(" ");
4705
4726
  }
4706
- function ya(e) {
4727
+ function xa(e) {
4707
4728
  return e === void 0 && (e = ""), e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
4708
4729
  }
4709
- function xa(e) {
4730
+ function Ea(e) {
4710
4731
  let {
4711
4732
  swiper: t,
4712
4733
  slides: r,
@@ -4725,21 +4746,21 @@ function xa(e) {
4725
4746
  virtual: p,
4726
4747
  thumbs: v
4727
4748
  } = t;
4728
- let T, h, g, w, C, x, M, _;
4749
+ let T, h, g, w, C, x, _, O;
4729
4750
  i.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (T = !0), i.includes("controller") && n.controller && n.controller.control && c.controller && !c.controller.control && (h = !0), i.includes("pagination") && n.pagination && (n.pagination.el || l) && (c.pagination || c.pagination === !1) && u && !u.el && (g = !0), i.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || a) && (c.scrollbar || c.scrollbar === !1) && m && !m.el && (w = !0), i.includes("navigation") && n.navigation && (n.navigation.prevEl || o) && (n.navigation.nextEl || s) && (c.navigation || c.navigation === !1) && f && !f.prevEl && !f.nextEl && (C = !0);
4730
4751
  const P = (E) => {
4731
4752
  t[E] && (t[E].destroy(), E === "navigation" ? (t.isElement && (t[E].prevEl.remove(), t[E].nextEl.remove()), c[E].prevEl = void 0, c[E].nextEl = void 0, t[E].prevEl = void 0, t[E].nextEl = void 0) : (t.isElement && t[E].el.remove(), c[E].el = void 0, t[E].el = void 0));
4732
4753
  };
4733
- i.includes("loop") && t.isElement && (c.loop && !n.loop ? x = !0 : !c.loop && n.loop ? M = !0 : _ = !0), d.forEach((E) => {
4734
- if (re(c[E]) && re(n[E]))
4754
+ i.includes("loop") && t.isElement && (c.loop && !n.loop ? x = !0 : !c.loop && n.loop ? _ = !0 : O = !0), d.forEach((E) => {
4755
+ if (ne(c[E]) && ne(n[E]))
4735
4756
  Object.assign(c[E], n[E]), (E === "navigation" || E === "pagination" || E === "scrollbar") && "enabled" in n[E] && !n[E].enabled && P(E);
4736
4757
  else {
4737
4758
  const y = n[E];
4738
4759
  (y === !0 || y === !1) && (E === "navigation" || E === "pagination" || E === "scrollbar") ? y === !1 && P(E) : c[E] = n[E];
4739
4760
  }
4740
- }), d.includes("controller") && !h && t.controller && t.controller.control && c.controller && c.controller.control && (t.controller.control = c.controller.control), i.includes("children") && r && p && c.virtual.enabled ? (p.slides = r, p.update(!0)) : i.includes("virtual") && p && c.virtual.enabled && (r && (p.slides = r), p.update(!0)), i.includes("children") && r && c.loop && (_ = !0), T && v.init() && v.update(!0), h && (t.controller.control = c.controller.control), g && (t.isElement && (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-pagination"), l.part.add("pagination"), t.el.appendChild(l)), l && (c.pagination.el = l), u.init(), u.render(), u.update()), w && (t.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), t.el.appendChild(a)), a && (c.scrollbar.el = a), m.init(), m.updateSize(), m.setTranslate()), C && (t.isElement && ((!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-button-next"), vt(s, t.hostEl.constructor.nextButtonSvg), s.part.add("button-next"), t.el.appendChild(s)), (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-button-prev"), vt(o, t.hostEl.constructor.prevButtonSvg), o.part.add("button-prev"), t.el.appendChild(o))), s && (c.navigation.nextEl = s), o && (c.navigation.prevEl = o), f.init(), f.update()), i.includes("allowSlideNext") && (t.allowSlideNext = n.allowSlideNext), i.includes("allowSlidePrev") && (t.allowSlidePrev = n.allowSlidePrev), i.includes("direction") && t.changeDirection(n.direction, !1), (x || _) && t.loopDestroy(), (M || _) && t.loopCreate(), t.update();
4761
+ }), d.includes("controller") && !h && t.controller && t.controller.control && c.controller && c.controller.control && (t.controller.control = c.controller.control), i.includes("children") && r && p && c.virtual.enabled ? (p.slides = r, p.update(!0)) : i.includes("virtual") && p && c.virtual.enabled && (r && (p.slides = r), p.update(!0)), i.includes("children") && r && c.loop && (O = !0), T && v.init() && v.update(!0), h && (t.controller.control = c.controller.control), g && (t.isElement && (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-pagination"), l.part.add("pagination"), t.el.appendChild(l)), l && (c.pagination.el = l), u.init(), u.render(), u.update()), w && (t.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-scrollbar"), a.part.add("scrollbar"), t.el.appendChild(a)), a && (c.scrollbar.el = a), m.init(), m.updateSize(), m.setTranslate()), C && (t.isElement && ((!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-button-next"), vt(s, t.hostEl.constructor.nextButtonSvg), s.part.add("button-next"), t.el.appendChild(s)), (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-button-prev"), vt(o, t.hostEl.constructor.prevButtonSvg), o.part.add("button-prev"), t.el.appendChild(o))), s && (c.navigation.nextEl = s), o && (c.navigation.prevEl = o), f.init(), f.update()), i.includes("allowSlideNext") && (t.allowSlideNext = n.allowSlideNext), i.includes("allowSlidePrev") && (t.allowSlidePrev = n.allowSlidePrev), i.includes("direction") && t.changeDirection(n.direction, !1), (x || O) && t.loopDestroy(), (_ || O) && t.loopCreate(), t.update();
4741
4762
  }
4742
- function Ea(e, t) {
4763
+ function Ca(e, t) {
4743
4764
  e === void 0 && (e = {}), t === void 0 && (t = !0);
4744
4765
  const r = {
4745
4766
  on: {}
@@ -4747,7 +4768,7 @@ function Ea(e, t) {
4747
4768
  oe(r, qe), r._emitClasses = !0, r.init = !1;
4748
4769
  const s = {}, o = nr.map((l) => l.replace(/_/, "")), a = Object.assign({}, e);
4749
4770
  return Object.keys(a).forEach((l) => {
4750
- typeof e[l] > "u" || (o.indexOf(l) >= 0 ? re(e[l]) ? (r[l] = {}, i[l] = {}, oe(r[l], e[l]), oe(i[l], e[l])) : (r[l] = e[l], i[l] = e[l]) : l.search(/on[A-Z]/) === 0 && typeof e[l] == "function" ? t ? n[`${l[2].toLowerCase()}${l.substr(3)}`] = e[l] : r.on[`${l[2].toLowerCase()}${l.substr(3)}`] = e[l] : s[l] = e[l]);
4771
+ typeof e[l] > "u" || (o.indexOf(l) >= 0 ? ne(e[l]) ? (r[l] = {}, i[l] = {}, oe(r[l], e[l]), oe(i[l], e[l])) : (r[l] = e[l], i[l] = e[l]) : l.search(/on[A-Z]/) === 0 && typeof e[l] == "function" ? t ? n[`${l[2].toLowerCase()}${l.substr(3)}`] = e[l] : r.on[`${l[2].toLowerCase()}${l.substr(3)}`] = e[l] : s[l] = e[l]);
4751
4772
  }), ["navigation", "pagination", "scrollbar"].forEach((l) => {
4752
4773
  r[l] === !0 && (r[l] = {}), r[l] === !1 && delete r[l];
4753
4774
  }), {
@@ -4757,7 +4778,7 @@ function Ea(e, t) {
4757
4778
  events: n
4758
4779
  };
4759
4780
  }
4760
- function Ca(e, t) {
4781
+ function Pa(e, t) {
4761
4782
  let {
4762
4783
  el: r,
4763
4784
  nextEl: n,
@@ -4768,7 +4789,7 @@ function Ca(e, t) {
4768
4789
  } = e;
4769
4790
  ir(t) && n && i && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = i, a.originalParams.navigation.prevEl = i), sr(t) && s && (a.params.pagination.el = s, a.originalParams.pagination.el = s), ar(t) && o && (a.params.scrollbar.el = o, a.originalParams.scrollbar.el = o), a.init(r);
4770
4791
  }
4771
- function Pa(e, t, r, n, i) {
4792
+ function Ia(e, t, r, n, i) {
4772
4793
  const s = [];
4773
4794
  if (!t) return s;
4774
4795
  const o = (l) => {
@@ -4780,7 +4801,7 @@ function Pa(e, t, r, n, i) {
4780
4801
  }
4781
4802
  return nr.filter((l) => l[0] === "_").map((l) => l.replace(/_/, "")).forEach((l) => {
4782
4803
  if (l in e && l in t)
4783
- if (re(e[l]) && re(t[l])) {
4804
+ if (ne(e[l]) && ne(t[l])) {
4784
4805
  const d = Object.keys(e[l]), c = Object.keys(t[l]);
4785
4806
  d.length !== c.length ? o(l) : (d.forEach((u) => {
4786
4807
  e[l][u] !== t[l][u] && o(l);
@@ -4790,18 +4811,18 @@ function Pa(e, t, r, n, i) {
4790
4811
  } else e[l] !== t[l] && o(l);
4791
4812
  }), s;
4792
4813
  }
4793
- const Ia = (e) => {
4814
+ const Oa = (e) => {
4794
4815
  !e || e.destroyed || !e.params.virtual || e.params.virtual && !e.params.virtual.enabled || (e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.emit("_virtualUpdated"), e.parallax && e.params.parallax && e.params.parallax.enabled && e.parallax.setTranslate());
4795
4816
  };
4796
- function Me() {
4797
- return Me = Object.assign ? Object.assign.bind() : function(e) {
4817
+ function _e() {
4818
+ return _e = Object.assign ? Object.assign.bind() : function(e) {
4798
4819
  for (var t = 1; t < arguments.length; t++) {
4799
4820
  var r = arguments[t];
4800
4821
  for (var n in r)
4801
4822
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
4802
4823
  }
4803
4824
  return e;
4804
- }, Me.apply(this, arguments);
4825
+ }, _e.apply(this, arguments);
4805
4826
  }
4806
4827
  function lr(e) {
4807
4828
  return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
@@ -4858,7 +4879,7 @@ function Ma(e, t, r) {
4858
4879
  function pe(e, t) {
4859
4880
  return typeof window > "u" ? he(e, t) : mr(e, t);
4860
4881
  }
4861
- const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__PURE__ */ Ct(function(e, t) {
4882
+ const yt = /* @__PURE__ */ Pt(null), La = /* @__PURE__ */ Pt(null), cr = /* @__PURE__ */ Ct(function(e, t) {
4862
4883
  let {
4863
4884
  className: r,
4864
4885
  tag: n = "div",
@@ -4867,13 +4888,13 @@ const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__P
4867
4888
  onSwiper: o,
4868
4889
  ...a
4869
4890
  } = e === void 0 ? {} : e, l = !1;
4870
- const [d, c] = ae("swiper"), [u, f] = ae(null), [m, p] = ae(!1), v = H(!1), T = H(null), h = H(null), g = H(null), w = H(null), C = H(null), x = H(null), M = H(null), _ = H(null), {
4891
+ const [d, c] = te("swiper"), [u, f] = te(null), [m, p] = te(!1), v = H(!1), T = H(null), h = H(null), g = H(null), w = H(null), C = H(null), x = H(null), _ = H(null), O = H(null), {
4871
4892
  params: P,
4872
4893
  passedParams: E,
4873
4894
  rest: y,
4874
4895
  events: I
4875
- } = Ea(a), {
4876
- slides: O,
4896
+ } = Ca(a), {
4897
+ slides: M,
4877
4898
  slots: R
4878
4899
  } = _a(s), j = () => {
4879
4900
  p(!m);
@@ -4889,10 +4910,10 @@ const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__P
4889
4910
  ...P
4890
4911
  };
4891
4912
  if (delete N.wrapperClass, h.current = new it(N), h.current.virtual && h.current.params.virtual.enabled) {
4892
- h.current.virtual.slides = O;
4913
+ h.current.virtual.slides = M;
4893
4914
  const U = {
4894
4915
  cache: !1,
4895
- slides: O,
4916
+ slides: M,
4896
4917
  renderExternal: f,
4897
4918
  renderExternalUpdate: !1
4898
4919
  };
@@ -4915,47 +4936,47 @@ const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__P
4915
4936
  !v.current && h.current && (h.current.emitSlidesClasses(), v.current = !0);
4916
4937
  }), pe(() => {
4917
4938
  if (t && (t.current = T.current), !!T.current)
4918
- return h.current.destroyed && W(), Ca({
4939
+ return h.current.destroyed && W(), Pa({
4919
4940
  el: T.current,
4920
4941
  nextEl: C.current,
4921
4942
  prevEl: x.current,
4922
- paginationEl: M.current,
4923
- scrollbarEl: _.current,
4943
+ paginationEl: _.current,
4944
+ scrollbarEl: O.current,
4924
4945
  swiper: h.current
4925
4946
  }, P), o && !h.current.destroyed && o(h.current), () => {
4926
4947
  h.current && !h.current.destroyed && h.current.destroy(!0, !1);
4927
4948
  };
4928
4949
  }, []), pe(() => {
4929
4950
  L();
4930
- const N = Pa(E, g.current, O, w.current, (U) => U.key);
4931
- return g.current = E, w.current = O, N.length && h.current && !h.current.destroyed && xa({
4951
+ const N = Ia(E, g.current, M, w.current, (U) => U.key);
4952
+ return g.current = E, w.current = M, N.length && h.current && !h.current.destroyed && Ea({
4932
4953
  swiper: h.current,
4933
- slides: O,
4954
+ slides: M,
4934
4955
  passedParams: E,
4935
4956
  changedParams: N,
4936
4957
  nextEl: C.current,
4937
4958
  prevEl: x.current,
4938
- scrollbarEl: _.current,
4939
- paginationEl: M.current
4959
+ scrollbarEl: O.current,
4960
+ paginationEl: _.current
4940
4961
  }), () => {
4941
4962
  k();
4942
4963
  };
4943
4964
  }), pe(() => {
4944
- Ia(h.current);
4965
+ Oa(h.current);
4945
4966
  }, [u]);
4946
4967
  function B() {
4947
- return P.virtual ? Ma(h.current, O, u) : O.map((N, U) => /* @__PURE__ */ A.cloneElement(N, {
4968
+ return P.virtual ? Ma(h.current, M, u) : M.map((N, U) => /* @__PURE__ */ A.cloneElement(N, {
4948
4969
  swiper: h.current,
4949
4970
  swiperSlideIndex: U
4950
4971
  }));
4951
4972
  }
4952
- return /* @__PURE__ */ A.createElement(n, Me({
4973
+ return /* @__PURE__ */ A.createElement(n, _e({
4953
4974
  ref: T,
4954
4975
  className: or(`${d}${r ? ` ${r}` : ""}`)
4955
- }, y), /* @__PURE__ */ A.createElement(Oa.Provider, {
4976
+ }, y), /* @__PURE__ */ A.createElement(La.Provider, {
4956
4977
  value: h.current
4957
4978
  }, R["container-start"], /* @__PURE__ */ A.createElement(i, {
4958
- className: ya(P.wrapperClass)
4979
+ className: xa(P.wrapperClass)
4959
4980
  }, R["wrapper-start"], B(), R["wrapper-end"]), ir(P) && /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement("div", {
4960
4981
  ref: x,
4961
4982
  className: "swiper-button-prev"
@@ -4963,10 +4984,10 @@ const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__P
4963
4984
  ref: C,
4964
4985
  className: "swiper-button-next"
4965
4986
  })), ar(P) && /* @__PURE__ */ A.createElement("div", {
4966
- ref: _,
4987
+ ref: O,
4967
4988
  className: "swiper-scrollbar"
4968
4989
  }), sr(P) && /* @__PURE__ */ A.createElement("div", {
4969
- ref: M,
4990
+ ref: _,
4970
4991
  className: "swiper-pagination"
4971
4992
  }), R["container-end"]));
4972
4993
  });
@@ -4983,9 +5004,9 @@ const ur = /* @__PURE__ */ Ct(function(e, t) {
4983
5004
  swiperSlideIndex: d,
4984
5005
  ...c
4985
5006
  } = e === void 0 ? {} : e;
4986
- const u = H(null), [f, m] = ae("swiper-slide"), [p, v] = ae(!1);
4987
- function T(C, x, M) {
4988
- x === u.current && m(M);
5007
+ const u = H(null), [f, m] = te("swiper-slide"), [p, v] = te(!1);
5008
+ function T(C, x, _) {
5009
+ x === u.current && m(_);
4989
5010
  }
4990
5011
  pe(() => {
4991
5012
  if (typeof d < "u" && (u.current.swiperSlideIndex = d), t && (t.current = u.current), !(!u.current || !s)) {
@@ -5008,7 +5029,7 @@ const ur = /* @__PURE__ */ Ct(function(e, t) {
5008
5029
  }, g = () => typeof n == "function" ? n(h) : n, w = () => {
5009
5030
  v(!0);
5010
5031
  };
5011
- return /* @__PURE__ */ A.createElement(r, Me({
5032
+ return /* @__PURE__ */ A.createElement(r, _e({
5012
5033
  ref: u,
5013
5034
  className: or(`${f}${i ? ` ${i}` : ""}`),
5014
5035
  "data-swiper-slide-index": l,
@@ -5027,47 +5048,47 @@ const ur = /* @__PURE__ */ Ct(function(e, t) {
5027
5048
  })));
5028
5049
  });
5029
5050
  ur.displayName = "SwiperSlide";
5030
- const La = "sliderTestId", Aa = ({ spaceBetween: e, slidesPerView: t, block: r, breakpoints: n, modules: i, children: s }) => /* @__PURE__ */ b(
5051
+ const Aa = "sliderTestId", Na = ({ spaceBetween: e, slidesPerView: t, block: r, breakpoints: n, modules: i, children: s }) => /* @__PURE__ */ b(
5031
5052
  cr,
5032
5053
  {
5033
5054
  className: z(r, "slider"),
5034
- "data-testid": La,
5055
+ "data-testid": Aa,
5035
5056
  modules: i,
5036
5057
  spaceBetween: e,
5037
5058
  slidesPerView: t,
5038
5059
  breakpoints: n,
5039
5060
  children: s
5040
5061
  }
5041
- ), ho = Object.assign(Aa, {
5062
+ ), go = Object.assign(Na, {
5042
5063
  Slide: ur
5043
- }), Na = Object.freeze({
5064
+ }), Ra = Object.freeze({
5044
5065
  LEFT: "left",
5045
5066
  RIGHT: "right"
5046
- }), Ra = "sliderNavigateTestId", za = "navigateButtonTestId", ka = {
5067
+ }), za = "sliderNavigateTestId", ka = "navigateButtonTestId", Da = {
5047
5068
  left: /* @__PURE__ */ b(Y.ArrowNarrowLeft, {}),
5048
5069
  right: /* @__PURE__ */ b(Y.ArrowNarrowRight, {})
5049
- }, Da = ({ placement: e }) => /* @__PURE__ */ b(
5070
+ }, Ba = ({ placement: e }) => /* @__PURE__ */ b(
5050
5071
  "button",
5051
5072
  {
5052
- "data-testid": za,
5073
+ "data-testid": ka,
5053
5074
  type: "button",
5054
5075
  className: "slider-navigate__button",
5055
- children: ka[e]
5076
+ children: Da[e]
5056
5077
  }
5057
- ), mo = () => /* @__PURE__ */ b(
5078
+ ), vo = () => /* @__PURE__ */ b(
5058
5079
  "div",
5059
5080
  {
5060
- "data-testid": Ra,
5081
+ "data-testid": za,
5061
5082
  className: "slider-navigate",
5062
- children: Object.values(Na).map((e) => /* @__PURE__ */ b(
5063
- Da,
5083
+ children: Object.values(Ra).map((e) => /* @__PURE__ */ b(
5084
+ Ba,
5064
5085
  {
5065
5086
  placement: e
5066
5087
  },
5067
5088
  e
5068
5089
  ))
5069
5090
  }
5070
- ), Ba = ({ block: e, isOpen: t, textContent: r, title: n, onClick: i }) => /* @__PURE__ */ $(
5091
+ ), Fa = ({ block: e, isOpen: t, textContent: r, title: n, onClick: i }) => /* @__PURE__ */ $(
5071
5092
  le.Layout,
5072
5093
  {
5073
5094
  isOpen: t,
@@ -5083,8 +5104,8 @@ const La = "sliderTestId", Aa = ({ spaceBetween: e, slidesPerView: t, block: r,
5083
5104
  /* @__PURE__ */ b(le.Content, { isOpen: t, children: r })
5084
5105
  ]
5085
5106
  }
5086
- ), Fa = ({ isOpen: e, children: t }) => {
5087
- const { style: r, contentRef: n } = Ot(e);
5107
+ ), $a = ({ isOpen: e, children: t }) => {
5108
+ const { style: r, contentRef: n } = Mt(e);
5088
5109
  return /* @__PURE__ */ b(
5089
5110
  "div",
5090
5111
  {
@@ -5100,19 +5121,19 @@ const La = "sliderTestId", Aa = ({ spaceBetween: e, slidesPerView: t, block: r,
5100
5121
  )
5101
5122
  }
5102
5123
  );
5103
- }, $a = () => /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "accordion__arrow" }), Ga = ({ title: e }) => /* @__PURE__ */ b("h3", { className: "accordion__title", children: e }), Va = ({ onClick: e, title: t }) => /* @__PURE__ */ $(le.Button, { onClick: e, children: [
5124
+ }, Ga = () => /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "accordion__arrow" }), Va = ({ title: e }) => /* @__PURE__ */ b("h3", { className: "accordion__title", children: e }), Ha = ({ onClick: e, title: t }) => /* @__PURE__ */ $(le.Button, { onClick: e, children: [
5104
5125
  /* @__PURE__ */ b(le.Title, { title: t }),
5105
5126
  /* @__PURE__ */ b(le.Arrow, {})
5106
- ] }), Ha = "accordionTestId", ja = ({ block: e, isOpen: t, children: r }) => /* @__PURE__ */ b(
5127
+ ] }), ja = "accordionTestId", Wa = ({ block: e, isOpen: t, children: r }) => /* @__PURE__ */ b(
5107
5128
  "div",
5108
5129
  {
5109
- "data-testid": Ha,
5130
+ "data-testid": ja,
5110
5131
  className: z(e, "accordion", {
5111
5132
  _active: t
5112
5133
  }),
5113
5134
  children: r
5114
5135
  }
5115
- ), Wa = ({ onClick: e, children: t }) => /* @__PURE__ */ b(
5136
+ ), Ua = ({ onClick: e, children: t }) => /* @__PURE__ */ b(
5116
5137
  "button",
5117
5138
  {
5118
5139
  onClick: e,
@@ -5120,50 +5141,52 @@ const La = "sliderTestId", Aa = ({ spaceBetween: e, slidesPerView: t, block: r,
5120
5141
  className: "accordion__button",
5121
5142
  children: t
5122
5143
  }
5123
- ), le = Object.assign(Ba, {
5124
- Content: Fa,
5125
- Arrow: $a,
5126
- Title: Ga,
5127
- Block: Va,
5128
- Layout: ja,
5129
- Button: Wa
5144
+ ), le = Object.assign(Fa, {
5145
+ Content: $a,
5146
+ Arrow: Ga,
5147
+ Title: Va,
5148
+ Block: Ha,
5149
+ Layout: Wa,
5150
+ Button: Ua
5130
5151
  });
5131
5152
  export {
5132
5153
  le as Accordion,
5133
5154
  Nt as Button,
5134
- gn as ButtonWithIcon,
5135
- io as CATEGORIES_LIST,
5155
+ vn as ButtonWithIcon,
5156
+ so as CATEGORIES_LIST,
5136
5157
  Fr as CATEGORY_TEST_ID,
5137
- ao as Category,
5158
+ oo as Category,
5138
5159
  Ne as Checkbox,
5139
5160
  Se as Dropdown,
5140
- oo as FavButton,
5161
+ co as FavButton,
5141
5162
  lt as Field,
5142
5163
  ce as FilterAccordion,
5143
- lo as FilterButton,
5144
- co as Gallery,
5164
+ uo as FilterButton,
5165
+ fo as Gallery,
5145
5166
  Y as Icons,
5146
- wn as Input,
5147
- uo as LinkWithIcon,
5148
- fo as NavLink,
5167
+ Sn as Input,
5168
+ po as LinkWithIcon,
5169
+ lo as Logo,
5170
+ ho as NavLink,
5149
5171
  ye as Pagination,
5150
- po as RangeSlider,
5151
- zi as RouterLink,
5152
- se as Select,
5153
- ho as Slider,
5154
- mo as SliderNavigate,
5172
+ mo as RangeSlider,
5173
+ ki as RouterLink,
5174
+ ae as Select,
5175
+ go as Slider,
5176
+ vo as SliderNavigate,
5155
5177
  wr as capitalizeFirstLetter,
5156
5178
  z as cn,
5157
- to as dropdownOptionsMock,
5158
- eo as imagesMock,
5159
- Za as pageSizeMock,
5160
- ro as rangeSliderArrayMock,
5161
- Ja as selectOptionsMock,
5162
- no as sliderSlideArrayMock,
5163
- Qa as totalCountPageMock,
5164
- Ot as useAccordionHeight,
5179
+ ro as dropdownOptionsMock,
5180
+ to as imagesMock,
5181
+ eo as pageSizeMock,
5182
+ no as rangeSliderArrayMock,
5183
+ Qa as selectOptionsMock,
5184
+ io as sliderSlideArrayMock,
5185
+ Za as totalCountPageMock,
5186
+ Mt as useAccordionHeight,
5165
5187
  Lt as useClickOutside,
5166
- so as useMatchMedia,
5167
- Mt as withBlockClass
5188
+ ao as useDropdown,
5189
+ $r as useMatchMedia,
5190
+ _t as withBlockClass
5168
5191
  };
5169
5192
  //# sourceMappingURL=index.es.js.map