@inploi/plugin-chatbot 14.10.0 → 14.10.2
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 +7 -7
- package/cdn/style.css +1 -1
- package/dist/chatbot-body-64d33887.cjs +5 -0
- package/dist/chatbot-body-a22432d8.js +4353 -0
- package/dist/chatbot.idb.d.ts +27 -0
- package/dist/index-f5c3c7c4.cjs +5 -0
- package/dist/{index-5de8da64.js → index-fd318f9f.js} +573 -546
- package/dist/md.test.d.ts +1 -0
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -4
- package/dist/chatbot-body-3e08ab1b.js +0 -4073
- package/dist/chatbot-body-d0635102.cjs +0 -5
- package/dist/index-d28fa66d.cjs +0 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { endpoint as
|
|
1
|
+
import { endpoint as Ti, typed as Na, createPlugin as ja, createTalentBankClient as Fa } from "@inploi/sdk";
|
|
2
2
|
var J;
|
|
3
|
-
function
|
|
3
|
+
function Pi(t) {
|
|
4
4
|
return { lang: (t == null ? void 0 : t.lang) ?? (J == null ? void 0 : J.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (J == null ? void 0 : J.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (J == null ? void 0 : J.abortPipeEarly) };
|
|
5
5
|
}
|
|
6
6
|
var Qt;
|
|
7
|
-
function
|
|
7
|
+
function Ma(t) {
|
|
8
8
|
return Qt == null ? void 0 : Qt.get(t);
|
|
9
9
|
}
|
|
10
10
|
var te;
|
|
@@ -22,12 +22,12 @@ function Ii(t) {
|
|
|
22
22
|
return e === "string" ? `"${t}"` : e === "number" || e === "bigint" || e === "boolean" ? `${t}` : e === "object" || e === "function" ? (t && ((a = (i = Object.getPrototypeOf(t)) == null ? void 0 : i.constructor) == null ? void 0 : a.name)) ?? "null" : e;
|
|
23
23
|
}
|
|
24
24
|
function V(t, e, i, a, o) {
|
|
25
|
-
let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Ii(n), c = { kind: t.kind, type: t.type, input: n, expected: r, received: s, message: `Invalid ${e}: ${r ? `Expected ${r} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: o == null ? void 0 : o.path, issues: o == null ? void 0 : o.issues, lang: a.lang, abortEarly: a.abortEarly, abortPipeEarly: a.abortPipeEarly }, d = t.kind === "schema", u = (o == null ? void 0 : o.message) ?? t.message ?? La(t.reference, c.lang) ?? (d ? Ba(c.lang) : null) ?? a.message ??
|
|
25
|
+
let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Ii(n), c = { kind: t.kind, type: t.type, input: n, expected: r, received: s, message: `Invalid ${e}: ${r ? `Expected ${r} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: o == null ? void 0 : o.path, issues: o == null ? void 0 : o.issues, lang: a.lang, abortEarly: a.abortEarly, abortPipeEarly: a.abortPipeEarly }, d = t.kind === "schema", u = (o == null ? void 0 : o.message) ?? t.message ?? La(t.reference, c.lang) ?? (d ? Ba(c.lang) : null) ?? a.message ?? Ma(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
|
-
function
|
|
28
|
+
function M(t) {
|
|
29
29
|
return { version: 1, vendor: "valibot", validate(e) {
|
|
30
|
-
return t["~run"]({ value: e },
|
|
30
|
+
return t["~run"]({ value: e }, Pi());
|
|
31
31
|
} };
|
|
32
32
|
}
|
|
33
33
|
function Ra(t, e) {
|
|
@@ -45,19 +45,19 @@ function zi(t) {
|
|
|
45
45
|
function Ua(t, e, i) {
|
|
46
46
|
return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function De(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:
|
|
53
|
-
return
|
|
51
|
+
function Di() {
|
|
52
|
+
return { kind: "schema", type: "any", reference: Di, expects: "any", async: !1, get "~standard"() {
|
|
53
|
+
return M(this);
|
|
54
54
|
}, "~run"(t) {
|
|
55
55
|
return t.typed = !0, t;
|
|
56
56
|
} };
|
|
57
57
|
}
|
|
58
58
|
function Oi(t, e) {
|
|
59
59
|
return { kind: "schema", type: "array", reference: Oi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
|
|
60
|
-
return
|
|
60
|
+
return M(this);
|
|
61
61
|
}, "~run"(i, a) {
|
|
62
62
|
var n;
|
|
63
63
|
let o = i.value;
|
|
@@ -83,42 +83,42 @@ function Oi(t, e) {
|
|
|
83
83
|
}
|
|
84
84
|
function Oe(t) {
|
|
85
85
|
return { kind: "schema", type: "boolean", reference: Oe, expects: "boolean", async: !1, message: t, get "~standard"() {
|
|
86
|
-
return
|
|
86
|
+
return M(this);
|
|
87
87
|
}, "~run"(e, i) {
|
|
88
88
|
return typeof e.value == "boolean" ? e.typed = !0 : V(this, "type", e, i), e;
|
|
89
89
|
} };
|
|
90
90
|
}
|
|
91
91
|
function ft(t, e) {
|
|
92
92
|
return { kind: "schema", type: "literal", reference: ft, expects: Ii(t), async: !1, literal: t, message: e, get "~standard"() {
|
|
93
|
-
return
|
|
93
|
+
return M(this);
|
|
94
94
|
}, "~run"(i, a) {
|
|
95
95
|
return i.value === this.literal ? i.typed = !0 : V(this, "type", i, a), i;
|
|
96
96
|
} };
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
return { kind: "schema", type: "null", reference:
|
|
100
|
-
return
|
|
98
|
+
function Ai(t) {
|
|
99
|
+
return { kind: "schema", type: "null", reference: Ai, expects: "null", async: !1, message: t, get "~standard"() {
|
|
100
|
+
return M(this);
|
|
101
101
|
}, "~run"(e, i) {
|
|
102
102
|
return e.value === null ? e.typed = !0 : V(this, "type", e, i), e;
|
|
103
103
|
} };
|
|
104
104
|
}
|
|
105
105
|
function Bt(t, e) {
|
|
106
106
|
return { kind: "schema", type: "nullable", reference: Bt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
107
|
-
return
|
|
107
|
+
return M(this);
|
|
108
108
|
}, "~run"(i, a) {
|
|
109
|
-
return i.value === null && (this.default !== void 0 && (i.value =
|
|
109
|
+
return i.value === null && (this.default !== void 0 && (i.value = De(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
110
110
|
} };
|
|
111
111
|
}
|
|
112
112
|
function Lt(t) {
|
|
113
113
|
return { kind: "schema", type: "number", reference: Lt, expects: "number", async: !1, message: t, get "~standard"() {
|
|
114
|
-
return
|
|
114
|
+
return M(this);
|
|
115
115
|
}, "~run"(e, i) {
|
|
116
116
|
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : V(this, "type", e, i), e;
|
|
117
117
|
} };
|
|
118
118
|
}
|
|
119
119
|
function O(t, e) {
|
|
120
120
|
return { kind: "schema", type: "object", reference: O, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
|
|
121
|
-
return
|
|
121
|
+
return M(this);
|
|
122
122
|
}, "~run"(i, a) {
|
|
123
123
|
var n;
|
|
124
124
|
let o = i.value;
|
|
@@ -127,7 +127,7 @@ function O(t, e) {
|
|
|
127
127
|
for (let r in this.entries) {
|
|
128
128
|
let s = this.entries[r];
|
|
129
129
|
if (r in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
|
|
130
|
-
let c = r in o ? o[r] :
|
|
130
|
+
let c = r in o ? o[r] : De(s), d = s["~run"]({ value: c }, a);
|
|
131
131
|
if (d.issues) {
|
|
132
132
|
let u = { type: "object", origin: "value", input: o, key: r, value: c };
|
|
133
133
|
for (let l of d.issues)
|
|
@@ -148,16 +148,16 @@ function O(t, e) {
|
|
|
148
148
|
return i;
|
|
149
149
|
} };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return { kind: "schema", type: "optional", reference:
|
|
153
|
-
return
|
|
151
|
+
function F(t, e) {
|
|
152
|
+
return { kind: "schema", type: "optional", reference: F, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
153
|
+
return M(this);
|
|
154
154
|
}, "~run"(i, a) {
|
|
155
|
-
return i.value === void 0 && (this.default !== void 0 && (i.value =
|
|
155
|
+
return i.value === void 0 && (this.default !== void 0 && (i.value = De(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
156
156
|
} };
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return { kind: "schema", type: "record", reference:
|
|
160
|
-
return
|
|
158
|
+
function Ni(t, e, i) {
|
|
159
|
+
return { kind: "schema", type: "record", reference: Ni, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
|
|
160
|
+
return M(this);
|
|
161
161
|
}, "~run"(a, o) {
|
|
162
162
|
var r, s;
|
|
163
163
|
let n = a.value;
|
|
@@ -194,7 +194,7 @@ function ji(t, e, i) {
|
|
|
194
194
|
}
|
|
195
195
|
function L(t) {
|
|
196
196
|
return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
|
|
197
|
-
return
|
|
197
|
+
return M(this);
|
|
198
198
|
}, "~run"(e, i) {
|
|
199
199
|
return typeof e.value == "string" ? e.typed = !0 : V(this, "type", e, i), e;
|
|
200
200
|
} };
|
|
@@ -206,9 +206,9 @@ function qe(t) {
|
|
|
206
206
|
e ? e.push(...i.issues) : e = i.issues;
|
|
207
207
|
return e;
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
return { kind: "schema", type: "union", reference:
|
|
211
|
-
return
|
|
209
|
+
function Ae(t, e) {
|
|
210
|
+
return { kind: "schema", type: "union", reference: Ae, expects: Ha(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
211
|
+
return M(this);
|
|
212
212
|
}, "~run"(i, a) {
|
|
213
213
|
let o, n, r;
|
|
214
214
|
for (let s of this.options) {
|
|
@@ -239,14 +239,14 @@ function De(t, e) {
|
|
|
239
239
|
}
|
|
240
240
|
function St() {
|
|
241
241
|
return { kind: "schema", type: "unknown", reference: St, expects: "unknown", async: !1, get "~standard"() {
|
|
242
|
-
return
|
|
242
|
+
return M(this);
|
|
243
243
|
}, "~run"(t) {
|
|
244
244
|
return t.typed = !0, t;
|
|
245
245
|
} };
|
|
246
246
|
}
|
|
247
247
|
function Wa(...t) {
|
|
248
248
|
return { ...t[0], pipe: t, get "~standard"() {
|
|
249
|
-
return
|
|
249
|
+
return M(this);
|
|
250
250
|
}, "~run"(e, i) {
|
|
251
251
|
for (let a of t)
|
|
252
252
|
if (a.kind !== "metadata") {
|
|
@@ -259,11 +259,11 @@ function Wa(...t) {
|
|
|
259
259
|
return e;
|
|
260
260
|
} };
|
|
261
261
|
}
|
|
262
|
-
function
|
|
263
|
-
let a = t["~run"]({ value: e },
|
|
262
|
+
function Ne(t, e, i) {
|
|
263
|
+
let a = t["~run"]({ value: e }, Pi(i));
|
|
264
264
|
return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
|
|
265
265
|
}
|
|
266
|
-
var Va = (t) => ({ ok: !0, err: !1, val: t }), Ya = (t) => ({ err: !0, ok: !1, val: t }),
|
|
266
|
+
var Va = (t) => ({ ok: !0, err: !1, val: t }), Ya = (t) => ({ err: !0, ok: !1, val: t }), je = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
|
|
267
267
|
function Ka(t, e, i) {
|
|
268
268
|
var r, s;
|
|
269
269
|
let a = t.find((c) => c.type === "pre-apply-result");
|
|
@@ -271,21 +271,21 @@ function Ka(t, e, i) {
|
|
|
271
271
|
return;
|
|
272
272
|
let o = (r = e[a.data.participationKey]) == null ? void 0 : r.value, n = {};
|
|
273
273
|
if (o === !0)
|
|
274
|
-
for (let c of
|
|
274
|
+
for (let c of je(t)) {
|
|
275
275
|
let d = (s = e[c.data.key]) == null ? void 0 : s.value;
|
|
276
276
|
Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[c.data.key] = d);
|
|
277
277
|
}
|
|
278
278
|
return { node_id: a.id, flow_session_id: i, participation: o, answers: n };
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
let i = Ka(t, e, ""), a =
|
|
280
|
+
function vr(t, e) {
|
|
281
|
+
let i = Ka(t, e, ""), a = je(t).map((n) => {
|
|
282
282
|
let r = n.data.preApply, s = i == null ? void 0 : i.answers[n.data.key], c = n.type === "question-boolean" ? typeof s == "boolean" : n.data.options.some((d) => d.value === s);
|
|
283
283
|
return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: c && s === r.expectedValue, valid: c };
|
|
284
284
|
}), o = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && a.length > 0 && a.every((n) => n.valid) ? "completed" : "unavailable";
|
|
285
285
|
return { status: o, hasHardConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "advisory") : null, answers: o === "completed" ? a : [] };
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
let i = new Set(
|
|
287
|
+
function _r(t, e) {
|
|
288
|
+
let i = new Set(je(t).map((a) => a.data.key));
|
|
289
289
|
for (let a of t)
|
|
290
290
|
a.type === "pre-apply-result" && (i.add(a.data.key), i.add(a.data.participationKey));
|
|
291
291
|
return Object.fromEntries(Object.entries(e).filter(([a]) => !i.has(a)));
|
|
@@ -294,7 +294,7 @@ var ut = class extends Error {
|
|
|
294
294
|
constructor() {
|
|
295
295
|
super("Aborted");
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, ji = (t, e) => {
|
|
298
298
|
if (e.length === 0)
|
|
299
299
|
return;
|
|
300
300
|
let i = t;
|
|
@@ -304,27 +304,27 @@ var ut = class extends Error {
|
|
|
304
304
|
i = i[a];
|
|
305
305
|
}
|
|
306
306
|
return i;
|
|
307
|
-
},
|
|
307
|
+
}, yr = (t, e = "all") => {
|
|
308
308
|
let i = {}, a = e === "all" ? null : new Set(e);
|
|
309
309
|
for (let o in t) {
|
|
310
310
|
let n = t[o];
|
|
311
311
|
n && (a && !a.has(o) || (i[o] = n.value));
|
|
312
312
|
}
|
|
313
313
|
return i;
|
|
314
|
-
},
|
|
314
|
+
}, Fi = (t, e) => {
|
|
315
315
|
let i = new Set(t.flatMap((a) => a.type === "add-submission" ? [a.data.key] : []));
|
|
316
316
|
return Object.entries(e).some(([a, o]) => o !== void 0 && o.type !== "integration" && !i.has(a));
|
|
317
|
-
},
|
|
317
|
+
}, xr = ({ key: t, submissions: e }) => {
|
|
318
318
|
var a;
|
|
319
319
|
let i = (a = e[t]) == null ? void 0 : a.value;
|
|
320
320
|
if (typeof i != "string" && typeof i != "number")
|
|
321
321
|
throw new Error(`Submission at “${t}” is not a string or number`);
|
|
322
322
|
return i;
|
|
323
|
-
},
|
|
323
|
+
}, kr = ({ key: t, path: e, submissions: i, context: a }) => {
|
|
324
324
|
if (t === "$context") {
|
|
325
325
|
if (!e)
|
|
326
326
|
return;
|
|
327
|
-
let o =
|
|
327
|
+
let o = ji(a, e);
|
|
328
328
|
switch (typeof o) {
|
|
329
329
|
case "string":
|
|
330
330
|
return { type: "string", value: o };
|
|
@@ -341,7 +341,7 @@ var ut = class extends Error {
|
|
|
341
341
|
}, qa = (t) => {
|
|
342
342
|
let e = t.split(".").pop();
|
|
343
343
|
return e ? Va(e ? "." + e : "") : Ya("No file extension found");
|
|
344
|
-
},
|
|
344
|
+
}, $r = (t, e) => {
|
|
345
345
|
if (e.length === 0)
|
|
346
346
|
return !0;
|
|
347
347
|
let i = e.map((a) => a.toLowerCase());
|
|
@@ -349,16 +349,16 @@ var ut = class extends Error {
|
|
|
349
349
|
let o = qa(a.name);
|
|
350
350
|
return o.ok && i.includes(o.val.toLowerCase());
|
|
351
351
|
});
|
|
352
|
-
},
|
|
353
|
-
let e =
|
|
354
|
-
if (!e.success ||
|
|
352
|
+
}, Sr = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Cr = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Za = O({ integration_response: O({ data: O({ redirect_url: L(), message: F(Bt(L())), button_text: F(Bt(L())) }) }) }), Xa = (t) => Ne(Za, t).success, Ga = O({ integration_response: O({ status: F(St()), error: O({ message: L(), data: F(St()) }) }) }), Mi = (t) => Ne(Ga, t).success, Ja = O({ success: ft(!0), integration_response: O({ data: O({ outcome: ft("pending"), message: F(St()) }), error: F(Ai()) }) }), Qa = (t) => {
|
|
353
|
+
let e = Ne(Ja, t);
|
|
354
|
+
if (!e.success || Xa(t))
|
|
355
355
|
return;
|
|
356
356
|
let { message: i } = e.output.integration_response.data;
|
|
357
357
|
return typeof i == "string" && i.trim() ? { message: i } : {};
|
|
358
358
|
};
|
|
359
|
-
O({ success: ft(!1), message:
|
|
360
|
-
var
|
|
361
|
-
if (!
|
|
359
|
+
O({ success: ft(!1), message: F(St()) });
|
|
360
|
+
var Er = (t, e) => {
|
|
361
|
+
if (!Mi(t))
|
|
362
362
|
return;
|
|
363
363
|
let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (h) => typeof o[h] == "string" ? o[h] : void 0, r = (h) => typeof o[h] == "boolean" ? o[h] : void 0, s = (h) => {
|
|
364
364
|
let b = o[h];
|
|
@@ -368,15 +368,15 @@ var Sr = (t, e) => {
|
|
|
368
368
|
return Number.isFinite(z) ? z : void 0;
|
|
369
369
|
}, d = typeof i.status == "number" ? i.status : e, u = n("phase"), l = n("verdict"), w = n("code"), g = d === 409 && u === "submit" && l === "confirmed" ? "duplicate" : d === 410 && w === "job_closed" ? "closed" : u === "submit" && l === "unknown" ? "unknown" : void 0;
|
|
370
370
|
return { message: i.error.message, status: d, phase: u, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: r("retryable"), verdict: l, code: w, reason: n("reason"), maintenanceUntil: c("maintenance_until"), field: n("field"), outcome: g };
|
|
371
|
-
}, to = 3e4, eo = 2e4, io = 6e4, ao = 12e4, oo = 6 * 60 * 6e4,
|
|
371
|
+
}, to = 3e4, eo = 2e4, io = 6e4, ao = 12e4, oo = 6 * 60 * 6e4, Tr = 60 * 6e4, Bi = (t) => {
|
|
372
372
|
let e = (t == null ? void 0 : t.reason) === "provider_maintenance" ? t.maintenanceUntil : void 0, i = e === void 0 ? 0 : e - Date.now();
|
|
373
373
|
return i > 0 && i <= oo ? e : void 0;
|
|
374
|
-
},
|
|
374
|
+
}, Pr = (t) => {
|
|
375
375
|
if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown")
|
|
376
376
|
return;
|
|
377
377
|
let e = Bi(t);
|
|
378
378
|
return e === void 0 ? {} : { until: e };
|
|
379
|
-
},
|
|
379
|
+
}, Ir = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), zr = (t, e) => {
|
|
380
380
|
let i = Bi(e);
|
|
381
381
|
if (i !== void 0)
|
|
382
382
|
return { waitMs: i - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
|
|
@@ -384,12 +384,12 @@ var Sr = (t, e) => {
|
|
|
384
384
|
return { waitMs: to };
|
|
385
385
|
let a = (t ?? 0) + 1, o = Math.min(a * eo, io), n = (e.retryAfterSeconds ?? 0) * 1e3;
|
|
386
386
|
return { waitMs: Math.min(Math.max(o, n), ao), throttles: a };
|
|
387
|
-
},
|
|
388
|
-
if (!
|
|
387
|
+
}, Dr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Or = (t) => {
|
|
388
|
+
if (!Mi(t))
|
|
389
389
|
return !1;
|
|
390
390
|
let e = t.integration_response.error.data;
|
|
391
391
|
return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
|
|
392
|
-
}, Ar = (t) => ((t == null ? void 0 : t.phase) === "workflow" || (t == null ? void 0 : t.phase) === "authentication" || (t == null ? void 0 : t.code) === "captcha_failed") && t.retryable === !0 && t.verdict === "not_submitted",
|
|
392
|
+
}, Ar = (t) => ((t == null ? void 0 : t.phase) === "workflow" || (t == null ? void 0 : t.phase) === "authentication" || (t == null ? void 0 : t.code) === "captcha_failed") && t.retryable === !0 && t.verdict === "not_submitted", Nr = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", jr = (t) => (t == null ? void 0 : t.phase) === "submit" && t.verdict === "confirmed" && t.code === "unreadable_document" && typeof t.field == "string" && t.status !== void 0 && t.status >= 400 && t.status < 500 ? t.field : void 0, Fr = (t) => {
|
|
393
393
|
if (typeof t != "object" || t === null)
|
|
394
394
|
return null;
|
|
395
395
|
let e = t.integration_response;
|
|
@@ -403,13 +403,22 @@ var Sr = (t, e) => {
|
|
|
403
403
|
return null;
|
|
404
404
|
let r = a ? i.data : o.data ?? null;
|
|
405
405
|
return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: r }, ...Qa(t) && { outcome: "pending" } };
|
|
406
|
-
}, no = (
|
|
406
|
+
}, no = (t) => {
|
|
407
|
+
if (!/^\d{4}-\d{2}-\d{2}$/.test(t))
|
|
408
|
+
return !1;
|
|
409
|
+
let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
|
|
410
|
+
return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
|
|
411
|
+
}, Mr = (t, e) => {
|
|
412
|
+
if (!no(t))
|
|
413
|
+
throw new RangeError("Invalid ISO calendar date");
|
|
414
|
+
return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
|
|
415
|
+
}, ro = ({ context: t, schema: e, logger: i }) => {
|
|
407
416
|
if (e)
|
|
408
417
|
for (let a in e) {
|
|
409
418
|
let o = e[a];
|
|
410
419
|
if (!o)
|
|
411
420
|
continue;
|
|
412
|
-
let n =
|
|
421
|
+
let n = ji(t, a.split("."));
|
|
413
422
|
if (o.required && n == null) {
|
|
414
423
|
let r = `Configuration error in context: ${a} is required`;
|
|
415
424
|
throw i.error(r), new Error(r);
|
|
@@ -428,7 +437,7 @@ var Sr = (t, e) => {
|
|
|
428
437
|
o.type;
|
|
429
438
|
}
|
|
430
439
|
}
|
|
431
|
-
}, Li = Wa(
|
|
440
|
+
}, Li = Wa(Ae([L(), Lt()]), zi(String)), Ri = O({ id: Li, version: Lt(), build: Lt(), nodes: Oi(Di()), context_schema: F(Bt(Ni(L(), O({ required: Oe(), type: Ae([ft("string"), ft("number")]) })))) }), so = O({ flow: Ri }), lo = O({ company: O({ name: L() }), flow: Ri, job: O({ id: Li, title: L() }), user: F(O({ city: F(L()), country: F(L()), isEU: F(Oe()), continent: F(L()) })) }), co = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), uo = Ti({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Na(), response: lo } }), po = Ti({ pathname: "/flow/id/:id", method: "GET", schema: { response: so } }), Tt, f, Hi, Ui, st, Ze, Wi, he, Vi, pt = {}, Yi = [], ho = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Zt = Array.isArray;
|
|
432
441
|
function Q(t, e) {
|
|
433
442
|
for (var i in e)
|
|
434
443
|
t[i] = e[i];
|
|
@@ -442,7 +451,7 @@ function B(t, e, i) {
|
|
|
442
451
|
var a, o, n, r = {};
|
|
443
452
|
for (n in e)
|
|
444
453
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : r[n] = e[n];
|
|
445
|
-
if (arguments.length > 2 && (r.children = arguments.length > 3 ?
|
|
454
|
+
if (arguments.length > 2 && (r.children = arguments.length > 3 ? Tt.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
|
|
446
455
|
for (n in t.defaultProps)
|
|
447
456
|
r[n] === void 0 && (r[n] = t.defaultProps[n]);
|
|
448
457
|
return xt(t, r, a, o, null);
|
|
@@ -451,7 +460,7 @@ function xt(t, e, i, a, o) {
|
|
|
451
460
|
var n = { type: t, props: e, key: i, ref: a, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: o ?? ++Hi };
|
|
452
461
|
return o == null && f.vnode != null && f.vnode(n), n;
|
|
453
462
|
}
|
|
454
|
-
function
|
|
463
|
+
function fo() {
|
|
455
464
|
return { current: null };
|
|
456
465
|
}
|
|
457
466
|
function Y(t) {
|
|
@@ -480,35 +489,35 @@ function qi(t) {
|
|
|
480
489
|
}
|
|
481
490
|
}
|
|
482
491
|
function fe(t) {
|
|
483
|
-
(!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ ||
|
|
492
|
+
(!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ || Ze !== f.debounceRendering) && ((Ze = f.debounceRendering) || Wi)(Ht);
|
|
484
493
|
}
|
|
485
494
|
function Ht() {
|
|
486
495
|
var t, e, i, a, o, n, r, s, c;
|
|
487
496
|
for (st.sort(he); t = st.shift(); )
|
|
488
|
-
t.__d && (e = st.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1,
|
|
497
|
+
t.__d && (e = st.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1, Fe(c, r, n, i.__n, c.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Rt(r), r.__h, o), Ji(a, r, o), r.__e != s && qi(r)), st.length > e && st.sort(he));
|
|
489
498
|
Ht.__r = 0;
|
|
490
499
|
}
|
|
491
|
-
function
|
|
492
|
-
var l, w, g, h, b, z,
|
|
493
|
-
for (i.__k = [], l = 0; l <
|
|
494
|
-
(h = i.__k[l] = (h = e[l]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? xt(null, h, null, null, h) :
|
|
500
|
+
function Zi(t, e, i, a, o, n, r, s, c, d, u) {
|
|
501
|
+
var l, w, g, h, b, z, y, v, _, x, k = 0, P = a && a.__k || Yi, K = P.length, q = K, D = e.length;
|
|
502
|
+
for (i.__k = [], l = 0; l < D; l++)
|
|
503
|
+
(h = i.__k[l] = (h = e[l]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? xt(null, h, null, null, h) : Zt(h) ? xt(Y, { children: h }, null, null, null) : h.__b > 0 ? xt(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (v = wo(h, P, y = l + k, q)) === -1 ? g = pt : (g = P[v] || pt, P[v] = void 0, q--), Fe(t, h, g, o, n, r, s, c, d, u), b = h.__e, (w = h.ref) && g.ref != w && (g.ref && Me(g.ref, null, h), u.push(w, h.__c || b, h)), b != null && (z == null && (z = b), x = !(_ = g === pt || g.__v === null) && v === y, _ ? v == -1 && k-- : v !== y && (v === y + 1 ? (k++, x = !0) : v > y ? q > D - y ? (k += v - y, x = !0) : k-- : k = v < y && v == y - 1 ? v - y : 0), y = l + k, x = x || v == l && !_, typeof h.type != "function" || v === y && g.__k !== h.__k ? typeof h.type == "function" || x ? h.__d !== void 0 ? (c = h.__d, h.__d = void 0) : c = b.nextSibling : c = Gi(t, b, c) : c = Xi(h, c, t), typeof i.type == "function" && (i.__d = c)));
|
|
495
504
|
for (i.__e = z, l = K; l--; )
|
|
496
|
-
|
|
505
|
+
P[l] != null && (typeof i.type == "function" && P[l].__e != null && P[l].__e == i.__d && (i.__d = P[l].__e.nextSibling), Qi(P[l], P[l]));
|
|
497
506
|
}
|
|
498
|
-
function
|
|
507
|
+
function Xi(t, e, i) {
|
|
499
508
|
for (var a, o = t.__k, n = 0; o && n < o.length; n++)
|
|
500
|
-
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ?
|
|
509
|
+
(a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? Xi(a, e, i) : Gi(i, a.__e, e));
|
|
501
510
|
return e;
|
|
502
511
|
}
|
|
503
512
|
function tt(t, e) {
|
|
504
|
-
return e = e || [], t == null || typeof t == "boolean" || (
|
|
513
|
+
return e = e || [], t == null || typeof t == "boolean" || (Zt(t) ? t.some(function(i) {
|
|
505
514
|
tt(i, e);
|
|
506
515
|
}) : e.push(t)), e;
|
|
507
516
|
}
|
|
508
|
-
function
|
|
517
|
+
function Gi(t, e, i) {
|
|
509
518
|
return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
|
|
510
519
|
}
|
|
511
|
-
function
|
|
520
|
+
function wo(t, e, i, a) {
|
|
512
521
|
var o = t.key, n = t.type, r = i - 1, s = i + 1, c = e[i];
|
|
513
522
|
if (c === null || c && o == c.key && n === c.type)
|
|
514
523
|
return i;
|
|
@@ -527,15 +536,15 @@ function fo(t, e, i, a) {
|
|
|
527
536
|
}
|
|
528
537
|
return -1;
|
|
529
538
|
}
|
|
530
|
-
function
|
|
539
|
+
function go(t, e, i, a, o) {
|
|
531
540
|
var n;
|
|
532
541
|
for (n in i)
|
|
533
542
|
n === "children" || n === "key" || n in e || Ut(t, n, null, i[n], a);
|
|
534
543
|
for (n in e)
|
|
535
544
|
o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] || Ut(t, n, e[n], i[n], a);
|
|
536
545
|
}
|
|
537
|
-
function
|
|
538
|
-
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" ||
|
|
546
|
+
function Xe(t, e, i) {
|
|
547
|
+
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || ho.test(e) ? i : i + "px";
|
|
539
548
|
}
|
|
540
549
|
function Ut(t, e, i, a, o) {
|
|
541
550
|
var n;
|
|
@@ -546,13 +555,13 @@ function Ut(t, e, i, a, o) {
|
|
|
546
555
|
else {
|
|
547
556
|
if (typeof a == "string" && (t.style.cssText = a = ""), a)
|
|
548
557
|
for (e in a)
|
|
549
|
-
i && e in i ||
|
|
558
|
+
i && e in i || Xe(t.style, e, "");
|
|
550
559
|
if (i)
|
|
551
560
|
for (e in i)
|
|
552
|
-
a && i[e] === a[e] ||
|
|
561
|
+
a && i[e] === a[e] || Xe(t.style, e, i[e]);
|
|
553
562
|
}
|
|
554
563
|
else if (e[0] === "o" && e[1] === "n")
|
|
555
|
-
n = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + n] = i, i ? a || t.addEventListener(e, n ? Je :
|
|
564
|
+
n = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + n] = i, i ? a || t.addEventListener(e, n ? Je : Ge, n) : t.removeEventListener(e, n ? Je : Ge, n);
|
|
556
565
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
557
566
|
if (o)
|
|
558
567
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -565,46 +574,46 @@ function Ut(t, e, i, a, o) {
|
|
|
565
574
|
typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
|
|
566
575
|
}
|
|
567
576
|
}
|
|
568
|
-
function
|
|
577
|
+
function Ge(t) {
|
|
569
578
|
return this.l[t.type + !1](f.event ? f.event(t) : t);
|
|
570
579
|
}
|
|
571
580
|
function Je(t) {
|
|
572
581
|
return this.l[t.type + !0](f.event ? f.event(t) : t);
|
|
573
582
|
}
|
|
574
|
-
function
|
|
575
|
-
var u, l, w, g, h, b, z,
|
|
583
|
+
function Fe(t, e, i, a, o, n, r, s, c, d) {
|
|
584
|
+
var u, l, w, g, h, b, z, y, v, _, x, k, P, K, q, D = e.type;
|
|
576
585
|
if (e.constructor !== void 0)
|
|
577
586
|
return null;
|
|
578
587
|
i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, n = [s]), (u = f.__b) && u(e);
|
|
579
588
|
try {
|
|
580
589
|
t:
|
|
581
|
-
if (typeof
|
|
582
|
-
if (
|
|
583
|
-
|
|
590
|
+
if (typeof D == "function") {
|
|
591
|
+
if (y = e.props, v = (u = D.contextType) && a[u.__c], _ = u ? v ? v.props.value : u.__ : a, i.__c ? z = (l = e.__c = i.__c).__ = l.__E : ("prototype" in D && D.prototype.render ? e.__c = l = new D(y, _) : (e.__c = l = new W(y, _), l.constructor = D, l.render = vo), v && v.sub(l), l.props = y, l.state || (l.state = {}), l.context = _, l.__n = a, w = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), D.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Q({}, l.__s)), Q(l.__s, D.getDerivedStateFromProps(y, l.__s))), g = l.props, h = l.state, l.__v = e, w)
|
|
592
|
+
D.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
584
593
|
else {
|
|
585
|
-
if (
|
|
586
|
-
for (e.__v !== i.__v && (l.props =
|
|
594
|
+
if (D.getDerivedStateFromProps == null && y !== g && l.componentWillReceiveProps != null && l.componentWillReceiveProps(y, _), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(y, l.__s, _) === !1 || e.__v === i.__v)) {
|
|
595
|
+
for (e.__v !== i.__v && (l.props = y, l.state = l.__s, l.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(It) {
|
|
587
596
|
It && (It.__ = e);
|
|
588
|
-
}),
|
|
589
|
-
l.__h.push(l._sb[
|
|
597
|
+
}), x = 0; x < l._sb.length; x++)
|
|
598
|
+
l.__h.push(l._sb[x]);
|
|
590
599
|
l._sb = [], l.__h.length && r.push(l);
|
|
591
600
|
break t;
|
|
592
601
|
}
|
|
593
|
-
l.componentWillUpdate != null && l.componentWillUpdate(
|
|
602
|
+
l.componentWillUpdate != null && l.componentWillUpdate(y, l.__s, _), l.componentDidUpdate != null && l.__h.push(function() {
|
|
594
603
|
l.componentDidUpdate(g, h, b);
|
|
595
604
|
});
|
|
596
605
|
}
|
|
597
|
-
if (l.context = _, l.props =
|
|
598
|
-
for (l.state = l.__s, l.__d = !1,
|
|
606
|
+
if (l.context = _, l.props = y, l.__P = t, l.__e = !1, k = f.__r, P = 0, "prototype" in D && D.prototype.render) {
|
|
607
|
+
for (l.state = l.__s, l.__d = !1, k && k(e), u = l.render(l.props, l.state, l.context), K = 0; K < l._sb.length; K++)
|
|
599
608
|
l.__h.push(l._sb[K]);
|
|
600
609
|
l._sb = [];
|
|
601
610
|
} else
|
|
602
611
|
do
|
|
603
|
-
l.__d = !1,
|
|
604
|
-
while (l.__d && ++
|
|
605
|
-
l.state = l.__s, l.getChildContext != null && (a = Q(Q({}, a), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, h)),
|
|
612
|
+
l.__d = !1, k && k(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
|
|
613
|
+
while (l.__d && ++P < 25);
|
|
614
|
+
l.state = l.__s, l.getChildContext != null && (a = Q(Q({}, a), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, h)), Zi(t, Zt(q = u != null && u.type === Y && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, n, r, s, c, d), l.base = e.__e, e.__h = null, l.__h.length && r.push(l), z && (l.__E = l.__ = null);
|
|
606
615
|
} else
|
|
607
|
-
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e =
|
|
616
|
+
n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = bo(i.__e, e, i, a, o, n, r, c, d);
|
|
608
617
|
(u = f.diffed) && u(e);
|
|
609
618
|
} catch (It) {
|
|
610
619
|
e.__v = null, (c || n != null) && (e.__e = s, e.__h = !!c, n[n.indexOf(s)] = null), f.__e(It, e, i);
|
|
@@ -612,7 +621,7 @@ function Me(t, e, i, a, o, n, r, s, c, d) {
|
|
|
612
621
|
}
|
|
613
622
|
function Ji(t, e, i) {
|
|
614
623
|
for (var a = 0; a < i.length; a++)
|
|
615
|
-
|
|
624
|
+
Me(i[a], i[++a], i[++a]);
|
|
616
625
|
f.__c && f.__c(e, t), t.some(function(o) {
|
|
617
626
|
try {
|
|
618
627
|
t = o.__h, o.__h = [], t.some(function(n) {
|
|
@@ -623,7 +632,7 @@ function Ji(t, e, i) {
|
|
|
623
632
|
}
|
|
624
633
|
});
|
|
625
634
|
}
|
|
626
|
-
function
|
|
635
|
+
function bo(t, e, i, a, o, n, r, s, c) {
|
|
627
636
|
var d, u, l, w = i.props, g = e.props, h = e.type, b = 0;
|
|
628
637
|
if (h === "svg" && (o = !0), n != null) {
|
|
629
638
|
for (; b < n.length; b++)
|
|
@@ -640,22 +649,22 @@ function go(t, e, i, a, o, n, r, s, c) {
|
|
|
640
649
|
if (h === null)
|
|
641
650
|
w === g || s && t.data === g || (t.data = g);
|
|
642
651
|
else {
|
|
643
|
-
if (n = n &&
|
|
652
|
+
if (n = n && Tt.call(t.childNodes), u = (w = i.props || pt).dangerouslySetInnerHTML, l = g.dangerouslySetInnerHTML, !s) {
|
|
644
653
|
if (n != null)
|
|
645
654
|
for (w = {}, b = 0; b < t.attributes.length; b++)
|
|
646
655
|
w[t.attributes[b].name] = t.attributes[b].value;
|
|
647
656
|
(l || u) && (l && (u && l.__html == u.__html || l.__html === t.innerHTML) || (t.innerHTML = l && l.__html || ""));
|
|
648
657
|
}
|
|
649
|
-
if (
|
|
658
|
+
if (go(t, g, w, o, s), l)
|
|
650
659
|
e.__k = [];
|
|
651
|
-
else if (
|
|
660
|
+
else if (Zi(t, Zt(b = e.props.children) ? b : [b], e, i, a, o && h !== "foreignObject", n, r, n ? n[0] : i.__k && Rt(i, 0), s, c), n != null)
|
|
652
661
|
for (b = n.length; b--; )
|
|
653
662
|
n[b] != null && Ki(n[b]);
|
|
654
663
|
s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value || h === "progress" && !b || h === "option" && b !== w.value) && Ut(t, "value", b, w.value, !1), "checked" in g && (b = g.checked) !== void 0 && b !== t.checked && Ut(t, "checked", b, w.checked, !1));
|
|
655
664
|
}
|
|
656
665
|
return t;
|
|
657
666
|
}
|
|
658
|
-
function
|
|
667
|
+
function Me(t, e, i) {
|
|
659
668
|
try {
|
|
660
669
|
typeof t == "function" ? t(e) : t.current = e;
|
|
661
670
|
} catch (a) {
|
|
@@ -664,7 +673,7 @@ function Fe(t, e, i) {
|
|
|
664
673
|
}
|
|
665
674
|
function Qi(t, e, i) {
|
|
666
675
|
var a, o;
|
|
667
|
-
if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e ||
|
|
676
|
+
if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || Me(a, null, e)), (a = t.__c) != null) {
|
|
668
677
|
if (a.componentWillUnmount)
|
|
669
678
|
try {
|
|
670
679
|
a.componentWillUnmount();
|
|
@@ -678,21 +687,21 @@ function Qi(t, e, i) {
|
|
|
678
687
|
a[o] && Qi(a[o], e, i || typeof t.type != "function");
|
|
679
688
|
i || t.__e == null || Ki(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
680
689
|
}
|
|
681
|
-
function
|
|
690
|
+
function vo(t, e, i) {
|
|
682
691
|
return this.constructor(t, i);
|
|
683
692
|
}
|
|
684
693
|
function ct(t, e, i) {
|
|
685
694
|
var a, o, n, r;
|
|
686
|
-
f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [],
|
|
695
|
+
f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Fe(e, t = (!a && i || e).__k = B(Y, null, [t]), o || pt, pt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? Tt.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), Ji(n, t, r);
|
|
687
696
|
}
|
|
688
697
|
function ta(t, e) {
|
|
689
698
|
ct(t, e, ta);
|
|
690
699
|
}
|
|
691
|
-
function
|
|
700
|
+
function _o(t, e, i) {
|
|
692
701
|
var a, o, n, r, s = Q({}, t.props);
|
|
693
702
|
for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e)
|
|
694
703
|
n == "key" ? a = e[n] : n == "ref" ? o = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
|
|
695
|
-
return arguments.length > 2 && (s.children = arguments.length > 3 ?
|
|
704
|
+
return arguments.length > 2 && (s.children = arguments.length > 3 ? Tt.call(arguments, 2) : i), xt(t.type, s, a || t.key, o || t.ref, null);
|
|
696
705
|
}
|
|
697
706
|
function ea(t, e) {
|
|
698
707
|
var i = { __c: e = "__cC" + Vi++, __: t, Consumer: function(a, o) {
|
|
@@ -715,7 +724,7 @@ function ea(t, e) {
|
|
|
715
724
|
} };
|
|
716
725
|
return i.Provider.__ = i.Consumer.contextType = i;
|
|
717
726
|
}
|
|
718
|
-
|
|
727
|
+
Tt = Yi.slice, f = { __e: function(t, e, i, a) {
|
|
719
728
|
for (var o, n, r; e = e.__; )
|
|
720
729
|
if ((o = e.__c) && !o.__)
|
|
721
730
|
try {
|
|
@@ -786,10 +795,10 @@ const Qe = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ti = Be, L
|
|
|
786
795
|
}, []);
|
|
787
796
|
return ti(t, r, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
788
797
|
};
|
|
789
|
-
var nt,
|
|
798
|
+
var nt, E, ie, ei, wt = 0, aa = [], Ot = [], ii = f.__b, ai = f.__r, oi = f.diffed, ni = f.__c, ri = f.unmount;
|
|
790
799
|
function gt(t, e) {
|
|
791
|
-
f.__h && f.__h(
|
|
792
|
-
var i =
|
|
800
|
+
f.__h && f.__h(E, t, wt || e), wt = 0;
|
|
801
|
+
var i = E.__H || (E.__H = { __: [], __h: [] });
|
|
793
802
|
return t >= i.__.length && i.__.push({ __V: Ot }), i.__[t];
|
|
794
803
|
}
|
|
795
804
|
function oa(t) {
|
|
@@ -800,7 +809,7 @@ function na(t, e, i) {
|
|
|
800
809
|
if (a.t = t, !a.__c && (a.__ = [i ? i(e) : la(void 0, e), function(s) {
|
|
801
810
|
var c = a.__N ? a.__N[0] : a.__[0], d = a.t(c, s);
|
|
802
811
|
c !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
|
|
803
|
-
}], a.__c =
|
|
812
|
+
}], a.__c = E, !E.u)) {
|
|
804
813
|
var o = function(s, c, d) {
|
|
805
814
|
if (!a.__c.__H)
|
|
806
815
|
return !0;
|
|
@@ -819,32 +828,32 @@ function na(t, e, i) {
|
|
|
819
828
|
}
|
|
820
829
|
}), !(!l && a.__c.props === s) && (!n || n.call(this, s, c, d));
|
|
821
830
|
};
|
|
822
|
-
|
|
823
|
-
var n =
|
|
824
|
-
|
|
831
|
+
E.u = !0;
|
|
832
|
+
var n = E.shouldComponentUpdate, r = E.componentWillUpdate;
|
|
833
|
+
E.componentWillUpdate = function(s, c, d) {
|
|
825
834
|
if (this.__e) {
|
|
826
835
|
var u = n;
|
|
827
836
|
n = void 0, o(s, c, d), n = u;
|
|
828
837
|
}
|
|
829
838
|
r && r.call(this, s, c, d);
|
|
830
|
-
},
|
|
839
|
+
}, E.shouldComponentUpdate = o;
|
|
831
840
|
}
|
|
832
841
|
return a.__N || a.__;
|
|
833
842
|
}
|
|
834
843
|
function ra(t, e) {
|
|
835
844
|
var i = gt(nt++, 3);
|
|
836
|
-
!f.__s && Re(i.__H, e) && (i.__ = t, i.i = e,
|
|
845
|
+
!f.__s && Re(i.__H, e) && (i.__ = t, i.i = e, E.__H.__h.push(i));
|
|
837
846
|
}
|
|
838
847
|
function bt(t, e) {
|
|
839
848
|
var i = gt(nt++, 4);
|
|
840
|
-
!f.__s && Re(i.__H, e) && (i.__ = t, i.i = e,
|
|
849
|
+
!f.__s && Re(i.__H, e) && (i.__ = t, i.i = e, E.__h.push(i));
|
|
841
850
|
}
|
|
842
|
-
function
|
|
851
|
+
function Xt(t) {
|
|
843
852
|
return wt = 5, dt(function() {
|
|
844
853
|
return { current: t };
|
|
845
854
|
}, []);
|
|
846
855
|
}
|
|
847
|
-
function
|
|
856
|
+
function mo(t, e, i) {
|
|
848
857
|
wt = 6, bt(function() {
|
|
849
858
|
return typeof t == "function" ? (t(e()), function() {
|
|
850
859
|
return t(null);
|
|
@@ -857,55 +866,55 @@ function dt(t, e) {
|
|
|
857
866
|
var i = gt(nt++, 7);
|
|
858
867
|
return Re(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
859
868
|
}
|
|
860
|
-
function
|
|
869
|
+
function yo(t, e) {
|
|
861
870
|
return wt = 8, dt(function() {
|
|
862
871
|
return t;
|
|
863
872
|
}, e);
|
|
864
873
|
}
|
|
865
874
|
function sa(t) {
|
|
866
|
-
var e =
|
|
867
|
-
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(
|
|
875
|
+
var e = E.context[t.__c], i = gt(nt++, 9);
|
|
876
|
+
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(E)), e.props.value) : t.__;
|
|
868
877
|
}
|
|
869
|
-
function
|
|
878
|
+
function xo(t, e) {
|
|
870
879
|
f.useDebugValue && f.useDebugValue(e ? e(t) : t);
|
|
871
880
|
}
|
|
872
|
-
function
|
|
881
|
+
function ko() {
|
|
873
882
|
var t = gt(nt++, 11);
|
|
874
883
|
if (!t.__) {
|
|
875
|
-
for (var e =
|
|
884
|
+
for (var e = E.__v; e !== null && !e.__m && e.__ !== null; )
|
|
876
885
|
e = e.__;
|
|
877
886
|
var i = e.__m || (e.__m = [0, 0]);
|
|
878
887
|
t.__ = "P" + i[0] + "-" + i[1]++;
|
|
879
888
|
}
|
|
880
889
|
return t.__;
|
|
881
890
|
}
|
|
882
|
-
function
|
|
891
|
+
function $o() {
|
|
883
892
|
for (var t; t = aa.shift(); )
|
|
884
893
|
if (t.__P && t.__H)
|
|
885
894
|
try {
|
|
886
|
-
t.__H.__h.forEach(
|
|
895
|
+
t.__H.__h.forEach(At), t.__H.__h.forEach(we), t.__H.__h = [];
|
|
887
896
|
} catch (e) {
|
|
888
897
|
t.__H.__h = [], f.__e(e, t.__v);
|
|
889
898
|
}
|
|
890
899
|
}
|
|
891
900
|
f.__b = function(t) {
|
|
892
|
-
|
|
901
|
+
E = null, ii && ii(t);
|
|
893
902
|
}, f.__r = function(t) {
|
|
894
903
|
ai && ai(t), nt = 0;
|
|
895
|
-
var e = (
|
|
896
|
-
e && (ie ===
|
|
904
|
+
var e = (E = t.__c).__H;
|
|
905
|
+
e && (ie === E ? (e.__h = [], E.__h = [], e.__.forEach(function(i) {
|
|
897
906
|
i.__N && (i.__ = i.__N), i.__V = Ot, i.__N = i.i = void 0;
|
|
898
|
-
})) : (e.__h.forEach(
|
|
907
|
+
})) : (e.__h.forEach(At), e.__h.forEach(we), e.__h = [], nt = 0)), ie = E;
|
|
899
908
|
}, f.diffed = function(t) {
|
|
900
909
|
oi && oi(t);
|
|
901
910
|
var e = t.__c;
|
|
902
|
-
e && e.__H && (e.__H.__h.length && (aa.push(e) !== 1 && ei === f.requestAnimationFrame || ((ei = f.requestAnimationFrame) || $o)
|
|
911
|
+
e && e.__H && (e.__H.__h.length && (aa.push(e) !== 1 && ei === f.requestAnimationFrame || ((ei = f.requestAnimationFrame) || So)($o)), e.__H.__.forEach(function(i) {
|
|
903
912
|
i.i && (i.__H = i.i), i.__V !== Ot && (i.__ = i.__V), i.i = void 0, i.__V = Ot;
|
|
904
|
-
})), ie =
|
|
913
|
+
})), ie = E = null;
|
|
905
914
|
}, f.__c = function(t, e) {
|
|
906
915
|
e.some(function(i) {
|
|
907
916
|
try {
|
|
908
|
-
i.__h.forEach(
|
|
917
|
+
i.__h.forEach(At), i.__h = i.__h.filter(function(a) {
|
|
909
918
|
return !a.__ || we(a);
|
|
910
919
|
});
|
|
911
920
|
} catch (a) {
|
|
@@ -919,26 +928,26 @@ f.__b = function(t) {
|
|
|
919
928
|
var e, i = t.__c;
|
|
920
929
|
i && i.__H && (i.__H.__.forEach(function(a) {
|
|
921
930
|
try {
|
|
922
|
-
|
|
931
|
+
At(a);
|
|
923
932
|
} catch (o) {
|
|
924
933
|
e = o;
|
|
925
934
|
}
|
|
926
935
|
}), i.__H = void 0, e && f.__e(e, i.__v));
|
|
927
936
|
};
|
|
928
937
|
var si = typeof requestAnimationFrame == "function";
|
|
929
|
-
function
|
|
938
|
+
function So(t) {
|
|
930
939
|
var e, i = function() {
|
|
931
940
|
clearTimeout(a), si && cancelAnimationFrame(e), setTimeout(t);
|
|
932
941
|
}, a = setTimeout(i, 100);
|
|
933
942
|
si && (e = requestAnimationFrame(i));
|
|
934
943
|
}
|
|
935
|
-
function
|
|
936
|
-
var e =
|
|
937
|
-
typeof i == "function" && (t.__c = void 0, i()),
|
|
944
|
+
function At(t) {
|
|
945
|
+
var e = E, i = t.__c;
|
|
946
|
+
typeof i == "function" && (t.__c = void 0, i()), E = e;
|
|
938
947
|
}
|
|
939
948
|
function we(t) {
|
|
940
|
-
var e =
|
|
941
|
-
t.__c = t.__(),
|
|
949
|
+
var e = E;
|
|
950
|
+
t.__c = t.__(), E = e;
|
|
942
951
|
}
|
|
943
952
|
function Re(t, e) {
|
|
944
953
|
return !t || t.length !== e.length || e.some(function(i, a) {
|
|
@@ -968,7 +977,7 @@ function ae(t, e) {
|
|
|
968
977
|
function be(t) {
|
|
969
978
|
this.props = t;
|
|
970
979
|
}
|
|
971
|
-
function
|
|
980
|
+
function Co(t, e) {
|
|
972
981
|
function i(o) {
|
|
973
982
|
var n = this.props.ref, r = n == o.ref;
|
|
974
983
|
return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : ge(this.props, o);
|
|
@@ -985,13 +994,13 @@ var li = f.__b;
|
|
|
985
994
|
f.__b = function(t) {
|
|
986
995
|
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), li && li(t);
|
|
987
996
|
};
|
|
988
|
-
var
|
|
989
|
-
function
|
|
997
|
+
var Eo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
998
|
+
function To(t) {
|
|
990
999
|
function e(i) {
|
|
991
1000
|
var a = ca({}, i);
|
|
992
1001
|
return delete a.ref, t(a, i.ref || null);
|
|
993
1002
|
}
|
|
994
|
-
return e.$$typeof =
|
|
1003
|
+
return e.$$typeof = Eo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
995
1004
|
}
|
|
996
1005
|
var ci = function(t, e) {
|
|
997
1006
|
return t == null ? null : tt(tt(t).map(e));
|
|
@@ -1002,14 +1011,14 @@ var ci = function(t, e) {
|
|
|
1002
1011
|
if (e.length !== 1)
|
|
1003
1012
|
throw "Children.only";
|
|
1004
1013
|
return e[0];
|
|
1005
|
-
}, toArray: tt },
|
|
1014
|
+
}, toArray: tt }, Io = f.__e;
|
|
1006
1015
|
f.__e = function(t, e, i, a) {
|
|
1007
1016
|
if (t.then) {
|
|
1008
1017
|
for (var o, n = e; n = n.__; )
|
|
1009
1018
|
if ((o = n.__c) && o.__c)
|
|
1010
1019
|
return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
|
|
1011
1020
|
}
|
|
1012
|
-
|
|
1021
|
+
Io(t, e, i, a);
|
|
1013
1022
|
};
|
|
1014
1023
|
var di = f.unmount;
|
|
1015
1024
|
function da(t, e, i) {
|
|
@@ -1094,12 +1103,12 @@ var ui = function(t, e, i) {
|
|
|
1094
1103
|
t.u = i = i[2];
|
|
1095
1104
|
}
|
|
1096
1105
|
};
|
|
1097
|
-
function
|
|
1106
|
+
function zo(t) {
|
|
1098
1107
|
return this.getChildContext = function() {
|
|
1099
1108
|
return t.context;
|
|
1100
1109
|
}, t.children;
|
|
1101
1110
|
}
|
|
1102
|
-
function
|
|
1111
|
+
function Do(t) {
|
|
1103
1112
|
var e = this, i = t.i;
|
|
1104
1113
|
e.componentWillUnmount = function() {
|
|
1105
1114
|
ct(null, e.l), e.l = null, e.i = null;
|
|
@@ -1109,10 +1118,10 @@ function zo(t) {
|
|
|
1109
1118
|
this.childNodes.push(a), e.i.appendChild(a);
|
|
1110
1119
|
}, removeChild: function(a) {
|
|
1111
1120
|
this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
|
|
1112
|
-
} }), ct(B(
|
|
1121
|
+
} }), ct(B(zo, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
|
|
1113
1122
|
}
|
|
1114
|
-
function
|
|
1115
|
-
var i = B(
|
|
1123
|
+
function Oo(t, e) {
|
|
1124
|
+
var i = B(Do, { __v: t, i: e });
|
|
1116
1125
|
return i.containerInfo = e, i;
|
|
1117
1126
|
}
|
|
1118
1127
|
(yt.prototype = new W()).__a = function(t) {
|
|
@@ -1136,13 +1145,13 @@ function Ao(t, e) {
|
|
|
1136
1145
|
ui(t, i, e);
|
|
1137
1146
|
});
|
|
1138
1147
|
};
|
|
1139
|
-
var fa = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103,
|
|
1148
|
+
var fa = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ao = /^(?: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]/, No = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, jo = /[A-Z0-9]/g, Fo = typeof document < "u", Mo = function(t) {
|
|
1140
1149
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1141
1150
|
};
|
|
1142
|
-
function
|
|
1151
|
+
function Bo(t, e, i) {
|
|
1143
1152
|
return e.__k == null && (e.textContent = ""), ct(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1144
1153
|
}
|
|
1145
|
-
function
|
|
1154
|
+
function Lo(t, e, i) {
|
|
1146
1155
|
return ta(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1147
1156
|
}
|
|
1148
1157
|
W.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
@@ -1153,18 +1162,18 @@ W.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
|
|
|
1153
1162
|
} });
|
|
1154
1163
|
});
|
|
1155
1164
|
var pi = f.event;
|
|
1156
|
-
function Lo() {
|
|
1157
|
-
}
|
|
1158
1165
|
function Ro() {
|
|
1159
|
-
return this.cancelBubble;
|
|
1160
1166
|
}
|
|
1161
1167
|
function Ho() {
|
|
1168
|
+
return this.cancelBubble;
|
|
1169
|
+
}
|
|
1170
|
+
function Uo() {
|
|
1162
1171
|
return this.defaultPrevented;
|
|
1163
1172
|
}
|
|
1164
1173
|
f.event = function(t) {
|
|
1165
|
-
return pi && (t = pi(t)), t.persist =
|
|
1174
|
+
return pi && (t = pi(t)), t.persist = Ro, t.isPropagationStopped = Ho, t.isDefaultPrevented = Uo, t.nativeEvent = t;
|
|
1166
1175
|
};
|
|
1167
|
-
var He,
|
|
1176
|
+
var He, Wo = { enumerable: !1, configurable: !0, get: function() {
|
|
1168
1177
|
return this.class;
|
|
1169
1178
|
} }, hi = f.vnode;
|
|
1170
1179
|
f.vnode = function(t) {
|
|
@@ -1172,16 +1181,16 @@ f.vnode = function(t) {
|
|
|
1172
1181
|
var i = e.props, a = e.type, o = {};
|
|
1173
1182
|
for (var n in i) {
|
|
1174
1183
|
var r = i[n];
|
|
1175
|
-
if (!(n === "value" && "defaultValue" in i && r == null ||
|
|
1184
|
+
if (!(n === "value" && "defaultValue" in i && r == null || Fo && n === "children" && a === "noscript" || n === "class" || n === "className")) {
|
|
1176
1185
|
var s = n.toLowerCase();
|
|
1177
|
-
n === "defaultValue" && "value" in i && i.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || Mo(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" :
|
|
1186
|
+
n === "defaultValue" && "value" in i && i.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || Mo(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : No.test(n) ? n = s : a.indexOf("-") === -1 && Ao.test(n) ? n = n.replace(jo, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
|
|
1178
1187
|
}
|
|
1179
1188
|
}
|
|
1180
1189
|
a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(c) {
|
|
1181
1190
|
c.props.selected = o.value.indexOf(c.props.value) != -1;
|
|
1182
1191
|
})), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(c) {
|
|
1183
1192
|
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
|
|
1184
|
-
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className",
|
|
1193
|
+
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", Wo)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
|
|
1185
1194
|
}(t), t.$$typeof = fa, hi && hi(t);
|
|
1186
1195
|
};
|
|
1187
1196
|
var fi = f.__r;
|
|
@@ -1194,40 +1203,40 @@ f.diffed = function(t) {
|
|
|
1194
1203
|
var e = t.props, i = t.__e;
|
|
1195
1204
|
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), He = null;
|
|
1196
1205
|
};
|
|
1197
|
-
var
|
|
1206
|
+
var Vo = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1198
1207
|
return He.__n[t.__c].props.value;
|
|
1199
1208
|
} } } };
|
|
1200
|
-
function
|
|
1209
|
+
function Yo(t) {
|
|
1201
1210
|
return B.bind(null, t);
|
|
1202
1211
|
}
|
|
1203
1212
|
function wa(t) {
|
|
1204
1213
|
return !!t && t.$$typeof === fa;
|
|
1205
1214
|
}
|
|
1206
|
-
function Yo(t) {
|
|
1207
|
-
return wa(t) ? vo.apply(null, arguments) : t;
|
|
1208
|
-
}
|
|
1209
1215
|
function Ko(t) {
|
|
1210
|
-
return
|
|
1216
|
+
return wa(t) ? _o.apply(null, arguments) : t;
|
|
1211
1217
|
}
|
|
1212
1218
|
function qo(t) {
|
|
1219
|
+
return !!t.__k && (ct(null, t), !0);
|
|
1220
|
+
}
|
|
1221
|
+
function Zo(t) {
|
|
1213
1222
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1214
1223
|
}
|
|
1215
1224
|
var Xo = function(t, e) {
|
|
1216
1225
|
return t(e);
|
|
1217
1226
|
}, Go = function(t, e) {
|
|
1218
1227
|
return t(e);
|
|
1219
|
-
},
|
|
1228
|
+
}, Jo = Y;
|
|
1220
1229
|
function ga(t) {
|
|
1221
1230
|
t();
|
|
1222
1231
|
}
|
|
1223
|
-
function
|
|
1232
|
+
function Qo(t) {
|
|
1224
1233
|
return t;
|
|
1225
1234
|
}
|
|
1226
|
-
function
|
|
1235
|
+
function tn() {
|
|
1227
1236
|
return [!1, ga];
|
|
1228
1237
|
}
|
|
1229
|
-
var
|
|
1230
|
-
function
|
|
1238
|
+
var en = bt;
|
|
1239
|
+
function an(t, e) {
|
|
1231
1240
|
var i = e(), a = oa({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
|
|
1232
1241
|
return bt(function() {
|
|
1233
1242
|
o.__ = i, o.v = e, ae(o.__, e()) || n({ h: o });
|
|
@@ -1237,10 +1246,10 @@ function en(t, e) {
|
|
|
1237
1246
|
});
|
|
1238
1247
|
}, [t]), i;
|
|
1239
1248
|
}
|
|
1240
|
-
var
|
|
1241
|
-
const
|
|
1242
|
-
if (
|
|
1243
|
-
const a = t[
|
|
1249
|
+
var Br = { useState: oa, useId: ko, useReducer: na, useEffect: ra, useLayoutEffect: bt, useInsertionEffect: en, useTransition: tn, useDeferredValue: Qo, useSyncExternalStore: an, startTransition: ga, useRef: Xt, useImperativeHandle: mo, useMemo: dt, useCallback: yo, useContext: sa, useDebugValue: xo, version: "17.0.2", Children: Po, render: Bo, hydrate: Lo, unmountComponentAtNode: qo, createPortal: Oo, createElement: B, createContext: ea, createFactory: Yo, cloneElement: Ko, createRef: fo, Fragment: Y, isValidElement: wa, findDOMNode: Zo, Component: W, PureComponent: be, memo: Co, forwardRef: To, flushSync: Go, unstable_batchedUpdates: Xo, StrictMode: Jo, Suspense: kt, SuspenseList: yt, lazy: ha, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Vo };
|
|
1250
|
+
const j = Symbol.for("@ts-pattern/matcher"), ba = Symbol.for("@ts-pattern/isVariadic"), Wt = "@ts-pattern/anonymous-select-key", ve = (t) => !!(t && typeof t == "object"), Nt = (t) => t && !!t[j], T = (t, e, i) => {
|
|
1251
|
+
if (Nt(t)) {
|
|
1252
|
+
const a = t[j](), { matched: o, selections: n } = a.match(e);
|
|
1244
1253
|
return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
|
|
1245
1254
|
}
|
|
1246
1255
|
if (ve(t)) {
|
|
@@ -1252,7 +1261,7 @@ const N = Symbol.for("@ts-pattern/matcher"), ba = Symbol.for("@ts-pattern/isVari
|
|
|
1252
1261
|
let a = [], o = [], n = [];
|
|
1253
1262
|
for (const r of t.keys()) {
|
|
1254
1263
|
const s = t[r];
|
|
1255
|
-
|
|
1264
|
+
Nt(s) && s[ba] ? n.push(s) : n.length ? o.push(s) : a.push(s);
|
|
1256
1265
|
}
|
|
1257
1266
|
if (n.length) {
|
|
1258
1267
|
if (n.length > 1)
|
|
@@ -1260,36 +1269,36 @@ const N = Symbol.for("@ts-pattern/matcher"), ba = Symbol.for("@ts-pattern/isVari
|
|
|
1260
1269
|
if (e.length < a.length + o.length)
|
|
1261
1270
|
return !1;
|
|
1262
1271
|
const r = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), c = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
|
|
1263
|
-
return a.every((d, u) =>
|
|
1272
|
+
return a.every((d, u) => T(d, r[u], i)) && o.every((d, u) => T(d, s[u], i)) && (n.length === 0 || T(n[0], c, i));
|
|
1264
1273
|
}
|
|
1265
|
-
return t.length === e.length && t.every((r, s) =>
|
|
1274
|
+
return t.length === e.length && t.every((r, s) => T(r, e[s], i));
|
|
1266
1275
|
}
|
|
1267
1276
|
return Reflect.ownKeys(t).every((a) => {
|
|
1268
1277
|
const o = t[a];
|
|
1269
|
-
return (a in e ||
|
|
1278
|
+
return (a in e || Nt(n = o) && n[j]().matcherType === "optional") && T(o, e[a], i);
|
|
1270
1279
|
var n;
|
|
1271
1280
|
});
|
|
1272
1281
|
}
|
|
1273
1282
|
return Object.is(e, t);
|
|
1274
|
-
},
|
|
1283
|
+
}, N = (t) => {
|
|
1275
1284
|
var e, i, a;
|
|
1276
|
-
return ve(t) ?
|
|
1285
|
+
return ve(t) ? Nt(t) ? (e = (i = (a = t[j]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Ct(t, N) : Ct(Object.values(t), N) : [];
|
|
1277
1286
|
}, Ct = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
|
|
1278
|
-
function
|
|
1287
|
+
function on(...t) {
|
|
1279
1288
|
if (t.length === 1) {
|
|
1280
1289
|
const [e] = t;
|
|
1281
|
-
return (i) =>
|
|
1290
|
+
return (i) => T(e, i, () => {
|
|
1282
1291
|
});
|
|
1283
1292
|
}
|
|
1284
1293
|
if (t.length === 2) {
|
|
1285
1294
|
const [e, i] = t;
|
|
1286
|
-
return
|
|
1295
|
+
return T(e, i, () => {
|
|
1287
1296
|
});
|
|
1288
1297
|
}
|
|
1289
1298
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
1290
1299
|
}
|
|
1291
1300
|
function I(t) {
|
|
1292
|
-
return Object.assign(t, { optional: () => Ue(t), and: (e) =>
|
|
1301
|
+
return Object.assign(t, { optional: () => Ue(t), and: (e) => C(t, e), or: (e) => va(t, e), select: (e) => e === void 0 ? Et(t) : Et(e, t) });
|
|
1293
1302
|
}
|
|
1294
1303
|
function _e(t) {
|
|
1295
1304
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
@@ -1302,65 +1311,65 @@ function _e(t) {
|
|
|
1302
1311
|
} }))(t), { optional: () => _e(Ue(t)), select: (e) => _e(e === void 0 ? Et(t) : Et(e, t)) });
|
|
1303
1312
|
}
|
|
1304
1313
|
function Ue(t) {
|
|
1305
|
-
return I({ [
|
|
1314
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1306
1315
|
let i = {};
|
|
1307
1316
|
const a = (o, n) => {
|
|
1308
1317
|
i[o] = n;
|
|
1309
1318
|
};
|
|
1310
|
-
return e === void 0 ? (
|
|
1311
|
-
}, getSelectionKeys: () =>
|
|
1319
|
+
return e === void 0 ? (N(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: T(t, e, a), selections: i };
|
|
1320
|
+
}, getSelectionKeys: () => N(t), matcherType: "optional" }) });
|
|
1312
1321
|
}
|
|
1313
|
-
const
|
|
1322
|
+
const nn = (t, e) => {
|
|
1314
1323
|
for (const i of t)
|
|
1315
1324
|
if (!e(i))
|
|
1316
1325
|
return !1;
|
|
1317
1326
|
return !0;
|
|
1318
|
-
},
|
|
1327
|
+
}, rn = (t, e) => {
|
|
1319
1328
|
for (const [i, a] of t.entries())
|
|
1320
1329
|
if (!e(a, i))
|
|
1321
1330
|
return !1;
|
|
1322
1331
|
return !0;
|
|
1323
|
-
},
|
|
1332
|
+
}, sn = (t, e) => {
|
|
1324
1333
|
const i = Reflect.ownKeys(t);
|
|
1325
1334
|
for (const a of i)
|
|
1326
1335
|
if (!e(a, t[a]))
|
|
1327
1336
|
return !1;
|
|
1328
1337
|
return !0;
|
|
1329
1338
|
};
|
|
1330
|
-
function
|
|
1331
|
-
return I({ [
|
|
1339
|
+
function C(...t) {
|
|
1340
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1332
1341
|
let i = {};
|
|
1333
1342
|
const a = (o, n) => {
|
|
1334
1343
|
i[o] = n;
|
|
1335
1344
|
};
|
|
1336
|
-
return { matched: t.every((o) =>
|
|
1337
|
-
}, getSelectionKeys: () => Ct(t,
|
|
1345
|
+
return { matched: t.every((o) => T(o, e, a)), selections: i };
|
|
1346
|
+
}, getSelectionKeys: () => Ct(t, N), matcherType: "and" }) });
|
|
1338
1347
|
}
|
|
1339
1348
|
function va(...t) {
|
|
1340
|
-
return I({ [
|
|
1349
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1341
1350
|
let i = {};
|
|
1342
1351
|
const a = (o, n) => {
|
|
1343
1352
|
i[o] = n;
|
|
1344
1353
|
};
|
|
1345
|
-
return Ct(t,
|
|
1346
|
-
}, getSelectionKeys: () => Ct(t,
|
|
1354
|
+
return Ct(t, N).forEach((o) => a(o, void 0)), { matched: t.some((o) => T(o, e, a)), selections: i };
|
|
1355
|
+
}, getSelectionKeys: () => Ct(t, N), matcherType: "or" }) });
|
|
1347
1356
|
}
|
|
1348
1357
|
function m(t) {
|
|
1349
|
-
return { [
|
|
1358
|
+
return { [j]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
|
|
1350
1359
|
}
|
|
1351
1360
|
function Et(...t) {
|
|
1352
1361
|
const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
1353
|
-
return I({ [
|
|
1362
|
+
return I({ [j]: () => ({ match: (a) => {
|
|
1354
1363
|
let o = { [e ?? Wt]: a };
|
|
1355
|
-
return { matched: i === void 0 ||
|
|
1364
|
+
return { matched: i === void 0 || T(i, a, (n, r) => {
|
|
1356
1365
|
o[n] = r;
|
|
1357
1366
|
}), selections: o };
|
|
1358
|
-
}, getSelectionKeys: () => [e ?? Wt].concat(i === void 0 ? [] :
|
|
1367
|
+
}, getSelectionKeys: () => [e ?? Wt].concat(i === void 0 ? [] : N(i)) }) });
|
|
1359
1368
|
}
|
|
1360
1369
|
function _a(t) {
|
|
1361
1370
|
return !0;
|
|
1362
1371
|
}
|
|
1363
|
-
function
|
|
1372
|
+
function Z(t) {
|
|
1364
1373
|
return typeof t == "number";
|
|
1365
1374
|
}
|
|
1366
1375
|
function et(t) {
|
|
@@ -1369,29 +1378,29 @@ function et(t) {
|
|
|
1369
1378
|
function it(t) {
|
|
1370
1379
|
return typeof t == "bigint";
|
|
1371
1380
|
}
|
|
1372
|
-
const ma = I(m(_a)),
|
|
1373
|
-
return at(
|
|
1381
|
+
const ma = I(m(_a)), ln = I(m(_a)), cn = ma, at = (t) => Object.assign(I(t), { startsWith: (e) => {
|
|
1382
|
+
return at(C(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
|
|
1374
1383
|
var i;
|
|
1375
1384
|
}, endsWith: (e) => {
|
|
1376
|
-
return at(
|
|
1385
|
+
return at(C(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
|
|
1377
1386
|
var i;
|
|
1378
|
-
}, minLength: (e) => at(
|
|
1379
|
-
return at(
|
|
1387
|
+
}, minLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(C(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
|
|
1388
|
+
return at(C(t, (i = e, m((a) => et(a) && a.includes(i)))));
|
|
1380
1389
|
var i;
|
|
1381
1390
|
}, regex: (e) => {
|
|
1382
|
-
return at(
|
|
1391
|
+
return at(C(t, (i = e, m((a) => et(a) && !!a.match(i)))));
|
|
1383
1392
|
var i;
|
|
1384
|
-
} }), gi = at(m(et)),
|
|
1393
|
+
} }), gi = at(m(et)), X = (t) => Object.assign(I(t), { between: (e, i) => X(C(t, ((a, o) => m((n) => Z(n) && a <= n && o >= n))(e, i))), lt: (e) => X(C(t, ((i) => m((a) => Z(a) && a < i))(e))), gt: (e) => X(C(t, ((i) => m((a) => Z(a) && a > i))(e))), lte: (e) => X(C(t, ((i) => m((a) => Z(a) && a <= i))(e))), gte: (e) => X(C(t, ((i) => m((a) => Z(a) && a >= i))(e))), int: () => X(C(t, m((e) => Z(e) && Number.isInteger(e)))), finite: () => X(C(t, m((e) => Z(e) && Number.isFinite(e)))), positive: () => X(C(t, m((e) => Z(e) && e > 0))), negative: () => X(C(t, m((e) => Z(e) && e < 0))) }), dn = X(m(Z)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(C(t, ((a, o) => m((n) => it(n) && a <= n && o >= n))(e, i))), lt: (e) => ot(C(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(C(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(C(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(C(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(C(t, m((e) => it(e) && e > 0))), negative: () => ot(C(t, m((e) => it(e) && e < 0))) }), un = ot(m(it)), pn = I(m(function(t) {
|
|
1385
1394
|
return typeof t == "boolean";
|
|
1386
|
-
})), pn = I(m(function(t) {
|
|
1387
|
-
return typeof t == "symbol";
|
|
1388
1395
|
})), hn = I(m(function(t) {
|
|
1389
|
-
return t ==
|
|
1396
|
+
return typeof t == "symbol";
|
|
1390
1397
|
})), fn = I(m(function(t) {
|
|
1398
|
+
return t == null;
|
|
1399
|
+
})), wn = I(m(function(t) {
|
|
1391
1400
|
return t != null;
|
|
1392
1401
|
}));
|
|
1393
|
-
var zt = { __proto__: null, matcher:
|
|
1394
|
-
return _e({ [
|
|
1402
|
+
var zt = { __proto__: null, matcher: j, optional: Ue, array: function(...t) {
|
|
1403
|
+
return _e({ [j]: () => ({ match: (e) => {
|
|
1395
1404
|
if (!Array.isArray(e))
|
|
1396
1405
|
return { matched: !1 };
|
|
1397
1406
|
if (t.length === 0)
|
|
@@ -1399,16 +1408,16 @@ var zt = { __proto__: null, matcher: N, optional: Ue, array: function(...t) {
|
|
|
1399
1408
|
const i = t[0];
|
|
1400
1409
|
let a = {};
|
|
1401
1410
|
if (e.length === 0)
|
|
1402
|
-
return
|
|
1411
|
+
return N(i).forEach((n) => {
|
|
1403
1412
|
a[n] = [];
|
|
1404
1413
|
}), { matched: !0, selections: a };
|
|
1405
1414
|
const o = (n, r) => {
|
|
1406
1415
|
a[n] = (a[n] || []).concat([r]);
|
|
1407
1416
|
};
|
|
1408
|
-
return { matched: e.every((n) =>
|
|
1409
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1417
|
+
return { matched: e.every((n) => T(i, n, o)), selections: a };
|
|
1418
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1410
1419
|
}, set: function(...t) {
|
|
1411
|
-
return I({ [
|
|
1420
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1412
1421
|
if (!(e instanceof Set))
|
|
1413
1422
|
return { matched: !1 };
|
|
1414
1423
|
let i = {};
|
|
@@ -1419,10 +1428,10 @@ var zt = { __proto__: null, matcher: N, optional: Ue, array: function(...t) {
|
|
|
1419
1428
|
const a = (n, r) => {
|
|
1420
1429
|
i[n] = (i[n] || []).concat([r]);
|
|
1421
1430
|
}, o = t[0];
|
|
1422
|
-
return { matched:
|
|
1423
|
-
}, getSelectionKeys: () => t.length === 0 ? [] :
|
|
1431
|
+
return { matched: nn(e, (n) => T(o, n, a)), selections: i };
|
|
1432
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1424
1433
|
}, map: function(...t) {
|
|
1425
|
-
return I({ [
|
|
1434
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1426
1435
|
if (!(e instanceof Map))
|
|
1427
1436
|
return { matched: !1 };
|
|
1428
1437
|
let i = {};
|
|
@@ -1437,13 +1446,13 @@ var zt = { __proto__: null, matcher: N, optional: Ue, array: function(...t) {
|
|
|
1437
1446
|
if (t.length === 1)
|
|
1438
1447
|
throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
|
|
1439
1448
|
const [n, r] = t;
|
|
1440
|
-
return { matched:
|
|
1441
|
-
const d =
|
|
1449
|
+
return { matched: rn(e, (s, c) => {
|
|
1450
|
+
const d = T(n, c, a), u = T(r, s, a);
|
|
1442
1451
|
return d && u;
|
|
1443
1452
|
}), selections: i };
|
|
1444
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1453
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1445
1454
|
}, record: function(...t) {
|
|
1446
|
-
return I({ [
|
|
1455
|
+
return I({ [j]: () => ({ match: (e) => {
|
|
1447
1456
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
1448
1457
|
return { matched: !1 };
|
|
1449
1458
|
var i;
|
|
@@ -1453,22 +1462,22 @@ var zt = { __proto__: null, matcher: N, optional: Ue, array: function(...t) {
|
|
|
1453
1462
|
const o = (s, c) => {
|
|
1454
1463
|
a[s] = (a[s] || []).concat([c]);
|
|
1455
1464
|
}, [n, r] = t.length === 1 ? [gi, t[0]] : t;
|
|
1456
|
-
return { matched:
|
|
1457
|
-
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null &&
|
|
1465
|
+
return { matched: sn(e, (s, c) => {
|
|
1466
|
+
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && T(n, d, o), l = T(n, s, o), w = T(r, c, o);
|
|
1458
1467
|
return (l || u) && w;
|
|
1459
1468
|
}), selections: a };
|
|
1460
|
-
}, getSelectionKeys: () => t.length === 0 ? [] : [...
|
|
1461
|
-
}, intersection:
|
|
1462
|
-
return I({ [
|
|
1469
|
+
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1470
|
+
}, intersection: C, union: va, not: function(t) {
|
|
1471
|
+
return I({ [j]: () => ({ match: (e) => ({ matched: !T(t, e, () => {
|
|
1463
1472
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1464
|
-
}, when: m, select: Et, any: ma, unknown:
|
|
1473
|
+
}, when: m, select: Et, any: ma, unknown: ln, _: cn, string: gi, number: dn, bigint: un, boolean: pn, symbol: hn, nullish: fn, nonNullable: wn, instanceOf: function(t) {
|
|
1465
1474
|
return I(m(function(e) {
|
|
1466
1475
|
return (i) => i instanceof e;
|
|
1467
1476
|
}(t)));
|
|
1468
1477
|
}, shape: function(t) {
|
|
1469
|
-
return I(m(
|
|
1478
|
+
return I(m(on(t)));
|
|
1470
1479
|
} };
|
|
1471
|
-
class
|
|
1480
|
+
class gn extends Error {
|
|
1472
1481
|
constructor(e) {
|
|
1473
1482
|
let i;
|
|
1474
1483
|
try {
|
|
@@ -1496,7 +1505,7 @@ class Vt {
|
|
|
1496
1505
|
let n = !1, r = {};
|
|
1497
1506
|
const s = (d, u) => {
|
|
1498
1507
|
n = !0, r[d] = u;
|
|
1499
|
-
}, c = !a.some((d) =>
|
|
1508
|
+
}, c = !a.some((d) => T(d, this.input, s)) || o && !o(this.input) ? me : { matched: !0, value: i(n ? Wt in r ? r[Wt] : r : this.input, this.input) };
|
|
1500
1509
|
return new Vt(this.input, c);
|
|
1501
1510
|
}
|
|
1502
1511
|
when(e, i) {
|
|
@@ -1508,7 +1517,7 @@ class Vt {
|
|
|
1508
1517
|
otherwise(e) {
|
|
1509
1518
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1510
1519
|
}
|
|
1511
|
-
exhaustive(e =
|
|
1520
|
+
exhaustive(e = bn) {
|
|
1512
1521
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1513
1522
|
}
|
|
1514
1523
|
run() {
|
|
@@ -1521,10 +1530,10 @@ class Vt {
|
|
|
1521
1530
|
return this;
|
|
1522
1531
|
}
|
|
1523
1532
|
}
|
|
1524
|
-
function
|
|
1525
|
-
throw new
|
|
1533
|
+
function bn(t) {
|
|
1534
|
+
throw new gn(t);
|
|
1526
1535
|
}
|
|
1527
|
-
var
|
|
1536
|
+
var vn = ["other", "few", "many", "two", "one", "zero"], bi = ({
|
|
1528
1537
|
terms: t,
|
|
1529
1538
|
overrides: e,
|
|
1530
1539
|
locale: i
|
|
@@ -1543,7 +1552,7 @@ var bn = ["other", "few", "many", "two", "one", "zero"], bi = ({
|
|
|
1543
1552
|
throw new Error(`Missing count for translation key “${n.toString()}”`);
|
|
1544
1553
|
let c = a.select(r.count);
|
|
1545
1554
|
if (!(c in s)) {
|
|
1546
|
-
const d =
|
|
1555
|
+
const d = vn.find((u) => u in s);
|
|
1547
1556
|
if (!d)
|
|
1548
1557
|
throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
|
|
1549
1558
|
c = d;
|
|
@@ -1558,12 +1567,12 @@ var bn = ["other", "few", "many", "two", "one", "zero"], bi = ({
|
|
|
1558
1567
|
}
|
|
1559
1568
|
}
|
|
1560
1569
|
return o;
|
|
1561
|
-
},
|
|
1570
|
+
}, _n = 0;
|
|
1562
1571
|
function p(t, e, i, a, o, n) {
|
|
1563
1572
|
var r, s, c = {};
|
|
1564
1573
|
for (s in e)
|
|
1565
1574
|
s == "ref" ? r = e[s] : c[s] = e[s];
|
|
1566
|
-
var d = { type: t, props: c, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --
|
|
1575
|
+
var d = { type: t, props: c, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --_n, __source: o, __self: n };
|
|
1567
1576
|
if (typeof t == "function" && (r = t.defaultProps))
|
|
1568
1577
|
for (s in r)
|
|
1569
1578
|
c[s] === void 0 && (c[s] = r[s]);
|
|
@@ -1585,13 +1594,13 @@ var vi = ea(null), ya = (t) => ({
|
|
|
1585
1594
|
overrides: e,
|
|
1586
1595
|
locale: i
|
|
1587
1596
|
}) => bi({ terms: t, overrides: e, locale: i })
|
|
1588
|
-
}), { TranslationProvider:
|
|
1597
|
+
}), { TranslationProvider: Lr, useTranslation: Rr, createTFunction: Hr, defaultTerms: mn } = ya({ submission_redirect_message: "Almost there! Please complete your submission here:", complete_submission: "Complete submission", submission_completed: "Submission completed!", submission_pending: "Thanks, we've received your application and are processing it.", submission_failed: "Failed to submit", submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.", submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.", submission_available_at: "Submit will be available again at {{time}}.", resume_prompt: "You have an unfinished application for this role. Continue where you left off?", resume_continue: "Continue", resume_start_again: "Start again", captcha_failed: "Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.", 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_file_empty: "This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.", 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" });
|
|
1589
1598
|
const {
|
|
1590
|
-
TranslationProvider:
|
|
1591
|
-
useTranslation:
|
|
1592
|
-
createTFunction:
|
|
1599
|
+
TranslationProvider: yn,
|
|
1600
|
+
useTranslation: Gt,
|
|
1601
|
+
createTFunction: xn
|
|
1593
1602
|
} = ya({
|
|
1594
|
-
...
|
|
1603
|
+
...mn,
|
|
1595
1604
|
error_heading: "Something unexpected happened",
|
|
1596
1605
|
undo: "Change answer",
|
|
1597
1606
|
conversation_history: "Conversation history",
|
|
@@ -1645,12 +1654,12 @@ function xa(t, e) {
|
|
|
1645
1654
|
if (!t)
|
|
1646
1655
|
throw new Error(e);
|
|
1647
1656
|
}
|
|
1648
|
-
var ye = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ye) : Object.keys(t).sort().reduce((e, i) => (e[i] = ye(t[i]), e), {}),
|
|
1657
|
+
var ye = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ye) : Object.keys(t).sort().reduce((e, i) => (e[i] = ye(t[i]), e), {}), kn = (t) => {
|
|
1649
1658
|
let e = JSON.stringify(ye(t)), i = 5381;
|
|
1650
1659
|
for (let a = 0; a < e.length; a++)
|
|
1651
1660
|
i = i * 33 ^ e.charCodeAt(a);
|
|
1652
1661
|
return (i >>> 0).toString(36);
|
|
1653
|
-
},
|
|
1662
|
+
}, $n = Symbol.for("preact-signals");
|
|
1654
1663
|
function Ve() {
|
|
1655
1664
|
if (ht > 1)
|
|
1656
1665
|
ht--;
|
|
@@ -1672,63 +1681,63 @@ function Ve() {
|
|
|
1672
1681
|
throw t;
|
|
1673
1682
|
}
|
|
1674
1683
|
}
|
|
1675
|
-
var
|
|
1684
|
+
var $ = void 0, $t = void 0, ht = 0, xe = 0, Yt = 0;
|
|
1676
1685
|
function ka(t) {
|
|
1677
|
-
if (
|
|
1686
|
+
if ($ !== void 0) {
|
|
1678
1687
|
var e = t.n;
|
|
1679
|
-
if (e === void 0 || e.t !==
|
|
1680
|
-
return e = { i: 0, S: t, p:
|
|
1688
|
+
if (e === void 0 || e.t !== $)
|
|
1689
|
+
return e = { i: 0, S: t, p: $.s, n: void 0, t: $, e: void 0, x: void 0, r: e }, $.s !== void 0 && ($.s.n = e), $.s = e, t.n = e, 32 & $.f && t.S(e), e;
|
|
1681
1690
|
if (e.i === -1)
|
|
1682
|
-
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p =
|
|
1691
|
+
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = $.s, e.n = void 0, $.s.n = e, $.s = e), e;
|
|
1683
1692
|
}
|
|
1684
1693
|
}
|
|
1685
|
-
function
|
|
1694
|
+
function A(t) {
|
|
1686
1695
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1687
1696
|
}
|
|
1688
|
-
|
|
1689
|
-
|
|
1697
|
+
A.prototype.brand = $n;
|
|
1698
|
+
A.prototype.h = function() {
|
|
1690
1699
|
return !0;
|
|
1691
1700
|
};
|
|
1692
|
-
|
|
1701
|
+
A.prototype.S = function(t) {
|
|
1693
1702
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
1694
1703
|
};
|
|
1695
|
-
|
|
1704
|
+
A.prototype.U = function(t) {
|
|
1696
1705
|
if (this.t !== void 0) {
|
|
1697
1706
|
var e = t.e, i = t.x;
|
|
1698
1707
|
e !== void 0 && (e.x = i, t.e = void 0), i !== void 0 && (i.e = e, t.x = void 0), t === this.t && (this.t = i);
|
|
1699
1708
|
}
|
|
1700
1709
|
};
|
|
1701
|
-
|
|
1710
|
+
A.prototype.subscribe = function(t) {
|
|
1702
1711
|
var e = this;
|
|
1703
1712
|
return Ke(function() {
|
|
1704
|
-
var i = e.value, a =
|
|
1705
|
-
|
|
1713
|
+
var i = e.value, a = $;
|
|
1714
|
+
$ = void 0;
|
|
1706
1715
|
try {
|
|
1707
1716
|
t(i);
|
|
1708
1717
|
} finally {
|
|
1709
|
-
|
|
1718
|
+
$ = a;
|
|
1710
1719
|
}
|
|
1711
1720
|
});
|
|
1712
1721
|
};
|
|
1713
|
-
|
|
1722
|
+
A.prototype.valueOf = function() {
|
|
1714
1723
|
return this.value;
|
|
1715
1724
|
};
|
|
1716
|
-
|
|
1725
|
+
A.prototype.toString = function() {
|
|
1717
1726
|
return this.value + "";
|
|
1718
1727
|
};
|
|
1719
|
-
|
|
1728
|
+
A.prototype.toJSON = function() {
|
|
1720
1729
|
return this.value;
|
|
1721
1730
|
};
|
|
1722
|
-
|
|
1723
|
-
var t =
|
|
1724
|
-
|
|
1731
|
+
A.prototype.peek = function() {
|
|
1732
|
+
var t = $;
|
|
1733
|
+
$ = void 0;
|
|
1725
1734
|
try {
|
|
1726
1735
|
return this.value;
|
|
1727
1736
|
} finally {
|
|
1728
|
-
|
|
1737
|
+
$ = t;
|
|
1729
1738
|
}
|
|
1730
1739
|
};
|
|
1731
|
-
Object.defineProperty(
|
|
1740
|
+
Object.defineProperty(A.prototype, "value", { get: function() {
|
|
1732
1741
|
var t = ka(this);
|
|
1733
1742
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1734
1743
|
}, set: function(t) {
|
|
@@ -1745,7 +1754,7 @@ Object.defineProperty(D.prototype, "value", { get: function() {
|
|
|
1745
1754
|
}
|
|
1746
1755
|
} });
|
|
1747
1756
|
function U(t) {
|
|
1748
|
-
return new
|
|
1757
|
+
return new A(t);
|
|
1749
1758
|
}
|
|
1750
1759
|
function $a(t) {
|
|
1751
1760
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
@@ -1770,24 +1779,24 @@ function Ca(t) {
|
|
|
1770
1779
|
t.s = i;
|
|
1771
1780
|
}
|
|
1772
1781
|
function vt(t) {
|
|
1773
|
-
|
|
1782
|
+
A.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
|
|
1774
1783
|
}
|
|
1775
|
-
(vt.prototype = new
|
|
1784
|
+
(vt.prototype = new A()).h = function() {
|
|
1776
1785
|
if (this.f &= -3, 1 & this.f)
|
|
1777
1786
|
return !1;
|
|
1778
1787
|
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
|
|
1779
1788
|
return !0;
|
|
1780
1789
|
if (this.g = Yt, this.f |= 1, this.i > 0 && !$a(this))
|
|
1781
1790
|
return this.f &= -2, !0;
|
|
1782
|
-
var t =
|
|
1791
|
+
var t = $;
|
|
1783
1792
|
try {
|
|
1784
|
-
Sa(this),
|
|
1793
|
+
Sa(this), $ = this;
|
|
1785
1794
|
var e = this.x();
|
|
1786
1795
|
(16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
|
|
1787
1796
|
} catch (i) {
|
|
1788
1797
|
this.v = i, this.f |= 16, this.i++;
|
|
1789
1798
|
}
|
|
1790
|
-
return
|
|
1799
|
+
return $ = t, Ca(this), this.f &= -2, !0;
|
|
1791
1800
|
};
|
|
1792
1801
|
vt.prototype.S = function(t) {
|
|
1793
1802
|
if (this.t === void 0) {
|
|
@@ -1795,10 +1804,10 @@ vt.prototype.S = function(t) {
|
|
|
1795
1804
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1796
1805
|
e.S.S(e);
|
|
1797
1806
|
}
|
|
1798
|
-
|
|
1807
|
+
A.prototype.S.call(this, t);
|
|
1799
1808
|
};
|
|
1800
1809
|
vt.prototype.U = function(t) {
|
|
1801
|
-
if (this.t !== void 0 && (
|
|
1810
|
+
if (this.t !== void 0 && (A.prototype.U.call(this, t), this.t === void 0)) {
|
|
1802
1811
|
this.f &= -33;
|
|
1803
1812
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1804
1813
|
e.S.U(e);
|
|
@@ -1819,21 +1828,21 @@ Object.defineProperty(vt.prototype, "value", { get: function() {
|
|
|
1819
1828
|
throw this.v;
|
|
1820
1829
|
return this.v;
|
|
1821
1830
|
} });
|
|
1822
|
-
function
|
|
1831
|
+
function Sn(t) {
|
|
1823
1832
|
return new vt(t);
|
|
1824
1833
|
}
|
|
1825
1834
|
function Ea(t) {
|
|
1826
1835
|
var e = t.u;
|
|
1827
1836
|
if (t.u = void 0, typeof e == "function") {
|
|
1828
1837
|
ht++;
|
|
1829
|
-
var i =
|
|
1830
|
-
|
|
1838
|
+
var i = $;
|
|
1839
|
+
$ = void 0;
|
|
1831
1840
|
try {
|
|
1832
1841
|
e();
|
|
1833
1842
|
} catch (a) {
|
|
1834
1843
|
throw t.f &= -2, t.f |= 8, Ye(t), a;
|
|
1835
1844
|
} finally {
|
|
1836
|
-
|
|
1845
|
+
$ = i, Ve();
|
|
1837
1846
|
}
|
|
1838
1847
|
}
|
|
1839
1848
|
}
|
|
@@ -1842,15 +1851,15 @@ function Ye(t) {
|
|
|
1842
1851
|
e.S.U(e);
|
|
1843
1852
|
t.x = void 0, t.s = void 0, Ea(t);
|
|
1844
1853
|
}
|
|
1845
|
-
function
|
|
1846
|
-
if (
|
|
1854
|
+
function Cn(t) {
|
|
1855
|
+
if ($ !== this)
|
|
1847
1856
|
throw new Error("Out-of-order effect");
|
|
1848
|
-
Ca(this),
|
|
1857
|
+
Ca(this), $ = t, this.f &= -2, 8 & this.f && Ye(this), Ve();
|
|
1849
1858
|
}
|
|
1850
|
-
function
|
|
1859
|
+
function Pt(t) {
|
|
1851
1860
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
1852
1861
|
}
|
|
1853
|
-
|
|
1862
|
+
Pt.prototype.c = function() {
|
|
1854
1863
|
var t = this.S();
|
|
1855
1864
|
try {
|
|
1856
1865
|
if (8 & this.f || this.x === void 0)
|
|
@@ -1861,21 +1870,21 @@ Tt.prototype.c = function() {
|
|
|
1861
1870
|
t();
|
|
1862
1871
|
}
|
|
1863
1872
|
};
|
|
1864
|
-
|
|
1873
|
+
Pt.prototype.S = function() {
|
|
1865
1874
|
if (1 & this.f)
|
|
1866
1875
|
throw new Error("Cycle detected");
|
|
1867
1876
|
this.f |= 1, this.f &= -9, Ea(this), Sa(this), ht++;
|
|
1868
|
-
var t =
|
|
1869
|
-
return
|
|
1877
|
+
var t = $;
|
|
1878
|
+
return $ = this, Cn.bind(this, t);
|
|
1870
1879
|
};
|
|
1871
|
-
|
|
1880
|
+
Pt.prototype.N = function() {
|
|
1872
1881
|
2 & this.f || (this.f |= 2, this.o = $t, $t = this);
|
|
1873
1882
|
};
|
|
1874
|
-
|
|
1883
|
+
Pt.prototype.d = function() {
|
|
1875
1884
|
this.f |= 8, 1 & this.f || Ye(this);
|
|
1876
1885
|
};
|
|
1877
1886
|
function Ke(t) {
|
|
1878
|
-
var e = new
|
|
1887
|
+
var e = new Pt(t);
|
|
1879
1888
|
try {
|
|
1880
1889
|
e.c();
|
|
1881
1890
|
} catch (i) {
|
|
@@ -1891,8 +1900,8 @@ function _t(t, e) {
|
|
|
1891
1900
|
function Kt(t) {
|
|
1892
1901
|
oe && oe(), oe = t && t.S();
|
|
1893
1902
|
}
|
|
1894
|
-
function
|
|
1895
|
-
var e = this, i = t.data, a =
|
|
1903
|
+
function Ta(t) {
|
|
1904
|
+
var e = this, i = t.data, a = Tn(i);
|
|
1896
1905
|
a.value = i;
|
|
1897
1906
|
var o = dt(function() {
|
|
1898
1907
|
for (var n = e.__v; n = n.__; )
|
|
@@ -1903,15 +1912,15 @@ function Pa(t) {
|
|
|
1903
1912
|
return e.__$u.c = function() {
|
|
1904
1913
|
var r;
|
|
1905
1914
|
!Ui(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
|
|
1906
|
-
},
|
|
1915
|
+
}, Sn(function() {
|
|
1907
1916
|
var r = a.value.value;
|
|
1908
1917
|
return r === 0 ? 0 : r === !0 ? "" : r || "";
|
|
1909
1918
|
});
|
|
1910
1919
|
}, []);
|
|
1911
1920
|
return o.value;
|
|
1912
1921
|
}
|
|
1913
|
-
|
|
1914
|
-
Object.defineProperties(
|
|
1922
|
+
Ta.displayName = "_st";
|
|
1923
|
+
Object.defineProperties(A.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Ta }, props: { configurable: !0, get: function() {
|
|
1915
1924
|
return { data: this };
|
|
1916
1925
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1917
1926
|
_t("__b", function(t, e) {
|
|
@@ -1920,7 +1929,7 @@ _t("__b", function(t, e) {
|
|
|
1920
1929
|
for (var o in a)
|
|
1921
1930
|
if (o !== "children") {
|
|
1922
1931
|
var n = a[o];
|
|
1923
|
-
n instanceof
|
|
1932
|
+
n instanceof A && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
|
|
1924
1933
|
}
|
|
1925
1934
|
}
|
|
1926
1935
|
t(e);
|
|
@@ -1956,13 +1965,13 @@ _t("diffed", function(t, e) {
|
|
|
1956
1965
|
i.U = n = {};
|
|
1957
1966
|
for (var c in a) {
|
|
1958
1967
|
var d = n[c], u = a[c];
|
|
1959
|
-
d === void 0 ? (d =
|
|
1968
|
+
d === void 0 ? (d = En(i, c, u, o), n[c] = d) : d.o(u, o);
|
|
1960
1969
|
}
|
|
1961
1970
|
}
|
|
1962
1971
|
}
|
|
1963
1972
|
t(e);
|
|
1964
1973
|
});
|
|
1965
|
-
function
|
|
1974
|
+
function En(t, e, i, a) {
|
|
1966
1975
|
var o = e in t && t.ownerSVGElement === void 0, n = U(i);
|
|
1967
1976
|
return { o: function(r, s) {
|
|
1968
1977
|
n.value = r, a = s;
|
|
@@ -2010,7 +2019,7 @@ W.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
2010
2019
|
return !0;
|
|
2011
2020
|
return !1;
|
|
2012
2021
|
};
|
|
2013
|
-
function
|
|
2022
|
+
function Tn(t) {
|
|
2014
2023
|
return dt(function() {
|
|
2015
2024
|
return U(t);
|
|
2016
2025
|
}, []);
|
|
@@ -2026,7 +2035,7 @@ function Pn() {
|
|
|
2026
2035
|
IDBTransaction
|
|
2027
2036
|
]);
|
|
2028
2037
|
}
|
|
2029
|
-
function
|
|
2038
|
+
function In() {
|
|
2030
2039
|
return mi || (mi = [
|
|
2031
2040
|
IDBCursor.prototype.advance,
|
|
2032
2041
|
IDBCursor.prototype.continue,
|
|
@@ -2034,7 +2043,7 @@ function Tn() {
|
|
|
2034
2043
|
]);
|
|
2035
2044
|
}
|
|
2036
2045
|
const $e = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap();
|
|
2037
|
-
function
|
|
2046
|
+
function zn(t) {
|
|
2038
2047
|
const e = new Promise((i, a) => {
|
|
2039
2048
|
const o = () => {
|
|
2040
2049
|
t.removeEventListener("success", n), t.removeEventListener("error", r);
|
|
@@ -2047,7 +2056,7 @@ function In(t) {
|
|
|
2047
2056
|
});
|
|
2048
2057
|
return Jt.set(e, t), e;
|
|
2049
2058
|
}
|
|
2050
|
-
function
|
|
2059
|
+
function Dn(t) {
|
|
2051
2060
|
if ($e.has(t))
|
|
2052
2061
|
return;
|
|
2053
2062
|
const e = new Promise((i, a) => {
|
|
@@ -2079,29 +2088,29 @@ let Se = {
|
|
|
2079
2088
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
|
2080
2089
|
}
|
|
2081
2090
|
};
|
|
2082
|
-
function
|
|
2091
|
+
function Pa(t) {
|
|
2083
2092
|
Se = t(Se);
|
|
2084
2093
|
}
|
|
2085
|
-
function
|
|
2086
|
-
return
|
|
2094
|
+
function On(t) {
|
|
2095
|
+
return In().includes(t) ? function(...e) {
|
|
2087
2096
|
return t.apply(Ce(this), e), lt(this.request);
|
|
2088
2097
|
} : function(...e) {
|
|
2089
2098
|
return lt(t.apply(Ce(this), e));
|
|
2090
2099
|
};
|
|
2091
2100
|
}
|
|
2092
|
-
function
|
|
2093
|
-
return typeof t == "function" ?
|
|
2101
|
+
function An(t) {
|
|
2102
|
+
return typeof t == "function" ? On(t) : (t instanceof IDBTransaction && Dn(t), ke(t, Pn()) ? new Proxy(t, Se) : t);
|
|
2094
2103
|
}
|
|
2095
2104
|
function lt(t) {
|
|
2096
2105
|
if (t instanceof IDBRequest)
|
|
2097
|
-
return
|
|
2106
|
+
return zn(t);
|
|
2098
2107
|
if (ne.has(t))
|
|
2099
2108
|
return ne.get(t);
|
|
2100
|
-
const e =
|
|
2109
|
+
const e = An(t);
|
|
2101
2110
|
return e !== t && (ne.set(t, e), Jt.set(e, t)), e;
|
|
2102
2111
|
}
|
|
2103
2112
|
const Ce = (t) => Jt.get(t);
|
|
2104
|
-
function
|
|
2113
|
+
function Nn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
2105
2114
|
const r = indexedDB.open(t, e), s = lt(r);
|
|
2106
2115
|
return a && r.addEventListener("upgradeneeded", (c) => {
|
|
2107
2116
|
a(lt(r.result), c.oldVersion, c.newVersion, lt(r.transaction), c);
|
|
@@ -2115,13 +2124,13 @@ function Dn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
|
|
|
2115
2124
|
}).catch(() => {
|
|
2116
2125
|
}), s;
|
|
2117
2126
|
}
|
|
2118
|
-
const jn = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
|
2127
|
+
const jn = ["get", "getKey", "getAll", "getAllKeys", "count"], Fn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
|
|
2119
2128
|
function yi(t, e) {
|
|
2120
2129
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2121
2130
|
return;
|
|
2122
2131
|
if (re.get(e))
|
|
2123
2132
|
return re.get(e);
|
|
2124
|
-
const i = e.replace(/FromIndex$/, ""), a = e !== i, o =
|
|
2133
|
+
const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Fn.includes(i);
|
|
2125
2134
|
if (
|
|
2126
2135
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2127
2136
|
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || jn.includes(i))
|
|
@@ -2137,12 +2146,12 @@ function yi(t, e) {
|
|
|
2137
2146
|
};
|
|
2138
2147
|
return re.set(e, n), n;
|
|
2139
2148
|
}
|
|
2140
|
-
|
|
2149
|
+
Pa((t) => ({
|
|
2141
2150
|
...t,
|
|
2142
2151
|
get: (e, i, a) => yi(e, i) || t.get(e, i, a),
|
|
2143
2152
|
has: (e, i) => !!yi(e, i) || t.has(e, i)
|
|
2144
2153
|
}));
|
|
2145
|
-
const Mn = ["continue", "continuePrimaryKey", "advance"], xi = {}, Ee = /* @__PURE__ */ new WeakMap(), Ia = /* @__PURE__ */ new WeakMap(),
|
|
2154
|
+
const Mn = ["continue", "continuePrimaryKey", "advance"], xi = {}, Ee = /* @__PURE__ */ new WeakMap(), Ia = /* @__PURE__ */ new WeakMap(), Bn = {
|
|
2146
2155
|
get(t, e) {
|
|
2147
2156
|
if (!Mn.includes(e))
|
|
2148
2157
|
return t[e];
|
|
@@ -2152,28 +2161,28 @@ const Mn = ["continue", "continuePrimaryKey", "advance"], xi = {}, Ee = /* @__PU
|
|
|
2152
2161
|
}), i;
|
|
2153
2162
|
}
|
|
2154
2163
|
};
|
|
2155
|
-
async function*
|
|
2164
|
+
async function* Ln(...t) {
|
|
2156
2165
|
let e = this;
|
|
2157
2166
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2158
2167
|
return;
|
|
2159
2168
|
e = e;
|
|
2160
|
-
const i = new Proxy(e,
|
|
2169
|
+
const i = new Proxy(e, Bn);
|
|
2161
2170
|
for (Ia.set(i, e), Jt.set(i, Ce(e)); e; )
|
|
2162
2171
|
yield i, e = await (Ee.get(i) || e.continue()), Ee.delete(i);
|
|
2163
2172
|
}
|
|
2164
2173
|
function ki(t, e) {
|
|
2165
2174
|
return e === Symbol.asyncIterator && ke(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && ke(t, [IDBIndex, IDBObjectStore]);
|
|
2166
2175
|
}
|
|
2167
|
-
|
|
2176
|
+
Pa((t) => ({
|
|
2168
2177
|
...t,
|
|
2169
2178
|
get(e, i, a) {
|
|
2170
|
-
return ki(e, i) ?
|
|
2179
|
+
return ki(e, i) ? Ln : t.get(e, i, a);
|
|
2171
2180
|
},
|
|
2172
2181
|
has(e, i) {
|
|
2173
2182
|
return ki(e, i) || t.has(e, i);
|
|
2174
2183
|
}
|
|
2175
2184
|
}));
|
|
2176
|
-
const
|
|
2185
|
+
const jt = typeof indexedDB > "u" ? void 0 : Nn("inploi-chatbot", 3, {
|
|
2177
2186
|
upgrade(t) {
|
|
2178
2187
|
try {
|
|
2179
2188
|
t.deleteObjectStore("state");
|
|
@@ -2181,14 +2190,25 @@ const Nt = typeof indexedDB > "u" ? void 0 : Dn("inploi-chatbot", 3, {
|
|
|
2181
2190
|
}
|
|
2182
2191
|
t.createObjectStore("state");
|
|
2183
2192
|
}
|
|
2193
|
+
}), Rn = (t) => ({
|
|
2194
|
+
...t,
|
|
2195
|
+
messages: t.messages.map((e) => {
|
|
2196
|
+
if (e.type !== "link")
|
|
2197
|
+
return e;
|
|
2198
|
+
const {
|
|
2199
|
+
onClick: i,
|
|
2200
|
+
...a
|
|
2201
|
+
} = e;
|
|
2202
|
+
return a;
|
|
2203
|
+
})
|
|
2184
2204
|
});
|
|
2185
|
-
let
|
|
2205
|
+
let Ft, se, mt;
|
|
2186
2206
|
const $i = () => {
|
|
2187
|
-
if (!
|
|
2207
|
+
if (!Ft)
|
|
2188
2208
|
return mt;
|
|
2189
|
-
const t =
|
|
2190
|
-
|
|
2191
|
-
const e = qt(t), i =
|
|
2209
|
+
const t = Ft;
|
|
2210
|
+
Ft = void 0;
|
|
2211
|
+
const e = qt(t), i = jt == null ? void 0 : jt.then((a) => a.put("state", Rn(t.data), e)).finally(() => {
|
|
2192
2212
|
mt === i && (mt = void 0);
|
|
2193
2213
|
});
|
|
2194
2214
|
return mt = i, mt;
|
|
@@ -2200,13 +2220,13 @@ const $i = () => {
|
|
|
2200
2220
|
flowKeys: e,
|
|
2201
2221
|
context: i
|
|
2202
2222
|
});
|
|
2203
|
-
return (o = await
|
|
2223
|
+
return (o = await jt) == null ? void 0 : o.get("state", a);
|
|
2204
2224
|
},
|
|
2205
2225
|
setStateData: (t) => {
|
|
2206
|
-
|
|
2226
|
+
Ft = t, clearTimeout(se), se = setTimeout(() => void $i(), 1e3);
|
|
2207
2227
|
},
|
|
2208
2228
|
flushStateData: () => (clearTimeout(se), $i() ?? Promise.resolve())
|
|
2209
|
-
},
|
|
2229
|
+
}, Ur = (t) => (e) => e ? e.type === t : !1, Hn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Si = () => ({
|
|
2210
2230
|
messages: [],
|
|
2211
2231
|
submissions: {},
|
|
2212
2232
|
currentInput: null,
|
|
@@ -2215,8 +2235,8 @@ const $i = () => {
|
|
|
2215
2235
|
isFinished: !1,
|
|
2216
2236
|
hasInteracted: !1,
|
|
2217
2237
|
sequence: 0,
|
|
2218
|
-
flowSessionId:
|
|
2219
|
-
}),
|
|
2238
|
+
flowSessionId: Hn()
|
|
2239
|
+
}), Wr = (t) => (
|
|
2220
2240
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2221
2241
|
We(t).with({
|
|
2222
2242
|
nativeEvent: {
|
|
@@ -2225,7 +2245,7 @@ const $i = () => {
|
|
|
2225
2245
|
}, (e) => e).otherwise(() => {
|
|
2226
2246
|
throw new Error("invalid submitter");
|
|
2227
2247
|
})
|
|
2228
|
-
),
|
|
2248
|
+
), Mt = (t, e, i, a = 0) => {
|
|
2229
2249
|
if (!e.nextId)
|
|
2230
2250
|
return i(e.id, {
|
|
2231
2251
|
stepsMade: a,
|
|
@@ -2242,7 +2262,7 @@ const $i = () => {
|
|
|
2242
2262
|
};
|
|
2243
2263
|
const n = e.type === "if-block" ? e.branchId : void 0, r = t.find((d) => d.id === n), s = e.type.includes("question") ? 1 : 0;
|
|
2244
2264
|
if (r) {
|
|
2245
|
-
const d = s + Math.max(
|
|
2265
|
+
const d = s + Math.max(Mt(t, o, i, a + s).remainingSteps, Mt(t, r, i, a + s).remainingSteps);
|
|
2246
2266
|
return i(e.id, {
|
|
2247
2267
|
stepsMade: a,
|
|
2248
2268
|
remainingSteps: d
|
|
@@ -2251,7 +2271,7 @@ const $i = () => {
|
|
|
2251
2271
|
remainingSteps: d
|
|
2252
2272
|
};
|
|
2253
2273
|
}
|
|
2254
|
-
const c = s +
|
|
2274
|
+
const c = s + Mt(t, o, i, a + s).remainingSteps;
|
|
2255
2275
|
return i(e.id, {
|
|
2256
2276
|
stepsMade: a,
|
|
2257
2277
|
remainingSteps: c
|
|
@@ -2259,40 +2279,40 @@ const $i = () => {
|
|
|
2259
2279
|
stepsMade: a,
|
|
2260
2280
|
remainingSteps: c
|
|
2261
2281
|
};
|
|
2262
|
-
},
|
|
2282
|
+
}, Un = (t) => {
|
|
2263
2283
|
const e = {}, i = t.find((a) => a.isHead);
|
|
2264
|
-
return i &&
|
|
2284
|
+
return i && Mt(t, i, (a, o) => {
|
|
2265
2285
|
e[a] = o;
|
|
2266
2286
|
}), e;
|
|
2267
|
-
}, qt = (t) => [...t.flowKeys, t.id, t.version, t.build,
|
|
2287
|
+
}, qt = (t) => [...t.flowKeys, t.id, t.version, t.build, kn(t.context)].join("/"), Wn = ({
|
|
2268
2288
|
data: t,
|
|
2269
2289
|
nodes: e
|
|
2270
2290
|
}) => {
|
|
2271
2291
|
const i = t.startedWriteNodeIds === void 0 ? e.some((a) => a.type === "integration-application-submit" && t.nodeHistory.includes(a.id)) : t.startedWriteNodeIds.length > 0;
|
|
2272
|
-
return !t.isFinished && !i &&
|
|
2273
|
-
},
|
|
2292
|
+
return !t.isFinished && !i && Fi(e, t.submissions);
|
|
2293
|
+
}, Vn = ({
|
|
2274
2294
|
data: t,
|
|
2275
2295
|
nodes: e
|
|
2276
2296
|
}) => {
|
|
2277
2297
|
var i;
|
|
2278
|
-
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 ||
|
|
2279
|
-
},
|
|
2298
|
+
return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || Fi(e, t.submissions));
|
|
2299
|
+
}, G = U({
|
|
2280
2300
|
state: "idle"
|
|
2281
2301
|
}), le = /* @__PURE__ */ new Set(), rt = (t) => {
|
|
2282
2302
|
const {
|
|
2283
2303
|
state: e,
|
|
2284
2304
|
flow: i
|
|
2285
|
-
} =
|
|
2305
|
+
} = G.value;
|
|
2286
2306
|
if (e !== "loaded")
|
|
2287
2307
|
return;
|
|
2288
2308
|
xa(i, "No flow to update");
|
|
2289
2309
|
const a = t(i.data);
|
|
2290
|
-
i.data = a,
|
|
2310
|
+
i.data = a, G.value = {
|
|
2291
2311
|
state: e,
|
|
2292
2312
|
flow: i
|
|
2293
2313
|
}, H.setStateData(i);
|
|
2294
|
-
},
|
|
2295
|
-
current$:
|
|
2314
|
+
}, S = {
|
|
2315
|
+
current$: G,
|
|
2296
2316
|
viewState$: U("closed"),
|
|
2297
2317
|
prepareFlow: async ({
|
|
2298
2318
|
flow: t,
|
|
@@ -2309,7 +2329,7 @@ const $i = () => {
|
|
|
2309
2329
|
...t,
|
|
2310
2330
|
flowKeys: i,
|
|
2311
2331
|
context: e
|
|
2312
|
-
}), u = s !== void 0 && !le.has(d) &&
|
|
2332
|
+
}), u = s !== void 0 && !le.has(d) && Wn({
|
|
2313
2333
|
data: c,
|
|
2314
2334
|
nodes: t.nodes
|
|
2315
2335
|
});
|
|
@@ -2317,7 +2337,7 @@ const $i = () => {
|
|
|
2317
2337
|
data: c,
|
|
2318
2338
|
offerResume: u,
|
|
2319
2339
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2320
|
-
nodeIdToProgress:
|
|
2340
|
+
nodeIdToProgress: Un(t.nodes),
|
|
2321
2341
|
flowKeys: i,
|
|
2322
2342
|
id: t.id,
|
|
2323
2343
|
version: t.version,
|
|
@@ -2331,7 +2351,7 @@ const $i = () => {
|
|
|
2331
2351
|
};
|
|
2332
2352
|
},
|
|
2333
2353
|
commitFlow: (t) => {
|
|
2334
|
-
|
|
2354
|
+
G.value = {
|
|
2335
2355
|
state: "loaded",
|
|
2336
2356
|
flow: t
|
|
2337
2357
|
}, H.setStateData(t);
|
|
@@ -2341,9 +2361,9 @@ const $i = () => {
|
|
|
2341
2361
|
t.offerResume = !1, le.add(qt(t));
|
|
2342
2362
|
},
|
|
2343
2363
|
cancelCurrentFlow: () => {
|
|
2344
|
-
|
|
2364
|
+
G.value = {
|
|
2345
2365
|
state: "idle"
|
|
2346
|
-
},
|
|
2366
|
+
}, S.viewState$.value = "closed";
|
|
2347
2367
|
},
|
|
2348
2368
|
markAsFinished: () => rt((t) => ({
|
|
2349
2369
|
...t,
|
|
@@ -2361,7 +2381,7 @@ const $i = () => {
|
|
|
2361
2381
|
const {
|
|
2362
2382
|
state: t,
|
|
2363
2383
|
flow: e
|
|
2364
|
-
} =
|
|
2384
|
+
} = G.value;
|
|
2365
2385
|
if (t !== "loaded")
|
|
2366
2386
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2367
2387
|
const i = {
|
|
@@ -2375,7 +2395,7 @@ const $i = () => {
|
|
|
2375
2395
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2376
2396
|
offerResume: !1
|
|
2377
2397
|
};
|
|
2378
|
-
|
|
2398
|
+
G.value = {
|
|
2379
2399
|
state: t,
|
|
2380
2400
|
flow: a
|
|
2381
2401
|
}, H.setStateData(a);
|
|
@@ -2392,7 +2412,7 @@ const $i = () => {
|
|
|
2392
2412
|
const {
|
|
2393
2413
|
state: e,
|
|
2394
2414
|
flow: i
|
|
2395
|
-
} =
|
|
2415
|
+
} = G.value;
|
|
2396
2416
|
xa(e === "loaded", "Application not loaded");
|
|
2397
2417
|
const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
|
|
2398
2418
|
i.data.messages = a, H.setStateData(i);
|
|
@@ -2403,17 +2423,17 @@ const $i = () => {
|
|
|
2403
2423
|
currentInput: t ?? null
|
|
2404
2424
|
})),
|
|
2405
2425
|
persistWriteBarrier: async (t) => {
|
|
2406
|
-
|
|
2426
|
+
G.peek().flow === t && (G.value = {
|
|
2407
2427
|
state: "loaded",
|
|
2408
2428
|
flow: t
|
|
2409
2429
|
}), H.setStateData(t), await H.flushStateData();
|
|
2410
2430
|
}
|
|
2411
|
-
},
|
|
2431
|
+
}, Yn = ({
|
|
2412
2432
|
message: t
|
|
2413
2433
|
}) => {
|
|
2414
2434
|
const {
|
|
2415
2435
|
t: e
|
|
2416
|
-
} =
|
|
2436
|
+
} = Gt();
|
|
2417
2437
|
return p("div", {
|
|
2418
2438
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2419
2439
|
children: [p("svg", {
|
|
@@ -2463,10 +2483,10 @@ const $i = () => {
|
|
|
2463
2483
|
})]
|
|
2464
2484
|
})]
|
|
2465
2485
|
});
|
|
2466
|
-
},
|
|
2486
|
+
}, Kn = (t) => {
|
|
2467
2487
|
const {
|
|
2468
2488
|
t: e
|
|
2469
|
-
} =
|
|
2489
|
+
} = Gt();
|
|
2470
2490
|
return p("svg", {
|
|
2471
2491
|
role: "img",
|
|
2472
2492
|
viewBox: "0 0 24 24",
|
|
@@ -2529,13 +2549,13 @@ const $i = () => {
|
|
|
2529
2549
|
});
|
|
2530
2550
|
}, Ci = () => p("div", {
|
|
2531
2551
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2532
|
-
children: p(
|
|
2552
|
+
children: p(Kn, {
|
|
2533
2553
|
class: "text-neutral-6 h-8 w-8"
|
|
2534
2554
|
})
|
|
2535
|
-
}),
|
|
2555
|
+
}), qn = (t) => {
|
|
2536
2556
|
const i = t / 100, a = 1.3;
|
|
2537
2557
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
|
|
2538
|
-
},
|
|
2558
|
+
}, Zn = Le("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2539
2559
|
variants: {
|
|
2540
2560
|
variant: {
|
|
2541
2561
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2545,13 +2565,13 @@ const $i = () => {
|
|
|
2545
2565
|
defaultVariants: {
|
|
2546
2566
|
variant: "neutral"
|
|
2547
2567
|
}
|
|
2548
|
-
}),
|
|
2568
|
+
}), Te = ({
|
|
2549
2569
|
class: t,
|
|
2550
2570
|
children: e,
|
|
2551
2571
|
variant: i,
|
|
2552
2572
|
...a
|
|
2553
2573
|
}) => p("button", {
|
|
2554
|
-
class: Be(
|
|
2574
|
+
class: Be(Zn({
|
|
2555
2575
|
variant: i
|
|
2556
2576
|
}), t),
|
|
2557
2577
|
...a,
|
|
@@ -2567,12 +2587,12 @@ const $i = () => {
|
|
|
2567
2587
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2568
2588
|
children: e
|
|
2569
2589
|
})
|
|
2570
|
-
}),
|
|
2590
|
+
}), Xn = () => p("path", {
|
|
2571
2591
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2572
|
-
}),
|
|
2573
|
-
if (
|
|
2592
|
+
}), Gn = () => {
|
|
2593
|
+
if (S.current$.value.state !== "loaded")
|
|
2574
2594
|
return null;
|
|
2575
|
-
const t =
|
|
2595
|
+
const t = S.current$.value.flow.nodeIdToProgress, e = S.current$.value.flow.data.nodeHistory.at(-1);
|
|
2576
2596
|
if (e === void 0)
|
|
2577
2597
|
return null;
|
|
2578
2598
|
const i = t[e];
|
|
@@ -2583,18 +2603,18 @@ const $i = () => {
|
|
|
2583
2603
|
class: "bg-accent-3",
|
|
2584
2604
|
children: p("div", {
|
|
2585
2605
|
style: {
|
|
2586
|
-
width:
|
|
2606
|
+
width: qn(a)
|
|
2587
2607
|
},
|
|
2588
2608
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2589
2609
|
})
|
|
2590
2610
|
});
|
|
2591
|
-
},
|
|
2611
|
+
}, Jn = ({
|
|
2592
2612
|
children: t,
|
|
2593
2613
|
params: e
|
|
2594
2614
|
}) => {
|
|
2595
2615
|
const {
|
|
2596
2616
|
t: i
|
|
2597
|
-
} =
|
|
2617
|
+
} = Gt(), a = S.viewState$;
|
|
2598
2618
|
return p(Y, {
|
|
2599
2619
|
children: p("header", {
|
|
2600
2620
|
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",
|
|
@@ -2610,7 +2630,7 @@ const $i = () => {
|
|
|
2610
2630
|
a.value = "minimised";
|
|
2611
2631
|
},
|
|
2612
2632
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2613
|
-
onTouchStart:
|
|
2633
|
+
onTouchStart: Pe,
|
|
2614
2634
|
children: p("p", {
|
|
2615
2635
|
"aria-hidden": !0,
|
|
2616
2636
|
class: "text-neutral-12 truncate text-sm font-bold tracking-tight",
|
|
@@ -2622,37 +2642,37 @@ const $i = () => {
|
|
|
2622
2642
|
"data-widget": "inploi-feedback",
|
|
2623
2643
|
"data-key": "chatbot-header",
|
|
2624
2644
|
class: Be({
|
|
2625
|
-
hidden:
|
|
2645
|
+
hidden: S.current$.value.state !== "loaded" || a.value !== "maximised"
|
|
2626
2646
|
}),
|
|
2627
2647
|
children: p("div", {
|
|
2628
2648
|
class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
|
|
2629
2649
|
})
|
|
2630
|
-
}) : null,
|
|
2650
|
+
}) : null, S.current$.value.state === "loaded" && p(Te, {
|
|
2631
2651
|
class: "mx-1",
|
|
2632
2652
|
"aria-label": i("restart"),
|
|
2633
2653
|
onClick: () => {
|
|
2634
|
-
|
|
2654
|
+
S.restart();
|
|
2635
2655
|
},
|
|
2636
2656
|
children: [p("path", {
|
|
2637
2657
|
d: "M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9"
|
|
2638
2658
|
}), p("path", {
|
|
2639
2659
|
d: "M8 7L10 4.5L8 2.5"
|
|
2640
2660
|
})]
|
|
2641
|
-
}, "restart"), p(
|
|
2661
|
+
}, "restart"), p(Te, {
|
|
2642
2662
|
class: "view-switch mx-1",
|
|
2643
|
-
onTouchStart:
|
|
2663
|
+
onTouchStart: Pe,
|
|
2644
2664
|
"aria-label": i("minimize"),
|
|
2645
2665
|
onClick: () => a.value = "minimised",
|
|
2646
|
-
children: p(
|
|
2666
|
+
children: p(Xn, {})
|
|
2647
2667
|
}, "minmax")]
|
|
2648
2668
|
})]
|
|
2649
|
-
}), p(
|
|
2669
|
+
}), p(Gn, {})]
|
|
2650
2670
|
})
|
|
2651
2671
|
});
|
|
2652
2672
|
};
|
|
2653
|
-
function
|
|
2673
|
+
function Pe() {
|
|
2654
2674
|
}
|
|
2655
|
-
const
|
|
2675
|
+
const Qn = ha(() => import("./chatbot-body-a22432d8.js").then((t) => t.ChatbotBody)), za = Le("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", {
|
|
2656
2676
|
variants: {
|
|
2657
2677
|
view: {
|
|
2658
2678
|
closed: "hidden",
|
|
@@ -2660,7 +2680,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2660
2680
|
maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
|
|
2661
2681
|
}
|
|
2662
2682
|
}
|
|
2663
|
-
}),
|
|
2683
|
+
}), Da = Le("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
|
|
2664
2684
|
variants: {
|
|
2665
2685
|
view: {
|
|
2666
2686
|
closed: "hidden",
|
|
@@ -2668,11 +2688,11 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2668
2688
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2669
2689
|
}
|
|
2670
2690
|
}
|
|
2671
|
-
}),
|
|
2691
|
+
}), tr = ({
|
|
2672
2692
|
open: t,
|
|
2673
2693
|
...e
|
|
2674
2694
|
}) => {
|
|
2675
|
-
const i =
|
|
2695
|
+
const i = Xt(null);
|
|
2676
2696
|
return bt(() => {
|
|
2677
2697
|
const a = i.current;
|
|
2678
2698
|
a && (t ? a.showModal() : a.close());
|
|
@@ -2680,7 +2700,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2680
2700
|
ref: i,
|
|
2681
2701
|
...e
|
|
2682
2702
|
});
|
|
2683
|
-
},
|
|
2703
|
+
}, er = ({
|
|
2684
2704
|
logger: t,
|
|
2685
2705
|
apiClient: e,
|
|
2686
2706
|
analytics: i,
|
|
@@ -2691,13 +2711,13 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2691
2711
|
state: n,
|
|
2692
2712
|
flow: r,
|
|
2693
2713
|
error: s
|
|
2694
|
-
} =
|
|
2695
|
-
return p(
|
|
2714
|
+
} = S.current$.value, c = S.viewState$.value, d = n !== "idle" && c === "maximised", u = Xt(null), l = r ? [...r.data.nodeHistory].reverse().map((w) => r.nodes.find((g) => g.id === w)).find((w) => (w == null ? void 0 : w.type) === "flow-section") : void 0;
|
|
2715
|
+
return p(yn, {
|
|
2696
2716
|
terms: o.terms,
|
|
2697
2717
|
locale: void 0,
|
|
2698
|
-
children: [p(
|
|
2718
|
+
children: [p(tr, {
|
|
2699
2719
|
open: d,
|
|
2700
|
-
onClose: () =>
|
|
2720
|
+
onClose: () => S.viewState$.value = "minimised",
|
|
2701
2721
|
children: p("div", {
|
|
2702
2722
|
ref: u,
|
|
2703
2723
|
"aria-modal": "true",
|
|
@@ -2707,10 +2727,10 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2707
2727
|
view: "maximised"
|
|
2708
2728
|
}),
|
|
2709
2729
|
children: p("div", {
|
|
2710
|
-
class:
|
|
2730
|
+
class: Da({
|
|
2711
2731
|
view: "maximised"
|
|
2712
2732
|
}),
|
|
2713
|
-
children: [p(
|
|
2733
|
+
children: [p(Jn, {
|
|
2714
2734
|
params: o,
|
|
2715
2735
|
children: l ? p(Y, {
|
|
2716
2736
|
children: [p("span", {
|
|
@@ -2732,7 +2752,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2732
2752
|
state: "loaded"
|
|
2733
2753
|
}, () => p(kt, {
|
|
2734
2754
|
fallback: p(Ci, {}, "loading"),
|
|
2735
|
-
children: p(
|
|
2755
|
+
children: p(Qn, {
|
|
2736
2756
|
analytics: i,
|
|
2737
2757
|
apiClient: e,
|
|
2738
2758
|
logger: t,
|
|
@@ -2740,36 +2760,36 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2740
2760
|
})
|
|
2741
2761
|
})).with({
|
|
2742
2762
|
state: "error"
|
|
2743
|
-
}, () => p(
|
|
2763
|
+
}, () => p(Yn, {
|
|
2744
2764
|
message: s
|
|
2745
2765
|
})).exhaustive()]
|
|
2746
2766
|
})
|
|
2747
2767
|
})
|
|
2748
|
-
}), c === "minimised" ? p(
|
|
2768
|
+
}), c === "minimised" ? p(ir, {
|
|
2749
2769
|
flow: r
|
|
2750
2770
|
}) : null]
|
|
2751
2771
|
});
|
|
2752
|
-
},
|
|
2772
|
+
}, ir = ({
|
|
2753
2773
|
flow: t
|
|
2754
2774
|
}) => {
|
|
2755
2775
|
const {
|
|
2756
2776
|
t: e
|
|
2757
|
-
} =
|
|
2777
|
+
} = Gt();
|
|
2758
2778
|
return p("div", {
|
|
2759
2779
|
class: za({
|
|
2760
2780
|
view: "minimised",
|
|
2761
2781
|
class: "z-100 isolate"
|
|
2762
2782
|
}),
|
|
2763
2783
|
children: p("div", {
|
|
2764
|
-
class:
|
|
2784
|
+
class: Da({
|
|
2765
2785
|
view: "minimised"
|
|
2766
2786
|
}),
|
|
2767
2787
|
children: [p("button", {
|
|
2768
2788
|
onClick: () => {
|
|
2769
|
-
|
|
2789
|
+
S.viewState$.value = "maximised";
|
|
2770
2790
|
},
|
|
2771
2791
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2772
|
-
onTouchStart:
|
|
2792
|
+
onTouchStart: Pe,
|
|
2773
2793
|
children: p("p", {
|
|
2774
2794
|
"aria-hidden": !0,
|
|
2775
2795
|
class: "truncate text-sm font-bold tracking-tight text-white",
|
|
@@ -2777,10 +2797,10 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2777
2797
|
})
|
|
2778
2798
|
}), p("div", {
|
|
2779
2799
|
class: "flex items-center px-0.5",
|
|
2780
|
-
children: p(
|
|
2800
|
+
children: p(Te, {
|
|
2781
2801
|
class: "mx-1",
|
|
2782
2802
|
"aria-label": e("close_application"),
|
|
2783
|
-
onClick:
|
|
2803
|
+
onClick: S.cancelCurrentFlow,
|
|
2784
2804
|
variant: "white",
|
|
2785
2805
|
children: p("path", {
|
|
2786
2806
|
d: "M12 12L4 4M12 4L4 12"
|
|
@@ -2789,8 +2809,8 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2789
2809
|
})]
|
|
2790
2810
|
})
|
|
2791
2811
|
});
|
|
2792
|
-
}, er = `[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!important}[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-1{bottom:4px}[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-none{resize:none}[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-end{align-items:flex-end}[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-right{text-align:right}[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-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-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[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] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--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] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[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-12:has(+*>input:focus){color:var(--i-color-n-12)}[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)}
|
|
2793
|
-
`, Oa = "inploi-chatbot", Ie = `[data-widget='${Oa}']`,
|
|
2812
|
+
}, 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!important}[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-1{bottom:4px}[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-none{resize:none}[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-end{align-items:flex-end}[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-right{text-align:right}[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-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-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[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{--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(3px + 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-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] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--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] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[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-12:has(+*>input:focus){color:var(--i-color-n-12)}[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)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
|
|
2813
|
+
`, Oa = "inploi-chatbot", Ie = `[data-widget='${Oa}']`, or = () => ({
|
|
2794
2814
|
getChatbotElement: () => document.querySelector(Ie),
|
|
2795
2815
|
getOrCreateChatbotElement: () => {
|
|
2796
2816
|
const t = document.querySelector(Ie);
|
|
@@ -2799,8 +2819,8 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2799
2819
|
const e = document.createElement("div");
|
|
2800
2820
|
return document.body.appendChild(e), e.dataset.widget = Oa, e;
|
|
2801
2821
|
}
|
|
2802
|
-
}),
|
|
2803
|
-
}),
|
|
2822
|
+
}), nr = 25, Aa = U(() => {
|
|
2823
|
+
}), rr = (t, e) => new Promise((i, a) => {
|
|
2804
2824
|
if (e != null && e.aborted)
|
|
2805
2825
|
return a(new ut());
|
|
2806
2826
|
const o = setTimeout(i, t);
|
|
@@ -2819,9 +2839,9 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2819
2839
|
captchaVisible$: U(!1),
|
|
2820
2840
|
themeMode$: U("light"),
|
|
2821
2841
|
isReadingHistory$: U(!1),
|
|
2822
|
-
scrollToEnd: () =>
|
|
2823
|
-
},
|
|
2824
|
-
const t =
|
|
2842
|
+
scrollToEnd: () => Aa.value()
|
|
2843
|
+
}, Vr = () => {
|
|
2844
|
+
const t = Xt(null);
|
|
2825
2845
|
bt(() => {
|
|
2826
2846
|
const i = t.current;
|
|
2827
2847
|
if (!i)
|
|
@@ -2832,7 +2852,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2832
2852
|
behavior: "instant"
|
|
2833
2853
|
});
|
|
2834
2854
|
};
|
|
2835
|
-
|
|
2855
|
+
Aa.value = a;
|
|
2836
2856
|
const o = () => {
|
|
2837
2857
|
R.isReadingHistory$.value = i.scrollHeight - i.scrollTop - i.clientHeight > 2;
|
|
2838
2858
|
};
|
|
@@ -2847,7 +2867,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2847
2867
|
};
|
|
2848
2868
|
}, []);
|
|
2849
2869
|
const e = dt(() => ({
|
|
2850
|
-
setSubmission: (a, o) =>
|
|
2870
|
+
setSubmission: (a, o) => S.setSubmission(a, o),
|
|
2851
2871
|
captcha: {
|
|
2852
2872
|
container: () => {
|
|
2853
2873
|
var a;
|
|
@@ -2875,16 +2895,16 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2875
2895
|
if (o != null && o.aborted)
|
|
2876
2896
|
throw new ut();
|
|
2877
2897
|
R.isBotTyping$.value = !0;
|
|
2878
|
-
const s = Math.min(Math.max(20, r.text.length), 100) *
|
|
2898
|
+
const s = Math.min(Math.max(20, r.text.length), 100) * nr;
|
|
2879
2899
|
try {
|
|
2880
|
-
await
|
|
2900
|
+
await rr(s, o);
|
|
2881
2901
|
} finally {
|
|
2882
2902
|
R.isBotTyping$.value = !1;
|
|
2883
2903
|
}
|
|
2884
2904
|
}).otherwise(async () => {
|
|
2885
2905
|
}), o != null && o.aborted)
|
|
2886
2906
|
throw new ut();
|
|
2887
|
-
|
|
2907
|
+
S.addMessage(a, n);
|
|
2888
2908
|
},
|
|
2889
2909
|
input: ({
|
|
2890
2910
|
input: a,
|
|
@@ -2892,11 +2912,11 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2892
2912
|
}) => {
|
|
2893
2913
|
if (o != null && o.aborted)
|
|
2894
2914
|
throw new ut();
|
|
2895
|
-
return
|
|
2915
|
+
return S.setInput(a), new Promise((n) => {
|
|
2896
2916
|
const r = (s) => {
|
|
2897
2917
|
if (o != null && o.aborted)
|
|
2898
2918
|
throw new ut();
|
|
2899
|
-
|
|
2919
|
+
S.setInput(void 0), a.key && S.setSubmission(a.key, s), n(s);
|
|
2900
2920
|
};
|
|
2901
2921
|
R.onSubmitSuccessFn$.value = r;
|
|
2902
2922
|
});
|
|
@@ -2907,7 +2927,7 @@ const Zn = ha(() => import("./chatbot-body-3e08ab1b.js").then((t) => t.ChatbotBo
|
|
|
2907
2927
|
chatService: e
|
|
2908
2928
|
};
|
|
2909
2929
|
};
|
|
2910
|
-
var
|
|
2930
|
+
var sr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], lr = {
|
|
2911
2931
|
light: {
|
|
2912
2932
|
1: [98.8, 0.015],
|
|
2913
2933
|
2: [97.8, 0.018],
|
|
@@ -2936,15 +2956,15 @@ var nr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], rr = {
|
|
|
2936
2956
|
11: [79.3, 0.12],
|
|
2937
2957
|
12: [95, 0.04]
|
|
2938
2958
|
}
|
|
2939
|
-
},
|
|
2940
|
-
const [o, n] =
|
|
2959
|
+
}, cr = (t, e = 1, i) => (a) => {
|
|
2960
|
+
const [o, n] = lr[i][a];
|
|
2941
2961
|
return "oklch(" + o + "% " + n * e + " " + t + ")";
|
|
2942
2962
|
}, ce = (t) => {
|
|
2943
|
-
const e =
|
|
2963
|
+
const e = cr(t.hue, t.chroma, t.mode);
|
|
2944
2964
|
return Object.fromEntries(
|
|
2945
|
-
|
|
2965
|
+
sr.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2946
2966
|
);
|
|
2947
|
-
}, de = (t) => t,
|
|
2967
|
+
}, de = (t) => t, dr = (t) => {
|
|
2948
2968
|
const e = Object.keys(t).flatMap((i) => {
|
|
2949
2969
|
const a = t[i];
|
|
2950
2970
|
return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
|
|
@@ -2953,28 +2973,28 @@ var nr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], rr = {
|
|
|
2953
2973
|
}) : [[i, a]];
|
|
2954
2974
|
});
|
|
2955
2975
|
return Object.fromEntries(e);
|
|
2956
|
-
},
|
|
2976
|
+
}, Dt = (t) => !!t && typeof t == "object" && !Array.isArray(t), ze = (t, ...e) => {
|
|
2957
2977
|
if (!e.length)
|
|
2958
2978
|
return t;
|
|
2959
2979
|
const i = e.shift();
|
|
2960
|
-
if (
|
|
2980
|
+
if (Dt(t) && Dt(i))
|
|
2961
2981
|
for (const a in i) {
|
|
2962
2982
|
const o = i[a];
|
|
2963
|
-
if (
|
|
2983
|
+
if (Dt(o)) {
|
|
2964
2984
|
t[a] || Object.assign(t, { [a]: {} });
|
|
2965
2985
|
const n = t[a];
|
|
2966
|
-
|
|
2986
|
+
Dt(n) && ze(n, o);
|
|
2967
2987
|
} else
|
|
2968
2988
|
Object.assign(t, { [a]: i[a] });
|
|
2969
2989
|
}
|
|
2970
2990
|
return ze(t, ...e);
|
|
2971
|
-
},
|
|
2991
|
+
}, ur = (t) => {
|
|
2972
2992
|
function e(i, a) {
|
|
2973
2993
|
const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
|
|
2974
2994
|
return i === "declaration" ? `--${o}` : `var(--${o})`;
|
|
2975
2995
|
}
|
|
2976
2996
|
return e;
|
|
2977
|
-
},
|
|
2997
|
+
}, pr = () => ({
|
|
2978
2998
|
core: (t) => ({
|
|
2979
2999
|
semantic: (e) => ({
|
|
2980
3000
|
component: (i) => ({
|
|
@@ -2984,7 +3004,7 @@ var nr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], rr = {
|
|
|
2984
3004
|
core: r,
|
|
2985
3005
|
semantic: r,
|
|
2986
3006
|
raw: { core: s, semantic: c }
|
|
2987
|
-
}), u =
|
|
3007
|
+
}), u = dr(ze(s, c, d)), l = ([w, g], h) => {
|
|
2988
3008
|
const b = [h, w].filter(Boolean).join(".");
|
|
2989
3009
|
return typeof g == "object" ? Object.entries(g).flatMap((z) => l(z, b)) : [[a.getToken("declaration", b), g]];
|
|
2990
3010
|
};
|
|
@@ -2998,7 +3018,7 @@ var nr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], rr = {
|
|
|
2998
3018
|
})
|
|
2999
3019
|
})
|
|
3000
3020
|
});
|
|
3001
|
-
const [ue, pe, Ei] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"],
|
|
3021
|
+
const [ue, pe, Ei] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], hr = pr().core(({
|
|
3002
3022
|
theme: t
|
|
3003
3023
|
}) => ({
|
|
3004
3024
|
color: {
|
|
@@ -3096,23 +3116,23 @@ const [ue, pe, Ei] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], ur = d
|
|
|
3096
3116
|
success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
|
|
3097
3117
|
}
|
|
3098
3118
|
};
|
|
3099
|
-
}),
|
|
3119
|
+
}), fr = ur({
|
|
3100
3120
|
prefix: "i-"
|
|
3101
|
-
}),
|
|
3102
|
-
const e =
|
|
3121
|
+
}), wr = (t) => {
|
|
3122
|
+
const e = hr.from({
|
|
3103
3123
|
theme: t,
|
|
3104
|
-
getToken:
|
|
3124
|
+
getToken: fr
|
|
3105
3125
|
}), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
|
|
3106
3126
|
return `${Ie} {
|
|
3107
3127
|
${i.concat(i).join(`
|
|
3108
3128
|
`)}
|
|
3109
3129
|
}`;
|
|
3110
|
-
},
|
|
3111
|
-
_internal_domManager: t =
|
|
3130
|
+
}, Yr = ({
|
|
3131
|
+
_internal_domManager: t = or(),
|
|
3112
3132
|
theme: e,
|
|
3113
3133
|
terms: i,
|
|
3114
3134
|
feedback: a
|
|
3115
|
-
}) =>
|
|
3135
|
+
}) => ja(({
|
|
3116
3136
|
apiClient: o,
|
|
3117
3137
|
rpcClient: n,
|
|
3118
3138
|
logger: r,
|
|
@@ -3121,10 +3141,10 @@ ${i.concat(i).join(`
|
|
|
3121
3141
|
env: d
|
|
3122
3142
|
}) => {
|
|
3123
3143
|
let u = !1, l = 0;
|
|
3124
|
-
const w =
|
|
3144
|
+
const w = xn({
|
|
3125
3145
|
locale: void 0,
|
|
3126
3146
|
overrides: i ?? {}
|
|
3127
|
-
}), g = c && d ?
|
|
3147
|
+
}), g = c && d ? Fa({
|
|
3128
3148
|
environment: d,
|
|
3129
3149
|
publishableKey: c,
|
|
3130
3150
|
logger: r
|
|
@@ -3132,7 +3152,7 @@ ${i.concat(i).join(`
|
|
|
3132
3152
|
if (typeof window > "u")
|
|
3133
3153
|
return;
|
|
3134
3154
|
l++, H.flushStateData().catch(() => {
|
|
3135
|
-
}),
|
|
3155
|
+
}), S.cancelCurrentFlow(), R.isBotTyping$.value = !1;
|
|
3136
3156
|
const v = t.getChatbotElement();
|
|
3137
3157
|
v && (ct(null, v), v.remove()), u = !1, r.info("Chatbot plugin destroyed");
|
|
3138
3158
|
}, z = () => {
|
|
@@ -3140,10 +3160,10 @@ ${i.concat(i).join(`
|
|
|
3140
3160
|
return;
|
|
3141
3161
|
const v = l, _ = [B("style", {
|
|
3142
3162
|
id: "inploi-chatbot-styles"
|
|
3143
|
-
},
|
|
3163
|
+
}, ar), B("style", {
|
|
3144
3164
|
id: "inploi-chatbot-theme"
|
|
3145
|
-
},
|
|
3146
|
-
if (R.themeMode$.value = e.mode, ct(B(Y, {}, [_, B(
|
|
3165
|
+
}, wr(e))], x = t.getOrCreateChatbotElement();
|
|
3166
|
+
if (R.themeMode$.value = e.mode, ct(B(Y, {}, [_, B(er, {
|
|
3147
3167
|
apiClient: o,
|
|
3148
3168
|
logger: r,
|
|
3149
3169
|
analytics: s,
|
|
@@ -3153,43 +3173,43 @@ ${i.concat(i).join(`
|
|
|
3153
3173
|
terms: i,
|
|
3154
3174
|
feedback: a
|
|
3155
3175
|
}
|
|
3156
|
-
})]),
|
|
3157
|
-
const
|
|
3158
|
-
var q,
|
|
3176
|
+
})]), x), a) {
|
|
3177
|
+
const k = (P) => {
|
|
3178
|
+
var q, D;
|
|
3159
3179
|
if (!h(v))
|
|
3160
3180
|
return;
|
|
3161
3181
|
const K = (q = t.getChatbotElement()) == null ? void 0 : q.querySelector("dialog");
|
|
3162
|
-
K &&
|
|
3163
|
-
instance:
|
|
3182
|
+
K && gr({
|
|
3183
|
+
instance: P({
|
|
3164
3184
|
rpcClient: n,
|
|
3165
3185
|
apiClient: o,
|
|
3166
3186
|
logger: r,
|
|
3167
3187
|
analytics: s
|
|
3168
3188
|
}),
|
|
3169
3189
|
theme: e,
|
|
3170
|
-
terms: ((
|
|
3190
|
+
terms: ((D = a.params) == null ? void 0 : D.terms) ?? {},
|
|
3171
3191
|
host: K
|
|
3172
3192
|
});
|
|
3173
3193
|
};
|
|
3174
3194
|
a.plugin instanceof Promise ? a.plugin.then(({
|
|
3175
|
-
feedbackPlugin:
|
|
3195
|
+
feedbackPlugin: P
|
|
3176
3196
|
}) => {
|
|
3177
|
-
|
|
3178
|
-
}).catch((
|
|
3179
|
-
r.error("Error preparing feedback plugin",
|
|
3180
|
-
}) :
|
|
3197
|
+
k(P());
|
|
3198
|
+
}).catch((P) => {
|
|
3199
|
+
r.error("Error preparing feedback plugin", P);
|
|
3200
|
+
}) : k(a.plugin);
|
|
3181
3201
|
}
|
|
3182
3202
|
u = !0;
|
|
3183
|
-
},
|
|
3203
|
+
}, y = async (v, _) => {
|
|
3184
3204
|
if (!h(_))
|
|
3185
3205
|
return;
|
|
3186
|
-
|
|
3206
|
+
ro({
|
|
3187
3207
|
context: v.context || {},
|
|
3188
3208
|
schema: v.flow.context_schema,
|
|
3189
3209
|
logger: r
|
|
3190
3210
|
});
|
|
3191
|
-
const
|
|
3192
|
-
h(_) &&
|
|
3211
|
+
const x = await S.prepareFlow(v);
|
|
3212
|
+
h(_) && S.commitFlow(x);
|
|
3193
3213
|
};
|
|
3194
3214
|
return {
|
|
3195
3215
|
/** Optionally eagerly renders the interface ahead of needing the chatbot. */
|
|
@@ -3206,40 +3226,46 @@ ${i.concat(i).join(`
|
|
|
3206
3226
|
/** Fetches a flow by job ID.
|
|
3207
3227
|
* @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.
|
|
3208
3228
|
*/
|
|
3209
|
-
fetchFlowByJobId: async (v, _) =>
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3229
|
+
fetchFlowByJobId: async (v, _) => {
|
|
3230
|
+
const x = (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external";
|
|
3231
|
+
return n.request(uo, {
|
|
3232
|
+
params: {
|
|
3233
|
+
id: v
|
|
3234
|
+
},
|
|
3235
|
+
searchParams: {
|
|
3236
|
+
id_type: x
|
|
3237
|
+
}
|
|
3238
|
+
}).then((k) => ({
|
|
3239
|
+
flow: k.flow,
|
|
3240
|
+
title: k.job.title,
|
|
3241
|
+
flowKeys: [k.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
|
|
3242
|
+
job: co(k, {
|
|
3243
|
+
id: v,
|
|
3244
|
+
idType: x
|
|
3245
|
+
}),
|
|
3246
|
+
..._,
|
|
3247
|
+
context: {
|
|
3248
|
+
user: k.user,
|
|
3249
|
+
..._ == null ? void 0 : _.context
|
|
3250
|
+
}
|
|
3251
|
+
}));
|
|
3252
|
+
},
|
|
3253
|
+
fetchFlowById: async (v, _) => n.request(po, {
|
|
3228
3254
|
params: {
|
|
3229
3255
|
id: v
|
|
3230
3256
|
}
|
|
3231
|
-
}).then((
|
|
3232
|
-
var
|
|
3257
|
+
}).then((x) => {
|
|
3258
|
+
var k;
|
|
3233
3259
|
return {
|
|
3234
|
-
flow:
|
|
3260
|
+
flow: x.flow,
|
|
3235
3261
|
title: "Chatbot",
|
|
3236
3262
|
flowKeys: (_ == null ? void 0 : _.flowKeys) ?? [],
|
|
3237
3263
|
..._,
|
|
3238
3264
|
analytics: {
|
|
3239
3265
|
customProperties: {
|
|
3240
|
-
flow_id:
|
|
3241
|
-
flow_version:
|
|
3242
|
-
...(
|
|
3266
|
+
flow_id: x.flow.id,
|
|
3267
|
+
flow_version: x.flow.version,
|
|
3268
|
+
...(k = _ == null ? void 0 : _.analytics) == null ? void 0 : k.customProperties
|
|
3243
3269
|
}
|
|
3244
3270
|
}
|
|
3245
3271
|
};
|
|
@@ -3247,19 +3273,19 @@ ${i.concat(i).join(`
|
|
|
3247
3273
|
open: async (v) => {
|
|
3248
3274
|
if (!(typeof window > "u"))
|
|
3249
3275
|
try {
|
|
3250
|
-
|
|
3276
|
+
S.cancelCurrentFlow(), S.viewState$.value = "maximised", u || z();
|
|
3251
3277
|
const _ = l;
|
|
3252
|
-
v instanceof Promise ? (
|
|
3278
|
+
v instanceof Promise ? (S.current$.value = {
|
|
3253
3279
|
state: "loading"
|
|
3254
|
-
}, v.then((
|
|
3280
|
+
}, v.then((x) => y(x, _)).catch((x) => {
|
|
3255
3281
|
if (!h(_))
|
|
3256
3282
|
return;
|
|
3257
|
-
const
|
|
3258
|
-
|
|
3283
|
+
const k = x instanceof Error ? x.message : w("unknown_error");
|
|
3284
|
+
S.current$.value = {
|
|
3259
3285
|
state: "error",
|
|
3260
|
-
error:
|
|
3286
|
+
error: k
|
|
3261
3287
|
};
|
|
3262
|
-
})) : await
|
|
3288
|
+
})) : await y(v, _);
|
|
3263
3289
|
} catch (_) {
|
|
3264
3290
|
r.error("Error starting flow", _);
|
|
3265
3291
|
}
|
|
@@ -3271,18 +3297,18 @@ ${i.concat(i).join(`
|
|
|
3271
3297
|
*/
|
|
3272
3298
|
hasApplicationInProgress: async (v) => {
|
|
3273
3299
|
const _ = await H.getStateData(v.flow, v.flowKeys, v.context ?? {});
|
|
3274
|
-
return _ !== void 0 &&
|
|
3300
|
+
return _ !== void 0 && Vn({
|
|
3275
3301
|
data: _,
|
|
3276
3302
|
nodes: v.flow.nodes
|
|
3277
3303
|
});
|
|
3278
3304
|
},
|
|
3279
3305
|
close: async () => {
|
|
3280
|
-
typeof window > "u" || (
|
|
3306
|
+
typeof window > "u" || (S.cancelCurrentFlow(), r.info("Closed flow from an external source"));
|
|
3281
3307
|
},
|
|
3282
3308
|
destroy: b
|
|
3283
3309
|
};
|
|
3284
3310
|
});
|
|
3285
|
-
function
|
|
3311
|
+
function gr({
|
|
3286
3312
|
instance: t,
|
|
3287
3313
|
terms: e,
|
|
3288
3314
|
theme: i,
|
|
@@ -3313,56 +3339,57 @@ function fr({
|
|
|
3313
3339
|
});
|
|
3314
3340
|
}
|
|
3315
3341
|
export {
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
Lr as E,
|
|
3342
|
+
To as A,
|
|
3343
|
+
Wr as B,
|
|
3344
|
+
_r as C,
|
|
3345
|
+
ji as D,
|
|
3346
|
+
Ur as E,
|
|
3322
3347
|
dt as F,
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3348
|
+
$r as G,
|
|
3349
|
+
Br as H,
|
|
3350
|
+
ut as I,
|
|
3351
|
+
R as J,
|
|
3327
3352
|
zt as K,
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3353
|
+
Kn as L,
|
|
3354
|
+
We as M,
|
|
3355
|
+
vr as N,
|
|
3356
|
+
Vr as O,
|
|
3357
|
+
H as P,
|
|
3358
|
+
Te as Q,
|
|
3359
|
+
Xn as R,
|
|
3360
|
+
Mr as S,
|
|
3361
|
+
Ka as T,
|
|
3362
|
+
Xa as U,
|
|
3363
|
+
Qa as V,
|
|
3339
3364
|
to as W,
|
|
3340
3365
|
ao as X,
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3366
|
+
Yr as Y,
|
|
3367
|
+
oo as Z,
|
|
3368
|
+
Xt as _,
|
|
3369
|
+
kr as a,
|
|
3370
|
+
Dr as b,
|
|
3371
|
+
Sr as c,
|
|
3372
|
+
Er as d,
|
|
3373
|
+
Be as e,
|
|
3347
3374
|
Pr as f,
|
|
3348
3375
|
Ir as g,
|
|
3349
3376
|
jr as h,
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3377
|
+
xr as i,
|
|
3378
|
+
Le as j,
|
|
3379
|
+
Fr as k,
|
|
3380
|
+
oa as l,
|
|
3381
|
+
Tr as m,
|
|
3382
|
+
xa as n,
|
|
3383
|
+
p as o,
|
|
3384
|
+
Cr as p,
|
|
3385
|
+
bt as q,
|
|
3386
|
+
yr as r,
|
|
3387
|
+
S as s,
|
|
3361
3388
|
Y as t,
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3389
|
+
Gt as u,
|
|
3390
|
+
Or as v,
|
|
3391
|
+
Ar as w,
|
|
3392
|
+
Nr as x,
|
|
3393
|
+
zr as y,
|
|
3394
|
+
ra as z
|
|
3368
3395
|
};
|