vue-wiguet-chatweb 0.1.11 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,10 @@
1
- import { openBlock as B, createElementBlock as U, createElementVNode as g, getCurrentScope as Fi, onScopeDispose as Vi, unref as Js, computed as Gs, ref as z, watch as En, getCurrentInstance as Bi, onMounted as Ks, defineComponent as On, onBeforeMount as $i, Fragment as zn, renderList as Ui, normalizeClass as Me, createVNode as he, createCommentVNode as xt, toDisplayString as Nt, pushScopeId as Pi, popScopeId as Wi, nextTick as Zn, onUnmounted as qi, withModifiers as jn, withDirectives as an, withKeys as Yn, vModelText as Hi, createStaticVNode as zi, vShow as Jn, createBlock as Zi } from "vue";
2
- let ot;
1
+ import { openBlock as L, createElementBlock as $, createElementVNode as g, getCurrentScope as Fi, onScopeDispose as Vi, unref as Js, computed as Gs, ref as z, watch as En, getCurrentInstance as Bi, onMounted as Ks, defineComponent as On, onBeforeMount as $i, Fragment as zn, renderList as Ui, normalizeClass as Me, createVNode as he, createCommentVNode as Ge, toDisplayString as Nt, pushScopeId as Pi, popScopeId as Wi, nextTick as Zn, onUnmounted as qi, withModifiers as jn, withDirectives as an, withKeys as Yn, vModelText as Hi, createStaticVNode as zi, vShow as Jn, createBlock as Zi } from "vue";
2
+ let at;
3
3
  const ji = new Uint8Array(16);
4
4
  function Yi() {
5
- if (!ot && (ot = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ot))
5
+ if (!at && (at = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !at))
6
6
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
7
- return ot(ji);
7
+ return at(ji);
8
8
  }
9
9
  const P = [];
10
10
  for (let t = 0; t < 256; ++t)
@@ -45,7 +45,7 @@ const oe = (t, e) => {
45
45
  to
46
46
  ];
47
47
  function so(t, e) {
48
- return B(), U("svg", Qi, no);
48
+ return L(), $("svg", Qi, no);
49
49
  }
50
50
  const ro = /* @__PURE__ */ oe(Xi, [["render", so]]), io = {}, oo = {
51
51
  xmlns: "http://www.w3.org/2000/svg",
@@ -57,7 +57,7 @@ const ro = /* @__PURE__ */ oe(Xi, [["render", so]]), io = {}, oo = {
57
57
  ao
58
58
  ];
59
59
  function uo(t, e) {
60
- return B(), U("svg", oo, co);
60
+ return L(), $("svg", oo, co);
61
61
  }
62
62
  const lo = /* @__PURE__ */ oe(io, [["render", uo]]);
63
63
  function Xs(t, e) {
@@ -68,26 +68,26 @@ function Xs(t, e) {
68
68
  const { toString: fo } = Object.prototype, { getPrototypeOf: Cn } = Object, It = /* @__PURE__ */ ((t) => (e) => {
69
69
  const n = fo.call(e);
70
70
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
71
- })(/* @__PURE__ */ Object.create(null)), fe = (t) => (t = t.toLowerCase(), (e) => It(e) === t), Dt = (t) => (e) => typeof e === t, { isArray: Fe } = Array, Ke = Dt("undefined");
71
+ })(/* @__PURE__ */ Object.create(null)), fe = (t) => (t = t.toLowerCase(), (e) => It(e) === t), Dt = (t) => (e) => typeof e === t, { isArray: Fe } = Array, Xe = Dt("undefined");
72
72
  function ho(t) {
73
- return t !== null && !Ke(t) && t.constructor !== null && !Ke(t.constructor) && Q(t.constructor.isBuffer) && t.constructor.isBuffer(t);
73
+ return t !== null && !Xe(t) && t.constructor !== null && !Xe(t.constructor) && Q(t.constructor.isBuffer) && t.constructor.isBuffer(t);
74
74
  }
75
75
  const Qs = fe("ArrayBuffer");
76
76
  function mo(t) {
77
77
  let e;
78
78
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && Qs(t.buffer), e;
79
79
  }
80
- const po = Dt("string"), Q = Dt("function"), er = Dt("number"), Lt = (t) => t !== null && typeof t == "object", yo = (t) => t === !0 || t === !1, gt = (t) => {
80
+ const po = Dt("string"), Q = Dt("function"), er = Dt("number"), Lt = (t) => t !== null && typeof t == "object", yo = (t) => t === !0 || t === !1, wt = (t) => {
81
81
  if (It(t) !== "object")
82
82
  return !1;
83
83
  const e = Cn(t);
84
84
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
85
- }, go = fe("Date"), wo = fe("File"), So = fe("Blob"), vo = fe("FileList"), bo = (t) => Lt(t) && Q(t.pipe), ko = (t) => {
85
+ }, go = fe("Date"), wo = fe("File"), So = fe("Blob"), vo = fe("FileList"), ko = (t) => Lt(t) && Q(t.pipe), bo = (t) => {
86
86
  let e;
87
87
  return t && (typeof FormData == "function" && t instanceof FormData || Q(t.append) && ((e = It(t)) === "formdata" || // detect form-data instance
88
88
  e === "object" && Q(t.toString) && t.toString() === "[object FormData]"));
89
89
  }, To = fe("URLSearchParams"), Eo = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
90
- function Qe(t, e, { allOwnKeys: n = !1 } = {}) {
90
+ function et(t, e, { allOwnKeys: n = !1 } = {}) {
91
91
  if (t === null || typeof t > "u")
92
92
  return;
93
93
  let s, r;
@@ -110,17 +110,17 @@ function tr(t, e) {
110
110
  return r;
111
111
  return null;
112
112
  }
113
- const nr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, sr = (t) => !Ke(t) && t !== nr;
113
+ const nr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, sr = (t) => !Xe(t) && t !== nr;
114
114
  function cn() {
115
115
  const { caseless: t } = sr(this) && this || {}, e = {}, n = (s, r) => {
116
116
  const i = t && tr(e, r) || r;
117
- gt(e[i]) && gt(s) ? e[i] = cn(e[i], s) : gt(s) ? e[i] = cn({}, s) : Fe(s) ? e[i] = s.slice() : e[i] = s;
117
+ wt(e[i]) && wt(s) ? e[i] = cn(e[i], s) : wt(s) ? e[i] = cn({}, s) : Fe(s) ? e[i] = s.slice() : e[i] = s;
118
118
  };
119
119
  for (let s = 0, r = arguments.length; s < r; s++)
120
- arguments[s] && Qe(arguments[s], n);
120
+ arguments[s] && et(arguments[s], n);
121
121
  return e;
122
122
  }
123
- const Oo = (t, e, n, { allOwnKeys: s } = {}) => (Qe(e, (r, i) => {
123
+ const Oo = (t, e, n, { allOwnKeys: s } = {}) => (et(e, (r, i) => {
124
124
  n && Q(r) ? t[i] = Xs(r, n) : t[i] = r;
125
125
  }, { allOwnKeys: s }), t), Co = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), xo = (t, e, n, s) => {
126
126
  t.prototype = Object.create(e.prototype, s), t.prototype.constructor = t, Object.defineProperty(t, "super", {
@@ -169,7 +169,7 @@ const Oo = (t, e, n, { allOwnKeys: s } = {}) => (Qe(e, (r, i) => {
169
169
  }
170
170
  ), Kn = (({ hasOwnProperty: t }) => (e, n) => t.call(e, n))(Object.prototype), Fo = fe("RegExp"), rr = (t, e) => {
171
171
  const n = Object.getOwnPropertyDescriptors(t), s = {};
172
- Qe(n, (r, i) => {
172
+ et(n, (r, i) => {
173
173
  e(r, i, t) !== !1 && (s[i] = r);
174
174
  }), Object.defineProperties(t, s);
175
175
  }, Vo = (t) => {
@@ -217,9 +217,9 @@ const qo = (t) => {
217
217
  if (!("toJSON" in s)) {
218
218
  e[r] = s;
219
219
  const i = Fe(s) ? [] : {};
220
- return Qe(s, (o, a) => {
220
+ return et(s, (o, a) => {
221
221
  const u = n(o, r + 1);
222
- !Ke(u) && (i[a] = u);
222
+ !Xe(u) && (i[a] = u);
223
223
  }), e[r] = void 0, i;
224
224
  }
225
225
  }
@@ -230,24 +230,24 @@ const qo = (t) => {
230
230
  isArray: Fe,
231
231
  isArrayBuffer: Qs,
232
232
  isBuffer: ho,
233
- isFormData: ko,
233
+ isFormData: bo,
234
234
  isArrayBufferView: mo,
235
235
  isString: po,
236
236
  isNumber: er,
237
237
  isBoolean: yo,
238
238
  isObject: Lt,
239
- isPlainObject: gt,
240
- isUndefined: Ke,
239
+ isPlainObject: wt,
240
+ isUndefined: Xe,
241
241
  isDate: go,
242
242
  isFile: wo,
243
243
  isBlob: So,
244
244
  isRegExp: Fo,
245
245
  isFunction: Q,
246
- isStream: bo,
246
+ isStream: ko,
247
247
  isURLSearchParams: To,
248
248
  isTypedArray: Mo,
249
249
  isFileList: vo,
250
- forEach: Qe,
250
+ forEach: et,
251
251
  merge: cn,
252
252
  extend: Oo,
253
253
  trim: Eo,
@@ -669,8 +669,8 @@ const oa = f.toObjectSet([
669
669
  function He(t) {
670
670
  return t && String(t).trim().toLowerCase();
671
671
  }
672
- function wt(t) {
673
- return t === !1 || t == null ? t : f.isArray(t) ? t.map(wt) : String(t);
672
+ function St(t) {
673
+ return t === !1 || t == null ? t : f.isArray(t) ? t.map(St) : String(t);
674
674
  }
675
675
  function ca(t) {
676
676
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -715,7 +715,7 @@ class ee {
715
715
  if (!l)
716
716
  throw new Error("header name must be a non-empty string");
717
717
  const h = f.findKey(r, l);
718
- (!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || u] = wt(a));
718
+ (!h || r[h] === void 0 || c === !0 || c === void 0 && r[h] !== !1) && (r[h || u] = St(a));
719
719
  }
720
720
  const o = (a, u) => f.forEach(a, (c, l) => i(c, l, u));
721
721
  return f.isPlainObject(e) || e instanceof this.constructor ? o(e, n) : f.isString(e) && (e = e.trim()) && !ua(e) ? o(aa(e), n) : e != null && i(n, e, s), this;
@@ -769,11 +769,11 @@ class ee {
769
769
  return f.forEach(this, (r, i) => {
770
770
  const o = f.findKey(s, i);
771
771
  if (o) {
772
- n[o] = wt(r), delete n[i];
772
+ n[o] = St(r), delete n[i];
773
773
  return;
774
774
  }
775
775
  const a = e ? la(i) : String(i).trim();
776
- a !== i && delete n[i], n[a] = wt(r), s[a] = !0;
776
+ a !== i && delete n[i], n[a] = St(r), s[a] = !0;
777
777
  }), this;
778
778
  }
779
779
  concat(...e) {
@@ -826,10 +826,10 @@ function Zt(t, e) {
826
826
  function dr(t) {
827
827
  return !!(t && t.__CANCEL__);
828
828
  }
829
- function et(t, e, n) {
829
+ function tt(t, e, n) {
830
830
  C.call(this, t ?? "canceled", C.ERR_CANCELED, e, n), this.name = "CanceledError";
831
831
  }
832
- f.inherits(et, C, {
832
+ f.inherits(tt, C, {
833
833
  __CANCEL__: !0
834
834
  });
835
835
  function ha(t, e, n) {
@@ -1009,7 +1009,7 @@ const Sa = typeof XMLHttpRequest < "u", va = Sa && function(t) {
1009
1009
  r === void 0 && i.setContentType(null), "setRequestHeader" in c && f.forEach(i.toJSON(), function(d, w) {
1010
1010
  c.setRequestHeader(w, d);
1011
1011
  }), f.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), o && o !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress", ss(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", ss(t.onUploadProgress)), (t.cancelToken || t.signal) && (a = (m) => {
1012
- c && (s(!m || m.type ? new et(null, t, c) : m), c.abort(), c = null);
1012
+ c && (s(!m || m.type ? new tt(null, t, c) : m), c.abort(), c = null);
1013
1013
  }, t.cancelToken && t.cancelToken.subscribe(a), t.signal && (t.signal.aborted ? a() : t.signal.addEventListener("abort", a)));
1014
1014
  const y = ga(l);
1015
1015
  if (y && ce.protocols.indexOf(y) === -1) {
@@ -1018,11 +1018,11 @@ const Sa = typeof XMLHttpRequest < "u", va = Sa && function(t) {
1018
1018
  }
1019
1019
  c.send(r || null);
1020
1020
  });
1021
- }, St = {
1021
+ }, vt = {
1022
1022
  http: Zo,
1023
1023
  xhr: va
1024
1024
  };
1025
- f.forEach(St, (t, e) => {
1025
+ f.forEach(vt, (t, e) => {
1026
1026
  if (t) {
1027
1027
  try {
1028
1028
  Object.defineProperty(t, "name", { value: e });
@@ -1031,35 +1031,35 @@ f.forEach(St, (t, e) => {
1031
1031
  Object.defineProperty(t, "adapterName", { value: e });
1032
1032
  }
1033
1033
  });
1034
- const ba = {
1034
+ const ka = {
1035
1035
  getAdapter: (t) => {
1036
1036
  t = f.isArray(t) ? t : [t];
1037
1037
  const { length: e } = t;
1038
1038
  let n, s;
1039
- for (let r = 0; r < e && (n = t[r], !(s = f.isString(n) ? St[n.toLowerCase()] : n)); r++)
1039
+ for (let r = 0; r < e && (n = t[r], !(s = f.isString(n) ? vt[n.toLowerCase()] : n)); r++)
1040
1040
  ;
1041
1041
  if (!s)
1042
1042
  throw s === !1 ? new C(
1043
1043
  `Adapter ${n} is not supported by the environment`,
1044
1044
  "ERR_NOT_SUPPORT"
1045
1045
  ) : new Error(
1046
- f.hasOwnProp(St, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
1046
+ f.hasOwnProp(vt, n) ? `Adapter '${n}' is not available in the build` : `Unknown adapter '${n}'`
1047
1047
  );
1048
1048
  if (!f.isFunction(s))
1049
1049
  throw new TypeError("adapter is not a function");
1050
1050
  return s;
1051
1051
  },
1052
- adapters: St
1052
+ adapters: vt
1053
1053
  };
1054
1054
  function jt(t) {
1055
1055
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1056
- throw new et(null, t);
1056
+ throw new tt(null, t);
1057
1057
  }
1058
1058
  function rs(t) {
1059
1059
  return jt(t), t.headers = ee.from(t.headers), t.data = Zt.call(
1060
1060
  t,
1061
1061
  t.transformRequest
1062
- ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), ba.getAdapter(t.adapter || Ve.adapter)(t).then(function(s) {
1062
+ ), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), ka.getAdapter(t.adapter || Ve.adapter)(t).then(function(s) {
1063
1063
  return jt(t), s.data = Zt.call(
1064
1064
  t,
1065
1065
  t.transformResponse,
@@ -1162,7 +1162,7 @@ Nn.transitional = function(e, n, s) {
1162
1162
  )), e ? e(i, o, a) : !0;
1163
1163
  };
1164
1164
  };
1165
- function ka(t, e, n) {
1165
+ function ba(t, e, n) {
1166
1166
  if (typeof t != "object")
1167
1167
  throw new C("options must be an object", C.ERR_BAD_OPTION_VALUE);
1168
1168
  const s = Object.keys(t);
@@ -1180,7 +1180,7 @@ function ka(t, e, n) {
1180
1180
  }
1181
1181
  }
1182
1182
  const ln = {
1183
- assertOptions: ka,
1183
+ assertOptions: ba,
1184
1184
  validators: Nn
1185
1185
  }, me = ln.validators;
1186
1186
  class Te {
@@ -1311,7 +1311,7 @@ class _n {
1311
1311
  s.unsubscribe(i);
1312
1312
  }, o;
1313
1313
  }, e(function(i, o, a) {
1314
- s.reason || (s.reason = new et(i, o, a), n(s.reason));
1314
+ s.reason || (s.reason = new tt(i, o, a), n(s.reason));
1315
1315
  });
1316
1316
  }
1317
1317
  /**
@@ -1436,25 +1436,25 @@ function yr(t) {
1436
1436
  return yr(De(t, r));
1437
1437
  }, n;
1438
1438
  }
1439
- const $ = yr(Ve);
1440
- $.Axios = Te;
1441
- $.CanceledError = et;
1442
- $.CancelToken = _n;
1443
- $.isCancel = dr;
1444
- $.VERSION = pr;
1445
- $.toFormData = Ft;
1446
- $.AxiosError = C;
1447
- $.Cancel = $.CanceledError;
1448
- $.all = function(e) {
1439
+ const U = yr(Ve);
1440
+ U.Axios = Te;
1441
+ U.CanceledError = tt;
1442
+ U.CancelToken = _n;
1443
+ U.isCancel = dr;
1444
+ U.VERSION = pr;
1445
+ U.toFormData = Ft;
1446
+ U.AxiosError = C;
1447
+ U.Cancel = U.CanceledError;
1448
+ U.all = function(e) {
1449
1449
  return Promise.all(e);
1450
1450
  };
1451
- $.spread = Ta;
1452
- $.isAxiosError = Ea;
1453
- $.mergeConfig = De;
1454
- $.AxiosHeaders = ee;
1455
- $.formToJSON = (t) => hr(f.isHTMLForm(t) ? new FormData(t) : t);
1456
- $.HttpStatusCode = fn;
1457
- $.default = $;
1451
+ U.spread = Ta;
1452
+ U.isAxiosError = Ea;
1453
+ U.mergeConfig = De;
1454
+ U.AxiosHeaders = ee;
1455
+ U.formToJSON = (t) => hr(f.isHTMLForm(t) ? new FormData(t) : t);
1456
+ U.HttpStatusCode = fn;
1457
+ U.default = U;
1458
1458
  const Vt = async function(t) {
1459
1459
  const e = t, n = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "https://chatadmin-gw.dev.mp.gob.bo", s = {
1460
1460
  method: e.method,
@@ -1466,7 +1466,7 @@ const Vt = async function(t) {
1466
1466
  },
1467
1467
  data: e.data
1468
1468
  };
1469
- return await $(s).then(async function(r) {
1469
+ return await U(s).then(async function(r) {
1470
1470
  return await r.data;
1471
1471
  }).catch(async function(r) {
1472
1472
  console.error(r);
@@ -1644,12 +1644,12 @@ const p = "numeric", ie = "short", Y = "long", _t = {
1644
1644
  year: p,
1645
1645
  month: Y,
1646
1646
  day: p
1647
- }, br = {
1647
+ }, kr = {
1648
1648
  year: p,
1649
1649
  month: Y,
1650
1650
  day: p,
1651
1651
  weekday: Y
1652
- }, kr = {
1652
+ }, br = {
1653
1653
  hour: p,
1654
1654
  minute: p
1655
1655
  }, Tr = {
@@ -1753,7 +1753,7 @@ const p = "numeric", ie = "short", Y = "long", _t = {
1753
1753
  second: p,
1754
1754
  timeZoneName: Y
1755
1755
  };
1756
- class tt {
1756
+ class nt {
1757
1757
  /**
1758
1758
  * The type of zone
1759
1759
  * @abstract
@@ -1838,7 +1838,7 @@ class tt {
1838
1838
  }
1839
1839
  }
1840
1840
  let Gt = null;
1841
- class Bt extends tt {
1841
+ class Bt extends nt {
1842
1842
  /**
1843
1843
  * Get a singleton instance of the local zone
1844
1844
  * @return {SystemZone}
@@ -1864,7 +1864,7 @@ class Bt extends tt {
1864
1864
  }
1865
1865
  /** @override **/
1866
1866
  formatOffset(e, n) {
1867
- return Ge(this.offset(e), n);
1867
+ return Ke(this.offset(e), n);
1868
1868
  }
1869
1869
  /** @override **/
1870
1870
  offset(e) {
@@ -1879,9 +1879,9 @@ class Bt extends tt {
1879
1879
  return !0;
1880
1880
  }
1881
1881
  }
1882
- let vt = {};
1882
+ let kt = {};
1883
1883
  function $a(t) {
1884
- return vt[t] || (vt[t] = new Intl.DateTimeFormat("en-US", {
1884
+ return kt[t] || (kt[t] = new Intl.DateTimeFormat("en-US", {
1885
1885
  hour12: !1,
1886
1886
  timeZone: t,
1887
1887
  year: "numeric",
@@ -1891,7 +1891,7 @@ function $a(t) {
1891
1891
  minute: "2-digit",
1892
1892
  second: "2-digit",
1893
1893
  era: "short"
1894
- })), vt[t];
1894
+ })), kt[t];
1895
1895
  }
1896
1896
  const Ua = {
1897
1897
  year: 0,
@@ -1910,25 +1910,25 @@ function Wa(t, e) {
1910
1910
  const n = t.formatToParts(e), s = [];
1911
1911
  for (let r = 0; r < n.length; r++) {
1912
1912
  const { type: i, value: o } = n[r], a = Ua[i];
1913
- i === "era" ? s[a] = o : b(a) || (s[a] = parseInt(o, 10));
1913
+ i === "era" ? s[a] = o : k(a) || (s[a] = parseInt(o, 10));
1914
1914
  }
1915
1915
  return s;
1916
1916
  }
1917
- let at = {};
1918
- class de extends tt {
1917
+ let ct = {};
1918
+ class de extends nt {
1919
1919
  /**
1920
1920
  * @param {string} name - Zone name
1921
1921
  * @return {IANAZone}
1922
1922
  */
1923
1923
  static create(e) {
1924
- return at[e] || (at[e] = new de(e)), at[e];
1924
+ return ct[e] || (ct[e] = new de(e)), ct[e];
1925
1925
  }
1926
1926
  /**
1927
1927
  * Reset local caches. Should only be necessary in testing scenarios.
1928
1928
  * @return {void}
1929
1929
  */
1930
1930
  static resetCache() {
1931
- at = {}, vt = {};
1931
+ ct = {}, kt = {};
1932
1932
  }
1933
1933
  /**
1934
1934
  * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
@@ -2007,7 +2007,7 @@ class de extends tt {
2007
2007
  * @return {string}
2008
2008
  */
2009
2009
  formatOffset(e, n) {
2010
- return Ge(this.offset(e), n);
2010
+ return Ke(this.offset(e), n);
2011
2011
  }
2012
2012
  /**
2013
2013
  * Return the offset in minutes for this zone at the specified timestamp.
@@ -2126,7 +2126,7 @@ function Ka(t) {
2126
2126
  }
2127
2127
  return e;
2128
2128
  }
2129
- function ct(t, e, n, s) {
2129
+ function ut(t, e, n, s) {
2130
2130
  const r = t.listingMode();
2131
2131
  return r === "error" ? null : r === "en" ? n(e) : s(e);
2132
2132
  }
@@ -2251,13 +2251,13 @@ class N {
2251
2251
  return this.clone({ ...e, defaultToEN: !1 });
2252
2252
  }
2253
2253
  months(e, n = !1) {
2254
- return ct(this, e, Jr, () => {
2254
+ return ut(this, e, Jr, () => {
2255
2255
  const s = n ? { month: e, day: "numeric" } : { month: e }, r = n ? "format" : "standalone";
2256
2256
  return this.monthsCache[r][e] || (this.monthsCache[r][e] = Ga((i) => this.extract(i, s, "month"))), this.monthsCache[r][e];
2257
2257
  });
2258
2258
  }
2259
2259
  weekdays(e, n = !1) {
2260
- return ct(this, e, Xr, () => {
2260
+ return ut(this, e, Xr, () => {
2261
2261
  const s = n ? { weekday: e, year: "numeric", month: "long", day: "numeric" } : { weekday: e }, r = n ? "format" : "standalone";
2262
2262
  return this.weekdaysCache[r][e] || (this.weekdaysCache[r][e] = Ka(
2263
2263
  (i) => this.extract(i, s, "weekday")
@@ -2265,7 +2265,7 @@ class N {
2265
2265
  });
2266
2266
  }
2267
2267
  meridiems() {
2268
- return ct(
2268
+ return ut(
2269
2269
  this,
2270
2270
  void 0,
2271
2271
  () => Qr,
@@ -2281,7 +2281,7 @@ class N {
2281
2281
  );
2282
2282
  }
2283
2283
  eras(e) {
2284
- return ct(this, e, ei, () => {
2284
+ return ut(this, e, ei, () => {
2285
2285
  const n = { era: e };
2286
2286
  return this.eraCache[e] || (this.eraCache[e] = [v.utc(-40, 1, 1), v.utc(2017, 1, 1)].map(
2287
2287
  (s) => this.extract(s, n, "era")
@@ -2327,7 +2327,7 @@ class N {
2327
2327
  }
2328
2328
  }
2329
2329
  let Kt = null;
2330
- class Z extends tt {
2330
+ class Z extends nt {
2331
2331
  /**
2332
2332
  * Get a singleton instance of UTC
2333
2333
  * @return {FixedOffsetZone}
@@ -2377,7 +2377,7 @@ class Z extends tt {
2377
2377
  * @type {string}
2378
2378
  */
2379
2379
  get name() {
2380
- return this.fixed === 0 ? "UTC" : `UTC${Ge(this.fixed, "narrow")}`;
2380
+ return this.fixed === 0 ? "UTC" : `UTC${Ke(this.fixed, "narrow")}`;
2381
2381
  }
2382
2382
  /**
2383
2383
  * The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
@@ -2386,7 +2386,7 @@ class Z extends tt {
2386
2386
  * @type {string}
2387
2387
  */
2388
2388
  get ianaName() {
2389
- return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${Ge(-this.fixed, "narrow")}`;
2389
+ return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${Ke(-this.fixed, "narrow")}`;
2390
2390
  }
2391
2391
  /**
2392
2392
  * Returns the offset's common name at the specified timestamp.
@@ -2406,7 +2406,7 @@ class Z extends tt {
2406
2406
  * @return {string}
2407
2407
  */
2408
2408
  formatOffset(e, n) {
2409
- return Ge(this.fixed, n);
2409
+ return Ke(this.fixed, n);
2410
2410
  }
2411
2411
  /**
2412
2412
  * Returns whether the offset is known to be fixed for the whole year:
@@ -2446,7 +2446,7 @@ class Z extends tt {
2446
2446
  return !0;
2447
2447
  }
2448
2448
  }
2449
- class sc extends tt {
2449
+ class sc extends nt {
2450
2450
  constructor(e) {
2451
2451
  super(), this.zoneName = e;
2452
2452
  }
@@ -2484,9 +2484,9 @@ class sc extends tt {
2484
2484
  }
2485
2485
  }
2486
2486
  function we(t, e) {
2487
- if (b(t) || t === null)
2487
+ if (k(t) || t === null)
2488
2488
  return e;
2489
- if (t instanceof tt)
2489
+ if (t instanceof nt)
2490
2490
  return t;
2491
2491
  if (uc(t)) {
2492
2492
  const n = t.toLowerCase();
@@ -2724,10 +2724,10 @@ function Mn(t, e, n) {
2724
2724
  return r === 0 ? 7 : r;
2725
2725
  }
2726
2726
  function Ur(t, e, n) {
2727
- return n + (nt(t) ? $r : Br)[e - 1];
2727
+ return n + (st(t) ? $r : Br)[e - 1];
2728
2728
  }
2729
2729
  function Pr(t, e) {
2730
- const n = nt(t) ? $r : Br, s = n.findIndex((i) => i < e), r = e - n[s];
2730
+ const n = st(t) ? $r : Br, s = n.findIndex((i) => i < e), r = e - n[s];
2731
2731
  return { month: s + 1, day: r };
2732
2732
  }
2733
2733
  function Rn(t, e) {
@@ -2736,7 +2736,7 @@ function Rn(t, e) {
2736
2736
  function At(t, e = 4, n = 1) {
2737
2737
  const { year: s, month: r, day: i } = t, o = Ur(s, r, i), a = Rn(Mn(s, r, i), n);
2738
2738
  let u = Math.floor((o - a + 14 - e) / 7), c;
2739
- return u < 1 ? (c = s - 1, u = Xe(c, e, n)) : u > Xe(s, e, n) ? (c = s + 1, u = 1) : c = s, { weekYear: c, weekNumber: u, weekday: a, ...Wt(t) };
2739
+ return u < 1 ? (c = s - 1, u = Qe(c, e, n)) : u > Qe(s, e, n) ? (c = s + 1, u = 1) : c = s, { weekYear: c, weekNumber: u, weekday: a, ...Wt(t) };
2740
2740
  }
2741
2741
  function vs(t, e = 4, n = 1) {
2742
2742
  const { weekYear: s, weekNumber: r, weekday: i } = t, o = Rn(Mn(s, 1, e), n), a = Re(s);
@@ -2749,17 +2749,17 @@ function Xt(t) {
2749
2749
  const { year: e, month: n, day: s } = t, r = Ur(e, n, s);
2750
2750
  return { year: e, ordinal: r, ...Wt(t) };
2751
2751
  }
2752
- function bs(t) {
2752
+ function ks(t) {
2753
2753
  const { year: e, ordinal: n } = t, { month: s, day: r } = Pr(e, n);
2754
2754
  return { year: e, month: s, day: r, ...Wt(t) };
2755
2755
  }
2756
- function ks(t, e) {
2757
- if (!b(t.localWeekday) || !b(t.localWeekNumber) || !b(t.localWeekYear)) {
2758
- if (!b(t.weekday) || !b(t.weekNumber) || !b(t.weekYear))
2756
+ function bs(t, e) {
2757
+ if (!k(t.localWeekday) || !k(t.localWeekNumber) || !k(t.localWeekYear)) {
2758
+ if (!k(t.weekday) || !k(t.weekNumber) || !k(t.weekYear))
2759
2759
  throw new Ae(
2760
2760
  "Cannot mix locale-based week fields with ISO-based week fields"
2761
2761
  );
2762
- return b(t.localWeekday) || (t.weekday = t.localWeekday), b(t.localWeekNumber) || (t.weekNumber = t.localWeekNumber), b(t.localWeekYear) || (t.weekYear = t.localWeekYear), delete t.localWeekday, delete t.localWeekNumber, delete t.localWeekYear, {
2762
+ return k(t.localWeekday) || (t.weekday = t.localWeekday), k(t.localWeekNumber) || (t.weekNumber = t.localWeekNumber), k(t.localWeekYear) || (t.weekYear = t.localWeekYear), delete t.localWeekday, delete t.localWeekNumber, delete t.localWeekYear, {
2763
2763
  minDaysInFirstWeek: e.getMinDaysInFirstWeek(),
2764
2764
  startOfWeek: e.getStartOfWeek()
2765
2765
  };
@@ -2770,7 +2770,7 @@ function ac(t, e = 4, n = 1) {
2770
2770
  const s = $t(t.weekYear), r = X(
2771
2771
  t.weekNumber,
2772
2772
  1,
2773
- Xe(t.weekYear, e, n)
2773
+ Qe(t.weekYear, e, n)
2774
2774
  ), i = X(t.weekday, 1, 7);
2775
2775
  return s ? r ? i ? !1 : K("weekday", t.weekday) : K("week", t.weekNumber) : K("weekYear", t.weekYear);
2776
2776
  }
@@ -2786,7 +2786,7 @@ function qr(t) {
2786
2786
  const { hour: e, minute: n, second: s, millisecond: r } = t, i = X(e, 0, 23) || e === 24 && n === 0 && s === 0 && r === 0, o = X(n, 0, 59), a = X(s, 0, 59), u = X(r, 0, 999);
2787
2787
  return i ? o ? a ? u ? !1 : K("millisecond", r) : K("second", s) : K("minute", n) : K("hour", e);
2788
2788
  }
2789
- function b(t) {
2789
+ function k(t) {
2790
2790
  return typeof t > "u";
2791
2791
  }
2792
2792
  function Se(t) {
@@ -2856,15 +2856,15 @@ function D(t, e = 2) {
2856
2856
  return n ? s = "-" + ("" + -t).padStart(e, "0") : s = ("" + t).padStart(e, "0"), s;
2857
2857
  }
2858
2858
  function ge(t) {
2859
- if (!(b(t) || t === null || t === ""))
2859
+ if (!(k(t) || t === null || t === ""))
2860
2860
  return parseInt(t, 10);
2861
2861
  }
2862
2862
  function ve(t) {
2863
- if (!(b(t) || t === null || t === ""))
2863
+ if (!(k(t) || t === null || t === ""))
2864
2864
  return parseFloat(t);
2865
2865
  }
2866
2866
  function In(t) {
2867
- if (!(b(t) || t === null || t === "")) {
2867
+ if (!(k(t) || t === null || t === "")) {
2868
2868
  const e = parseFloat("0." + t) * 1e3;
2869
2869
  return Math.floor(e);
2870
2870
  }
@@ -2873,15 +2873,15 @@ function Dn(t, e, n = !1) {
2873
2873
  const s = 10 ** e;
2874
2874
  return (n ? Math.trunc : Math.round)(t * s) / s;
2875
2875
  }
2876
- function nt(t) {
2876
+ function st(t) {
2877
2877
  return t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0);
2878
2878
  }
2879
2879
  function Re(t) {
2880
- return nt(t) ? 366 : 365;
2880
+ return st(t) ? 366 : 365;
2881
2881
  }
2882
2882
  function Mt(t, e) {
2883
2883
  const n = dc(e - 1, 12) + 1, s = t + (e - n) / 12;
2884
- return n === 2 ? nt(s) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1];
2884
+ return n === 2 ? st(s) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1];
2885
2885
  }
2886
2886
  function Ut(t) {
2887
2887
  let e = Date.UTC(
@@ -2898,7 +2898,7 @@ function Ut(t) {
2898
2898
  function Es(t, e, n) {
2899
2899
  return -Rn(Mn(t, 1, e), n) + e - 1;
2900
2900
  }
2901
- function Xe(t, e = 4, n = 1) {
2901
+ function Qe(t, e = 4, n = 1) {
2902
2902
  const s = Es(t, e, n), r = Es(t + 1, e, n);
2903
2903
  return (Re(t) - s + r) / 7;
2904
2904
  }
@@ -2940,7 +2940,7 @@ function Rt(t, e) {
2940
2940
  }
2941
2941
  return n;
2942
2942
  }
2943
- function Ge(t, e) {
2943
+ function Ke(t, e) {
2944
2944
  const n = Math.trunc(Math.abs(t / 60)), s = Math.trunc(Math.abs(t % 60)), r = t >= 0 ? "+" : "-";
2945
2945
  switch (e) {
2946
2946
  case "short":
@@ -3038,10 +3038,10 @@ function ei(t) {
3038
3038
  function vc(t) {
3039
3039
  return Qr[t.hour < 12 ? 0 : 1];
3040
3040
  }
3041
- function bc(t, e) {
3041
+ function kc(t, e) {
3042
3042
  return Xr(e)[t.weekday - 1];
3043
3043
  }
3044
- function kc(t, e) {
3044
+ function bc(t, e) {
3045
3045
  return Jr(e)[t.month - 1];
3046
3046
  }
3047
3047
  function Tc(t, e) {
@@ -3082,8 +3082,8 @@ const Oc = {
3082
3082
  D: _t,
3083
3083
  DD: Sr,
3084
3084
  DDD: vr,
3085
- DDDD: br,
3086
- t: kr,
3085
+ DDDD: kr,
3086
+ t: br,
3087
3087
  tt: Tr,
3088
3088
  ttt: Er,
3089
3089
  tttt: Or,
@@ -3144,7 +3144,7 @@ class H {
3144
3144
  return n > 0 && (s.padTo = n), this.loc.numberFormatter(s).format(e);
3145
3145
  }
3146
3146
  formatDateTimeFromString(e, n) {
3147
- const s = this.loc.listingMode() === "en", r = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", i = (m, d) => this.loc.extract(e, m, d), o = (m) => e.isOffsetFixed && e.offset === 0 && m.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, m.format) : "", a = () => s ? vc(e) : i({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), u = (m, d) => s ? kc(e, m) : i(d ? { month: m } : { month: m, day: "numeric" }, "month"), c = (m, d) => s ? bc(e, m) : i(
3147
+ const s = this.loc.listingMode() === "en", r = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", i = (m, d) => this.loc.extract(e, m, d), o = (m) => e.isOffsetFixed && e.offset === 0 && m.allowZ ? "Z" : e.isValid ? e.zone.formatOffset(e.ts, m.format) : "", a = () => s ? vc(e) : i({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), u = (m, d) => s ? bc(e, m) : i(d ? { month: m } : { month: m, day: "numeric" }, "month"), c = (m, d) => s ? kc(e, m) : i(
3148
3148
  d ? { weekday: m } : { weekday: m, month: "long", day: "numeric" },
3149
3149
  "weekday"
3150
3150
  ), l = (m) => {
@@ -3349,7 +3349,7 @@ const si = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, Cc = `(?:${si.source}?(?:\\[(${ti.
3349
3349
  ), Ic = RegExp(`(?: ${ii.source})?`);
3350
3350
  function Ie(t, e, n) {
3351
3351
  const s = t[e];
3352
- return b(s) ? n : ge(s);
3352
+ return k(s) ? n : ge(s);
3353
3353
  }
3354
3354
  function Dc(t, e) {
3355
3355
  return [{
@@ -3366,11 +3366,11 @@ function Pe(t, e) {
3366
3366
  milliseconds: In(t[e + 3])
3367
3367
  }, null, e + 4];
3368
3368
  }
3369
- function st(t, e) {
3369
+ function rt(t, e) {
3370
3370
  const n = !t[e] && !t[e + 1], s = Pt(t[e + 1], t[e + 2]), r = n ? null : Z.instance(s);
3371
3371
  return [{}, r, e + 3];
3372
3372
  }
3373
- function rt(t, e) {
3373
+ function it(t, e) {
3374
3374
  const n = t[e] ? de.create(t[e]) : null;
3375
3375
  return [{}, n, e + 1];
3376
3376
  }
@@ -3445,22 +3445,22 @@ function zc(t) {
3445
3445
  const Zc = Be(xc, Fn), jc = Be(Nc, Fn), Yc = Be(_c, Fn), Jc = Be(ri), oi = $e(
3446
3446
  Dc,
3447
3447
  Pe,
3448
- st,
3449
- rt
3448
+ rt,
3449
+ it
3450
3450
  ), Gc = $e(
3451
3451
  Ac,
3452
3452
  Pe,
3453
- st,
3454
- rt
3453
+ rt,
3454
+ it
3455
3455
  ), Kc = $e(
3456
3456
  Mc,
3457
3457
  Pe,
3458
- st,
3459
- rt
3458
+ rt,
3459
+ it
3460
3460
  ), Xc = $e(
3461
3461
  Pe,
3462
- st,
3463
- rt
3462
+ rt,
3463
+ it
3464
3464
  );
3465
3465
  function Qc(t) {
3466
3466
  return Ue(
@@ -3491,8 +3491,8 @@ function ru(t) {
3491
3491
  }
3492
3492
  const iu = Be(Rc, Ic), ou = Be(ii), au = $e(
3493
3493
  Pe,
3494
- st,
3495
- rt
3494
+ rt,
3495
+ it
3496
3496
  );
3497
3497
  function cu(t) {
3498
3498
  return Ue(
@@ -3576,7 +3576,7 @@ const xs = "Invalid Duration", ai = {
3576
3576
  milliseconds: Oe * 24 * 60 * 60 * 1e3
3577
3577
  },
3578
3578
  ...ai
3579
- }, ke = [
3579
+ }, be = [
3580
3580
  "years",
3581
3581
  "quarters",
3582
3582
  "months",
@@ -3586,7 +3586,7 @@ const xs = "Invalid Duration", ai = {
3586
3586
  "minutes",
3587
3587
  "seconds",
3588
3588
  "milliseconds"
3589
- ], fu = ke.slice(0).reverse();
3589
+ ], fu = be.slice(0).reverse();
3590
3590
  function ye(t, e, n = !1) {
3591
3591
  const s = {
3592
3592
  values: n ? e.values : { ...t.values, ...e.values || {} },
@@ -3604,16 +3604,16 @@ function ci(t, e) {
3604
3604
  }
3605
3605
  function Ns(t, e) {
3606
3606
  const n = ci(t, e) < 0 ? -1 : 1;
3607
- ke.reduceRight((s, r) => {
3608
- if (b(e[r]))
3607
+ be.reduceRight((s, r) => {
3608
+ if (k(e[r]))
3609
3609
  return s;
3610
3610
  if (s) {
3611
3611
  const i = e[s] * n, o = t[r][s], a = Math.floor(i / o);
3612
3612
  e[r] += a * n, e[s] -= a * o * n;
3613
3613
  }
3614
3614
  return r;
3615
- }, null), ke.reduce((s, r) => {
3616
- if (b(e[r]))
3615
+ }, null), be.reduce((s, r) => {
3616
+ if (k(e[r]))
3617
3617
  return s;
3618
3618
  if (s) {
3619
3619
  const i = e[s] % 1;
@@ -3849,9 +3849,9 @@ class O {
3849
3849
  */
3850
3850
  toHuman(e = {}) {
3851
3851
  if (!this.isValid) return xs;
3852
- const n = ke.map((s) => {
3852
+ const n = be.map((s) => {
3853
3853
  const r = this.values[s];
3854
- return b(r) ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: s.slice(0, -1) }).format(r);
3854
+ return k(r) ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: s.slice(0, -1) }).format(r);
3855
3855
  }).filter((s) => s);
3856
3856
  return this.loc.listFormatter({ type: "conjunction", style: e.listStyle || "narrow", ...e }).format(n);
3857
3857
  }
@@ -3949,7 +3949,7 @@ class O {
3949
3949
  plus(e) {
3950
3950
  if (!this.isValid) return this;
3951
3951
  const n = O.fromDurationLike(e), s = {};
3952
- for (const r of ke)
3952
+ for (const r of be)
3953
3953
  (Le(n.values, r) || Le(this.values, r)) && (s[r] = n.get(r) + this.get(r));
3954
3954
  return ye(this, { values: s }, !0);
3955
3955
  }
@@ -4062,7 +4062,7 @@ class O {
4062
4062
  e = e.map((o) => O.normalizeUnit(o));
4063
4063
  const n = {}, s = {}, r = this.toObject();
4064
4064
  let i;
4065
- for (const o of ke)
4065
+ for (const o of be)
4066
4066
  if (e.indexOf(o) >= 0) {
4067
4067
  i = o;
4068
4068
  let a = 0;
@@ -4202,7 +4202,7 @@ class O {
4202
4202
  function n(s, r) {
4203
4203
  return s === void 0 || s === 0 ? r === void 0 || r === 0 : s === r;
4204
4204
  }
4205
- for (const s of ke)
4205
+ for (const s of be)
4206
4206
  if (!n(this.values[s], e.values[s]))
4207
4207
  return !1;
4208
4208
  return !0;
@@ -4664,7 +4664,7 @@ class R {
4664
4664
  return R.fromDateTimes(e(this.s), e(this.e));
4665
4665
  }
4666
4666
  }
4667
- class ut {
4667
+ class lt {
4668
4668
  /**
4669
4669
  * Return whether the specified zone contains a DST.
4670
4670
  * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
@@ -4887,7 +4887,7 @@ function ne(t, e) {
4887
4887
  function Ms(t, e) {
4888
4888
  return { regex: t, deser: ([, n, s]) => Pt(n, s), groups: e };
4889
4889
  }
4890
- function lt(t) {
4890
+ function ft(t) {
4891
4891
  return { regex: t, deser: ([e]) => e };
4892
4892
  }
4893
4893
  function Su(t) {
@@ -4961,9 +4961,9 @@ function vu(t, e) {
4961
4961
  case "SSS":
4962
4962
  return x(r);
4963
4963
  case "u":
4964
- return lt(l);
4964
+ return ft(l);
4965
4965
  case "uu":
4966
- return lt(a);
4966
+ return ft(a);
4967
4967
  case "uuu":
4968
4968
  return x(n);
4969
4969
  case "a":
@@ -4993,9 +4993,9 @@ function vu(t, e) {
4993
4993
  case "ZZZ":
4994
4994
  return Ms(new RegExp(`([+-]${a.source})(${s.source})?`), 2);
4995
4995
  case "z":
4996
- return lt(/[a-z_+-/]{1,256}?/i);
4996
+ return ft(/[a-z_+-/]{1,256}?/i);
4997
4997
  case " ":
4998
- return lt(/[^\S\n\r]/);
4998
+ return ft(/[^\S\n\r]/);
4999
4999
  default:
5000
5000
  return m(T);
5001
5001
  }
@@ -5004,7 +5004,7 @@ function vu(t, e) {
5004
5004
  };
5005
5005
  return w.token = t, w;
5006
5006
  }
5007
- const bu = {
5007
+ const ku = {
5008
5008
  year: {
5009
5009
  "2-digit": "yy",
5010
5010
  numeric: "yyyyy"
@@ -5046,7 +5046,7 @@ const bu = {
5046
5046
  short: "ZZZ"
5047
5047
  }
5048
5048
  };
5049
- function ku(t, e, n) {
5049
+ function bu(t, e, n) {
5050
5050
  const { type: s, value: r } = t;
5051
5051
  if (s === "literal") {
5052
5052
  const u = /^\s+$/.test(r);
@@ -5058,7 +5058,7 @@ function ku(t, e, n) {
5058
5058
  const i = e[s];
5059
5059
  let o = s;
5060
5060
  s === "hour" && (e.hour12 != null ? o = e.hour12 ? "hour12" : "hour24" : e.hourCycle != null ? e.hourCycle === "h11" || e.hourCycle === "h12" ? o = "hour12" : o = "hour24" : o = n.hour12 ? "hour12" : "hour24");
5061
- let a = bu[o];
5061
+ let a = ku[o];
5062
5062
  if (typeof a == "object" && (a = a[i]), a)
5063
5063
  return {
5064
5064
  literal: !1,
@@ -5117,7 +5117,7 @@ function Ou(t) {
5117
5117
  }
5118
5118
  };
5119
5119
  let n = null, s;
5120
- return b(t.z) || (n = de.create(t.z)), b(t.Z) || (n || (n = new Z(t.Z)), s = t.Z), b(t.q) || (t.M = (t.q - 1) * 3 + 1), b(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), b(t.u) || (t.S = In(t.u)), [Object.keys(t).reduce((i, o) => {
5120
+ return k(t.z) || (n = de.create(t.z)), k(t.Z) || (n || (n = new Z(t.Z)), s = t.Z), k(t.q) || (t.M = (t.q - 1) * 3 + 1), k(t.h) || (t.h < 12 && t.a === 1 ? t.h += 12 : t.h === 12 && t.a === 0 && (t.h = 0)), t.G === 0 && t.y && (t.y = -t.y), k(t.u) || (t.S = In(t.u)), [Object.keys(t).reduce((i, o) => {
5121
5121
  const a = e(o);
5122
5122
  return a && (i[a] = t[o]), i;
5123
5123
  }, {}), n, s];
@@ -5180,7 +5180,7 @@ function mi(t, e) {
5180
5180
  if (!t)
5181
5181
  return null;
5182
5182
  const s = H.create(e, t).dtFormatter(Cu()), r = s.formatToParts(), i = s.resolvedOptions();
5183
- return r.map((o) => ku(o, t, i));
5183
+ return r.map((o) => bu(o, t, i));
5184
5184
  }
5185
5185
  const en = "Invalid DateTime", Rs = 864e13;
5186
5186
  function Ye(t) {
@@ -5196,7 +5196,7 @@ function nn(t) {
5196
5196
  t.loc.getStartOfWeek()
5197
5197
  )), t.localWeekData;
5198
5198
  }
5199
- function be(t, e) {
5199
+ function ke(t, e) {
5200
5200
  const n = {
5201
5201
  ts: t.ts,
5202
5202
  zone: t.zone,
@@ -5216,7 +5216,7 @@ function pi(t, e, n) {
5216
5216
  const i = n.offset(s);
5217
5217
  return r === i ? [s, r] : [t - Math.min(r, i) * 60 * 1e3, Math.max(r, i)];
5218
5218
  }
5219
- function ft(t, e) {
5219
+ function ht(t, e) {
5220
5220
  t += e * 60 * 1e3;
5221
5221
  const n = new Date(t);
5222
5222
  return {
@@ -5266,7 +5266,7 @@ function xe(t, e, n, s, r, i) {
5266
5266
  new re("unparsable", `the input "${r}" can't be parsed as ${s}`)
5267
5267
  );
5268
5268
  }
5269
- function ht(t, e, n = !0) {
5269
+ function dt(t, e, n = !0) {
5270
5270
  return t.isValid ? H.create(N.create("en-US"), {
5271
5271
  allowZ: n,
5272
5272
  forceSimple: !0
@@ -5356,7 +5356,7 @@ function Ls(t) {
5356
5356
  }
5357
5357
  }
5358
5358
  function Du(t) {
5359
- return Tt[t] || (kt === void 0 && (kt = I.now()), Tt[t] = t.offset(kt)), Tt[t];
5359
+ return Et[t] || (Tt === void 0 && (Tt = I.now()), Et[t] = t.offset(Tt)), Et[t];
5360
5360
  }
5361
5361
  function Fs(t, e) {
5362
5362
  const n = we(e.zone, I.defaultZone);
@@ -5364,11 +5364,11 @@ function Fs(t, e) {
5364
5364
  return v.invalid(Ye(n));
5365
5365
  const s = N.fromObject(e);
5366
5366
  let r, i;
5367
- if (b(t.year))
5367
+ if (k(t.year))
5368
5368
  r = I.now();
5369
5369
  else {
5370
5370
  for (const u of gi)
5371
- b(t[u]) && (t[u] = yi[u]);
5371
+ k(t[u]) && (t[u] = yi[u]);
5372
5372
  const o = Wr(t) || qr(t);
5373
5373
  if (o)
5374
5374
  return v.invalid(o);
@@ -5378,7 +5378,7 @@ function Fs(t, e) {
5378
5378
  return new v({ ts: r, zone: n, loc: s, o: i });
5379
5379
  }
5380
5380
  function Vs(t, e, n) {
5381
- const s = b(n.round) ? !0 : n.round, r = (o, a) => (o = Dn(o, s || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), i = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
5381
+ const s = k(n.round) ? !0 : n.round, r = (o, a) => (o = Dn(o, s || n.calendary ? 0 : 2, !0), e.loc.clone(n).relFormatter(n).format(o, a)), i = (o) => n.calendary ? e.hasSame(t, o) ? 0 : e.startOf(o).diff(t.startOf(o), o).get(o) : e.diff(t, o).get(o);
5382
5382
  if (n.unit)
5383
5383
  return r(i(n.unit), n.unit);
5384
5384
  for (const o of n.units) {
@@ -5392,7 +5392,7 @@ function Bs(t) {
5392
5392
  let e = {}, n;
5393
5393
  return t.length > 0 && typeof t[t.length - 1] == "object" ? (e = t[t.length - 1], n = Array.from(t).slice(0, t.length - 1)) : n = Array.from(t), [e, n];
5394
5394
  }
5395
- let kt, Tt = {};
5395
+ let Tt, Et = {};
5396
5396
  class v {
5397
5397
  /**
5398
5398
  * @access private
@@ -5400,14 +5400,14 @@ class v {
5400
5400
  constructor(e) {
5401
5401
  const n = e.zone || I.defaultZone;
5402
5402
  let s = e.invalid || (Number.isNaN(e.ts) ? new re("invalid input") : null) || (n.isValid ? null : Ye(n));
5403
- this.ts = b(e.ts) ? I.now() : e.ts;
5403
+ this.ts = k(e.ts) ? I.now() : e.ts;
5404
5404
  let r = null, i = null;
5405
5405
  if (!s)
5406
5406
  if (e.old && e.old.ts === this.ts && e.old.zone.equals(n))
5407
5407
  [r, i] = [e.old.c, e.old.o];
5408
5408
  else {
5409
5409
  const a = Se(e.o) && !e.old ? e.o : n.offset(this.ts);
5410
- r = ft(this.ts, a), s = Number.isNaN(r.year) ? new re("invalid input") : null, r = s ? null : r, i = s ? null : a;
5410
+ r = ht(this.ts, a), s = Number.isNaN(r.year) ? new re("invalid input") : null, r = s ? null : r, i = s ? null : a;
5411
5411
  }
5412
5412
  this._zone = n, this.loc = e.loc || N.create(), this.invalid = s, this.weekData = null, this.localWeekData = null, this.c = r, this.o = i, this.isLuxonDateTime = !0;
5413
5413
  }
@@ -5574,7 +5574,7 @@ class v {
5574
5574
  const s = we(n.zone, I.defaultZone);
5575
5575
  if (!s.isValid)
5576
5576
  return v.invalid(Ye(s));
5577
- const r = N.fromObject(n), i = Rt(e, Ls), { minDaysInFirstWeek: o, startOfWeek: a } = ks(i, r), u = I.now(), c = b(n.specificOffset) ? s.offset(u) : n.specificOffset, l = !b(i.ordinal), h = !b(i.year), y = !b(i.month) || !b(i.day), m = h || y, d = i.weekYear || i.weekNumber;
5577
+ const r = N.fromObject(n), i = Rt(e, Ls), { minDaysInFirstWeek: o, startOfWeek: a } = bs(i, r), u = I.now(), c = k(n.specificOffset) ? s.offset(u) : n.specificOffset, l = !k(i.ordinal), h = !k(i.year), y = !k(i.month) || !k(i.day), m = h || y, d = i.weekYear || i.weekNumber;
5578
5578
  if ((m || l) && d)
5579
5579
  throw new Ae(
5580
5580
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -5582,18 +5582,18 @@ class v {
5582
5582
  if (y && l)
5583
5583
  throw new Ae("Can't mix ordinal dates with month/day");
5584
5584
  const w = d || i.weekday && !m;
5585
- let T, _, A = ft(u, c);
5585
+ let T, _, A = ht(u, c);
5586
5586
  w ? (T = Mu, _ = _u, A = At(A, o, a)) : l ? (T = Ru, _ = Au, A = Xt(A)) : (T = gi, _ = yi);
5587
5587
  let W = !1;
5588
- for (const V of T) {
5589
- const ae = i[V];
5590
- b(ae) ? W ? i[V] = _[V] : i[V] = A[V] : W = !0;
5588
+ for (const B of T) {
5589
+ const ae = i[B];
5590
+ k(ae) ? W ? i[B] = _[B] : i[B] = A[B] : W = !0;
5591
5591
  }
5592
5592
  const qe = w ? ac(i, o, a) : l ? cc(i) : Wr(i), S = qe || qr(i);
5593
5593
  if (S)
5594
5594
  return v.invalid(S);
5595
- const E = w ? vs(i, o, a) : l ? bs(i) : i, [F, j] = bt(E, c, s), M = new v({
5596
- ts: F,
5595
+ const E = w ? vs(i, o, a) : l ? ks(i) : i, [V, j] = bt(E, c, s), M = new v({
5596
+ ts: V,
5597
5597
  zone: s,
5598
5598
  o: j,
5599
5599
  loc: r
@@ -5678,7 +5678,7 @@ class v {
5678
5678
  * @return {DateTime}
5679
5679
  */
5680
5680
  static fromFormat(e, n, s = {}) {
5681
- if (b(e) || b(n))
5681
+ if (k(e) || k(n))
5682
5682
  throw new q("fromFormat requires an input string and a format");
5683
5683
  const { locale: r = null, numberingSystem: i = null } = s, o = N.fromOpts({
5684
5684
  locale: r,
@@ -5761,7 +5761,7 @@ class v {
5761
5761
  return fi(H.parseFormat(e), N.fromObject(n)).map((r) => r.val).join("");
5762
5762
  }
5763
5763
  static resetCache() {
5764
- kt = void 0, Tt = {};
5764
+ Tt = void 0, Et = {};
5765
5765
  }
5766
5766
  // INFO
5767
5767
  /**
@@ -5975,7 +5975,7 @@ class v {
5975
5975
  * @type {string}
5976
5976
  */
5977
5977
  get monthShort() {
5978
- return this.isValid ? ut.months("short", { locObj: this.loc })[this.month - 1] : null;
5978
+ return this.isValid ? lt.months("short", { locObj: this.loc })[this.month - 1] : null;
5979
5979
  }
5980
5980
  /**
5981
5981
  * Get the human readable long month name, such as 'October'.
@@ -5984,7 +5984,7 @@ class v {
5984
5984
  * @type {string}
5985
5985
  */
5986
5986
  get monthLong() {
5987
- return this.isValid ? ut.months("long", { locObj: this.loc })[this.month - 1] : null;
5987
+ return this.isValid ? lt.months("long", { locObj: this.loc })[this.month - 1] : null;
5988
5988
  }
5989
5989
  /**
5990
5990
  * Get the human readable short weekday, such as 'Mon'.
@@ -5993,7 +5993,7 @@ class v {
5993
5993
  * @type {string}
5994
5994
  */
5995
5995
  get weekdayShort() {
5996
- return this.isValid ? ut.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null;
5996
+ return this.isValid ? lt.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null;
5997
5997
  }
5998
5998
  /**
5999
5999
  * Get the human readable long weekday, such as 'Monday'.
@@ -6002,7 +6002,7 @@ class v {
6002
6002
  * @type {string}
6003
6003
  */
6004
6004
  get weekdayLong() {
6005
- return this.isValid ? ut.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null;
6005
+ return this.isValid ? lt.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null;
6006
6006
  }
6007
6007
  /**
6008
6008
  * Get the UTC offset of this DateTime in minutes
@@ -6062,8 +6062,8 @@ class v {
6062
6062
  const e = 864e5, n = 6e4, s = Ut(this.c), r = this.zone.offset(s - e), i = this.zone.offset(s + e), o = this.zone.offset(s - r * n), a = this.zone.offset(s - i * n);
6063
6063
  if (o === a)
6064
6064
  return [this];
6065
- const u = s - o * n, c = s - a * n, l = ft(u, o), h = ft(c, a);
6066
- return l.hour === h.hour && l.minute === h.minute && l.second === h.second && l.millisecond === h.millisecond ? [be(this, { ts: u }), be(this, { ts: c })] : [this];
6065
+ const u = s - o * n, c = s - a * n, l = ht(u, o), h = ht(c, a);
6066
+ return l.hour === h.hour && l.minute === h.minute && l.second === h.second && l.millisecond === h.millisecond ? [ke(this, { ts: u }), ke(this, { ts: c })] : [this];
6067
6067
  }
6068
6068
  /**
6069
6069
  * Returns true if this DateTime is in a leap year, false otherwise
@@ -6072,7 +6072,7 @@ class v {
6072
6072
  * @type {boolean}
6073
6073
  */
6074
6074
  get isInLeapYear() {
6075
- return nt(this.year);
6075
+ return st(this.year);
6076
6076
  }
6077
6077
  /**
6078
6078
  * Returns the number of days in this DateTime's month
@@ -6100,7 +6100,7 @@ class v {
6100
6100
  * @type {number}
6101
6101
  */
6102
6102
  get weeksInWeekYear() {
6103
- return this.isValid ? Xe(this.weekYear) : NaN;
6103
+ return this.isValid ? Qe(this.weekYear) : NaN;
6104
6104
  }
6105
6105
  /**
6106
6106
  * Returns the number of weeks in this DateTime's local week year
@@ -6109,7 +6109,7 @@ class v {
6109
6109
  * @type {number}
6110
6110
  */
6111
6111
  get weeksInLocalWeekYear() {
6112
- return this.isValid ? Xe(
6112
+ return this.isValid ? Qe(
6113
6113
  this.localWeekYear,
6114
6114
  this.loc.getMinDaysInFirstWeek(),
6115
6115
  this.loc.getStartOfWeek()
@@ -6167,7 +6167,7 @@ class v {
6167
6167
  const i = e.offset(this.ts), o = this.toObject();
6168
6168
  [r] = bt(o, i, e);
6169
6169
  }
6170
- return be(this, { ts: r, zone: e });
6170
+ return ke(this, { ts: r, zone: e });
6171
6171
  } else
6172
6172
  return v.invalid(Ye(e));
6173
6173
  }
@@ -6179,7 +6179,7 @@ class v {
6179
6179
  */
6180
6180
  reconfigure({ locale: e, numberingSystem: n, outputCalendar: s } = {}) {
6181
6181
  const r = this.loc.clone({ locale: e, numberingSystem: n, outputCalendar: s });
6182
- return be(this, { loc: r });
6182
+ return ke(this, { loc: r });
6183
6183
  }
6184
6184
  /**
6185
6185
  * "Set" the locale. Returns a newly-constructed DateTime.
@@ -6205,7 +6205,7 @@ class v {
6205
6205
  */
6206
6206
  set(e) {
6207
6207
  if (!this.isValid) return this;
6208
- const n = Rt(e, Ls), { minDaysInFirstWeek: s, startOfWeek: r } = ks(n, this.loc), i = !b(n.weekYear) || !b(n.weekNumber) || !b(n.weekday), o = !b(n.ordinal), a = !b(n.year), u = !b(n.month) || !b(n.day), c = a || u, l = n.weekYear || n.weekNumber;
6208
+ const n = Rt(e, Ls), { minDaysInFirstWeek: s, startOfWeek: r } = bs(n, this.loc), i = !k(n.weekYear) || !k(n.weekNumber) || !k(n.weekday), o = !k(n.ordinal), a = !k(n.year), u = !k(n.month) || !k(n.day), c = a || u, l = n.weekYear || n.weekNumber;
6209
6209
  if ((c || o) && l)
6210
6210
  throw new Ae(
6211
6211
  "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
@@ -6217,9 +6217,9 @@ class v {
6217
6217
  { ...At(this.c, s, r), ...n },
6218
6218
  s,
6219
6219
  r
6220
- ) : b(n.ordinal) ? (h = { ...this.toObject(), ...n }, b(n.day) && (h.day = Math.min(Mt(h.year, h.month), h.day))) : h = bs({ ...Xt(this.c), ...n });
6220
+ ) : k(n.ordinal) ? (h = { ...this.toObject(), ...n }, k(n.day) && (h.day = Math.min(Mt(h.year, h.month), h.day))) : h = ks({ ...Xt(this.c), ...n });
6221
6221
  const [y, m] = bt(h, this.o, this.zone);
6222
- return be(this, { ts: y, o: m });
6222
+ return ke(this, { ts: y, o: m });
6223
6223
  }
6224
6224
  /**
6225
6225
  * Add a period of time to this DateTime and return the resulting DateTime
@@ -6237,7 +6237,7 @@ class v {
6237
6237
  plus(e) {
6238
6238
  if (!this.isValid) return this;
6239
6239
  const n = O.fromDurationLike(e);
6240
- return be(this, Is(this, n));
6240
+ return ke(this, Is(this, n));
6241
6241
  }
6242
6242
  /**
6243
6243
  * Subtract a period of time to this DateTime and return the resulting DateTime
@@ -6248,7 +6248,7 @@ class v {
6248
6248
  minus(e) {
6249
6249
  if (!this.isValid) return this;
6250
6250
  const n = O.fromDurationLike(e).negate();
6251
- return be(this, Is(this, n));
6251
+ return ke(this, Is(this, n));
6252
6252
  }
6253
6253
  /**
6254
6254
  * "Set" this DateTime to the beginning of a unit of time.
@@ -6407,7 +6407,7 @@ class v {
6407
6407
  * @return {string}
6408
6408
  */
6409
6409
  toISOWeekDate() {
6410
- return ht(this, "kkkk-'W'WW-c");
6410
+ return dt(this, "kkkk-'W'WW-c");
6411
6411
  }
6412
6412
  /**
6413
6413
  * Returns an ISO 8601-compliant string representation of this DateTime's time component
@@ -6448,7 +6448,7 @@ class v {
6448
6448
  * @return {string}
6449
6449
  */
6450
6450
  toRFC2822() {
6451
- return ht(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1);
6451
+ return dt(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1);
6452
6452
  }
6453
6453
  /**
6454
6454
  * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
@@ -6459,7 +6459,7 @@ class v {
6459
6459
  * @return {string}
6460
6460
  */
6461
6461
  toHTTP() {
6462
- return ht(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'");
6462
+ return dt(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'");
6463
6463
  }
6464
6464
  /**
6465
6465
  * Returns a string representation of this DateTime appropriate for use in SQL Date
@@ -6483,7 +6483,7 @@ class v {
6483
6483
  */
6484
6484
  toSQLTime({ includeOffset: e = !0, includeZone: n = !1, includeOffsetSpace: s = !0 } = {}) {
6485
6485
  let r = "HH:mm:ss.SSS";
6486
- return (n || e) && (s && (r += " "), n ? r += "z" : e && (r += "ZZ")), ht(this, r, !0);
6486
+ return (n || e) && (s && (r += " "), n ? r += "z" : e && (r += "ZZ")), dt(this, r, !0);
6487
6487
  }
6488
6488
  /**
6489
6489
  * Returns a string representation of this DateTime appropriate for use in SQL DateTime
@@ -6765,7 +6765,7 @@ class v {
6765
6765
  * @returns {DateTime}
6766
6766
  */
6767
6767
  static fromFormatParser(e, n, s = {}) {
6768
- if (b(e) || b(n))
6768
+ if (k(e) || k(n))
6769
6769
  throw new q(
6770
6770
  "fromFormatParser requires an input string and a format parser"
6771
6771
  );
@@ -6822,14 +6822,14 @@ class v {
6822
6822
  * @type {Object}
6823
6823
  */
6824
6824
  static get DATE_HUGE() {
6825
- return br;
6825
+ return kr;
6826
6826
  }
6827
6827
  /**
6828
6828
  * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
6829
6829
  * @type {Object}
6830
6830
  */
6831
6831
  static get TIME_SIMPLE() {
6832
- return kr;
6832
+ return br;
6833
6833
  }
6834
6834
  /**
6835
6835
  * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
@@ -6965,7 +6965,7 @@ const Lu = {}, Fu = {
6965
6965
  Vu
6966
6966
  ];
6967
6967
  function $u(t, e) {
6968
- return B(), U("svg", Fu, Bu);
6968
+ return L(), $("svg", Fu, Bu);
6969
6969
  }
6970
6970
  const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-container-list" }, Wu = { class: "message-container" }, qu = {
6971
6971
  key: 0,
@@ -7012,21 +7012,21 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7012
7012
  const u = /(https?:\/\/[^\s]+)/g;
7013
7013
  return a.replace(u, (c) => `<a href="${c}" target="_blank">${c}</a>`);
7014
7014
  }
7015
- return (a, u) => (B(), U(zn, null, [
7015
+ return (a, u) => (L(), $(zn, null, [
7016
7016
  g("div", {
7017
7017
  ref_key: "target",
7018
7018
  ref: s,
7019
7019
  class: "target"
7020
7020
  }, null, 512),
7021
7021
  g("div", Pu, [
7022
- (B(!0), U(zn, null, Ui(n.messages, (c) => {
7022
+ (L(!0), $(zn, null, Ui(n.messages, (c) => {
7023
7023
  var l, h;
7024
- return B(), U("div", {
7024
+ return L(), $("div", {
7025
7025
  key: c.id,
7026
7026
  class: Me(["message", c.esCliente ? "message-right" : "message-left"])
7027
7027
  }, [
7028
7028
  g("div", Wu, [
7029
- c.error && c.esCliente ? (B(), U("div", qu, [
7029
+ c.error && c.esCliente ? (L(), $("div", qu, [
7030
7030
  g("button", {
7031
7031
  text: "",
7032
7032
  rounded: "",
@@ -7037,7 +7037,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7037
7037
  }, [
7038
7038
  he(Uu)
7039
7039
  ], 8, Hu)
7040
- ])) : xt("", !0),
7040
+ ])) : Ge("", !0),
7041
7041
  g("div", zu, [
7042
7042
  g("div", {
7043
7043
  class: Me(["bubble", c.esCliente ? "right" : "left"])
@@ -7051,7 +7051,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7051
7051
  innerHTML: o(c.message)
7052
7052
  }, null, 8, Zu),
7053
7053
  g("div", ju, [
7054
- (l = c.sender) != null && l.nombreCompleto ? (B(), U("span", Yu, Nt(c.esCliente ? (h = c.sender) == null ? void 0 : h.nombreCompleto : "ECOSISTEMA JL"), 1)) : (B(), U("span", Ju)),
7054
+ (l = c.sender) != null && l.nombreCompleto ? (L(), $("span", Yu, Nt(c.esCliente ? (h = c.sender) == null ? void 0 : h.nombreCompleto : "ECOSISTEMA JL"), 1)) : (L(), $("span", Ju)),
7055
7055
  g("span", null, Nt(Js(v).fromISO(c.createdAt).toFormat(
7056
7056
  "dd-MM-yyyy HH:mm"
7057
7057
  )), 1)
@@ -7080,7 +7080,7 @@ const Uu = /* @__PURE__ */ oe(Lu, [["render", $u]]), Pu = { class: "messages-con
7080
7080
  tl
7081
7081
  ];
7082
7082
  function sl(t, e) {
7083
- return B(), U("svg", Qu, nl);
7083
+ return L(), $("svg", Qu, nl);
7084
7084
  }
7085
7085
  const rl = /* @__PURE__ */ oe(Xu, [["render", sl], ["__scopeId", "data-v-d9a6b2b7"]]);
7086
7086
  function il(t, e, n) {
@@ -7096,11 +7096,11 @@ le.pong = "3";
7096
7096
  le.message = "4";
7097
7097
  le.upgrade = "5";
7098
7098
  le.noop = "6";
7099
- const Et = /* @__PURE__ */ Object.create(null);
7099
+ const Ot = /* @__PURE__ */ Object.create(null);
7100
7100
  Object.keys(le).forEach((t) => {
7101
- Et[le[t]] = t;
7101
+ Ot[le[t]] = t;
7102
7102
  });
7103
- const wn = { type: "error", data: "parser error" }, Si = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vi = typeof ArrayBuffer == "function", bi = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, Bn = ({ type: t, data: e }, n, s) => Si && e instanceof Blob ? n ? s(e) : $s(e, s) : vi && (e instanceof ArrayBuffer || bi(e)) ? n ? s(e) : $s(new Blob([e]), s) : s(le[t] + (e || "")), $s = (t, e) => {
7103
+ const wn = { type: "error", data: "parser error" }, Si = typeof Blob == "function" || typeof Blob < "u" && Object.prototype.toString.call(Blob) === "[object BlobConstructor]", vi = typeof ArrayBuffer == "function", ki = (t) => typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView(t) : t && t.buffer instanceof ArrayBuffer, Bn = ({ type: t, data: e }, n, s) => Si && e instanceof Blob ? n ? s(e) : $s(e, s) : vi && (e instanceof ArrayBuffer || ki(e)) ? n ? s(e) : $s(new Blob([e]), s) : s(le[t] + (e || "")), $s = (t, e) => {
7104
7104
  const n = new FileReader();
7105
7105
  return n.onload = function() {
7106
7106
  const s = n.result.split(",")[1];
@@ -7114,7 +7114,7 @@ let rn;
7114
7114
  function ol(t, e) {
7115
7115
  if (Si && t.data instanceof Blob)
7116
7116
  return t.data.arrayBuffer().then(Us).then(e);
7117
- if (vi && (t.data instanceof ArrayBuffer || bi(t.data)))
7117
+ if (vi && (t.data instanceof ArrayBuffer || ki(t.data)))
7118
7118
  return e(Us(t.data));
7119
7119
  Bn(t, !1, (n) => {
7120
7120
  rn || (rn = new TextEncoder()), e(rn.encode(n));
@@ -7134,25 +7134,25 @@ const al = (t) => {
7134
7134
  if (typeof t != "string")
7135
7135
  return {
7136
7136
  type: "message",
7137
- data: ki(t, e)
7137
+ data: bi(t, e)
7138
7138
  };
7139
7139
  const n = t.charAt(0);
7140
7140
  return n === "b" ? {
7141
7141
  type: "message",
7142
7142
  data: ul(t.substring(1), e)
7143
- } : Et[n] ? t.length > 1 ? {
7144
- type: Et[n],
7143
+ } : Ot[n] ? t.length > 1 ? {
7144
+ type: Ot[n],
7145
7145
  data: t.substring(1)
7146
7146
  } : {
7147
- type: Et[n]
7147
+ type: Ot[n]
7148
7148
  } : wn;
7149
7149
  }, ul = (t, e) => {
7150
7150
  if (cl) {
7151
7151
  const n = al(t);
7152
- return ki(n, e);
7152
+ return bi(n, e);
7153
7153
  } else
7154
7154
  return { base64: !0, data: t };
7155
- }, ki = (t, e) => {
7155
+ }, bi = (t, e) => {
7156
7156
  switch (e) {
7157
7157
  case "blob":
7158
7158
  return t instanceof Blob ? t : new Blob([t]);
@@ -7200,10 +7200,10 @@ function hl() {
7200
7200
  });
7201
7201
  }
7202
7202
  let on;
7203
- function dt(t) {
7203
+ function mt(t) {
7204
7204
  return t.reduce((e, n) => e + n.length, 0);
7205
7205
  }
7206
- function mt(t, e) {
7206
+ function pt(t, e) {
7207
7207
  if (t[0].length === e)
7208
7208
  return t.shift();
7209
7209
  const n = new Uint8Array(e);
@@ -7220,28 +7220,28 @@ function dl(t, e) {
7220
7220
  transform(o, a) {
7221
7221
  for (n.push(o); ; ) {
7222
7222
  if (s === 0) {
7223
- if (dt(n) < 1)
7223
+ if (mt(n) < 1)
7224
7224
  break;
7225
- const u = mt(n, 1);
7225
+ const u = pt(n, 1);
7226
7226
  i = (u[0] & 128) === 128, r = u[0] & 127, r < 126 ? s = 3 : r === 126 ? s = 1 : s = 2;
7227
7227
  } else if (s === 1) {
7228
- if (dt(n) < 2)
7228
+ if (mt(n) < 2)
7229
7229
  break;
7230
- const u = mt(n, 2);
7230
+ const u = pt(n, 2);
7231
7231
  r = new DataView(u.buffer, u.byteOffset, u.length).getUint16(0), s = 3;
7232
7232
  } else if (s === 2) {
7233
- if (dt(n) < 8)
7233
+ if (mt(n) < 8)
7234
7234
  break;
7235
- const u = mt(n, 8), c = new DataView(u.buffer, u.byteOffset, u.length), l = c.getUint32(0);
7235
+ const u = pt(n, 8), c = new DataView(u.buffer, u.byteOffset, u.length), l = c.getUint32(0);
7236
7236
  if (l > Math.pow(2, 21) - 1) {
7237
7237
  a.enqueue(wn);
7238
7238
  break;
7239
7239
  }
7240
7240
  r = l * Math.pow(2, 32) + c.getUint32(4), s = 3;
7241
7241
  } else {
7242
- if (dt(n) < r)
7242
+ if (mt(n) < r)
7243
7243
  break;
7244
- const u = mt(n, r);
7244
+ const u = pt(n, r);
7245
7245
  a.enqueue($n(i ? u : on.decode(u), e)), s = 0;
7246
7246
  }
7247
7247
  if (r === 0 || r > t) {
@@ -7253,24 +7253,24 @@ function dl(t, e) {
7253
7253
  });
7254
7254
  }
7255
7255
  const Ei = 4;
7256
- function L(t) {
7256
+ function F(t) {
7257
7257
  if (t) return ml(t);
7258
7258
  }
7259
7259
  function ml(t) {
7260
- for (var e in L.prototype)
7261
- t[e] = L.prototype[e];
7260
+ for (var e in F.prototype)
7261
+ t[e] = F.prototype[e];
7262
7262
  return t;
7263
7263
  }
7264
- L.prototype.on = L.prototype.addEventListener = function(t, e) {
7264
+ F.prototype.on = F.prototype.addEventListener = function(t, e) {
7265
7265
  return this._callbacks = this._callbacks || {}, (this._callbacks["$" + t] = this._callbacks["$" + t] || []).push(e), this;
7266
7266
  };
7267
- L.prototype.once = function(t, e) {
7267
+ F.prototype.once = function(t, e) {
7268
7268
  function n() {
7269
7269
  this.off(t, n), e.apply(this, arguments);
7270
7270
  }
7271
7271
  return n.fn = e, this.on(t, n), this;
7272
7272
  };
7273
- L.prototype.off = L.prototype.removeListener = L.prototype.removeAllListeners = L.prototype.removeEventListener = function(t, e) {
7273
+ F.prototype.off = F.prototype.removeListener = F.prototype.removeAllListeners = F.prototype.removeEventListener = function(t, e) {
7274
7274
  if (this._callbacks = this._callbacks || {}, arguments.length == 0)
7275
7275
  return this._callbacks = {}, this;
7276
7276
  var n = this._callbacks["$" + t];
@@ -7284,7 +7284,7 @@ L.prototype.off = L.prototype.removeListener = L.prototype.removeAllListeners =
7284
7284
  }
7285
7285
  return n.length === 0 && delete this._callbacks["$" + t], this;
7286
7286
  };
7287
- L.prototype.emit = function(t) {
7287
+ F.prototype.emit = function(t) {
7288
7288
  this._callbacks = this._callbacks || {};
7289
7289
  for (var e = new Array(arguments.length - 1), n = this._callbacks["$" + t], s = 1; s < arguments.length; s++)
7290
7290
  e[s - 1] = arguments[s];
@@ -7295,11 +7295,11 @@ L.prototype.emit = function(t) {
7295
7295
  }
7296
7296
  return this;
7297
7297
  };
7298
- L.prototype.emitReserved = L.prototype.emit;
7299
- L.prototype.listeners = function(t) {
7298
+ F.prototype.emitReserved = F.prototype.emit;
7299
+ F.prototype.listeners = function(t) {
7300
7300
  return this._callbacks = this._callbacks || {}, this._callbacks["$" + t] || [];
7301
7301
  };
7302
- L.prototype.hasListeners = function(t) {
7302
+ F.prototype.hasListeners = function(t) {
7303
7303
  return !!this.listeners(t).length;
7304
7304
  };
7305
7305
  const G = typeof self < "u" ? self : typeof window < "u" ? window : Function("return this")();
@@ -7326,7 +7326,7 @@ function vl(t) {
7326
7326
  t.hasOwnProperty(n) && (e.length && (e += "&"), e += encodeURIComponent(n) + "=" + encodeURIComponent(t[n]));
7327
7327
  return e;
7328
7328
  }
7329
- function bl(t) {
7329
+ function kl(t) {
7330
7330
  let e = {}, n = t.split("&");
7331
7331
  for (let s = 0, r = n.length; s < r; s++) {
7332
7332
  let i = n[s].split("=");
@@ -7334,12 +7334,12 @@ function bl(t) {
7334
7334
  }
7335
7335
  return e;
7336
7336
  }
7337
- class kl extends Error {
7337
+ class bl extends Error {
7338
7338
  constructor(e, n, s) {
7339
7339
  super(e), this.description = n, this.context = s, this.type = "TransportError";
7340
7340
  }
7341
7341
  }
7342
- class Un extends L {
7342
+ class Un extends F {
7343
7343
  /**
7344
7344
  * Transport abstract constructor.
7345
7345
  *
@@ -7359,7 +7359,7 @@ class Un extends L {
7359
7359
  * @protected
7360
7360
  */
7361
7361
  onError(e, n, s) {
7362
- return super.emitReserved("error", new kl(e, n, s)), this;
7362
+ return super.emitReserved("error", new bl(e, n, s)), this;
7363
7363
  }
7364
7364
  /**
7365
7365
  * Opens the transport.
@@ -7438,7 +7438,7 @@ class Un extends L {
7438
7438
  }
7439
7439
  }
7440
7440
  const Ci = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""), Sn = 64, Tl = {};
7441
- let Ws = 0, pt = 0, qs;
7441
+ let Ws = 0, yt = 0, qs;
7442
7442
  function Hs(t) {
7443
7443
  let e = "";
7444
7444
  do
@@ -7450,8 +7450,8 @@ function xi() {
7450
7450
  const t = Hs(+/* @__PURE__ */ new Date());
7451
7451
  return t !== qs ? (Ws = 0, qs = t) : t + "." + Hs(Ws++);
7452
7452
  }
7453
- for (; pt < Sn; pt++)
7454
- Tl[Ci[pt]] = pt;
7453
+ for (; yt < Sn; yt++)
7454
+ Tl[Ci[yt]] = yt;
7455
7455
  let Ni = !1;
7456
7456
  try {
7457
7457
  Ni = typeof XMLHttpRequest < "u" && "withCredentials" in new XMLHttpRequest();
@@ -7618,7 +7618,7 @@ class xl extends Un {
7618
7618
  }), this.pollXhr = e;
7619
7619
  }
7620
7620
  }
7621
- class ue extends L {
7621
+ class ue extends F {
7622
7622
  /**
7623
7623
  * Request constructor
7624
7624
  *
@@ -7726,7 +7726,7 @@ function zs() {
7726
7726
  for (let t in ue.requests)
7727
7727
  ue.requests.hasOwnProperty(t) && ue.requests[t].abort();
7728
7728
  }
7729
- const Pn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), yt = G.WebSocket || G.MozWebSocket, Zs = !0, Nl = "arraybuffer", js = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
7729
+ const Pn = typeof Promise == "function" && typeof Promise.resolve == "function" ? (e) => Promise.resolve().then(e) : (e, n) => n(e, 0), gt = G.WebSocket || G.MozWebSocket, Zs = !0, Nl = "arraybuffer", js = typeof navigator < "u" && typeof navigator.product == "string" && navigator.product.toLowerCase() === "reactnative";
7730
7730
  class _l extends Un {
7731
7731
  /**
7732
7732
  * WebSocket transport constructor.
@@ -7746,7 +7746,7 @@ class _l extends Un {
7746
7746
  const e = this.uri(), n = this.opts.protocols, s = js ? {} : Oi(this.opts, "agent", "perMessageDeflate", "pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "localAddress", "protocolVersion", "origin", "maxPayload", "family", "checkServerIdentity");
7747
7747
  this.opts.extraHeaders && (s.headers = this.opts.extraHeaders);
7748
7748
  try {
7749
- this.ws = Zs && !js ? n ? new yt(e, n) : new yt(e) : new yt(e, n, s);
7749
+ this.ws = Zs && !js ? n ? new gt(e, n) : new gt(e) : new gt(e, n, s);
7750
7750
  } catch (r) {
7751
7751
  return this.emitReserved("error", r);
7752
7752
  }
@@ -7800,7 +7800,7 @@ class _l extends Un {
7800
7800
  * @private
7801
7801
  */
7802
7802
  check() {
7803
- return !!yt;
7803
+ return !!gt;
7804
7804
  }
7805
7805
  }
7806
7806
  class Al extends Un {
@@ -7882,7 +7882,7 @@ function Ll(t, e) {
7882
7882
  r && (n[r] = i);
7883
7883
  }), n;
7884
7884
  }
7885
- let Ai = class _e extends L {
7885
+ let Ai = class _e extends F {
7886
7886
  /**
7887
7887
  * Socket constructor.
7888
7888
  *
@@ -7908,7 +7908,7 @@ let Ai = class _e extends L {
7908
7908
  },
7909
7909
  transportOptions: {},
7910
7910
  closeOnBeforeunload: !1
7911
- }, n), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = bl(this.opts.query)), this.id = null, this.upgrades = null, this.pingInterval = null, this.pingTimeout = null, this.pingTimeoutTimer = null, typeof addEventListener == "function" && (this.opts.closeOnBeforeunload && (this.beforeunloadEventListener = () => {
7911
+ }, n), this.opts.path = this.opts.path.replace(/\/$/, "") + (this.opts.addTrailingSlash ? "/" : ""), typeof this.opts.query == "string" && (this.opts.query = kl(this.opts.query)), this.id = null, this.upgrades = null, this.pingInterval = null, this.pingTimeout = null, this.pingTimeoutTimer = null, typeof addEventListener == "function" && (this.opts.closeOnBeforeunload && (this.beforeunloadEventListener = () => {
7912
7912
  this.transport && (this.transport.removeAllListeners(), this.transport.close());
7913
7913
  }, addEventListener("beforeunload", this.beforeunloadEventListener, !1)), this.hostname !== "localhost" && (this.offlineEventListener = () => {
7914
7914
  this.onClose("transport close", {
@@ -8198,29 +8198,29 @@ const Vl = typeof ArrayBuffer == "function", Bl = (t) => typeof ArrayBuffer.isVi
8198
8198
  function Wn(t) {
8199
8199
  return Vl && (t instanceof ArrayBuffer || Bl(t)) || $l && t instanceof Blob || Ul && t instanceof File;
8200
8200
  }
8201
- function Ot(t, e) {
8201
+ function Ct(t, e) {
8202
8202
  if (!t || typeof t != "object")
8203
8203
  return !1;
8204
8204
  if (Array.isArray(t)) {
8205
8205
  for (let n = 0, s = t.length; n < s; n++)
8206
- if (Ot(t[n]))
8206
+ if (Ct(t[n]))
8207
8207
  return !0;
8208
8208
  return !1;
8209
8209
  }
8210
8210
  if (Wn(t))
8211
8211
  return !0;
8212
8212
  if (t.toJSON && typeof t.toJSON == "function" && arguments.length === 1)
8213
- return Ot(t.toJSON(), !0);
8213
+ return Ct(t.toJSON(), !0);
8214
8214
  for (const n in t)
8215
- if (Object.prototype.hasOwnProperty.call(t, n) && Ot(t[n]))
8215
+ if (Object.prototype.hasOwnProperty.call(t, n) && Ct(t[n]))
8216
8216
  return !0;
8217
8217
  return !1;
8218
8218
  }
8219
8219
  function Pl(t) {
8220
8220
  const e = [], n = t.data, s = t;
8221
- return s.data = bn(n, e), s.attachments = e.length, { packet: s, buffers: e };
8221
+ return s.data = kn(n, e), s.attachments = e.length, { packet: s, buffers: e };
8222
8222
  }
8223
- function bn(t, e) {
8223
+ function kn(t, e) {
8224
8224
  if (!t)
8225
8225
  return t;
8226
8226
  if (Wn(t)) {
@@ -8229,20 +8229,20 @@ function bn(t, e) {
8229
8229
  } else if (Array.isArray(t)) {
8230
8230
  const n = new Array(t.length);
8231
8231
  for (let s = 0; s < t.length; s++)
8232
- n[s] = bn(t[s], e);
8232
+ n[s] = kn(t[s], e);
8233
8233
  return n;
8234
8234
  } else if (typeof t == "object" && !(t instanceof Date)) {
8235
8235
  const n = {};
8236
8236
  for (const s in t)
8237
- Object.prototype.hasOwnProperty.call(t, s) && (n[s] = bn(t[s], e));
8237
+ Object.prototype.hasOwnProperty.call(t, s) && (n[s] = kn(t[s], e));
8238
8238
  return n;
8239
8239
  }
8240
8240
  return t;
8241
8241
  }
8242
8242
  function Wl(t, e) {
8243
- return t.data = kn(t.data, e), delete t.attachments, t;
8243
+ return t.data = bn(t.data, e), delete t.attachments, t;
8244
8244
  }
8245
- function kn(t, e) {
8245
+ function bn(t, e) {
8246
8246
  if (!t)
8247
8247
  return t;
8248
8248
  if (t && t._placeholder === !0) {
@@ -8251,10 +8251,10 @@ function kn(t, e) {
8251
8251
  throw new Error("illegal attachments");
8252
8252
  } else if (Array.isArray(t))
8253
8253
  for (let n = 0; n < t.length; n++)
8254
- t[n] = kn(t[n], e);
8254
+ t[n] = bn(t[n], e);
8255
8255
  else if (typeof t == "object")
8256
8256
  for (const n in t)
8257
- Object.prototype.hasOwnProperty.call(t, n) && (t[n] = kn(t[n], e));
8257
+ Object.prototype.hasOwnProperty.call(t, n) && (t[n] = bn(t[n], e));
8258
8258
  return t;
8259
8259
  }
8260
8260
  const ql = [
@@ -8266,10 +8266,10 @@ const ql = [
8266
8266
  "removeListener"
8267
8267
  // used by the Node.js EventEmitter
8268
8268
  ], Hl = 5;
8269
- var k;
8269
+ var b;
8270
8270
  (function(t) {
8271
8271
  t[t.CONNECT = 0] = "CONNECT", t[t.DISCONNECT = 1] = "DISCONNECT", t[t.EVENT = 2] = "EVENT", t[t.ACK = 3] = "ACK", t[t.CONNECT_ERROR = 4] = "CONNECT_ERROR", t[t.BINARY_EVENT = 5] = "BINARY_EVENT", t[t.BINARY_ACK = 6] = "BINARY_ACK";
8272
- })(k || (k = {}));
8272
+ })(b || (b = {}));
8273
8273
  class zl {
8274
8274
  /**
8275
8275
  * Encoder constructor
@@ -8286,8 +8286,8 @@ class zl {
8286
8286
  * @param {Object} obj - packet object
8287
8287
  */
8288
8288
  encode(e) {
8289
- return (e.type === k.EVENT || e.type === k.ACK) && Ot(e) ? this.encodeAsBinary({
8290
- type: e.type === k.EVENT ? k.BINARY_EVENT : k.BINARY_ACK,
8289
+ return (e.type === b.EVENT || e.type === b.ACK) && Ct(e) ? this.encodeAsBinary({
8290
+ type: e.type === b.EVENT ? b.BINARY_EVENT : b.BINARY_ACK,
8291
8291
  nsp: e.nsp,
8292
8292
  data: e.data,
8293
8293
  id: e.id
@@ -8298,7 +8298,7 @@ class zl {
8298
8298
  */
8299
8299
  encodeAsString(e) {
8300
8300
  let n = "" + e.type;
8301
- return (e.type === k.BINARY_EVENT || e.type === k.BINARY_ACK) && (n += e.attachments + "-"), e.nsp && e.nsp !== "/" && (n += e.nsp + ","), e.id != null && (n += e.id), e.data != null && (n += JSON.stringify(e.data, this.replacer)), n;
8301
+ return (e.type === b.BINARY_EVENT || e.type === b.BINARY_ACK) && (n += e.attachments + "-"), e.nsp && e.nsp !== "/" && (n += e.nsp + ","), e.id != null && (n += e.id), e.data != null && (n += JSON.stringify(e.data, this.replacer)), n;
8302
8302
  }
8303
8303
  /**
8304
8304
  * Encode packet as 'buffer sequence' by removing blobs, and
@@ -8313,7 +8313,7 @@ class zl {
8313
8313
  function Ys(t) {
8314
8314
  return Object.prototype.toString.call(t) === "[object Object]";
8315
8315
  }
8316
- class qn extends L {
8316
+ class qn extends F {
8317
8317
  /**
8318
8318
  * Decoder constructor
8319
8319
  *
@@ -8333,8 +8333,8 @@ class qn extends L {
8333
8333
  if (this.reconstructor)
8334
8334
  throw new Error("got plaintext data when reconstructing a packet");
8335
8335
  n = this.decodeString(e);
8336
- const s = n.type === k.BINARY_EVENT;
8337
- s || n.type === k.BINARY_ACK ? (n.type = s ? k.EVENT : k.ACK, this.reconstructor = new Zl(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
8336
+ const s = n.type === b.BINARY_EVENT;
8337
+ s || n.type === b.BINARY_ACK ? (n.type = s ? b.EVENT : b.ACK, this.reconstructor = new Zl(n), n.attachments === 0 && super.emitReserved("decoded", n)) : super.emitReserved("decoded", n);
8338
8338
  } else if (Wn(e) || e.base64)
8339
8339
  if (this.reconstructor)
8340
8340
  n = this.reconstructor.takeBinaryData(e), n && (this.reconstructor = null, super.emitReserved("decoded", n));
@@ -8354,9 +8354,9 @@ class qn extends L {
8354
8354
  const s = {
8355
8355
  type: Number(e.charAt(0))
8356
8356
  };
8357
- if (k[s.type] === void 0)
8357
+ if (b[s.type] === void 0)
8358
8358
  throw new Error("unknown packet type " + s.type);
8359
- if (s.type === k.BINARY_EVENT || s.type === k.BINARY_ACK) {
8359
+ if (s.type === b.BINARY_EVENT || s.type === b.BINARY_ACK) {
8360
8360
  const i = n + 1;
8361
8361
  for (; e.charAt(++n) !== "-" && n != e.length; )
8362
8362
  ;
@@ -8404,17 +8404,17 @@ class qn extends L {
8404
8404
  }
8405
8405
  static isPayloadValid(e, n) {
8406
8406
  switch (e) {
8407
- case k.CONNECT:
8407
+ case b.CONNECT:
8408
8408
  return Ys(n);
8409
- case k.DISCONNECT:
8409
+ case b.DISCONNECT:
8410
8410
  return n === void 0;
8411
- case k.CONNECT_ERROR:
8411
+ case b.CONNECT_ERROR:
8412
8412
  return typeof n == "string" || Ys(n);
8413
- case k.EVENT:
8414
- case k.BINARY_EVENT:
8413
+ case b.EVENT:
8414
+ case b.BINARY_EVENT:
8415
8415
  return Array.isArray(n) && (typeof n[0] == "number" || typeof n[0] == "string" && ql.indexOf(n[0]) === -1);
8416
- case k.ACK:
8417
- case k.BINARY_ACK:
8416
+ case b.ACK:
8417
+ case b.BINARY_ACK:
8418
8418
  return Array.isArray(n);
8419
8419
  }
8420
8420
  }
@@ -8456,7 +8456,7 @@ const jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8456
8456
  Decoder: qn,
8457
8457
  Encoder: zl,
8458
8458
  get PacketType() {
8459
- return k;
8459
+ return b;
8460
8460
  },
8461
8461
  protocol: Hl
8462
8462
  }, Symbol.toStringTag, { value: "Module" }));
@@ -8474,7 +8474,7 @@ const Yl = Object.freeze({
8474
8474
  newListener: 1,
8475
8475
  removeListener: 1
8476
8476
  });
8477
- class Ri extends L {
8477
+ class Ri extends F {
8478
8478
  /**
8479
8479
  * `Socket` constructor.
8480
8480
  */
@@ -8594,7 +8594,7 @@ class Ri extends L {
8594
8594
  if (n.unshift(e), this._opts.retries && !this.flags.fromQueue && !this.flags.volatile)
8595
8595
  return this._addToQueue(n), this;
8596
8596
  const s = {
8597
- type: k.EVENT,
8597
+ type: b.EVENT,
8598
8598
  data: n
8599
8599
  };
8600
8600
  if (s.options = {}, s.options.compress = this.flags.compress !== !1, typeof n[n.length - 1] == "function") {
@@ -8702,7 +8702,7 @@ class Ri extends L {
8702
8702
  */
8703
8703
  _sendConnectPacket(e) {
8704
8704
  this.packet({
8705
- type: k.CONNECT,
8705
+ type: b.CONNECT,
8706
8706
  data: this._pid ? Object.assign({ pid: this._pid, offset: this._lastOffset }, e) : e
8707
8707
  });
8708
8708
  }
@@ -8734,21 +8734,21 @@ class Ri extends L {
8734
8734
  onpacket(e) {
8735
8735
  if (e.nsp === this.nsp)
8736
8736
  switch (e.type) {
8737
- case k.CONNECT:
8737
+ case b.CONNECT:
8738
8738
  e.data && e.data.sid ? this.onconnect(e.data.sid, e.data.pid) : this.emitReserved("connect_error", new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));
8739
8739
  break;
8740
- case k.EVENT:
8741
- case k.BINARY_EVENT:
8740
+ case b.EVENT:
8741
+ case b.BINARY_EVENT:
8742
8742
  this.onevent(e);
8743
8743
  break;
8744
- case k.ACK:
8745
- case k.BINARY_ACK:
8744
+ case b.ACK:
8745
+ case b.BINARY_ACK:
8746
8746
  this.onack(e);
8747
8747
  break;
8748
- case k.DISCONNECT:
8748
+ case b.DISCONNECT:
8749
8749
  this.ondisconnect();
8750
8750
  break;
8751
- case k.CONNECT_ERROR:
8751
+ case b.CONNECT_ERROR:
8752
8752
  this.destroy();
8753
8753
  const s = new Error(e.data.message);
8754
8754
  s.data = e.data.data, this.emitReserved("connect_error", s);
@@ -8783,7 +8783,7 @@ class Ri extends L {
8783
8783
  let s = !1;
8784
8784
  return function(...r) {
8785
8785
  s || (s = !0, n.packet({
8786
- type: k.ACK,
8786
+ type: b.ACK,
8787
8787
  id: e,
8788
8788
  data: r
8789
8789
  }));
@@ -8852,7 +8852,7 @@ class Ri extends L {
8852
8852
  * @return self
8853
8853
  */
8854
8854
  disconnect() {
8855
- return this.connected && this.packet({ type: k.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
8855
+ return this.connected && this.packet({ type: b.DISCONNECT }), this.destroy(), this.connected && this.onclose("io client disconnect"), this;
8856
8856
  }
8857
8857
  /**
8858
8858
  * Alias for {@link disconnect()}.
@@ -9074,7 +9074,7 @@ We.prototype.setMax = function(t) {
9074
9074
  We.prototype.setJitter = function(t) {
9075
9075
  this.jitter = t;
9076
9076
  };
9077
- class Tn extends L {
9077
+ class Tn extends F {
9078
9078
  constructor(e, n) {
9079
9079
  var s;
9080
9080
  super(), this.nsps = {}, this.subs = [], e && typeof e == "object" && (n = e, e = void 0), n = n || {}, n.path = n.path || "/socket.io", this.opts = n, qt(this, n), this.reconnection(n.reconnection !== !1), this.reconnectionAttempts(n.reconnectionAttempts || 1 / 0), this.reconnectionDelay(n.reconnectionDelay || 1e3), this.reconnectionDelayMax(n.reconnectionDelayMax || 5e3), this.randomizationFactor((s = n.randomizationFactor) !== null && s !== void 0 ? s : 0.5), this.backoff = new We({
@@ -9301,17 +9301,17 @@ class Tn extends L {
9301
9301
  }
9302
9302
  }
9303
9303
  const Ze = {};
9304
- function Ct(t, e) {
9304
+ function xt(t, e) {
9305
9305
  typeof t == "object" && (e = t, t = void 0), e = e || {};
9306
9306
  const n = Fl(t, e.path || "/socket.io"), s = n.source, r = n.id, i = n.path, o = Ze[r] && i in Ze[r].nsps, a = e.forceNew || e["force new connection"] || e.multiplex === !1 || o;
9307
9307
  let u;
9308
9308
  return a ? u = new Tn(s, e) : (Ze[r] || (Ze[r] = new Tn(s, e)), u = Ze[r]), n.query && !e.query && (e.query = n.queryKey), u.socket(n.path, e);
9309
9309
  }
9310
- Object.assign(Ct, {
9310
+ Object.assign(xt, {
9311
9311
  Manager: Tn,
9312
9312
  Socket: Ri,
9313
- io: Ct,
9314
- connect: Ct
9313
+ io: xt,
9314
+ connect: xt
9315
9315
  });
9316
9316
  var Ii = /* @__PURE__ */ ((t) => (t.WEBCHAT = "webchat", t.CENTRAL = "central", t.WHATSAPP = "whatsapp", t.TELEGRAM = "telegram", t.SMS = "sms", t))(Ii || {});
9317
9317
  const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "title-chat" }, Xl = {
@@ -9358,15 +9358,15 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9358
9358
  function c(S) {
9359
9359
  var E;
9360
9360
  if (S.key === "Enter" && S.shiftKey) {
9361
- const F = ((E = S.target) == null ? void 0 : E.value) || "";
9362
- S.target.value = F + `
9361
+ const V = ((E = S.target) == null ? void 0 : E.value) || "";
9362
+ S.target.value = V + `
9363
9363
  `, _();
9364
9364
  return;
9365
9365
  }
9366
9366
  l();
9367
9367
  }
9368
9368
  const l = async (S) => {
9369
- var j, M, V;
9369
+ var j, M, B;
9370
9370
  if (((j = s.value) == null ? void 0 : j.length) > 300) {
9371
9371
  e("show-toast", {
9372
9372
  severity: "warn",
@@ -9387,7 +9387,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9387
9387
  }
9388
9388
  const E = {
9389
9389
  id: Ki(),
9390
- chatId: (V = (M = W.value) == null ? void 0 : M.chat) == null ? void 0 : V.id,
9390
+ chatId: (B = (M = W.value) == null ? void 0 : M.chat) == null ? void 0 : B.id,
9391
9391
  message: s.value,
9392
9392
  visto: !0,
9393
9393
  multimedia: !1,
@@ -9400,11 +9400,11 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9400
9400
  ci: n.user.ci,
9401
9401
  msPersonaId: n.user.msPersonaId
9402
9402
  }
9403
- }, F = i.value.data.push(E) - 1;
9403
+ }, V = i.value.data.push(E) - 1;
9404
9404
  h(s.value, o.value).then((ae) => {
9405
- var it, Hn;
9405
+ var ot, Hn;
9406
9406
  if (!ae)
9407
- i.value.data[F].error = {
9407
+ i.value.data[V].error = {
9408
9408
  error: !0,
9409
9409
  id: E.id
9410
9410
  }, e("show-toast", {
@@ -9414,11 +9414,11 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9414
9414
  life: 5e3
9415
9415
  });
9416
9416
  else {
9417
- i.value.data[F] = ae;
9417
+ i.value.data[V] = ae;
9418
9418
  const Di = { ...ae, chatId: E.chatId };
9419
9419
  (Hn = A.value) == null || Hn.emit(
9420
9420
  "sendMessage",
9421
- { roomId: (it = W == null ? void 0 : W.value) == null ? void 0 : it.appChat.id, message: Di },
9421
+ { roomId: (ot = W == null ? void 0 : W.value) == null ? void 0 : ot.appChat.id, message: Di },
9422
9422
  (Li) => {
9423
9423
  console.log("🚀 ~ socketService.value.emit ~ response:", Li);
9424
9424
  }
@@ -9430,21 +9430,21 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9430
9430
  message: S,
9431
9431
  appChatId: E
9432
9432
  }, n.tokenAuth), y = async () => {
9433
- var j, M, V;
9433
+ var j, M, B;
9434
9434
  const S = (j = i.value.data[0]) == null ? void 0 : j.id, E = {
9435
9435
  lastMessagesId: S,
9436
9436
  appChatId: o.value,
9437
9437
  limit: 10
9438
9438
  };
9439
9439
  a.value = !0;
9440
- const F = await Oa({ body: E, token: n.tokenAuth });
9440
+ const V = await Oa({ body: E, token: n.tokenAuth });
9441
9441
  a.value = !1, i.value.data.unshift(
9442
- ...F.data.sort((ae, it) => -it.createdAt.localeCompare(ae.createdAt))
9443
- ), i.value.canLoadMoreMessages = F.pagination.total > F.pagination.size, S && ((M = u.value) != null && M.scrollHeight) && w((V = u.value) == null ? void 0 : V.scrollHeight), S || d();
9442
+ ...V.data.sort((ae, ot) => -ot.createdAt.localeCompare(ae.createdAt))
9443
+ ), i.value.canLoadMoreMessages = V.pagination.total > V.pagination.size, S && ((M = u.value) != null && M.scrollHeight) && w((B = u.value) == null ? void 0 : B.scrollHeight), S || d();
9444
9444
  }, m = async (S) => {
9445
9445
  e("show-confirm", async () => {
9446
- var F, j, M;
9447
- if (!((F = S.error) != null && F.id)) return;
9446
+ var V, j, M;
9447
+ if (!((V = S.error) != null && V.id)) return;
9448
9448
  const E = await h(S.message, o.value);
9449
9449
  if (!E)
9450
9450
  e("show-toast", {
@@ -9454,12 +9454,12 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9454
9454
  life: 5e3
9455
9455
  });
9456
9456
  else {
9457
- const V = il(
9457
+ const B = il(
9458
9458
  i.value.data,
9459
9459
  "id",
9460
9460
  S.error.id
9461
9461
  );
9462
- i.value.data[V] = { ...E, error: void 0 }, (M = A.value) == null || M.emit(
9462
+ i.value.data[B] = { ...E, error: void 0 }, (M = A.value) == null || M.emit(
9463
9463
  "sendMessage",
9464
9464
  { roomId: (j = W == null ? void 0 : W.value) == null ? void 0 : j.appChat.id, message: S }
9465
9465
  );
@@ -9481,26 +9481,26 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9481
9481
  }
9482
9482
  const A = z(), W = z();
9483
9483
  function qe(S, E = Ii.WEBCHAT) {
9484
- var F, j;
9484
+ var V, j;
9485
9485
  if (!S) throw new Error("user chat is required");
9486
- A.value = Ct(window.VITE_SOCKET_URI, {
9486
+ A.value = xt(window.VITE_SOCKET_URI, {
9487
9487
  query: {
9488
9488
  // TODO: confirmar si se quita o no
9489
- usuarioId: `${(j = (F = S == null ? void 0 : S.chat) == null ? void 0 : F.persona) == null ? void 0 : j.funcionarioId}`,
9489
+ usuarioId: `${(j = (V = S == null ? void 0 : S.chat) == null ? void 0 : V.persona) == null ? void 0 : j.funcionarioId}`,
9490
9490
  aplicacion: E
9491
9491
  },
9492
9492
  extraHeaders: { Authorization: n.tokenAuth }
9493
9493
  }), A.value.removeAllListeners(), A.value.on("connect", () => {
9494
- var M, V;
9495
- console.log("Conectado al servidor de sockets"), (V = A.value) == null || V.emit(
9494
+ var M, B;
9495
+ console.log("Conectado al servidor de sockets"), (B = A.value) == null || B.emit(
9496
9496
  "joinRoom",
9497
9497
  `${(M = S == null ? void 0 : S.appChat) == null ? void 0 : M.id}`
9498
9498
  );
9499
9499
  }), A.value.on("disconnect", () => {
9500
9500
  console.log("Desconectado del servidor de sockets");
9501
9501
  }), A.value.on("receiveMessage", (M) => {
9502
- var V, ae;
9503
- console.log("Mensaje recibido:", M.message, S), M.message.sender.msPersonaId !== ((ae = (V = S == null ? void 0 : S.chat) == null ? void 0 : V.persona) == null ? void 0 : ae.msPersonaId) && (i.value.data.push(M.message), cs(M.message.appChatId, n.tokenAuth), d(), !n.visible && e("new-message"));
9502
+ var B, ae;
9503
+ console.log("Mensaje recibido:", M.message, S), M.message.sender.msPersonaId !== ((ae = (B = S == null ? void 0 : S.chat) == null ? void 0 : B.persona) == null ? void 0 : ae.msPersonaId) && (i.value.data.push(M.message), cs(M.message.appChatId, n.tokenAuth), d(), !n.visible && e("new-message"));
9504
9504
  });
9505
9505
  }
9506
9506
  return Ks(async () => {
@@ -9510,7 +9510,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9510
9510
  }), qi(() => {
9511
9511
  var S;
9512
9512
  (S = A.value) == null || S.off();
9513
- }), (S, E) => (B(), U("div", Jl, [
9513
+ }), (S, E) => (L(), $("div", Jl, [
9514
9514
  g("div", Gl, [
9515
9515
  g("h4", Kl, Nt(t.titlePrincipal), 1),
9516
9516
  g("button", {
@@ -9525,9 +9525,9 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9525
9525
  ref_key: "messageContainerRef",
9526
9526
  ref: u
9527
9527
  }, [
9528
- a.value ? (B(), U("div", Xl, [
9528
+ a.value ? (L(), $("div", Xl, [
9529
9529
  he(rl)
9530
- ])) : xt("", !0),
9530
+ ])) : Ge("", !0),
9531
9531
  he(Ku, {
9532
9532
  messages: i.value.data,
9533
9533
  canLoadMoreMessages: i.value.canLoadMoreMessages,
@@ -9543,7 +9543,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9543
9543
  g("div", tf, [
9544
9544
  g("div", nf, [
9545
9545
  an(g("textarea", {
9546
- "onUpdate:modelValue": E[1] || (E[1] = (F) => s.value = F),
9546
+ "onUpdate:modelValue": E[1] || (E[1] = (V) => s.value = V),
9547
9547
  class: "jl2-input-chat",
9548
9548
  required: "",
9549
9549
  ref_key: "textAreaRef",
@@ -9574,7 +9574,7 @@ const Jl = { class: "widget" }, Gl = { class: "header-widget" }, Kl = { class: "
9574
9574
  ff
9575
9575
  ];
9576
9576
  function df(t, e) {
9577
- return B(), U("svg", lf, hf);
9577
+ return L(), $("svg", lf, hf);
9578
9578
  }
9579
9579
  const mf = /* @__PURE__ */ oe(uf, [["render", df]]), pf = {}, yf = {
9580
9580
  viewBox: "0 0 256 256",
@@ -9603,9 +9603,9 @@ const mf = /* @__PURE__ */ oe(uf, [["render", df]]), pf = {}, yf = {
9603
9603
  gf
9604
9604
  ];
9605
9605
  function Sf(t, e) {
9606
- return B(), U("svg", yf, wf);
9606
+ return L(), $("svg", yf, wf);
9607
9607
  }
9608
- const vf = /* @__PURE__ */ oe(pf, [["render", Sf]]), bf = {}, kf = {
9608
+ const vf = /* @__PURE__ */ oe(pf, [["render", Sf]]), kf = {}, bf = {
9609
9609
  version: "1.1",
9610
9610
  id: "Capa_1",
9611
9611
  xmlns: "http://www.w3.org/2000/svg",
@@ -9643,9 +9643,9 @@ const vf = /* @__PURE__ */ oe(pf, [["render", Sf]]), bf = {}, kf = {
9643
9643
  Tf
9644
9644
  ];
9645
9645
  function Of(t, e) {
9646
- return B(), U("svg", kf, Ef);
9646
+ return L(), $("svg", bf, Ef);
9647
9647
  }
9648
- const Cf = /* @__PURE__ */ oe(bf, [["render", Of]]), xf = {}, Nf = {
9648
+ const Cf = /* @__PURE__ */ oe(kf, [["render", Of]]), xf = {}, Nf = {
9649
9649
  version: "1.1",
9650
9650
  id: "Capa_1",
9651
9651
  xmlns: "http://www.w3.org/2000/svg",
@@ -9682,7 +9682,7 @@ const Cf = /* @__PURE__ */ oe(bf, [["render", Of]]), xf = {}, Nf = {
9682
9682
  _f
9683
9683
  ];
9684
9684
  function Mf(t, e) {
9685
- return B(), U("svg", Nf, Af);
9685
+ return L(), $("svg", Nf, Af);
9686
9686
  }
9687
9687
  const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9688
9688
  id: "chat-circle",
@@ -9725,7 +9725,7 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9725
9725
  const r = z(!1), i = z(0), o = z(!1), a = () => {
9726
9726
  r.value = !r.value;
9727
9727
  };
9728
- return (u, c) => (B(), U("div", {
9728
+ return (u, c) => (L(), $("div", {
9729
9729
  class: Me(["widget-css-reset widget-container", t.isDarkMode ? "chat-dark-mode" : ""])
9730
9730
  }, [
9731
9731
  an(g("div", If, [
@@ -9761,18 +9761,19 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9761
9761
  he(Rf)
9762
9762
  ], 2)
9763
9763
  ], 2),
9764
- i.value ? (B(), U("div", Df, Nt(i.value > 9 ? "9+" : i.value), 1)) : xt("", !0),
9765
- g("a", {
9764
+ i.value ? (L(), $("div", Df, Nt(i.value > 9 ? "9+" : i.value), 1)) : Ge("", !0),
9765
+ n.tokenAuth.length > 10 ? (L(), $("a", {
9766
+ key: 1,
9766
9767
  href: "javascript:;",
9767
9768
  onClick: c[3] || (c[3] = (l) => n.tokenAuth.length > 10 && a())
9768
9769
  }, [
9769
9770
  he(mf)
9770
- ])
9771
+ ])) : Ge("", !0)
9771
9772
  ], 512), [
9772
9773
  [Jn, !r.value]
9773
9774
  ]),
9774
9775
  an(g("div", Lf, [
9775
- t.tokenAuth ? (B(), Zi(cf, {
9776
+ t.tokenAuth ? (L(), Zi(cf, {
9776
9777
  key: 0,
9777
9778
  visible: r.value,
9778
9779
  titlePrincipal: t.titlePrincipal,
@@ -9784,13 +9785,13 @@ const Rf = /* @__PURE__ */ oe(xf, [["render", Mf]]), If = {
9784
9785
  onClearNewMessages: c[6] || (c[6] = (l) => i.value = 0),
9785
9786
  onNewMessage: c[7] || (c[7] = () => i.value++),
9786
9787
  onNotViewedTotal: c[8] || (c[8] = (l) => i.value = l)
9787
- }, null, 8, ["visible", "titlePrincipal", "tokenAuth", "user"])) : xt("", !0)
9788
+ }, null, 8, ["visible", "titlePrincipal", "tokenAuth", "user"])) : Ge("", !0)
9788
9789
  ], 512), [
9789
9790
  [Jn, r.value]
9790
9791
  ])
9791
9792
  ], 2));
9792
9793
  }
9793
- }), Bf = /* @__PURE__ */ oe(Ff, [["__scopeId", "data-v-ca19c81b"]]), $f = {
9794
+ }), Bf = /* @__PURE__ */ oe(Ff, [["__scopeId", "data-v-26d282c6"]]), $f = {
9794
9795
  install(t, e) {
9795
9796
  window.VITE_BACKEND_URL = e.VITE_BACKEND_URL, window.VITE_SOCKET_URI = e.VITE_SOCKET_URI, window.VITE_CELLPHONE_NUMBERS = e.VITE_CELLPHONE_NUMBERS;
9796
9797
  }