@vlprojects-chat/chat 0.17.0-LD-8093.9 → 0.17.0-LD-8093.11

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.
Files changed (2) hide show
  1. package/dist/index.mjs +118 -118
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -773,13 +773,13 @@ Check the top-level render call using <` + De + ">.");
773
773
  return Q === e.Fragment ? kh(Hn) : Nh(Hn), Hn;
774
774
  }
775
775
  }
776
- function ft(Q, Oe, De) {
776
+ function dt(Q, Oe, De) {
777
777
  return Hf(Q, Oe, De, !0);
778
778
  }
779
779
  function po(Q, Oe, De) {
780
780
  return Hf(Q, Oe, De, !1);
781
781
  }
782
- var b_ = po, w_ = ft;
782
+ var b_ = po, w_ = dt;
783
783
  e.jsx = b_, e.jsxs = w_;
784
784
  }();
785
785
  }(Mb)), Mb;
@@ -6977,13 +6977,13 @@ var Uc = {
6977
6977
  shallow: HF
6978
6978
  };
6979
6979
  function Hc(e, t, n) {
6980
- return ti(e) ? e : Array.isArray(e) ? ut.array(e, {
6980
+ return ti(e) ? e : Array.isArray(e) ? ft.array(e, {
6981
6981
  name: n
6982
- }) : eo(e) ? ut.object(e, void 0, {
6982
+ }) : eo(e) ? ft.object(e, void 0, {
6983
6983
  name: n
6984
- }) : uf(e) ? ut.map(e, {
6984
+ }) : uf(e) ? ft.map(e, {
6985
6985
  name: n
6986
- }) : Ms(e) ? ut.set(e, {
6986
+ }) : Ms(e) ? ft.set(e, {
6987
6987
  name: n
6988
6988
  }) : typeof e == "function" && !Ra(e) && !Iu(e) ? O5(e) ? zc(e) : Au(n, e) : e;
6989
6989
  }
@@ -6991,22 +6991,22 @@ function GF(e, t, n) {
6991
6991
  if (e == null || pn(e) || Dn(e) || Un(e) || qn(e))
6992
6992
  return e;
6993
6993
  if (Array.isArray(e))
6994
- return ut.array(e, {
6994
+ return ft.array(e, {
6995
6995
  name: n,
6996
6996
  deep: !1
6997
6997
  });
6998
6998
  if (eo(e))
6999
- return ut.object(e, void 0, {
6999
+ return ft.object(e, void 0, {
7000
7000
  name: n,
7001
7001
  deep: !1
7002
7002
  });
7003
7003
  if (uf(e))
7004
- return ut.map(e, {
7004
+ return ft.map(e, {
7005
7005
  name: n,
7006
7006
  deep: !1
7007
7007
  });
7008
7008
  if (Ms(e))
7009
- return ut.set(e, {
7009
+ return ft.set(e, {
7010
7010
  name: n,
7011
7011
  deep: !1
7012
7012
  });
@@ -7284,7 +7284,7 @@ function hB(e, t, n, r) {
7284
7284
  var u = (a = this.options_) != null && a.autoBind ? Au.bound : Au;
7285
7285
  return u.make_(e, t, n, r);
7286
7286
  }
7287
- var p = ((o = this.options_) == null ? void 0 : o.deep) === !1 ? ut.ref : ut;
7287
+ var p = ((o = this.options_) == null ? void 0 : o.deep) === !1 ? ft.ref : ft;
7288
7288
  if (typeof n.value == "function" && (i = this.options_) != null && i.autoBind) {
7289
7289
  var d;
7290
7290
  n.value = n.value.bind((d = e.proxy_) != null ? d : e.target_);
@@ -7304,7 +7304,7 @@ function mB(e, t, n, r) {
7304
7304
  var s;
7305
7305
  n.value = n.value.bind((s = e.proxy_) != null ? s : e.target_);
7306
7306
  }
7307
- var a = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? ut.ref : ut;
7307
+ var a = ((i = this.options_) == null ? void 0 : i.deep) === !1 ? ft.ref : ft;
7308
7308
  return a.extend_(e, t, n, r);
7309
7309
  }
7310
7310
  function gB(e, t) {
@@ -7345,7 +7345,7 @@ function F5(e, t, n) {
7345
7345
  Hp(e, t, ew);
7346
7346
  return;
7347
7347
  }
7348
- return ti(e) ? e : eo(e) ? ut.object(e, t, n) : Array.isArray(e) ? ut.array(e, t) : uf(e) ? ut.map(e, t) : Ms(e) ? ut.set(e, t) : typeof e == "object" && e !== null ? e : ut.box(e, t);
7348
+ return ti(e) ? e : eo(e) ? ft.object(e, t, n) : Array.isArray(e) ? ft.array(e, t) : uf(e) ? ft.map(e, t) : Ms(e) ? ft.set(e, t) : typeof e == "object" && e !== null ? e : ft.box(e, t);
7349
7349
  }
7350
7350
  C5(F5, L5);
7351
7351
  var OB = {
@@ -7374,7 +7374,7 @@ var OB = {
7374
7374
  shallow: /* @__PURE__ */ gi(EB),
7375
7375
  deep: L5,
7376
7376
  struct: /* @__PURE__ */ gi(xB)
7377
- }, ut = /* @__PURE__ */ C5(F5, OB), B5 = "computed", RB = "computed.struct", tw = /* @__PURE__ */ YE(B5), AB = /* @__PURE__ */ YE(RB, {
7377
+ }, ft = /* @__PURE__ */ C5(F5, OB), B5 = "computed", RB = "computed.struct", tw = /* @__PURE__ */ YE(B5), AB = /* @__PURE__ */ YE(RB, {
7378
7378
  equals: Uc.structural
7379
7379
  }), ct = function(t, n) {
7380
7380
  if (Wp(n))
@@ -9900,7 +9900,7 @@ const FV = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9900
9900
  keys: Pa,
9901
9901
  makeAutoObservable: nx,
9902
9902
  makeObservable: jy,
9903
- observable: ut,
9903
+ observable: ft,
9904
9904
  observe: gl,
9905
9905
  onBecomeObserved: o4,
9906
9906
  onBecomeUnobserved: QE,
@@ -21325,7 +21325,7 @@ function jX(e) {
21325
21325
  return e !== t && (e = t, yr(e) && $c(e).dataType) ? e : mX(e, (n) => yr(n) && !!$c(n).dataType);
21326
21326
  }
21327
21327
  function rM(e, t, n) {
21328
- const r = e, o = r.length, i = Dn(r) ? r : ut.array(void 0, GX);
21328
+ const r = e, o = r.length, i = Dn(r) ? r : ft.array(void 0, GX);
21329
21329
  i !== r && (i.length = r.length);
21330
21330
  let s, a;
21331
21331
  const c = () => {
@@ -21557,7 +21557,7 @@ function yR(e, t, n, r, o) {
21557
21557
  return i < 0 ? e[t] : i < o.length ? o[i] : e[t - o.length + r];
21558
21558
  }
21559
21559
  function zX(e, t) {
21560
- const n = ut.array([], Gx), r = e.length;
21560
+ const n = ft.array([], Gx), r = e.length;
21561
21561
  for (let o = 0; o < r; o++)
21562
21562
  n.push($y(e[o], t));
21563
21563
  return rM(n, void 0, !0);
@@ -21600,7 +21600,7 @@ function XX() {
21600
21600
  });
21601
21601
  }
21602
21602
  function Wx(e, t, n, r, o) {
21603
- const i = e, s = pn(i) ? i : ut.object({}, void 0, JX);
21603
+ const i = e, s = pn(i) ? i : ft.object({}, void 0, JX);
21604
21604
  let a, c;
21605
21605
  const l = () => {
21606
21606
  a(), c();
@@ -21754,7 +21754,7 @@ function rJ() {
21754
21754
  });
21755
21755
  }
21756
21756
  function oJ(e, t) {
21757
- const n = ut.object({}, void 0, Gx), r = Object.keys(e), o = r.length;
21757
+ const n = ft.object({}, void 0, Gx), r = Object.keys(e), o = r.length;
21758
21758
  for (let i = 0; i < o; i++) {
21759
21759
  const s = r[i], a = e[s];
21760
21760
  ta(n, s, $y(a, t));
@@ -21808,7 +21808,7 @@ function $y(e, t) {
21808
21808
  throw Ky(e) ? he("a snapshot must not contain maps") : Xy(e) ? he("a snapshot must not contain sets") : he(`unsupported snapshot - ${e}`);
21809
21809
  }
21810
21810
  function cJ(e, t) {
21811
- const n = ut.object({}, void 0, Gx), r = Object.keys(t), o = r.length;
21811
+ const n = ft.object({}, void 0, Gx), r = Object.keys(t), o = r.length;
21812
21812
  for (let i = 0; i < o; i++) {
21813
21813
  const s = r[i];
21814
21814
  if (!Tk(s)) {
@@ -22367,7 +22367,7 @@ class bi {
22367
22367
  );
22368
22368
  Object.setPrototypeOf(this, o.prototype);
22369
22369
  const s = this;
22370
- delete s[jg], delete s[iR], delete s[sR], delete s[OR], r ? IJ(this, r, o, !!i) : (Ef(n, "initialData"), PJ(this, ut.object(n, void 0, { deep: !1 }), o));
22370
+ delete s[jg], delete s[iR], delete s[sR], delete s[OR], r ? IJ(this, r, o, !!i) : (Ef(n, "initialData"), PJ(this, ft.object(n, void 0, { deep: !1 }), o));
22371
22371
  }
22372
22372
  /**
22373
22373
  * Model internal id. Can be modified inside a model action.
@@ -23603,7 +23603,7 @@ function w0(e) {
23603
23603
  const yZ = () => ea("contextValue");
23604
23604
  class bZ {
23605
23605
  constructor(t) {
23606
- Le(this, "defaultContextValue", ut.box(void 0, { deep: !1 })), Le(this, "overrideContextValue", ut.box(void 0, {
23606
+ Le(this, "defaultContextValue", ft.box(void 0, { deep: !1 })), Le(this, "overrideContextValue", ft.box(void 0, {
23607
23607
  deep: !1
23608
23608
  })), Le(this, "nodeContextValue", /* @__PURE__ */ new WeakMap()), Le(this, "nodeAtom", /* @__PURE__ */ new WeakMap()), Le(this, "setDefault", Fe((n) => {
23609
23609
  this.defaultContextValue.set({
@@ -23788,11 +23788,11 @@ function SZ(e, t, n = e2) {
23788
23788
  function em(e, t) {
23789
23789
  let n = DR.get(e);
23790
23790
  if (n || (n = {
23791
- all: ut.set(void 0, { deep: !1 }),
23791
+ all: ft.set(void 0, { deep: !1 }),
23792
23792
  byType: /* @__PURE__ */ new WeakMap()
23793
23793
  }, DR.set(e, n)), t) {
23794
23794
  let r = n.byType.get(t);
23795
- return r || (r = ut.set(void 0, { deep: !1 }), n.byType.set(t, r)), r;
23795
+ return r || (r = ft.set(void 0, { deep: !1 }), n.byType.set(t, r)), r;
23796
23796
  } else
23797
23797
  return n.all;
23798
23798
  }
@@ -23868,7 +23868,7 @@ Xn(`${tm}::set`, (e, t, n) => {
23868
23868
  Fe((e) => {
23869
23869
  if (sr && !pn(e))
23870
23870
  throw he("assertion failed: expected an observable object");
23871
- const t = ut.map();
23871
+ const t = ft.map();
23872
23872
  t.dataObject = e;
23873
23873
  const n = Object.keys(e);
23874
23874
  for (let i = 0; i < n.length; i++) {
@@ -23923,7 +23923,7 @@ Fe((e) => {
23923
23923
  if (sr && !Dn(e))
23924
23924
  throw he("assertion failed: expected an observable array");
23925
23925
  let t;
23926
- if (rh() >= 6 ? t = ut.map(e) : (t = ut.map(), e.forEach(([o, i]) => {
23926
+ if (rh() >= 6 ? t = ft.map(e) : (t = ft.map(), e.forEach(([o, i]) => {
23927
23927
  t.set(o, i);
23928
23928
  })), t.dataObject = e, t.size !== e.length)
23929
23929
  throw he("arrays backing a map cannot contain duplicate keys");
@@ -23988,7 +23988,7 @@ Fe((e) => {
23988
23988
  if (sr && !Dn(e))
23989
23989
  throw he("assertion failed: expected an observable array");
23990
23990
  let t;
23991
- if (rh() >= 6 ? t = ut.set(e) : (t = ut.set(), e.forEach((o) => {
23991
+ if (rh() >= 6 ? t = ft.set(e) : (t = ft.set(), e.forEach((o) => {
23992
23992
  t.add(o);
23993
23993
  })), t.dataObject = e, t.size !== e.length)
23994
23994
  throw he("arrays backing a set cannot contain duplicate values");
@@ -28785,7 +28785,7 @@ var sm = function(e, t, n, r) {
28785
28785
  this.current = t, this.dispose();
28786
28786
  }
28787
28787
  }), sm([
28788
- ut.ref
28788
+ ft.ref
28789
28789
  ], e.prototype, "current", void 0), sm([
28790
28790
  Fe.bound
28791
28791
  ], e.prototype, "next", null), sm([
@@ -28820,12 +28820,12 @@ var Kg = function() {
28820
28820
  enumerable: !0,
28821
28821
  configurable: !0,
28822
28822
  writable: !0,
28823
- value: ut.map({})
28823
+ value: ft.map({})
28824
28824
  }), Object.defineProperty(this, "localComputedValues", {
28825
28825
  enumerable: !0,
28826
28826
  configurable: !0,
28827
28827
  writable: !0,
28828
- value: ut.map({})
28828
+ value: ft.map({})
28829
28829
  }), Object.defineProperty(this, "isPropertyDirty", {
28830
28830
  enumerable: !0,
28831
28831
  configurable: !0,
@@ -29023,7 +29023,7 @@ var mne = /* @__PURE__ */ function() {
29023
29023
  writable: !0,
29024
29024
  value: function(n) {
29025
29025
  var r = e.prototype.get.call(this, n);
29026
- return r === void 0 && (r = ut([], { name: "GroupArray[" + this._keyToName(n) + "]", deep: !1 }), e.prototype.set.call(this, n, r)), r;
29026
+ return r === void 0 && (r = ft([], { name: "GroupArray[" + this._keyToName(n) + "]", deep: !1 }), e.prototype.set.call(this, n, r)), r;
29027
29027
  }
29028
29028
  }), Object.defineProperty(t.prototype, "_removeFromGroupArr", {
29029
29029
  enumerable: !1,
@@ -30825,10 +30825,10 @@ class S2 {
30825
30825
  }
30826
30826
  }
30827
30827
  zj([
30828
- ut
30828
+ ft
30829
30829
  ], S2.prototype, "progress");
30830
30830
  zj([
30831
- ut
30831
+ ft
30832
30832
  ], S2.prototype, "status");
30833
30833
  var ioe = Object.defineProperty, soe = Object.getOwnPropertyDescriptor, qj = (e, t, n, r) => {
30834
30834
  for (var o = r > 1 ? void 0 : r ? soe(t, n) : t, i = e.length - 1, s; i >= 0; i--)
@@ -30871,7 +30871,7 @@ class E2 {
30871
30871
  }
30872
30872
  }
30873
30873
  qj([
30874
- ut
30874
+ ft
30875
30875
  ], E2.prototype, "_status", 2);
30876
30876
  qj([
30877
30877
  ct
@@ -30921,7 +30921,7 @@ TS = loe([
30921
30921
  wr("MessageDrafts")
30922
30922
  ], TS);
30923
30923
  const uoe = TS;
30924
- var dt = /* @__PURE__ */ ((e) => (e.Login = "login", e.Signup = "signup", e.Profile = "profile", e.Channels = "channels", e.Direct = "direct", e.Users = "users", e.Polls = "polls", e.CreatePoll = "create_poll", e.PollResultDetail = "poll_result_detail", e.PollResultOpenEndedDetail = "poll_result_open_ended_detail", e))(dt || {}), foe = Object.defineProperty, doe = Object.getOwnPropertyDescriptor, fn = (e, t, n, r) => {
30924
+ var ut = /* @__PURE__ */ ((e) => (e.Login = "login", e.Signup = "signup", e.Profile = "profile", e.Channels = "channels", e.Direct = "direct", e.Users = "users", e.Polls = "polls", e.CreatePoll = "create_poll", e.PollResultDetail = "poll_result_detail", e.PollResultOpenEndedDetail = "poll_result_open_ended_detail", e))(ut || {}), foe = Object.defineProperty, doe = Object.getOwnPropertyDescriptor, fn = (e, t, n, r) => {
30925
30925
  for (var o = r > 1 ? void 0 : r ? doe(t, n) : t, i = e.length - 1, s; i >= 0; i--)
30926
30926
  (s = e[i]) && (o = (r ? s(t, n, o) : s(o)) || o);
30927
30927
  return r && o && foe(t, n, o), o;
@@ -30964,10 +30964,10 @@ let $t = class extends br({
30964
30964
  let n = 0;
30965
30965
  const r = lp(this);
30966
30966
  return e.forEach((o) => {
30967
- var i;
30967
+ var i, s;
30968
30968
  if (!(o.type === kc.System && !o.meta)) {
30969
- this.messages.has(o.id) || (t += 1, console.log(`craetedAt=${o.createdAt} getTime=${new Date(o.createdAt).getTime()}`), (this.id !== ((i = r.currentChannel) == null ? void 0 : i.id) || !r.ui.route.includes(dt.Channels)) && (n = new Date(o.createdAt).getTime() > this.lastReadTimestamp ? n + 1 : n));
30970
- const s = new mp({
30969
+ this.messages.has(o.id) || (t += 1, console.log(`craetedAt=${o.createdAt} getTime=${new Date(o.createdAt).getTime()} ${new Date(o.createdAt).getTime() > this.lastReadTimestamp}`), console.log(`this.id !== root.currentChannel?.id=${this.id !== ((i = r.currentChannel) == null ? void 0 : i.id)}`), console.log(`!root.ui.route.includes(Routes.Channels)=${!r.ui.route.includes(ut.Channels)}`), console.log("root.currentChannel=", r.currentChannel), console.log("this.id=", this.id), console.log("root.ui.route=", r.ui.route), (this.id !== ((s = r.currentChannel) == null ? void 0 : s.id) || !r.ui.route.includes(ut.Channels)) && (n = new Date(o.createdAt).getTime() > this.lastReadTimestamp ? n + 1 : n, console.log(`iterattion unreadMessagesCount=${n}`)));
30970
+ const a = new mp({
30971
30971
  id: o.id,
30972
30972
  randomId: o.randomId || null,
30973
30973
  text: o.text,
@@ -30978,7 +30978,7 @@ let $t = class extends br({
30978
30978
  systemData: null,
30979
30979
  attachments: o.attachments ?? []
30980
30980
  });
30981
- o.type === kc.System && s.loadSystemData(r, o.meta.event, o.meta.data), this.messages.set(o.id, s);
30981
+ o.type === kc.System && a.loadSystemData(r, o.meta.event, o.meta.data), this.messages.set(o.id, a);
30982
30982
  }
30983
30983
  }), console.log("unreadMessagesCount=", this.unreadMessagesCount + n), this.unreadMessagesCount += n, t;
30984
30984
  }
@@ -31335,7 +31335,7 @@ let ar = class extends br({
31335
31335
  }
31336
31336
  };
31337
31337
  Yr([
31338
- ut
31338
+ ft
31339
31339
  ], ar.prototype, "fetchingQueueUser", 2);
31340
31340
  Yr([
31341
31341
  ct
@@ -33815,12 +33815,12 @@ const Xoe = async (e) => {
33815
33815
  _e.info("Joining to external channel", { channelId: t });
33816
33816
  const n = e.chat.channelsList.find((r) => r.externalId === t);
33817
33817
  if (n) {
33818
- e.ui.setRoute(`${dt.Channels}/${n.id}`), _e.info("Joining to external channel skipping, already joined", { channelId: t });
33818
+ e.ui.setRoute(`${ut.Channels}/${n.id}`), _e.info("Joining to external channel skipping, already joined", { channelId: t });
33819
33819
  return;
33820
33820
  }
33821
33821
  try {
33822
33822
  const r = await Gr(`channels/join-external/${t}`);
33823
- e.chat.pubs.delete(r.id), e.chat.addChannels([r]), e.ui.setRoute(`${dt.Channels}/${r.id}`), _e.info("Joined to external channel", { channelId: t });
33823
+ e.chat.pubs.delete(r.id), e.chat.addChannels([r]), e.ui.setRoute(`${ut.Channels}/${r.id}`), _e.info("Joined to external channel", { channelId: t });
33824
33824
  } catch (r) {
33825
33825
  throw _e.error("Failed to join channel by external id", {
33826
33826
  case: "joinChannelByExternalId",
@@ -33846,7 +33846,7 @@ const Xoe = async (e) => {
33846
33846
  _e.error("Failed to fetch messages", { case: "fetchMessagesBefore", error: s, channelId: t, appId: e.auth.appId }), Ft(s, (a) => a.setTransactionName("fetch messages"));
33847
33847
  }
33848
33848
  return 0;
33849
- }, oD = (e) => e.ui.channelId ? Qoe(e, e.ui.channelId) : e.ui.setRoute(dt.Channels), $oe = (e, t) => {
33849
+ }, oD = (e) => e.ui.channelId ? Qoe(e, e.ui.channelId) : e.ui.setRoute(ut.Channels), $oe = (e, t) => {
33850
33850
  switch (t) {
33851
33851
  case "/reset": {
33852
33852
  e.reset();
@@ -33997,7 +33997,7 @@ let gp = class extends br({
33997
33997
  }, r = async (T) => {
33998
33998
  await rv(t, T.channelId, { messages: [T.message] }), n(T);
33999
33999
  }, o = async (T) => {
34000
- T.tabId === t.chat.tabId && (await rv(t, T.id, { messages: T.messages, users: T.users }), t.ui.setRoute(`${dt.Channels}/${T.id}`));
34000
+ T.tabId === t.chat.tabId && (await rv(t, T.id, { messages: T.messages, users: T.users }), t.ui.setRoute(`${ut.Channels}/${T.id}`));
34001
34001
  }, i = (T) => {
34002
34002
  const b = t.chat.channels.get(`${T.channelId}`);
34003
34003
  if (!b) {
@@ -34164,7 +34164,7 @@ let gp = class extends br({
34164
34164
  }
34165
34165
  };
34166
34166
  sD([
34167
- ut
34167
+ ft
34168
34168
  ], gp.prototype, "messageChunk", 2);
34169
34169
  gp = sD([
34170
34170
  wr("SocketStore")
@@ -35440,7 +35440,7 @@ let Ma = class extends br({
35440
35440
  }
35441
35441
  };
35442
35442
  gh([
35443
- ut
35443
+ ft
35444
35444
  ], Ma.prototype, "messageListDimensions", 2);
35445
35445
  gh([
35446
35446
  st
@@ -39131,7 +39131,7 @@ const yP = {
39131
39131
  }, gce = () => {
39132
39132
  const e = pe.useContext(_2);
39133
39133
  return e ? e.chatSnackbarContainer : null;
39134
- }, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.8", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
39134
+ }, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.17.0-LD-8093.10", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
39135
39135
  "dist"
39136
39136
  ], Oce = {
39137
39137
  type: "git",
@@ -45905,7 +45905,7 @@ const Ode = (e) => {
45905
45905
  );
45906
45906
  }, Rde = (e) => {
45907
45907
  const t = ot(), { id: n } = t.ui.params, { length: r, pollId: o } = e, i = () => {
45908
- t.ui.setRoute(`${dt.PollResultOpenEndedDetail}/${n}/${o}`);
45908
+ t.ui.setRoute(`${ut.PollResultOpenEndedDetail}/${n}/${o}`);
45909
45909
  }, s = !!r;
45910
45910
  return /* @__PURE__ */ h.jsx(ZD, { children: /* @__PURE__ */ h.jsx(Mn, { variant: "link", onClick: i, disabled: !s, children: /* @__PURE__ */ h.jsxs(Ne, { container: !0, wrap: "nowrap", alignItems: "center", columnGap: "6px", children: [
45911
45911
  /* @__PURE__ */ h.jsx(Ode, {}),
@@ -47033,7 +47033,7 @@ const Jde = /* @__PURE__ */ sf(Xde), _i = it(({ route: e, children: t }) => {
47033
47033
  const n = w6();
47034
47034
  await O2(t, n);
47035
47035
  } else
47036
- t.ui.setRoute(dt.Login);
47036
+ t.ui.setRoute(ut.Login);
47037
47037
  }),
47038
47038
  []
47039
47039
  ), t.auth.isAuthorized ? e : t.auth.isAnonymousAllowed ? /* @__PURE__ */ h.jsx(h.Fragment, { children: /* @__PURE__ */ h.jsx(Bp, { color: "secondary" }) }) : /* @__PURE__ */ h.jsx(upe, {});
@@ -54529,72 +54529,72 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
54529
54529
  let ee = oe;
54530
54530
  if (I.env.NODE_ENV !== "production") {
54531
54531
  const {
54532
- current: ft
54532
+ current: dt
54533
54533
  } = j.useRef(A !== void 0);
54534
54534
  j.useEffect(() => {
54535
- V && V.disabled && !ft && X !== "" && V.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
54535
+ V && V.disabled && !dt && X !== "" && V.tagName.toLowerCase() === "button" && console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
54536
54536
  `));
54537
- }, [X, V, ft]);
54537
+ }, [X, V, dt]);
54538
54538
  }
54539
54539
  const Ce = e5(T), $ = j.useRef(), we = ma(() => {
54540
54540
  $.current !== void 0 && (document.body.style.WebkitUserSelect = $.current, $.current = void 0), te.clear();
54541
54541
  });
54542
54542
  j.useEffect(() => we, [we]);
54543
- const Me = (ft) => {
54544
- iI.clear(), bm = !0, ie(!0), O && !ee && O(ft);
54543
+ const Me = (dt) => {
54544
+ iI.clear(), bm = !0, ie(!0), O && !ee && O(dt);
54545
54545
  }, je = ma(
54546
54546
  /**
54547
54547
  * @param {React.SyntheticEvent | Event} event
54548
54548
  */
54549
- (ft) => {
54549
+ (dt) => {
54550
54550
  iI.start(800 + b, () => {
54551
54551
  bm = !1;
54552
- }), ie(!1), x && ee && x(ft), K.start(ae.transitions.duration.shortest, () => {
54552
+ }), ie(!1), x && ee && x(dt), K.start(ae.transitions.duration.shortest, () => {
54553
54553
  U.current = !1;
54554
54554
  });
54555
54555
  }
54556
- ), Ve = (ft) => {
54557
- U.current && ft.type !== "touchstart" || (V && V.removeAttribute("title"), re.clear(), z.clear(), g || bm && v ? re.start(bm ? v : g, () => {
54558
- Me(ft);
54559
- }) : Me(ft));
54560
- }, $e = (ft) => {
54556
+ ), Ve = (dt) => {
54557
+ U.current && dt.type !== "touchstart" || (V && V.removeAttribute("title"), re.clear(), z.clear(), g || bm && v ? re.start(bm ? v : g, () => {
54558
+ Me(dt);
54559
+ }) : Me(dt));
54560
+ }, $e = (dt) => {
54561
54561
  re.clear(), z.start(b, () => {
54562
- je(ft);
54562
+ je(dt);
54563
54563
  });
54564
- }, [, Ke] = j.useState(!1), Xe = (ft) => {
54565
- mg(ft.target) || (Ke(!1), $e(ft));
54566
- }, Tt = (ft) => {
54567
- V || q(ft.currentTarget), mg(ft.target) && (Ke(!0), Ve(ft));
54568
- }, Pe = (ft) => {
54564
+ }, [, Ke] = j.useState(!1), Xe = (dt) => {
54565
+ mg(dt.target) || (Ke(!1), $e(dt));
54566
+ }, Tt = (dt) => {
54567
+ V || q(dt.currentTarget), mg(dt.target) && (Ke(!0), Ve(dt));
54568
+ }, Pe = (dt) => {
54569
54569
  U.current = !0;
54570
54570
  const po = ne.props;
54571
- po.onTouchStart && po.onTouchStart(ft);
54572
- }, fe = (ft) => {
54573
- Pe(ft), z.clear(), K.clear(), we(), $.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", te.start(y, () => {
54574
- document.body.style.WebkitUserSelect = $.current, Ve(ft);
54571
+ po.onTouchStart && po.onTouchStart(dt);
54572
+ }, fe = (dt) => {
54573
+ Pe(dt), z.clear(), K.clear(), we(), $.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", te.start(y, () => {
54574
+ document.body.style.WebkitUserSelect = $.current, Ve(dt);
54575
54575
  });
54576
- }, ye = (ft) => {
54577
- ne.props.onTouchEnd && ne.props.onTouchEnd(ft), we(), z.start(S, () => {
54578
- je(ft);
54576
+ }, ye = (dt) => {
54577
+ ne.props.onTouchEnd && ne.props.onTouchEnd(dt), we(), z.start(S, () => {
54578
+ je(dt);
54579
54579
  });
54580
54580
  };
54581
54581
  j.useEffect(() => {
54582
54582
  if (!ee)
54583
54583
  return;
54584
- function ft(po) {
54584
+ function dt(po) {
54585
54585
  po.key === "Escape" && je(po);
54586
54586
  }
54587
- return document.addEventListener("keydown", ft), () => {
54588
- document.removeEventListener("keydown", ft);
54587
+ return document.addEventListener("keydown", dt), () => {
54588
+ document.removeEventListener("keydown", dt);
54589
54589
  };
54590
54590
  }, [je, ee]);
54591
54591
  const Re = Fn(Fp(ne), q, n);
54592
54592
  !X && X !== 0 && (ee = !1);
54593
- const Ee = j.useRef(), ge = (ft) => {
54593
+ const Ee = j.useRef(), ge = (dt) => {
54594
54594
  const po = ne.props;
54595
- po.onMouseMove && po.onMouseMove(ft), ld = {
54596
- x: ft.clientX,
54597
- y: ft.clientY
54595
+ po.onMouseMove && po.onMouseMove(dt), ld = {
54596
+ x: dt.clientX,
54597
+ y: dt.clientY
54598
54598
  }, Ee.current && Ee.current.update();
54599
54599
  }, ze = {}, P = typeof X == "string";
54600
54600
  l ? (ze.title = !ee && P && !p ? X : null, ze["aria-describedby"] = ee ? Ce : null) : (ze["aria-label"] = P ? X : null, ze["aria-labelledby"] = ee && !P ? Ce : null);
@@ -54618,7 +54618,7 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
54618
54618
  `));
54619
54619
  const M = j.useMemo(() => {
54620
54620
  var po;
54621
- let ft = [{
54621
+ let dt = [{
54622
54622
  name: "arrow",
54623
54623
  enabled: !!D,
54624
54624
  options: {
@@ -54626,9 +54626,9 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
54626
54626
  padding: 4
54627
54627
  }
54628
54628
  }];
54629
- return (po = R.popperOptions) != null && po.modifiers && (ft = ft.concat(R.popperOptions.modifiers)), {
54629
+ return (po = R.popperOptions) != null && po.modifiers && (dt = dt.concat(R.popperOptions.modifiers)), {
54630
54630
  ...R.popperOptions,
54631
- modifiers: ft
54631
+ modifiers: dt
54632
54632
  };
54633
54633
  }, [D, R]), J = {
54634
54634
  ...r,
@@ -54674,10 +54674,10 @@ const K6 = /* @__PURE__ */ j.forwardRef(function(t, n) {
54674
54674
  ...sn,
54675
54675
  popperOptions: M,
54676
54676
  children: ({
54677
- TransitionProps: ft
54677
+ TransitionProps: dt
54678
54678
  }) => /* @__PURE__ */ h.jsx(Ze, {
54679
54679
  timeout: ae.transitions.duration.shorter,
54680
- ...ft,
54680
+ ...dt,
54681
54681
  ...Vt,
54682
54682
  children: /* @__PURE__ */ h.jsxs(Dt, {
54683
54683
  ...Ph,
@@ -61525,10 +61525,10 @@ const Ebe = (e) => {
61525
61525
  }, Tbe = (e, t) => e.chat.directChannelsList.find((r) => r.directUsersOnly.find((o) => o.id === t.id)), e_ = async (e, t) => {
61526
61526
  const n = Tbe(e, t);
61527
61527
  if (n != null && n.id)
61528
- return e.ui.setRoute(`${dt.Channels}/${n.id}`);
61528
+ return e.ui.setRoute(`${ut.Channels}/${n.id}`);
61529
61529
  const r = await Cbe(e, t);
61530
61530
  if (r)
61531
- return await rv(e, r.id, { users: r.users }), e.ui.setRoute(`${dt.Channels}/${r.id}`);
61531
+ return await rv(e, r.id, { users: r.users }), e.ui.setRoute(`${ut.Channels}/${r.id}`);
61532
61532
  }, JI = ({ selected: e, isError: t, user: n }) => {
61533
61533
  const r = (n == null ? void 0 : n.getAvatarColor) || pp.AVATAR2_RED;
61534
61534
  switch (!0) {
@@ -62350,9 +62350,9 @@ const kbe = (e) => {
62350
62350
  }, Ybe = it(qbe), Kbe = ys("div")(), Xbe = (e) => {
62351
62351
  var x;
62352
62352
  const { currentChannel: t, isModerator: n } = e, r = ot(), { ui: o, chat: i, settings: s } = r, a = (t == null ? void 0 : t.type) === nn.Public || (t == null ? void 0 : t.type) === nn.Private, c = (t == null ? void 0 : t.type) === nn.Direct, { displayChannelList: l, displayDirect: u } = s, p = !l && c, d = wn(() => {
62353
- o.setRoute(`${dt.Polls}/${t.id}`);
62353
+ o.setRoute(`${ut.Polls}/${t.id}`);
62354
62354
  }, []), m = wn(() => {
62355
- o.setRoute(`${dt.Direct}`);
62355
+ o.setRoute(`${ut.Direct}`);
62356
62356
  }, []), g = Rn(null), v = i.channelsList;
62357
62357
  console.log("channelsForMe=", v);
62358
62358
  const y = i.channelsList.filter(({ type: O }) => [nn.Public, nn.Private].includes(O)).map((O) => O.unreadMessagesCount).reduce((O, A) => O + A, 0), E = Xr(() => {
@@ -62364,7 +62364,7 @@ const kbe = (e) => {
62364
62364
  return 0;
62365
62365
  }, [y]), T = t.type === nn.Direct ? $9(r, t.id) : /* @__PURE__ */ h.jsx(Te, { id: "chat" }), b = wn(() => {
62366
62366
  var O;
62367
- ((O = r.currentChannel) == null ? void 0 : O.type) === nn.Direct ? o.setRoute(dt.Direct) : o.back();
62367
+ ((O = r.currentChannel) == null ? void 0 : O.type) === nn.Direct ? o.setRoute(ut.Direct) : o.back();
62368
62368
  }, []), S = i.channelsList.filter((O) => O.type === nn.Direct).map((O) => O.unreadMessagesCount).reduce((O, A) => O + A, 0);
62369
62369
  return /* @__PURE__ */ h.jsxs(
62370
62370
  Qa,
@@ -62463,7 +62463,7 @@ const kbe = (e) => {
62463
62463
  }
62464
62464
  }), e0e = (e) => {
62465
62465
  var s, a, c;
62466
- const { channel: t } = e, n = $be(), { ui: r } = ot(), o = t.lastMessage, i = () => r.setRoute(`${dt.Channels}/${t.id}`);
62466
+ const { channel: t } = e, n = $be(), { ui: r } = ot(), o = t.lastMessage, i = () => r.setRoute(`${ut.Channels}/${t.id}`);
62467
62467
  return /* @__PURE__ */ h.jsxs(Ne, { container: !0, className: n.channelRow, onClick: i, alignItems: "center", children: [
62468
62468
  /* @__PURE__ */ h.jsx(Ne, { item: !0, xs: 6, children: /* @__PURE__ */ h.jsx(ve, { marginBottom: "6px", children: t.name }) }),
62469
62469
  /* @__PURE__ */ h.jsx(Ne, { item: !0, xs: 6, textAlign: "right", children: /* @__PURE__ */ h.jsx(
@@ -62500,7 +62500,7 @@ const kbe = (e) => {
62500
62500
  },
62501
62501
  { name: "ChannelList" }
62502
62502
  ), r0e = () => {
62503
- const e = ot(), t = n0e(), n = (o) => e.ui.setRoute(`${dt.Channels}/${o}`), r = (o) => async () => {
62503
+ const e = ot(), t = n0e(), n = (o) => e.ui.setRoute(`${ut.Channels}/${o}`), r = (o) => async () => {
62504
62504
  await rv(e, o), n(o);
62505
62505
  };
62506
62506
  return /* @__PURE__ */ h.jsxs("div", { className: t.channelsList, children: [
@@ -62681,7 +62681,7 @@ const kbe = (e) => {
62681
62681
  }
62682
62682
  })();
62683
62683
  }, [e.chat.directChannelsList]);
62684
- const r = wn((i) => e.ui.setRoute(`${dt.Channels}/${i}`), []), o = e.chat.directChannelsList;
62684
+ const r = wn((i) => e.ui.setRoute(`${ut.Channels}/${i}`), []), o = e.chat.directChannelsList;
62685
62685
  return t && !o.length ? /* @__PURE__ */ h.jsx(u0e, {}) : /* @__PURE__ */ h.jsx(Ne, { container: !0, direction: "column", flexGrow: 1, flexWrap: "nowrap", overflow: "auto", children: [...o].sort((i, s) => {
62686
62686
  var a, c;
62687
62687
  return new Date(((a = s.lastMessage) == null ? void 0 : a.createdAt) || 0).getTime() - new Date(((c = i.lastMessage) == null ? void 0 : c.createdAt) || 0).getTime();
@@ -62708,23 +62708,23 @@ const kbe = (e) => {
62708
62708
  },
62709
62709
  { name: "Channels" }
62710
62710
  ), h0e = (e) => {
62711
- const { channelTabType: t } = e, n = p0e(), r = ot(), { ui: o, settings: i } = r, s = t === dt.Direct && !i.displayChannelList, a = (l) => () => {
62711
+ const { channelTabType: t } = e, n = p0e(), r = ot(), { ui: o, settings: i } = r, s = t === ut.Direct && !i.displayChannelList, a = (l) => () => {
62712
62712
  o.setRoute(`${l}`);
62713
62713
  }, c = () => {
62714
- t === dt.Direct && oD(r);
62714
+ t === ut.Direct && oD(r);
62715
62715
  };
62716
62716
  return /* @__PURE__ */ h.jsx(Qa, { onBack: s ? c : void 0, children: /* @__PURE__ */ h.jsxs("div", { style: { display: "inline-flex" }, children: [
62717
62717
  i.displayChannelList && /* @__PURE__ */ h.jsx(
62718
62718
  Mn,
62719
62719
  {
62720
62720
  variant: "link",
62721
- onClick: a(dt.Channels),
62721
+ onClick: a(ut.Channels),
62722
62722
  className: n.button,
62723
62723
  children: /* @__PURE__ */ h.jsx(
62724
62724
  wi,
62725
62725
  {
62726
62726
  title: /* @__PURE__ */ h.jsx(Te, { id: "channels" }),
62727
- active: t === dt.Channels
62727
+ active: t === ut.Channels
62728
62728
  }
62729
62729
  )
62730
62730
  }
@@ -62733,13 +62733,13 @@ const kbe = (e) => {
62733
62733
  Mn,
62734
62734
  {
62735
62735
  variant: "link",
62736
- onClick: a(dt.Direct),
62736
+ onClick: a(ut.Direct),
62737
62737
  className: n.button,
62738
62738
  children: /* @__PURE__ */ h.jsx(
62739
62739
  wi,
62740
62740
  {
62741
62741
  title: /* @__PURE__ */ h.jsx(Te, { id: "menuDirect" }),
62742
- active: t === dt.Direct
62742
+ active: t === ut.Direct
62743
62743
  }
62744
62744
  )
62745
62745
  }
@@ -62777,11 +62777,11 @@ const kbe = (e) => {
62777
62777
  ), v0e = () => {
62778
62778
  const e = g0e(), t = ot();
62779
62779
  return /* @__PURE__ */ h.jsxs("div", { className: e.root, children: [
62780
- /* @__PURE__ */ h.jsxs("div", { className: e.buttonWrapper, onClick: () => t.ui.setRoute(dt.Profile), children: [
62780
+ /* @__PURE__ */ h.jsxs("div", { className: e.buttonWrapper, onClick: () => t.ui.setRoute(ut.Profile), children: [
62781
62781
  /* @__PURE__ */ h.jsx(r_, {}),
62782
62782
  /* @__PURE__ */ h.jsx(ve, { variant: "body2", children: /* @__PURE__ */ h.jsx(Te, { id: "profile" }) })
62783
62783
  ] }),
62784
- /* @__PURE__ */ h.jsxs("div", { className: e.buttonWrapper, onClick: () => t.ui.setRoute(dt.Users), children: [
62784
+ /* @__PURE__ */ h.jsxs("div", { className: e.buttonWrapper, onClick: () => t.ui.setRoute(ut.Users), children: [
62785
62785
  /* @__PURE__ */ h.jsx(m0e, {}),
62786
62786
  /* @__PURE__ */ h.jsx(ve, { variant: "body2", children: /* @__PURE__ */ h.jsx(Te, { id: "users" }) })
62787
62787
  ] })
@@ -62790,13 +62790,13 @@ const kbe = (e) => {
62790
62790
  const { channelTabType: t } = e, { settings: n, auth: r } = ot(), [o, i] = Qe(!1);
62791
62791
  return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
62792
62792
  (n.displayHeader || r.isModerator) && /* @__PURE__ */ h.jsx(h0e, { channelTabType: t }),
62793
- t === dt.Channels && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
62793
+ t === ut.Channels && /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
62794
62794
  /* @__PURE__ */ h.jsx(o0e, {}),
62795
62795
  n.createChannelAllowed && /* @__PURE__ */ h.jsx(Mn, { size: "medium", variant: "primary", onClick: () => i(!0), children: /* @__PURE__ */ h.jsx(Te, { id: "createNewChannel" }) }),
62796
62796
  o && /* @__PURE__ */ h.jsx(s0e, { onClose: () => i(!1) })
62797
62797
  ] }),
62798
- t === dt.Direct && /* @__PURE__ */ h.jsx(d0e, {}),
62799
- n.displayFooter && t !== dt.Direct && /* @__PURE__ */ h.jsx(v0e, {})
62798
+ t === ut.Direct && /* @__PURE__ */ h.jsx(d0e, {}),
62799
+ n.displayFooter && t !== ut.Direct && /* @__PURE__ */ h.jsx(v0e, {})
62800
62800
  ] });
62801
62801
  }, ZI = it(y0e);
62802
62802
  function CE() {
@@ -64483,14 +64483,14 @@ const C1e = (e) => {
64483
64483
  }
64484
64484
  }), A1e = (e) => {
64485
64485
  const { templatePoll: t, lastActivePoll: n } = e, r = ot(), { ui: o } = r, i = R1e(), s = r.currentChannel, a = n ? n.status : t.status, c = () => {
64486
- o.setRoute(`${dt.PollResultDetail}/${s == null ? void 0 : s.id}/${t == null ? void 0 : t.id}`);
64486
+ o.setRoute(`${ut.PollResultDetail}/${s == null ? void 0 : s.id}/${t == null ? void 0 : t.id}`);
64487
64487
  }, l = () => {
64488
64488
  XD({ channel: s, templatePoll: t });
64489
64489
  }, u = () => {
64490
64490
  KD({
64491
64491
  activePoll: n,
64492
64492
  channel: s,
64493
- defaultErrorAction: () => o.setRoute(`${dt.Polls}`)
64493
+ defaultErrorAction: () => o.setRoute(`${ut.Polls}`)
64494
64494
  });
64495
64495
  };
64496
64496
  switch (a) {
@@ -64610,7 +64610,7 @@ const C1e = (e) => {
64610
64610
  o();
64611
64611
  }, []);
64612
64612
  const r = () => {
64613
- t.setRoute(`${dt.CreatePoll}/${n == null ? void 0 : n.id}/undefined`);
64613
+ t.setRoute(`${ut.CreatePoll}/${n == null ? void 0 : n.id}/undefined`);
64614
64614
  };
64615
64615
  return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
64616
64616
  /* @__PURE__ */ h.jsx(Qa, { onBack: () => t.back(), children: /* @__PURE__ */ h.jsx(wi, { children: /* @__PURE__ */ h.jsx(Te, { id: "chat" }) }) }),
@@ -65223,16 +65223,16 @@ const C1e = (e) => {
65223
65223
  autoHideDuration: 3e3,
65224
65224
  classes: { root: t.snackbar },
65225
65225
  children: /* @__PURE__ */ h.jsx(fpe, { children: /* @__PURE__ */ h.jsxs(U1e, { children: [
65226
- /* @__PURE__ */ h.jsx(_i, { route: dt.Profile, children: /* @__PURE__ */ h.jsx(F1e, {}) }),
65227
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.Users}/:id`, children: /* @__PURE__ */ h.jsx(u3, {}) }),
65228
- /* @__PURE__ */ h.jsx(_i, { route: dt.Users, children: /* @__PURE__ */ h.jsx(u3, {}) }),
65229
- /* @__PURE__ */ h.jsx(_i, { route: dt.Channels, children: /* @__PURE__ */ h.jsx(ZI, { channelTabType: dt.Channels }) }),
65230
- /* @__PURE__ */ h.jsx(_i, { route: dt.Direct, children: /* @__PURE__ */ h.jsx(ZI, { channelTabType: dt.Direct }) }),
65231
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.Channels}/:id`, children: /* @__PURE__ */ h.jsx(Qbe, {}) }),
65232
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.Polls}/:id`, children: /* @__PURE__ */ h.jsx(_1e, {}) }),
65233
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.CreatePoll}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(O1e, {}) }),
65234
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.PollResultDetail}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(Nde, {}) }),
65235
- /* @__PURE__ */ h.jsx(_i, { route: `${dt.PollResultOpenEndedDetail}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(kde, {}) })
65226
+ /* @__PURE__ */ h.jsx(_i, { route: ut.Profile, children: /* @__PURE__ */ h.jsx(F1e, {}) }),
65227
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.Users}/:id`, children: /* @__PURE__ */ h.jsx(u3, {}) }),
65228
+ /* @__PURE__ */ h.jsx(_i, { route: ut.Users, children: /* @__PURE__ */ h.jsx(u3, {}) }),
65229
+ /* @__PURE__ */ h.jsx(_i, { route: ut.Channels, children: /* @__PURE__ */ h.jsx(ZI, { channelTabType: ut.Channels }) }),
65230
+ /* @__PURE__ */ h.jsx(_i, { route: ut.Direct, children: /* @__PURE__ */ h.jsx(ZI, { channelTabType: ut.Direct }) }),
65231
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.Channels}/:id`, children: /* @__PURE__ */ h.jsx(Qbe, {}) }),
65232
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.Polls}/:id`, children: /* @__PURE__ */ h.jsx(_1e, {}) }),
65233
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.CreatePoll}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(O1e, {}) }),
65234
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.PollResultDetail}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(Nde, {}) }),
65235
+ /* @__PURE__ */ h.jsx(_i, { route: `${ut.PollResultOpenEndedDetail}/:id/:pollId`, children: /* @__PURE__ */ h.jsx(kde, {}) })
65236
65236
  ] }) })
65237
65237
  }
65238
65238
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vlprojects-chat/chat",
3
3
  "author": "vlprojects",
4
- "version": "0.17.0-LD-8093.9",
4
+ "version": "0.17.0-LD-8093.11",
5
5
  "description": "vlprojects chat",
6
6
  "license": "ISC",
7
7
  "types": "dist/index.d.ts",