@inploi/plugin-chatbot 14.7.0 → 14.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.js +5 -5
- package/cdn/style.css +1 -1
- package/dist/accessible-labels.test.d.ts +1 -0
- package/dist/{chatbot-body-8d36637a.js → chatbot-body-45ccac19.js} +1765 -1613
- package/dist/chatbot-body-b6a4eef8.cjs +5 -0
- package/dist/chatbot.state.d.ts +2 -0
- package/dist/chatbot.utils.d.ts +2 -0
- package/dist/components/chat-input/chat-input.text.d.ts +2 -0
- package/dist/components/chat-input/chat-input.text.test.d.ts +1 -0
- package/dist/components/useChatService.d.ts +3 -0
- package/dist/i18n.d.ts +78 -0
- package/dist/index-47f31542.cjs +5 -0
- package/dist/{index-8090d2e3.js → index-75330fed.js} +766 -706
- package/dist/interpreter.d.ts +9 -14
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/dist/style/tokens.d.ts +3 -1
- package/dist/style.css +1 -1
- package/package.json +9 -9
- package/dist/chatbot-body-95e99884.cjs +0 -5
- package/dist/index-51cb9a4f.cjs +0 -5
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { endpoint as Ci, typed as
|
|
2
|
-
var
|
|
1
|
+
import { endpoint as Ci, typed as Aa, createPlugin as Oa, createTalentBankClient as ja } from "@inploi/sdk";
|
|
2
|
+
var J;
|
|
3
3
|
function Ei(t) {
|
|
4
|
-
return { lang: (t == null ? void 0 : t.lang) ?? (
|
|
5
|
-
}
|
|
6
|
-
var Gt;
|
|
7
|
-
function Aa(t) {
|
|
8
|
-
return Gt == null ? void 0 : Gt.get(t);
|
|
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) };
|
|
9
5
|
}
|
|
10
6
|
var Jt;
|
|
11
7
|
function Na(t) {
|
|
12
8
|
return Jt == null ? void 0 : Jt.get(t);
|
|
13
9
|
}
|
|
14
10
|
var Qt;
|
|
15
|
-
function Da(t
|
|
11
|
+
function Da(t) {
|
|
12
|
+
return Qt == null ? void 0 : Qt.get(t);
|
|
13
|
+
}
|
|
14
|
+
var te;
|
|
15
|
+
function Ma(t, e) {
|
|
16
16
|
var i;
|
|
17
|
-
return (i =
|
|
17
|
+
return (i = te == null ? void 0 : te.get(t)) == null ? void 0 : i.get(e);
|
|
18
18
|
}
|
|
19
19
|
function Pi(t) {
|
|
20
20
|
var i, a;
|
|
21
21
|
let e = typeof 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
|
-
function
|
|
25
|
-
let r = o && "input" in o ? o.input : i.value, n = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Pi(r), c = { kind: t.kind, type: t.type, input: r, expected: n, received: s, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: 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 ??
|
|
24
|
+
function V(t, e, i, a, o) {
|
|
25
|
+
let r = o && "input" in o ? o.input : i.value, n = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Pi(r), c = { kind: t.kind, type: t.type, input: r, expected: n, received: s, message: `Invalid ${e}: ${n ? `Expected ${n} but r` : "R"}eceived ${s}`, requirement: t.requirement, path: 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 ?? Ma(t.reference, c.lang) ?? (d ? Da(c.lang) : null) ?? a.message ?? Na(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 F(t) {
|
|
29
29
|
return { version: 1, vendor: "valibot", validate(e) {
|
|
30
30
|
return t["~run"]({ value: e }, Ei());
|
|
31
31
|
} };
|
|
@@ -45,19 +45,19 @@ function Ti(t) {
|
|
|
45
45
|
function La(t, e, i) {
|
|
46
46
|
return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Ie(t, e, i) {
|
|
49
49
|
return typeof t.default == "function" ? t.default(e, i) : t.default;
|
|
50
50
|
}
|
|
51
51
|
function Ii() {
|
|
52
52
|
return { kind: "schema", type: "any", reference: Ii, expects: "any", async: !1, get "~standard"() {
|
|
53
|
-
return
|
|
53
|
+
return F(this);
|
|
54
54
|
}, "~run"(t) {
|
|
55
55
|
return t.typed = !0, t;
|
|
56
56
|
} };
|
|
57
57
|
}
|
|
58
58
|
function zi(t, e) {
|
|
59
59
|
return { kind: "schema", type: "array", reference: zi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
|
|
60
|
-
return
|
|
60
|
+
return F(this);
|
|
61
61
|
}, "~run"(i, a) {
|
|
62
62
|
var r;
|
|
63
63
|
let o = i.value;
|
|
@@ -77,48 +77,48 @@ function zi(t, e) {
|
|
|
77
77
|
c.typed || (i.typed = !1), i.value.push(c.value);
|
|
78
78
|
}
|
|
79
79
|
} else
|
|
80
|
-
|
|
80
|
+
V(this, "type", i, a);
|
|
81
81
|
return i;
|
|
82
82
|
} };
|
|
83
83
|
}
|
|
84
|
-
function
|
|
85
|
-
return { kind: "schema", type: "boolean", reference:
|
|
86
|
-
return
|
|
84
|
+
function ze(t) {
|
|
85
|
+
return { kind: "schema", type: "boolean", reference: ze, expects: "boolean", async: !1, message: t, get "~standard"() {
|
|
86
|
+
return F(this);
|
|
87
87
|
}, "~run"(e, i) {
|
|
88
|
-
return typeof e.value == "boolean" ? e.typed = !0 :
|
|
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: Pi(t), async: !1, literal: t, message: e, get "~standard"() {
|
|
93
|
-
return
|
|
93
|
+
return F(this);
|
|
94
94
|
}, "~run"(i, a) {
|
|
95
|
-
return i.value === this.literal ? i.typed = !0 :
|
|
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 F(this);
|
|
101
101
|
}, "~run"(e, i) {
|
|
102
|
-
return e.value === null ? e.typed = !0 :
|
|
102
|
+
return e.value === null ? e.typed = !0 : V(this, "type", e, i), e;
|
|
103
103
|
} };
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return { kind: "schema", type: "nullable", reference:
|
|
107
|
-
return
|
|
105
|
+
function Bt(t, e) {
|
|
106
|
+
return { kind: "schema", type: "nullable", reference: Bt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
107
|
+
return F(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 = Ie(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
|
|
110
110
|
} };
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return { kind: "schema", type: "number", reference:
|
|
114
|
-
return
|
|
112
|
+
function Lt(t) {
|
|
113
|
+
return { kind: "schema", type: "number", reference: Lt, expects: "number", async: !1, message: t, get "~standard"() {
|
|
114
|
+
return F(this);
|
|
115
115
|
}, "~run"(e, i) {
|
|
116
|
-
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 :
|
|
116
|
+
return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : V(this, "type", e, i), e;
|
|
117
117
|
} };
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
return { kind: "schema", type: "object", reference:
|
|
121
|
-
return
|
|
119
|
+
function A(t, e) {
|
|
120
|
+
return { kind: "schema", type: "object", reference: A, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
|
|
121
|
+
return F(this);
|
|
122
122
|
}, "~run"(i, a) {
|
|
123
123
|
var r;
|
|
124
124
|
let o = i.value;
|
|
@@ -127,7 +127,7 @@ function O(t, e) {
|
|
|
127
127
|
for (let n in this.entries) {
|
|
128
128
|
let s = this.entries[n];
|
|
129
129
|
if (n in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
|
|
130
|
-
let c = n in o ? o[n] :
|
|
130
|
+
let c = n in o ? o[n] : Ie(s), d = s["~run"]({ value: c }, a);
|
|
131
131
|
if (d.issues) {
|
|
132
132
|
let u = { type: "object", origin: "value", input: o, key: n, value: c };
|
|
133
133
|
for (let l of d.issues)
|
|
@@ -140,24 +140,24 @@ function O(t, e) {
|
|
|
140
140
|
d.typed || (i.typed = !1), i.value[n] = d.value;
|
|
141
141
|
} else if (s.fallback !== void 0)
|
|
142
142
|
i.value[n] = La(s);
|
|
143
|
-
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (
|
|
143
|
+
else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (V(this, "key", i, a, { input: void 0, expected: `"${n}"`, path: [{ type: "object", origin: "key", input: o, key: n, value: o[n] }] }), a.abortEarly))
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
} else
|
|
147
|
-
|
|
147
|
+
V(this, "type", i, a);
|
|
148
148
|
return i;
|
|
149
149
|
} };
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
return { kind: "schema", type: "optional", reference:
|
|
153
|
-
return
|
|
151
|
+
function M(t, e) {
|
|
152
|
+
return { kind: "schema", type: "optional", reference: M, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
|
|
153
|
+
return F(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 = Ie(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 Oi(t, e, i) {
|
|
159
|
+
return { kind: "schema", type: "record", reference: Oi, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
|
|
160
|
+
return F(this);
|
|
161
161
|
}, "~run"(a, o) {
|
|
162
162
|
var n, s;
|
|
163
163
|
let r = a.value;
|
|
@@ -188,15 +188,15 @@ function ji(t, e, i) {
|
|
|
188
188
|
(!u.typed || !l.typed) && (a.typed = !1), u.typed && (a.value[u.value] = l.value);
|
|
189
189
|
}
|
|
190
190
|
} else
|
|
191
|
-
|
|
191
|
+
V(this, "type", a, o);
|
|
192
192
|
return a;
|
|
193
193
|
} };
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return { kind: "schema", type: "string", reference:
|
|
197
|
-
return
|
|
195
|
+
function L(t) {
|
|
196
|
+
return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
|
|
197
|
+
return F(this);
|
|
198
198
|
}, "~run"(e, i) {
|
|
199
|
-
return typeof e.value == "string" ? e.typed = !0 :
|
|
199
|
+
return typeof e.value == "string" ? e.typed = !0 : V(this, "type", e, i), e;
|
|
200
200
|
} };
|
|
201
201
|
}
|
|
202
202
|
function Ye(t) {
|
|
@@ -206,9 +206,9 @@ function Ye(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: Ba(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
|
|
211
|
+
return F(this);
|
|
212
212
|
}, "~run"(i, a) {
|
|
213
213
|
let o, r, n;
|
|
214
214
|
for (let s of this.options) {
|
|
@@ -228,25 +228,25 @@ function ze(t, e) {
|
|
|
228
228
|
if (r) {
|
|
229
229
|
if (r.length === 1)
|
|
230
230
|
return r[0];
|
|
231
|
-
|
|
231
|
+
V(this, "type", i, a, { issues: Ye(r) }), i.typed = !0;
|
|
232
232
|
} else {
|
|
233
233
|
if ((n == null ? void 0 : n.length) === 1)
|
|
234
234
|
return n[0];
|
|
235
|
-
|
|
235
|
+
V(this, "type", i, a, { issues: Ye(n) });
|
|
236
236
|
}
|
|
237
237
|
return i;
|
|
238
238
|
} };
|
|
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 F(this);
|
|
243
243
|
}, "~run"(t) {
|
|
244
244
|
return t.typed = !0, t;
|
|
245
245
|
} };
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Ra(...t) {
|
|
248
248
|
return { ...t[0], pipe: t, get "~standard"() {
|
|
249
|
-
return
|
|
249
|
+
return F(this);
|
|
250
250
|
}, "~run"(e, i) {
|
|
251
251
|
for (let a of t)
|
|
252
252
|
if (a.kind !== "metadata") {
|
|
@@ -263,8 +263,8 @@ function Oe(t, e, i) {
|
|
|
263
263
|
let a = t["~run"]({ value: e }, Ei(i));
|
|
264
264
|
return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
function
|
|
266
|
+
var Ha = (t) => ({ ok: !0, err: !1, val: t }), Ua = (t) => ({ err: !0, ok: !1, val: t }), je = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
|
|
267
|
+
function Va(t, e, i) {
|
|
268
268
|
var n, s;
|
|
269
269
|
let a = t.find((c) => c.type === "pre-apply-result");
|
|
270
270
|
if (!a)
|
|
@@ -277,20 +277,20 @@ function Ua(t, e, i) {
|
|
|
277
277
|
}
|
|
278
278
|
return { node_id: a.id, flow_session_id: i, participation: o, answers: r };
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
let i =
|
|
280
|
+
function cn(t, e) {
|
|
281
|
+
let i = Va(t, e, ""), a = je(t).map((r) => {
|
|
282
282
|
let n = r.data.preApply, s = i == null ? void 0 : i.answers[r.data.key], c = r.type === "question-boolean" ? typeof s == "boolean" : r.data.options.some((d) => d.value === s);
|
|
283
283
|
return { key: r.data.key, severity: n.severity, message: n.mismatchMessage, matched: c && s === n.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((r) => r.valid) ? "completed" : "unavailable";
|
|
285
285
|
return { status: o, hasHardConcerns: o === "completed" ? a.some((r) => !r.matched && r.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((r) => !r.matched && r.severity === "advisory") : null, answers: o === "completed" ? a : [] };
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function dn(t, e) {
|
|
288
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)));
|
|
292
292
|
}
|
|
293
|
-
var
|
|
293
|
+
var ji = (t, e) => {
|
|
294
294
|
if (e.length === 0)
|
|
295
295
|
return;
|
|
296
296
|
let i = t;
|
|
@@ -300,24 +300,24 @@ var Ai = (t, e) => {
|
|
|
300
300
|
i = i[a];
|
|
301
301
|
}
|
|
302
302
|
return i;
|
|
303
|
-
},
|
|
303
|
+
}, un = (t, e = "all") => {
|
|
304
304
|
let i = {}, a = e === "all" ? null : new Set(e);
|
|
305
305
|
for (let o in t) {
|
|
306
306
|
let r = t[o];
|
|
307
307
|
r && (a && !a.has(o) || (i[o] = r.value));
|
|
308
308
|
}
|
|
309
309
|
return i;
|
|
310
|
-
},
|
|
310
|
+
}, pn = ({ key: t, submissions: e }) => {
|
|
311
311
|
var a;
|
|
312
312
|
let i = (a = e[t]) == null ? void 0 : a.value;
|
|
313
313
|
if (typeof i != "string" && typeof i != "number")
|
|
314
314
|
throw new Error(`Submission at “${t}” is not a string or number`);
|
|
315
315
|
return i;
|
|
316
|
-
},
|
|
316
|
+
}, hn = ({ key: t, path: e, submissions: i, context: a }) => {
|
|
317
317
|
if (t === "$context") {
|
|
318
318
|
if (!e)
|
|
319
319
|
return;
|
|
320
|
-
let o =
|
|
320
|
+
let o = ji(a, e);
|
|
321
321
|
switch (typeof o) {
|
|
322
322
|
case "string":
|
|
323
323
|
return { type: "string", value: o };
|
|
@@ -333,8 +333,8 @@ var Ai = (t, e) => {
|
|
|
333
333
|
return i[t];
|
|
334
334
|
}, Wa = (t) => {
|
|
335
335
|
let e = t.split(".").pop();
|
|
336
|
-
return e ?
|
|
337
|
-
},
|
|
336
|
+
return e ? Ha(e ? "." + e : "") : Ua("No file extension found");
|
|
337
|
+
}, fn = (t, e) => {
|
|
338
338
|
if (e.length === 0)
|
|
339
339
|
return !0;
|
|
340
340
|
let i = e.map((a) => a.toLowerCase());
|
|
@@ -342,23 +342,33 @@ var Ai = (t, e) => {
|
|
|
342
342
|
let o = Wa(a.name);
|
|
343
343
|
return o.ok && i.includes(o.val.toLowerCase());
|
|
344
344
|
});
|
|
345
|
-
},
|
|
346
|
-
let e = Oe(
|
|
347
|
-
if (!e.success ||
|
|
345
|
+
}, wn = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, gn = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, Ya = A({ integration_response: A({ data: A({ redirect_url: L(), message: M(Bt(L())), button_text: M(Bt(L())) }) }) }), qa = (t) => Oe(Ya, t).success, Ka = A({ integration_response: A({ status: M(St()), error: A({ message: L(), data: M(St()) }) }) }), Ni = (t) => Oe(Ka, t).success, Ga = A({ success: ft(!0), integration_response: A({ data: A({ outcome: ft("pending"), message: M(St()) }), error: M(Ai()) }) }), Xa = (t) => {
|
|
346
|
+
let e = Oe(Ga, t);
|
|
347
|
+
if (!e.success || qa(t))
|
|
348
348
|
return;
|
|
349
349
|
let { message: i } = e.output.integration_response.data;
|
|
350
350
|
return typeof i == "string" && i.trim() ? { message: i } : {};
|
|
351
351
|
};
|
|
352
|
-
|
|
353
|
-
var
|
|
354
|
-
if (!
|
|
352
|
+
A({ success: ft(!1), message: M(St()) });
|
|
353
|
+
var bn = (t, e) => {
|
|
354
|
+
if (!Ni(t))
|
|
355
355
|
return;
|
|
356
356
|
let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, r = (g) => typeof o[g] == "string" ? o[g] : void 0, n = (g) => typeof o[g] == "boolean" ? o[g] : void 0, s = (g) => {
|
|
357
357
|
let h = o[g];
|
|
358
358
|
return Number.isSafeInteger(h) && h >= 0 ? h : void 0;
|
|
359
359
|
}, c = typeof i.status == "number" ? i.status : e, d = r("phase"), u = r("verdict"), l = r("code"), w = c === 409 && d === "submit" && u === "confirmed" ? "duplicate" : c === 410 && l === "job_closed" ? "closed" : d === "submit" && u === "unknown" ? "unknown" : void 0;
|
|
360
360
|
return { message: i.error.message, status: c, phase: d, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: n("retryable"), verdict: u, code: l, field: r("field"), outcome: w };
|
|
361
|
-
},
|
|
361
|
+
}, Za = 3e4, Ja = 2e4, Qa = 6e4, to = 12e4, vn = 60 * 6e4, _n = (t, e) => {
|
|
362
|
+
if (!((e == null ? void 0 : e.retryable) === !0 && (e.providerStatus === 429 || e.providerStatus !== void 0 && e.providerStatus >= 500 || e.phase === "workflow" && e.verdict === "not_submitted")))
|
|
363
|
+
return { waitMs: Za };
|
|
364
|
+
let i = (t ?? 0) + 1, a = Math.min(i * Ja, Qa), o = (e.retryAfterSeconds ?? 0) * 1e3;
|
|
365
|
+
return { waitMs: Math.min(Math.max(a, o), to), throttles: i };
|
|
366
|
+
}, mn = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", yn = (t) => {
|
|
367
|
+
if (!Ni(t))
|
|
368
|
+
return !1;
|
|
369
|
+
let e = t.integration_response.error.data;
|
|
370
|
+
return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
|
|
371
|
+
}, xn = (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", kn = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", $n = (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, Sn = (t) => {
|
|
362
372
|
if (typeof t != "object" || t === null)
|
|
363
373
|
return null;
|
|
364
374
|
let e = t.integration_response;
|
|
@@ -371,14 +381,14 @@ var hn = (t, e) => {
|
|
|
371
381
|
if (!a && !r)
|
|
372
382
|
return null;
|
|
373
383
|
let n = a ? i.data : o.data ?? null;
|
|
374
|
-
return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: n }, ...
|
|
375
|
-
},
|
|
384
|
+
return { service: i.service ?? "INVALID_SERVICE", response: { status: i.status, payload: n }, ...Xa(t) && { outcome: "pending" } };
|
|
385
|
+
}, eo = ({ context: t, schema: e, logger: i }) => {
|
|
376
386
|
if (e)
|
|
377
387
|
for (let a in e) {
|
|
378
388
|
let o = e[a];
|
|
379
389
|
if (!o)
|
|
380
390
|
continue;
|
|
381
|
-
let r =
|
|
391
|
+
let r = ji(t, a.split("."));
|
|
382
392
|
if (o.required && r == null) {
|
|
383
393
|
let n = `Configuration error in context: ${a} is required`;
|
|
384
394
|
throw i.error(n), new Error(n);
|
|
@@ -397,17 +407,17 @@ var hn = (t, e) => {
|
|
|
397
407
|
o.type;
|
|
398
408
|
}
|
|
399
409
|
}
|
|
400
|
-
}, Pt, f,
|
|
401
|
-
function
|
|
410
|
+
}, Pt, f, Di, Mi, st, qe, Fi, ue, Bi, pt = {}, Li = [], io = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kt = Array.isArray;
|
|
411
|
+
function Q(t, e) {
|
|
402
412
|
for (var i in e)
|
|
403
413
|
t[i] = e[i];
|
|
404
414
|
return t;
|
|
405
415
|
}
|
|
406
|
-
function
|
|
416
|
+
function Ri(t) {
|
|
407
417
|
var e = t.parentNode;
|
|
408
418
|
e && e.removeChild(t);
|
|
409
419
|
}
|
|
410
|
-
function
|
|
420
|
+
function B(t, e, i) {
|
|
411
421
|
var a, o, r, n = {};
|
|
412
422
|
for (r in e)
|
|
413
423
|
r == "key" ? a = e[r] : r == "ref" ? o = e[r] : n[r] = e[r];
|
|
@@ -417,16 +427,16 @@ function L(t, e, i) {
|
|
|
417
427
|
return xt(t, n, a, o, null);
|
|
418
428
|
}
|
|
419
429
|
function xt(t, e, i, a, o) {
|
|
420
|
-
var r = { 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 ?? ++
|
|
430
|
+
var r = { 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 ?? ++Di };
|
|
421
431
|
return o == null && f.vnode != null && f.vnode(r), r;
|
|
422
432
|
}
|
|
423
|
-
function
|
|
433
|
+
function ao() {
|
|
424
434
|
return { current: null };
|
|
425
435
|
}
|
|
426
|
-
function
|
|
436
|
+
function W(t) {
|
|
427
437
|
return t.children;
|
|
428
438
|
}
|
|
429
|
-
function
|
|
439
|
+
function U(t, e) {
|
|
430
440
|
this.props = t, this.context = e;
|
|
431
441
|
}
|
|
432
442
|
function Rt(t, e) {
|
|
@@ -437,7 +447,7 @@ function Rt(t, e) {
|
|
|
437
447
|
return i.__e;
|
|
438
448
|
return typeof t.type == "function" ? Rt(t) : null;
|
|
439
449
|
}
|
|
440
|
-
function
|
|
450
|
+
function Hi(t) {
|
|
441
451
|
var e, i;
|
|
442
452
|
if ((t = t.__) != null && t.__c != null) {
|
|
443
453
|
for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
|
|
@@ -445,39 +455,39 @@ function Ri(t) {
|
|
|
445
455
|
t.__e = t.__c.base = i.__e;
|
|
446
456
|
break;
|
|
447
457
|
}
|
|
448
|
-
return
|
|
458
|
+
return Hi(t);
|
|
449
459
|
}
|
|
450
460
|
}
|
|
451
|
-
function
|
|
452
|
-
(!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ ||
|
|
461
|
+
function pe(t) {
|
|
462
|
+
(!t.__d && (t.__d = !0) && st.push(t) && !Ht.__r++ || qe !== f.debounceRendering) && ((qe = f.debounceRendering) || Fi)(Ht);
|
|
453
463
|
}
|
|
454
464
|
function Ht() {
|
|
455
465
|
var t, e, i, a, o, r, n, s, c;
|
|
456
|
-
for (st.sort(
|
|
457
|
-
t.__d && (e = st.length, a = void 0, o = void 0, r = void 0, s = (n = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (r =
|
|
466
|
+
for (st.sort(ue); t = st.shift(); )
|
|
467
|
+
t.__d && (e = st.length, a = void 0, o = void 0, r = void 0, s = (n = (i = t).__v).__e, (c = i.__P) && (a = [], o = [], (r = Q({}, n)).__v = n.__v + 1, Ne(c, n, r, i.__n, c.ownerSVGElement !== void 0, n.__h != null ? [s] : null, a, s ?? Rt(n), n.__h, o), Yi(a, n, o), n.__e != s && Hi(n)), st.length > e && st.sort(ue));
|
|
458
468
|
Ht.__r = 0;
|
|
459
469
|
}
|
|
460
|
-
function
|
|
461
|
-
var l, w, g, h, b,
|
|
470
|
+
function Ui(t, e, i, a, o, r, n, s, c, d, u) {
|
|
471
|
+
var l, w, g, h, b, j, x, v, _, y, E = 0, T = a && a.__k || Li, Y = T.length, q = Y, z = e.length;
|
|
462
472
|
for (i.__k = [], l = 0; l < z; l++)
|
|
463
|
-
(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) :
|
|
464
|
-
for (i.__e =
|
|
465
|
-
T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling),
|
|
473
|
+
(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) : Kt(h) ? xt(W, { 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 = oo(h, T, x = l + E, q)) === -1 ? g = pt : (g = T[v] || pt, T[v] = void 0, q--), Ne(t, h, g, o, r, n, s, c, d, u), b = h.__e, (w = h.ref) && g.ref != w && (g.ref && De(g.ref, null, h), u.push(w, h.__c || b, h)), b != null && (j == null && (j = b), y = !(_ = g === pt || g.__v === null) && v === x, _ ? v == -1 && E-- : v !== x && (v === x + 1 ? (E++, y = !0) : v > x ? q > z - x ? (E += v - x, y = !0) : E-- : E = v < x && v == x - 1 ? v - x : 0), x = l + E, y = y || v == l && !_, typeof h.type != "function" || v === x && g.__k !== h.__k ? typeof h.type == "function" || y ? h.__d !== void 0 ? (c = h.__d, h.__d = void 0) : c = b.nextSibling : c = Wi(t, b, c) : c = Vi(h, c, t), typeof i.type == "function" && (i.__d = c)));
|
|
474
|
+
for (i.__e = j, l = Y; l--; )
|
|
475
|
+
T[l] != null && (typeof i.type == "function" && T[l].__e != null && T[l].__e == i.__d && (i.__d = T[l].__e.nextSibling), qi(T[l], T[l]));
|
|
466
476
|
}
|
|
467
|
-
function
|
|
477
|
+
function Vi(t, e, i) {
|
|
468
478
|
for (var a, o = t.__k, r = 0; o && r < o.length; r++)
|
|
469
|
-
(a = o[r]) && (a.__ = t, e = typeof a.type == "function" ?
|
|
479
|
+
(a = o[r]) && (a.__ = t, e = typeof a.type == "function" ? Vi(a, e, i) : Wi(i, a.__e, e));
|
|
470
480
|
return e;
|
|
471
481
|
}
|
|
472
|
-
function
|
|
473
|
-
return e = e || [], t == null || typeof t == "boolean" || (
|
|
474
|
-
|
|
482
|
+
function tt(t, e) {
|
|
483
|
+
return e = e || [], t == null || typeof t == "boolean" || (Kt(t) ? t.some(function(i) {
|
|
484
|
+
tt(i, e);
|
|
475
485
|
}) : e.push(t)), e;
|
|
476
486
|
}
|
|
477
487
|
function Wi(t, e, i) {
|
|
478
488
|
return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
|
|
479
489
|
}
|
|
480
|
-
function
|
|
490
|
+
function oo(t, e, i, a) {
|
|
481
491
|
var o = t.key, r = t.type, n = i - 1, s = i + 1, c = e[i];
|
|
482
492
|
if (c === null || c && o == c.key && r === c.type)
|
|
483
493
|
return i;
|
|
@@ -496,15 +506,15 @@ function to(t, e, i, a) {
|
|
|
496
506
|
}
|
|
497
507
|
return -1;
|
|
498
508
|
}
|
|
499
|
-
function
|
|
509
|
+
function ro(t, e, i, a, o) {
|
|
500
510
|
var r;
|
|
501
511
|
for (r in i)
|
|
502
512
|
r === "children" || r === "key" || r in e || Ut(t, r, null, i[r], a);
|
|
503
513
|
for (r in e)
|
|
504
514
|
o && typeof e[r] != "function" || r === "children" || r === "key" || r === "value" || r === "checked" || i[r] === e[r] || Ut(t, r, e[r], i[r], a);
|
|
505
515
|
}
|
|
506
|
-
function
|
|
507
|
-
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" ||
|
|
516
|
+
function Ke(t, e, i) {
|
|
517
|
+
e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || io.test(e) ? i : i + "px";
|
|
508
518
|
}
|
|
509
519
|
function Ut(t, e, i, a, o) {
|
|
510
520
|
var r;
|
|
@@ -515,13 +525,13 @@ function Ut(t, e, i, a, o) {
|
|
|
515
525
|
else {
|
|
516
526
|
if (typeof a == "string" && (t.style.cssText = a = ""), a)
|
|
517
527
|
for (e in a)
|
|
518
|
-
i && e in i ||
|
|
528
|
+
i && e in i || Ke(t.style, e, "");
|
|
519
529
|
if (i)
|
|
520
530
|
for (e in i)
|
|
521
|
-
a && i[e] === a[e] ||
|
|
531
|
+
a && i[e] === a[e] || Ke(t.style, e, i[e]);
|
|
522
532
|
}
|
|
523
533
|
else if (e[0] === "o" && e[1] === "n")
|
|
524
|
-
r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = i, i ? a || t.addEventListener(e, r ?
|
|
534
|
+
r = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + r] = i, i ? a || t.addEventListener(e, r ? Xe : Ge, r) : t.removeEventListener(e, r ? Xe : Ge, r);
|
|
525
535
|
else if (e !== "dangerouslySetInnerHTML") {
|
|
526
536
|
if (o)
|
|
527
537
|
e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
@@ -534,21 +544,21 @@ function Ut(t, e, i, a, o) {
|
|
|
534
544
|
typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
|
|
535
545
|
}
|
|
536
546
|
}
|
|
537
|
-
function
|
|
547
|
+
function Ge(t) {
|
|
538
548
|
return this.l[t.type + !1](f.event ? f.event(t) : t);
|
|
539
549
|
}
|
|
540
|
-
function
|
|
550
|
+
function Xe(t) {
|
|
541
551
|
return this.l[t.type + !0](f.event ? f.event(t) : t);
|
|
542
552
|
}
|
|
543
|
-
function
|
|
544
|
-
var u, l, w, g, h, b,
|
|
553
|
+
function Ne(t, e, i, a, o, r, n, s, c, d) {
|
|
554
|
+
var u, l, w, g, h, b, j, x, v, _, y, E, T, Y, q, z = e.type;
|
|
545
555
|
if (e.constructor !== void 0)
|
|
546
556
|
return null;
|
|
547
557
|
i.__h != null && (c = i.__h, s = e.__e = i.__e, e.__h = null, r = [s]), (u = f.__b) && u(e);
|
|
548
558
|
try {
|
|
549
559
|
t:
|
|
550
560
|
if (typeof z == "function") {
|
|
551
|
-
if (x = e.props, v = (u = z.contextType) && a[u.__c], _ = u ? v ? v.props.value : u.__ : a, i.__c ?
|
|
561
|
+
if (x = e.props, v = (u = z.contextType) && a[u.__c], _ = u ? v ? v.props.value : u.__ : a, i.__c ? j = (l = e.__c = i.__c).__ = l.__E : ("prototype" in z && z.prototype.render ? e.__c = l = new z(x, _) : (e.__c = l = new U(x, _), l.constructor = z, l.render = so), v && v.sub(l), l.props = x, l.state || (l.state = {}), l.context = _, l.__n = a, w = l.__d = !0, l.__h = [], l._sb = []), l.__s == null && (l.__s = l.state), z.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Q({}, l.__s)), Q(l.__s, z.getDerivedStateFromProps(x, l.__s))), g = l.props, h = l.state, l.__v = e, w)
|
|
552
562
|
z.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), l.componentDidMount != null && l.__h.push(l.componentDidMount);
|
|
553
563
|
else {
|
|
554
564
|
if (z.getDerivedStateFromProps == null && x !== g && l.componentWillReceiveProps != null && l.componentWillReceiveProps(x, _), !l.__e && (l.shouldComponentUpdate != null && l.shouldComponentUpdate(x, l.__s, _) === !1 || e.__v === i.__v)) {
|
|
@@ -564,24 +574,24 @@ function Ae(t, e, i, a, o, r, n, s, c, d) {
|
|
|
564
574
|
});
|
|
565
575
|
}
|
|
566
576
|
if (l.context = _, l.props = x, l.__P = t, l.__e = !1, E = f.__r, T = 0, "prototype" in z && z.prototype.render) {
|
|
567
|
-
for (l.state = l.__s, l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context),
|
|
568
|
-
l.__h.push(l._sb[
|
|
577
|
+
for (l.state = l.__s, l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), Y = 0; Y < l._sb.length; Y++)
|
|
578
|
+
l.__h.push(l._sb[Y]);
|
|
569
579
|
l._sb = [];
|
|
570
580
|
} else
|
|
571
581
|
do
|
|
572
582
|
l.__d = !1, E && E(e), u = l.render(l.props, l.state, l.context), l.state = l.__s;
|
|
573
583
|
while (l.__d && ++T < 25);
|
|
574
|
-
l.state = l.__s, l.getChildContext != null && (a =
|
|
584
|
+
l.state = l.__s, l.getChildContext != null && (a = Q(Q({}, a), l.getChildContext())), w || l.getSnapshotBeforeUpdate == null || (b = l.getSnapshotBeforeUpdate(g, h)), Ui(t, Kt(q = u != null && u.type === W && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, r, n, s, c, d), l.base = e.__e, e.__h = null, l.__h.length && n.push(l), j && (l.__E = l.__ = null);
|
|
575
585
|
} else
|
|
576
|
-
r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e =
|
|
586
|
+
r == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = no(i.__e, e, i, a, o, r, n, c, d);
|
|
577
587
|
(u = f.diffed) && u(e);
|
|
578
588
|
} catch (It) {
|
|
579
589
|
e.__v = null, (c || r != null) && (e.__e = s, e.__h = !!c, r[r.indexOf(s)] = null), f.__e(It, e, i);
|
|
580
590
|
}
|
|
581
591
|
}
|
|
582
|
-
function
|
|
592
|
+
function Yi(t, e, i) {
|
|
583
593
|
for (var a = 0; a < i.length; a++)
|
|
584
|
-
|
|
594
|
+
De(i[a], i[++a], i[++a]);
|
|
585
595
|
f.__c && f.__c(e, t), t.some(function(o) {
|
|
586
596
|
try {
|
|
587
597
|
t = o.__h, o.__h = [], t.some(function(r) {
|
|
@@ -592,7 +602,7 @@ function Vi(t, e, i) {
|
|
|
592
602
|
}
|
|
593
603
|
});
|
|
594
604
|
}
|
|
595
|
-
function
|
|
605
|
+
function no(t, e, i, a, o, r, n, s, c) {
|
|
596
606
|
var d, u, l, w = i.props, g = e.props, h = e.type, b = 0;
|
|
597
607
|
if (h === "svg" && (o = !0), r != null) {
|
|
598
608
|
for (; b < r.length; b++)
|
|
@@ -615,25 +625,25 @@ function io(t, e, i, a, o, r, n, s, c) {
|
|
|
615
625
|
w[t.attributes[b].name] = t.attributes[b].value;
|
|
616
626
|
(l || u) && (l && (u && l.__html == u.__html || l.__html === t.innerHTML) || (t.innerHTML = l && l.__html || ""));
|
|
617
627
|
}
|
|
618
|
-
if (
|
|
628
|
+
if (ro(t, g, w, o, s), l)
|
|
619
629
|
e.__k = [];
|
|
620
|
-
else if (
|
|
630
|
+
else if (Ui(t, Kt(b = e.props.children) ? b : [b], e, i, a, o && h !== "foreignObject", r, n, r ? r[0] : i.__k && Rt(i, 0), s, c), r != null)
|
|
621
631
|
for (b = r.length; b--; )
|
|
622
|
-
r[b] != null &&
|
|
632
|
+
r[b] != null && Ri(r[b]);
|
|
623
633
|
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));
|
|
624
634
|
}
|
|
625
635
|
return t;
|
|
626
636
|
}
|
|
627
|
-
function
|
|
637
|
+
function De(t, e, i) {
|
|
628
638
|
try {
|
|
629
639
|
typeof t == "function" ? t(e) : t.current = e;
|
|
630
640
|
} catch (a) {
|
|
631
641
|
f.__e(a, i);
|
|
632
642
|
}
|
|
633
643
|
}
|
|
634
|
-
function
|
|
644
|
+
function qi(t, e, i) {
|
|
635
645
|
var a, o;
|
|
636
|
-
if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e ||
|
|
646
|
+
if (f.unmount && f.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || De(a, null, e)), (a = t.__c) != null) {
|
|
637
647
|
if (a.componentWillUnmount)
|
|
638
648
|
try {
|
|
639
649
|
a.componentWillUnmount();
|
|
@@ -644,26 +654,26 @@ function Yi(t, e, i) {
|
|
|
644
654
|
}
|
|
645
655
|
if (a = t.__k)
|
|
646
656
|
for (o = 0; o < a.length; o++)
|
|
647
|
-
a[o] &&
|
|
648
|
-
i || t.__e == null ||
|
|
657
|
+
a[o] && qi(a[o], e, i || typeof t.type != "function");
|
|
658
|
+
i || t.__e == null || Ri(t.__e), t.__ = t.__e = t.__d = void 0;
|
|
649
659
|
}
|
|
650
|
-
function
|
|
660
|
+
function so(t, e, i) {
|
|
651
661
|
return this.constructor(t, i);
|
|
652
662
|
}
|
|
653
663
|
function ct(t, e, i) {
|
|
654
664
|
var a, o, r, n;
|
|
655
|
-
f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [],
|
|
665
|
+
f.__ && f.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, r = [], n = [], Ne(e, t = (!a && i || e).__k = B(W, null, [t]), o || pt, pt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? Pt.call(e.childNodes) : null, r, !a && i ? i : o ? o.__e : e.firstChild, a, n), Yi(r, t, n);
|
|
656
666
|
}
|
|
657
667
|
function Ki(t, e) {
|
|
658
668
|
ct(t, e, Ki);
|
|
659
669
|
}
|
|
660
|
-
function
|
|
661
|
-
var a, o, r, n, s =
|
|
670
|
+
function lo(t, e, i) {
|
|
671
|
+
var a, o, r, n, s = Q({}, t.props);
|
|
662
672
|
for (r in t.type && t.type.defaultProps && (n = t.type.defaultProps), e)
|
|
663
673
|
r == "key" ? a = e[r] : r == "ref" ? o = e[r] : s[r] = e[r] === void 0 && n !== void 0 ? n[r] : e[r];
|
|
664
674
|
return arguments.length > 2 && (s.children = arguments.length > 3 ? Pt.call(arguments, 2) : i), xt(t.type, s, a || t.key, o || t.ref, null);
|
|
665
675
|
}
|
|
666
|
-
function
|
|
676
|
+
function Gi(t, e) {
|
|
667
677
|
var i = { __c: e = "__cC" + Bi++, __: t, Consumer: function(a, o) {
|
|
668
678
|
return a.children(o);
|
|
669
679
|
}, Provider: function(a) {
|
|
@@ -672,7 +682,7 @@ function qi(t, e) {
|
|
|
672
682
|
return r;
|
|
673
683
|
}, this.shouldComponentUpdate = function(n) {
|
|
674
684
|
this.props.value !== n.value && o.some(function(s) {
|
|
675
|
-
s.__e = !0,
|
|
685
|
+
s.__e = !0, pe(s);
|
|
676
686
|
});
|
|
677
687
|
}, this.sub = function(n) {
|
|
678
688
|
o.push(n);
|
|
@@ -694,14 +704,14 @@ Pt = Li.slice, f = { __e: function(t, e, i, a) {
|
|
|
694
704
|
t = s;
|
|
695
705
|
}
|
|
696
706
|
throw t;
|
|
697
|
-
} },
|
|
707
|
+
} }, Di = 0, Mi = function(t) {
|
|
698
708
|
return t != null && t.constructor === void 0;
|
|
699
|
-
},
|
|
709
|
+
}, U.prototype.setState = function(t, e) {
|
|
700
710
|
var i;
|
|
701
|
-
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s =
|
|
702
|
-
},
|
|
703
|
-
this.__v && (this.__e = !0, t && this.__h.push(t),
|
|
704
|
-
},
|
|
711
|
+
i = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Q({}, this.state), typeof t == "function" && (t = t(Q({}, i), this.props)), t && Q(i, t), t != null && this.__v && (e && this._sb.push(e), pe(this));
|
|
712
|
+
}, U.prototype.forceUpdate = function(t) {
|
|
713
|
+
this.__v && (this.__e = !0, t && this.__h.push(t), pe(this));
|
|
714
|
+
}, U.prototype.render = W, st = [], Fi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ue = function(t, e) {
|
|
705
715
|
return t.__v.__b - e.__v.__b;
|
|
706
716
|
}, Ht.__r = 0, Bi = 0;
|
|
707
717
|
function Xi(t) {
|
|
@@ -718,12 +728,12 @@ function Xi(t) {
|
|
|
718
728
|
t[i] && (a && (a += " "), a += i);
|
|
719
729
|
return a;
|
|
720
730
|
}
|
|
721
|
-
function
|
|
731
|
+
function Me() {
|
|
722
732
|
for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
|
|
723
733
|
(t = arguments[i]) && (e = Xi(t)) && (a && (a += " "), a += e);
|
|
724
734
|
return a;
|
|
725
735
|
}
|
|
726
|
-
const
|
|
736
|
+
const Ze = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = Me, Fe = (t, e) => (i) => {
|
|
727
737
|
var a;
|
|
728
738
|
if ((e == null ? void 0 : e.variants) == null)
|
|
729
739
|
return Je(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
@@ -731,7 +741,7 @@ const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = De, F
|
|
|
731
741
|
const u = i == null ? void 0 : i[d], l = r == null ? void 0 : r[d];
|
|
732
742
|
if (u === null)
|
|
733
743
|
return null;
|
|
734
|
-
const w =
|
|
744
|
+
const w = Ze(u) || Ze(l);
|
|
735
745
|
return o[d][w];
|
|
736
746
|
}), s = i && Object.entries(i).reduce((d, u) => {
|
|
737
747
|
let [l, w] = u;
|
|
@@ -739,14 +749,14 @@ const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = De, F
|
|
|
739
749
|
}, {}), c = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
|
|
740
750
|
let { class: l, className: w, ...g } = u;
|
|
741
751
|
return Object.entries(g).every((h) => {
|
|
742
|
-
let [b,
|
|
743
|
-
return Array.isArray(
|
|
752
|
+
let [b, j] = h;
|
|
753
|
+
return Array.isArray(j) ? j.includes({
|
|
744
754
|
...r,
|
|
745
755
|
...s
|
|
746
756
|
}[b]) : {
|
|
747
757
|
...r,
|
|
748
758
|
...s
|
|
749
|
-
}[b] ===
|
|
759
|
+
}[b] === j;
|
|
750
760
|
}) ? [
|
|
751
761
|
...d,
|
|
752
762
|
l,
|
|
@@ -755,18 +765,18 @@ const Ge = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Je = De, F
|
|
|
755
765
|
}, []);
|
|
756
766
|
return Je(t, n, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
757
767
|
};
|
|
758
|
-
var
|
|
768
|
+
var rt, C, ee, Qe, wt = 0, Zi = [], Ot = [], ti = f.__b, ei = f.__r, ii = f.diffed, ai = f.__c, oi = f.unmount;
|
|
759
769
|
function gt(t, e) {
|
|
760
770
|
f.__h && f.__h(C, t, wt || e), wt = 0;
|
|
761
771
|
var i = C.__H || (C.__H = { __: [], __h: [] });
|
|
762
|
-
return t >= i.__.length && i.__.push({ __V:
|
|
772
|
+
return t >= i.__.length && i.__.push({ __V: Ot }), i.__[t];
|
|
763
773
|
}
|
|
764
|
-
function
|
|
765
|
-
return wt = 1,
|
|
774
|
+
function Ji(t) {
|
|
775
|
+
return wt = 1, Qi(ia, t);
|
|
766
776
|
}
|
|
767
|
-
function
|
|
768
|
-
var a = gt(
|
|
769
|
-
if (a.t = t, !a.__c && (a.__ = [i ? i(e) :
|
|
777
|
+
function Qi(t, e, i) {
|
|
778
|
+
var a = gt(rt++, 2);
|
|
779
|
+
if (a.t = t, !a.__c && (a.__ = [i ? i(e) : ia(void 0, e), function(s) {
|
|
770
780
|
var c = a.__N ? a.__N[0] : a.__[0], d = a.t(c, s);
|
|
771
781
|
c !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
|
|
772
782
|
}], a.__c = C, !C.u)) {
|
|
@@ -800,20 +810,20 @@ function Ji(t, e, i) {
|
|
|
800
810
|
}
|
|
801
811
|
return a.__N || a.__;
|
|
802
812
|
}
|
|
803
|
-
function
|
|
804
|
-
var i = gt(
|
|
813
|
+
function ta(t, e) {
|
|
814
|
+
var i = gt(rt++, 3);
|
|
805
815
|
!f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__H.__h.push(i));
|
|
806
816
|
}
|
|
807
817
|
function bt(t, e) {
|
|
808
|
-
var i = gt(
|
|
818
|
+
var i = gt(rt++, 4);
|
|
809
819
|
!f.__s && Be(i.__H, e) && (i.__ = t, i.i = e, C.__h.push(i));
|
|
810
820
|
}
|
|
811
|
-
function
|
|
821
|
+
function Gt(t) {
|
|
812
822
|
return wt = 5, dt(function() {
|
|
813
823
|
return { current: t };
|
|
814
824
|
}, []);
|
|
815
825
|
}
|
|
816
|
-
function
|
|
826
|
+
function co(t, e, i) {
|
|
817
827
|
wt = 6, bt(function() {
|
|
818
828
|
return typeof t == "function" ? (t(e()), function() {
|
|
819
829
|
return t(null);
|
|
@@ -823,23 +833,23 @@ function ro(t, e, i) {
|
|
|
823
833
|
}, i == null ? i : i.concat(t));
|
|
824
834
|
}
|
|
825
835
|
function dt(t, e) {
|
|
826
|
-
var i = gt(
|
|
836
|
+
var i = gt(rt++, 7);
|
|
827
837
|
return Be(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
|
|
828
838
|
}
|
|
829
|
-
function
|
|
839
|
+
function uo(t, e) {
|
|
830
840
|
return wt = 8, dt(function() {
|
|
831
841
|
return t;
|
|
832
842
|
}, e);
|
|
833
843
|
}
|
|
834
|
-
function
|
|
835
|
-
var e = C.context[t.__c], i = gt(
|
|
844
|
+
function ea(t) {
|
|
845
|
+
var e = C.context[t.__c], i = gt(rt++, 9);
|
|
836
846
|
return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(C)), e.props.value) : t.__;
|
|
837
847
|
}
|
|
838
|
-
function
|
|
848
|
+
function po(t, e) {
|
|
839
849
|
f.useDebugValue && f.useDebugValue(e ? e(t) : t);
|
|
840
850
|
}
|
|
841
|
-
function
|
|
842
|
-
var t = gt(
|
|
851
|
+
function ho() {
|
|
852
|
+
var t = gt(rt++, 11);
|
|
843
853
|
if (!t.__) {
|
|
844
854
|
for (var e = C.__v; e !== null && !e.__m && e.__ !== null; )
|
|
845
855
|
e = e.__;
|
|
@@ -848,11 +858,11 @@ function lo() {
|
|
|
848
858
|
}
|
|
849
859
|
return t.__;
|
|
850
860
|
}
|
|
851
|
-
function
|
|
861
|
+
function fo() {
|
|
852
862
|
for (var t; t = Zi.shift(); )
|
|
853
863
|
if (t.__P && t.__H)
|
|
854
864
|
try {
|
|
855
|
-
t.__H.__h.forEach(
|
|
865
|
+
t.__H.__h.forEach(jt), t.__H.__h.forEach(he), t.__H.__h = [];
|
|
856
866
|
} catch (e) {
|
|
857
867
|
t.__H.__h = [], f.__e(e, t.__v);
|
|
858
868
|
}
|
|
@@ -860,22 +870,22 @@ function co() {
|
|
|
860
870
|
f.__b = function(t) {
|
|
861
871
|
C = null, ti && ti(t);
|
|
862
872
|
}, f.__r = function(t) {
|
|
863
|
-
ei && ei(t),
|
|
873
|
+
ei && ei(t), rt = 0;
|
|
864
874
|
var e = (C = t.__c).__H;
|
|
865
|
-
e && (
|
|
866
|
-
i.__N && (i.__ = i.__N), i.__V =
|
|
867
|
-
})) : (e.__h.forEach(
|
|
875
|
+
e && (ee === C ? (e.__h = [], C.__h = [], e.__.forEach(function(i) {
|
|
876
|
+
i.__N && (i.__ = i.__N), i.__V = Ot, i.__N = i.i = void 0;
|
|
877
|
+
})) : (e.__h.forEach(jt), e.__h.forEach(he), e.__h = [], rt = 0)), ee = C;
|
|
868
878
|
}, f.diffed = function(t) {
|
|
869
879
|
ii && ii(t);
|
|
870
880
|
var e = t.__c;
|
|
871
|
-
e && e.__H && (e.__H.__h.length && (Zi.push(e) !== 1 && Qe === f.requestAnimationFrame || ((Qe = f.requestAnimationFrame) ||
|
|
872
|
-
i.i && (i.__H = i.i), i.__V !==
|
|
873
|
-
})),
|
|
881
|
+
e && e.__H && (e.__H.__h.length && (Zi.push(e) !== 1 && Qe === f.requestAnimationFrame || ((Qe = f.requestAnimationFrame) || wo)(fo)), e.__H.__.forEach(function(i) {
|
|
882
|
+
i.i && (i.__H = i.i), i.__V !== Ot && (i.__ = i.__V), i.i = void 0, i.__V = Ot;
|
|
883
|
+
})), ee = C = null;
|
|
874
884
|
}, f.__c = function(t, e) {
|
|
875
885
|
e.some(function(i) {
|
|
876
886
|
try {
|
|
877
|
-
i.__h.forEach(
|
|
878
|
-
return !a.__ ||
|
|
887
|
+
i.__h.forEach(jt), i.__h = i.__h.filter(function(a) {
|
|
888
|
+
return !a.__ || he(a);
|
|
879
889
|
});
|
|
880
890
|
} catch (a) {
|
|
881
891
|
e.some(function(o) {
|
|
@@ -888,24 +898,24 @@ f.__b = function(t) {
|
|
|
888
898
|
var e, i = t.__c;
|
|
889
899
|
i && i.__H && (i.__H.__.forEach(function(a) {
|
|
890
900
|
try {
|
|
891
|
-
|
|
901
|
+
jt(a);
|
|
892
902
|
} catch (o) {
|
|
893
903
|
e = o;
|
|
894
904
|
}
|
|
895
905
|
}), i.__H = void 0, e && f.__e(e, i.__v));
|
|
896
906
|
};
|
|
897
907
|
var ri = typeof requestAnimationFrame == "function";
|
|
898
|
-
function
|
|
908
|
+
function wo(t) {
|
|
899
909
|
var e, i = function() {
|
|
900
910
|
clearTimeout(a), ri && cancelAnimationFrame(e), setTimeout(t);
|
|
901
911
|
}, a = setTimeout(i, 100);
|
|
902
912
|
ri && (e = requestAnimationFrame(i));
|
|
903
913
|
}
|
|
904
|
-
function
|
|
914
|
+
function jt(t) {
|
|
905
915
|
var e = C, i = t.__c;
|
|
906
916
|
typeof i == "function" && (t.__c = void 0, i()), C = e;
|
|
907
917
|
}
|
|
908
|
-
function
|
|
918
|
+
function he(t) {
|
|
909
919
|
var e = C;
|
|
910
920
|
t.__c = t.__(), C = e;
|
|
911
921
|
}
|
|
@@ -914,15 +924,15 @@ function Be(t, e) {
|
|
|
914
924
|
return i !== t[a];
|
|
915
925
|
});
|
|
916
926
|
}
|
|
917
|
-
function
|
|
927
|
+
function ia(t, e) {
|
|
918
928
|
return typeof e == "function" ? e(t) : e;
|
|
919
929
|
}
|
|
920
|
-
function
|
|
930
|
+
function aa(t, e) {
|
|
921
931
|
for (var i in e)
|
|
922
932
|
t[i] = e[i];
|
|
923
933
|
return t;
|
|
924
934
|
}
|
|
925
|
-
function
|
|
935
|
+
function fe(t, e) {
|
|
926
936
|
for (var i in t)
|
|
927
937
|
if (i !== "__source" && !(i in e))
|
|
928
938
|
return !0;
|
|
@@ -931,76 +941,76 @@ function he(t, e) {
|
|
|
931
941
|
return !0;
|
|
932
942
|
return !1;
|
|
933
943
|
}
|
|
934
|
-
function
|
|
944
|
+
function ie(t, e) {
|
|
935
945
|
return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
|
|
936
946
|
}
|
|
937
|
-
function
|
|
947
|
+
function we(t) {
|
|
938
948
|
this.props = t;
|
|
939
949
|
}
|
|
940
|
-
function
|
|
950
|
+
function go(t, e) {
|
|
941
951
|
function i(o) {
|
|
942
952
|
var r = this.props.ref, n = r == o.ref;
|
|
943
|
-
return !n && r && (r.call ? r(null) : r.current = null), e ? !e(this.props, o) || !n :
|
|
953
|
+
return !n && r && (r.call ? r(null) : r.current = null), e ? !e(this.props, o) || !n : fe(this.props, o);
|
|
944
954
|
}
|
|
945
955
|
function a(o) {
|
|
946
|
-
return this.shouldComponentUpdate = i,
|
|
956
|
+
return this.shouldComponentUpdate = i, B(t, o);
|
|
947
957
|
}
|
|
948
958
|
return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
|
|
949
959
|
}
|
|
950
|
-
(
|
|
951
|
-
return
|
|
960
|
+
(we.prototype = new U()).isPureReactComponent = !0, we.prototype.shouldComponentUpdate = function(t, e) {
|
|
961
|
+
return fe(this.props, t) || fe(this.state, e);
|
|
952
962
|
};
|
|
953
963
|
var ni = f.__b;
|
|
954
964
|
f.__b = function(t) {
|
|
955
965
|
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ni && ni(t);
|
|
956
966
|
};
|
|
957
|
-
var
|
|
958
|
-
function
|
|
967
|
+
var bo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
|
968
|
+
function vo(t) {
|
|
959
969
|
function e(i) {
|
|
960
|
-
var a =
|
|
970
|
+
var a = aa({}, i);
|
|
961
971
|
return delete a.ref, t(a, i.ref || null);
|
|
962
972
|
}
|
|
963
|
-
return e.$$typeof =
|
|
973
|
+
return e.$$typeof = bo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
964
974
|
}
|
|
965
975
|
var si = function(t, e) {
|
|
966
|
-
return t == null ? null :
|
|
967
|
-
},
|
|
968
|
-
return t ?
|
|
976
|
+
return t == null ? null : tt(tt(t).map(e));
|
|
977
|
+
}, _o = { map: si, forEach: si, count: function(t) {
|
|
978
|
+
return t ? tt(t).length : 0;
|
|
969
979
|
}, only: function(t) {
|
|
970
|
-
var e =
|
|
980
|
+
var e = tt(t);
|
|
971
981
|
if (e.length !== 1)
|
|
972
982
|
throw "Children.only";
|
|
973
983
|
return e[0];
|
|
974
|
-
}, toArray:
|
|
984
|
+
}, toArray: tt }, mo = f.__e;
|
|
975
985
|
f.__e = function(t, e, i, a) {
|
|
976
986
|
if (t.then) {
|
|
977
987
|
for (var o, r = e; r = r.__; )
|
|
978
988
|
if ((o = r.__c) && o.__c)
|
|
979
989
|
return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
|
|
980
990
|
}
|
|
981
|
-
|
|
991
|
+
mo(t, e, i, a);
|
|
982
992
|
};
|
|
983
993
|
var li = f.unmount;
|
|
984
|
-
function
|
|
994
|
+
function oa(t, e, i) {
|
|
985
995
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
|
|
986
996
|
typeof a.__c == "function" && a.__c();
|
|
987
|
-
}), t.__c.__H = null), (t =
|
|
988
|
-
return
|
|
997
|
+
}), t.__c.__H = null), (t = aa({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
|
|
998
|
+
return oa(a, e, i);
|
|
989
999
|
})), t;
|
|
990
1000
|
}
|
|
991
|
-
function
|
|
1001
|
+
function ra(t, e, i) {
|
|
992
1002
|
return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
|
|
993
|
-
return
|
|
1003
|
+
return ra(a, e, i);
|
|
994
1004
|
}), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
|
|
995
1005
|
}
|
|
996
1006
|
function kt() {
|
|
997
1007
|
this.__u = 0, this.t = null, this.__b = null;
|
|
998
1008
|
}
|
|
999
|
-
function
|
|
1009
|
+
function na(t) {
|
|
1000
1010
|
var e = t.__.__c;
|
|
1001
1011
|
return e && e.__a && e.__a(t);
|
|
1002
1012
|
}
|
|
1003
|
-
function
|
|
1013
|
+
function sa(t) {
|
|
1004
1014
|
var e, i, a;
|
|
1005
1015
|
function o(r) {
|
|
1006
1016
|
if (e || (e = t()).then(function(n) {
|
|
@@ -1011,7 +1021,7 @@ function na(t) {
|
|
|
1011
1021
|
throw a;
|
|
1012
1022
|
if (!i)
|
|
1013
1023
|
throw e;
|
|
1014
|
-
return
|
|
1024
|
+
return B(i, r);
|
|
1015
1025
|
}
|
|
1016
1026
|
return o.displayName = "Lazy", o.__f = !0, o;
|
|
1017
1027
|
}
|
|
@@ -1021,10 +1031,10 @@ function yt() {
|
|
|
1021
1031
|
f.unmount = function(t) {
|
|
1022
1032
|
var e = t.__c;
|
|
1023
1033
|
e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), li && li(t);
|
|
1024
|
-
}, (kt.prototype = new
|
|
1034
|
+
}, (kt.prototype = new U()).__c = function(t, e) {
|
|
1025
1035
|
var i = e.__c, a = this;
|
|
1026
1036
|
a.t == null && (a.t = []), a.t.push(i);
|
|
1027
|
-
var o =
|
|
1037
|
+
var o = na(a.__v), r = !1, n = function() {
|
|
1028
1038
|
r || (r = !0, i.__R = null, o ? o(s) : s());
|
|
1029
1039
|
};
|
|
1030
1040
|
i.__R = n;
|
|
@@ -1032,7 +1042,7 @@ f.unmount = function(t) {
|
|
|
1032
1042
|
if (!--a.__u) {
|
|
1033
1043
|
if (a.state.__a) {
|
|
1034
1044
|
var d = a.state.__a;
|
|
1035
|
-
a.__v.__k[0] =
|
|
1045
|
+
a.__v.__k[0] = ra(d, d.__c.__P, d.__c.__O);
|
|
1036
1046
|
}
|
|
1037
1047
|
var u;
|
|
1038
1048
|
for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
|
|
@@ -1046,12 +1056,12 @@ f.unmount = function(t) {
|
|
|
1046
1056
|
if (this.__b) {
|
|
1047
1057
|
if (this.__v.__k) {
|
|
1048
1058
|
var i = document.createElement("div"), a = this.__v.__k[0].__c;
|
|
1049
|
-
this.__v.__k[0] =
|
|
1059
|
+
this.__v.__k[0] = oa(this.__b, i, a.__O = a.__P);
|
|
1050
1060
|
}
|
|
1051
1061
|
this.__b = null;
|
|
1052
1062
|
}
|
|
1053
|
-
var o = e.__a &&
|
|
1054
|
-
return o && (o.__h = null), [
|
|
1063
|
+
var o = e.__a && B(W, null, t.fallback);
|
|
1064
|
+
return o && (o.__h = null), [B(W, null, e.__a ? null : t.children), o];
|
|
1055
1065
|
};
|
|
1056
1066
|
var ci = function(t, e, i) {
|
|
1057
1067
|
if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
|
|
@@ -1063,12 +1073,12 @@ var ci = function(t, e, i) {
|
|
|
1063
1073
|
t.u = i = i[2];
|
|
1064
1074
|
}
|
|
1065
1075
|
};
|
|
1066
|
-
function
|
|
1076
|
+
function yo(t) {
|
|
1067
1077
|
return this.getChildContext = function() {
|
|
1068
1078
|
return t.context;
|
|
1069
1079
|
}, t.children;
|
|
1070
1080
|
}
|
|
1071
|
-
function
|
|
1081
|
+
function xo(t) {
|
|
1072
1082
|
var e = this, i = t.i;
|
|
1073
1083
|
e.componentWillUnmount = function() {
|
|
1074
1084
|
ct(null, e.l), e.l = null, e.i = null;
|
|
@@ -1078,14 +1088,14 @@ function vo(t) {
|
|
|
1078
1088
|
this.childNodes.push(a), e.i.appendChild(a);
|
|
1079
1089
|
}, removeChild: function(a) {
|
|
1080
1090
|
this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
|
|
1081
|
-
} }), ct(
|
|
1091
|
+
} }), ct(B(yo, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
|
|
1082
1092
|
}
|
|
1083
|
-
function
|
|
1084
|
-
var i =
|
|
1093
|
+
function ko(t, e) {
|
|
1094
|
+
var i = B(xo, { __v: t, i: e });
|
|
1085
1095
|
return i.containerInfo = e, i;
|
|
1086
1096
|
}
|
|
1087
|
-
(yt.prototype = new
|
|
1088
|
-
var e = this, i =
|
|
1097
|
+
(yt.prototype = new U()).__a = function(t) {
|
|
1098
|
+
var e = this, i = na(e.__v), a = e.o.get(t);
|
|
1089
1099
|
return a[0]++, function(o) {
|
|
1090
1100
|
var r = function() {
|
|
1091
1101
|
e.props.revealOrder ? (a.push(o), ci(e, t, a)) : o();
|
|
@@ -1094,7 +1104,7 @@ function _o(t, e) {
|
|
|
1094
1104
|
};
|
|
1095
1105
|
}, yt.prototype.render = function(t) {
|
|
1096
1106
|
this.u = null, this.o = /* @__PURE__ */ new Map();
|
|
1097
|
-
var e =
|
|
1107
|
+
var e = tt(t.children);
|
|
1098
1108
|
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
|
|
1099
1109
|
for (var i = e.length; i--; )
|
|
1100
1110
|
this.o.set(e[i], this.u = [1, 0, this.u]);
|
|
@@ -1105,35 +1115,35 @@ function _o(t, e) {
|
|
|
1105
1115
|
ci(t, i, e);
|
|
1106
1116
|
});
|
|
1107
1117
|
};
|
|
1108
|
-
var
|
|
1118
|
+
var la = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, $o = /^(?: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]/, So = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Co = /[A-Z0-9]/g, Eo = typeof document < "u", Po = function(t) {
|
|
1109
1119
|
return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
|
|
1110
1120
|
};
|
|
1111
|
-
function
|
|
1121
|
+
function To(t, e, i) {
|
|
1112
1122
|
return e.__k == null && (e.textContent = ""), ct(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1113
1123
|
}
|
|
1114
|
-
function
|
|
1124
|
+
function Io(t, e, i) {
|
|
1115
1125
|
return Ki(t, e), typeof i == "function" && i(), t ? t.__c : null;
|
|
1116
1126
|
}
|
|
1117
|
-
|
|
1118
|
-
Object.defineProperty(
|
|
1127
|
+
U.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
1128
|
+
Object.defineProperty(U.prototype, t, { configurable: !0, get: function() {
|
|
1119
1129
|
return this["UNSAFE_" + t];
|
|
1120
1130
|
}, set: function(e) {
|
|
1121
1131
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
1122
1132
|
} });
|
|
1123
1133
|
});
|
|
1124
1134
|
var di = f.event;
|
|
1125
|
-
function
|
|
1135
|
+
function zo() {
|
|
1126
1136
|
}
|
|
1127
|
-
function
|
|
1137
|
+
function Ao() {
|
|
1128
1138
|
return this.cancelBubble;
|
|
1129
1139
|
}
|
|
1130
|
-
function
|
|
1140
|
+
function Oo() {
|
|
1131
1141
|
return this.defaultPrevented;
|
|
1132
1142
|
}
|
|
1133
1143
|
f.event = function(t) {
|
|
1134
|
-
return di && (t = di(t)), t.persist =
|
|
1144
|
+
return di && (t = di(t)), t.persist = zo, t.isPropagationStopped = Ao, t.isDefaultPrevented = Oo, t.nativeEvent = t;
|
|
1135
1145
|
};
|
|
1136
|
-
var Le,
|
|
1146
|
+
var Le, jo = { enumerable: !1, configurable: !0, get: function() {
|
|
1137
1147
|
return this.class;
|
|
1138
1148
|
} }, ui = f.vnode;
|
|
1139
1149
|
f.vnode = function(t) {
|
|
@@ -1141,17 +1151,17 @@ f.vnode = function(t) {
|
|
|
1141
1151
|
var i = e.props, a = e.type, o = {};
|
|
1142
1152
|
for (var r in i) {
|
|
1143
1153
|
var n = i[r];
|
|
1144
|
-
if (!(r === "value" && "defaultValue" in i && n == null ||
|
|
1154
|
+
if (!(r === "value" && "defaultValue" in i && n == null || Eo && r === "children" && a === "noscript" || r === "class" || r === "className")) {
|
|
1145
1155
|
var s = r.toLowerCase();
|
|
1146
|
-
r === "defaultValue" && "value" in i && i.value == null ? r = "value" : r === "download" && n === !0 ? n = "" : s === "ondoubleclick" ? r = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" ||
|
|
1156
|
+
r === "defaultValue" && "value" in i && i.value == null ? r = "value" : r === "download" && n === !0 ? n = "" : s === "ondoubleclick" ? r = "ondblclick" : s !== "onchange" || a !== "input" && a !== "textarea" || Po(i.type) ? s === "onfocus" ? r = "onfocusin" : s === "onblur" ? r = "onfocusout" : So.test(r) ? r = s : a.indexOf("-") === -1 && $o.test(r) ? r = r.replace(Co, "-$&").toLowerCase() : n === null && (n = void 0) : s = r = "oninput", s === "oninput" && o[r = s] && (r = "oninputCapture"), o[r] = n;
|
|
1147
1157
|
}
|
|
1148
1158
|
}
|
|
1149
|
-
a == "select" && o.multiple && Array.isArray(o.value) && (o.value =
|
|
1159
|
+
a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(c) {
|
|
1150
1160
|
c.props.selected = o.value.indexOf(c.props.value) != -1;
|
|
1151
|
-
})), a == "select" && o.defaultValue != null && (o.value =
|
|
1161
|
+
})), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(c) {
|
|
1152
1162
|
c.props.selected = o.multiple ? o.defaultValue.indexOf(c.props.value) != -1 : o.defaultValue == c.props.value;
|
|
1153
|
-
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className",
|
|
1154
|
-
}(t), t.$$typeof =
|
|
1163
|
+
})), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", jo)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
|
|
1164
|
+
}(t), t.$$typeof = la, ui && ui(t);
|
|
1155
1165
|
};
|
|
1156
1166
|
var pi = f.__r;
|
|
1157
1167
|
f.__r = function(t) {
|
|
@@ -1163,57 +1173,57 @@ f.diffed = function(t) {
|
|
|
1163
1173
|
var e = t.props, i = t.__e;
|
|
1164
1174
|
i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Le = null;
|
|
1165
1175
|
};
|
|
1166
|
-
var
|
|
1176
|
+
var No = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1167
1177
|
return Le.__n[t.__c].props.value;
|
|
1168
1178
|
} } } };
|
|
1169
|
-
function
|
|
1170
|
-
return
|
|
1179
|
+
function Do(t) {
|
|
1180
|
+
return B.bind(null, t);
|
|
1171
1181
|
}
|
|
1172
|
-
function
|
|
1173
|
-
return !!t && t.$$typeof ===
|
|
1182
|
+
function ca(t) {
|
|
1183
|
+
return !!t && t.$$typeof === la;
|
|
1174
1184
|
}
|
|
1175
|
-
function
|
|
1176
|
-
return
|
|
1185
|
+
function Mo(t) {
|
|
1186
|
+
return ca(t) ? lo.apply(null, arguments) : t;
|
|
1177
1187
|
}
|
|
1178
|
-
function
|
|
1188
|
+
function Fo(t) {
|
|
1179
1189
|
return !!t.__k && (ct(null, t), !0);
|
|
1180
1190
|
}
|
|
1181
|
-
function
|
|
1191
|
+
function Bo(t) {
|
|
1182
1192
|
return t && (t.base || t.nodeType === 1 && t) || null;
|
|
1183
1193
|
}
|
|
1184
|
-
var
|
|
1194
|
+
var Lo = function(t, e) {
|
|
1185
1195
|
return t(e);
|
|
1186
|
-
},
|
|
1196
|
+
}, Ro = function(t, e) {
|
|
1187
1197
|
return t(e);
|
|
1188
|
-
},
|
|
1189
|
-
function
|
|
1198
|
+
}, Ho = W;
|
|
1199
|
+
function da(t) {
|
|
1190
1200
|
t();
|
|
1191
1201
|
}
|
|
1192
|
-
function
|
|
1202
|
+
function Uo(t) {
|
|
1193
1203
|
return t;
|
|
1194
1204
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return [!1,
|
|
1205
|
+
function Vo() {
|
|
1206
|
+
return [!1, da];
|
|
1197
1207
|
}
|
|
1198
|
-
var
|
|
1199
|
-
function
|
|
1200
|
-
var i = e(), a =
|
|
1208
|
+
var Wo = bt;
|
|
1209
|
+
function Yo(t, e) {
|
|
1210
|
+
var i = e(), a = Ji({ h: { __: i, v: e } }), o = a[0].h, r = a[1];
|
|
1201
1211
|
return bt(function() {
|
|
1202
|
-
o.__ = i, o.v = e,
|
|
1203
|
-
}, [t, i, e]),
|
|
1204
|
-
return
|
|
1205
|
-
|
|
1212
|
+
o.__ = i, o.v = e, ie(o.__, e()) || r({ h: o });
|
|
1213
|
+
}, [t, i, e]), ta(function() {
|
|
1214
|
+
return ie(o.__, o.v()) || r({ h: o }), t(function() {
|
|
1215
|
+
ie(o.__, o.v()) || r({ h: o });
|
|
1206
1216
|
});
|
|
1207
1217
|
}, [t]), i;
|
|
1208
1218
|
}
|
|
1209
|
-
var
|
|
1210
|
-
const D = Symbol.for("@ts-pattern/matcher"),
|
|
1219
|
+
var Cn = { useState: Ji, useId: ho, useReducer: Qi, useEffect: ta, useLayoutEffect: bt, useInsertionEffect: Wo, useTransition: Vo, useDeferredValue: Uo, useSyncExternalStore: Yo, startTransition: da, useRef: Gt, useImperativeHandle: co, useMemo: dt, useCallback: uo, useContext: ea, useDebugValue: po, version: "17.0.2", Children: _o, render: To, hydrate: Io, unmountComponentAtNode: Fo, createPortal: ko, createElement: B, createContext: Gi, createFactory: Do, cloneElement: Mo, createRef: ao, Fragment: W, isValidElement: ca, findDOMNode: Bo, Component: U, PureComponent: we, memo: go, forwardRef: vo, flushSync: Ro, unstable_batchedUpdates: Lo, StrictMode: Ho, Suspense: kt, SuspenseList: yt, lazy: sa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: No };
|
|
1220
|
+
const D = Symbol.for("@ts-pattern/matcher"), ua = Symbol.for("@ts-pattern/isVariadic"), Vt = "@ts-pattern/anonymous-select-key", ge = (t) => !!(t && typeof t == "object"), Nt = (t) => t && !!t[D], P = (t, e, i) => {
|
|
1211
1221
|
if (Nt(t)) {
|
|
1212
1222
|
const a = t[D](), { matched: o, selections: r } = a.match(e);
|
|
1213
1223
|
return o && r && Object.keys(r).forEach((n) => i(n, r[n])), o;
|
|
1214
1224
|
}
|
|
1215
|
-
if (
|
|
1216
|
-
if (!
|
|
1225
|
+
if (ge(t)) {
|
|
1226
|
+
if (!ge(e))
|
|
1217
1227
|
return !1;
|
|
1218
1228
|
if (Array.isArray(t)) {
|
|
1219
1229
|
if (!Array.isArray(e))
|
|
@@ -1221,7 +1231,7 @@ const D = Symbol.for("@ts-pattern/matcher"), da = Symbol.for("@ts-pattern/isVari
|
|
|
1221
1231
|
let a = [], o = [], r = [];
|
|
1222
1232
|
for (const n of t.keys()) {
|
|
1223
1233
|
const s = t[n];
|
|
1224
|
-
Nt(s) && s[
|
|
1234
|
+
Nt(s) && s[ua] ? r.push(s) : r.length ? o.push(s) : a.push(s);
|
|
1225
1235
|
}
|
|
1226
1236
|
if (r.length) {
|
|
1227
1237
|
if (r.length > 1)
|
|
@@ -1242,9 +1252,9 @@ const D = Symbol.for("@ts-pattern/matcher"), da = Symbol.for("@ts-pattern/isVari
|
|
|
1242
1252
|
return Object.is(e, t);
|
|
1243
1253
|
}, N = (t) => {
|
|
1244
1254
|
var e, i, a;
|
|
1245
|
-
return
|
|
1255
|
+
return ge(t) ? Nt(t) ? (e = (i = (a = t[D]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Ct(t, N) : Ct(Object.values(t), N) : [];
|
|
1246
1256
|
}, Ct = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
|
|
1247
|
-
function
|
|
1257
|
+
function qo(...t) {
|
|
1248
1258
|
if (t.length === 1) {
|
|
1249
1259
|
const [e] = t;
|
|
1250
1260
|
return (i) => P(e, i, () => {
|
|
@@ -1258,19 +1268,19 @@ function Uo(...t) {
|
|
|
1258
1268
|
throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
|
|
1259
1269
|
}
|
|
1260
1270
|
function I(t) {
|
|
1261
|
-
return Object.assign(t, { optional: () =>
|
|
1271
|
+
return Object.assign(t, { optional: () => Re(t), and: (e) => S(t, e), or: (e) => pa(t, e), select: (e) => e === void 0 ? Et(t) : Et(e, t) });
|
|
1262
1272
|
}
|
|
1263
|
-
function
|
|
1273
|
+
function be(t) {
|
|
1264
1274
|
return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
|
|
1265
1275
|
let i = 0;
|
|
1266
|
-
const a = [{ value: Object.assign(e, { [
|
|
1276
|
+
const a = [{ value: Object.assign(e, { [ua]: !0 }), done: !1 }, { done: !0, value: void 0 }];
|
|
1267
1277
|
return { next: () => {
|
|
1268
1278
|
var o;
|
|
1269
1279
|
return (o = a[i++]) != null ? o : a.at(-1);
|
|
1270
1280
|
} };
|
|
1271
|
-
} }))(t), { optional: () =>
|
|
1281
|
+
} }))(t), { optional: () => be(Re(t)), select: (e) => be(e === void 0 ? Et(t) : Et(e, t)) });
|
|
1272
1282
|
}
|
|
1273
|
-
function
|
|
1283
|
+
function Re(t) {
|
|
1274
1284
|
return I({ [D]: () => ({ match: (e) => {
|
|
1275
1285
|
let i = {};
|
|
1276
1286
|
const a = (o, r) => {
|
|
@@ -1279,17 +1289,17 @@ function Me(t) {
|
|
|
1279
1289
|
return e === void 0 ? (N(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: P(t, e, a), selections: i };
|
|
1280
1290
|
}, getSelectionKeys: () => N(t), matcherType: "optional" }) });
|
|
1281
1291
|
}
|
|
1282
|
-
const
|
|
1292
|
+
const Ko = (t, e) => {
|
|
1283
1293
|
for (const i of t)
|
|
1284
1294
|
if (!e(i))
|
|
1285
1295
|
return !1;
|
|
1286
1296
|
return !0;
|
|
1287
|
-
},
|
|
1297
|
+
}, Go = (t, e) => {
|
|
1288
1298
|
for (const [i, a] of t.entries())
|
|
1289
1299
|
if (!e(a, i))
|
|
1290
1300
|
return !1;
|
|
1291
1301
|
return !0;
|
|
1292
|
-
},
|
|
1302
|
+
}, Xo = (t, e) => {
|
|
1293
1303
|
const i = Reflect.ownKeys(t);
|
|
1294
1304
|
for (const a of i)
|
|
1295
1305
|
if (!e(a, t[a]))
|
|
@@ -1305,7 +1315,7 @@ function S(...t) {
|
|
|
1305
1315
|
return { matched: t.every((o) => P(o, e, a)), selections: i };
|
|
1306
1316
|
}, getSelectionKeys: () => Ct(t, N), matcherType: "and" }) });
|
|
1307
1317
|
}
|
|
1308
|
-
function
|
|
1318
|
+
function pa(...t) {
|
|
1309
1319
|
return I({ [D]: () => ({ match: (e) => {
|
|
1310
1320
|
let i = {};
|
|
1311
1321
|
const a = (o, r) => {
|
|
@@ -1320,47 +1330,47 @@ function m(t) {
|
|
|
1320
1330
|
function Et(...t) {
|
|
1321
1331
|
const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
|
|
1322
1332
|
return I({ [D]: () => ({ match: (a) => {
|
|
1323
|
-
let o = { [e ??
|
|
1333
|
+
let o = { [e ?? Vt]: a };
|
|
1324
1334
|
return { matched: i === void 0 || P(i, a, (r, n) => {
|
|
1325
1335
|
o[r] = n;
|
|
1326
1336
|
}), selections: o };
|
|
1327
|
-
}, getSelectionKeys: () => [e ??
|
|
1337
|
+
}, getSelectionKeys: () => [e ?? Vt].concat(i === void 0 ? [] : N(i)) }) });
|
|
1328
1338
|
}
|
|
1329
|
-
function
|
|
1339
|
+
function ha(t) {
|
|
1330
1340
|
return !0;
|
|
1331
1341
|
}
|
|
1332
|
-
function
|
|
1342
|
+
function K(t) {
|
|
1333
1343
|
return typeof t == "number";
|
|
1334
1344
|
}
|
|
1335
|
-
function
|
|
1345
|
+
function et(t) {
|
|
1336
1346
|
return typeof t == "string";
|
|
1337
1347
|
}
|
|
1338
|
-
function
|
|
1348
|
+
function it(t) {
|
|
1339
1349
|
return typeof t == "bigint";
|
|
1340
1350
|
}
|
|
1341
|
-
const
|
|
1342
|
-
return
|
|
1351
|
+
const fa = I(m(ha)), Zo = I(m(ha)), Jo = fa, at = (t) => Object.assign(I(t), { startsWith: (e) => {
|
|
1352
|
+
return at(S(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
|
|
1343
1353
|
var i;
|
|
1344
1354
|
}, endsWith: (e) => {
|
|
1345
|
-
return
|
|
1355
|
+
return at(S(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
|
|
1346
1356
|
var i;
|
|
1347
|
-
}, minLength: (e) =>
|
|
1348
|
-
return
|
|
1357
|
+
}, minLength: (e) => at(S(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(S(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(S(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
|
|
1358
|
+
return at(S(t, (i = e, m((a) => et(a) && a.includes(i)))));
|
|
1349
1359
|
var i;
|
|
1350
1360
|
}, regex: (e) => {
|
|
1351
|
-
return
|
|
1361
|
+
return at(S(t, (i = e, m((a) => et(a) && !!a.match(i)))));
|
|
1352
1362
|
var i;
|
|
1353
|
-
} }), fi =
|
|
1363
|
+
} }), fi = at(m(et)), G = (t) => Object.assign(I(t), { between: (e, i) => G(S(t, ((a, o) => m((r) => K(r) && a <= r && o >= r))(e, i))), lt: (e) => G(S(t, ((i) => m((a) => K(a) && a < i))(e))), gt: (e) => G(S(t, ((i) => m((a) => K(a) && a > i))(e))), lte: (e) => G(S(t, ((i) => m((a) => K(a) && a <= i))(e))), gte: (e) => G(S(t, ((i) => m((a) => K(a) && a >= i))(e))), int: () => G(S(t, m((e) => K(e) && Number.isInteger(e)))), finite: () => G(S(t, m((e) => K(e) && Number.isFinite(e)))), positive: () => G(S(t, m((e) => K(e) && e > 0))), negative: () => G(S(t, m((e) => K(e) && e < 0))) }), Qo = G(m(K)), ot = (t) => Object.assign(I(t), { between: (e, i) => ot(S(t, ((a, o) => m((r) => it(r) && a <= r && o >= r))(e, i))), lt: (e) => ot(S(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(S(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(S(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(S(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(S(t, m((e) => it(e) && e > 0))), negative: () => ot(S(t, m((e) => it(e) && e < 0))) }), tr = ot(m(it)), er = I(m(function(t) {
|
|
1354
1364
|
return typeof t == "boolean";
|
|
1355
|
-
})),
|
|
1365
|
+
})), ir = I(m(function(t) {
|
|
1356
1366
|
return typeof t == "symbol";
|
|
1357
|
-
})),
|
|
1367
|
+
})), ar = I(m(function(t) {
|
|
1358
1368
|
return t == null;
|
|
1359
|
-
})),
|
|
1369
|
+
})), or = I(m(function(t) {
|
|
1360
1370
|
return t != null;
|
|
1361
1371
|
}));
|
|
1362
|
-
var zt = { __proto__: null, matcher: D, optional:
|
|
1363
|
-
return
|
|
1372
|
+
var zt = { __proto__: null, matcher: D, optional: Re, array: function(...t) {
|
|
1373
|
+
return be({ [D]: () => ({ match: (e) => {
|
|
1364
1374
|
if (!Array.isArray(e))
|
|
1365
1375
|
return { matched: !1 };
|
|
1366
1376
|
if (t.length === 0)
|
|
@@ -1388,7 +1398,7 @@ var zt = { __proto__: null, matcher: D, optional: Me, array: function(...t) {
|
|
|
1388
1398
|
const a = (r, n) => {
|
|
1389
1399
|
i[r] = (i[r] || []).concat([n]);
|
|
1390
1400
|
}, o = t[0];
|
|
1391
|
-
return { matched:
|
|
1401
|
+
return { matched: Ko(e, (r) => P(o, r, a)), selections: i };
|
|
1392
1402
|
}, getSelectionKeys: () => t.length === 0 ? [] : N(t[0]) }) });
|
|
1393
1403
|
}, map: function(...t) {
|
|
1394
1404
|
return I({ [D]: () => ({ match: (e) => {
|
|
@@ -1406,7 +1416,7 @@ var zt = { __proto__: null, matcher: D, optional: Me, array: function(...t) {
|
|
|
1406
1416
|
if (t.length === 1)
|
|
1407
1417
|
throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
|
|
1408
1418
|
const [r, n] = t;
|
|
1409
|
-
return { matched:
|
|
1419
|
+
return { matched: Go(e, (s, c) => {
|
|
1410
1420
|
const d = P(r, c, a), u = P(n, s, a);
|
|
1411
1421
|
return d && u;
|
|
1412
1422
|
}), selections: i };
|
|
@@ -1422,22 +1432,22 @@ var zt = { __proto__: null, matcher: D, optional: Me, array: function(...t) {
|
|
|
1422
1432
|
const o = (s, c) => {
|
|
1423
1433
|
a[s] = (a[s] || []).concat([c]);
|
|
1424
1434
|
}, [r, n] = t.length === 1 ? [fi, t[0]] : t;
|
|
1425
|
-
return { matched:
|
|
1435
|
+
return { matched: Xo(e, (s, c) => {
|
|
1426
1436
|
const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && P(r, d, o), l = P(r, s, o), w = P(n, c, o);
|
|
1427
1437
|
return (l || u) && w;
|
|
1428
1438
|
}), selections: a };
|
|
1429
1439
|
}, getSelectionKeys: () => t.length === 0 ? [] : [...N(t[0]), ...N(t[1])] }) });
|
|
1430
|
-
}, intersection: S, union:
|
|
1440
|
+
}, intersection: S, union: pa, not: function(t) {
|
|
1431
1441
|
return I({ [D]: () => ({ match: (e) => ({ matched: !P(t, e, () => {
|
|
1432
1442
|
}) }), getSelectionKeys: () => [], matcherType: "not" }) });
|
|
1433
|
-
}, when: m, select: Et, any:
|
|
1443
|
+
}, when: m, select: Et, any: fa, unknown: Zo, _: Jo, string: fi, number: Qo, bigint: tr, boolean: er, symbol: ir, nullish: ar, nonNullable: or, instanceOf: function(t) {
|
|
1434
1444
|
return I(m(function(e) {
|
|
1435
1445
|
return (i) => i instanceof e;
|
|
1436
1446
|
}(t)));
|
|
1437
1447
|
}, shape: function(t) {
|
|
1438
|
-
return I(m(
|
|
1448
|
+
return I(m(qo(t)));
|
|
1439
1449
|
} };
|
|
1440
|
-
class
|
|
1450
|
+
class rr extends Error {
|
|
1441
1451
|
constructor(e) {
|
|
1442
1452
|
let i;
|
|
1443
1453
|
try {
|
|
@@ -1448,11 +1458,11 @@ class er extends Error {
|
|
|
1448
1458
|
super(`Pattern matching error: no pattern matches value ${i}`), this.input = void 0, this.input = e;
|
|
1449
1459
|
}
|
|
1450
1460
|
}
|
|
1451
|
-
const
|
|
1452
|
-
function
|
|
1453
|
-
return new
|
|
1461
|
+
const ve = { matched: !1, value: void 0 };
|
|
1462
|
+
function He(t) {
|
|
1463
|
+
return new Wt(t, ve);
|
|
1454
1464
|
}
|
|
1455
|
-
class
|
|
1465
|
+
class Wt {
|
|
1456
1466
|
constructor(e, i) {
|
|
1457
1467
|
this.input = void 0, this.state = void 0, this.input = e, this.state = i;
|
|
1458
1468
|
}
|
|
@@ -1465,19 +1475,19 @@ class Vt {
|
|
|
1465
1475
|
let r = !1, n = {};
|
|
1466
1476
|
const s = (d, u) => {
|
|
1467
1477
|
r = !0, n[d] = u;
|
|
1468
|
-
}, c = !a.some((d) => P(d, this.input, s)) || o && !o(this.input) ?
|
|
1469
|
-
return new
|
|
1478
|
+
}, c = !a.some((d) => P(d, this.input, s)) || o && !o(this.input) ? ve : { matched: !0, value: i(r ? Vt in n ? n[Vt] : n : this.input, this.input) };
|
|
1479
|
+
return new Wt(this.input, c);
|
|
1470
1480
|
}
|
|
1471
1481
|
when(e, i) {
|
|
1472
1482
|
if (this.state.matched)
|
|
1473
1483
|
return this;
|
|
1474
1484
|
const a = !!e(this.input);
|
|
1475
|
-
return new
|
|
1485
|
+
return new Wt(this.input, a ? { matched: !0, value: i(this.input, this.input) } : ve);
|
|
1476
1486
|
}
|
|
1477
1487
|
otherwise(e) {
|
|
1478
1488
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1479
1489
|
}
|
|
1480
|
-
exhaustive(e =
|
|
1490
|
+
exhaustive(e = nr) {
|
|
1481
1491
|
return this.state.matched ? this.state.value : e(this.input);
|
|
1482
1492
|
}
|
|
1483
1493
|
run() {
|
|
@@ -1490,10 +1500,10 @@ class Vt {
|
|
|
1490
1500
|
return this;
|
|
1491
1501
|
}
|
|
1492
1502
|
}
|
|
1493
|
-
function
|
|
1494
|
-
throw new
|
|
1503
|
+
function nr(t) {
|
|
1504
|
+
throw new rr(t);
|
|
1495
1505
|
}
|
|
1496
|
-
var
|
|
1506
|
+
var sr = ["other", "few", "many", "two", "one", "zero"], wi = ({
|
|
1497
1507
|
terms: t,
|
|
1498
1508
|
overrides: e,
|
|
1499
1509
|
locale: i
|
|
@@ -1512,7 +1522,7 @@ var ar = ["other", "few", "many", "two", "one", "zero"], wi = ({
|
|
|
1512
1522
|
throw new Error(`Missing count for translation key “${r.toString()}”`);
|
|
1513
1523
|
let c = a.select(n.count);
|
|
1514
1524
|
if (!(c in s)) {
|
|
1515
|
-
const d =
|
|
1525
|
+
const d = sr.find((u) => u in s);
|
|
1516
1526
|
if (!d)
|
|
1517
1527
|
throw new Error(`Missing plural rule for translation key “${r.toString()}”`);
|
|
1518
1528
|
c = d;
|
|
@@ -1527,25 +1537,25 @@ var ar = ["other", "few", "many", "two", "one", "zero"], wi = ({
|
|
|
1527
1537
|
}
|
|
1528
1538
|
}
|
|
1529
1539
|
return o;
|
|
1530
|
-
},
|
|
1540
|
+
}, lr = 0;
|
|
1531
1541
|
function p(t, e, i, a, o, r) {
|
|
1532
1542
|
var n, s, c = {};
|
|
1533
1543
|
for (s in e)
|
|
1534
1544
|
s == "ref" ? n = e[s] : c[s] = e[s];
|
|
1535
|
-
var d = { type: t, props: c, key: i, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --
|
|
1545
|
+
var d = { type: t, props: c, key: i, ref: n, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --lr, __source: o, __self: r };
|
|
1536
1546
|
if (typeof t == "function" && (n = t.defaultProps))
|
|
1537
1547
|
for (s in n)
|
|
1538
1548
|
c[s] === void 0 && (c[s] = n[s]);
|
|
1539
1549
|
return f.vnode && f.vnode(d), d;
|
|
1540
1550
|
}
|
|
1541
|
-
var gi =
|
|
1551
|
+
var gi = Gi(null), wa = (t) => ({
|
|
1542
1552
|
defaultTerms: t,
|
|
1543
1553
|
TranslationProvider: ({ terms: e, children: i, locale: a }) => {
|
|
1544
1554
|
const o = dt(() => wi({ locale: a, terms: t, overrides: e }), [e, a]);
|
|
1545
1555
|
return /* @__PURE__ */ p(gi.Provider, { value: { t: o, locale: a }, children: i });
|
|
1546
1556
|
},
|
|
1547
1557
|
useTranslation: () => {
|
|
1548
|
-
const e =
|
|
1558
|
+
const e = ea(gi);
|
|
1549
1559
|
if (e === null)
|
|
1550
1560
|
throw new Error("Please wrap useTranslation in a TranslationProvider");
|
|
1551
1561
|
return { t: e.t, locale: e.locale };
|
|
@@ -1554,13 +1564,13 @@ var gi = qi(null), fa = (t) => ({
|
|
|
1554
1564
|
overrides: e,
|
|
1555
1565
|
locale: i
|
|
1556
1566
|
}) => wi({ terms: t, overrides: e, locale: i })
|
|
1557
|
-
}), { TranslationProvider:
|
|
1567
|
+
}), { TranslationProvider: En, useTranslation: Pn, createTFunction: Tn, defaultTerms: cr } = wa({ 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", 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_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" });
|
|
1558
1568
|
const {
|
|
1559
|
-
TranslationProvider:
|
|
1560
|
-
useTranslation:
|
|
1561
|
-
createTFunction:
|
|
1562
|
-
} =
|
|
1563
|
-
...
|
|
1569
|
+
TranslationProvider: dr,
|
|
1570
|
+
useTranslation: Xt,
|
|
1571
|
+
createTFunction: ur
|
|
1572
|
+
} = wa({
|
|
1573
|
+
...cr,
|
|
1564
1574
|
error_heading: "Something unexpected happened",
|
|
1565
1575
|
undo: "Change answer",
|
|
1566
1576
|
conversation_history: "Conversation history",
|
|
@@ -1575,12 +1585,14 @@ const {
|
|
|
1575
1585
|
submission_retryable: "We couldn't submit your application. Please try again.",
|
|
1576
1586
|
submission_failed: "We couldn't submit your application. Choose Restart to try again.",
|
|
1577
1587
|
submission_unknown: "We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",
|
|
1588
|
+
submission_unknown_do_not_resubmit: "We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.",
|
|
1578
1589
|
submission_unreadable_document: "We couldn't read that file. Please upload a different one.",
|
|
1579
1590
|
submission_cooldown: {
|
|
1580
1591
|
one: "Submit will be available again in {{count}} second.",
|
|
1581
1592
|
other: "Submit will be available again in {{count}} seconds."
|
|
1582
1593
|
},
|
|
1583
1594
|
submission_cooldown_ready: "Submit is available again.",
|
|
1595
|
+
captcha_check: "One quick check before we send your application",
|
|
1584
1596
|
submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.",
|
|
1585
1597
|
file_preparing: {
|
|
1586
1598
|
one: "Preparing your file…",
|
|
@@ -1596,27 +1608,37 @@ const {
|
|
|
1596
1608
|
address_searching: "Searching addresses…",
|
|
1597
1609
|
address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.",
|
|
1598
1610
|
maximize: "Maximise",
|
|
1611
|
+
restart: "Restart",
|
|
1612
|
+
chat_messages: "Chat messages",
|
|
1613
|
+
file_name: "File name",
|
|
1614
|
+
file_size: "File size",
|
|
1615
|
+
file_total_size: "{{size}} total",
|
|
1616
|
+
file_more: {
|
|
1617
|
+
one: "+{{count}} file",
|
|
1618
|
+
other: "+{{count}} files"
|
|
1619
|
+
},
|
|
1620
|
+
loading: "Loading",
|
|
1599
1621
|
minimize: "Minimise"
|
|
1600
1622
|
});
|
|
1601
|
-
function
|
|
1623
|
+
function ga(t, e) {
|
|
1602
1624
|
if (!t)
|
|
1603
1625
|
throw new Error(e);
|
|
1604
1626
|
}
|
|
1605
|
-
var
|
|
1606
|
-
let e = JSON.stringify(
|
|
1627
|
+
var _e = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(_e) : Object.keys(t).sort().reduce((e, i) => (e[i] = _e(t[i]), e), {}), pr = (t) => {
|
|
1628
|
+
let e = JSON.stringify(_e(t)), i = 5381;
|
|
1607
1629
|
for (let a = 0; a < e.length; a++)
|
|
1608
1630
|
i = i * 33 ^ e.charCodeAt(a);
|
|
1609
1631
|
return (i >>> 0).toString(36);
|
|
1610
|
-
},
|
|
1632
|
+
}, hr = Symbol.for("preact-signals");
|
|
1611
1633
|
function Ue() {
|
|
1612
1634
|
if (ht > 1)
|
|
1613
1635
|
ht--;
|
|
1614
1636
|
else {
|
|
1615
1637
|
for (var t, e = !1; $t !== void 0; ) {
|
|
1616
1638
|
var i = $t;
|
|
1617
|
-
for ($t = void 0,
|
|
1639
|
+
for ($t = void 0, me++; i !== void 0; ) {
|
|
1618
1640
|
var a = i.o;
|
|
1619
|
-
if (i.o = void 0, i.f &= -3, !(8 & i.f) &&
|
|
1641
|
+
if (i.o = void 0, i.f &= -3, !(8 & i.f) && va(i))
|
|
1620
1642
|
try {
|
|
1621
1643
|
i.c();
|
|
1622
1644
|
} catch (o) {
|
|
@@ -1625,12 +1647,12 @@ function Ue() {
|
|
|
1625
1647
|
i = a;
|
|
1626
1648
|
}
|
|
1627
1649
|
}
|
|
1628
|
-
if (
|
|
1650
|
+
if (me = 0, ht--, e)
|
|
1629
1651
|
throw t;
|
|
1630
1652
|
}
|
|
1631
1653
|
}
|
|
1632
|
-
var k = void 0, $t = void 0, ht = 0,
|
|
1633
|
-
function
|
|
1654
|
+
var k = void 0, $t = void 0, ht = 0, me = 0, Yt = 0;
|
|
1655
|
+
function ba(t) {
|
|
1634
1656
|
if (k !== void 0) {
|
|
1635
1657
|
var e = t.n;
|
|
1636
1658
|
if (e === void 0 || e.t !== k)
|
|
@@ -1639,25 +1661,25 @@ function ga(t) {
|
|
|
1639
1661
|
return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = k.s, e.n = void 0, k.s.n = e, k.s = e), e;
|
|
1640
1662
|
}
|
|
1641
1663
|
}
|
|
1642
|
-
function
|
|
1664
|
+
function O(t) {
|
|
1643
1665
|
this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
|
|
1644
1666
|
}
|
|
1645
|
-
|
|
1646
|
-
|
|
1667
|
+
O.prototype.brand = hr;
|
|
1668
|
+
O.prototype.h = function() {
|
|
1647
1669
|
return !0;
|
|
1648
1670
|
};
|
|
1649
|
-
|
|
1671
|
+
O.prototype.S = function(t) {
|
|
1650
1672
|
this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
|
|
1651
1673
|
};
|
|
1652
|
-
|
|
1674
|
+
O.prototype.U = function(t) {
|
|
1653
1675
|
if (this.t !== void 0) {
|
|
1654
1676
|
var e = t.e, i = t.x;
|
|
1655
1677
|
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);
|
|
1656
1678
|
}
|
|
1657
1679
|
};
|
|
1658
|
-
|
|
1680
|
+
O.prototype.subscribe = function(t) {
|
|
1659
1681
|
var e = this;
|
|
1660
|
-
return
|
|
1682
|
+
return We(function() {
|
|
1661
1683
|
var i = e.value, a = k;
|
|
1662
1684
|
k = void 0;
|
|
1663
1685
|
try {
|
|
@@ -1667,16 +1689,16 @@ j.prototype.subscribe = function(t) {
|
|
|
1667
1689
|
}
|
|
1668
1690
|
});
|
|
1669
1691
|
};
|
|
1670
|
-
|
|
1692
|
+
O.prototype.valueOf = function() {
|
|
1671
1693
|
return this.value;
|
|
1672
1694
|
};
|
|
1673
|
-
|
|
1695
|
+
O.prototype.toString = function() {
|
|
1674
1696
|
return this.value + "";
|
|
1675
1697
|
};
|
|
1676
|
-
|
|
1698
|
+
O.prototype.toJSON = function() {
|
|
1677
1699
|
return this.value;
|
|
1678
1700
|
};
|
|
1679
|
-
|
|
1701
|
+
O.prototype.peek = function() {
|
|
1680
1702
|
var t = k;
|
|
1681
1703
|
k = void 0;
|
|
1682
1704
|
try {
|
|
@@ -1685,12 +1707,12 @@ j.prototype.peek = function() {
|
|
|
1685
1707
|
k = t;
|
|
1686
1708
|
}
|
|
1687
1709
|
};
|
|
1688
|
-
Object.defineProperty(
|
|
1689
|
-
var t =
|
|
1710
|
+
Object.defineProperty(O.prototype, "value", { get: function() {
|
|
1711
|
+
var t = ba(this);
|
|
1690
1712
|
return t !== void 0 && (t.i = this.i), this.v;
|
|
1691
1713
|
}, set: function(t) {
|
|
1692
1714
|
if (t !== this.v) {
|
|
1693
|
-
if (
|
|
1715
|
+
if (me > 100)
|
|
1694
1716
|
throw new Error("Cycle detected");
|
|
1695
1717
|
this.v = t, this.i++, Yt++, ht++;
|
|
1696
1718
|
try {
|
|
@@ -1701,16 +1723,16 @@ Object.defineProperty(j.prototype, "value", { get: function() {
|
|
|
1701
1723
|
}
|
|
1702
1724
|
}
|
|
1703
1725
|
} });
|
|
1704
|
-
function
|
|
1705
|
-
return new
|
|
1726
|
+
function H(t) {
|
|
1727
|
+
return new O(t);
|
|
1706
1728
|
}
|
|
1707
|
-
function
|
|
1729
|
+
function va(t) {
|
|
1708
1730
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1709
1731
|
if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
|
|
1710
1732
|
return !0;
|
|
1711
1733
|
return !1;
|
|
1712
1734
|
}
|
|
1713
|
-
function
|
|
1735
|
+
function _a(t) {
|
|
1714
1736
|
for (var e = t.s; e !== void 0; e = e.n) {
|
|
1715
1737
|
var i = e.S.n;
|
|
1716
1738
|
if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
|
|
@@ -1719,7 +1741,7 @@ function va(t) {
|
|
|
1719
1741
|
}
|
|
1720
1742
|
}
|
|
1721
1743
|
}
|
|
1722
|
-
function
|
|
1744
|
+
function ma(t) {
|
|
1723
1745
|
for (var e = t.s, i = void 0; e !== void 0; ) {
|
|
1724
1746
|
var a = e.p;
|
|
1725
1747
|
e.i === -1 ? (e.S.U(e), a !== void 0 && (a.n = e.n), e.n !== void 0 && (e.n.p = a)) : i = e, e.S.n = e.r, e.r !== void 0 && (e.r = void 0), e = a;
|
|
@@ -1727,24 +1749,24 @@ function _a(t) {
|
|
|
1727
1749
|
t.s = i;
|
|
1728
1750
|
}
|
|
1729
1751
|
function vt(t) {
|
|
1730
|
-
|
|
1752
|
+
O.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
|
|
1731
1753
|
}
|
|
1732
|
-
(vt.prototype = new
|
|
1754
|
+
(vt.prototype = new O()).h = function() {
|
|
1733
1755
|
if (this.f &= -3, 1 & this.f)
|
|
1734
1756
|
return !1;
|
|
1735
1757
|
if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
|
|
1736
1758
|
return !0;
|
|
1737
|
-
if (this.g = Yt, this.f |= 1, this.i > 0 && !
|
|
1759
|
+
if (this.g = Yt, this.f |= 1, this.i > 0 && !va(this))
|
|
1738
1760
|
return this.f &= -2, !0;
|
|
1739
1761
|
var t = k;
|
|
1740
1762
|
try {
|
|
1741
|
-
|
|
1763
|
+
_a(this), k = this;
|
|
1742
1764
|
var e = this.x();
|
|
1743
1765
|
(16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
|
|
1744
1766
|
} catch (i) {
|
|
1745
1767
|
this.v = i, this.f |= 16, this.i++;
|
|
1746
1768
|
}
|
|
1747
|
-
return k = t,
|
|
1769
|
+
return k = t, ma(this), this.f &= -2, !0;
|
|
1748
1770
|
};
|
|
1749
1771
|
vt.prototype.S = function(t) {
|
|
1750
1772
|
if (this.t === void 0) {
|
|
@@ -1752,10 +1774,10 @@ vt.prototype.S = function(t) {
|
|
|
1752
1774
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1753
1775
|
e.S.S(e);
|
|
1754
1776
|
}
|
|
1755
|
-
|
|
1777
|
+
O.prototype.S.call(this, t);
|
|
1756
1778
|
};
|
|
1757
1779
|
vt.prototype.U = function(t) {
|
|
1758
|
-
if (this.t !== void 0 && (
|
|
1780
|
+
if (this.t !== void 0 && (O.prototype.U.call(this, t), this.t === void 0)) {
|
|
1759
1781
|
this.f &= -33;
|
|
1760
1782
|
for (var e = this.s; e !== void 0; e = e.n)
|
|
1761
1783
|
e.S.U(e);
|
|
@@ -1771,15 +1793,15 @@ vt.prototype.N = function() {
|
|
|
1771
1793
|
Object.defineProperty(vt.prototype, "value", { get: function() {
|
|
1772
1794
|
if (1 & this.f)
|
|
1773
1795
|
throw new Error("Cycle detected");
|
|
1774
|
-
var t =
|
|
1796
|
+
var t = ba(this);
|
|
1775
1797
|
if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
|
|
1776
1798
|
throw this.v;
|
|
1777
1799
|
return this.v;
|
|
1778
1800
|
} });
|
|
1779
|
-
function
|
|
1801
|
+
function fr(t) {
|
|
1780
1802
|
return new vt(t);
|
|
1781
1803
|
}
|
|
1782
|
-
function
|
|
1804
|
+
function ya(t) {
|
|
1783
1805
|
var e = t.u;
|
|
1784
1806
|
if (t.u = void 0, typeof e == "function") {
|
|
1785
1807
|
ht++;
|
|
@@ -1788,21 +1810,21 @@ function ma(t) {
|
|
|
1788
1810
|
try {
|
|
1789
1811
|
e();
|
|
1790
1812
|
} catch (a) {
|
|
1791
|
-
throw t.f &= -2, t.f |= 8,
|
|
1813
|
+
throw t.f &= -2, t.f |= 8, Ve(t), a;
|
|
1792
1814
|
} finally {
|
|
1793
1815
|
k = i, Ue();
|
|
1794
1816
|
}
|
|
1795
1817
|
}
|
|
1796
1818
|
}
|
|
1797
|
-
function
|
|
1819
|
+
function Ve(t) {
|
|
1798
1820
|
for (var e = t.s; e !== void 0; e = e.n)
|
|
1799
1821
|
e.S.U(e);
|
|
1800
|
-
t.x = void 0, t.s = void 0,
|
|
1822
|
+
t.x = void 0, t.s = void 0, ya(t);
|
|
1801
1823
|
}
|
|
1802
|
-
function
|
|
1824
|
+
function wr(t) {
|
|
1803
1825
|
if (k !== this)
|
|
1804
1826
|
throw new Error("Out-of-order effect");
|
|
1805
|
-
|
|
1827
|
+
ma(this), k = t, this.f &= -2, 8 & this.f && Ve(this), Ue();
|
|
1806
1828
|
}
|
|
1807
1829
|
function Tt(t) {
|
|
1808
1830
|
this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
|
|
@@ -1821,17 +1843,17 @@ Tt.prototype.c = function() {
|
|
|
1821
1843
|
Tt.prototype.S = function() {
|
|
1822
1844
|
if (1 & this.f)
|
|
1823
1845
|
throw new Error("Cycle detected");
|
|
1824
|
-
this.f |= 1, this.f &= -9,
|
|
1846
|
+
this.f |= 1, this.f &= -9, ya(this), _a(this), ht++;
|
|
1825
1847
|
var t = k;
|
|
1826
|
-
return k = this,
|
|
1848
|
+
return k = this, wr.bind(this, t);
|
|
1827
1849
|
};
|
|
1828
1850
|
Tt.prototype.N = function() {
|
|
1829
1851
|
2 & this.f || (this.f |= 2, this.o = $t, $t = this);
|
|
1830
1852
|
};
|
|
1831
1853
|
Tt.prototype.d = function() {
|
|
1832
|
-
this.f |= 8, 1 & this.f ||
|
|
1854
|
+
this.f |= 8, 1 & this.f || Ve(this);
|
|
1833
1855
|
};
|
|
1834
|
-
function
|
|
1856
|
+
function We(t) {
|
|
1835
1857
|
var e = new Tt(t);
|
|
1836
1858
|
try {
|
|
1837
1859
|
e.c();
|
|
@@ -1840,16 +1862,16 @@ function Ve(t) {
|
|
|
1840
1862
|
}
|
|
1841
1863
|
return e.d.bind(e);
|
|
1842
1864
|
}
|
|
1843
|
-
var
|
|
1865
|
+
var ae;
|
|
1844
1866
|
function _t(t, e) {
|
|
1845
1867
|
f[t] = e.bind(null, f[t] || function() {
|
|
1846
1868
|
});
|
|
1847
1869
|
}
|
|
1848
|
-
function
|
|
1849
|
-
|
|
1870
|
+
function qt(t) {
|
|
1871
|
+
ae && ae(), ae = t && t.S();
|
|
1850
1872
|
}
|
|
1851
|
-
function
|
|
1852
|
-
var e = this, i = t.data, a =
|
|
1873
|
+
function xa(t) {
|
|
1874
|
+
var e = this, i = t.data, a = br(i);
|
|
1853
1875
|
a.value = i;
|
|
1854
1876
|
var o = dt(function() {
|
|
1855
1877
|
for (var r = e.__v; r = r.__; )
|
|
@@ -1859,16 +1881,16 @@ function ya(t) {
|
|
|
1859
1881
|
}
|
|
1860
1882
|
return e.__$u.c = function() {
|
|
1861
1883
|
var n;
|
|
1862
|
-
!
|
|
1863
|
-
},
|
|
1884
|
+
!Mi(o.peek()) && ((n = e.base) == null ? void 0 : n.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
|
|
1885
|
+
}, fr(function() {
|
|
1864
1886
|
var n = a.value.value;
|
|
1865
1887
|
return n === 0 ? 0 : n === !0 ? "" : n || "";
|
|
1866
1888
|
});
|
|
1867
1889
|
}, []);
|
|
1868
1890
|
return o.value;
|
|
1869
1891
|
}
|
|
1870
|
-
|
|
1871
|
-
Object.defineProperties(
|
|
1892
|
+
xa.displayName = "_st";
|
|
1893
|
+
Object.defineProperties(O.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: xa }, props: { configurable: !0, get: function() {
|
|
1872
1894
|
return { data: this };
|
|
1873
1895
|
} }, __b: { configurable: !0, value: 1 } });
|
|
1874
1896
|
_t("__b", function(t, e) {
|
|
@@ -1877,28 +1899,28 @@ _t("__b", function(t, e) {
|
|
|
1877
1899
|
for (var o in a)
|
|
1878
1900
|
if (o !== "children") {
|
|
1879
1901
|
var r = a[o];
|
|
1880
|
-
r instanceof
|
|
1902
|
+
r instanceof O && (i || (e.__np = i = {}), i[o] = r, a[o] = r.peek());
|
|
1881
1903
|
}
|
|
1882
1904
|
}
|
|
1883
1905
|
t(e);
|
|
1884
1906
|
});
|
|
1885
1907
|
_t("__r", function(t, e) {
|
|
1886
|
-
|
|
1908
|
+
qt();
|
|
1887
1909
|
var i, a = e.__c;
|
|
1888
1910
|
a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
|
|
1889
1911
|
var r;
|
|
1890
|
-
return
|
|
1912
|
+
return We(function() {
|
|
1891
1913
|
r = this;
|
|
1892
1914
|
}), r.c = function() {
|
|
1893
1915
|
a.__$f |= 1, a.setState({});
|
|
1894
1916
|
}, r;
|
|
1895
|
-
}())),
|
|
1917
|
+
}())), qt(i), t(e);
|
|
1896
1918
|
});
|
|
1897
1919
|
_t("__e", function(t, e, i, a) {
|
|
1898
|
-
|
|
1920
|
+
qt(), t(e, i, a);
|
|
1899
1921
|
});
|
|
1900
1922
|
_t("diffed", function(t, e) {
|
|
1901
|
-
|
|
1923
|
+
qt();
|
|
1902
1924
|
var i;
|
|
1903
1925
|
if (typeof e.type == "string" && (i = e.__e)) {
|
|
1904
1926
|
var a = e.__np, o = e.props;
|
|
@@ -1913,17 +1935,17 @@ _t("diffed", function(t, e) {
|
|
|
1913
1935
|
i.U = r = {};
|
|
1914
1936
|
for (var c in a) {
|
|
1915
1937
|
var d = r[c], u = a[c];
|
|
1916
|
-
d === void 0 ? (d =
|
|
1938
|
+
d === void 0 ? (d = gr(i, c, u, o), r[c] = d) : d.o(u, o);
|
|
1917
1939
|
}
|
|
1918
1940
|
}
|
|
1919
1941
|
}
|
|
1920
1942
|
t(e);
|
|
1921
1943
|
});
|
|
1922
|
-
function
|
|
1923
|
-
var o = e in t && t.ownerSVGElement === void 0, r =
|
|
1944
|
+
function gr(t, e, i, a) {
|
|
1945
|
+
var o = e in t && t.ownerSVGElement === void 0, r = H(i);
|
|
1924
1946
|
return { o: function(n, s) {
|
|
1925
1947
|
r.value = n, a = s;
|
|
1926
|
-
}, d:
|
|
1948
|
+
}, d: We(function() {
|
|
1927
1949
|
var n = r.value.value;
|
|
1928
1950
|
a[e] !== n && (a[e] = n, o ? t[e] = n : n ? t.setAttribute(e, n) : t.removeAttribute(e));
|
|
1929
1951
|
}) };
|
|
@@ -1953,7 +1975,7 @@ _t("unmount", function(t, e) {
|
|
|
1953
1975
|
_t("__h", function(t, e, i, a) {
|
|
1954
1976
|
(a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
|
|
1955
1977
|
});
|
|
1956
|
-
|
|
1978
|
+
U.prototype.shouldComponentUpdate = function(t, e) {
|
|
1957
1979
|
var i = this.__$u;
|
|
1958
1980
|
if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
|
|
1959
1981
|
return !0;
|
|
@@ -1967,14 +1989,14 @@ R.prototype.shouldComponentUpdate = function(t, e) {
|
|
|
1967
1989
|
return !0;
|
|
1968
1990
|
return !1;
|
|
1969
1991
|
};
|
|
1970
|
-
function
|
|
1992
|
+
function br(t) {
|
|
1971
1993
|
return dt(function() {
|
|
1972
|
-
return
|
|
1994
|
+
return H(t);
|
|
1973
1995
|
}, []);
|
|
1974
1996
|
}
|
|
1975
|
-
const
|
|
1997
|
+
const ye = (t, e) => e.some((i) => t instanceof i);
|
|
1976
1998
|
let bi, vi;
|
|
1977
|
-
function
|
|
1999
|
+
function vr() {
|
|
1978
2000
|
return bi || (bi = [
|
|
1979
2001
|
IDBDatabase,
|
|
1980
2002
|
IDBObjectStore,
|
|
@@ -1983,15 +2005,15 @@ function fr() {
|
|
|
1983
2005
|
IDBTransaction
|
|
1984
2006
|
]);
|
|
1985
2007
|
}
|
|
1986
|
-
function
|
|
2008
|
+
function _r() {
|
|
1987
2009
|
return vi || (vi = [
|
|
1988
2010
|
IDBCursor.prototype.advance,
|
|
1989
2011
|
IDBCursor.prototype.continue,
|
|
1990
2012
|
IDBCursor.prototype.continuePrimaryKey
|
|
1991
2013
|
]);
|
|
1992
2014
|
}
|
|
1993
|
-
const
|
|
1994
|
-
function
|
|
2015
|
+
const xe = /* @__PURE__ */ new WeakMap(), oe = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap();
|
|
2016
|
+
function mr(t) {
|
|
1995
2017
|
const e = new Promise((i, a) => {
|
|
1996
2018
|
const o = () => {
|
|
1997
2019
|
t.removeEventListener("success", r), t.removeEventListener("error", n);
|
|
@@ -2004,8 +2026,8 @@ function gr(t) {
|
|
|
2004
2026
|
});
|
|
2005
2027
|
return Zt.set(e, t), e;
|
|
2006
2028
|
}
|
|
2007
|
-
function
|
|
2008
|
-
if (
|
|
2029
|
+
function yr(t) {
|
|
2030
|
+
if (xe.has(t))
|
|
2009
2031
|
return;
|
|
2010
2032
|
const e = new Promise((i, a) => {
|
|
2011
2033
|
const o = () => {
|
|
@@ -2017,13 +2039,13 @@ function br(t) {
|
|
|
2017
2039
|
};
|
|
2018
2040
|
t.addEventListener("complete", r), t.addEventListener("error", n), t.addEventListener("abort", n);
|
|
2019
2041
|
});
|
|
2020
|
-
|
|
2042
|
+
xe.set(t, e);
|
|
2021
2043
|
}
|
|
2022
|
-
let
|
|
2044
|
+
let ke = {
|
|
2023
2045
|
get(t, e, i) {
|
|
2024
2046
|
if (t instanceof IDBTransaction) {
|
|
2025
2047
|
if (e === "done")
|
|
2026
|
-
return
|
|
2048
|
+
return xe.get(t);
|
|
2027
2049
|
if (e === "store")
|
|
2028
2050
|
return i.objectStoreNames[1] ? void 0 : i.objectStore(i.objectStoreNames[0]);
|
|
2029
2051
|
}
|
|
@@ -2036,29 +2058,29 @@ let xe = {
|
|
|
2036
2058
|
return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
|
|
2037
2059
|
}
|
|
2038
2060
|
};
|
|
2039
|
-
function
|
|
2040
|
-
|
|
2061
|
+
function ka(t) {
|
|
2062
|
+
ke = t(ke);
|
|
2041
2063
|
}
|
|
2042
|
-
function
|
|
2043
|
-
return
|
|
2044
|
-
return t.apply(
|
|
2064
|
+
function xr(t) {
|
|
2065
|
+
return _r().includes(t) ? function(...e) {
|
|
2066
|
+
return t.apply($e(this), e), lt(this.request);
|
|
2045
2067
|
} : function(...e) {
|
|
2046
|
-
return lt(t.apply(
|
|
2068
|
+
return lt(t.apply($e(this), e));
|
|
2047
2069
|
};
|
|
2048
2070
|
}
|
|
2049
|
-
function
|
|
2050
|
-
return typeof t == "function" ?
|
|
2071
|
+
function kr(t) {
|
|
2072
|
+
return typeof t == "function" ? xr(t) : (t instanceof IDBTransaction && yr(t), ye(t, vr()) ? new Proxy(t, ke) : t);
|
|
2051
2073
|
}
|
|
2052
2074
|
function lt(t) {
|
|
2053
2075
|
if (t instanceof IDBRequest)
|
|
2054
|
-
return
|
|
2055
|
-
if (
|
|
2056
|
-
return
|
|
2057
|
-
const e =
|
|
2058
|
-
return e !== t && (
|
|
2059
|
-
}
|
|
2060
|
-
const
|
|
2061
|
-
function
|
|
2076
|
+
return mr(t);
|
|
2077
|
+
if (oe.has(t))
|
|
2078
|
+
return oe.get(t);
|
|
2079
|
+
const e = kr(t);
|
|
2080
|
+
return e !== t && (oe.set(t, e), Zt.set(e, t)), e;
|
|
2081
|
+
}
|
|
2082
|
+
const $e = (t) => Zt.get(t);
|
|
2083
|
+
function $r(t, e, { blocked: i, upgrade: a, blocking: o, terminated: r } = {}) {
|
|
2062
2084
|
const n = indexedDB.open(t, e), s = lt(n);
|
|
2063
2085
|
return a && n.addEventListener("upgradeneeded", (c) => {
|
|
2064
2086
|
a(lt(n.result), c.oldVersion, c.newVersion, lt(n.transaction), c);
|
|
@@ -2072,16 +2094,16 @@ function mr(t, e, { blocked: i, upgrade: a, blocking: o, terminated: r } = {}) {
|
|
|
2072
2094
|
}).catch(() => {
|
|
2073
2095
|
}), s;
|
|
2074
2096
|
}
|
|
2075
|
-
const
|
|
2097
|
+
const Sr = ["get", "getKey", "getAll", "getAllKeys", "count"], Cr = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
|
|
2076
2098
|
function _i(t, e) {
|
|
2077
2099
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
2078
2100
|
return;
|
|
2079
|
-
if (
|
|
2080
|
-
return
|
|
2081
|
-
const i = e.replace(/FromIndex$/, ""), a = e !== i, o =
|
|
2101
|
+
if (re.get(e))
|
|
2102
|
+
return re.get(e);
|
|
2103
|
+
const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Cr.includes(i);
|
|
2082
2104
|
if (
|
|
2083
2105
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
|
2084
|
-
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o ||
|
|
2106
|
+
!(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Sr.includes(i))
|
|
2085
2107
|
)
|
|
2086
2108
|
return;
|
|
2087
2109
|
const r = async function(n, ...s) {
|
|
@@ -2092,45 +2114,45 @@ function _i(t, e) {
|
|
|
2092
2114
|
o && c.done
|
|
2093
2115
|
]))[0];
|
|
2094
2116
|
};
|
|
2095
|
-
return
|
|
2117
|
+
return re.set(e, r), r;
|
|
2096
2118
|
}
|
|
2097
|
-
|
|
2119
|
+
ka((t) => ({
|
|
2098
2120
|
...t,
|
|
2099
2121
|
get: (e, i, a) => _i(e, i) || t.get(e, i, a),
|
|
2100
2122
|
has: (e, i) => !!_i(e, i) || t.has(e, i)
|
|
2101
2123
|
}));
|
|
2102
|
-
const
|
|
2124
|
+
const Er = ["continue", "continuePrimaryKey", "advance"], mi = {}, Se = /* @__PURE__ */ new WeakMap(), $a = /* @__PURE__ */ new WeakMap(), Pr = {
|
|
2103
2125
|
get(t, e) {
|
|
2104
|
-
if (!
|
|
2126
|
+
if (!Er.includes(e))
|
|
2105
2127
|
return t[e];
|
|
2106
2128
|
let i = mi[e];
|
|
2107
2129
|
return i || (i = mi[e] = function(...a) {
|
|
2108
|
-
|
|
2130
|
+
Se.set(this, $a.get(this)[e](...a));
|
|
2109
2131
|
}), i;
|
|
2110
2132
|
}
|
|
2111
2133
|
};
|
|
2112
|
-
async function*
|
|
2134
|
+
async function* Tr(...t) {
|
|
2113
2135
|
let e = this;
|
|
2114
2136
|
if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
|
|
2115
2137
|
return;
|
|
2116
2138
|
e = e;
|
|
2117
|
-
const i = new Proxy(e,
|
|
2118
|
-
for (
|
|
2119
|
-
yield i, e = await (
|
|
2139
|
+
const i = new Proxy(e, Pr);
|
|
2140
|
+
for ($a.set(i, e), Zt.set(i, $e(e)); e; )
|
|
2141
|
+
yield i, e = await (Se.get(i) || e.continue()), Se.delete(i);
|
|
2120
2142
|
}
|
|
2121
2143
|
function yi(t, e) {
|
|
2122
|
-
return e === Symbol.asyncIterator &&
|
|
2144
|
+
return e === Symbol.asyncIterator && ye(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && ye(t, [IDBIndex, IDBObjectStore]);
|
|
2123
2145
|
}
|
|
2124
|
-
|
|
2146
|
+
ka((t) => ({
|
|
2125
2147
|
...t,
|
|
2126
2148
|
get(e, i, a) {
|
|
2127
|
-
return yi(e, i) ?
|
|
2149
|
+
return yi(e, i) ? Tr : t.get(e, i, a);
|
|
2128
2150
|
},
|
|
2129
2151
|
has(e, i) {
|
|
2130
2152
|
return yi(e, i) || t.has(e, i);
|
|
2131
2153
|
}
|
|
2132
2154
|
}));
|
|
2133
|
-
const Dt = typeof indexedDB > "u" ? void 0 :
|
|
2155
|
+
const Dt = typeof indexedDB > "u" ? void 0 : $r("inploi-chatbot", 3, {
|
|
2134
2156
|
upgrade(t) {
|
|
2135
2157
|
try {
|
|
2136
2158
|
t.deleteObjectStore("state");
|
|
@@ -2139,20 +2161,20 @@ const Dt = typeof indexedDB > "u" ? void 0 : mr("inploi-chatbot", 3, {
|
|
|
2139
2161
|
t.createObjectStore("state");
|
|
2140
2162
|
}
|
|
2141
2163
|
});
|
|
2142
|
-
let
|
|
2164
|
+
let Mt, ne, mt;
|
|
2143
2165
|
const xi = () => {
|
|
2144
|
-
if (!
|
|
2166
|
+
if (!Mt)
|
|
2145
2167
|
return mt;
|
|
2146
|
-
const t =
|
|
2147
|
-
|
|
2148
|
-
const e =
|
|
2168
|
+
const t = Mt;
|
|
2169
|
+
Mt = void 0;
|
|
2170
|
+
const e = Sa(t), i = Dt == null ? void 0 : Dt.then((a) => a.put("state", t.data, e)).finally(() => {
|
|
2149
2171
|
mt === i && (mt = void 0);
|
|
2150
2172
|
});
|
|
2151
2173
|
return mt = i, mt;
|
|
2152
|
-
},
|
|
2174
|
+
}, X = {
|
|
2153
2175
|
getStateData: async (t, e, i) => {
|
|
2154
2176
|
var o;
|
|
2155
|
-
const a =
|
|
2177
|
+
const a = Sa({
|
|
2156
2178
|
...t,
|
|
2157
2179
|
flowKeys: e,
|
|
2158
2180
|
context: i
|
|
@@ -2160,21 +2182,21 @@ const xi = () => {
|
|
|
2160
2182
|
return (o = await Dt) == null ? void 0 : o.get("state", a);
|
|
2161
2183
|
},
|
|
2162
2184
|
setStateData: (t) => {
|
|
2163
|
-
|
|
2185
|
+
Mt = t, clearTimeout(ne), ne = setTimeout(() => void xi(), 1e3);
|
|
2164
2186
|
},
|
|
2165
|
-
flushStateData: () => (clearTimeout(
|
|
2166
|
-
},
|
|
2187
|
+
flushStateData: () => (clearTimeout(ne), xi() ?? Promise.resolve())
|
|
2188
|
+
}, In = (t) => {
|
|
2167
2189
|
const e = t.find((i) => i.isHead);
|
|
2168
2190
|
if (!e)
|
|
2169
2191
|
throw new Error("No head node found");
|
|
2170
2192
|
return e;
|
|
2171
|
-
},
|
|
2193
|
+
}, zn = (t) => (e) => e ? e.type === t : !1;
|
|
2172
2194
|
class ut extends Error {
|
|
2173
2195
|
constructor() {
|
|
2174
2196
|
super("Aborted");
|
|
2175
2197
|
}
|
|
2176
2198
|
}
|
|
2177
|
-
const
|
|
2199
|
+
const Ir = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), ki = () => ({
|
|
2178
2200
|
messages: [],
|
|
2179
2201
|
submissions: {},
|
|
2180
2202
|
currentInput: null,
|
|
@@ -2183,17 +2205,17 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2183
2205
|
isFinished: !1,
|
|
2184
2206
|
hasInteracted: !1,
|
|
2185
2207
|
sequence: 0,
|
|
2186
|
-
flowSessionId:
|
|
2187
|
-
}),
|
|
2208
|
+
flowSessionId: Ir()
|
|
2209
|
+
}), An = (t) => (
|
|
2188
2210
|
/** nativeEvent is a hidden property not exposed by JSX's typings */
|
|
2189
|
-
|
|
2211
|
+
He(t).with({
|
|
2190
2212
|
nativeEvent: {
|
|
2191
2213
|
submitter: zt.select(zt.union(zt.instanceOf(HTMLButtonElement), zt.instanceOf(HTMLInputElement)))
|
|
2192
2214
|
}
|
|
2193
2215
|
}, (e) => e).otherwise(() => {
|
|
2194
2216
|
throw new Error("invalid submitter");
|
|
2195
2217
|
})
|
|
2196
|
-
),
|
|
2218
|
+
), Ft = (t, e, i, a = 0) => {
|
|
2197
2219
|
if (!e.nextId)
|
|
2198
2220
|
return i(e.id, {
|
|
2199
2221
|
stepsMade: a,
|
|
@@ -2210,7 +2232,7 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2210
2232
|
};
|
|
2211
2233
|
const r = e.type === "if-block" ? e.branchId : void 0, n = t.find((d) => d.id === r), s = e.type.includes("question") ? 1 : 0;
|
|
2212
2234
|
if (n) {
|
|
2213
|
-
const d = s + Math.max(
|
|
2235
|
+
const d = s + Math.max(Ft(t, o, i, a + s).remainingSteps, Ft(t, n, i, a + s).remainingSteps);
|
|
2214
2236
|
return i(e.id, {
|
|
2215
2237
|
stepsMade: a,
|
|
2216
2238
|
remainingSteps: d
|
|
@@ -2219,7 +2241,7 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2219
2241
|
remainingSteps: d
|
|
2220
2242
|
};
|
|
2221
2243
|
}
|
|
2222
|
-
const c = s +
|
|
2244
|
+
const c = s + Ft(t, o, i, a + s).remainingSteps;
|
|
2223
2245
|
return i(e.id, {
|
|
2224
2246
|
stepsMade: a,
|
|
2225
2247
|
remainingSteps: c
|
|
@@ -2227,33 +2249,33 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2227
2249
|
stepsMade: a,
|
|
2228
2250
|
remainingSteps: c
|
|
2229
2251
|
};
|
|
2230
|
-
},
|
|
2252
|
+
}, zr = (t) => {
|
|
2231
2253
|
const e = {}, i = t.find((a) => a.isHead);
|
|
2232
|
-
return i &&
|
|
2254
|
+
return i && Ft(t, i, (a, o) => {
|
|
2233
2255
|
e[a] = o;
|
|
2234
2256
|
}), e;
|
|
2235
|
-
},
|
|
2257
|
+
}, Sa = (t) => [...t.flowKeys, t.id, t.version, t.build, pr(t.context)].join("/"), On = (t) => {
|
|
2236
2258
|
var e, i;
|
|
2237
2259
|
if (!(t.data.isFinished || (e = t.data.startedWriteNodeIds) != null && e.length))
|
|
2238
2260
|
return (i = [...t.data.messages].reverse().find((a) => a.groupId && t.nodes.some((o) => o.id === a.groupId && o.type.startsWith("question-")) && (a.type === "system" || "author" in a && a.author === "user"))) == null ? void 0 : i.groupId;
|
|
2239
|
-
},
|
|
2261
|
+
}, Z = H({
|
|
2240
2262
|
state: "idle"
|
|
2241
|
-
}),
|
|
2263
|
+
}), nt = (t) => {
|
|
2242
2264
|
const {
|
|
2243
2265
|
state: e,
|
|
2244
2266
|
flow: i
|
|
2245
|
-
} =
|
|
2267
|
+
} = Z.value;
|
|
2246
2268
|
if (e !== "loaded")
|
|
2247
2269
|
return;
|
|
2248
|
-
|
|
2270
|
+
ga(i, "No flow to update");
|
|
2249
2271
|
const a = t(i.data);
|
|
2250
|
-
i.data = a,
|
|
2272
|
+
i.data = a, Z.value = {
|
|
2251
2273
|
state: e,
|
|
2252
2274
|
flow: i
|
|
2253
|
-
},
|
|
2275
|
+
}, X.setStateData(i);
|
|
2254
2276
|
}, $ = {
|
|
2255
|
-
current$:
|
|
2256
|
-
viewState$:
|
|
2277
|
+
current$: Z,
|
|
2278
|
+
viewState$: H("closed"),
|
|
2257
2279
|
prepareFlow: async ({
|
|
2258
2280
|
flow: t,
|
|
2259
2281
|
context: e = {},
|
|
@@ -2262,11 +2284,11 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2262
2284
|
analytics: o,
|
|
2263
2285
|
job: r,
|
|
2264
2286
|
locationOrigin: n
|
|
2265
|
-
}) => (await
|
|
2287
|
+
}) => (await X.flushStateData().catch(() => {
|
|
2266
2288
|
}), {
|
|
2267
|
-
data: await
|
|
2289
|
+
data: await X.getStateData(t, i, e) ?? ki(),
|
|
2268
2290
|
startedAt: /* @__PURE__ */ new Date(),
|
|
2269
|
-
nodeIdToProgress:
|
|
2291
|
+
nodeIdToProgress: zr(t.nodes),
|
|
2270
2292
|
flowKeys: i,
|
|
2271
2293
|
id: t.id,
|
|
2272
2294
|
version: t.version,
|
|
@@ -2279,33 +2301,33 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2279
2301
|
locationOrigin: n
|
|
2280
2302
|
}),
|
|
2281
2303
|
commitFlow: (t) => {
|
|
2282
|
-
|
|
2304
|
+
Z.value = {
|
|
2283
2305
|
state: "loaded",
|
|
2284
2306
|
flow: t
|
|
2285
|
-
},
|
|
2307
|
+
}, X.setStateData(t);
|
|
2286
2308
|
},
|
|
2287
2309
|
cancelCurrentFlow: () => {
|
|
2288
|
-
|
|
2310
|
+
Z.value = {
|
|
2289
2311
|
state: "idle"
|
|
2290
2312
|
}, $.viewState$.value = "closed";
|
|
2291
2313
|
},
|
|
2292
|
-
markAsFinished: () =>
|
|
2314
|
+
markAsFinished: () => nt((t) => ({
|
|
2293
2315
|
...t,
|
|
2294
2316
|
isFinished: !0
|
|
2295
2317
|
})),
|
|
2296
|
-
markAsInteracted: () =>
|
|
2318
|
+
markAsInteracted: () => nt((t) => ({
|
|
2297
2319
|
...t,
|
|
2298
2320
|
hasInteracted: !0
|
|
2299
2321
|
})),
|
|
2300
|
-
setCurrentNodeId: (t) =>
|
|
2322
|
+
setCurrentNodeId: (t) => nt((e) => (e.nodeHistory.push(t), e)),
|
|
2301
2323
|
setApplicationRecovery: async (t) => {
|
|
2302
|
-
|
|
2324
|
+
nt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await X.flushStateData();
|
|
2303
2325
|
},
|
|
2304
2326
|
restart: () => {
|
|
2305
2327
|
const {
|
|
2306
2328
|
state: t,
|
|
2307
2329
|
flow: e
|
|
2308
|
-
} =
|
|
2330
|
+
} = Z.value;
|
|
2309
2331
|
if (t !== "loaded")
|
|
2310
2332
|
throw new Error("Flow cannot be restarted: not in valid state");
|
|
2311
2333
|
const i = {
|
|
@@ -2318,45 +2340,45 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2318
2340
|
data: i,
|
|
2319
2341
|
startedAt: /* @__PURE__ */ new Date()
|
|
2320
2342
|
};
|
|
2321
|
-
|
|
2343
|
+
Z.value = {
|
|
2322
2344
|
state: t,
|
|
2323
2345
|
flow: a
|
|
2324
|
-
},
|
|
2346
|
+
}, X.setStateData(a);
|
|
2325
2347
|
},
|
|
2326
2348
|
addMessage: (t, e) => {
|
|
2327
2349
|
const i = {
|
|
2328
2350
|
...t,
|
|
2329
2351
|
groupId: e
|
|
2330
2352
|
};
|
|
2331
|
-
return
|
|
2353
|
+
return nt((a) => (a.messages.push(i), a));
|
|
2332
2354
|
},
|
|
2333
2355
|
/** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
|
|
2334
2356
|
removeMessagesSentByNodeIds: (t) => {
|
|
2335
2357
|
const {
|
|
2336
2358
|
state: e,
|
|
2337
2359
|
flow: i
|
|
2338
|
-
} =
|
|
2339
|
-
|
|
2360
|
+
} = Z.value;
|
|
2361
|
+
ga(e === "loaded", "Application not loaded");
|
|
2340
2362
|
const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
|
|
2341
|
-
i.data.messages = a,
|
|
2363
|
+
i.data.messages = a, X.setStateData(i);
|
|
2342
2364
|
},
|
|
2343
|
-
setSubmission: (t, e) =>
|
|
2344
|
-
setInput: (t) =>
|
|
2365
|
+
setSubmission: (t, e) => nt((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
|
|
2366
|
+
setInput: (t) => nt((e) => ({
|
|
2345
2367
|
...e,
|
|
2346
2368
|
currentInput: t ?? null
|
|
2347
2369
|
})),
|
|
2348
2370
|
persistWriteBarrier: async (t) => {
|
|
2349
|
-
|
|
2371
|
+
Z.peek().flow === t && (Z.value = {
|
|
2350
2372
|
state: "loaded",
|
|
2351
2373
|
flow: t
|
|
2352
|
-
}),
|
|
2374
|
+
}), X.setStateData(t), await X.flushStateData();
|
|
2353
2375
|
}
|
|
2354
|
-
},
|
|
2376
|
+
}, Ar = ({
|
|
2355
2377
|
message: t
|
|
2356
2378
|
}) => {
|
|
2357
2379
|
const {
|
|
2358
2380
|
t: e
|
|
2359
|
-
} =
|
|
2381
|
+
} = Xt();
|
|
2360
2382
|
return p("div", {
|
|
2361
2383
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2362
2384
|
children: [p("svg", {
|
|
@@ -2401,79 +2423,84 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2401
2423
|
class: "text-error-11 font-bold",
|
|
2402
2424
|
children: e("error_heading")
|
|
2403
2425
|
}), t && p("p", {
|
|
2404
|
-
class: "text-neutral-
|
|
2426
|
+
class: "text-neutral-11 text-sm",
|
|
2405
2427
|
children: t
|
|
2406
2428
|
})]
|
|
2407
2429
|
})]
|
|
2408
2430
|
});
|
|
2409
|
-
},
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2431
|
+
}, Or = (t) => {
|
|
2432
|
+
const {
|
|
2433
|
+
t: e
|
|
2434
|
+
} = Xt();
|
|
2435
|
+
return p("svg", {
|
|
2436
|
+
role: "img",
|
|
2437
|
+
viewBox: "0 0 24 24",
|
|
2438
|
+
...t,
|
|
2439
|
+
children: [p("title", {
|
|
2440
|
+
children: e("loading")
|
|
2441
|
+
}), p("style", {
|
|
2442
|
+
children: "#s1{animation:3s linear infinite forwards s1__to}@keyframes s1__to{0%{transform:translate(12px,0)}66.666667%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,12px)}}#s2{animation:3s linear infinite forwards s2__ts}@keyframes s2__ts{0%{transform:scale(0,0)}70%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%{transform:scale(1,1)}}#s3{animation:3s linear infinite forwards s3__to}@keyframes s3__to{0%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,33.333333%{transform:translate(12px,24px)}}#s4{animation:3s linear infinite forwards s4__ts}@keyframes s4__ts{0%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%,30%{transform:scale(0,0)}}#s5{animation:3s linear infinite forwards s5__to}@keyframes s5__to{0%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}33.333333%{transform:translate(12px,12.045742px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,66.666667%{transform:translate(12px,24px)}}#s6{animation:3s linear infinite forwards s6__ts}@keyframes s6__ts{0%,100%,63.333333%{transform:scale(0,0)}3.333333%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}33.333333%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}#s7{animation:3s linear infinite forwards s7__to}@keyframes s7__to{0%{transform:translate(12px,0)}33.333333%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}66.666667%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,24px)}}#s8{animation:3s linear infinite forwards s8__ts}@keyframes s8__ts{0%,100%,96.666667%{transform:scale(0,0)}36.666667%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}66.666667%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}"
|
|
2443
|
+
}), p("g", {
|
|
2444
|
+
id: "s1",
|
|
2445
|
+
transform: "translate(12,0)",
|
|
2446
|
+
children: p("g", {
|
|
2447
|
+
id: "s2",
|
|
2448
|
+
transform: "scale(0,0)",
|
|
2449
|
+
children: p("circle", {
|
|
2450
|
+
r: "6.5",
|
|
2451
|
+
transform: "translate(0,0)",
|
|
2452
|
+
fill: "currentColor"
|
|
2453
|
+
})
|
|
2427
2454
|
})
|
|
2428
|
-
})
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2455
|
+
}), p("g", {
|
|
2456
|
+
id: "s3",
|
|
2457
|
+
transform: "translate(12,12)",
|
|
2458
|
+
children: p("g", {
|
|
2459
|
+
id: "s4",
|
|
2460
|
+
transform: "scale(1,1)",
|
|
2461
|
+
children: p("circle", {
|
|
2462
|
+
r: "6.5",
|
|
2463
|
+
transform: "translate(0,0)",
|
|
2464
|
+
fill: "currentColor"
|
|
2465
|
+
})
|
|
2439
2466
|
})
|
|
2440
|
-
})
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2467
|
+
}), p("g", {
|
|
2468
|
+
id: "s5",
|
|
2469
|
+
transform: "translate(12,0)",
|
|
2470
|
+
children: p("g", {
|
|
2471
|
+
id: "s6",
|
|
2472
|
+
transform: "scale(0,0)",
|
|
2473
|
+
children: p("path", {
|
|
2474
|
+
d: "M6.5,13c3.5899,0,6.5-2.9101,6.5-6.5s-2.9101-6.5-6.5-6.5-6.5,2.91015-6.5,6.5s2.91015,6.5,6.5,6.5Zm0-4C7.88071,9,9,7.88071,9,6.5s-1.11929-2.5-2.5-2.5-2.5,1.11929-2.5,2.5s1.11929,2.5,2.5,2.5Z",
|
|
2475
|
+
transform: "translate(-6.5,-6.5)",
|
|
2476
|
+
"clip-rule": "evenodd",
|
|
2477
|
+
fill: "currentColor",
|
|
2478
|
+
"fill-rule": "evenodd"
|
|
2479
|
+
})
|
|
2453
2480
|
})
|
|
2454
|
-
})
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2481
|
+
}), p("g", {
|
|
2482
|
+
id: "s7",
|
|
2483
|
+
transform: "translate(12,0)",
|
|
2484
|
+
children: p("g", {
|
|
2485
|
+
id: "s8",
|
|
2486
|
+
transform: "scale(0,0)",
|
|
2487
|
+
children: p("path", {
|
|
2488
|
+
d: "M0,6c0,3.58984,2.91016,6.5,6.5,6.5s6.5-2.91016,6.5-6.5h-4C9,7.38086,7.88086,8.5,6.5,8.5s-2.5-1.11914-2.5-2.5h-4Z",
|
|
2489
|
+
transform: "translate(-6.5,-9.25)",
|
|
2490
|
+
fill: "currentColor"
|
|
2491
|
+
})
|
|
2465
2492
|
})
|
|
2466
|
-
})
|
|
2467
|
-
})
|
|
2468
|
-
}
|
|
2493
|
+
})]
|
|
2494
|
+
});
|
|
2495
|
+
}, $i = () => p("div", {
|
|
2469
2496
|
class: "flex flex-grow flex-col items-center justify-center",
|
|
2470
|
-
children: p(
|
|
2497
|
+
children: p(Or, {
|
|
2471
2498
|
class: "text-neutral-6 h-8 w-8"
|
|
2472
2499
|
})
|
|
2473
|
-
}),
|
|
2500
|
+
}), jr = (t) => {
|
|
2474
2501
|
const i = t / 100, a = 1.3;
|
|
2475
2502
|
return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
|
|
2476
|
-
},
|
|
2503
|
+
}, Nr = Fe("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
|
|
2477
2504
|
variants: {
|
|
2478
2505
|
variant: {
|
|
2479
2506
|
neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
|
|
@@ -2483,13 +2510,13 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2483
2510
|
defaultVariants: {
|
|
2484
2511
|
variant: "neutral"
|
|
2485
2512
|
}
|
|
2486
|
-
}),
|
|
2513
|
+
}), Ce = ({
|
|
2487
2514
|
class: t,
|
|
2488
2515
|
children: e,
|
|
2489
2516
|
variant: i,
|
|
2490
2517
|
...a
|
|
2491
2518
|
}) => p("button", {
|
|
2492
|
-
class:
|
|
2519
|
+
class: Me(Nr({
|
|
2493
2520
|
variant: i
|
|
2494
2521
|
}), t),
|
|
2495
2522
|
...a,
|
|
@@ -2505,9 +2532,9 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2505
2532
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2506
2533
|
children: e
|
|
2507
2534
|
})
|
|
2508
|
-
}),
|
|
2535
|
+
}), Dr = () => p("path", {
|
|
2509
2536
|
d: "M12.5 6.5L8 11L3.5 6.5"
|
|
2510
|
-
}),
|
|
2537
|
+
}), Mr = () => {
|
|
2511
2538
|
if ($.current$.value.state !== "loaded")
|
|
2512
2539
|
return null;
|
|
2513
2540
|
const t = $.current$.value.flow.nodeIdToProgress, e = $.current$.value.flow.data.nodeHistory.at(-1);
|
|
@@ -2521,19 +2548,19 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2521
2548
|
class: "bg-accent-3",
|
|
2522
2549
|
children: p("div", {
|
|
2523
2550
|
style: {
|
|
2524
|
-
width:
|
|
2551
|
+
width: jr(a)
|
|
2525
2552
|
},
|
|
2526
2553
|
class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
|
|
2527
2554
|
})
|
|
2528
2555
|
});
|
|
2529
|
-
},
|
|
2556
|
+
}, Fr = ({
|
|
2530
2557
|
children: t,
|
|
2531
2558
|
params: e
|
|
2532
2559
|
}) => {
|
|
2533
2560
|
const {
|
|
2534
2561
|
t: i
|
|
2535
|
-
} =
|
|
2536
|
-
return p(
|
|
2562
|
+
} = Xt(), a = $.viewState$;
|
|
2563
|
+
return p(W, {
|
|
2537
2564
|
children: p("header", {
|
|
2538
2565
|
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",
|
|
2539
2566
|
children: [p("div", {
|
|
@@ -2543,11 +2570,12 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2543
2570
|
class: "sr-only",
|
|
2544
2571
|
children: t
|
|
2545
2572
|
}), p("button", {
|
|
2573
|
+
"aria-label": i("minimize"),
|
|
2546
2574
|
onClick: () => {
|
|
2547
2575
|
a.value = "minimised";
|
|
2548
2576
|
},
|
|
2549
2577
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2550
|
-
onTouchStart:
|
|
2578
|
+
onTouchStart: Ee,
|
|
2551
2579
|
children: p("p", {
|
|
2552
2580
|
"aria-hidden": !0,
|
|
2553
2581
|
class: "text-neutral-12 truncate text-sm font-bold tracking-tight",
|
|
@@ -2558,15 +2586,15 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2558
2586
|
children: [e.feedback ? p("div", {
|
|
2559
2587
|
"data-widget": "inploi-feedback",
|
|
2560
2588
|
"data-key": "chatbot-header",
|
|
2561
|
-
class:
|
|
2589
|
+
class: Me({
|
|
2562
2590
|
hidden: $.current$.value.state !== "loaded" || a.value !== "maximised"
|
|
2563
2591
|
}),
|
|
2564
2592
|
children: p("div", {
|
|
2565
2593
|
class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
|
|
2566
2594
|
})
|
|
2567
|
-
}) : null, $.current$.value.state === "loaded" && p(
|
|
2595
|
+
}) : null, $.current$.value.state === "loaded" && p(Ce, {
|
|
2568
2596
|
class: "mx-1",
|
|
2569
|
-
"aria-label": "
|
|
2597
|
+
"aria-label": i("restart"),
|
|
2570
2598
|
onClick: () => {
|
|
2571
2599
|
$.restart();
|
|
2572
2600
|
},
|
|
@@ -2575,21 +2603,21 @@ const Cr = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUU
|
|
|
2575
2603
|
}), p("path", {
|
|
2576
2604
|
d: "M8 7L10 4.5L8 2.5"
|
|
2577
2605
|
})]
|
|
2578
|
-
}, "restart"), p(
|
|
2606
|
+
}, "restart"), p(Ce, {
|
|
2579
2607
|
class: "view-switch mx-1",
|
|
2580
|
-
onTouchStart:
|
|
2608
|
+
onTouchStart: Ee,
|
|
2581
2609
|
"aria-label": i("minimize"),
|
|
2582
2610
|
onClick: () => a.value = "minimised",
|
|
2583
|
-
children: p(
|
|
2611
|
+
children: p(Dr, {})
|
|
2584
2612
|
}, "minmax")]
|
|
2585
2613
|
})]
|
|
2586
|
-
}), p(
|
|
2614
|
+
}), p(Mr, {})]
|
|
2587
2615
|
})
|
|
2588
2616
|
});
|
|
2589
2617
|
};
|
|
2590
|
-
function
|
|
2618
|
+
function Ee() {
|
|
2591
2619
|
}
|
|
2592
|
-
const
|
|
2620
|
+
const Br = sa(() => import("./chatbot-body-45ccac19.js").then((t) => t.ChatbotBody)), Ca = Fe("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", {
|
|
2593
2621
|
variants: {
|
|
2594
2622
|
view: {
|
|
2595
2623
|
closed: "hidden",
|
|
@@ -2597,7 +2625,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2597
2625
|
maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
|
|
2598
2626
|
}
|
|
2599
2627
|
}
|
|
2600
|
-
}),
|
|
2628
|
+
}), Ea = Fe("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
|
|
2601
2629
|
variants: {
|
|
2602
2630
|
view: {
|
|
2603
2631
|
closed: "hidden",
|
|
@@ -2605,11 +2633,11 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2605
2633
|
maximised: "outline-neutral-3 bg-neutral-1 flex-col"
|
|
2606
2634
|
}
|
|
2607
2635
|
}
|
|
2608
|
-
}),
|
|
2636
|
+
}), Lr = ({
|
|
2609
2637
|
open: t,
|
|
2610
2638
|
...e
|
|
2611
2639
|
}) => {
|
|
2612
|
-
const i =
|
|
2640
|
+
const i = Gt(null);
|
|
2613
2641
|
return bt(() => {
|
|
2614
2642
|
const a = i.current;
|
|
2615
2643
|
a && (t ? a.showModal() : a.close());
|
|
@@ -2617,7 +2645,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2617
2645
|
ref: i,
|
|
2618
2646
|
...e
|
|
2619
2647
|
});
|
|
2620
|
-
},
|
|
2648
|
+
}, Rr = ({
|
|
2621
2649
|
logger: t,
|
|
2622
2650
|
apiClient: e,
|
|
2623
2651
|
analytics: i,
|
|
@@ -2628,11 +2656,11 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2628
2656
|
state: r,
|
|
2629
2657
|
flow: n,
|
|
2630
2658
|
error: s
|
|
2631
|
-
} = $.current$.value, c = $.viewState$.value, d = r !== "idle" && c === "maximised", u =
|
|
2632
|
-
return p(
|
|
2659
|
+
} = $.current$.value, c = $.viewState$.value, d = r !== "idle" && c === "maximised", u = Gt(null), l = n ? [...n.data.nodeHistory].reverse().map((w) => n.nodes.find((g) => g.id === w)).find((w) => (w == null ? void 0 : w.type) === "flow-section") : void 0;
|
|
2660
|
+
return p(dr, {
|
|
2633
2661
|
terms: o.terms,
|
|
2634
2662
|
locale: void 0,
|
|
2635
|
-
children: [p(
|
|
2663
|
+
children: [p(Lr, {
|
|
2636
2664
|
open: d,
|
|
2637
2665
|
onClose: () => $.viewState$.value = "minimised",
|
|
2638
2666
|
children: p("div", {
|
|
@@ -2640,16 +2668,16 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2640
2668
|
"aria-modal": "true",
|
|
2641
2669
|
role: "dialog",
|
|
2642
2670
|
"aria-labelledby": "chatbot-status-bar",
|
|
2643
|
-
class:
|
|
2671
|
+
class: Ca({
|
|
2644
2672
|
view: "maximised"
|
|
2645
2673
|
}),
|
|
2646
2674
|
children: p("div", {
|
|
2647
|
-
class:
|
|
2675
|
+
class: Ea({
|
|
2648
2676
|
view: "maximised"
|
|
2649
2677
|
}),
|
|
2650
|
-
children: [p(
|
|
2678
|
+
children: [p(Fr, {
|
|
2651
2679
|
params: o,
|
|
2652
|
-
children: l ? p(
|
|
2680
|
+
children: l ? p(W, {
|
|
2653
2681
|
children: [p("span", {
|
|
2654
2682
|
class: "block",
|
|
2655
2683
|
children: l.data.title
|
|
@@ -2658,7 +2686,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2658
2686
|
children: n == null ? void 0 : n.title
|
|
2659
2687
|
})]
|
|
2660
2688
|
}) : n == null ? void 0 : n.title
|
|
2661
|
-
}),
|
|
2689
|
+
}), He({
|
|
2662
2690
|
state: r,
|
|
2663
2691
|
view: c
|
|
2664
2692
|
}).with({
|
|
@@ -2669,7 +2697,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2669
2697
|
state: "loaded"
|
|
2670
2698
|
}, () => p(kt, {
|
|
2671
2699
|
fallback: p($i, {}, "loading"),
|
|
2672
|
-
children: p(
|
|
2700
|
+
children: p(Br, {
|
|
2673
2701
|
analytics: i,
|
|
2674
2702
|
apiClient: e,
|
|
2675
2703
|
logger: t,
|
|
@@ -2677,28 +2705,28 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2677
2705
|
})
|
|
2678
2706
|
})).with({
|
|
2679
2707
|
state: "error"
|
|
2680
|
-
}, () => p(
|
|
2708
|
+
}, () => p(Ar, {
|
|
2681
2709
|
message: s
|
|
2682
2710
|
})).exhaustive()]
|
|
2683
2711
|
})
|
|
2684
2712
|
})
|
|
2685
|
-
}), c === "minimised" ? p(
|
|
2713
|
+
}), c === "minimised" ? p(Hr, {
|
|
2686
2714
|
flow: n
|
|
2687
2715
|
}) : null]
|
|
2688
2716
|
});
|
|
2689
|
-
},
|
|
2717
|
+
}, Hr = ({
|
|
2690
2718
|
flow: t
|
|
2691
2719
|
}) => {
|
|
2692
2720
|
const {
|
|
2693
2721
|
t: e
|
|
2694
|
-
} =
|
|
2722
|
+
} = Xt();
|
|
2695
2723
|
return p("div", {
|
|
2696
|
-
class:
|
|
2724
|
+
class: Ca({
|
|
2697
2725
|
view: "minimised",
|
|
2698
2726
|
class: "z-100 isolate"
|
|
2699
2727
|
}),
|
|
2700
2728
|
children: p("div", {
|
|
2701
|
-
class:
|
|
2729
|
+
class: Ea({
|
|
2702
2730
|
view: "minimised"
|
|
2703
2731
|
}),
|
|
2704
2732
|
children: [p("button", {
|
|
@@ -2706,7 +2734,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2706
2734
|
$.viewState$.value = "maximised";
|
|
2707
2735
|
},
|
|
2708
2736
|
class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
|
|
2709
|
-
onTouchStart:
|
|
2737
|
+
onTouchStart: Ee,
|
|
2710
2738
|
children: p("p", {
|
|
2711
2739
|
"aria-hidden": !0,
|
|
2712
2740
|
class: "truncate text-sm font-bold tracking-tight text-white",
|
|
@@ -2714,7 +2742,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2714
2742
|
})
|
|
2715
2743
|
}), p("div", {
|
|
2716
2744
|
class: "flex items-center px-0.5",
|
|
2717
|
-
children: p(
|
|
2745
|
+
children: p(Ce, {
|
|
2718
2746
|
class: "mx-1",
|
|
2719
2747
|
"aria-label": e("close_application"),
|
|
2720
2748
|
onClick: $.cancelCurrentFlow,
|
|
@@ -2726,18 +2754,18 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2726
2754
|
})]
|
|
2727
2755
|
})
|
|
2728
2756
|
});
|
|
2729
|
-
}, Lr = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-\\[\\#4CAF50\\]{--tw-text-opacity: 1;color:rgb(76 175 80 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-\\[\\#FFC107\\]{--tw-text-opacity: 1;color:rgb(255 193 7 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-neutral-8{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .text-neutral-9{color:var(--i-color-n-9)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .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-11:has(+*>input:focus){color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}
|
|
2730
|
-
`,
|
|
2731
|
-
getChatbotElement: () => document.querySelector(
|
|
2757
|
+
}, Ur = `[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)}
|
|
2758
|
+
`, Pa = "inploi-chatbot", Pe = `[data-widget='${Pa}']`, Vr = () => ({
|
|
2759
|
+
getChatbotElement: () => document.querySelector(Pe),
|
|
2732
2760
|
getOrCreateChatbotElement: () => {
|
|
2733
|
-
const t = document.querySelector(
|
|
2761
|
+
const t = document.querySelector(Pe);
|
|
2734
2762
|
if (t)
|
|
2735
2763
|
return document.body.appendChild(t), t;
|
|
2736
2764
|
const e = document.createElement("div");
|
|
2737
|
-
return document.body.appendChild(e), e.dataset.widget =
|
|
2765
|
+
return document.body.appendChild(e), e.dataset.widget = Pa, e;
|
|
2738
2766
|
}
|
|
2739
|
-
}),
|
|
2740
|
-
}),
|
|
2767
|
+
}), Wr = 25, Ta = H(() => {
|
|
2768
|
+
}), Yr = (t, e) => new Promise((i, a) => {
|
|
2741
2769
|
if (e != null && e.aborted)
|
|
2742
2770
|
return a(new ut());
|
|
2743
2771
|
const o = setTimeout(i, t);
|
|
@@ -2746,35 +2774,38 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2746
2774
|
}, {
|
|
2747
2775
|
once: !0
|
|
2748
2776
|
});
|
|
2749
|
-
}),
|
|
2750
|
-
onSubmitSuccessFn$:
|
|
2777
|
+
}), R = {
|
|
2778
|
+
onSubmitSuccessFn$: H(() => {
|
|
2751
2779
|
}),
|
|
2752
|
-
onInteractionFn$:
|
|
2780
|
+
onInteractionFn$: H(() => {
|
|
2753
2781
|
}),
|
|
2754
|
-
isBotTyping$:
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2782
|
+
isBotTyping$: H(!1),
|
|
2783
|
+
/** A Turnstile challenge is waiting for the candidate in the conversation (PROD-7320). */
|
|
2784
|
+
captchaVisible$: H(!1),
|
|
2785
|
+
themeMode$: H("light"),
|
|
2786
|
+
isReadingHistory$: H(!1),
|
|
2787
|
+
scrollToEnd: () => Ta.value()
|
|
2788
|
+
}, jn = () => {
|
|
2789
|
+
const t = Gt(null);
|
|
2759
2790
|
bt(() => {
|
|
2760
2791
|
const i = t.current;
|
|
2761
2792
|
if (!i)
|
|
2762
2793
|
return;
|
|
2763
2794
|
const a = () => {
|
|
2764
|
-
|
|
2795
|
+
R.isReadingHistory$.value = !1, i.scrollTo({
|
|
2765
2796
|
top: i.scrollHeight,
|
|
2766
2797
|
behavior: "instant"
|
|
2767
2798
|
});
|
|
2768
2799
|
};
|
|
2769
|
-
|
|
2800
|
+
Ta.value = a;
|
|
2770
2801
|
const o = () => {
|
|
2771
|
-
|
|
2802
|
+
R.isReadingHistory$.value = i.scrollHeight - i.scrollTop - i.clientHeight > 2;
|
|
2772
2803
|
};
|
|
2773
2804
|
i.addEventListener("scroll", o, {
|
|
2774
2805
|
passive: !0
|
|
2775
2806
|
});
|
|
2776
2807
|
const r = new ResizeObserver(() => {
|
|
2777
|
-
|
|
2808
|
+
R.isReadingHistory$.peek() || a();
|
|
2778
2809
|
});
|
|
2779
2810
|
return r.observe(i), i.firstElementChild && r.observe(i.firstElementChild), () => {
|
|
2780
2811
|
i.removeEventListener("scroll", o), r.disconnect();
|
|
@@ -2782,23 +2813,38 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2782
2813
|
}, []);
|
|
2783
2814
|
const e = dt(() => ({
|
|
2784
2815
|
setSubmission: (a, o) => $.setSubmission(a, o),
|
|
2816
|
+
captcha: {
|
|
2817
|
+
container: () => {
|
|
2818
|
+
var a;
|
|
2819
|
+
return ((a = t.current) == null ? void 0 : a.querySelector("[data-captcha-slot]")) ?? null;
|
|
2820
|
+
},
|
|
2821
|
+
get theme() {
|
|
2822
|
+
return R.themeMode$.peek();
|
|
2823
|
+
},
|
|
2824
|
+
reveal: (a) => {
|
|
2825
|
+
R.captchaVisible$.value = a, a && requestAnimationFrame(() => {
|
|
2826
|
+
var o, r;
|
|
2827
|
+
(r = (o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) == null || r.focus(), R.scrollToEnd();
|
|
2828
|
+
});
|
|
2829
|
+
}
|
|
2830
|
+
},
|
|
2785
2831
|
send: async ({
|
|
2786
2832
|
message: a,
|
|
2787
2833
|
signal: o,
|
|
2788
2834
|
groupId: r
|
|
2789
2835
|
}) => {
|
|
2790
|
-
if (await
|
|
2836
|
+
if (await He(a).with({
|
|
2791
2837
|
author: "bot",
|
|
2792
2838
|
type: "text"
|
|
2793
2839
|
}, async (n) => {
|
|
2794
2840
|
if (o != null && o.aborted)
|
|
2795
2841
|
throw new ut();
|
|
2796
|
-
|
|
2797
|
-
const s = Math.min(Math.max(20, n.text.length), 100) *
|
|
2842
|
+
R.isBotTyping$.value = !0;
|
|
2843
|
+
const s = Math.min(Math.max(20, n.text.length), 100) * Wr;
|
|
2798
2844
|
try {
|
|
2799
|
-
await
|
|
2845
|
+
await Yr(s, o);
|
|
2800
2846
|
} finally {
|
|
2801
|
-
|
|
2847
|
+
R.isBotTyping$.value = !1;
|
|
2802
2848
|
}
|
|
2803
2849
|
}).otherwise(async () => {
|
|
2804
2850
|
}), o != null && o.aborted)
|
|
@@ -2817,7 +2863,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2817
2863
|
throw new ut();
|
|
2818
2864
|
$.setInput(void 0), a.key && $.setSubmission(a.key, s), r(s);
|
|
2819
2865
|
};
|
|
2820
|
-
|
|
2866
|
+
R.onSubmitSuccessFn$.value = n;
|
|
2821
2867
|
});
|
|
2822
2868
|
}
|
|
2823
2869
|
}), []);
|
|
@@ -2826,7 +2872,7 @@ const Nr = na(() => import("./chatbot-body-8d36637a.js").then((t) => t.ChatbotBo
|
|
|
2826
2872
|
chatService: e
|
|
2827
2873
|
};
|
|
2828
2874
|
};
|
|
2829
|
-
var
|
|
2875
|
+
var Ia = Ra(Ae([L(), Lt()]), Ti(String)), za = A({ id: Ia, version: Lt(), build: Lt(), nodes: zi(Ii()), context_schema: M(Bt(Oi(L(), A({ required: ze(), type: Ae([ft("string"), ft("number")]) })))) }), qr = A({ flow: za }), Kr = A({ company: A({ name: L() }), flow: za, job: A({ id: Ia, title: L() }), user: M(A({ city: M(L()), country: M(L()), isEU: M(ze()), continent: M(L()) })) }), Gr = Ci({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Aa(), response: Kr } }), Xr = Ci({ pathname: "/flow/id/:id", method: "GET", schema: { response: qr } }), Zr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Jr = {
|
|
2830
2876
|
light: {
|
|
2831
2877
|
1: [98.8, 0.015],
|
|
2832
2878
|
2: [97.8, 0.018],
|
|
@@ -2855,15 +2901,15 @@ var Ta = Ma(ze([M(), Mt()]), Ti(String)), Ia = O({ id: Ta, version: Mt(), build:
|
|
|
2855
2901
|
11: [79.3, 0.12],
|
|
2856
2902
|
12: [95, 0.04]
|
|
2857
2903
|
}
|
|
2858
|
-
},
|
|
2859
|
-
const [o, r] =
|
|
2904
|
+
}, Qr = (t, e = 1, i) => (a) => {
|
|
2905
|
+
const [o, r] = Jr[i][a];
|
|
2860
2906
|
return "oklch(" + o + "% " + r * e + " " + t + ")";
|
|
2861
|
-
},
|
|
2862
|
-
const e =
|
|
2907
|
+
}, se = (t) => {
|
|
2908
|
+
const e = Qr(t.hue, t.chroma, t.mode);
|
|
2863
2909
|
return Object.fromEntries(
|
|
2864
|
-
|
|
2910
|
+
Zr.map((i) => [t.prefix + i, t.transform(e(i))])
|
|
2865
2911
|
);
|
|
2866
|
-
},
|
|
2912
|
+
}, le = (t) => t, tn = (t) => {
|
|
2867
2913
|
const e = Object.keys(t).flatMap((i) => {
|
|
2868
2914
|
const a = t[i];
|
|
2869
2915
|
return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
|
|
@@ -2872,28 +2918,28 @@ var Ta = Ma(ze([M(), Mt()]), Ti(String)), Ia = O({ id: Ta, version: Mt(), build:
|
|
|
2872
2918
|
}) : [[i, a]];
|
|
2873
2919
|
});
|
|
2874
2920
|
return Object.fromEntries(e);
|
|
2875
|
-
},
|
|
2921
|
+
}, At = (t) => !!t && typeof t == "object" && !Array.isArray(t), Te = (t, ...e) => {
|
|
2876
2922
|
if (!e.length)
|
|
2877
2923
|
return t;
|
|
2878
2924
|
const i = e.shift();
|
|
2879
|
-
if (
|
|
2925
|
+
if (At(t) && At(i))
|
|
2880
2926
|
for (const a in i) {
|
|
2881
2927
|
const o = i[a];
|
|
2882
|
-
if (
|
|
2928
|
+
if (At(o)) {
|
|
2883
2929
|
t[a] || Object.assign(t, { [a]: {} });
|
|
2884
2930
|
const r = t[a];
|
|
2885
|
-
|
|
2931
|
+
At(r) && Te(r, o);
|
|
2886
2932
|
} else
|
|
2887
2933
|
Object.assign(t, { [a]: i[a] });
|
|
2888
2934
|
}
|
|
2889
|
-
return
|
|
2890
|
-
},
|
|
2935
|
+
return Te(t, ...e);
|
|
2936
|
+
}, en = (t) => {
|
|
2891
2937
|
function e(i, a) {
|
|
2892
2938
|
const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
|
|
2893
2939
|
return i === "declaration" ? `--${o}` : `var(--${o})`;
|
|
2894
2940
|
}
|
|
2895
2941
|
return e;
|
|
2896
|
-
},
|
|
2942
|
+
}, an = () => ({
|
|
2897
2943
|
core: (t) => ({
|
|
2898
2944
|
semantic: (e) => ({
|
|
2899
2945
|
component: (i) => ({
|
|
@@ -2903,9 +2949,9 @@ var Ta = Ma(ze([M(), Mt()]), Ti(String)), Ia = O({ id: Ta, version: Mt(), build:
|
|
|
2903
2949
|
core: n,
|
|
2904
2950
|
semantic: n,
|
|
2905
2951
|
raw: { core: s, semantic: c }
|
|
2906
|
-
}), u =
|
|
2952
|
+
}), u = tn(Te(s, c, d)), l = ([w, g], h) => {
|
|
2907
2953
|
const b = [h, w].filter(Boolean).join(".");
|
|
2908
|
-
return typeof g == "object" ? Object.entries(g).flatMap((
|
|
2954
|
+
return typeof g == "object" ? Object.entries(g).flatMap((j) => l(j, b)) : [[a.getToken("declaration", b), g]];
|
|
2909
2955
|
};
|
|
2910
2956
|
return {
|
|
2911
2957
|
values: u,
|
|
@@ -2917,34 +2963,34 @@ var Ta = Ma(ze([M(), Mt()]), Ti(String)), Ia = O({ id: Ta, version: Mt(), build:
|
|
|
2917
2963
|
})
|
|
2918
2964
|
})
|
|
2919
2965
|
});
|
|
2920
|
-
const [
|
|
2966
|
+
const [ce, de, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], on = an().core(({
|
|
2921
2967
|
theme: t
|
|
2922
2968
|
}) => ({
|
|
2923
2969
|
color: {
|
|
2924
|
-
black:
|
|
2925
|
-
white:
|
|
2926
|
-
lowest: t.mode === "light" ?
|
|
2927
|
-
highest: t.mode === "light" ?
|
|
2928
|
-
...
|
|
2970
|
+
black: ce,
|
|
2971
|
+
white: de,
|
|
2972
|
+
lowest: t.mode === "light" ? de : ce,
|
|
2973
|
+
highest: t.mode === "light" ? ce : de,
|
|
2974
|
+
...se({
|
|
2929
2975
|
prefix: "a-",
|
|
2930
2976
|
hue: t.hue,
|
|
2931
2977
|
chroma: t.chroma,
|
|
2932
2978
|
mode: t.mode,
|
|
2933
|
-
transform:
|
|
2979
|
+
transform: le
|
|
2934
2980
|
}),
|
|
2935
|
-
...
|
|
2981
|
+
...se({
|
|
2936
2982
|
prefix: "n-",
|
|
2937
2983
|
hue: t.hue,
|
|
2938
2984
|
chroma: 0.05,
|
|
2939
2985
|
mode: t.mode,
|
|
2940
|
-
transform:
|
|
2986
|
+
transform: le
|
|
2941
2987
|
}),
|
|
2942
|
-
...
|
|
2988
|
+
...se({
|
|
2943
2989
|
prefix: "e-",
|
|
2944
2990
|
hue: 20,
|
|
2945
2991
|
chroma: t.chroma,
|
|
2946
2992
|
mode: t.mode,
|
|
2947
|
-
transform:
|
|
2993
|
+
transform: le
|
|
2948
2994
|
})
|
|
2949
2995
|
},
|
|
2950
2996
|
typography: {}
|
|
@@ -3008,21 +3054,26 @@ const [le, ce, Si] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], Qr = J
|
|
|
3008
3054
|
},
|
|
3009
3055
|
"submit-button": {
|
|
3010
3056
|
"bg-active": a(e.mode === "dark" ? "color.a-8" : "color.a-11")
|
|
3057
|
+
},
|
|
3058
|
+
// Small outcome text: the light-mode values keep 4.5:1 on white, the dark-mode ones on near-black.
|
|
3059
|
+
"system-message": {
|
|
3060
|
+
warning: e.mode === "dark" ? "#FFC107" : "#8A5A00",
|
|
3061
|
+
success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
|
|
3011
3062
|
}
|
|
3012
3063
|
};
|
|
3013
|
-
}),
|
|
3064
|
+
}), rn = en({
|
|
3014
3065
|
prefix: "i-"
|
|
3015
|
-
}),
|
|
3016
|
-
const e =
|
|
3066
|
+
}), nn = (t) => {
|
|
3067
|
+
const e = on.from({
|
|
3017
3068
|
theme: t,
|
|
3018
|
-
getToken:
|
|
3069
|
+
getToken: rn
|
|
3019
3070
|
}), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
|
|
3020
|
-
return `${
|
|
3071
|
+
return `${Pe} {
|
|
3021
3072
|
${i.concat(i).join(`
|
|
3022
3073
|
`)}
|
|
3023
3074
|
}`;
|
|
3024
|
-
},
|
|
3025
|
-
_internal_domManager: t =
|
|
3075
|
+
}, Nn = ({
|
|
3076
|
+
_internal_domManager: t = Vr(),
|
|
3026
3077
|
theme: e,
|
|
3027
3078
|
terms: i,
|
|
3028
3079
|
feedback: a
|
|
@@ -3035,7 +3086,7 @@ ${i.concat(i).join(`
|
|
|
3035
3086
|
env: d
|
|
3036
3087
|
}) => {
|
|
3037
3088
|
let u = !1, l = 0;
|
|
3038
|
-
const w =
|
|
3089
|
+
const w = ur({
|
|
3039
3090
|
locale: void 0,
|
|
3040
3091
|
overrides: i ?? {}
|
|
3041
3092
|
}), g = c && d ? ja({
|
|
@@ -3045,19 +3096,19 @@ ${i.concat(i).join(`
|
|
|
3045
3096
|
}) : void 0, h = (v) => v === l, b = () => {
|
|
3046
3097
|
if (typeof window > "u")
|
|
3047
3098
|
return;
|
|
3048
|
-
l++,
|
|
3049
|
-
}), $.cancelCurrentFlow(),
|
|
3099
|
+
l++, X.flushStateData().catch(() => {
|
|
3100
|
+
}), $.cancelCurrentFlow(), R.isBotTyping$.value = !1;
|
|
3050
3101
|
const v = t.getChatbotElement();
|
|
3051
3102
|
v && (ct(null, v), v.remove()), u = !1, n.info("Chatbot plugin destroyed");
|
|
3052
|
-
},
|
|
3103
|
+
}, j = () => {
|
|
3053
3104
|
if (typeof window > "u")
|
|
3054
3105
|
return;
|
|
3055
|
-
const v = l, _ = [
|
|
3106
|
+
const v = l, _ = [B("style", {
|
|
3056
3107
|
id: "inploi-chatbot-styles"
|
|
3057
|
-
},
|
|
3108
|
+
}, Ur), B("style", {
|
|
3058
3109
|
id: "inploi-chatbot-theme"
|
|
3059
|
-
},
|
|
3060
|
-
if (ct(
|
|
3110
|
+
}, nn(e))], y = t.getOrCreateChatbotElement();
|
|
3111
|
+
if (R.themeMode$.value = e.mode, ct(B(W, {}, [_, B(Rr, {
|
|
3061
3112
|
apiClient: o,
|
|
3062
3113
|
logger: n,
|
|
3063
3114
|
analytics: s,
|
|
@@ -3069,11 +3120,11 @@ ${i.concat(i).join(`
|
|
|
3069
3120
|
}
|
|
3070
3121
|
})]), y), a) {
|
|
3071
3122
|
const E = (T) => {
|
|
3072
|
-
var
|
|
3123
|
+
var q, z;
|
|
3073
3124
|
if (!h(v))
|
|
3074
3125
|
return;
|
|
3075
|
-
const
|
|
3076
|
-
|
|
3126
|
+
const Y = (q = t.getChatbotElement()) == null ? void 0 : q.querySelector("dialog");
|
|
3127
|
+
Y && sn({
|
|
3077
3128
|
instance: T({
|
|
3078
3129
|
rpcClient: r,
|
|
3079
3130
|
apiClient: o,
|
|
@@ -3082,7 +3133,7 @@ ${i.concat(i).join(`
|
|
|
3082
3133
|
}),
|
|
3083
3134
|
theme: e,
|
|
3084
3135
|
terms: ((z = a.params) == null ? void 0 : z.terms) ?? {},
|
|
3085
|
-
host:
|
|
3136
|
+
host: Y
|
|
3086
3137
|
});
|
|
3087
3138
|
};
|
|
3088
3139
|
a.plugin instanceof Promise ? a.plugin.then(({
|
|
@@ -3097,7 +3148,7 @@ ${i.concat(i).join(`
|
|
|
3097
3148
|
}, x = async (v, _) => {
|
|
3098
3149
|
if (!h(_))
|
|
3099
3150
|
return;
|
|
3100
|
-
|
|
3151
|
+
eo({
|
|
3101
3152
|
context: v.context || {},
|
|
3102
3153
|
schema: v.flow.context_schema,
|
|
3103
3154
|
logger: n
|
|
@@ -3112,7 +3163,7 @@ ${i.concat(i).join(`
|
|
|
3112
3163
|
try {
|
|
3113
3164
|
if (u)
|
|
3114
3165
|
return;
|
|
3115
|
-
|
|
3166
|
+
j(), n.info("Chatbot plugin prepared");
|
|
3116
3167
|
} catch (v) {
|
|
3117
3168
|
n.error("Error preparing chatbot plugin", v);
|
|
3118
3169
|
}
|
|
@@ -3120,7 +3171,7 @@ ${i.concat(i).join(`
|
|
|
3120
3171
|
/** Fetches a flow by job ID.
|
|
3121
3172
|
* @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.
|
|
3122
3173
|
*/
|
|
3123
|
-
fetchFlowByJobId: async (v, _) => r.request(
|
|
3174
|
+
fetchFlowByJobId: async (v, _) => r.request(Gr, {
|
|
3124
3175
|
params: {
|
|
3125
3176
|
id: v
|
|
3126
3177
|
},
|
|
@@ -3141,7 +3192,7 @@ ${i.concat(i).join(`
|
|
|
3141
3192
|
..._ == null ? void 0 : _.context
|
|
3142
3193
|
}
|
|
3143
3194
|
})),
|
|
3144
|
-
fetchFlowById: async (v, _) => r.request(
|
|
3195
|
+
fetchFlowById: async (v, _) => r.request(Xr, {
|
|
3145
3196
|
params: {
|
|
3146
3197
|
id: v
|
|
3147
3198
|
}
|
|
@@ -3164,7 +3215,7 @@ ${i.concat(i).join(`
|
|
|
3164
3215
|
open: async (v) => {
|
|
3165
3216
|
if (!(typeof window > "u"))
|
|
3166
3217
|
try {
|
|
3167
|
-
$.cancelCurrentFlow(), $.viewState$.value = "maximised", u ||
|
|
3218
|
+
$.cancelCurrentFlow(), $.viewState$.value = "maximised", u || j();
|
|
3168
3219
|
const _ = l;
|
|
3169
3220
|
v instanceof Promise ? ($.current$.value = {
|
|
3170
3221
|
state: "loading"
|
|
@@ -3187,7 +3238,7 @@ ${i.concat(i).join(`
|
|
|
3187
3238
|
destroy: b
|
|
3188
3239
|
};
|
|
3189
3240
|
});
|
|
3190
|
-
function
|
|
3241
|
+
function sn({
|
|
3191
3242
|
instance: t,
|
|
3192
3243
|
terms: e,
|
|
3193
3244
|
theme: i,
|
|
@@ -3219,44 +3270,53 @@ function an({
|
|
|
3219
3270
|
}
|
|
3220
3271
|
export {
|
|
3221
3272
|
ut as A,
|
|
3222
|
-
|
|
3273
|
+
to as B,
|
|
3274
|
+
ta as C,
|
|
3275
|
+
Xa as D,
|
|
3276
|
+
vo as E,
|
|
3223
3277
|
dt as F,
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3278
|
+
An as G,
|
|
3279
|
+
zn as H,
|
|
3280
|
+
ji as I,
|
|
3281
|
+
fn as J,
|
|
3282
|
+
Cn as K,
|
|
3283
|
+
Or as L,
|
|
3284
|
+
R as M,
|
|
3285
|
+
qa as N,
|
|
3286
|
+
He as O,
|
|
3287
|
+
zt as P,
|
|
3288
|
+
jn as Q,
|
|
3289
|
+
Dr as R,
|
|
3290
|
+
Ce as S,
|
|
3291
|
+
cn as T,
|
|
3292
|
+
Nn as U,
|
|
3234
3293
|
un as Y,
|
|
3235
3294
|
pn as Z,
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3295
|
+
Gt as _,
|
|
3296
|
+
On as a,
|
|
3297
|
+
Va as b,
|
|
3298
|
+
xn as c,
|
|
3299
|
+
$n as d,
|
|
3300
|
+
hn as e,
|
|
3301
|
+
Sn as f,
|
|
3302
|
+
In as g,
|
|
3303
|
+
_n as h,
|
|
3304
|
+
vn as i,
|
|
3305
|
+
dn as j,
|
|
3306
|
+
Xt as k,
|
|
3307
|
+
kn as l,
|
|
3308
|
+
p as m,
|
|
3309
|
+
wn as n,
|
|
3310
|
+
gn as o,
|
|
3311
|
+
yn as p,
|
|
3312
|
+
Za as q,
|
|
3313
|
+
Me as r,
|
|
3314
|
+
bn as s,
|
|
3315
|
+
Fe as t,
|
|
3316
|
+
mn as u,
|
|
3317
|
+
Ji as v,
|
|
3318
|
+
ga as w,
|
|
3319
|
+
W as x,
|
|
3260
3320
|
bt as y,
|
|
3261
|
-
|
|
3321
|
+
$ as z
|
|
3262
3322
|
};
|