lr-chatbot 0.43.3 → 0.43.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.
package/index.js
CHANGED
|
@@ -14642,7 +14642,7 @@ const S = {
|
|
|
14642
14642
|
spacing: xb,
|
|
14643
14643
|
devices: Cb
|
|
14644
14644
|
};
|
|
14645
|
-
const Di = globalThis, Xo = Di.ShadowRoot && (Di.ShadyCSS === void 0 || Di.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Qo = Symbol(), du = /* @__PURE__ */ new WeakMap();
|
|
14645
|
+
const Di = globalThis, Xo = Di.ShadowRoot && (Di.ShadyCSS === void 0 || Di.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Qo = /* @__PURE__ */ Symbol(), du = /* @__PURE__ */ new WeakMap();
|
|
14646
14646
|
let zh = class {
|
|
14647
14647
|
constructor(r, e, n) {
|
|
14648
14648
|
if (this._$cssResult$ = !0, n !== Qo) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -14708,7 +14708,7 @@ const { is: Tb, defineProperty: Rb, getOwnPropertyDescriptor: Ob, getOwnProperty
|
|
|
14708
14708
|
}
|
|
14709
14709
|
return e;
|
|
14710
14710
|
} }, Ua = (t, r) => !Tb(t, r), pu = { attribute: !0, type: String, converter: oa, reflect: !1, useDefault: !1, hasChanged: Ua };
|
|
14711
|
-
Symbol.metadata ??= Symbol("metadata"), ja.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
14711
|
+
Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), ja.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
14712
14712
|
let jn = class extends HTMLElement {
|
|
14713
14713
|
static addInitializer(r) {
|
|
14714
14714
|
this._$Ei(), (this.l ??= []).push(r);
|
|
@@ -14718,7 +14718,7 @@ let jn = class extends HTMLElement {
|
|
|
14718
14718
|
}
|
|
14719
14719
|
static createProperty(r, e = pu) {
|
|
14720
14720
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(r) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(r, e), !e.noAccessor) {
|
|
14721
|
-
const n = Symbol(), i = this.getPropertyDescriptor(r, n, e);
|
|
14721
|
+
const n = /* @__PURE__ */ Symbol(), i = this.getPropertyDescriptor(r, n, e);
|
|
14722
14722
|
i !== void 0 && Rb(this.prototype, r, i);
|
|
14723
14723
|
}
|
|
14724
14724
|
}
|
|
@@ -14893,7 +14893,7 @@ let jn = class extends HTMLElement {
|
|
|
14893
14893
|
jn.elementStyles = [], jn.shadowRootOptions = { mode: "open" }, jn[Rr("elementProperties")] = /* @__PURE__ */ new Map(), jn[Rr("finalized")] = /* @__PURE__ */ new Map(), Nb?.({ ReactiveElement: jn }), (ja.reactiveElementVersions ??= []).push("2.1.1");
|
|
14894
14894
|
const el = globalThis, la = el.trustedTypes, mu = la ? la.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, qh = "$lit$", Bt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vh = "?" + Bt, $b = `<${Vh}>`, vn = document, zr = () => vn.createComment(""), qr = (t) => t === null || typeof t != "object" && typeof t != "function", tl = Array.isArray, Db = (t) => tl(t) || typeof t?.[Symbol.iterator] == "function", Rs = `[
|
|
14895
14895
|
\f\r]`, ur = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, gu = /-->/g, vu = />/g, on = RegExp(`>|${Rs}(?:([^\\s"'>=/]+)(${Rs}*=${Rs}*(?:[^
|
|
14896
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), yu = /'/g, bu = /"/g, Gh = /^(?:script|style|textarea|title)$/i, Wh = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), ve = Wh(1), ft = Wh(2), Vt = Symbol.for("lit-noChange"), ce = Symbol.for("lit-nothing"), wu = /* @__PURE__ */ new WeakMap(), un = vn.createTreeWalker(vn, 129);
|
|
14896
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), yu = /'/g, bu = /"/g, Gh = /^(?:script|style|textarea|title)$/i, Wh = (t) => (r, ...e) => ({ _$litType$: t, strings: r, values: e }), ve = Wh(1), ft = Wh(2), Vt = /* @__PURE__ */ Symbol.for("lit-noChange"), ce = /* @__PURE__ */ Symbol.for("lit-nothing"), wu = /* @__PURE__ */ new WeakMap(), un = vn.createTreeWalker(vn, 129);
|
|
14897
14897
|
function Kh(t, r) {
|
|
14898
14898
|
if (!tl(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
14899
14899
|
return mu !== void 0 ? mu.createHTML(r) : r;
|
|
@@ -17762,7 +17762,7 @@ const Pw = {
|
|
|
17762
17762
|
useSuspense: !1
|
|
17763
17763
|
}
|
|
17764
17764
|
};
|
|
17765
|
-
const Ls = { INITIAL: 0, PENDING: 1, ERROR: 3 }, Nw = Symbol();
|
|
17765
|
+
const Ls = { INITIAL: 0, PENDING: 1, ERROR: 3 }, Nw = /* @__PURE__ */ Symbol();
|
|
17766
17766
|
let Qh = class {
|
|
17767
17767
|
get taskComplete() {
|
|
17768
17768
|
return this.t || (this.i === 1 ? this.t = new Promise(((r, e) => {
|
|
@@ -18781,7 +18781,7 @@ const n3 = x.toObjectSet([
|
|
|
18781
18781
|
`).forEach(function(s) {
|
|
18782
18782
|
i = s.indexOf(":"), e = s.substring(0, i).trim().toLowerCase(), n = s.substring(i + 1).trim(), !(!e || r[e] && n3[e]) && (e === "set-cookie" ? r[e] ? r[e].push(n) : r[e] = [n] : r[e] = r[e] ? r[e] + ", " + n : n);
|
|
18783
18783
|
}), r;
|
|
18784
|
-
}, Wu = Symbol("internals");
|
|
18784
|
+
}, Wu = /* @__PURE__ */ Symbol("internals");
|
|
18785
18785
|
function fr(t) {
|
|
18786
18786
|
return t && String(t).trim().toLowerCase();
|
|
18787
18787
|
}
|
|
@@ -20104,7 +20104,7 @@ class I3 {
|
|
|
20104
20104
|
throw new Error(`Translations fallbacks for ${n} not found.`);
|
|
20105
20105
|
}
|
|
20106
20106
|
async getServerTranslations() {
|
|
20107
|
-
const { scopes: r, apiConfig: e } = this.config, n = await import("./index-
|
|
20107
|
+
const { scopes: r, apiConfig: e } = this.config, n = await import("./index-G36mT_6I.js").then((a) => a.i), i = await new fa().contentTranslationGet(
|
|
20108
20108
|
{ scopes: r },
|
|
20109
20109
|
{
|
|
20110
20110
|
...e,
|
|
@@ -20137,7 +20137,7 @@ yl.styles = Te`
|
|
|
20137
20137
|
${Xb}
|
|
20138
20138
|
`;
|
|
20139
20139
|
let ye = yl;
|
|
20140
|
-
const Ef = Symbol.for(""), M3 = (t) => {
|
|
20140
|
+
const Ef = /* @__PURE__ */ Symbol.for(""), M3 = (t) => {
|
|
20141
20141
|
if (t?.r === Ef) return t?._$litStatic$;
|
|
20142
20142
|
}, _o = (t) => ({ _$litStatic$: t, r: Ef }), ad = /* @__PURE__ */ new Map(), P3 = (t) => (r, ...e) => {
|
|
20143
20143
|
const n = e.length;
|
|
@@ -21717,7 +21717,7 @@ $f([
|
|
|
21717
21717
|
Zn = $f([
|
|
21718
21718
|
Ve("lr-pill")
|
|
21719
21719
|
], Zn);
|
|
21720
|
-
const Qa = Symbol("lr-chatbot-message-context");
|
|
21720
|
+
const Qa = /* @__PURE__ */ Symbol("lr-chatbot-message-context");
|
|
21721
21721
|
var g4 = Object.defineProperty, v4 = Object.getOwnPropertyDescriptor, es = (t, r, e, n) => {
|
|
21722
21722
|
for (var i = n > 1 ? void 0 : n ? v4(r, e) : r, a = t.length - 1, s; a >= 0; a--)
|
|
21723
21723
|
(s = t[a]) && (i = (n ? s(r, e, i) : s(i)) || i);
|
|
@@ -23146,7 +23146,7 @@ let Jt = class extends ye {
|
|
|
23146
23146
|
Sr(this, Yi, t);
|
|
23147
23147
|
}
|
|
23148
23148
|
getVersion() {
|
|
23149
|
-
return "LR Chatbot - v0.43.
|
|
23149
|
+
return "LR Chatbot - v0.43.4";
|
|
23150
23150
|
}
|
|
23151
23151
|
async connectedCallback() {
|
|
23152
23152
|
super.connectedCallback(), this._conversationHistoryTask.run();
|