@2uinc/frontend-component-xpert-chatbot 1.35.5 → 1.35.6
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/dist/lib/index.min.js +5 -5
- package/package.json +1 -1
package/dist/lib/index.min.js
CHANGED
@@ -22057,7 +22057,7 @@ const Cs = (e) => {
|
|
22057
22057
|
return t || (t = Yl(), nt.set(`${e}-conversation-history-id`, t, {
|
22058
22058
|
expires: 1
|
22059
22059
|
})), t;
|
22060
|
-
};
|
22060
|
+
}, i3 = (e = 100) => new Promise((t) => setTimeout(t, e));
|
22061
22061
|
function gd({ submitEventExternal: e = null }) {
|
22062
22062
|
var st, Kt, Qt, En, $;
|
22063
22063
|
const {
|
@@ -22321,13 +22321,13 @@ function gd({ submitEventExternal: e = null }) {
|
|
22321
22321
|
liveAgent: Mt,
|
22322
22322
|
role: _t
|
22323
22323
|
});
|
22324
|
-
})) : g((Je) => {
|
22324
|
+
})) : (await i3(), g((Je) => {
|
22325
22325
|
const Mt = [...Je], _t = Mt.length - 1;
|
22326
22326
|
return _t >= 0 && (Mt[_t] = {
|
22327
22327
|
...Mt[_t],
|
22328
22328
|
content: ae
|
22329
22329
|
}), Mt;
|
22330
|
-
});
|
22330
|
+
}));
|
22331
22331
|
} catch {
|
22332
22332
|
}
|
22333
22333
|
}
|
@@ -22643,7 +22643,7 @@ Ed.propTypes = {
|
|
22643
22643
|
xpertKey: x.string,
|
22644
22644
|
widgetMode: x.bool
|
22645
22645
|
};
|
22646
|
-
function
|
22646
|
+
function u3() {
|
22647
22647
|
let e = document.getElementById("xpert-chatbot-container");
|
22648
22648
|
e || (e = document.createElement("div"), e.setAttribute("id", "xpert-chatbot-container"), document.body.appendChild(e), C0(
|
22649
22649
|
/* @__PURE__ */ v.jsx(y0, { children: /* @__PURE__ */ v.jsx(
|
@@ -22659,7 +22659,7 @@ function i3() {
|
|
22659
22659
|
));
|
22660
22660
|
}
|
22661
22661
|
window.XpertChatbotFrontend = window.XpertChatbotFrontend || {};
|
22662
|
-
window.XpertChatbotFrontend.mount =
|
22662
|
+
window.XpertChatbotFrontend.mount = u3;
|
22663
22663
|
window.process = window.process || {};
|
22664
22664
|
window.process.env = { ...window.process.env, NODE_ENV: "production" };
|
22665
22665
|
export {
|