hive-react-kit 1.6.8 → 1.6.9

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.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as x, Fragment as yr } from "react/jsx-runtime";
2
2
  import * as s3 from "react";
3
- import yo, { useState as Q, useEffect as We, useRef as Dt, useLayoutEffect as $m, useMemo as Bt, useCallback as Ot, createContext as OT, useContext as RT, forwardRef as T1, use as C7, useImperativeHandle as D3, Fragment as pS } from "react";
3
+ import yo, { useState as Q, useEffect as We, useRef as Ct, useLayoutEffect as $m, useMemo as Bt, useCallback as Ot, createContext as OT, useContext as RT, forwardRef as T1, use as C7, useImperativeHandle as D3, Fragment as pS } from "react";
4
4
  import { X as Ha, Pencil as Wg, Repeat2 as M3, Repeat as LT, Share2 as Gh, Gift as SN, Bookmark as C1, Flag as sb, Trash2 as eb, MoreVertical as of, Clock as fl, Play as io, ThumbsUp as uc, MessageCircle as zl, Eye as tb, Info as D1, Heart as o3, Users as Ns, RefreshCw as Pi, Loader2 as Sa, MessageSquare as zT, MoreHorizontal as D7, Crop as PT, RotateCcw as EN, Check as zm, Upload as O3, Music as v1, Mic as l3, Square as M7, Pause as O7, Video as rb, Search as Au, Image as AN, FileText as Ms, ArrowLeft as Kc, Wand2 as TN, ImageIcon as R7, ExternalLink as Rm, AlertCircle as M1, HelpCircle as CN, Plus as u3, ChevronUp as c3, ChevronDown as lf, Minus as BT, Lock as y1, Copy as L7, User as DN, BarChart3 as nf, Code as Jg, EyeOff as z7, Bold as d3, Italic as f3, Link as h3, AtSign as x1, Smile as m3, Tag as w1, Coins as ab, Send as Zh, MessageCirclePlus as _1, ChevronLeft as nb, ChevronRight as Pm, ZoomOut as UT, ZoomIn as HT, Languages as jT, GripHorizontal as P7, BarChart2 as $T, Circle as MN, CheckCircle2 as sf, ImageOff as B7, Maximize2 as U7, PieChart as x4, MapPin as k1, UserPlus as Bm, UserMinus as N1, ArrowUp as H7, ArrowDown as j7, ArrowRight as $7, DollarSign as q7, Wallet as p3, Activity as zh, TrendingUp as Qc, ArrowUpDown as V7, Filter as I7, Reply as tN, Globe as qT, History as VT, FileCode2 as IT, ArrowUpRight as F7, AlertTriangle as FT, Save as rN, BookmarkCheck as G7, Users2 as Z7, Calendar as O1, Layers as Y7, Bell as X7, Hourglass as W7, Ban as aN, Rss as J7, Zap as g3, TrendingDown as Q7, Award as Gg, Camera as K7, Gauge as gS, Shield as bS, Volume2 as eM, VolumeX as tM, Key as rM, Crosshair as aM, Star as nM, Code2 as iM, Rocket as sM, CheckCircle as oM } from "lucide-react";
5
5
  import { formatDistanceToNow as R1 } from "date-fns";
6
6
  import { Client as lM, PrivateKey as uM } from "@hiveio/dhive";
@@ -1392,7 +1392,7 @@ function y3({
1392
1392
  buttonClassName: w,
1393
1393
  ariaLabel: b = "More actions"
1394
1394
  }) {
1395
- const [_, y] = Q(!1), [E, O] = Q(null), B = Dt(null), M = Dt(null);
1395
+ const [_, y] = Q(!1), [E, O] = Q(null), B = Ct(null), M = Ct(null);
1396
1396
  if ($m(() => {
1397
1397
  if (!_) {
1398
1398
  O(null);
@@ -3262,11 +3262,11 @@ function R3() {
3262
3262
  var Ze = this.__data__;
3263
3263
  return Mr ? Ze[_e] !== void 0 : $t.call(Ze, _e);
3264
3264
  }
3265
- function Ct(_e, Ze) {
3265
+ function Dt(_e, Ze) {
3266
3266
  var gt = this.__data__;
3267
3267
  return this.size += this.has(_e) ? 0 : 1, gt[_e] = Mr && Ze === void 0 ? u : Ze, this;
3268
3268
  }
3269
- Jr.prototype.clear = Br, Jr.prototype.delete = Nr, Jr.prototype.get = Je, Jr.prototype.has = zt, Jr.prototype.set = Ct;
3269
+ Jr.prototype.clear = Br, Jr.prototype.delete = Nr, Jr.prototype.get = Je, Jr.prototype.has = zt, Jr.prototype.set = Dt;
3270
3270
  function Wt(_e) {
3271
3271
  var Ze = -1, gt = _e == null ? 0 : _e.length;
3272
3272
  for (this.clear(); ++Ze < gt; ) {
@@ -8438,8 +8438,8 @@ function uC() {
8438
8438
  else if (zt && zt != ".")
8439
8439
  ue.push(" SYSTEM ", zt, ">");
8440
8440
  else {
8441
- var Ct = ne.internalSubset;
8442
- Ct && ue.push(" [", Ct, "]"), ue.push(">");
8441
+ var Dt = ne.internalSubset;
8442
+ Dt && ue.push(" [", Dt, "]"), ue.push(">");
8443
8443
  }
8444
8444
  return;
8445
8445
  case T:
@@ -11502,7 +11502,7 @@ function cC() {
11502
11502
  }
11503
11503
  function oa(Pe, Xe, mt, Rt, Qr) {
11504
11504
  return Pe === Xe || (Pe == null || Xe == null || !mr(Pe) && !mr(Xe) ? Pe != Pe && Xe != Xe : (function(fr, ea, Zt, Xr, Lr, Tr) {
11505
- var Ir = qt(fr), ba = qt(ea), lr = Ir ? y : Ct(fr), ta = ba ? y : Ct(ea), Wn = (lr = lr == _ ? C : lr) == C, Fn = (ta = ta == _ ? C : ta) == C, da = lr == ta;
11505
+ var Ir = qt(fr), ba = qt(ea), lr = Ir ? y : Dt(fr), ta = ba ? y : Dt(ea), Wn = (lr = lr == _ ? C : lr) == C, Fn = (ta = ta == _ ? C : ta) == C, da = lr == ta;
11506
11506
  if (da && bt(fr)) {
11507
11507
  if (!bt(ea)) return !1;
11508
11508
  Ir = !0, Wn = !1;
@@ -11709,7 +11709,7 @@ function cC() {
11709
11709
  }));
11710
11710
  } : function() {
11711
11711
  return [];
11712
- }, Ct = Yr;
11712
+ }, Dt = Yr;
11713
11713
  function Wt(Pe, Xe) {
11714
11714
  return !!(Xe = Xe ?? b) && (typeof Pe == "number" || G.test(Pe)) && Pe > -1 && Pe % 1 == 0 && Pe < Xe;
11715
11715
  }
@@ -11729,7 +11729,7 @@ function cC() {
11729
11729
  function ar(Pe, Xe) {
11730
11730
  return Pe === Xe || Pe != Pe && Xe != Xe;
11731
11731
  }
11732
- (_t && Ct(new _t(new ArrayBuffer(1))) != ce || er && Ct(new er()) != j || Ft && Ct(Ft.resolve()) != "[object Promise]" || rr && Ct(new rr()) != X || Cr && Ct(new Cr()) != "[object WeakMap]") && (Ct = function(Pe) {
11732
+ (_t && Dt(new _t(new ArrayBuffer(1))) != ce || er && Dt(new er()) != j || Ft && Dt(Ft.resolve()) != "[object Promise]" || rr && Dt(new rr()) != X || Cr && Dt(new Cr()) != "[object WeakMap]") && (Dt = function(Pe) {
11733
11733
  var Xe = Yr(Pe), mt = Xe == C ? Pe.constructor : void 0, Rt = mt ? Qt(mt) : "";
11734
11734
  if (Rt) switch (Rt) {
11735
11735
  case Xt:
@@ -21551,7 +21551,7 @@ async function nz(r, o, l = {}) {
21551
21551
  }
21552
21552
  const Xc = 24;
21553
21553
  function iz({ isOpen: r, onClose: o, src: l, onApply: u }) {
21554
- const d = Dt(null), f = Dt(null), [m, g] = Q(null), [v, w] = Q(null), b = Dt({ kind: "none" }), _ = () => {
21554
+ const d = Ct(null), f = Ct(null), [m, g] = Q(null), [v, w] = Q(null), b = Ct({ kind: "none" }), _ = () => {
21555
21555
  const $ = d.current, z = f.current;
21556
21556
  if (!$ || !z || !z.naturalWidth) return;
21557
21557
  const C = $.clientWidth, q = $.clientHeight, I = z.naturalWidth / z.naturalHeight;
@@ -21792,7 +21792,7 @@ const sD = ({
21792
21792
  disabled: m = !1,
21793
21793
  maxImageDimension: g
21794
21794
  }) => {
21795
- const v = Dt(null), w = Dt(null), [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(null), [P, j] = Q(!1), [$, z] = Q(null), [C, q] = Q(null), [I, X] = Q(!1);
21795
+ const v = Ct(null), w = Ct(null), [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(null), [P, j] = Q(!1), [$, z] = Q(null), [C, q] = Q(null), [I, X] = Q(!1);
21796
21796
  We(() => () => {
21797
21797
  M && URL.revokeObjectURL(M);
21798
21798
  }, [M]);
@@ -21984,7 +21984,7 @@ function mz() {
21984
21984
  return "";
21985
21985
  }
21986
21986
  const oD = ({ onAudioUploaded: r, username: o, threeSpeakApiKey: l, disabled: u = !1 }) => {
21987
- const d = l || sz, f = Dt(null), m = Dt(null), g = Dt([]), v = Dt(null), w = Dt(null), [b, _] = Q(null), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(!1), [P, j] = Q(0), [$, z] = Q(null), [C, q] = Q(null), [I, X] = Q(!1), [Y, Z] = Q(null), [W, re] = Q(null), [ce, le] = Q(null);
21987
+ const d = l || sz, f = Ct(null), m = Ct(null), g = Ct([]), v = Ct(null), w = Ct(null), [b, _] = Q(null), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(!1), [P, j] = Q(0), [$, z] = Q(null), [C, q] = Q(null), [I, X] = Q(!1), [Y, Z] = Q(null), [W, re] = Q(null), [ce, le] = Q(null);
21988
21988
  We(() => () => {
21989
21989
  v.current && clearInterval(v.current), C && URL.revokeObjectURL(C), W && URL.revokeObjectURL(W), w.current && (w.current.pause(), w.current = null);
21990
21990
  }, []), We(() => {
@@ -22327,7 +22327,7 @@ const Tz = ({
22327
22327
  onVideoUploadDetails: y,
22328
22328
  useThreeSpeakV2: E = !1
22329
22329
  }) => {
22330
- const O = d || bz, B = Dt(null), M = Dt(null), [T, P] = Q(!1), j = v !== void 0 ? v : T, $ = Ot(
22330
+ const O = d || bz, B = Ct(null), M = Ct(null), [T, P] = Q(!1), j = v !== void 0 ? v : T, $ = Ot(
22331
22331
  (Ye) => {
22332
22332
  v === void 0 && P(Ye), w?.(Ye);
22333
22333
  },
@@ -22566,7 +22566,7 @@ const Tz = ({
22566
22566
  )
22567
22567
  ] });
22568
22568
  }, lD = ({ isOpen: r, onClose: o, onSelectGif: l, giphyApiKey: u }) => {
22569
- const [d, f] = Q(""), [m, g] = Q([]), [v, w] = Q(!1), [b, _] = Q(null), y = Dt(null), E = Dt(null);
22569
+ const [d, f] = Q(""), [m, g] = Q([]), [v, w] = Q(!1), [b, _] = Q(null), y = Ct(null), E = Ct(null);
22570
22570
  We(() => {
22571
22571
  r && setTimeout(() => y.current?.focus(), 100);
22572
22572
  }, [r]);
@@ -22641,7 +22641,7 @@ const Tz = ({
22641
22641
  onSelectVideo: l,
22642
22642
  youtubeApiKey: u
22643
22643
  }) => {
22644
- const [d, f] = Q(""), [m, g] = Q([]), [v, w] = Q(!1), [b, _] = Q(null), y = Dt(null), E = Dt(null);
22644
+ const [d, f] = Q(""), [m, g] = Q([]), [v, w] = Q(!1), [b, _] = Q(null), y = Ct(null), E = Ct(null);
22645
22645
  We(() => {
22646
22646
  r && setTimeout(() => y.current?.focus(), 100);
22647
22647
  }, [r]), We(() => {
@@ -24561,7 +24561,7 @@ const Tz = ({
24561
24561
  Symbols: "❤️",
24562
24562
  Flags: "🏁"
24563
24563
  }, Tk = Object.keys(hN), cD = ({ isOpen: r, onClose: o, onSelectEmoji: l }) => {
24564
- const [u, d] = Q(""), [f, m] = Q(Tk[0]), g = Dt(null), v = Dt(null);
24564
+ const [u, d] = Q(""), [f, m] = Q(Tk[0]), g = Ct(null), v = Ct(null);
24565
24565
  if (We(() => {
24566
24566
  r && (d(""), m(Tk[0]), setTimeout(() => g.current?.focus(), 100));
24567
24567
  }, [r]), !r) return null;
@@ -24629,7 +24629,7 @@ const Tz = ({
24629
24629
  templates: u,
24630
24630
  authorFromUrl: d
24631
24631
  }) => {
24632
- const [f, m] = Q(""), g = Dt(null);
24632
+ const [f, m] = Q(""), g = Ct(null);
24633
24633
  We(() => {
24634
24634
  r && (m(""), setTimeout(() => g.current?.focus(), 100));
24635
24635
  }, [r]);
@@ -24705,7 +24705,7 @@ function fD({
24705
24705
  onSigningStateChange: m,
24706
24706
  walletApprovalLabel: g = "Open Keychain App & Approve"
24707
24707
  }) {
24708
- const [v, w] = Q([]), [b, _] = Q(!1), [y, E] = Q(null), [O, B] = Q(""), [M, T] = Q(null), [P, j] = Q(""), [$, z] = Q(""), [C, q] = Q(""), [I, X] = Q(mN), [Y, Z] = Q(!1), [W, re] = Q(null), [ce, le] = Q(!1), G = Dt(null), K = Dt(null), ee = Dt(null);
24708
+ const [v, w] = Q([]), [b, _] = Q(!1), [y, E] = Q(null), [O, B] = Q(""), [M, T] = Q(null), [P, j] = Q(""), [$, z] = Q(""), [C, q] = Q(""), [I, X] = Q(mN), [Y, Z] = Q(!1), [W, re] = Q(null), [ce, le] = Q(!1), G = Ct(null), K = Ct(null), ee = Ct(null);
24709
24709
  We(() => {
24710
24710
  r || (T(null), j(""), z(""), q(""), X(mN), re(null), Z(!1), le(!1), ee.current = null);
24711
24711
  }, [r]), We(() => {
@@ -25182,7 +25182,7 @@ function mD({
25182
25182
  appAccount: v,
25183
25183
  theme: w
25184
25184
  }) {
25185
- const [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q("idle"), P = Dt(null), j = Dt(!1);
25185
+ const [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q("idle"), P = Ct(null), j = Ct(!1);
25186
25186
  We(() => {
25187
25187
  r && B(null);
25188
25188
  }, [r]);
@@ -25455,7 +25455,7 @@ const bD = ({ isOpen: r, onClose: o, onSave: l, initialData: u }) => {
25455
25455
  u?.preferred_interpretation ?? "number_of_votes"
25456
25456
  ), [C, q] = Q(
25457
25457
  u?.community_restricted ?? !1
25458
- ), [I, X] = Q(!1), [Y, Z] = Q(!1), [W, re] = Q(!1), ce = Dt(null);
25458
+ ), [I, X] = Q(!1), [Y, Z] = Q(!1), [W, re] = Q(!1), ce = Ct(null);
25459
25459
  if (We(() => {
25460
25460
  if (!I) return;
25461
25461
  const be = (ve) => {
@@ -26244,7 +26244,7 @@ function UA() {
26244
26244
  MUSTACHE_EXPR: Nr,
26245
26245
  ERB_EXPR: Je,
26246
26246
  TMPLIT_EXPR: zt,
26247
- DATA_ATTR: Ct,
26247
+ DATA_ATTR: Dt,
26248
26248
  ARIA_ATTR: Wt,
26249
26249
  IS_SCRIPT_OR_DATA: Qt,
26250
26250
  ATTR_WHITESPACE: ar,
@@ -26438,7 +26438,7 @@ function UA() {
26438
26438
  }, Ia = function(Ae, dt, Jt) {
26439
26439
  if (La[dt] || lr && (dt === "id" || dt === "name") && (Jt in er || Jt in ka))
26440
26440
  return !1;
26441
- if (!(mt && !La[dt] && W(Ct, dt))) {
26441
+ if (!(mt && !La[dt] && W(Dt, dt))) {
26442
26442
  if (!(Xe && W(Wt, dt))) {
26443
26443
  if (!(Pe.attributeCheck instanceof Function && Pe.attributeCheck(dt, Ae))) {
26444
26444
  if (!It[dt] || La[dt]) {
@@ -26936,7 +26936,7 @@ function dP(r, o) {
26936
26936
  return { query: r.slice(l, d).toLowerCase(), start: u, end: d };
26937
26937
  }
26938
26938
  function xD(r, o = {}) {
26939
- const { seedAccounts: l = [], apiLimit: u = 10 } = o, [d, f] = Q(null), [m, g] = Q([]), [v, w] = Q(0), b = Dt(r);
26939
+ const { seedAccounts: l = [], apiLimit: u = 10 } = o, [d, f] = Q(null), [m, g] = Q([]), [v, w] = Q(0), b = Ct(r);
26940
26940
  b.current = r;
26941
26941
  const _ = Bt(() => {
26942
26942
  const T = (l ?? []).map((j) => j.toLowerCase()), P = /* @__PURE__ */ new Set();
@@ -27134,7 +27134,7 @@ const _D = ({
27134
27134
  }) => {
27135
27135
  const [Cr, Pr] = Q(""), Xt = Sr !== void 0 ? Sr : Cr, ga = (fe) => {
27136
27136
  br ? br(fe) : Pr(fe);
27137
- }, [kt, Gt] = Q(!1), ne = ur || kt, [ue, ye] = Q(!1), [ke, rt] = Q(!1), [Et, cr] = Q(!1), [Mr, Er] = Q(!1), [Pt, Yr] = Q([]), [ca, oa] = Q(!1), [Mt, xt] = Q(!1), [Jr, Br] = Q(!1), [Nr, Je] = Q(kr), [zt, Ct] = Q(null), [Wt, Qt] = Q(0), [ar, nr] = Q(null), [qt, bt] = Q(null), [tr, It] = Q(null), [Vr, mr] = Q([]), [Ar, La] = Q(!1), [Pe, Xe] = Q(!1), [mt, Rt] = Q(!1), Qr = Dt(null), [fr, ea] = Q(null), [Zt, Xr] = Q(!1), Lr = Dt(null), Tr = Dt(0), Ir = Bt(() => {
27137
+ }, [kt, Gt] = Q(!1), ne = ur || kt, [ue, ye] = Q(!1), [ke, rt] = Q(!1), [Et, cr] = Q(!1), [Mr, Er] = Q(!1), [Pt, Yr] = Q([]), [ca, oa] = Q(!1), [Mt, xt] = Q(!1), [Jr, Br] = Q(!1), [Nr, Je] = Q(kr), [zt, Dt] = Q(null), [Wt, Qt] = Q(0), [ar, nr] = Q(null), [qt, bt] = Q(null), [tr, It] = Q(null), [Vr, mr] = Q([]), [Ar, La] = Q(!1), [Pe, Xe] = Q(!1), [mt, Rt] = Q(!1), Qr = Ct(null), [fr, ea] = Q(null), [Zt, Xr] = Q(!1), Lr = Ct(null), Tr = Ct(0), Ir = Bt(() => {
27138
27138
  const fe = [], $e = /* @__PURE__ */ new Set(), Qe = (at) => {
27139
27139
  const jt = (at || "").toLowerCase().trim();
27140
27140
  !jt || $e.has(jt) || ($e.add(jt), fe.push(jt));
@@ -27217,7 +27217,7 @@ const _D = ({
27217
27217
  We(() => {
27218
27218
  Re === void 0 && Ee?.(Vt);
27219
27219
  }, [Vt.map((fe) => `${fe.account}:${fe.weight}`).join("|")]);
27220
- const _e = Dt(null), Ze = Dt(null), [gt, Ut] = Q(null), aa = 224, zr = 8, Ia = (fe, $e) => {
27220
+ const _e = Ct(null), Ze = Ct(null), [gt, Ut] = Q(null), aa = 224, zr = 8, Ia = (fe, $e) => {
27221
27221
  if (!fe) return null;
27222
27222
  const Qe = fe.getBoundingClientRect(), at = window.innerWidth, jt = Math.min($e, Math.max(0, at - zr * 2)), Wr = Math.max(zr, Math.round((at - jt) / 2));
27223
27223
  return { top: Qe.bottom + 4, left: Wr, width: jt };
@@ -27257,7 +27257,7 @@ const _D = ({
27257
27257
  We(() => {
27258
27258
  !_t && Lr.current && Lr.current.focus();
27259
27259
  }, [_t]), We(() => {
27260
- Sr !== void 0 && Sr === "" && (Ct(null), Qt(0), qt && URL.revokeObjectURL(qt), nr(null), bt(null));
27260
+ Sr !== void 0 && Sr === "" && (Dt(null), Qt(0), qt && URL.revokeObjectURL(qt), nr(null), bt(null));
27261
27261
  }, [Sr]), We(() => {
27262
27262
  if (!y) {
27263
27263
  mr([]);
@@ -27384,7 +27384,7 @@ const _D = ({
27384
27384
  if (zt && (fe += `
27385
27385
  ${zt}`), ar && (fe += `
27386
27386
  ${ar}`), await Promise.resolve(r(fe)) === !1) return;
27387
- ga(""), Ct(null), Qt(0), nr(null), qt && URL.revokeObjectURL(qt), bt(null), ea(null), K?.(null), Yr([]);
27387
+ ga(""), Dt(null), Qt(0), nr(null), qt && URL.revokeObjectURL(qt), bt(null), ea(null), K?.(null), Yr([]);
27388
27388
  } catch (fe) {
27389
27389
  console.error("Failed to submit:", fe);
27390
27390
  } finally {
@@ -27401,7 +27401,7 @@ ${zt}`), ar && (fe += `
27401
27401
  ${ar}`), fe;
27402
27402
  },
27403
27403
  clear: () => {
27404
- ga(""), Ct(null), Qt(0), nr(null), qt && URL.revokeObjectURL(qt), bt(null), ea(null), K?.(null), Yr([]);
27404
+ ga(""), Dt(null), Qt(0), nr(null), qt && URL.revokeObjectURL(qt), bt(null), ea(null), K?.(null), Yr([]);
27405
27405
  }
27406
27406
  }), () => {
27407
27407
  xr && (xr.current = null);
@@ -27409,7 +27409,7 @@ ${ar}`), fe;
27409
27409
  const Fo = (fe) => {
27410
27410
  fe.key === "Enter" && (fe.metaKey || fe.ctrlKey) && (fe.preventDefault(), Un()), fe.key === "Escape" && o && o();
27411
27411
  }, Xn = () => {
27412
- Ct(null), Qt(0);
27412
+ Dt(null), Qt(0);
27413
27413
  }, yi = () => {
27414
27414
  qt && URL.revokeObjectURL(qt), nr(null), bt(null);
27415
27415
  }, Ki = Ot(() => {
@@ -27589,7 +27589,7 @@ ${ar}`), fe;
27589
27589
  oD,
27590
27590
  {
27591
27591
  onAudioUploaded: (fe, $e) => {
27592
- Ct(fe), Qt($e);
27592
+ Dt(fe), Qt($e);
27593
27593
  },
27594
27594
  username: l,
27595
27595
  threeSpeakApiKey: w,
@@ -28214,7 +28214,7 @@ ${fe}
28214
28214
  ] }) })
28215
28215
  ] }) });
28216
28216
  }, hP = ({ isVisible: r, searchQuery: o, onSearchChange: l, onClose: u }) => {
28217
- const d = Dt(null);
28217
+ const d = Ct(null);
28218
28218
  return We(() => {
28219
28219
  r && d.current && d.current.focus();
28220
28220
  }, [r]), /* @__PURE__ */ n("div", { className: `overflow-hidden transition-all duration-300 ease-in-out ${r ? "max-h-20 opacity-100" : "max-h-0 opacity-0"}`, children: /* @__PURE__ */ n("div", { className: "p-4 border-b border-gray-700 bg-gray-900/30", children: /* @__PURE__ */ x("div", { className: "relative", children: [
@@ -28404,7 +28404,7 @@ function y$(r = {}) {
28404
28404
  }, [o, l, u]);
28405
28405
  }
28406
28406
  const ND = ({ author: r, permlink: o, onClose: l, currentUser: u, token: d, onClickCommentUpvote: f, onClickCommentReply: m, onClickUpvoteButton: g, onSubmitComment: v, ecencyToken: w, threeSpeakApiKey: b, giphyApiKey: _, templateToken: y, templateApiBaseUrl: E, showVoteButton: O, parentTags: B, defaultReward: M, defaultBeneficiaries: T, beneficiaryFavorites: P, defaultVotePercent: j, voteWeightStep: $, allowLandscapeVideos: z, awaitingWalletApproval: C }) => {
28407
- const [q, I] = Q([]), [X, Y] = Q([]), [Z, W] = Q(!0), [re, ce] = Q(null), [le, G] = Q(null), [K, ee] = Q(!1), [xe, we] = Q(""), [Oe, He] = Q(!1), [ie, be] = Q(!1), ve = Dt({ enabled: !1, percent: 100 }), Te = Dt(T ?? []), Re = Ot(async (me = !1) => {
28407
+ const [q, I] = Q([]), [X, Y] = Q([]), [Z, W] = Q(!0), [re, ce] = Q(null), [le, G] = Q(null), [K, ee] = Q(!1), [xe, we] = Q(""), [Oe, He] = Q(!1), [ie, be] = Q(!1), ve = Ct({ enabled: !1, percent: 100 }), Te = Ct(T ?? []), Re = Ot(async (me = !1) => {
28408
28408
  me ? be(!0) : W(!0), ce(null);
28409
28409
  try {
28410
28410
  const Ve = await In.getCommentsList(r, o, u ?? "");
@@ -29111,7 +29111,7 @@ const jw = [
29111
29111
  ] })
29112
29112
  }
29113
29113
  ), x$ = ({ username: r, permlink: o, onAuthorClick: l, onVideoClick: u, onTagClick: d, onBack: f, onCommentsModal: m, onUpvotesModal: g, onDescriptionModal: v, onVideoInfo: w, onShare: b, onBookmark: _ } = {}) => {
29114
- const y = r, E = o, [O, B] = Q(null), [M, T] = Q(!0), [P, j] = Q(null), [$, z] = Q(!1), [C, q] = Q(null), [I, X] = Q(!1), [Y, Z] = Q(!1), [W, re] = Q(!1), [ce, le] = Q(!1), G = Dt(null), K = Dt(null), ee = Dt(null);
29114
+ const y = r, E = o, [O, B] = Q(null), [M, T] = Q(!0), [P, j] = Q(null), [$, z] = Q(!1), [C, q] = Q(null), [I, X] = Q(!1), [Y, Z] = Q(!1), [W, re] = Q(!1), [ce, le] = Q(!1), G = Ct(null), K = Ct(null), ee = Ct(null);
29115
29115
  We(() => {
29116
29116
  (async () => {
29117
29117
  if (!(!y || !E))
@@ -31333,7 +31333,7 @@ const yB = ({ tx: r }) => {
31333
31333
  ] })
31334
31334
  ] });
31335
31335
  }, xB = () => {
31336
- const { selectedCurrency: r, localCurrency: o, setSelectedCurrency: l, exchangeRates: u } = MD(), [d, f] = Q(!1), m = Dt(null);
31336
+ const { selectedCurrency: r, localCurrency: o, setSelectedCurrency: l, exchangeRates: u } = MD(), [d, f] = Q(!1), m = Ct(null);
31337
31337
  We(() => {
31338
31338
  const b = (_) => {
31339
31339
  m.current && !m.current.contains(_.target) && f(!1);
@@ -31569,7 +31569,7 @@ const wB = ({
31569
31569
  isLoadingMoreTransactions: X,
31570
31570
  isLoadingTransactions: Y,
31571
31571
  transactionError: Z
31572
- } = MD(), W = Dt(null);
31572
+ } = MD(), W = Ct(null);
31573
31573
  We(() => {
31574
31574
  r && (P(r), C(r));
31575
31575
  }, [r, P, C]);
@@ -32845,14 +32845,14 @@ function NB() {
32845
32845
  touchmove: Br,
32846
32846
  touchend: Nr,
32847
32847
  touchcancel: Je
32848
- }, Ct = {
32848
+ }, Dt = {
32849
32849
  touchstart: mr,
32850
32850
  touchmove: Vr,
32851
32851
  touchend: Vr,
32852
32852
  touchcancel: Vr
32853
32853
  }, Wt = {}, Qt = !1;
32854
32854
  function ar(c, k, D) {
32855
- return k === "touchstart" && It(), Ct[k] ? (D = Ct[k].bind(this, D), c.addEventListener(zt[k], D, !1), D) : (console.warn("wrong event specified:", k), _);
32855
+ return k === "touchstart" && It(), Dt[k] ? (D = Dt[k].bind(this, D), c.addEventListener(zt[k], D, !1), D) : (console.warn("wrong event specified:", k), _);
32856
32856
  }
32857
32857
  function nr(c, k, D) {
32858
32858
  if (!zt[k]) {
@@ -38186,7 +38186,7 @@ function NB() {
38186
38186
  var ub = NB();
38187
38187
  const SB = /* @__PURE__ */ XT(ub);
38188
38188
  function RD(r, o) {
38189
- const l = Dt(o);
38189
+ const l = Ct(o);
38190
38190
  We(function() {
38191
38191
  o !== l.current && r.attributionControl != null && (l.current != null && r.attributionControl.removeAttribution(l.current), o != null && r.attributionControl.addAttribution(o)), l.current = o;
38192
38192
  }, [
@@ -38249,7 +38249,7 @@ function LD(r) {
38249
38249
  }
38250
38250
  function MB(r) {
38251
38251
  return function(l) {
38252
- const u = e6(), d = r(l, u), { instance: f } = d.current, m = Dt(l.position), { position: g } = l;
38252
+ const u = e6(), d = r(l, u), { instance: f } = d.current, m = Ct(l.position), { position: g } = l;
38253
38253
  return We(function() {
38254
38254
  return f.addTo(u.map), function() {
38255
38255
  f.remove();
@@ -38266,7 +38266,7 @@ function MB(r) {
38266
38266
  };
38267
38267
  }
38268
38268
  function zD(r, o) {
38269
- const l = Dt(void 0);
38269
+ const l = Ct(void 0);
38270
38270
  We(function() {
38271
38271
  return o != null && r.instance.on(o), l.current = o, function() {
38272
38272
  l.current != null && r.instance.off(l.current), l.current = null;
@@ -38298,12 +38298,12 @@ function e_(r, o, l) {
38298
38298
  }
38299
38299
  function t_(r, o) {
38300
38300
  return o == null ? function(u, d) {
38301
- const f = Dt(void 0);
38301
+ const f = Ct(void 0);
38302
38302
  return f.current || (f.current = r(u, d)), f;
38303
38303
  } : function(u, d) {
38304
- const f = Dt(void 0);
38304
+ const f = Ct(void 0);
38305
38305
  f.current || (f.current = r(u, d));
38306
- const m = Dt(u), { instance: g } = f.current;
38306
+ const m = Ct(u), { instance: g } = f.current;
38307
38307
  return We(function() {
38308
38308
  m.current !== u && (o(g, u, m.current), m.current = u);
38309
38309
  }, [
@@ -38357,7 +38357,7 @@ function HB({ bounds: r, boundsOptions: o, center: l, children: u, className: d,
38357
38357
  className: d,
38358
38358
  id: f,
38359
38359
  style: g
38360
- }), [E, O] = Q(null), B = Dt(void 0);
38360
+ }), [E, O] = Q(null), B = Ct(void 0);
38361
38361
  D3(_, () => E?.map ?? null, [
38362
38362
  E
38363
38363
  ]);
@@ -38554,7 +38554,7 @@ function JB({
38554
38554
  onCommentClick: _,
38555
38555
  onReblogClick: y
38556
38556
  }) {
38557
- const [E, O] = Q([]), [B, M] = Q(!0), [T, P] = Q(null), [j, $] = Q(r), [z, C] = Q(!0), [q, I] = Q(!1), X = Dt(null);
38557
+ const [E, O] = Q([]), [B, M] = Q(!0), [T, P] = Q(null), [j, $] = Q(r), [z, C] = Q(!0), [q, I] = Q(!1), X = Ct(null);
38558
38558
  new Y3.DefaultRenderer({
38559
38559
  baseUrl: "https://hive.blog/",
38560
38560
  breaks: !0,
@@ -38995,7 +38995,7 @@ function X1({
38995
38995
  });
38996
38996
  }, zt = () => {
38997
38997
  oa("Reblog", () => O?.());
38998
- }, Ct = () => {
38998
+ }, Dt = () => {
38999
38999
  oa("Re-snap", () => B?.());
39000
39000
  }, Wt = () => {
39001
39001
  oa("Report", () => P?.());
@@ -39149,7 +39149,7 @@ function X1({
39149
39149
  {
39150
39150
  onEdit: E,
39151
39151
  onReblog: O ? zt : void 0,
39152
- onReSnap: B ? Ct : void 0,
39152
+ onReSnap: B ? Dt : void 0,
39153
39153
  onShare: ar,
39154
39154
  onTip: T ? Qt : void 0,
39155
39155
  onReport: vt ? Wt : void 0,
@@ -39431,7 +39431,7 @@ function uU(r, o, l) {
39431
39431
  };
39432
39432
  }
39433
39433
  function jm({ author: r, permlink: o, hideThumbnail: l = !1 }) {
39434
- const [u, d] = Q(null), [f, m] = Q(null), [g, v] = Q(null), [w, b] = Q(!1), _ = Dt(null);
39434
+ const [u, d] = Q(null), [f, m] = Q(null), [g, v] = Q(null), [w, b] = Q(!1), _ = Ct(null);
39435
39435
  We(() => {
39436
39436
  let P = !1;
39437
39437
  return d(null), m(null), v(null), b(!1), lU(r, o, () => P).then((j) => {
@@ -39494,7 +39494,7 @@ function jm({ author: r, permlink: o, hideThumbnail: l = !1 }) {
39494
39494
  const Iw = 1, Fw = 4, i1 = 0.5, $D = ({ items: r, startIndex: o = 0, onClose: l }) => {
39495
39495
  const [u, d] = Q(
39496
39496
  () => Math.max(0, Math.min(o, Math.max(0, r.length - 1)))
39497
- ), [f, m] = Q(1), [g, v] = Q(0), [w, b] = Q(0), _ = Dt(null), [y, E] = Q(!1), O = r.length === 0 ? 0 : Math.max(0, Math.min(u, r.length - 1)), B = r[O], M = B?.kind === "image";
39497
+ ), [f, m] = Q(1), [g, v] = Q(0), [w, b] = Q(0), _ = Ct(null), [y, E] = Q(!1), O = r.length === 0 ? 0 : Math.max(0, Math.min(u, r.length - 1)), B = r[O], M = B?.kind === "image";
39498
39498
  if (We(() => {
39499
39499
  m(1), v(0), b(0), E(!1);
39500
39500
  }, [O]), We(() => {
@@ -39729,20 +39729,25 @@ const cU = (r) => {
39729
39729
  let o = r;
39730
39730
  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;
39731
39731
  }, fU = ({ media: r }) => {
39732
- const [o, l] = Q(!1), u = r.kind + ":" + ("url" in r ? r.url : r.id);
39732
+ const [o, l] = Q(!1), u = Ct(null), d = r.kind + ":" + ("url" in r ? r.url : r.id);
39733
39733
  return We(() => {
39734
39734
  l(!1);
39735
- }, [u]), r.kind === "image" ? /* @__PURE__ */ x(yr, { children: [
39735
+ const f = u.current;
39736
+ f && f.complete && f.naturalWidth > 0 && l(!0);
39737
+ }, [d]), r.kind === "image" ? /* @__PURE__ */ x(yr, { children: [
39736
39738
  !o && /* @__PURE__ */ n("span", { className: "absolute inset-0 z-10 flex items-center justify-center bg-black/20 pointer-events-none", children: /* @__PURE__ */ n(Sa, { className: "h-5 w-5 animate-spin text-white/80" }) }),
39737
39739
  /* @__PURE__ */ n(
39738
39740
  "img",
39739
39741
  {
39742
+ ref: u,
39740
39743
  src: r.url,
39741
39744
  alt: "",
39745
+ loading: "lazy",
39746
+ decoding: "async",
39742
39747
  className: "absolute inset-0 h-full w-full object-cover",
39743
39748
  onLoad: () => l(!0),
39744
- onError: (d) => {
39745
- l(!0), d.target.style.display = "none";
39749
+ onError: (f) => {
39750
+ l(!0), f.target.style.display = "none";
39746
39751
  }
39747
39752
  }
39748
39753
  )
@@ -39751,12 +39756,15 @@ const cU = (r) => {
39751
39756
  /* @__PURE__ */ n(
39752
39757
  "img",
39753
39758
  {
39759
+ ref: u,
39754
39760
  src: `https://i.ytimg.com/vi/${r.id}/hqdefault.jpg`,
39755
39761
  alt: "",
39762
+ loading: "lazy",
39763
+ decoding: "async",
39756
39764
  className: "absolute inset-0 h-full w-full object-cover opacity-90",
39757
39765
  onLoad: () => l(!0),
39758
- onError: (d) => {
39759
- l(!0), d.target.style.display = "none";
39766
+ onError: (f) => {
39767
+ l(!0), f.target.style.display = "none";
39760
39768
  }
39761
39769
  }
39762
39770
  ),
@@ -39939,6 +39947,8 @@ const cU = (r) => {
39939
39947
  {
39940
39948
  src: `https://images.hive.blog/u/${ee.author}/avatar`,
39941
39949
  alt: ee.author,
39950
+ loading: "lazy",
39951
+ decoding: "async",
39942
39952
  className: "h-7 w-7 flex-shrink-0 rounded-full bg-[var(--hrk-bg-surface-sunken)] object-cover ring-1 ring-[var(--hrk-border-subtle)] sm:h-9 sm:w-9",
39943
39953
  onError: (ge) => {
39944
39954
  ge.target.src = `https://ui-avatars.com/api/?name=${ee.author}&background=random&size=40`;
@@ -40050,7 +40060,7 @@ const cU = (r) => {
40050
40060
  }
40051
40061
  )
40052
40062
  ] }), pU = ({ onLoadMore: r, loadingMore: o }) => {
40053
- const l = Dt(null), u = Dt(r), d = Dt(!!o);
40063
+ const l = Ct(null), u = Ct(r), d = Ct(!!o);
40054
40064
  return We(() => {
40055
40065
  u.current = r;
40056
40066
  }, [r]), We(() => {
@@ -40188,7 +40198,7 @@ function n3({
40188
40198
  languages: o = r6,
40189
40199
  minLength: l = 2
40190
40200
  }) {
40191
- const u = Dt(null), [d, f] = Q(null), [m, g] = Q(null), [v, w] = Q(() => oT()), [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(null);
40201
+ const u = Ct(null), [d, f] = Q(null), [m, g] = Q(null), [v, w] = Q(() => oT()), [b, _] = Q(!1), [y, E] = Q(!1), [O, B] = Q(null), [M, T] = Q(null);
40192
40202
  We(() => {
40193
40203
  const C = () => {
40194
40204
  if (m) return;
@@ -40316,7 +40326,7 @@ function _U({
40316
40326
  onPickLanguage: v,
40317
40327
  onClose: w
40318
40328
  }) {
40319
- const b = Dt(null), [_, y] = Q(r), [E, O] = Q(0);
40329
+ const b = Ct(null), [_, y] = Q(r), [E, O] = Q(0);
40320
40330
  $m(() => {
40321
40331
  const C = typeof window < "u" ? window.innerWidth : 0, q = typeof window < "u" ? window.innerHeight : 0, I = Math.max(
40322
40332
  8,
@@ -40341,7 +40351,7 @@ function _U({
40341
40351
  window.clearTimeout(q), document.removeEventListener("mousedown", C);
40342
40352
  };
40343
40353
  }, [w]);
40344
- const [B, M] = Q({ dx: 0, dy: 0 }), T = Dt(null), P = Ot((C) => {
40354
+ const [B, M] = Q({ dx: 0, dy: 0 }), T = Ct(null), P = Ot((C) => {
40345
40355
  const q = C.target;
40346
40356
  if (!(q && q.closest("button"))) {
40347
40357
  C.preventDefault(), C.stopPropagation(), T.current = {
@@ -41128,7 +41138,7 @@ const VU = ({ author: r, permlink: o }) => /* @__PURE__ */ n("div", { className:
41128
41138
  }
41129
41139
  );
41130
41140
  }, s1 = 1, uT = 0.25, IU = 0.15, XD = ({ src: r }) => {
41131
- const [o, l] = Q(1), [u, d] = Q(3), [f, m] = Q({ x: 0, y: 0 }), g = Dt(null), v = Dt(null), w = Dt(null), b = Dt(null), _ = Ot(() => {
41141
+ const [o, l] = Q(1), [u, d] = Q(3), [f, m] = Q({ x: 0, y: 0 }), g = Ct(null), v = Ct(null), w = Ct(null), b = Ct(null), _ = Ot(() => {
41132
41142
  l(1), m({ x: 0, y: 0 });
41133
41143
  }, []);
41134
41144
  We(() => {
@@ -41514,7 +41524,7 @@ const VU = ({ author: r, permlink: o }) => /* @__PURE__ */ n("div", { className:
41514
41524
  }
41515
41525
  );
41516
41526
  }, YU = ({ attachments: r }) => {
41517
- const [o, l] = Q(0), [u, d] = Q(null), [f, m] = Q(0), [g, v] = Q(/* @__PURE__ */ new Set()), [w, b] = Q(!1), _ = Dt(null);
41527
+ const [o, l] = Q(0), [u, d] = Q(null), [f, m] = Q(0), [g, v] = Q(/* @__PURE__ */ new Set()), [w, b] = Q(!1), _ = Ct(null);
41518
41528
  if (We(() => () => {
41519
41529
  _.current && clearTimeout(_.current);
41520
41530
  }, []), r.length === 0) return null;
@@ -42072,9 +42082,9 @@ const QU = ({
42072
42082
  emptyMessage: f = "Nothing to show.",
42073
42083
  ...m
42074
42084
  }) => {
42075
- const g = Dt(d), v = Dt(!!l), w = Dt(!!u);
42085
+ const g = Ct(d), v = Ct(!!l), w = Ct(!!u);
42076
42086
  g.current = d, v.current = !!l, w.current = !!u;
42077
- const b = Dt(null), _ = Ot((y) => {
42087
+ const b = Ct(null), _ = Ot((y) => {
42078
42088
  if (b.current && (b.current.disconnect(), b.current = null), !y) return;
42079
42089
  const E = JU(y), O = new IntersectionObserver(
42080
42090
  (B) => {
@@ -42215,7 +42225,7 @@ function WD({
42215
42225
  We(() => {
42216
42226
  cT = Ee;
42217
42227
  }, [Ee]);
42218
- const he = Dt({}), ge = Ot(
42228
+ const he = Ct({}), ge = Ot(
42219
42229
  (tt) => (Ht) => {
42220
42230
  const pt = he.current[tt];
42221
42231
  if (pt && pt !== Ht && (o1[tt] = pt.scrollTop), he.current[tt] = Ht, Ht && o1[tt] > 0) {
@@ -42337,7 +42347,7 @@ function WD({
42337
42347
  ] }, tt)) }),
42338
42348
  He
42339
42349
  ] });
42340
- const Se = Dt(null);
42350
+ const Se = Ct(null);
42341
42351
  return We(() => {
42342
42352
  const tt = Se.current;
42343
42353
  if (!tt) return;
@@ -42997,7 +43007,7 @@ const dT = Yg.getInstance(), aH = ["All", "Active", "Upcoming", "Expired", "By P
42997
43007
  onClickAddRemoveFromLists: l,
42998
43008
  onClickFollow: u
42999
43009
  }) => {
43000
- const [d, f] = Q([]), [m, g] = Q([]), [v, w] = Q({}), [b, _] = Q(!0), [y, E] = Q(null), [O, B] = Q(null), M = Dt(null), T = async () => {
43010
+ const [d, f] = Q([]), [m, g] = Q([]), [v, w] = Q({}), [b, _] = Q(!0), [y, E] = Q(null), [O, B] = Q(null), M = Ct(null), T = async () => {
43001
43011
  try {
43002
43012
  _(!0), E(null);
43003
43013
  const $ = await hr.getFollowers(r);
@@ -43264,7 +43274,7 @@ const dT = Yg.getInstance(), aH = ["All", "Active", "Upcoming", "Expired", "By P
43264
43274
  onClickAddRemoveFromLists: l,
43265
43275
  onClickUnfollow: u
43266
43276
  }) => {
43267
- const [d, f] = Q([]), [m, g] = Q([]), [v, w] = Q({}), [b, _] = Q(!0), [y, E] = Q(null), [O, B] = Q(null), M = Dt(null), T = async () => {
43277
+ const [d, f] = Q([]), [m, g] = Q([]), [v, w] = Q({}), [b, _] = Q(!0), [y, E] = Q(null), [O, B] = Q(null), M = Ct(null), T = async () => {
43268
43278
  try {
43269
43279
  _(!0), E(null);
43270
43280
  const $ = await hr.getFollowing(r);
@@ -44042,7 +44052,7 @@ const Lh = new sH(), Ik = [
44042
44052
  ]
44043
44053
  }
44044
44054
  ], oH = ({ value: r, onChange: o }) => {
44045
- const [l, u] = Q(!1), [d, f] = Q(""), m = Dt(null), g = Dt(null), v = Bt(() => {
44055
+ const [l, u] = Q(!1), [d, f] = Q(""), m = Ct(null), g = Ct(null), v = Bt(() => {
44046
44056
  if (r === "all") return "All";
44047
44057
  for (const _ of Ik) {
44048
44058
  const y = _.options.find((E) => E.value === r);
@@ -44182,7 +44192,7 @@ const Lh = new sH(), Ik = [
44182
44192
  onSelectActivity: m,
44183
44193
  scrollRootRef: g
44184
44194
  }) => {
44185
- const [v, w] = Q(o), [b, _] = Q(l), [y, E] = Q([]), [O, B] = Q([]), [M, T] = Q(!1), [P, j] = Q(null), [$, z] = Q(/* @__PURE__ */ new Set()), [C, q] = Q(null), [I, X] = Q(!0), [Y, Z] = Q(!1), [W, re] = Q(-1), ce = Dt(null), le = Dt(null), G = Dt(-1), K = Dt(!0), ee = Dt(!1), [xe, we] = Q(null);
44195
+ const [v, w] = Q(o), [b, _] = Q(l), [y, E] = Q([]), [O, B] = Q([]), [M, T] = Q(!1), [P, j] = Q(null), [$, z] = Q(/* @__PURE__ */ new Set()), [C, q] = Q(null), [I, X] = Q(!0), [Y, Z] = Q(!1), [W, re] = Q(-1), ce = Ct(null), le = Ct(null), G = Ct(-1), K = Ct(!0), ee = Ct(!1), [xe, we] = Q(null);
44186
44196
  We(() => {
44187
44197
  let Ee = !1;
44188
44198
  return fetch(Su(), {
@@ -45274,7 +45284,7 @@ const Rl = new uH(), _s = ZT((r, o) => ({
45274
45284
  }) => {
45275
45285
  const m = kD(), g = _s((ie) => ie.witnesses), v = _s((ie) => ie.userWitnessVotes), w = _s((ie) => ie.loadingWitnesses), b = _s((ie) => ie.error), _ = _s((ie) => ie.selectedWitness), y = _s((ie) => ie.witnessVotes), E = _s((ie) => ie.hasMoreVotes), O = _s((ie) => ie.loadingMoreVotes), B = _s((ie) => ie.loadingVotes), M = _s((ie) => ie.filters), T = _s((ie) => ie.hasMoreWitnesses), P = _s((ie) => ie.loadingWitnesses), j = _s((ie) => ie.witnessDetails);
45276
45286
  _s((ie) => ie.witnessAccounts);
45277
- const $ = _s((ie) => ie.loadWitnesses), z = _s((ie) => ie.loadMoreWitnesses), C = _s((ie) => ie.loadWitnessVotes), q = _s((ie) => ie.loadMoreVotes), I = _s((ie) => ie.loadUserWitnessVotes), X = _s((ie) => ie.setFilters), [Y, Z] = Q(!1), [W, re] = Q(!1), ce = Dt(null), le = Dt(null), G = Dt(null), K = Ot((ie) => {
45287
+ const $ = _s((ie) => ie.loadWitnesses), z = _s((ie) => ie.loadMoreWitnesses), C = _s((ie) => ie.loadWitnessVotes), q = _s((ie) => ie.loadMoreVotes), I = _s((ie) => ie.loadUserWitnessVotes), X = _s((ie) => ie.setFilters), [Y, Z] = Q(!1), [W, re] = Q(!1), ce = Ct(null), le = Ct(null), G = Ct(null), K = Ot((ie) => {
45278
45288
  ie[0].isIntersecting && T && !P && z();
45279
45289
  }, [T, P, z]);
45280
45290
  We(() => {
@@ -47998,7 +48008,7 @@ Error generating stack: ` + N.message + `
47998
48008
  K.p = h;
47999
48009
  }
48000
48010
  }
48001
- var Nr = Math.random().toString(36).slice(2), Je = "__reactFiber$" + Nr, zt = "__reactProps$" + Nr, Ct = "__reactContainer$" + Nr, Wt = "__reactEvents$" + Nr, Qt = "__reactListeners$" + Nr, ar = "__reactHandles$" + Nr, nr = "__reactResources$" + Nr, qt = "__reactMarker$" + Nr;
48011
+ var Nr = Math.random().toString(36).slice(2), Je = "__reactFiber$" + Nr, zt = "__reactProps$" + Nr, Dt = "__reactContainer$" + Nr, Wt = "__reactEvents$" + Nr, Qt = "__reactListeners$" + Nr, ar = "__reactHandles$" + Nr, nr = "__reactResources$" + Nr, qt = "__reactMarker$" + Nr;
48002
48012
  function bt(a) {
48003
48013
  delete a[Je], delete a[zt], delete a[Wt], delete a[Qt], delete a[ar];
48004
48014
  }
@@ -48006,7 +48016,7 @@ Error generating stack: ` + N.message + `
48006
48016
  var s = a[Je];
48007
48017
  if (s) return s;
48008
48018
  for (var h = a.parentNode; h; ) {
48009
- if (s = h[Ct] || h[Je]) {
48019
+ if (s = h[Dt] || h[Je]) {
48010
48020
  if (h = s.alternate, s.child !== null || h !== null && h.child !== null)
48011
48021
  for (a = Sl(a); a !== null; ) {
48012
48022
  if (h = a[Je]) return h;
@@ -48019,7 +48029,7 @@ Error generating stack: ` + N.message + `
48019
48029
  return null;
48020
48030
  }
48021
48031
  function It(a) {
48022
- if (a = a[Je] || a[Ct]) {
48032
+ if (a = a[Je] || a[Dt]) {
48023
48033
  var s = a.tag;
48024
48034
  if (s === 5 || s === 6 || s === 13 || s === 31 || s === 26 || s === 27 || s === 3)
48025
48035
  return a;
@@ -54985,7 +54995,7 @@ Error generating stack: ` + N.message + `
54985
54995
  }
54986
54996
  if ((s & 7) === 0) {
54987
54997
  e: {
54988
- if (lt = a === "mouseover" || a === "pointerover", ht = a === "mouseout" || a === "pointerout", lt && h !== Ja && (Rr = h.relatedTarget || h.fromElement) && (tr(Rr) || Rr[Ct]))
54998
+ if (lt = a === "mouseover" || a === "pointerover", ht = a === "mouseout" || a === "pointerout", lt && h !== Ja && (Rr = h.relatedTarget || h.fromElement) && (tr(Rr) || Rr[Dt]))
54989
54999
  break e;
54990
55000
  if ((ht || lt) && (lt = yt.window === yt ? yt : (lt = yt.ownerDocument) ? lt.defaultView || lt.parentWindow : window, ht ? (Rr = h.relatedTarget || h.toElement, ht = st, Rr = Rr ? tr(Rr) : null, Rr !== null && (ai = f(Rr), pa = Rr.tag, Rr !== ai || pa !== 5 && pa !== 27 && pa !== 6) && (Rr = null)) : (ht = null, Rr = st), ht !== Rr)) {
54991
55001
  if (pa = Ae, Nt = "onMouseLeave", et = "onMouseEnter", Fe = "mouse", (a === "pointerout" || a === "pointerover") && (pa = $e, Nt = "onPointerLeave", et = "onPointerEnter", Fe = "pointer"), ai = ht == null ? lt : Vr(ht), nt = Rr == null ? lt : Vr(Rr), lt = new pa(
@@ -57084,7 +57094,7 @@ Error generating stack: ` + N.message + `
57084
57094
  if (a !== null) {
57085
57095
  this._internalRoot = null;
57086
57096
  var s = a.containerInfo;
57087
- Xx(a.current, 2, null, a, null, null), $f(), s[Ct] = null;
57097
+ Xx(a.current, 2, null, a, null, null), $f(), s[Dt] = null;
57088
57098
  }
57089
57099
  };
57090
57100
  function og(a) {
@@ -57146,7 +57156,7 @@ Error generating stack: ` + N.message + `
57146
57156
  U,
57147
57157
  te,
57148
57158
  Rv
57149
- ), a[Ct] = s.current, Zf(a), new sg(s);
57159
+ ), a[Dt] = s.current, Zf(a), new sg(s);
57150
57160
  }, l1.hydrateRoot = function(a, s, h) {
57151
57161
  if (!d(a)) throw Error(u(299));
57152
57162
  var N = !1, R = "", U = vp, te = zb, de = yp, Ue = null;
@@ -57163,7 +57173,7 @@ Error generating stack: ` + N.message + `
57163
57173
  te,
57164
57174
  de,
57165
57175
  Rv
57166
- ), s.context = Ad(null), h = s.current, N = mo(), N = Mt(N), R = Uu(N), R.callback = null, Ao(h, R, N), h = N, s.current.lanes = h, Er(s, h), su(s), a[Ct] = s.current, Zf(a), new og(s);
57176
+ ), s.context = Ad(null), h = s.current, N = mo(), N = Mt(N), R = Uu(N), R.callback = null, Ao(h, R, N), h = N, s.current.lanes = h, Er(s, h), su(s), a[Dt] = s.current, Zf(a), new og(s);
57167
57177
  }, l1.version = "19.2.7", l1;
57168
57178
  }
57169
57179
  var u1 = {};
@@ -58345,7 +58355,7 @@ Error generating stack: ` + F.message + `
58345
58355
  t.type
58346
58356
  ), Lv = !0);
58347
58357
  }
58348
- function Ct(e, t, i, p, S, A, H, F) {
58358
+ function Dt(e, t, i, p, S, A, H, F) {
58349
58359
  e.name = "", H != null && typeof H != "function" && typeof H != "symbol" && typeof H != "boolean" ? (ze(H, "type"), e.type = H) : e.removeAttribute("type"), t != null ? H === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + oa(t)) : e.value !== "" + oa(t) && (e.value = "" + oa(t)) : H !== "submit" && H !== "reset" || e.removeAttribute("value"), t != null ? Qt(e, H, oa(t)) : i != null ? Qt(e, H, oa(i)) : p != null && e.removeAttribute("value"), S == null && A != null && (e.defaultChecked = !!A), S != null && (e.checked = S && typeof S != "function" && typeof S != "symbol"), F != null && typeof F != "function" && typeof F != "symbol" && typeof F != "boolean" ? (ze(F, "name"), e.name = "" + oa(F)) : e.removeAttribute("name");
58350
58360
  }
58351
58361
  function Wt(e, t, i, p, S, A, H, F) {
@@ -59265,7 +59275,7 @@ This will cause a hydration error.%s`,
59265
59275
  var i = e[ao] || null;
59266
59276
  e: switch (e = t.stateNode, t.type) {
59267
59277
  case "input":
59268
- if (Ct(
59278
+ if (Dt(
59269
59279
  e,
59270
59280
  i.value,
59271
59281
  i.defaultValue,
@@ -59288,7 +59298,7 @@ This will cause a hydration error.%s`,
59288
59298
  throw Error(
59289
59299
  "ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."
59290
59300
  );
59291
- Ct(
59301
+ Dt(
59292
59302
  p,
59293
59303
  S.value,
59294
59304
  S.defaultValue,
@@ -69658,7 +69668,7 @@ This ensures that you're testing the behavior the user would see in the browser.
69658
69668
  "A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
69659
69669
  ), V5 = !0), !t || p || q5 || (console.error(
69660
69670
  "A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
69661
- ), q5 = !0), Ct(
69671
+ ), q5 = !0), Dt(
69662
69672
  e,
69663
69673
  H,
69664
69674
  F,
@@ -74202,7 +74212,7 @@ function NH({
74202
74212
  onSelectLanguage: o,
74203
74213
  languages: l = r6
74204
74214
  }) {
74205
- const [u, d] = Q(!1), [f, m] = Q(null), g = Dt(null), v = Dt(null);
74215
+ const [u, d] = Q(!1), [f, m] = Q(null), g = Ct(null), v = Ct(null);
74206
74216
  $m(() => {
74207
74217
  if (!u) {
74208
74218
  m(null);
@@ -74323,7 +74333,7 @@ function e9({
74323
74333
  awaitingWalletApproval: K = !1,
74324
74334
  renderOptions: ee
74325
74335
  }) {
74326
- const xe = Dt(null), [we, Oe] = Q(!1), [He, ie] = Q(!0), [be, ve] = Q(!1), [Te, Re] = Q(!1), [Ye, Ee] = Q(!1), [je, he] = Q(!1), [ge, me] = Q(!1), [Ve, Ce] = Q(""), [ze, Se] = Q(!1), [tt, Ht] = Q(""), pt = Dt(W ?? []), vt = (ke) => {
74336
+ const xe = Ct(null), [we, Oe] = Q(!1), [He, ie] = Q(!0), [be, ve] = Q(!1), [Te, Re] = Q(!1), [Ye, Ee] = Q(!1), [je, he] = Q(!1), [ge, me] = Q(!1), [Ve, Ce] = Q(""), [ze, Se] = Q(!1), [tt, Ht] = Q(""), pt = Ct(W ?? []), vt = (ke) => {
74327
74337
  Ce(ke), me(!0), setTimeout(() => me(!1), 2500);
74328
74338
  }, kr = Bt(() => {
74329
74339
  if (!m) return !1;
@@ -75005,7 +75015,7 @@ function EH({
75005
75015
  Ye(`${ur}/${dr}`);
75006
75016
  }, Ht = () => {
75007
75017
  Ye(null);
75008
- }, pt = Dt({ enabled: !1, percent: 100 }), vt = Dt(W ?? []), kr = async (ur, dr, xr, Gr) => {
75018
+ }, pt = Ct({ enabled: !1, percent: 100 }), vt = Ct(W ?? []), kr = async (ur, dr, xr, Gr) => {
75009
75019
  const sa = ur === r && dr === o, { enabled: $t, percent: _t } = pt.current, er = sa && $t ? _t : null, Ft = Gr ?? vt.current;
75010
75020
  if (d) {
75011
75021
  try {
@@ -75540,7 +75550,7 @@ function C$({
75540
75550
  renderOptions: me,
75541
75551
  awaitingWalletApproval: Ve = !1
75542
75552
  }) {
75543
- const Ce = Bt(() => Z ? Array.isArray(Z) ? Z.length === 0 ? {} : Z.length === 1 ? { background: Z[0] } : { background: `linear-gradient(to bottom, ${Z.join(", ")})` } : { background: Z } : {}, [Z]), ze = Bt(() => Z ? Array.isArray(Z) ? { backgroundColor: Z[0], opacity: 0.97 } : { backgroundColor: Z } : {}, [Z]), [Se, tt] = Q(null), { text: Ht } = UD(Se?.title), [pt, vt] = Q(null), [kr, Sr] = Q(!0), [br, ur] = Q(null), [dr, xr] = Q(null), [Gr, sa] = Q(!1), [$t, _t] = Q(!1), [er, Ft] = Q(!1), rr = Dt(null), Cr = Dt(null), [Pr, Xt] = Q([]), [ga, kt] = Q(!1), [Gt, ne] = Q([]), ue = Bt(() => {
75553
+ const Ce = Bt(() => Z ? Array.isArray(Z) ? Z.length === 0 ? {} : Z.length === 1 ? { background: Z[0] } : { background: `linear-gradient(to bottom, ${Z.join(", ")})` } : { background: Z } : {}, [Z]), ze = Bt(() => Z ? Array.isArray(Z) ? { backgroundColor: Z[0], opacity: 0.97 } : { backgroundColor: Z } : {}, [Z]), [Se, tt] = Q(null), { text: Ht } = UD(Se?.title), [pt, vt] = Q(null), [kr, Sr] = Q(!0), [br, ur] = Q(null), [dr, xr] = Q(null), [Gr, sa] = Q(!1), [$t, _t] = Q(!1), [er, Ft] = Q(!1), rr = Ct(null), Cr = Ct(null), [Pr, Xt] = Q([]), [ga, kt] = Q(!1), [Gt, ne] = Q([]), ue = Bt(() => {
75544
75554
  try {
75545
75555
  return lb({
75546
75556
  baseUrl: me?.postBaseUrl ?? "https://peakd.com/",
@@ -75582,9 +75592,9 @@ function C$({
75582
75592
  const Wt = Je(zt.url);
75583
75593
  if (Wt) return Wt;
75584
75594
  }
75585
- const Ct = ye?.links;
75586
- if (Array.isArray(Ct))
75587
- for (const Wt of Ct) {
75595
+ const Dt = ye?.links;
75596
+ if (Array.isArray(Dt))
75597
+ for (const Wt of Dt) {
75588
75598
  const Qt = Je(Wt);
75589
75599
  if (Qt) return Qt;
75590
75600
  }
@@ -75601,34 +75611,34 @@ function C$({
75601
75611
  () => WB(Et),
75602
75612
  [Et]
75603
75613
  ), Mr = Bt(() => {
75604
- const Je = [], zt = /* @__PURE__ */ new Set(), Ct = (Wt) => {
75614
+ const Je = [], zt = /* @__PURE__ */ new Set(), Dt = (Wt) => {
75605
75615
  const Qt = (Wt || "").toLowerCase().trim();
75606
75616
  !Qt || zt.has(Qt) || (zt.add(Qt), Je.push(Qt));
75607
75617
  };
75608
- Ct(Se?.author);
75609
- for (const Wt of lP(Et)) Ct(Wt);
75618
+ Dt(Se?.author);
75619
+ for (const Wt of lP(Et)) Dt(Wt);
75610
75620
  return Je;
75611
75621
  }, [Se?.author, Et]), Er = Bt(() => {
75612
75622
  if (!Et) return [];
75613
- const Je = new RegExp(Hh.source, Hh.flags), zt = /* @__PURE__ */ new Set(), Ct = [];
75623
+ const Je = new RegExp(Hh.source, Hh.flags), zt = /* @__PURE__ */ new Set(), Dt = [];
75614
75624
  let Wt;
75615
75625
  for (; (Wt = Je.exec(Et)) !== null; ) {
75616
75626
  const Qt = Wt[0];
75617
- zt.has(Qt) || (zt.add(Qt), Ct.push(Qt));
75627
+ zt.has(Qt) || (zt.add(Qt), Dt.push(Qt));
75618
75628
  }
75619
- return Ct;
75629
+ return Dt;
75620
75630
  }, [Et]), Pt = Bt(() => {
75621
75631
  if (!Et) return [];
75622
- const Je = /* @__PURE__ */ new Set(), zt = [], Ct = (nr, qt) => {
75632
+ const Je = /* @__PURE__ */ new Set(), zt = [], Dt = (nr, qt) => {
75623
75633
  const bt = `${nr}/${qt}`;
75624
75634
  Je.has(bt) || (Je.add(bt), zt.push({ author: nr, permlink: qt }));
75625
75635
  }, Wt = /https?:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?(?:[^\s"'<>]*[?&])?v=([a-z0-9.-]+)\/([a-z0-9.-]+)/gi;
75626
75636
  let Qt;
75627
75637
  for (; (Qt = Wt.exec(Et)) !== null; )
75628
- Ct(Qt[1].toLowerCase(), Qt[2].toLowerCase());
75638
+ Dt(Qt[1].toLowerCase(), Qt[2].toLowerCase());
75629
75639
  const ar = /https?:\/\/(?:[a-z0-9-]+\.)?3speak\.tv\/v\/([a-z0-9.-]+)\/([a-z0-9.-]+)/gi;
75630
75640
  for (; (Qt = ar.exec(Et)) !== null; )
75631
- Ct(Qt[1].toLowerCase(), Qt[2].toLowerCase());
75641
+ Dt(Qt[1].toLowerCase(), Qt[2].toLowerCase());
75632
75642
  return zt;
75633
75643
  }, [Et]), Yr = Bt(() => {
75634
75644
  if (!Et || !ue) return "";
@@ -75658,30 +75668,30 @@ function C$({
75658
75668
  /https?:\/\/(?:[a-z0-9-]+\.)?3speak\.tv\/v\/[a-z0-9.-]+\/[a-z0-9.-]+[^\s"'<>]*/gi,
75659
75669
  ""
75660
75670
  );
75661
- let Ct = ue(Je);
75662
- Ct = Ct.replace(/<div>\(Unsupported[^<]*\)<\/div>/gi, "");
75671
+ let Dt = ue(Je);
75672
+ Dt = Dt.replace(/<div>\(Unsupported[^<]*\)<\/div>/gi, "");
75663
75673
  const Wt = !1, Qt = (ar) => {
75664
75674
  const nr = ar.indexOf("/");
75665
75675
  if (nr < 1) return "";
75666
75676
  const qt = ar.slice(0, nr), bt = ar.slice(nr + 1);
75667
75677
  return `<div class="threeSpeakEmbed" data-author="${qt}" data-permlink="${bt}"></div>`;
75668
75678
  };
75669
- return Ct = Ct.replace(
75679
+ return Dt = Dt.replace(
75670
75680
  /<iframe\s[^>]*src="https:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?v=([^"&]+\/[^"&]+)[^"]*"[^>]*>(?:<\/iframe>)?/gi,
75671
75681
  (ar, nr) => Qt(nr)
75672
- ), Ct = Ct.replace(
75682
+ ), Dt = Dt.replace(
75673
75683
  /<a\s[^>]*href="https:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?v=([^"&]+\/[^"&]+)[^"]*"[^>]*>[^<]*<\/a>/gi,
75674
75684
  (ar, nr) => Qt(nr)
75675
- ), Ct = Ct.replace(
75685
+ ), Dt = Dt.replace(
75676
75686
  /<iframe\s[^>]*src="(https:\/\/audio\.3speak\.tv\/play\?[^"]*)"[^>]*>(?:<\/iframe>)?/gi,
75677
75687
  (ar, nr) => {
75678
75688
  let qt = nr;
75679
75689
  return qt.includes("mode=minimal") || (qt += "&mode=minimal"), qt.includes("iframe=1") || (qt += "&iframe=1"), `<div class="audioWrapper"><iframe src="${qt}" scrolling="no" frameborder="0" allow="autoplay"></iframe></div>`;
75680
75690
  }
75681
- ), Ct = Ct.replace(
75691
+ ), Dt = Dt.replace(
75682
75692
  /<img\s([^>]*?)alt="([^"]+)"([^>]*?)\/?\s*>/gi,
75683
75693
  (ar, nr, qt, bt) => `<figure class="hive-img-figure">${`<img ${nr}alt="${qt}"${bt}>`}<figcaption>${qt}</figcaption></figure>`
75684
- ), Ct;
75694
+ ), Dt;
75685
75695
  } catch {
75686
75696
  return "";
75687
75697
  }
@@ -75694,7 +75704,7 @@ function C$({
75694
75704
  } catch {
75695
75705
  return It;
75696
75706
  }
75697
- }, Ct = (It) => It.replace(/&amp;/g, "&").replace(/&#x26;/gi, "&").replace(/&#38;/g, "&"), Wt = (It) => zt(Ct(Je(It))), Qt = /* @__PURE__ */ new Set();
75707
+ }, Dt = (It) => It.replace(/&amp;/g, "&").replace(/&#x26;/gi, "&").replace(/&#38;/g, "&"), Wt = (It) => zt(Dt(Je(It))), Qt = /* @__PURE__ */ new Set();
75698
75708
  if (Yr) {
75699
75709
  const It = /<img\s[^>]*src=["']([^"']+)["']/gi;
75700
75710
  let Vr;
@@ -75704,7 +75714,7 @@ function C$({
75704
75714
  if (typeof It != "string") return;
75705
75715
  const Vr = Je(It);
75706
75716
  if (!Vr || !/^https?:\/\//.test(Vr)) return;
75707
- const mr = zt(Ct(Vr));
75717
+ const mr = zt(Dt(Vr));
75708
75718
  nr.has(mr) || (nr.add(mr), ar.push(Vr));
75709
75719
  }, bt = (It) => {
75710
75720
  Array.isArray(It) ? It.forEach(qt) : qt(It);
@@ -75720,7 +75730,7 @@ function C$({
75720
75730
  "https://ipfs.io",
75721
75731
  "https://cloudflare-ipfs.com",
75722
75732
  "https://gateway.pinata.cloud"
75723
- ], Ct = [
75733
+ ], Dt = [
75724
75734
  /^https:\/\/images\.hive\.blog\/\d+x\d+\//,
75725
75735
  /^https:\/\/images\.hive\.blog\/p\//,
75726
75736
  /^https:\/\/images\.ecency\.com\/\d+x\d+\//
@@ -75730,7 +75740,7 @@ function C$({
75730
75740
  const It = /* @__PURE__ */ new Set([tr]), Vr = [], mr = (Xe) => {
75731
75741
  Xe && /^https?:\/\//.test(Xe) && (It.has(Xe) || (It.add(Xe), Vr.push(Xe)));
75732
75742
  };
75733
- for (const Xe of Ct)
75743
+ for (const Xe of Dt)
75734
75744
  if (Xe.test(tr)) {
75735
75745
  const mt = tr.replace(Xe, "").replace(/^(https?):\/(?!\/)/, "$1://");
75736
75746
  mr(mt);
@@ -75779,20 +75789,20 @@ function C$({
75779
75789
  if (!ar) return null;
75780
75790
  const nr = ar.match(/[?&]v=([^&\s/?#]+)\/([^&\s/?#]+)/i);
75781
75791
  return nr ? { author: nr[1], permlink: nr[2] } : null;
75782
- }, Ct = (ar) => ar ? /https?:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?/i.test(ar) : !1, Wt = [];
75792
+ }, Dt = (ar) => ar ? /https?:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?/i.test(ar) : !1, Wt = [];
75783
75793
  if (Je.querySelectorAll('.threeSpeakEmbed:not([data-mounted="1"])').forEach((ar) => {
75784
75794
  const nr = ar.dataset.author, qt = ar.dataset.permlink;
75785
75795
  nr && qt && Wt.push({ el: ar, author: nr, permlink: qt });
75786
75796
  }), Je.querySelectorAll("iframe").forEach((ar) => {
75787
75797
  const nr = ar.getAttribute("src");
75788
- if (!Ct(nr)) return;
75798
+ if (!Dt(nr)) return;
75789
75799
  const qt = zt(nr);
75790
75800
  if (!qt) return;
75791
75801
  const bt = document.createElement("div");
75792
75802
  bt.className = "threeSpeakEmbed", bt.dataset.author = qt.author, bt.dataset.permlink = qt.permlink, ar.replaceWith(bt), Wt.push({ el: bt, ...qt });
75793
75803
  }), Je.querySelectorAll("a").forEach((ar) => {
75794
75804
  const nr = ar.getAttribute("href");
75795
- if (!Ct(nr)) return;
75805
+ if (!Dt(nr)) return;
75796
75806
  const qt = zt(nr);
75797
75807
  if (!qt) return;
75798
75808
  const bt = document.createElement("div");
@@ -75816,18 +75826,18 @@ function C$({
75816
75826
  }, [Yr]), We(() => {
75817
75827
  const Je = Cr.current;
75818
75828
  if (!Je) return;
75819
- const zt = (Ct) => {
75820
- if (Ct.defaultPrevented || Ct.button !== 0 || Ct.metaKey || Ct.ctrlKey || Ct.shiftKey || Ct.altKey) return;
75821
- const Wt = Ct.target?.closest("a");
75829
+ const zt = (Dt) => {
75830
+ if (Dt.defaultPrevented || Dt.button !== 0 || Dt.metaKey || Dt.ctrlKey || Dt.shiftKey || Dt.altKey) return;
75831
+ const Wt = Dt.target?.closest("a");
75822
75832
  if (!Wt) return;
75823
75833
  const Qt = Wt.getAttribute("href");
75824
75834
  if (!Qt) return;
75825
75835
  const ar = W1(Qt);
75826
75836
  if (ar) {
75827
- ar.kind === "post" && K ? (Ct.preventDefault(), K(ar.author, ar.permlink)) : ar.kind === "user" && re && (Ct.preventDefault(), re(ar.author));
75837
+ ar.kind === "post" && K ? (Dt.preventDefault(), K(ar.author, ar.permlink)) : ar.kind === "user" && re && (Dt.preventDefault(), re(ar.author));
75828
75838
  return;
75829
75839
  }
75830
- /^https?:\/\//i.test(Qt) && (Ct.preventDefault(), window.open(Qt, "_blank", "noopener,noreferrer"));
75840
+ /^https?:\/\//i.test(Qt) && (Dt.preventDefault(), window.open(Qt, "_blank", "noopener,noreferrer"));
75831
75841
  };
75832
75842
  return Je.addEventListener("click", zt), () => Je.removeEventListener("click", zt);
75833
75843
  }, [Yr, K, re]);
@@ -75854,16 +75864,16 @@ function C$({
75854
75864
  (async () => {
75855
75865
  if (r)
75856
75866
  try {
75857
- const Ct = (await hr.getProfile(r))?.result;
75858
- if (!Ct) return;
75867
+ const Dt = (await hr.getProfile(r))?.result;
75868
+ if (!Dt) return;
75859
75869
  vt({
75860
- username: Ct.name,
75861
- name: Ct.metadata?.profile?.name,
75862
- profileImage: Ct.metadata?.profile?.profile_image,
75863
- followersCount: Ct.stats?.followers || 0,
75864
- followingCount: Ct.stats?.following || 0,
75865
- postsCount: Ct.post_count || 0,
75866
- reputation: Ct.reputation || 0
75870
+ username: Dt.name,
75871
+ name: Dt.metadata?.profile?.name,
75872
+ profileImage: Dt.metadata?.profile?.profile_image,
75873
+ followersCount: Dt.stats?.followers || 0,
75874
+ followingCount: Dt.stats?.following || 0,
75875
+ postsCount: Dt.post_count || 0,
75876
+ reputation: Dt.reputation || 0
75867
75877
  });
75868
75878
  } catch {
75869
75879
  }
@@ -75871,8 +75881,8 @@ function C$({
75871
75881
  }, [r]);
75872
75882
  const Mt = (Je) => {
75873
75883
  if (!Je) return 0;
75874
- const zt = typeof Je == "string" ? Je : String(Je), Ct = parseFloat(zt.replace(/[^\d.]/g, ""));
75875
- return isNaN(Ct) ? 0 : Ct;
75884
+ const zt = typeof Je == "string" ? Je : String(Je), Dt = parseFloat(zt.replace(/[^\d.]/g, ""));
75885
+ return isNaN(Dt) ? 0 : Dt;
75876
75886
  }, xt = Bt(() => {
75877
75887
  if (!Se) return "";
75878
75888
  if (Se.payout && Se.payout > 0) return `${Se.payout.toFixed(3)}`;
@@ -75880,7 +75890,7 @@ function C$({
75880
75890
  if (Je > 0) return `${Je.toFixed(3)}`;
75881
75891
  const zt = Mt(Se.total_payout_value);
75882
75892
  if (zt > 0) return `${zt.toFixed(3)}`;
75883
- const Ct = Mt(Se.author_payout_value), Wt = Mt(Se.curator_payout_value), Qt = Ct + Wt;
75893
+ const Dt = Mt(Se.author_payout_value), Wt = Mt(Se.curator_payout_value), Qt = Dt + Wt;
75884
75894
  return Qt > 0 ? `${Qt.toFixed(3)}` : "0.000";
75885
75895
  }, [Se]), Jr = Bt(() => {
75886
75896
  if (!Se) return !1;
@@ -75888,9 +75898,9 @@ function C$({
75888
75898
  return (Se.active_votes?.length ?? 0) === 0 && Je <= 0 && (Se.children ?? 0) === 0;
75889
75899
  }, [Se]), Br = Bt(() => {
75890
75900
  if (!Se) return "";
75891
- const Je = [], zt = Mt(Se.pending_payout_value), Ct = Mt(Se.author_payout_value), Wt = Mt(Se.curator_payout_value), Qt = Se.payout && Se.payout > 0 ? Se.payout : zt > 0 ? zt : Ct + Wt, ar = Se.percent_hbd ?? 1e4;
75901
+ const Je = [], zt = Mt(Se.pending_payout_value), Dt = Mt(Se.author_payout_value), Wt = Mt(Se.curator_payout_value), Qt = Se.payout && Se.payout > 0 ? Se.payout : zt > 0 ? zt : Dt + Wt, ar = Se.percent_hbd ?? 1e4;
75892
75902
  if (ar === 0 ? Je.push("Hive Rewards Payout 100% Powered Up") : Je.push(`Hive Rewards Payout (${(ar / 200).toFixed(0)}%/${100 - ar / 200}%)`), Se.is_paidout)
75893
- Je.push("Past payouts:"), Ct > 0 && Je.push(`Author: $${Ct.toFixed(3)}`), Wt > 0 && Je.push(`Curator: $${Wt.toFixed(3)}`), Je.push(`Total: $${Qt.toFixed(3)}`);
75903
+ Je.push("Past payouts:"), Dt > 0 && Je.push(`Author: $${Dt.toFixed(3)}`), Wt > 0 && Je.push(`Curator: $${Wt.toFixed(3)}`), Je.push(`Total: $${Qt.toFixed(3)}`);
75894
75904
  else {
75895
75905
  if (Se.payout_at) {
75896
75906
  const nr = new Date(Se.payout_at).getTime() - Date.now();
@@ -75907,11 +75917,11 @@ function C$({
75907
75917
  `);
75908
75918
  }, [Se]), Nr = Bt(() => {
75909
75919
  if (!Se) return;
75910
- const Je = Mt(Se.pending_payout_value), zt = Mt(Se.author_payout_value), Ct = Mt(Se.curator_payout_value), Wt = Se.payout && Se.payout > 0 ? Se.payout : Je > 0 ? Je : zt + Ct;
75920
+ const Je = Mt(Se.pending_payout_value), zt = Mt(Se.author_payout_value), Dt = Mt(Se.curator_payout_value), Wt = Se.payout && Se.payout > 0 ? Se.payout : Je > 0 ? Je : zt + Dt;
75911
75921
  return {
75912
75922
  pendingValue: Je,
75913
75923
  authorValue: zt,
75914
- curatorValue: Ct,
75924
+ curatorValue: Dt,
75915
75925
  totalValue: Wt,
75916
75926
  isPaidout: !!Se.is_paidout,
75917
75927
  payoutAt: Se.payout_at,
@@ -76173,7 +76183,7 @@ function C$({
76173
76183
  }
76174
76184
  ) }),
76175
76185
  ye?.content_type === "poll" && (() => {
76176
- const Je = dr?.max_choices_voted ?? ye?.max_choices_voted ?? 1, zt = Je > 1, Ct = dr?.end_time ? new Date(dr.end_time).getTime() : (ye?.end_time ?? 0) * 1e3, Wt = Ct > 0 && Date.now() > Ct, Qt = Gt.length > 0, ar = l ? dr?.poll_voters?.find((mt) => mt.name === l) : void 0, nr = ar?.choices?.length ? ar.choices : ar?.choice_num != null ? [ar.choice_num] : [], qt = Qt || nr.length > 0, bt = dr?.allow_vote_changes ?? ye?.allow_vote_changes ?? !1, tr = Qt ? Gt : nr, It = !!l && !Wt && !!be && (!qt || bt), Vr = qt && bt && !Qt, mr = dr?.poll_choices ?? (ye?.choices ?? []).map((mt, Rt) => ({ choice_num: Rt + 1, choice_text: mt, votes: null })), Ar = mr.reduce((mt, Rt) => mt + (Rt.votes?.total_votes ?? 0), 0), La = zt || Vr, Pe = async (mt) => {
76186
+ const Je = dr?.max_choices_voted ?? ye?.max_choices_voted ?? 1, zt = Je > 1, Dt = dr?.end_time ? new Date(dr.end_time).getTime() : (ye?.end_time ?? 0) * 1e3, Wt = Dt > 0 && Date.now() > Dt, Qt = Gt.length > 0, ar = l ? dr?.poll_voters?.find((mt) => mt.name === l) : void 0, nr = ar?.choices?.length ? ar.choices : ar?.choice_num != null ? [ar.choice_num] : [], qt = Qt || nr.length > 0, bt = dr?.allow_vote_changes ?? ye?.allow_vote_changes ?? !1, tr = Qt ? Gt : nr, It = !!l && !Wt && !!be && (!qt || bt), Vr = qt && bt && !Qt, mr = dr?.poll_choices ?? (ye?.choices ?? []).map((mt, Rt) => ({ choice_num: Rt + 1, choice_text: mt, votes: null })), Ar = mr.reduce((mt, Rt) => mt + (Rt.votes?.total_votes ?? 0), 0), La = zt || Vr, Pe = async (mt) => {
76177
76187
  if (!(!It || ga))
76178
76188
  if (La)
76179
76189
  Xt((Rt) => Rt.includes(mt) ? Rt.filter((Qr) => Qr !== mt) : Rt.length >= Je ? Rt : [...Rt, mt]);
@@ -76201,7 +76211,7 @@ function C$({
76201
76211
  /* @__PURE__ */ x("div", { className: "flex items-center gap-2 px-4 pt-4 pb-2", children: [
76202
76212
  /* @__PURE__ */ n($T, { className: "w-4 h-4 text-blue-400 flex-shrink-0" }),
76203
76213
  /* @__PURE__ */ n("span", { className: "text-xs font-semibold text-blue-400 uppercase tracking-wide", children: "Poll" }),
76204
- /* @__PURE__ */ n("span", { className: `ml-auto text-[11px] px-2 py-0.5 rounded-full font-medium ${Wt ? "bg-[var(--hrk-bg-surface-raised)] text-[var(--hrk-text-tertiary)]" : "bg-green-900/50 text-green-400"}`, children: Wt ? "Ended" : `Ends in ${Math.ceil((Ct - Date.now()) / (1e3 * 60 * 60 * 24))}d` })
76214
+ /* @__PURE__ */ n("span", { className: `ml-auto text-[11px] px-2 py-0.5 rounded-full font-medium ${Wt ? "bg-[var(--hrk-bg-surface-raised)] text-[var(--hrk-text-tertiary)]" : "bg-green-900/50 text-green-400"}`, children: Wt ? "Ended" : `Ends in ${Math.ceil((Dt - Date.now()) / (1e3 * 60 * 60 * 24))}d` })
76205
76215
  ] }),
76206
76216
  /* @__PURE__ */ n("p", { className: "px-4 pb-3 text-sm font-semibold text-white", children: dr?.question ?? ye?.question }),
76207
76217
  It && La && /* @__PURE__ */ x("p", { className: "px-4 pb-2 text-[11px] text-[var(--hrk-text-tertiary)]", children: [
@@ -76401,7 +76411,7 @@ function PH({
76401
76411
  onViewRaw: f,
76402
76412
  onEdit: m
76403
76413
  }) {
76404
- const [g, v] = Q(!1), [w, b] = Q(null), _ = Dt(null), y = Dt(null);
76414
+ const [g, v] = Q(!1), [w, b] = Q(null), _ = Ct(null), y = Ct(null);
76405
76415
  if ($m(() => {
76406
76416
  if (!g) {
76407
76417
  b(null);
@@ -76936,7 +76946,7 @@ const Xk = ({
76936
76946
  We(() => {
76937
76947
  rr(Sr ? br : !1);
76938
76948
  }, [Sr, br]);
76939
- const [Cr, Pr] = Q(!1), Xt = Cr, ga = Dt(null), kt = xD(_t, {
76949
+ const [Cr, Pr] = Q(!1), Xt = Cr, ga = Ct(null), kt = xD(_t, {
76940
76950
  seedAccounts: Ee
76941
76951
  }), Gt = Bt(
76942
76952
  () => (g ?? []).map((Ne) => Ne.trim().toLowerCase()).filter(Boolean),
@@ -76962,14 +76972,14 @@ const Xk = ({
76962
76972
  }, [z]);
76963
76973
  const xt = z ?? oa, Jr = (Ne) => {
76964
76974
  z === void 0 && Mt(Ne), C?.(Ne);
76965
- }, Br = Dt(null), Nr = Dt(null), [Je, zt] = Q(null), Ct = 224, Wt = 8, Qt = (Ne, it) => {
76975
+ }, Br = Ct(null), Nr = Ct(null), [Je, zt] = Q(null), Dt = 224, Wt = 8, Qt = (Ne, it) => {
76966
76976
  if (!Ne) return null;
76967
76977
  const Lt = Ne.getBoundingClientRect(), Kt = window.innerWidth, pr = Math.min(it, Math.max(0, Kt - Wt * 2)), wr = Math.max(Wt, Math.round((Kt - pr) / 2));
76968
76978
  return { top: Lt.bottom + 4, left: wr, width: pr };
76969
76979
  }, ar = Ot(() => {
76970
76980
  ca((Ne) => {
76971
76981
  const it = !Ne;
76972
- return zt(it ? Qt(Br.current, Ct) : null), it;
76982
+ return zt(it ? Qt(Br.current, Dt) : null), it;
76973
76983
  });
76974
76984
  }, []);
76975
76985
  We(() => {
@@ -77025,7 +77035,7 @@ const Xk = ({
77025
77035
  vi(oc(Ne, Ba));
77026
77036
  },
77027
77037
  [Ba]
77028
- ), Ze = !!(E && O), gt = !!y || Ze, Ut = Dt(null), [aa, zr] = Q(!1), [Ia, Or] = Q(!1), [On, ma] = Q(!1), Fa = Dt(0), Yt = Ot(
77038
+ ), Ze = !!(E && O), gt = !!y || Ze, Ut = Ct(null), [aa, zr] = Q(!1), [Ia, Or] = Q(!1), [On, ma] = Q(!1), Fa = Ct(0), Yt = Ot(
77029
77039
  async (Ne) => {
77030
77040
  if (!Ne.type.startsWith("image/")) return null;
77031
77041
  if (Ne.size > 10 * 1024 * 1024)
@@ -77246,7 +77256,7 @@ ${dr}`), Ne = HH(Ne), Ne;
77246
77256
  } catch {
77247
77257
  return "";
77248
77258
  }
77249
- }, [Un, Ci, Xn]), Ki = Dt(null);
77259
+ }, [Un, Ci, Xn]), Ki = Ct(null);
77250
77260
  We(() => {
77251
77261
  const Ne = Ki.current;
77252
77262
  if (!Ne) return;
@@ -77355,7 +77365,7 @@ ${dr}`), Ne = HH(Ne), Ne;
77355
77365
  const pe = Bt(
77356
77366
  () => Un.trim().split(/\s+/).filter(Boolean).length,
77357
77367
  [Un]
77358
- ), fe = Math.max(1, Math.round(pe / 220)), [$e, Qe] = Q(!1), [at, jt] = Q(null), Wr = Dt(b);
77368
+ ), fe = Math.max(1, Math.round(pe / 220)), [$e, Qe] = Q(!1), [at, jt] = Q(null), Wr = Ct(b);
77359
77369
  We(() => {
77360
77370
  if (!tt || $e) {
77361
77371
  tt || Qe(!0);
@@ -78914,7 +78924,7 @@ const M$ = ({
78914
78924
  () => f?.items ?? []
78915
78925
  ), [v, w] = Q(() => f?.searchInput ?? ""), [b, _] = Q(
78916
78926
  () => f?.debouncedQuery ?? ""
78917
- ), [y, E] = Q(() => !f), [O, B] = Q(!1), [M, T] = Q(!1), [P, j] = Q(() => f?.hasMore ?? !0), [$, z] = Q(null), C = Dt(f?.lastName ?? null), q = Dt(0), I = Dt(null), X = Dt(null), Y = Dt(!!f), Z = Dt(f?.scrollTop ?? null);
78927
+ ), [y, E] = Q(() => !f), [O, B] = Q(!1), [M, T] = Q(!1), [P, j] = Q(() => f?.hasMore ?? !0), [$, z] = Q(null), C = Ct(f?.lastName ?? null), q = Ct(0), I = Ct(null), X = Ct(null), Y = Ct(!!f), Z = Ct(f?.scrollTop ?? null);
78918
78928
  We(() => {
78919
78929
  if (v === b) return;
78920
78930
  T(!0);
@@ -79291,7 +79301,7 @@ const M$ = ({
79291
79301
  ] })
79292
79302
  ] }) });
79293
79303
  }, ZH = ({ communityId: r, onSelectCommunityMember: o }) => {
79294
- const [l, u] = Q([]), [d, f] = Q(!0), [m, g] = Q(!1), [v, w] = Q(!0), [b, _] = Q(null), [y, E] = Q(null), O = 100, B = Dt(null), M = Dt(!1), T = Ot(
79304
+ const [l, u] = Q([]), [d, f] = Q(!0), [m, g] = Q(!1), [v, w] = Q(!0), [b, _] = Q(null), [y, E] = Q(null), O = 100, B = Ct(null), M = Ct(!1), T = Ot(
79295
79305
  async (P = !1) => {
79296
79306
  if (!(M.current && !P)) {
79297
79307
  M.current = !0;
@@ -79820,7 +79830,7 @@ const Fg = /* @__PURE__ */ new Map(), O$ = ({
79820
79830
  le,
79821
79831
  G
79822
79832
  ]
79823
- ), Pt = Dt(null), Yr = Dt(ge), ca = Dt(ze), oa = Dt(r);
79833
+ ), Pt = Ct(null), Yr = Ct(ge), ca = Ct(ze), oa = Ct(r);
79824
79834
  return We(() => {
79825
79835
  const Mt = Pt.current;
79826
79836
  if (!Mt) return;
@@ -79846,12 +79856,12 @@ const Fg = /* @__PURE__ */ new Map(), O$ = ({
79846
79856
  return;
79847
79857
  }
79848
79858
  let Nr = !1, Je = 0;
79849
- const zt = 120, Ct = () => {
79859
+ const zt = 120, Dt = () => {
79850
79860
  if (Nr) return;
79851
79861
  const Wt = Pt.current;
79852
- !Wt || (Wt.scrollTop = Br, Wt.scrollHeight - Wt.clientHeight >= Br || Je >= zt) || (Je += 1, requestAnimationFrame(Ct));
79862
+ !Wt || (Wt.scrollTop = Br, Wt.scrollHeight - Wt.clientHeight >= Br || Je >= zt) || (Je += 1, requestAnimationFrame(Dt));
79853
79863
  };
79854
- return requestAnimationFrame(Ct), () => {
79864
+ return requestAnimationFrame(Dt), () => {
79855
79865
  Nr = !0;
79856
79866
  };
79857
79867
  }, [ge, ze, r, Gr.length === 0 ? 0 : 1]), /* @__PURE__ */ n("div", { className: "flex h-full min-h-0 flex-col bg-[var(--hrk-bg-app)] text-[var(--hrk-text-primary)]", children: /* @__PURE__ */ x("div", { ref: Pt, className: "flex-1 min-h-0 overflow-y-auto overscroll-contain", children: [
@@ -81809,7 +81819,7 @@ const B$ = ({
81809
81819
  { value: 7, label: "7 Days" },
81810
81820
  { value: 30, label: "30 Days" }
81811
81821
  ], Ll = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `${r.toLocaleString(void 0, { maximumFractionDigits: 0 })} HP` : `${r.toFixed(3)} HP` : "0 HP", Xg = (r) => Number.isFinite(r) ? Math.abs(r) >= 1e3 ? `$${r.toLocaleString(void 0, { maximumFractionDigits: 0 })}` : `$${r.toFixed(2)}` : "$0", oj = ({ username: r, defaultRange: o = 7, className: l }) => {
81812
- const [u, d] = Q(o), [f, m] = Q(null), [g, v] = Q(!1), [w, b] = Q(null), [_, y] = Q(null), E = Dt(0);
81822
+ const [u, d] = Q(o), [f, m] = Q(null), [g, v] = Q(!1), [w, b] = Q(null), [_, y] = Q(null), E = Ct(0);
81813
81823
  return We(() => {
81814
81824
  const O = r.replace(/^@/, "").trim();
81815
81825
  if (!O) return;
@@ -82529,7 +82539,7 @@ const bj = ({
82529
82539
  }) => {
82530
82540
  const [f, m] = Q(
82531
82541
  () => Qw.get(r) ?? DT()
82532
- ), g = Dt(r);
82542
+ ), g = Ct(r);
82533
82543
  We(() => {
82534
82544
  g.current !== r && (g.current = r, m(Qw.get(r) ?? DT()));
82535
82545
  }, [r]), We(() => {
@@ -82774,9 +82784,9 @@ const bj = ({
82774
82784
  }) => {
82775
82785
  const kt = XC(), [Gt, ne] = Q(null), [ue, ye] = Q(!0), [ke, rt] = Q(null), Et = Xt ?? (d && d.length > 0 ? d[0] : "blogs"), [cr, Mr] = Q(Et), Er = Xt !== void 0, Pt = Er ? Xt : cr, Yr = Ot((pe) => {
82776
82786
  Er || Mr(pe), ga?.(pe);
82777
- }, [Er, ga]), ca = Dt(""), oa = Dt(Pt);
82787
+ }, [Er, ga]), ca = Ct(""), oa = Ct(Pt);
82778
82788
  oa.current = Pt;
82779
- const Mt = Dt(null), [xt, Jr] = Q([]), [Br, Nr] = Q([]), [Je, zt] = Q([]), [Ct, Wt] = Q([]), [Qt, ar] = Q([]), [nr, qt] = Q([]), [bt, tr] = Q({ totalHbd: 0, totalHpEq: 0 }), [It, Vr] = Q([]), [mr, Ar] = Q({ totalHp: 0, totalHbd: 0 }), [La, Pe] = Q(!1), [Xe, mt] = Q([]), [Rt, Qr] = Q([]), [fr, ea] = Q([]), [Zt, Xr] = Q([]), [Lr, Tr] = Q(null), [Ir, ba] = Q(100), [lr, ta] = Q(!1), [Wn, Fn] = Q(Ft);
82789
+ const Mt = Ct(null), [xt, Jr] = Q([]), [Br, Nr] = Q([]), [Je, zt] = Q([]), [Dt, Wt] = Q([]), [Qt, ar] = Q([]), [nr, qt] = Q([]), [bt, tr] = Q({ totalHbd: 0, totalHpEq: 0 }), [It, Vr] = Q([]), [mr, Ar] = Q({ totalHp: 0, totalHbd: 0 }), [La, Pe] = Q(!1), [Xe, mt] = Q([]), [Rt, Qr] = Q([]), [fr, ea] = Q([]), [Zt, Xr] = Q([]), [Lr, Tr] = Q(null), [Ir, ba] = Q(100), [lr, ta] = Q(!1), [Wn, Fn] = Q(Ft);
82780
82790
  We(() => {
82781
82791
  Fn(Ft);
82782
82792
  }, [Ft]);
@@ -82797,7 +82807,7 @@ const bj = ({
82797
82807
  badges: !1,
82798
82808
  witnessVotes: !1,
82799
82809
  growth: !1
82800
- }), Kr = 20, Fr = 100, la = Dt(null), [Da, za] = Q(!1), [ii, Ur] = Q(!1), [_n, qa] = Q(!1), [Gn, Sn] = Q(!1), [Pa, Ja] = Q(null), Zn = Dt(null), Va = Dt(null), [Dr, dn] = Q(!1), [vr, kn] = Q(!1), ka = Ot(() => {
82810
+ }), Kr = 20, Fr = 100, la = Ct(null), [Da, za] = Q(!1), [ii, Ur] = Q(!1), [_n, qa] = Q(!1), [Gn, Sn] = Q(!1), [Pa, Ja] = Q(null), Zn = Ct(null), Va = Ct(null), [Dr, dn] = Q(!1), [vr, kn] = Q(!1), ka = Ot(() => {
82801
82811
  const pe = Va.current;
82802
82812
  pe && (dn(pe.scrollLeft > 0), kn(pe.scrollLeft + pe.clientWidth < pe.scrollWidth - 1));
82803
82813
  }, []);
@@ -83080,7 +83090,7 @@ const bj = ({
83080
83090
  pe.abort();
83081
83091
  };
83082
83092
  }, [Vt, Pt]);
83083
- const Yn = Bt(() => Hr(xt), [xt, Hr]), _e = Bt(() => Hr(Br), [Br, Hr]), Ze = Bt(() => Hr(Je), [Je, Hr]), gt = Bt(() => Hr(Ct), [Ct, Hr]), Ut = Bt(() => Hr(Qt), [Qt, Hr]), aa = ["blogs", "posts", "comments", "replies", "followers", "following"], zr = Ot(async () => {
83093
+ const Yn = Bt(() => Hr(xt), [xt, Hr]), _e = Bt(() => Hr(Br), [Br, Hr]), Ze = Bt(() => Hr(Je), [Je, Hr]), gt = Bt(() => Hr(Dt), [Dt, Hr]), Ut = Bt(() => Hr(Qt), [Qt, Hr]), aa = ["blogs", "posts", "comments", "replies", "followers", "following"], zr = Ot(async () => {
83084
83094
  if (aa.includes(Pt) && !(da || !rn[Pt] || !Vt)) {
83085
83095
  wn(!0);
83086
83096
  try {
@@ -83109,7 +83119,7 @@ const bj = ({
83109
83119
  break;
83110
83120
  }
83111
83121
  case "replies": {
83112
- const pe = Ct[Ct.length - 1];
83122
+ const pe = Dt[Dt.length - 1];
83113
83123
  if (!pe) break;
83114
83124
  const fe = await hr.getUserReplies(Vt, Kr, pe.author, pe.permlink), $e = Hr(fe.length > 0 && fe[0].permlink === pe.permlink ? fe.slice(1) : fe);
83115
83125
  Wt((Qe) => [...Qe, ...$e]), fa((Qe) => ({ ...Qe, replies: fe.length >= Kr }));
@@ -83136,7 +83146,7 @@ const bj = ({
83136
83146
  wn(!1);
83137
83147
  }
83138
83148
  }
83139
- }, [Pt, Vt, o, da, rn, xt, Br, Je, Ct, Xe, Rt]);
83149
+ }, [Pt, Vt, o, da, rn, xt, Br, Je, Dt, Xe, Rt]);
83140
83150
  We(() => {
83141
83151
  const pe = Mt.current;
83142
83152
  if (!pe) return;
@@ -83152,7 +83162,7 @@ const bj = ({
83152
83162
  if (da || !rn[Pt]) return;
83153
83163
  const pe = Mt.current;
83154
83164
  pe && pe.scrollTop + pe.clientHeight >= pe.scrollHeight - 600 && zr();
83155
- }, [da, Pt, rn, xt.length, Br.length, Je.length, Ct.length, Xe.length, Rt.length, zr]);
83165
+ }, [da, Pt, rn, xt.length, Br.length, Je.length, Dt.length, Xe.length, Rt.length, zr]);
83156
83166
  const Ia = Ot(async () => {
83157
83167
  if (Gt) {
83158
83168
  za(!0), Ur(!1);