lr-chatbot 0.48.78 → 0.48.80
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 +158 -121
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -21525,77 +21525,98 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21525
21525
|
RFC3986: i.RFC3986
|
|
21526
21526
|
};
|
|
21527
21527
|
})), Z_ = /* @__PURE__ */ s(((e, t) => {
|
|
21528
|
-
var n = X_(), r = Y_(), i = Object.prototype.hasOwnProperty,
|
|
21529
|
-
return
|
|
21530
|
-
}, c = function(e) {
|
|
21531
|
-
return o.has(e);
|
|
21528
|
+
var n = X_(), r = Y_(), i = A_(), a = Object.prototype.hasOwnProperty, o = Array.isArray, s = r(), c = function(e, t) {
|
|
21529
|
+
return s.set(e, t), e;
|
|
21532
21530
|
}, l = function(e) {
|
|
21533
|
-
return
|
|
21534
|
-
}, u = function(e
|
|
21535
|
-
|
|
21536
|
-
}, d = function() {
|
|
21531
|
+
return s.has(e);
|
|
21532
|
+
}, u = function(e) {
|
|
21533
|
+
return s.get(e);
|
|
21534
|
+
}, d = function(e, t) {
|
|
21535
|
+
s.set(e, t);
|
|
21536
|
+
}, f = function() {
|
|
21537
21537
|
for (var e = [], t = 0; t < 256; ++t) e[e.length] = "%" + ((t < 16 ? "0" : "") + t.toString(16)).toUpperCase();
|
|
21538
21538
|
return e;
|
|
21539
|
-
}(),
|
|
21539
|
+
}(), p = function(e) {
|
|
21540
21540
|
for (; e.length > 1;) {
|
|
21541
21541
|
var t = e.pop(), n = t.obj[t.prop];
|
|
21542
|
-
if (
|
|
21542
|
+
if (o(n)) {
|
|
21543
21543
|
for (var r = [], i = 0; i < n.length; ++i) n[i] !== void 0 && (r[r.length] = n[i]);
|
|
21544
21544
|
t.obj[t.prop] = r;
|
|
21545
21545
|
}
|
|
21546
21546
|
}
|
|
21547
|
-
},
|
|
21547
|
+
}, m = function(e, t) {
|
|
21548
21548
|
for (var n = t && t.plainObjects ? { __proto__: null } : {}, r = 0; r < e.length; ++r) e[r] !== void 0 && (n[r] = e[r]);
|
|
21549
21549
|
return n;
|
|
21550
|
-
},
|
|
21550
|
+
}, h = function(e, t, n) {
|
|
21551
|
+
t === "__proto__" && i ? i(e, t, {
|
|
21552
|
+
configurable: !0,
|
|
21553
|
+
enumerable: !0,
|
|
21554
|
+
value: n,
|
|
21555
|
+
writable: !0
|
|
21556
|
+
}) : e[t] = n;
|
|
21557
|
+
}, g = function e(t, n, r) {
|
|
21551
21558
|
if (!n) return t;
|
|
21552
21559
|
if (typeof n != "object" && typeof n != "function") {
|
|
21553
|
-
if (
|
|
21554
|
-
var
|
|
21555
|
-
if (r && typeof r.arrayLimit == "number" &&
|
|
21556
|
-
|
|
21560
|
+
if (o(t)) {
|
|
21561
|
+
var i = t.length;
|
|
21562
|
+
if (r && typeof r.arrayLimit == "number" && i >= r.arrayLimit) {
|
|
21563
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21564
|
+
return c(m(t.concat(n), r), i);
|
|
21565
|
+
}
|
|
21566
|
+
t[i] = n;
|
|
21557
21567
|
} else if (t && typeof t == "object") {
|
|
21558
|
-
if (
|
|
21559
|
-
var
|
|
21560
|
-
t[
|
|
21568
|
+
if (l(t)) {
|
|
21569
|
+
var s = u(t) + 1;
|
|
21570
|
+
t[s] = n, d(t, s);
|
|
21561
21571
|
} else if (r && r.strictMerge) return [t, n];
|
|
21562
|
-
else (r && (r.plainObjects || r.allowPrototypes) || !
|
|
21572
|
+
else (r && (r.plainObjects || r.allowPrototypes) || !a.call(Object.prototype, n)) && (t[n] = !0);
|
|
21563
21573
|
} else return [t, n];
|
|
21564
21574
|
return t;
|
|
21565
21575
|
}
|
|
21566
21576
|
if (!t || typeof t != "object") {
|
|
21567
|
-
if (
|
|
21568
|
-
for (var f = Object.keys(n),
|
|
21577
|
+
if (l(n)) {
|
|
21578
|
+
for (var f = Object.keys(n), p = r && r.plainObjects ? {
|
|
21569
21579
|
__proto__: null,
|
|
21570
21580
|
0: t
|
|
21571
|
-
} : { 0: t },
|
|
21572
|
-
var
|
|
21573
|
-
|
|
21581
|
+
} : { 0: t }, g = 0; g < f.length; g++) {
|
|
21582
|
+
var _ = parseInt(f[g], 10);
|
|
21583
|
+
p[_ + 1] = n[f[g]];
|
|
21574
21584
|
}
|
|
21575
|
-
return
|
|
21576
|
-
}
|
|
21577
|
-
var
|
|
21578
|
-
|
|
21579
|
-
|
|
21580
|
-
|
|
21581
|
-
|
|
21582
|
-
|
|
21583
|
-
|
|
21584
|
-
|
|
21585
|
-
|
|
21586
|
-
|
|
21587
|
-
|
|
21588
|
-
|
|
21589
|
-
|
|
21590
|
-
|
|
21585
|
+
return c(p, u(n) + 1);
|
|
21586
|
+
}
|
|
21587
|
+
var v = [t].concat(n);
|
|
21588
|
+
if (r && typeof r.arrayLimit == "number" && v.length > r.arrayLimit) {
|
|
21589
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21590
|
+
return c(m(v, r), v.length - 1);
|
|
21591
|
+
}
|
|
21592
|
+
return v;
|
|
21593
|
+
}
|
|
21594
|
+
var y = t;
|
|
21595
|
+
if (o(t) && !o(n) && (y = m(t, r)), o(t) && o(n)) {
|
|
21596
|
+
if (n.forEach(function(n, i) {
|
|
21597
|
+
if (a.call(t, i)) {
|
|
21598
|
+
var o = t[i];
|
|
21599
|
+
o && typeof o == "object" && n && typeof n == "object" ? t[i] = e(o, n, r) : t[t.length] = n;
|
|
21600
|
+
} else t[i] = n;
|
|
21601
|
+
}), r && typeof r.arrayLimit == "number" && t.length > r.arrayLimit) {
|
|
21602
|
+
if (r.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + r.arrayLimit + " element" + (r.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21603
|
+
return c(m(t, r), t.length - 1);
|
|
21604
|
+
}
|
|
21605
|
+
return t;
|
|
21606
|
+
}
|
|
21607
|
+
return Object.keys(n).reduce(function(t, i) {
|
|
21608
|
+
var o = n[i];
|
|
21609
|
+
if (a.call(t, i) ? h(t, i, e(t[i], o, r)) : h(t, i, o), l(n) && !l(t) && c(t, u(n)), l(t)) {
|
|
21610
|
+
var s = parseInt(i, 10);
|
|
21611
|
+
String(s) === i && s >= 0 && s > u(t) && d(t, s);
|
|
21591
21612
|
}
|
|
21592
21613
|
return t;
|
|
21593
|
-
},
|
|
21594
|
-
},
|
|
21614
|
+
}, y);
|
|
21615
|
+
}, _ = function(e, t) {
|
|
21595
21616
|
return Object.keys(t).reduce(function(e, n) {
|
|
21596
|
-
return e
|
|
21617
|
+
return h(e, n, t[n]), e;
|
|
21597
21618
|
}, e);
|
|
21598
|
-
},
|
|
21619
|
+
}, v = function(e, t, n) {
|
|
21599
21620
|
var r = e.replace(/\+/g, " ");
|
|
21600
21621
|
if (n === "iso-8859-1") return r.replace(/%[0-9a-f]{2}/gi, unescape);
|
|
21601
21622
|
try {
|
|
@@ -21603,79 +21624,89 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21603
21624
|
} catch {
|
|
21604
21625
|
return r;
|
|
21605
21626
|
}
|
|
21606
|
-
},
|
|
21627
|
+
}, y = 1024;
|
|
21607
21628
|
t.exports = {
|
|
21608
|
-
arrayToObject:
|
|
21609
|
-
assign:
|
|
21610
|
-
combine: function(e, t, n, r) {
|
|
21611
|
-
if (
|
|
21612
|
-
|
|
21613
|
-
|
|
21629
|
+
arrayToObject: m,
|
|
21630
|
+
assign: _,
|
|
21631
|
+
combine: function(e, t, n, r, i) {
|
|
21632
|
+
if (l(e)) {
|
|
21633
|
+
if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
|
|
21634
|
+
for (var a = o(t) ? t : [t], s = u(e), f = 0; f < a.length; ++f) s += 1, e[s] = a[f];
|
|
21635
|
+
return d(e, s), e;
|
|
21614
21636
|
}
|
|
21615
|
-
var
|
|
21616
|
-
|
|
21637
|
+
var p = [].concat(e, t);
|
|
21638
|
+
if (p.length > n) {
|
|
21639
|
+
if (i) throw RangeError("Array limit exceeded. Only " + n + " element" + (n === 1 ? "" : "s") + " allowed in an array.");
|
|
21640
|
+
return c(m(p, { plainObjects: r }), p.length - 1);
|
|
21641
|
+
}
|
|
21642
|
+
return p;
|
|
21617
21643
|
},
|
|
21618
21644
|
compact: function(e) {
|
|
21619
21645
|
for (var t = [{
|
|
21620
21646
|
obj: { o: e },
|
|
21621
21647
|
prop: "o"
|
|
21622
|
-
}], n =
|
|
21623
|
-
var
|
|
21624
|
-
typeof
|
|
21625
|
-
obj:
|
|
21626
|
-
prop:
|
|
21627
|
-
}, n
|
|
21648
|
+
}], n = r(), i = 0; i < t.length; ++i) for (var a = t[i], o = a.obj[a.prop], s = Object.keys(o), c = 0; c < s.length; ++c) {
|
|
21649
|
+
var l = s[c], u = o[l];
|
|
21650
|
+
typeof u == "object" && u && !n.has(u) && (t[t.length] = {
|
|
21651
|
+
obj: o,
|
|
21652
|
+
prop: l
|
|
21653
|
+
}, n.set(u, !0));
|
|
21628
21654
|
}
|
|
21629
|
-
return
|
|
21655
|
+
return p(t), e;
|
|
21630
21656
|
},
|
|
21631
|
-
decode:
|
|
21657
|
+
decode: v,
|
|
21632
21658
|
encode: function(e, t, r, i, a) {
|
|
21633
21659
|
if (e.length === 0) return e;
|
|
21634
21660
|
var o = e;
|
|
21635
21661
|
if (typeof e == "symbol" ? o = Symbol.prototype.toString.call(e) : typeof e != "string" && (o = String(e)), r === "iso-8859-1") return escape(o).replace(/%u[0-9a-f]{4}/gi, function(e) {
|
|
21636
21662
|
return "%26%23" + parseInt(e.slice(2), 16) + "%3B";
|
|
21637
21663
|
});
|
|
21638
|
-
for (var s = "", c = 0; c < o.length; c +=
|
|
21639
|
-
|
|
21640
|
-
|
|
21641
|
-
|
|
21642
|
-
|
|
21664
|
+
for (var s = "", c = 0; c < o.length; c += y) {
|
|
21665
|
+
var l = o.length >= y ? o.slice(c, c + y) : o;
|
|
21666
|
+
if (c + y < o.length) {
|
|
21667
|
+
var u = l.charCodeAt(l.length - 1);
|
|
21668
|
+
u >= 55296 && u <= 56319 && (l = l.slice(0, -1), --c);
|
|
21669
|
+
}
|
|
21670
|
+
for (var d = [], p = 0; p < l.length; ++p) {
|
|
21671
|
+
var m = l.charCodeAt(p);
|
|
21672
|
+
if (m === 45 || m === 46 || m === 95 || m === 126 || m >= 48 && m <= 57 || m >= 65 && m <= 90 || m >= 97 && m <= 122 || a === n.RFC1738 && (m === 40 || m === 41)) {
|
|
21673
|
+
d[d.length] = l.charAt(p);
|
|
21643
21674
|
continue;
|
|
21644
21675
|
}
|
|
21645
|
-
if (
|
|
21646
|
-
|
|
21676
|
+
if (m < 128) {
|
|
21677
|
+
d[d.length] = f[m];
|
|
21647
21678
|
continue;
|
|
21648
21679
|
}
|
|
21649
|
-
if (
|
|
21650
|
-
|
|
21680
|
+
if (m < 2048) {
|
|
21681
|
+
d[d.length] = f[192 | m >> 6] + f[128 | m & 63];
|
|
21651
21682
|
continue;
|
|
21652
21683
|
}
|
|
21653
|
-
if (
|
|
21654
|
-
|
|
21684
|
+
if (m < 55296 || m >= 57344) {
|
|
21685
|
+
d[d.length] = f[224 | m >> 12] + f[128 | m >> 6 & 63] + f[128 | m & 63];
|
|
21655
21686
|
continue;
|
|
21656
21687
|
}
|
|
21657
|
-
|
|
21688
|
+
p += 1, m = 65536 + ((m & 1023) << 10 | l.charCodeAt(p) & 1023), d[d.length] = f[240 | m >> 18] + f[128 | m >> 12 & 63] + f[128 | m >> 6 & 63] + f[128 | m & 63];
|
|
21658
21689
|
}
|
|
21659
|
-
s +=
|
|
21690
|
+
s += d.join("");
|
|
21660
21691
|
}
|
|
21661
21692
|
return s;
|
|
21662
21693
|
},
|
|
21663
21694
|
isBuffer: function(e) {
|
|
21664
|
-
return !e || typeof e != "object" ? !1 : !!(e.constructor && e.constructor.isBuffer && e.constructor.isBuffer(e));
|
|
21695
|
+
return !e || typeof e != "object" ? !1 : !!(e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
|
|
21665
21696
|
},
|
|
21666
|
-
isOverflow:
|
|
21697
|
+
isOverflow: l,
|
|
21667
21698
|
isRegExp: function(e) {
|
|
21668
21699
|
return Object.prototype.toString.call(e) === "[object RegExp]";
|
|
21669
21700
|
},
|
|
21670
|
-
markOverflow:
|
|
21701
|
+
markOverflow: c,
|
|
21671
21702
|
maybeMap: function(e, t) {
|
|
21672
|
-
if (
|
|
21703
|
+
if (o(e)) {
|
|
21673
21704
|
for (var n = [], r = 0; r < e.length; r += 1) n[n.length] = t(e[r]);
|
|
21674
21705
|
return n;
|
|
21675
21706
|
}
|
|
21676
21707
|
return t(e);
|
|
21677
21708
|
},
|
|
21678
|
-
merge:
|
|
21709
|
+
merge: g
|
|
21679
21710
|
};
|
|
21680
21711
|
})), Q_ = /* @__PURE__ */ s(((e, t) => {
|
|
21681
21712
|
var n = Y_(), r = Z_(), i = X_(), a = Object.prototype.hasOwnProperty, o = {
|
|
@@ -21700,6 +21731,7 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21700
21731
|
charsetSentinel: !1,
|
|
21701
21732
|
commaRoundTrip: !1,
|
|
21702
21733
|
delimiter: "&",
|
|
21734
|
+
depth: Infinity,
|
|
21703
21735
|
encode: !0,
|
|
21704
21736
|
encodeDotInKeys: !1,
|
|
21705
21737
|
encoder: r.encode,
|
|
@@ -21715,45 +21747,47 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21715
21747
|
strictNullHandling: !1
|
|
21716
21748
|
}, p = function(e) {
|
|
21717
21749
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "symbol" || typeof e == "bigint";
|
|
21718
|
-
}, m = {}, h = function e(t, i, a, o, c, u, d, h, g, _, v, y, b, x, S, C, w, T) {
|
|
21719
|
-
|
|
21720
|
-
|
|
21721
|
-
|
|
21722
|
-
|
|
21723
|
-
|
|
21724
|
-
|
|
21725
|
-
|
|
21726
|
-
|
|
21727
|
-
|
|
21750
|
+
}, m = {}, h = function e(t, i, a, o, c, u, d, h, g, _, v, y, b, x, S, C, w, T, E, ee) {
|
|
21751
|
+
var D = t;
|
|
21752
|
+
if (ee > E) throw RangeError("Input depth exceeded depth option of " + E);
|
|
21753
|
+
for (var te = T, O = 0, k = !1; (te = te.get(m)) !== void 0 && !k;) {
|
|
21754
|
+
var A = te.get(t);
|
|
21755
|
+
if (O += 1, A !== void 0) {
|
|
21756
|
+
if (A === O) throw RangeError("Cyclic object value");
|
|
21757
|
+
k = !0;
|
|
21758
|
+
}
|
|
21759
|
+
te.get(m) === void 0 && (O = 0);
|
|
21760
|
+
}
|
|
21761
|
+
if (D = typeof _ == "function" ? _(i, D) : D, D instanceof Date ? D = b(D) : a === "comma" && s(D) && (D = r.maybeMap(D, function(e) {
|
|
21728
21762
|
return e instanceof Date ? b(e) : e;
|
|
21729
|
-
})),
|
|
21763
|
+
})), D === null) {
|
|
21730
21764
|
if (u) return S(g && !C ? g(i, f.encoder, w, "key", x) : i);
|
|
21731
|
-
|
|
21765
|
+
D = "";
|
|
21732
21766
|
}
|
|
21733
|
-
if (p(
|
|
21734
|
-
var
|
|
21735
|
-
if (
|
|
21736
|
-
var
|
|
21737
|
-
if (a === "comma" && s(
|
|
21767
|
+
if (p(D) || r.isBuffer(D)) return g ? [S(C ? i : g(i, f.encoder, w, "key", x)) + "=" + S(g(D, f.encoder, w, "value", x))] : [S(i) + "=" + S(String(D))];
|
|
21768
|
+
var ne = [];
|
|
21769
|
+
if (D === void 0) return ne;
|
|
21770
|
+
var j;
|
|
21771
|
+
if (a === "comma" && s(D)) C && g && (D = r.maybeMap(D, function(e) {
|
|
21738
21772
|
return e == null ? e : g(e);
|
|
21739
|
-
})),
|
|
21740
|
-
else if (s(_))
|
|
21773
|
+
})), j = [{ value: D.length > 0 ? D.join(",") || null : void 0 }];
|
|
21774
|
+
else if (s(_)) j = _;
|
|
21741
21775
|
else {
|
|
21742
|
-
var
|
|
21743
|
-
|
|
21776
|
+
var M = Object.keys(D);
|
|
21777
|
+
j = v ? M.sort(v) : M;
|
|
21744
21778
|
}
|
|
21745
|
-
var
|
|
21746
|
-
if (c && s(
|
|
21747
|
-
for (var
|
|
21748
|
-
var
|
|
21749
|
-
if (!(d &&
|
|
21750
|
-
var
|
|
21751
|
-
T.set(t,
|
|
21752
|
-
var
|
|
21753
|
-
|
|
21779
|
+
var re = h ? String(i).replace(/\./g, "%2E") : String(i), N = o && s(D) && D.length === 1 ? re + "[]" : re;
|
|
21780
|
+
if (c && s(D) && D.length === 0 && Object.keys(D).length === 0) return N + "[]";
|
|
21781
|
+
for (var ie = 0; ie < j.length; ++ie) {
|
|
21782
|
+
var ae = j[ie], oe = typeof ae == "object" && ae && ae.value !== void 0 ? ae.value : D[ae];
|
|
21783
|
+
if (!(d && oe === null)) {
|
|
21784
|
+
var se = y && h ? String(ae).replace(/\./g, "%2E") : String(ae), ce = s(D) ? typeof a == "function" ? a(N, se) : N : N + (y ? "." + se : "[" + se + "]");
|
|
21785
|
+
T.set(t, O);
|
|
21786
|
+
var le = n();
|
|
21787
|
+
le.set(m, T), l(ne, e(oe, ce, a, o, c, u, d, h, a === "comma" && C && s(D) ? null : g, _, v, y, b, x, S, C, w, le, E, ee + 1));
|
|
21754
21788
|
}
|
|
21755
21789
|
}
|
|
21756
|
-
return
|
|
21790
|
+
return ne;
|
|
21757
21791
|
}, g = function(e) {
|
|
21758
21792
|
if (!e) return f;
|
|
21759
21793
|
if (e.allowEmptyArrays !== void 0 && typeof e.allowEmptyArrays != "boolean") throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
|
|
@@ -21780,6 +21814,7 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21780
21814
|
charsetSentinel: typeof e.charsetSentinel == "boolean" ? e.charsetSentinel : f.charsetSentinel,
|
|
21781
21815
|
commaRoundTrip: !!e.commaRoundTrip,
|
|
21782
21816
|
delimiter: e.delimiter === void 0 ? f.delimiter : e.delimiter,
|
|
21817
|
+
depth: typeof e.depth == "number" ? e.depth : f.depth,
|
|
21783
21818
|
encode: typeof e.encode == "boolean" ? e.encode : f.encode,
|
|
21784
21819
|
encodeDotInKeys: typeof e.encodeDotInKeys == "boolean" ? e.encodeDotInKeys : f.encodeDotInKeys,
|
|
21785
21820
|
encoder: typeof e.encoder == "function" ? e.encoder : f.encoder,
|
|
@@ -21804,7 +21839,7 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21804
21839
|
var _ = a[m];
|
|
21805
21840
|
if (_ != null) {
|
|
21806
21841
|
var v = r[_];
|
|
21807
|
-
i.skipNulls && v === null || l(u, h(v, _, d, f, i.allowEmptyArrays, i.strictNullHandling, i.skipNulls, i.encodeDotInKeys, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset, p));
|
|
21842
|
+
i.skipNulls && v === null || l(u, h(v, i.encodeDotInKeys ? String(_).replace(/\./g, "%2E") : String(_), d, f, i.allowEmptyArrays, i.strictNullHandling, i.skipNulls, i.encodeDotInKeys, i.encode ? i.encoder : null, i.filter, i.sort, i.allowDots, i.serializeDate, i.format, i.formatter, i.encodeValuesOnly, i.charset, p, i.depth, 0));
|
|
21808
21843
|
}
|
|
21809
21844
|
}
|
|
21810
21845
|
var y = u.join(i.delimiter), b = i.addQueryPrefix === !0 ? "?" : "";
|
|
@@ -21839,7 +21874,13 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21839
21874
|
return String.fromCharCode(parseInt(t, 10));
|
|
21840
21875
|
});
|
|
21841
21876
|
}, s = function(e, t, n) {
|
|
21842
|
-
if (e && typeof e == "string" && t.comma && e.indexOf(",") > -1)
|
|
21877
|
+
if (e && typeof e == "string" && t.comma && e.indexOf(",") > -1) {
|
|
21878
|
+
if (t.throwOnLimitExceeded) for (var r = 0, i = e.indexOf(","); i > -1;) {
|
|
21879
|
+
if (r += 1, r >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21880
|
+
i = e.indexOf(",", i + 1);
|
|
21881
|
+
}
|
|
21882
|
+
return e.split(",");
|
|
21883
|
+
}
|
|
21843
21884
|
if (t.throwOnLimitExceeded && n >= t.arrayLimit) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21844
21885
|
return e;
|
|
21845
21886
|
}, c = "utf8=%26%2310003%3B", l = "utf8=%E2%9C%93", u = function(e, t) {
|
|
@@ -21853,13 +21894,9 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21853
21894
|
var _ = p[h], v = _.indexOf("]="), y = v === -1 ? _.indexOf("=") : v + 1, b, x;
|
|
21854
21895
|
if (y === -1 ? (b = t.decoder(_, a.decoder, g, "key"), x = t.strictNullHandling ? null : "") : (b = t.decoder(_.slice(0, y), a.decoder, g, "key"), b !== null && (x = n.maybeMap(s(_.slice(y + 1), t, i(u[b]) ? u[b].length : 0), function(e) {
|
|
21855
21896
|
return t.decoder(e, a.decoder, g, "value");
|
|
21856
|
-
}))), x && t.interpretNumericEntities && g === "iso-8859-1" && (x = o(String(x))), _.indexOf("[]=") > -1 && (x = i(x) ? [x] : x), t.comma && i(x) && x.length > t.arrayLimit) {
|
|
21857
|
-
if (t.throwOnLimitExceeded) throw RangeError("Array limit exceeded. Only " + t.arrayLimit + " element" + (t.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
21858
|
-
x = n.combine([], x, t.arrayLimit, t.plainObjects);
|
|
21859
|
-
}
|
|
21860
|
-
if (b !== null) {
|
|
21897
|
+
}))), x && t.interpretNumericEntities && g === "iso-8859-1" && (x = o(String(x))), _.indexOf("[]=") > -1 && (x = i(x) ? [x] : x), t.comma && i(x) && x.length > t.arrayLimit && (x = n.combine([], x, t.arrayLimit, t.plainObjects, t.throwOnLimitExceeded)), b !== null) {
|
|
21861
21898
|
var S = r.call(u, b);
|
|
21862
|
-
S && (t.duplicates === "combine" || _.indexOf("[]=") > -1) ? u[b] = n.combine(u[b], x, t.arrayLimit, t.plainObjects) : (!S || t.duplicates === "last") && (u[b] = x);
|
|
21899
|
+
S && (t.duplicates === "combine" || _.indexOf("[]=") > -1) ? u[b] = n.combine(u[b], x, t.arrayLimit, t.plainObjects, t.throwOnLimitExceeded) : (!S || t.duplicates === "last") && (u[b] = x);
|
|
21863
21900
|
}
|
|
21864
21901
|
}
|
|
21865
21902
|
return u;
|
|
@@ -21871,7 +21908,7 @@ var l_ = /* @__PURE__ */ s(((e, t) => {
|
|
|
21871
21908
|
}
|
|
21872
21909
|
for (var c = i ? t : s(t, r, a), l = e.length - 1; l >= 0; --l) {
|
|
21873
21910
|
var u, d = e[l];
|
|
21874
|
-
if (d === "[]" && r.parseArrays) u = n.isOverflow(c) ? c : r.allowEmptyArrays && (c === "" || r.strictNullHandling && c === null) ? [] : n.combine([], c, r.arrayLimit, r.plainObjects);
|
|
21911
|
+
if (d === "[]" && r.parseArrays) u = n.isOverflow(c) ? c : r.allowEmptyArrays && (c === "" || r.strictNullHandling && c === null) ? [] : n.combine([], c, r.arrayLimit, r.plainObjects, r.throwOnLimitExceeded);
|
|
21875
21912
|
else {
|
|
21876
21913
|
u = r.plainObjects ? { __proto__: null } : {};
|
|
21877
21914
|
var f = d.charAt(0) === "[" && d.charAt(d.length - 1) === "]" ? d.slice(1, -1) : d, p = r.decodeDotInKeys ? f.replace(/%2E/g, ".") : f, m = parseInt(p, 10), h = !isNaN(m) && d !== p && String(m) === p && m >= 0 && r.parseArrays;
|
|
@@ -24118,7 +24155,7 @@ var Dx = "lr.chatbot.broadcast_channel." + document.location.hostname, Ox = "lr.
|
|
|
24118
24155
|
}), this.#e = "/bff", this.#t = !1, this.#n = !1, this.#r = !1, this.#i = !1, this._closeClickCount = 0, this._isConversationDone = !1, this._shouldEndConversation = !1, this._broadcastController = new ty(this, Dx), this._conversationHistoryTask = this.createConversationHistoryTask(), this.registerBroadcastMessages();
|
|
24119
24156
|
}
|
|
24120
24157
|
getVersion() {
|
|
24121
|
-
return "LR Chatbot - v.0.48.
|
|
24158
|
+
return "LR Chatbot - v.0.48.80";
|
|
24122
24159
|
}
|
|
24123
24160
|
async connectedCallback() {
|
|
24124
24161
|
super.connectedCallback(), this._conversationHistoryTask.run();
|