@inploi/plugin-chatbot 14.0.1 → 14.2.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 +5 -5
- package/dist/{chatbot-body-77c91e40.js → chatbot-body-2d2c07ed.js} +846 -849
- package/dist/chatbot-body-e3769bf3.cjs +5 -0
- package/dist/chatbot.idb.d.ts +1 -0
- package/dist/chatbot.state.d.ts +8 -1
- package/dist/i18n.d.ts +18 -6
- package/dist/index-267eafbe.cjs +5 -0
- package/dist/{index-21fc767e.js → index-ec4bd865.js} +618 -608
- package/dist/interpreter.d.ts +2 -0
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +3 -3
- package/dist/chatbot-body-a078e4eb.cjs +0 -5
- package/dist/index-bc9b2b2e.cjs +0 -5
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { endpoint as
|
|
1
|
+
import { endpoint as Si, typed as zo, createPlugin as Oo, createTalentBankClient as jo } from "@inploi/sdk";
|
|
2
2
|
var G;
|
|
3
|
-
function
|
|
3
|
+
function Ci(t) {
|
|
4
4
|
return { lang: (t == null ? void 0 : t.lang) ?? (G == null ? void 0 : G.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (G == null ? void 0 : G.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (G == null ? void 0 : G.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
|
-
var Gt;
|
|
7
|
-
function No(t) {
|
|
8
|
-
return Gt == null ? void 0 : Gt.get(t);
|
|
9
|
-
}
|
|
10
6
|
var Zt;
|
|
11
|
-
function
|
|
7
|
+
function No(t) {
|
|
12
8
|
return Zt == null ? void 0 : Zt.get(t);
|
|
13
9
|
}
|
|
14
10
|
var Jt;
|
|
15
|
-
function Ao(t
|
|
11
|
+
function Ao(t) {
|
|
12
|
+
return Jt == null ? void 0 : Jt.get(t);
|
|
13
|
+
}
|
|
14
|
+
var Qt;
|
|
15
|
+
function Do(t, e) {
|
|
16
16
|
var i;
|
|
17
|
-
return (i =
|
|
17
|
+
return (i = Qt == null ? void 0 : Qt.get(t)) == null ? void 0 : i.get(e);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Ei(t) {
|
|
20
20
|
var i, o;
|
|
21
21
|
let e = typeof 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 X(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, s = (a == null ? void 0 : a.received) ??
|
|
25
|
+
let r = a && "input" in a ? a.input : i.value, n = (a == null ? void 0 : a.expected) ?? t.expects ?? null, s = (a == null ? void 0 : a.received) ?? Ei(r), c = { kind: t.kind, type: t.type, input: r, expected: n, received: s, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${s}`, 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, c.lang) ?? (d ? Ao(c.lang) : null) ?? o.message ?? No(c.lang);
|
|
26
26
|
u !== void 0 && (c.message = typeof u == "function" ? u(c) : u), d && (i.typed = !1), i.issues ? i.issues.push(c) : i.issues = [c];
|
|
27
27
|
}
|
|
28
28
|
function F(t) {
|
|
29
29
|
return { version: 1, vendor: "valibot", validate(e) {
|
|
30
|
-
return t["~run"]({ value: e },
|
|
30
|
+
return t["~run"]({ value: e }, Ci());
|
|
31
31
|
} };
|
|
32
32
|
}
|
|
33
33
|
function Bo(t, e) {
|
|
@@ -37,26 +37,26 @@ function Fo(t, e) {
|
|
|
37
37
|
let i = [...new Set(t)];
|
|
38
38
|
return i.length > 1 ? `(${i.join(` ${e} `)})` : i[0] ?? "never";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
return { kind: "transformation", type: "transform", reference:
|
|
40
|
+
function Pi(t) {
|
|
41
|
+
return { kind: "transformation", type: "transform", reference: Pi, async: !1, operation: t, "~run"(e) {
|
|
42
42
|
return e.value = this.operation(e.value), e;
|
|
43
43
|
} };
|
|
44
44
|
}
|
|
45
45
|
function Mo(t, e, i) {
|
|
46
46
|
return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Te(t, e, i) {
|
|
49
49
|
return typeof t.default == "function" ? t.default(e, i) : t.default;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
52
|
-
return { kind: "schema", type: "any", reference:
|
|
51
|
+
function Ti() {
|
|
52
|
+
return { kind: "schema", type: "any", reference: Ti, expects: "any", async: !1, get "~standard"() {
|
|
53
53
|
return F(this);
|
|
54
54
|
}, "~run"(t) {
|
|
55
55
|
return t.typed = !0, t;
|
|
56
56
|
} };
|
|
57
57
|
}
|
|
58
|
-
function
|
|
59
|
-
return { kind: "schema", type: "array", reference:
|
|
58
|
+
function Ii(t, e) {
|
|
59
|
+
return { kind: "schema", type: "array", reference: Ii, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
|
|
60
60
|
return F(this);
|
|
61
61
|
}, "~run"(i, o) {
|
|
62
62
|
var r;
|
|
@@ -81,15 +81,15 @@ function Ti(t, e) {
|
|
|
81
81
|
return i;
|
|
82
82
|
} };
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return { kind: "schema", type: "boolean", reference:
|
|
84
|
+
function Ie(t) {
|
|
85
|
+
return { kind: "schema", type: "boolean", reference: Ie, expects: "boolean", async: !1, message: t, get "~standard"() {
|
|
86
86
|
return F(this);
|
|
87
87
|
}, "~run"(e, i) {
|
|
88
88
|
return typeof e.value == "boolean" ? e.typed = !0 : X(this, "type", e, i), e;
|
|
89
89
|
} };
|
|
90
90
|
}
|
|
91
91
|
function Bt(t, e) {
|
|
92
|
-
return { kind: "schema", type: "literal", reference: Bt, expects:
|
|
92
|
+
return { kind: "schema", type: "literal", reference: Bt, expects: Ei(t), async: !1, literal: t, message: e, get "~standard"() {
|
|
93
93
|
return F(this);
|
|
94
94
|
}, "~run"(i, o) {
|
|
95
95
|
return i.value === this.literal ? i.typed = !0 : X(this, "type", i, o), i;
|
|
@@ -99,7 +99,7 @@ function Ft(t, e) {
|
|
|
99
99
|
return { kind: "schema", type: "nullable", reference: Ft, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
100
100
|
return F(this);
|
|
101
101
|
}, "~run"(i, o) {
|
|
102
|
-
return i.value === null && (this.default !== void 0 && (i.value =
|
|
102
|
+
return i.value === null && (this.default !== void 0 && (i.value = Te(this, i, o)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, o);
|
|
103
103
|
} };
|
|
104
104
|
}
|
|
105
105
|
function Mt(t) {
|
|
@@ -109,8 +109,8 @@ function Mt(t) {
|
|
|
109
109
|
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : X(this, "type", e, i), e;
|
|
110
110
|
} };
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return { kind: "schema", type: "object", reference:
|
|
112
|
+
function D(t, e) {
|
|
113
|
+
return { kind: "schema", type: "object", reference: D, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
|
|
114
114
|
return F(this);
|
|
115
115
|
}, "~run"(i, o) {
|
|
116
116
|
var r;
|
|
@@ -120,7 +120,7 @@ function A(t, e) {
|
|
|
120
120
|
for (let n in this.entries) {
|
|
121
121
|
let s = this.entries[n];
|
|
122
122
|
if (n in a || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
|
|
123
|
-
let c = n in a ? a[n] :
|
|
123
|
+
let c = n in a ? a[n] : Te(s), d = s["~run"]({ value: c }, o);
|
|
124
124
|
if (d.issues) {
|
|
125
125
|
let u = { type: "object", origin: "value", input: a, key: n, value: c };
|
|
126
126
|
for (let l of d.issues)
|
|
@@ -141,15 +141,15 @@ function A(t, e) {
|
|
|
141
141
|
return i;
|
|
142
142
|
} };
|
|
143
143
|
}
|
|
144
|
-
function
|
|
145
|
-
return { kind: "schema", type: "optional", reference:
|
|
144
|
+
function M(t, e) {
|
|
145
|
+
return { kind: "schema", type: "optional", reference: M, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
146
146
|
return F(this);
|
|
147
147
|
}, "~run"(i, o) {
|
|
148
|
-
return i.value === void 0 && (this.default !== void 0 && (i.value =
|
|
148
|
+
return i.value === void 0 && (this.default !== void 0 && (i.value = Te(this, i, o)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, o);
|
|
149
149
|
} };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return { kind: "schema", type: "record", reference:
|
|
151
|
+
function zi(t, e, i) {
|
|
152
|
+
return { kind: "schema", type: "record", reference: zi, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
|
|
153
153
|
return F(this);
|
|
154
154
|
}, "~run"(o, a) {
|
|
155
155
|
var n, s;
|
|
@@ -160,9 +160,9 @@ function Ii(t, e, i) {
|
|
|
160
160
|
if (Bo(r, c)) {
|
|
161
161
|
let d = r[c], u = this.key["~run"]({ value: c }, a);
|
|
162
162
|
if (u.issues) {
|
|
163
|
-
let
|
|
163
|
+
let h = { type: "object", origin: "key", input: r, key: c, value: d };
|
|
164
164
|
for (let g of u.issues)
|
|
165
|
-
g.path = [
|
|
165
|
+
g.path = [h], (n = o.issues) == null || n.push(g);
|
|
166
166
|
if (o.issues || (o.issues = u.issues), a.abortEarly) {
|
|
167
167
|
o.typed = !1;
|
|
168
168
|
break;
|
|
@@ -170,9 +170,9 @@ function Ii(t, e, i) {
|
|
|
170
170
|
}
|
|
171
171
|
let l = this.value["~run"]({ value: d }, a);
|
|
172
172
|
if (l.issues) {
|
|
173
|
-
let
|
|
173
|
+
let h = { type: "object", origin: "value", input: r, key: c, value: d };
|
|
174
174
|
for (let g of l.issues)
|
|
175
|
-
g.path ? g.path.unshift(
|
|
175
|
+
g.path ? g.path.unshift(h) : g.path = [h], (s = o.issues) == null || s.push(g);
|
|
176
176
|
if (o.issues || (o.issues = l.issues), a.abortEarly) {
|
|
177
177
|
o.typed = !1;
|
|
178
178
|
break;
|
|
@@ -185,8 +185,8 @@ function Ii(t, e, i) {
|
|
|
185
185
|
return o;
|
|
186
186
|
} };
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
return { kind: "schema", type: "string", reference:
|
|
188
|
+
function L(t) {
|
|
189
|
+
return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
|
|
190
190
|
return F(this);
|
|
191
191
|
}, "~run"(e, i) {
|
|
192
192
|
return typeof e.value == "string" ? e.typed = !0 : X(this, "type", e, i), e;
|
|
@@ -199,8 +199,8 @@ function Ve(t) {
|
|
|
199
199
|
e ? e.push(...i.issues) : e = i.issues;
|
|
200
200
|
return e;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
203
|
-
return { kind: "schema", type: "union", reference:
|
|
202
|
+
function ze(t, e) {
|
|
203
|
+
return { kind: "schema", type: "union", reference: ze, expects: Fo(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
204
204
|
return F(this);
|
|
205
205
|
}, "~run"(i, o) {
|
|
206
206
|
let a, r, n;
|
|
@@ -230,8 +230,8 @@ function Ie(t, e) {
|
|
|
230
230
|
return i;
|
|
231
231
|
} };
|
|
232
232
|
}
|
|
233
|
-
function
|
|
234
|
-
return { kind: "schema", type: "unknown", reference:
|
|
233
|
+
function Lt() {
|
|
234
|
+
return { kind: "schema", type: "unknown", reference: Lt, expects: "unknown", async: !1, get "~standard"() {
|
|
235
235
|
return F(this);
|
|
236
236
|
}, "~run"(t) {
|
|
237
237
|
return t.typed = !0, t;
|
|
@@ -253,10 +253,10 @@ function Lo(...t) {
|
|
|
253
253
|
} };
|
|
254
254
|
}
|
|
255
255
|
function Oi(t, e, i) {
|
|
256
|
-
let o = t["~run"]({ value: e },
|
|
256
|
+
let o = t["~run"]({ value: e }, Ci(i));
|
|
257
257
|
return { typed: o.typed, success: !o.issues, output: o.value, issues: o.issues };
|
|
258
258
|
}
|
|
259
|
-
var Ho = (t) => ({ ok: !0, err: !1, val: t }), Ro = (t) => ({ err: !0, ok: !1, val: t }),
|
|
259
|
+
var Ho = (t) => ({ ok: !0, err: !1, val: t }), Ro = (t) => ({ err: !0, ok: !1, val: t }), Oe = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
|
|
260
260
|
function Uo(t, e, i) {
|
|
261
261
|
var n, s;
|
|
262
262
|
let o = t.find((c) => c.type === "pre-apply-result");
|
|
@@ -264,21 +264,21 @@ function Uo(t, e, i) {
|
|
|
264
264
|
return;
|
|
265
265
|
let a = (n = e[o.data.participationKey]) == null ? void 0 : n.value, r = {};
|
|
266
266
|
if (a === !0)
|
|
267
|
-
for (let c of
|
|
267
|
+
for (let c of Oe(t)) {
|
|
268
268
|
let d = (s = e[c.data.key]) == null ? void 0 : s.value;
|
|
269
269
|
Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (r[c.data.key] = d);
|
|
270
270
|
}
|
|
271
271
|
return { node_id: o.id, flow_session_id: i, participation: a, answers: r };
|
|
272
272
|
}
|
|
273
|
-
function
|
|
274
|
-
let i = Uo(t, e, ""), o =
|
|
273
|
+
function tn(t, e) {
|
|
274
|
+
let i = Uo(t, e, ""), o = Oe(t).map((r) => {
|
|
275
275
|
let n = r.data.preApply, s = i == null ? void 0 : i.answers[r.data.key], c = r.type === "question-boolean" ? typeof s == "boolean" : r.data.options.some((d) => d.value === s);
|
|
276
276
|
return { key: r.data.key, severity: n.severity, message: n.mismatchMessage, matched: c && s === n.expectedValue, valid: c };
|
|
277
277
|
}), a = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && o.length > 0 && o.every((r) => r.valid) ? "completed" : "unavailable";
|
|
278
278
|
return { status: a, hasHardConcerns: a === "completed" ? o.some((r) => !r.matched && r.severity === "hard") : null, hasAdvisoryConcerns: a === "completed" ? o.some((r) => !r.matched && r.severity === "advisory") : null, answers: a === "completed" ? o : [] };
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
let i = new Set(
|
|
280
|
+
function en(t, e) {
|
|
281
|
+
let i = new Set(Oe(t).map((o) => o.data.key));
|
|
282
282
|
for (let o of t)
|
|
283
283
|
o.type === "pre-apply-result" && (i.add(o.data.key), i.add(o.data.participationKey));
|
|
284
284
|
return Object.fromEntries(Object.entries(e).filter(([o]) => !i.has(o)));
|
|
@@ -293,20 +293,20 @@ var ji = (t, e) => {
|
|
|
293
293
|
i = i[o];
|
|
294
294
|
}
|
|
295
295
|
return i;
|
|
296
|
-
},
|
|
296
|
+
}, on = (t, e = "all") => {
|
|
297
297
|
let i = {}, o = e === "all" ? null : new Set(e);
|
|
298
298
|
for (let a in t) {
|
|
299
299
|
let r = t[a];
|
|
300
300
|
r && (o && !o.has(a) || (i[a] = r.value));
|
|
301
301
|
}
|
|
302
302
|
return i;
|
|
303
|
-
},
|
|
303
|
+
}, an = ({ key: t, submissions: e }) => {
|
|
304
304
|
var o;
|
|
305
305
|
let i = (o = e[t]) == null ? void 0 : o.value;
|
|
306
306
|
if (typeof i != "string" && typeof i != "number")
|
|
307
307
|
throw new Error(`Submission at “${t}” is not a string or number`);
|
|
308
308
|
return i;
|
|
309
|
-
},
|
|
309
|
+
}, rn = ({ key: t, path: e, submissions: i, context: o }) => {
|
|
310
310
|
if (t === "$context") {
|
|
311
311
|
if (!e)
|
|
312
312
|
return;
|
|
@@ -324,20 +324,25 @@ var ji = (t, e) => {
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
return i[t];
|
|
327
|
-
},
|
|
327
|
+
}, Wo = (t) => {
|
|
328
328
|
let e = t.split(".").pop();
|
|
329
329
|
return e ? Ho(e ? "." + e : "") : Ro("No file extension found");
|
|
330
|
-
},
|
|
330
|
+
}, nn = (t, e) => {
|
|
331
331
|
if (e.length === 0)
|
|
332
332
|
return !0;
|
|
333
333
|
let i = e.map((o) => o.toLowerCase());
|
|
334
334
|
return t.every((o) => {
|
|
335
|
-
let a =
|
|
335
|
+
let a = Wo(o.name);
|
|
336
336
|
return a.ok && i.includes(a.val.toLowerCase());
|
|
337
337
|
});
|
|
338
|
-
},
|
|
339
|
-
|
|
340
|
-
var dn = (t) => {
|
|
338
|
+
}, sn = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, ln = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Vo = D({ integration_response: D({ data: D({ redirect_url: L(), message: M(Ft(L())), button_text: M(Ft(L())) }) }) }), cn = (t) => Oi(Vo, t).success, Yo = D({ integration_response: D({ status: M(Lt()), error: D({ message: L(), data: M(Lt()) }) }) }), Ko = (t) => Oi(Yo, t).success;
|
|
339
|
+
D({ success: Bt(!1), message: M(Lt()) });
|
|
340
|
+
var dn = (t, e) => {
|
|
341
|
+
if (!Ko(t))
|
|
342
|
+
return;
|
|
343
|
+
let i = t.integration_response, o = i.error.data, a = typeof o == "object" && o !== null ? o : {}, r = (h) => typeof a[h] == "string" ? a[h] : void 0, n = (h) => typeof a[h] == "boolean" ? a[h] : void 0, s = typeof i.status == "number" ? i.status : e, c = r("phase"), d = r("verdict"), u = r("code"), l = s === 409 && c === "submit" && d === "confirmed" ? "duplicate" : s === 410 && u === "job_closed" ? "closed" : c === "submit" && d === "unknown" ? "unknown" : void 0;
|
|
344
|
+
return { message: i.error.message, status: s, phase: c, retryable: n("retryable"), verdict: d, code: u, field: r("field"), outcome: l };
|
|
345
|
+
}, un = (t) => {
|
|
341
346
|
if (typeof t != "object" || t === null)
|
|
342
347
|
return null;
|
|
343
348
|
let e = t.integration_response;
|
|
@@ -351,7 +356,7 @@ var dn = (t) => {
|
|
|
351
356
|
return null;
|
|
352
357
|
let n = o ? i.data : a.data ?? null;
|
|
353
358
|
return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: n } };
|
|
354
|
-
},
|
|
359
|
+
}, qo = ({ context: t, schema: e, logger: i }) => {
|
|
355
360
|
if (e)
|
|
356
361
|
for (let o in e) {
|
|
357
362
|
let a = e[o];
|
|
@@ -376,7 +381,7 @@ var dn = (t) => {
|
|
|
376
381
|
a.type;
|
|
377
382
|
}
|
|
378
383
|
}
|
|
379
|
-
}, Ct,
|
|
384
|
+
}, Ct, f, Ni, Ai, st, Ye, Di, de, Bi, pt = {}, Fi = [], Xo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, qt = Array.isArray;
|
|
380
385
|
function Z(t, e) {
|
|
381
386
|
for (var i in e)
|
|
382
387
|
t[i] = e[i];
|
|
@@ -397,24 +402,24 @@ function B(t, e, i) {
|
|
|
397
402
|
}
|
|
398
403
|
function yt(t, e, i, o, a) {
|
|
399
404
|
var r = { type: t, props: e, key: i, ref: o, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: a ?? ++Ni };
|
|
400
|
-
return a == null &&
|
|
405
|
+
return a == null && f.vnode != null && f.vnode(r), r;
|
|
401
406
|
}
|
|
402
|
-
function
|
|
407
|
+
function Go() {
|
|
403
408
|
return { current: null };
|
|
404
409
|
}
|
|
405
|
-
function
|
|
410
|
+
function R(t) {
|
|
406
411
|
return t.children;
|
|
407
412
|
}
|
|
408
|
-
function
|
|
413
|
+
function H(t, e) {
|
|
409
414
|
this.props = t, this.context = e;
|
|
410
415
|
}
|
|
411
|
-
function
|
|
416
|
+
function Ht(t, e) {
|
|
412
417
|
if (e == null)
|
|
413
|
-
return t.__ ?
|
|
418
|
+
return t.__ ? Ht(t.__, t.__.__k.indexOf(t) + 1) : null;
|
|
414
419
|
for (var i; e < t.__k.length; e++)
|
|
415
420
|
if ((i = t.__k[e]) != null && i.__e != null)
|
|
416
421
|
return i.__e;
|
|
417
|
-
return typeof t.type == "function" ?
|
|
422
|
+
return typeof t.type == "function" ? Ht(t) : null;
|
|
418
423
|
}
|
|
419
424
|
function Li(t) {
|
|
420
425
|
var e, i;
|
|
@@ -427,21 +432,21 @@ function Li(t) {
|
|
|
427
432
|
return Li(t);
|
|
428
433
|
}
|
|
429
434
|
}
|
|
430
|
-
function
|
|
431
|
-
(!t.__d && (t.__d = !0) && st.push(t) && !
|
|
435
|
+
function ue(t) {
|
|
436
|
+
(!t.__d && (t.__d = !0) && st.push(t) && !Rt.__r++ || Ye !== f.debounceRendering) && ((Ye = f.debounceRendering) || Di)(Rt);
|
|
432
437
|
}
|
|
433
|
-
function
|
|
438
|
+
function Rt() {
|
|
434
439
|
var t, e, i, o, a, r, n, s, c;
|
|
435
|
-
for (st.sort(
|
|
436
|
-
t.__d && (e = st.length, o = void 0, a = void 0, r = void 0, s = (n = (i = t).__v).__e, (c = i.__P) && (o = [], a = [], (r = Z({}, n)).__v = n.__v + 1,
|
|
437
|
-
|
|
440
|
+
for (st.sort(de); t = st.shift(); )
|
|
441
|
+
t.__d && (e = st.length, o = void 0, a = void 0, r = void 0, s = (n = (i = t).__v).__e, (c = i.__P) && (o = [], a = [], (r = Z({}, n)).__v = n.__v + 1, je(c, n, r, i.__n, c.ownerSVGElement !== void 0, n.__h != null ? [s] : null, o, s ?? Ht(n), n.__h, a), Wi(o, n, a), n.__e != s && Li(n)), st.length > e && st.sort(de));
|
|
442
|
+
Rt.__r = 0;
|
|
438
443
|
}
|
|
439
444
|
function Hi(t, e, i, o, a, r, n, s, c, d, u) {
|
|
440
|
-
var l,
|
|
445
|
+
var l, h, g, w, b, j, x, v, _, y, E = 0, T = o && o.__k || Fi, U = T.length, W = U, z = e.length;
|
|
441
446
|
for (i.__k = [], l = 0; l < z; l++)
|
|
442
|
-
(
|
|
443
|
-
for (i.__e = j, l =
|
|
444
|
-
T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling),
|
|
447
|
+
(w = i.__k[l] = (w = e[l]) == null || typeof w == "boolean" || typeof w == "function" ? null : typeof w == "string" || typeof w == "number" || typeof w == "bigint" ? yt(null, w, null, null, w) : qt(w) ? yt(R, { children: w }, null, null, null) : w.__b > 0 ? yt(w.type, w.props, w.key, w.ref ? w.ref : null, w.__v) : w) != null && (w.__ = i, w.__b = i.__b + 1, (v = Zo(w, T, x = l + E, W)) === -1 ? g = pt : (g = T[v] || pt, T[v] = void 0, W--), je(t, w, g, a, r, n, s, c, d, u), b = w.__e, (h = w.ref) && g.ref != h && (g.ref && Ne(g.ref, null, w), u.push(h, w.__c || b, w)), b != null && (j == null && (j = b), y = !(_ = g === pt || g.__v === null) && v === x, _ ? v == -1 && E-- : v !== x && (v === x + 1 ? (E++, y = !0) : v > x ? W > z - x ? (E += v - x, y = !0) : E-- : E = v < x && v == x - 1 ? v - x : 0), x = l + E, y = y || v == l && !_, typeof w.type != "function" || v === x && g.__k !== w.__k ? typeof w.type == "function" || y ? w.__d !== void 0 ? (c = w.__d, w.__d = void 0) : c = b.nextSibling : c = Ui(t, b, c) : c = Ri(w, c, t), typeof i.type == "function" && (i.__d = c)));
|
|
448
|
+
for (i.__e = j, l = U; l--; )
|
|
449
|
+
T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling), Vi(T[l], T[l]));
|
|
445
450
|
}
|
|
446
451
|
function Ri(t, e, i) {
|
|
447
452
|
for (var o, a = t.__k, r = 0; a && r < a.length; r++)
|
|
@@ -449,14 +454,14 @@ function Ri(t, e, i) {
|
|
|
449
454
|
return e;
|
|
450
455
|
}
|
|
451
456
|
function Q(t, e) {
|
|
452
|
-
return e = e || [], t == null || typeof t == "boolean" || (
|
|
457
|
+
return e = e || [], t == null || typeof t == "boolean" || (qt(t) ? t.some(function(i) {
|
|
453
458
|
Q(i, e);
|
|
454
459
|
}) : e.push(t)), e;
|
|
455
460
|
}
|
|
456
461
|
function Ui(t, e, i) {
|
|
457
462
|
return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
|
|
458
463
|
}
|
|
459
|
-
function
|
|
464
|
+
function Zo(t, e, i, o) {
|
|
460
465
|
var a = t.key, r = t.type, n = i - 1, s = i + 1, c = e[i];
|
|
461
466
|
if (c === null || c && a == c.key && r === c.type)
|
|
462
467
|
return i;
|
|
@@ -475,17 +480,17 @@ function Go(t, e, i, o) {
|
|
|
475
480
|
}
|
|
476
481
|
return -1;
|
|
477
482
|
}
|
|
478
|
-
function
|
|
483
|
+
function Jo(t, e, i, o, a) {
|
|
479
484
|
var r;
|
|
480
485
|
for (r in i)
|
|
481
|
-
r === "children" || r === "key" || r in e ||
|
|
486
|
+
r === "children" || r === "key" || r in e || Ut(t, r, null, i[r], o);
|
|
482
487
|
for (r in e)
|
|
483
|
-
a && typeof e[r] != "function" || r === "children" || r === "key" || r === "value" || r === "checked" || i[r] === e[r] ||
|
|
488
|
+
a && typeof e[r] != "function" || r === "children" || r === "key" || r === "value" || r === "checked" || i[r] === e[r] || Ut(t, r, e[r], i[r], o);
|
|
484
489
|
}
|
|
485
|
-
function
|
|
486
|
-
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" ||
|
|
490
|
+
function Ke(t, e, i) {
|
|
491
|
+
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || Xo.test(e) ? i : i + "px";
|
|
487
492
|
}
|
|
488
|
-
function
|
|
493
|
+
function Ut(t, e, i, o, a) {
|
|
489
494
|
var r;
|
|
490
495
|
t:
|
|
491
496
|
if (e === "style")
|
|
@@ -494,13 +499,13 @@ function Rt(t, e, i, o, a) {
|
|
|
494
499
|
else {
|
|
495
500
|
if (typeof o == "string" && (t.style.cssText = o = ""), o)
|
|
496
501
|
for (e in o)
|
|
497
|
-
i && e in i ||
|
|
502
|
+
i && e in i || Ke(t.style, e, "");
|
|
498
503
|
if (i)
|
|
499
504
|
for (e in i)
|
|
500
|
-
o && i[e] === o[e] ||
|
|
505
|
+
o && i[e] === o[e] || Ke(t.style, e, i[e]);
|
|
501
506
|
}
|
|
502
507
|
else if (e[0] === "o" && e[1] === "n")
|
|
503
|
-
r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = i, i ? o || t.addEventListener(e, r ?
|
|
508
|
+
r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = i, i ? o || t.addEventListener(e, r ? Xe : qe, r) : t.removeEventListener(e, r ? Xe : qe, r);
|
|
504
509
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
505
510
|
if (a)
|
|
506
511
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -513,21 +518,21 @@ function Rt(t, e, i, o, a) {
|
|
|
513
518
|
typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
|
|
514
519
|
}
|
|
515
520
|
}
|
|
516
|
-
function Ke(t) {
|
|
517
|
-
return this.l[t.type + !1](h.event ? h.event(t) : t);
|
|
518
|
-
}
|
|
519
521
|
function qe(t) {
|
|
520
|
-
return this.l[t.type + !
|
|
522
|
+
return this.l[t.type + !1](f.event ? f.event(t) : t);
|
|
521
523
|
}
|
|
522
|
-
function
|
|
523
|
-
|
|
524
|
+
function Xe(t) {
|
|
525
|
+
return this.l[t.type + !0](f.event ? f.event(t) : t);
|
|
526
|
+
}
|
|
527
|
+
function je(t, e, i, o, a, r, n, s, c, d) {
|
|
528
|
+
var u, l, h, g, w, b, j, x, v, _, y, E, T, U, W, z = e.type;
|
|
524
529
|
if (e.constructor !== void 0)
|
|
525
530
|
return null;
|
|
526
|
-
i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, r = [s]), (u =
|
|
531
|
+
i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, r = [s]), (u = f.__b) && u(e);
|
|
527
532
|
try {
|
|
528
533
|
t:
|
|
529
534
|
if (typeof z == "function") {
|
|
530
|
-
if (x = e.props, v = (u = z.contextType) && o[u.__c], _ = u ? v ? v.props.value : u.__ : o, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in z && z.prototype.render ? e.__c = l = new z(x, _) : (e.__c = l = new
|
|
535
|
+
if (x = e.props, v = (u = z.contextType) && o[u.__c], _ = u ? v ? v.props.value : u.__ : o, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in z && z.prototype.render ? e.__c = l = new z(x, _) : (e.__c = l = new H(x, _), l.constructor = z, l.render = ta), v && v.sub(l), l.props = x, l.state || (l.state = {}), l.context = _, l.__n = o, h = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), z.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Z({}, l.__s)), Z(l.__s, z.getDerivedStateFromProps(x, l.__s))), g = l.props, w = l.state, l.__v = e, h)
|
|
531
536
|
z.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
532
537
|
else {
|
|
533
538
|
if (z.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)) {
|
|
@@ -539,104 +544,104 @@ function Oe(t, e, i, o, a, r, n, s, c, d) {
|
|
|
539
544
|
break t;
|
|
540
545
|
}
|
|
541
546
|
l.componentWillUpdate != null && l.componentWillUpdate(x, l.__s, _), l.componentDidUpdate != null && l.__h.push(function() {
|
|
542
|
-
l.componentDidUpdate(g,
|
|
547
|
+
l.componentDidUpdate(g, w, b);
|
|
543
548
|
});
|
|
544
549
|
}
|
|
545
|
-
if (l.context = _, l.props = x, l.__P = t, l.__e = !1, E =
|
|
546
|
-
for (l.state = l.__s, l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context),
|
|
547
|
-
l.__h.push(l._sb[
|
|
550
|
+
if (l.context = _, l.props = x, l.__P = t, l.__e = !1, E = f.__r, T = 0, "prototype" in z && z.prototype.render) {
|
|
551
|
+
for (l.state = l.__s, l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), U = 0; U < l._sb.length; U++)
|
|
552
|
+
l.__h.push(l._sb[U]);
|
|
548
553
|
l._sb = [];
|
|
549
554
|
} else
|
|
550
555
|
do
|
|
551
556
|
l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
|
|
552
557
|
while (l.__d && ++T < 25);
|
|
553
|
-
l.state = l.__s, l.getChildContext != null && (o = Z(Z({}, o), l.getChildContext())),
|
|
558
|
+
l.state = l.__s, l.getChildContext != null && (o = Z(Z({}, o), l.getChildContext())), h || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, w)), Hi(t, qt(W = u != null && u.type === R && u.key == null ? u.props.children : u) ? W : [W], e, i, o, a, r, n, s, c, d), l.base = e.__e, e.__h = null, l.__h.length && n.push(l), j && (l.__E = l.__ = null);
|
|
554
559
|
} else
|
|
555
|
-
r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e =
|
|
556
|
-
(u =
|
|
560
|
+
r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = Qo(i.__e, e, i, o, a, r, n, c, d);
|
|
561
|
+
(u = f.diffed) && u(e);
|
|
557
562
|
} catch (Pt) {
|
|
558
|
-
e.__v = null, (c || r != null) && (e.__e = s, e.__h = !!c, r[r.indexOf(s)] = null),
|
|
563
|
+
e.__v = null, (c || r != null) && (e.__e = s, e.__h = !!c, r[r.indexOf(s)] = null), f.__e(Pt, e, i);
|
|
559
564
|
}
|
|
560
565
|
}
|
|
561
|
-
function
|
|
566
|
+
function Wi(t, e, i) {
|
|
562
567
|
for (var o = 0; o < i.length; o++)
|
|
563
|
-
|
|
564
|
-
|
|
568
|
+
Ne(i[o], i[++o], i[++o]);
|
|
569
|
+
f.__c && f.__c(e, t), t.some(function(a) {
|
|
565
570
|
try {
|
|
566
571
|
t = a.__h, a.__h = [], t.some(function(r) {
|
|
567
572
|
r.call(a);
|
|
568
573
|
});
|
|
569
574
|
} catch (r) {
|
|
570
|
-
|
|
575
|
+
f.__e(r, a.__v);
|
|
571
576
|
}
|
|
572
577
|
});
|
|
573
578
|
}
|
|
574
|
-
function
|
|
575
|
-
var d, u, l,
|
|
576
|
-
if (
|
|
579
|
+
function Qo(t, e, i, o, a, r, n, s, c) {
|
|
580
|
+
var d, u, l, h = i.props, g = e.props, w = e.type, b = 0;
|
|
581
|
+
if (w === "svg" && (a = !0), r != null) {
|
|
577
582
|
for (; b < r.length; b++)
|
|
578
|
-
if ((d = r[b]) && "setAttribute" in d == !!
|
|
583
|
+
if ((d = r[b]) && "setAttribute" in d == !!w && (w ? d.localName === w : d.nodeType === 3)) {
|
|
579
584
|
t = d, r[b] = null;
|
|
580
585
|
break;
|
|
581
586
|
}
|
|
582
587
|
}
|
|
583
588
|
if (t == null) {
|
|
584
|
-
if (
|
|
589
|
+
if (w === null)
|
|
585
590
|
return document.createTextNode(g);
|
|
586
|
-
t = a ? document.createElementNS("http://www.w3.org/2000/svg",
|
|
591
|
+
t = a ? document.createElementNS("http://www.w3.org/2000/svg", w) : document.createElement(w, g.is && g), r = null, s = !1;
|
|
587
592
|
}
|
|
588
|
-
if (
|
|
589
|
-
|
|
593
|
+
if (w === null)
|
|
594
|
+
h === g || s && t.data === g || (t.data = g);
|
|
590
595
|
else {
|
|
591
|
-
if (r = r && Ct.call(t.childNodes), u = (
|
|
596
|
+
if (r = r && Ct.call(t.childNodes), u = (h = i.props || pt).dangerouslySetInnerHTML, l = g.dangerouslySetInnerHTML, !s) {
|
|
592
597
|
if (r != null)
|
|
593
|
-
for (
|
|
594
|
-
|
|
598
|
+
for (h = {}, b = 0; b < t.attributes.length; b++)
|
|
599
|
+
h[t.attributes[b].name] = t.attributes[b].value;
|
|
595
600
|
(l || u) && (l && (u && l.__html == u.__html || l.__html === t.innerHTML) || (t.innerHTML = l && l.__html || ""));
|
|
596
601
|
}
|
|
597
|
-
if (
|
|
602
|
+
if (Jo(t, g, h, a, s), l)
|
|
598
603
|
e.__k = [];
|
|
599
|
-
else if (Hi(t,
|
|
604
|
+
else if (Hi(t, qt(b = e.props.children) ? b : [b], e, i, o, a && w !== "foreignObject", r, n, r ? r[0] : i.__k && Ht(i, 0), s, c), r != null)
|
|
600
605
|
for (b = r.length; b--; )
|
|
601
606
|
r[b] != null && Mi(r[b]);
|
|
602
|
-
s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value ||
|
|
607
|
+
s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value || w === "progress" && !b || w === "option" && b !== h.value) && Ut(t, "value", b, h.value, !1), "checked" in g && (b = g.checked) !== void 0 && b !== t.checked && Ut(t, "checked", b, h.checked, !1));
|
|
603
608
|
}
|
|
604
609
|
return t;
|
|
605
610
|
}
|
|
606
|
-
function
|
|
611
|
+
function Ne(t, e, i) {
|
|
607
612
|
try {
|
|
608
613
|
typeof t == "function" ? t(e) : t.current = e;
|
|
609
614
|
} catch (o) {
|
|
610
|
-
|
|
615
|
+
f.__e(o, i);
|
|
611
616
|
}
|
|
612
617
|
}
|
|
613
|
-
function
|
|
618
|
+
function Vi(t, e, i) {
|
|
614
619
|
var o, a;
|
|
615
|
-
if (
|
|
620
|
+
if (f.unmount && f.unmount(t), (o = t.ref) && (o.current && o.current !== t.__e || Ne(o, null, e)), (o = t.__c) != null) {
|
|
616
621
|
if (o.componentWillUnmount)
|
|
617
622
|
try {
|
|
618
623
|
o.componentWillUnmount();
|
|
619
624
|
} catch (r) {
|
|
620
|
-
|
|
625
|
+
f.__e(r, e);
|
|
621
626
|
}
|
|
622
627
|
o.base = o.__P = null, t.__c = void 0;
|
|
623
628
|
}
|
|
624
629
|
if (o = t.__k)
|
|
625
630
|
for (a = 0; a < o.length; a++)
|
|
626
|
-
o[a] &&
|
|
631
|
+
o[a] && Vi(o[a], e, i || typeof t.type != "function");
|
|
627
632
|
i || t.__e == null || Mi(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
628
633
|
}
|
|
629
|
-
function
|
|
634
|
+
function ta(t, e, i) {
|
|
630
635
|
return this.constructor(t, i);
|
|
631
636
|
}
|
|
632
637
|
function ct(t, e, i) {
|
|
633
638
|
var o, a, r, n;
|
|
634
|
-
|
|
639
|
+
f.__ && f.__(t, e), a = (o = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [], je(e, t = (!o && i || e).__k = B(R, null, [t]), a || pt, pt, e.ownerSVGElement !== void 0, !o && i ? [i] : a ? null : e.firstChild ? Ct.call(e.childNodes) : null, r, !o && i ? i : a ? a.__e : e.firstChild, o, n), Wi(r, t, n);
|
|
635
640
|
}
|
|
636
641
|
function Yi(t, e) {
|
|
637
642
|
ct(t, e, Yi);
|
|
638
643
|
}
|
|
639
|
-
function
|
|
644
|
+
function ea(t, e, i) {
|
|
640
645
|
var o, a, r, n, s = Z({}, t.props);
|
|
641
646
|
for (r in t.type && t.type.defaultProps && (n = t.type.defaultProps), e)
|
|
642
647
|
r == "key" ? o = e[r] : r == "ref" ? a = e[r] : s[r] = e[r] === void 0 && n !== void 0 ? n[r] : e[r];
|
|
@@ -651,7 +656,7 @@ function Ki(t, e) {
|
|
|
651
656
|
return r;
|
|
652
657
|
}, this.shouldComponentUpdate = function(n) {
|
|
653
658
|
this.props.value !== n.value && a.some(function(s) {
|
|
654
|
-
s.__e = !0,
|
|
659
|
+
s.__e = !0, ue(s);
|
|
655
660
|
});
|
|
656
661
|
}, this.sub = function(n) {
|
|
657
662
|
a.push(n);
|
|
@@ -663,7 +668,7 @@ function Ki(t, e) {
|
|
|
663
668
|
} };
|
|
664
669
|
return i.Provider.__ = i.Consumer.contextType = i;
|
|
665
670
|
}
|
|
666
|
-
Ct = Fi.slice,
|
|
671
|
+
Ct = Fi.slice, f = { __e: function(t, e, i, o) {
|
|
667
672
|
for (var a, r, n; e = e.__; )
|
|
668
673
|
if ((a = e.__c) && !a.__)
|
|
669
674
|
try {
|
|
@@ -673,16 +678,16 @@ Ct = Fi.slice, h = { __e: function(t, e, i, o) {
|
|
|
673
678
|
t = s;
|
|
674
679
|
}
|
|
675
680
|
throw t;
|
|
676
|
-
} }, Ni = 0,
|
|
681
|
+
} }, Ni = 0, Ai = function(t) {
|
|
677
682
|
return t != null && t.constructor === void 0;
|
|
678
|
-
},
|
|
683
|
+
}, H.prototype.setState = function(t, e) {
|
|
679
684
|
var i;
|
|
680
|
-
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Z({}, this.state), typeof t == "function" && (t = t(Z({}, i), this.props)), t && Z(i, t), t != null && this.__v && (e && this._sb.push(e),
|
|
681
|
-
},
|
|
682
|
-
this.__v && (this.__e = !0, t && this.__h.push(t),
|
|
683
|
-
},
|
|
685
|
+
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Z({}, this.state), typeof t == "function" && (t = t(Z({}, i), this.props)), t && Z(i, t), t != null && this.__v && (e && this._sb.push(e), ue(this));
|
|
686
|
+
}, H.prototype.forceUpdate = function(t) {
|
|
687
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), ue(this));
|
|
688
|
+
}, H.prototype.render = R, st = [], Di = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, de = function(t, e) {
|
|
684
689
|
return t.__v.__b - e.__v.__b;
|
|
685
|
-
},
|
|
690
|
+
}, Rt.__r = 0, Bi = 0;
|
|
686
691
|
function qi(t) {
|
|
687
692
|
var e, i, o = "";
|
|
688
693
|
if (typeof t == "string" || typeof t == "number")
|
|
@@ -697,28 +702,28 @@ function qi(t) {
|
|
|
697
702
|
t[i] && (o && (o += " "), o += i);
|
|
698
703
|
return o;
|
|
699
704
|
}
|
|
700
|
-
function
|
|
705
|
+
function Ae() {
|
|
701
706
|
for (var t, e, i = 0, o = "", a = arguments.length; i < a; i++)
|
|
702
707
|
(t = arguments[i]) && (e = qi(t)) && (o && (o += " "), o += e);
|
|
703
708
|
return o;
|
|
704
709
|
}
|
|
705
|
-
const
|
|
710
|
+
const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Ze = Ae, De = (t, e) => (i) => {
|
|
706
711
|
var o;
|
|
707
712
|
if ((e == null ? void 0 : e.variants) == null)
|
|
708
|
-
return
|
|
713
|
+
return Ze(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
709
714
|
const { variants: a, defaultVariants: r } = e, n = Object.keys(a).map((d) => {
|
|
710
715
|
const u = i == null ? void 0 : i[d], l = r == null ? void 0 : r[d];
|
|
711
716
|
if (u === null)
|
|
712
717
|
return null;
|
|
713
|
-
const
|
|
714
|
-
return a[d][
|
|
718
|
+
const h = Ge(u) || Ge(l);
|
|
719
|
+
return a[d][h];
|
|
715
720
|
}), s = i && Object.entries(i).reduce((d, u) => {
|
|
716
|
-
let [l,
|
|
717
|
-
return
|
|
721
|
+
let [l, h] = u;
|
|
722
|
+
return h === void 0 || (d[l] = h), d;
|
|
718
723
|
}, {}), c = e == null || (o = e.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, u) => {
|
|
719
|
-
let { class: l, className:
|
|
720
|
-
return Object.entries(g).every((
|
|
721
|
-
let [b, j] =
|
|
724
|
+
let { class: l, className: h, ...g } = u;
|
|
725
|
+
return Object.entries(g).every((w) => {
|
|
726
|
+
let [b, j] = w;
|
|
722
727
|
return Array.isArray(j) ? j.includes({
|
|
723
728
|
...r,
|
|
724
729
|
...s
|
|
@@ -729,14 +734,14 @@ const Xe = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Ge = Ne, D
|
|
|
729
734
|
}) ? [
|
|
730
735
|
...d,
|
|
731
736
|
l,
|
|
732
|
-
|
|
737
|
+
h
|
|
733
738
|
] : d;
|
|
734
739
|
}, []);
|
|
735
|
-
return
|
|
740
|
+
return Ze(t, n, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
736
741
|
};
|
|
737
|
-
var at, C,
|
|
742
|
+
var at, C, te, Je, ft = 0, Xi = [], zt = [], Qe = f.__b, ti = f.__r, ei = f.diffed, ii = f.__c, oi = f.unmount;
|
|
738
743
|
function wt(t, e) {
|
|
739
|
-
|
|
744
|
+
f.__h && f.__h(C, t, ft || e), ft = 0;
|
|
740
745
|
var i = C.__H || (C.__H = { __: [], __h: [] });
|
|
741
746
|
return t >= i.__.length && i.__.push({ __V: zt }), i.__[t];
|
|
742
747
|
}
|
|
@@ -752,18 +757,18 @@ function Zi(t, e, i) {
|
|
|
752
757
|
var a = function(s, c, d) {
|
|
753
758
|
if (!o.__c.__H)
|
|
754
759
|
return !0;
|
|
755
|
-
var u = o.__c.__H.__.filter(function(
|
|
756
|
-
return
|
|
760
|
+
var u = o.__c.__H.__.filter(function(h) {
|
|
761
|
+
return h.__c;
|
|
757
762
|
});
|
|
758
|
-
if (u.every(function(
|
|
759
|
-
return !
|
|
763
|
+
if (u.every(function(h) {
|
|
764
|
+
return !h.__N;
|
|
760
765
|
}))
|
|
761
766
|
return !r || r.call(this, s, c, d);
|
|
762
767
|
var l = !1;
|
|
763
|
-
return u.forEach(function(
|
|
764
|
-
if (
|
|
765
|
-
var g =
|
|
766
|
-
|
|
768
|
+
return u.forEach(function(h) {
|
|
769
|
+
if (h.__N) {
|
|
770
|
+
var g = h.__[0];
|
|
771
|
+
h.__ = h.__N, h.__N = void 0, g !== h.__[0] && (l = !0);
|
|
767
772
|
}
|
|
768
773
|
}), !(!l && o.__c.props === s) && (!r || r.call(this, s, c, d));
|
|
769
774
|
};
|
|
@@ -781,18 +786,18 @@ function Zi(t, e, i) {
|
|
|
781
786
|
}
|
|
782
787
|
function Ji(t, e) {
|
|
783
788
|
var i = wt(at++, 3);
|
|
784
|
-
!
|
|
789
|
+
!f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__H.__h.push(i));
|
|
785
790
|
}
|
|
786
791
|
function gt(t, e) {
|
|
787
792
|
var i = wt(at++, 4);
|
|
788
|
-
!
|
|
793
|
+
!f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__h.push(i));
|
|
789
794
|
}
|
|
790
|
-
function
|
|
795
|
+
function Xt(t) {
|
|
791
796
|
return ft = 5, dt(function() {
|
|
792
797
|
return { current: t };
|
|
793
798
|
}, []);
|
|
794
799
|
}
|
|
795
|
-
function
|
|
800
|
+
function ia(t, e, i) {
|
|
796
801
|
ft = 6, gt(function() {
|
|
797
802
|
return typeof t == "function" ? (t(e()), function() {
|
|
798
803
|
return t(null);
|
|
@@ -803,9 +808,9 @@ function ea(t, e, i) {
|
|
|
803
808
|
}
|
|
804
809
|
function dt(t, e) {
|
|
805
810
|
var i = wt(at++, 7);
|
|
806
|
-
return
|
|
811
|
+
return Be(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
807
812
|
}
|
|
808
|
-
function
|
|
813
|
+
function oa(t, e) {
|
|
809
814
|
return ft = 8, dt(function() {
|
|
810
815
|
return t;
|
|
811
816
|
}, e);
|
|
@@ -814,10 +819,10 @@ function Qi(t) {
|
|
|
814
819
|
var e = C.context[t.__c], i = wt(at++, 9);
|
|
815
820
|
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(C)), e.props.value) : t.__;
|
|
816
821
|
}
|
|
817
|
-
function
|
|
818
|
-
|
|
822
|
+
function aa(t, e) {
|
|
823
|
+
f.useDebugValue && f.useDebugValue(e ? e(t) : t);
|
|
819
824
|
}
|
|
820
|
-
function
|
|
825
|
+
function ra() {
|
|
821
826
|
var t = wt(at++, 11);
|
|
822
827
|
if (!t.__) {
|
|
823
828
|
for (var e = C.__v; e !== null && !e.__m && e.__ !== null; )
|
|
@@ -827,43 +832,43 @@ function aa() {
|
|
|
827
832
|
}
|
|
828
833
|
return t.__;
|
|
829
834
|
}
|
|
830
|
-
function
|
|
835
|
+
function na() {
|
|
831
836
|
for (var t; t = Xi.shift(); )
|
|
832
837
|
if (t.__P && t.__H)
|
|
833
838
|
try {
|
|
834
|
-
t.__H.__h.forEach(Ot), t.__H.__h.forEach(
|
|
839
|
+
t.__H.__h.forEach(Ot), t.__H.__h.forEach(pe), t.__H.__h = [];
|
|
835
840
|
} catch (e) {
|
|
836
|
-
t.__H.__h = [],
|
|
841
|
+
t.__H.__h = [], f.__e(e, t.__v);
|
|
837
842
|
}
|
|
838
843
|
}
|
|
839
|
-
|
|
840
|
-
C = null,
|
|
841
|
-
},
|
|
842
|
-
|
|
844
|
+
f.__b = function(t) {
|
|
845
|
+
C = null, Qe && Qe(t);
|
|
846
|
+
}, f.__r = function(t) {
|
|
847
|
+
ti && ti(t), at = 0;
|
|
843
848
|
var e = (C = t.__c).__H;
|
|
844
|
-
e && (
|
|
849
|
+
e && (te === C ? (e.__h = [], C.__h = [], e.__.forEach(function(i) {
|
|
845
850
|
i.__N && (i.__ = i.__N), i.__V = zt, i.__N = i.i = void 0;
|
|
846
|
-
})) : (e.__h.forEach(Ot), e.__h.forEach(
|
|
847
|
-
},
|
|
848
|
-
|
|
851
|
+
})) : (e.__h.forEach(Ot), e.__h.forEach(pe), e.__h = [], at = 0)), te = C;
|
|
852
|
+
}, f.diffed = function(t) {
|
|
853
|
+
ei && ei(t);
|
|
849
854
|
var e = t.__c;
|
|
850
|
-
e && e.__H && (e.__H.__h.length && (Xi.push(e) !== 1 &&
|
|
855
|
+
e && e.__H && (e.__H.__h.length && (Xi.push(e) !== 1 && Je === f.requestAnimationFrame || ((Je = f.requestAnimationFrame) || sa)(na)), e.__H.__.forEach(function(i) {
|
|
851
856
|
i.i && (i.__H = i.i), i.__V !== zt && (i.__ = i.__V), i.i = void 0, i.__V = zt;
|
|
852
|
-
})),
|
|
853
|
-
},
|
|
857
|
+
})), te = C = null;
|
|
858
|
+
}, f.__c = function(t, e) {
|
|
854
859
|
e.some(function(i) {
|
|
855
860
|
try {
|
|
856
861
|
i.__h.forEach(Ot), i.__h = i.__h.filter(function(o) {
|
|
857
|
-
return !o.__ ||
|
|
862
|
+
return !o.__ || pe(o);
|
|
858
863
|
});
|
|
859
864
|
} catch (o) {
|
|
860
865
|
e.some(function(a) {
|
|
861
866
|
a.__h && (a.__h = []);
|
|
862
|
-
}), e = [],
|
|
867
|
+
}), e = [], f.__e(o, i.__v);
|
|
863
868
|
}
|
|
864
|
-
}),
|
|
865
|
-
},
|
|
866
|
-
|
|
869
|
+
}), ii && ii(t, e);
|
|
870
|
+
}, f.unmount = function(t) {
|
|
871
|
+
oi && oi(t);
|
|
867
872
|
var e, i = t.__c;
|
|
868
873
|
i && i.__H && (i.__H.__.forEach(function(o) {
|
|
869
874
|
try {
|
|
@@ -871,24 +876,24 @@ h.__b = function(t) {
|
|
|
871
876
|
} catch (a) {
|
|
872
877
|
e = a;
|
|
873
878
|
}
|
|
874
|
-
}), i.__H = void 0, e &&
|
|
879
|
+
}), i.__H = void 0, e && f.__e(e, i.__v));
|
|
875
880
|
};
|
|
876
|
-
var
|
|
877
|
-
function
|
|
881
|
+
var ai = typeof requestAnimationFrame == "function";
|
|
882
|
+
function sa(t) {
|
|
878
883
|
var e, i = function() {
|
|
879
|
-
clearTimeout(o),
|
|
884
|
+
clearTimeout(o), ai && cancelAnimationFrame(e), setTimeout(t);
|
|
880
885
|
}, o = setTimeout(i, 100);
|
|
881
|
-
|
|
886
|
+
ai && (e = requestAnimationFrame(i));
|
|
882
887
|
}
|
|
883
888
|
function Ot(t) {
|
|
884
889
|
var e = C, i = t.__c;
|
|
885
890
|
typeof i == "function" && (t.__c = void 0, i()), C = e;
|
|
886
891
|
}
|
|
887
|
-
function
|
|
892
|
+
function pe(t) {
|
|
888
893
|
var e = C;
|
|
889
894
|
t.__c = t.__(), C = e;
|
|
890
895
|
}
|
|
891
|
-
function
|
|
896
|
+
function Be(t, e) {
|
|
892
897
|
return !t || t.length !== e.length || e.some(function(i, o) {
|
|
893
898
|
return i !== t[o];
|
|
894
899
|
});
|
|
@@ -901,7 +906,7 @@ function eo(t, e) {
|
|
|
901
906
|
t[i] = e[i];
|
|
902
907
|
return t;
|
|
903
908
|
}
|
|
904
|
-
function
|
|
909
|
+
function he(t, e) {
|
|
905
910
|
for (var i in t)
|
|
906
911
|
if (i !== "__source" && !(i in e))
|
|
907
912
|
return !0;
|
|
@@ -910,56 +915,56 @@ function pe(t, e) {
|
|
|
910
915
|
return !0;
|
|
911
916
|
return !1;
|
|
912
917
|
}
|
|
913
|
-
function
|
|
918
|
+
function ee(t, e) {
|
|
914
919
|
return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
|
|
915
920
|
}
|
|
916
|
-
function
|
|
921
|
+
function fe(t) {
|
|
917
922
|
this.props = t;
|
|
918
923
|
}
|
|
919
|
-
function
|
|
924
|
+
function la(t, e) {
|
|
920
925
|
function i(a) {
|
|
921
926
|
var r = this.props.ref, n = r == a.ref;
|
|
922
|
-
return !n && r && (r.call ? r(null) : r.current = null), e ? !e(this.props, a) || !n :
|
|
927
|
+
return !n && r && (r.call ? r(null) : r.current = null), e ? !e(this.props, a) || !n : he(this.props, a);
|
|
923
928
|
}
|
|
924
929
|
function o(a) {
|
|
925
930
|
return this.shouldComponentUpdate = i, B(t, a);
|
|
926
931
|
}
|
|
927
932
|
return o.displayName = "Memo(" + (t.displayName || t.name) + ")", o.prototype.isReactComponent = !0, o.__f = !0, o;
|
|
928
933
|
}
|
|
929
|
-
(
|
|
930
|
-
return
|
|
934
|
+
(fe.prototype = new H()).isPureReactComponent = !0, fe.prototype.shouldComponentUpdate = function(t, e) {
|
|
935
|
+
return he(this.props, t) || he(this.state, e);
|
|
931
936
|
};
|
|
932
|
-
var
|
|
933
|
-
|
|
934
|
-
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null),
|
|
937
|
+
var ri = f.__b;
|
|
938
|
+
f.__b = function(t) {
|
|
939
|
+
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ri && ri(t);
|
|
935
940
|
};
|
|
936
|
-
var
|
|
937
|
-
function
|
|
941
|
+
var ca = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
942
|
+
function da(t) {
|
|
938
943
|
function e(i) {
|
|
939
944
|
var o = eo({}, i);
|
|
940
945
|
return delete o.ref, t(o, i.ref || null);
|
|
941
946
|
}
|
|
942
|
-
return e.$$typeof =
|
|
947
|
+
return e.$$typeof = ca, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
943
948
|
}
|
|
944
|
-
var
|
|
949
|
+
var ni = function(t, e) {
|
|
945
950
|
return t == null ? null : Q(Q(t).map(e));
|
|
946
|
-
},
|
|
951
|
+
}, ua = { map: ni, forEach: ni, count: function(t) {
|
|
947
952
|
return t ? Q(t).length : 0;
|
|
948
953
|
}, only: function(t) {
|
|
949
954
|
var e = Q(t);
|
|
950
955
|
if (e.length !== 1)
|
|
951
956
|
throw "Children.only";
|
|
952
957
|
return e[0];
|
|
953
|
-
}, toArray: Q },
|
|
954
|
-
|
|
958
|
+
}, toArray: Q }, pa = f.__e;
|
|
959
|
+
f.__e = function(t, e, i, o) {
|
|
955
960
|
if (t.then) {
|
|
956
961
|
for (var a, r = e; r = r.__; )
|
|
957
962
|
if ((a = r.__c) && a.__c)
|
|
958
963
|
return e.__e == null && (e.__e = i.__e, e.__k = i.__k), a.__c(t, e);
|
|
959
964
|
}
|
|
960
|
-
|
|
965
|
+
pa(t, e, i, o);
|
|
961
966
|
};
|
|
962
|
-
var
|
|
967
|
+
var si = f.unmount;
|
|
963
968
|
function io(t, e, i) {
|
|
964
969
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(o) {
|
|
965
970
|
typeof o.__c == "function" && o.__c();
|
|
@@ -997,10 +1002,10 @@ function ro(t) {
|
|
|
997
1002
|
function mt() {
|
|
998
1003
|
this.u = null, this.o = null;
|
|
999
1004
|
}
|
|
1000
|
-
|
|
1005
|
+
f.unmount = function(t) {
|
|
1001
1006
|
var e = t.__c;
|
|
1002
|
-
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null),
|
|
1003
|
-
}, (xt.prototype = new
|
|
1007
|
+
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), si && si(t);
|
|
1008
|
+
}, (xt.prototype = new H()).__c = function(t, e) {
|
|
1004
1009
|
var i = e.__c, o = this;
|
|
1005
1010
|
o.t == null && (o.t = []), o.t.push(i);
|
|
1006
1011
|
var a = ao(o.__v), r = !1, n = function() {
|
|
@@ -1029,10 +1034,10 @@ h.unmount = function(t) {
|
|
|
1029
1034
|
}
|
|
1030
1035
|
this.__b = null;
|
|
1031
1036
|
}
|
|
1032
|
-
var a = e.__a && B(
|
|
1033
|
-
return a && (a.__h = null), [B(
|
|
1037
|
+
var a = e.__a && B(R, null, t.fallback);
|
|
1038
|
+
return a && (a.__h = null), [B(R, null, e.__a ? null : t.children), a];
|
|
1034
1039
|
};
|
|
1035
|
-
var
|
|
1040
|
+
var li = function(t, e, i) {
|
|
1036
1041
|
if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
|
1037
1042
|
for (i = t.u; i; ) {
|
|
1038
1043
|
for (; i.length > 3; )
|
|
@@ -1042,12 +1047,12 @@ var si = function(t, e, i) {
|
|
|
1042
1047
|
t.u = i = i[2];
|
|
1043
1048
|
}
|
|
1044
1049
|
};
|
|
1045
|
-
function
|
|
1050
|
+
function ha(t) {
|
|
1046
1051
|
return this.getChildContext = function() {
|
|
1047
1052
|
return t.context;
|
|
1048
1053
|
}, t.children;
|
|
1049
1054
|
}
|
|
1050
|
-
function
|
|
1055
|
+
function fa(t) {
|
|
1051
1056
|
var e = this, i = t.i;
|
|
1052
1057
|
e.componentWillUnmount = function() {
|
|
1053
1058
|
ct(null, e.l), e.l = null, e.i = null;
|
|
@@ -1057,17 +1062,17 @@ function ha(t) {
|
|
|
1057
1062
|
this.childNodes.push(o), e.i.appendChild(o);
|
|
1058
1063
|
}, removeChild: function(o) {
|
|
1059
1064
|
this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), e.i.removeChild(o);
|
|
1060
|
-
} }), ct(B(
|
|
1065
|
+
} }), ct(B(ha, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
|
|
1061
1066
|
}
|
|
1062
|
-
function
|
|
1063
|
-
var i = B(
|
|
1067
|
+
function wa(t, e) {
|
|
1068
|
+
var i = B(fa, { __v: t, i: e });
|
|
1064
1069
|
return i.containerInfo = e, i;
|
|
1065
1070
|
}
|
|
1066
|
-
(mt.prototype = new
|
|
1071
|
+
(mt.prototype = new H()).__a = function(t) {
|
|
1067
1072
|
var e = this, i = ao(e.__v), o = e.o.get(t);
|
|
1068
1073
|
return o[0]++, function(a) {
|
|
1069
1074
|
var r = function() {
|
|
1070
|
-
e.props.revealOrder ? (o.push(a),
|
|
1075
|
+
e.props.revealOrder ? (o.push(a), li(e, t, o)) : a();
|
|
1071
1076
|
};
|
|
1072
1077
|
i ? i(r) : r();
|
|
1073
1078
|
};
|
|
@@ -1081,118 +1086,118 @@ function fa(t, e) {
|
|
|
1081
1086
|
}, mt.prototype.componentDidUpdate = mt.prototype.componentDidMount = function() {
|
|
1082
1087
|
var t = this;
|
|
1083
1088
|
this.o.forEach(function(e, i) {
|
|
1084
|
-
|
|
1089
|
+
li(t, i, e);
|
|
1085
1090
|
});
|
|
1086
1091
|
};
|
|
1087
|
-
var no = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103,
|
|
1092
|
+
var no = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ga = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, ba = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, va = /[A-Z0-9]/g, _a = typeof document < "u", ma = function(t) {
|
|
1088
1093
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1089
1094
|
};
|
|
1090
|
-
function
|
|
1095
|
+
function ya(t, e, i) {
|
|
1091
1096
|
return e.__k == null && (e.textContent = ""), ct(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1092
1097
|
}
|
|
1093
|
-
function
|
|
1098
|
+
function xa(t, e, i) {
|
|
1094
1099
|
return Yi(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1095
1100
|
}
|
|
1096
|
-
|
|
1097
|
-
Object.defineProperty(
|
|
1101
|
+
H.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
1102
|
+
Object.defineProperty(H.prototype, t, { configurable: !0, get: function() {
|
|
1098
1103
|
return this["UNSAFE_" + t];
|
|
1099
1104
|
}, set: function(e) {
|
|
1100
1105
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
1101
1106
|
} });
|
|
1102
1107
|
});
|
|
1103
|
-
var
|
|
1104
|
-
function xa() {
|
|
1105
|
-
}
|
|
1108
|
+
var ci = f.event;
|
|
1106
1109
|
function ka() {
|
|
1107
|
-
return this.cancelBubble;
|
|
1108
1110
|
}
|
|
1109
1111
|
function $a() {
|
|
1112
|
+
return this.cancelBubble;
|
|
1113
|
+
}
|
|
1114
|
+
function Sa() {
|
|
1110
1115
|
return this.defaultPrevented;
|
|
1111
1116
|
}
|
|
1112
|
-
|
|
1113
|
-
return
|
|
1117
|
+
f.event = function(t) {
|
|
1118
|
+
return ci && (t = ci(t)), t.persist = ka, t.isPropagationStopped = $a, t.isDefaultPrevented = Sa, t.nativeEvent = t;
|
|
1114
1119
|
};
|
|
1115
|
-
var
|
|
1120
|
+
var Fe, Ca = { enumerable: !1, configurable: !0, get: function() {
|
|
1116
1121
|
return this.class;
|
|
1117
|
-
} },
|
|
1118
|
-
|
|
1122
|
+
} }, di = f.vnode;
|
|
1123
|
+
f.vnode = function(t) {
|
|
1119
1124
|
typeof t.type == "string" && function(e) {
|
|
1120
1125
|
var i = e.props, o = e.type, a = {};
|
|
1121
1126
|
for (var r in i) {
|
|
1122
1127
|
var n = i[r];
|
|
1123
|
-
if (!(r === "value" && "defaultValue" in i && n == null ||
|
|
1128
|
+
if (!(r === "value" && "defaultValue" in i && n == null || _a && r === "children" && o === "noscript" || r === "class" || r === "className")) {
|
|
1124
1129
|
var s = r.toLowerCase();
|
|
1125
|
-
r === "defaultValue" && "value" in i && i.value == null ? r = "value" : r === "download" && n === !0 ? n = "" : s === "ondoubleclick" ? r = "ondblclick" : s !== "onchange" || o !== "input" && o !== "textarea" ||
|
|
1130
|
+
r === "defaultValue" && "value" in i && i.value == null ? r = "value" : r === "download" && n === !0 ? n = "" : s === "ondoubleclick" ? r = "ondblclick" : s !== "onchange" || o !== "input" && o !== "textarea" || ma(i.type) ? s === "onfocus" ? r = "onfocusin" : s === "onblur" ? r = "onfocusout" : ba.test(r) ? r = s : o.indexOf("-") === -1 && ga.test(r) ? r = r.replace(va, "-$&").toLowerCase() : n === null && (n = void 0) : s = r = "oninput", s === "oninput" && a[r = s] && (r = "oninputCapture"), a[r] = n;
|
|
1126
1131
|
}
|
|
1127
1132
|
}
|
|
1128
1133
|
o == "select" && a.multiple && Array.isArray(a.value) && (a.value = Q(i.children).forEach(function(c) {
|
|
1129
1134
|
c.props.selected = a.value.indexOf(c.props.value) != -1;
|
|
1130
1135
|
})), o == "select" && a.defaultValue != null && (a.value = Q(i.children).forEach(function(c) {
|
|
1131
1136
|
c.props.selected = a.multiple ? a.defaultValue.indexOf(c.props.value) != -1 : a.defaultValue == c.props.value;
|
|
1132
|
-
})), i.class && !i.className ? (a.class = i.class, Object.defineProperty(a, "className",
|
|
1133
|
-
}(t), t.$$typeof = no,
|
|
1137
|
+
})), i.class && !i.className ? (a.class = i.class, Object.defineProperty(a, "className", Ca)) : (i.className && !i.class || i.class && i.className) && (a.class = a.className = i.className), e.props = a;
|
|
1138
|
+
}(t), t.$$typeof = no, di && di(t);
|
|
1134
1139
|
};
|
|
1135
|
-
var
|
|
1136
|
-
|
|
1137
|
-
|
|
1140
|
+
var ui = f.__r;
|
|
1141
|
+
f.__r = function(t) {
|
|
1142
|
+
ui && ui(t), Fe = t.__c;
|
|
1138
1143
|
};
|
|
1139
|
-
var
|
|
1140
|
-
|
|
1141
|
-
|
|
1144
|
+
var pi = f.diffed;
|
|
1145
|
+
f.diffed = function(t) {
|
|
1146
|
+
pi && pi(t);
|
|
1142
1147
|
var e = t.props, i = t.__e;
|
|
1143
|
-
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value),
|
|
1148
|
+
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Fe = null;
|
|
1144
1149
|
};
|
|
1145
|
-
var
|
|
1146
|
-
return
|
|
1150
|
+
var Ea = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1151
|
+
return Fe.__n[t.__c].props.value;
|
|
1147
1152
|
} } } };
|
|
1148
|
-
function
|
|
1153
|
+
function Pa(t) {
|
|
1149
1154
|
return B.bind(null, t);
|
|
1150
1155
|
}
|
|
1151
1156
|
function so(t) {
|
|
1152
1157
|
return !!t && t.$$typeof === no;
|
|
1153
1158
|
}
|
|
1154
|
-
function Pa(t) {
|
|
1155
|
-
return so(t) ? ta.apply(null, arguments) : t;
|
|
1156
|
-
}
|
|
1157
1159
|
function Ta(t) {
|
|
1158
|
-
return
|
|
1160
|
+
return so(t) ? ea.apply(null, arguments) : t;
|
|
1159
1161
|
}
|
|
1160
1162
|
function Ia(t) {
|
|
1163
|
+
return !!t.__k && (ct(null, t), !0);
|
|
1164
|
+
}
|
|
1165
|
+
function za(t) {
|
|
1161
1166
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1162
1167
|
}
|
|
1163
|
-
var
|
|
1168
|
+
var Oa = function(t, e) {
|
|
1164
1169
|
return t(e);
|
|
1165
|
-
},
|
|
1170
|
+
}, ja = function(t, e) {
|
|
1166
1171
|
return t(e);
|
|
1167
|
-
},
|
|
1172
|
+
}, Na = R;
|
|
1168
1173
|
function lo(t) {
|
|
1169
1174
|
t();
|
|
1170
1175
|
}
|
|
1171
|
-
function
|
|
1176
|
+
function Aa(t) {
|
|
1172
1177
|
return t;
|
|
1173
1178
|
}
|
|
1174
1179
|
function Da() {
|
|
1175
1180
|
return [!1, lo];
|
|
1176
1181
|
}
|
|
1177
|
-
var
|
|
1178
|
-
function
|
|
1182
|
+
var Ba = gt;
|
|
1183
|
+
function Fa(t, e) {
|
|
1179
1184
|
var i = e(), o = Gi({ h: { __: i, v: e } }), a = o[0].h, r = o[1];
|
|
1180
1185
|
return gt(function() {
|
|
1181
|
-
a.__ = i, a.v = e,
|
|
1186
|
+
a.__ = i, a.v = e, ee(a.__, e()) || r({ h: a });
|
|
1182
1187
|
}, [t, i, e]), Ji(function() {
|
|
1183
|
-
return
|
|
1184
|
-
|
|
1188
|
+
return ee(a.__, a.v()) || r({ h: a }), t(function() {
|
|
1189
|
+
ee(a.__, a.v()) || r({ h: a });
|
|
1185
1190
|
});
|
|
1186
1191
|
}, [t]), i;
|
|
1187
1192
|
}
|
|
1188
|
-
var
|
|
1189
|
-
const
|
|
1193
|
+
var pn = { useState: Gi, useId: ra, useReducer: Zi, useEffect: Ji, useLayoutEffect: gt, useInsertionEffect: Ba, useTransition: Da, useDeferredValue: Aa, useSyncExternalStore: Fa, startTransition: lo, useRef: Xt, useImperativeHandle: ia, useMemo: dt, useCallback: oa, useContext: Qi, useDebugValue: aa, version: "17.0.2", Children: ua, render: ya, hydrate: xa, unmountComponentAtNode: Ia, createPortal: wa, createElement: B, createContext: Ki, createFactory: Pa, cloneElement: Ta, createRef: Go, Fragment: R, isValidElement: so, findDOMNode: za, Component: H, PureComponent: fe, memo: la, forwardRef: da, flushSync: ja, unstable_batchedUpdates: Oa, StrictMode: Na, Suspense: xt, SuspenseList: mt, lazy: ro, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ea };
|
|
1194
|
+
const A = Symbol.for("@ts-pattern/matcher"), co = Symbol.for("@ts-pattern/isVariadic"), Wt = "@ts-pattern/anonymous-select-key", we = (t) => !!(t && typeof t == "object"), jt = (t) => t && !!t[A], P = (t, e, i) => {
|
|
1190
1195
|
if (jt(t)) {
|
|
1191
|
-
const o = t[
|
|
1196
|
+
const o = t[A](), { matched: a, selections: r } = o.match(e);
|
|
1192
1197
|
return a && r && Object.keys(r).forEach((n) => i(n, r[n])), a;
|
|
1193
1198
|
}
|
|
1194
|
-
if (
|
|
1195
|
-
if (!
|
|
1199
|
+
if (we(t)) {
|
|
1200
|
+
if (!we(e))
|
|
1196
1201
|
return !1;
|
|
1197
1202
|
if (Array.isArray(t)) {
|
|
1198
1203
|
if (!Array.isArray(e))
|
|
@@ -1214,16 +1219,16 @@ const D = Symbol.for("@ts-pattern/matcher"), co = Symbol.for("@ts-pattern/isVari
|
|
|
1214
1219
|
}
|
|
1215
1220
|
return Reflect.ownKeys(t).every((o) => {
|
|
1216
1221
|
const a = t[o];
|
|
1217
|
-
return (o in e || jt(r = a) && r[
|
|
1222
|
+
return (o in e || jt(r = a) && r[A]().matcherType === "optional") && P(a, e[o], i);
|
|
1218
1223
|
var r;
|
|
1219
1224
|
});
|
|
1220
1225
|
}
|
|
1221
1226
|
return Object.is(e, t);
|
|
1222
1227
|
}, N = (t) => {
|
|
1223
1228
|
var e, i, o;
|
|
1224
|
-
return
|
|
1229
|
+
return we(t) ? jt(t) ? (e = (i = (o = t[A]()).getSelectionKeys) == null ? void 0 : i.call(o)) != null ? e : [] : Array.isArray(t) ? $t(t, N) : $t(Object.values(t), N) : [];
|
|
1225
1230
|
}, $t = (t, e) => t.reduce((i, o) => i.concat(e(o)), []);
|
|
1226
|
-
function
|
|
1231
|
+
function Ma(...t) {
|
|
1227
1232
|
if (t.length === 1) {
|
|
1228
1233
|
const [e] = t;
|
|
1229
1234
|
return (i) => P(e, i, () => {
|
|
@@ -1237,9 +1242,9 @@ function Fa(...t) {
|
|
|
1237
1242
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
1238
1243
|
}
|
|
1239
1244
|
function I(t) {
|
|
1240
|
-
return Object.assign(t, { optional: () =>
|
|
1245
|
+
return Object.assign(t, { optional: () => Me(t), and: (e) => S(t, e), or: (e) => uo(t, e), select: (e) => e === void 0 ? St(t) : St(e, t) });
|
|
1241
1246
|
}
|
|
1242
|
-
function
|
|
1247
|
+
function ge(t) {
|
|
1243
1248
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
1244
1249
|
let i = 0;
|
|
1245
1250
|
const o = [{ value: Object.assign(e, { [co]: !0 }), done: !1 }, { done: !0, value: void 0 }];
|
|
@@ -1247,10 +1252,10 @@ function we(t) {
|
|
|
1247
1252
|
var a;
|
|
1248
1253
|
return (a = o[i++]) != null ? a : o.at(-1);
|
|
1249
1254
|
} };
|
|
1250
|
-
} }))(t), { optional: () =>
|
|
1255
|
+
} }))(t), { optional: () => ge(Me(t)), select: (e) => ge(e === void 0 ? St(t) : St(e, t)) });
|
|
1251
1256
|
}
|
|
1252
|
-
function
|
|
1253
|
-
return I({ [
|
|
1257
|
+
function Me(t) {
|
|
1258
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1254
1259
|
let i = {};
|
|
1255
1260
|
const o = (a, r) => {
|
|
1256
1261
|
i[a] = r;
|
|
@@ -1258,17 +1263,17 @@ function Fe(t) {
|
|
|
1258
1263
|
return e === void 0 ? (N(t).forEach((a) => o(a, void 0)), { matched: !0, selections: i }) : { matched: P(t, e, o), selections: i };
|
|
1259
1264
|
}, getSelectionKeys: () => N(t), matcherType: "optional" }) });
|
|
1260
1265
|
}
|
|
1261
|
-
const
|
|
1266
|
+
const La = (t, e) => {
|
|
1262
1267
|
for (const i of t)
|
|
1263
1268
|
if (!e(i))
|
|
1264
1269
|
return !1;
|
|
1265
1270
|
return !0;
|
|
1266
|
-
},
|
|
1271
|
+
}, Ha = (t, e) => {
|
|
1267
1272
|
for (const [i, o] of t.entries())
|
|
1268
1273
|
if (!e(o, i))
|
|
1269
1274
|
return !1;
|
|
1270
1275
|
return !0;
|
|
1271
|
-
},
|
|
1276
|
+
}, Ra = (t, e) => {
|
|
1272
1277
|
const i = Reflect.ownKeys(t);
|
|
1273
1278
|
for (const o of i)
|
|
1274
1279
|
if (!e(o, t[o]))
|
|
@@ -1276,7 +1281,7 @@ const Ma = (t, e) => {
|
|
|
1276
1281
|
return !0;
|
|
1277
1282
|
};
|
|
1278
1283
|
function S(...t) {
|
|
1279
|
-
return I({ [
|
|
1284
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1280
1285
|
let i = {};
|
|
1281
1286
|
const o = (a, r) => {
|
|
1282
1287
|
i[a] = r;
|
|
@@ -1285,7 +1290,7 @@ function S(...t) {
|
|
|
1285
1290
|
}, getSelectionKeys: () => $t(t, N), matcherType: "and" }) });
|
|
1286
1291
|
}
|
|
1287
1292
|
function uo(...t) {
|
|
1288
|
-
return I({ [
|
|
1293
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1289
1294
|
let i = {};
|
|
1290
1295
|
const o = (a, r) => {
|
|
1291
1296
|
i[a] = r;
|
|
@@ -1294,16 +1299,16 @@ function uo(...t) {
|
|
|
1294
1299
|
}, getSelectionKeys: () => $t(t, N), matcherType: "or" }) });
|
|
1295
1300
|
}
|
|
1296
1301
|
function m(t) {
|
|
1297
|
-
return { [
|
|
1302
|
+
return { [A]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
1298
1303
|
}
|
|
1299
1304
|
function St(...t) {
|
|
1300
1305
|
const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
1301
|
-
return I({ [
|
|
1302
|
-
let a = { [e ??
|
|
1306
|
+
return I({ [A]: () => ({ match: (o) => {
|
|
1307
|
+
let a = { [e ?? Wt]: o };
|
|
1303
1308
|
return { matched: i === void 0 || P(i, o, (r, n) => {
|
|
1304
1309
|
a[r] = n;
|
|
1305
1310
|
}), selections: a };
|
|
1306
|
-
}, getSelectionKeys: () => [e ??
|
|
1311
|
+
}, getSelectionKeys: () => [e ?? Wt].concat(i === void 0 ? [] : N(i)) }) });
|
|
1307
1312
|
}
|
|
1308
1313
|
function po(t) {
|
|
1309
1314
|
return !0;
|
|
@@ -1317,7 +1322,7 @@ function tt(t) {
|
|
|
1317
1322
|
function et(t) {
|
|
1318
1323
|
return typeof t == "bigint";
|
|
1319
1324
|
}
|
|
1320
|
-
const ho = I(m(po)),
|
|
1325
|
+
const ho = I(m(po)), Ua = I(m(po)), Wa = ho, it = (t) => Object.assign(I(t), { startsWith: (e) => {
|
|
1321
1326
|
return it(S(t, (i = e, m((o) => tt(o) && o.startsWith(i)))));
|
|
1322
1327
|
var i;
|
|
1323
1328
|
}, endsWith: (e) => {
|
|
@@ -1329,17 +1334,17 @@ const ho = I(m(po)), Ra = I(m(po)), Ua = ho, it = (t) => Object.assign(I(t), { s
|
|
|
1329
1334
|
}, regex: (e) => {
|
|
1330
1335
|
return it(S(t, (i = e, m((o) => tt(o) && !!o.match(i)))));
|
|
1331
1336
|
var i;
|
|
1332
|
-
} }),
|
|
1337
|
+
} }), hi = it(m(tt)), Y = (t) => Object.assign(I(t), { between: (e, i) => Y(S(t, ((o, a) => m((r) => V(r) && o <= r && a >= r))(e, i))), lt: (e) => Y(S(t, ((i) => m((o) => V(o) && o < i))(e))), gt: (e) => Y(S(t, ((i) => m((o) => V(o) && o > i))(e))), lte: (e) => Y(S(t, ((i) => m((o) => V(o) && o <= i))(e))), gte: (e) => Y(S(t, ((i) => m((o) => V(o) && o >= i))(e))), int: () => Y(S(t, m((e) => V(e) && Number.isInteger(e)))), finite: () => Y(S(t, m((e) => V(e) && Number.isFinite(e)))), positive: () => Y(S(t, m((e) => V(e) && e > 0))), negative: () => Y(S(t, m((e) => V(e) && e < 0))) }), Va = Y(m(V)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(S(t, ((o, a) => m((r) => et(r) && o <= r && a >= r))(e, i))), lt: (e) => ot(S(t, ((i) => m((o) => et(o) && o < i))(e))), gt: (e) => ot(S(t, ((i) => m((o) => et(o) && o > i))(e))), lte: (e) => ot(S(t, ((i) => m((o) => et(o) && o <= i))(e))), gte: (e) => ot(S(t, ((i) => m((o) => et(o) && o >= i))(e))), positive: () => ot(S(t, m((e) => et(e) && e > 0))), negative: () => ot(S(t, m((e) => et(e) && e < 0))) }), Ya = ot(m(et)), Ka = I(m(function(t) {
|
|
1333
1338
|
return typeof t == "boolean";
|
|
1334
|
-
})), Ka = I(m(function(t) {
|
|
1335
|
-
return typeof t == "symbol";
|
|
1336
1339
|
})), qa = I(m(function(t) {
|
|
1337
|
-
return t ==
|
|
1340
|
+
return typeof t == "symbol";
|
|
1338
1341
|
})), Xa = I(m(function(t) {
|
|
1342
|
+
return t == null;
|
|
1343
|
+
})), Ga = I(m(function(t) {
|
|
1339
1344
|
return t != null;
|
|
1340
1345
|
}));
|
|
1341
|
-
var Tt = { __proto__: null, matcher:
|
|
1342
|
-
return
|
|
1346
|
+
var Tt = { __proto__: null, matcher: A, optional: Me, array: function(...t) {
|
|
1347
|
+
return ge({ [A]: () => ({ match: (e) => {
|
|
1343
1348
|
if (!Array.isArray(e))
|
|
1344
1349
|
return { matched: !1 };
|
|
1345
1350
|
if (t.length === 0)
|
|
@@ -1356,7 +1361,7 @@ var Tt = { __proto__: null, matcher: D, optional: Fe, array: function(...t) {
|
|
|
1356
1361
|
return { matched: e.every((r) => P(i, r, a)), selections: o };
|
|
1357
1362
|
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1358
1363
|
}, set: function(...t) {
|
|
1359
|
-
return I({ [
|
|
1364
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1360
1365
|
if (!(e instanceof Set))
|
|
1361
1366
|
return { matched: !1 };
|
|
1362
1367
|
let i = {};
|
|
@@ -1367,10 +1372,10 @@ var Tt = { __proto__: null, matcher: D, optional: Fe, array: function(...t) {
|
|
|
1367
1372
|
const o = (r, n) => {
|
|
1368
1373
|
i[r] = (i[r] || []).concat([n]);
|
|
1369
1374
|
}, a = t[0];
|
|
1370
|
-
return { matched:
|
|
1375
|
+
return { matched: La(e, (r) => P(a, r, o)), selections: i };
|
|
1371
1376
|
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1372
1377
|
}, map: function(...t) {
|
|
1373
|
-
return I({ [
|
|
1378
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1374
1379
|
if (!(e instanceof Map))
|
|
1375
1380
|
return { matched: !1 };
|
|
1376
1381
|
let i = {};
|
|
@@ -1385,13 +1390,13 @@ var Tt = { __proto__: null, matcher: D, optional: Fe, array: function(...t) {
|
|
|
1385
1390
|
if (t.length === 1)
|
|
1386
1391
|
throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(a = t[0]) == null ? void 0 : a.toString()}`);
|
|
1387
1392
|
const [r, n] = t;
|
|
1388
|
-
return { matched:
|
|
1393
|
+
return { matched: Ha(e, (s, c) => {
|
|
1389
1394
|
const d = P(r, c, o), u = P(n, s, o);
|
|
1390
1395
|
return d && u;
|
|
1391
1396
|
}), selections: i };
|
|
1392
1397
|
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1393
1398
|
}, record: function(...t) {
|
|
1394
|
-
return I({ [
|
|
1399
|
+
return I({ [A]: () => ({ match: (e) => {
|
|
1395
1400
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
1396
1401
|
return { matched: !1 };
|
|
1397
1402
|
var i;
|
|
@@ -1400,23 +1405,23 @@ var Tt = { __proto__: null, matcher: D, optional: Fe, array: function(...t) {
|
|
|
1400
1405
|
let o = {};
|
|
1401
1406
|
const a = (s, c) => {
|
|
1402
1407
|
o[s] = (o[s] || []).concat([c]);
|
|
1403
|
-
}, [r, n] = t.length === 1 ? [
|
|
1404
|
-
return { matched:
|
|
1405
|
-
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && P(r, d, a), l = P(r, s, a),
|
|
1406
|
-
return (l || u) &&
|
|
1408
|
+
}, [r, n] = t.length === 1 ? [hi, t[0]] : t;
|
|
1409
|
+
return { matched: Ra(e, (s, c) => {
|
|
1410
|
+
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && P(r, d, a), l = P(r, s, a), h = P(n, c, a);
|
|
1411
|
+
return (l || u) && h;
|
|
1407
1412
|
}), selections: o };
|
|
1408
1413
|
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1409
1414
|
}, intersection: S, union: uo, not: function(t) {
|
|
1410
|
-
return I({ [
|
|
1415
|
+
return I({ [A]: () => ({ match: (e) => ({ matched: !P(t, e, () => {
|
|
1411
1416
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1412
|
-
}, when: m, select: St, any: ho, unknown:
|
|
1417
|
+
}, when: m, select: St, any: ho, unknown: Ua, _: Wa, string: hi, number: Va, bigint: Ya, boolean: Ka, symbol: qa, nullish: Xa, nonNullable: Ga, instanceOf: function(t) {
|
|
1413
1418
|
return I(m(function(e) {
|
|
1414
1419
|
return (i) => i instanceof e;
|
|
1415
1420
|
}(t)));
|
|
1416
1421
|
}, shape: function(t) {
|
|
1417
|
-
return I(m(
|
|
1422
|
+
return I(m(Ma(t)));
|
|
1418
1423
|
} };
|
|
1419
|
-
class
|
|
1424
|
+
class Za extends Error {
|
|
1420
1425
|
constructor(e) {
|
|
1421
1426
|
let i;
|
|
1422
1427
|
try {
|
|
@@ -1427,9 +1432,9 @@ class Ga extends Error {
|
|
|
1427
1432
|
super(`Pattern matching error: no pattern matches value ${i}`), this.input = void 0, this.input = e;
|
|
1428
1433
|
}
|
|
1429
1434
|
}
|
|
1430
|
-
const
|
|
1431
|
-
function
|
|
1432
|
-
return new Vt(t,
|
|
1435
|
+
const be = { matched: !1, value: void 0 };
|
|
1436
|
+
function Le(t) {
|
|
1437
|
+
return new Vt(t, be);
|
|
1433
1438
|
}
|
|
1434
1439
|
class Vt {
|
|
1435
1440
|
constructor(e, i) {
|
|
@@ -1444,19 +1449,19 @@ class Vt {
|
|
|
1444
1449
|
let r = !1, n = {};
|
|
1445
1450
|
const s = (d, u) => {
|
|
1446
1451
|
r = !0, n[d] = u;
|
|
1447
|
-
}, c = !o.some((d) => P(d, this.input, s)) || a && !a(this.input) ?
|
|
1452
|
+
}, c = !o.some((d) => P(d, this.input, s)) || a && !a(this.input) ? be : { matched: !0, value: i(r ? Wt in n ? n[Wt] : n : this.input, this.input) };
|
|
1448
1453
|
return new Vt(this.input, c);
|
|
1449
1454
|
}
|
|
1450
1455
|
when(e, i) {
|
|
1451
1456
|
if (this.state.matched)
|
|
1452
1457
|
return this;
|
|
1453
1458
|
const o = !!e(this.input);
|
|
1454
|
-
return new Vt(this.input, o ? { matched: !0, value: i(this.input, this.input) } :
|
|
1459
|
+
return new Vt(this.input, o ? { matched: !0, value: i(this.input, this.input) } : be);
|
|
1455
1460
|
}
|
|
1456
1461
|
otherwise(e) {
|
|
1457
1462
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1458
1463
|
}
|
|
1459
|
-
exhaustive(e =
|
|
1464
|
+
exhaustive(e = Ja) {
|
|
1460
1465
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1461
1466
|
}
|
|
1462
1467
|
run() {
|
|
@@ -1469,10 +1474,10 @@ class Vt {
|
|
|
1469
1474
|
return this;
|
|
1470
1475
|
}
|
|
1471
1476
|
}
|
|
1472
|
-
function
|
|
1473
|
-
throw new
|
|
1477
|
+
function Ja(t) {
|
|
1478
|
+
throw new Za(t);
|
|
1474
1479
|
}
|
|
1475
|
-
var
|
|
1480
|
+
var Qa = ["other", "few", "many", "two", "one", "zero"], fi = ({
|
|
1476
1481
|
terms: t,
|
|
1477
1482
|
overrides: e,
|
|
1478
1483
|
locale: i
|
|
@@ -1491,7 +1496,7 @@ var Ja = ["other", "few", "many", "two", "one", "zero"], hi = ({
|
|
|
1491
1496
|
throw new Error(`Missing count for translation key “${r.toString()}”`);
|
|
1492
1497
|
let c = o.select(n.count);
|
|
1493
1498
|
if (!(c in s)) {
|
|
1494
|
-
const d =
|
|
1499
|
+
const d = Qa.find((u) => u in s);
|
|
1495
1500
|
if (!d)
|
|
1496
1501
|
throw new Error(`Missing plural rule for translation key “${r.toString()}”`);
|
|
1497
1502
|
c = d;
|
|
@@ -1506,25 +1511,25 @@ var Ja = ["other", "few", "many", "two", "one", "zero"], hi = ({
|
|
|
1506
1511
|
}
|
|
1507
1512
|
}
|
|
1508
1513
|
return a;
|
|
1509
|
-
},
|
|
1514
|
+
}, tr = 0;
|
|
1510
1515
|
function p(t, e, i, o, a, r) {
|
|
1511
1516
|
var n, s, c = {};
|
|
1512
1517
|
for (s in e)
|
|
1513
1518
|
s == "ref" ? n = e[s] : c[s] = e[s];
|
|
1514
|
-
var d = { type: t, props: c, key: i, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --
|
|
1519
|
+
var d = { type: t, props: c, key: i, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --tr, __source: a, __self: r };
|
|
1515
1520
|
if (typeof t == "function" && (n = t.defaultProps))
|
|
1516
1521
|
for (s in n)
|
|
1517
1522
|
c[s] === void 0 && (c[s] = n[s]);
|
|
1518
|
-
return
|
|
1523
|
+
return f.vnode && f.vnode(d), d;
|
|
1519
1524
|
}
|
|
1520
|
-
var
|
|
1525
|
+
var wi = Ki(null), fo = (t) => ({
|
|
1521
1526
|
defaultTerms: t,
|
|
1522
1527
|
TranslationProvider: ({ terms: e, children: i, locale: o }) => {
|
|
1523
|
-
const a = dt(() =>
|
|
1524
|
-
return /* @__PURE__ */ p(
|
|
1528
|
+
const a = dt(() => fi({ locale: o, terms: t, overrides: e }), [e, o]);
|
|
1529
|
+
return /* @__PURE__ */ p(wi.Provider, { value: { t: a, locale: o }, children: i });
|
|
1525
1530
|
},
|
|
1526
1531
|
useTranslation: () => {
|
|
1527
|
-
const e = Qi(
|
|
1532
|
+
const e = Qi(wi);
|
|
1528
1533
|
if (e === null)
|
|
1529
1534
|
throw new Error("Please wrap useTranslation in a TranslationProvider");
|
|
1530
1535
|
return { t: e.t, locale: e.locale };
|
|
@@ -1532,14 +1537,14 @@ var fi = Ki(null), fo = (t) => ({
|
|
|
1532
1537
|
createTFunction: ({
|
|
1533
1538
|
overrides: e,
|
|
1534
1539
|
locale: i
|
|
1535
|
-
}) =>
|
|
1536
|
-
}), { TranslationProvider:
|
|
1540
|
+
}) => fi({ terms: t, overrides: e, locale: i })
|
|
1541
|
+
}), { TranslationProvider: hn, useTranslation: fn, createTFunction: wn, defaultTerms: er } = fo({ submission_redirect_message: "Almost there! Please complete your submission here:", complete_submission: "Complete submission", submission_completed: "Submission completed!", submission_failed: "Failed to submit", close_application: "Close application", invalid_state: "Invalid application state", redirect_url_error: "Couldn’t get the redirect URL.", upload_file: { one: "Select file to upload", other: "Select files to upload" }, file_max_size: "max {{size}}", file_extensions: "Accepted file extensions", address_error: "Something went wrong! Plase continue manually", address_search: "Type and search for places…", address_manual: "Fill in manually", back: "Back", search: "Search", unknown_error: "An error occurred", line1: "Line 1", line2: "Line 2", line3: "Line 3", city: "City", state: "State", postcode: "Postcode", country: "Country", select_country: "Select a country", validation_empty: "Please enter a value", validation_date: "Please enter a valid date (YYYY-MM-DD)", validation_email: "That doesn’t look like a valid email address", validation_url: "That doesn’t look like a valid URL", validation_max_chars: "Please enter no more than {{count}} characters", validation_min_chars: "Please enter {{count}} or more characters", validation_phone: "Please enter a valid phone number", validation_phone_min_chars: "Your phone number must be at least {{count}} digits long", validation_country_code: "Please select a country code", validation_number: "Please enter a valid number", validation_number_min: "Please enter a number greater than or equal to {{min}}", validation_number_max: "Please enter a number less than or equal to {{max}}", validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases", validation_file: "Please select a file", validation_file_ext: "Please only upload {{ext}} files", validation_file_min: { one: "Please upload at least one file", other: "Please only upload at least {{count}} files" }, validation_file_max: { one: "Please only upload one file", other: "Please only upload up to {{count}} files" }, validation_file_size: "Your file is too big. Please upload a file smaller than {{size}}", validation_required: "This field is required.", validation_multiple_choice_min: { one: "Please select at least {{count}} option", other: "Please select at least {{count}} options" }, validation_multiple_choice_max: { one: "Please select at most {{count}} option", other: "Please select at most {{count}} options" }, optional: "optional" });
|
|
1537
1542
|
const {
|
|
1538
|
-
TranslationProvider:
|
|
1539
|
-
useTranslation:
|
|
1540
|
-
createTFunction:
|
|
1543
|
+
TranslationProvider: ir,
|
|
1544
|
+
useTranslation: He,
|
|
1545
|
+
createTFunction: or
|
|
1541
1546
|
} = fo({
|
|
1542
|
-
...
|
|
1547
|
+
...er,
|
|
1543
1548
|
error_heading: "Something unexpected happened",
|
|
1544
1549
|
undo: "Change answer",
|
|
1545
1550
|
conversation_history: "Conversation history",
|
|
@@ -1549,11 +1554,13 @@ const {
|
|
|
1549
1554
|
skip: "Skip",
|
|
1550
1555
|
skipped: "Skipped",
|
|
1551
1556
|
submission_closed: "This role is no longer accepting applications.",
|
|
1552
|
-
submission_duplicate: "
|
|
1557
|
+
submission_duplicate: "You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",
|
|
1558
|
+
submission_duplicate_earlier_attempt: "It looks like your earlier attempt did go through. You don't need to apply again — check your email for confirmation.",
|
|
1553
1559
|
submission_retryable: "We couldn't submit your application. Please try again.",
|
|
1554
1560
|
submission_failed: "We couldn't submit your application. Choose Restart to try again.",
|
|
1555
1561
|
submission_unknown: "We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",
|
|
1556
1562
|
submission_unreadable_document: "We couldn't read that file. Please upload a different one.",
|
|
1563
|
+
submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.",
|
|
1557
1564
|
file_preparing: {
|
|
1558
1565
|
one: "Preparing your file…",
|
|
1559
1566
|
other: "Preparing your files…"
|
|
@@ -1574,19 +1581,19 @@ function wo(t, e) {
|
|
|
1574
1581
|
if (!t)
|
|
1575
1582
|
throw new Error(e);
|
|
1576
1583
|
}
|
|
1577
|
-
var
|
|
1578
|
-
let e = JSON.stringify(
|
|
1584
|
+
var ve = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ve) : Object.keys(t).sort().reduce((e, i) => (e[i] = ve(t[i]), e), {}), ar = (t) => {
|
|
1585
|
+
let e = JSON.stringify(ve(t)), i = 5381;
|
|
1579
1586
|
for (let o = 0; o < e.length; o++)
|
|
1580
1587
|
i = i * 33 ^ e.charCodeAt(o);
|
|
1581
1588
|
return (i >>> 0).toString(36);
|
|
1582
|
-
},
|
|
1583
|
-
function
|
|
1589
|
+
}, rr = Symbol.for("preact-signals");
|
|
1590
|
+
function Re() {
|
|
1584
1591
|
if (ht > 1)
|
|
1585
1592
|
ht--;
|
|
1586
1593
|
else {
|
|
1587
1594
|
for (var t, e = !1; kt !== void 0; ) {
|
|
1588
1595
|
var i = kt;
|
|
1589
|
-
for (kt = void 0,
|
|
1596
|
+
for (kt = void 0, _e++; i !== void 0; ) {
|
|
1590
1597
|
var o = i.o;
|
|
1591
1598
|
if (i.o = void 0, i.f &= -3, !(8 & i.f) && bo(i))
|
|
1592
1599
|
try {
|
|
@@ -1597,11 +1604,11 @@ function He() {
|
|
|
1597
1604
|
i = o;
|
|
1598
1605
|
}
|
|
1599
1606
|
}
|
|
1600
|
-
if (
|
|
1607
|
+
if (_e = 0, ht--, e)
|
|
1601
1608
|
throw t;
|
|
1602
1609
|
}
|
|
1603
1610
|
}
|
|
1604
|
-
var k = void 0, kt = void 0, ht = 0,
|
|
1611
|
+
var k = void 0, kt = void 0, ht = 0, _e = 0, Yt = 0;
|
|
1605
1612
|
function go(t) {
|
|
1606
1613
|
if (k !== void 0) {
|
|
1607
1614
|
var e = t.n;
|
|
@@ -1614,7 +1621,7 @@ function go(t) {
|
|
|
1614
1621
|
function O(t) {
|
|
1615
1622
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1616
1623
|
}
|
|
1617
|
-
O.prototype.brand =
|
|
1624
|
+
O.prototype.brand = rr;
|
|
1618
1625
|
O.prototype.h = function() {
|
|
1619
1626
|
return !0;
|
|
1620
1627
|
};
|
|
@@ -1629,7 +1636,7 @@ O.prototype.U = function(t) {
|
|
|
1629
1636
|
};
|
|
1630
1637
|
O.prototype.subscribe = function(t) {
|
|
1631
1638
|
var e = this;
|
|
1632
|
-
return
|
|
1639
|
+
return We(function() {
|
|
1633
1640
|
var i = e.value, o = k;
|
|
1634
1641
|
k = void 0;
|
|
1635
1642
|
try {
|
|
@@ -1662,14 +1669,14 @@ Object.defineProperty(O.prototype, "value", { get: function() {
|
|
|
1662
1669
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1663
1670
|
}, set: function(t) {
|
|
1664
1671
|
if (t !== this.v) {
|
|
1665
|
-
if (
|
|
1672
|
+
if (_e > 100)
|
|
1666
1673
|
throw new Error("Cycle detected");
|
|
1667
|
-
this.v = t, this.i++,
|
|
1674
|
+
this.v = t, this.i++, Yt++, ht++;
|
|
1668
1675
|
try {
|
|
1669
1676
|
for (var e = this.t; e !== void 0; e = e.x)
|
|
1670
1677
|
e.t.N();
|
|
1671
1678
|
} finally {
|
|
1672
|
-
|
|
1679
|
+
Re();
|
|
1673
1680
|
}
|
|
1674
1681
|
}
|
|
1675
1682
|
} });
|
|
@@ -1699,14 +1706,14 @@ function _o(t) {
|
|
|
1699
1706
|
t.s = i;
|
|
1700
1707
|
}
|
|
1701
1708
|
function bt(t) {
|
|
1702
|
-
O.call(this, void 0), this.x = t, this.s = void 0, this.g =
|
|
1709
|
+
O.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
|
|
1703
1710
|
}
|
|
1704
1711
|
(bt.prototype = new O()).h = function() {
|
|
1705
1712
|
if (this.f &= -3, 1 & this.f)
|
|
1706
1713
|
return !1;
|
|
1707
|
-
if ((36 & this.f) == 32 || (this.f &= -5, this.g ===
|
|
1714
|
+
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
|
|
1708
1715
|
return !0;
|
|
1709
|
-
if (this.g =
|
|
1716
|
+
if (this.g = Yt, this.f |= 1, this.i > 0 && !bo(this))
|
|
1710
1717
|
return this.f &= -2, !0;
|
|
1711
1718
|
var t = k;
|
|
1712
1719
|
try {
|
|
@@ -1748,7 +1755,7 @@ Object.defineProperty(bt.prototype, "value", { get: function() {
|
|
|
1748
1755
|
throw this.v;
|
|
1749
1756
|
return this.v;
|
|
1750
1757
|
} });
|
|
1751
|
-
function
|
|
1758
|
+
function nr(t) {
|
|
1752
1759
|
return new bt(t);
|
|
1753
1760
|
}
|
|
1754
1761
|
function mo(t) {
|
|
@@ -1760,21 +1767,21 @@ function mo(t) {
|
|
|
1760
1767
|
try {
|
|
1761
1768
|
e();
|
|
1762
1769
|
} catch (o) {
|
|
1763
|
-
throw t.f &= -2, t.f |= 8,
|
|
1770
|
+
throw t.f &= -2, t.f |= 8, Ue(t), o;
|
|
1764
1771
|
} finally {
|
|
1765
|
-
k = i,
|
|
1772
|
+
k = i, Re();
|
|
1766
1773
|
}
|
|
1767
1774
|
}
|
|
1768
1775
|
}
|
|
1769
|
-
function
|
|
1776
|
+
function Ue(t) {
|
|
1770
1777
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1771
1778
|
e.S.U(e);
|
|
1772
1779
|
t.x = void 0, t.s = void 0, mo(t);
|
|
1773
1780
|
}
|
|
1774
|
-
function
|
|
1781
|
+
function sr(t) {
|
|
1775
1782
|
if (k !== this)
|
|
1776
1783
|
throw new Error("Out-of-order effect");
|
|
1777
|
-
_o(this), k = t, this.f &= -2, 8 & this.f &&
|
|
1784
|
+
_o(this), k = t, this.f &= -2, 8 & this.f && Ue(this), Re();
|
|
1778
1785
|
}
|
|
1779
1786
|
function Et(t) {
|
|
1780
1787
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
@@ -1795,15 +1802,15 @@ Et.prototype.S = function() {
|
|
|
1795
1802
|
throw new Error("Cycle detected");
|
|
1796
1803
|
this.f |= 1, this.f &= -9, mo(this), vo(this), ht++;
|
|
1797
1804
|
var t = k;
|
|
1798
|
-
return k = this,
|
|
1805
|
+
return k = this, sr.bind(this, t);
|
|
1799
1806
|
};
|
|
1800
1807
|
Et.prototype.N = function() {
|
|
1801
1808
|
2 & this.f || (this.f |= 2, this.o = kt, kt = this);
|
|
1802
1809
|
};
|
|
1803
1810
|
Et.prototype.d = function() {
|
|
1804
|
-
this.f |= 8, 1 & this.f ||
|
|
1811
|
+
this.f |= 8, 1 & this.f || Ue(this);
|
|
1805
1812
|
};
|
|
1806
|
-
function
|
|
1813
|
+
function We(t) {
|
|
1807
1814
|
var e = new Et(t);
|
|
1808
1815
|
try {
|
|
1809
1816
|
e.c();
|
|
@@ -1812,16 +1819,16 @@ function Ue(t) {
|
|
|
1812
1819
|
}
|
|
1813
1820
|
return e.d.bind(e);
|
|
1814
1821
|
}
|
|
1815
|
-
var
|
|
1822
|
+
var ie;
|
|
1816
1823
|
function vt(t, e) {
|
|
1817
|
-
|
|
1824
|
+
f[t] = e.bind(null, f[t] || function() {
|
|
1818
1825
|
});
|
|
1819
1826
|
}
|
|
1820
|
-
function
|
|
1821
|
-
|
|
1827
|
+
function Kt(t) {
|
|
1828
|
+
ie && ie(), ie = t && t.S();
|
|
1822
1829
|
}
|
|
1823
1830
|
function yo(t) {
|
|
1824
|
-
var e = this, i = t.data, o =
|
|
1831
|
+
var e = this, i = t.data, o = cr(i);
|
|
1825
1832
|
o.value = i;
|
|
1826
1833
|
var a = dt(function() {
|
|
1827
1834
|
for (var r = e.__v; r = r.__; )
|
|
@@ -1831,8 +1838,8 @@ function yo(t) {
|
|
|
1831
1838
|
}
|
|
1832
1839
|
return e.__$u.c = function() {
|
|
1833
1840
|
var n;
|
|
1834
|
-
!
|
|
1835
|
-
},
|
|
1841
|
+
!Ai(a.peek()) && ((n = e.base) == null ? void 0 : n.nodeType) === 3 ? e.base.data = a.peek() : (e.__$f |= 1, e.setState({}));
|
|
1842
|
+
}, nr(function() {
|
|
1836
1843
|
var n = o.value.value;
|
|
1837
1844
|
return n === 0 ? 0 : n === !0 ? "" : n || "";
|
|
1838
1845
|
});
|
|
@@ -1855,22 +1862,22 @@ vt("__b", function(t, e) {
|
|
|
1855
1862
|
t(e);
|
|
1856
1863
|
});
|
|
1857
1864
|
vt("__r", function(t, e) {
|
|
1858
|
-
|
|
1865
|
+
Kt();
|
|
1859
1866
|
var i, o = e.__c;
|
|
1860
1867
|
o && (o.__$f &= -2, (i = o.__$u) === void 0 && (o.__$u = i = function(a) {
|
|
1861
1868
|
var r;
|
|
1862
|
-
return
|
|
1869
|
+
return We(function() {
|
|
1863
1870
|
r = this;
|
|
1864
1871
|
}), r.c = function() {
|
|
1865
1872
|
o.__$f |= 1, o.setState({});
|
|
1866
1873
|
}, r;
|
|
1867
|
-
}())),
|
|
1874
|
+
}())), Kt(i), t(e);
|
|
1868
1875
|
});
|
|
1869
1876
|
vt("__e", function(t, e, i, o) {
|
|
1870
|
-
|
|
1877
|
+
Kt(), t(e, i, o);
|
|
1871
1878
|
});
|
|
1872
1879
|
vt("diffed", function(t, e) {
|
|
1873
|
-
|
|
1880
|
+
Kt();
|
|
1874
1881
|
var i;
|
|
1875
1882
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
1876
1883
|
var o = e.__np, a = e.props;
|
|
@@ -1885,17 +1892,17 @@ vt("diffed", function(t, e) {
|
|
|
1885
1892
|
i.U = r = {};
|
|
1886
1893
|
for (var c in o) {
|
|
1887
1894
|
var d = r[c], u = o[c];
|
|
1888
|
-
d === void 0 ? (d =
|
|
1895
|
+
d === void 0 ? (d = lr(i, c, u, a), r[c] = d) : d.o(u, a);
|
|
1889
1896
|
}
|
|
1890
1897
|
}
|
|
1891
1898
|
}
|
|
1892
1899
|
t(e);
|
|
1893
1900
|
});
|
|
1894
|
-
function
|
|
1901
|
+
function lr(t, e, i, o) {
|
|
1895
1902
|
var a = e in t && t.ownerSVGElement === void 0, r = J(i);
|
|
1896
1903
|
return { o: function(n, s) {
|
|
1897
1904
|
r.value = n, o = s;
|
|
1898
|
-
}, d:
|
|
1905
|
+
}, d: We(function() {
|
|
1899
1906
|
var n = r.value.value;
|
|
1900
1907
|
o[e] !== n && (o[e] = n, a ? t[e] = n : n ? t.setAttribute(e, n) : t.removeAttribute(e));
|
|
1901
1908
|
}) };
|
|
@@ -1925,7 +1932,7 @@ vt("unmount", function(t, e) {
|
|
|
1925
1932
|
vt("__h", function(t, e, i, o) {
|
|
1926
1933
|
(o < 3 || o === 9) && (e.__$f |= 2), t(e, i, o);
|
|
1927
1934
|
});
|
|
1928
|
-
|
|
1935
|
+
H.prototype.shouldComponentUpdate = function(t, e) {
|
|
1929
1936
|
var i = this.__$u;
|
|
1930
1937
|
if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
|
|
1931
1938
|
return !0;
|
|
@@ -1939,15 +1946,15 @@ L.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
1939
1946
|
return !0;
|
|
1940
1947
|
return !1;
|
|
1941
1948
|
};
|
|
1942
|
-
function
|
|
1949
|
+
function cr(t) {
|
|
1943
1950
|
return dt(function() {
|
|
1944
1951
|
return J(t);
|
|
1945
1952
|
}, []);
|
|
1946
1953
|
}
|
|
1947
|
-
const
|
|
1948
|
-
let
|
|
1949
|
-
function
|
|
1950
|
-
return
|
|
1954
|
+
const me = (t, e) => e.some((i) => t instanceof i);
|
|
1955
|
+
let gi, bi;
|
|
1956
|
+
function dr() {
|
|
1957
|
+
return gi || (gi = [
|
|
1951
1958
|
IDBDatabase,
|
|
1952
1959
|
IDBObjectStore,
|
|
1953
1960
|
IDBIndex,
|
|
@@ -1955,15 +1962,15 @@ function cr() {
|
|
|
1955
1962
|
IDBTransaction
|
|
1956
1963
|
]);
|
|
1957
1964
|
}
|
|
1958
|
-
function
|
|
1959
|
-
return
|
|
1965
|
+
function ur() {
|
|
1966
|
+
return bi || (bi = [
|
|
1960
1967
|
IDBCursor.prototype.advance,
|
|
1961
1968
|
IDBCursor.prototype.continue,
|
|
1962
1969
|
IDBCursor.prototype.continuePrimaryKey
|
|
1963
1970
|
]);
|
|
1964
1971
|
}
|
|
1965
|
-
const
|
|
1966
|
-
function
|
|
1972
|
+
const ye = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Gt = /* @__PURE__ */ new WeakMap();
|
|
1973
|
+
function pr(t) {
|
|
1967
1974
|
const e = new Promise((i, o) => {
|
|
1968
1975
|
const a = () => {
|
|
1969
1976
|
t.removeEventListener("success", r), t.removeEventListener("error", n);
|
|
@@ -1974,10 +1981,10 @@ function ur(t) {
|
|
|
1974
1981
|
};
|
|
1975
1982
|
t.addEventListener("success", r), t.addEventListener("error", n);
|
|
1976
1983
|
});
|
|
1977
|
-
return
|
|
1984
|
+
return Gt.set(e, t), e;
|
|
1978
1985
|
}
|
|
1979
|
-
function
|
|
1980
|
-
if (
|
|
1986
|
+
function hr(t) {
|
|
1987
|
+
if (ye.has(t))
|
|
1981
1988
|
return;
|
|
1982
1989
|
const e = new Promise((i, o) => {
|
|
1983
1990
|
const a = () => {
|
|
@@ -1989,13 +1996,13 @@ function pr(t) {
|
|
|
1989
1996
|
};
|
|
1990
1997
|
t.addEventListener("complete", r), t.addEventListener("error", n), t.addEventListener("abort", n);
|
|
1991
1998
|
});
|
|
1992
|
-
|
|
1999
|
+
ye.set(t, e);
|
|
1993
2000
|
}
|
|
1994
|
-
let
|
|
2001
|
+
let xe = {
|
|
1995
2002
|
get(t, e, i) {
|
|
1996
2003
|
if (t instanceof IDBTransaction) {
|
|
1997
2004
|
if (e === "done")
|
|
1998
|
-
return
|
|
2005
|
+
return ye.get(t);
|
|
1999
2006
|
if (e === "store")
|
|
2000
2007
|
return i.objectStoreNames[1] ? void 0 : i.objectStore(i.objectStoreNames[0]);
|
|
2001
2008
|
}
|
|
@@ -2009,28 +2016,28 @@ let ye = {
|
|
|
2009
2016
|
}
|
|
2010
2017
|
};
|
|
2011
2018
|
function xo(t) {
|
|
2012
|
-
|
|
2019
|
+
xe = t(xe);
|
|
2013
2020
|
}
|
|
2014
|
-
function
|
|
2015
|
-
return
|
|
2016
|
-
return t.apply(
|
|
2021
|
+
function fr(t) {
|
|
2022
|
+
return ur().includes(t) ? function(...e) {
|
|
2023
|
+
return t.apply(ke(this), e), lt(this.request);
|
|
2017
2024
|
} : function(...e) {
|
|
2018
|
-
return lt(t.apply(
|
|
2025
|
+
return lt(t.apply(ke(this), e));
|
|
2019
2026
|
};
|
|
2020
2027
|
}
|
|
2021
|
-
function
|
|
2022
|
-
return typeof t == "function" ?
|
|
2028
|
+
function wr(t) {
|
|
2029
|
+
return typeof t == "function" ? fr(t) : (t instanceof IDBTransaction && hr(t), me(t, dr()) ? new Proxy(t, xe) : t);
|
|
2023
2030
|
}
|
|
2024
2031
|
function lt(t) {
|
|
2025
2032
|
if (t instanceof IDBRequest)
|
|
2026
|
-
return
|
|
2027
|
-
if (
|
|
2028
|
-
return
|
|
2029
|
-
const e =
|
|
2030
|
-
return e !== t && (
|
|
2031
|
-
}
|
|
2032
|
-
const
|
|
2033
|
-
function
|
|
2033
|
+
return pr(t);
|
|
2034
|
+
if (oe.has(t))
|
|
2035
|
+
return oe.get(t);
|
|
2036
|
+
const e = wr(t);
|
|
2037
|
+
return e !== t && (oe.set(t, e), Gt.set(e, t)), e;
|
|
2038
|
+
}
|
|
2039
|
+
const ke = (t) => Gt.get(t);
|
|
2040
|
+
function gr(t, e, { blocked: i, upgrade: o, blocking: a, terminated: r } = {}) {
|
|
2034
2041
|
const n = indexedDB.open(t, e), s = lt(n);
|
|
2035
2042
|
return o && n.addEventListener("upgradeneeded", (c) => {
|
|
2036
2043
|
o(lt(n.result), c.oldVersion, c.newVersion, lt(n.transaction), c);
|
|
@@ -2044,16 +2051,16 @@ function wr(t, e, { blocked: i, upgrade: o, blocking: a, terminated: r } = {}) {
|
|
|
2044
2051
|
}).catch(() => {
|
|
2045
2052
|
}), s;
|
|
2046
2053
|
}
|
|
2047
|
-
const
|
|
2048
|
-
function
|
|
2054
|
+
const br = ["get", "getKey", "getAll", "getAllKeys", "count"], vr = ["put", "add", "delete", "clear"], ae = /* @__PURE__ */ new Map();
|
|
2055
|
+
function vi(t, e) {
|
|
2049
2056
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2050
2057
|
return;
|
|
2051
|
-
if (
|
|
2052
|
-
return
|
|
2053
|
-
const i = e.replace(/FromIndex$/, ""), o = e !== i, a =
|
|
2058
|
+
if (ae.get(e))
|
|
2059
|
+
return ae.get(e);
|
|
2060
|
+
const i = e.replace(/FromIndex$/, ""), o = e !== i, a = vr.includes(i);
|
|
2054
2061
|
if (
|
|
2055
2062
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2056
|
-
!(i in (o ? IDBIndex : IDBObjectStore).prototype) || !(a ||
|
|
2063
|
+
!(i in (o ? IDBIndex : IDBObjectStore).prototype) || !(a || br.includes(i))
|
|
2057
2064
|
)
|
|
2058
2065
|
return;
|
|
2059
2066
|
const r = async function(n, ...s) {
|
|
@@ -2064,45 +2071,45 @@ function bi(t, e) {
|
|
|
2064
2071
|
a && c.done
|
|
2065
2072
|
]))[0];
|
|
2066
2073
|
};
|
|
2067
|
-
return
|
|
2074
|
+
return ae.set(e, r), r;
|
|
2068
2075
|
}
|
|
2069
2076
|
xo((t) => ({
|
|
2070
2077
|
...t,
|
|
2071
|
-
get: (e, i, o) =>
|
|
2072
|
-
has: (e, i) => !!
|
|
2078
|
+
get: (e, i, o) => vi(e, i) || t.get(e, i, o),
|
|
2079
|
+
has: (e, i) => !!vi(e, i) || t.has(e, i)
|
|
2073
2080
|
}));
|
|
2074
|
-
const
|
|
2081
|
+
const _r = ["continue", "continuePrimaryKey", "advance"], _i = {}, $e = /* @__PURE__ */ new WeakMap(), ko = /* @__PURE__ */ new WeakMap(), mr = {
|
|
2075
2082
|
get(t, e) {
|
|
2076
|
-
if (!
|
|
2083
|
+
if (!_r.includes(e))
|
|
2077
2084
|
return t[e];
|
|
2078
|
-
let i =
|
|
2079
|
-
return i || (i =
|
|
2080
|
-
|
|
2085
|
+
let i = _i[e];
|
|
2086
|
+
return i || (i = _i[e] = function(...o) {
|
|
2087
|
+
$e.set(this, ko.get(this)[e](...o));
|
|
2081
2088
|
}), i;
|
|
2082
2089
|
}
|
|
2083
2090
|
};
|
|
2084
|
-
async function*
|
|
2091
|
+
async function* yr(...t) {
|
|
2085
2092
|
let e = this;
|
|
2086
2093
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2087
2094
|
return;
|
|
2088
2095
|
e = e;
|
|
2089
|
-
const i = new Proxy(e,
|
|
2090
|
-
for (ko.set(i, e),
|
|
2091
|
-
yield i, e = await (
|
|
2096
|
+
const i = new Proxy(e, mr);
|
|
2097
|
+
for (ko.set(i, e), Gt.set(i, ke(e)); e; )
|
|
2098
|
+
yield i, e = await ($e.get(i) || e.continue()), $e.delete(i);
|
|
2092
2099
|
}
|
|
2093
|
-
function
|
|
2094
|
-
return e === Symbol.asyncIterator &&
|
|
2100
|
+
function mi(t, e) {
|
|
2101
|
+
return e === Symbol.asyncIterator && me(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && me(t, [IDBIndex, IDBObjectStore]);
|
|
2095
2102
|
}
|
|
2096
2103
|
xo((t) => ({
|
|
2097
2104
|
...t,
|
|
2098
2105
|
get(e, i, o) {
|
|
2099
|
-
return
|
|
2106
|
+
return mi(e, i) ? yr : t.get(e, i, o);
|
|
2100
2107
|
},
|
|
2101
2108
|
has(e, i) {
|
|
2102
|
-
return
|
|
2109
|
+
return mi(e, i) || t.has(e, i);
|
|
2103
2110
|
}
|
|
2104
2111
|
}));
|
|
2105
|
-
const Nt = typeof indexedDB > "u" ? void 0 :
|
|
2112
|
+
const Nt = typeof indexedDB > "u" ? void 0 : gr("inploi-chatbot", 3, {
|
|
2106
2113
|
upgrade(t) {
|
|
2107
2114
|
try {
|
|
2108
2115
|
t.deleteObjectStore("state");
|
|
@@ -2111,17 +2118,17 @@ const Nt = typeof indexedDB > "u" ? void 0 : wr("inploi-chatbot", 3, {
|
|
|
2111
2118
|
t.createObjectStore("state");
|
|
2112
2119
|
}
|
|
2113
2120
|
});
|
|
2114
|
-
let
|
|
2115
|
-
const
|
|
2116
|
-
if (!
|
|
2121
|
+
let At, re, _t;
|
|
2122
|
+
const yi = () => {
|
|
2123
|
+
if (!At)
|
|
2117
2124
|
return _t;
|
|
2118
|
-
const t =
|
|
2119
|
-
|
|
2125
|
+
const t = At;
|
|
2126
|
+
At = void 0;
|
|
2120
2127
|
const e = $o(t), i = Nt == null ? void 0 : Nt.then((o) => o.put("state", t.data, e)).finally(() => {
|
|
2121
2128
|
_t === i && (_t = void 0);
|
|
2122
2129
|
});
|
|
2123
2130
|
return _t = i, _t;
|
|
2124
|
-
},
|
|
2131
|
+
}, K = {
|
|
2125
2132
|
getStateData: async (t, e, i) => {
|
|
2126
2133
|
var a;
|
|
2127
2134
|
const o = $o({
|
|
@@ -2132,21 +2139,21 @@ const mi = () => {
|
|
|
2132
2139
|
return (a = await Nt) == null ? void 0 : a.get("state", o);
|
|
2133
2140
|
},
|
|
2134
2141
|
setStateData: (t) => {
|
|
2135
|
-
|
|
2142
|
+
At = t, clearTimeout(re), re = setTimeout(() => void yi(), 1e3);
|
|
2136
2143
|
},
|
|
2137
|
-
flushStateData: () => (clearTimeout(
|
|
2138
|
-
},
|
|
2144
|
+
flushStateData: () => (clearTimeout(re), yi() ?? Promise.resolve())
|
|
2145
|
+
}, gn = (t) => {
|
|
2139
2146
|
const e = t.find((i) => i.isHead);
|
|
2140
2147
|
if (!e)
|
|
2141
2148
|
throw new Error("No head node found");
|
|
2142
2149
|
return e;
|
|
2143
|
-
},
|
|
2150
|
+
}, bn = (t) => (e) => e ? e.type === t : !1;
|
|
2144
2151
|
class ut extends Error {
|
|
2145
2152
|
constructor() {
|
|
2146
2153
|
super("Aborted");
|
|
2147
2154
|
}
|
|
2148
2155
|
}
|
|
2149
|
-
const
|
|
2156
|
+
const xr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), xi = () => ({
|
|
2150
2157
|
messages: [],
|
|
2151
2158
|
submissions: {},
|
|
2152
2159
|
currentInput: null,
|
|
@@ -2155,17 +2162,17 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2155
2162
|
isFinished: !1,
|
|
2156
2163
|
hasInteracted: !1,
|
|
2157
2164
|
sequence: 0,
|
|
2158
|
-
flowSessionId:
|
|
2159
|
-
}),
|
|
2165
|
+
flowSessionId: xr()
|
|
2166
|
+
}), vn = (t) => (
|
|
2160
2167
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2161
|
-
|
|
2168
|
+
Le(t).with({
|
|
2162
2169
|
nativeEvent: {
|
|
2163
2170
|
submitter: Tt.select(Tt.union(Tt.instanceOf(HTMLButtonElement), Tt.instanceOf(HTMLInputElement)))
|
|
2164
2171
|
}
|
|
2165
2172
|
}, (e) => e).otherwise(() => {
|
|
2166
2173
|
throw new Error("invalid submitter");
|
|
2167
2174
|
})
|
|
2168
|
-
),
|
|
2175
|
+
), Dt = (t, e, i, o = 0) => {
|
|
2169
2176
|
if (!e.nextId)
|
|
2170
2177
|
return i(e.id, {
|
|
2171
2178
|
stepsMade: o,
|
|
@@ -2182,7 +2189,7 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2182
2189
|
};
|
|
2183
2190
|
const r = e.type === "if-block" ? e.branchId : void 0, n = t.find((d) => d.id === r), s = e.type.includes("question") ? 1 : 0;
|
|
2184
2191
|
if (n) {
|
|
2185
|
-
const d = s + Math.max(
|
|
2192
|
+
const d = s + Math.max(Dt(t, a, i, o + s).remainingSteps, Dt(t, n, i, o + s).remainingSteps);
|
|
2186
2193
|
return i(e.id, {
|
|
2187
2194
|
stepsMade: o,
|
|
2188
2195
|
remainingSteps: d
|
|
@@ -2191,7 +2198,7 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2191
2198
|
remainingSteps: d
|
|
2192
2199
|
};
|
|
2193
2200
|
}
|
|
2194
|
-
const c = s +
|
|
2201
|
+
const c = s + Dt(t, a, i, o + s).remainingSteps;
|
|
2195
2202
|
return i(e.id, {
|
|
2196
2203
|
stepsMade: o,
|
|
2197
2204
|
remainingSteps: c
|
|
@@ -2199,32 +2206,32 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2199
2206
|
stepsMade: o,
|
|
2200
2207
|
remainingSteps: c
|
|
2201
2208
|
};
|
|
2202
|
-
},
|
|
2209
|
+
}, kr = (t) => {
|
|
2203
2210
|
const e = {}, i = t.find((o) => o.isHead);
|
|
2204
|
-
return i &&
|
|
2211
|
+
return i && Dt(t, i, (o, a) => {
|
|
2205
2212
|
e[o] = a;
|
|
2206
2213
|
}), e;
|
|
2207
|
-
}, $o = (t) => [...t.flowKeys, t.id, t.version, t.build,
|
|
2214
|
+
}, $o = (t) => [...t.flowKeys, t.id, t.version, t.build, ar(t.context)].join("/"), _n = (t) => {
|
|
2208
2215
|
var e, i;
|
|
2209
2216
|
if (!(t.data.isFinished || (e = t.data.startedWriteNodeIds) != null && e.length))
|
|
2210
2217
|
return (i = [...t.data.messages].reverse().find((o) => o.groupId && t.nodes.some((a) => a.id === o.groupId && a.type.startsWith("question-")) && (o.type === "system" || "author" in o && o.author === "user"))) == null ? void 0 : i.groupId;
|
|
2211
|
-
},
|
|
2218
|
+
}, q = J({
|
|
2212
2219
|
state: "idle"
|
|
2213
2220
|
}), rt = (t) => {
|
|
2214
2221
|
const {
|
|
2215
2222
|
state: e,
|
|
2216
2223
|
flow: i
|
|
2217
|
-
} =
|
|
2224
|
+
} = q.value;
|
|
2218
2225
|
if (e !== "loaded")
|
|
2219
2226
|
return;
|
|
2220
2227
|
wo(i, "No flow to update");
|
|
2221
2228
|
const o = t(i.data);
|
|
2222
|
-
i.data = o,
|
|
2229
|
+
i.data = o, q.value = {
|
|
2223
2230
|
state: e,
|
|
2224
2231
|
flow: i
|
|
2225
|
-
},
|
|
2232
|
+
}, K.setStateData(i);
|
|
2226
2233
|
}, $ = {
|
|
2227
|
-
current$:
|
|
2234
|
+
current$: q,
|
|
2228
2235
|
viewState$: J("closed"),
|
|
2229
2236
|
prepareFlow: async ({
|
|
2230
2237
|
flow: t,
|
|
@@ -2234,11 +2241,11 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2234
2241
|
analytics: a,
|
|
2235
2242
|
job: r,
|
|
2236
2243
|
locationOrigin: n
|
|
2237
|
-
}) => (await
|
|
2244
|
+
}) => (await K.flushStateData().catch(() => {
|
|
2238
2245
|
}), {
|
|
2239
|
-
data: await
|
|
2246
|
+
data: await K.getStateData(t, i, e) ?? xi(),
|
|
2240
2247
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2241
|
-
nodeIdToProgress:
|
|
2248
|
+
nodeIdToProgress: kr(t.nodes),
|
|
2242
2249
|
flowKeys: i,
|
|
2243
2250
|
id: t.id,
|
|
2244
2251
|
version: t.version,
|
|
@@ -2251,13 +2258,13 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2251
2258
|
locationOrigin: n
|
|
2252
2259
|
}),
|
|
2253
2260
|
commitFlow: (t) => {
|
|
2254
|
-
|
|
2261
|
+
q.value = {
|
|
2255
2262
|
state: "loaded",
|
|
2256
2263
|
flow: t
|
|
2257
|
-
},
|
|
2264
|
+
}, K.setStateData(t);
|
|
2258
2265
|
},
|
|
2259
2266
|
cancelCurrentFlow: () => {
|
|
2260
|
-
|
|
2267
|
+
q.value = {
|
|
2261
2268
|
state: "idle"
|
|
2262
2269
|
}, $.viewState$.value = "closed";
|
|
2263
2270
|
},
|
|
@@ -2271,24 +2278,27 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2271
2278
|
})),
|
|
2272
2279
|
setCurrentNodeId: (t) => rt((e) => (e.nodeHistory.push(t), e)),
|
|
2273
2280
|
setApplicationRecovery: async (t) => {
|
|
2274
|
-
rt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await
|
|
2281
|
+
rt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await K.flushStateData();
|
|
2275
2282
|
},
|
|
2276
2283
|
restart: () => {
|
|
2277
2284
|
const {
|
|
2278
2285
|
state: t,
|
|
2279
2286
|
flow: e
|
|
2280
|
-
} =
|
|
2287
|
+
} = q.value;
|
|
2281
2288
|
if (t !== "loaded")
|
|
2282
2289
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2283
|
-
const i =
|
|
2290
|
+
const i = {
|
|
2291
|
+
...xi(),
|
|
2292
|
+
unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys
|
|
2293
|
+
}, o = {
|
|
2284
2294
|
...e,
|
|
2285
2295
|
data: i,
|
|
2286
2296
|
startedAt: /* @__PURE__ */ new Date()
|
|
2287
2297
|
};
|
|
2288
|
-
|
|
2298
|
+
q.value = {
|
|
2289
2299
|
state: t,
|
|
2290
2300
|
flow: o
|
|
2291
|
-
},
|
|
2301
|
+
}, K.setStateData(o);
|
|
2292
2302
|
},
|
|
2293
2303
|
addMessage: (t, e) => {
|
|
2294
2304
|
const i = {
|
|
@@ -2302,10 +2312,10 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2302
2312
|
const {
|
|
2303
2313
|
state: e,
|
|
2304
2314
|
flow: i
|
|
2305
|
-
} =
|
|
2315
|
+
} = q.value;
|
|
2306
2316
|
wo(e === "loaded", "Application not loaded");
|
|
2307
2317
|
const o = i.data.messages.filter((a) => !a.groupId || !t.includes(a.groupId));
|
|
2308
|
-
i.data.messages = o,
|
|
2318
|
+
i.data.messages = o, K.setStateData(i);
|
|
2309
2319
|
},
|
|
2310
2320
|
setSubmission: (t, e) => rt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2311
2321
|
setInput: (t) => rt((e) => ({
|
|
@@ -2313,17 +2323,17 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2313
2323
|
currentInput: t ?? null
|
|
2314
2324
|
})),
|
|
2315
2325
|
persistWriteBarrier: async (t) => {
|
|
2316
|
-
|
|
2326
|
+
q.peek().flow === t && (q.value = {
|
|
2317
2327
|
state: "loaded",
|
|
2318
2328
|
flow: t
|
|
2319
|
-
}),
|
|
2329
|
+
}), K.setStateData(t), await K.flushStateData();
|
|
2320
2330
|
}
|
|
2321
|
-
},
|
|
2331
|
+
}, $r = ({
|
|
2322
2332
|
message: t
|
|
2323
2333
|
}) => {
|
|
2324
2334
|
const {
|
|
2325
2335
|
t: e
|
|
2326
|
-
} =
|
|
2336
|
+
} = He();
|
|
2327
2337
|
return p("div", {
|
|
2328
2338
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2329
2339
|
children: [p("svg", {
|
|
@@ -2373,7 +2383,7 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2373
2383
|
})]
|
|
2374
2384
|
})]
|
|
2375
2385
|
});
|
|
2376
|
-
},
|
|
2386
|
+
}, Sr = (t) => p("svg", {
|
|
2377
2387
|
role: "img",
|
|
2378
2388
|
viewBox: "0 0 24 24",
|
|
2379
2389
|
...t,
|
|
@@ -2432,15 +2442,15 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2432
2442
|
})
|
|
2433
2443
|
})
|
|
2434
2444
|
})]
|
|
2435
|
-
}),
|
|
2445
|
+
}), ki = () => p("div", {
|
|
2436
2446
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2437
|
-
children: p(
|
|
2447
|
+
children: p(Sr, {
|
|
2438
2448
|
class: "text-neutral-6 h-8 w-8"
|
|
2439
2449
|
})
|
|
2440
|
-
}),
|
|
2450
|
+
}), Cr = (t) => {
|
|
2441
2451
|
const i = t / 100, o = 1.3;
|
|
2442
2452
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, o)) * 100)}%`;
|
|
2443
|
-
},
|
|
2453
|
+
}, Er = De("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2444
2454
|
variants: {
|
|
2445
2455
|
variant: {
|
|
2446
2456
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2450,13 +2460,13 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2450
2460
|
defaultVariants: {
|
|
2451
2461
|
variant: "neutral"
|
|
2452
2462
|
}
|
|
2453
|
-
}),
|
|
2463
|
+
}), Se = ({
|
|
2454
2464
|
class: t,
|
|
2455
2465
|
children: e,
|
|
2456
2466
|
variant: i,
|
|
2457
2467
|
...o
|
|
2458
2468
|
}) => p("button", {
|
|
2459
|
-
class:
|
|
2469
|
+
class: Ae(Er({
|
|
2460
2470
|
variant: i
|
|
2461
2471
|
}), t),
|
|
2462
2472
|
...o,
|
|
@@ -2472,9 +2482,9 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2472
2482
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2473
2483
|
children: e
|
|
2474
2484
|
})
|
|
2475
|
-
}),
|
|
2485
|
+
}), Pr = () => p("path", {
|
|
2476
2486
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2477
|
-
}),
|
|
2487
|
+
}), Tr = () => {
|
|
2478
2488
|
if ($.current$.value.state !== "loaded")
|
|
2479
2489
|
return null;
|
|
2480
2490
|
const t = $.current$.value.flow.nodeIdToProgress, e = $.current$.value.flow.data.nodeHistory.at(-1);
|
|
@@ -2488,19 +2498,19 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2488
2498
|
class: "bg-accent-3",
|
|
2489
2499
|
children: p("div", {
|
|
2490
2500
|
style: {
|
|
2491
|
-
width:
|
|
2501
|
+
width: Cr(o)
|
|
2492
2502
|
},
|
|
2493
2503
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2494
2504
|
})
|
|
2495
2505
|
});
|
|
2496
|
-
},
|
|
2506
|
+
}, Ir = ({
|
|
2497
2507
|
children: t,
|
|
2498
2508
|
params: e
|
|
2499
2509
|
}) => {
|
|
2500
2510
|
const {
|
|
2501
2511
|
t: i
|
|
2502
|
-
} =
|
|
2503
|
-
return p(
|
|
2512
|
+
} = He(), o = $.viewState$;
|
|
2513
|
+
return p(R, {
|
|
2504
2514
|
children: p("header", {
|
|
2505
2515
|
class: "ring-divider bg-statusbar absolute left-0 right-0 top-0 z-20 mx-auto items-center ring-1 backdrop-blur-md backdrop-saturate-150",
|
|
2506
2516
|
children: [p("div", {
|
|
@@ -2514,7 +2524,7 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2514
2524
|
o.value = "minimised";
|
|
2515
2525
|
},
|
|
2516
2526
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2517
|
-
onTouchStart:
|
|
2527
|
+
onTouchStart: Ce,
|
|
2518
2528
|
children: p("p", {
|
|
2519
2529
|
"aria-hidden": !0,
|
|
2520
2530
|
class: "text-neutral-12 truncate text-sm font-bold tracking-tight",
|
|
@@ -2525,13 +2535,13 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2525
2535
|
children: [e.feedback ? p("div", {
|
|
2526
2536
|
"data-widget": "inploi-feedback",
|
|
2527
2537
|
"data-key": "chatbot-header",
|
|
2528
|
-
class:
|
|
2538
|
+
class: Ae({
|
|
2529
2539
|
hidden: $.current$.value.state !== "loaded" || o.value !== "maximised"
|
|
2530
2540
|
}),
|
|
2531
2541
|
children: p("div", {
|
|
2532
2542
|
class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
|
|
2533
2543
|
})
|
|
2534
|
-
}) : null, $.current$.value.state === "loaded" && p(
|
|
2544
|
+
}) : null, $.current$.value.state === "loaded" && p(Se, {
|
|
2535
2545
|
class: "mx-1",
|
|
2536
2546
|
"aria-label": "Restart",
|
|
2537
2547
|
onClick: () => {
|
|
@@ -2542,21 +2552,21 @@ const yr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2542
2552
|
}), p("path", {
|
|
2543
2553
|
d: "M8 7L10 4.5L8 2.5"
|
|
2544
2554
|
})]
|
|
2545
|
-
}, "restart"), p(
|
|
2555
|
+
}, "restart"), p(Se, {
|
|
2546
2556
|
class: "view-switch mx-1",
|
|
2547
|
-
onTouchStart:
|
|
2557
|
+
onTouchStart: Ce,
|
|
2548
2558
|
"aria-label": i("minimize"),
|
|
2549
2559
|
onClick: () => o.value = "minimised",
|
|
2550
|
-
children: p(
|
|
2560
|
+
children: p(Pr, {})
|
|
2551
2561
|
}, "minmax")]
|
|
2552
2562
|
})]
|
|
2553
|
-
}), p(
|
|
2563
|
+
}), p(Tr, {})]
|
|
2554
2564
|
})
|
|
2555
2565
|
});
|
|
2556
2566
|
};
|
|
2557
|
-
function
|
|
2567
|
+
function Ce() {
|
|
2558
2568
|
}
|
|
2559
|
-
const
|
|
2569
|
+
const zr = ro(() => import("./chatbot-body-2d2c07ed.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", {
|
|
2560
2570
|
variants: {
|
|
2561
2571
|
view: {
|
|
2562
2572
|
closed: "hidden",
|
|
@@ -2572,11 +2582,11 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2572
2582
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2573
2583
|
}
|
|
2574
2584
|
}
|
|
2575
|
-
}),
|
|
2585
|
+
}), Or = ({
|
|
2576
2586
|
open: t,
|
|
2577
2587
|
...e
|
|
2578
2588
|
}) => {
|
|
2579
|
-
const i =
|
|
2589
|
+
const i = Xt(null);
|
|
2580
2590
|
return gt(() => {
|
|
2581
2591
|
const o = i.current;
|
|
2582
2592
|
o && (t ? o.showModal() : o.close());
|
|
@@ -2584,7 +2594,7 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2584
2594
|
ref: i,
|
|
2585
2595
|
...e
|
|
2586
2596
|
});
|
|
2587
|
-
},
|
|
2597
|
+
}, jr = ({
|
|
2588
2598
|
logger: t,
|
|
2589
2599
|
apiClient: e,
|
|
2590
2600
|
analytics: i,
|
|
@@ -2595,11 +2605,11 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2595
2605
|
state: r,
|
|
2596
2606
|
flow: n,
|
|
2597
2607
|
error: s
|
|
2598
|
-
} = $.current$.value, c = $.viewState$.value, d = r !== "idle" && c === "maximised", u =
|
|
2599
|
-
return p(
|
|
2608
|
+
} = $.current$.value, c = $.viewState$.value, d = r !== "idle" && c === "maximised", u = Xt(null), l = n ? [...n.data.nodeHistory].reverse().map((h) => n.nodes.find((g) => g.id === h)).find((h) => (h == null ? void 0 : h.type) === "flow-section") : void 0;
|
|
2609
|
+
return p(ir, {
|
|
2600
2610
|
terms: a.terms,
|
|
2601
2611
|
locale: void 0,
|
|
2602
|
-
children: [p(
|
|
2612
|
+
children: [p(Or, {
|
|
2603
2613
|
open: d,
|
|
2604
2614
|
onClose: () => $.viewState$.value = "minimised",
|
|
2605
2615
|
children: p("div", {
|
|
@@ -2614,9 +2624,9 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2614
2624
|
class: Co({
|
|
2615
2625
|
view: "maximised"
|
|
2616
2626
|
}),
|
|
2617
|
-
children: [p(
|
|
2627
|
+
children: [p(Ir, {
|
|
2618
2628
|
params: a,
|
|
2619
|
-
children: l ? p(
|
|
2629
|
+
children: l ? p(R, {
|
|
2620
2630
|
children: [p("span", {
|
|
2621
2631
|
class: "block",
|
|
2622
2632
|
children: l.data.title
|
|
@@ -2625,18 +2635,18 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2625
2635
|
children: n == null ? void 0 : n.title
|
|
2626
2636
|
})]
|
|
2627
2637
|
}) : n == null ? void 0 : n.title
|
|
2628
|
-
}),
|
|
2638
|
+
}), Le({
|
|
2629
2639
|
state: r,
|
|
2630
2640
|
view: c
|
|
2631
2641
|
}).with({
|
|
2632
2642
|
state: "idle"
|
|
2633
2643
|
}, () => null).with({
|
|
2634
2644
|
state: "loading"
|
|
2635
|
-
}, () => p(
|
|
2645
|
+
}, () => p(ki, {}, "loading")).with({
|
|
2636
2646
|
state: "loaded"
|
|
2637
2647
|
}, () => p(xt, {
|
|
2638
|
-
fallback: p(
|
|
2639
|
-
children: p(
|
|
2648
|
+
fallback: p(ki, {}, "loading"),
|
|
2649
|
+
children: p(zr, {
|
|
2640
2650
|
analytics: i,
|
|
2641
2651
|
apiClient: e,
|
|
2642
2652
|
logger: t,
|
|
@@ -2644,21 +2654,21 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2644
2654
|
})
|
|
2645
2655
|
})).with({
|
|
2646
2656
|
state: "error"
|
|
2647
|
-
}, () => p(
|
|
2657
|
+
}, () => p($r, {
|
|
2648
2658
|
message: s
|
|
2649
2659
|
})).exhaustive()]
|
|
2650
2660
|
})
|
|
2651
2661
|
})
|
|
2652
|
-
}), c === "minimised" ? p(
|
|
2662
|
+
}), c === "minimised" ? p(Nr, {
|
|
2653
2663
|
flow: n
|
|
2654
2664
|
}) : null]
|
|
2655
2665
|
});
|
|
2656
|
-
},
|
|
2666
|
+
}, Nr = ({
|
|
2657
2667
|
flow: t
|
|
2658
2668
|
}) => {
|
|
2659
2669
|
const {
|
|
2660
2670
|
t: e
|
|
2661
|
-
} =
|
|
2671
|
+
} = He();
|
|
2662
2672
|
return p("div", {
|
|
2663
2673
|
class: So({
|
|
2664
2674
|
view: "minimised",
|
|
@@ -2673,7 +2683,7 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2673
2683
|
$.viewState$.value = "maximised";
|
|
2674
2684
|
},
|
|
2675
2685
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2676
|
-
onTouchStart:
|
|
2686
|
+
onTouchStart: Ce,
|
|
2677
2687
|
children: p("p", {
|
|
2678
2688
|
"aria-hidden": !0,
|
|
2679
2689
|
class: "truncate text-sm font-bold tracking-tight text-white",
|
|
@@ -2681,7 +2691,7 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2681
2691
|
})
|
|
2682
2692
|
}), p("div", {
|
|
2683
2693
|
class: "flex items-center px-0.5",
|
|
2684
|
-
children: p(
|
|
2694
|
+
children: p(Se, {
|
|
2685
2695
|
class: "mx-1",
|
|
2686
2696
|
"aria-label": e("close_application"),
|
|
2687
2697
|
onClick: $.cancelCurrentFlow,
|
|
@@ -2693,18 +2703,18 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2693
2703
|
})]
|
|
2694
2704
|
})
|
|
2695
2705
|
});
|
|
2696
|
-
}, Nr = `[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-1\\/2{left:50%}[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-1{margin-left:4px;margin-right:4px}[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-0\\.5{margin-top:2px}[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\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[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-0{min-height:0px}[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] .shrink-0{flex-shrink:0}[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] .-translate-x-1\\/2{--tw-translate-x: -50%;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] .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] .scroll-pb-12{scroll-padding-bottom:48px}[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-start{align-items:flex-start}[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] .overscroll-contain{overscroll-behavior:contain}[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-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{padding-top:8px}[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-normal{font-weight:400}[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-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] .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-\\[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)}
|
|
2697
|
-
`, Eo = "inploi-chatbot",
|
|
2698
|
-
getChatbotElement: () => document.querySelector(
|
|
2706
|
+
}, Ar = `[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-1\\/2{left:50%}[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-1{margin-left:4px;margin-right:4px}[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-0\\.5{margin-top:2px}[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\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[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-0{min-height:0px}[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] .shrink-0{flex-shrink:0}[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] .-translate-x-1\\/2{--tw-translate-x: -50%;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] .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] .scroll-pb-12{scroll-padding-bottom:48px}[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-start{align-items:flex-start}[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] .overscroll-contain{overscroll-behavior:contain}[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-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{padding-top:8px}[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-normal{font-weight:400}[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-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] .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-\\[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)}
|
|
2707
|
+
`, Eo = "inploi-chatbot", Ee = `[data-widget='${Eo}']`, Dr = () => ({
|
|
2708
|
+
getChatbotElement: () => document.querySelector(Ee),
|
|
2699
2709
|
getOrCreateChatbotElement: () => {
|
|
2700
|
-
const t = document.querySelector(
|
|
2710
|
+
const t = document.querySelector(Ee);
|
|
2701
2711
|
if (t)
|
|
2702
2712
|
return document.body.appendChild(t), t;
|
|
2703
2713
|
const e = document.createElement("div");
|
|
2704
2714
|
return document.body.appendChild(e), e.dataset.widget = Eo, e;
|
|
2705
2715
|
}
|
|
2706
|
-
}),
|
|
2707
|
-
}),
|
|
2716
|
+
}), Br = 25, Po = J(() => {
|
|
2717
|
+
}), Fr = (t, e) => new Promise((i, o) => {
|
|
2708
2718
|
if (e != null && e.aborted)
|
|
2709
2719
|
return o(new ut());
|
|
2710
2720
|
const a = setTimeout(i, t);
|
|
@@ -2721,8 +2731,8 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2721
2731
|
isBotTyping$: J(!1),
|
|
2722
2732
|
isReadingHistory$: J(!1),
|
|
2723
2733
|
scrollToEnd: () => Po.value()
|
|
2724
|
-
},
|
|
2725
|
-
const t =
|
|
2734
|
+
}, mn = () => {
|
|
2735
|
+
const t = Xt(null);
|
|
2726
2736
|
gt(() => {
|
|
2727
2737
|
const i = t.current;
|
|
2728
2738
|
if (!i)
|
|
@@ -2754,16 +2764,16 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2754
2764
|
signal: a,
|
|
2755
2765
|
groupId: r
|
|
2756
2766
|
}) => {
|
|
2757
|
-
if (await
|
|
2767
|
+
if (await Le(o).with({
|
|
2758
2768
|
author: "bot",
|
|
2759
2769
|
type: "text"
|
|
2760
2770
|
}, async (n) => {
|
|
2761
2771
|
if (a != null && a.aborted)
|
|
2762
2772
|
throw new ut();
|
|
2763
2773
|
nt.isBotTyping$.value = !0;
|
|
2764
|
-
const s = Math.min(Math.max(20, n.text.length), 100) *
|
|
2774
|
+
const s = Math.min(Math.max(20, n.text.length), 100) * Br;
|
|
2765
2775
|
try {
|
|
2766
|
-
await
|
|
2776
|
+
await Fr(s, a);
|
|
2767
2777
|
} finally {
|
|
2768
2778
|
nt.isBotTyping$.value = !1;
|
|
2769
2779
|
}
|
|
@@ -2793,7 +2803,7 @@ const Ir = ro(() => import("./chatbot-body-77c91e40.js").then((t) => t.ChatbotBo
|
|
|
2793
2803
|
chatService: e
|
|
2794
2804
|
};
|
|
2795
2805
|
};
|
|
2796
|
-
var To = Lo(
|
|
2806
|
+
var To = Lo(ze([L(), Mt()]), Pi(String)), Io = D({ id: To, version: Mt(), build: Mt(), nodes: Ii(Ti()), context_schema: M(Ft(zi(L(), D({ required: Ie(), type: ze([Bt("string"), Bt("number")]) })))) }), Mr = D({ flow: Io }), Lr = D({ company: D({ name: L() }), flow: Io, job: D({ id: To, title: L() }), user: M(D({ city: M(L()), country: M(L()), isEU: M(Ie()), continent: M(L()) })) }), Hr = Si({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: zo(), response: Lr } }), Rr = Si({ pathname: "/flow/id/:id", method: "GET", schema: { response: Mr } }), Ur = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Wr = {
|
|
2797
2807
|
light: {
|
|
2798
2808
|
1: [98.8, 0.015],
|
|
2799
2809
|
2: [97.8, 0.018],
|
|
@@ -2823,14 +2833,14 @@ var To = Lo(Ie([M(), Mt()]), Ei(String)), Io = A({ id: To, version: Mt(), build:
|
|
|
2823
2833
|
12: [95, 0.04]
|
|
2824
2834
|
}
|
|
2825
2835
|
}, Vr = (t, e = 1, i) => (o) => {
|
|
2826
|
-
const [a, r] =
|
|
2836
|
+
const [a, r] = Wr[i][o];
|
|
2827
2837
|
return "oklch(" + a + "% " + r * e + " " + t + ")";
|
|
2828
|
-
},
|
|
2838
|
+
}, ne = (t) => {
|
|
2829
2839
|
const e = Vr(t.hue, t.chroma, t.mode);
|
|
2830
2840
|
return Object.fromEntries(
|
|
2831
|
-
|
|
2841
|
+
Ur.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2832
2842
|
);
|
|
2833
|
-
},
|
|
2843
|
+
}, se = (t) => t, Yr = (t) => {
|
|
2834
2844
|
const e = Object.keys(t).flatMap((i) => {
|
|
2835
2845
|
const o = t[i];
|
|
2836
2846
|
return typeof o == "object" && o !== null ? Object.keys(o).map((a) => {
|
|
@@ -2839,7 +2849,7 @@ var To = Lo(Ie([M(), Mt()]), Ei(String)), Io = A({ id: To, version: Mt(), build:
|
|
|
2839
2849
|
}) : [[i, o]];
|
|
2840
2850
|
});
|
|
2841
2851
|
return Object.fromEntries(e);
|
|
2842
|
-
}, It = (t) => !!t && typeof t == "object" && !Array.isArray(t),
|
|
2852
|
+
}, It = (t) => !!t && typeof t == "object" && !Array.isArray(t), Pe = (t, ...e) => {
|
|
2843
2853
|
if (!e.length)
|
|
2844
2854
|
return t;
|
|
2845
2855
|
const i = e.shift();
|
|
@@ -2849,69 +2859,69 @@ var To = Lo(Ie([M(), Mt()]), Ei(String)), Io = A({ id: To, version: Mt(), build:
|
|
|
2849
2859
|
if (It(a)) {
|
|
2850
2860
|
t[o] || Object.assign(t, { [o]: {} });
|
|
2851
2861
|
const r = t[o];
|
|
2852
|
-
It(r) &&
|
|
2862
|
+
It(r) && Pe(r, a);
|
|
2853
2863
|
} else
|
|
2854
2864
|
Object.assign(t, { [o]: i[o] });
|
|
2855
2865
|
}
|
|
2856
|
-
return
|
|
2857
|
-
},
|
|
2866
|
+
return Pe(t, ...e);
|
|
2867
|
+
}, Kr = (t) => {
|
|
2858
2868
|
function e(i, o) {
|
|
2859
2869
|
const a = [t.prefix, o.toString().replace(/\./g, "-")].join("");
|
|
2860
2870
|
return i === "declaration" ? `--${a}` : `var(--${a})`;
|
|
2861
2871
|
}
|
|
2862
2872
|
return e;
|
|
2863
|
-
},
|
|
2873
|
+
}, qr = () => ({
|
|
2864
2874
|
core: (t) => ({
|
|
2865
2875
|
semantic: (e) => ({
|
|
2866
2876
|
component: (i) => ({
|
|
2867
2877
|
from: (o) => {
|
|
2868
|
-
const { theme: a, getToken: r } = o, n = (
|
|
2878
|
+
const { theme: a, getToken: r } = o, n = (h) => r("reference", h.toString()), s = t({ theme: a }), c = e({ theme: a, core: n, raw: { core: s } }), d = i({
|
|
2869
2879
|
theme: a,
|
|
2870
2880
|
core: n,
|
|
2871
2881
|
semantic: n,
|
|
2872
2882
|
raw: { core: s, semantic: c }
|
|
2873
|
-
}), u =
|
|
2874
|
-
const b = [
|
|
2883
|
+
}), u = Yr(Pe(s, c, d)), l = ([h, g], w) => {
|
|
2884
|
+
const b = [w, h].filter(Boolean).join(".");
|
|
2875
2885
|
return typeof g == "object" ? Object.entries(g).flatMap((j) => l(j, b)) : [[o.getToken("declaration", b), g]];
|
|
2876
2886
|
};
|
|
2877
2887
|
return {
|
|
2878
2888
|
values: u,
|
|
2879
|
-
declarations: Object.fromEntries(Object.entries(u).flatMap((
|
|
2880
|
-
ref: (
|
|
2889
|
+
declarations: Object.fromEntries(Object.entries(u).flatMap((h) => l(h))),
|
|
2890
|
+
ref: (h) => r("reference", h.toString())
|
|
2881
2891
|
};
|
|
2882
2892
|
}
|
|
2883
2893
|
})
|
|
2884
2894
|
})
|
|
2885
2895
|
})
|
|
2886
2896
|
});
|
|
2887
|
-
const [
|
|
2897
|
+
const [le, ce, $i] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Xr = qr().core(({
|
|
2888
2898
|
theme: t
|
|
2889
2899
|
}) => ({
|
|
2890
2900
|
color: {
|
|
2891
|
-
black:
|
|
2892
|
-
white:
|
|
2893
|
-
lowest: t.mode === "light" ?
|
|
2894
|
-
highest: t.mode === "light" ?
|
|
2895
|
-
...
|
|
2901
|
+
black: le,
|
|
2902
|
+
white: ce,
|
|
2903
|
+
lowest: t.mode === "light" ? ce : le,
|
|
2904
|
+
highest: t.mode === "light" ? le : ce,
|
|
2905
|
+
...ne({
|
|
2896
2906
|
prefix: "a-",
|
|
2897
2907
|
hue: t.hue,
|
|
2898
2908
|
chroma: t.chroma,
|
|
2899
2909
|
mode: t.mode,
|
|
2900
|
-
transform:
|
|
2910
|
+
transform: se
|
|
2901
2911
|
}),
|
|
2902
|
-
...
|
|
2912
|
+
...ne({
|
|
2903
2913
|
prefix: "n-",
|
|
2904
2914
|
hue: t.hue,
|
|
2905
2915
|
chroma: 0.05,
|
|
2906
2916
|
mode: t.mode,
|
|
2907
|
-
transform:
|
|
2917
|
+
transform: se
|
|
2908
2918
|
}),
|
|
2909
|
-
...
|
|
2919
|
+
...ne({
|
|
2910
2920
|
prefix: "e-",
|
|
2911
2921
|
hue: 20,
|
|
2912
2922
|
chroma: t.chroma,
|
|
2913
2923
|
mode: t.mode,
|
|
2914
|
-
transform:
|
|
2924
|
+
transform: se
|
|
2915
2925
|
})
|
|
2916
2926
|
},
|
|
2917
2927
|
typography: {}
|
|
@@ -2943,7 +2953,7 @@ const [se, le, ki] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], qr = K
|
|
|
2943
2953
|
copy: t("color.n-11"),
|
|
2944
2954
|
"copy-hover": t("color.n-12"),
|
|
2945
2955
|
"copy-active": t("color.n-12"),
|
|
2946
|
-
bg:
|
|
2956
|
+
bg: $i,
|
|
2947
2957
|
"bg-hover": o("n-10", 0.2),
|
|
2948
2958
|
"bg-active": o("n-10", 0.3)
|
|
2949
2959
|
}
|
|
@@ -2969,7 +2979,7 @@ const [se, le, ki] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], qr = K
|
|
|
2969
2979
|
},
|
|
2970
2980
|
"status-bar": {
|
|
2971
2981
|
bg: a("n-2", 0.8),
|
|
2972
|
-
"bg-button":
|
|
2982
|
+
"bg-button": $i,
|
|
2973
2983
|
"bg-button-hover": a("n-10", 0.4),
|
|
2974
2984
|
"bg-button-active": a("n-10", 0.5)
|
|
2975
2985
|
},
|
|
@@ -2977,18 +2987,18 @@ const [se, le, ki] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], qr = K
|
|
|
2977
2987
|
"bg-active": o(e.mode === "dark" ? "color.a-8" : "color.a-11")
|
|
2978
2988
|
}
|
|
2979
2989
|
};
|
|
2980
|
-
}),
|
|
2990
|
+
}), Gr = Kr({
|
|
2981
2991
|
prefix: "i-"
|
|
2982
|
-
}),
|
|
2983
|
-
const e =
|
|
2992
|
+
}), Zr = (t) => {
|
|
2993
|
+
const e = Xr.from({
|
|
2984
2994
|
theme: t,
|
|
2985
|
-
getToken:
|
|
2995
|
+
getToken: Gr
|
|
2986
2996
|
}), i = Object.entries(e.declarations).map(([o, a]) => `${o}: ${a};`);
|
|
2987
|
-
return `${
|
|
2997
|
+
return `${Ee} {
|
|
2988
2998
|
${i.concat(i).join(`
|
|
2989
2999
|
`)}
|
|
2990
3000
|
}`;
|
|
2991
|
-
},
|
|
3001
|
+
}, yn = ({
|
|
2992
3002
|
_internal_domManager: t = Dr(),
|
|
2993
3003
|
theme: e,
|
|
2994
3004
|
terms: i,
|
|
@@ -3002,17 +3012,17 @@ ${i.concat(i).join(`
|
|
|
3002
3012
|
env: d
|
|
3003
3013
|
}) => {
|
|
3004
3014
|
let u = !1, l = 0;
|
|
3005
|
-
const
|
|
3015
|
+
const h = or({
|
|
3006
3016
|
locale: void 0,
|
|
3007
3017
|
overrides: i ?? {}
|
|
3008
3018
|
}), g = c && d ? jo({
|
|
3009
3019
|
environment: d,
|
|
3010
3020
|
publishableKey: c,
|
|
3011
3021
|
logger: n
|
|
3012
|
-
}) : void 0,
|
|
3022
|
+
}) : void 0, w = (v) => v === l, b = () => {
|
|
3013
3023
|
if (typeof window > "u")
|
|
3014
3024
|
return;
|
|
3015
|
-
l++,
|
|
3025
|
+
l++, K.flushStateData().catch(() => {
|
|
3016
3026
|
}), $.cancelCurrentFlow(), nt.isBotTyping$.value = !1;
|
|
3017
3027
|
const v = t.getChatbotElement();
|
|
3018
3028
|
v && (ct(null, v), v.remove()), u = !1, n.info("Chatbot plugin destroyed");
|
|
@@ -3021,10 +3031,10 @@ ${i.concat(i).join(`
|
|
|
3021
3031
|
return;
|
|
3022
3032
|
const v = l, _ = [B("style", {
|
|
3023
3033
|
id: "inploi-chatbot-styles"
|
|
3024
|
-
},
|
|
3034
|
+
}, Ar), B("style", {
|
|
3025
3035
|
id: "inploi-chatbot-theme"
|
|
3026
|
-
},
|
|
3027
|
-
if (ct(B(
|
|
3036
|
+
}, Zr(e))], y = t.getOrCreateChatbotElement();
|
|
3037
|
+
if (ct(B(R, {}, [_, B(jr, {
|
|
3028
3038
|
apiClient: a,
|
|
3029
3039
|
logger: n,
|
|
3030
3040
|
analytics: s,
|
|
@@ -3036,11 +3046,11 @@ ${i.concat(i).join(`
|
|
|
3036
3046
|
}
|
|
3037
3047
|
})]), y), o) {
|
|
3038
3048
|
const E = (T) => {
|
|
3039
|
-
var
|
|
3040
|
-
if (!
|
|
3049
|
+
var W, z;
|
|
3050
|
+
if (!w(v))
|
|
3041
3051
|
return;
|
|
3042
|
-
const
|
|
3043
|
-
|
|
3052
|
+
const U = (W = t.getChatbotElement()) == null ? void 0 : W.querySelector("dialog");
|
|
3053
|
+
U && Jr({
|
|
3044
3054
|
instance: T({
|
|
3045
3055
|
rpcClient: r,
|
|
3046
3056
|
apiClient: a,
|
|
@@ -3049,7 +3059,7 @@ ${i.concat(i).join(`
|
|
|
3049
3059
|
}),
|
|
3050
3060
|
theme: e,
|
|
3051
3061
|
terms: ((z = o.params) == null ? void 0 : z.terms) ?? {},
|
|
3052
|
-
host:
|
|
3062
|
+
host: U
|
|
3053
3063
|
});
|
|
3054
3064
|
};
|
|
3055
3065
|
o.plugin instanceof Promise ? o.plugin.then(({
|
|
@@ -3062,15 +3072,15 @@ ${i.concat(i).join(`
|
|
|
3062
3072
|
}
|
|
3063
3073
|
u = !0;
|
|
3064
3074
|
}, x = async (v, _) => {
|
|
3065
|
-
if (!
|
|
3075
|
+
if (!w(_))
|
|
3066
3076
|
return;
|
|
3067
|
-
|
|
3077
|
+
qo({
|
|
3068
3078
|
context: v.context || {},
|
|
3069
3079
|
schema: v.flow.context_schema,
|
|
3070
3080
|
logger: n
|
|
3071
3081
|
});
|
|
3072
3082
|
const y = await $.prepareFlow(v);
|
|
3073
|
-
|
|
3083
|
+
w(_) && $.commitFlow(y);
|
|
3074
3084
|
};
|
|
3075
3085
|
return {
|
|
3076
3086
|
/** Optionally eagerly renders the interface ahead of needing the chatbot. */
|
|
@@ -3087,7 +3097,7 @@ ${i.concat(i).join(`
|
|
|
3087
3097
|
/** Fetches a flow by job ID.
|
|
3088
3098
|
* @param jobId - The job ID to fetch the flow for. This is the job ID according to the **ATS**, and not the inploi job ID.
|
|
3089
3099
|
*/
|
|
3090
|
-
fetchFlowByJobId: async (v, _) => r.request(
|
|
3100
|
+
fetchFlowByJobId: async (v, _) => r.request(Hr, {
|
|
3091
3101
|
params: {
|
|
3092
3102
|
id: v
|
|
3093
3103
|
},
|
|
@@ -3108,7 +3118,7 @@ ${i.concat(i).join(`
|
|
|
3108
3118
|
..._ == null ? void 0 : _.context
|
|
3109
3119
|
}
|
|
3110
3120
|
})),
|
|
3111
|
-
fetchFlowById: async (v, _) => r.request(
|
|
3121
|
+
fetchFlowById: async (v, _) => r.request(Rr, {
|
|
3112
3122
|
params: {
|
|
3113
3123
|
id: v
|
|
3114
3124
|
}
|
|
@@ -3136,9 +3146,9 @@ ${i.concat(i).join(`
|
|
|
3136
3146
|
v instanceof Promise ? ($.current$.value = {
|
|
3137
3147
|
state: "loading"
|
|
3138
3148
|
}, v.then((y) => x(y, _)).catch((y) => {
|
|
3139
|
-
if (!
|
|
3149
|
+
if (!w(_))
|
|
3140
3150
|
return;
|
|
3141
|
-
const E = y instanceof Error ? y.message :
|
|
3151
|
+
const E = y instanceof Error ? y.message : h("unknown_error");
|
|
3142
3152
|
$.current$.value = {
|
|
3143
3153
|
state: "error",
|
|
3144
3154
|
error: E
|
|
@@ -3154,7 +3164,7 @@ ${i.concat(i).join(`
|
|
|
3154
3164
|
destroy: b
|
|
3155
3165
|
};
|
|
3156
3166
|
});
|
|
3157
|
-
function
|
|
3167
|
+
function Jr({
|
|
3158
3168
|
instance: t,
|
|
3159
3169
|
terms: e,
|
|
3160
3170
|
theme: i,
|
|
@@ -3185,44 +3195,44 @@ function Zr({
|
|
|
3185
3195
|
});
|
|
3186
3196
|
}
|
|
3187
3197
|
export {
|
|
3188
|
-
en as $,
|
|
3189
3198
|
ut as A,
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
tn as
|
|
3194
|
-
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3199
|
+
an as B,
|
|
3200
|
+
pn as C,
|
|
3201
|
+
Uo as E,
|
|
3202
|
+
tn as F,
|
|
3203
|
+
sn as G,
|
|
3204
|
+
ln as H,
|
|
3205
|
+
cn as J,
|
|
3206
|
+
rn as K,
|
|
3207
|
+
Sr as L,
|
|
3208
|
+
Le as M,
|
|
3209
|
+
Se as S,
|
|
3210
|
+
on as U,
|
|
3211
|
+
dn as W,
|
|
3212
|
+
un as X,
|
|
3213
|
+
Xt as _,
|
|
3214
|
+
_n as a,
|
|
3215
|
+
en as b,
|
|
3216
|
+
Ae as c,
|
|
3217
|
+
De as d,
|
|
3218
|
+
dt as e,
|
|
3219
|
+
da as f,
|
|
3220
|
+
gn as g,
|
|
3211
3221
|
Gi as h,
|
|
3212
3222
|
wo as i,
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3223
|
+
ji as j,
|
|
3224
|
+
R as k,
|
|
3225
|
+
vn as l,
|
|
3226
|
+
bn as m,
|
|
3227
|
+
nt as n,
|
|
3218
3228
|
p as o,
|
|
3219
3229
|
Ji as p,
|
|
3220
|
-
|
|
3221
|
-
|
|
3230
|
+
Tt as q,
|
|
3231
|
+
mn as r,
|
|
3222
3232
|
$ as s,
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3233
|
+
Pr as t,
|
|
3234
|
+
He as u,
|
|
3235
|
+
yn as v,
|
|
3226
3236
|
gt as y,
|
|
3227
|
-
|
|
3237
|
+
nn as z
|
|
3228
3238
|
};
|