ecars-web-lib 1.0.10 → 1.0.12

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,23 +1,23 @@
1
- import { clsx as fr } from "clsx";
1
+ import { clsx as hr } from "clsx";
2
2
  import * as S from "react";
3
- import A, { cloneElement as He, useRef as V, useMemo as yt, useState as ae, useEffect as he, forwardRef as xt, createContext as Et, useLayoutEffect as pr } from "react";
4
- import { jsx as b, jsxs as F } from "react/jsx-runtime";
5
- import hr from "react-image-gallery";
6
- import mr from "rc-slider";
7
- import './index.css';const k = (e = "", t, ...r) => {
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";
4
+ import { jsx as b, jsxs as $ } from "react/jsx-runtime";
5
+ import gr from "react-image-gallery";
6
+ import vr from "rc-slider";
7
+ import './index.css';const z = (e = "", t, ...r) => {
8
8
  const n = e ? `${e}__${t} ${t}` : t;
9
- return fr(n, r);
10
- }, gr = (e) => e.charAt(0).toUpperCase() + e.slice(1);
11
- var Ct = {
9
+ return hr(n, r);
10
+ }, wr = (e) => e.charAt(0).toUpperCase() + e.slice(1);
11
+ var It = {
12
12
  color: void 0,
13
13
  size: void 0,
14
14
  className: void 0,
15
15
  style: void 0,
16
16
  attr: void 0
17
- }, st = A.createContext && /* @__PURE__ */ A.createContext(Ct), vr = ["attr", "size", "title"];
18
- function wr(e, t) {
17
+ }, at = A.createContext && /* @__PURE__ */ A.createContext(It), Sr = ["attr", "size", "title"];
18
+ function br(e, t) {
19
19
  if (e == null) return {};
20
- var r = Sr(e, t), n, i;
20
+ var r = Tr(e, t), n, i;
21
21
  if (Object.getOwnPropertySymbols) {
22
22
  var s = Object.getOwnPropertySymbols(e);
23
23
  for (i = 0; i < s.length; i++)
@@ -25,7 +25,7 @@ function wr(e, t) {
25
25
  }
26
26
  return r;
27
27
  }
28
- function Sr(e, t) {
28
+ function Tr(e, t) {
29
29
  if (e == null) return {};
30
30
  var r = {};
31
31
  for (var n in e)
@@ -45,7 +45,7 @@ function Ee() {
45
45
  return e;
46
46
  }, Ee.apply(this, arguments);
47
47
  }
48
- function at(e, t) {
48
+ function ot(e, t) {
49
49
  var r = Object.keys(e);
50
50
  if (Object.getOwnPropertySymbols) {
51
51
  var n = Object.getOwnPropertySymbols(e);
@@ -58,22 +58,22 @@ function at(e, t) {
58
58
  function Ce(e) {
59
59
  for (var t = 1; t < arguments.length; t++) {
60
60
  var r = arguments[t] != null ? arguments[t] : {};
61
- t % 2 ? at(Object(r), !0).forEach(function(n) {
62
- br(e, n, r[n]);
63
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : at(Object(r)).forEach(function(n) {
61
+ t % 2 ? ot(Object(r), !0).forEach(function(n) {
62
+ yr(e, n, r[n]);
63
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : ot(Object(r)).forEach(function(n) {
64
64
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
65
65
  });
66
66
  }
67
67
  return e;
68
68
  }
69
- function br(e, t, r) {
70
- return t = Tr(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
69
+ function yr(e, t, r) {
70
+ return t = xr(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
71
71
  }
72
- function Tr(e) {
73
- var t = yr(e, "string");
72
+ function xr(e) {
73
+ var t = Er(e, "string");
74
74
  return typeof t == "symbol" ? t : t + "";
75
75
  }
76
- function yr(e, t) {
76
+ function Er(e, t) {
77
77
  if (typeof e != "object" || !e) return e;
78
78
  var r = e[Symbol.toPrimitive];
79
79
  if (r !== void 0) {
@@ -83,23 +83,23 @@ function yr(e, t) {
83
83
  }
84
84
  return (t === "string" ? String : Number)(e);
85
85
  }
86
- function Pt(e) {
86
+ function _t(e) {
87
87
  return e && e.map((t, r) => /* @__PURE__ */ A.createElement(t.tag, Ce({
88
88
  key: r
89
- }, t.attr), Pt(t.child)));
89
+ }, t.attr), _t(t.child)));
90
90
  }
91
- function re(e) {
92
- return (t) => /* @__PURE__ */ A.createElement(xr, Ee({
91
+ function V(e) {
92
+ return (t) => /* @__PURE__ */ A.createElement(Cr, Ee({
93
93
  attr: Ce({}, e.attr)
94
- }, t), Pt(e.child));
94
+ }, t), _t(e.child));
95
95
  }
96
- function xr(e) {
96
+ function Cr(e) {
97
97
  var t = (r) => {
98
98
  var {
99
99
  attr: n,
100
100
  size: i,
101
101
  title: s
102
- } = e, o = wr(e, vr), a = i || r.size || "1em", l;
102
+ } = e, o = br(e, Sr), a = i || r.size || "1em", l;
103
103
  return r.className && (l = r.className), e.className && (l = (l ? l + " " : "") + e.className), /* @__PURE__ */ A.createElement("svg", Ee({
104
104
  stroke: "currentColor",
105
105
  fill: "currentColor",
@@ -114,60 +114,95 @@ function xr(e) {
114
114
  xmlns: "http://www.w3.org/2000/svg"
115
115
  }), s && /* @__PURE__ */ A.createElement("title", null, s), e.children);
116
116
  };
117
- return st !== void 0 ? /* @__PURE__ */ A.createElement(st.Consumer, null, (r) => t(r)) : t(Ct);
118
- }
119
- function Er(e) {
120
- return re({ 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);
121
- }
122
- function Cr(e) {
123
- return re({ 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);
117
+ return at !== void 0 ? /* @__PURE__ */ A.createElement(at.Consumer, null, (r) => t(r)) : t(It);
124
118
  }
125
119
  function Pr(e) {
126
- return re({ 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);
120
+ return V({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z" }, child: [] }] })(e);
127
121
  }
128
122
  function Ir(e) {
129
- return re({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }, child: [] }] })(e);
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);
130
124
  }
131
125
  function _r(e) {
132
- return re({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z" }, child: [] }] })(e);
133
- }
134
- const U = {
135
- ArrowNarrowRight: Pr,
136
- ArrowNarrowLeft: Cr,
137
- ArrowNarrowDown: Er,
138
- Check: Ir,
139
- Close: _r
140
- }, Ha = ["Option 1", "Option 2", "Another Option"], ja = 100, Wa = 10, Ua = Array.from({ length: 6 }, (e) => ({
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
+ }
128
+ function Mr(e) {
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
+ }
131
+ function Or(e) {
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
+ }
134
+ function Lr(e) {
135
+ return V({ attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z" }, child: [] }] })(e);
136
+ }
137
+ function Ar(e) {
138
+ return V({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M278.6 256l68.2-68.2c6.2-6.2 6.2-16.4 0-22.6-6.2-6.2-16.4-6.2-22.6 0L256 233.4l-68.2-68.2c-6.2-6.2-16.4-6.2-22.6 0-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3l68.2 68.2-68.2 68.2c-3.1 3.1-4.7 7.2-4.7 11.3 0 4.1 1.6 8.2 4.7 11.3 6.2 6.2 16.4 6.2 22.6 0l68.2-68.2 68.2 68.2c6.2 6.2 16.4 6.2 22.6 0 6.2-6.2 6.2-16.4 0-22.6L278.6 256z" }, child: [] }] })(e);
139
+ }
140
+ function Nr(e) {
141
+ return V({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M260.062 32C138.605 32 40.134 129.701 40.134 250.232c0 41.23 11.532 79.79 31.559 112.687L32 480l121.764-38.682c31.508 17.285 67.745 27.146 106.298 27.146C381.535 468.464 480 370.749 480 250.232 480 129.701 381.535 32 260.062 32zm109.362 301.11c-5.174 12.827-28.574 24.533-38.899 25.072-10.314.547-10.608 7.994-66.84-16.434-56.225-24.434-90.052-83.844-92.719-87.67-2.669-3.812-21.78-31.047-20.749-58.455 1.038-27.413 16.047-40.346 21.404-45.725 5.351-5.387 11.486-6.352 15.232-6.413 4.428-.072 7.296-.132 10.573-.011 3.274.124 8.192-.685 12.45 10.639 4.256 11.323 14.443 39.153 15.746 41.989 1.302 2.839 2.108 6.126.102 9.771-2.012 3.653-3.042 5.935-5.961 9.083-2.935 3.148-6.174 7.042-8.792 9.449-2.92 2.665-5.97 5.572-2.9 11.269 3.068 5.693 13.653 24.356 29.779 39.736 20.725 19.771 38.598 26.329 44.098 29.317 5.515 3.004 8.806 2.67 12.226-.929 3.404-3.599 14.639-15.746 18.596-21.169 3.955-5.438 7.661-4.373 12.742-2.329 5.078 2.052 32.157 16.556 37.673 19.551 5.51 2.989 9.193 4.529 10.51 6.9 1.317 2.38.901 13.531-4.271 26.359z" }, child: [] }] })(e);
142
+ }
143
+ function Rr(e) {
144
+ return V({ attr: { viewBox: "0 0 320 512" }, child: [{ tag: "path", attr: { d: "M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z" }, child: [] }] })(e);
145
+ }
146
+ function zr(e) {
147
+ return V({ attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z" }, child: [] }] })(e);
148
+ }
149
+ function kr(e) {
150
+ 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.9z" }, child: [] }] })(e);
151
+ }
152
+ function Dr(e) {
153
+ return V({ attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M512 378.7c-73.4 0-133.3 59.9-133.3 133.3S438.6 645.3 512 645.3 645.3 585.4 645.3 512 585.4 378.7 512 378.7zM911.8 512c0-55.2.5-109.9-2.6-165-3.1-64-17.7-120.8-64.5-167.6-46.9-46.9-103.6-61.4-167.6-64.5-55.2-3.1-109.9-2.6-165-2.6-55.2 0-109.9-.5-165 2.6-64 3.1-120.8 17.7-167.6 64.5C132.6 226.3 118.1 283 115 347c-3.1 55.2-2.6 109.9-2.6 165s-.5 109.9 2.6 165c3.1 64 17.7 120.8 64.5 167.6 46.9 46.9 103.6 61.4 167.6 64.5 55.2 3.1 109.9 2.6 165 2.6 55.2 0 109.9.5 165-2.6 64-3.1 120.8-17.7 167.6-64.5 46.9-46.9 61.4-103.6 64.5-167.6 3.2-55.1 2.6-109.8 2.6-165zM512 717.1c-113.5 0-205.1-91.6-205.1-205.1S398.5 306.9 512 306.9 717.1 398.5 717.1 512 625.5 717.1 512 717.1zm213.5-370.7c-26.5 0-47.9-21.4-47.9-47.9s21.4-47.9 47.9-47.9 47.9 21.4 47.9 47.9a47.84 47.84 0 0 1-47.9 47.9z" }, child: [] }] })(e);
154
+ }
155
+ function Br(e) {
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
+ }
158
+ const Y = {
159
+ ArrowNarrowRight: Mr,
160
+ ArrowNarrowLeft: _r,
161
+ ArrowNarrowDown: Ir,
162
+ Check: Lr,
163
+ Close: Ar,
164
+ Facebook: Rr,
165
+ Twitter: Or,
166
+ Youtube: zr,
167
+ Instagram: Dr,
168
+ Whatsapp: Nr,
169
+ Email: Pr
170
+ }, Ja = ["Option 1", "Option 2", "Another Option"], Qa = 100, Za = 10, eo = Array.from({ length: 6 }, (e) => ({
141
171
  original: "src/assets/react.svg",
142
172
  thumbnail: "src/assets/react.svg"
143
- })), Ya = [
173
+ })), to = [
144
174
  {
145
175
  value: "1"
146
176
  },
147
177
  {
148
178
  value: "2"
149
179
  }
150
- ], qa = [10, 500], Xa = [1, 2, 3], Ka = Object.freeze({
180
+ ], ro = [10, 500], no = [1, 2, 3], io = Object.freeze({
151
181
  GUIDES: "guides",
152
182
  REVIEWS: "reviews",
153
183
  NEWS: "news"
154
- }), Or = "categoryTestId", It = (e, t) => ({ block: r, children: n, ...i }) => {
155
- const s = Array.isArray(n) ? n.map(
156
- (o, a) => He(o, {
157
- block: r,
158
- key: `${r} - ${a.toString()}`
159
- })
160
- ) : He(n, { block: r });
184
+ }), Fr = "categoryTestId", He = (e, t) => {
185
+ if (!e)
186
+ return e;
187
+ if (Array.isArray(e))
188
+ return e.map((s) => He(s, t));
189
+ if (!st(e) || !st(e))
190
+ return e;
191
+ const r = e.props.block ?? t, n = e.props.block ? {} : { block: t }, i = e.props.children ? He(e.props.children, r) : e.props.children;
192
+ return xt(e, n, i);
193
+ }, Mt = (e, t, r) => ({ children: n, block: i = t, ...s }) => {
194
+ const o = He(n, i);
161
195
  return /* @__PURE__ */ b(
162
196
  e,
163
197
  {
164
- className: t,
165
- ...i,
166
- children: s
198
+ ...s,
199
+ block: i,
200
+ className: [r, t].filter(Boolean).join(" "),
201
+ children: o
167
202
  }
168
203
  );
169
- }, _t = (e) => {
170
- const t = V(null), r = yt(() => {
204
+ }, Ot = (e) => {
205
+ const t = H(null), r = Et(() => {
171
206
  var n;
172
207
  return {
173
208
  height: e ? (n = t.current) == null ? void 0 : n.scrollHeight : 0
@@ -177,7 +212,7 @@ const U = {
177
212
  contentRef: t,
178
213
  style: r
179
214
  };
180
- }, Ja = (e) => {
215
+ }, so = (e) => {
181
216
  const [t, r] = ae(!1);
182
217
  return he(() => {
183
218
  const n = window.matchMedia(e);
@@ -189,8 +224,8 @@ const U = {
189
224
  n.removeEventListener("change", i);
190
225
  };
191
226
  }, [t, e]), t;
192
- }, Ot = (e) => {
193
- const t = V(null);
227
+ }, Lt = (e) => {
228
+ const t = H(null);
194
229
  return he(() => {
195
230
  const r = (n) => {
196
231
  const i = n.target;
@@ -200,17 +235,17 @@ const U = {
200
235
  document.removeEventListener("mousedown", r);
201
236
  };
202
237
  }, [t, e]), t;
203
- }, Qa = ({ category: e, block: t }) => {
204
- const r = k(t, "category", `category--${e}`);
238
+ }, ao = ({ category: e, block: t }) => {
239
+ const r = z(t, "category", `category--${e}`);
205
240
  return /* @__PURE__ */ b(
206
241
  "span",
207
242
  {
208
- "data-testid": Or,
243
+ "data-testid": Fr,
209
244
  className: r,
210
- children: gr(e)
245
+ children: wr(e)
211
246
  }
212
247
  );
213
- }, Lr = ({ id: e, block: t, ...r }) => /* @__PURE__ */ F(
248
+ }, $r = ({ id: e, block: t, ...r }) => /* @__PURE__ */ $(
214
249
  Ne.Block,
215
250
  {
216
251
  htmlFor: e,
@@ -226,18 +261,18 @@ const U = {
226
261
  /* @__PURE__ */ b(Ne.Indicator, {})
227
262
  ]
228
263
  }
229
- ), Mr = "checkboxTestId", Ar = "checkboxTestInputId", Nr = ({ children: e, block: t, htmlFor: r = "checkbox" }) => {
230
- const n = k(t, "checkbox");
264
+ ), Gr = "checkboxTestId", Vr = "checkboxTestInputId", Hr = ({ children: e, block: t, htmlFor: r = "checkbox" }) => {
265
+ const n = z(t, "checkbox");
231
266
  return /* @__PURE__ */ b(
232
267
  "label",
233
268
  {
234
- "data-testid": Mr,
269
+ "data-testid": Gr,
235
270
  className: n,
236
271
  htmlFor: r,
237
272
  children: e
238
273
  }
239
274
  );
240
- }, Rr = () => /* @__PURE__ */ b("span", { className: "checkbox__indicator", children: /* @__PURE__ */ b(U.Check, {}) }), kr = ({
275
+ }, jr = () => /* @__PURE__ */ b("span", { className: "checkbox__indicator", children: /* @__PURE__ */ b(Y.Check, {}) }), Wr = ({
241
276
  onChange: e,
242
277
  id: t = "checkbox",
243
278
  checked: r = !1,
@@ -245,13 +280,13 @@ const U = {
245
280
  name: i = "checkbox",
246
281
  hasError: s = !1
247
282
  }) => {
248
- const o = k("", "checkbox__input", {
283
+ const o = z("", "checkbox__input", {
249
284
  error: s
250
285
  });
251
286
  return /* @__PURE__ */ b(
252
287
  "input",
253
288
  {
254
- "data-testid": Ar,
289
+ "data-testid": Vr,
255
290
  name: i,
256
291
  disabled: n,
257
292
  className: o,
@@ -263,11 +298,11 @@ const U = {
263
298
  type: "checkbox"
264
299
  }
265
300
  );
266
- }, Ne = Object.assign(Lr, {
267
- Block: Nr,
268
- Indicator: Rr,
269
- Input: kr
270
- }), zr = "dropdownTestId", Dr = ({
301
+ }, Ne = Object.assign($r, {
302
+ Block: Hr,
303
+ Indicator: jr,
304
+ Input: Wr
305
+ }), Ur = "dropdownTestId", Yr = ({
271
306
  category: e,
272
307
  block: t,
273
308
  options: r,
@@ -276,13 +311,13 @@ const U = {
276
311
  isOpen: s,
277
312
  onClickOutside: o
278
313
  }) => {
279
- const a = r.find((d) => d.value === e), l = Ot(o);
280
- return /* @__PURE__ */ F(
314
+ const a = r.find((d) => d.value === e), l = Lt(o);
315
+ return /* @__PURE__ */ $(
281
316
  "div",
282
317
  {
283
- "data-testid": zr,
318
+ "data-testid": Ur,
284
319
  ref: l,
285
- className: k(t, "dropdown-menu", {
320
+ className: z(t, "dropdown-menu", {
286
321
  "_dropdown-active": s
287
322
  }),
288
323
  children: [
@@ -304,7 +339,7 @@ const U = {
304
339
  ]
305
340
  }
306
341
  );
307
- }, Br = ({ category: e, options: t, onSelect: r }) => /* @__PURE__ */ b("ul", { className: "dropdown-menu__list", children: t.map((n) => {
342
+ }, qr = ({ category: e, options: t, onSelect: r }) => /* @__PURE__ */ b("ul", { className: "dropdown-menu__list", children: t.map((n) => {
308
343
  const { value: i, label: s } = n, o = i === e;
309
344
  return /* @__PURE__ */ b(
310
345
  Se.Option,
@@ -316,13 +351,13 @@ const U = {
316
351
  },
317
352
  i
318
353
  );
319
- }) }), $r = ({ label: e, value: t, isSelected: r, onSelect: n }) => /* @__PURE__ */ F(
354
+ }) }), Xr = ({ label: e, value: t, isSelected: r, onSelect: n }) => /* @__PURE__ */ $(
320
355
  "li",
321
356
  {
322
357
  onClick: () => {
323
358
  n(t);
324
359
  },
325
- className: k("", "dropdown-menu__option", {
360
+ className: z("", "dropdown-menu__option", {
326
361
  "_selected-option": r
327
362
  }),
328
363
  children: [
@@ -331,7 +366,7 @@ const U = {
331
366
  t
332
367
  ]
333
368
  }
334
- ), Fr = ({ item: e, handleOpen: t }) => /* @__PURE__ */ F(
369
+ ), Kr = ({ item: e, handleOpen: t }) => /* @__PURE__ */ $(
335
370
  "button",
336
371
  {
337
372
  onClick: t,
@@ -339,91 +374,84 @@ const U = {
339
374
  children: [
340
375
  e == null ? void 0 : e.label,
341
376
  e == null ? void 0 : e.value,
342
- /* @__PURE__ */ b(U.ArrowNarrowDown, { className: "dropdown-menu__arrow" })
377
+ /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "dropdown-menu__arrow" })
343
378
  ]
344
379
  }
345
- ), Gr = ({ children: e }) => /* @__PURE__ */ b("div", { className: "dropdown-menu__block", children: e }), Se = Object.assign(Dr, {
346
- List: Br,
347
- Option: $r,
348
- Category: Fr,
349
- Block: Gr
350
- });
351
- function Vr(e) {
352
- return re({ 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.9z" }, child: [] }] })(e);
353
- }
354
- function Hr(e) {
355
- return re({ 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);
356
- }
357
- const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type: n, onClick: i }) => {
358
- const s = k(t, "favorite-button", `favorite-button--${n}`, {
380
+ ), Jr = ({ children: e }) => /* @__PURE__ */ b("div", { className: "dropdown-menu__block", children: e }), Se = Object.assign(Yr, {
381
+ List: qr,
382
+ Option: Xr,
383
+ Category: Kr,
384
+ Block: Jr
385
+ }), Qr = "favButtonTestId", oo = ({ disabled: e, block: t, isFavorite: r, type: n, onClick: i }) => {
386
+ const s = z(t, "favorite-button", `favorite-button--${n}`, {
359
387
  active: r
360
388
  });
361
389
  return /* @__PURE__ */ b(
362
390
  "button",
363
391
  {
364
- "data-testid": jr,
392
+ "data-testid": Qr,
365
393
  disabled: e,
366
394
  className: s,
367
395
  onClick: i,
368
396
  type: "button",
369
- children: r ? /* @__PURE__ */ b(Vr, {}) : /* @__PURE__ */ b(Hr, {})
397
+ children: r ? /* @__PURE__ */ b(kr, {}) : /* @__PURE__ */ b(Br, {})
370
398
  }
371
399
  );
372
- }, Wr = "fieldTestId", Ur = "fieldLabelTestId", Yr = ({ label: e, block: t, children: r, error: n, id: i = "input" }) => {
373
- const s = k(t, "field");
374
- return /* @__PURE__ */ F(
400
+ }, Zr = "fieldTestId", en = "fieldLabelTestId", tn = ({ label: e, block: t, children: r, error: n, id: i = "input" }) => {
401
+ const s = z(t, "field");
402
+ return /* @__PURE__ */ $(
375
403
  "div",
376
404
  {
377
- "data-testid": Wr,
405
+ "data-testid": Zr,
378
406
  className: s,
379
407
  children: [
380
408
  !!e && /* @__PURE__ */ b(
381
- ot.Label,
409
+ lt.Label,
382
410
  {
383
411
  text: e,
384
412
  htmlFor: i
385
413
  }
386
414
  ),
387
- He(r, { id: i, hasError: !!n }),
388
- !!n && /* @__PURE__ */ b(ot.Error, { errorText: n })
415
+ xt(r, { id: i, hasError: !!n }),
416
+ !!n && /* @__PURE__ */ b(lt.Error, { errorText: n })
389
417
  ]
390
418
  }
391
419
  );
392
- }, qr = ({ text: e, htmlFor: t = "input" }) => /* @__PURE__ */ b(
420
+ }, rn = ({ text: e, htmlFor: t = "input" }) => /* @__PURE__ */ b(
393
421
  "label",
394
422
  {
395
- "data-testid": Ur,
423
+ "data-testid": en,
396
424
  className: "field__label",
397
425
  htmlFor: t,
398
426
  children: e
399
427
  }
400
- ), Xr = ({ errorText: e }) => /* @__PURE__ */ b("p", { className: "field__error", children: e }), ot = Object.assign(Yr, {
401
- Label: qr,
402
- Error: Xr
403
- }), Kr = ({ children: e }) => /* @__PURE__ */ b("div", { className: "filter-accordion__block", children: e }), Lt = "filter-accordion", Jr = "filterAccordionTestId", Qr = It(Kr, Lt), Zr = ({ onClick: e, title: t, isOpen: r, children: n }) => /* @__PURE__ */ F(ce.Layout, { isOpen: r, children: [
404
- /* @__PURE__ */ F(ce.Block, { block: Lt, children: [
428
+ ), nn = ({ errorText: e }) => /* @__PURE__ */ b("p", { className: "field__error", children: e }), lt = Object.assign(tn, {
429
+ Label: rn,
430
+ Error: nn
431
+ }), 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: [
432
+ /* @__PURE__ */ $(ce.Block, { block: At, children: [
405
433
  /* @__PURE__ */ b("h2", { className: "filter-accordion__title", children: t }),
406
434
  /* @__PURE__ */ b(ce.Reset, {}),
407
435
  /* @__PURE__ */ b(ce.Arrow, { onClick: e })
408
436
  ] }),
409
437
  /* @__PURE__ */ b(ce.Content, { isOpen: r, children: n })
410
- ] }), en = ({ isOpen: e, block: t, children: r }) => /* @__PURE__ */ b(
438
+ ] }), dn = ({ isOpen: e, block: t, children: r }) => /* @__PURE__ */ b(
411
439
  "div",
412
440
  {
413
- "data-testid": Jr,
414
- className: k(t, "filter-accordion", {
441
+ "data-testid": an,
442
+ className: z(t, "filter-accordion", {
415
443
  "_active-accordion": e
416
444
  }),
417
445
  children: r
418
446
  }
419
- ), tn = ({ onClick: e }) => /* @__PURE__ */ b(
447
+ ), cn = ({ onClick: e }) => /* @__PURE__ */ b(
420
448
  "button",
421
449
  {
422
450
  onClick: e,
423
451
  className: "filter-accordion__arrow",
424
- children: /* @__PURE__ */ b(U.ArrowNarrowDown, {})
452
+ children: /* @__PURE__ */ b(Y.ArrowNarrowDown, {})
425
453
  }
426
- ), rn = "buttonTestId", Mt = ({
454
+ ), un = "buttonTestId", Nt = ({
427
455
  children: e,
428
456
  size: t,
429
457
  color: r,
@@ -434,14 +462,14 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
434
462
  withIcon: a = !1,
435
463
  block: l
436
464
  }) => {
437
- const d = k(l, "button", `button--${t} button--${r}`, {
465
+ const d = z(l, "button", `button--${t} button--${r}`, {
438
466
  "button--transparent": o,
439
467
  "button--icon": a
440
468
  });
441
469
  return /* @__PURE__ */ b(
442
470
  "button",
443
471
  {
444
- "data-testid": rn,
472
+ "data-testid": un,
445
473
  disabled: s,
446
474
  type: i,
447
475
  className: d,
@@ -449,8 +477,8 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
449
477
  children: e
450
478
  }
451
479
  );
452
- }, nn = ({ block: e }) => /* @__PURE__ */ b(
453
- Mt,
480
+ }, fn = ({ block: e }) => /* @__PURE__ */ b(
481
+ Nt,
454
482
  {
455
483
  block: e,
456
484
  isTransparent: !0,
@@ -458,8 +486,8 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
458
486
  color: "gray",
459
487
  children: "Reset"
460
488
  }
461
- ), sn = ({ isOpen: e, children: t }) => {
462
- const { style: r, contentRef: n } = _t(e);
489
+ ), pn = ({ isOpen: e, children: t }) => {
490
+ const { style: r, contentRef: n } = Ot(e);
463
491
  return /* @__PURE__ */ b(
464
492
  "div",
465
493
  {
@@ -469,20 +497,20 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
469
497
  children: /* @__PURE__ */ b("div", { className: "filter-accordion__body", children: t })
470
498
  }
471
499
  );
472
- }, ce = Object.assign(Zr, {
473
- Layout: en,
474
- Arrow: tn,
475
- Reset: nn,
476
- Block: Qr,
477
- Content: sn
478
- }), an = "leftIconButtonTestId", on = "rightIconButtonTestId", ln = ({
500
+ }, ce = Object.assign(ln, {
501
+ Layout: dn,
502
+ Arrow: cn,
503
+ Reset: fn,
504
+ Block: on,
505
+ Content: pn
506
+ }), hn = "leftIconButtonTestId", mn = "rightIconButtonTestId", gn = ({
479
507
  RightIcon: e,
480
508
  LeftIcon: t,
481
509
  children: r,
482
510
  className: n,
483
511
  ...i
484
- }) => /* @__PURE__ */ F(
485
- Mt,
512
+ }) => /* @__PURE__ */ $(
513
+ Nt,
486
514
  {
487
515
  withIcon: !0,
488
516
  ...i,
@@ -491,7 +519,7 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
491
519
  t,
492
520
  {
493
521
  className: n,
494
- "data-testid": an
522
+ "data-testid": hn
495
523
  }
496
524
  ),
497
525
  r,
@@ -499,32 +527,32 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
499
527
  e,
500
528
  {
501
529
  className: n,
502
- "data-testid": on
530
+ "data-testid": mn
503
531
  }
504
532
  )
505
533
  ]
506
534
  }
507
- ), eo = ({ children: e, onClick: t, block: r }) => /* @__PURE__ */ b(
508
- ln,
535
+ ), lo = ({ children: e, onClick: t, block: r }) => /* @__PURE__ */ b(
536
+ gn,
509
537
  {
510
538
  type: "button",
511
539
  block: r,
512
540
  onClick: t,
513
541
  className: "button__close",
514
- RightIcon: U.Close,
542
+ RightIcon: Y.Close,
515
543
  size: "small",
516
544
  color: "gray",
517
545
  children: e
518
546
  }
519
- ), to = ({ images: e, block: t }) => /* @__PURE__ */ b(
520
- hr,
547
+ ), co = ({ images: e, block: t }) => /* @__PURE__ */ b(
548
+ gr,
521
549
  {
522
550
  items: e,
523
551
  additionalClass: t,
524
552
  showFullscreenButton: !1,
525
553
  showPlayButton: !1
526
554
  }
527
- ), dn = "inputTestId", cn = ({
555
+ ), vn = "inputTestId", wn = ({
528
556
  value: e,
529
557
  onChange: t,
530
558
  hasError: r,
@@ -537,7 +565,7 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
537
565
  isReadOnly: d = !1,
538
566
  isTransparent: c = !1
539
567
  }) => {
540
- const u = k(i, "input", {
568
+ const u = z(i, "input", {
541
569
  error: r,
542
570
  transparent: c
543
571
  });
@@ -550,7 +578,7 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
550
578
  },
551
579
  disabled: s,
552
580
  autoComplete: "off",
553
- "data-testid": dn,
581
+ "data-testid": vn,
554
582
  className: u,
555
583
  id: a,
556
584
  name: l,
@@ -560,10 +588,10 @@ const jr = "favButtonTestId", Za = ({ disabled: e, block: t, isFavorite: r, type
560
588
  }
561
589
  );
562
590
  };
563
- var ue = {}, lt;
564
- function un() {
565
- if (lt) return ue;
566
- lt = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.parse = o, ue.serialize = d;
591
+ var ue = {}, dt;
592
+ function Sn() {
593
+ if (dt) return ue;
594
+ dt = 1, Object.defineProperty(ue, "__esModule", { value: !0 }), ue.parse = o, ue.serialize = d;
567
595
  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__ */ (() => {
568
596
  const f = function() {
569
597
  };
@@ -584,7 +612,7 @@ function un() {
584
612
  h = f.lastIndexOf(";", g - 1) + 1;
585
613
  continue;
586
614
  }
587
- const x = a(f, h, g), O = l(f, g, x), _ = f.slice(x, O);
615
+ const x = a(f, h, g), M = l(f, g, x), _ = f.slice(x, M);
588
616
  if (p[_] === void 0) {
589
617
  let P = a(f, g + 1, C), E = l(f, C, P);
590
618
  const y = T(f.slice(P, E));
@@ -685,7 +713,7 @@ function un() {
685
713
  }
686
714
  return ue;
687
715
  }
688
- un();
716
+ Sn();
689
717
  /**
690
718
  * react-router v7.5.0
691
719
  *
@@ -700,7 +728,7 @@ function D(e, t) {
700
728
  if (e === !1 || e === null || typeof e > "u")
701
729
  throw new Error(t);
702
730
  }
703
- function K(e, t) {
731
+ function J(e, t) {
704
732
  if (!e) {
705
733
  typeof console < "u" && console.warn(t);
706
734
  try {
@@ -726,19 +754,19 @@ function Xe(e) {
726
754
  }
727
755
  return t;
728
756
  }
729
- function At(e, t, r = "/") {
730
- return fn(e, t, r, !1);
757
+ function Rt(e, t, r = "/") {
758
+ return bn(e, t, r, !1);
731
759
  }
732
- function fn(e, t, r, n) {
733
- let i = typeof t == "string" ? Xe(t) : t, s = ee(i.pathname || "/", r);
760
+ function bn(e, t, r, n) {
761
+ let i = typeof t == "string" ? Xe(t) : t, s = te(i.pathname || "/", r);
734
762
  if (s == null)
735
763
  return null;
736
- let o = Nt(e);
737
- pn(o);
764
+ let o = zt(e);
765
+ Tn(o);
738
766
  let a = null;
739
767
  for (let l = 0; a == null && l < o.length; ++l) {
740
- let d = En(s);
741
- a = yn(
768
+ let d = An(s);
769
+ a = On(
742
770
  o[l],
743
771
  d,
744
772
  n
@@ -746,7 +774,7 @@ function fn(e, t, r, n) {
746
774
  }
747
775
  return a;
748
776
  }
749
- function Nt(e, t = [], r = [], n = "") {
777
+ function zt(e, t = [], r = [], n = "") {
750
778
  let i = (s, o, a) => {
751
779
  let l = {
752
780
  relativePath: a === void 0 ? s.path || "" : a,
@@ -758,15 +786,15 @@ function Nt(e, t = [], r = [], n = "") {
758
786
  l.relativePath.startsWith(n),
759
787
  `Absolute route path "${l.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`
760
788
  ), l.relativePath = l.relativePath.slice(n.length));
761
- let d = X([n, l.relativePath]), c = r.concat(l);
789
+ let d = K([n, l.relativePath]), c = r.concat(l);
762
790
  s.children && s.children.length > 0 && (D(
763
791
  // Our types know better, but runtime JS may not!
764
792
  // @ts-expect-error
765
793
  s.index !== !0,
766
794
  `Index routes must not have child routes. Please remove all child routes from route path "${d}".`
767
- ), Nt(s.children, t, c, d)), !(s.path == null && !s.index) && t.push({
795
+ ), zt(s.children, t, c, d)), !(s.path == null && !s.index) && t.push({
768
796
  path: d,
769
- score: bn(d, s.index),
797
+ score: _n(d, s.index),
770
798
  routesMeta: c
771
799
  });
772
800
  };
@@ -775,17 +803,17 @@ function Nt(e, t = [], r = [], n = "") {
775
803
  if (s.path === "" || !((a = s.path) != null && a.includes("?")))
776
804
  i(s, o);
777
805
  else
778
- for (let l of Rt(s.path))
806
+ for (let l of kt(s.path))
779
807
  i(s, o, l);
780
808
  }), t;
781
809
  }
782
- function Rt(e) {
810
+ function kt(e) {
783
811
  let t = e.split("/");
784
812
  if (t.length === 0) return [];
785
813
  let [r, ...n] = t, i = r.endsWith("?"), s = r.replace(/\?$/, "");
786
814
  if (n.length === 0)
787
815
  return i ? [s, ""] : [s];
788
- let o = Rt(n.join("/")), a = [];
816
+ let o = kt(n.join("/")), a = [];
789
817
  return a.push(
790
818
  ...o.map(
791
819
  (l) => l === "" ? s : [s, l].join("/")
@@ -794,23 +822,23 @@ function Rt(e) {
794
822
  (l) => e.startsWith("/") && l === "" ? "/" : l
795
823
  );
796
824
  }
797
- function pn(e) {
825
+ function Tn(e) {
798
826
  e.sort(
799
- (t, r) => t.score !== r.score ? r.score - t.score : Tn(
827
+ (t, r) => t.score !== r.score ? r.score - t.score : Mn(
800
828
  t.routesMeta.map((n) => n.childrenIndex),
801
829
  r.routesMeta.map((n) => n.childrenIndex)
802
830
  )
803
831
  );
804
832
  }
805
- var hn = /^:[\w-]+$/, mn = 3, gn = 2, vn = 1, wn = 10, Sn = -2, dt = (e) => e === "*";
806
- function bn(e, t) {
833
+ var yn = /^:[\w-]+$/, xn = 3, En = 2, Cn = 1, Pn = 10, In = -2, ct = (e) => e === "*";
834
+ function _n(e, t) {
807
835
  let r = e.split("/"), n = r.length;
808
- return r.some(dt) && (n += Sn), t && (n += gn), r.filter((i) => !dt(i)).reduce(
809
- (i, s) => i + (hn.test(s) ? mn : s === "" ? vn : wn),
836
+ return r.some(ct) && (n += In), t && (n += En), r.filter((i) => !ct(i)).reduce(
837
+ (i, s) => i + (yn.test(s) ? xn : s === "" ? Cn : Pn),
810
838
  n
811
839
  );
812
840
  }
813
- function Tn(e, t) {
841
+ function Mn(e, t) {
814
842
  return e.length === t.length && e.slice(0, -1).every((n, i) => n === t[i]) ? (
815
843
  // If two routes are siblings, we should try to match the earlier sibling
816
844
  // first. This allows people to have fine-grained control over the matching
@@ -823,7 +851,7 @@ function Tn(e, t) {
823
851
  0
824
852
  );
825
853
  }
826
- function yn(e, t, r = !1) {
854
+ function On(e, t, r = !1) {
827
855
  let { routesMeta: n } = e, i = {}, s = "/", o = [];
828
856
  for (let a = 0; a < n.length; ++a) {
829
857
  let l = n[a], d = a === n.length - 1, c = s === "/" ? t : t.slice(s.length) || "/", u = Pe(
@@ -842,18 +870,18 @@ function yn(e, t, r = !1) {
842
870
  Object.assign(i, u.params), o.push({
843
871
  // TODO: Can this as be avoided?
844
872
  params: i,
845
- pathname: X([s, u.pathname]),
846
- pathnameBase: _n(
847
- X([s, u.pathnameBase])
873
+ pathname: K([s, u.pathname]),
874
+ pathnameBase: kn(
875
+ K([s, u.pathnameBase])
848
876
  ),
849
877
  route: f
850
- }), u.pathnameBase !== "/" && (s = X([s, u.pathnameBase]));
878
+ }), u.pathnameBase !== "/" && (s = K([s, u.pathnameBase]));
851
879
  }
852
880
  return o;
853
881
  }
854
882
  function Pe(e, t) {
855
883
  typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
856
- let [r, n] = xn(
884
+ let [r, n] = Ln(
857
885
  e.path,
858
886
  e.caseSensitive,
859
887
  e.end
@@ -877,8 +905,8 @@ function Pe(e, t) {
877
905
  pattern: e
878
906
  };
879
907
  }
880
- function xn(e, t = !1, r = !0) {
881
- K(
908
+ function Ln(e, t = !1, r = !0) {
909
+ J(
882
910
  e === "*" || !e.endsWith("*") || e.endsWith("/*"),
883
911
  `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(/\*$/, "/*")}".`
884
912
  );
@@ -888,36 +916,36 @@ function xn(e, t = !1, r = !0) {
888
916
  );
889
917
  return e.endsWith("*") ? (n.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : r ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), n];
890
918
  }
891
- function En(e) {
919
+ function An(e) {
892
920
  try {
893
921
  return e.split("/").map((t) => decodeURIComponent(t).replace(/\//g, "%2F")).join("/");
894
922
  } catch (t) {
895
- return K(
923
+ return J(
896
924
  !1,
897
925
  `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`
898
926
  ), e;
899
927
  }
900
928
  }
901
- function ee(e, t) {
929
+ function te(e, t) {
902
930
  if (t === "/") return e;
903
931
  if (!e.toLowerCase().startsWith(t.toLowerCase()))
904
932
  return null;
905
933
  let r = t.endsWith("/") ? t.length - 1 : t.length, n = e.charAt(r);
906
934
  return n && n !== "/" ? null : e.slice(r) || "/";
907
935
  }
908
- function Cn(e, t = "/") {
936
+ function Nn(e, t = "/") {
909
937
  let {
910
938
  pathname: r,
911
939
  search: n = "",
912
940
  hash: i = ""
913
941
  } = typeof e == "string" ? Xe(e) : e;
914
942
  return {
915
- pathname: r ? r.startsWith("/") ? r : Pn(r, t) : t,
916
- search: On(n),
917
- hash: Ln(i)
943
+ pathname: r ? r.startsWith("/") ? r : Rn(r, t) : t,
944
+ search: Dn(n),
945
+ hash: Bn(i)
918
946
  };
919
947
  }
920
- function Pn(e, t) {
948
+ function Rn(e, t) {
921
949
  let r = t.replace(/\/+$/, "").split("/");
922
950
  return e.split("/").forEach((i) => {
923
951
  i === ".." ? r.length > 1 && r.pop() : i !== "." && r.push(i);
@@ -928,18 +956,18 @@ function Re(e, t, r, n) {
928
956
  n
929
957
  )}]. 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.`;
930
958
  }
931
- function In(e) {
959
+ function zn(e) {
932
960
  return e.filter(
933
961
  (t, r) => r === 0 || t.route.path && t.route.path.length > 0
934
962
  );
935
963
  }
936
- function kt(e) {
937
- let t = In(e);
964
+ function Dt(e) {
965
+ let t = zn(e);
938
966
  return t.map(
939
967
  (r, n) => n === t.length - 1 ? r.pathname : r.pathnameBase
940
968
  );
941
969
  }
942
- function zt(e, t, r, n = !1) {
970
+ function Bt(e, t, r, n = !1) {
943
971
  let i;
944
972
  typeof e == "string" ? i = Xe(e) : (i = { ...e }, D(
945
973
  !i.pathname || !i.pathname.includes("?"),
@@ -964,110 +992,110 @@ function zt(e, t, r, n = !1) {
964
992
  }
965
993
  a = u >= 0 ? t[u] : "/";
966
994
  }
967
- let l = Cn(i, a), d = o && o !== "/" && o.endsWith("/"), c = (s || o === ".") && r.endsWith("/");
995
+ let l = Nn(i, a), d = o && o !== "/" && o.endsWith("/"), c = (s || o === ".") && r.endsWith("/");
968
996
  return !l.pathname.endsWith("/") && (d || c) && (l.pathname += "/"), l;
969
997
  }
970
- var X = (e) => e.join("/").replace(/\/\/+/g, "/"), _n = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), On = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ln = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
971
- function Mn(e) {
998
+ 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;
999
+ function Fn(e) {
972
1000
  return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
973
1001
  }
974
- var Dt = [
1002
+ var Ft = [
975
1003
  "POST",
976
1004
  "PUT",
977
1005
  "PATCH",
978
1006
  "DELETE"
979
1007
  ];
980
1008
  new Set(
981
- Dt
1009
+ Ft
982
1010
  );
983
- var An = [
1011
+ var $n = [
984
1012
  "GET",
985
- ...Dt
1013
+ ...Ft
986
1014
  ];
987
- new Set(An);
1015
+ new Set($n);
988
1016
  var de = S.createContext(null);
989
1017
  de.displayName = "DataRouter";
990
- var Le = S.createContext(null);
991
- Le.displayName = "DataRouterState";
992
- var Bt = S.createContext({
1018
+ var Oe = S.createContext(null);
1019
+ Oe.displayName = "DataRouterState";
1020
+ var $t = S.createContext({
993
1021
  isTransitioning: !1
994
1022
  });
995
- Bt.displayName = "ViewTransition";
996
- var Nn = S.createContext(
1023
+ $t.displayName = "ViewTransition";
1024
+ var Gn = S.createContext(
997
1025
  /* @__PURE__ */ new Map()
998
1026
  );
999
- Nn.displayName = "Fetchers";
1000
- var Rn = S.createContext(null);
1001
- Rn.displayName = "Await";
1002
- var J = S.createContext(
1027
+ Gn.displayName = "Fetchers";
1028
+ var Vn = S.createContext(null);
1029
+ Vn.displayName = "Await";
1030
+ var Q = S.createContext(
1003
1031
  null
1004
1032
  );
1005
- J.displayName = "Navigation";
1033
+ Q.displayName = "Navigation";
1006
1034
  var Ke = S.createContext(
1007
1035
  null
1008
1036
  );
1009
1037
  Ke.displayName = "Location";
1010
- var Q = S.createContext({
1038
+ var Z = S.createContext({
1011
1039
  outlet: null,
1012
1040
  matches: [],
1013
1041
  isDataRoute: !1
1014
1042
  });
1015
- Q.displayName = "Route";
1043
+ Z.displayName = "Route";
1016
1044
  var Je = S.createContext(null);
1017
1045
  Je.displayName = "RouteError";
1018
- function kn(e, { relative: t } = {}) {
1046
+ function Hn(e, { relative: t } = {}) {
1019
1047
  D(
1020
- Me(),
1048
+ Le(),
1021
1049
  // TODO: This error is probably because they somehow have 2 versions of the
1022
1050
  // router loaded. We can help them understand how to avoid that.
1023
1051
  "useHref() may be used only in the context of a <Router> component."
1024
1052
  );
1025
- let { basename: r, navigator: n } = S.useContext(J), { hash: i, pathname: s, search: o } = me(e, { relative: t }), a = s;
1026
- return r !== "/" && (a = s === "/" ? r : X([r, s])), n.createHref({ pathname: a, search: o, hash: i });
1053
+ let { basename: r, navigator: n } = S.useContext(Q), { hash: i, pathname: s, search: o } = me(e, { relative: t }), a = s;
1054
+ return r !== "/" && (a = s === "/" ? r : K([r, s])), n.createHref({ pathname: a, search: o, hash: i });
1027
1055
  }
1028
- function Me() {
1056
+ function Le() {
1029
1057
  return S.useContext(Ke) != null;
1030
1058
  }
1031
1059
  function ne() {
1032
1060
  return D(
1033
- Me(),
1061
+ Le(),
1034
1062
  // TODO: This error is probably because they somehow have 2 versions of the
1035
1063
  // router loaded. We can help them understand how to avoid that.
1036
1064
  "useLocation() may be used only in the context of a <Router> component."
1037
1065
  ), S.useContext(Ke).location;
1038
1066
  }
1039
- var $t = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
1040
- function Ft(e) {
1041
- S.useContext(J).static || S.useLayoutEffect(e);
1067
+ var Gt = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
1068
+ function Vt(e) {
1069
+ S.useContext(Q).static || S.useLayoutEffect(e);
1042
1070
  }
1043
- function zn() {
1044
- let { isDataRoute: e } = S.useContext(Q);
1045
- return e ? Xn() : Dn();
1071
+ function jn() {
1072
+ let { isDataRoute: e } = S.useContext(Z);
1073
+ return e ? ni() : Wn();
1046
1074
  }
1047
- function Dn() {
1075
+ function Wn() {
1048
1076
  D(
1049
- Me(),
1077
+ Le(),
1050
1078
  // TODO: This error is probably because they somehow have 2 versions of the
1051
1079
  // router loaded. We can help them understand how to avoid that.
1052
1080
  "useNavigate() may be used only in the context of a <Router> component."
1053
1081
  );
1054
- let e = S.useContext(de), { basename: t, navigator: r } = S.useContext(J), { matches: n } = S.useContext(Q), { pathname: i } = ne(), s = JSON.stringify(kt(n)), o = S.useRef(!1);
1055
- return Ft(() => {
1082
+ 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);
1083
+ return Vt(() => {
1056
1084
  o.current = !0;
1057
1085
  }), S.useCallback(
1058
1086
  (l, d = {}) => {
1059
- if (K(o.current, $t), !o.current) return;
1087
+ if (J(o.current, Gt), !o.current) return;
1060
1088
  if (typeof l == "number") {
1061
1089
  r.go(l);
1062
1090
  return;
1063
1091
  }
1064
- let c = zt(
1092
+ let c = Bt(
1065
1093
  l,
1066
1094
  JSON.parse(s),
1067
1095
  i,
1068
1096
  d.relative === "path"
1069
1097
  );
1070
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : X([t, c.pathname])), (d.replace ? r.replace : r.push)(
1098
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : K([t, c.pathname])), (d.replace ? r.replace : r.push)(
1071
1099
  c,
1072
1100
  d.state,
1073
1101
  d
@@ -1084,9 +1112,9 @@ function Dn() {
1084
1112
  }
1085
1113
  S.createContext(null);
1086
1114
  function me(e, { relative: t } = {}) {
1087
- let { matches: r } = S.useContext(Q), { pathname: n } = ne(), i = JSON.stringify(kt(r));
1115
+ let { matches: r } = S.useContext(Z), { pathname: n } = ne(), i = JSON.stringify(Dt(r));
1088
1116
  return S.useMemo(
1089
- () => zt(
1117
+ () => Bt(
1090
1118
  e,
1091
1119
  JSON.parse(i),
1092
1120
  n,
@@ -1095,17 +1123,17 @@ function me(e, { relative: t } = {}) {
1095
1123
  [e, i, n, t]
1096
1124
  );
1097
1125
  }
1098
- function Bn(e, t, r, n) {
1126
+ function Un(e, t, r, n) {
1099
1127
  D(
1100
- Me(),
1128
+ Le(),
1101
1129
  // TODO: This error is probably because they somehow have 2 versions of the
1102
1130
  // router loaded. We can help them understand how to avoid that.
1103
1131
  "useRoutes() may be used only in the context of a <Router> component."
1104
1132
  );
1105
- let { navigator: i, static: s } = S.useContext(J), { matches: o } = S.useContext(Q), a = o[o.length - 1], l = a ? a.params : {}, d = a ? a.pathname : "/", c = a ? a.pathnameBase : "/", u = a && a.route;
1133
+ let { navigator: i, static: s } = S.useContext(Q), { matches: o } = S.useContext(Z), a = o[o.length - 1], l = a ? a.params : {}, d = a ? a.pathname : "/", c = a ? a.pathnameBase : "/", u = a && a.route;
1106
1134
  {
1107
1135
  let g = u && u.path || "";
1108
- Gt(
1136
+ Ht(
1109
1137
  d,
1110
1138
  !u || g.endsWith("*") || g.endsWith("*?"),
1111
1139
  `You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${g}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
@@ -1120,23 +1148,23 @@ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" :
1120
1148
  let g = c.replace(/^\//, "").split("/");
1121
1149
  v = "/" + p.replace(/^\//, "").split("/").slice(g.length).join("/");
1122
1150
  }
1123
- let T = !s && r && r.matches && r.matches.length > 0 ? r.matches : At(e, { pathname: v });
1124
- return K(
1151
+ let T = !s && r && r.matches && r.matches.length > 0 ? r.matches : Rt(e, { pathname: v });
1152
+ return J(
1125
1153
  u || T != null,
1126
1154
  `No routes matched location "${m.pathname}${m.search}${m.hash}" `
1127
- ), K(
1155
+ ), J(
1128
1156
  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,
1129
1157
  `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.`
1130
- ), Hn(
1158
+ ), Jn(
1131
1159
  T && T.map(
1132
1160
  (g) => Object.assign({}, g, {
1133
1161
  params: Object.assign({}, l, g.params),
1134
- pathname: X([
1162
+ pathname: K([
1135
1163
  c,
1136
1164
  // Re-encode pathnames that were decoded inside matchRoutes
1137
1165
  i.encodeLocation ? i.encodeLocation(g.pathname).pathname : g.pathname
1138
1166
  ]),
1139
- pathnameBase: g.pathnameBase === "/" ? c : X([
1167
+ pathnameBase: g.pathnameBase === "/" ? c : K([
1140
1168
  c,
1141
1169
  // Re-encode pathnames that were decoded inside matchRoutes
1142
1170
  i.encodeLocation ? i.encodeLocation(g.pathnameBase).pathname : g.pathnameBase
@@ -1148,14 +1176,14 @@ Please change the parent <Route path="${g}"> to <Route path="${g === "/" ? "*" :
1148
1176
  n
1149
1177
  );
1150
1178
  }
1151
- function $n() {
1152
- let e = qn(), t = Mn(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;
1179
+ function Yn() {
1180
+ 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;
1153
1181
  return console.error(
1154
1182
  "Error handled by React Router default ErrorBoundary:",
1155
1183
  e
1156
1184
  ), 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);
1157
1185
  }
1158
- var Fn = /* @__PURE__ */ S.createElement($n, null), Gn = class extends S.Component {
1186
+ var qn = /* @__PURE__ */ S.createElement(Yn, null), Xn = class extends S.Component {
1159
1187
  constructor(e) {
1160
1188
  super(e), this.state = {
1161
1189
  location: e.location,
@@ -1185,7 +1213,7 @@ var Fn = /* @__PURE__ */ S.createElement($n, null), Gn = class extends S.Compone
1185
1213
  );
1186
1214
  }
1187
1215
  render() {
1188
- return this.state.error !== void 0 ? /* @__PURE__ */ S.createElement(Q.Provider, { value: this.props.routeContext }, /* @__PURE__ */ S.createElement(
1216
+ return this.state.error !== void 0 ? /* @__PURE__ */ S.createElement(Z.Provider, { value: this.props.routeContext }, /* @__PURE__ */ S.createElement(
1189
1217
  Je.Provider,
1190
1218
  {
1191
1219
  value: this.state.error,
@@ -1194,11 +1222,11 @@ var Fn = /* @__PURE__ */ S.createElement($n, null), Gn = class extends S.Compone
1194
1222
  )) : this.props.children;
1195
1223
  }
1196
1224
  };
1197
- function Vn({ routeContext: e, match: t, children: r }) {
1225
+ function Kn({ routeContext: e, match: t, children: r }) {
1198
1226
  let n = S.useContext(de);
1199
- return n && n.static && n.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (n.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ S.createElement(Q.Provider, { value: e }, r);
1227
+ 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);
1200
1228
  }
1201
- function Hn(e, t = [], r = null, n = null) {
1229
+ function Jn(e, t = [], r = null, n = null) {
1202
1230
  if (e == null) {
1203
1231
  if (!r)
1204
1232
  return null;
@@ -1238,7 +1266,7 @@ function Hn(e, t = [], r = null, n = null) {
1238
1266
  }
1239
1267
  return i.reduceRight((l, d, c) => {
1240
1268
  let u, f = !1, m = null, p = null;
1241
- r && (u = s && d.route.id ? s[d.route.id] : void 0, m = d.route.errorElement || Fn, o && (a < 0 && c === 0 ? (Gt(
1269
+ r && (u = s && d.route.id ? s[d.route.id] : void 0, m = d.route.errorElement || qn, o && (a < 0 && c === 0 ? (Ht(
1242
1270
  "route-fallback",
1243
1271
  !1,
1244
1272
  "No `HydrateFallback` element provided to render during initial hydration"
@@ -1246,7 +1274,7 @@ function Hn(e, t = [], r = null, n = null) {
1246
1274
  let v = t.concat(i.slice(0, c + 1)), T = () => {
1247
1275
  let h;
1248
1276
  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(
1249
- Vn,
1277
+ Kn,
1250
1278
  {
1251
1279
  match: d,
1252
1280
  routeContext: {
@@ -1259,7 +1287,7 @@ function Hn(e, t = [], r = null, n = null) {
1259
1287
  );
1260
1288
  };
1261
1289
  return r && (d.route.ErrorBoundary || d.route.errorElement || c === 0) ? /* @__PURE__ */ S.createElement(
1262
- Gn,
1290
+ Xn,
1263
1291
  {
1264
1292
  location: r.location,
1265
1293
  revalidation: r.revalidation,
@@ -1274,34 +1302,34 @@ function Hn(e, t = [], r = null, n = null) {
1274
1302
  function Qe(e) {
1275
1303
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1276
1304
  }
1277
- function jn(e) {
1305
+ function Qn(e) {
1278
1306
  let t = S.useContext(de);
1279
1307
  return D(t, Qe(e)), t;
1280
1308
  }
1281
- function Wn(e) {
1282
- let t = S.useContext(Le);
1309
+ function Zn(e) {
1310
+ let t = S.useContext(Oe);
1283
1311
  return D(t, Qe(e)), t;
1284
1312
  }
1285
- function Un(e) {
1286
- let t = S.useContext(Q);
1313
+ function ei(e) {
1314
+ let t = S.useContext(Z);
1287
1315
  return D(t, Qe(e)), t;
1288
1316
  }
1289
1317
  function Ze(e) {
1290
- let t = Un(e), r = t.matches[t.matches.length - 1];
1318
+ let t = ei(e), r = t.matches[t.matches.length - 1];
1291
1319
  return D(
1292
1320
  r.route.id,
1293
1321
  `${e} can only be used on routes that contain a unique "id"`
1294
1322
  ), r.route.id;
1295
1323
  }
1296
- function Yn() {
1324
+ function ti() {
1297
1325
  return Ze(
1298
1326
  "useRouteId"
1299
1327
  /* UseRouteId */
1300
1328
  );
1301
1329
  }
1302
- function qn() {
1330
+ function ri() {
1303
1331
  var n;
1304
- let e = S.useContext(Je), t = Wn(
1332
+ let e = S.useContext(Je), t = Zn(
1305
1333
  "useRouteError"
1306
1334
  /* UseRouteError */
1307
1335
  ), r = Ze(
@@ -1310,58 +1338,58 @@ function qn() {
1310
1338
  );
1311
1339
  return e !== void 0 ? e : (n = t.errors) == null ? void 0 : n[r];
1312
1340
  }
1313
- function Xn() {
1314
- let { router: e } = jn(
1341
+ function ni() {
1342
+ let { router: e } = Qn(
1315
1343
  "useNavigate"
1316
1344
  /* UseNavigateStable */
1317
1345
  ), t = Ze(
1318
1346
  "useNavigate"
1319
1347
  /* UseNavigateStable */
1320
1348
  ), r = S.useRef(!1);
1321
- return Ft(() => {
1349
+ return Vt(() => {
1322
1350
  r.current = !0;
1323
1351
  }), S.useCallback(
1324
1352
  async (i, s = {}) => {
1325
- K(r.current, $t), r.current && (typeof i == "number" ? e.navigate(i) : await e.navigate(i, { fromRouteId: t, ...s }));
1353
+ J(r.current, Gt), r.current && (typeof i == "number" ? e.navigate(i) : await e.navigate(i, { fromRouteId: t, ...s }));
1326
1354
  },
1327
1355
  [e, t]
1328
1356
  );
1329
1357
  }
1330
- var ct = {};
1331
- function Gt(e, t, r) {
1332
- !t && !ct[e] && (ct[e] = !0, K(!1, r));
1358
+ var ut = {};
1359
+ function Ht(e, t, r) {
1360
+ !t && !ut[e] && (ut[e] = !0, J(!1, r));
1333
1361
  }
1334
- S.memo(Kn);
1335
- function Kn({
1362
+ S.memo(ii);
1363
+ function ii({
1336
1364
  routes: e,
1337
1365
  future: t,
1338
1366
  state: r
1339
1367
  }) {
1340
- return Bn(e, void 0, r, t);
1368
+ return Un(e, void 0, r, t);
1341
1369
  }
1342
1370
  var be = "get", Te = "application/x-www-form-urlencoded";
1343
1371
  function Ae(e) {
1344
1372
  return e != null && typeof e.tagName == "string";
1345
1373
  }
1346
- function Jn(e) {
1374
+ function si(e) {
1347
1375
  return Ae(e) && e.tagName.toLowerCase() === "button";
1348
1376
  }
1349
- function Qn(e) {
1377
+ function ai(e) {
1350
1378
  return Ae(e) && e.tagName.toLowerCase() === "form";
1351
1379
  }
1352
- function Zn(e) {
1380
+ function oi(e) {
1353
1381
  return Ae(e) && e.tagName.toLowerCase() === "input";
1354
1382
  }
1355
- function ei(e) {
1383
+ function li(e) {
1356
1384
  return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
1357
1385
  }
1358
- function ti(e, t) {
1386
+ function di(e, t) {
1359
1387
  return e.button === 0 && // Ignore everything but left clicks
1360
1388
  (!t || t === "_self") && // Let browser handle "target=_blank" etc.
1361
- !ei(e);
1389
+ !li(e);
1362
1390
  }
1363
1391
  var ge = null;
1364
- function ri() {
1392
+ function ci() {
1365
1393
  if (ge === null)
1366
1394
  try {
1367
1395
  new FormData(
@@ -1374,30 +1402,30 @@ function ri() {
1374
1402
  }
1375
1403
  return ge;
1376
1404
  }
1377
- var ni = /* @__PURE__ */ new Set([
1405
+ var ui = /* @__PURE__ */ new Set([
1378
1406
  "application/x-www-form-urlencoded",
1379
1407
  "multipart/form-data",
1380
1408
  "text/plain"
1381
1409
  ]);
1382
- function ke(e) {
1383
- return e != null && !ni.has(e) ? (K(
1410
+ function ze(e) {
1411
+ return e != null && !ui.has(e) ? (J(
1384
1412
  !1,
1385
1413
  `"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Te}"`
1386
1414
  ), null) : e;
1387
1415
  }
1388
- function ii(e, t) {
1416
+ function fi(e, t) {
1389
1417
  let r, n, i, s, o;
1390
- if (Qn(e)) {
1418
+ if (ai(e)) {
1391
1419
  let a = e.getAttribute("action");
1392
- n = a ? ee(a, t) : null, r = e.getAttribute("method") || be, i = ke(e.getAttribute("enctype")) || Te, s = new FormData(e);
1393
- } else if (Jn(e) || Zn(e) && (e.type === "submit" || e.type === "image")) {
1420
+ n = a ? te(a, t) : null, r = e.getAttribute("method") || be, i = ze(e.getAttribute("enctype")) || Te, s = new FormData(e);
1421
+ } else if (si(e) || oi(e) && (e.type === "submit" || e.type === "image")) {
1394
1422
  let a = e.form;
1395
1423
  if (a == null)
1396
1424
  throw new Error(
1397
1425
  'Cannot submit a <button> or <input type="submit"> without a <form>'
1398
1426
  );
1399
1427
  let l = e.getAttribute("formaction") || a.getAttribute("action");
1400
- if (n = l ? ee(l, t) : null, r = e.getAttribute("formmethod") || a.getAttribute("method") || be, i = ke(e.getAttribute("formenctype")) || ke(a.getAttribute("enctype")) || Te, s = new FormData(a, e), !ri()) {
1428
+ 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()) {
1401
1429
  let { name: d, type: c, value: u } = e;
1402
1430
  if (c === "image") {
1403
1431
  let f = d ? `${d}.` : "";
@@ -1417,7 +1445,7 @@ function et(e, t) {
1417
1445
  if (e === !1 || e === null || typeof e > "u")
1418
1446
  throw new Error(t);
1419
1447
  }
1420
- async function si(e, t) {
1448
+ async function pi(e, t) {
1421
1449
  if (e.id in t)
1422
1450
  return t[e.id];
1423
1451
  try {
@@ -1434,27 +1462,27 @@ async function si(e, t) {
1434
1462
  });
1435
1463
  }
1436
1464
  }
1437
- function ai(e) {
1465
+ function hi(e) {
1438
1466
  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";
1439
1467
  }
1440
- async function oi(e, t, r) {
1468
+ async function mi(e, t, r) {
1441
1469
  let n = await Promise.all(
1442
1470
  e.map(async (i) => {
1443
1471
  let s = t.routes[i.route.id];
1444
1472
  if (s) {
1445
- let o = await si(s, r);
1473
+ let o = await pi(s, r);
1446
1474
  return o.links ? o.links() : [];
1447
1475
  }
1448
1476
  return [];
1449
1477
  })
1450
1478
  );
1451
- return ui(
1452
- n.flat(1).filter(ai).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
1479
+ return Si(
1480
+ n.flat(1).filter(hi).filter((i) => i.rel === "stylesheet" || i.rel === "preload").map(
1453
1481
  (i) => i.rel === "stylesheet" ? { ...i, rel: "prefetch", as: "style" } : { ...i, rel: "prefetch" }
1454
1482
  )
1455
1483
  );
1456
1484
  }
1457
- function ut(e, t, r, n, i, s) {
1485
+ function ft(e, t, r, n, i, s) {
1458
1486
  let o = (l, d) => r[d] ? l.route.id !== r[d].route.id : !0, a = (l, d) => {
1459
1487
  var c;
1460
1488
  return (
@@ -1490,8 +1518,8 @@ function ut(e, t, r, n, i, s) {
1490
1518
  return !0;
1491
1519
  }) : [];
1492
1520
  }
1493
- function li(e, t, { includeHydrateFallback: r } = {}) {
1494
- return di(
1521
+ function gi(e, t, { includeHydrateFallback: r } = {}) {
1522
+ return vi(
1495
1523
  e.map((n) => {
1496
1524
  let i = t.routes[n.route.id];
1497
1525
  if (!i) return [];
@@ -1500,40 +1528,40 @@ function li(e, t, { includeHydrateFallback: r } = {}) {
1500
1528
  }).flat(1)
1501
1529
  );
1502
1530
  }
1503
- function di(e) {
1531
+ function vi(e) {
1504
1532
  return [...new Set(e)];
1505
1533
  }
1506
- function ci(e) {
1534
+ function wi(e) {
1507
1535
  let t = {}, r = Object.keys(e).sort();
1508
1536
  for (let n of r)
1509
1537
  t[n] = e[n];
1510
1538
  return t;
1511
1539
  }
1512
- function ui(e, t) {
1540
+ function Si(e, t) {
1513
1541
  let r = /* @__PURE__ */ new Set();
1514
1542
  return new Set(t), e.reduce((n, i) => {
1515
- let s = JSON.stringify(ci(i));
1543
+ let s = JSON.stringify(wi(i));
1516
1544
  return r.has(s) || (r.add(s), n.push({ key: s, link: i })), n;
1517
1545
  }, []);
1518
1546
  }
1519
- function fi(e, t) {
1547
+ function bi(e, t) {
1520
1548
  let r = typeof e == "string" ? new URL(
1521
1549
  e,
1522
1550
  // This can be called during the SSR flow via PrefetchPageLinksImpl so
1523
1551
  // don't assume window is available
1524
1552
  typeof window > "u" ? "server://singlefetch/" : window.location.origin
1525
1553
  ) : e;
1526
- return r.pathname === "/" ? r.pathname = "_root.data" : t && ee(r.pathname, t) === "/" ? r.pathname = `${t.replace(/\/$/, "")}/_root.data` : r.pathname = `${r.pathname.replace(/\/$/, "")}.data`, r;
1554
+ 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;
1527
1555
  }
1528
- function Vt() {
1556
+ function jt() {
1529
1557
  let e = S.useContext(de);
1530
1558
  return et(
1531
1559
  e,
1532
1560
  "You must render this element inside a <DataRouterContext.Provider> element"
1533
1561
  ), e;
1534
1562
  }
1535
- function pi() {
1536
- let e = S.useContext(Le);
1563
+ function Ti() {
1564
+ let e = S.useContext(Oe);
1537
1565
  return et(
1538
1566
  e,
1539
1567
  "You must render this element inside a <DataRouterStateContext.Provider> element"
@@ -1541,14 +1569,14 @@ function pi() {
1541
1569
  }
1542
1570
  var tt = S.createContext(void 0);
1543
1571
  tt.displayName = "FrameworkContext";
1544
- function Ht() {
1572
+ function Wt() {
1545
1573
  let e = S.useContext(tt);
1546
1574
  return et(
1547
1575
  e,
1548
1576
  "You must render this element inside a <HydratedRouter> element"
1549
1577
  ), e;
1550
1578
  }
1551
- function hi(e, t) {
1579
+ function yi(e, t) {
1552
1580
  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);
1553
1581
  S.useEffect(() => {
1554
1582
  if (e === "render" && o(!0), e === "viewport") {
@@ -1593,21 +1621,21 @@ function fe(e, t) {
1593
1621
  e && e(r), r.defaultPrevented || t(r);
1594
1622
  };
1595
1623
  }
1596
- function mi({
1624
+ function xi({
1597
1625
  page: e,
1598
1626
  ...t
1599
1627
  }) {
1600
- let { router: r } = Vt(), n = S.useMemo(
1601
- () => At(r.routes, e, r.basename),
1628
+ let { router: r } = jt(), n = S.useMemo(
1629
+ () => Rt(r.routes, e, r.basename),
1602
1630
  [r.routes, e, r.basename]
1603
1631
  );
1604
- return n ? /* @__PURE__ */ S.createElement(vi, { page: e, matches: n, ...t }) : null;
1632
+ return n ? /* @__PURE__ */ S.createElement(Ci, { page: e, matches: n, ...t }) : null;
1605
1633
  }
1606
- function gi(e) {
1607
- let { manifest: t, routeModules: r } = Ht(), [n, i] = S.useState([]);
1634
+ function Ei(e) {
1635
+ let { manifest: t, routeModules: r } = Wt(), [n, i] = S.useState([]);
1608
1636
  return S.useEffect(() => {
1609
1637
  let s = !1;
1610
- return oi(e, t, r).then(
1638
+ return mi(e, t, r).then(
1611
1639
  (o) => {
1612
1640
  s || i(o);
1613
1641
  }
@@ -1616,13 +1644,13 @@ function gi(e) {
1616
1644
  };
1617
1645
  }, [e, t, r]), n;
1618
1646
  }
1619
- function vi({
1647
+ function Ci({
1620
1648
  page: e,
1621
1649
  matches: t,
1622
1650
  ...r
1623
1651
  }) {
1624
- let n = ne(), { manifest: i, routeModules: s } = Ht(), { basename: o } = Vt(), { loaderData: a, matches: l } = pi(), d = S.useMemo(
1625
- () => ut(
1652
+ let n = ne(), { manifest: i, routeModules: s } = Wt(), { basename: o } = jt(), { loaderData: a, matches: l } = Ti(), d = S.useMemo(
1653
+ () => ft(
1626
1654
  e,
1627
1655
  t,
1628
1656
  l,
@@ -1632,7 +1660,7 @@ function vi({
1632
1660
  ),
1633
1661
  [e, t, l, i, n]
1634
1662
  ), c = S.useMemo(
1635
- () => ut(
1663
+ () => ft(
1636
1664
  e,
1637
1665
  t,
1638
1666
  l,
@@ -1651,7 +1679,7 @@ function vi({
1651
1679
  !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));
1652
1680
  }), p.size === 0)
1653
1681
  return [];
1654
- let T = fi(e, o);
1682
+ let T = bi(e, o);
1655
1683
  return v && p.size > 0 && T.searchParams.set(
1656
1684
  "_routes",
1657
1685
  t.filter((h) => p.has(h.route.id)).map((h) => h.route.id).join(",")
@@ -1666,28 +1694,28 @@ function vi({
1666
1694
  e,
1667
1695
  s
1668
1696
  ]), f = S.useMemo(
1669
- () => li(c, i),
1697
+ () => gi(c, i),
1670
1698
  [c, i]
1671
- ), m = gi(c);
1699
+ ), m = Ei(c);
1672
1700
  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 }) => (
1673
1701
  // these don't spread `linkProps` because they are full link descriptors
1674
1702
  // already with their own props
1675
1703
  /* @__PURE__ */ S.createElement("link", { key: p, ...v })
1676
1704
  )));
1677
1705
  }
1678
- function wi(...e) {
1706
+ function Pi(...e) {
1679
1707
  return (t) => {
1680
1708
  e.forEach((r) => {
1681
1709
  typeof r == "function" ? r(t) : r != null && (r.current = t);
1682
1710
  });
1683
1711
  };
1684
1712
  }
1685
- var jt = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1713
+ var Ut = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
1686
1714
  try {
1687
- jt && (window.__reactRouterVersion = "7.5.0");
1715
+ Ut && (window.__reactRouterVersion = "7.5.0");
1688
1716
  } catch {
1689
1717
  }
1690
- var Wt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1718
+ var Yt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1691
1719
  function({
1692
1720
  onClick: t,
1693
1721
  discover: r = "render",
@@ -1702,21 +1730,21 @@ var Wt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1702
1730
  viewTransition: u,
1703
1731
  ...f
1704
1732
  }, m) {
1705
- let { basename: p } = S.useContext(J), v = typeof d == "string" && Wt.test(d), T, h = !1;
1706
- if (typeof d == "string" && v && (T = d, jt))
1733
+ let { basename: p } = S.useContext(Q), v = typeof d == "string" && Yt.test(d), T, h = !1;
1734
+ if (typeof d == "string" && v && (T = d, Ut))
1707
1735
  try {
1708
- let E = new URL(window.location.href), y = d.startsWith("//") ? new URL(E.protocol + d) : new URL(d), I = ee(y.pathname, p);
1736
+ let E = new URL(window.location.href), y = d.startsWith("//") ? new URL(E.protocol + d) : new URL(d), I = te(y.pathname, p);
1709
1737
  y.origin === E.origin && I != null ? d = I + y.search + y.hash : h = !0;
1710
1738
  } catch {
1711
- K(
1739
+ J(
1712
1740
  !1,
1713
1741
  `<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
1714
1742
  );
1715
1743
  }
1716
- let g = kn(d, { relative: i }), [w, C, x] = hi(
1744
+ let g = Hn(d, { relative: i }), [w, C, x] = yi(
1717
1745
  n,
1718
1746
  f
1719
- ), O = Ti(d, {
1747
+ ), M = Mi(d, {
1720
1748
  replace: o,
1721
1749
  state: a,
1722
1750
  target: l,
@@ -1725,7 +1753,7 @@ var Wt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1725
1753
  viewTransition: u
1726
1754
  });
1727
1755
  function _(E) {
1728
- t && t(E), E.defaultPrevented || O(E);
1756
+ t && t(E), E.defaultPrevented || M(E);
1729
1757
  }
1730
1758
  let P = (
1731
1759
  // eslint-disable-next-line jsx-a11y/anchor-has-content
@@ -1736,17 +1764,17 @@ var Wt = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, rt = S.forwardRef(
1736
1764
  ...x,
1737
1765
  href: T || g,
1738
1766
  onClick: h || s ? t : _,
1739
- ref: wi(m, C),
1767
+ ref: Pi(m, C),
1740
1768
  target: l,
1741
1769
  "data-discover": !v && r === "render" ? "true" : void 0
1742
1770
  }
1743
1771
  )
1744
1772
  );
1745
- return w && !v ? /* @__PURE__ */ S.createElement(S.Fragment, null, P, /* @__PURE__ */ S.createElement(mi, { page: g })) : P;
1773
+ return w && !v ? /* @__PURE__ */ S.createElement(S.Fragment, null, P, /* @__PURE__ */ S.createElement(xi, { page: g })) : P;
1746
1774
  }
1747
1775
  );
1748
1776
  rt.displayName = "Link";
1749
- var Ut = S.forwardRef(
1777
+ var qt = S.forwardRef(
1750
1778
  function({
1751
1779
  "aria-current": t = "page",
1752
1780
  caseSensitive: r = !1,
@@ -1758,20 +1786,20 @@ var Ut = S.forwardRef(
1758
1786
  children: l,
1759
1787
  ...d
1760
1788
  }, c) {
1761
- let u = me(o, { relative: d.relative }), f = ne(), m = S.useContext(Le), { navigator: p, basename: v } = S.useContext(J), T = m != null && // Conditional usage is OK here because the usage of a data router is static
1789
+ 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
1762
1790
  // eslint-disable-next-line react-hooks/rules-of-hooks
1763
- Pi(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;
1764
- r || (g = g.toLowerCase(), w = w ? w.toLowerCase() : null, h = h.toLowerCase()), w && v && (w = ee(w, v) || w);
1791
+ 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;
1792
+ r || (g = g.toLowerCase(), w = w ? w.toLowerCase() : null, h = h.toLowerCase()), w && v && (w = te(w, v) || w);
1765
1793
  const C = h !== "/" && h.endsWith("/") ? h.length - 1 : h.length;
1766
- let x = g === h || !i && g.startsWith(h) && g.charAt(C) === "/", O = w != null && (w === h || !i && w.startsWith(h) && w.charAt(h.length) === "/"), _ = {
1794
+ let x = g === h || !i && g.startsWith(h) && g.charAt(C) === "/", M = w != null && (w === h || !i && w.startsWith(h) && w.charAt(h.length) === "/"), _ = {
1767
1795
  isActive: x,
1768
- isPending: O,
1796
+ isPending: M,
1769
1797
  isTransitioning: T
1770
1798
  }, P = x ? t : void 0, E;
1771
1799
  typeof n == "function" ? E = n(_) : E = [
1772
1800
  n,
1773
1801
  x ? "active" : null,
1774
- O ? "pending" : null,
1802
+ M ? "pending" : null,
1775
1803
  T ? "transitioning" : null
1776
1804
  ].filter(Boolean).join(" ");
1777
1805
  let y = typeof s == "function" ? s(_) : s;
@@ -1790,8 +1818,8 @@ var Ut = S.forwardRef(
1790
1818
  );
1791
1819
  }
1792
1820
  );
1793
- Ut.displayName = "NavLink";
1794
- var Si = S.forwardRef(
1821
+ qt.displayName = "NavLink";
1822
+ var Ii = S.forwardRef(
1795
1823
  ({
1796
1824
  discover: e = "render",
1797
1825
  fetcherKey: t,
@@ -1807,7 +1835,7 @@ var Si = S.forwardRef(
1807
1835
  viewTransition: u,
1808
1836
  ...f
1809
1837
  }, m) => {
1810
- let p = Ei(), v = Ci(a, { relative: d }), T = o.toLowerCase() === "get" ? "get" : "post", h = typeof a == "string" && Wt.test(a), g = (w) => {
1838
+ let p = Ai(), v = Ni(a, { relative: d }), T = o.toLowerCase() === "get" ? "get" : "post", h = typeof a == "string" && Yt.test(a), g = (w) => {
1811
1839
  if (l && l(w), w.defaultPrevented) return;
1812
1840
  w.preventDefault();
1813
1841
  let C = w.nativeEvent.submitter, x = (C == null ? void 0 : C.getAttribute("formmethod")) || o;
@@ -1835,15 +1863,15 @@ var Si = S.forwardRef(
1835
1863
  );
1836
1864
  }
1837
1865
  );
1838
- Si.displayName = "Form";
1839
- function bi(e) {
1866
+ Ii.displayName = "Form";
1867
+ function _i(e) {
1840
1868
  return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
1841
1869
  }
1842
- function Yt(e) {
1870
+ function Xt(e) {
1843
1871
  let t = S.useContext(de);
1844
- return D(t, bi(e)), t;
1872
+ return D(t, _i(e)), t;
1845
1873
  }
1846
- function Ti(e, {
1874
+ function Mi(e, {
1847
1875
  target: t,
1848
1876
  replace: r,
1849
1877
  state: n,
@@ -1851,10 +1879,10 @@ function Ti(e, {
1851
1879
  relative: s,
1852
1880
  viewTransition: o
1853
1881
  } = {}) {
1854
- let a = zn(), l = ne(), d = me(e, { relative: s });
1882
+ let a = jn(), l = ne(), d = me(e, { relative: s });
1855
1883
  return S.useCallback(
1856
1884
  (c) => {
1857
- if (ti(c, t)) {
1885
+ if (di(c, t)) {
1858
1886
  c.preventDefault();
1859
1887
  let u = r !== void 0 ? r : je(l) === je(d);
1860
1888
  a(e, {
@@ -1880,20 +1908,20 @@ function Ti(e, {
1880
1908
  ]
1881
1909
  );
1882
1910
  }
1883
- var yi = 0, xi = () => `__${String(++yi)}__`;
1884
- function Ei() {
1885
- let { router: e } = Yt(
1911
+ var Oi = 0, Li = () => `__${String(++Oi)}__`;
1912
+ function Ai() {
1913
+ let { router: e } = Xt(
1886
1914
  "useSubmit"
1887
1915
  /* UseSubmit */
1888
- ), { basename: t } = S.useContext(J), r = Yn();
1916
+ ), { basename: t } = S.useContext(Q), r = ti();
1889
1917
  return S.useCallback(
1890
1918
  async (n, i = {}) => {
1891
- let { action: s, method: o, encType: a, formData: l, body: d } = ii(
1919
+ let { action: s, method: o, encType: a, formData: l, body: d } = fi(
1892
1920
  n,
1893
1921
  t
1894
1922
  );
1895
1923
  if (i.navigate === !1) {
1896
- let c = i.fetcherKey || xi();
1924
+ let c = i.fetcherKey || Li();
1897
1925
  await e.fetch(c, r, i.action || s, {
1898
1926
  preventScrollReset: i.preventScrollReset,
1899
1927
  formData: l,
@@ -1919,8 +1947,8 @@ function Ei() {
1919
1947
  [e, t, r]
1920
1948
  );
1921
1949
  }
1922
- function Ci(e, { relative: t } = {}) {
1923
- let { basename: r } = S.useContext(J), n = S.useContext(Q);
1950
+ function Ni(e, { relative: t } = {}) {
1951
+ let { basename: r } = S.useContext(Q), n = S.useContext(Z);
1924
1952
  D(n, "useFormAction must be used inside a RouteContext");
1925
1953
  let [i] = n.matches.slice(-1), s = { ...me(e || ".", { relative: t }) }, o = ne();
1926
1954
  if (e == null) {
@@ -1932,32 +1960,32 @@ function Ci(e, { relative: t } = {}) {
1932
1960
  s.search = c ? `?${c}` : "";
1933
1961
  }
1934
1962
  }
1935
- return (!e || e === ".") && i.route.index && (s.search = s.search ? s.search.replace(/^\?/, "?index&") : "?index"), r !== "/" && (s.pathname = s.pathname === "/" ? r : X([r, s.pathname])), je(s);
1963
+ 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);
1936
1964
  }
1937
- function Pi(e, t = {}) {
1938
- let r = S.useContext(Bt);
1965
+ function Ri(e, t = {}) {
1966
+ let r = S.useContext($t);
1939
1967
  D(
1940
1968
  r != null,
1941
1969
  "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"
1942
1970
  );
1943
- let { basename: n } = Yt(
1971
+ let { basename: n } = Xt(
1944
1972
  "useViewTransitionState"
1945
1973
  /* useViewTransitionState */
1946
1974
  ), i = me(e, { relative: t.relative });
1947
1975
  if (!r.isTransitioning)
1948
1976
  return !1;
1949
- let s = ee(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = ee(r.nextLocation.pathname, n) || r.nextLocation.pathname;
1977
+ let s = te(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = te(r.nextLocation.pathname, n) || r.nextLocation.pathname;
1950
1978
  return Pe(i.pathname, o) != null || Pe(i.pathname, s) != null;
1951
1979
  }
1952
1980
  new TextEncoder();
1953
- const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, children: i, withIcon: s = !1 }) => {
1954
- const o = k(t, "link", `link--${e}`, {
1981
+ const pt = "routerLinkTestId", zi = ({ color: e, block: t, href: r, to: n, children: i, withIcon: s = !1 }) => {
1982
+ const o = z(t, "link", `link--${e}`, {
1955
1983
  "link--icon": s
1956
1984
  });
1957
1985
  return n ? /* @__PURE__ */ b(
1958
1986
  rt,
1959
1987
  {
1960
- "data-testid": ft,
1988
+ "data-testid": pt,
1961
1989
  to: n,
1962
1990
  className: o,
1963
1991
  children: i
@@ -1966,78 +1994,78 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
1966
1994
  "a",
1967
1995
  {
1968
1996
  href: r,
1969
- "data-testid": ft,
1997
+ "data-testid": pt,
1970
1998
  className: o,
1971
1999
  target: "_blank",
1972
2000
  rel: "noopener noreferrer",
1973
2001
  children: i
1974
2002
  }
1975
2003
  ) : null;
1976
- }, _i = "leftIconLinkTestId", Oi = "rightIconLinkTestId", ro = ({ RightIcon: e, LeftIcon: t, children: r, ...n }) => /* @__PURE__ */ F(
1977
- Ii,
2004
+ }, ki = "leftIconLinkTestId", Di = "rightIconLinkTestId", uo = ({ RightIcon: e, LeftIcon: t, children: r, ...n }) => /* @__PURE__ */ $(
2005
+ zi,
1978
2006
  {
1979
2007
  withIcon: !0,
1980
2008
  ...n,
1981
2009
  children: [
1982
- !!t && /* @__PURE__ */ b(t, { "data-testid": _i }),
2010
+ !!t && /* @__PURE__ */ b(t, { "data-testid": ki }),
1983
2011
  r,
1984
- !!e && /* @__PURE__ */ b(e, { "data-testid": Oi })
2012
+ !!e && /* @__PURE__ */ b(e, { "data-testid": Di })
1985
2013
  ]
1986
2014
  }
1987
- ), no = ({ block: e, to: t, children: r }) => {
1988
- const n = (i) => k(e, "nav-link", {
2015
+ ), fo = ({ block: e, to: t, children: r }) => {
2016
+ const n = (i) => z(e, "nav-link", {
1989
2017
  _active: i
1990
2018
  });
1991
2019
  return /* @__PURE__ */ b(
1992
- Ut,
2020
+ qt,
1993
2021
  {
1994
2022
  className: ({ isActive: i }) => n(i),
1995
2023
  to: t,
1996
2024
  children: r
1997
2025
  }
1998
2026
  );
1999
- }, Li = Object.freeze({
2027
+ }, Bi = Object.freeze({
2000
2028
  LEFT: "left",
2001
2029
  RIGHT: "right"
2002
- }), Mi = "paginationTestId", Ai = "paginationArrowLeftTestId", Ni = "paginationArrowRightTestId", Ri = ({ block: e, ...t }) => /* @__PURE__ */ b(
2030
+ }), Fi = "paginationTestId", $i = "paginationArrowLeftTestId", Gi = "paginationArrowRightTestId", Vi = ({ block: e, ...t }) => /* @__PURE__ */ b(
2003
2031
  "div",
2004
2032
  {
2005
- "data-testid": Mi,
2006
- className: k(e, "pagination"),
2033
+ "data-testid": Fi,
2034
+ className: z(e, "pagination"),
2007
2035
  children: /* @__PURE__ */ b(ye.Body, { ...t })
2008
2036
  }
2009
- ), ki = ({ onClick: e, isSelected: t, page: r, disabled: n = !1 }) => /* @__PURE__ */ b(
2037
+ ), Hi = ({ onClick: e, isSelected: t, page: r, disabled: n = !1 }) => /* @__PURE__ */ b(
2010
2038
  "button",
2011
2039
  {
2012
2040
  disabled: n,
2013
2041
  onClick: e,
2014
- className: k("", "pagination__button", {
2042
+ className: z("", "pagination__button", {
2015
2043
  "_current-page": t
2016
2044
  }),
2017
2045
  children: r
2018
2046
  }
2019
- ), zi = ({ onClick: e, direction: t, disabled: r = !1 }) => /* @__PURE__ */ b(
2047
+ ), ji = ({ onClick: e, direction: t, disabled: r = !1 }) => /* @__PURE__ */ b(
2020
2048
  "button",
2021
2049
  {
2022
2050
  type: "button",
2023
2051
  onClick: e,
2024
2052
  disabled: r,
2025
2053
  className: "pagination__button",
2026
- children: t === Li.LEFT ? /* @__PURE__ */ b(
2027
- U.ArrowNarrowLeft,
2054
+ children: t === Bi.LEFT ? /* @__PURE__ */ b(
2055
+ Y.ArrowNarrowLeft,
2028
2056
  {
2029
- "data-testid": Ai,
2057
+ "data-testid": $i,
2030
2058
  className: "pagination__arrow"
2031
2059
  }
2032
2060
  ) : /* @__PURE__ */ b(
2033
- U.ArrowNarrowRight,
2061
+ Y.ArrowNarrowRight,
2034
2062
  {
2035
- "data-testid": Ni,
2063
+ "data-testid": Gi,
2036
2064
  className: "pagination__arrow"
2037
2065
  }
2038
2066
  )
2039
2067
  }
2040
- ), Di = ({
2068
+ ), Wi = ({
2041
2069
  pages: e,
2042
2070
  currentPage: t,
2043
2071
  onPageClick: r,
@@ -2060,7 +2088,7 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2060
2088
  d
2061
2089
  );
2062
2090
  });
2063
- return /* @__PURE__ */ F("div", { className: "pagination__body", children: [
2091
+ return /* @__PURE__ */ $("div", { className: "pagination__body", children: [
2064
2092
  /* @__PURE__ */ b(
2065
2093
  ye.Arrow,
2066
2094
  {
@@ -2079,23 +2107,23 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2079
2107
  }
2080
2108
  )
2081
2109
  ] });
2082
- }, ye = Object.assign(Ri, {
2083
- Page: ki,
2084
- Arrow: zi,
2085
- Body: Di
2086
- }), io = ({ block: e, ...t }) => /* @__PURE__ */ b(
2087
- mr,
2110
+ }, ye = Object.assign(Vi, {
2111
+ Page: Hi,
2112
+ Arrow: ji,
2113
+ Body: Wi
2114
+ }), po = ({ block: e, ...t }) => /* @__PURE__ */ b(
2115
+ vr,
2088
2116
  {
2089
- className: k(e, "range-slider"),
2117
+ className: z(e, "range-slider"),
2090
2118
  ...t,
2091
2119
  range: !0
2092
2120
  }
2093
- ), Bi = (e, t, r) => {
2121
+ ), Ui = (e, t, r) => {
2094
2122
  if (!r || !t.trim())
2095
2123
  return e;
2096
2124
  const n = e.filter((i) => i.toLowerCase().includes(t.toLowerCase()));
2097
2125
  return n.length > 0 ? n : null;
2098
- }, $i = ({
2126
+ }, Yi = ({
2099
2127
  options: e,
2100
2128
  onClick: t,
2101
2129
  handleSelect: r,
@@ -2110,10 +2138,10 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2110
2138
  hasSearch: u = !1,
2111
2139
  ...f
2112
2140
  }) => {
2113
- const m = yt(() => Bi(e, s, u), [e, s, u]), p = (v) => {
2141
+ const m = Et(() => Ui(e, s, u), [e, s, u]), p = (v) => {
2114
2142
  o(v), r(u);
2115
2143
  };
2116
- return /* @__PURE__ */ F(
2144
+ return /* @__PURE__ */ $(
2117
2145
  se.Wrapper,
2118
2146
  {
2119
2147
  onClickOutside: r,
@@ -2121,7 +2149,7 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2121
2149
  block: a,
2122
2150
  disabled: c,
2123
2151
  children: [
2124
- /* @__PURE__ */ F(
2152
+ /* @__PURE__ */ $(
2125
2153
  se.Block,
2126
2154
  {
2127
2155
  onClick: t,
@@ -2154,7 +2182,7 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2154
2182
  ]
2155
2183
  }
2156
2184
  );
2157
- }, Fi = ({ options: e, onClick: t, value: r }) => e ? /* @__PURE__ */ b("ul", { className: "select__options", children: e.map((n) => {
2185
+ }, qi = ({ options: e, onClick: t, value: r }) => e ? /* @__PURE__ */ b("ul", { className: "select__options", children: e.map((n) => {
2158
2186
  const i = n === r, s = () => {
2159
2187
  t(n);
2160
2188
  };
@@ -2167,63 +2195,63 @@ const ft = "routerLinkTestId", Ii = ({ color: e, block: t, href: r, to: n, child
2167
2195
  },
2168
2196
  n
2169
2197
  );
2170
- }) }) : /* @__PURE__ */ b("ul", { className: "select__options", children: /* @__PURE__ */ b("li", { className: "select__option select__option_empty", children: "Nothing found" }) }), Gi = ({ isSelected: e, option: t, onOptionClick: r }) => /* @__PURE__ */ b(
2198
+ }) }) : /* @__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(
2171
2199
  "li",
2172
2200
  {
2173
- className: k("", "select__option", {
2201
+ className: z("", "select__option", {
2174
2202
  _selected: e
2175
2203
  }),
2176
2204
  onClick: r,
2177
2205
  children: t
2178
2206
  }
2179
- ), Vi = ({ onChange: e, hasSearch: t, ...r }) => /* @__PURE__ */ b(
2180
- cn,
2207
+ ), Ki = ({ onChange: e, hasSearch: t, ...r }) => /* @__PURE__ */ b(
2208
+ wn,
2181
2209
  {
2182
2210
  isReadOnly: !t,
2183
2211
  isTransparent: !0,
2184
2212
  onChange: e,
2185
2213
  ...r
2186
2214
  }
2187
- ), Hi = () => /* @__PURE__ */ b(U.ArrowNarrowDown, { className: "select__arrow" }), ji = ({ children: e, onClick: t }) => /* @__PURE__ */ b(
2215
+ ), Ji = () => /* @__PURE__ */ b(Y.ArrowNarrowDown, { className: "select__arrow" }), Qi = ({ children: e, onClick: t }) => /* @__PURE__ */ b(
2188
2216
  "div",
2189
2217
  {
2190
2218
  onClick: t,
2191
2219
  className: "select__block",
2192
2220
  children: e
2193
2221
  }
2194
- ), Wi = "selectTestId", Ui = It(ji, "select"), Yi = ({ children: e, isOpen: t, onClickOutside: r, block: n, disabled: i = !1 }) => {
2195
- const s = Ot(r);
2222
+ ), Zi = "selectTestId", es = Mt(Qi, "select"), ts = ({ children: e, isOpen: t, onClickOutside: r, block: n, disabled: i = !1 }) => {
2223
+ const s = Lt(r);
2196
2224
  return /* @__PURE__ */ b(
2197
2225
  "div",
2198
2226
  {
2199
2227
  ref: s,
2200
- "data-testid": Wi,
2201
- className: k(n, "select", {
2228
+ "data-testid": Zi,
2229
+ className: z(n, "select", {
2202
2230
  _open: t,
2203
2231
  disabled: i
2204
2232
  }),
2205
2233
  children: e
2206
2234
  }
2207
2235
  );
2208
- }, se = Object.assign($i, {
2209
- List: Fi,
2210
- Option: Gi,
2211
- Input: Vi,
2212
- Arrow: Hi,
2213
- Wrapper: Yi,
2214
- Block: Ui
2236
+ }, se = Object.assign(Yi, {
2237
+ List: qi,
2238
+ Option: Xi,
2239
+ Input: Ki,
2240
+ Arrow: Ji,
2241
+ Wrapper: ts,
2242
+ Block: es
2215
2243
  });
2216
- function pt(e) {
2244
+ function ht(e) {
2217
2245
  return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
2218
2246
  }
2219
2247
  function nt(e, t) {
2220
2248
  e === void 0 && (e = {}), t === void 0 && (t = {});
2221
2249
  const r = ["__proto__", "constructor", "prototype"];
2222
2250
  Object.keys(t).filter((n) => r.indexOf(n) < 0).forEach((n) => {
2223
- typeof e[n] > "u" ? e[n] = t[n] : pt(t[n]) && pt(e[n]) && Object.keys(t[n]).length > 0 && nt(e[n], t[n]);
2251
+ typeof e[n] > "u" ? e[n] = t[n] : ht(t[n]) && ht(e[n]) && Object.keys(t[n]).length > 0 && nt(e[n], t[n]);
2224
2252
  });
2225
2253
  }
2226
- const qt = {
2254
+ const Kt = {
2227
2255
  body: {},
2228
2256
  addEventListener() {
2229
2257
  },
@@ -2280,10 +2308,10 @@ const qt = {
2280
2308
  };
2281
2309
  function ie() {
2282
2310
  const e = typeof document < "u" ? document : {};
2283
- return nt(e, qt), e;
2311
+ return nt(e, Kt), e;
2284
2312
  }
2285
- const qi = {
2286
- document: qt,
2313
+ const rs = {
2314
+ document: Kt,
2287
2315
  navigator: {
2288
2316
  userAgent: ""
2289
2317
  },
@@ -2340,14 +2368,14 @@ const qi = {
2340
2368
  typeof setTimeout > "u" || clearTimeout(e);
2341
2369
  }
2342
2370
  };
2343
- function $() {
2371
+ function F() {
2344
2372
  const e = typeof window < "u" ? window : {};
2345
- return nt(e, qi), e;
2373
+ return nt(e, rs), e;
2346
2374
  }
2347
- function Xi(e) {
2375
+ function ns(e) {
2348
2376
  return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
2349
2377
  }
2350
- function Ki(e) {
2378
+ function is(e) {
2351
2379
  const t = e;
2352
2380
  Object.keys(t).forEach((r) => {
2353
2381
  try {
@@ -2366,29 +2394,29 @@ function We(e, t) {
2366
2394
  function Ie() {
2367
2395
  return Date.now();
2368
2396
  }
2369
- function Ji(e) {
2370
- const t = $();
2397
+ function ss(e) {
2398
+ const t = F();
2371
2399
  let r;
2372
2400
  return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
2373
2401
  }
2374
- function Qi(e, t) {
2402
+ function as(e, t) {
2375
2403
  t === void 0 && (t = "x");
2376
- const r = $();
2404
+ const r = F();
2377
2405
  let n, i, s;
2378
- const o = Ji(e);
2406
+ const o = ss(e);
2379
2407
  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;
2380
2408
  }
2381
2409
  function ve(e) {
2382
2410
  return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
2383
2411
  }
2384
- function Zi(e) {
2412
+ function os(e) {
2385
2413
  return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
2386
2414
  }
2387
2415
  function G() {
2388
2416
  const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
2389
2417
  for (let r = 1; r < arguments.length; r += 1) {
2390
2418
  const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
2391
- if (n != null && !Zi(n)) {
2419
+ if (n != null && !os(n)) {
2392
2420
  const i = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
2393
2421
  for (let s = 0, o = i.length; s < o; s += 1) {
2394
2422
  const a = i[s], l = Object.getOwnPropertyDescriptor(n, a);
@@ -2401,13 +2429,13 @@ function G() {
2401
2429
  function we(e, t, r) {
2402
2430
  e.style.setProperty(t, r);
2403
2431
  }
2404
- function Xt(e) {
2432
+ function Jt(e) {
2405
2433
  let {
2406
2434
  swiper: t,
2407
2435
  targetPosition: r,
2408
2436
  side: n
2409
2437
  } = e;
2410
- const i = $(), s = -t.translate;
2438
+ const i = F(), s = -t.translate;
2411
2439
  let o = null, a;
2412
2440
  const l = t.params.speed;
2413
2441
  t.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(t.cssModeFrameID);
@@ -2429,12 +2457,12 @@ function Xt(e) {
2429
2457
  };
2430
2458
  u();
2431
2459
  }
2432
- function q(e, t) {
2460
+ function X(e, t) {
2433
2461
  t === void 0 && (t = "");
2434
- const r = $(), n = [...e.children];
2462
+ const r = F(), n = [...e.children];
2435
2463
  return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((i) => i.matches(t)) : n;
2436
2464
  }
2437
- function es(e, t) {
2465
+ function ls(e, t) {
2438
2466
  const r = [t];
2439
2467
  for (; r.length > 0; ) {
2440
2468
  const n = r.shift();
@@ -2443,10 +2471,10 @@ function es(e, t) {
2443
2471
  r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
2444
2472
  }
2445
2473
  }
2446
- function ts(e, t) {
2447
- const r = $();
2474
+ function ds(e, t) {
2475
+ const r = F();
2448
2476
  let n = t.contains(e);
2449
- return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = es(e, t))), n;
2477
+ return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = ls(e, t))), n;
2450
2478
  }
2451
2479
  function _e(e) {
2452
2480
  try {
@@ -2458,9 +2486,9 @@ function _e(e) {
2458
2486
  function Ue(e, t) {
2459
2487
  t === void 0 && (t = []);
2460
2488
  const r = document.createElement(e);
2461
- return r.classList.add(...Array.isArray(t) ? t : Xi(t)), r;
2489
+ return r.classList.add(...Array.isArray(t) ? t : ns(t)), r;
2462
2490
  }
2463
- function rs(e, t) {
2491
+ function cs(e, t) {
2464
2492
  const r = [];
2465
2493
  for (; e.previousElementSibling; ) {
2466
2494
  const n = e.previousElementSibling;
@@ -2468,7 +2496,7 @@ function rs(e, t) {
2468
2496
  }
2469
2497
  return r;
2470
2498
  }
2471
- function ns(e, t) {
2499
+ function us(e, t) {
2472
2500
  const r = [];
2473
2501
  for (; e.nextElementSibling; ) {
2474
2502
  const n = e.nextElementSibling;
@@ -2476,10 +2504,10 @@ function ns(e, t) {
2476
2504
  }
2477
2505
  return r;
2478
2506
  }
2479
- function Z(e, t) {
2480
- return $().getComputedStyle(e, null).getPropertyValue(t);
2507
+ function ee(e, t) {
2508
+ return F().getComputedStyle(e, null).getPropertyValue(t);
2481
2509
  }
2482
- function ht(e) {
2510
+ function mt(e) {
2483
2511
  let t = e, r;
2484
2512
  if (t) {
2485
2513
  for (r = 0; (t = t.previousSibling) !== null; )
@@ -2487,39 +2515,39 @@ function ht(e) {
2487
2515
  return r;
2488
2516
  }
2489
2517
  }
2490
- function is(e, t) {
2518
+ function fs(e, t) {
2491
2519
  const r = [];
2492
2520
  let n = e.parentElement;
2493
2521
  for (; n; )
2494
2522
  r.push(n), n = n.parentElement;
2495
2523
  return r;
2496
2524
  }
2497
- function mt(e, t, r) {
2498
- const n = $();
2525
+ function gt(e, t, r) {
2526
+ const n = F();
2499
2527
  return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
2500
2528
  }
2501
- function gt(e, t) {
2529
+ function vt(e, t) {
2502
2530
  t === void 0 && (t = ""), typeof trustedTypes < "u" ? e.innerHTML = trustedTypes.createPolicy("html", {
2503
2531
  createHTML: (r) => r
2504
2532
  }).createHTML(t) : e.innerHTML = t;
2505
2533
  }
2506
- let ze;
2507
- function ss() {
2508
- const e = $(), t = ie();
2534
+ let ke;
2535
+ function ps() {
2536
+ const e = F(), t = ie();
2509
2537
  return {
2510
2538
  smoothScroll: t.documentElement && t.documentElement.style && "scrollBehavior" in t.documentElement.style,
2511
2539
  touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch)
2512
2540
  };
2513
2541
  }
2514
- function Kt() {
2515
- return ze || (ze = ss()), ze;
2542
+ function Qt() {
2543
+ return ke || (ke = ps()), ke;
2516
2544
  }
2517
2545
  let De;
2518
- function as(e) {
2546
+ function hs(e) {
2519
2547
  let {
2520
2548
  userAgent: t
2521
2549
  } = e === void 0 ? {} : e;
2522
- const r = Kt(), n = $(), i = n.navigator.platform, s = t || n.navigator.userAgent, o = {
2550
+ const r = Qt(), n = F(), i = n.navigator.platform, s = t || n.navigator.userAgent, o = {
2523
2551
  ios: !1,
2524
2552
  android: !1
2525
2553
  }, a = n.screen.width, l = n.screen.height, d = s.match(/(Android);?[\s\/]+([\d.]+)?/);
@@ -2529,12 +2557,12 @@ function as(e) {
2529
2557
  const v = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
2530
2558
  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;
2531
2559
  }
2532
- function Jt(e) {
2533
- return e === void 0 && (e = {}), De || (De = as(e)), De;
2560
+ function Zt(e) {
2561
+ return e === void 0 && (e = {}), De || (De = hs(e)), De;
2534
2562
  }
2535
2563
  let Be;
2536
- function os() {
2537
- const e = $(), t = Jt();
2564
+ function ms() {
2565
+ const e = F(), t = Zt();
2538
2566
  let r = !1;
2539
2567
  function n() {
2540
2568
  const a = e.navigator.userAgent.toLowerCase();
@@ -2555,16 +2583,16 @@ function os() {
2555
2583
  isWebView: i
2556
2584
  };
2557
2585
  }
2558
- function Qt() {
2559
- return Be || (Be = os()), Be;
2586
+ function er() {
2587
+ return Be || (Be = ms()), Be;
2560
2588
  }
2561
- function ls(e) {
2589
+ function gs(e) {
2562
2590
  let {
2563
2591
  swiper: t,
2564
2592
  on: r,
2565
2593
  emit: n
2566
2594
  } = e;
2567
- const i = $();
2595
+ const i = F();
2568
2596
  let s = null, o = null;
2569
2597
  const a = () => {
2570
2598
  !t || t.destroyed || !t.initialized || (n("beforeResize"), n("resize"));
@@ -2601,14 +2629,14 @@ function ls(e) {
2601
2629
  d(), i.removeEventListener("resize", a), i.removeEventListener("orientationchange", c);
2602
2630
  });
2603
2631
  }
2604
- function ds(e) {
2632
+ function vs(e) {
2605
2633
  let {
2606
2634
  swiper: t,
2607
2635
  extendParams: r,
2608
2636
  on: n,
2609
2637
  emit: i
2610
2638
  } = e;
2611
- const s = [], o = $(), a = function(c, u) {
2639
+ const s = [], o = F(), a = function(c, u) {
2612
2640
  u === void 0 && (u = {});
2613
2641
  const f = o.MutationObserver || o.WebkitMutationObserver, m = new f((p) => {
2614
2642
  if (t.__preventObserver__) return;
@@ -2629,7 +2657,7 @@ function ds(e) {
2629
2657
  }, l = () => {
2630
2658
  if (t.params.observer) {
2631
2659
  if (t.params.observeParents) {
2632
- const c = is(t.hostEl);
2660
+ const c = fs(t.hostEl);
2633
2661
  for (let u = 0; u < c.length; u += 1)
2634
2662
  a(c[u]);
2635
2663
  }
@@ -2650,7 +2678,7 @@ function ds(e) {
2650
2678
  observeSlideChildren: !1
2651
2679
  }), n("init", l), n("destroy", d);
2652
2680
  }
2653
- var cs = {
2681
+ var ws = {
2654
2682
  on(e, t, r) {
2655
2683
  const n = this;
2656
2684
  if (!n.eventsListeners || n.destroyed || typeof t != "function") return n;
@@ -2705,17 +2733,17 @@ var cs = {
2705
2733
  }), e;
2706
2734
  }
2707
2735
  };
2708
- function us() {
2736
+ function Ss() {
2709
2737
  const e = this;
2710
2738
  let t, r;
2711
2739
  const n = e.el;
2712
- typeof e.params.width < "u" && e.params.width !== null ? t = e.params.width : t = n.clientWidth, typeof e.params.height < "u" && e.params.height !== null ? r = e.params.height : r = n.clientHeight, !(t === 0 && e.isHorizontal() || r === 0 && e.isVertical()) && (t = t - parseInt(Z(n, "padding-left") || 0, 10) - parseInt(Z(n, "padding-right") || 0, 10), r = r - parseInt(Z(n, "padding-top") || 0, 10) - parseInt(Z(n, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(r) && (r = 0), Object.assign(e, {
2740
+ typeof e.params.width < "u" && e.params.width !== null ? t = e.params.width : t = n.clientWidth, typeof e.params.height < "u" && e.params.height !== null ? r = e.params.height : r = n.clientHeight, !(t === 0 && e.isHorizontal() || r === 0 && e.isVertical()) && (t = t - parseInt(ee(n, "padding-left") || 0, 10) - parseInt(ee(n, "padding-right") || 0, 10), r = r - parseInt(ee(n, "padding-top") || 0, 10) - parseInt(ee(n, "padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(r) && (r = 0), Object.assign(e, {
2713
2741
  width: t,
2714
2742
  height: r,
2715
2743
  size: e.isHorizontal() ? t : r
2716
2744
  }));
2717
2745
  }
2718
- function fs() {
2746
+ function bs() {
2719
2747
  const e = this;
2720
2748
  function t(y, I) {
2721
2749
  return parseFloat(y.getPropertyValue(e.getDirectionLabel(I)) || 0);
@@ -2726,7 +2754,7 @@ function fs() {
2726
2754
  size: s,
2727
2755
  rtlTranslate: o,
2728
2756
  wrongRTL: a
2729
- } = e, l = e.virtual && r.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c = q(i, `.${e.params.slideClass}, swiper-slide`), u = l ? e.virtual.slides.length : c.length;
2757
+ } = e, l = e.virtual && r.virtual.enabled, d = l ? e.virtual.slides.length : e.slides.length, c = X(i, `.${e.params.slideClass}, swiper-slide`), u = l ? e.virtual.slides.length : c.length;
2730
2758
  let f = [];
2731
2759
  const m = [], p = [];
2732
2760
  let v = r.slidesOffsetBefore;
@@ -2734,7 +2762,7 @@ function fs() {
2734
2762
  let T = r.slidesOffsetAfter;
2735
2763
  typeof T == "function" && (T = r.slidesOffsetAfter.call(e));
2736
2764
  const h = e.snapGrid.length, g = e.slidesGrid.length;
2737
- let w = r.spaceBetween, C = -v, x = 0, O = 0;
2765
+ let w = r.spaceBetween, C = -v, x = 0, M = 0;
2738
2766
  if (typeof s > "u")
2739
2767
  return;
2740
2768
  typeof w == "string" && w.indexOf("%") >= 0 ? w = parseFloat(w.replace("%", "")) / 100 * s : typeof w == "string" && (w = parseFloat(w)), e.virtualSize = -w, c.forEach((y) => {
@@ -2747,74 +2775,74 @@ function fs() {
2747
2775
  for (let y = 0; y < u; y += 1) {
2748
2776
  P = 0;
2749
2777
  let I;
2750
- if (c[y] && (I = c[y]), _ && e.grid.updateSlide(y, I, c), !(c[y] && Z(I, "display") === "none")) {
2778
+ if (c[y] && (I = c[y]), _ && e.grid.updateSlide(y, I, c), !(c[y] && ee(I, "display") === "none")) {
2751
2779
  if (r.slidesPerView === "auto") {
2752
2780
  E && (c[y].style[e.getDirectionLabel("width")] = "");
2753
- const L = getComputedStyle(I), R = I.style.transform, H = I.style.webkitTransform;
2754
- if (R && (I.style.transform = "none"), H && (I.style.webkitTransform = "none"), r.roundLengths)
2755
- P = e.isHorizontal() ? mt(I, "width") : mt(I, "height");
2781
+ const O = getComputedStyle(I), R = I.style.transform, j = I.style.webkitTransform;
2782
+ if (R && (I.style.transform = "none"), j && (I.style.webkitTransform = "none"), r.roundLengths)
2783
+ P = e.isHorizontal() ? gt(I, "width") : gt(I, "height");
2756
2784
  else {
2757
- const j = t(L, "width"), M = t(L, "padding-left"), z = t(L, "padding-right"), B = t(L, "margin-left"), N = t(L, "margin-right"), W = L.getPropertyValue("box-sizing");
2758
- if (W && W === "border-box")
2759
- P = j + B + N;
2785
+ 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");
2786
+ if (U && U === "border-box")
2787
+ P = W + B + N;
2760
2788
  else {
2761
2789
  const {
2762
- clientWidth: cr,
2763
- offsetWidth: ur
2790
+ clientWidth: fr,
2791
+ offsetWidth: pr
2764
2792
  } = I;
2765
- P = j + M + z + B + N + (ur - cr);
2793
+ P = W + L + k + B + N + (pr - fr);
2766
2794
  }
2767
2795
  }
2768
- R && (I.style.transform = R), H && (I.style.webkitTransform = H), r.roundLengths && (P = Math.floor(P));
2796
+ R && (I.style.transform = R), j && (I.style.webkitTransform = j), r.roundLengths && (P = Math.floor(P));
2769
2797
  } else
2770
2798
  P = (s - (r.slidesPerView - 1) * w) / r.slidesPerView, r.roundLengths && (P = Math.floor(P)), c[y] && (c[y].style[e.getDirectionLabel("width")] = `${P}px`);
2771
- 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)), O % r.slidesPerGroup === 0 && f.push(C), m.push(C)) : (r.roundLengths && (C = Math.floor(C)), (O - Math.min(e.params.slidesPerGroupSkip, O)) % e.params.slidesPerGroup === 0 && f.push(C), m.push(C), C = C + P + w), e.virtualSize += P + w, x = P, O += 1;
2799
+ 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;
2772
2800
  }
2773
2801
  }
2774
2802
  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) {
2775
2803
  const y = [];
2776
2804
  for (let I = 0; I < f.length; I += 1) {
2777
- let L = f[I];
2778
- r.roundLengths && (L = Math.floor(L)), f[I] <= e.virtualSize - s && y.push(L);
2805
+ let O = f[I];
2806
+ r.roundLengths && (O = Math.floor(O)), f[I] <= e.virtualSize - s && y.push(O);
2779
2807
  }
2780
2808
  f = y, Math.floor(e.virtualSize - s) - Math.floor(f[f.length - 1]) > 1 && f.push(e.virtualSize - s);
2781
2809
  }
2782
2810
  if (l && r.loop) {
2783
2811
  const y = p[0] + w;
2784
2812
  if (r.slidesPerGroup > 1) {
2785
- const I = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), L = y * r.slidesPerGroup;
2813
+ const I = Math.ceil((e.virtual.slidesBefore + e.virtual.slidesAfter) / r.slidesPerGroup), O = y * r.slidesPerGroup;
2786
2814
  for (let R = 0; R < I; R += 1)
2787
- f.push(f[f.length - 1] + L);
2815
+ f.push(f[f.length - 1] + O);
2788
2816
  }
2789
2817
  for (let I = 0; I < e.virtual.slidesBefore + e.virtual.slidesAfter; I += 1)
2790
2818
  r.slidesPerGroup === 1 && f.push(f[f.length - 1] + y), m.push(m[m.length - 1] + y), e.virtualSize += y;
2791
2819
  }
2792
2820
  if (f.length === 0 && (f = [0]), w !== 0) {
2793
2821
  const y = e.isHorizontal() && o ? "marginLeft" : e.getDirectionLabel("marginRight");
2794
- c.filter((I, L) => !r.cssMode || r.loop ? !0 : L !== c.length - 1).forEach((I) => {
2822
+ c.filter((I, O) => !r.cssMode || r.loop ? !0 : O !== c.length - 1).forEach((I) => {
2795
2823
  I.style[y] = `${w}px`;
2796
2824
  });
2797
2825
  }
2798
2826
  if (r.centeredSlides && r.centeredSlidesBounds) {
2799
2827
  let y = 0;
2800
- p.forEach((L) => {
2801
- y += L + (w || 0);
2828
+ p.forEach((O) => {
2829
+ y += O + (w || 0);
2802
2830
  }), y -= w;
2803
2831
  const I = y > s ? y - s : 0;
2804
- f = f.map((L) => L <= 0 ? -v : L > I ? I + T : L);
2832
+ f = f.map((O) => O <= 0 ? -v : O > I ? I + T : O);
2805
2833
  }
2806
2834
  if (r.centerInsufficientSlides) {
2807
2835
  let y = 0;
2808
- p.forEach((L) => {
2809
- y += L + (w || 0);
2836
+ p.forEach((O) => {
2837
+ y += O + (w || 0);
2810
2838
  }), y -= w;
2811
2839
  const I = (r.slidesOffsetBefore || 0) + (r.slidesOffsetAfter || 0);
2812
2840
  if (y + I < s) {
2813
- const L = (s - y - I) / 2;
2814
- f.forEach((R, H) => {
2815
- f[H] = R - L;
2816
- }), m.forEach((R, H) => {
2817
- m[H] = R + L;
2841
+ const O = (s - y - I) / 2;
2842
+ f.forEach((R, j) => {
2843
+ f[j] = R - O;
2844
+ }), m.forEach((R, j) => {
2845
+ m[j] = R + O;
2818
2846
  });
2819
2847
  }
2820
2848
  }
@@ -2826,14 +2854,14 @@ function fs() {
2826
2854
  }), r.centeredSlides && r.cssMode && !r.centeredSlidesBounds) {
2827
2855
  we(n, "--swiper-centered-offset-before", `${-f[0]}px`), we(n, "--swiper-centered-offset-after", `${e.size / 2 - p[p.length - 1] / 2}px`);
2828
2856
  const y = -e.snapGrid[0], I = -e.slidesGrid[0];
2829
- e.snapGrid = e.snapGrid.map((L) => L + y), e.slidesGrid = e.slidesGrid.map((L) => L + I);
2857
+ e.snapGrid = e.snapGrid.map((O) => O + y), e.slidesGrid = e.slidesGrid.map((O) => O + I);
2830
2858
  }
2831
2859
  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")) {
2832
2860
  const y = `${r.containerModifierClass}backface-hidden`, I = e.el.classList.contains(y);
2833
2861
  u <= r.maxBackfaceHiddenSlides ? I || e.el.classList.add(y) : I && e.el.classList.remove(y);
2834
2862
  }
2835
2863
  }
2836
- function ps(e) {
2864
+ function Ts(e) {
2837
2865
  const t = this, r = [], n = t.virtual && t.params.virtual.enabled;
2838
2866
  let i = 0, s;
2839
2867
  typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
@@ -2858,15 +2886,15 @@ function ps(e) {
2858
2886
  }
2859
2887
  (i || i === 0) && (t.wrapperEl.style.height = `${i}px`);
2860
2888
  }
2861
- function hs() {
2889
+ function ys() {
2862
2890
  const e = this, t = e.slides, r = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
2863
2891
  for (let n = 0; n < t.length; n += 1)
2864
2892
  t[n].swiperSlideOffset = (e.isHorizontal() ? t[n].offsetLeft : t[n].offsetTop) - r - e.cssOverflowAdjustment();
2865
2893
  }
2866
- const vt = (e, t, r) => {
2894
+ const wt = (e, t, r) => {
2867
2895
  t && !e.classList.contains(r) ? e.classList.add(r) : !t && e.classList.contains(r) && e.classList.remove(r);
2868
2896
  };
2869
- function ms(e) {
2897
+ function xs(e) {
2870
2898
  e === void 0 && (e = this && this.translate || 0);
2871
2899
  const t = this, r = t.params, {
2872
2900
  slides: n,
@@ -2884,10 +2912,10 @@ function ms(e) {
2884
2912
  let c = d.swiperSlideOffset;
2885
2913
  r.cssMode && r.centeredSlides && (c -= n[0].swiperSlideOffset);
2886
2914
  const u = (o + (r.centeredSlides ? t.minTranslate() : 0) - c) / (d.swiperSlideSize + a), f = (o - s[0] + (r.centeredSlides ? t.minTranslate() : 0) - c) / (d.swiperSlideSize + a), m = -(o - c), p = m + t.slidesSizesGrid[l], v = m >= 0 && m <= t.size - t.slidesSizesGrid[l], T = m >= 0 && m < t.size - 1 || p > 1 && p <= t.size || m <= 0 && p >= t.size;
2887
- T && (t.visibleSlides.push(d), t.visibleSlidesIndexes.push(l)), vt(d, T, r.slideVisibleClass), vt(d, v, r.slideFullyVisibleClass), d.progress = i ? -u : u, d.originalProgress = i ? -f : f;
2915
+ 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;
2888
2916
  }
2889
2917
  }
2890
- function gs(e) {
2918
+ function Es(e) {
2891
2919
  const t = this;
2892
2920
  if (typeof e > "u") {
2893
2921
  const c = t.rtlTranslate ? -1 : 1;
@@ -2919,16 +2947,16 @@ function gs(e) {
2919
2947
  isEnd: o
2920
2948
  }), (r.watchSlidesProgress || r.centeredSlides && r.autoHeight) && t.updateSlidesProgress(e), s && !l && t.emit("reachBeginning toEdge"), o && !d && t.emit("reachEnd toEdge"), (l && !s || d && !o) && t.emit("fromEdge"), t.emit("progress", i);
2921
2949
  }
2922
- const $e = (e, t, r) => {
2950
+ const Fe = (e, t, r) => {
2923
2951
  t && !e.classList.contains(r) ? e.classList.add(r) : !t && e.classList.contains(r) && e.classList.remove(r);
2924
2952
  };
2925
- function vs() {
2953
+ function Cs() {
2926
2954
  const e = this, {
2927
2955
  slides: t,
2928
2956
  params: r,
2929
2957
  slidesEl: n,
2930
2958
  activeIndex: i
2931
- } = e, s = e.virtual && r.virtual.enabled, o = e.grid && r.grid && r.grid.rows > 1, a = (u) => q(n, `.${r.slideClass}${u}, swiper-slide${u}`)[0];
2959
+ } = e, s = e.virtual && r.virtual.enabled, o = e.grid && r.grid && r.grid.rows > 1, a = (u) => X(n, `.${r.slideClass}${u}, swiper-slide${u}`)[0];
2932
2960
  let l, d, c;
2933
2961
  if (s)
2934
2962
  if (r.loop) {
@@ -2938,8 +2966,8 @@ function vs() {
2938
2966
  l = a(`[data-swiper-slide-index="${i}"]`);
2939
2967
  else
2940
2968
  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];
2941
- l && (o || (c = ns(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !c && (c = t[0]), d = rs(l, `.${r.slideClass}, swiper-slide`)[0], r.loop && !d === 0 && (d = t[t.length - 1]))), t.forEach((u) => {
2942
- $e(u, u === l, r.slideActiveClass), $e(u, u === c, r.slideNextClass), $e(u, u === d, r.slidePrevClass);
2969
+ 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) => {
2970
+ Fe(u, u === l, r.slideActiveClass), Fe(u, u === c, r.slideNextClass), Fe(u, u === d, r.slidePrevClass);
2943
2971
  }), e.emitSlidesClasses();
2944
2972
  }
2945
2973
  const xe = (e, t) => {
@@ -2951,7 +2979,7 @@ const xe = (e, t) => {
2951
2979
  n.shadowRoot && (i = n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`), i && i.remove());
2952
2980
  })), i && i.remove();
2953
2981
  }
2954
- }, Fe = (e, t) => {
2982
+ }, $e = (e, t) => {
2955
2983
  if (!e.slides[t]) return;
2956
2984
  const r = e.slides[t].querySelector('[loading="lazy"]');
2957
2985
  r && r.removeAttribute("loading");
@@ -2967,7 +2995,7 @@ const xe = (e, t) => {
2967
2995
  a.push(...Array.from({
2968
2996
  length: t
2969
2997
  }).map((l, d) => o + n + d)), e.slides.forEach((l, d) => {
2970
- a.includes(l.column) && Fe(e, d);
2998
+ a.includes(l.column) && $e(e, d);
2971
2999
  });
2972
3000
  return;
2973
3001
  }
@@ -2975,13 +3003,13 @@ const xe = (e, t) => {
2975
3003
  if (e.params.rewind || e.params.loop)
2976
3004
  for (let o = i - t; o <= s + t; o += 1) {
2977
3005
  const a = (o % r + r) % r;
2978
- (a < i || a > s) && Fe(e, a);
3006
+ (a < i || a > s) && $e(e, a);
2979
3007
  }
2980
3008
  else
2981
3009
  for (let o = Math.max(i - t, 0); o <= Math.min(s + t, r - 1); o += 1)
2982
- o !== i && (o > s || o < i) && Fe(e, o);
3010
+ o !== i && (o > s || o < i) && $e(e, o);
2983
3011
  };
2984
- function ws(e) {
3012
+ function Ps(e) {
2985
3013
  const {
2986
3014
  slidesGrid: t,
2987
3015
  params: r
@@ -2991,7 +3019,7 @@ function ws(e) {
2991
3019
  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);
2992
3020
  return r.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
2993
3021
  }
2994
- function Ss(e) {
3022
+ function Is(e) {
2995
3023
  const t = this, r = t.rtlTranslate ? t.translate : -t.translate, {
2996
3024
  snapGrid: n,
2997
3025
  params: i,
@@ -3004,7 +3032,7 @@ function Ss(e) {
3004
3032
  let p = m - t.virtual.slidesBefore;
3005
3033
  return p < 0 && (p = t.virtual.slides.length + p), p >= t.virtual.slides.length && (p -= t.virtual.slides.length), p;
3006
3034
  };
3007
- if (typeof l > "u" && (l = ws(t)), n.indexOf(r) >= 0)
3035
+ if (typeof l > "u" && (l = Ps(t)), n.indexOf(r) >= 0)
3008
3036
  d = n.indexOf(r);
3009
3037
  else {
3010
3038
  const m = Math.min(i.slidesPerGroupSkip, l);
@@ -3040,7 +3068,7 @@ function Ss(e) {
3040
3068
  activeIndex: l
3041
3069
  }), t.initialized && Ye(t), t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && (o !== f && t.emit("realIndexChange"), t.emit("slideChange"));
3042
3070
  }
3043
- function bs(e, t) {
3071
+ function _s(e, t) {
3044
3072
  const r = this, n = r.params;
3045
3073
  let i = e.closest(`.${n.slideClass}, swiper-slide`);
3046
3074
  !i && r.isElement && t && t.length > 1 && t.includes(e) && [...t.slice(t.indexOf(e) + 1, t.length)].forEach((a) => {
@@ -3062,18 +3090,18 @@ function bs(e, t) {
3062
3090
  }
3063
3091
  n.slideToClickedSlide && r.clickedIndex !== void 0 && r.clickedIndex !== r.activeIndex && r.slideToClickedSlide();
3064
3092
  }
3065
- var Ts = {
3066
- updateSize: us,
3067
- updateSlides: fs,
3068
- updateAutoHeight: ps,
3069
- updateSlidesOffset: hs,
3070
- updateSlidesProgress: ms,
3071
- updateProgress: gs,
3072
- updateSlidesClasses: vs,
3073
- updateActiveIndex: Ss,
3074
- updateClickedSlide: bs
3093
+ var Ms = {
3094
+ updateSize: Ss,
3095
+ updateSlides: bs,
3096
+ updateAutoHeight: Ts,
3097
+ updateSlidesOffset: ys,
3098
+ updateSlidesProgress: xs,
3099
+ updateProgress: Es,
3100
+ updateSlidesClasses: Cs,
3101
+ updateActiveIndex: Is,
3102
+ updateClickedSlide: _s
3075
3103
  };
3076
- function ys(e) {
3104
+ function Os(e) {
3077
3105
  e === void 0 && (e = this.isHorizontal() ? "x" : "y");
3078
3106
  const t = this, {
3079
3107
  params: r,
@@ -3085,10 +3113,10 @@ function ys(e) {
3085
3113
  return n ? -i : i;
3086
3114
  if (r.cssMode)
3087
3115
  return i;
3088
- let o = Qi(s, e);
3116
+ let o = as(s, e);
3089
3117
  return o += t.cssOverflowAdjustment(), n && (o = -o), o || 0;
3090
3118
  }
3091
- function xs(e, t) {
3119
+ function Ls(e, t) {
3092
3120
  const r = this, {
3093
3121
  rtlTranslate: n,
3094
3122
  params: i,
@@ -3102,13 +3130,13 @@ function xs(e, t) {
3102
3130
  const u = r.maxTranslate() - r.minTranslate();
3103
3131
  u === 0 ? c = 0 : c = (e - r.minTranslate()) / u, c !== o && r.updateProgress(e), r.emit("setTranslate", r.translate, t);
3104
3132
  }
3105
- function Es() {
3133
+ function As() {
3106
3134
  return -this.snapGrid[0];
3107
3135
  }
3108
- function Cs() {
3136
+ function Ns() {
3109
3137
  return -this.snapGrid[this.snapGrid.length - 1];
3110
3138
  }
3111
- function Ps(e, t, r, n, i) {
3139
+ function Rs(e, t, r, n, i) {
3112
3140
  e === void 0 && (e = 0), t === void 0 && (t = this.params.speed), r === void 0 && (r = !0), n === void 0 && (n = !0);
3113
3141
  const s = this, {
3114
3142
  params: o,
@@ -3124,7 +3152,7 @@ function Ps(e, t, r, n, i) {
3124
3152
  a[u ? "scrollLeft" : "scrollTop"] = -c;
3125
3153
  else {
3126
3154
  if (!s.support.smoothScroll)
3127
- return Xt({
3155
+ return Jt({
3128
3156
  swiper: s,
3129
3157
  targetPosition: -c,
3130
3158
  side: u ? "left" : "top"
@@ -3140,18 +3168,18 @@ function Ps(e, t, r, n, i) {
3140
3168
  !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"));
3141
3169
  }), s.wrapperEl.addEventListener("transitionend", s.onTranslateToWrapperTransitionEnd))), !0;
3142
3170
  }
3143
- var Is = {
3144
- getTranslate: ys,
3145
- setTranslate: xs,
3146
- minTranslate: Es,
3147
- maxTranslate: Cs,
3148
- translateTo: Ps
3171
+ var zs = {
3172
+ getTranslate: Os,
3173
+ setTranslate: Ls,
3174
+ minTranslate: As,
3175
+ maxTranslate: Ns,
3176
+ translateTo: Rs
3149
3177
  };
3150
- function _s(e, t) {
3178
+ function ks(e, t) {
3151
3179
  const r = this;
3152
3180
  r.params.cssMode || (r.wrapperEl.style.transitionDuration = `${e}ms`, r.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), r.emit("setTransition", e, t);
3153
3181
  }
3154
- function Zt(e) {
3182
+ function tr(e) {
3155
3183
  let {
3156
3184
  swiper: t,
3157
3185
  runCallbacks: r,
@@ -3165,36 +3193,36 @@ function Zt(e) {
3165
3193
  let a = n;
3166
3194
  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}`));
3167
3195
  }
3168
- function Os(e, t) {
3196
+ function Ds(e, t) {
3169
3197
  e === void 0 && (e = !0);
3170
3198
  const r = this, {
3171
3199
  params: n
3172
3200
  } = r;
3173
- n.cssMode || (n.autoHeight && r.updateAutoHeight(), Zt({
3201
+ n.cssMode || (n.autoHeight && r.updateAutoHeight(), tr({
3174
3202
  swiper: r,
3175
3203
  runCallbacks: e,
3176
3204
  direction: t,
3177
3205
  step: "Start"
3178
3206
  }));
3179
3207
  }
3180
- function Ls(e, t) {
3208
+ function Bs(e, t) {
3181
3209
  e === void 0 && (e = !0);
3182
3210
  const r = this, {
3183
3211
  params: n
3184
3212
  } = r;
3185
- r.animating = !1, !n.cssMode && (r.setTransition(0), Zt({
3213
+ r.animating = !1, !n.cssMode && (r.setTransition(0), tr({
3186
3214
  swiper: r,
3187
3215
  runCallbacks: e,
3188
3216
  direction: t,
3189
3217
  step: "End"
3190
3218
  }));
3191
3219
  }
3192
- var Ms = {
3193
- setTransition: _s,
3194
- transitionStart: Os,
3195
- transitionEnd: Ls
3220
+ var Fs = {
3221
+ setTransition: ks,
3222
+ transitionStart: Ds,
3223
+ transitionEnd: Bs
3196
3224
  };
3197
- function As(e, t, r, n, i) {
3225
+ function $s(e, t, r, n, i) {
3198
3226
  e === void 0 && (e = 0), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
3199
3227
  const s = this;
3200
3228
  let o = e;
@@ -3239,7 +3267,7 @@ function As(e, t, r, n, i) {
3239
3267
  });
3240
3268
  else {
3241
3269
  if (!s.support.smoothScroll)
3242
- return Xt({
3270
+ return Jt({
3243
3271
  swiper: s,
3244
3272
  targetPosition: P,
3245
3273
  side: _ ? "left" : "top"
@@ -3251,12 +3279,12 @@ function As(e, t, r, n, i) {
3251
3279
  }
3252
3280
  return !0;
3253
3281
  }
3254
- const O = Qt().isSafari;
3255
- return w && !i && O && 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) {
3282
+ const M = er().isSafari;
3283
+ 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) {
3256
3284
  !s || s.destroyed || P.target === this && (s.wrapperEl.removeEventListener("transitionend", s.onSlideToWrapperTransitionEnd), s.onSlideToWrapperTransitionEnd = null, delete s.onSlideToWrapperTransitionEnd, s.transitionEnd(r, g));
3257
3285
  }), s.wrapperEl.addEventListener("transitionend", s.onSlideToWrapperTransitionEnd)), !0;
3258
3286
  }
3259
- function Ns(e, t, r, n) {
3287
+ function Gs(e, t, r, n) {
3260
3288
  e === void 0 && (e = 0), r === void 0 && (r = !0), typeof e == "string" && (e = parseInt(e, 10));
3261
3289
  const i = this;
3262
3290
  if (i.destroyed) return;
@@ -3298,7 +3326,7 @@ function Ns(e, t, r, n) {
3298
3326
  i.slideTo(o, t, r, n);
3299
3327
  }), i;
3300
3328
  }
3301
- function Rs(e, t, r) {
3329
+ function Vs(e, t, r) {
3302
3330
  t === void 0 && (t = !0);
3303
3331
  const n = this, {
3304
3332
  enabled: i,
@@ -3321,7 +3349,7 @@ function Rs(e, t, r) {
3321
3349
  }
3322
3350
  return s.rewind && n.isEnd ? n.slideTo(0, e, t, r) : n.slideTo(n.activeIndex + l, e, t, r);
3323
3351
  }
3324
- function ks(e, t, r) {
3352
+ function Hs(e, t, r) {
3325
3353
  t === void 0 && (t = !0);
3326
3354
  const n = this, {
3327
3355
  params: i,
@@ -3362,13 +3390,13 @@ function ks(e, t, r) {
3362
3390
  }), !0;
3363
3391
  return n.slideTo(h, e, t, r);
3364
3392
  }
3365
- function zs(e, t, r) {
3393
+ function js(e, t, r) {
3366
3394
  t === void 0 && (t = !0);
3367
3395
  const n = this;
3368
3396
  if (!n.destroyed)
3369
3397
  return typeof e > "u" && (e = n.params.speed), n.slideTo(n.activeIndex, e, t, r);
3370
3398
  }
3371
- function Ds(e, t, r, n) {
3399
+ function Ws(e, t, r, n) {
3372
3400
  t === void 0 && (t = !0), n === void 0 && (n = 0.5);
3373
3401
  const i = this;
3374
3402
  if (i.destroyed) return;
@@ -3384,7 +3412,7 @@ function Ds(e, t, r, n) {
3384
3412
  }
3385
3413
  return s = Math.max(s, 0), s = Math.min(s, i.slidesGrid.length - 1), i.slideTo(s, e, t, r);
3386
3414
  }
3387
- function Bs() {
3415
+ function Us() {
3388
3416
  const e = this;
3389
3417
  if (e.destroyed) return;
3390
3418
  const {
@@ -3395,31 +3423,31 @@ function Bs() {
3395
3423
  const o = e.isElement ? "swiper-slide" : `.${t.slideClass}`;
3396
3424
  if (t.loop) {
3397
3425
  if (e.animating) return;
3398
- s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - n / 2 || i > e.slides.length - e.loopedSlides + n / 2 ? (e.loopFix(), i = e.getSlideIndex(q(r, `${o}[data-swiper-slide-index="${s}"]`)[0]), We(() => {
3426
+ s = parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? i < e.loopedSlides - n / 2 || i > e.slides.length - e.loopedSlides + n / 2 ? (e.loopFix(), i = e.getSlideIndex(X(r, `${o}[data-swiper-slide-index="${s}"]`)[0]), We(() => {
3399
3427
  e.slideTo(i);
3400
- })) : e.slideTo(i) : i > e.slides.length - n ? (e.loopFix(), i = e.getSlideIndex(q(r, `${o}[data-swiper-slide-index="${s}"]`)[0]), We(() => {
3428
+ })) : e.slideTo(i) : i > e.slides.length - n ? (e.loopFix(), i = e.getSlideIndex(X(r, `${o}[data-swiper-slide-index="${s}"]`)[0]), We(() => {
3401
3429
  e.slideTo(i);
3402
3430
  })) : e.slideTo(i);
3403
3431
  } else
3404
3432
  e.slideTo(i);
3405
3433
  }
3406
- var $s = {
3407
- slideTo: As,
3408
- slideToLoop: Ns,
3409
- slideNext: Rs,
3410
- slidePrev: ks,
3411
- slideReset: zs,
3412
- slideToClosest: Ds,
3413
- slideToClickedSlide: Bs
3434
+ var Ys = {
3435
+ slideTo: $s,
3436
+ slideToLoop: Gs,
3437
+ slideNext: Vs,
3438
+ slidePrev: Hs,
3439
+ slideReset: js,
3440
+ slideToClosest: Ws,
3441
+ slideToClickedSlide: Us
3414
3442
  };
3415
- function Fs(e, t) {
3443
+ function qs(e, t) {
3416
3444
  const r = this, {
3417
3445
  params: n,
3418
3446
  slidesEl: i
3419
3447
  } = r;
3420
3448
  if (!n.loop || r.virtual && r.params.virtual.enabled) return;
3421
3449
  const s = () => {
3422
- q(i, `.${n.slideClass}, swiper-slide`).forEach((f, m) => {
3450
+ X(i, `.${n.slideClass}, swiper-slide`).forEach((f, m) => {
3423
3451
  f.setAttribute("data-swiper-slide-index", m);
3424
3452
  });
3425
3453
  }, o = r.grid && n.grid && n.grid.rows > 1, a = n.slidesPerGroup * (o ? n.grid.rows : 1), l = r.slides.length % a !== 0, d = o && r.slides.length % n.grid.rows !== 0, c = (u) => {
@@ -3450,7 +3478,7 @@ function Fs(e, t) {
3450
3478
  initial: t
3451
3479
  });
3452
3480
  }
3453
- function Gs(e) {
3481
+ function Xs(e) {
3454
3482
  let {
3455
3483
  slideRealIndex: t,
3456
3484
  slideTo: r = !0,
@@ -3485,79 +3513,79 @@ function Gs(e) {
3485
3513
  w % g !== 0 && (w += g - w % g), w += p.loopAdditionalSlides, d.loopedSlides = w;
3486
3514
  const C = d.grid && p.grid && p.grid.rows > 1;
3487
3515
  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`");
3488
- const x = [], O = [], _ = C ? Math.ceil(c.length / p.grid.rows) : c.length, P = o && _ - T < h && !v;
3516
+ const x = [], M = [], _ = C ? Math.ceil(c.length / p.grid.rows) : c.length, P = o && _ - T < h && !v;
3489
3517
  let E = P ? T : d.activeIndex;
3490
- typeof s > "u" ? s = d.getSlideIndex(c.find((M) => M.classList.contains(p.slideActiveClass))) : E = s;
3518
+ typeof s > "u" ? s = d.getSlideIndex(c.find((L) => L.classList.contains(p.slideActiveClass))) : E = s;
3491
3519
  const y = n === "next" || !n, I = n === "prev" || !n;
3492
- let L = 0, R = 0;
3493
- const j = (C ? c[s].column : s) + (v && typeof i > "u" ? -h / 2 + 0.5 : 0);
3494
- if (j < w) {
3495
- L = Math.max(w - j, g);
3496
- for (let M = 0; M < w - j; M += 1) {
3497
- const z = M - Math.floor(M / _) * _;
3520
+ let O = 0, R = 0;
3521
+ const W = (C ? c[s].column : s) + (v && typeof i > "u" ? -h / 2 + 0.5 : 0);
3522
+ if (W < w) {
3523
+ O = Math.max(w - W, g);
3524
+ for (let L = 0; L < w - W; L += 1) {
3525
+ const k = L - Math.floor(L / _) * _;
3498
3526
  if (C) {
3499
- const B = _ - z - 1;
3527
+ const B = _ - k - 1;
3500
3528
  for (let N = c.length - 1; N >= 0; N -= 1)
3501
3529
  c[N].column === B && x.push(N);
3502
3530
  } else
3503
- x.push(_ - z - 1);
3531
+ x.push(_ - k - 1);
3504
3532
  }
3505
- } else if (j + h > _ - w) {
3506
- R = Math.max(j - (_ - w * 2), g), P && (R = Math.max(R, h - _ + T + 1));
3507
- for (let M = 0; M < R; M += 1) {
3508
- const z = M - Math.floor(M / _) * _;
3533
+ } else if (W + h > _ - w) {
3534
+ R = Math.max(W - (_ - w * 2), g), P && (R = Math.max(R, h - _ + T + 1));
3535
+ for (let L = 0; L < R; L += 1) {
3536
+ const k = L - Math.floor(L / _) * _;
3509
3537
  C ? c.forEach((B, N) => {
3510
- B.column === z && O.push(N);
3511
- }) : O.push(z);
3538
+ B.column === k && M.push(N);
3539
+ }) : M.push(k);
3512
3540
  }
3513
3541
  }
3514
3542
  if (d.__preventObserver__ = !0, requestAnimationFrame(() => {
3515
3543
  d.__preventObserver__ = !1;
3516
- }), d.params.effect === "cards" && c.length < h + w * 2 && (O.includes(s) && O.splice(O.indexOf(s), 1), x.includes(s) && x.splice(x.indexOf(s), 1)), I && x.forEach((M) => {
3517
- c[M].swiperLoopMoveDOM = !0, m.prepend(c[M]), c[M].swiperLoopMoveDOM = !1;
3518
- }), y && O.forEach((M) => {
3519
- c[M].swiperLoopMoveDOM = !0, m.append(c[M]), c[M].swiperLoopMoveDOM = !1;
3520
- }), d.recalcSlides(), p.slidesPerView === "auto" ? d.updateSlides() : C && (x.length > 0 && I || O.length > 0 && y) && d.slides.forEach((M, z) => {
3521
- d.grid.updateSlide(z, M, d.slides);
3544
+ }), 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) => {
3545
+ c[L].swiperLoopMoveDOM = !0, m.prepend(c[L]), c[L].swiperLoopMoveDOM = !1;
3546
+ }), y && M.forEach((L) => {
3547
+ c[L].swiperLoopMoveDOM = !0, m.append(c[L]), c[L].swiperLoopMoveDOM = !1;
3548
+ }), d.recalcSlides(), p.slidesPerView === "auto" ? d.updateSlides() : C && (x.length > 0 && I || M.length > 0 && y) && d.slides.forEach((L, k) => {
3549
+ d.grid.updateSlide(k, L, d.slides);
3522
3550
  }), p.watchSlidesProgress && d.updateSlidesOffset(), r) {
3523
3551
  if (x.length > 0 && I) {
3524
3552
  if (typeof t > "u") {
3525
- const M = d.slidesGrid[E], B = d.slidesGrid[E + L] - M;
3526
- l ? d.setTranslate(d.translate - B) : (d.slideTo(E + Math.ceil(L), 0, !1, !0), i && (d.touchEventsData.startTranslate = d.touchEventsData.startTranslate - B, d.touchEventsData.currentTranslate = d.touchEventsData.currentTranslate - B));
3553
+ const L = d.slidesGrid[E], B = d.slidesGrid[E + O] - L;
3554
+ 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));
3527
3555
  } else if (i) {
3528
- const M = C ? x.length / p.grid.rows : x.length;
3529
- d.slideTo(d.activeIndex + M, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
3556
+ const L = C ? x.length / p.grid.rows : x.length;
3557
+ d.slideTo(d.activeIndex + L, 0, !1, !0), d.touchEventsData.currentTranslate = d.translate;
3530
3558
  }
3531
- } else if (O.length > 0 && y)
3559
+ } else if (M.length > 0 && y)
3532
3560
  if (typeof t > "u") {
3533
- const M = d.slidesGrid[E], B = d.slidesGrid[E - R] - M;
3561
+ const L = d.slidesGrid[E], B = d.slidesGrid[E - R] - L;
3534
3562
  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));
3535
3563
  } else {
3536
- const M = C ? O.length / p.grid.rows : O.length;
3537
- d.slideTo(d.activeIndex - M, 0, !1, !0);
3564
+ const L = C ? M.length / p.grid.rows : M.length;
3565
+ d.slideTo(d.activeIndex - L, 0, !1, !0);
3538
3566
  }
3539
3567
  }
3540
3568
  if (d.allowSlidePrev = u, d.allowSlideNext = f, d.controller && d.controller.control && !a) {
3541
- const M = {
3569
+ const L = {
3542
3570
  slideRealIndex: t,
3543
3571
  direction: n,
3544
3572
  setTranslate: i,
3545
3573
  activeSlideIndex: s,
3546
3574
  byController: !0
3547
3575
  };
3548
- Array.isArray(d.controller.control) ? d.controller.control.forEach((z) => {
3549
- !z.destroyed && z.params.loop && z.loopFix({
3550
- ...M,
3551
- slideTo: z.params.slidesPerView === p.slidesPerView ? r : !1
3576
+ Array.isArray(d.controller.control) ? d.controller.control.forEach((k) => {
3577
+ !k.destroyed && k.params.loop && k.loopFix({
3578
+ ...L,
3579
+ slideTo: k.params.slidesPerView === p.slidesPerView ? r : !1
3552
3580
  });
3553
3581
  }) : d.controller.control instanceof d.constructor && d.controller.control.params.loop && d.controller.control.loopFix({
3554
- ...M,
3582
+ ...L,
3555
3583
  slideTo: d.controller.control.params.slidesPerView === p.slidesPerView ? r : !1
3556
3584
  });
3557
3585
  }
3558
3586
  d.emit("loopFix");
3559
3587
  }
3560
- function Vs() {
3588
+ function Ks() {
3561
3589
  const e = this, {
3562
3590
  params: t,
3563
3591
  slidesEl: r
@@ -3574,12 +3602,12 @@ function Vs() {
3574
3602
  r.append(i);
3575
3603
  }), e.recalcSlides(), e.slideTo(e.realIndex, 0);
3576
3604
  }
3577
- var Hs = {
3578
- loopCreate: Fs,
3579
- loopFix: Gs,
3580
- loopDestroy: Vs
3605
+ var Js = {
3606
+ loopCreate: qs,
3607
+ loopFix: Xs,
3608
+ loopDestroy: Ks
3581
3609
  };
3582
- function js(e) {
3610
+ function Qs(e) {
3583
3611
  const t = this;
3584
3612
  if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
3585
3613
  const r = t.params.touchEventsTarget === "container" ? t.el : t.wrapperEl;
@@ -3587,33 +3615,33 @@ function js(e) {
3587
3615
  t.__preventObserver__ = !1;
3588
3616
  });
3589
3617
  }
3590
- function Ws() {
3618
+ function Zs() {
3591
3619
  const e = this;
3592
3620
  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(() => {
3593
3621
  e.__preventObserver__ = !1;
3594
3622
  }));
3595
3623
  }
3596
- var Us = {
3597
- setGrabCursor: js,
3598
- unsetGrabCursor: Ws
3624
+ var ea = {
3625
+ setGrabCursor: Qs,
3626
+ unsetGrabCursor: Zs
3599
3627
  };
3600
- function Ys(e, t) {
3628
+ function ta(e, t) {
3601
3629
  t === void 0 && (t = this);
3602
3630
  function r(n) {
3603
- if (!n || n === ie() || n === $()) return null;
3631
+ if (!n || n === ie() || n === F()) return null;
3604
3632
  n.assignedSlot && (n = n.assignedSlot);
3605
3633
  const i = n.closest(e);
3606
3634
  return !i && !n.getRootNode ? null : i || r(n.getRootNode().host);
3607
3635
  }
3608
3636
  return r(t);
3609
3637
  }
3610
- function wt(e, t, r) {
3611
- const n = $(), {
3638
+ function St(e, t, r) {
3639
+ const n = F(), {
3612
3640
  params: i
3613
3641
  } = e, s = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
3614
3642
  return s && (r <= o || r >= n.innerWidth - o) ? s === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
3615
3643
  }
3616
- function qs(e) {
3644
+ function ra(e) {
3617
3645
  const t = this, r = ie();
3618
3646
  let n = e;
3619
3647
  n.originalEvent && (n = n.originalEvent);
@@ -3624,7 +3652,7 @@ function qs(e) {
3624
3652
  i.pointerId = n.pointerId;
3625
3653
  } else n.type === "touchstart" && n.targetTouches.length === 1 && (i.touchId = n.targetTouches[0].identifier);
3626
3654
  if (n.type === "touchstart") {
3627
- wt(t, n, n.targetTouches[0].pageX);
3655
+ St(t, n, n.targetTouches[0].pageX);
3628
3656
  return;
3629
3657
  }
3630
3658
  const {
@@ -3636,11 +3664,11 @@ function qs(e) {
3636
3664
  return;
3637
3665
  !t.animating && s.cssMode && s.loop && t.loopFix();
3638
3666
  let l = n.target;
3639
- if (s.touchEventsTarget === "wrapper" && !ts(l, t.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
3667
+ 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;
3640
3668
  const d = !!s.noSwipingClass && s.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
3641
3669
  d && n.target && n.target.shadowRoot && c && (l = c[0]);
3642
3670
  const u = s.noSwipingSelector ? s.noSwipingSelector : `.${s.noSwipingClass}`, f = !!(n.target && n.target.shadowRoot);
3643
- if (s.noSwiping && (f ? Ys(u, l) : l.closest(u))) {
3671
+ if (s.noSwiping && (f ? ta(u, l) : l.closest(u))) {
3644
3672
  t.allowClick = !0;
3645
3673
  return;
3646
3674
  }
@@ -3648,7 +3676,7 @@ function qs(e) {
3648
3676
  return;
3649
3677
  o.currentX = n.pageX, o.currentY = n.pageY;
3650
3678
  const m = o.currentX, p = o.currentY;
3651
- if (!wt(t, n, m))
3679
+ if (!St(t, n, m))
3652
3680
  return;
3653
3681
  Object.assign(i, {
3654
3682
  isTouched: !0,
@@ -3662,7 +3690,7 @@ function qs(e) {
3662
3690
  const T = v && t.allowTouchMove && s.touchStartPreventDefault;
3663
3691
  (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);
3664
3692
  }
3665
- function Xs(e) {
3693
+ function na(e) {
3666
3694
  const t = ie(), r = this, n = r.touchEventsData, {
3667
3695
  params: i,
3668
3696
  touches: s,
@@ -3778,7 +3806,7 @@ function Xs(e) {
3778
3806
  }
3779
3807
  !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));
3780
3808
  }
3781
- function Ks(e) {
3809
+ function ia(e) {
3782
3810
  const t = this, r = t.touchEventsData;
3783
3811
  let n = e;
3784
3812
  n.originalEvent && (n = n.originalEvent);
@@ -3829,8 +3857,8 @@ function Ks(e) {
3829
3857
  const p = m >= -t.maxTranslate() && !t.params.loop;
3830
3858
  let v = 0, T = t.slidesSizesGrid[0];
3831
3859
  for (let x = 0; x < d.length; x += x < o.slidesPerGroupSkip ? 1 : o.slidesPerGroup) {
3832
- const O = x < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
3833
- typeof d[x + O] < "u" ? (p || m >= d[x] && m < d[x + O]) && (v = x, T = d[x + O] - d[x]) : (p || m >= d[x]) && (v = x, T = d[d.length - 1] - d[d.length - 2]);
3860
+ const M = x < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
3861
+ 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]);
3834
3862
  }
3835
3863
  let h = null, g = null;
3836
3864
  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));
@@ -3849,7 +3877,7 @@ function Ks(e) {
3849
3877
  t.navigation && (n.target === t.navigation.nextEl || n.target === t.navigation.prevEl) ? n.target === t.navigation.nextEl ? t.slideTo(v + C) : t.slideTo(v) : (t.swipeDirection === "next" && t.slideTo(h !== null ? h : v + C), t.swipeDirection === "prev" && t.slideTo(g !== null ? g : v));
3850
3878
  }
3851
3879
  }
3852
- function St() {
3880
+ function bt() {
3853
3881
  const e = this, {
3854
3882
  params: t,
3855
3883
  el: r
@@ -3867,11 +3895,11 @@ function St() {
3867
3895
  e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.resume();
3868
3896
  }, 500)), e.allowSlidePrev = i, e.allowSlideNext = n, e.params.watchOverflow && s !== e.snapGrid && e.checkOverflow();
3869
3897
  }
3870
- function Js(e) {
3898
+ function sa(e) {
3871
3899
  const t = this;
3872
3900
  t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
3873
3901
  }
3874
- function Qs() {
3902
+ function aa() {
3875
3903
  const e = this, {
3876
3904
  wrapperEl: t,
3877
3905
  rtlTranslate: r,
@@ -3883,15 +3911,15 @@ function Qs() {
3883
3911
  const s = e.maxTranslate() - e.minTranslate();
3884
3912
  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);
3885
3913
  }
3886
- function Zs(e) {
3914
+ function oa(e) {
3887
3915
  const t = this;
3888
3916
  xe(t, e.target), !(t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update();
3889
3917
  }
3890
- function ea() {
3918
+ function la() {
3891
3919
  const e = this;
3892
3920
  e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
3893
3921
  }
3894
- const er = (e, t) => {
3922
+ const rr = (e, t) => {
3895
3923
  const r = ie(), {
3896
3924
  params: n,
3897
3925
  el: i,
@@ -3925,25 +3953,25 @@ const er = (e, t) => {
3925
3953
  passive: !0
3926
3954
  }), r[l]("contextmenu", e.onTouchEnd, {
3927
3955
  passive: !0
3928
- }), (n.preventClicks || n.preventClicksPropagation) && i[l]("click", e.onClick, !0), n.cssMode && s[l]("scroll", e.onScroll), n.updateOnWindowResize ? e[d](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", St, !0) : e[d]("observerUpdate", St, !0), i[l]("load", e.onLoad, {
3956
+ }), (n.preventClicks || n.preventClicksPropagation) && i[l]("click", e.onClick, !0), n.cssMode && s[l]("scroll", e.onScroll), n.updateOnWindowResize ? e[d](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", bt, !0) : e[d]("observerUpdate", bt, !0), i[l]("load", e.onLoad, {
3929
3957
  capture: !0
3930
3958
  }));
3931
3959
  };
3932
- function ta() {
3960
+ function da() {
3933
3961
  const e = this, {
3934
3962
  params: t
3935
3963
  } = e;
3936
- e.onTouchStart = qs.bind(e), e.onTouchMove = Xs.bind(e), e.onTouchEnd = Ks.bind(e), e.onDocumentTouchStart = ea.bind(e), t.cssMode && (e.onScroll = Qs.bind(e)), e.onClick = Js.bind(e), e.onLoad = Zs.bind(e), er(e, "on");
3964
+ 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");
3937
3965
  }
3938
- function ra() {
3939
- er(this, "off");
3966
+ function ca() {
3967
+ rr(this, "off");
3940
3968
  }
3941
- var na = {
3942
- attachEvents: ta,
3943
- detachEvents: ra
3969
+ var ua = {
3970
+ attachEvents: da,
3971
+ detachEvents: ca
3944
3972
  };
3945
- const bt = (e, t) => e.grid && t.grid && t.grid.rows > 1;
3946
- function ia() {
3973
+ const Tt = (e, t) => e.grid && t.grid && t.grid.rows > 1;
3974
+ function fa() {
3947
3975
  const e = this, {
3948
3976
  realIndex: t,
3949
3977
  initialized: r,
@@ -3953,11 +3981,11 @@ function ia() {
3953
3981
  if (!s || s && Object.keys(s).length === 0) return;
3954
3982
  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);
3955
3983
  if (!d || e.currentBreakpoint === d) return;
3956
- const u = (d in s ? s[d] : void 0) || e.originalParams, f = bt(e, n), m = bt(e, u), p = e.params.grabCursor, v = u.grabCursor, T = n.enabled;
3957
- 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((O) => {
3958
- if (typeof u[O] > "u") return;
3959
- const _ = n[O] && n[O].enabled, P = u[O] && u[O].enabled;
3960
- _ && !P && e[O].disable(), !_ && P && e[O].enable();
3984
+ 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;
3985
+ 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) => {
3986
+ if (typeof u[M] > "u") return;
3987
+ const _ = n[M] && n[M].enabled, P = u[M] && u[M].enabled;
3988
+ _ && !P && e[M].disable(), !_ && P && e[M].enable();
3961
3989
  });
3962
3990
  const h = u.direction && u.direction !== n.direction, g = n.loop && (u.slidesPerView !== n.slidesPerView || h), w = n.loop;
3963
3991
  h && r && e.changeDirection(), G(e.params, u);
@@ -3968,10 +3996,10 @@ function ia() {
3968
3996
  allowSlidePrev: e.params.allowSlidePrev
3969
3997
  }), 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);
3970
3998
  }
3971
- function sa(e, t, r) {
3999
+ function pa(e, t, r) {
3972
4000
  if (t === void 0 && (t = "window"), !e || t === "container" && !r) return;
3973
4001
  let n = !1;
3974
- const i = $(), s = t === "window" ? i.innerHeight : r.clientHeight, o = Object.keys(e).map((a) => {
4002
+ const i = F(), s = t === "window" ? i.innerHeight : r.clientHeight, o = Object.keys(e).map((a) => {
3975
4003
  if (typeof a == "string" && a.indexOf("@") === 0) {
3976
4004
  const l = parseFloat(a.substr(1));
3977
4005
  return {
@@ -3994,11 +4022,11 @@ function sa(e, t, r) {
3994
4022
  }
3995
4023
  return n || "max";
3996
4024
  }
3997
- var aa = {
3998
- setBreakpoint: ia,
3999
- getBreakpoint: sa
4025
+ var ha = {
4026
+ setBreakpoint: fa,
4027
+ getBreakpoint: pa
4000
4028
  };
4001
- function oa(e, t) {
4029
+ function ma(e, t) {
4002
4030
  const r = [];
4003
4031
  return e.forEach((n) => {
4004
4032
  typeof n == "object" ? Object.keys(n).forEach((i) => {
@@ -4006,14 +4034,14 @@ function oa(e, t) {
4006
4034
  }) : typeof n == "string" && r.push(t + n);
4007
4035
  }), r;
4008
4036
  }
4009
- function la() {
4037
+ function ga() {
4010
4038
  const e = this, {
4011
4039
  classNames: t,
4012
4040
  params: r,
4013
4041
  rtl: n,
4014
4042
  el: i,
4015
4043
  device: s
4016
- } = e, o = oa(["initialized", r.direction, {
4044
+ } = e, o = ma(["initialized", r.direction, {
4017
4045
  "free-mode": e.params.freeMode && r.freeMode.enabled
4018
4046
  }, {
4019
4047
  autoheight: r.autoHeight
@@ -4036,18 +4064,18 @@ function la() {
4036
4064
  }], r.containerModifierClass);
4037
4065
  t.push(...o), i.classList.add(...t), e.emitContainerClasses();
4038
4066
  }
4039
- function da() {
4067
+ function va() {
4040
4068
  const e = this, {
4041
4069
  el: t,
4042
4070
  classNames: r
4043
4071
  } = e;
4044
4072
  !t || typeof t == "string" || (t.classList.remove(...r), e.emitContainerClasses());
4045
4073
  }
4046
- var ca = {
4047
- addClasses: la,
4048
- removeClasses: da
4074
+ var wa = {
4075
+ addClasses: ga,
4076
+ removeClasses: va
4049
4077
  };
4050
- function ua() {
4078
+ function Sa() {
4051
4079
  const e = this, {
4052
4080
  isLocked: t,
4053
4081
  params: r
@@ -4061,8 +4089,8 @@ function ua() {
4061
4089
  e.isLocked = e.snapGrid.length === 1;
4062
4090
  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");
4063
4091
  }
4064
- var fa = {
4065
- checkOverflow: ua
4092
+ var ba = {
4093
+ checkOverflow: Sa
4066
4094
  }, qe = {
4067
4095
  init: !0,
4068
4096
  direction: "horizontal",
@@ -4184,7 +4212,7 @@ var fa = {
4184
4212
  // Internals
4185
4213
  _emitClasses: !1
4186
4214
  };
4187
- function pa(e, t) {
4215
+ function Ta(e, t) {
4188
4216
  return function(n) {
4189
4217
  n === void 0 && (n = {});
4190
4218
  const i = Object.keys(n)[0], s = n[i];
@@ -4204,19 +4232,19 @@ function pa(e, t) {
4204
4232
  };
4205
4233
  }
4206
4234
  const Ge = {
4207
- eventsEmitter: cs,
4208
- update: Ts,
4209
- translate: Is,
4210
- transition: Ms,
4211
- slide: $s,
4212
- loop: Hs,
4213
- grabCursor: Us,
4214
- events: na,
4215
- breakpoints: aa,
4216
- checkOverflow: fa,
4217
- classes: ca
4235
+ eventsEmitter: ws,
4236
+ update: Ms,
4237
+ translate: zs,
4238
+ transition: Fs,
4239
+ slide: Ys,
4240
+ loop: Js,
4241
+ grabCursor: ea,
4242
+ events: ua,
4243
+ breakpoints: ha,
4244
+ checkOverflow: ba,
4245
+ classes: wa
4218
4246
  }, Ve = {};
4219
- let it = class Y {
4247
+ let it = class q {
4220
4248
  constructor() {
4221
4249
  let t, r;
4222
4250
  for (var n = arguments.length, i = new Array(n), s = 0; s < n; s++)
@@ -4229,19 +4257,19 @@ let it = class Y {
4229
4257
  const f = G({}, r, {
4230
4258
  el: u
4231
4259
  });
4232
- c.push(new Y(f));
4260
+ c.push(new q(f));
4233
4261
  }), c;
4234
4262
  }
4235
4263
  const a = this;
4236
- a.__swiper__ = !0, a.support = Kt(), a.device = Jt({
4264
+ a.__swiper__ = !0, a.support = Qt(), a.device = Zt({
4237
4265
  userAgent: r.userAgent
4238
- }), a.browser = Qt(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && a.modules.push(...r.modules);
4266
+ }), a.browser = er(), a.eventsListeners = {}, a.eventsAnyListeners = [], a.modules = [...a.__modules__], r.modules && Array.isArray(r.modules) && a.modules.push(...r.modules);
4239
4267
  const l = {};
4240
4268
  a.modules.forEach((c) => {
4241
4269
  c({
4242
4270
  params: r,
4243
4271
  swiper: a,
4244
- extendParams: pa(r, l),
4272
+ extendParams: Ta(r, l),
4245
4273
  on: a.on.bind(a),
4246
4274
  once: a.once.bind(a),
4247
4275
  off: a.off.bind(a),
@@ -4340,8 +4368,8 @@ let it = class Y {
4340
4368
  const {
4341
4369
  slidesEl: r,
4342
4370
  params: n
4343
- } = this, i = q(r, `.${n.slideClass}, swiper-slide`), s = ht(i[0]);
4344
- return ht(t) - s;
4371
+ } = this, i = X(r, `.${n.slideClass}, swiper-slide`), s = mt(i[0]);
4372
+ return mt(t) - s;
4345
4373
  }
4346
4374
  getSlideIndexByData(t) {
4347
4375
  return this.getSlideIndex(this.slides.find((r) => r.getAttribute("data-swiper-slide-index") * 1 === t));
@@ -4351,7 +4379,7 @@ let it = class Y {
4351
4379
  slidesEl: r,
4352
4380
  params: n
4353
4381
  } = t;
4354
- t.slides = q(r, `.${n.slideClass}, swiper-slide`);
4382
+ t.slides = X(r, `.${n.slideClass}, swiper-slide`);
4355
4383
  }
4356
4384
  enable() {
4357
4385
  const t = this;
@@ -4461,8 +4489,8 @@ let it = class Y {
4461
4489
  return !1;
4462
4490
  n.swiper = r, n.parentNode && n.parentNode.host && n.parentNode.host.nodeName === r.params.swiperElementNodeName.toUpperCase() && (r.isElement = !0);
4463
4491
  const i = () => `.${(r.params.wrapperClass || "").trim().split(" ").join(".")}`;
4464
- let o = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(i()) : q(n, i())[0];
4465
- return !o && r.params.createElements && (o = Ue("div", r.params.wrapperClass), n.append(o), q(n, `.${r.params.slideClass}`).forEach((a) => {
4492
+ let o = n && n.shadowRoot && n.shadowRoot.querySelector ? n.shadowRoot.querySelector(i()) : X(n, i())[0];
4493
+ return !o && r.params.createElements && (o = Ue("div", r.params.wrapperClass), n.append(o), X(n, `.${r.params.slideClass}`).forEach((a) => {
4466
4494
  o.append(a);
4467
4495
  })), Object.assign(r, {
4468
4496
  el: n,
@@ -4471,9 +4499,9 @@ let it = class Y {
4471
4499
  hostEl: r.isElement ? n.parentNode.host : n,
4472
4500
  mounted: !0,
4473
4501
  // RTL
4474
- rtl: n.dir.toLowerCase() === "rtl" || Z(n, "direction") === "rtl",
4475
- rtlTranslate: r.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || Z(n, "direction") === "rtl"),
4476
- wrongRTL: Z(o, "display") === "-webkit-box"
4502
+ rtl: n.dir.toLowerCase() === "rtl" || ee(n, "direction") === "rtl",
4503
+ rtlTranslate: r.params.direction === "horizontal" && (n.dir.toLowerCase() === "rtl" || ee(n, "direction") === "rtl"),
4504
+ wrongRTL: ee(o, "display") === "-webkit-box"
4477
4505
  }), !0;
4478
4506
  }
4479
4507
  init(t) {
@@ -4499,7 +4527,7 @@ let it = class Y {
4499
4527
  l.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), l.removeAttribute("style"), l.removeAttribute("data-swiper-slide-index");
4500
4528
  })), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((l) => {
4501
4529
  n.off(l);
4502
- }), t !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Ki(n)), n.destroyed = !0), null;
4530
+ }), t !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), is(n)), n.destroyed = !0), null;
4503
4531
  }
4504
4532
  static extendDefaults(t) {
4505
4533
  G(Ve, t);
@@ -4511,12 +4539,12 @@ let it = class Y {
4511
4539
  return qe;
4512
4540
  }
4513
4541
  static installModule(t) {
4514
- Y.prototype.__modules__ || (Y.prototype.__modules__ = []);
4515
- const r = Y.prototype.__modules__;
4542
+ q.prototype.__modules__ || (q.prototype.__modules__ = []);
4543
+ const r = q.prototype.__modules__;
4516
4544
  typeof t == "function" && r.indexOf(t) < 0 && r.push(t);
4517
4545
  }
4518
4546
  static use(t) {
4519
- return Array.isArray(t) ? (t.forEach((r) => Y.installModule(r)), Y) : (Y.installModule(t), Y);
4547
+ return Array.isArray(t) ? (t.forEach((r) => q.installModule(r)), q) : (q.installModule(t), q);
4520
4548
  }
4521
4549
  };
4522
4550
  Object.keys(Ge).forEach((e) => {
@@ -4524,8 +4552,8 @@ Object.keys(Ge).forEach((e) => {
4524
4552
  it.prototype[t] = Ge[e][t];
4525
4553
  });
4526
4554
  });
4527
- it.use([ls, ds]);
4528
- const tr = [
4555
+ it.use([gs, vs]);
4556
+ const nr = [
4529
4557
  "eventsPrefix",
4530
4558
  "injectStyles",
4531
4559
  "injectStylesUrls",
@@ -4644,35 +4672,35 @@ const tr = [
4644
4672
  "zoom",
4645
4673
  "control"
4646
4674
  ];
4647
- function te(e) {
4675
+ function re(e) {
4648
4676
  return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object" && !e.__swiper__;
4649
4677
  }
4650
4678
  function oe(e, t) {
4651
4679
  const r = ["__proto__", "constructor", "prototype"];
4652
4680
  Object.keys(t).filter((n) => r.indexOf(n) < 0).forEach((n) => {
4653
- typeof e[n] > "u" ? e[n] = t[n] : te(t[n]) && te(e[n]) && Object.keys(t[n]).length > 0 ? t[n].__swiper__ ? e[n] = t[n] : oe(e[n], t[n]) : e[n] = t[n];
4681
+ 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];
4654
4682
  });
4655
4683
  }
4656
- function rr(e) {
4684
+ function ir(e) {
4657
4685
  return e === void 0 && (e = {}), e.navigation && typeof e.navigation.nextEl > "u" && typeof e.navigation.prevEl > "u";
4658
4686
  }
4659
- function nr(e) {
4687
+ function sr(e) {
4660
4688
  return e === void 0 && (e = {}), e.pagination && typeof e.pagination.el > "u";
4661
4689
  }
4662
- function ir(e) {
4690
+ function ar(e) {
4663
4691
  return e === void 0 && (e = {}), e.scrollbar && typeof e.scrollbar.el > "u";
4664
4692
  }
4665
- function sr(e) {
4693
+ function or(e) {
4666
4694
  e === void 0 && (e = "");
4667
4695
  const t = e.split(" ").map((n) => n.trim()).filter((n) => !!n), r = [];
4668
4696
  return t.forEach((n) => {
4669
4697
  r.indexOf(n) < 0 && r.push(n);
4670
4698
  }), r.join(" ");
4671
4699
  }
4672
- function ha(e) {
4700
+ function ya(e) {
4673
4701
  return e === void 0 && (e = ""), e ? e.includes("swiper-wrapper") ? e : `swiper-wrapper ${e}` : "swiper-wrapper";
4674
4702
  }
4675
- function ma(e) {
4703
+ function xa(e) {
4676
4704
  let {
4677
4705
  swiper: t,
4678
4706
  slides: r,
@@ -4691,29 +4719,29 @@ function ma(e) {
4691
4719
  virtual: p,
4692
4720
  thumbs: v
4693
4721
  } = t;
4694
- let T, h, g, w, C, x, O, _;
4722
+ let T, h, g, w, C, x, M, _;
4695
4723
  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);
4696
4724
  const P = (E) => {
4697
4725
  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));
4698
4726
  };
4699
- i.includes("loop") && t.isElement && (c.loop && !n.loop ? x = !0 : !c.loop && n.loop ? O = !0 : _ = !0), d.forEach((E) => {
4700
- if (te(c[E]) && te(n[E]))
4727
+ i.includes("loop") && t.isElement && (c.loop && !n.loop ? x = !0 : !c.loop && n.loop ? M = !0 : _ = !0), d.forEach((E) => {
4728
+ if (re(c[E]) && re(n[E]))
4701
4729
  Object.assign(c[E], n[E]), (E === "navigation" || E === "pagination" || E === "scrollbar") && "enabled" in n[E] && !n[E].enabled && P(E);
4702
4730
  else {
4703
4731
  const y = n[E];
4704
4732
  (y === !0 || y === !1) && (E === "navigation" || E === "pagination" || E === "scrollbar") ? y === !1 && P(E) : c[E] = n[E];
4705
4733
  }
4706
- }), 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"), gt(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"), gt(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(), (O || _) && t.loopCreate(), t.update();
4734
+ }), 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();
4707
4735
  }
4708
- function ga(e, t) {
4736
+ function Ea(e, t) {
4709
4737
  e === void 0 && (e = {}), t === void 0 && (t = !0);
4710
4738
  const r = {
4711
4739
  on: {}
4712
4740
  }, n = {}, i = {};
4713
4741
  oe(r, qe), r._emitClasses = !0, r.init = !1;
4714
- const s = {}, o = tr.map((l) => l.replace(/_/, "")), a = Object.assign({}, e);
4742
+ const s = {}, o = nr.map((l) => l.replace(/_/, "")), a = Object.assign({}, e);
4715
4743
  return Object.keys(a).forEach((l) => {
4716
- typeof e[l] > "u" || (o.indexOf(l) >= 0 ? te(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]);
4744
+ 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]);
4717
4745
  }), ["navigation", "pagination", "scrollbar"].forEach((l) => {
4718
4746
  r[l] === !0 && (r[l] = {}), r[l] === !1 && delete r[l];
4719
4747
  }), {
@@ -4723,7 +4751,7 @@ function ga(e, t) {
4723
4751
  events: n
4724
4752
  };
4725
4753
  }
4726
- function va(e, t) {
4754
+ function Ca(e, t) {
4727
4755
  let {
4728
4756
  el: r,
4729
4757
  nextEl: n,
@@ -4732,9 +4760,9 @@ function va(e, t) {
4732
4760
  scrollbarEl: o,
4733
4761
  swiper: a
4734
4762
  } = e;
4735
- rr(t) && n && i && (a.params.navigation.nextEl = n, a.originalParams.navigation.nextEl = n, a.params.navigation.prevEl = i, a.originalParams.navigation.prevEl = i), nr(t) && s && (a.params.pagination.el = s, a.originalParams.pagination.el = s), ir(t) && o && (a.params.scrollbar.el = o, a.originalParams.scrollbar.el = o), a.init(r);
4763
+ 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);
4736
4764
  }
4737
- function wa(e, t, r, n, i) {
4765
+ function Pa(e, t, r, n, i) {
4738
4766
  const s = [];
4739
4767
  if (!t) return s;
4740
4768
  const o = (l) => {
@@ -4744,9 +4772,9 @@ function wa(e, t, r, n, i) {
4744
4772
  const l = n.map(i), d = r.map(i);
4745
4773
  l.join("") !== d.join("") && o("children"), n.length !== r.length && o("children");
4746
4774
  }
4747
- return tr.filter((l) => l[0] === "_").map((l) => l.replace(/_/, "")).forEach((l) => {
4775
+ return nr.filter((l) => l[0] === "_").map((l) => l.replace(/_/, "")).forEach((l) => {
4748
4776
  if (l in e && l in t)
4749
- if (te(e[l]) && te(t[l])) {
4777
+ if (re(e[l]) && re(t[l])) {
4750
4778
  const d = Object.keys(e[l]), c = Object.keys(t[l]);
4751
4779
  d.length !== c.length ? o(l) : (d.forEach((u) => {
4752
4780
  e[l][u] !== t[l][u] && o(l);
@@ -4756,29 +4784,29 @@ function wa(e, t, r, n, i) {
4756
4784
  } else e[l] !== t[l] && o(l);
4757
4785
  }), s;
4758
4786
  }
4759
- const Sa = (e) => {
4787
+ const Ia = (e) => {
4760
4788
  !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());
4761
4789
  };
4762
- function Oe() {
4763
- return Oe = Object.assign ? Object.assign.bind() : function(e) {
4790
+ function Me() {
4791
+ return Me = Object.assign ? Object.assign.bind() : function(e) {
4764
4792
  for (var t = 1; t < arguments.length; t++) {
4765
4793
  var r = arguments[t];
4766
4794
  for (var n in r)
4767
4795
  Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
4768
4796
  }
4769
4797
  return e;
4770
- }, Oe.apply(this, arguments);
4798
+ }, Me.apply(this, arguments);
4771
4799
  }
4772
- function ar(e) {
4800
+ function lr(e) {
4773
4801
  return e.type && e.type.displayName && e.type.displayName.includes("SwiperSlide");
4774
4802
  }
4775
- function or(e) {
4803
+ function dr(e) {
4776
4804
  const t = [];
4777
4805
  return A.Children.toArray(e).forEach((r) => {
4778
- ar(r) ? t.push(r) : r.props && r.props.children && or(r.props.children).forEach((n) => t.push(n));
4806
+ lr(r) ? t.push(r) : r.props && r.props.children && dr(r.props.children).forEach((n) => t.push(n));
4779
4807
  }), t;
4780
4808
  }
4781
- function ba(e) {
4809
+ function _a(e) {
4782
4810
  const t = [], r = {
4783
4811
  "container-start": [],
4784
4812
  "container-end": [],
@@ -4786,12 +4814,12 @@ function ba(e) {
4786
4814
  "wrapper-end": []
4787
4815
  };
4788
4816
  return A.Children.toArray(e).forEach((n) => {
4789
- if (ar(n))
4817
+ if (lr(n))
4790
4818
  t.push(n);
4791
4819
  else if (n.props && n.props.slot && r[n.props.slot])
4792
4820
  r[n.props.slot].push(n);
4793
4821
  else if (n.props && n.props.children) {
4794
- const i = or(n.props.children);
4822
+ const i = dr(n.props.children);
4795
4823
  i.length > 0 ? i.forEach((s) => t.push(s)) : r["container-end"].push(n);
4796
4824
  } else
4797
4825
  r["container-end"].push(n);
@@ -4800,7 +4828,7 @@ function ba(e) {
4800
4828
  slots: r
4801
4829
  };
4802
4830
  }
4803
- function Ta(e, t, r) {
4831
+ function Ma(e, t, r) {
4804
4832
  if (!r) return null;
4805
4833
  const n = (c) => {
4806
4834
  let u = c;
@@ -4822,9 +4850,9 @@ function Ta(e, t, r) {
4822
4850
  }));
4823
4851
  }
4824
4852
  function pe(e, t) {
4825
- return typeof window > "u" ? he(e, t) : pr(e, t);
4853
+ return typeof window > "u" ? he(e, t) : mr(e, t);
4826
4854
  }
4827
- const Tt = /* @__PURE__ */ Et(null), ya = /* @__PURE__ */ Et(null), lr = /* @__PURE__ */ xt(function(e, t) {
4855
+ const yt = /* @__PURE__ */ Pt(null), Oa = /* @__PURE__ */ Pt(null), cr = /* @__PURE__ */ Ct(function(e, t) {
4828
4856
  let {
4829
4857
  className: r,
4830
4858
  tag: n = "div",
@@ -4833,111 +4861,111 @@ const Tt = /* @__PURE__ */ Et(null), ya = /* @__PURE__ */ Et(null), lr = /* @__P
4833
4861
  onSwiper: o,
4834
4862
  ...a
4835
4863
  } = e === void 0 ? {} : e, l = !1;
4836
- const [d, c] = ae("swiper"), [u, f] = ae(null), [m, p] = ae(!1), v = V(!1), T = V(null), h = V(null), g = V(null), w = V(null), C = V(null), x = V(null), O = V(null), _ = V(null), {
4864
+ 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), {
4837
4865
  params: P,
4838
4866
  passedParams: E,
4839
4867
  rest: y,
4840
4868
  events: I
4841
- } = ga(a), {
4842
- slides: L,
4869
+ } = Ea(a), {
4870
+ slides: O,
4843
4871
  slots: R
4844
- } = ba(s), H = () => {
4872
+ } = _a(s), j = () => {
4845
4873
  p(!m);
4846
4874
  };
4847
4875
  Object.assign(P.on, {
4848
- _containerClasses(N, W) {
4849
- c(W);
4876
+ _containerClasses(N, U) {
4877
+ c(U);
4850
4878
  }
4851
4879
  });
4852
- const j = () => {
4880
+ const W = () => {
4853
4881
  Object.assign(P.on, I), l = !0;
4854
4882
  const N = {
4855
4883
  ...P
4856
4884
  };
4857
4885
  if (delete N.wrapperClass, h.current = new it(N), h.current.virtual && h.current.params.virtual.enabled) {
4858
- h.current.virtual.slides = L;
4859
- const W = {
4886
+ h.current.virtual.slides = O;
4887
+ const U = {
4860
4888
  cache: !1,
4861
- slides: L,
4889
+ slides: O,
4862
4890
  renderExternal: f,
4863
4891
  renderExternalUpdate: !1
4864
4892
  };
4865
- oe(h.current.params.virtual, W), oe(h.current.originalParams.virtual, W);
4893
+ oe(h.current.params.virtual, U), oe(h.current.originalParams.virtual, U);
4866
4894
  }
4867
4895
  };
4868
- T.current || j(), h.current && h.current.on("_beforeBreakpoint", H);
4869
- const M = () => {
4896
+ T.current || W(), h.current && h.current.on("_beforeBreakpoint", j);
4897
+ const L = () => {
4870
4898
  l || !I || !h.current || Object.keys(I).forEach((N) => {
4871
4899
  h.current.on(N, I[N]);
4872
4900
  });
4873
- }, z = () => {
4901
+ }, k = () => {
4874
4902
  !I || !h.current || Object.keys(I).forEach((N) => {
4875
4903
  h.current.off(N, I[N]);
4876
4904
  });
4877
4905
  };
4878
4906
  he(() => () => {
4879
- h.current && h.current.off("_beforeBreakpoint", H);
4907
+ h.current && h.current.off("_beforeBreakpoint", j);
4880
4908
  }), he(() => {
4881
4909
  !v.current && h.current && (h.current.emitSlidesClasses(), v.current = !0);
4882
4910
  }), pe(() => {
4883
4911
  if (t && (t.current = T.current), !!T.current)
4884
- return h.current.destroyed && j(), va({
4912
+ return h.current.destroyed && W(), Ca({
4885
4913
  el: T.current,
4886
4914
  nextEl: C.current,
4887
4915
  prevEl: x.current,
4888
- paginationEl: O.current,
4916
+ paginationEl: M.current,
4889
4917
  scrollbarEl: _.current,
4890
4918
  swiper: h.current
4891
4919
  }, P), o && !h.current.destroyed && o(h.current), () => {
4892
4920
  h.current && !h.current.destroyed && h.current.destroy(!0, !1);
4893
4921
  };
4894
4922
  }, []), pe(() => {
4895
- M();
4896
- const N = wa(E, g.current, L, w.current, (W) => W.key);
4897
- return g.current = E, w.current = L, N.length && h.current && !h.current.destroyed && ma({
4923
+ L();
4924
+ const N = Pa(E, g.current, O, w.current, (U) => U.key);
4925
+ return g.current = E, w.current = O, N.length && h.current && !h.current.destroyed && xa({
4898
4926
  swiper: h.current,
4899
- slides: L,
4927
+ slides: O,
4900
4928
  passedParams: E,
4901
4929
  changedParams: N,
4902
4930
  nextEl: C.current,
4903
4931
  prevEl: x.current,
4904
4932
  scrollbarEl: _.current,
4905
- paginationEl: O.current
4933
+ paginationEl: M.current
4906
4934
  }), () => {
4907
- z();
4935
+ k();
4908
4936
  };
4909
4937
  }), pe(() => {
4910
- Sa(h.current);
4938
+ Ia(h.current);
4911
4939
  }, [u]);
4912
4940
  function B() {
4913
- return P.virtual ? Ta(h.current, L, u) : L.map((N, W) => /* @__PURE__ */ A.cloneElement(N, {
4941
+ return P.virtual ? Ma(h.current, O, u) : O.map((N, U) => /* @__PURE__ */ A.cloneElement(N, {
4914
4942
  swiper: h.current,
4915
- swiperSlideIndex: W
4943
+ swiperSlideIndex: U
4916
4944
  }));
4917
4945
  }
4918
- return /* @__PURE__ */ A.createElement(n, Oe({
4946
+ return /* @__PURE__ */ A.createElement(n, Me({
4919
4947
  ref: T,
4920
- className: sr(`${d}${r ? ` ${r}` : ""}`)
4921
- }, y), /* @__PURE__ */ A.createElement(ya.Provider, {
4948
+ className: or(`${d}${r ? ` ${r}` : ""}`)
4949
+ }, y), /* @__PURE__ */ A.createElement(Oa.Provider, {
4922
4950
  value: h.current
4923
4951
  }, R["container-start"], /* @__PURE__ */ A.createElement(i, {
4924
- className: ha(P.wrapperClass)
4925
- }, R["wrapper-start"], B(), R["wrapper-end"]), rr(P) && /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement("div", {
4952
+ className: ya(P.wrapperClass)
4953
+ }, R["wrapper-start"], B(), R["wrapper-end"]), ir(P) && /* @__PURE__ */ A.createElement(A.Fragment, null, /* @__PURE__ */ A.createElement("div", {
4926
4954
  ref: x,
4927
4955
  className: "swiper-button-prev"
4928
4956
  }), /* @__PURE__ */ A.createElement("div", {
4929
4957
  ref: C,
4930
4958
  className: "swiper-button-next"
4931
- })), ir(P) && /* @__PURE__ */ A.createElement("div", {
4959
+ })), ar(P) && /* @__PURE__ */ A.createElement("div", {
4932
4960
  ref: _,
4933
4961
  className: "swiper-scrollbar"
4934
- }), nr(P) && /* @__PURE__ */ A.createElement("div", {
4935
- ref: O,
4962
+ }), sr(P) && /* @__PURE__ */ A.createElement("div", {
4963
+ ref: M,
4936
4964
  className: "swiper-pagination"
4937
4965
  }), R["container-end"]));
4938
4966
  });
4939
- lr.displayName = "Swiper";
4940
- const dr = /* @__PURE__ */ xt(function(e, t) {
4967
+ cr.displayName = "Swiper";
4968
+ const ur = /* @__PURE__ */ Ct(function(e, t) {
4941
4969
  let {
4942
4970
  tag: r = "div",
4943
4971
  children: n,
@@ -4949,9 +4977,9 @@ const dr = /* @__PURE__ */ xt(function(e, t) {
4949
4977
  swiperSlideIndex: d,
4950
4978
  ...c
4951
4979
  } = e === void 0 ? {} : e;
4952
- const u = V(null), [f, m] = ae("swiper-slide"), [p, v] = ae(!1);
4953
- function T(C, x, O) {
4954
- x === u.current && m(O);
4980
+ const u = H(null), [f, m] = ae("swiper-slide"), [p, v] = ae(!1);
4981
+ function T(C, x, M) {
4982
+ x === u.current && m(M);
4955
4983
  }
4956
4984
  pe(() => {
4957
4985
  if (typeof d < "u" && (u.current.swiperSlideIndex = d), t && (t.current = u.current), !(!u.current || !s)) {
@@ -4974,66 +5002,66 @@ const dr = /* @__PURE__ */ xt(function(e, t) {
4974
5002
  }, g = () => typeof n == "function" ? n(h) : n, w = () => {
4975
5003
  v(!0);
4976
5004
  };
4977
- return /* @__PURE__ */ A.createElement(r, Oe({
5005
+ return /* @__PURE__ */ A.createElement(r, Me({
4978
5006
  ref: u,
4979
- className: sr(`${f}${i ? ` ${i}` : ""}`),
5007
+ className: or(`${f}${i ? ` ${i}` : ""}`),
4980
5008
  "data-swiper-slide-index": l,
4981
5009
  onLoad: w
4982
- }, c), o && /* @__PURE__ */ A.createElement(Tt.Provider, {
5010
+ }, c), o && /* @__PURE__ */ A.createElement(yt.Provider, {
4983
5011
  value: h
4984
5012
  }, /* @__PURE__ */ A.createElement("div", {
4985
5013
  className: "swiper-zoom-container",
4986
5014
  "data-swiper-zoom": typeof o == "number" ? o : void 0
4987
5015
  }, g(), a && !p && /* @__PURE__ */ A.createElement("div", {
4988
5016
  className: "swiper-lazy-preloader"
4989
- }))), !o && /* @__PURE__ */ A.createElement(Tt.Provider, {
5017
+ }))), !o && /* @__PURE__ */ A.createElement(yt.Provider, {
4990
5018
  value: h
4991
5019
  }, g(), a && !p && /* @__PURE__ */ A.createElement("div", {
4992
5020
  className: "swiper-lazy-preloader"
4993
5021
  })));
4994
5022
  });
4995
- dr.displayName = "SwiperSlide";
4996
- const xa = "sliderTestId", Ea = ({ spaceBetween: e, slidesPerView: t, block: r, breakpoints: n, modules: i, children: s }) => /* @__PURE__ */ b(
4997
- lr,
5023
+ ur.displayName = "SwiperSlide";
5024
+ const La = "sliderTestId", Aa = ({ spaceBetween: e, slidesPerView: t, block: r, breakpoints: n, modules: i, children: s }) => /* @__PURE__ */ b(
5025
+ cr,
4998
5026
  {
4999
- className: k(r, "slider"),
5000
- "data-testid": xa,
5027
+ className: z(r, "slider"),
5028
+ "data-testid": La,
5001
5029
  modules: i,
5002
5030
  spaceBetween: e,
5003
5031
  slidesPerView: t,
5004
5032
  breakpoints: n,
5005
5033
  children: s
5006
5034
  }
5007
- ), so = Object.assign(Ea, {
5008
- Slide: dr
5009
- }), Ca = Object.freeze({
5035
+ ), ho = Object.assign(Aa, {
5036
+ Slide: ur
5037
+ }), Na = Object.freeze({
5010
5038
  LEFT: "left",
5011
5039
  RIGHT: "right"
5012
- }), Pa = "sliderNavigateTestId", Ia = "navigateButtonTestId", _a = {
5013
- left: /* @__PURE__ */ b(U.ArrowNarrowLeft, {}),
5014
- right: /* @__PURE__ */ b(U.ArrowNarrowRight, {})
5015
- }, Oa = ({ placement: e }) => /* @__PURE__ */ b(
5040
+ }), Ra = "sliderNavigateTestId", za = "navigateButtonTestId", ka = {
5041
+ left: /* @__PURE__ */ b(Y.ArrowNarrowLeft, {}),
5042
+ right: /* @__PURE__ */ b(Y.ArrowNarrowRight, {})
5043
+ }, Da = ({ placement: e }) => /* @__PURE__ */ b(
5016
5044
  "button",
5017
5045
  {
5018
- "data-testid": Ia,
5046
+ "data-testid": za,
5019
5047
  type: "button",
5020
5048
  className: "slider-navigate__button",
5021
- children: _a[e]
5049
+ children: ka[e]
5022
5050
  }
5023
- ), ao = () => /* @__PURE__ */ b(
5051
+ ), mo = () => /* @__PURE__ */ b(
5024
5052
  "div",
5025
5053
  {
5026
- "data-testid": Pa,
5054
+ "data-testid": Ra,
5027
5055
  className: "slider-navigate",
5028
- children: Object.values(Ca).map((e) => /* @__PURE__ */ b(
5029
- Oa,
5056
+ children: Object.values(Na).map((e) => /* @__PURE__ */ b(
5057
+ Da,
5030
5058
  {
5031
5059
  placement: e
5032
5060
  },
5033
5061
  e
5034
5062
  ))
5035
5063
  }
5036
- ), La = ({ block: e, isOpen: t, textContent: r, title: n, onClick: i }) => /* @__PURE__ */ F(
5064
+ ), Ba = ({ block: e, isOpen: t, textContent: r, title: n, onClick: i }) => /* @__PURE__ */ $(
5037
5065
  le.Layout,
5038
5066
  {
5039
5067
  isOpen: t,
@@ -5049,8 +5077,8 @@ const xa = "sliderTestId", Ea = ({ spaceBetween: e, slidesPerView: t, block: r,
5049
5077
  /* @__PURE__ */ b(le.Content, { isOpen: t, children: r })
5050
5078
  ]
5051
5079
  }
5052
- ), Ma = ({ isOpen: e, children: t }) => {
5053
- const { style: r, contentRef: n } = _t(e);
5080
+ ), Fa = ({ isOpen: e, children: t }) => {
5081
+ const { style: r, contentRef: n } = Ot(e);
5054
5082
  return /* @__PURE__ */ b(
5055
5083
  "div",
5056
5084
  {
@@ -5066,19 +5094,19 @@ const xa = "sliderTestId", Ea = ({ spaceBetween: e, slidesPerView: t, block: r,
5066
5094
  )
5067
5095
  }
5068
5096
  );
5069
- }, Aa = () => /* @__PURE__ */ b(U.ArrowNarrowDown, { className: "accordion__arrow" }), Na = ({ title: e }) => /* @__PURE__ */ b("h3", { className: "accordion__title", children: e }), Ra = ({ onClick: e, title: t }) => /* @__PURE__ */ F(le.Button, { onClick: e, children: [
5097
+ }, $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: [
5070
5098
  /* @__PURE__ */ b(le.Title, { title: t }),
5071
5099
  /* @__PURE__ */ b(le.Arrow, {})
5072
- ] }), ka = "accordionTestId", za = ({ block: e, isOpen: t, children: r }) => /* @__PURE__ */ b(
5100
+ ] }), Ha = "accordionTestId", ja = ({ block: e, isOpen: t, children: r }) => /* @__PURE__ */ b(
5073
5101
  "div",
5074
5102
  {
5075
- "data-testid": ka,
5076
- className: k(e, "accordion", {
5103
+ "data-testid": Ha,
5104
+ className: z(e, "accordion", {
5077
5105
  _active: t
5078
5106
  }),
5079
5107
  children: r
5080
5108
  }
5081
- ), Da = ({ onClick: e, children: t }) => /* @__PURE__ */ b(
5109
+ ), Wa = ({ onClick: e, children: t }) => /* @__PURE__ */ b(
5082
5110
  "button",
5083
5111
  {
5084
5112
  onClick: e,
@@ -5086,50 +5114,50 @@ const xa = "sliderTestId", Ea = ({ spaceBetween: e, slidesPerView: t, block: r,
5086
5114
  className: "accordion__button",
5087
5115
  children: t
5088
5116
  }
5089
- ), le = Object.assign(La, {
5090
- Content: Ma,
5091
- Arrow: Aa,
5092
- Title: Na,
5093
- Block: Ra,
5094
- Layout: za,
5095
- Button: Da
5117
+ ), le = Object.assign(Ba, {
5118
+ Content: Fa,
5119
+ Arrow: $a,
5120
+ Title: Ga,
5121
+ Block: Va,
5122
+ Layout: ja,
5123
+ Button: Wa
5096
5124
  });
5097
5125
  export {
5098
5126
  le as Accordion,
5099
- Mt as Button,
5100
- ln as ButtonWithIcon,
5101
- Ka as CATEGORIES_LIST,
5102
- Or as CATEGORY_TEST_ID,
5103
- Qa as Category,
5127
+ Nt as Button,
5128
+ gn as ButtonWithIcon,
5129
+ io as CATEGORIES_LIST,
5130
+ Fr as CATEGORY_TEST_ID,
5131
+ ao as Category,
5104
5132
  Ne as Checkbox,
5105
5133
  Se as Dropdown,
5106
- Za as FavButton,
5107
- ot as Field,
5134
+ oo as FavButton,
5135
+ lt as Field,
5108
5136
  ce as FilterAccordion,
5109
- eo as FilterButton,
5110
- to as Gallery,
5111
- U as Icons,
5112
- cn as Input,
5113
- ro as LinkWithIcon,
5114
- no as NavLink,
5137
+ lo as FilterButton,
5138
+ co as Gallery,
5139
+ Y as Icons,
5140
+ wn as Input,
5141
+ uo as LinkWithIcon,
5142
+ fo as NavLink,
5115
5143
  ye as Pagination,
5116
- io as RangeSlider,
5117
- Ii as RouterLink,
5144
+ po as RangeSlider,
5145
+ zi as RouterLink,
5118
5146
  se as Select,
5119
- so as Slider,
5120
- ao as SliderNavigate,
5121
- gr as capitalizeFirstLetter,
5122
- k as cn,
5123
- Ya as dropdownOptionsMock,
5124
- Ua as imagesMock,
5125
- Wa as pageSizeMock,
5126
- qa as rangeSliderArrayMock,
5127
- Ha as selectOptionsMock,
5128
- Xa as sliderSlideArrayMock,
5129
- ja as totalCountPageMock,
5130
- _t as useAccordionHeight,
5131
- Ot as useClickOutside,
5132
- Ja as useMatchMedia,
5133
- It as withBlockClass
5147
+ ho as Slider,
5148
+ mo as SliderNavigate,
5149
+ wr as capitalizeFirstLetter,
5150
+ z as cn,
5151
+ to as dropdownOptionsMock,
5152
+ eo as imagesMock,
5153
+ Za as pageSizeMock,
5154
+ ro as rangeSliderArrayMock,
5155
+ Ja as selectOptionsMock,
5156
+ no as sliderSlideArrayMock,
5157
+ Qa as totalCountPageMock,
5158
+ Ot as useAccordionHeight,
5159
+ Lt as useClickOutside,
5160
+ so as useMatchMedia,
5161
+ Mt as withBlockClass
5134
5162
  };
5135
5163
  //# sourceMappingURL=index.es.js.map