vue-wiguet-chatweb 0.1.41 → 0.1.42

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.
@@ -1,4 +1,4 @@
1
- import { createElementBlock as I, openBlock as A, createElementVNode as T, unref as Fe, getCurrentScope as bo, onScopeDispose as To, computed as ts, ref as U, watch as ns, getCurrentInstance as So, onMounted as ss, defineComponent as tn, onBeforeMount as ko, Fragment as dt, renderList as Fn, normalizeClass as Ve, createCommentVNode as ke, createVNode as le, toDisplayString as Ye, createBlock as rs, Teleport as Eo, withModifiers as Ce, renderSlot as Oo, nextTick as ot, reactive as _o, onUnmounted as Co, withDirectives as Yt, withKeys as _t, vModelText as Ss, normalizeProps as xo, guardReactiveProps as No, withCtx as Ao, createStaticVNode as Ro, vShow as ks } from "vue";
1
+ import { createElementBlock as I, openBlock as A, createElementVNode as T, unref as Fe, getCurrentScope as bo, onScopeDispose as To, computed as ts, ref as U, watch as ns, getCurrentInstance as So, onMounted as ss, defineComponent as tn, onBeforeMount as ko, Fragment as dt, renderList as Fn, normalizeClass as Be, createCommentVNode as ke, createVNode as le, toDisplayString as Ye, createBlock as rs, Teleport as Eo, withModifiers as Ce, renderSlot as Oo, nextTick as ot, reactive as _o, onUnmounted as Co, withDirectives as Yt, withKeys as _t, vModelText as Ss, normalizeProps as xo, guardReactiveProps as No, withCtx as Ao, createStaticVNode as Ro, vShow as ks } from "vue";
2
2
  let Ct;
3
3
  const Io = new Uint8Array(16);
4
4
  function Mo() {
@@ -27,7 +27,7 @@ const ie = (t, e) => {
27
27
  for (const [s, r] of e)
28
28
  n[s] = r;
29
29
  return n;
30
- }, Vo = {}, Bo = {
30
+ }, Bo = {}, Vo = {
31
31
  width: "32",
32
32
  height: "32",
33
33
  viewBox: "0 0 32 32",
@@ -35,7 +35,7 @@ const ie = (t, e) => {
35
35
  xmlns: "http://www.w3.org/2000/svg"
36
36
  };
37
37
  function Uo(t, e) {
38
- return A(), I("svg", Bo, e[0] || (e[0] = [
38
+ return A(), I("svg", Vo, e[0] || (e[0] = [
39
39
  T("path", {
40
40
  d: "M16 31C24.2843 31 31 24.2843 31 16C31 7.71573 24.2843 1 16 1C7.71573 1 1 7.71573 1 16C1 24.2843 7.71573 31 16 31Z",
41
41
  stroke: "#B3B3B3",
@@ -47,7 +47,7 @@ function Uo(t, e) {
47
47
  }, null, -1)
48
48
  ]));
49
49
  }
50
- const Cr = /* @__PURE__ */ ie(Vo, [["render", Uo]]), $o = {}, Po = {
50
+ const Cr = /* @__PURE__ */ ie(Bo, [["render", Uo]]), $o = {}, Po = {
51
51
  xmlns: "http://www.w3.org/2000/svg",
52
52
  viewBox: "0 0 512 512"
53
53
  };
@@ -110,11 +110,11 @@ function Rr(t, e) {
110
110
  return r;
111
111
  return null;
112
112
  }
113
- const Be = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ir = (t) => !pt(t) && t !== Be;
114
- function Vn() {
113
+ const Ve = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ir = (t) => !pt(t) && t !== Ve;
114
+ function Bn() {
115
115
  const { caseless: t } = Ir(this) && this || {}, e = {}, n = (s, r) => {
116
116
  const i = t && Rr(e, r) || r;
117
- Ft(e[i]) && Ft(s) ? e[i] = Vn(e[i], s) : Ft(s) ? e[i] = Vn({}, s) : Xe(s) ? e[i] = s.slice() : e[i] = s;
117
+ Ft(e[i]) && Ft(s) ? e[i] = Bn(e[i], s) : Ft(s) ? e[i] = Bn({}, s) : Xe(s) ? e[i] = s.slice() : e[i] = s;
118
118
  };
119
119
  for (let s = 0, r = arguments.length; s < r; s++)
120
120
  arguments[s] && gt(arguments[s], n);
@@ -227,14 +227,14 @@ const E2 = (t) => {
227
227
  return s;
228
228
  };
229
229
  return n(t, 0);
230
- }, O2 = we("AsyncFunction"), _2 = (t) => t && (rn(t) || se(t)) && se(t.then) && se(t.catch), Lr = ((t, e) => t ? setImmediate : e ? ((n, s) => (Be.addEventListener("message", ({ source: r, data: i }) => {
231
- r === Be && i === n && s.length && s.shift()();
230
+ }, O2 = we("AsyncFunction"), _2 = (t) => t && (rn(t) || se(t)) && se(t.then) && se(t.catch), Lr = ((t, e) => t ? setImmediate : e ? ((n, s) => (Ve.addEventListener("message", ({ source: r, data: i }) => {
231
+ r === Ve && i === n && s.length && s.shift()();
232
232
  }, !1), (r) => {
233
- s.push(r), Be.postMessage(n, "*");
233
+ s.push(r), Ve.postMessage(n, "*");
234
234
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
235
235
  typeof setImmediate == "function",
236
- se(Be.postMessage)
237
- ), C2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Be) : typeof process < "u" && process.nextTick || Lr, h = {
236
+ se(Ve.postMessage)
237
+ ), C2 = typeof queueMicrotask < "u" ? queueMicrotask.bind(Ve) : typeof process < "u" && process.nextTick || Lr, h = {
238
238
  isArray: Xe,
239
239
  isArrayBuffer: Nr,
240
240
  isBuffer: zo,
@@ -260,7 +260,7 @@ const E2 = (t) => {
260
260
  isTypedArray: h2,
261
261
  isFileList: Ko,
262
262
  forEach: gt,
263
- merge: Vn,
263
+ merge: Bn,
264
264
  extend: o2,
265
265
  trim: i2,
266
266
  stripBOM: a2,
@@ -283,7 +283,7 @@ const E2 = (t) => {
283
283
  noop: b2,
284
284
  toFiniteNumber: T2,
285
285
  findKey: Rr,
286
- global: Be,
286
+ global: Ve,
287
287
  isContextDefined: Ir,
288
288
  ALPHABET: Dr,
289
289
  generateString: S2,
@@ -318,7 +318,7 @@ h.inherits(_, Error, {
318
318
  };
319
319
  }
320
320
  });
321
- const Fr = _.prototype, Vr = {};
321
+ const Fr = _.prototype, Br = {};
322
322
  [
323
323
  "ERR_BAD_OPTION_VALUE",
324
324
  "ERR_BAD_OPTION",
@@ -334,9 +334,9 @@ const Fr = _.prototype, Vr = {};
334
334
  "ERR_INVALID_URL"
335
335
  // eslint-disable-next-line func-names
336
336
  ].forEach((t) => {
337
- Vr[t] = { value: t };
337
+ Br[t] = { value: t };
338
338
  });
339
- Object.defineProperties(_, Vr);
339
+ Object.defineProperties(_, Br);
340
340
  Object.defineProperty(Fr, "isAxiosError", { value: !0 });
341
341
  _.from = (t, e, n, s, r, i) => {
342
342
  const o = Object.create(Fr);
@@ -345,19 +345,19 @@ _.from = (t, e, n, s, r, i) => {
345
345
  }, (a) => a !== "isAxiosError"), _.call(o, t.message, e, n, s, r), o.cause = t, o.name = t.name, i && Object.assign(o, i), o;
346
346
  };
347
347
  const x2 = null;
348
- function Bn(t) {
348
+ function Vn(t) {
349
349
  return h.isPlainObject(t) || h.isArray(t);
350
350
  }
351
- function Br(t) {
351
+ function Vr(t) {
352
352
  return h.endsWith(t, "[]") ? t.slice(0, -2) : t;
353
353
  }
354
354
  function xs(t, e, n) {
355
355
  return t ? t.concat(e).map(function(r, i) {
356
- return r = Br(r), !n && i ? "[" + r + "]" : r;
356
+ return r = Vr(r), !n && i ? "[" + r + "]" : r;
357
357
  }).join(n ? "." : "") : e;
358
358
  }
359
359
  function N2(t) {
360
- return h.isArray(t) && !t.some(Bn);
360
+ return h.isArray(t) && !t.some(Vn);
361
361
  }
362
362
  const A2 = h.toFlatObject(h, {}, null, function(e) {
363
363
  return /^is[A-Z]/.test(e);
@@ -389,20 +389,20 @@ function on(t, e, n) {
389
389
  if (h.endsWith(S, "{}"))
390
390
  S = s ? S : S.slice(0, -2), d = JSON.stringify(d);
391
391
  else if (h.isArray(d) && N2(d) || (h.isFileList(d) || h.endsWith(S, "[]")) && (O = h.toArray(d)))
392
- return S = Br(S), O.forEach(function(V, te) {
393
- !(h.isUndefined(V) || V === null) && e.append(
392
+ return S = Vr(S), O.forEach(function(B, te) {
393
+ !(h.isUndefined(B) || B === null) && e.append(
394
394
  // eslint-disable-next-line no-nested-ternary
395
395
  o === !0 ? xs([S], te, i) : o === null ? S : S + "[]",
396
- u(V)
396
+ u(B)
397
397
  );
398
398
  }), !1;
399
399
  }
400
- return Bn(d) ? !0 : (e.append(xs(w, S, i), u(d)), !1);
400
+ return Vn(d) ? !0 : (e.append(xs(w, S, i), u(d)), !1);
401
401
  }
402
402
  const f = [], y = Object.assign(A2, {
403
403
  defaultVisitor: c,
404
404
  convertValue: u,
405
- isVisitable: Bn
405
+ isVisitable: Vn
406
406
  });
407
407
  function g(d, S) {
408
408
  if (!h.isUndefined(d)) {
@@ -536,14 +536,14 @@ const Pr = {
536
536
  Blob: D2
537
537
  },
538
538
  protocols: ["http", "https", "file", "blob", "url", "data"]
539
- }, as = typeof window < "u" && typeof document < "u", Un = typeof navigator == "object" && navigator || void 0, F2 = as && (!Un || ["ReactNative", "NativeScript", "NS"].indexOf(Un.product) < 0), V2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
540
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", B2 = as && window.location.href || "http://localhost", U2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
539
+ }, as = typeof window < "u" && typeof document < "u", Un = typeof navigator == "object" && navigator || void 0, F2 = as && (!Un || ["ReactNative", "NativeScript", "NS"].indexOf(Un.product) < 0), B2 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
540
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", V2 = as && window.location.href || "http://localhost", U2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
541
541
  __proto__: null,
542
542
  hasBrowserEnv: as,
543
543
  hasStandardBrowserEnv: F2,
544
- hasStandardBrowserWebWorkerEnv: V2,
544
+ hasStandardBrowserWebWorkerEnv: B2,
545
545
  navigator: Un,
546
- origin: B2
546
+ origin: V2
547
547
  }, Symbol.toStringTag, { value: "Module" })), G = {
548
548
  ...U2,
549
549
  ...L2
@@ -690,8 +690,8 @@ const z2 = h.toObjectSet([
690
690
  function at(t) {
691
691
  return t && String(t).trim().toLowerCase();
692
692
  }
693
- function Vt(t) {
694
- return t === !1 || t == null ? t : h.isArray(t) ? t.map(Vt) : String(t);
693
+ function Bt(t) {
694
+ return t === !1 || t == null ? t : h.isArray(t) ? t.map(Bt) : String(t);
695
695
  }
696
696
  function Z2(t) {
697
697
  const e = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -736,7 +736,7 @@ let ee = class {
736
736
  if (!c)
737
737
  throw new Error("header name must be a non-empty string");
738
738
  const f = h.findKey(r, c);
739
- (!f || r[f] === void 0 || u === !0 || u === void 0 && r[f] !== !1) && (r[f || l] = Vt(a));
739
+ (!f || r[f] === void 0 || u === !0 || u === void 0 && r[f] !== !1) && (r[f || l] = Bt(a));
740
740
  }
741
741
  const o = (a, l) => h.forEach(a, (u, c) => i(u, c, l));
742
742
  if (h.isPlainObject(e) || e instanceof this.constructor)
@@ -799,11 +799,11 @@ let ee = class {
799
799
  return h.forEach(this, (r, i) => {
800
800
  const o = h.findKey(s, i);
801
801
  if (o) {
802
- n[o] = Vt(r), delete n[i];
802
+ n[o] = Bt(r), delete n[i];
803
803
  return;
804
804
  }
805
805
  const a = e ? Y2(i) : String(i).trim();
806
- a !== i && delete n[i], n[a] = Vt(r), s[a] = !0;
806
+ a !== i && delete n[i], n[a] = Bt(r), s[a] = !0;
807
807
  }), this;
808
808
  }
809
809
  concat(...e) {
@@ -1077,20 +1077,20 @@ const Zr = (t) => {
1077
1077
  function O() {
1078
1078
  if (!w)
1079
1079
  return;
1080
- const V = ee.from(
1080
+ const B = ee.from(
1081
1081
  "getAllResponseHeaders" in w && w.getAllResponseHeaders()
1082
1082
  ), $ = {
1083
1083
  data: !a || a === "text" || a === "json" ? w.responseText : w.response,
1084
1084
  status: w.status,
1085
1085
  statusText: w.statusText,
1086
- headers: V,
1086
+ headers: B,
1087
1087
  config: t,
1088
1088
  request: w
1089
1089
  };
1090
- zr(function(B) {
1091
- n(B), S();
1092
- }, function(B) {
1093
- s(B), S();
1090
+ zr(function(V) {
1091
+ n(V), S();
1092
+ }, function(V) {
1093
+ s(V), S();
1094
1094
  }, $), w = null;
1095
1095
  }
1096
1096
  "onloadend" in w ? w.onloadend = O : w.onreadystatechange = function() {
@@ -1110,8 +1110,8 @@ const Zr = (t) => {
1110
1110
  )), w = null;
1111
1111
  }, i === void 0 && o.setContentType(null), "setRequestHeader" in w && h.forEach(o.toJSON(), function(te, $) {
1112
1112
  w.setRequestHeader($, te);
1113
- }), h.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), a && a !== "json" && (w.responseType = r.responseType), u && ([y, d] = Jt(u, !0), w.addEventListener("progress", y)), l && w.upload && ([f, g] = Jt(l), w.upload.addEventListener("progress", f), w.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (c = (V) => {
1114
- w && (s(!V || V.type ? new et(null, t, w) : V), w.abort(), w = null);
1113
+ }), h.isUndefined(r.withCredentials) || (w.withCredentials = !!r.withCredentials), a && a !== "json" && (w.responseType = r.responseType), u && ([y, d] = Jt(u, !0), w.addEventListener("progress", y)), l && w.upload && ([f, g] = Jt(l), w.upload.addEventListener("progress", f), w.upload.addEventListener("loadend", g)), (r.cancelToken || r.signal) && (c = (B) => {
1114
+ w && (s(!B || B.type ? new et(null, t, w) : B), w.abort(), w = null);
1115
1115
  }, r.cancelToken && r.cancelToken.subscribe(c), r.signal && (r.signal.aborted ? c() : r.signal.addEventListener("abort", c)));
1116
1116
  const C = G2(r.url);
1117
1117
  if (C && G.protocols.indexOf(C) === -1) {
@@ -1272,11 +1272,11 @@ const fa = async (t) => {
1272
1272
  duplex: "half"
1273
1273
  }), oe;
1274
1274
  if (h.isFormData(s) && (oe = $.headers.get("content-type")) && c.setContentType(oe), $.body) {
1275
- const [B, he] = Is(
1275
+ const [V, he] = Is(
1276
1276
  w,
1277
1277
  Jt(Ms(l))
1278
1278
  );
1279
- s = Ls($.body, Fs, B, he);
1279
+ s = Ls($.body, Fs, V, he);
1280
1280
  }
1281
1281
  }
1282
1282
  h.isString(f) || (f = f ? "include" : "omit");
@@ -1291,18 +1291,18 @@ const fa = async (t) => {
1291
1291
  credentials: O ? f : void 0
1292
1292
  });
1293
1293
  let C = await fetch(d);
1294
- const V = $n && (u === "stream" || u === "response");
1295
- if ($n && (a || V && S)) {
1294
+ const B = $n && (u === "stream" || u === "response");
1295
+ if ($n && (a || B && S)) {
1296
1296
  const $ = {};
1297
1297
  ["status", "statusText", "headers"].forEach((Z) => {
1298
1298
  $[Z] = C[Z];
1299
1299
  });
1300
- const oe = h.toFiniteNumber(C.headers.get("content-length")), [B, he] = a && Is(
1300
+ const oe = h.toFiniteNumber(C.headers.get("content-length")), [V, he] = a && Is(
1301
1301
  oe,
1302
1302
  Jt(Ms(a), !0)
1303
1303
  ) || [];
1304
1304
  C = new Response(
1305
- Ls(C.body, Fs, B, () => {
1305
+ Ls(C.body, Fs, V, () => {
1306
1306
  he && he(), S && S();
1307
1307
  }),
1308
1308
  $
@@ -1310,7 +1310,7 @@ const fa = async (t) => {
1310
1310
  }
1311
1311
  u = u || "text";
1312
1312
  let te = await Gt[h.findKey(Gt, u) || "text"](C, t);
1313
- return !V && S && S(), await new Promise(($, oe) => {
1313
+ return !B && S && S(), await new Promise(($, oe) => {
1314
1314
  zr($, oe, {
1315
1315
  data: te,
1316
1316
  headers: ee.from(C.headers),
@@ -1342,7 +1342,7 @@ h.forEach(Pn, (t, e) => {
1342
1342
  Object.defineProperty(t, "adapterName", { value: e });
1343
1343
  }
1344
1344
  });
1345
- const Vs = (t) => `- ${t}`, ma = (t) => h.isFunction(t) || t === null || t === !1, Jr = {
1345
+ const Bs = (t) => `- ${t}`, ma = (t) => h.isFunction(t) || t === null || t === !1, Jr = {
1346
1346
  getAdapter: (t) => {
1347
1347
  t = h.isArray(t) ? t : [t];
1348
1348
  const { length: e } = t;
@@ -1362,8 +1362,8 @@ const Vs = (t) => `- ${t}`, ma = (t) => h.isFunction(t) || t === null || t === !
1362
1362
  ([a, l]) => `adapter ${a} ` + (l === !1 ? "is not supported by the environment" : "is not available in the build")
1363
1363
  );
1364
1364
  let o = e ? i.length > 1 ? `since :
1365
- ` + i.map(Vs).join(`
1366
- `) : " " + Vs(i[0]) : "as no adapter specified";
1365
+ ` + i.map(Bs).join(`
1366
+ `) : " " + Bs(i[0]) : "as no adapter specified";
1367
1367
  throw new _(
1368
1368
  "There is no suitable adapter to dispatch the request " + o,
1369
1369
  "ERR_NOT_SUPPORT"
@@ -1377,7 +1377,7 @@ function Sn(t) {
1377
1377
  if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
1378
1378
  throw new et(null, t);
1379
1379
  }
1380
- function Bs(t) {
1380
+ function Vs(t) {
1381
1381
  return Sn(t), t.headers = ee.from(t.headers), t.data = Tn.call(
1382
1382
  t,
1383
1383
  t.transformRequest
@@ -1440,10 +1440,10 @@ function pa(t, e, n) {
1440
1440
  throw new _("Unknown option " + i, _.ERR_BAD_OPTION);
1441
1441
  }
1442
1442
  }
1443
- const Bt = {
1443
+ const Vt = {
1444
1444
  assertOptions: pa,
1445
1445
  validators: ln
1446
- }, be = Bt.validators;
1446
+ }, be = Vt.validators;
1447
1447
  let $e = class {
1448
1448
  constructor(e) {
1449
1449
  this.defaults = e, this.interceptors = {
@@ -1479,16 +1479,16 @@ let $e = class {
1479
1479
  _request(e, n) {
1480
1480
  typeof e == "string" ? (n = n || {}, n.url = e) : n = e || {}, n = Pe(this.defaults, n);
1481
1481
  const { transitional: s, paramsSerializer: r, headers: i } = n;
1482
- s !== void 0 && Bt.assertOptions(s, {
1482
+ s !== void 0 && Vt.assertOptions(s, {
1483
1483
  silentJSONParsing: be.transitional(be.boolean),
1484
1484
  forcedJSONParsing: be.transitional(be.boolean),
1485
1485
  clarifyTimeoutError: be.transitional(be.boolean)
1486
1486
  }, !1), r != null && (h.isFunction(r) ? n.paramsSerializer = {
1487
1487
  serialize: r
1488
- } : Bt.assertOptions(r, {
1488
+ } : Vt.assertOptions(r, {
1489
1489
  encode: be.function,
1490
1490
  serialize: be.function
1491
- }, !0)), Bt.assertOptions(n, {
1491
+ }, !0)), Vt.assertOptions(n, {
1492
1492
  baseUrl: be.spelling("baseURL"),
1493
1493
  withXsrfToken: be.spelling("withXSRFToken")
1494
1494
  }, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
@@ -1513,7 +1513,7 @@ let $e = class {
1513
1513
  });
1514
1514
  let c, f = 0, y;
1515
1515
  if (!l) {
1516
- const d = [Bs.bind(this), void 0];
1516
+ const d = [Vs.bind(this), void 0];
1517
1517
  for (d.unshift.apply(d, a), d.push.apply(d, u), y = d.length, c = Promise.resolve(n); f < y; )
1518
1518
  c = c.then(d[f++], d[f++]);
1519
1519
  return c;
@@ -1530,7 +1530,7 @@ let $e = class {
1530
1530
  }
1531
1531
  }
1532
1532
  try {
1533
- c = Bs.call(this, g);
1533
+ c = Vs.call(this, g);
1534
1534
  } catch (d) {
1535
1535
  return Promise.reject(d);
1536
1536
  }
@@ -1761,7 +1761,7 @@ const {
1761
1761
  getAdapter: p1,
1762
1762
  mergeConfig: y1
1763
1763
  } = W, vt = async function(t) {
1764
- const e = t, n = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "http://127.0.0.1:3000", s = {
1764
+ const e = t, n = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "http://127.0.0.1:3111", s = {
1765
1765
  method: e.method,
1766
1766
  url: `${n}${e.url}`,
1767
1767
  headers: {
@@ -1825,9 +1825,7 @@ async function $s(t) {
1825
1825
  async function Ps(t, e) {
1826
1826
  var i;
1827
1827
  const n = {
1828
- esCliente: !0,
1829
- totalNoVistos: 0,
1830
- totalNoVistosCliente: 0
1828
+ esCliente: !0
1831
1829
  }, s = {
1832
1830
  url: `/v1/app-chats/update-vistos/${t}`,
1833
1831
  method: "PATCH",
@@ -2229,7 +2227,7 @@ function Fa(t, e) {
2229
2227
  const n = t.format(e).replace(/\u200E/g, ""), s = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n), [, r, i, o, a, l, u, c] = s;
2230
2228
  return [o, r, i, a, l, u, c];
2231
2229
  }
2232
- function Va(t, e) {
2230
+ function Ba(t, e) {
2233
2231
  const n = t.formatToParts(e), s = [];
2234
2232
  for (let r = 0; r < n.length; r++) {
2235
2233
  const { type: i, value: o } = n[r], a = La[i];
@@ -2342,7 +2340,7 @@ class Ee extends bt {
2342
2340
  const n = new Date(e);
2343
2341
  if (isNaN(n)) return NaN;
2344
2342
  const s = Da(this.name);
2345
- let [r, i, o, a, l, u, c] = s.formatToParts ? Va(s, n) : Fa(s, n);
2343
+ let [r, i, o, a, l, u, c] = s.formatToParts ? Ba(s, n) : Fa(s, n);
2346
2344
  a === "BC" && (r = -Math.abs(r) + 1);
2347
2345
  const y = fn({
2348
2346
  year: r,
@@ -2376,7 +2374,7 @@ class Ee extends bt {
2376
2374
  }
2377
2375
  }
2378
2376
  let qs = {};
2379
- function Ba(t, e = {}) {
2377
+ function Va(t, e = {}) {
2380
2378
  const n = JSON.stringify([t, e]);
2381
2379
  let s = qs[n];
2382
2380
  return s || (s = new Intl.ListFormat(t, e), qs[n] = s), s;
@@ -2625,7 +2623,7 @@ class F {
2625
2623
  return new Ga(this.intl, this.isEnglish(), e);
2626
2624
  }
2627
2625
  listFormatter(e = {}) {
2628
- return Ba(this.intl, e);
2626
+ return Va(this.intl, e);
2629
2627
  }
2630
2628
  isEnglish() {
2631
2629
  return this.locale === "en" || this.locale.toLowerCase() === "en-us" || new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us");
@@ -3634,7 +3632,7 @@ class K {
3634
3632
  return rr(i, r(a));
3635
3633
  }
3636
3634
  }
3637
- const Vi = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
3635
+ const Bi = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
3638
3636
  function tt(...t) {
3639
3637
  const e = t.reduce((n, s) => n + s.source, "");
3640
3638
  return RegExp(`^${e}$`);
@@ -3658,7 +3656,7 @@ function st(t, ...e) {
3658
3656
  }
3659
3657
  return [null, null];
3660
3658
  }
3661
- function Bi(...t) {
3659
+ function Vi(...t) {
3662
3660
  return (e, n) => {
3663
3661
  const s = {};
3664
3662
  let r;
@@ -3667,8 +3665,8 @@ function Bi(...t) {
3667
3665
  return [s, null, n + r];
3668
3666
  };
3669
3667
  }
3670
- const Ui = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, T0 = `(?:${Ui.source}?(?:\\[(${Vi.source})\\])?)?`, ds = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, $i = RegExp(`${ds.source}${T0}`), ms = RegExp(`(?:T${$i.source})?`), S0 = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, k0 = /(\d{4})-?W(\d\d)(?:-?(\d))?/, E0 = /(\d{4})-?(\d{3})/, O0 = Bi("weekYear", "weekNumber", "weekDay"), _0 = Bi("year", "ordinal"), C0 = /(\d{4})-(\d\d)-(\d\d)/, Pi = RegExp(
3671
- `${ds.source} ?(?:${Ui.source}|(${Vi.source}))?`
3668
+ const Ui = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, T0 = `(?:${Ui.source}?(?:\\[(${Bi.source})\\])?)?`, ds = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, $i = RegExp(`${ds.source}${T0}`), ms = RegExp(`(?:T${$i.source})?`), S0 = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, k0 = /(\d{4})-?W(\d\d)(?:-?(\d))?/, E0 = /(\d{4})-?(\d{3})/, O0 = Vi("weekYear", "weekNumber", "weekDay"), _0 = Vi("year", "ordinal"), C0 = /(\d{4})-(\d\d)-(\d\d)/, Pi = RegExp(
3669
+ `${ds.source} ?(?:${Ui.source}|(${Bi.source}))?`
3672
3670
  ), x0 = RegExp(`(?: ${Pi.source})?`);
3673
3671
  function Ge(t, e, n) {
3674
3672
  const s = t[e];
@@ -3756,7 +3754,7 @@ function L0(t) {
3756
3754
  function F0(t) {
3757
3755
  return t.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
3758
3756
  }
3759
- const V0 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, B0 = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, U0 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
3757
+ const B0 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, V0 = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, U0 = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
3760
3758
  function ir(t) {
3761
3759
  const [, e, n, s, r, i, o, a] = t;
3762
3760
  return [ps(e, r, s, n, i, o, a), Q.utcInstance];
@@ -3800,8 +3798,8 @@ function J0(t) {
3800
3798
  function G0(t) {
3801
3799
  return st(
3802
3800
  t,
3803
- [V0, ir],
3804
3801
  [B0, ir],
3802
+ [V0, ir],
3805
3803
  [U0, $0]
3806
3804
  );
3807
3805
  }
@@ -5907,16 +5905,16 @@ class k {
5907
5905
  const S = d || i.weekday && !g;
5908
5906
  let w, O, C = It(l, u);
5909
5907
  S ? (w = Cl, O = Ol, C = Qt(C, o, a)) : c ? (w = xl, O = _l, C = Cn(C)) : (w = Xi, O = Qi);
5910
- let V = !1;
5908
+ let B = !1;
5911
5909
  for (const X of w) {
5912
5910
  const yn = i[X];
5913
- E(yn) ? V ? i[X] = O[X] : i[X] = C[X] : V = !0;
5911
+ E(yn) ? B ? i[X] = O[X] : i[X] = C[X] : B = !0;
5914
5912
  }
5915
5913
  const te = S ? n0(i, o, a) : c ? s0(i) : Ei(i), $ = te || Oi(i);
5916
5914
  if ($)
5917
5915
  return k.invalid($);
5918
- const oe = S ? Xs(i, o, a) : c ? er(i) : i, [B, he] = $t(oe, u, s), Z = new k({
5919
- ts: B,
5916
+ const oe = S ? Xs(i, o, a) : c ? er(i) : i, [V, he] = $t(oe, u, s), Z = new k({
5917
+ ts: V,
5920
5918
  zone: s,
5921
5919
  o: he,
5922
5920
  loc: r
@@ -7296,10 +7294,10 @@ const Dl = /* @__PURE__ */ ie(Rl, [["render", Ml]]), gr = "data:image/svg+xml,%3
7296
7294
  AUDIO: 3,
7297
7295
  VIDEO: 4,
7298
7296
  NINGUNO: 0
7299
- }, Ll = { class: "messages-container-list" }, Fl = { class: "message-container" }, Vl = {
7297
+ }, Ll = { class: "messages-container-list" }, Fl = { class: "message-container" }, Bl = {
7300
7298
  key: 0,
7301
7299
  class: "btn-container-widget"
7302
- }, Bl = ["onClick"], Ul = { class: "chat-message" }, $l = {
7300
+ }, Vl = ["onClick"], Ul = { class: "chat-message" }, $l = {
7303
7301
  key: 0,
7304
7302
  class: "flex flex-col gap-2"
7305
7303
  }, Pl = {
@@ -7387,10 +7385,10 @@ const Dl = /* @__PURE__ */ ie(Rl, [["render", Ml]]), gr = "data:image/svg+xml,%3
7387
7385
  var S, w, O;
7388
7386
  return A(), I("div", {
7389
7387
  key: d.id,
7390
- class: Ve(["message", d.esCliente ? "message-right" : "message-left"])
7388
+ class: Be(["message", d.esCliente ? "message-right" : "message-left"])
7391
7389
  }, [
7392
7390
  T("div", Fl, [
7393
- d.error && d.esCliente ? (A(), I("div", Vl, [
7391
+ d.error && d.esCliente ? (A(), I("div", Bl, [
7394
7392
  T("button", {
7395
7393
  text: "",
7396
7394
  rounded: "",
@@ -7400,14 +7398,14 @@ const Dl = /* @__PURE__ */ ie(Rl, [["render", Ml]]), gr = "data:image/svg+xml,%3
7400
7398
  onClick: (C) => n("retry", d)
7401
7399
  }, [
7402
7400
  le(Dl)
7403
- ], 8, Bl)
7401
+ ], 8, Vl)
7404
7402
  ])) : ke("", !0),
7405
7403
  T("div", Ul, [
7406
7404
  T("div", {
7407
- class: Ve(["bubble", d.esCliente ? "right" : "left"])
7405
+ class: Be(["bubble", d.esCliente ? "right" : "left"])
7408
7406
  }, [
7409
7407
  T("div", {
7410
- class: Ve(d.esCliente ? "content-right" : "content-left")
7408
+ class: Be(d.esCliente ? "content-right" : "content-left")
7411
7409
  }, [
7412
7410
  d.message === "😊😄🙂😐🙁" ? (A(), I("div", $l, [
7413
7411
  g[0] || (g[0] = T("div", { class: "mb-2" }, [
@@ -7418,8 +7416,8 @@ const Dl = /* @__PURE__ */ ie(Rl, [["render", Ml]]), gr = "data:image/svg+xml,%3
7418
7416
  (A(), I(dt, null, Fn(c, (C) => T("a", {
7419
7417
  key: C.value,
7420
7418
  href: d.response ? void 0 : "javascript:",
7421
- class: Ve(["btn-icon", { "content-disabled": !a(d, C) }]),
7422
- onClick: (V) => !d.response && n("onQualifying", { message: d, emoji: C })
7419
+ class: Be(["btn-icon", { "content-disabled": !a(d, C) }]),
7420
+ onClick: (B) => !d.response && n("onQualifying", { message: d, emoji: C })
7423
7421
  }, [
7424
7422
  T("div", Wl, [
7425
7423
  T("img", {
@@ -8246,7 +8244,7 @@ const Lu = {
8246
8244
  websocket: Mu,
8247
8245
  webtransport: Du,
8248
8246
  polling: Ru
8249
- }, Fu = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Vu = [
8247
+ }, Fu = /^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/, Bu = [
8250
8248
  "source",
8251
8249
  "protocol",
8252
8250
  "authority",
@@ -8269,10 +8267,10 @@ function Gn(t) {
8269
8267
  n != -1 && s != -1 && (t = t.substring(0, n) + t.substring(n, s).replace(/:/g, ";") + t.substring(s, t.length));
8270
8268
  let r = Fu.exec(t || ""), i = {}, o = 14;
8271
8269
  for (; o--; )
8272
- i[Vu[o]] = r[o] || "";
8273
- return n != -1 && s != -1 && (i.source = e, i.host = i.host.substring(1, i.host.length - 1).replace(/;/g, ":"), i.authority = i.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), i.ipv6uri = !0), i.pathNames = Bu(i, i.path), i.queryKey = Uu(i, i.query), i;
8270
+ i[Bu[o]] = r[o] || "";
8271
+ return n != -1 && s != -1 && (i.source = e, i.host = i.host.substring(1, i.host.length - 1).replace(/;/g, ":"), i.authority = i.authority.replace("[", "").replace("]", "").replace(/;/g, ":"), i.ipv6uri = !0), i.pathNames = Vu(i, i.path), i.queryKey = Uu(i, i.query), i;
8274
8272
  }
8275
- function Bu(t, e) {
8273
+ function Vu(t, e) {
8276
8274
  const n = /\/{2,9}/g, s = e.replace(n, "/").split("/");
8277
8275
  return (e.slice(0, 1) == "/" || e.length === 0) && s.splice(0, 1), e.slice(-1) == "/" && s.splice(s.length - 1, 1), s;
8278
8276
  }
@@ -10057,14 +10055,14 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10057
10055
  console.log("🚀 ~ socketService.value.emit ~ response:", Ot);
10058
10056
  }
10059
10057
  ));
10060
- }), n.value = "", $(), B.value && (B.value.style.height = "20px");
10058
+ }), n.value = "", $(), V.value && (V.value.style.height = "20px");
10061
10059
  }, C = async (p) => {
10062
10060
  const m = {
10063
10061
  ...p,
10064
10062
  esCliente: !0
10065
10063
  };
10066
10064
  return ba(m, y.tokenAuth);
10067
- }, V = async () => {
10065
+ }, B = async () => {
10068
10066
  var x, N, L;
10069
10067
  const p = (x = l.value.data[0]) == null ? void 0 : x.id, m = {
10070
10068
  lastMessagesId: p,
@@ -10116,9 +10114,9 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10116
10114
  const m = g.value;
10117
10115
  m && (m.scrollTop = m.scrollHeight - p);
10118
10116
  });
10119
- }, B = U();
10117
+ }, V = U();
10120
10118
  function he() {
10121
- B.value && (B.value.style.height = B.value.scrollHeight - Nc + "px", B.value.scrollHeight !== B.value.clientHeight && (B.value.style.height = B.value.scrollHeight + "px"));
10119
+ V.value && (V.value.style.height = V.value.scrollHeight - Nc + "px", V.value.scrollHeight !== V.value.clientHeight && (V.value.style.height = V.value.scrollHeight + "px"));
10122
10120
  }
10123
10121
  const Z = U(), X = U();
10124
10122
  function yn(p, m = mo.WEBCHAT) {
@@ -10181,7 +10179,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10181
10179
  }
10182
10180
  Se.value.push(URL.createObjectURL(m)), i.value = 0, ve.title = "Vista previa", ve.modelValue = !0, ot(() => {
10183
10181
  var x;
10184
- (x = B.value) == null || x.focus();
10182
+ (x = V.value) == null || x.focus();
10185
10183
  });
10186
10184
  }
10187
10185
  }
@@ -10192,7 +10190,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10192
10190
  const b = m == null ? void 0 : m[0];
10193
10191
  b && wn.includes(b == null ? void 0 : b.type) && (p.preventDefault(), i.value = 0, Se.value = [], Ie.value = [b], Se.value.push(URL.createObjectURL(b)), ve.modelValue = !0, ot(() => {
10194
10192
  var L;
10195
- (L = B.value) == null || L.focus();
10193
+ (L = V.value) == null || L.focus();
10196
10194
  }));
10197
10195
  };
10198
10196
  function wo(p) {
@@ -10214,7 +10212,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10214
10212
  }
10215
10213
  }), ot(() => {
10216
10214
  var b;
10217
- (b = B.value) == null || b.focus();
10215
+ (b = V.value) == null || b.focus();
10218
10216
  }));
10219
10217
  }
10220
10218
  const Ie = U([]), Se = U([]), ve = _o({
@@ -10232,7 +10230,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10232
10230
  return ss(async () => {
10233
10231
  if (u.value) return;
10234
10232
  const p = await $s(y.tokenAuth);
10235
- p && (X.value = p, u.value = p.appChat.id, s.value = p.appChat.totalNoVistosCliente, yn(p), V(), f("not-viewed-total", p.appChat.totalNoVistosCliente));
10233
+ p && (X.value = p, u.value = p.appChat.id, s.value = p.appChat.totalNoVistosCliente, yn(p), B(), f("not-viewed-total", p.appChat.totalNoVistosCliente));
10236
10234
  }), Co(() => {
10237
10235
  var p;
10238
10236
  (p = Z.value) == null || p.off();
@@ -10289,7 +10287,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10289
10287
  key: 1,
10290
10288
  messages: l.value.data,
10291
10289
  canLoadMoreMessages: l.value.canLoadMoreMessages,
10292
- onLoadMore: V,
10290
+ onLoadMore: B,
10293
10291
  onRetry: te,
10294
10292
  onOnQualifying: m[5] || (m[5] = (b) => po(b)),
10295
10293
  onSee: m[6] || (m[6] = (b) => {
@@ -10314,7 +10312,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10314
10312
  placeholder: "Escribe tu mensaje",
10315
10313
  required: "",
10316
10314
  ref_key: "textAreaRef",
10317
- ref: B,
10315
+ ref: V,
10318
10316
  onInput: m[9] || (m[9] = () => he()),
10319
10317
  onKeydown: m[10] || (m[10] = _t(
10320
10318
  (b) => {
@@ -10380,7 +10378,7 @@ const ic = /* @__PURE__ */ ie(nc, [["render", rc]]), oc = {
10380
10378
  class: "jl2-input-chat",
10381
10379
  placeholder: "Escribe tu mensaje",
10382
10380
  ref_key: "textAreaRef",
10383
- ref: B,
10381
+ ref: V,
10384
10382
  onInput: m[14] || (m[14] = () => he()),
10385
10383
  onKeydown: m[15] || (m[15] = _t(
10386
10384
  (b) => {
@@ -10425,15 +10423,15 @@ function Dc(t, e) {
10425
10423
  Ro('<g filter="url(#filter0_d_4007_3488)"><path d="M43.5 77C64.2107 77 81 60.2107 81 39.5C81 18.7893 64.2107 2 43.5 2C22.7893 2 6 18.7893 6 39.5C6 60.2107 22.7893 77 43.5 77Z" fill="white" stroke="currentColor" stroke-width="3" stroke-miterlimit="10"></path><path d="M39.705 38.885C40.6908 38.885 41.49 38.0858 41.49 37.1C41.49 36.1142 40.6908 35.315 39.705 35.315C38.7192 35.315 37.92 36.1142 37.92 37.1C37.92 38.0858 38.7192 38.885 39.705 38.885Z" fill="currentColor"></path><path d="M45.075 38.885C46.0608 38.885 46.86 38.0858 46.86 37.1C46.86 36.1142 46.0608 35.315 45.075 35.315C44.0892 35.315 43.29 36.1142 43.29 37.1C43.29 38.0858 44.0892 38.885 45.075 38.885Z" fill="currentColor"></path><path d="M50.445 38.885C51.4308 38.885 52.23 38.0858 52.23 37.1C52.23 36.1142 51.4308 35.315 50.445 35.315C49.4592 35.315 48.66 36.1142 48.66 37.1C48.66 38.0858 49.4592 38.885 50.445 38.885Z" fill="currentColor"></path><path d="M63.27 58.235L58.755 47.78C61.125 44.765 62.415 40.97 62.415 37.175C62.415 26.435 52.665 18.185 41.925 20.12C39.99 19.325 37.98 18.905 35.835 18.905C26.955 18.905 19.785 26.135 19.785 34.955C19.785 38.54 21 41.975 23.145 44.765L18.99 54.44C18.84 54.8 18.915 55.235 19.2 55.445C19.485 55.73 19.92 55.73 20.205 55.595L30.6 50.15C31.89 50.585 33.255 50.87 34.68 50.945C39.48 54.53 45.57 55.25 50.655 53.45L61.905 59.33C62.265 59.48 62.625 59.48 62.91 59.18C63.345 58.97 63.405 58.61 63.27 58.25V58.235ZM51.24 51.71C51.03 51.56 50.745 51.56 50.52 51.635C48.795 52.28 46.935 52.64 45.15 52.64C36.69 52.64 29.61 45.755 29.61 37.1C29.61 29.72 34.845 23.345 42.075 21.845C51.75 19.91 60.705 27.29 60.705 37.1C60.705 40.685 59.415 44.27 57.12 46.985C56.91 47.27 56.835 47.63 56.97 47.915L60.69 56.585L51.24 51.71Z" fill="currentColor"></path></g><defs><filter id="filter0_d_4007_3488" x="0.5" y="0.5" width="86" height="86" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_4007_3488"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_4007_3488" result="shape"></feBlend></filter></defs>', 2)
10426
10424
  ]));
10427
10425
  }
10428
- const Lc = /* @__PURE__ */ ie(Ic, [["render", Dc]]), Fc = {}, Vc = {
10426
+ const Lc = /* @__PURE__ */ ie(Ic, [["render", Dc]]), Fc = {}, Bc = {
10429
10427
  viewBox: "0 0 256 256",
10430
10428
  version: "1.1",
10431
10429
  xmlns: "http://www.w3.org/2000/svg",
10432
10430
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
10433
10431
  preserveAspectRatio: "xMidYMid"
10434
10432
  };
10435
- function Bc(t, e) {
10436
- return A(), I("svg", Vc, e[0] || (e[0] = [
10433
+ function Vc(t, e) {
10434
+ return A(), I("svg", Bc, e[0] || (e[0] = [
10437
10435
  T("g", null, [
10438
10436
  T("path", {
10439
10437
  d: "M128,0 C57.307,0 0,57.307 0,128 L0,128 C0,198.693 57.307,256 128,256 L128,256 C198.693,256 256,198.693 256,128 L256,128 C256,57.307 198.693,0 128,0 L128,0 Z",
@@ -10454,7 +10452,7 @@ function Bc(t, e) {
10454
10452
  ], -1)
10455
10453
  ]));
10456
10454
  }
10457
- const Uc = /* @__PURE__ */ ie(Fc, [["render", Bc]]), $c = {}, Pc = {
10455
+ const Uc = /* @__PURE__ */ ie(Fc, [["render", Vc]]), $c = {}, Pc = {
10458
10456
  version: "1.1",
10459
10457
  id: "Capa_1",
10460
10458
  xmlns: "http://www.w3.org/2000/svg",
@@ -10577,11 +10575,11 @@ const jc = /* @__PURE__ */ ie(zc, [["render", Zc]]), Yc = {
10577
10575
  r.value = !r.value;
10578
10576
  }, l = t;
10579
10577
  return (u, c) => (A(), I("div", {
10580
- class: Ve(["widget-component widget-css-reset widget-container", t.isDarkMode ? "chat-dark-mode" : ""])
10578
+ class: Be(["widget-component widget-css-reset widget-container", t.isDarkMode ? "chat-dark-mode" : ""])
10581
10579
  }, [
10582
10580
  l.tokenAuth.length > 10 ? Yt((A(), I("div", Yc, [
10583
10581
  T("div", {
10584
- class: Ve(["container-buttons-chat", { active: o.value }])
10582
+ class: Be(["container-buttons-chat", { active: o.value }])
10585
10583
  }, [
10586
10584
  T("a", {
10587
10585
  href: "javascript:;",
@@ -10605,7 +10603,7 @@ const jc = /* @__PURE__ */ ie(zc, [["render", Zc]]), Yc = {
10605
10603
  ]),
10606
10604
  T("a", {
10607
10605
  href: "javascript:;",
10608
- class: Ve(["button webchat", { disabled: l.tokenAuth.length < 10 }]),
10606
+ class: Be(["button webchat", { disabled: l.tokenAuth.length < 10 }]),
10609
10607
  title: "Debe estar autenticado",
10610
10608
  onClick: c[2] || (c[2] = (f) => o.value && l.tokenAuth.length > 10 && a())
10611
10609
  }, [