@tryghost/activitypub 3.0.7 → 3.1.0

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 (64) hide show
  1. package/dist/activitypub.js +6 -3
  2. package/dist/{at-sign-DjgaOOtV.mjs → at-sign-l8HMU0fk.mjs} +2 -2
  3. package/dist/{at-sign-DjgaOOtV.mjs.map → at-sign-l8HMU0fk.mjs.map} +1 -1
  4. package/dist/{avatar-flipboard-8NioODS5.mjs → avatar-flipboard-D12yCmyH.mjs} +2 -2
  5. package/dist/{avatar-flipboard-8NioODS5.mjs.map → avatar-flipboard-D12yCmyH.mjs.map} +1 -1
  6. package/dist/{bluesky-sharing-B4oF-0BN.mjs → bluesky-sharing-D65sfQFX.mjs} +4 -4
  7. package/dist/{bluesky-sharing-B4oF-0BN.mjs.map → bluesky-sharing-D65sfQFX.mjs.map} +1 -1
  8. package/dist/{copy-BxgO1lWX.mjs → copy-DCHXVz-9.mjs} +2 -2
  9. package/dist/{copy-BxgO1lWX.mjs.map → copy-DCHXVz-9.mjs.map} +1 -1
  10. package/dist/{deleted-feed-item-Ct4Zc7u3.mjs → deleted-feed-item-BkXeOOSC.mjs} +4 -4
  11. package/dist/{deleted-feed-item-Ct4Zc7u3.mjs.map → deleted-feed-item-BkXeOOSC.mjs.map} +1 -1
  12. package/dist/{edit-profile-DVsYbpNY.mjs → edit-profile-DdCJ6UkE.mjs} +1211 -1121
  13. package/dist/edit-profile-DdCJ6UkE.mjs.map +1 -0
  14. package/dist/{feed-D0aeoOOJ.mjs → feed-D4gYSgoO.mjs} +4 -4
  15. package/dist/{feed-D0aeoOOJ.mjs.map → feed-D4gYSgoO.mjs.map} +1 -1
  16. package/dist/{hash-B-J30lCU.mjs → hash-D_Ql6FHR.mjs} +2 -2
  17. package/dist/{hash-B-J30lCU.mjs.map → hash-D_Ql6FHR.mjs.map} +1 -1
  18. package/dist/{inbox-BrLsHadF.mjs → inbox-BIeU-G-G.mjs} +2 -2
  19. package/dist/{inbox-BrLsHadF.mjs.map → inbox-BIeU-G-G.mjs.map} +1 -1
  20. package/dist/{index-BMm_mIRT.mjs → index-BlNT1f8K.mjs} +38 -38
  21. package/dist/index-BlNT1f8K.mjs.map +1 -0
  22. package/dist/{index-BftxScf5.mjs → index-BurflorF.mjs} +463 -372
  23. package/dist/index-BurflorF.mjs.map +1 -0
  24. package/dist/{index-WlK4xdmR.mjs → index-BvOcRwis.mjs} +2 -2
  25. package/dist/{index-WlK4xdmR.mjs.map → index-BvOcRwis.mjs.map} +1 -1
  26. package/dist/{index-DL7eG3Ac.mjs → index-CPG1Xmp8.mjs} +16 -16
  27. package/dist/{index-DL7eG3Ac.mjs.map → index-CPG1Xmp8.mjs.map} +1 -1
  28. package/dist/{index-_vEj3NfZ.mjs → index-DIicyWvr.mjs} +9988 -9978
  29. package/dist/index-DIicyWvr.mjs.map +1 -0
  30. package/dist/{index-BdcW7GlH.mjs → index-DK0316YP.mjs} +35 -35
  31. package/dist/{index-BdcW7GlH.mjs.map → index-DK0316YP.mjs.map} +1 -1
  32. package/dist/{index-DnpX9U7J.mjs → index-DiYjJ67s.mjs} +121 -121
  33. package/dist/index-DiYjJ67s.mjs.map +1 -0
  34. package/dist/{index-DyFr7l3O.mjs → index-l72TqahD.mjs} +2450 -2838
  35. package/dist/index-l72TqahD.mjs.map +1 -0
  36. package/dist/{moderation-KWQp9gQj.mjs → moderation-B0rtiaEH.mjs} +3 -3
  37. package/dist/{moderation-KWQp9gQj.mjs.map → moderation-B0rtiaEH.mjs.map} +1 -1
  38. package/dist/{note-CfQDRkeT.mjs → note-DjaU27En.mjs} +4 -4
  39. package/dist/{note-CfQDRkeT.mjs.map → note-DjaU27En.mjs.map} +1 -1
  40. package/dist/{reply-BrWarBVQ.mjs → reply-4cqNFwLY.mjs} +2 -2
  41. package/dist/{reply-BrWarBVQ.mjs.map → reply-4cqNFwLY.mjs.map} +1 -1
  42. package/dist/separator-Dgj8LPTF.mjs +116 -0
  43. package/dist/separator-Dgj8LPTF.mjs.map +1 -0
  44. package/dist/{settings-CCnMmVaW.mjs → settings-qNWc2HyW.mjs} +3 -3
  45. package/dist/{settings-CCnMmVaW.mjs.map → settings-qNWc2HyW.mjs.map} +1 -1
  46. package/dist/{step-1-HGv6537o.mjs → step-1-CuRWXSkm.mjs} +12 -12
  47. package/dist/{step-1-HGv6537o.mjs.map → step-1-CuRWXSkm.mjs.map} +1 -1
  48. package/dist/{step-2-hqeY_dIc.mjs → step-2-BsxjLzY8.mjs} +7 -7
  49. package/dist/{step-2-hqeY_dIc.mjs.map → step-2-BsxjLzY8.mjs.map} +1 -1
  50. package/dist/{step-3-8yg4QPpr.mjs → step-3-NBvYqr7R.mjs} +7 -7
  51. package/dist/{step-3-8yg4QPpr.mjs.map → step-3-NBvYqr7R.mjs.map} +1 -1
  52. package/dist/{tabs-BZytpdZ9.mjs → tabs-ROut24vi.mjs} +35 -35
  53. package/dist/{tabs-BZytpdZ9.mjs.map → tabs-ROut24vi.mjs.map} +1 -1
  54. package/dist/{topic-filter-1kNAxvyr.mjs → topic-filter-YL1wy3Q1.mjs} +2 -2
  55. package/dist/{topic-filter-1kNAxvyr.mjs.map → topic-filter-YL1wy3Q1.mjs.map} +1 -1
  56. package/package.json +4 -2
  57. package/dist/edit-profile-DVsYbpNY.mjs.map +0 -1
  58. package/dist/index-BMm_mIRT.mjs.map +0 -1
  59. package/dist/index-BftxScf5.mjs.map +0 -1
  60. package/dist/index-DnpX9U7J.mjs.map +0 -1
  61. package/dist/index-DyFr7l3O.mjs.map +0 -1
  62. package/dist/index-_vEj3NfZ.mjs.map +0 -1
  63. package/dist/separator-nDV4oVPB.mjs +0 -39
  64. package/dist/separator-nDV4oVPB.mjs.map +0 -1
@@ -1,16 +1,16 @@
1
- import { a6 as ie, Q as X, c as y, e as C, d as O, j as e, N as z, J as _, b2 as Ue, g as Me, R as Be, P as De, M as Pe, A as de, B as u, aa as ce, h as Te, k as Z, aI as Ie, F as xe, b as v, W as Fe, Z as he, b3 as Ae, _ as me, $ as G, a0 as W, a1 as q, H as K, b4 as Re, b5 as $e, a2 as J, a3 as fe, O as B, b6 as Ee, b7 as Le, b8 as He, b9 as oe, a4 as Se, a5 as Oe, u as pe, ba as ze, a as _e, ax as Ve, x as Qe, y as Ye, z as Ge, G as We, L as ae, E as qe, f as Ke, S as E, bb as Je, D as Xe, m as Ze, n as es, o as ss, p as ls, I as rs, Y as ns, bc as os, ab as as, ac as ts, bd as Q, K as is, av as ds, aw as cs, be as xs, bf as be, bg as hs } from "./index-_vEj3NfZ.mjs";
2
- import { S as je } from "./separator-nDV4oVPB.mjs";
3
- import { E as ms } from "./edit-profile-DVsYbpNY.mjs";
4
- import { T as fs, a as ps, b as H, d as Y, c as S } from "./tabs-BZytpdZ9.mjs";
5
- import { S as bs } from "./settings-CCnMmVaW.mjs";
6
- import { C as js } from "./copy-BxgO1lWX.mjs";
1
+ import { a6 as de, Q as X, c as y, e as C, d as z, j as e, N as O, J as _, b7 as Me, g as Be, R as Pe, P as De, M as Te, A as ce, B as u, aa as xe, h as Ie, k as Z, aP as Fe, F as he, b as v, W as Ae, Z as me, b8 as Re, _ as fe, $ as G, a0 as W, a1 as q, H as K, b9 as $e, ba as Ee, a2 as J, a3 as pe, O as B, bb as He, bc as Le, bd as Se, be as oe, a4 as ze, a5 as Oe, u as je, bf as _e, a as Ve, aE as Qe, x as Ye, y as Ge, z as We, G as qe, L as ae, E as Ke, f as Je, S as E, bg as Xe, D as Ze, m as es, n as ss, o as ls, p as rs, I as ns, Y as os, bh as as, ab as te, ac as ts, ad as is, bi as Q, K as ds, aw as cs, ax as xs, bj as hs, bk as be, bl as ms } from "./index-DIicyWvr.mjs";
2
+ import { S as ue } from "./separator-Dgj8LPTF.mjs";
3
+ import { E as fs } from "./edit-profile-DdCJ6UkE.mjs";
4
+ import { T as ps, a as js, b as L, d as Y, c as S } from "./tabs-ROut24vi.mjs";
5
+ import { S as bs } from "./settings-qNWc2HyW.mjs";
6
+ import { C as us } from "./copy-DCHXVz-9.mjs";
7
7
  /**
8
8
  * @license lucide-react v0.553.0 - ISC
9
9
  *
10
10
  * This source code is licensed under the ISC license.
11
11
  * See the LICENSE file in the root directory of this source tree.
12
12
  */
13
- const us = [
13
+ const gs = [
14
14
  [
15
15
  "path",
16
16
  {
@@ -19,23 +19,23 @@ const us = [
19
19
  }
20
20
  ],
21
21
  ["path", { d: "m15 5 4 4", key: "1mk7zo" }]
22
- ], gs = ie("pencil", us);
22
+ ], ks = de("pencil", gs);
23
23
  /**
24
24
  * @license lucide-react v0.553.0 - ISC
25
25
  *
26
26
  * This source code is licensed under the ISC license.
27
27
  * See the LICENSE file in the root directory of this source tree.
28
28
  */
29
- const ks = [
29
+ const ws = [
30
30
  ["path", { d: "M2 21a8 8 0 0 1 11.873-7", key: "74fkxq" }],
31
31
  ["circle", { cx: "10", cy: "8", r: "5", key: "o932ke" }],
32
32
  ["path", { d: "m17 17 5 5", key: "p7ous7" }],
33
33
  ["path", { d: "m22 17-5 5", key: "gqnmv0" }]
34
- ], ws = ie("user-round-x", ks);
35
- function vs(s) {
34
+ ], vs = de("user-round-x", ws);
35
+ function ys(s) {
36
36
  return typeof s.name == "string" ? s.name : typeof s.preferredUsername == "string" ? s.preferredUsername : typeof s.preferredUsername == "object" && s.preferredUsername !== null && "@value" in s.preferredUsername && typeof s.preferredUsername["@value"] == "string" ? s.preferredUsername["@value"] : "Unknown";
37
37
  }
38
- const ue = ({
38
+ const ge = ({
39
39
  noResultsMessage: s,
40
40
  actors: n,
41
41
  isLoading: r,
@@ -49,33 +49,33 @@ const ue = ({
49
49
  }), i.current && o.current.observe(i.current), () => {
50
50
  o.current && o.current.disconnect();
51
51
  }), [h, c, d]);
52
- const x = O();
52
+ const x = z();
53
53
  return /* @__PURE__ */ e.jsxs("div", { className: "pt-3", "data-testid": "actor-list", children: [
54
- h === !1 && n.length === 0 ? /* @__PURE__ */ e.jsxs(z, { children: [
55
- /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(Ue, {}) }),
54
+ h === !1 && n.length === 0 ? /* @__PURE__ */ e.jsxs(O, { children: [
55
+ /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(Me, {}) }),
56
56
  s
57
57
  ] }) : /* @__PURE__ */ e.jsx("div", { className: "flex flex-col", children: n.map(({ actor: l, isFollowing: f, blockedByMe: g, domainBlockedByMe: w }) => {
58
- const j = l.handle || Me(l), N = j === (a == null ? void 0 : a.handle);
59
- return /* @__PURE__ */ e.jsx(Be.Fragment, { children: /* @__PURE__ */ e.jsx(De, { actor: l, align: "center", isCurrentUser: N, side: "left", children: /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
60
- Pe,
58
+ const b = l.handle || Be(l), N = b === (a == null ? void 0 : a.handle);
59
+ return /* @__PURE__ */ e.jsx(Pe.Fragment, { children: /* @__PURE__ */ e.jsx(De, { actor: l, align: "center", isCurrentUser: N, side: "left", children: /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
60
+ Te,
61
61
  {
62
62
  "data-testid": "actor-item",
63
63
  onClick: () => {
64
- Te(l, x);
64
+ Ie(l, x);
65
65
  },
66
66
  children: [
67
- /* @__PURE__ */ e.jsx(de, { author: l }),
67
+ /* @__PURE__ */ e.jsx(ce, { author: l }),
68
68
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs("div", { className: "text-gray-600 break-anywhere", children: [
69
- /* @__PURE__ */ e.jsx("span", { className: "mr-1 line-clamp-1 font-bold text-black dark:text-white", children: vs(l) }),
70
- /* @__PURE__ */ e.jsx("div", { className: "line-clamp-1 text-sm", children: j })
69
+ /* @__PURE__ */ e.jsx("span", { className: "mr-1 line-clamp-1 font-bold text-black dark:text-white", children: ys(l) }),
70
+ /* @__PURE__ */ e.jsx("div", { className: "line-clamp-1 text-sm", children: b })
71
71
  ] }) }),
72
72
  g || w ? /* @__PURE__ */ e.jsx(u, { className: "pointer-events-none ml-auto min-w-[90px]", variant: "destructive", children: "Blocked" }) : N ? null : /* @__PURE__ */ e.jsx(
73
- ce,
73
+ xe,
74
74
  {
75
75
  className: "ml-auto",
76
76
  "data-testid": "follow-button",
77
77
  following: f,
78
- handle: j,
78
+ handle: b,
79
79
  type: "secondary"
80
80
  }
81
81
  )
@@ -87,7 +87,7 @@ const ue = ({
87
87
  /* @__PURE__ */ e.jsx("div", { ref: i, className: "h-1" }),
88
88
  (c || r) && /* @__PURE__ */ e.jsx("div", { className: "mt-6 flex flex-col items-center justify-center space-y-4 text-center", children: /* @__PURE__ */ e.jsx(Z, { size: "md" }) })
89
89
  ] });
90
- }, ys = ({
90
+ }, Ns = ({
91
91
  posts: s,
92
92
  fetchNextPage: n,
93
93
  hasNextPage: r,
@@ -100,10 +100,10 @@ const ue = ({
100
100
  }), t.current && c.current.observe(t.current), a.current && c.current.observe(a.current), () => {
101
101
  c.current && c.current.disconnect();
102
102
  }), [r, d, n]);
103
- const i = O();
103
+ const i = z();
104
104
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
105
- r === !1 && s.length === 0 && /* @__PURE__ */ e.jsxs(z, { children: [
106
- /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(Ie, {}) }),
105
+ r === !1 && s.length === 0 && /* @__PURE__ */ e.jsxs(O, { children: [
106
+ /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(Fe, {}) }),
107
107
  "You haven't liked anything yet."
108
108
  ] }),
109
109
  /* @__PURE__ */ e.jsxs("ul", { className: "mx-auto flex max-w-[640px] flex-col", "data-testid": "profile-likes-list", children: [
@@ -114,7 +114,7 @@ const ue = ({
114
114
  "data-test-view-article": !0,
115
115
  children: [
116
116
  /* @__PURE__ */ e.jsx(
117
- xe,
117
+ he,
118
118
  {
119
119
  actor: x.actor,
120
120
  allowDelete: x.object.authored,
@@ -130,7 +130,7 @@ const ue = ({
130
130
  }
131
131
  }
132
132
  ),
133
- l < s.length - 1 && /* @__PURE__ */ e.jsx(je, {}),
133
+ l < s.length - 1 && /* @__PURE__ */ e.jsx(ue, {}),
134
134
  l === o && /* @__PURE__ */ e.jsx("div", { ref: t, className: "h-1" })
135
135
  ]
136
136
  },
@@ -140,7 +140,7 @@ const ue = ({
140
140
  ] }),
141
141
  /* @__PURE__ */ e.jsx("div", { ref: a, className: "h-1" })
142
142
  ] });
143
- }, Ns = ({
143
+ }, Cs = ({
144
144
  posts: s,
145
145
  fetchNextPage: n,
146
146
  hasNextPage: r,
@@ -154,10 +154,10 @@ const ue = ({
154
154
  }), a.current && t.current.observe(a.current), o.current && t.current.observe(o.current), () => {
155
155
  t.current && t.current.disconnect();
156
156
  }), [r, d, n]);
157
- const x = O();
157
+ const x = z();
158
158
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
159
- r === !1 && s.length === 0 && /* @__PURE__ */ e.jsxs(z, { children: [
160
- /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(gs, {}) }),
159
+ r === !1 && s.length === 0 && /* @__PURE__ */ e.jsxs(O, { children: [
160
+ /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(ks, {}) }),
161
161
  c
162
162
  ] }),
163
163
  /* @__PURE__ */ e.jsxs("ul", { className: "mx-auto flex max-w-[640px] flex-col", "data-testid": "profile-posts-list", children: [
@@ -168,7 +168,7 @@ const ue = ({
168
168
  "data-test-view-article": !0,
169
169
  children: [
170
170
  /* @__PURE__ */ e.jsx(
171
- xe,
171
+ he,
172
172
  {
173
173
  actor: l.actor,
174
174
  allowDelete: l.object.authored,
@@ -184,7 +184,7 @@ const ue = ({
184
184
  }
185
185
  }
186
186
  ),
187
- f < s.length - 1 && /* @__PURE__ */ e.jsx(je, {}),
187
+ f < s.length - 1 && /* @__PURE__ */ e.jsx(ue, {}),
188
188
  f === i && /* @__PURE__ */ e.jsx("div", { ref: a, className: "h-1" })
189
189
  ]
190
190
  },
@@ -194,7 +194,7 @@ const ue = ({
194
194
  ] }),
195
195
  /* @__PURE__ */ e.jsx("div", { ref: o, className: "h-1" })
196
196
  ] });
197
- }, ge = ({
197
+ }, ke = ({
198
198
  handle: s,
199
199
  isUserBlocked: n,
200
200
  isDomainBlocked: r,
@@ -213,7 +213,7 @@ const ue = ({
213
213
  userUnblocked: !1,
214
214
  domainUnblocked: !1
215
215
  };
216
- }), g = a !== void 0, w = g ? a : i, [j, N] = v(!1), D = Fe(() => {
216
+ }), g = a !== void 0, w = g ? a : i, [b, N] = v(!1), P = Ae(() => {
217
217
  const p = n && r, U = n && !r, R = !n && r;
218
218
  let k = "idle";
219
219
  p ? k = "dual" : U ? k = "userOnly" : R && (k = "domainOnly"), f((M) => ({
@@ -224,18 +224,18 @@ const ue = ({
224
224
  }));
225
225
  }, [n, r]);
226
226
  C(() => {
227
- w && !j ? (D(), N(!0)) : w || N(!1);
228
- }, [w, j, D]);
227
+ w && !b ? (P(), N(!0)) : w || N(!1);
228
+ }, [w, b, P]);
229
229
  const F = () => {
230
230
  g ? o == null || o(!0) : x(!0);
231
231
  }, m = (p) => {
232
232
  p || (g ? o == null || o(!1) : x(!1));
233
- }, L = async () => {
233
+ }, H = async () => {
234
234
  await d(), f((p) => ({
235
235
  ...p,
236
236
  userUnblocked: !0
237
237
  })), (l.mode !== "dual" || l.domainUnblocked) && (m(!1), t == null || t()), B.success("User unblocked");
238
- }, P = async () => {
238
+ }, D = async () => {
239
239
  await h(), f((p) => ({
240
240
  ...p,
241
241
  domainUnblocked: !0
@@ -252,8 +252,8 @@ const ue = ({
252
252
  " will be able to follow you and engage with your public posts."
253
253
  ] })
254
254
  ] }),
255
- /* @__PURE__ */ e.jsxs(u, { className: `gap-1 ${l.userUnblocked ? "pointer-events-none border-green bg-green text-white hover:bg-green hover:text-white" : "text-red hover:text-red-400"}`, variant: "outline", onClick: L, children: [
256
- /* @__PURE__ */ e.jsx(Re, {}),
255
+ /* @__PURE__ */ e.jsxs(u, { className: `gap-1 ${l.userUnblocked ? "pointer-events-none border-green bg-green text-white hover:bg-green hover:text-white" : "text-red hover:text-red-400"}`, variant: "outline", onClick: H, children: [
256
+ /* @__PURE__ */ e.jsx($e, {}),
257
257
  l.userUnblocked ? "User unblocked" : "Unblock user"
258
258
  ] })
259
259
  ] }),
@@ -267,8 +267,8 @@ const ue = ({
267
267
  " will be able to follow you and engage with your public posts."
268
268
  ] })
269
269
  ] }),
270
- /* @__PURE__ */ e.jsxs(u, { className: `gap-1 ${l.domainUnblocked ? "pointer-events-none border-green bg-green text-white hover:bg-green hover:text-white" : "text-red hover:text-red-400"}`, variant: "outline", onClick: P, children: [
271
- /* @__PURE__ */ e.jsx($e, {}),
270
+ /* @__PURE__ */ e.jsxs(u, { className: `gap-1 ${l.domainUnblocked ? "pointer-events-none border-green bg-green text-white hover:bg-green hover:text-white" : "text-red hover:text-red-400"}`, variant: "outline", onClick: D, children: [
271
+ /* @__PURE__ */ e.jsx(Ee, {}),
272
272
  l.domainUnblocked ? "Domain unblocked" : "Unblock domain"
273
273
  ] })
274
274
  ] })
@@ -290,16 +290,16 @@ const ue = ({
290
290
  ] }) })
291
291
  ] }),
292
292
  /* @__PURE__ */ e.jsxs(J, { children: [
293
- /* @__PURE__ */ e.jsx(fe, { children: "Cancel" }),
294
- /* @__PURE__ */ e.jsx(u, { onClick: p ? L : P, children: "Unblock" })
293
+ /* @__PURE__ */ e.jsx(pe, { children: "Cancel" }),
294
+ /* @__PURE__ */ e.jsx(u, { onClick: p ? H : D, children: "Unblock" })
295
295
  ] })
296
296
  ] });
297
297
  };
298
- return /* @__PURE__ */ e.jsxs(he, { open: w, onOpenChange: m, children: [
299
- c && /* @__PURE__ */ e.jsx(Ae, { asChild: !0, onClick: F, children: c }),
300
- /* @__PURE__ */ e.jsx(me, { className: `${l.mode === "dual" && "max-w-[600px]"}`, children: l.mode === "dual" ? T() : I() })
298
+ return /* @__PURE__ */ e.jsxs(me, { open: w, onOpenChange: m, children: [
299
+ c && /* @__PURE__ */ e.jsx(Re, { asChild: !0, onClick: F, children: c }),
300
+ /* @__PURE__ */ e.jsx(fe, { className: `${l.mode === "dual" && "max-w-[600px]"}`, children: l.mode === "dual" ? T() : I() })
301
301
  ] });
302
- }, Cs = ({
302
+ }, Us = ({
303
303
  account: s,
304
304
  children: n,
305
305
  onCopyHandle: r,
@@ -315,11 +315,11 @@ const ue = ({
315
315
  m.stopPropagation(), d();
316
316
  }, w = (m) => {
317
317
  m.stopPropagation(), h();
318
- }, j = s == null ? void 0 : s.handle, N = j == null ? void 0 : j.split("@").filter(Boolean)[1], D = () => /* @__PURE__ */ e.jsx(he, { open: x, onOpenChange: l, children: /* @__PURE__ */ e.jsxs(me, { onClick: (m) => m.stopPropagation(), children: [
318
+ }, b = s == null ? void 0 : s.handle, N = b == null ? void 0 : b.split("@").filter(Boolean)[1], P = () => /* @__PURE__ */ e.jsx(me, { open: x, onOpenChange: l, children: /* @__PURE__ */ e.jsxs(fe, { onClick: (m) => m.stopPropagation(), children: [
319
319
  /* @__PURE__ */ e.jsxs(G, { children: [
320
320
  /* @__PURE__ */ e.jsx(W, { className: "mb-1 flex flex-col gap-1", children: o === "user" ? "Block this user?" : "Block this domain?" }),
321
321
  /* @__PURE__ */ e.jsx(q, { children: o === "user" ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
322
- /* @__PURE__ */ e.jsx("span", { className: "font-semibold text-black", children: j }),
322
+ /* @__PURE__ */ e.jsx("span", { className: "font-semibold text-black", children: b }),
323
323
  " will be able to see your public posts, but will no longer be able follow you or interact with your content on the social web."
324
324
  ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
325
325
  "All users from ",
@@ -331,9 +331,9 @@ const ue = ({
331
331
  o !== "domain" && /* @__PURE__ */ e.jsx(u, { className: "-ml-3 mr-auto hover:bg-transparent hover:opacity-80", variant: "ghost", onClick: (m) => {
332
332
  m.stopPropagation(), i("domain");
333
333
  }, children: "Block domain instead" }),
334
- /* @__PURE__ */ e.jsx(fe, { onClick: (m) => m.stopPropagation(), children: "Cancel" }),
334
+ /* @__PURE__ */ e.jsx(pe, { onClick: (m) => m.stopPropagation(), children: "Cancel" }),
335
335
  /* @__PURE__ */ e.jsx(
336
- Se,
336
+ ze,
337
337
  {
338
338
  className: Oe({ variant: "destructive" }),
339
339
  onClick: o === "user" ? g : w,
@@ -342,7 +342,7 @@ const ue = ({
342
342
  )
343
343
  ] })
344
344
  ] }) }), F = () => s && /* @__PURE__ */ e.jsx(
345
- ge,
345
+ ke,
346
346
  {
347
347
  handle: s.handle,
348
348
  isDomainBlocked: s.domainBlockedByMe,
@@ -354,18 +354,18 @@ const ue = ({
354
354
  }
355
355
  );
356
356
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
357
- /* @__PURE__ */ e.jsxs(Ee, { children: [
357
+ /* @__PURE__ */ e.jsxs(He, { children: [
358
358
  /* @__PURE__ */ e.jsx(Le, { disabled: c, asChild: !0, onClick: (m) => m.stopPropagation(), children: n }),
359
- /* @__PURE__ */ e.jsx(He, { align: "end", className: "p-2", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-48 flex-col", children: [
359
+ /* @__PURE__ */ e.jsx(Se, { align: "end", className: "p-2", children: /* @__PURE__ */ e.jsxs("div", { className: "flex w-48 flex-col", children: [
360
360
  /* @__PURE__ */ e.jsx(oe, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, { className: "justify-start", variant: "ghost", onClick: f, children: "Copy handle" }) }),
361
361
  /* @__PURE__ */ e.jsx(oe, { asChild: !0, children: /* @__PURE__ */ e.jsx(u, { className: "justify-start text-red hover:bg-red/5 hover:text-red", variant: "ghost", onClick: (m) => {
362
362
  m.stopPropagation(), !t && !a && i("user"), l(!0);
363
363
  }, children: t ? "Unblock user" : a ? "Unblock domain" : "Block user" }) })
364
364
  ] }) })
365
365
  ] }),
366
- t || a ? F() : D()
366
+ t || a ? F() : P()
367
367
  ] });
368
- }, Us = ({
368
+ }, Ms = ({
369
369
  account: s,
370
370
  onUnblock: n,
371
371
  onDomainUnblock: r,
@@ -382,7 +382,7 @@ const ue = ({
382
382
  }
383
383
  );
384
384
  return /* @__PURE__ */ e.jsx(
385
- ge,
385
+ ke,
386
386
  {
387
387
  handle: s.handle,
388
388
  isDomainBlocked: s.domainBlockedByMe,
@@ -392,8 +392,8 @@ const ue = ({
392
392
  onUnblockUser: n
393
393
  }
394
394
  );
395
- }, te = () => {
396
- }, Ms = ({
395
+ }, ie = () => {
396
+ }, Bs = ({
397
397
  account: s,
398
398
  customFields: n,
399
399
  isLoadingAccount: r,
@@ -402,17 +402,17 @@ const ue = ({
402
402
  followingTab: c,
403
403
  followersTab: t
404
404
  }) => {
405
- const a = pe(), o = ze(), i = O(), { canGoBack: x } = _e(), l = a.handle ? `/profile/${a.handle}` : "/profile", f = !a.handle, g = a.handle ? a.tab || "" : o.pathname.split("/").pop() || "", w = Ve(() => f ? ["likes", "following", "followers"] : ["following", "followers"], [f]), j = w.includes(g) ? g : "posts", N = Qe("index"), D = Ye("index"), F = Ge("index"), m = We("index"), L = X("index", "me"), { data: P } = a.handle ? L : { data: void 0 }, A = a.handle === (P == null ? void 0 : P.handle) || !a.handle, T = s == null ? void 0 : s.blockedByMe, I = s == null ? void 0 : s.domainBlockedByMe, [p, U] = v(!1), [R, k] = v(!1), M = y(null);
405
+ const a = je(), o = _e(), i = z(), { canGoBack: x } = Ve(), l = a.handle ? `/profile/${a.handle}` : "/profile", f = !a.handle, g = a.handle ? a.tab || "" : o.pathname.split("/").pop() || "", w = Qe(() => f ? ["likes", "following", "followers"] : ["following", "followers"], [f]), b = w.includes(g) ? g : "posts", N = Ye("index"), P = Ge("index"), F = We("index"), m = qe("index"), H = X("index", "me"), { data: D } = a.handle ? H : { data: void 0 }, A = a.handle === (D == null ? void 0 : D.handle) || !a.handle, T = s == null ? void 0 : s.blockedByMe, I = s == null ? void 0 : s.domainBlockedByMe, [p, U] = v(!1), [R, k] = v(!1), M = y(null);
406
406
  C(() => () => {
407
407
  M.current && window.clearTimeout(M.current);
408
408
  }, []);
409
409
  const ee = () => {
410
- T ? D.mutate(s) : (N.mutate(s), B.success("User blocked")), U(!1);
410
+ T ? P.mutate(s) : (N.mutate(s), B.success("User blocked")), U(!1);
411
411
  }, se = () => {
412
412
  I ? m.mutate({ url: s.apId, handle: s.handle }) : (F.mutate({ url: s.apId, handle: s.handle }), B.success("Domain blocked")), U(!1);
413
413
  }, le = async () => {
414
- var b;
415
- if (!(s != null && s.handle) || !((b = navigator == null ? void 0 : navigator.clipboard) != null && b.writeText)) {
414
+ var j;
415
+ if (!(s != null && s.handle) || !((j = navigator == null ? void 0 : navigator.clipboard) != null && j.writeText)) {
416
416
  B.error("Unable to copy handle");
417
417
  return;
418
418
  }
@@ -421,19 +421,19 @@ const ue = ({
421
421
  } catch {
422
422
  B.error("Failed to copy handle"), k(!1);
423
423
  }
424
- }, [$, ke] = v(!1), [we, re] = v(!1), ve = () => {
425
- ke(!$);
426
- }, V = y(null), [ne, ye] = v(!1);
424
+ }, [$, we] = v(!1), [ve, re] = v(!1), ye = () => {
425
+ we(!$);
426
+ }, V = y(null), [ne, Ne] = v(!1);
427
427
  C(() => {
428
- V.current && ye(V.current.scrollHeight > 160);
428
+ V.current && Ne(V.current.scrollHeight > 160);
429
429
  }, [$, s == null ? void 0 : s.bio, n, r]), C(() => {
430
430
  g && (w.includes(g) || i(l, { replace: !0 }));
431
431
  }, [w, l, i, g]);
432
- const Ne = (b) => b === "posts" ? l : `${l}/${b}`, Ce = (b) => {
433
- b !== j && i(Ne(b), { replace: !0 });
432
+ const Ce = (j) => j === "posts" ? l : `${l}/${j}`, Ue = (j) => {
433
+ j !== b && i(Ce(j), { replace: !0 });
434
434
  };
435
- return !r && !s ? /* @__PURE__ */ e.jsx(ae, { children: /* @__PURE__ */ e.jsx("div", { className: "mx-auto mt-4 flex w-full max-w-[620px] flex-col items-center [&_svg]:translate-x-px", children: /* @__PURE__ */ e.jsxs(qe, { children: [
436
- /* @__PURE__ */ e.jsx(Ke, { children: /* @__PURE__ */ e.jsx(ws, {}) }),
435
+ return !r && !s ? /* @__PURE__ */ e.jsx(ae, { children: /* @__PURE__ */ e.jsx("div", { className: "mx-auto mt-4 flex w-full max-w-[620px] flex-col items-center [&_svg]:translate-x-px", children: /* @__PURE__ */ e.jsxs(Ke, { children: [
436
+ /* @__PURE__ */ e.jsx(Je, { children: /* @__PURE__ */ e.jsx(vs, {}) }),
437
437
  /* @__PURE__ */ e.jsx("div", { children: "Profile not found" })
438
438
  ] }) }) }) : /* @__PURE__ */ e.jsx(ae, { children: /* @__PURE__ */ e.jsx("div", { className: "z-0 mx-[max(-4vw,-32px)] -mt-9 flex flex-col items-center pb-16", children: /* @__PURE__ */ e.jsx("div", { className: "mx-auto w-full", children: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
439
439
  s != null && s.bannerImageUrl ? /* @__PURE__ */ e.jsx("div", { className: "h-[15vw] min-h-[200px] w-full overflow-hidden bg-gradient-to-tr from-gray-200 to-gray-100", children: /* @__PURE__ */ e.jsx(
@@ -448,7 +448,7 @@ const ue = ({
448
448
  /* @__PURE__ */ e.jsxs("div", { className: `mx-auto max-w-[620px] px-6 ${!(s != null && s.bannerImageUrl) && !x ? "-mt-8" : "-mt-12"}`, children: [
449
449
  /* @__PURE__ */ e.jsxs("div", { className: "flex items-end justify-between", children: [
450
450
  /* @__PURE__ */ e.jsx("div", { className: "-ml-2 rounded-full bg-white p-1 dark:bg-black", children: r ? /* @__PURE__ */ e.jsx(E, { className: "size-[92px] rounded-full" }) : /* @__PURE__ */ e.jsx(
451
- de,
451
+ ce,
452
452
  {
453
453
  author: {
454
454
  icon: {
@@ -462,24 +462,24 @@ const ue = ({
462
462
  ) }),
463
463
  !A && !r && /* @__PURE__ */ e.jsxs("div", { className: "flex gap-2", children: [
464
464
  T || I ? /* @__PURE__ */ e.jsx(
465
- Us,
465
+ Ms,
466
466
  {
467
467
  account: s,
468
468
  onDomainUnblock: se,
469
469
  onUnblock: ee
470
470
  }
471
471
  ) : /* @__PURE__ */ e.jsx(
472
- ce,
472
+ xe,
473
473
  {
474
474
  following: s == null ? void 0 : s.followedByMe,
475
475
  handle: s == null ? void 0 : s.handle,
476
476
  type: "primary",
477
- onFollow: te,
478
- onUnfollow: te
477
+ onFollow: ie,
478
+ onUnfollow: ie
479
479
  }
480
480
  ),
481
481
  /* @__PURE__ */ e.jsx(
482
- Cs,
482
+ Us,
483
483
  {
484
484
  account: s,
485
485
  isBlocked: T,
@@ -487,32 +487,32 @@ const ue = ({
487
487
  onBlockAccount: ee,
488
488
  onBlockDomain: se,
489
489
  onCopyHandle: le,
490
- children: /* @__PURE__ */ e.jsx(u, { "aria-label": "Open profile menu", variant: "outline", children: /* @__PURE__ */ e.jsx(Je, {}) })
490
+ children: /* @__PURE__ */ e.jsx(u, { "aria-label": "Open profile menu", variant: "outline", children: /* @__PURE__ */ e.jsx(Xe, {}) })
491
491
  }
492
492
  )
493
493
  ] }),
494
- A && !r && /* @__PURE__ */ e.jsxs(Xe, { open: we, onOpenChange: re, children: [
495
- /* @__PURE__ */ e.jsx(Ze, { children: /* @__PURE__ */ e.jsx(bs, { children: /* @__PURE__ */ e.jsx(u, { variant: "secondary", children: "Edit profile" }) }) }),
496
- /* @__PURE__ */ e.jsxs(es, { className: "w-full max-w-[520px]", onOpenAutoFocus: (b) => b.preventDefault(), children: [
497
- /* @__PURE__ */ e.jsx(ss, { children: /* @__PURE__ */ e.jsx(ls, { children: "Profile settings" }) }),
498
- s && /* @__PURE__ */ e.jsx(ms, { account: s, setIsEditingProfile: re })
494
+ A && !r && /* @__PURE__ */ e.jsxs(Ze, { open: ve, onOpenChange: re, children: [
495
+ /* @__PURE__ */ e.jsx(es, { children: /* @__PURE__ */ e.jsx(bs, { children: /* @__PURE__ */ e.jsx(u, { variant: "secondary", children: "Edit profile" }) }) }),
496
+ /* @__PURE__ */ e.jsxs(ss, { className: "w-full max-w-[520px]", onOpenAutoFocus: (j) => j.preventDefault(), children: [
497
+ /* @__PURE__ */ e.jsx(ls, { children: /* @__PURE__ */ e.jsx(rs, { children: "Profile settings" }) }),
498
+ s && /* @__PURE__ */ e.jsx(fs, { account: s, setIsEditingProfile: re })
499
499
  ] })
500
500
  ] })
501
501
  ] }),
502
- /* @__PURE__ */ e.jsx(rs, { className: "mt-4 truncate break-anywhere", children: r ? /* @__PURE__ */ e.jsx(E, { className: "w-32" }) : s == null ? void 0 : s.name }),
502
+ /* @__PURE__ */ e.jsx(ns, { className: "mt-4 truncate break-anywhere", children: r ? /* @__PURE__ */ e.jsx(E, { className: "w-32" }) : s == null ? void 0 : s.name }),
503
503
  /* @__PURE__ */ e.jsxs("div", { className: "mb-4 flex items-center gap-2", children: [
504
504
  /* @__PURE__ */ e.jsx("a", { className: "inline-flex max-w-full truncate text-[1.5rem] text-gray-800 hover:text-gray-900 dark:text-gray-600 dark:hover:text-gray-500", href: s == null ? void 0 : s.url, rel: "noopener noreferrer", target: "_blank", children: /* @__PURE__ */ e.jsx("span", { className: "truncate", children: r ? /* @__PURE__ */ e.jsx(E, { className: "w-full max-w-56" }) : s == null ? void 0 : s.handle }) }),
505
- !r && /* @__PURE__ */ e.jsx(u, { className: "-ml-1.5 size-6 p-0 text-gray-800 hover:text-gray-900 dark:text-gray-700 dark:hover:text-gray-600", title: "Copy handle", variant: "link", onClick: le, children: R ? /* @__PURE__ */ e.jsx(ns, { size: 16 }) : /* @__PURE__ */ e.jsx(js, { size: 16 }) }),
506
- (s == null ? void 0 : s.followsMe) && !r && /* @__PURE__ */ e.jsx(os, { className: "mt-px whitespace-nowrap", variant: "secondary", children: "Follows you" })
505
+ !r && /* @__PURE__ */ e.jsx(u, { className: "-ml-1.5 size-6 p-0 text-gray-800 hover:text-gray-900 dark:text-gray-700 dark:hover:text-gray-600", title: "Copy handle", variant: "link", onClick: le, children: R ? /* @__PURE__ */ e.jsx(os, { size: 16 }) : /* @__PURE__ */ e.jsx(us, { size: 16 }) }),
506
+ (s == null ? void 0 : s.followsMe) && !r && /* @__PURE__ */ e.jsx(as, { className: "mt-px whitespace-nowrap", variant: "secondary", children: "Follows you" })
507
507
  ] }),
508
508
  ((s == null ? void 0 : s.bio) || (n == null ? void 0 : n.length) > 0) && /* @__PURE__ */ e.jsxs("div", { ref: V, className: `ap-profile-content relative text-[1.5rem] break-anywhere [&>p]:mb-3 ${$ ? "max-h-none pb-7" : "max-h-[160px] overflow-hidden"} relative`, children: [
509
509
  r ? /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
510
510
  /* @__PURE__ */ e.jsx(E, {}),
511
511
  /* @__PURE__ */ e.jsx(E, { className: "w-full max-w-48" })
512
- ] }) : /* @__PURE__ */ e.jsx("div", { dangerouslySetInnerHTML: { __html: as(ts((s == null ? void 0 : s.bio) ?? "", ["a", "br"])) } }),
513
- n == null ? void 0 : n.map((b) => /* @__PURE__ */ e.jsxs("span", { className: "mt-3 line-clamp-1 flex flex-col text-[1.5rem]", children: [
514
- /* @__PURE__ */ e.jsx("span", { className: "text-xs font-semibold", children: b.name }),
515
- /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: b.value }, className: "ap-profile-content truncate" })
512
+ ] }) : /* @__PURE__ */ e.jsx("div", { dangerouslySetInnerHTML: { __html: te(ts(is((s == null ? void 0 : s.bio) ?? "", ["a", "br"]))) } }),
513
+ n == null ? void 0 : n.map((j) => /* @__PURE__ */ e.jsxs("span", { className: "mt-3 line-clamp-1 flex flex-col text-[1.5rem]", children: [
514
+ /* @__PURE__ */ e.jsx("span", { className: "text-xs font-semibold", children: j.name }),
515
+ /* @__PURE__ */ e.jsx("span", { dangerouslySetInnerHTML: { __html: te(j.value) }, className: "ap-profile-content truncate" })
516
516
  ] })),
517
517
  !$ && ne && /* @__PURE__ */ e.jsx("div", { className: "absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-white via-white/100 via-60% to-transparent dark:from-black dark:via-black/100" }),
518
518
  ne && /* @__PURE__ */ e.jsx(
@@ -520,36 +520,36 @@ const ue = ({
520
520
  {
521
521
  className: "absolute bottom-0 h-auto p-0 text-md",
522
522
  variant: "link",
523
- onClick: ve,
523
+ onClick: ye,
524
524
  children: $ ? "Show less" : "Show all"
525
525
  }
526
526
  )
527
527
  ] }),
528
528
  /* @__PURE__ */ e.jsxs(
529
- fs,
529
+ ps,
530
530
  {
531
531
  className: "mt-5",
532
- value: j,
532
+ value: b,
533
533
  variant: "underline",
534
- onValueChange: (b) => Ce(b),
534
+ onValueChange: (j) => Ue(j),
535
535
  children: [
536
- /* @__PURE__ */ e.jsxs(ps, { children: [
537
- /* @__PURE__ */ e.jsx(H, { value: "posts", children: "Posts" }),
538
- f && /* @__PURE__ */ e.jsxs(H, { value: "likes", children: [
536
+ /* @__PURE__ */ e.jsxs(js, { children: [
537
+ /* @__PURE__ */ e.jsx(L, { value: "posts", children: "Posts" }),
538
+ f && /* @__PURE__ */ e.jsxs(L, { value: "likes", children: [
539
539
  "Likes",
540
540
  /* @__PURE__ */ e.jsx(Y, { children: Q((s == null ? void 0 : s.likedCount) || 0) })
541
541
  ] }),
542
- /* @__PURE__ */ e.jsxs(H, { value: "following", children: [
542
+ /* @__PURE__ */ e.jsxs(L, { value: "following", children: [
543
543
  "Following",
544
544
  /* @__PURE__ */ e.jsx(Y, { children: Q((s == null ? void 0 : s.followingCount) || 0) })
545
545
  ] }),
546
- /* @__PURE__ */ e.jsxs(H, { value: "followers", children: [
546
+ /* @__PURE__ */ e.jsxs(L, { value: "followers", children: [
547
547
  "Followers",
548
548
  /* @__PURE__ */ e.jsx(Y, { children: Q((s == null ? void 0 : s.followerCount) || 0) })
549
549
  ] })
550
550
  ] }),
551
- /* @__PURE__ */ e.jsx(S, { value: "posts", children: (T || I) && !p ? /* @__PURE__ */ e.jsxs(z, { children: [
552
- /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(is, {}) }),
551
+ /* @__PURE__ */ e.jsx(S, { value: "posts", children: (T || I) && !p ? /* @__PURE__ */ e.jsxs(O, { children: [
552
+ /* @__PURE__ */ e.jsx(_, { children: /* @__PURE__ */ e.jsx(ds, {}) }),
553
553
  /* @__PURE__ */ e.jsxs("div", { className: "mt-2 flex flex-col items-center gap-0.5", children: [
554
554
  /* @__PURE__ */ e.jsxs(K, { children: [
555
555
  s.name,
@@ -568,8 +568,8 @@ const ue = ({
568
568
  )
569
569
  ] })
570
570
  ] }) }) }) });
571
- }, Bs = ({ handle: s }) => {
572
- const { postsByAccountQuery: n } = xs(s || "me", { enabled: !0 }), {
571
+ }, Ps = ({ handle: s }) => {
572
+ const { postsByAccountQuery: n } = hs(s || "me", { enabled: !0 }), {
573
573
  data: r,
574
574
  fetchNextPage: d,
575
575
  hasNextPage: h,
@@ -577,7 +577,7 @@ const ue = ({
577
577
  isLoading: t
578
578
  } = n, a = (r == null ? void 0 : r.pages.flatMap((o) => o.posts)) ?? Array.from({ length: 5 }, (o, i) => ({ id: `placeholder-${i}`, object: {} }));
579
579
  return /* @__PURE__ */ e.jsx(
580
- Ns,
580
+ Cs,
581
581
  {
582
582
  fetchNextPage: d,
583
583
  hasNextPage: h,
@@ -588,9 +588,9 @@ const ue = ({
588
588
  }
589
589
  );
590
590
  }, Ds = () => {
591
- const { postsLikedByAccountQuery: s } = hs({ enabled: !0 }), { data: n, fetchNextPage: r, hasNextPage: d, isFetchingNextPage: h, isLoading: c } = s, t = (n == null ? void 0 : n.pages.flatMap((a) => a.posts)) ?? Array.from({ length: 5 }, (a, o) => ({ id: `placeholder-${o}`, object: {} }));
591
+ const { postsLikedByAccountQuery: s } = ms({ enabled: !0 }), { data: n, fetchNextPage: r, hasNextPage: d, isFetchingNextPage: h, isLoading: c } = s, t = (n == null ? void 0 : n.pages.flatMap((a) => a.posts)) ?? Array.from({ length: 5 }, (a, o) => ({ id: `placeholder-${o}`, object: {} }));
592
592
  return /* @__PURE__ */ e.jsx(
593
- ys,
593
+ Ns,
594
594
  {
595
595
  fetchNextPage: r,
596
596
  hasNextPage: d,
@@ -599,7 +599,7 @@ const ue = ({
599
599
  posts: t
600
600
  }
601
601
  );
602
- }, Ps = ({ handle: s }) => {
602
+ }, Ts = ({ handle: s }) => {
603
603
  const n = be(s === "" ? "me" : s, "following"), {
604
604
  data: r,
605
605
  fetchNextPage: d,
@@ -620,7 +620,7 @@ const ue = ({
620
620
  domainBlockedByMe: i.domainBlockedByMe
621
621
  })) : [])) ?? [];
622
622
  return /* @__PURE__ */ e.jsx(
623
- ue,
623
+ ge,
624
624
  {
625
625
  actors: a,
626
626
  fetchNextPage: d,
@@ -630,7 +630,7 @@ const ue = ({
630
630
  noResultsMessage: `${s || "You"} have no following`
631
631
  }
632
632
  );
633
- }, Ts = ({ handle: s }) => {
633
+ }, Is = ({ handle: s }) => {
634
634
  const n = be(s === "" ? "me" : s, "followers"), {
635
635
  data: r,
636
636
  fetchNextPage: d,
@@ -649,7 +649,7 @@ const ue = ({
649
649
  isFollowing: i.isFollowing
650
650
  })) : [])) ?? [];
651
651
  return /* @__PURE__ */ e.jsx(
652
- ue,
652
+ ge,
653
653
  {
654
654
  actors: a,
655
655
  fetchNextPage: d,
@@ -660,17 +660,17 @@ const ue = ({
660
660
  }
661
661
  );
662
662
  }, Ls = ({}) => {
663
- const s = pe(), { data: n, isLoading: r, error: d, refetch: h } = X("index", s.handle || "me");
663
+ const s = je(), { data: n, isLoading: r, error: d, refetch: h } = X("index", s.handle || "me");
664
664
  if (C(() => {
665
665
  h();
666
- }, [s.handle, h]), d && ds(d) && d.statusCode !== 404)
667
- return /* @__PURE__ */ e.jsx(cs, { errorCode: d.code, statusCode: d.statusCode });
666
+ }, [s.handle, h]), d && cs(d) && d.statusCode !== 404)
667
+ return /* @__PURE__ */ e.jsx(xs, { errorCode: d.code, statusCode: d.statusCode });
668
668
  const c = Object.keys((n == null ? void 0 : n.customFields) || {}).map((x) => ({
669
669
  name: x,
670
670
  value: n.customFields[x]
671
- })) || [], t = /* @__PURE__ */ e.jsx(Bs, { handle: s.handle || "" }), a = /* @__PURE__ */ e.jsx(Ds, {}), o = /* @__PURE__ */ e.jsx(Ps, { handle: s.handle || "" }), i = /* @__PURE__ */ e.jsx(Ts, { handle: s.handle || "" });
671
+ })) || [], t = /* @__PURE__ */ e.jsx(Ps, { handle: s.handle || "" }), a = /* @__PURE__ */ e.jsx(Ds, {}), o = /* @__PURE__ */ e.jsx(Ts, { handle: s.handle || "" }), i = /* @__PURE__ */ e.jsx(Is, { handle: s.handle || "" });
672
672
  return /* @__PURE__ */ e.jsx(
673
- Ms,
673
+ Bs,
674
674
  {
675
675
  account: n,
676
676
  customFields: c,
@@ -685,4 +685,4 @@ const ue = ({
685
685
  export {
686
686
  Ls as default
687
687
  };
688
- //# sourceMappingURL=index-DnpX9U7J.mjs.map
688
+ //# sourceMappingURL=index-DiYjJ67s.mjs.map