vue-wiguet-chatweb 0.0.8 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -39,7 +39,7 @@ Configuracion de Paquete en el componente
39
39
 
40
40
  <template>
41
41
  <div>
42
- <Widget :tokenAuth="token" :phoneUser="phone"/>
42
+ <Widget titlePrincipal="titlePrincipal" :tokenAuth="token" :phoneUser="phone"/>
43
43
  </div>
44
44
  </template>
45
45
 
@@ -7,6 +7,9 @@ declare const _default: import("vue").DefineComponent<{
7
7
  type: StringConstructor;
8
8
  required: true;
9
9
  };
10
+ titlePrincipal: {
11
+ type: StringConstructor;
12
+ };
10
13
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
14
  tokenAuth: {
12
15
  type: StringConstructor;
@@ -16,5 +19,8 @@ declare const _default: import("vue").DefineComponent<{
16
19
  type: StringConstructor;
17
20
  required: true;
18
21
  };
22
+ titlePrincipal: {
23
+ type: StringConstructor;
24
+ };
19
25
  }>>, {}, {}>;
20
26
  export default _default;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .bubble[data-v-a066bde3]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-a066bde3]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-a066bde3]{margin-right:10px;margin-bottom:1px}.right[data-v-a066bde3]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-a066bde3]{margin-bottom:1px;margin-right:10px}.message[data-v-a066bde3]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-a066bde3]{font-size:10px;color:gray;display:flex;justify-content:space-between}.chat-message[data-v-a066bde3]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}.header-widget[data-v-bacccd51]{height:10%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #CCCCCC;margin-bottom:10px}.jl2-input-chat[data-v-bacccd51]{padding-left:10px;height:40px;width:95%}.jl2-input-chat[data-v-bacccd51]:focus-visible{outline:none}.jl-inputgroup-chat[data-v-bacccd51]{width:100%;border:1px solid;border-color:#f28b0c;background:var(--surface-a);color:var(--surface-500);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:13px;display:flex;justify-content:space-around;align-items:center}.jl-inputgroup-chat>input[data-v-bacccd51]{border:none;background:none}.jl-inputgroup-chat>input[data-v-bacccd51]:hover{outline:none}.form-message[data-v-bacccd51]{display:flex;justify-content:space-between}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]{border:none!important;background:none}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]:focus{box-shadow:none}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]:active{box-shadow:none}.widget[data-v-bacccd51]{margin:auto;height:100%;display:flex;width:100%;flex-direction:column;justify-content:space-evenly}.messages-container[data-v-bacccd51]{height:80%;overflow-y:scroll;border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color);scrollbar-color:red transparent;scrollbar-width:thin;scrollbar-color:#F28B0C transparent;scrollbar-track-color:transparent;scrollbar-face-color:#F28B0C;scrollbar-thumb-color:#F28B0C}.messages-container[data-v-bacccd51]::-webkit-scrollbar{width:8px}.messages-container[data-v-bacccd51]::-webkit-scrollbar-track{background-color:transparent}.messages-container[data-v-bacccd51]::-webkit-scrollbar-thumb{background-color:#f28b0c;border-radius:8px}.input-message[data-v-bacccd51]{border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color)}.message-send[data-v-bacccd51]{border-top:1px solid var(--fge-gray-lines-color);padding-top:20px;width:90%;margin:auto}.bubble[data-v-bacccd51]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-bacccd51]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-bacccd51]{margin-right:10px;margin-bottom:1px}.right[data-v-bacccd51]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-bacccd51]{margin-bottom:1px;margin-right:10px}.message[data-v-bacccd51]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-bacccd51]{font-size:10px;color:gray}.chat-message[data-v-bacccd51]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}#chat-circle[data-v-bacccd51]{margin:auto;position:fixed;bottom:50px;right:50px;color:#fff;cursor:pointer}.title-chat[data-v-bacccd51]{font-size:1.1vw;font-weight:700;color:#4d4d4d}.chat-box[data-v-bacccd51]{display:flex;justify-content:center;align-items:center;border:2px solid #d9d9d9;border-radius:25px;padding:5px 15px 30px;background:#ffffff;position:fixed;right:30px;bottom:50px;width:450px;height:70vh;max-width:85vw;max-height:80vh;box-shadow:0 5px 35px 9px #ccc}.pointer[data-v-bacccd51]{cursor:pointer}.header-widget[data-v-4b17fe0e]{height:10%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #CCCCCC;margin-bottom:10px}.jl2-input-chat[data-v-4b17fe0e]{padding-left:10px;height:40px;width:95%}.jl2-input-chat[data-v-4b17fe0e]:focus-visible{outline:none}.jl-inputgroup-chat[data-v-4b17fe0e]{width:100%;border:1px solid;border-color:#f28b0c;background:var(--surface-a);color:var(--surface-500);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:13px;display:flex;justify-content:space-around;align-items:center}.jl-inputgroup-chat>input[data-v-4b17fe0e]{border:none;background:none}.jl-inputgroup-chat>input[data-v-4b17fe0e]:hover{outline:none}.form-message[data-v-4b17fe0e]{display:flex;justify-content:space-between}.form-message button[data-v-4b17fe0e],.jl-inputgroup-chat>button[data-v-4b17fe0e]{border:none!important;background:none}.form-message button[data-v-4b17fe0e],.jl-inputgroup-chat>button[data-v-4b17fe0e]:focus{box-shadow:none}.form-message button[data-v-4b17fe0e],.jl-inputgroup-chat>button[data-v-4b17fe0e]:active{box-shadow:none}.widget[data-v-4b17fe0e]{margin:auto;height:100%;display:flex;width:100%;flex-direction:column;justify-content:space-evenly}.messages-container[data-v-4b17fe0e]{height:80%;overflow-y:scroll;border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color);scrollbar-color:red transparent;scrollbar-width:thin;scrollbar-color:#F28B0C transparent;scrollbar-track-color:transparent;scrollbar-face-color:#F28B0C;scrollbar-thumb-color:#F28B0C}.messages-container[data-v-4b17fe0e]::-webkit-scrollbar{width:8px}.messages-container[data-v-4b17fe0e]::-webkit-scrollbar-track{background-color:transparent}.messages-container[data-v-4b17fe0e]::-webkit-scrollbar-thumb{background-color:#f28b0c;border-radius:8px}.input-message[data-v-4b17fe0e]{border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color)}.message-send[data-v-4b17fe0e]{border-top:1px solid var(--fge-gray-lines-color);padding-top:20px;width:90%;margin:auto}.bubble[data-v-4b17fe0e]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-4b17fe0e]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-4b17fe0e]{margin-right:10px;margin-bottom:1px}.right[data-v-4b17fe0e]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-4b17fe0e]{margin-bottom:1px;margin-right:10px}.message[data-v-4b17fe0e]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-4b17fe0e]{font-size:10px;color:gray}.chat-message[data-v-4b17fe0e]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}#chat-circle[data-v-4b17fe0e]{margin:auto;position:fixed;bottom:50px;right:50px;color:#fff;cursor:pointer}.title-chat[data-v-4b17fe0e]{font-size:1.1vw;font-weight:700;color:#4d4d4d}.chat-box[data-v-4b17fe0e]{display:flex;justify-content:center;align-items:center;border:2px solid #d9d9d9;border-radius:25px;padding:5px 15px 30px;background:#ffffff;position:fixed;right:30px;bottom:50px;width:450px;height:70vh;max-width:85vw;max-height:80vh;box-shadow:0 5px 35px 9px #ccc}.pointer[data-v-4b17fe0e]{cursor:pointer}
1
+ .bubble[data-v-78b91e28]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-78b91e28]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-78b91e28]{margin-right:10px;margin-bottom:1px}.right[data-v-78b91e28]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-78b91e28]{margin-bottom:1px;margin-right:10px}.message[data-v-78b91e28]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-78b91e28]{font-size:10px;color:gray;display:flex;justify-content:space-between}.chat-message[data-v-78b91e28]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}.header-widget[data-v-bacccd51]{height:10%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #CCCCCC;margin-bottom:10px}.jl2-input-chat[data-v-bacccd51]{padding-left:10px;height:40px;width:95%}.jl2-input-chat[data-v-bacccd51]:focus-visible{outline:none}.jl-inputgroup-chat[data-v-bacccd51]{width:100%;border:1px solid;border-color:#f28b0c;background:var(--surface-a);color:var(--surface-500);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:13px;display:flex;justify-content:space-around;align-items:center}.jl-inputgroup-chat>input[data-v-bacccd51]{border:none;background:none}.jl-inputgroup-chat>input[data-v-bacccd51]:hover{outline:none}.form-message[data-v-bacccd51]{display:flex;justify-content:space-between}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]{border:none!important;background:none}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]:focus{box-shadow:none}.form-message button[data-v-bacccd51],.jl-inputgroup-chat>button[data-v-bacccd51]:active{box-shadow:none}.widget[data-v-bacccd51]{margin:auto;height:100%;display:flex;width:100%;flex-direction:column;justify-content:space-evenly}.messages-container[data-v-bacccd51]{height:80%;overflow-y:scroll;border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color);scrollbar-color:red transparent;scrollbar-width:thin;scrollbar-color:#F28B0C transparent;scrollbar-track-color:transparent;scrollbar-face-color:#F28B0C;scrollbar-thumb-color:#F28B0C}.messages-container[data-v-bacccd51]::-webkit-scrollbar{width:8px}.messages-container[data-v-bacccd51]::-webkit-scrollbar-track{background-color:transparent}.messages-container[data-v-bacccd51]::-webkit-scrollbar-thumb{background-color:#f28b0c;border-radius:8px}.input-message[data-v-bacccd51]{border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color)}.message-send[data-v-bacccd51]{border-top:1px solid var(--fge-gray-lines-color);padding-top:20px;width:90%;margin:auto}.bubble[data-v-bacccd51]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-bacccd51]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-bacccd51]{margin-right:10px;margin-bottom:1px}.right[data-v-bacccd51]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-bacccd51]{margin-bottom:1px;margin-right:10px}.message[data-v-bacccd51]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-bacccd51]{font-size:10px;color:gray}.chat-message[data-v-bacccd51]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}#chat-circle[data-v-bacccd51]{margin:auto;position:fixed;bottom:50px;right:50px;color:#fff;cursor:pointer}.title-chat[data-v-bacccd51]{font-size:1.1vw;font-weight:700;color:#4d4d4d}.chat-box[data-v-bacccd51]{display:flex;justify-content:center;align-items:center;border:2px solid #d9d9d9;border-radius:25px;padding:5px 15px 30px;background:#ffffff;position:fixed;right:30px;bottom:50px;width:450px;height:70vh;max-width:85vw;max-height:80vh;box-shadow:0 5px 35px 9px #ccc}.pointer[data-v-bacccd51]{cursor:pointer}.header-widget[data-v-d206ec1e]{height:10%;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #CCCCCC;margin-bottom:10px}.jl2-input-chat[data-v-d206ec1e]{padding-left:10px;height:40px;width:95%}.jl2-input-chat[data-v-d206ec1e]:focus-visible{outline:none}.jl-inputgroup-chat[data-v-d206ec1e]{width:100%;border:1px solid;border-color:#f28b0c;background:var(--surface-a);color:var(--surface-500);-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:13px;display:flex;justify-content:space-around;align-items:center}.jl-inputgroup-chat>input[data-v-d206ec1e]{border:none;background:none}.jl-inputgroup-chat>input[data-v-d206ec1e]:hover{outline:none}.form-message[data-v-d206ec1e]{display:flex;justify-content:space-between}.form-message button[data-v-d206ec1e],.jl-inputgroup-chat>button[data-v-d206ec1e]{border:none!important;background:none}.form-message button[data-v-d206ec1e],.jl-inputgroup-chat>button[data-v-d206ec1e]:focus{box-shadow:none}.form-message button[data-v-d206ec1e],.jl-inputgroup-chat>button[data-v-d206ec1e]:active{box-shadow:none}.widget[data-v-d206ec1e]{margin:auto;height:100%;display:flex;width:100%;flex-direction:column;justify-content:space-evenly}.messages-container[data-v-d206ec1e]{height:80%;overflow-y:scroll;border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color);scrollbar-color:red transparent;scrollbar-width:thin;scrollbar-color:#F28B0C transparent;scrollbar-track-color:transparent;scrollbar-face-color:#F28B0C;scrollbar-thumb-color:#F28B0C}.messages-container[data-v-d206ec1e]::-webkit-scrollbar{width:8px}.messages-container[data-v-d206ec1e]::-webkit-scrollbar-track{background-color:transparent}.messages-container[data-v-d206ec1e]::-webkit-scrollbar-thumb{background-color:#f28b0c;border-radius:8px}.input-message[data-v-d206ec1e]{border-left:1px solid var(--fge-gray-lines-color);border-right:1px solid var(--fge-gray-lines-color)}.message-send[data-v-d206ec1e]{border-top:1px solid var(--fge-gray-lines-color);padding-top:20px;width:90%;margin:auto}.bubble[data-v-d206ec1e]{--r: 25px;--t: 30px;max-width:50%;min-width:250px;padding:calc(2*var(--r)/3);-webkit-mask:radial-gradient(var(--t) at var(--_d) 0,#0000 98%,#000 102%) var(--_d) 100%/calc(100% - var(--r)) var(--t) no-repeat,conic-gradient(at var(--r) var(--r),#000 75%,#0000 0) calc(var(--r)/-2) calc(var(--r)/-2) padding-box,radial-gradient(50% 50%,#000 98%,#0000 101%) 0 0/var(--r) var(--r) space padding-box;color:#fff}.left[data-v-d206ec1e]{--_d: 0%;border-left:var(--t) solid #0000;margin-right:var(--t);background-color:#fcd7ae;color:#4d4d4d;place-self:start}.bubble>.content-left[data-v-d206ec1e]{margin-right:10px;margin-bottom:1px}.right[data-v-d206ec1e]{--_d: 100%;border-right:var(--t) solid #0000;margin-left:var(--t);background-color:#fdeedb;color:#4d4d4d;place-self:end}.bubble>.content-right[data-v-d206ec1e]{margin-bottom:1px;margin-right:10px}.message[data-v-d206ec1e]{text-align:initial;word-break:break-all;margin-bottom:10px}.detail-message[data-v-d206ec1e]{font-size:10px;color:gray}.chat-message[data-v-d206ec1e]{max-width:250px;min-width:90%;display:flex;flex-direction:column;justify-content:center}#chat-circle[data-v-d206ec1e]{margin:auto;position:fixed;bottom:50px;right:50px;color:#fff;cursor:pointer}.title-chat[data-v-d206ec1e]{font-size:1.1vw;font-weight:700;color:#4d4d4d}.chat-box[data-v-d206ec1e]{display:flex;justify-content:center;align-items:center;border:2px solid #d9d9d9;border-radius:25px;padding:5px 15px 30px;background:#ffffff;position:fixed;right:30px;bottom:50px;width:450px;height:70vh;max-width:85vw;max-height:80vh;box-shadow:0 5px 35px 9px #ccc}.pointer[data-v-d206ec1e]{cursor:pointer}
@@ -99,12 +99,12 @@ function kt(e) {
99
99
  var t = re(NaN);
100
100
  return e != null ? we(w(t), e) : w(t).userInvalidated = !0, t;
101
101
  }
102
- var Ys = f.momentProperties = [], Wt = !1;
102
+ var Ps = f.momentProperties = [], Wt = !1;
103
103
  function ls(e, t) {
104
- var s, n, r, i = Ys.length;
104
+ var s, n, r, i = Ps.length;
105
105
  if (H(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), H(t._i) || (e._i = t._i), H(t._f) || (e._f = t._f), H(t._l) || (e._l = t._l), H(t._strict) || (e._strict = t._strict), H(t._tzm) || (e._tzm = t._tzm), H(t._isUTC) || (e._isUTC = t._isUTC), H(t._offset) || (e._offset = t._offset), H(t._pf) || (e._pf = w(t)), H(t._locale) || (e._locale = t._locale), i > 0)
106
106
  for (s = 0; s < i; s++)
107
- n = Ys[s], r = t[n], H(r) || (e[n] = r);
107
+ n = Ps[s], r = t[n], H(r) || (e[n] = r);
108
108
  return e;
109
109
  }
110
110
  function Ke(e) {
@@ -141,9 +141,9 @@ Arguments: ` + Array.prototype.slice.call(n).join("") + `
141
141
  return t.apply(this, arguments);
142
142
  }, t);
143
143
  }
144
- var Ps = {};
144
+ var Ys = {};
145
145
  function Xs(e, t) {
146
- f.deprecationHandler != null && f.deprecationHandler(e, t), Ps[e] || (Qs(t), Ps[e] = !0);
146
+ f.deprecationHandler != null && f.deprecationHandler(e, t), Ys[e] || (Qs(t), Ys[e] = !0);
147
147
  }
148
148
  f.suppressDeprecationWarnings = !1;
149
149
  f.deprecationHandler = null;
@@ -279,7 +279,7 @@ function Ar(e, t, s, n) {
279
279
  var r = this._relativeTime[s];
280
280
  return ie(r) ? r(e, t, s, n) : r.replace(/%d/i, e);
281
281
  }
282
- function Yr(e, t) {
282
+ function Pr(e, t) {
283
283
  var s = this._relativeTime[e > 0 ? "future" : "past"];
284
284
  return ie(s) ? s(t) : s.replace(/%s/i, t);
285
285
  }
@@ -301,7 +301,7 @@ var tn = {};
301
301
  function I(e, t) {
302
302
  tn[e] = t;
303
303
  }
304
- function Pr(e) {
304
+ function Yr(e) {
305
305
  var t = [], s;
306
306
  for (s in e)
307
307
  O(e, s) && t.push({ unit: s, priority: tn[s] });
@@ -340,7 +340,7 @@ function Fr(e) {
340
340
  function Lr(e, t) {
341
341
  if (typeof e == "object") {
342
342
  e = ds(e);
343
- var s = Pr(e), n, r = s.length;
343
+ var s = Yr(e), n, r = s.length;
344
344
  for (n = 0; n < r; n++)
345
345
  this[s[n].unit](e[s[n].unit]);
346
346
  } else if (e = Z(e), ie(this[e]))
@@ -867,7 +867,7 @@ function Ai(e, t) {
867
867
  function Fs(e) {
868
868
  return e && e.toLowerCase().replace("_", "-");
869
869
  }
870
- function Yi(e) {
870
+ function Pi(e) {
871
871
  for (var t = 0, s, n, r, i; t < e.length; ) {
872
872
  for (i = Fs(e[t]).split("-"), s = i.length, n = Fs(e[t + 1]), n = n ? n.split("-") : null; s > 0; ) {
873
873
  if (r = Rt(i.slice(0, s).join("-")), r)
@@ -880,12 +880,12 @@ function Yi(e) {
880
880
  }
881
881
  return qe;
882
882
  }
883
- function Pi(e) {
883
+ function Yi(e) {
884
884
  return e.match("^[^/\\\\]*$") != null;
885
885
  }
886
886
  function Rt(e) {
887
887
  var t = null, s;
888
- if (R[e] === void 0 && typeof module < "u" && module && module.exports && Pi(e))
888
+ if (R[e] === void 0 && typeof module < "u" && module && module.exports && Yi(e))
889
889
  try {
890
890
  t = qe._abbr, s = require, s("./locale/" + e), be(t);
891
891
  } catch {
@@ -940,7 +940,7 @@ function _e(e) {
940
940
  return t;
941
941
  e = [e];
942
942
  }
943
- return Yi(e);
943
+ return Pi(e);
944
944
  }
945
945
  function Li() {
946
946
  return Jt(R);
@@ -1488,10 +1488,10 @@ function Aa(e, t) {
1488
1488
  i || this.localeData().calendar(r, this, M(s))
1489
1489
  );
1490
1490
  }
1491
- function Ya() {
1491
+ function Pa() {
1492
1492
  return new Ke(this);
1493
1493
  }
1494
- function Pa(e, t) {
1494
+ function Ya(e, t) {
1495
1495
  var s = X(e) ? e : M(e);
1496
1496
  return this.isValid() && s.isValid() ? (t = Z(t) || "millisecond", t === "millisecond" ? this.valueOf() > s.valueOf() : s.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1497
1497
  }
@@ -1609,20 +1609,20 @@ function xn() {
1609
1609
  return this._locale;
1610
1610
  }
1611
1611
  var gt = 1e3, Ae = 60 * gt, wt = 60 * Ae, Nn = (365 * 400 + 97) * 24 * wt;
1612
- function Ye(e, t) {
1612
+ function Pe(e, t) {
1613
1613
  return (e % t + t) % t;
1614
1614
  }
1615
1615
  function An(e, t, s) {
1616
1616
  return e < 100 && e >= 0 ? new Date(e + 400, t, s) - Nn : new Date(e, t, s).valueOf();
1617
1617
  }
1618
- function Yn(e, t, s) {
1618
+ function Pn(e, t, s) {
1619
1619
  return e < 100 && e >= 0 ? Date.UTC(e + 400, t, s) - Nn : Date.UTC(e, t, s);
1620
1620
  }
1621
1621
  function Ja(e) {
1622
1622
  var t, s;
1623
1623
  if (e = Z(e), e === void 0 || e === "millisecond" || !this.isValid())
1624
1624
  return this;
1625
- switch (s = this._isUTC ? Yn : An, e) {
1625
+ switch (s = this._isUTC ? Pn : An, e) {
1626
1626
  case "year":
1627
1627
  t = s(this.year(), 0, 1);
1628
1628
  break;
@@ -1655,16 +1655,16 @@ function Ja(e) {
1655
1655
  t = s(this.year(), this.month(), this.date());
1656
1656
  break;
1657
1657
  case "hour":
1658
- t = this._d.valueOf(), t -= Ye(
1658
+ t = this._d.valueOf(), t -= Pe(
1659
1659
  t + (this._isUTC ? 0 : this.utcOffset() * Ae),
1660
1660
  wt
1661
1661
  );
1662
1662
  break;
1663
1663
  case "minute":
1664
- t = this._d.valueOf(), t -= Ye(t, Ae);
1664
+ t = this._d.valueOf(), t -= Pe(t, Ae);
1665
1665
  break;
1666
1666
  case "second":
1667
- t = this._d.valueOf(), t -= Ye(t, gt);
1667
+ t = this._d.valueOf(), t -= Pe(t, gt);
1668
1668
  break;
1669
1669
  }
1670
1670
  return this._d.setTime(t), f.updateOffset(this, !0), this;
@@ -1673,7 +1673,7 @@ function Ka(e) {
1673
1673
  var t, s;
1674
1674
  if (e = Z(e), e === void 0 || e === "millisecond" || !this.isValid())
1675
1675
  return this;
1676
- switch (s = this._isUTC ? Yn : An, e) {
1676
+ switch (s = this._isUTC ? Pn : An, e) {
1677
1677
  case "year":
1678
1678
  t = s(this.year() + 1, 0, 1) - 1;
1679
1679
  break;
@@ -1706,16 +1706,16 @@ function Ka(e) {
1706
1706
  t = s(this.year(), this.month(), this.date() + 1) - 1;
1707
1707
  break;
1708
1708
  case "hour":
1709
- t = this._d.valueOf(), t += wt - Ye(
1709
+ t = this._d.valueOf(), t += wt - Pe(
1710
1710
  t + (this._isUTC ? 0 : this.utcOffset() * Ae),
1711
1711
  wt
1712
1712
  ) - 1;
1713
1713
  break;
1714
1714
  case "minute":
1715
- t = this._d.valueOf(), t += Ae - Ye(t, Ae) - 1;
1715
+ t = this._d.valueOf(), t += Ae - Pe(t, Ae) - 1;
1716
1716
  break;
1717
1717
  case "second":
1718
- t = this._d.valueOf(), t += gt - Ye(t, gt) - 1;
1718
+ t = this._d.valueOf(), t += gt - Pe(t, gt) - 1;
1719
1719
  break;
1720
1720
  }
1721
1721
  return this._d.setTime(t), f.updateOffset(this, !0), this;
@@ -1944,7 +1944,7 @@ Xe(["gg", "GG"], function(e, t, s, n) {
1944
1944
  t[n] = f.parseTwoDigitYear(e);
1945
1945
  });
1946
1946
  function ko(e) {
1947
- return Pn.call(
1947
+ return Yn.call(
1948
1948
  this,
1949
1949
  e,
1950
1950
  this.week(),
@@ -1954,7 +1954,7 @@ function ko(e) {
1954
1954
  );
1955
1955
  }
1956
1956
  function Oo(e) {
1957
- return Pn.call(
1957
+ return Yn.call(
1958
1958
  this,
1959
1959
  e,
1960
1960
  this.isoWeek(),
@@ -1977,7 +1977,7 @@ function To() {
1977
1977
  var e = this.localeData()._week;
1978
1978
  return he(this.weekYear(), e.dow, e.doy);
1979
1979
  }
1980
- function Pn(e, t, s, n, r) {
1980
+ function Yn(e, t, s, n, r) {
1981
1981
  var i;
1982
1982
  return e == null ? ze(this, n, r).year : (i = he(e, n, r), t > i && (t = i), Mo.call(this, e, t, s, n, r));
1983
1983
  }
@@ -2077,16 +2077,16 @@ for (Se = "S"; Se.length <= 9; Se += "S")
2077
2077
  Ln = Fe("Milliseconds", !1);
2078
2078
  p("z", 0, 0, "zoneAbbr");
2079
2079
  p("zz", 0, 0, "zoneName");
2080
- function Yo() {
2080
+ function Po() {
2081
2081
  return this._isUTC ? "UTC" : "";
2082
2082
  }
2083
- function Po() {
2083
+ function Yo() {
2084
2084
  return this._isUTC ? "Coordinated Universal Time" : "";
2085
2085
  }
2086
2086
  var d = Ke.prototype;
2087
2087
  d.add = Ca;
2088
2088
  d.calendar = Aa;
2089
- d.clone = Ya;
2089
+ d.clone = Pa;
2090
2090
  d.diff = Ha;
2091
2091
  d.endOf = Ka;
2092
2092
  d.format = ja;
@@ -2096,7 +2096,7 @@ d.to = qa;
2096
2096
  d.toNow = Za;
2097
2097
  d.get = Fr;
2098
2098
  d.invalidAt = ao;
2099
- d.isAfter = Pa;
2099
+ d.isAfter = Ya;
2100
2100
  d.isBefore = Fa;
2101
2101
  d.isBetween = La;
2102
2102
  d.isSame = Ua;
@@ -2161,8 +2161,8 @@ d.isLocal = ba;
2161
2161
  d.isUtcOffset = ka;
2162
2162
  d.isUtc = Dn;
2163
2163
  d.isUTC = Dn;
2164
- d.zoneAbbr = Yo;
2165
- d.zoneName = Po;
2164
+ d.zoneAbbr = Po;
2165
+ d.zoneName = Yo;
2166
2166
  d.dates = q(
2167
2167
  "dates accessor is deprecated. Use date instead.",
2168
2168
  Fn
@@ -2200,7 +2200,7 @@ v.ordinal = xr;
2200
2200
  v.preparse = Un;
2201
2201
  v.postformat = Un;
2202
2202
  v.relativeTime = Ar;
2203
- v.pastFuture = Yr;
2203
+ v.pastFuture = Pr;
2204
2204
  v.set = Sr;
2205
2205
  v.eras = lo;
2206
2206
  v.erasParse = co;
@@ -2560,7 +2560,7 @@ const Te = (e, t) => {
2560
2560
  for (const [n, r] of t)
2561
2561
  s[n] = r;
2562
2562
  return s;
2563
- }, Tl = /* @__PURE__ */ Te(Cl, [["__scopeId", "data-v-a066bde3"]]);
2563
+ }, Tl = /* @__PURE__ */ Te(Cl, [["__scopeId", "data-v-78b91e28"]]);
2564
2564
  var Ml = Object.defineProperty, El = (e, t, s) => t in e ? Ml(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Rl = (e, t, s) => (El(e, typeof t != "symbol" ? t + "" : t, s), s);
2565
2565
  const Be = {
2566
2566
  // LINEFEED byte (octet 10)
@@ -2845,7 +2845,7 @@ function Al(e, t) {
2845
2845
  });
2846
2846
  };
2847
2847
  }
2848
- class Yl {
2848
+ class Pl {
2849
2849
  constructor(t, s, n) {
2850
2850
  this._client = t, this._webSocket = s, this._connected = !1, this._serverFrameHandlers = {
2851
2851
  // [CONNECTED Frame](https://stomp.github.com/stomp-specification-1.2.html#CONNECTED_Frame)
@@ -3039,7 +3039,7 @@ class Yl {
3039
3039
  return n = Object.assign({}, n), this._connectedVersion === W.V1_2 ? n.id = t : n["message-id"] = t, n.subscription = s, this._transmit({ command: "NACK", headers: n });
3040
3040
  }
3041
3041
  }
3042
- class Pl {
3042
+ class Yl {
3043
3043
  /**
3044
3044
  * Create an instance.
3045
3045
  */
@@ -3124,7 +3124,7 @@ class Pl {
3124
3124
  this.connected || (this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`), this.forceDisconnect());
3125
3125
  }, this.connectionTimeout)), this.debug("Opening Web Socket...");
3126
3126
  const t = this._createWebSocket();
3127
- this._stompHandler = new Yl(this, t, {
3127
+ this._stompHandler = new Pl(this, t, {
3128
3128
  debug: this.debug,
3129
3129
  stompVersions: this.stompVersions,
3130
3130
  connectHeaders: this.connectHeaders,
@@ -3431,7 +3431,7 @@ class Pl {
3431
3431
  }
3432
3432
  class Fl {
3433
3433
  constructor(t, s) {
3434
- Rl(this, "client"), this.virtualHost = t, this.queue = s, this.client = new Pl({
3434
+ Rl(this, "client"), this.virtualHost = t, this.queue = s, this.client = new Yl({
3435
3435
  brokerURL: window.VITE_BROKER_URL ? window.VITE_BROKER_URL : "ws://192.168.20.107:15674/ws",
3436
3436
  connectHeaders: {
3437
3437
  login: window.VITE_USERNAME ? window.VITE_USERNAME : "admin",
@@ -3532,10 +3532,10 @@ function Bn(e, t) {
3532
3532
  return e.apply(t, arguments);
3533
3533
  };
3534
3534
  }
3535
- const { toString: rc } = Object.prototype, { getPrototypeOf: Cs } = Object, Yt = ((e) => (t) => {
3535
+ const { toString: rc } = Object.prototype, { getPrototypeOf: Cs } = Object, Pt = ((e) => (t) => {
3536
3536
  const s = rc.call(t);
3537
3537
  return e[s] || (e[s] = s.slice(8, -1).toLowerCase());
3538
- })(/* @__PURE__ */ Object.create(null)), ae = (e) => (e = e.toLowerCase(), (t) => Yt(t) === e), Pt = (e) => (t) => typeof t === e, { isArray: Ue } = Array, Ze = Pt("undefined");
3538
+ })(/* @__PURE__ */ Object.create(null)), ae = (e) => (e = e.toLowerCase(), (t) => Pt(t) === e), Yt = (e) => (t) => typeof t === e, { isArray: Ue } = Array, Ze = Yt("undefined");
3539
3539
  function ic(e) {
3540
3540
  return e !== null && !Ze(e) && e.constructor !== null && !Ze(e.constructor) && z(e.constructor.isBuffer) && e.constructor.isBuffer(e);
3541
3541
  }
@@ -3544,14 +3544,14 @@ function ac(e) {
3544
3544
  let t;
3545
3545
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Vn(e.buffer), t;
3546
3546
  }
3547
- const oc = Pt("string"), z = Pt("function"), $n = Pt("number"), Ft = (e) => e !== null && typeof e == "object", lc = (e) => e === !0 || e === !1, dt = (e) => {
3548
- if (Yt(e) !== "object")
3547
+ const oc = Yt("string"), z = Yt("function"), $n = Yt("number"), Ft = (e) => e !== null && typeof e == "object", lc = (e) => e === !0 || e === !1, dt = (e) => {
3548
+ if (Pt(e) !== "object")
3549
3549
  return !1;
3550
3550
  const t = Cs(e);
3551
3551
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
3552
3552
  }, cc = ae("Date"), uc = ae("File"), dc = ae("Blob"), hc = ae("FileList"), fc = (e) => Ft(e) && z(e.pipe), mc = (e) => {
3553
3553
  let t;
3554
- return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = Yt(e)) === "formdata" || // detect form-data instance
3554
+ return e && (typeof FormData == "function" && e instanceof FormData || z(e.append) && ((t = Pt(e)) === "formdata" || // detect form-data instance
3555
3555
  t === "object" && z(e.toString) && e.toString() === "[object FormData]"));
3556
3556
  }, _c = ae("URLSearchParams"), pc = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
3557
3557
  function et(e, t, { allOwnKeys: s = !1 } = {}) {
@@ -3677,10 +3677,10 @@ const yc = (e, t, s, { allOwnKeys: n } = {}) => (et(t, (r, i) => {
3677
3677
  s += t[Math.random() * n | 0];
3678
3678
  return s;
3679
3679
  };
3680
- function Yc(e) {
3680
+ function Pc(e) {
3681
3681
  return !!(e && z(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
3682
3682
  }
3683
- const Pc = (e) => {
3683
+ const Yc = (e) => {
3684
3684
  const t = new Array(10), s = (n, r) => {
3685
3685
  if (Ft(n)) {
3686
3686
  if (t.indexOf(n) >= 0)
@@ -3725,7 +3725,7 @@ const Pc = (e) => {
3725
3725
  stripBOM: gc,
3726
3726
  inherits: wc,
3727
3727
  toFlatObject: Sc,
3728
- kindOf: Yt,
3728
+ kindOf: Pt,
3729
3729
  kindOfTest: ae,
3730
3730
  endsWith: bc,
3731
3731
  toArray: kc,
@@ -3746,8 +3746,8 @@ const Pc = (e) => {
3746
3746
  isContextDefined: zn,
3747
3747
  ALPHABET: Zn,
3748
3748
  generateString: Ac,
3749
- isSpecCompliantForm: Yc,
3750
- toJSONObject: Pc,
3749
+ isSpecCompliantForm: Pc,
3750
+ toJSONObject: Yc,
3751
3751
  isAsyncFn: Fc,
3752
3752
  isThenable: Lc
3753
3753
  };
@@ -3826,8 +3826,8 @@ function Lt(e, t, s) {
3826
3826
  metaTokens: !0,
3827
3827
  dots: !1,
3828
3828
  indexes: !1
3829
- }, !1, function(g, P) {
3830
- return !c.isUndefined(P[g]);
3829
+ }, !1, function(g, Y) {
3830
+ return !c.isUndefined(Y[g]);
3831
3831
  });
3832
3832
  const n = s.metaTokens, r = s.visitor || h, i = s.dots, a = s.indexes, u = (s.Blob || typeof Blob < "u" && Blob) && c.isSpecCompliantForm(t);
3833
3833
  if (!c.isFunction(r))
@@ -3841,9 +3841,9 @@ function Lt(e, t, s) {
3841
3841
  throw new k("Blob is not supported. Use a Buffer instead.");
3842
3842
  return c.isArrayBuffer(m) || c.isTypedArray(m) ? u && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
3843
3843
  }
3844
- function h(m, g, P) {
3844
+ function h(m, g, Y) {
3845
3845
  let F = m;
3846
- if (m && !P && typeof m == "object") {
3846
+ if (m && !Y && typeof m == "object") {
3847
3847
  if (c.endsWith(g, "{}"))
3848
3848
  g = n ? g : g.slice(0, -2), m = JSON.stringify(m);
3849
3849
  else if (c.isArray(m) && Ic(m) || (c.isFileList(m) || c.endsWith(g, "[]")) && (F = c.toArray(m)))
@@ -3855,7 +3855,7 @@ function Lt(e, t, s) {
3855
3855
  );
3856
3856
  }), !1;
3857
3857
  }
3858
- return ss(m) ? !0 : (t.append(Bs(P, g, i), l(m)), !1);
3858
+ return ss(m) ? !0 : (t.append(Bs(Y, g, i), l(m)), !1);
3859
3859
  }
3860
3860
  const y = [], D = Object.assign(Wc, {
3861
3861
  defaultVisitor: h,
@@ -4547,7 +4547,7 @@ function zs(e) {
4547
4547
  });
4548
4548
  }
4549
4549
  const qs = (e) => e instanceof fe ? e.toJSON() : e;
4550
- function Pe(e, t) {
4550
+ function Ye(e, t) {
4551
4551
  t = t || {};
4552
4552
  const s = {};
4553
4553
  function n(l, h, y) {
@@ -4674,7 +4674,7 @@ class bt {
4674
4674
  * @returns {Promise} The Promise to be fulfilled
4675
4675
  */
4676
4676
  request(t, s) {
4677
- typeof t == "string" ? (s = s || {}, s.url = t) : s = t || {}, s = Pe(this.defaults, s);
4677
+ typeof t == "string" ? (s = s || {}, s.url = t) : s = t || {}, s = Ye(this.defaults, s);
4678
4678
  const { transitional: n, paramsSerializer: r, headers: i } = s;
4679
4679
  n !== void 0 && ns.assertOptions(n, {
4680
4680
  silentJSONParsing: ye.transitional(ye.boolean),
@@ -4718,8 +4718,8 @@ class bt {
4718
4718
  const m = o[y++], g = o[y++];
4719
4719
  try {
4720
4720
  T = m(T);
4721
- } catch (P) {
4722
- g.call(this, P);
4721
+ } catch (Y) {
4722
+ g.call(this, Y);
4723
4723
  break;
4724
4724
  }
4725
4725
  }
@@ -4733,14 +4733,14 @@ class bt {
4733
4733
  return h;
4734
4734
  }
4735
4735
  getUri(t) {
4736
- t = Pe(this.defaults, t);
4736
+ t = Ye(this.defaults, t);
4737
4737
  const s = rr(t.baseURL, t.url);
4738
4738
  return er(s, t.params, t.paramsSerializer);
4739
4739
  }
4740
4740
  }
4741
4741
  c.forEach(["delete", "get", "head", "options"], function(t) {
4742
4742
  bt.prototype[t] = function(s, n) {
4743
- return this.request(Pe(n || {}, {
4743
+ return this.request(Ye(n || {}, {
4744
4744
  method: t,
4745
4745
  url: s,
4746
4746
  data: (n || {}).data
@@ -4750,7 +4750,7 @@ c.forEach(["delete", "get", "head", "options"], function(t) {
4750
4750
  c.forEach(["post", "put", "patch"], function(t) {
4751
4751
  function s(n) {
4752
4752
  return function(i, a, o) {
4753
- return this.request(Pe(o || {}, {
4753
+ return this.request(Ye(o || {}, {
4754
4754
  method: t,
4755
4755
  headers: n ? {
4756
4756
  "Content-Type": "multipart/form-data"
@@ -4912,30 +4912,30 @@ const wu = rs;
4912
4912
  function ar(e) {
4913
4913
  const t = new mt(e), s = Bn(mt.prototype.request, t);
4914
4914
  return c.extend(s, mt.prototype, t, { allOwnKeys: !0 }), c.extend(s, t, null, { allOwnKeys: !0 }), s.create = function(r) {
4915
- return ar(Pe(e, r));
4915
+ return ar(Ye(e, r));
4916
4916
  }, s;
4917
4917
  }
4918
- const Y = ar(Ms);
4919
- Y.Axios = mt;
4920
- Y.CanceledError = tt;
4921
- Y.CancelToken = pu;
4922
- Y.isCancel = nr;
4923
- Y.VERSION = ir;
4924
- Y.toFormData = Lt;
4925
- Y.AxiosError = k;
4926
- Y.Cancel = Y.CanceledError;
4927
- Y.all = function(t) {
4918
+ const P = ar(Ms);
4919
+ P.Axios = mt;
4920
+ P.CanceledError = tt;
4921
+ P.CancelToken = pu;
4922
+ P.isCancel = nr;
4923
+ P.VERSION = ir;
4924
+ P.toFormData = Lt;
4925
+ P.AxiosError = k;
4926
+ P.Cancel = P.CanceledError;
4927
+ P.all = function(t) {
4928
4928
  return Promise.all(t);
4929
4929
  };
4930
- Y.spread = yu;
4931
- Y.isAxiosError = gu;
4932
- Y.mergeConfig = Pe;
4933
- Y.AxiosHeaders = fe;
4934
- Y.formToJSON = (e) => sr(c.isHTMLForm(e) ? new FormData(e) : e);
4935
- Y.HttpStatusCode = wu;
4936
- Y.default = Y;
4937
- const Su = Y, xs = async function(e) {
4938
- const t = e, s = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : "https://chatadmin-gw.dev.mp.gob.bo", n = {
4930
+ P.spread = yu;
4931
+ P.isAxiosError = gu;
4932
+ P.mergeConfig = Ye;
4933
+ P.AxiosHeaders = fe;
4934
+ P.formToJSON = (e) => sr(c.isHTMLForm(e) ? new FormData(e) : e);
4935
+ P.HttpStatusCode = wu;
4936
+ P.default = P;
4937
+ const Su = P, xs = async function(e) {
4938
+ const t = e, s = window.VITE_BACKEND_URL ? window.VITE_BACKEND_URL : {}.VITE_BACKEND_URL, n = {
4939
4939
  method: t.method,
4940
4940
  url: `${s}${t.url}`,
4941
4941
  headers: {
@@ -5018,7 +5018,7 @@ const Su = Y, xs = async function(e) {
5018
5018
  }), r.value = null, l();
5019
5019
  }, y = async (m) => {
5020
5020
  m.resetConnection && T(), D();
5021
- const P = await bu({
5021
+ const Y = await bu({
5022
5022
  token: t.tokenAuth,
5023
5023
  data: {
5024
5024
  phone: t.phoneUser,
@@ -5026,7 +5026,7 @@ const Su = Y, xs = async function(e) {
5026
5026
  device: null
5027
5027
  }
5028
5028
  });
5029
- P && (i.value = P);
5029
+ Y && (i.value = Y);
5030
5030
  }, D = (m = "webchat") => {
5031
5031
  const { virtualhost: g } = a.value;
5032
5032
  if (!sessionStorage.getItem("tabBrowser")) {
@@ -5056,7 +5056,7 @@ const Su = Y, xs = async function(e) {
5056
5056
  x("h4", Cu, ot(e.titlePrincipal), 1),
5057
5057
  Ve(Vl, {
5058
5058
  class: "pointer",
5059
- onClick: g[0] || (g[0] = (P) => e.toggleChat())
5059
+ onClick: g[0] || (g[0] = (Y) => e.toggleChat())
5060
5060
  })
5061
5061
  ]),
5062
5062
  x("div", {
@@ -5065,10 +5065,10 @@ const Su = Y, xs = async function(e) {
5065
5065
  ref_key: "messagesContainer",
5066
5066
  ref: u
5067
5067
  }, [
5068
- (G(!0), K(ur, null, dr(i.value, (P, F) => (G(), hr(Tl, {
5068
+ (G(!0), K(ur, null, dr(i.value, (Y, F) => (G(), hr(Tl, {
5069
5069
  class: "message",
5070
5070
  key: F,
5071
- message: P
5071
+ message: Y
5072
5072
  }, null, 8, ["message"]))), 128))
5073
5073
  ], 512),
5074
5074
  x("div", Tu, [
@@ -5082,7 +5082,7 @@ const Su = Y, xs = async function(e) {
5082
5082
  ]),
5083
5083
  x("div", xu, [
5084
5084
  mr(x("input", {
5085
- "onUpdate:modelValue": g[1] || (g[1] = (P) => r.value = P),
5085
+ "onUpdate:modelValue": g[1] || (g[1] = (Y) => r.value = Y),
5086
5086
  class: "jl2-input-chat",
5087
5087
  required: ""
5088
5088
  }, null, 512), [
@@ -5098,7 +5098,7 @@ const Su = Y, xs = async function(e) {
5098
5098
  ]));
5099
5099
  }
5100
5100
  });
5101
- const Yu = /* @__PURE__ */ Te(Au, [["__scopeId", "data-v-bacccd51"]]), Pu = {}, Fu = {
5101
+ const Pu = /* @__PURE__ */ Te(Au, [["__scopeId", "data-v-bacccd51"]]), Yu = {}, Fu = {
5102
5102
  width: "87",
5103
5103
  height: "87",
5104
5104
  viewBox: "0 0 87 87",
@@ -5110,14 +5110,15 @@ const Yu = /* @__PURE__ */ Te(Au, [["__scopeId", "data-v-bacccd51"]]), Pu = {},
5110
5110
  function Iu(e, t) {
5111
5111
  return G(), K("svg", Fu, Uu);
5112
5112
  }
5113
- const Wu = /* @__PURE__ */ Te(Pu, [["render", Iu]]), Hu = {
5113
+ const Wu = /* @__PURE__ */ Te(Yu, [["render", Iu]]), Hu = {
5114
5114
  key: 0,
5115
5115
  class: "chat-box"
5116
5116
  }, Bu = /* @__PURE__ */ is({
5117
5117
  __name: "Widget",
5118
5118
  props: {
5119
5119
  tokenAuth: { type: String, required: !0 },
5120
- phoneUser: { type: String, required: !0 }
5120
+ phoneUser: { type: String, required: !0 },
5121
+ titlePrincipal: { type: String }
5121
5122
  },
5122
5123
  setup(e) {
5123
5124
  const t = Oe(!1), s = () => {
@@ -5132,17 +5133,18 @@ const Wu = /* @__PURE__ */ Te(Pu, [["render", Iu]]), Hu = {
5132
5133
  Ve(Wu)
5133
5134
  ]),
5134
5135
  t.value ? (G(), K("div", Hu, [
5135
- Ve(Yu, {
5136
+ Ve(Pu, {
5137
+ titlePrincipal: e.titlePrincipal,
5136
5138
  toggleChat: s,
5137
5139
  tokenAuth: e.tokenAuth,
5138
5140
  phoneUser: e.phoneUser
5139
- }, null, 8, ["tokenAuth", "phoneUser"])
5141
+ }, null, 8, ["titlePrincipal", "tokenAuth", "phoneUser"])
5140
5142
  ])) : yr("", !0)
5141
5143
  ])
5142
5144
  ]));
5143
5145
  }
5144
5146
  });
5145
- const $u = /* @__PURE__ */ Te(Bu, [["__scopeId", "data-v-4b17fe0e"]]), ju = {
5147
+ const $u = /* @__PURE__ */ Te(Bu, [["__scopeId", "data-v-d206ec1e"]]), ju = {
5146
5148
  install(e, t) {
5147
5149
  window.VITE_BACKEND_URL = t.VITE_BACKEND_URL, window.VITE_BROKER_URL = t.VITE_BROKER_URL, window.VITE_USERNAME = t.VITE_USERNAME, window.VITE_PASSWORD = t.VITE_PASSWORD;
5148
5150
  }