hive-react-kit 1.5.6 → 1.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -3202,7 +3202,7 @@ function C3() {
3202
3202
  qt[vt] = qe(vt);
3203
3203
  return qt;
3204
3204
  }
3205
- function Mr(ye) {
3205
+ function Or(ye) {
3206
3206
  return function(qe) {
3207
3207
  return ye(qe);
3208
3208
  };
@@ -3235,7 +3235,7 @@ function C3() {
3235
3235
  return ye ? "Symbol(src)_1." + ye : "";
3236
3236
  })(), st = xr.toString, et = RegExp(
3237
3237
  "^" + Ca.call(Bt).replace(Se, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
3238
- ), cr = ge ? we.Buffer : void 0, Ar = we.Symbol, Zt = we.Uint8Array, sa = xr.propertyIsEnumerable, Vr = Nr.splice, ua = Ar ? Ar.toStringTag : void 0, Wt = Object.getOwnPropertySymbols, re = cr ? cr.isBuffer : void 0, le = Rt(Object.keys, Object), he = pa(we, "DataView"), Me = pa(we, "Map"), ot = pa(we, "Promise"), jt = pa(we, "Set"), wr = pa(we, "WeakMap"), pr = pa(Object, "create"), Fr = Lt(he), Tt = Lt(Me), gr = Lt(ot), Je = Lt(jt), Mt = Lt(wr), Dt = Ar ? Ar.prototype : void 0, ft = Dt ? Dt.valueOf : void 0;
3238
+ ), cr = ge ? we.Buffer : void 0, Tr = we.Symbol, Zt = we.Uint8Array, sa = xr.propertyIsEnumerable, Vr = Nr.splice, ua = Tr ? Tr.toStringTag : void 0, Wt = Object.getOwnPropertySymbols, re = cr ? cr.isBuffer : void 0, le = Rt(Object.keys, Object), he = pa(we, "DataView"), Me = pa(we, "Map"), ot = pa(we, "Promise"), jt = pa(we, "Set"), wr = pa(we, "WeakMap"), pr = pa(Object, "create"), Fr = Lt(he), Tt = Lt(Me), gr = Lt(ot), Je = Lt(jt), Mt = Lt(wr), Dt = Tr ? Tr.prototype : void 0, ft = Dt ? Dt.valueOf : void 0;
3239
3239
  function Yt(ye) {
3240
3240
  var qe = -1, vt = ye == null ? 0 : ye.length;
3241
3241
  for (this.clear(); ++qe < vt; ) {
@@ -3278,21 +3278,21 @@ function C3() {
3278
3278
  this.__data__ = [], this.size = 0;
3279
3279
  }
3280
3280
  function Br(ye) {
3281
- var qe = this.__data__, vt = Tr(qe, ye);
3281
+ var qe = this.__data__, vt = Cr(qe, ye);
3282
3282
  if (vt < 0)
3283
3283
  return !1;
3284
3284
  var qt = qe.length - 1;
3285
3285
  return vt == qt ? qe.pop() : Vr.call(qe, vt, 1), --this.size, !0;
3286
3286
  }
3287
3287
  function Ia(ye) {
3288
- var qe = this.__data__, vt = Tr(qe, ye);
3288
+ var qe = this.__data__, vt = Cr(qe, ye);
3289
3289
  return vt < 0 ? void 0 : qe[vt][1];
3290
3290
  }
3291
3291
  function oa(ye) {
3292
- return Tr(this.__data__, ye) > -1;
3292
+ return Cr(this.__data__, ye) > -1;
3293
3293
  }
3294
3294
  function Lr(ye, qe) {
3295
- var vt = this.__data__, qt = Tr(vt, ye);
3295
+ var vt = this.__data__, qt = Cr(vt, ye);
3296
3296
  return qt < 0 ? (++this.size, vt.push([ye, qe])) : vt[qt][1] = qe, this;
3297
3297
  }
3298
3298
  dr.prototype.clear = Gt, dr.prototype.delete = Br, dr.prototype.get = Ia, dr.prototype.has = oa, dr.prototype.set = Lr;
@@ -3311,17 +3311,17 @@ function C3() {
3311
3311
  };
3312
3312
  }
3313
3313
  function Xr(ye) {
3314
- var qe = Or(this, ye).delete(ye);
3314
+ var qe = Rr(this, ye).delete(ye);
3315
3315
  return this.size -= qe ? 1 : 0, qe;
3316
3316
  }
3317
3317
  function jr(ye) {
3318
- return Or(this, ye).get(ye);
3318
+ return Rr(this, ye).get(ye);
3319
3319
  }
3320
3320
  function Qr(ye) {
3321
- return Or(this, ye).has(ye);
3321
+ return Rr(this, ye).has(ye);
3322
3322
  }
3323
3323
  function Xn(ye, qe) {
3324
- var vt = Or(this, ye), qt = vt.size;
3324
+ var vt = Rr(this, ye), qt = vt.size;
3325
3325
  return vt.set(ye, qe), this.size += vt.size == qt ? 0 : 1, this;
3326
3326
  }
3327
3327
  Gr.prototype.clear = br, Gr.prototype.delete = Xr, Gr.prototype.get = jr, Gr.prototype.has = Qr, Gr.prototype.set = Xn;
@@ -3375,7 +3375,7 @@ function C3() {
3375
3375
  Mn(ga, Zr))) && vr.push(ga);
3376
3376
  return vr;
3377
3377
  }
3378
- function Tr(ye, qe) {
3378
+ function Cr(ye, qe) {
3379
3379
  for (var vt = ye.length; vt--; )
3380
3380
  if (Nn(ye[vt][0], qe))
3381
3381
  return vt;
@@ -3533,7 +3533,7 @@ function C3() {
3533
3533
  function ia(ye) {
3534
3534
  return na(ye, Vn, rn);
3535
3535
  }
3536
- function Or(ye, qe) {
3536
+ function Rr(ye, qe) {
3537
3537
  var vt = ye.__data__;
3538
3538
  return $n(qe) ? vt[typeof qe == "string" ? "string" : "hash"] : vt.map;
3539
3539
  }
@@ -3634,7 +3634,7 @@ function C3() {
3634
3634
  function On(ye) {
3635
3635
  return ye != null && typeof ye == "object";
3636
3636
  }
3637
- var qn = Ve ? Mr(Ve) : Jr;
3637
+ var qn = Ve ? Or(Ve) : Jr;
3638
3638
  function Vn(ye) {
3639
3639
  return ca(ye) ? aa(ye) : La(ye);
3640
3640
  }
@@ -7827,10 +7827,10 @@ function iC() {
7827
7827
  localName: null,
7828
7828
  // Modified in DOM Level 2:
7829
7829
  insertBefore: function(re, le) {
7830
- return Mr(this, re, le);
7830
+ return Or(this, re, le);
7831
7831
  },
7832
7832
  replaceChild: function(re, le) {
7833
- Mr(this, re, le, Xt), le && this.removeChild(le);
7833
+ Or(this, re, le, Xt), le && this.removeChild(le);
7834
7834
  },
7835
7835
  removeChild: function(re) {
7836
7836
  return we(this, re);
@@ -8036,7 +8036,7 @@ function iC() {
8036
8036
  throw new W(Y, "Doctype can only be inserted before an element");
8037
8037
  }
8038
8038
  }
8039
- function Mr(re, le, he, Me) {
8039
+ function Or(re, le, he, Me) {
8040
8040
  at(re, le, he), re.nodeType === _e.DOCUMENT_NODE && (Me || $t)(re, le, he);
8041
8041
  var ot = le.parentNode;
8042
8042
  if (ot && ot.removeChild(le), le.nodeType === z) {
@@ -8077,13 +8077,13 @@ function iC() {
8077
8077
  }
8078
8078
  return re;
8079
8079
  }
8080
- return Mr(this, re, le), re.ownerDocument = this, this.documentElement === null && re.nodeType === k && (this.documentElement = re), re;
8080
+ return Or(this, re, le), re.ownerDocument = this, this.documentElement === null && re.nodeType === k && (this.documentElement = re), re;
8081
8081
  },
8082
8082
  removeChild: function(re) {
8083
8083
  return this.documentElement == re && (this.documentElement = null), we(this, re);
8084
8084
  },
8085
8085
  replaceChild: function(re, le) {
8086
- Mr(this, re, le, Xt), re.ownerDocument = this, le && this.removeChild(le), me(re) && (this.documentElement = re);
8086
+ Or(this, re, le, Xt), re.ownerDocument = this, le && this.removeChild(le), me(re) && (this.documentElement = re);
8087
8087
  },
8088
8088
  // Introduced in DOM Level 2:
8089
8089
  importNode: function(re, le) {
@@ -8337,7 +8337,7 @@ function iC() {
8337
8337
  }
8338
8338
  return sa(this, he, re, le, wr), he.join("");
8339
8339
  }
8340
- function Ar(re, le, he) {
8340
+ function Tr(re, le, he) {
8341
8341
  var Me = re.prefix || "", ot = re.namespaceURI;
8342
8342
  if (!ot || Me === "xml" && ot === l.XML || ot === l.XMLNS)
8343
8343
  return !1;
@@ -8395,13 +8395,13 @@ function iC() {
8395
8395
  }
8396
8396
  for (var Dt = 0; Dt < wr; Dt++) {
8397
8397
  var ft = jt.item(Dt);
8398
- if (Ar(ft, he, ot)) {
8398
+ if (Tr(ft, he, ot)) {
8399
8399
  var Yt = ft.prefix || "", Qt = ft.namespaceURI;
8400
8400
  Zt(le, Yt ? "xmlns:" + Yt : "xmlns", Qt), ot.push({ prefix: Yt, namespace: Qt });
8401
8401
  }
8402
8402
  sa(ft, le, he, Me, ot);
8403
8403
  }
8404
- if (pr === Fr && Ar(re, he, ot)) {
8404
+ if (pr === Fr && Tr(re, he, ot)) {
8405
8405
  var Yt = re.prefix || "", Qt = re.namespaceURI;
8406
8406
  Zt(le, Yt ? "xmlns:" + Yt : "xmlns", Qt), ot.push({ prefix: Yt, namespace: Qt });
8407
8407
  }
@@ -10762,8 +10762,8 @@ function zR() {
10762
10762
  _e && K(pe);
10763
10763
  var Ve = new q(), ct = Se[Se.length - 1].currentNSMap, at = M(Y, pe, Ve, ct, te, ae), $t = Ve.length;
10764
10764
  if (!Ve.closed && H(Y, at, Ve.tagName, ie) && (Ve.closed = !0, Z.nbsp || ae.warning("unclosed xml attribute")), _e && $t) {
10765
- for (var Xt = U(_e, {}), Mr = 0; Mr < $t; Mr++) {
10766
- var zt = Ve[Mr];
10765
+ for (var Xt = U(_e, {}), Or = 0; Or < $t; Or++) {
10766
+ var zt = Ve[Or];
10767
10767
  K(zt.offset), zt.locator = U(_e, {});
10768
10768
  }
10769
10769
  W.locator = Xt, T(Ve, W, ct) && Se.push(Ve), W.locator = _e;
@@ -11439,9 +11439,9 @@ function sC() {
11439
11439
  dt[++Ye] = Ht;
11440
11440
  }), dt;
11441
11441
  }
11442
- var tt, ge, me, Re = Array.prototype, Ve = Function.prototype, ct = Object.prototype, at = be["__core-js_shared__"], $t = Ve.toString, Xt = ct.hasOwnProperty, Mr = (tt = /[^.]+$/.exec(at && at.keys && at.keys.IE_PROTO || "")) ? "Symbol(src)_1." + tt : "", zt = ct.toString, St = RegExp("^" + $t.call(Xt).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Kt = ie ? be.Buffer : void 0, Rt = be.Symbol, It = be.Uint8Array, Nr = ct.propertyIsEnumerable, la = Re.splice, xr = Rt ? Rt.toStringTag : void 0, ha = Object.getOwnPropertySymbols, Ca = Kt ? Kt.isBuffer : void 0, Bt = (ge = Object.keys, me = Object, function(Ue) {
11442
+ var tt, ge, me, Re = Array.prototype, Ve = Function.prototype, ct = Object.prototype, at = be["__core-js_shared__"], $t = Ve.toString, Xt = ct.hasOwnProperty, Or = (tt = /[^.]+$/.exec(at && at.keys && at.keys.IE_PROTO || "")) ? "Symbol(src)_1." + tt : "", zt = ct.toString, St = RegExp("^" + $t.call(Xt).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), Kt = ie ? be.Buffer : void 0, Rt = be.Symbol, It = be.Uint8Array, Nr = ct.propertyIsEnumerable, la = Re.splice, xr = Rt ? Rt.toStringTag : void 0, ha = Object.getOwnPropertySymbols, Ca = Kt ? Kt.isBuffer : void 0, Bt = (ge = Object.keys, me = Object, function(Ue) {
11443
11443
  return ge(me(Ue));
11444
- }), kt = Pt(be, "DataView"), st = Pt(be, "Map"), et = Pt(be, "Promise"), cr = Pt(be, "Set"), Ar = Pt(be, "WeakMap"), Zt = Pt(Object, "create"), sa = Gt(kt), Vr = Gt(st), ua = Gt(et), Wt = Gt(cr), re = Gt(Ar), le = Rt ? Rt.prototype : void 0, he = le ? le.valueOf : void 0;
11444
+ }), kt = Pt(be, "DataView"), st = Pt(be, "Map"), et = Pt(be, "Promise"), cr = Pt(be, "Set"), Tr = Pt(be, "WeakMap"), Zt = Pt(Object, "create"), sa = Gt(kt), Vr = Gt(st), ua = Gt(et), Wt = Gt(cr), re = Gt(Tr), le = Rt ? Rt.prototype : void 0, he = le ? le.valueOf : void 0;
11445
11445
  function Me(Ue) {
11446
11446
  var Ye = -1, dt = Ue == null ? 0 : Ue.length;
11447
11447
  for (this.clear(); ++Ye < dt; ) {
@@ -11472,8 +11472,8 @@ function sC() {
11472
11472
  this.size = Ye.size;
11473
11473
  }
11474
11474
  function Fr(Ue, Ye) {
11475
- var dt = oa(Ue), Ht = !dt && Ia(Ue), Wr = !dt && !Ht && Lr(Ue), kr = !dt && !Ht && !Wr && Qr(Ue), mr = dt || Ht || Wr || kr, tr = mr ? (function(Tr, na) {
11476
- for (var ma = -1, er = Array(Tr); ++ma < Tr; ) er[ma] = na(ma);
11475
+ var dt = oa(Ue), Ht = !dt && Ia(Ue), Wr = !dt && !Ht && Lr(Ue), kr = !dt && !Ht && !Wr && Qr(Ue), mr = dt || Ht || Wr || kr, tr = mr ? (function(Cr, na) {
11476
+ for (var ma = -1, er = Array(Cr); ++ma < Cr; ) er[ma] = na(ma);
11477
11477
  return er;
11478
11478
  })(Ue.length, String) : [], Hr = tr.length;
11479
11479
  for (var aa in Ue) !Xt.call(Ue, aa) || mr && (aa == "length" || Wr && (aa == "offset" || aa == "parent") || kr && (aa == "buffer" || aa == "byteLength" || aa == "byteOffset") || dr(aa, Hr)) || tr.push(aa);
@@ -11501,65 +11501,65 @@ function sC() {
11501
11501
  return jr(Ue) && gr(Ue) == k;
11502
11502
  }
11503
11503
  function Mt(Ue, Ye, dt, Ht, Wr) {
11504
- return Ue === Ye || (Ue == null || Ye == null || !jr(Ue) && !jr(Ye) ? Ue != Ue && Ye != Ye : (function(kr, mr, tr, Hr, aa, Tr) {
11504
+ return Ue === Ye || (Ue == null || Ye == null || !jr(Ue) && !jr(Ye) ? Ue != Ue && Ye != Ye : (function(kr, mr, tr, Hr, aa, Cr) {
11505
11505
  var na = oa(kr), ma = oa(mr), er = na ? y : Ut(kr), va = ma ? y : Ut(mr), dn = (er = er == k ? C : er) == C, Dn = (va = va == k ? C : va) == C, Jr = er == va;
11506
11506
  if (Jr && Lr(kr)) {
11507
11507
  if (!Lr(mr)) return !1;
11508
11508
  na = !0, dn = !1;
11509
11509
  }
11510
- if (Jr && !dn) return Tr || (Tr = new pr()), na || Qr(kr) ? Yt(kr, mr, tr, Hr, aa, Tr) : (function(ia, Or, pa, Un, rn, ka, Mn) {
11510
+ if (Jr && !dn) return Cr || (Cr = new pr()), na || Qr(kr) ? Yt(kr, mr, tr, Hr, aa, Cr) : (function(ia, Rr, pa, Un, rn, ka, Mn) {
11511
11511
  switch (pa) {
11512
11512
  case de:
11513
- if (ia.byteLength != Or.byteLength || ia.byteOffset != Or.byteOffset) return !1;
11514
- ia = ia.buffer, Or = Or.buffer;
11513
+ if (ia.byteLength != Rr.byteLength || ia.byteOffset != Rr.byteOffset) return !1;
11514
+ ia = ia.buffer, Rr = Rr.buffer;
11515
11515
  case ae:
11516
- return !(ia.byteLength != Or.byteLength || !ka(new It(ia), new It(Or)));
11516
+ return !(ia.byteLength != Rr.byteLength || !ka(new It(ia), new It(Rr)));
11517
11517
  case O:
11518
11518
  case U:
11519
11519
  case $:
11520
- return Br(+ia, +Or);
11520
+ return Br(+ia, +Rr);
11521
11521
  case M:
11522
- return ia.name == Or.name && ia.message == Or.message;
11522
+ return ia.name == Rr.name && ia.message == Rr.message;
11523
11523
  case G:
11524
11524
  case X:
11525
- return ia == Or + "";
11525
+ return ia == Rr + "";
11526
11526
  case H:
11527
11527
  var $n = we;
11528
11528
  case Y:
11529
11529
  var Wn = Un & v;
11530
- if ($n || ($n = Le), ia.size != Or.size && !Wn) return !1;
11530
+ if ($n || ($n = Le), ia.size != Rr.size && !Wn) return !1;
11531
11531
  var Ja = Mn.get(ia);
11532
- if (Ja) return Ja == Or;
11533
- Un |= x, Mn.set(ia, Or);
11534
- var Fa = Yt($n(ia), $n(Or), Un, rn, ka, Mn);
11532
+ if (Ja) return Ja == Rr;
11533
+ Un |= x, Mn.set(ia, Rr);
11534
+ var Fa = Yt($n(ia), $n(Rr), Un, rn, ka, Mn);
11535
11535
  return Mn.delete(ia), Fa;
11536
11536
  case Z:
11537
- if (he) return he.call(ia) == he.call(Or);
11537
+ if (he) return he.call(ia) == he.call(Rr);
11538
11538
  }
11539
11539
  return !1;
11540
- })(kr, mr, er, tr, Hr, aa, Tr);
11540
+ })(kr, mr, er, tr, Hr, aa, Cr);
11541
11541
  if (!(tr & v)) {
11542
11542
  var La = dn && Xt.call(kr, "__wrapped__"), vn = Dn && Xt.call(mr, "__wrapped__");
11543
11543
  if (La || vn) {
11544
11544
  var Wa = La ? kr.value() : kr, Ba = vn ? mr.value() : mr;
11545
- return Tr || (Tr = new pr()), aa(Wa, Ba, tr, Hr, Tr);
11545
+ return Cr || (Cr = new pr()), aa(Wa, Ba, tr, Hr, Cr);
11546
11546
  }
11547
11547
  }
11548
- return Jr ? (Tr || (Tr = new pr()), (function(ia, Or, pa, Un, rn, ka) {
11549
- var Mn = pa & v, $n = Qt(ia), Wn = $n.length, Ja = Qt(Or).length;
11548
+ return Jr ? (Cr || (Cr = new pr()), (function(ia, Rr, pa, Un, rn, ka) {
11549
+ var Mn = pa & v, $n = Qt(ia), Wn = $n.length, Ja = Qt(Rr).length;
11550
11550
  if (Wn != Ja && !Mn) return !1;
11551
11551
  for (var Fa = Wn; Fa--; ) {
11552
11552
  var Lt = $n[Fa];
11553
- if (!(Mn ? Lt in Or : Xt.call(Or, Lt))) return !1;
11553
+ if (!(Mn ? Lt in Rr : Xt.call(Rr, Lt))) return !1;
11554
11554
  }
11555
11555
  var Nn = ka.get(ia);
11556
- if (Nn && ka.get(Or)) return Nn == Or;
11556
+ if (Nn && ka.get(Rr)) return Nn == Rr;
11557
11557
  var ja = !0;
11558
- ka.set(ia, Or), ka.set(Or, ia);
11558
+ ka.set(ia, Rr), ka.set(Rr, ia);
11559
11559
  for (var rr = Mn; ++Fa < Wn; ) {
11560
11560
  Lt = $n[Fa];
11561
- var ca = ia[Lt], _r = Or[Lt];
11562
- if (Un) var an = Mn ? Un(_r, ca, Lt, Or, ia, ka) : Un(ca, _r, Lt, ia, Or, ka);
11561
+ var ca = ia[Lt], _r = Rr[Lt];
11562
+ if (Un) var an = Mn ? Un(_r, ca, Lt, Rr, ia, ka) : Un(ca, _r, Lt, ia, Rr, ka);
11563
11563
  if (!(an === void 0 ? ca === _r || rn(ca, _r, pa, Un, ka) : an)) {
11564
11564
  ja = !1;
11565
11565
  break;
@@ -11567,15 +11567,15 @@ function sC() {
11567
11567
  rr || (rr = Lt == "constructor");
11568
11568
  }
11569
11569
  if (ja && !rr) {
11570
- var za = ia.constructor, yn = Or.constructor;
11571
- za != yn && "constructor" in ia && "constructor" in Or && !(typeof za == "function" && za instanceof za && typeof yn == "function" && yn instanceof yn) && (ja = !1);
11570
+ var za = ia.constructor, yn = Rr.constructor;
11571
+ za != yn && "constructor" in ia && "constructor" in Rr && !(typeof za == "function" && za instanceof za && typeof yn == "function" && yn instanceof yn) && (ja = !1);
11572
11572
  }
11573
- return ka.delete(ia), ka.delete(Or), ja;
11574
- })(kr, mr, tr, Hr, aa, Tr)) : !1;
11573
+ return ka.delete(ia), ka.delete(Rr), ja;
11574
+ })(kr, mr, tr, Hr, aa, Cr)) : !1;
11575
11575
  })(Ue, Ye, dt, Ht, Mt, Wr));
11576
11576
  }
11577
11577
  function Dt(Ue) {
11578
- return !(!Xr(Ue) || (Ye = Ue, Mr && Mr in Ye)) && (Gr(Ue) ? St : te).test(Gt(Ue));
11578
+ return !(!Xr(Ue) || (Ye = Ue, Or && Or in Ye)) && (Gr(Ue) ? St : te).test(Gt(Ue));
11579
11579
  var Ye;
11580
11580
  }
11581
11581
  function ft(Ue) {
@@ -11589,10 +11589,10 @@ function sC() {
11589
11589
  if (tr != Hr && !(mr && Hr > tr)) return !1;
11590
11590
  var aa = kr.get(Ue);
11591
11591
  if (aa && kr.get(Ye)) return aa == Ye;
11592
- var Tr = -1, na = !0, ma = dt & x ? new wr() : void 0;
11593
- for (kr.set(Ue, Ye), kr.set(Ye, Ue); ++Tr < tr; ) {
11594
- var er = Ue[Tr], va = Ye[Tr];
11595
- if (Ht) var dn = mr ? Ht(va, er, Tr, Ye, Ue, kr) : Ht(er, va, Tr, Ue, Ye, kr);
11592
+ var Cr = -1, na = !0, ma = dt & x ? new wr() : void 0;
11593
+ for (kr.set(Ue, Ye), kr.set(Ye, Ue); ++Cr < tr; ) {
11594
+ var er = Ue[Cr], va = Ye[Cr];
11595
+ if (Ht) var dn = mr ? Ht(va, er, Cr, Ye, Ue, kr) : Ht(er, va, Cr, Ue, Ye, kr);
11596
11596
  if (dn !== void 0) {
11597
11597
  if (dn) continue;
11598
11598
  na = !1;
@@ -11729,7 +11729,7 @@ function sC() {
11729
11729
  function Br(Ue, Ye) {
11730
11730
  return Ue === Ye || Ue != Ue && Ye != Ye;
11731
11731
  }
11732
- (kt && Ut(new kt(new ArrayBuffer(1))) != de || st && Ut(new st()) != H || et && Ut(et.resolve()) != "[object Promise]" || cr && Ut(new cr()) != Y || Ar && Ut(new Ar()) != "[object WeakMap]") && (Ut = function(Ue) {
11732
+ (kt && Ut(new kt(new ArrayBuffer(1))) != de || st && Ut(new st()) != H || et && Ut(et.resolve()) != "[object Promise]" || cr && Ut(new cr()) != Y || Tr && Ut(new Tr()) != "[object WeakMap]") && (Ut = function(Ue) {
11733
11733
  var Ye = gr(Ue), dt = Ye == C ? Ue.constructor : void 0, Ht = dt ? Gt(dt) : "";
11734
11734
  if (Ht) switch (Ht) {
11735
11735
  case sa:
@@ -19770,13 +19770,13 @@ and ensure you are accounting for this risk.
19770
19770
  delete Re.attribs[Xt];
19771
19771
  return;
19772
19772
  }
19773
- let Mr = !1;
19773
+ let Or = !1;
19774
19774
  if (!G || x(G, ge) && G[ge].indexOf(Xt) !== -1 || G["*"] && G["*"].indexOf(Xt) !== -1 || x(Y, ge) && Y[ge].test(Xt) || Y["*"] && Y["*"].test(Xt))
19775
- Mr = !0;
19775
+ Or = !0;
19776
19776
  else if (G && G[ge]) {
19777
19777
  for (const zt of G[ge])
19778
19778
  if (l(zt) && zt.name && zt.name === Xt) {
19779
- Mr = !0;
19779
+ Or = !0;
19780
19780
  let St = "";
19781
19781
  if (zt.multiple === !0) {
19782
19782
  const Kt = $t.split(" ");
@@ -19786,7 +19786,7 @@ and ensure you are accounting for this risk.
19786
19786
  $t = St;
19787
19787
  }
19788
19788
  }
19789
- if (Mr) {
19789
+ if (Or) {
19790
19790
  if (T.allowedSchemesAppliedToAttributes.indexOf(Xt) !== -1 && pe(ge, $t)) {
19791
19791
  delete Re.attribs[Xt];
19792
19792
  return;
@@ -26041,8 +26041,8 @@ function zA() {
26041
26041
  }), p || (p = function(kt) {
26042
26042
  return kt;
26043
26043
  }), v || (v = function(kt, st) {
26044
- for (var et = arguments.length, cr = new Array(et > 2 ? et - 2 : 0), Ar = 2; Ar < et; Ar++)
26045
- cr[Ar - 2] = arguments[Ar];
26044
+ for (var et = arguments.length, cr = new Array(et > 2 ? et - 2 : 0), Tr = 2; Tr < et; Tr++)
26045
+ cr[Tr - 2] = arguments[Tr];
26046
26046
  return kt.apply(st, cr);
26047
26047
  }), x || (x = function(kt) {
26048
26048
  for (var st = arguments.length, et = new Array(st > 1 ? st - 1 : 0), cr = 1; cr < st; cr++)
@@ -26073,8 +26073,8 @@ function zA() {
26073
26073
  for (; et--; ) {
26074
26074
  let cr = kt[et];
26075
26075
  if (typeof cr == "string") {
26076
- const Ar = st(cr);
26077
- Ar !== cr && (l(kt) || (kt[et] = Ar), cr = Ar);
26076
+ const Tr = st(cr);
26077
+ Tr !== cr && (l(kt) || (kt[et] = Tr), cr = Tr);
26078
26078
  }
26079
26079
  Bt[cr] = !0;
26080
26080
  }
@@ -26146,7 +26146,7 @@ function zA() {
26146
26146
  const Se = f(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ie = f(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), oe = f(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), pe = f(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), De = f(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Te = f(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), we = f(["#text"]), Le = f(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), tt = f(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), ge = f(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), me = f(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Re = p(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Ve = p(/<%[\w\W]*|[\w\W]*%>/gm), ct = p(/\$\{[\w\W]*/gm), at = p(/^data-[\-\w.\u00B7-\uFFFF]+$/), $t = p(/^aria-[\-\w]+$/), Xt = p(
26147
26147
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
26148
26148
  // eslint-disable-line no-useless-escape
26149
- ), Mr = p(/^(?:\w+script|data):/i), zt = p(
26149
+ ), Or = p(/^(?:\w+script|data):/i), zt = p(
26150
26150
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
26151
26151
  // eslint-disable-line no-control-regex
26152
26152
  ), St = p(/^html$/i), Kt = p(/^[a-z][.\w]*(-[.\w]+)+$/i);
@@ -26159,7 +26159,7 @@ function zA() {
26159
26159
  DOCTYPE_NAME: St,
26160
26160
  ERB_EXPR: Ve,
26161
26161
  IS_ALLOWED_URI: Xt,
26162
- IS_SCRIPT_OR_DATA: Mr,
26162
+ IS_SCRIPT_OR_DATA: Or,
26163
26163
  MUSTACHE_EXPR: Re,
26164
26164
  TMPLIT_EXPR: ct
26165
26165
  });
@@ -26178,9 +26178,9 @@ function zA() {
26178
26178
  let et = null;
26179
26179
  const cr = "data-tt-policy-suffix";
26180
26180
  st && st.hasAttribute(cr) && (et = st.getAttribute(cr));
26181
- const Ar = "dompurify" + (et ? "#" + et : "");
26181
+ const Tr = "dompurify" + (et ? "#" + et : "");
26182
26182
  try {
26183
- return kt.createPolicy(Ar, {
26183
+ return kt.createPolicy(Tr, {
26184
26184
  createHTML(Zt) {
26185
26185
  return Zt;
26186
26186
  },
@@ -26189,7 +26189,7 @@ function zA() {
26189
26189
  }
26190
26190
  });
26191
26191
  } catch {
26192
- return console.warn("TrustedTypes policy " + Ar + " could not be created."), null;
26192
+ return console.warn("TrustedTypes policy " + Tr + " could not be created."), null;
26193
26193
  }
26194
26194
  }, xr = function() {
26195
26195
  return {
@@ -26213,7 +26213,7 @@ function zA() {
26213
26213
  document: st
26214
26214
  } = Bt;
26215
26215
  const et = st, cr = et.currentScript, {
26216
- DocumentFragment: Ar,
26216
+ DocumentFragment: Tr,
26217
26217
  HTMLTemplateElement: Zt,
26218
26218
  Node: sa,
26219
26219
  Element: Vr,
@@ -26288,13 +26288,13 @@ function zA() {
26288
26288
  value: null
26289
26289
  }
26290
26290
  }));
26291
- let Ye = !0, dt = !0, Ht = !1, Wr = !0, kr = !1, mr = !0, tr = !1, Hr = !1, aa = !1, Tr = !1, na = !1, ma = !1, er = !0, va = !1;
26291
+ let Ye = !0, dt = !0, Ht = !1, Wr = !0, kr = !1, mr = !0, tr = !1, Hr = !1, aa = !1, Cr = !1, na = !1, ma = !1, er = !0, va = !1;
26292
26292
  const dn = "user-content-";
26293
26293
  let Dn = !0, Jr = !1, La = {}, vn = null;
26294
26294
  const Wa = F({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
26295
26295
  let Ba = null;
26296
26296
  const ia = F({}, ["audio", "video", "img", "source", "image", "track"]);
26297
- let Or = null;
26297
+ let Rr = null;
26298
26298
  const pa = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Un = "http://www.w3.org/1998/Math/MathML", rn = "http://www.w3.org/2000/svg", ka = "http://www.w3.org/1999/xhtml";
26299
26299
  let Mn = ka, $n = !1, Wn = null;
26300
26300
  const Ja = F({}, [Un, rn, ka], T);
@@ -26310,9 +26310,9 @@ function zA() {
26310
26310
  if (an && an === Ee)
26311
26311
  return;
26312
26312
  (!Ee || typeof Ee != "object") && (Ee = {}), Ee = se(Ee), ja = // eslint-disable-next-line unicorn/prefer-includes
26313
- rr.indexOf(Ee.PARSER_MEDIA_TYPE) === -1 ? ca : Ee.PARSER_MEDIA_TYPE, _r = ja === "application/xhtml+xml" ? T : M, Lr = X(Ee, "ALLOWED_TAGS") && U(Ee.ALLOWED_TAGS) ? F({}, Ee.ALLOWED_TAGS, _r) : Gr, br = X(Ee, "ALLOWED_ATTR") && U(Ee.ALLOWED_ATTR) ? F({}, Ee.ALLOWED_ATTR, _r) : Xr, Wn = X(Ee, "ALLOWED_NAMESPACES") && U(Ee.ALLOWED_NAMESPACES) ? F({}, Ee.ALLOWED_NAMESPACES, T) : Ja, Or = X(Ee, "ADD_URI_SAFE_ATTR") && U(Ee.ADD_URI_SAFE_ATTR) ? F(se(pa), Ee.ADD_URI_SAFE_ATTR, _r) : pa, Ba = X(Ee, "ADD_DATA_URI_TAGS") && U(Ee.ADD_DATA_URI_TAGS) ? F(se(ia), Ee.ADD_DATA_URI_TAGS, _r) : ia, vn = X(Ee, "FORBID_CONTENTS") && U(Ee.FORBID_CONTENTS) ? F({}, Ee.FORBID_CONTENTS, _r) : Wa, Qr = X(Ee, "FORBID_TAGS") && U(Ee.FORBID_TAGS) ? F({}, Ee.FORBID_TAGS, _r) : se({}), Xn = X(Ee, "FORBID_ATTR") && U(Ee.FORBID_ATTR) ? F({}, Ee.FORBID_ATTR, _r) : se({}), La = X(Ee, "USE_PROFILES") ? Ee.USE_PROFILES && typeof Ee.USE_PROFILES == "object" ? se(Ee.USE_PROFILES) : Ee.USE_PROFILES : !1, Ye = Ee.ALLOW_ARIA_ATTR !== !1, dt = Ee.ALLOW_DATA_ATTR !== !1, Ht = Ee.ALLOW_UNKNOWN_PROTOCOLS || !1, Wr = Ee.ALLOW_SELF_CLOSE_IN_ATTR !== !1, kr = Ee.SAFE_FOR_TEMPLATES || !1, mr = Ee.SAFE_FOR_XML !== !1, tr = Ee.WHOLE_DOCUMENT || !1, Tr = Ee.RETURN_DOM || !1, na = Ee.RETURN_DOM_FRAGMENT || !1, ma = Ee.RETURN_TRUSTED_TYPE || !1, aa = Ee.FORCE_BODY || !1, er = Ee.SANITIZE_DOM !== !1, va = Ee.SANITIZE_NAMED_PROPS || !1, Dn = Ee.KEEP_CONTENT !== !1, Jr = Ee.IN_PLACE || !1, oa = _e(Ee.ALLOWED_URI_REGEXP) ? Ee.ALLOWED_URI_REGEXP : Xt, Mn = typeof Ee.NAMESPACE == "string" ? Ee.NAMESPACE : ka, Fa = X(Ee, "MATHML_TEXT_INTEGRATION_POINTS") && Ee.MATHML_TEXT_INTEGRATION_POINTS && typeof Ee.MATHML_TEXT_INTEGRATION_POINTS == "object" ? se(Ee.MATHML_TEXT_INTEGRATION_POINTS) : F({}, ["mi", "mo", "mn", "ms", "mtext"]), Lt = X(Ee, "HTML_INTEGRATION_POINTS") && Ee.HTML_INTEGRATION_POINTS && typeof Ee.HTML_INTEGRATION_POINTS == "object" ? se(Ee.HTML_INTEGRATION_POINTS) : F({}, ["annotation-xml"]);
26313
+ rr.indexOf(Ee.PARSER_MEDIA_TYPE) === -1 ? ca : Ee.PARSER_MEDIA_TYPE, _r = ja === "application/xhtml+xml" ? T : M, Lr = X(Ee, "ALLOWED_TAGS") && U(Ee.ALLOWED_TAGS) ? F({}, Ee.ALLOWED_TAGS, _r) : Gr, br = X(Ee, "ALLOWED_ATTR") && U(Ee.ALLOWED_ATTR) ? F({}, Ee.ALLOWED_ATTR, _r) : Xr, Wn = X(Ee, "ALLOWED_NAMESPACES") && U(Ee.ALLOWED_NAMESPACES) ? F({}, Ee.ALLOWED_NAMESPACES, T) : Ja, Rr = X(Ee, "ADD_URI_SAFE_ATTR") && U(Ee.ADD_URI_SAFE_ATTR) ? F(se(pa), Ee.ADD_URI_SAFE_ATTR, _r) : pa, Ba = X(Ee, "ADD_DATA_URI_TAGS") && U(Ee.ADD_DATA_URI_TAGS) ? F(se(ia), Ee.ADD_DATA_URI_TAGS, _r) : ia, vn = X(Ee, "FORBID_CONTENTS") && U(Ee.FORBID_CONTENTS) ? F({}, Ee.FORBID_CONTENTS, _r) : Wa, Qr = X(Ee, "FORBID_TAGS") && U(Ee.FORBID_TAGS) ? F({}, Ee.FORBID_TAGS, _r) : se({}), Xn = X(Ee, "FORBID_ATTR") && U(Ee.FORBID_ATTR) ? F({}, Ee.FORBID_ATTR, _r) : se({}), La = X(Ee, "USE_PROFILES") ? Ee.USE_PROFILES && typeof Ee.USE_PROFILES == "object" ? se(Ee.USE_PROFILES) : Ee.USE_PROFILES : !1, Ye = Ee.ALLOW_ARIA_ATTR !== !1, dt = Ee.ALLOW_DATA_ATTR !== !1, Ht = Ee.ALLOW_UNKNOWN_PROTOCOLS || !1, Wr = Ee.ALLOW_SELF_CLOSE_IN_ATTR !== !1, kr = Ee.SAFE_FOR_TEMPLATES || !1, mr = Ee.SAFE_FOR_XML !== !1, tr = Ee.WHOLE_DOCUMENT || !1, Cr = Ee.RETURN_DOM || !1, na = Ee.RETURN_DOM_FRAGMENT || !1, ma = Ee.RETURN_TRUSTED_TYPE || !1, aa = Ee.FORCE_BODY || !1, er = Ee.SANITIZE_DOM !== !1, va = Ee.SANITIZE_NAMED_PROPS || !1, Dn = Ee.KEEP_CONTENT !== !1, Jr = Ee.IN_PLACE || !1, oa = _e(Ee.ALLOWED_URI_REGEXP) ? Ee.ALLOWED_URI_REGEXP : Xt, Mn = typeof Ee.NAMESPACE == "string" ? Ee.NAMESPACE : ka, Fa = X(Ee, "MATHML_TEXT_INTEGRATION_POINTS") && Ee.MATHML_TEXT_INTEGRATION_POINTS && typeof Ee.MATHML_TEXT_INTEGRATION_POINTS == "object" ? se(Ee.MATHML_TEXT_INTEGRATION_POINTS) : F({}, ["mi", "mo", "mn", "ms", "mtext"]), Lt = X(Ee, "HTML_INTEGRATION_POINTS") && Ee.HTML_INTEGRATION_POINTS && typeof Ee.HTML_INTEGRATION_POINTS == "object" ? se(Ee.HTML_INTEGRATION_POINTS) : F({}, ["annotation-xml"]);
26314
26314
  const rt = X(Ee, "CUSTOM_ELEMENT_HANDLING") && Ee.CUSTOM_ELEMENT_HANDLING && typeof Ee.CUSTOM_ELEMENT_HANDLING == "object" ? se(Ee.CUSTOM_ELEMENT_HANDLING) : g(null);
26315
- if (jr = g(null), X(rt, "tagNameCheck") && yn(rt.tagNameCheck) && (jr.tagNameCheck = rt.tagNameCheck), X(rt, "attributeNameCheck") && yn(rt.attributeNameCheck) && (jr.attributeNameCheck = rt.attributeNameCheck), X(rt, "allowCustomizedBuiltInElements") && typeof rt.allowCustomizedBuiltInElements == "boolean" && (jr.allowCustomizedBuiltInElements = rt.allowCustomizedBuiltInElements), kr && (dt = !1), na && (Tr = !0), La && (Lr = F({}, we), br = g(null), La.html === !0 && (F(Lr, Se), F(br, Le)), La.svg === !0 && (F(Lr, ie), F(br, tt), F(br, me)), La.svgFilters === !0 && (F(Lr, oe), F(br, tt), F(br, me)), La.mathMl === !0 && (F(Lr, De), F(br, ge), F(br, me))), Ue.tagCheck = null, Ue.attributeCheck = null, X(Ee, "ADD_TAGS") && (typeof Ee.ADD_TAGS == "function" ? Ue.tagCheck = Ee.ADD_TAGS : U(Ee.ADD_TAGS) && (Lr === Gr && (Lr = se(Lr)), F(Lr, Ee.ADD_TAGS, _r))), X(Ee, "ADD_ATTR") && (typeof Ee.ADD_ATTR == "function" ? Ue.attributeCheck = Ee.ADD_ATTR : U(Ee.ADD_ATTR) && (br === Xr && (br = se(br)), F(br, Ee.ADD_ATTR, _r))), X(Ee, "ADD_URI_SAFE_ATTR") && U(Ee.ADD_URI_SAFE_ATTR) && F(Or, Ee.ADD_URI_SAFE_ATTR, _r), X(Ee, "FORBID_CONTENTS") && U(Ee.FORBID_CONTENTS) && (vn === Wa && (vn = se(vn)), F(vn, Ee.FORBID_CONTENTS, _r)), X(Ee, "ADD_FORBID_CONTENTS") && U(Ee.ADD_FORBID_CONTENTS) && (vn === Wa && (vn = se(vn)), F(vn, Ee.ADD_FORBID_CONTENTS, _r)), Dn && (Lr["#text"] = !0), tr && F(Lr, ["html", "head", "body"]), Lr.table && (F(Lr, ["tbody"]), delete Qr.tbody), Ee.TRUSTED_TYPES_POLICY) {
26315
+ if (jr = g(null), X(rt, "tagNameCheck") && yn(rt.tagNameCheck) && (jr.tagNameCheck = rt.tagNameCheck), X(rt, "attributeNameCheck") && yn(rt.attributeNameCheck) && (jr.attributeNameCheck = rt.attributeNameCheck), X(rt, "allowCustomizedBuiltInElements") && typeof rt.allowCustomizedBuiltInElements == "boolean" && (jr.allowCustomizedBuiltInElements = rt.allowCustomizedBuiltInElements), kr && (dt = !1), na && (Cr = !0), La && (Lr = F({}, we), br = g(null), La.html === !0 && (F(Lr, Se), F(br, Le)), La.svg === !0 && (F(Lr, ie), F(br, tt), F(br, me)), La.svgFilters === !0 && (F(Lr, oe), F(br, tt), F(br, me)), La.mathMl === !0 && (F(Lr, De), F(br, ge), F(br, me))), Ue.tagCheck = null, Ue.attributeCheck = null, X(Ee, "ADD_TAGS") && (typeof Ee.ADD_TAGS == "function" ? Ue.tagCheck = Ee.ADD_TAGS : U(Ee.ADD_TAGS) && (Lr === Gr && (Lr = se(Lr)), F(Lr, Ee.ADD_TAGS, _r))), X(Ee, "ADD_ATTR") && (typeof Ee.ADD_ATTR == "function" ? Ue.attributeCheck = Ee.ADD_ATTR : U(Ee.ADD_ATTR) && (br === Xr && (br = se(br)), F(br, Ee.ADD_ATTR, _r))), X(Ee, "ADD_URI_SAFE_ATTR") && U(Ee.ADD_URI_SAFE_ATTR) && F(Rr, Ee.ADD_URI_SAFE_ATTR, _r), X(Ee, "FORBID_CONTENTS") && U(Ee.FORBID_CONTENTS) && (vn === Wa && (vn = se(vn)), F(vn, Ee.FORBID_CONTENTS, _r)), X(Ee, "ADD_FORBID_CONTENTS") && U(Ee.ADD_FORBID_CONTENTS) && (vn === Wa && (vn = se(vn)), F(vn, Ee.ADD_FORBID_CONTENTS, _r)), Dn && (Lr["#text"] = !0), tr && F(Lr, ["html", "head", "body"]), Lr.table && (F(Lr, ["tbody"]), delete Qr.tbody), Ee.TRUSTED_TYPES_POLICY) {
26316
26316
  if (typeof Ee.TRUSTED_TYPES_POLICY.createHTML != "function")
26317
26317
  throw ae('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
26318
26318
  if (typeof Ee.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -26351,7 +26351,7 @@ function zA() {
26351
26351
  });
26352
26352
  }
26353
26353
  if (rt.removeAttribute(Ee), Ee === "is")
26354
- if (Tr || na)
26354
+ if (Cr || na)
26355
26355
  try {
26356
26356
  xa(rt);
26357
26357
  } catch {
@@ -26448,7 +26448,7 @@ function zA() {
26448
26448
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
26449
26449
  rt === "is" && jr.allowCustomizedBuiltInElements && (jr.tagNameCheck instanceof RegExp && W(jr.tagNameCheck, Jt) || jr.tagNameCheck instanceof Function && jr.tagNameCheck(Jt)))
26450
26450
  ) return !1;
26451
- } else if (!Or[rt]) {
26451
+ } else if (!Rr[rt]) {
26452
26452
  if (!W(oa, H(Jt, Br, ""))) {
26453
26453
  if (!((rt === "src" || rt === "xlink:href" || rt === "href") && Ee !== "script" && $(Jt, "data:") === 0 && Ba[Ee])) {
26454
26454
  if (!(Ht && !W(Gt, H(Jt, Br, "")))) {
@@ -26535,7 +26535,7 @@ function zA() {
26535
26535
  let rt = null;
26536
26536
  const Jt = qe(Ee);
26537
26537
  for (Kr(Qt.beforeSanitizeShadowDOM, Ee, null); rt = Jt.nextNode(); )
26538
- Kr(Qt.uponSanitizeShadowNode, rt, null), $r(rt), ga(rt), rt.content instanceof Ar && pn(rt.content);
26538
+ Kr(Qt.uponSanitizeShadowNode, rt, null), $r(rt), ga(rt), rt.content instanceof Tr && pn(rt.content);
26539
26539
  Kr(Qt.afterSanitizeShadowDOM, Ee, null);
26540
26540
  };
26541
26541
  return kt.sanitize = function(lr) {
@@ -26554,19 +26554,19 @@ function zA() {
26554
26554
  } else if (lr instanceof sa)
26555
26555
  rt = ye("<!---->"), Jt = rt.ownerDocument.importNode(lr, !0), Jt.nodeType === It.element && Jt.nodeName === "BODY" || Jt.nodeName === "HTML" ? rt = Jt : rt.appendChild(Jt);
26556
26556
  else {
26557
- if (!Tr && !kr && !tr && // eslint-disable-next-line unicorn/prefer-includes
26557
+ if (!Cr && !kr && !tr && // eslint-disable-next-line unicorn/prefer-includes
26558
26558
  lr.indexOf("<") === -1)
26559
26559
  return Tt && ma ? Tt.createHTML(lr) : lr;
26560
26560
  if (rt = ye(lr), !rt)
26561
- return Tr ? null : ma ? gr : "";
26561
+ return Cr ? null : ma ? gr : "";
26562
26562
  }
26563
26563
  rt && aa && xa(rt.firstChild);
26564
26564
  const Ga = qe(Jr ? lr : rt);
26565
26565
  for (; Da = Ga.nextNode(); )
26566
- $r(Da), ga(Da), Da.content instanceof Ar && pn(Da.content);
26566
+ $r(Da), ga(Da), Da.content instanceof Tr && pn(Da.content);
26567
26567
  if (Jr)
26568
26568
  return lr;
26569
- if (Tr) {
26569
+ if (Cr) {
26570
26570
  if (kr) {
26571
26571
  rt.normalize();
26572
26572
  let Ha = rt.innerHTML;
@@ -26939,7 +26939,7 @@ const _3 = ({
26939
26939
  allowLandscapeVideos: at = !1,
26940
26940
  onVoteChange: $t,
26941
26941
  voteLabel: Xt = "Upvote parent on publish",
26942
- showCancel: Mr = !0,
26942
+ showCancel: Or = !0,
26943
26943
  submitLabel: zt = "Post",
26944
26944
  title: St,
26945
26945
  defaultPreviewOn: Kt = !1,
@@ -26955,19 +26955,19 @@ const _3 = ({
26955
26955
  walletApprovalLabel: st = "Open Keychain App & Approve",
26956
26956
  awaitingWalletApproval: et = !1
26957
26957
  }) => {
26958
- const [cr, Ar] = Q(""), Zt = Rt !== void 0 ? Rt : cr, sa = (ke) => {
26959
- It ? It(ke) : Ar(ke);
26960
- }, [Vr, ua] = Q(!1), Wt = Nr || Vr, [re, le] = Q(!1), [he, Me] = Q(!1), [ot, jt] = Q(!1), [wr, pr] = Q(!1), [Fr, Tt] = Q([]), [gr, Je] = Q(!1), [Mt, Dt] = Q(!1), [ft, Yt] = Q(!1), [Qt, Ct] = Q(Kt), [Pt, Ft] = Q(null), [Ut, dr] = Q(0), [Gt, Br] = Q(null), [Ia, oa] = Q(null), [Lr, Gr] = Q(null), [br, Xr] = Q([]), [jr, Qr] = Q(!1), [Xn, Ue] = Q(!1), [Ye, dt] = Q(!1), Ht = At(null), [Wr, kr] = Q(null), [mr, tr] = Q(!1), Hr = At(null), aa = At(0), Tr = Vt(
26958
+ const [cr, Tr] = Q(""), Zt = Rt !== void 0 ? Rt : cr, sa = (ke) => {
26959
+ It ? It(ke) : Tr(ke);
26960
+ }, [Vr, ua] = Q(!1), Wt = Nr || Vr, [re, le] = Q(!1), [he, Me] = Q(!1), [ot, jt] = Q(!1), [wr, pr] = Q(!1), [Fr, Tt] = Q([]), [gr, Je] = Q(!1), [Mt, Dt] = Q(!1), [ft, Yt] = Q(!1), [Qt, Ct] = Q(Kt), [Pt, Ft] = Q(null), [Ut, dr] = Q(0), [Gt, Br] = Q(null), [Ia, oa] = Q(null), [Lr, Gr] = Q(null), [br, Xr] = Q([]), [jr, Qr] = Q(!1), [Xn, Ue] = Q(!1), [Ye, dt] = Q(!1), Ht = At(null), [Wr, kr] = Q(null), [mr, tr] = Q(!1), Hr = At(null), aa = At(0), Cr = Vt(
26961
26961
  () => (se ?? []).map((ke) => ke.trim().toLowerCase()).filter(Boolean),
26962
26962
  [se]
26963
26963
  ), [na, ma] = Q(() => {
26964
26964
  const ke = /* @__PURE__ */ new Set(), Et = [];
26965
26965
  for (const ar of xe ?? []) {
26966
- const Cr = String(ar).trim().toLowerCase().replace(/^#+/, "").replace(/\s+/g, "-");
26967
- !Cr || ke.has(Cr) || Tr.includes(Cr) || (ke.add(Cr), Et.push(Cr));
26966
+ const Dr = String(ar).trim().toLowerCase().replace(/^#+/, "").replace(/\s+/g, "-");
26967
+ !Dr || ke.has(Dr) || Cr.includes(Dr) || (ke.add(Dr), Et.push(Dr));
26968
26968
  }
26969
26969
  return Et;
26970
- }), [er, va] = Q(!1), [dn, Dn] = Q(""), Jr = Vt(() => [...Tr, ...na], [Tr, na]), La = Math.max(0, be - Jr.length);
26970
+ }), [er, va] = Q(!1), [dn, Dn] = Q(""), Jr = Vt(() => [...Cr, ...na], [Cr, na]), La = Math.max(0, be - Jr.length);
26971
26971
  Ie(() => {
26972
26972
  _e?.(Jr);
26973
26973
  }, [Jr.join("|")]), Ie(() => {
@@ -26984,7 +26984,7 @@ const _3 = ({
26984
26984
  }, []), Ba = (ke) => {
26985
26985
  const Et = ct > 0 ? ct : 0.25, ar = Math.round(ke / Et) * Et;
26986
26986
  return Math.max(Et, Math.min(100, parseFloat(ar.toFixed(4))));
26987
- }, ia = ct >= 1 ? 0 : ct >= 0.5 ? 1 : 2, Or = (ke) => Number.isInteger(ke) ? String(ke) : ke.toFixed(ia), [pa, Un] = Q(Re), [rn, ka] = Q(Ba(Ve));
26987
+ }, ia = ct >= 1 ? 0 : ct >= 0.5 ? 1 : 2, Rr = (ke) => Number.isInteger(ke) ? String(ke) : ke.toFixed(ia), [pa, Un] = Q(Re), [rn, ka] = Q(Ba(Ve));
26988
26988
  Ie(() => {
26989
26989
  $t?.(pa, rn);
26990
26990
  }, [pa, rn]);
@@ -27010,10 +27010,10 @@ const _3 = ({
27010
27010
  Nn && (ke[qh] = "10% to threespeakfund is required for video posts");
27011
27011
  for (const Et of Fr)
27012
27012
  for (const ar of Et.beneficiaries[ja] ?? []) {
27013
- const Cr = ar.account;
27014
- if (!Cr) continue;
27015
- const Rr = Et.template.name ? `template "${Et.template.name}"` : "a DecentMemes meme";
27016
- ke[Cr] = `Auto-attached by ${Rr} (${ar.role ?? "beneficiary"}) — required by the DecentMemes integration`;
27013
+ const Dr = ar.account;
27014
+ if (!Dr) continue;
27015
+ const Sr = Et.template.name ? `template "${Et.template.name}"` : "a DecentMemes meme";
27016
+ ke[Dr] = `Auto-attached by ${Sr} (${ar.role ?? "beneficiary"}) — required by the DecentMemes integration`;
27017
27017
  }
27018
27018
  return ke;
27019
27019
  }, [Nn, Fr, ja]), [an, za] = Q(
@@ -27034,8 +27034,8 @@ const _3 = ({
27034
27034
  }, [an.map((ke) => `${ke.account}:${ke.weight}`).join("|")]);
27035
27035
  const Vn = At(null), xa = At(null), [Bn, ye] = Q(null), qe = 224, vt = 8, qt = (ke, Et) => {
27036
27036
  if (!ke) return null;
27037
- const ar = ke.getBoundingClientRect(), Cr = window.innerWidth, Rr = Math.min(Et, Math.max(0, Cr - vt * 2)), Oa = Math.max(vt, Math.round((Cr - Rr) / 2));
27038
- return { top: ar.bottom + 4, left: Oa, width: Rr };
27037
+ const ar = ke.getBoundingClientRect(), Dr = window.innerWidth, Sr = Math.min(Et, Math.max(0, Dr - vt * 2)), Oa = Math.max(vt, Math.round((Dr - Sr) / 2));
27038
+ return { top: ar.bottom + 4, left: Oa, width: Sr };
27039
27039
  }, Kr = Ot(() => {
27040
27040
  Fa(!1), va((ke) => !ke);
27041
27041
  }, []), $r = Ot(() => {
@@ -27047,8 +27047,8 @@ const _3 = ({
27047
27047
  Ie(() => {
27048
27048
  if (!Ja) return;
27049
27049
  const ke = () => Fa(!1), Et = (ar) => {
27050
- const Cr = ar.target;
27051
- Vn.current?.contains(Cr) || xa.current?.contains(Cr) || ke();
27050
+ const Dr = ar.target;
27051
+ Vn.current?.contains(Dr) || xa.current?.contains(Dr) || ke();
27052
27052
  };
27053
27053
  return document.addEventListener("mousedown", Et), window.addEventListener("resize", ke), window.addEventListener("scroll", ke, !0), () => {
27054
27054
  document.removeEventListener("mousedown", Et), window.removeEventListener("resize", ke), window.removeEventListener("scroll", ke, !0);
@@ -27083,9 +27083,9 @@ const _3 = ({
27083
27083
  const vr = Ot((ke, Et = "") => {
27084
27084
  const ar = Hr.current;
27085
27085
  if (!ar) return;
27086
- const Cr = ar.selectionStart, Rr = ar.selectionEnd, Oa = Zt.slice(Cr, Rr), Ln = Zt.slice(0, Cr) + ke + Oa + Et + Zt.slice(Rr);
27086
+ const Dr = ar.selectionStart, Sr = ar.selectionEnd, Oa = Zt.slice(Dr, Sr), Ln = Zt.slice(0, Dr) + ke + Oa + Et + Zt.slice(Sr);
27087
27087
  sa(Ln), setTimeout(() => {
27088
- ar.focus(), ar.setSelectionRange(Cr + ke.length, Cr + ke.length + Oa.length);
27088
+ ar.focus(), ar.setSelectionRange(Dr + ke.length, Dr + ke.length + Oa.length);
27089
27089
  }, 0);
27090
27090
  }, [Zt]), Zr = Ot((ke) => {
27091
27091
  const Et = Hr.current;
@@ -27097,12 +27097,12 @@ const _3 = ({
27097
27097
  }, [Zt]), ga = Ot(() => {
27098
27098
  const ke = Hr.current;
27099
27099
  if (!ke) return;
27100
- const Et = ke.selectionStart, ar = ke.selectionEnd, Cr = Zt.slice(Et, ar);
27101
- if (Cr.includes(`
27102
- `) || Cr.length === 0) {
27103
- const Rr = "```\n" + (Cr || "code here") + "\n```", Oa = Zt.slice(0, Et) + Rr + Zt.slice(ar);
27100
+ const Et = ke.selectionStart, ar = ke.selectionEnd, Dr = Zt.slice(Et, ar);
27101
+ if (Dr.includes(`
27102
+ `) || Dr.length === 0) {
27103
+ const Sr = "```\n" + (Dr || "code here") + "\n```", Oa = Zt.slice(0, Et) + Sr + Zt.slice(ar);
27104
27104
  sa(Oa), setTimeout(() => {
27105
- ke.focus(), ke.setSelectionRange(Et + 4, Et + 4 + (Cr.length || 9));
27105
+ ke.focus(), ke.setSelectionRange(Et + 4, Et + 4 + (Dr.length || 9));
27106
27106
  }, 0);
27107
27107
  } else
27108
27108
  vr("`", "`");
@@ -27118,13 +27118,13 @@ const _3 = ({
27118
27118
  return console.error("Image too large (max 10MB)"), null;
27119
27119
  const Et = new AbortController();
27120
27120
  Ht.current = Et;
27121
- const ar = Et.signal, Cr = async () => {
27121
+ const ar = Et.signal, Dr = async () => {
27122
27122
  if (!p) throw new Error("Ecency token not provided");
27123
- const Rr = new FormData();
27124
- Rr.append("file", ke);
27123
+ const Sr = new FormData();
27124
+ Sr.append("file", ke);
27125
27125
  const Oa = await fetch(`https://images.ecency.com/hs/${p}`, {
27126
27126
  method: "POST",
27127
- body: Rr,
27127
+ body: Sr,
27128
27128
  signal: ar
27129
27129
  });
27130
27130
  if (!Oa.ok) throw new Error(`Upload failed: ${Oa.status}`);
@@ -27134,11 +27134,11 @@ const _3 = ({
27134
27134
  };
27135
27135
  try {
27136
27136
  try {
27137
- return await Cr();
27138
- } catch (Rr) {
27137
+ return await Dr();
27138
+ } catch (Sr) {
27139
27139
  if (ar.aborted) return null;
27140
27140
  if (!Ee)
27141
- return console.error("Image upload failed:", Rr), null;
27141
+ return console.error("Image upload failed:", Sr), null;
27142
27142
  try {
27143
27143
  return await j1(g, v, ke, void 0, {
27144
27144
  onSignStart: () => {
@@ -27163,11 +27163,11 @@ const _3 = ({
27163
27163
  for (let ar = 0; ar < Et.length; ar++)
27164
27164
  if (Et[ar].type.startsWith("image/")) {
27165
27165
  ke.preventDefault();
27166
- const Cr = Et[ar].getAsFile();
27167
- if (!Cr) continue;
27166
+ const Dr = Et[ar].getAsFile();
27167
+ if (!Dr) continue;
27168
27168
  Ue(!0);
27169
- const Rr = await Jt(Cr);
27170
- Ue(!1), Rr && Zr(`![Image](${Rr})
27169
+ const Sr = await Jt(Dr);
27170
+ Ue(!1), Sr && Zr(`![Image](${Sr})
27171
27171
  `);
27172
27172
  return;
27173
27173
  }
@@ -27183,11 +27183,11 @@ const _3 = ({
27183
27183
  const Et = ke.dataTransfer.files;
27184
27184
  if (!(!Et || Et.length === 0))
27185
27185
  for (let ar = 0; ar < Et.length; ar++) {
27186
- const Cr = Et[ar];
27187
- if (Cr.type.startsWith("image/")) {
27186
+ const Dr = Et[ar];
27187
+ if (Dr.type.startsWith("image/")) {
27188
27188
  Ue(!0);
27189
- const Rr = await Jt(Cr);
27190
- Ue(!1), Rr && Zr(`![Image](${Rr})
27189
+ const Sr = await Jt(Dr);
27190
+ Ue(!1), Sr && Zr(`![Image](${Sr})
27191
27191
  `);
27192
27192
  }
27193
27193
  }
@@ -27231,7 +27231,7 @@ ${Gt}`), ke;
27231
27231
  if (!Zt.trim()) return null;
27232
27232
  const ke = Zt.split(/(```[\s\S]*?```)/g);
27233
27233
  let Et = 0;
27234
- return /* @__PURE__ */ n("div", { className: "space-y-2", children: ke.map((ar, Cr) => {
27234
+ return /* @__PURE__ */ n("div", { className: "space-y-2", children: ke.map((ar, Dr) => {
27235
27235
  if (ar.startsWith("```") && ar.endsWith("```")) {
27236
27236
  const Oa = ar.slice(3, -3).replace(/^\w*\n?/, ""), Ln = Et++;
27237
27237
  return /* @__PURE__ */ w("div", { className: "relative group rounded-lg overflow-hidden", children: [
@@ -27246,10 +27246,10 @@ ${Gt}`), ke;
27246
27246
  children: Lr === Ln ? /* @__PURE__ */ n(Lm, { className: "h-3.5 w-3.5 text-[var(--hrk-success)]" }) : /* @__PURE__ */ n(N7, { className: "h-3.5 w-3.5" })
27247
27247
  }
27248
27248
  )
27249
- ] }, Cr);
27249
+ ] }, Dr);
27250
27250
  }
27251
- const Rr = ar.split(/(`[^`]+`)/g);
27252
- return /* @__PURE__ */ n("span", { children: Rr.map((Oa, Ln) => {
27251
+ const Sr = ar.split(/(`[^`]+`)/g);
27252
+ return /* @__PURE__ */ n("span", { children: Sr.map((Oa, Ln) => {
27253
27253
  if (Oa.startsWith("`") && Oa.endsWith("`")) {
27254
27254
  const Ci = Oa.slice(1, -1);
27255
27255
  return /* @__PURE__ */ n(
@@ -27264,7 +27264,7 @@ ${Gt}`), ke;
27264
27264
  );
27265
27265
  }
27266
27266
  return Oa.trim() ? /* @__PURE__ */ n("span", { className: "text-[var(--hrk-text-secondary)] text-sm", children: Oa }, Ln) : null;
27267
- }) }, Cr);
27267
+ }) }, Dr);
27268
27268
  }) });
27269
27269
  }, [Zt, Lr, lr]), qr = "p-2 rounded-lg hover:bg-[var(--hrk-bg-surface-raised)] text-[var(--hrk-text-tertiary)] hover:text-[var(--hrk-text-primary)] transition-colors disabled:opacity-50";
27270
27270
  return /* @__PURE__ */ w(
@@ -27414,8 +27414,8 @@ ${Gt}`), ke;
27414
27414
  !H && x && /* @__PURE__ */ n(
27415
27415
  vz,
27416
27416
  {
27417
- onVideoUploaded: (ke, Et, ar, Cr) => {
27418
- Br(ke), Cr && oa(URL.createObjectURL(Cr));
27417
+ onVideoUploaded: (ke, Et, ar, Dr) => {
27418
+ Br(ke), Dr && oa(URL.createObjectURL(Dr));
27419
27419
  },
27420
27420
  username: l,
27421
27421
  ecencyToken: p,
@@ -27523,7 +27523,7 @@ ${Gt}`), ke;
27523
27523
  type: "button",
27524
27524
  onClick: () => Un((ke) => !ke),
27525
27525
  className: `${qr} ${pa ? "text-[var(--hrk-info)]" : ""}`,
27526
- title: pa ? `Upvote on publish: ${Or(rn)}%` : "Upvote parent on publish",
27526
+ title: pa ? `Upvote on publish: ${Rr(rn)}%` : "Upvote parent on publish",
27527
27527
  disabled: Wt,
27528
27528
  children: /* @__PURE__ */ n(oc, { className: "h-4 w-4", fill: pa ? "currentColor" : "none" })
27529
27529
  }
@@ -27543,7 +27543,7 @@ ${Gt}`), ke;
27543
27543
  /* @__PURE__ */ w("div", { className: "mb-1 flex items-center justify-between", children: [
27544
27544
  /* @__PURE__ */ n("span", { className: "text-xs text-[var(--hrk-text-secondary)]", children: Xt }),
27545
27545
  /* @__PURE__ */ w("span", { className: "rounded-md bg-[var(--hrk-brand)] px-2 py-0.5 text-[11px] font-semibold text-white", children: [
27546
- Or(rn),
27546
+ Rr(rn),
27547
27547
  "%"
27548
27548
  ] })
27549
27549
  ] }),
@@ -27612,7 +27612,7 @@ ${Gt}`), ke;
27612
27612
  ),
27613
27613
  !Se && (Jr.length > 0 || er) && /* @__PURE__ */ w("div", { className: "flex flex-col gap-1.5 px-0.5", children: [
27614
27614
  Jr.length > 0 && /* @__PURE__ */ w("div", { className: "flex flex-wrap items-center gap-1", children: [
27615
- Tr.map((ke) => /* @__PURE__ */ w(
27615
+ Cr.map((ke) => /* @__PURE__ */ w(
27616
27616
  "span",
27617
27617
  {
27618
27618
  className: "inline-flex items-center gap-1 rounded-full bg-[var(--hrk-bg-surface-raised)]/70 px-2 py-0.5 text-[11px] text-[var(--hrk-text-primary)]",
@@ -27702,9 +27702,9 @@ ${Gt}`), ke;
27702
27702
  width: 16,
27703
27703
  height: 16,
27704
27704
  className: "rounded-full bg-[var(--hrk-bg-surface-raised)] border border-[var(--hrk-border-default)] object-cover shrink-0",
27705
- onError: (Cr) => {
27706
- const Rr = Cr.target;
27707
- Rr.dataset.fallback || (Rr.dataset.fallback = "1", Rr.src = `https://ui-avatars.com/api/?name=${encodeURIComponent(ke.account)}&background=random&size=64`);
27705
+ onError: (Dr) => {
27706
+ const Sr = Dr.target;
27707
+ Sr.dataset.fallback || (Sr.dataset.fallback = "1", Sr.src = `https://ui-avatars.com/api/?name=${encodeURIComponent(ke.account)}&background=random&size=64`);
27708
27708
  }
27709
27709
  }
27710
27710
  ),
@@ -27741,7 +27741,7 @@ ${Gt}`), ke;
27741
27741
  rt && /* @__PURE__ */ n("span", { className: "ml-2", children: "| Paste/drop images" })
27742
27742
  ] }),
27743
27743
  /* @__PURE__ */ w("div", { className: "flex items-center space-x-3", children: [
27744
- Mr && o && /* @__PURE__ */ n("button", { onClick: o, disabled: Wt, className: "px-4 py-2 text-[var(--hrk-text-tertiary)] hover:text-[var(--hrk-text-primary)] transition-colors disabled:opacity-50", children: "Cancel" }),
27744
+ Or && o && /* @__PURE__ */ n("button", { onClick: o, disabled: Wt, className: "px-4 py-2 text-[var(--hrk-text-tertiary)] hover:text-[var(--hrk-text-primary)] transition-colors disabled:opacity-50", children: "Cancel" }),
27745
27745
  /* @__PURE__ */ n(
27746
27746
  "button",
27747
27747
  {
@@ -32406,7 +32406,7 @@ function uU() {
32406
32406
  }
32407
32407
  return D || "M0 0";
32408
32408
  }
32409
- var $t = document.documentElement.style, Xt = "ActiveXObject" in window, Mr = Xt && !document.addEventListener, zt = "msLaunchUri" in navigator && !("documentMode" in document), St = Dt("webkit"), Kt = Dt("android"), Rt = Dt("android 2") || Dt("android 3"), It = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Nr = Kt && Dt("Google") && It < 537 && !("AudioNode" in window), la = !!window.opera, xr = !zt && Dt("chrome"), ha = Dt("gecko") && !St && !la && !Xt, Ca = !xr && Dt("safari"), Bt = Dt("phantom"), kt = "OTransition" in $t, st = navigator.platform.indexOf("Win") === 0, et = Xt && "transition" in $t, cr = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Rt, Ar = "MozPerspective" in $t, Zt = !window.L_DISABLE_3D && (et || cr || Ar) && !kt && !Bt, sa = typeof orientation < "u" || Dt("mobile"), Vr = sa && St, ua = sa && cr, Wt = !window.PointerEvent && window.MSPointerEvent, re = !!(window.PointerEvent || Wt), le = "ontouchstart" in window || !!window.TouchEvent, he = !window.L_NO_TOUCH && (le || re), Me = sa && la, ot = sa && ha, jt = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wr = (function() {
32409
+ var $t = document.documentElement.style, Xt = "ActiveXObject" in window, Or = Xt && !document.addEventListener, zt = "msLaunchUri" in navigator && !("documentMode" in document), St = Dt("webkit"), Kt = Dt("android"), Rt = Dt("android 2") || Dt("android 3"), It = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Nr = Kt && Dt("Google") && It < 537 && !("AudioNode" in window), la = !!window.opera, xr = !zt && Dt("chrome"), ha = Dt("gecko") && !St && !la && !Xt, Ca = !xr && Dt("safari"), Bt = Dt("phantom"), kt = "OTransition" in $t, st = navigator.platform.indexOf("Win") === 0, et = Xt && "transition" in $t, cr = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !Rt, Tr = "MozPerspective" in $t, Zt = !window.L_DISABLE_3D && (et || cr || Tr) && !kt && !Bt, sa = typeof orientation < "u" || Dt("mobile"), Vr = sa && St, ua = sa && cr, Wt = !window.PointerEvent && window.MSPointerEvent, re = !!(window.PointerEvent || Wt), le = "ontouchstart" in window || !!window.TouchEvent, he = !window.L_NO_TOUCH && (le || re), Me = sa && la, ot = sa && ha, jt = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wr = (function() {
32410
32410
  var c = !1;
32411
32411
  try {
32412
32412
  var _ = Object.defineProperty({}, "passive", {
@@ -32438,7 +32438,7 @@ function uU() {
32438
32438
  }
32439
32439
  var ft = {
32440
32440
  ie: Xt,
32441
- ielt9: Mr,
32441
+ ielt9: Or,
32442
32442
  edge: zt,
32443
32443
  webkit: St,
32444
32444
  android: Kt,
@@ -32453,7 +32453,7 @@ function uU() {
32453
32453
  win: st,
32454
32454
  ie3d: et,
32455
32455
  webkit3d: cr,
32456
- gecko3d: Ar,
32456
+ gecko3d: Tr,
32457
32457
  any3d: Zt,
32458
32458
  mobile: sa,
32459
32459
  mobileWebkit: Vr,
@@ -32579,7 +32579,7 @@ function uU() {
32579
32579
  for (; c.firstChild; )
32580
32580
  c.removeChild(c.firstChild);
32581
32581
  }
32582
- function Tr(c) {
32582
+ function Cr(c) {
32583
32583
  var _ = c.parentNode;
32584
32584
  _ && _.lastChild !== c && _.appendChild(c);
32585
32585
  }
@@ -32640,9 +32640,9 @@ function uU() {
32640
32640
  function ia(c) {
32641
32641
  return c._leaflet_pos || new se(0, 0);
32642
32642
  }
32643
- var Or, pa, Un;
32643
+ var Rr, pa, Un;
32644
32644
  if ("onselectstart" in document)
32645
- Or = function() {
32645
+ Rr = function() {
32646
32646
  rr(window, "selectstart", xa);
32647
32647
  }, pa = function() {
32648
32648
  _r(window, "selectstart", xa);
@@ -32651,7 +32651,7 @@ function uU() {
32651
32651
  var rn = vn(
32652
32652
  ["userSelect", "WebkitUserSelect", "OUserSelect", "MozUserSelect", "msUserSelect"]
32653
32653
  );
32654
- Or = function() {
32654
+ Rr = function() {
32655
32655
  if (rn) {
32656
32656
  var c = document.documentElement.style;
32657
32657
  Un = c[rn], c[rn] = "none";
@@ -32699,7 +32699,7 @@ function uU() {
32699
32699
  create: tr,
32700
32700
  remove: Hr,
32701
32701
  empty: aa,
32702
- toFront: Tr,
32702
+ toFront: Cr,
32703
32703
  toBack: na,
32704
32704
  hasClass: ma,
32705
32705
  addClass: er,
@@ -32712,7 +32712,7 @@ function uU() {
32712
32712
  setPosition: Ba,
32713
32713
  getPosition: ia,
32714
32714
  get disableTextSelection() {
32715
- return Or;
32715
+ return Rr;
32716
32716
  },
32717
32717
  get enableTextSelection() {
32718
32718
  return pa;
@@ -34230,7 +34230,7 @@ function uU() {
34230
34230
  gt._dragging === this && this.finishDrag();
34231
34231
  return;
34232
34232
  }
34233
- if (!(gt._dragging || c.shiftKey || c.which !== 1 && c.button !== 1 && !c.touches) && (gt._dragging = this, this._preventOutline && Ja(this._element), ka(), Or(), !this._moving)) {
34233
+ if (!(gt._dragging || c.shiftKey || c.which !== 1 && c.button !== 1 && !c.touches) && (gt._dragging = this, this._preventOutline && Ja(this._element), ka(), Rr(), !this._moving)) {
34234
34234
  this.fire("down");
34235
34235
  var _ = c.touches ? c.touches[0] : c, D = Lt(this._element);
34236
34236
  this._startPoint = new se(_.clientX, _.clientY), this._startPos = ia(this._element), this._parentScale = Nn(D);
@@ -34311,15 +34311,15 @@ function uU() {
34311
34311
  if (!_ || !c.length)
34312
34312
  return c.slice();
34313
34313
  var D = _ * _;
34314
- return c = Ln(c, D), c = Rr(c, D), c;
34314
+ return c = Ln(c, D), c = Sr(c, D), c;
34315
34315
  }
34316
34316
  function ar(c, _, D) {
34317
34317
  return Math.sqrt(di(c, _, D, !0));
34318
34318
  }
34319
- function Cr(c, _, D) {
34319
+ function Dr(c, _, D) {
34320
34320
  return di(c, _, D);
34321
34321
  }
34322
- function Rr(c, _) {
34322
+ function Sr(c, _) {
34323
34323
  var D = c.length, V = typeof Uint8Array < "u" ? Uint8Array : Array, J = new V(D);
34324
34324
  J[0] = J[D - 1] = 1, Oa(c, J, _, 0, D - 1);
34325
34325
  var ce, Ae = [];
@@ -34403,7 +34403,7 @@ function uU() {
34403
34403
  __proto__: null,
34404
34404
  simplify: Et,
34405
34405
  pointToSegmentDistance: ar,
34406
- closestPointOnSegment: Cr,
34406
+ closestPointOnSegment: Dr,
34407
34407
  clipSegment: Vi,
34408
34408
  _getEdgeIntersection: Ma,
34409
34409
  _getBitCode: gn,
@@ -34437,7 +34437,7 @@ function uU() {
34437
34437
  LonLat: ht,
34438
34438
  Mercator: or,
34439
34439
  SphericalMercator: tt
34440
- }, Dr = d({}, we, {
34440
+ }, Mr = d({}, we, {
34441
34441
  code: "EPSG:3395",
34442
34442
  projection: or,
34443
34443
  transformation: (function() {
@@ -34463,7 +34463,7 @@ function uU() {
34463
34463
  },
34464
34464
  infinite: !0
34465
34465
  });
34466
- Te.Earth = we, Te.EPSG3395 = Dr, Te.EPSG3857 = Re, Te.EPSG900913 = Ve, Te.EPSG4326 = $a, Te.Simple = da;
34466
+ Te.Earth = we, Te.EPSG3395 = Mr, Te.EPSG3857 = Re, Te.EPSG900913 = Ve, Te.EPSG4326 = $a, Te.Simple = da;
34467
34467
  var fn = K.extend({
34468
34468
  // Classes extending `L.Layer` will inherit the following options:
34469
34469
  options: {
@@ -35696,7 +35696,7 @@ function uU() {
35696
35696
  // @method bringToFront(): this
35697
35697
  // Brings the layer to the top of all overlays.
35698
35698
  bringToFront: function() {
35699
- return this._map && Tr(this._image), this;
35699
+ return this._map && Cr(this._image), this;
35700
35700
  },
35701
35701
  // @method bringToBack(): this
35702
35702
  // Brings the layer to the bottom of all overlays.
@@ -35925,7 +35925,7 @@ function uU() {
35925
35925
  // @method bringToFront: this
35926
35926
  // Brings this overlay in front of other overlays (in the same map pane).
35927
35927
  bringToFront: function() {
35928
- return this._map && Tr(this._container), this;
35928
+ return this._map && Cr(this._container), this;
35929
35929
  },
35930
35930
  // @method bringToBack: this
35931
35931
  // Brings this overlay to the back of other overlays (in the same map pane).
@@ -36473,7 +36473,7 @@ function uU() {
36473
36473
  // @method bringToFront: this
36474
36474
  // Brings the tile layer to the top of all tile layers.
36475
36475
  bringToFront: function() {
36476
- return this._map && (Tr(this._container), this._setAutoZIndex(Math.max)), this;
36476
+ return this._map && (Cr(this._container), this._setAutoZIndex(Math.max)), this;
36477
36477
  },
36478
36478
  // @method bringToBack: this
36479
36479
  // Brings the tile layer to the bottom of all tile layers.
@@ -37267,7 +37267,7 @@ function uU() {
37267
37267
  c._path.v = _;
37268
37268
  },
37269
37269
  _bringToFront: function(c) {
37270
- Tr(c._container);
37270
+ Cr(c._container);
37271
37271
  },
37272
37272
  _bringToBack: function(c) {
37273
37273
  na(c._container);
@@ -37316,7 +37316,7 @@ function uU() {
37316
37316
  },
37317
37317
  // SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
37318
37318
  _bringToFront: function(c) {
37319
- Tr(c._path);
37319
+ Cr(c._path);
37320
37320
  },
37321
37321
  _bringToBack: function(c) {
37322
37322
  na(c._path);
@@ -37397,7 +37397,7 @@ function uU() {
37397
37397
  _onMouseDown: function(c) {
37398
37398
  if (!c.shiftKey || c.which !== 1 && c.button !== 1)
37399
37399
  return !1;
37400
- this._clearDeferredResetState(), this._resetState(), Or(), ka(), this._startPoint = this._map.mouseEventToContainerPoint(c), rr(document, {
37400
+ this._clearDeferredResetState(), this._resetState(), Rr(), ka(), this._startPoint = this._map.mouseEventToContainerPoint(c), rr(document, {
37401
37401
  contextmenu: Bn,
37402
37402
  mousemove: this._onMouseMove,
37403
37403
  mouseup: this._onMouseUp,
@@ -38507,17 +38507,17 @@ function Y1({
38507
38507
  postCreatedAt: Te,
38508
38508
  size: we = "default"
38509
38509
  }) {
38510
- const Le = we === "lg" ? "w-4 h-4 sm:w-4 sm:h-4" : "w-3.5 h-3.5 sm:w-4 sm:h-4", tt = we === "lg" ? "text-sm sm:text-sm" : "text-xs sm:text-sm", ge = we === "lg" ? "w-5 h-5 sm:w-4 sm:h-4 rounded-full" : "w-4 h-4 rounded-full", me = we === "lg" ? "p-1.5 sm:p-1" : "p-0.5 sm:p-1", Re = we === "lg" ? "gap-1.5 sm:gap-0.5" : "gap-0.5", Ve = we === "lg" ? "gap-2.5 sm:gap-3" : "gap-1.5 sm:gap-3", ct = we === "lg" ? "p-1.5 sm:p-1" : "p-0.5 sm:p-1", at = l == null || l === "" ? null : l, $t = at != null, [Xt, Mr] = Q(g ?? []), [zt, St] = Q(
38510
+ const Le = we === "lg" ? "w-4 h-4 sm:w-4 sm:h-4" : "w-3.5 h-3.5 sm:w-4 sm:h-4", tt = we === "lg" ? "text-sm sm:text-sm" : "text-xs sm:text-sm", ge = we === "lg" ? "w-5 h-5 sm:w-4 sm:h-4 rounded-full" : "w-4 h-4 rounded-full", me = we === "lg" ? "p-1.5 sm:p-1" : "p-0.5 sm:p-1", Re = we === "lg" ? "gap-1.5 sm:gap-0.5" : "gap-0.5", Ve = we === "lg" ? "gap-2.5 sm:gap-3" : "gap-1.5 sm:gap-3", ct = we === "lg" ? "p-1.5 sm:p-1" : "p-0.5 sm:p-1", at = l == null || l === "" ? null : l, $t = at != null, [Xt, Or] = Q(g ?? []), [zt, St] = Q(
38511
38511
  v ?? g?.length ?? 0
38512
38512
  ), [Kt, Rt] = Q(x ?? 0), [It, Nr] = Q(!1), [la, xr] = Q(!1), [ha, Ca] = Q(!1), [Bt, kt] = Q(!1), [st, et] = Q({
38513
38513
  message: "",
38514
38514
  visible: !1
38515
- }), [cr, Ar] = Q(!1), Zt = Ot((Gt) => {
38515
+ }), [cr, Tr] = Q(!1), Zt = Ot((Gt) => {
38516
38516
  et({ message: Gt, visible: !0 }), setTimeout(() => et((Br) => ({ ...Br, visible: !1 })), 2500);
38517
38517
  }, []), sa = g !== void 0, Vr = x !== void 0, ua = Ot(async () => {
38518
38518
  try {
38519
38519
  const Gt = await Yn.getActiveVotes(r, o);
38520
- Mr(Gt), v === void 0 && St(Gt.length);
38520
+ Or(Gt), v === void 0 && St(Gt.length);
38521
38521
  } catch {
38522
38522
  }
38523
38523
  }, [r, o, v]);
@@ -38587,7 +38587,7 @@ function Y1({
38587
38587
  });
38588
38588
  }, Je = async (Gt) => {
38589
38589
  if (b) {
38590
- Ar(!0);
38590
+ Tr(!0);
38591
38591
  try {
38592
38592
  await Promise.resolve(b(Gt)), Nr(!1), Zt("Vote submitted successfully"), v === void 0 && St((Br) => Br + 1), await ua(), setTimeout(() => {
38593
38593
  ua();
@@ -38596,7 +38596,7 @@ function Y1({
38596
38596
  const Ia = Br instanceof Error ? Br.message : "Failed to upvote";
38597
38597
  Zt(Ia);
38598
38598
  } finally {
38599
- Ar(!1);
38599
+ Tr(!1);
38600
38600
  }
38601
38601
  }
38602
38602
  }, Mt = () => {
@@ -41832,8 +41832,8 @@ function HD({
41832
41832
  if ($t && !$t.closest("[data-snaps-column-body]") && !(Math.abs(at.deltaY) <= Math.abs(at.deltaX))) {
41833
41833
  at.preventDefault();
41834
41834
  for (const Xt of ge) {
41835
- const Mr = Te.current[Xt];
41836
- Mr && (Mr.scrollTop += at.deltaY);
41835
+ const Or = Te.current[Xt];
41836
+ Or && (Or.scrollTop += at.deltaY);
41837
41837
  }
41838
41838
  }
41839
41839
  };
@@ -47079,8 +47079,8 @@ Error generating stack: ` + N.message + `
47079
47079
  ` + N.stack;
47080
47080
  }
47081
47081
  }
47082
- var Mr = Object.prototype.hasOwnProperty, zt = r.unstable_scheduleCallback, St = r.unstable_cancelCallback, Kt = r.unstable_shouldYield, Rt = r.unstable_requestPaint, It = r.unstable_now, Nr = r.unstable_getCurrentPriorityLevel, la = r.unstable_ImmediatePriority, xr = r.unstable_UserBlockingPriority, ha = r.unstable_NormalPriority, Ca = r.unstable_LowPriority, Bt = r.unstable_IdlePriority, kt = r.log, st = r.unstable_setDisableYieldValue, et = null, cr = null;
47083
- function Ar(a) {
47082
+ var Or = Object.prototype.hasOwnProperty, zt = r.unstable_scheduleCallback, St = r.unstable_cancelCallback, Kt = r.unstable_shouldYield, Rt = r.unstable_requestPaint, It = r.unstable_now, Nr = r.unstable_getCurrentPriorityLevel, la = r.unstable_ImmediatePriority, xr = r.unstable_UserBlockingPriority, ha = r.unstable_NormalPriority, Ca = r.unstable_LowPriority, Bt = r.unstable_IdlePriority, kt = r.log, st = r.unstable_setDisableYieldValue, et = null, cr = null;
47083
+ function Tr(a) {
47084
47084
  if (typeof kt == "function" && st(a), cr && typeof cr.setStrictMode == "function")
47085
47085
  try {
47086
47086
  cr.setStrictMode(et, a);
@@ -47349,7 +47349,7 @@ Error generating stack: ` + N.message + `
47349
47349
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
47350
47350
  ), Wr = {}, kr = {};
47351
47351
  function mr(a) {
47352
- return Mr.call(kr, a) ? !0 : Mr.call(Wr, a) ? !1 : Ht.test(a) ? kr[a] = !0 : (Wr[a] = !0, !1);
47352
+ return Or.call(kr, a) ? !0 : Or.call(Wr, a) ? !1 : Ht.test(a) ? kr[a] = !0 : (Wr[a] = !0, !1);
47353
47353
  }
47354
47354
  function tr(a, s, h) {
47355
47355
  if (mr(s))
@@ -47399,7 +47399,7 @@ Error generating stack: ` + N.message + `
47399
47399
  a.setAttributeNS(s, h, "" + N);
47400
47400
  }
47401
47401
  }
47402
- function Tr(a) {
47402
+ function Cr(a) {
47403
47403
  switch (typeof a) {
47404
47404
  case "bigint":
47405
47405
  case "boolean":
@@ -47482,7 +47482,7 @@ Error generating stack: ` + N.message + `
47482
47482
  );
47483
47483
  }
47484
47484
  function La(a, s, h, N, R, B, ee, fe) {
47485
- a.name = "", ee != null && typeof ee != "function" && typeof ee != "symbol" && typeof ee != "boolean" ? a.type = ee : a.removeAttribute("type"), s != null ? ee === "number" ? (s === 0 && a.value === "" || a.value != s) && (a.value = "" + Tr(s)) : a.value !== "" + Tr(s) && (a.value = "" + Tr(s)) : ee !== "submit" && ee !== "reset" || a.removeAttribute("value"), s != null ? Wa(a, ee, Tr(s)) : h != null ? Wa(a, ee, Tr(h)) : N != null && a.removeAttribute("value"), R == null && B != null && (a.defaultChecked = !!B), R != null && (a.checked = R && typeof R != "function" && typeof R != "symbol"), fe != null && typeof fe != "function" && typeof fe != "symbol" && typeof fe != "boolean" ? a.name = "" + Tr(fe) : a.removeAttribute("name");
47485
+ a.name = "", ee != null && typeof ee != "function" && typeof ee != "symbol" && typeof ee != "boolean" ? a.type = ee : a.removeAttribute("type"), s != null ? ee === "number" ? (s === 0 && a.value === "" || a.value != s) && (a.value = "" + Cr(s)) : a.value !== "" + Cr(s) && (a.value = "" + Cr(s)) : ee !== "submit" && ee !== "reset" || a.removeAttribute("value"), s != null ? Wa(a, ee, Cr(s)) : h != null ? Wa(a, ee, Cr(h)) : N != null && a.removeAttribute("value"), R == null && B != null && (a.defaultChecked = !!B), R != null && (a.checked = R && typeof R != "function" && typeof R != "symbol"), fe != null && typeof fe != "function" && typeof fe != "symbol" && typeof fe != "boolean" ? a.name = "" + Cr(fe) : a.removeAttribute("name");
47486
47486
  }
47487
47487
  function vn(a, s, h, N, R, B, ee, fe) {
47488
47488
  if (B != null && typeof B != "function" && typeof B != "symbol" && typeof B != "boolean" && (a.type = B), s != null || h != null) {
@@ -47490,7 +47490,7 @@ Error generating stack: ` + N.message + `
47490
47490
  er(a);
47491
47491
  return;
47492
47492
  }
47493
- h = h != null ? "" + Tr(h) : "", s = s != null ? "" + Tr(s) : h, fe || s === a.value || (a.value = s), a.defaultValue = s;
47493
+ h = h != null ? "" + Cr(h) : "", s = s != null ? "" + Cr(s) : h, fe || s === a.value || (a.value = s), a.defaultValue = s;
47494
47494
  }
47495
47495
  N = N ?? R, N = typeof N != "function" && typeof N != "symbol" && !!N, a.checked = fe ? a.checked : !!N, a.defaultChecked = !!N, ee != null && typeof ee != "function" && typeof ee != "symbol" && typeof ee != "boolean" && (a.name = ee), er(a);
47496
47496
  }
@@ -47505,7 +47505,7 @@ Error generating stack: ` + N.message + `
47505
47505
  for (h = 0; h < a.length; h++)
47506
47506
  R = s.hasOwnProperty("$" + a[h].value), a[h].selected !== R && (a[h].selected = R), R && N && (a[h].defaultSelected = !0);
47507
47507
  } else {
47508
- for (h = "" + Tr(h), s = null, R = 0; R < a.length; R++) {
47508
+ for (h = "" + Cr(h), s = null, R = 0; R < a.length; R++) {
47509
47509
  if (a[R].value === h) {
47510
47510
  a[R].selected = !0, N && (a[R].defaultSelected = !0);
47511
47511
  return;
@@ -47516,13 +47516,13 @@ Error generating stack: ` + N.message + `
47516
47516
  }
47517
47517
  }
47518
47518
  function ia(a, s, h) {
47519
- if (s != null && (s = "" + Tr(s), s !== a.value && (a.value = s), h == null)) {
47519
+ if (s != null && (s = "" + Cr(s), s !== a.value && (a.value = s), h == null)) {
47520
47520
  a.defaultValue !== s && (a.defaultValue = s);
47521
47521
  return;
47522
47522
  }
47523
- a.defaultValue = h != null ? "" + Tr(h) : "";
47523
+ a.defaultValue = h != null ? "" + Cr(h) : "";
47524
47524
  }
47525
- function Or(a, s, h, N) {
47525
+ function Rr(a, s, h, N) {
47526
47526
  if (s == null) {
47527
47527
  if (N != null) {
47528
47528
  if (h != null) throw Error(u(92));
@@ -47534,7 +47534,7 @@ Error generating stack: ` + N.message + `
47534
47534
  }
47535
47535
  h == null && (h = ""), s = h;
47536
47536
  }
47537
- h = Tr(s), a.defaultValue = h, N = a.textContent, N === h && N !== "" && N !== null && (a.value = N), er(a);
47537
+ h = Cr(s), a.defaultValue = h, N = a.textContent, N === h && N !== "" && N !== null && (a.value = N), er(a);
47538
47538
  }
47539
47539
  function pa(a, s) {
47540
47540
  if (s) {
@@ -47947,7 +47947,7 @@ Error generating stack: ` + N.message + `
47947
47947
  which: function(a) {
47948
47948
  return a.type === "keypress" ? ye(a) : a.type === "keydown" || a.type === "keyup" ? a.keyCode : 0;
47949
47949
  }
47950
- }), ar = qt(Et), Cr = k({}, lr, {
47950
+ }), ar = qt(Et), Dr = k({}, lr, {
47951
47951
  pointerId: 0,
47952
47952
  width: 0,
47953
47953
  height: 0,
@@ -47958,7 +47958,7 @@ Error generating stack: ` + N.message + `
47958
47958
  twist: 0,
47959
47959
  pointerType: 0,
47960
47960
  isPrimary: 0
47961
- }), Rr = qt(Cr), Oa = k({}, wa, {
47961
+ }), Sr = qt(Dr), Oa = k({}, wa, {
47962
47962
  touches: 0,
47963
47963
  targetTouches: 0,
47964
47964
  changedTouches: 0,
@@ -47986,7 +47986,7 @@ Error generating stack: ` + N.message + `
47986
47986
  }), di = qt(zi), En = [9, 13, 27, 32], as = yn && "CompositionEvent" in window, _n = null;
47987
47987
  yn && "documentMode" in document && (_n = document.documentMode);
47988
47988
  var Ne = yn && "TextEvent" in window && !_n, ht = yn && (!as || _n && 8 < _n && 11 >= _n), or = " ", fr = !1;
47989
- function Dr(a, s) {
47989
+ function Mr(a, s) {
47990
47990
  switch (a) {
47991
47991
  case "keyup":
47992
47992
  return En.indexOf(s.keyCode) !== -1;
@@ -48018,7 +48018,7 @@ Error generating stack: ` + N.message + `
48018
48018
  }
48019
48019
  function ni(a, s) {
48020
48020
  if (da)
48021
- return a === "compositionend" || !as && Dr(a, s) ? (a = Bn(), xa = Vn = qn = null, da = !1, a) : null;
48021
+ return a === "compositionend" || !as && Mr(a, s) ? (a = Bn(), xa = Vn = qn = null, da = !1, a) : null;
48022
48022
  switch (a) {
48023
48023
  case "paste":
48024
48024
  return null;
@@ -48129,7 +48129,7 @@ Error generating stack: ` + N.message + `
48129
48129
  if (h.length !== N.length) return !1;
48130
48130
  for (N = 0; N < h.length; N++) {
48131
48131
  var R = h[N];
48132
- if (!Mr.call(s, R) || !Pi(a[R], s[R]))
48132
+ if (!Or.call(s, R) || !Pi(a[R], s[R]))
48133
48133
  return !1;
48134
48134
  }
48135
48135
  return !0;
@@ -48479,7 +48479,7 @@ Error generating stack: ` + N.message + `
48479
48479
  hn("invalid", s);
48480
48480
  break;
48481
48481
  case "textarea":
48482
- hn("invalid", s), Or(s, N.value, N.defaultValue, N.children);
48482
+ hn("invalid", s), Rr(s, N.value, N.defaultValue, N.children);
48483
48483
  }
48484
48484
  h = N.children, typeof h != "string" && typeof h != "number" && typeof h != "bigint" || s.textContent === "" + h || N.suppressHydrationWarning === !0 || hv(s.textContent, h) ? (N.popover != null && (hn("beforetoggle", s), hn("toggle", s)), N.onScroll != null && hn("scroll", s), N.onScrollEnd != null && hn("scrollend", s), N.onClick != null && (s.onclick = Fa), s = !0) : s = !1, s || so(a, !0);
48485
48485
  }
@@ -48981,7 +48981,7 @@ Error generating stack: ` + N.message + `
48981
48981
  }
48982
48982
  return null;
48983
48983
  }
48984
- function Sr(Ge, He, Ze, xt) {
48984
+ function Ar(Ge, He, Ze, xt) {
48985
48985
  for (var ea = null, Tn = null, Ur = He, Ra = He = 0, Ya = null; Ur !== null && Ra < Ze.length; Ra++) {
48986
48986
  Ur.index > Ra ? (Ya = Ur, Ur = null) : Ya = Ur.sibling;
48987
48987
  var Pn = Qe(
@@ -49123,7 +49123,7 @@ Error generating stack: ` + N.message + `
49123
49123
  );
49124
49124
  }
49125
49125
  if (te(Ze))
49126
- return Sr(
49126
+ return Ar(
49127
49127
  Ge,
49128
49128
  He,
49129
49129
  Ze,
@@ -49271,21 +49271,21 @@ Error generating stack: ` + N.message + `
49271
49271
  next: null
49272
49272
  });
49273
49273
  e: {
49274
- var Sr = a, fa = fe;
49274
+ var Ar = a, fa = fe;
49275
49275
  Qe = s;
49276
49276
  var ti = h;
49277
49277
  switch (fa.tag) {
49278
49278
  case 1:
49279
- if (Sr = fa.payload, typeof Sr == "function") {
49280
- _t = Sr.call(ti, _t, Qe);
49279
+ if (Ar = fa.payload, typeof Ar == "function") {
49280
+ _t = Ar.call(ti, _t, Qe);
49281
49281
  break e;
49282
49282
  }
49283
- _t = Sr;
49283
+ _t = Ar;
49284
49284
  break e;
49285
49285
  case 3:
49286
- Sr.flags = Sr.flags & -65537 | 128;
49286
+ Ar.flags = Ar.flags & -65537 | 128;
49287
49287
  case 0:
49288
- if (Sr = fa.payload, Qe = typeof Sr == "function" ? Sr.call(ti, _t, Qe) : Sr, Qe == null) break e;
49288
+ if (Ar = fa.payload, Qe = typeof Ar == "function" ? Ar.call(ti, _t, Qe) : Ar, Qe == null) break e;
49289
49289
  _t = k({}, _t, Qe);
49290
49290
  break e;
49291
49291
  case 2:
@@ -49632,11 +49632,11 @@ Error generating stack: ` + N.message + `
49632
49632
  if (typeof a == "function") {
49633
49633
  var h = a;
49634
49634
  if (a = h(), Pu) {
49635
- Ar(!0);
49635
+ Tr(!0);
49636
49636
  try {
49637
49637
  h();
49638
49638
  } finally {
49639
- Ar(!1);
49639
+ Tr(!1);
49640
49640
  }
49641
49641
  }
49642
49642
  }
@@ -49911,11 +49911,11 @@ Error generating stack: ` + N.message + `
49911
49911
  if (s !== null && Uu(s, N[1]))
49912
49912
  return N[0];
49913
49913
  if (N = a(), Pu) {
49914
- Ar(!0);
49914
+ Tr(!0);
49915
49915
  try {
49916
49916
  a();
49917
49917
  } finally {
49918
- Ar(!1);
49918
+ Tr(!1);
49919
49919
  }
49920
49920
  }
49921
49921
  return h.memoizedState = [N, s], N;
@@ -50172,11 +50172,11 @@ Error generating stack: ` + N.message + `
50172
50172
  s = s === void 0 ? null : s;
50173
50173
  var N = a();
50174
50174
  if (Pu) {
50175
- Ar(!0);
50175
+ Tr(!0);
50176
50176
  try {
50177
50177
  a();
50178
50178
  } finally {
50179
- Ar(!1);
50179
+ Tr(!1);
50180
50180
  }
50181
50181
  }
50182
50182
  return h.memoizedState = [N, s], N;
@@ -50186,11 +50186,11 @@ Error generating stack: ` + N.message + `
50186
50186
  if (h !== void 0) {
50187
50187
  var R = h(s);
50188
50188
  if (Pu) {
50189
- Ar(!0);
50189
+ Tr(!0);
50190
50190
  try {
50191
50191
  h(s);
50192
50192
  } finally {
50193
- Ar(!1);
50193
+ Tr(!1);
50194
50194
  }
50195
50195
  }
50196
50196
  } else R = s;
@@ -52009,12 +52009,12 @@ Error generating stack: ` + N.message + `
52009
52009
  if ((a & 1024) !== 0 && B !== null) {
52010
52010
  a = void 0, h = s, R = B.memoizedProps, B = B.memoizedState, N = h.stateNode;
52011
52011
  try {
52012
- var Sr = Tc(
52012
+ var Ar = Tc(
52013
52013
  h.type,
52014
52014
  R
52015
52015
  );
52016
52016
  a = N.getSnapshotBeforeUpdate(
52017
- Sr,
52017
+ Ar,
52018
52018
  B
52019
52019
  ), N.__reactInternalSnapshotBeforeUpdate = a;
52020
52020
  } catch (fa) {
@@ -52442,8 +52442,8 @@ Error generating stack: ` + N.message + `
52442
52442
  R = a.stateNode;
52443
52443
  try {
52444
52444
  pa(R, "");
52445
- } catch (Sr) {
52446
- Zn(a, a.return, Sr);
52445
+ } catch (Ar) {
52446
+ Zn(a, a.return, Ar);
52447
52447
  }
52448
52448
  }
52449
52449
  N & 4 && a.stateNode != null && (R = a.memoizedProps, Np(
@@ -52459,8 +52459,8 @@ Error generating stack: ` + N.message + `
52459
52459
  N = a.memoizedProps, h = a.stateNode;
52460
52460
  try {
52461
52461
  h.nodeValue = N;
52462
- } catch (Sr) {
52463
- Zn(a, a.return, Sr);
52462
+ } catch (Ar) {
52463
+ Zn(a, a.return, Ar);
52464
52464
  }
52465
52465
  }
52466
52466
  break;
@@ -52468,8 +52468,8 @@ Error generating stack: ` + N.message + `
52468
52468
  if (Qf = null, R = Za, Za = Ls(s.containerInfo), Ws(s, a), Za = R, oo(a), N & 4 && h !== null && h.memoizedState.isDehydrated)
52469
52469
  try {
52470
52470
  ah(s.containerInfo);
52471
- } catch (Sr) {
52472
- Zn(a, a.return, Sr);
52471
+ } catch (Ar) {
52472
+ Zn(a, a.return, Ar);
52473
52473
  }
52474
52474
  Ep && (Ep = !1, Jb(a));
52475
52475
  break;
@@ -52503,8 +52503,8 @@ Error generating stack: ` + N.message + `
52503
52503
  var _t = Pe.memoizedProps.style, Qe = _t != null && _t.hasOwnProperty("display") ? _t.display : null;
52504
52504
  fe.style.display = Qe == null || typeof Qe == "boolean" ? "" : ("" + Qe).trim();
52505
52505
  }
52506
- } catch (Sr) {
52507
- Zn(Pe, Pe.return, Sr);
52506
+ } catch (Ar) {
52507
+ Zn(Pe, Pe.return, Ar);
52508
52508
  }
52509
52509
  }
52510
52510
  } else if (s.tag === 6) {
@@ -52512,8 +52512,8 @@ Error generating stack: ` + N.message + `
52512
52512
  Pe = s;
52513
52513
  try {
52514
52514
  Pe.stateNode.nodeValue = R ? "" : Pe.memoizedProps;
52515
- } catch (Sr) {
52516
- Zn(Pe, Pe.return, Sr);
52515
+ } catch (Ar) {
52516
+ Zn(Pe, Pe.return, Ar);
52517
52517
  }
52518
52518
  }
52519
52519
  } else if (s.tag === 18) {
@@ -52522,8 +52522,8 @@ Error generating stack: ` + N.message + `
52522
52522
  try {
52523
52523
  var ut = Pe.stateNode;
52524
52524
  R ? $i(ut, !0) : $i(Pe.stateNode, !1);
52525
- } catch (Sr) {
52526
- Zn(Pe, Pe.return, Sr);
52525
+ } catch (Ar) {
52526
+ Zn(Pe, Pe.return, Ar);
52527
52527
  }
52528
52528
  }
52529
52529
  } else if ((s.tag !== 22 && s.tag !== 23 || s.memoizedState === null || s === a) && s.child !== null) {
@@ -53276,12 +53276,12 @@ Error generating stack: ` + N.message + `
53276
53276
  B,
53277
53277
  _t
53278
53278
  );
53279
- var Sr = (B & 62914560) === B ? yl - It() : (B & 4194048) === B ? ev - It() : 0;
53280
- if (Sr = Ev(
53279
+ var Ar = (B & 62914560) === B ? yl - It() : (B & 4194048) === B ? ev - It() : 0;
53280
+ if (Ar = Ev(
53281
53281
  _t,
53282
- Sr
53283
- ), Sr !== null) {
53284
- ru = B, a.cancelPendingCommit = Sr(
53282
+ Ar
53283
+ ), Ar !== null) {
53284
+ ru = B, a.cancelPendingCommit = Ar(
53285
53285
  Sx.bind(
53286
53286
  null,
53287
53287
  a,
@@ -53679,7 +53679,7 @@ Error generating stack: ` + N.message + `
53679
53679
  else {
53680
53680
  var _t = fe.ownerDocument || document, Qe = _t && _t.defaultView || window;
53681
53681
  if (Qe.getSelection) {
53682
- var ut = Qe.getSelection(), Sr = fe.textContent.length, fa = Math.min(Pe.start, Sr), ti = Pe.end === void 0 ? fa : Math.min(Pe.end, Sr);
53682
+ var ut = Qe.getSelection(), Ar = fe.textContent.length, fa = Math.min(Pe.start, Ar), ti = Pe.end === void 0 ? fa : Math.min(Pe.end, Ar);
53683
53683
  !ut.extend && fa > ti && (ee = ti, ti = fa, fa = ee);
53684
53684
  var Ge = cc(
53685
53685
  fe,
@@ -54184,7 +54184,7 @@ Error generating stack: ` + N.message + `
54184
54184
  e: {
54185
54185
  var Qe = Xo.get(a);
54186
54186
  if (Qe !== void 0) {
54187
- var ut = $r, Sr = a;
54187
+ var ut = $r, Ar = a;
54188
54188
  switch (a) {
54189
54189
  case "keypress":
54190
54190
  if (ye(h) === 0) break e;
@@ -54193,10 +54193,10 @@ Error generating stack: ` + N.message + `
54193
54193
  ut = ar;
54194
54194
  break;
54195
54195
  case "focusin":
54196
- Sr = "focus", ut = nn;
54196
+ Ar = "focus", ut = nn;
54197
54197
  break;
54198
54198
  case "focusout":
54199
- Sr = "blur", ut = nn;
54199
+ Ar = "blur", ut = nn;
54200
54200
  break;
54201
54201
  case "beforeblur":
54202
54202
  case "afterblur":
@@ -54258,7 +54258,7 @@ Error generating stack: ` + N.message + `
54258
54258
  case "pointerout":
54259
54259
  case "pointerover":
54260
54260
  case "pointerup":
54261
- ut = Rr;
54261
+ ut = Sr;
54262
54262
  break;
54263
54263
  case "toggle":
54264
54264
  case "beforetoggle":
@@ -54275,7 +54275,7 @@ Error generating stack: ` + N.message + `
54275
54275
  }
54276
54276
  0 < fa.length && (Qe = new ut(
54277
54277
  Qe,
54278
- Sr,
54278
+ Ar,
54279
54279
  null,
54280
54280
  h,
54281
54281
  bt
@@ -54284,10 +54284,10 @@ Error generating stack: ` + N.message + `
54284
54284
  }
54285
54285
  if ((s & 7) === 0) {
54286
54286
  e: {
54287
- if (Qe = a === "mouseover" || a === "pointerover", ut = a === "mouseout" || a === "pointerout", Qe && h !== Lt && (Sr = h.relatedTarget || h.fromElement) && (Gr(Sr) || Sr[Ut]))
54287
+ if (Qe = a === "mouseover" || a === "pointerover", ut = a === "mouseout" || a === "pointerout", Qe && h !== Lt && (Ar = h.relatedTarget || h.fromElement) && (Gr(Ar) || Ar[Ut]))
54288
54288
  break e;
54289
- if ((ut || Qe) && (Qe = bt.window === bt ? bt : (Qe = bt.ownerDocument) ? Qe.defaultView || Qe.parentWindow : window, ut ? (Sr = h.relatedTarget || h.toElement, ut = Xe, Sr = Sr ? Gr(Sr) : null, Sr !== null && (ti = f(Sr), fa = Sr.tag, Sr !== ti || fa !== 5 && fa !== 27 && fa !== 6) && (Sr = null)) : (ut = null, Sr = Xe), ut !== Sr)) {
54290
- if (fa = Ee, xt = "onMouseLeave", Ge = "onMouseEnter", He = "mouse", (a === "pointerout" || a === "pointerover") && (fa = Rr, xt = "onPointerLeave", Ge = "onPointerEnter", He = "pointer"), ti = ut == null ? Qe : Xr(ut), Ze = Sr == null ? Qe : Xr(Sr), Qe = new fa(
54289
+ if ((ut || Qe) && (Qe = bt.window === bt ? bt : (Qe = bt.ownerDocument) ? Qe.defaultView || Qe.parentWindow : window, ut ? (Ar = h.relatedTarget || h.toElement, ut = Xe, Ar = Ar ? Gr(Ar) : null, Ar !== null && (ti = f(Ar), fa = Ar.tag, Ar !== ti || fa !== 5 && fa !== 27 && fa !== 6) && (Ar = null)) : (ut = null, Ar = Xe), ut !== Ar)) {
54290
+ if (fa = Ee, xt = "onMouseLeave", Ge = "onMouseEnter", He = "mouse", (a === "pointerout" || a === "pointerover") && (fa = Sr, xt = "onPointerLeave", Ge = "onPointerEnter", He = "pointer"), ti = ut == null ? Qe : Xr(ut), Ze = Ar == null ? Qe : Xr(Ar), Qe = new fa(
54291
54291
  xt,
54292
54292
  He + "leave",
54293
54293
  ut,
@@ -54296,12 +54296,12 @@ Error generating stack: ` + N.message + `
54296
54296
  ), Qe.target = ti, Qe.relatedTarget = Ze, xt = null, Gr(bt) === Xe && (fa = new fa(
54297
54297
  Ge,
54298
54298
  He + "enter",
54299
- Sr,
54299
+ Ar,
54300
54300
  h,
54301
54301
  bt
54302
- ), fa.target = Ze, fa.relatedTarget = ti, xt = fa), ti = xt, ut && Sr)
54302
+ ), fa.target = Ze, fa.relatedTarget = ti, xt = fa), ti = xt, ut && Ar)
54303
54303
  t: {
54304
- for (fa = jx, Ge = ut, He = Sr, Ze = 0, xt = Ge; xt; xt = fa(xt))
54304
+ for (fa = jx, Ge = ut, He = Ar, Ze = 0, xt = Ge; xt; xt = fa(xt))
54305
54305
  Ze++;
54306
54306
  xt = 0;
54307
54307
  for (var ea = He; ea; ea = fa(ea))
@@ -54326,10 +54326,10 @@ Error generating stack: ` + N.message + `
54326
54326
  ut,
54327
54327
  fa,
54328
54328
  !1
54329
- ), Sr !== null && ti !== null && Vp(
54329
+ ), Ar !== null && ti !== null && Vp(
54330
54330
  _t,
54331
54331
  ti,
54332
- Sr,
54332
+ Ar,
54333
54333
  fa,
54334
54334
  !0
54335
54335
  );
@@ -54396,7 +54396,7 @@ Error generating stack: ` + N.message + `
54396
54396
  Ya = void 0;
54397
54397
  }
54398
54398
  else
54399
- da ? Dr(a, h) && (Ya = "onCompositionEnd") : a === "keydown" && h.keyCode === 229 && (Ya = "onCompositionStart");
54399
+ da ? Mr(a, h) && (Ya = "onCompositionEnd") : a === "keydown" && h.keyCode === 229 && (Ya = "onCompositionStart");
54400
54400
  Ya && (ht && h.locale !== "ko" && (da || Ya !== "onCompositionStart" ? Ya === "onCompositionEnd" && da && (Ra = Bn()) : (qn = bt, Vn = "value" in qn ? qn.value : qn.textContent, da = !0)), Ur = B0(Xe, Ya), 0 < Ur.length && (Ya = new mt(
54401
54401
  Ya,
54402
54402
  a,
@@ -54887,7 +54887,7 @@ Error generating stack: ` + N.message + `
54887
54887
  default:
54888
54888
  ei(a, s, ee, fe, h, null);
54889
54889
  }
54890
- Or(a, N, R, B);
54890
+ Rr(a, N, R, B);
54891
54891
  return;
54892
54892
  case "option":
54893
54893
  for (Pe in h)
@@ -55103,11 +55103,11 @@ Error generating stack: ` + N.message + `
55103
55103
  ia(a, Qe, ut);
55104
55104
  return;
55105
55105
  case "option":
55106
- for (var Sr in h)
55107
- Qe = h[Sr], h.hasOwnProperty(Sr) && Qe != null && !N.hasOwnProperty(Sr) && (Sr === "selected" ? a.selected = !1 : ei(
55106
+ for (var Ar in h)
55107
+ Qe = h[Ar], h.hasOwnProperty(Ar) && Qe != null && !N.hasOwnProperty(Ar) && (Ar === "selected" ? a.selected = !1 : ei(
55108
55108
  a,
55109
55109
  s,
55110
- Sr,
55110
+ Ar,
55111
55111
  null,
55112
55112
  N,
55113
55113
  Qe
@@ -57169,7 +57169,7 @@ Error generating stack: ` + I.message + `
57169
57169
  Re(e)
57170
57170
  ), ct(e);
57171
57171
  }
57172
- function Mr(e) {
57172
+ function Or(e) {
57173
57173
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u") return !1;
57174
57174
  var t = __REACT_DEVTOOLS_GLOBAL_HOOK__;
57175
57175
  if (t.isDisabled) return !0;
@@ -57399,7 +57399,7 @@ Error generating stack: ` + I.message + `
57399
57399
  e[m].add(t), i &= ~E;
57400
57400
  }
57401
57401
  }
57402
- function Ar(e, t) {
57402
+ function Tr(e, t) {
57403
57403
  if (ou)
57404
57404
  for (var i = e.pendingUpdatersLaneMap, m = e.memoizedUpdaters; 0 < t; ) {
57405
57405
  var E = 31 - _s(t);
@@ -57934,11 +57934,11 @@ Check the render method of \`` + e + "`." : "";
57934
57934
  }
57935
57935
  return e = i.children, t = t.children, typeof e == "string" || typeof e == "number" || typeof e == "bigint" ? (A = "", (typeof t == "string" || typeof t == "number" || typeof t == "bigint") && (A = "" + t), E += Ht(A, "" + e, m + 1)) : (typeof t == "string" || typeof t == "number" || typeof t == "bigint") && (E = e == null ? E + Ht("" + t, null, m + 1) : E + Ht("" + t, void 0, m + 1)), E;
57936
57936
  }
57937
- function Tr(e, t) {
57937
+ function Cr(e, t) {
57938
57938
  var i = Ye(e);
57939
57939
  if (i === null) {
57940
57940
  for (i = "", e = e.child; e; )
57941
- i += Tr(e, t), e = e.sibling;
57941
+ i += Cr(e, t), e = e.sibling;
57942
57942
  return i;
57943
57943
  }
57944
57944
  return Qr(t) + "<" + i + `>
@@ -57989,7 +57989,7 @@ Check the render method of \`` + e + "`." : "";
57989
57989
  ), t++);
57990
57990
  var ue = "";
57991
57991
  for (E = e.fiber.child, A = 0; E && A < e.children.length; )
57992
- j = e.children[A], j.fiber === E ? (ue += na(j, t), A++) : ue += Tr(E, t), E = E.sibling;
57992
+ j = e.children[A], j.fiber === E ? (ue += na(j, t), A++) : ue += Cr(E, t), E = E.sibling;
57993
57993
  for (E && 0 < e.children.length && (ue += Qr(t) + `...
57994
57994
  `), E = e.serverTail, e.serverProps === null && t--, e = 0; e < E.length; e++)
57995
57995
  A = E[e], ue = typeof A == "string" ? ue + (Ue(t) + dt(A, 120 - 2 * t) + `
@@ -58243,7 +58243,7 @@ This will cause a hydration error.%s`,
58243
58243
  t
58244
58244
  )))), i == null || typeof i == "boolean" || i === "" ? m ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : m ? e.setProperty(t, i) : typeof i != "number" || i === 0 || Ur.has(t) ? t === "float" ? e.cssFloat = i : ($t(i, t), e[t] = ("" + i).trim()) : e[t] = i + "px";
58245
58245
  }
58246
- function Or(e, t, i) {
58246
+ function Rr(e, t, i) {
58247
58247
  if (t != null && typeof t != "object")
58248
58248
  throw Error(
58249
58249
  "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
@@ -59155,7 +59155,7 @@ This will cause a hydration error.%s`,
59155
59155
  );
59156
59156
  }
59157
59157
  }
59158
- function Cr(e, t, i, m) {
59158
+ function Dr(e, t, i, m) {
59159
59159
  if (yi) {
59160
59160
  var E = X(e);
59161
59161
  if (E !== null) {
@@ -59183,7 +59183,7 @@ This will cause a hydration error.%s`,
59183
59183
  }
59184
59184
  }
59185
59185
  }
59186
- function Rr(e, t, i, m, E) {
59186
+ function Sr(e, t, i, m, E) {
59187
59187
  if (E !== null) {
59188
59188
  if (yi) {
59189
59189
  var A = X(e);
@@ -59452,7 +59452,7 @@ This will cause a hydration error.%s`,
59452
59452
  var t = du(e);
59453
59453
  return t === void 0 ? e : t.current;
59454
59454
  }
59455
- function Dr(e) {
59455
+ function Mr(e) {
59456
59456
  if (du === null) return e;
59457
59457
  var t = du(e);
59458
59458
  return t === void 0 ? e != null && typeof e.render == "function" && (t = fr(e.render), e.render !== t) ? (t = { $$typeof: Zf, render: t }, e.displayName !== void 0 && (t.displayName = e.displayName), t) : e : t.current;
@@ -59535,7 +59535,7 @@ This will cause a hydration error.%s`,
59535
59535
  i.type = fr(e.type);
59536
59536
  break;
59537
59537
  case 11:
59538
- i.type = Dr(e.type);
59538
+ i.type = Mr(e.type);
59539
59539
  }
59540
59540
  return i;
59541
59541
  }
@@ -59587,7 +59587,7 @@ This will cause a hydration error.%s`,
59587
59587
  j = 9;
59588
59588
  break e;
59589
59589
  case Zf:
59590
- j = 11, I = Dr(I);
59590
+ j = 11, I = Mr(I);
59591
59591
  break e;
59592
59592
  case q0:
59593
59593
  j = 14;
@@ -63511,7 +63511,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
63511
63511
  else {
63512
63512
  if (e != null) {
63513
63513
  if (E = e.$$typeof, E === Zf) {
63514
- t.tag = 11, t.type = e = Dr(e), t = K1(
63514
+ t.tag = 11, t.type = e = Mr(e), t = K1(
63515
63515
  null,
63516
63516
  t,
63517
63517
  e,
@@ -64897,7 +64897,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
64897
64897
  default:
64898
64898
  So(e, i);
64899
64899
  }
64900
- (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Rr(
64900
+ (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Sr(
64901
64901
  i,
64902
64902
  ra,
64903
64903
  ba,
@@ -65059,7 +65059,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65059
65059
  i
65060
65060
  );
65061
65061
  }
65062
- (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
65062
+ (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
65063
65063
  i,
65064
65064
  ra,
65065
65065
  ba,
@@ -65444,7 +65444,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65444
65444
  default:
65445
65445
  Zs(t, e), Ys(e);
65446
65446
  }
65447
- (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Rr(
65447
+ (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Sr(
65448
65448
  e,
65449
65449
  ra,
65450
65450
  ba,
@@ -65525,7 +65525,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65525
65525
  default:
65526
65526
  Dc(e);
65527
65527
  }
65528
- (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
65528
+ (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
65529
65529
  e,
65530
65530
  ra,
65531
65531
  ba,
@@ -65640,7 +65640,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65640
65640
  m
65641
65641
  );
65642
65642
  }
65643
- (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
65643
+ (i.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
65644
65644
  i,
65645
65645
  ra,
65646
65646
  ba,
@@ -65698,7 +65698,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65698
65698
  ), je & 2048 && g0(t, Uo | bu);
65699
65699
  break;
65700
65700
  case 1:
65701
- (t.mode & Ka) !== _a && 0 < t.actualStartTime && ((t.flags & 128) !== 0 ? Cr(
65701
+ (t.mode & Ka) !== _a && 0 < t.actualStartTime && ((t.flags & 128) !== 0 ? Dr(
65702
65702
  t,
65703
65703
  t.actualStartTime,
65704
65704
  E,
@@ -65760,7 +65760,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65760
65760
  );
65761
65761
  break;
65762
65762
  case 31:
65763
- je = Ns, $e = t.alternate !== null ? t.alternate.memoizedState : null, Oe = t.memoizedState, $e !== null && Oe === null ? (Oe = t.deletions, Oe !== null && 0 < Oe.length && Oe[0].tag === 18 ? (Ns = !1, $e = $e.hydrationErrors, $e !== null && Cr(
65763
+ je = Ns, $e = t.alternate !== null ? t.alternate.memoizedState : null, Oe = t.memoizedState, $e !== null && Oe === null ? (Oe = t.deletions, Oe !== null && 0 < Oe.length && Oe[0].tag === 18 ? (Ns = !1, $e = $e.hydrationErrors, $e !== null && Dr(
65764
65764
  t,
65765
65765
  t.actualStartTime,
65766
65766
  E,
@@ -65774,7 +65774,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65774
65774
  ), Ns = je;
65775
65775
  break;
65776
65776
  case 13:
65777
- je = Ns, $e = t.alternate !== null ? t.alternate.memoizedState : null, Oe = t.memoizedState, $e === null || $e.dehydrated === null || Oe !== null && Oe.dehydrated !== null ? Ns = !1 : (Oe = t.deletions, Oe !== null && 0 < Oe.length && Oe[0].tag === 18 ? (Ns = !1, $e = $e.hydrationErrors, $e !== null && Cr(
65777
+ je = Ns, $e = t.alternate !== null ? t.alternate.memoizedState : null, Oe = t.memoizedState, $e === null || $e.dehydrated === null || Oe !== null && Oe.dehydrated !== null ? Ns = !1 : (Oe = t.deletions, Oe !== null && 0 < Oe.length && Oe[0].tag === 18 ? (Ns = !1, $e = $e.hydrationErrors, $e !== null && Dr(
65778
65778
  t,
65779
65779
  t.actualStartTime,
65780
65780
  E,
@@ -65847,7 +65847,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65847
65847
  i,
65848
65848
  E,
65849
65849
  "Mount"
65850
- )), 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Rr(
65850
+ )), 0 <= ra && 0 <= ba && ((qi || 0.05 < Ri) && Sr(
65851
65851
  t,
65852
65852
  ra,
65853
65853
  ba,
@@ -65945,7 +65945,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
65945
65945
  A
65946
65946
  );
65947
65947
  }
65948
- (t.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
65948
+ (t.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
65949
65949
  t,
65950
65950
  ra,
65951
65951
  ba,
@@ -66118,7 +66118,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
66118
66118
  default:
66119
66119
  To(e);
66120
66120
  }
66121
- (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
66121
+ (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
66122
66122
  e,
66123
66123
  ra,
66124
66124
  ba,
@@ -66166,7 +66166,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
66166
66166
  default:
66167
66167
  _p(e);
66168
66168
  }
66169
- (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
66169
+ (e.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
66170
66170
  e,
66171
66171
  ra,
66172
66172
  ba,
@@ -66194,7 +66194,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
66194
66194
  case 24:
66195
66195
  dc(m.memoizedState.cache);
66196
66196
  }
66197
- if ((m.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Rr(
66197
+ if ((m.mode & Ka) !== _a && 0 <= ra && 0 <= ba && (qi || 0.05 < Ri) && Sr(
66198
66198
  m,
66199
66199
  ra,
66200
66200
  ba,
@@ -66827,7 +66827,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
66827
66827
  if (ui !== e || tn !== t) {
66828
66828
  if (ou) {
66829
66829
  var j = e.memoizedUpdaters;
66830
- 0 < j.size && (Rf(e, tn), j.clear()), Ar(e, t);
66830
+ 0 < j.size && (Rf(e, tn), j.clear()), Tr(e, t);
66831
66831
  }
66832
66832
  dy = null, Ql(e, t);
66833
66833
  }
@@ -66873,7 +66873,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
66873
66873
  if (ui !== e || tn !== t) {
66874
66874
  if (ou) {
66875
66875
  var A = e.memoizedUpdaters;
66876
- 0 < A.size && (Rf(e, tn), A.clear()), Ar(e, t);
66876
+ 0 < A.size && (Rf(e, tn), A.clear()), Tr(e, t);
66877
66877
  }
66878
66878
  dy = null, D2 = ds() + T5, Ql(e, t);
66879
66879
  } else
@@ -68333,7 +68333,7 @@ This ensures that you're testing the behavior the user would see in the browser.
68333
68333
  gr(e, i, m);
68334
68334
  break;
68335
68335
  case "style":
68336
- Or(e, m, A);
68336
+ Rr(e, m, A);
68337
68337
  break;
68338
68338
  case "data":
68339
68339
  if (t !== "object") {
@@ -68621,7 +68621,7 @@ This ensures that you're testing the behavior the user would see in the browser.
68621
68621
  function Pf(e, t, i, m, E, A) {
68622
68622
  switch (i) {
68623
68623
  case "style":
68624
- Or(e, m, A);
68624
+ Rr(e, m, A);
68625
68625
  break;
68626
68626
  case "dangerouslySetInnerHTML":
68627
68627
  if (m != null) {
@@ -69166,7 +69166,7 @@ This ensures that you're testing the behavior the user would see in the browser.
69166
69166
  for (A in t)
69167
69167
  if (t.hasOwnProperty(A)) {
69168
69168
  var j = t[A];
69169
- j != null && typeof j != "boolean" && j !== "" && (A.indexOf("--") === 0 ? ($t(j, A), m += E + A + ":" + ("" + j).trim()) : typeof j != "number" || j === 0 || Ur.has(A) ? ($t(j, A), m += E + A.replace(ut, "-$1").toLowerCase().replace(Sr, "-ms-") + ":" + ("" + j).trim()) : m += E + A.replace(ut, "-$1").toLowerCase().replace(Sr, "-ms-") + ":" + j + "px", E = ";");
69169
+ j != null && typeof j != "boolean" && j !== "" && (A.indexOf("--") === 0 ? ($t(j, A), m += E + A + ":" + ("" + j).trim()) : typeof j != "number" || j === 0 || Ur.has(A) ? ($t(j, A), m += E + A.replace(ut, "-$1").toLowerCase().replace(Ar, "-ms-") + ":" + ("" + j).trim()) : m += E + A.replace(ut, "-$1").toLowerCase().replace(Ar, "-ms-") + ":" + j + "px", E = ";");
69170
69170
  }
69171
69171
  m = m || null, t = e.getAttribute("style"), t !== m && (m = yl(m), yl(t) !== m && (i.style = Lc(e)));
69172
69172
  }
@@ -71228,7 +71228,7 @@ Check the render method of %s.`,
71228
71228
  "transitionTimingFunction"
71229
71229
  ],
71230
71230
  wordWrap: ["overflowWrap"]
71231
- }, ut = /([A-Z])/g, Sr = /^ms-/, fa = /^(?:webkit|moz|o)[A-Z]/, ti = /^-ms-/, Ge = /-(.)/g, He = /;\s*$/, Ze = {}, xt = {}, ea = !1, Tn = !1, Ur = new Set(
71231
+ }, ut = /([A-Z])/g, Ar = /^ms-/, fa = /^(?:webkit|moz|o)[A-Z]/, ti = /^-ms-/, Ge = /-(.)/g, He = /;\s*$/, Ze = {}, xt = {}, ea = !1, Tn = !1, Ur = new Set(
71232
71232
  "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
71233
71233
  " "
71234
71234
  )
@@ -73418,7 +73418,7 @@ Learn more: https://react.dev/warnings/version-mismatch`)
73418
73418
  currentDispatcherRef: lt,
73419
73419
  reconcilerVersion: "19.2.6"
73420
73420
  };
73421
- return e.overrideHookState = tE, e.overrideHookStateDeletePath = rE, e.overrideHookStateRenamePath = aE, e.overrideProps = nE, e.overridePropsDeletePath = iE, e.overridePropsRenamePath = sE, e.scheduleUpdate = oE, e.scheduleRetry = lE, e.setErrorHandler = uE, e.setSuspenseHandler = cE, e.scheduleRefresh = O, e.scheduleRoot = S, e.setRefreshHandler = U, e.getCurrentFiber = ei, Mr(e);
73421
+ return e.overrideHookState = tE, e.overrideHookStateDeletePath = rE, e.overrideHookStateRenamePath = aE, e.overrideProps = nE, e.overridePropsDeletePath = iE, e.overridePropsRenamePath = sE, e.scheduleUpdate = oE, e.scheduleRetry = lE, e.setErrorHandler = uE, e.setSuspenseHandler = cE, e.scheduleRefresh = O, e.scheduleRoot = S, e.setRefreshHandler = U, e.getCurrentFiber = ei, Or(e);
73422
73422
  })() && $c && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && navigator.userAgent.indexOf("Edge") === -1 || -1 < navigator.userAgent.indexOf("Firefox"))) {
73423
73423
  var dE = window.location.protocol;
73424
73424
  /^(https?|file):$/.test(dE) && console.info(
@@ -73620,7 +73620,7 @@ function ID({
73620
73620
  awaitingWalletApproval: te = !1,
73621
73621
  renderOptions: F
73622
73622
  }) {
73623
- const K = At(null), [se, xe] = Q(!1), [be, _e] = Q(!0), [Se, ie] = Q(!1), [oe, pe] = Q(!1), [De, Te] = Q(!1), [we, Le] = Q(!1), [tt, ge] = Q(!1), [me, Re] = Q(""), [Ve, ct] = Q(!1), [at, $t] = Q(""), Xt = At(X ?? []), Mr = (re) => {
73623
+ const K = At(null), [se, xe] = Q(!1), [be, _e] = Q(!0), [Se, ie] = Q(!1), [oe, pe] = Q(!1), [De, Te] = Q(!1), [we, Le] = Q(!1), [tt, ge] = Q(!1), [me, Re] = Q(""), [Ve, ct] = Q(!1), [at, $t] = Q(""), Xt = At(X ?? []), Or = (re) => {
73624
73624
  Re(re), ge(!0), setTimeout(() => ge(!1), 2500);
73625
73625
  }, zt = Vt(() => {
73626
73626
  if (!p) return !1;
@@ -73690,14 +73690,14 @@ function ID({
73690
73690
  } catch {
73691
73691
  return "";
73692
73692
  }
73693
- }, [Ca, st]), cr = r.stats?.total_votes || r.net_votes || 0, Ar = Vt(() => {
73693
+ }, [Ca, st]), cr = r.stats?.total_votes || r.net_votes || 0, Tr = Vt(() => {
73694
73694
  if (r.payout && r.payout > 0) return r.payout.toFixed(3);
73695
73695
  const re = parseFloat(String(r.pending_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0;
73696
73696
  if (re > 0) return re.toFixed(3);
73697
73697
  const le = parseFloat(String(r.author_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0, he = parseFloat(String(r.curator_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0, Me = le + he;
73698
73698
  return Me > 0 ? Me.toFixed(3) : "";
73699
73699
  }, [r.payout, r.pending_payout_value, r.author_payout_value, r.curator_payout_value]), Zt = Vt(() => {
73700
- if (!Ar) return;
73700
+ if (!Tr) return;
73701
73701
  const re = parseFloat(String(r.pending_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0, le = parseFloat(String(r.author_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0, he = parseFloat(String(r.curator_payout_value ?? "0").replace(/[^\d.]/g, "")) || 0, Me = r.payout && r.payout > 0 ? r.payout : re > 0 ? re : le + he, ot = r;
73702
73702
  return {
73703
73703
  pendingValue: re,
@@ -73712,11 +73712,11 @@ function ID({
73712
73712
  weight: jt.weight
73713
73713
  }))
73714
73714
  };
73715
- }, [Ar, r]), sa = async (re) => {
73715
+ }, [Tr, r]), sa = async (re) => {
73716
73716
  if (b) {
73717
73717
  try {
73718
73718
  await Promise.resolve(b(r.author, r.permlink, re)), Le(!0), ie(!1), setTimeout(() => {
73719
- x?.(), Mr("Vote submitted successfully!");
73719
+ x?.(), Or("Vote submitted successfully!");
73720
73720
  }, 3e3);
73721
73721
  } catch (le) {
73722
73722
  const he = le instanceof Error ? le.message : "Failed to upvote";
@@ -73725,7 +73725,7 @@ function ID({
73725
73725
  return;
73726
73726
  }
73727
73727
  if (!g) {
73728
- Mr("Please login or provide an upvote handler to vote");
73728
+ Or("Please login or provide an upvote handler to vote");
73729
73729
  return;
73730
73730
  }
73731
73731
  try {
@@ -73735,7 +73735,7 @@ function ID({
73735
73735
  weight: Math.round(re * 100),
73736
73736
  authToken: g
73737
73737
  }), Le(!0), ie(!1), setTimeout(() => {
73738
- x?.(), Mr("Vote submitted successfully!");
73738
+ x?.(), Or("Vote submitted successfully!");
73739
73739
  }, 3e3);
73740
73740
  } catch (le) {
73741
73741
  const he = le instanceof Error ? le.message : "Failed to upvote";
@@ -73743,21 +73743,21 @@ function ID({
73743
73743
  }
73744
73744
  }, Vr = () => {
73745
73745
  if (!p) {
73746
- Mr("Please login to upvote");
73746
+ Or("Please login to upvote");
73747
73747
  return;
73748
73748
  }
73749
73749
  if (zt || we) {
73750
- Mr("You have already upvoted this comment");
73750
+ Or("You have already upvoted this comment");
73751
73751
  return;
73752
73752
  }
73753
73753
  if (GN(r.created)) {
73754
- Mr(b3);
73754
+ Or(b3);
73755
73755
  return;
73756
73756
  }
73757
73757
  ie(!0);
73758
73758
  }, ua = () => {
73759
73759
  if (!p) {
73760
- Mr("Please login to reply");
73760
+ Or("Please login to reply");
73761
73761
  return;
73762
73762
  }
73763
73763
  l(r.author, r.permlink);
@@ -73946,7 +73946,7 @@ function ID({
73946
73946
  ]
73947
73947
  }
73948
73948
  ),
73949
- Ar && (Zt ? /* @__PURE__ */ w(
73949
+ Tr && (Zt ? /* @__PURE__ */ w(
73950
73950
  "button",
73951
73951
  {
73952
73952
  type: "button",
@@ -73956,12 +73956,12 @@ function ID({
73956
73956
  className: "ml-auto flex items-center gap-1 rounded-md px-1 py-0.5 transition-colors hover:bg-white/5",
73957
73957
  "aria-label": "Show rewards breakdown",
73958
73958
  children: [
73959
- /* @__PURE__ */ n("span", { className: "font-semibold text-green-400 text-[11px]", children: Ar }),
73959
+ /* @__PURE__ */ n("span", { className: "font-semibold text-green-400 text-[11px]", children: Tr }),
73960
73960
  M && /* @__PURE__ */ n("img", { src: M, alt: "Hive", className: "w-3 h-3 rounded-full" })
73961
73961
  ]
73962
73962
  }
73963
73963
  ) : /* @__PURE__ */ w("div", { className: "flex items-center gap-1 ml-auto", children: [
73964
- /* @__PURE__ */ n("span", { className: "font-semibold text-green-400 text-[11px]", children: Ar }),
73964
+ /* @__PURE__ */ n("span", { className: "font-semibold text-green-400 text-[11px]", children: Tr }),
73965
73965
  M && /* @__PURE__ */ n("img", { src: M, alt: "Hive", className: "w-3 h-3 rounded-full" })
73966
73966
  ] }))
73967
73967
  ] }) }),
@@ -74291,8 +74291,8 @@ function fj({
74291
74291
  De(`${Rt}/${It}`);
74292
74292
  }, $t = () => {
74293
74293
  De(null);
74294
- }, Xt = At({ enabled: !1, percent: 100 }), Mr = At(X ?? []), zt = async (Rt, It, Nr, la) => {
74295
- const xr = Rt === r && It === o, { enabled: ha, percent: Ca } = Xt.current, Bt = xr && ha ? Ca : null, kt = la ?? Mr.current;
74294
+ }, Xt = At({ enabled: !1, percent: 100 }), Or = At(X ?? []), zt = async (Rt, It, Nr, la) => {
74295
+ const xr = Rt === r && It === o, { enabled: ha, percent: Ca } = Xt.current, Bt = xr && ha ? Ca : null, kt = la ?? Or.current;
74296
74296
  if (d) {
74297
74297
  try {
74298
74298
  if (await Promise.resolve(d(Rt, It, Nr, Bt, kt)) === !1) return !1;
@@ -74417,7 +74417,7 @@ function fj({
74417
74417
  defaultBeneficiaries: X,
74418
74418
  beneficiaryFavorites: Z,
74419
74419
  onBeneficiariesChange: (Rt) => {
74420
- Mr.current = Rt;
74420
+ Or.current = Rt;
74421
74421
  },
74422
74422
  defaultVotePercent: W,
74423
74423
  voteWeightStep: ae,
@@ -74834,7 +74834,7 @@ function p$({
74834
74834
  renderOptions: we,
74835
74835
  awaitingWalletApproval: Le = !1
74836
74836
  }) {
74837
- const tt = Vt(() => Y ? Array.isArray(Y) ? Y.length === 0 ? {} : Y.length === 1 ? { background: Y[0] } : { background: `linear-gradient(to bottom, ${Y.join(", ")})` } : { background: Y } : {}, [Y]), ge = Vt(() => Y ? Array.isArray(Y) ? { backgroundColor: Y[0], opacity: 0.97 } : { backgroundColor: Y } : {}, [Y]), [me, Re] = Q(null), { text: Ve } = MD(me?.title), [ct, at] = Q(null), [$t, Xt] = Q(!0), [Mr, zt] = Q(null), [St, Kt] = Q(null), [Rt, It] = Q(!1), [Nr, la] = Q(!1), [xr, ha] = Q(!1), Ca = At(null), Bt = At(null), [kt, st] = Q([]), [et, cr] = Q(!1), [Ar, Zt] = Q([]), sa = Vt(() => {
74837
+ const tt = Vt(() => Y ? Array.isArray(Y) ? Y.length === 0 ? {} : Y.length === 1 ? { background: Y[0] } : { background: `linear-gradient(to bottom, ${Y.join(", ")})` } : { background: Y } : {}, [Y]), ge = Vt(() => Y ? Array.isArray(Y) ? { backgroundColor: Y[0], opacity: 0.97 } : { backgroundColor: Y } : {}, [Y]), [me, Re] = Q(null), { text: Ve } = MD(me?.title), [ct, at] = Q(null), [$t, Xt] = Q(!0), [Or, zt] = Q(null), [St, Kt] = Q(null), [Rt, It] = Q(!1), [Nr, la] = Q(!1), [xr, ha] = Q(!1), Ca = At(null), Bt = At(null), [kt, st] = Q([]), [et, cr] = Q(!1), [Tr, Zt] = Q([]), sa = Vt(() => {
74838
74838
  try {
74839
74839
  return nb({
74840
74840
  baseUrl: we?.postBaseUrl ?? "https://peakd.com/",
@@ -75247,10 +75247,10 @@ function p$({
75247
75247
  /* @__PURE__ */ n("div", { className: "h-5 bg-[var(--hrk-bg-surface-raised)] rounded-full w-18" })
75248
75248
  ] }) })
75249
75249
  ] }) })
75250
- ] }) : Mr || !me ? /* @__PURE__ */ n("div", { className: "dark flex justify-center items-center min-h-screen bg-[var(--hrk-bg-app)] p-8", style: tt, children: /* @__PURE__ */ w("div", { className: "text-center", children: [
75250
+ ] }) : Or || !me ? /* @__PURE__ */ n("div", { className: "dark flex justify-center items-center min-h-screen bg-[var(--hrk-bg-app)] p-8", style: tt, children: /* @__PURE__ */ w("div", { className: "text-center", children: [
75251
75251
  /* @__PURE__ */ n(D1, { className: "w-12 h-12 text-red-500 mx-auto mb-3" }),
75252
75252
  /* @__PURE__ */ n("h3", { className: "text-base font-semibold text-white mb-1", children: "Failed to load post" }),
75253
- /* @__PURE__ */ n("p", { className: "text-[var(--hrk-text-tertiary)] text-sm mb-4", children: Mr }),
75253
+ /* @__PURE__ */ n("p", { className: "text-[var(--hrk-text-tertiary)] text-sm mb-4", children: Or }),
75254
75254
  /* @__PURE__ */ n(
75255
75255
  "button",
75256
75256
  {
@@ -75411,7 +75411,7 @@ function p$({
75411
75411
  }
75412
75412
  ) }),
75413
75413
  Vr?.content_type === "poll" && (() => {
75414
- const Je = St?.max_choices_voted ?? Vr?.max_choices_voted ?? 1, Mt = Je > 1, Dt = St?.end_time ? new Date(St.end_time).getTime() : (Vr?.end_time ?? 0) * 1e3, ft = Dt > 0 && Date.now() > Dt, Yt = Ar.length > 0, Qt = l ? St?.poll_voters?.find((br) => br.name === l) : void 0, Ct = Qt?.choices?.length ? Qt.choices : Qt?.choice_num != null ? [Qt.choice_num] : [], Pt = Yt || Ct.length > 0, Ft = St?.allow_vote_changes ?? Vr?.allow_vote_changes ?? !1, Ut = Yt ? Ar : Ct, dr = !!l && !ft && !!xe && (!Pt || Ft), Gt = Pt && Ft && !Yt, Br = St?.poll_choices ?? (Vr?.choices ?? []).map((br, Xr) => ({ choice_num: Xr + 1, choice_text: br, votes: null })), Ia = Br.reduce((br, Xr) => br + (Xr.votes?.total_votes ?? 0), 0), oa = Mt || Gt, Lr = async (br) => {
75414
+ const Je = St?.max_choices_voted ?? Vr?.max_choices_voted ?? 1, Mt = Je > 1, Dt = St?.end_time ? new Date(St.end_time).getTime() : (Vr?.end_time ?? 0) * 1e3, ft = Dt > 0 && Date.now() > Dt, Yt = Tr.length > 0, Qt = l ? St?.poll_voters?.find((br) => br.name === l) : void 0, Ct = Qt?.choices?.length ? Qt.choices : Qt?.choice_num != null ? [Qt.choice_num] : [], Pt = Yt || Ct.length > 0, Ft = St?.allow_vote_changes ?? Vr?.allow_vote_changes ?? !1, Ut = Yt ? Tr : Ct, dr = !!l && !ft && !!xe && (!Pt || Ft), Gt = Pt && Ft && !Yt, Br = St?.poll_choices ?? (Vr?.choices ?? []).map((br, Xr) => ({ choice_num: Xr + 1, choice_text: br, votes: null })), Ia = Br.reduce((br, Xr) => br + (Xr.votes?.total_votes ?? 0), 0), oa = Mt || Gt, Lr = async (br) => {
75415
75415
  if (!(!dr || et))
75416
75416
  if (oa)
75417
75417
  st((Xr) => Xr.includes(br) ? Xr.filter((jr) => jr !== br) : Xr.length >= Je ? Xr : [...Xr, br]);
@@ -76142,23 +76142,23 @@ const Gk = ({
76142
76142
  useThreeSpeakV2: at = !1,
76143
76143
  communitySlot: $t,
76144
76144
  videoSlot: Xt,
76145
- reblogToggle: Mr = !1,
76145
+ reblogToggle: Or = !1,
76146
76146
  reblogToggleDefault: zt = !1,
76147
76147
  reblogToggleLabel: St = "Reblog",
76148
76148
  previewExtras: Kt = ""
76149
76149
  }) => {
76150
- const [Rt, It] = Q(u), [Nr, la] = Q(d), [xr, ha] = Q(f), [Ca, Bt] = Q(Mr ? zt : !1);
76150
+ const [Rt, It] = Q(u), [Nr, la] = Q(d), [xr, ha] = Q(f), [Ca, Bt] = Q(Or ? zt : !1);
76151
76151
  Ie(() => {
76152
- Bt(Mr ? zt : !1);
76153
- }, [Mr, zt]);
76154
- const [kt, st] = Q(!1), et = kt, cr = At(null), Ar = Vt(
76152
+ Bt(Or ? zt : !1);
76153
+ }, [Or, zt]);
76154
+ const [kt, st] = Q(!1), et = kt, cr = At(null), Tr = Vt(
76155
76155
  () => (g ?? []).map((Ne) => Ne.trim().toLowerCase()).filter(Boolean),
76156
76156
  [g]
76157
76157
  ), [Zt, sa] = Q(
76158
- () => (p ?? []).map((Ne) => Ne.trim().toLowerCase()).filter((Ne) => Ne && !Ar.includes(Ne))
76158
+ () => (p ?? []).map((Ne) => Ne.trim().toLowerCase()).filter((Ne) => Ne && !Tr.includes(Ne))
76159
76159
  ), [Vr, ua] = Q(""), Wt = Vt(
76160
- () => [...Ar, ...Zt],
76161
- [Ar, Zt]
76160
+ () => [...Tr, ...Zt],
76161
+ [Tr, Zt]
76162
76162
  ), re = Math.max(0, v - Wt.length), le = Ot(
76163
76163
  (Ne) => {
76164
76164
  const ht = Ne.trim().toLowerCase().replace(/^#+/, "").replace(/\s+/g, "-");
@@ -76177,8 +76177,8 @@ const Gk = ({
76177
76177
  z === void 0 && Fr(Ne), C?.(Ne);
76178
76178
  }, Je = At(null), Mt = At(null), [Dt, ft] = Q(null), Yt = 224, Qt = 8, Ct = (Ne, ht) => {
76179
76179
  if (!Ne) return null;
76180
- const or = Ne.getBoundingClientRect(), fr = window.innerWidth, Dr = Math.min(ht, Math.max(0, fr - Qt * 2)), $a = Math.max(Qt, Math.round((fr - Dr) / 2));
76181
- return { top: or.bottom + 4, left: $a, width: Dr };
76180
+ const or = Ne.getBoundingClientRect(), fr = window.innerWidth, Mr = Math.min(ht, Math.max(0, fr - Qt * 2)), $a = Math.max(Qt, Math.round((fr - Mr) / 2));
76181
+ return { top: or.bottom + 4, left: $a, width: Mr };
76182
76182
  }, Pt = Ot(() => {
76183
76183
  wr((Ne) => {
76184
76184
  const ht = !Ne;
@@ -76195,11 +76195,11 @@ const Gk = ({
76195
76195
  document.removeEventListener("mousedown", ht), window.removeEventListener("resize", Ne), window.removeEventListener("scroll", Ne, !0);
76196
76196
  };
76197
76197
  }, [jt]);
76198
- const [Ft, Ut] = Q(null), [dr, Gt] = Q(0), [Br, Ia] = Q(null), [oa, Lr] = Q(null), [Gr, br] = Q(null), [Xr, jr] = Q(null), [Qr, Xn] = Q(!1), [Ue, Ye] = Q(null), [dt, Ht] = Q(null), [Wr, kr] = Q(!1), [mr, tr] = Q(null), [Hr, aa] = Q(!1), [Tr, na] = Q(!1), [ma, er] = Q(!1), [va, dn] = Q(!1), [Dn, Jr] = Q(!1), [La, vn] = Q(!1), [Wa, Ba] = Q([]);
76198
+ const [Ft, Ut] = Q(null), [dr, Gt] = Q(0), [Br, Ia] = Q(null), [oa, Lr] = Q(null), [Gr, br] = Q(null), [Xr, jr] = Q(null), [Qr, Xn] = Q(!1), [Ue, Ye] = Q(null), [dt, Ht] = Q(null), [Wr, kr] = Q(!1), [mr, tr] = Q(null), [Hr, aa] = Q(!1), [Cr, na] = Q(!1), [ma, er] = Q(!1), [va, dn] = Q(!1), [Dn, Jr] = Q(!1), [La, vn] = Q(!1), [Wa, Ba] = Q([]);
76199
76199
  Ie(() => {
76200
76200
  ie?.(Wa);
76201
76201
  }, [Wa]);
76202
- const [ia, Or] = Q(!1), [pa, Un] = Q(!1), [rn, ka] = Q(!1), [Mn, $n] = Q(!1), [Wn, Ja] = Q(!1), [Fa, Lt] = Q([]);
76202
+ const [ia, Rr] = Q(!1), [pa, Un] = Q(!1), [rn, ka] = Q(!1), [Mn, $n] = Q(!1), [Wn, Ja] = Q(!1), [Fa, Lt] = Q([]);
76203
76203
  Ie(() => {
76204
76204
  if (!P) {
76205
76205
  Lt([]);
@@ -76223,8 +76223,8 @@ const Gk = ({
76223
76223
  for (const or of ht.beneficiaries[ja] ?? []) {
76224
76224
  const fr = or.account;
76225
76225
  if (!fr) continue;
76226
- const Dr = ht.template.name ? `template "${ht.template.name}"` : "a DecentMemes meme";
76227
- Ne[fr] = `Auto-attached by ${Dr} (${or.role ?? "beneficiary"}) — required by the DecentMemes integration`;
76226
+ const Mr = ht.template.name ? `template "${ht.template.name}"` : "a DecentMemes meme";
76227
+ Ne[fr] = `Auto-attached by ${Mr} (${or.role ?? "beneficiary"}) — required by the DecentMemes integration`;
76228
76228
  }
76229
76229
  return Ne;
76230
76230
  }, [Nn, Wa]), [an, za] = Q(
@@ -76247,11 +76247,11 @@ const Gk = ({
76247
76247
  xa.current = ht;
76248
76248
  const or = ht.signal, fr = async () => {
76249
76249
  if (!y) throw new Error("Ecency token not provided");
76250
- const Dr = new FormData();
76251
- Dr.append("file", Ne);
76250
+ const Mr = new FormData();
76251
+ Mr.append("file", Ne);
76252
76252
  const $a = await fetch(`https://images.ecency.com/hs/${y}`, {
76253
76253
  method: "POST",
76254
- body: Dr,
76254
+ body: Mr,
76255
76255
  signal: or
76256
76256
  });
76257
76257
  if (!$a.ok) throw new Error(`Upload failed: ${$a.status}`);
@@ -76262,10 +76262,10 @@ const Gk = ({
76262
76262
  try {
76263
76263
  try {
76264
76264
  return await fr();
76265
- } catch (Dr) {
76265
+ } catch (Mr) {
76266
76266
  if (or.aborted) return null;
76267
76267
  if (!qn)
76268
- return console.error("Image upload failed:", Dr), null;
76268
+ return console.error("Image upload failed:", Mr), null;
76269
76269
  try {
76270
76270
  return await j1(
76271
76271
  S,
@@ -76303,11 +76303,11 @@ const Gk = ({
76303
76303
  (Ne) => {
76304
76304
  const ht = cr.current;
76305
76305
  if (!ht) {
76306
- ha((Dr) => Dr + Ne);
76306
+ ha((Mr) => Mr + Ne);
76307
76307
  return;
76308
76308
  }
76309
76309
  const or = ht.selectionStart, fr = ht.selectionEnd;
76310
- vr(ht, Ne) || (ha((Dr) => Dr.slice(0, or) + Ne + Dr.slice(fr)), setTimeout(() => {
76310
+ vr(ht, Ne) || (ha((Mr) => Mr.slice(0, or) + Ne + Mr.slice(fr)), setTimeout(() => {
76311
76311
  ht.focus(), ht.setSelectionRange(or + Ne.length, or + Ne.length);
76312
76312
  }, 0));
76313
76313
  },
@@ -76316,7 +76316,7 @@ const Gk = ({
76316
76316
  (Ne, ht = "") => {
76317
76317
  const or = cr.current;
76318
76318
  if (!or) return;
76319
- const fr = or.selectionStart, Dr = or.selectionEnd, $a = or.value.slice(fr, Dr), da = Ne + $a + ht;
76319
+ const fr = or.selectionStart, Mr = or.selectionEnd, $a = or.value.slice(fr, Mr), da = Ne + $a + ht;
76320
76320
  if (vr(or, da)) {
76321
76321
  setTimeout(() => {
76322
76322
  or.focus(), or.setSelectionRange(
@@ -76326,9 +76326,9 @@ const Gk = ({
76326
76326
  }, 0);
76327
76327
  return;
76328
76328
  }
76329
- ha((fn) => fn.slice(0, fr) + da + fn.slice(Dr)), setTimeout(() => {
76329
+ ha((fn) => fn.slice(0, fr) + da + fn.slice(Mr)), setTimeout(() => {
76330
76330
  or.focus();
76331
- const fn = Dr - fr;
76331
+ const fn = Mr - fr;
76332
76332
  or.setSelectionRange(fr + Ne.length, fr + Ne.length + fn);
76333
76333
  }, 0);
76334
76334
  },
@@ -76336,14 +76336,14 @@ const Gk = ({
76336
76336
  ), pn = Ot(() => {
76337
76337
  const Ne = cr.current;
76338
76338
  if (!Ne) return;
76339
- const ht = Ne.selectionStart, or = Ne.selectionEnd, fr = Ne.value.slice(ht, or), Dr = "```\n" + (fr || "code here") + "\n```";
76340
- if (vr(Ne, Dr)) {
76339
+ const ht = Ne.selectionStart, or = Ne.selectionEnd, fr = Ne.value.slice(ht, or), Mr = "```\n" + (fr || "code here") + "\n```";
76340
+ if (vr(Ne, Mr)) {
76341
76341
  setTimeout(() => {
76342
76342
  Ne.focus(), Ne.setSelectionRange(ht + 4, ht + 4 + (fr.length || 9));
76343
76343
  }, 0);
76344
76344
  return;
76345
76345
  }
76346
- ha(xr.slice(0, ht) + Dr + xr.slice(or)), setTimeout(() => {
76346
+ ha(xr.slice(0, ht) + Mr + xr.slice(or)), setTimeout(() => {
76347
76347
  Ne.focus(), Ne.setSelectionRange(ht + 4, ht + 4 + (fr.length || 9));
76348
76348
  }, 0);
76349
76349
  }, [xr, vr]), lr = Ot(() => Zr("@"), [Zr]), Ee = Ot(
@@ -76357,8 +76357,8 @@ const Gk = ({
76357
76357
  const fr = ht[or].getAsFile();
76358
76358
  if (!fr) continue;
76359
76359
  vt(!0);
76360
- const Dr = await wa(fr);
76361
- vt(!1), Dr && Zr(`![Image](${Dr})
76360
+ const Mr = await wa(fr);
76361
+ vt(!1), Mr && Zr(`![Image](${Mr})
76362
76362
  `);
76363
76363
  return;
76364
76364
  }
@@ -76383,8 +76383,8 @@ const Gk = ({
76383
76383
  const fr = ht[or];
76384
76384
  if (fr.type.startsWith("image/")) {
76385
76385
  vt(!0);
76386
- const Dr = await wa(fr);
76387
- vt(!1), Dr && Zr(`![Image](${Dr})
76386
+ const Mr = await wa(fr);
76387
+ vt(!1), Mr && Zr(`![Image](${Mr})
76388
76388
  `);
76389
76389
  }
76390
76390
  }
@@ -76415,9 +76415,9 @@ ${Br}`), Kt && (Ne += `
76415
76415
  ${Kt}`), Ne = Ej(Ne), Ne;
76416
76416
  }, [xr, Ft, Br, Kt]), ve = Vt(() => {
76417
76417
  const Ne = yT(xr), ht = yT(Kt), or = /* @__PURE__ */ new Set(), fr = [];
76418
- for (const Dr of [...Ne, ...ht]) {
76419
- const $a = `${Dr.lat.toFixed(6)}|${Dr.lng.toFixed(6)}`;
76420
- or.has($a) || (or.add($a), fr.push(Dr));
76418
+ for (const Mr of [...Ne, ...ht]) {
76419
+ const $a = `${Mr.lat.toFixed(6)}|${Mr.lng.toFixed(6)}`;
76420
+ or.has($a) || (or.add($a), fr.push(Mr));
76421
76421
  }
76422
76422
  return fr;
76423
76423
  }, [xr, Kt]), nt = Vt(() => {
@@ -76430,26 +76430,26 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76430
76430
  let Ne = Rn(Ha);
76431
76431
  const ht = !!nt, or = (fr) => {
76432
76432
  if (ht) return "";
76433
- const Dr = fr.indexOf("/");
76434
- if (Dr < 1) return "";
76435
- const $a = fr.slice(0, Dr), da = fr.slice(Dr + 1);
76433
+ const Mr = fr.indexOf("/");
76434
+ if (Mr < 1) return "";
76435
+ const $a = fr.slice(0, Mr), da = fr.slice(Mr + 1);
76436
76436
  return `<div class="threeSpeakEmbed" data-author="${$a}" data-permlink="${da}"></div>`;
76437
76437
  };
76438
76438
  return Ne = Ne.replace(
76439
76439
  /<iframe\s[^>]*src="https:\/\/(?:play\.)?3speak\.tv\/embed\?v=([^"&]+\/[^"&]+)[^"]*"[^>]*>(?:<\/iframe>)?/gi,
76440
- (fr, Dr) => or(Dr)
76440
+ (fr, Mr) => or(Mr)
76441
76441
  ), Ne = Ne.replace(
76442
76442
  /<a\s[^>]*href="https:\/\/(?:play\.)?3speak\.tv\/embed\?v=([^"&]+\/[^"&]+)[^"]*"[^>]*>[^<]*<\/a>/gi,
76443
- (fr, Dr) => or(Dr)
76443
+ (fr, Mr) => or(Mr)
76444
76444
  ), Ne = Ne.replace(
76445
76445
  /<iframe\s[^>]*src="(https:\/\/audio\.3speak\.tv\/play\?[^"]*)"[^>]*>(?:<\/iframe>)?/gi,
76446
- (fr, Dr) => {
76447
- let $a = Dr;
76446
+ (fr, Mr) => {
76447
+ let $a = Mr;
76448
76448
  return $a.includes("mode=minimal") || ($a += "&mode=minimal"), $a.includes("iframe=1") || ($a += "&iframe=1"), `<div class="audioWrapper"><iframe src="${$a}" scrolling="no" frameborder="0" allow="autoplay"></iframe></div>`;
76449
76449
  }
76450
76450
  ), Ne = Ne.replace(
76451
76451
  /<img\s([^>]*?)alt="([^"]+)"([^>]*?)\/?\s*>/gi,
76452
- (fr, Dr, $a, da) => `<figure class="hive-img-figure">${`<img ${Dr}alt="${$a}"${da}>`}<figcaption>${$a}</figcaption></figure>`
76452
+ (fr, Mr, $a, da) => `<figure class="hive-img-figure">${`<img ${Mr}alt="${$a}"${da}>`}<figcaption>${$a}</figcaption></figure>`
76453
76453
  ), Ne;
76454
76454
  } catch {
76455
76455
  return "";
@@ -76462,7 +76462,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76462
76462
  const fr = or.target;
76463
76463
  if (fr.tagName !== "IMG" || fr.dataset.fallbackAttempted) return;
76464
76464
  fr.dataset.fallbackAttempted = "true";
76465
- const Dr = fr.getAttribute("src") || "", $a = [
76465
+ const Mr = fr.getAttribute("src") || "", $a = [
76466
76466
  /^https:\/\/images\.hive\.blog\/\d+x\d+\//,
76467
76467
  /^https:\/\/images\.hive\.blog\/DQm[^/]*\//,
76468
76468
  /^https:\/\/images\.ecency\.com\/\d+x\d+\//,
@@ -76470,8 +76470,8 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76470
76470
  /^https:\/\/ipfs\.3speak\.tv\/ipfs\//
76471
76471
  ];
76472
76472
  for (const fn of $a)
76473
- if (fn.test(Dr)) {
76474
- const ni = Dr.replace(fn, "");
76473
+ if (fn.test(Mr)) {
76474
+ const ni = Mr.replace(fn, "");
76475
76475
  if (ni.startsWith("http")) {
76476
76476
  fr.src = ni;
76477
76477
  return;
@@ -76489,14 +76489,14 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76489
76489
  if (!da) return null;
76490
76490
  const fn = da.match(/[?&]v=([^&\s/?#]+)\/([^&\s/?#]+)/i);
76491
76491
  return fn ? { author: fn[1], permlink: fn[2] } : null;
76492
- }, fr = (da) => da ? /https?:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?/i.test(da) : !1, Dr = [];
76492
+ }, fr = (da) => da ? /https?:\/\/(?:play\.)?3speak\.tv\/(?:embed|watch)\?/i.test(da) : !1, Mr = [];
76493
76493
  if (Ne.querySelectorAll('.threeSpeakEmbed:not([data-mounted="1"])').forEach((da) => {
76494
76494
  if (ht) {
76495
76495
  da.remove();
76496
76496
  return;
76497
76497
  }
76498
76498
  const { author: fn, permlink: ni } = da.dataset;
76499
- fn && ni && Dr.push({ el: da, author: fn, permlink: ni });
76499
+ fn && ni && Mr.push({ el: da, author: fn, permlink: ni });
76500
76500
  }), Ne.querySelectorAll("iframe").forEach((da) => {
76501
76501
  const fn = da.getAttribute("src");
76502
76502
  if (!fr(fn)) return;
@@ -76507,7 +76507,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76507
76507
  const ni = or(fn);
76508
76508
  if (!ni) return;
76509
76509
  const Ii = document.createElement("div");
76510
- Ii.className = "threeSpeakEmbed", Ii.dataset.author = ni.author, Ii.dataset.permlink = ni.permlink, da.replaceWith(Ii), Dr.push({ el: Ii, ...ni });
76510
+ Ii.className = "threeSpeakEmbed", Ii.dataset.author = ni.author, Ii.dataset.permlink = ni.permlink, da.replaceWith(Ii), Mr.push({ el: Ii, ...ni });
76511
76511
  }), Ne.querySelectorAll("a").forEach((da) => {
76512
76512
  const fn = da.getAttribute("href");
76513
76513
  if (!fr(fn)) return;
@@ -76518,10 +76518,10 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76518
76518
  const ni = or(fn);
76519
76519
  if (!ni) return;
76520
76520
  const Ii = document.createElement("div");
76521
- Ii.className = "threeSpeakEmbed", Ii.dataset.author = ni.author, Ii.dataset.permlink = ni.permlink, da.replaceWith(Ii), Dr.push({ el: Ii, ...ni });
76522
- }), Dr.length === 0) return;
76521
+ Ii.className = "threeSpeakEmbed", Ii.dataset.author = ni.author, Ii.dataset.permlink = ni.permlink, da.replaceWith(Ii), Mr.push({ el: Ii, ...ni });
76522
+ }), Mr.length === 0) return;
76523
76523
  const $a = [];
76524
- return Dr.forEach(({ el: da, author: fn, permlink: ni }) => {
76524
+ return Mr.forEach(({ el: da, author: fn, permlink: ni }) => {
76525
76525
  da.dataset.mounted = "1";
76526
76526
  const Ii = VD.createRoot(da);
76527
76527
  Ii.render(/* @__PURE__ */ n(S1, { author: fn, permlink: ni, hideThumbnail: !0 })), $a.push(Ii);
@@ -76539,7 +76539,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76539
76539
  const pt = Vt(
76540
76540
  () => Ha.trim().split(/\s+/).filter(Boolean).length,
76541
76541
  [Ha]
76542
- ), Er = Math.max(1, Math.round(pt / 220)), [qr, ke] = Q(!1), [Et, ar] = Q(null), Cr = At(b);
76542
+ ), Er = Math.max(1, Math.round(pt / 220)), [qr, ke] = Q(!1), [Et, ar] = Q(null), Dr = At(b);
76543
76543
  Ie(() => {
76544
76544
  if (!Ve || qr) {
76545
76545
  Ve || ke(!0);
@@ -76550,12 +76550,12 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76550
76550
  if (Ne) {
76551
76551
  const ht = JSON.parse(Ne);
76552
76552
  if (typeof ht.title == "string" && It(ht.title), typeof ht.description == "string" && la(ht.description), typeof ht.body == "string" && ha(ht.body), Array.isArray(ht.userTags)) {
76553
- const or = /* @__PURE__ */ new Set(), fr = [], Dr = ($a) => {
76553
+ const or = /* @__PURE__ */ new Set(), fr = [], Mr = ($a) => {
76554
76554
  const da = $a.trim().toLowerCase();
76555
- !da || or.has(da) || Ar.includes(da) || (or.add(da), fr.push(da));
76555
+ !da || or.has(da) || Tr.includes(da) || (or.add(da), fr.push(da));
76556
76556
  };
76557
- for (const $a of p ?? []) Dr($a);
76558
- for (const $a of ht.userTags) Dr($a);
76557
+ for (const $a of p ?? []) Mr($a);
76558
+ for (const $a of ht.userTags) Mr($a);
76559
76559
  sa(fr);
76560
76560
  }
76561
76561
  ht.reward && ot(ht.reward), Array.isArray(ht.beneficiaries) && za(ht.beneficiaries), ht.audioEmbedUrl !== void 0 && Ut(ht.audioEmbedUrl), typeof ht.audioDuration == "number" && Gt(ht.audioDuration), ht.videoEmbedUrl !== void 0 && Ia(ht.videoEmbedUrl), ht.videoUploadUrl !== void 0 && Lr(ht.videoUploadUrl), ht.videoAspectRatio !== void 0 && br(ht.videoAspectRatio), ht.pollData !== void 0 && tr(ht.pollData);
@@ -76606,16 +76606,16 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76606
76606
  Gr,
76607
76607
  mr
76608
76608
  ]);
76609
- const Rr = Ot(() => {
76609
+ const Sr = Ot(() => {
76610
76610
  if (Ve)
76611
76611
  try {
76612
76612
  localStorage.removeItem(Ve);
76613
76613
  } catch {
76614
76614
  }
76615
- It(""), la(""), ha(""), sa([]), ua(""), ot(x), za(nc(Cr.current, [])), Ut(null), Gt(0), Xr && URL.revokeObjectURL(Xr), Ia(null), Lr(null), br(null), jr(null), Ht(null), kr(!1), tr(null), Ba([]), ar(null);
76615
+ It(""), la(""), ha(""), sa([]), ua(""), ot(x), za(nc(Dr.current, [])), Ut(null), Gt(0), Xr && URL.revokeObjectURL(Xr), Ia(null), Lr(null), br(null), jr(null), Ht(null), kr(!1), tr(null), Ba([]), ar(null);
76616
76616
  }, [Ve, x, Xr]), Oa = Ot(() => {
76617
- Rr();
76618
- }, [Rr]), Ln = Rt.trim().length > 0 && xr.trim().length > 0 && !kt && (!Te || !!mr), Ci = Ot(async () => {
76617
+ Sr();
76618
+ }, [Sr]), Ln = Rt.trim().length > 0 && xr.trim().length > 0 && !kt && (!Te || !!mr), Ci = Ot(async () => {
76619
76619
  if (Ln) {
76620
76620
  st(!0);
76621
76621
  try {
@@ -76634,13 +76634,13 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76634
76634
  videoUploadDetails: dt,
76635
76635
  hasVideo: !!dt,
76636
76636
  isNsfw: Wr,
76637
- reblog: Mr ? Ca : !1,
76637
+ reblog: Or ? Ca : !1,
76638
76638
  // Pass the picked app through to the host so it can route
76639
76639
  // the broadcast appropriately (blog vs snap-style comment).
76640
76640
  appId: $ && $.length > 0 ? Tt : void 0
76641
76641
  };
76642
76642
  if (await Promise.resolve(r(Ne)) === !1) return;
76643
- Rr();
76643
+ Sr();
76644
76644
  } catch (Ne) {
76645
76645
  console.error("[ParentPostComposer] submit error:", Ne);
76646
76646
  } finally {
@@ -76664,9 +76664,9 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76664
76664
  dt,
76665
76665
  Wr,
76666
76666
  r,
76667
- Rr,
76667
+ Sr,
76668
76668
  Ca,
76669
- Mr
76669
+ Or
76670
76670
  ]), Vi = {
76671
76671
  title: Rt.trim(),
76672
76672
  description: Nr.trim().slice(0, Mm),
@@ -76685,14 +76685,14 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76685
76685
  tags: Wt,
76686
76686
  beneficiaries: nc(an, rr)
76687
76687
  })
76688
- );
76688
+ ), Sr(), o?.();
76689
76689
  } catch (Ne) {
76690
76690
  console.error("[ParentPostComposer] save draft error:", Ne);
76691
76691
  } finally {
76692
76692
  Un(!1);
76693
76693
  }
76694
76694
  }
76695
- }, [q, pa, Rt, Nr, xr, Wt, an, rr]), gn = Ot(
76695
+ }, [q, pa, Rt, Nr, xr, Wt, an, rr, Sr, o]), gn = Ot(
76696
76696
  async (Ne, ht) => {
76697
76697
  if (Y) {
76698
76698
  $n(!0);
@@ -76719,12 +76719,12 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76719
76719
  ), di = Ot(
76720
76720
  (Ne) => {
76721
76721
  It(Ne.title || ""), la(Ne.description || ""), ha(Ne.body || "");
76722
- const ht = (Ne.tags || []).map((fr) => typeof fr == "string" ? fr.trim().toLowerCase() : "").filter((fr) => !!fr && !Ar.includes(fr));
76722
+ const ht = (Ne.tags || []).map((fr) => typeof fr == "string" ? fr.trim().toLowerCase() : "").filter((fr) => !!fr && !Tr.includes(fr));
76723
76723
  sa(ht), ua("");
76724
76724
  const or = Array.isArray(Ne.beneficiaries) ? Ne.beneficiaries : [];
76725
76725
  za(nc(or, rr)), Z?.(Ne);
76726
76726
  },
76727
- [Ar, rr, Z]
76727
+ [Tr, rr, Z]
76728
76728
  ), En = () => {
76729
76729
  Ut(null), Gt(0);
76730
76730
  }, as = () => {
@@ -76886,7 +76886,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
76886
76886
  /* @__PURE__ */ w("div", { className: "px-3 sm:px-6 py-4 space-y-3", children: [
76887
76887
  /* @__PURE__ */ w("div", { className: "flex flex-wrap items-center justify-between gap-2", children: [
76888
76888
  /* @__PURE__ */ n("div", { className: "min-w-0 flex-1", children: $t }),
76889
- Mr && /* @__PURE__ */ w("div", { className: "inline-flex shrink-0 items-center gap-1.5 text-xs text-[var(--hrk-text-secondary)]", children: [
76889
+ Or && /* @__PURE__ */ w("div", { className: "inline-flex shrink-0 items-center gap-1.5 text-xs text-[var(--hrk-text-secondary)]", children: [
76890
76890
  /* @__PURE__ */ w("span", { children: [
76891
76891
  St,
76892
76892
  ":"
@@ -77011,7 +77011,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
77011
77011
  "button",
77012
77012
  {
77013
77013
  type: "button",
77014
- onClick: () => Or(!0),
77014
+ onClick: () => Rr(!0),
77015
77015
  className: _n,
77016
77016
  title: "Emoji",
77017
77017
  disabled: et,
@@ -77318,7 +77318,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
77318
77318
  ] })
77319
77319
  ] }),
77320
77320
  /* @__PURE__ */ w("div", { className: "flex flex-wrap items-center gap-1 mb-2", children: [
77321
- Ar.map((Ne) => /* @__PURE__ */ w(
77321
+ Tr.map((Ne) => /* @__PURE__ */ w(
77322
77322
  "span",
77323
77323
  {
77324
77324
  className: "inline-flex items-center gap-1 rounded-full bg-[var(--hrk-bg-surface-raised)]/70 px-2 py-0.5 text-[11px] text-[var(--hrk-text-primary)]",
@@ -77362,7 +77362,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
77362
77362
  const ht = Ne.target.value;
77363
77363
  if (/[,\s]/.test(ht)) {
77364
77364
  const or = ht.split(/[,\s]+/), fr = or.pop() ?? "";
77365
- or.forEach((Dr) => Dr && le(Dr)), ua(fr);
77365
+ or.forEach((Mr) => Mr && le(Mr)), ua(fr);
77366
77366
  return;
77367
77367
  }
77368
77368
  ua(ht);
@@ -77546,7 +77546,7 @@ ${Kt}`), Ne = Ej(Ne), Ne;
77546
77546
  /* @__PURE__ */ n(
77547
77547
  nD,
77548
77548
  {
77549
- isOpen: Tr,
77549
+ isOpen: Cr,
77550
77550
  onClose: () => na(!1),
77551
77551
  onSelectGif: (Ne) => {
77552
77552
  Zr(`![GIF](${Ne})`), na(!1);
@@ -77599,9 +77599,9 @@ ${Ne}
77599
77599
  sD,
77600
77600
  {
77601
77601
  isOpen: ia,
77602
- onClose: () => Or(!1),
77602
+ onClose: () => Rr(!1),
77603
77603
  onSelectEmoji: (Ne) => {
77604
- Zr(Ne), Or(!1);
77604
+ Zr(Ne), Rr(!1);
77605
77605
  }
77606
77606
  }
77607
77607
  ),
@@ -78785,7 +78785,7 @@ const Vg = /* @__PURE__ */ new Map(), v$ = ({
78785
78785
  ie === void 0 && ge(Tt), oe?.(Tt);
78786
78786
  },
78787
78787
  [ie, oe]
78788
- ), Ve = `${r}|${we}|${me}`, ct = Vg.get(Ve), [at, $t] = Q(null), [Xt, Mr] = Q(!0), [zt, St] = Q(void 0), Kt = te ?? zt;
78788
+ ), Ve = `${r}|${we}|${me}`, ct = Vg.get(Ve), [at, $t] = Q(null), [Xt, Or] = Q(!0), [zt, St] = Q(void 0), Kt = te ?? zt;
78789
78789
  Ie(() => {
78790
78790
  if (te !== void 0) return;
78791
78791
  if (!o || !r) {
@@ -78808,18 +78808,18 @@ const Vg = /* @__PURE__ */ new Map(), v$ = ({
78808
78808
  await F?.(Tt), te === void 0 && St(Tt);
78809
78809
  } catch {
78810
78810
  }
78811
- }, [o, K, Kt, F, te]), [It, Nr] = Q(() => ct?.posts ?? []), [la, xr] = Q(!1), [ha, Ca] = Q(!1), [Bt, kt] = Q(() => ct?.hasMore ?? !0), [st, et] = Q(null), [cr, Ar] = Q([]), [Zt, sa] = Q(!1), [Vr, ua] = Q(null);
78811
+ }, [o, K, Kt, F, te]), [It, Nr] = Q(() => ct?.posts ?? []), [la, xr] = Q(!1), [ha, Ca] = Q(!1), [Bt, kt] = Q(() => ct?.hasMore ?? !0), [st, et] = Q(null), [cr, Tr] = Q([]), [Zt, sa] = Q(!1), [Vr, ua] = Q(null);
78812
78812
  Ie(() => {
78813
78813
  let Tt = !1;
78814
78814
  return (async () => {
78815
78815
  try {
78816
- Mr(!0);
78816
+ Or(!0);
78817
78817
  const Je = await Ts.getCommunityDetails(r);
78818
78818
  Tt || $t(Je);
78819
78819
  } catch (Je) {
78820
78820
  console.error("Failed to fetch community details:", Je);
78821
78821
  } finally {
78822
- Tt || Mr(!1);
78822
+ Tt || Or(!1);
78823
78823
  }
78824
78824
  })(), () => {
78825
78825
  Tt = !0;
@@ -78849,7 +78849,7 @@ const Vg = /* @__PURE__ */ new Map(), v$ = ({
78849
78849
  sa(!0), ua(null);
78850
78850
  try {
78851
78851
  const Tt = await Ts.getCommunityActivities(r, 100);
78852
- Ar(
78852
+ Tr(
78853
78853
  (Tt || []).map((gr) => ({
78854
78854
  id: gr.id,
78855
78855
  type: gr.type,
@@ -81528,12 +81528,12 @@ const Kj = ({
81528
81528
  className: "space-y-2",
81529
81529
  onClick: (Re) => Re.stopPropagation(),
81530
81530
  children: Le.map((Re) => {
81531
- const Ve = Re.votes?.total_votes ?? 0, ct = tt > 0 ? Math.round(Ve / tt * 100) : 0, at = pe.includes(Re.choice_num), $t = C.includes(Re.choice_num), Xt = se && C.length >= K && !$t, Mr = De && !Xt;
81531
+ const Ve = Re.votes?.total_votes ?? 0, ct = tt > 0 ? Math.round(Ve / tt * 100) : 0, at = pe.includes(Re.choice_num), $t = C.includes(Re.choice_num), Xt = se && C.length >= K && !$t, Or = De && !Xt;
81532
81532
  let zt = "border-[var(--hrk-border-subtle)]", St = /* @__PURE__ */ n(CN, { className: "w-3.5 h-3.5 text-[var(--hrk-text-tertiary)] flex-shrink-0" }), Kt = "bg-blue-600/20";
81533
81533
  return $t ? (zt = "border-blue-500/60", St = /* @__PURE__ */ n(af, { className: "w-3.5 h-3.5 text-blue-400 flex-shrink-0" })) : at && !we ? (zt = "border-green-600/60", St = /* @__PURE__ */ n(af, { className: "w-3.5 h-3.5 text-green-500 flex-shrink-0" }), Kt = "bg-green-600/20") : at && we && (zt = "border-green-800/40", St = /* @__PURE__ */ n(af, { className: "w-3.5 h-3.5 text-green-700 flex-shrink-0" }), Kt = "bg-green-900/10"), /* @__PURE__ */ w(
81534
81534
  "div",
81535
81535
  {
81536
- className: `relative rounded-[10px] overflow-hidden border ${zt} bg-[var(--hrk-bg-surface-sunken)] transition-colors duration-150 ease-out ${Mr ? "cursor-pointer hover:border-[var(--hrk-info)]" : Xt ? "opacity-50 cursor-not-allowed" : ""}`,
81536
+ className: `relative rounded-[10px] overflow-hidden border ${zt} bg-[var(--hrk-bg-surface-sunken)] transition-colors duration-150 ease-out ${Or ? "cursor-pointer hover:border-[var(--hrk-info)]" : Xt ? "opacity-50 cursor-not-allowed" : ""}`,
81537
81537
  onClick: (Rt) => ge(Re.choice_num, Rt),
81538
81538
  children: [
81539
81539
  ct > 0 && /* @__PURE__ */ n(
@@ -81869,7 +81869,7 @@ const aH = ({
81869
81869
  onCommentClick: at,
81870
81870
  onClickSnapCommentIcon: $t,
81871
81871
  onClickSnapCommentCount: Xt,
81872
- onFavouriteList: Mr,
81872
+ onFavouriteList: Or,
81873
81873
  onAddToFavourite: zt,
81874
81874
  isFavourited: St = !1,
81875
81875
  favouriteCount: Kt = 0,
@@ -81883,11 +81883,11 @@ const aH = ({
81883
81883
  activeTab: Bt,
81884
81884
  onActiveTabChange: kt
81885
81885
  }) => {
81886
- const st = FC(), [et, cr] = Q(null), [Ar, Zt] = Q(!0), [sa, Vr] = Q(null), ua = Bt ?? (d && d.length > 0 ? d[0] : "blogs"), [Wt, re] = Q(ua), le = Bt !== void 0, he = le ? Bt : Wt, Me = Ot((ve) => {
81886
+ const st = FC(), [et, cr] = Q(null), [Tr, Zt] = Q(!0), [sa, Vr] = Q(null), ua = Bt ?? (d && d.length > 0 ? d[0] : "blogs"), [Wt, re] = Q(ua), le = Bt !== void 0, he = le ? Bt : Wt, Me = Ot((ve) => {
81887
81887
  le || re(ve), kt?.(ve);
81888
81888
  }, [le, kt]), ot = At(""), jt = At(he);
81889
81889
  jt.current = he;
81890
- const wr = At(null), [pr, Fr] = Q([]), [Tt, gr] = Q([]), [Je, Mt] = Q([]), [Dt, ft] = Q([]), [Yt, Qt] = Q([]), [Ct, Pt] = Q([]), [Ft, Ut] = Q({ totalHbd: 0, totalHpEq: 0 }), [dr, Gt] = Q([]), [Br, Ia] = Q({ totalHp: 0, totalHbd: 0 }), [oa, Lr] = Q(!1), [Gr, br] = Q([]), [Xr, jr] = Q([]), [Qr, Xn] = Q([]), [Ue, Ye] = Q([]), [dt, Ht] = Q(null), [Wr, kr] = Q(100), [mr, tr] = Q(!1), [Hr, aa] = Q(!1), [Tr, na] = Q({
81890
+ const wr = At(null), [pr, Fr] = Q([]), [Tt, gr] = Q([]), [Je, Mt] = Q([]), [Dt, ft] = Q([]), [Yt, Qt] = Q([]), [Ct, Pt] = Q([]), [Ft, Ut] = Q({ totalHbd: 0, totalHpEq: 0 }), [dr, Gt] = Q([]), [Br, Ia] = Q({ totalHp: 0, totalHbd: 0 }), [oa, Lr] = Q(!1), [Gr, br] = Q([]), [Xr, jr] = Q([]), [Qr, Xn] = Q([]), [Ue, Ye] = Q([]), [dt, Ht] = Q(null), [Wr, kr] = Q(100), [mr, tr] = Q(!1), [Hr, aa] = Q(!1), [Cr, na] = Q({
81891
81891
  blogs: !0,
81892
81892
  posts: !0,
81893
81893
  snaps: !0,
@@ -81904,7 +81904,7 @@ const aH = ({
81904
81904
  badges: !1,
81905
81905
  witnessVotes: !1,
81906
81906
  growth: !1
81907
- }), ma = 20, er = 100, va = At(null), [dn, Dn] = Q(!1), [Jr, La] = Q(!1), [vn, Wa] = Q(!1), [Ba, ia] = Q(!1), [Or, pa] = Q(null), Un = At(null), rn = At(null), [ka, Mn] = Q(!1), [$n, Wn] = Q(!1), Ja = Ot(() => {
81907
+ }), ma = 20, er = 100, va = At(null), [dn, Dn] = Q(!1), [Jr, La] = Q(!1), [vn, Wa] = Q(!1), [Ba, ia] = Q(!1), [Rr, pa] = Q(null), Un = At(null), rn = At(null), [ka, Mn] = Q(!1), [$n, Wn] = Q(!1), Ja = Ot(() => {
81908
81908
  const ve = rn.current;
81909
81909
  ve && (Mn(ve.scrollLeft > 0), Wn(ve.scrollLeft + ve.clientWidth < ve.scrollWidth - 1));
81910
81910
  }, []);
@@ -81980,26 +81980,26 @@ const aH = ({
81980
81980
  Et = Ci.some((Ma) => Ma.following === Lt), ar = Vi.some((Ma) => Ma.following === Lt);
81981
81981
  } catch {
81982
81982
  }
81983
- let Cr = null;
81983
+ let Dr = null;
81984
81984
  if (Er?.posting_json_metadata)
81985
81985
  try {
81986
- Cr = JSON.parse(Er.posting_json_metadata)?.profile;
81986
+ Dr = JSON.parse(Er.posting_json_metadata)?.profile;
81987
81987
  } catch {
81988
81988
  }
81989
- let Rr = null;
81989
+ let Sr = null;
81990
81990
  if (Er?.json_metadata)
81991
81991
  try {
81992
- Rr = JSON.parse(Er.json_metadata)?.profile;
81992
+ Sr = JSON.parse(Er.json_metadata)?.profile;
81993
81993
  } catch {
81994
81994
  }
81995
81995
  const Oa = pt.metadata?.profile, Ln = {
81996
81996
  username: pt.name,
81997
- name: Cr?.name || Rr?.name || Oa?.name,
81998
- about: Cr?.about || Rr?.about || Oa?.about,
81999
- location: Cr?.location || Rr?.location || Oa?.location,
82000
- website: Cr?.website || Rr?.website || Oa?.website,
82001
- profileImage: Cr?.profile_image || Rr?.profile_image || Oa?.profile_image,
82002
- coverImage: Cr?.cover_image || Rr?.cover_image || Oa?.cover_image,
81997
+ name: Dr?.name || Sr?.name || Oa?.name,
81998
+ about: Dr?.about || Sr?.about || Oa?.about,
81999
+ location: Dr?.location || Sr?.location || Oa?.location,
82000
+ website: Dr?.website || Sr?.website || Oa?.website,
82001
+ profileImage: Dr?.profile_image || Sr?.profile_image || Oa?.profile_image,
82002
+ coverImage: Dr?.cover_image || Sr?.cover_image || Oa?.cover_image,
82003
82003
  followersCount: pt.stats?.followers || 0,
82004
82004
  followingCount: pt.stats?.following || 0,
82005
82005
  postsCount: pt.post_count || 0,
@@ -82111,10 +82111,10 @@ const aH = ({
82111
82111
  ur.getFeedHistory(nt)
82112
82112
  ]), Er = gt?.[0];
82113
82113
  if (Er) {
82114
- const ke = (_n) => parseFloat(String(_n).split(" ")[0]) || 0, ar = (ke(Er.vesting_shares) + ke(Er.received_vesting_shares) - ke(Er.delegated_vesting_shares)) * 1e6, Cr = Math.floor(Date.now() / 1e3) - Er.voting_manabar.last_update_time;
82115
- let Rr = parseFloat(String(Er.voting_manabar.current_mana)) + Cr * ar / 432e3;
82116
- Rr > ar && (Rr = ar);
82117
- const Oa = ar > 0 ? Rr / ar * 100 : 0, Ln = ar / 4, Ci = Math.floor(Date.now() / 1e3) - Er.downvote_manabar.last_update_time;
82114
+ const ke = (_n) => parseFloat(String(_n).split(" ")[0]) || 0, ar = (ke(Er.vesting_shares) + ke(Er.received_vesting_shares) - ke(Er.delegated_vesting_shares)) * 1e6, Dr = Math.floor(Date.now() / 1e3) - Er.voting_manabar.last_update_time;
82115
+ let Sr = parseFloat(String(Er.voting_manabar.current_mana)) + Dr * ar / 432e3;
82116
+ Sr > ar && (Sr = ar);
82117
+ const Oa = ar > 0 ? Sr / ar * 100 : 0, Ln = ar / 4, Ci = Math.floor(Date.now() / 1e3) - Er.downvote_manabar.last_update_time;
82118
82118
  let Vi = parseFloat(String(Er.downvote_manabar.current_mana)) + Ci * Ln / 432e3;
82119
82119
  Vi > Ln && (Vi = Ln);
82120
82120
  const Ma = Ln > 0 ? Vi / Ln * 100 : 0;
@@ -82188,7 +82188,7 @@ const aH = ({
82188
82188
  };
82189
82189
  }, [Lt, he]);
82190
82190
  const _r = Vt(() => ca(pr), [pr, ca]), an = Vt(() => ca(Tt), [Tt, ca]), za = Vt(() => ca(Je), [Je, ca]), yn = Vt(() => ca(Dt), [Dt, ca]), ci = Vt(() => ca(Yt), [Yt, ca]), On = ["blogs", "posts", "comments", "replies", "followers", "following"], qn = Ot(async () => {
82191
- if (On.includes(he) && !(Hr || !Tr[he] || !Lt)) {
82191
+ if (On.includes(he) && !(Hr || !Cr[he] || !Lt)) {
82192
82192
  aa(!0);
82193
82193
  try {
82194
82194
  switch (he) {
@@ -82243,7 +82243,7 @@ const aH = ({
82243
82243
  aa(!1);
82244
82244
  }
82245
82245
  }
82246
- }, [he, Lt, o, Hr, Tr, pr, Tt, Je, Dt, Gr, Xr]);
82246
+ }, [he, Lt, o, Hr, Cr, pr, Tt, Je, Dt, Gr, Xr]);
82247
82247
  Ie(() => {
82248
82248
  const ve = wr.current;
82249
82249
  if (!ve) return;
@@ -82256,10 +82256,10 @@ const aH = ({
82256
82256
  };
82257
82257
  return ve.addEventListener("scroll", gt, { passive: !0 }), () => ve.removeEventListener("scroll", gt);
82258
82258
  }, [qn]), Ie(() => {
82259
- if (Hr || !Tr[he]) return;
82259
+ if (Hr || !Cr[he]) return;
82260
82260
  const ve = wr.current;
82261
82261
  ve && ve.scrollTop + ve.clientHeight >= ve.scrollHeight - 600 && qn();
82262
- }, [Hr, he, Tr, pr.length, Tt.length, Je.length, Dt.length, Gr.length, Xr.length, qn]);
82262
+ }, [Hr, he, Cr, pr.length, Tt.length, Je.length, Dt.length, Gr.length, Xr.length, qn]);
82263
82263
  const Vn = Ot(async () => {
82264
82264
  if (et) {
82265
82265
  Dn(!0), La(!1);
@@ -82320,11 +82320,11 @@ const aH = ({
82320
82320
  }, [Lt, U]), qe = Ot(() => {
82321
82321
  Ve?.(Lt);
82322
82322
  }, [Lt, Ve]), vt = Ot(async () => {
82323
- Mr && await Mr();
82324
- }, [Mr]), qt = Ot(async () => {
82323
+ Or && await Or();
82324
+ }, [Or]), qt = Ot(async () => {
82325
82325
  zt && await zt(Lt);
82326
82326
  }, [Lt, zt]);
82327
- if (Ar)
82327
+ if (Tr)
82328
82328
  return /* @__PURE__ */ w("div", { className: "dark h-full overflow-y-auto animate-pulse bg-[var(--hrk-bg-app)]", children: [
82329
82329
  /* @__PURE__ */ w("div", { className: "sticky top-0 z-30 bg-[var(--hrk-bg-app)] border-b border-[var(--hrk-border-subtle)] px-4 pb-3 pt-[calc(0.75rem+env(safe-area-inset-top))] flex items-center gap-3", children: [
82330
82330
  u && /* @__PURE__ */ n("div", { className: "w-8 h-8 bg-[var(--hrk-bg-surface-raised)] rounded-full" }),
@@ -82462,8 +82462,8 @@ const aH = ({
82462
82462
  ke.push(`${Ma.account}: ${(Ma.weight / 100).toFixed(0)}%`);
82463
82463
  }));
82464
82464
  const ar = ke.join(`
82465
- `), Cr = (Ma) => parseFloat((Ma ?? "").replace(/[^\d.]/g, "")) || 0, Rr = Cr(ve.pending_payout_value), Oa = Cr(ve.author_payout_value), Ln = Cr(ve.curator_payout_value), Ci = ve.payout && ve.payout > 0 ? ve.payout : Rr > 0 ? Rr : Oa + Ln, Vi = {
82466
- pendingValue: Rr,
82465
+ `), Dr = (Ma) => parseFloat((Ma ?? "").replace(/[^\d.]/g, "")) || 0, Sr = Dr(ve.pending_payout_value), Oa = Dr(ve.author_payout_value), Ln = Dr(ve.curator_payout_value), Ci = ve.payout && ve.payout > 0 ? ve.payout : Sr > 0 ? Sr : Oa + Ln, Vi = {
82466
+ pendingValue: Sr,
82467
82467
  authorValue: Oa,
82468
82468
  curatorValue: Ln,
82469
82469
  totalValue: Ci,
@@ -82948,7 +82948,7 @@ const aH = ({
82948
82948
  /* @__PURE__ */ n(hE, { className: "h-12 w-12 text-[var(--hrk-text-tertiary)] mx-auto mb-3" }),
82949
82949
  /* @__PURE__ */ n("p", { className: "text-[var(--hrk-text-tertiary)]", children: st("empty.votingPowerUnavailable") })
82950
82950
  ] });
82951
- const { maxMana: pt, rewardBalance: Er, recentClaims: qr, feedPrice: ke } = dt, Et = Wr, ar = 300 * 60 * 24, Cr = pt * (Et / 100) * 0.02, Rr = qr > 0 ? Cr / qr * Er : 0, Oa = Rr * ke, Ln = (100 - Et) / 100 * ar, Ci = (gn) => {
82951
+ const { maxMana: pt, rewardBalance: Er, recentClaims: qr, feedPrice: ke } = dt, Et = Wr, ar = 300 * 60 * 24, Dr = pt * (Et / 100) * 0.02, Sr = qr > 0 ? Dr / qr * Er : 0, Oa = Sr * ke, Ln = (100 - Et) / 100 * ar, Ci = (gn) => {
82952
82952
  if (gn <= 0) return st("common.fullyCharged");
82953
82953
  const zi = Math.floor(gn / 86400), di = Math.floor(gn % 86400 / 3600), En = Math.floor(gn % 3600 / 60);
82954
82954
  return zi > 0 ? `Full in ${zi} day${zi > 1 ? "s" : ""} ${di} hour${di !== 1 ? "s" : ""} ${En} minute${En !== 1 ? "s" : ""}` : di > 0 ? `Full in ${di} hour${di !== 1 ? "s" : ""} ${En} minute${En !== 1 ? "s" : ""}` : `Full in ${En} minute${En !== 1 ? "s" : ""}`;
@@ -82980,7 +82980,7 @@ const aH = ({
82980
82980
  /* @__PURE__ */ n("span", { className: "mx-1.5", children: "·" }),
82981
82981
  /* @__PURE__ */ w("span", { className: "text-[var(--hrk-text-secondary)]", children: [
82982
82982
  "~",
82983
- Vi(Rr, 3),
82983
+ Vi(Sr, 3),
82984
82984
  " HIVE"
82985
82985
  ] })
82986
82986
  ] })
@@ -83173,7 +83173,7 @@ const aH = ({
83173
83173
  ),
83174
83174
  /* @__PURE__ */ n("div", { className: "flex-1 min-w-0", children: /* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ n("h1", { className: "text-sm font-semibold text-white truncate", children: `@${Lt}` }) }) }),
83175
83175
  /* @__PURE__ */ w("div", { className: "flex items-center gap-1 flex-shrink-0", children: [
83176
- Mr && /* @__PURE__ */ w(
83176
+ Or && /* @__PURE__ */ w(
83177
83177
  "button",
83178
83178
  {
83179
83179
  onClick: vt,
@@ -83500,7 +83500,7 @@ const aH = ({
83500
83500
  ] }),
83501
83501
  /* @__PURE__ */ w("div", { className: "p-4 flex-1", children: [
83502
83502
  nn(),
83503
- he !== "wallet" && Tr[he] && /* @__PURE__ */ n("div", { ref: va, className: "min-h-[60px] py-2", children: Hr ? /* @__PURE__ */ n("div", { className: "animate-pulse space-y-3", children: he === "followers" || he === "following" ? /* @__PURE__ */ n("div", { className: "grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-3", children: [1, 2].map((ve) => /* @__PURE__ */ n("div", { className: "border border-[var(--hrk-border-subtle)] rounded-lg p-4 bg-[var(--hrk-bg-surface)]", children: /* @__PURE__ */ w("div", { className: "flex items-center gap-3", children: [
83503
+ he !== "wallet" && Cr[he] && /* @__PURE__ */ n("div", { ref: va, className: "min-h-[60px] py-2", children: Hr ? /* @__PURE__ */ n("div", { className: "animate-pulse space-y-3", children: he === "followers" || he === "following" ? /* @__PURE__ */ n("div", { className: "grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-3", children: [1, 2].map((ve) => /* @__PURE__ */ n("div", { className: "border border-[var(--hrk-border-subtle)] rounded-lg p-4 bg-[var(--hrk-bg-surface)]", children: /* @__PURE__ */ w("div", { className: "flex items-center gap-3", children: [
83504
83504
  /* @__PURE__ */ n("div", { className: "w-10 h-10 bg-[var(--hrk-bg-surface-raised)] rounded-full" }),
83505
83505
  /* @__PURE__ */ n("div", { className: "h-4 bg-[var(--hrk-bg-surface-raised)] rounded w-28" })
83506
83506
  ] }) }, ve)) }) : /* @__PURE__ */ n("div", { className: "bg-[var(--hrk-bg-surface)] rounded-xl p-4 border border-[var(--hrk-border-subtle)]", children: /* @__PURE__ */ w("div", { className: "flex gap-3", children: [
@@ -83563,19 +83563,19 @@ const aH = ({
83563
83563
  /* @__PURE__ */ n(
83564
83564
  kT,
83565
83565
  {
83566
- isOpen: !!Or,
83566
+ isOpen: !!Rr,
83567
83567
  onClose: () => pa(null),
83568
83568
  onReport: async (ve) => {
83569
- if (Or && q) {
83570
- await q(Or.author, Or.permlink, ve);
83571
- const nt = (mt) => mt.author === Or.author && mt.permlink === Or.permlink;
83569
+ if (Rr && q) {
83570
+ await q(Rr.author, Rr.permlink, ve);
83571
+ const nt = (mt) => mt.author === Rr.author && mt.permlink === Rr.permlink;
83572
83572
  Fr((mt) => mt.filter((gt) => !nt(gt))), gr((mt) => mt.filter((gt) => !nt(gt))), Mt((mt) => mt.filter((gt) => !nt(gt))), ft((mt) => mt.filter((gt) => !nt(gt))), Qt((mt) => mt.filter((gt) => !nt(gt)));
83573
83573
  }
83574
83574
  pa(null);
83575
83575
  },
83576
83576
  reportType: "post",
83577
- targetUsername: Or?.author || "",
83578
- targetPermlink: Or?.permlink
83577
+ targetUsername: Rr?.author || "",
83578
+ targetPermlink: Rr?.permlink
83579
83579
  }
83580
83580
  )
83581
83581
  ] }) });