@ethora/chat-component 25.3.17 → 25.3.18
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 +184 -184
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -68,10 +68,10 @@ var bm = function(e, i, t = "error", r) {
|
|
|
68
68
|
o(), a(new wm());
|
|
69
69
|
}, r));
|
|
70
70
|
});
|
|
71
|
-
}, to = { exports: {} },
|
|
71
|
+
}, to = { exports: {} }, Qi = typeof Reflect == "object" ? Reflect : null, lf = Qi && typeof Qi.apply == "function" ? Qi.apply : function(e, i, t) {
|
|
72
72
|
return Function.prototype.apply.call(e, i, t);
|
|
73
73
|
}, br;
|
|
74
|
-
|
|
74
|
+
Qi && typeof Qi.ownKeys == "function" ? br = Qi.ownKeys : Object.getOwnPropertySymbols ? br = function(e) {
|
|
75
75
|
return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
|
|
76
76
|
} : br = function(e) {
|
|
77
77
|
return Object.getOwnPropertyNames(e);
|
|
@@ -1180,7 +1180,7 @@ var pp = function({ entity: e }) {
|
|
|
1180
1180
|
const vp = {}, wp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1181
1181
|
__proto__: null,
|
|
1182
1182
|
default: vp
|
|
1183
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1183
|
+
}, Symbol.toStringTag, { value: "Module" })), zi = /* @__PURE__ */ gm(wp), Xl = zi, kf = window.WebSocket || Xl, bp = ys, Aa = "ECONNERROR";
|
|
1184
1184
|
let yp = class extends bp {
|
|
1185
1185
|
constructor() {
|
|
1186
1186
|
super(), this.listeners = /* @__PURE__ */ Object.create(null);
|
|
@@ -1501,7 +1501,7 @@ _l.compare = function(e, i) {
|
|
|
1501
1501
|
let r;
|
|
1502
1502
|
return e.method === i.method ? r = 0 : e.method === "websocket" ? r = -1 : i.method === "websocket" ? r = 1 : e.method === "xbosh" ? r = -1 : i.method === "xbosh" ? r = 1 : e.method === "httppoll" ? r = -1 : i.method === "httppoll" ? r = 1 : r = 0, r !== 0 ? r : 0;
|
|
1503
1503
|
};
|
|
1504
|
-
const hv = window.fetch ||
|
|
1504
|
+
const hv = window.fetch || zi, gv = uv, mv = _l.compare;
|
|
1505
1505
|
function pv(n) {
|
|
1506
1506
|
return hv(`https://${n}/.well-known/host-meta`).then((e) => e.text()).then((e) => gv(e).getChildren("Link").filter(
|
|
1507
1507
|
(i) => [
|
|
@@ -1517,7 +1517,7 @@ function pv(n) {
|
|
|
1517
1517
|
})).sort(mv)).catch(() => []);
|
|
1518
1518
|
}
|
|
1519
1519
|
Zl.resolve = pv;
|
|
1520
|
-
const Yr =
|
|
1520
|
+
const Yr = zi, $l = Zl;
|
|
1521
1521
|
Es.exports = function(...e) {
|
|
1522
1522
|
return Promise.all([
|
|
1523
1523
|
Yr.resolve ? Yr.resolve(...e) : Promise.resolve([]),
|
|
@@ -2328,7 +2328,7 @@ var tu = { exports: {} };
|
|
|
2328
2328
|
}
|
|
2329
2329
|
return x;
|
|
2330
2330
|
}, p = function(w, x) {
|
|
2331
|
-
var S =
|
|
2331
|
+
var S = zi, P = zi.Buffer, B = x ? "sha224" : "sha256", E;
|
|
2332
2332
|
P.from && !t.JS_SHA256_NO_BUFFER_FROM ? E = P.from : E = function(D) {
|
|
2333
2333
|
return new P(D);
|
|
2334
2334
|
};
|
|
@@ -2991,7 +2991,7 @@ function Le(n, ...e) {
|
|
|
2991
2991
|
`[Immer] minified error nr: ${n}. Full error at: https://bit.ly/3cXEKWf`
|
|
2992
2992
|
);
|
|
2993
2993
|
}
|
|
2994
|
-
var
|
|
2994
|
+
var qi = Object.getPrototypeOf;
|
|
2995
2995
|
function ii(n) {
|
|
2996
2996
|
return !!n && !!n[Ve];
|
|
2997
2997
|
}
|
|
@@ -3003,7 +3003,7 @@ var G0 = Object.prototype.constructor.toString();
|
|
|
3003
3003
|
function lu(n) {
|
|
3004
3004
|
if (!n || typeof n != "object")
|
|
3005
3005
|
return !1;
|
|
3006
|
-
const e =
|
|
3006
|
+
const e = qi(n);
|
|
3007
3007
|
if (e === null)
|
|
3008
3008
|
return !0;
|
|
3009
3009
|
const i = Object.hasOwnProperty.call(e, "constructor") && e.constructor;
|
|
@@ -3059,9 +3059,9 @@ function sA(n, e) {
|
|
|
3059
3059
|
value: n[a]
|
|
3060
3060
|
});
|
|
3061
3061
|
}
|
|
3062
|
-
return Object.create(
|
|
3062
|
+
return Object.create(qi(n), t);
|
|
3063
3063
|
} else {
|
|
3064
|
-
const t =
|
|
3064
|
+
const t = qi(n);
|
|
3065
3065
|
if (t !== null && i)
|
|
3066
3066
|
return { ...n };
|
|
3067
3067
|
const r = Object.create(t);
|
|
@@ -3078,7 +3078,7 @@ function Ns(n) {
|
|
|
3078
3078
|
return Object.isFrozen(n);
|
|
3079
3079
|
}
|
|
3080
3080
|
var V0 = {};
|
|
3081
|
-
function
|
|
3081
|
+
function Bi(n) {
|
|
3082
3082
|
const e = V0[n];
|
|
3083
3083
|
return e || Le(0, n), e;
|
|
3084
3084
|
}
|
|
@@ -3098,7 +3098,7 @@ function U0(n, e) {
|
|
|
3098
3098
|
};
|
|
3099
3099
|
}
|
|
3100
3100
|
function Gf(n, e) {
|
|
3101
|
-
e && (
|
|
3101
|
+
e && (Bi("Patches"), n.patches_ = [], n.inversePatches_ = [], n.patchListener_ = e);
|
|
3102
3102
|
}
|
|
3103
3103
|
function aA(n) {
|
|
3104
3104
|
AA(n), n.drafts_.forEach(X0), n.drafts_ = null;
|
|
@@ -3116,7 +3116,7 @@ function X0(n) {
|
|
|
3116
3116
|
function qf(n, e) {
|
|
3117
3117
|
e.unfinalizedDrafts_ = e.drafts_.length;
|
|
3118
3118
|
const i = e.drafts_[0];
|
|
3119
|
-
return n !== void 0 && n !== i ? (i[Ve].modified_ && (aA(e), Le(4)), jn(n) && (n = zr(e, n), e.parent_ || qr(e, n)), e.patches_ &&
|
|
3119
|
+
return n !== void 0 && n !== i ? (i[Ve].modified_ && (aA(e), Le(4)), jn(n) && (n = zr(e, n), e.parent_ || qr(e, n)), e.patches_ && Bi("Patches").generateReplacementPatches_(
|
|
3120
3120
|
i[Ve].base_,
|
|
3121
3121
|
n,
|
|
3122
3122
|
e.patches_,
|
|
@@ -3143,7 +3143,7 @@ function zr(n, e, i) {
|
|
|
3143
3143
|
t.type_ === 3 && (s = new Set(r), r.clear(), a = !0), Gr(
|
|
3144
3144
|
s,
|
|
3145
3145
|
(A, o) => Vf(n, t, r, A, o, i, a)
|
|
3146
|
-
), qr(n, r, !1), i && n.patches_ &&
|
|
3146
|
+
), qr(n, r, !1), i && n.patches_ && Bi("Patches").generatePatches_(
|
|
3147
3147
|
t,
|
|
3148
3148
|
i,
|
|
3149
3149
|
n.patches_,
|
|
@@ -3249,7 +3249,7 @@ var ho = {
|
|
|
3249
3249
|
Le(11);
|
|
3250
3250
|
},
|
|
3251
3251
|
getPrototypeOf(n) {
|
|
3252
|
-
return
|
|
3252
|
+
return qi(n.base_);
|
|
3253
3253
|
},
|
|
3254
3254
|
setPrototypeOf() {
|
|
3255
3255
|
Le(12);
|
|
@@ -3282,12 +3282,12 @@ function K0(n, e, i) {
|
|
|
3282
3282
|
function gu(n, e) {
|
|
3283
3283
|
if (!(e in n))
|
|
3284
3284
|
return;
|
|
3285
|
-
let i =
|
|
3285
|
+
let i = qi(n);
|
|
3286
3286
|
for (; i; ) {
|
|
3287
3287
|
const t = Object.getOwnPropertyDescriptor(i, e);
|
|
3288
3288
|
if (t)
|
|
3289
3289
|
return t;
|
|
3290
|
-
i =
|
|
3290
|
+
i = qi(i);
|
|
3291
3291
|
}
|
|
3292
3292
|
}
|
|
3293
3293
|
function oA(n) {
|
|
@@ -3324,7 +3324,7 @@ var Z0 = class {
|
|
|
3324
3324
|
} else if (!e || typeof e != "object") {
|
|
3325
3325
|
if (r = i(e), r === void 0 && (r = e), r === cu && (r = void 0), this.autoFreeze_ && uo(r, !0), t) {
|
|
3326
3326
|
const s = [], a = [];
|
|
3327
|
-
|
|
3327
|
+
Bi("Patches").generateReplacementPatches_(e, r, s, a), t(s, a);
|
|
3328
3328
|
}
|
|
3329
3329
|
return r;
|
|
3330
3330
|
} else
|
|
@@ -3375,7 +3375,7 @@ var Z0 = class {
|
|
|
3375
3375
|
}
|
|
3376
3376
|
}
|
|
3377
3377
|
i > -1 && (e = e.slice(i + 1));
|
|
3378
|
-
const t =
|
|
3378
|
+
const t = Bi("Patches").applyPatches_;
|
|
3379
3379
|
return ii(n) ? t(n, e) : this.produce(
|
|
3380
3380
|
n,
|
|
3381
3381
|
(r) => t(r, e)
|
|
@@ -3383,7 +3383,7 @@ var Z0 = class {
|
|
|
3383
3383
|
}
|
|
3384
3384
|
};
|
|
3385
3385
|
function fA(n, e) {
|
|
3386
|
-
const i = Ds(n) ?
|
|
3386
|
+
const i = Ds(n) ? Bi("MapSet").proxyMap_(n, e) : Is(n) ? Bi("MapSet").proxySet_(n, e) : J0(n, e);
|
|
3387
3387
|
return (e ? e.scope_ : hu()).drafts_.push(i), i;
|
|
3388
3388
|
}
|
|
3389
3389
|
function mu(n) {
|
|
@@ -3669,7 +3669,7 @@ var h2 = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? wi
|
|
|
3669
3669
|
if (arguments.length !== 0)
|
|
3670
3670
|
return typeof arguments[0] == "object" ? Hr : Hr.apply(null, arguments);
|
|
3671
3671
|
}, g2 = (n) => n && typeof n.match == "function";
|
|
3672
|
-
function
|
|
3672
|
+
function Vi(n, e) {
|
|
3673
3673
|
function i(...t) {
|
|
3674
3674
|
if (e) {
|
|
3675
3675
|
let r = e(...t);
|
|
@@ -4313,7 +4313,7 @@ function L2({
|
|
|
4313
4313
|
s = t.reducer, a = t.prepare;
|
|
4314
4314
|
} else
|
|
4315
4315
|
s = t;
|
|
4316
|
-
r.addCase(n, s).exposeCaseReducer(e, s).exposeAction(e, a ?
|
|
4316
|
+
r.addCase(n, s).exposeCaseReducer(e, s).exposeAction(e, a ? Vi(n, a) : Vi(n));
|
|
4317
4317
|
}
|
|
4318
4318
|
function R2(n) {
|
|
4319
4319
|
return n._reducerDefinitionType === "asyncThunk";
|
|
@@ -4356,7 +4356,7 @@ var H2 = (n, e) => {
|
|
|
4356
4356
|
effect: s
|
|
4357
4357
|
} = n;
|
|
4358
4358
|
if (e)
|
|
4359
|
-
r =
|
|
4359
|
+
r = Vi(e).match;
|
|
4360
4360
|
else if (i)
|
|
4361
4361
|
e = i.type, r = i.match;
|
|
4362
4362
|
else if (t)
|
|
@@ -4385,17 +4385,17 @@ var H2 = (n, e) => {
|
|
|
4385
4385
|
};
|
|
4386
4386
|
}, {
|
|
4387
4387
|
withTypes: () => z2
|
|
4388
|
-
}), q2 = Object.assign(
|
|
4388
|
+
}), q2 = Object.assign(Vi(`${mo}/add`), {
|
|
4389
4389
|
withTypes: () => q2
|
|
4390
4390
|
});
|
|
4391
|
-
|
|
4392
|
-
var V2 = Object.assign(
|
|
4391
|
+
Vi(`${mo}/removeAll`);
|
|
4392
|
+
var V2 = Object.assign(Vi(`${mo}/remove`), {
|
|
4393
4393
|
withTypes: () => V2
|
|
4394
4394
|
});
|
|
4395
4395
|
function he(n) {
|
|
4396
4396
|
return `Minified Redux Toolkit error #${n}; visit https://redux-toolkit.js.org/Errors?code=${n} for the full message or use the non-minified dev environment for full errors. `;
|
|
4397
4397
|
}
|
|
4398
|
-
const
|
|
4398
|
+
const Fi = {
|
|
4399
4399
|
ETHORA_USER: "@ethora/chat-component-user"
|
|
4400
4400
|
};
|
|
4401
4401
|
function bt(n) {
|
|
@@ -4501,7 +4501,7 @@ const la = (n) => {
|
|
|
4501
4501
|
initialState: U2,
|
|
4502
4502
|
reducers: {
|
|
4503
4503
|
setUser: (n, e) => {
|
|
4504
|
-
n.user = la(e.payload), bt(
|
|
4504
|
+
n.user = la(e.payload), bt(Fi.ETHORA_USER).set(
|
|
4505
4505
|
la(e.payload)
|
|
4506
4506
|
);
|
|
4507
4507
|
},
|
|
@@ -4532,19 +4532,19 @@ const la = (n) => {
|
|
|
4532
4532
|
},
|
|
4533
4533
|
refreshTokens: (n, e) => {
|
|
4534
4534
|
n.user.refreshToken = e.payload.refreshToken, n.user.token = e.payload.token, localStorage.setItem(
|
|
4535
|
-
|
|
4535
|
+
Fi.ETHORA_USER,
|
|
4536
4536
|
JSON.stringify(n.user)
|
|
4537
4537
|
);
|
|
4538
4538
|
},
|
|
4539
4539
|
logout: (n) => {
|
|
4540
|
-
n.user = la(), n.config = void 0, localStorage.removeItem(
|
|
4540
|
+
n.user = la(), n.config = void 0, localStorage.removeItem(Fi.ETHORA_USER);
|
|
4541
4541
|
}
|
|
4542
4542
|
}
|
|
4543
4543
|
}), {
|
|
4544
4544
|
setUser: Kn,
|
|
4545
4545
|
setConfig: X2,
|
|
4546
4546
|
refreshTokens: Pu,
|
|
4547
|
-
logout:
|
|
4547
|
+
logout: Ui,
|
|
4548
4548
|
setActiveModal: Qe,
|
|
4549
4549
|
setDeleteModal: Ur,
|
|
4550
4550
|
setSelectedUser: po,
|
|
@@ -4793,7 +4793,7 @@ const ew = {
|
|
|
4793
4793
|
setActiveMessage: $f,
|
|
4794
4794
|
setCloseActiveMessage: Aw,
|
|
4795
4795
|
deleteRoom: wo,
|
|
4796
|
-
updateRoom:
|
|
4796
|
+
updateRoom: bi,
|
|
4797
4797
|
addRoomViaApi: bo,
|
|
4798
4798
|
updateUsersSet: Fu,
|
|
4799
4799
|
setOpenReportModal: Lu
|
|
@@ -4814,7 +4814,7 @@ const fw = (n) => (e) => (i) => {
|
|
|
4814
4814
|
(h) => h.id !== "delimiter-new" && new Date(h.date).getTime() > (o.lastViewedTimestamp || 0)
|
|
4815
4815
|
).length;
|
|
4816
4816
|
o.unreadMessages !== l && n.dispatch(
|
|
4817
|
-
|
|
4817
|
+
bi({
|
|
4818
4818
|
jid: A,
|
|
4819
4819
|
updates: { unreadMessages: l }
|
|
4820
4820
|
})
|
|
@@ -5267,7 +5267,7 @@ const Rw = (n) => (e) => (i) => {
|
|
|
5267
5267
|
return e(i);
|
|
5268
5268
|
const t = e(i), s = n.getState().rooms.rooms, { roomJID: a, message: A } = i.payload;
|
|
5269
5269
|
return ((o = s[a]) == null ? void 0 : o.lastMessageTimestamp) <= Number(A.id) && n.dispatch(
|
|
5270
|
-
|
|
5270
|
+
bi({
|
|
5271
5271
|
jid: a,
|
|
5272
5272
|
updates: { lastMessageTimestamp: Number(A.id) ?? 0 }
|
|
5273
5273
|
})
|
|
@@ -5306,7 +5306,7 @@ function oi() {
|
|
|
5306
5306
|
var s;
|
|
5307
5307
|
if (typeof window < "u" && window.crypto && (s = window.crypto), typeof self < "u" && self.crypto && (s = self.crypto), typeof globalThis < "u" && globalThis.crypto && (s = globalThis.crypto), !s && typeof window < "u" && window.msCrypto && (s = window.msCrypto), !s && typeof window < "u" && window.crypto && (s = window.crypto), !s && typeof Yw == "function")
|
|
5308
5308
|
try {
|
|
5309
|
-
s =
|
|
5309
|
+
s = zi;
|
|
5310
5310
|
} catch {
|
|
5311
5311
|
}
|
|
5312
5312
|
var a = function() {
|
|
@@ -7758,7 +7758,7 @@ function l1(n, e) {
|
|
|
7758
7758
|
return n && !vy(e) ? wy(n, e) : e;
|
|
7759
7759
|
}
|
|
7760
7760
|
const bd = (n) => n instanceof We ? { ...n } : n;
|
|
7761
|
-
function
|
|
7761
|
+
function Di(n, e) {
|
|
7762
7762
|
e = e || {};
|
|
7763
7763
|
const i = {};
|
|
7764
7764
|
function t(f, d, c) {
|
|
@@ -7823,7 +7823,7 @@ function Ii(n, e) {
|
|
|
7823
7823
|
}), i;
|
|
7824
7824
|
}
|
|
7825
7825
|
const u1 = (n) => {
|
|
7826
|
-
const e =
|
|
7826
|
+
const e = Di({}, n);
|
|
7827
7827
|
let { data: i, withXSRFToken: t, xsrfHeaderName: r, xsrfCookieName: s, headers: a, auth: A } = e;
|
|
7828
7828
|
e.headers = a = We.from(a), e.url = A1(l1(e.baseURL, e.url), n.params, n.paramsSerializer), A && a.set(
|
|
7829
7829
|
"Authorization",
|
|
@@ -8193,7 +8193,7 @@ const wA = {
|
|
|
8193
8193
|
assertOptions: Sy,
|
|
8194
8194
|
validators: No
|
|
8195
8195
|
}, Hn = wA.validators;
|
|
8196
|
-
class
|
|
8196
|
+
class yi {
|
|
8197
8197
|
constructor(e) {
|
|
8198
8198
|
this.defaults = e, this.interceptors = {
|
|
8199
8199
|
request: new vd(),
|
|
@@ -8226,7 +8226,7 @@ class ki {
|
|
|
8226
8226
|
}
|
|
8227
8227
|
}
|
|
8228
8228
|
_request(e, i) {
|
|
8229
|
-
typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i =
|
|
8229
|
+
typeof e == "string" ? (i = i || {}, i.url = e) : i = e || {}, i = Di(this.defaults, i);
|
|
8230
8230
|
const { transitional: t, paramsSerializer: r, headers: s } = i;
|
|
8231
8231
|
t !== void 0 && wA.assertOptions(t, {
|
|
8232
8232
|
silentJSONParsing: Hn.transitional(Hn.boolean),
|
|
@@ -8285,14 +8285,14 @@ class ki {
|
|
|
8285
8285
|
return d;
|
|
8286
8286
|
}
|
|
8287
8287
|
getUri(e) {
|
|
8288
|
-
e =
|
|
8288
|
+
e = Di(this.defaults, e);
|
|
8289
8289
|
const i = l1(e.baseURL, e.url);
|
|
8290
8290
|
return A1(i, e.params, e.paramsSerializer);
|
|
8291
8291
|
}
|
|
8292
8292
|
}
|
|
8293
8293
|
L.forEach(["delete", "get", "head", "options"], function(e) {
|
|
8294
|
-
|
|
8295
|
-
return this.request(
|
|
8294
|
+
yi.prototype[e] = function(i, t) {
|
|
8295
|
+
return this.request(Di(t || {}, {
|
|
8296
8296
|
method: e,
|
|
8297
8297
|
url: i,
|
|
8298
8298
|
data: (t || {}).data
|
|
@@ -8302,7 +8302,7 @@ L.forEach(["delete", "get", "head", "options"], function(e) {
|
|
|
8302
8302
|
L.forEach(["post", "put", "patch"], function(e) {
|
|
8303
8303
|
function i(t) {
|
|
8304
8304
|
return function(s, a, A) {
|
|
8305
|
-
return this.request(
|
|
8305
|
+
return this.request(Di(A || {}, {
|
|
8306
8306
|
method: e,
|
|
8307
8307
|
headers: t ? {
|
|
8308
8308
|
"Content-Type": "multipart/form-data"
|
|
@@ -8312,7 +8312,7 @@ L.forEach(["post", "put", "patch"], function(e) {
|
|
|
8312
8312
|
}));
|
|
8313
8313
|
};
|
|
8314
8314
|
}
|
|
8315
|
-
|
|
8315
|
+
yi.prototype[e] = i(), yi.prototype[e + "Form"] = i(!0);
|
|
8316
8316
|
});
|
|
8317
8317
|
class So {
|
|
8318
8318
|
constructor(e) {
|
|
@@ -8458,13 +8458,13 @@ Object.entries(bA).forEach(([n, e]) => {
|
|
|
8458
8458
|
bA[e] = n;
|
|
8459
8459
|
});
|
|
8460
8460
|
function p1(n) {
|
|
8461
|
-
const e = new
|
|
8462
|
-
return L.extend(i,
|
|
8463
|
-
return p1(
|
|
8461
|
+
const e = new yi(n), i = Ju(yi.prototype.request, e);
|
|
8462
|
+
return L.extend(i, yi.prototype, e, { allOwnKeys: !0 }), L.extend(i, e, null, { allOwnKeys: !0 }), i.create = function(r) {
|
|
8463
|
+
return p1(Di(n, r));
|
|
8464
8464
|
}, i;
|
|
8465
8465
|
}
|
|
8466
8466
|
const De = p1(Lt);
|
|
8467
|
-
De.Axios =
|
|
8467
|
+
De.Axios = yi;
|
|
8468
8468
|
De.CanceledError = ot;
|
|
8469
8469
|
De.CancelToken = So;
|
|
8470
8470
|
De.isCancel = d1;
|
|
@@ -8477,7 +8477,7 @@ De.all = function(e) {
|
|
|
8477
8477
|
};
|
|
8478
8478
|
De.spread = Py;
|
|
8479
8479
|
De.isAxiosError = Oy;
|
|
8480
|
-
De.mergeConfig =
|
|
8480
|
+
De.mergeConfig = Di;
|
|
8481
8481
|
De.AxiosHeaders = We;
|
|
8482
8482
|
De.formToJSON = (n) => f1(L.isHTMLForm(n) ? new FormData(n) : n);
|
|
8483
8483
|
De.getAdapter = g1.getAdapter;
|
|
@@ -8512,7 +8512,7 @@ function yA() {
|
|
|
8512
8512
|
e(t);
|
|
8513
8513
|
});
|
|
8514
8514
|
} catch (t) {
|
|
8515
|
-
console.log("errr"), _.dispatch(
|
|
8515
|
+
console.log("errr"), _.dispatch(Ui()), e(t);
|
|
8516
8516
|
}
|
|
8517
8517
|
});
|
|
8518
8518
|
}
|
|
@@ -8532,7 +8532,7 @@ Ce.interceptors.response.use(
|
|
|
8532
8532
|
if (!n.response || n.response.status !== 401)
|
|
8533
8533
|
return Promise.reject(n);
|
|
8534
8534
|
if (e.url === "/users/login/refresh" || e.url === "/users/login")
|
|
8535
|
-
return _.dispatch(
|
|
8535
|
+
return _.dispatch(Ui()), Promise.reject(n);
|
|
8536
8536
|
if (e._retry)
|
|
8537
8537
|
return Promise.reject(n);
|
|
8538
8538
|
if (e._retry = !0, (r = (t = (i = _.getState().chatSettingStore) == null ? void 0 : i.config) == null ? void 0 : t.refreshTokens) != null && r.enabled && ((A = (a = (s = _.getState().chatSettingStore) == null ? void 0 : s.config) == null ? void 0 : a.refreshTokens) != null && A.refreshFunction))
|
|
@@ -8545,7 +8545,7 @@ Ce.interceptors.response.use(
|
|
|
8545
8545
|
})
|
|
8546
8546
|
), e.headers.Authorization = l, Ce(e);
|
|
8547
8547
|
} catch (c) {
|
|
8548
|
-
return _.dispatch(
|
|
8548
|
+
return _.dispatch(Ui()), Promise.reject(c);
|
|
8549
8549
|
}
|
|
8550
8550
|
else {
|
|
8551
8551
|
if (tr)
|
|
@@ -8555,7 +8555,7 @@ Ce.interceptors.response.use(
|
|
|
8555
8555
|
const c = await yA();
|
|
8556
8556
|
return tr = !1, e.headers.Authorization = c.data.token, Qy(c.data.token), Ce(e);
|
|
8557
8557
|
} catch (c) {
|
|
8558
|
-
return tr = !1, Zr = [],
|
|
8558
|
+
return tr = !1, Zr = [], Promise.reject(c);
|
|
8559
8559
|
}
|
|
8560
8560
|
}
|
|
8561
8561
|
}
|
|
@@ -8856,7 +8856,7 @@ const _r = (n, e = "conference.dev.xmpp.ethoradev.com", i = 0) => {
|
|
|
8856
8856
|
const f = a == null ? void 0 : a.getChildText("first"), d = a == null ? void 0 : a.getChildText("last"), c = ab(o.attrs.complete), l = ud(d), h = ud(f);
|
|
8857
8857
|
_.dispatch(
|
|
8858
8858
|
_.dispatch(
|
|
8859
|
-
|
|
8859
|
+
bi({
|
|
8860
8860
|
jid: A,
|
|
8861
8861
|
updates: {
|
|
8862
8862
|
messageStats: {
|
|
@@ -9850,7 +9850,7 @@ function Mo(n, e) {
|
|
|
9850
9850
|
e.indexOf(t[r]) < 0 && Object.prototype.propertyIsEnumerable.call(n, t[r]) && (i[t[r]] = n[t[r]]);
|
|
9851
9851
|
return i;
|
|
9852
9852
|
}
|
|
9853
|
-
function
|
|
9853
|
+
function Ii(n, e, i) {
|
|
9854
9854
|
if (i || arguments.length === 2) for (var t = 0, r = e.length, s; t < r; t++)
|
|
9855
9855
|
(s || !(t in e)) && (s || (s = Array.prototype.slice.call(e, 0, t)), s[t] = e[t]);
|
|
9856
9856
|
return n.concat(s || Array.prototype.slice.call(e));
|
|
@@ -9912,7 +9912,7 @@ function Rs(n, e, i, t, r, s, a, A) {
|
|
|
9912
9912
|
function Vn(n, e) {
|
|
9913
9913
|
return CA(Rs("", null, null, "", null, null, 0, n.siblings), n, { length: -n.length }, e);
|
|
9914
9914
|
}
|
|
9915
|
-
function
|
|
9915
|
+
function ji(n) {
|
|
9916
9916
|
for (; n.root; )
|
|
9917
9917
|
n = Vn(n.root, { children: [n] });
|
|
9918
9918
|
vt(n, n.siblings);
|
|
@@ -9926,7 +9926,7 @@ function Q3() {
|
|
|
9926
9926
|
function An() {
|
|
9927
9927
|
return Be = $e < N1 ? Ie(ft, $e++) : 0, Ji++, Be === 10 && (Ji = 1, Ls++), Be;
|
|
9928
9928
|
}
|
|
9929
|
-
function
|
|
9929
|
+
function ki() {
|
|
9930
9930
|
return Ie(ft, $e);
|
|
9931
9931
|
}
|
|
9932
9932
|
function Br() {
|
|
@@ -9977,14 +9977,14 @@ function Ia(n) {
|
|
|
9977
9977
|
return D1(Ws($e - 1, EA(n === 91 ? n + 2 : n === 40 ? n + 1 : n)));
|
|
9978
9978
|
}
|
|
9979
9979
|
function R3(n) {
|
|
9980
|
-
for (; (Be =
|
|
9980
|
+
for (; (Be = ki()) && Be < 33; )
|
|
9981
9981
|
An();
|
|
9982
9982
|
return xA(n) > 2 || xA(Be) > 3 ? "" : " ";
|
|
9983
9983
|
}
|
|
9984
9984
|
function W3(n, e) {
|
|
9985
9985
|
for (; --e && An() && !(Be < 48 || Be > 102 || Be > 57 && Be < 65 || Be > 70 && Be < 97); )
|
|
9986
9986
|
;
|
|
9987
|
-
return Ws(n, Br() + (e < 6 &&
|
|
9987
|
+
return Ws(n, Br() + (e < 6 && ki() == 32 && An() == 32));
|
|
9988
9988
|
}
|
|
9989
9989
|
function EA(n) {
|
|
9990
9990
|
for (; An(); )
|
|
@@ -10006,12 +10006,12 @@ function EA(n) {
|
|
|
10006
10006
|
}
|
|
10007
10007
|
function Y3(n, e) {
|
|
10008
10008
|
for (; An() && n + Be !== 57; )
|
|
10009
|
-
if (n + Be === 84 &&
|
|
10009
|
+
if (n + Be === 84 && ki() === 47)
|
|
10010
10010
|
break;
|
|
10011
10011
|
return "/*" + Ws(e, $e - 1) + "*" + jo(n === 47 ? n : An());
|
|
10012
10012
|
}
|
|
10013
10013
|
function H3(n) {
|
|
10014
|
-
for (; !xA(
|
|
10014
|
+
for (; !xA(ki()); )
|
|
10015
10015
|
An();
|
|
10016
10016
|
return Ws(n, $e);
|
|
10017
10017
|
}
|
|
@@ -10041,7 +10041,7 @@ function Dr(n, e, i, t, r, s, a, A, o) {
|
|
|
10041
10041
|
x += W3(Br() - 1, 7);
|
|
10042
10042
|
continue;
|
|
10043
10043
|
case 47:
|
|
10044
|
-
switch (
|
|
10044
|
+
switch (ki()) {
|
|
10045
10045
|
case 42:
|
|
10046
10046
|
case 47:
|
|
10047
10047
|
vt(z3(Y3(An(), Br()), e, i, o), o);
|
|
@@ -10099,7 +10099,7 @@ function Dr(n, e, i, t, r, s, a, A, o) {
|
|
|
10099
10099
|
A[f++] = (ln(x) - 1) * b, b = 1;
|
|
10100
10100
|
break;
|
|
10101
10101
|
case 64:
|
|
10102
|
-
|
|
10102
|
+
ki() === 45 && (x += Ia(An())), l = ki(), d = c = ln(m = x += H3(Br())), k++;
|
|
10103
10103
|
break;
|
|
10104
10104
|
case 45:
|
|
10105
10105
|
g === 45 && ln(x) == 2 && (v = 0);
|
|
@@ -10311,10 +10311,10 @@ function X3(n, e, i, t) {
|
|
|
10311
10311
|
switch (Dn(r, t = /(::plac\w+|:read-\w+)/)) {
|
|
10312
10312
|
case ":read-only":
|
|
10313
10313
|
case ":read-write":
|
|
10314
|
-
|
|
10314
|
+
ji(Vn(n, { props: [ae(r, /:(read-\w+)/, ":" + kt + "$1")] })), ji(Vn(n, { props: [r] })), CA(n, { props: Qd(i, t) });
|
|
10315
10315
|
break;
|
|
10316
10316
|
case "::placeholder":
|
|
10317
|
-
|
|
10317
|
+
ji(Vn(n, { props: [ae(r, /:(plac\w+)/, ":" + ue + "input-$1")] })), ji(Vn(n, { props: [ae(r, /:(plac\w+)/, ":" + kt + "$1")] })), ji(Vn(n, { props: [ae(r, /:(plac\w+)/, be + "input-$1")] })), ji(Vn(n, { props: [r] })), CA(n, { props: Qd(i, t) });
|
|
10318
10318
|
break;
|
|
10319
10319
|
}
|
|
10320
10320
|
return "";
|
|
@@ -10369,7 +10369,7 @@ var J3 = {
|
|
|
10369
10369
|
strokeMiterlimit: 1,
|
|
10370
10370
|
strokeOpacity: 1,
|
|
10371
10371
|
strokeWidth: 1
|
|
10372
|
-
},
|
|
10372
|
+
}, Ni = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", P1 = "active", O1 = "data-styled-version", Ys = "6.1.11", Qo = `/*!sc*/
|
|
10373
10373
|
`, Fo = typeof window < "u" && "HTMLElement" in window, K3 = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Rd = /invalid hook call/i, rr = /* @__PURE__ */ new Set(), Z3 = function(n, e) {
|
|
10374
10374
|
if (process.env.NODE_ENV !== "production") {
|
|
10375
10375
|
var i = e ? ' with the id of "'.concat(e, '"') : "", t = "The component ".concat(n).concat(i, ` has been created dynamically.
|
|
@@ -10379,7 +10379,7 @@ To resolve this only create new StyledComponents outside of any render method an
|
|
|
10379
10379
|
var s = !0;
|
|
10380
10380
|
console.error = function(a) {
|
|
10381
10381
|
for (var A = [], o = 1; o < arguments.length; o++) A[o - 1] = arguments[o];
|
|
10382
|
-
Rd.test(a) ? (s = !1, rr.delete(t)) : r.apply(void 0,
|
|
10382
|
+
Rd.test(a) ? (s = !1, rr.delete(t)) : r.apply(void 0, Ii([a], A, !1));
|
|
10383
10383
|
}, me(), s && !rr.has(t) && (console.warn(t), rr.add(t));
|
|
10384
10384
|
} catch (a) {
|
|
10385
10385
|
Rd.test(a.message) && rr.delete(t);
|
|
@@ -10522,7 +10522,7 @@ function ck() {
|
|
|
10522
10522
|
}
|
|
10523
10523
|
function dt(n) {
|
|
10524
10524
|
for (var e = [], i = 1; i < arguments.length; i++) e[i - 1] = arguments[i];
|
|
10525
|
-
return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n, " for more information.").concat(e.length > 0 ? " Args: ".concat(e.join(", ")) : "")) : new Error(ck.apply(void 0,
|
|
10525
|
+
return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(n, " for more information.").concat(e.length > 0 ? " Args: ".concat(e.join(", ")) : "")) : new Error(ck.apply(void 0, Ii([dk[n]], e, !1)).trim());
|
|
10526
10526
|
}
|
|
10527
10527
|
var lk = function() {
|
|
10528
10528
|
function n(e) {
|
|
@@ -10558,7 +10558,7 @@ var lk = function() {
|
|
|
10558
10558
|
return Ir.set(n, e), is.set(e, n), e;
|
|
10559
10559
|
}, hk = function(n, e) {
|
|
10560
10560
|
Nr = e + 1, Ir.set(n, e), is.set(e, n);
|
|
10561
|
-
}, gk = "style[".concat(
|
|
10561
|
+
}, gk = "style[".concat(Ni, "][").concat(O1, '="').concat(Ys, '"]'), mk = new RegExp("^".concat(Ni, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), pk = function(n, e, i) {
|
|
10562
10562
|
for (var t, r = i.split(","), s = 0, a = r.length; s < a; s++) (t = r[s]) && n.registerName(e, t);
|
|
10563
10563
|
}, vk = function(n, e) {
|
|
10564
10564
|
for (var i, t = ((i = e.textContent) !== null && i !== void 0 ? i : "").split(Qo), r = [], s = 0, a = t.length; s < a; s++) {
|
|
@@ -10577,10 +10577,10 @@ function wk() {
|
|
|
10577
10577
|
}
|
|
10578
10578
|
var Y1 = function(n) {
|
|
10579
10579
|
var e = document.head, i = n || e, t = document.createElement("style"), r = function(A) {
|
|
10580
|
-
var o = Array.from(A.querySelectorAll("style[".concat(
|
|
10580
|
+
var o = Array.from(A.querySelectorAll("style[".concat(Ni, "]")));
|
|
10581
10581
|
return o[o.length - 1];
|
|
10582
10582
|
}(i), s = r !== void 0 ? r.nextSibling : null;
|
|
10583
|
-
t.setAttribute(
|
|
10583
|
+
t.setAttribute(Ni, P1), t.setAttribute(O1, Ys);
|
|
10584
10584
|
var a = wk();
|
|
10585
10585
|
return a && t.setAttribute("nonce", a), i.insertBefore(t, s), t;
|
|
10586
10586
|
}, bk = function() {
|
|
@@ -10639,7 +10639,7 @@ var Y1 = function(n) {
|
|
|
10639
10639
|
this.options = Re(Re({}, Ck), e), this.gs = i, this.names = new Map(t), this.server = !!e.isServer, !this.server && Fo && qd && (qd = !1, function(s) {
|
|
10640
10640
|
for (var a = document.querySelectorAll(gk), A = 0, o = a.length; A < o; A++) {
|
|
10641
10641
|
var f = a[A];
|
|
10642
|
-
f && f.getAttribute(
|
|
10642
|
+
f && f.getAttribute(Ni) !== P1 && (vk(s, f), f.parentNode && f.parentNode.removeChild(f));
|
|
10643
10643
|
}
|
|
10644
10644
|
}(this)), Ro(this, function() {
|
|
10645
10645
|
return function(s) {
|
|
@@ -10650,7 +10650,7 @@ var Y1 = function(n) {
|
|
|
10650
10650
|
if (l === void 0) return "continue";
|
|
10651
10651
|
var h = s.names.get(l), g = a.getGroup(c);
|
|
10652
10652
|
if (h === void 0 || g.length === 0) return "continue";
|
|
10653
|
-
var v = "".concat(
|
|
10653
|
+
var v = "".concat(Ni, ".g").concat(c, '[id="').concat(l, '"]'), p = "";
|
|
10654
10654
|
h !== void 0 && h.forEach(function(b) {
|
|
10655
10655
|
b.length > 0 && (p += "".concat(b, ","));
|
|
10656
10656
|
}), o += "".concat(g).concat(v, '{content:"').concat(p, '"}').concat(Qo);
|
|
@@ -10753,21 +10753,21 @@ var q1 = function(n) {
|
|
|
10753
10753
|
var e, i, t = [];
|
|
10754
10754
|
for (var r in n) {
|
|
10755
10755
|
var s = n[r];
|
|
10756
|
-
n.hasOwnProperty(r) && !q1(s) && (Array.isArray(s) && s.isCss || Zi(s) ? t.push("".concat(Ud(r), ":"), s, ";") : _i(s) ? t.push.apply(t,
|
|
10756
|
+
n.hasOwnProperty(r) && !q1(s) && (Array.isArray(s) && s.isCss || Zi(s) ? t.push("".concat(Ud(r), ":"), s, ";") : _i(s) ? t.push.apply(t, Ii(Ii(["".concat(r, " {")], V1(s), !1), ["}"], !1)) : t.push("".concat(Ud(r), ": ").concat((e = r, (i = s) == null || typeof i == "boolean" || i === "" ? "" : typeof i != "number" || i === 0 || e in J3 || e.startsWith("--") ? String(i).trim() : "".concat(i, "px")), ";")));
|
|
10757
10757
|
}
|
|
10758
10758
|
return t;
|
|
10759
10759
|
};
|
|
10760
|
-
function
|
|
10760
|
+
function Ci(n, e, i, t) {
|
|
10761
10761
|
if (q1(n)) return [];
|
|
10762
10762
|
if (Lo(n)) return [".".concat(n.styledComponentId)];
|
|
10763
10763
|
if (Zi(n)) {
|
|
10764
10764
|
if (!Zi(s = n) || s.prototype && s.prototype.isReactComponent || !e) return [n];
|
|
10765
10765
|
var r = n(e);
|
|
10766
|
-
return process.env.NODE_ENV === "production" || typeof r != "object" || Array.isArray(r) || r instanceof PA || _i(r) || r === null || console.error("".concat(Q1(n), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),
|
|
10766
|
+
return process.env.NODE_ENV === "production" || typeof r != "object" || Array.isArray(r) || r instanceof PA || _i(r) || r === null || console.error("".concat(Q1(n), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Ci(r, e, i, t);
|
|
10767
10767
|
}
|
|
10768
10768
|
var s;
|
|
10769
10769
|
return n instanceof PA ? i ? (n.inject(i, t), [n.getName(t)]) : [n] : _i(n) ? V1(n) : Array.isArray(n) ? Array.prototype.concat.apply(Hs, n.map(function(a) {
|
|
10770
|
-
return
|
|
10770
|
+
return Ci(a, e, i, t);
|
|
10771
10771
|
})) : [n.toString()];
|
|
10772
10772
|
}
|
|
10773
10773
|
function Nk(n) {
|
|
@@ -10785,7 +10785,7 @@ var Sk = T1(Ys), Pk = function() {
|
|
|
10785
10785
|
var r = this.baseStyle ? this.baseStyle.generateAndInjectStyles(e, i, t) : "";
|
|
10786
10786
|
if (this.isStatic && !t.hash) if (this.staticRulesId && i.hasNameForId(this.componentId, this.staticRulesId)) r = pi(r, this.staticRulesId);
|
|
10787
10787
|
else {
|
|
10788
|
-
var s = IA(
|
|
10788
|
+
var s = IA(Ci(this.rules, e, i, t)), a = DA(mi(this.baseHash, s) >>> 0);
|
|
10789
10789
|
if (!i.hasNameForId(this.componentId, a)) {
|
|
10790
10790
|
var A = t(s, ".".concat(a), void 0, this.componentId);
|
|
10791
10791
|
i.insertRules(this.componentId, a, A);
|
|
@@ -10797,7 +10797,7 @@ var Sk = T1(Ys), Pk = function() {
|
|
|
10797
10797
|
var c = this.rules[d];
|
|
10798
10798
|
if (typeof c == "string") f += c, process.env.NODE_ENV !== "production" && (o = mi(o, c));
|
|
10799
10799
|
else if (c) {
|
|
10800
|
-
var l = IA(
|
|
10800
|
+
var l = IA(Ci(c, e, i, t));
|
|
10801
10801
|
o = mi(o, l + d), f += l;
|
|
10802
10802
|
}
|
|
10803
10803
|
}
|
|
@@ -10891,15 +10891,15 @@ var Kd = function(n) {
|
|
|
10891
10891
|
};
|
|
10892
10892
|
function $i(n) {
|
|
10893
10893
|
for (var e = [], i = 1; i < arguments.length; i++) e[i - 1] = arguments[i];
|
|
10894
|
-
if (Zi(n) || _i(n)) return Kd(
|
|
10894
|
+
if (Zi(n) || _i(n)) return Kd(Ci(Jd(Hs, Ii([n], e, !0))));
|
|
10895
10895
|
var t = n;
|
|
10896
|
-
return e.length === 0 && t.length === 1 && typeof t[0] == "string" ?
|
|
10896
|
+
return e.length === 0 && t.length === 1 && typeof t[0] == "string" ? Ci(t) : Kd(Ci(Jd(t, e)));
|
|
10897
10897
|
}
|
|
10898
10898
|
function OA(n, e, i) {
|
|
10899
10899
|
if (i === void 0 && (i = Ki), !e) throw dt(1, e);
|
|
10900
10900
|
var t = function(r) {
|
|
10901
10901
|
for (var s = [], a = 1; a < arguments.length; a++) s[a - 1] = arguments[a];
|
|
10902
|
-
return n(e, i, $i.apply(void 0,
|
|
10902
|
+
return n(e, i, $i.apply(void 0, Ii([r], s, !1)));
|
|
10903
10903
|
};
|
|
10904
10904
|
return t.attrs = function(r) {
|
|
10905
10905
|
return OA(n, e, Re(Re({}, i), { attrs: Array.prototype.concat(i.attrs, r).filter(Boolean) }));
|
|
@@ -10916,13 +10916,13 @@ BA.forEach(function(n) {
|
|
|
10916
10916
|
function Rn(n) {
|
|
10917
10917
|
for (var e = [], i = 1; i < arguments.length; i++) e[i - 1] = arguments[i];
|
|
10918
10918
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
10919
|
-
var t = IA($i.apply(void 0,
|
|
10919
|
+
var t = IA($i.apply(void 0, Ii([n], e, !1))), r = j1(t);
|
|
10920
10920
|
return new PA(r, t);
|
|
10921
10921
|
}
|
|
10922
10922
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
10923
10923
|
Perhaps you're looking to import 'styled-components/native'?
|
|
10924
10924
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
10925
|
-
var Ar = "__sc-".concat(
|
|
10925
|
+
var Ar = "__sc-".concat(Ni, "__");
|
|
10926
10926
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[Ar] || (window[Ar] = 0), window[Ar] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
10927
10927
|
|
|
10928
10928
|
See https://s-c.sh/2BAXzed for more info.`), window[Ar] += 1);
|
|
@@ -13185,7 +13185,7 @@ const G4 = N.div`
|
|
|
13185
13185
|
justify-content: center;
|
|
13186
13186
|
align-items: center;
|
|
13187
13187
|
z-index: 1000;
|
|
13188
|
-
`,
|
|
13188
|
+
`, Si = N.button`
|
|
13189
13189
|
position: absolute;
|
|
13190
13190
|
top: 16px;
|
|
13191
13191
|
right: 16px;
|
|
@@ -13287,11 +13287,11 @@ const ch = N.div`
|
|
|
13287
13287
|
display: flex;
|
|
13288
13288
|
flex-direction: column;
|
|
13289
13289
|
padding: 16px;
|
|
13290
|
-
`,
|
|
13290
|
+
`, Li = N.div`
|
|
13291
13291
|
color: #8c8c8c;
|
|
13292
13292
|
font-size: 14px;
|
|
13293
13293
|
font-weight: 400;
|
|
13294
|
-
`,
|
|
13294
|
+
`, xi = N.span`
|
|
13295
13295
|
color: #141414;
|
|
13296
13296
|
font-size: 16px;
|
|
13297
13297
|
`, TA = N(se)`
|
|
@@ -14731,7 +14731,7 @@ function W9(n = LA) {
|
|
|
14731
14731
|
throw ei.create("no-app", { appName: n });
|
|
14732
14732
|
return e;
|
|
14733
14733
|
}
|
|
14734
|
-
function
|
|
14734
|
+
function Ri(n, e, i) {
|
|
14735
14735
|
var t;
|
|
14736
14736
|
let r = (t = Q9[n]) !== null && t !== void 0 ? t : n;
|
|
14737
14737
|
i && (r += `-${i}`);
|
|
@@ -14985,7 +14985,7 @@ function J9(n) {
|
|
|
14985
14985
|
(e) => new V9(e),
|
|
14986
14986
|
"PRIVATE"
|
|
14987
14987
|
/* ComponentType.PRIVATE */
|
|
14988
|
-
)),
|
|
14988
|
+
)), Ri(FA, sc, n), Ri(FA, sc, "esm2017"), Ri("fire-js", "");
|
|
14989
14989
|
}
|
|
14990
14990
|
J9("");
|
|
14991
14991
|
function Dh() {
|
|
@@ -15045,7 +15045,7 @@ function qo(n, e, i) {
|
|
|
15045
15045
|
appName: n.name
|
|
15046
15046
|
});
|
|
15047
15047
|
}
|
|
15048
|
-
function
|
|
15048
|
+
function Ei(n) {
|
|
15049
15049
|
return qo(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
|
|
15050
15050
|
}
|
|
15051
15051
|
function _9(n, e, i) {
|
|
@@ -15770,7 +15770,7 @@ async function uC(n, e) {
|
|
|
15770
15770
|
* See the License for the specific language governing permissions and
|
|
15771
15771
|
* limitations under the License.
|
|
15772
15772
|
*/
|
|
15773
|
-
class
|
|
15773
|
+
class Wi {
|
|
15774
15774
|
constructor() {
|
|
15775
15775
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
|
15776
15776
|
}
|
|
@@ -15822,7 +15822,7 @@ class Yi {
|
|
|
15822
15822
|
this.refreshToken = i || null, this.accessToken = e || null, this.expirationTime = Date.now() + t * 1e3;
|
|
15823
15823
|
}
|
|
15824
15824
|
static fromJSON(e, i) {
|
|
15825
|
-
const { refreshToken: t, accessToken: r, expirationTime: s } = i, a = new
|
|
15825
|
+
const { refreshToken: t, accessToken: r, expirationTime: s } = i, a = new Wi();
|
|
15826
15826
|
return t && (ie(typeof t == "string", "internal-error", {
|
|
15827
15827
|
appName: e
|
|
15828
15828
|
}), a.refreshToken = t), r && (ie(typeof r == "string", "internal-error", {
|
|
@@ -15842,7 +15842,7 @@ class Yi {
|
|
|
15842
15842
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
|
15843
15843
|
}
|
|
15844
15844
|
_clone() {
|
|
15845
|
-
return Object.assign(new
|
|
15845
|
+
return Object.assign(new Wi(), this.toJSON());
|
|
15846
15846
|
}
|
|
15847
15847
|
_performRefresh() {
|
|
15848
15848
|
return Pn("not implemented");
|
|
@@ -15922,7 +15922,7 @@ class On {
|
|
|
15922
15922
|
}
|
|
15923
15923
|
async delete() {
|
|
15924
15924
|
if (Sn(this.auth.app))
|
|
15925
|
-
return Promise.reject(
|
|
15925
|
+
return Promise.reject(Ei(this.auth));
|
|
15926
15926
|
const e = await this.getIdToken();
|
|
15927
15927
|
return await Ot(this, aC(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
|
15928
15928
|
}
|
|
@@ -15959,7 +15959,7 @@ class On {
|
|
|
15959
15959
|
"internal-error"
|
|
15960
15960
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
15961
15961
|
);
|
|
15962
|
-
const S =
|
|
15962
|
+
const S = Wi.fromJSON(this.name, x);
|
|
15963
15963
|
ie(
|
|
15964
15964
|
typeof m == "string",
|
|
15965
15965
|
e,
|
|
@@ -15998,7 +15998,7 @@ class On {
|
|
|
15998
15998
|
* @param idTokenResponse
|
|
15999
15999
|
*/
|
|
16000
16000
|
static async _fromIdTokenResponse(e, i, t = !1) {
|
|
16001
|
-
const r = new
|
|
16001
|
+
const r = new Wi();
|
|
16002
16002
|
r.updateFromServerResponse(i);
|
|
16003
16003
|
const s = new On({
|
|
16004
16004
|
uid: i.localId,
|
|
@@ -16020,7 +16020,7 @@ class On {
|
|
|
16020
16020
|
"internal-error"
|
|
16021
16021
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
16022
16022
|
);
|
|
16023
|
-
const s = r.providerUserInfo !== void 0 ? Mh(r.providerUserInfo) : [], a = !(r.email && r.passwordHash) && !(s != null && s.length), A = new
|
|
16023
|
+
const s = r.providerUserInfo !== void 0 ? Mh(r.providerUserInfo) : [], a = !(r.email && r.passwordHash) && !(s != null && s.length), A = new Wi();
|
|
16024
16024
|
A.updateFromIdToken(t);
|
|
16025
16025
|
const o = new On({
|
|
16026
16026
|
uid: r.localId,
|
|
@@ -16123,7 +16123,7 @@ const uc = Th;
|
|
|
16123
16123
|
function Or(n, e, i) {
|
|
16124
16124
|
return `firebase:${n}:${e}:${i}`;
|
|
16125
16125
|
}
|
|
16126
|
-
class
|
|
16126
|
+
class Yi {
|
|
16127
16127
|
constructor(e, i, t) {
|
|
16128
16128
|
this.persistence = e, this.auth = i, this.userKey = t;
|
|
16129
16129
|
const { config: r, name: s } = this.auth;
|
|
@@ -16154,7 +16154,7 @@ class Hi {
|
|
|
16154
16154
|
}
|
|
16155
16155
|
static async create(e, i, t = "authUser") {
|
|
16156
16156
|
if (!i.length)
|
|
16157
|
-
return new
|
|
16157
|
+
return new Yi(Mn(uc), e, t);
|
|
16158
16158
|
const r = (await Promise.all(i.map(async (f) => {
|
|
16159
16159
|
if (await f._isAvailable())
|
|
16160
16160
|
return f;
|
|
@@ -16173,13 +16173,13 @@ class Hi {
|
|
|
16173
16173
|
} catch {
|
|
16174
16174
|
}
|
|
16175
16175
|
const o = r.filter((f) => f._shouldAllowMigration);
|
|
16176
|
-
return !s._shouldAllowMigration || !o.length ? new
|
|
16176
|
+
return !s._shouldAllowMigration || !o.length ? new Yi(s, e, t) : (s = o[0], A && await s._set(a, A.toJSON()), await Promise.all(i.map(async (f) => {
|
|
16177
16177
|
if (f !== s)
|
|
16178
16178
|
try {
|
|
16179
16179
|
await f._remove(a);
|
|
16180
16180
|
} catch {
|
|
16181
16181
|
}
|
|
16182
|
-
})), new
|
|
16182
|
+
})), new Yi(s, e, t));
|
|
16183
16183
|
}
|
|
16184
16184
|
}
|
|
16185
16185
|
/**
|
|
@@ -16480,7 +16480,7 @@ class bC {
|
|
|
16480
16480
|
_initializeWithPersistence(e, i) {
|
|
16481
16481
|
return i && (this._popupRedirectResolver = Mn(i)), this._initializationPromise = this.queue(async () => {
|
|
16482
16482
|
var t, r;
|
|
16483
|
-
if (!this._deleted && (this.persistenceManager = await
|
|
16483
|
+
if (!this._deleted && (this.persistenceManager = await Yi.create(this, e), !this._deleted)) {
|
|
16484
16484
|
if (!((t = this._popupRedirectResolver) === null || t === void 0) && t._shouldInitProactively)
|
|
16485
16485
|
try {
|
|
16486
16486
|
await this._popupRedirectResolver._initialize(this);
|
|
@@ -16576,7 +16576,7 @@ class bC {
|
|
|
16576
16576
|
}
|
|
16577
16577
|
async updateCurrentUser(e) {
|
|
16578
16578
|
if (Sn(this.app))
|
|
16579
|
-
return Promise.reject(
|
|
16579
|
+
return Promise.reject(Ei(this));
|
|
16580
16580
|
const i = e ? lt(e) : null;
|
|
16581
16581
|
return i && ie(
|
|
16582
16582
|
i.auth.config.apiKey === this.config.apiKey,
|
|
@@ -16597,14 +16597,14 @@ class bC {
|
|
|
16597
16597
|
});
|
|
16598
16598
|
}
|
|
16599
16599
|
async signOut() {
|
|
16600
|
-
return Sn(this.app) ? Promise.reject(
|
|
16600
|
+
return Sn(this.app) ? Promise.reject(Ei(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
|
16601
16601
|
null,
|
|
16602
16602
|
/* skipBeforeStateCallbacks */
|
|
16603
16603
|
!0
|
|
16604
16604
|
));
|
|
16605
16605
|
}
|
|
16606
16606
|
setPersistence(e) {
|
|
16607
|
-
return Sn(this.app) ? Promise.reject(
|
|
16607
|
+
return Sn(this.app) ? Promise.reject(Ei(this)) : this.queue(async () => {
|
|
16608
16608
|
await this.assertedPersistence.setPersistence(Mn(e));
|
|
16609
16609
|
});
|
|
16610
16610
|
}
|
|
@@ -16684,7 +16684,7 @@ class bC {
|
|
|
16684
16684
|
this,
|
|
16685
16685
|
"argument-error"
|
|
16686
16686
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
|
16687
|
-
), this.redirectPersistenceManager = await
|
|
16687
|
+
), this.redirectPersistenceManager = await Yi.create(
|
|
16688
16688
|
this,
|
|
16689
16689
|
[Mn(i._redirectPersistence)],
|
|
16690
16690
|
"redirectUser"
|
|
@@ -17001,7 +17001,7 @@ class qh {
|
|
|
17001
17001
|
* See the License for the specific language governing permissions and
|
|
17002
17002
|
* limitations under the License.
|
|
17003
17003
|
*/
|
|
17004
|
-
async function
|
|
17004
|
+
async function Hi(n, e) {
|
|
17005
17005
|
return rC(n, "POST", "/v1/accounts:signInWithIdp", Xo(n, e));
|
|
17006
17006
|
}
|
|
17007
17007
|
/**
|
|
@@ -17021,13 +17021,13 @@ async function Gi(n, e) {
|
|
|
17021
17021
|
* limitations under the License.
|
|
17022
17022
|
*/
|
|
17023
17023
|
const SC = "http://localhost";
|
|
17024
|
-
class
|
|
17024
|
+
class Pi extends qh {
|
|
17025
17025
|
constructor() {
|
|
17026
17026
|
super(...arguments), this.pendingToken = null;
|
|
17027
17027
|
}
|
|
17028
17028
|
/** @internal */
|
|
17029
17029
|
static _fromParams(e) {
|
|
17030
|
-
const i = new
|
|
17030
|
+
const i = new Pi(e.providerId, e.signInMethod);
|
|
17031
17031
|
return e.idToken || e.accessToken ? (e.idToken && (i.idToken = e.idToken), e.accessToken && (i.accessToken = e.accessToken), e.nonce && !e.pendingToken && (i.nonce = e.nonce), e.pendingToken && (i.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (i.accessToken = e.oauthToken, i.secret = e.oauthTokenSecret) : yn(
|
|
17032
17032
|
"argument-error"
|
|
17033
17033
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
|
@@ -17058,23 +17058,23 @@ class Oi extends qh {
|
|
|
17058
17058
|
const i = typeof e == "string" ? JSON.parse(e) : e, { providerId: t, signInMethod: r } = i, s = Mo(i, ["providerId", "signInMethod"]);
|
|
17059
17059
|
if (!t || !r)
|
|
17060
17060
|
return null;
|
|
17061
|
-
const a = new
|
|
17061
|
+
const a = new Pi(t, r);
|
|
17062
17062
|
return a.idToken = s.idToken || void 0, a.accessToken = s.accessToken || void 0, a.secret = s.secret, a.nonce = s.nonce, a.pendingToken = s.pendingToken || null, a;
|
|
17063
17063
|
}
|
|
17064
17064
|
/** @internal */
|
|
17065
17065
|
_getIdTokenResponse(e) {
|
|
17066
17066
|
const i = this.buildRequest();
|
|
17067
|
-
return
|
|
17067
|
+
return Hi(e, i);
|
|
17068
17068
|
}
|
|
17069
17069
|
/** @internal */
|
|
17070
17070
|
_linkToIdToken(e, i) {
|
|
17071
17071
|
const t = this.buildRequest();
|
|
17072
|
-
return t.idToken = i,
|
|
17072
|
+
return t.idToken = i, Hi(e, t);
|
|
17073
17073
|
}
|
|
17074
17074
|
/** @internal */
|
|
17075
17075
|
_getReauthenticationResolver(e) {
|
|
17076
17076
|
const i = this.buildRequest();
|
|
17077
|
-
return i.autoCreate = !1,
|
|
17077
|
+
return i.autoCreate = !1, Hi(e, i);
|
|
17078
17078
|
}
|
|
17079
17079
|
buildRequest() {
|
|
17080
17080
|
const e = {
|
|
@@ -17214,7 +17214,7 @@ class Un extends zt {
|
|
|
17214
17214
|
* @param accessToken - Facebook access token.
|
|
17215
17215
|
*/
|
|
17216
17216
|
static credential(e) {
|
|
17217
|
-
return
|
|
17217
|
+
return Pi._fromParams({
|
|
17218
17218
|
providerId: Un.PROVIDER_ID,
|
|
17219
17219
|
signInMethod: Un.FACEBOOK_SIGN_IN_METHOD,
|
|
17220
17220
|
accessToken: e
|
|
@@ -17286,7 +17286,7 @@ class un extends zt {
|
|
|
17286
17286
|
* @param accessToken - Google access token.
|
|
17287
17287
|
*/
|
|
17288
17288
|
static credential(e, i) {
|
|
17289
|
-
return
|
|
17289
|
+
return Pi._fromParams({
|
|
17290
17290
|
providerId: un.PROVIDER_ID,
|
|
17291
17291
|
signInMethod: un.GOOGLE_SIGN_IN_METHOD,
|
|
17292
17292
|
idToken: e,
|
|
@@ -17354,7 +17354,7 @@ class Xn extends zt {
|
|
|
17354
17354
|
* @param accessToken - GitHub access token.
|
|
17355
17355
|
*/
|
|
17356
17356
|
static credential(e) {
|
|
17357
|
-
return
|
|
17357
|
+
return Pi._fromParams({
|
|
17358
17358
|
providerId: Xn.PROVIDER_ID,
|
|
17359
17359
|
signInMethod: Xn.GITHUB_SIGN_IN_METHOD,
|
|
17360
17360
|
accessToken: e
|
|
@@ -17419,7 +17419,7 @@ class Jn extends zt {
|
|
|
17419
17419
|
* @param secret - Twitter secret.
|
|
17420
17420
|
*/
|
|
17421
17421
|
static credential(e, i) {
|
|
17422
|
-
return
|
|
17422
|
+
return Pi._fromParams({
|
|
17423
17423
|
providerId: Jn.PROVIDER_ID,
|
|
17424
17424
|
signInMethod: Jn.TWITTER_SIGN_IN_METHOD,
|
|
17425
17425
|
oauthToken: e,
|
|
@@ -17563,7 +17563,7 @@ async function PC(n, e, i = !1) {
|
|
|
17563
17563
|
async function OC(n, e, i = !1) {
|
|
17564
17564
|
const { auth: t } = n;
|
|
17565
17565
|
if (Sn(t.app))
|
|
17566
|
-
return Promise.reject(
|
|
17566
|
+
return Promise.reject(Ei(t));
|
|
17567
17567
|
const r = "reauthenticate";
|
|
17568
17568
|
try {
|
|
17569
17569
|
const s = await Ot(n, Vh(t, r, e, n), i);
|
|
@@ -17613,7 +17613,7 @@ async function OC(n, e, i = !1) {
|
|
|
17613
17613
|
*/
|
|
17614
17614
|
async function MC(n, e, i = !1) {
|
|
17615
17615
|
if (Sn(n.app))
|
|
17616
|
-
return Promise.reject(
|
|
17616
|
+
return Promise.reject(Ei(n));
|
|
17617
17617
|
const t = "signIn", r = await Vh(n, t, e), s = await tt._fromIdTokenResponse(n, t, r);
|
|
17618
17618
|
return i || await n._updateCurrentUser(s.user), s;
|
|
17619
17619
|
}
|
|
@@ -18358,13 +18358,13 @@ class ef extends qh {
|
|
|
18358
18358
|
), this.params = e;
|
|
18359
18359
|
}
|
|
18360
18360
|
_getIdTokenResponse(e) {
|
|
18361
|
-
return
|
|
18361
|
+
return Hi(e, this._buildIdpRequest());
|
|
18362
18362
|
}
|
|
18363
18363
|
_linkToIdToken(e, i) {
|
|
18364
|
-
return
|
|
18364
|
+
return Hi(e, this._buildIdpRequest(i));
|
|
18365
18365
|
}
|
|
18366
18366
|
_getReauthenticationResolver(e) {
|
|
18367
|
-
return
|
|
18367
|
+
return Hi(e, this._buildIdpRequest());
|
|
18368
18368
|
}
|
|
18369
18369
|
_buildIdpRequest(e) {
|
|
18370
18370
|
const i = {
|
|
@@ -18662,7 +18662,7 @@ function A7(n) {
|
|
|
18662
18662
|
}
|
|
18663
18663
|
async function o7(n, e, i = !1) {
|
|
18664
18664
|
if (Sn(n.app))
|
|
18665
|
-
return Promise.reject(
|
|
18665
|
+
return Promise.reject(Ei(n));
|
|
18666
18666
|
const t = qs(n), r = ng(t, e), a = await new t7(t, r, i).execute();
|
|
18667
18667
|
return a && !i && (delete a.user._redirectEventId, await t._persistUserIfCurrent(a.user), await t._setRedirectUser(null, e)), a;
|
|
18668
18668
|
}
|
|
@@ -19275,7 +19275,7 @@ function H7(n) {
|
|
|
19275
19275
|
).setInstantiationMode(
|
|
19276
19276
|
"EXPLICIT"
|
|
19277
19277
|
/* InstantiationMode.EXPLICIT */
|
|
19278
|
-
)),
|
|
19278
|
+
)), Ri(xc, Ec, Y7(n)), Ri(xc, Ec, "esm2017");
|
|
19279
19279
|
}
|
|
19280
19280
|
/**
|
|
19281
19281
|
* @license
|
|
@@ -19371,7 +19371,7 @@ var X7 = "firebase", J7 = "10.13.2";
|
|
|
19371
19371
|
* See the License for the specific language governing permissions and
|
|
19372
19372
|
* limitations under the License.
|
|
19373
19373
|
*/
|
|
19374
|
-
|
|
19374
|
+
Ri(X7, J7, "app");
|
|
19375
19375
|
const K7 = {
|
|
19376
19376
|
apiKey: "AIzaSyDQdkvvxKKx4-WrjLQoYf08GFARgi_qO4g",
|
|
19377
19377
|
authDomain: "ethora-668e9.firebaseapp.com",
|
|
@@ -19475,7 +19475,7 @@ function sg(n) {
|
|
|
19475
19475
|
backgroundColor: e[parseInt(ru.sha256(n).slice(0, 2), 16) % e.length]
|
|
19476
19476
|
} : { backgroundColor: "transparent" };
|
|
19477
19477
|
}
|
|
19478
|
-
const
|
|
19478
|
+
const Oi = ({
|
|
19479
19479
|
name: n,
|
|
19480
19480
|
icon: e,
|
|
19481
19481
|
size: i = 64,
|
|
@@ -19914,7 +19914,7 @@ const Ag = ({
|
|
|
19914
19914
|
l && l !== "" ? l : "No description"
|
|
19915
19915
|
);
|
|
19916
19916
|
i.getRoomsStanza(), e(ze({ roomJID: j })), Q && (i.setRoomImageStanza(j, Q, "icon", "none"), e(
|
|
19917
|
-
|
|
19917
|
+
bi({ jid: j, updates: { icon: Q } })
|
|
19918
19918
|
));
|
|
19919
19919
|
}
|
|
19920
19920
|
s(!1), m({ name: "", description: "" }), b(null), c(""), h(""), A(!1), t({
|
|
@@ -19943,10 +19943,10 @@ const Ag = ({
|
|
|
19943
19943
|
),
|
|
19944
19944
|
r && /* @__PURE__ */ I(ct, { children: [
|
|
19945
19945
|
o === "0" && /* @__PURE__ */ I(et, { children: [
|
|
19946
|
-
/* @__PURE__ */ u(
|
|
19946
|
+
/* @__PURE__ */ u(Si, { onClick: E, style: { fontSize: 24 }, children: "×" }),
|
|
19947
19947
|
/* @__PURE__ */ u(nt, { children: "Create New Chat" }),
|
|
19948
19948
|
/* @__PURE__ */ u(
|
|
19949
|
-
|
|
19949
|
+
Oi,
|
|
19950
19950
|
{
|
|
19951
19951
|
size: 120,
|
|
19952
19952
|
upload: { active: !0, onUpload: M },
|
|
@@ -20027,7 +20027,7 @@ const Ag = ({
|
|
|
20027
20027
|
] })
|
|
20028
20028
|
] }),
|
|
20029
20029
|
o === "1" && /* @__PURE__ */ I(et, { style: { minHeight: "500px" }, children: [
|
|
20030
|
-
/* @__PURE__ */ u(
|
|
20030
|
+
/* @__PURE__ */ u(Si, { onClick: E, style: { fontSize: 24 }, children: "×" }),
|
|
20031
20031
|
/* @__PURE__ */ u(nt, { children: "Select users to add to Chat" }),
|
|
20032
20032
|
/* @__PURE__ */ u(
|
|
20033
20033
|
on,
|
|
@@ -20277,14 +20277,14 @@ function P5() {
|
|
|
20277
20277
|
case c:
|
|
20278
20278
|
return je;
|
|
20279
20279
|
default:
|
|
20280
|
-
var
|
|
20281
|
-
switch (
|
|
20280
|
+
var Ti = je && je.$$typeof;
|
|
20281
|
+
switch (Ti) {
|
|
20282
20282
|
case A:
|
|
20283
20283
|
case d:
|
|
20284
20284
|
case g:
|
|
20285
20285
|
case h:
|
|
20286
20286
|
case a:
|
|
20287
|
-
return
|
|
20287
|
+
return Ti;
|
|
20288
20288
|
default:
|
|
20289
20289
|
return Ge;
|
|
20290
20290
|
}
|
|
@@ -21637,7 +21637,7 @@ const Eg = N.div`
|
|
|
21637
21637
|
},
|
|
21638
21638
|
children: [
|
|
21639
21639
|
/* @__PURE__ */ u(
|
|
21640
|
-
|
|
21640
|
+
Si,
|
|
21641
21641
|
{
|
|
21642
21642
|
onClick: () => i(!1),
|
|
21643
21643
|
style: { fontSize: 24 },
|
|
@@ -21711,7 +21711,7 @@ const Eg = N.div`
|
|
|
21711
21711
|
}) => {
|
|
21712
21712
|
const i = ye(), t = fe((a) => Eo(a)), r = () => e(!1);
|
|
21713
21713
|
return n && /* @__PURE__ */ u(ct, { children: /* @__PURE__ */ I(et, { children: [
|
|
21714
|
-
/* @__PURE__ */ u(
|
|
21714
|
+
/* @__PURE__ */ u(Si, { onClick: r, style: { fontSize: 24 }, children: "×" }),
|
|
21715
21715
|
/* @__PURE__ */ u(nt, { children: "Delete this chat ?" }),
|
|
21716
21716
|
/* @__PURE__ */ I(on, { children: [
|
|
21717
21717
|
/* @__PURE__ */ u(
|
|
@@ -21749,7 +21749,7 @@ const Eg = N.div`
|
|
|
21749
21749
|
return /* @__PURE__ */ I(we, { children: [
|
|
21750
21750
|
/* @__PURE__ */ u(TA, { variant: "filled", unstyled: !0, onClick: A, children: "Add more Users" }),
|
|
21751
21751
|
i && /* @__PURE__ */ u(ct, { children: /* @__PURE__ */ I(et, { children: [
|
|
21752
|
-
/* @__PURE__ */ u(
|
|
21752
|
+
/* @__PURE__ */ u(Si, { onClick: o, style: { fontSize: 24 }, children: "×" }),
|
|
21753
21753
|
/* @__PURE__ */ u(
|
|
21754
21754
|
on,
|
|
21755
21755
|
{
|
|
@@ -21836,7 +21836,7 @@ const Eg = N.div`
|
|
|
21836
21836
|
x.append("files", m);
|
|
21837
21837
|
const S = await nf(x), P = (w = (C = (y = S == null ? void 0 : S.data) == null ? void 0 : y.results) == null ? void 0 : C[0]) == null ? void 0 : w.location;
|
|
21838
21838
|
P || console.log("No location found in upload result."), P && (d.setRoomImageStanza(l.jid, P, "icon", "none"), f(
|
|
21839
|
-
|
|
21839
|
+
bi({ jid: l.jid, updates: { icon: P } })
|
|
21840
21840
|
));
|
|
21841
21841
|
} catch (x) {
|
|
21842
21842
|
console.error("File upload failed or location is missing:", x);
|
|
@@ -21847,7 +21847,7 @@ const Eg = N.div`
|
|
|
21847
21847
|
roomId: l.jid.split("@")[0],
|
|
21848
21848
|
members: [m]
|
|
21849
21849
|
}), f(
|
|
21850
|
-
|
|
21850
|
+
bi({
|
|
21851
21851
|
jid: l.jid,
|
|
21852
21852
|
updates: {
|
|
21853
21853
|
members: l.members.filter(
|
|
@@ -21870,7 +21870,7 @@ const Eg = N.div`
|
|
|
21870
21870
|
});
|
|
21871
21871
|
}
|
|
21872
21872
|
}, v = async () => {
|
|
21873
|
-
d.setRoomImageStanza(l.jid, null, "icon", "none"), f(
|
|
21873
|
+
d.setRoomImageStanza(l.jid, null, "icon", "none"), f(bi({ jid: l.jid, updates: { icon: null } }));
|
|
21874
21874
|
}, p = (m) => {
|
|
21875
21875
|
f(Qe(ge.PROFILE)), f(
|
|
21876
21876
|
po({
|
|
@@ -21935,7 +21935,7 @@ const Eg = N.div`
|
|
|
21935
21935
|
),
|
|
21936
21936
|
/* @__PURE__ */ I(Wn, { children: [
|
|
21937
21937
|
/* @__PURE__ */ u(
|
|
21938
|
-
|
|
21938
|
+
Oi,
|
|
21939
21939
|
{
|
|
21940
21940
|
name: l.name,
|
|
21941
21941
|
icon: l.icon,
|
|
@@ -21958,12 +21958,12 @@ const Eg = N.div`
|
|
|
21958
21958
|
] }),
|
|
21959
21959
|
l.role === "moderator" && l.type === "group" && /* @__PURE__ */ u(we, { children: /* @__PURE__ */ u(c8, {}) }),
|
|
21960
21960
|
/* @__PURE__ */ I(Tn, { children: [
|
|
21961
|
-
/* @__PURE__ */ u(
|
|
21962
|
-
/* @__PURE__ */ u(
|
|
21961
|
+
/* @__PURE__ */ u(Li, { children: "Description" }),
|
|
21962
|
+
/* @__PURE__ */ u(xi, { children: l == null ? void 0 : l.description })
|
|
21963
21963
|
] }),
|
|
21964
21964
|
/* @__PURE__ */ I(Tn, { children: [
|
|
21965
|
-
/* @__PURE__ */ u(
|
|
21966
|
-
/* @__PURE__ */ u(
|
|
21965
|
+
/* @__PURE__ */ u(Li, { children: "Chat type" }),
|
|
21966
|
+
/* @__PURE__ */ u(xi, { children: l.type })
|
|
21967
21967
|
] }),
|
|
21968
21968
|
/* @__PURE__ */ u(Tn, { style: { padding: "8px 16px" }, children: e ? /* @__PURE__ */ u(bn, {}) : (k = l == null ? void 0 : l.members) == null ? void 0 : k.map((m, y) => /* @__PURE__ */ I(
|
|
21969
21969
|
"div",
|
|
@@ -21993,7 +21993,7 @@ const Eg = N.div`
|
|
|
21993
21993
|
onClick: () => p(m),
|
|
21994
21994
|
children: [
|
|
21995
21995
|
/* @__PURE__ */ u(
|
|
21996
|
-
|
|
21996
|
+
Oi,
|
|
21997
21997
|
{
|
|
21998
21998
|
name: `${m.firstName} ${m.lastName}`,
|
|
21999
21999
|
size: 40
|
|
@@ -22010,12 +22010,12 @@ const Eg = N.div`
|
|
|
22010
22010
|
justifyContent: "center"
|
|
22011
22011
|
},
|
|
22012
22012
|
children: [
|
|
22013
|
-
/* @__PURE__ */ I(
|
|
22013
|
+
/* @__PURE__ */ I(xi, { style: { fontSize: "16px", fontWeight: 600 }, children: [
|
|
22014
22014
|
m.firstName,
|
|
22015
22015
|
" ",
|
|
22016
22016
|
m.lastName
|
|
22017
22017
|
] }),
|
|
22018
|
-
m.last_active && /* @__PURE__ */ u(
|
|
22018
|
+
m.last_active && /* @__PURE__ */ u(Li, { children: new Date(m.last_active * 1e3).toLocaleString() })
|
|
22019
22019
|
]
|
|
22020
22020
|
}
|
|
22021
22021
|
)
|
|
@@ -22329,7 +22329,7 @@ const x8 = ({
|
|
|
22329
22329
|
box-sizing: border-box;
|
|
22330
22330
|
align-items: flex-start;
|
|
22331
22331
|
gap: 32px;
|
|
22332
|
-
`,
|
|
22332
|
+
`, Mi = N.div`
|
|
22333
22333
|
display: flex;
|
|
22334
22334
|
flex-direction: column;
|
|
22335
22335
|
gap: 16px;
|
|
@@ -22338,7 +22338,7 @@ const x8 = ({
|
|
|
22338
22338
|
display: flex;
|
|
22339
22339
|
flex-direction: column;
|
|
22340
22340
|
gap: 8px;
|
|
22341
|
-
`, vn = N(
|
|
22341
|
+
`, vn = N(xi)`
|
|
22342
22342
|
font-weight: 600;
|
|
22343
22343
|
text-align: start;
|
|
22344
22344
|
flex-wrap: wrap;
|
|
@@ -22350,7 +22350,7 @@ N.div`
|
|
|
22350
22350
|
align-items: center;
|
|
22351
22351
|
gap: 4px;
|
|
22352
22352
|
`;
|
|
22353
|
-
const Zn = N(
|
|
22353
|
+
const Zn = N(xi)`
|
|
22354
22354
|
font-size: 12px;
|
|
22355
22355
|
text-align: start;
|
|
22356
22356
|
color: #8c8c8c;
|
|
@@ -22447,7 +22447,7 @@ const Zn = N(Ei)`
|
|
|
22447
22447
|
headerTitle: "Document Shares"
|
|
22448
22448
|
}
|
|
22449
22449
|
),
|
|
22450
|
-
/* @__PURE__ */ u(Wn, { children: /* @__PURE__ */ u(
|
|
22450
|
+
/* @__PURE__ */ u(Wn, { children: /* @__PURE__ */ u(Mi, { children: /* @__PURE__ */ I(Mt, { children: [
|
|
22451
22451
|
/* @__PURE__ */ u(vn, { children: "Current Document Shares" }),
|
|
22452
22452
|
/* @__PURE__ */ u(Zn, { children: "Listed below are your currently active document sharing links. You can share or delete them." }),
|
|
22453
22453
|
/* @__PURE__ */ I(Tn, { children: [
|
|
@@ -22550,11 +22550,11 @@ const F8 = ({
|
|
|
22550
22550
|
}
|
|
22551
22551
|
),
|
|
22552
22552
|
/* @__PURE__ */ I(Ig, { children: [
|
|
22553
|
-
/* @__PURE__ */ I(
|
|
22553
|
+
/* @__PURE__ */ I(Mi, { children: [
|
|
22554
22554
|
/* @__PURE__ */ I(Mt, { children: [
|
|
22555
22555
|
/* @__PURE__ */ u(vn, { children: "Download your data" }),
|
|
22556
22556
|
/* @__PURE__ */ u(
|
|
22557
|
-
|
|
22557
|
+
Li,
|
|
22558
22558
|
{
|
|
22559
22559
|
style: {
|
|
22560
22560
|
fontSize: "12px",
|
|
@@ -22573,7 +22573,7 @@ const F8 = ({
|
|
|
22573
22573
|
}
|
|
22574
22574
|
)
|
|
22575
22575
|
] }),
|
|
22576
|
-
/* @__PURE__ */ I(
|
|
22576
|
+
/* @__PURE__ */ I(Mi, { children: [
|
|
22577
22577
|
/* @__PURE__ */ I(Mt, { children: [
|
|
22578
22578
|
/* @__PURE__ */ u(vn, { children: "Download your data" }),
|
|
22579
22579
|
/* @__PURE__ */ u(Zn, { children: "Use this only if you want to permanently delete your account & data from our system." })
|
|
@@ -22634,7 +22634,7 @@ const F8 = ({
|
|
|
22634
22634
|
/* @__PURE__ */ u("span", { children: "." }),
|
|
22635
22635
|
"Send friends invite with your personal invitation code."
|
|
22636
22636
|
] }),
|
|
22637
|
-
/* @__PURE__ */ I(
|
|
22637
|
+
/* @__PURE__ */ I(Mi, { style: { width: "100%" }, children: [
|
|
22638
22638
|
/* @__PURE__ */ u(vn, { children: "Your invitation code" }),
|
|
22639
22639
|
/* @__PURE__ */ u(
|
|
22640
22640
|
rs,
|
|
@@ -22644,7 +22644,7 @@ const F8 = ({
|
|
|
22644
22644
|
}
|
|
22645
22645
|
)
|
|
22646
22646
|
] }),
|
|
22647
|
-
/* @__PURE__ */ I(
|
|
22647
|
+
/* @__PURE__ */ I(Mi, { style: { width: "100%" }, children: [
|
|
22648
22648
|
/* @__PURE__ */ u(vn, { children: "Or enter your referral code to earn coins" }),
|
|
22649
22649
|
/* @__PURE__ */ u(
|
|
22650
22650
|
rs,
|
|
@@ -22713,7 +22713,7 @@ const Yc = N.div`
|
|
|
22713
22713
|
}
|
|
22714
22714
|
),
|
|
22715
22715
|
/* @__PURE__ */ I(Ig, { children: [
|
|
22716
|
-
/* @__PURE__ */ I(
|
|
22716
|
+
/* @__PURE__ */ I(Mi, { children: [
|
|
22717
22717
|
/* @__PURE__ */ u(vn, { children: "Profile Visiblility" }),
|
|
22718
22718
|
/* @__PURE__ */ I(Yc, { children: [
|
|
22719
22719
|
/* @__PURE__ */ I(lr, { children: [
|
|
@@ -22744,7 +22744,7 @@ const Yc = N.div`
|
|
|
22744
22744
|
/* @__PURE__ */ u(Zn, { children: "Only users with your permission or temporary secure link can see your profile." })
|
|
22745
22745
|
] })
|
|
22746
22746
|
] }),
|
|
22747
|
-
/* @__PURE__ */ I(
|
|
22747
|
+
/* @__PURE__ */ I(Mi, { children: [
|
|
22748
22748
|
/* @__PURE__ */ u(vn, { children: "Documents Visibility" }),
|
|
22749
22749
|
/* @__PURE__ */ I(Yc, { children: [
|
|
22750
22750
|
/* @__PURE__ */ I(lr, { children: [
|
|
@@ -22841,7 +22841,7 @@ const Yc = N.div`
|
|
|
22841
22841
|
}
|
|
22842
22842
|
),
|
|
22843
22843
|
/* @__PURE__ */ u(Wn, { children: /* @__PURE__ */ u(
|
|
22844
|
-
|
|
22844
|
+
Oi,
|
|
22845
22845
|
{
|
|
22846
22846
|
icon: d,
|
|
22847
22847
|
name: `${r} ${a}`,
|
|
@@ -22907,7 +22907,7 @@ const Yc = N.div`
|
|
|
22907
22907
|
), [A, o] = X(!1), [f, d] = X(!1), c = te(() => {
|
|
22908
22908
|
e(po()), n();
|
|
22909
22909
|
}, []), l = te(() => {
|
|
22910
|
-
e(
|
|
22910
|
+
e(Ui()), e(vo());
|
|
22911
22911
|
}, []), h = ke(
|
|
22912
22912
|
() => [
|
|
22913
22913
|
{
|
|
@@ -22977,7 +22977,7 @@ const Yc = N.div`
|
|
|
22977
22977
|
),
|
|
22978
22978
|
/* @__PURE__ */ I(Wn, { children: [
|
|
22979
22979
|
/* @__PURE__ */ u(
|
|
22980
|
-
|
|
22980
|
+
Oi,
|
|
22981
22981
|
{
|
|
22982
22982
|
icon: (k == null ? void 0 : k.profileImage) ?? null,
|
|
22983
22983
|
name: (k == null ? void 0 : k.name) ?? (k == null ? void 0 : k.firstName),
|
|
@@ -22996,8 +22996,8 @@ const Yc = N.div`
|
|
|
22996
22996
|
}
|
|
22997
22997
|
) }),
|
|
22998
22998
|
/* @__PURE__ */ I(Tn, { children: [
|
|
22999
|
-
/* @__PURE__ */ u(
|
|
23000
|
-
/* @__PURE__ */ u(
|
|
22999
|
+
/* @__PURE__ */ u(xi, { children: "About" }),
|
|
23000
|
+
/* @__PURE__ */ u(Li, { children: k != null && k.description && ((S = k == null ? void 0 : k.description) == null ? void 0 : S.length) > 4 ? k.description : "No description" })
|
|
23001
23001
|
] }),
|
|
23002
23002
|
f ? /* @__PURE__ */ u(bn, {}) : s && /* @__PURE__ */ I(we, { children: [
|
|
23003
23003
|
/* @__PURE__ */ u(
|
|
@@ -23092,8 +23092,8 @@ const Yc = N.div`
|
|
|
23092
23092
|
},
|
|
23093
23093
|
onClick: () => t(r.key),
|
|
23094
23094
|
children: [
|
|
23095
|
-
/* @__PURE__ */ u(
|
|
23096
|
-
[2, 3, 4].includes(s) && /* @__PURE__ */ u(
|
|
23095
|
+
/* @__PURE__ */ u(xi, { children: r.value }),
|
|
23096
|
+
[2, 3, 4].includes(s) && /* @__PURE__ */ u(Li, { children: "0" })
|
|
23097
23097
|
]
|
|
23098
23098
|
}
|
|
23099
23099
|
),
|
|
@@ -63510,7 +63510,7 @@ const Yc = N.div`
|
|
|
63510
63510
|
onClick: () => t(n),
|
|
63511
63511
|
bg: (o = r == null ? void 0 : r.colors) == null ? void 0 : o.primary,
|
|
63512
63512
|
children: [
|
|
63513
|
-
/* @__PURE__ */ u(
|
|
63513
|
+
/* @__PURE__ */ u(Oi, { name: n.name, icon: n == null ? void 0 : n.icon }),
|
|
63514
63514
|
/* @__PURE__ */ I(
|
|
63515
63515
|
"div",
|
|
63516
63516
|
{
|
|
@@ -63632,7 +63632,7 @@ const Yc = N.div`
|
|
|
63632
63632
|
(w) => l === w.jid,
|
|
63633
63633
|
[l]
|
|
63634
63634
|
), y = te(async () => {
|
|
63635
|
-
r && (await r.close(), s(null)), d(vo()), d(
|
|
63635
|
+
r && (await r.close(), s(null)), d(vo()), d(Ui());
|
|
63636
63636
|
}, []), C = ke(
|
|
63637
63637
|
() => [
|
|
63638
63638
|
{
|
|
@@ -63790,7 +63790,7 @@ const Yc = N.div`
|
|
|
63790
63790
|
onClick: () => i(Qe(ge.CHAT_PROFILE)),
|
|
63791
63791
|
children: [
|
|
63792
63792
|
/* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(
|
|
63793
|
-
|
|
63793
|
+
Oi,
|
|
63794
63794
|
{
|
|
63795
63795
|
name: n.name,
|
|
63796
63796
|
size: 40,
|
|
@@ -66177,7 +66177,7 @@ async function Xx(n) {
|
|
|
66177
66177
|
}
|
|
66178
66178
|
}
|
|
66179
66179
|
}
|
|
66180
|
-
A &&
|
|
66180
|
+
A && Gi.reset(), Zg();
|
|
66181
66181
|
}
|
|
66182
66182
|
function $g(n, e, i) {
|
|
66183
66183
|
n || (n = {});
|
|
@@ -66221,7 +66221,7 @@ async function _x(n, { maxResults: e, caller: i } = {}) {
|
|
|
66221
66221
|
return f == d ? A.id.localeCompare(o.id) : f - d;
|
|
66222
66222
|
}), s.length > e && (s = s.slice(0, e))), s;
|
|
66223
66223
|
}
|
|
66224
|
-
var
|
|
66224
|
+
var Gi = {
|
|
66225
66225
|
search: _x,
|
|
66226
66226
|
get: Kx,
|
|
66227
66227
|
reset: Zx,
|
|
@@ -66456,10 +66456,10 @@ var ms = {
|
|
|
66456
66456
|
function XA(n) {
|
|
66457
66457
|
let { id: e, skin: i, emoji: t } = n;
|
|
66458
66458
|
if (n.shortcodes) {
|
|
66459
|
-
const A = n.shortcodes.match(
|
|
66459
|
+
const A = n.shortcodes.match(Gi.SHORTCODES_REGEX);
|
|
66460
66460
|
A && (e = A[1], A[2] && (i = A[2]));
|
|
66461
66461
|
}
|
|
66462
|
-
if (t || (t =
|
|
66462
|
+
if (t || (t = Gi.get(e || n.native)), !t) return n.fallback;
|
|
66463
66463
|
const r = t.skins[i - 1] || t.skins[0], s = r.src || (n.set != "native" && !n.spritesheet ? typeof n.getImageURL == "function" ? n.getImageURL(n.set, r.unified) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/64/${r.unified}.png` : void 0), a = typeof n.getSpritesheetURL == "function" ? n.getSpritesheetURL(n.set) : `https://cdn.jsdelivr.net/npm/emoji-datasource-${n.set}@15.0.1/img/${n.set}/sheets-256/64.png`;
|
|
66464
66464
|
return /* @__PURE__ */ Y("span", {
|
|
66465
66465
|
class: "emoji-mart-emoji",
|
|
@@ -66995,7 +66995,7 @@ class bE extends wn {
|
|
|
66995
66995
|
getEmojiByPos([e, i]) {
|
|
66996
66996
|
const t = this.state.searchResults || this.grid, r = t[e] && t[e][i];
|
|
66997
66997
|
if (r)
|
|
66998
|
-
return
|
|
66998
|
+
return Gi.get(r);
|
|
66999
66999
|
}
|
|
67000
67000
|
observeCategories() {
|
|
67001
67001
|
const e = this.refs.navigation.current;
|
|
@@ -67394,7 +67394,7 @@ class bE extends wn {
|
|
|
67394
67394
|
height: this.props.emojiButtonSize
|
|
67395
67395
|
}
|
|
67396
67396
|
});
|
|
67397
|
-
const b =
|
|
67397
|
+
const b = Gi.get(v);
|
|
67398
67398
|
return this.renderEmojiButton(b, {
|
|
67399
67399
|
pos: [
|
|
67400
67400
|
A.index,
|
|
@@ -67559,7 +67559,7 @@ class bE extends wn {
|
|
|
67559
67559
|
}), Ze(this, "handleSearchInput", async () => {
|
|
67560
67560
|
const i = this.refs.searchInput.current;
|
|
67561
67561
|
if (!i) return;
|
|
67562
|
-
const { value: t } = i, r = await
|
|
67562
|
+
const { value: t } = i, r = await Gi.search(t), s = () => {
|
|
67563
67563
|
this.refs.scroll.current && (this.refs.scroll.current.scrollTop = 0);
|
|
67564
67564
|
};
|
|
67565
67565
|
if (!r) return this.setState({
|
|
@@ -69096,7 +69096,7 @@ const EE = N.div`
|
|
|
69096
69096
|
token: m.data.token,
|
|
69097
69097
|
refreshToken: m.data.refreshToken
|
|
69098
69098
|
};
|
|
69099
|
-
e(Kn(y)), bt(
|
|
69099
|
+
e(Kn(y)), bt(Fi.ETHORA_USER).set(y), i({
|
|
69100
69100
|
id: "success",
|
|
69101
69101
|
title: "Login Successful",
|
|
69102
69102
|
message: "Welcome back!",
|
|
@@ -69138,7 +69138,7 @@ const EE = N.div`
|
|
|
69138
69138
|
token: B.data.token,
|
|
69139
69139
|
refreshToken: B.data.refreshToken
|
|
69140
69140
|
};
|
|
69141
|
-
e(Kn(E)), bt(
|
|
69141
|
+
e(Kn(E)), bt(Fi.ETHORA_USER).set(E);
|
|
69142
69142
|
} catch {
|
|
69143
69143
|
console.log("error registering user viag google");
|
|
69144
69144
|
}
|
|
@@ -69154,7 +69154,7 @@ const EE = N.div`
|
|
|
69154
69154
|
token: B.data.token,
|
|
69155
69155
|
refreshToken: B.data.refreshToken
|
|
69156
69156
|
};
|
|
69157
|
-
e(Kn(E)), bt(
|
|
69157
|
+
e(Kn(E)), bt(Fi.ETHORA_USER).set(E);
|
|
69158
69158
|
}
|
|
69159
69159
|
} catch (S) {
|
|
69160
69160
|
console.log(S);
|
|
@@ -69498,7 +69498,7 @@ const EE = N.div`
|
|
|
69498
69498
|
}) => {
|
|
69499
69499
|
const d = me(null);
|
|
69500
69500
|
return /* @__PURE__ */ u(ct, { children: /* @__PURE__ */ I(et, { style: { maxWidth: "640px" }, children: [
|
|
69501
|
-
/* @__PURE__ */ u(
|
|
69501
|
+
/* @__PURE__ */ u(Si, { onClick: o, style: { fontSize: 24 }, children: "×" }),
|
|
69502
69502
|
n ? /* @__PURE__ */ u(n, {}) : /* @__PURE__ */ u(nt, { children: e }),
|
|
69503
69503
|
i && /* @__PURE__ */ u(c6, { children: i }),
|
|
69504
69504
|
s && /* @__PURE__ */ u(on, { style: { flexDirection: "column", position: "relative" }, children: /* @__PURE__ */ u(
|
|
@@ -69587,7 +69587,7 @@ const EE = N.div`
|
|
|
69587
69587
|
handleCloseModal: e,
|
|
69588
69588
|
children: i
|
|
69589
69589
|
}) => /* @__PURE__ */ u(ct, { children: /* @__PURE__ */ I(et, { children: [
|
|
69590
|
-
/* @__PURE__ */ u(
|
|
69590
|
+
/* @__PURE__ */ u(Si, { onClick: e, style: { fontSize: 24 }, children: "×" }),
|
|
69591
69591
|
/* @__PURE__ */ u(nt, { children: n }),
|
|
69592
69592
|
i
|
|
69593
69593
|
] }) }), bl = N.button`
|
|
@@ -69816,10 +69816,10 @@ const EE = N.div`
|
|
|
69816
69816
|
s == null ? void 0 : s.xmppPassword,
|
|
69817
69817
|
t == null ? void 0 : t.xmppSettings,
|
|
69818
69818
|
D
|
|
69819
|
-
).then((
|
|
69819
|
+
).then((Ti) => Ti);
|
|
69820
69820
|
D && Object.keys(D).length > 0 ? (d(!0), await w1(je, D)) : t != null && t.newArch ? (R(je), d(!0)) : await je.getRoomsStanza(), await je.getChatsPrivateStoreRequestStanza().then(
|
|
69821
|
-
async (
|
|
69822
|
-
$r(
|
|
69821
|
+
async (Ti) => {
|
|
69822
|
+
$r(Ti, y), await es(B, je), P(je);
|
|
69823
69823
|
}
|
|
69824
69824
|
), (q = t == null ? void 0 : t.refreshTokens) != null && q.enabled && yA();
|
|
69825
69825
|
}
|
|
@@ -70116,7 +70116,7 @@ const SB = Ye.memo(
|
|
|
70116
70116
|
};
|
|
70117
70117
|
}, OB = {
|
|
70118
70118
|
performLogout: () => {
|
|
70119
|
-
_.dispatch(
|
|
70119
|
+
_.dispatch(Ui()), _.dispatch(vo());
|
|
70120
70120
|
}
|
|
70121
70121
|
};
|
|
70122
70122
|
export {
|