@qratilabs/qrati-connect 1.11.2 → 1.11.3

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 (44) hide show
  1. package/{AuthLayout-C1Gv_AEE.js → AuthLayout-CAvkZd-q.js} +1 -1
  2. package/{AuthLayout-B7raOg5a.js → AuthLayout-DVTa1amX.js} +1 -1
  3. package/CHANGELOG.md +10 -0
  4. package/{CPIOZS5X-DcK5-um6.js → CPIOZS5X-BzFJiVzN.js} +1 -1
  5. package/{CPIOZS5X-C0qSCXWx.js → CPIOZS5X-DkQmLx7_.js} +2 -2
  6. package/{ContentsPage-CFdJ5fQn.js → ContentsPage-C50sSgGb.js} +2 -2
  7. package/{ContentsPage-CHkVmIfc.js → ContentsPage-C8mRbw0a.js} +2 -2
  8. package/{CuratePage-C_tihQv5.js → CuratePage-B006Ism6.js} +6 -6
  9. package/{CuratePage-Cf-OMqCd.js → CuratePage-DoCxD8ii.js} +6 -6
  10. package/{Dialog-3UrI3DAU.js → Dialog-C1KPjyUe.js} +36 -36
  11. package/{Dialog-CXHAfT23.js → Dialog-DAgOU5TI.js} +47 -47
  12. package/{DotLottiePlayer-fU_AVs8P.js → DotLottiePlayer-D7pT3RyA.js} +1 -1
  13. package/{DotLottiePlayer-KTATUkIL.js → DotLottiePlayer-DVhyuUgE.js} +1 -1
  14. package/{LazyLoadImage-BvdFywXe.js → LazyLoadImage-BnRVRmEE.js} +1 -1
  15. package/{LazyLoadImage-B_bshD_z.js → LazyLoadImage-CG1Ghg0_.js} +1 -1
  16. package/{LeaderboardPage-PK16NVmz.js → LeaderboardPage-BMFZNM84.js} +1 -1
  17. package/{LeaderboardPage-CgCAXJNQ.js → LeaderboardPage-yL5TQtNe.js} +1 -1
  18. package/{LoginPage-CJxIy43x.js → LoginPage-CrIITUXa.js} +2 -2
  19. package/{LoginPage-BaG0P5pR.js → LoginPage-mq0I0fBn.js} +2 -2
  20. package/MediaGallery-C2VmOWuB.js +3874 -0
  21. package/{MediaGallery-DLBO_a-A.js → MediaGallery-R7qBFa_E.js} +1271 -1366
  22. package/{OKF6E45R-RqSkbbx2.js → OKF6E45R-CFDiMrAt.js} +2 -2
  23. package/{PublicEvents-U5JALQB-.js → PublicEvents-BTx3uS9o.js} +2 -2
  24. package/{PublicEvents-CNjRKbnN.js → PublicEvents-fjRFnRGg.js} +2 -2
  25. package/{RegisterPage-BifxTY7z.js → RegisterPage-BjJmngjT.js} +2 -2
  26. package/{RegisterPage-D7-yxKD0.js → RegisterPage-CCzzhUr2.js} +2 -2
  27. package/{UploadPage-BdUD3DuD.js → UploadPage-C1R2PoYu.js} +3 -3
  28. package/{UploadPage-RpnAjq4q.js → UploadPage-QbHxLHK9.js} +2 -2
  29. package/{VideoPlayer-bcMnCWKa.js → VideoPlayer-C2TS_Okm.js} +1 -1
  30. package/{VideoPlayer-BWkyxOMi.js → VideoPlayer-NGUSuBju.js} +1 -1
  31. package/{WXAWMS3D-B_WBkqj5.js → WXAWMS3D-LiH7ji0n.js} +1 -1
  32. package/element.es.js +1 -1
  33. package/{heic2any-CSuHuOSu.js → heic2any-D-EmFgwN.js} +1 -1
  34. package/{index-D8vLUhhm.js → index-BM7cRj8w.js} +18805 -18778
  35. package/{index-kEVyRmt-.js → index-BibXOc7D.js} +1 -1
  36. package/{index-BOP8iV6D.js → index-CZ7lofRq.js} +3995 -4157
  37. package/{index.esm-eW8mYsQF.js → index.esm-BBCggv5z.js} +1 -1
  38. package/{index.esm-Z8gSm7tA.js → index.esm-fogeugIL.js} +1 -1
  39. package/package.json +3 -3
  40. package/{photoswipe-tUsPQteZ.js → photoswipe-CZn4w8LU.js} +1 -1
  41. package/{photoswipe-BFSJkXMx.js → photoswipe-DR1WBy3E.js} +1 -1
  42. package/react.es.js +1 -1
  43. package/web.es.js +1 -1
  44. package/MediaGallery-42W5ZI29.js +0 -28833
@@ -1,4 +1,4 @@
1
- import { a as q, u as i, j as e, N as o, e as c, c as t, P as a, T as n, O as x } from "./index-D8vLUhhm.js";
1
+ import { a as q, u as i, j as e, N as o, e as c, c as t, P as a, T as n, O as x } from "./index-BM7cRj8w.js";
2
2
  const u = () => {
3
3
  var s;
4
4
  const r = q(), { user: d } = i();
@@ -1,4 +1,4 @@
1
- import { a as i, u as q, j as e, N as o, e as t, c, P as a, T as n, O as m } from "./index-BOP8iV6D.js";
1
+ import { a as i, u as q, j as e, N as o, e as t, c, P as a, T as n, O as m } from "./index-CZ7lofRq.js";
2
2
  import "react";
3
3
  const b = () => {
4
4
  var s;
package/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [1.11.2](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.1...v1.11.2) (2025-04-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * downgrade react and react-dom to version 19.0.0 for compatibility; update package-lock.json and package.json ([92b15fb](https://github.com/qrati-labs/qrati-connect-js/commit/92b15fbd5c9920d9b48b9968599ae2133ab592c8))
7
+ * downgrade react and react-dom to version 19.0.0 for compatibility; update package.json and package-lock.json ([0278ea3](https://github.com/qrati-labs/qrati-connect-js/commit/0278ea3fbf9c969d539d62d51ab1e44e2f3636ef))
8
+ * update build script in package.json to remove element build step ([e4f1ab3](https://github.com/qrati-labs/qrati-connect-js/commit/e4f1ab32920a9f37edf4087e4eaf6fc08c939143))
9
+ * update react and react-dom to version 19.1.0; modify build script to include element build step ([e3bb759](https://github.com/qrati-labs/qrati-connect-js/commit/e3bb75982d9f245ca40b466d672e974ffb4fc3df))
10
+
1
11
  ## [1.11.1](https://github.com/qrati-labs/qrati-connect-js/compare/v1.11.0...v1.11.1) (2025-04-03)
2
12
 
3
13
 
@@ -1,7 +1,7 @@
1
1
  var ps = Object.defineProperty;
2
2
  var ws = (e, t, n) => t in e ? ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _e = (e, t, n) => ws(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { U as we, V as z, W as Nt, X as U, Y as D, Z as y, _ as Oo, $ as K, a0 as _, a1 as k, a2 as V, a3 as F, a4 as xs, a5 as rr, a6 as xe, a7 as j, a8 as Vn, a9 as Gn, aa as ut, ab as A, ac as $s, ad as Dn, ae as Ne, af as Cs, ag as Pt, ah as qt, ai as Ss, aj as ks, ak as pn, al as Es, am as Rr, an as Rt, ao as _o, ap as Ds, aq as Ms, ar as W, as as zr, at as As, au as Fs, av as or, aw as Ts, ax as Is, ay as Rn, az as Ls, aA as Ps, aB as oe, aC as Os, aD as _s, aE as qs } from "./index-D8vLUhhm.js";
4
+ import { U as we, V as z, W as Nt, X as U, Y as D, Z as y, _ as Oo, $ as K, a0 as _, a1 as k, a2 as V, a3 as F, a4 as xs, a5 as rr, a6 as xe, a7 as j, a8 as Vn, a9 as Gn, aa as ut, ab as A, ac as $s, ad as Dn, ae as Ne, af as Cs, ag as Pt, ah as qt, ai as Ss, aj as ks, ak as pn, al as Es, am as Rr, an as Rt, ao as _o, ap as Ds, aq as Ms, ar as W, as as zr, at as As, au as Fs, av as or, aw as Ts, ax as Is, ay as Rn, az as Ls, aA as Ps, aB as oe, aC as Os, aD as _s, aE as qs } from "./index-BM7cRj8w.js";
5
5
  var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
6
6
  function Ks(e) {
7
7
  return (...t) => {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-B_WBkqj5.js";
2
- import { J as d, K as f, L as e } from "./index-BOP8iV6D.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./WXAWMS3D-LiH7ji0n.js";
2
+ import { J as d, K as f, L as e } from "./index-CZ7lofRq.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-BOP8iV6D.js";
1
+ import { Q as Z, i as G, h as tt, f as et, g as rt, b as O, u as D, l as v, k as _, A as j, m as A, D as L, n as z, o as nt, C as N, p as at, j as s, c as b, q as st, r as Q, s as ot, t as E, v as it, w as lt, S as ct, x as ft, P as ht, E as ut } from "./index-CZ7lofRq.js";
2
2
  import T, { useRef as dt, useMemo as C, Component as mt, useState as H, useEffect as pt, lazy as xt } from "react";
3
3
  var gt = class extends Z {
4
4
  constructor(r, n) {
@@ -567,7 +567,7 @@ var Lt = (
567
567
  }, n;
568
568
  }(mt)
569
569
  );
570
- const zt = xt(() => import("./MediaGallery-42W5ZI29.js").then((r) => r.M)), It = () => {
570
+ const zt = xt(() => import("./MediaGallery-R7qBFa_E.js").then((r) => r.M)), It = () => {
571
571
  const { eventSlug: r } = it(), { loadingUser: n } = D(), [e, t] = H(L), [a, o] = H(z), { event: l, ads: i } = lt({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = Nt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = Pt();
572
572
  return pt(() => {
573
573
  l && x(l == null ? void 0 : l.slug);
@@ -1,4 +1,4 @@
1
- import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-D8vLUhhm.js";
1
+ import { Q as X, i as G, h as Z, f as tt, g as et, l as v, b as O, u as D, m as w, k as _, A as N, n as j, D as L, o as z, p as rt, C, q as nt, j as s, c as P, s as at, t as W, v as st, w as T, R as S, x as ot, y as it, S as lt, z as ct, P as ft, E as ht } from "./index-BM7cRj8w.js";
2
2
  var ut = class extends X {
3
3
  constructor(r, n) {
4
4
  super(r, n);
@@ -566,7 +566,7 @@ var Ct = (
566
566
  }, n;
567
567
  }(v.Component)
568
568
  );
569
- const Rt = v.lazy(() => import("./MediaGallery-DLBO_a-A.js").then((r) => r.M)), qt = () => {
569
+ const Rt = v.lazy(() => import("./MediaGallery-C2VmOWuB.js").then((r) => r.M)), qt = () => {
570
570
  const { eventSlug: r } = ot(), { loadingUser: n } = D(), [e, t] = v.useState(L), [a, o] = v.useState(z), { event: l, ads: i } = it({ eventSlug: r }), { loading: f, contentsWithAds: c, hasNextPage: u, fetchNextPage: h } = bt({ event: l, ads: i, sort: e, order: a }), { incrementEventView: x } = yt();
571
571
  return v.useEffect(() => {
572
572
  l && x(l == null ? void 0 : l.slug);
@@ -1,7 +1,7 @@
1
- import { l as b, j as e, c as V, b as ne, J, a as ie, x as le, u as de, y as qe, k as G, A as D, K as Z, S as W, z as ue, N as me, P as ge, E as K, q as ee, T as te, I as fe, L as he } from "./index-D8vLUhhm.js";
2
- import { D as xe, a as pe, b as ve, c as ye, d as Ne } from "./Dialog-CXHAfT23.js";
3
- import { L as je } from "./LazyLoadImage-B_bshD_z.js";
4
- import { V as we } from "./VideoPlayer-BWkyxOMi.js";
1
+ import { l as b, j as e, c as V, b as ne, J, a as ie, x as le, u as de, y as qe, k as G, A as D, K as Z, S as W, z as ue, N as me, P as ge, E as K, q as ee, T as te, I as fe, L as he } from "./index-BM7cRj8w.js";
2
+ import { D as xe, a as pe, b as ve, c as ye, d as Ne } from "./Dialog-DAgOU5TI.js";
3
+ import { L as je } from "./LazyLoadImage-CG1Ghg0_.js";
4
+ import { V as we } from "./VideoPlayer-NGUSuBju.js";
5
5
  const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ?? 0)}`, se = (t, s) => {
6
6
  switch (Math.floor(Math.abs(t - s))) {
7
7
  case 0:
@@ -98,7 +98,7 @@ const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
98
98
  }
99
99
  )
100
100
  ] });
101
- }, _e = b.lazy(() => import("./index-kEVyRmt-.js").then((t) => t.i)), Ee = b.lazy(() => import("./DotLottiePlayer-KTATUkIL.js")), Ie = ({ feedback: t }) => {
101
+ }, _e = b.lazy(() => import("./index-BibXOc7D.js").then((t) => t.i)), Ee = b.lazy(() => import("./DotLottiePlayer-DVhyuUgE.js")), Ie = ({ feedback: t }) => {
102
102
  const s = "#374151", [a, n] = b.useState(10);
103
103
  return b.useEffect(() => {
104
104
  const r = (t && t.parameters || []).reduce((d, c) => d + Math.abs(parseFloat(c.crowdRating) - parseFloat(c.userRating)), 0);
@@ -149,7 +149,7 @@ const re = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
149
149
  /* @__PURE__ */ e.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ e.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
150
150
  !!s && /* @__PURE__ */ e.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ e.jsx("span", { className: V("qc-text-primary qc-px-2 qc-font-medium", n), children: s }) })
151
151
  ] });
152
- }, Ce = b.lazy(() => import("./DotLottiePlayer-KTATUkIL.js")), Oe = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
152
+ }, Ce = b.lazy(() => import("./DotLottiePlayer-DVhyuUgE.js")), Oe = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
153
153
  /* @__PURE__ */ e.jsx(
154
154
  Pe,
155
155
  {
@@ -1,8 +1,8 @@
1
- import { j as e, c as V, b as ie, R as J, a as de, v as qe, u as me, w as ue, k as F, A as D, H as te, S as W, x as ge, N as he, P as fe, E as K, p as re, T as se, G as xe, I as pe } from "./index-BOP8iV6D.js";
1
+ import { j as e, c as V, b as ie, R as J, a as de, v as qe, u as me, w as ue, k as F, A as D, H as te, S as W, x as ge, N as he, P as fe, E as K, p as re, T as se, G as xe, I as pe } from "./index-CZ7lofRq.js";
2
2
  import { useState as E, useEffect as Z, lazy as ee } from "react";
3
- import { D as ve, a as ye, b as Ne, c as je, d as we } from "./Dialog-3UrI3DAU.js";
4
- import { L as be } from "./LazyLoadImage-BvdFywXe.js";
5
- import { V as Te } from "./VideoPlayer-bcMnCWKa.js";
3
+ import { D as ve, a as ye, b as Ne, c as je, d as we } from "./Dialog-C1KPjyUe.js";
4
+ import { L as be } from "./LazyLoadImage-BnRVRmEE.js";
5
+ import { V as Te } from "./VideoPlayer-C2TS_Okm.js";
6
6
  const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ?? 0)}`, ae = (t, s) => {
7
7
  switch (Math.floor(Math.abs(t - s))) {
8
8
  case 0:
@@ -99,7 +99,7 @@ const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
99
99
  }
100
100
  )
101
101
  ] });
102
- }, Pe = ee(() => import("./index-O4xJCcGD.js").then((t) => t.i)), Ce = ee(() => import("./DotLottiePlayer-fU_AVs8P.js")), Re = ({ feedback: t }) => {
102
+ }, Pe = ee(() => import("./index-O4xJCcGD.js").then((t) => t.i)), Ce = ee(() => import("./DotLottiePlayer-D7pT3RyA.js")), Re = ({ feedback: t }) => {
103
103
  const s = "#374151", [a, n] = E(10);
104
104
  return Z(() => {
105
105
  const r = (t && t.parameters || []).reduce((d, c) => d + Math.abs(parseFloat(c.crowdRating) - parseFloat(c.userRating)), 0);
@@ -150,7 +150,7 @@ const ce = (t, s) => `${Number.parseFloat((t == null ? void 0 : t.toFixed(s)) ??
150
150
  /* @__PURE__ */ e.jsx("div", { className: "qc-absolute qc-inset-0 qc-flex qc-items-center", children: /* @__PURE__ */ e.jsx("div", { className: "qc-h-[0.05rem] qc-w-full qc-bg-gradient-to-r qc-from-transparent qc-via-text-primary-light qc-to-transparent dark:qc-via-text-primary-dark" }) }),
151
151
  !!s && /* @__PURE__ */ e.jsx("div", { className: "qc-relative qc-flex qc-justify-center", children: /* @__PURE__ */ e.jsx("span", { className: V("qc-text-primary qc-px-2 qc-font-medium", n), children: s }) })
152
152
  ] });
153
- }, Oe = ee(() => import("./DotLottiePlayer-fU_AVs8P.js")), Ae = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
153
+ }, Oe = ee(() => import("./DotLottiePlayer-D7pT3RyA.js")), Ae = ({ parameter: t, selected: s, onChange: a, showValues: n = !0 }) => /* @__PURE__ */ e.jsxs("div", { className: "qc-mb-8 qc-flex qc-w-full qc-flex-col qc-gap-2 lg:qc-mb-12 lg:qc-gap-4", children: [
154
154
  /* @__PURE__ */ e.jsx(
155
155
  Ee,
156
156
  {
@@ -1,4 +1,4 @@
1
- import { j as h, aF as xe, aE as L, aI as O, aJ as Re, aK as st, b as ct, aG as ut, c as W } from "./index-BOP8iV6D.js";
1
+ import { j as h, aE as xe, aD as L, aH as O, aI as Re, aJ as st, b as ct, aF as ut, c as W } from "./index-CZ7lofRq.js";
2
2
  import * as s from "react";
3
3
  import { useState as lt } from "react";
4
4
  import * as dt from "react-dom";
@@ -73,12 +73,12 @@ function ht(...e) {
73
73
  };
74
74
  return n.scopeName = t.scopeName, n;
75
75
  }
76
- var Y = globalThis != null && globalThis.document ? s.useLayoutEffect : () => {
76
+ var H = globalThis != null && globalThis.document ? s.useLayoutEffect : () => {
77
77
  }, pt = s.useId || (() => {
78
78
  }), gt = 0;
79
79
  function J(e) {
80
80
  const [t, n] = s.useState(pt());
81
- return Y(() => {
81
+ return H(() => {
82
82
  n((r) => r ?? String(gt++));
83
83
  }, [e]), e || (t ? `radix-${t}` : "");
84
84
  }
@@ -402,7 +402,7 @@ function Ft(e) {
402
402
  var kt = "Portal", Me = s.forwardRef((e, t) => {
403
403
  var i;
404
404
  const { container: n, ...r } = e, [o, a] = s.useState(!1);
405
- Y(() => a(!0), []);
405
+ H(() => a(!0), []);
406
406
  const c = n || o && ((i = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : i.body);
407
407
  return c ? ft.createPortal(/* @__PURE__ */ h.jsx(D.div, { ...r, ref: t }), c) : null;
408
408
  });
@@ -432,13 +432,13 @@ function jt(e) {
432
432
  return s.useEffect(() => {
433
433
  const l = B(r.current);
434
434
  a.current = i === "mounted" ? l : "none";
435
- }, [i]), Y(() => {
435
+ }, [i]), H(() => {
436
436
  const l = r.current, f = o.current;
437
437
  if (f !== e) {
438
438
  const m = a.current, g = B(l);
439
439
  e ? d("MOUNT") : g === "none" || (l == null ? void 0 : l.display) === "none" ? d("UNMOUNT") : d(f && m !== g ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
440
440
  }
441
- }, [e, d]), Y(() => {
441
+ }, [e, d]), H(() => {
442
442
  if (t) {
443
443
  let l;
444
444
  const f = t.ownerDocument.defaultView ?? window, v = (g) => {
@@ -485,7 +485,7 @@ function Ee() {
485
485
  const e = document.createElement("span");
486
486
  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;
487
487
  }
488
- var G = "right-scroll-bar-position", V = "width-before-scroll-bar", Ut = "with-scroll-bars-hidden", $t = "--removed-body-scroll-bar-size";
488
+ var V = "right-scroll-bar-position", G = "width-before-scroll-bar", Ut = "with-scroll-bars-hidden", $t = "--removed-body-scroll-bar-size";
489
489
  function re(e, t) {
490
490
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
491
491
  }
@@ -511,7 +511,7 @@ function Kt(e, t) {
511
511
  return n.callback = t, n.facade;
512
512
  }
513
513
  var zt = typeof window < "u" ? s.useLayoutEffect : s.useEffect, be = /* @__PURE__ */ new WeakMap();
514
- function Gt(e, t) {
514
+ function Vt(e, t) {
515
515
  var n = Kt(null, function(r) {
516
516
  return e.forEach(function(o) {
517
517
  return re(o, r);
@@ -530,11 +530,11 @@ function Gt(e, t) {
530
530
  be.set(n, e);
531
531
  }, [e]), n;
532
532
  }
533
- function Vt(e) {
533
+ function Gt(e) {
534
534
  return e;
535
535
  }
536
- function Yt(e, t) {
537
- t === void 0 && (t = Vt);
536
+ function Ht(e, t) {
537
+ t === void 0 && (t = Gt);
538
538
  var n = [], r = !1, o = {
539
539
  read: function() {
540
540
  if (r)
@@ -588,9 +588,9 @@ function Yt(e, t) {
588
588
  };
589
589
  return o;
590
590
  }
591
- function Ht(e) {
591
+ function Yt(e) {
592
592
  e === void 0 && (e = {});
593
- var t = Yt(null);
593
+ var t = Ht(null);
594
594
  return t.options = O({ async: !0, ssr: !1 }, e), t;
595
595
  }
596
596
  var Ie = function(e) {
@@ -606,13 +606,13 @@ Ie.isSideCarExport = !0;
606
606
  function Xt(e, t) {
607
607
  return e.useMedium(t), Ie;
608
608
  }
609
- var Le = Ht(), oe = function() {
609
+ var Le = Yt(), oe = function() {
610
610
  }, Z = s.forwardRef(function(e, t) {
611
611
  var n = s.useRef(null), r = s.useState({
612
612
  onScrollCapture: oe,
613
613
  onWheelCapture: oe,
614
614
  onTouchMoveCapture: oe
615
- }), o = r[0], a = r[1], c = e.forwardProps, i = e.children, d = e.className, l = e.removeScrollBar, f = e.enabled, v = e.shards, m = e.sideCar, g = e.noIsolation, w = e.inert, u = e.allowPinchZoom, p = e.as, y = p === void 0 ? "div" : p, N = e.gapMode, b = Re(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, S = Gt([n, t]), R = O(O({}, b), o);
615
+ }), o = r[0], a = r[1], c = e.forwardProps, i = e.children, d = e.className, l = e.removeScrollBar, f = e.enabled, v = e.shards, m = e.sideCar, g = e.noIsolation, w = e.inert, u = e.allowPinchZoom, p = e.as, y = p === void 0 ? "div" : p, N = e.gapMode, b = Re(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = m, S = Vt([n, t]), R = O(O({}, b), o);
616
616
  return s.createElement(
617
617
  s.Fragment,
618
618
  null,
@@ -626,8 +626,8 @@ Z.defaultProps = {
626
626
  inert: !1
627
627
  };
628
628
  Z.classNames = {
629
- fullWidth: V,
630
- zeroRight: G
629
+ fullWidth: G,
630
+ zeroRight: V
631
631
  };
632
632
  var Zt = function() {
633
633
  if (typeof __webpack_nonce__ < "u")
@@ -717,19 +717,19 @@ var tn = function() {
717
717
  ].filter(Boolean).join(""), `
718
718
  }
719
719
 
720
- .`).concat(G, ` {
720
+ .`).concat(V, ` {
721
721
  right: `).concat(i, "px ").concat(r, `;
722
722
  }
723
723
 
724
- .`).concat(V, ` {
724
+ .`).concat(G, ` {
725
725
  margin-right: `).concat(i, "px ").concat(r, `;
726
726
  }
727
727
 
728
- .`).concat(G, " .").concat(G, ` {
728
+ .`).concat(V, " .").concat(V, ` {
729
729
  right: 0 `).concat(r, `;
730
730
  }
731
731
 
732
- .`).concat(V, " .").concat(V, ` {
732
+ .`).concat(G, " .").concat(G, ` {
733
733
  margin-right: 0 `).concat(r, `;
734
734
  }
735
735
 
@@ -979,7 +979,7 @@ var Nn = function(e) {
979
979
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), Rn(r, o, n, "aria-hidden")) : function() {
980
980
  return null;
981
981
  };
982
- }, ue = "Dialog", [Be, Yn] = mt(ue), [Dn, x] = Be(ue), Ue = (e) => {
982
+ }, ue = "Dialog", [Be, Hn] = mt(ue), [Dn, x] = Be(ue), Ue = (e) => {
983
983
  const {
984
984
  __scopeDialog: t,
985
985
  children: n,
@@ -1036,16 +1036,16 @@ var le = "DialogPortal", [On, Ke] = Be(le, {
1036
1036
  return /* @__PURE__ */ h.jsx(On, { scope: t, forceMount: n, children: s.Children.map(r, (c) => /* @__PURE__ */ h.jsx(X, { present: n || a.open, children: /* @__PURE__ */ h.jsx(Me, { asChild: !0, container: o, children: c }) })) });
1037
1037
  };
1038
1038
  ze.displayName = le;
1039
- var H = "DialogOverlay", Ge = s.forwardRef(
1039
+ var Y = "DialogOverlay", Ve = s.forwardRef(
1040
1040
  (e, t) => {
1041
- const n = Ke(H, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = x(H, e.__scopeDialog);
1041
+ const n = Ke(Y, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = x(Y, e.__scopeDialog);
1042
1042
  return a.modal ? /* @__PURE__ */ h.jsx(X, { present: r || a.open, children: /* @__PURE__ */ h.jsx(Tn, { ...o, ref: t }) }) : null;
1043
1043
  }
1044
1044
  );
1045
- Ge.displayName = H;
1045
+ Ve.displayName = Y;
1046
1046
  var Tn = s.forwardRef(
1047
1047
  (e, t) => {
1048
- const { __scopeDialog: n, ...r } = e, o = x(H, n);
1048
+ const { __scopeDialog: n, ...r } = e, o = x(Y, n);
1049
1049
  return (
1050
1050
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
1051
1051
  // ie. when `Overlay` and `Content` are siblings
@@ -1060,13 +1060,13 @@ var Tn = s.forwardRef(
1060
1060
  ) })
1061
1061
  );
1062
1062
  }
1063
- ), I = "DialogContent", Ve = s.forwardRef(
1063
+ ), I = "DialogContent", Ge = s.forwardRef(
1064
1064
  (e, t) => {
1065
1065
  const n = Ke(I, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = x(I, e.__scopeDialog);
1066
1066
  return /* @__PURE__ */ h.jsx(X, { present: r || a.open, children: a.modal ? /* @__PURE__ */ h.jsx(Mn, { ...o, ref: t }) : /* @__PURE__ */ h.jsx(In, { ...o, ref: t }) });
1067
1067
  }
1068
1068
  );
1069
- Ve.displayName = I;
1069
+ Ge.displayName = I;
1070
1070
  var Mn = s.forwardRef(
1071
1071
  (e, t) => {
1072
1072
  const n = x(I, e.__scopeDialog), r = s.useRef(null), o = L(t, n.contentRef, r);
@@ -1074,7 +1074,7 @@ var Mn = s.forwardRef(
1074
1074
  const a = r.current;
1075
1075
  if (a) return Pn(a);
1076
1076
  }, []), /* @__PURE__ */ h.jsx(
1077
- Ye,
1077
+ He,
1078
1078
  {
1079
1079
  ...e,
1080
1080
  ref: o,
@@ -1099,7 +1099,7 @@ var Mn = s.forwardRef(
1099
1099
  (e, t) => {
1100
1100
  const n = x(I, e.__scopeDialog), r = s.useRef(!1), o = s.useRef(!1);
1101
1101
  return /* @__PURE__ */ h.jsx(
1102
- Ye,
1102
+ He,
1103
1103
  {
1104
1104
  ...e,
1105
1105
  ref: t,
@@ -1118,7 +1118,7 @@ var Mn = s.forwardRef(
1118
1118
  }
1119
1119
  );
1120
1120
  }
1121
- ), Ye = s.forwardRef(
1121
+ ), He = s.forwardRef(
1122
1122
  (e, t) => {
1123
1123
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...c } = e, i = x(I, n), d = s.useRef(null), l = L(t, d);
1124
1124
  return Bt(), /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -1151,13 +1151,13 @@ var Mn = s.forwardRef(
1151
1151
  ] })
1152
1152
  ] });
1153
1153
  }
1154
- ), de = "DialogTitle", He = s.forwardRef(
1154
+ ), de = "DialogTitle", Ye = s.forwardRef(
1155
1155
  (e, t) => {
1156
1156
  const { __scopeDialog: n, ...r } = e, o = x(de, n);
1157
1157
  return /* @__PURE__ */ h.jsx(D.h2, { id: o.titleId, ...r, ref: t });
1158
1158
  }
1159
1159
  );
1160
- He.displayName = de;
1160
+ Ye.displayName = de;
1161
1161
  var Xe = "DialogDescription", Ze = s.forwardRef(
1162
1162
  (e, t) => {
1163
1163
  const { __scopeDialog: n, ...r } = e, o = x(Xe, n);
@@ -1183,7 +1183,7 @@ Je.displayName = Qe;
1183
1183
  function fe(e) {
1184
1184
  return e ? "open" : "closed";
1185
1185
  }
1186
- var et = "DialogTitleWarning", [Hn, tt] = vt(et, {
1186
+ var et = "DialogTitleWarning", [Yn, tt] = vt(et, {
1187
1187
  contentName: I,
1188
1188
  titleName: de,
1189
1189
  docsSlug: "dialog"
@@ -1203,7 +1203,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
1203
1203
  const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
1204
1204
  t && o && (document.getElementById(t) || console.warn(r));
1205
1205
  }, [r, e, t]), null;
1206
- }, kn = Ue, qn = ze, nt = Ge, rt = Ve, ot = He, at = Ze, jn = Je;
1206
+ }, kn = Ue, qn = ze, nt = Ve, rt = Ge, ot = Ye, at = Ze, jn = Je;
1207
1207
  const Xn = kn, Wn = qn, it = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ h.jsx(
1208
1208
  nt,
1209
1209
  {
@@ -1286,5 +1286,5 @@ export {
1286
1286
  De as l,
1287
1287
  yt as m,
1288
1288
  J as n,
1289
- Y as u
1289
+ H as u
1290
1290
  };