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