@ethora/chat-component 25.11.5 → 25.12.1

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
@@ -91,16 +91,16 @@ var $s = { exports: {} }, jd;
91
91
  function Ms() {
92
92
  if (jd) return $s.exports;
93
93
  jd = 1;
94
- var e = typeof Reflect == "object" ? Reflect : null, t = e && typeof e.apply == "function" ? e.apply : function(k, v, C) {
95
- return Function.prototype.apply.call(k, v, C);
94
+ var e = typeof Reflect == "object" ? Reflect : null, t = e && typeof e.apply == "function" ? e.apply : function(k, v, E) {
95
+ return Function.prototype.apply.call(k, v, E);
96
96
  }, n;
97
97
  e && typeof e.ownKeys == "function" ? n = e.ownKeys : Object.getOwnPropertySymbols ? n = function(k) {
98
98
  return Object.getOwnPropertyNames(k).concat(Object.getOwnPropertySymbols(k));
99
99
  } : n = function(k) {
100
100
  return Object.getOwnPropertyNames(k);
101
101
  };
102
- function i(T) {
103
- console && console.warn && console.warn(T);
102
+ function i(C) {
103
+ console && console.warn && console.warn(C);
104
104
  }
105
105
  var r = Number.isNaN || function(k) {
106
106
  return k !== k;
@@ -110,19 +110,19 @@ function Ms() {
110
110
  }
111
111
  $s.exports = s, $s.exports.once = y, s.EventEmitter = s, s.prototype._events = void 0, s.prototype._eventsCount = 0, s.prototype._maxListeners = void 0;
112
112
  var a = 10;
113
- function o(T) {
114
- if (typeof T != "function")
115
- throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof T);
113
+ function o(C) {
114
+ if (typeof C != "function")
115
+ throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof C);
116
116
  }
117
117
  Object.defineProperty(s, "defaultMaxListeners", {
118
118
  enumerable: !0,
119
119
  get: function() {
120
120
  return a;
121
121
  },
122
- set: function(T) {
123
- if (typeof T != "number" || T < 0 || r(T))
124
- throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + T + ".");
125
- a = T;
122
+ set: function(C) {
123
+ if (typeof C != "number" || C < 0 || r(C))
124
+ throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + C + ".");
125
+ a = C;
126
126
  }
127
127
  }), s.init = function() {
128
128
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
@@ -131,13 +131,13 @@ function Ms() {
131
131
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + k + ".");
132
132
  return this._maxListeners = k, this;
133
133
  };
134
- function A(T) {
135
- return T._maxListeners === void 0 ? s.defaultMaxListeners : T._maxListeners;
134
+ function A(C) {
135
+ return C._maxListeners === void 0 ? s.defaultMaxListeners : C._maxListeners;
136
136
  }
137
137
  s.prototype.getMaxListeners = function() {
138
138
  return A(this);
139
139
  }, s.prototype.emit = function(k) {
140
- for (var v = [], C = 1; C < arguments.length; C++) v.push(arguments[C]);
140
+ for (var v = [], E = 1; E < arguments.length; E++) v.push(arguments[E]);
141
141
  var I = k === "error", B = this._events;
142
142
  if (B !== void 0)
143
143
  I = I && B.error === void 0;
@@ -156,24 +156,24 @@ function Ms() {
156
156
  if (typeof P == "function")
157
157
  t(P, this, v);
158
158
  else
159
- for (var _ = P.length, Q = m(P, _), C = 0; C < _; ++C)
160
- t(Q[C], this, v);
159
+ for (var _ = P.length, Q = m(P, _), E = 0; E < _; ++E)
160
+ t(Q[E], this, v);
161
161
  return !0;
162
162
  };
163
- function u(T, k, v, C) {
163
+ function u(C, k, v, E) {
164
164
  var I, B, x;
165
- if (o(v), B = T._events, B === void 0 ? (B = T._events = /* @__PURE__ */ Object.create(null), T._eventsCount = 0) : (B.newListener !== void 0 && (T.emit(
165
+ if (o(v), B = C._events, B === void 0 ? (B = C._events = /* @__PURE__ */ Object.create(null), C._eventsCount = 0) : (B.newListener !== void 0 && (C.emit(
166
166
  "newListener",
167
167
  k,
168
168
  v.listener ? v.listener : v
169
- ), B = T._events), x = B[k]), x === void 0)
170
- x = B[k] = v, ++T._eventsCount;
171
- else if (typeof x == "function" ? x = B[k] = C ? [v, x] : [x, v] : C ? x.unshift(v) : x.push(v), I = A(T), I > 0 && x.length > I && !x.warned) {
169
+ ), B = C._events), x = B[k]), x === void 0)
170
+ x = B[k] = v, ++C._eventsCount;
171
+ else if (typeof x == "function" ? x = B[k] = E ? [v, x] : [x, v] : E ? x.unshift(v) : x.push(v), I = A(C), I > 0 && x.length > I && !x.warned) {
172
172
  x.warned = !0;
173
173
  var D = new Error("Possible EventEmitter memory leak detected. " + x.length + " " + String(k) + " listeners added. Use emitter.setMaxListeners() to increase limit");
174
- D.name = "MaxListenersExceededWarning", D.emitter = T, D.type = k, D.count = x.length, i(D);
174
+ D.name = "MaxListenersExceededWarning", D.emitter = C, D.type = k, D.count = x.length, i(D);
175
175
  }
176
- return T;
176
+ return C;
177
177
  }
178
178
  s.prototype.addListener = function(k, v) {
179
179
  return u(this, k, v, !1);
@@ -184,70 +184,70 @@ function Ms() {
184
184
  if (!this.fired)
185
185
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
186
186
  }
187
- function f(T, k, v) {
188
- var C = { fired: !1, wrapFn: void 0, target: T, type: k, listener: v }, I = l.bind(C);
189
- return I.listener = v, C.wrapFn = I, I;
187
+ function f(C, k, v) {
188
+ var E = { fired: !1, wrapFn: void 0, target: C, type: k, listener: v }, I = l.bind(E);
189
+ return I.listener = v, E.wrapFn = I, I;
190
190
  }
191
191
  s.prototype.once = function(k, v) {
192
192
  return o(v), this.on(k, f(this, k, v)), this;
193
193
  }, s.prototype.prependOnceListener = function(k, v) {
194
194
  return o(v), this.prependListener(k, f(this, k, v)), this;
195
195
  }, s.prototype.removeListener = function(k, v) {
196
- var C, I, B, x, D;
196
+ var E, I, B, x, D;
197
197
  if (o(v), I = this._events, I === void 0)
198
198
  return this;
199
- if (C = I[k], C === void 0)
199
+ if (E = I[k], E === void 0)
200
200
  return this;
201
- if (C === v || C.listener === v)
202
- --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete I[k], I.removeListener && this.emit("removeListener", k, C.listener || v));
203
- else if (typeof C != "function") {
204
- for (B = -1, x = C.length - 1; x >= 0; x--)
205
- if (C[x] === v || C[x].listener === v) {
206
- D = C[x].listener, B = x;
201
+ if (E === v || E.listener === v)
202
+ --this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete I[k], I.removeListener && this.emit("removeListener", k, E.listener || v));
203
+ else if (typeof E != "function") {
204
+ for (B = -1, x = E.length - 1; x >= 0; x--)
205
+ if (E[x] === v || E[x].listener === v) {
206
+ D = E[x].listener, B = x;
207
207
  break;
208
208
  }
209
209
  if (B < 0)
210
210
  return this;
211
- B === 0 ? C.shift() : g(C, B), C.length === 1 && (I[k] = C[0]), I.removeListener !== void 0 && this.emit("removeListener", k, D || v);
211
+ B === 0 ? E.shift() : g(E, B), E.length === 1 && (I[k] = E[0]), I.removeListener !== void 0 && this.emit("removeListener", k, D || v);
212
212
  }
213
213
  return this;
214
214
  }, s.prototype.off = s.prototype.removeListener, s.prototype.removeAllListeners = function(k) {
215
- var v, C, I;
216
- if (C = this._events, C === void 0)
215
+ var v, E, I;
216
+ if (E = this._events, E === void 0)
217
217
  return this;
218
- if (C.removeListener === void 0)
219
- return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : C[k] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete C[k]), this;
218
+ if (E.removeListener === void 0)
219
+ return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : E[k] !== void 0 && (--this._eventsCount === 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete E[k]), this;
220
220
  if (arguments.length === 0) {
221
- var B = Object.keys(C), x;
221
+ var B = Object.keys(E), x;
222
222
  for (I = 0; I < B.length; ++I)
223
223
  x = B[I], x !== "removeListener" && this.removeAllListeners(x);
224
224
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
225
225
  }
226
- if (v = C[k], typeof v == "function")
226
+ if (v = E[k], typeof v == "function")
227
227
  this.removeListener(k, v);
228
228
  else if (v !== void 0)
229
229
  for (I = v.length - 1; I >= 0; I--)
230
230
  this.removeListener(k, v[I]);
231
231
  return this;
232
232
  };
233
- function c(T, k, v) {
234
- var C = T._events;
235
- if (C === void 0)
233
+ function c(C, k, v) {
234
+ var E = C._events;
235
+ if (E === void 0)
236
236
  return [];
237
- var I = C[k];
237
+ var I = E[k];
238
238
  return I === void 0 ? [] : typeof I == "function" ? v ? [I.listener || I] : [I] : v ? b(I) : m(I, I.length);
239
239
  }
240
240
  s.prototype.listeners = function(k) {
241
241
  return c(this, k, !0);
242
242
  }, s.prototype.rawListeners = function(k) {
243
243
  return c(this, k, !1);
244
- }, s.listenerCount = function(T, k) {
245
- return typeof T.listenerCount == "function" ? T.listenerCount(k) : d.call(T, k);
244
+ }, s.listenerCount = function(C, k) {
245
+ return typeof C.listenerCount == "function" ? C.listenerCount(k) : d.call(C, k);
246
246
  }, s.prototype.listenerCount = d;
247
- function d(T) {
247
+ function d(C) {
248
248
  var k = this._events;
249
249
  if (k !== void 0) {
250
- var v = k[T];
250
+ var v = k[C];
251
251
  if (typeof v == "function")
252
252
  return 1;
253
253
  if (v !== void 0)
@@ -258,44 +258,44 @@ function Ms() {
258
258
  s.prototype.eventNames = function() {
259
259
  return this._eventsCount > 0 ? n(this._events) : [];
260
260
  };
261
- function m(T, k) {
262
- for (var v = new Array(k), C = 0; C < k; ++C)
263
- v[C] = T[C];
261
+ function m(C, k) {
262
+ for (var v = new Array(k), E = 0; E < k; ++E)
263
+ v[E] = C[E];
264
264
  return v;
265
265
  }
266
- function g(T, k) {
267
- for (; k + 1 < T.length; k++)
268
- T[k] = T[k + 1];
269
- T.pop();
266
+ function g(C, k) {
267
+ for (; k + 1 < C.length; k++)
268
+ C[k] = C[k + 1];
269
+ C.pop();
270
270
  }
271
- function b(T) {
272
- for (var k = new Array(T.length), v = 0; v < k.length; ++v)
273
- k[v] = T[v].listener || T[v];
271
+ function b(C) {
272
+ for (var k = new Array(C.length), v = 0; v < k.length; ++v)
273
+ k[v] = C[v].listener || C[v];
274
274
  return k;
275
275
  }
276
- function y(T, k) {
277
- return new Promise(function(v, C) {
276
+ function y(C, k) {
277
+ return new Promise(function(v, E) {
278
278
  function I(x) {
279
- T.removeListener(k, B), C(x);
279
+ C.removeListener(k, B), E(x);
280
280
  }
281
281
  function B() {
282
- typeof T.removeListener == "function" && T.removeListener("error", I), v([].slice.call(arguments));
282
+ typeof C.removeListener == "function" && C.removeListener("error", I), v([].slice.call(arguments));
283
283
  }
284
- w(T, k, B, { once: !0 }), k !== "error" && E(T, I, { once: !0 });
284
+ w(C, k, B, { once: !0 }), k !== "error" && T(C, I, { once: !0 });
285
285
  });
286
286
  }
287
- function E(T, k, v) {
288
- typeof T.on == "function" && w(T, "error", k, v);
287
+ function T(C, k, v) {
288
+ typeof C.on == "function" && w(C, "error", k, v);
289
289
  }
290
- function w(T, k, v, C) {
291
- if (typeof T.on == "function")
292
- C.once ? T.once(k, v) : T.on(k, v);
293
- else if (typeof T.addEventListener == "function")
294
- T.addEventListener(k, function I(B) {
295
- C.once && T.removeEventListener(k, I), v(B);
290
+ function w(C, k, v, E) {
291
+ if (typeof C.on == "function")
292
+ E.once ? C.once(k, v) : C.on(k, v);
293
+ else if (typeof C.addEventListener == "function")
294
+ C.addEventListener(k, function I(B) {
295
+ E.once && C.removeEventListener(k, I), v(B);
296
296
  });
297
297
  else
298
- throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof T);
298
+ throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof C);
299
299
  }
300
300
  return $s.exports;
301
301
  }
@@ -697,7 +697,7 @@ function S3() {
697
697
  class d extends e.EventEmitter {
698
698
  constructor() {
699
699
  super();
700
- let g = n, b, y, E, w, T, k, v, C, I = 0, B;
700
+ let g = n, b, y, T, w, C, k, v, E, I = 0, B;
701
701
  this._handleTagOpening = function(D, P, _) {
702
702
  D ? this.emit("endElement", P, !1) : (this.emit("startElement", P, _), k && this.emit("endElement", P, !0));
703
703
  }, this.write = function(D) {
@@ -718,7 +718,7 @@ function S3() {
718
718
  break;
719
719
  }
720
720
  case l: {
721
- const H = D.indexOf(C, P);
721
+ const H = D.indexOf(E, P);
722
722
  H !== -1 && (P = H);
723
723
  break;
724
724
  }
@@ -749,7 +749,7 @@ function S3() {
749
749
  } else D.length < P + 2 && (y = !0, P = D.length);
750
750
  break;
751
751
  case s:
752
- Q === 47 && I === P ? (I = P + 1, T = !0) : Q === 33 ? D.substr(P + 1, 7) === "[CDATA[" ? (I = P + 8, g = f) : D.length < P + 8 && "[CDATA[".startsWith(D.slice(P + 1)) ? (y = !0, P = D.length) : (I = void 0, g = i) : Q === 63 ? (I = void 0, g = r) : (Q <= 32 || Q === 47 || Q === 62) && (E = _(), P--, g = a);
752
+ Q === 47 && I === P ? (I = P + 1, C = !0) : Q === 33 ? D.substr(P + 1, 7) === "[CDATA[" ? (I = P + 8, g = f) : D.length < P + 8 && "[CDATA[".startsWith(D.slice(P + 1)) ? (y = !0, P = D.length) : (I = void 0, g = i) : Q === 63 ? (I = void 0, g = r) : (Q <= 32 || Q === 47 || Q === 62) && (T = _(), P--, g = a);
753
753
  break;
754
754
  case i:
755
755
  if (Q === 62) {
@@ -761,7 +761,7 @@ function S3() {
761
761
  Q === 62 && D.charCodeAt(P - 1) === 63 && (g = n);
762
762
  break;
763
763
  case a:
764
- Q === 62 ? (this._handleTagOpening(T, E, w), E = void 0, w = void 0, T = void 0, k = void 0, g = n, I = P + 1) : Q === 47 ? k = !0 : Q > 32 && (I = P, g = o);
764
+ Q === 62 ? (this._handleTagOpening(C, T, w), T = void 0, w = void 0, C = void 0, k = void 0, g = n, I = P + 1) : Q === 47 ? k = !0 : Q > 32 && (I = P, g = o);
765
765
  break;
766
766
  case o:
767
767
  (Q <= 32 || Q === 61) && (B = _(), P--, g = A);
@@ -770,7 +770,7 @@ function S3() {
770
770
  Q === 61 && (g = u);
771
771
  break;
772
772
  case u:
773
- (Q === 34 || Q === 39) && (v = Q, C = Q === 34 ? '"' : "'", g = l, I = P + 1);
773
+ (Q === 34 || Q === 39) && (v = Q, E = Q === 34 ? '"' : "'", g = l, I = P + 1);
774
774
  break;
775
775
  case l:
776
776
  if (Q === v) {
@@ -1595,8 +1595,8 @@ function K3() {
1595
1595
  let y;
1596
1596
  try {
1597
1597
  y = await d();
1598
- } catch (E) {
1599
- l.emit("error", E), y = o("cancel", "internal-server-error");
1598
+ } catch (T) {
1599
+ l.emit("error", T), y = o("cancel", "internal-server-error");
1600
1600
  }
1601
1601
  return y || (y = o("cancel", "service-unavailable")), y instanceof e.Element && y.is("error") ? a(c, y, b) : s(
1602
1602
  c,
@@ -1822,10 +1822,10 @@ function uk() {
1822
1822
  ...f
1823
1823
  };
1824
1824
  return new Promise((g, b) => {
1825
- const y = (E) => {
1826
- if (E.attrs.xmlns === s) {
1827
- if (E.name === "challenge") {
1828
- c.challenge(t(E.text()));
1825
+ const y = (T) => {
1826
+ if (T.attrs.xmlns === s) {
1827
+ if (T.name === "challenge") {
1828
+ c.challenge(t(T.text()));
1829
1829
  const w = c.response(m);
1830
1830
  u.send(
1831
1831
  i(
@@ -1836,7 +1836,7 @@ function uk() {
1836
1836
  );
1837
1837
  return;
1838
1838
  }
1839
- E.name === "failure" ? b(n.fromElement(E)) : E.name === "success" && g(), u.removeListener("nonza", y);
1839
+ T.name === "failure" ? b(n.fromElement(T)) : T.name === "success" && g(), u.removeListener("nonza", y);
1840
1840
  }
1841
1841
  };
1842
1842
  u.on("nonza", y), c.clientFirst && u.send(
@@ -1852,9 +1852,9 @@ function uk() {
1852
1852
  const f = new r();
1853
1853
  return u.use("mechanisms", s, async ({ stanza: c, entity: d }) => {
1854
1854
  const m = a(c);
1855
- let y = f._mechs.map(({ name: E }) => E).filter((E) => m.includes(E))[0];
1855
+ let y = f._mechs.map(({ name: T }) => T).filter((T) => m.includes(T))[0];
1856
1856
  typeof l == "function" ? await l(
1857
- (E) => o(f, d, y, E),
1857
+ (T) => o(f, d, y, T),
1858
1858
  y
1859
1859
  ) : (!l.username && !l.password && (y = "ANONYMOUS"), await o(f, d, y, l)), await d.restart();
1860
1860
  }), {
@@ -2049,10 +2049,10 @@ function Ek() {
2049
2049
  if (W1) return Or;
2050
2050
  W1 = 1;
2051
2051
  const { xml: e, jid: t, Client: n } = _3(), i = M3(), r = P3(), s = U3(), a = G3(), o = q3(), A = X3(), u = K3(), l = nk(), f = uk(), c = lk(), d = fk(), m = ck(), g = gk(), b = kk();
2052
- function y(E = {}) {
2053
- const { resource: w, credentials: T, username: k, password: v, ...C } = E, { domain: I, service: B } = C;
2054
- !I && B && (C.domain = i(B));
2055
- const x = new n(C), D = r({ entity: x }), P = s({ entity: x }), _ = a({ entity: x }), Q = o({ middleware: _ }), H = A({ middleware: _, entity: x }), V = u({ middleware: _, entity: x }), re = l({ entity: x }), he = f({ streamFeatures: Q }, T || { username: k, password: v }), oe = m({
2052
+ function y(T = {}) {
2053
+ const { resource: w, credentials: C, username: k, password: v, ...E } = T, { domain: I, service: B } = E;
2054
+ !I && B && (E.domain = i(B));
2055
+ const x = new n(E), D = r({ entity: x }), P = s({ entity: x }), _ = a({ entity: x }), Q = o({ middleware: _ }), H = A({ middleware: _, entity: x }), V = u({ middleware: _, entity: x }), re = l({ entity: x }), he = f({ streamFeatures: Q }, C || { username: k, password: v }), oe = m({
2056
2056
  streamFeatures: Q,
2057
2057
  entity: x,
2058
2058
  middleware: _
@@ -2291,10 +2291,10 @@ const Sk = (e) => e.reduce((t, n) => (t[n.language] = n, t), {}), Dk = (e, t) =>
2291
2291
  }
2292
2292
  if (g.is("iq") && g.attrs.id === a && g.attrs.type === "result") {
2293
2293
  let y = [];
2294
- for (const E of d) {
2295
- const w = E?.getChild("reactions");
2296
- if (E.getChild("body")?.getText() || w) {
2297
- const { data: k, id: v, body: C, ...I } = await uo(E);
2294
+ for (const T of d) {
2295
+ const w = T?.getChild("reactions");
2296
+ if (T.getChild("body")?.getText() || w) {
2297
+ const { data: k, id: v, body: E, ...I } = await uo(T);
2298
2298
  if (!k) {
2299
2299
  console.log("No data in stanza");
2300
2300
  return;
@@ -2302,7 +2302,7 @@ const Sk = (e) => e.reduce((t, n) => (t[n.language] = n, t), {}), Dk = (e, t) =>
2302
2302
  const B = await vc({
2303
2303
  data: k,
2304
2304
  id: v,
2305
- body: C,
2305
+ body: E,
2306
2306
  ...I
2307
2307
  });
2308
2308
  y.push(B);
@@ -2531,24 +2531,24 @@ function Pk() {
2531
2531
  }), o && (i.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW || !ArrayBuffer.isView) && (ArrayBuffer.isView = function(v) {
2532
2532
  return typeof v == "object" && v.buffer && v.buffer.constructor === ArrayBuffer;
2533
2533
  });
2534
- var m = function(v, C) {
2534
+ var m = function(v, E) {
2535
2535
  return function(I) {
2536
- return new w(C, !0).update(I)[v]();
2536
+ return new w(E, !0).update(I)[v]();
2537
2537
  };
2538
2538
  }, g = function(v) {
2539
- var C = m("hex", v);
2540
- s && (C = b(C, v)), C.create = function() {
2539
+ var E = m("hex", v);
2540
+ s && (E = b(E, v)), E.create = function() {
2541
2541
  return new w(v);
2542
- }, C.update = function(x) {
2543
- return C.create().update(x);
2542
+ }, E.update = function(x) {
2543
+ return E.create().update(x);
2544
2544
  };
2545
2545
  for (var I = 0; I < c.length; ++I) {
2546
2546
  var B = c[I];
2547
- C[B] = m(B, v);
2547
+ E[B] = m(B, v);
2548
2548
  }
2549
- return C;
2550
- }, b = function(v, C) {
2551
- var I = Zi, B = Zi.Buffer, x = C ? "sha224" : "sha256", D;
2549
+ return E;
2550
+ }, b = function(v, E) {
2551
+ var I = Zi, B = Zi.Buffer, x = E ? "sha224" : "sha256", D;
2552
2552
  B.from && !i.JS_SHA256_NO_BUFFER_FROM ? D = B.from : D = function(_) {
2553
2553
  return new B(_);
2554
2554
  };
@@ -2560,29 +2560,29 @@ function Pk() {
2560
2560
  return _.constructor === ArrayBuffer && (_ = new Uint8Array(_)), Array.isArray(_) || ArrayBuffer.isView(_) || _.constructor === B ? I.createHash(x).update(D(_)).digest("hex") : v(_);
2561
2561
  };
2562
2562
  return P;
2563
- }, y = function(v, C) {
2563
+ }, y = function(v, E) {
2564
2564
  return function(I, B) {
2565
- return new T(I, C, !0).update(B)[v]();
2565
+ return new C(I, E, !0).update(B)[v]();
2566
2566
  };
2567
- }, E = function(v) {
2568
- var C = y("hex", v);
2569
- C.create = function(x) {
2570
- return new T(x, v);
2571
- }, C.update = function(x, D) {
2572
- return C.create(x).update(D);
2567
+ }, T = function(v) {
2568
+ var E = y("hex", v);
2569
+ E.create = function(x) {
2570
+ return new C(x, v);
2571
+ }, E.update = function(x, D) {
2572
+ return E.create(x).update(D);
2573
2573
  };
2574
2574
  for (var I = 0; I < c.length; ++I) {
2575
2575
  var B = c[I];
2576
- C[B] = y(B, v);
2576
+ E[B] = y(B, v);
2577
2577
  }
2578
- return C;
2578
+ return E;
2579
2579
  };
2580
- function w(v, C) {
2581
- C ? (d[0] = d[16] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] = d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = 0, this.blocks = d) : this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], v ? (this.h0 = 3238371032, this.h1 = 914150663, this.h2 = 812702999, this.h3 = 4144912697, this.h4 = 4290775857, this.h5 = 1750603025, this.h6 = 1694076839, this.h7 = 3204075428) : (this.h0 = 1779033703, this.h1 = 3144134277, this.h2 = 1013904242, this.h3 = 2773480762, this.h4 = 1359893119, this.h5 = 2600822924, this.h6 = 528734635, this.h7 = 1541459225), this.block = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0, this.is224 = v;
2580
+ function w(v, E) {
2581
+ E ? (d[0] = d[16] = d[1] = d[2] = d[3] = d[4] = d[5] = d[6] = d[7] = d[8] = d[9] = d[10] = d[11] = d[12] = d[13] = d[14] = d[15] = 0, this.blocks = d) : this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], v ? (this.h0 = 3238371032, this.h1 = 914150663, this.h2 = 812702999, this.h3 = 4144912697, this.h4 = 4290775857, this.h5 = 1750603025, this.h6 = 1694076839, this.h7 = 3204075428) : (this.h0 = 1779033703, this.h1 = 3144134277, this.h2 = 1013904242, this.h3 = 2773480762, this.h4 = 1359893119, this.h5 = 2600822924, this.h6 = 528734635, this.h7 = 1541459225), this.block = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0, this.is224 = v;
2582
2582
  }
2583
2583
  w.prototype.update = function(v) {
2584
2584
  if (!this.finalized) {
2585
- var C, I = typeof v;
2585
+ var E, I = typeof v;
2586
2586
  if (I !== "string") {
2587
2587
  if (I === "object") {
2588
2588
  if (v === null)
@@ -2593,10 +2593,10 @@ function Pk() {
2593
2593
  throw new Error(t);
2594
2594
  } else
2595
2595
  throw new Error(t);
2596
- C = !0;
2596
+ E = !0;
2597
2597
  }
2598
2598
  for (var B, x = 0, D, P = v.length, _ = this.blocks; x < P; ) {
2599
- if (this.hashed && (this.hashed = !1, _[0] = this.block, this.block = _[16] = _[1] = _[2] = _[3] = _[4] = _[5] = _[6] = _[7] = _[8] = _[9] = _[10] = _[11] = _[12] = _[13] = _[14] = _[15] = 0), C)
2599
+ if (this.hashed && (this.hashed = !1, _[0] = this.block, this.block = _[16] = _[1] = _[2] = _[3] = _[4] = _[5] = _[6] = _[7] = _[8] = _[9] = _[10] = _[11] = _[12] = _[13] = _[14] = _[15] = 0), E)
2600
2600
  for (D = this.start; x < P && D < 64; ++x)
2601
2601
  _[D >>> 2] |= v[x] << l[D++ & 3];
2602
2602
  else
@@ -2609,31 +2609,31 @@ function Pk() {
2609
2609
  }, w.prototype.finalize = function() {
2610
2610
  if (!this.finalized) {
2611
2611
  this.finalized = !0;
2612
- var v = this.blocks, C = this.lastByteIndex;
2613
- v[16] = this.block, v[C >>> 2] |= u[C & 3], this.block = v[16], C >= 56 && (this.hashed || this.hash(), v[0] = this.block, v[16] = v[1] = v[2] = v[3] = v[4] = v[5] = v[6] = v[7] = v[8] = v[9] = v[10] = v[11] = v[12] = v[13] = v[14] = v[15] = 0), v[14] = this.hBytes << 3 | this.bytes >>> 29, v[15] = this.bytes << 3, this.hash();
2612
+ var v = this.blocks, E = this.lastByteIndex;
2613
+ v[16] = this.block, v[E >>> 2] |= u[E & 3], this.block = v[16], E >= 56 && (this.hashed || this.hash(), v[0] = this.block, v[16] = v[1] = v[2] = v[3] = v[4] = v[5] = v[6] = v[7] = v[8] = v[9] = v[10] = v[11] = v[12] = v[13] = v[14] = v[15] = 0), v[14] = this.hBytes << 3 | this.bytes >>> 29, v[15] = this.bytes << 3, this.hash();
2614
2614
  }
2615
2615
  }, w.prototype.hash = function() {
2616
- var v = this.h0, C = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = this.blocks, H, V, re, he, oe, S, U, Y, N, W, de;
2616
+ var v = this.h0, E = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = this.blocks, H, V, re, he, oe, S, U, Y, N, W, de;
2617
2617
  for (H = 16; H < 64; ++H)
2618
2618
  oe = Q[H - 15], V = (oe >>> 7 | oe << 25) ^ (oe >>> 18 | oe << 14) ^ oe >>> 3, oe = Q[H - 2], re = (oe >>> 17 | oe << 15) ^ (oe >>> 19 | oe << 13) ^ oe >>> 10, Q[H] = Q[H - 16] + V + Q[H - 7] + re << 0;
2619
- for (de = C & I, H = 0; H < 64; H += 4)
2620
- this.first ? (this.is224 ? (Y = 300032, oe = Q[0] - 1413257819, _ = oe - 150054599 << 0, B = oe + 24177077 << 0) : (Y = 704751109, oe = Q[0] - 210244248, _ = oe - 1521486534 << 0, B = oe + 143694565 << 0), this.first = !1) : (V = (v >>> 2 | v << 30) ^ (v >>> 13 | v << 19) ^ (v >>> 22 | v << 10), re = (x >>> 6 | x << 26) ^ (x >>> 11 | x << 21) ^ (x >>> 25 | x << 7), Y = v & C, he = Y ^ v & I ^ de, U = x & D ^ ~x & P, oe = _ + re + U + f[H] + Q[H], S = V + he, _ = B + oe << 0, B = oe + S << 0), V = (B >>> 2 | B << 30) ^ (B >>> 13 | B << 19) ^ (B >>> 22 | B << 10), re = (_ >>> 6 | _ << 26) ^ (_ >>> 11 | _ << 21) ^ (_ >>> 25 | _ << 7), N = B & v, he = N ^ B & C ^ Y, U = _ & x ^ ~_ & D, oe = P + re + U + f[H + 1] + Q[H + 1], S = V + he, P = I + oe << 0, I = oe + S << 0, V = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), re = (P >>> 6 | P << 26) ^ (P >>> 11 | P << 21) ^ (P >>> 25 | P << 7), W = I & B, he = W ^ I & v ^ N, U = P & _ ^ ~P & x, oe = D + re + U + f[H + 2] + Q[H + 2], S = V + he, D = C + oe << 0, C = oe + S << 0, V = (C >>> 2 | C << 30) ^ (C >>> 13 | C << 19) ^ (C >>> 22 | C << 10), re = (D >>> 6 | D << 26) ^ (D >>> 11 | D << 21) ^ (D >>> 25 | D << 7), de = C & I, he = de ^ C & B ^ W, U = D & P ^ ~D & _, oe = x + re + U + f[H + 3] + Q[H + 3], S = V + he, x = v + oe << 0, v = oe + S << 0, this.chromeBugWorkAround = !0;
2621
- this.h0 = this.h0 + v << 0, this.h1 = this.h1 + C << 0, this.h2 = this.h2 + I << 0, this.h3 = this.h3 + B << 0, this.h4 = this.h4 + x << 0, this.h5 = this.h5 + D << 0, this.h6 = this.h6 + P << 0, this.h7 = this.h7 + _ << 0;
2619
+ for (de = E & I, H = 0; H < 64; H += 4)
2620
+ this.first ? (this.is224 ? (Y = 300032, oe = Q[0] - 1413257819, _ = oe - 150054599 << 0, B = oe + 24177077 << 0) : (Y = 704751109, oe = Q[0] - 210244248, _ = oe - 1521486534 << 0, B = oe + 143694565 << 0), this.first = !1) : (V = (v >>> 2 | v << 30) ^ (v >>> 13 | v << 19) ^ (v >>> 22 | v << 10), re = (x >>> 6 | x << 26) ^ (x >>> 11 | x << 21) ^ (x >>> 25 | x << 7), Y = v & E, he = Y ^ v & I ^ de, U = x & D ^ ~x & P, oe = _ + re + U + f[H] + Q[H], S = V + he, _ = B + oe << 0, B = oe + S << 0), V = (B >>> 2 | B << 30) ^ (B >>> 13 | B << 19) ^ (B >>> 22 | B << 10), re = (_ >>> 6 | _ << 26) ^ (_ >>> 11 | _ << 21) ^ (_ >>> 25 | _ << 7), N = B & v, he = N ^ B & E ^ Y, U = _ & x ^ ~_ & D, oe = P + re + U + f[H + 1] + Q[H + 1], S = V + he, P = I + oe << 0, I = oe + S << 0, V = (I >>> 2 | I << 30) ^ (I >>> 13 | I << 19) ^ (I >>> 22 | I << 10), re = (P >>> 6 | P << 26) ^ (P >>> 11 | P << 21) ^ (P >>> 25 | P << 7), W = I & B, he = W ^ I & v ^ N, U = P & _ ^ ~P & x, oe = D + re + U + f[H + 2] + Q[H + 2], S = V + he, D = E + oe << 0, E = oe + S << 0, V = (E >>> 2 | E << 30) ^ (E >>> 13 | E << 19) ^ (E >>> 22 | E << 10), re = (D >>> 6 | D << 26) ^ (D >>> 11 | D << 21) ^ (D >>> 25 | D << 7), de = E & I, he = de ^ E & B ^ W, U = D & P ^ ~D & _, oe = x + re + U + f[H + 3] + Q[H + 3], S = V + he, x = v + oe << 0, v = oe + S << 0, this.chromeBugWorkAround = !0;
2621
+ this.h0 = this.h0 + v << 0, this.h1 = this.h1 + E << 0, this.h2 = this.h2 + I << 0, this.h3 = this.h3 + B << 0, this.h4 = this.h4 + x << 0, this.h5 = this.h5 + D << 0, this.h6 = this.h6 + P << 0, this.h7 = this.h7 + _ << 0;
2622
2622
  }, w.prototype.hex = function() {
2623
2623
  this.finalize();
2624
- var v = this.h0, C = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = A[v >>> 28 & 15] + A[v >>> 24 & 15] + A[v >>> 20 & 15] + A[v >>> 16 & 15] + A[v >>> 12 & 15] + A[v >>> 8 & 15] + A[v >>> 4 & 15] + A[v & 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[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[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[x >>> 28 & 15] + A[x >>> 24 & 15] + A[x >>> 20 & 15] + A[x >>> 16 & 15] + A[x >>> 12 & 15] + A[x >>> 8 & 15] + A[x >>> 4 & 15] + A[x & 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[P >>> 28 & 15] + A[P >>> 24 & 15] + A[P >>> 20 & 15] + A[P >>> 16 & 15] + A[P >>> 12 & 15] + A[P >>> 8 & 15] + A[P >>> 4 & 15] + A[P & 15];
2624
+ var v = this.h0, E = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = A[v >>> 28 & 15] + A[v >>> 24 & 15] + A[v >>> 20 & 15] + A[v >>> 16 & 15] + A[v >>> 12 & 15] + A[v >>> 8 & 15] + A[v >>> 4 & 15] + A[v & 15] + 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] + 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[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[x >>> 28 & 15] + A[x >>> 24 & 15] + A[x >>> 20 & 15] + A[x >>> 16 & 15] + A[x >>> 12 & 15] + A[x >>> 8 & 15] + A[x >>> 4 & 15] + A[x & 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[P >>> 28 & 15] + A[P >>> 24 & 15] + A[P >>> 20 & 15] + A[P >>> 16 & 15] + A[P >>> 12 & 15] + A[P >>> 8 & 15] + A[P >>> 4 & 15] + A[P & 15];
2625
2625
  return this.is224 || (Q += A[_ >>> 28 & 15] + A[_ >>> 24 & 15] + A[_ >>> 20 & 15] + A[_ >>> 16 & 15] + A[_ >>> 12 & 15] + A[_ >>> 8 & 15] + A[_ >>> 4 & 15] + A[_ & 15]), Q;
2626
2626
  }, w.prototype.toString = w.prototype.hex, w.prototype.digest = function() {
2627
2627
  this.finalize();
2628
- var v = this.h0, C = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = [
2628
+ var v = this.h0, E = this.h1, I = this.h2, B = this.h3, x = this.h4, D = this.h5, P = this.h6, _ = this.h7, Q = [
2629
2629
  v >>> 24 & 255,
2630
2630
  v >>> 16 & 255,
2631
2631
  v >>> 8 & 255,
2632
2632
  v & 255,
2633
- C >>> 24 & 255,
2634
- C >>> 16 & 255,
2635
- C >>> 8 & 255,
2636
- C & 255,
2633
+ E >>> 24 & 255,
2634
+ E >>> 16 & 255,
2635
+ E >>> 8 & 255,
2636
+ E & 255,
2637
2637
  I >>> 24 & 255,
2638
2638
  I >>> 16 & 255,
2639
2639
  I >>> 8 & 255,
@@ -2658,10 +2658,10 @@ function Pk() {
2658
2658
  return this.is224 || Q.push(_ >>> 24 & 255, _ >>> 16 & 255, _ >>> 8 & 255, _ & 255), Q;
2659
2659
  }, w.prototype.array = w.prototype.digest, w.prototype.arrayBuffer = function() {
2660
2660
  this.finalize();
2661
- var v = new ArrayBuffer(this.is224 ? 28 : 32), C = new DataView(v);
2662
- return C.setUint32(0, this.h0), C.setUint32(4, this.h1), C.setUint32(8, this.h2), C.setUint32(12, this.h3), C.setUint32(16, this.h4), C.setUint32(20, this.h5), C.setUint32(24, this.h6), this.is224 || C.setUint32(28, this.h7), v;
2661
+ var v = new ArrayBuffer(this.is224 ? 28 : 32), E = new DataView(v);
2662
+ return E.setUint32(0, this.h0), E.setUint32(4, this.h1), E.setUint32(8, this.h2), E.setUint32(12, this.h3), E.setUint32(16, this.h4), E.setUint32(20, this.h5), E.setUint32(24, this.h6), this.is224 || E.setUint32(28, this.h7), v;
2663
2663
  };
2664
- function T(v, C, I) {
2664
+ function C(v, E, I) {
2665
2665
  var B, x = typeof v;
2666
2666
  if (x === "string") {
2667
2667
  var D = [], P = v.length, _ = 0, Q;
@@ -2677,15 +2677,15 @@ function Pk() {
2677
2677
  throw new Error(t);
2678
2678
  } else
2679
2679
  throw new Error(t);
2680
- v.length > 64 && (v = new w(C, !0).update(v).array());
2680
+ v.length > 64 && (v = new w(E, !0).update(v).array());
2681
2681
  var H = [], V = [];
2682
2682
  for (B = 0; B < 64; ++B) {
2683
2683
  var re = v[B] || 0;
2684
2684
  H[B] = 92 ^ re, V[B] = 54 ^ re;
2685
2685
  }
2686
- w.call(this, C, I), this.update(V), this.oKeyPad = H, this.inner = !0, this.sharedMemory = I;
2686
+ w.call(this, E, I), this.update(V), this.oKeyPad = H, this.inner = !0, this.sharedMemory = I;
2687
2687
  }
2688
- T.prototype = new w(), T.prototype.finalize = function() {
2688
+ C.prototype = new w(), C.prototype.finalize = function() {
2689
2689
  if (w.prototype.finalize.call(this), this.inner) {
2690
2690
  this.inner = !1;
2691
2691
  var v = this.array();
@@ -2693,7 +2693,7 @@ function Pk() {
2693
2693
  }
2694
2694
  };
2695
2695
  var k = g();
2696
- k.sha256 = k, k.sha224 = g(!0), k.sha256.hmac = E(), k.sha224.hmac = E(!0), a ? e.exports = k : (i.sha256 = k.sha256, i.sha224 = k.sha224);
2696
+ k.sha256 = k, k.sha224 = g(!0), k.sha256.hmac = T(), k.sha224.hmac = T(!0), a ? e.exports = k : (i.sha256 = k.sha256, i.sha224 = k.sha224);
2697
2697
  })();
2698
2698
  }(_u)), _u.exports;
2699
2699
  }
@@ -3212,8 +3212,8 @@ class Jk extends kg.EventEmitter {
3212
3212
  break;
3213
3213
  case Pu:
3214
3214
  if (b === 62) {
3215
- const y = d.charCodeAt(m - 1), E = d.charCodeAt(m - 2);
3216
- (y === 45 && E === 45 || y === 93 && E === 93) && (t = ii);
3215
+ const y = d.charCodeAt(m - 1), T = d.charCodeAt(m - 2);
3216
+ (y === 45 && T === 45 || y === 93 && T === 93) && (t = ii);
3217
3217
  }
3218
3218
  break;
3219
3219
  case X1:
@@ -3362,12 +3362,12 @@ function bc(e, t, n) {
3362
3362
  throw new Error(process.env.NODE_ENV === "production" ? at(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
3363
3363
  let y = !0;
3364
3364
  u();
3365
- const E = o++;
3366
- return a.set(E, b), function() {
3365
+ const T = o++;
3366
+ return a.set(T, b), function() {
3367
3367
  if (y) {
3368
3368
  if (A)
3369
3369
  throw new Error(process.env.NODE_ENV === "production" ? at(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
3370
- y = !1, u(), a.delete(E), s = null;
3370
+ y = !1, u(), a.delete(T), s = null;
3371
3371
  }
3372
3372
  };
3373
3373
  }
@@ -3385,8 +3385,8 @@ function bc(e, t, n) {
3385
3385
  } finally {
3386
3386
  A = !1;
3387
3387
  }
3388
- return (s = a).forEach((E) => {
3389
- E();
3388
+ return (s = a).forEach((T) => {
3389
+ T();
3390
3390
  }), b;
3391
3391
  }
3392
3392
  function d(b) {
@@ -3410,12 +3410,12 @@ function bc(e, t, n) {
3410
3410
  subscribe(y) {
3411
3411
  if (typeof y != "object" || y === null)
3412
3412
  throw new Error(process.env.NODE_ENV === "production" ? at(11) : `Expected the observer to be an object. Instead, received: '${Mn(y)}'`);
3413
- function E() {
3414
- const T = y;
3415
- T.next && T.next(l());
3413
+ function T() {
3414
+ const C = y;
3415
+ C.next && C.next(l());
3416
3416
  }
3417
- return E(), {
3418
- unsubscribe: b(E)
3417
+ return T(), {
3418
+ unsubscribe: b(T)
3419
3419
  };
3420
3420
  },
3421
3421
  [nh]() {
@@ -4223,9 +4223,9 @@ function x4(e = {}) {
4223
4223
  if (b) {
4224
4224
  const {
4225
4225
  keyPath: y,
4226
- value: E
4226
+ value: T
4227
4227
  } = b;
4228
- console.error(`A non-serializable value was detected in an action, in the path: \`${y}\`. Value:`, E, `
4228
+ console.error(`A non-serializable value was detected in an action, in the path: \`${y}\`. Value:`, T, `
4229
4229
  Take a look at the logic that dispatched this action: `, d, `
4230
4230
  (See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`, `
4231
4231
  (To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
@@ -4234,10 +4234,10 @@ Take a look at the logic that dispatched this action: `, d, `
4234
4234
  const b = f.getState(), y = Af(b, "", t, n, s, l);
4235
4235
  if (y) {
4236
4236
  const {
4237
- keyPath: E,
4237
+ keyPath: T,
4238
4238
  value: w
4239
4239
  } = y;
4240
- console.error(`A non-serializable value was detected in the state, in the path: \`${E}\`. Value:`, w, `
4240
+ console.error(`A non-serializable value was detected in the state, in the path: \`${T}\`. Value:`, w, `
4241
4241
  Take a look at the reducer(s) handling this action type: ${d.type}.
4242
4242
  (See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`);
4243
4243
  }
@@ -4518,7 +4518,7 @@ var P4 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", O4
4518
4518
  u && (u.aborted ? y(ch) : u.addEventListener("abort", () => y(ch), {
4519
4519
  once: !0
4520
4520
  }));
4521
- const E = async function() {
4521
+ const T = async function() {
4522
4522
  let w;
4523
4523
  try {
4524
4524
  let k = i?.condition?.(A, {
@@ -4530,7 +4530,7 @@ var P4 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", O4
4530
4530
  name: "ConditionError",
4531
4531
  message: "Aborted due to condition callback returning false."
4532
4532
  };
4533
- const v = new Promise((C, I) => {
4533
+ const v = new Promise((E, I) => {
4534
4534
  g = () => {
4535
4535
  I({
4536
4536
  name: "AbortError",
@@ -4551,12 +4551,12 @@ var P4 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", O4
4551
4551
  requestId: d,
4552
4552
  signal: m.signal,
4553
4553
  abort: y,
4554
- rejectWithValue: (C, I) => new Uu(C, I),
4555
- fulfillWithValue: (C, I) => new fh(C, I)
4556
- })).then((C) => {
4557
- if (C instanceof Uu)
4558
- throw C;
4559
- return C instanceof fh ? r(C.payload, d, A, C.meta) : r(C, d, A);
4554
+ rejectWithValue: (E, I) => new Uu(E, I),
4555
+ fulfillWithValue: (E, I) => new fh(E, I)
4556
+ })).then((E) => {
4557
+ if (E instanceof Uu)
4558
+ throw E;
4559
+ return E instanceof fh ? r(E.payload, d, A, E.meta) : r(E, d, A);
4560
4560
  })]);
4561
4561
  } catch (k) {
4562
4562
  w = k instanceof Uu ? a(null, d, A, k.payload, k.meta) : a(k, d, A);
@@ -4565,12 +4565,12 @@ var P4 = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", O4
4565
4565
  }
4566
4566
  return i && !i.dispatchConditionRejection && a.match(w) && w.meta.condition || l(w), w;
4567
4567
  }();
4568
- return Object.assign(E, {
4568
+ return Object.assign(T, {
4569
4569
  abort: y,
4570
4570
  requestId: d,
4571
4571
  arg: A,
4572
4572
  unwrap() {
4573
- return E.then(H4);
4573
+ return T.then(H4);
4574
4574
  }
4575
4575
  });
4576
4576
  };
@@ -4617,77 +4617,77 @@ function W4({
4617
4617
  actionCreators: {},
4618
4618
  sliceMatchers: []
4619
4619
  }, u = {
4620
- addCase(w, T) {
4620
+ addCase(w, C) {
4621
4621
  const k = typeof w == "string" ? w : w.type;
4622
4622
  if (!k)
4623
4623
  throw new Error(process.env.NODE_ENV === "production" ? Ye(12) : "`context.addCase` cannot be called with an empty action type");
4624
4624
  if (k in A.sliceCaseReducersByType)
4625
4625
  throw new Error(process.env.NODE_ENV === "production" ? Ye(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + k);
4626
- return A.sliceCaseReducersByType[k] = T, u;
4626
+ return A.sliceCaseReducersByType[k] = C, u;
4627
4627
  },
4628
- addMatcher(w, T) {
4628
+ addMatcher(w, C) {
4629
4629
  return A.sliceMatchers.push({
4630
4630
  matcher: w,
4631
- reducer: T
4631
+ reducer: C
4632
4632
  }), u;
4633
4633
  },
4634
- exposeAction(w, T) {
4635
- return A.actionCreators[w] = T, u;
4634
+ exposeAction(w, C) {
4635
+ return A.actionCreators[w] = C, u;
4636
4636
  },
4637
- exposeCaseReducer(w, T) {
4638
- return A.sliceCaseReducersByName[w] = T, u;
4637
+ exposeCaseReducer(w, C) {
4638
+ return A.sliceCaseReducersByName[w] = C, u;
4639
4639
  }
4640
4640
  };
4641
4641
  o.forEach((w) => {
4642
- const T = a[w], k = {
4642
+ const C = a[w], k = {
4643
4643
  reducerName: w,
4644
4644
  type: Y4(r, w),
4645
4645
  createNotation: typeof i.reducers == "function"
4646
4646
  };
4647
- V4(T) ? X4(k, T, u, t) : q4(k, T, u);
4647
+ V4(C) ? X4(k, C, u, t) : q4(k, C, u);
4648
4648
  });
4649
4649
  function l() {
4650
4650
  if (process.env.NODE_ENV !== "production" && typeof i.extraReducers == "object")
4651
4651
  throw new Error(process.env.NODE_ENV === "production" ? Ye(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
4652
- const [w = {}, T = [], k = void 0] = typeof i.extraReducers == "function" ? jg(i.extraReducers) : [i.extraReducers], v = {
4652
+ const [w = {}, C = [], k = void 0] = typeof i.extraReducers == "function" ? jg(i.extraReducers) : [i.extraReducers], v = {
4653
4653
  ...w,
4654
4654
  ...A.sliceCaseReducersByType
4655
4655
  };
4656
- return R4(i.initialState, (C) => {
4656
+ return R4(i.initialState, (E) => {
4657
4657
  for (let I in v)
4658
- C.addCase(I, v[I]);
4658
+ E.addCase(I, v[I]);
4659
4659
  for (let I of A.sliceMatchers)
4660
- C.addMatcher(I.matcher, I.reducer);
4661
- for (let I of T)
4662
- C.addMatcher(I.matcher, I.reducer);
4663
- k && C.addDefaultCase(k);
4660
+ E.addMatcher(I.matcher, I.reducer);
4661
+ for (let I of C)
4662
+ E.addMatcher(I.matcher, I.reducer);
4663
+ k && E.addDefaultCase(k);
4664
4664
  });
4665
4665
  }
4666
4666
  const f = (w) => w, c = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new WeakMap();
4667
4667
  let m;
4668
- function g(w, T) {
4669
- return m || (m = l()), m(w, T);
4668
+ function g(w, C) {
4669
+ return m || (m = l()), m(w, C);
4670
4670
  }
4671
4671
  function b() {
4672
4672
  return m || (m = l()), m.getInitialState();
4673
4673
  }
4674
- function y(w, T = !1) {
4675
- function k(C) {
4676
- let I = C[w];
4674
+ function y(w, C = !1) {
4675
+ function k(E) {
4676
+ let I = E[w];
4677
4677
  if (typeof I > "u") {
4678
- if (T)
4678
+ if (C)
4679
4679
  I = ta(d, k, b);
4680
4680
  else if (process.env.NODE_ENV !== "production")
4681
4681
  throw new Error(process.env.NODE_ENV === "production" ? Ye(15) : "selectSlice returned undefined for an uninjected slice reducer");
4682
4682
  }
4683
4683
  return I;
4684
4684
  }
4685
- function v(C = f) {
4686
- const I = ta(c, T, () => /* @__PURE__ */ new WeakMap());
4687
- return ta(I, C, () => {
4685
+ function v(E = f) {
4686
+ const I = ta(c, C, () => /* @__PURE__ */ new WeakMap());
4687
+ return ta(I, E, () => {
4688
4688
  const B = {};
4689
4689
  for (const [x, D] of Object.entries(i.selectors ?? {}))
4690
- B[x] = G4(D, C, () => ta(d, C, b), T);
4690
+ B[x] = G4(D, E, () => ta(d, E, b), C);
4691
4691
  return B;
4692
4692
  });
4693
4693
  }
@@ -4700,7 +4700,7 @@ function W4({
4700
4700
  selectSlice: k
4701
4701
  };
4702
4702
  }
4703
- const E = {
4703
+ const T = {
4704
4704
  name: r,
4705
4705
  reducer: g,
4706
4706
  actions: A.actionCreators,
@@ -4708,20 +4708,20 @@ function W4({
4708
4708
  getInitialState: b,
4709
4709
  ...y(s),
4710
4710
  injectInto(w, {
4711
- reducerPath: T,
4711
+ reducerPath: C,
4712
4712
  ...k
4713
4713
  } = {}) {
4714
- const v = T ?? s;
4714
+ const v = C ?? s;
4715
4715
  return w.inject({
4716
4716
  reducerPath: v,
4717
4717
  reducer: g
4718
4718
  }, k), {
4719
- ...E,
4719
+ ...T,
4720
4720
  ...y(v, !0)
4721
4721
  };
4722
4722
  }
4723
4723
  };
4724
- return E;
4724
+ return T;
4725
4725
  };
4726
4726
  }
4727
4727
  function G4(e, t, n, i) {
@@ -5454,29 +5454,29 @@ function N6(e) {
5454
5454
  c && clearInterval(c), c = null;
5455
5455
  return;
5456
5456
  }
5457
- var T = f.shift(), k = i.reduce(function(v, C) {
5458
- return C.in(v, T, u);
5459
- }, u[T]);
5457
+ var C = f.shift(), k = i.reduce(function(v, E) {
5458
+ return E.in(v, C, u);
5459
+ }, u[C]);
5460
5460
  if (k !== void 0)
5461
5461
  try {
5462
- l[T] = o(k);
5462
+ l[C] = o(k);
5463
5463
  } catch (v) {
5464
5464
  console.error("redux-persist/createPersistoid: error serializing state", v);
5465
5465
  }
5466
5466
  else
5467
- delete l[T];
5467
+ delete l[C];
5468
5468
  f.length === 0 && b();
5469
5469
  }
5470
5470
  function b() {
5471
- Object.keys(l).forEach(function(T) {
5472
- u[T] === void 0 && delete l[T];
5473
- }), d = a.setItem(s, o(l)).catch(E);
5471
+ Object.keys(l).forEach(function(C) {
5472
+ u[C] === void 0 && delete l[C];
5473
+ }), d = a.setItem(s, o(l)).catch(T);
5474
5474
  }
5475
- function y(T) {
5476
- return !(n && n.indexOf(T) === -1 && T !== "_persist" || t && t.indexOf(T) !== -1);
5475
+ function y(C) {
5476
+ return !(n && n.indexOf(C) === -1 && C !== "_persist" || t && t.indexOf(C) !== -1);
5477
5477
  }
5478
- function E(T) {
5479
- A && A(T), T && process.env.NODE_ENV !== "production" && console.error("Error storing data", T);
5478
+ function T(C) {
5479
+ A && A(C), C && process.env.NODE_ENV !== "production" && console.error("Error storing data", C);
5480
5480
  }
5481
5481
  var w = function() {
5482
5482
  for (; f.length !== 0; )
@@ -5586,17 +5586,17 @@ function Ra(e, t) {
5586
5586
  _persist: d
5587
5587
  });
5588
5588
  if (typeof f.rehydrate != "function" || typeof f.register != "function") throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");
5589
- return f.register(e.key), r(e).then(function(C) {
5589
+ return f.register(e.key), r(e).then(function(E) {
5590
5590
  var I = e.migrate || function(B, x) {
5591
5591
  return Promise.resolve(B);
5592
5592
  };
5593
- I(C, n).then(function(B) {
5593
+ I(E, n).then(function(B) {
5594
5594
  y(B);
5595
5595
  }, function(B) {
5596
5596
  process.env.NODE_ENV !== "production" && B && console.error("redux-persist: migration error", B), y(void 0, B);
5597
5597
  });
5598
- }, function(C) {
5599
- y(void 0, C);
5598
+ }, function(E) {
5599
+ y(void 0, E);
5600
5600
  }), vn({}, t(g, f), {
5601
5601
  _persist: {
5602
5602
  version: n,
@@ -5622,7 +5622,7 @@ function Ra(e, t) {
5622
5622
  // @NOTE if key does not match, will continue to default else below
5623
5623
  });
5624
5624
  if (f.key === e.key) {
5625
- var E = t(g, f), w = f.payload, T = i !== !1 && w !== void 0 ? i(w, l, E, e) : E, k = vn({}, T, {
5625
+ var T = t(g, f), w = f.payload, C = i !== !1 && w !== void 0 ? i(w, l, T, e) : T, k = vn({}, C, {
5626
5626
  _persist: vn({}, d, {
5627
5627
  rehydrated: !0
5628
5628
  })
@@ -5835,11 +5835,11 @@ function Zn() {
5835
5835
  }
5836
5836
  throw new Error("Native crypto module could not be used to get secure random number.");
5837
5837
  }, o = Object.create || /* @__PURE__ */ function() {
5838
- function E() {
5838
+ function T() {
5839
5839
  }
5840
5840
  return function(w) {
5841
- var T;
5842
- return E.prototype = w, T = new E(), E.prototype = null, T;
5841
+ var C;
5842
+ return T.prototype = w, C = new T(), T.prototype = null, C;
5843
5843
  };
5844
5844
  }(), A = {}, u = A.lib = {}, l = u.Base = /* @__PURE__ */ function() {
5845
5845
  return {
@@ -5861,9 +5861,9 @@ function Zn() {
5861
5861
  * }
5862
5862
  * });
5863
5863
  */
5864
- extend: function(E) {
5864
+ extend: function(T) {
5865
5865
  var w = o(this);
5866
- return E && w.mixIn(E), (!w.hasOwnProperty("init") || this.init === w.init) && (w.init = function() {
5866
+ return T && w.mixIn(T), (!w.hasOwnProperty("init") || this.init === w.init) && (w.init = function() {
5867
5867
  w.$super.init.apply(this, arguments);
5868
5868
  }), w.init.prototype = w, w.$super = this, w;
5869
5869
  },
@@ -5880,8 +5880,8 @@ function Zn() {
5880
5880
  * var instance = MyType.create();
5881
5881
  */
5882
5882
  create: function() {
5883
- var E = this.extend();
5884
- return E.init.apply(E, arguments), E;
5883
+ var T = this.extend();
5884
+ return T.init.apply(T, arguments), T;
5885
5885
  },
5886
5886
  /**
5887
5887
  * Initializes a newly created object.
@@ -5908,10 +5908,10 @@ function Zn() {
5908
5908
  * field: 'value'
5909
5909
  * });
5910
5910
  */
5911
- mixIn: function(E) {
5912
- for (var w in E)
5913
- E.hasOwnProperty(w) && (this[w] = E[w]);
5914
- E.hasOwnProperty("toString") && (this.toString = E.toString);
5911
+ mixIn: function(T) {
5912
+ for (var w in T)
5913
+ T.hasOwnProperty(w) && (this[w] = T[w]);
5914
+ T.hasOwnProperty("toString") && (this.toString = T.toString);
5915
5915
  },
5916
5916
  /**
5917
5917
  * Creates a copy of this object.
@@ -5939,8 +5939,8 @@ function Zn() {
5939
5939
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607]);
5940
5940
  * var wordArray = CryptoJS.lib.WordArray.create([0x00010203, 0x04050607], 6);
5941
5941
  */
5942
- init: function(E, w) {
5943
- E = this.words = E || [], w != r ? this.sigBytes = w : this.sigBytes = E.length * 4;
5942
+ init: function(T, w) {
5943
+ T = this.words = T || [], w != r ? this.sigBytes = w : this.sigBytes = T.length * 4;
5944
5944
  },
5945
5945
  /**
5946
5946
  * Converts this word array to a string.
@@ -5955,8 +5955,8 @@ function Zn() {
5955
5955
  * var string = wordArray.toString();
5956
5956
  * var string = wordArray.toString(CryptoJS.enc.Utf8);
5957
5957
  */
5958
- toString: function(E) {
5959
- return (E || d).stringify(this);
5958
+ toString: function(T) {
5959
+ return (T || d).stringify(this);
5960
5960
  },
5961
5961
  /**
5962
5962
  * Concatenates a word array to this word array.
@@ -5969,16 +5969,16 @@ function Zn() {
5969
5969
  *
5970
5970
  * wordArray1.concat(wordArray2);
5971
5971
  */
5972
- concat: function(E) {
5973
- var w = this.words, T = E.words, k = this.sigBytes, v = E.sigBytes;
5972
+ concat: function(T) {
5973
+ var w = this.words, C = T.words, k = this.sigBytes, v = T.sigBytes;
5974
5974
  if (this.clamp(), k % 4)
5975
- for (var C = 0; C < v; C++) {
5976
- var I = T[C >>> 2] >>> 24 - C % 4 * 8 & 255;
5977
- w[k + C >>> 2] |= I << 24 - (k + C) % 4 * 8;
5975
+ for (var E = 0; E < v; E++) {
5976
+ var I = C[E >>> 2] >>> 24 - E % 4 * 8 & 255;
5977
+ w[k + E >>> 2] |= I << 24 - (k + E) % 4 * 8;
5978
5978
  }
5979
5979
  else
5980
5980
  for (var B = 0; B < v; B += 4)
5981
- w[k + B >>> 2] = T[B >>> 2];
5981
+ w[k + B >>> 2] = C[B >>> 2];
5982
5982
  return this.sigBytes += v, this;
5983
5983
  },
5984
5984
  /**
@@ -5989,8 +5989,8 @@ function Zn() {
5989
5989
  * wordArray.clamp();
5990
5990
  */
5991
5991
  clamp: function() {
5992
- var E = this.words, w = this.sigBytes;
5993
- E[w >>> 2] &= 4294967295 << 32 - w % 4 * 8, E.length = i.ceil(w / 4);
5992
+ var T = this.words, w = this.sigBytes;
5993
+ T[w >>> 2] &= 4294967295 << 32 - w % 4 * 8, T.length = i.ceil(w / 4);
5994
5994
  },
5995
5995
  /**
5996
5996
  * Creates a copy of this word array.
@@ -6002,8 +6002,8 @@ function Zn() {
6002
6002
  * var clone = wordArray.clone();
6003
6003
  */
6004
6004
  clone: function() {
6005
- var E = l.clone.call(this);
6006
- return E.words = this.words.slice(0), E;
6005
+ var T = l.clone.call(this);
6006
+ return T.words = this.words.slice(0), T;
6007
6007
  },
6008
6008
  /**
6009
6009
  * Creates a word array filled with random bytes.
@@ -6018,10 +6018,10 @@ function Zn() {
6018
6018
  *
6019
6019
  * var wordArray = CryptoJS.lib.WordArray.random(16);
6020
6020
  */
6021
- random: function(E) {
6022
- for (var w = [], T = 0; T < E; T += 4)
6021
+ random: function(T) {
6022
+ for (var w = [], C = 0; C < T; C += 4)
6023
6023
  w.push(a());
6024
- return new f.init(w, E);
6024
+ return new f.init(w, T);
6025
6025
  }
6026
6026
  }), c = A.enc = {}, d = c.Hex = {
6027
6027
  /**
@@ -6037,10 +6037,10 @@ function Zn() {
6037
6037
  *
6038
6038
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
6039
6039
  */
6040
- stringify: function(E) {
6041
- for (var w = E.words, T = E.sigBytes, k = [], v = 0; v < T; v++) {
6042
- var C = w[v >>> 2] >>> 24 - v % 4 * 8 & 255;
6043
- k.push((C >>> 4).toString(16)), k.push((C & 15).toString(16));
6040
+ stringify: function(T) {
6041
+ for (var w = T.words, C = T.sigBytes, k = [], v = 0; v < C; v++) {
6042
+ var E = w[v >>> 2] >>> 24 - v % 4 * 8 & 255;
6043
+ k.push((E >>> 4).toString(16)), k.push((E & 15).toString(16));
6044
6044
  }
6045
6045
  return k.join("");
6046
6046
  },
@@ -6057,10 +6057,10 @@ function Zn() {
6057
6057
  *
6058
6058
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
6059
6059
  */
6060
- parse: function(E) {
6061
- for (var w = E.length, T = [], k = 0; k < w; k += 2)
6062
- T[k >>> 3] |= parseInt(E.substr(k, 2), 16) << 24 - k % 8 * 4;
6063
- return new f.init(T, w / 2);
6060
+ parse: function(T) {
6061
+ for (var w = T.length, C = [], k = 0; k < w; k += 2)
6062
+ C[k >>> 3] |= parseInt(T.substr(k, 2), 16) << 24 - k % 8 * 4;
6063
+ return new f.init(C, w / 2);
6064
6064
  }
6065
6065
  }, m = c.Latin1 = {
6066
6066
  /**
@@ -6076,10 +6076,10 @@ function Zn() {
6076
6076
  *
6077
6077
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
6078
6078
  */
6079
- stringify: function(E) {
6080
- for (var w = E.words, T = E.sigBytes, k = [], v = 0; v < T; v++) {
6081
- var C = w[v >>> 2] >>> 24 - v % 4 * 8 & 255;
6082
- k.push(String.fromCharCode(C));
6079
+ stringify: function(T) {
6080
+ for (var w = T.words, C = T.sigBytes, k = [], v = 0; v < C; v++) {
6081
+ var E = w[v >>> 2] >>> 24 - v % 4 * 8 & 255;
6082
+ k.push(String.fromCharCode(E));
6083
6083
  }
6084
6084
  return k.join("");
6085
6085
  },
@@ -6096,10 +6096,10 @@ function Zn() {
6096
6096
  *
6097
6097
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
6098
6098
  */
6099
- parse: function(E) {
6100
- for (var w = E.length, T = [], k = 0; k < w; k++)
6101
- T[k >>> 2] |= (E.charCodeAt(k) & 255) << 24 - k % 4 * 8;
6102
- return new f.init(T, w);
6099
+ parse: function(T) {
6100
+ for (var w = T.length, C = [], k = 0; k < w; k++)
6101
+ C[k >>> 2] |= (T.charCodeAt(k) & 255) << 24 - k % 4 * 8;
6102
+ return new f.init(C, w);
6103
6103
  }
6104
6104
  }, g = c.Utf8 = {
6105
6105
  /**
@@ -6115,9 +6115,9 @@ function Zn() {
6115
6115
  *
6116
6116
  * var utf8String = CryptoJS.enc.Utf8.stringify(wordArray);
6117
6117
  */
6118
- stringify: function(E) {
6118
+ stringify: function(T) {
6119
6119
  try {
6120
- return decodeURIComponent(escape(m.stringify(E)));
6120
+ return decodeURIComponent(escape(m.stringify(T)));
6121
6121
  } catch {
6122
6122
  throw new Error("Malformed UTF-8 data");
6123
6123
  }
@@ -6135,8 +6135,8 @@ function Zn() {
6135
6135
  *
6136
6136
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
6137
6137
  */
6138
- parse: function(E) {
6139
- return m.parse(unescape(encodeURIComponent(E)));
6138
+ parse: function(T) {
6139
+ return m.parse(unescape(encodeURIComponent(T)));
6140
6140
  }
6141
6141
  }, b = u.BufferedBlockAlgorithm = l.extend({
6142
6142
  /**
@@ -6159,8 +6159,8 @@ function Zn() {
6159
6159
  * bufferedBlockAlgorithm._append('data');
6160
6160
  * bufferedBlockAlgorithm._append(wordArray);
6161
6161
  */
6162
- _append: function(E) {
6163
- typeof E == "string" && (E = g.parse(E)), this._data.concat(E), this._nDataBytes += E.sigBytes;
6162
+ _append: function(T) {
6163
+ typeof T == "string" && (T = g.parse(T)), this._data.concat(T), this._nDataBytes += T.sigBytes;
6164
6164
  },
6165
6165
  /**
6166
6166
  * Processes available data blocks.
@@ -6176,14 +6176,14 @@ function Zn() {
6176
6176
  * var processedData = bufferedBlockAlgorithm._process();
6177
6177
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
6178
6178
  */
6179
- _process: function(E) {
6180
- var w, T = this._data, k = T.words, v = T.sigBytes, C = this.blockSize, I = C * 4, B = v / I;
6181
- E ? B = i.ceil(B) : B = i.max((B | 0) - this._minBufferSize, 0);
6182
- var x = B * C, D = i.min(x * 4, v);
6179
+ _process: function(T) {
6180
+ var w, C = this._data, k = C.words, v = C.sigBytes, E = this.blockSize, I = E * 4, B = v / I;
6181
+ T ? B = i.ceil(B) : B = i.max((B | 0) - this._minBufferSize, 0);
6182
+ var x = B * E, D = i.min(x * 4, v);
6183
6183
  if (x) {
6184
- for (var P = 0; P < x; P += C)
6184
+ for (var P = 0; P < x; P += E)
6185
6185
  this._doProcessBlock(k, P);
6186
- w = k.splice(0, x), T.sigBytes -= D;
6186
+ w = k.splice(0, x), C.sigBytes -= D;
6187
6187
  }
6188
6188
  return new f.init(w, D);
6189
6189
  },
@@ -6197,8 +6197,8 @@ function Zn() {
6197
6197
  * var clone = bufferedBlockAlgorithm.clone();
6198
6198
  */
6199
6199
  clone: function() {
6200
- var E = l.clone.call(this);
6201
- return E._data = this._data.clone(), E;
6200
+ var T = l.clone.call(this);
6201
+ return T._data = this._data.clone(), T;
6202
6202
  },
6203
6203
  _minBufferSize: 0
6204
6204
  });
@@ -6216,8 +6216,8 @@ function Zn() {
6216
6216
  *
6217
6217
  * var hasher = CryptoJS.algo.SHA256.create();
6218
6218
  */
6219
- init: function(E) {
6220
- this.cfg = this.cfg.extend(E), this.reset();
6219
+ init: function(T) {
6220
+ this.cfg = this.cfg.extend(T), this.reset();
6221
6221
  },
6222
6222
  /**
6223
6223
  * Resets this hasher to its initial state.
@@ -6241,8 +6241,8 @@ function Zn() {
6241
6241
  * hasher.update('message');
6242
6242
  * hasher.update(wordArray);
6243
6243
  */
6244
- update: function(E) {
6245
- return this._append(E), this._process(), this;
6244
+ update: function(T) {
6245
+ return this._append(T), this._process(), this;
6246
6246
  },
6247
6247
  /**
6248
6248
  * Finalizes the hash computation.
@@ -6258,8 +6258,8 @@ function Zn() {
6258
6258
  * var hash = hasher.finalize('message');
6259
6259
  * var hash = hasher.finalize(wordArray);
6260
6260
  */
6261
- finalize: function(E) {
6262
- E && this._append(E);
6261
+ finalize: function(T) {
6262
+ T && this._append(T);
6263
6263
  var w = this._doFinalize();
6264
6264
  return w;
6265
6265
  },
@@ -6277,9 +6277,9 @@ function Zn() {
6277
6277
  *
6278
6278
  * var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
6279
6279
  */
6280
- _createHelper: function(E) {
6281
- return function(w, T) {
6282
- return new E.init(T).finalize(w);
6280
+ _createHelper: function(T) {
6281
+ return function(w, C) {
6282
+ return new T.init(C).finalize(w);
6283
6283
  };
6284
6284
  },
6285
6285
  /**
@@ -6295,9 +6295,9 @@ function Zn() {
6295
6295
  *
6296
6296
  * var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
6297
6297
  */
6298
- _createHmacHelper: function(E) {
6299
- return function(w, T) {
6300
- return new y.HMAC.init(E, T).finalize(w);
6298
+ _createHmacHelper: function(T) {
6299
+ return function(w, C) {
6300
+ return new y.HMAC.init(T, C).finalize(w);
6301
6301
  };
6302
6302
  }
6303
6303
  });
@@ -6334,8 +6334,8 @@ function J6() {
6334
6334
  var u = A.words, l = A.sigBytes, f = this._map;
6335
6335
  A.clamp();
6336
6336
  for (var c = [], d = 0; d < l; d += 3)
6337
- for (var m = u[d >>> 2] >>> 24 - d % 4 * 8 & 255, g = u[d + 1 >>> 2] >>> 24 - (d + 1) % 4 * 8 & 255, b = u[d + 2 >>> 2] >>> 24 - (d + 2) % 4 * 8 & 255, y = m << 16 | g << 8 | b, E = 0; E < 4 && d + E * 0.75 < l; E++)
6338
- c.push(f.charAt(y >>> 6 * (3 - E) & 63));
6337
+ for (var m = u[d >>> 2] >>> 24 - d % 4 * 8 & 255, g = u[d + 1 >>> 2] >>> 24 - (d + 1) % 4 * 8 & 255, b = u[d + 2 >>> 2] >>> 24 - (d + 2) % 4 * 8 & 255, y = m << 16 | g << 8 | b, T = 0; T < 4 && d + T * 0.75 < l; T++)
6338
+ c.push(f.charAt(y >>> 6 * (3 - T) & 63));
6339
6339
  var w = f.charAt(64);
6340
6340
  if (w)
6341
6341
  for (; c.length % 4; )
@@ -6406,20 +6406,20 @@ function K6() {
6406
6406
  },
6407
6407
  _doProcessBlock: function(g, b) {
6408
6408
  for (var y = 0; y < 16; y++) {
6409
- var E = b + y, w = g[E];
6410
- g[E] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360;
6409
+ var T = b + y, w = g[T];
6410
+ g[T] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360;
6411
6411
  }
6412
- var T = this._hash.words, k = g[b + 0], v = g[b + 1], C = g[b + 2], I = g[b + 3], B = g[b + 4], x = g[b + 5], D = g[b + 6], P = g[b + 7], _ = g[b + 8], Q = g[b + 9], H = g[b + 10], V = g[b + 11], re = g[b + 12], he = g[b + 13], oe = g[b + 14], S = g[b + 15], U = T[0], Y = T[1], N = T[2], W = T[3];
6413
- U = f(U, Y, N, W, k, 7, u[0]), W = f(W, U, Y, N, v, 12, u[1]), N = f(N, W, U, Y, C, 17, u[2]), Y = f(Y, N, W, U, I, 22, u[3]), U = f(U, Y, N, W, B, 7, u[4]), W = f(W, U, Y, N, x, 12, u[5]), N = f(N, W, U, Y, D, 17, u[6]), Y = f(Y, N, W, U, P, 22, u[7]), U = f(U, Y, N, W, _, 7, u[8]), W = f(W, U, Y, N, Q, 12, u[9]), N = f(N, W, U, Y, H, 17, u[10]), Y = f(Y, N, W, U, V, 22, u[11]), U = f(U, Y, N, W, re, 7, u[12]), W = f(W, U, Y, N, he, 12, u[13]), N = f(N, W, U, Y, oe, 17, u[14]), Y = f(Y, N, W, U, S, 22, u[15]), U = c(U, Y, N, W, v, 5, u[16]), W = c(W, U, Y, N, D, 9, u[17]), N = c(N, W, U, Y, V, 14, u[18]), Y = c(Y, N, W, U, k, 20, u[19]), U = c(U, Y, N, W, x, 5, u[20]), W = c(W, U, Y, N, H, 9, u[21]), N = c(N, W, U, Y, S, 14, u[22]), Y = c(Y, N, W, U, B, 20, u[23]), U = c(U, Y, N, W, Q, 5, u[24]), W = c(W, U, Y, N, oe, 9, u[25]), N = c(N, W, U, Y, I, 14, u[26]), Y = c(Y, N, W, U, _, 20, u[27]), U = c(U, Y, N, W, he, 5, u[28]), W = c(W, U, Y, N, C, 9, u[29]), N = c(N, W, U, Y, P, 14, u[30]), Y = c(Y, N, W, U, re, 20, u[31]), U = d(U, Y, N, W, x, 4, u[32]), W = d(W, U, Y, N, _, 11, u[33]), N = d(N, W, U, Y, V, 16, u[34]), Y = d(Y, N, W, U, oe, 23, u[35]), U = d(U, Y, N, W, v, 4, u[36]), W = d(W, U, Y, N, B, 11, u[37]), N = d(N, W, U, Y, P, 16, u[38]), Y = d(Y, N, W, U, H, 23, u[39]), U = d(U, Y, N, W, he, 4, u[40]), W = d(W, U, Y, N, k, 11, u[41]), N = d(N, W, U, Y, I, 16, u[42]), Y = d(Y, N, W, U, D, 23, u[43]), U = d(U, Y, N, W, Q, 4, u[44]), W = d(W, U, Y, N, re, 11, u[45]), N = d(N, W, U, Y, S, 16, u[46]), Y = d(Y, N, W, U, C, 23, u[47]), U = m(U, Y, N, W, k, 6, u[48]), W = m(W, U, Y, N, P, 10, u[49]), N = m(N, W, U, Y, oe, 15, u[50]), Y = m(Y, N, W, U, x, 21, u[51]), U = m(U, Y, N, W, re, 6, u[52]), W = m(W, U, Y, N, I, 10, u[53]), N = m(N, W, U, Y, H, 15, u[54]), Y = m(Y, N, W, U, v, 21, u[55]), U = m(U, Y, N, W, _, 6, u[56]), W = m(W, U, Y, N, S, 10, u[57]), N = m(N, W, U, Y, D, 15, u[58]), Y = m(Y, N, W, U, he, 21, u[59]), U = m(U, Y, N, W, B, 6, u[60]), W = m(W, U, Y, N, V, 10, u[61]), N = m(N, W, U, Y, C, 15, u[62]), Y = m(Y, N, W, U, Q, 21, u[63]), T[0] = T[0] + U | 0, T[1] = T[1] + Y | 0, T[2] = T[2] + N | 0, T[3] = T[3] + W | 0;
6412
+ var C = this._hash.words, k = g[b + 0], v = g[b + 1], E = g[b + 2], I = g[b + 3], B = g[b + 4], x = g[b + 5], D = g[b + 6], P = g[b + 7], _ = g[b + 8], Q = g[b + 9], H = g[b + 10], V = g[b + 11], re = g[b + 12], he = g[b + 13], oe = g[b + 14], S = g[b + 15], U = C[0], Y = C[1], N = C[2], W = C[3];
6413
+ U = f(U, Y, N, W, k, 7, u[0]), W = f(W, U, Y, N, v, 12, u[1]), N = f(N, W, U, Y, E, 17, u[2]), Y = f(Y, N, W, U, I, 22, u[3]), U = f(U, Y, N, W, B, 7, u[4]), W = f(W, U, Y, N, x, 12, u[5]), N = f(N, W, U, Y, D, 17, u[6]), Y = f(Y, N, W, U, P, 22, u[7]), U = f(U, Y, N, W, _, 7, u[8]), W = f(W, U, Y, N, Q, 12, u[9]), N = f(N, W, U, Y, H, 17, u[10]), Y = f(Y, N, W, U, V, 22, u[11]), U = f(U, Y, N, W, re, 7, u[12]), W = f(W, U, Y, N, he, 12, u[13]), N = f(N, W, U, Y, oe, 17, u[14]), Y = f(Y, N, W, U, S, 22, u[15]), U = c(U, Y, N, W, v, 5, u[16]), W = c(W, U, Y, N, D, 9, u[17]), N = c(N, W, U, Y, V, 14, u[18]), Y = c(Y, N, W, U, k, 20, u[19]), U = c(U, Y, N, W, x, 5, u[20]), W = c(W, U, Y, N, H, 9, u[21]), N = c(N, W, U, Y, S, 14, u[22]), Y = c(Y, N, W, U, B, 20, u[23]), U = c(U, Y, N, W, Q, 5, u[24]), W = c(W, U, Y, N, oe, 9, u[25]), N = c(N, W, U, Y, I, 14, u[26]), Y = c(Y, N, W, U, _, 20, u[27]), U = c(U, Y, N, W, he, 5, u[28]), W = c(W, U, Y, N, E, 9, u[29]), N = c(N, W, U, Y, P, 14, u[30]), Y = c(Y, N, W, U, re, 20, u[31]), U = d(U, Y, N, W, x, 4, u[32]), W = d(W, U, Y, N, _, 11, u[33]), N = d(N, W, U, Y, V, 16, u[34]), Y = d(Y, N, W, U, oe, 23, u[35]), U = d(U, Y, N, W, v, 4, u[36]), W = d(W, U, Y, N, B, 11, u[37]), N = d(N, W, U, Y, P, 16, u[38]), Y = d(Y, N, W, U, H, 23, u[39]), U = d(U, Y, N, W, he, 4, u[40]), W = d(W, U, Y, N, k, 11, u[41]), N = d(N, W, U, Y, I, 16, u[42]), Y = d(Y, N, W, U, D, 23, u[43]), U = d(U, Y, N, W, Q, 4, u[44]), W = d(W, U, Y, N, re, 11, u[45]), N = d(N, W, U, Y, S, 16, u[46]), Y = d(Y, N, W, U, E, 23, u[47]), U = m(U, Y, N, W, k, 6, u[48]), W = m(W, U, Y, N, P, 10, u[49]), N = m(N, W, U, Y, oe, 15, u[50]), Y = m(Y, N, W, U, x, 21, u[51]), U = m(U, Y, N, W, re, 6, u[52]), W = m(W, U, Y, N, I, 10, u[53]), N = m(N, W, U, Y, H, 15, u[54]), Y = m(Y, N, W, U, v, 21, u[55]), U = m(U, Y, N, W, _, 6, u[56]), W = m(W, U, Y, N, S, 10, u[57]), N = m(N, W, U, Y, D, 15, u[58]), Y = m(Y, N, W, U, he, 21, u[59]), U = m(U, Y, N, W, B, 6, u[60]), W = m(W, U, Y, N, V, 10, u[61]), N = m(N, W, U, Y, E, 15, u[62]), Y = m(Y, N, W, U, Q, 21, u[63]), C[0] = C[0] + U | 0, C[1] = C[1] + Y | 0, C[2] = C[2] + N | 0, C[3] = C[3] + W | 0;
6414
6414
  },
6415
6415
  _doFinalize: function() {
6416
- var g = this._data, b = g.words, y = this._nDataBytes * 8, E = g.sigBytes * 8;
6417
- b[E >>> 5] |= 128 << 24 - E % 32;
6418
- var w = i.floor(y / 4294967296), T = y;
6419
- b[(E + 64 >>> 9 << 4) + 15] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, b[(E + 64 >>> 9 << 4) + 14] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, g.sigBytes = (b.length + 1) * 4, this._process();
6420
- for (var k = this._hash, v = k.words, C = 0; C < 4; C++) {
6421
- var I = v[C];
6422
- v[C] = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
6416
+ var g = this._data, b = g.words, y = this._nDataBytes * 8, T = g.sigBytes * 8;
6417
+ b[T >>> 5] |= 128 << 24 - T % 32;
6418
+ var w = i.floor(y / 4294967296), C = y;
6419
+ b[(T + 64 >>> 9 << 4) + 15] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, b[(T + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, g.sigBytes = (b.length + 1) * 4, this._process();
6420
+ for (var k = this._hash, v = k.words, E = 0; E < 4; E++) {
6421
+ var I = v[E];
6422
+ v[E] = (I << 8 | I >>> 24) & 16711935 | (I << 24 | I >>> 8) & 4278255360;
6423
6423
  }
6424
6424
  return k;
6425
6425
  },
@@ -6428,21 +6428,21 @@ function K6() {
6428
6428
  return g._hash = this._hash.clone(), g;
6429
6429
  }
6430
6430
  });
6431
- function f(g, b, y, E, w, T, k) {
6432
- var v = g + (b & y | ~b & E) + w + k;
6433
- return (v << T | v >>> 32 - T) + b;
6431
+ function f(g, b, y, T, w, C, k) {
6432
+ var v = g + (b & y | ~b & T) + w + k;
6433
+ return (v << C | v >>> 32 - C) + b;
6434
6434
  }
6435
- function c(g, b, y, E, w, T, k) {
6436
- var v = g + (b & E | y & ~E) + w + k;
6437
- return (v << T | v >>> 32 - T) + b;
6435
+ function c(g, b, y, T, w, C, k) {
6436
+ var v = g + (b & T | y & ~T) + w + k;
6437
+ return (v << C | v >>> 32 - C) + b;
6438
6438
  }
6439
- function d(g, b, y, E, w, T, k) {
6440
- var v = g + (b ^ y ^ E) + w + k;
6441
- return (v << T | v >>> 32 - T) + b;
6439
+ function d(g, b, y, T, w, C, k) {
6440
+ var v = g + (b ^ y ^ T) + w + k;
6441
+ return (v << C | v >>> 32 - C) + b;
6442
6442
  }
6443
- function m(g, b, y, E, w, T, k) {
6444
- var v = g + (y ^ (b | ~E)) + w + k;
6445
- return (v << T | v >>> 32 - T) + b;
6443
+ function m(g, b, y, T, w, C, k) {
6444
+ var v = g + (y ^ (b | ~T)) + w + k;
6445
+ return (v << C | v >>> 32 - C) + b;
6446
6446
  }
6447
6447
  r.MD5 = o._createHelper(l), r.HmacMD5 = o._createHmacHelper(l);
6448
6448
  }(Math), n.MD5;
@@ -6467,15 +6467,15 @@ function $6() {
6467
6467
  ]);
6468
6468
  },
6469
6469
  _doProcessBlock: function(l, f) {
6470
- for (var c = this._hash.words, d = c[0], m = c[1], g = c[2], b = c[3], y = c[4], E = 0; E < 80; E++) {
6471
- if (E < 16)
6472
- A[E] = l[f + E] | 0;
6470
+ for (var c = this._hash.words, d = c[0], m = c[1], g = c[2], b = c[3], y = c[4], T = 0; T < 80; T++) {
6471
+ if (T < 16)
6472
+ A[T] = l[f + T] | 0;
6473
6473
  else {
6474
- var w = A[E - 3] ^ A[E - 8] ^ A[E - 14] ^ A[E - 16];
6475
- A[E] = w << 1 | w >>> 31;
6474
+ var w = A[T - 3] ^ A[T - 8] ^ A[T - 14] ^ A[T - 16];
6475
+ A[T] = w << 1 | w >>> 31;
6476
6476
  }
6477
- var T = (d << 5 | d >>> 27) + y + A[E];
6478
- E < 20 ? T += (m & g | ~m & b) + 1518500249 : E < 40 ? T += (m ^ g ^ b) + 1859775393 : E < 60 ? T += (m & g | m & b | g & b) - 1894007588 : T += (m ^ g ^ b) - 899497514, y = b, b = g, g = m << 30 | m >>> 2, m = d, d = T;
6477
+ var C = (d << 5 | d >>> 27) + y + A[T];
6478
+ T < 20 ? C += (m & g | ~m & b) + 1518500249 : T < 40 ? C += (m ^ g ^ b) + 1859775393 : T < 60 ? C += (m & g | m & b | g & b) - 1894007588 : C += (m ^ g ^ b) - 899497514, y = b, b = g, g = m << 30 | m >>> 2, m = d, d = C;
6479
6479
  }
6480
6480
  c[0] = c[0] + d | 0, c[1] = c[1] + m | 0, c[2] = c[2] + g | 0, c[3] = c[3] + b | 0, c[4] = c[4] + y | 0;
6481
6481
  },
@@ -6618,9 +6618,9 @@ function a2() {
6618
6618
  * var key = kdf.compute(password, salt);
6619
6619
  */
6620
6620
  compute: function(l, f) {
6621
- for (var c, d = this.cfg, m = d.hasher.create(), g = a.create(), b = g.words, y = d.keySize, E = d.iterations; b.length < y; ) {
6621
+ for (var c, d = this.cfg, m = d.hasher.create(), g = a.create(), b = g.words, y = d.keySize, T = d.iterations; b.length < y; ) {
6622
6622
  c && m.update(c), c = m.update(l).finalize(f), m.reset();
6623
- for (var w = 1; w < E; w++)
6623
+ for (var w = 1; w < T; w++)
6624
6624
  c = m.finalize(c), m.reset();
6625
6625
  g.concat(c);
6626
6626
  }
@@ -6866,7 +6866,7 @@ function rE() {
6866
6866
  P[_ + re] ^= H[re];
6867
6867
  }
6868
6868
  return x;
6869
- }(), y = r.pad = {}, E = y.Pkcs7 = {
6869
+ }(), y = r.pad = {}, T = y.Pkcs7 = {
6870
6870
  /**
6871
6871
  * Pads data using the algorithm defined in PKCS #5/7.
6872
6872
  *
@@ -6910,7 +6910,7 @@ function rE() {
6910
6910
  */
6911
6911
  cfg: d.cfg.extend({
6912
6912
  mode: b,
6913
- padding: E
6913
+ padding: T
6914
6914
  }),
6915
6915
  reset: function() {
6916
6916
  var x;
@@ -6968,7 +6968,7 @@ function rE() {
6968
6968
  toString: function(x) {
6969
6969
  return (x || this.formatter).stringify(this);
6970
6970
  }
6971
- }), T = r.format = {}, k = T.OpenSSL = {
6971
+ }), C = r.format = {}, k = C.OpenSSL = {
6972
6972
  /**
6973
6973
  * Converts a cipher params object to an OpenSSL-compatible string.
6974
6974
  *
@@ -7084,7 +7084,7 @@ function rE() {
7084
7084
  _parse: function(x, D) {
7085
7085
  return typeof x == "string" ? D.parse(x, this) : x;
7086
7086
  }
7087
- }), C = r.kdf = {}, I = C.OpenSSL = {
7087
+ }), E = r.kdf = {}, I = E.OpenSSL = {
7088
7088
  /**
7089
7089
  * Derives a key and IV from a password.
7090
7090
  *
@@ -7181,22 +7181,22 @@ function aE() {
7181
7181
  return function() {
7182
7182
  var i = n, r = i.lib, s = r.BlockCipher, a = i.algo, o = [], A = [], u = [], l = [], f = [], c = [], d = [], m = [], g = [], b = [];
7183
7183
  (function() {
7184
- for (var w = [], T = 0; T < 256; T++)
7185
- T < 128 ? w[T] = T << 1 : w[T] = T << 1 ^ 283;
7186
- for (var k = 0, v = 0, T = 0; T < 256; T++) {
7187
- var C = v ^ v << 1 ^ v << 2 ^ v << 3 ^ v << 4;
7188
- C = C >>> 8 ^ C & 255 ^ 99, o[k] = C, A[C] = k;
7189
- var I = w[k], B = w[I], x = w[B], D = w[C] * 257 ^ C * 16843008;
7184
+ for (var w = [], C = 0; C < 256; C++)
7185
+ C < 128 ? w[C] = C << 1 : w[C] = C << 1 ^ 283;
7186
+ for (var k = 0, v = 0, C = 0; C < 256; C++) {
7187
+ var E = v ^ v << 1 ^ v << 2 ^ v << 3 ^ v << 4;
7188
+ E = E >>> 8 ^ E & 255 ^ 99, o[k] = E, A[E] = k;
7189
+ var I = w[k], B = w[I], x = w[B], D = w[E] * 257 ^ E * 16843008;
7190
7190
  u[k] = D << 24 | D >>> 8, l[k] = D << 16 | D >>> 16, f[k] = D << 8 | D >>> 24, c[k] = D;
7191
7191
  var D = x * 16843009 ^ B * 65537 ^ I * 257 ^ k * 16843008;
7192
- d[C] = D << 24 | D >>> 8, m[C] = D << 16 | D >>> 16, g[C] = D << 8 | D >>> 24, b[C] = D, k ? (k = I ^ w[w[w[x ^ I]]], v ^= w[w[v]]) : k = v = 1;
7192
+ d[E] = D << 24 | D >>> 8, m[E] = D << 16 | D >>> 16, g[E] = D << 8 | D >>> 24, b[E] = D, k ? (k = I ^ w[w[w[x ^ I]]], v ^= w[w[v]]) : k = v = 1;
7193
7193
  }
7194
7194
  })();
7195
- var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], E = a.AES = s.extend({
7195
+ var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], T = a.AES = s.extend({
7196
7196
  _doReset: function() {
7197
7197
  var w;
7198
7198
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
7199
- for (var T = this._keyPriorReset = this._key, k = T.words, v = T.sigBytes / 4, C = this._nRounds = v + 6, I = (C + 1) * 4, B = this._keySchedule = [], x = 0; x < I; x++)
7199
+ for (var C = this._keyPriorReset = this._key, k = C.words, v = C.sigBytes / 4, E = this._nRounds = v + 6, I = (E + 1) * 4, B = this._keySchedule = [], x = 0; x < I; x++)
7200
7200
  x < v ? B[x] = k[x] : (w = B[x - 1], x % v ? v > 6 && x % v == 4 && (w = o[w >>> 24] << 24 | o[w >>> 16 & 255] << 16 | o[w >>> 8 & 255] << 8 | o[w & 255]) : (w = w << 8 | w >>> 24, w = o[w >>> 24] << 24 | o[w >>> 16 & 255] << 16 | o[w >>> 8 & 255] << 8 | o[w & 255], w ^= y[x / v | 0] << 24), B[x] = B[x - v] ^ w);
7201
7201
  for (var D = this._invKeySchedule = [], P = 0; P < I; P++) {
7202
7202
  var x = I - P;
@@ -7208,26 +7208,26 @@ function aE() {
7208
7208
  }
7209
7209
  }
7210
7210
  },
7211
- encryptBlock: function(w, T) {
7212
- this._doCryptBlock(w, T, this._keySchedule, u, l, f, c, o);
7211
+ encryptBlock: function(w, C) {
7212
+ this._doCryptBlock(w, C, this._keySchedule, u, l, f, c, o);
7213
7213
  },
7214
- decryptBlock: function(w, T) {
7215
- var k = w[T + 1];
7216
- w[T + 1] = w[T + 3], w[T + 3] = k, this._doCryptBlock(w, T, this._invKeySchedule, d, m, g, b, A);
7217
- var k = w[T + 1];
7218
- w[T + 1] = w[T + 3], w[T + 3] = k;
7214
+ decryptBlock: function(w, C) {
7215
+ var k = w[C + 1];
7216
+ w[C + 1] = w[C + 3], w[C + 3] = k, this._doCryptBlock(w, C, this._invKeySchedule, d, m, g, b, A);
7217
+ var k = w[C + 1];
7218
+ w[C + 1] = w[C + 3], w[C + 3] = k;
7219
7219
  },
7220
- _doCryptBlock: function(w, T, k, v, C, I, B, x) {
7221
- for (var D = this._nRounds, P = w[T] ^ k[0], _ = w[T + 1] ^ k[1], Q = w[T + 2] ^ k[2], H = w[T + 3] ^ k[3], V = 4, re = 1; re < D; re++) {
7222
- var he = v[P >>> 24] ^ C[_ >>> 16 & 255] ^ I[Q >>> 8 & 255] ^ B[H & 255] ^ k[V++], oe = v[_ >>> 24] ^ C[Q >>> 16 & 255] ^ I[H >>> 8 & 255] ^ B[P & 255] ^ k[V++], S = v[Q >>> 24] ^ C[H >>> 16 & 255] ^ I[P >>> 8 & 255] ^ B[_ & 255] ^ k[V++], U = v[H >>> 24] ^ C[P >>> 16 & 255] ^ I[_ >>> 8 & 255] ^ B[Q & 255] ^ k[V++];
7220
+ _doCryptBlock: function(w, C, k, v, E, I, B, x) {
7221
+ for (var D = this._nRounds, P = w[C] ^ k[0], _ = w[C + 1] ^ k[1], Q = w[C + 2] ^ k[2], H = w[C + 3] ^ k[3], V = 4, re = 1; re < D; re++) {
7222
+ var he = v[P >>> 24] ^ E[_ >>> 16 & 255] ^ I[Q >>> 8 & 255] ^ B[H & 255] ^ k[V++], oe = v[_ >>> 24] ^ E[Q >>> 16 & 255] ^ I[H >>> 8 & 255] ^ B[P & 255] ^ k[V++], S = v[Q >>> 24] ^ E[H >>> 16 & 255] ^ I[P >>> 8 & 255] ^ B[_ & 255] ^ k[V++], U = v[H >>> 24] ^ E[P >>> 16 & 255] ^ I[_ >>> 8 & 255] ^ B[Q & 255] ^ k[V++];
7223
7223
  P = he, _ = oe, Q = S, H = U;
7224
7224
  }
7225
7225
  var he = (x[P >>> 24] << 24 | x[_ >>> 16 & 255] << 16 | x[Q >>> 8 & 255] << 8 | x[H & 255]) ^ k[V++], oe = (x[_ >>> 24] << 24 | x[Q >>> 16 & 255] << 16 | x[H >>> 8 & 255] << 8 | x[P & 255]) ^ k[V++], S = (x[Q >>> 24] << 24 | x[H >>> 16 & 255] << 16 | x[P >>> 8 & 255] << 8 | x[_ & 255]) ^ k[V++], U = (x[H >>> 24] << 24 | x[P >>> 16 & 255] << 16 | x[_ >>> 8 & 255] << 8 | x[Q & 255]) ^ k[V++];
7226
- w[T] = he, w[T + 1] = oe, w[T + 2] = S, w[T + 3] = U;
7226
+ w[C] = he, w[C + 1] = oe, w[C + 2] = S, w[C + 3] = U;
7227
7227
  },
7228
7228
  keySize: 256 / 32
7229
7229
  });
7230
- i.AES = s._createHelper(E);
7230
+ i.AES = s._createHelper(T);
7231
7231
  }(), n.AES;
7232
7232
  });
7233
7233
  }(_a)), _a.exports;
@@ -7739,10 +7739,10 @@ function aA(e, t, n) {
7739
7739
  if (G.endsWith(g, "{}"))
7740
7740
  g = i ? g : g.slice(0, -2), m = JSON.stringify(m);
7741
7741
  else if (G.isArray(m) && fC(m) || (G.isFileList(m) || G.endsWith(g, "[]")) && (y = G.toArray(m)))
7742
- return g = v2(g), y.forEach(function(w, T) {
7742
+ return g = v2(g), y.forEach(function(w, C) {
7743
7743
  !(G.isUndefined(w) || w === null) && t.append(
7744
7744
  // eslint-disable-next-line no-nested-ternary
7745
- a === !0 ? Oh([g], T, s) : a === null ? g : g + "[]",
7745
+ a === !0 ? Oh([g], C, s) : a === null ? g : g + "[]",
7746
7746
  u(w)
7747
7747
  );
7748
7748
  }), !1;
@@ -7758,14 +7758,14 @@ function aA(e, t, n) {
7758
7758
  if (!G.isUndefined(m)) {
7759
7759
  if (f.indexOf(m) !== -1)
7760
7760
  throw Error("Circular reference detected in " + g.join("."));
7761
- f.push(m), G.forEach(m, function(y, E) {
7761
+ f.push(m), G.forEach(m, function(y, T) {
7762
7762
  (!(G.isUndefined(y) || y === null) && r.call(
7763
7763
  t,
7764
7764
  y,
7765
- G.isString(E) ? E.trim() : E,
7765
+ G.isString(T) ? T.trim() : T,
7766
7766
  g,
7767
7767
  c
7768
- )) === !0 && d(y, g ? g.concat(E) : [E]);
7768
+ )) === !0 && d(y, g ? g.concat(T) : [T]);
7769
7769
  }), f.pop();
7770
7770
  }
7771
7771
  }
@@ -8446,10 +8446,10 @@ const T2 = (e) => {
8446
8446
  config: e,
8447
8447
  request: b
8448
8448
  };
8449
- C2(function(C) {
8450
- n(C), g();
8451
- }, function(C) {
8452
- i(C), g();
8449
+ C2(function(E) {
8450
+ n(E), g();
8451
+ }, function(E) {
8452
+ i(E), g();
8453
8453
  }, k), b = null;
8454
8454
  }
8455
8455
  "onloadend" in b ? b.onloadend = y : b.onreadystatechange = function() {
@@ -8459,22 +8459,22 @@ const T2 = (e) => {
8459
8459
  }, b.onerror = function() {
8460
8460
  i(new we("Network Error", we.ERR_NETWORK, e, b)), b = null;
8461
8461
  }, b.ontimeout = function() {
8462
- let T = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
8462
+ let C = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
8463
8463
  const k = r.transitional || w2;
8464
- r.timeoutErrorMessage && (T = r.timeoutErrorMessage), i(new we(
8465
- T,
8464
+ r.timeoutErrorMessage && (C = r.timeoutErrorMessage), i(new we(
8465
+ C,
8466
8466
  k.clarifyTimeoutError ? we.ETIMEDOUT : we.ECONNABORTED,
8467
8467
  e,
8468
8468
  b
8469
8469
  )), b = null;
8470
- }, s === void 0 && a.setContentType(null), "setRequestHeader" in b && G.forEach(a.toJSON(), function(T, k) {
8471
- b.setRequestHeader(k, T);
8470
+ }, s === void 0 && a.setContentType(null), "setRequestHeader" in b && G.forEach(a.toJSON(), function(C, k) {
8471
+ b.setRequestHeader(k, C);
8472
8472
  }), G.isUndefined(r.withCredentials) || (b.withCredentials = !!r.withCredentials), o && o !== "json" && (b.responseType = r.responseType), u && ([c, m] = go(u, !0), b.addEventListener("progress", c)), A && b.upload && ([f, d] = go(A), b.upload.addEventListener("progress", f), b.upload.addEventListener("loadend", d)), (r.cancelToken || r.signal) && (l = (w) => {
8473
8473
  b && (i(!w || w.type ? new vr(null, e, b) : w), b.abort(), b = null);
8474
8474
  }, r.cancelToken && r.cancelToken.subscribe(l), r.signal && (r.signal.aborted ? l() : r.signal.addEventListener("abort", l)));
8475
- const E = RC(r.url);
8476
- if (E && lt.protocols.indexOf(E) === -1) {
8477
- i(new we("Unsupported protocol " + E + ":", we.ERR_BAD_REQUEST, e));
8475
+ const T = RC(r.url);
8476
+ if (T && lt.protocols.indexOf(T) === -1) {
8477
+ i(new we("Unsupported protocol " + T + ":", we.ERR_BAD_REQUEST, e));
8478
8478
  return;
8479
8479
  }
8480
8480
  b.send(s || null);
@@ -8631,11 +8631,11 @@ const qC = async (e) => {
8631
8631
  duplex: "half"
8632
8632
  }), v;
8633
8633
  if (G.isFormData(i) && (v = k.headers.get("content-type")) && l.setContentType(v), k.body) {
8634
- const [C, I] = Hh(
8634
+ const [E, I] = Hh(
8635
8635
  b,
8636
8636
  go(Uh(A))
8637
8637
  );
8638
- i = Yh(k.body, Wh, C, I);
8638
+ i = Yh(k.body, Wh, E, I);
8639
8639
  }
8640
8640
  }
8641
8641
  G.isString(f) || (f = f ? "include" : "omit");
@@ -8649,32 +8649,32 @@ const qC = async (e) => {
8649
8649
  duplex: "half",
8650
8650
  credentials: y ? f : void 0
8651
8651
  });
8652
- let E = await fetch(m, c);
8652
+ let T = await fetch(m, c);
8653
8653
  const w = df && (u === "stream" || u === "response");
8654
8654
  if (df && (o || w && g)) {
8655
8655
  const k = {};
8656
8656
  ["status", "statusText", "headers"].forEach((B) => {
8657
- k[B] = E[B];
8657
+ k[B] = T[B];
8658
8658
  });
8659
- const v = G.toFiniteNumber(E.headers.get("content-length")), [C, I] = o && Hh(
8659
+ const v = G.toFiniteNumber(T.headers.get("content-length")), [E, I] = o && Hh(
8660
8660
  v,
8661
8661
  go(Uh(o), !0)
8662
8662
  ) || [];
8663
- E = new Response(
8664
- Yh(E.body, Wh, C, () => {
8663
+ T = new Response(
8664
+ Yh(T.body, Wh, E, () => {
8665
8665
  I && I(), g && g();
8666
8666
  }),
8667
8667
  k
8668
8668
  );
8669
8669
  }
8670
8670
  u = u || "text";
8671
- let T = await vo[G.findKey(vo, u) || "text"](E, e);
8671
+ let C = await vo[G.findKey(vo, u) || "text"](T, e);
8672
8672
  return !w && g && g(), await new Promise((k, v) => {
8673
8673
  C2(k, v, {
8674
- data: T,
8675
- headers: xt.from(E.headers),
8676
- status: E.status,
8677
- statusText: E.statusText,
8674
+ data: C,
8675
+ headers: xt.from(T.headers),
8676
+ status: T.status,
8677
+ statusText: T.statusText,
8678
8678
  config: e,
8679
8679
  request: m
8680
8680
  });
@@ -10322,16 +10322,16 @@ const bo = (e, t) => {
10322
10322
  try {
10323
10323
  const y = (async () => {
10324
10324
  const w = new O9(d, m, g);
10325
- return i(w), Jh(w), await new Promise((T, k) => {
10325
+ return i(w), Jh(w), await new Promise((C, k) => {
10326
10326
  const v = () => {
10327
- w.status === "online" ? T() : w.status === "error" ? k(new Error("Failed to connect.")) : setTimeout(v, 300);
10327
+ w.status === "online" ? C() : w.status === "error" ? k(new Error("Failed to connect.")) : setTimeout(v, 300);
10328
10328
  };
10329
10329
  v();
10330
10330
  }), s(m), o(d), i(w), u(0), b && await O2(w, b), w;
10331
10331
  })();
10332
10332
  l.current = y;
10333
- const E = await y;
10334
- return l.current = null, E;
10333
+ const T = await y;
10334
+ return l.current = null, T;
10335
10335
  } catch (y) {
10336
10336
  throw console.error("Error initializing client:", y), i(null), Jh(null), l.current = null, y;
10337
10337
  }
@@ -10410,24 +10410,24 @@ function Q9() {
10410
10410
  function() {
10411
10411
  function b(k) {
10412
10412
  if (!y) {
10413
- if (y = !0, E = k, k = f(k), c !== void 0 && m.hasValue) {
10413
+ if (y = !0, T = k, k = f(k), c !== void 0 && m.hasValue) {
10414
10414
  var v = m.value;
10415
10415
  if (c(v, k))
10416
10416
  return w = v;
10417
10417
  }
10418
10418
  return w = k;
10419
10419
  }
10420
- if (v = w, n(E, k)) return v;
10421
- var C = f(k);
10422
- return c !== void 0 && c(v, C) ? (E = k, v) : (E = k, w = C);
10420
+ if (v = w, n(T, k)) return v;
10421
+ var E = f(k);
10422
+ return c !== void 0 && c(v, E) ? (T = k, v) : (T = k, w = E);
10423
10423
  }
10424
- var y = !1, E, w, T = l === void 0 ? null : l;
10424
+ var y = !1, T, w, C = l === void 0 ? null : l;
10425
10425
  return [
10426
10426
  function() {
10427
10427
  return b(u());
10428
10428
  },
10429
- T === null ? void 0 : function() {
10430
- return b(T());
10429
+ C === null ? void 0 : function() {
10430
+ return b(C());
10431
10431
  }
10432
10432
  ];
10433
10433
  },
@@ -10470,25 +10470,25 @@ function H9() {
10470
10470
  function() {
10471
10471
  function b(k) {
10472
10472
  if (!y) {
10473
- if (y = !0, E = k, k = f(k), c !== void 0 && m.hasValue) {
10473
+ if (y = !0, T = k, k = f(k), c !== void 0 && m.hasValue) {
10474
10474
  var v = m.value;
10475
10475
  if (c(v, k))
10476
10476
  return w = v;
10477
10477
  }
10478
10478
  return w = k;
10479
10479
  }
10480
- if (v = w, n(E, k))
10480
+ if (v = w, n(T, k))
10481
10481
  return v;
10482
- var C = f(k);
10483
- return c !== void 0 && c(v, C) ? (E = k, v) : (E = k, w = C);
10482
+ var E = f(k);
10483
+ return c !== void 0 && c(v, E) ? (T = k, v) : (T = k, w = E);
10484
10484
  }
10485
- var y = !1, E, w, T = l === void 0 ? null : l;
10485
+ var y = !1, T, w, C = l === void 0 ? null : l;
10486
10486
  return [
10487
10487
  function() {
10488
10488
  return b(u());
10489
10489
  },
10490
- T === null ? void 0 : function() {
10491
- return b(T());
10490
+ C === null ? void 0 : function() {
10491
+ return b(C());
10492
10492
  }
10493
10493
  ];
10494
10494
  },
@@ -10682,7 +10682,7 @@ function a5(e = Jn) {
10682
10682
  const m = i(d);
10683
10683
  if (process.env.NODE_ENV !== "production") {
10684
10684
  const { devModeChecks: g = {} } = typeof r == "function" ? {} : r, { identityFunctionCheck: b, stabilityCheck: y } = a, {
10685
- identityFunctionCheck: E,
10685
+ identityFunctionCheck: T,
10686
10686
  stabilityCheck: w
10687
10687
  } = {
10688
10688
  stabilityCheck: y,
@@ -10690,8 +10690,8 @@ function a5(e = Jn) {
10690
10690
  ...g
10691
10691
  };
10692
10692
  if (w === "always" || w === "once" && l.current) {
10693
- const T = i(d);
10694
- if (!s(m, T)) {
10693
+ const C = i(d);
10694
+ if (!s(m, C)) {
10695
10695
  let k;
10696
10696
  try {
10697
10697
  throw new Error();
@@ -10704,23 +10704,23 @@ Selectors that return a new reference (such as an object or an array) should be
10704
10704
  {
10705
10705
  state: d,
10706
10706
  selected: m,
10707
- selected2: T,
10707
+ selected2: C,
10708
10708
  stack: k
10709
10709
  }
10710
10710
  );
10711
10711
  }
10712
10712
  }
10713
- if ((E === "always" || E === "once" && l.current) && m === d) {
10714
- let T;
10713
+ if ((T === "always" || T === "once" && l.current) && m === d) {
10714
+ let C;
10715
10715
  try {
10716
10716
  throw new Error();
10717
10717
  } catch (k) {
10718
- ({ stack: T } = k);
10718
+ ({ stack: C } = k);
10719
10719
  }
10720
10720
  console.warn(
10721
10721
  "Selector " + (i.name || "unknown") + ` returned the root state when called. This can lead to unnecessary rerenders.
10722
10722
  Selectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.`,
10723
- { stack: T }
10723
+ { stack: C }
10724
10724
  );
10725
10725
  }
10726
10726
  l.current && (l.current = !1);
@@ -10933,30 +10933,30 @@ function E5(e) {
10933
10933
  return v5(za("", null, null, null, [""], e = g5(e), 0, [0], e));
10934
10934
  }
10935
10935
  function za(e, t, n, i, r, s, a, o, A) {
10936
- for (var u = 0, l = 0, f = a, c = 0, d = 0, m = 0, g = 1, b = 1, y = 1, E = 0, w = "", T = r, k = s, v = i, C = w; b; )
10937
- switch (m = E, E = Gt()) {
10936
+ for (var u = 0, l = 0, f = a, c = 0, d = 0, m = 0, g = 1, b = 1, y = 1, T = 0, w = "", C = r, k = s, v = i, E = w; b; )
10937
+ switch (m = T, T = Gt()) {
10938
10938
  // (
10939
10939
  case 40:
10940
- if (m != 108 && it(C, f - 1) == 58) {
10941
- Wa(C += xe(Zu(E), "&", "&\f"), "&\f", j2(u ? o[u - 1] : 0)) != -1 && (y = -1);
10940
+ if (m != 108 && it(E, f - 1) == 58) {
10941
+ Wa(E += xe(Zu(T), "&", "&\f"), "&\f", j2(u ? o[u - 1] : 0)) != -1 && (y = -1);
10942
10942
  break;
10943
10943
  }
10944
10944
  // " ' [
10945
10945
  case 34:
10946
10946
  case 39:
10947
10947
  case 91:
10948
- C += Zu(E);
10948
+ E += Zu(T);
10949
10949
  break;
10950
10950
  // \t \n \r \s
10951
10951
  case 9:
10952
10952
  case 10:
10953
10953
  case 13:
10954
10954
  case 32:
10955
- C += b5(m);
10955
+ E += b5(m);
10956
10956
  break;
10957
10957
  // \
10958
10958
  case 92:
10959
- C += y5(Ga() - 1, 7);
10959
+ E += y5(Ga() - 1, 7);
10960
10960
  continue;
10961
10961
  // /
10962
10962
  case 47:
@@ -10966,82 +10966,82 @@ function za(e, t, n, i, r, s, a, o, A) {
10966
10966
  ns(C5(w5(Gt(), Ga()), t, n, A), A);
10967
10967
  break;
10968
10968
  default:
10969
- C += "/";
10969
+ E += "/";
10970
10970
  }
10971
10971
  break;
10972
10972
  // {
10973
10973
  case 123 * g:
10974
- o[u++] = rn(C) * y;
10974
+ o[u++] = rn(E) * y;
10975
10975
  // } ; \0
10976
10976
  case 125 * g:
10977
10977
  case 59:
10978
10978
  case 0:
10979
- switch (E) {
10979
+ switch (T) {
10980
10980
  // \0 }
10981
10981
  case 0:
10982
10982
  case 125:
10983
10983
  b = 0;
10984
10984
  // ;
10985
10985
  case 59 + l:
10986
- y == -1 && (C = xe(C, /\f/g, "")), d > 0 && rn(C) - f && ns(d > 32 ? n0(C + ";", i, n, f - 1, A) : n0(xe(C, " ", "") + ";", i, n, f - 2, A), A);
10986
+ y == -1 && (E = xe(E, /\f/g, "")), d > 0 && rn(E) - f && ns(d > 32 ? n0(E + ";", i, n, f - 1, A) : n0(xe(E, " ", "") + ";", i, n, f - 2, A), A);
10987
10987
  break;
10988
10988
  // @ ;
10989
10989
  case 59:
10990
- C += ";";
10990
+ E += ";";
10991
10991
  // { rule/at-rule
10992
10992
  default:
10993
- if (ns(v = t0(C, t, n, u, l, r, o, w, T = [], k = [], f, s), s), E === 123)
10993
+ if (ns(v = t0(E, t, n, u, l, r, o, w, C = [], k = [], f, s), s), T === 123)
10994
10994
  if (l === 0)
10995
- za(C, t, v, v, T, s, f, o, k);
10995
+ za(E, t, v, v, C, s, f, o, k);
10996
10996
  else
10997
- switch (c === 99 && it(C, 3) === 110 ? 100 : c) {
10997
+ switch (c === 99 && it(E, 3) === 110 ? 100 : c) {
10998
10998
  // d l m s
10999
10999
  case 100:
11000
11000
  case 108:
11001
11001
  case 109:
11002
11002
  case 115:
11003
- za(e, v, v, i && ns(t0(e, v, v, 0, 0, r, o, w, r, T = [], f, k), k), r, k, f, o, i ? T : k);
11003
+ za(e, v, v, i && ns(t0(e, v, v, 0, 0, r, o, w, r, C = [], f, k), k), r, k, f, o, i ? C : k);
11004
11004
  break;
11005
11005
  default:
11006
- za(C, v, v, v, [""], k, 0, o, k);
11006
+ za(E, v, v, v, [""], k, 0, o, k);
11007
11007
  }
11008
11008
  }
11009
- u = l = d = 0, g = y = 1, w = C = "", f = a;
11009
+ u = l = d = 0, g = y = 1, w = E = "", f = a;
11010
11010
  break;
11011
11011
  // :
11012
11012
  case 58:
11013
- f = 1 + rn(C), d = m;
11013
+ f = 1 + rn(E), d = m;
11014
11014
  default:
11015
11015
  if (g < 1) {
11016
- if (E == 123)
11016
+ if (T == 123)
11017
11017
  --g;
11018
- else if (E == 125 && g++ == 0 && p5() == 125)
11018
+ else if (T == 125 && g++ == 0 && p5() == 125)
11019
11019
  continue;
11020
11020
  }
11021
- switch (C += Fc(E), E * g) {
11021
+ switch (E += Fc(T), T * g) {
11022
11022
  // &
11023
11023
  case 38:
11024
- y = l > 0 ? 1 : (C += "\f", -1);
11024
+ y = l > 0 ? 1 : (E += "\f", -1);
11025
11025
  break;
11026
11026
  // ,
11027
11027
  case 44:
11028
- o[u++] = (rn(C) - 1) * y, y = 1;
11028
+ o[u++] = (rn(E) - 1) * y, y = 1;
11029
11029
  break;
11030
11030
  // @
11031
11031
  case 64:
11032
- hi() === 45 && (C += Zu(Gt())), c = hi(), l = f = rn(w = C += k5(Ga())), E++;
11032
+ hi() === 45 && (E += Zu(Gt())), c = hi(), l = f = rn(w = E += k5(Ga())), T++;
11033
11033
  break;
11034
11034
  // -
11035
11035
  case 45:
11036
- m === 45 && rn(C) == 2 && (g = 0);
11036
+ m === 45 && rn(E) == 2 && (g = 0);
11037
11037
  }
11038
11038
  }
11039
11039
  return s;
11040
11040
  }
11041
11041
  function t0(e, t, n, i, r, s, a, o, A, u, l, f) {
11042
11042
  for (var c = r - 1, d = r === 0 ? s : [""], m = W2(d), g = 0, b = 0, y = 0; g < i; ++g)
11043
- for (var E = 0, w = er(e, c + 1, c = j2(b = a[g])), T = e; E < m; ++E)
11044
- (T = Y2(b > 0 ? d[E] + " " + w : xe(w, /&\f/g, d[E]))) && (A[y++] = T);
11043
+ for (var T = 0, w = er(e, c + 1, c = j2(b = a[g])), C = e; T < m; ++T)
11044
+ (C = Y2(b > 0 ? d[T] + " " + w : xe(w, /&\f/g, d[T]))) && (A[y++] = C);
11045
11045
  return cA(e, t, n, r === 0 ? lA : o, A, u, l, f);
11046
11046
  }
11047
11047
  function C5(e, t, n, i) {
@@ -11682,10 +11682,10 @@ function ax(e) {
11682
11682
  d === void 0 && (d = ""), m === void 0 && (m = ""), g === void 0 && (g = "&"), t = g, n = d, i = new RegExp("\\".concat(n, "\\b"), "g");
11683
11683
  var b = c.replace(sx, ""), y = E5(m || d ? "".concat(m, " ").concat(d, " { ").concat(b, " }") : b);
11684
11684
  a.namespace && (y = sv(y, a.namespace));
11685
- var E = [];
11685
+ var T = [];
11686
11686
  return yo(y, T5(l.concat(I5(function(w) {
11687
- return E.push(w);
11688
- })))), E;
11687
+ return T.push(w);
11688
+ })))), T;
11689
11689
  };
11690
11690
  return f.hash = A.length ? A.reduce(function(c, d) {
11691
11691
  return d.name || yr(15), oi(c, d.name);
@@ -11787,35 +11787,35 @@ var lx = X2(hA), fx = function() {
11787
11787
  uv.Consumer;
11788
11788
  var tl = {}, d0 = /* @__PURE__ */ new Set();
11789
11789
  function cx(e, t, n) {
11790
- var i = Hc(e), r = e, s = !el(e), a = t.attrs, o = a === void 0 ? mA : a, A = t.componentId, u = A === void 0 ? function(T, k) {
11791
- var v = typeof T != "string" ? "sc" : r0(T);
11790
+ var i = Hc(e), r = e, s = !el(e), a = t.attrs, o = a === void 0 ? mA : a, A = t.componentId, u = A === void 0 ? function(C, k) {
11791
+ var v = typeof C != "string" ? "sc" : r0(C);
11792
11792
  tl[v] = (tl[v] || 0) + 1;
11793
- var C = "".concat(v, "-").concat(K2(hA + v + tl[v]));
11794
- return k ? "".concat(k, "-").concat(C) : C;
11795
- }(t.displayName, t.parentComponentId) : A, l = t.displayName, f = l === void 0 ? function(T) {
11796
- return el(T) ? "styled.".concat(T) : "Styled(".concat(Z2(T), ")");
11793
+ var E = "".concat(v, "-").concat(K2(hA + v + tl[v]));
11794
+ return k ? "".concat(k, "-").concat(E) : E;
11795
+ }(t.displayName, t.parentComponentId) : A, l = t.displayName, f = l === void 0 ? function(C) {
11796
+ return el(C) ? "styled.".concat(C) : "Styled(".concat(Z2(C), ")");
11797
11797
  }(e) : l, c = t.displayName && t.componentId ? "".concat(r0(t.displayName), "-").concat(t.componentId) : t.componentId || u, d = i && r.attrs ? r.attrs.concat(o).filter(Boolean) : o, m = t.shouldForwardProp;
11798
11798
  if (i && r.shouldForwardProp) {
11799
11799
  var g = r.shouldForwardProp;
11800
11800
  if (t.shouldForwardProp) {
11801
11801
  var b = t.shouldForwardProp;
11802
- m = function(T, k) {
11803
- return g(T, k) && b(T, k);
11802
+ m = function(C, k) {
11803
+ return g(C, k) && b(C, k);
11804
11804
  };
11805
11805
  } else m = g;
11806
11806
  }
11807
11807
  var y = new fx(n, c, i ? r.componentStyle : void 0);
11808
- function E(T, k) {
11809
- return function(v, C, I) {
11808
+ function T(C, k) {
11809
+ return function(v, E, I) {
11810
11810
  var B = v.attrs, x = v.componentStyle, D = v.defaultProps, P = v.foldedComponentIds, _ = v.styledComponentId, Q = v.target, H = ct.useContext(uv), V = f0(), re = v.shouldForwardProp || V.shouldForwardProp;
11811
11811
  process.env.NODE_ENV !== "production" && Ld(_);
11812
- var he = R5(C, H, D) || nr, oe = function(de, le, ie) {
11812
+ var he = R5(E, H, D) || nr, oe = function(de, le, ie) {
11813
11813
  for (var Ae, me = kt(kt({}, le), { className: void 0, theme: ie }), J = 0; J < de.length; J += 1) {
11814
11814
  var fe = ir(Ae = de[J]) ? Ae(me) : Ae;
11815
11815
  for (var K in fe) me[K] = K === "className" ? ui(me[K], fe[K]) : K === "style" ? kt(kt({}, me[K]), fe[K]) : fe[K];
11816
11816
  }
11817
11817
  return le.className && (me.className = ui(me.className, le.className)), me;
11818
- }(B, C, he), S = oe.as || Q, U = {};
11818
+ }(B, E, he), S = oe.as || Q, U = {};
11819
11819
  for (var Y in oe) oe[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && oe.theme === he || (Y === "forwardedAs" ? U.as = oe.forwardedAs : re && !re(Y, S) || (U[Y] = oe[Y], re || process.env.NODE_ENV !== "development" || l5(Y) || d0.has(Y) || !kf.has(S) || (d0.add(Y), console.warn('styled-components: it looks like an unknown prop "'.concat(Y, '" 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.)')))));
11820
11820
  var N = function(de, le) {
11821
11821
  var ie = f0(), Ae = de.generateAndInjectStyles(le, ie.styleSheet, ie.stylis);
@@ -11824,24 +11824,24 @@ function cx(e, t, n) {
11824
11824
  process.env.NODE_ENV !== "production" && v.warnTooManyClasses && v.warnTooManyClasses(N);
11825
11825
  var W = ui(P, _);
11826
11826
  return N && (W += " " + N), oe.className && (W += " " + oe.className), U[el(S) && !kf.has(S) ? "class" : "className"] = W, I && (U.ref = I), b3(S, U);
11827
- }(w, T, k);
11827
+ }(w, C, k);
11828
11828
  }
11829
- E.displayName = f;
11830
- var w = ct.forwardRef(E);
11829
+ T.displayName = f;
11830
+ var w = ct.forwardRef(T);
11831
11831
  return w.attrs = d, w.componentStyle = y, w.displayName = f, w.shouldForwardProp = m, w.foldedComponentIds = i ? ui(r.foldedComponentIds, r.styledComponentId) : "", w.styledComponentId = c, w.target = i ? r.target : e, Object.defineProperty(w, "defaultProps", { get: function() {
11832
11832
  return this._foldedDefaultProps;
11833
- }, set: function(T) {
11833
+ }, set: function(C) {
11834
11834
  this._foldedDefaultProps = i ? function(k) {
11835
- for (var v = [], C = 1; C < arguments.length; C++) v[C - 1] = arguments[C];
11835
+ for (var v = [], E = 1; E < arguments.length; E++) v[E - 1] = arguments[E];
11836
11836
  for (var I = 0, B = v; I < B.length; I++) xf(k, B[I], !0);
11837
11837
  return k;
11838
- }({}, r.defaultProps, T) : T;
11839
- } }), process.env.NODE_ENV !== "production" && (B5(f, c), w.warnTooManyClasses = /* @__PURE__ */ function(T, k) {
11840
- var v = {}, C = !1;
11838
+ }({}, r.defaultProps, C) : C;
11839
+ } }), process.env.NODE_ENV !== "production" && (B5(f, c), w.warnTooManyClasses = /* @__PURE__ */ function(C, k) {
11840
+ var v = {}, E = !1;
11841
11841
  return function(I) {
11842
- if (!C && (v[I] = !0, Object.keys(v).length >= 200)) {
11842
+ if (!E && (v[I] = !0, Object.keys(v).length >= 200)) {
11843
11843
  var B = k ? ' with the id of "'.concat(k, '"') : "";
11844
- console.warn("Over ".concat(200, " classes were generated for component ").concat(T).concat(B, `.
11844
+ console.warn("Over ".concat(200, " classes were generated for component ").concat(C).concat(B, `.
11845
11845
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
11846
11846
  Example:
11847
11847
  const Component = styled.div.attrs(props => ({
@@ -11850,7 +11850,7 @@ Example:
11850
11850
  },
11851
11851
  }))\`width: 100%;\`
11852
11852
 
11853
- <Component />`), C = !0, v = {};
11853
+ <Component />`), E = !0, v = {};
11854
11854
  }
11855
11855
  };
11856
11856
  }(f, c)), Uc(w, function() {
@@ -13543,14 +13543,14 @@ const Vx = (e) => e.length === 0 ? "" : e.length === 1 ? `${e[0]} is typing` : e
13543
13543
  isReply: s,
13544
13544
  activeMessage: a
13545
13545
  }) => {
13546
- const { CustomScrollableArea: o, CustomNewMessageLabel: A } = pA(), { composing: u, messages: l, composingList: f } = Xt(n).room, { user: c } = Tt(), [d, m] = ae(!1), [g, b] = ae(0), [y, E] = ae(null), w = Ne(l.length), T = Ne(null), k = Ne({}), v = Ne(!0), C = Ve(() => l.map((J) => ({
13546
+ const { CustomScrollableArea: o, CustomNewMessageLabel: A } = pA(), { composing: u, messages: l, composingList: f } = Xt(n).room, { user: c } = Tt(), [d, m] = ae(!1), [g, b] = ae(0), [y, T] = ae(null), w = Ne(l.length), C = Ne(null), k = Ne({}), v = Ne(!0), E = Ve(() => l.map((J) => ({
13547
13547
  ...J,
13548
13548
  reply: l.filter(
13549
13549
  (K) => !!K.mainMessage && JSON.parse(K.mainMessage).id === J.id
13550
13550
  )
13551
- })), [l, l.length]), I = Ve(() => s ? C.filter(
13551
+ })), [l, l.length]), I = Ve(() => s ? E.filter(
13552
13552
  (J) => J.roomJid === n && J.isReply && J.isReply === "true" && J.mainMessage && JSON.parse(J.mainMessage).id === a.id
13553
- ) : C.filter(
13553
+ ) : E.filter(
13554
13554
  (J) => J.isSystemMessage === "true" || J.showInChannel === "true" || (!J.isReply || J.isReply === "false") && !J.mainMessage
13555
13555
  ), [l, l.length]), B = Ve(
13556
13556
  () => l.length && l[l.length - 1].user.id === c.xmppUsername,
@@ -13594,7 +13594,7 @@ const Vx = (e) => e.length === 0 ? "" : e.length === 1 ? `${e[0]} is typing` : e
13594
13594
  }
13595
13595
  }, [n, I, S]);
13596
13596
  Ce(() => {
13597
- I.length > 0 && E(
13597
+ I.length > 0 && T(
13598
13598
  new Date(I[I.length - 1].date).getTime()
13599
13599
  );
13600
13600
  }, []), Ce(() => {
@@ -13650,7 +13650,7 @@ const Vx = (e) => e.length === 0 ? "" : e.length === 1 ? `${e[0]} is typing` : e
13650
13650
  }, [I.length, u]), Ce(() => {
13651
13651
  if (l.length > 0) {
13652
13652
  const J = l[l.length - 1], fe = J && B;
13653
- J && J.id !== T.current && fe && (T.current = J.id, N());
13653
+ J && J.id !== C.current && fe && (C.current = J.id, N());
13654
13654
  }
13655
13655
  }, [l, B]), Ce(() => {
13656
13656
  if (!x.current) return;
@@ -14041,8 +14041,8 @@ const DT = L.div`
14041
14041
  handleSendClick: n
14042
14042
  }) => {
14043
14043
  const [i, r] = ae(null), [s, a] = ae(0), o = Ne(null), A = Ne([]), u = Ne(null), l = (y) => {
14044
- const E = Math.floor(y / 60), w = y % 60;
14045
- return `${E.toString().padStart(2, "0")}:${w.toString().padStart(2, "0")}`;
14044
+ const T = Math.floor(y / 60), w = y % 60;
14045
+ return `${T.toString().padStart(2, "0")}:${w.toString().padStart(2, "0")}`;
14046
14046
  }, f = ce(() => {
14047
14047
  u.current = setInterval(() => {
14048
14048
  a((y) => y + 1);
@@ -14052,13 +14052,13 @@ const DT = L.div`
14052
14052
  }, []), d = () => {
14053
14053
  r(null), a(0), e(!1), A.current = [], o.current && o.current.stream.getTracks().forEach((y) => y.stop());
14054
14054
  }, m = ce(async () => {
14055
- const y = await navigator.mediaDevices.getUserMedia({ audio: !0 }), E = new MediaRecorder(y);
14056
- o.current = E, E.ondataavailable = (w) => {
14055
+ const y = await navigator.mediaDevices.getUserMedia({ audio: !0 }), T = new MediaRecorder(y);
14056
+ o.current = T, T.ondataavailable = (w) => {
14057
14057
  A.current.push(w.data);
14058
- }, E.onstop = () => {
14058
+ }, T.onstop = () => {
14059
14059
  const w = new Blob(A.current);
14060
14060
  r(w);
14061
- }, A.current = [], E.start(), e(!0), f();
14061
+ }, A.current = [], T.start(), e(!0), f();
14062
14062
  }, [f, e]), g = () => {
14063
14063
  o.current && (o.current.stop(), c(), d());
14064
14064
  }, b = () => {
@@ -15286,30 +15286,30 @@ function n8() {
15286
15286
  throw new TypeError("First argument must be a string");
15287
15287
  if (!g) return [];
15288
15288
  b = b || {};
15289
- var y = 1, E = 1;
15289
+ var y = 1, T = 1;
15290
15290
  function w(_) {
15291
15291
  var Q = _.match(t);
15292
15292
  Q && (y += Q.length);
15293
15293
  var H = _.lastIndexOf(A);
15294
- E = ~H ? _.length - H : E + _.length;
15294
+ T = ~H ? _.length - H : T + _.length;
15295
15295
  }
15296
- function T() {
15297
- var _ = { line: y, column: E };
15296
+ function C() {
15297
+ var _ = { line: y, column: T };
15298
15298
  return function(Q) {
15299
15299
  return Q.position = new k(_), I(), Q;
15300
15300
  };
15301
15301
  }
15302
15302
  function k(_) {
15303
- this.start = _, this.end = { line: y, column: E }, this.source = b.source;
15303
+ this.start = _, this.end = { line: y, column: T }, this.source = b.source;
15304
15304
  }
15305
15305
  k.prototype.content = g;
15306
15306
  function v(_) {
15307
15307
  var Q = new Error(
15308
- b.source + ":" + y + ":" + E + ": " + _
15308
+ b.source + ":" + y + ":" + T + ": " + _
15309
15309
  );
15310
- if (Q.reason = _, Q.filename = b.source, Q.line = y, Q.column = E, Q.source = g, !b.silent) throw Q;
15310
+ if (Q.reason = _, Q.filename = b.source, Q.line = y, Q.column = T, Q.source = g, !b.silent) throw Q;
15311
15311
  }
15312
- function C(_) {
15312
+ function E(_) {
15313
15313
  var Q = _.exec(g);
15314
15314
  if (Q) {
15315
15315
  var H = Q[0];
@@ -15317,7 +15317,7 @@ function n8() {
15317
15317
  }
15318
15318
  }
15319
15319
  function I() {
15320
- C(n);
15320
+ E(n);
15321
15321
  }
15322
15322
  function B(_) {
15323
15323
  var Q;
@@ -15326,29 +15326,29 @@ function n8() {
15326
15326
  return _;
15327
15327
  }
15328
15328
  function x() {
15329
- var _ = T();
15329
+ var _ = C();
15330
15330
  if (!(u != g.charAt(0) || l != g.charAt(1))) {
15331
15331
  for (var Q = 2; f != g.charAt(Q) && (l != g.charAt(Q) || u != g.charAt(Q + 1)); )
15332
15332
  ++Q;
15333
15333
  if (Q += 2, f === g.charAt(Q - 1))
15334
15334
  return v("End of comment missing");
15335
15335
  var H = g.slice(2, Q - 2);
15336
- return E += 2, w(H), g = g.slice(Q), E += 2, _({
15336
+ return T += 2, w(H), g = g.slice(Q), T += 2, _({
15337
15337
  type: c,
15338
15338
  comment: H
15339
15339
  });
15340
15340
  }
15341
15341
  }
15342
15342
  function D() {
15343
- var _ = T(), Q = C(i);
15343
+ var _ = C(), Q = E(i);
15344
15344
  if (Q) {
15345
- if (x(), !C(r)) return v("property missing ':'");
15346
- var H = C(s), V = _({
15345
+ if (x(), !E(r)) return v("property missing ':'");
15346
+ var H = E(s), V = _({
15347
15347
  type: d,
15348
15348
  property: m(Q[0].replace(e, f)),
15349
15349
  value: H ? m(H[0].replace(e, f)) : f
15350
15350
  });
15351
- return C(a), V;
15351
+ return E(a), V;
15352
15352
  }
15353
15353
  }
15354
15354
  function P() {
@@ -16041,28 +16041,28 @@ function Q8(e) {
16041
16041
  return o;
16042
16042
  function o(w) {
16043
16043
  if (i < n.length) {
16044
- const T = n[i];
16045
- return t.containerState = T[1], e.attempt(T[0].continuation, A, u)(w);
16044
+ const C = n[i];
16045
+ return t.containerState = C[1], e.attempt(C[0].continuation, A, u)(w);
16046
16046
  }
16047
16047
  return u(w);
16048
16048
  }
16049
16049
  function A(w) {
16050
16050
  if (i++, t.containerState._closeFlow) {
16051
- t.containerState._closeFlow = void 0, r && E();
16052
- const T = t.events.length;
16053
- let k = T, v;
16051
+ t.containerState._closeFlow = void 0, r && T();
16052
+ const C = t.events.length;
16053
+ let k = C, v;
16054
16054
  for (; k--; )
16055
16055
  if (t.events[k][0] === "exit" && t.events[k][1].type === "chunkFlow") {
16056
16056
  v = t.events[k][1].end;
16057
16057
  break;
16058
16058
  }
16059
16059
  y(i);
16060
- let C = T;
16061
- for (; C < t.events.length; )
16062
- t.events[C][1].end = {
16060
+ let E = C;
16061
+ for (; E < t.events.length; )
16062
+ t.events[E][1].end = {
16063
16063
  ...v
16064
- }, C++;
16065
- return Rt(t.events, k + 1, 0, t.events.slice(T)), t.events.length = C, u(w);
16064
+ }, E++;
16065
+ return Rt(t.events, k + 1, 0, t.events.slice(C)), t.events.length = E, u(w);
16066
16066
  }
16067
16067
  return o(w);
16068
16068
  }
@@ -16077,7 +16077,7 @@ function Q8(e) {
16077
16077
  return t.containerState = {}, e.check(P0, l, f)(w);
16078
16078
  }
16079
16079
  function l(w) {
16080
- return r && E(), y(i), c(w);
16080
+ return r && T(), y(i), c(w);
16081
16081
  }
16082
16082
  function f(w) {
16083
16083
  return t.parser.lazy[t.now().line] = i !== n.length, a = t.now().offset, m(w);
@@ -16090,7 +16090,7 @@ function Q8(e) {
16090
16090
  }
16091
16091
  function m(w) {
16092
16092
  if (w === null) {
16093
- r && E(), y(0), e.consume(w);
16093
+ r && T(), y(0), e.consume(w);
16094
16094
  return;
16095
16095
  }
16096
16096
  return r = r || t.parser.flow(t.now()), e.enter("chunkFlow", {
@@ -16106,9 +16106,9 @@ function Q8(e) {
16106
16106
  }
16107
16107
  return pe(w) ? (e.consume(w), b(e.exit("chunkFlow")), i = 0, t.interrupt = void 0, o) : (e.consume(w), g);
16108
16108
  }
16109
- function b(w, T) {
16109
+ function b(w, C) {
16110
16110
  const k = t.sliceStream(w);
16111
- if (T && k.push(null), w.previous = s, s && (s.next = w), s = w, r.defineSkip(w.start), r.write(k), t.parser.lazy[w.start.line]) {
16111
+ if (C && k.push(null), w.previous = s, s && (s.next = w), s = w, r.defineSkip(w.start), r.write(k), t.parser.lazy[w.start.line]) {
16112
16112
  let v = r.events.length;
16113
16113
  for (; v--; )
16114
16114
  if (
@@ -16118,8 +16118,8 @@ function Q8(e) {
16118
16118
  r.events[v][1].end.offset > a)
16119
16119
  )
16120
16120
  return;
16121
- const C = t.events.length;
16122
- let I = C, B, x;
16121
+ const E = t.events.length;
16122
+ let I = E, B, x;
16123
16123
  for (; I--; )
16124
16124
  if (t.events[I][0] === "exit" && t.events[I][1].type === "chunkFlow") {
16125
16125
  if (B) {
@@ -16128,22 +16128,22 @@ function Q8(e) {
16128
16128
  }
16129
16129
  B = !0;
16130
16130
  }
16131
- for (y(i), v = C; v < t.events.length; )
16131
+ for (y(i), v = E; v < t.events.length; )
16132
16132
  t.events[v][1].end = {
16133
16133
  ...x
16134
16134
  }, v++;
16135
- Rt(t.events, I + 1, 0, t.events.slice(C)), t.events.length = v;
16135
+ Rt(t.events, I + 1, 0, t.events.slice(E)), t.events.length = v;
16136
16136
  }
16137
16137
  }
16138
16138
  function y(w) {
16139
- let T = n.length;
16140
- for (; T-- > w; ) {
16141
- const k = n[T];
16139
+ let C = n.length;
16140
+ for (; C-- > w; ) {
16141
+ const k = n[C];
16142
16142
  t.containerState = k[1], k[0].exit.call(t, e);
16143
16143
  }
16144
16144
  n.length = w;
16145
16145
  }
16146
- function E() {
16146
+ function T() {
16147
16147
  r.write([null]), s = void 0, r = void 0, t.containerState._closeFlow = void 0;
16148
16148
  }
16149
16149
  }
@@ -16388,14 +16388,14 @@ function K8(e, t, n) {
16388
16388
  return u(v);
16389
16389
  }
16390
16390
  function u(v) {
16391
- const C = i.events[i.events.length - 1];
16392
- return s = C && C[1].type === "linePrefix" ? C[2].sliceSerialize(C[1], !0).length : 0, o = v, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), l(v);
16391
+ const E = i.events[i.events.length - 1];
16392
+ return s = E && E[1].type === "linePrefix" ? E[2].sliceSerialize(E[1], !0).length : 0, o = v, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), l(v);
16393
16393
  }
16394
16394
  function l(v) {
16395
16395
  return v === o ? (a++, e.consume(v), l) : a < 3 ? n(v) : (e.exit("codeFencedFenceSequence"), Se(v) ? Re(e, f, "whitespace")(v) : f(v));
16396
16396
  }
16397
16397
  function f(v) {
16398
- return v === null || pe(v) ? (e.exit("codeFencedFence"), i.interrupt ? t(v) : e.check(L0, g, T)(v)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
16398
+ return v === null || pe(v) ? (e.exit("codeFencedFence"), i.interrupt ? t(v) : e.check(L0, g, C)(v)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
16399
16399
  contentType: "string"
16400
16400
  }), c(v));
16401
16401
  }
@@ -16411,24 +16411,24 @@ function K8(e, t, n) {
16411
16411
  return v === null || pe(v) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), f(v)) : v === 96 && v === o ? n(v) : (e.consume(v), m);
16412
16412
  }
16413
16413
  function g(v) {
16414
- return e.attempt(r, T, b)(v);
16414
+ return e.attempt(r, C, b)(v);
16415
16415
  }
16416
16416
  function b(v) {
16417
16417
  return e.enter("lineEnding"), e.consume(v), e.exit("lineEnding"), y;
16418
16418
  }
16419
16419
  function y(v) {
16420
- return s > 0 && Se(v) ? Re(e, E, "linePrefix", s + 1)(v) : E(v);
16420
+ return s > 0 && Se(v) ? Re(e, T, "linePrefix", s + 1)(v) : T(v);
16421
16421
  }
16422
- function E(v) {
16423
- return v === null || pe(v) ? e.check(L0, g, T)(v) : (e.enter("codeFlowValue"), w(v));
16422
+ function T(v) {
16423
+ return v === null || pe(v) ? e.check(L0, g, C)(v) : (e.enter("codeFlowValue"), w(v));
16424
16424
  }
16425
16425
  function w(v) {
16426
- return v === null || pe(v) ? (e.exit("codeFlowValue"), E(v)) : (e.consume(v), w);
16426
+ return v === null || pe(v) ? (e.exit("codeFlowValue"), T(v)) : (e.consume(v), w);
16427
16427
  }
16428
- function T(v) {
16428
+ function C(v) {
16429
16429
  return e.exit("codeFenced"), t(v);
16430
16430
  }
16431
- function k(v, C, I) {
16431
+ function k(v, E, I) {
16432
16432
  let B = 0;
16433
16433
  return x;
16434
16434
  function x(H) {
@@ -16444,7 +16444,7 @@ function K8(e, t, n) {
16444
16444
  return H === o ? (B++, v.consume(H), _) : B >= a ? (v.exit("codeFencedFenceSequence"), Se(H) ? Re(v, Q, "whitespace")(H) : Q(H)) : I(H);
16445
16445
  }
16446
16446
  function Q(H) {
16447
- return H === null || pe(H) ? (v.exit("codeFencedFence"), C(H)) : I(H);
16447
+ return H === null || pe(H) ? (v.exit("codeFencedFence"), E(H)) : I(H);
16448
16448
  }
16449
16449
  }
16450
16450
  }
@@ -16751,8 +16751,8 @@ function oI(e, t) {
16751
16751
  // Find a void token that includes a break.
16752
16752
  o[c][0] === "exit" && o[c - 1][0] === "enter" && o[c][1].type === o[c - 1][1].type && o[c][1].start.line !== o[c][1].end.line && (g = c + 1, b.push(g), d._tokenizer = void 0, d.previous = void 0, d = d.next);
16753
16753
  for (a.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : b.pop(), c = b.length; c--; ) {
16754
- const y = o.slice(b[c], b[c + 1]), E = s.pop();
16755
- A.push([E, E + y.length - 1]), e.splice(E, 2, y);
16754
+ const y = o.slice(b[c], b[c + 1]), T = s.pop();
16755
+ A.push([T, T + y.length - 1]), e.splice(T, 2, y);
16756
16756
  }
16757
16757
  for (A.reverse(), c = -1; ++c < A.length; )
16758
16758
  u[m + A[c][0]] = m + A[c][1], m += A[c][1] - A[c][0] - 1;
@@ -17114,30 +17114,30 @@ function II(e, t, n) {
17114
17114
  function b(N) {
17115
17115
  if (N === null || N === 47 || N === 62 || He(N)) {
17116
17116
  const W = N === 47, de = a.toLowerCase();
17117
- return !W && !s && Q0.includes(de) ? (r = 1, i.interrupt ? t(N) : P(N)) : kI.includes(a.toLowerCase()) ? (r = 6, W ? (e.consume(N), y) : i.interrupt ? t(N) : P(N)) : (r = 7, i.interrupt && !i.parser.lazy[i.now().line] ? n(N) : s ? E(N) : w(N));
17117
+ return !W && !s && Q0.includes(de) ? (r = 1, i.interrupt ? t(N) : P(N)) : kI.includes(a.toLowerCase()) ? (r = 6, W ? (e.consume(N), y) : i.interrupt ? t(N) : P(N)) : (r = 7, i.interrupt && !i.parser.lazy[i.now().line] ? n(N) : s ? T(N) : w(N));
17118
17118
  }
17119
17119
  return N === 45 || ft(N) ? (e.consume(N), a += String.fromCharCode(N), b) : n(N);
17120
17120
  }
17121
17121
  function y(N) {
17122
17122
  return N === 62 ? (e.consume(N), i.interrupt ? t : P) : n(N);
17123
17123
  }
17124
- function E(N) {
17125
- return Se(N) ? (e.consume(N), E) : x(N);
17124
+ function T(N) {
17125
+ return Se(N) ? (e.consume(N), T) : x(N);
17126
17126
  }
17127
17127
  function w(N) {
17128
- return N === 47 ? (e.consume(N), x) : N === 58 || N === 95 || mt(N) ? (e.consume(N), T) : Se(N) ? (e.consume(N), w) : x(N);
17128
+ return N === 47 ? (e.consume(N), x) : N === 58 || N === 95 || mt(N) ? (e.consume(N), C) : Se(N) ? (e.consume(N), w) : x(N);
17129
17129
  }
17130
- function T(N) {
17131
- return N === 45 || N === 46 || N === 58 || N === 95 || ft(N) ? (e.consume(N), T) : k(N);
17130
+ function C(N) {
17131
+ return N === 45 || N === 46 || N === 58 || N === 95 || ft(N) ? (e.consume(N), C) : k(N);
17132
17132
  }
17133
17133
  function k(N) {
17134
17134
  return N === 61 ? (e.consume(N), v) : Se(N) ? (e.consume(N), k) : w(N);
17135
17135
  }
17136
17136
  function v(N) {
17137
- return N === null || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 34 || N === 39 ? (e.consume(N), A = N, C) : Se(N) ? (e.consume(N), v) : I(N);
17137
+ return N === null || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 34 || N === 39 ? (e.consume(N), A = N, E) : Se(N) ? (e.consume(N), v) : I(N);
17138
17138
  }
17139
- function C(N) {
17140
- return N === A ? (e.consume(N), A = null, B) : N === null || pe(N) ? n(N) : (e.consume(N), C);
17139
+ function E(N) {
17140
+ return N === A ? (e.consume(N), A = null, B) : N === null || pe(N) ? n(N) : (e.consume(N), E);
17141
17141
  }
17142
17142
  function I(N) {
17143
17143
  return N === null || N === 34 || N === 39 || N === 47 || N === 60 || N === 61 || N === 62 || N === 96 || He(N) ? k(N) : (e.consume(N), I);
@@ -17220,7 +17220,7 @@ function BI(e, t, n) {
17220
17220
  return S === 33 ? (e.consume(S), u) : S === 47 ? (e.consume(S), k) : S === 63 ? (e.consume(S), w) : mt(S) ? (e.consume(S), I) : n(S);
17221
17221
  }
17222
17222
  function u(S) {
17223
- return S === 45 ? (e.consume(S), l) : S === 91 ? (e.consume(S), s = 0, m) : mt(S) ? (e.consume(S), E) : n(S);
17223
+ return S === 45 ? (e.consume(S), l) : S === 91 ? (e.consume(S), s = 0, m) : mt(S) ? (e.consume(S), T) : n(S);
17224
17224
  }
17225
17225
  function l(S) {
17226
17226
  return S === 45 ? (e.consume(S), d) : n(S);
@@ -17247,23 +17247,23 @@ function BI(e, t, n) {
17247
17247
  function y(S) {
17248
17248
  return S === 62 ? V(S) : S === 93 ? (e.consume(S), y) : g(S);
17249
17249
  }
17250
- function E(S) {
17251
- return S === null || S === 62 ? V(S) : pe(S) ? (a = E, re(S)) : (e.consume(S), E);
17250
+ function T(S) {
17251
+ return S === null || S === 62 ? V(S) : pe(S) ? (a = T, re(S)) : (e.consume(S), T);
17252
17252
  }
17253
17253
  function w(S) {
17254
- return S === null ? n(S) : S === 63 ? (e.consume(S), T) : pe(S) ? (a = w, re(S)) : (e.consume(S), w);
17254
+ return S === null ? n(S) : S === 63 ? (e.consume(S), C) : pe(S) ? (a = w, re(S)) : (e.consume(S), w);
17255
17255
  }
17256
- function T(S) {
17256
+ function C(S) {
17257
17257
  return S === 62 ? V(S) : w(S);
17258
17258
  }
17259
17259
  function k(S) {
17260
17260
  return mt(S) ? (e.consume(S), v) : n(S);
17261
17261
  }
17262
17262
  function v(S) {
17263
- return S === 45 || ft(S) ? (e.consume(S), v) : C(S);
17263
+ return S === 45 || ft(S) ? (e.consume(S), v) : E(S);
17264
17264
  }
17265
- function C(S) {
17266
- return pe(S) ? (a = C, re(S)) : Se(S) ? (e.consume(S), C) : V(S);
17265
+ function E(S) {
17266
+ return pe(S) ? (a = E, re(S)) : Se(S) ? (e.consume(S), E) : V(S);
17267
17267
  }
17268
17268
  function I(S) {
17269
17269
  return S === 45 || ft(S) ? (e.consume(S), I) : S === 47 || S === 62 || He(S) ? B(S) : n(S);
@@ -17833,12 +17833,12 @@ function v7(e, t, n) {
17833
17833
  const r = {}, s = [];
17834
17834
  let a = [], o = [];
17835
17835
  const A = {
17836
- attempt: C(k),
17837
- check: C(v),
17838
- consume: E,
17836
+ attempt: E(k),
17837
+ check: E(v),
17838
+ consume: T,
17839
17839
  enter: w,
17840
- exit: T,
17841
- interrupt: C(v, {
17840
+ exit: C,
17841
+ interrupt: E(v, {
17842
17842
  interrupt: !0
17843
17843
  })
17844
17844
  }, u = {
@@ -17897,7 +17897,7 @@ function v7(e, t, n) {
17897
17897
  function y(D) {
17898
17898
  l = l(D);
17899
17899
  }
17900
- function E(D) {
17900
+ function T(D) {
17901
17901
  pe(D) ? (i.line++, i.column = 1, i.offset += D === -3 ? 2 : 1, x()) : D !== -1 && (i.column++, i.offset++), i._bufferIndex < 0 ? i._index++ : (i._bufferIndex++, i._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
17902
17902
  // strings.
17903
17903
  /** @type {string} */
@@ -17907,7 +17907,7 @@ function v7(e, t, n) {
17907
17907
  const _ = P || {};
17908
17908
  return _.type = D, _.start = m(), u.events.push(["enter", _, u]), o.push(_), _;
17909
17909
  }
17910
- function T(D) {
17910
+ function C(D) {
17911
17911
  const P = o.pop();
17912
17912
  return P.end = m(), u.events.push(["exit", P, u]), P;
17913
17913
  }
@@ -17917,7 +17917,7 @@ function v7(e, t, n) {
17917
17917
  function v(D, P) {
17918
17918
  P.restore();
17919
17919
  }
17920
- function C(D, P) {
17920
+ function E(D, P) {
17921
17921
  return _;
17922
17922
  function _(Q, H, V) {
17923
17923
  let re, he, oe, S;
@@ -18188,8 +18188,8 @@ function N7(e) {
18188
18188
  codeTextData: x,
18189
18189
  data: x,
18190
18190
  definition: A(),
18191
- definitionDestinationString: T,
18192
- definitionLabelString: E,
18191
+ definitionDestinationString: C,
18192
+ definitionLabelString: T,
18193
18193
  definitionTitleString: w,
18194
18194
  emphasis: A(),
18195
18195
  hardBreakEscape: A(P),
@@ -18212,7 +18212,7 @@ function N7(e) {
18212
18212
  resourceTitleString: U,
18213
18213
  resource: Y,
18214
18214
  setextHeading: A(I),
18215
- setextHeadingLineSequence: C,
18215
+ setextHeadingLineSequence: E,
18216
18216
  setextHeadingText: v,
18217
18217
  strong: A(),
18218
18218
  thematicBreak: A()
@@ -18386,7 +18386,7 @@ function N7(e) {
18386
18386
  const q = this.resume(), se = this.stack[this.stack.length - 1];
18387
18387
  se.value = q.replace(/(\r?\n|\r)$/g, "");
18388
18388
  }
18389
- function E(q) {
18389
+ function T(q) {
18390
18390
  const se = this.resume(), be = this.stack[this.stack.length - 1];
18391
18391
  be.label = se, be.identifier = qt(this.sliceSerialize(q)).toLowerCase();
18392
18392
  }
@@ -18394,7 +18394,7 @@ function N7(e) {
18394
18394
  const q = this.resume(), se = this.stack[this.stack.length - 1];
18395
18395
  se.title = q;
18396
18396
  }
18397
- function T() {
18397
+ function C() {
18398
18398
  const q = this.resume(), se = this.stack[this.stack.length - 1];
18399
18399
  se.url = q;
18400
18400
  }
@@ -18408,7 +18408,7 @@ function N7(e) {
18408
18408
  function v() {
18409
18409
  this.data.setextHeadingSlurpLineEnding = !0;
18410
18410
  }
18411
- function C(q) {
18411
+ function E(q) {
18412
18412
  const se = this.stack[this.stack.length - 1];
18413
18413
  se.depth = this.sliceSerialize(q).codePointAt(0) === 61 ? 1 : 2;
18414
18414
  }
@@ -19239,8 +19239,8 @@ function uN(e) {
19239
19239
  const m = [], g = e.footnoteCounts.get(f);
19240
19240
  for (; g !== void 0 && ++d <= g; ) {
19241
19241
  m.length > 0 && m.push({ type: "text", value: " " });
19242
- let E = typeof n == "string" ? n : n(A, d);
19243
- typeof E == "string" && (E = { type: "text", value: E }), m.push({
19242
+ let T = typeof n == "string" ? n : n(A, d);
19243
+ typeof T == "string" && (T = { type: "text", value: T }), m.push({
19244
19244
  type: "element",
19245
19245
  tagName: "a",
19246
19246
  properties: {
@@ -19249,13 +19249,13 @@ function uN(e) {
19249
19249
  ariaLabel: typeof i == "string" ? i : i(A, d),
19250
19250
  className: ["data-footnote-backref"]
19251
19251
  },
19252
- children: Array.isArray(E) ? E : [E]
19252
+ children: Array.isArray(T) ? T : [T]
19253
19253
  });
19254
19254
  }
19255
19255
  const b = l[l.length - 1];
19256
19256
  if (b && b.type === "element" && b.tagName === "p") {
19257
- const E = b.children[b.children.length - 1];
19258
- E && E.type === "text" ? E.value += " " : b.children.push({ type: "text", value: " " }), b.children.push(...m);
19257
+ const T = b.children[b.children.length - 1];
19258
+ T && T.type === "text" ? T.value += " " : b.children.push({ type: "text", value: " " }), b.children.push(...m);
19259
19259
  } else
19260
19260
  l.push(...m);
19261
19261
  const y = {
@@ -19417,8 +19417,8 @@ function sb(e, t, n, i) {
19417
19417
  );
19418
19418
  if (y.children && d[0] !== pN)
19419
19419
  for (g = (i ? y.children.length : -1) + a, b = l.concat(y); g > -1 && g < y.children.length; ) {
19420
- const E = y.children[g];
19421
- if (m = o(E, g, b)(), m[0] === Pf)
19420
+ const T = y.children[g];
19421
+ if (m = o(T, g, b)(), m[0] === Pf)
19422
19422
  return m;
19423
19423
  g = typeof m[1] == "number" ? m[1] : g + a;
19424
19424
  }
@@ -19589,11 +19589,11 @@ function xN() {
19589
19589
  return u[l];
19590
19590
  };
19591
19591
  return ul = function A() {
19592
- var u, l, f, c, d, m, g = arguments[0], b = 1, y = arguments.length, E = !1;
19593
- for (typeof g == "boolean" && (E = g, g = arguments[1] || {}, b = 2), (g == null || typeof g != "object" && typeof g != "function") && (g = {}); b < y; ++b)
19592
+ var u, l, f, c, d, m, g = arguments[0], b = 1, y = arguments.length, T = !1;
19593
+ for (typeof g == "boolean" && (T = g, g = arguments[1] || {}, b = 2), (g == null || typeof g != "object" && typeof g != "function") && (g = {}); b < y; ++b)
19594
19594
  if (u = arguments[b], u != null)
19595
19595
  for (l in u)
19596
- f = o(g, l), c = o(u, l), g !== c && (E && c && (s(c) || (d = r(c))) ? (d ? (d = !1, m = f && r(f) ? f : []) : m = f && s(f) ? f : {}, a(g, { name: l, newValue: A(E, m, c) })) : typeof c < "u" && a(g, { name: l, newValue: c }));
19596
+ f = o(g, l), c = o(u, l), g !== c && (T && c && (s(c) || (d = r(c))) ? (d ? (d = !1, m = f && r(f) ? f : []) : m = f && s(f) ? f : {}, a(g, { name: l, newValue: A(T, m, c) })) : typeof c < "u" && a(g, { name: l, newValue: c }));
19597
19597
  return g;
19598
19598
  }, ul;
19599
19599
  }
@@ -20876,24 +20876,24 @@ function tS(e, t, n) {
20876
20876
  const f = l[l.length - 1], c = s[a][0], d = s[a][1];
20877
20877
  let m = 0;
20878
20878
  const b = f.children.indexOf(u);
20879
- let y = !1, E = [];
20879
+ let y = !1, T = [];
20880
20880
  c.lastIndex = 0;
20881
20881
  let w = c.exec(u.value);
20882
20882
  for (; w; ) {
20883
- const T = w.index, k = {
20883
+ const C = w.index, k = {
20884
20884
  index: w.index,
20885
20885
  input: w.input,
20886
20886
  stack: [...l, u]
20887
20887
  };
20888
20888
  let v = d(...w, k);
20889
- if (typeof v == "string" && (v = v.length > 0 ? { type: "text", value: v } : void 0), v === !1 ? c.lastIndex = T + 1 : (m !== T && E.push({
20889
+ if (typeof v == "string" && (v = v.length > 0 ? { type: "text", value: v } : void 0), v === !1 ? c.lastIndex = C + 1 : (m !== C && T.push({
20890
20890
  type: "text",
20891
- value: u.value.slice(m, T)
20892
- }), Array.isArray(v) ? E.push(...v) : v && E.push(v), m = T + w[0].length, y = !0), !c.global)
20891
+ value: u.value.slice(m, C)
20892
+ }), Array.isArray(v) ? T.push(...v) : v && T.push(v), m = C + w[0].length, y = !0), !c.global)
20893
20893
  break;
20894
20894
  w = c.exec(u.value);
20895
20895
  }
20896
- return y ? (m < u.value.length && E.push({ type: "text", value: u.value.slice(m) }), f.children.splice(b, 1, ...E)) : E = [u], b + E.length;
20896
+ return y ? (m < u.value.length && T.push({ type: "text", value: u.value.slice(m) }), f.children.splice(b, 1, ...T)) : T = [u], b + T.length;
20897
20897
  }
20898
20898
  }
20899
20899
  function nS(e) {
@@ -21183,12 +21183,12 @@ function OS(e, t) {
21183
21183
  const g = [], b = [];
21184
21184
  let y = -1;
21185
21185
  for (e[l].length > u && (u = e[l].length); ++y < e[l].length; ) {
21186
- const E = LS(e[l][y]);
21186
+ const T = LS(e[l][y]);
21187
21187
  if (n.alignDelimiters !== !1) {
21188
- const w = r(E);
21188
+ const w = r(T);
21189
21189
  b[y] = w, (A[y] === void 0 || w > A[y]) && (A[y] = w);
21190
21190
  }
21191
- g.push(E);
21191
+ g.push(T);
21192
21192
  }
21193
21193
  a[l] = g, o[l] = b;
21194
21194
  }
@@ -21207,12 +21207,12 @@ function OS(e, t) {
21207
21207
  const g = s[f];
21208
21208
  let b = "", y = "";
21209
21209
  g === 99 ? (b = ":", y = ":") : g === 108 ? b = ":" : g === 114 && (y = ":");
21210
- let E = n.alignDelimiters === !1 ? 1 : Math.max(
21210
+ let T = n.alignDelimiters === !1 ? 1 : Math.max(
21211
21211
  1,
21212
21212
  A[f] - b.length - y.length
21213
21213
  );
21214
- const w = b + "-".repeat(E) + y;
21215
- n.alignDelimiters !== !1 && (E = b.length + E + y.length, E > A[f] && (A[f] = E), d[f] = E), c[f] = w;
21214
+ const w = b + "-".repeat(T) + y;
21215
+ n.alignDelimiters !== !1 && (T = b.length + T + y.length, T > A[f] && (A[f] = T), d[f] = T), c[f] = w;
21216
21216
  }
21217
21217
  a.splice(1, 0, c), o.splice(1, 0, d), l = -1;
21218
21218
  const m = [];
@@ -21221,15 +21221,15 @@ function OS(e, t) {
21221
21221
  f = -1;
21222
21222
  const y = [];
21223
21223
  for (; ++f < u; ) {
21224
- const E = g[f] || "";
21225
- let w = "", T = "";
21224
+ const T = g[f] || "";
21225
+ let w = "", C = "";
21226
21226
  if (n.alignDelimiters !== !1) {
21227
21227
  const k = A[f] - (b[f] || 0), v = s[f];
21228
- v === 114 ? w = " ".repeat(k) : v === 99 ? k % 2 ? (w = " ".repeat(k / 2 + 0.5), T = " ".repeat(k / 2 - 0.5)) : (w = " ".repeat(k / 2), T = w) : T = " ".repeat(k);
21228
+ v === 114 ? w = " ".repeat(k) : v === 99 ? k % 2 ? (w = " ".repeat(k / 2 + 0.5), C = " ".repeat(k / 2 - 0.5)) : (w = " ".repeat(k / 2), C = w) : C = " ".repeat(k);
21229
21229
  }
21230
21230
  n.delimiterStart !== !1 && !f && y.push("|"), n.padding !== !1 && // Don’t add the opening space if we’re not aligning and the cell is
21231
21231
  // empty: there will be a closing space.
21232
- !(n.alignDelimiters === !1 && E === "") && (n.delimiterStart !== !1 || f) && y.push(" "), n.alignDelimiters !== !1 && y.push(w), y.push(E), n.alignDelimiters !== !1 && y.push(T), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || f !== u - 1) && y.push("|");
21232
+ !(n.alignDelimiters === !1 && T === "") && (n.delimiterStart !== !1 || f) && y.push(" "), n.alignDelimiters !== !1 && y.push(w), y.push(T), n.alignDelimiters !== !1 && y.push(C), n.padding !== !1 && y.push(" "), (n.delimiterEnd !== !1 || f !== u - 1) && y.push("|");
21233
21233
  }
21234
21234
  m.push(
21235
21235
  n.delimiterEnd === !1 ? y.join("").replace(/ +$/, "") : y.join("")
@@ -21940,17 +21940,17 @@ function kD(e) {
21940
21940
  return u(l(d, g, b), d.align);
21941
21941
  }
21942
21942
  function o(d, m, g, b) {
21943
- const y = f(d, g, b), E = u([y]);
21944
- return E.slice(0, E.indexOf(`
21943
+ const y = f(d, g, b), T = u([y]);
21944
+ return T.slice(0, T.indexOf(`
21945
21945
  `));
21946
21946
  }
21947
21947
  function A(d, m, g, b) {
21948
- const y = g.enter("tableCell"), E = g.enter("phrasing"), w = g.containerPhrasing(d, {
21948
+ const y = g.enter("tableCell"), T = g.enter("phrasing"), w = g.containerPhrasing(d, {
21949
21949
  ...b,
21950
21950
  before: s,
21951
21951
  after: s
21952
21952
  });
21953
- return E(), y(), w;
21953
+ return T(), y(), w;
21954
21954
  }
21955
21955
  function u(d, m) {
21956
21956
  return OS(d, {
@@ -21966,18 +21966,18 @@ function kD(e) {
21966
21966
  function l(d, m, g) {
21967
21967
  const b = d.children;
21968
21968
  let y = -1;
21969
- const E = [], w = m.enter("table");
21969
+ const T = [], w = m.enter("table");
21970
21970
  for (; ++y < b.length; )
21971
- E[y] = f(b[y], m, g);
21972
- return w(), E;
21971
+ T[y] = f(b[y], m, g);
21972
+ return w(), T;
21973
21973
  }
21974
21974
  function f(d, m, g) {
21975
21975
  const b = d.children;
21976
21976
  let y = -1;
21977
- const E = [], w = m.enter("tableRow");
21977
+ const T = [], w = m.enter("tableRow");
21978
21978
  for (; ++y < b.length; )
21979
- E[y] = A(b[y], d, m, g);
21980
- return w(), E;
21979
+ T[y] = A(b[y], d, m, g);
21980
+ return w(), T;
21981
21981
  }
21982
21982
  function c(d, m, g) {
21983
21983
  let b = kb.inlineCode(d, m, g);
@@ -22630,31 +22630,31 @@ function eB(e, t, n) {
22630
22630
  return Se(x) ? Re(e, b, "whitespace")(x) : b(x);
22631
22631
  }
22632
22632
  function b(x) {
22633
- return x === 58 ? (s += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), y) : x === 45 ? (s += 1, y(x)) : x === null || pe(x) ? T(x) : k(x);
22633
+ return x === 58 ? (s += 1, a = !0, e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), y) : x === 45 ? (s += 1, y(x)) : x === null || pe(x) ? C(x) : k(x);
22634
22634
  }
22635
22635
  function y(x) {
22636
- return x === 45 ? (e.enter("tableDelimiterFiller"), E(x)) : k(x);
22636
+ return x === 45 ? (e.enter("tableDelimiterFiller"), T(x)) : k(x);
22637
22637
  }
22638
- function E(x) {
22639
- return x === 45 ? (e.consume(x), E) : x === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(x));
22638
+ function T(x) {
22639
+ return x === 45 ? (e.consume(x), T) : x === 58 ? (a = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(x), e.exit("tableDelimiterMarker"), w) : (e.exit("tableDelimiterFiller"), w(x));
22640
22640
  }
22641
22641
  function w(x) {
22642
- return Se(x) ? Re(e, T, "whitespace")(x) : T(x);
22642
+ return Se(x) ? Re(e, C, "whitespace")(x) : C(x);
22643
22643
  }
22644
- function T(x) {
22644
+ function C(x) {
22645
22645
  return x === 124 ? m(x) : x === null || pe(x) ? !a || r !== s ? k(x) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(x)) : k(x);
22646
22646
  }
22647
22647
  function k(x) {
22648
22648
  return n(x);
22649
22649
  }
22650
22650
  function v(x) {
22651
- return e.enter("tableRow"), C(x);
22651
+ return e.enter("tableRow"), E(x);
22652
22652
  }
22653
- function C(x) {
22654
- return x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), C) : x === null || pe(x) ? (e.exit("tableRow"), t(x)) : Se(x) ? Re(e, C, "whitespace")(x) : (e.enter("data"), I(x));
22653
+ function E(x) {
22654
+ return x === 124 ? (e.enter("tableCellDivider"), e.consume(x), e.exit("tableCellDivider"), E) : x === null || pe(x) ? (e.exit("tableRow"), t(x)) : Se(x) ? Re(e, E, "whitespace")(x) : (e.enter("data"), I(x));
22655
22655
  }
22656
22656
  function I(x) {
22657
- return x === null || x === 124 || He(x) ? (e.exit("data"), C(x)) : (e.consume(x), x === 92 ? B : I);
22657
+ return x === null || x === 124 || He(x) ? (e.exit("data"), E(x)) : (e.consume(x), x === 92 ? B : I);
22658
22658
  }
22659
22659
  function B(x) {
22660
22660
  return x === 92 || x === 124 ? (e.consume(x), I) : I(x);
@@ -30376,7 +30376,7 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30376
30376
  onSendMedia: m,
30377
30377
  placeholderText: g
30378
30378
  }) => {
30379
- const [b, y] = ae(""), [E, w] = ae(!1), [T, k] = ae(40), [v, C] = ae(!1), [I, B] = ae([]), x = Ne(null), D = Ne(null), P = ce(() => {
30379
+ const [b, y] = ae(""), [T, w] = ae(!1), [C, k] = ae(40), [v, E] = ae(!1), [I, B] = ae([]), x = Ne(null), D = Ne(null), P = ce(() => {
30380
30380
  x.current && x.current.click();
30381
30381
  }, []), _ = ce(
30382
30382
  (ie) => {
@@ -30395,9 +30395,9 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30395
30395
  },
30396
30396
  []
30397
30397
  ), Q = () => {
30398
- C(!0), n?.();
30398
+ E(!0), n?.();
30399
30399
  }, H = () => {
30400
- C(!1), i?.();
30400
+ E(!1), i?.();
30401
30401
  }, V = ce((ie) => {
30402
30402
  B((Ae) => Ae.filter((me) => me !== ie));
30403
30403
  }, []), re = ce(
@@ -30493,7 +30493,7 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30493
30493
  ), [I, de, V]);
30494
30494
  return /* @__PURE__ */ F(TT, { children: [
30495
30495
  /* @__PURE__ */ F(IT, { children: [
30496
- !E && /* @__PURE__ */ F(We, { children: [
30496
+ !T && /* @__PURE__ */ F(We, { children: [
30497
30497
  !r?.disableMedia && /* @__PURE__ */ p(
30498
30498
  ke,
30499
30499
  {
@@ -30505,7 +30505,7 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30505
30505
  u ? /* @__PURE__ */ p(
30506
30506
  PT,
30507
30507
  {
30508
- dynamicHeight: T,
30508
+ dynamicHeight: C,
30509
30509
  color: r?.colors?.primary,
30510
30510
  isFocused: v,
30511
30511
  children: /* @__PURE__ */ p(
@@ -30519,7 +30519,7 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30519
30519
  onFocus: Q,
30520
30520
  onBlur: H,
30521
30521
  disabled: a || o,
30522
- dynamicHeight: T,
30522
+ dynamicHeight: C,
30523
30523
  color: r?.colors?.primary
30524
30524
  }
30525
30525
  )
@@ -30584,7 +30584,7 @@ const wy = ({ text: e }) => e ? /* @__PURE__ */ p(
30584
30584
  jT,
30585
30585
  {
30586
30586
  setIsRecording: w,
30587
- isRecording: E,
30587
+ isRecording: T,
30588
30588
  handleSendClick: Y
30589
30589
  }
30590
30590
  )
@@ -31337,21 +31337,21 @@ function AP(e, t) {
31337
31337
  c.setAttribute("id", d), c.innerText = "Learn more", c.href = "https://firebase.google.com/docs/studio/preview-apps#preview-backend", c.setAttribute("target", "__blank"), c.style.paddingLeft = "5px", c.style.textDecoration = "underline";
31338
31338
  }
31339
31339
  function f() {
31340
- const c = oP(i), d = n("text"), m = document.getElementById(d) || document.createElement("span"), g = n("learnmore"), b = document.getElementById(g) || document.createElement("a"), y = n("preprendIcon"), E = document.getElementById(y) || document.createElementNS("http://www.w3.org/2000/svg", "svg");
31340
+ const c = oP(i), d = n("text"), m = document.getElementById(d) || document.createElement("span"), g = n("learnmore"), b = document.getElementById(g) || document.createElement("a"), y = n("preprendIcon"), T = document.getElementById(y) || document.createElementNS("http://www.w3.org/2000/svg", "svg");
31341
31341
  if (c.created) {
31342
31342
  const w = c.element;
31343
31343
  o(w), l(b, g);
31344
- const T = u();
31345
- A(E, y), w.append(E, m, b, T), document.body.appendChild(w);
31344
+ const C = u();
31345
+ A(T, y), w.append(T, m, b, C), document.body.appendChild(w);
31346
31346
  }
31347
- s ? (m.innerText = "Preview backend disconnected.", E.innerHTML = `<g clip-path="url(#clip0_6013_33858)">
31347
+ s ? (m.innerText = "Preview backend disconnected.", T.innerHTML = `<g clip-path="url(#clip0_6013_33858)">
31348
31348
  <path d="M4.8 17.6L12 5.6L19.2 17.6H4.8ZM6.91667 16.4H17.0833L12 7.93333L6.91667 16.4ZM12 15.6C12.1667 15.6 12.3056 15.5444 12.4167 15.4333C12.5389 15.3111 12.6 15.1667 12.6 15C12.6 14.8333 12.5389 14.6944 12.4167 14.5833C12.3056 14.4611 12.1667 14.4 12 14.4C11.8333 14.4 11.6889 14.4611 11.5667 14.5833C11.4556 14.6944 11.4 14.8333 11.4 15C11.4 15.1667 11.4556 15.3111 11.5667 15.4333C11.6889 15.5444 11.8333 15.6 12 15.6ZM11.4 13.6H12.6V10.4H11.4V13.6Z" fill="#212121"/>
31349
31349
  </g>
31350
31350
  <defs>
31351
31351
  <clipPath id="clip0_6013_33858">
31352
31352
  <rect width="24" height="24" fill="white"/>
31353
31353
  </clipPath>
31354
- </defs>`) : (E.innerHTML = `<g clip-path="url(#clip0_6083_34804)">
31354
+ </defs>`) : (T.innerHTML = `<g clip-path="url(#clip0_6083_34804)">
31355
31355
  <path d="M11.4 15.2H12.6V11.2H11.4V15.2ZM12 10C12.1667 10 12.3056 9.94444 12.4167 9.83333C12.5389 9.71111 12.6 9.56667 12.6 9.4C12.6 9.23333 12.5389 9.09444 12.4167 8.98333C12.3056 8.86111 12.1667 8.8 12 8.8C11.8333 8.8 11.6889 8.86111 11.5667 8.98333C11.4556 9.09444 11.4 9.23333 11.4 9.4C11.4 9.56667 11.4556 9.71111 11.5667 9.83333C11.6889 9.94444 11.8333 10 12 10ZM12 18.4C11.1222 18.4 10.2944 18.2333 9.51667 17.9C8.73889 17.5667 8.05556 17.1111 7.46667 16.5333C6.88889 15.9444 6.43333 15.2611 6.1 14.4833C5.76667 13.7056 5.6 12.8778 5.6 12C5.6 11.1111 5.76667 10.2833 6.1 9.51667C6.43333 8.73889 6.88889 8.06111 7.46667 7.48333C8.05556 6.89444 8.73889 6.43333 9.51667 6.1C10.2944 5.76667 11.1222 5.6 12 5.6C12.8889 5.6 13.7167 5.76667 14.4833 6.1C15.2611 6.43333 15.9389 6.89444 16.5167 7.48333C17.1056 8.06111 17.5667 8.73889 17.9 9.51667C18.2333 10.2833 18.4 11.1111 18.4 12C18.4 12.8778 18.2333 13.7056 17.9 14.4833C17.5667 15.2611 17.1056 15.9444 16.5167 16.5333C15.9389 17.1111 15.2611 17.5667 14.4833 17.9C13.7167 18.2333 12.8889 18.4 12 18.4ZM12 17.2C13.4444 17.2 14.6722 16.6944 15.6833 15.6833C16.6944 14.6722 17.2 13.4444 17.2 12C17.2 10.5556 16.6944 9.32778 15.6833 8.31667C14.6722 7.30555 13.4444 6.8 12 6.8C10.5556 6.8 9.32778 7.30555 8.31667 8.31667C7.30556 9.32778 6.8 10.5556 6.8 12C6.8 13.4444 7.30556 14.6722 8.31667 15.6833C9.32778 16.6944 10.5556 17.2 12 17.2Z" fill="#212121"/>
31356
31356
  </g>
31357
31357
  <defs>
@@ -33668,21 +33668,21 @@ class Yt {
33668
33668
  }
33669
33669
  static _fromJSON(t, n) {
33670
33670
  var i, r, s, a, o, A, u, l;
33671
- const f = (i = n.displayName) !== null && i !== void 0 ? i : void 0, c = (r = n.email) !== null && r !== void 0 ? r : void 0, d = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, m = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, g = (o = n.tenantId) !== null && o !== void 0 ? o : void 0, b = (A = n._redirectEventId) !== null && A !== void 0 ? A : void 0, y = (u = n.createdAt) !== null && u !== void 0 ? u : void 0, E = (l = n.lastLoginAt) !== null && l !== void 0 ? l : void 0, { uid: w, emailVerified: T, isAnonymous: k, providerData: v, stsTokenManager: C } = n;
33671
+ const f = (i = n.displayName) !== null && i !== void 0 ? i : void 0, c = (r = n.email) !== null && r !== void 0 ? r : void 0, d = (s = n.phoneNumber) !== null && s !== void 0 ? s : void 0, m = (a = n.photoURL) !== null && a !== void 0 ? a : void 0, g = (o = n.tenantId) !== null && o !== void 0 ? o : void 0, b = (A = n._redirectEventId) !== null && A !== void 0 ? A : void 0, y = (u = n.createdAt) !== null && u !== void 0 ? u : void 0, T = (l = n.lastLoginAt) !== null && l !== void 0 ? l : void 0, { uid: w, emailVerified: C, isAnonymous: k, providerData: v, stsTokenManager: E } = n;
33672
33672
  ve(
33673
- w && C,
33673
+ w && E,
33674
33674
  t,
33675
33675
  "internal-error"
33676
33676
  /* AuthErrorCode.INTERNAL_ERROR */
33677
33677
  );
33678
- const I = Vi.fromJSON(this.name, C);
33678
+ const I = Vi.fromJSON(this.name, E);
33679
33679
  ve(
33680
33680
  typeof w == "string",
33681
33681
  t,
33682
33682
  "internal-error"
33683
33683
  /* AuthErrorCode.INTERNAL_ERROR */
33684
33684
  ), _n(f, t.name), _n(c, t.name), ve(
33685
- typeof T == "boolean",
33685
+ typeof C == "boolean",
33686
33686
  t,
33687
33687
  "internal-error"
33688
33688
  /* AuthErrorCode.INTERNAL_ERROR */
@@ -33691,12 +33691,12 @@ class Yt {
33691
33691
  t,
33692
33692
  "internal-error"
33693
33693
  /* AuthErrorCode.INTERNAL_ERROR */
33694
- ), _n(d, t.name), _n(m, t.name), _n(g, t.name), _n(b, t.name), _n(y, t.name), _n(E, t.name);
33694
+ ), _n(d, t.name), _n(m, t.name), _n(g, t.name), _n(b, t.name), _n(y, t.name), _n(T, t.name);
33695
33695
  const B = new Yt({
33696
33696
  uid: w,
33697
33697
  auth: t,
33698
33698
  email: c,
33699
- emailVerified: T,
33699
+ emailVerified: C,
33700
33700
  displayName: f,
33701
33701
  isAnonymous: k,
33702
33702
  photoURL: m,
@@ -33704,7 +33704,7 @@ class Yt {
33704
33704
  tenantId: g,
33705
33705
  stsTokenManager: I,
33706
33706
  createdAt: y,
33707
- lastLoginAt: E
33707
+ lastLoginAt: T
33708
33708
  });
33709
33709
  return v && Array.isArray(v) && (B.providerData = v.map((x) => Object.assign({}, x))), b && (B._redirectEventId = b), B;
33710
33710
  }
@@ -37236,8 +37236,8 @@ const Ni = ({
37236
37236
  }) => {
37237
37237
  const { backgroundColor: u } = gw(e), l = (m) => {
37238
37238
  if (!m) return "";
37239
- const b = m.normalize("NFD").replace(/[\u0300-\u036f]/g, "").trim().split(/\s+/), y = (T) => T && /^[\p{L}\p{N}\p{P}]/u.test(T[0]) ? T[0].toUpperCase() : "", E = y(b[0] || ""), w = y(b[1] || "");
37240
- return E + w;
37239
+ const b = m.normalize("NFD").replace(/[\u0300-\u036f]/g, "").trim().split(/\s+/), y = (C) => C && /^[\p{L}\p{N}\p{P}]/u.test(C[0]) ? C[0].toUpperCase() : "", T = y(b[0] || ""), w = y(b[1] || "");
37240
+ return T + w;
37241
37241
  }, f = () => !t && e ? l(e) : "", c = (m) => {
37242
37242
  const g = m.target.files?.[0];
37243
37243
  g && i?.onUpload && i.onUpload(g);
@@ -37602,15 +37602,15 @@ const bw = ({
37602
37602
  const [r, s] = ae(!1), [a, o] = ae(!1), [A, u] = ae("0"), [l, f] = ae(""), [c, d] = ae(""), [m, g] = ae({
37603
37603
  name: "Public",
37604
37604
  id: "public"
37605
- }), [b, y] = ae(null), [E, w] = ae({ name: "", description: "" }), [T, k] = ae([]), v = Ve(
37605
+ }), [b, y] = ae(null), [T, w] = ae({ name: "", description: "" }), [C, k] = ae([]), v = Ve(
37606
37606
  // () => roomName.length >= 3 && roomDescription.length >= 5,
37607
37607
  () => l.length >= 3,
37608
37608
  [l, c]
37609
- ), C = (H) => H.trim().length < 3 ? "Room name must be at least 3 characters." : "", I = (H) => {
37609
+ ), E = (H) => H.trim().length < 3 ? "Room name must be at least 3 characters." : "", I = (H) => {
37610
37610
  const V = H.target.value;
37611
37611
  f(V), w((re) => ({
37612
37612
  ...re,
37613
- name: C(V)
37613
+ name: E(V)
37614
37614
  }));
37615
37615
  }, B = () => s(!0), x = () => {
37616
37616
  u("0"), s(!1), f(""), k([]);
@@ -37646,7 +37646,7 @@ const bw = ({
37646
37646
  H.append("files", b);
37647
37647
  const re = (await Sd(H))?.data?.results?.[0]?.location;
37648
37648
  if (e?.newArch) {
37649
- const he = T.map((S) => S.xmppUsername), oe = await s9({
37649
+ const he = C.map((S) => S.xmppUsername), oe = await s9({
37650
37650
  title: l,
37651
37651
  description: c && c !== "" ? c : "No description",
37652
37652
  picture: re || "",
@@ -37721,8 +37721,8 @@ const bw = ({
37721
37721
  value: l,
37722
37722
  onChange: I,
37723
37723
  placeholder: "Enter Room Name",
37724
- helperText: E.name,
37725
- error: !!E.name
37724
+ helperText: T.name,
37725
+ error: !!T.name
37726
37726
  }
37727
37727
  ),
37728
37728
  /* @__PURE__ */ p(
@@ -37788,7 +37788,7 @@ const bw = ({
37788
37788
  children: /* @__PURE__ */ p(
37789
37789
  bw,
37790
37790
  {
37791
- selectedUsers: T,
37791
+ selectedUsers: C,
37792
37792
  setSelectedUsers: k,
37793
37793
  style: {
37794
37794
  minWidth: "100%",
@@ -37935,7 +37935,7 @@ var ap;
37935
37935
  function hQ() {
37936
37936
  if (ap) return Me;
37937
37937
  ap = 1;
37938
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
37938
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
37939
37939
  function w(k) {
37940
37940
  if (typeof k == "object" && k !== null) {
37941
37941
  var v = k.$$typeof;
@@ -37966,12 +37966,12 @@ function hQ() {
37966
37966
  }
37967
37967
  }
37968
37968
  }
37969
- function T(k) {
37969
+ function C(k) {
37970
37970
  return w(k) === u;
37971
37971
  }
37972
37972
  return Me.AsyncMode = A, Me.ConcurrentMode = u, Me.ContextConsumer = o, Me.ContextProvider = a, Me.Element = t, Me.ForwardRef = l, Me.Fragment = i, Me.Lazy = m, Me.Memo = d, Me.Portal = n, Me.Profiler = s, Me.StrictMode = r, Me.Suspense = f, Me.isAsyncMode = function(k) {
37973
- return T(k) || w(k) === A;
37974
- }, Me.isConcurrentMode = T, Me.isContextConsumer = function(k) {
37973
+ return C(k) || w(k) === A;
37974
+ }, Me.isConcurrentMode = C, Me.isContextConsumer = function(k) {
37975
37975
  return w(k) === o;
37976
37976
  }, Me.isContextProvider = function(k) {
37977
37977
  return w(k) === a;
@@ -37994,7 +37994,7 @@ function hQ() {
37994
37994
  }, Me.isSuspense = function(k) {
37995
37995
  return w(k) === f;
37996
37996
  }, Me.isValidElementType = function(k) {
37997
- return typeof k == "string" || typeof k == "function" || k === i || k === u || k === s || k === r || k === f || k === c || typeof k == "object" && k !== null && (k.$$typeof === m || k.$$typeof === d || k.$$typeof === a || k.$$typeof === o || k.$$typeof === l || k.$$typeof === b || k.$$typeof === y || k.$$typeof === E || k.$$typeof === g);
37997
+ return typeof k == "string" || typeof k == "function" || k === i || k === u || k === s || k === r || k === f || k === c || typeof k == "object" && k !== null && (k.$$typeof === m || k.$$typeof === d || k.$$typeof === a || k.$$typeof === o || k.$$typeof === l || k.$$typeof === b || k.$$typeof === y || k.$$typeof === T || k.$$typeof === g);
37998
37998
  }, Me.typeOf = w, Me;
37999
37999
  }
38000
38000
  var Pe = {};
@@ -38009,12 +38009,12 @@ var Pe = {};
38009
38009
  var op;
38010
38010
  function mQ() {
38011
38011
  return op || (op = 1, process.env.NODE_ENV !== "production" && function() {
38012
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
38012
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, s = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, o = e ? Symbol.for("react.context") : 60110, A = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, f = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, T = e ? Symbol.for("react.scope") : 60119;
38013
38013
  function w(K) {
38014
38014
  return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
38015
- K === i || K === u || K === s || K === r || K === f || K === c || typeof K == "object" && K !== null && (K.$$typeof === m || K.$$typeof === d || K.$$typeof === a || K.$$typeof === o || K.$$typeof === l || K.$$typeof === b || K.$$typeof === y || K.$$typeof === E || K.$$typeof === g);
38015
+ K === i || K === u || K === s || K === r || K === f || K === c || typeof K == "object" && K !== null && (K.$$typeof === m || K.$$typeof === d || K.$$typeof === a || K.$$typeof === o || K.$$typeof === l || K.$$typeof === b || K.$$typeof === y || K.$$typeof === T || K.$$typeof === g);
38016
38016
  }
38017
- function T(K) {
38017
+ function C(K) {
38018
38018
  if (typeof K == "object" && K !== null) {
38019
38019
  var _e = K.$$typeof;
38020
38020
  switch (_e) {
@@ -38046,47 +38046,47 @@ function mQ() {
38046
38046
  }
38047
38047
  }
38048
38048
  }
38049
- var k = A, v = u, C = o, I = a, B = t, x = l, D = i, P = m, _ = d, Q = n, H = s, V = r, re = f, he = !1;
38049
+ var k = A, v = u, E = o, I = a, B = t, x = l, D = i, P = m, _ = d, Q = n, H = s, V = r, re = f, he = !1;
38050
38050
  function oe(K) {
38051
- return he || (he = !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.")), S(K) || T(K) === A;
38051
+ return he || (he = !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.")), S(K) || C(K) === A;
38052
38052
  }
38053
38053
  function S(K) {
38054
- return T(K) === u;
38054
+ return C(K) === u;
38055
38055
  }
38056
38056
  function U(K) {
38057
- return T(K) === o;
38057
+ return C(K) === o;
38058
38058
  }
38059
38059
  function Y(K) {
38060
- return T(K) === a;
38060
+ return C(K) === a;
38061
38061
  }
38062
38062
  function N(K) {
38063
38063
  return typeof K == "object" && K !== null && K.$$typeof === t;
38064
38064
  }
38065
38065
  function W(K) {
38066
- return T(K) === l;
38066
+ return C(K) === l;
38067
38067
  }
38068
38068
  function de(K) {
38069
- return T(K) === i;
38069
+ return C(K) === i;
38070
38070
  }
38071
38071
  function le(K) {
38072
- return T(K) === m;
38072
+ return C(K) === m;
38073
38073
  }
38074
38074
  function ie(K) {
38075
- return T(K) === d;
38075
+ return C(K) === d;
38076
38076
  }
38077
38077
  function Ae(K) {
38078
- return T(K) === n;
38078
+ return C(K) === n;
38079
38079
  }
38080
38080
  function me(K) {
38081
- return T(K) === s;
38081
+ return C(K) === s;
38082
38082
  }
38083
38083
  function J(K) {
38084
- return T(K) === r;
38084
+ return C(K) === r;
38085
38085
  }
38086
38086
  function fe(K) {
38087
- return T(K) === f;
38087
+ return C(K) === f;
38088
38088
  }
38089
- Pe.AsyncMode = k, Pe.ConcurrentMode = v, Pe.ContextConsumer = C, Pe.ContextProvider = I, Pe.Element = B, Pe.ForwardRef = x, Pe.Fragment = D, Pe.Lazy = P, Pe.Memo = _, Pe.Portal = Q, Pe.Profiler = H, Pe.StrictMode = V, Pe.Suspense = re, Pe.isAsyncMode = oe, Pe.isConcurrentMode = S, Pe.isContextConsumer = U, Pe.isContextProvider = Y, Pe.isElement = N, Pe.isForwardRef = W, Pe.isFragment = de, Pe.isLazy = le, Pe.isMemo = ie, Pe.isPortal = Ae, Pe.isProfiler = me, Pe.isStrictMode = J, Pe.isSuspense = fe, Pe.isValidElementType = w, Pe.typeOf = T;
38089
+ Pe.AsyncMode = k, Pe.ConcurrentMode = v, Pe.ContextConsumer = E, Pe.ContextProvider = I, Pe.Element = B, Pe.ForwardRef = x, Pe.Fragment = D, Pe.Lazy = P, Pe.Memo = _, Pe.Portal = Q, Pe.Profiler = H, Pe.StrictMode = V, Pe.Suspense = re, Pe.isAsyncMode = oe, Pe.isConcurrentMode = S, Pe.isContextConsumer = U, Pe.isContextProvider = Y, Pe.isElement = N, Pe.isForwardRef = W, Pe.isFragment = de, Pe.isLazy = le, Pe.isMemo = ie, Pe.isPortal = Ae, Pe.isProfiler = me, Pe.isStrictMode = J, Pe.isSuspense = fe, Pe.isValidElementType = w, Pe.typeOf = C;
38090
38090
  }()), Pe;
38091
38091
  }
38092
38092
  var Ap;
@@ -38237,14 +38237,14 @@ function vQ() {
38237
38237
  object: y("object"),
38238
38238
  string: y("string"),
38239
38239
  symbol: y("symbol"),
38240
- any: E(),
38240
+ any: T(),
38241
38241
  arrayOf: w,
38242
- element: T(),
38242
+ element: C(),
38243
38243
  elementType: k(),
38244
38244
  instanceOf: v,
38245
38245
  node: x(),
38246
38246
  objectOf: I,
38247
- oneOf: C,
38247
+ oneOf: E,
38248
38248
  oneOfType: B,
38249
38249
  shape: P,
38250
38250
  exact: _
@@ -38293,7 +38293,7 @@ function vQ() {
38293
38293
  }
38294
38294
  return b(U);
38295
38295
  }
38296
- function E() {
38296
+ function T() {
38297
38297
  return b(a);
38298
38298
  }
38299
38299
  function w(S) {
@@ -38314,7 +38314,7 @@ function vQ() {
38314
38314
  }
38315
38315
  return b(U);
38316
38316
  }
38317
- function T() {
38317
+ function C() {
38318
38318
  function S(U, Y, N, W, de) {
38319
38319
  var le = U[Y];
38320
38320
  if (!o(le)) {
@@ -38346,7 +38346,7 @@ function vQ() {
38346
38346
  }
38347
38347
  return b(U);
38348
38348
  }
38349
- function C(S) {
38349
+ function E(S) {
38350
38350
  if (!Array.isArray(S))
38351
38351
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
38352
38352
  "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])."
@@ -39253,22 +39253,22 @@ function CQ() {
39253
39253
  for (var y = 0; y < c[m].length; y++)
39254
39254
  c[m][y] = 255 & o.buffer[y + u];
39255
39255
  u += g;
39256
- var E = i.getErrorCorrectPolynomial(b), w = new r(c[m], E.getLength() - 1), T = w.mod(E);
39257
- d[m] = new Array(E.getLength() - 1);
39256
+ var T = i.getErrorCorrectPolynomial(b), w = new r(c[m], T.getLength() - 1), C = w.mod(T);
39257
+ d[m] = new Array(T.getLength() - 1);
39258
39258
  for (var y = 0; y < d[m].length; y++) {
39259
- var k = y + T.getLength() - d[m].length;
39260
- d[m][y] = k >= 0 ? T.get(k) : 0;
39259
+ var k = y + C.getLength() - d[m].length;
39260
+ d[m][y] = k >= 0 ? C.get(k) : 0;
39261
39261
  }
39262
39262
  }
39263
39263
  for (var v = 0, y = 0; y < A.length; y++)
39264
39264
  v += A[y].totalCount;
39265
- for (var C = new Array(v), I = 0, y = 0; y < l; y++)
39265
+ for (var E = new Array(v), I = 0, y = 0; y < l; y++)
39266
39266
  for (var m = 0; m < A.length; m++)
39267
- y < c[m].length && (C[I++] = c[m][y]);
39267
+ y < c[m].length && (E[I++] = c[m][y]);
39268
39268
  for (var y = 0; y < f; y++)
39269
39269
  for (var m = 0; m < A.length; m++)
39270
- y < d[m].length && (C[I++] = d[m][y]);
39271
- return C;
39270
+ y < d[m].length && (E[I++] = d[m][y]);
39271
+ return E;
39272
39272
  }, Gl = s, Gl;
39273
39273
  }
39274
39274
  var ka = {}, xp;
@@ -39304,10 +39304,10 @@ function xQ() {
39304
39304
  viewBoxSize: n.default.number.isRequired,
39305
39305
  xmlns: n.default.string
39306
39306
  }, A = (0, i.forwardRef)(function(u, l) {
39307
- var f = u.bgColor, c = u.bgD, d = u.fgD, m = u.fgColor, g = u.size, b = u.title, y = u.viewBoxSize, E = u.xmlns, w = E === void 0 ? "http://www.w3.org/2000/svg" : E, T = a(u, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize", "xmlns"]);
39307
+ var f = u.bgColor, c = u.bgD, d = u.fgD, m = u.fgColor, g = u.size, b = u.title, y = u.viewBoxSize, T = u.xmlns, w = T === void 0 ? "http://www.w3.org/2000/svg" : T, C = a(u, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize", "xmlns"]);
39308
39308
  return r.default.createElement(
39309
39309
  "svg",
39310
- e({}, T, { height: g, ref: l, viewBox: "0 0 " + y + " " + y, width: g, xmlns: w }),
39310
+ e({}, C, { height: g, ref: l, viewBox: "0 0 " + y + " " + y, width: g, xmlns: w }),
39311
39311
  b ? r.default.createElement(
39312
39312
  "title",
39313
39313
  null,
@@ -39328,8 +39328,8 @@ function TQ() {
39328
39328
  var e = Object.assign || function(g) {
39329
39329
  for (var b = 1; b < arguments.length; b++) {
39330
39330
  var y = arguments[b];
39331
- for (var E in y)
39332
- Object.prototype.hasOwnProperty.call(y, E) && (g[E] = y[E]);
39331
+ for (var T in y)
39332
+ Object.prototype.hasOwnProperty.call(y, T) && (g[T] = y[T]);
39333
39333
  }
39334
39334
  return g;
39335
39335
  }, t = /* @__PURE__ */ xw(), n = f(t), i = Tw(), r = f(i), s = CQ(), a = f(s), o = ct, A = f(o), u = xQ(), l = f(u);
@@ -39338,8 +39338,8 @@ function TQ() {
39338
39338
  }
39339
39339
  function c(g, b) {
39340
39340
  var y = {};
39341
- for (var E in g)
39342
- b.indexOf(E) >= 0 || Object.prototype.hasOwnProperty.call(g, E) && (y[E] = g[E]);
39341
+ for (var T in g)
39342
+ b.indexOf(T) >= 0 || Object.prototype.hasOwnProperty.call(g, T) && (y[T] = g[T]);
39343
39343
  return y;
39344
39344
  }
39345
39345
  var d = {
@@ -39349,17 +39349,17 @@ function TQ() {
39349
39349
  size: n.default.number,
39350
39350
  value: n.default.string.isRequired
39351
39351
  }, m = (0, o.forwardRef)(function(g, b) {
39352
- var y = g.bgColor, E = y === void 0 ? "#FFFFFF" : y, w = g.fgColor, T = w === void 0 ? "#000000" : w, k = g.level, v = k === void 0 ? "L" : k, C = g.size, I = C === void 0 ? 256 : C, B = g.value, x = c(g, ["bgColor", "fgColor", "level", "size", "value"]), D = new a.default(-1, r.default[v]);
39352
+ var y = g.bgColor, T = y === void 0 ? "#FFFFFF" : y, w = g.fgColor, C = w === void 0 ? "#000000" : w, k = g.level, v = k === void 0 ? "L" : k, E = g.size, I = E === void 0 ? 256 : E, B = g.value, x = c(g, ["bgColor", "fgColor", "level", "size", "value"]), D = new a.default(-1, r.default[v]);
39353
39353
  D.addData(B), D.make();
39354
39354
  var P = D.modules;
39355
39355
  return A.default.createElement(l.default, e({}, x, {
39356
- bgColor: E,
39356
+ bgColor: T,
39357
39357
  bgD: P.map(function(_, Q) {
39358
39358
  return _.map(function(H, V) {
39359
39359
  return H ? "" : "M " + V + " " + Q + " l 1 0 0 1 -1 0 Z";
39360
39360
  }).join(" ");
39361
39361
  }).join(" "),
39362
- fgColor: T,
39362
+ fgColor: C,
39363
39363
  fgD: P.map(function(_, Q) {
39364
39364
  return _.map(function(H, V) {
39365
39365
  return H ? "M " + V + " " + Q + " l 1 0 0 1 -1 0 Z" : "";
@@ -39638,59 +39638,59 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39638
39638
  }
39639
39639
  ],
39640
39640
  []
39641
- ), u = Ge(), { client: l } = Pt(), { user: f } = Tt(), c = De((E) => Bc(E)), d = async (E) => {
39641
+ ), u = Ge(), { client: l } = Pt(), { user: f, config: c } = Tt(), d = De((w) => Bc(w)), m = async (w) => {
39642
39642
  try {
39643
- let w = new FormData();
39644
- w.append("files", E);
39645
- const k = (await Sd(w))?.data?.results?.[0]?.location;
39646
- k && (l.setRoomImageStanza(c.jid, k, "icon", "none"), u(
39647
- Wt({ jid: c.jid, updates: { icon: k } })
39643
+ let C = new FormData();
39644
+ C.append("files", w);
39645
+ const v = (await Sd(C))?.data?.results?.[0]?.location;
39646
+ v && (l.setRoomImageStanza(d.jid, v, "icon", "none"), u(
39647
+ Wt({ jid: d.jid, updates: { icon: v } })
39648
39648
  ));
39649
- } catch (w) {
39650
- console.error("File upload failed or location is missing:", w);
39649
+ } catch (C) {
39650
+ console.error("File upload failed or location is missing:", C);
39651
39651
  }
39652
- }, m = async (E) => {
39652
+ }, g = async (w) => {
39653
39653
  try {
39654
39654
  await u9({
39655
- roomId: c.jid.split("@")[0],
39656
- members: [E]
39655
+ roomId: d.jid.split("@")[0],
39656
+ members: [w]
39657
39657
  }), u(
39658
39658
  Wt({
39659
- jid: c.jid,
39659
+ jid: d.jid,
39660
39660
  updates: {
39661
- members: c.members.filter(
39662
- (w) => w.xmppUsername !== E
39661
+ members: d.members.filter(
39662
+ (C) => C.xmppUsername !== w
39663
39663
  )
39664
39664
  }
39665
39665
  })
39666
39666
  ), o({
39667
39667
  id: Date.now().toString(),
39668
39668
  title: "Success",
39669
- message: `${E} has been removed from the room.`,
39669
+ message: `${w} has been removed from the room.`,
39670
39670
  type: "success"
39671
39671
  });
39672
- } catch (w) {
39673
- console.error("Failed to delete user:", w), o({
39672
+ } catch (C) {
39673
+ console.error("Failed to delete user:", C), o({
39674
39674
  id: Date.now().toString(),
39675
39675
  title: "Error",
39676
39676
  message: "Failed to delete user.",
39677
39677
  type: "error"
39678
39678
  });
39679
39679
  }
39680
- }, g = async () => {
39681
- l.setRoomImageStanza(c.jid, null, "icon", "none"), u(Wt({ jid: c.jid, updates: { icon: null } }));
39682
- }, b = (E) => {
39680
+ }, b = async () => {
39681
+ l.setRoomImageStanza(d.jid, null, "icon", "none"), u(Wt({ jid: d.jid, updates: { icon: null } }));
39682
+ }, y = (w) => {
39683
39683
  u(pt(Le.PROFILE)), u(
39684
39684
  Ec({
39685
- id: E._id,
39686
- firstName: E.firstName,
39687
- lastName: E.lastName,
39688
- name: `${E.firstName} ${E.lastName}`,
39689
- userJID: E?.xmppUsername
39685
+ id: w._id,
39686
+ firstName: w.firstName,
39687
+ lastName: w.lastName,
39688
+ name: `${w.firstName} ${w.lastName}`,
39689
+ userJID: w?.xmppUsername
39690
39690
  })
39691
39691
  );
39692
- }, y = Ve(
39693
- () => (E) => [
39692
+ }, T = Ve(
39693
+ () => (w) => [
39694
39694
  {
39695
39695
  label: "Appoint as an admin",
39696
39696
  icon: null,
@@ -39708,22 +39708,22 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39708
39708
  {
39709
39709
  label: "Delete",
39710
39710
  icon: null,
39711
- onClick: (w) => {
39712
- w?.preventDefault(), m(E);
39711
+ onClick: (C) => {
39712
+ C?.preventDefault(), g(w);
39713
39713
  }
39714
39714
  }
39715
39715
  ],
39716
39716
  []
39717
39717
  );
39718
- return c ? /* @__PURE__ */ F(mn, { style: { position: "relative" }, children: [
39718
+ return d ? /* @__PURE__ */ F(mn, { style: { position: "relative" }, children: [
39719
39719
  /* @__PURE__ */ p(
39720
39720
  Ut,
39721
39721
  {
39722
39722
  handleCloseModal: e,
39723
39723
  headerTitle: "Chat Profile",
39724
39724
  rightMenu: /* @__PURE__ */ F(We, { children: [
39725
- c?.type === "public" && /* @__PURE__ */ p(ke, { EndIcon: /* @__PURE__ */ p(yT, {}), onClick: () => r(!0) }),
39726
- c.role === "moderator" && c.type !== "private" && /* @__PURE__ */ p(
39725
+ d?.type === "public" && /* @__PURE__ */ p(ke, { EndIcon: /* @__PURE__ */ p(yT, {}), onClick: () => r(!0) }),
39726
+ d.role === "moderator" && d.type !== "private" && /* @__PURE__ */ p(
39727
39727
  Ns,
39728
39728
  {
39729
39729
  position: "left",
@@ -39745,35 +39745,35 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39745
39745
  /* @__PURE__ */ p(
39746
39746
  Ni,
39747
39747
  {
39748
- name: c.name,
39749
- icon: c.icon,
39748
+ name: d.name,
39749
+ icon: d.icon,
39750
39750
  upload: {
39751
- onUpload: d,
39752
- active: c?.role !== "participant"
39751
+ onUpload: m,
39752
+ active: d?.role !== "participant"
39753
39753
  },
39754
- remove: { enabled: !0, onRemoveClick: g },
39755
- role: c?.role,
39754
+ remove: { enabled: !0, onRemoveClick: b },
39755
+ role: d?.role,
39756
39756
  size: 128
39757
39757
  }
39758
39758
  ),
39759
39759
  /* @__PURE__ */ F(Cy, { children: [
39760
- /* @__PURE__ */ p(xy, { children: c.name }),
39760
+ /* @__PURE__ */ p(xy, { children: d.name }),
39761
39761
  /* @__PURE__ */ F(WM, { children: [
39762
- c.usersCnt,
39762
+ d.usersCnt,
39763
39763
  " ",
39764
- c.usersCnt > 1 ? "members" : "member"
39764
+ d.usersCnt > 1 ? "members" : "member"
39765
39765
  ] })
39766
39766
  ] }),
39767
- c.role === "moderator" && c.type === "group" && /* @__PURE__ */ p(We, { children: /* @__PURE__ */ p(_Q, {}) }),
39768
- /* @__PURE__ */ F(xn, { children: [
39767
+ d.role === "moderator" && d.type === "group" && /* @__PURE__ */ p(We, { children: /* @__PURE__ */ p(_Q, {}) }),
39768
+ !c?.disableChatInfo?.disableDescription && /* @__PURE__ */ F(xn, { children: [
39769
39769
  /* @__PURE__ */ p(zi, { children: "Description" }),
39770
- /* @__PURE__ */ p(gi, { children: c?.description })
39770
+ /* @__PURE__ */ p(gi, { children: d?.description })
39771
39771
  ] }),
39772
- /* @__PURE__ */ F(xn, { children: [
39772
+ !c?.disableChatInfo?.disableType && /* @__PURE__ */ F(xn, { children: [
39773
39773
  /* @__PURE__ */ p(zi, { children: "Chat type" }),
39774
- /* @__PURE__ */ p(gi, { children: c.type })
39774
+ /* @__PURE__ */ p(gi, { children: d.type })
39775
39775
  ] }),
39776
- /* @__PURE__ */ p(xn, { style: { padding: "8px 16px" }, children: t ? /* @__PURE__ */ p(zt, {}) : c?.members?.map((E, w) => /* @__PURE__ */ F(
39776
+ !c?.disableChatInfo?.hideMembers && /* @__PURE__ */ p(xn, { style: { padding: "8px 16px" }, children: t ? /* @__PURE__ */ p(zt, {}) : d?.members?.map((w, C) => /* @__PURE__ */ F(
39777
39777
  "div",
39778
39778
  {
39779
39779
  style: {
@@ -39797,13 +39797,17 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39797
39797
  /* @__PURE__ */ F(
39798
39798
  "div",
39799
39799
  {
39800
- style: { display: "flex", gap: "8px", cursor: "pointer" },
39801
- onClick: () => b(E),
39800
+ style: {
39801
+ display: "flex",
39802
+ gap: "8px",
39803
+ cursor: c?.disableChatInfo?.disableMembers ? "default" : "pointer"
39804
+ },
39805
+ onClick: c?.disableChatInfo?.disableMembers ? void 0 : () => y(w),
39802
39806
  children: [
39803
39807
  /* @__PURE__ */ p(
39804
39808
  Ni,
39805
39809
  {
39806
- name: `${E.firstName} ${E.lastName}`,
39810
+ name: `${w.firstName} ${w.lastName}`,
39807
39811
  size: 40
39808
39812
  }
39809
39813
  ),
@@ -39819,39 +39823,39 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39819
39823
  },
39820
39824
  children: [
39821
39825
  /* @__PURE__ */ F(gi, { style: { fontSize: "16px", fontWeight: 600 }, children: [
39822
- E.firstName,
39826
+ w.firstName,
39823
39827
  " ",
39824
- E.lastName
39828
+ w.lastName
39825
39829
  ] }),
39826
- E.last_active && /* @__PURE__ */ p(zi, { children: new Date(E.last_active * 1e3).toLocaleString() })
39830
+ w.last_active && /* @__PURE__ */ p(zi, { children: new Date(w.last_active * 1e3).toLocaleString() })
39827
39831
  ]
39828
39832
  }
39829
39833
  )
39830
39834
  ]
39831
39835
  }
39832
39836
  ),
39833
- E.role && E.role !== "none" && /* @__PURE__ */ p(
39837
+ w.role && w.role !== "none" && /* @__PURE__ */ p(
39834
39838
  "div",
39835
39839
  {
39836
39840
  style: {
39837
- backgroundColor: E.ban_status !== "banned" ? "#F3F6FC" : "#FFEBEE",
39838
- color: E.ban_status !== "banned" ? "#0052CD" : "#F44336",
39841
+ backgroundColor: w.ban_status !== "banned" ? "#F3F6FC" : "#FFEBEE",
39842
+ color: w.ban_status !== "banned" ? "#0052CD" : "#F44336",
39839
39843
  padding: "5px 8px",
39840
39844
  borderRadius: "16px",
39841
39845
  fontSize: "12px"
39842
39846
  },
39843
- children: E.role
39847
+ children: w.role
39844
39848
  }
39845
39849
  ),
39846
- f.xmppUsername !== E.xmppUsername && c.role === "moderator" && c.type !== "private" && /* @__PURE__ */ p(
39850
+ f.xmppUsername !== w.xmppUsername && d.role === "moderator" && d.type !== "private" && /* @__PURE__ */ p(
39847
39851
  Ns,
39848
39852
  {
39849
- options: y(E.xmppUsername),
39853
+ options: T(w.xmppUsername),
39850
39854
  openButton: /* @__PURE__ */ p(
39851
39855
  ke,
39852
39856
  {
39853
- onClick: (T) => {
39854
- T.preventDefault();
39857
+ onClick: (k) => {
39858
+ k.preventDefault();
39855
39859
  },
39856
39860
  children: "More Options"
39857
39861
  }
@@ -39862,10 +39866,10 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39862
39866
  ]
39863
39867
  }
39864
39868
  ),
39865
- w < c?.members.length - 1 && /* @__PURE__ */ p(Ty, {})
39869
+ C < d?.members.length - 1 && /* @__PURE__ */ p(Ty, {})
39866
39870
  ]
39867
39871
  },
39868
- E.xmppUsername
39872
+ w.xmppUsername
39869
39873
  )) })
39870
39874
  ] }),
39871
39875
  /* @__PURE__ */ p(
@@ -39873,7 +39877,7 @@ const NQ = /* @__PURE__ */ Xn(IQ), SQ = L.div`
39873
39877
  {
39874
39878
  isVisible: i,
39875
39879
  setVisible: r,
39876
- chatJid: c.jid
39880
+ chatJid: d.jid
39877
39881
  }
39878
39882
  ),
39879
39883
  /* @__PURE__ */ p(
@@ -40737,25 +40741,25 @@ const Sp = L.div`
40737
40741
  u(!0);
40738
40742
  }, []), g = async (k, v) => {
40739
40743
  try {
40740
- const C = uA(
40744
+ const E = uA(
40741
40745
  k,
40742
40746
  r?.xmppSettings?.conference,
40743
40747
  v
40744
40748
  );
40745
40749
  t(
40746
40750
  eA({
40747
- room: C,
40751
+ room: E,
40748
40752
  xmpp: n
40749
40753
  })
40750
- ), t(Et({ roomJID: C.jid })), i({
40754
+ ), t(Et({ roomJID: E.jid })), i({
40751
40755
  id: Date.now().toString(),
40752
40756
  title: "Success!",
40753
40757
  message: "Room created succusfully!",
40754
40758
  type: "success",
40755
40759
  duration: 3e3
40756
40760
  });
40757
- } catch (C) {
40758
- console.error("Error handling room creation:", C);
40761
+ } catch (E) {
40762
+ console.error("Error handling room creation:", E);
40759
40763
  }
40760
40764
  }, b = ce(async () => {
40761
40765
  i({
@@ -40783,7 +40787,7 @@ const Sp = L.div`
40783
40787
  ), k && (await n.inviteRoomRequestStanza(v, k), await n.getRoomsStanza());
40784
40788
  }
40785
40789
  t(pt());
40786
- }, [a]), y = a ?? s, E = () => {
40790
+ }, [a]), y = a ?? s, T = () => {
40787
40791
  if (o)
40788
40792
  return Dp.find((k) => k.id === o);
40789
40793
  }, w = Ve(
@@ -40823,7 +40827,7 @@ const Sp = L.div`
40823
40827
  placeholder: "Select your language",
40824
40828
  onSelect: d,
40825
40829
  accentColor: r?.colors?.primary,
40826
- selectedValue: E()
40830
+ selectedValue: T()
40827
40831
  }
40828
40832
  ) }),
40829
40833
  /* @__PURE__ */ F(xn, { children: [
@@ -40852,7 +40856,7 @@ const Sp = L.div`
40852
40856
  ] })
40853
40857
  ] }),
40854
40858
  [y]
40855
- ), T = Ve(
40859
+ ), C = Ve(
40856
40860
  () => /* @__PURE__ */ p(
40857
40861
  fH,
40858
40862
  {
@@ -40863,7 +40867,7 @@ const Sp = L.div`
40863
40867
  ),
40864
40868
  [y]
40865
40869
  );
40866
- return /* @__PURE__ */ p(mn, { children: A ? T : w });
40870
+ return /* @__PURE__ */ p(mn, { children: A ? C : w });
40867
40871
  }, dH = ({
40868
40872
  handleCloseModal: e
40869
40873
  }) => {
@@ -41340,18 +41344,18 @@ const Sp = L.div`
41340
41344
  u(v.target.value);
41341
41345
  },
41342
41346
  []
41343
- ), y = ce((v) => (v?.messages?.[v?.messages.length - 1]?.id ?? "").replace(/\D+/g, "").padEnd(16, "0"), []), E = Ve(() => {
41344
- const v = A.toLowerCase(), C = /* @__PURE__ */ new Map();
41345
- if (!C.has(v)) {
41347
+ ), y = ce((v) => (v?.messages?.[v?.messages.length - 1]?.id ?? "").replace(/\D+/g, "").padEnd(16, "0"), []), T = Ve(() => {
41348
+ const v = A.toLowerCase(), E = /* @__PURE__ */ new Map();
41349
+ if (!E.has(v)) {
41346
41350
  const I = e.filter(
41347
41351
  (B) => B.name?.toLowerCase().includes(v)
41348
41352
  ).sort((B, x) => {
41349
41353
  const D = y(B) ? Number(y(B)) : null, P = y(x) ? Number(y(x)) : null, _ = B.createdAt ? new Date(B.createdAt).getTime() * 1e3 : null, Q = x.createdAt ? new Date(x.createdAt).getTime() * 1e3 : null, H = D !== null ? D : _, V = P !== null ? P : Q;
41350
41354
  return H === null && V === null ? 0 : H === null ? 1 : V === null ? -1 : V - H;
41351
41355
  });
41352
- C.set(v, I);
41356
+ E.set(v, I);
41353
41357
  }
41354
- return C.get(v) || [];
41358
+ return E.get(v) || [];
41355
41359
  }, [e, A]);
41356
41360
  Ce(() => {
41357
41361
  if (t)
@@ -41362,7 +41366,7 @@ const Sp = L.div`
41362
41366
  const w = ce(
41363
41367
  (v) => !i && c === v.jid,
41364
41368
  [c]
41365
- ), T = ce(async () => {
41369
+ ), C = ce(async () => {
41366
41370
  r && (await r.close(), s(null)), l(Tc()), l(Zo());
41367
41371
  }, []), k = Ve(
41368
41372
  () => [
@@ -41383,7 +41387,7 @@ const Sp = L.div`
41383
41387
  {
41384
41388
  label: "Logout",
41385
41389
  icon: null,
41386
- onClick: () => T()
41390
+ onClick: () => C()
41387
41391
  }
41388
41392
  ],
41389
41393
  []
@@ -41402,14 +41406,14 @@ const Sp = L.div`
41402
41406
  flex: i ? 1 : "0 1 432px"
41403
41407
  },
41404
41408
  children: (a || !t) && /* @__PURE__ */ F(lQ, { children: [
41405
- /* @__PURE__ */ F(uQ, { children: [
41406
- !f?.disableRoomMenu && /* @__PURE__ */ p(
41409
+ !f?.chatHeaderSettings?.hide && /* @__PURE__ */ F(uQ, { children: [
41410
+ !f?.disableRoomMenu && !f?.chatHeaderSettings?.disableMenu && /* @__PURE__ */ p(
41407
41411
  Ns,
41408
41412
  {
41409
41413
  options: k
41410
41414
  }
41411
41415
  ),
41412
- /* @__PURE__ */ p(
41416
+ !f?.chatHeaderSettings?.hideSearch && /* @__PURE__ */ p(
41413
41417
  Ey,
41414
41418
  {
41415
41419
  icon: /* @__PURE__ */ p(pv, { height: "20px" }),
@@ -41418,25 +41422,25 @@ const Sp = L.div`
41418
41422
  placeholder: "Search..."
41419
41423
  }
41420
41424
  ),
41421
- /* @__PURE__ */ p(ww, {})
41425
+ !f?.chatHeaderSettings?.disableCreate && /* @__PURE__ */ p(ww, {})
41422
41426
  ] }),
41423
41427
  /* @__PURE__ */ p(
41424
41428
  "div",
41425
41429
  {
41426
41430
  style: { flexGrow: 1, overflowY: "auto", padding: "16px 0px" },
41427
- children: E.map((v, C) => /* @__PURE__ */ F(ct.Fragment, { children: [
41431
+ children: T.map((v, E) => /* @__PURE__ */ F(ct.Fragment, { children: [
41428
41432
  /* @__PURE__ */ p(
41429
41433
  BH,
41430
41434
  {
41431
41435
  chat: v,
41432
- index: C,
41436
+ index: E,
41433
41437
  isChatActive: w(v),
41434
41438
  performClick: g,
41435
41439
  config: f
41436
41440
  }
41437
41441
  ),
41438
- C < E.length - 1 && /* @__PURE__ */ p(kw, {})
41439
- ] }, `${v.id}-${C}`))
41442
+ E < T.length - 1 && /* @__PURE__ */ p(kw, {})
41443
+ ] }, `${v.id}-${E}`))
41440
41444
  }
41441
41445
  )
41442
41446
  ] })
@@ -41526,7 +41530,8 @@ const MH = ({
41526
41530
  /* @__PURE__ */ F(
41527
41531
  hx,
41528
41532
  {
41529
- onClick: () => n(pt(Le.CHAT_PROFILE)),
41533
+ onClick: o?.disableChatInfo?.disableHeader ? void 0 : () => n(pt(Le.CHAT_PROFILE)),
41534
+ style: o?.disableChatInfo?.disableHeader ? { cursor: "default" } : void 0,
41530
41535
  children: [
41531
41536
  /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
41532
41537
  Ni,
@@ -41551,7 +41556,7 @@ const MH = ({
41551
41556
  }
41552
41557
  )
41553
41558
  ] }),
41554
- /* @__PURE__ */ p("div", { style: { display: "flex", gap: 16 }, children: /* @__PURE__ */ p(
41559
+ !o?.disableChatInfo?.disableChatHeaderMenu && /* @__PURE__ */ p("div", { style: { display: "flex", gap: 16 }, children: /* @__PURE__ */ p(
41555
41560
  RH,
41556
41561
  {
41557
41562
  handleLeaveClick: l,
@@ -41755,54 +41760,54 @@ const XH = (e) => {
41755
41760
  };
41756
41761
  }, Rp = 3e5, _w = () => {
41757
41762
  const { config: e, langSource: t } = Tt(), { client: n } = Pt(), i = Ge(), { handleMessageSent: r, handleMessageFailed: s } = XH(e), { user: a, editAction: o, activeRoomJID: A, rooms: u } = De(
41758
- (C) => ({
41759
- activeRoomJID: C.rooms.activeRoomJID,
41760
- user: C.chatSettingStore.user,
41761
- editAction: C.rooms.editAction,
41762
- config: C.chatSettingStore.config,
41763
- rooms: C.rooms.rooms
41763
+ (E) => ({
41764
+ activeRoomJID: E.rooms.activeRoomJID,
41765
+ user: E.chatSettingStore.user,
41766
+ editAction: E.rooms.editAction,
41767
+ config: E.chatSettingStore.config,
41768
+ rooms: E.rooms.rooms
41764
41769
  })
41765
41770
  ), l = Ne(/* @__PURE__ */ new Map()), f = Ne(/* @__PURE__ */ new Set()), [c, d] = ae(/* @__PURE__ */ new Set()), m = ce(() => {
41766
- const C = e?.blockMessageSendingWhenProcessing;
41767
- return C ? typeof C == "boolean" ? {
41768
- enabled: C,
41771
+ const E = e?.blockMessageSendingWhenProcessing;
41772
+ return E ? typeof E == "boolean" ? {
41773
+ enabled: E,
41769
41774
  timeout: Rp,
41770
41775
  onTimeout: () => {
41771
41776
  }
41772
41777
  } : {
41773
- enabled: C.enabled,
41774
- timeout: C.timeout ?? Rp,
41775
- onTimeout: C.onTimeout ?? (() => {
41778
+ enabled: E.enabled,
41779
+ timeout: E.timeout ?? Rp,
41780
+ onTimeout: E.onTimeout ?? (() => {
41776
41781
  })
41777
41782
  } : null;
41778
41783
  }, [e?.blockMessageSendingWhenProcessing]), g = ce(
41779
- (C, I) => {
41784
+ (E, I) => {
41780
41785
  d((B) => {
41781
41786
  const x = new Set(B);
41782
- return I ? x.add(C) : x.delete(C), x;
41787
+ return I ? x.add(E) : x.delete(E), x;
41783
41788
  });
41784
41789
  },
41785
41790
  []
41786
41791
  ), b = ce(
41787
- (C) => {
41788
- const I = l.current.get(C);
41789
- I && (clearTimeout(I), l.current.delete(C), g(C, !1));
41792
+ (E) => {
41793
+ const I = l.current.get(E);
41794
+ I && (clearTimeout(I), l.current.delete(E), g(E, !1));
41790
41795
  },
41791
41796
  [g]
41792
41797
  ), y = ce(
41793
- (C) => {
41798
+ (E) => {
41794
41799
  const I = m();
41795
41800
  if (!I?.enabled) return;
41796
- b(C);
41801
+ b(E);
41797
41802
  const B = setTimeout(() => {
41798
- I.onTimeout(C), l.current.delete(C), g(C, !1);
41803
+ I.onTimeout(E), l.current.delete(E), g(E, !1);
41799
41804
  }, I.timeout);
41800
- g(C, !0), l.current.set(C, B);
41805
+ g(E, !0), l.current.set(E, B);
41801
41806
  },
41802
41807
  [m, b, g]
41803
41808
  );
41804
41809
  Ce(() => () => {
41805
- l.current.forEach((C) => clearTimeout(C)), l.current.clear(), f.current.clear();
41810
+ l.current.forEach((E) => clearTimeout(E)), l.current.clear(), f.current.clear();
41806
41811
  }, []), Ce(() => {
41807
41812
  m()?.enabled || (l.current.forEach((I) => clearTimeout(I)), l.current.clear(), f.current.clear(), d(/* @__PURE__ */ new Set()));
41808
41813
  }, [m]), Ce(() => {
@@ -41820,17 +41825,17 @@ const XH = (e) => {
41820
41825
  b,
41821
41826
  g
41822
41827
  ]);
41823
- const E = ce(
41824
- (C) => m()?.enabled ? f.current.has(C) ? !0 : c.has(C) : !1,
41828
+ const T = ce(
41829
+ (E) => m()?.enabled ? f.current.has(E) ? !0 : c.has(E) : !1,
41825
41830
  [m, c]
41826
41831
  ), w = ce(
41827
- (C, I) => {
41828
- I ? f.current.add(C) : f.current.delete(C);
41832
+ (E, I) => {
41833
+ I ? f.current.add(E) : f.current.delete(E);
41829
41834
  },
41830
41835
  []
41831
- ), T = ce(
41832
- async (C, I, B, x, D) => {
41833
- if (E(I)) {
41836
+ ), C = ce(
41837
+ async (E, I, B, x, D) => {
41838
+ if (T(I)) {
41834
41839
  console.log(
41835
41840
  "Cannot send message: Message sending is currently blocked"
41836
41841
  );
@@ -41841,9 +41846,9 @@ const XH = (e) => {
41841
41846
  n?.editMessageStanza(
41842
41847
  o.roomJid,
41843
41848
  o.messageId,
41844
- C
41849
+ E
41845
41850
  ), i(Vn({ isEdit: !1 })), await r({
41846
- message: C,
41851
+ message: E,
41847
41852
  roomJID: I,
41848
41853
  user: a,
41849
41854
  messageType: "text",
@@ -41856,7 +41861,7 @@ const XH = (e) => {
41856
41861
  });
41857
41862
  } catch (P) {
41858
41863
  console.error("Error editing message:", P), s({
41859
- message: C,
41864
+ message: E,
41860
41865
  roomJID: I,
41861
41866
  error: P,
41862
41867
  messageType: "text"
@@ -41877,7 +41882,7 @@ const XH = (e) => {
41877
41882
  name: a.firstName + " " + a.lastName
41878
41883
  },
41879
41884
  date: (/* @__PURE__ */ new Date()).toISOString(),
41880
- body: C,
41885
+ body: E,
41881
41886
  roomJid: I,
41882
41887
  pending: !0,
41883
41888
  xmppFrom: `${I}/${a.xmppUsername}`,
@@ -41893,7 +41898,7 @@ const XH = (e) => {
41893
41898
  name: a.firstName + " " + a.lastName
41894
41899
  },
41895
41900
  date: (/* @__PURE__ */ new Date()).toISOString(),
41896
- body: C,
41901
+ body: E,
41897
41902
  roomJid: I,
41898
41903
  xmppFrom: `${I}/${a.xmppUsername}`,
41899
41904
  isReply: B || !1,
@@ -41907,7 +41912,7 @@ const XH = (e) => {
41907
41912
  a.lastName,
41908
41913
  "",
41909
41914
  a.walletAddress,
41910
- C,
41915
+ E,
41911
41916
  "",
41912
41917
  B || !1,
41913
41918
  x || !1,
@@ -41915,7 +41920,7 @@ const XH = (e) => {
41915
41920
  t || "en",
41916
41921
  P
41917
41922
  ), await r({
41918
- message: C,
41923
+ message: E,
41919
41924
  roomJID: I,
41920
41925
  user: a,
41921
41926
  messageType: "text",
@@ -41941,7 +41946,7 @@ const XH = (e) => {
41941
41946
  name: a.firstName + " " + a.lastName
41942
41947
  },
41943
41948
  date: (/* @__PURE__ */ new Date()).toISOString(),
41944
- body: C,
41949
+ body: E,
41945
41950
  roomJid: I,
41946
41951
  xmppFrom: `${I}/${a.xmppUsername}`,
41947
41952
  pending: !0
@@ -41956,7 +41961,7 @@ const XH = (e) => {
41956
41961
  name: a.firstName + " " + a.lastName
41957
41962
  },
41958
41963
  date: (/* @__PURE__ */ new Date()).toISOString(),
41959
- body: C,
41964
+ body: E,
41960
41965
  roomJid: I,
41961
41966
  xmppFrom: `${I}/${a.xmppUsername}`,
41962
41967
  isReply: B || !1,
@@ -41969,14 +41974,14 @@ const XH = (e) => {
41969
41974
  a.lastName,
41970
41975
  "",
41971
41976
  a.walletAddress,
41972
- C,
41977
+ E,
41973
41978
  "",
41974
41979
  B || !1,
41975
41980
  x || !1,
41976
41981
  D || "",
41977
41982
  P
41978
41983
  ), await r({
41979
- message: C,
41984
+ message: E,
41980
41985
  roomJID: I,
41981
41986
  user: a,
41982
41987
  messageType: "text",
@@ -41992,7 +41997,7 @@ const XH = (e) => {
41992
41997
  }
41993
41998
  } catch (P) {
41994
41999
  console.error("Error sending message:", P), s({
41995
- message: C,
42000
+ message: E,
41996
42001
  roomJID: I,
41997
42002
  error: P,
41998
42003
  messageType: "text"
@@ -42008,19 +42013,19 @@ const XH = (e) => {
42008
42013
  n,
42009
42014
  i,
42010
42015
  t,
42011
- E,
42016
+ T,
42012
42017
  y,
42013
42018
  w
42014
42019
  ]
42015
42020
  ), k = ce(
42016
- async (C) => {
42021
+ async (E) => {
42017
42022
  try {
42018
42023
  n?.editMessageStanza(
42019
42024
  o.roomJid,
42020
42025
  o.messageId,
42021
- C
42026
+ E
42022
42027
  ), i(Vn({ isEdit: !1 })), await r({
42023
- message: C,
42028
+ message: E,
42024
42029
  roomJID: o.roomJid,
42025
42030
  user: a,
42026
42031
  messageType: "text",
@@ -42031,7 +42036,7 @@ const XH = (e) => {
42031
42036
  });
42032
42037
  } catch (I) {
42033
42038
  console.error("Error editing message:", I), s({
42034
- message: C,
42039
+ message: E,
42035
42040
  roomJID: o.roomJid,
42036
42041
  error: I,
42037
42042
  messageType: "text"
@@ -42040,8 +42045,8 @@ const XH = (e) => {
42040
42045
  },
42041
42046
  [o, n, i, a, r, s]
42042
42047
  ), v = ce(
42043
- async (C, I, B, x = !1, D = !1, P = "") => {
42044
- if (E(B)) {
42048
+ async (E, I, B, x = !1, D = !1, P = "") => {
42049
+ if (T(B)) {
42045
42050
  console.log("Cannot send media: Message sending is currently blocked");
42046
42051
  return;
42047
42052
  }
@@ -42066,12 +42071,12 @@ const XH = (e) => {
42066
42071
  xmppFrom: `${B}/${a.id}`,
42067
42072
  isSystemMessage: "false",
42068
42073
  isMediafile: "true",
42069
- fileName: C.name,
42074
+ fileName: E.name,
42070
42075
  location: "",
42071
42076
  locationPreview: "",
42072
42077
  mimetype: I,
42073
- originalName: C.name,
42074
- size: C.size.toString(),
42078
+ originalName: E.name,
42079
+ size: E.size.toString(),
42075
42080
  isReply: x,
42076
42081
  showInChannel: `${D}`,
42077
42082
  mainMessage: P
@@ -42080,7 +42085,7 @@ const XH = (e) => {
42080
42085
  );
42081
42086
  try {
42082
42087
  const Q = new FormData();
42083
- Q.append("files", C);
42088
+ Q.append("files", E);
42084
42089
  const H = await Sd(Q);
42085
42090
  for (const V of H.data.results) {
42086
42091
  const re = {
@@ -42120,7 +42125,7 @@ const XH = (e) => {
42120
42125
  isReply: x,
42121
42126
  isChecked: D,
42122
42127
  mainMessage: P,
42123
- fileData: C,
42128
+ fileData: E,
42124
42129
  fileType: I,
42125
42130
  messageId: _,
42126
42131
  uploadResults: H.data.results
@@ -42141,7 +42146,7 @@ const XH = (e) => {
42141
42146
  n,
42142
42147
  e,
42143
42148
  a,
42144
- E,
42149
+ T,
42145
42150
  r,
42146
42151
  s,
42147
42152
  y,
@@ -42149,10 +42154,10 @@ const XH = (e) => {
42149
42154
  ]
42150
42155
  );
42151
42156
  return {
42152
- sendMessage: T,
42157
+ sendMessage: C,
42153
42158
  sendMedia: v,
42154
42159
  sendEditMessage: k,
42155
- isLastMessageFromUserAndProcessing: E
42160
+ isLastMessageFromUserAndProcessing: T
42156
42161
  };
42157
42162
  }, Mw = () => {
42158
42163
  const { client: e } = Pt(), t = Dd();
@@ -42233,8 +42238,8 @@ const XH = (e) => {
42233
42238
  sendMessage: g,
42234
42239
  sendMedia: b,
42235
42240
  sendEditMessage: y,
42236
- isLastMessageFromUserAndProcessing: E
42237
- } = _w(), { sendStartComposing: w, sendEndComposing: T } = ZH(A), k = ce(
42241
+ isLastMessageFromUserAndProcessing: T
42242
+ } = _w(), { sendStartComposing: w, sendEndComposing: C } = ZH(A), k = ce(
42238
42243
  (B) => {
42239
42244
  r(
42240
42245
  Ba({
@@ -42249,7 +42254,7 @@ const XH = (e) => {
42249
42254
  b(B, x, l);
42250
42255
  },
42251
42256
  [l]
42252
- ), C = ce(
42257
+ ), E = ce(
42253
42258
  async (B, x, D) => {
42254
42259
  if (!s && !u?.[B]?.historyComplete) {
42255
42260
  const P = typeof D != "string" ? D : Number(
@@ -42312,7 +42317,7 @@ const XH = (e) => {
42312
42317
  d || !u[l].historyComplete && u[l].messages.length < 1 ? /* @__PURE__ */ p(zt, { color: A?.colors?.primary }) : Object.keys(u).length < 1 || !l ? /* @__PURE__ */ p(gv, {}) : u[l]?.messages && u[l]?.messages.length < 1 ? /* @__PURE__ */ p(PH, {}) : /* @__PURE__ */ p(
42313
42318
  wv,
42314
42319
  {
42315
- loadMoreMessages: C,
42320
+ loadMoreMessages: E,
42316
42321
  CustomMessage: e,
42317
42322
  user: o,
42318
42323
  roomJID: l,
@@ -42329,9 +42334,9 @@ const XH = (e) => {
42329
42334
  sendMedia: v,
42330
42335
  config: A,
42331
42336
  onFocus: w,
42332
- onBlur: T,
42337
+ onBlur: C,
42333
42338
  isLoading: !1,
42334
- isMessageProcessing: E(l),
42339
+ isMessageProcessing: T(l),
42335
42340
  multiline: !0,
42336
42341
  placeholderText: "Type message"
42337
42342
  }, x = {
@@ -42690,26 +42695,26 @@ class hr extends Zs {
42690
42695
  let c = f.clientX, d = f.clientY, m = !1;
42691
42696
  const g = Date.now(), b = (k) => {
42692
42697
  if (k.preventDefault(), k.stopPropagation(), A && Date.now() - g < o) return;
42693
- const v = k.clientX, C = k.clientY, I = v - c, B = C - d;
42698
+ const v = k.clientX, E = k.clientY, I = v - c, B = E - d;
42694
42699
  if (m || Math.abs(I) > s || Math.abs(B) > s) {
42695
42700
  const x = t.getBoundingClientRect(), { left: D, top: P } = x;
42696
- m || (i?.(c - D, d - P), m = !0), n(I, B, v - D, C - P), c = v, d = C;
42701
+ m || (i?.(c - D, d - P), m = !0), n(I, B, v - D, E - P), c = v, d = E;
42697
42702
  }
42698
42703
  }, y = (k) => {
42699
42704
  if (m) {
42700
- const v = k.clientX, C = k.clientY, I = t.getBoundingClientRect(), { left: B, top: x } = I;
42701
- r?.(v - B, C - x);
42705
+ const v = k.clientX, E = k.clientY, I = t.getBoundingClientRect(), { left: B, top: x } = I;
42706
+ r?.(v - B, E - x);
42702
42707
  }
42703
42708
  u();
42704
- }, E = (k) => {
42709
+ }, T = (k) => {
42705
42710
  k.relatedTarget && k.relatedTarget !== document.documentElement || y(k);
42706
42711
  }, w = (k) => {
42707
42712
  m && (k.stopPropagation(), k.preventDefault());
42708
- }, T = (k) => {
42713
+ }, C = (k) => {
42709
42714
  m && k.preventDefault();
42710
42715
  };
42711
- document.addEventListener("pointermove", b), document.addEventListener("pointerup", y), document.addEventListener("pointerout", E), document.addEventListener("pointercancel", E), document.addEventListener("touchmove", T, { passive: !1 }), document.addEventListener("click", w, { capture: !0 }), u = () => {
42712
- document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", y), document.removeEventListener("pointerout", E), document.removeEventListener("pointercancel", E), document.removeEventListener("touchmove", T), setTimeout(() => {
42716
+ document.addEventListener("pointermove", b), document.addEventListener("pointerup", y), document.addEventListener("pointerout", T), document.addEventListener("pointercancel", T), document.addEventListener("touchmove", C, { passive: !1 }), document.addEventListener("click", w, { capture: !0 }), u = () => {
42717
+ document.removeEventListener("pointermove", b), document.removeEventListener("pointerup", y), document.removeEventListener("pointerout", T), document.removeEventListener("pointercancel", T), document.removeEventListener("touchmove", C), setTimeout(() => {
42713
42718
  document.removeEventListener("click", w, { capture: !0 });
42714
42719
  }, 10);
42715
42720
  };
@@ -42865,16 +42870,16 @@ class hr extends Zs {
42865
42870
  renderBarWaveform(t, n, i, r) {
42866
42871
  const s = t[0], a = t[1] || t[0], o = s.length, { width: A, height: u } = i.canvas, l = u / 2, f = this.getPixelRatio(), c = n.barWidth ? n.barWidth * f : 1, d = n.barGap ? n.barGap * f : n.barWidth ? c / 2 : 0, m = n.barRadius || 0, g = A / (c + d) / o, b = m && "roundRect" in i ? "roundRect" : "rect";
42867
42872
  i.beginPath();
42868
- let y = 0, E = 0, w = 0;
42869
- for (let T = 0; T <= o; T++) {
42870
- const k = Math.round(T * g);
42873
+ let y = 0, T = 0, w = 0;
42874
+ for (let C = 0; C <= o; C++) {
42875
+ const k = Math.round(C * g);
42871
42876
  if (k > y) {
42872
- const I = Math.round(E * l * r), B = I + Math.round(w * l * r) || 1;
42877
+ const I = Math.round(T * l * r), B = I + Math.round(w * l * r) || 1;
42873
42878
  let x = l - I;
42874
- n.barAlign === "top" ? x = 0 : n.barAlign === "bottom" && (x = u - B), i[b](y * (c + d), x, c, B, m), y = k, E = 0, w = 0;
42879
+ n.barAlign === "top" ? x = 0 : n.barAlign === "bottom" && (x = u - B), i[b](y * (c + d), x, c, B, m), y = k, T = 0, w = 0;
42875
42880
  }
42876
- const v = Math.abs(s[T] || 0), C = Math.abs(a[T] || 0);
42877
- v > E && (E = v), C > w && (w = C);
42881
+ const v = Math.abs(s[C] || 0), E = Math.abs(a[C] || 0);
42882
+ v > T && (T = v), E > w && (w = E);
42878
42883
  }
42879
42884
  i.fill(), i.closePath();
42880
42885
  }
@@ -42926,17 +42931,17 @@ class hr extends Zs {
42926
42931
  if (b < 0 || b >= d || f[b]) return;
42927
42932
  f[b] = !0;
42928
42933
  const y = b * l;
42929
- let E = Math.min(u - y, l);
42934
+ let T = Math.min(u - y, l);
42930
42935
  if (n.barWidth || n.barGap) {
42931
- const T = n.barWidth || 0.5, k = T + (n.barGap || T / 2);
42932
- E = Math.floor(E / k) * k;
42936
+ const C = n.barWidth || 0.5, k = C + (n.barGap || C / 2);
42937
+ T = Math.floor(T / k) * k;
42933
42938
  }
42934
- if (E <= 0) return;
42935
- const w = t.map((T) => {
42936
- const k = Math.floor(y / u * T.length), v = Math.floor((y + E) / u * T.length);
42937
- return T.slice(k, v);
42939
+ if (T <= 0) return;
42940
+ const w = t.map((C) => {
42941
+ const k = Math.floor(y / u * C.length), v = Math.floor((y + T) / u * C.length);
42942
+ return C.slice(k, v);
42938
42943
  });
42939
- this.renderSingleCanvas(w, n, E, r, y, s, a);
42944
+ this.renderSingleCanvas(w, n, T, r, y, s, a);
42940
42945
  }, d = Math.ceil(u / l);
42941
42946
  if (!this.isScrollable) {
42942
42947
  for (let b = 0; b < d; b++) c(b);
@@ -42945,8 +42950,8 @@ class hr extends Zs {
42945
42950
  const m = this.scrollContainer.scrollLeft / u, g = Math.floor(m * d);
42946
42951
  if (c(g - 1), c(g), c(g + 1), d > 1) {
42947
42952
  const b = this.on("scroll", () => {
42948
- const { scrollLeft: y } = this.scrollContainer, E = Math.floor(y / u * d);
42949
- Object.keys(f).length > hr.MAX_NODES && (s.innerHTML = "", a.innerHTML = "", f = {}), c(E - 1), c(E), c(E + 1);
42953
+ const { scrollLeft: y } = this.scrollContainer, T = Math.floor(y / u * d);
42954
+ Object.keys(f).length > hr.MAX_NODES && (s.innerHTML = "", a.innerHTML = "", f = {}), c(T - 1), c(T), c(T + 1);
42950
42955
  });
42951
42956
  this.unsubscribeOnScroll.push(b);
42952
42957
  }
@@ -43631,12 +43636,12 @@ function Ho() {
43631
43636
  });
43632
43637
  }
43633
43638
  function Yw(e, t, n, i, r, s, a, o, A, u) {
43634
- var l, f, c, d, m, g, b, y = i && i.__k || Hw, E = y.length;
43639
+ var l, f, c, d, m, g, b, y = i && i.__k || Hw, T = y.length;
43635
43640
  for (n.__k = [], l = 0; l < t.length; l++) if ((d = n.__k[l] = (d = t[l]) == null || typeof d == "boolean" ? null : typeof d == "string" || typeof d == "number" || typeof d == "bigint" ? ro(null, d, null, null, d) : Array.isArray(d) ? ro(mr, {
43636
43641
  children: d
43637
43642
  }, null, null, null) : d.__b > 0 ? ro(d.type, d.props, d.key, null, d.__v) : d) != null) {
43638
43643
  if (d.__ = n, d.__b = n.__b + 1, (c = y[l]) === null || c && d.key == c.key && d.type === c.type) y[l] = void 0;
43639
- else for (f = 0; f < E; f++) {
43644
+ else for (f = 0; f < T; f++) {
43640
43645
  if ((c = y[f]) && d.key == c.key && d.type === c.type) {
43641
43646
  y[f] = void 0;
43642
43647
  break;
@@ -43645,7 +43650,7 @@ function Yw(e, t, n, i, r, s, a, o, A, u) {
43645
43650
  }
43646
43651
  _d(e, d, c = c || Qo, r, s, a, o, A, u), m = d.__e, (f = d.ref) && c.ref != f && (b || (b = []), c.ref && b.push(c.ref, null, d), b.push(f, d.__c || m, d)), m != null ? (g == null && (g = m), typeof d.type == "function" && d.__k === c.__k ? d.__d = A = Ww(d, A, e) : A = Gw(e, d, c, y, m, A), typeof n.type == "function" && (n.__d = A)) : A && c.__e == A && A.parentNode != e && (A = pr(c));
43647
43652
  }
43648
- for (n.__e = g, l = E; l--; ) y[l] != null && (typeof n.type == "function" && y[l].__e != null && y[l].__e == n.__d && (n.__d = pr(i, l + 1)), Vw(y[l], y[l]));
43653
+ for (n.__e = g, l = T; l--; ) y[l] != null && (typeof n.type == "function" && y[l].__e != null && y[l].__e == n.__d && (n.__d = pr(i, l + 1)), Vw(y[l], y[l]));
43649
43654
  if (b) for (l = 0; l < b.length; l++) qw(b[l], b[++l], b[++l]);
43650
43655
  }
43651
43656
  function Ww(e, t, n) {
@@ -43701,26 +43706,26 @@ function Qp(e) {
43701
43706
  this.l[e.type + !0](ge.event ? ge.event(e) : e);
43702
43707
  }
43703
43708
  function _d(e, t, n, i, r, s, a, o, A) {
43704
- var u, l, f, c, d, m, g, b, y, E, w, T = t.type;
43709
+ var u, l, f, c, d, m, g, b, y, T, w, C = t.type;
43705
43710
  if (t.constructor !== void 0) return null;
43706
43711
  n.__h != null && (A = n.__h, o = t.__e = n.__e, t.__h = null, s = [
43707
43712
  o
43708
43713
  ]), (u = ge.__b) && u(t);
43709
43714
  try {
43710
- e: if (typeof T == "function") {
43711
- if (b = t.props, y = (u = T.contextType) && i[u.__c], E = u ? y ? y.props.value : u.__ : i, n.__c ? g = (l = t.__c = n.__c).__ = l.__E : ("prototype" in T && T.prototype.render ? t.__c = l = new T(b, E) : (t.__c = l = new ln(b, E), l.constructor = T, l.render = cU), y && y.sub(l), l.props = b, l.state || (l.state = {}), l.context = E, l.__n = i, f = l.__d = !0, l.__h = []), l.__s == null && (l.__s = l.state), T.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Wn({}, l.__s)), Wn(l.__s, T.getDerivedStateFromProps(b, l.__s))), c = l.props, d = l.state, f) T.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
43715
+ e: if (typeof C == "function") {
43716
+ if (b = t.props, y = (u = C.contextType) && i[u.__c], T = u ? y ? y.props.value : u.__ : i, n.__c ? g = (l = t.__c = n.__c).__ = l.__E : ("prototype" in C && C.prototype.render ? t.__c = l = new C(b, T) : (t.__c = l = new ln(b, T), l.constructor = C, l.render = cU), y && y.sub(l), l.props = b, l.state || (l.state = {}), l.context = T, l.__n = i, f = l.__d = !0, l.__h = []), l.__s == null && (l.__s = l.state), C.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Wn({}, l.__s)), Wn(l.__s, C.getDerivedStateFromProps(b, l.__s))), c = l.props, d = l.state, f) C.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
43712
43717
  else {
43713
- if (T.getDerivedStateFromProps == null && b !== c && l.componentWillReceiveProps != null && l.componentWillReceiveProps(b, E), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(b, l.__s, E) === !1 || t.__v === n.__v) {
43718
+ if (C.getDerivedStateFromProps == null && b !== c && l.componentWillReceiveProps != null && l.componentWillReceiveProps(b, T), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(b, l.__s, T) === !1 || t.__v === n.__v) {
43714
43719
  l.props = b, l.state = l.__s, t.__v !== n.__v && (l.__d = !1), l.__v = t, t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(k) {
43715
43720
  k && (k.__ = t);
43716
43721
  }), l.__h.length && a.push(l);
43717
43722
  break e;
43718
43723
  }
43719
- l.componentWillUpdate != null && l.componentWillUpdate(b, l.__s, E), l.componentDidUpdate != null && l.__h.push(function() {
43724
+ l.componentWillUpdate != null && l.componentWillUpdate(b, l.__s, T), l.componentDidUpdate != null && l.__h.push(function() {
43720
43725
  l.componentDidUpdate(c, d, m);
43721
43726
  });
43722
43727
  }
43723
- l.context = E, l.props = b, l.state = l.__s, (u = ge.__r) && u(t), l.__d = !1, l.__v = t, l.__P = e, u = l.render(l.props, l.state, l.context), l.state = l.__s, l.getChildContext != null && (i = Wn(Wn({}, i), l.getChildContext())), f || l.getSnapshotBeforeUpdate == null || (m = l.getSnapshotBeforeUpdate(c, d)), w = u != null && u.type === mr && u.key == null ? u.props.children : u, Yw(e, Array.isArray(w) ? w : [
43728
+ l.context = T, l.props = b, l.state = l.__s, (u = ge.__r) && u(t), l.__d = !1, l.__v = t, l.__P = e, u = l.render(l.props, l.state, l.context), l.state = l.__s, l.getChildContext != null && (i = Wn(Wn({}, i), l.getChildContext())), f || l.getSnapshotBeforeUpdate == null || (m = l.getSnapshotBeforeUpdate(c, d)), w = u != null && u.type === mr && u.key == null ? u.props.children : u, Yw(e, Array.isArray(w) ? w : [
43724
43729
  w
43725
43730
  ], t, n, i, r, s, a, o, A), l.base = t.__e, t.__h = null, l.__h.length && a.push(l), g && (l.__E = l.__ = null), l.__e = !1;
43726
43731
  } else s == null && t.__v === n.__v ? (t.__k = n.__k, t.__e = n.__e) : t.__e = fU(n.__e, t, n, i, r, s, a, A);
@@ -44265,7 +44270,7 @@ async function kU(e) {
44265
44270
  g
44266
44271
  ]).map((y) => (b ? y.split(/[-|_|\s]+/) : [
44267
44272
  y
44268
- ]).map((E) => E.toLowerCase())).flat();
44273
+ ]).map((T) => T.toLowerCase())).flat();
44269
44274
  }).flat().filter((g) => g && g.trim()).join(","), c.emoticons) for (const g of c.emoticons)
44270
44275
  Ie.emoticons[g] || (Ie.emoticons[g] = c.id);
44271
44276
  let m = 0;
@@ -46593,35 +46598,35 @@ const $U = L.div`
46593
46598
  handleReactionMessage: A
46594
46599
  }) => {
46595
46600
  const { roomsList: u, activeRoomJID: l } = Xt(), [f, c] = ae(!1), d = De(
46596
- (C) => C.chatSettingStore.config
46601
+ (E) => E.chatSettingStore.config
46597
46602
  ), m = () => {
46598
46603
  d?.disableInteractions || r({ visible: !1, x: 0, y: 0 });
46599
- }, g = (C) => {
46600
- C.target === C.currentTarget && m();
46601
- }, b = (C) => {
46602
- navigator.clipboard.writeText(C), m();
46604
+ }, g = (E) => {
46605
+ E.target === E.currentTarget && m();
46606
+ }, b = (E) => {
46607
+ navigator.clipboard.writeText(E), m();
46603
46608
  }, y = () => {
46604
46609
  s(), m();
46605
- }, E = () => {
46610
+ }, T = () => {
46606
46611
  a(), m();
46607
- }, w = (C, I) => {
46608
- I.target !== I.currentTarget && (console.log("emoji", C), A(C.id), m());
46609
- }, T = (C, I) => {
46610
- I.target === I.currentTarget && (Fo.emojis[C], A(C), m());
46611
- }, k = (C) => {
46612
- const I = Fo.emojis[C];
46612
+ }, w = (E, I) => {
46613
+ I.target !== I.currentTarget && (console.log("emoji", E), A(E.id), m());
46614
+ }, C = (E, I) => {
46615
+ I.target === I.currentTarget && (Fo.emojis[E], A(E), m());
46616
+ }, k = (E) => {
46617
+ const I = Fo.emojis[E];
46613
46618
  return I ? I.skins[0].native : "";
46614
- }, v = (C, I) => {
46619
+ }, v = (E, I) => {
46615
46620
  if (typeof window > "u")
46616
- return { adjustedX: C, adjustedY: I };
46621
+ return { adjustedX: E, adjustedY: I };
46617
46622
  const D = window.innerWidth, P = window.innerHeight;
46618
- let _ = C, Q = I;
46619
- return C + 320 > D && (_ = D - 320 - 10), I + 435 > P && (Q = P - 435 - 10), { adjustedX: _, adjustedY: Q };
46623
+ let _ = E, Q = I;
46624
+ return E + 320 > D && (_ = D - 320 - 10), I + 435 > P && (Q = P - 435 - 10), { adjustedX: _, adjustedY: Q };
46620
46625
  };
46621
46626
  return Ce(() => {
46622
46627
  if (typeof window > "u")
46623
46628
  return;
46624
- const C = () => {
46629
+ const E = () => {
46625
46630
  if (f) {
46626
46631
  const { adjustedX: I, adjustedY: B } = v(
46627
46632
  i.x,
@@ -46630,8 +46635,8 @@ const $U = L.div`
46630
46635
  r({ visible: !0, x: I, y: B });
46631
46636
  }
46632
46637
  };
46633
- return window.addEventListener("scroll", C), () => {
46634
- typeof window < "u" && window.removeEventListener("scroll", C);
46638
+ return window.addEventListener("scroll", E), () => {
46639
+ typeof window < "u" && window.removeEventListener("scroll", E);
46635
46640
  };
46636
46641
  }, [f, i.x, i.y]), d?.disableInteractions || !i.visible ? null : /* @__PURE__ */ p(We, { children: !n.isDeleted && /* @__PURE__ */ p(ej, { onClick: g, children: /* @__PURE__ */ F(
46637
46642
  JU,
@@ -46639,21 +46644,21 @@ const $U = L.div`
46639
46644
  style: { top: i.y, left: i.x },
46640
46645
  children: [
46641
46646
  /* @__PURE__ */ F(XU, { children: [
46642
- tj.map((C) => /* @__PURE__ */ p(
46647
+ tj.map((E) => /* @__PURE__ */ p(
46643
46648
  KU,
46644
46649
  {
46645
46650
  className: "apple-emoji",
46646
- onClick: (I) => T(C, I),
46647
- children: k(C)
46651
+ onClick: (I) => C(E, I),
46652
+ children: k(E)
46648
46653
  },
46649
- C
46654
+ E
46650
46655
  )),
46651
46656
  /* @__PURE__ */ p(
46652
46657
  ZU,
46653
46658
  {
46654
46659
  isRotated: f,
46655
- onClick: (C) => {
46656
- C.stopPropagation();
46660
+ onClick: (E) => {
46661
+ E.stopPropagation();
46657
46662
  const { adjustedX: I, adjustedY: B } = v(
46658
46663
  i.x,
46659
46664
  i.y
@@ -46673,7 +46678,7 @@ const $U = L.div`
46673
46678
  {
46674
46679
  skinTonePosition: "none",
46675
46680
  searchPosition: "static",
46676
- onEmojiSelect: (C, I) => w(C, I),
46681
+ onEmojiSelect: (E, I) => w(E, I),
46677
46682
  title: "Pick emoji",
46678
46683
  emoji: "point_up",
46679
46684
  theme: "light",
@@ -46707,7 +46712,7 @@ const $U = L.div`
46707
46712
  ] }),
46708
46713
  /* @__PURE__ */ p(ef, {})
46709
46714
  ] }),
46710
- (t || u?.[l].role === "moderator") && /* @__PURE__ */ F(Na, { onClick: E, children: [
46715
+ (t || u?.[l].role === "moderator") && /* @__PURE__ */ F(Na, { onClick: T, children: [
46711
46716
  Sa.DELETE,
46712
46717
  /* @__PURE__ */ p(Da.DELETE, {}),
46713
46718
  " "
@@ -47039,7 +47044,7 @@ const $U = L.div`
47039
47044
  }, 500);
47040
47045
  }, y = () => {
47041
47046
  g.current && (clearTimeout(g.current), g.current = null);
47042
- }, E = (I) => {
47047
+ }, T = (I) => {
47043
47048
  I?.name !== "Deleted User" && (u(pt(Le.PROFILE)), u(Ec(I)));
47044
47049
  }, w = () => {
47045
47050
  if (u(Vn({ isEdit: !1 })), !n && e.mainMessage) {
@@ -47051,7 +47056,7 @@ const $U = L.div`
47051
47056
  return u(
47052
47057
  hh({ id: e.id, chatJID: e.roomJid })
47053
47058
  );
47054
- }, T = () => {
47059
+ }, C = () => {
47055
47060
  u(
47056
47061
  po({
47057
47062
  isDeleteModal: !0,
@@ -47097,7 +47102,7 @@ const $U = L.div`
47097
47102
  [...e.reaction[s.xmppUsername]?.emoji || [], I],
47098
47103
  { firstName: s.firstName, lastName: s.lastName }
47099
47104
  );
47100
- }, C = A.has(e.id) || e?.pending || !1;
47105
+ }, E = A.has(e.id) || e?.pending || !1;
47101
47106
  return /* @__PURE__ */ F(We, { children: [
47102
47107
  /* @__PURE__ */ F(
47103
47108
  Ex,
@@ -47110,7 +47115,7 @@ const $U = L.div`
47110
47115
  !t && /* @__PURE__ */ p(
47111
47116
  Nx,
47112
47117
  {
47113
- onClick: () => e.user.name !== "Deleted User" ? E(e.user) : null,
47118
+ onClick: () => e.user.name !== "Deleted User" ? T(e.user) : null,
47114
47119
  children: e.user?.profileImage && e.user.profileImage !== "" ? /* @__PURE__ */ p(
47115
47120
  Ix,
47116
47121
  {
@@ -47168,12 +47173,12 @@ const $U = L.div`
47168
47173
  }
47169
47174
  ),
47170
47175
  /* @__PURE__ */ F(Tx, { children: [
47171
- !a?.disableSentLogic && t && C && "sending...",
47176
+ !a?.disableSentLogic && t && E && "sending...",
47172
47177
  new Date(e.date).toLocaleTimeString([], {
47173
47178
  hour: "2-digit",
47174
47179
  minute: "2-digit"
47175
47180
  }),
47176
- !a?.disableSentLogic && t && !C && /* @__PURE__ */ p(xT, {})
47181
+ !a?.disableSentLogic && t && !E && /* @__PURE__ */ p(xT, {})
47177
47182
  ] }),
47178
47183
  c && !e.isDeleted && /* @__PURE__ */ p(kj, { url: c, isUserMessage: t })
47179
47184
  ]
@@ -47212,7 +47217,7 @@ const $U = L.div`
47212
47217
  setContextMenu: f,
47213
47218
  contextMenu: l,
47214
47219
  handleReplyMessage: w,
47215
- handleDeleteMessage: T,
47220
+ handleDeleteMessage: C,
47216
47221
  handleEditMessage: k,
47217
47222
  handleReactionMessage: v
47218
47223
  }
@@ -47277,12 +47282,12 @@ const $U = L.div`
47277
47282
  b
47278
47283
  );
47279
47284
  console.log("google log after register res", w);
47280
- const T = {
47285
+ const C = {
47281
47286
  ...w.data.user,
47282
47287
  token: w.data.token,
47283
47288
  refreshToken: w.data.refreshToken
47284
47289
  };
47285
- t(Un(T)), as(ji.ETHORA_USER).set(T);
47290
+ t(Un(C)), as(ji.ETHORA_USER).set(C);
47286
47291
  } catch {
47287
47292
  console.log("error registering user viag google");
47288
47293
  }
@@ -47293,12 +47298,12 @@ const $U = L.div`
47293
47298
  b
47294
47299
  );
47295
47300
  console.log("google log res", w);
47296
- const T = {
47301
+ const C = {
47297
47302
  ...w.data.user,
47298
47303
  token: w.data.token,
47299
47304
  refreshToken: w.data.refreshToken
47300
47305
  };
47301
- t(Un(T)), as(ji.ETHORA_USER).set(T);
47306
+ t(Un(C)), as(ji.ETHORA_USER).set(C);
47302
47307
  }
47303
47308
  } catch (y) {
47304
47309
  console.log(y);
@@ -47513,7 +47518,7 @@ const $U = L.div`
47513
47518
  }
47514
47519
  },
47515
47520
  [i?.client?.jid]
47516
- ), E = ce(
47521
+ ), T = ce(
47517
47522
  (I) => {
47518
47523
  u(
47519
47524
  I,
@@ -47536,7 +47541,7 @@ const $U = L.div`
47536
47541
  );
47537
47542
  },
47538
47543
  [e]
47539
- ), T = ce(() => {
47544
+ ), C = ce(() => {
47540
47545
  A?.disableTypingIndicator || i.sendTypingRequestStanza(
47541
47546
  e.roomJid,
47542
47547
  `${t.firstName} ${t.lastName}`,
@@ -47550,7 +47555,7 @@ const $U = L.div`
47550
47555
  );
47551
47556
  }, []), v = () => {
47552
47557
  r(Vn({ isEdit: !1 }));
47553
- }, C = () => {
47558
+ }, E = () => {
47554
47559
  r(c6({ chatJID: e.roomJid })), r(Vn({ isEdit: !1 }));
47555
47560
  };
47556
47561
  return /* @__PURE__ */ F(
@@ -47565,7 +47570,7 @@ const $U = L.div`
47565
47570
  Ut,
47566
47571
  {
47567
47572
  headerTitle: "Thread",
47568
- handleCloseModal: C
47573
+ handleCloseModal: E
47569
47574
  }
47570
47575
  ),
47571
47576
  /* @__PURE__ */ p(
@@ -47606,7 +47611,7 @@ const $U = L.div`
47606
47611
  cursor: "pointer",
47607
47612
  borderBottom: "1px solid"
47608
47613
  },
47609
- onClick: C,
47614
+ onClick: E,
47610
47615
  children: a[e.roomJid].name
47611
47616
  }
47612
47617
  )
@@ -47619,9 +47624,9 @@ const $U = L.div`
47619
47624
  {
47620
47625
  editMessage: o.text,
47621
47626
  sendMedia: w,
47622
- sendMessage: o.isEdit ? f : E,
47627
+ sendMessage: o.isEdit ? f : T,
47623
47628
  config: A,
47624
- onFocus: T,
47629
+ onFocus: C,
47625
47630
  onBlur: k,
47626
47631
  isLoading: s,
47627
47632
  isMessageProcessing: c(
@@ -47983,11 +47988,11 @@ const Fj = ({
47983
47988
  wasAutoSelected: t,
47984
47989
  config: n
47985
47990
  }) => {
47986
- const i = Ge(), [r, s] = ae(!1), [a, o] = ae(!1), [A, u] = ae(!1), [l, f] = ae(!1), c = Ne(!1), { client: d, initializeClient: m, setClient: g } = Pt(), b = Mw(), { rooms: y } = De((v) => v.rooms), { roomsList: E } = Xt(), { user: w } = Tt();
47991
+ const i = Ge(), [r, s] = ae(!1), [a, o] = ae(!1), [A, u] = ae(!1), [l, f] = ae(!1), c = Ne(!1), { client: d, initializeClient: m, setClient: g } = Pt(), b = Mw(), { rooms: y } = De((v) => v.rooms), { roomsList: T } = Xt(), { user: w } = Tt();
47987
47992
  Ce(() => () => {
47988
47993
  d && w.xmppPassword === "" && (console.log("closing client"), d.close(), g(null));
47989
47994
  }, [w.xmppPassword]);
47990
- const T = async () => {
47995
+ const C = async () => {
47991
47996
  if (f(!0), !await Oj(
47992
47997
  d,
47993
47998
  n,
@@ -47998,8 +48003,8 @@ const Fj = ({
47998
48003
  return;
47999
48004
  }
48000
48005
  f(!1);
48001
- }, k = async (v, C = !1) => {
48002
- !C && i(
48006
+ }, k = async (v, E = !1) => {
48007
+ !E && i(
48003
48008
  yt({ loading: !0, loadingText: "Loading rooms..." })
48004
48009
  );
48005
48010
  const I = await b(v, n);
@@ -48007,7 +48012,7 @@ const Fj = ({
48007
48012
  };
48008
48013
  return Ce(() => {
48009
48014
  let v;
48010
- const C = async () => {
48015
+ const E = async () => {
48011
48016
  n?.translates?.enabled && !n?.translates?.translations && i(Gg(n?.translates?.translations)), i(Z4(n));
48012
48017
  try {
48013
48018
  if (!w.xmppUsername)
@@ -48015,8 +48020,8 @@ const Fj = ({
48015
48020
  else if (Pj({ roomJID: e, wasAutoSelected: t, config: n, dispatch: i }), d)
48016
48021
  n?.newArch && n?.enableRoomsRetry?.enabled && (lc(
48017
48022
  e,
48018
- E
48019
- ) || await T()), s(!0), await d.getChatsPrivateStoreRequestStanza().then(
48023
+ T
48024
+ ) || await C()), s(!0), await d.getChatsPrivateStoreRequestStanza().then(
48020
48025
  async (I) => {
48021
48026
  bo(I, i), c.current || (await Ag(y, d), c.current = !0), g(d), u(!1);
48022
48027
  }
@@ -48028,16 +48033,16 @@ const Fj = ({
48028
48033
  w.xmppUsername || w?.defaultWallet?.walletAddress,
48029
48034
  w?.xmppPassword,
48030
48035
  n?.xmppSettings,
48031
- E
48036
+ T
48032
48037
  ).then((B) => B);
48033
- if (E && Object.keys(E).length > 0)
48034
- s(!0), await O2(I, E);
48038
+ if (T && Object.keys(T).length > 0)
48039
+ s(!0), await O2(I, T);
48035
48040
  else if (n?.newArch) {
48036
48041
  const B = await k(I);
48037
48042
  n?.enableRoomsRetry?.enabled && (lc(
48038
48043
  e,
48039
48044
  B
48040
- ) || await T()), s(!0);
48045
+ ) || await C()), s(!0);
48041
48046
  } else
48042
48047
  await I.getRoomsStanza();
48043
48048
  await I.getChatsPrivateStoreRequestStanza().then(
@@ -48046,14 +48051,14 @@ const Fj = ({
48046
48051
  }
48047
48052
  ), n?.refreshTokens?.enabled && pf();
48048
48053
  } catch (I) {
48049
- console.log("err", I), u(!0), v = setTimeout(C, 5e3);
48054
+ console.log("err", I), u(!0), v = setTimeout(E, 5e3);
48050
48055
  }
48051
48056
  i(yt({ loading: !1 }));
48052
48057
  } catch (I) {
48053
- o(!1), u(!0), s(!1), i(yt({ loading: !1 })), console.log(I), v = setTimeout(C, 5e3);
48058
+ o(!1), u(!0), s(!1), i(yt({ loading: !1 })), console.log(I), v = setTimeout(E, 5e3);
48054
48059
  }
48055
48060
  };
48056
- return C(), () => {
48061
+ return E(), () => {
48057
48062
  clearTimeout(v);
48058
48063
  };
48059
48064
  }, [w.xmppPassword, w.xmppUsername]), {
@@ -48195,9 +48200,9 @@ const Fj = ({
48195
48200
  }, []);
48196
48201
  const g = (H) => {
48197
48202
  u(H);
48198
- }, { rooms: b, activeRoomJID: y, reportRoom: E } = De(
48203
+ }, { rooms: b, activeRoomJID: y, reportRoom: T } = De(
48199
48204
  (H) => H.rooms
48200
- ), { loadingText: w } = Xt(), T = Ve(() => {
48205
+ ), { loadingText: w } = Xt(), C = Ve(() => {
48201
48206
  if (y)
48202
48207
  return b[y]?.messages?.find(
48203
48208
  (H) => H?.activeMessage
@@ -48206,7 +48211,7 @@ const Fj = ({
48206
48211
  d(Et({ roomJID: null })), d(yt({ chatJID: H.jid, loading: !0 })), d(Et({ roomJID: H.jid })), d(Vn({ isEdit: !1 })), g(!0), !H?.historyComplete && H.messages?.length < 30 && I?.getHistoryStanza(H.jid, 30);
48207
48212
  }, v = () => {
48208
48213
  I.deleteMessageStanza(o.roomJid, o.messageId), d(po({ isDeleteModal: !1 }));
48209
- }, C = () => {
48214
+ }, E = () => {
48210
48215
  d(po({ isDeleteModal: !1 }));
48211
48216
  }, {
48212
48217
  client: I,
@@ -48293,10 +48298,10 @@ const Fj = ({
48293
48298
  onRoomClick: k
48294
48299
  }
48295
48300
  )),
48296
- l ? A ? T?.activeMessage ? /* @__PURE__ */ p(
48301
+ l ? A ? C?.activeMessage ? /* @__PURE__ */ p(
48297
48302
  ag,
48298
48303
  {
48299
- activeMessage: T,
48304
+ activeMessage: C,
48300
48305
  user: s,
48301
48306
  customMessageComponent: r
48302
48307
  }
@@ -48312,10 +48317,10 @@ const Fj = ({
48312
48317
  CustomMessageComponent: r,
48313
48318
  handleBackClick: g
48314
48319
  }
48315
- ) : null : T?.activeMessage ? /* @__PURE__ */ p(
48320
+ ) : null : C?.activeMessage ? /* @__PURE__ */ p(
48316
48321
  ag,
48317
48322
  {
48318
- activeMessage: T,
48323
+ activeMessage: C,
48319
48324
  user: s,
48320
48325
  customMessageComponent: r
48321
48326
  }
@@ -48349,10 +48354,10 @@ const Fj = ({
48349
48354
  buttonText: "Delete",
48350
48355
  backgroundColorButton: "#E53935",
48351
48356
  handleClick: v,
48352
- handleCloseModal: C
48357
+ handleCloseModal: E
48353
48358
  }
48354
48359
  ),
48355
- E.isOpen && /* @__PURE__ */ p(Rj, {})
48360
+ T.isOpen && /* @__PURE__ */ p(Rj, {})
48356
48361
  ] });
48357
48362
  }, Yj = ({ ...e }) => {
48358
48363
  const [t, n] = ae(!1), { config: i, MainComponentStyles: r } = e, { user: s } = De((A) => A.chatSettingStore), a = ce(async () => {