@ethora/chat-component 26.10.6 → 26.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +14 -0
  2. package/dist/{ChatProfileModal-OJCKwdNp.js → ChatProfileModal-BDZvd0rm.js} +145 -145
  3. package/dist/{FilePreviewModal-DwNUEHei.js → FilePreviewModal-DlOjnYzv.js} +79 -79
  4. package/dist/{ManageDataModal-CaQ2VBPn.js → ManageDataModal-BZLGJZze.js} +16 -16
  5. package/dist/{MarkdownBody-BeoG2cpo.js → MarkdownBody-CtArwCDa.js} +1 -1
  6. package/dist/{MessageSearchModal-DMw9o49-.js → MessageSearchModal-CcUnfZlU.js} +46 -46
  7. package/dist/{PublicChatsModal-CWdYILv_.js → PublicChatsModal-BWn0NXVo.js} +10 -10
  8. package/dist/{SideDrawer-Cl-vbuIG.js → SideDrawer-CqZl9sxK.js} +28 -28
  9. package/dist/UserProfileModal-D0JZ3-uy.js +635 -0
  10. package/dist/{UserSettingsModal-DgCAHmNh.js → UserSettingsModal-OvykYDsT.js} +4 -4
  11. package/dist/{VideoCallOverlay-Cq2cECWj.js → VideoCallOverlay-DrvO2v_g.js} +4616 -4477
  12. package/dist/{VisibilityModal-D7vqGbrA.js → VisibilityModal-pOF9-UXR.js} +11 -11
  13. package/dist/components/Modals/styledModalComponents.d.ts +4 -4
  14. package/dist/components/VideoCalls/VideoCallSession.d.ts +2 -0
  15. package/dist/firebase-messaging-sw.js +918 -96
  16. package/dist/{handleCopyClick-Crn2jEEu.js → handleCopyClick-BUbVvd2G.js} +1 -1
  17. package/dist/helpers/callClaim.d.ts +17 -0
  18. package/dist/helpers/callOutcomeSync.d.ts +23 -0
  19. package/dist/helpers/callPush.d.ts +23 -0
  20. package/dist/helpers/incomingCallPush.d.ts +89 -0
  21. package/dist/helpers/pushRoomHandoff.d.ts +13 -0
  22. package/dist/hooks/useChatSettingState.d.ts +1 -0
  23. package/dist/hooks/usePushNotifications.d.ts +2 -0
  24. package/dist/{main-36gqdbJ8.js → main-CpHMnydn.js} +11799 -11045
  25. package/dist/main.js +17 -17
  26. package/dist/networking/api-requests/rooms.api.d.ts +9 -0
  27. package/dist/networking/xmpp/sendMessageReaction.xmpp.d.ts +13 -1
  28. package/dist/networking/xmppClient.d.ts +2 -1
  29. package/dist/roomStore/Middleware/blockedHydrationMiddleware.d.ts +2 -0
  30. package/dist/roomStore/chatSettingsSlice.d.ts +2 -1
  31. package/dist/types/models/config.model.d.ts +7 -0
  32. package/dist/types/models/xmpp.model.d.ts +2 -1
  33. package/dist/utils/callAuthMirror.d.ts +1 -0
  34. package/dist/utils/callBroadcast.d.ts +12 -0
  35. package/dist/utils/callNotifications.d.ts +67 -0
  36. package/dist/utils/firebasePushNotifications.d.ts +14 -0
  37. package/dist/utils/handledCalls.d.ts +5 -0
  38. package/dist/utils/pushServiceWorkerBridge.d.ts +19 -0
  39. package/dist/utils/webLock.d.ts +13 -0
  40. package/package.json +1 -1
  41. package/public/firebase-messaging-sw.js +918 -96
  42. package/dist/UserProfileModal-B8KtGnwZ.js +0 -594
@@ -1,6 +1,6 @@
1
1
  import { jsxs as fs, jsx as ie, Fragment as hs } from "react/jsx-runtime";
2
2
  import "react";
3
- import { w as ei } from "./main-36gqdbJ8.js";
3
+ import { L as ei } from "./main-CpHMnydn.js";
4
4
  function zr(e) {
5
5
  const t = [], n = String(e || "");
6
6
  let r = n.indexOf(","), u = 0, i = !1;
@@ -1,7 +1,7 @@
1
- import { jsx as a, jsxs as i, Fragment as G } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as i, Fragment as q } from "react/jsx-runtime";
2
2
  import { useRef as J, useState as h, useMemo as I, useEffect as V } from "react";
3
- import { x as Y, a as W, aU as X, u as z, at as Z, as as K, au as ee, aV as re, aW as te, aB as ae, aX as oe, aY as se, aZ as ne, E as c, y as ie } from "./main-36gqdbJ8.js";
4
- import { S as ce, i as le, j as de, f as S } from "./SideDrawer-Cl-vbuIG.js";
3
+ import { M as Y, a as K, b6 as W, u as M, aH as X, aG as Z, aI as ee, b7 as re, b8 as te, aP as ae, b9 as oe, ba as se, bb as ne, U as c, N as ie } from "./main-CpHMnydn.js";
4
+ import { S as ce, i as le, j as de, f as S } from "./SideDrawer-CqZl9sxK.js";
5
5
  function he(t) {
6
6
  const e = /^(\d{4})-(\d{2})-(\d{2})$/.exec(t || "");
7
7
  if (!e) return;
@@ -16,7 +16,7 @@ function he(t) {
16
16
  );
17
17
  return Number.isNaN(l.getTime()) ? void 0 : l.toISOString();
18
18
  }
19
- function ue(t) {
19
+ function pe(t) {
20
20
  const e = /^(\d{4})-(\d{2})-(\d{2})$/.exec(t || "");
21
21
  if (!e) return;
22
22
  const l = new Date(
@@ -30,29 +30,29 @@ function ue(t) {
30
30
  );
31
31
  return Number.isNaN(l.getTime()) ? void 0 : l.toISOString();
32
32
  }
33
- const pe = (t, e) => !!(t && e && t > e), me = (t) => `${t.firstName || ""} ${t.lastName || ""}`.trim() || t.name || "";
33
+ const ue = (t, e) => !!(t && e && t > e), me = (t) => `${t.firstName || ""} ${t.lastName || ""}`.trim() || t.name || "";
34
34
  function fe(t, e, l = 8) {
35
35
  const k = e.trim().toLowerCase();
36
36
  if (!k) return [];
37
- const u = [], p = [], n = /* @__PURE__ */ new Set();
38
- for (const x of t) {
39
- const d = x._id, b = me(x);
40
- if (!d || !b || n.has(d)) continue;
41
- const s = b.toLowerCase().indexOf(k);
42
- if (s !== -1 && (n.add(d), (s === 0 ? u : p).push({ id: d, name: b }), u.length >= l))
37
+ const p = [], u = [], n = /* @__PURE__ */ new Set();
38
+ for (const b of t) {
39
+ const d = b._id, x = me(b);
40
+ if (!d || !x || n.has(d)) continue;
41
+ const s = x.toLowerCase().indexOf(k);
42
+ if (s !== -1 && (n.add(d), (s === 0 ? p : u).push({ id: d, name: x }), p.length >= l))
43
43
  break;
44
44
  }
45
- return [...u, ...p].slice(0, l);
45
+ return [...p, ...u].slice(0, l);
46
46
  }
47
47
  const ge = c.div`
48
48
  display: flex;
49
49
  flex-direction: column;
50
50
  gap: var(--ethora-space-3, 12px);
51
51
  min-height: 0;
52
- `, xe = c.div`
52
+ `, be = c.div`
53
53
  display: flex;
54
54
  gap: var(--ethora-space-2, 8px);
55
- `, E = c.button`
55
+ `, B = c.button`
56
56
  flex: 1 1 0;
57
57
  height: 32px;
58
58
  border: 1px solid
@@ -65,7 +65,7 @@ const ge = c.div`
65
65
  font-weight: var(--ethora-font-weight-medium, 500);
66
66
  cursor: pointer;
67
67
  transition: background-color var(--ethora-motion-fast, 150ms);
68
- `, be = c.button`
68
+ `, xe = c.button`
69
69
  align-self: flex-start;
70
70
  display: inline-flex;
71
71
  align-items: center;
@@ -175,48 +175,48 @@ const ge = c.div`
175
175
  `, Re = ({
176
176
  handleCloseModal: t
177
177
  }) => {
178
- const e = Y(), l = W(), k = X(767), u = J(null), p = z((r) => r.rooms.rooms), n = z(
178
+ const e = Y(), l = K(), k = W(767), p = J(null), u = M((r) => r.rooms.rooms), n = M(
179
179
  (r) => r.rooms.activeRoomJID
180
- ), x = z((r) => r.rooms.usersSet);
181
- z(
180
+ ), b = M((r) => r.rooms.usersSet);
181
+ M(
182
182
  (r) => r.chatSettingStore.user?.xmppUsername
183
183
  );
184
- const [d, b] = h(""), [s, O] = h(
184
+ const [d, x] = h(""), [s, O] = h(
185
185
  n ? "chat" : "all"
186
- ), F = n ? n.split("@")[0] : void 0, [C, H] = h(!1), [m, B] = h(""), [f, L] = h(""), [g, M] = h(
186
+ ), F = n ? n.split("@")[0] : void 0, [C, j] = h(!1), [m, H] = h(""), [f, L] = h(""), [g, z] = h(
187
187
  null
188
- ), [v, N] = h(""), y = pe(m, f), j = I(
188
+ ), [v, N] = h(""), y = ue(m, f), E = I(
189
189
  () => ({
190
190
  fromUserId: g?.id,
191
191
  since: y ? void 0 : he(m),
192
- until: y ? void 0 : ue(f)
192
+ until: y ? void 0 : pe(f)
193
193
  }),
194
194
  [g?.id, m, f, y]
195
- ), w = (g ? 1 : 0) + (m ? 1 : 0) + (f ? 1 : 0), Q = () => {
196
- M(null), N(""), B(""), L("");
197
- }, P = n ? p[n] : void 0, { members: D } = Z(
195
+ ), w = (g ? 1 : 0) + (m ? 1 : 0) + (f ? 1 : 0), P = () => {
196
+ z(null), N(""), H(""), L("");
197
+ }, Q = n ? u[n] : void 0, { members: D } = X(
198
198
  n || void 0,
199
- s === "chat" && K(P) && (C || v.trim() !== "")
199
+ s === "chat" && Z(Q) && (C || v.trim() !== "")
200
200
  ), T = I(() => {
201
201
  if (!v.trim()) return [];
202
202
  let r;
203
203
  if (s === "chat") {
204
- const A = n && p[n]?.members || [];
204
+ const A = n && u[n]?.members || [];
205
205
  D.length > 0 ? r = ee([...A, ...D]) : r = A;
206
206
  } else
207
- r = Object.values(x || {});
207
+ r = Object.values(b || {});
208
208
  return fe(r, v);
209
- }, [v, s, p, n, x, D]), o = re(
209
+ }, [v, s, u, n, b, D]), o = re(
210
210
  y ? "" : d,
211
211
  s,
212
212
  F,
213
- j
213
+ E
214
214
  );
215
215
  V(() => {
216
- u.current?.focus();
216
+ p.current?.focus();
217
217
  }, []);
218
- const { open: _ } = te(), q = (r) => {
219
- _(r) && k && l(ie(void 0));
218
+ const { open: G } = te(), _ = (r) => {
219
+ G(r) && k && l(ie(void 0));
220
220
  }, R = I(() => o.items, [o.items]), U = d.trim();
221
221
  return /* @__PURE__ */ a(
222
222
  ce,
@@ -230,11 +230,11 @@ const ge = c.div`
230
230
  /* @__PURE__ */ a(
231
231
  de,
232
232
  {
233
- ref: u,
233
+ ref: p,
234
234
  "data-autofocus": !0,
235
235
  type: "search",
236
236
  value: d,
237
- onChange: (r) => b(r.target.value),
237
+ onChange: (r) => x(r.target.value),
238
238
  placeholder: e(
239
239
  s === "chat" ? "search.messages.placeholderChat" : "search.messages.placeholderAll"
240
240
  ),
@@ -242,9 +242,9 @@ const ge = c.div`
242
242
  }
243
243
  )
244
244
  ] }),
245
- /* @__PURE__ */ i(xe, { role: "group", "aria-label": e("search.messages.scope"), children: [
245
+ /* @__PURE__ */ i(be, { role: "group", "aria-label": e("search.messages.scope"), children: [
246
246
  /* @__PURE__ */ a(
247
- E,
247
+ B,
248
248
  {
249
249
  type: "button",
250
250
  $active: s === "chat",
@@ -255,7 +255,7 @@ const ge = c.div`
255
255
  }
256
256
  ),
257
257
  /* @__PURE__ */ a(
258
- E,
258
+ B,
259
259
  {
260
260
  type: "button",
261
261
  $active: s === "all",
@@ -266,12 +266,12 @@ const ge = c.div`
266
266
  )
267
267
  ] }),
268
268
  /* @__PURE__ */ i(
269
- be,
269
+ xe,
270
270
  {
271
271
  type: "button",
272
272
  $active: C || w > 0,
273
273
  "aria-expanded": C,
274
- onClick: () => H((r) => !r),
274
+ onClick: () => j((r) => !r),
275
275
  children: [
276
276
  e("search.messages.filters"),
277
277
  w > 0 && /* @__PURE__ */ a("span", { children: w })
@@ -288,7 +288,7 @@ const ge = c.div`
288
288
  {
289
289
  type: "button",
290
290
  "aria-label": e("search.messages.filterClear"),
291
- onClick: () => M(null),
291
+ onClick: () => z(null),
292
292
  children: "×"
293
293
  }
294
294
  )
@@ -309,7 +309,7 @@ const ge = c.div`
309
309
  role: "option",
310
310
  "aria-selected": !1,
311
311
  onClick: () => {
312
- M(r), N("");
312
+ z(r), N("");
313
313
  },
314
314
  children: r.name
315
315
  }
@@ -323,7 +323,7 @@ const ge = c.div`
323
323
  type: "date",
324
324
  value: m,
325
325
  max: f || void 0,
326
- onChange: (r) => B(r.target.value)
326
+ onChange: (r) => H(r.target.value)
327
327
  }
328
328
  )
329
329
  ] }),
@@ -341,7 +341,7 @@ const ge = c.div`
341
341
  ] })
342
342
  ] }),
343
343
  y && /* @__PURE__ */ a(S, { role: "alert", children: e("search.messages.dateOrder") }),
344
- w > 0 && /* @__PURE__ */ a(Ce, { type: "button", onClick: Q, children: e("search.messages.filterClearAll") })
344
+ w > 0 && /* @__PURE__ */ a(Ce, { type: "button", onClick: P, children: e("search.messages.filterClearAll") })
345
345
  ] }),
346
346
  !o.searchable && /* @__PURE__ */ a(S, { children: U ? e("search.messages.tooShort", { count: oe }) : e("search.messages.hint") }),
347
347
  o.searchable && o.status === "loading" && /* @__PURE__ */ a(S, { role: "status", children: e("search.messages.searching") }),
@@ -351,7 +351,7 @@ const ge = c.div`
351
351
  /* @__PURE__ */ a("button", { type: "button", onClick: o.retry, children: e("search.messages.retry") })
352
352
  ] }),
353
353
  o.searchable && o.status === "done" && R.length === 0 && /* @__PURE__ */ a(S, { children: e("search.messages.empty") }),
354
- R.length > 0 && /* @__PURE__ */ i(G, { children: [
354
+ R.length > 0 && /* @__PURE__ */ i(q, { children: [
355
355
  /* @__PURE__ */ a(we, { role: "status", children: e("search.messages.count", { count: o.total }) }),
356
356
  /* @__PURE__ */ a(
357
357
  se,
@@ -359,7 +359,7 @@ const ge = c.div`
359
359
  hits: R,
360
360
  query: U,
361
361
  showRoom: s === "all",
362
- onOpen: q
362
+ onOpen: _
363
363
  }
364
364
  ),
365
365
  o.hasMore && /* @__PURE__ */ a(
@@ -1,14 +1,14 @@
1
1
  import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
- import { useState as p, useRef as E, useCallback as N, useEffect as P, useMemo as z } from "react";
3
- import { l as T, a_ as U, x as _, a as F, aU as H, u as A, aB as J, E as c, a7 as q, y as G } from "./main-36gqdbJ8.js";
4
- import { S as V, i as Z, j as K, f as S } from "./SideDrawer-Cl-vbuIG.js";
2
+ import { useState as p, useRef as R, useCallback as B, useEffect as T, useMemo as z } from "react";
3
+ import { y as U, bc as E, M as _, a as F, b6 as H, u as A, aP as J, U as c, ad as q, N as G } from "./main-CpHMnydn.js";
4
+ import { S as V, i as Z, j as K, f as S } from "./SideDrawer-CqZl9sxK.js";
5
5
  const I = 50;
6
6
  async function Q({
7
7
  offset: r = 0,
8
8
  limit: t = I,
9
9
  signal: u
10
10
  } = {}) {
11
- const x = T.getState().chatSettingStore.user?.token || "", s = (await U.get("/v1/chats/public", {
11
+ const x = U.getState().chatSettingStore.user?.token || "", s = (await E.get("/v1/chats/public", {
12
12
  params: { limit: Math.min(t, I), offset: r },
13
13
  headers: { Authorization: x },
14
14
  signal: u
@@ -105,21 +105,21 @@ const W = c.ul`
105
105
  }) => {
106
106
  const t = _(), u = F(), x = H(767), b = A((e) => e.rooms.rooms), s = A(
107
107
  (e) => e.chatSettingStore.config?.xmppSettings?.conference
108
- ), [l, i] = p([]), [j, $] = p(0), [v, D] = p(0), [n, w] = p("loading"), [h, L] = p(""), m = E(0), f = N(async (e) => {
108
+ ), [l, i] = p([]), [j, $] = p(0), [v, D] = p(0), [n, w] = p("loading"), [h, L] = p(""), m = R(0), f = B(async (e) => {
109
109
  const o = ++m.current;
110
110
  w(e ? "loadingMore" : "loading");
111
111
  try {
112
112
  const g = await Q({ offset: e });
113
113
  if (o !== m.current) return;
114
114
  i((k) => {
115
- const R = new Set(k.map((C) => C.name));
116
- return e ? [...k, ...g.items.filter((C) => !R.has(C.name))] : g.items;
115
+ const P = new Set(k.map((C) => C.name));
116
+ return e ? [...k, ...g.items.filter((C) => !P.has(C.name))] : g.items;
117
117
  }), $(g.total), D(g.nextOffset), w("done");
118
118
  } catch {
119
119
  o === m.current && w("error");
120
120
  }
121
121
  }, []);
122
- P(() => (f(0), () => {
122
+ T(() => (f(0), () => {
123
123
  m.current += 1;
124
124
  }), [f]);
125
125
  const O = z(
@@ -130,7 +130,7 @@ const W = c.ul`
130
130
  return e ? l.filter(
131
131
  (o) => o.title.toLowerCase().includes(e) || o.description.toLowerCase().includes(e)
132
132
  ) : l;
133
- }, [l, h]), B = (e) => {
133
+ }, [l, h]), N = (e) => {
134
134
  const o = (s || "").trim();
135
135
  o && (u(q({ roomJID: `${e.name}@${o}` })), x && u(G(void 0)));
136
136
  }, M = v < j;
@@ -176,7 +176,7 @@ const W = c.ul`
176
176
  {
177
177
  type: "button",
178
178
  $open: o,
179
- onClick: () => B(e),
179
+ onClick: () => N(e),
180
180
  children: t(o ? "publicChats.open" : "publicChats.join")
181
181
  }
182
182
  )
@@ -1,6 +1,6 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useId as f, useRef as v } from "react";
3
- import { x as g, F as u, aU as m, a$ as w, B as b, b0 as y, E as e, b1 as D, b2 as k } from "./main-36gqdbJ8.js";
3
+ import { M as g, W as u, b6 as m, bd as b, I as w, be as y, U as e, bf as D, bg as k } from "./main-CpHMnydn.js";
4
4
  const c = 767, R = `${c}px`, z = e.div`
5
5
  position: relative;
6
6
  pointer-events: auto;
@@ -20,7 +20,7 @@ const c = 767, R = `${c}px`, z = e.div`
20
20
  @media (min-width: 768px) {
21
21
  border-left: 1px solid var(--ethora-color-border, #e6e8ec);
22
22
  }
23
- `, B = e.header`
23
+ `, I = e.header`
24
24
  display: flex;
25
25
  align-items: center;
26
26
  gap: var(--ethora-space-2, 8px);
@@ -28,7 +28,7 @@ const c = 767, R = `${c}px`, z = e.div`
28
28
  padding: var(--ethora-space-2, 8px) var(--ethora-space-3, 12px);
29
29
  border-bottom: 1px solid var(--ethora-color-border, #e6e8ec);
30
30
  background-color: var(--ethora-color-bg, #fff);
31
- `, I = e.h2`
31
+ `, B = e.h2`
32
32
  flex: 1 1 auto;
33
33
  margin: 0;
34
34
  min-width: 0;
@@ -58,11 +58,11 @@ const c = 767, R = `${c}px`, z = e.div`
58
58
  padding-left: var(--ethora-space-4, 16px);
59
59
  padding-right: var(--ethora-space-4, 16px);
60
60
  }
61
- `, H = e.section`
61
+ `, W = e.section`
62
62
  display: flex;
63
63
  flex-direction: column;
64
64
  gap: var(--ethora-space-2, 8px);
65
- `, O = e.h3`
65
+ `, $ = e.h3`
66
66
  margin: 0;
67
67
  padding: 0 var(--ethora-space-1, 4px);
68
68
  font-size: var(--ethora-font-size-xs, 12px);
@@ -70,7 +70,7 @@ const c = 767, R = `${c}px`, z = e.div`
70
70
  letter-spacing: 0.06em;
71
71
  text-transform: uppercase;
72
72
  color: var(--ethora-color-text-muted, #8c8c8c);
73
- `, W = e.div`
73
+ `, O = e.div`
74
74
  display: flex;
75
75
  flex-direction: column;
76
76
  box-sizing: border-box;
@@ -84,12 +84,12 @@ const c = 767, R = `${c}px`, z = e.div`
84
84
  flex-direction: column;
85
85
  gap: var(--ethora-space-1, 4px);
86
86
  padding: var(--ethora-space-3, 12px) var(--ethora-space-4, 16px);
87
- `, F = e.div`
87
+ `, K = e.div`
88
88
  display: flex;
89
89
  align-items: baseline;
90
90
  justify-content: space-between;
91
91
  gap: var(--ethora-space-2, 8px);
92
- `, K = e.button`
92
+ `, F = e.button`
93
93
  border: none;
94
94
  background: transparent;
95
95
  padding: var(--ethora-space-2, 8px) 0;
@@ -152,18 +152,18 @@ const c = 767, R = `${c}px`, z = e.div`
152
152
  display: flex;
153
153
  flex-direction: column;
154
154
  width: 100%;
155
- `, E = e.div`
155
+ `, T = e.div`
156
156
  font-size: var(--ethora-font-size-sm, 14px);
157
157
  font-weight: var(--ethora-font-weight-medium, 500);
158
158
  color: var(--ethora-color-text, #141414);
159
159
  text-align: start;
160
- `, T = e.div`
160
+ `, C = e.div`
161
161
  font-size: var(--ethora-font-size-xs, 12px);
162
162
  font-weight: var(--ethora-font-weight-regular, 400);
163
163
  color: var(--ethora-color-text-muted, #8c8c8c);
164
164
  text-align: start;
165
165
  line-height: 1.4;
166
- `, C = e.button`
166
+ `, E = e.button`
167
167
  display: flex;
168
168
  align-items: center;
169
169
  gap: var(--ethora-space-3, 12px);
@@ -192,11 +192,11 @@ const c = 767, R = `${c}px`, z = e.div`
192
192
  gap: var(--ethora-space-1, 4px);
193
193
  flex: 1 1 auto;
194
194
  min-width: 0;
195
- `, j = e.span`
195
+ `, M = e.span`
196
196
  flex: 0 0 auto;
197
197
  display: inline-flex;
198
198
  color: var(--ethora-color-text-muted, #8c8c8c);
199
- `, M = () => /* @__PURE__ */ o("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ o(
199
+ `, j = () => /* @__PURE__ */ o("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ o(
200
200
  "path",
201
201
  {
202
202
  d: "M6 3.5L10.5 8L6 12.5",
@@ -209,12 +209,12 @@ const c = 767, R = `${c}px`, z = e.div`
209
209
  label: r,
210
210
  hint: a,
211
211
  onClick: t
212
- }) => /* @__PURE__ */ i(C, { type: "button", onClick: t, children: [
212
+ }) => /* @__PURE__ */ i(E, { type: "button", onClick: t, children: [
213
213
  /* @__PURE__ */ i(L, { children: [
214
- /* @__PURE__ */ o(E, { children: r }),
215
- a && /* @__PURE__ */ o(T, { children: a })
214
+ /* @__PURE__ */ o(T, { children: r }),
215
+ a && /* @__PURE__ */ o(C, { children: a })
216
216
  ] }),
217
- /* @__PURE__ */ o(j, { "aria-hidden": "true", children: /* @__PURE__ */ o(M, {}) })
217
+ /* @__PURE__ */ o(M, { "aria-hidden": "true", children: /* @__PURE__ */ o(j, {}) })
218
218
  ] }), J = ({
219
219
  title: r,
220
220
  onClose: a,
@@ -224,7 +224,7 @@ const c = 767, R = `${c}px`, z = e.div`
224
224
  }) => {
225
225
  const h = g(), n = f(), s = v(null);
226
226
  u({ onClose: a, containerRef: s });
227
- const p = m(c), x = w();
227
+ const p = m(c), x = b();
228
228
  return /* @__PURE__ */ i(
229
229
  z,
230
230
  {
@@ -235,16 +235,16 @@ const c = 767, R = `${c}px`, z = e.div`
235
235
  "data-testid": "side-drawer",
236
236
  $closing: x,
237
237
  children: [
238
- /* @__PURE__ */ i(B, { children: [
238
+ /* @__PURE__ */ i(I, { children: [
239
239
  /* @__PURE__ */ o(
240
- b,
240
+ w,
241
241
  {
242
242
  EndIcon: /* @__PURE__ */ o(y, {}),
243
243
  onClick: a,
244
244
  "aria-label": l ?? h("action.close")
245
245
  }
246
246
  ),
247
- /* @__PURE__ */ o(I, { id: n, children: r }),
247
+ /* @__PURE__ */ o(B, { id: n, children: r }),
248
248
  t && /* @__PURE__ */ o(S, { children: t })
249
249
  ] }),
250
250
  /* @__PURE__ */ o(A, { children: d })
@@ -253,18 +253,18 @@ const c = 767, R = `${c}px`, z = e.div`
253
253
  );
254
254
  };
255
255
  export {
256
- H as D,
256
+ W as D,
257
257
  J as S,
258
- O as a,
259
- W as b,
258
+ $ as a,
259
+ O as b,
260
260
  U as c,
261
261
  G as d,
262
262
  _ as e,
263
- T as f,
264
- E as g,
265
- F as h,
263
+ C as f,
264
+ T as g,
265
+ K as h,
266
266
  V as i,
267
267
  X as j,
268
268
  q as k,
269
- K as l
269
+ F as l
270
270
  };