hive-react-kit 1.11.1 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +65 -65
- package/dist/index.esm.js +330 -330
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -17,7 +17,7 @@ const HM = {
|
|
|
17
17
|
gold: "bg-amber-400/15 text-amber-300 border border-amber-400/40",
|
|
18
18
|
platinum: "bg-violet-400/15 text-violet-200 border border-violet-400/40"
|
|
19
19
|
}, t6 = GN({ tierMap: {} });
|
|
20
|
-
function
|
|
20
|
+
function Tj({
|
|
21
21
|
tierMap: r,
|
|
22
22
|
children: o
|
|
23
23
|
}) {
|
|
@@ -43,7 +43,7 @@ let ob = null;
|
|
|
43
43
|
function qu() {
|
|
44
44
|
return D3;
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Cj(r) {
|
|
47
47
|
if (!r || typeof r != "string") return;
|
|
48
48
|
const o = r.replace(/\/+$/, "");
|
|
49
49
|
o !== D3 && (D3 = o, ob && (ob.address = o, ob.currentAddress = o), NN.forEach((l) => {
|
|
@@ -53,7 +53,7 @@ function Tj(r) {
|
|
|
53
53
|
}
|
|
54
54
|
}));
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Dj(r) {
|
|
57
57
|
return NN.add(r), () => {
|
|
58
58
|
NN.delete(r);
|
|
59
59
|
};
|
|
@@ -21048,7 +21048,7 @@ const Az = {
|
|
|
21048
21048
|
language: "en",
|
|
21049
21049
|
translateHtml: vD,
|
|
21050
21050
|
t: yD("en")
|
|
21051
|
-
}, x6 = GN(Az),
|
|
21051
|
+
}, x6 = GN(Az), Gj = ({
|
|
21052
21052
|
language: r = "en",
|
|
21053
21053
|
translateHtml: o,
|
|
21054
21054
|
messages: l,
|
|
@@ -21454,7 +21454,7 @@ function Jm(r) {
|
|
|
21454
21454
|
}
|
|
21455
21455
|
return Array.from(o.entries()).map(([l, u]) => ({ account: l, weight: u }));
|
|
21456
21456
|
}
|
|
21457
|
-
function
|
|
21457
|
+
function Zj(r) {
|
|
21458
21458
|
return Jm(r).reduce((o, l) => o + l.weight, 0);
|
|
21459
21459
|
}
|
|
21460
21460
|
function tT(r, o) {
|
|
@@ -21514,7 +21514,7 @@ function Dz(r, o, l) {
|
|
|
21514
21514
|
}
|
|
21515
21515
|
];
|
|
21516
21516
|
}
|
|
21517
|
-
function
|
|
21517
|
+
function Yj(r, o, l, u) {
|
|
21518
21518
|
const d = Jm(u), f = Cz(r, o, l);
|
|
21519
21519
|
return l === "burn" ? f : f ? d.length === 0 ? f : [
|
|
21520
21520
|
"comment_options",
|
|
@@ -25220,7 +25220,7 @@ function nT(r, o, l, u, d, f, h = !1) {
|
|
|
25220
25220
|
r.strokeText(x, l, M), r.fillText(x, l, M);
|
|
25221
25221
|
});
|
|
25222
25222
|
}
|
|
25223
|
-
const iT = "https://decentmemes.com/widget/", Gw = "https://decentmemes.com",
|
|
25223
|
+
const iT = "https://decentmemes.com/widget/", Gw = "https://decentmemes.com", Xj = "decentmemes", fP = 2, sT = 8, hP = 1e3, mP = 3e3, pP = 3, gP = 2;
|
|
25224
25224
|
function U3(r) {
|
|
25225
25225
|
return r === "post" ? pP : gP;
|
|
25226
25226
|
}
|
|
@@ -25231,7 +25231,7 @@ function bP(r) {
|
|
|
25231
25231
|
const l = o.beneficiaries;
|
|
25232
25232
|
return !(!l || !Array.isArray(l.post) || !Array.isArray(l.comment));
|
|
25233
25233
|
}
|
|
25234
|
-
function
|
|
25234
|
+
function Wj(r) {
|
|
25235
25235
|
return r && r.trim() !== "" ? "comment" : "post";
|
|
25236
25236
|
}
|
|
25237
25237
|
function vP(r, o) {
|
|
@@ -25281,7 +25281,7 @@ function vP(r, o) {
|
|
|
25281
25281
|
function $D(r, o) {
|
|
25282
25282
|
return vP(r, o).map(({ account: l, weight: u }) => ({ account: l, weight: Math.floor(u / 100) })).filter((l) => l.weight > 0);
|
|
25283
25283
|
}
|
|
25284
|
-
function
|
|
25284
|
+
function Jj(r, o) {
|
|
25285
25285
|
if (r.length === 0) return null;
|
|
25286
25286
|
const l = {
|
|
25287
25287
|
v: fP,
|
|
@@ -27059,7 +27059,7 @@ function bb(r = {}) {
|
|
|
27059
27059
|
return T = OP(T), T = zP(T, l, u), T = RP(T), T = LP(T), T = PP(T), g && (T = BP(T, x, v)), EP.sanitize(T, DP);
|
|
27060
27060
|
};
|
|
27061
27061
|
}
|
|
27062
|
-
var
|
|
27062
|
+
var Qj = bb();
|
|
27063
27063
|
const UP = kf(), dT = /(?:^|[^a-z0-9._-])@([a-z][a-z0-9.-]{1,15}[a-z0-9])/gi;
|
|
27064
27064
|
function $P(r) {
|
|
27065
27065
|
if (!r) return [];
|
|
@@ -28534,7 +28534,7 @@ function Iu({ ...r }) {
|
|
|
28534
28534
|
update: l
|
|
28535
28535
|
};
|
|
28536
28536
|
}
|
|
28537
|
-
function
|
|
28537
|
+
function Kj() {
|
|
28538
28538
|
const [r, o] = b3.useState(m3);
|
|
28539
28539
|
return b3.useEffect(() => (h3.push(o), () => {
|
|
28540
28540
|
const l = h3.indexOf(o);
|
|
@@ -28565,7 +28565,7 @@ function pT(r) {
|
|
|
28565
28565
|
const o = r.toLowerCase();
|
|
28566
28566
|
return o === "user_cancel" || o === "[object object]" || o.includes("cancelled") || o.includes("canceled") || o.includes("rejected") ? "Image signing was cancelled" : o.includes("expired") ? "Wallet request expired. Please try again." : o.includes("not installed") ? "Wallet extension is not installed" : o === "incomplete" ? "Wallet request was incomplete" : r;
|
|
28567
28567
|
}
|
|
28568
|
-
function
|
|
28568
|
+
function eq(r = {}) {
|
|
28569
28569
|
const {
|
|
28570
28570
|
signer: o,
|
|
28571
28571
|
user: l,
|
|
@@ -29374,7 +29374,7 @@ const Jw = [
|
|
|
29374
29374
|
] }) })
|
|
29375
29375
|
] })
|
|
29376
29376
|
}
|
|
29377
|
-
),
|
|
29377
|
+
), tq = ({ username: r, permlink: o, onAuthorClick: l, onVideoClick: u, onTagClick: d, onBack: f, onCommentsModal: h, onUpvotesModal: g, onDescriptionModal: v, onVideoInfo: w, onShare: b, onBookmark: _ } = {}) => {
|
|
29378
29378
|
const x = r, E = o, [M, z] = W(null), [O, T] = W(!0), [B, j] = W(null), [H, P] = W(!1), [C, q] = W(null), [V, G] = W(!1), [Y, Z] = W(!1), [J, te] = W(!1), [fe, he] = W(!1), X = Dt(null), Q = Dt(null), ie = Dt(null);
|
|
29379
29379
|
qe(() => {
|
|
29380
29380
|
(async () => {
|
|
@@ -38881,7 +38881,7 @@ const kU = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 32" width="2
|
|
|
38881
38881
|
]
|
|
38882
38882
|
}
|
|
38883
38883
|
);
|
|
38884
|
-
}, PN = /\[\/\/\]:#\s*\(\s*!worldmappin\s+(-?\d+(?:\.\d+)?)\s+lat\s+(-?\d+(?:\.\d+)?)\s+long\s+([\s\S]*?)\s+d3scr
|
|
38884
|
+
}, PN = /\[\/\/\]:#\s*\(\s*(?:\[\/\/\]:#\s*\(\s*)*!worldmappin\s+(-?\d+(?:\.\d+)?)\s+lat\s+(-?\d+(?:\.\d+)?)\s+long\s+([\s\S]*?)\s+d3scr(?:\s*\))*/gi;
|
|
38885
38885
|
function SU(r) {
|
|
38886
38886
|
if (!r) return [];
|
|
38887
38887
|
const o = [];
|
|
@@ -38901,12 +38901,12 @@ function SU(r) {
|
|
|
38901
38901
|
function EU(r) {
|
|
38902
38902
|
return SU(r)[0] ?? null;
|
|
38903
38903
|
}
|
|
38904
|
-
function
|
|
38904
|
+
function AU(r) {
|
|
38905
38905
|
return r && r.replace(PN, "").replace(/\n{3,}/g, `
|
|
38906
38906
|
|
|
38907
38907
|
`);
|
|
38908
38908
|
}
|
|
38909
|
-
function
|
|
38909
|
+
function TU({
|
|
38910
38910
|
sort: r = "trending",
|
|
38911
38911
|
tag: o = "",
|
|
38912
38912
|
observer: l = "hive.blog",
|
|
@@ -39944,8 +39944,8 @@ function f9({
|
|
|
39944
39944
|
] })
|
|
39945
39945
|
] });
|
|
39946
39946
|
}
|
|
39947
|
-
const
|
|
39948
|
-
function
|
|
39947
|
+
const CU = /!\[[^\]]*\]\(([^\s)]+)\)/g, DU = /<img[^>]+src=["']([^"']+)["'][^>]*>/gi, MU = /https?:\/\/[^\s"'<>)]+\.(?:jpe?g|png|gif|webp|avif)(?:\?[^\s"'<>)]*)?/gi, OU = /https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([^&\s]+)|https?:\/\/youtu\.be\/([^?\s]+)|https?:\/\/(?:www\.)?youtube\.com\/shorts\/([^?\s]+)/gi, RU = /https?:\/\/(?:play\.)?3speak\.tv\/[^\s"'<>)]+/gi, LU = /https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/[^/]+\/status\/(\d+)/gi;
|
|
39948
|
+
function zU(r) {
|
|
39949
39949
|
const o = /* @__PURE__ */ new Set(), l = [];
|
|
39950
39950
|
for (const u of r) {
|
|
39951
39951
|
const d = u.kind === "image" ? `image:${u.url}` : u.kind === "youtube" ? `youtube:${u.id}` : u.kind === "twitter" ? `twitter:${u.id}` : `threespeak:${u.url}`;
|
|
@@ -39960,20 +39960,20 @@ function I3(r) {
|
|
|
39960
39960
|
typeof f == "string" && f && o.push({ kind: "image", url: f });
|
|
39961
39961
|
const u = r.body ?? "";
|
|
39962
39962
|
let d;
|
|
39963
|
-
for (; d = TU.exec(u); ) o.push({ kind: "image", url: d[1] });
|
|
39964
39963
|
for (; d = CU.exec(u); ) o.push({ kind: "image", url: d[1] });
|
|
39965
|
-
for (; d = DU.exec(u); ) o.push({ kind: "image", url: d[
|
|
39966
|
-
for (; d = MU.exec(u); ) {
|
|
39964
|
+
for (; d = DU.exec(u); ) o.push({ kind: "image", url: d[1] });
|
|
39965
|
+
for (; d = MU.exec(u); ) o.push({ kind: "image", url: d[0] });
|
|
39966
|
+
for (; d = OU.exec(u); ) {
|
|
39967
39967
|
const f = d[1] || d[2] || d[3];
|
|
39968
39968
|
f && o.push({ kind: "youtube", id: f });
|
|
39969
39969
|
}
|
|
39970
|
-
for (; d = OU.exec(u); )
|
|
39971
|
-
o.push({ kind: "threespeak", url: d[0] });
|
|
39972
39970
|
for (; d = RU.exec(u); )
|
|
39971
|
+
o.push({ kind: "threespeak", url: d[0] });
|
|
39972
|
+
for (; d = LU.exec(u); )
|
|
39973
39973
|
o.push({ kind: "twitter", id: d[1], url: d[0] });
|
|
39974
|
-
return
|
|
39974
|
+
return zU(o);
|
|
39975
39975
|
}
|
|
39976
|
-
function
|
|
39976
|
+
function PU(r) {
|
|
39977
39977
|
try {
|
|
39978
39978
|
const l = new URL(r).searchParams.get("v");
|
|
39979
39979
|
if (!l) return null;
|
|
@@ -39983,15 +39983,15 @@ function zU(r) {
|
|
|
39983
39983
|
return null;
|
|
39984
39984
|
}
|
|
39985
39985
|
}
|
|
39986
|
-
function
|
|
39986
|
+
function BU(r) {
|
|
39987
39987
|
let o = r.trim(), l;
|
|
39988
39988
|
do
|
|
39989
39989
|
l = o, o = o.replace(/^https:\/\/images\.(?:hive\.blog|ecency\.com)\/\d+x\d+\//i, "");
|
|
39990
39990
|
while (o !== l);
|
|
39991
39991
|
return o;
|
|
39992
39992
|
}
|
|
39993
|
-
function
|
|
39994
|
-
const o =
|
|
39993
|
+
function UU(r) {
|
|
39994
|
+
const o = BU((r ?? "").trim());
|
|
39995
39995
|
if (!o) return [];
|
|
39996
39996
|
if (o.startsWith("data:") || o.startsWith("blob:")) return [o];
|
|
39997
39997
|
const l = [
|
|
@@ -40001,11 +40001,11 @@ function BU(r) {
|
|
|
40001
40001
|
];
|
|
40002
40002
|
return l.filter((u, d) => u && l.indexOf(u) === d);
|
|
40003
40003
|
}
|
|
40004
|
-
const
|
|
40005
|
-
async function
|
|
40004
|
+
const $U = "https://play.3speak.tv/api/embed", HU = "https://play.3speak.tv/api/watch";
|
|
40005
|
+
async function jU(r, o, l) {
|
|
40006
40006
|
const u = [
|
|
40007
|
-
`${
|
|
40008
|
-
`${
|
|
40007
|
+
`${HU}?v=${r}/${o}`,
|
|
40008
|
+
`${$U}?v=${r}/${o}`
|
|
40009
40009
|
];
|
|
40010
40010
|
let d = null;
|
|
40011
40011
|
for (const f of u) {
|
|
@@ -40034,7 +40034,7 @@ function h9(r) {
|
|
|
40034
40034
|
r.videoUrlFallback3
|
|
40035
40035
|
].filter((o) => typeof o == "string" && o.length > 0);
|
|
40036
40036
|
}
|
|
40037
|
-
function
|
|
40037
|
+
function qU(r, o, l) {
|
|
40038
40038
|
if (r.canPlayType("application/vnd.apple.mpegurl") || !o.includes(".m3u8")) {
|
|
40039
40039
|
let f = !1;
|
|
40040
40040
|
const h = () => {
|
|
@@ -40074,7 +40074,7 @@ function Qm({ author: r, permlink: o, hideThumbnail: l = !1, thumbnail: u }) {
|
|
|
40074
40074
|
};
|
|
40075
40075
|
qe(() => {
|
|
40076
40076
|
let G = !1;
|
|
40077
|
-
return f(null), g(null), w(null), _(!1), E(!1), z(0),
|
|
40077
|
+
return f(null), g(null), w(null), _(!1), E(!1), z(0), jU(r, o, () => G).then((Y) => {
|
|
40078
40078
|
G || f(Y);
|
|
40079
40079
|
}).catch((Y) => {
|
|
40080
40080
|
!G && (!(Y instanceof Error) || Y.message !== "cancelled") && g("Failed to load video");
|
|
@@ -40101,7 +40101,7 @@ function Qm({ author: r, permlink: o, hideThumbnail: l = !1, thumbnail: u }) {
|
|
|
40101
40101
|
return;
|
|
40102
40102
|
}
|
|
40103
40103
|
const Q = Y[he];
|
|
40104
|
-
he += 1, fe =
|
|
40104
|
+
he += 1, fe = qU(G, Q, () => {
|
|
40105
40105
|
setTimeout(X, 0);
|
|
40106
40106
|
});
|
|
40107
40107
|
};
|
|
@@ -40109,7 +40109,7 @@ function Qm({ author: r, permlink: o, hideThumbnail: l = !1, thumbnail: u }) {
|
|
|
40109
40109
|
te = !0, G.removeEventListener("loadedmetadata", Z), G.removeEventListener("playing", J), fe && fe();
|
|
40110
40110
|
};
|
|
40111
40111
|
}, [d]);
|
|
40112
|
-
const H = `threeSpeakNative ${(v != null ? v < 1 : d?.short === !0) ? "threeSpeakNativePortrait" : "threeSpeakNativeLandscape"}${l ? " threeSpeakNativeNoThumb" : ""}`, P = d?.short === !0 ? 9 / 16 : 16 / 9, C = v ?? (d ? P : null), q = l ? C != null ? { aspectRatio: `${C}` } : void 0 : v != null ? { aspectRatio: `${v}` } : void 0, V =
|
|
40112
|
+
const H = `threeSpeakNative ${(v != null ? v < 1 : d?.short === !0) ? "threeSpeakNativePortrait" : "threeSpeakNativeLandscape"}${l ? " threeSpeakNativeNoThumb" : ""}`, P = d?.short === !0 ? 9 / 16 : 16 / 9, C = v ?? (d ? P : null), q = l ? C != null ? { aspectRatio: `${C}` } : void 0 : v != null ? { aspectRatio: `${v}` } : void 0, V = UU(u || d?.thumbnail);
|
|
40113
40113
|
return h ? /* @__PURE__ */ n("div", { className: H, "data-state": "error", children: /* @__PURE__ */ n("div", { className: "threeSpeakNativeMessage", children: h }) }) : d ? /* @__PURE__ */ y("div", { className: H, style: q, "data-state": "ready", children: [
|
|
40114
40114
|
!l && V.length > 0 && M < V.length && !b && /* @__PURE__ */ y(fr, { children: [
|
|
40115
40115
|
/* @__PURE__ */ n(
|
|
@@ -40319,7 +40319,7 @@ const t3 = 1, r3 = 4, m1 = 0.5, m9 = ({ items: r, startIndex: o = 0, onClose: l
|
|
|
40319
40319
|
}
|
|
40320
40320
|
) }),
|
|
40321
40321
|
z.kind === "threespeak" && (() => {
|
|
40322
|
-
const V =
|
|
40322
|
+
const V = PU(z.url);
|
|
40323
40323
|
return V ? /* @__PURE__ */ n("div", { className: "w-full", style: { maxWidth: "800px" }, children: /* @__PURE__ */ n(Qm, { author: V.author, permlink: V.permlink, hideThumbnail: !0 }) }) : /* @__PURE__ */ n(
|
|
40324
40324
|
"a",
|
|
40325
40325
|
{
|
|
@@ -40376,13 +40376,13 @@ function os({
|
|
|
40376
40376
|
}
|
|
40377
40377
|
);
|
|
40378
40378
|
}
|
|
40379
|
-
const
|
|
40379
|
+
const VU = (r) => {
|
|
40380
40380
|
const o = /Z|[+-]\d{2}:?\d{2}$/.test(r) ? r : `${r}Z`, l = /* @__PURE__ */ new Date(), u = new Date(o), d = Math.floor((l.getTime() - u.getTime()) / 1e3);
|
|
40381
40381
|
return d < 60 ? "just now" : d < 3600 ? `${Math.floor(d / 60)}m ago` : d < 86400 ? `${Math.floor(d / 3600)}h ago` : d < 2592e3 ? `${Math.floor(d / 86400)}d ago` : u.toLocaleDateString();
|
|
40382
|
-
},
|
|
40382
|
+
}, IU = (r) => {
|
|
40383
40383
|
let o = r;
|
|
40384
40384
|
return o = o.replace(/<[^>]*>/g, ""), o = o.replace(/!\[.*?\]\([^\s)]+\)/g, ""), o = o.replace(/\[([^\]]*)\]\([^\s)]+\)/g, "$1"), o = o.replace(/https?:\/\/[^\s)>\]]+/g, ""), o = o.replace(/\[.*?\]/g, ""), o = o.replace(/\(https?:\/\/[^\s)]*\)/g, ""), o = o.replace(/\s+/g, " ").trim(), o;
|
|
40385
|
-
},
|
|
40385
|
+
}, FU = ({ media: r }) => {
|
|
40386
40386
|
const [o, l] = W(!1), u = Dt(null), d = r.kind + ":" + ("url" in r ? r.url : r.id);
|
|
40387
40387
|
return qe(() => {
|
|
40388
40388
|
l(!1);
|
|
@@ -40431,7 +40431,7 @@ const qU = (r) => {
|
|
|
40431
40431
|
/* @__PURE__ */ n("span", { className: "text-3xl font-semibold", children: "𝕏" }),
|
|
40432
40432
|
/* @__PURE__ */ n("span", { className: "rounded bg-black/60 px-1.5 py-0.5 text-[10px] font-medium", children: "Tweet" })
|
|
40433
40433
|
] });
|
|
40434
|
-
},
|
|
40434
|
+
}, GU = ({ media: r }) => {
|
|
40435
40435
|
const [o, l] = W(0), [u, d] = W(null);
|
|
40436
40436
|
if (r.length === 0) return null;
|
|
40437
40437
|
const f = Math.min(o, r.length - 1), h = r[f];
|
|
@@ -40449,7 +40449,7 @@ const qU = (r) => {
|
|
|
40449
40449
|
},
|
|
40450
40450
|
className: "absolute inset-0 block cursor-pointer",
|
|
40451
40451
|
"aria-label": "Open media preview",
|
|
40452
|
-
children: /* @__PURE__ */ n(
|
|
40452
|
+
children: /* @__PURE__ */ n(FU, { media: h })
|
|
40453
40453
|
}
|
|
40454
40454
|
),
|
|
40455
40455
|
r.length > 1 && /* @__PURE__ */ y(fr, { children: [
|
|
@@ -40495,7 +40495,7 @@ const qU = (r) => {
|
|
|
40495
40495
|
}
|
|
40496
40496
|
)
|
|
40497
40497
|
] });
|
|
40498
|
-
},
|
|
40498
|
+
}, ZU = ({
|
|
40499
40499
|
posts: r,
|
|
40500
40500
|
currentUser: o,
|
|
40501
40501
|
loading: l = !1,
|
|
@@ -40570,7 +40570,7 @@ const qU = (r) => {
|
|
|
40570
40570
|
/* @__PURE__ */ n("p", { className: "text-sm text-[var(--hrk-text-secondary)]", children: h })
|
|
40571
40571
|
] }) : /* @__PURE__ */ y("div", { className: "space-y-3", children: [
|
|
40572
40572
|
r.map((ue) => {
|
|
40573
|
-
const ze = I3(ue), Ze = ue.json_metadata?.description || (ue.body ?
|
|
40573
|
+
const ze = I3(ue), Ze = ue.json_metadata?.description || (ue.body ? IU(ue.body) : ""), $e = ue.payout ? ue.payout.toFixed(3) : ue.pending_payout_value ? ue.pending_payout_value.replace(/[^\d.]/g, "") : "0.000", tt = [], Ce = ue.percent_hbd ?? 1e4;
|
|
40574
40574
|
if (Ce === 0 ? tt.push("Hive Rewards Payout 100% Powered Up") : tt.push(
|
|
40575
40575
|
`Hive Rewards Payout (${(Ce / 200).toFixed(0)}%/${100 - Ce / 200}%)`
|
|
40576
40576
|
), ue.is_paidout) {
|
|
@@ -40639,7 +40639,7 @@ const qU = (r) => {
|
|
|
40639
40639
|
href: Y?.(ue.author, ue.permlink),
|
|
40640
40640
|
onActivate: () => G?.(ue.author, ue.permlink, ue.title),
|
|
40641
40641
|
className: "text-[10px] text-[var(--hrk-text-tertiary)] hover:text-[var(--hrk-brand)] hover:underline sm:text-xs",
|
|
40642
|
-
children:
|
|
40642
|
+
children: VU(ue.created)
|
|
40643
40643
|
}
|
|
40644
40644
|
),
|
|
40645
40645
|
ue.community_title && /* @__PURE__ */ y(
|
|
@@ -40673,7 +40673,7 @@ const qU = (r) => {
|
|
|
40673
40673
|
),
|
|
40674
40674
|
Ze && /* @__PURE__ */ n("p", { className: "line-clamp-2 text-[11px] leading-snug text-[var(--hrk-text-tertiary)] sm:line-clamp-3 sm:text-sm sm:leading-relaxed", children: /* @__PURE__ */ n(xf, { text: Ze.substring(0, 240) }) })
|
|
40675
40675
|
] }),
|
|
40676
|
-
/* @__PURE__ */ n(
|
|
40676
|
+
/* @__PURE__ */ n(GU, { media: ze }),
|
|
40677
40677
|
q && ue.json_metadata?.content_type === "poll" && /* @__PURE__ */ n("div", { className: "mt-2", onClick: (nr) => nr.stopPropagation(), children: /* @__PURE__ */ n(
|
|
40678
40678
|
f9,
|
|
40679
40679
|
{
|
|
@@ -40740,14 +40740,14 @@ const qU = (r) => {
|
|
|
40740
40740
|
);
|
|
40741
40741
|
}),
|
|
40742
40742
|
d && f && /* @__PURE__ */ n(
|
|
40743
|
-
|
|
40743
|
+
YU,
|
|
40744
40744
|
{
|
|
40745
40745
|
onLoadMore: f,
|
|
40746
40746
|
loadingMore: u
|
|
40747
40747
|
}
|
|
40748
40748
|
)
|
|
40749
40749
|
] });
|
|
40750
|
-
},
|
|
40750
|
+
}, YU = ({ onLoadMore: r, loadingMore: o }) => {
|
|
40751
40751
|
const l = Dt(null), u = Dt(r), d = Dt(!!o);
|
|
40752
40752
|
return qe(() => {
|
|
40753
40753
|
u.current = r;
|
|
@@ -40796,7 +40796,7 @@ function DT() {
|
|
|
40796
40796
|
}
|
|
40797
40797
|
return ff;
|
|
40798
40798
|
}
|
|
40799
|
-
function
|
|
40799
|
+
function XU() {
|
|
40800
40800
|
if (ff)
|
|
40801
40801
|
try {
|
|
40802
40802
|
const r = Object.keys(ff);
|
|
@@ -40808,19 +40808,19 @@ function YU() {
|
|
|
40808
40808
|
} catch {
|
|
40809
40809
|
}
|
|
40810
40810
|
}
|
|
40811
|
-
function
|
|
40811
|
+
function WU(r) {
|
|
40812
40812
|
let o = 5381;
|
|
40813
40813
|
for (let l = 0; l < r.length; l++) o = (o << 5) + o ^ r.charCodeAt(l);
|
|
40814
40814
|
return (o >>> 0).toString(36);
|
|
40815
40815
|
}
|
|
40816
|
-
function
|
|
40817
|
-
return `${o}:${
|
|
40816
|
+
function JU(r, o) {
|
|
40817
|
+
return `${o}:${WU(r)}`;
|
|
40818
40818
|
}
|
|
40819
|
-
async function
|
|
40819
|
+
async function QU(r, o) {
|
|
40820
40820
|
const l = (r ?? "").trim();
|
|
40821
40821
|
if (!l) return "";
|
|
40822
40822
|
if (!o) return l;
|
|
40823
|
-
const u =
|
|
40823
|
+
const u = JU(l, o), d = DT()[u] ?? CT.get(u);
|
|
40824
40824
|
if (d) return d;
|
|
40825
40825
|
const f = uN.get(u);
|
|
40826
40826
|
if (f) return f;
|
|
@@ -40834,7 +40834,7 @@ async function JU(r, o) {
|
|
|
40834
40834
|
Array.isArray(x) && typeof x[0] == "string" && b.push(x[0]);
|
|
40835
40835
|
const _ = b.join("").trim();
|
|
40836
40836
|
if (!_) throw new Error("empty");
|
|
40837
|
-
return CT.set(u, _), DT()[u] = _,
|
|
40837
|
+
return CT.set(u, _), DT()[u] = _, XU(), _;
|
|
40838
40838
|
} catch {
|
|
40839
40839
|
return l;
|
|
40840
40840
|
} finally {
|
|
@@ -40874,7 +40874,7 @@ function MT() {
|
|
|
40874
40874
|
}
|
|
40875
40875
|
return "en";
|
|
40876
40876
|
}
|
|
40877
|
-
function
|
|
40877
|
+
function KU(r) {
|
|
40878
40878
|
try {
|
|
40879
40879
|
typeof sessionStorage < "u" && sessionStorage.setItem(g9, r);
|
|
40880
40880
|
} catch {
|
|
@@ -40931,7 +40931,7 @@ function p3({
|
|
|
40931
40931
|
async (C, q) => {
|
|
40932
40932
|
E(!0);
|
|
40933
40933
|
try {
|
|
40934
|
-
const V = await
|
|
40934
|
+
const V = await QU(C, q);
|
|
40935
40935
|
z(V);
|
|
40936
40936
|
} finally {
|
|
40937
40937
|
E(!1);
|
|
@@ -40944,7 +40944,7 @@ function p3({
|
|
|
40944
40944
|
w(C), T(d.text), g(d.anchor), f(null), z(null), B(d.text, C);
|
|
40945
40945
|
}, [d, B]), H = $t(
|
|
40946
40946
|
(C) => {
|
|
40947
|
-
w(C),
|
|
40947
|
+
w(C), KU(C), _(!1), O && B(O, C);
|
|
40948
40948
|
},
|
|
40949
40949
|
[O, B]
|
|
40950
40950
|
), P = $t(() => {
|
|
@@ -40952,10 +40952,10 @@ function p3({
|
|
|
40952
40952
|
}, []);
|
|
40953
40953
|
return /* @__PURE__ */ y("div", { ref: u, children: [
|
|
40954
40954
|
r,
|
|
40955
|
-
d && /* @__PURE__ */ n(
|
|
40955
|
+
d && /* @__PURE__ */ n(e$, { anchor: d.anchor, onClick: j }),
|
|
40956
40956
|
h && O && cd(
|
|
40957
40957
|
/* @__PURE__ */ n(
|
|
40958
|
-
|
|
40958
|
+
t$,
|
|
40959
40959
|
{
|
|
40960
40960
|
anchor: h,
|
|
40961
40961
|
sourceText: O,
|
|
@@ -40973,7 +40973,7 @@ function p3({
|
|
|
40973
40973
|
)
|
|
40974
40974
|
] });
|
|
40975
40975
|
}
|
|
40976
|
-
function
|
|
40976
|
+
function e$({ anchor: r, onClick: o }) {
|
|
40977
40977
|
return typeof document > "u" ? null : cd(
|
|
40978
40978
|
/* @__PURE__ */ y(
|
|
40979
40979
|
"button",
|
|
@@ -41002,7 +41002,7 @@ function KU({ anchor: r, onClick: o }) {
|
|
|
41002
41002
|
);
|
|
41003
41003
|
}
|
|
41004
41004
|
const a3 = 320;
|
|
41005
|
-
function
|
|
41005
|
+
function t$({
|
|
41006
41006
|
anchor: r,
|
|
41007
41007
|
sourceText: o,
|
|
41008
41008
|
translated: l,
|
|
@@ -41192,7 +41192,7 @@ function e$({
|
|
|
41192
41192
|
}
|
|
41193
41193
|
);
|
|
41194
41194
|
}
|
|
41195
|
-
const
|
|
41195
|
+
const r$ = /* @__PURE__ */ new Set([
|
|
41196
41196
|
"peakd.com",
|
|
41197
41197
|
"www.peakd.com",
|
|
41198
41198
|
"hive.blog",
|
|
@@ -41230,7 +41230,7 @@ function ox(r) {
|
|
|
41230
41230
|
return null;
|
|
41231
41231
|
}
|
|
41232
41232
|
const l = o.hostname.toLowerCase();
|
|
41233
|
-
if (!
|
|
41233
|
+
if (!r$.has(l)) return null;
|
|
41234
41234
|
const u = o.pathname.split("/").filter(Boolean);
|
|
41235
41235
|
if ((l === "inleo.io" || l === "www.inleo.io") && u[0] === "threads" && u[1] === "view")
|
|
41236
41236
|
return n3(u[2], u[3]);
|
|
@@ -41248,7 +41248,7 @@ function E6(r, o) {
|
|
|
41248
41248
|
}
|
|
41249
41249
|
);
|
|
41250
41250
|
}
|
|
41251
|
-
const
|
|
41251
|
+
const a$ = [
|
|
41252
41252
|
"youtube.com",
|
|
41253
41253
|
"youtu.be",
|
|
41254
41254
|
"3speak.tv",
|
|
@@ -41261,11 +41261,11 @@ const r$ = [
|
|
|
41261
41261
|
"soundcloud.com",
|
|
41262
41262
|
"twitter.com",
|
|
41263
41263
|
"x.com"
|
|
41264
|
-
],
|
|
41265
|
-
function
|
|
41264
|
+
], n$ = /\.(?:jpe?g|png|gif|webp|avif|bmp|svg)(?:\?[^\s"'<>)]*)?$/i, i$ = /\.(?:mp3|wav|ogg|m4a|aac|flac|webm|opus)(?:\?[^\s"'<>)]*)?$/i;
|
|
41265
|
+
function s$(r) {
|
|
41266
41266
|
try {
|
|
41267
41267
|
const o = new URL(r), l = o.hostname.toLowerCase(), u = o.pathname;
|
|
41268
|
-
return !!(
|
|
41268
|
+
return !!(a$.some((f) => l === f || l.endsWith("." + f)) || u.includes("/ipfs/") || n$.test(r) || i$.test(r));
|
|
41269
41269
|
} catch {
|
|
41270
41270
|
return !1;
|
|
41271
41271
|
}
|
|
@@ -41273,14 +41273,14 @@ function i$(r) {
|
|
|
41273
41273
|
function A6(r) {
|
|
41274
41274
|
return r && r.replace(
|
|
41275
41275
|
/(^|[^<"'(])(https?:\/\/[^\s<>"']+?)(?=[.,!?]*(?:[\s>)"']|$))/gi,
|
|
41276
|
-
(o, l, u) =>
|
|
41276
|
+
(o, l, u) => s$(u) ? o : `${l}<${u}>`
|
|
41277
41277
|
);
|
|
41278
41278
|
}
|
|
41279
|
-
function
|
|
41279
|
+
function o$(r) {
|
|
41280
41280
|
return r.trim().replace(/[)\],.;:>\s"'<]+$/, "");
|
|
41281
41281
|
}
|
|
41282
41282
|
function Im(r) {
|
|
41283
|
-
const o = ox(
|
|
41283
|
+
const o = ox(o$(r));
|
|
41284
41284
|
return o && o.kind === "post" ? { author: o.author, permlink: o.permlink } : null;
|
|
41285
41285
|
}
|
|
41286
41286
|
function b9(r) {
|
|
@@ -41327,7 +41327,7 @@ function v9(r, o) {
|
|
|
41327
41327
|
|
|
41328
41328
|
`).trim();
|
|
41329
41329
|
}
|
|
41330
|
-
function
|
|
41330
|
+
function l$(r) {
|
|
41331
41331
|
const o = r.level ?? r.depth;
|
|
41332
41332
|
if (typeof o == "number" && Number.isFinite(o)) return o;
|
|
41333
41333
|
if (typeof o == "string") {
|
|
@@ -41337,7 +41337,7 @@ function o$(r) {
|
|
|
41337
41337
|
return r.parent_author ? 1 : 0;
|
|
41338
41338
|
}
|
|
41339
41339
|
const Wh = /https?:\/\/[^\s"'<>)]+\/ipfs\/[a-zA-Z0-9]+(?:\/[^\s"'<>)]*)?/gi, S1 = /* @__PURE__ */ new Map(), cN = /* @__PURE__ */ new Map();
|
|
41340
|
-
function
|
|
41340
|
+
function u$(r) {
|
|
41341
41341
|
const o = S1.get(r);
|
|
41342
41342
|
if (o) return Promise.resolve(o);
|
|
41343
41343
|
const l = cN.get(r);
|
|
@@ -41362,14 +41362,14 @@ function T6(r) {
|
|
|
41362
41362
|
l(d);
|
|
41363
41363
|
return;
|
|
41364
41364
|
}
|
|
41365
|
-
return l(null),
|
|
41365
|
+
return l(null), u$(r).then((f) => {
|
|
41366
41366
|
u || l(f);
|
|
41367
41367
|
}), () => {
|
|
41368
41368
|
u = !0;
|
|
41369
41369
|
};
|
|
41370
41370
|
}, [r]), o;
|
|
41371
41371
|
}
|
|
41372
|
-
const
|
|
41372
|
+
const c$ = ({
|
|
41373
41373
|
url: r,
|
|
41374
41374
|
variant: o = "full",
|
|
41375
41375
|
onTileClick: l,
|
|
@@ -41411,18 +41411,18 @@ const u$ = ({
|
|
|
41411
41411
|
children: r
|
|
41412
41412
|
}
|
|
41413
41413
|
);
|
|
41414
|
-
}, UN = /https?:\/\/(?:open|play)\.spotify\.com\/(?:track|playlist|album|artist|episode|show)\/[a-zA-Z0-9]+(?:\?[^\s"'<>)]*)?/gi, Jh = /https?:\/\/(?:www\.)?(?:odysee\.com|lbry\.tv)\/[^\s"'<>)]+/gi, $N = /https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/[^/]+\/status\/(\d+)/gi, Fm = /https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([^&\s]+)|https?:\/\/youtu\.be\/([^?\s]+)|https?:\/\/(?:www\.)?youtube\.com\/shorts\/([^?\s]+)/gi, HN = /https?:\/\/(?:play\.)?3speak\.tv\/[^\s"'<>)]+/gi, jN = /https?:\/\/[^\s"'<>)]+?\.(?:mp3|wav|ogg|m4a|aac|flac|webm|opus)(?:\?[^\s"'<>)]*)?/gi, qN = /https?:\/\/audio\.3speak\.tv\/play\?[^\s"'<>)]+/gi, VN = /!\[[^\]]*\]\(([^\s)]+)\)/g, IN = /<img[^>]+src=["']([^"']+)["'][^>]*>/gi, y9 = /https?:\/\/[^\s"'<>)]+?\.(?:jpe?g|png|gif|webp|avif|bmp|svg)(?:\?[^\s"'<>)]*)?/gi,
|
|
41414
|
+
}, UN = /https?:\/\/(?:open|play)\.spotify\.com\/(?:track|playlist|album|artist|episode|show)\/[a-zA-Z0-9]+(?:\?[^\s"'<>)]*)?/gi, Jh = /https?:\/\/(?:www\.)?(?:odysee\.com|lbry\.tv)\/[^\s"'<>)]+/gi, $N = /https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/[^/]+\/status\/(\d+)/gi, Fm = /https?:\/\/(?:www\.)?youtube\.com\/watch\?v=([^&\s]+)|https?:\/\/youtu\.be\/([^?\s]+)|https?:\/\/(?:www\.)?youtube\.com\/shorts\/([^?\s]+)/gi, HN = /https?:\/\/(?:play\.)?3speak\.tv\/[^\s"'<>)]+/gi, jN = /https?:\/\/[^\s"'<>)]+?\.(?:mp3|wav|ogg|m4a|aac|flac|webm|opus)(?:\?[^\s"'<>)]*)?/gi, qN = /https?:\/\/audio\.3speak\.tv\/play\?[^\s"'<>)]+/gi, VN = /!\[[^\]]*\]\(([^\s)]+)\)/g, IN = /<img[^>]+src=["']([^"']+)["'][^>]*>/gi, y9 = /https?:\/\/[^\s"'<>)]+?\.(?:jpe?g|png|gif|webp|avif|bmp|svg)(?:\?[^\s"'<>)]*)?/gi, d$ = /https?:\/\/[^\s)<>\]]+/g, f$ = /@([a-z][a-z0-9.-]{1,15}[a-z0-9])/g, h$ = /(?:^|\s)#([a-zA-Z][\w-]{0,31})/g;
|
|
41415
41415
|
function Fh(r) {
|
|
41416
41416
|
return Array.from(new Set(r));
|
|
41417
41417
|
}
|
|
41418
|
-
function
|
|
41418
|
+
function m$(r) {
|
|
41419
41419
|
return r.trim().replace(/[)\],.;:>\s"'<]+$/, "").replace(/^(https?):\/(?!\/)/, "$1://");
|
|
41420
41420
|
}
|
|
41421
|
-
function
|
|
41421
|
+
function p$(r) {
|
|
41422
41422
|
const o = /* @__PURE__ */ new Set(), l = [];
|
|
41423
41423
|
for (const u of r) {
|
|
41424
41424
|
if (typeof u != "string") continue;
|
|
41425
|
-
const d =
|
|
41425
|
+
const d = m$(u);
|
|
41426
41426
|
if (!d || !/^https?:\/\//.test(d)) continue;
|
|
41427
41427
|
let f = d;
|
|
41428
41428
|
try {
|
|
@@ -41443,14 +41443,14 @@ function C6(r) {
|
|
|
41443
41443
|
}
|
|
41444
41444
|
return typeof r == "object" ? r : {};
|
|
41445
41445
|
}
|
|
41446
|
-
const
|
|
41447
|
-
function
|
|
41446
|
+
const g$ = /* @__PURE__ */ new Set(["hsnaps", "hreplier", "hivesuite"]);
|
|
41447
|
+
function b$(r) {
|
|
41448
41448
|
const o = C6(r.json_metadata);
|
|
41449
41449
|
return (Array.isArray(o.tags) ? o.tags : []).some(
|
|
41450
|
-
(u) => typeof u == "string" &&
|
|
41450
|
+
(u) => typeof u == "string" && g$.has(u.toLowerCase())
|
|
41451
41451
|
);
|
|
41452
41452
|
}
|
|
41453
|
-
function
|
|
41453
|
+
function v$(r) {
|
|
41454
41454
|
const o = C6(r.json_metadata);
|
|
41455
41455
|
return (Array.isArray(o.tags) ? o.tags : []).filter((u) => typeof u == "string" && u.length > 0);
|
|
41456
41456
|
}
|
|
@@ -41498,7 +41498,7 @@ function x9(r) {
|
|
|
41498
41498
|
E.has(G) || (E.add(G), x.push(G));
|
|
41499
41499
|
}
|
|
41500
41500
|
const O = [
|
|
41501
|
-
...
|
|
41501
|
+
...p$(l).map((G) => ({ kind: "image", url: G })),
|
|
41502
41502
|
...Fh(d).map((G) => ({ kind: "ipfs", url: G })),
|
|
41503
41503
|
...Fh(h).map((G) => ({ kind: "youtube", id: G })),
|
|
41504
41504
|
...Fh(g).map((G) => ({ kind: "threespeak", url: G })),
|
|
@@ -41514,13 +41514,13 @@ function x9(r) {
|
|
|
41514
41514
|
let j = 0;
|
|
41515
41515
|
const H = [];
|
|
41516
41516
|
let P;
|
|
41517
|
-
const C = new RegExp(
|
|
41517
|
+
const C = new RegExp(d$.source, "g");
|
|
41518
41518
|
for (; (P = C.exec(T)) !== null; )
|
|
41519
41519
|
H.push({ start: P.index, end: P.index + P[0].length, node: { kind: "link", url: P[0] } });
|
|
41520
|
-
const q = new RegExp(
|
|
41520
|
+
const q = new RegExp(f$.source, "g");
|
|
41521
41521
|
for (; (P = q.exec(T)) !== null; )
|
|
41522
41522
|
H.some((G) => P.index >= G.start && P.index < G.end) || H.push({ start: P.index, end: P.index + P[0].length, node: { kind: "mention", username: P[1] } });
|
|
41523
|
-
const V = new RegExp(
|
|
41523
|
+
const V = new RegExp(h$.source, "g");
|
|
41524
41524
|
for (; (P = V.exec(T)) !== null; ) {
|
|
41525
41525
|
const G = P.index + (P[0].startsWith(" ") ? 1 : 0);
|
|
41526
41526
|
H.some((Y) => G >= Y.start && G < Y.end) || H.push({ start: G, end: G + (P[0].length - (P[0].startsWith(" ") ? 1 : 0)), node: { kind: "hashtag", tag: P[1] } });
|
|
@@ -41540,7 +41540,7 @@ function w9(r) {
|
|
|
41540
41540
|
return null;
|
|
41541
41541
|
}
|
|
41542
41542
|
}
|
|
41543
|
-
const
|
|
41543
|
+
const y$ = ({ author: r, permlink: o }) => /* @__PURE__ */ n("div", { className: "three-speak-embed my-3 hive-post-body", style: { margin: "0.75rem auto" }, children: /* @__PURE__ */ n(Qm, { author: r, permlink: o }) }), OT = (r) => r.kind === "image" ? r.url.toLowerCase().includes(".gif") ? "GIF" : "Image" : r.kind === "youtube" ? "YouTube" : r.kind === "threespeak" ? "3Speak" : r.kind === "twitter" ? "Tweet" : r.kind === "3speak-audio" ? "3Speak audio" : r.kind === "spotify" ? "Spotify" : r.kind === "odysee" ? "Odysee" : "Audio";
|
|
41544
41544
|
function y_(r) {
|
|
41545
41545
|
try {
|
|
41546
41546
|
const o = new URL(r), l = o.hostname.replace(/^www\./, "");
|
|
@@ -41586,7 +41586,7 @@ const _9 = ({ id: r }) => {
|
|
|
41586
41586
|
)
|
|
41587
41587
|
}
|
|
41588
41588
|
);
|
|
41589
|
-
}, p1 = 1, RT = 0.25,
|
|
41589
|
+
}, p1 = 1, RT = 0.25, x$ = 0.15, k9 = ({ src: r }) => {
|
|
41590
41590
|
const [o, l] = W(1), [u, d] = W(3), [f, h] = W({ x: 0, y: 0 }), g = Dt(null), v = Dt(null), w = Dt(null), b = Dt(null), _ = $t(() => {
|
|
41591
41591
|
l(1), h({ x: 0, y: 0 });
|
|
41592
41592
|
}, []);
|
|
@@ -41604,7 +41604,7 @@ const _9 = ({ id: r }) => {
|
|
|
41604
41604
|
if (!G) return;
|
|
41605
41605
|
const Y = G.getBoundingClientRect(), Z = V.clientX - (Y.left + Y.width / 2), J = V.clientY - (Y.top + Y.height / 2);
|
|
41606
41606
|
l((te) => {
|
|
41607
|
-
const fe = V.deltaY < 0 ? 1 : -1, he = Math.max(p1, Math.min(u, te + fe *
|
|
41607
|
+
const fe = V.deltaY < 0 ? 1 : -1, he = Math.max(p1, Math.min(u, te + fe * x$));
|
|
41608
41608
|
return he === te ? te : (h((X) => {
|
|
41609
41609
|
if (he === 1) return { x: 0, y: 0 };
|
|
41610
41610
|
const Q = he / te;
|
|
@@ -41741,7 +41741,7 @@ const _9 = ({ id: r }) => {
|
|
|
41741
41741
|
}
|
|
41742
41742
|
)
|
|
41743
41743
|
] });
|
|
41744
|
-
},
|
|
41744
|
+
}, w$ = ({
|
|
41745
41745
|
url: r,
|
|
41746
41746
|
onOpen: o
|
|
41747
41747
|
}) => {
|
|
@@ -41777,7 +41777,7 @@ const _9 = ({ id: r }) => {
|
|
|
41777
41777
|
children: /* @__PURE__ */ n("img", { src: r, alt: "", loading: "lazy", className: "max-h-full max-w-full object-contain" })
|
|
41778
41778
|
}
|
|
41779
41779
|
);
|
|
41780
|
-
},
|
|
41780
|
+
}, _$ = ({ url: r }) => {
|
|
41781
41781
|
const o = T6(r);
|
|
41782
41782
|
return o === "video" ? /* @__PURE__ */ n(
|
|
41783
41783
|
"video",
|
|
@@ -41798,7 +41798,7 @@ const _9 = ({ id: r }) => {
|
|
|
41798
41798
|
children: "Open in new tab"
|
|
41799
41799
|
}
|
|
41800
41800
|
);
|
|
41801
|
-
},
|
|
41801
|
+
}, k$ = ({
|
|
41802
41802
|
attachment: r,
|
|
41803
41803
|
onClose: o,
|
|
41804
41804
|
index: l,
|
|
@@ -41907,7 +41907,7 @@ const _9 = ({ id: r }) => {
|
|
|
41907
41907
|
)
|
|
41908
41908
|
] }),
|
|
41909
41909
|
r.kind === "image" && /* @__PURE__ */ n(k9, { src: r.url }),
|
|
41910
|
-
r.kind === "ipfs" && /* @__PURE__ */ n(
|
|
41910
|
+
r.kind === "ipfs" && /* @__PURE__ */ n(_$, { url: r.url }),
|
|
41911
41911
|
r.kind === "youtube" && /* @__PURE__ */ y("div", { className: "w-full", children: [
|
|
41912
41912
|
/* @__PURE__ */ n("div", { className: "w-full overflow-hidden rounded-lg", style: { aspectRatio: "16/9" }, children: /* @__PURE__ */ n(
|
|
41913
41913
|
"iframe",
|
|
@@ -41936,7 +41936,7 @@ const _9 = ({ id: r }) => {
|
|
|
41936
41936
|
r.kind === "twitter" && /* @__PURE__ */ n("div", { className: "w-full", children: /* @__PURE__ */ n(_9, { id: r.id }) }),
|
|
41937
41937
|
r.kind === "threespeak" && (() => {
|
|
41938
41938
|
const b = w9(r.url);
|
|
41939
|
-
return b ? /* @__PURE__ */ n("div", { className: "w-full", children: /* @__PURE__ */ n(
|
|
41939
|
+
return b ? /* @__PURE__ */ n("div", { className: "w-full", children: /* @__PURE__ */ n(y$, { author: b.author, permlink: b.permlink }) }) : /* @__PURE__ */ n(
|
|
41940
41940
|
"a",
|
|
41941
41941
|
{
|
|
41942
41942
|
href: r.url,
|
|
@@ -42030,7 +42030,7 @@ const _9 = ({ id: r }) => {
|
|
|
42030
42030
|
/* @__PURE__ */ y("div", { className: "relative flex h-72 w-full items-center justify-center overflow-hidden rounded-xl bg-black my-2", children: [
|
|
42031
42031
|
(() => {
|
|
42032
42032
|
if (E.kind === "ipfs")
|
|
42033
|
-
return /* @__PURE__ */ n(
|
|
42033
|
+
return /* @__PURE__ */ n(w$, { url: E.url, onOpen: (q) => B(q, E) });
|
|
42034
42034
|
if (E.kind === "image")
|
|
42035
42035
|
return g.has(x) ? /* @__PURE__ */ n(
|
|
42036
42036
|
"button",
|
|
@@ -42233,7 +42233,7 @@ const _9 = ({ id: r }) => {
|
|
|
42233
42233
|
] })
|
|
42234
42234
|
] }),
|
|
42235
42235
|
u && /* @__PURE__ */ n(
|
|
42236
|
-
|
|
42236
|
+
k$,
|
|
42237
42237
|
{
|
|
42238
42238
|
attachment: u,
|
|
42239
42239
|
index: Math.max(0, j.indexOf(u)),
|
|
@@ -42249,7 +42249,7 @@ function LT(r) {
|
|
|
42249
42249
|
const o = /Z|[+-]\d{2}:?\d{2}$/.test(r) ? r : `${r}Z`, l = Math.floor((Date.now() - new Date(o).getTime()) / 1e3);
|
|
42250
42250
|
return l < 60 ? "just now" : l < 3600 ? `${Math.floor(l / 60)}m ago` : l < 86400 ? `${Math.floor(l / 3600)}h ago` : l < 2592e3 ? `${Math.floor(l / 86400)}d ago` : new Date(o).toLocaleDateString();
|
|
42251
42251
|
}
|
|
42252
|
-
function
|
|
42252
|
+
function N$(r, o) {
|
|
42253
42253
|
if (o) {
|
|
42254
42254
|
const h = (typeof o == "string" ? (() => {
|
|
42255
42255
|
try {
|
|
@@ -42267,7 +42267,7 @@ function k$(r, o) {
|
|
|
42267
42267
|
const d = r.match(/https?:\/\/\S+?\.(?:jpe?g|png|gif|webp|avif)(?:\?\S*)?/i);
|
|
42268
42268
|
return d ? d[0] : null;
|
|
42269
42269
|
}
|
|
42270
|
-
function
|
|
42270
|
+
function S$(r) {
|
|
42271
42271
|
return r.replace(/!\[[^\]]*\]\([^)]+\)/g, "").replace(/<img[^>]+>/gi, "").replace(/https?:\/\/\S+?\.(?:jpe?g|png|gif|webp|avif)(?:\?\S*)?/gi, "").replace(/https?:\/\/(?:www\.)?(?:twitter\.com|x\.com)\/[^/]+\/status\/\d+/gi, "").replace(/https?:\/\/(?:www\.)?youtube\.com\/watch\?v=[^&\s]+|https?:\/\/youtu\.be\/\S+|https?:\/\/(?:www\.)?youtube\.com\/shorts\/\S+/gi, "").replace(/https?:\/\/(?:play\.)?3speak\.tv\/\S+/gi, "").replace(/https?:\/\/audio\.3speak\.tv\/play\?\S+/gi, "").replace(/https?:\/\/\S+?\.(?:mp3|wav|ogg|m4a|aac|flac|webm|opus)(?:\?[^\s"'<>)]*)?/gi, "").replace(/https?:\/\/(?:open|play)\.spotify\.com\/(?:track|playlist|album|artist|episode|show)\/[a-zA-Z0-9]+(?:\?[^\s"'<>)]*)?/gi, "").replace(/<[^>]+>/g, "").replace(/[*_~`>#-]+/g, " ").replace(/\s+/g, " ").trim();
|
|
42272
42272
|
}
|
|
42273
42273
|
const S9 = ({
|
|
@@ -42288,7 +42288,7 @@ const S9 = ({
|
|
|
42288
42288
|
x(!0), b(!1), f?.(!1);
|
|
42289
42289
|
return;
|
|
42290
42290
|
}
|
|
42291
|
-
const V = q, G =
|
|
42291
|
+
const V = q, G = l$(V) === 0;
|
|
42292
42292
|
if (G && !h) {
|
|
42293
42293
|
M(!0), b(!1), f?.(!1);
|
|
42294
42294
|
return;
|
|
@@ -42301,10 +42301,10 @@ const S9 = ({
|
|
|
42301
42301
|
};
|
|
42302
42302
|
}, [r, o, l, f, h]);
|
|
42303
42303
|
const B = Pt(() => g ? x9(g) : null, [g])?.attachments ?? [], j = Pt(
|
|
42304
|
-
() => g ?
|
|
42304
|
+
() => g ? N$(g.body ?? "", g.json_metadata) : null,
|
|
42305
42305
|
[g]
|
|
42306
42306
|
), H = Pt(
|
|
42307
|
-
() => g ?
|
|
42307
|
+
() => g ? S$(g.body ?? "").slice(0, 280) : "",
|
|
42308
42308
|
[g]
|
|
42309
42309
|
), P = (C) => {
|
|
42310
42310
|
C.stopPropagation(), g ? u?.(g.author, g.permlink) : u?.(r, o);
|
|
@@ -42447,11 +42447,11 @@ const S9 = ({
|
|
|
42447
42447
|
}
|
|
42448
42448
|
);
|
|
42449
42449
|
};
|
|
42450
|
-
function
|
|
42450
|
+
function E$(r) {
|
|
42451
42451
|
const o = /Z|[+-]\d{2}:?\d{2}$/.test(r) ? r : `${r}Z`, l = Math.floor((Date.now() - new Date(o).getTime()) / 1e3);
|
|
42452
42452
|
return l < 60 ? "just now" : l < 3600 ? `${Math.floor(l / 60)}m ago` : l < 86400 ? `${Math.floor(l / 3600)}h ago` : l < 2592e3 ? `${Math.floor(l / 86400)}d ago` : new Date(o).toLocaleDateString();
|
|
42453
42453
|
}
|
|
42454
|
-
const
|
|
42454
|
+
const A$ = ({ segments: r, onUserClick: o, onTagClick: l, getUserUrl: u, getTagUrl: d }) => {
|
|
42455
42455
|
const f = [];
|
|
42456
42456
|
return r.forEach((h, g) => {
|
|
42457
42457
|
h.kind === "text" ? f.push(/* @__PURE__ */ n("span", { children: h.text }, g)) : h.kind === "mention" ? f.push(
|
|
@@ -42497,7 +42497,7 @@ const E$ = ({ segments: r, onUserClick: o, onTagClick: l, getUserUrl: u, getTagU
|
|
|
42497
42497
|
)
|
|
42498
42498
|
);
|
|
42499
42499
|
}), /* @__PURE__ */ n("p", { className: "line-clamp-6 whitespace-pre-wrap break-words text-sm leading-relaxed text-[var(--hrk-text-secondary)]", children: f });
|
|
42500
|
-
},
|
|
42500
|
+
}, T$ = ({
|
|
42501
42501
|
post: r,
|
|
42502
42502
|
currentUser: o,
|
|
42503
42503
|
onUpvote: l,
|
|
@@ -42550,10 +42550,10 @@ const E$ = ({ segments: r, onUserClick: o, onTagClick: l, getUserUrl: u, getTagU
|
|
|
42550
42550
|
), Ce = $t((at) => {
|
|
42551
42551
|
ze((Ne) => at ? se : Ne === se ? null : Ne);
|
|
42552
42552
|
}, [se]), de = Pt(
|
|
42553
|
-
() =>
|
|
42553
|
+
() => b$(r),
|
|
42554
42554
|
[r.json_metadata]
|
|
42555
42555
|
), Ue = Pt(
|
|
42556
|
-
() =>
|
|
42556
|
+
() => v$(r),
|
|
42557
42557
|
[r.json_metadata]
|
|
42558
42558
|
);
|
|
42559
42559
|
qe(() => {
|
|
@@ -42666,7 +42666,7 @@ $2`), Ne = Ne.replace(VN, ""), Ne = Ne.replace(IN, ""), Ne = Ne.replace(
|
|
|
42666
42666
|
href: q?.(r.author, r.permlink),
|
|
42667
42667
|
onActivate: () => P?.(r.author, r.permlink, r.title),
|
|
42668
42668
|
className: "shrink-0 text-xs text-[var(--hrk-text-tertiary)] hover:text-[var(--hrk-brand)] hover:underline",
|
|
42669
|
-
children:
|
|
42669
|
+
children: E$(r.created)
|
|
42670
42670
|
}
|
|
42671
42671
|
),
|
|
42672
42672
|
de && /* @__PURE__ */ n("span", { className: "shrink-0 rounded-full bg-[var(--hrk-brand)]/15 px-1.5 py-0.5 text-[10px] font-semibold text-[var(--hrk-brand)]", children: "hivesuite" }),
|
|
@@ -42741,7 +42741,7 @@ $2`), Ne = Ne.replace(VN, ""), Ne = Ne.replace(IN, ""), Ne = Ne.replace(
|
|
|
42741
42741
|
// (e.g. body was entirely media): keep the old plain-text
|
|
42742
42742
|
// segments so the card never renders blank.
|
|
42743
42743
|
/* @__PURE__ */ n(
|
|
42744
|
-
|
|
42744
|
+
A$,
|
|
42745
42745
|
{
|
|
42746
42746
|
segments: tt.segments,
|
|
42747
42747
|
onUserClick: H,
|
|
@@ -42841,7 +42841,7 @@ $2`), Ne = Ne.replace(VN, ""), Ne = Ne.replace(IN, ""), Ne = Ne.replace(
|
|
|
42841
42841
|
}
|
|
42842
42842
|
) })
|
|
42843
42843
|
] });
|
|
42844
|
-
},
|
|
42844
|
+
}, C$ = () => /* @__PURE__ */ y("div", { className: "overflow-hidden rounded-xl border border-[var(--hrk-border-default)] bg-[var(--hrk-bg-surface)] animate-pulse", children: [
|
|
42845
42845
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-3 px-4 pt-4 pb-2", children: [
|
|
42846
42846
|
/* @__PURE__ */ n("div", { className: "h-9 w-9 shrink-0 rounded-full bg-[var(--hrk-bg-hover)]" }),
|
|
42847
42847
|
/* @__PURE__ */ y("div", { className: "flex-1 space-y-1.5", children: [
|
|
@@ -42861,7 +42861,7 @@ $2`), Ne = Ne.replace(VN, ""), Ne = Ne.replace(IN, ""), Ne = Ne.replace(
|
|
|
42861
42861
|
/* @__PURE__ */ n("div", { className: "h-3 w-10 rounded bg-[var(--hrk-bg-hover)]" })
|
|
42862
42862
|
] })
|
|
42863
42863
|
] });
|
|
42864
|
-
function
|
|
42864
|
+
function D$(r) {
|
|
42865
42865
|
let o = r?.parentElement ?? null;
|
|
42866
42866
|
for (; o && o !== document.body && o !== document.documentElement; ) {
|
|
42867
42867
|
const u = window.getComputedStyle(o).overflowY;
|
|
@@ -42871,7 +42871,7 @@ function C$(r) {
|
|
|
42871
42871
|
}
|
|
42872
42872
|
return null;
|
|
42873
42873
|
}
|
|
42874
|
-
const
|
|
42874
|
+
const M$ = ({
|
|
42875
42875
|
posts: r,
|
|
42876
42876
|
loading: o,
|
|
42877
42877
|
loadingMore: l,
|
|
@@ -42884,7 +42884,7 @@ const D$ = ({
|
|
|
42884
42884
|
g.current = d, v.current = !!l, w.current = !!u;
|
|
42885
42885
|
const b = Dt(null), _ = $t((x) => {
|
|
42886
42886
|
if (b.current && (b.current.disconnect(), b.current = null), !x) return;
|
|
42887
|
-
const E =
|
|
42887
|
+
const E = D$(x), M = new IntersectionObserver(
|
|
42888
42888
|
(z) => {
|
|
42889
42889
|
z[0]?.isIntersecting && (v.current || w.current && g.current?.());
|
|
42890
42890
|
},
|
|
@@ -42894,9 +42894,9 @@ const D$ = ({
|
|
|
42894
42894
|
);
|
|
42895
42895
|
M.observe(x), b.current = M;
|
|
42896
42896
|
}, []);
|
|
42897
|
-
return o && r.length === 0 ? /* @__PURE__ */ n("div", { className: "space-y-3", children: Array.from({ length: 3 }).map((x, E) => /* @__PURE__ */ n(
|
|
42897
|
+
return o && r.length === 0 ? /* @__PURE__ */ n("div", { className: "space-y-3", children: Array.from({ length: 3 }).map((x, E) => /* @__PURE__ */ n(C$, {}, E)) }) : !o && r.length === 0 ? /* @__PURE__ */ n("div", { className: "flex flex-col items-center justify-center py-12 text-center", children: /* @__PURE__ */ n("p", { className: "text-sm text-[var(--hrk-text-tertiary)]", children: f }) }) : /* @__PURE__ */ y("div", { className: "space-y-3", children: [
|
|
42898
42898
|
r.map((x) => /* @__PURE__ */ n(
|
|
42899
|
-
|
|
42899
|
+
T$,
|
|
42900
42900
|
{
|
|
42901
42901
|
post: x,
|
|
42902
42902
|
...h
|
|
@@ -42911,7 +42911,7 @@ const D$ = ({
|
|
|
42911
42911
|
!u && r.length > 0 && /* @__PURE__ */ n("div", { className: "py-4 text-center text-xs text-[#6b7280]", children: "No more posts" })
|
|
42912
42912
|
] });
|
|
42913
42913
|
};
|
|
42914
|
-
function
|
|
42914
|
+
function O$({
|
|
42915
42915
|
options: r,
|
|
42916
42916
|
value: o,
|
|
42917
42917
|
onChange: l,
|
|
@@ -42953,12 +42953,12 @@ function M$({
|
|
|
42953
42953
|
}
|
|
42954
42954
|
);
|
|
42955
42955
|
}
|
|
42956
|
-
const
|
|
42956
|
+
const R$ = {
|
|
42957
42957
|
snaps: "Snaps",
|
|
42958
42958
|
ecency: "Ecency",
|
|
42959
42959
|
threads: "Threads",
|
|
42960
42960
|
liketu: "Liketu"
|
|
42961
|
-
},
|
|
42961
|
+
}, L$ = {
|
|
42962
42962
|
snaps: "https://images.hive.blog/u/peak.snaps/avatar",
|
|
42963
42963
|
ecency: "https://images.hive.blog/u/ecency.waves/avatar",
|
|
42964
42964
|
threads: "https://images.hive.blog/u/leothreads/avatar",
|
|
@@ -42970,7 +42970,7 @@ const O$ = {
|
|
|
42970
42970
|
liketu: 0
|
|
42971
42971
|
};
|
|
42972
42972
|
let zT = null;
|
|
42973
|
-
function
|
|
42973
|
+
function z$() {
|
|
42974
42974
|
const [r, o] = W(() => typeof window > "u" ? 1 : window.innerWidth >= 768 ? 4 : 1);
|
|
42975
42975
|
return qe(() => {
|
|
42976
42976
|
const l = () => o(window.innerWidth >= 768 ? 4 : 1);
|
|
@@ -43024,7 +43024,7 @@ function E9({
|
|
|
43024
43024
|
pageScroll: Ze,
|
|
43025
43025
|
onActiveFeedChange: $e
|
|
43026
43026
|
}) {
|
|
43027
|
-
const tt =
|
|
43027
|
+
const tt = z$(), Ce = { ...R$, ...o }, de = { ...L$, ...l }, [Ue, ve] = W(() => {
|
|
43028
43028
|
const Yt = zT;
|
|
43029
43029
|
return Yt === "snaps" || Yt === "ecency" || Yt === "threads" || Yt === "liketu" ? Yt : u;
|
|
43030
43030
|
});
|
|
@@ -43137,7 +43137,7 @@ function E9({
|
|
|
43137
43137
|
return Ae ? /* @__PURE__ */ y(fr, { children: [
|
|
43138
43138
|
Ae.error && /* @__PURE__ */ n("div", { className: "mb-3 rounded-md border border-[var(--hrk-brand)] bg-red-900/20 p-2 text-xs font-medium text-red-400", children: Ae.error }),
|
|
43139
43139
|
/* @__PURE__ */ n(
|
|
43140
|
-
|
|
43140
|
+
M$,
|
|
43141
43141
|
{
|
|
43142
43142
|
...Ne,
|
|
43143
43143
|
posts: Ae.posts,
|
|
@@ -43169,7 +43169,7 @@ function E9({
|
|
|
43169
43169
|
return /* @__PURE__ */ y("div", { ref: Gt, className: "mx-auto flex max-w-[720px] flex-col gap-3", children: [
|
|
43170
43170
|
/* @__PURE__ */ y("div", { className: "sticky top-0 z-20 -mx-2 bg-[var(--hrk-bg-app)]/85 px-2 py-1.5 backdrop-blur flex items-center justify-between gap-2", children: [
|
|
43171
43171
|
/* @__PURE__ */ n("div", { className: "overflow-x-auto min-w-0 flex-1 scrollbar-none", children: /* @__PURE__ */ n(
|
|
43172
|
-
|
|
43172
|
+
O$,
|
|
43173
43173
|
{
|
|
43174
43174
|
options: lr.map(at),
|
|
43175
43175
|
value: Ue,
|
|
@@ -43507,7 +43507,7 @@ class ab {
|
|
|
43507
43507
|
}
|
|
43508
43508
|
}
|
|
43509
43509
|
}
|
|
43510
|
-
const PT = ab.getInstance(),
|
|
43510
|
+
const PT = ab.getInstance(), P$ = ["All", "Active", "Upcoming", "Expired", "By Peak Projects"], A9 = ["Votes", "Start Date", "End Date", "Creator"], BT = (r) => r === "By Peak Projects" ? ["Creator"] : A9, dl = (r) => {
|
|
43511
43511
|
const o = typeof r == "string" ? parseFloat(r) : r;
|
|
43512
43512
|
return isNaN(o) ? r.toString() : o.toLocaleString();
|
|
43513
43513
|
}, dN = (r) => {
|
|
@@ -43546,7 +43546,7 @@ const PT = ab.getInstance(), z$ = ["All", "Active", "Upcoming", "Expired", "By P
|
|
|
43546
43546
|
return [...O.sort(B), ...T.sort(B)];
|
|
43547
43547
|
})() : M.sort((O, T) => b === "Votes" ? Number(T.all_votes_num) - Number(O.all_votes_num) : b === "Start Date" ? (/* @__PURE__ */ new Date(T.start_date + "Z")).getTime() - (/* @__PURE__ */ new Date(O.start_date + "Z")).getTime() : b === "End Date" ? (/* @__PURE__ */ new Date(O.end_date + "Z")).getTime() - (/* @__PURE__ */ new Date(T.end_date + "Z")).getTime() : b === "Creator" ? O.creator.localeCompare(T.creator) : 0);
|
|
43548
43548
|
return x ? /* @__PURE__ */ n("div", { className: "flex justify-center items-center py-8", children: /* @__PURE__ */ n("div", { className: "text-[var(--hrk-text-tertiary)] dark:text-[var(--hrk-text-tertiary)]", children: "Loading proposals..." }) }) : /* @__PURE__ */ n("div", { className: f === "dark" ? "dark" : "", children: /* @__PURE__ */ y("div", { className: `space-y-6 p-2 ${f === "dark" ? "bg-[var(--hrk-bg-app)]" : "bg-white"}`, children: [
|
|
43549
|
-
/* @__PURE__ */ n("div", { className: "flex gap-2 mb-4 flex-wrap", children:
|
|
43549
|
+
/* @__PURE__ */ n("div", { className: "flex gap-2 mb-4 flex-wrap", children: P$.map((O) => /* @__PURE__ */ n(
|
|
43550
43550
|
"button",
|
|
43551
43551
|
{
|
|
43552
43552
|
className: `px-3 py-1 rounded text-sm ${v === O ? "bg-[var(--hrk-info)] text-white" : `${f === "dark" ? "bg-[var(--hrk-bg-app)] text-[var(--hrk-text-secondary)]" : "bg-[var(--hrk-bg-hover)] text-[var(--hrk-text-secondary)]"}`}`,
|
|
@@ -44439,7 +44439,7 @@ const PT = ab.getInstance(), z$ = ["All", "Active", "Upcoming", "Expired", "By P
|
|
|
44439
44439
|
] }) }, `${H.following}-${P}`);
|
|
44440
44440
|
}) })
|
|
44441
44441
|
] });
|
|
44442
|
-
}, HT = kf(),
|
|
44442
|
+
}, HT = kf(), B$ = {
|
|
44443
44443
|
vote: 0,
|
|
44444
44444
|
comment: 1,
|
|
44445
44445
|
transfer: 2,
|
|
@@ -44524,12 +44524,12 @@ const PT = ab.getInstance(), z$ = ["All", "Active", "Upcoming", "Expired", "By P
|
|
|
44524
44524
|
fill_recurrent_transfer: 81,
|
|
44525
44525
|
failed_recurrent_transfer: 82
|
|
44526
44526
|
};
|
|
44527
|
-
function
|
|
44527
|
+
function U$(r) {
|
|
44528
44528
|
if (!r || r === "all") return null;
|
|
44529
|
-
const o =
|
|
44529
|
+
const o = B$[r];
|
|
44530
44530
|
return o === void 0 ? null : o < 64 ? { low: (1n << BigInt(o)).toString(), high: "0" } : { low: "0", high: (1n << BigInt(o - 64)).toString() };
|
|
44531
44531
|
}
|
|
44532
|
-
class
|
|
44532
|
+
class $$ {
|
|
44533
44533
|
/**
|
|
44534
44534
|
* Get account history using condenser_api.get_account_history
|
|
44535
44535
|
* @param username - Hive username
|
|
@@ -44880,7 +44880,7 @@ class U$ {
|
|
|
44880
44880
|
}
|
|
44881
44881
|
}
|
|
44882
44882
|
}
|
|
44883
|
-
const Ql = new
|
|
44883
|
+
const Ql = new $$(), fN = [
|
|
44884
44884
|
{
|
|
44885
44885
|
label: "Social Activities",
|
|
44886
44886
|
options: [
|
|
@@ -44972,7 +44972,7 @@ const Ql = new U$(), fN = [
|
|
|
44972
44972
|
{ value: "pow2", label: "Pow2" }
|
|
44973
44973
|
]
|
|
44974
44974
|
}
|
|
44975
|
-
],
|
|
44975
|
+
], H$ = ({ value: r, onChange: o }) => {
|
|
44976
44976
|
const [l, u] = W(!1), [d, f] = W(""), h = Dt(null), g = Dt(null), v = Pt(() => {
|
|
44977
44977
|
if (r === "all") return "All";
|
|
44978
44978
|
for (const _ of fN) {
|
|
@@ -45103,7 +45103,7 @@ const Ql = new U$(), fN = [
|
|
|
45103
45103
|
)
|
|
45104
45104
|
] })
|
|
45105
45105
|
] });
|
|
45106
|
-
},
|
|
45106
|
+
}, j$ = ({
|
|
45107
45107
|
username: r,
|
|
45108
45108
|
directionFilter: o = "all",
|
|
45109
45109
|
operationFilter: l = "all",
|
|
@@ -45294,7 +45294,7 @@ const Ql = new U$(), fN = [
|
|
|
45294
45294
|
if (r && !ie.current) {
|
|
45295
45295
|
ie.current = !0, Ce ? Z(!0) : (T(!0), Q.current = !0, X.current = -1, G(!0), te(-1)), j(null);
|
|
45296
45296
|
try {
|
|
45297
|
-
const de =
|
|
45297
|
+
const de = U$(b), Ue = b === "all" ? 100 : u, ve = Ce ? await Ql.getNextAccountHistoryPage(
|
|
45298
45298
|
r,
|
|
45299
45299
|
X.current,
|
|
45300
45300
|
u,
|
|
@@ -45500,7 +45500,7 @@ const Ql = new U$(), fN = [
|
|
|
45500
45500
|
),
|
|
45501
45501
|
/* @__PURE__ */ y("div", { className: "flex min-w-0 flex-1 items-center justify-end gap-1.5 sm:flex-none sm:gap-2", children: [
|
|
45502
45502
|
/* @__PURE__ */ n("div", { className: "min-w-0 flex-1 sm:flex-none sm:w-44", children: /* @__PURE__ */ n(
|
|
45503
|
-
|
|
45503
|
+
H$,
|
|
45504
45504
|
{
|
|
45505
45505
|
value: b,
|
|
45506
45506
|
onChange: _
|
|
@@ -45704,7 +45704,7 @@ const Ql = new U$(), fN = [
|
|
|
45704
45704
|
] })
|
|
45705
45705
|
] });
|
|
45706
45706
|
}, i3 = kf();
|
|
45707
|
-
class
|
|
45707
|
+
class q$ {
|
|
45708
45708
|
/**
|
|
45709
45709
|
* Get witnesses by vote with pagination
|
|
45710
45710
|
*/
|
|
@@ -45886,7 +45886,7 @@ class j$ {
|
|
|
45886
45886
|
}
|
|
45887
45887
|
}
|
|
45888
45888
|
}
|
|
45889
|
-
const Kl = new
|
|
45889
|
+
const Kl = new q$(), Hs = yC((r, o) => ({
|
|
45890
45890
|
witnesses: [],
|
|
45891
45891
|
witnessVotes: [],
|
|
45892
45892
|
userWitnessVotes: [],
|
|
@@ -46121,7 +46121,7 @@ const Kl = new j$(), Hs = yC((r, o) => ({
|
|
|
46121
46121
|
] })
|
|
46122
46122
|
] })
|
|
46123
46123
|
] });
|
|
46124
|
-
},
|
|
46124
|
+
}, V$ = ({
|
|
46125
46125
|
isOpen: r,
|
|
46126
46126
|
onClose: o,
|
|
46127
46127
|
witness: l,
|
|
@@ -46246,7 +46246,7 @@ const Kl = new j$(), Hs = yC((r, o) => ({
|
|
|
46246
46246
|
}, pe = (se) => r ? v.includes(se) : !1;
|
|
46247
46247
|
return w ? /* @__PURE__ */ n("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ n("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-blue-500" }) }) : b ? /* @__PURE__ */ n("div", { className: "text-center p-8 text-red-400", children: b }) : /* @__PURE__ */ y("div", { className: "w-full", children: [
|
|
46248
46248
|
/* @__PURE__ */ n(
|
|
46249
|
-
|
|
46249
|
+
V$,
|
|
46250
46250
|
{
|
|
46251
46251
|
isOpen: Y,
|
|
46252
46252
|
onClose: () => Z(!1),
|
|
@@ -46516,8 +46516,8 @@ const Kl = new j$(), Hs = yC((r, o) => ({
|
|
|
46516
46516
|
] })
|
|
46517
46517
|
] }) })
|
|
46518
46518
|
] });
|
|
46519
|
-
},
|
|
46520
|
-
class
|
|
46519
|
+
}, I$ = kf();
|
|
46520
|
+
class F$ {
|
|
46521
46521
|
/**
|
|
46522
46522
|
* Get transaction history for an account
|
|
46523
46523
|
* @param account - Hive account name
|
|
@@ -46531,7 +46531,7 @@ class I$ {
|
|
|
46531
46531
|
try {
|
|
46532
46532
|
const h = [o, l, u];
|
|
46533
46533
|
d !== null && f !== null && h.push(d, f);
|
|
46534
|
-
const g = await
|
|
46534
|
+
const g = await I$.call(
|
|
46535
46535
|
"condenser_api",
|
|
46536
46536
|
"get_account_history",
|
|
46537
46537
|
h
|
|
@@ -46716,7 +46716,7 @@ class I$ {
|
|
|
46716
46716
|
};
|
|
46717
46717
|
}
|
|
46718
46718
|
}
|
|
46719
|
-
const Jg = new
|
|
46719
|
+
const Jg = new F$();
|
|
46720
46720
|
function sq({ account: r, className: o }) {
|
|
46721
46721
|
const [l, u] = W(
|
|
46722
46722
|
[]
|
|
@@ -47173,8 +47173,8 @@ function sq({ account: r, className: o }) {
|
|
|
47173
47173
|
}
|
|
47174
47174
|
);
|
|
47175
47175
|
}
|
|
47176
|
-
const
|
|
47177
|
-
class
|
|
47176
|
+
const G$ = kf();
|
|
47177
|
+
class Z$ {
|
|
47178
47178
|
/**
|
|
47179
47179
|
* Get activity history for a user (posts, comments, replies)
|
|
47180
47180
|
* @param username - Hive username
|
|
@@ -47193,7 +47193,7 @@ class G$ {
|
|
|
47193
47193
|
};
|
|
47194
47194
|
d && (g.start_author = d), f && (g.start_permlink = f), h && (g.observer = h);
|
|
47195
47195
|
try {
|
|
47196
|
-
const v = await
|
|
47196
|
+
const v = await G$.call(
|
|
47197
47197
|
"bridge",
|
|
47198
47198
|
"get_account_posts",
|
|
47199
47199
|
g
|
|
@@ -47361,7 +47361,7 @@ class G$ {
|
|
|
47361
47361
|
);
|
|
47362
47362
|
}
|
|
47363
47363
|
}
|
|
47364
|
-
const Qg = new
|
|
47364
|
+
const Qg = new Z$(), oq = ({
|
|
47365
47365
|
username: r,
|
|
47366
47366
|
className: o
|
|
47367
47367
|
}) => {
|
|
@@ -47685,7 +47685,7 @@ const Qg = new G$(), oq = ({
|
|
|
47685
47685
|
three_shorts_logo: `${Zs}/DQmbNeu2p1GokLH6T8QwekCJBSwSK4qo29ebeVwqD1YbK25/three_shorts_logo.png`,
|
|
47686
47686
|
three_speak_logo: `${Zs}/DQmc84A9bXdQ3oRMz3YgV1VNCAFvPbJVSvsf434FApxg2cf/three_speak_logo.png`,
|
|
47687
47687
|
vote_logo: `${Zs}/DQmVa8V2FCjJKMaqgoUaRDHPa4TYdqceCmAbCJU7rGj5yBe/vote_logo.png`
|
|
47688
|
-
},
|
|
47688
|
+
}, Y$ = [
|
|
47689
47689
|
{
|
|
47690
47690
|
key: "vote-witness-sagar",
|
|
47691
47691
|
name: "Vote Witness Sagar",
|
|
@@ -47759,7 +47759,7 @@ const Qg = new G$(), oq = ({
|
|
|
47759
47759
|
visibilityKey: "isHiveFestFacts"
|
|
47760
47760
|
}
|
|
47761
47761
|
];
|
|
47762
|
-
function
|
|
47762
|
+
function X$() {
|
|
47763
47763
|
const [r, o] = W("desktop");
|
|
47764
47764
|
return qe(() => {
|
|
47765
47765
|
const l = () => {
|
|
@@ -47769,7 +47769,7 @@ function Y$() {
|
|
|
47769
47769
|
return l(), window.addEventListener("resize", l), () => window.removeEventListener("resize", l);
|
|
47770
47770
|
}, []), r;
|
|
47771
47771
|
}
|
|
47772
|
-
const
|
|
47772
|
+
const W$ = {
|
|
47773
47773
|
mobile: { icon: 28, fontSize: 8, padding: "4px 6px", gap: 2, barPadding: "4px", minWidth: 52, maxWidth: 68 },
|
|
47774
47774
|
tablet: { icon: 30, fontSize: 8, padding: "4px 5px", gap: 3, barPadding: "5px 6px", minWidth: 56, maxWidth: 72 },
|
|
47775
47775
|
desktop: { icon: 32, fontSize: 9, padding: "4px 6px", gap: 4, barPadding: "6px 8px", minWidth: 60, maxWidth: 80 }
|
|
@@ -47785,7 +47785,7 @@ const X$ = {
|
|
|
47785
47785
|
textColor: v = "#4b5563",
|
|
47786
47786
|
borderTopColor: w = "#e2e8f0"
|
|
47787
47787
|
}) => {
|
|
47788
|
-
const b =
|
|
47788
|
+
const b = X$(), _ = W$[b], x = {
|
|
47789
47789
|
isDistriator: r,
|
|
47790
47790
|
isCheckinwithxyz: o,
|
|
47791
47791
|
isHreplier: l,
|
|
@@ -47793,7 +47793,7 @@ const X$ = {
|
|
|
47793
47793
|
isHstats: d,
|
|
47794
47794
|
isHsnaps: f,
|
|
47795
47795
|
isHiveFestFacts: h
|
|
47796
|
-
}, E =
|
|
47796
|
+
}, E = Y$.filter(
|
|
47797
47797
|
(M) => M.alwaysVisible || x[M.visibilityKey] !== !1
|
|
47798
47798
|
);
|
|
47799
47799
|
return E.length === 0 ? null : /* @__PURE__ */ y(
|
|
@@ -47916,7 +47916,7 @@ const X$ = {
|
|
|
47916
47916
|
};
|
|
47917
47917
|
var s3 = { exports: {} }, b1 = {}, o3 = { exports: {} }, hN = {};
|
|
47918
47918
|
var qT;
|
|
47919
|
-
function
|
|
47919
|
+
function J$() {
|
|
47920
47920
|
return qT || (qT = 1, (function(r) {
|
|
47921
47921
|
function o(X, Q) {
|
|
47922
47922
|
var ie = X.length;
|
|
@@ -48137,7 +48137,7 @@ function W$() {
|
|
|
48137
48137
|
}
|
|
48138
48138
|
var mN = {};
|
|
48139
48139
|
var VT;
|
|
48140
|
-
function
|
|
48140
|
+
function Q$() {
|
|
48141
48141
|
return VT || (VT = 1, (function(r) {
|
|
48142
48142
|
process.env.NODE_ENV !== "production" && (function() {
|
|
48143
48143
|
function o() {
|
|
@@ -48361,10 +48361,10 @@ function J$() {
|
|
|
48361
48361
|
}
|
|
48362
48362
|
var IT;
|
|
48363
48363
|
function T9() {
|
|
48364
|
-
return IT || (IT = 1, process.env.NODE_ENV === "production" ? o3.exports =
|
|
48364
|
+
return IT || (IT = 1, process.env.NODE_ENV === "production" ? o3.exports = J$() : o3.exports = Q$()), o3.exports;
|
|
48365
48365
|
}
|
|
48366
48366
|
var FT;
|
|
48367
|
-
function
|
|
48367
|
+
function K$() {
|
|
48368
48368
|
if (FT) return b1;
|
|
48369
48369
|
FT = 1;
|
|
48370
48370
|
var r = T9(), o = To, l = vC;
|
|
@@ -58102,7 +58102,7 @@ Error generating stack: ` + N.message + `
|
|
|
58102
58102
|
}
|
|
58103
58103
|
var v1 = {};
|
|
58104
58104
|
var GT;
|
|
58105
|
-
function
|
|
58105
|
+
function eH() {
|
|
58106
58106
|
return GT || (GT = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
58107
58107
|
function r(e, t) {
|
|
58108
58108
|
for (e = e.memoizedState; e !== null && 0 < t; )
|
|
@@ -75113,7 +75113,7 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
75113
75113
|
})()), v1;
|
|
75114
75114
|
}
|
|
75115
75115
|
var ZT;
|
|
75116
|
-
function
|
|
75116
|
+
function tH() {
|
|
75117
75117
|
if (ZT) return s3.exports;
|
|
75118
75118
|
ZT = 1;
|
|
75119
75119
|
function r() {
|
|
@@ -75127,11 +75127,11 @@ function eH() {
|
|
|
75127
75127
|
}
|
|
75128
75128
|
}
|
|
75129
75129
|
}
|
|
75130
|
-
return process.env.NODE_ENV === "production" ? (r(), s3.exports =
|
|
75130
|
+
return process.env.NODE_ENV === "production" ? (r(), s3.exports = K$()) : s3.exports = eH(), s3.exports;
|
|
75131
75131
|
}
|
|
75132
|
-
var D6 =
|
|
75133
|
-
const pN = 220,
|
|
75134
|
-
function
|
|
75132
|
+
var D6 = tH();
|
|
75133
|
+
const pN = 220, rH = 6;
|
|
75134
|
+
function aH({
|
|
75135
75135
|
language: r,
|
|
75136
75136
|
onSelectLanguage: o,
|
|
75137
75137
|
languages: l = v_,
|
|
@@ -75147,7 +75147,7 @@ function rH({
|
|
|
75147
75147
|
const M = () => {
|
|
75148
75148
|
const z = w.current;
|
|
75149
75149
|
if (!z) return;
|
|
75150
|
-
const O = z.getBoundingClientRect(), T = O.bottom +
|
|
75150
|
+
const O = z.getBoundingClientRect(), T = O.bottom + rH, B = window.innerWidth, j = O.right - pN, H = Math.max(8, Math.min(B - pN - 8, j));
|
|
75151
75151
|
v({ top: T, left: H });
|
|
75152
75152
|
};
|
|
75153
75153
|
return M(), window.addEventListener("resize", M), () => window.removeEventListener("resize", M);
|
|
@@ -75224,7 +75224,7 @@ function rH({
|
|
|
75224
75224
|
E
|
|
75225
75225
|
] });
|
|
75226
75226
|
}
|
|
75227
|
-
const
|
|
75227
|
+
const nH = 4;
|
|
75228
75228
|
function C9({
|
|
75229
75229
|
comment: r,
|
|
75230
75230
|
allComments: o,
|
|
@@ -75281,7 +75281,7 @@ function C9({
|
|
|
75281
75281
|
const Mt = new Set(r.replies);
|
|
75282
75282
|
Ae = o.filter((vr) => Mt.has(`${vr.author}/${vr.permlink}`));
|
|
75283
75283
|
}
|
|
75284
|
-
const st = Ae.length > 0, jt = v >=
|
|
75284
|
+
const st = Ae.length > 0, jt = v >= nH, pt = f === `${r.author}/${r.permlink}`;
|
|
75285
75285
|
qe(() => {
|
|
75286
75286
|
pt && Ne("");
|
|
75287
75287
|
}, [pt]), qe(() => {
|
|
@@ -75931,7 +75931,7 @@ function C9({
|
|
|
75931
75931
|
Ye && /* @__PURE__ */ n("div", { className: "fixed bottom-4 right-4 w-[280px] z-50", children: /* @__PURE__ */ n("div", { className: "bg-gray-800 text-white rounded px-3 py-2 shadow-lg text-sm", children: lt }) })
|
|
75932
75932
|
] });
|
|
75933
75933
|
}
|
|
75934
|
-
function
|
|
75934
|
+
function iH({
|
|
75935
75935
|
author: r,
|
|
75936
75936
|
permlink: o,
|
|
75937
75937
|
currentUser: l,
|
|
@@ -76215,7 +76215,7 @@ function nH({
|
|
|
76215
76215
|
)) })
|
|
76216
76216
|
] });
|
|
76217
76217
|
}
|
|
76218
|
-
function
|
|
76218
|
+
function sH(r) {
|
|
76219
76219
|
try {
|
|
76220
76220
|
const o = /Z|[+-]\d{2}:?\d{2}$/.test(r) ? r : `${r}Z`, l = new Date(o).getTime();
|
|
76221
76221
|
if (!Number.isFinite(l)) return r;
|
|
@@ -76235,7 +76235,7 @@ function iH(r) {
|
|
|
76235
76235
|
return r;
|
|
76236
76236
|
}
|
|
76237
76237
|
}
|
|
76238
|
-
function
|
|
76238
|
+
function oH({
|
|
76239
76239
|
isOpen: r,
|
|
76240
76240
|
onClose: o,
|
|
76241
76241
|
author: l,
|
|
@@ -76321,7 +76321,7 @@ function sH({
|
|
|
76321
76321
|
onClick: () => _(z),
|
|
76322
76322
|
className: "w-full text-left rounded-lg border px-3 py-2 transition-colors " + (O ? "border-[var(--hrk-brand)] bg-[var(--hrk-brand-soft)]" : "border-[var(--hrk-border-subtle)] hover:bg-[var(--hrk-bg-hover)]"),
|
|
76323
76323
|
children: [
|
|
76324
|
-
/* @__PURE__ */ n("div", { className: "text-sm text-[var(--hrk-text-primary)]", children:
|
|
76324
|
+
/* @__PURE__ */ n("div", { className: "text-sm text-[var(--hrk-text-primary)]", children: sH(M.timestamp) }),
|
|
76325
76325
|
/* @__PURE__ */ n("div", { className: "mt-1", children: /* @__PURE__ */ n(
|
|
76326
76326
|
"span",
|
|
76327
76327
|
{
|
|
@@ -76356,7 +76356,7 @@ function sH({
|
|
|
76356
76356
|
}
|
|
76357
76357
|
) : null;
|
|
76358
76358
|
}
|
|
76359
|
-
const
|
|
76359
|
+
const lH = /* @__PURE__ */ new Set(["body", "active_votes"]), uH = [
|
|
76360
76360
|
"title",
|
|
76361
76361
|
"author",
|
|
76362
76362
|
"permlink",
|
|
@@ -76389,15 +76389,15 @@ const oH = /* @__PURE__ */ new Set(["body", "active_votes"]), lH = [
|
|
|
76389
76389
|
"curator_payout_value",
|
|
76390
76390
|
"pending_payout_value"
|
|
76391
76391
|
];
|
|
76392
|
-
function
|
|
76392
|
+
function cH(r) {
|
|
76393
76393
|
const o = /* @__PURE__ */ new Set(), l = [];
|
|
76394
|
-
for (const u of
|
|
76394
|
+
for (const u of uH)
|
|
76395
76395
|
u in r && (l.push({ key: u, value: r[u] }), o.add(u));
|
|
76396
76396
|
for (const u of Object.keys(r))
|
|
76397
76397
|
o.has(u) || l.push({ key: u, value: r[u] });
|
|
76398
76398
|
return l;
|
|
76399
76399
|
}
|
|
76400
|
-
function
|
|
76400
|
+
function dH(r) {
|
|
76401
76401
|
if (r == null) return "";
|
|
76402
76402
|
if (typeof r == "string") return r;
|
|
76403
76403
|
if (typeof r == "number" || typeof r == "boolean") return String(r);
|
|
@@ -76407,8 +76407,8 @@ function cH(r) {
|
|
|
76407
76407
|
return String(r);
|
|
76408
76408
|
}
|
|
76409
76409
|
}
|
|
76410
|
-
function
|
|
76411
|
-
const u = Pt(() => l ?
|
|
76410
|
+
function fH({ isOpen: r, onClose: o, post: l }) {
|
|
76411
|
+
const u = Pt(() => l ? cH(l) : [], [l]), [d, f] = W({ body: !0 }), h = (g) => f((v) => ({ ...v, [g]: !v[g] }));
|
|
76412
76412
|
return !r || !l ? null : /* @__PURE__ */ n(
|
|
76413
76413
|
"div",
|
|
76414
76414
|
{
|
|
@@ -76437,7 +76437,7 @@ function dH({ isOpen: r, onClose: o, post: l }) {
|
|
|
76437
76437
|
)
|
|
76438
76438
|
] }),
|
|
76439
76439
|
/* @__PURE__ */ n("div", { className: "flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ n("div", { className: "divide-y divide-[var(--hrk-border-subtle)]", children: u.map((g) => {
|
|
76440
|
-
const v =
|
|
76440
|
+
const v = lH.has(g.key), w = d[g.key] ?? !1, b = dH(g.value), _ = Array.isArray(g.value) ? g.value.length : null;
|
|
76441
76441
|
return /* @__PURE__ */ y(
|
|
76442
76442
|
"div",
|
|
76443
76443
|
{
|
|
@@ -76831,7 +76831,7 @@ function uq({
|
|
|
76831
76831
|
if (!er || !Vr) return "";
|
|
76832
76832
|
try {
|
|
76833
76833
|
let Se = E6(er, We?.userLinkUrlFn);
|
|
76834
|
-
Se = A6(Se), Se = Se.replace(
|
|
76834
|
+
Se = A6(Se), Se = AU(Se), Se = Se.replace(
|
|
76835
76835
|
/<(iframe|video)\b[^>]*\bsrc=["'][^"']*\/ipfs\/[^"']*["'][^>]*>(?:\s*<\/\1>)?/gi,
|
|
76836
76836
|
""
|
|
76837
76837
|
), Se = Se.replace(
|
|
@@ -77336,7 +77336,7 @@ function uq({
|
|
|
77336
77336
|
}
|
|
77337
77337
|
),
|
|
77338
77338
|
/* @__PURE__ */ n(
|
|
77339
|
-
|
|
77339
|
+
mH,
|
|
77340
77340
|
{
|
|
77341
77341
|
isBookmarked: !!Me,
|
|
77342
77342
|
onToggleBookmark: Te ? () => Te({
|
|
@@ -77403,7 +77403,7 @@ function uq({
|
|
|
77403
77403
|
)
|
|
77404
77404
|
] }) }),
|
|
77405
77405
|
/* @__PURE__ */ n(
|
|
77406
|
-
|
|
77406
|
+
oH,
|
|
77407
77407
|
{
|
|
77408
77408
|
isOpen: ur,
|
|
77409
77409
|
onClose: () => nt(!1),
|
|
@@ -77412,7 +77412,7 @@ function uq({
|
|
|
77412
77412
|
}
|
|
77413
77413
|
),
|
|
77414
77414
|
/* @__PURE__ */ n(
|
|
77415
|
-
|
|
77415
|
+
fH,
|
|
77416
77416
|
{
|
|
77417
77417
|
isOpen: sr,
|
|
77418
77418
|
onClose: () => Zt(!1),
|
|
@@ -77670,7 +77670,7 @@ function uq({
|
|
|
77670
77670
|
"div",
|
|
77671
77671
|
{
|
|
77672
77672
|
className: "overflow-hidden rounded-lg bg-[var(--hrk-bg-surface-sunken)]",
|
|
77673
|
-
children: /* @__PURE__ */ n(
|
|
77673
|
+
children: /* @__PURE__ */ n(c$, { url: Se })
|
|
77674
77674
|
},
|
|
77675
77675
|
Se
|
|
77676
77676
|
)) }),
|
|
@@ -77877,7 +77877,7 @@ function uq({
|
|
|
77877
77877
|
}
|
|
77878
77878
|
) }),
|
|
77879
77879
|
/* @__PURE__ */ n("div", { ref: Pr, children: /* @__PURE__ */ n(p3, { children: /* @__PURE__ */ n(
|
|
77880
|
-
|
|
77880
|
+
iH,
|
|
77881
77881
|
{
|
|
77882
77882
|
author: Ne.author,
|
|
77883
77883
|
permlink: Ne.permlink,
|
|
@@ -78035,8 +78035,8 @@ function uq({
|
|
|
78035
78035
|
] }) }) })
|
|
78036
78036
|
] }) });
|
|
78037
78037
|
}
|
|
78038
|
-
const bN = 180,
|
|
78039
|
-
function
|
|
78038
|
+
const bN = 180, hH = 4;
|
|
78039
|
+
function mH({
|
|
78040
78040
|
isBookmarked: r,
|
|
78041
78041
|
onToggleBookmark: o,
|
|
78042
78042
|
onShare: l,
|
|
@@ -78060,7 +78060,7 @@ function hH({
|
|
|
78060
78060
|
const P = () => {
|
|
78061
78061
|
const C = T.current;
|
|
78062
78062
|
if (!C) return;
|
|
78063
|
-
const q = C.getBoundingClientRect(), V = q.bottom +
|
|
78063
|
+
const q = C.getBoundingClientRect(), V = q.bottom + hH, G = window.innerWidth, Y = q.right - bN, Z = Math.max(8, Math.min(G - bN - 8, Y));
|
|
78064
78064
|
O({ top: V, left: Z });
|
|
78065
78065
|
};
|
|
78066
78066
|
return P(), window.addEventListener("resize", P), () => window.removeEventListener("resize", P);
|
|
@@ -78184,7 +78184,7 @@ function hH({
|
|
|
78184
78184
|
}
|
|
78185
78185
|
),
|
|
78186
78186
|
b && w !== void 0 && /* @__PURE__ */ n("div", { className: "hidden lg:block", children: /* @__PURE__ */ n(
|
|
78187
|
-
|
|
78187
|
+
aH,
|
|
78188
78188
|
{
|
|
78189
78189
|
language: w,
|
|
78190
78190
|
onSelectLanguage: (P) => {
|
|
@@ -78246,7 +78246,7 @@ function hH({
|
|
|
78246
78246
|
H
|
|
78247
78247
|
] });
|
|
78248
78248
|
}
|
|
78249
|
-
function
|
|
78249
|
+
function pH({
|
|
78250
78250
|
isOpen: r,
|
|
78251
78251
|
onClose: o,
|
|
78252
78252
|
templates: l,
|
|
@@ -78529,8 +78529,8 @@ function mH({
|
|
|
78529
78529
|
}
|
|
78530
78530
|
);
|
|
78531
78531
|
}
|
|
78532
|
-
const qm = 120,
|
|
78533
|
-
function
|
|
78532
|
+
const qm = 120, gH = 120, D9 = /\[\/\/\]:#\s*\(\s*(?:\[\/\/\]:#\s*\(\s*)*!worldmappin\s+(-?\d+(?:\.\d+)?)\s+lat\s+(-?\d+(?:\.\d+)?)\s+long\s+(.*?)\s+d3scr(?:\s*\))*/gi;
|
|
78533
|
+
function bH(r) {
|
|
78534
78534
|
return r.replace(D9, "");
|
|
78535
78535
|
}
|
|
78536
78536
|
function YT(r) {
|
|
@@ -78940,7 +78940,7 @@ const vN = ({
|
|
|
78940
78940
|
${xr}`), Vr && (_e += `
|
|
78941
78941
|
${Vr}`), st && (_e += `
|
|
78942
78942
|
|
|
78943
|
-
${st}`), _e =
|
|
78943
|
+
${st}`), _e = bH(_e), _e;
|
|
78944
78944
|
}, [br, xr, Vr, st]), Tr = Pt(() => {
|
|
78945
78945
|
const _e = YT(br), rt = YT(st), Jt = /* @__PURE__ */ new Set(), Nr = [];
|
|
78946
78946
|
for (const Or of [..._e, ...rt]) {
|
|
@@ -79535,7 +79535,7 @@ ${st}`), _e = gH(_e), _e;
|
|
|
79535
79535
|
{
|
|
79536
79536
|
type: "text",
|
|
79537
79537
|
value: jt,
|
|
79538
|
-
onChange: (_e) => pt(_e.target.value.slice(0,
|
|
79538
|
+
onChange: (_e) => pt(_e.target.value.slice(0, gH)),
|
|
79539
79539
|
placeholder: "Title",
|
|
79540
79540
|
disabled: ae,
|
|
79541
79541
|
className: "w-full bg-transparent text-2xl sm:text-3xl font-semibold text-white placeholder-[var(--hrk-text-tertiary)] outline-none border-b border-[var(--hrk-border-subtle)] pb-2 focus:border-[var(--hrk-info)] transition-colors"
|
|
@@ -80280,7 +80280,7 @@ ${_e}
|
|
|
80280
80280
|
}
|
|
80281
80281
|
),
|
|
80282
80282
|
G !== void 0 && /* @__PURE__ */ n(
|
|
80283
|
-
|
|
80283
|
+
pH,
|
|
80284
80284
|
{
|
|
80285
80285
|
isOpen: or,
|
|
80286
80286
|
onClose: () => vt(!1),
|
|
@@ -80382,7 +80382,7 @@ ${_e}
|
|
|
80382
80382
|
let l = g3.getBookmarkedCommunities();
|
|
80383
80383
|
return l.includes(r) ? l = l.filter((u) => u !== r) : o || l.push(r), localStorage.setItem(yN, JSON.stringify(l)), l;
|
|
80384
80384
|
}
|
|
80385
|
-
},
|
|
80385
|
+
}, vH = ({
|
|
80386
80386
|
id: r,
|
|
80387
80387
|
toastType: o,
|
|
80388
80388
|
isLiked: l,
|
|
@@ -80413,7 +80413,7 @@ ${_e}
|
|
|
80413
80413
|
}
|
|
80414
80414
|
);
|
|
80415
80415
|
};
|
|
80416
|
-
class
|
|
80416
|
+
class yH {
|
|
80417
80417
|
/** Always read the latest endpoint — `setHiveApiEndpoint()` may have been
|
|
80418
80418
|
* called after construction, and a stale instance field would miss it. */
|
|
80419
80419
|
get HIVE_API_URL() {
|
|
@@ -80668,12 +80668,12 @@ class vH {
|
|
|
80668
80668
|
}
|
|
80669
80669
|
if (v.length === 0 || h >= v.length)
|
|
80670
80670
|
return { snaps: [], nextStartId: null };
|
|
80671
|
-
const w = v.slice(h, h +
|
|
80671
|
+
const w = v.slice(h, h + xH), b = await wH(w, this.HIVE_API_URL, d, f), _ = h + w.length, x = _ < v.length ? _ : null;
|
|
80672
80672
|
return { snaps: b, nextStartId: x };
|
|
80673
80673
|
}
|
|
80674
80674
|
}
|
|
80675
|
-
const
|
|
80676
|
-
async function
|
|
80675
|
+
const xH = 20, XT = /* @__PURE__ */ new Map();
|
|
80676
|
+
async function wH(r, o, l, u) {
|
|
80677
80677
|
const f = [];
|
|
80678
80678
|
for (let h = 0; h < r.length; h += 5) {
|
|
80679
80679
|
const v = r.slice(h, h + 5).map((x, E) => ({
|
|
@@ -80694,9 +80694,9 @@ async function xH(r, o, l, u) {
|
|
|
80694
80694
|
}
|
|
80695
80695
|
return f;
|
|
80696
80696
|
}
|
|
80697
|
-
const Ys = new
|
|
80697
|
+
const Ys = new yH(), WT = 20, _H = 350, xN = 3;
|
|
80698
80698
|
let Vm = null;
|
|
80699
|
-
function
|
|
80699
|
+
function kH(r) {
|
|
80700
80700
|
if (!r || r < 1e3) return String(r ?? 0);
|
|
80701
80701
|
if (r < 1e6) {
|
|
80702
80702
|
const l = r / 1e3;
|
|
@@ -80721,7 +80721,7 @@ const dq = ({
|
|
|
80721
80721
|
T(!0);
|
|
80722
80722
|
const Te = setTimeout(() => {
|
|
80723
80723
|
_(v), T(!1);
|
|
80724
|
-
},
|
|
80724
|
+
}, _H);
|
|
80725
80725
|
return () => clearTimeout(Te);
|
|
80726
80726
|
}, [v, b]);
|
|
80727
80727
|
const J = $t(
|
|
@@ -80971,7 +80971,7 @@ const dq = ({
|
|
|
80971
80971
|
title: `${ue.toLocaleString()} members`,
|
|
80972
80972
|
children: [
|
|
80973
80973
|
/* @__PURE__ */ n(Xs, { className: "h-3 w-3" }),
|
|
80974
|
-
|
|
80974
|
+
kH(ue)
|
|
80975
80975
|
]
|
|
80976
80976
|
}
|
|
80977
80977
|
)
|
|
@@ -80999,7 +80999,7 @@ const dq = ({
|
|
|
80999
80999
|
]
|
|
81000
81000
|
}
|
|
81001
81001
|
);
|
|
81002
|
-
},
|
|
81002
|
+
}, NH = ({ communityId: r }) => {
|
|
81003
81003
|
const [o, l] = W(null), [u, d] = W(!0), [f, h] = W(null), g = async () => {
|
|
81004
81004
|
try {
|
|
81005
81005
|
d(!0), h(null);
|
|
@@ -81091,7 +81091,7 @@ const dq = ({
|
|
|
81091
81091
|
] })
|
|
81092
81092
|
] })
|
|
81093
81093
|
] }) });
|
|
81094
|
-
},
|
|
81094
|
+
}, SH = ({ communityId: r, onSelectCommunityMember: o }) => {
|
|
81095
81095
|
const [l, u] = W([]), [d, f] = W(!0), [h, g] = W(!1), [v, w] = W(!0), [b, _] = W(null), [x, E] = W(null), M = 100, z = Dt(null), O = Dt(!1), T = $t(
|
|
81096
81096
|
async (B = !1) => {
|
|
81097
81097
|
if (!(O.current && !B)) {
|
|
@@ -81212,12 +81212,12 @@ const dq = ({
|
|
|
81212
81212
|
loading: !1,
|
|
81213
81213
|
loadingMore: !1,
|
|
81214
81214
|
error: null
|
|
81215
|
-
},
|
|
81215
|
+
}, EH = () => ({
|
|
81216
81216
|
snaps: { ...Qh },
|
|
81217
81217
|
ecency: { ...Qh },
|
|
81218
81218
|
threads: { ...Qh },
|
|
81219
81219
|
liketu: { ...Qh }
|
|
81220
|
-
}), wN = /* @__PURE__ */ new Map(),
|
|
81220
|
+
}), wN = /* @__PURE__ */ new Map(), AH = ({
|
|
81221
81221
|
communityId: r,
|
|
81222
81222
|
currentUser: o,
|
|
81223
81223
|
reportedPosts: l = [],
|
|
@@ -81226,7 +81226,7 @@ const dq = ({
|
|
|
81226
81226
|
...f
|
|
81227
81227
|
}) => {
|
|
81228
81228
|
const [h, g] = W(
|
|
81229
|
-
() => wN.get(r) ??
|
|
81229
|
+
() => wN.get(r) ?? EH()
|
|
81230
81230
|
);
|
|
81231
81231
|
qe(() => {
|
|
81232
81232
|
wN.set(r, h);
|
|
@@ -81381,17 +81381,17 @@ const dq = ({
|
|
|
81381
81381
|
...f
|
|
81382
81382
|
}
|
|
81383
81383
|
);
|
|
81384
|
-
},
|
|
81384
|
+
}, TH = [
|
|
81385
81385
|
{ id: "posts", label: "Posts", icon: Ao },
|
|
81386
81386
|
{ id: "snaps", label: "Snaps", icon: SM },
|
|
81387
81387
|
{ id: "about", label: "About", icon: j1 },
|
|
81388
81388
|
{ id: "subscribers", label: "Subscribers", icon: Xs },
|
|
81389
81389
|
{ id: "activities", label: "Activities", icon: Gh }
|
|
81390
|
-
],
|
|
81390
|
+
], CH = [
|
|
81391
81391
|
{ id: "created", label: "New" },
|
|
81392
81392
|
{ id: "hot", label: "Hot" },
|
|
81393
81393
|
{ id: "trending", label: "Trending" }
|
|
81394
|
-
],
|
|
81394
|
+
], DH = {
|
|
81395
81395
|
vote: { icon: tb, tone: "text-pink-400" },
|
|
81396
81396
|
mention: { icon: C1, tone: "text-[var(--hrk-brand)]" },
|
|
81397
81397
|
reply: { icon: Vu, tone: "text-blue-400" },
|
|
@@ -81400,7 +81400,7 @@ const dq = ({
|
|
|
81400
81400
|
follow: { icon: Xm, tone: "text-amber-400" },
|
|
81401
81401
|
subscribe: { icon: Xs, tone: "text-amber-400" }
|
|
81402
81402
|
};
|
|
81403
|
-
function
|
|
81403
|
+
function MH(r) {
|
|
81404
81404
|
const o = Math.floor((Date.now() - new Date(r).getTime()) / 1e3);
|
|
81405
81405
|
return o < 60 ? "just now" : o < 3600 ? `${Math.floor(o / 60)}m ago` : o < 86400 ? `${Math.floor(o / 3600)}h ago` : o < 2592e3 ? `${Math.floor(o / 86400)}d ago` : new Date(r).toLocaleDateString();
|
|
81406
81406
|
}
|
|
@@ -81849,7 +81849,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81849
81849
|
] })
|
|
81850
81850
|
] })
|
|
81851
81851
|
] }) }),
|
|
81852
|
-
/* @__PURE__ */ n("div", { className: "sticky top-0 z-10 border-b border-[var(--hrk-border-default)]/60 bg-[var(--hrk-bg-app)]/95 px-3 py-2 backdrop-blur sm:px-0 sm:py-2.5", children: /* @__PURE__ */ n("div", { className: "flex items-center gap-1.5 overflow-x-auto md:overflow-visible", children:
|
|
81852
|
+
/* @__PURE__ */ n("div", { className: "sticky top-0 z-10 border-b border-[var(--hrk-border-default)]/60 bg-[var(--hrk-bg-app)]/95 px-3 py-2 backdrop-blur sm:px-0 sm:py-2.5", children: /* @__PURE__ */ n("div", { className: "flex items-center gap-1.5 overflow-x-auto md:overflow-visible", children: TH.map((rr) => {
|
|
81853
81853
|
const cr = rr.icon, ua = at === rr.id;
|
|
81854
81854
|
return /* @__PURE__ */ y(
|
|
81855
81855
|
"button",
|
|
@@ -81869,7 +81869,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81869
81869
|
sr && (at === "posts" || at === "snaps") && /* @__PURE__ */ n("div", { className: "mb-3 rounded-md border border-[var(--hrk-brand)] bg-red-900/20 p-2 text-xs font-medium text-red-400", children: sr }),
|
|
81870
81870
|
at === "posts" && /* @__PURE__ */ y("div", { className: "space-y-3", children: [
|
|
81871
81871
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-1.5", children: [
|
|
81872
|
-
|
|
81872
|
+
CH.map((rr) => /* @__PURE__ */ n(
|
|
81873
81873
|
"button",
|
|
81874
81874
|
{
|
|
81875
81875
|
type: "button",
|
|
@@ -81895,7 +81895,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81895
81895
|
)
|
|
81896
81896
|
] }),
|
|
81897
81897
|
/* @__PURE__ */ n(
|
|
81898
|
-
|
|
81898
|
+
ZU,
|
|
81899
81899
|
{
|
|
81900
81900
|
...Oa,
|
|
81901
81901
|
posts: Ca,
|
|
@@ -81914,7 +81914,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81914
81914
|
// (peak.snaps · ecency.waves · leothreads · liketu.moments)
|
|
81915
81915
|
// filtered to this community.
|
|
81916
81916
|
/* @__PURE__ */ n(
|
|
81917
|
-
|
|
81917
|
+
AH,
|
|
81918
81918
|
{
|
|
81919
81919
|
communityId: r,
|
|
81920
81920
|
currentUser: o,
|
|
@@ -81950,16 +81950,16 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81950
81950
|
pageScroll: !0
|
|
81951
81951
|
}
|
|
81952
81952
|
),
|
|
81953
|
-
at === "about" && /* @__PURE__ */ n(
|
|
81953
|
+
at === "about" && /* @__PURE__ */ n(NH, { communityId: r }),
|
|
81954
81954
|
at === "subscribers" && /* @__PURE__ */ n(
|
|
81955
|
-
|
|
81955
|
+
SH,
|
|
81956
81956
|
{
|
|
81957
81957
|
communityId: r,
|
|
81958
81958
|
onSelectCommunityMember: Ur
|
|
81959
81959
|
}
|
|
81960
81960
|
),
|
|
81961
81961
|
at === "activities" && /* @__PURE__ */ n(
|
|
81962
|
-
|
|
81962
|
+
OH,
|
|
81963
81963
|
{
|
|
81964
81964
|
items: Zr,
|
|
81965
81965
|
loading: Mt,
|
|
@@ -81973,7 +81973,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
81973
81973
|
)
|
|
81974
81974
|
] })
|
|
81975
81975
|
] }) });
|
|
81976
|
-
},
|
|
81976
|
+
}, OH = ({
|
|
81977
81977
|
items: r,
|
|
81978
81978
|
loading: o,
|
|
81979
81979
|
error: l,
|
|
@@ -82008,7 +82008,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
82008
82008
|
/* @__PURE__ */ n(Gh, { className: "h-10 w-10 text-[var(--hrk-border-default)] mb-3" }),
|
|
82009
82009
|
/* @__PURE__ */ n("p", { className: "text-sm text-[var(--hrk-text-tertiary)]", children: "No recent activities." })
|
|
82010
82010
|
] }) : /* @__PURE__ */ n("ul", { className: "divide-y divide-[var(--hrk-border-default)]", children: r.map((h) => {
|
|
82011
|
-
const g =
|
|
82011
|
+
const g = DH[h.type] ?? { icon: EM, tone: "text-[var(--hrk-text-tertiary)]" }, v = g.icon, w = h.url.replace(/^@/, "").split("/")[0] || "hive";
|
|
82012
82012
|
return /* @__PURE__ */ n("li", { children: /* @__PURE__ */ y(
|
|
82013
82013
|
"button",
|
|
82014
82014
|
{
|
|
@@ -82039,7 +82039,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
82039
82039
|
/* @__PURE__ */ n(v, { className: `h-3.5 w-3.5 ${g.tone}` }),
|
|
82040
82040
|
/* @__PURE__ */ n("span", { className: "font-medium text-[var(--hrk-text-secondary)] capitalize", children: h.type.replace("_", " ") }),
|
|
82041
82041
|
/* @__PURE__ */ n("span", { className: "text-[var(--hrk-text-tertiary)]", children: "·" }),
|
|
82042
|
-
/* @__PURE__ */ n("span", { className: "text-[var(--hrk-text-tertiary)]", children:
|
|
82042
|
+
/* @__PURE__ */ n("span", { className: "text-[var(--hrk-text-tertiary)]", children: MH(`${h.date}Z`) })
|
|
82043
82043
|
] }),
|
|
82044
82044
|
/* @__PURE__ */ n("p", { className: "mt-0.5 text-sm text-[var(--hrk-text-primary)] line-clamp-2", children: h.msg })
|
|
82045
82045
|
] })
|
|
@@ -82253,7 +82253,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
82253
82253
|
),
|
|
82254
82254
|
/* @__PURE__ */ y("div", { className: "mt-6", children: [
|
|
82255
82255
|
w === "posts" && /* @__PURE__ */ n(
|
|
82256
|
-
|
|
82256
|
+
TU,
|
|
82257
82257
|
{
|
|
82258
82258
|
tag: r,
|
|
82259
82259
|
sort: "created",
|
|
@@ -82673,7 +82673,7 @@ const Kg = /* @__PURE__ */ new Map(), fq = ({
|
|
|
82673
82673
|
);
|
|
82674
82674
|
}) }) });
|
|
82675
82675
|
};
|
|
82676
|
-
function
|
|
82676
|
+
function RH(r) {
|
|
82677
82677
|
const o = typeof r == "string" ? new Date(r) : r, u = Math.floor(((/* @__PURE__ */ new Date()).getTime() - o.getTime()) / 1e3);
|
|
82678
82678
|
if (u < 60) return `${u}s ago`;
|
|
82679
82679
|
const d = Math.floor(u / 60);
|
|
@@ -82735,7 +82735,7 @@ function pq({
|
|
|
82735
82735
|
] })
|
|
82736
82736
|
] })
|
|
82737
82737
|
] }),
|
|
82738
|
-
/* @__PURE__ */ n("div", { className: "text-sm text-[var(--hrk-text-tertiary)] dark:text-[var(--hrk-text-tertiary)]", children:
|
|
82738
|
+
/* @__PURE__ */ n("div", { className: "text-sm text-[var(--hrk-text-tertiary)] dark:text-[var(--hrk-text-tertiary)]", children: RH(b.time + "Z") })
|
|
82739
82739
|
]
|
|
82740
82740
|
},
|
|
82741
82741
|
_
|
|
@@ -83166,7 +83166,7 @@ const bq = ({
|
|
|
83166
83166
|
)
|
|
83167
83167
|
] }) })
|
|
83168
83168
|
] }) : /* @__PURE__ */ n("div", { className: "flex items-center justify-center min-h-[400px]", children: /* @__PURE__ */ n("p", { className: "text-gray-600 dark:text-gray-400", children: "Please login to view your account" }) });
|
|
83169
|
-
},
|
|
83169
|
+
}, LH = ({
|
|
83170
83170
|
username: r,
|
|
83171
83171
|
onSelectUser: o
|
|
83172
83172
|
}) => {
|
|
@@ -83229,7 +83229,7 @@ const bq = ({
|
|
|
83229
83229
|
},
|
|
83230
83230
|
`${w.follower}-${b}`
|
|
83231
83231
|
)) }) });
|
|
83232
|
-
},
|
|
83232
|
+
}, zH = ({
|
|
83233
83233
|
username: r,
|
|
83234
83234
|
onSelectUser: o
|
|
83235
83235
|
}) => {
|
|
@@ -83292,7 +83292,7 @@ const bq = ({
|
|
|
83292
83292
|
},
|
|
83293
83293
|
`${w.following}-${b}`
|
|
83294
83294
|
)) }) });
|
|
83295
|
-
},
|
|
83295
|
+
}, PH = ({ username: r }) => {
|
|
83296
83296
|
const [o, l] = W(null), [u, d] = W(!0), [f, h] = W(null), g = async () => {
|
|
83297
83297
|
try {
|
|
83298
83298
|
d(!0), h(null);
|
|
@@ -83506,7 +83506,7 @@ const bq = ({
|
|
|
83506
83506
|
] }),
|
|
83507
83507
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-2", children: [
|
|
83508
83508
|
/* @__PURE__ */ n(
|
|
83509
|
-
|
|
83509
|
+
vH,
|
|
83510
83510
|
{
|
|
83511
83511
|
id: r,
|
|
83512
83512
|
toastType: "user",
|
|
@@ -83574,13 +83574,13 @@ const bq = ({
|
|
|
83574
83574
|
onAuthorClick: l
|
|
83575
83575
|
}
|
|
83576
83576
|
),
|
|
83577
|
-
x === "about" && /* @__PURE__ */ n(
|
|
83578
|
-
x === "followers" && /* @__PURE__ */ n(
|
|
83579
|
-
x === "following" && /* @__PURE__ */ n(
|
|
83577
|
+
x === "about" && /* @__PURE__ */ n(PH, { username: r }),
|
|
83578
|
+
x === "followers" && /* @__PURE__ */ n(LH, { username: r, onSelectUser: C }),
|
|
83579
|
+
x === "following" && /* @__PURE__ */ n(zH, { username: r, onSelectUser: C })
|
|
83580
83580
|
] })
|
|
83581
83581
|
] })
|
|
83582
83582
|
] });
|
|
83583
|
-
},
|
|
83583
|
+
}, BH = [
|
|
83584
83584
|
"Spam",
|
|
83585
83585
|
"Harassment or bullying",
|
|
83586
83586
|
"Hate speech",
|
|
@@ -83648,7 +83648,7 @@ const bq = ({
|
|
|
83648
83648
|
u,
|
|
83649
83649
|
"?"
|
|
83650
83650
|
] }),
|
|
83651
|
-
/* @__PURE__ */ n("div", { className: "space-y-2", children:
|
|
83651
|
+
/* @__PURE__ */ n("div", { className: "space-y-2", children: BH.map((O) => /* @__PURE__ */ n(
|
|
83652
83652
|
"button",
|
|
83653
83653
|
{
|
|
83654
83654
|
onClick: () => x(O),
|
|
@@ -83720,10 +83720,10 @@ const bq = ({
|
|
|
83720
83720
|
] })
|
|
83721
83721
|
] })
|
|
83722
83722
|
] }) }) : null;
|
|
83723
|
-
},
|
|
83723
|
+
}, UH = [
|
|
83724
83724
|
{ value: 7, label: "7 Days" },
|
|
83725
83725
|
{ value: 30, label: "30 Days" }
|
|
83726
|
-
], eu = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `${r.toLocaleString(void 0, { maximumFractionDigits: 0 })} HP` : `${r.toFixed(3)} HP` : "0 HP", nb = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `$${r.toLocaleString(void 0, { maximumFractionDigits: 0 })}` : `$${r.toFixed(2)}` : "$0",
|
|
83726
|
+
], eu = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `${r.toLocaleString(void 0, { maximumFractionDigits: 0 })} HP` : `${r.toFixed(3)} HP` : "0 HP", nb = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `$${r.toLocaleString(void 0, { maximumFractionDigits: 0 })}` : `$${r.toFixed(2)}` : "$0", $H = ({ username: r, defaultRange: o = 7, className: l }) => {
|
|
83727
83727
|
const [u, d] = W(o), [f, h] = W(null), [g, v] = W(!1), [w, b] = W(null), [_, x] = W(null), E = Dt(0);
|
|
83728
83728
|
return qe(() => {
|
|
83729
83729
|
const M = r.replace(/^@/, "").trim();
|
|
@@ -83751,7 +83751,7 @@ const bq = ({
|
|
|
83751
83751
|
..._,
|
|
83752
83752
|
days: _.days.slice(-u),
|
|
83753
83753
|
series: _.series.slice(-u),
|
|
83754
|
-
totals:
|
|
83754
|
+
totals: HH(_.series.slice(-u))
|
|
83755
83755
|
};
|
|
83756
83756
|
M.startHp = M.series[0]?.cumulativeHp != null ? Number((M.series[0].cumulativeHp - M.series[0].hpDelta).toFixed(3)) : _.startHp, M.hpDelta = Number(
|
|
83757
83757
|
M.series.reduce((z, O) => z + (O.hpDelta || 0), 0).toFixed(3)
|
|
@@ -83769,7 +83769,7 @@ const bq = ({
|
|
|
83769
83769
|
/* @__PURE__ */ n("div", { className: "h-56 bg-[var(--hrk-bg-surface)] rounded-lg border border-[var(--hrk-border-subtle)]" })
|
|
83770
83770
|
] }) : f ? /* @__PURE__ */ y("div", { className: `max-w-3xl mx-auto space-y-4 ${l || ""}`, children: [
|
|
83771
83771
|
/* @__PURE__ */ y("div", { className: "flex items-center justify-between", children: [
|
|
83772
|
-
/* @__PURE__ */ n("div", { className: "flex items-center gap-2", children:
|
|
83772
|
+
/* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: UH.map((M) => /* @__PURE__ */ n(
|
|
83773
83773
|
"button",
|
|
83774
83774
|
{
|
|
83775
83775
|
onClick: () => d(M.value),
|
|
@@ -83818,7 +83818,7 @@ const bq = ({
|
|
|
83818
83818
|
)
|
|
83819
83819
|
] }),
|
|
83820
83820
|
/* @__PURE__ */ y(_N, { title: `Account HP — last ${u} days`, children: [
|
|
83821
|
-
/* @__PURE__ */ n(
|
|
83821
|
+
/* @__PURE__ */ n(jH, { series: f.series }),
|
|
83822
83822
|
/* @__PURE__ */ n(
|
|
83823
83823
|
KT,
|
|
83824
83824
|
{
|
|
@@ -83834,7 +83834,7 @@ const bq = ({
|
|
|
83834
83834
|
)
|
|
83835
83835
|
] }),
|
|
83836
83836
|
/* @__PURE__ */ y(_N, { title: `Earned per day — last ${u} days`, children: [
|
|
83837
|
-
/* @__PURE__ */ n(
|
|
83837
|
+
/* @__PURE__ */ n(qH, { series: f.series }),
|
|
83838
83838
|
/* @__PURE__ */ n(
|
|
83839
83839
|
KT,
|
|
83840
83840
|
{
|
|
@@ -83883,7 +83883,7 @@ const bq = ({
|
|
|
83883
83883
|
const u = (o - r) / l, d = [];
|
|
83884
83884
|
for (let f = 0; f <= l; f++) d.push(r + u * f);
|
|
83885
83885
|
return d;
|
|
83886
|
-
}, O9 = (r) => Math.abs(r) >= 1e3 ? `${(r / 1e3).toFixed(1)}k` : Math.abs(r) >= 10 ? r.toFixed(0) : r.toFixed(2),
|
|
83886
|
+
}, O9 = (r) => Math.abs(r) >= 1e3 ? `${(r / 1e3).toFixed(1)}k` : Math.abs(r) >= 10 ? r.toFixed(0) : r.toFixed(2), HH = (r) => r.reduce(
|
|
83887
83887
|
(o, l) => (o.authorHp += l.authorHp, o.curationHp += l.curationHp, o.witnessHp += l.witnessHp, o.benefactorHp += l.benefactorHp, o.powerUp += l.powerUp, o.powerDown += l.powerDown, o.authorUsd += l.authorUsd, o.curationUsd += l.curationUsd, o.witnessUsd += l.witnessUsd, o.benefactorUsd += l.benefactorUsd, o),
|
|
83888
83888
|
{
|
|
83889
83889
|
authorHp: 0,
|
|
@@ -83897,7 +83897,7 @@ const bq = ({
|
|
|
83897
83897
|
witnessUsd: 0,
|
|
83898
83898
|
benefactorUsd: 0
|
|
83899
83899
|
}
|
|
83900
|
-
),
|
|
83900
|
+
), jH = ({ series: r }) => {
|
|
83901
83901
|
const [o, l] = W(null), u = Pt(() => {
|
|
83902
83902
|
const d = r.length;
|
|
83903
83903
|
if (!d) return null;
|
|
@@ -83981,7 +83981,7 @@ const bq = ({
|
|
|
83981
83981
|
}
|
|
83982
83982
|
)
|
|
83983
83983
|
] }) : /* @__PURE__ */ n("div", { className: "h-32 flex items-center justify-center text-xs text-[var(--hrk-text-tertiary)]", children: "No data" });
|
|
83984
|
-
},
|
|
83984
|
+
}, qH = ({ series: r }) => {
|
|
83985
83985
|
const [o, l] = W(null), u = Pt(() => {
|
|
83986
83986
|
const d = r.length;
|
|
83987
83987
|
if (!d) return null;
|
|
@@ -84070,13 +84070,13 @@ const bq = ({
|
|
|
84070
84070
|
}
|
|
84071
84071
|
);
|
|
84072
84072
|
};
|
|
84073
|
-
function
|
|
84073
|
+
function VH(r) {
|
|
84074
84074
|
return r < 1 ? "text-emerald-400" : r < 2 ? "text-yellow-400" : r < 3 ? "text-orange-400" : "text-red-400";
|
|
84075
84075
|
}
|
|
84076
|
-
function
|
|
84076
|
+
function IH(r) {
|
|
84077
84077
|
return Number.isFinite(r) ? Math.abs(r) >= 1e6 ? `${(r / 1e6).toFixed(2)}M` : Math.abs(r) >= 1e3 ? `${(r / 1e3).toFixed(2)}K` : r.toFixed(2) : "0";
|
|
84078
84078
|
}
|
|
84079
|
-
const
|
|
84079
|
+
const FH = ({
|
|
84080
84080
|
username: r,
|
|
84081
84081
|
hideWhileLoading: o = !1,
|
|
84082
84082
|
className: l = ""
|
|
@@ -84102,7 +84102,7 @@ const IH = ({
|
|
|
84102
84102
|
}
|
|
84103
84103
|
);
|
|
84104
84104
|
if (g || !u) return null;
|
|
84105
|
-
const _ =
|
|
84105
|
+
const _ = VH(u.ke);
|
|
84106
84106
|
return /* @__PURE__ */ y(fr, { children: [
|
|
84107
84107
|
/* @__PURE__ */ y(
|
|
84108
84108
|
"button",
|
|
@@ -84163,7 +84163,7 @@ const IH = ({
|
|
|
84163
84163
|
/* @__PURE__ */ y("div", { className: "flex items-center justify-between px-3 py-2 text-sm", children: [
|
|
84164
84164
|
/* @__PURE__ */ n("span", { className: "text-gray-400", children: "Effective Hive Power" }),
|
|
84165
84165
|
/* @__PURE__ */ y("span", { className: "font-mono text-gray-100", children: [
|
|
84166
|
-
|
|
84166
|
+
IH(u.currentHP),
|
|
84167
84167
|
" HP"
|
|
84168
84168
|
] })
|
|
84169
84169
|
] }),
|
|
@@ -84207,10 +84207,10 @@ const IH = ({
|
|
|
84207
84207
|
}, eC = (r) => {
|
|
84208
84208
|
const o = /* @__PURE__ */ new Date(), l = new Date(r), u = Math.floor((o.getTime() - l.getTime()) / 1e3);
|
|
84209
84209
|
return u < 60 ? "just now" : u < 3600 ? `${Math.floor(u / 60)}m ago` : u < 86400 ? `${Math.floor(u / 3600)}h ago` : u < 2592e3 ? `${Math.floor(u / 86400)}d ago` : l.toLocaleDateString();
|
|
84210
|
-
},
|
|
84210
|
+
}, GH = (r) => {
|
|
84211
84211
|
let o = r;
|
|
84212
84212
|
return o = o.replace(/<[^>]*>/g, ""), o = o.replace(/!\[.*?\]\([^\s)]+\)/g, ""), o = o.replace(/\[([^\]]*)\]\([^\s)]+\)/g, "$1"), o = o.replace(/https?:\/\/[^\s)>\]]+/g, ""), o = o.replace(/\[.*?\]/g, ""), o = o.replace(/\(https?:\/\/[^\s)]*\)/g, ""), o = o.replace(/[*_~`#>|]/g, ""), o = o.replace(/^[-_*]{3,}\s*$/gm, ""), o = o.replace(/\s+/g, " ").trim(), o;
|
|
84213
|
-
},
|
|
84213
|
+
}, ZH = ({
|
|
84214
84214
|
poll: r,
|
|
84215
84215
|
currentUsername: o,
|
|
84216
84216
|
onVotePoll: l,
|
|
@@ -84236,7 +84236,7 @@ const IH = ({
|
|
|
84236
84236
|
allowLandscapeVideos: C = !1
|
|
84237
84237
|
}) => {
|
|
84238
84238
|
const q = wD(), [V, G] = W([]), [Y, Z] = W([]), [J, te] = W(!1), fe = r.poll_stats?.total_voting_accounts_num || 0, he = r.status === "Active", Q = new Date(r.end_time) < /* @__PURE__ */ new Date(), ie = Pt(
|
|
84239
|
-
() => r.post_body ?
|
|
84239
|
+
() => r.post_body ? GH(r.post_body) : "",
|
|
84240
84240
|
[r.post_body]
|
|
84241
84241
|
), ye = r.max_choices_voted ?? 1, be = ye > 1, Me = Q || !he, Te = Y.length > 0, pe = o ? r.poll_voters?.find((Ye) => Ye.name === o) : void 0, se = pe?.choices?.length ? pe.choices : pe?.choice_num != null ? [pe.choice_num] : [], ue = Te || se.length > 0, ze = r.allow_vote_changes ?? !1, Ze = Te ? Y : se, $e = !!o && !Me && !!l && (!ue || ze), tt = $e, Ce = ue && ze && !Te, de = r.poll_choices ?? [], Ue = de.reduce(
|
|
84242
84242
|
(Ye, We) => Ye + (We.votes?.total_votes ?? 0),
|
|
@@ -84436,10 +84436,10 @@ const IH = ({
|
|
|
84436
84436
|
threads: { ...Kh },
|
|
84437
84437
|
liketu: { ...Kh }
|
|
84438
84438
|
}), u3 = /* @__PURE__ */ new Map();
|
|
84439
|
-
function
|
|
84439
|
+
function YH(r) {
|
|
84440
84440
|
return L9.some((o) => r[o].posts.length > 0 || r[o].nextStartId !== null || r[o].error !== null);
|
|
84441
84441
|
}
|
|
84442
|
-
const
|
|
84442
|
+
const XH = ({
|
|
84443
84443
|
username: r,
|
|
84444
84444
|
currentUsername: o,
|
|
84445
84445
|
reportedPosts: l = [],
|
|
@@ -84465,7 +84465,7 @@ const YH = ({
|
|
|
84465
84465
|
);
|
|
84466
84466
|
qe(() => {
|
|
84467
84467
|
const E = u3.get(r);
|
|
84468
|
-
if (E &&
|
|
84468
|
+
if (E && YH(E)) {
|
|
84469
84469
|
h(E);
|
|
84470
84470
|
return;
|
|
84471
84471
|
}
|
|
@@ -84604,7 +84604,7 @@ const YH = ({
|
|
|
84604
84604
|
}, rC = (r) => {
|
|
84605
84605
|
const o = /Z|[+-]\d{2}:?\d{2}$/.test(r) ? r : `${r}Z`, l = /* @__PURE__ */ new Date(), u = new Date(o), d = Math.floor((l.getTime() - u.getTime()) / 1e3);
|
|
84606
84606
|
return d < 60 ? "just now" : d < 3600 ? `${Math.floor(d / 60)}m ago` : d < 86400 ? `${Math.floor(d / 3600)}h ago` : d < 2592e3 ? `${Math.floor(d / 86400)}d ago` : u.toLocaleDateString();
|
|
84607
|
-
},
|
|
84607
|
+
}, WH = (r) => {
|
|
84608
84608
|
try {
|
|
84609
84609
|
return new Date(r).toLocaleDateString("en-US", {
|
|
84610
84610
|
year: "numeric",
|
|
@@ -84614,7 +84614,7 @@ const YH = ({
|
|
|
84614
84614
|
} catch {
|
|
84615
84615
|
return r;
|
|
84616
84616
|
}
|
|
84617
|
-
},
|
|
84617
|
+
}, JH = (r) => {
|
|
84618
84618
|
let o = r;
|
|
84619
84619
|
return o = o.replace(/<[^>]*>/g, ""), o = o.replace(/!\[.*?\]\([^\s)]+\)/g, ""), o = o.replace(/\[([^\]]*)\]\([^\s)]+\)/g, "$1"), o = o.replace(/https?:\/\/[^\s)>\]]+/g, ""), o = o.replace(/\[.*?\]/g, ""), o = o.replace(/\(https?:\/\/[^\s)]*\)/g, ""), o = o.replace(/[*_~`#>|]/g, ""), o = o.replace(/^[-_*]{3,}\s*$/gm, ""), o = o.replace(/\s+/g, " ").trim(), o;
|
|
84620
84620
|
}, Wl = {}, yq = ({
|
|
@@ -85500,7 +85500,7 @@ const YH = ({
|
|
|
85500
85500
|
)
|
|
85501
85501
|
] }) });
|
|
85502
85502
|
const iu = (ne, Xe, ft) => {
|
|
85503
|
-
const Kt = I3(ne), bt = ne.json_metadata?.description || (ne.body ?
|
|
85503
|
+
const Kt = I3(ne), bt = ne.json_metadata?.description || (ne.body ? JH(ne.body) : ""), zr = ne.stats?.total_votes ?? ne.active_votes?.length ?? Math.max(0, ne.net_votes ?? 0), Ta = (ne.active_votes?.length ?? 0) === 0 && zr <= 0 && (ne.children ?? 0) === 0, Wn = ne.payout ? ne.payout.toFixed(3) : ne.pending_payout_value ? ne.pending_payout_value.replace(/[^\d.]/g, "") : "0.000", Ia = Wn, _n = [], on = ne.percent_hbd ?? 1e4;
|
|
85504
85504
|
if (on === 0 ? _n.push("Hive Rewards Payout 100% Powered Up") : _n.push(`Hive Rewards Payout (${(on / 200).toFixed(0)}%/${100 - on / 200}%)`), ne.is_paidout) {
|
|
85505
85505
|
const Vn = ne.author_payout_value ? ne.author_payout_value.replace(/[^\d.]/g, "") : "";
|
|
85506
85506
|
_n.push("Past payouts:"), _n.push(`${Wn} Hive Rewards${Vn ? ` (Author ${Vn})` : ""}`);
|
|
@@ -85603,7 +85603,7 @@ const YH = ({
|
|
|
85603
85603
|
),
|
|
85604
85604
|
bt && /* @__PURE__ */ n("p", { className: "line-clamp-2 text-[11px] leading-snug text-[var(--hrk-text-tertiary)] sm:line-clamp-3 sm:text-sm sm:leading-relaxed", children: bt.substring(0, 240) })
|
|
85605
85605
|
] }),
|
|
85606
|
-
/* @__PURE__ */ n(
|
|
85606
|
+
/* @__PURE__ */ n(KH, { media: Kt })
|
|
85607
85607
|
] }),
|
|
85608
85608
|
/* @__PURE__ */ n("div", { className: "border-t border-[var(--hrk-border-subtle)]/50 px-2.5 py-2 sm:px-4", onClick: (Vn) => Vn.stopPropagation(), children: /* @__PURE__ */ n(
|
|
85609
85609
|
sx,
|
|
@@ -86177,7 +86177,7 @@ const YH = ({
|
|
|
86177
86177
|
Xe
|
|
86178
86178
|
] }), js = () => {
|
|
86179
86179
|
if (dr === "growth")
|
|
86180
|
-
return /* @__PURE__ */ n(
|
|
86180
|
+
return /* @__PURE__ */ n($H, { username: nt });
|
|
86181
86181
|
if (dr === "wallet")
|
|
86182
86182
|
return /* @__PURE__ */ y("div", { className: "w-full space-y-2", children: [
|
|
86183
86183
|
uo(
|
|
@@ -86240,7 +86240,7 @@ const YH = ({
|
|
|
86240
86240
|
Xe
|
|
86241
86241
|
),
|
|
86242
86242
|
_r === "activities" ? /* @__PURE__ */ n(
|
|
86243
|
-
|
|
86243
|
+
j$,
|
|
86244
86244
|
{
|
|
86245
86245
|
username: nt,
|
|
86246
86246
|
onClickPermlink: Et,
|
|
@@ -86317,7 +86317,7 @@ const YH = ({
|
|
|
86317
86317
|
/* @__PURE__ */ n(pf, { className: "h-12 w-12 text-[var(--hrk-text-tertiary)] mx-auto mb-3" }),
|
|
86318
86318
|
/* @__PURE__ */ n("p", { className: "text-[var(--hrk-text-tertiary)]", children: Ie("empty.noPolls") })
|
|
86319
86319
|
] }) : /* @__PURE__ */ n("div", { className: "space-y-3", children: Ns.map((ne) => /* @__PURE__ */ n(
|
|
86320
|
-
|
|
86320
|
+
ZH,
|
|
86321
86321
|
{
|
|
86322
86322
|
poll: ne,
|
|
86323
86323
|
currentUsername: o,
|
|
@@ -86363,7 +86363,7 @@ const YH = ({
|
|
|
86363
86363
|
/* @__PURE__ */ n(C3, { className: "h-12 w-12 text-[var(--hrk-text-tertiary)] mx-auto mb-3" }),
|
|
86364
86364
|
/* @__PURE__ */ n("p", { className: "text-[var(--hrk-text-tertiary)]", children: Ie("empty.noWitnessVotes") })
|
|
86365
86365
|
] }) : /* @__PURE__ */ n("div", { className: "grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-3", children: aa.map((ne, Xe) => _i(ne, Xe)) }) : dr === "snaps" ? /* @__PURE__ */ n("div", { className: "h-[calc(100vh-260px)] min-h-[420px]", children: /* @__PURE__ */ n(
|
|
86366
|
-
|
|
86366
|
+
XH,
|
|
86367
86367
|
{
|
|
86368
86368
|
username: nt,
|
|
86369
86369
|
currentUsername: o,
|
|
@@ -86759,7 +86759,7 @@ const YH = ({
|
|
|
86759
86759
|
Zt.created && /* @__PURE__ */ y("span", { className: "flex items-center gap-1 drop-shadow-md", children: [
|
|
86760
86760
|
/* @__PURE__ */ n(V1, { className: "h-3 w-3 text-green-400" }),
|
|
86761
86761
|
" ",
|
|
86762
|
-
|
|
86762
|
+
WH(Zt.created)
|
|
86763
86763
|
] }),
|
|
86764
86764
|
Zt.lastActivity && /* @__PURE__ */ y("span", { className: "flex items-center gap-1 drop-shadow-md", children: [
|
|
86765
86765
|
/* @__PURE__ */ n(fl, { className: "h-3 w-3 text-amber-400" }),
|
|
@@ -86777,7 +86777,7 @@ const YH = ({
|
|
|
86777
86777
|
" HP ",
|
|
86778
86778
|
Zt.hivePower.toFixed(0)
|
|
86779
86779
|
] }),
|
|
86780
|
-
/* @__PURE__ */ n(
|
|
86780
|
+
/* @__PURE__ */ n(FH, { username: nt, hideWhileLoading: !0 })
|
|
86781
86781
|
] }),
|
|
86782
86782
|
/* @__PURE__ */ y("div", { className: "flex items-center gap-4 mt-2 text-[11px] sm:text-xs text-[var(--hrk-text-primary)]", children: [
|
|
86783
86783
|
/* @__PURE__ */ y("button", { onClick: () => kt("followers"), className: "hover:text-[var(--hrk-text-primary)] transition-colors drop-shadow-md", children: [
|
|
@@ -86912,7 +86912,7 @@ const YH = ({
|
|
|
86912
86912
|
}
|
|
86913
86913
|
)
|
|
86914
86914
|
] }) });
|
|
86915
|
-
},
|
|
86915
|
+
}, QH = ({ media: r }) => {
|
|
86916
86916
|
const [o, l] = W(!1), u = Dt(null), d = r.kind + ":" + ("url" in r ? r.url : r.id);
|
|
86917
86917
|
return qe(() => {
|
|
86918
86918
|
l(!1);
|
|
@@ -86957,7 +86957,7 @@ const YH = ({
|
|
|
86957
86957
|
/* @__PURE__ */ n("span", { className: "text-3xl font-semibold", children: "𝕏" }),
|
|
86958
86958
|
/* @__PURE__ */ n("span", { className: "rounded bg-black/60 px-1.5 py-0.5 text-[10px] font-medium", children: "Tweet" })
|
|
86959
86959
|
] });
|
|
86960
|
-
},
|
|
86960
|
+
}, KH = ({ media: r }) => {
|
|
86961
86961
|
const [o, l] = W(0), [u, d] = W(null);
|
|
86962
86962
|
if (r.length === 0) return null;
|
|
86963
86963
|
const f = Math.min(o, r.length - 1), h = r[f];
|
|
@@ -86975,7 +86975,7 @@ const YH = ({
|
|
|
86975
86975
|
},
|
|
86976
86976
|
className: "absolute inset-0 block cursor-pointer",
|
|
86977
86977
|
"aria-label": "Open media preview",
|
|
86978
|
-
children: /* @__PURE__ */ n(
|
|
86978
|
+
children: /* @__PURE__ */ n(QH, { media: h })
|
|
86979
86979
|
}
|
|
86980
86980
|
),
|
|
86981
86981
|
r.length > 1 && /* @__PURE__ */ y(fr, { children: [
|
|
@@ -87020,14 +87020,14 @@ const YH = ({
|
|
|
87020
87020
|
}
|
|
87021
87021
|
)
|
|
87022
87022
|
] });
|
|
87023
|
-
},
|
|
87023
|
+
}, ej = (r) => {
|
|
87024
87024
|
window.open(r, "_blank");
|
|
87025
|
-
},
|
|
87025
|
+
}, tj = ({ app: r, backgroundColor: o, boxShadow: l }) => /* @__PURE__ */ n(
|
|
87026
87026
|
"div",
|
|
87027
87027
|
{
|
|
87028
87028
|
className: "card hover-lift cursor-pointer transition-all duration-300 h-full",
|
|
87029
87029
|
onClick: () => {
|
|
87030
|
-
|
|
87030
|
+
ej(r.url);
|
|
87031
87031
|
},
|
|
87032
87032
|
style: {
|
|
87033
87033
|
backgroundColor: o ?? "rgba(15,23,42,0.9)",
|
|
@@ -87066,7 +87066,7 @@ const YH = ({
|
|
|
87066
87066
|
] })
|
|
87067
87067
|
] }) })
|
|
87068
87068
|
}
|
|
87069
|
-
),
|
|
87069
|
+
), rj = () => {
|
|
87070
87070
|
const [r, o] = W({
|
|
87071
87071
|
width: typeof window < "u" ? window.innerWidth : 0,
|
|
87072
87072
|
height: typeof window < "u" ? window.innerHeight : 0
|
|
@@ -87082,10 +87082,10 @@ const YH = ({
|
|
|
87082
87082
|
}, []);
|
|
87083
87083
|
const l = r.width < 850, u = r.width <= 1050 && r.width >= 850, d = r.width > 1050;
|
|
87084
87084
|
return { isMobileView: l, isTabletView: u, isWebView: d, screenSize: r };
|
|
87085
|
-
},
|
|
87086
|
-
const { isMobileView: u, isTabletView: d } =
|
|
87085
|
+
}, aj = ({ apps: r, cardBackgroundColor: o, cardShadow: l }) => {
|
|
87086
|
+
const { isMobileView: u, isTabletView: d } = rj();
|
|
87087
87087
|
return /* @__PURE__ */ n("div", { className: "container mx-auto px-4 lg:px-16", children: /* @__PURE__ */ n("div", { className: `grid ${u ? "grid-cols-1" : d ? "grid-cols-2" : "grid-cols-3"} gap-6 lg:gap-8`, children: r.map((h, g) => /* @__PURE__ */ n(
|
|
87088
|
-
|
|
87088
|
+
tj,
|
|
87089
87089
|
{
|
|
87090
87090
|
app: h,
|
|
87091
87091
|
backgroundColor: o,
|
|
@@ -87093,7 +87093,7 @@ const YH = ({
|
|
|
87093
87093
|
},
|
|
87094
87094
|
g
|
|
87095
87095
|
)) }) });
|
|
87096
|
-
},
|
|
87096
|
+
}, nj = [
|
|
87097
87097
|
{
|
|
87098
87098
|
imagePath: An.hreplier,
|
|
87099
87099
|
name: "hReplier",
|
|
@@ -87295,7 +87295,7 @@ const YH = ({
|
|
|
87295
87295
|
url: "https://uptime.sagarkothari88.one/status/sagar",
|
|
87296
87296
|
useCircleBackground: !1
|
|
87297
87297
|
}
|
|
87298
|
-
],
|
|
87298
|
+
], ij = [
|
|
87299
87299
|
{
|
|
87300
87300
|
title: "Powered by Hive.io",
|
|
87301
87301
|
description: "Explore the Hive blockchain",
|
|
@@ -87324,12 +87324,12 @@ const YH = ({
|
|
|
87324
87324
|
link: "https://github.com/orgs/TechCoderLabz/repositories",
|
|
87325
87325
|
buttonText: "View"
|
|
87326
87326
|
}
|
|
87327
|
-
],
|
|
87327
|
+
], sj = [
|
|
87328
87328
|
{ icon: L1, title: "Simplicity Wins", desc: "Blockchain technology should feel as easy as using any modern mobile app." },
|
|
87329
87329
|
{ icon: LM, title: "Open Ecosystem", desc: "All our apps are open source so developers can learn, extend, and build." },
|
|
87330
87330
|
{ icon: zM, title: "Build First, Talk Later", desc: "We prefer shipping real products and improving with community feedback." },
|
|
87331
87331
|
{ icon: Xs, title: "Community Over Ownership", desc: "These are tools built for the entire Hive ecosystem, not closed platforms." }
|
|
87332
|
-
],
|
|
87332
|
+
], oj = [
|
|
87333
87333
|
{ name: "Distriator", logo: An.distriator_logo },
|
|
87334
87334
|
{ name: "CheckInWithXYZ", logo: An.checkinwithxyz },
|
|
87335
87335
|
{ name: "hReplier", logo: An.hreplier },
|
|
@@ -87338,7 +87338,7 @@ const YH = ({
|
|
|
87338
87338
|
{ name: "hFestFacts", logo: An.hive_fest_fact_logo },
|
|
87339
87339
|
{ name: "hSnaps", logo: An.template },
|
|
87340
87340
|
{ name: "hCurators", logo: An.vote_logo }
|
|
87341
|
-
],
|
|
87341
|
+
], lj = [
|
|
87342
87342
|
{
|
|
87343
87343
|
name: "hApprover",
|
|
87344
87344
|
desc: "Approve Hive transactions from your phone",
|
|
@@ -87349,7 +87349,7 @@ const YH = ({
|
|
|
87349
87349
|
desc: "Create and participate in surveys on Hive",
|
|
87350
87350
|
logo: An.hsurvey_logo
|
|
87351
87351
|
}
|
|
87352
|
-
],
|
|
87352
|
+
], uj = [
|
|
87353
87353
|
"hChat",
|
|
87354
87354
|
"hShorts",
|
|
87355
87355
|
"hVideos",
|
|
@@ -87367,7 +87367,7 @@ const YH = ({
|
|
|
87367
87367
|
onViewExpenses: h,
|
|
87368
87368
|
extraSupporters: g = []
|
|
87369
87369
|
}) => {
|
|
87370
|
-
const v = [...
|
|
87370
|
+
const v = [...ij, ...g], w = "0 18px 45px rgba(0,0,0,0.6)";
|
|
87371
87371
|
return /* @__PURE__ */ y("div", { className: "min-h-screen relative overflow-hidden", children: [
|
|
87372
87372
|
/* @__PURE__ */ n(
|
|
87373
87373
|
"div",
|
|
@@ -87504,7 +87504,7 @@ const YH = ({
|
|
|
87504
87504
|
) }),
|
|
87505
87505
|
/* @__PURE__ */ n("section", { className: "py-12", children: /* @__PURE__ */ y("div", { className: "container mx-auto px-4", children: [
|
|
87506
87506
|
/* @__PURE__ */ n("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-12", children: "What We Believe" }),
|
|
87507
|
-
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto", children:
|
|
87507
|
+
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6 max-w-5xl mx-auto", children: sj.map(({ icon: b, title: _, desc: x }) => /* @__PURE__ */ y(
|
|
87508
87508
|
"div",
|
|
87509
87509
|
{
|
|
87510
87510
|
className: "card glass-effect hover-lift p-6 rounded-xl text-center",
|
|
@@ -87535,7 +87535,7 @@ const YH = ({
|
|
|
87535
87535
|
/* @__PURE__ */ n("h2", { className: "text-3xl md:text-4xl font-bold text-center mb-4", children: "Apps We've Built & What's Coming" }),
|
|
87536
87536
|
/* @__PURE__ */ n("p", { className: "text-base-content/70 text-center mb-12 max-w-xl mx-auto", children: "We focus on building multiple specialized apps, each solving a specific problem." }),
|
|
87537
87537
|
/* @__PURE__ */ y("div", { className: "max-w-5xl mx-auto", children: [
|
|
87538
|
-
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children:
|
|
87538
|
+
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children: oj.map((b) => /* @__PURE__ */ y(
|
|
87539
87539
|
"div",
|
|
87540
87540
|
{
|
|
87541
87541
|
className: "flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",
|
|
@@ -87557,7 +87557,7 @@ const YH = ({
|
|
|
87557
87557
|
b.name
|
|
87558
87558
|
)) }),
|
|
87559
87559
|
/* @__PURE__ */ n("p", { className: "mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60", children: "In Development" }),
|
|
87560
|
-
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-2xl mx-auto", children:
|
|
87560
|
+
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4 max-w-2xl mx-auto", children: lj.map((b) => /* @__PURE__ */ y(
|
|
87561
87561
|
"div",
|
|
87562
87562
|
{
|
|
87563
87563
|
className: "glass-effect hover-lift px-5 py-4 rounded-xl",
|
|
@@ -87588,7 +87588,7 @@ const YH = ({
|
|
|
87588
87588
|
b.name
|
|
87589
87589
|
)) }),
|
|
87590
87590
|
/* @__PURE__ */ n("p", { className: "mt-8 mb-4 text-center text-sm font-medium uppercase tracking-wide text-base-content/60", children: "Planned" }),
|
|
87591
|
-
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children:
|
|
87591
|
+
/* @__PURE__ */ n("div", { className: "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4", children: uj.map((b) => /* @__PURE__ */ y(
|
|
87592
87592
|
"div",
|
|
87593
87593
|
{
|
|
87594
87594
|
className: "flex items-center gap-3 glass-effect hover-lift px-5 py-4 rounded-xl",
|
|
@@ -87619,9 +87619,9 @@ const YH = ({
|
|
|
87619
87619
|
/* @__PURE__ */ y("section", { className: "py-12", children: [
|
|
87620
87620
|
/* @__PURE__ */ n("div", { className: "container mx-auto px-4 text-center mb-12", children: /* @__PURE__ */ n("h2", { className: "text-3xl md:text-4xl font-bold mb-4", children: "Contributions by @sagarkothari88 & team" }) }),
|
|
87621
87621
|
/* @__PURE__ */ n(
|
|
87622
|
-
|
|
87622
|
+
aj,
|
|
87623
87623
|
{
|
|
87624
|
-
apps:
|
|
87624
|
+
apps: nj,
|
|
87625
87625
|
cardBackgroundColor: l,
|
|
87626
87626
|
cardShadow: w
|
|
87627
87627
|
}
|
|
@@ -87710,10 +87710,10 @@ const YH = ({
|
|
|
87710
87710
|
/* @__PURE__ */ n("div", { className: "py-20" })
|
|
87711
87711
|
] }) }) })
|
|
87712
87712
|
] });
|
|
87713
|
-
},
|
|
87713
|
+
}, cj = 0.07, dj = 85, fj = () => {
|
|
87714
87714
|
const [r, o] = W({
|
|
87715
|
-
hiveUsd:
|
|
87716
|
-
usdInr:
|
|
87715
|
+
hiveUsd: cj,
|
|
87716
|
+
usdInr: dj
|
|
87717
87717
|
}), [l, u] = W(!0);
|
|
87718
87718
|
return qe(() => {
|
|
87719
87719
|
(async () => {
|
|
@@ -87731,7 +87731,7 @@ const YH = ({
|
|
|
87731
87731
|
}
|
|
87732
87732
|
})();
|
|
87733
87733
|
}, []), { rates: r, loading: l };
|
|
87734
|
-
},
|
|
87734
|
+
}, hj = {
|
|
87735
87735
|
USD: { symbol: "$", suffix: "", locale: "en-US" },
|
|
87736
87736
|
HIVE: { symbol: "", suffix: " HIVE", locale: "en-US" },
|
|
87737
87737
|
INR: { symbol: "₹", suffix: "", locale: "en-IN" }
|
|
@@ -87762,8 +87762,8 @@ const YH = ({
|
|
|
87762
87762
|
infoBg: "rgba(56,189,248,0.15)",
|
|
87763
87763
|
primary: "#6366f1",
|
|
87764
87764
|
primaryBg: "rgba(99,102,241,0.15)"
|
|
87765
|
-
},
|
|
87766
|
-
const l =
|
|
87765
|
+
}, mj = (r, o) => r === "USD" ? 1 : r === "INR" ? o.usdInr : 1 / o.hiveUsd, z9 = (r, o) => {
|
|
87766
|
+
const l = mj(r, o);
|
|
87767
87767
|
return {
|
|
87768
87768
|
salary3: Math.round(Jl.salary3 * l),
|
|
87769
87769
|
salary2: Math.round(Jl.salary2 * l),
|
|
@@ -87779,10 +87779,10 @@ const YH = ({
|
|
|
87779
87779
|
infraCost: Math.round(Jl.infraCost * l),
|
|
87780
87780
|
furnitureCost: Math.round(Jl.furnitureCost * l)
|
|
87781
87781
|
};
|
|
87782
|
-
},
|
|
87783
|
-
const { symbol: l, suffix: u, locale: d } =
|
|
87782
|
+
}, pj = (r, o) => {
|
|
87783
|
+
const { symbol: l, suffix: u, locale: d } = hj[o], f = Math.round(r).toLocaleString(d);
|
|
87784
87784
|
return `${l}${f}${u}`;
|
|
87785
|
-
},
|
|
87785
|
+
}, gj = [
|
|
87786
87786
|
"Jan",
|
|
87787
87787
|
"Feb",
|
|
87788
87788
|
"Mar",
|
|
@@ -87796,7 +87796,7 @@ const YH = ({
|
|
|
87796
87796
|
"Nov",
|
|
87797
87797
|
"Dec"
|
|
87798
87798
|
];
|
|
87799
|
-
function
|
|
87799
|
+
function bj(r, o) {
|
|
87800
87800
|
const l = z9(r, o), u = [];
|
|
87801
87801
|
let d = 1, f = 1, h = 1;
|
|
87802
87802
|
const g = new Date(2022, 0), v = new Date(2026, 5), w = new Date(g);
|
|
@@ -87809,7 +87809,7 @@ function gj(r, o) {
|
|
|
87809
87809
|
u.push({
|
|
87810
87810
|
year: b,
|
|
87811
87811
|
month: _,
|
|
87812
|
-
label: `${
|
|
87812
|
+
label: `${gj[_]} ${b}`,
|
|
87813
87813
|
salaries: E,
|
|
87814
87814
|
rent: M,
|
|
87815
87815
|
utilities: z,
|
|
@@ -87824,7 +87824,7 @@ function gj(r, o) {
|
|
|
87824
87824
|
}
|
|
87825
87825
|
return u;
|
|
87826
87826
|
}
|
|
87827
|
-
const
|
|
87827
|
+
const vj = ({ row: r, fmt: o, textColor: l, cardBackgroundColor: u, dividerColor: d }) => {
|
|
87828
87828
|
const [f, h] = W(!1), g = [];
|
|
87829
87829
|
return g.push({ label: "Salaries", value: r.salaries }), r.rent && g.push({ label: "Rent", value: r.rent }), r.utilities && g.push({ label: "Utilities", value: r.utilities }), r.vps && g.push({ label: "VPS & Hosting", value: r.vps }), r.devPrograms && g.push({ label: "Dev Programs", value: r.devPrograms }), r.domains && g.push({ label: "Domains", value: r.domains }), r.infraDepreciation && g.push({ label: "Infra Depreciation", value: r.infraDepreciation }), r.infraMaintenance && g.push({ label: "Infra Maintenance", value: r.infraMaintenance }), r.furnitureDepreciation && g.push({ label: "Furniture Depreciation", value: r.furnitureDepreciation }), /* @__PURE__ */ y("div", { style: { borderBottom: `1px solid ${d}` }, children: [
|
|
87830
87830
|
/* @__PURE__ */ y(
|
|
@@ -87883,7 +87883,7 @@ const bj = ({ row: r, fmt: o, textColor: l, cardBackgroundColor: u, dividerColor
|
|
|
87883
87883
|
cardBackgroundColor: u = "rgba(15,23,42,0.85)",
|
|
87884
87884
|
dividerColor: d = "rgba(148,163,184,0.4)"
|
|
87885
87885
|
}) => {
|
|
87886
|
-
const [f, h] = W("USD"), { rates: g, loading: v } =
|
|
87886
|
+
const [f, h] = W("USD"), { rates: g, loading: v } = fj(), w = Pt(() => bj(f, g), [f, g]), b = Pt(() => z9(f, g), [f, g]), _ = (j) => pj(j, f), x = [...new Set(w.map((j) => j.year))], E = {};
|
|
87887
87887
|
x.forEach((j) => {
|
|
87888
87888
|
E[j] = w.filter((H) => H.year === j).reduce((H, P) => H + P.total, 0);
|
|
87889
87889
|
});
|
|
@@ -88069,7 +88069,7 @@ const bj = ({ row: r, fmt: o, textColor: l, cardBackgroundColor: u, dividerColor
|
|
|
88069
88069
|
}
|
|
88070
88070
|
),
|
|
88071
88071
|
H.map((P) => /* @__PURE__ */ n(
|
|
88072
|
-
|
|
88072
|
+
vj,
|
|
88073
88073
|
{
|
|
88074
88074
|
row: P,
|
|
88075
88075
|
fmt: _,
|
|
@@ -88439,25 +88439,25 @@ Furniture: 15% depreciation/yr`
|
|
|
88439
88439
|
] });
|
|
88440
88440
|
};
|
|
88441
88441
|
export {
|
|
88442
|
-
|
|
88442
|
+
j$ as ActivityList,
|
|
88443
88443
|
H3 as AddCommentInput,
|
|
88444
88444
|
Ho as ApiVideoFeedType,
|
|
88445
88445
|
RD as AudioUploader,
|
|
88446
88446
|
eT as BUILTIN_MESSAGES,
|
|
88447
88447
|
ID as BeneficiariesEditor,
|
|
88448
|
-
|
|
88448
|
+
ZU as BlogPostList,
|
|
88449
88449
|
gq as CommentsList,
|
|
88450
88450
|
WD as CommentsModal,
|
|
88451
88451
|
dq as CommunitiesList,
|
|
88452
|
-
|
|
88452
|
+
NH as CommunityAbout,
|
|
88453
88453
|
fq as CommunityDetail,
|
|
88454
|
-
|
|
88454
|
+
SH as CommunityMembers,
|
|
88455
88455
|
hq as CommunityPostDetails,
|
|
88456
88456
|
mq as CommunityTeam,
|
|
88457
88457
|
gP as DECENTMEMES_MAX_PER_COMMENT,
|
|
88458
88458
|
pP as DECENTMEMES_MAX_PER_POST,
|
|
88459
88459
|
fP as DECENTMEMES_SCHEMA_VERSION,
|
|
88460
|
-
|
|
88460
|
+
Xj as DECENTMEMES_TAG,
|
|
88461
88461
|
Gw as DECENTMEMES_WIDGET_ORIGIN,
|
|
88462
88462
|
iT as DECENTMEMES_WIDGET_URL,
|
|
88463
88463
|
VS as DEFAULT_SNAP_PARENT,
|
|
@@ -88466,29 +88466,29 @@ export {
|
|
|
88466
88466
|
qB as Delegations,
|
|
88467
88467
|
PD as EmojiPicker,
|
|
88468
88468
|
wq as ExpensesView,
|
|
88469
|
-
|
|
88470
|
-
|
|
88469
|
+
vH as FavouriteWidget,
|
|
88470
|
+
O$ as FeedSegmentControl,
|
|
88471
88471
|
aq as FollowersList,
|
|
88472
88472
|
nq as FollowingList,
|
|
88473
88473
|
LD as GiphyPicker,
|
|
88474
88474
|
xq as HiveContributionsLanding,
|
|
88475
88475
|
uq as HiveDetailPost,
|
|
88476
|
-
|
|
88476
|
+
Gj as HiveLanguageProvider,
|
|
88477
88477
|
lq as HiveToolbar,
|
|
88478
88478
|
OD as ImageUploader,
|
|
88479
|
-
|
|
88480
|
-
|
|
88479
|
+
FH as KERatioBadge,
|
|
88480
|
+
aH as LanguagePickerButton,
|
|
88481
88481
|
iq as ListOfWitnesses,
|
|
88482
88482
|
UD as MemePicker,
|
|
88483
88483
|
KP as Modal,
|
|
88484
88484
|
O3 as MoreActionsMenu,
|
|
88485
88485
|
cq as ParentPostComposer,
|
|
88486
88486
|
VD as PollCreator,
|
|
88487
|
-
|
|
88487
|
+
ZH as PollListItem,
|
|
88488
88488
|
sx as PostActionButton,
|
|
88489
88489
|
$3 as PostComposer,
|
|
88490
|
-
|
|
88491
|
-
|
|
88490
|
+
TU as PostFeedList,
|
|
88491
|
+
pH as PostTemplatesPanel,
|
|
88492
88492
|
ab as ProposalService,
|
|
88493
88493
|
rq as ProposalsList,
|
|
88494
88494
|
_D as REWARD_OPTIONS,
|
|
@@ -88496,10 +88496,10 @@ export {
|
|
|
88496
88496
|
M3 as SNAP_SUBTYPE_PARENTS,
|
|
88497
88497
|
Qw as SUPPORTED_CURRENCIES,
|
|
88498
88498
|
p3 as SelectionTranslator,
|
|
88499
|
-
|
|
88500
|
-
|
|
88499
|
+
T$ as SnapsFeedCard,
|
|
88500
|
+
M$ as SnapsFeedList,
|
|
88501
88501
|
E9 as SnapsFeedView,
|
|
88502
|
-
|
|
88502
|
+
Tj as SupporterTierProvider,
|
|
88503
88503
|
a0 as THREESPEAK_FUND_ACCOUNT,
|
|
88504
88504
|
B3 as THREESPEAK_FUND_PERCENT,
|
|
88505
88505
|
BD as TemplatePicker,
|
|
@@ -88512,16 +88512,16 @@ export {
|
|
|
88512
88512
|
bq as UserAccount,
|
|
88513
88513
|
oq as UserChannel,
|
|
88514
88514
|
yq as UserDetailProfile,
|
|
88515
|
-
|
|
88516
|
-
|
|
88517
|
-
|
|
88518
|
-
|
|
88515
|
+
LH as UserFollowers,
|
|
88516
|
+
zH as UserFollowing,
|
|
88517
|
+
$H as UserGrowth,
|
|
88518
|
+
PH as UserInfo,
|
|
88519
88519
|
vq as UserProfilePage,
|
|
88520
88520
|
hD as VOTE_WINDOW_DAYS,
|
|
88521
88521
|
L3 as VOTE_WINDOW_MESSAGE,
|
|
88522
88522
|
vz as VOTE_WINDOW_MS,
|
|
88523
88523
|
JM as VideoCard,
|
|
88524
|
-
|
|
88524
|
+
tq as VideoDetail,
|
|
88525
88525
|
xC as VideoFeed,
|
|
88526
88526
|
QM as VideoInfo,
|
|
88527
88527
|
iP as VideoUploader,
|
|
@@ -88533,7 +88533,7 @@ export {
|
|
|
88533
88533
|
kD as bodyHasVideo,
|
|
88534
88534
|
Dz as buildBeneficiariesCommentOptions,
|
|
88535
88535
|
Cz as buildCommentOptions,
|
|
88536
|
-
|
|
88536
|
+
Jj as buildDecentMemesMetadata,
|
|
88537
88537
|
GM as calculateKERatio,
|
|
88538
88538
|
bb as createHiveRenderer,
|
|
88539
88539
|
$D as decentMemesAsBeneficiaries,
|
|
@@ -88551,34 +88551,34 @@ export {
|
|
|
88551
88551
|
_f as getSupporterRing,
|
|
88552
88552
|
bP as isDecentMemesCreatedEvent,
|
|
88553
88553
|
y6 as isPostTooOldToVote,
|
|
88554
|
-
|
|
88554
|
+
Yj as mergeBeneficiariesIntoCommentOptions,
|
|
88555
88555
|
x1 as normalizeBeneficiaryAccount,
|
|
88556
88556
|
yz as parseHiveCreated,
|
|
88557
88557
|
ox as parseHiveFrontendUrl,
|
|
88558
|
-
|
|
88558
|
+
Wj as pickDecentMemesKind,
|
|
88559
88559
|
PT as proposalService,
|
|
88560
88560
|
YP as reducer,
|
|
88561
|
-
|
|
88561
|
+
Qj as renderHiveMarkdown,
|
|
88562
88562
|
Jm as sanitizeBeneficiaries,
|
|
88563
88563
|
Hh as server,
|
|
88564
|
-
|
|
88565
|
-
|
|
88566
|
-
|
|
88567
|
-
|
|
88564
|
+
Cj as setHiveApiEndpoint,
|
|
88565
|
+
KU as setPreferredTranslateLanguage,
|
|
88566
|
+
AU as stripWorldMappinMarkers,
|
|
88567
|
+
Dj as subscribeHiveApiEndpoint,
|
|
88568
88568
|
FD as templateService,
|
|
88569
88569
|
Iu as toast,
|
|
88570
|
-
|
|
88570
|
+
Zj as totalBeneficiaryWeight,
|
|
88571
88571
|
vD as translateHtml,
|
|
88572
|
-
|
|
88572
|
+
QU as translateSelection,
|
|
88573
88573
|
bD as translateText,
|
|
88574
88574
|
J1 as uploadToHiveImages,
|
|
88575
|
-
|
|
88575
|
+
eq as useHiveImageSign,
|
|
88576
88576
|
xD as useHiveLanguage,
|
|
88577
88577
|
XD as useIsMobile,
|
|
88578
88578
|
wD as useKitT,
|
|
88579
88579
|
r6 as useSupporterTier,
|
|
88580
88580
|
Y3 as useSupporterTierMap,
|
|
88581
|
-
|
|
88581
|
+
Kj as useToast,
|
|
88582
88582
|
Tz as useTranslatedHtml,
|
|
88583
88583
|
d9 as useTranslatedText,
|
|
88584
88584
|
a9 as useWalletStore,
|