lr-chatbot 0.24.4 → 0.24.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +220 -213
  2. package/index.js.map +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -142,8 +142,8 @@ function m() {
142
142
  };
143
143
  }
144
144
  function u(F, A, P, B) {
145
- var W = A && A.prototype instanceof v ? A : v, j = Object.create(W.prototype), ie = new Y(B || []);
146
- return i(j, "_invoke", { value: le(F, P, ie) }), j;
145
+ var W = A && A.prototype instanceof v ? A : v, H = Object.create(W.prototype), ie = new Y(B || []);
146
+ return i(H, "_invoke", { value: le(F, P, ie) }), H;
147
147
  }
148
148
  function d(F, A, P) {
149
149
  try {
@@ -164,7 +164,7 @@ function m() {
164
164
  c($, s, function() {
165
165
  return this;
166
166
  });
167
- var R = Object.getPrototypeOf, U = R && R(R(He([])));
167
+ var R = Object.getPrototypeOf, U = R && R(R(je([])));
168
168
  U && U !== e && n.call(U, s) && ($ = U);
169
169
  var re = _.prototype = v.prototype = Object.create($);
170
170
  function G(F) {
@@ -175,27 +175,27 @@ function m() {
175
175
  });
176
176
  }
177
177
  function he(F, A) {
178
- function P(W, j, ie, ue) {
179
- var ve = d(F[W], F, j);
178
+ function P(W, H, ie, ue) {
179
+ var ve = d(F[W], F, H);
180
180
  if (ve.type !== "throw") {
181
181
  var Ye = ve.arg, Le = Ye.value;
182
- return Le && z(Le) == "object" && n.call(Le, "__await") ? A.resolve(Le.__await).then(function(je) {
183
- P("next", je, ie, ue);
184
- }, function(je) {
185
- P("throw", je, ie, ue);
186
- }) : A.resolve(Le).then(function(je) {
187
- Ye.value = je, ie(Ye);
188
- }, function(je) {
189
- return P("throw", je, ie, ue);
182
+ return Le && z(Le) == "object" && n.call(Le, "__await") ? A.resolve(Le.__await).then(function(He) {
183
+ P("next", He, ie, ue);
184
+ }, function(He) {
185
+ P("throw", He, ie, ue);
186
+ }) : A.resolve(Le).then(function(He) {
187
+ Ye.value = He, ie(Ye);
188
+ }, function(He) {
189
+ return P("throw", He, ie, ue);
190
190
  });
191
191
  }
192
192
  ue(ve.arg);
193
193
  }
194
194
  var B;
195
- i(this, "_invoke", { value: function(j, ie) {
195
+ i(this, "_invoke", { value: function(H, ie) {
196
196
  function ue() {
197
197
  return new A(function(ve, Ye) {
198
- P(j, ie, ve, Ye);
198
+ P(H, ie, ve, Ye);
199
199
  });
200
200
  }
201
201
  return B = B ? B.then(ue, ue) : ue();
@@ -203,13 +203,13 @@ function m() {
203
203
  }
204
204
  function le(F, A, P) {
205
205
  var B = h;
206
- return function(W, j) {
206
+ return function(W, H) {
207
207
  if (B === f) throw Error("Generator is already running");
208
208
  if (B === g) {
209
- if (W === "throw") throw j;
209
+ if (W === "throw") throw H;
210
210
  return { value: t, done: !0 };
211
211
  }
212
- for (P.method = W, P.arg = j; ; ) {
212
+ for (P.method = W, P.arg = H; ; ) {
213
213
  var ie = P.delegate;
214
214
  if (ie) {
215
215
  var ue = Ie(ie, P);
@@ -238,8 +238,8 @@ function m() {
238
238
  if (B === t) return A.delegate = null, P === "throw" && F.iterator.return && (A.method = "return", A.arg = t, Ie(F, A), A.method === "throw") || P !== "return" && (A.method = "throw", A.arg = new TypeError("The iterator does not provide a '" + P + "' method")), y;
239
239
  var W = d(B, F.iterator, A.arg);
240
240
  if (W.type === "throw") return A.method = "throw", A.arg = W.arg, A.delegate = null, y;
241
- var j = W.arg;
242
- return j ? j.done ? (A[F.resultName] = j.value, A.next = F.nextLoc, A.method !== "return" && (A.method = "next", A.arg = t), A.delegate = null, y) : j : (A.method = "throw", A.arg = new TypeError("iterator result is not an object"), A.delegate = null, y);
241
+ var H = W.arg;
242
+ return H ? H.done ? (A[F.resultName] = H.value, A.next = F.nextLoc, A.method !== "return" && (A.method = "next", A.arg = t), A.delegate = null, y) : H : (A.method = "throw", A.arg = new TypeError("iterator result is not an object"), A.delegate = null, y);
243
243
  }
244
244
  function K(F) {
245
245
  var A = { tryLoc: F[0] };
@@ -252,7 +252,7 @@ function m() {
252
252
  function Y(F) {
253
253
  this.tryEntries = [{ tryLoc: "root" }], F.forEach(K, this), this.reset(!0);
254
254
  }
255
- function He(F) {
255
+ function je(F) {
256
256
  if (F || F === "") {
257
257
  var A = F[s];
258
258
  if (A) return A.call(F);
@@ -278,9 +278,9 @@ function m() {
278
278
  return this;
279
279
  }), r.AsyncIterator = he, r.async = function(F, A, P, B, W) {
280
280
  W === void 0 && (W = Promise);
281
- var j = new he(u(F, A, P, B), W);
282
- return r.isGeneratorFunction(A) ? j : j.next().then(function(ie) {
283
- return ie.done ? ie.value : j.next();
281
+ var H = new he(u(F, A, P, B), W);
282
+ return r.isGeneratorFunction(A) ? H : H.next().then(function(ie) {
283
+ return ie.done ? ie.value : H.next();
284
284
  });
285
285
  }, G(re), c(re, l, "Generator"), c(re, s, function() {
286
286
  return this;
@@ -291,12 +291,12 @@ function m() {
291
291
  for (var B in A) P.push(B);
292
292
  return P.reverse(), function W() {
293
293
  for (; P.length; ) {
294
- var j = P.pop();
295
- if (j in A) return W.value = j, W.done = !1, W;
294
+ var H = P.pop();
295
+ if (H in A) return W.value = H, W.done = !1, W;
296
296
  }
297
297
  return W.done = !0, W;
298
298
  };
299
- }, r.values = He, Y.prototype = { constructor: Y, reset: function(A) {
299
+ }, r.values = je, Y.prototype = { constructor: Y, reset: function(A) {
300
300
  if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(ge), !A) for (var P in this) P.charAt(0) === "t" && n.call(this, P) && !isNaN(+P.slice(1)) && (this[P] = t);
301
301
  }, stop: function() {
302
302
  this.done = !0;
@@ -310,18 +310,18 @@ function m() {
310
310
  return ie.type = "throw", ie.arg = A, P.next = Ye, Le && (P.method = "next", P.arg = t), !!Le;
311
311
  }
312
312
  for (var W = this.tryEntries.length - 1; W >= 0; --W) {
313
- var j = this.tryEntries[W], ie = j.completion;
314
- if (j.tryLoc === "root") return B("end");
315
- if (j.tryLoc <= this.prev) {
316
- var ue = n.call(j, "catchLoc"), ve = n.call(j, "finallyLoc");
313
+ var H = this.tryEntries[W], ie = H.completion;
314
+ if (H.tryLoc === "root") return B("end");
315
+ if (H.tryLoc <= this.prev) {
316
+ var ue = n.call(H, "catchLoc"), ve = n.call(H, "finallyLoc");
317
317
  if (ue && ve) {
318
- if (this.prev < j.catchLoc) return B(j.catchLoc, !0);
319
- if (this.prev < j.finallyLoc) return B(j.finallyLoc);
318
+ if (this.prev < H.catchLoc) return B(H.catchLoc, !0);
319
+ if (this.prev < H.finallyLoc) return B(H.finallyLoc);
320
320
  } else if (ue) {
321
- if (this.prev < j.catchLoc) return B(j.catchLoc, !0);
321
+ if (this.prev < H.catchLoc) return B(H.catchLoc, !0);
322
322
  } else {
323
323
  if (!ve) throw Error("try statement without catch or finally");
324
- if (this.prev < j.finallyLoc) return B(j.finallyLoc);
324
+ if (this.prev < H.finallyLoc) return B(H.finallyLoc);
325
325
  }
326
326
  }
327
327
  }
@@ -329,13 +329,13 @@ function m() {
329
329
  for (var B = this.tryEntries.length - 1; B >= 0; --B) {
330
330
  var W = this.tryEntries[B];
331
331
  if (W.tryLoc <= this.prev && n.call(W, "finallyLoc") && this.prev < W.finallyLoc) {
332
- var j = W;
332
+ var H = W;
333
333
  break;
334
334
  }
335
335
  }
336
- j && (A === "break" || A === "continue") && j.tryLoc <= P && P <= j.finallyLoc && (j = null);
337
- var ie = j ? j.completion : {};
338
- return ie.type = A, ie.arg = P, j ? (this.method = "next", this.next = j.finallyLoc, y) : this.complete(ie);
336
+ H && (A === "break" || A === "continue") && H.tryLoc <= P && P <= H.finallyLoc && (H = null);
337
+ var ie = H ? H.completion : {};
338
+ return ie.type = A, ie.arg = P, H ? (this.method = "next", this.next = H.finallyLoc, y) : this.complete(ie);
339
339
  }, complete: function(A, P) {
340
340
  if (A.type === "throw") throw A.arg;
341
341
  return A.type === "break" || A.type === "continue" ? this.next = A.arg : A.type === "return" ? (this.rval = this.arg = A.arg, this.method = "return", this.next = "end") : A.type === "normal" && P && (this.next = P), y;
@@ -350,15 +350,15 @@ function m() {
350
350
  if (B.tryLoc === A) {
351
351
  var W = B.completion;
352
352
  if (W.type === "throw") {
353
- var j = W.arg;
353
+ var H = W.arg;
354
354
  ge(B);
355
355
  }
356
- return j;
356
+ return H;
357
357
  }
358
358
  }
359
359
  throw Error("illegal catch attempt");
360
360
  }, delegateYield: function(A, P, B) {
361
- return this.delegate = { iterator: He(A), resultName: P, nextLoc: B }, this.method === "next" && (this.arg = t), y;
361
+ return this.delegate = { iterator: je(A), resultName: P, nextLoc: B }, this.method === "next" && (this.arg = t), y;
362
362
  } }, r;
363
363
  }
364
364
  function go(t, r, e, n, i, a, s) {
@@ -1932,21 +1932,21 @@ function Nh(t) {
1932
1932
  }
1933
1933
  }
1934
1934
  }
1935
- var Dh = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Bh = /\((c|tm|r|p)\)/ig, Hh = {
1935
+ var Dh = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Bh = /\((c|tm|r|p)\)/ig, jh = {
1936
1936
  c: "©",
1937
1937
  r: "®",
1938
1938
  p: "§",
1939
1939
  tm: "™"
1940
1940
  };
1941
- function jh(t) {
1941
+ function Hh(t) {
1942
1942
  return t.indexOf("(") < 0 ? t : t.replace(Bh, function(r, e) {
1943
- return Hh[e.toLowerCase()];
1943
+ return jh[e.toLowerCase()];
1944
1944
  });
1945
1945
  }
1946
1946
  function Uh(t) {
1947
1947
  var r, e, n, i, a;
1948
1948
  if (t.options.typographer) {
1949
- for (a = t.tokens.length - 1; a >= 0; a--) if (t.tokens[a].type === "inline") for (i = t.tokens[a].children, r = i.length - 1; r >= 0; r--) e = i[r], e.type === "text" && (n = e.content, n = jh(n), Dh.test(n) && (n = n.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/mg, "$1—$2").replace(/(^|\s)--(\s|$)/mg, "$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg, "$1–$2")), e.content = n);
1949
+ for (a = t.tokens.length - 1; a >= 0; a--) if (t.tokens[a].type === "inline") for (i = t.tokens[a].children, r = i.length - 1; r >= 0; r--) e = i[r], e.type === "text" && (n = e.content, n = Hh(n), Dh.test(n) && (n = n.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---([^-]|$)/mg, "$1—$2").replace(/(^|\s)--(\s|$)/mg, "$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg, "$1–$2")), e.content = n);
1950
1950
  }
1951
1951
  }
1952
1952
  var zh = /['"]/, xo = /['"]/g, qh = /[-\s()\[\]]/, Eo = "’";
@@ -2773,7 +2773,7 @@ function Si(t, r) {
2773
2773
  return n ? (i = i.source || i, t = t.replace(n, i), e) : new RegExp(t, r);
2774
2774
  };
2775
2775
  }
2776
- var Lp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Mp = /[^"'=<>`\x00-\x20]+/, Pp = /'[^']*'/, Fp = /"[^"]*"/, $p = Si(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Mp)("single_quoted", Pp)("double_quoted", Fp)(), Np = Si(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", Lp)("attr_value", $p)(), Dp = Si(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Np)(), Bp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, Hp = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, jp = /<[?].*?[?]>/, Up = /<![A-Z]+\s+[^>]*>/, zp = /<!\[CDATA\[[\s\S]*?\]\]>/, qp = Si(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Dp)("close_tag", Bp)("comment", Hp)("processing", jp)("declaration", Up)("cdata", zp)();
2776
+ var Lp = /[a-zA-Z_:][a-zA-Z0-9:._-]*/, Mp = /[^"'=<>`\x00-\x20]+/, Pp = /'[^']*'/, Fp = /"[^"]*"/, $p = Si(/(?:unquoted|single_quoted|double_quoted)/)("unquoted", Mp)("single_quoted", Pp)("double_quoted", Fp)(), Np = Si(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name", Lp)("attr_value", $p)(), Dp = Si(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute", Np)(), Bp = /<\/[A-Za-z][A-Za-z0-9]*\s*>/, jp = /<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/, Hp = /<[?].*?[?]>/, Up = /<![A-Z]+\s+[^>]*>/, zp = /<!\[CDATA\[[\s\S]*?\]\]>/, qp = Si(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag", Dp)("close_tag", Bp)("comment", jp)("processing", Hp)("declaration", Up)("cdata", zp)();
2777
2777
  function Vp(t) {
2778
2778
  var r = t | 32;
2779
2779
  return r >= 97 && r <= 122;
@@ -3770,7 +3770,7 @@ var ye = /* @__PURE__ */ function() {
3770
3770
  openWhenHidden: !0,
3771
3771
  // keep stream open when browser tab not open
3772
3772
  onopen: function(Y) {
3773
- return S(/* @__PURE__ */ m().mark(function He() {
3773
+ return S(/* @__PURE__ */ m().mark(function je() {
3774
3774
  return m().wrap(function(A) {
3775
3775
  for (; ; ) switch (A.prev = A.next) {
3776
3776
  case 0:
@@ -3787,11 +3787,11 @@ var ye = /* @__PURE__ */ function() {
3787
3787
  case "end":
3788
3788
  return A.stop();
3789
3789
  }
3790
- }, He);
3790
+ }, je);
3791
3791
  }))();
3792
3792
  },
3793
3793
  onmessage: function(Y) {
3794
- return S(/* @__PURE__ */ m().mark(function He() {
3794
+ return S(/* @__PURE__ */ m().mark(function je() {
3795
3795
  var F, A, P, B, W;
3796
3796
  return m().wrap(function(ie) {
3797
3797
  for (; ; ) switch (ie.prev = ie.next) {
@@ -3822,7 +3822,7 @@ var ye = /* @__PURE__ */ function() {
3822
3822
  case "end":
3823
3823
  return ie.stop();
3824
3824
  }
3825
- }, He);
3825
+ }, je);
3826
3826
  }))();
3827
3827
  },
3828
3828
  onerror: function(Y) {
@@ -3840,8 +3840,8 @@ var ye = /* @__PURE__ */ function() {
3840
3840
  var Y;
3841
3841
  s.isLastMessageError() || (Y = i.extractResultData) == null || Y.call(i, ge).then(function() {
3842
3842
  X.displayError(s, ge);
3843
- }).catch(function(He) {
3844
- X.displayError(s, He);
3843
+ }).catch(function(je) {
3844
+ X.displayError(s, je);
3845
3845
  });
3846
3846
  }), G));
3847
3847
  case 21:
@@ -7224,7 +7224,7 @@ var Lf = as, Wr = /* @__PURE__ */ function(t) {
7224
7224
  }]);
7225
7225
  }(Oe);
7226
7226
  Wr.AUDIO_TRANSCRIPTIONS_URL = "https://api.openai.com/v1/audio/transcriptions", Wr.AUDIO_TRANSLATIONS_URL = "https://api.openai.com/v1/audio/translations", Wr.DEFAULT_MODEL = "whisper-1";
7227
- var Mf = Wr, Ht = /* @__PURE__ */ function() {
7227
+ var Mf = Wr, jt = /* @__PURE__ */ function() {
7228
7228
  function t() {
7229
7229
  w(this, t);
7230
7230
  }
@@ -7327,7 +7327,7 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
7327
7327
  }(), Pf = /* @__PURE__ */ function(t) {
7328
7328
  function r(e, n, i, a, s) {
7329
7329
  var o;
7330
- return w(this, r), o = q(this, r, [e, Ht.buildLanguageKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Language Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
7330
+ return w(this, r), o = q(this, r, [e, jt.buildLanguageKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Language Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
7331
7331
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", o.permittedErrorPrefixes = ["Access"], o;
7332
7332
  }
7333
7333
  return V(r, t), k(r);
@@ -7336,7 +7336,7 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
7336
7336
  var n, i;
7337
7337
  w(this, r);
7338
7338
  var a, s, o, l, c = (s = (a = e.directConnection) == null ? void 0 : a.azure) == null ? void 0 : s.summarization, u = (o = e.directConnection) == null ? void 0 : o.azure;
7339
- return i = q(this, r, [e, Ht.buildSummarizationHeader, c.endpoint, u]), i.url = "", i.textInputPlaceholderText = "Insert text to summarize", (n = (l = i.rawBody).language) !== null && n !== void 0 || (l.language = "en"), Object.assign(i.rawBody, c), i.url = "".concat(c.endpoint, "/language/analyze-text/jobs?api-version=2022-10-01-preview"), i;
7339
+ return i = q(this, r, [e, jt.buildSummarizationHeader, c.endpoint, u]), i.url = "", i.textInputPlaceholderText = "Insert text to summarize", (n = (l = i.rawBody).language) !== null && n !== void 0 || (l.language = "en"), Object.assign(i.rawBody, c), i.url = "".concat(c.endpoint, "/language/analyze-text/jobs?api-version=2022-10-01-preview"), i;
7340
7340
  }
7341
7341
  return V(r, t), k(r, [{
7342
7342
  key: "preprocessBody",
@@ -7649,7 +7649,7 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
7649
7649
  }(Oe), bu = /* @__PURE__ */ function(t) {
7650
7650
  function r(e, n, i, a, s) {
7651
7651
  var o;
7652
- return w(this, r), o = q(this, r, [e, Ht.buildSpeechKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Speech Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
7652
+ return w(this, r), o = q(this, r, [e, jt.buildSpeechKeyVerificationDetails(i), n, a, s]), o.insertKeyPlaceholderText = "Azure Speech Subscription Key", o.keyHelpUrl = // eslint-disable-next-line max-len
7653
7653
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", o;
7654
7654
  }
7655
7655
  return V(r, t), k(r);
@@ -7658,7 +7658,7 @@ var Mf = Wr, Ht = /* @__PURE__ */ function() {
7658
7658
  var n, i, a, s;
7659
7659
  w(this, r);
7660
7660
  var o, l, c, u, d, h, p = (l = (o = e.directConnection) == null ? void 0 : o.azure) == null ? void 0 : l.textToSpeech, f = (c = e.directConnection) == null ? void 0 : c.azure;
7661
- return s = q(this, r, [e, Ht.buildTextToSpeechHeaders.bind({}, (p == null ? void 0 : p.outputFormat) || "audio-16khz-128kbitrate-mono-mp3"), p.region, f]), s.introPanelMarkUp = `
7661
+ return s = q(this, r, [e, jt.buildTextToSpeechHeaders.bind({}, (p == null ? void 0 : p.outputFormat) || "audio-16khz-128kbitrate-mono-mp3"), p.region, f]), s.introPanelMarkUp = `
7662
7662
  <div style="width: 100%; text-align: center; margin-left: -10px"><b>Azure Text To Speech</b></div>
7663
7663
  <p>Insert text to synthesize it to audio.
7664
7664
  <p>
@@ -7745,7 +7745,7 @@ var Nf = wu, ku = /* @__PURE__ */ function(t) {
7745
7745
  }
7746
7746
  }
7747
7747
  };
7748
- n = q(this, r, [e, Ht.buildSpeechToTextHeaders, o.region, l, c]), n.introPanelMarkUp = `
7748
+ n = q(this, r, [e, jt.buildSpeechToTextHeaders, o.region, l, c]), n.introPanelMarkUp = `
7749
7749
  <div style="width: 100%; text-align: center; margin-left: -10px"><b>Azure Speech To Text</b></div>
7750
7750
  <p><b>Upload a .wav or .ogg audio file</b> to transcribe it into text.
7751
7751
  <p>
@@ -7827,7 +7827,7 @@ var Df = ku, Bf = /* @__PURE__ */ function(t) {
7827
7827
  var n;
7828
7828
  w(this, r);
7829
7829
  var i, a, s, o = (a = (i = e.directConnection) == null ? void 0 : i.azure) == null ? void 0 : a.translation, l = (s = e.directConnection) == null ? void 0 : s.azure;
7830
- return n = q(this, r, [e, Ht.buildTranslationKeyVerificationDetails(o.region), Ht.buildTranslationHeaders.bind({}, o == null ? void 0 : o.region), l]), n.insertKeyPlaceholderText = "Azure Translate Subscription Key", n.keyHelpUrl = // eslint-disable-next-line max-len
7830
+ return n = q(this, r, [e, jt.buildTranslationKeyVerificationDetails(o.region), jt.buildTranslationHeaders.bind({}, o == null ? void 0 : o.region), l]), n.insertKeyPlaceholderText = "Azure Translate Subscription Key", n.keyHelpUrl = // eslint-disable-next-line max-len
7831
7831
  "https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal", n.url = "", n.url = "https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=".concat(o.language || "es"), n;
7832
7832
  }
7833
7833
  return V(r, t), k(r, [{
@@ -8761,7 +8761,7 @@ var Lt = ss, Gr = /* @__PURE__ */ function(t) {
8761
8761
  }]);
8762
8762
  }(Oe);
8763
8763
  Gr.THREAD_PREFIX = "https://api.openai.com/v1/threads", Gr.NEW_ASSISTANT_URL = "https://api.openai.com/v1/assistants", Gr.POLLING_TIMEOUT_MS = 800;
8764
- var Hf = Gr, Kr = /* @__PURE__ */ function(t) {
8764
+ var jf = Gr, Kr = /* @__PURE__ */ function(t) {
8765
8765
  function r(e) {
8766
8766
  var n;
8767
8767
  w(this, r);
@@ -8909,7 +8909,7 @@ var Hf = Gr, Kr = /* @__PURE__ */ function(t) {
8909
8909
  }]);
8910
8910
  }(Oe);
8911
8911
  Kr.IMAGE_GENERATION_URL = "https://api.openai.com/v1/images/generations", Kr.IMAGE_VARIATIONS_URL = "https://api.openai.com/v1/images/variations", Kr.IMAGE_EDIT_URL = "https://api.openai.com/v1/images/edits";
8912
- var jf = Kr, Uf = /* @__PURE__ */ function(t) {
8912
+ var Hf = Kr, Uf = /* @__PURE__ */ function(t) {
8913
8913
  function r(e) {
8914
8914
  var n, i, a;
8915
8915
  w(this, r);
@@ -9351,7 +9351,7 @@ var jf = Kr, Uf = /* @__PURE__ */ function(t) {
9351
9351
  var n = e.directConnection, i = e.connect, a = e.demo, s = e.webModel;
9352
9352
  if (s) return new Rs(e);
9353
9353
  if (n) {
9354
- if (n.openAI) return n.openAI.images ? new jf(e) : n.openAI.speechToText ? new Mf(e) : n.openAI.textToSpeech ? new Lf(e) : n.openAI.assistant ? new Hf(e) : new Uf(e);
9354
+ if (n.openAI) return n.openAI.images ? new Hf(e) : n.openAI.speechToText ? new Mf(e) : n.openAI.textToSpeech ? new Lf(e) : n.openAI.assistant ? new jf(e) : new Uf(e);
9355
9355
  if (n.assemblyAI) return new $f(e);
9356
9356
  if (n.cohere) return n.cohere.textGeneration ? new Of(e) : n.cohere.summarization ? new If(e) : new zf(e);
9357
9357
  if (n.huggingFace) return n.huggingFace.textGeneration ? new _f(e) : n.huggingFace.summarization ? new Cf(e) : n.huggingFace.translation ? new Af(e) : n.huggingFace.fillMask ? new Rf(e) : n.huggingFace.questionAnswer ? new Sf(e) : n.huggingFace.audioSpeechRecognition ? new kf(e) : n.huggingFace.audioClassification ? new vf(e) : n.huggingFace.imageClassification ? new yf(e) : new xf(e);
@@ -9978,7 +9978,7 @@ var em = Gn, di = /* @__PURE__ */ function() {
9978
9978
  e[a].appendChild(n), a === 3 && n.classList.add("outside-right");
9979
9979
  }
9980
9980
  }]);
9981
- }(), Ho = ["camera", "gifs", "images", "audio", "mixedFiles", "submit", "microphone"], Nt = /* @__PURE__ */ function() {
9981
+ }(), jo = ["camera", "gifs", "images", "audio", "mixedFiles", "submit", "microphone"], Nt = /* @__PURE__ */ function() {
9982
9982
  function t() {
9983
9983
  w(this, t);
9984
9984
  }
@@ -10104,7 +10104,7 @@ var em = Gn, di = /* @__PURE__ */ function() {
10104
10104
  }
10105
10105
  }
10106
10106
  }]);
10107
- }(), jo = /* @__PURE__ */ function() {
10107
+ }(), Ho = /* @__PURE__ */ function() {
10108
10108
  function t() {
10109
10109
  w(this, t);
10110
10110
  }
@@ -10217,7 +10217,7 @@ var em = Gn, di = /* @__PURE__ */ function() {
10217
10217
  key: "windowKeyDown",
10218
10218
  value: function(e, n) {
10219
10219
  var i, a, s;
10220
- !e.isConnected && this.keyDownEvent ? window.removeEventListener("keydown", this.keyDownEvent) : this._isOpen && (n.key === ke.ESCAPE ? (this.close(), (i = this.highlightedItem) == null || i.dispatchEvent(new MouseEvent("mouseleave"))) : n.key === ke.ENTER ? ((a = this.highlightedItem) == null || a.click(), (s = this.highlightedItem) == null || s.dispatchEvent(new MouseEvent("mouseleave"))) : n.key === ke.ARROW_DOWN ? jo.focusSiblingItem(this.highlightedItem || this.elementRef.children[this.elementRef.children.length - 1], this.elementRef, !0) : n.key === ke.ARROW_UP && jo.focusSiblingItem(this.highlightedItem || this.elementRef.children[0], this.elementRef, !1));
10220
+ !e.isConnected && this.keyDownEvent ? window.removeEventListener("keydown", this.keyDownEvent) : this._isOpen && (n.key === ke.ESCAPE ? (this.close(), (i = this.highlightedItem) == null || i.dispatchEvent(new MouseEvent("mouseleave"))) : n.key === ke.ENTER ? ((a = this.highlightedItem) == null || a.click(), (s = this.highlightedItem) == null || s.dispatchEvent(new MouseEvent("mouseleave"))) : n.key === ke.ARROW_DOWN ? Ho.focusSiblingItem(this.highlightedItem || this.elementRef.children[this.elementRef.children.length - 1], this.elementRef, !0) : n.key === ke.ARROW_UP && Ho.focusSiblingItem(this.highlightedItem || this.elementRef.children[0], this.elementRef, !1));
10221
10221
  }
10222
10222
  }], [{
10223
10223
  key: "createElement",
@@ -10301,7 +10301,7 @@ var em = Gn, di = /* @__PURE__ */ function() {
10301
10301
  // prettier-ignore
10302
10302
  function(e, n, i, a) {
10303
10303
  var s = new Uo(i, a);
10304
- Ho.forEach(function(l) {
10304
+ jo.forEach(function(l) {
10305
10305
  var c = n["dropup-menu"].findIndex(function(d) {
10306
10306
  return d.buttonType === l;
10307
10307
  }), u = n["dropup-menu"][c];
@@ -10350,7 +10350,7 @@ var em = Gn, di = /* @__PURE__ */ function() {
10350
10350
  o && t.setPosition(e, a, n[o]);
10351
10351
  }), n["inside-right"].length === 0 && e.submit && t.setPosition(e, "submit", n["inside-right"]), n["outside-right"].length === 0 && (e.submit ? t.setPosition(e, "submit", n["outside-right"]) : e.microphone ? t.setPosition(e, "microphone", n["outside-right"]) : e.camera && t.setPosition(e, "camera", n["outside-right"])), e.submit && t.setPosition(e, "submit", n["outside-left"].length === 0 ? n["outside-left"] : n["inside-right"]), e.microphone && t.setPosition(e, "microphone", n["outside-left"].length === 0 ? n["outside-left"] : n["inside-right"]);
10352
10352
  var i = Object.keys(e);
10353
- return i.length > 1 || n["dropup-menu"].length > 0 ? Ho.forEach(function(a) {
10353
+ return i.length > 1 || n["dropup-menu"].length > 0 ? jo.forEach(function(a) {
10354
10354
  e[a] && n["dropup-menu"].push(ne(ne({}, e[a]), {}, {
10355
10355
  buttonType: a
10356
10356
  }));
@@ -11961,7 +11961,7 @@ var Ls = Tu, Ms = /* @__PURE__ */ function() {
11961
11961
  }]);
11962
11962
  }(Ms);
11963
11963
  Ru.TIMER_LIMIT_S = 5999;
11964
- var os = Ru, Hm = /* @__PURE__ */ function() {
11964
+ var os = Ru, jm = /* @__PURE__ */ function() {
11965
11965
  function t() {
11966
11966
  w(this, t);
11967
11967
  }
@@ -11983,7 +11983,7 @@ var os = Ru, Hm = /* @__PURE__ */ function() {
11983
11983
  return k(t, [{
11984
11984
  key: "addType",
11985
11985
  value: function(e, n, i) {
11986
- var a = Hm.create(e, n, this.toggleContainerDisplay.bind(this), this.elementRef, i);
11986
+ var a = jm.create(e, n, this.toggleContainerDisplay.bind(this), this.elementRef, i);
11987
11987
  return this._fileAttachmentsTypes.push(a), a;
11988
11988
  }
11989
11989
  }, {
@@ -12175,7 +12175,7 @@ var os = Ru, Hm = /* @__PURE__ */ function() {
12175
12175
  }]);
12176
12176
  }();
12177
12177
  Ou.MODAL_CLOSE_TIMEOUT_MS = 190;
12178
- var Jn = Ou, jm = /* @__PURE__ */ function(t) {
12178
+ var Jn = Ou, Hm = /* @__PURE__ */ function(t) {
12179
12179
  function r(e, n, i, a, s, o) {
12180
12180
  var l;
12181
12181
  w(this, r);
@@ -12991,7 +12991,7 @@ var Vm = Zr, Wm = `<?xml version="1.0" encoding="utf-8"?>
12991
12991
  Object.keys(n).forEach(function(o) {
12992
12992
  var l = o, c = n[l];
12993
12993
  if (c.files) {
12994
- var u = i.addType(e, c.files, l), d = cm[l], h = d.id, p = d.svgString, f = d.dropupText, g = new jm(a, u, c, h, p, f);
12994
+ var u = i.addType(e, c.files, l), d = cm[l], h = d.id, p = d.svgString, f = d.dropupText, g = new Hm(a, u, c, h, p, f);
12995
12995
  s[l] = {
12996
12996
  button: g,
12997
12997
  fileType: u
@@ -13194,7 +13194,7 @@ const { is: i0, defineProperty: a0, getOwnPropertyDescriptor: s0, getOwnProperty
13194
13194
  }
13195
13195
  }
13196
13196
  return e;
13197
- } }, Hi = (t, r) => !i0(t, r), ul = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: Hi };
13197
+ } }, ji = (t, r) => !i0(t, r), ul = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji };
13198
13198
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), wt.litPropertyMetadata ?? (wt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
13199
13199
  let hn = class extends HTMLElement {
13200
13200
  static addInitializer(r) {
@@ -13321,7 +13321,7 @@ let hn = class extends HTMLElement {
13321
13321
  }
13322
13322
  requestUpdate(r, e, n) {
13323
13323
  if (r !== void 0) {
13324
- if (n ?? (n = this.constructor.getPropertyOptions(r)), !(n.hasChanged ?? Hi)(this[r], e)) return;
13324
+ if (n ?? (n = this.constructor.getPropertyOptions(r)), !(n.hasChanged ?? ji)(this[r], e)) return;
13325
13325
  this.P(r, e, n);
13326
13326
  }
13327
13327
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -13400,9 +13400,9 @@ hn.elementStyles = [], hn.shadowRootOptions = { mode: "open" }, hn[Zn("elementPr
13400
13400
  * Copyright 2017 Google LLC
13401
13401
  * SPDX-License-Identifier: BSD-3-Clause
13402
13402
  */
13403
- const Yn = globalThis, pi = Yn.trustedTypes, dl = pi ? pi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Mu = "$lit$", vt = `lit$${Math.random().toFixed(9).slice(2)}$`, Pu = "?" + vt, d0 = `<${Pu}>`, jt = document, lr = () => jt.createComment(""), cr = (t) => t === null || typeof t != "object" && typeof t != "function", Fu = Array.isArray, h0 = (t) => Fu(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wa = `[
13403
+ const Yn = globalThis, pi = Yn.trustedTypes, dl = pi ? pi.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Mu = "$lit$", vt = `lit$${Math.random().toFixed(9).slice(2)}$`, Pu = "?" + vt, d0 = `<${Pu}>`, Ht = document, lr = () => Ht.createComment(""), cr = (t) => t === null || typeof t != "object" && typeof t != "function", Fu = Array.isArray, h0 = (t) => Fu(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wa = `[
13404
13404
  \f\r]`, Mn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, hl = /-->/g, pl = />/g, Ft = RegExp(`>|${wa}(?:([^\\s"'>=/]+)(${wa}*=${wa}*(?:[^
13405
- \f\r"'\`<>=]|("|')|))|$)`, "g"), fl = /'/g, ml = /"/g, $u = /^(?:script|style|textarea|title)$/i, Nu = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), be = Nu(1), st = Nu(2), St = Symbol.for("lit-noChange"), oe = Symbol.for("lit-nothing"), gl = /* @__PURE__ */ new WeakMap(), $t = jt.createTreeWalker(jt, 129);
13405
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), fl = /'/g, ml = /"/g, $u = /^(?:script|style|textarea|title)$/i, Nu = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), be = Nu(1), st = Nu(2), St = Symbol.for("lit-noChange"), oe = Symbol.for("lit-nothing"), gl = /* @__PURE__ */ new WeakMap(), $t = Ht.createTreeWalker(Ht, 129);
13406
13406
  function Du(t, r) {
13407
13407
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
13408
13408
  return dl !== void 0 ? dl.createHTML(r) : r;
@@ -13433,7 +13433,7 @@ class ur {
13433
13433
  if (i.nodeType === 1) {
13434
13434
  if (i.hasAttributes()) for (const d of i.getAttributeNames()) if (d.endsWith(Mu)) {
13435
13435
  const h = u[s++], p = i.getAttribute(d).split(vt), f = /([.?@])?(.*)/.exec(h);
13436
- l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? m0 : f[1] === "?" ? g0 : f[1] === "@" ? v0 : ji }), i.removeAttribute(d);
13436
+ l.push({ type: 1, index: a, name: f[2], strings: p, ctor: f[1] === "." ? m0 : f[1] === "?" ? g0 : f[1] === "@" ? v0 : Hi }), i.removeAttribute(d);
13437
13437
  } else d.startsWith(vt) && (l.push({ type: 6, index: a }), i.removeAttribute(d));
13438
13438
  if ($u.test(i.tagName)) {
13439
13439
  const d = i.textContent.split(vt), h = d.length - 1;
@@ -13452,7 +13452,7 @@ class ur {
13452
13452
  }
13453
13453
  }
13454
13454
  static createElement(r, e) {
13455
- const n = jt.createElement("template");
13455
+ const n = Ht.createElement("template");
13456
13456
  return n.innerHTML = r, n;
13457
13457
  }
13458
13458
  }
@@ -13474,7 +13474,7 @@ class f0 {
13474
13474
  return this._$AM._$AU;
13475
13475
  }
13476
13476
  u(r) {
13477
- const { el: { content: e }, parts: n } = this._$AD, i = ((r == null ? void 0 : r.creationScope) ?? jt).importNode(e, !0);
13477
+ const { el: { content: e }, parts: n } = this._$AD, i = ((r == null ? void 0 : r.creationScope) ?? Ht).importNode(e, !0);
13478
13478
  $t.currentNode = i;
13479
13479
  let a = $t.nextNode(), s = 0, o = 0, l = n[0];
13480
13480
  for (; l !== void 0; ) {
@@ -13484,7 +13484,7 @@ class f0 {
13484
13484
  }
13485
13485
  s !== (l == null ? void 0 : l.index) && (a = $t.nextNode(), s++);
13486
13486
  }
13487
- return $t.currentNode = jt, i;
13487
+ return $t.currentNode = Ht, i;
13488
13488
  }
13489
13489
  p(r) {
13490
13490
  let e = 0;
@@ -13520,7 +13520,7 @@ class Cr {
13520
13520
  this._$AH !== r && (this._$AR(), this._$AH = this.S(r));
13521
13521
  }
13522
13522
  _(r) {
13523
- this._$AH !== oe && cr(this._$AH) ? this._$AA.nextSibling.data = r : this.T(jt.createTextNode(r)), this._$AH = r;
13523
+ this._$AH !== oe && cr(this._$AH) ? this._$AA.nextSibling.data = r : this.T(Ht.createTextNode(r)), this._$AH = r;
13524
13524
  }
13525
13525
  $(r) {
13526
13526
  var a;
@@ -13554,7 +13554,7 @@ class Cr {
13554
13554
  this._$AM === void 0 && (this._$Cv = r, (e = this._$AP) == null || e.call(this, r));
13555
13555
  }
13556
13556
  }
13557
- class ji {
13557
+ class Hi {
13558
13558
  get tagName() {
13559
13559
  return this.element.tagName;
13560
13560
  }
@@ -13579,7 +13579,7 @@ class ji {
13579
13579
  r === oe ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, r ?? "");
13580
13580
  }
13581
13581
  }
13582
- class m0 extends ji {
13582
+ class m0 extends Hi {
13583
13583
  constructor() {
13584
13584
  super(...arguments), this.type = 3;
13585
13585
  }
@@ -13587,7 +13587,7 @@ class m0 extends ji {
13587
13587
  this.element[this.name] = r === oe ? void 0 : r;
13588
13588
  }
13589
13589
  }
13590
- class g0 extends ji {
13590
+ class g0 extends Hi {
13591
13591
  constructor() {
13592
13592
  super(...arguments), this.type = 4;
13593
13593
  }
@@ -13595,7 +13595,7 @@ class g0 extends ji {
13595
13595
  this.element.toggleAttribute(this.name, !!r && r !== oe);
13596
13596
  }
13597
13597
  }
13598
- class v0 extends ji {
13598
+ class v0 extends Hi {
13599
13599
  constructor(r, e, n, i, a) {
13600
13600
  super(r, e, n, i, a), this.type = 5;
13601
13601
  }
@@ -13935,7 +13935,7 @@ const Be = (t) => (r, e) => {
13935
13935
  * Copyright 2017 Google LLC
13936
13936
  * SPDX-License-Identifier: BSD-3-Clause
13937
13937
  */
13938
- const _0 = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: Hi }, S0 = (t = _0, r, e) => {
13938
+ const _0 = { attribute: !0, type: String, converter: hi, reflect: !1, hasChanged: ji }, S0 = (t = _0, r, e) => {
13939
13939
  const { kind: n, metadata: i } = e;
13940
13940
  let a = globalThis.litPropertyMetadata.get(i);
13941
13941
  if (a === void 0 && globalThis.litPropertyMetadata.set(i, a = /* @__PURE__ */ new Map()), a.set(e.name, t), n === "accessor") {
@@ -14027,7 +14027,7 @@ const Bu = zi(class extends Ns {
14027
14027
  return St;
14028
14028
  }
14029
14029
  });
14030
- var Hu = typeof global == "object" && global && global.Object === Object && global, C0 = typeof self == "object" && self && self.Object === Object && self, Ze = Hu || C0 || Function("return this")(), Ct = Ze.Symbol, ju = Object.prototype, x0 = ju.hasOwnProperty, E0 = ju.toString, Pn = Ct ? Ct.toStringTag : void 0;
14030
+ var ju = typeof global == "object" && global && global.Object === Object && global, C0 = typeof self == "object" && self && self.Object === Object && self, Ze = ju || C0 || Function("return this")(), Ct = Ze.Symbol, Hu = Object.prototype, x0 = Hu.hasOwnProperty, E0 = Hu.toString, Pn = Ct ? Ct.toStringTag : void 0;
14031
14031
  function A0(t) {
14032
14032
  var r = x0.call(t, Pn), e = t[Pn];
14033
14033
  try {
@@ -14083,7 +14083,7 @@ function We(t) {
14083
14083
  var r = typeof t;
14084
14084
  return t != null && (r == "object" || r == "function");
14085
14085
  }
14086
- var wl = NaN, H0 = /^[-+]0x[0-9a-f]+$/i, j0 = /^0b[01]+$/i, U0 = /^0o[0-7]+$/i, z0 = parseInt;
14086
+ var wl = NaN, j0 = /^[-+]0x[0-9a-f]+$/i, H0 = /^0b[01]+$/i, U0 = /^0o[0-7]+$/i, z0 = parseInt;
14087
14087
  function q0(t) {
14088
14088
  if (typeof t == "number")
14089
14089
  return t;
@@ -14096,8 +14096,8 @@ function q0(t) {
14096
14096
  if (typeof t != "string")
14097
14097
  return t === 0 ? t : +t;
14098
14098
  t = B0(t);
14099
- var e = j0.test(t);
14100
- return e || U0.test(t) ? z0(t.slice(2), e ? 2 : 8) : H0.test(t) ? wl : +t;
14099
+ var e = H0.test(t);
14100
+ return e || U0.test(t) ? z0(t.slice(2), e ? 2 : 8) : j0.test(t) ? wl : +t;
14101
14101
  }
14102
14102
  var kl = 1 / 0, V0 = 17976931348623157e292;
14103
14103
  function W0(t) {
@@ -14209,7 +14209,7 @@ function dg(t, r, e) {
14209
14209
  }
14210
14210
  return a;
14211
14211
  }
14212
- function Hs(t, r, e) {
14212
+ function js(t, r, e) {
14213
14213
  switch (e.length) {
14214
14214
  case 0:
14215
14215
  return t.call(r);
@@ -14247,13 +14247,13 @@ function fg(t, r) {
14247
14247
  t[e] === r && ++n;
14248
14248
  return n;
14249
14249
  }
14250
- function js() {
14250
+ function Hs() {
14251
14251
  }
14252
14252
  var mg = 4294967295;
14253
14253
  function bn(t) {
14254
14254
  this.__wrapped__ = t, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = mg, this.__views__ = [];
14255
14255
  }
14256
- bn.prototype = Wi(js.prototype);
14256
+ bn.prototype = Wi(Hs.prototype);
14257
14257
  bn.prototype.constructor = bn;
14258
14258
  function gg() {
14259
14259
  }
@@ -14271,7 +14271,7 @@ function bg(t) {
14271
14271
  function wn(t, r) {
14272
14272
  this.__wrapped__ = t, this.__actions__ = [], this.__chain__ = !!r, this.__index__ = 0, this.__values__ = void 0;
14273
14273
  }
14274
- wn.prototype = Wi(js.prototype);
14274
+ wn.prototype = Wi(Hs.prototype);
14275
14275
  wn.prototype.constructor = wn;
14276
14276
  function Us(t, r) {
14277
14277
  var e = -1, n = t.length;
@@ -14295,7 +14295,7 @@ function mi(t) {
14295
14295
  }
14296
14296
  return new wn(t);
14297
14297
  }
14298
- mi.prototype = js.prototype;
14298
+ mi.prototype = Hs.prototype;
14299
14299
  mi.prototype.constructor = mi;
14300
14300
  function Sg(t) {
14301
14301
  var r = bg(t), e = mi[r];
@@ -14380,10 +14380,10 @@ function Bg(t, r) {
14380
14380
  var e = t == null ? 0 : t.length;
14381
14381
  return !!e && Dg(t, r, 0) > -1;
14382
14382
  }
14383
- var Hg = 1, jg = 2, Ug = 8, zg = 16, qg = 32, Vg = 64, Wg = 128, Gg = 256, Kg = 512, Jg = [
14383
+ var jg = 1, Hg = 2, Ug = 8, zg = 16, qg = 32, Vg = 64, Wg = 128, Gg = 256, Kg = 512, Jg = [
14384
14384
  ["ary", Wg],
14385
- ["bind", Hg],
14386
- ["bindKey", jg],
14385
+ ["bind", jg],
14386
+ ["bindKey", Hg],
14387
14387
  ["curry", Ug],
14388
14388
  ["curryRight", zg],
14389
14389
  ["flip", Kg],
@@ -14492,7 +14492,7 @@ function dv(t, r, e) {
14492
14492
  e - a
14493
14493
  );
14494
14494
  var u = this && this !== Ze && this instanceof i ? n : t;
14495
- return Hs(u, this, s);
14495
+ return js(u, this, s);
14496
14496
  }
14497
14497
  return i;
14498
14498
  }
@@ -14504,7 +14504,7 @@ function pv(t, r, e, n) {
14504
14504
  d[c] = n[c];
14505
14505
  for (; l--; )
14506
14506
  d[c++] = arguments[++o];
14507
- return Hs(h, i ? e : this, d);
14507
+ return js(h, i ? e : this, d);
14508
14508
  }
14509
14509
  return s;
14510
14510
  }
@@ -14582,7 +14582,7 @@ function Qu(t, r, e) {
14582
14582
  i = -1;
14583
14583
  for (var o = Array(r + 1); ++i < r; )
14584
14584
  o[i] = n[i];
14585
- return o[r] = e(s), Hs(t, this, o);
14585
+ return o[r] = e(s), js(t, this, o);
14586
14586
  };
14587
14587
  }
14588
14588
  function Cv(t, r) {
@@ -14633,9 +14633,9 @@ var td = Object.prototype, Iv = td.hasOwnProperty, Lv = td.propertyIsEnumerable,
14633
14633
  function Mv() {
14634
14634
  return !1;
14635
14635
  }
14636
- var nd = typeof exports == "object" && exports && !exports.nodeType && exports, Dl = nd && typeof module == "object" && module && !module.nodeType && module, Pv = Dl && Dl.exports === nd, Bl = Pv ? Ze.Buffer : void 0, Fv = Bl ? Bl.isBuffer : void 0, rd = Fv || Mv, $v = "[object Arguments]", Nv = "[object Array]", Dv = "[object Boolean]", Bv = "[object Date]", Hv = "[object Error]", jv = "[object Function]", Uv = "[object Map]", zv = "[object Number]", qv = "[object Object]", Vv = "[object RegExp]", Wv = "[object Set]", Gv = "[object String]", Kv = "[object WeakMap]", Jv = "[object ArrayBuffer]", Zv = "[object DataView]", Yv = "[object Float32Array]", Xv = "[object Float64Array]", Qv = "[object Int8Array]", e1 = "[object Int16Array]", t1 = "[object Int32Array]", n1 = "[object Uint8Array]", r1 = "[object Uint8ClampedArray]", i1 = "[object Uint16Array]", a1 = "[object Uint32Array]", de = {};
14636
+ var nd = typeof exports == "object" && exports && !exports.nodeType && exports, Dl = nd && typeof module == "object" && module && !module.nodeType && module, Pv = Dl && Dl.exports === nd, Bl = Pv ? Ze.Buffer : void 0, Fv = Bl ? Bl.isBuffer : void 0, rd = Fv || Mv, $v = "[object Arguments]", Nv = "[object Array]", Dv = "[object Boolean]", Bv = "[object Date]", jv = "[object Error]", Hv = "[object Function]", Uv = "[object Map]", zv = "[object Number]", qv = "[object Object]", Vv = "[object RegExp]", Wv = "[object Set]", Gv = "[object String]", Kv = "[object WeakMap]", Jv = "[object ArrayBuffer]", Zv = "[object DataView]", Yv = "[object Float32Array]", Xv = "[object Float64Array]", Qv = "[object Int8Array]", e1 = "[object Int16Array]", t1 = "[object Int32Array]", n1 = "[object Uint8Array]", r1 = "[object Uint8ClampedArray]", i1 = "[object Uint16Array]", a1 = "[object Uint32Array]", de = {};
14637
14637
  de[Yv] = de[Xv] = de[Qv] = de[e1] = de[t1] = de[n1] = de[r1] = de[i1] = de[a1] = !0;
14638
- de[$v] = de[Nv] = de[Jv] = de[Dv] = de[Zv] = de[Bv] = de[Hv] = de[jv] = de[Uv] = de[zv] = de[qv] = de[Vv] = de[Wv] = de[Gv] = de[Kv] = !1;
14638
+ de[$v] = de[Nv] = de[Jv] = de[Dv] = de[Zv] = de[Bv] = de[jv] = de[Hv] = de[Uv] = de[zv] = de[qv] = de[Vv] = de[Wv] = de[Gv] = de[Kv] = !1;
14639
14639
  function s1(t) {
14640
14640
  return Rt(t) && Ws(t.length) && !!de[Tn(t)];
14641
14641
  }
@@ -14644,13 +14644,13 @@ function o1(t) {
14644
14644
  return t(r);
14645
14645
  };
14646
14646
  }
14647
- var id = typeof exports == "object" && exports && !exports.nodeType && exports, Qn = id && typeof module == "object" && module && !module.nodeType && module, l1 = Qn && Qn.exports === id, Ta = l1 && Hu.process, Hl = function() {
14647
+ var id = typeof exports == "object" && exports && !exports.nodeType && exports, Qn = id && typeof module == "object" && module && !module.nodeType && module, l1 = Qn && Qn.exports === id, Ta = l1 && ju.process, jl = function() {
14648
14648
  try {
14649
14649
  var t = Qn && Qn.require && Qn.require("util").types;
14650
14650
  return t || Ta && Ta.binding && Ta.binding("util");
14651
14651
  } catch {
14652
14652
  }
14653
- }(), jl = Hl && Hl.isTypedArray, ad = jl ? o1(jl) : s1;
14653
+ }(), Hl = jl && jl.isTypedArray, ad = Hl ? o1(Hl) : s1;
14654
14654
  function c1(t, r) {
14655
14655
  var e = it(t), n = !e && hr(t), i = !e && !n && rd(t), a = !e && !n && !i && ad(t), s = e || n || i || a, o = s ? Rv(t.length, String) : [], l = o.length;
14656
14656
  for (var c in t)
@@ -14794,10 +14794,10 @@ function D1(t) {
14794
14794
  function B1(t) {
14795
14795
  return Ji(this, t).get(t);
14796
14796
  }
14797
- function H1(t) {
14797
+ function j1(t) {
14798
14798
  return Ji(this, t).has(t);
14799
14799
  }
14800
- function j1(t, r) {
14800
+ function H1(t, r) {
14801
14801
  var e = Ji(this, t), n = e.size;
14802
14802
  return e.set(t, r), this.size += e.size == n ? 0 : 1, this;
14803
14803
  }
@@ -14811,8 +14811,8 @@ function Ot(t) {
14811
14811
  Ot.prototype.clear = $1;
14812
14812
  Ot.prototype.delete = D1;
14813
14813
  Ot.prototype.get = B1;
14814
- Ot.prototype.has = H1;
14815
- Ot.prototype.set = j1;
14814
+ Ot.prototype.has = j1;
14815
+ Ot.prototype.set = H1;
14816
14816
  var U1 = "Expected a function";
14817
14817
  function Ks(t, r) {
14818
14818
  if (typeof t != "function" || r != null && typeof r != "function")
@@ -15272,7 +15272,7 @@ Er(function(t, r) {
15272
15272
  };
15273
15273
  return pe(i);
15274
15274
  });
15275
- const H2 = Er(function(t, r, e) {
15275
+ const j2 = Er(function(t, r, e) {
15276
15276
  if (r === "transparent") return e;
15277
15277
  if (e === "transparent") return r;
15278
15278
  if (t === 0) return e;
@@ -15291,9 +15291,9 @@ const H2 = Er(function(t, r, e) {
15291
15291
  return pe(p);
15292
15292
  });
15293
15293
  Er(function(t, r) {
15294
- return r === "transparent" ? r : H2(parseFloat(t.toString()), "rgb(0, 0, 0)", r);
15294
+ return r === "transparent" ? r : j2(parseFloat(t.toString()), "rgb(0, 0, 0)", r);
15295
15295
  });
15296
- const j2 = /^#[a-fA-F0-9]{6}$/, U2 = /^#[a-fA-F0-9]{8}$/, z2 = /^#[a-fA-F0-9]{3}$/, q2 = /^#[a-fA-F0-9]{4}$/, Oa = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, V2 = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, W2 = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, G2 = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
15296
+ const H2 = /^#[a-fA-F0-9]{6}$/, U2 = /^#[a-fA-F0-9]{8}$/, z2 = /^#[a-fA-F0-9]{3}$/, q2 = /^#[a-fA-F0-9]{4}$/, Oa = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i, V2 = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i, W2 = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i, G2 = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
15297
15297
  function pe(t, r, e, n) {
15298
15298
  if (typeof t == "string" && typeof r == "number") {
15299
15299
  const i = yi(t);
@@ -15317,7 +15317,7 @@ function yi(t) {
15317
15317
  if (typeof t != "string")
15318
15318
  throw new tt(3);
15319
15319
  const r = D2(t);
15320
- if (r.match(j2))
15320
+ if (r.match(H2))
15321
15321
  return {
15322
15322
  red: parseInt(`${r[1]}${r[2]}`, 16),
15323
15323
  green: parseInt(`${r[3]}${r[4]}`, 16),
@@ -17370,31 +17370,31 @@ var sc = {}, oc = function(t) {
17370
17370
  var Ie = R === "[object Array]", K = Ie ? [] : {}, ge = Ie ? $ : _;
17371
17371
  for (var Y in b)
17372
17372
  if (Object.prototype.hasOwnProperty.call(b, Y)) {
17373
- var He = "".concat(ge).concat(c).concat(Y);
17374
- K[Y] = this.translate(He, xe(xe({}, a), {
17373
+ var je = "".concat(ge).concat(c).concat(Y);
17374
+ K[Y] = this.translate(je, xe(xe({}, a), {
17375
17375
  joinArrays: !1,
17376
17376
  ns: h
17377
- })), K[Y] === He && (K[Y] = b[Y]);
17377
+ })), K[Y] === je && (K[Y] = b[Y]);
17378
17378
  }
17379
17379
  b = K;
17380
17380
  }
17381
17381
  } else if (G && typeof re == "string" && R === "[object Array]")
17382
17382
  b = b.join(re), b && (b = this.extendTranslation(b, i, a, s));
17383
17383
  else {
17384
- var F = !1, A = !1, P = a.count !== void 0 && typeof a.count != "string", B = e.hasDefaultValue(a), W = P ? this.pluralResolver.getSuffix(f, a.count, a) : "", j = a["defaultValue".concat(W)] || a.defaultValue;
17385
- !this.isValidLookup(b) && B && (F = !0, b = j), this.isValidLookup(b) || (A = !0, b = d);
17386
- var ie = a.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, ue = ie && A ? void 0 : b, ve = B && j !== b && this.options.updateMissing;
17384
+ var F = !1, A = !1, P = a.count !== void 0 && typeof a.count != "string", B = e.hasDefaultValue(a), W = P ? this.pluralResolver.getSuffix(f, a.count, a) : "", H = a["defaultValue".concat(W)] || a.defaultValue;
17385
+ !this.isValidLookup(b) && B && (F = !0, b = H), this.isValidLookup(b) || (A = !0, b = d);
17386
+ var ie = a.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, ue = ie && A ? void 0 : b, ve = B && H !== b && this.options.updateMissing;
17387
17387
  if (A || F || ve) {
17388
- if (this.logger.log(ve ? "updateKey" : "missingKey", f, p, d, ve ? j : b), c) {
17388
+ if (this.logger.log(ve ? "updateKey" : "missingKey", f, p, d, ve ? H : b), c) {
17389
17389
  var Ye = this.resolve(d, xe(xe({}, a), {}, {
17390
17390
  keySeparator: !1
17391
17391
  }));
17392
17392
  Ye && Ye.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
17393
17393
  }
17394
- var Le = [], je = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
17395
- if (this.options.saveMissingTo === "fallback" && je && je[0])
17396
- for (var aa = 0; aa < je.length; aa++)
17397
- Le.push(je[aa]);
17394
+ var Le = [], He = this.languageUtils.getFallbackCodes(this.options.fallbackLng, a.lng || this.language);
17395
+ if (this.options.saveMissingTo === "fallback" && He && He[0])
17396
+ for (var aa = 0; aa < He.length; aa++)
17397
+ Le.push(He[aa]);
17398
17398
  else this.options.saveMissingTo === "all" ? Le = this.languageUtils.toResolveHierarchy(a.lng || this.language) : Le.push(a.lng || this.language);
17399
17399
  var po = function(Xt, oa, fo) {
17400
17400
  var mo = B && fo !== b ? fo : ue;
@@ -17402,9 +17402,9 @@ var sc = {}, oc = function(t) {
17402
17402
  };
17403
17403
  this.options.saveMissing && (this.options.saveMissingPlurals && P ? Le.forEach(function(sa) {
17404
17404
  o.pluralResolver.getSuffixes(sa, a).forEach(function(Xt) {
17405
- po([sa], d + Xt, a["defaultValue".concat(Xt)] || j);
17405
+ po([sa], d + Xt, a["defaultValue".concat(Xt)] || H);
17406
17406
  });
17407
- }) : po(Le, d, j));
17407
+ }) : po(Le, d, H));
17408
17408
  }
17409
17409
  b = this.extendTranslation(b, i, a, v, s), A && b === d && this.options.appendNamespaceToMissingKey && (b = "".concat(p, ":").concat(d)), (A || F) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? b = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? "".concat(p, ":").concat(d) : d, F ? b : void 0) : b = this.options.parseMissingKeyHandler(b));
17410
17410
  }
@@ -18425,7 +18425,7 @@ function Dy() {
18425
18425
  return !1;
18426
18426
  }
18427
18427
  }
18428
- function Hr() {
18428
+ function jr() {
18429
18429
  }
18430
18430
  function By(t) {
18431
18431
  var r = Object.getOwnPropertyNames(Object.getPrototypeOf(t));
@@ -18484,7 +18484,7 @@ var ki = function(t) {
18484
18484
  v.init && v.init(i);
18485
18485
  });
18486
18486
  }
18487
- if (this.format = this.options.interpolation.format, s || (s = Hr), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
18487
+ if (this.format = this.options.interpolation.format, s || (s = jr), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
18488
18488
  var h = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
18489
18489
  h.length > 0 && h[0] !== "dev" && (this.options.lng = h[0]);
18490
18490
  }
@@ -18515,7 +18515,7 @@ var ki = function(t) {
18515
18515
  }, {
18516
18516
  key: "loadResources",
18517
18517
  value: function(i) {
18518
- var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Hr, o = s, l = typeof i == "string" ? i : this.language;
18518
+ var a = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : jr, o = s, l = typeof i == "string" ? i : this.language;
18519
18519
  if (typeof i == "function" && (o = i), !this.options.resources || this.options.partialBundledLanguages) {
18520
18520
  if (l && l.toLowerCase() === "cimode") return o();
18521
18521
  var c = [], u = function(p) {
@@ -18546,7 +18546,7 @@ var ki = function(t) {
18546
18546
  key: "reloadResources",
18547
18547
  value: function(i, a, s) {
18548
18548
  var o = $n();
18549
- return i || (i = this.languages), a || (a = this.options.ns), s || (s = Hr), this.services.backendConnector.reload(i, a, function(l) {
18549
+ return i || (i = this.languages), a || (a = this.options.ns), s || (s = jr), this.services.backendConnector.reload(i, a, function(l) {
18550
18550
  o.resolve(), s(l);
18551
18551
  }), o;
18552
18552
  }
@@ -18681,7 +18681,7 @@ var ki = function(t) {
18681
18681
  }, {
18682
18682
  key: "cloneInstance",
18683
18683
  value: function() {
18684
- var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Hr, o = Qe(Qe(Qe({}, this.options), a), {
18684
+ var i = this, a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : jr, o = Qe(Qe(Qe({}, this.options), a), {
18685
18685
  isClone: !0
18686
18686
  }), l = new e(o);
18687
18687
  (a.debug !== void 0 || a.prefix !== void 0) && (l.logger = l.logger.clone(a));
@@ -18731,7 +18731,7 @@ Se.setDefaultNamespace;
18731
18731
  Se.hasLoadedNamespace;
18732
18732
  Se.loadNamespaces;
18733
18733
  Se.loadLanguages;
18734
- const Hy = {
18734
+ const jy = {
18735
18735
  fallbackLng: "fr",
18736
18736
  postProcess: "displayKeys",
18737
18737
  appendNamespaceToMissingKey: !0,
@@ -18751,7 +18751,7 @@ const Hy = {
18751
18751
  * Copyright 2017 Google LLC
18752
18752
  * SPDX-License-Identifier: BSD-3-Clause
18753
18753
  */
18754
- const La = { INITIAL: 0, PENDING: 1, COMPLETE: 2, ERROR: 3 }, jy = Symbol();
18754
+ const La = { INITIAL: 0, PENDING: 1, COMPLETE: 2, ERROR: 3 }, Hy = Symbol();
18755
18755
  let vd = class {
18756
18756
  get taskComplete() {
18757
18757
  return this.t || (this.i === 1 ? this.t = new Promise((r, e) => {
@@ -18793,7 +18793,7 @@ let vd = class {
18793
18793
  a = !0, n = d;
18794
18794
  }
18795
18795
  if (this.p === i) {
18796
- if (e === jy) this.i = 0;
18796
+ if (e === Hy) this.i = 0;
18797
18797
  else {
18798
18798
  if (a === !1) {
18799
18799
  try {
@@ -18842,7 +18842,7 @@ let vd = class {
18842
18842
  }
18843
18843
  }
18844
18844
  };
18845
- const Uy = (t, r) => t === r || t.length === r.length && t.every((e, n) => !Hi(e, r[n]));
18845
+ const Uy = (t, r) => t === r || t.length === r.length && t.every((e, n) => !ji(e, r[n]));
18846
18846
  class zy extends vd {
18847
18847
  constructor(r, e, n, i = !1) {
18848
18848
  super(r, {
@@ -18865,7 +18865,7 @@ class zy extends vd {
18865
18865
  }
18866
18866
  async setI18nResources(r, e) {
18867
18867
  await Se.init({
18868
- ...Hy,
18868
+ ...jy,
18869
18869
  lng: r,
18870
18870
  resources: {
18871
18871
  [r]: e
@@ -18932,7 +18932,7 @@ var Ys = {};
18932
18932
  */
18933
18933
  Ys.parse = Jy;
18934
18934
  Ys.serialize = Zy;
18935
- var Ky = Object.prototype.toString, jr = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
18935
+ var Ky = Object.prototype.toString, Hr = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
18936
18936
  function Jy(t, r) {
18937
18937
  if (typeof t != "string")
18938
18938
  throw new TypeError("argument str must be a string");
@@ -18960,10 +18960,10 @@ function Zy(t, r, e) {
18960
18960
  var n = e || {}, i = n.encode || Xy;
18961
18961
  if (typeof i != "function")
18962
18962
  throw new TypeError("option encode is invalid");
18963
- if (!jr.test(t))
18963
+ if (!Hr.test(t))
18964
18964
  throw new TypeError("argument name is invalid");
18965
18965
  var a = i(r);
18966
- if (a && !jr.test(a))
18966
+ if (a && !Hr.test(a))
18967
18967
  throw new TypeError("argument val is invalid");
18968
18968
  var s = t + "=" + a;
18969
18969
  if (n.maxAge != null) {
@@ -18973,12 +18973,12 @@ function Zy(t, r, e) {
18973
18973
  s += "; Max-Age=" + Math.floor(o);
18974
18974
  }
18975
18975
  if (n.domain) {
18976
- if (!jr.test(n.domain))
18976
+ if (!Hr.test(n.domain))
18977
18977
  throw new TypeError("option domain is invalid");
18978
18978
  s += "; Domain=" + n.domain;
18979
18979
  }
18980
18980
  if (n.path) {
18981
- if (!jr.test(n.path))
18981
+ if (!Hr.test(n.path))
18982
18982
  throw new TypeError("option path is invalid");
18983
18983
  s += "; Path=" + n.path;
18984
18984
  }
@@ -19364,7 +19364,7 @@ function wc(t, r, e) {
19364
19364
  function Bb(t) {
19365
19365
  return E.isArray(t) && !t.some(ps);
19366
19366
  }
19367
- const Hb = E.toFlatObject(E, {}, null, function(r) {
19367
+ const jb = E.toFlatObject(E, {}, null, function(r) {
19368
19368
  return /^is[A-Z]/.test(r);
19369
19369
  });
19370
19370
  function na(t, r, e) {
@@ -19404,7 +19404,7 @@ function na(t, r, e) {
19404
19404
  }
19405
19405
  return ps(f) ? !0 : (r.append(wc(y, g, a), c(f)), !1);
19406
19406
  }
19407
- const d = [], h = Object.assign(Hb, {
19407
+ const d = [], h = Object.assign(jb, {
19408
19408
  defaultVisitor: u,
19409
19409
  convertValue: c,
19410
19410
  isVisitable: ps
@@ -19457,13 +19457,13 @@ Od.toString = function(r) {
19457
19457
  return e(i[0]) + "=" + e(i[1]);
19458
19458
  }, "").join("&");
19459
19459
  };
19460
- function jb(t) {
19460
+ function Hb(t) {
19461
19461
  return encodeURIComponent(t).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
19462
19462
  }
19463
19463
  function Id(t, r, e) {
19464
19464
  if (!r)
19465
19465
  return t;
19466
- const n = e && e.encode || jb, i = e && e.serialize;
19466
+ const n = e && e.encode || Hb, i = e && e.serialize;
19467
19467
  let a;
19468
19468
  if (i ? a = i(r, e) : a = E.isURLSearchParams(r) ? r.toString() : new eo(r, e).toString(n), a) {
19469
19469
  const s = t.indexOf("#");
@@ -20492,26 +20492,26 @@ function Bd(t) {
20492
20492
  return Bd(kn(t, i));
20493
20493
  }, e;
20494
20494
  }
20495
- const H = Bd(Rr);
20496
- H.Axios = Dt;
20497
- H.CanceledError = Or;
20498
- H.CancelToken = no;
20499
- H.isCancel = Fd;
20500
- H.VERSION = Dd;
20501
- H.toFormData = na;
20502
- H.AxiosError = ae;
20503
- H.Cancel = H.CanceledError;
20504
- H.all = function(r) {
20495
+ const j = Bd(Rr);
20496
+ j.Axios = Dt;
20497
+ j.CanceledError = Or;
20498
+ j.CancelToken = no;
20499
+ j.isCancel = Fd;
20500
+ j.VERSION = Dd;
20501
+ j.toFormData = na;
20502
+ j.AxiosError = ae;
20503
+ j.Cancel = j.CanceledError;
20504
+ j.all = function(r) {
20505
20505
  return Promise.all(r);
20506
20506
  };
20507
- H.spread = g3;
20508
- H.isAxiosError = v3;
20509
- H.mergeConfig = kn;
20510
- H.AxiosHeaders = Ve;
20511
- H.formToJSON = (t) => Pd(E.isHTMLForm(t) ? new FormData(t) : t);
20512
- H.getAdapter = Nd.getAdapter;
20513
- H.HttpStatusCode = gs;
20514
- H.default = H;
20507
+ j.spread = g3;
20508
+ j.isAxiosError = v3;
20509
+ j.mergeConfig = kn;
20510
+ j.AxiosHeaders = Ve;
20511
+ j.formToJSON = (t) => Pd(E.isHTMLForm(t) ? new FormData(t) : t);
20512
+ j.getAdapter = Nd.getAdapter;
20513
+ j.HttpStatusCode = gs;
20514
+ j.default = j;
20515
20515
  class ro {
20516
20516
  constructor({ format: r, successHandler: e, ...n } = {}) {
20517
20517
  D(this, "instance");
@@ -20519,7 +20519,7 @@ class ro {
20519
20519
  D(this, "successHandler");
20520
20520
  D(this, "axiosErrorHandler", (r) => (e) => {
20521
20521
  var n;
20522
- H.isAxiosError(e) ? (n = e.response) != null && n.data ? r({
20522
+ j.isAxiosError(e) ? (n = e.response) != null && n.data ? r({
20523
20523
  error: e,
20524
20524
  type: "axios-error"
20525
20525
  }) : r({ error: e, type: "stock-error" }) : r({
@@ -20564,7 +20564,7 @@ class ro {
20564
20564
  })
20565
20565
  );
20566
20566
  });
20567
- this.instance = H.create({ ...n }), this.format = r, this.successHandler = e;
20567
+ this.instance = j.create({ ...n }), this.format = r, this.successHandler = e;
20568
20568
  }
20569
20569
  createFormData(r) {
20570
20570
  return Object.keys(r || {}).reduce((e, n) => {
@@ -20577,20 +20577,20 @@ class ro {
20577
20577
  }
20578
20578
  }
20579
20579
  D(ro, "setDefaults", (r, e) => {
20580
- H.defaults.baseURL = r, H.defaults.withCredentials = !0, e && Object.entries(e).forEach(([n, i]) => {
20581
- H.defaults.headers.common[n] = i;
20580
+ j.defaults.baseURL = r, j.defaults.withCredentials = !0, e && Object.entries(e).forEach(([n, i]) => {
20581
+ j.defaults.headers.common[n] = i;
20582
20582
  });
20583
20583
  });
20584
20584
  const se = (t, r) => {
20585
20585
  var e;
20586
- return H.isAxiosError(t) && ((e = t == null ? void 0 : t.response) == null ? void 0 : e.status) === r;
20586
+ return j.isAxiosError(t) && ((e = t == null ? void 0 : t.response) == null ? void 0 : e.status) === r;
20587
20587
  };
20588
20588
  var zn, sn;
20589
20589
  class vs {
20590
20590
  }
20591
20591
  D(vs, "ContentTranslationGet", (zn = class {
20592
- }, D(zn, "isBadRequestProblemDetail", (r) => H.isAxiosError(r) && se(r, 400)), D(zn, "isUnauthorizeProblemDetail", (r) => H.isAxiosError(r) && se(r, 401)), D(zn, "isProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), zn)), D(vs, "ContentReportPost", (sn = class {
20593
- }, D(sn, "isBadRequestProblemDetail", (r) => H.isAxiosError(r) && se(r, 400)), D(sn, "isUnauthorizeProblemDetail", (r) => H.isAxiosError(r) && se(r, 401)), D(sn, "isValidationProblemDetails", (r) => H.isAxiosError(r) && se(r, 422)), D(sn, "isProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), sn));
20592
+ }, D(zn, "isBadRequestProblemDetail", (r) => j.isAxiosError(r) && se(r, 400)), D(zn, "isUnauthorizeProblemDetail", (r) => j.isAxiosError(r) && se(r, 401)), D(zn, "isProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), zn)), D(vs, "ContentReportPost", (sn = class {
20593
+ }, D(sn, "isBadRequestProblemDetail", (r) => j.isAxiosError(r) && se(r, 400)), D(sn, "isUnauthorizeProblemDetail", (r) => j.isAxiosError(r) && se(r, 401)), D(sn, "isValidationProblemDetails", (r) => j.isAxiosError(r) && se(r, 422)), D(sn, "isProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), sn));
20594
20594
  const mn = class mn extends ro {
20595
20595
  constructor() {
20596
20596
  super(...arguments);
@@ -20710,9 +20710,9 @@ let me = co;
20710
20710
  * Copyright 2020 Google LLC
20711
20711
  * SPDX-License-Identifier: BSD-3-Clause
20712
20712
  */
20713
- const Hd = Symbol.for(""), _3 = (t) => {
20714
- if ((t == null ? void 0 : t.r) === Hd) return t == null ? void 0 : t._$litStatic$;
20715
- }, Rc = (t) => ({ _$litStatic$: t, r: Hd }), Oc = /* @__PURE__ */ new Map(), S3 = (t) => (r, ...e) => {
20713
+ const jd = Symbol.for(""), _3 = (t) => {
20714
+ if ((t == null ? void 0 : t.r) === jd) return t == null ? void 0 : t._$litStatic$;
20715
+ }, Rc = (t) => ({ _$litStatic$: t, r: jd }), Oc = /* @__PURE__ */ new Map(), S3 = (t) => (r, ...e) => {
20716
20716
  const n = e.length;
20717
20717
  let i, a;
20718
20718
  const s = [], o = [];
@@ -20792,7 +20792,7 @@ const E3 = Te`
20792
20792
  height: 100%;
20793
20793
  }
20794
20794
  `;
20795
- var T3 = Object.defineProperty, jd = (t, r, e, n) => {
20795
+ var T3 = Object.defineProperty, Hd = (t, r, e, n) => {
20796
20796
  for (var i = void 0, a = t.length - 1, s; a >= 0; a--)
20797
20797
  (s = t[a]) && (i = s(r, e, i) || i);
20798
20798
  return i && T3(r, e, i), i;
@@ -20804,10 +20804,10 @@ const uo = class uo extends me {
20804
20804
  };
20805
20805
  uo.styles = [me.styles, A3];
20806
20806
  let mr = uo;
20807
- jd([
20807
+ Hd([
20808
20808
  Z({ type: String, reflect: !0 })
20809
20809
  ], mr.prototype, "size");
20810
- jd([
20810
+ Hd([
20811
20811
  Z({ type: String })
20812
20812
  ], mr.prototype, "viewBox");
20813
20813
  function ut(t, r) {
@@ -21126,17 +21126,17 @@ const er = (t, r) => {
21126
21126
  e.add(t), U3(r);
21127
21127
  }
21128
21128
  };
21129
- function H3(t) {
21129
+ function j3(t) {
21130
21130
  this._$AN !== void 0 ? (_i(this), this._$AM = t, Ud(this)) : this._$AM = t;
21131
21131
  }
21132
- function j3(t, r = !1, e = 0) {
21132
+ function H3(t, r = !1, e = 0) {
21133
21133
  const n = this._$AH, i = this._$AN;
21134
21134
  if (i !== void 0 && i.size !== 0) if (r) if (Array.isArray(n)) for (let a = e; a < n.length; a++) er(n[a], !1), _i(n[a]);
21135
21135
  else n != null && (er(n, !1), _i(n));
21136
21136
  else er(this, t);
21137
21137
  }
21138
21138
  const U3 = (t) => {
21139
- t.type == Ui.CHILD && (t._$AP ?? (t._$AP = j3), t._$AQ ?? (t._$AQ = H3));
21139
+ t.type == Ui.CHILD && (t._$AP ?? (t._$AP = H3), t._$AQ ?? (t._$AQ = j3));
21140
21140
  };
21141
21141
  let zd = class extends Ns {
21142
21142
  constructor() {
@@ -21483,8 +21483,9 @@ const Da = /* @__PURE__ */ new WeakMap(), z3 = zi(class extends zd {
21483
21483
  position: "revert",
21484
21484
  width: "auto",
21485
21485
  height: "auto",
21486
- marginBottom: "0",
21487
- cursor: "default"
21486
+ cursor: "default",
21487
+ margin: "0",
21488
+ display: "flex"
21488
21489
  },
21489
21490
  hover: {
21490
21491
  background: "none",
@@ -21525,7 +21526,9 @@ const Da = /* @__PURE__ */ new WeakMap(), z3 = zi(class extends zd {
21525
21526
  padding: "0.5rem 0.75rem",
21526
21527
  justifyContent: "space-between",
21527
21528
  alignItems: "center",
21528
- fontSize: "0.75rem"
21529
+ fontSize: "0.75rem",
21530
+ width: "calc(100% - 1.5rem)",
21531
+ margin: "0"
21529
21532
  },
21530
21533
  htmlClassUtilities: {
21531
21534
  "button-container": {
@@ -21556,20 +21559,24 @@ const Da = /* @__PURE__ */ new WeakMap(), z3 = zi(class extends zd {
21556
21559
  .outer-message-container:nth-child(2)
21557
21560
  {
21558
21561
  margin-block-start: auto !important;
21559
- }`
21562
+ }
21563
+ .text-input-container-right-adjustment{
21564
+ margin: 0 !important;
21565
+ }
21566
+ `
21560
21567
  };
21561
21568
  var qn, Vn, on, ln, cn, un, qa, Va;
21562
21569
  class ht {
21563
21570
  }
21564
21571
  D(ht, "ChatbotConversationsGet", (qn = class {
21565
- }, D(qn, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(qn, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(qn, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), qn)), D(ht, "ChatbotConversationsSummaryGet", (Vn = class {
21566
- }, D(Vn, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(Vn, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(Vn, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), Vn)), D(ht, "ChatbotConversationsPost", (on = class {
21567
- }, D(on, "isBadRequestProblemDetails", (r) => H.isAxiosError(r) && se(r, 400)), D(on, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(on, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(on, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), on)), D(ht, "ChatbotConversationsRatePost", (ln = class {
21568
- }, D(ln, "isBadRequestProblemDetails", (r) => H.isAxiosError(r) && se(r, 400)), D(ln, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(ln, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(ln, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), ln)), D(ht, "ChatbotConversationsMessagesRatePost", (cn = class {
21569
- }, D(cn, "isBadRequestProblemDetails", (r) => H.isAxiosError(r) && se(r, 400)), D(cn, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(cn, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(cn, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), cn)), D(ht, "ChatbotConversationsInteractionsSummarizePost", (un = class {
21570
- }, D(un, "isBadRequestProblemDetails", (r) => H.isAxiosError(r) && se(r, 400)), D(un, "isNotFoundProblemDetails", (r) => H.isAxiosError(r) && se(r, 404)), D(un, "isInternalServerErrorProblemDetails", (r) => H.isAxiosError(r) && se(r, 500)), D(un, "isServiceUnavailableProblemDetails", (r) => H.isAxiosError(r) && se(r, 503)), un)), D(ht, "ChatbotIntegrationsPost", (qa = class {
21571
- }, D(qa, "isUnauthorizedProblemDetails", (r) => H.isAxiosError(r) && se(r, 401)), qa)), D(ht, "ChatbotIntegrationsGet", (Va = class {
21572
- }, D(Va, "isUnauthorizedProblemDetails", (r) => H.isAxiosError(r) && se(r, 401)), Va));
21572
+ }, D(qn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(qn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(qn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), qn)), D(ht, "ChatbotConversationsSummaryGet", (Vn = class {
21573
+ }, D(Vn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(Vn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(Vn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), Vn)), D(ht, "ChatbotConversationsPost", (on = class {
21574
+ }, D(on, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && se(r, 400)), D(on, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(on, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(on, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), on)), D(ht, "ChatbotConversationsRatePost", (ln = class {
21575
+ }, D(ln, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && se(r, 400)), D(ln, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(ln, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(ln, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), ln)), D(ht, "ChatbotConversationsMessagesRatePost", (cn = class {
21576
+ }, D(cn, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && se(r, 400)), D(cn, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(cn, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(cn, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), cn)), D(ht, "ChatbotConversationsInteractionsSummarizePost", (un = class {
21577
+ }, D(un, "isBadRequestProblemDetails", (r) => j.isAxiosError(r) && se(r, 400)), D(un, "isNotFoundProblemDetails", (r) => j.isAxiosError(r) && se(r, 404)), D(un, "isInternalServerErrorProblemDetails", (r) => j.isAxiosError(r) && se(r, 500)), D(un, "isServiceUnavailableProblemDetails", (r) => j.isAxiosError(r) && se(r, 503)), un)), D(ht, "ChatbotIntegrationsPost", (qa = class {
21578
+ }, D(qa, "isUnauthorizedProblemDetails", (r) => j.isAxiosError(r) && se(r, 401)), qa)), D(ht, "ChatbotIntegrationsGet", (Va = class {
21579
+ }, D(Va, "isUnauthorizedProblemDetails", (r) => j.isAxiosError(r) && se(r, 401)), Va));
21573
21580
  const Ue = class Ue extends ro {
21574
21581
  constructor() {
21575
21582
  super(...arguments);
@@ -21709,7 +21716,7 @@ const Ba = /* @__PURE__ */ new Map(), Mc = /* @__PURE__ */ new WeakSet(), Pc = (
21709
21716
  }, Bc = (t, r) => {
21710
21717
  const e = t / r;
21711
21718
  return e === 1 ? void 0 : e;
21712
- }, Ha = { left: (t, r) => {
21719
+ }, ja = { left: (t, r) => {
21713
21720
  const e = Dc(t, r);
21714
21721
  return { value: e, transform: e == null || isNaN(e) ? void 0 : `translateX(${e}px)` };
21715
21722
  }, top: (t, r) => {
@@ -21725,7 +21732,7 @@ const Ba = /* @__PURE__ */ new Map(), Mc = /* @__PURE__ */ new WeakSet(), Pc = (
21725
21732
  r === 0 && (r = 1, e = { height: "1px" });
21726
21733
  const n = Bc(t, r);
21727
21734
  return { value: n, overrideFrom: e, transform: n == null || isNaN(n) ? void 0 : `scaleY(${n})` };
21728
- } }, W3 = { duration: 333, easing: "ease-in-out" }, G3 = ["left", "top", "width", "height", "opacity", "color", "background"], Hc = /* @__PURE__ */ new WeakMap();
21735
+ } }, W3 = { duration: 333, easing: "ease-in-out" }, G3 = ["left", "top", "width", "height", "opacity", "color", "background"], jc = /* @__PURE__ */ new WeakMap();
21729
21736
  class K3 extends zd {
21730
21737
  constructor(r) {
21731
21738
  if (super(r), this.t = !1, this.i = null, this.o = null, this.h = !0, this.shouldLog = !1, r.type === Ui.CHILD) throw Error("The `animate` directive must be used in attribute position.");
@@ -21754,7 +21761,7 @@ class K3 extends zd {
21754
21761
  update(r, [e]) {
21755
21762
  var i;
21756
21763
  const n = this.u === void 0;
21757
- return n && (this.u = (i = r.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((a) => this.t = !0), this.element = r.element, Hc.set(this.element, this)), this.optionsOrCallback = e, (n || typeof e != "function") && this.p(e), this.render(e);
21764
+ return n && (this.u = (i = r.options) == null ? void 0 : i.host, this.u.addController(this), this.u.updateComplete.then((a) => this.t = !0), this.element = r.element, jc.set(this.element, this)), this.optionsOrCallback = e, (n || typeof e != "function") && this.p(e), this.render(e);
21758
21765
  }
21759
21766
  p(r) {
21760
21767
  r = r ?? {};
@@ -21764,7 +21771,7 @@ class K3 extends zd {
21764
21771
  m() {
21765
21772
  const r = {}, e = this.element.getBoundingClientRect(), n = getComputedStyle(this.element);
21766
21773
  return this.options.properties.forEach((i) => {
21767
- const a = e[i] ?? (Ha[i] ? void 0 : n[i]), s = Number(a);
21774
+ const a = e[i] ?? (ja[i] ? void 0 : n[i]), s = Number(a);
21768
21775
  r[i] = isNaN(s) ? a + "" : s;
21769
21776
  }), r;
21770
21777
  }
@@ -21836,7 +21843,7 @@ class K3 extends zd {
21836
21843
  O() {
21837
21844
  const r = [];
21838
21845
  for (let e = this.element.parentNode; e; e = e == null ? void 0 : e.parentNode) {
21839
- const n = Hc.get(e);
21846
+ const n = jc.get(e);
21840
21847
  n && !n.isDisabled() && n && r.push(n);
21841
21848
  }
21842
21849
  return r;
@@ -21865,8 +21872,8 @@ class K3 extends zd {
21865
21872
  const o = {};
21866
21873
  for (const l in e) {
21867
21874
  const c = r[l], u = e[l];
21868
- if (l in Ha) {
21869
- const d = Ha[l];
21875
+ if (l in ja) {
21876
+ const d = ja[l];
21870
21877
  if (c === void 0 || u === void 0) continue;
21871
21878
  const h = d(c, u);
21872
21879
  h.transform !== void 0 && (o[l] = h.value, s = !0, i.transform = `${i.transform ?? ""} ${h.transform}`, h.overrideFrom !== void 0 && Object.assign(i, h.overrideFrom));
@@ -21956,25 +21963,25 @@ function Z3() {
21956
21963
  }
21957
21964
  var qd = (t) => {
21958
21965
  throw TypeError(t);
21959
- }, Vd = (t, r, e) => r.has(t) || qd("Cannot " + e), ja = (t, r, e) => (Vd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Ua = (t, r, e) => r.has(t) ? qd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), za = (t, r, e, n) => (Vd(t, r, "write to private field"), r.set(t, e), e), ei, ti, ni;
21966
+ }, Vd = (t, r, e) => r.has(t) || qd("Cannot " + e), Ha = (t, r, e) => (Vd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Ua = (t, r, e) => r.has(t) ? qd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), za = (t, r, e, n) => (Vd(t, r, "write to private field"), r.set(t, e), e), ei, ti, ni;
21960
21967
  class Wd {
21961
21968
  constructor(r, e) {
21962
21969
  Ua(this, ei, Z3()), Ua(this, ti, null), Ua(this, ni, null), this.enableSending = !0, this.host = r, this.host.addController(this), this.channel = new BroadcastChannel(e), this.registerOnMessageHandler();
21963
21970
  }
21964
21971
  get sourceId() {
21965
- return ja(this, ei);
21972
+ return Ha(this, ei);
21966
21973
  }
21967
21974
  set sourceId(r) {
21968
21975
  za(this, ei, r);
21969
21976
  }
21970
21977
  get onMessage() {
21971
- return ja(this, ti);
21978
+ return Ha(this, ti);
21972
21979
  }
21973
21980
  set onMessage(r) {
21974
21981
  za(this, ti, r);
21975
21982
  }
21976
21983
  get onError() {
21977
- return ja(this, ni);
21984
+ return Ha(this, ni);
21978
21985
  }
21979
21986
  set onError(r) {
21980
21987
  za(this, ni, r);
@@ -22006,7 +22013,7 @@ function Y3() {
22006
22013
  function so(t) {
22007
22014
  return new Promise((r) => setTimeout(r, t));
22008
22015
  }
22009
- const jc = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"), X3 = Te`
22016
+ const Hc = (t) => Object.entries(t).map(([r, e]) => `${r}:${e}`).join(";"), X3 = Te`
22010
22017
  :host {
22011
22018
  position: relative;
22012
22019
  .button-container {
@@ -22702,14 +22709,14 @@ var Aw = Object.defineProperty, Tw = Object.getOwnPropertyDescriptor, Jd = (t) =
22702
22709
  for (var i = n > 1 ? void 0 : n ? Tw(r, e) : r, a = t.length - 1, s; a >= 0; a--)
22703
22710
  (s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
22704
22711
  return n && i && Aw(r, e, i), i;
22705
- }, Zd = (t, r, e) => r.has(t) || Jd("Cannot " + e), Bn = (t, r, e) => (Zd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), Hn = (t, r, e) => r.has(t) ? Jd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), jn = (t, r, e, n) => (Zd(t, r, "write to private field"), r.set(t, e), e), ri, ii, ai, si, oi;
22712
+ }, Zd = (t, r, e) => r.has(t) || Jd("Cannot " + e), Bn = (t, r, e) => (Zd(t, r, "read from private field"), e ? e.call(t) : r.get(t)), jn = (t, r, e) => r.has(t) ? Jd("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(t) : r.set(t, e), Hn = (t, r, e, n) => (Zd(t, r, "write to private field"), r.set(t, e), e), ri, ii, ai, si, oi;
22706
22713
  const Yd = "lr.chatbot.broadcast_channel." + document.location.hostname, fn = "lr.chatbot.conversation_id", Un = "lr.chatbot.conversation_state";
22707
22714
  let Tt = class extends me {
22708
22715
  constructor() {
22709
22716
  super({
22710
22717
  translationsLoaderGetter: () => new J3(this.apiUrl, this.country, this.language),
22711
22718
  fetchAsyncServerTranslations: !0
22712
- }), Hn(this, ri, "/bff"), Hn(this, ii, !1), Hn(this, ai, !1), Hn(this, si, !1), Hn(this, oi, !1), this._closeClickCount = 0, this._isConversationDone = !1, this._shouldEndConversation = !1, this._broadcastController = new Wd(
22719
+ }), jn(this, ri, "/bff"), jn(this, ii, !1), jn(this, ai, !1), jn(this, si, !1), jn(this, oi, !1), this._closeClickCount = 0, this._isConversationDone = !1, this._shouldEndConversation = !1, this._broadcastController = new Wd(
22713
22720
  this,
22714
22721
  Yd
22715
22722
  ), this._conversationHistoryTask = this.createConversationHistoryTask(), this.registerBroadcastMessages();
@@ -22718,34 +22725,34 @@ let Tt = class extends me {
22718
22725
  return Bn(this, ri);
22719
22726
  }
22720
22727
  set apiUrl(t) {
22721
- jn(this, ri, t);
22728
+ Hn(this, ri, t);
22722
22729
  }
22723
22730
  get opened() {
22724
22731
  return Bn(this, ii);
22725
22732
  }
22726
22733
  set opened(t) {
22727
- jn(this, ii, t);
22734
+ Hn(this, ii, t);
22728
22735
  }
22729
22736
  get minimized() {
22730
22737
  return Bn(this, ai);
22731
22738
  }
22732
22739
  set minimized(t) {
22733
- jn(this, ai, t);
22740
+ Hn(this, ai, t);
22734
22741
  }
22735
22742
  get sticky() {
22736
22743
  return Bn(this, si);
22737
22744
  }
22738
22745
  set sticky(t) {
22739
- jn(this, si, t);
22746
+ Hn(this, si, t);
22740
22747
  }
22741
22748
  get exitOverlay() {
22742
22749
  return Bn(this, oi);
22743
22750
  }
22744
22751
  set exitOverlay(t) {
22745
- jn(this, oi, t);
22752
+ Hn(this, oi, t);
22746
22753
  }
22747
22754
  getVersion() {
22748
- return "LR Chatbot - 0.24.4";
22755
+ return "LR Chatbot - 0.24.5";
22749
22756
  }
22750
22757
  async connectedCallback() {
22751
22758
  super.connectedCallback(), this._conversationHistoryTask.run();
@@ -22957,13 +22964,13 @@ let Tt = class extends me {
22957
22964
  }
22958
22965
  disableDeepChatTextInput() {
22959
22966
  var t, r, e, n;
22960
- (t = this.deepChat) != null && t.inputAreaStyle && ((e = (r = this.deepChat.shadowRoot) == null ? void 0 : r.querySelector("#input")) == null || e.setAttribute("style", jc({ ...et.inputAreaStyle, visibility: "hidden" }))), (n = this.deepChat) == null || n.disableSubmitButton();
22967
+ (t = this.deepChat) != null && t.inputAreaStyle && ((e = (r = this.deepChat.shadowRoot) == null ? void 0 : r.querySelector("#input")) == null || e.setAttribute("style", Hc({ ...et.inputAreaStyle, visibility: "hidden" }))), (n = this.deepChat) == null || n.disableSubmitButton();
22961
22968
  }
22962
22969
  enableDeepChatTextInput() {
22963
22970
  var t, r, e, n, i;
22964
22971
  (t = this.deepChat) != null && t.inputAreaStyle && (r = this.deepChat) != null && r.inputAreaStyle && ((n = (e = this.deepChat.shadowRoot) == null ? void 0 : e.querySelector("#input")) == null || n.setAttribute(
22965
22972
  "style",
22966
- jc({ ...et.inputAreaStyle, visibility: "visible" })
22973
+ Hc({ ...et.inputAreaStyle, visibility: "visible" })
22967
22974
  )), (i = this.deepChat) == null || i.disableSubmitButton(!1);
22968
22975
  }
22969
22976
  handleClosure() {