@inploi/plugin-chatbot 12.0.0 → 13.0.0
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/cdn/index.js +3 -3
- package/dist/chatbot-body-a286c004.cjs +1 -0
- package/dist/{chatbot-body-2325a09a.js → chatbot-body-f7362cf6.js} +1080 -1060
- package/dist/chatbot.analytics.d.ts +37 -0
- package/dist/chatbot.analytics.test.d.ts +1 -0
- package/dist/chatbot.idb.d.ts +1 -0
- package/dist/chatbot.state.d.ts +4 -1
- package/dist/chatbot.utils.d.ts +1 -0
- package/dist/components/useChatService.d.ts +1 -0
- package/dist/index-a0752f1a.cjs +5 -0
- package/dist/{index-36c4e985.js → index-b9a25f97.js} +170 -163
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +6 -6
- package/dist/chatbot-body-af0b0413.cjs +0 -1
- package/dist/index-7219d2e5.cjs +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { endpoint as $i, typed as zo, createPlugin as Oo, createTalentBankClient as
|
|
1
|
+
import { endpoint as $i, typed as zo, createPlugin as Oo, createTalentBankClient as Io } from "@inploi/sdk";
|
|
2
2
|
var q;
|
|
3
3
|
function Si(t) {
|
|
4
4
|
return { lang: (t == null ? void 0 : t.lang) ?? (q == null ? void 0 : q.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (q == null ? void 0 : q.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (q == null ? void 0 : q.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
6
|
var Xt;
|
|
7
|
-
function
|
|
7
|
+
function jo(t) {
|
|
8
8
|
return Xt == null ? void 0 : Xt.get(t);
|
|
9
9
|
}
|
|
10
10
|
var Zt;
|
|
@@ -22,7 +22,7 @@ function Ci(t) {
|
|
|
22
22
|
return e === "string" ? `"${t}"` : e === "number" || e === "bigint" || e === "boolean" ? `${t}` : e === "object" || e === "function" ? (t && ((o = (i = Object.getPrototypeOf(t)) == null ? void 0 : i.constructor) == null ? void 0 : o.name)) ?? "null" : e;
|
|
23
23
|
}
|
|
24
24
|
function Y(t, e, i, o, a) {
|
|
25
|
-
let r = a && "input" in a ? a.input : i.value, n = (a == null ? void 0 : a.expected) ?? t.expects ?? null, c = (a == null ? void 0 : a.received) ?? Ci(r), s = { kind: t.kind, type: t.type, input: r, expected: n, received: c, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${c}`, requirement: t.requirement, path: a == null ? void 0 : a.path, issues: a == null ? void 0 : a.issues, lang: o.lang, abortEarly: o.abortEarly, abortPipeEarly: o.abortPipeEarly }, d = t.kind === "schema", u = (a == null ? void 0 : a.message) ?? t.message ?? Do(t.reference, s.lang) ?? (d ? No(s.lang) : null) ?? o.message ??
|
|
25
|
+
let r = a && "input" in a ? a.input : i.value, n = (a == null ? void 0 : a.expected) ?? t.expects ?? null, c = (a == null ? void 0 : a.received) ?? Ci(r), s = { kind: t.kind, type: t.type, input: r, expected: n, received: c, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${c}`, requirement: t.requirement, path: a == null ? void 0 : a.path, issues: a == null ? void 0 : a.issues, lang: o.lang, abortEarly: o.abortEarly, abortPipeEarly: o.abortPipeEarly }, d = t.kind === "schema", u = (a == null ? void 0 : a.message) ?? t.message ?? Do(t.reference, s.lang) ?? (d ? No(s.lang) : null) ?? o.message ?? jo(s.lang);
|
|
26
26
|
u !== void 0 && (s.message = typeof u == "function" ? u(s) : u), d && (i.typed = !1), i.issues ? i.issues.push(s) : i.issues = [s];
|
|
27
27
|
}
|
|
28
28
|
function F(t) {
|
|
@@ -252,11 +252,11 @@ function Mo(...t) {
|
|
|
252
252
|
return e;
|
|
253
253
|
} };
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function Ii(t, e, i) {
|
|
256
256
|
let o = t["~run"]({ value: e }, Si(i));
|
|
257
257
|
return { typed: o.typed, success: !o.issues, output: o.value, issues: o.issues };
|
|
258
258
|
}
|
|
259
|
-
var Lo = (t) => ({ ok: !0, err: !1, val: t }), Uo = (t) => ({ err: !0, ok: !1, val: t }),
|
|
259
|
+
var Lo = (t) => ({ ok: !0, err: !1, val: t }), Uo = (t) => ({ err: !0, ok: !1, val: t }), ji = (t, e) => {
|
|
260
260
|
if (e.length === 0)
|
|
261
261
|
return;
|
|
262
262
|
let i = t;
|
|
@@ -266,13 +266,13 @@ var Lo = (t) => ({ ok: !0, err: !1, val: t }), Uo = (t) => ({ err: !0, ok: !1, v
|
|
|
266
266
|
i = i[o];
|
|
267
267
|
}
|
|
268
268
|
return i;
|
|
269
|
-
}, Xr = (t) => {
|
|
270
|
-
let
|
|
271
|
-
for (let
|
|
272
|
-
let
|
|
273
|
-
o && (
|
|
269
|
+
}, Xr = (t, e = "all") => {
|
|
270
|
+
let i = {}, o = e === "all" ? null : new Set(e);
|
|
271
|
+
for (let a in t) {
|
|
272
|
+
let r = t[a];
|
|
273
|
+
r && (o && !o.has(a) || (i[a] = r.value));
|
|
274
274
|
}
|
|
275
|
-
return
|
|
275
|
+
return i;
|
|
276
276
|
}, Zr = ({ key: t, submissions: e }) => {
|
|
277
277
|
var o;
|
|
278
278
|
let i = (o = e[t]) == null ? void 0 : o.value;
|
|
@@ -283,7 +283,7 @@ var Lo = (t) => ({ ok: !0, err: !1, val: t }), Uo = (t) => ({ err: !0, ok: !1, v
|
|
|
283
283
|
if (t === "$context") {
|
|
284
284
|
if (!e)
|
|
285
285
|
return;
|
|
286
|
-
let a =
|
|
286
|
+
let a = ji(o, e);
|
|
287
287
|
switch (typeof a) {
|
|
288
288
|
case "string":
|
|
289
289
|
return { type: "string", value: a };
|
|
@@ -308,7 +308,7 @@ var Lo = (t) => ({ ok: !0, err: !1, val: t }), Uo = (t) => ({ err: !0, ok: !1, v
|
|
|
308
308
|
let a = Ho(o.name);
|
|
309
309
|
return a.ok && i.includes(a.val.toLowerCase());
|
|
310
310
|
});
|
|
311
|
-
}, tn = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, en = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Ro = A({ integration_response: A({ data: A({ redirect_url: M(), message: W(Ft(M())), button_text: W(Ft(M())) }) }) }), on = (t) =>
|
|
311
|
+
}, tn = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, en = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Ro = A({ integration_response: A({ data: A({ redirect_url: M(), message: W(Ft(M())), button_text: W(Ft(M())) }) }) }), on = (t) => Ii(Ro, t).success, Vo = A({ integration_response: A({ error: A({ message: M() }) }) }), an = (t) => Ii(Vo, t).success;
|
|
312
312
|
A({ success: Bt(!1), message: W(Oi()) });
|
|
313
313
|
var rn = (t) => {
|
|
314
314
|
if (typeof t != "object" || t === null)
|
|
@@ -330,7 +330,7 @@ var rn = (t) => {
|
|
|
330
330
|
let a = e[o];
|
|
331
331
|
if (!a)
|
|
332
332
|
continue;
|
|
333
|
-
let r =
|
|
333
|
+
let r = ji(t, o.split("."));
|
|
334
334
|
if (a.required && r == null) {
|
|
335
335
|
let n = `Configuration error in context: ${o} is required`;
|
|
336
336
|
throw i.error(n), new Error(n);
|
|
@@ -349,7 +349,7 @@ var rn = (t) => {
|
|
|
349
349
|
a.type;
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
}, St, h, Ni, Di, at, We, Ai, se, Bi,
|
|
352
|
+
}, St, h, Ni, Di, at, We, Ai, se, Bi, ut = {}, Fi = [], Yo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kt = Array.isArray;
|
|
353
353
|
function G(t, e) {
|
|
354
354
|
for (var i in e)
|
|
355
355
|
t[i] = e[i];
|
|
@@ -406,14 +406,14 @@ function de(t) {
|
|
|
406
406
|
function Ut() {
|
|
407
407
|
var t, e, i, o, a, r, n, c, s;
|
|
408
408
|
for (at.sort(se); t = at.shift(); )
|
|
409
|
-
t.__d && (e = at.length, o = void 0, a = void 0, r = void 0, c = (n = (i = t).__v).__e, (s = i.__P) && (o = [], a = [], (r = G({}, n)).__v = n.__v + 1,
|
|
409
|
+
t.__d && (e = at.length, o = void 0, a = void 0, r = void 0, c = (n = (i = t).__v).__e, (s = i.__P) && (o = [], a = [], (r = G({}, n)).__v = n.__v + 1, Ie(s, n, r, i.__n, s.ownerSVGElement !== void 0, n.__h != null ? [c] : null, o, c ?? Lt(n), n.__h, a), Vi(o, n, a), n.__e != c && Li(n)), at.length > e && at.sort(se));
|
|
410
410
|
Ut.__r = 0;
|
|
411
411
|
}
|
|
412
412
|
function Ui(t, e, i, o, a, r, n, c, s, d, u) {
|
|
413
|
-
var l, w, g, f, b,
|
|
413
|
+
var l, w, g, f, b, j, x, v, _, y, E = 0, T = o && o.__k || Fi, U = T.length, H = U, O = e.length;
|
|
414
414
|
for (i.__k = [], l = 0; l < O; l++)
|
|
415
|
-
(f = i.__k[l] = (f = e[l]) == null || typeof f == "boolean" || typeof f == "function" ? null : typeof f == "string" || typeof f == "number" || typeof f == "bigint" ? mt(null, f, null, null, f) : Kt(f) ? mt(K, { children: f }, null, null, null) : f.__b > 0 ? mt(f.type, f.props, f.key, f.ref ? f.ref : null, f.__v) : f) != null && (f.__ = i, f.__b = i.__b + 1, (v = qo(f, T, x = l + E, H)) === -1 ? g =
|
|
416
|
-
for (i.__e =
|
|
415
|
+
(f = i.__k[l] = (f = e[l]) == null || typeof f == "boolean" || typeof f == "function" ? null : typeof f == "string" || typeof f == "number" || typeof f == "bigint" ? mt(null, f, null, null, f) : Kt(f) ? mt(K, { children: f }, null, null, null) : f.__b > 0 ? mt(f.type, f.props, f.key, f.ref ? f.ref : null, f.__v) : f) != null && (f.__ = i, f.__b = i.__b + 1, (v = qo(f, T, x = l + E, H)) === -1 ? g = ut : (g = T[v] || ut, T[v] = void 0, H--), Ie(t, f, g, a, r, n, c, s, d, u), b = f.__e, (w = f.ref) && g.ref != w && (g.ref && je(g.ref, null, f), u.push(w, f.__c || b, f)), b != null && (j == null && (j = b), y = !(_ = g === ut || g.__v === null) && v === x, _ ? v == -1 && E-- : v !== x && (v === x + 1 ? (E++, y = !0) : v > x ? H > O - x ? (E += v - x, y = !0) : E-- : E = v < x && v == x - 1 ? v - x : 0), x = l + E, y = y || v == l && !_, typeof f.type != "function" || v === x && g.__k !== f.__k ? typeof f.type == "function" || y ? f.__d !== void 0 ? (s = f.__d, f.__d = void 0) : s = b.nextSibling : s = Ri(t, b, s) : s = Hi(f, s, t), typeof i.type == "function" && (i.__d = s)));
|
|
416
|
+
for (i.__e = j, l = U; l--; )
|
|
417
417
|
T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling), Wi(T[l], T[l]));
|
|
418
418
|
}
|
|
419
419
|
function Hi(t, e, i) {
|
|
@@ -492,15 +492,15 @@ function Ke(t) {
|
|
|
492
492
|
function qe(t) {
|
|
493
493
|
return this.l[t.type + !0](h.event ? h.event(t) : t);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
var u, l, w, g, f, b,
|
|
495
|
+
function Ie(t, e, i, o, a, r, n, c, s, d) {
|
|
496
|
+
var u, l, w, g, f, b, j, x, v, _, y, E, T, U, H, O = e.type;
|
|
497
497
|
if (e.constructor !== void 0)
|
|
498
498
|
return null;
|
|
499
499
|
i.__h != null && (s = i.__h, c = e.__e = i.__e, e.__h = null, r = [c]), (u = h.__b) && u(e);
|
|
500
500
|
try {
|
|
501
501
|
t:
|
|
502
502
|
if (typeof O == "function") {
|
|
503
|
-
if (x = e.props, v = (u = O.contextType) && o[u.__c], _ = u ? v ? v.props.value : u.__ : o, i.__c ?
|
|
503
|
+
if (x = e.props, v = (u = O.contextType) && o[u.__c], _ = u ? v ? v.props.value : u.__ : o, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in O && O.prototype.render ? e.__c = l = new O(x, _) : (e.__c = l = new L(x, _), l.constructor = O, l.render = Zo), v && v.sub(l), l.props = x, l.state || (l.state = {}), l.context = _, l.__n = o, w = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), O.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = G({}, l.__s)), G(l.__s, O.getDerivedStateFromProps(x, l.__s))), g = l.props, f = l.state, l.__v = e, w)
|
|
504
504
|
O.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
505
505
|
else {
|
|
506
506
|
if (O.getDerivedStateFromProps == null && x !== g && l.componentWillReceiveProps != null && l.componentWillReceiveProps(x, _), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(x, l.__s, _) === !1 || e.__v === i.__v)) {
|
|
@@ -523,7 +523,7 @@ function je(t, e, i, o, a, r, n, c, s, d) {
|
|
|
523
523
|
do
|
|
524
524
|
l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
|
|
525
525
|
while (l.__d && ++T < 25);
|
|
526
|
-
l.state = l.__s, l.getChildContext != null && (o = G(G({}, o), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, f)), Ui(t, Kt(H = u != null && u.type === K && u.key == null ? u.props.children : u) ? H : [H], e, i, o, a, r, n, c, s, d), l.base = e.__e, e.__h = null, l.__h.length && n.push(l),
|
|
526
|
+
l.state = l.__s, l.getChildContext != null && (o = G(G({}, o), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, f)), Ui(t, Kt(H = u != null && u.type === K && u.key == null ? u.props.children : u) ? H : [H], e, i, o, a, r, n, c, s, d), l.base = e.__e, e.__h = null, l.__h.length && n.push(l), j && (l.__E = l.__ = null);
|
|
527
527
|
} else
|
|
528
528
|
r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = Xo(i.__e, e, i, o, a, r, n, s, d);
|
|
529
529
|
(u = h.diffed) && u(e);
|
|
@@ -533,7 +533,7 @@ function je(t, e, i, o, a, r, n, c, s, d) {
|
|
|
533
533
|
}
|
|
534
534
|
function Vi(t, e, i) {
|
|
535
535
|
for (var o = 0; o < i.length; o++)
|
|
536
|
-
|
|
536
|
+
je(i[o], i[++o], i[++o]);
|
|
537
537
|
h.__c && h.__c(e, t), t.some(function(a) {
|
|
538
538
|
try {
|
|
539
539
|
t = a.__h, a.__h = [], t.some(function(r) {
|
|
@@ -561,7 +561,7 @@ function Xo(t, e, i, o, a, r, n, c, s) {
|
|
|
561
561
|
if (f === null)
|
|
562
562
|
w === g || c && t.data === g || (t.data = g);
|
|
563
563
|
else {
|
|
564
|
-
if (r = r && St.call(t.childNodes), u = (w = i.props ||
|
|
564
|
+
if (r = r && St.call(t.childNodes), u = (w = i.props || ut).dangerouslySetInnerHTML, l = g.dangerouslySetInnerHTML, !c) {
|
|
565
565
|
if (r != null)
|
|
566
566
|
for (w = {}, b = 0; b < t.attributes.length; b++)
|
|
567
567
|
w[t.attributes[b].name] = t.attributes[b].value;
|
|
@@ -576,7 +576,7 @@ function Xo(t, e, i, o, a, r, n, c, s) {
|
|
|
576
576
|
}
|
|
577
577
|
return t;
|
|
578
578
|
}
|
|
579
|
-
function
|
|
579
|
+
function je(t, e, i) {
|
|
580
580
|
try {
|
|
581
581
|
typeof t == "function" ? t(e) : t.current = e;
|
|
582
582
|
} catch (o) {
|
|
@@ -585,7 +585,7 @@ function Ie(t, e, i) {
|
|
|
585
585
|
}
|
|
586
586
|
function Wi(t, e, i) {
|
|
587
587
|
var o, a;
|
|
588
|
-
if (h.unmount && h.unmount(t), (o = t.ref) && (o.current && o.current !== t.__e ||
|
|
588
|
+
if (h.unmount && h.unmount(t), (o = t.ref) && (o.current && o.current !== t.__e || je(o, null, e)), (o = t.__c) != null) {
|
|
589
589
|
if (o.componentWillUnmount)
|
|
590
590
|
try {
|
|
591
591
|
o.componentWillUnmount();
|
|
@@ -604,7 +604,7 @@ function Zo(t, e, i) {
|
|
|
604
604
|
}
|
|
605
605
|
function ct(t, e, i) {
|
|
606
606
|
var o, a, r, n;
|
|
607
|
-
h.__ && h.__(t, e), a = (o = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [],
|
|
607
|
+
h.__ && h.__(t, e), a = (o = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [], Ie(e, t = (!o && i || e).__k = B(K, null, [t]), a || ut, ut, e.ownerSVGElement !== void 0, !o && i ? [i] : a ? null : e.firstChild ? St.call(e.childNodes) : null, r, !o && i ? i : a ? a.__e : e.firstChild, o, n), Vi(r, t, n);
|
|
608
608
|
}
|
|
609
609
|
function Yi(t, e) {
|
|
610
610
|
ct(t, e, Yi);
|
|
@@ -691,14 +691,14 @@ const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Xe = Ne, D
|
|
|
691
691
|
}, {}), s = e == null || (o = e.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, u) => {
|
|
692
692
|
let { class: l, className: w, ...g } = u;
|
|
693
693
|
return Object.entries(g).every((f) => {
|
|
694
|
-
let [b,
|
|
695
|
-
return Array.isArray(
|
|
694
|
+
let [b, j] = f;
|
|
695
|
+
return Array.isArray(j) ? j.includes({
|
|
696
696
|
...r,
|
|
697
697
|
...c
|
|
698
698
|
}[b]) : {
|
|
699
699
|
...r,
|
|
700
700
|
...c
|
|
701
|
-
}[b] ===
|
|
701
|
+
}[b] === j;
|
|
702
702
|
}) ? [
|
|
703
703
|
...d,
|
|
704
704
|
l,
|
|
@@ -707,17 +707,17 @@ const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Xe = Ne, D
|
|
|
707
707
|
}, []);
|
|
708
708
|
return Xe(t, n, s, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
709
709
|
};
|
|
710
|
-
var
|
|
711
|
-
function
|
|
712
|
-
h.__h && h.__h(C, t,
|
|
710
|
+
var ot, C, Qt, Ze, ht = 0, Gi = [], zt = [], Je = h.__b, Qe = h.__r, ti = h.diffed, ei = h.__c, ii = h.unmount;
|
|
711
|
+
function ft(t, e) {
|
|
712
|
+
h.__h && h.__h(C, t, ht || e), ht = 0;
|
|
713
713
|
var i = C.__H || (C.__H = { __: [], __h: [] });
|
|
714
714
|
return t >= i.__.length && i.__.push({ __V: zt }), i.__[t];
|
|
715
715
|
}
|
|
716
716
|
function Xi(t) {
|
|
717
|
-
return
|
|
717
|
+
return ht = 1, Zi(to, t);
|
|
718
718
|
}
|
|
719
719
|
function Zi(t, e, i) {
|
|
720
|
-
var o =
|
|
720
|
+
var o = ft(ot++, 2);
|
|
721
721
|
if (o.t = t, !o.__c && (o.__ = [i ? i(e) : to(void 0, e), function(c) {
|
|
722
722
|
var s = o.__N ? o.__N[0] : o.__[0], d = o.t(s, c);
|
|
723
723
|
s !== d && (o.__N = [d, o.__[1]], o.__c.setState({}));
|
|
@@ -753,20 +753,20 @@ function Zi(t, e, i) {
|
|
|
753
753
|
return o.__N || o.__;
|
|
754
754
|
}
|
|
755
755
|
function Ji(t, e) {
|
|
756
|
-
var i =
|
|
756
|
+
var i = ft(ot++, 3);
|
|
757
757
|
!h.__s && Ae(i.__H, e) && (i.__ = t, i.i = e, C.__H.__h.push(i));
|
|
758
758
|
}
|
|
759
|
-
function
|
|
760
|
-
var i =
|
|
759
|
+
function wt(t, e) {
|
|
760
|
+
var i = ft(ot++, 4);
|
|
761
761
|
!h.__s && Ae(i.__H, e) && (i.__ = t, i.i = e, C.__h.push(i));
|
|
762
762
|
}
|
|
763
763
|
function qt(t) {
|
|
764
|
-
return
|
|
764
|
+
return ht = 5, lt(function() {
|
|
765
765
|
return { current: t };
|
|
766
766
|
}, []);
|
|
767
767
|
}
|
|
768
768
|
function Qo(t, e, i) {
|
|
769
|
-
|
|
769
|
+
ht = 6, wt(function() {
|
|
770
770
|
return typeof t == "function" ? (t(e()), function() {
|
|
771
771
|
return t(null);
|
|
772
772
|
}) : t ? (t.current = e(), function() {
|
|
@@ -775,23 +775,23 @@ function Qo(t, e, i) {
|
|
|
775
775
|
}, i == null ? i : i.concat(t));
|
|
776
776
|
}
|
|
777
777
|
function lt(t, e) {
|
|
778
|
-
var i =
|
|
778
|
+
var i = ft(ot++, 7);
|
|
779
779
|
return Ae(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
780
780
|
}
|
|
781
781
|
function ta(t, e) {
|
|
782
|
-
return
|
|
782
|
+
return ht = 8, lt(function() {
|
|
783
783
|
return t;
|
|
784
784
|
}, e);
|
|
785
785
|
}
|
|
786
786
|
function Qi(t) {
|
|
787
|
-
var e = C.context[t.__c], i =
|
|
787
|
+
var e = C.context[t.__c], i = ft(ot++, 9);
|
|
788
788
|
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(C)), e.props.value) : t.__;
|
|
789
789
|
}
|
|
790
790
|
function ea(t, e) {
|
|
791
791
|
h.useDebugValue && h.useDebugValue(e ? e(t) : t);
|
|
792
792
|
}
|
|
793
793
|
function ia() {
|
|
794
|
-
var t =
|
|
794
|
+
var t = ft(ot++, 11);
|
|
795
795
|
if (!t.__) {
|
|
796
796
|
for (var e = C.__v; e !== null && !e.__m && e.__ !== null; )
|
|
797
797
|
e = e.__;
|
|
@@ -812,11 +812,11 @@ function oa() {
|
|
|
812
812
|
h.__b = function(t) {
|
|
813
813
|
C = null, Je && Je(t);
|
|
814
814
|
}, h.__r = function(t) {
|
|
815
|
-
Qe && Qe(t),
|
|
815
|
+
Qe && Qe(t), ot = 0;
|
|
816
816
|
var e = (C = t.__c).__H;
|
|
817
817
|
e && (Qt === C ? (e.__h = [], C.__h = [], e.__.forEach(function(i) {
|
|
818
818
|
i.__N && (i.__ = i.__N), i.__V = zt, i.__N = i.i = void 0;
|
|
819
|
-
})) : (e.__h.forEach(Ot), e.__h.forEach(ue), e.__h = [],
|
|
819
|
+
})) : (e.__h.forEach(Ot), e.__h.forEach(ue), e.__h = [], ot = 0)), Qt = C;
|
|
820
820
|
}, h.diffed = function(t) {
|
|
821
821
|
ti && ti(t);
|
|
822
822
|
var e = t.__c;
|
|
@@ -1141,16 +1141,16 @@ var Ta = function(t, e) {
|
|
|
1141
1141
|
function lo(t) {
|
|
1142
1142
|
t();
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Ia(t) {
|
|
1145
1145
|
return t;
|
|
1146
1146
|
}
|
|
1147
|
-
function
|
|
1147
|
+
function ja() {
|
|
1148
1148
|
return [!1, lo];
|
|
1149
1149
|
}
|
|
1150
|
-
var Na =
|
|
1150
|
+
var Na = wt;
|
|
1151
1151
|
function Da(t, e) {
|
|
1152
1152
|
var i = e(), o = Xi({ h: { __: i, v: e } }), a = o[0].h, r = o[1];
|
|
1153
|
-
return
|
|
1153
|
+
return wt(function() {
|
|
1154
1154
|
a.__ = i, a.v = e, te(a.__, e()) || r({ h: a });
|
|
1155
1155
|
}, [t, i, e]), Ji(function() {
|
|
1156
1156
|
return te(a.__, a.v()) || r({ h: a }), t(function() {
|
|
@@ -1158,9 +1158,9 @@ function Da(t, e) {
|
|
|
1158
1158
|
});
|
|
1159
1159
|
}, [t]), i;
|
|
1160
1160
|
}
|
|
1161
|
-
var nn = { useState: Xi, useId: ia, useReducer: Zi, useEffect: Ji, useLayoutEffect:
|
|
1162
|
-
const D = Symbol.for("@ts-pattern/matcher"), so = Symbol.for("@ts-pattern/isVariadic"), Rt = "@ts-pattern/anonymous-select-key", fe = (t) => !!(t && typeof t == "object"),
|
|
1163
|
-
if (
|
|
1161
|
+
var nn = { useState: Xi, useId: ia, useReducer: Zi, useEffect: Ji, useLayoutEffect: wt, useInsertionEffect: Na, useTransition: ja, useDeferredValue: Ia, useSyncExternalStore: Da, startTransition: lo, useRef: qt, useImperativeHandle: Qo, useMemo: lt, useCallback: ta, useContext: Qi, useDebugValue: ea, version: "17.0.2", Children: la, render: va, hydrate: _a, unmountComponentAtNode: Ea, createPortal: pa, createElement: B, createContext: Ki, createFactory: Sa, cloneElement: Ca, createRef: Ko, Fragment: K, isValidElement: co, findDOMNode: Pa, Component: L, PureComponent: he, memo: ra, forwardRef: ca, flushSync: za, unstable_batchedUpdates: Ta, StrictMode: Oa, Suspense: yt, SuspenseList: _t, lazy: ro, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: $a };
|
|
1162
|
+
const D = Symbol.for("@ts-pattern/matcher"), so = Symbol.for("@ts-pattern/isVariadic"), Rt = "@ts-pattern/anonymous-select-key", fe = (t) => !!(t && typeof t == "object"), It = (t) => t && !!t[D], P = (t, e, i) => {
|
|
1163
|
+
if (It(t)) {
|
|
1164
1164
|
const o = t[D](), { matched: a, selections: r } = o.match(e);
|
|
1165
1165
|
return a && r && Object.keys(r).forEach((n) => i(n, r[n])), a;
|
|
1166
1166
|
}
|
|
@@ -1173,7 +1173,7 @@ const D = Symbol.for("@ts-pattern/matcher"), so = Symbol.for("@ts-pattern/isVari
|
|
|
1173
1173
|
let o = [], a = [], r = [];
|
|
1174
1174
|
for (const n of t.keys()) {
|
|
1175
1175
|
const c = t[n];
|
|
1176
|
-
|
|
1176
|
+
It(c) && c[so] ? r.push(c) : r.length ? a.push(c) : o.push(c);
|
|
1177
1177
|
}
|
|
1178
1178
|
if (r.length) {
|
|
1179
1179
|
if (r.length > 1)
|
|
@@ -1187,14 +1187,14 @@ const D = Symbol.for("@ts-pattern/matcher"), so = Symbol.for("@ts-pattern/isVari
|
|
|
1187
1187
|
}
|
|
1188
1188
|
return Reflect.ownKeys(t).every((o) => {
|
|
1189
1189
|
const a = t[o];
|
|
1190
|
-
return (o in e ||
|
|
1190
|
+
return (o in e || It(r = a) && r[D]().matcherType === "optional") && P(a, e[o], i);
|
|
1191
1191
|
var r;
|
|
1192
1192
|
});
|
|
1193
1193
|
}
|
|
1194
1194
|
return Object.is(e, t);
|
|
1195
1195
|
}, N = (t) => {
|
|
1196
1196
|
var e, i, o;
|
|
1197
|
-
return fe(t) ?
|
|
1197
|
+
return fe(t) ? It(t) ? (e = (i = (o = t[D]()).getSelectionKeys) == null ? void 0 : i.call(o)) != null ? e : [] : Array.isArray(t) ? kt(t, N) : kt(Object.values(t), N) : [];
|
|
1198
1198
|
}, kt = (t, e) => t.reduce((i, o) => i.concat(e(o)), []);
|
|
1199
1199
|
function Aa(...t) {
|
|
1200
1200
|
if (t.length === 1) {
|
|
@@ -1284,25 +1284,25 @@ function po(t) {
|
|
|
1284
1284
|
function R(t) {
|
|
1285
1285
|
return typeof t == "number";
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function J(t) {
|
|
1288
1288
|
return typeof t == "string";
|
|
1289
1289
|
}
|
|
1290
|
-
function
|
|
1290
|
+
function Q(t) {
|
|
1291
1291
|
return typeof t == "bigint";
|
|
1292
1292
|
}
|
|
1293
|
-
const ho = z(m(po)), La = z(m(po)), Ua = ho,
|
|
1294
|
-
return
|
|
1293
|
+
const ho = z(m(po)), La = z(m(po)), Ua = ho, tt = (t) => Object.assign(z(t), { startsWith: (e) => {
|
|
1294
|
+
return tt(S(t, (i = e, m((o) => J(o) && o.startsWith(i)))));
|
|
1295
1295
|
var i;
|
|
1296
1296
|
}, endsWith: (e) => {
|
|
1297
|
-
return
|
|
1297
|
+
return tt(S(t, (i = e, m((o) => J(o) && o.endsWith(i)))));
|
|
1298
1298
|
var i;
|
|
1299
|
-
}, minLength: (e) =>
|
|
1300
|
-
return
|
|
1299
|
+
}, minLength: (e) => tt(S(t, ((i) => m((o) => J(o) && o.length >= i))(e))), length: (e) => tt(S(t, ((i) => m((o) => J(o) && o.length === i))(e))), maxLength: (e) => tt(S(t, ((i) => m((o) => J(o) && o.length <= i))(e))), includes: (e) => {
|
|
1300
|
+
return tt(S(t, (i = e, m((o) => J(o) && o.includes(i)))));
|
|
1301
1301
|
var i;
|
|
1302
1302
|
}, regex: (e) => {
|
|
1303
|
-
return
|
|
1303
|
+
return tt(S(t, (i = e, m((o) => J(o) && !!o.match(i)))));
|
|
1304
1304
|
var i;
|
|
1305
|
-
} }), pi =
|
|
1305
|
+
} }), pi = tt(m(J)), V = (t) => Object.assign(z(t), { between: (e, i) => V(S(t, ((o, a) => m((r) => R(r) && o <= r && a >= r))(e, i))), lt: (e) => V(S(t, ((i) => m((o) => R(o) && o < i))(e))), gt: (e) => V(S(t, ((i) => m((o) => R(o) && o > i))(e))), lte: (e) => V(S(t, ((i) => m((o) => R(o) && o <= i))(e))), gte: (e) => V(S(t, ((i) => m((o) => R(o) && o >= i))(e))), int: () => V(S(t, m((e) => R(e) && Number.isInteger(e)))), finite: () => V(S(t, m((e) => R(e) && Number.isFinite(e)))), positive: () => V(S(t, m((e) => R(e) && e > 0))), negative: () => V(S(t, m((e) => R(e) && e < 0))) }), Ha = V(m(R)), et = (t) => Object.assign(z(t), { between: (e, i) => et(S(t, ((o, a) => m((r) => Q(r) && o <= r && a >= r))(e, i))), lt: (e) => et(S(t, ((i) => m((o) => Q(o) && o < i))(e))), gt: (e) => et(S(t, ((i) => m((o) => Q(o) && o > i))(e))), lte: (e) => et(S(t, ((i) => m((o) => Q(o) && o <= i))(e))), gte: (e) => et(S(t, ((i) => m((o) => Q(o) && o >= i))(e))), positive: () => et(S(t, m((e) => Q(e) && e > 0))), negative: () => et(S(t, m((e) => Q(e) && e < 0))) }), Ra = et(m(Q)), Va = z(m(function(t) {
|
|
1306
1306
|
return typeof t == "boolean";
|
|
1307
1307
|
})), Wa = z(m(function(t) {
|
|
1308
1308
|
return typeof t == "symbol";
|
|
@@ -1532,8 +1532,8 @@ var be = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.ma
|
|
|
1532
1532
|
return (i >>> 0).toString(36);
|
|
1533
1533
|
}, ir = Symbol.for("preact-signals");
|
|
1534
1534
|
function Ue() {
|
|
1535
|
-
if (
|
|
1536
|
-
|
|
1535
|
+
if (pt > 1)
|
|
1536
|
+
pt--;
|
|
1537
1537
|
else {
|
|
1538
1538
|
for (var t, e = !1; xt !== void 0; ) {
|
|
1539
1539
|
var i = xt;
|
|
@@ -1548,11 +1548,11 @@ function Ue() {
|
|
|
1548
1548
|
i = o;
|
|
1549
1549
|
}
|
|
1550
1550
|
}
|
|
1551
|
-
if (ve = 0,
|
|
1551
|
+
if (ve = 0, pt--, e)
|
|
1552
1552
|
throw t;
|
|
1553
1553
|
}
|
|
1554
1554
|
}
|
|
1555
|
-
var k = void 0, xt = void 0,
|
|
1555
|
+
var k = void 0, xt = void 0, pt = 0, ve = 0, Wt = 0;
|
|
1556
1556
|
function go(t) {
|
|
1557
1557
|
if (k !== void 0) {
|
|
1558
1558
|
var e = t.n;
|
|
@@ -1562,23 +1562,23 @@ function go(t) {
|
|
|
1562
1562
|
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = k.s, e.n = void 0, k.s.n = e, k.s = e), e;
|
|
1563
1563
|
}
|
|
1564
1564
|
}
|
|
1565
|
-
function
|
|
1565
|
+
function I(t) {
|
|
1566
1566
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1567
1567
|
}
|
|
1568
|
-
|
|
1569
|
-
|
|
1568
|
+
I.prototype.brand = ir;
|
|
1569
|
+
I.prototype.h = function() {
|
|
1570
1570
|
return !0;
|
|
1571
1571
|
};
|
|
1572
|
-
|
|
1572
|
+
I.prototype.S = function(t) {
|
|
1573
1573
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
1574
1574
|
};
|
|
1575
|
-
|
|
1575
|
+
I.prototype.U = function(t) {
|
|
1576
1576
|
if (this.t !== void 0) {
|
|
1577
1577
|
var e = t.e, i = t.x;
|
|
1578
1578
|
e !== void 0 && (e.x = i, t.e = void 0), i !== void 0 && (i.e = e, t.x = void 0), t === this.t && (this.t = i);
|
|
1579
1579
|
}
|
|
1580
1580
|
};
|
|
1581
|
-
|
|
1581
|
+
I.prototype.subscribe = function(t) {
|
|
1582
1582
|
var e = this;
|
|
1583
1583
|
return Re(function() {
|
|
1584
1584
|
var i = e.value, o = k;
|
|
@@ -1590,16 +1590,16 @@ j.prototype.subscribe = function(t) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
});
|
|
1592
1592
|
};
|
|
1593
|
-
|
|
1593
|
+
I.prototype.valueOf = function() {
|
|
1594
1594
|
return this.value;
|
|
1595
1595
|
};
|
|
1596
|
-
|
|
1596
|
+
I.prototype.toString = function() {
|
|
1597
1597
|
return this.value + "";
|
|
1598
1598
|
};
|
|
1599
|
-
|
|
1599
|
+
I.prototype.toJSON = function() {
|
|
1600
1600
|
return this.value;
|
|
1601
1601
|
};
|
|
1602
|
-
|
|
1602
|
+
I.prototype.peek = function() {
|
|
1603
1603
|
var t = k;
|
|
1604
1604
|
k = void 0;
|
|
1605
1605
|
try {
|
|
@@ -1608,14 +1608,14 @@ j.prototype.peek = function() {
|
|
|
1608
1608
|
k = t;
|
|
1609
1609
|
}
|
|
1610
1610
|
};
|
|
1611
|
-
Object.defineProperty(
|
|
1611
|
+
Object.defineProperty(I.prototype, "value", { get: function() {
|
|
1612
1612
|
var t = go(this);
|
|
1613
1613
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1614
1614
|
}, set: function(t) {
|
|
1615
1615
|
if (t !== this.v) {
|
|
1616
1616
|
if (ve > 100)
|
|
1617
1617
|
throw new Error("Cycle detected");
|
|
1618
|
-
this.v = t, this.i++, Wt++,
|
|
1618
|
+
this.v = t, this.i++, Wt++, pt++;
|
|
1619
1619
|
try {
|
|
1620
1620
|
for (var e = this.t; e !== void 0; e = e.x)
|
|
1621
1621
|
e.t.N();
|
|
@@ -1624,8 +1624,8 @@ Object.defineProperty(j.prototype, "value", { get: function() {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
1626
|
} });
|
|
1627
|
-
function
|
|
1628
|
-
return new
|
|
1627
|
+
function Z(t) {
|
|
1628
|
+
return new I(t);
|
|
1629
1629
|
}
|
|
1630
1630
|
function bo(t) {
|
|
1631
1631
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
@@ -1649,10 +1649,10 @@ function _o(t) {
|
|
|
1649
1649
|
}
|
|
1650
1650
|
t.s = i;
|
|
1651
1651
|
}
|
|
1652
|
-
function
|
|
1653
|
-
|
|
1652
|
+
function gt(t) {
|
|
1653
|
+
I.call(this, void 0), this.x = t, this.s = void 0, this.g = Wt - 1, this.f = 4;
|
|
1654
1654
|
}
|
|
1655
|
-
(
|
|
1655
|
+
(gt.prototype = new I()).h = function() {
|
|
1656
1656
|
if (this.f &= -3, 1 & this.f)
|
|
1657
1657
|
return !1;
|
|
1658
1658
|
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Wt))
|
|
@@ -1669,29 +1669,29 @@ function wt(t) {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
return k = t, _o(this), this.f &= -2, !0;
|
|
1671
1671
|
};
|
|
1672
|
-
|
|
1672
|
+
gt.prototype.S = function(t) {
|
|
1673
1673
|
if (this.t === void 0) {
|
|
1674
1674
|
this.f |= 36;
|
|
1675
1675
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1676
1676
|
e.S.S(e);
|
|
1677
1677
|
}
|
|
1678
|
-
|
|
1678
|
+
I.prototype.S.call(this, t);
|
|
1679
1679
|
};
|
|
1680
|
-
|
|
1681
|
-
if (this.t !== void 0 && (
|
|
1680
|
+
gt.prototype.U = function(t) {
|
|
1681
|
+
if (this.t !== void 0 && (I.prototype.U.call(this, t), this.t === void 0)) {
|
|
1682
1682
|
this.f &= -33;
|
|
1683
1683
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1684
1684
|
e.S.U(e);
|
|
1685
1685
|
}
|
|
1686
1686
|
};
|
|
1687
|
-
|
|
1687
|
+
gt.prototype.N = function() {
|
|
1688
1688
|
if (!(2 & this.f)) {
|
|
1689
1689
|
this.f |= 6;
|
|
1690
1690
|
for (var t = this.t; t !== void 0; t = t.x)
|
|
1691
1691
|
t.t.N();
|
|
1692
1692
|
}
|
|
1693
1693
|
};
|
|
1694
|
-
Object.defineProperty(
|
|
1694
|
+
Object.defineProperty(gt.prototype, "value", { get: function() {
|
|
1695
1695
|
if (1 & this.f)
|
|
1696
1696
|
throw new Error("Cycle detected");
|
|
1697
1697
|
var t = go(this);
|
|
@@ -1700,12 +1700,12 @@ Object.defineProperty(wt.prototype, "value", { get: function() {
|
|
|
1700
1700
|
return this.v;
|
|
1701
1701
|
} });
|
|
1702
1702
|
function or(t) {
|
|
1703
|
-
return new
|
|
1703
|
+
return new gt(t);
|
|
1704
1704
|
}
|
|
1705
1705
|
function mo(t) {
|
|
1706
1706
|
var e = t.u;
|
|
1707
1707
|
if (t.u = void 0, typeof e == "function") {
|
|
1708
|
-
|
|
1708
|
+
pt++;
|
|
1709
1709
|
var i = k;
|
|
1710
1710
|
k = void 0;
|
|
1711
1711
|
try {
|
|
@@ -1744,7 +1744,7 @@ Ct.prototype.c = function() {
|
|
|
1744
1744
|
Ct.prototype.S = function() {
|
|
1745
1745
|
if (1 & this.f)
|
|
1746
1746
|
throw new Error("Cycle detected");
|
|
1747
|
-
this.f |= 1, this.f &= -9, mo(this), vo(this),
|
|
1747
|
+
this.f |= 1, this.f &= -9, mo(this), vo(this), pt++;
|
|
1748
1748
|
var t = k;
|
|
1749
1749
|
return k = this, ar.bind(this, t);
|
|
1750
1750
|
};
|
|
@@ -1764,7 +1764,7 @@ function Re(t) {
|
|
|
1764
1764
|
return e.d.bind(e);
|
|
1765
1765
|
}
|
|
1766
1766
|
var ee;
|
|
1767
|
-
function
|
|
1767
|
+
function bt(t, e) {
|
|
1768
1768
|
h[t] = e.bind(null, h[t] || function() {
|
|
1769
1769
|
});
|
|
1770
1770
|
}
|
|
@@ -1791,21 +1791,21 @@ function yo(t) {
|
|
|
1791
1791
|
return a.value;
|
|
1792
1792
|
}
|
|
1793
1793
|
yo.displayName = "_st";
|
|
1794
|
-
Object.defineProperties(
|
|
1794
|
+
Object.defineProperties(I.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: yo }, props: { configurable: !0, get: function() {
|
|
1795
1795
|
return { data: this };
|
|
1796
1796
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1797
|
-
|
|
1797
|
+
bt("__b", function(t, e) {
|
|
1798
1798
|
if (typeof e.type == "string") {
|
|
1799
1799
|
var i, o = e.props;
|
|
1800
1800
|
for (var a in o)
|
|
1801
1801
|
if (a !== "children") {
|
|
1802
1802
|
var r = o[a];
|
|
1803
|
-
r instanceof
|
|
1803
|
+
r instanceof I && (i || (e.__np = i = {}), i[a] = r, o[a] = r.peek());
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
1806
|
t(e);
|
|
1807
1807
|
});
|
|
1808
|
-
|
|
1808
|
+
bt("__r", function(t, e) {
|
|
1809
1809
|
Yt();
|
|
1810
1810
|
var i, o = e.__c;
|
|
1811
1811
|
o && (o.__$f &= -2, (i = o.__$u) === void 0 && (o.__$u = i = function(a) {
|
|
@@ -1817,10 +1817,10 @@ gt("__r", function(t, e) {
|
|
|
1817
1817
|
}, r;
|
|
1818
1818
|
}())), Yt(i), t(e);
|
|
1819
1819
|
});
|
|
1820
|
-
|
|
1820
|
+
bt("__e", function(t, e, i, o) {
|
|
1821
1821
|
Yt(), t(e, i, o);
|
|
1822
1822
|
});
|
|
1823
|
-
|
|
1823
|
+
bt("diffed", function(t, e) {
|
|
1824
1824
|
Yt();
|
|
1825
1825
|
var i;
|
|
1826
1826
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
@@ -1843,7 +1843,7 @@ gt("diffed", function(t, e) {
|
|
|
1843
1843
|
t(e);
|
|
1844
1844
|
});
|
|
1845
1845
|
function rr(t, e, i, o) {
|
|
1846
|
-
var a = e in t && t.ownerSVGElement === void 0, r =
|
|
1846
|
+
var a = e in t && t.ownerSVGElement === void 0, r = Z(i);
|
|
1847
1847
|
return { o: function(n, c) {
|
|
1848
1848
|
r.value = n, o = c;
|
|
1849
1849
|
}, d: Re(function() {
|
|
@@ -1851,7 +1851,7 @@ function rr(t, e, i, o) {
|
|
|
1851
1851
|
o[e] !== n && (o[e] = n, a ? t[e] = n : n ? t.setAttribute(e, n) : t.removeAttribute(e));
|
|
1852
1852
|
}) };
|
|
1853
1853
|
}
|
|
1854
|
-
|
|
1854
|
+
bt("unmount", function(t, e) {
|
|
1855
1855
|
if (typeof e.type == "string") {
|
|
1856
1856
|
var i = e.__e;
|
|
1857
1857
|
if (i) {
|
|
@@ -1873,7 +1873,7 @@ gt("unmount", function(t, e) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
t(e);
|
|
1875
1875
|
});
|
|
1876
|
-
|
|
1876
|
+
bt("__h", function(t, e, i, o) {
|
|
1877
1877
|
(o < 3 || o === 9) && (e.__$f |= 2), t(e, i, o);
|
|
1878
1878
|
});
|
|
1879
1879
|
L.prototype.shouldComponentUpdate = function(t, e) {
|
|
@@ -1892,7 +1892,7 @@ L.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
1892
1892
|
};
|
|
1893
1893
|
function nr(t) {
|
|
1894
1894
|
return lt(function() {
|
|
1895
|
-
return
|
|
1895
|
+
return Z(t);
|
|
1896
1896
|
}, []);
|
|
1897
1897
|
}
|
|
1898
1898
|
const _e = (t, e) => e.some((i) => t instanceof i);
|
|
@@ -2053,7 +2053,7 @@ xo((t) => ({
|
|
|
2053
2053
|
return _i(e, i) || t.has(e, i);
|
|
2054
2054
|
}
|
|
2055
2055
|
}));
|
|
2056
|
-
const
|
|
2056
|
+
const jt = typeof indexedDB > "u" ? void 0 : hr("inploi-chatbot", 3, {
|
|
2057
2057
|
upgrade(t) {
|
|
2058
2058
|
try {
|
|
2059
2059
|
t.deleteObjectStore("state");
|
|
@@ -2062,16 +2062,16 @@ const It = typeof indexedDB > "u" ? void 0 : hr("inploi-chatbot", 3, {
|
|
|
2062
2062
|
t.createObjectStore("state");
|
|
2063
2063
|
}
|
|
2064
2064
|
});
|
|
2065
|
-
let Nt, ae,
|
|
2065
|
+
let Nt, ae, vt;
|
|
2066
2066
|
const mi = () => {
|
|
2067
2067
|
if (!Nt)
|
|
2068
|
-
return
|
|
2068
|
+
return vt;
|
|
2069
2069
|
const t = Nt;
|
|
2070
2070
|
Nt = void 0;
|
|
2071
|
-
const e = $o(t), i =
|
|
2072
|
-
|
|
2071
|
+
const e = $o(t), i = jt == null ? void 0 : jt.then((o) => o.put("state", t.data, e)).finally(() => {
|
|
2072
|
+
vt === i && (vt = void 0);
|
|
2073
2073
|
});
|
|
2074
|
-
return
|
|
2074
|
+
return vt = i, vt;
|
|
2075
2075
|
}, rt = {
|
|
2076
2076
|
getStateData: async (t, e, i) => {
|
|
2077
2077
|
var a;
|
|
@@ -2080,7 +2080,7 @@ const mi = () => {
|
|
|
2080
2080
|
flowKeys: e,
|
|
2081
2081
|
context: i
|
|
2082
2082
|
});
|
|
2083
|
-
return (a = await
|
|
2083
|
+
return (a = await jt) == null ? void 0 : a.get("state", o);
|
|
2084
2084
|
},
|
|
2085
2085
|
setStateData: (t) => {
|
|
2086
2086
|
Nt = t, clearTimeout(ae), ae = setTimeout(() => void mi(), 1e3);
|
|
@@ -2092,7 +2092,7 @@ const mi = () => {
|
|
|
2092
2092
|
throw new Error("No head node found");
|
|
2093
2093
|
return e;
|
|
2094
2094
|
}, un = (t) => (e) => e ? e.type === t : !1;
|
|
2095
|
-
class
|
|
2095
|
+
class dt extends Error {
|
|
2096
2096
|
constructor() {
|
|
2097
2097
|
super("Aborted");
|
|
2098
2098
|
}
|
|
@@ -2103,6 +2103,7 @@ const _r = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2103
2103
|
currentInput: null,
|
|
2104
2104
|
nodeHistory: [],
|
|
2105
2105
|
isFinished: !1,
|
|
2106
|
+
hasInteracted: !1,
|
|
2106
2107
|
sequence: 0,
|
|
2107
2108
|
flowSessionId: _r()
|
|
2108
2109
|
}), pn = (t) => (
|
|
@@ -2153,25 +2154,25 @@ const _r = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2153
2154
|
return i && Dt(t, i, (o, a) => {
|
|
2154
2155
|
e[o] = a;
|
|
2155
2156
|
}), e;
|
|
2156
|
-
}, $o = (t) => [...t.flowKeys, t.id, t.version, er(t.context)].join("/"),
|
|
2157
|
+
}, $o = (t) => [...t.flowKeys, t.id, t.version, t.build, er(t.context)].join("/"), it = Z({
|
|
2157
2158
|
state: "idle"
|
|
2158
|
-
}),
|
|
2159
|
+
}), st = (t) => {
|
|
2159
2160
|
const {
|
|
2160
2161
|
state: e,
|
|
2161
2162
|
flow: i
|
|
2162
|
-
} =
|
|
2163
|
+
} = it.value;
|
|
2163
2164
|
if (e !== "loaded")
|
|
2164
2165
|
return;
|
|
2165
2166
|
wo(i, "No flow to update");
|
|
2166
2167
|
const o = t(i.data);
|
|
2167
|
-
i.data = o,
|
|
2168
|
+
i.data = o, it.value = {
|
|
2168
2169
|
state: e,
|
|
2169
2170
|
flow: i
|
|
2170
2171
|
}, rt.setStateData(i);
|
|
2171
2172
|
}, $ = {
|
|
2172
|
-
current$:
|
|
2173
|
-
viewState$:
|
|
2174
|
-
inputHeight$:
|
|
2173
|
+
current$: it,
|
|
2174
|
+
viewState$: Z("closed"),
|
|
2175
|
+
inputHeight$: Z(53),
|
|
2175
2176
|
prepareFlow: async ({
|
|
2176
2177
|
flow: t,
|
|
2177
2178
|
context: e = {},
|
|
@@ -2197,30 +2198,34 @@ const _r = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2197
2198
|
locationOrigin: n
|
|
2198
2199
|
}),
|
|
2199
2200
|
commitFlow: (t) => {
|
|
2200
|
-
|
|
2201
|
+
it.value = {
|
|
2201
2202
|
state: "loaded",
|
|
2202
2203
|
flow: t
|
|
2203
2204
|
}, rt.setStateData(t);
|
|
2204
2205
|
},
|
|
2205
2206
|
cancelCurrentFlow: () => {
|
|
2206
|
-
|
|
2207
|
+
it.value = {
|
|
2207
2208
|
state: "idle"
|
|
2208
2209
|
}, $.viewState$.value = "closed";
|
|
2209
2210
|
},
|
|
2210
|
-
markAsFinished: () =>
|
|
2211
|
+
markAsFinished: () => st((t) => ({
|
|
2211
2212
|
...t,
|
|
2212
2213
|
isFinished: !0
|
|
2213
2214
|
})),
|
|
2214
|
-
|
|
2215
|
+
markAsInteracted: () => st((t) => ({
|
|
2216
|
+
...t,
|
|
2217
|
+
hasInteracted: !0
|
|
2218
|
+
})),
|
|
2219
|
+
setCurrentNodeId: (t) => st((e) => (e.nodeHistory.push(t), e)),
|
|
2215
2220
|
restart: () => {
|
|
2216
2221
|
const {
|
|
2217
2222
|
state: t,
|
|
2218
2223
|
flow: e
|
|
2219
|
-
} =
|
|
2224
|
+
} = it.value;
|
|
2220
2225
|
if (t !== "loaded")
|
|
2221
2226
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2222
2227
|
const i = yi();
|
|
2223
|
-
|
|
2228
|
+
it.value = {
|
|
2224
2229
|
state: t,
|
|
2225
2230
|
flow: {
|
|
2226
2231
|
...e,
|
|
@@ -2234,20 +2239,20 @@ const _r = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2234
2239
|
...t,
|
|
2235
2240
|
groupId: e
|
|
2236
2241
|
};
|
|
2237
|
-
return
|
|
2242
|
+
return st((o) => (o.messages.push(i), o));
|
|
2238
2243
|
},
|
|
2239
2244
|
/** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
|
|
2240
2245
|
removeMessagesSentByNodeIds: (t) => {
|
|
2241
2246
|
const {
|
|
2242
2247
|
state: e,
|
|
2243
2248
|
flow: i
|
|
2244
|
-
} =
|
|
2249
|
+
} = it.value;
|
|
2245
2250
|
wo(e === "loaded", "Application not loaded");
|
|
2246
2251
|
const o = i.data.messages.filter((a) => !a.groupId || !t.includes(a.groupId));
|
|
2247
2252
|
i.data.messages = o, rt.setStateData(i);
|
|
2248
2253
|
},
|
|
2249
|
-
setSubmission: (t, e) =>
|
|
2250
|
-
setInput: (t) =>
|
|
2254
|
+
setSubmission: (t, e) => st((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2255
|
+
setInput: (t) => st((e) => ({
|
|
2251
2256
|
...e,
|
|
2252
2257
|
currentInput: t ?? null
|
|
2253
2258
|
}))
|
|
@@ -2491,7 +2496,7 @@ const _r = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2491
2496
|
};
|
|
2492
2497
|
function Se() {
|
|
2493
2498
|
}
|
|
2494
|
-
const Er = ro(() => import("./chatbot-body-
|
|
2499
|
+
const Er = ro(() => import("./chatbot-body-f7362cf6.js").then((t) => t.ChatbotBody)), So = De("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out", {
|
|
2495
2500
|
variants: {
|
|
2496
2501
|
view: {
|
|
2497
2502
|
closed: "hidden",
|
|
@@ -2512,7 +2517,7 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2512
2517
|
...e
|
|
2513
2518
|
}) => {
|
|
2514
2519
|
const i = qt(null);
|
|
2515
|
-
return
|
|
2520
|
+
return wt(() => {
|
|
2516
2521
|
const o = i.current;
|
|
2517
2522
|
o && (t ? o.showModal() : o.close());
|
|
2518
2523
|
}, [t]), p("dialog", {
|
|
@@ -2620,7 +2625,7 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2620
2625
|
})
|
|
2621
2626
|
});
|
|
2622
2627
|
}, Or = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overflow-y-scroll{overflow-y:scroll}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-b-3xl{border-bottom-right-radius:24px;border-bottom-left-radius:24px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-\\[\\#4CAF50\\]{--tw-text-opacity: 1;color:rgb(76 175 80 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-\\[\\#FFC107\\]{--tw-text-opacity: 1;color:rgb(255 193 7 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-neutral-8{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .text-neutral-9{color:var(--i-color-n-9)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-blur-xl{--tw-backdrop-blur: blur(24px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .duration-700{transition-duration:.7s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[height\\]{will-change:height}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-11:has(+*>input:focus){color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}
|
|
2623
|
-
`, Eo = "inploi-chatbot", Ce = `[data-widget='${Eo}']`,
|
|
2628
|
+
`, Eo = "inploi-chatbot", Ce = `[data-widget='${Eo}']`, Ir = () => ({
|
|
2624
2629
|
getChatbotElement: () => document.querySelector(Ce),
|
|
2625
2630
|
getOrCreateChatbotElement: () => {
|
|
2626
2631
|
const t = document.querySelector(Ce);
|
|
@@ -2629,31 +2634,33 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2629
2634
|
const e = document.createElement("div");
|
|
2630
2635
|
return document.body.appendChild(e), e.dataset.widget = Eo, e;
|
|
2631
2636
|
}
|
|
2632
|
-
}),
|
|
2637
|
+
}), jr = 25, Ee = Z({
|
|
2633
2638
|
instant: () => {
|
|
2634
2639
|
},
|
|
2635
2640
|
smooth: () => {
|
|
2636
2641
|
}
|
|
2637
2642
|
}), Nr = (t, e) => new Promise((i, o) => {
|
|
2638
2643
|
if (e != null && e.aborted)
|
|
2639
|
-
return o(new
|
|
2644
|
+
return o(new dt());
|
|
2640
2645
|
const a = setTimeout(i, t);
|
|
2641
2646
|
e == null || e.addEventListener("abort", () => {
|
|
2642
|
-
clearTimeout(a), o(new
|
|
2647
|
+
clearTimeout(a), o(new dt());
|
|
2643
2648
|
}, {
|
|
2644
2649
|
once: !0
|
|
2645
2650
|
});
|
|
2646
2651
|
}), At = {
|
|
2647
|
-
onSubmitSuccessFn$:
|
|
2652
|
+
onSubmitSuccessFn$: Z(() => {
|
|
2653
|
+
}),
|
|
2654
|
+
onInteractionFn$: Z(() => {
|
|
2648
2655
|
}),
|
|
2649
|
-
isBotTyping$:
|
|
2656
|
+
isBotTyping$: Z(!1),
|
|
2650
2657
|
scrollToEnd: {
|
|
2651
2658
|
instant: () => Ee.value.instant(),
|
|
2652
2659
|
smooth: () => Ee.value.smooth()
|
|
2653
2660
|
}
|
|
2654
2661
|
}, hn = () => {
|
|
2655
2662
|
const t = qt(null);
|
|
2656
|
-
|
|
2663
|
+
wt(() => {
|
|
2657
2664
|
Ee.value = {
|
|
2658
2665
|
instant: () => {
|
|
2659
2666
|
var i;
|
|
@@ -2682,9 +2689,9 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2682
2689
|
type: "text"
|
|
2683
2690
|
}, async (n) => {
|
|
2684
2691
|
if (a != null && a.aborted)
|
|
2685
|
-
throw new
|
|
2692
|
+
throw new dt();
|
|
2686
2693
|
At.isBotTyping$.value = !0;
|
|
2687
|
-
const c = Math.min(Math.max(20, n.text.length), 100) *
|
|
2694
|
+
const c = Math.min(Math.max(20, n.text.length), 100) * jr;
|
|
2688
2695
|
try {
|
|
2689
2696
|
await Nr(c, a);
|
|
2690
2697
|
} finally {
|
|
@@ -2692,7 +2699,7 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2692
2699
|
}
|
|
2693
2700
|
}).otherwise(async () => {
|
|
2694
2701
|
}), a != null && a.aborted)
|
|
2695
|
-
throw new
|
|
2702
|
+
throw new dt();
|
|
2696
2703
|
$.addMessage(o, r);
|
|
2697
2704
|
},
|
|
2698
2705
|
input: ({
|
|
@@ -2700,11 +2707,11 @@ const Er = ro(() => import("./chatbot-body-2325a09a.js").then((t) => t.ChatbotBo
|
|
|
2700
2707
|
signal: a
|
|
2701
2708
|
}) => {
|
|
2702
2709
|
if (a != null && a.aborted)
|
|
2703
|
-
throw new
|
|
2710
|
+
throw new dt();
|
|
2704
2711
|
return $.setInput(o), new Promise((r) => {
|
|
2705
2712
|
const n = (c) => {
|
|
2706
2713
|
if (a != null && a.aborted)
|
|
2707
|
-
throw new
|
|
2714
|
+
throw new dt();
|
|
2708
2715
|
$.setInput(void 0), o.key && $.setSubmission(o.key, c), r(c);
|
|
2709
2716
|
};
|
|
2710
2717
|
At.onSubmitSuccessFn$.value = n;
|
|
@@ -2795,7 +2802,7 @@ var Po = Mo(Oe([M(), Mt()]), Ei(String)), To = A({ id: Po, version: Mt(), build:
|
|
|
2795
2802
|
raw: { core: c, semantic: s }
|
|
2796
2803
|
}), u = Hr(Pe(c, s, d)), l = ([w, g], f) => {
|
|
2797
2804
|
const b = [f, w].filter(Boolean).join(".");
|
|
2798
|
-
return typeof g == "object" ? Object.entries(g).flatMap((
|
|
2805
|
+
return typeof g == "object" ? Object.entries(g).flatMap((j) => l(j, b)) : [[o.getToken("declaration", b), g]];
|
|
2799
2806
|
};
|
|
2800
2807
|
return {
|
|
2801
2808
|
values: u,
|
|
@@ -2912,7 +2919,7 @@ ${i.concat(i).join(`
|
|
|
2912
2919
|
`)}
|
|
2913
2920
|
}`;
|
|
2914
2921
|
}, fn = ({
|
|
2915
|
-
_internal_domManager: t =
|
|
2922
|
+
_internal_domManager: t = Ir(),
|
|
2916
2923
|
theme: e,
|
|
2917
2924
|
terms: i,
|
|
2918
2925
|
feedback: o
|
|
@@ -2928,7 +2935,7 @@ ${i.concat(i).join(`
|
|
|
2928
2935
|
const w = tr({
|
|
2929
2936
|
locale: void 0,
|
|
2930
2937
|
overrides: i ?? {}
|
|
2931
|
-
}), g = s && d ?
|
|
2938
|
+
}), g = s && d ? Io({
|
|
2932
2939
|
environment: d,
|
|
2933
2940
|
publishableKey: s,
|
|
2934
2941
|
logger: n
|
|
@@ -2939,7 +2946,7 @@ ${i.concat(i).join(`
|
|
|
2939
2946
|
}), $.cancelCurrentFlow(), $.inputHeight$.value = 53, At.isBotTyping$.value = !1;
|
|
2940
2947
|
const v = t.getChatbotElement();
|
|
2941
2948
|
v && (ct(null, v), v.remove()), u = !1, n.info("Chatbot plugin destroyed");
|
|
2942
|
-
},
|
|
2949
|
+
}, j = () => {
|
|
2943
2950
|
if (typeof window > "u")
|
|
2944
2951
|
return;
|
|
2945
2952
|
const v = l, _ = [B("style", {
|
|
@@ -3002,7 +3009,7 @@ ${i.concat(i).join(`
|
|
|
3002
3009
|
try {
|
|
3003
3010
|
if (u)
|
|
3004
3011
|
return;
|
|
3005
|
-
|
|
3012
|
+
j(), n.info("Chatbot plugin prepared");
|
|
3006
3013
|
} catch (v) {
|
|
3007
3014
|
n.error("Error preparing chatbot plugin", v);
|
|
3008
3015
|
}
|
|
@@ -3054,7 +3061,7 @@ ${i.concat(i).join(`
|
|
|
3054
3061
|
open: async (v) => {
|
|
3055
3062
|
if (!(typeof window > "u"))
|
|
3056
3063
|
try {
|
|
3057
|
-
$.cancelCurrentFlow(), $.viewState$.value = "maximised", u ||
|
|
3064
|
+
$.cancelCurrentFlow(), $.viewState$.value = "maximised", u || j();
|
|
3058
3065
|
const _ = l;
|
|
3059
3066
|
v instanceof Promise ? ($.current$.value = {
|
|
3060
3067
|
state: "loading"
|
|
@@ -3109,7 +3116,7 @@ function qr({
|
|
|
3109
3116
|
}
|
|
3110
3117
|
export {
|
|
3111
3118
|
en as $,
|
|
3112
|
-
|
|
3119
|
+
dt as A,
|
|
3113
3120
|
Jr as C,
|
|
3114
3121
|
an as D,
|
|
3115
3122
|
lt as F,
|
|
@@ -3124,23 +3131,23 @@ export {
|
|
|
3124
3131
|
qt as b,
|
|
3125
3132
|
Ne as c,
|
|
3126
3133
|
De as d,
|
|
3127
|
-
|
|
3128
|
-
|
|
3134
|
+
ca as e,
|
|
3135
|
+
pn as f,
|
|
3129
3136
|
dn as g,
|
|
3130
3137
|
Xi as h,
|
|
3131
3138
|
wo as i,
|
|
3132
|
-
|
|
3139
|
+
un as j,
|
|
3133
3140
|
K as k,
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3141
|
+
nn as l,
|
|
3142
|
+
At as m,
|
|
3143
|
+
xr as n,
|
|
3137
3144
|
p as o,
|
|
3138
3145
|
Ji as p,
|
|
3139
|
-
|
|
3140
|
-
|
|
3146
|
+
hn as q,
|
|
3147
|
+
fn as r,
|
|
3141
3148
|
$ as s,
|
|
3142
|
-
fn as t,
|
|
3143
3149
|
Le as u,
|
|
3144
|
-
|
|
3150
|
+
ji as w,
|
|
3151
|
+
wt as y,
|
|
3145
3152
|
Pt as z
|
|
3146
3153
|
};
|