zudoku 0.12.2 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/dist/app/main.js +3 -3
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/cli/dev/handler.js +2 -2
  4. package/dist/cli/dev/handler.js.map +1 -1
  5. package/dist/config/validators/validate.d.ts +42 -23
  6. package/dist/config/validators/validate.js +6 -2
  7. package/dist/config/validators/validate.js.map +1 -1
  8. package/dist/index.d.ts +1 -0
  9. package/dist/lib/components/Banner.js +7 -1
  10. package/dist/lib/components/Banner.js.map +1 -1
  11. package/dist/lib/components/Header.js +1 -1
  12. package/dist/lib/components/Header.js.map +1 -1
  13. package/dist/lib/components/Layout.js +1 -1
  14. package/dist/lib/components/Layout.js.map +1 -1
  15. package/dist/lib/components/MobileTopNavigation.js +2 -1
  16. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  17. package/dist/lib/components/Search.js +1 -1
  18. package/dist/lib/components/Search.js.map +1 -1
  19. package/dist/lib/components/SlotletProvider.d.ts +9 -2
  20. package/dist/lib/components/SlotletProvider.js +4 -2
  21. package/dist/lib/components/SlotletProvider.js.map +1 -1
  22. package/dist/lib/components/index.d.ts +2 -1
  23. package/dist/lib/components/index.js.map +1 -1
  24. package/dist/lib/core/DevPortalContext.d.ts +1 -1
  25. package/dist/lib/oas/graphql/index.js +2 -6
  26. package/dist/lib/oas/graphql/index.js.map +1 -1
  27. package/dist/lib/plugins/custom-pages/CustomPage.d.ts +2 -0
  28. package/dist/lib/plugins/custom-pages/CustomPage.js +10 -0
  29. package/dist/lib/plugins/custom-pages/CustomPage.js.map +1 -0
  30. package/dist/lib/plugins/custom-pages/index.d.ts +10 -0
  31. package/dist/lib/plugins/custom-pages/index.js +11 -0
  32. package/dist/lib/plugins/custom-pages/index.js.map +1 -0
  33. package/dist/lib/plugins/openapi/Endpoint.js +1 -1
  34. package/dist/lib/plugins/openapi/Endpoint.js.map +1 -1
  35. package/dist/lib/plugins/openapi/OperationList.js +1 -1
  36. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  37. package/dist/lib/plugins/openapi/Route.d.ts +1 -1
  38. package/dist/lib/plugins/openapi/Route.js +1 -1
  39. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  40. package/dist/lib/plugins/openapi/Sidecar.js +1 -1
  41. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  42. package/dist/lib/plugins/openapi/client/createMemoryClient.js +1 -1
  43. package/dist/lib/plugins/openapi/client/createMemoryClient.js.map +1 -1
  44. package/dist/lib/plugins/openapi/client/createWorkerClient.js +1 -1
  45. package/dist/lib/plugins/openapi/client/createWorkerClient.js.map +1 -1
  46. package/dist/lib/plugins/openapi/index.js +1 -1
  47. package/dist/lib/plugins/openapi/index.js.map +1 -1
  48. package/dist/lib/ui/Callout.d.ts +36 -35
  49. package/dist/lib/ui/Callout.js.map +1 -1
  50. package/dist/lib/ui/Drawer.d.ts +8 -10
  51. package/dist/lib/ui/Drawer.js.map +1 -1
  52. package/dist/lib/util/useExposedProps.d.ts +2 -0
  53. package/dist/lib/util/useExposedProps.js +8 -0
  54. package/dist/lib/util/useExposedProps.js.map +1 -0
  55. package/dist/vite/config.js +2 -0
  56. package/dist/vite/config.js.map +1 -1
  57. package/dist/vite/dev-server.d.ts +6 -1
  58. package/dist/vite/dev-server.js +13 -3
  59. package/dist/vite/dev-server.js.map +1 -1
  60. package/dist/vite/plugin-component.js +0 -1
  61. package/dist/vite/plugin-component.js.map +1 -1
  62. package/dist/vite/plugin-custom-pages.d.ts +4 -0
  63. package/dist/vite/plugin-custom-pages.js +30 -0
  64. package/dist/vite/plugin-custom-pages.js.map +1 -0
  65. package/dist/vite/plugin.js +2 -0
  66. package/dist/vite/plugin.js.map +1 -1
  67. package/lib/{AuthenticationPlugin-Bx9FK124.js → AuthenticationPlugin-CbgJ5SAh.js} +3 -3
  68. package/lib/{AuthenticationPlugin-Bx9FK124.js.map → AuthenticationPlugin-CbgJ5SAh.js.map} +1 -1
  69. package/lib/{DeveloperHint-YeWHKvyr.js → DeveloperHint-CiXPc9Xm.js} +2 -2
  70. package/lib/{DeveloperHint-YeWHKvyr.js.map → DeveloperHint-CiXPc9Xm.js.map} +1 -1
  71. package/lib/ErrorPage-B-zoPPVx.js +15 -0
  72. package/lib/{ErrorPage-CsZAN_za.js.map → ErrorPage-B-zoPPVx.js.map} +1 -1
  73. package/lib/Input-QMLhK7Rb.js +2229 -0
  74. package/lib/Input-QMLhK7Rb.js.map +1 -0
  75. package/lib/{Markdown-DapSf3wG.js → Markdown-D6Nze6qq.js} +3281 -5392
  76. package/lib/Markdown-D6Nze6qq.js.map +1 -0
  77. package/lib/{MdxPage-BqBWsXZ1.js → MdxPage-DBhq6-5F.js} +15 -15
  78. package/lib/{MdxPage-BqBWsXZ1.js.map → MdxPage-DBhq6-5F.js.map} +1 -1
  79. package/lib/{OperationList-CYrmxPa8.js → OperationList-Ba24gUd2.js} +50 -51
  80. package/lib/OperationList-Ba24gUd2.js.map +1 -0
  81. package/lib/{Route-Q5mqNQrv.js → Route-DI38nxYt.js} +3 -4
  82. package/lib/Route-DI38nxYt.js.map +1 -0
  83. package/lib/SidebarBadge-B9-VJSQr.js +503 -0
  84. package/lib/SidebarBadge-B9-VJSQr.js.map +1 -0
  85. package/lib/{SlotletProvider-D3UD5Go3.js → SlotletProvider-Cb8mGpBO.js} +46 -46
  86. package/lib/{SlotletProvider-D3UD5Go3.js.map → SlotletProvider-Cb8mGpBO.js.map} +1 -1
  87. package/lib/ZudokuContext-BEmsYQoq.js +1173 -0
  88. package/lib/ZudokuContext-BEmsYQoq.js.map +1 -0
  89. package/lib/assets/{index-B9EWVYfo.js → index-B_Jk_Yzp.js} +968 -938
  90. package/lib/assets/index-B_Jk_Yzp.js.map +1 -0
  91. package/lib/assets/{worker-Bcj4NA2p.js → worker-Bf8vjASY.js} +4582 -4303
  92. package/lib/assets/worker-Bf8vjASY.js.map +1 -0
  93. package/lib/cn-BmFQLtkS.js +2279 -0
  94. package/lib/cn-BmFQLtkS.js.map +1 -0
  95. package/lib/{index-BG0g4WW0.js → index-BRCiYFaL.js} +747 -737
  96. package/lib/index-BRCiYFaL.js.map +1 -0
  97. package/lib/{index-CLd8ycZz.js → index-CkwDvuPt.js} +947 -917
  98. package/lib/index-CkwDvuPt.js.map +1 -0
  99. package/lib/{index-LNp6rxyU.js → index-D06ATMgg.js} +2 -2
  100. package/lib/{index-LNp6rxyU.js.map → index-D06ATMgg.js.map} +1 -1
  101. package/lib/{index-BlJ2rj99.js → index-DA74gNq3.js} +1124 -974
  102. package/lib/index-DA74gNq3.js.map +1 -0
  103. package/lib/index-DJqnphbT.js +35 -0
  104. package/lib/{index-Bn6Lc9tq.js.map → index-DJqnphbT.js.map} +1 -1
  105. package/lib/{index-BngPzhKn.js → index-dgcPryXi.js} +3 -3
  106. package/lib/{index-BngPzhKn.js.map → index-dgcPryXi.js.map} +1 -1
  107. package/lib/{index-Dolisrci.js → index-g_JJcuFg.js} +603 -549
  108. package/lib/index-g_JJcuFg.js.map +1 -0
  109. package/lib/router-Oe6YmY6B.js +3024 -0
  110. package/lib/router-Oe6YmY6B.js.map +1 -0
  111. package/lib/state-CsuHT8ZO.js +183 -0
  112. package/lib/state-CsuHT8ZO.js.map +1 -0
  113. package/lib/urql-core-KJnLL26g.js +1455 -0
  114. package/lib/urql-core-KJnLL26g.js.map +1 -0
  115. package/lib/useExposedProps-Csw8oAlt.js +9 -0
  116. package/lib/useExposedProps-Csw8oAlt.js.map +1 -0
  117. package/lib/{utils-ByIc_KIM.js → utils-Chi3p5nE.js} +4 -4
  118. package/lib/utils-Chi3p5nE.js.map +1 -0
  119. package/lib/zudoku.auth-auth0.js +1 -1
  120. package/lib/zudoku.auth-clerk.js +2 -2
  121. package/lib/zudoku.auth-openid.js +363 -350
  122. package/lib/zudoku.auth-openid.js.map +1 -1
  123. package/lib/zudoku.components.js +1697 -1623
  124. package/lib/zudoku.components.js.map +1 -1
  125. package/lib/zudoku.openapi-worker.js +4599 -4319
  126. package/lib/zudoku.openapi-worker.js.map +1 -1
  127. package/lib/zudoku.plugin-api-keys.js +7 -7
  128. package/lib/zudoku.plugin-custom-pages.js +21 -0
  129. package/lib/zudoku.plugin-custom-pages.js.map +1 -0
  130. package/lib/zudoku.plugin-markdown.js +1 -1
  131. package/lib/zudoku.plugin-openapi.js +8 -8
  132. package/lib/zudoku.plugin-redirect.js +1 -1
  133. package/package.json +61 -68
  134. package/src/app/main.tsx +3 -3
  135. package/src/lib/components/Banner.tsx +12 -2
  136. package/src/lib/components/Header.tsx +4 -2
  137. package/src/lib/components/Layout.tsx +1 -0
  138. package/src/lib/components/MobileTopNavigation.tsx +4 -0
  139. package/src/lib/components/Search.tsx +1 -1
  140. package/src/lib/components/SlotletProvider.tsx +27 -4
  141. package/src/lib/components/index.ts +1 -1
  142. package/src/lib/core/DevPortalContext.ts +1 -1
  143. package/src/lib/oas/graphql/index.ts +3 -11
  144. package/src/lib/plugins/custom-pages/CustomPage.tsx +15 -0
  145. package/src/lib/plugins/custom-pages/index.tsx +24 -0
  146. package/src/lib/plugins/openapi/Endpoint.tsx +1 -1
  147. package/src/lib/plugins/openapi/OperationList.tsx +1 -1
  148. package/src/lib/plugins/openapi/Route.tsx +1 -2
  149. package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
  150. package/src/lib/plugins/openapi/client/createMemoryClient.ts +1 -6
  151. package/src/lib/plugins/openapi/client/createWorkerClient.ts +1 -6
  152. package/src/lib/plugins/openapi/index.tsx +1 -5
  153. package/src/lib/ui/Callout.tsx +7 -6
  154. package/src/lib/ui/Drawer.tsx +38 -36
  155. package/src/lib/util/useExposedProps.tsx +10 -0
  156. package/dist/lib/plugins/custom-page/index.d.ts +0 -8
  157. package/dist/lib/plugins/custom-page/index.js +0 -12
  158. package/dist/lib/plugins/custom-page/index.js.map +0 -1
  159. package/dist/lib/plugins/openapi/playground/Editor.d.ts +0 -1
  160. package/dist/lib/plugins/openapi/playground/Editor.js +0 -5
  161. package/dist/lib/plugins/openapi/playground/Editor.js.map +0 -1
  162. package/dist/lib/plugins/openapi/util/urql.d.ts +0 -7
  163. package/dist/lib/plugins/openapi/util/urql.js +0 -8
  164. package/dist/lib/plugins/openapi/util/urql.js.map +0 -1
  165. package/lib/CategoryHeading-ovR-zHRq.js +0 -10
  166. package/lib/CategoryHeading-ovR-zHRq.js.map +0 -1
  167. package/lib/ErrorPage-CsZAN_za.js +0 -16
  168. package/lib/Input-CtVUl3eT.js +0 -2198
  169. package/lib/Input-CtVUl3eT.js.map +0 -1
  170. package/lib/Markdown-DapSf3wG.js.map +0 -1
  171. package/lib/OperationList-CYrmxPa8.js.map +0 -1
  172. package/lib/Route-Q5mqNQrv.js.map +0 -1
  173. package/lib/SidebarBadge-Dx7jtnoA.js +0 -498
  174. package/lib/SidebarBadge-Dx7jtnoA.js.map +0 -1
  175. package/lib/ZudokuContext-cr-pTRY1.js +0 -1084
  176. package/lib/ZudokuContext-cr-pTRY1.js.map +0 -1
  177. package/lib/_commonjsHelpers-BkfeUUK-.js +0 -29
  178. package/lib/_commonjsHelpers-BkfeUUK-.js.map +0 -1
  179. package/lib/assets/index-B9EWVYfo.js.map +0 -1
  180. package/lib/assets/worker-Bcj4NA2p.js.map +0 -1
  181. package/lib/index-BG0g4WW0.js.map +0 -1
  182. package/lib/index-BlJ2rj99.js.map +0 -1
  183. package/lib/index-Bn6Lc9tq.js +0 -9
  184. package/lib/index-CLd8ycZz.js.map +0 -1
  185. package/lib/index-Dolisrci.js.map +0 -1
  186. package/lib/router-D2p7Olpn.js +0 -2971
  187. package/lib/router-D2p7Olpn.js.map +0 -1
  188. package/lib/state-hNe1dw4B.js +0 -548
  189. package/lib/state-hNe1dw4B.js.map +0 -1
  190. package/lib/urql-YhcsXYy8.js +0 -1591
  191. package/lib/urql-YhcsXYy8.js.map +0 -1
  192. package/lib/utils-ByIc_KIM.js.map +0 -1
  193. package/lib/zudoku.plugin-custom-page.js +0 -13
  194. package/lib/zudoku.plugin-custom-page.js.map +0 -1
  195. package/src/lib/plugins/custom-page/index.tsx +0 -22
  196. package/src/lib/plugins/openapi/playground/Editor.tsx +0 -4
  197. package/src/lib/plugins/openapi/util/urql.ts +0 -8
@@ -3,12 +3,13 @@ var wt = (e) => {
3
3
  };
4
4
  var He = (e, t, n) => t.has(e) || wt("Cannot " + n);
5
5
  var L = (e, t, n) => (He(e, t, "read from private field"), n ? n.call(e) : t.get(e)), we = (e, t, n) => t.has(e) ? wt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), xe = (e, t, n, r) => (He(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), q = (e, t, n) => (He(e, t, "access private method"), n);
6
- import { j as P } from "./jsx-runtime-B6kdoens.js";
7
- import { a as Nn, e as Dn } from "./Markdown-DapSf3wG.js";
8
- import * as u from "react";
9
- import ie, { useLayoutEffect as kn, useEffect as Fn, useState as In } from "react";
10
- import { R as Wn, y as _n, n as Bn, u as jn } from "./ZudokuContext-cr-pTRY1.js";
11
- import { u as $n } from "./state-hNe1dw4B.js";
6
+ import { j as R } from "./jsx-runtime-B6kdoens.js";
7
+ import { e as Nn } from "./Markdown-D6Nze6qq.js";
8
+ import * as f from "react";
9
+ import ie, { useLayoutEffect as Dn, useEffect as kn, useState as Fn } from "react";
10
+ import { c as In } from "./cn-BmFQLtkS.js";
11
+ import { R as _n, y as Wn, n as Bn, u as jn } from "./ZudokuContext-BEmsYQoq.js";
12
+ import { u as $n } from "./state-CsuHT8ZO.js";
12
13
  import * as Ht from "react-dom";
13
14
  import Hn from "react-dom";
14
15
  function Vn(e, t) {
@@ -18,33 +19,33 @@ function Vt(...e) {
18
19
  return (t) => e.forEach((n) => Vn(n, t));
19
20
  }
20
21
  function ce(...e) {
21
- return u.useCallback(Vt(...e), e);
22
+ return f.useCallback(Vt(...e), e);
22
23
  }
23
- var be = u.forwardRef((e, t) => {
24
- const { children: n, ...r } = e, o = u.Children.toArray(n), i = o.find(Un);
24
+ var be = f.forwardRef((e, t) => {
25
+ const { children: n, ...r } = e, o = f.Children.toArray(n), i = o.find(Un);
25
26
  if (i) {
26
- const s = i.props.children, c = o.map((a) => a === i ? u.Children.count(s) > 1 ? u.Children.only(null) : u.isValidElement(s) ? s.props.children : null : a);
27
- return /* @__PURE__ */ P.jsx(Qe, { ...r, ref: t, children: u.isValidElement(s) ? u.cloneElement(s, void 0, c) : null });
27
+ const s = i.props.children, c = o.map((a) => a === i ? f.Children.count(s) > 1 ? f.Children.only(null) : f.isValidElement(s) ? s.props.children : null : a);
28
+ return /* @__PURE__ */ R.jsx(Qe, { ...r, ref: t, children: f.isValidElement(s) ? f.cloneElement(s, void 0, c) : null });
28
29
  }
29
- return /* @__PURE__ */ P.jsx(Qe, { ...r, ref: t, children: n });
30
+ return /* @__PURE__ */ R.jsx(Qe, { ...r, ref: t, children: n });
30
31
  });
31
32
  be.displayName = "Slot";
32
- var Qe = u.forwardRef((e, t) => {
33
+ var Qe = f.forwardRef((e, t) => {
33
34
  const { children: n, ...r } = e;
34
- if (u.isValidElement(n)) {
35
+ if (f.isValidElement(n)) {
35
36
  const o = Xn(n);
36
- return u.cloneElement(n, {
37
+ return f.cloneElement(n, {
37
38
  ...Yn(r, n.props),
38
39
  // @ts-ignore
39
40
  ref: t ? Vt(t, o) : o
40
41
  });
41
42
  }
42
- return u.Children.count(n) > 1 ? u.Children.only(null) : null;
43
+ return f.Children.count(n) > 1 ? f.Children.only(null) : null;
43
44
  });
44
45
  Qe.displayName = "SlotClone";
45
- var zn = ({ children: e }) => /* @__PURE__ */ P.jsx(P.Fragment, { children: e });
46
+ var zn = ({ children: e }) => /* @__PURE__ */ R.jsx(R.Fragment, { children: e });
46
47
  function Un(e) {
47
- return u.isValidElement(e) && e.type === zn;
48
+ return f.isValidElement(e) && e.type === zn;
48
49
  }
49
50
  function Yn(e, t) {
50
51
  const n = { ...t };
@@ -61,7 +62,7 @@ function Xn(e) {
61
62
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
62
63
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
63
64
  }
64
- const Kn = Dn(
65
+ const Kn = Nn(
65
66
  "not-prose inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
66
67
  {
67
68
  variants: {
@@ -86,13 +87,13 @@ const Kn = Dn(
86
87
  size: "default"
87
88
  }
88
89
  }
89
- ), Gn = u.forwardRef(
90
+ ), Gn = f.forwardRef(
90
91
  ({ className: e, variant: t, size: n, asChild: r = !1, ...o }, i) => {
91
92
  const s = r ? be : "button";
92
- return /* @__PURE__ */ P.jsx(
93
+ return /* @__PURE__ */ R.jsx(
93
94
  s,
94
95
  {
95
- className: Nn(Kn({ variant: t, size: n, className: e })),
96
+ className: In(Kn({ variant: t, size: n, className: e })),
96
97
  ref: i,
97
98
  ...o
98
99
  }
@@ -100,7 +101,7 @@ const Kn = Dn(
100
101
  }
101
102
  );
102
103
  Gn.displayName = "Button";
103
- var H, F, se, V, Q, $t, wi = ($t = class extends Wn {
104
+ var H, F, se, V, Q, $t, bi = ($t = class extends _n {
104
105
  constructor(t) {
105
106
  super();
106
107
  we(this, V);
@@ -138,8 +139,8 @@ var H, F, se, V, Q, $t, wi = ($t = class extends Wn {
138
139
  this.execute(this.state.variables);
139
140
  }
140
141
  async execute(t) {
141
- var o, i, s, c, a, l, h, d, p, m, g, f, v, y, w, b, x, E, C, S;
142
- xe(this, se, _n({
142
+ var o, i, s, c, a, l, h, d, p, m, v, u, g, y, w, b, x, E, C, S;
143
+ xe(this, se, Wn({
143
144
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
144
145
  onFail: (A, O) => {
145
146
  q(this, V, Q).call(this, { type: "failed", failureCount: A, error: O });
@@ -185,11 +186,11 @@ var H, F, se, V, Q, $t, wi = ($t = class extends Wn {
185
186
  this.state.variables,
186
187
  this.state.context,
187
188
  this
188
- )), await ((f = (g = this.options).onSettled) == null ? void 0 : f.call(g, A, null, t, this.state.context)), q(this, V, Q).call(this, { type: "success", data: A }), A;
189
+ )), await ((u = (v = this.options).onSettled) == null ? void 0 : u.call(v, A, null, t, this.state.context)), q(this, V, Q).call(this, { type: "success", data: A }), A;
189
190
  } catch (A) {
190
191
  try {
191
- throw await ((y = (v = L(this, F).config).onError) == null ? void 0 : y.call(
192
- v,
192
+ throw await ((y = (g = L(this, F).config).onError) == null ? void 0 : y.call(
193
+ g,
193
194
  A,
194
195
  t,
195
196
  this.state.context,
@@ -297,7 +298,7 @@ function Zn() {
297
298
  submittedAt: 0
298
299
  };
299
300
  }
300
- const xi = () => {
301
+ const Ei = () => {
301
302
  const { authentication: e } = jn(), t = $n(), n = typeof e < "u";
302
303
  return {
303
304
  isAuthEnabled: n,
@@ -322,42 +323,45 @@ function Ve(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
322
323
  return t == null ? void 0 : t(o);
323
324
  };
324
325
  }
325
- function bi(e, t) {
326
- const n = u.createContext(t);
327
- function r(i) {
328
- const { children: s, ...c } = i, a = u.useMemo(() => c, Object.values(c));
329
- return /* @__PURE__ */ P.jsx(n.Provider, { value: a, children: s });
330
- }
326
+ function Ci(e, t) {
327
+ const n = f.createContext(t), r = (i) => {
328
+ const { children: s, ...c } = i, a = f.useMemo(() => c, Object.values(c));
329
+ return /* @__PURE__ */ R.jsx(n.Provider, { value: a, children: s });
330
+ };
331
+ r.displayName = e + "Provider";
331
332
  function o(i) {
332
- const s = u.useContext(n);
333
+ const s = f.useContext(n);
333
334
  if (s) return s;
334
335
  if (t !== void 0) return t;
335
336
  throw new Error(`\`${i}\` must be used within \`${e}\``);
336
337
  }
337
- return r.displayName = e + "Provider", [r, o];
338
+ return [r, o];
338
339
  }
339
- function zt(e, t = []) {
340
+ function Si(e, t = []) {
340
341
  let n = [];
341
342
  function r(i, s) {
342
- const c = u.createContext(s), a = n.length;
343
+ const c = f.createContext(s), a = n.length;
343
344
  n = [...n, s];
344
- function l(d) {
345
- const { scope: p, children: m, ...g } = d, f = (p == null ? void 0 : p[e][a]) || c, v = u.useMemo(() => g, Object.values(g));
346
- return /* @__PURE__ */ P.jsx(f.Provider, { value: v, children: m });
347
- }
345
+ const l = (d) => {
346
+ var y;
347
+ const { scope: p, children: m, ...v } = d, u = ((y = p == null ? void 0 : p[e]) == null ? void 0 : y[a]) || c, g = f.useMemo(() => v, Object.values(v));
348
+ return /* @__PURE__ */ R.jsx(u.Provider, { value: g, children: m });
349
+ };
350
+ l.displayName = i + "Provider";
348
351
  function h(d, p) {
349
- const m = (p == null ? void 0 : p[e][a]) || c, g = u.useContext(m);
350
- if (g) return g;
352
+ var u;
353
+ const m = ((u = p == null ? void 0 : p[e]) == null ? void 0 : u[a]) || c, v = f.useContext(m);
354
+ if (v) return v;
351
355
  if (s !== void 0) return s;
352
356
  throw new Error(`\`${d}\` must be used within \`${i}\``);
353
357
  }
354
- return l.displayName = i + "Provider", [l, h];
358
+ return [l, h];
355
359
  }
356
360
  const o = () => {
357
- const i = n.map((s) => u.createContext(s));
361
+ const i = n.map((s) => f.createContext(s));
358
362
  return function(c) {
359
363
  const a = (c == null ? void 0 : c[e]) || i;
360
- return u.useMemo(
364
+ return f.useMemo(
361
365
  () => ({ [`__scope${e}`]: { ...c, [e]: a } }),
362
366
  [c, a]
363
367
  );
@@ -378,27 +382,27 @@ function qn(...e) {
378
382
  const d = a(i)[`__scope${l}`];
379
383
  return { ...c, ...d };
380
384
  }, {});
381
- return u.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
385
+ return f.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
382
386
  };
383
387
  };
384
388
  return n.scopeName = t.scopeName, n;
385
389
  }
386
390
  function ee(e) {
387
- const t = u.useRef(e);
388
- return u.useEffect(() => {
391
+ const t = f.useRef(e);
392
+ return f.useEffect(() => {
389
393
  t.current = e;
390
- }), u.useMemo(() => (...n) => {
394
+ }), f.useMemo(() => (...n) => {
391
395
  var r;
392
396
  return (r = t.current) == null ? void 0 : r.call(t, ...n);
393
397
  }, []);
394
398
  }
395
- function Ei({
399
+ function Ai({
396
400
  prop: e,
397
401
  defaultProp: t,
398
402
  onChange: n = () => {
399
403
  }
400
404
  }) {
401
- const [r, o] = Qn({ defaultProp: t, onChange: n }), i = e !== void 0, s = i ? e : r, c = ee(n), a = u.useCallback(
405
+ const [r, o] = Qn({ defaultProp: t, onChange: n }), i = e !== void 0, s = i ? e : r, c = ee(n), a = f.useCallback(
402
406
  (l) => {
403
407
  if (i) {
404
408
  const d = typeof l == "function" ? l(e) : l;
@@ -414,8 +418,8 @@ function Qn({
414
418
  defaultProp: e,
415
419
  onChange: t
416
420
  }) {
417
- const n = u.useState(e), [r] = n, o = u.useRef(r), i = ee(t);
418
- return u.useEffect(() => {
421
+ const n = f.useState(e), [r] = n, o = f.useRef(r), i = ee(t);
422
+ return f.useEffect(() => {
419
423
  o.current !== r && (i(r), o.current = r);
420
424
  }, [r, o, i]), n;
421
425
  }
@@ -437,48 +441,95 @@ var Jn = [
437
441
  "svg",
438
442
  "ul"
439
443
  ], oe = Jn.reduce((e, t) => {
440
- const n = u.forwardRef((r, o) => {
444
+ const n = f.forwardRef((r, o) => {
441
445
  const { asChild: i, ...s } = r, c = i ? be : t;
442
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ P.jsx(c, { ...s, ref: o });
446
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ R.jsx(c, { ...s, ref: o });
443
447
  });
444
448
  return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
445
449
  }, {});
446
450
  function er(e, t) {
447
451
  e && Ht.flushSync(() => e.dispatchEvent(t));
448
452
  }
449
- function Ci(e) {
453
+ function zt(e, t = []) {
454
+ let n = [];
455
+ function r(i, s) {
456
+ const c = f.createContext(s), a = n.length;
457
+ n = [...n, s];
458
+ function l(d) {
459
+ const { scope: p, children: m, ...v } = d, u = (p == null ? void 0 : p[e][a]) || c, g = f.useMemo(() => v, Object.values(v));
460
+ return /* @__PURE__ */ R.jsx(u.Provider, { value: g, children: m });
461
+ }
462
+ function h(d, p) {
463
+ const m = (p == null ? void 0 : p[e][a]) || c, v = f.useContext(m);
464
+ if (v) return v;
465
+ if (s !== void 0) return s;
466
+ throw new Error(`\`${d}\` must be used within \`${i}\``);
467
+ }
468
+ return l.displayName = i + "Provider", [l, h];
469
+ }
470
+ const o = () => {
471
+ const i = n.map((s) => f.createContext(s));
472
+ return function(c) {
473
+ const a = (c == null ? void 0 : c[e]) || i;
474
+ return f.useMemo(
475
+ () => ({ [`__scope${e}`]: { ...c, [e]: a } }),
476
+ [c, a]
477
+ );
478
+ };
479
+ };
480
+ return o.scopeName = e, [r, tr(o, ...t)];
481
+ }
482
+ function tr(...e) {
483
+ const t = e[0];
484
+ if (e.length === 1) return t;
485
+ const n = () => {
486
+ const r = e.map((o) => ({
487
+ useScope: o(),
488
+ scopeName: o.scopeName
489
+ }));
490
+ return function(i) {
491
+ const s = r.reduce((c, { useScope: a, scopeName: l }) => {
492
+ const d = a(i)[`__scope${l}`];
493
+ return { ...c, ...d };
494
+ }, {});
495
+ return f.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
496
+ };
497
+ };
498
+ return n.scopeName = t.scopeName, n;
499
+ }
500
+ function Pi(e) {
450
501
  const t = e + "CollectionProvider", [n, r] = zt(t), [o, i] = n(
451
502
  t,
452
503
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
453
504
  ), s = (m) => {
454
- const { scope: g, children: f } = m, v = ie.useRef(null), y = ie.useRef(/* @__PURE__ */ new Map()).current;
455
- return /* @__PURE__ */ P.jsx(o, { scope: g, itemMap: y, collectionRef: v, children: f });
505
+ const { scope: v, children: u } = m, g = ie.useRef(null), y = ie.useRef(/* @__PURE__ */ new Map()).current;
506
+ return /* @__PURE__ */ R.jsx(o, { scope: v, itemMap: y, collectionRef: g, children: u });
456
507
  };
457
508
  s.displayName = t;
458
509
  const c = e + "CollectionSlot", a = ie.forwardRef(
459
- (m, g) => {
460
- const { scope: f, children: v } = m, y = i(c, f), w = ce(g, y.collectionRef);
461
- return /* @__PURE__ */ P.jsx(be, { ref: w, children: v });
510
+ (m, v) => {
511
+ const { scope: u, children: g } = m, y = i(c, u), w = ce(v, y.collectionRef);
512
+ return /* @__PURE__ */ R.jsx(be, { ref: w, children: g });
462
513
  }
463
514
  );
464
515
  a.displayName = c;
465
516
  const l = e + "CollectionItemSlot", h = "data-radix-collection-item", d = ie.forwardRef(
466
- (m, g) => {
467
- const { scope: f, children: v, ...y } = m, w = ie.useRef(null), b = ce(g, w), x = i(l, f);
468
- return ie.useEffect(() => (x.itemMap.set(w, { ref: w, ...y }), () => void x.itemMap.delete(w))), /* @__PURE__ */ P.jsx(be, { [h]: "", ref: b, children: v });
517
+ (m, v) => {
518
+ const { scope: u, children: g, ...y } = m, w = ie.useRef(null), b = ce(v, w), x = i(l, u);
519
+ return ie.useEffect(() => (x.itemMap.set(w, { ref: w, ...y }), () => void x.itemMap.delete(w))), /* @__PURE__ */ R.jsx(be, { [h]: "", ref: b, children: g });
469
520
  }
470
521
  );
471
522
  d.displayName = l;
472
523
  function p(m) {
473
- const g = i(e + "CollectionConsumer", m);
524
+ const v = i(e + "CollectionConsumer", m);
474
525
  return ie.useCallback(() => {
475
- const v = g.collectionRef.current;
476
- if (!v) return [];
477
- const y = Array.from(v.querySelectorAll(`[${h}]`));
478
- return Array.from(g.itemMap.values()).sort(
526
+ const g = v.collectionRef.current;
527
+ if (!g) return [];
528
+ const y = Array.from(g.querySelectorAll(`[${h}]`));
529
+ return Array.from(v.itemMap.values()).sort(
479
530
  (x, E) => y.indexOf(x.ref.current) - y.indexOf(E.ref.current)
480
531
  );
481
- }, [g.collectionRef, g.itemMap]);
532
+ }, [v.collectionRef, v.itemMap]);
482
533
  }
483
534
  return [
484
535
  { Provider: s, Slot: a, ItemSlot: d },
@@ -486,25 +537,25 @@ function Ci(e) {
486
537
  r
487
538
  ];
488
539
  }
489
- var tr = u.createContext(void 0);
490
- function Si(e) {
491
- const t = u.useContext(tr);
540
+ var nr = f.createContext(void 0);
541
+ function Ri(e) {
542
+ const t = f.useContext(nr);
492
543
  return e || t || "ltr";
493
544
  }
494
- function nr(e, t = globalThis == null ? void 0 : globalThis.document) {
545
+ function rr(e, t = globalThis == null ? void 0 : globalThis.document) {
495
546
  const n = ee(e);
496
- u.useEffect(() => {
547
+ f.useEffect(() => {
497
548
  const r = (o) => {
498
549
  o.key === "Escape" && n(o);
499
550
  };
500
551
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
501
552
  }, [n, t]);
502
553
  }
503
- var rr = "DismissableLayer", Je = "dismissableLayer.update", or = "dismissableLayer.pointerDownOutside", ir = "dismissableLayer.focusOutside", xt, Ut = u.createContext({
554
+ var or = "DismissableLayer", Je = "dismissableLayer.update", ir = "dismissableLayer.pointerDownOutside", sr = "dismissableLayer.focusOutside", xt, Ut = f.createContext({
504
555
  layers: /* @__PURE__ */ new Set(),
505
556
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
506
557
  branches: /* @__PURE__ */ new Set()
507
- }), sr = u.forwardRef(
558
+ }), cr = f.forwardRef(
508
559
  (e, t) => {
509
560
  const {
510
561
  disableOutsidePointerEvents: n = !1,
@@ -514,30 +565,30 @@ var rr = "DismissableLayer", Je = "dismissableLayer.update", or = "dismissableLa
514
565
  onInteractOutside: s,
515
566
  onDismiss: c,
516
567
  ...a
517
- } = e, l = u.useContext(Ut), [h, d] = u.useState(null), p = (h == null ? void 0 : h.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = u.useState({}), g = ce(t, (S) => d(S)), f = Array.from(l.layers), [v] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), y = f.indexOf(v), w = h ? f.indexOf(h) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, x = w >= y, E = lr((S) => {
568
+ } = e, l = f.useContext(Ut), [h, d] = f.useState(null), p = (h == null ? void 0 : h.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = f.useState({}), v = ce(t, (S) => d(S)), u = Array.from(l.layers), [g] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), y = u.indexOf(g), w = h ? u.indexOf(h) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, x = w >= y, E = ur((S) => {
518
569
  const A = S.target, O = [...l.branches].some((D) => D.contains(A));
519
570
  !x || O || (o == null || o(S), s == null || s(S), S.defaultPrevented || c == null || c());
520
- }, p), C = ur((S) => {
571
+ }, p), C = fr((S) => {
521
572
  const A = S.target;
522
573
  [...l.branches].some((D) => D.contains(A)) || (i == null || i(S), s == null || s(S), S.defaultPrevented || c == null || c());
523
574
  }, p);
524
- return nr((S) => {
575
+ return rr((S) => {
525
576
  w === l.layers.size - 1 && (r == null || r(S), !S.defaultPrevented && c && (S.preventDefault(), c()));
526
- }, p), u.useEffect(() => {
577
+ }, p), f.useEffect(() => {
527
578
  if (h)
528
579
  return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (xt = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(h)), l.layers.add(h), bt(), () => {
529
580
  n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = xt);
530
581
  };
531
- }, [h, p, n, l]), u.useEffect(() => () => {
582
+ }, [h, p, n, l]), f.useEffect(() => () => {
532
583
  h && (l.layers.delete(h), l.layersWithOutsidePointerEventsDisabled.delete(h), bt());
533
- }, [h, l]), u.useEffect(() => {
584
+ }, [h, l]), f.useEffect(() => {
534
585
  const S = () => m({});
535
586
  return document.addEventListener(Je, S), () => document.removeEventListener(Je, S);
536
- }, []), /* @__PURE__ */ P.jsx(
587
+ }, []), /* @__PURE__ */ R.jsx(
537
588
  oe.div,
538
589
  {
539
590
  ...a,
540
- ref: g,
591
+ ref: v,
541
592
  style: {
542
593
  pointerEvents: b ? x ? "auto" : "none" : void 0,
543
594
  ...e.style
@@ -552,27 +603,27 @@ var rr = "DismissableLayer", Je = "dismissableLayer.update", or = "dismissableLa
552
603
  );
553
604
  }
554
605
  );
555
- sr.displayName = rr;
556
- var cr = "DismissableLayerBranch", ar = u.forwardRef((e, t) => {
557
- const n = u.useContext(Ut), r = u.useRef(null), o = ce(t, r);
558
- return u.useEffect(() => {
606
+ cr.displayName = or;
607
+ var ar = "DismissableLayerBranch", lr = f.forwardRef((e, t) => {
608
+ const n = f.useContext(Ut), r = f.useRef(null), o = ce(t, r);
609
+ return f.useEffect(() => {
559
610
  const i = r.current;
560
611
  if (i)
561
612
  return n.branches.add(i), () => {
562
613
  n.branches.delete(i);
563
614
  };
564
- }, [n.branches]), /* @__PURE__ */ P.jsx(oe.div, { ...e, ref: o });
615
+ }, [n.branches]), /* @__PURE__ */ R.jsx(oe.div, { ...e, ref: o });
565
616
  });
566
- ar.displayName = cr;
567
- function lr(e, t = globalThis == null ? void 0 : globalThis.document) {
568
- const n = ee(e), r = u.useRef(!1), o = u.useRef(() => {
617
+ lr.displayName = ar;
618
+ function ur(e, t = globalThis == null ? void 0 : globalThis.document) {
619
+ const n = ee(e), r = f.useRef(!1), o = f.useRef(() => {
569
620
  });
570
- return u.useEffect(() => {
621
+ return f.useEffect(() => {
571
622
  const i = (c) => {
572
623
  if (c.target && !r.current) {
573
624
  let a = function() {
574
625
  Yt(
575
- or,
626
+ ir,
576
627
  n,
577
628
  l,
578
629
  { discrete: !0 }
@@ -594,11 +645,11 @@ function lr(e, t = globalThis == null ? void 0 : globalThis.document) {
594
645
  onPointerDownCapture: () => r.current = !0
595
646
  };
596
647
  }
597
- function ur(e, t = globalThis == null ? void 0 : globalThis.document) {
598
- const n = ee(e), r = u.useRef(!1);
599
- return u.useEffect(() => {
648
+ function fr(e, t = globalThis == null ? void 0 : globalThis.document) {
649
+ const n = ee(e), r = f.useRef(!1);
650
+ return f.useEffect(() => {
600
651
  const o = (i) => {
601
- i.target && !r.current && Yt(ir, n, { originalEvent: i }, {
652
+ i.target && !r.current && Yt(sr, n, { originalEvent: i }, {
602
653
  discrete: !1
603
654
  });
604
655
  };
@@ -617,8 +668,8 @@ function Yt(e, t, n, { discrete: r }) {
617
668
  t && o.addEventListener(e, t, { once: !0 }), r ? er(o, i) : o.dispatchEvent(i);
618
669
  }
619
670
  var ze = 0;
620
- function Ai() {
621
- u.useEffect(() => {
671
+ function Oi() {
672
+ f.useEffect(() => {
622
673
  const e = document.querySelectorAll("[data-radix-focus-guard]");
623
674
  return document.body.insertAdjacentElement("afterbegin", e[0] ?? Et()), document.body.insertAdjacentElement("beforeend", e[1] ?? Et()), ze++, () => {
624
675
  ze === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), ze--;
@@ -627,16 +678,16 @@ function Ai() {
627
678
  }
628
679
  function Et() {
629
680
  const e = document.createElement("span");
630
- return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e;
681
+ return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
631
682
  }
632
- var Ue = "focusScope.autoFocusOnMount", Ye = "focusScope.autoFocusOnUnmount", Ct = { bubbles: !1, cancelable: !0 }, fr = "FocusScope", dr = u.forwardRef((e, t) => {
683
+ var Ue = "focusScope.autoFocusOnMount", Ye = "focusScope.autoFocusOnUnmount", Ct = { bubbles: !1, cancelable: !0 }, dr = "FocusScope", hr = f.forwardRef((e, t) => {
633
684
  const {
634
685
  loop: n = !1,
635
686
  trapped: r = !1,
636
687
  onMountAutoFocus: o,
637
688
  onUnmountAutoFocus: i,
638
689
  ...s
639
- } = e, [c, a] = u.useState(null), l = ee(o), h = ee(i), d = u.useRef(null), p = ce(t, (f) => a(f)), m = u.useRef({
690
+ } = e, [c, a] = f.useState(null), l = ee(o), h = ee(i), d = f.useRef(null), p = ce(t, (u) => a(u)), m = f.useRef({
640
691
  paused: !1,
641
692
  pause() {
642
693
  this.paused = !0;
@@ -645,13 +696,13 @@ var Ue = "focusScope.autoFocusOnMount", Ye = "focusScope.autoFocusOnUnmount", Ct
645
696
  this.paused = !1;
646
697
  }
647
698
  }).current;
648
- u.useEffect(() => {
699
+ f.useEffect(() => {
649
700
  if (r) {
650
- let f = function(b) {
701
+ let u = function(b) {
651
702
  if (m.paused || !c) return;
652
703
  const x = b.target;
653
704
  c.contains(x) ? d.current = x : J(d.current, { select: !0 });
654
- }, v = function(b) {
705
+ }, g = function(b) {
655
706
  if (m.paused || !c) return;
656
707
  const x = b.relatedTarget;
657
708
  x !== null && (c.contains(x) || J(d.current, { select: !0 }));
@@ -660,48 +711,48 @@ var Ue = "focusScope.autoFocusOnMount", Ye = "focusScope.autoFocusOnUnmount", Ct
660
711
  for (const E of b)
661
712
  E.removedNodes.length > 0 && J(c);
662
713
  };
663
- document.addEventListener("focusin", f), document.addEventListener("focusout", v);
714
+ document.addEventListener("focusin", u), document.addEventListener("focusout", g);
664
715
  const w = new MutationObserver(y);
665
716
  return c && w.observe(c, { childList: !0, subtree: !0 }), () => {
666
- document.removeEventListener("focusin", f), document.removeEventListener("focusout", v), w.disconnect();
717
+ document.removeEventListener("focusin", u), document.removeEventListener("focusout", g), w.disconnect();
667
718
  };
668
719
  }
669
- }, [r, c, m.paused]), u.useEffect(() => {
720
+ }, [r, c, m.paused]), f.useEffect(() => {
670
721
  if (c) {
671
722
  At.add(m);
672
- const f = document.activeElement;
673
- if (!c.contains(f)) {
723
+ const u = document.activeElement;
724
+ if (!c.contains(u)) {
674
725
  const y = new CustomEvent(Ue, Ct);
675
- c.addEventListener(Ue, l), c.dispatchEvent(y), y.defaultPrevented || (hr(yr(Xt(c)), { select: !0 }), document.activeElement === f && J(c));
726
+ c.addEventListener(Ue, l), c.dispatchEvent(y), y.defaultPrevented || (mr(wr(Xt(c)), { select: !0 }), document.activeElement === u && J(c));
676
727
  }
677
728
  return () => {
678
729
  c.removeEventListener(Ue, l), setTimeout(() => {
679
730
  const y = new CustomEvent(Ye, Ct);
680
- c.addEventListener(Ye, h), c.dispatchEvent(y), y.defaultPrevented || J(f ?? document.body, { select: !0 }), c.removeEventListener(Ye, h), At.remove(m);
731
+ c.addEventListener(Ye, h), c.dispatchEvent(y), y.defaultPrevented || J(u ?? document.body, { select: !0 }), c.removeEventListener(Ye, h), At.remove(m);
681
732
  }, 0);
682
733
  };
683
734
  }
684
735
  }, [c, l, h, m]);
685
- const g = u.useCallback(
686
- (f) => {
736
+ const v = f.useCallback(
737
+ (u) => {
687
738
  if (!n && !r || m.paused) return;
688
- const v = f.key === "Tab" && !f.altKey && !f.ctrlKey && !f.metaKey, y = document.activeElement;
689
- if (v && y) {
690
- const w = f.currentTarget, [b, x] = mr(w);
691
- b && x ? !f.shiftKey && y === x ? (f.preventDefault(), n && J(b, { select: !0 })) : f.shiftKey && y === b && (f.preventDefault(), n && J(x, { select: !0 })) : y === w && f.preventDefault();
739
+ const g = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, y = document.activeElement;
740
+ if (g && y) {
741
+ const w = u.currentTarget, [b, x] = pr(w);
742
+ b && x ? !u.shiftKey && y === x ? (u.preventDefault(), n && J(b, { select: !0 })) : u.shiftKey && y === b && (u.preventDefault(), n && J(x, { select: !0 })) : y === w && u.preventDefault();
692
743
  }
693
744
  },
694
745
  [n, r, m.paused]
695
746
  );
696
- return /* @__PURE__ */ P.jsx(oe.div, { tabIndex: -1, ...s, ref: p, onKeyDown: g });
747
+ return /* @__PURE__ */ R.jsx(oe.div, { tabIndex: -1, ...s, ref: p, onKeyDown: v });
697
748
  });
698
- dr.displayName = fr;
699
- function hr(e, { select: t = !1 } = {}) {
749
+ hr.displayName = dr;
750
+ function mr(e, { select: t = !1 } = {}) {
700
751
  const n = document.activeElement;
701
752
  for (const r of e)
702
753
  if (J(r, { select: t }), document.activeElement !== n) return;
703
754
  }
704
- function mr(e) {
755
+ function pr(e) {
705
756
  const t = Xt(e), n = St(t, e), r = St(t.reverse(), e);
706
757
  return [n, r];
707
758
  }
@@ -717,9 +768,9 @@ function Xt(e) {
717
768
  }
718
769
  function St(e, t) {
719
770
  for (const n of e)
720
- if (!pr(n, { upTo: t })) return n;
771
+ if (!vr(n, { upTo: t })) return n;
721
772
  }
722
- function pr(e, { upTo: t }) {
773
+ function vr(e, { upTo: t }) {
723
774
  if (getComputedStyle(e).visibility === "hidden") return !0;
724
775
  for (; e; ) {
725
776
  if (t !== void 0 && e === t) return !1;
@@ -728,59 +779,59 @@ function pr(e, { upTo: t }) {
728
779
  }
729
780
  return !1;
730
781
  }
731
- function vr(e) {
782
+ function gr(e) {
732
783
  return e instanceof HTMLInputElement && "select" in e;
733
784
  }
734
785
  function J(e, { select: t = !1 } = {}) {
735
786
  if (e && e.focus) {
736
787
  const n = document.activeElement;
737
- e.focus({ preventScroll: !0 }), e !== n && vr(e) && t && e.select();
788
+ e.focus({ preventScroll: !0 }), e !== n && gr(e) && t && e.select();
738
789
  }
739
790
  }
740
- var At = gr();
741
- function gr() {
791
+ var At = yr();
792
+ function yr() {
742
793
  let e = [];
743
794
  return {
744
795
  add(t) {
745
796
  const n = e[0];
746
- t !== n && (n == null || n.pause()), e = Rt(e, t), e.unshift(t);
797
+ t !== n && (n == null || n.pause()), e = Pt(e, t), e.unshift(t);
747
798
  },
748
799
  remove(t) {
749
800
  var n;
750
- e = Rt(e, t), (n = e[0]) == null || n.resume();
801
+ e = Pt(e, t), (n = e[0]) == null || n.resume();
751
802
  }
752
803
  };
753
804
  }
754
- function Rt(e, t) {
805
+ function Pt(e, t) {
755
806
  const n = [...e], r = n.indexOf(t);
756
807
  return r !== -1 && n.splice(r, 1), n;
757
808
  }
758
- function yr(e) {
809
+ function wr(e) {
759
810
  return e.filter((t) => t.tagName !== "A");
760
811
  }
761
- var Ee = globalThis != null && globalThis.document ? u.useLayoutEffect : () => {
762
- }, wr = u.useId || (() => {
763
- }), xr = 0;
764
- function Ri(e) {
765
- const [t, n] = u.useState(wr());
812
+ var Ee = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
813
+ }, xr = f.useId || (() => {
814
+ }), br = 0;
815
+ function Mi(e) {
816
+ const [t, n] = f.useState(xr());
766
817
  return Ee(() => {
767
- n((r) => r ?? String(xr++));
818
+ n((r) => r ?? String(br++));
768
819
  }, [e]), t ? `radix-${t}` : "";
769
820
  }
770
- const br = ["top", "right", "bottom", "left"], te = Math.min, _ = Math.max, Ie = Math.round, Oe = Math.floor, ne = (e) => ({
821
+ const Er = ["top", "right", "bottom", "left"], te = Math.min, W = Math.max, Ie = Math.round, Oe = Math.floor, ne = (e) => ({
771
822
  x: e,
772
823
  y: e
773
- }), Er = {
824
+ }), Cr = {
774
825
  left: "right",
775
826
  right: "left",
776
827
  bottom: "top",
777
828
  top: "bottom"
778
- }, Cr = {
829
+ }, Sr = {
779
830
  start: "end",
780
831
  end: "start"
781
832
  };
782
833
  function et(e, t, n) {
783
- return _(e, te(t, n));
834
+ return W(e, te(t, n));
784
835
  }
785
836
  function K(e, t) {
786
837
  return typeof e == "function" ? e(t) : e;
@@ -803,18 +854,18 @@ function ve(e) {
803
854
  function it(e) {
804
855
  return rt(ve(e));
805
856
  }
806
- function Sr(e, t, n) {
857
+ function Ar(e, t, n) {
807
858
  n === void 0 && (n = !1);
808
859
  const r = pe(e), o = it(e), i = ot(o);
809
860
  let s = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
810
- return t.reference[i] > t.floating[i] && (s = We(s)), [s, We(s)];
861
+ return t.reference[i] > t.floating[i] && (s = _e(s)), [s, _e(s)];
811
862
  }
812
- function Ar(e) {
813
- const t = We(e);
863
+ function Pr(e) {
864
+ const t = _e(e);
814
865
  return [tt(e), t, tt(t)];
815
866
  }
816
867
  function tt(e) {
817
- return e.replace(/start|end/g, (t) => Cr[t]);
868
+ return e.replace(/start|end/g, (t) => Sr[t]);
818
869
  }
819
870
  function Rr(e, t, n) {
820
871
  const r = ["left", "right"], o = ["right", "left"], i = ["top", "bottom"], s = ["bottom", "top"];
@@ -829,15 +880,15 @@ function Rr(e, t, n) {
829
880
  return [];
830
881
  }
831
882
  }
832
- function Pr(e, t, n, r) {
883
+ function Or(e, t, n, r) {
833
884
  const o = pe(e);
834
885
  let i = Rr(G(e), n === "start", r);
835
886
  return o && (i = i.map((s) => s + "-" + o), t && (i = i.concat(i.map(tt)))), i;
836
887
  }
837
- function We(e) {
838
- return e.replace(/left|right|bottom|top/g, (t) => Er[t]);
888
+ function _e(e) {
889
+ return e.replace(/left|right|bottom|top/g, (t) => Cr[t]);
839
890
  }
840
- function Or(e) {
891
+ function Mr(e) {
841
892
  return {
842
893
  top: 0,
843
894
  right: 0,
@@ -847,14 +898,14 @@ function Or(e) {
847
898
  };
848
899
  }
849
900
  function Kt(e) {
850
- return typeof e != "number" ? Or(e) : {
901
+ return typeof e != "number" ? Mr(e) : {
851
902
  top: e,
852
903
  right: e,
853
904
  bottom: e,
854
905
  left: e
855
906
  };
856
907
  }
857
- function _e(e) {
908
+ function We(e) {
858
909
  const {
859
910
  x: t,
860
911
  y: n,
@@ -872,7 +923,7 @@ function _e(e) {
872
923
  y: n
873
924
  };
874
925
  }
875
- function Pt(e, t, n) {
926
+ function Rt(e, t, n) {
876
927
  let {
877
928
  reference: r,
878
929
  floating: o
@@ -934,12 +985,12 @@ const Tr = async (e, t, n) => {
934
985
  }), {
935
986
  x: h,
936
987
  y: d
937
- } = Pt(l, r, a), p = r, m = {}, g = 0;
938
- for (let f = 0; f < c.length; f++) {
988
+ } = Rt(l, r, a), p = r, m = {}, v = 0;
989
+ for (let u = 0; u < c.length; u++) {
939
990
  const {
940
- name: v,
991
+ name: g,
941
992
  fn: y
942
- } = c[f], {
993
+ } = c[u], {
943
994
  x: w,
944
995
  y: b,
945
996
  data: x,
@@ -960,18 +1011,18 @@ const Tr = async (e, t, n) => {
960
1011
  });
961
1012
  h = w ?? h, d = b ?? d, m = {
962
1013
  ...m,
963
- [v]: {
964
- ...m[v],
1014
+ [g]: {
1015
+ ...m[g],
965
1016
  ...x
966
1017
  }
967
- }, E && g <= 50 && (g++, typeof E == "object" && (E.placement && (p = E.placement), E.rects && (l = E.rects === !0 ? await s.getElementRects({
1018
+ }, E && v <= 50 && (v++, typeof E == "object" && (E.placement && (p = E.placement), E.rects && (l = E.rects === !0 ? await s.getElementRects({
968
1019
  reference: e,
969
1020
  floating: t,
970
1021
  strategy: o
971
1022
  }) : E.rects), {
972
1023
  x: h,
973
1024
  y: d
974
- } = Pt(l, p, a)), f = -1);
1025
+ } = Rt(l, p, a)), u = -1);
975
1026
  }
976
1027
  return {
977
1028
  x: h,
@@ -997,8 +1048,8 @@ async function Ce(e, t) {
997
1048
  elementContext: d = "floating",
998
1049
  altBoundary: p = !1,
999
1050
  padding: m = 0
1000
- } = K(t, e), g = Kt(m), v = c[p ? d === "floating" ? "reference" : "floating" : d], y = _e(await i.getClippingRect({
1001
- element: (n = await (i.isElement == null ? void 0 : i.isElement(v))) == null || n ? v : v.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(c.floating)),
1051
+ } = K(t, e), v = Kt(m), g = c[p ? d === "floating" ? "reference" : "floating" : d], y = We(await i.getClippingRect({
1052
+ element: (n = await (i.isElement == null ? void 0 : i.isElement(g))) == null || n ? g : g.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(c.floating)),
1002
1053
  boundary: l,
1003
1054
  rootBoundary: h,
1004
1055
  strategy: a
@@ -1013,20 +1064,20 @@ async function Ce(e, t) {
1013
1064
  } : {
1014
1065
  x: 1,
1015
1066
  y: 1
1016
- }, E = _e(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1067
+ }, E = We(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
1017
1068
  elements: c,
1018
1069
  rect: w,
1019
1070
  offsetParent: b,
1020
1071
  strategy: a
1021
1072
  }) : w);
1022
1073
  return {
1023
- top: (y.top - E.top + g.top) / x.y,
1024
- bottom: (E.bottom - y.bottom + g.bottom) / x.y,
1025
- left: (y.left - E.left + g.left) / x.x,
1026
- right: (E.right - y.right + g.right) / x.x
1074
+ top: (y.top - E.top + v.top) / x.y,
1075
+ bottom: (E.bottom - y.bottom + v.bottom) / x.y,
1076
+ left: (y.left - E.left + v.left) / x.x,
1077
+ right: (E.right - y.right + v.right) / x.x
1027
1078
  };
1028
1079
  }
1029
- const Mr = (e) => ({
1080
+ const Lr = (e) => ({
1030
1081
  name: "arrow",
1031
1082
  options: e,
1032
1083
  async fn(t) {
@@ -1047,23 +1098,23 @@ const Mr = (e) => ({
1047
1098
  const d = Kt(h), p = {
1048
1099
  x: n,
1049
1100
  y: r
1050
- }, m = it(o), g = ot(m), f = await s.getDimensions(l), v = m === "y", y = v ? "top" : "left", w = v ? "bottom" : "right", b = v ? "clientHeight" : "clientWidth", x = i.reference[g] + i.reference[m] - p[m] - i.floating[g], E = p[m] - i.reference[m], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
1101
+ }, m = it(o), v = ot(m), u = await s.getDimensions(l), g = m === "y", y = g ? "top" : "left", w = g ? "bottom" : "right", b = g ? "clientHeight" : "clientWidth", x = i.reference[v] + i.reference[m] - p[m] - i.floating[v], E = p[m] - i.reference[m], C = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
1051
1102
  let S = C ? C[b] : 0;
1052
- (!S || !await (s.isElement == null ? void 0 : s.isElement(C))) && (S = c.floating[b] || i.floating[g]);
1053
- const A = x / 2 - E / 2, O = S / 2 - f[g] / 2 - 1, D = te(d[y], O), j = te(d[w], O), M = D, I = S - f[g] - j, N = S / 2 - f[g] / 2 + A, T = et(M, N, I), k = !a.arrow && pe(o) != null && N !== T && i.reference[g] / 2 - (N < M ? D : j) - f[g] / 2 < 0, R = k ? N < M ? N - M : N - I : 0;
1103
+ (!S || !await (s.isElement == null ? void 0 : s.isElement(C))) && (S = c.floating[b] || i.floating[v]);
1104
+ const A = x / 2 - E / 2, O = S / 2 - u[v] / 2 - 1, D = te(d[y], O), j = te(d[w], O), T = D, I = S - u[v] - j, N = S / 2 - u[v] / 2 + A, M = et(T, N, I), k = !a.arrow && pe(o) != null && N !== M && i.reference[v] / 2 - (N < T ? D : j) - u[v] / 2 < 0, P = k ? N < T ? N - T : N - I : 0;
1054
1105
  return {
1055
- [m]: p[m] + R,
1106
+ [m]: p[m] + P,
1056
1107
  data: {
1057
- [m]: T,
1058
- centerOffset: N - T - R,
1108
+ [m]: M,
1109
+ centerOffset: N - M - P,
1059
1110
  ...k && {
1060
- alignmentOffset: R
1111
+ alignmentOffset: P
1061
1112
  }
1062
1113
  },
1063
1114
  reset: k
1064
1115
  };
1065
1116
  }
1066
- }), Lr = function(e) {
1117
+ }), Nr = function(e) {
1067
1118
  return e === void 0 && (e = {}), {
1068
1119
  name: "flip",
1069
1120
  options: e,
@@ -1081,43 +1132,43 @@ const Mr = (e) => ({
1081
1132
  crossAxis: d = !0,
1082
1133
  fallbackPlacements: p,
1083
1134
  fallbackStrategy: m = "bestFit",
1084
- fallbackAxisSideDirection: g = "none",
1085
- flipAlignment: f = !0,
1086
- ...v
1135
+ fallbackAxisSideDirection: v = "none",
1136
+ flipAlignment: u = !0,
1137
+ ...g
1087
1138
  } = K(e, t);
1088
1139
  if ((n = i.arrow) != null && n.alignmentOffset)
1089
1140
  return {};
1090
- const y = G(o), w = G(c) === c, b = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), x = p || (w || !f ? [We(c)] : Ar(c));
1091
- !p && g !== "none" && x.push(...Pr(c, f, g, b));
1092
- const E = [c, ...x], C = await Ce(t, v), S = [];
1141
+ const y = G(o), w = G(c) === c, b = await (a.isRTL == null ? void 0 : a.isRTL(l.floating)), x = p || (w || !u ? [_e(c)] : Pr(c));
1142
+ !p && v !== "none" && x.push(...Or(c, u, v, b));
1143
+ const E = [c, ...x], C = await Ce(t, g), S = [];
1093
1144
  let A = ((r = i.flip) == null ? void 0 : r.overflows) || [];
1094
1145
  if (h && S.push(C[y]), d) {
1095
- const M = Sr(o, s, b);
1096
- S.push(C[M[0]], C[M[1]]);
1146
+ const T = Ar(o, s, b);
1147
+ S.push(C[T[0]], C[T[1]]);
1097
1148
  }
1098
1149
  if (A = [...A, {
1099
1150
  placement: o,
1100
1151
  overflows: S
1101
- }], !S.every((M) => M <= 0)) {
1152
+ }], !S.every((T) => T <= 0)) {
1102
1153
  var O, D;
1103
- const M = (((O = i.flip) == null ? void 0 : O.index) || 0) + 1, I = E[M];
1154
+ const T = (((O = i.flip) == null ? void 0 : O.index) || 0) + 1, I = E[T];
1104
1155
  if (I)
1105
1156
  return {
1106
1157
  data: {
1107
- index: M,
1158
+ index: T,
1108
1159
  overflows: A
1109
1160
  },
1110
1161
  reset: {
1111
1162
  placement: I
1112
1163
  }
1113
1164
  };
1114
- let N = (D = A.filter((T) => T.overflows[0] <= 0).sort((T, k) => T.overflows[1] - k.overflows[1])[0]) == null ? void 0 : D.placement;
1165
+ let N = (D = A.filter((M) => M.overflows[0] <= 0).sort((M, k) => M.overflows[1] - k.overflows[1])[0]) == null ? void 0 : D.placement;
1115
1166
  if (!N)
1116
1167
  switch (m) {
1117
1168
  case "bestFit": {
1118
1169
  var j;
1119
- const T = (j = A.map((k) => [k.placement, k.overflows.filter((R) => R > 0).reduce((R, W) => R + W, 0)]).sort((k, R) => k[1] - R[1])[0]) == null ? void 0 : j[0];
1120
- T && (N = T);
1170
+ const M = (j = A.map((k) => [k.placement, k.overflows.filter((P) => P > 0).reduce((P, _) => P + _, 0)]).sort((k, P) => k[1] - P[1])[0]) == null ? void 0 : j[0];
1171
+ M && (N = M);
1121
1172
  break;
1122
1173
  }
1123
1174
  case "initialPlacement":
@@ -1143,10 +1194,10 @@ function Ot(e, t) {
1143
1194
  left: e.left - t.width
1144
1195
  };
1145
1196
  }
1146
- function Tt(e) {
1147
- return br.some((t) => e[t] >= 0);
1197
+ function Mt(e) {
1198
+ return Er.some((t) => e[t] >= 0);
1148
1199
  }
1149
- const Nr = function(e) {
1200
+ const Dr = function(e) {
1150
1201
  return e === void 0 && (e = {}), {
1151
1202
  name: "hide",
1152
1203
  options: e,
@@ -1166,7 +1217,7 @@ const Nr = function(e) {
1166
1217
  return {
1167
1218
  data: {
1168
1219
  referenceHiddenOffsets: s,
1169
- referenceHidden: Tt(s)
1220
+ referenceHidden: Mt(s)
1170
1221
  }
1171
1222
  };
1172
1223
  }
@@ -1178,7 +1229,7 @@ const Nr = function(e) {
1178
1229
  return {
1179
1230
  data: {
1180
1231
  escapedOffsets: s,
1181
- escaped: Tt(s)
1232
+ escaped: Mt(s)
1182
1233
  }
1183
1234
  };
1184
1235
  }
@@ -1188,7 +1239,7 @@ const Nr = function(e) {
1188
1239
  }
1189
1240
  };
1190
1241
  };
1191
- async function Dr(e, t) {
1242
+ async function kr(e, t) {
1192
1243
  const {
1193
1244
  placement: n,
1194
1245
  platform: r,
@@ -1197,7 +1248,7 @@ async function Dr(e, t) {
1197
1248
  let {
1198
1249
  mainAxis: p,
1199
1250
  crossAxis: m,
1200
- alignmentAxis: g
1251
+ alignmentAxis: v
1201
1252
  } = typeof d == "number" ? {
1202
1253
  mainAxis: d,
1203
1254
  crossAxis: 0,
@@ -1208,7 +1259,7 @@ async function Dr(e, t) {
1208
1259
  alignmentAxis: null,
1209
1260
  ...d
1210
1261
  };
1211
- return c && typeof g == "number" && (m = c === "end" ? g * -1 : g), a ? {
1262
+ return c && typeof v == "number" && (m = c === "end" ? v * -1 : v), a ? {
1212
1263
  x: m * h,
1213
1264
  y: p * l
1214
1265
  } : {
@@ -1216,7 +1267,7 @@ async function Dr(e, t) {
1216
1267
  y: m * h
1217
1268
  };
1218
1269
  }
1219
- const kr = function(e) {
1270
+ const Fr = function(e) {
1220
1271
  return e === void 0 && (e = 0), {
1221
1272
  name: "offset",
1222
1273
  options: e,
@@ -1227,7 +1278,7 @@ const kr = function(e) {
1227
1278
  y: i,
1228
1279
  placement: s,
1229
1280
  middlewareData: c
1230
- } = t, a = await Dr(t, e);
1281
+ } = t, a = await kr(t, e);
1231
1282
  return s === ((n = c.offset) == null ? void 0 : n.placement) && (r = c.arrow) != null && r.alignmentOffset ? {} : {
1232
1283
  x: o + a.x,
1233
1284
  y: i + a.y,
@@ -1238,7 +1289,7 @@ const kr = function(e) {
1238
1289
  };
1239
1290
  }
1240
1291
  };
1241
- }, Fr = function(e) {
1292
+ }, Ir = function(e) {
1242
1293
  return e === void 0 && (e = {}), {
1243
1294
  name: "shift",
1244
1295
  options: e,
@@ -1251,11 +1302,11 @@ const kr = function(e) {
1251
1302
  mainAxis: i = !0,
1252
1303
  crossAxis: s = !1,
1253
1304
  limiter: c = {
1254
- fn: (v) => {
1305
+ fn: (g) => {
1255
1306
  let {
1256
1307
  x: y,
1257
1308
  y: w
1258
- } = v;
1309
+ } = g;
1259
1310
  return {
1260
1311
  x: y,
1261
1312
  y: w
@@ -1267,30 +1318,30 @@ const kr = function(e) {
1267
1318
  x: n,
1268
1319
  y: r
1269
1320
  }, h = await Ce(t, a), d = ve(G(o)), p = rt(d);
1270
- let m = l[p], g = l[d];
1321
+ let m = l[p], v = l[d];
1271
1322
  if (i) {
1272
- const v = p === "y" ? "top" : "left", y = p === "y" ? "bottom" : "right", w = m + h[v], b = m - h[y];
1323
+ const g = p === "y" ? "top" : "left", y = p === "y" ? "bottom" : "right", w = m + h[g], b = m - h[y];
1273
1324
  m = et(w, m, b);
1274
1325
  }
1275
1326
  if (s) {
1276
- const v = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", w = g + h[v], b = g - h[y];
1277
- g = et(w, g, b);
1327
+ const g = d === "y" ? "top" : "left", y = d === "y" ? "bottom" : "right", w = v + h[g], b = v - h[y];
1328
+ v = et(w, v, b);
1278
1329
  }
1279
- const f = c.fn({
1330
+ const u = c.fn({
1280
1331
  ...t,
1281
1332
  [p]: m,
1282
- [d]: g
1333
+ [d]: v
1283
1334
  });
1284
1335
  return {
1285
- ...f,
1336
+ ...u,
1286
1337
  data: {
1287
- x: f.x - n,
1288
- y: f.y - r
1338
+ x: u.x - n,
1339
+ y: u.y - r
1289
1340
  }
1290
1341
  };
1291
1342
  }
1292
1343
  };
1293
- }, Ir = function(e) {
1344
+ }, _r = function(e) {
1294
1345
  return e === void 0 && (e = {}), {
1295
1346
  options: e,
1296
1347
  fn(t) {
@@ -1308,27 +1359,27 @@ const kr = function(e) {
1308
1359
  x: n,
1309
1360
  y: r
1310
1361
  }, d = ve(o), p = rt(d);
1311
- let m = h[p], g = h[d];
1312
- const f = K(c, t), v = typeof f == "number" ? {
1313
- mainAxis: f,
1362
+ let m = h[p], v = h[d];
1363
+ const u = K(c, t), g = typeof u == "number" ? {
1364
+ mainAxis: u,
1314
1365
  crossAxis: 0
1315
1366
  } : {
1316
1367
  mainAxis: 0,
1317
1368
  crossAxis: 0,
1318
- ...f
1369
+ ...u
1319
1370
  };
1320
1371
  if (a) {
1321
- const b = p === "y" ? "height" : "width", x = i.reference[p] - i.floating[b] + v.mainAxis, E = i.reference[p] + i.reference[b] - v.mainAxis;
1372
+ const b = p === "y" ? "height" : "width", x = i.reference[p] - i.floating[b] + g.mainAxis, E = i.reference[p] + i.reference[b] - g.mainAxis;
1322
1373
  m < x ? m = x : m > E && (m = E);
1323
1374
  }
1324
1375
  if (l) {
1325
1376
  var y, w;
1326
- const b = p === "y" ? "width" : "height", x = ["top", "left"].includes(G(o)), E = i.reference[d] - i.floating[b] + (x && ((y = s.offset) == null ? void 0 : y[d]) || 0) + (x ? 0 : v.crossAxis), C = i.reference[d] + i.reference[b] + (x ? 0 : ((w = s.offset) == null ? void 0 : w[d]) || 0) - (x ? v.crossAxis : 0);
1327
- g < E ? g = E : g > C && (g = C);
1377
+ const b = p === "y" ? "width" : "height", x = ["top", "left"].includes(G(o)), E = i.reference[d] - i.floating[b] + (x && ((y = s.offset) == null ? void 0 : y[d]) || 0) + (x ? 0 : g.crossAxis), C = i.reference[d] + i.reference[b] + (x ? 0 : ((w = s.offset) == null ? void 0 : w[d]) || 0) - (x ? g.crossAxis : 0);
1378
+ v < E ? v = E : v > C && (v = C);
1328
1379
  }
1329
1380
  return {
1330
1381
  [p]: m,
1331
- [d]: g
1382
+ [d]: v
1332
1383
  };
1333
1384
  }
1334
1385
  };
@@ -1350,20 +1401,20 @@ const kr = function(e) {
1350
1401
  width: p,
1351
1402
  height: m
1352
1403
  } = r.floating;
1353
- let g, f;
1354
- l === "top" || l === "bottom" ? (g = l, f = h === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (f = l, g = h === "end" ? "top" : "bottom");
1355
- const v = m - a[g], y = p - a[f], w = !t.middlewareData.shift;
1356
- let b = v, x = y;
1404
+ let v, u;
1405
+ l === "top" || l === "bottom" ? (v = l, u = h === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (u = l, v = h === "end" ? "top" : "bottom");
1406
+ const g = m - a[v], y = p - a[u], w = !t.middlewareData.shift;
1407
+ let b = g, x = y;
1357
1408
  if (d) {
1358
1409
  const C = p - a.left - a.right;
1359
1410
  x = h || w ? te(y, C) : C;
1360
1411
  } else {
1361
1412
  const C = m - a.top - a.bottom;
1362
- b = h || w ? te(v, C) : C;
1413
+ b = h || w ? te(g, C) : C;
1363
1414
  }
1364
1415
  if (w && !h) {
1365
- const C = _(a.left, 0), S = _(a.right, 0), A = _(a.top, 0), O = _(a.bottom, 0);
1366
- d ? x = p - 2 * (C !== 0 || S !== 0 ? C + S : _(a.left, a.right)) : b = m - 2 * (A !== 0 || O !== 0 ? A + O : _(a.top, a.bottom));
1416
+ const C = W(a.left, 0), S = W(a.right, 0), A = W(a.top, 0), O = W(a.bottom, 0);
1417
+ d ? x = p - 2 * (C !== 0 || S !== 0 ? C + S : W(a.left, a.right)) : b = m - 2 * (A !== 0 || O !== 0 ? A + O : W(a.top, a.bottom));
1367
1418
  }
1368
1419
  await s({
1369
1420
  ...t,
@@ -1399,7 +1450,7 @@ function U(e) {
1399
1450
  function Y(e) {
1400
1451
  return e instanceof HTMLElement || e instanceof B(e).HTMLElement;
1401
1452
  }
1402
- function Mt(e) {
1453
+ function Tt(e) {
1403
1454
  return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof B(e).ShadowRoot;
1404
1455
  }
1405
1456
  function Ae(e) {
@@ -1411,14 +1462,14 @@ function Ae(e) {
1411
1462
  } = $(e);
1412
1463
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
1413
1464
  }
1414
- function _r(e) {
1465
+ function Br(e) {
1415
1466
  return ["table", "td", "th"].includes(ge(e));
1416
1467
  }
1417
1468
  function st(e) {
1418
1469
  const t = ct(), n = $(e);
1419
1470
  return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
1420
1471
  }
1421
- function Br(e) {
1472
+ function jr(e) {
1422
1473
  let t = re(e);
1423
1474
  for (; Y(t) && !me(t); ) {
1424
1475
  if (st(t))
@@ -1452,10 +1503,10 @@ function re(e) {
1452
1503
  // Step into the shadow DOM of the parent of a slotted node.
1453
1504
  e.assignedSlot || // DOM Element detected.
1454
1505
  e.parentNode || // ShadowRoot detected.
1455
- Mt(e) && e.host || // Fallback.
1506
+ Tt(e) && e.host || // Fallback.
1456
1507
  Z(e)
1457
1508
  );
1458
- return Mt(t) ? t.host : t;
1509
+ return Tt(t) ? t.host : t;
1459
1510
  }
1460
1511
  function Zt(e) {
1461
1512
  const t = re(e);
@@ -1495,15 +1546,15 @@ function de(e) {
1495
1546
  y: c
1496
1547
  };
1497
1548
  }
1498
- const jr = /* @__PURE__ */ ne(0);
1549
+ const $r = /* @__PURE__ */ ne(0);
1499
1550
  function Qt(e) {
1500
1551
  const t = B(e);
1501
- return !ct() || !t.visualViewport ? jr : {
1552
+ return !ct() || !t.visualViewport ? $r : {
1502
1553
  x: t.visualViewport.offsetLeft,
1503
1554
  y: t.visualViewport.offsetTop
1504
1555
  };
1505
1556
  }
1506
- function $r(e, t, n) {
1557
+ function Hr(e, t, n) {
1507
1558
  return t === void 0 && (t = !1), !n || t && n !== B(e) ? !1 : t;
1508
1559
  }
1509
1560
  function ae(e, t, n, r) {
@@ -1511,26 +1562,26 @@ function ae(e, t, n, r) {
1511
1562
  const o = e.getBoundingClientRect(), i = at(e);
1512
1563
  let s = ne(1);
1513
1564
  t && (r ? U(r) && (s = de(r)) : s = de(e));
1514
- const c = $r(i, n, r) ? Qt(i) : ne(0);
1565
+ const c = Hr(i, n, r) ? Qt(i) : ne(0);
1515
1566
  let a = (o.left + c.x) / s.x, l = (o.top + c.y) / s.y, h = o.width / s.x, d = o.height / s.y;
1516
1567
  if (i) {
1517
1568
  const p = B(i), m = r && U(r) ? B(r) : r;
1518
- let g = p, f = g.frameElement;
1519
- for (; f && r && m !== g; ) {
1520
- const v = de(f), y = f.getBoundingClientRect(), w = $(f), b = y.left + (f.clientLeft + parseFloat(w.paddingLeft)) * v.x, x = y.top + (f.clientTop + parseFloat(w.paddingTop)) * v.y;
1521
- a *= v.x, l *= v.y, h *= v.x, d *= v.y, a += b, l += x, g = B(f), f = g.frameElement;
1569
+ let v = p, u = v.frameElement;
1570
+ for (; u && r && m !== v; ) {
1571
+ const g = de(u), y = u.getBoundingClientRect(), w = $(u), b = y.left + (u.clientLeft + parseFloat(w.paddingLeft)) * g.x, x = y.top + (u.clientTop + parseFloat(w.paddingTop)) * g.y;
1572
+ a *= g.x, l *= g.y, h *= g.x, d *= g.y, a += b, l += x, v = B(u), u = v.frameElement;
1522
1573
  }
1523
1574
  }
1524
- return _e({
1575
+ return We({
1525
1576
  width: h,
1526
1577
  height: d,
1527
1578
  x: a,
1528
1579
  y: l
1529
1580
  });
1530
1581
  }
1531
- const Hr = [":popover-open", ":modal"];
1582
+ const Vr = [":popover-open", ":modal"];
1532
1583
  function lt(e) {
1533
- return Hr.some((t) => {
1584
+ return Vr.some((t) => {
1534
1585
  try {
1535
1586
  return e.matches(t);
1536
1587
  } catch {
@@ -1538,7 +1589,7 @@ function lt(e) {
1538
1589
  }
1539
1590
  });
1540
1591
  }
1541
- function Vr(e) {
1592
+ function zr(e) {
1542
1593
  let {
1543
1594
  elements: t,
1544
1595
  rect: n,
@@ -1564,24 +1615,24 @@ function Vr(e) {
1564
1615
  y: n.y * l.y - a.scrollTop * l.y + h.y
1565
1616
  };
1566
1617
  }
1567
- function zr(e) {
1618
+ function Ur(e) {
1568
1619
  return Array.from(e.getClientRects());
1569
1620
  }
1570
1621
  function Jt(e) {
1571
1622
  return ae(Z(e)).left + je(e).scrollLeft;
1572
1623
  }
1573
- function Ur(e) {
1574
- const t = Z(e), n = je(e), r = e.ownerDocument.body, o = _(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = _(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1624
+ function Yr(e) {
1625
+ const t = Z(e), n = je(e), r = e.ownerDocument.body, o = W(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = W(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
1575
1626
  let s = -n.scrollLeft + Jt(e);
1576
1627
  const c = -n.scrollTop;
1577
- return $(r).direction === "rtl" && (s += _(t.clientWidth, r.clientWidth) - o), {
1628
+ return $(r).direction === "rtl" && (s += W(t.clientWidth, r.clientWidth) - o), {
1578
1629
  width: o,
1579
1630
  height: i,
1580
1631
  x: s,
1581
1632
  y: c
1582
1633
  };
1583
1634
  }
1584
- function Yr(e, t) {
1635
+ function Xr(e, t) {
1585
1636
  const n = B(e), r = Z(e), o = n.visualViewport;
1586
1637
  let i = r.clientWidth, s = r.clientHeight, c = 0, a = 0;
1587
1638
  if (o) {
@@ -1596,7 +1647,7 @@ function Yr(e, t) {
1596
1647
  y: a
1597
1648
  };
1598
1649
  }
1599
- function Xr(e, t) {
1650
+ function Kr(e, t) {
1600
1651
  const n = ae(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = Y(e) ? de(e) : ne(1), s = e.clientWidth * i.x, c = e.clientHeight * i.y, a = o * i.x, l = r * i.y;
1601
1652
  return {
1602
1653
  width: s,
@@ -1608,11 +1659,11 @@ function Xr(e, t) {
1608
1659
  function Lt(e, t, n) {
1609
1660
  let r;
1610
1661
  if (t === "viewport")
1611
- r = Yr(e, n);
1662
+ r = Xr(e, n);
1612
1663
  else if (t === "document")
1613
- r = Ur(Z(e));
1664
+ r = Yr(Z(e));
1614
1665
  else if (U(t))
1615
- r = Xr(t, n);
1666
+ r = Kr(t, n);
1616
1667
  else {
1617
1668
  const o = Qt(e);
1618
1669
  r = {
@@ -1621,13 +1672,13 @@ function Lt(e, t, n) {
1621
1672
  y: t.y - o.y
1622
1673
  };
1623
1674
  }
1624
- return _e(r);
1675
+ return We(r);
1625
1676
  }
1626
1677
  function en(e, t) {
1627
1678
  const n = re(e);
1628
1679
  return n === t || !U(n) || me(n) ? !1 : $(n).position === "fixed" || en(n, t);
1629
1680
  }
1630
- function Kr(e, t) {
1681
+ function Gr(e, t) {
1631
1682
  const n = t.get(e);
1632
1683
  if (n)
1633
1684
  return n;
@@ -1640,16 +1691,16 @@ function Kr(e, t) {
1640
1691
  }
1641
1692
  return t.set(e, r), r;
1642
1693
  }
1643
- function Gr(e) {
1694
+ function Zr(e) {
1644
1695
  let {
1645
1696
  element: t,
1646
1697
  boundary: n,
1647
1698
  rootBoundary: r,
1648
1699
  strategy: o
1649
1700
  } = e;
1650
- const s = [...n === "clippingAncestors" ? lt(t) ? [] : Kr(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((l, h) => {
1701
+ const s = [...n === "clippingAncestors" ? lt(t) ? [] : Gr(t, this._c) : [].concat(n), r], c = s[0], a = s.reduce((l, h) => {
1651
1702
  const d = Lt(t, h, o);
1652
- return l.top = _(d.top, l.top), l.right = te(d.right, l.right), l.bottom = te(d.bottom, l.bottom), l.left = _(d.left, l.left), l;
1703
+ return l.top = W(d.top, l.top), l.right = te(d.right, l.right), l.bottom = te(d.bottom, l.bottom), l.left = W(d.left, l.left), l;
1653
1704
  }, Lt(t, c, o));
1654
1705
  return {
1655
1706
  width: a.right - a.left,
@@ -1658,7 +1709,7 @@ function Gr(e) {
1658
1709
  y: a.top
1659
1710
  };
1660
1711
  }
1661
- function Zr(e) {
1712
+ function qr(e) {
1662
1713
  const {
1663
1714
  width: t,
1664
1715
  height: n
@@ -1668,7 +1719,7 @@ function Zr(e) {
1668
1719
  height: n
1669
1720
  };
1670
1721
  }
1671
- function qr(e, t, n) {
1722
+ function Qr(e, t, n) {
1672
1723
  const r = Y(t), o = Z(t), i = n === "fixed", s = ae(e, !0, i, t);
1673
1724
  let c = {
1674
1725
  scrollLeft: 0,
@@ -1708,14 +1759,14 @@ function tn(e, t) {
1708
1759
  return n;
1709
1760
  }
1710
1761
  let r = Nt(e, t);
1711
- for (; r && _r(r) && Xe(r); )
1762
+ for (; r && Br(r) && Xe(r); )
1712
1763
  r = Nt(r, t);
1713
- return r && me(r) && Xe(r) && !st(r) ? n : r || Br(e) || n;
1764
+ return r && me(r) && Xe(r) && !st(r) ? n : r || jr(e) || n;
1714
1765
  }
1715
- const Qr = async function(e) {
1766
+ const Jr = async function(e) {
1716
1767
  const t = this.getOffsetParent || tn, n = this.getDimensions, r = await n(e.floating);
1717
1768
  return {
1718
- reference: qr(e.reference, await t(e.floating), e.strategy),
1769
+ reference: Qr(e.reference, await t(e.floating), e.strategy),
1719
1770
  floating: {
1720
1771
  x: 0,
1721
1772
  y: 0,
@@ -1724,22 +1775,22 @@ const Qr = async function(e) {
1724
1775
  }
1725
1776
  };
1726
1777
  };
1727
- function Jr(e) {
1778
+ function eo(e) {
1728
1779
  return $(e).direction === "rtl";
1729
1780
  }
1730
- const eo = {
1731
- convertOffsetParentRelativeRectToViewportRelativeRect: Vr,
1781
+ const to = {
1782
+ convertOffsetParentRelativeRectToViewportRelativeRect: zr,
1732
1783
  getDocumentElement: Z,
1733
- getClippingRect: Gr,
1784
+ getClippingRect: Zr,
1734
1785
  getOffsetParent: tn,
1735
- getElementRects: Qr,
1736
- getClientRects: zr,
1737
- getDimensions: Zr,
1786
+ getElementRects: Jr,
1787
+ getClientRects: Ur,
1788
+ getDimensions: qr,
1738
1789
  getScale: de,
1739
1790
  isElement: U,
1740
- isRTL: Jr
1791
+ isRTL: eo
1741
1792
  };
1742
- function to(e, t) {
1793
+ function no(e, t) {
1743
1794
  let n = null, r;
1744
1795
  const o = Z(e);
1745
1796
  function i() {
@@ -1756,9 +1807,9 @@ function to(e, t) {
1756
1807
  } = e.getBoundingClientRect();
1757
1808
  if (c || t(), !d || !p)
1758
1809
  return;
1759
- const m = Oe(h), g = Oe(o.clientWidth - (l + d)), f = Oe(o.clientHeight - (h + p)), v = Oe(l), w = {
1760
- rootMargin: -m + "px " + -g + "px " + -f + "px " + -v + "px",
1761
- threshold: _(0, te(1, a)) || 1
1810
+ const m = Oe(h), v = Oe(o.clientWidth - (l + d)), u = Oe(o.clientHeight - (h + p)), g = Oe(l), w = {
1811
+ rootMargin: -m + "px " + -v + "px " + -u + "px " + -g + "px",
1812
+ threshold: W(0, te(1, a)) || 1
1762
1813
  };
1763
1814
  let b = !0;
1764
1815
  function x(E) {
@@ -1785,7 +1836,7 @@ function to(e, t) {
1785
1836
  }
1786
1837
  return s(!0), i;
1787
1838
  }
1788
- function no(e, t, n, r) {
1839
+ function ro(e, t, n, r) {
1789
1840
  r === void 0 && (r = {});
1790
1841
  const {
1791
1842
  ancestorScroll: o = !0,
@@ -1799,7 +1850,7 @@ function no(e, t, n, r) {
1799
1850
  passive: !0
1800
1851
  }), i && y.addEventListener("resize", n);
1801
1852
  });
1802
- const d = l && c ? to(l, n) : null;
1853
+ const d = l && c ? no(l, n) : null;
1803
1854
  let p = -1, m = null;
1804
1855
  s && (m = new ResizeObserver((y) => {
1805
1856
  let [w] = y;
@@ -1808,22 +1859,22 @@ function no(e, t, n, r) {
1808
1859
  (b = m) == null || b.observe(t);
1809
1860
  })), n();
1810
1861
  }), l && !a && m.observe(l), m.observe(t));
1811
- let g, f = a ? ae(e) : null;
1812
- a && v();
1813
- function v() {
1862
+ let v, u = a ? ae(e) : null;
1863
+ a && g();
1864
+ function g() {
1814
1865
  const y = ae(e);
1815
- f && (y.x !== f.x || y.y !== f.y || y.width !== f.width || y.height !== f.height) && n(), f = y, g = requestAnimationFrame(v);
1866
+ u && (y.x !== u.x || y.y !== u.y || y.width !== u.width || y.height !== u.height) && n(), u = y, v = requestAnimationFrame(g);
1816
1867
  }
1817
1868
  return n(), () => {
1818
1869
  var y;
1819
1870
  h.forEach((w) => {
1820
1871
  o && w.removeEventListener("scroll", n), i && w.removeEventListener("resize", n);
1821
- }), d == null || d(), (y = m) == null || y.disconnect(), m = null, a && cancelAnimationFrame(g);
1872
+ }), d == null || d(), (y = m) == null || y.disconnect(), m = null, a && cancelAnimationFrame(v);
1822
1873
  };
1823
1874
  }
1824
- const ro = kr, oo = Fr, io = Lr, so = Wr, co = Nr, Dt = Mr, ao = Ir, lo = (e, t, n) => {
1875
+ const oo = Fr, io = Ir, so = Nr, co = Wr, ao = Dr, Dt = Lr, lo = _r, uo = (e, t, n) => {
1825
1876
  const r = /* @__PURE__ */ new Map(), o = {
1826
- platform: eo,
1877
+ platform: to,
1827
1878
  ...n
1828
1879
  }, i = {
1829
1880
  ...o.platform,
@@ -1833,7 +1884,7 @@ const ro = kr, oo = Fr, io = Lr, so = Wr, co = Nr, Dt = Mr, ao = Ir, lo = (e, t,
1833
1884
  ...o,
1834
1885
  platform: i
1835
1886
  });
1836
- }, uo = (e) => {
1887
+ }, fo = (e) => {
1837
1888
  function t(n) {
1838
1889
  return {}.hasOwnProperty.call(n, "current");
1839
1890
  }
@@ -1855,7 +1906,7 @@ const ro = kr, oo = Fr, io = Lr, so = Wr, co = Nr, Dt = Mr, ao = Ir, lo = (e, t,
1855
1906
  }
1856
1907
  };
1857
1908
  };
1858
- var De = typeof document < "u" ? kn : Fn;
1909
+ var De = typeof document < "u" ? Dn : kn;
1859
1910
  function Be(e, t) {
1860
1911
  if (e === t)
1861
1912
  return !0;
@@ -1894,12 +1945,12 @@ function kt(e, t) {
1894
1945
  return Math.round(t * n) / n;
1895
1946
  }
1896
1947
  function Ft(e) {
1897
- const t = u.useRef(e);
1948
+ const t = f.useRef(e);
1898
1949
  return De(() => {
1899
1950
  t.current = e;
1900
1951
  }), t;
1901
1952
  }
1902
- function fo(e) {
1953
+ function ho(e) {
1903
1954
  e === void 0 && (e = {});
1904
1955
  const {
1905
1956
  placement: t = "bottom",
@@ -1913,30 +1964,30 @@ function fo(e) {
1913
1964
  transform: c = !0,
1914
1965
  whileElementsMounted: a,
1915
1966
  open: l
1916
- } = e, [h, d] = u.useState({
1967
+ } = e, [h, d] = f.useState({
1917
1968
  x: 0,
1918
1969
  y: 0,
1919
1970
  strategy: n,
1920
1971
  placement: t,
1921
1972
  middlewareData: {},
1922
1973
  isPositioned: !1
1923
- }), [p, m] = u.useState(r);
1974
+ }), [p, m] = f.useState(r);
1924
1975
  Be(p, r) || m(r);
1925
- const [g, f] = u.useState(null), [v, y] = u.useState(null), w = u.useCallback((R) => {
1926
- R !== C.current && (C.current = R, f(R));
1927
- }, []), b = u.useCallback((R) => {
1928
- R !== S.current && (S.current = R, y(R));
1929
- }, []), x = i || g, E = s || v, C = u.useRef(null), S = u.useRef(null), A = u.useRef(h), O = a != null, D = Ft(a), j = Ft(o), M = u.useCallback(() => {
1976
+ const [v, u] = f.useState(null), [g, y] = f.useState(null), w = f.useCallback((P) => {
1977
+ P !== C.current && (C.current = P, u(P));
1978
+ }, []), b = f.useCallback((P) => {
1979
+ P !== S.current && (S.current = P, y(P));
1980
+ }, []), x = i || v, E = s || g, C = f.useRef(null), S = f.useRef(null), A = f.useRef(h), O = a != null, D = Ft(a), j = Ft(o), T = f.useCallback(() => {
1930
1981
  if (!C.current || !S.current)
1931
1982
  return;
1932
- const R = {
1983
+ const P = {
1933
1984
  placement: t,
1934
1985
  strategy: n,
1935
1986
  middleware: p
1936
1987
  };
1937
- j.current && (R.platform = j.current), lo(C.current, S.current, R).then((W) => {
1988
+ j.current && (P.platform = j.current), uo(C.current, S.current, P).then((_) => {
1938
1989
  const X = {
1939
- ...W,
1990
+ ..._,
1940
1991
  isPositioned: !0
1941
1992
  };
1942
1993
  I.current && !Be(A.current, X) && (A.current = X, Ht.flushSync(() => {
@@ -1945,61 +1996,61 @@ function fo(e) {
1945
1996
  });
1946
1997
  }, [p, t, n, j]);
1947
1998
  De(() => {
1948
- l === !1 && A.current.isPositioned && (A.current.isPositioned = !1, d((R) => ({
1949
- ...R,
1999
+ l === !1 && A.current.isPositioned && (A.current.isPositioned = !1, d((P) => ({
2000
+ ...P,
1950
2001
  isPositioned: !1
1951
2002
  })));
1952
2003
  }, [l]);
1953
- const I = u.useRef(!1);
2004
+ const I = f.useRef(!1);
1954
2005
  De(() => (I.current = !0, () => {
1955
2006
  I.current = !1;
1956
2007
  }), []), De(() => {
1957
2008
  if (x && (C.current = x), E && (S.current = E), x && E) {
1958
2009
  if (D.current)
1959
- return D.current(x, E, M);
1960
- M();
2010
+ return D.current(x, E, T);
2011
+ T();
1961
2012
  }
1962
- }, [x, E, M, D, O]);
1963
- const N = u.useMemo(() => ({
2013
+ }, [x, E, T, D, O]);
2014
+ const N = f.useMemo(() => ({
1964
2015
  reference: C,
1965
2016
  floating: S,
1966
2017
  setReference: w,
1967
2018
  setFloating: b
1968
- }), [w, b]), T = u.useMemo(() => ({
2019
+ }), [w, b]), M = f.useMemo(() => ({
1969
2020
  reference: x,
1970
2021
  floating: E
1971
- }), [x, E]), k = u.useMemo(() => {
1972
- const R = {
2022
+ }), [x, E]), k = f.useMemo(() => {
2023
+ const P = {
1973
2024
  position: n,
1974
2025
  left: 0,
1975
2026
  top: 0
1976
2027
  };
1977
- if (!T.floating)
1978
- return R;
1979
- const W = kt(T.floating, h.x), X = kt(T.floating, h.y);
2028
+ if (!M.floating)
2029
+ return P;
2030
+ const _ = kt(M.floating, h.x), X = kt(M.floating, h.y);
1980
2031
  return c ? {
1981
- ...R,
1982
- transform: "translate(" + W + "px, " + X + "px)",
1983
- ...nn(T.floating) >= 1.5 && {
2032
+ ...P,
2033
+ transform: "translate(" + _ + "px, " + X + "px)",
2034
+ ...nn(M.floating) >= 1.5 && {
1984
2035
  willChange: "transform"
1985
2036
  }
1986
2037
  } : {
1987
2038
  position: n,
1988
- left: W,
2039
+ left: _,
1989
2040
  top: X
1990
2041
  };
1991
- }, [n, c, T.floating, h.x, h.y]);
1992
- return u.useMemo(() => ({
2042
+ }, [n, c, M.floating, h.x, h.y]);
2043
+ return f.useMemo(() => ({
1993
2044
  ...h,
1994
- update: M,
2045
+ update: T,
1995
2046
  refs: N,
1996
- elements: T,
2047
+ elements: M,
1997
2048
  floatingStyles: k
1998
- }), [h, M, N, T, k]);
2049
+ }), [h, T, N, M, k]);
1999
2050
  }
2000
- var ho = "Arrow", rn = u.forwardRef((e, t) => {
2051
+ var mo = "Arrow", rn = f.forwardRef((e, t) => {
2001
2052
  const { children: n, width: r = 10, height: o = 5, ...i } = e;
2002
- return /* @__PURE__ */ P.jsx(
2053
+ return /* @__PURE__ */ R.jsx(
2003
2054
  oe.svg,
2004
2055
  {
2005
2056
  ...i,
@@ -2008,14 +2059,14 @@ var ho = "Arrow", rn = u.forwardRef((e, t) => {
2008
2059
  height: o,
2009
2060
  viewBox: "0 0 30 10",
2010
2061
  preserveAspectRatio: "none",
2011
- children: e.asChild ? n : /* @__PURE__ */ P.jsx("polygon", { points: "0,0 30,0 15,10" })
2062
+ children: e.asChild ? n : /* @__PURE__ */ R.jsx("polygon", { points: "0,0 30,0 15,10" })
2012
2063
  }
2013
2064
  );
2014
2065
  });
2015
- rn.displayName = ho;
2016
- var mo = rn;
2017
- function po(e) {
2018
- const [t, n] = u.useState(void 0);
2066
+ rn.displayName = mo;
2067
+ var po = rn;
2068
+ function vo(e) {
2069
+ const [t, n] = f.useState(void 0);
2019
2070
  return Ee(() => {
2020
2071
  if (e) {
2021
2072
  n({ width: e.offsetWidth, height: e.offsetHeight });
@@ -2036,21 +2087,21 @@ function po(e) {
2036
2087
  n(void 0);
2037
2088
  }, [e]), t;
2038
2089
  }
2039
- var ut = "Popper", [on, Pi] = zt(ut), [vo, sn] = on(ut), cn = (e) => {
2040
- const { __scopePopper: t, children: n } = e, [r, o] = u.useState(null);
2041
- return /* @__PURE__ */ P.jsx(vo, { scope: t, anchor: r, onAnchorChange: o, children: n });
2090
+ var ut = "Popper", [on, Ti] = zt(ut), [go, sn] = on(ut), cn = (e) => {
2091
+ const { __scopePopper: t, children: n } = e, [r, o] = f.useState(null);
2092
+ return /* @__PURE__ */ R.jsx(go, { scope: t, anchor: r, onAnchorChange: o, children: n });
2042
2093
  };
2043
2094
  cn.displayName = ut;
2044
- var an = "PopperAnchor", ln = u.forwardRef(
2095
+ var an = "PopperAnchor", ln = f.forwardRef(
2045
2096
  (e, t) => {
2046
- const { __scopePopper: n, virtualRef: r, ...o } = e, i = sn(an, n), s = u.useRef(null), c = ce(t, s);
2047
- return u.useEffect(() => {
2097
+ const { __scopePopper: n, virtualRef: r, ...o } = e, i = sn(an, n), s = f.useRef(null), c = ce(t, s);
2098
+ return f.useEffect(() => {
2048
2099
  i.onAnchorChange((r == null ? void 0 : r.current) || s.current);
2049
- }), r ? null : /* @__PURE__ */ P.jsx(oe.div, { ...o, ref: c });
2100
+ }), r ? null : /* @__PURE__ */ R.jsx(oe.div, { ...o, ref: c });
2050
2101
  }
2051
2102
  );
2052
2103
  ln.displayName = an;
2053
- var ft = "PopperContent", [go, yo] = on(ft), un = u.forwardRef(
2104
+ var ft = "PopperContent", [yo, wo] = on(ft), un = f.forwardRef(
2054
2105
  (e, t) => {
2055
2106
  var dt, ht, mt, pt, vt, gt;
2056
2107
  const {
@@ -2066,76 +2117,76 @@ var ft = "PopperContent", [go, yo] = on(ft), un = u.forwardRef(
2066
2117
  sticky: d = "partial",
2067
2118
  hideWhenDetached: p = !1,
2068
2119
  updatePositionStrategy: m = "optimized",
2069
- onPlaced: g,
2070
- ...f
2071
- } = e, v = sn(ft, n), [y, w] = u.useState(null), b = ce(t, (ye) => w(ye)), [x, E] = u.useState(null), C = po(x), S = (C == null ? void 0 : C.width) ?? 0, A = (C == null ? void 0 : C.height) ?? 0, O = r + (i !== "center" ? "-" + i : ""), D = typeof h == "number" ? h : { top: 0, right: 0, bottom: 0, left: 0, ...h }, j = Array.isArray(l) ? l : [l], M = j.length > 0, I = {
2120
+ onPlaced: v,
2121
+ ...u
2122
+ } = e, g = sn(ft, n), [y, w] = f.useState(null), b = ce(t, (ye) => w(ye)), [x, E] = f.useState(null), C = vo(x), S = (C == null ? void 0 : C.width) ?? 0, A = (C == null ? void 0 : C.height) ?? 0, O = r + (i !== "center" ? "-" + i : ""), D = typeof h == "number" ? h : { top: 0, right: 0, bottom: 0, left: 0, ...h }, j = Array.isArray(l) ? l : [l], T = j.length > 0, I = {
2072
2123
  padding: D,
2073
- boundary: j.filter(xo),
2124
+ boundary: j.filter(bo),
2074
2125
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
2075
- altBoundary: M
2076
- }, { refs: N, floatingStyles: T, placement: k, isPositioned: R, middlewareData: W } = fo({
2126
+ altBoundary: T
2127
+ }, { refs: N, floatingStyles: M, placement: k, isPositioned: P, middlewareData: _ } = ho({
2077
2128
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
2078
2129
  strategy: "fixed",
2079
2130
  placement: O,
2080
- whileElementsMounted: (...ye) => no(...ye, {
2131
+ whileElementsMounted: (...ye) => ro(...ye, {
2081
2132
  animationFrame: m === "always"
2082
2133
  }),
2083
2134
  elements: {
2084
- reference: v.anchor
2135
+ reference: g.anchor
2085
2136
  },
2086
2137
  middleware: [
2087
- ro({ mainAxis: o + A, alignmentAxis: s }),
2088
- a && oo({
2138
+ oo({ mainAxis: o + A, alignmentAxis: s }),
2139
+ a && io({
2089
2140
  mainAxis: !0,
2090
2141
  crossAxis: !1,
2091
- limiter: d === "partial" ? ao() : void 0,
2142
+ limiter: d === "partial" ? lo() : void 0,
2092
2143
  ...I
2093
2144
  }),
2094
- a && io({ ...I }),
2095
- so({
2145
+ a && so({ ...I }),
2146
+ co({
2096
2147
  ...I,
2097
- apply: ({ elements: ye, rects: yt, availableWidth: On, availableHeight: Tn }) => {
2098
- const { width: Mn, height: Ln } = yt.reference, Pe = ye.floating.style;
2099
- Pe.setProperty("--radix-popper-available-width", `${On}px`), Pe.setProperty("--radix-popper-available-height", `${Tn}px`), Pe.setProperty("--radix-popper-anchor-width", `${Mn}px`), Pe.setProperty("--radix-popper-anchor-height", `${Ln}px`);
2148
+ apply: ({ elements: ye, rects: yt, availableWidth: On, availableHeight: Mn }) => {
2149
+ const { width: Tn, height: Ln } = yt.reference, Re = ye.floating.style;
2150
+ Re.setProperty("--radix-popper-available-width", `${On}px`), Re.setProperty("--radix-popper-available-height", `${Mn}px`), Re.setProperty("--radix-popper-anchor-width", `${Tn}px`), Re.setProperty("--radix-popper-anchor-height", `${Ln}px`);
2100
2151
  }
2101
2152
  }),
2102
- x && uo({ element: x, padding: c }),
2103
- bo({ arrowWidth: S, arrowHeight: A }),
2104
- p && co({ strategy: "referenceHidden", ...I })
2153
+ x && fo({ element: x, padding: c }),
2154
+ Eo({ arrowWidth: S, arrowHeight: A }),
2155
+ p && ao({ strategy: "referenceHidden", ...I })
2105
2156
  ]
2106
- }), [X, En] = hn(k), Re = ee(g);
2157
+ }), [X, En] = hn(k), Pe = ee(v);
2107
2158
  Ee(() => {
2108
- R && (Re == null || Re());
2109
- }, [R, Re]);
2110
- const Cn = (dt = W.arrow) == null ? void 0 : dt.x, Sn = (ht = W.arrow) == null ? void 0 : ht.y, An = ((mt = W.arrow) == null ? void 0 : mt.centerOffset) !== 0, [Rn, Pn] = u.useState();
2159
+ P && (Pe == null || Pe());
2160
+ }, [P, Pe]);
2161
+ const Cn = (dt = _.arrow) == null ? void 0 : dt.x, Sn = (ht = _.arrow) == null ? void 0 : ht.y, An = ((mt = _.arrow) == null ? void 0 : mt.centerOffset) !== 0, [Pn, Rn] = f.useState();
2111
2162
  return Ee(() => {
2112
- y && Pn(window.getComputedStyle(y).zIndex);
2113
- }, [y]), /* @__PURE__ */ P.jsx(
2163
+ y && Rn(window.getComputedStyle(y).zIndex);
2164
+ }, [y]), /* @__PURE__ */ R.jsx(
2114
2165
  "div",
2115
2166
  {
2116
2167
  ref: N.setFloating,
2117
2168
  "data-radix-popper-content-wrapper": "",
2118
2169
  style: {
2119
- ...T,
2120
- transform: R ? T.transform : "translate(0, -200%)",
2170
+ ...M,
2171
+ transform: P ? M.transform : "translate(0, -200%)",
2121
2172
  // keep off the page when measuring
2122
2173
  minWidth: "max-content",
2123
- zIndex: Rn,
2174
+ zIndex: Pn,
2124
2175
  "--radix-popper-transform-origin": [
2125
- (pt = W.transformOrigin) == null ? void 0 : pt.x,
2126
- (vt = W.transformOrigin) == null ? void 0 : vt.y
2176
+ (pt = _.transformOrigin) == null ? void 0 : pt.x,
2177
+ (vt = _.transformOrigin) == null ? void 0 : vt.y
2127
2178
  ].join(" "),
2128
2179
  // hide the content if using the hide middleware and should be hidden
2129
2180
  // set visibility to hidden and disable pointer events so the UI behaves
2130
2181
  // as if the PopperContent isn't there at all
2131
- ...((gt = W.hide) == null ? void 0 : gt.referenceHidden) && {
2182
+ ...((gt = _.hide) == null ? void 0 : gt.referenceHidden) && {
2132
2183
  visibility: "hidden",
2133
2184
  pointerEvents: "none"
2134
2185
  }
2135
2186
  },
2136
2187
  dir: e.dir,
2137
- children: /* @__PURE__ */ P.jsx(
2138
- go,
2188
+ children: /* @__PURE__ */ R.jsx(
2189
+ yo,
2139
2190
  {
2140
2191
  scope: n,
2141
2192
  placedSide: X,
@@ -2143,18 +2194,18 @@ var ft = "PopperContent", [go, yo] = on(ft), un = u.forwardRef(
2143
2194
  arrowX: Cn,
2144
2195
  arrowY: Sn,
2145
2196
  shouldHideArrow: An,
2146
- children: /* @__PURE__ */ P.jsx(
2197
+ children: /* @__PURE__ */ R.jsx(
2147
2198
  oe.div,
2148
2199
  {
2149
2200
  "data-side": X,
2150
2201
  "data-align": En,
2151
- ...f,
2202
+ ...u,
2152
2203
  ref: b,
2153
2204
  style: {
2154
- ...f.style,
2205
+ ...u.style,
2155
2206
  // if the PopperContent hasn't been placed yet (not all measurements done)
2156
2207
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
2157
- animation: R ? void 0 : "none"
2208
+ animation: P ? void 0 : "none"
2158
2209
  }
2159
2210
  }
2160
2211
  )
@@ -2165,18 +2216,18 @@ var ft = "PopperContent", [go, yo] = on(ft), un = u.forwardRef(
2165
2216
  }
2166
2217
  );
2167
2218
  un.displayName = ft;
2168
- var fn = "PopperArrow", wo = {
2219
+ var fn = "PopperArrow", xo = {
2169
2220
  top: "bottom",
2170
2221
  right: "left",
2171
2222
  bottom: "top",
2172
2223
  left: "right"
2173
- }, dn = u.forwardRef(function(t, n) {
2174
- const { __scopePopper: r, ...o } = t, i = yo(fn, r), s = wo[i.placedSide];
2224
+ }, dn = f.forwardRef(function(t, n) {
2225
+ const { __scopePopper: r, ...o } = t, i = wo(fn, r), s = xo[i.placedSide];
2175
2226
  return (
2176
2227
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
2177
2228
  // doesn't report size as we'd expect on SVG elements.
2178
2229
  // it reports their bounding box which is effectively the largest path inside the SVG.
2179
- /* @__PURE__ */ P.jsx(
2230
+ /* @__PURE__ */ R.jsx(
2180
2231
  "span",
2181
2232
  {
2182
2233
  ref: i.onArrowChange,
@@ -2199,8 +2250,8 @@ var fn = "PopperArrow", wo = {
2199
2250
  }[i.placedSide],
2200
2251
  visibility: i.shouldHideArrow ? "hidden" : void 0
2201
2252
  },
2202
- children: /* @__PURE__ */ P.jsx(
2203
- mo,
2253
+ children: /* @__PURE__ */ R.jsx(
2254
+ po,
2204
2255
  {
2205
2256
  ...o,
2206
2257
  ref: n,
@@ -2216,39 +2267,39 @@ var fn = "PopperArrow", wo = {
2216
2267
  );
2217
2268
  });
2218
2269
  dn.displayName = fn;
2219
- function xo(e) {
2270
+ function bo(e) {
2220
2271
  return e !== null;
2221
2272
  }
2222
- var bo = (e) => ({
2273
+ var Eo = (e) => ({
2223
2274
  name: "transformOrigin",
2224
2275
  options: e,
2225
2276
  fn(t) {
2226
- var v, y, w;
2227
- const { placement: n, rects: r, middlewareData: o } = t, s = ((v = o.arrow) == null ? void 0 : v.centerOffset) !== 0, c = s ? 0 : e.arrowWidth, a = s ? 0 : e.arrowHeight, [l, h] = hn(n), d = { start: "0%", center: "50%", end: "100%" }[h], p = (((y = o.arrow) == null ? void 0 : y.x) ?? 0) + c / 2, m = (((w = o.arrow) == null ? void 0 : w.y) ?? 0) + a / 2;
2228
- let g = "", f = "";
2229
- return l === "bottom" ? (g = s ? d : `${p}px`, f = `${-a}px`) : l === "top" ? (g = s ? d : `${p}px`, f = `${r.floating.height + a}px`) : l === "right" ? (g = `${-a}px`, f = s ? d : `${m}px`) : l === "left" && (g = `${r.floating.width + a}px`, f = s ? d : `${m}px`), { data: { x: g, y: f } };
2277
+ var g, y, w;
2278
+ const { placement: n, rects: r, middlewareData: o } = t, s = ((g = o.arrow) == null ? void 0 : g.centerOffset) !== 0, c = s ? 0 : e.arrowWidth, a = s ? 0 : e.arrowHeight, [l, h] = hn(n), d = { start: "0%", center: "50%", end: "100%" }[h], p = (((y = o.arrow) == null ? void 0 : y.x) ?? 0) + c / 2, m = (((w = o.arrow) == null ? void 0 : w.y) ?? 0) + a / 2;
2279
+ let v = "", u = "";
2280
+ return l === "bottom" ? (v = s ? d : `${p}px`, u = `${-a}px`) : l === "top" ? (v = s ? d : `${p}px`, u = `${r.floating.height + a}px`) : l === "right" ? (v = `${-a}px`, u = s ? d : `${m}px`) : l === "left" && (v = `${r.floating.width + a}px`, u = s ? d : `${m}px`), { data: { x: v, y: u } };
2230
2281
  }
2231
2282
  });
2232
2283
  function hn(e) {
2233
2284
  const [t, n = "center"] = e.split("-");
2234
2285
  return [t, n];
2235
2286
  }
2236
- var Oi = cn, Ti = ln, Mi = un, Li = dn, Eo = "Portal", Co = u.forwardRef((e, t) => {
2287
+ var Li = cn, Ni = ln, Di = un, ki = dn, Co = "Portal", So = f.forwardRef((e, t) => {
2237
2288
  var c;
2238
- const { container: n, ...r } = e, [o, i] = u.useState(!1);
2289
+ const { container: n, ...r } = e, [o, i] = f.useState(!1);
2239
2290
  Ee(() => i(!0), []);
2240
2291
  const s = n || o && ((c = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : c.body);
2241
- return s ? Hn.createPortal(/* @__PURE__ */ P.jsx(oe.div, { ...r, ref: t }), s) : null;
2292
+ return s ? Hn.createPortal(/* @__PURE__ */ R.jsx(oe.div, { ...r, ref: t }), s) : null;
2242
2293
  });
2243
- Co.displayName = Eo;
2244
- var So = function(e) {
2294
+ So.displayName = Co;
2295
+ var Ao = function(e) {
2245
2296
  if (typeof document > "u")
2246
2297
  return null;
2247
2298
  var t = Array.isArray(e) ? e[0] : e;
2248
2299
  return t.ownerDocument.body;
2249
- }, le = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Me = {}, Ke = 0, mn = function(e) {
2300
+ }, le = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Te = {}, Ke = 0, mn = function(e) {
2250
2301
  return e && (e.host || mn(e.parentNode));
2251
- }, Ao = function(e, t) {
2302
+ }, Po = function(e, t) {
2252
2303
  return t.map(function(n) {
2253
2304
  if (e.contains(n))
2254
2305
  return n;
@@ -2258,9 +2309,9 @@ var So = function(e) {
2258
2309
  return !!n;
2259
2310
  });
2260
2311
  }, Ro = function(e, t, n, r) {
2261
- var o = Ao(t, Array.isArray(e) ? e : [e]);
2262
- Me[n] || (Me[n] = /* @__PURE__ */ new WeakMap());
2263
- var i = Me[n], s = [], c = /* @__PURE__ */ new Set(), a = new Set(o), l = function(d) {
2312
+ var o = Po(t, Array.isArray(e) ? e : [e]);
2313
+ Te[n] || (Te[n] = /* @__PURE__ */ new WeakMap());
2314
+ var i = Te[n], s = [], c = /* @__PURE__ */ new Set(), a = new Set(o), l = function(d) {
2264
2315
  !d || c.has(d) || (c.add(d), l(d.parentNode));
2265
2316
  };
2266
2317
  o.forEach(l);
@@ -2270,8 +2321,8 @@ var So = function(e) {
2270
2321
  h(p);
2271
2322
  else
2272
2323
  try {
2273
- var m = p.getAttribute(r), g = m !== null && m !== "false", f = (le.get(p) || 0) + 1, v = (i.get(p) || 0) + 1;
2274
- le.set(p, f), i.set(p, v), s.push(p), f === 1 && g && Te.set(p, !0), v === 1 && p.setAttribute(n, "true"), g || p.setAttribute(r, "true");
2324
+ var m = p.getAttribute(r), v = m !== null && m !== "false", u = (le.get(p) || 0) + 1, g = (i.get(p) || 0) + 1;
2325
+ le.set(p, u), i.set(p, g), s.push(p), u === 1 && v && Me.set(p, !0), g === 1 && p.setAttribute(n, "true"), v || p.setAttribute(r, "true");
2275
2326
  } catch (y) {
2276
2327
  console.error("aria-hidden: cannot operate on ", p, y);
2277
2328
  }
@@ -2280,12 +2331,12 @@ var So = function(e) {
2280
2331
  return h(t), c.clear(), Ke++, function() {
2281
2332
  s.forEach(function(d) {
2282
2333
  var p = le.get(d) - 1, m = i.get(d) - 1;
2283
- le.set(d, p), i.set(d, m), p || (Te.has(d) || d.removeAttribute(r), Te.delete(d)), m || d.removeAttribute(n);
2284
- }), Ke--, Ke || (le = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Me = {});
2334
+ le.set(d, p), i.set(d, m), p || (Me.has(d) || d.removeAttribute(r), Me.delete(d)), m || d.removeAttribute(n);
2335
+ }), Ke--, Ke || (le = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Te = {});
2285
2336
  };
2286
- }, Ni = function(e, t, n) {
2337
+ }, Fi = function(e, t, n) {
2287
2338
  n === void 0 && (n = "data-aria-hidden");
2288
- var r = Array.from(Array.isArray(e) ? e : [e]), o = So(e);
2339
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = Ao(e);
2289
2340
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Ro(r, o, n, "aria-hidden")) : function() {
2290
2341
  return null;
2291
2342
  };
@@ -2306,17 +2357,17 @@ function pn(e, t) {
2306
2357
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
2307
2358
  return n;
2308
2359
  }
2309
- function Po(e, t, n) {
2360
+ function Oo(e, t, n) {
2310
2361
  if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
2311
2362
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
2312
2363
  return e.concat(i || Array.prototype.slice.call(t));
2313
2364
  }
2314
- var ke = "right-scroll-bar-position", Fe = "width-before-scroll-bar", Oo = "with-scroll-bars-hidden", To = "--removed-body-scroll-bar-size";
2365
+ var ke = "right-scroll-bar-position", Fe = "width-before-scroll-bar", Mo = "with-scroll-bars-hidden", To = "--removed-body-scroll-bar-size";
2315
2366
  function Ge(e, t) {
2316
2367
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
2317
2368
  }
2318
- function Mo(e, t) {
2319
- var n = In(function() {
2369
+ function Lo(e, t) {
2370
+ var n = Fn(function() {
2320
2371
  return {
2321
2372
  // value
2322
2373
  value: e,
@@ -2336,14 +2387,14 @@ function Mo(e, t) {
2336
2387
  })[0];
2337
2388
  return n.callback = t, n.facade;
2338
2389
  }
2339
- var Lo = typeof window < "u" ? u.useLayoutEffect : u.useEffect, It = /* @__PURE__ */ new WeakMap();
2340
- function No(e, t) {
2341
- var n = Mo(null, function(r) {
2390
+ var No = typeof window < "u" ? f.useLayoutEffect : f.useEffect, It = /* @__PURE__ */ new WeakMap();
2391
+ function Do(e, t) {
2392
+ var n = Lo(null, function(r) {
2342
2393
  return e.forEach(function(o) {
2343
2394
  return Ge(o, r);
2344
2395
  });
2345
2396
  });
2346
- return Lo(function() {
2397
+ return No(function() {
2347
2398
  var r = It.get(n);
2348
2399
  if (r) {
2349
2400
  var o = new Set(r), i = new Set(e), s = n.current;
@@ -2356,11 +2407,11 @@ function No(e, t) {
2356
2407
  It.set(n, e);
2357
2408
  }, [e]), n;
2358
2409
  }
2359
- function Do(e) {
2410
+ function ko(e) {
2360
2411
  return e;
2361
2412
  }
2362
- function ko(e, t) {
2363
- t === void 0 && (t = Do);
2413
+ function Fo(e, t) {
2414
+ t === void 0 && (t = ko);
2364
2415
  var n = [], r = !1, o = {
2365
2416
  read: function() {
2366
2417
  if (r)
@@ -2414,9 +2465,9 @@ function ko(e, t) {
2414
2465
  };
2415
2466
  return o;
2416
2467
  }
2417
- function Fo(e) {
2468
+ function Io(e) {
2418
2469
  e === void 0 && (e = {});
2419
- var t = ko(null);
2470
+ var t = Fo(null);
2420
2471
  return t.options = z({ async: !0, ssr: !1 }, e), t;
2421
2472
  }
2422
2473
  var vn = function(e) {
@@ -2426,24 +2477,24 @@ var vn = function(e) {
2426
2477
  var r = t.read();
2427
2478
  if (!r)
2428
2479
  throw new Error("Sidecar medium not found");
2429
- return u.createElement(r, z({}, n));
2480
+ return f.createElement(r, z({}, n));
2430
2481
  };
2431
2482
  vn.isSideCarExport = !0;
2432
- function Io(e, t) {
2483
+ function _o(e, t) {
2433
2484
  return e.useMedium(t), vn;
2434
2485
  }
2435
- var gn = Fo(), Ze = function() {
2436
- }, $e = u.forwardRef(function(e, t) {
2437
- var n = u.useRef(null), r = u.useState({
2486
+ var gn = Io(), Ze = function() {
2487
+ }, $e = f.forwardRef(function(e, t) {
2488
+ var n = f.useRef(null), r = f.useState({
2438
2489
  onScrollCapture: Ze,
2439
2490
  onWheelCapture: Ze,
2440
2491
  onTouchMoveCapture: Ze
2441
- }), o = r[0], i = r[1], s = e.forwardProps, c = e.children, a = e.className, l = e.removeScrollBar, h = e.enabled, d = e.shards, p = e.sideCar, m = e.noIsolation, g = e.inert, f = e.allowPinchZoom, v = e.as, y = v === void 0 ? "div" : v, w = e.gapMode, b = pn(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = p, E = No([n, t]), C = z(z({}, b), o);
2442
- return u.createElement(
2443
- u.Fragment,
2492
+ }), o = r[0], i = r[1], s = e.forwardProps, c = e.children, a = e.className, l = e.removeScrollBar, h = e.enabled, d = e.shards, p = e.sideCar, m = e.noIsolation, v = e.inert, u = e.allowPinchZoom, g = e.as, y = g === void 0 ? "div" : g, w = e.gapMode, b = pn(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = p, E = Do([n, t]), C = z(z({}, b), o);
2493
+ return f.createElement(
2494
+ f.Fragment,
2444
2495
  null,
2445
- h && u.createElement(x, { sideCar: gn, removeScrollBar: l, shards: d, noIsolation: m, inert: g, setCallbacks: i, allowPinchZoom: !!f, lockRef: n, gapMode: w }),
2446
- s ? u.cloneElement(u.Children.only(c), z(z({}, C), { ref: E })) : u.createElement(y, z({}, C, { className: a, ref: E }), c)
2496
+ h && f.createElement(x, { sideCar: gn, removeScrollBar: l, shards: d, noIsolation: m, inert: v, setCallbacks: i, allowPinchZoom: !!u, lockRef: n, gapMode: w }),
2497
+ s ? f.cloneElement(f.Children.only(c), z(z({}, C), { ref: E })) : f.createElement(y, z({}, C, { className: a, ref: E }), c)
2447
2498
  );
2448
2499
  });
2449
2500
  $e.defaultProps = {
@@ -2459,7 +2510,7 @@ var Wo = function() {
2459
2510
  if (typeof __webpack_nonce__ < "u")
2460
2511
  return __webpack_nonce__;
2461
2512
  };
2462
- function _o() {
2513
+ function Bo() {
2463
2514
  if (!document)
2464
2515
  return null;
2465
2516
  var e = document.createElement("style");
@@ -2467,62 +2518,62 @@ function _o() {
2467
2518
  var t = Wo();
2468
2519
  return t && e.setAttribute("nonce", t), e;
2469
2520
  }
2470
- function Bo(e, t) {
2521
+ function jo(e, t) {
2471
2522
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
2472
2523
  }
2473
- function jo(e) {
2524
+ function $o(e) {
2474
2525
  var t = document.head || document.getElementsByTagName("head")[0];
2475
2526
  t.appendChild(e);
2476
2527
  }
2477
- var $o = function() {
2528
+ var Ho = function() {
2478
2529
  var e = 0, t = null;
2479
2530
  return {
2480
2531
  add: function(n) {
2481
- e == 0 && (t = _o()) && (Bo(t, n), jo(t)), e++;
2532
+ e == 0 && (t = Bo()) && (jo(t, n), $o(t)), e++;
2482
2533
  },
2483
2534
  remove: function() {
2484
2535
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
2485
2536
  }
2486
2537
  };
2487
- }, Ho = function() {
2488
- var e = $o();
2538
+ }, Vo = function() {
2539
+ var e = Ho();
2489
2540
  return function(t, n) {
2490
- u.useEffect(function() {
2541
+ f.useEffect(function() {
2491
2542
  return e.add(t), function() {
2492
2543
  e.remove();
2493
2544
  };
2494
2545
  }, [t && n]);
2495
2546
  };
2496
2547
  }, yn = function() {
2497
- var e = Ho(), t = function(n) {
2548
+ var e = Vo(), t = function(n) {
2498
2549
  var r = n.styles, o = n.dynamic;
2499
2550
  return e(r, o), null;
2500
2551
  };
2501
2552
  return t;
2502
- }, Vo = {
2553
+ }, zo = {
2503
2554
  left: 0,
2504
2555
  top: 0,
2505
2556
  right: 0,
2506
2557
  gap: 0
2507
2558
  }, qe = function(e) {
2508
2559
  return parseInt(e || "", 10) || 0;
2509
- }, zo = function(e) {
2560
+ }, Uo = function(e) {
2510
2561
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
2511
2562
  return [qe(n), qe(r), qe(o)];
2512
- }, Uo = function(e) {
2563
+ }, Yo = function(e) {
2513
2564
  if (e === void 0 && (e = "margin"), typeof window > "u")
2514
- return Vo;
2515
- var t = zo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
2565
+ return zo;
2566
+ var t = Uo(e), n = document.documentElement.clientWidth, r = window.innerWidth;
2516
2567
  return {
2517
2568
  left: t[0],
2518
2569
  top: t[1],
2519
2570
  right: t[2],
2520
2571
  gap: Math.max(0, r - n + t[2] - t[0])
2521
2572
  };
2522
- }, Yo = yn(), he = "data-scroll-locked", Xo = function(e, t, n, r) {
2573
+ }, Xo = yn(), he = "data-scroll-locked", Ko = function(e, t, n, r) {
2523
2574
  var o = e.left, i = e.top, s = e.right, c = e.gap;
2524
2575
  return n === void 0 && (n = "margin"), `
2525
- .`.concat(Oo, ` {
2576
+ .`.concat(Mo, ` {
2526
2577
  overflow: hidden `).concat(r, `;
2527
2578
  padding-right: `).concat(c, "px ").concat(r, `;
2528
2579
  }
@@ -2563,23 +2614,23 @@ var $o = function() {
2563
2614
  `).concat(To, ": ").concat(c, `px;
2564
2615
  }
2565
2616
  `);
2566
- }, Wt = function() {
2617
+ }, _t = function() {
2567
2618
  var e = parseInt(document.body.getAttribute(he) || "0", 10);
2568
2619
  return isFinite(e) ? e : 0;
2569
- }, Ko = function() {
2570
- u.useEffect(function() {
2571
- return document.body.setAttribute(he, (Wt() + 1).toString()), function() {
2572
- var e = Wt() - 1;
2620
+ }, Go = function() {
2621
+ f.useEffect(function() {
2622
+ return document.body.setAttribute(he, (_t() + 1).toString()), function() {
2623
+ var e = _t() - 1;
2573
2624
  e <= 0 ? document.body.removeAttribute(he) : document.body.setAttribute(he, e.toString());
2574
2625
  };
2575
2626
  }, []);
2576
- }, Go = function(e) {
2627
+ }, Zo = function(e) {
2577
2628
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
2578
- Ko();
2579
- var i = u.useMemo(function() {
2580
- return Uo(o);
2629
+ Go();
2630
+ var i = f.useMemo(function() {
2631
+ return Yo(o);
2581
2632
  }, [o]);
2582
- return u.createElement(Yo, { styles: Xo(i, !t, o, n ? "" : "!important") });
2633
+ return f.createElement(Xo, { styles: Ko(i, !t, o, n ? "" : "!important") });
2583
2634
  }, nt = !1;
2584
2635
  if (typeof window < "u")
2585
2636
  try {
@@ -2592,20 +2643,22 @@ if (typeof window < "u")
2592
2643
  } catch {
2593
2644
  nt = !1;
2594
2645
  }
2595
- var ue = nt ? { passive: !1 } : !1, Zo = function(e) {
2646
+ var ue = nt ? { passive: !1 } : !1, qo = function(e) {
2596
2647
  return e.tagName === "TEXTAREA";
2597
2648
  }, wn = function(e, t) {
2649
+ if (!(e instanceof Element))
2650
+ return !1;
2598
2651
  var n = window.getComputedStyle(e);
2599
2652
  return (
2600
2653
  // not-not-scrollable
2601
2654
  n[t] !== "hidden" && // contains scroll inside self
2602
- !(n.overflowY === n.overflowX && !Zo(e) && n[t] === "visible")
2655
+ !(n.overflowY === n.overflowX && !qo(e) && n[t] === "visible")
2603
2656
  );
2604
- }, qo = function(e) {
2605
- return wn(e, "overflowY");
2606
2657
  }, Qo = function(e) {
2658
+ return wn(e, "overflowY");
2659
+ }, Jo = function(e) {
2607
2660
  return wn(e, "overflowX");
2608
- }, _t = function(e, t) {
2661
+ }, Wt = function(e, t) {
2609
2662
  var n = t.ownerDocument, r = t;
2610
2663
  do {
2611
2664
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
@@ -2618,14 +2671,14 @@ var ue = nt ? { passive: !1 } : !1, Zo = function(e) {
2618
2671
  r = r.parentNode;
2619
2672
  } while (r && r !== n.body);
2620
2673
  return !1;
2621
- }, Jo = function(e) {
2674
+ }, ei = function(e) {
2622
2675
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
2623
2676
  return [
2624
2677
  t,
2625
2678
  n,
2626
2679
  r
2627
2680
  ];
2628
- }, ei = function(e) {
2681
+ }, ti = function(e) {
2629
2682
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
2630
2683
  return [
2631
2684
  t,
@@ -2633,16 +2686,16 @@ var ue = nt ? { passive: !1 } : !1, Zo = function(e) {
2633
2686
  r
2634
2687
  ];
2635
2688
  }, xn = function(e, t) {
2636
- return e === "v" ? qo(t) : Qo(t);
2689
+ return e === "v" ? Qo(t) : Jo(t);
2637
2690
  }, bn = function(e, t) {
2638
- return e === "v" ? Jo(t) : ei(t);
2639
- }, ti = function(e, t) {
2691
+ return e === "v" ? ei(t) : ti(t);
2692
+ }, ni = function(e, t) {
2640
2693
  return e === "h" && t === "rtl" ? -1 : 1;
2641
- }, ni = function(e, t, n, r, o) {
2642
- var i = ti(e, window.getComputedStyle(t).direction), s = i * r, c = n.target, a = t.contains(c), l = !1, h = s > 0, d = 0, p = 0;
2694
+ }, ri = function(e, t, n, r, o) {
2695
+ var i = ni(e, window.getComputedStyle(t).direction), s = i * r, c = n.target, a = t.contains(c), l = !1, h = s > 0, d = 0, p = 0;
2643
2696
  do {
2644
- var m = bn(e, c), g = m[0], f = m[1], v = m[2], y = f - v - i * g;
2645
- (g || y) && xn(e, c) && (d += y, p += g), c instanceof ShadowRoot ? c = c.host : c = c.parentNode;
2697
+ var m = bn(e, c), v = m[0], u = m[1], g = m[2], y = u - g - i * v;
2698
+ (v || y) && xn(e, c) && (d += y, p += v), c instanceof ShadowRoot ? c = c.host : c = c.parentNode;
2646
2699
  } while (
2647
2700
  // portaled content
2648
2701
  !a && c !== document.body || // self content
@@ -2655,108 +2708,108 @@ var ue = nt ? { passive: !1 } : !1, Zo = function(e) {
2655
2708
  return [e.deltaX, e.deltaY];
2656
2709
  }, jt = function(e) {
2657
2710
  return e && "current" in e ? e.current : e;
2658
- }, ri = function(e, t) {
2711
+ }, oi = function(e, t) {
2659
2712
  return e[0] === t[0] && e[1] === t[1];
2660
- }, oi = function(e) {
2713
+ }, ii = function(e) {
2661
2714
  return `
2662
2715
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
2663
2716
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
2664
2717
  `);
2665
- }, ii = 0, fe = [];
2666
- function si(e) {
2667
- var t = u.useRef([]), n = u.useRef([0, 0]), r = u.useRef(), o = u.useState(ii++)[0], i = u.useState(yn)[0], s = u.useRef(e);
2668
- u.useEffect(function() {
2718
+ }, si = 0, fe = [];
2719
+ function ci(e) {
2720
+ var t = f.useRef([]), n = f.useRef([0, 0]), r = f.useRef(), o = f.useState(si++)[0], i = f.useState(yn)[0], s = f.useRef(e);
2721
+ f.useEffect(function() {
2669
2722
  s.current = e;
2670
- }, [e]), u.useEffect(function() {
2723
+ }, [e]), f.useEffect(function() {
2671
2724
  if (e.inert) {
2672
2725
  document.body.classList.add("block-interactivity-".concat(o));
2673
- var f = Po([e.lockRef.current], (e.shards || []).map(jt), !0).filter(Boolean);
2674
- return f.forEach(function(v) {
2675
- return v.classList.add("allow-interactivity-".concat(o));
2726
+ var u = Oo([e.lockRef.current], (e.shards || []).map(jt), !0).filter(Boolean);
2727
+ return u.forEach(function(g) {
2728
+ return g.classList.add("allow-interactivity-".concat(o));
2676
2729
  }), function() {
2677
- document.body.classList.remove("block-interactivity-".concat(o)), f.forEach(function(v) {
2678
- return v.classList.remove("allow-interactivity-".concat(o));
2730
+ document.body.classList.remove("block-interactivity-".concat(o)), u.forEach(function(g) {
2731
+ return g.classList.remove("allow-interactivity-".concat(o));
2679
2732
  });
2680
2733
  };
2681
2734
  }
2682
2735
  }, [e.inert, e.lockRef.current, e.shards]);
2683
- var c = u.useCallback(function(f, v) {
2684
- if ("touches" in f && f.touches.length === 2)
2736
+ var c = f.useCallback(function(u, g) {
2737
+ if ("touches" in u && u.touches.length === 2 || u.type === "wheel" && u.ctrlKey)
2685
2738
  return !s.current.allowPinchZoom;
2686
- var y = Ne(f), w = n.current, b = "deltaX" in f ? f.deltaX : w[0] - y[0], x = "deltaY" in f ? f.deltaY : w[1] - y[1], E, C = f.target, S = Math.abs(b) > Math.abs(x) ? "h" : "v";
2687
- if ("touches" in f && S === "h" && C.type === "range")
2739
+ var y = Ne(u), w = n.current, b = "deltaX" in u ? u.deltaX : w[0] - y[0], x = "deltaY" in u ? u.deltaY : w[1] - y[1], E, C = u.target, S = Math.abs(b) > Math.abs(x) ? "h" : "v";
2740
+ if ("touches" in u && S === "h" && C.type === "range")
2688
2741
  return !1;
2689
- var A = _t(S, C);
2742
+ var A = Wt(S, C);
2690
2743
  if (!A)
2691
2744
  return !0;
2692
- if (A ? E = S : (E = S === "v" ? "h" : "v", A = _t(S, C)), !A)
2745
+ if (A ? E = S : (E = S === "v" ? "h" : "v", A = Wt(S, C)), !A)
2693
2746
  return !1;
2694
- if (!r.current && "changedTouches" in f && (b || x) && (r.current = E), !E)
2747
+ if (!r.current && "changedTouches" in u && (b || x) && (r.current = E), !E)
2695
2748
  return !0;
2696
2749
  var O = r.current || E;
2697
- return ni(O, v, f, O === "h" ? b : x, !0);
2698
- }, []), a = u.useCallback(function(f) {
2699
- var v = f;
2750
+ return ri(O, g, u, O === "h" ? b : x, !0);
2751
+ }, []), a = f.useCallback(function(u) {
2752
+ var g = u;
2700
2753
  if (!(!fe.length || fe[fe.length - 1] !== i)) {
2701
- var y = "deltaY" in v ? Bt(v) : Ne(v), w = t.current.filter(function(E) {
2702
- return E.name === v.type && (E.target === v.target || v.target === E.shadowParent) && ri(E.delta, y);
2754
+ var y = "deltaY" in g ? Bt(g) : Ne(g), w = t.current.filter(function(E) {
2755
+ return E.name === g.type && (E.target === g.target || g.target === E.shadowParent) && oi(E.delta, y);
2703
2756
  })[0];
2704
2757
  if (w && w.should) {
2705
- v.cancelable && v.preventDefault();
2758
+ g.cancelable && g.preventDefault();
2706
2759
  return;
2707
2760
  }
2708
2761
  if (!w) {
2709
2762
  var b = (s.current.shards || []).map(jt).filter(Boolean).filter(function(E) {
2710
- return E.contains(v.target);
2711
- }), x = b.length > 0 ? c(v, b[0]) : !s.current.noIsolation;
2712
- x && v.cancelable && v.preventDefault();
2763
+ return E.contains(g.target);
2764
+ }), x = b.length > 0 ? c(g, b[0]) : !s.current.noIsolation;
2765
+ x && g.cancelable && g.preventDefault();
2713
2766
  }
2714
2767
  }
2715
- }, []), l = u.useCallback(function(f, v, y, w) {
2716
- var b = { name: f, delta: v, target: y, should: w, shadowParent: ci(y) };
2768
+ }, []), l = f.useCallback(function(u, g, y, w) {
2769
+ var b = { name: u, delta: g, target: y, should: w, shadowParent: ai(y) };
2717
2770
  t.current.push(b), setTimeout(function() {
2718
2771
  t.current = t.current.filter(function(x) {
2719
2772
  return x !== b;
2720
2773
  });
2721
2774
  }, 1);
2722
- }, []), h = u.useCallback(function(f) {
2723
- n.current = Ne(f), r.current = void 0;
2724
- }, []), d = u.useCallback(function(f) {
2725
- l(f.type, Bt(f), f.target, c(f, e.lockRef.current));
2726
- }, []), p = u.useCallback(function(f) {
2727
- l(f.type, Ne(f), f.target, c(f, e.lockRef.current));
2775
+ }, []), h = f.useCallback(function(u) {
2776
+ n.current = Ne(u), r.current = void 0;
2777
+ }, []), d = f.useCallback(function(u) {
2778
+ l(u.type, Bt(u), u.target, c(u, e.lockRef.current));
2779
+ }, []), p = f.useCallback(function(u) {
2780
+ l(u.type, Ne(u), u.target, c(u, e.lockRef.current));
2728
2781
  }, []);
2729
- u.useEffect(function() {
2782
+ f.useEffect(function() {
2730
2783
  return fe.push(i), e.setCallbacks({
2731
2784
  onScrollCapture: d,
2732
2785
  onWheelCapture: d,
2733
2786
  onTouchMoveCapture: p
2734
2787
  }), document.addEventListener("wheel", a, ue), document.addEventListener("touchmove", a, ue), document.addEventListener("touchstart", h, ue), function() {
2735
- fe = fe.filter(function(f) {
2736
- return f !== i;
2788
+ fe = fe.filter(function(u) {
2789
+ return u !== i;
2737
2790
  }), document.removeEventListener("wheel", a, ue), document.removeEventListener("touchmove", a, ue), document.removeEventListener("touchstart", h, ue);
2738
2791
  };
2739
2792
  }, []);
2740
- var m = e.removeScrollBar, g = e.inert;
2741
- return u.createElement(
2742
- u.Fragment,
2793
+ var m = e.removeScrollBar, v = e.inert;
2794
+ return f.createElement(
2795
+ f.Fragment,
2743
2796
  null,
2744
- g ? u.createElement(i, { styles: oi(o) }) : null,
2745
- m ? u.createElement(Go, { gapMode: e.gapMode }) : null
2797
+ v ? f.createElement(i, { styles: ii(o) }) : null,
2798
+ m ? f.createElement(Zo, { gapMode: e.gapMode }) : null
2746
2799
  );
2747
2800
  }
2748
- function ci(e) {
2801
+ function ai(e) {
2749
2802
  for (var t = null; e !== null; )
2750
2803
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
2751
2804
  return t;
2752
2805
  }
2753
- const ai = Io(gn, si);
2754
- var li = u.forwardRef(function(e, t) {
2755
- return u.createElement($e, z({}, e, { ref: t, sideCar: ai }));
2806
+ const li = _o(gn, ci);
2807
+ var ui = f.forwardRef(function(e, t) {
2808
+ return f.createElement($e, z({}, e, { ref: t, sideCar: li }));
2756
2809
  });
2757
- li.classNames = $e.classNames;
2758
- var ui = "VisuallyHidden", fi = u.forwardRef(
2759
- (e, t) => /* @__PURE__ */ P.jsx(
2810
+ ui.classNames = $e.classNames;
2811
+ var fi = "VisuallyHidden", di = f.forwardRef(
2812
+ (e, t) => /* @__PURE__ */ R.jsx(
2760
2813
  oe.span,
2761
2814
  {
2762
2815
  ...e,
@@ -2778,37 +2831,38 @@ var ui = "VisuallyHidden", fi = u.forwardRef(
2778
2831
  }
2779
2832
  )
2780
2833
  );
2781
- fi.displayName = ui;
2834
+ di.displayName = fi;
2782
2835
  export {
2783
- Ti as A,
2836
+ Ni as A,
2784
2837
  Gn as B,
2785
- Mi as C,
2786
- sr as D,
2787
- dr as F,
2788
- wi as M,
2838
+ Di as C,
2839
+ cr as D,
2840
+ hr as F,
2841
+ bi as M,
2789
2842
  oe as P,
2790
- li as R,
2843
+ ui as R,
2791
2844
  be as S,
2792
- fi as V,
2793
- Ri as a,
2845
+ di as V,
2846
+ Mi as a,
2794
2847
  Ve as b,
2795
- zt as c,
2848
+ Si as c,
2796
2849
  ce as d,
2797
2850
  Ee as e,
2798
- Ci as f,
2799
- Si as g,
2800
- ee as h,
2801
- Ni as i,
2802
- Ai as j,
2803
- bi as k,
2804
- Co as l,
2805
- xi as m,
2806
- Zn as n,
2807
- Pi as o,
2808
- Li as p,
2809
- Oi as q,
2810
- Vt as r,
2811
- er as s,
2812
- Ei as u
2851
+ Pi as f,
2852
+ zt as g,
2853
+ Ri as h,
2854
+ ee as i,
2855
+ Fi as j,
2856
+ Oi as k,
2857
+ Ci as l,
2858
+ So as m,
2859
+ Ei as n,
2860
+ Zn as o,
2861
+ Ti as p,
2862
+ ki as q,
2863
+ Li as r,
2864
+ Vt as s,
2865
+ er as t,
2866
+ Ai as u
2813
2867
  };
2814
- //# sourceMappingURL=index-Dolisrci.js.map
2868
+ //# sourceMappingURL=index-g_JJcuFg.js.map