@ethora/chat-component 25.1.15 → 25.1.17

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/main.js CHANGED
@@ -116,11 +116,11 @@ function Fm() {
116
116
  }
117
117
  return y = T, T;
118
118
  }
119
- var H = k, Q = y;
120
- if (i(H, B))
121
- return Q;
122
- var W = l(B);
123
- return u !== void 0 && u(Q, W) ? Q : (k = B, y = W, W);
119
+ var j = k, W = y;
120
+ if (i(j, B))
121
+ return W;
122
+ var Q = l(B);
123
+ return u !== void 0 && u(W, Q) ? W : (k = B, y = Q, Q);
124
124
  }, N = c === void 0 ? null : c, I = function() {
125
125
  return C(d());
126
126
  }, D = N === null ? void 0 : function() {
@@ -153,10 +153,10 @@ function Hm() {
153
153
  null
154
154
  ), process.env.NODE_ENV !== "production" && (e.displayName = "ReactRedux"), n.set(ze.createContext, e)), e;
155
155
  }
156
- var Kn = /* @__PURE__ */ Hm(), zm = () => {
156
+ var Zn = /* @__PURE__ */ Hm(), zm = () => {
157
157
  throw new Error("uSES not initialized!");
158
158
  };
159
- function zo(n = Kn) {
159
+ function zo(n = Zn) {
160
160
  return function() {
161
161
  const i = ze.useContext(n);
162
162
  if (process.env.NODE_ENV !== "production" && !i)
@@ -169,8 +169,8 @@ function zo(n = Kn) {
169
169
  var el = /* @__PURE__ */ zo(), nl = zm, Wm = (n) => {
170
170
  nl = n;
171
171
  }, Qm = (n, e) => n === e;
172
- function Ym(n = Kn) {
173
- const e = n === Kn ? el : zo(n), i = (t, r = {}) => {
172
+ function Ym(n = Zn) {
173
+ const e = n === Zn ? el : zo(n), i = (t, r = {}) => {
174
174
  const { equalityFn: s = Qm, devModeChecks: a = {} } = typeof r == "function" ? { equalityFn: r } : r;
175
175
  if (process.env.NODE_ENV !== "production") {
176
176
  if (!t)
@@ -363,12 +363,12 @@ function Km({
363
363
  f.tryUnsubscribe(), f.onStateChange = void 0;
364
364
  };
365
365
  }, [a, o]);
366
- const A = e || Kn;
366
+ const A = e || Zn;
367
367
  return /* @__PURE__ */ ze.createElement(A.Provider, { value: a }, i);
368
368
  }
369
369
  var Zm = Km;
370
- function il(n = Kn) {
371
- const e = n === Kn ? el : (
370
+ function il(n = Zn) {
371
+ const e = n === Zn ? el : (
372
372
  // @ts-ignore
373
373
  zo(n)
374
374
  ), i = () => {
@@ -380,8 +380,8 @@ function il(n = Kn) {
380
380
  }), i;
381
381
  }
382
382
  var _m = /* @__PURE__ */ il();
383
- function $m(n = Kn) {
384
- const e = n === Kn ? _m : il(n), i = () => e().dispatch;
383
+ function $m(n = Zn) {
384
+ const e = n === Zn ? _m : il(n), i = () => e().dispatch;
385
385
  return Object.assign(i, {
386
386
  withTypes: () => i
387
387
  }), i;
@@ -395,7 +395,7 @@ var eg = typeof Symbol == "function" && Symbol.observable || "@@observable", XA
395
395
  INIT: `@@redux/INIT${/* @__PURE__ */ Hs()}`,
396
396
  REPLACE: `@@redux/REPLACE${/* @__PURE__ */ Hs()}`,
397
397
  PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${Hs()}`
398
- }, li = ng;
398
+ }, ui = ng;
399
399
  function Dt(n) {
400
400
  if (typeof n != "object" || n === null)
401
401
  return !1;
@@ -508,7 +508,7 @@ function Wo(n, e, i) {
508
508
  if (typeof p != "function")
509
509
  throw new Error(process.env.NODE_ENV === "production" ? Ne(10) : `Expected the nextReducer to be a function. Instead, received: '${Hn(p)}`);
510
510
  t = p, l({
511
- type: li.REPLACE
511
+ type: ui.REPLACE
512
512
  });
513
513
  }
514
514
  function m() {
@@ -539,7 +539,7 @@ function Wo(n, e, i) {
539
539
  };
540
540
  }
541
541
  return l({
542
- type: li.INIT
542
+ type: ui.INIT
543
543
  }), {
544
544
  dispatch: l,
545
545
  subscribe: c,
@@ -556,7 +556,7 @@ function JA(n) {
556
556
  }
557
557
  }
558
558
  function ag(n, e, i, t) {
559
- const r = Object.keys(e), s = i && i.type === li.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
559
+ const r = Object.keys(e), s = i && i.type === ui.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
560
560
  if (r.length === 0)
561
561
  return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
562
562
  if (!Dt(n))
@@ -564,20 +564,20 @@ function ag(n, e, i, t) {
564
564
  const a = Object.keys(n).filter((o) => !e.hasOwnProperty(o) && !t[o]);
565
565
  if (a.forEach((o) => {
566
566
  t[o] = !0;
567
- }), !(i && i.type === li.REPLACE) && a.length > 0)
567
+ }), !(i && i.type === ui.REPLACE) && a.length > 0)
568
568
  return `Unexpected ${a.length > 1 ? "keys" : "key"} "${a.join('", "')}" found in ${s}. Expected to find one of the known reducer keys instead: "${r.join('", "')}". Unexpected keys will be ignored.`;
569
569
  }
570
570
  function og(n) {
571
571
  Object.keys(n).forEach((e) => {
572
572
  const i = n[e];
573
573
  if (typeof i(void 0, {
574
- type: li.INIT
574
+ type: ui.INIT
575
575
  }) > "u")
576
576
  throw new Error(process.env.NODE_ENV === "production" ? Ne(12) : `The slice reducer for key "${e}" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);
577
577
  if (typeof i(void 0, {
578
- type: li.PROBE_UNKNOWN_ACTION()
578
+ type: ui.PROBE_UNKNOWN_ACTION()
579
579
  }) > "u")
580
- throw new Error(process.env.NODE_ENV === "production" ? Ne(13) : `The slice reducer for key "${e}" returned undefined when probed with a random type. Don't try to handle '${li.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`);
580
+ throw new Error(process.env.NODE_ENV === "production" ? Ne(13) : `The slice reducer for key "${e}" returned undefined when probed with a random type. Don't try to handle '${ui.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`);
581
581
  });
582
582
  }
583
583
  function tl(n) {
@@ -678,7 +678,7 @@ function je(n, ...e) {
678
678
  );
679
679
  }
680
680
  var Fi = Object.getPrototypeOf;
681
- function Zn(n) {
681
+ function _n(n) {
682
682
  return !!n && !!n[We];
683
683
  }
684
684
  function Nn(n) {
@@ -720,7 +720,7 @@ function ns(n) {
720
720
  function is(n) {
721
721
  return n instanceof Set;
722
722
  }
723
- function oi(n) {
723
+ function Ai(n) {
724
724
  return n.copy_ || n.base_;
725
725
  }
726
726
  function ja(n, e) {
@@ -755,7 +755,7 @@ function ja(n, e) {
755
755
  }
756
756
  }
757
757
  function Qo(n, e = !1) {
758
- return ts(n) || Zn(n) || !Nn(n) || (es(n) > 1 && (n.set = n.add = n.clear = n.delete = lg), Object.freeze(n), e && Object.entries(n).forEach(([i, t]) => Qo(t, !0))), n;
758
+ return ts(n) || _n(n) || !Nn(n) || (es(n) > 1 && (n.set = n.add = n.clear = n.delete = lg), Object.freeze(n), e && Object.entries(n).forEach(([i, t]) => Qo(t, !0))), n;
759
759
  }
760
760
  function lg() {
761
761
  je(2);
@@ -839,10 +839,10 @@ function Or(n, e, i) {
839
839
  return t.copy_;
840
840
  }
841
841
  function ef(n, e, i, t, r, s, a) {
842
- if (process.env.NODE_ENV !== "production" && r === i && je(5), Zn(r)) {
842
+ if (process.env.NODE_ENV !== "production" && r === i && je(5), _n(r)) {
843
843
  const o = s && e && e.type_ !== 3 && // Set objects are atomic since they have no keys.
844
844
  !Ma(e.assigned_, t) ? s.concat(t) : void 0, A = Or(n, r, o);
845
- if (ol(i, t, A), Zn(A))
845
+ if (ol(i, t, A), _n(A))
846
846
  n.canAutoFreeze_ = !1;
847
847
  else
848
848
  return;
@@ -889,24 +889,24 @@ var Yo = {
889
889
  get(n, e) {
890
890
  if (e === We)
891
891
  return n;
892
- const i = oi(n);
892
+ const i = Ai(n);
893
893
  if (!Ma(i, e))
894
894
  return pg(n, i, e);
895
895
  const t = i[e];
896
896
  return n.finalized_ || !Nn(t) ? t : t === zs(n.base_, e) ? (Ws(n), n.copy_[e] = Ha(t, n)) : t;
897
897
  },
898
898
  has(n, e) {
899
- return e in oi(n);
899
+ return e in Ai(n);
900
900
  },
901
901
  ownKeys(n) {
902
- return Reflect.ownKeys(oi(n));
902
+ return Reflect.ownKeys(Ai(n));
903
903
  },
904
904
  set(n, e, i) {
905
- const t = fl(oi(n), e);
905
+ const t = fl(Ai(n), e);
906
906
  if (t != null && t.set)
907
907
  return t.set.call(n.draft_, i), !0;
908
908
  if (!n.modified_) {
909
- const r = zs(oi(n), e), s = r == null ? void 0 : r[We];
909
+ const r = zs(Ai(n), e), s = r == null ? void 0 : r[We];
910
910
  if (s && s.base_ === i)
911
911
  return n.copy_[e] = i, n.assigned_[e] = !1, !0;
912
912
  if (cg(i, r) && (i !== void 0 || Ma(n.base_, e)))
@@ -923,7 +923,7 @@ var Yo = {
923
923
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
924
924
  // the same guarantee in ES5 mode.
925
925
  getOwnPropertyDescriptor(n, e) {
926
- const i = oi(n), t = Reflect.getOwnPropertyDescriptor(i, e);
926
+ const i = Ai(n), t = Reflect.getOwnPropertyDescriptor(i, e);
927
927
  return t && {
928
928
  writable: !0,
929
929
  configurable: n.type_ !== 1 || e !== "length",
@@ -954,7 +954,7 @@ pt.set = function(n, e, i) {
954
954
  };
955
955
  function zs(n, e) {
956
956
  const i = n[We];
957
- return (i ? oi(i) : n)[e];
957
+ return (i ? Ai(i) : n)[e];
958
958
  }
959
959
  function pg(n, e, i) {
960
960
  var r;
@@ -1025,7 +1025,7 @@ var vg = class {
1025
1025
  }, typeof (n == null ? void 0 : n.autoFreeze) == "boolean" && this.setAutoFreeze(n.autoFreeze), typeof (n == null ? void 0 : n.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(n.useStrictShallowCopy);
1026
1026
  }
1027
1027
  createDraft(n) {
1028
- Nn(n) || je(8), Zn(n) && (n = dl(n));
1028
+ Nn(n) || je(8), _n(n) && (n = dl(n));
1029
1029
  const e = _A(this), i = Ha(n, void 0);
1030
1030
  return i[We].isManual_ = !0, Fa(e), i;
1031
1031
  }
@@ -1062,7 +1062,7 @@ var vg = class {
1062
1062
  }
1063
1063
  i > -1 && (e = e.slice(i + 1));
1064
1064
  const t = wi("Patches").applyPatches_;
1065
- return Zn(n) ? t(n, e) : this.produce(
1065
+ return _n(n) ? t(n, e) : this.produce(
1066
1066
  n,
1067
1067
  (r) => t(r, e)
1068
1068
  );
@@ -1073,7 +1073,7 @@ function Ha(n, e) {
1073
1073
  return (e ? e.scope_ : Al()).drafts_.push(i), i;
1074
1074
  }
1075
1075
  function dl(n) {
1076
- return Zn(n) || je(10, n), cl(n);
1076
+ return _n(n) || je(10, n), cl(n);
1077
1077
  }
1078
1078
  function cl(n) {
1079
1079
  if (!Nn(n) || ts(n))
@@ -1343,7 +1343,7 @@ function hl(n) {
1343
1343
  }
1344
1344
  var Pg = hl(), Tg = hl, Mg = (...n) => {
1345
1345
  const e = ul(...n), i = Object.assign((...t) => {
1346
- const r = e(...t), s = (a, ...o) => r(Zn(a) ? dl(a) : a, ...o);
1346
+ const r = e(...t), s = (a, ...o) => r(_n(a) ? dl(a) : a, ...o);
1347
1347
  return Object.assign(s, r), s;
1348
1348
  }, {
1349
1349
  withTypes: () => i
@@ -1782,7 +1782,7 @@ function Zg(n, e) {
1782
1782
  }) => d)];
1783
1783
  return f.filter((d) => !!d).length === 0 && (f = [r]), f.reduce((d, c) => {
1784
1784
  if (c)
1785
- if (Zn(d)) {
1785
+ if (_n(d)) {
1786
1786
  const u = c(d, A);
1787
1787
  return u === void 0 ? d : u;
1788
1788
  } else {
@@ -2408,10 +2408,10 @@ const bp = {
2408
2408
  setRoomMessages: Vx,
2409
2409
  addRoomMessage: Il,
2410
2410
  deleteRoomMessage: Nl,
2411
- setEditAction: _n,
2411
+ setEditAction: $n,
2412
2412
  editRoomMessage: xp,
2413
2413
  setComposing: Ep,
2414
- setIsLoading: ui,
2414
+ setIsLoading: qn,
2415
2415
  setLastViewedTimestamp: Wa,
2416
2416
  setRoomNoMessages: Ux,
2417
2417
  setCurrentRoom: $e,
@@ -2896,7 +2896,7 @@ const ov = {}, Av = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2896
2896
  default: ov
2897
2897
  }, Symbol.toStringTag, { value: "Module" })), zi = /* @__PURE__ */ jm(Av);
2898
2898
  var hf;
2899
- function ei() {
2899
+ function ni() {
2900
2900
  return hf || (hf = 1, function(n, e) {
2901
2901
  (function(i, t) {
2902
2902
  n.exports = t();
@@ -3400,7 +3400,7 @@ var Vs = { exports: {} }, mf;
3400
3400
  function fv() {
3401
3401
  return mf || (mf = 1, function(n, e) {
3402
3402
  (function(i, t) {
3403
- n.exports = t(ei());
3403
+ n.exports = t(ni());
3404
3404
  })(He, function(i) {
3405
3405
  return function() {
3406
3406
  var t = i, r = t.lib, s = r.WordArray, a = t.enc;
@@ -3475,7 +3475,7 @@ var Us = { exports: {} }, gf;
3475
3475
  function dv() {
3476
3476
  return gf || (gf = 1, function(n, e) {
3477
3477
  (function(i, t) {
3478
- n.exports = t(ei());
3478
+ n.exports = t(ni());
3479
3479
  })(He, function(i) {
3480
3480
  return function(t) {
3481
3481
  var r = i, s = r.lib, a = s.WordArray, o = s.Hasher, A = r.algo, f = [];
@@ -3497,8 +3497,8 @@ function dv() {
3497
3497
  var g = p + b, v = w[g];
3498
3498
  w[g] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
3499
3499
  }
3500
- var x = this._hash.words, k = w[p + 0], y = w[p + 1], C = w[p + 2], N = w[p + 3], I = w[p + 4], D = w[p + 5], B = w[p + 6], T = w[p + 7], E = w[p + 8], H = w[p + 9], Q = w[p + 10], W = w[p + 11], V = w[p + 12], ee = w[p + 13], q = w[p + 14], L = w[p + 15], P = x[0], M = x[1], F = x[2], j = x[3];
3501
- P = c(P, M, F, j, k, 7, f[0]), j = c(j, P, M, F, y, 12, f[1]), F = c(F, j, P, M, C, 17, f[2]), M = c(M, F, j, P, N, 22, f[3]), P = c(P, M, F, j, I, 7, f[4]), j = c(j, P, M, F, D, 12, f[5]), F = c(F, j, P, M, B, 17, f[6]), M = c(M, F, j, P, T, 22, f[7]), P = c(P, M, F, j, E, 7, f[8]), j = c(j, P, M, F, H, 12, f[9]), F = c(F, j, P, M, Q, 17, f[10]), M = c(M, F, j, P, W, 22, f[11]), P = c(P, M, F, j, V, 7, f[12]), j = c(j, P, M, F, ee, 12, f[13]), F = c(F, j, P, M, q, 17, f[14]), M = c(M, F, j, P, L, 22, f[15]), P = l(P, M, F, j, y, 5, f[16]), j = l(j, P, M, F, B, 9, f[17]), F = l(F, j, P, M, W, 14, f[18]), M = l(M, F, j, P, k, 20, f[19]), P = l(P, M, F, j, D, 5, f[20]), j = l(j, P, M, F, Q, 9, f[21]), F = l(F, j, P, M, L, 14, f[22]), M = l(M, F, j, P, I, 20, f[23]), P = l(P, M, F, j, H, 5, f[24]), j = l(j, P, M, F, q, 9, f[25]), F = l(F, j, P, M, N, 14, f[26]), M = l(M, F, j, P, E, 20, f[27]), P = l(P, M, F, j, ee, 5, f[28]), j = l(j, P, M, F, C, 9, f[29]), F = l(F, j, P, M, T, 14, f[30]), M = l(M, F, j, P, V, 20, f[31]), P = u(P, M, F, j, D, 4, f[32]), j = u(j, P, M, F, E, 11, f[33]), F = u(F, j, P, M, W, 16, f[34]), M = u(M, F, j, P, q, 23, f[35]), P = u(P, M, F, j, y, 4, f[36]), j = u(j, P, M, F, I, 11, f[37]), F = u(F, j, P, M, T, 16, f[38]), M = u(M, F, j, P, Q, 23, f[39]), P = u(P, M, F, j, ee, 4, f[40]), j = u(j, P, M, F, k, 11, f[41]), F = u(F, j, P, M, N, 16, f[42]), M = u(M, F, j, P, B, 23, f[43]), P = u(P, M, F, j, H, 4, f[44]), j = u(j, P, M, F, V, 11, f[45]), F = u(F, j, P, M, L, 16, f[46]), M = u(M, F, j, P, C, 23, f[47]), P = m(P, M, F, j, k, 6, f[48]), j = m(j, P, M, F, T, 10, f[49]), F = m(F, j, P, M, q, 15, f[50]), M = m(M, F, j, P, D, 21, f[51]), P = m(P, M, F, j, V, 6, f[52]), j = m(j, P, M, F, N, 10, f[53]), F = m(F, j, P, M, Q, 15, f[54]), M = m(M, F, j, P, y, 21, f[55]), P = m(P, M, F, j, E, 6, f[56]), j = m(j, P, M, F, L, 10, f[57]), F = m(F, j, P, M, B, 15, f[58]), M = m(M, F, j, P, ee, 21, f[59]), P = m(P, M, F, j, I, 6, f[60]), j = m(j, P, M, F, W, 10, f[61]), F = m(F, j, P, M, C, 15, f[62]), M = m(M, F, j, P, H, 21, f[63]), x[0] = x[0] + P | 0, x[1] = x[1] + M | 0, x[2] = x[2] + F | 0, x[3] = x[3] + j | 0;
3500
+ var x = this._hash.words, k = w[p + 0], y = w[p + 1], C = w[p + 2], N = w[p + 3], I = w[p + 4], D = w[p + 5], B = w[p + 6], T = w[p + 7], E = w[p + 8], j = w[p + 9], W = w[p + 10], Q = w[p + 11], q = w[p + 12], $ = w[p + 13], V = w[p + 14], L = w[p + 15], P = x[0], M = x[1], H = x[2], R = x[3];
3501
+ P = c(P, M, H, R, k, 7, f[0]), R = c(R, P, M, H, y, 12, f[1]), H = c(H, R, P, M, C, 17, f[2]), M = c(M, H, R, P, N, 22, f[3]), P = c(P, M, H, R, I, 7, f[4]), R = c(R, P, M, H, D, 12, f[5]), H = c(H, R, P, M, B, 17, f[6]), M = c(M, H, R, P, T, 22, f[7]), P = c(P, M, H, R, E, 7, f[8]), R = c(R, P, M, H, j, 12, f[9]), H = c(H, R, P, M, W, 17, f[10]), M = c(M, H, R, P, Q, 22, f[11]), P = c(P, M, H, R, q, 7, f[12]), R = c(R, P, M, H, $, 12, f[13]), H = c(H, R, P, M, V, 17, f[14]), M = c(M, H, R, P, L, 22, f[15]), P = l(P, M, H, R, y, 5, f[16]), R = l(R, P, M, H, B, 9, f[17]), H = l(H, R, P, M, Q, 14, f[18]), M = l(M, H, R, P, k, 20, f[19]), P = l(P, M, H, R, D, 5, f[20]), R = l(R, P, M, H, W, 9, f[21]), H = l(H, R, P, M, L, 14, f[22]), M = l(M, H, R, P, I, 20, f[23]), P = l(P, M, H, R, j, 5, f[24]), R = l(R, P, M, H, V, 9, f[25]), H = l(H, R, P, M, N, 14, f[26]), M = l(M, H, R, P, E, 20, f[27]), P = l(P, M, H, R, $, 5, f[28]), R = l(R, P, M, H, C, 9, f[29]), H = l(H, R, P, M, T, 14, f[30]), M = l(M, H, R, P, q, 20, f[31]), P = u(P, M, H, R, D, 4, f[32]), R = u(R, P, M, H, E, 11, f[33]), H = u(H, R, P, M, Q, 16, f[34]), M = u(M, H, R, P, V, 23, f[35]), P = u(P, M, H, R, y, 4, f[36]), R = u(R, P, M, H, I, 11, f[37]), H = u(H, R, P, M, T, 16, f[38]), M = u(M, H, R, P, W, 23, f[39]), P = u(P, M, H, R, $, 4, f[40]), R = u(R, P, M, H, k, 11, f[41]), H = u(H, R, P, M, N, 16, f[42]), M = u(M, H, R, P, B, 23, f[43]), P = u(P, M, H, R, j, 4, f[44]), R = u(R, P, M, H, q, 11, f[45]), H = u(H, R, P, M, L, 16, f[46]), M = u(M, H, R, P, C, 23, f[47]), P = m(P, M, H, R, k, 6, f[48]), R = m(R, P, M, H, T, 10, f[49]), H = m(H, R, P, M, V, 15, f[50]), M = m(M, H, R, P, D, 21, f[51]), P = m(P, M, H, R, q, 6, f[52]), R = m(R, P, M, H, N, 10, f[53]), H = m(H, R, P, M, W, 15, f[54]), M = m(M, H, R, P, y, 21, f[55]), P = m(P, M, H, R, E, 6, f[56]), R = m(R, P, M, H, L, 10, f[57]), H = m(H, R, P, M, B, 15, f[58]), M = m(M, H, R, P, $, 21, f[59]), P = m(P, M, H, R, I, 6, f[60]), R = m(R, P, M, H, Q, 10, f[61]), H = m(H, R, P, M, C, 15, f[62]), M = m(M, H, R, P, j, 21, f[63]), x[0] = x[0] + P | 0, x[1] = x[1] + M | 0, x[2] = x[2] + H | 0, x[3] = x[3] + R | 0;
3502
3502
  },
3503
3503
  _doFinalize: function() {
3504
3504
  var w = this._data, p = w.words, b = this._nDataBytes * 8, g = w.sigBytes * 8;
@@ -3541,7 +3541,7 @@ var Xs = { exports: {} }, Js = { exports: {} }, pf;
3541
3541
  function cv() {
3542
3542
  return pf || (pf = 1, function(n, e) {
3543
3543
  (function(i, t) {
3544
- n.exports = t(ei());
3544
+ n.exports = t(ni());
3545
3545
  })(He, function(i) {
3546
3546
  return function() {
3547
3547
  var t = i, r = t.lib, s = r.WordArray, a = r.Hasher, o = t.algo, A = [], f = o.SHA1 = a.extend({
@@ -3585,7 +3585,7 @@ var Ks = { exports: {} }, vf;
3585
3585
  function lv() {
3586
3586
  return vf || (vf = 1, function(n, e) {
3587
3587
  (function(i, t) {
3588
- n.exports = t(ei());
3588
+ n.exports = t(ni());
3589
3589
  })(He, function(i) {
3590
3590
  (function() {
3591
3591
  var t = i, r = t.lib, s = r.Base, a = t.enc, o = a.Utf8, A = t.algo;
@@ -3663,7 +3663,7 @@ var wf;
3663
3663
  function zl() {
3664
3664
  return wf || (wf = 1, function(n, e) {
3665
3665
  (function(i, t, r) {
3666
- n.exports = t(ei(), cv(), lv());
3666
+ n.exports = t(ni(), cv(), lv());
3667
3667
  })(He, function(i) {
3668
3668
  return function() {
3669
3669
  var t = i, r = t.lib, s = r.Base, a = r.WordArray, o = t.algo, A = o.MD5, f = o.EvpKDF = s.extend({
@@ -3726,7 +3726,7 @@ var Zs = { exports: {} }, bf;
3726
3726
  function uv() {
3727
3727
  return bf || (bf = 1, function(n, e) {
3728
3728
  (function(i, t, r) {
3729
- n.exports = t(ei(), zl());
3729
+ n.exports = t(ni(), zl());
3730
3730
  })(He, function(i) {
3731
3731
  i.lib.Cipher || function(t) {
3732
3732
  var r = i, s = r.lib, a = s.Base, o = s.WordArray, A = s.BufferedBlockAlgorithm, f = r.enc;
@@ -3853,11 +3853,11 @@ function uv() {
3853
3853
  }
3854
3854
  return function(B) {
3855
3855
  return {
3856
- encrypt: function(T, E, H) {
3857
- return D(E).encrypt(B, T, E, H);
3856
+ encrypt: function(T, E, j) {
3857
+ return D(E).encrypt(B, T, E, j);
3858
3858
  },
3859
- decrypt: function(T, E, H) {
3860
- return D(E).decrypt(B, T, E, H);
3859
+ decrypt: function(T, E, j) {
3860
+ return D(E).decrypt(B, T, E, j);
3861
3861
  }
3862
3862
  };
3863
3863
  };
@@ -3928,8 +3928,8 @@ function uv() {
3928
3928
  * mode.processBlock(data.words, offset);
3929
3929
  */
3930
3930
  processBlock: function(T, E) {
3931
- var H = this._cipher, Q = H.blockSize;
3932
- B.call(this, T, E, Q), H.encryptBlock(T, E), this._prevBlock = T.slice(E, E + Q);
3931
+ var j = this._cipher, W = j.blockSize;
3932
+ B.call(this, T, E, W), j.encryptBlock(T, E), this._prevBlock = T.slice(E, E + W);
3933
3933
  }
3934
3934
  }), D.Decryptor = D.extend({
3935
3935
  /**
@@ -3943,15 +3943,15 @@ function uv() {
3943
3943
  * mode.processBlock(data.words, offset);
3944
3944
  */
3945
3945
  processBlock: function(T, E) {
3946
- var H = this._cipher, Q = H.blockSize, W = T.slice(E, E + Q);
3947
- H.decryptBlock(T, E), B.call(this, T, E, Q), this._prevBlock = W;
3946
+ var j = this._cipher, W = j.blockSize, Q = T.slice(E, E + W);
3947
+ j.decryptBlock(T, E), B.call(this, T, E, W), this._prevBlock = Q;
3948
3948
  }
3949
3949
  });
3950
- function B(T, E, H) {
3951
- var Q, W = this._iv;
3952
- W ? (Q = W, this._iv = t) : Q = this._prevBlock;
3953
- for (var V = 0; V < H; V++)
3954
- T[E + V] ^= Q[V];
3950
+ function B(T, E, j) {
3951
+ var W, Q = this._iv;
3952
+ Q ? (W = Q, this._iv = t) : W = this._prevBlock;
3953
+ for (var q = 0; q < j; q++)
3954
+ T[E + q] ^= W[q];
3955
3955
  }
3956
3956
  return D;
3957
3957
  }(), b = r.pad = {}, g = b.Pkcs7 = {
@@ -3968,10 +3968,10 @@ function uv() {
3968
3968
  * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
3969
3969
  */
3970
3970
  pad: function(D, B) {
3971
- for (var T = B * 4, E = T - D.sigBytes % T, H = E << 24 | E << 16 | E << 8 | E, Q = [], W = 0; W < E; W += 4)
3972
- Q.push(H);
3973
- var V = o.create(Q, E);
3974
- D.concat(V);
3971
+ for (var T = B * 4, E = T - D.sigBytes % T, j = E << 24 | E << 16 | E << 8 | E, W = [], Q = 0; Q < E; Q += 4)
3972
+ W.push(j);
3973
+ var q = o.create(W, E);
3974
+ D.concat(q);
3975
3975
  },
3976
3976
  /**
3977
3977
  * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
@@ -4120,14 +4120,14 @@ function uv() {
4120
4120
  */
4121
4121
  encrypt: function(D, B, T, E) {
4122
4122
  E = this.cfg.extend(E);
4123
- var H = D.createEncryptor(T, E), Q = H.finalize(B), W = H.cfg;
4123
+ var j = D.createEncryptor(T, E), W = j.finalize(B), Q = j.cfg;
4124
4124
  return v.create({
4125
- ciphertext: Q,
4125
+ ciphertext: W,
4126
4126
  key: T,
4127
- iv: W.iv,
4127
+ iv: Q.iv,
4128
4128
  algorithm: D,
4129
- mode: W.mode,
4130
- padding: W.padding,
4129
+ mode: Q.mode,
4130
+ padding: Q.padding,
4131
4131
  blockSize: D.blockSize,
4132
4132
  formatter: E.format
4133
4133
  });
@@ -4151,8 +4151,8 @@ function uv() {
4151
4151
  */
4152
4152
  decrypt: function(D, B, T, E) {
4153
4153
  E = this.cfg.extend(E), B = this._parse(B, E.format);
4154
- var H = D.createDecryptor(T, E).finalize(B.ciphertext);
4155
- return H;
4154
+ var j = D.createDecryptor(T, E).finalize(B.ciphertext);
4155
+ return j;
4156
4156
  },
4157
4157
  /**
4158
4158
  * Converts serialized ciphertext to CipherParams,
@@ -4190,13 +4190,13 @@ function uv() {
4190
4190
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
4191
4191
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
4192
4192
  */
4193
- execute: function(D, B, T, E, H) {
4194
- if (E || (E = o.random(64 / 8)), H)
4195
- var Q = l.create({ keySize: B + T, hasher: H }).compute(D, E);
4193
+ execute: function(D, B, T, E, j) {
4194
+ if (E || (E = o.random(64 / 8)), j)
4195
+ var W = l.create({ keySize: B + T, hasher: j }).compute(D, E);
4196
4196
  else
4197
- var Q = l.create({ keySize: B + T }).compute(D, E);
4198
- var W = o.create(Q.words.slice(B), T * 4);
4199
- return Q.sigBytes = B * 4, v.create({ key: Q, iv: W, salt: E });
4197
+ var W = l.create({ keySize: B + T }).compute(D, E);
4198
+ var Q = o.create(W.words.slice(B), T * 4);
4199
+ return W.sigBytes = B * 4, v.create({ key: W, iv: Q, salt: E });
4200
4200
  }
4201
4201
  }, I = s.PasswordBasedCipher = y.extend({
4202
4202
  /**
@@ -4226,10 +4226,10 @@ function uv() {
4226
4226
  */
4227
4227
  encrypt: function(D, B, T, E) {
4228
4228
  E = this.cfg.extend(E);
4229
- var H = E.kdf.execute(T, D.keySize, D.ivSize, E.salt, E.hasher);
4230
- E.iv = H.iv;
4231
- var Q = y.encrypt.call(this, D, B, H.key, E);
4232
- return Q.mixIn(H), Q;
4229
+ var j = E.kdf.execute(T, D.keySize, D.ivSize, E.salt, E.hasher);
4230
+ E.iv = j.iv;
4231
+ var W = y.encrypt.call(this, D, B, j.key, E);
4232
+ return W.mixIn(j), W;
4233
4233
  },
4234
4234
  /**
4235
4235
  * Decrypts serialized ciphertext using a password.
@@ -4250,10 +4250,10 @@ function uv() {
4250
4250
  */
4251
4251
  decrypt: function(D, B, T, E) {
4252
4252
  E = this.cfg.extend(E), B = this._parse(B, E.format);
4253
- var H = E.kdf.execute(T, D.keySize, D.ivSize, B.salt, E.hasher);
4254
- E.iv = H.iv;
4255
- var Q = y.decrypt.call(this, D, B, H.key, E);
4256
- return Q;
4253
+ var j = E.kdf.execute(T, D.keySize, D.ivSize, B.salt, E.hasher);
4254
+ E.iv = j.iv;
4255
+ var W = y.decrypt.call(this, D, B, j.key, E);
4256
+ return W;
4257
4257
  }
4258
4258
  });
4259
4259
  }();
@@ -4262,7 +4262,7 @@ function uv() {
4262
4262
  }
4263
4263
  (function(n, e) {
4264
4264
  (function(i, t, r) {
4265
- n.exports = t(ei(), fv(), dv(), zl(), uv());
4265
+ n.exports = t(ni(), fv(), dv(), zl(), uv());
4266
4266
  })(He, function(i) {
4267
4267
  return function() {
4268
4268
  var t = i, r = t.lib, s = r.BlockCipher, a = t.algo, o = [], A = [], f = [], d = [], c = [], l = [], u = [], m = [], w = [], p = [];
@@ -4304,12 +4304,12 @@ function uv() {
4304
4304
  v[x + 1] = v[x + 3], v[x + 3] = k;
4305
4305
  },
4306
4306
  _doCryptBlock: function(v, x, k, y, C, N, I, D) {
4307
- for (var B = this._nRounds, T = v[x] ^ k[0], E = v[x + 1] ^ k[1], H = v[x + 2] ^ k[2], Q = v[x + 3] ^ k[3], W = 4, V = 1; V < B; V++) {
4308
- var ee = y[T >>> 24] ^ C[E >>> 16 & 255] ^ N[H >>> 8 & 255] ^ I[Q & 255] ^ k[W++], q = y[E >>> 24] ^ C[H >>> 16 & 255] ^ N[Q >>> 8 & 255] ^ I[T & 255] ^ k[W++], L = y[H >>> 24] ^ C[Q >>> 16 & 255] ^ N[T >>> 8 & 255] ^ I[E & 255] ^ k[W++], P = y[Q >>> 24] ^ C[T >>> 16 & 255] ^ N[E >>> 8 & 255] ^ I[H & 255] ^ k[W++];
4309
- T = ee, E = q, H = L, Q = P;
4307
+ for (var B = this._nRounds, T = v[x] ^ k[0], E = v[x + 1] ^ k[1], j = v[x + 2] ^ k[2], W = v[x + 3] ^ k[3], Q = 4, q = 1; q < B; q++) {
4308
+ var $ = y[T >>> 24] ^ C[E >>> 16 & 255] ^ N[j >>> 8 & 255] ^ I[W & 255] ^ k[Q++], V = y[E >>> 24] ^ C[j >>> 16 & 255] ^ N[W >>> 8 & 255] ^ I[T & 255] ^ k[Q++], L = y[j >>> 24] ^ C[W >>> 16 & 255] ^ N[T >>> 8 & 255] ^ I[E & 255] ^ k[Q++], P = y[W >>> 24] ^ C[T >>> 16 & 255] ^ N[E >>> 8 & 255] ^ I[j & 255] ^ k[Q++];
4309
+ T = $, E = V, j = L, W = P;
4310
4310
  }
4311
- var ee = (D[T >>> 24] << 24 | D[E >>> 16 & 255] << 16 | D[H >>> 8 & 255] << 8 | D[Q & 255]) ^ k[W++], q = (D[E >>> 24] << 24 | D[H >>> 16 & 255] << 16 | D[Q >>> 8 & 255] << 8 | D[T & 255]) ^ k[W++], L = (D[H >>> 24] << 24 | D[Q >>> 16 & 255] << 16 | D[T >>> 8 & 255] << 8 | D[E & 255]) ^ k[W++], P = (D[Q >>> 24] << 24 | D[T >>> 16 & 255] << 16 | D[E >>> 8 & 255] << 8 | D[H & 255]) ^ k[W++];
4312
- v[x] = ee, v[x + 1] = q, v[x + 2] = L, v[x + 3] = P;
4311
+ var $ = (D[T >>> 24] << 24 | D[E >>> 16 & 255] << 16 | D[j >>> 8 & 255] << 8 | D[W & 255]) ^ k[Q++], V = (D[E >>> 24] << 24 | D[j >>> 16 & 255] << 16 | D[W >>> 8 & 255] << 8 | D[T & 255]) ^ k[Q++], L = (D[j >>> 24] << 24 | D[W >>> 16 & 255] << 16 | D[T >>> 8 & 255] << 8 | D[E & 255]) ^ k[Q++], P = (D[W >>> 24] << 24 | D[T >>> 16 & 255] << 16 | D[E >>> 8 & 255] << 8 | D[j & 255]) ^ k[Q++];
4312
+ v[x] = $, v[x + 1] = V, v[x + 2] = L, v[x + 3] = P;
4313
4313
  },
4314
4314
  keySize: 256 / 32
4315
4315
  });
@@ -4319,7 +4319,7 @@ function uv() {
4319
4319
  })(Hl);
4320
4320
  var hv = Hl.exports;
4321
4321
  const yf = /* @__PURE__ */ Ho(hv);
4322
- var mv = ei();
4322
+ var mv = ni();
4323
4323
  const gv = /* @__PURE__ */ Ho(mv);
4324
4324
  var Ga = { exports: {} };
4325
4325
  (function(n, e) {
@@ -4817,8 +4817,8 @@ Tn.exports.detectEscape = eA.detect;
4817
4817
  Tn.exports.escapeLocal = eA.escape;
4818
4818
  Tn.exports.unescapeLocal = eA.unescape;
4819
4819
  Tn.exports.parse = $l;
4820
- var ds = Tn.exports, nu = { exports: {} }, ni = {};
4821
- Object.defineProperty(ni, "__esModule", { value: !0 });
4820
+ var ds = Tn.exports, nu = { exports: {} }, ii = {};
4821
+ Object.defineProperty(ii, "__esModule", { value: !0 });
4822
4822
  const Jv = {
4823
4823
  "&": "&amp;",
4824
4824
  "<": "&lt;",
@@ -4862,11 +4862,11 @@ function _v(n) {
4862
4862
  function $v(n) {
4863
4863
  return n.replace(/&(amp|#38|lt|#60|gt|#62);/g, tu);
4864
4864
  }
4865
- ni.escapeXML = Kv;
4866
- ni.escapeXMLText = _v;
4867
- ni.unescapeXML = Zv;
4868
- ni.unescapeXMLText = $v;
4869
- var $s = ni;
4865
+ ii.escapeXML = Kv;
4866
+ ii.escapeXMLText = _v;
4867
+ ii.unescapeXML = Zv;
4868
+ ii.unescapeXMLText = $v;
4869
+ var $s = ii;
4870
4870
  let qa = class Va {
4871
4871
  constructor(e, i) {
4872
4872
  this.name = e, this.parent = null, this.children = [], this.attrs = {}, this.setAttrs(i);
@@ -5075,12 +5075,12 @@ function n0(n, e, ...i) {
5075
5075
  ru(t, r);
5076
5076
  return t;
5077
5077
  }
5078
- var i0 = n0, t0 = fs, Ef = ni;
5079
- const ri = 0, ea = 1, Bf = 2, Df = 3, na = 4, If = 5, Nf = 6, Sf = 7, ia = 8, Of = 9, r0 = 10;
5078
+ var i0 = n0, t0 = fs, Ef = ii;
5079
+ const si = 0, ea = 1, Bf = 2, Df = 3, na = 4, If = 5, Nf = 6, Sf = 7, ia = 8, Of = 9, r0 = 10;
5080
5080
  class s0 extends t0.EventEmitter {
5081
5081
  constructor() {
5082
5082
  super();
5083
- let e = ri, i, t, r, s, a, o, A, f, d = 0, c;
5083
+ let e = si, i, t, r, s, a, o, A, f, d = 0, c;
5084
5084
  this._handleTagOpening = function(u, m, w) {
5085
5085
  u ? this.emit("endElement", m) : (this.emit("startElement", m, w), o && this.emit("endElement", m));
5086
5086
  }, this.write = function(u) {
@@ -5095,7 +5095,7 @@ class s0 extends t0.EventEmitter {
5095
5095
  }
5096
5096
  for (; m < u.length; m++) {
5097
5097
  switch (e) {
5098
- case ri: {
5098
+ case si: {
5099
5099
  const b = u.indexOf("<", m);
5100
5100
  b !== -1 && m !== b && (m = b);
5101
5101
  break;
@@ -5118,7 +5118,7 @@ class s0 extends t0.EventEmitter {
5118
5118
  }
5119
5119
  const p = u.charCodeAt(m);
5120
5120
  switch (e) {
5121
- case ri:
5121
+ case si:
5122
5122
  if (p === 60) {
5123
5123
  const b = w();
5124
5124
  b && this.emit("text", Ef.unescapeXML(b)), e = Df, d = m + 1, s = {};
@@ -5128,7 +5128,7 @@ class s0 extends t0.EventEmitter {
5128
5128
  if (p === 93)
5129
5129
  if (u.substr(m + 1, 2) === "]>") {
5130
5130
  const b = w();
5131
- b && this.emit("text", b), e = ri;
5131
+ b && this.emit("text", b), e = si;
5132
5132
  } else u.length < m + 2 && (t = !0, m = u.length);
5133
5133
  break;
5134
5134
  case Df:
@@ -5137,14 +5137,14 @@ class s0 extends t0.EventEmitter {
5137
5137
  case ea:
5138
5138
  if (p === 62) {
5139
5139
  const b = u.charCodeAt(m - 1), g = u.charCodeAt(m - 2);
5140
- (b === 45 && g === 45 || b === 93 && g === 93) && (e = ri);
5140
+ (b === 45 && g === 45 || b === 93 && g === 93) && (e = si);
5141
5141
  }
5142
5142
  break;
5143
5143
  case Bf:
5144
- p === 62 && u.charCodeAt(m - 1) === 63 && (e = ri);
5144
+ p === 62 && u.charCodeAt(m - 1) === 63 && (e = si);
5145
5145
  break;
5146
5146
  case na:
5147
- p === 62 ? (this._handleTagOpening(a, r, s), r = void 0, s = void 0, a = void 0, o = void 0, e = ri, d = m + 1) : p === 47 ? o = !0 : p > 32 && (d = m, e = If);
5147
+ p === 62 ? (this._handleTagOpening(a, r, s), r = void 0, s = void 0, a = void 0, o = void 0, e = si, d = m + 1) : p === 47 ? o = !0 : p > 32 && (d = m, e = If);
5148
5148
  break;
5149
5149
  case If:
5150
5150
  (p <= 32 || p === 61) && (c = w(), m--, e = Nf);
@@ -5226,7 +5226,7 @@ var ou = au;
5226
5226
  unescapeXML: s,
5227
5227
  escapeXMLText: a,
5228
5228
  unescapeXMLText: o
5229
- } = ni, A = su;
5229
+ } = ii, A = su;
5230
5230
  function f(...d) {
5231
5231
  return i(...d);
5232
5232
  }
@@ -5281,7 +5281,7 @@ var u0 = l0, Au = { exports: {} };
5281
5281
  Object.assign(n.exports, { parseURI: e, parseHost: i, parseService: t });
5282
5282
  })(Au);
5283
5283
  var h0 = Au.exports;
5284
- const { EventEmitter: m0, promise: si } = sn, g0 = ds, ta = pn, p0 = u0, { parseHost: v0, parseService: w0 } = h0, b0 = "urn:ietf:params:xml:ns:xmpp-streams", y0 = "http://etherx.jabber.org/streams";
5284
+ const { EventEmitter: m0, promise: ai } = sn, g0 = ds, ta = pn, p0 = u0, { parseHost: v0, parseService: w0 } = h0, b0 = "urn:ietf:params:xml:ns:xmpp-streams", y0 = "http://etherx.jabber.org/streams";
5285
5285
  let cs = class extends m0 {
5286
5286
  constructor(e = {}) {
5287
5287
  super(), this.jid = null, this.timeout = 2e3, this.options = e, this.socketListeners = /* @__PURE__ */ Object.create(null), this.parserListeners = /* @__PURE__ */ Object.create(null), this.status = "offline", this.socket = null, this.parser = null, this.root = null;
@@ -5342,7 +5342,7 @@ let cs = class extends m0 {
5342
5342
  let s;
5343
5343
  s = r ? `${i || "xmpp:"}//${t}` : (i ? `${i}//` : "") + t;
5344
5344
  try {
5345
- await si(this, "disconnect");
5345
+ await ai(this, "disconnect");
5346
5346
  const { domain: a, lang: o } = this.options;
5347
5347
  await this.connect(s), await this.open({ domain: a, lang: o });
5348
5348
  } catch (a) {
@@ -5390,7 +5390,7 @@ let cs = class extends m0 {
5390
5390
  throw new Error("Connection is not offline");
5391
5391
  const { service: e, domain: i, lang: t } = this.options;
5392
5392
  await this.connect(e);
5393
- const r = si(this, "online");
5393
+ const r = ai(this, "online");
5394
5394
  return await this.open({ domain: i, lang: t }), r;
5395
5395
  }
5396
5396
  /**
@@ -5399,7 +5399,7 @@ let cs = class extends m0 {
5399
5399
  async connect(e) {
5400
5400
  this._status("connecting", e);
5401
5401
  const i = new this.Socket();
5402
- return this._attachSocket(i), i.connect(this.socketParameters(e)), si(i, "connect");
5402
+ return this._attachSocket(i), i.connect(this.socketParameters(e)), ai(i, "connect");
5403
5403
  }
5404
5404
  /**
5405
5405
  * Disconnects the socket
@@ -5407,7 +5407,7 @@ let cs = class extends m0 {
5407
5407
  * https://tools.ietf.org/html/rfc7395#section-3.6
5408
5408
  */
5409
5409
  async disconnect(e = this.timeout) {
5410
- this.socket && this._status("disconnecting"), this.socket.end(), await si(this.socket, "close", "error", e);
5410
+ this.socket && this._status("disconnecting"), this.socket.end(), await ai(this.socket, "close", "error", e);
5411
5411
  }
5412
5412
  /**
5413
5413
  * Opens the stream
@@ -5415,7 +5415,7 @@ let cs = class extends m0 {
5415
5415
  async open(e) {
5416
5416
  this._status("opening"), typeof e == "string" && (e = { domain: e });
5417
5417
  const { domain: i, lang: t, timeout: r = this.timeout } = e, s = this.headerElement();
5418
- return s.attrs.to = i, s.attrs["xml:lang"] = t, this.root = s, this._attachParser(new this.Parser()), await this.write(this.header(s)), si(this, "open", "error", r);
5418
+ return s.attrs.to = i, s.attrs["xml:lang"] = t, this.root = s, this._attachParser(new this.Parser()), await this.write(this.header(s)), ai(this, "open", "error", r);
5419
5419
  }
5420
5420
  /**
5421
5421
  * Closes the stream then closes the socket
@@ -5433,7 +5433,7 @@ let cs = class extends m0 {
5433
5433
  */
5434
5434
  async close(e = this.timeout) {
5435
5435
  const i = this.footer(this.footerElement()), t = Promise.all([
5436
- si(this.parser, "end", "error", e),
5436
+ ai(this.parser, "end", "error", e),
5437
5437
  this.write(i)
5438
5438
  ]);
5439
5439
  this.parser && this.socket && this._status("closing");
@@ -5455,7 +5455,7 @@ let cs = class extends m0 {
5455
5455
  sendReceive(e, i = this.timeout) {
5456
5456
  return Promise.all([
5457
5457
  this.send(e),
5458
- si(this, "element", "error", i)
5458
+ ai(this, "element", "error", i)
5459
5459
  ]).then(([, t]) => t);
5460
5460
  }
5461
5461
  write(e) {
@@ -6512,7 +6512,7 @@ const Nw = async (n, e, i, t, r) => {
6512
6512
  }
6513
6513
  }, Sw = (n, e, i, t, r, s, a, o, A, f, d, c) => {
6514
6514
  var u;
6515
- const l = `send-text-message-${Date.now().toString()}`;
6515
+ const l = A ? `send-reply-message-${Date.now().toString()}` : `send-text-message-${Date.now().toString()}`;
6516
6516
  try {
6517
6517
  const m = G(
6518
6518
  "message",
@@ -6772,19 +6772,19 @@ var wu = { exports: {} };
6772
6772
  y[16] = this.block, y[C >>> 2] |= f[C & 3], this.block = y[16], C >= 56 && (this.hashed || this.hash(), y[0] = this.block, y[16] = y[1] = y[2] = y[3] = y[4] = y[5] = y[6] = y[7] = y[8] = y[9] = y[10] = y[11] = y[12] = y[13] = y[14] = y[15] = 0), y[14] = this.hBytes << 3 | this.bytes >>> 29, y[15] = this.bytes << 3, this.hash();
6773
6773
  }
6774
6774
  }, v.prototype.hash = function() {
6775
- var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, H = this.blocks, Q, W, V, ee, q, L, P, M, F, j, Z;
6776
- for (Q = 16; Q < 64; ++Q)
6777
- q = H[Q - 15], W = (q >>> 7 | q << 25) ^ (q >>> 18 | q << 14) ^ q >>> 3, q = H[Q - 2], V = (q >>> 17 | q << 15) ^ (q >>> 19 | q << 13) ^ q >>> 10, H[Q] = H[Q - 16] + W + H[Q - 7] + V << 0;
6778
- for (Z = C & N, Q = 0; Q < 64; Q += 4)
6779
- this.first ? (this.is224 ? (M = 300032, q = H[0] - 1413257819, E = q - 150054599 << 0, I = q + 24177077 << 0) : (M = 704751109, q = H[0] - 210244248, E = q - 1521486534 << 0, I = q + 143694565 << 0), this.first = !1) : (W = (y >>> 2 | y << 30) ^ (y >>> 13 | y << 19) ^ (y >>> 22 | y << 10), V = (D >>> 6 | D << 26) ^ (D >>> 11 | D << 21) ^ (D >>> 25 | D << 7), M = y & C, ee = M ^ y & N ^ Z, P = D & B ^ ~D & T, q = E + V + P + c[Q] + H[Q], L = W + ee, E = I + q << 0, I = q + L << 0), W = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), V = (E >>> 6 | E << 26) ^ (E >>> 11 | E << 21) ^ (E >>> 25 | E << 7), F = I & y, ee = F ^ I & C ^ M, P = E & D ^ ~E & B, q = T + V + P + c[Q + 1] + H[Q + 1], L = W + ee, T = N + q << 0, N = q + L << 0, W = (N >>> 2 | N << 30) ^ (N >>> 13 | N << 19) ^ (N >>> 22 | N << 10), V = (T >>> 6 | T << 26) ^ (T >>> 11 | T << 21) ^ (T >>> 25 | T << 7), j = N & I, ee = j ^ N & y ^ F, P = T & E ^ ~T & D, q = B + V + P + c[Q + 2] + H[Q + 2], L = W + ee, B = C + q << 0, C = q + L << 0, W = (C >>> 2 | C << 30) ^ (C >>> 13 | C << 19) ^ (C >>> 22 | C << 10), V = (B >>> 6 | B << 26) ^ (B >>> 11 | B << 21) ^ (B >>> 25 | B << 7), Z = C & N, ee = Z ^ C & I ^ j, P = B & T ^ ~B & E, q = D + V + P + c[Q + 3] + H[Q + 3], L = W + ee, D = y + q << 0, y = q + L << 0, this.chromeBugWorkAround = !0;
6775
+ var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, j = this.blocks, W, Q, q, $, V, L, P, M, H, R, Z;
6776
+ for (W = 16; W < 64; ++W)
6777
+ V = j[W - 15], Q = (V >>> 7 | V << 25) ^ (V >>> 18 | V << 14) ^ V >>> 3, V = j[W - 2], q = (V >>> 17 | V << 15) ^ (V >>> 19 | V << 13) ^ V >>> 10, j[W] = j[W - 16] + Q + j[W - 7] + q << 0;
6778
+ for (Z = C & N, W = 0; W < 64; W += 4)
6779
+ this.first ? (this.is224 ? (M = 300032, V = j[0] - 1413257819, E = V - 150054599 << 0, I = V + 24177077 << 0) : (M = 704751109, V = j[0] - 210244248, E = V - 1521486534 << 0, I = V + 143694565 << 0), this.first = !1) : (Q = (y >>> 2 | y << 30) ^ (y >>> 13 | y << 19) ^ (y >>> 22 | y << 10), q = (D >>> 6 | D << 26) ^ (D >>> 11 | D << 21) ^ (D >>> 25 | D << 7), M = y & C, $ = M ^ y & N ^ Z, P = D & B ^ ~D & T, V = E + q + P + c[W] + j[W], L = Q + $, E = I + V << 0, I = V + L << 0), Q = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), q = (E >>> 6 | E << 26) ^ (E >>> 11 | E << 21) ^ (E >>> 25 | E << 7), H = I & y, $ = H ^ I & C ^ M, P = E & D ^ ~E & B, V = T + q + P + c[W + 1] + j[W + 1], L = Q + $, T = N + V << 0, N = V + L << 0, Q = (N >>> 2 | N << 30) ^ (N >>> 13 | N << 19) ^ (N >>> 22 | N << 10), q = (T >>> 6 | T << 26) ^ (T >>> 11 | T << 21) ^ (T >>> 25 | T << 7), R = N & I, $ = R ^ N & y ^ H, P = T & E ^ ~T & D, V = B + q + P + c[W + 2] + j[W + 2], L = Q + $, B = C + V << 0, C = V + L << 0, Q = (C >>> 2 | C << 30) ^ (C >>> 13 | C << 19) ^ (C >>> 22 | C << 10), q = (B >>> 6 | B << 26) ^ (B >>> 11 | B << 21) ^ (B >>> 25 | B << 7), Z = C & N, $ = Z ^ C & I ^ R, P = B & T ^ ~B & E, V = D + q + P + c[W + 3] + j[W + 3], L = Q + $, D = y + V << 0, y = V + L << 0, this.chromeBugWorkAround = !0;
6780
6780
  this.h0 = this.h0 + y << 0, this.h1 = this.h1 + C << 0, this.h2 = this.h2 + N << 0, this.h3 = this.h3 + I << 0, this.h4 = this.h4 + D << 0, this.h5 = this.h5 + B << 0, this.h6 = this.h6 + T << 0, this.h7 = this.h7 + E << 0;
6781
6781
  }, v.prototype.hex = function() {
6782
6782
  this.finalize();
6783
- var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, H = A[y >>> 28 & 15] + A[y >>> 24 & 15] + A[y >>> 20 & 15] + A[y >>> 16 & 15] + A[y >>> 12 & 15] + A[y >>> 8 & 15] + A[y >>> 4 & 15] + A[y & 15] + A[C >>> 28 & 15] + A[C >>> 24 & 15] + A[C >>> 20 & 15] + A[C >>> 16 & 15] + A[C >>> 12 & 15] + A[C >>> 8 & 15] + A[C >>> 4 & 15] + A[C & 15] + A[N >>> 28 & 15] + A[N >>> 24 & 15] + A[N >>> 20 & 15] + A[N >>> 16 & 15] + A[N >>> 12 & 15] + A[N >>> 8 & 15] + A[N >>> 4 & 15] + A[N & 15] + A[I >>> 28 & 15] + A[I >>> 24 & 15] + A[I >>> 20 & 15] + A[I >>> 16 & 15] + A[I >>> 12 & 15] + A[I >>> 8 & 15] + A[I >>> 4 & 15] + A[I & 15] + A[D >>> 28 & 15] + A[D >>> 24 & 15] + A[D >>> 20 & 15] + A[D >>> 16 & 15] + A[D >>> 12 & 15] + A[D >>> 8 & 15] + A[D >>> 4 & 15] + A[D & 15] + A[B >>> 28 & 15] + A[B >>> 24 & 15] + A[B >>> 20 & 15] + A[B >>> 16 & 15] + A[B >>> 12 & 15] + A[B >>> 8 & 15] + A[B >>> 4 & 15] + A[B & 15] + A[T >>> 28 & 15] + A[T >>> 24 & 15] + A[T >>> 20 & 15] + A[T >>> 16 & 15] + A[T >>> 12 & 15] + A[T >>> 8 & 15] + A[T >>> 4 & 15] + A[T & 15];
6784
- return this.is224 || (H += A[E >>> 28 & 15] + A[E >>> 24 & 15] + A[E >>> 20 & 15] + A[E >>> 16 & 15] + A[E >>> 12 & 15] + A[E >>> 8 & 15] + A[E >>> 4 & 15] + A[E & 15]), H;
6783
+ var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, j = A[y >>> 28 & 15] + A[y >>> 24 & 15] + A[y >>> 20 & 15] + A[y >>> 16 & 15] + A[y >>> 12 & 15] + A[y >>> 8 & 15] + A[y >>> 4 & 15] + A[y & 15] + A[C >>> 28 & 15] + A[C >>> 24 & 15] + A[C >>> 20 & 15] + A[C >>> 16 & 15] + A[C >>> 12 & 15] + A[C >>> 8 & 15] + A[C >>> 4 & 15] + A[C & 15] + A[N >>> 28 & 15] + A[N >>> 24 & 15] + A[N >>> 20 & 15] + A[N >>> 16 & 15] + A[N >>> 12 & 15] + A[N >>> 8 & 15] + A[N >>> 4 & 15] + A[N & 15] + A[I >>> 28 & 15] + A[I >>> 24 & 15] + A[I >>> 20 & 15] + A[I >>> 16 & 15] + A[I >>> 12 & 15] + A[I >>> 8 & 15] + A[I >>> 4 & 15] + A[I & 15] + A[D >>> 28 & 15] + A[D >>> 24 & 15] + A[D >>> 20 & 15] + A[D >>> 16 & 15] + A[D >>> 12 & 15] + A[D >>> 8 & 15] + A[D >>> 4 & 15] + A[D & 15] + A[B >>> 28 & 15] + A[B >>> 24 & 15] + A[B >>> 20 & 15] + A[B >>> 16 & 15] + A[B >>> 12 & 15] + A[B >>> 8 & 15] + A[B >>> 4 & 15] + A[B & 15] + A[T >>> 28 & 15] + A[T >>> 24 & 15] + A[T >>> 20 & 15] + A[T >>> 16 & 15] + A[T >>> 12 & 15] + A[T >>> 8 & 15] + A[T >>> 4 & 15] + A[T & 15];
6784
+ return this.is224 || (j += A[E >>> 28 & 15] + A[E >>> 24 & 15] + A[E >>> 20 & 15] + A[E >>> 16 & 15] + A[E >>> 12 & 15] + A[E >>> 8 & 15] + A[E >>> 4 & 15] + A[E & 15]), j;
6785
6785
  }, v.prototype.toString = v.prototype.hex, v.prototype.digest = function() {
6786
6786
  this.finalize();
6787
- var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, H = [
6787
+ var y = this.h0, C = this.h1, N = this.h2, I = this.h3, D = this.h4, B = this.h5, T = this.h6, E = this.h7, j = [
6788
6788
  y >>> 24 & 255,
6789
6789
  y >>> 16 & 255,
6790
6790
  y >>> 8 & 255,
@@ -6814,7 +6814,7 @@ var wu = { exports: {} };
6814
6814
  T >>> 8 & 255,
6815
6815
  T & 255
6816
6816
  ];
6817
- return this.is224 || H.push(E >>> 24 & 255, E >>> 16 & 255, E >>> 8 & 255, E & 255), H;
6817
+ return this.is224 || j.push(E >>> 24 & 255, E >>> 16 & 255, E >>> 8 & 255, E & 255), j;
6818
6818
  }, v.prototype.array = v.prototype.digest, v.prototype.arrayBuffer = function() {
6819
6819
  this.finalize();
6820
6820
  var y = new ArrayBuffer(this.is224 ? 28 : 32), C = new DataView(y);
@@ -6823,9 +6823,9 @@ var wu = { exports: {} };
6823
6823
  function x(y, C, N) {
6824
6824
  var I, D = typeof y;
6825
6825
  if (D === "string") {
6826
- var B = [], T = y.length, E = 0, H;
6826
+ var B = [], T = y.length, E = 0, j;
6827
6827
  for (I = 0; I < T; ++I)
6828
- H = y.charCodeAt(I), H < 128 ? B[E++] = H : H < 2048 ? (B[E++] = 192 | H >>> 6, B[E++] = 128 | H & 63) : H < 55296 || H >= 57344 ? (B[E++] = 224 | H >>> 12, B[E++] = 128 | H >>> 6 & 63, B[E++] = 128 | H & 63) : (H = 65536 + ((H & 1023) << 10 | y.charCodeAt(++I) & 1023), B[E++] = 240 | H >>> 18, B[E++] = 128 | H >>> 12 & 63, B[E++] = 128 | H >>> 6 & 63, B[E++] = 128 | H & 63);
6828
+ j = y.charCodeAt(I), j < 128 ? B[E++] = j : j < 2048 ? (B[E++] = 192 | j >>> 6, B[E++] = 128 | j & 63) : j < 55296 || j >= 57344 ? (B[E++] = 224 | j >>> 12, B[E++] = 128 | j >>> 6 & 63, B[E++] = 128 | j & 63) : (j = 65536 + ((j & 1023) << 10 | y.charCodeAt(++I) & 1023), B[E++] = 240 | j >>> 18, B[E++] = 128 | j >>> 12 & 63, B[E++] = 128 | j >>> 6 & 63, B[E++] = 128 | j & 63);
6829
6829
  y = B;
6830
6830
  } else if (D === "object") {
6831
6831
  if (y === null)
@@ -6837,12 +6837,12 @@ var wu = { exports: {} };
6837
6837
  } else
6838
6838
  throw new Error(e);
6839
6839
  y.length > 64 && (y = new v(C, !0).update(y).array());
6840
- var Q = [], W = [];
6840
+ var W = [], Q = [];
6841
6841
  for (I = 0; I < 64; ++I) {
6842
- var V = y[I] || 0;
6843
- Q[I] = 92 ^ V, W[I] = 54 ^ V;
6842
+ var q = y[I] || 0;
6843
+ W[I] = 92 ^ q, Q[I] = 54 ^ q;
6844
6844
  }
6845
- v.call(this, C, N), this.update(W), this.oKeyPad = Q, this.inner = !0, this.sharedMemory = N;
6845
+ v.call(this, C, N), this.update(Q), this.oKeyPad = W, this.inner = !0, this.sharedMemory = N;
6846
6846
  }
6847
6847
  x.prototype = new v(), x.prototype.finalize = function() {
6848
6848
  if (v.prototype.finalize.call(this), this.inner) {
@@ -7083,13 +7083,20 @@ const Qw = async (n) => {
7083
7083
  }, xu = async (n) => (n != null && n.body, n || console.log("Invalid arguments: data, id, and roomJid are required."), {
7084
7084
  ...n,
7085
7085
  ...n.data
7086
- }), Yw = (n) => n.reduce((e, i) => (e[i.language] = i, e), {}), Gw = (n, e) => n ? (typeof n != "string" && console.log(n, e.toString()), n.slice(-13)) : void 0, Eu = async (n) => {
7087
- var w, p, b, g, v, x, k, y, C, N, I, D, B, T, E, H;
7088
- const e = ((p = (w = n.getChild("result")) == null ? void 0 : w.getChild("forwarded")) == null ? void 0 : p.getChild("message")) || n, i = (e == null ? void 0 : e.getChild("data")) || (n == null ? void 0 : n.getChild("data")), t = ((b = n.getChild("result")) == null ? void 0 : b.attrs.id) || Gw(n.attrs.id, n);
7086
+ }), Yw = (n) => n.reduce((e, i) => (e[i.language] = i, e), {}), Gw = (n, e) => {
7087
+ if (!n) return;
7088
+ if (typeof n != "string") {
7089
+ console.log(n, e.toString());
7090
+ return;
7091
+ }
7092
+ return n.slice(-16);
7093
+ }, Eu = async (n) => {
7094
+ var w, p, b, g, v, x, k, y, C, N, I, D, B, T, E, j, W, Q;
7095
+ const e = ((p = (w = n.getChild("result")) == null ? void 0 : w.getChild("forwarded")) == null ? void 0 : p.getChild("message")) || n, i = (e == null ? void 0 : e.getChild("data")) || (n == null ? void 0 : n.getChild("data")), t = ((b = n.getChild("result")) == null ? void 0 : b.attrs.id) || Gw((v = (g = n == null ? void 0 : n.getChild("stanza-id")) == null ? void 0 : g.attrs) == null ? void 0 : v.id, n);
7089
7096
  if (!t) return;
7090
- const r = ((g = e == null ? void 0 : e.getChild("body")) == null ? void 0 : g.getText()) || void 0, s = !!(e != null && e.getChild("deleted")), a = (x = (v = e == null ? void 0 : e.getChild("translations")) == null ? void 0 : v.attrs) != null && x.value ? Yw(
7097
+ const r = ((x = e == null ? void 0 : e.getChild("body")) == null ? void 0 : x.getText()) || void 0, s = !!(e != null && e.getChild("deleted")), a = (y = (k = e == null ? void 0 : e.getChild("translations")) == null ? void 0 : k.attrs) != null && y.value ? Yw(
7091
7098
  JSON.parse(e.getChild("translations").attrs.value).translates
7092
- ) : void 0, o = (y = (k = e == null ? void 0 : e.getChild("translate")) == null ? void 0 : k.attrs) == null ? void 0 : y.source, A = (C = i == null ? void 0 : i.attrs) == null ? void 0 : C.roomJID, f = ((N = i == null ? void 0 : i.attrs) == null ? void 0 : N.firstName) || ((I = i == null ? void 0 : i.attrs) == null ? void 0 : I.senderFirstName) || "", d = ((D = i == null ? void 0 : i.attrs) == null ? void 0 : D.lastName) || ((B = i == null ? void 0 : i.attrs) == null ? void 0 : B.senderLastName) || "", c = (T = i == null ? void 0 : i.attrs) == null ? void 0 : T.photo, l = ((E = i == null ? void 0 : i.attrs) == null ? void 0 : E.walletAddress) || ((H = i == null ? void 0 : i.attrs) == null ? void 0 : H.senderWalletAddress), u = (/* @__PURE__ */ new Date(+(t == null ? void 0 : t.slice(0, 13)))).toISOString(), m = {
7099
+ ) : void 0, o = (N = (C = e == null ? void 0 : e.getChild("translate")) == null ? void 0 : C.attrs) == null ? void 0 : N.source, A = (I = i == null ? void 0 : i.attrs) == null ? void 0 : I.roomJID, f = ((D = i == null ? void 0 : i.attrs) == null ? void 0 : D.firstName) || ((B = i == null ? void 0 : i.attrs) == null ? void 0 : B.senderFirstName) || "", d = ((T = i == null ? void 0 : i.attrs) == null ? void 0 : T.lastName) || ((E = i == null ? void 0 : i.attrs) == null ? void 0 : E.senderLastName) || "", c = (j = i == null ? void 0 : i.attrs) == null ? void 0 : j.photo, l = ((W = i == null ? void 0 : i.attrs) == null ? void 0 : W.walletAddress) || ((Q = i == null ? void 0 : i.attrs) == null ? void 0 : Q.senderWalletAddress), u = (/* @__PURE__ */ new Date(+(t == null ? void 0 : t.slice(0, 13)))).toISOString(), m = {
7093
7100
  id: l,
7094
7101
  name: `${f} ${d}`,
7095
7102
  profileImage: c
@@ -8179,11 +8186,11 @@ function io(n) {
8179
8186
  for (e = Math.abs(n); e > Xt; e = e / Xt | 0) i = sd(e % Xt) + i;
8180
8187
  return (sd(e % Xt) + i).replace(Rb, "$1-$2");
8181
8188
  }
8182
- var oa, Ru = 5381, fi = function(n, e) {
8189
+ var oa, Ru = 5381, di = function(n, e) {
8183
8190
  for (var i = e.length; i; ) n = 33 * n ^ e.charCodeAt(--i);
8184
8191
  return n;
8185
8192
  }, Fu = function(n) {
8186
- return fi(Ru, n);
8193
+ return di(Ru, n);
8187
8194
  };
8188
8195
  function Lu(n) {
8189
8196
  return io(Fu(n) >>> 0);
@@ -8227,7 +8234,7 @@ function Gi(n) {
8227
8234
  function cA(n) {
8228
8235
  return typeof n == "object" && "styledComponentId" in n;
8229
8236
  }
8230
- function di(n, e) {
8237
+ function ci(n, e) {
8231
8238
  return n && e ? "".concat(n, " ").concat(e) : n || e || "";
8232
8239
  }
8233
8240
  function to(n, e) {
@@ -8489,7 +8496,7 @@ function oy(n) {
8489
8496
  })))), g;
8490
8497
  };
8491
8498
  return c.hash = A.length ? A.reduce(function(l, u) {
8492
- return u.name || $i(15), fi(l, u.name);
8499
+ return u.name || $i(15), di(l, u.name);
8493
8500
  }, Ru).toString() : "", c;
8494
8501
  }
8495
8502
  var Ay = new qu(), so = oy(), Uu = Le.createContext({ shouldForwardProp: void 0, styleSheet: Ay, stylis: so });
@@ -8555,31 +8562,31 @@ function dy(n) {
8555
8562
  }
8556
8563
  var cy = Fu(vs), ly = function() {
8557
8564
  function n(e, i, t) {
8558
- this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (t === void 0 || t.isStatic) && dy(e), this.componentId = i, this.baseHash = fi(cy, i), this.baseStyle = t, qu.registerId(i);
8565
+ this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (t === void 0 || t.isStatic) && dy(e), this.componentId = i, this.baseHash = di(cy, i), this.baseStyle = t, qu.registerId(i);
8559
8566
  }
8560
8567
  return n.prototype.generateAndInjectStyles = function(e, i, t) {
8561
8568
  var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, i, t) : "";
8562
- if (this.isStatic && !t.hash) if (this.staticRulesId && i.hasNameForId(this.componentId, this.staticRulesId)) r = di(r, this.staticRulesId);
8569
+ if (this.isStatic && !t.hash) if (this.staticRulesId && i.hasNameForId(this.componentId, this.staticRulesId)) r = ci(r, this.staticRulesId);
8563
8570
  else {
8564
- var s = to(mi(this.rules, e, i, t)), a = io(fi(this.baseHash, s) >>> 0);
8571
+ var s = to(mi(this.rules, e, i, t)), a = io(di(this.baseHash, s) >>> 0);
8565
8572
  if (!i.hasNameForId(this.componentId, a)) {
8566
8573
  var o = t(s, ".".concat(a), void 0, this.componentId);
8567
8574
  i.insertRules(this.componentId, a, o);
8568
8575
  }
8569
- r = di(r, a), this.staticRulesId = a;
8576
+ r = ci(r, a), this.staticRulesId = a;
8570
8577
  }
8571
8578
  else {
8572
- for (var A = fi(this.baseHash, t.hash), f = "", d = 0; d < this.rules.length; d++) {
8579
+ for (var A = di(this.baseHash, t.hash), f = "", d = 0; d < this.rules.length; d++) {
8573
8580
  var c = this.rules[d];
8574
- if (typeof c == "string") f += c, process.env.NODE_ENV !== "production" && (A = fi(A, c));
8581
+ if (typeof c == "string") f += c, process.env.NODE_ENV !== "production" && (A = di(A, c));
8575
8582
  else if (c) {
8576
8583
  var l = to(mi(c, e, i, t));
8577
- A = fi(A, l + d), f += l;
8584
+ A = di(A, l + d), f += l;
8578
8585
  }
8579
8586
  }
8580
8587
  if (f) {
8581
8588
  var u = io(A >>> 0);
8582
- i.hasNameForId(this.componentId, u) || i.insertRules(this.componentId, u, t(f, ".".concat(u), void 0, this.componentId)), r = di(r, u);
8589
+ i.hasNameForId(this.componentId, u) || i.insertRules(this.componentId, u, t(f, ".".concat(u), void 0, this.componentId)), r = ci(r, u);
8583
8590
  }
8584
8591
  }
8585
8592
  return r;
@@ -8608,28 +8615,28 @@ function uy(n, e, i) {
8608
8615
  var b = new ly(i, l, t ? r.componentStyle : void 0);
8609
8616
  function g(x, k) {
8610
8617
  return function(y, C, N) {
8611
- var I = y.attrs, D = y.componentStyle, B = y.defaultProps, T = y.foldedComponentIds, E = y.styledComponentId, H = y.target, Q = Le.useContext(Ku), W = dd(), V = y.shouldForwardProp || W.shouldForwardProp;
8618
+ var I = y.attrs, D = y.componentStyle, B = y.defaultProps, T = y.foldedComponentIds, E = y.styledComponentId, j = y.target, W = Le.useContext(Ku), Q = dd(), q = y.shouldForwardProp || Q.shouldForwardProp;
8612
8619
  process.env.NODE_ENV !== "production" && WA(E);
8613
- var ee = Tb(C, Q, B) || Yi, q = function(Z, K, $) {
8614
- for (var ie, re = Re(Re({}, K), { className: void 0, theme: $ }), ae = 0; ae < Z.length; ae += 1) {
8620
+ var $ = Tb(C, W, B) || Yi, V = function(Z, K, ee) {
8621
+ for (var ie, re = Re(Re({}, K), { className: void 0, theme: ee }), ae = 0; ae < Z.length; ae += 1) {
8615
8622
  var Ee = Gi(ie = Z[ae]) ? ie(re) : ie;
8616
- for (var Y in Ee) re[Y] = Y === "className" ? di(re[Y], Ee[Y]) : Y === "style" ? Re(Re({}, re[Y]), Ee[Y]) : Ee[Y];
8623
+ for (var Y in Ee) re[Y] = Y === "className" ? ci(re[Y], Ee[Y]) : Y === "style" ? Re(Re({}, re[Y]), Ee[Y]) : Ee[Y];
8617
8624
  }
8618
- return K.className && (re.className = di(re.className, K.className)), re;
8619
- }(I, C, ee), L = q.as || H, P = {};
8620
- for (var M in q) q[M] === void 0 || M[0] === "$" || M === "as" || M === "theme" && q.theme === ee || (M === "forwardedAs" ? P.as = q.forwardedAs : V && !V(M, L) || (P[M] = q[M], V || process.env.NODE_ENV !== "development" || cb(M) || ld.has(M) || !no.has(L) || (ld.add(M), console.warn('styled-components: it looks like an unknown prop "'.concat(M, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
8621
- var F = function(Z, K) {
8622
- var $ = dd(), ie = Z.generateAndInjectStyles(K, $.styleSheet, $.stylis);
8625
+ return K.className && (re.className = ci(re.className, K.className)), re;
8626
+ }(I, C, $), L = V.as || j, P = {};
8627
+ for (var M in V) V[M] === void 0 || M[0] === "$" || M === "as" || M === "theme" && V.theme === $ || (M === "forwardedAs" ? P.as = V.forwardedAs : q && !q(M, L) || (P[M] = V[M], q || process.env.NODE_ENV !== "development" || cb(M) || ld.has(M) || !no.has(L) || (ld.add(M), console.warn('styled-components: it looks like an unknown prop "'.concat(M, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
8628
+ var H = function(Z, K) {
8629
+ var ee = dd(), ie = Z.generateAndInjectStyles(K, ee.styleSheet, ee.stylis);
8623
8630
  return process.env.NODE_ENV !== "production" && WA(ie), ie;
8624
- }(D, q);
8625
- process.env.NODE_ENV !== "production" && y.warnTooManyClasses && y.warnTooManyClasses(F);
8626
- var j = di(T, E);
8627
- return F && (j += " " + F), q.className && (j += " " + q.className), P[Aa(L) && !no.has(L) ? "class" : "className"] = j, P.ref = N, Pm(L, P);
8631
+ }(D, V);
8632
+ process.env.NODE_ENV !== "production" && y.warnTooManyClasses && y.warnTooManyClasses(H);
8633
+ var R = ci(T, E);
8634
+ return H && (R += " " + H), V.className && (R += " " + V.className), P[Aa(L) && !no.has(L) ? "class" : "className"] = R, P.ref = N, Pm(L, P);
8628
8635
  }(v, x, k);
8629
8636
  }
8630
8637
  g.displayName = c;
8631
8638
  var v = Le.forwardRef(g);
8632
- return v.attrs = u, v.componentStyle = b, v.displayName = c, v.shouldForwardProp = m, v.foldedComponentIds = t ? di(r.foldedComponentIds, r.styledComponentId) : "", v.styledComponentId = l, v.target = t ? r.target : n, Object.defineProperty(v, "defaultProps", { get: function() {
8639
+ return v.attrs = u, v.componentStyle = b, v.displayName = c, v.shouldForwardProp = m, v.foldedComponentIds = t ? ci(r.foldedComponentIds, r.styledComponentId) : "", v.styledComponentId = l, v.target = t ? r.target : n, Object.defineProperty(v, "defaultProps", { get: function() {
8633
8640
  return this._foldedDefaultProps;
8634
8641
  }, set: function(x) {
8635
8642
  this._foldedDefaultProps = t ? function(k) {
@@ -9114,7 +9121,7 @@ const Oy = S.div`
9114
9121
  gap: 16px;
9115
9122
  `, Ky = S.div`
9116
9123
  margin: 0;
9117
- color: ${(n) => n.primary || "#0052cd"};
9124
+ color: ${(n) => "#0052cd"};
9118
9125
  border-radius: 118px;
9119
9126
  padding: 5px 8px;
9120
9127
  display: flex;
@@ -9123,7 +9130,7 @@ const Oy = S.div`
9123
9130
  font-size: 12px;
9124
9131
  line-height: 14px;
9125
9132
  font-weight: 600;
9126
- background-color: ${(n) => n.secondary || "#e7edf9"};
9133
+ background-color: ${(n) => "#e7edf9"};
9127
9134
  height: 24px;
9128
9135
  white-space: nowrap;
9129
9136
  `, pd = ({ date: n, colors: e }) => {
@@ -9254,7 +9261,7 @@ const Oy = S.div`
9254
9261
  const { composing: A, messages: f } = ki(t).room, d = Be(() => f.map((E) => ({
9255
9262
  ...E,
9256
9263
  reply: f.filter(
9257
- (Q) => !!Q.mainMessage && JSON.parse(Q.mainMessage).id === E.id
9264
+ (W) => !!W.mainMessage && JSON.parse(W.mainMessage).id === E.id
9258
9265
  )
9259
9266
  })), [f, f.length]), c = Be(
9260
9267
  () => o && o.user.id === e.walletAddress,
@@ -9274,16 +9281,16 @@ const Oy = S.div`
9274
9281
  }, k = () => {
9275
9282
  const E = u.current;
9276
9283
  if (E && g.current) {
9277
- const { top: H, height: Q } = g.current, W = E.scrollHeight, V = H + (W - Q);
9278
- E.scrollTop = V;
9284
+ const { top: j, height: W } = g.current, Q = E.scrollHeight, q = j + (Q - W);
9285
+ E.scrollTop = q;
9279
9286
  }
9280
9287
  }, y = te(() => {
9281
- var H;
9288
+ var j;
9282
9289
  const E = x();
9283
9290
  if (E && E.top < 150 && !p.current) {
9284
9291
  g.current = x();
9285
- const Q = l[0];
9286
- (H = Q == null ? void 0 : Q.user) != null && H.id && (p.current = !0, i(
9292
+ const W = l[0];
9293
+ (j = W == null ? void 0 : W.user) != null && j.id && (p.current = !0, i(
9287
9294
  l[0].roomJid,
9288
9295
  30,
9289
9296
  Number(l[0].id)
@@ -9313,8 +9320,8 @@ const Oy = S.div`
9313
9320
  if (l.length > 30) {
9314
9321
  const E = u.current;
9315
9322
  if (E && g.current) {
9316
- const H = g.current.top + (E.scrollHeight - g.current.height);
9317
- E.scrollTop = H;
9323
+ const j = g.current.top + (E.scrollHeight - g.current.height);
9324
+ E.scrollTop = j;
9318
9325
  }
9319
9326
  g.current = null;
9320
9327
  }
@@ -9346,8 +9353,8 @@ const Oy = S.div`
9346
9353
  )
9347
9354
  ] }),
9348
9355
  l.map((E) => {
9349
- const H = new Date(E.date).toDateString(), Q = H !== D;
9350
- return D = H, /* @__PURE__ */ h(
9356
+ const j = new Date(E.date).toDateString(), W = j !== D;
9357
+ return D = j, /* @__PURE__ */ h(
9351
9358
  i3,
9352
9359
  {
9353
9360
  CustomMessage: n,
@@ -9356,7 +9363,7 @@ const Oy = S.div`
9356
9363
  config: r,
9357
9364
  walletAddress: e.walletAddress,
9358
9365
  isReply: a,
9359
- showDateLabel: Q
9366
+ showDateLabel: W
9360
9367
  },
9361
9368
  E.id
9362
9369
  );
@@ -10477,12 +10484,12 @@ const A3 = S.div`
10477
10484
  const T = B.target.files;
10478
10485
  if (T) {
10479
10486
  const E = Array.from(T);
10480
- l((H) => {
10481
- const Q = new Set(H.map((ee) => ee.name)), W = E.filter(
10482
- (ee) => !Q.has(ee.name)
10487
+ l((j) => {
10488
+ const W = new Set(j.map(($) => $.name)), Q = E.filter(
10489
+ ($) => !W.has($.name)
10483
10490
  );
10484
- let V = [...H, ...W];
10485
- return V.length > 5 && (V = V == null ? void 0 : V.slice(0, 5)), V;
10491
+ let q = [...j, ...Q];
10492
+ return q.length > 5 && (q = q == null ? void 0 : q.slice(0, 5)), q;
10486
10493
  });
10487
10494
  }
10488
10495
  u.current && (u.current.value = "");
@@ -10868,7 +10875,7 @@ const m1 = S.div`
10868
10875
  color: #8c8c8c;
10869
10876
  font-size: 16px;
10870
10877
  font-weight: 400;
10871
- `, $n = S.div`
10878
+ `, ei = S.div`
10872
10879
  width: 100%;
10873
10880
  border-radius: 8px;
10874
10881
  border: 1px solid #f0f0f0;
@@ -11345,9 +11352,9 @@ function wk() {
11345
11352
  * limitations under the License.
11346
11353
  */
11347
11354
  const bk = "FirebaseError";
11348
- class ii extends Error {
11355
+ class ti extends Error {
11349
11356
  constructor(e, i, t) {
11350
- super(i), this.code = e, this.customData = t, this.name = bk, Object.setPrototypeOf(this, ii.prototype), Error.captureStackTrace && Error.captureStackTrace(this, Nt.prototype.create);
11357
+ super(i), this.code = e, this.customData = t, this.name = bk, Object.setPrototypeOf(this, ti.prototype), Error.captureStackTrace && Error.captureStackTrace(this, Nt.prototype.create);
11351
11358
  }
11352
11359
  }
11353
11360
  class Nt {
@@ -11356,7 +11363,7 @@ class Nt {
11356
11363
  }
11357
11364
  create(e, ...i) {
11358
11365
  const t = i[0] || {}, r = `${this.service}/${e}`, s = this.errors[e], a = s ? yk(s, t) : "Error", o = `${this.serviceName}: ${a} (${r}).`;
11359
- return new ii(r, o, t);
11366
+ return new ti(r, o, t);
11360
11367
  }
11361
11368
  }
11362
11369
  function yk(n, e) {
@@ -11574,7 +11581,7 @@ class Ui {
11574
11581
  * See the License for the specific language governing permissions and
11575
11582
  * limitations under the License.
11576
11583
  */
11577
- const Ai = "[DEFAULT]";
11584
+ const fi = "[DEFAULT]";
11578
11585
  /**
11579
11586
  * @license
11580
11587
  * Copyright 2019 Google LLC
@@ -11644,7 +11651,7 @@ class Dk {
11644
11651
  if (this.component = e, !!this.shouldAutoInitialize()) {
11645
11652
  if (Nk(e))
11646
11653
  try {
11647
- this.getOrInitializeService({ instanceIdentifier: Ai });
11654
+ this.getOrInitializeService({ instanceIdentifier: fi });
11648
11655
  } catch {
11649
11656
  }
11650
11657
  for (const [i, t] of this.instancesDeferred.entries()) {
@@ -11659,7 +11666,7 @@ class Dk {
11659
11666
  }
11660
11667
  }
11661
11668
  }
11662
- clearInstance(e = Ai) {
11669
+ clearInstance(e = fi) {
11663
11670
  this.instancesDeferred.delete(e), this.instancesOptions.delete(e), this.instances.delete(e);
11664
11671
  }
11665
11672
  // app.delete() will call this method on every provider to delete the services
@@ -11674,10 +11681,10 @@ class Dk {
11674
11681
  isComponentSet() {
11675
11682
  return this.component != null;
11676
11683
  }
11677
- isInitialized(e = Ai) {
11684
+ isInitialized(e = fi) {
11678
11685
  return this.instances.has(e);
11679
11686
  }
11680
- getOptions(e = Ai) {
11687
+ getOptions(e = fi) {
11681
11688
  return this.instancesOptions.get(e) || {};
11682
11689
  }
11683
11690
  initialize(e = {}) {
@@ -11738,15 +11745,15 @@ class Dk {
11738
11745
  }
11739
11746
  return t || null;
11740
11747
  }
11741
- normalizeInstanceIdentifier(e = Ai) {
11742
- return this.component ? this.component.multipleInstances ? e : Ai : e;
11748
+ normalizeInstanceIdentifier(e = fi) {
11749
+ return this.component ? this.component.multipleInstances ? e : fi : e;
11743
11750
  }
11744
11751
  shouldAutoInitialize() {
11745
11752
  return !!this.component && this.component.instantiationMode !== "EXPLICIT";
11746
11753
  }
11747
11754
  }
11748
11755
  function Ik(n) {
11749
- return n === Ai ? void 0 : n;
11756
+ return n === fi ? void 0 : n;
11750
11757
  }
11751
11758
  function Nk(n) {
11752
11759
  return n.instantiationMode === "EAGER";
@@ -11927,7 +11934,7 @@ function Lk(n) {
11927
11934
  const r = () => {
11928
11935
  n.removeEventListener("success", s), n.removeEventListener("error", a);
11929
11936
  }, s = () => {
11930
- i(Un(n.result)), r();
11937
+ i(Xn(n.result)), r();
11931
11938
  }, a = () => {
11932
11939
  t(n.error), r();
11933
11940
  };
@@ -11963,7 +11970,7 @@ let lo = {
11963
11970
  if (e === "store")
11964
11971
  return i.objectStoreNames[1] ? void 0 : i.objectStore(i.objectStoreNames[0]);
11965
11972
  }
11966
- return Un(n[e]);
11973
+ return Xn(n[e]);
11967
11974
  },
11968
11975
  set(n, e, i) {
11969
11976
  return n[e] = i, !0;
@@ -11978,17 +11985,17 @@ function zk(n) {
11978
11985
  function Wk(n) {
11979
11986
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...i) {
11980
11987
  const t = n.call(ua(this), e, ...i);
11981
- return B1.set(t, e.sort ? e.sort() : [e]), Un(t);
11988
+ return B1.set(t, e.sort ? e.sort() : [e]), Xn(t);
11982
11989
  } : Fk().includes(n) ? function(...e) {
11983
- return n.apply(ua(this), e), Un(E1.get(this));
11990
+ return n.apply(ua(this), e), Xn(E1.get(this));
11984
11991
  } : function(...e) {
11985
- return Un(n.apply(ua(this), e));
11992
+ return Xn(n.apply(ua(this), e));
11986
11993
  };
11987
11994
  }
11988
11995
  function Qk(n) {
11989
11996
  return typeof n == "function" ? Wk(n) : (n instanceof IDBTransaction && Hk(n), jk(n, Rk()) ? new Proxy(n, lo) : n);
11990
11997
  }
11991
- function Un(n) {
11998
+ function Xn(n) {
11992
11999
  if (n instanceof IDBRequest)
11993
12000
  return Lk(n);
11994
12001
  if (la.has(n))
@@ -11998,9 +12005,9 @@ function Un(n) {
11998
12005
  }
11999
12006
  const ua = (n) => vA.get(n);
12000
12007
  function Yk(n, e, { blocked: i, upgrade: t, blocking: r, terminated: s } = {}) {
12001
- const a = indexedDB.open(n, e), o = Un(a);
12008
+ const a = indexedDB.open(n, e), o = Xn(a);
12002
12009
  return t && a.addEventListener("upgradeneeded", (A) => {
12003
- t(Un(a.result), A.oldVersion, A.newVersion, Un(a.transaction), A);
12010
+ t(Xn(a.result), A.oldVersion, A.newVersion, Xn(a.transaction), A);
12004
12011
  }), i && a.addEventListener("blocked", (A) => i(
12005
12012
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
12006
12013
  A.oldVersion,
@@ -12210,7 +12217,7 @@ const k4 = {
12210
12217
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
12211
12218
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
12212
12219
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
12213
- }, Xn = new Nt("app", "Firebase", k4);
12220
+ }, Jn = new Nt("app", "Firebase", k4);
12214
12221
  /**
12215
12222
  * @license
12216
12223
  * Copyright 2019 Google LLC
@@ -12266,7 +12273,7 @@ class C4 {
12266
12273
  */
12267
12274
  checkDestroyed() {
12268
12275
  if (this.isDeleted)
12269
- throw Xn.create("app-deleted", { appName: this._name });
12276
+ throw Jn.create("app-deleted", { appName: this._name });
12270
12277
  }
12271
12278
  }
12272
12279
  /**
@@ -12291,11 +12298,11 @@ function I1(n, e = {}) {
12291
12298
  typeof e != "object" && (e = { name: e });
12292
12299
  const t = Object.assign({ name: ho, automaticDataCollectionEnabled: !1 }, e), r = t.name;
12293
12300
  if (typeof r != "string" || !r)
12294
- throw Xn.create("bad-app-name", {
12301
+ throw Jn.create("bad-app-name", {
12295
12302
  appName: String(r)
12296
12303
  });
12297
12304
  if (i || (i = k1()), !i)
12298
- throw Xn.create(
12305
+ throw Jn.create(
12299
12306
  "no-options"
12300
12307
  /* AppError.NO_OPTIONS */
12301
12308
  );
@@ -12303,7 +12310,7 @@ function I1(n, e = {}) {
12303
12310
  if (s) {
12304
12311
  if (Hr(i, s.options) && Hr(t, s.config))
12305
12312
  return s;
12306
- throw Xn.create("duplicate-app", { appName: r });
12313
+ throw Jn.create("duplicate-app", { appName: r });
12307
12314
  }
12308
12315
  const a = new Sk(r);
12309
12316
  for (const A of mo.values())
@@ -12316,7 +12323,7 @@ function x4(n = ho) {
12316
12323
  if (!e && n === ho && k1())
12317
12324
  return I1();
12318
12325
  if (!e)
12319
- throw Xn.create("no-app", { appName: n });
12326
+ throw Jn.create("no-app", { appName: n });
12320
12327
  return e;
12321
12328
  }
12322
12329
  function Pi(n, e, i) {
@@ -12369,7 +12376,7 @@ function N1() {
12369
12376
  }
12370
12377
  }
12371
12378
  }).catch((n) => {
12372
- throw Xn.create("idb-open", {
12379
+ throw Jn.create("idb-open", {
12373
12380
  originalErrorMessage: n.message
12374
12381
  });
12375
12382
  })), ma;
@@ -12379,10 +12386,10 @@ async function D4(n) {
12379
12386
  const i = (await N1()).transaction(kt), t = await i.objectStore(kt).get(S1(n));
12380
12387
  return await i.done, t;
12381
12388
  } catch (e) {
12382
- if (e instanceof ii)
12389
+ if (e instanceof ti)
12383
12390
  Sn.warn(e.message);
12384
12391
  else {
12385
- const i = Xn.create("idb-get", {
12392
+ const i = Jn.create("idb-get", {
12386
12393
  originalErrorMessage: e == null ? void 0 : e.message
12387
12394
  });
12388
12395
  Sn.warn(i.message);
@@ -12394,10 +12401,10 @@ async function xd(n, e) {
12394
12401
  const t = (await N1()).transaction(kt, "readwrite");
12395
12402
  await t.objectStore(kt).put(e, S1(n)), await t.done;
12396
12403
  } catch (i) {
12397
- if (i instanceof ii)
12404
+ if (i instanceof ti)
12398
12405
  Sn.warn(i.message);
12399
12406
  else {
12400
- const t = Xn.create("idb-set", {
12407
+ const t = Jn.create("idb-set", {
12401
12408
  originalErrorMessage: i == null ? void 0 : i.message
12402
12409
  });
12403
12410
  Sn.warn(t.message);
@@ -12985,7 +12992,7 @@ async function M1(n, e, i) {
12985
12992
  gn(n, d);
12986
12993
  }
12987
12994
  } catch (r) {
12988
- if (r instanceof ii)
12995
+ if (r instanceof ti)
12989
12996
  throw r;
12990
12997
  gn(n, "network-request-failed", { message: String(r) });
12991
12998
  }
@@ -13140,7 +13147,7 @@ async function Ct(n, e, i = !1) {
13140
13147
  try {
13141
13148
  return await e;
13142
13149
  } catch (t) {
13143
- throw t instanceof ii && V4(t) && n.auth.currentUser === n && await n.auth.signOut(), t;
13150
+ throw t instanceof ti && V4(t) && n.auth.currentUser === n && await n.auth.signOut(), t;
13144
13151
  }
13145
13152
  }
13146
13153
  function V4({ code: n }) {
@@ -15109,7 +15116,7 @@ function Md(n) {
15109
15116
  * See the License for the specific language governing permissions and
15110
15117
  * limitations under the License.
15111
15118
  */
15112
- class Yr extends ii {
15119
+ class Yr extends ti {
15113
15120
  constructor(e, i, t, r) {
15114
15121
  var s;
15115
15122
  super(i.code, i.message), this.operationType = t, this.user = r, Object.setPrototypeOf(this, Yr.prototype), this.customData = {
@@ -16098,11 +16105,11 @@ async function H6(n, e, i) {
16098
16105
  const t = ys(n);
16099
16106
  R4(n, e, BA);
16100
16107
  const r = sh(t, i);
16101
- return new ci(t, "signInViaPopup", e, r).executeNotNull();
16108
+ return new li(t, "signInViaPopup", e, r).executeNotNull();
16102
16109
  }
16103
- class ci extends ah {
16110
+ class li extends ah {
16104
16111
  constructor(e, i, t, r, s) {
16105
- super(e, i, r, s), this.provider = t, this.authWindow = null, this.pollId = null, ci.currentPopupAction && ci.currentPopupAction.cancel(), ci.currentPopupAction = this;
16112
+ super(e, i, r, s), this.provider = t, this.authWindow = null, this.pollId = null, li.currentPopupAction && li.currentPopupAction.cancel(), li.currentPopupAction = this;
16106
16113
  }
16107
16114
  async executeNotNull() {
16108
16115
  const e = await this.execute();
@@ -16144,7 +16151,7 @@ class ci extends ah {
16144
16151
  ));
16145
16152
  }
16146
16153
  cleanUp() {
16147
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, ci.currentPopupAction = null;
16154
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, li.currentPopupAction = null;
16148
16155
  }
16149
16156
  pollUserCancellation() {
16150
16157
  const e = () => {
@@ -16168,7 +16175,7 @@ class ci extends ah {
16168
16175
  e();
16169
16176
  }
16170
16177
  }
16171
- ci.currentPopupAction = null;
16178
+ li.currentPopupAction = null;
16172
16179
  /**
16173
16180
  * @license
16174
16181
  * Copyright 2020 Google LLC
@@ -17135,7 +17142,7 @@ const p7 = (n) => {
17135
17142
  return t;
17136
17143
  };
17137
17144
  return i(n, 0);
17138
- }, v7 = an("AsyncFunction"), w7 = (n) => n && (Ds(n) || Xe(n)) && Xe(n.then) && Xe(n.catch), R = {
17145
+ }, v7 = an("AsyncFunction"), w7 = (n) => n && (Ds(n) || Xe(n)) && Xe(n.then) && Xe(n.catch), F = {
17139
17146
  isArray: tt,
17140
17147
  isArrayBuffer: fh,
17141
17148
  isBuffer: F9,
@@ -17196,7 +17203,7 @@ const p7 = (n) => {
17196
17203
  function _(n, e, i, t, r) {
17197
17204
  Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = n, this.name = "AxiosError", e && (this.code = e), i && (this.config = i), t && (this.request = t), r && (this.response = r);
17198
17205
  }
17199
- R.inherits(_, Error, {
17206
+ F.inherits(_, Error, {
17200
17207
  toJSON: function() {
17201
17208
  return {
17202
17209
  // Standard
@@ -17211,7 +17218,7 @@ R.inherits(_, Error, {
17211
17218
  columnNumber: this.columnNumber,
17212
17219
  stack: this.stack,
17213
17220
  // Axios
17214
- config: R.toJSONObject(this.config),
17221
+ config: F.toJSONObject(this.config),
17215
17222
  code: this.code,
17216
17223
  status: this.response && this.response.status ? this.response.status : null
17217
17224
  };
@@ -17239,16 +17246,16 @@ Object.defineProperties(_, ph);
17239
17246
  Object.defineProperty(gh, "isAxiosError", { value: !0 });
17240
17247
  _.from = (n, e, i, t, r, s) => {
17241
17248
  const a = Object.create(gh);
17242
- return R.toFlatObject(n, a, function(A) {
17249
+ return F.toFlatObject(n, a, function(A) {
17243
17250
  return A !== Error.prototype;
17244
17251
  }, (o) => o !== "isAxiosError"), _.call(a, n.message, e, i, t, r), a.cause = n, a.name = n.name, s && Object.assign(a, s), a;
17245
17252
  };
17246
17253
  const b7 = null;
17247
17254
  function bo(n) {
17248
- return R.isPlainObject(n) || R.isArray(n);
17255
+ return F.isPlainObject(n) || F.isArray(n);
17249
17256
  }
17250
17257
  function vh(n) {
17251
- return R.endsWith(n, "[]") ? n.slice(0, -2) : n;
17258
+ return F.endsWith(n, "[]") ? n.slice(0, -2) : n;
17252
17259
  }
17253
17260
  function Vd(n, e, i) {
17254
17261
  return n ? n.concat(e).map(function(r, s) {
@@ -17256,40 +17263,40 @@ function Vd(n, e, i) {
17256
17263
  }).join(i ? "." : "") : e;
17257
17264
  }
17258
17265
  function y7(n) {
17259
- return R.isArray(n) && !n.some(bo);
17266
+ return F.isArray(n) && !n.some(bo);
17260
17267
  }
17261
- const k7 = R.toFlatObject(R, {}, null, function(e) {
17268
+ const k7 = F.toFlatObject(F, {}, null, function(e) {
17262
17269
  return /^is[A-Z]/.test(e);
17263
17270
  });
17264
17271
  function Is(n, e, i) {
17265
- if (!R.isObject(n))
17272
+ if (!F.isObject(n))
17266
17273
  throw new TypeError("target must be an object");
17267
- e = e || new FormData(), i = R.toFlatObject(i, {
17274
+ e = e || new FormData(), i = F.toFlatObject(i, {
17268
17275
  metaTokens: !0,
17269
17276
  dots: !1,
17270
17277
  indexes: !1
17271
17278
  }, !1, function(w, p) {
17272
- return !R.isUndefined(p[w]);
17279
+ return !F.isUndefined(p[w]);
17273
17280
  });
17274
- const t = i.metaTokens, r = i.visitor || d, s = i.dots, a = i.indexes, A = (i.Blob || typeof Blob < "u" && Blob) && R.isSpecCompliantForm(e);
17275
- if (!R.isFunction(r))
17281
+ const t = i.metaTokens, r = i.visitor || d, s = i.dots, a = i.indexes, A = (i.Blob || typeof Blob < "u" && Blob) && F.isSpecCompliantForm(e);
17282
+ if (!F.isFunction(r))
17276
17283
  throw new TypeError("visitor must be a function");
17277
17284
  function f(m) {
17278
17285
  if (m === null) return "";
17279
- if (R.isDate(m))
17286
+ if (F.isDate(m))
17280
17287
  return m.toISOString();
17281
- if (!A && R.isBlob(m))
17288
+ if (!A && F.isBlob(m))
17282
17289
  throw new _("Blob is not supported. Use a Buffer instead.");
17283
- return R.isArrayBuffer(m) || R.isTypedArray(m) ? A && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
17290
+ return F.isArrayBuffer(m) || F.isTypedArray(m) ? A && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
17284
17291
  }
17285
17292
  function d(m, w, p) {
17286
17293
  let b = m;
17287
17294
  if (m && !p && typeof m == "object") {
17288
- if (R.endsWith(w, "{}"))
17295
+ if (F.endsWith(w, "{}"))
17289
17296
  w = t ? w : w.slice(0, -2), m = JSON.stringify(m);
17290
- else if (R.isArray(m) && y7(m) || (R.isFileList(m) || R.endsWith(w, "[]")) && (b = R.toArray(m)))
17297
+ else if (F.isArray(m) && y7(m) || (F.isFileList(m) || F.endsWith(w, "[]")) && (b = F.toArray(m)))
17291
17298
  return w = vh(w), b.forEach(function(v, x) {
17292
- !(R.isUndefined(v) || v === null) && e.append(
17299
+ !(F.isUndefined(v) || v === null) && e.append(
17293
17300
  // eslint-disable-next-line no-nested-ternary
17294
17301
  a === !0 ? Vd([w], x, s) : a === null ? w : w + "[]",
17295
17302
  f(v)
@@ -17304,21 +17311,21 @@ function Is(n, e, i) {
17304
17311
  isVisitable: bo
17305
17312
  });
17306
17313
  function u(m, w) {
17307
- if (!R.isUndefined(m)) {
17314
+ if (!F.isUndefined(m)) {
17308
17315
  if (c.indexOf(m) !== -1)
17309
17316
  throw Error("Circular reference detected in " + w.join("."));
17310
- c.push(m), R.forEach(m, function(b, g) {
17311
- (!(R.isUndefined(b) || b === null) && r.call(
17317
+ c.push(m), F.forEach(m, function(b, g) {
17318
+ (!(F.isUndefined(b) || b === null) && r.call(
17312
17319
  e,
17313
17320
  b,
17314
- R.isString(g) ? g.trim() : g,
17321
+ F.isString(g) ? g.trim() : g,
17315
17322
  w,
17316
17323
  l
17317
17324
  )) === !0 && u(b, w ? w.concat(g) : [g]);
17318
17325
  }), c.pop();
17319
17326
  }
17320
17327
  }
17321
- if (!R.isObject(n))
17328
+ if (!F.isObject(n))
17322
17329
  throw new TypeError("data must be an object");
17323
17330
  return u(n), e;
17324
17331
  }
@@ -17359,7 +17366,7 @@ function bh(n, e, i) {
17359
17366
  return n;
17360
17367
  const t = i && i.encode || C7, r = i && i.serialize;
17361
17368
  let s;
17362
- if (r ? s = r(e, i) : s = R.isURLSearchParams(e) ? e.toString() : new SA(e, i).toString(t), s) {
17369
+ if (r ? s = r(e, i) : s = F.isURLSearchParams(e) ? e.toString() : new SA(e, i).toString(t), s) {
17363
17370
  const a = n.indexOf("#");
17364
17371
  a !== -1 && (n = n.slice(0, a)), n += (n.indexOf("?") === -1 ? "?" : "&") + s;
17365
17372
  }
@@ -17414,7 +17421,7 @@ class Xd {
17414
17421
  * @returns {void}
17415
17422
  */
17416
17423
  forEach(e) {
17417
- R.forEach(this.handlers, function(t) {
17424
+ F.forEach(this.handlers, function(t) {
17418
17425
  t !== null && e(t);
17419
17426
  });
17420
17427
  }
@@ -17445,12 +17452,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", S7
17445
17452
  function P7(n, e) {
17446
17453
  return Is(n, new tn.classes.URLSearchParams(), Object.assign({
17447
17454
  visitor: function(i, t, r, s) {
17448
- return tn.isNode && R.isBuffer(i) ? (this.append(t, i.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
17455
+ return tn.isNode && F.isBuffer(i) ? (this.append(t, i.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
17449
17456
  }
17450
17457
  }, e));
17451
17458
  }
17452
17459
  function T7(n) {
17453
- return R.matchAll(/\w+|\[(\w*)]/g, n).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
17460
+ return F.matchAll(/\w+|\[(\w*)]/g, n).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
17454
17461
  }
17455
17462
  function M7(n) {
17456
17463
  const e = {}, i = Object.keys(n);
@@ -17466,20 +17473,20 @@ function kh(n) {
17466
17473
  let a = i[s++];
17467
17474
  if (a === "__proto__") return !0;
17468
17475
  const o = Number.isFinite(+a), A = s >= i.length;
17469
- return a = !a && R.isArray(r) ? r.length : a, A ? (R.hasOwnProp(r, a) ? r[a] = [r[a], t] : r[a] = t, !o) : ((!r[a] || !R.isObject(r[a])) && (r[a] = []), e(i, t, r[a], s) && R.isArray(r[a]) && (r[a] = M7(r[a])), !o);
17476
+ return a = !a && F.isArray(r) ? r.length : a, A ? (F.hasOwnProp(r, a) ? r[a] = [r[a], t] : r[a] = t, !o) : ((!r[a] || !F.isObject(r[a])) && (r[a] = []), e(i, t, r[a], s) && F.isArray(r[a]) && (r[a] = M7(r[a])), !o);
17470
17477
  }
17471
- if (R.isFormData(n) && R.isFunction(n.entries)) {
17478
+ if (F.isFormData(n) && F.isFunction(n.entries)) {
17472
17479
  const i = {};
17473
- return R.forEachEntry(n, (t, r) => {
17480
+ return F.forEachEntry(n, (t, r) => {
17474
17481
  e(T7(t), r, i, 0);
17475
17482
  }), i;
17476
17483
  }
17477
17484
  return null;
17478
17485
  }
17479
17486
  function j7(n, e, i) {
17480
- if (R.isString(n))
17487
+ if (F.isString(n))
17481
17488
  try {
17482
- return (e || JSON.parse)(n), R.trim(n);
17489
+ return (e || JSON.parse)(n), F.trim(n);
17483
17490
  } catch (t) {
17484
17491
  if (t.name !== "SyntaxError")
17485
17492
  throw t;
@@ -17490,20 +17497,20 @@ const Rt = {
17490
17497
  transitional: yh,
17491
17498
  adapter: ["xhr", "http", "fetch"],
17492
17499
  transformRequest: [function(e, i) {
17493
- const t = i.getContentType() || "", r = t.indexOf("application/json") > -1, s = R.isObject(e);
17494
- if (s && R.isHTMLForm(e) && (e = new FormData(e)), R.isFormData(e))
17500
+ const t = i.getContentType() || "", r = t.indexOf("application/json") > -1, s = F.isObject(e);
17501
+ if (s && F.isHTMLForm(e) && (e = new FormData(e)), F.isFormData(e))
17495
17502
  return r ? JSON.stringify(kh(e)) : e;
17496
- if (R.isArrayBuffer(e) || R.isBuffer(e) || R.isStream(e) || R.isFile(e) || R.isBlob(e) || R.isReadableStream(e))
17503
+ if (F.isArrayBuffer(e) || F.isBuffer(e) || F.isStream(e) || F.isFile(e) || F.isBlob(e) || F.isReadableStream(e))
17497
17504
  return e;
17498
- if (R.isArrayBufferView(e))
17505
+ if (F.isArrayBufferView(e))
17499
17506
  return e.buffer;
17500
- if (R.isURLSearchParams(e))
17507
+ if (F.isURLSearchParams(e))
17501
17508
  return i.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), e.toString();
17502
17509
  let o;
17503
17510
  if (s) {
17504
17511
  if (t.indexOf("application/x-www-form-urlencoded") > -1)
17505
17512
  return P7(e, this.formSerializer).toString();
17506
- if ((o = R.isFileList(e)) || t.indexOf("multipart/form-data") > -1) {
17513
+ if ((o = F.isFileList(e)) || t.indexOf("multipart/form-data") > -1) {
17507
17514
  const A = this.env && this.env.FormData;
17508
17515
  return Is(
17509
17516
  o ? { "files[]": e } : e,
@@ -17516,9 +17523,9 @@ const Rt = {
17516
17523
  }],
17517
17524
  transformResponse: [function(e) {
17518
17525
  const i = this.transitional || Rt.transitional, t = i && i.forcedJSONParsing, r = this.responseType === "json";
17519
- if (R.isResponse(e) || R.isReadableStream(e))
17526
+ if (F.isResponse(e) || F.isReadableStream(e))
17520
17527
  return e;
17521
- if (e && R.isString(e) && (t && !this.responseType || r)) {
17528
+ if (e && F.isString(e) && (t && !this.responseType || r)) {
17522
17529
  const a = !(i && i.silentJSONParsing) && r;
17523
17530
  try {
17524
17531
  return JSON.parse(e);
@@ -17552,10 +17559,10 @@ const Rt = {
17552
17559
  }
17553
17560
  }
17554
17561
  };
17555
- R.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
17562
+ F.forEach(["delete", "get", "head", "post", "put", "patch"], (n) => {
17556
17563
  Rt.headers[n] = {};
17557
17564
  });
17558
- const R7 = R.toObjectSet([
17565
+ const R7 = F.toObjectSet([
17559
17566
  "age",
17560
17567
  "authorization",
17561
17568
  "content-length",
@@ -17585,7 +17592,7 @@ function at(n) {
17585
17592
  return n && String(n).trim().toLowerCase();
17586
17593
  }
17587
17594
  function kr(n) {
17588
- return n === !1 || n == null ? n : R.isArray(n) ? n.map(kr) : String(n);
17595
+ return n === !1 || n == null ? n : F.isArray(n) ? n.map(kr) : String(n);
17589
17596
  }
17590
17597
  function L7(n) {
17591
17598
  const e = /* @__PURE__ */ Object.create(null), i = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -17596,12 +17603,12 @@ function L7(n) {
17596
17603
  }
17597
17604
  const H7 = (n) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());
17598
17605
  function wa(n, e, i, t, r) {
17599
- if (R.isFunction(t))
17606
+ if (F.isFunction(t))
17600
17607
  return t.call(this, e, i);
17601
- if (r && (e = i), !!R.isString(e)) {
17602
- if (R.isString(t))
17608
+ if (r && (e = i), !!F.isString(e)) {
17609
+ if (F.isString(t))
17603
17610
  return e.indexOf(t) !== -1;
17604
- if (R.isRegExp(t))
17611
+ if (F.isRegExp(t))
17605
17612
  return t.test(e);
17606
17613
  }
17607
17614
  }
@@ -17609,7 +17616,7 @@ function z7(n) {
17609
17616
  return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (e, i, t) => i.toUpperCase() + t);
17610
17617
  }
17611
17618
  function W7(n, e) {
17612
- const i = R.toCamelCase(" " + e);
17619
+ const i = F.toCamelCase(" " + e);
17613
17620
  ["get", "set", "has"].forEach((t) => {
17614
17621
  Object.defineProperty(n, t + i, {
17615
17622
  value: function(r, s, a) {
@@ -17629,15 +17636,15 @@ class Fe {
17629
17636
  const d = at(A);
17630
17637
  if (!d)
17631
17638
  throw new Error("header name must be a non-empty string");
17632
- const c = R.findKey(r, d);
17639
+ const c = F.findKey(r, d);
17633
17640
  (!c || r[c] === void 0 || f === !0 || f === void 0 && r[c] !== !1) && (r[c || A] = kr(o));
17634
17641
  }
17635
- const a = (o, A) => R.forEach(o, (f, d) => s(f, d, A));
17636
- if (R.isPlainObject(e) || e instanceof this.constructor)
17642
+ const a = (o, A) => F.forEach(o, (f, d) => s(f, d, A));
17643
+ if (F.isPlainObject(e) || e instanceof this.constructor)
17637
17644
  a(e, i);
17638
- else if (R.isString(e) && (e = e.trim()) && !H7(e))
17645
+ else if (F.isString(e) && (e = e.trim()) && !H7(e))
17639
17646
  a(F7(e), i);
17640
- else if (R.isHeaders(e))
17647
+ else if (F.isHeaders(e))
17641
17648
  for (const [o, A] of e.entries())
17642
17649
  s(A, o, t);
17643
17650
  else
@@ -17646,16 +17653,16 @@ class Fe {
17646
17653
  }
17647
17654
  get(e, i) {
17648
17655
  if (e = at(e), e) {
17649
- const t = R.findKey(this, e);
17656
+ const t = F.findKey(this, e);
17650
17657
  if (t) {
17651
17658
  const r = this[t];
17652
17659
  if (!i)
17653
17660
  return r;
17654
17661
  if (i === !0)
17655
17662
  return L7(r);
17656
- if (R.isFunction(i))
17663
+ if (F.isFunction(i))
17657
17664
  return i.call(this, r, t);
17658
- if (R.isRegExp(i))
17665
+ if (F.isRegExp(i))
17659
17666
  return i.exec(r);
17660
17667
  throw new TypeError("parser must be boolean|regexp|function");
17661
17668
  }
@@ -17663,7 +17670,7 @@ class Fe {
17663
17670
  }
17664
17671
  has(e, i) {
17665
17672
  if (e = at(e), e) {
17666
- const t = R.findKey(this, e);
17673
+ const t = F.findKey(this, e);
17667
17674
  return !!(t && this[t] !== void 0 && (!i || wa(this, this[t], t, i)));
17668
17675
  }
17669
17676
  return !1;
@@ -17673,11 +17680,11 @@ class Fe {
17673
17680
  let r = !1;
17674
17681
  function s(a) {
17675
17682
  if (a = at(a), a) {
17676
- const o = R.findKey(t, a);
17683
+ const o = F.findKey(t, a);
17677
17684
  o && (!i || wa(t, t[o], o, i)) && (delete t[o], r = !0);
17678
17685
  }
17679
17686
  }
17680
- return R.isArray(e) ? e.forEach(s) : s(e), r;
17687
+ return F.isArray(e) ? e.forEach(s) : s(e), r;
17681
17688
  }
17682
17689
  clear(e) {
17683
17690
  const i = Object.keys(this);
@@ -17690,8 +17697,8 @@ class Fe {
17690
17697
  }
17691
17698
  normalize(e) {
17692
17699
  const i = this, t = {};
17693
- return R.forEach(this, (r, s) => {
17694
- const a = R.findKey(t, s);
17700
+ return F.forEach(this, (r, s) => {
17701
+ const a = F.findKey(t, s);
17695
17702
  if (a) {
17696
17703
  i[a] = kr(r), delete i[s];
17697
17704
  return;
@@ -17705,8 +17712,8 @@ class Fe {
17705
17712
  }
17706
17713
  toJSON(e) {
17707
17714
  const i = /* @__PURE__ */ Object.create(null);
17708
- return R.forEach(this, (t, r) => {
17709
- t != null && t !== !1 && (i[r] = e && R.isArray(t) ? t.join(", ") : t);
17715
+ return F.forEach(this, (t, r) => {
17716
+ t != null && t !== !1 && (i[r] = e && F.isArray(t) ? t.join(", ") : t);
17710
17717
  }), i;
17711
17718
  }
17712
17719
  [Symbol.iterator]() {
@@ -17734,11 +17741,11 @@ class Fe {
17734
17741
  const o = at(a);
17735
17742
  t[o] || (W7(r, a), t[o] = !0);
17736
17743
  }
17737
- return R.isArray(e) ? e.forEach(s) : s(e), this;
17744
+ return F.isArray(e) ? e.forEach(s) : s(e), this;
17738
17745
  }
17739
17746
  }
17740
17747
  Fe.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
17741
- R.reduceDescriptors(Fe.prototype, ({ value: n }, e) => {
17748
+ F.reduceDescriptors(Fe.prototype, ({ value: n }, e) => {
17742
17749
  let i = e[0].toUpperCase() + e.slice(1);
17743
17750
  return {
17744
17751
  get: () => n,
@@ -17747,11 +17754,11 @@ R.reduceDescriptors(Fe.prototype, ({ value: n }, e) => {
17747
17754
  }
17748
17755
  };
17749
17756
  });
17750
- R.freezeMethods(Fe);
17757
+ F.freezeMethods(Fe);
17751
17758
  function ba(n, e) {
17752
17759
  const i = this || Rt, t = e || i, r = Fe.from(t.headers);
17753
17760
  let s = t.data;
17754
- return R.forEach(n, function(o) {
17761
+ return F.forEach(n, function(o) {
17755
17762
  s = o.call(i, s, r.normalize(), e ? e.status : void 0);
17756
17763
  }), r.normalize(), s;
17757
17764
  }
@@ -17761,7 +17768,7 @@ function Ch(n) {
17761
17768
  function rt(n, e, i) {
17762
17769
  _.call(this, n ?? "canceled", _.ERR_CANCELED, e, i), this.name = "CanceledError";
17763
17770
  }
17764
- R.inherits(rt, _, {
17771
+ F.inherits(rt, _, {
17765
17772
  __CANCEL__: !0
17766
17773
  });
17767
17774
  function xh(n, e, i) {
@@ -17843,7 +17850,7 @@ const Vr = (n, e, i = 3) => {
17843
17850
  };
17844
17851
  }
17845
17852
  return t = r(window.location.href), function(a) {
17846
- const o = R.isString(a) ? r(a) : a;
17853
+ const o = F.isString(a) ? r(a) : a;
17847
17854
  return o.protocol === t.protocol && o.host === t.host;
17848
17855
  };
17849
17856
  }()
@@ -17859,7 +17866,7 @@ const Vr = (n, e, i = 3) => {
17859
17866
  {
17860
17867
  write(n, e, i, t, r, s) {
17861
17868
  const a = [n + "=" + encodeURIComponent(e)];
17862
- R.isNumber(i) && a.push("expires=" + new Date(i).toGMTString()), R.isString(t) && a.push("path=" + t), R.isString(r) && a.push("domain=" + r), s === !0 && a.push("secure"), document.cookie = a.join("; ");
17869
+ F.isNumber(i) && a.push("expires=" + new Date(i).toGMTString()), F.isString(t) && a.push("path=" + t), F.isString(r) && a.push("domain=" + r), s === !0 && a.push("secure"), document.cookie = a.join("; ");
17863
17870
  },
17864
17871
  read(n) {
17865
17872
  const e = document.cookie.match(new RegExp("(^|;\\s*)(" + n + ")=([^;]*)"));
@@ -17895,21 +17902,21 @@ function xi(n, e) {
17895
17902
  e = e || {};
17896
17903
  const i = {};
17897
17904
  function t(f, d, c) {
17898
- return R.isPlainObject(f) && R.isPlainObject(d) ? R.merge.call({ caseless: c }, f, d) : R.isPlainObject(d) ? R.merge({}, d) : R.isArray(d) ? d.slice() : d;
17905
+ return F.isPlainObject(f) && F.isPlainObject(d) ? F.merge.call({ caseless: c }, f, d) : F.isPlainObject(d) ? F.merge({}, d) : F.isArray(d) ? d.slice() : d;
17899
17906
  }
17900
17907
  function r(f, d, c) {
17901
- if (R.isUndefined(d)) {
17902
- if (!R.isUndefined(f))
17908
+ if (F.isUndefined(d)) {
17909
+ if (!F.isUndefined(f))
17903
17910
  return t(void 0, f, c);
17904
17911
  } else return t(f, d, c);
17905
17912
  }
17906
17913
  function s(f, d) {
17907
- if (!R.isUndefined(d))
17914
+ if (!F.isUndefined(d))
17908
17915
  return t(void 0, d);
17909
17916
  }
17910
17917
  function a(f, d) {
17911
- if (R.isUndefined(d)) {
17912
- if (!R.isUndefined(f))
17918
+ if (F.isUndefined(d)) {
17919
+ if (!F.isUndefined(f))
17913
17920
  return t(void 0, f);
17914
17921
  } else return t(void 0, d);
17915
17922
  }
@@ -17950,9 +17957,9 @@ function xi(n, e) {
17950
17957
  validateStatus: o,
17951
17958
  headers: (f, d) => r(Kd(f), Kd(d), !0)
17952
17959
  };
17953
- return R.forEach(Object.keys(Object.assign({}, n, e)), function(d) {
17960
+ return F.forEach(Object.keys(Object.assign({}, n, e)), function(d) {
17954
17961
  const c = A[d] || r, l = c(n[d], e[d], d);
17955
- R.isUndefined(l) && c !== o || (i[d] = l);
17962
+ F.isUndefined(l) && c !== o || (i[d] = l);
17956
17963
  }), i;
17957
17964
  }
17958
17965
  const Bh = (n) => {
@@ -17963,7 +17970,7 @@ const Bh = (n) => {
17963
17970
  "Basic " + btoa((o.username || "") + ":" + (o.password ? unescape(encodeURIComponent(o.password)) : ""))
17964
17971
  );
17965
17972
  let A;
17966
- if (R.isFormData(i)) {
17973
+ if (F.isFormData(i)) {
17967
17974
  if (tn.hasStandardBrowserEnv || tn.hasStandardBrowserWebWorkerEnv)
17968
17975
  a.setContentType(void 0);
17969
17976
  else if ((A = a.getContentType()) !== !1) {
@@ -17971,7 +17978,7 @@ const Bh = (n) => {
17971
17978
  a.setContentType([f || "multipart/form-data", ...d].join("; "));
17972
17979
  }
17973
17980
  }
17974
- if (tn.hasStandardBrowserEnv && (t && R.isFunction(t) && (t = t(e)), t || t !== !1 && q7(e.url))) {
17981
+ if (tn.hasStandardBrowserEnv && (t && F.isFunction(t) && (t = t(e)), t || t !== !1 && q7(e.url))) {
17975
17982
  const f = r && s && V7.read(s);
17976
17983
  f && a.set(r, f);
17977
17984
  }
@@ -18021,9 +18028,9 @@ const Bh = (n) => {
18021
18028
  r,
18022
18029
  d
18023
18030
  )), d = null;
18024
- }, s === void 0 && a.setContentType(null), "setRequestHeader" in d && R.forEach(a.toJSON(), function(m, w) {
18031
+ }, s === void 0 && a.setContentType(null), "setRequestHeader" in d && F.forEach(a.toJSON(), function(m, w) {
18025
18032
  d.setRequestHeader(w, m);
18026
- }), R.isUndefined(r.withCredentials) || (d.withCredentials = !!r.withCredentials), o && o !== "json" && (d.responseType = r.responseType), typeof r.onDownloadProgress == "function" && d.addEventListener("progress", Vr(r.onDownloadProgress, !0)), typeof r.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Vr(r.onUploadProgress)), (r.cancelToken || r.signal) && (A = (u) => {
18033
+ }), F.isUndefined(r.withCredentials) || (d.withCredentials = !!r.withCredentials), o && o !== "json" && (d.responseType = r.responseType), typeof r.onDownloadProgress == "function" && d.addEventListener("progress", Vr(r.onDownloadProgress, !0)), typeof r.onUploadProgress == "function" && d.upload && d.upload.addEventListener("progress", Vr(r.onUploadProgress)), (r.cancelToken || r.signal) && (A = (u) => {
18027
18034
  d && (t(!u || u.type ? new rt(null, n, d) : u), d.abort(), d = null);
18028
18035
  }, r.cancelToken && r.cancelToken.subscribe(A), r.signal && (r.signal.aborted ? A() : r.signal.addEventListener("abort", A)));
18029
18036
  const l = Q7(r.url);
@@ -18106,7 +18113,7 @@ const Bh = (n) => {
18106
18113
  return n && !e;
18107
18114
  })(), $d = 64 * 1024, ko = Dh && !!(() => {
18108
18115
  try {
18109
- return R.isReadableStream(new Response("").body);
18116
+ return F.isReadableStream(new Response("").body);
18110
18117
  } catch {
18111
18118
  }
18112
18119
  })(), Ur = {
@@ -18114,7 +18121,7 @@ const Bh = (n) => {
18114
18121
  };
18115
18122
  Ns && ((n) => {
18116
18123
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
18117
- !Ur[e] && (Ur[e] = R.isFunction(n[e]) ? (i) => i[e]() : (i, t) => {
18124
+ !Ur[e] && (Ur[e] = F.isFunction(n[e]) ? (i) => i[e]() : (i, t) => {
18118
18125
  throw new _(`Response type '${e}' is not supported`, _.ERR_NOT_SUPPORT, t);
18119
18126
  });
18120
18127
  });
@@ -18122,16 +18129,16 @@ Ns && ((n) => {
18122
18129
  const n5 = async (n) => {
18123
18130
  if (n == null)
18124
18131
  return 0;
18125
- if (R.isBlob(n))
18132
+ if (F.isBlob(n))
18126
18133
  return n.size;
18127
- if (R.isSpecCompliantForm(n))
18134
+ if (F.isSpecCompliantForm(n))
18128
18135
  return (await new Request(n).arrayBuffer()).byteLength;
18129
- if (R.isArrayBufferView(n))
18136
+ if (F.isArrayBufferView(n))
18130
18137
  return n.byteLength;
18131
- if (R.isURLSearchParams(n) && (n = n + ""), R.isString(n))
18138
+ if (F.isURLSearchParams(n) && (n = n + ""), F.isString(n))
18132
18139
  return (await yo(n)).byteLength;
18133
18140
  }, i5 = async (n, e) => {
18134
- const i = R.toFiniteNumber(n.getContentLength());
18141
+ const i = F.toFiniteNumber(n.getContentLength());
18135
18142
  return i ?? n5(e);
18136
18143
  }, t5 = Ns && (async (n) => {
18137
18144
  let {
@@ -18163,12 +18170,12 @@ const n5 = async (n) => {
18163
18170
  body: t,
18164
18171
  duplex: "half"
18165
18172
  }), C;
18166
- R.isFormData(t) && (C = y.headers.get("content-type")) && d.setContentType(C), y.body && (t = Zd(y.body, $d, _d(
18173
+ F.isFormData(t) && (C = y.headers.get("content-type")) && d.setContentType(C), y.body && (t = Zd(y.body, $d, _d(
18167
18174
  g,
18168
18175
  Vr(A)
18169
18176
  ), null, yo));
18170
18177
  }
18171
- R.isString(c) || (c = c ? "cors" : "omit"), p = new Request(e, {
18178
+ F.isString(c) || (c = c ? "cors" : "omit"), p = new Request(e, {
18172
18179
  ...l,
18173
18180
  signal: u,
18174
18181
  method: i.toUpperCase(),
@@ -18184,7 +18191,7 @@ const n5 = async (n) => {
18184
18191
  ["status", "statusText", "headers"].forEach((N) => {
18185
18192
  y[N] = v[N];
18186
18193
  });
18187
- const C = R.toFiniteNumber(v.headers.get("content-length"));
18194
+ const C = F.toFiniteNumber(v.headers.get("content-length"));
18188
18195
  v = new Response(
18189
18196
  Zd(v.body, $d, o && _d(
18190
18197
  C,
@@ -18194,7 +18201,7 @@ const n5 = async (n) => {
18194
18201
  );
18195
18202
  }
18196
18203
  f = f || "text";
18197
- let k = await Ur[R.findKey(Ur, f) || "text"](v, n);
18204
+ let k = await Ur[F.findKey(Ur, f) || "text"](v, n);
18198
18205
  return !x && b(), m && m(), await new Promise((y, C) => {
18199
18206
  xh(y, C, {
18200
18207
  data: k,
@@ -18218,7 +18225,7 @@ const n5 = async (n) => {
18218
18225
  xhr: K7,
18219
18226
  fetch: t5
18220
18227
  };
18221
- R.forEach(Co, (n, e) => {
18228
+ F.forEach(Co, (n, e) => {
18222
18229
  if (n) {
18223
18230
  try {
18224
18231
  Object.defineProperty(n, "name", { value: e });
@@ -18227,9 +18234,9 @@ R.forEach(Co, (n, e) => {
18227
18234
  Object.defineProperty(n, "adapterName", { value: e });
18228
18235
  }
18229
18236
  });
18230
- const ec = (n) => `- ${n}`, r5 = (n) => R.isFunction(n) || n === null || n === !1, Ih = {
18237
+ const ec = (n) => `- ${n}`, r5 = (n) => F.isFunction(n) || n === null || n === !1, Ih = {
18231
18238
  getAdapter: (n) => {
18232
- n = R.isArray(n) ? n : [n];
18239
+ n = F.isArray(n) ? n : [n];
18233
18240
  const { length: e } = n;
18234
18241
  let i, t;
18235
18242
  const r = {};
@@ -18365,17 +18372,17 @@ class vi {
18365
18372
  silentJSONParsing: Fn.transitional(Fn.boolean),
18366
18373
  forcedJSONParsing: Fn.transitional(Fn.boolean),
18367
18374
  clarifyTimeoutError: Fn.transitional(Fn.boolean)
18368
- }, !1), r != null && (R.isFunction(r) ? i.paramsSerializer = {
18375
+ }, !1), r != null && (F.isFunction(r) ? i.paramsSerializer = {
18369
18376
  serialize: r
18370
18377
  } : xo.assertOptions(r, {
18371
18378
  encode: Fn.function,
18372
18379
  serialize: Fn.function
18373
18380
  }, !0)), i.method = (i.method || this.defaults.method || "get").toLowerCase();
18374
- let a = s && R.merge(
18381
+ let a = s && F.merge(
18375
18382
  s.common,
18376
18383
  s[i.method]
18377
18384
  );
18378
- s && R.forEach(
18385
+ s && F.forEach(
18379
18386
  ["delete", "get", "head", "post", "put", "patch", "common"],
18380
18387
  (m) => {
18381
18388
  delete s[m];
@@ -18423,7 +18430,7 @@ class vi {
18423
18430
  return bh(i, e.params, e.paramsSerializer);
18424
18431
  }
18425
18432
  }
18426
- R.forEach(["delete", "get", "head", "options"], function(e) {
18433
+ F.forEach(["delete", "get", "head", "options"], function(e) {
18427
18434
  vi.prototype[e] = function(i, t) {
18428
18435
  return this.request(xi(t || {}, {
18429
18436
  method: e,
@@ -18432,7 +18439,7 @@ R.forEach(["delete", "get", "head", "options"], function(e) {
18432
18439
  }));
18433
18440
  };
18434
18441
  });
18435
- R.forEach(["post", "put", "patch"], function(e) {
18442
+ F.forEach(["post", "put", "patch"], function(e) {
18436
18443
  function i(t) {
18437
18444
  return function(s, a, o) {
18438
18445
  return this.request(xi(o || {}, {
@@ -18520,7 +18527,7 @@ function a5(n) {
18520
18527
  };
18521
18528
  }
18522
18529
  function o5(n) {
18523
- return R.isObject(n) && n.isAxiosError === !0;
18530
+ return F.isObject(n) && n.isAxiosError === !0;
18524
18531
  }
18525
18532
  const Eo = {
18526
18533
  Continue: 100,
@@ -18592,7 +18599,7 @@ Object.entries(Eo).forEach(([n, e]) => {
18592
18599
  });
18593
18600
  function Sh(n) {
18594
18601
  const e = new vi(n), i = Ah(vi.prototype.request, e);
18595
- return R.extend(i, vi.prototype, e, { allOwnKeys: !0 }), R.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(r) {
18602
+ return F.extend(i, vi.prototype, e, { allOwnKeys: !0 }), F.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(r) {
18596
18603
  return Sh(xi(n, r));
18597
18604
  }, i;
18598
18605
  }
@@ -18612,7 +18619,7 @@ xe.spread = a5;
18612
18619
  xe.isAxiosError = o5;
18613
18620
  xe.mergeConfig = xi;
18614
18621
  xe.AxiosHeaders = Fe;
18615
- xe.formToJSON = (n) => kh(R.isHTMLForm(n) ? new FormData(n) : n);
18622
+ xe.formToJSON = (n) => kh(F.isHTMLForm(n) ? new FormData(n) : n);
18616
18623
  xe.getAdapter = Ih.getAdapter;
18617
18624
  xe.HttpStatusCode = Eo;
18618
18625
  xe.default = xe;
@@ -18885,11 +18892,11 @@ const Ei = ({
18885
18892
  console.log("mediaData", B);
18886
18893
  const E = (D = (I = (N = T == null ? void 0 : T.data) == null ? void 0 : N.results) == null ? void 0 : I[0]) == null ? void 0 : D.location;
18887
18894
  E || console.log("No location found in upload result.");
18888
- const H = await i.createRoomStanza(
18895
+ const j = await i.createRoomStanza(
18889
18896
  s,
18890
18897
  o
18891
18898
  );
18892
- i.getRoomsStanza(), e($e({ roomJID: H })), E && (i.setRoomImageStanza(H, E, "icon", "none"), e(Hi({ jid: H, updates: { icon: E } }))), r(!1), l({ name: "", description: "" }), a(""), A("");
18899
+ i.getRoomsStanza(), e($e({ roomJID: j })), E && (i.setRoomImageStanza(j, E, "icon", "none"), e(Hi({ jid: j, updates: { icon: E } }))), r(!1), l({ name: "", description: "" }), a(""), A("");
18893
18900
  }
18894
18901
  };
18895
18902
  return /* @__PURE__ */ O(we, { children: [
@@ -19207,9 +19214,9 @@ function E5() {
19207
19214
  }
19208
19215
  }
19209
19216
  }
19210
- var k = A, y = f, C = o, N = a, I = e, D = d, B = t, T = m, E = u, H = i, Q = s, W = r, V = c, ee = !1;
19211
- function q(Y) {
19212
- return ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(Y) || x(Y) === A;
19217
+ var k = A, y = f, C = o, N = a, I = e, D = d, B = t, T = m, E = u, j = i, W = s, Q = r, q = c, $ = !1;
19218
+ function V(Y) {
19219
+ return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), L(Y) || x(Y) === A;
19213
19220
  }
19214
19221
  function L(Y) {
19215
19222
  return x(Y) === f;
@@ -19220,10 +19227,10 @@ function E5() {
19220
19227
  function M(Y) {
19221
19228
  return x(Y) === a;
19222
19229
  }
19223
- function F(Y) {
19230
+ function H(Y) {
19224
19231
  return typeof Y == "object" && Y !== null && Y.$$typeof === e;
19225
19232
  }
19226
- function j(Y) {
19233
+ function R(Y) {
19227
19234
  return x(Y) === d;
19228
19235
  }
19229
19236
  function Z(Y) {
@@ -19232,7 +19239,7 @@ function E5() {
19232
19239
  function K(Y) {
19233
19240
  return x(Y) === m;
19234
19241
  }
19235
- function $(Y) {
19242
+ function ee(Y) {
19236
19243
  return x(Y) === u;
19237
19244
  }
19238
19245
  function ie(Y) {
@@ -19247,7 +19254,7 @@ function E5() {
19247
19254
  function Ee(Y) {
19248
19255
  return x(Y) === c;
19249
19256
  }
19250
- de.AsyncMode = k, de.ConcurrentMode = y, de.ContextConsumer = C, de.ContextProvider = N, de.Element = I, de.ForwardRef = D, de.Fragment = B, de.Lazy = T, de.Memo = E, de.Portal = H, de.Profiler = Q, de.StrictMode = W, de.Suspense = V, de.isAsyncMode = q, de.isConcurrentMode = L, de.isContextConsumer = P, de.isContextProvider = M, de.isElement = F, de.isForwardRef = j, de.isFragment = Z, de.isLazy = K, de.isMemo = $, de.isPortal = ie, de.isProfiler = re, de.isStrictMode = ae, de.isSuspense = Ee, de.isValidElementType = v, de.typeOf = x;
19257
+ de.AsyncMode = k, de.ConcurrentMode = y, de.ContextConsumer = C, de.ContextProvider = N, de.Element = I, de.ForwardRef = D, de.Fragment = B, de.Lazy = T, de.Memo = E, de.Portal = j, de.Profiler = W, de.StrictMode = Q, de.Suspense = q, de.isAsyncMode = V, de.isConcurrentMode = L, de.isContextConsumer = P, de.isContextProvider = M, de.isElement = H, de.isForwardRef = R, de.isFragment = Z, de.isLazy = K, de.isMemo = ee, de.isPortal = ie, de.isProfiler = re, de.isStrictMode = ae, de.isSuspense = Ee, de.isValidElementType = v, de.typeOf = x;
19251
19258
  }()), de;
19252
19259
  }
19253
19260
  var ac;
@@ -19420,33 +19427,33 @@ function I5() {
19420
19427
  function p(L) {
19421
19428
  if (process.env.NODE_ENV !== "production")
19422
19429
  var P = {}, M = 0;
19423
- function F(Z, K, $, ie, re, ae, Ee) {
19424
- if (ie = ie || l, ae = ae || $, Ee !== i) {
19430
+ function H(Z, K, ee, ie, re, ae, Ee) {
19431
+ if (ie = ie || l, ae = ae || ee, Ee !== i) {
19425
19432
  if (A) {
19426
19433
  var Y = new Error(
19427
19434
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
19428
19435
  );
19429
19436
  throw Y.name = "Invariant Violation", Y;
19430
19437
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
19431
- var on = ie + ":" + $;
19438
+ var on = ie + ":" + ee;
19432
19439
  !P[on] && // Avoid spamming the console because they are often not actionable except for lib authors
19433
19440
  M < 3 && (s(
19434
19441
  "You are manually calling a React.PropTypes validation function for the `" + ae + "` prop on `" + ie + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
19435
19442
  ), P[on] = !0, M++);
19436
19443
  }
19437
19444
  }
19438
- return K[$] == null ? Z ? K[$] === null ? new w("The " + re + " `" + ae + "` is marked as required " + ("in `" + ie + "`, but its value is `null`.")) : new w("The " + re + " `" + ae + "` is marked as required in " + ("`" + ie + "`, but its value is `undefined`.")) : null : L(K, $, ie, re, ae);
19445
+ return K[ee] == null ? Z ? K[ee] === null ? new w("The " + re + " `" + ae + "` is marked as required " + ("in `" + ie + "`, but its value is `null`.")) : new w("The " + re + " `" + ae + "` is marked as required in " + ("`" + ie + "`, but its value is `undefined`.")) : null : L(K, ee, ie, re, ae);
19439
19446
  }
19440
- var j = F.bind(null, !1);
19441
- return j.isRequired = F.bind(null, !0), j;
19447
+ var R = H.bind(null, !1);
19448
+ return R.isRequired = H.bind(null, !0), R;
19442
19449
  }
19443
19450
  function b(L) {
19444
- function P(M, F, j, Z, K, $) {
19445
- var ie = M[F], re = W(ie);
19451
+ function P(M, H, R, Z, K, ee) {
19452
+ var ie = M[H], re = Q(ie);
19446
19453
  if (re !== L) {
19447
- var ae = V(ie);
19454
+ var ae = q(ie);
19448
19455
  return new w(
19449
- "Invalid " + Z + " `" + K + "` of type " + ("`" + ae + "` supplied to `" + j + "`, expected ") + ("`" + L + "`."),
19456
+ "Invalid " + Z + " `" + K + "` of type " + ("`" + ae + "` supplied to `" + R + "`, expected ") + ("`" + L + "`."),
19450
19457
  { expectedType: L }
19451
19458
  );
19452
19459
  }
@@ -19458,16 +19465,16 @@ function I5() {
19458
19465
  return p(a);
19459
19466
  }
19460
19467
  function v(L) {
19461
- function P(M, F, j, Z, K) {
19468
+ function P(M, H, R, Z, K) {
19462
19469
  if (typeof L != "function")
19463
- return new w("Property `" + K + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
19464
- var $ = M[F];
19465
- if (!Array.isArray($)) {
19466
- var ie = W($);
19467
- return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + j + "`, expected an array."));
19470
+ return new w("Property `" + K + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
19471
+ var ee = M[H];
19472
+ if (!Array.isArray(ee)) {
19473
+ var ie = Q(ee);
19474
+ return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + R + "`, expected an array."));
19468
19475
  }
19469
- for (var re = 0; re < $.length; re++) {
19470
- var ae = L($, re, j, Z, K + "[" + re + "]", i);
19476
+ for (var re = 0; re < ee.length; re++) {
19477
+ var ae = L(ee, re, R, Z, K + "[" + re + "]", i);
19471
19478
  if (ae instanceof Error)
19472
19479
  return ae;
19473
19480
  }
@@ -19476,32 +19483,32 @@ function I5() {
19476
19483
  return p(P);
19477
19484
  }
19478
19485
  function x() {
19479
- function L(P, M, F, j, Z) {
19486
+ function L(P, M, H, R, Z) {
19480
19487
  var K = P[M];
19481
19488
  if (!o(K)) {
19482
- var $ = W(K);
19483
- return new w("Invalid " + j + " `" + Z + "` of type " + ("`" + $ + "` supplied to `" + F + "`, expected a single ReactElement."));
19489
+ var ee = Q(K);
19490
+ return new w("Invalid " + R + " `" + Z + "` of type " + ("`" + ee + "` supplied to `" + H + "`, expected a single ReactElement."));
19484
19491
  }
19485
19492
  return null;
19486
19493
  }
19487
19494
  return p(L);
19488
19495
  }
19489
19496
  function k() {
19490
- function L(P, M, F, j, Z) {
19497
+ function L(P, M, H, R, Z) {
19491
19498
  var K = P[M];
19492
19499
  if (!n.isValidElementType(K)) {
19493
- var $ = W(K);
19494
- return new w("Invalid " + j + " `" + Z + "` of type " + ("`" + $ + "` supplied to `" + F + "`, expected a single ReactElement type."));
19500
+ var ee = Q(K);
19501
+ return new w("Invalid " + R + " `" + Z + "` of type " + ("`" + ee + "` supplied to `" + H + "`, expected a single ReactElement type."));
19495
19502
  }
19496
19503
  return null;
19497
19504
  }
19498
19505
  return p(L);
19499
19506
  }
19500
19507
  function y(L) {
19501
- function P(M, F, j, Z, K) {
19502
- if (!(M[F] instanceof L)) {
19503
- var $ = L.name || l, ie = q(M[F]);
19504
- return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + j + "`, expected ") + ("instance of `" + $ + "`."));
19508
+ function P(M, H, R, Z, K) {
19509
+ if (!(M[H] instanceof L)) {
19510
+ var ee = L.name || l, ie = V(M[H]);
19511
+ return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + R + "`, expected ") + ("instance of `" + ee + "`."));
19505
19512
  }
19506
19513
  return null;
19507
19514
  }
@@ -19512,28 +19519,28 @@ function I5() {
19512
19519
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
19513
19520
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
19514
19521
  ) : s("Invalid argument supplied to oneOf, expected an array.")), a;
19515
- function P(M, F, j, Z, K) {
19516
- for (var $ = M[F], ie = 0; ie < L.length; ie++)
19517
- if (m($, L[ie]))
19522
+ function P(M, H, R, Z, K) {
19523
+ for (var ee = M[H], ie = 0; ie < L.length; ie++)
19524
+ if (m(ee, L[ie]))
19518
19525
  return null;
19519
19526
  var re = JSON.stringify(L, function(Ee, Y) {
19520
- var on = V(Y);
19527
+ var on = q(Y);
19521
19528
  return on === "symbol" ? String(Y) : Y;
19522
19529
  });
19523
- return new w("Invalid " + Z + " `" + K + "` of value `" + String($) + "` " + ("supplied to `" + j + "`, expected one of " + re + "."));
19530
+ return new w("Invalid " + Z + " `" + K + "` of value `" + String(ee) + "` " + ("supplied to `" + R + "`, expected one of " + re + "."));
19524
19531
  }
19525
19532
  return p(P);
19526
19533
  }
19527
19534
  function N(L) {
19528
- function P(M, F, j, Z, K) {
19535
+ function P(M, H, R, Z, K) {
19529
19536
  if (typeof L != "function")
19530
- return new w("Property `" + K + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
19531
- var $ = M[F], ie = W($);
19537
+ return new w("Property `" + K + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
19538
+ var ee = M[H], ie = Q(ee);
19532
19539
  if (ie !== "object")
19533
- return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + j + "`, expected an object."));
19534
- for (var re in $)
19535
- if (t($, re)) {
19536
- var ae = L($, re, j, Z, K + "." + re, i);
19540
+ return new w("Invalid " + Z + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + R + "`, expected an object."));
19541
+ for (var re in ee)
19542
+ if (t(ee, re)) {
19543
+ var ae = L(ee, re, R, Z, K + "." + re, i);
19537
19544
  if (ae instanceof Error)
19538
19545
  return ae;
19539
19546
  }
@@ -19548,42 +19555,42 @@ function I5() {
19548
19555
  var M = L[P];
19549
19556
  if (typeof M != "function")
19550
19557
  return s(
19551
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(M) + " at index " + P + "."
19558
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(M) + " at index " + P + "."
19552
19559
  ), a;
19553
19560
  }
19554
- function F(j, Z, K, $, ie) {
19561
+ function H(R, Z, K, ee, ie) {
19555
19562
  for (var re = [], ae = 0; ae < L.length; ae++) {
19556
- var Ee = L[ae], Y = Ee(j, Z, K, $, ie, i);
19563
+ var Ee = L[ae], Y = Ee(R, Z, K, ee, ie, i);
19557
19564
  if (Y == null)
19558
19565
  return null;
19559
19566
  Y.data && t(Y.data, "expectedType") && re.push(Y.data.expectedType);
19560
19567
  }
19561
19568
  var on = re.length > 0 ? ", expected one of type [" + re.join(", ") + "]" : "";
19562
- return new w("Invalid " + $ + " `" + ie + "` supplied to " + ("`" + K + "`" + on + "."));
19569
+ return new w("Invalid " + ee + " `" + ie + "` supplied to " + ("`" + K + "`" + on + "."));
19563
19570
  }
19564
- return p(F);
19571
+ return p(H);
19565
19572
  }
19566
19573
  function D() {
19567
- function L(P, M, F, j, Z) {
19568
- return H(P[M]) ? null : new w("Invalid " + j + " `" + Z + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
19574
+ function L(P, M, H, R, Z) {
19575
+ return j(P[M]) ? null : new w("Invalid " + R + " `" + Z + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
19569
19576
  }
19570
19577
  return p(L);
19571
19578
  }
19572
- function B(L, P, M, F, j) {
19579
+ function B(L, P, M, H, R) {
19573
19580
  return new w(
19574
- (L || "React class") + ": " + P + " type `" + M + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
19581
+ (L || "React class") + ": " + P + " type `" + M + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
19575
19582
  );
19576
19583
  }
19577
19584
  function T(L) {
19578
- function P(M, F, j, Z, K) {
19579
- var $ = M[F], ie = W($);
19585
+ function P(M, H, R, Z, K) {
19586
+ var ee = M[H], ie = Q(ee);
19580
19587
  if (ie !== "object")
19581
- return new w("Invalid " + Z + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + j + "`, expected `object`."));
19588
+ return new w("Invalid " + Z + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + R + "`, expected `object`."));
19582
19589
  for (var re in L) {
19583
19590
  var ae = L[re];
19584
19591
  if (typeof ae != "function")
19585
- return B(j, Z, K, re, V(ae));
19586
- var Ee = ae($, re, j, Z, K + "." + re, i);
19592
+ return B(R, Z, K, re, q(ae));
19593
+ var Ee = ae(ee, re, R, Z, K + "." + re, i);
19587
19594
  if (Ee)
19588
19595
  return Ee;
19589
19596
  }
@@ -19592,21 +19599,21 @@ function I5() {
19592
19599
  return p(P);
19593
19600
  }
19594
19601
  function E(L) {
19595
- function P(M, F, j, Z, K) {
19596
- var $ = M[F], ie = W($);
19602
+ function P(M, H, R, Z, K) {
19603
+ var ee = M[H], ie = Q(ee);
19597
19604
  if (ie !== "object")
19598
- return new w("Invalid " + Z + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + j + "`, expected `object`."));
19599
- var re = e({}, M[F], L);
19605
+ return new w("Invalid " + Z + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + R + "`, expected `object`."));
19606
+ var re = e({}, M[H], L);
19600
19607
  for (var ae in re) {
19601
19608
  var Ee = L[ae];
19602
19609
  if (t(L, ae) && typeof Ee != "function")
19603
- return B(j, Z, K, ae, V(Ee));
19610
+ return B(R, Z, K, ae, q(Ee));
19604
19611
  if (!Ee)
19605
19612
  return new w(
19606
- "Invalid " + Z + " `" + K + "` key `" + ae + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(M[F], null, " ") + `
19613
+ "Invalid " + Z + " `" + K + "` key `" + ae + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(M[H], null, " ") + `
19607
19614
  Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19608
19615
  );
19609
- var Y = Ee($, ae, j, Z, K + "." + ae, i);
19616
+ var Y = Ee(ee, ae, R, Z, K + "." + ae, i);
19610
19617
  if (Y)
19611
19618
  return Y;
19612
19619
  }
@@ -19614,7 +19621,7 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19614
19621
  }
19615
19622
  return p(P);
19616
19623
  }
19617
- function H(L) {
19624
+ function j(L) {
19618
19625
  switch (typeof L) {
19619
19626
  case "number":
19620
19627
  case "string":
@@ -19624,20 +19631,20 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19624
19631
  return !L;
19625
19632
  case "object":
19626
19633
  if (Array.isArray(L))
19627
- return L.every(H);
19634
+ return L.every(j);
19628
19635
  if (L === null || o(L))
19629
19636
  return !0;
19630
19637
  var P = c(L);
19631
19638
  if (P) {
19632
- var M = P.call(L), F;
19639
+ var M = P.call(L), H;
19633
19640
  if (P !== L.entries) {
19634
- for (; !(F = M.next()).done; )
19635
- if (!H(F.value))
19641
+ for (; !(H = M.next()).done; )
19642
+ if (!j(H.value))
19636
19643
  return !1;
19637
19644
  } else
19638
- for (; !(F = M.next()).done; ) {
19639
- var j = F.value;
19640
- if (j && !H(j[1]))
19645
+ for (; !(H = M.next()).done; ) {
19646
+ var R = H.value;
19647
+ if (R && !j(R[1]))
19641
19648
  return !1;
19642
19649
  }
19643
19650
  } else
@@ -19647,17 +19654,17 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19647
19654
  return !1;
19648
19655
  }
19649
19656
  }
19650
- function Q(L, P) {
19657
+ function W(L, P) {
19651
19658
  return L === "symbol" ? !0 : P ? P["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && P instanceof Symbol : !1;
19652
19659
  }
19653
- function W(L) {
19660
+ function Q(L) {
19654
19661
  var P = typeof L;
19655
- return Array.isArray(L) ? "array" : L instanceof RegExp ? "object" : Q(P, L) ? "symbol" : P;
19662
+ return Array.isArray(L) ? "array" : L instanceof RegExp ? "object" : W(P, L) ? "symbol" : P;
19656
19663
  }
19657
- function V(L) {
19664
+ function q(L) {
19658
19665
  if (typeof L > "u" || L === null)
19659
19666
  return "" + L;
19660
- var P = W(L);
19667
+ var P = Q(L);
19661
19668
  if (P === "object") {
19662
19669
  if (L instanceof Date)
19663
19670
  return "date";
@@ -19666,8 +19673,8 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19666
19673
  }
19667
19674
  return P;
19668
19675
  }
19669
- function ee(L) {
19670
- var P = V(L);
19676
+ function $(L) {
19677
+ var P = q(L);
19671
19678
  switch (P) {
19672
19679
  case "array":
19673
19680
  case "object":
@@ -19680,7 +19687,7 @@ Valid keys: ` + JSON.stringify(Object.keys(L), null, " ")
19680
19687
  return P;
19681
19688
  }
19682
19689
  }
19683
- function q(L) {
19690
+ function V(L) {
19684
19691
  return !L.constructor || !L.constructor.name ? l : L.constructor.name;
19685
19692
  }
19686
19693
  return u.checkPropTypes = r, u.resetWarningCache = r.resetWarningCache, u.PropTypes = u, u;
@@ -20038,7 +20045,7 @@ for (var Oe = 8; Oe < 256; Oe++)
20038
20045
  _e.EXP_TABLE[Oe] = _e.EXP_TABLE[Oe - 4] ^ _e.EXP_TABLE[Oe - 5] ^ _e.EXP_TABLE[Oe - 6] ^ _e.EXP_TABLE[Oe - 8];
20039
20046
  for (var Oe = 0; Oe < 255; Oe++)
20040
20047
  _e.LOG_TABLE[_e.EXP_TABLE[Oe]] = Oe;
20041
- var Wh = _e, ai = Wh;
20048
+ var Wh = _e, oi = Wh;
20042
20049
  function Cr(n, e) {
20043
20050
  if (n.length == null)
20044
20051
  throw new Error(n.length + "/" + e);
@@ -20058,16 +20065,16 @@ Cr.prototype = {
20058
20065
  multiply: function(n) {
20059
20066
  for (var e = new Array(this.getLength() + n.getLength() - 1), i = 0; i < this.getLength(); i++)
20060
20067
  for (var t = 0; t < n.getLength(); t++)
20061
- e[i + t] ^= ai.gexp(ai.glog(this.get(i)) + ai.glog(n.get(t)));
20068
+ e[i + t] ^= oi.gexp(oi.glog(this.get(i)) + oi.glog(n.get(t)));
20062
20069
  return new Cr(e, 0);
20063
20070
  },
20064
20071
  mod: function(n) {
20065
20072
  if (this.getLength() - n.getLength() < 0)
20066
20073
  return this;
20067
- for (var e = ai.glog(this.get(0)) - ai.glog(n.get(0)), i = new Array(this.getLength()), t = 0; t < this.getLength(); t++)
20074
+ for (var e = oi.glog(this.get(0)) - oi.glog(n.get(0)), i = new Array(this.getLength()), t = 0; t < this.getLength(); t++)
20068
20075
  i[t] = this.get(t);
20069
20076
  for (var t = 0; t < n.getLength(); t++)
20070
- i[t] ^= ai.gexp(ai.glog(n.get(t)) + e);
20077
+ i[t] ^= oi.gexp(oi.glog(n.get(t)) + e);
20071
20078
  return new Cr(i, 0).mod(n);
20072
20079
  }
20073
20080
  };
@@ -20240,7 +20247,7 @@ var Qh = Cr, qe = Lh, uc = Qh, R5 = Wh, Ln = {
20240
20247
  var c = Math.abs(100 * d / e / e - 50) / 5;
20241
20248
  return i += c * 10, i;
20242
20249
  }
20243
- }, F5 = Ie, L5 = T5, Yh = M5, Gh = j5, ti = F5, H5 = Qh;
20250
+ }, F5 = Ie, L5 = T5, Yh = M5, Gh = j5, ri = F5, H5 = Qh;
20244
20251
  function cn(n, e) {
20245
20252
  this.typeNumber = n, this.errorCorrectLevel = e, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
20246
20253
  }
@@ -20265,7 +20272,7 @@ Ge.make = function() {
20265
20272
  t += e[r].dataCount;
20266
20273
  for (var r = 0; r < this.dataList.length; r++) {
20267
20274
  var s = this.dataList[r];
20268
- i.put(s.mode, 4), i.put(s.getLength(), ti.getLengthInBits(s.mode, n)), s.write(i);
20275
+ i.put(s.mode, 4), i.put(s.getLength(), ri.getLengthInBits(s.mode, n)), s.write(i);
20269
20276
  }
20270
20277
  if (i.getLengthInBits() <= t * 8)
20271
20278
  break;
@@ -20292,7 +20299,7 @@ Ge.setupPositionProbePattern = function(n, e) {
20292
20299
  Ge.getBestMaskPattern = function() {
20293
20300
  for (var n = 0, e = 0, i = 0; i < 8; i++) {
20294
20301
  this.makeImpl(!0, i);
20295
- var t = ti.getLostPoint(this);
20302
+ var t = ri.getLostPoint(this);
20296
20303
  (i == 0 || n > t) && (n = t, e = i);
20297
20304
  }
20298
20305
  return e;
@@ -20314,7 +20321,7 @@ Ge.setupTimingPattern = function() {
20314
20321
  this.modules[6][e] == null && (this.modules[6][e] = e % 2 == 0);
20315
20322
  };
20316
20323
  Ge.setupPositionAdjustPattern = function() {
20317
- for (var n = ti.getPatternPosition(this.typeNumber), e = 0; e < n.length; e++)
20324
+ for (var n = ri.getPatternPosition(this.typeNumber), e = 0; e < n.length; e++)
20318
20325
  for (var i = 0; i < n.length; i++) {
20319
20326
  var t = n[e], r = n[i];
20320
20327
  if (this.modules[t][r] == null)
@@ -20324,7 +20331,7 @@ Ge.setupPositionAdjustPattern = function() {
20324
20331
  }
20325
20332
  };
20326
20333
  Ge.setupTypeNumber = function(n) {
20327
- for (var e = ti.getBCHTypeNumber(this.typeNumber), i = 0; i < 18; i++) {
20334
+ for (var e = ri.getBCHTypeNumber(this.typeNumber), i = 0; i < 18; i++) {
20328
20335
  var t = !n && (e >> i & 1) == 1;
20329
20336
  this.modules[Math.floor(i / 3)][i % 3 + this.moduleCount - 8 - 3] = t;
20330
20337
  }
@@ -20334,7 +20341,7 @@ Ge.setupTypeNumber = function(n) {
20334
20341
  }
20335
20342
  };
20336
20343
  Ge.setupTypeInfo = function(n, e) {
20337
- for (var i = this.errorCorrectLevel << 3 | e, t = ti.getBCHTypeInfo(i), r = 0; r < 15; r++) {
20344
+ for (var i = this.errorCorrectLevel << 3 | e, t = ri.getBCHTypeInfo(i), r = 0; r < 15; r++) {
20338
20345
  var s = !n && (t >> r & 1) == 1;
20339
20346
  r < 6 ? this.modules[r][8] = s : r < 8 ? this.modules[r + 1][8] = s : this.modules[this.moduleCount - 15 + r][8] = s;
20340
20347
  }
@@ -20351,7 +20358,7 @@ Ge.mapData = function(n, e) {
20351
20358
  if (this.modules[t][a - o] == null) {
20352
20359
  var A = !1;
20353
20360
  s < n.length && (A = (n[s] >>> r & 1) == 1);
20354
- var f = ti.getMask(e, t, a - o);
20361
+ var f = ri.getMask(e, t, a - o);
20355
20362
  f && (A = !A), this.modules[t][a - o] = A, r--, r == -1 && (s++, r = 7);
20356
20363
  }
20357
20364
  if (t += i, t < 0 || this.moduleCount <= t) {
@@ -20365,7 +20372,7 @@ cn.PAD1 = 17;
20365
20372
  cn.createData = function(n, e, i) {
20366
20373
  for (var t = Yh.getRSBlocks(n, e), r = new Gh(), s = 0; s < i.length; s++) {
20367
20374
  var a = i[s];
20368
- r.put(a.mode, 4), r.put(a.getLength(), ti.getLengthInBits(a.mode, n)), a.write(r);
20375
+ r.put(a.mode, 4), r.put(a.getLength(), ri.getLengthInBits(a.mode, n)), a.write(r);
20369
20376
  }
20370
20377
  for (var o = 0, s = 0; s < t.length; s++)
20371
20378
  o += t[s].dataCount;
@@ -20384,7 +20391,7 @@ cn.createBytes = function(n, e) {
20384
20391
  for (var d = 0; d < s[o].length; d++)
20385
20392
  s[o][d] = 255 & n.buffer[d + i];
20386
20393
  i += A;
20387
- var c = ti.getErrorCorrectPolynomial(f), l = new H5(s[o], c.getLength() - 1), u = l.mod(c);
20394
+ var c = ri.getErrorCorrectPolynomial(f), l = new H5(s[o], c.getLength() - 1), u = l.mod(c);
20388
20395
  a[o] = new Array(c.getLength() - 1);
20389
20396
  for (var d = 0; d < a[o].length; d++) {
20390
20397
  var m = d + u.getLength() - a[o].length;
@@ -20669,11 +20676,11 @@ const Xh = S.div`
20669
20676
  o.usersCnt > 1 ? "members" : "member"
20670
20677
  ] })
20671
20678
  ] }),
20672
- /* @__PURE__ */ O($n, { children: [
20679
+ /* @__PURE__ */ O(ei, { children: [
20673
20680
  /* @__PURE__ */ h(bt, { children: "Description" }),
20674
20681
  /* @__PURE__ */ h(Vi, { children: "Chat's Description" })
20675
20682
  ] }),
20676
- /* @__PURE__ */ h($n, { style: { padding: "8px 16px" }, children: e ? /* @__PURE__ */ h(Ii, {}) : (c = o == null ? void 0 : o.roomMembers) == null ? void 0 : c.map((l, u) => /* @__PURE__ */ O(
20683
+ /* @__PURE__ */ h(ei, { style: { padding: "8px 16px" }, children: e ? /* @__PURE__ */ h(Ii, {}) : (c = o == null ? void 0 : o.roomMembers) == null ? void 0 : c.map((l, u) => /* @__PURE__ */ O(
20677
20684
  "div",
20678
20685
  {
20679
20686
  style: {
@@ -20969,7 +20976,7 @@ S.div`
20969
20976
  align-items: center;
20970
20977
  gap: 4px;
20971
20978
  `;
20972
- const qn = S(Vi)`
20979
+ const Vn = S(Vi)`
20973
20980
  font-size: 12px;
20974
20981
  text-align: start;
20975
20982
  color: #8c8c8c;
@@ -21011,8 +21018,8 @@ const qn = S(Vi)`
21011
21018
  ),
21012
21019
  /* @__PURE__ */ O(Et, { children: [
21013
21020
  /* @__PURE__ */ h(hn, { children: "Current Document Shares" }),
21014
- /* @__PURE__ */ h(qn, { children: "Listed below are your currently active document sharing links. You can share or delete them." }),
21015
- /* @__PURE__ */ h($n, { children: /* @__PURE__ */ h(Ps, { bgColor: (i = e == null ? void 0 : e.colors) == null ? void 0 : i.secondary, children: /* @__PURE__ */ h(Ts, { children: "There are no shares yet, or you can add them by clicking the “Add New Share” button" }) }) })
21021
+ /* @__PURE__ */ h(Vn, { children: "Listed below are your currently active document sharing links. You can share or delete them." }),
21022
+ /* @__PURE__ */ h(ei, { children: /* @__PURE__ */ h(Ps, { bgColor: (i = e == null ? void 0 : e.colors) == null ? void 0 : i.secondary, children: /* @__PURE__ */ h(Ts, { children: "There are no shares yet, or you can add them by clicking the “Add New Share” button" }) }) })
21016
21023
  ] })
21017
21024
  ] });
21018
21025
  }, mC = S.div`
@@ -21068,8 +21075,8 @@ const qn = S(Vi)`
21068
21075
  ),
21069
21076
  /* @__PURE__ */ h(Mn, { children: /* @__PURE__ */ h(Bi, { children: /* @__PURE__ */ O(Et, { children: [
21070
21077
  /* @__PURE__ */ h(hn, { children: "Current Document Shares" }),
21071
- /* @__PURE__ */ h(qn, { children: "Listed below are your currently active document sharing links. You can share or delete them." }),
21072
- /* @__PURE__ */ O($n, { children: [
21078
+ /* @__PURE__ */ h(Vn, { children: "Listed below are your currently active document sharing links. You can share or delete them." }),
21079
+ /* @__PURE__ */ O(ei, { children: [
21073
21080
  /* @__PURE__ */ O(
21074
21081
  "div",
21075
21082
  {
@@ -21195,7 +21202,7 @@ const xC = ({
21195
21202
  /* @__PURE__ */ O(Bi, { children: [
21196
21203
  /* @__PURE__ */ O(Et, { children: [
21197
21204
  /* @__PURE__ */ h(hn, { children: "Download your data" }),
21198
- /* @__PURE__ */ h(qn, { children: "Use this only if you want to permanently delete your account & data from our system." })
21205
+ /* @__PURE__ */ h(Vn, { children: "Use this only if you want to permanently delete your account & data from our system." })
21199
21206
  ] }),
21200
21207
  /* @__PURE__ */ O(
21201
21208
  Ps,
@@ -21226,8 +21233,8 @@ const xC = ({
21226
21233
  ),
21227
21234
  /* @__PURE__ */ h(Mn, { children: /* @__PURE__ */ O(Et, { children: [
21228
21235
  /* @__PURE__ */ h(hn, { children: "Current Profile Shares" }),
21229
- /* @__PURE__ */ h(qn, { children: "Listed below are your currently active profile sharing links. You can share or delete them." }),
21230
- /* @__PURE__ */ h($n, { children: /* @__PURE__ */ h(Ps, { bgColor: (i = e == null ? void 0 : e.colors) == null ? void 0 : i.secondary, children: /* @__PURE__ */ h(Ts, { children: "There are no shares yet, or you can add them by clicking the “Add New Share” button" }) }) })
21236
+ /* @__PURE__ */ h(Vn, { children: "Listed below are your currently active profile sharing links. You can share or delete them." }),
21237
+ /* @__PURE__ */ h(ei, { children: /* @__PURE__ */ h(Ps, { bgColor: (i = e == null ? void 0 : e.colors) == null ? void 0 : i.secondary, children: /* @__PURE__ */ h(Ts, { children: "There are no shares yet, or you can add them by clicking the “Add New Share” button" }) }) })
21231
21238
  ] }) })
21232
21239
  ] });
21233
21240
  }, BC = ({
@@ -21347,7 +21354,7 @@ const gc = S.div`
21347
21354
  ),
21348
21355
  "Open (default)"
21349
21356
  ] }),
21350
- /* @__PURE__ */ h(qn, { children: "Your profile can be viewed by anyone who follows your profile link or QR code." }),
21357
+ /* @__PURE__ */ h(Vn, { children: "Your profile can be viewed by anyone who follows your profile link or QR code." }),
21351
21358
  /* @__PURE__ */ O(ir, { children: [
21352
21359
  /* @__PURE__ */ h(
21353
21360
  tr,
@@ -21360,7 +21367,7 @@ const gc = S.div`
21360
21367
  ),
21361
21368
  "Restricted"
21362
21369
  ] }),
21363
- /* @__PURE__ */ h(qn, { children: "Only users with your permission or temporary secure link can see your profile." })
21370
+ /* @__PURE__ */ h(Vn, { children: "Only users with your permission or temporary secure link can see your profile." })
21364
21371
  ] })
21365
21372
  ] }),
21366
21373
  /* @__PURE__ */ O(Bi, { children: [
@@ -21378,7 +21385,7 @@ const gc = S.div`
21378
21385
  ),
21379
21386
  "Full (default)"
21380
21387
  ] }),
21381
- /* @__PURE__ */ h(qn, { children: "Show all Documents to those who can see your profile." }),
21388
+ /* @__PURE__ */ h(Vn, { children: "Show all Documents to those who can see your profile." }),
21382
21389
  /* @__PURE__ */ O(ir, { children: [
21383
21390
  /* @__PURE__ */ h(
21384
21391
  tr,
@@ -21391,7 +21398,7 @@ const gc = S.div`
21391
21398
  ),
21392
21399
  "Individual"
21393
21400
  ] }),
21394
- /* @__PURE__ */ h(qn, { children: "You need to share each document individually before others can see them." })
21401
+ /* @__PURE__ */ h(Vn, { children: "You need to share each document individually before others can see them." })
21395
21402
  ] })
21396
21403
  ] })
21397
21404
  ] }),
@@ -21709,7 +21716,7 @@ const gc = S.div`
21709
21716
  }
21710
21717
  ),
21711
21718
  /* @__PURE__ */ h(m1, { children: /* @__PURE__ */ h(g1, { children: g != null && g.name ? `${g == null ? void 0 : g.name}` : `${g == null ? void 0 : g.firstName} ${g == null ? void 0 : g.lastName}` }) }),
21712
- !s && (t == null ? void 0 : t.enableTranslates) && /* @__PURE__ */ h($n, { children: /* @__PURE__ */ h(
21719
+ !s && (t == null ? void 0 : t.enableTranslates) && /* @__PURE__ */ h(ei, { children: /* @__PURE__ */ h(
21713
21720
  HC,
21714
21721
  {
21715
21722
  options: m,
@@ -21719,7 +21726,7 @@ const gc = S.div`
21719
21726
  selectedValue: v()
21720
21727
  }
21721
21728
  ) }),
21722
- /* @__PURE__ */ O($n, { children: [
21729
+ /* @__PURE__ */ O(ei, { children: [
21723
21730
  /* @__PURE__ */ h(Vi, { children: "About" }),
21724
21731
  /* @__PURE__ */ h(bt, { children: g != null && g.description && ((C = g == null ? void 0 : g.description) == null ? void 0 : C.length) > 4 ? g.description : "No description" })
21725
21732
  ] }),
@@ -21779,7 +21786,7 @@ const gc = S.div`
21779
21786
  boxSizing: "border-box"
21780
21787
  },
21781
21788
  children: /* @__PURE__ */ h(
21782
- $n,
21789
+ ei,
21783
21790
  {
21784
21791
  style: {
21785
21792
  padding: "16px",
@@ -22196,7 +22203,7 @@ const gc = S.div`
22196
22203
  handleBackClick: e
22197
22204
  }) => {
22198
22205
  const i = ke(), { client: t } = Ke(), { roomsList: r, activeRoomJID: s } = ki(n.jid), { composing: a } = ki(n.jid).room, { config: o } = Pn(), A = (d) => {
22199
- i($e({ roomJID: d.jid })), i(ui({ chatJID: d.jid, loading: !0 }));
22206
+ i($e({ roomJID: d.jid })), i(qn({ chatJID: d.jid, loading: !0 }));
22200
22207
  }, f = te(() => {
22201
22208
  if (t.leaveTheRoomStanza(s), i(Ip({ jid: s })), Object.keys(r).length < 1 || s === Object.keys(r)[0]) {
22202
22209
  const c = `${window.location.pathname}`;
@@ -22386,7 +22393,7 @@ const gc = S.div`
22386
22393
  s.roomJid,
22387
22394
  s.messageId,
22388
22395
  f
22389
- ), t(_n({ isEdit: !1 }));
22396
+ ), t($n({ isEdit: !1 }));
22390
22397
  return;
22391
22398
  } else
22392
22399
  e && (n != null && n.enableTranslates) ? i == null || i.sendTextMessageWithTranslateTagStanza(
@@ -22420,7 +22427,7 @@ const gc = S.div`
22420
22427
  s.roomJid,
22421
22428
  s.messageId,
22422
22429
  f
22423
- ), t(_n({ isEdit: !1 }));
22430
+ ), t($n({ isEdit: !1 }));
22424
22431
  },
22425
22432
  [s]
22426
22433
  ), A = te(
@@ -22472,17 +22479,17 @@ const gc = S.div`
22472
22479
  pe(() => {
22473
22480
  var A;
22474
22481
  const a = async () => {
22475
- s(ui({ loading: !0, chatJID: n }));
22482
+ s(qn({ loading: !0, chatJID: n }));
22476
22483
  const f = await r.getHistoryStanza(n, 30);
22477
- vc(f) > 0 && await r.getHistoryStanza(
22484
+ f && vc(f) > 0 && await r.getHistoryStanza(
22478
22485
  n,
22479
22486
  20 + vc(f),
22480
22487
  f[0].id
22481
- ), s(ui({ loading: !1, chatJID: n }));
22488
+ ), s(qn({ loading: !1, chatJID: n }));
22482
22489
  }, o = async () => {
22483
22490
  e[n] ? a() : (r.presenceInRoomStanza(n), await r.getRoomsStanza(), await a());
22484
22491
  };
22485
- ((A = Object.keys(e)) == null ? void 0 : A.length) > 0 ? !(e != null && e[n]) && Object.keys(e).length > 0 ? (s(ui({ loading: !0, chatJID: n })), o()) : (t < 20, a()) : e != null && e[n] || o(), i != null && i.defaultRooms && (i == null || i.defaultRooms.map((f) => {
22492
+ ((A = Object.keys(e)) == null ? void 0 : A.length) > 0 ? !(e != null && e[n]) && Object.keys(e).length > 0 ? (s(qn({ loading: !0, chatJID: n })), o()) : t < 20 ? a() : s(qn({ loading: !1, chatJID: n })) : e != null && e[n] || o(), i != null && i.defaultRooms && (i == null || i.defaultRooms.map((f) => {
22486
22493
  r.presenceInRoomStanza(f.jid);
22487
22494
  }), r.getRoomsStanza(), a());
22488
22495
  }, [n, Object.keys(e).length]);
@@ -22538,7 +22545,7 @@ const gc = S.div`
22538
22545
  },
22539
22546
  [i]
22540
22547
  ), y = () => {
22541
- t(_n({ isEdit: !1 }));
22548
+ t($n({ isEdit: !1 }));
22542
22549
  };
22543
22550
  return pe(() => (t(
22544
22551
  Wa({
@@ -23763,7 +23770,7 @@ function Ue(n, e, i) {
23763
23770
  }) : n[e] = i, n;
23764
23771
  }
23765
23772
  var Ms, X, im, mt, tm, xc, Xr = {}, rm = [], m8 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
23766
- function Vn(n, e) {
23773
+ function Un(n, e) {
23767
23774
  for (var i in e) n[i] = e[i];
23768
23775
  return n;
23769
23776
  }
@@ -23829,7 +23836,7 @@ function Jr() {
23829
23836
  return e.__v.__b - i.__v.__b;
23830
23837
  }), mt = [], n.some(function(e) {
23831
23838
  var i, t, r, s, a, o;
23832
- e.__d && (a = (s = (i = e).__v).__e, (o = i.__P) && (t = [], (r = Vn({}, s)).__v = s.__v + 1, LA(o, s, r, i.__n, o.ownerSVGElement !== void 0, s.__h != null ? [
23839
+ e.__d && (a = (s = (i = e).__v).__e, (o = i.__P) && (t = [], (r = Un({}, s)).__v = s.__v + 1, LA(o, s, r, i.__n, o.ownerSVGElement !== void 0, s.__h != null ? [
23833
23840
  a
23834
23841
  ] : null, t, a ?? Zi(s), s.__h), dm(t, s), s.__e != a && am(s)));
23835
23842
  });
@@ -23912,7 +23919,7 @@ function LA(n, e, i, t, r, s, a, o, A) {
23912
23919
  ]), (f = X.__b) && f(e);
23913
23920
  try {
23914
23921
  e: if (typeof x == "function") {
23915
- if (p = e.props, b = (f = x.contextType) && t[f.__c], g = f ? b ? b.props.value : f.__ : t, i.__c ? w = (d = e.__c = i.__c).__ = d.__E : ("prototype" in x && x.prototype.render ? e.__c = d = new x(p, g) : (e.__c = d = new mn(p, g), d.constructor = x, d.render = v8), b && b.sub(d), d.props = p, d.state || (d.state = {}), d.context = g, d.__n = t, c = d.__d = !0, d.__h = []), d.__s == null && (d.__s = d.state), x.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = Vn({}, d.__s)), Vn(d.__s, x.getDerivedStateFromProps(p, d.__s))), l = d.props, u = d.state, c) x.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), d.componentDidMount != null && d.__h.push(d.componentDidMount);
23922
+ if (p = e.props, b = (f = x.contextType) && t[f.__c], g = f ? b ? b.props.value : f.__ : t, i.__c ? w = (d = e.__c = i.__c).__ = d.__E : ("prototype" in x && x.prototype.render ? e.__c = d = new x(p, g) : (e.__c = d = new mn(p, g), d.constructor = x, d.render = v8), b && b.sub(d), d.props = p, d.state || (d.state = {}), d.context = g, d.__n = t, c = d.__d = !0, d.__h = []), d.__s == null && (d.__s = d.state), x.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = Un({}, d.__s)), Un(d.__s, x.getDerivedStateFromProps(p, d.__s))), l = d.props, u = d.state, c) x.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), d.componentDidMount != null && d.__h.push(d.componentDidMount);
23916
23923
  else {
23917
23924
  if (x.getDerivedStateFromProps == null && p !== l && d.componentWillReceiveProps != null && d.componentWillReceiveProps(p, g), !d.__e && d.shouldComponentUpdate != null && d.shouldComponentUpdate(p, d.__s, g) === !1 || e.__v === i.__v) {
23918
23925
  d.props = p, d.state = d.__s, e.__v !== i.__v && (d.__d = !1), d.__v = e, e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(k) {
@@ -23924,7 +23931,7 @@ function LA(n, e, i, t, r, s, a, o, A) {
23924
23931
  d.componentDidUpdate(l, u, m);
23925
23932
  });
23926
23933
  }
23927
- d.context = g, d.props = p, d.state = d.__s, (f = X.__r) && f(e), d.__d = !1, d.__v = e, d.__P = n, f = d.render(d.props, d.state, d.context), d.state = d.__s, d.getChildContext != null && (t = Vn(Vn({}, t), d.getChildContext())), c || d.getSnapshotBeforeUpdate == null || (m = d.getSnapshotBeforeUpdate(l, u)), v = f != null && f.type === Ki && f.key == null ? f.props.children : f, om(n, Array.isArray(v) ? v : [
23934
+ d.context = g, d.props = p, d.state = d.__s, (f = X.__r) && f(e), d.__d = !1, d.__v = e, d.__P = n, f = d.render(d.props, d.state, d.context), d.state = d.__s, d.getChildContext != null && (t = Un(Un({}, t), d.getChildContext())), c || d.getSnapshotBeforeUpdate == null || (m = d.getSnapshotBeforeUpdate(l, u)), v = f != null && f.type === Ki && f.key == null ? f.props.children : f, om(n, Array.isArray(v) ? v : [
23928
23935
  v
23929
23936
  ], e, i, t, r, s, a, o, A), d.base = e.__e, e.__h = null, d.__h.length && a.push(d), w && (d.__E = d.__ = null), d.__e = !1;
23930
23937
  } else s == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = p8(i.__e, e, i, t, r, s, a, A);
@@ -24012,7 +24019,7 @@ Ms = rm.slice, X = {
24012
24019
  }
24013
24020
  }, im = 0, mn.prototype.setState = function(n, e) {
24014
24021
  var i;
24015
- i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Vn({}, this.state), typeof n == "function" && (n = n(Vn({}, i), this.props)), n && Vn(i, n), n != null && this.__v && (e && this.__h.push(e), Ec(this));
24022
+ i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Un({}, this.state), typeof n == "function" && (n = n(Un({}, i), this.props)), n && Un(i, n), n != null && this.__v && (e && this.__h.push(e), Ec(this));
24016
24023
  }, mn.prototype.forceUpdate = function(n) {
24017
24024
  this.__v && (this.__e = !0, n && this.__h.push(n), Ec(this));
24018
24025
  }, mn.prototype.render = Ki, mt = [], tm = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Jr.__r = 0;
@@ -24053,7 +24060,7 @@ function y8(n) {
24053
24060
  } catch {
24054
24061
  }
24055
24062
  }
24056
- var Jn = {
24063
+ var Kn = {
24057
24064
  set: b8,
24058
24065
  get: y8
24059
24066
  };
@@ -24162,13 +24169,13 @@ const Oo = [
24162
24169
  ];
24163
24170
  let Se = null;
24164
24171
  function B8(n) {
24165
- Se || (Se = Jn.get("frequently") || {});
24172
+ Se || (Se = Kn.get("frequently") || {});
24166
24173
  const e = n.id || n;
24167
- e && (Se[e] || (Se[e] = 0), Se[e] += 1, Jn.set("last", e), Jn.set("frequently", Se));
24174
+ e && (Se[e] || (Se[e] = 0), Se[e] += 1, Kn.set("last", e), Kn.set("frequently", Se));
24168
24175
  }
24169
24176
  function D8({ maxFrequentRows: n, perLine: e }) {
24170
24177
  if (!n) return [];
24171
- Se || (Se = Jn.get("frequently"));
24178
+ Se || (Se = Kn.get("frequently"));
24172
24179
  let i = [];
24173
24180
  if (!Se) {
24174
24181
  Se = {};
@@ -24178,7 +24185,7 @@ function D8({ maxFrequentRows: n, perLine: e }) {
24178
24185
  }
24179
24186
  return i;
24180
24187
  }
24181
- const t = n * e, r = Jn.get("last");
24188
+ const t = n * e, r = Kn.get("last");
24182
24189
  for (let s in Se) i.push(s);
24183
24190
  if (i.sort((s, a) => {
24184
24191
  const o = Se[a], A = Se[s];
@@ -24188,7 +24195,7 @@ function D8({ maxFrequentRows: n, perLine: e }) {
24188
24195
  i = i.slice(0, t);
24189
24196
  for (let a of s)
24190
24197
  a != r && delete Se[a];
24191
- r && i.indexOf(r) == -1 && (delete Se[i[i.length - 1]], i.splice(-1, 1, r)), Jn.set("frequently", Se);
24198
+ r && i.indexOf(r) == -1 && (delete Se[i[i.length - 1]], i.splice(-1, 1, r)), Kn.set("frequently", Se);
24192
24199
  }
24193
24200
  return i;
24194
24201
  }
@@ -25188,7 +25195,7 @@ const sr = {
25188
25195
  class ex extends mn {
25189
25196
  getInitialState(e = this.props) {
25190
25197
  return {
25191
- skin: Jn.get("skin") || e.skin,
25198
+ skin: Kn.get("skin") || e.skin,
25192
25199
  theme: this.initTheme(e.theme)
25193
25200
  };
25194
25201
  }
@@ -25470,7 +25477,7 @@ class ex extends mn {
25470
25477
  this.ignoreMouse(), this.closeSkins(), this.setState({
25471
25478
  skin: e,
25472
25479
  tempSkin: null
25473
- }), Jn.set("skin", e);
25480
+ }), Kn.set("skin", e);
25474
25481
  }
25475
25482
  renderNav() {
25476
25483
  return /* @__PURE__ */ z(_8, {
@@ -66960,8 +66967,8 @@ const sx = S.div`
66960
66967
  return N ? N.skins[0].native : "";
66961
66968
  }, y = (C, N) => {
66962
66969
  const B = window.innerWidth, T = window.innerHeight;
66963
- let E = C, H = N;
66964
- return C + 320 > B && (E = B - 320 - 10), N + 435 > T && (H = T - 435 - 10), { adjustedX: E, adjustedY: H };
66970
+ let E = C, j = N;
66971
+ return C + 320 > B && (E = B - 320 - 10), N + 435 > T && (j = T - 435 - 10), { adjustedX: E, adjustedY: j };
66965
66972
  };
66966
66973
  return pe(() => {
66967
66974
  const C = () => {
@@ -67179,6 +67186,7 @@ const sx = S.div`
67179
67186
  align-items: center;
67180
67187
  border: none;
67181
67188
  background: transparent;
67189
+ z-index: 1;
67182
67190
  `, kx = S.button`
67183
67191
  box-shadow: 0px 0px 8px 0px rgba(185, 198, 199, 1);
67184
67192
  background-color: #ffffff;
@@ -67258,33 +67266,33 @@ const sx = S.div`
67258
67266
  /* @__PURE__ */ h($u, { children: (s = (r = n.translations) == null ? void 0 : r[e]) == null ? void 0 : s.translatedText })
67259
67267
  ] });
67260
67268
  }, fr = Tm(({ message: n, isUser: e, isReply: i }, t) => {
67261
- var k, y, C, N, I, D, B, T;
67269
+ var k, y, C, N, I, D, B, T, E;
67262
67270
  const { client: r } = Ke(), { user: s, client: a } = Pn(), o = ke(), { config: A, langSource: f } = Pn(), [d, c] = A != null && A.disableInteractions ? [null, null] : U({
67263
67271
  visible: !1,
67264
67272
  x: 0,
67265
67273
  y: 0
67266
- }), l = (E) => {
67274
+ }), l = (j) => {
67267
67275
  if (A != null && A.disableInteractions) return;
67268
- E.preventDefault();
67269
- const H = 240, Q = 310, W = "touches" in E ? E.touches[0].clientX : E.clientX, V = "touches" in E ? E.touches[0].clientY : E.clientY, ee = window.innerWidth, q = window.innerHeight, L = W + H > ee ? W - H : W, P = V + Q > q ? q - Q : V;
67276
+ j.preventDefault();
67277
+ const W = 240, Q = 310, q = "touches" in j ? j.touches[0].clientX : j.clientX, $ = "touches" in j ? j.touches[0].clientY : j.clientY, V = window.innerWidth, L = window.innerHeight, P = q + W > V ? q - W : q, M = $ + Q > L ? L - Q : $;
67270
67278
  c({
67271
67279
  visible: !0,
67272
- x: L,
67273
- y: P
67280
+ x: P,
67281
+ y: M
67274
67282
  });
67275
- }, u = be(null), m = (E) => {
67283
+ }, u = be(null), m = (j) => {
67276
67284
  u.current = setTimeout(() => {
67277
- l(E);
67285
+ l(j);
67278
67286
  }, 500);
67279
67287
  }, w = () => {
67280
67288
  u.current && (clearTimeout(u.current), u.current = null);
67281
- }, p = (E) => {
67282
- o(rn(ge.PROFILE)), o(Bl(E));
67289
+ }, p = (j) => {
67290
+ o(rn(ge.PROFILE)), o(Bl(j));
67283
67291
  }, b = () => {
67284
- if (o(_n({ isEdit: !1 })), !i && n.mainMessage) {
67285
- const E = JSON.parse(n.mainMessage);
67292
+ if (o($n({ isEdit: !1 })), !i && n.mainMessage) {
67293
+ const j = JSON.parse(n.mainMessage);
67286
67294
  return o(
67287
- Af({ id: E.id, chatJID: E.roomJid })
67295
+ Af({ id: j.id, chatJID: j.roomJid })
67288
67296
  );
67289
67297
  }
67290
67298
  return o(
@@ -67300,7 +67308,7 @@ const sx = S.div`
67300
67308
  );
67301
67309
  }, v = () => {
67302
67310
  o(
67303
- _n({
67311
+ $n({
67304
67312
  isEdit: !0,
67305
67313
  roomJid: n.roomJid,
67306
67314
  messageId: n.id,
@@ -67311,18 +67319,18 @@ const sx = S.div`
67311
67319
  x: null,
67312
67320
  y: null
67313
67321
  });
67314
- }, x = (E) => {
67315
- var H;
67322
+ }, x = (j) => {
67323
+ var W;
67316
67324
  if (!n.reaction)
67317
67325
  return r.sendMessageReactionStanza(
67318
67326
  n.id,
67319
67327
  n.roomJid,
67320
- [E],
67328
+ [j],
67321
67329
  { firstName: s.firstName, lastName: s.lastName }
67322
67330
  );
67323
- if (n.reaction && n.reaction[s.xmppUsername] && n.reaction[s.xmppUsername].emoji.includes(E)) {
67331
+ if (n.reaction && n.reaction[s.xmppUsername] && n.reaction[s.xmppUsername].emoji.includes(j)) {
67324
67332
  const Q = n.reaction[s.xmppUsername].emoji.filter(
67325
- (W) => W !== E
67333
+ (q) => q !== j
67326
67334
  );
67327
67335
  return r.sendMessageReactionStanza(
67328
67336
  n.id,
@@ -67334,7 +67342,7 @@ const sx = S.div`
67334
67342
  r.sendMessageReactionStanza(
67335
67343
  n.id,
67336
67344
  n.roomJid,
67337
- [...((H = n.reaction[s.xmppUsername]) == null ? void 0 : H.emoji) || [], E],
67345
+ [...((W = n.reaction[s.xmppUsername]) == null ? void 0 : W.emoji) || [], j],
67338
67346
  { firstName: s.firstName, lastName: s.lastName }
67339
67347
  );
67340
67348
  };
@@ -67343,8 +67351,8 @@ const sx = S.div`
67343
67351
  xy,
67344
67352
  {
67345
67353
  isUser: e,
67346
- reply: (k = n == null ? void 0 : n.reply) == null ? void 0 : k.length,
67347
- reaction: !!((y = n == null ? void 0 : n.reaction) != null && y.length),
67354
+ reply: !!((k = n == null ? void 0 : n.reply) != null && k.length),
67355
+ reaction: (n == null ? void 0 : n.reaction) && !!((y = Object.keys(n == null ? void 0 : n.reaction)) != null && y.length),
67348
67356
  ref: t,
67349
67357
  children: [
67350
67358
  !e && /* @__PURE__ */ h(
@@ -67407,13 +67415,13 @@ const sx = S.div`
67407
67415
  }
67408
67416
  ),
67409
67417
  /* @__PURE__ */ O(Oy, { isUser: e, children: [
67410
- (D = n == null ? void 0 : n.reply) != null && D.length && n.reaction ? /* @__PURE__ */ h(
67418
+ (D = n == null ? void 0 : n.reply) != null && D.length && ((B = n == null ? void 0 : n.reply) == null ? void 0 : B.length) > 0 ? /* @__PURE__ */ h(
67411
67419
  mx,
67412
67420
  {
67413
67421
  isUser: e,
67414
67422
  onClick: b,
67415
67423
  reply: n == null ? void 0 : n.reply,
67416
- color: (B = A.colors) == null ? void 0 : B.primary
67424
+ color: (T = A.colors) == null ? void 0 : T.primary
67417
67425
  }
67418
67426
  ) : null,
67419
67427
  n.reaction && /* @__PURE__ */ h(
@@ -67421,7 +67429,7 @@ const sx = S.div`
67421
67429
  {
67422
67430
  reaction: n.reaction,
67423
67431
  changeReaction: x,
67424
- color: (T = A.colors) == null ? void 0 : T.primary
67432
+ color: (E = A.colors) == null ? void 0 : E.primary
67425
67433
  }
67426
67434
  )
67427
67435
  ] })
@@ -67707,34 +67715,34 @@ const sx = S.div`
67707
67715
  user: e,
67708
67716
  customMessageComponent: i
67709
67717
  }) => {
67710
- var C, N;
67711
- const { client: t } = Ke(), r = ke(), { loading: s, roomsList: a, editAction: o } = ki(), { config: A } = Pn(), {
67712
- sendMessage: f,
67713
- sendMedia: d,
67714
- sendEditMessage: c
67715
- } = _h(), [l, u] = U(!1), [m, w] = U(!1), p = te(
67716
- async (I, D, B) => {
67717
- l || (u(!0), t == null || t.getHistoryStanza(I, D, B).then(() => {
67718
- u(!1);
67719
- }));
67718
+ var N, I;
67719
+ const { client: t } = Ke(), r = ke(), { loading: s, roomsList: a, editAction: o, activeRoomJID: A } = ki(), { config: f } = Pn(), {
67720
+ sendMessage: d,
67721
+ sendMedia: c,
67722
+ sendEditMessage: l
67723
+ } = _h(), [u, m] = U(!1), [w, p] = U(!1), b = te(
67724
+ async (D, B, T) => {
67725
+ u || t == null || t.getHistoryStanza(D, B, T).then(() => {
67726
+ m(!1);
67727
+ });
67720
67728
  },
67721
67729
  [t]
67722
- ), b = te(
67723
- (I) => {
67724
- f(
67725
- I,
67730
+ ), g = te(
67731
+ (D) => {
67732
+ d(
67733
+ D,
67726
67734
  n.roomJid,
67727
67735
  !0,
67728
- m,
67736
+ w,
67729
67737
  Xc(n)
67730
67738
  );
67731
67739
  },
67732
- [n, m]
67733
- ), g = te(
67734
- (I, D) => {
67735
- d(
67736
- I,
67740
+ [n, w]
67741
+ ), v = te(
67742
+ (D, B) => {
67743
+ c(
67737
67744
  D,
67745
+ B,
67738
67746
  n.roomJid,
67739
67747
  !0,
67740
67748
  !0,
@@ -67742,47 +67750,47 @@ const sx = S.div`
67742
67750
  );
67743
67751
  },
67744
67752
  [n]
67745
- ), v = te(() => {
67753
+ ), x = te(() => {
67746
67754
  t.sendTypingRequestStanza(
67747
67755
  n.roomJid,
67748
67756
  `${e.firstName} ${e.lastName}`,
67749
67757
  !0
67750
67758
  );
67751
- }, []), x = te(() => {
67759
+ }, []), k = te(() => {
67752
67760
  t.sendTypingRequestStanza(
67753
67761
  n.roomJid,
67754
67762
  `${e.firstName} ${e.lastName}`,
67755
67763
  !1
67756
67764
  );
67757
- }, []), k = () => {
67758
- r(_n({ isEdit: !1 }));
67759
- }, y = () => {
67760
- r(Dp({ chatJID: n.roomJid })), r(_n({ isEdit: !1 }));
67765
+ }, []), y = () => {
67766
+ r($n({ isEdit: !1 }));
67767
+ }, C = () => {
67768
+ r(Dp({ chatJID: n.roomJid })), r($n({ isEdit: !1 }));
67761
67769
  };
67762
67770
  return /* @__PURE__ */ O(
67763
67771
  _u,
67764
67772
  {
67765
67773
  style: {
67766
67774
  overflow: "auto",
67767
- ...A == null ? void 0 : A.chatRoomStyles
67775
+ ...f == null ? void 0 : f.chatRoomStyles
67768
67776
  },
67769
67777
  children: [
67770
67778
  /* @__PURE__ */ h(
67771
67779
  Ze,
67772
67780
  {
67773
67781
  headerTitle: "Thread",
67774
- handleCloseModal: y
67782
+ handleCloseModal: C
67775
67783
  }
67776
67784
  ),
67777
67785
  /* @__PURE__ */ h(
67778
67786
  e1,
67779
67787
  {
67780
- loadMoreMessages: p,
67788
+ loadMoreMessages: b,
67781
67789
  CustomMessage: i,
67782
67790
  user: e,
67783
67791
  roomJID: n.roomJid,
67784
- config: A,
67785
- loading: l,
67792
+ config: f,
67793
+ loading: u,
67786
67794
  activeMessage: n,
67787
67795
  isReply: !0
67788
67796
  }
@@ -67791,15 +67799,15 @@ const sx = S.div`
67791
67799
  My,
67792
67800
  {
67793
67801
  style: { cursor: "pointer" },
67794
- onClick: () => w((I) => !I),
67802
+ onClick: () => p((D) => !D),
67795
67803
  children: [
67796
67804
  /* @__PURE__ */ h(
67797
67805
  jy,
67798
67806
  {
67799
- accentColor: ((C = A == null ? void 0 : A.colors) == null ? void 0 : C.primary) || "#0052CD",
67807
+ accentColor: ((N = f == null ? void 0 : f.colors) == null ? void 0 : N.primary) || "#0052CD",
67800
67808
  type: "checkbox",
67801
- checked: m,
67802
- onChange: (I) => w(I.target.checked)
67809
+ checked: w,
67810
+ onChange: (D) => p(D.target.checked)
67803
67811
  }
67804
67812
  ),
67805
67813
  /* @__PURE__ */ h("span", { children: "Also send to" }),
@@ -67807,28 +67815,28 @@ const sx = S.div`
67807
67815
  "a",
67808
67816
  {
67809
67817
  style: {
67810
- color: ((N = A == null ? void 0 : A.colors) == null ? void 0 : N.primary) || "#0052CD",
67818
+ color: ((I = f == null ? void 0 : f.colors) == null ? void 0 : I.primary) || "#0052CD",
67811
67819
  fontWeight: 500,
67812
67820
  cursor: "pointer",
67813
67821
  borderBottom: "1px solid"
67814
67822
  },
67815
- onClick: y,
67823
+ onClick: C,
67816
67824
  children: a[n.roomJid].name
67817
67825
  }
67818
67826
  )
67819
67827
  ]
67820
67828
  }
67821
67829
  ),
67822
- o.isEdit && /* @__PURE__ */ h(Zh, { text: o.text, onClose: k }),
67830
+ o.isEdit && /* @__PURE__ */ h(Zh, { text: o.text, onClose: y }),
67823
67831
  /* @__PURE__ */ h(
67824
67832
  c1,
67825
67833
  {
67826
67834
  editMessage: o.text,
67827
- sendMedia: g,
67828
- sendMessage: o.isEdit ? c : b,
67829
- config: A,
67830
- onFocus: v,
67831
- onBlur: x,
67835
+ sendMedia: v,
67836
+ sendMessage: o.isEdit ? l : g,
67837
+ config: f,
67838
+ onFocus: x,
67839
+ onBlur: k,
67832
67840
  isLoading: s
67833
67841
  }
67834
67842
  )
@@ -68000,28 +68008,28 @@ const sx = S.div`
68000
68008
  config: t,
68001
68009
  roomJID: r
68002
68010
  }) => {
68003
- var Q;
68011
+ var W;
68004
68012
  const { user: s, activeModal: a, deleteModal: o } = Pn(), [A, f] = U(!1), [d, c] = U(!1), [l, u] = U(!1), [m, w] = U(!1);
68005
68013
  pe(() => {
68006
- const W = () => {
68014
+ const Q = () => {
68007
68015
  w(window.innerWidth < 768);
68008
68016
  };
68009
- return W(), window.addEventListener("resize", W), () => {
68010
- window.removeEventListener("resize", W);
68017
+ return Q(), window.addEventListener("resize", Q), () => {
68018
+ window.removeEventListener("resize", Q);
68011
68019
  };
68012
68020
  }, [window.innerWidth]);
68013
- const p = (W) => {
68014
- u(W);
68021
+ const p = (Q) => {
68022
+ u(Q);
68015
68023
  }, b = ke(), { client: g, initializeClient: v, setClient: x } = Ke(), { rooms: k, activeRoomJID: y } = oe(
68016
- (W) => W.rooms
68024
+ (Q) => Q.rooms
68017
68025
  ), C = Be(() => {
68018
- var W, V;
68026
+ var Q, q;
68019
68027
  if (y)
68020
- return (V = (W = k[y]) == null ? void 0 : W.messages) == null ? void 0 : V.find(
68021
- (ee) => ee == null ? void 0 : ee.activeMessage
68028
+ return (q = (Q = k[y]) == null ? void 0 : Q.messages) == null ? void 0 : q.find(
68029
+ ($) => $ == null ? void 0 : $.activeMessage
68022
68030
  );
68023
- }, [k, y]), N = (W) => {
68024
- b($e({ roomJID: W.jid })), y !== W.jid && b(ui({ chatJID: W.jid, loading: !0 })), b(_n({ isEdit: !1 })), p(!0);
68031
+ }, [k, y]), N = (Q) => {
68032
+ b($e({ roomJID: Q.jid })), y !== Q.jid && b(qn({ chatJID: Q.jid, loading: !0 })), b($n({ isEdit: !1 })), p(!0);
68025
68033
  }, I = () => {
68026
68034
  g.deleteMessageStanza(o.roomJid, o.messageId), b(Mr({ isDeleteModal: !1 }));
68027
68035
  }, D = () => {
@@ -68030,22 +68038,22 @@ const sx = S.div`
68030
68038
  pe(() => () => {
68031
68039
  g && s.xmppPassword === "" && (console.log("closing client"), g.close(), x(null));
68032
68040
  }, [s.xmppPassword]), pe(() => {
68033
- const W = window.location.href, q = new URL(W).searchParams.get("chatId");
68034
- if (q) {
68035
- const L = q.split("@")[0];
68041
+ const Q = window.location.href, V = new URL(Q).searchParams.get("chatId");
68042
+ if (V) {
68043
+ const L = V.split("@")[0];
68036
68044
  b($e({ roomJID: L + sA }));
68037
68045
  }
68038
68046
  }, []), pe(() => {
68039
68047
  r && b($e({ roomJID: r })), (async () => {
68040
- var V, ee, q;
68048
+ var q, $, V;
68041
68049
  b(mp(t));
68042
68050
  try {
68043
68051
  !s.defaultWallet || (s == null ? void 0 : s.defaultWallet.walletAddress) === "" ? (c(!0), console.log("Error, no user")) : g ? (Object.keys(B).length > 0 && (Kc(g, B), await g.getChatsPrivateStoreRequestStanza().then(
68044
68052
  async (L) => {
68045
68053
  Zc(L, b), g.setVCardStanza(`${s.firstName} ${s.lastName}`), await _c(k, g), x(g);
68046
68054
  }
68047
- )), f(!0), (q = t == null ? void 0 : t.refreshTokens) != null && q.enabled && Bo()) : (c(!1), console.log("No client, so initing one"), await v(
68048
- (V = s.defaultWallet) == null ? void 0 : V.walletAddress,
68055
+ )), f(!0), (V = t == null ? void 0 : t.refreshTokens) != null && V.enabled && Bo()) : (c(!1), console.log("No client, so initing one"), await v(
68056
+ (q = s.defaultWallet) == null ? void 0 : q.walletAddress,
68049
68057
  s.xmppPassword
68050
68058
  ).then(async (L) => {
68051
68059
  B && Object.keys(B).length > 0 ? await Kc(L, B) : await L.getRoomsStanza(), await L.getChatsPrivateStoreRequestStanza().then(
@@ -68053,22 +68061,22 @@ const sx = S.div`
68053
68061
  Zc(P, b), L.setVCardStanza(`${s.firstName} ${s.lastName}`), await _c(k, L), x(L);
68054
68062
  }
68055
68063
  );
68056
- }), f(!0), (ee = t == null ? void 0 : t.refreshTokens) != null && ee.enabled && Bo()), b(ui({ loading: !1 }));
68064
+ }), f(!0), ($ = t == null ? void 0 : t.refreshTokens) != null && $.enabled && Bo()), b(qn({ loading: !1 }));
68057
68065
  } catch (L) {
68058
- c(!0), f(!1), b(ui({ loading: !1 })), console.log(L);
68066
+ c(!0), f(!1), b(qn({ loading: !1 })), console.log(L);
68059
68067
  }
68060
68068
  })();
68061
68069
  }, [s.xmppPassword, s.defaultWallet.walletAddress]), pe(() => {
68062
- const W = () => {
68070
+ const Q = () => {
68063
68071
  };
68064
- return window.addEventListener("blur", W), window.addEventListener("offline", W), () => {
68065
- window.removeEventListener("blur", W), window.removeEventListener("offline", W);
68072
+ return window.addEventListener("blur", Q), window.addEventListener("offline", Q), () => {
68073
+ window.removeEventListener("blur", Q), window.removeEventListener("offline", Q);
68066
68074
  };
68067
68075
  }, [g, i == null ? void 0 : i.jid]);
68068
- const { roomsList: B, loading: T, globalLoading: E } = ki(), H = te(
68069
- async (W, V) => {
68076
+ const { roomsList: B, loading: T, globalLoading: E } = ki(), j = te(
68077
+ async (Q, q) => {
68070
68078
  try {
68071
- g == null || g.getHistoryStanza(W, V);
68079
+ g == null || g.getHistoryStanza(Q, q);
68072
68080
  } catch {
68073
68081
  console.log("Error in loading queue messages");
68074
68082
  }
@@ -68080,7 +68088,7 @@ const sx = S.div`
68080
68088
  B,
68081
68089
  E,
68082
68090
  T,
68083
- H
68091
+ j
68084
68092
  ), s.xmppPassword === "" && s.xmppUsername === "" ? /* @__PURE__ */ h(Dm, { config: t }) : /* @__PURE__ */ O(we, { children: [
68085
68093
  d && /* @__PURE__ */ h(Xh, { children: /* @__PURE__ */ h(Jh, { children: "There was an error. Please, refresh the page" }) }),
68086
68094
  /* @__PURE__ */ h(we, { children: A ? /* @__PURE__ */ h(
@@ -68140,14 +68148,14 @@ const sx = S.div`
68140
68148
  Sx,
68141
68149
  {
68142
68150
  modal: a,
68143
- setOpenModal: (W) => b(rn(W))
68151
+ setOpenModal: (Q) => b(rn(Q))
68144
68152
  }
68145
68153
  )
68146
68154
  ]
68147
68155
  }
68148
68156
  )
68149
68157
  }
68150
- ) : /* @__PURE__ */ h(Py, { children: /* @__PURE__ */ h(Ii, { color: (Q = t == null ? void 0 : t.colors) == null ? void 0 : Q.primary }) }) }),
68158
+ ) : /* @__PURE__ */ h(Py, { children: /* @__PURE__ */ h(Ii, { color: (W = t == null ? void 0 : t.colors) == null ? void 0 : W.primary }) }) }),
68151
68159
  o.isDeleteModal && /* @__PURE__ */ h(
68152
68160
  Ox,
68153
68161
  {