@inploi/plugin-chatbot 14.14.0 → 14.15.1

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.
@@ -1,62 +1,62 @@
1
- import { endpoint as ji, typed as La, createPlugin as Ba, createTalentBankClient as Ha, ApiError as Ua } from "@inploi/sdk";
1
+ import { endpoint as Fi, typed as Wa, createPlugin as Va, createTalentBankClient as Ya, ApiError as Ka } from "@inploi/sdk";
2
2
  var J;
3
- function zi(t) {
3
+ function Mi(t) {
4
4
  return { lang: (t == null ? void 0 : t.lang) ?? (J == null ? void 0 : J.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (J == null ? void 0 : J.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (J == null ? void 0 : J.abortPipeEarly) };
5
5
  }
6
6
  var Qt;
7
- function Wa(t) {
7
+ function qa(t) {
8
8
  return Qt == null ? void 0 : Qt.get(t);
9
9
  }
10
10
  var te;
11
- function Va(t) {
11
+ function Ga(t) {
12
12
  return te == null ? void 0 : te.get(t);
13
13
  }
14
14
  var ee;
15
- function Ya(t, e) {
15
+ function Za(t, e) {
16
16
  var i;
17
17
  return (i = ee == null ? void 0 : ee.get(t)) == null ? void 0 : i.get(e);
18
18
  }
19
- function Di(t) {
19
+ function Ri(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 Y(t, e, i, a, o) {
25
- let n = o && "input" in o ? o.input : i.value, r = (o == null ? void 0 : o.expected) ?? t.expects ?? null, s = (o == null ? void 0 : o.received) ?? Di(n), l = { 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 ?? Ya(t.reference, l.lang) ?? (d ? Va(l.lang) : null) ?? a.message ?? Wa(l.lang);
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) ?? Ri(n), l = { 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 ?? Za(t.reference, l.lang) ?? (d ? Ga(l.lang) : null) ?? a.message ?? qa(l.lang);
26
26
  u !== void 0 && (l.message = typeof u == "function" ? u(l) : u), d && (i.typed = !1), i.issues ? i.issues.push(l) : i.issues = [l];
27
27
  }
28
28
  function M(t) {
29
29
  return { version: 1, vendor: "valibot", validate(e) {
30
- return t["~run"]({ value: e }, zi());
30
+ return t["~run"]({ value: e }, Mi());
31
31
  } };
32
32
  }
33
- function Ka(t, e) {
33
+ function Xa(t, e) {
34
34
  return Object.hasOwn(t, e) && e !== "__proto__" && e !== "prototype" && e !== "constructor";
35
35
  }
36
- function qa(t, e) {
36
+ function Ja(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 Oi(t) {
41
- return { kind: "transformation", type: "transform", reference: Oi, async: !1, operation: t, "~run"(e) {
40
+ function Li(t) {
41
+ return { kind: "transformation", type: "transform", reference: Li, async: !1, operation: t, "~run"(e) {
42
42
  return e.value = this.operation(e.value), e;
43
43
  } };
44
44
  }
45
- function Ga(t, e, i) {
45
+ function Qa(t, e, i) {
46
46
  return typeof t.fallback == "function" ? t.fallback(e, i) : t.fallback;
47
47
  }
48
- function ze(t, e, i) {
48
+ function Oe(t, e, i) {
49
49
  return typeof t.default == "function" ? t.default(e, i) : t.default;
50
50
  }
51
- function Ni() {
52
- return { kind: "schema", type: "any", reference: Ni, expects: "any", async: !1, get "~standard"() {
51
+ function Bi() {
52
+ return { kind: "schema", type: "any", reference: Bi, expects: "any", async: !1, get "~standard"() {
53
53
  return M(this);
54
54
  }, "~run"(t) {
55
55
  return t.typed = !0, t;
56
56
  } };
57
57
  }
58
- function Fi(t, e) {
59
- return { kind: "schema", type: "array", reference: Fi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
58
+ function Hi(t, e) {
59
+ return { kind: "schema", type: "array", reference: Hi, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
60
60
  return M(this);
61
61
  }, "~run"(i, a) {
62
62
  var n;
@@ -81,22 +81,22 @@ function Fi(t, e) {
81
81
  return i;
82
82
  } };
83
83
  }
84
- function De(t) {
85
- return { kind: "schema", type: "boolean", reference: De, expects: "boolean", async: !1, message: t, get "~standard"() {
84
+ function ze(t) {
85
+ return { kind: "schema", type: "boolean", reference: ze, expects: "boolean", async: !1, message: t, get "~standard"() {
86
86
  return M(this);
87
87
  }, "~run"(e, i) {
88
88
  return typeof e.value == "boolean" ? e.typed = !0 : Y(this, "type", e, i), e;
89
89
  } };
90
90
  }
91
91
  function dt(t, e) {
92
- return { kind: "schema", type: "literal", reference: dt, expects: Di(t), async: !1, literal: t, message: e, get "~standard"() {
92
+ return { kind: "schema", type: "literal", reference: dt, expects: Ri(t), async: !1, literal: t, message: e, get "~standard"() {
93
93
  return M(this);
94
94
  }, "~run"(i, a) {
95
95
  return i.value === this.literal ? i.typed = !0 : Y(this, "type", i, a), i;
96
96
  } };
97
97
  }
98
- function Mi(t) {
99
- return { kind: "schema", type: "null", reference: Mi, expects: "null", async: !1, message: t, get "~standard"() {
98
+ function Ui(t) {
99
+ return { kind: "schema", type: "null", reference: Ui, expects: "null", async: !1, message: t, get "~standard"() {
100
100
  return M(this);
101
101
  }, "~run"(e, i) {
102
102
  return e.value === null ? e.typed = !0 : Y(this, "type", e, i), e;
@@ -106,7 +106,7 @@ function Lt(t, e) {
106
106
  return { kind: "schema", type: "nullable", reference: Lt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
107
107
  return M(this);
108
108
  }, "~run"(i, a) {
109
- return i.value === null && (this.default !== void 0 && (i.value = ze(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
109
+ return i.value === null && (this.default !== void 0 && (i.value = Oe(this, i, a)), i.value === null) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
110
110
  } };
111
111
  }
112
112
  function Bt(t) {
@@ -127,7 +127,7 @@ function I(t, e) {
127
127
  for (let r in this.entries) {
128
128
  let s = this.entries[r];
129
129
  if (r in o || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
130
- let l = r in o ? o[r] : ze(s), d = s["~run"]({ value: l }, a);
130
+ let l = r in o ? o[r] : Oe(s), d = s["~run"]({ value: l }, a);
131
131
  if (d.issues) {
132
132
  let u = { type: "object", origin: "value", input: o, key: r, value: l };
133
133
  for (let c of d.issues)
@@ -139,7 +139,7 @@ function I(t, e) {
139
139
  }
140
140
  d.typed || (i.typed = !1), i.value[r] = d.value;
141
141
  } else if (s.fallback !== void 0)
142
- i.value[r] = Ga(s);
142
+ i.value[r] = Qa(s);
143
143
  else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (Y(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
  }
@@ -148,15 +148,15 @@ function I(t, e) {
148
148
  return i;
149
149
  } };
150
150
  }
151
- function F(t, e) {
152
- return { kind: "schema", type: "optional", reference: F, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
151
+ function N(t, e) {
152
+ return { kind: "schema", type: "optional", reference: N, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
153
153
  return M(this);
154
154
  }, "~run"(i, a) {
155
- return i.value === void 0 && (this.default !== void 0 && (i.value = ze(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
155
+ return i.value === void 0 && (this.default !== void 0 && (i.value = Oe(this, i, a)), i.value === void 0) ? (i.typed = !0, i) : this.wrapped["~run"](i, a);
156
156
  } };
157
157
  }
158
- function Ri(t, e, i) {
159
- return { kind: "schema", type: "record", reference: Ri, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
158
+ function De(t, e, i) {
159
+ return { kind: "schema", type: "record", reference: De, expects: "Object", async: !1, key: t, value: e, message: i, get "~standard"() {
160
160
  return M(this);
161
161
  }, "~run"(a, o) {
162
162
  var r, s;
@@ -164,12 +164,12 @@ function Ri(t, e, i) {
164
164
  if (n && typeof n == "object") {
165
165
  a.typed = !0, a.value = {};
166
166
  for (let l in n)
167
- if (Ka(n, l)) {
167
+ if (Xa(n, l)) {
168
168
  let d = n[l], u = this.key["~run"]({ value: l }, o);
169
169
  if (u.issues) {
170
170
  let f = { type: "object", origin: "key", input: n, key: l, value: d };
171
- for (let b of u.issues)
172
- b.path = [f], (r = a.issues) == null || r.push(b);
171
+ for (let g of u.issues)
172
+ g.path = [f], (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;
@@ -178,8 +178,8 @@ function Ri(t, e, i) {
178
178
  let c = this.value["~run"]({ value: d }, o);
179
179
  if (c.issues) {
180
180
  let f = { type: "object", origin: "value", input: n, key: l, value: d };
181
- for (let b of c.issues)
182
- b.path ? b.path.unshift(f) : b.path = [f], (s = a.issues) == null || s.push(b);
181
+ for (let g of c.issues)
182
+ g.path ? g.path.unshift(f) : g.path = [f], (s = a.issues) == null || s.push(g);
183
183
  if (a.issues || (a.issues = c.issues), o.abortEarly) {
184
184
  a.typed = !1;
185
185
  break;
@@ -192,22 +192,22 @@ function Ri(t, e, i) {
192
192
  return a;
193
193
  } };
194
194
  }
195
- function U(t) {
196
- return { kind: "schema", type: "string", reference: U, expects: "string", async: !1, message: t, get "~standard"() {
195
+ function L(t) {
196
+ return { kind: "schema", type: "string", reference: L, expects: "string", async: !1, message: t, get "~standard"() {
197
197
  return M(this);
198
198
  }, "~run"(e, i) {
199
199
  return typeof e.value == "string" ? e.typed = !0 : Y(this, "type", e, i), e;
200
200
  } };
201
201
  }
202
- function qe(t) {
202
+ function Je(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 Oe(t, e) {
210
- return { kind: "schema", type: "union", reference: Oe, expects: qa(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
209
+ function Ne(t, e) {
210
+ return { kind: "schema", type: "union", reference: Ne, expects: Ja(t.map((i) => i.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
211
211
  return M(this);
212
212
  }, "~run"(i, a) {
213
213
  let o, n, r;
@@ -228,23 +228,23 @@ function Oe(t, e) {
228
228
  if (n) {
229
229
  if (n.length === 1)
230
230
  return n[0];
231
- Y(this, "type", i, a, { issues: qe(n) }), i.typed = !0;
231
+ Y(this, "type", i, a, { issues: Je(n) }), i.typed = !0;
232
232
  } else {
233
233
  if ((r == null ? void 0 : r.length) === 1)
234
234
  return r[0];
235
- Y(this, "type", i, a, { issues: qe(r) });
235
+ Y(this, "type", i, a, { issues: Je(r) });
236
236
  }
237
237
  return i;
238
238
  } };
239
239
  }
240
- function Pt() {
241
- return { kind: "schema", type: "unknown", reference: Pt, expects: "unknown", async: !1, get "~standard"() {
240
+ function bt() {
241
+ return { kind: "schema", type: "unknown", reference: bt, expects: "unknown", async: !1, get "~standard"() {
242
242
  return M(this);
243
243
  }, "~run"(t) {
244
244
  return t.typed = !0, t;
245
245
  } };
246
246
  }
247
- function Za(...t) {
247
+ function to(...t) {
248
248
  return { ...t[0], pipe: t, get "~standard"() {
249
249
  return M(this);
250
250
  }, "~run"(e, i) {
@@ -260,32 +260,32 @@ function Za(...t) {
260
260
  } };
261
261
  }
262
262
  function Gt(t, e, i) {
263
- let a = t["~run"]({ value: e }, zi(i));
263
+ let a = t["~run"]({ value: e }, Mi(i));
264
264
  return { typed: a.typed, success: !a.issues, output: a.value, issues: a.issues };
265
265
  }
266
- var Xa = (t) => ({ ok: !0, err: !1, val: t }), Ja = (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 Qa(t, e, i) {
266
+ var eo = (t) => ({ ok: !0, err: !1, val: t }), io = (t) => ({ err: !0, ok: !1, val: t }), Fe = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
267
+ function ao(t, e, i) {
268
268
  var r, s;
269
269
  let a = t.find((l) => l.type === "pre-apply-result");
270
270
  if (!a)
271
271
  return;
272
272
  let o = (r = e[a.data.participationKey]) == null ? void 0 : r.value, n = {};
273
273
  if (o === !0)
274
- for (let l of Ne(t)) {
274
+ for (let l of Fe(t)) {
275
275
  let d = (s = e[l.data.key]) == null ? void 0 : s.value;
276
276
  Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[l.data.key] = d);
277
277
  }
278
278
  return { node_id: a.id, flow_session_id: i, participation: o, answers: n };
279
279
  }
280
- function Sr(t, e) {
281
- let i = Qa(t, e, ""), a = Ne(t).map((n) => {
280
+ function Tr(t, e) {
281
+ let i = ao(t, e, ""), a = Fe(t).map((n) => {
282
282
  let r = n.data.preApply, s = i == null ? void 0 : i.answers[n.data.key], l = n.type === "question-boolean" ? typeof s == "boolean" : n.data.options.some((d) => d.value === s);
283
283
  return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: l && s === r.expectedValue, valid: l };
284
284
  }), o = (i == null ? void 0 : i.participation) === !1 ? "skipped" : (i == null ? void 0 : i.participation) === !0 && a.length > 0 && a.every((n) => n.valid) ? "completed" : "unavailable";
285
285
  return { status: o, hasHardConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "hard") : null, hasAdvisoryConcerns: o === "completed" ? a.some((n) => !n.matched && n.severity === "advisory") : null, answers: o === "completed" ? a : [] };
286
286
  }
287
- function Cr(t, e) {
288
- let i = new Set(Ne(t).map((a) => a.data.key));
287
+ function Ir(t, e) {
288
+ let i = new Set(Fe(t).map((a) => a.data.key));
289
289
  for (let a of t)
290
290
  a.type === "pre-apply-result" && (i.add(a.data.key), i.add(a.data.participationKey));
291
291
  return Object.fromEntries(Object.entries(e).filter(([a]) => !i.has(a)));
@@ -294,7 +294,7 @@ var ht = class extends Error {
294
294
  constructor() {
295
295
  super("Aborted");
296
296
  }
297
- }, Li = (t, e) => {
297
+ }, Wi = (t, e) => {
298
298
  if (e.length === 0)
299
299
  return;
300
300
  let i = t;
@@ -304,27 +304,27 @@ var ht = class extends Error {
304
304
  i = i[a];
305
305
  }
306
306
  return i;
307
- }, Pr = (t, e = "all") => {
307
+ }, jr = (t, e = "all") => {
308
308
  let i = {}, a = e === "all" ? null : new Set(e);
309
309
  for (let o in t) {
310
310
  let n = t[o];
311
311
  n && (a && !a.has(o) || (i[o] = n.value));
312
312
  }
313
313
  return i;
314
- }, Bi = (t, e) => {
314
+ }, Vi = (t, e) => {
315
315
  let i = new Set(t.flatMap((a) => a.type === "add-submission" ? [a.data.key] : []));
316
316
  return Object.entries(e).some(([a, o]) => o !== void 0 && o.type !== "integration" && !i.has(a));
317
- }, Tr = ({ key: t, submissions: e }) => {
317
+ }, Or = ({ key: t, submissions: e }) => {
318
318
  var a;
319
319
  let i = (a = e[t]) == null ? void 0 : a.value;
320
320
  if (typeof i != "string" && typeof i != "number")
321
321
  throw new Error(`Submission at “${t}” is not a string or number`);
322
322
  return i;
323
- }, Ir = ({ key: t, path: e, submissions: i, context: a }) => {
323
+ }, zr = ({ key: t, path: e, submissions: i, context: a }) => {
324
324
  if (t === "$context") {
325
325
  if (!e)
326
326
  return;
327
- let o = Li(a, e);
327
+ let o = Wi(a, e);
328
328
  switch (typeof o) {
329
329
  case "string":
330
330
  return { type: "string", value: o };
@@ -338,58 +338,58 @@ var ht = class extends Error {
338
338
  }
339
339
  }
340
340
  return i[t];
341
- }, to = (t) => {
341
+ }, oo = (t) => {
342
342
  let e = t.split(".").pop();
343
- return e ? Xa(e ? "." + e : "") : Ja("No file extension found");
344
- }, Ar = (t, e) => {
343
+ return e ? eo(e ? "." + e : "") : io("No file extension found");
344
+ }, Dr = (t, e) => {
345
345
  if (e.length === 0)
346
346
  return !0;
347
347
  let i = e.map((a) => a.toLowerCase());
348
348
  return t.every((a) => {
349
- let o = to(a.name);
349
+ let o = oo(a.name);
350
350
  return o.ok && i.includes(o.val.toLowerCase());
351
351
  });
352
- }, jr = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, zr = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, eo = I({ integration_response: I({ data: I({ redirect_url: U(), message: F(Lt(U())), button_text: F(Lt(U())) }) }) }), io = (t) => Gt(eo, t).success, ao = I({ integration_response: I({ status: F(Pt()), error: I({ message: U(), data: F(Pt()) }) }) }), Hi = (t) => Gt(ao, t).success, oo = I({ success: dt(!0), integration_response: I({ data: I({ outcome: dt("pending"), message: F(Pt()) }), error: F(Mi()) }) }), no = (t) => {
353
- let e = Gt(oo, t);
354
- if (!e.success || io(t))
352
+ }, Nr = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Fr = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, no = I({ integration_response: I({ data: I({ redirect_url: L(), message: N(Lt(L())), button_text: N(Lt(L())) }) }) }), ro = (t) => Gt(no, t).success, so = I({ integration_response: I({ status: N(bt()), error: I({ message: L(), data: N(bt()) }) }) }), Yi = (t) => Gt(so, t).success, lo = I({ success: dt(!0), integration_response: I({ data: I({ outcome: dt("pending"), message: N(bt()) }), error: N(Ui()) }) }), co = (t) => {
353
+ let e = Gt(lo, t);
354
+ if (!e.success || ro(t))
355
355
  return;
356
356
  let { message: i } = e.output.integration_response.data;
357
357
  return typeof i == "string" && i.trim() ? { message: i } : {};
358
358
  };
359
- I({ success: dt(!1), message: F(Pt()) });
360
- var ro = I({ error: dt("Validation failed"), messages: I({}) }), Dr = (t, e) => e === 422 && Gt(ro, t).success, Or = (t, e) => {
361
- if (!Hi(t))
359
+ I({ success: dt(!1), message: N(bt()) });
360
+ var uo = I({ error: dt("Validation failed"), messages: I({}) }), Mr = (t, e) => e === 422 && Gt(uo, t).success, Rr = (t, e) => {
361
+ if (!Yi(t))
362
362
  return;
363
363
  let i = t.integration_response, a = i.error.data, o = typeof a == "object" && a !== null ? a : {}, n = (h) => typeof o[h] == "string" ? o[h] : void 0, r = (h) => typeof o[h] == "boolean" ? o[h] : void 0, s = (h) => {
364
- let g = o[h];
365
- return Number.isSafeInteger(g) && g >= 0 ? g : void 0;
364
+ let b = o[h];
365
+ return Number.isSafeInteger(b) && b >= 0 ? b : void 0;
366
366
  }, l = (h) => {
367
- let g = n(h), z = g === void 0 ? NaN : Date.parse(g);
368
- return Number.isFinite(z) ? z : void 0;
369
- }, d = typeof i.status == "number" ? i.status : e, u = n("phase"), c = n("verdict"), f = n("code"), b = d === 409 && u === "submit" && c === "confirmed" ? "duplicate" : d === 410 && f === "job_closed" ? "closed" : u === "submit" && c === "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: c, code: f, reason: n("reason"), maintenanceUntil: l("maintenance_until"), field: n("field"), outcome: b };
371
- }, so = 3e4, lo = 2e4, co = 6e4, uo = 12e4, po = 6 * 60 * 6e4, Nr = 60 * 6e4, Ui = (t) => {
367
+ let b = n(h), O = b === void 0 ? NaN : Date.parse(b);
368
+ return Number.isFinite(O) ? O : void 0;
369
+ }, d = typeof i.status == "number" ? i.status : e, u = n("phase"), c = n("verdict"), f = n("code"), g = d === 409 && u === "submit" && c === "confirmed" ? "duplicate" : d === 410 && f === "job_closed" ? "closed" : u === "submit" && c === "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: c, code: f, reason: n("reason"), maintenanceUntil: l("maintenance_until"), field: n("field"), outcome: g };
371
+ }, po = 3e4, ho = 2e4, fo = 6e4, wo = 12e4, go = 6 * 60 * 6e4, Lr = 60 * 6e4, Ki = (t) => {
372
372
  let e = (t == null ? void 0 : t.reason) === "provider_maintenance" ? t.maintenanceUntil : void 0, i = e === void 0 ? 0 : e - Date.now();
373
- return i > 0 && i <= po ? e : void 0;
374
- }, Fr = (t) => {
373
+ return i > 0 && i <= go ? e : void 0;
374
+ }, Br = (t) => {
375
375
  if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown")
376
376
  return;
377
- let e = Ui(t);
377
+ let e = Ki(t);
378
378
  return e === void 0 ? {} : { until: e };
379
- }, Mr = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Rr = (t, e) => {
380
- let i = Ui(e);
379
+ }, Hr = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Ur = (t, e) => {
380
+ let i = Ki(e);
381
381
  if (i !== void 0)
382
382
  return { waitMs: i - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
383
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: so };
385
- let a = (t ?? 0) + 1, o = Math.min(a * lo, co), n = (e.retryAfterSeconds ?? 0) * 1e3;
386
- return { waitMs: Math.min(Math.max(o, n), uo), throttles: a };
387
- }, Lr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Br = (t) => {
388
- if (!Hi(t))
384
+ return { waitMs: po };
385
+ let a = (t ?? 0) + 1, o = Math.min(a * ho, fo), n = (e.retryAfterSeconds ?? 0) * 1e3;
386
+ return { waitMs: Math.min(Math.max(o, n), wo), throttles: a };
387
+ }, Wr = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", Vr = (t) => {
388
+ if (!Yi(t))
389
389
  return !1;
390
390
  let e = t.integration_response.error.data;
391
391
  return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
392
- }, Hr = (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", Ur = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", Wr = (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, Vr = (t, e) => {
392
+ }, Yr = (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", Kr = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", qr = (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, Gr = (t, e) => {
393
393
  if (typeof t != "object" || t === null)
394
394
  return null;
395
395
  let i = t.integration_response;
@@ -406,30 +406,33 @@ var ro = I({ error: dt("Validation failed"), messages: I({}) }), Dr = (t, e) =>
406
406
  if (!o && !r)
407
407
  return null;
408
408
  let s = o ? a.data : n.data ?? null;
409
- return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...no(t) && { outcome: "pending" } };
410
- }, ho = (t) => {
409
+ return { service: a.service ?? "INVALID_SERVICE", response: { status: a.status, payload: s }, ...co(t) && { outcome: "pending" } };
410
+ }, bo = (t) => {
411
411
  if (!/^\d{4}-\d{2}-\d{2}$/.test(t))
412
412
  return !1;
413
413
  let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
414
414
  return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
415
- }, Yr = (t, e) => {
416
- if (!ho(t))
415
+ }, Zr = (t, e) => {
416
+ if (!bo(t))
417
417
  throw new RangeError("Invalid ISO calendar date");
418
418
  return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
419
- }, Kr = (t) => new Promise((e, i) => {
419
+ }, Xr = (t) => new Promise((e, i) => {
420
420
  let a = new FileReader();
421
421
  a.onload = () => {
422
422
  if (typeof a.result != "string" || !a.result)
423
423
  return i(new Error("Invalid file"));
424
424
  e(a.result);
425
425
  }, a.onerror = i, a.readAsDataURL(t);
426
- }), fo = ({ context: t, schema: e, logger: i }) => {
426
+ }), Qe = (t) => typeof t == "object" && t !== null && (Object.getPrototypeOf(t) === Object.prototype || Object.getPrototypeOf(t) === null), Me = (t, e) => t ? { ...t, ...Object.fromEntries(Object.entries(e).filter(([, i]) => i !== void 0).map(([i, a]) => {
427
+ let o = t[i];
428
+ return [i, Qe(o) && Qe(a) ? Me(o, a) : a];
429
+ })) } : e, vo = ({ context: t, schema: e, logger: i }) => {
427
430
  if (e)
428
431
  for (let a in e) {
429
432
  let o = e[a];
430
433
  if (!o)
431
434
  continue;
432
- let n = Li(t, a.split("."));
435
+ let n = Wi(t, a.split("."));
433
436
  if (o.required && n == null) {
434
437
  let r = `Configuration error in context: ${a} is required`;
435
438
  throw i.error(r), new Error(r);
@@ -448,30 +451,30 @@ var ro = I({ error: dt("Validation failed"), messages: I({}) }), Dr = (t, e) =>
448
451
  o.type;
449
452
  }
450
453
  }
451
- }, Wi = Za(Oe([U(), Bt()]), Oi(String)), Vi = I({ id: Wi, version: Bt(), build: Bt(), nodes: Fi(Ni()), context_schema: F(Lt(Ri(U(), I({ required: De(), type: Oe([dt("string"), dt("number")]) })))) }), wo = I({ flow: Vi }), go = I({ company: I({ name: U() }), flow: Vi, job: I({ id: Wi, title: U() }), user: F(I({ city: F(U()), country: F(U()), isEU: F(De()), continent: F(U()) })) }), bo = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), vo = ji({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: La(), response: go } }), _o = ji({ pathname: "/flow/id/:id", method: "GET", schema: { response: wo } }), jt, w, Yi, Ki, lt, Ge, qi, he, Gi, wt = {}, Zi = [], mo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Zt = Array.isArray;
454
+ }, qi = to(Ne([L(), Bt()]), Li(String)), Gi = I({ id: qi, version: Bt(), build: Bt(), nodes: Hi(Bi()), context_schema: N(Lt(De(L(), I({ required: ze(), type: Ne([dt("string"), dt("number")]) })))) }), _o = I({ flow: Gi }), mo = I({ company: I({ name: L() }), context: N(De(L(), bt())), flow: Gi, job: I({ id: qi, title: L() }), user: N(I({ city: N(L()), country: N(L()), isEU: N(ze()), continent: N(L()) })) }), yo = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), xo = Fi({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: Wa(), response: mo } }), ko = Fi({ pathname: "/flow/id/:id", method: "GET", schema: { response: _o } }), jt, w, Zi, Xi, lt, ti, Ji, he, Qi, wt = {}, ta = [], $o = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Zt = Array.isArray;
452
455
  function Q(t, e) {
453
456
  for (var i in e)
454
457
  t[i] = e[i];
455
458
  return t;
456
459
  }
457
- function Xi(t) {
460
+ function ea(t) {
458
461
  var e = t.parentNode;
459
462
  e && e.removeChild(t);
460
463
  }
461
- function L(t, e, i) {
464
+ function B(t, e, i) {
462
465
  var a, o, n, r = {};
463
466
  for (n in e)
464
467
  n == "key" ? a = e[n] : n == "ref" ? o = e[n] : r[n] = e[n];
465
468
  if (arguments.length > 2 && (r.children = arguments.length > 3 ? jt.call(arguments, 2) : i), typeof t == "function" && t.defaultProps != null)
466
469
  for (n in t.defaultProps)
467
470
  r[n] === void 0 && (r[n] = t.defaultProps[n]);
468
- return $t(t, r, a, o, null);
471
+ return Ct(t, r, a, o, null);
469
472
  }
470
- function $t(t, e, i, a, o) {
471
- 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 ?? ++Yi };
473
+ function Ct(t, e, i, a, o) {
474
+ 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 ?? ++Zi };
472
475
  return o == null && w.vnode != null && w.vnode(n), n;
473
476
  }
474
- function yo() {
477
+ function So() {
475
478
  return { current: null };
476
479
  }
477
480
  function K(t) {
@@ -488,7 +491,7 @@ function Ht(t, e) {
488
491
  return i.__e;
489
492
  return typeof t.type == "function" ? Ht(t) : null;
490
493
  }
491
- function Ji(t) {
494
+ function ia(t) {
492
495
  var e, i;
493
496
  if ((t = t.__) != null && t.__c != null) {
494
497
  for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++)
@@ -496,28 +499,28 @@ function Ji(t) {
496
499
  t.__e = t.__c.base = i.__e;
497
500
  break;
498
501
  }
499
- return Ji(t);
502
+ return ia(t);
500
503
  }
501
504
  }
502
505
  function fe(t) {
503
- (!t.__d && (t.__d = !0) && lt.push(t) && !Ut.__r++ || Ge !== w.debounceRendering) && ((Ge = w.debounceRendering) || qi)(Ut);
506
+ (!t.__d && (t.__d = !0) && lt.push(t) && !Ut.__r++ || ti !== w.debounceRendering) && ((ti = w.debounceRendering) || Ji)(Ut);
504
507
  }
505
508
  function Ut() {
506
509
  var t, e, i, a, o, n, r, s, l;
507
510
  for (lt.sort(he); t = lt.shift(); )
508
- t.__d && (e = lt.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (l = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1, Fe(l, r, n, i.__n, l.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Ht(r), r.__h, o), ia(a, r, o), r.__e != s && Ji(r)), lt.length > e && lt.sort(he));
511
+ t.__d && (e = lt.length, a = void 0, o = void 0, n = void 0, s = (r = (i = t).__v).__e, (l = i.__P) && (a = [], o = [], (n = Q({}, r)).__v = r.__v + 1, Re(l, r, n, i.__n, l.ownerSVGElement !== void 0, r.__h != null ? [s] : null, a, s ?? Ht(r), r.__h, o), ra(a, r, o), r.__e != s && ia(r)), lt.length > e && lt.sort(he));
509
512
  Ut.__r = 0;
510
513
  }
511
- function Qi(t, e, i, a, o, n, r, s, l, d, u) {
512
- var c, f, b, h, g, z, k, P, _, v, x = 0, y = a && a.__k || Zi, R = y.length, q = R, j = e.length;
514
+ function aa(t, e, i, a, o, n, r, s, l, d, u) {
515
+ var c, f, g, h, b, O, k, P, v, _, x = 0, y = a && a.__k || ta, q = y.length, R = q, j = e.length;
513
516
  for (i.__k = [], c = 0; c < j; c++)
514
- (h = i.__k[c] = (h = e[c]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? $t(null, h, null, null, h) : Zt(h) ? $t(K, { children: h }, null, null, null) : h.__b > 0 ? $t(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (P = xo(h, y, k = c + x, q)) === -1 ? b = wt : (b = y[P] || wt, y[P] = void 0, q--), Fe(t, h, b, o, n, r, s, l, d, u), g = h.__e, (f = h.ref) && b.ref != f && (b.ref && Me(b.ref, null, h), u.push(f, h.__c || g, h)), g != null && (z == null && (z = g), v = !(_ = b === wt || b.__v === null) && P === k, _ ? P == -1 && x-- : P !== k && (P === k + 1 ? (x++, v = !0) : P > k ? q > j - k ? (x += P - k, v = !0) : x-- : x = P < k && P == k - 1 ? P - k : 0), k = c + x, v = v || P == c && !_, typeof h.type != "function" || P === k && b.__k !== h.__k ? typeof h.type == "function" || v ? h.__d !== void 0 ? (l = h.__d, h.__d = void 0) : l = g.nextSibling : l = ea(t, g, l) : l = ta(h, l, t), typeof i.type == "function" && (i.__d = l)));
515
- for (i.__e = z, c = R; c--; )
516
- y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling), aa(y[c], y[c]));
517
+ (h = i.__k[c] = (h = e[c]) == null || typeof h == "boolean" || typeof h == "function" ? null : typeof h == "string" || typeof h == "number" || typeof h == "bigint" ? Ct(null, h, null, null, h) : Zt(h) ? Ct(K, { children: h }, null, null, null) : h.__b > 0 ? Ct(h.type, h.props, h.key, h.ref ? h.ref : null, h.__v) : h) != null && (h.__ = i, h.__b = i.__b + 1, (P = Co(h, y, k = c + x, R)) === -1 ? g = wt : (g = y[P] || wt, y[P] = void 0, R--), Re(t, h, g, o, n, r, s, l, d, u), b = h.__e, (f = h.ref) && g.ref != f && (g.ref && Le(g.ref, null, h), u.push(f, h.__c || b, h)), b != null && (O == null && (O = b), _ = !(v = g === wt || g.__v === null) && P === k, v ? P == -1 && x-- : P !== k && (P === k + 1 ? (x++, _ = !0) : P > k ? R > j - k ? (x += P - k, _ = !0) : x-- : x = P < k && P == k - 1 ? P - k : 0), k = c + x, _ = _ || P == c && !v, typeof h.type != "function" || P === k && g.__k !== h.__k ? typeof h.type == "function" || _ ? h.__d !== void 0 ? (l = h.__d, h.__d = void 0) : l = b.nextSibling : l = na(t, b, l) : l = oa(h, l, t), typeof i.type == "function" && (i.__d = l)));
518
+ for (i.__e = O, c = q; c--; )
519
+ y[c] != null && (typeof i.type == "function" && y[c].__e != null && y[c].__e == i.__d && (i.__d = y[c].__e.nextSibling), sa(y[c], y[c]));
517
520
  }
518
- function ta(t, e, i) {
521
+ function oa(t, e, i) {
519
522
  for (var a, o = t.__k, n = 0; o && n < o.length; n++)
520
- (a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? ta(a, e, i) : ea(i, a.__e, e));
523
+ (a = o[n]) && (a.__ = t, e = typeof a.type == "function" ? oa(a, e, i) : na(i, a.__e, e));
521
524
  return e;
522
525
  }
523
526
  function tt(t, e) {
@@ -525,10 +528,10 @@ function tt(t, e) {
525
528
  tt(i, e);
526
529
  }) : e.push(t)), e;
527
530
  }
528
- function ea(t, e, i) {
531
+ function na(t, e, i) {
529
532
  return i == null || i.parentNode !== t ? t.insertBefore(e, null) : e == i && e.parentNode != null || t.insertBefore(e, i), e.nextSibling;
530
533
  }
531
- function xo(t, e, i, a) {
534
+ function Co(t, e, i, a) {
532
535
  var o = t.key, n = t.type, r = i - 1, s = i + 1, l = e[i];
533
536
  if (l === null || l && o == l.key && n === l.type)
534
537
  return i;
@@ -547,15 +550,15 @@ function xo(t, e, i, a) {
547
550
  }
548
551
  return -1;
549
552
  }
550
- function ko(t, e, i, a, o) {
553
+ function Eo(t, e, i, a, o) {
551
554
  var n;
552
555
  for (n in i)
553
556
  n === "children" || n === "key" || n in e || Wt(t, n, null, i[n], a);
554
557
  for (n in e)
555
558
  o && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || i[n] === e[n] || Wt(t, n, e[n], i[n], a);
556
559
  }
557
- function Ze(t, e, i) {
558
- e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || mo.test(e) ? i : i + "px";
560
+ function ei(t, e, i) {
561
+ e[0] === "-" ? t.setProperty(e, i ?? "") : t[e] = i == null ? "" : typeof i != "number" || $o.test(e) ? i : i + "px";
559
562
  }
560
563
  function Wt(t, e, i, a, o) {
561
564
  var n;
@@ -566,13 +569,13 @@ function Wt(t, e, i, a, o) {
566
569
  else {
567
570
  if (typeof a == "string" && (t.style.cssText = a = ""), a)
568
571
  for (e in a)
569
- i && e in i || Ze(t.style, e, "");
572
+ i && e in i || ei(t.style, e, "");
570
573
  if (i)
571
574
  for (e in i)
572
- a && i[e] === a[e] || Ze(t.style, e, i[e]);
575
+ a && i[e] === a[e] || ei(t.style, e, i[e]);
573
576
  }
574
577
  else if (e[0] === "o" && e[1] === "n")
575
- 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 : Xe, n) : t.removeEventListener(e, n ? Je : Xe, n);
578
+ 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 ? ai : ii, n) : t.removeEventListener(e, n ? ai : ii, n);
576
579
  else if (e !== "dangerouslySetInnerHTML") {
577
580
  if (o)
578
581
  e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
@@ -585,54 +588,54 @@ function Wt(t, e, i, a, o) {
585
588
  typeof i == "function" || (i == null || i === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, i));
586
589
  }
587
590
  }
588
- function Xe(t) {
591
+ function ii(t) {
589
592
  return this.l[t.type + !1](w.event ? w.event(t) : t);
590
593
  }
591
- function Je(t) {
594
+ function ai(t) {
592
595
  return this.l[t.type + !0](w.event ? w.event(t) : t);
593
596
  }
594
- function Fe(t, e, i, a, o, n, r, s, l, d) {
595
- var u, c, f, b, h, g, z, k, P, _, v, x, y, R, q, j = e.type;
597
+ function Re(t, e, i, a, o, n, r, s, l, d) {
598
+ var u, c, f, g, h, b, O, k, P, v, _, x, y, q, R, j = e.type;
596
599
  if (e.constructor !== void 0)
597
600
  return null;
598
601
  i.__h != null && (l = i.__h, s = e.__e = i.__e, e.__h = null, n = [s]), (u = w.__b) && u(e);
599
602
  try {
600
603
  t:
601
604
  if (typeof j == "function") {
602
- if (k = e.props, P = (u = j.contextType) && a[u.__c], _ = u ? P ? P.props.value : u.__ : a, i.__c ? z = (c = e.__c = i.__c).__ = c.__E : ("prototype" in j && j.prototype.render ? e.__c = c = new j(k, _) : (e.__c = c = new V(k, _), c.constructor = j, c.render = So), P && P.sub(c), c.props = k, c.state || (c.state = {}), c.context = _, c.__n = a, f = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), j.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Q({}, c.__s)), Q(c.__s, j.getDerivedStateFromProps(k, c.__s))), b = c.props, h = c.state, c.__v = e, f)
605
+ if (k = e.props, P = (u = j.contextType) && a[u.__c], v = u ? P ? P.props.value : u.__ : a, i.__c ? O = (c = e.__c = i.__c).__ = c.__E : ("prototype" in j && j.prototype.render ? e.__c = c = new j(k, v) : (e.__c = c = new V(k, v), c.constructor = j, c.render = To), P && P.sub(c), c.props = k, c.state || (c.state = {}), c.context = v, c.__n = a, f = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), j.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Q({}, c.__s)), Q(c.__s, j.getDerivedStateFromProps(k, c.__s))), g = c.props, h = c.state, c.__v = e, f)
603
606
  j.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
604
607
  else {
605
- if (j.getDerivedStateFromProps == null && k !== b && c.componentWillReceiveProps != null && c.componentWillReceiveProps(k, _), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(k, c.__s, _) === !1 || e.__v === i.__v)) {
608
+ if (j.getDerivedStateFromProps == null && k !== g && c.componentWillReceiveProps != null && c.componentWillReceiveProps(k, v), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(k, c.__s, v) === !1 || e.__v === i.__v)) {
606
609
  for (e.__v !== i.__v && (c.props = k, c.state = c.__s, c.__d = !1), e.__e = i.__e, e.__k = i.__k, e.__k.forEach(function(rt) {
607
610
  rt && (rt.__ = e);
608
- }), v = 0; v < c._sb.length; v++)
609
- c.__h.push(c._sb[v]);
611
+ }), _ = 0; _ < c._sb.length; _++)
612
+ c.__h.push(c._sb[_]);
610
613
  c._sb = [], c.__h.length && r.push(c);
611
614
  break t;
612
615
  }
613
- c.componentWillUpdate != null && c.componentWillUpdate(k, c.__s, _), c.componentDidUpdate != null && c.__h.push(function() {
614
- c.componentDidUpdate(b, h, g);
616
+ c.componentWillUpdate != null && c.componentWillUpdate(k, c.__s, v), c.componentDidUpdate != null && c.__h.push(function() {
617
+ c.componentDidUpdate(g, h, b);
615
618
  });
616
619
  }
617
- if (c.context = _, c.props = k, c.__P = t, c.__e = !1, x = w.__r, y = 0, "prototype" in j && j.prototype.render) {
618
- for (c.state = c.__s, c.__d = !1, x && x(e), u = c.render(c.props, c.state, c.context), R = 0; R < c._sb.length; R++)
619
- c.__h.push(c._sb[R]);
620
+ if (c.context = v, c.props = k, c.__P = t, c.__e = !1, x = w.__r, y = 0, "prototype" in j && j.prototype.render) {
621
+ for (c.state = c.__s, c.__d = !1, x && x(e), u = c.render(c.props, c.state, c.context), q = 0; q < c._sb.length; q++)
622
+ c.__h.push(c._sb[q]);
620
623
  c._sb = [];
621
624
  } else
622
625
  do
623
626
  c.__d = !1, x && x(e), u = c.render(c.props, c.state, c.context), c.state = c.__s;
624
627
  while (c.__d && ++y < 25);
625
- c.state = c.__s, c.getChildContext != null && (a = Q(Q({}, a), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (g = c.getSnapshotBeforeUpdate(b, h)), Qi(t, Zt(q = u != null && u.type === K && u.key == null ? u.props.children : u) ? q : [q], e, i, a, o, n, r, s, l, d), c.base = e.__e, e.__h = null, c.__h.length && r.push(c), z && (c.__E = c.__ = null);
628
+ c.state = c.__s, c.getChildContext != null && (a = Q(Q({}, a), c.getChildContext())), f || c.getSnapshotBeforeUpdate == null || (b = c.getSnapshotBeforeUpdate(g, h)), aa(t, Zt(R = u != null && u.type === K && u.key == null ? u.props.children : u) ? R : [R], e, i, a, o, n, r, s, l, d), c.base = e.__e, e.__h = null, c.__h.length && r.push(c), O && (c.__E = c.__ = null);
626
629
  } else
627
- n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = $o(i.__e, e, i, a, o, n, r, l, d);
630
+ n == null && e.__v === i.__v ? (e.__k = i.__k, e.__e = i.__e) : e.__e = Po(i.__e, e, i, a, o, n, r, l, d);
628
631
  (u = w.diffed) && u(e);
629
632
  } catch (rt) {
630
633
  e.__v = null, (l || n != null) && (e.__e = s, e.__h = !!l, n[n.indexOf(s)] = null), w.__e(rt, e, i);
631
634
  }
632
635
  }
633
- function ia(t, e, i) {
636
+ function ra(t, e, i) {
634
637
  for (var a = 0; a < i.length; a++)
635
- Me(i[a], i[++a], i[++a]);
638
+ Le(i[a], i[++a], i[++a]);
636
639
  w.__c && w.__c(e, t), t.some(function(o) {
637
640
  try {
638
641
  t = o.__h, o.__h = [], t.some(function(n) {
@@ -643,48 +646,48 @@ function ia(t, e, i) {
643
646
  }
644
647
  });
645
648
  }
646
- function $o(t, e, i, a, o, n, r, s, l) {
647
- var d, u, c, f = i.props, b = e.props, h = e.type, g = 0;
649
+ function Po(t, e, i, a, o, n, r, s, l) {
650
+ var d, u, c, f = i.props, g = e.props, h = e.type, b = 0;
648
651
  if (h === "svg" && (o = !0), n != null) {
649
- for (; g < n.length; g++)
650
- if ((d = n[g]) && "setAttribute" in d == !!h && (h ? d.localName === h : d.nodeType === 3)) {
651
- t = d, n[g] = null;
652
+ for (; b < n.length; b++)
653
+ if ((d = n[b]) && "setAttribute" in d == !!h && (h ? d.localName === h : d.nodeType === 3)) {
654
+ t = d, n[b] = null;
652
655
  break;
653
656
  }
654
657
  }
655
658
  if (t == null) {
656
659
  if (h === null)
657
- return document.createTextNode(b);
658
- t = o ? document.createElementNS("http://www.w3.org/2000/svg", h) : document.createElement(h, b.is && b), n = null, s = !1;
660
+ return document.createTextNode(g);
661
+ t = o ? document.createElementNS("http://www.w3.org/2000/svg", h) : document.createElement(h, g.is && g), n = null, s = !1;
659
662
  }
660
663
  if (h === null)
661
- f === b || s && t.data === b || (t.data = b);
664
+ f === g || s && t.data === g || (t.data = g);
662
665
  else {
663
- if (n = n && jt.call(t.childNodes), u = (f = i.props || wt).dangerouslySetInnerHTML, c = b.dangerouslySetInnerHTML, !s) {
666
+ if (n = n && jt.call(t.childNodes), u = (f = i.props || wt).dangerouslySetInnerHTML, c = g.dangerouslySetInnerHTML, !s) {
664
667
  if (n != null)
665
- for (f = {}, g = 0; g < t.attributes.length; g++)
666
- f[t.attributes[g].name] = t.attributes[g].value;
668
+ for (f = {}, b = 0; b < t.attributes.length; b++)
669
+ f[t.attributes[b].name] = t.attributes[b].value;
667
670
  (c || u) && (c && (u && c.__html == u.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
668
671
  }
669
- if (ko(t, b, f, o, s), c)
672
+ if (Eo(t, g, f, o, s), c)
670
673
  e.__k = [];
671
- else if (Qi(t, Zt(g = e.props.children) ? g : [g], e, i, a, o && h !== "foreignObject", n, r, n ? n[0] : i.__k && Ht(i, 0), s, l), n != null)
672
- for (g = n.length; g--; )
673
- n[g] != null && Xi(n[g]);
674
- s || ("value" in b && (g = b.value) !== void 0 && (g !== t.value || h === "progress" && !g || h === "option" && g !== f.value) && Wt(t, "value", g, f.value, !1), "checked" in b && (g = b.checked) !== void 0 && g !== t.checked && Wt(t, "checked", g, f.checked, !1));
674
+ else if (aa(t, Zt(b = e.props.children) ? b : [b], e, i, a, o && h !== "foreignObject", n, r, n ? n[0] : i.__k && Ht(i, 0), s, l), n != null)
675
+ for (b = n.length; b--; )
676
+ n[b] != null && ea(n[b]);
677
+ s || ("value" in g && (b = g.value) !== void 0 && (b !== t.value || h === "progress" && !b || h === "option" && b !== f.value) && Wt(t, "value", b, f.value, !1), "checked" in g && (b = g.checked) !== void 0 && b !== t.checked && Wt(t, "checked", b, f.checked, !1));
675
678
  }
676
679
  return t;
677
680
  }
678
- function Me(t, e, i) {
681
+ function Le(t, e, i) {
679
682
  try {
680
683
  typeof t == "function" ? t(e) : t.current = e;
681
684
  } catch (a) {
682
685
  w.__e(a, i);
683
686
  }
684
687
  }
685
- function aa(t, e, i) {
688
+ function sa(t, e, i) {
686
689
  var a, o;
687
- if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || Me(a, null, e)), (a = t.__c) != null) {
690
+ if (w.unmount && w.unmount(t), (a = t.ref) && (a.current && a.current !== t.__e || Le(a, null, e)), (a = t.__c) != null) {
688
691
  if (a.componentWillUnmount)
689
692
  try {
690
693
  a.componentWillUnmount();
@@ -695,27 +698,27 @@ function aa(t, e, i) {
695
698
  }
696
699
  if (a = t.__k)
697
700
  for (o = 0; o < a.length; o++)
698
- a[o] && aa(a[o], e, i || typeof t.type != "function");
699
- i || t.__e == null || Xi(t.__e), t.__ = t.__e = t.__d = void 0;
701
+ a[o] && sa(a[o], e, i || typeof t.type != "function");
702
+ i || t.__e == null || ea(t.__e), t.__ = t.__e = t.__d = void 0;
700
703
  }
701
- function So(t, e, i) {
704
+ function To(t, e, i) {
702
705
  return this.constructor(t, i);
703
706
  }
704
707
  function ut(t, e, i) {
705
708
  var a, o, n, r;
706
- w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Fe(e, t = (!a && i || e).__k = L(K, null, [t]), o || wt, wt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? jt.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), ia(n, t, r);
709
+ w.__ && w.__(t, e), o = (a = typeof i == "function") ? null : i && i.__k || e.__k, n = [], r = [], Re(e, t = (!a && i || e).__k = B(K, null, [t]), o || wt, wt, e.ownerSVGElement !== void 0, !a && i ? [i] : o ? null : e.firstChild ? jt.call(e.childNodes) : null, n, !a && i ? i : o ? o.__e : e.firstChild, a, r), ra(n, t, r);
707
710
  }
708
- function oa(t, e) {
709
- ut(t, e, oa);
711
+ function la(t, e) {
712
+ ut(t, e, la);
710
713
  }
711
- function Co(t, e, i) {
714
+ function Io(t, e, i) {
712
715
  var a, o, n, r, s = Q({}, t.props);
713
716
  for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e)
714
717
  n == "key" ? a = e[n] : n == "ref" ? o = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
715
- return arguments.length > 2 && (s.children = arguments.length > 3 ? jt.call(arguments, 2) : i), $t(t.type, s, a || t.key, o || t.ref, null);
718
+ return arguments.length > 2 && (s.children = arguments.length > 3 ? jt.call(arguments, 2) : i), Ct(t.type, s, a || t.key, o || t.ref, null);
716
719
  }
717
- function na(t, e) {
718
- var i = { __c: e = "__cC" + Gi++, __: t, Consumer: function(a, o) {
720
+ function ca(t, e) {
721
+ var i = { __c: e = "__cC" + Qi++, __: t, Consumer: function(a, o) {
719
722
  return a.children(o);
720
723
  }, Provider: function(a) {
721
724
  var o, n;
@@ -735,7 +738,7 @@ function na(t, e) {
735
738
  } };
736
739
  return i.Provider.__ = i.Consumer.contextType = i;
737
740
  }
738
- jt = Zi.slice, w = { __e: function(t, e, i, a) {
741
+ jt = ta.slice, w = { __e: function(t, e, i, a) {
739
742
  for (var o, n, r; e = e.__; )
740
743
  if ((o = e.__c) && !o.__)
741
744
  try {
@@ -745,1270 +748,1271 @@ jt = Zi.slice, w = { __e: function(t, e, i, a) {
745
748
  t = s;
746
749
  }
747
750
  throw t;
748
- } }, Yi = 0, Ki = function(t) {
751
+ } }, Zi = 0, Xi = function(t) {
749
752
  return t != null && t.constructor === void 0;
750
753
  }, V.prototype.setState = function(t, e) {
751
754
  var i;
752
755
  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));
753
756
  }, V.prototype.forceUpdate = function(t) {
754
757
  this.__v && (this.__e = !0, t && this.__h.push(t), fe(this));
755
- }, V.prototype.render = K, lt = [], qi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, he = function(t, e) {
758
+ }, V.prototype.render = K, lt = [], Ji = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, he = function(t, e) {
756
759
  return t.__v.__b - e.__v.__b;
757
- }, Ut.__r = 0, Gi = 0;
758
- const N = Symbol.for("@ts-pattern/matcher"), ra = Symbol.for("@ts-pattern/isVariadic"), Vt = "@ts-pattern/anonymous-select-key", we = (t) => !!(t && typeof t == "object"), Ot = (t) => t && !!t[N], T = (t, e, i) => {
759
- if (Ot(t)) {
760
- const a = t[N](), { matched: o, selections: n } = a.match(e);
761
- return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
762
- }
763
- if (we(t)) {
764
- if (!we(e))
765
- return !1;
766
- if (Array.isArray(t)) {
767
- if (!Array.isArray(e))
768
- return !1;
769
- let a = [], o = [], n = [];
770
- for (const r of t.keys()) {
771
- const s = t[r];
772
- Ot(s) && s[ra] ? n.push(s) : n.length ? o.push(s) : a.push(s);
773
- }
774
- if (n.length) {
775
- if (n.length > 1)
776
- throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
777
- if (e.length < a.length + o.length)
778
- return !1;
779
- const r = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), l = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
780
- return a.every((d, u) => T(d, r[u], i)) && o.every((d, u) => T(d, s[u], i)) && (n.length === 0 || T(n[0], l, i));
760
+ }, Ut.__r = 0, Qi = 0;
761
+ var nt, E, ie, oi, vt = 0, da = [], Dt = [], ni = w.__b, ri = w.__r, si = w.diffed, li = w.__c, ci = w.unmount;
762
+ function mt(t, e) {
763
+ w.__h && w.__h(E, t, vt || e), vt = 0;
764
+ var i = E.__H || (E.__H = { __: [], __h: [] });
765
+ return t >= i.__.length && i.__.push({ __V: Dt }), i.__[t];
766
+ }
767
+ function ua(t) {
768
+ return vt = 1, pa(fa, t);
769
+ }
770
+ function pa(t, e, i) {
771
+ var a = mt(nt++, 2);
772
+ if (a.t = t, !a.__c && (a.__ = [i ? i(e) : fa(void 0, e), function(s) {
773
+ var l = a.__N ? a.__N[0] : a.__[0], d = a.t(l, s);
774
+ l !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
775
+ }], a.__c = E, !E.u)) {
776
+ var o = function(s, l, d) {
777
+ if (!a.__c.__H)
778
+ return !0;
779
+ var u = a.__c.__H.__.filter(function(f) {
780
+ return f.__c;
781
+ });
782
+ if (u.every(function(f) {
783
+ return !f.__N;
784
+ }))
785
+ return !n || n.call(this, s, l, d);
786
+ var c = !1;
787
+ return u.forEach(function(f) {
788
+ if (f.__N) {
789
+ var g = f.__[0];
790
+ f.__ = f.__N, f.__N = void 0, g !== f.__[0] && (c = !0);
791
+ }
792
+ }), !(!c && a.__c.props === s) && (!n || n.call(this, s, l, d));
793
+ };
794
+ E.u = !0;
795
+ var n = E.shouldComponentUpdate, r = E.componentWillUpdate;
796
+ E.componentWillUpdate = function(s, l, d) {
797
+ if (this.__e) {
798
+ var u = n;
799
+ n = void 0, o(s, l, d), n = u;
781
800
  }
782
- return t.length === e.length && t.every((r, s) => T(r, e[s], i));
783
- }
784
- return Reflect.ownKeys(t).every((a) => {
785
- const o = t[a];
786
- return (a in e || Ot(n = o) && n[N]().matcherType === "optional") && T(o, e[a], i);
787
- var n;
788
- });
789
- }
790
- return Object.is(e, t);
791
- }, O = (t) => {
792
- var e, i, a;
793
- return we(t) ? Ot(t) ? (e = (i = (a = t[N]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? Tt(t, O) : Tt(Object.values(t), O) : [];
794
- }, Tt = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
795
- function sa(...t) {
796
- if (t.length === 1) {
797
- const [e] = t;
798
- return (i) => T(e, i, () => {
799
- });
800
- }
801
- if (t.length === 2) {
802
- const [e, i] = t;
803
- return T(e, i, () => {
804
- });
801
+ r && r.call(this, s, l, d);
802
+ }, E.shouldComponentUpdate = o;
805
803
  }
806
- throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
807
- }
808
- function A(t) {
809
- return Object.assign(t, { optional: () => Re(t), and: (e) => C(t, e), or: (e) => la(t, e), select: (e) => e === void 0 ? It(t) : It(e, t) });
804
+ return a.__N || a.__;
810
805
  }
811
- function ge(t) {
812
- return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
813
- let i = 0;
814
- const a = [{ value: Object.assign(e, { [ra]: !0 }), done: !1 }, { done: !0, value: void 0 }];
815
- return { next: () => {
816
- var o;
817
- return (o = a[i++]) != null ? o : a.at(-1);
818
- } };
819
- } }))(t), { optional: () => ge(Re(t)), select: (e) => ge(e === void 0 ? It(t) : It(e, t)) });
806
+ function Be(t, e) {
807
+ var i = mt(nt++, 3);
808
+ !w.__s && He(i.__H, e) && (i.__ = t, i.i = e, E.__H.__h.push(i));
820
809
  }
821
- function Re(t) {
822
- return A({ [N]: () => ({ match: (e) => {
823
- let i = {};
824
- const a = (o, n) => {
825
- i[o] = n;
826
- };
827
- return e === void 0 ? (O(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: T(t, e, a), selections: i };
828
- }, getSelectionKeys: () => O(t), matcherType: "optional" }) });
810
+ function yt(t, e) {
811
+ var i = mt(nt++, 4);
812
+ !w.__s && He(i.__H, e) && (i.__ = t, i.i = e, E.__h.push(i));
829
813
  }
830
- const Eo = (t, e) => {
831
- for (const i of t)
832
- if (!e(i))
833
- return !1;
834
- return !0;
835
- }, Po = (t, e) => {
836
- for (const [i, a] of t.entries())
837
- if (!e(a, i))
838
- return !1;
839
- return !0;
840
- }, To = (t, e) => {
841
- const i = Reflect.ownKeys(t);
842
- for (const a of i)
843
- if (!e(a, t[a]))
844
- return !1;
845
- return !0;
846
- };
847
- function C(...t) {
848
- return A({ [N]: () => ({ match: (e) => {
849
- let i = {};
850
- const a = (o, n) => {
851
- i[o] = n;
852
- };
853
- return { matched: t.every((o) => T(o, e, a)), selections: i };
854
- }, getSelectionKeys: () => Tt(t, O), matcherType: "and" }) });
814
+ function _t(t) {
815
+ return vt = 5, pt(function() {
816
+ return { current: t };
817
+ }, []);
855
818
  }
856
- function la(...t) {
857
- return A({ [N]: () => ({ match: (e) => {
858
- let i = {};
859
- const a = (o, n) => {
860
- i[o] = n;
861
- };
862
- return Tt(t, O).forEach((o) => a(o, void 0)), { matched: t.some((o) => T(o, e, a)), selections: i };
863
- }, getSelectionKeys: () => Tt(t, O), matcherType: "or" }) });
819
+ function Ao(t, e, i) {
820
+ vt = 6, yt(function() {
821
+ return typeof t == "function" ? (t(e()), function() {
822
+ return t(null);
823
+ }) : t ? (t.current = e(), function() {
824
+ return t.current = null;
825
+ }) : void 0;
826
+ }, i == null ? i : i.concat(t));
864
827
  }
865
- function m(t) {
866
- return { [N]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
828
+ function pt(t, e) {
829
+ var i = mt(nt++, 7);
830
+ return He(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
867
831
  }
868
- function It(...t) {
869
- const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
870
- return A({ [N]: () => ({ match: (a) => {
871
- let o = { [e ?? Vt]: a };
872
- return { matched: i === void 0 || T(i, a, (n, r) => {
873
- o[n] = r;
874
- }), selections: o };
875
- }, getSelectionKeys: () => [e ?? Vt].concat(i === void 0 ? [] : O(i)) }) });
832
+ function jo(t, e) {
833
+ return vt = 8, pt(function() {
834
+ return t;
835
+ }, e);
876
836
  }
877
- function ca(t) {
878
- return !0;
837
+ function ha(t) {
838
+ var e = E.context[t.__c], i = mt(nt++, 9);
839
+ return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(E)), e.props.value) : t.__;
879
840
  }
880
- function G(t) {
881
- return typeof t == "number";
841
+ function Oo(t, e) {
842
+ w.useDebugValue && w.useDebugValue(e ? e(t) : t);
882
843
  }
883
- function et(t) {
884
- return typeof t == "string";
844
+ function zo() {
845
+ var t = mt(nt++, 11);
846
+ if (!t.__) {
847
+ for (var e = E.__v; e !== null && !e.__m && e.__ !== null; )
848
+ e = e.__;
849
+ var i = e.__m || (e.__m = [0, 0]);
850
+ t.__ = "P" + i[0] + "-" + i[1]++;
851
+ }
852
+ return t.__;
885
853
  }
886
- function it(t) {
887
- return typeof t == "bigint";
854
+ function Do() {
855
+ for (var t; t = da.shift(); )
856
+ if (t.__P && t.__H)
857
+ try {
858
+ t.__H.__h.forEach(Nt), t.__H.__h.forEach(we), t.__H.__h = [];
859
+ } catch (e) {
860
+ t.__H.__h = [], w.__e(e, t.__v);
861
+ }
888
862
  }
889
- const da = A(m(ca)), Io = A(m(ca)), Ao = da, at = (t) => Object.assign(A(t), { startsWith: (e) => {
890
- return at(C(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
891
- var i;
892
- }, endsWith: (e) => {
893
- return at(C(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
894
- var i;
895
- }, minLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(C(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
896
- return at(C(t, (i = e, m((a) => et(a) && a.includes(i)))));
897
- var i;
898
- }, regex: (e) => {
899
- return at(C(t, (i = e, m((a) => et(a) && !!a.match(i)))));
900
- var i;
901
- } }), Qe = at(m(et)), Z = (t) => Object.assign(A(t), { between: (e, i) => Z(C(t, ((a, o) => m((n) => G(n) && a <= n && o >= n))(e, i))), lt: (e) => Z(C(t, ((i) => m((a) => G(a) && a < i))(e))), gt: (e) => Z(C(t, ((i) => m((a) => G(a) && a > i))(e))), lte: (e) => Z(C(t, ((i) => m((a) => G(a) && a <= i))(e))), gte: (e) => Z(C(t, ((i) => m((a) => G(a) && a >= i))(e))), int: () => Z(C(t, m((e) => G(e) && Number.isInteger(e)))), finite: () => Z(C(t, m((e) => G(e) && Number.isFinite(e)))), positive: () => Z(C(t, m((e) => G(e) && e > 0))), negative: () => Z(C(t, m((e) => G(e) && e < 0))) }), jo = Z(m(G)), ot = (t) => Object.assign(A(t), { between: (e, i) => ot(C(t, ((a, o) => m((n) => it(n) && a <= n && o >= n))(e, i))), lt: (e) => ot(C(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(C(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(C(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(C(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(C(t, m((e) => it(e) && e > 0))), negative: () => ot(C(t, m((e) => it(e) && e < 0))) }), zo = ot(m(it)), Do = A(m(function(t) {
902
- return typeof t == "boolean";
903
- })), Oo = A(m(function(t) {
904
- return typeof t == "symbol";
905
- })), No = A(m(function(t) {
906
- return t == null;
907
- })), Fo = A(m(function(t) {
908
- return t != null;
909
- }));
910
- var ft = { __proto__: null, matcher: N, optional: Re, array: function(...t) {
911
- return ge({ [N]: () => ({ match: (e) => {
912
- if (!Array.isArray(e))
913
- return { matched: !1 };
914
- if (t.length === 0)
915
- return { matched: !0 };
916
- const i = t[0];
917
- let a = {};
918
- if (e.length === 0)
919
- return O(i).forEach((n) => {
920
- a[n] = [];
921
- }), { matched: !0, selections: a };
922
- const o = (n, r) => {
923
- a[n] = (a[n] || []).concat([r]);
924
- };
925
- return { matched: e.every((n) => T(i, n, o)), selections: a };
926
- }, getSelectionKeys: () => t.length === 0 ? [] : O(t[0]) }) });
927
- }, set: function(...t) {
928
- return A({ [N]: () => ({ match: (e) => {
929
- if (!(e instanceof Set))
930
- return { matched: !1 };
931
- let i = {};
932
- if (e.size === 0)
933
- return { matched: !0, selections: i };
934
- if (t.length === 0)
935
- return { matched: !0 };
936
- const a = (n, r) => {
937
- i[n] = (i[n] || []).concat([r]);
938
- }, o = t[0];
939
- return { matched: Eo(e, (n) => T(o, n, a)), selections: i };
940
- }, getSelectionKeys: () => t.length === 0 ? [] : O(t[0]) }) });
941
- }, map: function(...t) {
942
- return A({ [N]: () => ({ match: (e) => {
943
- if (!(e instanceof Map))
944
- return { matched: !1 };
945
- let i = {};
946
- if (e.size === 0)
947
- return { matched: !0, selections: i };
948
- const a = (s, l) => {
949
- i[s] = (i[s] || []).concat([l]);
950
- };
951
- if (t.length === 0)
952
- return { matched: !0 };
953
- var o;
954
- if (t.length === 1)
955
- throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
956
- const [n, r] = t;
957
- return { matched: Po(e, (s, l) => {
958
- const d = T(n, l, a), u = T(r, s, a);
959
- return d && u;
960
- }), selections: i };
961
- }, getSelectionKeys: () => t.length === 0 ? [] : [...O(t[0]), ...O(t[1])] }) });
962
- }, record: function(...t) {
963
- return A({ [N]: () => ({ match: (e) => {
964
- if (e === null || typeof e != "object" || Array.isArray(e))
965
- return { matched: !1 };
966
- var i;
967
- if (t.length === 0)
968
- throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(i = t[0]) == null ? void 0 : i.toString()}`);
969
- let a = {};
970
- const o = (s, l) => {
971
- a[s] = (a[s] || []).concat([l]);
972
- }, [n, r] = t.length === 1 ? [Qe, t[0]] : t;
973
- return { matched: To(e, (s, l) => {
974
- const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && T(n, d, o), c = T(n, s, o), f = T(r, l, o);
975
- return (c || u) && f;
976
- }), selections: a };
977
- }, getSelectionKeys: () => t.length === 0 ? [] : [...O(t[0]), ...O(t[1])] }) });
978
- }, intersection: C, union: la, not: function(t) {
979
- return A({ [N]: () => ({ match: (e) => ({ matched: !T(t, e, () => {
980
- }) }), getSelectionKeys: () => [], matcherType: "not" }) });
981
- }, when: m, select: It, any: da, unknown: Io, _: Ao, string: Qe, number: jo, bigint: zo, boolean: Do, symbol: Oo, nullish: No, nonNullable: Fo, instanceOf: function(t) {
982
- return A(m(function(e) {
983
- return (i) => i instanceof e;
984
- }(t)));
985
- }, shape: function(t) {
986
- return A(m(sa(t)));
987
- } };
988
- let Mo = class extends Error {
989
- constructor(e) {
990
- let i;
863
+ w.__b = function(t) {
864
+ E = null, ni && ni(t);
865
+ }, w.__r = function(t) {
866
+ ri && ri(t), nt = 0;
867
+ var e = (E = t.__c).__H;
868
+ e && (ie === E ? (e.__h = [], E.__h = [], e.__.forEach(function(i) {
869
+ i.__N && (i.__ = i.__N), i.__V = Dt, i.__N = i.i = void 0;
870
+ })) : (e.__h.forEach(Nt), e.__h.forEach(we), e.__h = [], nt = 0)), ie = E;
871
+ }, w.diffed = function(t) {
872
+ si && si(t);
873
+ var e = t.__c;
874
+ e && e.__H && (e.__H.__h.length && (da.push(e) !== 1 && oi === w.requestAnimationFrame || ((oi = w.requestAnimationFrame) || No)(Do)), e.__H.__.forEach(function(i) {
875
+ i.i && (i.__H = i.i), i.__V !== Dt && (i.__ = i.__V), i.i = void 0, i.__V = Dt;
876
+ })), ie = E = null;
877
+ }, w.__c = function(t, e) {
878
+ e.some(function(i) {
991
879
  try {
992
- i = JSON.stringify(e);
993
- } catch {
994
- i = e;
880
+ i.__h.forEach(Nt), i.__h = i.__h.filter(function(a) {
881
+ return !a.__ || we(a);
882
+ });
883
+ } catch (a) {
884
+ e.some(function(o) {
885
+ o.__h && (o.__h = []);
886
+ }), e = [], w.__e(a, i.__v);
995
887
  }
996
- super(`Pattern matching error: no pattern matches value ${i}`), this.input = void 0, this.input = e;
997
- }
888
+ }), li && li(t, e);
889
+ }, w.unmount = function(t) {
890
+ ci && ci(t);
891
+ var e, i = t.__c;
892
+ i && i.__H && (i.__H.__.forEach(function(a) {
893
+ try {
894
+ Nt(a);
895
+ } catch (o) {
896
+ e = o;
897
+ }
898
+ }), i.__H = void 0, e && w.__e(e, i.__v));
998
899
  };
999
- const be = { matched: !1, value: void 0 };
1000
- function Le(t) {
1001
- return new Ro(t, be);
1002
- }
1003
- let Ro = class ve {
1004
- constructor(e, i) {
1005
- this.input = void 0, this.state = void 0, this.input = e, this.state = i;
1006
- }
1007
- with(...e) {
1008
- if (this.state.matched)
1009
- return this;
1010
- const i = e[e.length - 1], a = [e[0]];
1011
- let o;
1012
- e.length === 3 && typeof e[1] == "function" ? o = e[1] : e.length > 2 && a.push(...e.slice(1, e.length - 1));
1013
- let n = !1, r = {};
1014
- const s = (d, u) => {
1015
- n = !0, r[d] = u;
1016
- }, l = !a.some((d) => T(d, this.input, s)) || o && !o(this.input) ? be : { matched: !0, value: i(n ? Vt in r ? r[Vt] : r : this.input, this.input) };
1017
- return new ve(this.input, l);
1018
- }
1019
- when(e, i) {
1020
- if (this.state.matched)
1021
- return this;
1022
- const a = !!e(this.input);
1023
- return new ve(this.input, a ? { matched: !0, value: i(this.input, this.input) } : be);
1024
- }
1025
- otherwise(e) {
1026
- return this.state.matched ? this.state.value : e(this.input);
1027
- }
1028
- exhaustive(e = Lo) {
1029
- return this.state.matched ? this.state.value : e(this.input);
1030
- }
1031
- run() {
1032
- return this.exhaustive();
1033
- }
1034
- returnType() {
1035
- return this;
1036
- }
1037
- narrow() {
1038
- return this;
1039
- }
1040
- };
1041
- function Lo(t) {
1042
- throw new Mo(t);
1043
- }
1044
- function ua(t) {
1045
- var e, i, a = "";
1046
- if (typeof t == "string" || typeof t == "number")
1047
- a += t;
1048
- else if (typeof t == "object")
1049
- if (Array.isArray(t)) {
1050
- var o = t.length;
1051
- for (e = 0; e < o; e++)
1052
- t[e] && (i = ua(t[e])) && (a && (a += " "), a += i);
1053
- } else
1054
- for (i in t)
1055
- t[i] && (a && (a += " "), a += i);
1056
- return a;
1057
- }
1058
- function Be() {
1059
- for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
1060
- (t = arguments[i]) && (e = ua(t)) && (a && (a += " "), a += e);
1061
- return a;
1062
- }
1063
- const ti = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ei = Be, He = (t, e) => (i) => {
1064
- var a;
1065
- if ((e == null ? void 0 : e.variants) == null)
1066
- return ei(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
1067
- const { variants: o, defaultVariants: n } = e, r = Object.keys(o).map((d) => {
1068
- const u = i == null ? void 0 : i[d], c = n == null ? void 0 : n[d];
1069
- if (u === null)
1070
- return null;
1071
- const f = ti(u) || ti(c);
1072
- return o[d][f];
1073
- }), s = i && Object.entries(i).reduce((d, u) => {
1074
- let [c, f] = u;
1075
- return f === void 0 || (d[c] = f), d;
1076
- }, {}), l = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
1077
- let { class: c, className: f, ...b } = u;
1078
- return Object.entries(b).every((h) => {
1079
- let [g, z] = h;
1080
- return Array.isArray(z) ? z.includes({
1081
- ...n,
1082
- ...s
1083
- }[g]) : {
1084
- ...n,
1085
- ...s
1086
- }[g] === z;
1087
- }) ? [
1088
- ...d,
1089
- c,
1090
- f
1091
- ] : d;
1092
- }, []);
1093
- return ei(t, r, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
1094
- };
1095
- var nt, E, ie, ii, bt = 0, pa = [], Nt = [], ai = w.__b, oi = w.__r, ni = w.diffed, ri = w.__c, si = w.unmount;
1096
- function vt(t, e) {
1097
- w.__h && w.__h(E, t, bt || e), bt = 0;
1098
- var i = E.__H || (E.__H = { __: [], __h: [] });
1099
- return t >= i.__.length && i.__.push({ __V: Nt }), i.__[t];
1100
- }
1101
- function ha(t) {
1102
- return bt = 1, fa(ba, t);
1103
- }
1104
- function fa(t, e, i) {
1105
- var a = vt(nt++, 2);
1106
- if (a.t = t, !a.__c && (a.__ = [i ? i(e) : ba(void 0, e), function(s) {
1107
- var l = a.__N ? a.__N[0] : a.__[0], d = a.t(l, s);
1108
- l !== d && (a.__N = [d, a.__[1]], a.__c.setState({}));
1109
- }], a.__c = E, !E.u)) {
1110
- var o = function(s, l, d) {
1111
- if (!a.__c.__H)
1112
- return !0;
1113
- var u = a.__c.__H.__.filter(function(f) {
1114
- return f.__c;
1115
- });
1116
- if (u.every(function(f) {
1117
- return !f.__N;
1118
- }))
1119
- return !n || n.call(this, s, l, d);
1120
- var c = !1;
1121
- return u.forEach(function(f) {
1122
- if (f.__N) {
1123
- var b = f.__[0];
1124
- f.__ = f.__N, f.__N = void 0, b !== f.__[0] && (c = !0);
1125
- }
1126
- }), !(!c && a.__c.props === s) && (!n || n.call(this, s, l, d));
1127
- };
1128
- E.u = !0;
1129
- var n = E.shouldComponentUpdate, r = E.componentWillUpdate;
1130
- E.componentWillUpdate = function(s, l, d) {
1131
- if (this.__e) {
1132
- var u = n;
1133
- n = void 0, o(s, l, d), n = u;
1134
- }
1135
- r && r.call(this, s, l, d);
1136
- }, E.shouldComponentUpdate = o;
1137
- }
1138
- return a.__N || a.__;
1139
- }
1140
- function wa(t, e) {
1141
- var i = vt(nt++, 3);
1142
- !w.__s && Ue(i.__H, e) && (i.__ = t, i.i = e, E.__H.__h.push(i));
1143
- }
1144
- function _t(t, e) {
1145
- var i = vt(nt++, 4);
1146
- !w.__s && Ue(i.__H, e) && (i.__ = t, i.i = e, E.__h.push(i));
1147
- }
1148
- function At(t) {
1149
- return bt = 5, pt(function() {
1150
- return { current: t };
1151
- }, []);
1152
- }
1153
- function Bo(t, e, i) {
1154
- bt = 6, _t(function() {
1155
- return typeof t == "function" ? (t(e()), function() {
1156
- return t(null);
1157
- }) : t ? (t.current = e(), function() {
1158
- return t.current = null;
1159
- }) : void 0;
1160
- }, i == null ? i : i.concat(t));
1161
- }
1162
- function pt(t, e) {
1163
- var i = vt(nt++, 7);
1164
- return Ue(i.__H, e) ? (i.__V = t(), i.i = e, i.__h = t, i.__V) : i.__;
1165
- }
1166
- function Ho(t, e) {
1167
- return bt = 8, pt(function() {
1168
- return t;
1169
- }, e);
1170
- }
1171
- function ga(t) {
1172
- var e = E.context[t.__c], i = vt(nt++, 9);
1173
- return i.c = t, e ? (i.__ == null && (i.__ = !0, e.sub(E)), e.props.value) : t.__;
1174
- }
1175
- function Uo(t, e) {
1176
- w.useDebugValue && w.useDebugValue(e ? e(t) : t);
1177
- }
1178
- function Wo() {
1179
- var t = vt(nt++, 11);
1180
- if (!t.__) {
1181
- for (var e = E.__v; e !== null && !e.__m && e.__ !== null; )
1182
- e = e.__;
1183
- var i = e.__m || (e.__m = [0, 0]);
1184
- t.__ = "P" + i[0] + "-" + i[1]++;
1185
- }
1186
- return t.__;
1187
- }
1188
- function Vo() {
1189
- for (var t; t = pa.shift(); )
1190
- if (t.__P && t.__H)
1191
- try {
1192
- t.__H.__h.forEach(Ft), t.__H.__h.forEach(_e), t.__H.__h = [];
1193
- } catch (e) {
1194
- t.__H.__h = [], w.__e(e, t.__v);
1195
- }
1196
- }
1197
- w.__b = function(t) {
1198
- E = null, ai && ai(t);
1199
- }, w.__r = function(t) {
1200
- oi && oi(t), nt = 0;
1201
- var e = (E = t.__c).__H;
1202
- e && (ie === E ? (e.__h = [], E.__h = [], e.__.forEach(function(i) {
1203
- i.__N && (i.__ = i.__N), i.__V = Nt, i.__N = i.i = void 0;
1204
- })) : (e.__h.forEach(Ft), e.__h.forEach(_e), e.__h = [], nt = 0)), ie = E;
1205
- }, w.diffed = function(t) {
1206
- ni && ni(t);
1207
- var e = t.__c;
1208
- e && e.__H && (e.__H.__h.length && (pa.push(e) !== 1 && ii === w.requestAnimationFrame || ((ii = w.requestAnimationFrame) || Yo)(Vo)), e.__H.__.forEach(function(i) {
1209
- i.i && (i.__H = i.i), i.__V !== Nt && (i.__ = i.__V), i.i = void 0, i.__V = Nt;
1210
- })), ie = E = null;
1211
- }, w.__c = function(t, e) {
1212
- e.some(function(i) {
1213
- try {
1214
- i.__h.forEach(Ft), i.__h = i.__h.filter(function(a) {
1215
- return !a.__ || _e(a);
1216
- });
1217
- } catch (a) {
1218
- e.some(function(o) {
1219
- o.__h && (o.__h = []);
1220
- }), e = [], w.__e(a, i.__v);
1221
- }
1222
- }), ri && ri(t, e);
1223
- }, w.unmount = function(t) {
1224
- si && si(t);
1225
- var e, i = t.__c;
1226
- i && i.__H && (i.__H.__.forEach(function(a) {
1227
- try {
1228
- Ft(a);
1229
- } catch (o) {
1230
- e = o;
1231
- }
1232
- }), i.__H = void 0, e && w.__e(e, i.__v));
1233
- };
1234
- var li = typeof requestAnimationFrame == "function";
1235
- function Yo(t) {
900
+ var di = typeof requestAnimationFrame == "function";
901
+ function No(t) {
1236
902
  var e, i = function() {
1237
- clearTimeout(a), li && cancelAnimationFrame(e), setTimeout(t);
903
+ clearTimeout(a), di && cancelAnimationFrame(e), setTimeout(t);
1238
904
  }, a = setTimeout(i, 100);
1239
- li && (e = requestAnimationFrame(i));
905
+ di && (e = requestAnimationFrame(i));
1240
906
  }
1241
- function Ft(t) {
907
+ function Nt(t) {
1242
908
  var e = E, i = t.__c;
1243
909
  typeof i == "function" && (t.__c = void 0, i()), E = e;
1244
910
  }
1245
- function _e(t) {
911
+ function we(t) {
1246
912
  var e = E;
1247
913
  t.__c = t.__(), E = e;
1248
914
  }
1249
- function Ue(t, e) {
915
+ function He(t, e) {
1250
916
  return !t || t.length !== e.length || e.some(function(i, a) {
1251
917
  return i !== t[a];
1252
918
  });
1253
919
  }
1254
- function ba(t, e) {
920
+ function fa(t, e) {
1255
921
  return typeof e == "function" ? e(t) : e;
1256
922
  }
1257
- function va(t, e) {
1258
- for (var i in e)
1259
- t[i] = e[i];
1260
- return t;
1261
- }
1262
- function me(t, e) {
1263
- for (var i in t)
1264
- if (i !== "__source" && !(i in e))
1265
- return !0;
1266
- for (var a in e)
1267
- if (a !== "__source" && t[a] !== e[a])
1268
- return !0;
1269
- return !1;
1270
- }
1271
- function ae(t, e) {
1272
- return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
1273
- }
1274
- function ye(t) {
1275
- this.props = t;
1276
- }
1277
- function Ko(t, e) {
1278
- function i(o) {
1279
- var n = this.props.ref, r = n == o.ref;
1280
- return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : me(this.props, o);
923
+ var Fo = Symbol.for("preact-signals");
924
+ function Ue() {
925
+ if (gt > 1)
926
+ gt--;
927
+ else {
928
+ for (var t, e = !1; Et !== void 0; ) {
929
+ var i = Et;
930
+ for (Et = void 0, ge++; i !== void 0; ) {
931
+ var a = i.o;
932
+ if (i.o = void 0, i.f &= -3, !(8 & i.f) && ga(i))
933
+ try {
934
+ i.c();
935
+ } catch (o) {
936
+ e || (t = o, e = !0);
937
+ }
938
+ i = a;
939
+ }
940
+ }
941
+ if (ge = 0, gt--, e)
942
+ throw t;
1281
943
  }
1282
- function a(o) {
1283
- return this.shouldComponentUpdate = i, L(t, o);
944
+ }
945
+ var $ = void 0, Et = void 0, gt = 0, ge = 0, Vt = 0;
946
+ function wa(t) {
947
+ if ($ !== void 0) {
948
+ var e = t.n;
949
+ if (e === void 0 || e.t !== $)
950
+ return e = { i: 0, S: t, p: $.s, n: void 0, t: $, e: void 0, x: void 0, r: e }, $.s !== void 0 && ($.s.n = e), $.s = e, t.n = e, 32 & $.f && t.S(e), e;
951
+ if (e.i === -1)
952
+ return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = $.s, e.n = void 0, $.s.n = e, $.s = e), e;
1284
953
  }
1285
- return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
1286
954
  }
1287
- (ye.prototype = new V()).isPureReactComponent = !0, ye.prototype.shouldComponentUpdate = function(t, e) {
1288
- return me(this.props, t) || me(this.state, e);
955
+ function z(t) {
956
+ this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
957
+ }
958
+ z.prototype.brand = Fo;
959
+ z.prototype.h = function() {
960
+ return !0;
1289
961
  };
1290
- var ci = w.__b;
1291
- w.__b = function(t) {
1292
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ci && ci(t);
962
+ z.prototype.S = function(t) {
963
+ this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
1293
964
  };
1294
- var qo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1295
- function Go(t) {
1296
- function e(i) {
1297
- var a = va({}, i);
1298
- return delete a.ref, t(a, i.ref || null);
965
+ z.prototype.U = function(t) {
966
+ if (this.t !== void 0) {
967
+ var e = t.e, i = t.x;
968
+ 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);
1299
969
  }
1300
- return e.$$typeof = qo, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1301
- }
1302
- var di = function(t, e) {
1303
- return t == null ? null : tt(tt(t).map(e));
1304
- }, Zo = { map: di, forEach: di, count: function(t) {
1305
- return t ? tt(t).length : 0;
1306
- }, only: function(t) {
1307
- var e = tt(t);
1308
- if (e.length !== 1)
1309
- throw "Children.only";
1310
- return e[0];
1311
- }, toArray: tt }, Xo = w.__e;
1312
- w.__e = function(t, e, i, a) {
1313
- if (t.then) {
1314
- for (var o, n = e; n = n.__; )
1315
- if ((o = n.__c) && o.__c)
1316
- return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
970
+ };
971
+ z.prototype.subscribe = function(t) {
972
+ var e = this;
973
+ return Ve(function() {
974
+ var i = e.value, a = $;
975
+ $ = void 0;
976
+ try {
977
+ t(i);
978
+ } finally {
979
+ $ = a;
980
+ }
981
+ });
982
+ };
983
+ z.prototype.valueOf = function() {
984
+ return this.value;
985
+ };
986
+ z.prototype.toString = function() {
987
+ return this.value + "";
988
+ };
989
+ z.prototype.toJSON = function() {
990
+ return this.value;
991
+ };
992
+ z.prototype.peek = function() {
993
+ var t = $;
994
+ $ = void 0;
995
+ try {
996
+ return this.value;
997
+ } finally {
998
+ $ = t;
1317
999
  }
1318
- Xo(t, e, i, a);
1319
1000
  };
1320
- var ui = w.unmount;
1321
- function _a(t, e, i) {
1322
- return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
1323
- typeof a.__c == "function" && a.__c();
1324
- }), t.__c.__H = null), (t = va({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
1325
- return _a(a, e, i);
1326
- })), t;
1327
- }
1328
- function ma(t, e, i) {
1329
- return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
1330
- return ma(a, e, i);
1331
- }), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
1001
+ Object.defineProperty(z.prototype, "value", { get: function() {
1002
+ var t = wa(this);
1003
+ return t !== void 0 && (t.i = this.i), this.v;
1004
+ }, set: function(t) {
1005
+ if (t !== this.v) {
1006
+ if (ge > 100)
1007
+ throw new Error("Cycle detected");
1008
+ this.v = t, this.i++, Vt++, gt++;
1009
+ try {
1010
+ for (var e = this.t; e !== void 0; e = e.x)
1011
+ e.t.N();
1012
+ } finally {
1013
+ Ue();
1014
+ }
1015
+ }
1016
+ } });
1017
+ function W(t) {
1018
+ return new z(t);
1332
1019
  }
1333
- function St() {
1334
- this.__u = 0, this.t = null, this.__b = null;
1020
+ function ga(t) {
1021
+ for (var e = t.s; e !== void 0; e = e.n)
1022
+ if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
1023
+ return !0;
1024
+ return !1;
1335
1025
  }
1336
- function ya(t) {
1337
- var e = t.__.__c;
1338
- return e && e.__a && e.__a(t);
1026
+ function ba(t) {
1027
+ for (var e = t.s; e !== void 0; e = e.n) {
1028
+ var i = e.S.n;
1029
+ if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
1030
+ t.s = e;
1031
+ break;
1032
+ }
1033
+ }
1339
1034
  }
1340
- function xa(t) {
1341
- var e, i, a;
1342
- function o(n) {
1343
- if (e || (e = t()).then(function(r) {
1344
- i = r.default || r;
1345
- }, function(r) {
1346
- a = r;
1347
- }), a)
1348
- throw a;
1349
- if (!i)
1350
- throw e;
1351
- return L(i, n);
1035
+ function va(t) {
1036
+ for (var e = t.s, i = void 0; e !== void 0; ) {
1037
+ var a = e.p;
1038
+ 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;
1352
1039
  }
1353
- return o.displayName = "Lazy", o.__f = !0, o;
1040
+ t.s = i;
1354
1041
  }
1355
- function kt() {
1356
- this.u = null, this.o = null;
1042
+ function xt(t) {
1043
+ z.call(this, void 0), this.x = t, this.s = void 0, this.g = Vt - 1, this.f = 4;
1357
1044
  }
1358
- w.unmount = function(t) {
1359
- var e = t.__c;
1360
- e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), ui && ui(t);
1361
- }, (St.prototype = new V()).__c = function(t, e) {
1362
- var i = e.__c, a = this;
1363
- a.t == null && (a.t = []), a.t.push(i);
1364
- var o = ya(a.__v), n = !1, r = function() {
1365
- n || (n = !0, i.__R = null, o ? o(s) : s());
1366
- };
1367
- i.__R = r;
1368
- var s = function() {
1369
- if (!--a.__u) {
1370
- if (a.state.__a) {
1371
- var d = a.state.__a;
1372
- a.__v.__k[0] = ma(d, d.__c.__P, d.__c.__O);
1373
- }
1374
- var u;
1375
- for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
1376
- u.forceUpdate();
1377
- }
1378
- }, l = e.__h === !0;
1379
- a.__u++ || l || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(r, r);
1380
- }, St.prototype.componentWillUnmount = function() {
1381
- this.t = [];
1382
- }, St.prototype.render = function(t, e) {
1383
- if (this.__b) {
1384
- if (this.__v.__k) {
1385
- var i = document.createElement("div"), a = this.__v.__k[0].__c;
1386
- this.__v.__k[0] = _a(this.__b, i, a.__O = a.__P);
1387
- }
1388
- this.__b = null;
1045
+ (xt.prototype = new z()).h = function() {
1046
+ if (this.f &= -3, 1 & this.f)
1047
+ return !1;
1048
+ if ((36 & this.f) == 32 || (this.f &= -5, this.g === Vt))
1049
+ return !0;
1050
+ if (this.g = Vt, this.f |= 1, this.i > 0 && !ga(this))
1051
+ return this.f &= -2, !0;
1052
+ var t = $;
1053
+ try {
1054
+ ba(this), $ = this;
1055
+ var e = this.x();
1056
+ (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
1057
+ } catch (i) {
1058
+ this.v = i, this.f |= 16, this.i++;
1389
1059
  }
1390
- var o = e.__a && L(K, null, t.fallback);
1391
- return o && (o.__h = null), [L(K, null, e.__a ? null : t.children), o];
1060
+ return $ = t, va(this), this.f &= -2, !0;
1392
1061
  };
1393
- var pi = function(t, e, i) {
1394
- if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
1395
- for (i = t.u; i; ) {
1396
- for (; i.length > 3; )
1397
- i.pop()();
1398
- if (i[1] < i[0])
1399
- break;
1400
- t.u = i = i[2];
1401
- }
1062
+ xt.prototype.S = function(t) {
1063
+ if (this.t === void 0) {
1064
+ this.f |= 36;
1065
+ for (var e = this.s; e !== void 0; e = e.n)
1066
+ e.S.S(e);
1067
+ }
1068
+ z.prototype.S.call(this, t);
1402
1069
  };
1403
- function Jo(t) {
1404
- return this.getChildContext = function() {
1405
- return t.context;
1406
- }, t.children;
1407
- }
1408
- function Qo(t) {
1409
- var e = this, i = t.i;
1410
- e.componentWillUnmount = function() {
1411
- ut(null, e.l), e.l = null, e.i = null;
1412
- }, e.i && e.i !== i && e.componentWillUnmount(), t.__v ? (e.l || (e.i = i, e.l = { nodeType: 1, parentNode: i, childNodes: [], appendChild: function(a) {
1413
- this.childNodes.push(a), e.i.appendChild(a);
1414
- }, insertBefore: function(a, o) {
1415
- this.childNodes.push(a), e.i.appendChild(a);
1416
- }, removeChild: function(a) {
1417
- this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
1418
- } }), ut(L(Jo, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
1419
- }
1420
- function tn(t, e) {
1421
- var i = L(Qo, { __v: t, i: e });
1422
- return i.containerInfo = e, i;
1423
- }
1424
- (kt.prototype = new V()).__a = function(t) {
1425
- var e = this, i = ya(e.__v), a = e.o.get(t);
1426
- return a[0]++, function(o) {
1427
- var n = function() {
1428
- e.props.revealOrder ? (a.push(o), pi(e, t, a)) : o();
1429
- };
1430
- i ? i(n) : n();
1431
- };
1432
- }, kt.prototype.render = function(t) {
1433
- this.u = null, this.o = /* @__PURE__ */ new Map();
1434
- var e = tt(t.children);
1435
- t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
1436
- for (var i = e.length; i--; )
1437
- this.o.set(e[i], this.u = [1, 0, this.u]);
1438
- return t.children;
1439
- }, kt.prototype.componentDidUpdate = kt.prototype.componentDidMount = function() {
1440
- var t = this;
1441
- this.o.forEach(function(e, i) {
1442
- pi(t, i, e);
1443
- });
1070
+ xt.prototype.U = function(t) {
1071
+ if (this.t !== void 0 && (z.prototype.U.call(this, t), this.t === void 0)) {
1072
+ this.f &= -33;
1073
+ for (var e = this.s; e !== void 0; e = e.n)
1074
+ e.S.U(e);
1075
+ }
1444
1076
  };
1445
- var ka = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, en = /^(?: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]/, an = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, on = /[A-Z0-9]/g, nn = typeof document < "u", rn = function(t) {
1446
- return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
1077
+ xt.prototype.N = function() {
1078
+ if (!(2 & this.f)) {
1079
+ this.f |= 6;
1080
+ for (var t = this.t; t !== void 0; t = t.x)
1081
+ t.t.N();
1082
+ }
1447
1083
  };
1448
- function sn(t, e, i) {
1449
- return e.__k == null && (e.textContent = ""), ut(t, e), typeof i == "function" && i(), t ? t.__c : null;
1084
+ Object.defineProperty(xt.prototype, "value", { get: function() {
1085
+ if (1 & this.f)
1086
+ throw new Error("Cycle detected");
1087
+ var t = wa(this);
1088
+ if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
1089
+ throw this.v;
1090
+ return this.v;
1091
+ } });
1092
+ function Mo(t) {
1093
+ return new xt(t);
1450
1094
  }
1451
- function ln(t, e, i) {
1452
- return oa(t, e), typeof i == "function" && i(), t ? t.__c : null;
1095
+ function _a(t) {
1096
+ var e = t.u;
1097
+ if (t.u = void 0, typeof e == "function") {
1098
+ gt++;
1099
+ var i = $;
1100
+ $ = void 0;
1101
+ try {
1102
+ e();
1103
+ } catch (a) {
1104
+ throw t.f &= -2, t.f |= 8, We(t), a;
1105
+ } finally {
1106
+ $ = i, Ue();
1107
+ }
1108
+ }
1453
1109
  }
1454
- V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1455
- Object.defineProperty(V.prototype, t, { configurable: !0, get: function() {
1456
- return this["UNSAFE_" + t];
1457
- }, set: function(e) {
1458
- Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
1459
- } });
1460
- });
1461
- var hi = w.event;
1462
- function cn() {
1110
+ function We(t) {
1111
+ for (var e = t.s; e !== void 0; e = e.n)
1112
+ e.S.U(e);
1113
+ t.x = void 0, t.s = void 0, _a(t);
1463
1114
  }
1464
- function dn() {
1465
- return this.cancelBubble;
1115
+ function Ro(t) {
1116
+ if ($ !== this)
1117
+ throw new Error("Out-of-order effect");
1118
+ va(this), $ = t, this.f &= -2, 8 & this.f && We(this), Ue();
1466
1119
  }
1467
- function un() {
1468
- return this.defaultPrevented;
1120
+ function Ot(t) {
1121
+ this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
1469
1122
  }
1470
- w.event = function(t) {
1471
- return hi && (t = hi(t)), t.persist = cn, t.isPropagationStopped = dn, t.isDefaultPrevented = un, t.nativeEvent = t;
1123
+ Ot.prototype.c = function() {
1124
+ var t = this.S();
1125
+ try {
1126
+ if (8 & this.f || this.x === void 0)
1127
+ return;
1128
+ var e = this.x();
1129
+ typeof e == "function" && (this.u = e);
1130
+ } finally {
1131
+ t();
1132
+ }
1472
1133
  };
1473
- var We, pn = { enumerable: !1, configurable: !0, get: function() {
1474
- return this.class;
1475
- } }, fi = w.vnode;
1476
- w.vnode = function(t) {
1477
- typeof t.type == "string" && function(e) {
1478
- var i = e.props, a = e.type, o = {};
1479
- for (var n in i) {
1480
- var r = i[n];
1481
- if (!(n === "value" && "defaultValue" in i && r == null || nn && n === "children" && a === "noscript" || n === "class" || n === "className")) {
1482
- var s = n.toLowerCase();
1483
- 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" || rn(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : an.test(n) ? n = s : a.indexOf("-") === -1 && en.test(n) ? n = n.replace(on, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
1484
- }
1485
- }
1486
- a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(l) {
1487
- l.props.selected = o.value.indexOf(l.props.value) != -1;
1488
- })), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(l) {
1489
- l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
1490
- })), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", pn)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
1491
- }(t), t.$$typeof = ka, fi && fi(t);
1134
+ Ot.prototype.S = function() {
1135
+ if (1 & this.f)
1136
+ throw new Error("Cycle detected");
1137
+ this.f |= 1, this.f &= -9, _a(this), ba(this), gt++;
1138
+ var t = $;
1139
+ return $ = this, Ro.bind(this, t);
1492
1140
  };
1493
- var wi = w.__r;
1494
- w.__r = function(t) {
1495
- wi && wi(t), We = t.__c;
1141
+ Ot.prototype.N = function() {
1142
+ 2 & this.f || (this.f |= 2, this.o = Et, Et = this);
1496
1143
  };
1497
- var gi = w.diffed;
1498
- w.diffed = function(t) {
1499
- gi && gi(t);
1500
- var e = t.props, i = t.__e;
1501
- i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), We = null;
1144
+ Ot.prototype.d = function() {
1145
+ this.f |= 8, 1 & this.f || We(this);
1502
1146
  };
1503
- var hn = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1504
- return We.__n[t.__c].props.value;
1505
- } } } };
1506
- function fn(t) {
1507
- return L.bind(null, t);
1508
- }
1509
- function $a(t) {
1510
- return !!t && t.$$typeof === ka;
1511
- }
1512
- function wn(t) {
1513
- return $a(t) ? Co.apply(null, arguments) : t;
1514
- }
1515
- function gn(t) {
1516
- return !!t.__k && (ut(null, t), !0);
1517
- }
1518
- function bn(t) {
1519
- return t && (t.base || t.nodeType === 1 && t) || null;
1147
+ function Ve(t) {
1148
+ var e = new Ot(t);
1149
+ try {
1150
+ e.c();
1151
+ } catch (i) {
1152
+ throw e.d(), i;
1153
+ }
1154
+ return e.d.bind(e);
1520
1155
  }
1521
- var vn = function(t, e) {
1522
- return t(e);
1523
- }, _n = function(t, e) {
1524
- return t(e);
1525
- }, mn = K;
1526
- function Sa(t) {
1527
- t();
1156
+ var ae;
1157
+ function kt(t, e) {
1158
+ w[t] = e.bind(null, w[t] || function() {
1159
+ });
1528
1160
  }
1529
- function yn(t) {
1530
- return t;
1161
+ function Yt(t) {
1162
+ ae && ae(), ae = t && t.S();
1531
1163
  }
1532
- function xn() {
1533
- return [!1, Sa];
1534
- }
1535
- var kn = _t;
1536
- function $n(t, e) {
1537
- var i = e(), a = ha({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
1538
- return _t(function() {
1539
- o.__ = i, o.v = e, ae(o.__, e()) || n({ h: o });
1540
- }, [t, i, e]), wa(function() {
1541
- return ae(o.__, o.v()) || n({ h: o }), t(function() {
1542
- ae(o.__, o.v()) || n({ h: o });
1164
+ function ma(t) {
1165
+ var e = this, i = t.data, a = Bo(i);
1166
+ a.value = i;
1167
+ var o = pt(function() {
1168
+ for (var n = e.__v; n = n.__; )
1169
+ if (n.__c) {
1170
+ n.__c.__$f |= 4;
1171
+ break;
1172
+ }
1173
+ return e.__$u.c = function() {
1174
+ var r;
1175
+ !Xi(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
1176
+ }, Mo(function() {
1177
+ var r = a.value.value;
1178
+ return r === 0 ? 0 : r === !0 ? "" : r || "";
1543
1179
  });
1544
- }, [t]), i;
1180
+ }, []);
1181
+ return o.value;
1545
1182
  }
1546
- var Gr = { useState: ha, useId: Wo, useReducer: fa, useEffect: wa, useLayoutEffect: _t, useInsertionEffect: kn, useTransition: xn, useDeferredValue: yn, useSyncExternalStore: $n, startTransition: Sa, useRef: At, useImperativeHandle: Bo, useMemo: pt, useCallback: Ho, useContext: ga, useDebugValue: Uo, version: "17.0.2", Children: Zo, render: sn, hydrate: ln, unmountComponentAtNode: gn, createPortal: tn, createElement: L, createContext: na, createFactory: fn, cloneElement: wn, createRef: yo, Fragment: K, isValidElement: $a, findDOMNode: bn, Component: V, PureComponent: ye, memo: Ko, forwardRef: Go, flushSync: _n, unstable_batchedUpdates: vn, StrictMode: mn, Suspense: St, SuspenseList: kt, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: hn }, Sn = ["other", "few", "many", "two", "one", "zero"], bi = ({
1547
- terms: t,
1548
- overrides: e,
1549
- locale: i
1550
- }) => {
1551
- const a = new Intl.PluralRules(i);
1552
- function o(n, r) {
1553
- const s = (e == null ? void 0 : e[n]) ?? t[n];
1554
- switch (typeof s) {
1555
- case "string":
1556
- return s.replace(/{{(\w+)}}/g, (l, d) => {
1557
- var u;
1558
- return ((u = r == null ? void 0 : r[d]) == null ? void 0 : u.toString()) ?? "";
1559
- });
1560
- case "object": {
1561
- if (typeof (r == null ? void 0 : r.count) != "number")
1562
- throw new Error(`Missing count for translation key “${n.toString()}”`);
1563
- let l = a.select(r.count);
1564
- if (!(l in s)) {
1565
- const d = Sn.find((u) => u in s);
1566
- if (!d)
1567
- throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
1568
- l = d;
1569
- }
1570
- return s[l].replace(/{{(\w+)}}/g, (d, u) => {
1571
- var c;
1572
- return ((c = r == null ? void 0 : r[u]) == null ? void 0 : c.toString()) ?? "";
1573
- });
1183
+ ma.displayName = "_st";
1184
+ Object.defineProperties(z.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: ma }, props: { configurable: !0, get: function() {
1185
+ return { data: this };
1186
+ } }, __b: { configurable: !0, value: 1 } });
1187
+ kt("__b", function(t, e) {
1188
+ if (typeof e.type == "string") {
1189
+ var i, a = e.props;
1190
+ for (var o in a)
1191
+ if (o !== "children") {
1192
+ var n = a[o];
1193
+ n instanceof z && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
1194
+ }
1195
+ }
1196
+ t(e);
1197
+ });
1198
+ kt("__r", function(t, e) {
1199
+ Yt();
1200
+ var i, a = e.__c;
1201
+ a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
1202
+ var n;
1203
+ return Ve(function() {
1204
+ n = this;
1205
+ }), n.c = function() {
1206
+ a.__$f |= 1, a.setState({});
1207
+ }, n;
1208
+ }())), Yt(i), t(e);
1209
+ });
1210
+ kt("__e", function(t, e, i, a) {
1211
+ Yt(), t(e, i, a);
1212
+ });
1213
+ kt("diffed", function(t, e) {
1214
+ Yt();
1215
+ var i;
1216
+ if (typeof e.type == "string" && (i = e.__e)) {
1217
+ var a = e.__np, o = e.props;
1218
+ if (a) {
1219
+ var n = i.U;
1220
+ if (n)
1221
+ for (var r in n) {
1222
+ var s = n[r];
1223
+ s !== void 0 && !(r in a) && (s.d(), n[r] = void 0);
1224
+ }
1225
+ else
1226
+ i.U = n = {};
1227
+ for (var l in a) {
1228
+ var d = n[l], u = a[l];
1229
+ d === void 0 ? (d = Lo(i, l, u, o), n[l] = d) : d.o(u, o);
1574
1230
  }
1575
- default:
1576
- throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`);
1577
1231
  }
1578
1232
  }
1579
- return o;
1580
- }, Cn = 0;
1581
- function p(t, e, i, a, o, n) {
1582
- var r, s, l = {};
1583
- for (s in e)
1584
- s == "ref" ? r = e[s] : l[s] = e[s];
1585
- var d = { type: t, props: l, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Cn, __source: o, __self: n };
1586
- if (typeof t == "function" && (r = t.defaultProps))
1587
- for (s in r)
1588
- l[s] === void 0 && (l[s] = r[s]);
1589
- return w.vnode && w.vnode(d), d;
1233
+ t(e);
1234
+ });
1235
+ function Lo(t, e, i, a) {
1236
+ var o = e in t && t.ownerSVGElement === void 0, n = W(i);
1237
+ return { o: function(r, s) {
1238
+ n.value = r, a = s;
1239
+ }, d: Ve(function() {
1240
+ var r = n.value.value;
1241
+ a[e] !== r && (a[e] = r, o ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
1242
+ }) };
1590
1243
  }
1591
- var vi = na(null), Ca = (t) => ({
1592
- defaultTerms: t,
1593
- TranslationProvider: ({ terms: e, children: i, locale: a }) => {
1594
- const o = pt(() => bi({ locale: a, terms: t, overrides: e }), [e, a]);
1595
- return /* @__PURE__ */ p(vi.Provider, { value: { t: o, locale: a }, children: i });
1596
- },
1597
- useTranslation: () => {
1598
- const e = ga(vi);
1599
- if (e === null)
1600
- throw new Error("Please wrap useTranslation in a TranslationProvider");
1601
- return { t: e.t, locale: e.locale };
1602
- },
1603
- createTFunction: ({
1604
- overrides: e,
1605
- locale: i
1606
- }) => bi({ terms: t, overrides: e, locale: i })
1607
- }), En = { conversation_history: "Conversation history", jump_to_current: "Jump to current question", send: "Send", submitting: "Sending your application…", skip: "Skip", skipped: "Skipped", submission_closed: "Sorry, this role closed while you were applying.", submission_duplicate_earlier_attempt: "You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.", submission_failed: "We couldn't submit your application. Choose Restart to try again.", submission_unknown_do_not_resubmit: "We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.", submission_unreadable_document: "We couldn't read that file. Please upload a different one.", submission_cooldown: { one: "Submit will be available again in {{count}} second.", other: "Submit will be available again in {{count}} seconds." }, submission_cooldown_ready: "Submit is available again.", captcha_check: "One quick check before we send your application", submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.", file_preparing: { one: "Preparing your file…", other: "Preparing your files…" }, file_ready: { one: "Your file is ready to send", other: "Your files are ready to send" }, file_read_error: "We couldn't read this file. Select it again or choose another file.", file_read_error_replacement: "We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.", address_error: "We couldn't search for that address. Try again, or fill it in manually.", address_searching: "Searching addresses…", address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.", restart: "Restart", chat_messages: "Chat messages", file_name: "File name", file_size: "File size", file_total_size: "{{size}} total", loading: "Loading", minimize: "Minimise" }, { TranslationProvider: Zr, useTranslation: Xr, createTFunction: Jr, defaultTerms: Pn } = Ca({ submission_redirect_message: "One last step: finish your application on the employer's site.", complete_submission: "Continue on the employer's site", 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}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.", submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. 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_whole: "Enter a whole number", 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" });
1608
- const {
1609
- TranslationProvider: Tn,
1610
- useTranslation: Xt,
1611
- createTFunction: Qr
1612
- } = Ca({
1613
- ...Pn,
1614
- ...En,
1615
- error_heading: "Something unexpected happened",
1616
- flow_closed: "This role is no longer accepting applications.",
1617
- undo: "Change answer",
1618
- job_alerts_offer: "Want to hear about similar roles? We can email you at {{email}} when new ones open.",
1619
- job_alerts_accept: "Get job alerts",
1620
- job_alerts_decline: "No thanks",
1621
- job_alerts_privacy: "We'll use your email only for these alerts. You can unsubscribe at any time.",
1622
- job_alerts_success: "Done. We'll email you about similar roles.",
1623
- job_alerts_error: "Sorry, we couldn't set that up. Please try again later.",
1624
- submission_duplicate: "You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",
1625
- submission_retryable: "We couldn't submit your application. Please try again.",
1626
- submission_unknown: "We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",
1627
- maximize: "Maximise",
1628
- submit: "Submit",
1629
- file_more: {
1630
- one: "+{{count}} file",
1631
- other: "+{{count}} files"
1244
+ kt("unmount", function(t, e) {
1245
+ if (typeof e.type == "string") {
1246
+ var i = e.__e;
1247
+ if (i) {
1248
+ var a = i.U;
1249
+ if (a) {
1250
+ i.U = void 0;
1251
+ for (var o in a) {
1252
+ var n = a[o];
1253
+ n && n.d();
1254
+ }
1255
+ }
1256
+ }
1257
+ } else {
1258
+ var r = e.__c;
1259
+ if (r) {
1260
+ var s = r.__$u;
1261
+ s && (r.__$u = void 0, s.d());
1262
+ }
1632
1263
  }
1264
+ t(e);
1633
1265
  });
1634
- function Ea(t, e) {
1635
- if (!t)
1636
- throw new Error(e);
1266
+ kt("__h", function(t, e, i, a) {
1267
+ (a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
1268
+ });
1269
+ V.prototype.shouldComponentUpdate = function(t, e) {
1270
+ var i = this.__$u;
1271
+ if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
1272
+ return !0;
1273
+ for (var a in e)
1274
+ return !0;
1275
+ for (var o in t)
1276
+ if (o !== "__source" && t[o] !== this.props[o])
1277
+ return !0;
1278
+ for (var n in this.props)
1279
+ if (!(n in t))
1280
+ return !0;
1281
+ return !1;
1282
+ };
1283
+ function Bo(t) {
1284
+ return pt(function() {
1285
+ return W(t);
1286
+ }, []);
1637
1287
  }
1638
- var xe = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(xe) : Object.keys(t).sort().reduce((e, i) => (e[i] = xe(t[i]), e), {}), In = (t) => {
1639
- let e = JSON.stringify(xe(t)), i = 5381;
1640
- for (let a = 0; a < e.length; a++)
1641
- i = i * 33 ^ e.charCodeAt(a);
1642
- return (i >>> 0).toString(36);
1643
- }, An = Symbol.for("preact-signals");
1644
- function Ve() {
1645
- if (gt > 1)
1646
- gt--;
1647
- else {
1648
- for (var t, e = !1; Ct !== void 0; ) {
1649
- var i = Ct;
1650
- for (Ct = void 0, ke++; i !== void 0; ) {
1651
- var a = i.o;
1652
- if (i.o = void 0, i.f &= -3, !(8 & i.f) && Ta(i))
1653
- try {
1654
- i.c();
1655
- } catch (o) {
1656
- e || (t = o, e = !0);
1657
- }
1658
- i = a;
1288
+ const F = Symbol.for("@ts-pattern/matcher"), ya = Symbol.for("@ts-pattern/isVariadic"), Kt = "@ts-pattern/anonymous-select-key", be = (t) => !!(t && typeof t == "object"), Ft = (t) => t && !!t[F], T = (t, e, i) => {
1289
+ if (Ft(t)) {
1290
+ const a = t[F](), { matched: o, selections: n } = a.match(e);
1291
+ return o && n && Object.keys(n).forEach((r) => i(r, n[r])), o;
1292
+ }
1293
+ if (be(t)) {
1294
+ if (!be(e))
1295
+ return !1;
1296
+ if (Array.isArray(t)) {
1297
+ if (!Array.isArray(e))
1298
+ return !1;
1299
+ let a = [], o = [], n = [];
1300
+ for (const r of t.keys()) {
1301
+ const s = t[r];
1302
+ Ft(s) && s[ya] ? n.push(s) : n.length ? o.push(s) : a.push(s);
1303
+ }
1304
+ if (n.length) {
1305
+ if (n.length > 1)
1306
+ throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
1307
+ if (e.length < a.length + o.length)
1308
+ return !1;
1309
+ const r = e.slice(0, a.length), s = o.length === 0 ? [] : e.slice(-o.length), l = e.slice(a.length, o.length === 0 ? 1 / 0 : -o.length);
1310
+ return a.every((d, u) => T(d, r[u], i)) && o.every((d, u) => T(d, s[u], i)) && (n.length === 0 || T(n[0], l, i));
1659
1311
  }
1312
+ return t.length === e.length && t.every((r, s) => T(r, e[s], i));
1660
1313
  }
1661
- if (ke = 0, gt--, e)
1662
- throw t;
1314
+ return Reflect.ownKeys(t).every((a) => {
1315
+ const o = t[a];
1316
+ return (a in e || Ft(n = o) && n[F]().matcherType === "optional") && T(o, e[a], i);
1317
+ var n;
1318
+ });
1319
+ }
1320
+ return Object.is(e, t);
1321
+ }, D = (t) => {
1322
+ var e, i, a;
1323
+ return be(t) ? Ft(t) ? (e = (i = (a = t[F]()).getSelectionKeys) == null ? void 0 : i.call(a)) != null ? e : [] : Array.isArray(t) ? It(t, D) : It(Object.values(t), D) : [];
1324
+ }, It = (t, e) => t.reduce((i, a) => i.concat(e(a)), []);
1325
+ function xa(...t) {
1326
+ if (t.length === 1) {
1327
+ const [e] = t;
1328
+ return (i) => T(e, i, () => {
1329
+ });
1330
+ }
1331
+ if (t.length === 2) {
1332
+ const [e, i] = t;
1333
+ return T(e, i, () => {
1334
+ });
1335
+ }
1336
+ throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
1337
+ }
1338
+ function A(t) {
1339
+ return Object.assign(t, { optional: () => Ye(t), and: (e) => C(t, e), or: (e) => ka(t, e), select: (e) => e === void 0 ? At(t) : At(e, t) });
1340
+ }
1341
+ function ve(t) {
1342
+ return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
1343
+ let i = 0;
1344
+ const a = [{ value: Object.assign(e, { [ya]: !0 }), done: !1 }, { done: !0, value: void 0 }];
1345
+ return { next: () => {
1346
+ var o;
1347
+ return (o = a[i++]) != null ? o : a.at(-1);
1348
+ } };
1349
+ } }))(t), { optional: () => ve(Ye(t)), select: (e) => ve(e === void 0 ? At(t) : At(e, t)) });
1350
+ }
1351
+ function Ye(t) {
1352
+ return A({ [F]: () => ({ match: (e) => {
1353
+ let i = {};
1354
+ const a = (o, n) => {
1355
+ i[o] = n;
1356
+ };
1357
+ return e === void 0 ? (D(t).forEach((o) => a(o, void 0)), { matched: !0, selections: i }) : { matched: T(t, e, a), selections: i };
1358
+ }, getSelectionKeys: () => D(t), matcherType: "optional" }) });
1359
+ }
1360
+ const Ho = (t, e) => {
1361
+ for (const i of t)
1362
+ if (!e(i))
1363
+ return !1;
1364
+ return !0;
1365
+ }, Uo = (t, e) => {
1366
+ for (const [i, a] of t.entries())
1367
+ if (!e(a, i))
1368
+ return !1;
1369
+ return !0;
1370
+ }, Wo = (t, e) => {
1371
+ const i = Reflect.ownKeys(t);
1372
+ for (const a of i)
1373
+ if (!e(a, t[a]))
1374
+ return !1;
1375
+ return !0;
1376
+ };
1377
+ function C(...t) {
1378
+ return A({ [F]: () => ({ match: (e) => {
1379
+ let i = {};
1380
+ const a = (o, n) => {
1381
+ i[o] = n;
1382
+ };
1383
+ return { matched: t.every((o) => T(o, e, a)), selections: i };
1384
+ }, getSelectionKeys: () => It(t, D), matcherType: "and" }) });
1385
+ }
1386
+ function ka(...t) {
1387
+ return A({ [F]: () => ({ match: (e) => {
1388
+ let i = {};
1389
+ const a = (o, n) => {
1390
+ i[o] = n;
1391
+ };
1392
+ return It(t, D).forEach((o) => a(o, void 0)), { matched: t.some((o) => T(o, e, a)), selections: i };
1393
+ }, getSelectionKeys: () => It(t, D), matcherType: "or" }) });
1394
+ }
1395
+ function m(t) {
1396
+ return { [F]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
1397
+ }
1398
+ function At(...t) {
1399
+ const e = typeof t[0] == "string" ? t[0] : void 0, i = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
1400
+ return A({ [F]: () => ({ match: (a) => {
1401
+ let o = { [e ?? Kt]: a };
1402
+ return { matched: i === void 0 || T(i, a, (n, r) => {
1403
+ o[n] = r;
1404
+ }), selections: o };
1405
+ }, getSelectionKeys: () => [e ?? Kt].concat(i === void 0 ? [] : D(i)) }) });
1406
+ }
1407
+ function $a(t) {
1408
+ return !0;
1409
+ }
1410
+ function G(t) {
1411
+ return typeof t == "number";
1412
+ }
1413
+ function et(t) {
1414
+ return typeof t == "string";
1415
+ }
1416
+ function it(t) {
1417
+ return typeof t == "bigint";
1418
+ }
1419
+ const Sa = A(m($a)), Vo = A(m($a)), Yo = Sa, at = (t) => Object.assign(A(t), { startsWith: (e) => {
1420
+ return at(C(t, (i = e, m((a) => et(a) && a.startsWith(i)))));
1421
+ var i;
1422
+ }, endsWith: (e) => {
1423
+ return at(C(t, (i = e, m((a) => et(a) && a.endsWith(i)))));
1424
+ var i;
1425
+ }, minLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length >= i))(e))), length: (e) => at(C(t, ((i) => m((a) => et(a) && a.length === i))(e))), maxLength: (e) => at(C(t, ((i) => m((a) => et(a) && a.length <= i))(e))), includes: (e) => {
1426
+ return at(C(t, (i = e, m((a) => et(a) && a.includes(i)))));
1427
+ var i;
1428
+ }, regex: (e) => {
1429
+ return at(C(t, (i = e, m((a) => et(a) && !!a.match(i)))));
1430
+ var i;
1431
+ } }), ui = at(m(et)), Z = (t) => Object.assign(A(t), { between: (e, i) => Z(C(t, ((a, o) => m((n) => G(n) && a <= n && o >= n))(e, i))), lt: (e) => Z(C(t, ((i) => m((a) => G(a) && a < i))(e))), gt: (e) => Z(C(t, ((i) => m((a) => G(a) && a > i))(e))), lte: (e) => Z(C(t, ((i) => m((a) => G(a) && a <= i))(e))), gte: (e) => Z(C(t, ((i) => m((a) => G(a) && a >= i))(e))), int: () => Z(C(t, m((e) => G(e) && Number.isInteger(e)))), finite: () => Z(C(t, m((e) => G(e) && Number.isFinite(e)))), positive: () => Z(C(t, m((e) => G(e) && e > 0))), negative: () => Z(C(t, m((e) => G(e) && e < 0))) }), Ko = Z(m(G)), ot = (t) => Object.assign(A(t), { between: (e, i) => ot(C(t, ((a, o) => m((n) => it(n) && a <= n && o >= n))(e, i))), lt: (e) => ot(C(t, ((i) => m((a) => it(a) && a < i))(e))), gt: (e) => ot(C(t, ((i) => m((a) => it(a) && a > i))(e))), lte: (e) => ot(C(t, ((i) => m((a) => it(a) && a <= i))(e))), gte: (e) => ot(C(t, ((i) => m((a) => it(a) && a >= i))(e))), positive: () => ot(C(t, m((e) => it(e) && e > 0))), negative: () => ot(C(t, m((e) => it(e) && e < 0))) }), qo = ot(m(it)), Go = A(m(function(t) {
1432
+ return typeof t == "boolean";
1433
+ })), Zo = A(m(function(t) {
1434
+ return typeof t == "symbol";
1435
+ })), Xo = A(m(function(t) {
1436
+ return t == null;
1437
+ })), Jo = A(m(function(t) {
1438
+ return t != null;
1439
+ }));
1440
+ var ft = { __proto__: null, matcher: F, optional: Ye, array: function(...t) {
1441
+ return ve({ [F]: () => ({ match: (e) => {
1442
+ if (!Array.isArray(e))
1443
+ return { matched: !1 };
1444
+ if (t.length === 0)
1445
+ return { matched: !0 };
1446
+ const i = t[0];
1447
+ let a = {};
1448
+ if (e.length === 0)
1449
+ return D(i).forEach((n) => {
1450
+ a[n] = [];
1451
+ }), { matched: !0, selections: a };
1452
+ const o = (n, r) => {
1453
+ a[n] = (a[n] || []).concat([r]);
1454
+ };
1455
+ return { matched: e.every((n) => T(i, n, o)), selections: a };
1456
+ }, getSelectionKeys: () => t.length === 0 ? [] : D(t[0]) }) });
1457
+ }, set: function(...t) {
1458
+ return A({ [F]: () => ({ match: (e) => {
1459
+ if (!(e instanceof Set))
1460
+ return { matched: !1 };
1461
+ let i = {};
1462
+ if (e.size === 0)
1463
+ return { matched: !0, selections: i };
1464
+ if (t.length === 0)
1465
+ return { matched: !0 };
1466
+ const a = (n, r) => {
1467
+ i[n] = (i[n] || []).concat([r]);
1468
+ }, o = t[0];
1469
+ return { matched: Ho(e, (n) => T(o, n, a)), selections: i };
1470
+ }, getSelectionKeys: () => t.length === 0 ? [] : D(t[0]) }) });
1471
+ }, map: function(...t) {
1472
+ return A({ [F]: () => ({ match: (e) => {
1473
+ if (!(e instanceof Map))
1474
+ return { matched: !1 };
1475
+ let i = {};
1476
+ if (e.size === 0)
1477
+ return { matched: !0, selections: i };
1478
+ const a = (s, l) => {
1479
+ i[s] = (i[s] || []).concat([l]);
1480
+ };
1481
+ if (t.length === 0)
1482
+ return { matched: !0 };
1483
+ var o;
1484
+ if (t.length === 1)
1485
+ throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o = t[0]) == null ? void 0 : o.toString()}`);
1486
+ const [n, r] = t;
1487
+ return { matched: Uo(e, (s, l) => {
1488
+ const d = T(n, l, a), u = T(r, s, a);
1489
+ return d && u;
1490
+ }), selections: i };
1491
+ }, getSelectionKeys: () => t.length === 0 ? [] : [...D(t[0]), ...D(t[1])] }) });
1492
+ }, record: function(...t) {
1493
+ return A({ [F]: () => ({ match: (e) => {
1494
+ if (e === null || typeof e != "object" || Array.isArray(e))
1495
+ return { matched: !1 };
1496
+ var i;
1497
+ if (t.length === 0)
1498
+ throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(i = t[0]) == null ? void 0 : i.toString()}`);
1499
+ let a = {};
1500
+ const o = (s, l) => {
1501
+ a[s] = (a[s] || []).concat([l]);
1502
+ }, [n, r] = t.length === 1 ? [ui, t[0]] : t;
1503
+ return { matched: Wo(e, (s, l) => {
1504
+ const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && T(n, d, o), c = T(n, s, o), f = T(r, l, o);
1505
+ return (c || u) && f;
1506
+ }), selections: a };
1507
+ }, getSelectionKeys: () => t.length === 0 ? [] : [...D(t[0]), ...D(t[1])] }) });
1508
+ }, intersection: C, union: ka, not: function(t) {
1509
+ return A({ [F]: () => ({ match: (e) => ({ matched: !T(t, e, () => {
1510
+ }) }), getSelectionKeys: () => [], matcherType: "not" }) });
1511
+ }, when: m, select: At, any: Sa, unknown: Vo, _: Yo, string: ui, number: Ko, bigint: qo, boolean: Go, symbol: Zo, nullish: Xo, nonNullable: Jo, instanceOf: function(t) {
1512
+ return A(m(function(e) {
1513
+ return (i) => i instanceof e;
1514
+ }(t)));
1515
+ }, shape: function(t) {
1516
+ return A(m(xa(t)));
1517
+ } };
1518
+ let Qo = class extends Error {
1519
+ constructor(e) {
1520
+ let i;
1521
+ try {
1522
+ i = JSON.stringify(e);
1523
+ } catch {
1524
+ i = e;
1525
+ }
1526
+ super(`Pattern matching error: no pattern matches value ${i}`), this.input = void 0, this.input = e;
1527
+ }
1528
+ };
1529
+ const _e = { matched: !1, value: void 0 };
1530
+ function Ke(t) {
1531
+ return new tn(t, _e);
1532
+ }
1533
+ let tn = class me {
1534
+ constructor(e, i) {
1535
+ this.input = void 0, this.state = void 0, this.input = e, this.state = i;
1536
+ }
1537
+ with(...e) {
1538
+ if (this.state.matched)
1539
+ return this;
1540
+ const i = e[e.length - 1], a = [e[0]];
1541
+ let o;
1542
+ e.length === 3 && typeof e[1] == "function" ? o = e[1] : e.length > 2 && a.push(...e.slice(1, e.length - 1));
1543
+ let n = !1, r = {};
1544
+ const s = (d, u) => {
1545
+ n = !0, r[d] = u;
1546
+ }, l = !a.some((d) => T(d, this.input, s)) || o && !o(this.input) ? _e : { matched: !0, value: i(n ? Kt in r ? r[Kt] : r : this.input, this.input) };
1547
+ return new me(this.input, l);
1548
+ }
1549
+ when(e, i) {
1550
+ if (this.state.matched)
1551
+ return this;
1552
+ const a = !!e(this.input);
1553
+ return new me(this.input, a ? { matched: !0, value: i(this.input, this.input) } : _e);
1554
+ }
1555
+ otherwise(e) {
1556
+ return this.state.matched ? this.state.value : e(this.input);
1557
+ }
1558
+ exhaustive(e = en) {
1559
+ return this.state.matched ? this.state.value : e(this.input);
1560
+ }
1561
+ run() {
1562
+ return this.exhaustive();
1563
+ }
1564
+ returnType() {
1565
+ return this;
1663
1566
  }
1664
- }
1665
- var $ = void 0, Ct = void 0, gt = 0, ke = 0, Yt = 0;
1666
- function Pa(t) {
1667
- if ($ !== void 0) {
1668
- var e = t.n;
1669
- if (e === void 0 || e.t !== $)
1670
- return e = { i: 0, S: t, p: $.s, n: void 0, t: $, e: void 0, x: void 0, r: e }, $.s !== void 0 && ($.s.n = e), $.s = e, t.n = e, 32 & $.f && t.S(e), e;
1671
- if (e.i === -1)
1672
- return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = $.s, e.n = void 0, $.s.n = e, $.s = e), e;
1567
+ narrow() {
1568
+ return this;
1673
1569
  }
1570
+ };
1571
+ function en(t) {
1572
+ throw new Qo(t);
1674
1573
  }
1675
- function D(t) {
1676
- this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
1574
+ function Ca(t) {
1575
+ var e, i, a = "";
1576
+ if (typeof t == "string" || typeof t == "number")
1577
+ a += t;
1578
+ else if (typeof t == "object")
1579
+ if (Array.isArray(t)) {
1580
+ var o = t.length;
1581
+ for (e = 0; e < o; e++)
1582
+ t[e] && (i = Ca(t[e])) && (a && (a += " "), a += i);
1583
+ } else
1584
+ for (i in t)
1585
+ t[i] && (a && (a += " "), a += i);
1586
+ return a;
1677
1587
  }
1678
- D.prototype.brand = An;
1679
- D.prototype.h = function() {
1680
- return !0;
1681
- };
1682
- D.prototype.S = function(t) {
1683
- this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
1588
+ function qe() {
1589
+ for (var t, e, i = 0, a = "", o = arguments.length; i < o; i++)
1590
+ (t = arguments[i]) && (e = Ca(t)) && (a && (a += " "), a += e);
1591
+ return a;
1592
+ }
1593
+ const pi = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, hi = qe, Ge = (t, e) => (i) => {
1594
+ var a;
1595
+ if ((e == null ? void 0 : e.variants) == null)
1596
+ return hi(t, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
1597
+ const { variants: o, defaultVariants: n } = e, r = Object.keys(o).map((d) => {
1598
+ const u = i == null ? void 0 : i[d], c = n == null ? void 0 : n[d];
1599
+ if (u === null)
1600
+ return null;
1601
+ const f = pi(u) || pi(c);
1602
+ return o[d][f];
1603
+ }), s = i && Object.entries(i).reduce((d, u) => {
1604
+ let [c, f] = u;
1605
+ return f === void 0 || (d[c] = f), d;
1606
+ }, {}), l = e == null || (a = e.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((d, u) => {
1607
+ let { class: c, className: f, ...g } = u;
1608
+ return Object.entries(g).every((h) => {
1609
+ let [b, O] = h;
1610
+ return Array.isArray(O) ? O.includes({
1611
+ ...n,
1612
+ ...s
1613
+ }[b]) : {
1614
+ ...n,
1615
+ ...s
1616
+ }[b] === O;
1617
+ }) ? [
1618
+ ...d,
1619
+ c,
1620
+ f
1621
+ ] : d;
1622
+ }, []);
1623
+ return hi(t, r, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
1684
1624
  };
1685
- D.prototype.U = function(t) {
1686
- if (this.t !== void 0) {
1687
- var e = t.e, i = t.x;
1688
- 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);
1625
+ function Ea(t, e) {
1626
+ for (var i in e)
1627
+ t[i] = e[i];
1628
+ return t;
1629
+ }
1630
+ function ye(t, e) {
1631
+ for (var i in t)
1632
+ if (i !== "__source" && !(i in e))
1633
+ return !0;
1634
+ for (var a in e)
1635
+ if (a !== "__source" && t[a] !== e[a])
1636
+ return !0;
1637
+ return !1;
1638
+ }
1639
+ function oe(t, e) {
1640
+ return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
1641
+ }
1642
+ function xe(t) {
1643
+ this.props = t;
1644
+ }
1645
+ function an(t, e) {
1646
+ function i(o) {
1647
+ var n = this.props.ref, r = n == o.ref;
1648
+ return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, o) || !r : ye(this.props, o);
1689
1649
  }
1650
+ function a(o) {
1651
+ return this.shouldComponentUpdate = i, B(t, o);
1652
+ }
1653
+ return a.displayName = "Memo(" + (t.displayName || t.name) + ")", a.prototype.isReactComponent = !0, a.__f = !0, a;
1654
+ }
1655
+ (xe.prototype = new V()).isPureReactComponent = !0, xe.prototype.shouldComponentUpdate = function(t, e) {
1656
+ return ye(this.props, t) || ye(this.state, e);
1690
1657
  };
1691
- D.prototype.subscribe = function(t) {
1692
- var e = this;
1693
- return Ke(function() {
1694
- var i = e.value, a = $;
1695
- $ = void 0;
1696
- try {
1697
- t(i);
1698
- } finally {
1699
- $ = a;
1700
- }
1701
- });
1702
- };
1703
- D.prototype.valueOf = function() {
1704
- return this.value;
1705
- };
1706
- D.prototype.toString = function() {
1707
- return this.value + "";
1708
- };
1709
- D.prototype.toJSON = function() {
1710
- return this.value;
1658
+ var fi = w.__b;
1659
+ w.__b = function(t) {
1660
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), fi && fi(t);
1711
1661
  };
1712
- D.prototype.peek = function() {
1713
- var t = $;
1714
- $ = void 0;
1715
- try {
1716
- return this.value;
1717
- } finally {
1718
- $ = t;
1662
+ var on = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1663
+ function nn(t) {
1664
+ function e(i) {
1665
+ var a = Ea({}, i);
1666
+ return delete a.ref, t(a, i.ref || null);
1719
1667
  }
1720
- };
1721
- Object.defineProperty(D.prototype, "value", { get: function() {
1722
- var t = Pa(this);
1723
- return t !== void 0 && (t.i = this.i), this.v;
1724
- }, set: function(t) {
1725
- if (t !== this.v) {
1726
- if (ke > 100)
1727
- throw new Error("Cycle detected");
1728
- this.v = t, this.i++, Yt++, gt++;
1729
- try {
1730
- for (var e = this.t; e !== void 0; e = e.x)
1731
- e.t.N();
1732
- } finally {
1733
- Ve();
1734
- }
1668
+ return e.$$typeof = on, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1669
+ }
1670
+ var wi = function(t, e) {
1671
+ return t == null ? null : tt(tt(t).map(e));
1672
+ }, rn = { map: wi, forEach: wi, count: function(t) {
1673
+ return t ? tt(t).length : 0;
1674
+ }, only: function(t) {
1675
+ var e = tt(t);
1676
+ if (e.length !== 1)
1677
+ throw "Children.only";
1678
+ return e[0];
1679
+ }, toArray: tt }, sn = w.__e;
1680
+ w.__e = function(t, e, i, a) {
1681
+ if (t.then) {
1682
+ for (var o, n = e; n = n.__; )
1683
+ if ((o = n.__c) && o.__c)
1684
+ return e.__e == null && (e.__e = i.__e, e.__k = i.__k), o.__c(t, e);
1735
1685
  }
1736
- } });
1737
- function W(t) {
1738
- return new D(t);
1686
+ sn(t, e, i, a);
1687
+ };
1688
+ var gi = w.unmount;
1689
+ function Pa(t, e, i) {
1690
+ return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(a) {
1691
+ typeof a.__c == "function" && a.__c();
1692
+ }), t.__c.__H = null), (t = Ea({}, t)).__c != null && (t.__c.__P === i && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(a) {
1693
+ return Pa(a, e, i);
1694
+ })), t;
1739
1695
  }
1740
- function Ta(t) {
1741
- for (var e = t.s; e !== void 0; e = e.n)
1742
- if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i)
1743
- return !0;
1744
- return !1;
1696
+ function Ta(t, e, i) {
1697
+ return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(a) {
1698
+ return Ta(a, e, i);
1699
+ }), t.__c && t.__c.__P === e && (t.__e && i.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = i)), t;
1700
+ }
1701
+ function Pt() {
1702
+ this.__u = 0, this.t = null, this.__b = null;
1745
1703
  }
1746
1704
  function Ia(t) {
1747
- for (var e = t.s; e !== void 0; e = e.n) {
1748
- var i = e.S.n;
1749
- if (i !== void 0 && (e.r = i), e.S.n = e, e.i = -1, e.n === void 0) {
1750
- t.s = e;
1751
- break;
1752
- }
1753
- }
1705
+ var e = t.__.__c;
1706
+ return e && e.__a && e.__a(t);
1754
1707
  }
1755
1708
  function Aa(t) {
1756
- for (var e = t.s, i = void 0; e !== void 0; ) {
1757
- var a = e.p;
1758
- 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;
1709
+ var e, i, a;
1710
+ function o(n) {
1711
+ if (e || (e = t()).then(function(r) {
1712
+ i = r.default || r;
1713
+ }, function(r) {
1714
+ a = r;
1715
+ }), a)
1716
+ throw a;
1717
+ if (!i)
1718
+ throw e;
1719
+ return B(i, n);
1759
1720
  }
1760
- t.s = i;
1721
+ return o.displayName = "Lazy", o.__f = !0, o;
1761
1722
  }
1762
- function mt(t) {
1763
- D.call(this, void 0), this.x = t, this.s = void 0, this.g = Yt - 1, this.f = 4;
1723
+ function St() {
1724
+ this.u = null, this.o = null;
1764
1725
  }
1765
- (mt.prototype = new D()).h = function() {
1766
- if (this.f &= -3, 1 & this.f)
1767
- return !1;
1768
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === Yt))
1769
- return !0;
1770
- if (this.g = Yt, this.f |= 1, this.i > 0 && !Ta(this))
1771
- return this.f &= -2, !0;
1772
- var t = $;
1773
- try {
1774
- Ia(this), $ = this;
1775
- var e = this.x();
1776
- (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
1777
- } catch (i) {
1778
- this.v = i, this.f |= 16, this.i++;
1779
- }
1780
- return $ = t, Aa(this), this.f &= -2, !0;
1781
- };
1782
- mt.prototype.S = function(t) {
1783
- if (this.t === void 0) {
1784
- this.f |= 36;
1785
- for (var e = this.s; e !== void 0; e = e.n)
1786
- e.S.S(e);
1787
- }
1788
- D.prototype.S.call(this, t);
1789
- };
1790
- mt.prototype.U = function(t) {
1791
- if (this.t !== void 0 && (D.prototype.U.call(this, t), this.t === void 0)) {
1792
- this.f &= -33;
1793
- for (var e = this.s; e !== void 0; e = e.n)
1794
- e.S.U(e);
1726
+ w.unmount = function(t) {
1727
+ var e = t.__c;
1728
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), gi && gi(t);
1729
+ }, (Pt.prototype = new V()).__c = function(t, e) {
1730
+ var i = e.__c, a = this;
1731
+ a.t == null && (a.t = []), a.t.push(i);
1732
+ var o = Ia(a.__v), n = !1, r = function() {
1733
+ n || (n = !0, i.__R = null, o ? o(s) : s());
1734
+ };
1735
+ i.__R = r;
1736
+ var s = function() {
1737
+ if (!--a.__u) {
1738
+ if (a.state.__a) {
1739
+ var d = a.state.__a;
1740
+ a.__v.__k[0] = Ta(d, d.__c.__P, d.__c.__O);
1741
+ }
1742
+ var u;
1743
+ for (a.setState({ __a: a.__b = null }); u = a.t.pop(); )
1744
+ u.forceUpdate();
1745
+ }
1746
+ }, l = e.__h === !0;
1747
+ a.__u++ || l || a.setState({ __a: a.__b = a.__v.__k[0] }), t.then(r, r);
1748
+ }, Pt.prototype.componentWillUnmount = function() {
1749
+ this.t = [];
1750
+ }, Pt.prototype.render = function(t, e) {
1751
+ if (this.__b) {
1752
+ if (this.__v.__k) {
1753
+ var i = document.createElement("div"), a = this.__v.__k[0].__c;
1754
+ this.__v.__k[0] = Pa(this.__b, i, a.__O = a.__P);
1755
+ }
1756
+ this.__b = null;
1795
1757
  }
1758
+ var o = e.__a && B(K, null, t.fallback);
1759
+ return o && (o.__h = null), [B(K, null, e.__a ? null : t.children), o];
1796
1760
  };
1797
- mt.prototype.N = function() {
1798
- if (!(2 & this.f)) {
1799
- this.f |= 6;
1800
- for (var t = this.t; t !== void 0; t = t.x)
1801
- t.t.N();
1802
- }
1761
+ var bi = function(t, e, i) {
1762
+ if (++i[1] === i[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size))
1763
+ for (i = t.u; i; ) {
1764
+ for (; i.length > 3; )
1765
+ i.pop()();
1766
+ if (i[1] < i[0])
1767
+ break;
1768
+ t.u = i = i[2];
1769
+ }
1803
1770
  };
1804
- Object.defineProperty(mt.prototype, "value", { get: function() {
1805
- if (1 & this.f)
1806
- throw new Error("Cycle detected");
1807
- var t = Pa(this);
1808
- if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f)
1809
- throw this.v;
1810
- return this.v;
1811
- } });
1812
- function jn(t) {
1813
- return new mt(t);
1771
+ function ln(t) {
1772
+ return this.getChildContext = function() {
1773
+ return t.context;
1774
+ }, t.children;
1775
+ }
1776
+ function cn(t) {
1777
+ var e = this, i = t.i;
1778
+ e.componentWillUnmount = function() {
1779
+ ut(null, e.l), e.l = null, e.i = null;
1780
+ }, e.i && e.i !== i && e.componentWillUnmount(), t.__v ? (e.l || (e.i = i, e.l = { nodeType: 1, parentNode: i, childNodes: [], appendChild: function(a) {
1781
+ this.childNodes.push(a), e.i.appendChild(a);
1782
+ }, insertBefore: function(a, o) {
1783
+ this.childNodes.push(a), e.i.appendChild(a);
1784
+ }, removeChild: function(a) {
1785
+ this.childNodes.splice(this.childNodes.indexOf(a) >>> 1, 1), e.i.removeChild(a);
1786
+ } }), ut(B(ln, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
1787
+ }
1788
+ function dn(t, e) {
1789
+ var i = B(cn, { __v: t, i: e });
1790
+ return i.containerInfo = e, i;
1791
+ }
1792
+ (St.prototype = new V()).__a = function(t) {
1793
+ var e = this, i = Ia(e.__v), a = e.o.get(t);
1794
+ return a[0]++, function(o) {
1795
+ var n = function() {
1796
+ e.props.revealOrder ? (a.push(o), bi(e, t, a)) : o();
1797
+ };
1798
+ i ? i(n) : n();
1799
+ };
1800
+ }, St.prototype.render = function(t) {
1801
+ this.u = null, this.o = /* @__PURE__ */ new Map();
1802
+ var e = tt(t.children);
1803
+ t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
1804
+ for (var i = e.length; i--; )
1805
+ this.o.set(e[i], this.u = [1, 0, this.u]);
1806
+ return t.children;
1807
+ }, St.prototype.componentDidUpdate = St.prototype.componentDidMount = function() {
1808
+ var t = this;
1809
+ this.o.forEach(function(e, i) {
1810
+ bi(t, i, e);
1811
+ });
1812
+ };
1813
+ var ja = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, un = /^(?: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]/, pn = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, hn = /[A-Z0-9]/g, fn = typeof document < "u", wn = function(t) {
1814
+ return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
1815
+ };
1816
+ function gn(t, e, i) {
1817
+ return e.__k == null && (e.textContent = ""), ut(t, e), typeof i == "function" && i(), t ? t.__c : null;
1814
1818
  }
1815
- function ja(t) {
1816
- var e = t.u;
1817
- if (t.u = void 0, typeof e == "function") {
1818
- gt++;
1819
- var i = $;
1820
- $ = void 0;
1821
- try {
1822
- e();
1823
- } catch (a) {
1824
- throw t.f &= -2, t.f |= 8, Ye(t), a;
1825
- } finally {
1826
- $ = i, Ve();
1827
- }
1828
- }
1819
+ function bn(t, e, i) {
1820
+ return la(t, e), typeof i == "function" && i(), t ? t.__c : null;
1829
1821
  }
1830
- function Ye(t) {
1831
- for (var e = t.s; e !== void 0; e = e.n)
1832
- e.S.U(e);
1833
- t.x = void 0, t.s = void 0, ja(t);
1822
+ V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1823
+ Object.defineProperty(V.prototype, t, { configurable: !0, get: function() {
1824
+ return this["UNSAFE_" + t];
1825
+ }, set: function(e) {
1826
+ Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
1827
+ } });
1828
+ });
1829
+ var vi = w.event;
1830
+ function vn() {
1834
1831
  }
1835
- function zn(t) {
1836
- if ($ !== this)
1837
- throw new Error("Out-of-order effect");
1838
- Aa(this), $ = t, this.f &= -2, 8 & this.f && Ye(this), Ve();
1832
+ function _n() {
1833
+ return this.cancelBubble;
1839
1834
  }
1840
- function zt(t) {
1841
- this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
1835
+ function mn() {
1836
+ return this.defaultPrevented;
1842
1837
  }
1843
- zt.prototype.c = function() {
1844
- var t = this.S();
1845
- try {
1846
- if (8 & this.f || this.x === void 0)
1847
- return;
1848
- var e = this.x();
1849
- typeof e == "function" && (this.u = e);
1850
- } finally {
1851
- t();
1852
- }
1838
+ w.event = function(t) {
1839
+ return vi && (t = vi(t)), t.persist = vn, t.isPropagationStopped = _n, t.isDefaultPrevented = mn, t.nativeEvent = t;
1853
1840
  };
1854
- zt.prototype.S = function() {
1855
- if (1 & this.f)
1856
- throw new Error("Cycle detected");
1857
- this.f |= 1, this.f &= -9, ja(this), Ia(this), gt++;
1858
- var t = $;
1859
- return $ = this, zn.bind(this, t);
1841
+ var Ze, yn = { enumerable: !1, configurable: !0, get: function() {
1842
+ return this.class;
1843
+ } }, _i = w.vnode;
1844
+ w.vnode = function(t) {
1845
+ typeof t.type == "string" && function(e) {
1846
+ var i = e.props, a = e.type, o = {};
1847
+ for (var n in i) {
1848
+ var r = i[n];
1849
+ if (!(n === "value" && "defaultValue" in i && r == null || fn && n === "children" && a === "noscript" || n === "class" || n === "className")) {
1850
+ var s = n.toLowerCase();
1851
+ 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" || wn(i.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : pn.test(n) ? n = s : a.indexOf("-") === -1 && un.test(n) ? n = n.replace(hn, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && o[n = s] && (n = "oninputCapture"), o[n] = r;
1852
+ }
1853
+ }
1854
+ a == "select" && o.multiple && Array.isArray(o.value) && (o.value = tt(i.children).forEach(function(l) {
1855
+ l.props.selected = o.value.indexOf(l.props.value) != -1;
1856
+ })), a == "select" && o.defaultValue != null && (o.value = tt(i.children).forEach(function(l) {
1857
+ l.props.selected = o.multiple ? o.defaultValue.indexOf(l.props.value) != -1 : o.defaultValue == l.props.value;
1858
+ })), i.class && !i.className ? (o.class = i.class, Object.defineProperty(o, "className", yn)) : (i.className && !i.class || i.class && i.className) && (o.class = o.className = i.className), e.props = o;
1859
+ }(t), t.$$typeof = ja, _i && _i(t);
1860
1860
  };
1861
- zt.prototype.N = function() {
1862
- 2 & this.f || (this.f |= 2, this.o = Ct, Ct = this);
1861
+ var mi = w.__r;
1862
+ w.__r = function(t) {
1863
+ mi && mi(t), Ze = t.__c;
1863
1864
  };
1864
- zt.prototype.d = function() {
1865
- this.f |= 8, 1 & this.f || Ye(this);
1865
+ var yi = w.diffed;
1866
+ w.diffed = function(t) {
1867
+ yi && yi(t);
1868
+ var e = t.props, i = t.__e;
1869
+ i != null && t.type === "textarea" && "value" in e && e.value !== i.value && (i.value = e.value == null ? "" : e.value), Ze = null;
1866
1870
  };
1867
- function Ke(t) {
1868
- var e = new zt(t);
1869
- try {
1870
- e.c();
1871
- } catch (i) {
1872
- throw e.d(), i;
1873
- }
1874
- return e.d.bind(e);
1871
+ var xn = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1872
+ return Ze.__n[t.__c].props.value;
1873
+ } } } };
1874
+ function kn(t) {
1875
+ return B.bind(null, t);
1875
1876
  }
1876
- var oe;
1877
- function yt(t, e) {
1878
- w[t] = e.bind(null, w[t] || function() {
1879
- });
1877
+ function Oa(t) {
1878
+ return !!t && t.$$typeof === ja;
1879
+ }
1880
+ function $n(t) {
1881
+ return Oa(t) ? Io.apply(null, arguments) : t;
1880
1882
  }
1881
- function Kt(t) {
1882
- oe && oe(), oe = t && t.S();
1883
+ function Sn(t) {
1884
+ return !!t.__k && (ut(null, t), !0);
1885
+ }
1886
+ function Cn(t) {
1887
+ return t && (t.base || t.nodeType === 1 && t) || null;
1883
1888
  }
1889
+ var En = function(t, e) {
1890
+ return t(e);
1891
+ }, Pn = function(t, e) {
1892
+ return t(e);
1893
+ }, Tn = K;
1884
1894
  function za(t) {
1885
- var e = this, i = t.data, a = On(i);
1886
- a.value = i;
1887
- var o = pt(function() {
1888
- for (var n = e.__v; n = n.__; )
1889
- if (n.__c) {
1890
- n.__c.__$f |= 4;
1891
- break;
1892
- }
1893
- return e.__$u.c = function() {
1894
- var r;
1895
- !Ki(o.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = o.peek() : (e.__$f |= 1, e.setState({}));
1896
- }, jn(function() {
1897
- var r = a.value.value;
1898
- return r === 0 ? 0 : r === !0 ? "" : r || "";
1895
+ t();
1896
+ }
1897
+ function In(t) {
1898
+ return t;
1899
+ }
1900
+ function An() {
1901
+ return [!1, za];
1902
+ }
1903
+ var jn = yt;
1904
+ function On(t, e) {
1905
+ var i = e(), a = ua({ h: { __: i, v: e } }), o = a[0].h, n = a[1];
1906
+ return yt(function() {
1907
+ o.__ = i, o.v = e, oe(o.__, e()) || n({ h: o });
1908
+ }, [t, i, e]), Be(function() {
1909
+ return oe(o.__, o.v()) || n({ h: o }), t(function() {
1910
+ oe(o.__, o.v()) || n({ h: o });
1899
1911
  });
1900
- }, []);
1901
- return o.value;
1912
+ }, [t]), i;
1902
1913
  }
1903
- za.displayName = "_st";
1904
- Object.defineProperties(D.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: za }, props: { configurable: !0, get: function() {
1905
- return { data: this };
1906
- } }, __b: { configurable: !0, value: 1 } });
1907
- yt("__b", function(t, e) {
1908
- if (typeof e.type == "string") {
1909
- var i, a = e.props;
1910
- for (var o in a)
1911
- if (o !== "children") {
1912
- var n = a[o];
1913
- n instanceof D && (i || (e.__np = i = {}), i[o] = n, a[o] = n.peek());
1914
- }
1915
- }
1916
- t(e);
1917
- });
1918
- yt("__r", function(t, e) {
1919
- Kt();
1920
- var i, a = e.__c;
1921
- a && (a.__$f &= -2, (i = a.__$u) === void 0 && (a.__$u = i = function(o) {
1922
- var n;
1923
- return Ke(function() {
1924
- n = this;
1925
- }), n.c = function() {
1926
- a.__$f |= 1, a.setState({});
1927
- }, n;
1928
- }())), Kt(i), t(e);
1929
- });
1930
- yt("__e", function(t, e, i, a) {
1931
- Kt(), t(e, i, a);
1932
- });
1933
- yt("diffed", function(t, e) {
1934
- Kt();
1935
- var i;
1936
- if (typeof e.type == "string" && (i = e.__e)) {
1937
- var a = e.__np, o = e.props;
1938
- if (a) {
1939
- var n = i.U;
1940
- if (n)
1941
- for (var r in n) {
1942
- var s = n[r];
1943
- s !== void 0 && !(r in a) && (s.d(), n[r] = void 0);
1914
+ var Qr = { useState: ua, useId: zo, useReducer: pa, useEffect: Be, useLayoutEffect: yt, useInsertionEffect: jn, useTransition: An, useDeferredValue: In, useSyncExternalStore: On, startTransition: za, useRef: _t, useImperativeHandle: Ao, useMemo: pt, useCallback: jo, useContext: ha, useDebugValue: Oo, version: "17.0.2", Children: rn, render: gn, hydrate: bn, unmountComponentAtNode: Sn, createPortal: dn, createElement: B, createContext: ca, createFactory: kn, cloneElement: $n, createRef: So, Fragment: K, isValidElement: Oa, findDOMNode: Cn, Component: V, PureComponent: xe, memo: an, forwardRef: nn, flushSync: Pn, unstable_batchedUpdates: En, StrictMode: Tn, Suspense: Pt, SuspenseList: St, lazy: Aa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: xn }, zn = ["other", "few", "many", "two", "one", "zero"], xi = ({
1915
+ terms: t,
1916
+ overrides: e,
1917
+ locale: i
1918
+ }) => {
1919
+ const a = new Intl.PluralRules(i);
1920
+ function o(n, r) {
1921
+ const s = (e == null ? void 0 : e[n]) ?? t[n];
1922
+ switch (typeof s) {
1923
+ case "string":
1924
+ return s.replace(/{{(\w+)}}/g, (l, d) => {
1925
+ var u;
1926
+ return ((u = r == null ? void 0 : r[d]) == null ? void 0 : u.toString()) ?? "";
1927
+ });
1928
+ case "object": {
1929
+ if (typeof (r == null ? void 0 : r.count) != "number")
1930
+ throw new Error(`Missing count for translation key “${n.toString()}”`);
1931
+ let l = a.select(r.count);
1932
+ if (!(l in s)) {
1933
+ const d = zn.find((u) => u in s);
1934
+ if (!d)
1935
+ throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
1936
+ l = d;
1944
1937
  }
1945
- else
1946
- i.U = n = {};
1947
- for (var l in a) {
1948
- var d = n[l], u = a[l];
1949
- d === void 0 ? (d = Dn(i, l, u, o), n[l] = d) : d.o(u, o);
1938
+ return s[l].replace(/{{(\w+)}}/g, (d, u) => {
1939
+ var c;
1940
+ return ((c = r == null ? void 0 : r[u]) == null ? void 0 : c.toString()) ?? "";
1941
+ });
1950
1942
  }
1943
+ default:
1944
+ throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`);
1951
1945
  }
1952
1946
  }
1953
- t(e);
1954
- });
1955
- function Dn(t, e, i, a) {
1956
- var o = e in t && t.ownerSVGElement === void 0, n = W(i);
1957
- return { o: function(r, s) {
1958
- n.value = r, a = s;
1959
- }, d: Ke(function() {
1960
- var r = n.value.value;
1961
- a[e] !== r && (a[e] = r, o ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
1962
- }) };
1947
+ return o;
1948
+ }, Dn = 0;
1949
+ function p(t, e, i, a, o, n) {
1950
+ var r, s, l = {};
1951
+ for (s in e)
1952
+ s == "ref" ? r = e[s] : l[s] = e[s];
1953
+ var d = { type: t, props: l, key: i, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Dn, __source: o, __self: n };
1954
+ if (typeof t == "function" && (r = t.defaultProps))
1955
+ for (s in r)
1956
+ l[s] === void 0 && (l[s] = r[s]);
1957
+ return w.vnode && w.vnode(d), d;
1963
1958
  }
1964
- yt("unmount", function(t, e) {
1965
- if (typeof e.type == "string") {
1966
- var i = e.__e;
1967
- if (i) {
1968
- var a = i.U;
1969
- if (a) {
1970
- i.U = void 0;
1971
- for (var o in a) {
1972
- var n = a[o];
1973
- n && n.d();
1974
- }
1975
- }
1976
- }
1977
- } else {
1978
- var r = e.__c;
1979
- if (r) {
1980
- var s = r.__$u;
1981
- s && (r.__$u = void 0, s.d());
1982
- }
1959
+ var ki = ca(null), Da = (t) => ({
1960
+ defaultTerms: t,
1961
+ TranslationProvider: ({ terms: e, children: i, locale: a }) => {
1962
+ const o = pt(() => xi({ locale: a, terms: t, overrides: e }), [e, a]);
1963
+ return /* @__PURE__ */ p(ki.Provider, { value: { t: o, locale: a }, children: i });
1964
+ },
1965
+ useTranslation: () => {
1966
+ const e = ha(ki);
1967
+ if (e === null)
1968
+ throw new Error("Please wrap useTranslation in a TranslationProvider");
1969
+ return { t: e.t, locale: e.locale };
1970
+ },
1971
+ createTFunction: ({
1972
+ overrides: e,
1973
+ locale: i
1974
+ }) => xi({ terms: t, overrides: e, locale: i })
1975
+ }), Nn = { conversation_history: "Conversation history", jump_to_current: "Jump to current question", send: "Send", submitting: "Sending your application…", skip: "Skip", skipped: "Skipped", submission_closed: "Sorry, this role closed while you were applying.", submission_duplicate_earlier_attempt: "You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.", submission_failed: "We couldn't submit your application. Choose Restart to try again.", submission_unknown_do_not_resubmit: "We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.", submission_unreadable_document: "We couldn't read that file. Please upload a different one.", submission_cooldown: { one: "Submit will be available again in {{count}} second.", other: "Submit will be available again in {{count}} seconds." }, submission_cooldown_ready: "Submit is available again.", captcha_check: "One quick check before we send your application", submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.", file_preparing: { one: "Preparing your file…", other: "Preparing your files…" }, file_ready: { one: "Your file is ready to send", other: "Your files are ready to send" }, file_read_error: "We couldn't read this file. Select it again or choose another file.", file_read_error_replacement: "We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.", address_error: "We couldn't search for that address. Try again, or fill it in manually.", address_searching: "Searching addresses…", address_no_results: "We couldn't find that address. Check the spelling or postcode, or fill it in manually.", restart: "Restart", chat_messages: "Chat messages", file_name: "File name", file_size: "File size", file_total_size: "{{size}} total", loading: "Loading", minimize: "Minimise" }, { TranslationProvider: ts, useTranslation: es, createTFunction: is, defaultTerms: Fn } = Da({ submission_redirect_message: "One last step: finish your application on the employer's site.", complete_submission: "Continue on the employer's site", 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}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.", submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. 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_whole: "Enter a whole number", 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" });
1976
+ const {
1977
+ TranslationProvider: Mn,
1978
+ useTranslation: Xt,
1979
+ createTFunction: as
1980
+ } = Da({
1981
+ ...Fn,
1982
+ ...Nn,
1983
+ error_heading: "Something unexpected happened",
1984
+ flow_closed: "This role is no longer accepting applications.",
1985
+ undo: "Change answer",
1986
+ job_alerts_offer: "Want to hear about similar roles? We can email you at {{email}} when new ones open.",
1987
+ job_alerts_accept: "Get job alerts",
1988
+ job_alerts_decline: "No thanks",
1989
+ job_alerts_privacy: "We'll use your email only for these alerts. You can unsubscribe at any time.",
1990
+ job_alerts_success: "Done. We'll email you about similar roles.",
1991
+ job_alerts_error: "Sorry, we couldn't set that up. Please try again later.",
1992
+ submission_duplicate: "You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",
1993
+ submission_retryable: "We couldn't submit your application. Please try again.",
1994
+ submission_unknown: "We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",
1995
+ maximize: "Maximise",
1996
+ submit: "Submit",
1997
+ file_more: {
1998
+ one: "+{{count}} file",
1999
+ other: "+{{count}} files"
1983
2000
  }
1984
- t(e);
1985
- });
1986
- yt("__h", function(t, e, i, a) {
1987
- (a < 3 || a === 9) && (e.__$f |= 2), t(e, i, a);
1988
2001
  });
1989
- V.prototype.shouldComponentUpdate = function(t, e) {
1990
- var i = this.__$u;
1991
- if (!(i && i.s !== void 0 || 4 & this.__$f) || 3 & this.__$f)
1992
- return !0;
1993
- for (var a in e)
1994
- return !0;
1995
- for (var o in t)
1996
- if (o !== "__source" && t[o] !== this.props[o])
1997
- return !0;
1998
- for (var n in this.props)
1999
- if (!(n in t))
2000
- return !0;
2001
- return !1;
2002
- };
2003
- function On(t) {
2004
- return pt(function() {
2005
- return W(t);
2006
- }, []);
2002
+ function Na(t, e) {
2003
+ if (!t)
2004
+ throw new Error(e);
2007
2005
  }
2006
+ var ke = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(ke) : Object.keys(t).sort().reduce((e, i) => (e[i] = ke(t[i]), e), {}), Rn = (t) => {
2007
+ let e = JSON.stringify(ke(t)), i = 5381;
2008
+ for (let a = 0; a < e.length; a++)
2009
+ i = i * 33 ^ e.charCodeAt(a);
2010
+ return (i >>> 0).toString(36);
2011
+ };
2008
2012
  const $e = (t, e) => e.some((i) => t instanceof i);
2009
- let _i, mi;
2010
- function Nn() {
2011
- return _i || (_i = [
2013
+ let $i, Si;
2014
+ function Ln() {
2015
+ return $i || ($i = [
2012
2016
  IDBDatabase,
2013
2017
  IDBObjectStore,
2014
2018
  IDBIndex,
@@ -2016,15 +2020,15 @@ function Nn() {
2016
2020
  IDBTransaction
2017
2021
  ]);
2018
2022
  }
2019
- function Fn() {
2020
- return mi || (mi = [
2023
+ function Bn() {
2024
+ return Si || (Si = [
2021
2025
  IDBCursor.prototype.advance,
2022
2026
  IDBCursor.prototype.continue,
2023
2027
  IDBCursor.prototype.continuePrimaryKey
2024
2028
  ]);
2025
2029
  }
2026
2030
  const Se = /* @__PURE__ */ new WeakMap(), ne = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap();
2027
- function Mn(t) {
2031
+ function Hn(t) {
2028
2032
  const e = new Promise((i, a) => {
2029
2033
  const o = () => {
2030
2034
  t.removeEventListener("success", n), t.removeEventListener("error", r);
@@ -2037,7 +2041,7 @@ function Mn(t) {
2037
2041
  });
2038
2042
  return Jt.set(e, t), e;
2039
2043
  }
2040
- function Rn(t) {
2044
+ function Un(t) {
2041
2045
  if (Se.has(t))
2042
2046
  return;
2043
2047
  const e = new Promise((i, a) => {
@@ -2069,29 +2073,29 @@ let Ce = {
2069
2073
  return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
2070
2074
  }
2071
2075
  };
2072
- function Da(t) {
2076
+ function Fa(t) {
2073
2077
  Ce = t(Ce);
2074
2078
  }
2075
- function Ln(t) {
2076
- return Fn().includes(t) ? function(...e) {
2079
+ function Wn(t) {
2080
+ return Bn().includes(t) ? function(...e) {
2077
2081
  return t.apply(Ee(this), e), ct(this.request);
2078
2082
  } : function(...e) {
2079
2083
  return ct(t.apply(Ee(this), e));
2080
2084
  };
2081
2085
  }
2082
- function Bn(t) {
2083
- return typeof t == "function" ? Ln(t) : (t instanceof IDBTransaction && Rn(t), $e(t, Nn()) ? new Proxy(t, Ce) : t);
2086
+ function Vn(t) {
2087
+ return typeof t == "function" ? Wn(t) : (t instanceof IDBTransaction && Un(t), $e(t, Ln()) ? new Proxy(t, Ce) : t);
2084
2088
  }
2085
2089
  function ct(t) {
2086
2090
  if (t instanceof IDBRequest)
2087
- return Mn(t);
2091
+ return Hn(t);
2088
2092
  if (ne.has(t))
2089
2093
  return ne.get(t);
2090
- const e = Bn(t);
2094
+ const e = Vn(t);
2091
2095
  return e !== t && (ne.set(t, e), Jt.set(e, t)), e;
2092
2096
  }
2093
2097
  const Ee = (t) => Jt.get(t);
2094
- function Hn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
2098
+ function Yn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
2095
2099
  const r = indexedDB.open(t, e), s = ct(r);
2096
2100
  return a && r.addEventListener("upgradeneeded", (l) => {
2097
2101
  a(ct(r.result), l.oldVersion, l.newVersion, ct(r.transaction), l);
@@ -2105,16 +2109,16 @@ function Hn(t, e, { blocked: i, upgrade: a, blocking: o, terminated: n } = {}) {
2105
2109
  }).catch(() => {
2106
2110
  }), s;
2107
2111
  }
2108
- const Un = ["get", "getKey", "getAll", "getAllKeys", "count"], Wn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
2109
- function yi(t, e) {
2112
+ const Kn = ["get", "getKey", "getAll", "getAllKeys", "count"], qn = ["put", "add", "delete", "clear"], re = /* @__PURE__ */ new Map();
2113
+ function Ci(t, e) {
2110
2114
  if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
2111
2115
  return;
2112
2116
  if (re.get(e))
2113
2117
  return re.get(e);
2114
- const i = e.replace(/FromIndex$/, ""), a = e !== i, o = Wn.includes(i);
2118
+ const i = e.replace(/FromIndex$/, ""), a = e !== i, o = qn.includes(i);
2115
2119
  if (
2116
2120
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
2117
- !(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Un.includes(i))
2121
+ !(i in (a ? IDBIndex : IDBObjectStore).prototype) || !(o || Kn.includes(i))
2118
2122
  )
2119
2123
  return;
2120
2124
  const n = async function(r, ...s) {
@@ -2127,43 +2131,43 @@ function yi(t, e) {
2127
2131
  };
2128
2132
  return re.set(e, n), n;
2129
2133
  }
2130
- Da((t) => ({
2134
+ Fa((t) => ({
2131
2135
  ...t,
2132
- get: (e, i, a) => yi(e, i) || t.get(e, i, a),
2133
- has: (e, i) => !!yi(e, i) || t.has(e, i)
2136
+ get: (e, i, a) => Ci(e, i) || t.get(e, i, a),
2137
+ has: (e, i) => !!Ci(e, i) || t.has(e, i)
2134
2138
  }));
2135
- const Vn = ["continue", "continuePrimaryKey", "advance"], xi = {}, Pe = /* @__PURE__ */ new WeakMap(), Oa = /* @__PURE__ */ new WeakMap(), Yn = {
2139
+ const Gn = ["continue", "continuePrimaryKey", "advance"], Ei = {}, Pe = /* @__PURE__ */ new WeakMap(), Ma = /* @__PURE__ */ new WeakMap(), Zn = {
2136
2140
  get(t, e) {
2137
- if (!Vn.includes(e))
2141
+ if (!Gn.includes(e))
2138
2142
  return t[e];
2139
- let i = xi[e];
2140
- return i || (i = xi[e] = function(...a) {
2141
- Pe.set(this, Oa.get(this)[e](...a));
2143
+ let i = Ei[e];
2144
+ return i || (i = Ei[e] = function(...a) {
2145
+ Pe.set(this, Ma.get(this)[e](...a));
2142
2146
  }), i;
2143
2147
  }
2144
2148
  };
2145
- async function* Kn(...t) {
2149
+ async function* Xn(...t) {
2146
2150
  let e = this;
2147
2151
  if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
2148
2152
  return;
2149
2153
  e = e;
2150
- const i = new Proxy(e, Yn);
2151
- for (Oa.set(i, e), Jt.set(i, Ee(e)); e; )
2154
+ const i = new Proxy(e, Zn);
2155
+ for (Ma.set(i, e), Jt.set(i, Ee(e)); e; )
2152
2156
  yield i, e = await (Pe.get(i) || e.continue()), Pe.delete(i);
2153
2157
  }
2154
- function ki(t, e) {
2158
+ function Pi(t, e) {
2155
2159
  return e === Symbol.asyncIterator && $e(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && $e(t, [IDBIndex, IDBObjectStore]);
2156
2160
  }
2157
- Da((t) => ({
2161
+ Fa((t) => ({
2158
2162
  ...t,
2159
2163
  get(e, i, a) {
2160
- return ki(e, i) ? Kn : t.get(e, i, a);
2164
+ return Pi(e, i) ? Xn : t.get(e, i, a);
2161
2165
  },
2162
2166
  has(e, i) {
2163
- return ki(e, i) || t.has(e, i);
2167
+ return Pi(e, i) || t.has(e, i);
2164
2168
  }
2165
2169
  }));
2166
- const Et = typeof indexedDB > "u" ? void 0 : Hn("inploi-chatbot", 3, {
2170
+ const Tt = typeof indexedDB > "u" ? void 0 : Yn("inploi-chatbot", 3, {
2167
2171
  upgrade(t) {
2168
2172
  try {
2169
2173
  t.deleteObjectStore("state");
@@ -2171,7 +2175,7 @@ const Et = typeof indexedDB > "u" ? void 0 : Hn("inploi-chatbot", 3, {
2171
2175
  }
2172
2176
  t.createObjectStore("state");
2173
2177
  }
2174
- }), qn = (t) => ({
2178
+ }), Jn = (t) => ({
2175
2179
  ...t,
2176
2180
  messages: t.messages.map((e) => {
2177
2181
  if (e.type !== "link")
@@ -2183,17 +2187,17 @@ const Et = typeof indexedDB > "u" ? void 0 : Hn("inploi-chatbot", 3, {
2183
2187
  return a;
2184
2188
  })
2185
2189
  });
2186
- let Mt, se, xt;
2187
- const $i = () => {
2190
+ let Mt, se, $t;
2191
+ const Ti = () => {
2188
2192
  if (!Mt)
2189
- return xt;
2193
+ return $t;
2190
2194
  const t = Mt;
2191
2195
  Mt = void 0;
2192
- const e = qt(t), i = Et == null ? void 0 : Et.then((a) => a.put("state", qn(t.data), e)).finally(() => {
2193
- xt === i && (xt = void 0);
2196
+ const e = qt(t), i = Tt == null ? void 0 : Tt.then((a) => a.put("state", Jn(t.data), e)).finally(() => {
2197
+ $t === i && ($t = void 0);
2194
2198
  });
2195
- return xt = i, xt;
2196
- }, H = {
2199
+ return $t = i, $t;
2200
+ }, U = {
2197
2201
  getStateData: async (t, e, i) => {
2198
2202
  var o;
2199
2203
  const a = qt({
@@ -2201,18 +2205,18 @@ const $i = () => {
2201
2205
  flowKeys: e,
2202
2206
  context: i
2203
2207
  });
2204
- return (o = await Et) == null ? void 0 : o.get("state", a);
2208
+ return (o = await Tt) == null ? void 0 : o.get("state", a);
2205
2209
  },
2206
2210
  /** Every application saved in this browser, whatever its job or flow. */
2207
2211
  getAllStateData: async () => {
2208
2212
  var t;
2209
- return ((t = await Et) == null ? void 0 : t.getAll("state")) ?? [];
2213
+ return ((t = await Tt) == null ? void 0 : t.getAll("state")) ?? [];
2210
2214
  },
2211
2215
  setStateData: (t) => {
2212
- Mt = t, clearTimeout(se), se = setTimeout(() => void $i(), 1e3);
2216
+ Mt = t, clearTimeout(se), se = setTimeout(() => void Ti(), 1e3);
2213
2217
  },
2214
- flushStateData: () => (clearTimeout(se), $i() ?? Promise.resolve())
2215
- }, ts = (t) => (e) => e ? e.type === t : !1, Gn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Si = () => ({
2218
+ flushStateData: () => (clearTimeout(se), Ti() ?? Promise.resolve())
2219
+ }, os = (t) => (e) => e ? e.type === t : !1, Qn = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Ii = () => ({
2216
2220
  messages: [],
2217
2221
  submissions: {},
2218
2222
  currentInput: null,
@@ -2221,10 +2225,10 @@ const $i = () => {
2221
2225
  isFinished: !1,
2222
2226
  hasInteracted: !1,
2223
2227
  sequence: 0,
2224
- flowSessionId: Gn()
2225
- }), es = (t) => (
2228
+ flowSessionId: Qn()
2229
+ }), ns = (t) => (
2226
2230
  /** nativeEvent is a hidden property not exposed by JSX's typings */
2227
- Le(t).with({
2231
+ Ke(t).with({
2228
2232
  nativeEvent: {
2229
2233
  submitter: ft.select(ft.union(ft.instanceOf(HTMLButtonElement), ft.instanceOf(HTMLInputElement)))
2230
2234
  }
@@ -2265,23 +2269,23 @@ const $i = () => {
2265
2269
  stepsMade: a,
2266
2270
  remainingSteps: l
2267
2271
  };
2268
- }, Zn = (t) => {
2272
+ }, tr = (t) => {
2269
2273
  const e = {}, i = t.find((a) => a.isHead);
2270
2274
  return i && Rt(t, i, (a, o) => {
2271
2275
  e[a] = o;
2272
2276
  }), e;
2273
- }, qt = (t) => [...t.flowKeys, t.id, t.version, t.build, In(t.context)].join("/"), Xn = ({
2277
+ }, qt = (t) => [...t.flowKeys, t.id, t.version, t.build, Rn(t.hostContext ?? t.context)].join("/"), er = ({
2274
2278
  data: t,
2275
2279
  nodes: e
2276
2280
  }) => {
2277
2281
  const i = t.startedWriteNodeIds === void 0 ? e.some((a) => a.type === "integration-application-submit" && t.nodeHistory.includes(a.id)) : t.startedWriteNodeIds.length > 0;
2278
- return !t.isFinished && !i && Bi(e, t.submissions);
2279
- }, Ci = ({
2282
+ return !t.isFinished && !i && Vi(e, t.submissions);
2283
+ }, Ai = ({
2280
2284
  data: t,
2281
2285
  nodes: e
2282
2286
  }) => {
2283
2287
  var i;
2284
- return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || Bi(e, t.submissions));
2288
+ return !t.isFinished && ((((i = t.startedWriteNodeIds) == null ? void 0 : i.length) ?? 0) > 0 || Vi(e, t.submissions));
2285
2289
  }, X = W({
2286
2290
  state: "idle"
2287
2291
  }), le = /* @__PURE__ */ new Set(), st = (t) => {
@@ -2291,12 +2295,12 @@ const $i = () => {
2291
2295
  } = X.value;
2292
2296
  if (e !== "loaded")
2293
2297
  return;
2294
- Ea(i, "No flow to update");
2298
+ Na(i, "No flow to update");
2295
2299
  const a = t(i.data);
2296
2300
  i.data = a, X.value = {
2297
2301
  state: e,
2298
2302
  flow: i
2299
- }, H.setStateData(i);
2303
+ }, U.setStateData(i);
2300
2304
  }, S = {
2301
2305
  current$: X,
2302
2306
  viewState$: W("closed"),
@@ -2304,45 +2308,47 @@ const $i = () => {
2304
2308
  jobAlerts: t,
2305
2309
  flow: e,
2306
2310
  context: i = {},
2307
- flowKeys: a,
2308
- title: o,
2309
- analytics: n,
2310
- job: r,
2311
- locationOrigin: s
2311
+ jobContext: a,
2312
+ flowKeys: o,
2313
+ title: n,
2314
+ analytics: r,
2315
+ job: s,
2316
+ locationOrigin: l
2312
2317
  }) => {
2313
- await H.flushStateData().catch(() => {
2318
+ await U.flushStateData().catch(() => {
2314
2319
  });
2315
- const l = await H.getStateData(e, a, i), d = l ?? Si(), u = qt({
2320
+ const d = await U.getStateData(e, o, i), u = d ?? Ii(), c = qt({
2316
2321
  ...e,
2317
- flowKeys: a,
2322
+ flowKeys: o,
2318
2323
  context: i
2319
- }), c = l !== void 0 && !le.has(u) && Xn({
2320
- data: d,
2324
+ }), f = d !== void 0 && !le.has(c) && er({
2325
+ data: u,
2321
2326
  nodes: e.nodes
2322
2327
  });
2323
- return c || le.add(u), {
2328
+ return f || le.add(c), {
2324
2329
  jobAlerts: t,
2325
- data: d,
2326
- offerResume: c,
2330
+ data: u,
2331
+ offerResume: f,
2327
2332
  startedAt: /* @__PURE__ */ new Date(),
2328
- nodeIdToProgress: Zn(e.nodes),
2329
- flowKeys: a,
2333
+ nodeIdToProgress: tr(e.nodes),
2334
+ flowKeys: o,
2330
2335
  id: e.id,
2331
2336
  version: e.version,
2332
2337
  nodes: e.nodes,
2333
2338
  build: e.build,
2334
- context: i,
2335
- title: o,
2336
- analytics: n,
2337
- job: r,
2338
- locationOrigin: s
2339
+ context: a === void 0 ? i : Me(a, i),
2340
+ hostContext: a === void 0 ? void 0 : i,
2341
+ title: n,
2342
+ analytics: r,
2343
+ job: s,
2344
+ locationOrigin: l
2339
2345
  };
2340
2346
  },
2341
2347
  commitFlow: (t) => {
2342
2348
  X.value = {
2343
2349
  state: "loaded",
2344
2350
  flow: t
2345
- }, H.setStateData(t);
2351
+ }, U.setStateData(t);
2346
2352
  },
2347
2353
  /** The candidate chose to continue or start again, so this page does not ask about this application again. */
2348
2354
  settleResume: (t) => {
@@ -2363,7 +2369,7 @@ const $i = () => {
2363
2369
  })),
2364
2370
  setCurrentNodeId: (t) => st((e) => (e.nodeHistory.push(t), e)),
2365
2371
  setApplicationRecovery: async (t) => {
2366
- st((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await H.flushStateData();
2372
+ st((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await U.flushStateData();
2367
2373
  },
2368
2374
  restart: () => {
2369
2375
  const {
@@ -2373,7 +2379,7 @@ const $i = () => {
2373
2379
  if (t !== "loaded")
2374
2380
  throw new Error("Flow cannot be restarted: not in valid state");
2375
2381
  const i = {
2376
- ...Si(),
2382
+ ...Ii(),
2377
2383
  failedAttemptAt: e.data.failedAttemptAt,
2378
2384
  unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys,
2379
2385
  submitCooldown: e.data.submitCooldown
@@ -2386,7 +2392,7 @@ const $i = () => {
2386
2392
  X.value = {
2387
2393
  state: t,
2388
2394
  flow: a
2389
- }, H.setStateData(a);
2395
+ }, U.setStateData(a);
2390
2396
  },
2391
2397
  addMessage: (t, e) => {
2392
2398
  const i = {
@@ -2401,9 +2407,9 @@ const $i = () => {
2401
2407
  state: e,
2402
2408
  flow: i
2403
2409
  } = X.value;
2404
- Ea(e === "loaded", "Application not loaded");
2410
+ Na(e === "loaded", "Application not loaded");
2405
2411
  const a = i.data.messages.filter((o) => !o.groupId || !t.includes(o.groupId));
2406
- i.data.messages = a, H.setStateData(i);
2412
+ i.data.messages = a, U.setStateData(i);
2407
2413
  },
2408
2414
  setSubmission: (t, e) => st((i) => (e === null ? delete i.submissions[t] : i.submissions[t] = e, i)),
2409
2415
  setInput: (t) => st((e) => ({
@@ -2414,9 +2420,9 @@ const $i = () => {
2414
2420
  X.peek().flow === t && (X.value = {
2415
2421
  state: "loaded",
2416
2422
  flow: t
2417
- }), H.setStateData(t), await H.flushStateData();
2423
+ }), U.setStateData(t), await U.flushStateData();
2418
2424
  }
2419
- }, Ei = ({
2425
+ }, ji = ({
2420
2426
  heading: t
2421
2427
  }) => {
2422
2428
  const {
@@ -2468,7 +2474,7 @@ const $i = () => {
2468
2474
  })
2469
2475
  })]
2470
2476
  });
2471
- }, Jn = (t) => {
2477
+ }, ir = (t) => {
2472
2478
  const {
2473
2479
  t: e
2474
2480
  } = Xt();
@@ -2532,15 +2538,15 @@ const $i = () => {
2532
2538
  })
2533
2539
  })]
2534
2540
  });
2535
- }, Pi = () => p("div", {
2541
+ }, Oi = () => p("div", {
2536
2542
  class: "flex flex-grow flex-col items-center justify-center",
2537
- children: p(Jn, {
2543
+ children: p(ir, {
2538
2544
  class: "text-neutral-6 h-8 w-8"
2539
2545
  })
2540
- }), Qn = (t) => {
2546
+ }), ar = (t) => {
2541
2547
  const i = t / 100, a = 1.3;
2542
2548
  return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - i, a)) * 100)}%`;
2543
- }, tr = He("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
2549
+ }, or = Ge("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
2544
2550
  variants: {
2545
2551
  variant: {
2546
2552
  neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
@@ -2556,7 +2562,7 @@ const $i = () => {
2556
2562
  variant: i,
2557
2563
  ...a
2558
2564
  }) => p("button", {
2559
- class: Be(tr({
2565
+ class: qe(or({
2560
2566
  variant: i
2561
2567
  }), t),
2562
2568
  ...a,
@@ -2572,9 +2578,9 @@ const $i = () => {
2572
2578
  xmlns: "http://www.w3.org/2000/svg",
2573
2579
  children: e
2574
2580
  })
2575
- }), er = () => p("path", {
2581
+ }), nr = () => p("path", {
2576
2582
  d: "M12.5 6.5L8 11L3.5 6.5"
2577
- }), ir = () => {
2583
+ }), rr = () => {
2578
2584
  if (S.current$.value.state !== "loaded")
2579
2585
  return null;
2580
2586
  const t = S.current$.value.flow.nodeIdToProgress, e = S.current$.value.flow.data.nodeHistory.at(-1);
@@ -2588,19 +2594,30 @@ const $i = () => {
2588
2594
  class: "bg-accent-3",
2589
2595
  children: p("div", {
2590
2596
  style: {
2591
- width: Qn(a)
2597
+ width: ar(a)
2592
2598
  },
2593
2599
  class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
2594
2600
  })
2595
2601
  });
2596
- }, ar = ({
2602
+ }, sr = ({
2597
2603
  children: t,
2598
- params: e
2604
+ params: e,
2605
+ analytics: i,
2606
+ feedbackReady: a
2599
2607
  }) => {
2600
2608
  const {
2601
- t: i
2602
- } = Xt(), a = S.viewState$;
2603
- return p(K, {
2609
+ t: o
2610
+ } = Xt(), n = S.viewState$, r = !!e.feedback && S.current$.value.state === "loaded" && n.value === "maximised", s = r && a.value, l = _t(!1);
2611
+ return Be(() => {
2612
+ var d, u;
2613
+ !s || l.current || (l.current = !0, i.log({
2614
+ event: "INTERACTION",
2615
+ properties: {
2616
+ tag: "feedback_shown"
2617
+ },
2618
+ customProperties: (u = (d = S.current$.peek().flow) == null ? void 0 : d.analytics) == null ? void 0 : u.customProperties
2619
+ }));
2620
+ }, [s, i]), p(K, {
2604
2621
  children: p("header", {
2605
2622
  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",
2606
2623
  children: [p("div", {
@@ -2610,9 +2627,9 @@ const $i = () => {
2610
2627
  class: "sr-only",
2611
2628
  children: t
2612
2629
  }), p("button", {
2613
- "aria-label": i("minimize"),
2630
+ "aria-label": o("minimize"),
2614
2631
  onClick: () => {
2615
- a.value = "minimised";
2632
+ n.value = "minimised";
2616
2633
  },
2617
2634
  class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
2618
2635
  onTouchStart: Ie,
@@ -2626,15 +2643,15 @@ const $i = () => {
2626
2643
  children: [e.feedback ? p("div", {
2627
2644
  "data-widget": "inploi-feedback",
2628
2645
  "data-key": "chatbot-header",
2629
- class: Be({
2630
- hidden: S.current$.value.state !== "loaded" || a.value !== "maximised"
2646
+ class: qe({
2647
+ hidden: !r
2631
2648
  }),
2632
2649
  children: p("div", {
2633
2650
  class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"
2634
2651
  })
2635
2652
  }) : null, S.current$.value.state === "loaded" && p(Te, {
2636
2653
  class: "mx-1",
2637
- "aria-label": i("restart"),
2654
+ "aria-label": o("restart"),
2638
2655
  onClick: () => {
2639
2656
  S.restart();
2640
2657
  },
@@ -2646,18 +2663,18 @@ const $i = () => {
2646
2663
  }, "restart"), p(Te, {
2647
2664
  class: "view-switch mx-1",
2648
2665
  onTouchStart: Ie,
2649
- "aria-label": i("minimize"),
2650
- onClick: () => a.value = "minimised",
2651
- children: p(er, {})
2666
+ "aria-label": o("minimize"),
2667
+ onClick: () => n.value = "minimised",
2668
+ children: p(nr, {})
2652
2669
  }, "minmax")]
2653
2670
  })]
2654
- }), p(ir, {})]
2671
+ }), p(rr, {})]
2655
2672
  })
2656
2673
  });
2657
2674
  };
2658
2675
  function Ie() {
2659
2676
  }
2660
- const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBody)), Na = He("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", {
2677
+ const lr = Aa(() => import("./chatbot-body-505ef858.js").then((t) => t.ChatbotBody)), Ra = Ge("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", {
2661
2678
  variants: {
2662
2679
  view: {
2663
2680
  closed: "hidden",
@@ -2665,7 +2682,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2665
2682
  maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
2666
2683
  }
2667
2684
  }
2668
- }), Fa = He("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
2685
+ }), La = Ge("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
2669
2686
  variants: {
2670
2687
  view: {
2671
2688
  closed: "hidden",
@@ -2673,71 +2690,74 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2673
2690
  maximised: "outline-neutral-3 bg-neutral-1 flex-col"
2674
2691
  }
2675
2692
  }
2676
- }), nr = ({
2693
+ }), cr = ({
2677
2694
  open: t,
2678
2695
  ...e
2679
2696
  }) => {
2680
- const i = At(null);
2681
- return _t(() => {
2697
+ const i = _t(null);
2698
+ return yt(() => {
2682
2699
  const a = i.current;
2683
2700
  a && (t ? a.showModal() : a.close());
2684
2701
  }, [t]), p("dialog", {
2685
2702
  ref: i,
2686
2703
  ...e
2687
2704
  });
2688
- }, rr = ({
2705
+ }, dr = ({
2689
2706
  logger: t,
2690
2707
  apiClient: e,
2691
2708
  rpcClient: i,
2692
2709
  analytics: a,
2693
2710
  talentBankClient: o,
2694
- params: n
2711
+ params: n,
2712
+ feedbackReady: r
2695
2713
  }) => {
2696
2714
  const {
2697
- state: r,
2698
- flow: s
2699
- } = S.current$.value, l = S.viewState$.value, d = r !== "idle" && l === "maximised", u = At(null), c = s ? [...s.data.nodeHistory].reverse().map((f) => s.nodes.find((b) => b.id === f)).find((f) => (f == null ? void 0 : f.type) === "flow-section") : void 0;
2700
- return p(Tn, {
2715
+ state: s,
2716
+ flow: l
2717
+ } = S.current$.value, d = S.viewState$.value, u = s !== "idle" && d === "maximised", c = _t(null), f = l ? [...l.data.nodeHistory].reverse().map((g) => l.nodes.find((h) => h.id === g)).find((g) => (g == null ? void 0 : g.type) === "flow-section") : void 0;
2718
+ return p(Mn, {
2701
2719
  terms: n.terms,
2702
2720
  locale: void 0,
2703
- children: [p(nr, {
2704
- open: d,
2721
+ children: [p(cr, {
2722
+ open: u,
2705
2723
  onClose: () => S.viewState$.value = "minimised",
2706
2724
  children: p("div", {
2707
- ref: u,
2725
+ ref: c,
2708
2726
  "aria-modal": "true",
2709
2727
  role: "dialog",
2710
2728
  "aria-labelledby": "chatbot-status-bar",
2711
- class: Na({
2729
+ class: Ra({
2712
2730
  view: "maximised"
2713
2731
  }),
2714
2732
  children: p("div", {
2715
- class: Fa({
2733
+ class: La({
2716
2734
  view: "maximised"
2717
2735
  }),
2718
- children: [p(ar, {
2736
+ children: [p(sr, {
2719
2737
  params: n,
2720
- children: c ? p(K, {
2738
+ analytics: a,
2739
+ feedbackReady: r,
2740
+ children: f ? p(K, {
2721
2741
  children: [p("span", {
2722
2742
  class: "block",
2723
- children: c.data.title
2743
+ children: f.data.title
2724
2744
  }), p("span", {
2725
2745
  class: "block truncate text-xs font-normal",
2726
- children: s == null ? void 0 : s.title
2746
+ children: l == null ? void 0 : l.title
2727
2747
  })]
2728
- }) : s == null ? void 0 : s.title
2729
- }), Le({
2730
- state: r,
2731
- view: l
2748
+ }) : l == null ? void 0 : l.title
2749
+ }), Ke({
2750
+ state: s,
2751
+ view: d
2732
2752
  }).with({
2733
2753
  state: "idle"
2734
2754
  }, () => null).with({
2735
2755
  state: "loading"
2736
- }, () => p(Pi, {}, "loading")).with({
2756
+ }, () => p(Oi, {}, "loading")).with({
2737
2757
  state: "loaded"
2738
- }, () => p(St, {
2739
- fallback: p(Pi, {}, "loading"),
2740
- children: p(or, {
2758
+ }, () => p(Pt, {
2759
+ fallback: p(Oi, {}, "loading"),
2760
+ children: p(lr, {
2741
2761
  rpcClient: i,
2742
2762
  analytics: a,
2743
2763
  apiClient: e,
@@ -2746,32 +2766,32 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2746
2766
  })
2747
2767
  })).with({
2748
2768
  state: "closed"
2749
- }, () => p(Ei, {
2769
+ }, () => p(ji, {
2750
2770
  heading: "flow_closed"
2751
2771
  })).with({
2752
2772
  state: "error"
2753
- }, () => p(Ei, {
2773
+ }, () => p(ji, {
2754
2774
  heading: "error_heading"
2755
2775
  })).exhaustive()]
2756
2776
  })
2757
2777
  })
2758
- }), l === "minimised" ? p(sr, {
2759
- flow: s
2778
+ }), d === "minimised" ? p(ur, {
2779
+ flow: l
2760
2780
  }) : null]
2761
2781
  });
2762
- }, sr = ({
2782
+ }, ur = ({
2763
2783
  flow: t
2764
2784
  }) => {
2765
2785
  const {
2766
2786
  t: e
2767
2787
  } = Xt();
2768
2788
  return p("div", {
2769
- class: Na({
2789
+ class: Ra({
2770
2790
  view: "minimised",
2771
2791
  class: "z-100 isolate"
2772
2792
  }),
2773
2793
  children: p("div", {
2774
- class: Fa({
2794
+ class: La({
2775
2795
  view: "minimised"
2776
2796
  }),
2777
2797
  children: [p("button", {
@@ -2799,18 +2819,18 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2799
2819
  })]
2800
2820
  })
2801
2821
  });
2802
- }, lr = `[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!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-\\[44px\\]{min-height:44px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
2803
- `, Ma = "inploi-chatbot", Ae = `[data-widget='${Ma}']`, cr = () => ({
2822
+ }, pr = `[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-\\[44px\\]{min-height:44px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
2823
+ `, Ba = "inploi-chatbot", Ae = `[data-widget='${Ba}']`, hr = () => ({
2804
2824
  getChatbotElement: () => document.querySelector(Ae),
2805
2825
  getOrCreateChatbotElement: () => {
2806
2826
  const t = document.querySelector(Ae);
2807
2827
  if (t)
2808
2828
  return document.body.appendChild(t), t;
2809
2829
  const e = document.createElement("div");
2810
- return document.body.appendChild(e), e.dataset.widget = Ma, e;
2830
+ return document.body.appendChild(e), e.dataset.widget = Ba, e;
2811
2831
  }
2812
- }), dr = 25, Ra = W(() => {
2813
- }), Ti = ["wheel", "touchmove", "keydown"], ur = (t, e) => new Promise((i, a) => {
2832
+ }), fr = 25, Ha = W(() => {
2833
+ }), zi = ["wheel", "touchmove", "keydown"], wr = (t, e) => new Promise((i, a) => {
2814
2834
  if (e != null && e.aborted)
2815
2835
  return a(new ht());
2816
2836
  const o = setTimeout(i, t);
@@ -2819,7 +2839,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2819
2839
  }, {
2820
2840
  once: !0
2821
2841
  });
2822
- }), B = {
2842
+ }), H = {
2823
2843
  onSubmitSuccessFn$: W(() => {
2824
2844
  }),
2825
2845
  onInteractionFn$: W(() => {
@@ -2829,36 +2849,36 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2829
2849
  captchaVisible$: W(!1),
2830
2850
  themeMode$: W("light"),
2831
2851
  isReadingHistory$: W(!1),
2832
- scrollToEnd: () => Ra.value()
2833
- }, is = () => {
2834
- const t = At(null), e = At(-1 / 0);
2835
- _t(() => {
2852
+ scrollToEnd: () => Ha.value()
2853
+ }, rs = () => {
2854
+ const t = _t(null), e = _t(-1 / 0);
2855
+ yt(() => {
2836
2856
  const a = t.current;
2837
2857
  if (!a)
2838
2858
  return;
2839
2859
  const o = () => {
2840
- B.isReadingHistory$.value = !1, a.scrollTo({
2860
+ H.isReadingHistory$.value = !1, a.scrollTo({
2841
2861
  top: a.scrollHeight,
2842
2862
  behavior: "instant"
2843
2863
  });
2844
2864
  };
2845
- Ra.value = o;
2865
+ Ha.value = o;
2846
2866
  const n = () => e.current = performance.now(), r = () => {
2847
- a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ? B.isReadingHistory$.value = !1 : performance.now() - e.current < 1e3 && (B.isReadingHistory$.value = !0);
2867
+ a.scrollHeight - a.scrollTop - a.clientHeight <= 24 ? H.isReadingHistory$.value = !1 : performance.now() - e.current < 1e3 && (H.isReadingHistory$.value = !0);
2848
2868
  };
2849
2869
  a.addEventListener("scroll", r, {
2850
2870
  passive: !0
2851
2871
  });
2852
- for (const l of Ti)
2872
+ for (const l of zi)
2853
2873
  a.addEventListener(l, n, {
2854
2874
  passive: !0
2855
2875
  });
2856
2876
  const s = new ResizeObserver(() => {
2857
- B.isReadingHistory$.peek() || o();
2877
+ H.isReadingHistory$.peek() || o();
2858
2878
  });
2859
2879
  return s.observe(a), a.firstElementChild && s.observe(a.firstElementChild), () => {
2860
2880
  a.removeEventListener("scroll", r);
2861
- for (const l of Ti)
2881
+ for (const l of zi)
2862
2882
  a.removeEventListener(l, n);
2863
2883
  s.disconnect();
2864
2884
  };
@@ -2871,12 +2891,12 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2871
2891
  return ((o = t.current) == null ? void 0 : o.querySelector("[data-captcha-slot]")) ?? null;
2872
2892
  },
2873
2893
  get theme() {
2874
- return B.themeMode$.peek();
2894
+ return H.themeMode$.peek();
2875
2895
  },
2876
2896
  reveal: (o) => {
2877
- B.captchaVisible$.value = o, o && requestAnimationFrame(() => {
2897
+ H.captchaVisible$.value = o, o && requestAnimationFrame(() => {
2878
2898
  var n, r;
2879
- (r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(), B.scrollToEnd();
2899
+ (r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(), H.scrollToEnd();
2880
2900
  });
2881
2901
  }
2882
2902
  },
@@ -2885,18 +2905,18 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2885
2905
  signal: n,
2886
2906
  groupId: r
2887
2907
  }) => {
2888
- if (await Le(o).with({
2908
+ if (await Ke(o).with({
2889
2909
  author: "bot",
2890
2910
  type: "text"
2891
2911
  }, async (s) => {
2892
2912
  if (n != null && n.aborted)
2893
2913
  throw new ht();
2894
- B.isBotTyping$.value = !0;
2895
- const l = Math.min(Math.max(20, s.text.length), 100) * dr;
2914
+ H.isBotTyping$.value = !0;
2915
+ const l = Math.min(Math.max(20, s.text.length), 100) * fr;
2896
2916
  try {
2897
- await ur(l, n);
2917
+ await wr(l, n);
2898
2918
  } finally {
2899
- B.isBotTyping$.value = !1;
2919
+ H.isBotTyping$.value = !1;
2900
2920
  }
2901
2921
  }).otherwise(async () => {
2902
2922
  }), n != null && n.aborted)
@@ -2915,7 +2935,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2915
2935
  throw new ht();
2916
2936
  e.current = -1 / 0, S.setInput(void 0), o.key && S.setSubmission(o.key, l), r(l);
2917
2937
  };
2918
- B.onSubmitSuccessFn$.value = s;
2938
+ H.onSubmitSuccessFn$.value = s;
2919
2939
  });
2920
2940
  }
2921
2941
  }), []);
@@ -2924,7 +2944,7 @@ const or = xa(() => import("./chatbot-body-1dc31e4a.js").then((t) => t.ChatbotBo
2924
2944
  chatService: i
2925
2945
  };
2926
2946
  };
2927
- var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
2947
+ var gr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], br = {
2928
2948
  light: {
2929
2949
  1: [98.8, 0.015],
2930
2950
  2: [97.8, 0.018],
@@ -2953,15 +2973,15 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
2953
2973
  11: [79.3, 0.12],
2954
2974
  12: [95, 0.04]
2955
2975
  }
2956
- }, fr = (t, e = 1, i) => (a) => {
2957
- const [o, n] = hr[i][a];
2976
+ }, vr = (t, e = 1, i) => (a) => {
2977
+ const [o, n] = br[i][a];
2958
2978
  return "oklch(" + o + "% " + n * e + " " + t + ")";
2959
2979
  }, ce = (t) => {
2960
- const e = fr(t.hue, t.chroma, t.mode);
2980
+ const e = vr(t.hue, t.chroma, t.mode);
2961
2981
  return Object.fromEntries(
2962
- pr.map((i) => [t.prefix + i, t.transform(e(i))])
2982
+ gr.map((i) => [t.prefix + i, t.transform(e(i))])
2963
2983
  );
2964
- }, de = (t) => t, wr = (t) => {
2984
+ }, de = (t) => t, _r = (t) => {
2965
2985
  const e = Object.keys(t).flatMap((i) => {
2966
2986
  const a = t[i];
2967
2987
  return typeof a == "object" && a !== null ? Object.keys(a).map((o) => {
@@ -2970,28 +2990,28 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
2970
2990
  }) : [[i, a]];
2971
2991
  });
2972
2992
  return Object.fromEntries(e);
2973
- }, Dt = (t) => !!t && typeof t == "object" && !Array.isArray(t), je = (t, ...e) => {
2993
+ }, zt = (t) => !!t && typeof t == "object" && !Array.isArray(t), je = (t, ...e) => {
2974
2994
  if (!e.length)
2975
2995
  return t;
2976
2996
  const i = e.shift();
2977
- if (Dt(t) && Dt(i))
2997
+ if (zt(t) && zt(i))
2978
2998
  for (const a in i) {
2979
2999
  const o = i[a];
2980
- if (Dt(o)) {
3000
+ if (zt(o)) {
2981
3001
  t[a] || Object.assign(t, { [a]: {} });
2982
3002
  const n = t[a];
2983
- Dt(n) && je(n, o);
3003
+ zt(n) && je(n, o);
2984
3004
  } else
2985
3005
  Object.assign(t, { [a]: i[a] });
2986
3006
  }
2987
3007
  return je(t, ...e);
2988
- }, gr = (t) => {
3008
+ }, mr = (t) => {
2989
3009
  function e(i, a) {
2990
3010
  const o = [t.prefix, a.toString().replace(/\./g, "-")].join("");
2991
3011
  return i === "declaration" ? `--${o}` : `var(--${o})`;
2992
3012
  }
2993
3013
  return e;
2994
- }, br = () => ({
3014
+ }, yr = () => ({
2995
3015
  core: (t) => ({
2996
3016
  semantic: (e) => ({
2997
3017
  component: (i) => ({
@@ -3001,9 +3021,9 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
3001
3021
  core: r,
3002
3022
  semantic: r,
3003
3023
  raw: { core: s, semantic: l }
3004
- }), u = wr(je(s, l, d)), c = ([f, b], h) => {
3005
- const g = [h, f].filter(Boolean).join(".");
3006
- return typeof b == "object" ? Object.entries(b).flatMap((z) => c(z, g)) : [[a.getToken("declaration", g), b]];
3024
+ }), u = _r(je(s, l, d)), c = ([f, g], h) => {
3025
+ const b = [h, f].filter(Boolean).join(".");
3026
+ return typeof g == "object" ? Object.entries(g).flatMap((O) => c(O, b)) : [[a.getToken("declaration", b), g]];
3007
3027
  };
3008
3028
  return {
3009
3029
  values: u,
@@ -3015,7 +3035,7 @@ var pr = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], hr = {
3015
3035
  })
3016
3036
  })
3017
3037
  });
3018
- const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = br().core(({
3038
+ const [ue, pe, Di] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], xr = yr().core(({
3019
3039
  theme: t
3020
3040
  }) => ({
3021
3041
  color: {
@@ -3074,7 +3094,7 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
3074
3094
  copy: t("color.n-11"),
3075
3095
  "copy-hover": t("color.n-12"),
3076
3096
  "copy-active": t("color.n-12"),
3077
- bg: Ii,
3097
+ bg: Di,
3078
3098
  "bg-hover": a("n-10", 0.2),
3079
3099
  "bg-active": a("n-10", 0.3)
3080
3100
  }
@@ -3100,7 +3120,7 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
3100
3120
  },
3101
3121
  "status-bar": {
3102
3122
  bg: o("n-2", 0.8),
3103
- "bg-button": Ii,
3123
+ "bg-button": Di,
3104
3124
  "bg-button-hover": o("n-10", 0.4),
3105
3125
  "bg-button-active": o("n-10", 0.5)
3106
3126
  },
@@ -3113,18 +3133,18 @@ const [ue, pe, Ii] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], vr = b
3113
3133
  success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
3114
3134
  }
3115
3135
  };
3116
- }), _r = gr({
3136
+ }), kr = mr({
3117
3137
  prefix: "i-"
3118
- }), mr = (t) => {
3119
- const e = vr.from({
3138
+ }), $r = (t) => {
3139
+ const e = xr.from({
3120
3140
  theme: t,
3121
- getToken: _r
3141
+ getToken: kr
3122
3142
  }), i = Object.entries(e.declarations).map(([a, o]) => `${a}: ${o};`);
3123
3143
  return `${Ae} {
3124
3144
  ${i.concat(i).join(`
3125
3145
  `)}
3126
3146
  }`;
3127
- }, yr = "14.14.0", xr = (t, e = yr) => e === void 0 ? t : {
3147
+ }, Sr = "14.15.1", Cr = (t, e = Sr) => e === void 0 ? t : {
3128
3148
  fetch: (i, a) => {
3129
3149
  if (i !== "/flow/submit")
3130
3150
  return t.fetch(i, a);
@@ -3135,15 +3155,15 @@ ${i.concat(i).join(`
3135
3155
  });
3136
3156
  }
3137
3157
  };
3138
- class Ai extends Ua {
3158
+ class Ni extends Ka {
3139
3159
  }
3140
- const as = ({
3141
- _internal_domManager: t = cr(),
3160
+ const ss = ({
3161
+ _internal_domManager: t = hr(),
3142
3162
  theme: e,
3143
3163
  terms: i,
3144
3164
  feedback: a,
3145
3165
  jobAlerts: o
3146
- }) => Ba(({
3166
+ }) => Va(({
3147
3167
  apiClient: n,
3148
3168
  rpcClient: r,
3149
3169
  logger: s,
@@ -3152,28 +3172,30 @@ const as = ({
3152
3172
  env: u
3153
3173
  }) => {
3154
3174
  let c = !1, f = 0;
3155
- const b = xr(n), h = d && u ? Ha({
3175
+ const g = Cr(n), h = d && u ? Ya({
3156
3176
  environment: u,
3157
3177
  publishableKey: d,
3158
3178
  logger: s
3159
- }) : void 0, g = (_) => _ === f, z = () => {
3179
+ }) : void 0, b = (v) => v === f, O = () => {
3160
3180
  if (typeof window > "u")
3161
3181
  return;
3162
- f++, H.flushStateData().catch(() => {
3163
- }), S.cancelCurrentFlow(), B.isBotTyping$.value = !1;
3164
- const _ = t.getChatbotElement();
3165
- _ && (ut(null, _), _.remove()), c = !1, s.info("Chatbot plugin destroyed");
3182
+ f++, U.flushStateData().catch(() => {
3183
+ }), S.cancelCurrentFlow(), H.isBotTyping$.value = !1;
3184
+ const v = t.getChatbotElement();
3185
+ v && (ut(null, v), v.remove()), c = !1, s.info("Chatbot plugin destroyed");
3166
3186
  }, k = () => {
3167
3187
  if (typeof window > "u")
3168
3188
  return;
3169
- const _ = f, v = [L("style", {
3189
+ const v = f, _ = [B("style", {
3170
3190
  id: "inploi-chatbot-styles"
3171
- }, lr), L("style", {
3191
+ }, pr), B("style", {
3172
3192
  id: "inploi-chatbot-theme"
3173
- }, mr(e))], x = t.getOrCreateChatbotElement();
3174
- if (B.themeMode$.value = e.mode, ut(L(K, {}, [v, L(rr, {
3193
+ }, $r(e))], x = t.getOrCreateChatbotElement();
3194
+ H.themeMode$.value = e.mode;
3195
+ const y = W(!1);
3196
+ if (ut(B(K, {}, [_, B(dr, {
3175
3197
  rpcClient: r,
3176
- apiClient: b,
3198
+ apiClient: g,
3177
3199
  logger: s,
3178
3200
  analytics: l,
3179
3201
  talentBankClient: h,
@@ -3181,14 +3203,15 @@ const as = ({
3181
3203
  theme: e,
3182
3204
  terms: i,
3183
3205
  feedback: a
3184
- }
3206
+ },
3207
+ feedbackReady: y
3185
3208
  })]), x), a) {
3186
- const y = (R) => {
3187
- var j, rt;
3188
- if (!g(_))
3209
+ const q = (R) => {
3210
+ var rt, Xe;
3211
+ if (!b(v))
3189
3212
  return;
3190
- const q = (j = t.getChatbotElement()) == null ? void 0 : j.querySelector("dialog");
3191
- q && kr({
3213
+ const j = (rt = t.getChatbotElement()) == null ? void 0 : rt.querySelector("dialog");
3214
+ j && Er({
3192
3215
  instance: R({
3193
3216
  rpcClient: r,
3194
3217
  apiClient: n,
@@ -3196,32 +3219,32 @@ const as = ({
3196
3219
  analytics: l
3197
3220
  }),
3198
3221
  theme: e,
3199
- terms: ((rt = a.params) == null ? void 0 : rt.terms) ?? {},
3200
- host: q
3201
- });
3222
+ terms: ((Xe = a.params) == null ? void 0 : Xe.terms) ?? {},
3223
+ host: j
3224
+ }).then(() => void (y.value = !0), (Ua) => s.error("Error rendering feedback plugin", Ua));
3202
3225
  };
3203
3226
  a.plugin instanceof Promise ? a.plugin.then(({
3204
3227
  feedbackPlugin: R
3205
3228
  }) => {
3206
- y(R());
3229
+ q(R());
3207
3230
  }).catch((R) => {
3208
3231
  s.error("Error preparing feedback plugin", R);
3209
- }) : y(a.plugin);
3232
+ }) : q(a.plugin);
3210
3233
  }
3211
3234
  c = !0;
3212
- }, P = async (_, v) => {
3213
- if (!g(v))
3235
+ }, P = async (v, _) => {
3236
+ if (!b(_))
3214
3237
  return;
3215
- fo({
3216
- context: _.context || {},
3217
- schema: _.flow.context_schema,
3238
+ vo({
3239
+ context: Me(v.jobContext, v.context || {}),
3240
+ schema: v.flow.context_schema,
3218
3241
  logger: s
3219
3242
  });
3220
3243
  const x = await S.prepareFlow({
3221
- ..._,
3222
- jobAlerts: _.jobAlerts ?? o
3244
+ ...v,
3245
+ jobAlerts: v.jobAlerts ?? o
3223
3246
  });
3224
- g(v) && S.commitFlow(x);
3247
+ b(_) && S.commitFlow(x);
3225
3248
  };
3226
3249
  return {
3227
3250
  /** Optionally eagerly renders the interface ahead of needing the chatbot. */
@@ -3231,24 +3254,24 @@ const as = ({
3231
3254
  if (c)
3232
3255
  return;
3233
3256
  k(), s.info("Chatbot plugin prepared");
3234
- } catch (_) {
3235
- s.error("Error preparing chatbot plugin", _);
3257
+ } catch (v) {
3258
+ s.error("Error preparing chatbot plugin", v);
3236
3259
  }
3237
3260
  },
3238
3261
  /** Fetches a flow by job ID.
3239
3262
  * @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.
3240
3263
  */
3241
- fetchFlowByJobId: async (_, v) => {
3242
- const x = (v == null ? void 0 : v.idType) === "inploi" ? "internal" : "external";
3243
- return r.request(vo, {
3264
+ fetchFlowByJobId: async (v, _) => {
3265
+ const x = (_ == null ? void 0 : _.idType) === "inploi" ? "internal" : "external";
3266
+ return r.request(xo, {
3244
3267
  params: {
3245
- id: _
3268
+ id: v
3246
3269
  },
3247
3270
  searchParams: {
3248
3271
  id_type: x
3249
3272
  }
3250
3273
  }).catch((y) => {
3251
- throw sa({
3274
+ throw xa({
3252
3275
  name: "ApiError",
3253
3276
  message: ft.string,
3254
3277
  status: 410,
@@ -3265,56 +3288,57 @@ const as = ({
3265
3288
  }
3266
3289
  }
3267
3290
  })
3268
- }, y) ? new Ai(y.message, y.status, y.data) : y;
3291
+ }, y) ? new Ni(y.message, y.status, y.data) : y;
3269
3292
  }).then((y) => ({
3270
3293
  flow: y.flow,
3271
3294
  title: y.job.title,
3272
- flowKeys: [y.job.id, ...(v == null ? void 0 : v.flowKeys) ?? []],
3273
- job: bo(y, {
3274
- id: _,
3295
+ flowKeys: [y.job.id, ...(_ == null ? void 0 : _.flowKeys) ?? []],
3296
+ job: yo(y, {
3297
+ id: v,
3275
3298
  idType: x
3276
3299
  }),
3277
- ...v,
3300
+ ..._,
3301
+ jobContext: y.context,
3278
3302
  context: {
3279
3303
  user: y.user,
3280
- ...v == null ? void 0 : v.context
3304
+ ..._ == null ? void 0 : _.context
3281
3305
  }
3282
3306
  }));
3283
3307
  },
3284
- fetchFlowById: async (_, v) => r.request(_o, {
3308
+ fetchFlowById: async (v, _) => r.request(ko, {
3285
3309
  params: {
3286
- id: _
3310
+ id: v
3287
3311
  }
3288
3312
  }).then((x) => {
3289
3313
  var y;
3290
3314
  return {
3291
3315
  flow: x.flow,
3292
3316
  title: "Chatbot",
3293
- flowKeys: (v == null ? void 0 : v.flowKeys) ?? [],
3294
- ...v,
3317
+ flowKeys: (_ == null ? void 0 : _.flowKeys) ?? [],
3318
+ ..._,
3295
3319
  analytics: {
3296
3320
  customProperties: {
3297
3321
  flow_id: x.flow.id,
3298
3322
  flow_version: x.flow.version,
3299
- ...(y = v == null ? void 0 : v.analytics) == null ? void 0 : y.customProperties
3323
+ ...(y = _ == null ? void 0 : _.analytics) == null ? void 0 : y.customProperties
3300
3324
  }
3301
3325
  }
3302
3326
  };
3303
3327
  }),
3304
- open: async (_) => {
3328
+ open: async (v) => {
3305
3329
  if (!(typeof window > "u"))
3306
3330
  try {
3307
3331
  S.cancelCurrentFlow(), S.viewState$.value = "maximised", c || k();
3308
- const v = f;
3309
- _ instanceof Promise ? (S.current$.value = {
3332
+ const _ = f;
3333
+ v instanceof Promise ? (S.current$.value = {
3310
3334
  state: "loading"
3311
- }, _.then((x) => P(x, v)).catch((x) => {
3312
- g(v) && (s.error("Error loading flow", x), S.current$.value = {
3313
- state: x instanceof Ai ? "closed" : "error"
3335
+ }, v.then((x) => P(x, _)).catch((x) => {
3336
+ b(_) && (s.error("Error loading flow", x), S.current$.value = {
3337
+ state: x instanceof Ni ? "closed" : "error"
3314
3338
  });
3315
- })) : await P(_, v);
3316
- } catch (v) {
3317
- s.error("Error starting flow", v);
3339
+ })) : await P(v, _);
3340
+ } catch (_) {
3341
+ s.error("Error starting flow", _);
3318
3342
  }
3319
3343
  },
3320
3344
  /**
@@ -3322,11 +3346,11 @@ const as = ({
3322
3346
  * under the same key, unfinished, with an answer, including one whose submit started. The candidate loader
3323
3347
  * keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
3324
3348
  */
3325
- hasApplicationInProgress: async (_) => {
3326
- const v = await H.getStateData(_.flow, _.flowKeys, _.context ?? {});
3327
- return v !== void 0 && Ci({
3328
- data: v,
3329
- nodes: _.flow.nodes
3349
+ hasApplicationInProgress: async (v) => {
3350
+ const _ = await U.getStateData(v.flow, v.flowKeys, v.context ?? {});
3351
+ return _ !== void 0 && Ai({
3352
+ data: _,
3353
+ nodes: v.flow.nodes
3330
3354
  });
3331
3355
  },
3332
3356
  /**
@@ -3334,23 +3358,23 @@ const as = ({
3334
3358
  * cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
3335
3359
  * answer counts.
3336
3360
  */
3337
- hasAnyApplicationInProgress: async () => (await H.getAllStateData()).some((_) => Ci({
3338
- data: _,
3361
+ hasAnyApplicationInProgress: async () => (await U.getAllStateData()).some((v) => Ai({
3362
+ data: v,
3339
3363
  nodes: []
3340
3364
  })),
3341
3365
  close: async () => {
3342
3366
  typeof window > "u" || (S.cancelCurrentFlow(), s.info("Closed flow from an external source"));
3343
3367
  },
3344
- destroy: z
3368
+ destroy: O
3345
3369
  };
3346
3370
  });
3347
- function kr({
3371
+ function Er({
3348
3372
  instance: t,
3349
3373
  terms: e,
3350
3374
  theme: i,
3351
3375
  host: a
3352
3376
  }) {
3353
- t.render({
3377
+ return t.render({
3354
3378
  key: "chatbot-header",
3355
3379
  size: "sm",
3356
3380
  theme: {
@@ -3375,60 +3399,60 @@ function kr({
3375
3399
  });
3376
3400
  }
3377
3401
  export {
3378
- no as $,
3379
- Go as A,
3380
- es as B,
3381
- Cr as C,
3382
- Li as D,
3383
- Yr as E,
3402
+ co as $,
3403
+ nn as A,
3404
+ ns as B,
3405
+ Ir as C,
3406
+ Wi as D,
3407
+ Zr as E,
3384
3408
  pt as F,
3385
- Kr as G,
3386
- so as H,
3387
- Qa as I,
3388
- ts as J,
3389
- Ar as K,
3390
- Jn as L,
3391
- Gr as M,
3392
- Sr as N,
3393
- B as O,
3409
+ Xr as G,
3410
+ po as H,
3411
+ ao as I,
3412
+ os as J,
3413
+ Dr as K,
3414
+ ir as L,
3415
+ Qr as M,
3416
+ Tr as N,
3417
+ H as O,
3394
3418
  W as P,
3395
- Le as Q,
3396
- Wr as R,
3397
- Vr as S,
3419
+ Ke as Q,
3420
+ qr as R,
3421
+ Gr as S,
3398
3422
  ht as T,
3399
- io as U,
3423
+ ro as U,
3400
3424
  ft as V,
3401
- is as W,
3402
- H as X,
3425
+ rs as W,
3426
+ U as X,
3403
3427
  Te as Y,
3404
- uo as Z,
3405
- At as _,
3406
- Tr as a,
3407
- er as a0,
3408
- as as a1,
3409
- Mr as b,
3428
+ wo as Z,
3429
+ _t as _,
3430
+ Or as a,
3431
+ nr as a0,
3432
+ ss as a1,
3433
+ Hr as b,
3410
3434
  S as c,
3411
3435
  Xt as d,
3412
- Be as e,
3413
- Or as f,
3414
- Nr as g,
3415
- Hr as h,
3416
- He as i,
3417
- ha as j,
3418
- Ur as k,
3419
- jr as l,
3420
- Dr as m,
3421
- Ea as n,
3436
+ qe as e,
3437
+ Rr as f,
3438
+ Lr as g,
3439
+ Yr as h,
3440
+ Ge as i,
3441
+ ua as j,
3442
+ Kr as k,
3443
+ Nr as l,
3444
+ Mr as m,
3445
+ Na as n,
3422
3446
  p as o,
3423
- zr as p,
3424
- _t as q,
3447
+ Fr as p,
3448
+ yt as q,
3425
3449
  K as r,
3426
- Pr as s,
3427
- wa as t,
3428
- Ir as u,
3429
- Rr as v,
3430
- Lr as w,
3431
- Br as x,
3432
- Fr as y,
3433
- po as z
3450
+ jr as s,
3451
+ Be as t,
3452
+ zr as u,
3453
+ Ur as v,
3454
+ Wr as w,
3455
+ Vr as x,
3456
+ Br as y,
3457
+ go as z
3434
3458
  };