@inploi/plugin-chatbot 14.18.2 → 14.19.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,3214 +0,0 @@
1
- import { endpoint as eo, typed as wi, generateUUID as gi, createPlugin as bi, createTalentBankClient as vi, ApiError as mi } from "@inploi/sdk";
2
- var me = /* @__PURE__ */ new Set(["Error", "TypeError", "RangeError", "ReferenceError", "SyntaxError", "URIError", "EvalError", "AggregateError", "AbortError", "TimeoutError", "NetworkError", "NotAllowedError", "NotFoundError", "NotSupportedError", "InvalidStateError", "QuotaExceededError", "SecurityError", "DataCloneError", "ChunkLoadError"]), _i = [/^Cannot (?:read|set) properties of (?:undefined|null) \((?:reading|setting) '[\w$]{1,40}'\)$/, /^[\w$.]{1,60} is (?:not a function|not iterable|not defined|not a constructor|undefined|null)$/, /^(?:undefined|null) is not an object \(evaluating '[\w$.]{1,60}'\)$/, /^can't access property "[\w$]{1,40}", [\w$.]{1,60} is (?:undefined|null)$/, /^(?:Script error\.|Assignment to constant variable\.|Maximum call stack size exceeded|Invalid array length|Invalid time value|Failed to fetch|Load failed|Importing a module script failed\.|NetworkError when attempting to fetch resource\.)$/], yi = `IDBDatabase IDBObjectStore IDBTransaction IDBFactory IDBRequest IDBOpenDBRequest IDBIndex IDBCursor IDBKeyRange
3
- Storage StorageManager Window Document Element HTMLElement HTMLIFrameElement HTMLMediaElement HTMLFormElement
4
- HTMLInputElement Node EventTarget Navigator Clipboard ServiceWorkerContainer ServiceWorkerRegistration Response
5
- Request Headers URL URLSearchParams Blob File FileReader FormData MessagePort Worker Cache CacheStorage History
6
- Location CustomElementRegistry ReadableStream WritableStream AbortSignal Performance Crypto SubtleCrypto
7
- MediaDevices ResizeObserver IntersectionObserver MutationObserver Notification Permissions LockManager
8
- DOMTokenList ShadowRoot Selection Range TextDecoder TextEncoder WebSocket XMLHttpRequest
9
- transaction objectStore createObjectStore deleteObjectStore createIndex index put get getAll getKey delete add
10
- clear count openCursor open deleteDatabase setItem getItem removeItem key postMessage fetch json text arrayBuffer
11
- blob formData querySelector querySelectorAll appendChild removeChild insertBefore replaceChild append prepend
12
- remove contains observe unobserve disconnect play pause writeText readText write read share register
13
- getRegistration requestStorageAccess focus blur scrollTo scrollIntoView setAttribute getAttribute
14
- getBoundingClientRect attachShadow define pushState replaceState assign replace reload send close abort
15
- requestAnimationFrame matchMedia getComputedStyle createElement structuredClone localStorage sessionStorage
16
- indexedDB serviceWorker clipboard cookie`, xi = ["The operation is insecure.", "The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.", "The user aborted a request.", "The operation was aborted.", "signal is aborted without reason", "Fetch is aborted", "The quota has been exceeded.", "The object is in an invalid state.", "The string did not match the expected pattern.", "The object can not be found here.", "The operation is not supported.", "The database connection is closing.", "The transaction has finished.", "The transaction is not active.", "The transaction was aborted, so the request cannot be fulfilled.", "One of the specified object stores was not found.", "Connection to Indexed Database server lost. Refresh the page to try again", "Attempt to get a record from database without an in-progress transaction", "Database deleted by request of the user", "An internal error was encountered in the Indexed Database server", "Internal error opening backing store for indexedDB.open.", "Access is denied for this document.", "Access to the IndexedDB API is denied in this context.", "The document is sandboxed and lacks the 'allow-same-origin' flag.", "The play() request was interrupted by a call to pause().", "The play() request was interrupted because the media was removed from the document.", "play() failed because the user didn't interact with the document first.", "The network connection was lost.", "The request timed out.", "The Internet connection appears to be offline.", "A server with the specified hostname could not be found.", "Network request failed", "Illegal invocation", "cancelled"], ki = /^Failed to (?:execute|read|set|construct) (?:the )?'([\w$]{1,40})'(?: (?:on|property (?:from|on)|from) '([\w$]{1,40})')?(?:: (.*))?$/, pa, $i = (t) => {
17
- let { apis: e, sentences: a } = pa ?? (pa = { apis: new Set(yi.split(/\s+/)), sentences: new Set(xi) });
18
- if (a.has(t)) return t;
19
- let o = ki.exec(t);
20
- if (!o) return "";
21
- let [, i, n, r] = o;
22
- return e.has(i) && (n === void 0 || e.has(n)) && (r === void 0 || a.has(r)) ? t : "";
23
- }, Si = /^\s*at\s|@(?:[a-z][\w+.-]*:\/\/|\[native code\])/i, Ei = /\b(?:chrome|moz|safari|safari-web|ms-browser)-extension:\/\//, Ci = /\[native code\]|<anonymous>|\(native\)/, Ti = (t) => Ei.test(t) ? "extension" : Ci.test(t) ? "native" : "script", ha = /^(Failed to fetch dynamically imported module|error loading dynamically imported module)/, Ii = /^((?:[\w-]{1,20}\/){0,3}[\w.-]{1,80}\.js)(?:\?retry=\d{1,3})?:(\d{1,7})(?::(\d{1,7}))?\)?$/, Ai = /^ResizeObserver loop (?:completed with undelivered notifications\.|limit exceeded)$/, Pi = ({ error: t, message: e }) => t == null && Ai.test(e), ee = (t) => t instanceof Error ? me.has(t.name) ? t.name : "Error" : typeof t, ji = /* @__PURE__ */ new Set(["DOMException", "Object", "Array", "Promise", "Event", "ErrorEvent", "PromiseRejectionEvent", "ProgressEvent", "CloseEvent", "MessageEvent", "Response", "Request", "XMLHttpRequest"]), Oi = (t) => {
24
- var o, i;
25
- let e = t === null ? "null" : typeof t, a = { message: "", stack: "", thrown: { type: e, ctor: "", keys: 0, message_length: 0, stack_lines: 0 } };
26
- if (typeof t == "string") return { ...a, thrown: { ...a.thrown, message_length: t.length } };
27
- if (typeof t != "object" || t === null) return a;
28
- try {
29
- let { message: n, stack: r } = t, s = (i = (o = Object.getPrototypeOf(t)) == null ? void 0 : o.constructor) == null ? void 0 : i.name, l = typeof s != "string" ? "" : me.has(s) || ji.has(s) ? s : "other", d = typeof n == "string" ? n : "", u = typeof r == "string" ? r : "";
30
- return { message: t instanceof Error || me.has(l) || l === "DOMException" ? d : "", stack: u, thrown: { type: e, ctor: l, keys: Object.keys(t).length, message_length: d.length, stack_lines: u ? u.split(`
31
- `, 1e3).length : 0 } };
32
- } catch {
33
- return a;
34
- }
35
- }, Di = (t, e, a = "") => {
36
- let o = ee(t), { message: i, stack: n, thrown: r } = Oi(t), s = (t == null ? a : i).slice(0, 300), l = _i.some((h) => h.test(s)) ? s : ha.test(s) ? ha.exec(s)[1] : $i(s), d = [], u = /* @__PURE__ */ new Set();
37
- for (let h of n.split(`
38
- `, 60)) {
39
- let f = h.indexOf(e), p = f !== -1 && (f === 0 || " (@".includes(h[f - 1])), g = p ? Ii.exec(h.slice(f + e.length).trim()) : null;
40
- g ? d.push([g[1], g[2], g[3]].filter(Boolean).join(":")) : p ? u.add("build") : Si.test(h) && u.add(Ti(h));
41
- }
42
- d.splice(10);
43
- let c = { name: o, message: l, stack: d, foreign: [...u].sort(), thrown: r };
44
- for (; JSON.stringify(c).length > 1400 && c.stack.length; ) c.stack.pop();
45
- return c;
46
- }, fa = "inploi-candidate-beacon-seed", Mi = () => {
47
- try {
48
- return typeof sessionStorage > "u" ? void 0 : sessionStorage;
49
- } catch {
50
- return;
51
- }
52
- }, Ni = () => ({ host: "s2811583.eu-central-1a.betterstackdata.com", token: "LHJqsZXu82MrkgUP44JHAwvU", sampleRate: Math.min(1, Math.max(0, 1)) }), ao = (t) => {
53
- let e = 3735928559, a = 1103547991;
54
- for (let o = 0; o < t.length; o++) {
55
- let i = t.charCodeAt(o);
56
- e = Math.imul(e ^ i, 2654435761), a = Math.imul(a ^ i, 1597334677);
57
- }
58
- return e = Math.imul(e ^ e >>> 16, 2246822507) ^ Math.imul(a ^ a >>> 13, 3266489909), a = Math.imul(a ^ a >>> 16, 2246822507) ^ Math.imul(e ^ e >>> 13, 3266489909), 4294967296 * (2097151 & a) + (e >>> 0);
59
- }, zi = (t, e) => {
60
- try {
61
- let a = t == null ? void 0 : t.getItem(fa);
62
- if (a) return a;
63
- let o = e();
64
- return t == null || t.setItem(fa, o), o;
65
- } catch {
66
- return e();
67
- }
68
- }, Ri = [["facebook", /\bFB(?:AN|AV|_IAB)\b/], ["instagram", /\bInstagram (\d+)/], ["linkedin", /\bLinkedInApp\b/], ["tiktok", /\b(?:musical_ly|BytedanceWebview|TikTok)\b/], ["samsung", /\bSamsungBrowser\/(\d+)/], ["edge", /\bEdg(?:e|A|iOS)?\/(\d+)/], ["opera", /\bOPR\/(\d+)/], ["firefox", /\b(?:Firefox|FxiOS)\/(\d+)/], ["chrome", /\b(?:Chrome|CriOS)\/(\d+)/], ["safari", /\bVersion\/(\d+)[\d.]* (?:Mobile\/\S+ )?Safari\//]], Bi = [["ios", /\b(?:iPhone|iPad|iPod)\b/], ["android", /\bAndroid\b/], ["windows", /\bWindows\b/], ["chromeos", /\bCrOS\b/], ["mac", /\bMacintosh\b/], ["linux", /\bLinux\b/]], Fi = (t) => {
69
- var o, i;
70
- let e = Ri.find(([, n]) => n.test(t)), a = (o = e == null ? void 0 : e[1].exec(t)) == null ? void 0 : o[1];
71
- return { browser: e ? [e[0], a].filter(Boolean).join(" ") : "other", platform: ((i = Bi.find(([, n]) => n.test(t))) == null ? void 0 : i[0]) ?? "other" };
72
- }, Li = (t = typeof document > "u" ? void 0 : document) => {
73
- var n, r;
74
- let e = () => typeof performance > "u" ? 0 : Math.round(performance.now()), a = (t == null ? void 0 : t.visibilityState) === "hidden" ? e() : null, o = null, i = !1;
75
- return t == null || t.addEventListener("visibilitychange", () => {
76
- t.visibilityState === "hidden" ? a = e() : a !== null && (o = e());
77
- }), (n = t == null ? void 0 : t.defaultView) == null || n.addEventListener("pagehide", () => i = !0), (r = t == null ? void 0 : t.defaultView) == null || r.addEventListener("pageshow", () => i = !1), () => {
78
- var d;
79
- let s = typeof navigator > "u" ? void 0 : navigator, l = (d = s == null ? void 0 : s.connection) == null ? void 0 : d.effectiveType;
80
- return { visibility: (t == null ? void 0 : t.visibilityState) ?? "unknown", was_hidden: a !== null, hidden_at_ms: a, shown_at_ms: o, unloading: i, online: typeof (s == null ? void 0 : s.onLine) == "boolean" ? s.onLine : null, connection: typeof l == "string" ? l.slice(0, 8) : null, ...Fi((s == null ? void 0 : s.userAgent) ?? ""), page_ms: e() };
81
- };
82
- }, Hi = /* @__PURE__ */ new Set(["boot_failed", "fatal", "submit_blocked"]), Ui = (t, e, a) => {
83
- if (e.unloading || e.visibility === "hidden") return !0;
84
- if (t !== "boot_failed" || e.hidden_at_ms === null) return !1;
85
- if (a.elapsed_ms === void 0) return !0;
86
- let o = e.page_ms - a.elapsed_ms;
87
- return e.hidden_at_ms >= o || e.shown_at_ms !== null && e.shown_at_ms >= o;
88
- }, Wi = (t, e, a, o, i) => {
89
- var r;
90
- if (e) return "abandoned";
91
- if (i.online === !1) return "offline";
92
- let n = [o.phase, o.stage, a == null ? void 0 : a.slice(0, 40), o.http_status ?? ((r = o.error) == null ? void 0 : r.name)];
93
- return [...new Set(n.filter((s) => s !== void 0 && s !== "").map(String))].join(":") || t;
94
- }, Vi = ({ config: t, version: e, env: a, seed: o, automated: i = typeof navigator < "u" && navigator.webdriver === !0, company: n, page: r = Li(), now: s = Date.now, post: l = (d, u) => fetch(d, u) }) => {
95
- let d = ao(o), u = s(), c = t !== void 0 && d % 1e4 < t.sampleRate * 1e4, h = /* @__PURE__ */ new Set();
96
- return { send: (f, p, g = {}) => {
97
- if (!t || !c || !e) return;
98
- let $ = r(), x = Hi.has(f), C = x && Ui(f, $, g), P = C ? `${f}:abandoned` : f;
99
- if (h.has(P)) return;
100
- h.add(P);
101
- let { error: D, ...M } = g, N = { dt: new Date(s()).toISOString(), message: "Candidate widget beacon", kind: f, version: e, company_slug: (n == null ? void 0 : n()) ?? null, env: a === "production" ? "production" : "staging", mode: i ? "test" : "live", seed_hash: d.toString(36), sample_rate: t.sampleRate, ...p && { reason: p.slice(0, 40) }, ...x && { abandoned: C, cause: Wi(f, C, p, g, $).slice(0, 60) }, since_start_ms: Math.max(0, Math.round(s() - u)), ...$, ...M, ...D && { error: D, error_message: D.message, error_frame: D.stack[0] ?? null } };
102
- l(`https://${t.host}`, { method: "POST", keepalive: !0, headers: { Authorization: `Bearer ${t.token}`, "Content-Type": "application/json" }, body: JSON.stringify(N) }).catch(() => {
103
- });
104
- } };
105
- }, at;
106
- function oo(t) {
107
- return { lang: (t == null ? void 0 : t.lang) ?? (at == null ? void 0 : at.lang), message: t == null ? void 0 : t.message, abortEarly: (t == null ? void 0 : t.abortEarly) ?? (at == null ? void 0 : at.abortEarly), abortPipeEarly: (t == null ? void 0 : t.abortPipeEarly) ?? (at == null ? void 0 : at.abortPipeEarly) };
108
- }
109
- var ne;
110
- function qi(t) {
111
- return ne == null ? void 0 : ne.get(t);
112
- }
113
- var re;
114
- function Yi(t) {
115
- return re == null ? void 0 : re.get(t);
116
- }
117
- var se;
118
- function Ki(t, e) {
119
- var a;
120
- return (a = se == null ? void 0 : se.get(t)) == null ? void 0 : a.get(e);
121
- }
122
- function Ue(t) {
123
- var a, o;
124
- let e = typeof t;
125
- return e === "string" ? `"${t}"` : e === "number" || e === "bigint" || e === "boolean" ? `${t}` : e === "object" || e === "function" ? (t && ((o = (a = Object.getPrototypeOf(t)) == null ? void 0 : a.constructor) == null ? void 0 : o.name)) ?? "null" : e;
126
- }
127
- function W(t, e, a, o, i) {
128
- let n = i && "input" in i ? i.input : a.value, r = (i == null ? void 0 : i.expected) ?? t.expects ?? null, s = (i == null ? void 0 : i.received) ?? Ue(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: i == null ? void 0 : i.path, issues: i == null ? void 0 : i.issues, lang: o.lang, abortEarly: o.abortEarly, abortPipeEarly: o.abortPipeEarly }, d = t.kind === "schema", u = (i == null ? void 0 : i.message) ?? t.message ?? Ki(t.reference, l.lang) ?? (d ? Yi(l.lang) : null) ?? o.message ?? qi(l.lang);
129
- u !== void 0 && (l.message = typeof u == "function" ? u(l) : u), d && (a.typed = !1), a.issues ? a.issues.push(l) : a.issues = [l];
130
- }
131
- function B(t) {
132
- return { version: 1, vendor: "valibot", validate(e) {
133
- return t["~run"]({ value: e }, oo());
134
- } };
135
- }
136
- function Zi(t, e) {
137
- return Object.hasOwn(t, e) && e !== "__proto__" && e !== "prototype" && e !== "constructor";
138
- }
139
- function We(t, e) {
140
- let a = [...new Set(t)];
141
- return a.length > 1 ? `(${a.join(` ${e} `)})` : a[0] ?? "never";
142
- }
143
- function io(t) {
144
- return { kind: "transformation", type: "transform", reference: io, async: !1, operation: t, "~run"(e) {
145
- return e.value = this.operation(e.value), e;
146
- } };
147
- }
148
- function Xi(t, e, a) {
149
- return typeof t.fallback == "function" ? t.fallback(e, a) : t.fallback;
150
- }
151
- function Ve(t, e, a) {
152
- return typeof t.default == "function" ? t.default(e, a) : t.default;
153
- }
154
- function no() {
155
- return { kind: "schema", type: "any", reference: no, expects: "any", async: !1, get "~standard"() {
156
- return B(this);
157
- }, "~run"(t) {
158
- return t.typed = !0, t;
159
- } };
160
- }
161
- function ro(t, e) {
162
- return { kind: "schema", type: "array", reference: ro, expects: "Array", async: !1, item: t, message: e, get "~standard"() {
163
- return B(this);
164
- }, "~run"(a, o) {
165
- var n;
166
- let i = a.value;
167
- if (Array.isArray(i)) {
168
- a.typed = !0, a.value = [];
169
- for (let r = 0; r < i.length; r++) {
170
- let s = i[r], l = this.item["~run"]({ value: s }, o);
171
- if (l.issues) {
172
- let d = { type: "array", origin: "value", input: i, key: r, value: s };
173
- for (let u of l.issues) u.path ? u.path.unshift(d) : u.path = [d], (n = a.issues) == null || n.push(u);
174
- if (a.issues || (a.issues = l.issues), o.abortEarly) {
175
- a.typed = !1;
176
- break;
177
- }
178
- }
179
- l.typed || (a.typed = !1), a.value.push(l.value);
180
- }
181
- } else W(this, "type", a, o);
182
- return a;
183
- } };
184
- }
185
- function qe(t) {
186
- return { kind: "schema", type: "boolean", reference: qe, expects: "boolean", async: !1, message: t, get "~standard"() {
187
- return B(this);
188
- }, "~run"(e, a) {
189
- return typeof e.value == "boolean" ? e.typed = !0 : W(this, "type", e, a), e;
190
- } };
191
- }
192
- function U(t, e) {
193
- return { kind: "schema", type: "literal", reference: U, expects: Ue(t), async: !1, literal: t, message: e, get "~standard"() {
194
- return B(this);
195
- }, "~run"(a, o) {
196
- return a.value === this.literal ? a.typed = !0 : W(this, "type", a, o), a;
197
- } };
198
- }
199
- function so(t) {
200
- return { kind: "schema", type: "null", reference: so, expects: "null", async: !1, message: t, get "~standard"() {
201
- return B(this);
202
- }, "~run"(e, a) {
203
- return e.value === null ? e.typed = !0 : W(this, "type", e, a), e;
204
- } };
205
- }
206
- function pt(t, e) {
207
- return { kind: "schema", type: "nullable", reference: pt, expects: `(${t.expects} | null)`, async: !1, wrapped: t, default: e, get "~standard"() {
208
- return B(this);
209
- }, "~run"(a, o) {
210
- return a.value === null && (this.default !== void 0 && (a.value = Ve(this, a, o)), a.value === null) ? (a.typed = !0, a) : this.wrapped["~run"](a, o);
211
- } };
212
- }
213
- function Yt(t) {
214
- return { kind: "schema", type: "number", reference: Yt, expects: "number", async: !1, message: t, get "~standard"() {
215
- return B(this);
216
- }, "~run"(e, a) {
217
- return typeof e.value == "number" && !isNaN(e.value) ? e.typed = !0 : W(this, "type", e, a), e;
218
- } };
219
- }
220
- function A(t, e) {
221
- return { kind: "schema", type: "object", reference: A, expects: "Object", async: !1, entries: t, message: e, get "~standard"() {
222
- return B(this);
223
- }, "~run"(a, o) {
224
- var n;
225
- let i = a.value;
226
- if (i && typeof i == "object") {
227
- a.typed = !0, a.value = {};
228
- for (let r in this.entries) {
229
- let s = this.entries[r];
230
- if (r in i || (s.type === "exact_optional" || s.type === "optional" || s.type === "nullish") && s.default !== void 0) {
231
- let l = r in i ? i[r] : Ve(s), d = s["~run"]({ value: l }, o);
232
- if (d.issues) {
233
- let u = { type: "object", origin: "value", input: i, key: r, value: l };
234
- for (let c of d.issues) c.path ? c.path.unshift(u) : c.path = [u], (n = a.issues) == null || n.push(c);
235
- if (a.issues || (a.issues = d.issues), o.abortEarly) {
236
- a.typed = !1;
237
- break;
238
- }
239
- }
240
- d.typed || (a.typed = !1), a.value[r] = d.value;
241
- } else if (s.fallback !== void 0) a.value[r] = Xi(s);
242
- else if (s.type !== "exact_optional" && s.type !== "optional" && s.type !== "nullish" && (W(this, "key", a, o, { input: void 0, expected: `"${r}"`, path: [{ type: "object", origin: "key", input: i, key: r, value: i[r] }] }), o.abortEarly)) break;
243
- }
244
- } else W(this, "type", a, o);
245
- return a;
246
- } };
247
- }
248
- function L(t, e) {
249
- return { kind: "schema", type: "optional", reference: L, expects: `(${t.expects} | undefined)`, async: !1, wrapped: t, default: e, get "~standard"() {
250
- return B(this);
251
- }, "~run"(a, o) {
252
- return a.value === void 0 && (this.default !== void 0 && (a.value = Ve(this, a, o)), a.value === void 0) ? (a.typed = !0, a) : this.wrapped["~run"](a, o);
253
- } };
254
- }
255
- function lo(t, e) {
256
- return { kind: "schema", type: "picklist", reference: lo, expects: We(t.map(Ue), "|"), async: !1, options: t, message: e, get "~standard"() {
257
- return B(this);
258
- }, "~run"(a, o) {
259
- return this.options.includes(a.value) ? a.typed = !0 : W(this, "type", a, o), a;
260
- } };
261
- }
262
- function Ye(t, e, a) {
263
- return { kind: "schema", type: "record", reference: Ye, expects: "Object", async: !1, key: t, value: e, message: a, get "~standard"() {
264
- return B(this);
265
- }, "~run"(o, i) {
266
- var r, s;
267
- let n = o.value;
268
- if (n && typeof n == "object") {
269
- o.typed = !0, o.value = {};
270
- for (let l in n) if (Zi(n, l)) {
271
- let d = n[l], u = this.key["~run"]({ value: l }, i);
272
- if (u.issues) {
273
- let h = { type: "object", origin: "key", input: n, key: l, value: d };
274
- for (let f of u.issues) f.path = [h], (r = o.issues) == null || r.push(f);
275
- if (o.issues || (o.issues = u.issues), i.abortEarly) {
276
- o.typed = !1;
277
- break;
278
- }
279
- }
280
- let c = this.value["~run"]({ value: d }, i);
281
- if (c.issues) {
282
- let h = { type: "object", origin: "value", input: n, key: l, value: d };
283
- for (let f of c.issues) f.path ? f.path.unshift(h) : f.path = [h], (s = o.issues) == null || s.push(f);
284
- if (o.issues || (o.issues = c.issues), i.abortEarly) {
285
- o.typed = !1;
286
- break;
287
- }
288
- }
289
- (!u.typed || !c.typed) && (o.typed = !1), u.typed && (o.value[u.value] = c.value);
290
- }
291
- } else W(this, "type", o, i);
292
- return o;
293
- } };
294
- }
295
- function z(t) {
296
- return { kind: "schema", type: "string", reference: z, expects: "string", async: !1, message: t, get "~standard"() {
297
- return B(this);
298
- }, "~run"(e, a) {
299
- return typeof e.value == "string" ? e.typed = !0 : W(this, "type", e, a), e;
300
- } };
301
- }
302
- function wa(t) {
303
- let e;
304
- if (t) for (let a of t) e ? e.push(...a.issues) : e = a.issues;
305
- return e;
306
- }
307
- function Ke(t, e) {
308
- return { kind: "schema", type: "union", reference: Ke, expects: We(t.map((a) => a.expects), "|"), async: !1, options: t, message: e, get "~standard"() {
309
- return B(this);
310
- }, "~run"(a, o) {
311
- let i, n, r;
312
- for (let s of this.options) {
313
- let l = s["~run"]({ value: a.value }, o);
314
- if (l.typed) if (l.issues) n ? n.push(l) : n = [l];
315
- else {
316
- i = l;
317
- break;
318
- }
319
- else r ? r.push(l) : r = [l];
320
- }
321
- if (i) return i;
322
- if (n) {
323
- if (n.length === 1) return n[0];
324
- W(this, "type", a, o, { issues: wa(n) }), a.typed = !0;
325
- } else {
326
- if ((r == null ? void 0 : r.length) === 1) return r[0];
327
- W(this, "type", a, o, { issues: wa(r) });
328
- }
329
- return a;
330
- } };
331
- }
332
- function yt() {
333
- return { kind: "schema", type: "unknown", reference: yt, expects: "unknown", async: !1, get "~standard"() {
334
- return B(this);
335
- }, "~run"(t) {
336
- return t.typed = !0, t;
337
- } };
338
- }
339
- function co(t, e, a) {
340
- return { kind: "schema", type: "variant", reference: co, expects: "Object", async: !1, key: t, options: e, message: a, get "~standard"() {
341
- return B(this);
342
- }, "~run"(o, i) {
343
- let n = o.value;
344
- if (n && typeof n == "object") {
345
- let r, s = 0, l = this.key, d = [], u = (c, h) => {
346
- for (let f of c.options) {
347
- if (f.type === "variant") u(f, new Set(h).add(f.key));
348
- else {
349
- let p = !0, g = 0;
350
- for (let $ of h) {
351
- let x = f.entries[$];
352
- if ($ in n ? x["~run"]({ typed: !1, value: n[$] }, { abortEarly: !0 }).issues : x.type !== "exact_optional" && x.type !== "optional" && x.type !== "nullish") {
353
- p = !1, l !== $ && (s < g || s === g && $ in n && !(l in n)) && (s = g, l = $, d = []), l === $ && d.push(f.entries[$].expects);
354
- break;
355
- }
356
- g++;
357
- }
358
- if (p) {
359
- let $ = f["~run"]({ value: n }, i);
360
- (!r || !r.typed && $.typed) && (r = $);
361
- }
362
- }
363
- if (r && !r.issues) break;
364
- }
365
- };
366
- if (u(this, /* @__PURE__ */ new Set([this.key])), r) return r;
367
- W(this, "type", o, i, { input: n[l], expected: We(d, "|"), path: [{ type: "object", origin: "value", input: n, key: l, value: n[l] }] });
368
- } else W(this, "type", o, i);
369
- return o;
370
- } };
371
- }
372
- function Gi(...t) {
373
- return { ...t[0], pipe: t, get "~standard"() {
374
- return B(this);
375
- }, "~run"(e, a) {
376
- for (let o of t) if (o.kind !== "metadata") {
377
- if (e.issues && (o.kind === "schema" || o.kind === "transformation")) {
378
- e.typed = !1;
379
- break;
380
- }
381
- (!e.issues || !a.abortEarly && !a.abortPipeEarly) && (e = o["~run"](e, a));
382
- }
383
- return e;
384
- } };
385
- }
386
- function zt(t, e, a) {
387
- let o = t["~run"]({ value: e }, oo(a));
388
- return { typed: o.typed, success: !o.issues, output: o.value, issues: o.issues };
389
- }
390
- var Ji = (t) => ({ ok: !0, err: !1, val: t }), Qi = (t) => ({ err: !0, ok: !1, val: t }), Ze = (t) => t.filter((e) => (e.type === "question-boolean" || e.type === "question-enum") && !!e.data.preApply);
391
- function tn(t, e, a) {
392
- var r, s;
393
- let o = t.find((l) => l.type === "pre-apply-result");
394
- if (!o) return;
395
- let i = (r = e[o.data.participationKey]) == null ? void 0 : r.value, n = {};
396
- if (i === !0) for (let l of Ze(t)) {
397
- let d = (s = e[l.data.key]) == null ? void 0 : s.value;
398
- Array.isArray(d) && d.length === 1 && (d = d[0]), (typeof d == "boolean" || typeof d == "string") && (n[l.data.key] = d);
399
- }
400
- return { node_id: o.id, flow_session_id: a, participation: i, answers: n };
401
- }
402
- function Ms(t, e) {
403
- let a = tn(t, e, ""), o = Ze(t).map((n) => {
404
- let r = n.data.preApply, s = a == null ? void 0 : a.answers[n.data.key], l = n.type === "question-boolean" ? typeof s == "boolean" : n.data.options.some((d) => d.value === s);
405
- return { key: n.data.key, severity: r.severity, message: r.mismatchMessage, matched: l && s === r.expectedValue, valid: l };
406
- }), i = (a == null ? void 0 : a.participation) === !1 ? "skipped" : (a == null ? void 0 : a.participation) === !0 && o.length > 0 && o.every((n) => n.valid) ? "completed" : "unavailable";
407
- return { status: i, hasHardConcerns: i === "completed" ? o.some((n) => !n.matched && n.severity === "hard") : null, hasAdvisoryConcerns: i === "completed" ? o.some((n) => !n.matched && n.severity === "advisory") : null, answers: i === "completed" ? o : [] };
408
- }
409
- function Ns(t, e) {
410
- let a = new Set(Ze(t).map((o) => o.data.key));
411
- for (let o of t) o.type === "pre-apply-result" && (a.add(o.data.key), a.add(o.data.participationKey));
412
- return Object.fromEntries(Object.entries(e).filter(([o]) => !a.has(o)));
413
- }
414
- var zs = () => {
415
- try {
416
- let t = Intl.DateTimeFormat().resolvedOptions().timeZone;
417
- return typeof t == "string" && t.length > 0 ? t : void 0;
418
- } catch {
419
- return;
420
- }
421
- }, gt = class extends Error {
422
- constructor() {
423
- super("Aborted");
424
- }
425
- }, uo = (t, e) => {
426
- if (e.length === 0) return;
427
- let a = t;
428
- for (let o of e) {
429
- if (a == null || typeof a != "object") return;
430
- a = a[o];
431
- }
432
- return a;
433
- }, Bs = (t, e = "all") => {
434
- let a = {}, o = e === "all" ? null : new Set(e);
435
- for (let i in t) {
436
- let n = t[i];
437
- n && (o && !o.has(i) || (a[i] = n.value));
438
- }
439
- return a;
440
- }, po = (t, e) => {
441
- let a = new Set(t.flatMap((o) => o.type === "add-submission" ? [o.data.key] : []));
442
- return Object.entries(e).some(([o, i]) => i !== void 0 && i.type !== "integration" && !a.has(o));
443
- }, Fs = ({ key: t, submissions: e }) => {
444
- var o;
445
- let a = (o = e[t]) == null ? void 0 : o.value;
446
- if (typeof a != "string" && typeof a != "number") throw new Error(`Submission at “${t}” is not a string or number`);
447
- return a;
448
- }, Ls = ({ key: t, path: e, submissions: a, context: o }) => {
449
- if (t === "$context") {
450
- if (!e) return;
451
- let i = uo(o, e);
452
- switch (typeof i) {
453
- case "string":
454
- return { type: "string", value: i };
455
- case "number":
456
- return { type: "number", value: i };
457
- case "boolean":
458
- return { type: "boolean", value: i };
459
- default:
460
- console.warn(`Unexpected type for $context.${e.join(".")}`, i);
461
- return;
462
- }
463
- }
464
- return a[t];
465
- }, en = (t) => {
466
- let e = t.split(".").pop();
467
- return e ? Ji(e ? "." + e : "") : Qi("No file extension found");
468
- }, an = (t, e) => {
469
- if (e.length === 0) return !0;
470
- let a = e.map((o) => o.toLowerCase());
471
- return t.every((o) => {
472
- let i = en(o.name);
473
- return i.ok && a.includes(i.val.toLowerCase());
474
- });
475
- }, _e = { ".pdf": "application/pdf", ".doc": "application/msword", ".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document", ".rtf": "application/rtf", ".odt": "application/vnd.oasis.opendocument.text", ".txt": "text/plain", ".jpg": "image/jpeg", ".jpeg": "image/jpeg", ".png": "image/png" }, Hs = (t) => [.../* @__PURE__ */ new Set([...t, ...t.map((e) => _e[e.toLowerCase()]).filter((e) => e !== void 0)])].join(","), on = 64 * 1024, nn = 1024, rn = [208, 207, 17, 224, 161, 177, 26, 225], sn = [80, 75, 3, 4], ye = (t, e) => e.every((a, o) => t[o] === a), ga = (t, e, a = t.length) => {
476
- let o = Array.from(e, (n) => n.charCodeAt(0)), i = Math.min(a, t.length) - o.length;
477
- for (let n = 0; n <= i; n++) if (ye(t.subarray(n), o)) return !0;
478
- return !1;
479
- }, ln = (t) => {
480
- if (ga(t, "%PDF-", nn)) return ".pdf";
481
- if (ye(t, rn)) return ".doc";
482
- if (ye(t, sn) && ga(t, "word/")) return ".docx";
483
- }, Us = async (t, e) => {
484
- if (an([t], e)) return t;
485
- let a = t.name.lastIndexOf(".");
486
- if ((a === -1 ? "" : t.name.slice(a).toLowerCase()) in _e) return t;
487
- let o = ln(new Uint8Array(await t.slice(0, on).arrayBuffer()));
488
- return !o || !e.some((i) => i.toLowerCase() === o) ? t : new File([t], `${t.name}${o}`, { type: _e[o], lastModified: t.lastModified });
489
- }, Ws = (t) => t <= 1e3 ? `${Math.round(t)}KB` : t < 1e3 * 10 ? `${(t / 1e3).toFixed(1)}MB` : `${Math.round(t / 1e3)}MB`, Vs = (t) => typeof t == "string" ? t : `+${t.countryCode} ${t.phoneNumber}`, cn = A({ integration_response: A({ data: A({ redirect_url: z(), message: L(pt(z())), button_text: L(pt(z())) }) }) }), dn = (t) => zt(cn, t).success, un = A({ integration_response: A({ status: L(yt()), error: A({ message: z(), data: L(yt()) }) }) }), ho = (t) => zt(un, t).success, pn = A({ success: U(!0), integration_response: A({ data: A({ outcome: U("pending"), message: L(yt()) }), error: L(so()) }) }), hn = (t) => {
490
- let e = zt(pn, t);
491
- if (!e.success || dn(t)) return;
492
- let { message: a } = e.output.integration_response.data;
493
- return typeof a == "string" && a.trim() ? { message: a } : {};
494
- };
495
- A({ success: U(!1), message: L(yt()) });
496
- var fn = A({ error: U("Validation failed"), messages: A({}) }), qs = (t, e) => e === 422 && zt(fn, t).success, Ys = (t, e) => {
497
- if (!ho(t)) return;
498
- let a = t.integration_response, o = a.error.data, i = typeof o == "object" && o !== null ? o : {}, n = (p) => typeof i[p] == "string" ? i[p] : void 0, r = (p) => typeof i[p] == "boolean" ? i[p] : void 0, s = (p) => {
499
- let g = i[p];
500
- return Number.isSafeInteger(g) && g >= 0 ? g : void 0;
501
- }, l = (p) => {
502
- let g = n(p), $ = g === void 0 ? NaN : Date.parse(g);
503
- return Number.isFinite($) ? $ : void 0;
504
- }, d = typeof a.status == "number" ? a.status : e, u = n("phase"), c = n("verdict"), h = n("code"), f = d === 409 && u === "submit" && c === "confirmed" ? "duplicate" : d === 410 && h === "job_closed" ? "closed" : u === "submit" && c === "unknown" ? "unknown" : void 0;
505
- return { message: a.error.message, status: d, phase: u, providerStatus: s("provider_status"), retryAfterSeconds: s("retry_after_seconds"), retryable: r("retryable"), verdict: c, code: h, reason: n("reason"), maintenanceUntil: l("maintenance_until"), field: n("field"), outcome: f };
506
- }, wn = co("reason", [A({ outcome: U("sent"), reason: U("sandbox"), ats_label: pt(z()) }), A({ outcome: U("held"), reason: lo(["production_connection", "no_sandbox_known", "company_hold"]), ats_label: pt(z()) }), A({ outcome: U("internal"), reason: U("internal"), ats_label: pt(z()) }), A({ outcome: U("held"), reason: U("redirect"), ats_label: z() })]), Ks = (t) => {
507
- let e = zt(A({ staging_destination: wn }), t);
508
- if (!e.success) return;
509
- let a = e.output.staging_destination;
510
- switch (a.reason) {
511
- case "sandbox":
512
- return `Staging: sent to ${a.ats_label === null ? "the ATS" : a.ats_label} sandbox`;
513
- case "production_connection":
514
- return "Staging: held, production connection";
515
- case "no_sandbox_known":
516
- return "Staging: held, no sandbox known";
517
- case "company_hold":
518
- return "Staging: held, company set to hold all";
519
- case "internal":
520
- return "Staging: saved in inploi (no ATS)";
521
- case "redirect":
522
- return `Staging: held, redirect to ${a.ats_label}`;
523
- }
524
- }, gn = 3e4, bn = 2e4, vn = 6e4, mn = 12e4, _n = 360 * 6e4, Zs = 60 * 6e4, fo = (t) => {
525
- let e = (t == null ? void 0 : t.reason) === "provider_maintenance" ? t.maintenanceUntil : void 0, a = e === void 0 ? 0 : e - Date.now();
526
- return a > 0 && a <= _n ? e : void 0;
527
- }, Xs = (t) => {
528
- if ((t == null ? void 0 : t.reason) !== "provider_maintenance" || t.outcome === "unknown") return;
529
- let e = fo(t);
530
- return e === void 0 ? {} : { until: e };
531
- }, Gs = (t, e) => new Intl.DateTimeFormat(e, { hour: "numeric", minute: "2-digit" }).format(t), Js = (t, e) => {
532
- let a = fo(e);
533
- if (a !== void 0) return { waitMs: a - Date.now(), throttles: (t ?? 0) + 1, maintenance: !0 };
534
- 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"))) return { waitMs: gn };
535
- let o = (t ?? 0) + 1, i = Math.min(o * bn, vn), n = (e.retryAfterSeconds ?? 0) * 1e3;
536
- return { waitMs: Math.min(Math.max(i, n), mn), throttles: o };
537
- }, Qs = (t) => (t == null ? void 0 : t.code) === "captcha_failed" && t.verdict === "not_submitted", tl = (t) => {
538
- if (!ho(t)) return !1;
539
- let e = t.integration_response.error.data;
540
- return typeof e == "object" && e !== null && "fallback" in e && e.fallback === "contact";
541
- }, el = (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", al = (t) => (t == null ? void 0 : t.outcome) === "unknown" && t.code === "repeatable_provider_crash", ol = (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, il = (t, e) => {
542
- if (typeof t != "object" || t === null) return null;
543
- let a = t.integration_response;
544
- if (typeof a != "object" || a === null) {
545
- if (e === void 0) return null;
546
- let l = "code" in t && typeof t.code == "string" ? t.code : void 0;
547
- return { service: "API", response: { status: e, payload: l === void 0 ? {} : { code: l } } };
548
- }
549
- let o = a;
550
- if (typeof o.status != "number" || o.service !== void 0 && typeof o.service != "string") return null;
551
- let i = "data" in o, n = o.error, r = typeof n == "object" && n !== null && typeof n.message == "string" && "data" in n;
552
- if (!i && !r) return null;
553
- let s = i ? o.data : n.data ?? null;
554
- return { service: o.service ?? "INVALID_SERVICE", response: { status: o.status, payload: s }, ...hn(t) && { outcome: "pending" } };
555
- }, yn = (t) => {
556
- if (!/^\d{4}-\d{2}-\d{2}$/.test(t)) return !1;
557
- let e = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
558
- return Number.isFinite(e.getTime()) && e.toISOString().slice(0, 10) === t;
559
- }, nl = (t, e) => {
560
- if (!yn(t)) throw new RangeError("Invalid ISO calendar date");
561
- return new Intl.DateTimeFormat(e, { dateStyle: "long", timeZone: "UTC" }).format(/* @__PURE__ */ new Date(`${t}T00:00:00Z`));
562
- }, rl = (t) => new Promise((e, a) => {
563
- let o = new FileReader();
564
- o.onload = () => {
565
- if (typeof o.result != "string" || !o.result) return a(new Error("Invalid file"));
566
- e(o.result);
567
- }, o.onerror = a, o.readAsDataURL(t);
568
- }), ba = (t) => typeof t == "object" && t !== null && (Object.getPrototypeOf(t) === Object.prototype || Object.getPrototypeOf(t) === null), Xe = (t, e) => t ? { ...t, ...Object.fromEntries(Object.entries(e).filter(([, a]) => a !== void 0).map(([a, o]) => {
569
- let i = t[a];
570
- return [a, ba(i) && ba(o) ? Xe(i, o) : o];
571
- })) } : e, xn = ({ context: t, schema: e, logger: a }) => {
572
- if (e) for (let o in e) {
573
- let i = e[o];
574
- if (!i) continue;
575
- let n = uo(t, o.split("."));
576
- if (i.required && n == null) {
577
- let r = `Configuration error in context: ${o} is required`;
578
- throw a.error(r), new Error(r);
579
- }
580
- if (n != null) switch (i.type) {
581
- case "number":
582
- if (typeof n != "number") throw new Error(`Configuration error in context: ${o} is not a number`);
583
- break;
584
- case "string":
585
- if (typeof n != "string") throw new Error(`Configuration error in context: ${o} is not a string`);
586
- break;
587
- default:
588
- i.type;
589
- }
590
- }
591
- }, wo = Gi(Ke([z(), Yt()]), io(String)), go = A({ id: wo, version: Yt(), build: Yt(), nodes: ro(no()), context_schema: L(pt(Ye(z(), A({ required: qe(), type: Ke([U("string"), U("number")]) })))) }), kn = A({ flow: go }), $n = A({ company: A({ name: z() }), context: L(Ye(z(), yt())), flow: go, job: A({ id: wo, title: z() }), user: L(A({ city: L(z()), country: L(z()), isEU: L(qe()), continent: L(z()) })) }), Sn = (t, e) => ({ id: t.job.id, id_type: (e == null ? void 0 : e.idType) === "internal" && e.id === t.job.id ? "internal" : "external" }), En = eo({ pathname: "/flow/job/:id", method: "GET", schema: { searchParams: wi(), response: $n } }), Cn = eo({ pathname: "/flow/id/:id", method: "GET", schema: { response: kn } }), Rt, b, bo, vo, ut, va, mo, xe, _o, vt = {}, yo = [], Tn = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, ae = Array.isArray;
592
- function ot(t, e) {
593
- for (var a in e) t[a] = e[a];
594
- return t;
595
- }
596
- function xo(t) {
597
- var e = t.parentNode;
598
- e && e.removeChild(t);
599
- }
600
- function V(t, e, a) {
601
- var o, i, n, r = {};
602
- for (n in e) n == "key" ? o = e[n] : n == "ref" ? i = e[n] : r[n] = e[n];
603
- if (arguments.length > 2 && (r.children = arguments.length > 3 ? Rt.call(arguments, 2) : a), typeof t == "function" && t.defaultProps != null) for (n in t.defaultProps) r[n] === void 0 && (r[n] = t.defaultProps[n]);
604
- return At(t, r, o, i, null);
605
- }
606
- function At(t, e, a, o, i) {
607
- var n = { type: t, props: e, key: a, ref: o, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: i ?? ++bo };
608
- return i == null && b.vnode != null && b.vnode(n), n;
609
- }
610
- function In() {
611
- return { current: null };
612
- }
613
- function G(t) {
614
- return t.children;
615
- }
616
- function X(t, e) {
617
- this.props = t, this.context = e;
618
- }
619
- function Kt(t, e) {
620
- if (e == null) return t.__ ? Kt(t.__, t.__.__k.indexOf(t) + 1) : null;
621
- for (var a; e < t.__k.length; e++) if ((a = t.__k[e]) != null && a.__e != null) return a.__e;
622
- return typeof t.type == "function" ? Kt(t) : null;
623
- }
624
- function ko(t) {
625
- var e, a;
626
- if ((t = t.__) != null && t.__c != null) {
627
- for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++) if ((a = t.__k[e]) != null && a.__e != null) {
628
- t.__e = t.__c.base = a.__e;
629
- break;
630
- }
631
- return ko(t);
632
- }
633
- }
634
- function ke(t) {
635
- (!t.__d && (t.__d = !0) && ut.push(t) && !Zt.__r++ || va !== b.debounceRendering) && ((va = b.debounceRendering) || mo)(Zt);
636
- }
637
- function Zt() {
638
- var t, e, a, o, i, n, r, s, l;
639
- for (ut.sort(xe); t = ut.shift(); ) t.__d && (e = ut.length, o = void 0, i = void 0, n = void 0, s = (r = (a = t).__v).__e, (l = a.__P) && (o = [], i = [], (n = ot({}, r)).__v = r.__v + 1, Ge(l, r, n, a.__n, l.ownerSVGElement !== void 0, r.__h != null ? [s] : null, o, s ?? Kt(r), r.__h, i), Co(o, r, i), r.__e != s && ko(r)), ut.length > e && ut.sort(xe));
640
- Zt.__r = 0;
641
- }
642
- function $o(t, e, a, o, i, n, r, s, l, d, u) {
643
- var c, h, f, p, g, $, x, C, P, D, M = 0, N = o && o.__k || yo, v = N.length, m = v, _ = e.length;
644
- for (a.__k = [], c = 0; c < _; c++) (p = a.__k[c] = (p = e[c]) == null || typeof p == "boolean" || typeof p == "function" ? null : typeof p == "string" || typeof p == "number" || typeof p == "bigint" ? At(null, p, null, null, p) : ae(p) ? At(G, { children: p }, null, null, null) : p.__b > 0 ? At(p.type, p.props, p.key, p.ref ? p.ref : null, p.__v) : p) != null && (p.__ = a, p.__b = a.__b + 1, (C = An(p, N, x = c + M, m)) === -1 ? f = vt : (f = N[C] || vt, N[C] = void 0, m--), Ge(t, p, f, i, n, r, s, l, d, u), g = p.__e, (h = p.ref) && f.ref != h && (f.ref && Je(f.ref, null, p), u.push(h, p.__c || g, p)), g != null && ($ == null && ($ = g), D = !(P = f === vt || f.__v === null) && C === x, P ? C == -1 && M-- : C !== x && (C === x + 1 ? (M++, D = !0) : C > x ? m > _ - x ? (M += C - x, D = !0) : M-- : M = C < x && C == x - 1 ? C - x : 0), x = c + M, D = D || C == c && !P, typeof p.type != "function" || C === x && f.__k !== p.__k ? typeof p.type == "function" || D ? p.__d !== void 0 ? (l = p.__d, p.__d = void 0) : l = g.nextSibling : l = Eo(t, g, l) : l = So(p, l, t), typeof a.type == "function" && (a.__d = l)));
645
- for (a.__e = $, c = v; c--; ) N[c] != null && (typeof a.type == "function" && N[c].__e != null && N[c].__e == a.__d && (a.__d = N[c].__e.nextSibling), To(N[c], N[c]));
646
- }
647
- function So(t, e, a) {
648
- for (var o, i = t.__k, n = 0; i && n < i.length; n++) (o = i[n]) && (o.__ = t, e = typeof o.type == "function" ? So(o, e, a) : Eo(a, o.__e, e));
649
- return e;
650
- }
651
- function it(t, e) {
652
- return e = e || [], t == null || typeof t == "boolean" || (ae(t) ? t.some(function(a) {
653
- it(a, e);
654
- }) : e.push(t)), e;
655
- }
656
- function Eo(t, e, a) {
657
- return a == null || a.parentNode !== t ? t.insertBefore(e, null) : e == a && e.parentNode != null || t.insertBefore(e, a), e.nextSibling;
658
- }
659
- function An(t, e, a, o) {
660
- var i = t.key, n = t.type, r = a - 1, s = a + 1, l = e[a];
661
- if (l === null || l && i == l.key && n === l.type) return a;
662
- if (o > (l != null ? 1 : 0)) for (; r >= 0 || s < e.length; ) {
663
- if (r >= 0) {
664
- if ((l = e[r]) && i == l.key && n === l.type) return r;
665
- r--;
666
- }
667
- if (s < e.length) {
668
- if ((l = e[s]) && i == l.key && n === l.type) return s;
669
- s++;
670
- }
671
- }
672
- return -1;
673
- }
674
- function Pn(t, e, a, o, i) {
675
- var n;
676
- for (n in a) n === "children" || n === "key" || n in e || Xt(t, n, null, a[n], o);
677
- for (n in e) i && typeof e[n] != "function" || n === "children" || n === "key" || n === "value" || n === "checked" || a[n] === e[n] || Xt(t, n, e[n], a[n], o);
678
- }
679
- function ma(t, e, a) {
680
- e[0] === "-" ? t.setProperty(e, a ?? "") : t[e] = a == null ? "" : typeof a != "number" || Tn.test(e) ? a : a + "px";
681
- }
682
- function Xt(t, e, a, o, i) {
683
- var n;
684
- t: if (e === "style") if (typeof a == "string") t.style.cssText = a;
685
- else {
686
- if (typeof o == "string" && (t.style.cssText = o = ""), o) for (e in o) a && e in a || ma(t.style, e, "");
687
- if (a) for (e in a) o && a[e] === o[e] || ma(t.style, e, a[e]);
688
- }
689
- else if (e[0] === "o" && e[1] === "n") 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] = a, a ? o || t.addEventListener(e, n ? ya : _a, n) : t.removeEventListener(e, n ? ya : _a, n);
690
- else if (e !== "dangerouslySetInnerHTML") {
691
- if (i) e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
692
- else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e !== "rowSpan" && e !== "colSpan" && e in t) try {
693
- t[e] = a ?? "";
694
- break t;
695
- } catch {
696
- }
697
- typeof a == "function" || (a == null || a === !1 && e[4] !== "-" ? t.removeAttribute(e) : t.setAttribute(e, a));
698
- }
699
- }
700
- function _a(t) {
701
- return this.l[t.type + !1](b.event ? b.event(t) : t);
702
- }
703
- function ya(t) {
704
- return this.l[t.type + !0](b.event ? b.event(t) : t);
705
- }
706
- function Ge(t, e, a, o, i, n, r, s, l, d) {
707
- var u, c, h, f, p, g, $, x, C, P, D, M, N, v, m, _ = e.type;
708
- if (e.constructor !== void 0) return null;
709
- a.__h != null && (l = a.__h, s = e.__e = a.__e, e.__h = null, n = [s]), (u = b.__b) && u(e);
710
- try {
711
- t: if (typeof _ == "function") {
712
- if (x = e.props, C = (u = _.contextType) && o[u.__c], P = u ? C ? C.props.value : u.__ : o, a.__c ? $ = (c = e.__c = a.__c).__ = c.__E : ("prototype" in _ && _.prototype.render ? e.__c = c = new _(x, P) : (e.__c = c = new X(x, P), c.constructor = _, c.render = On), C && C.sub(c), c.props = x, c.state || (c.state = {}), c.context = P, c.__n = o, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), _.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = ot({}, c.__s)), ot(c.__s, _.getDerivedStateFromProps(x, c.__s))), f = c.props, p = c.state, c.__v = e, h) _.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
713
- else {
714
- if (_.getDerivedStateFromProps == null && x !== f && c.componentWillReceiveProps != null && c.componentWillReceiveProps(x, P), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(x, c.__s, P) === !1 || e.__v === a.__v)) {
715
- for (e.__v !== a.__v && (c.props = x, c.state = c.__s, c.__d = !1), e.__e = a.__e, e.__k = a.__k, e.__k.forEach(function(y) {
716
- y && (y.__ = e);
717
- }), D = 0; D < c._sb.length; D++) c.__h.push(c._sb[D]);
718
- c._sb = [], c.__h.length && r.push(c);
719
- break t;
720
- }
721
- c.componentWillUpdate != null && c.componentWillUpdate(x, c.__s, P), c.componentDidUpdate != null && c.__h.push(function() {
722
- c.componentDidUpdate(f, p, g);
723
- });
724
- }
725
- if (c.context = P, c.props = x, c.__P = t, c.__e = !1, M = b.__r, N = 0, "prototype" in _ && _.prototype.render) {
726
- for (c.state = c.__s, c.__d = !1, M && M(e), u = c.render(c.props, c.state, c.context), v = 0; v < c._sb.length; v++) c.__h.push(c._sb[v]);
727
- c._sb = [];
728
- } else do
729
- c.__d = !1, M && M(e), u = c.render(c.props, c.state, c.context), c.state = c.__s;
730
- while (c.__d && ++N < 25);
731
- c.state = c.__s, c.getChildContext != null && (o = ot(ot({}, o), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (g = c.getSnapshotBeforeUpdate(f, p)), $o(t, ae(m = u != null && u.type === G && u.key == null ? u.props.children : u) ? m : [m], e, a, o, i, n, r, s, l, d), c.base = e.__e, e.__h = null, c.__h.length && r.push(c), $ && (c.__E = c.__ = null);
732
- } else n == null && e.__v === a.__v ? (e.__k = a.__k, e.__e = a.__e) : e.__e = jn(a.__e, e, a, o, i, n, r, l, d);
733
- (u = b.diffed) && u(e);
734
- } catch (y) {
735
- e.__v = null, (l || n != null) && (e.__e = s, e.__h = !!l, n[n.indexOf(s)] = null), b.__e(y, e, a);
736
- }
737
- }
738
- function Co(t, e, a) {
739
- for (var o = 0; o < a.length; o++) Je(a[o], a[++o], a[++o]);
740
- b.__c && b.__c(e, t), t.some(function(i) {
741
- try {
742
- t = i.__h, i.__h = [], t.some(function(n) {
743
- n.call(i);
744
- });
745
- } catch (n) {
746
- b.__e(n, i.__v);
747
- }
748
- });
749
- }
750
- function jn(t, e, a, o, i, n, r, s, l) {
751
- var d, u, c, h = a.props, f = e.props, p = e.type, g = 0;
752
- if (p === "svg" && (i = !0), n != null) {
753
- for (; g < n.length; g++) if ((d = n[g]) && "setAttribute" in d == !!p && (p ? d.localName === p : d.nodeType === 3)) {
754
- t = d, n[g] = null;
755
- break;
756
- }
757
- }
758
- if (t == null) {
759
- if (p === null) return document.createTextNode(f);
760
- t = i ? document.createElementNS("http://www.w3.org/2000/svg", p) : document.createElement(p, f.is && f), n = null, s = !1;
761
- }
762
- if (p === null) h === f || s && t.data === f || (t.data = f);
763
- else {
764
- if (n = n && Rt.call(t.childNodes), u = (h = a.props || vt).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !s) {
765
- if (n != null) for (h = {}, g = 0; g < t.attributes.length; g++) h[t.attributes[g].name] = t.attributes[g].value;
766
- (c || u) && (c && (u && c.__html == u.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
767
- }
768
- if (Pn(t, f, h, i, s), c) e.__k = [];
769
- else if ($o(t, ae(g = e.props.children) ? g : [g], e, a, o, i && p !== "foreignObject", n, r, n ? n[0] : a.__k && Kt(a, 0), s, l), n != null) for (g = n.length; g--; ) n[g] != null && xo(n[g]);
770
- s || ("value" in f && (g = f.value) !== void 0 && (g !== t.value || p === "progress" && !g || p === "option" && g !== h.value) && Xt(t, "value", g, h.value, !1), "checked" in f && (g = f.checked) !== void 0 && g !== t.checked && Xt(t, "checked", g, h.checked, !1));
771
- }
772
- return t;
773
- }
774
- function Je(t, e, a) {
775
- try {
776
- typeof t == "function" ? t(e) : t.current = e;
777
- } catch (o) {
778
- b.__e(o, a);
779
- }
780
- }
781
- function To(t, e, a) {
782
- var o, i;
783
- if (b.unmount && b.unmount(t), (o = t.ref) && (o.current && o.current !== t.__e || Je(o, null, e)), (o = t.__c) != null) {
784
- if (o.componentWillUnmount) try {
785
- o.componentWillUnmount();
786
- } catch (n) {
787
- b.__e(n, e);
788
- }
789
- o.base = o.__P = null, t.__c = void 0;
790
- }
791
- if (o = t.__k) for (i = 0; i < o.length; i++) o[i] && To(o[i], e, a || typeof t.type != "function");
792
- a || t.__e == null || xo(t.__e), t.__ = t.__e = t.__d = void 0;
793
- }
794
- function On(t, e, a) {
795
- return this.constructor(t, a);
796
- }
797
- function ft(t, e, a) {
798
- var o, i, n, r;
799
- b.__ && b.__(t, e), i = (o = typeof a == "function") ? null : a && a.__k || e.__k, n = [], r = [], Ge(e, t = (!o && a || e).__k = V(G, null, [t]), i || vt, vt, e.ownerSVGElement !== void 0, !o && a ? [a] : i ? null : e.firstChild ? Rt.call(e.childNodes) : null, n, !o && a ? a : i ? i.__e : e.firstChild, o, r), Co(n, t, r);
800
- }
801
- function Io(t, e) {
802
- ft(t, e, Io);
803
- }
804
- function Dn(t, e, a) {
805
- var o, i, n, r, s = ot({}, t.props);
806
- for (n in t.type && t.type.defaultProps && (r = t.type.defaultProps), e) n == "key" ? o = e[n] : n == "ref" ? i = e[n] : s[n] = e[n] === void 0 && r !== void 0 ? r[n] : e[n];
807
- return arguments.length > 2 && (s.children = arguments.length > 3 ? Rt.call(arguments, 2) : a), At(t.type, s, o || t.key, i || t.ref, null);
808
- }
809
- function Ao(t, e) {
810
- var a = { __c: e = "__cC" + _o++, __: t, Consumer: function(o, i) {
811
- return o.children(i);
812
- }, Provider: function(o) {
813
- var i, n;
814
- return this.getChildContext || (i = [], (n = {})[e] = this, this.getChildContext = function() {
815
- return n;
816
- }, this.shouldComponentUpdate = function(r) {
817
- this.props.value !== r.value && i.some(function(s) {
818
- s.__e = !0, ke(s);
819
- });
820
- }, this.sub = function(r) {
821
- i.push(r);
822
- var s = r.componentWillUnmount;
823
- r.componentWillUnmount = function() {
824
- i.splice(i.indexOf(r), 1), s && s.call(r);
825
- };
826
- }), o.children;
827
- } };
828
- return a.Provider.__ = a.Consumer.contextType = a;
829
- }
830
- Rt = yo.slice, b = { __e: function(t, e, a, o) {
831
- for (var i, n, r; e = e.__; ) if ((i = e.__c) && !i.__) try {
832
- if ((n = i.constructor) && n.getDerivedStateFromError != null && (i.setState(n.getDerivedStateFromError(t)), r = i.__d), i.componentDidCatch != null && (i.componentDidCatch(t, o || {}), r = i.__d), r) return i.__E = i;
833
- } catch (s) {
834
- t = s;
835
- }
836
- throw t;
837
- } }, bo = 0, vo = function(t) {
838
- return t != null && t.constructor === void 0;
839
- }, X.prototype.setState = function(t, e) {
840
- var a;
841
- a = this.__s != null && this.__s !== this.state ? this.__s : this.__s = ot({}, this.state), typeof t == "function" && (t = t(ot({}, a), this.props)), t && ot(a, t), t != null && this.__v && (e && this._sb.push(e), ke(this));
842
- }, X.prototype.forceUpdate = function(t) {
843
- this.__v && (this.__e = !0, t && this.__h.push(t), ke(this));
844
- }, X.prototype.render = G, ut = [], mo = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, xe = function(t, e) {
845
- return t.__v.__b - e.__v.__b;
846
- }, Zt.__r = 0, _o = 0;
847
- var ct, I, le, xa, xt = 0, Po = [], Lt = [], ka = b.__b, $a = b.__r, Sa = b.diffed, Ea = b.__c, Ca = b.unmount;
848
- function $t(t, e) {
849
- b.__h && b.__h(I, t, xt || e), xt = 0;
850
- var a = I.__H || (I.__H = { __: [], __h: [] });
851
- return t >= a.__.length && a.__.push({ __V: Lt }), a.__[t];
852
- }
853
- function jo(t) {
854
- return xt = 1, Oo(Mo, t);
855
- }
856
- function Oo(t, e, a) {
857
- var o = $t(ct++, 2);
858
- if (o.t = t, !o.__c && (o.__ = [a ? a(e) : Mo(void 0, e), function(s) {
859
- var l = o.__N ? o.__N[0] : o.__[0], d = o.t(l, s);
860
- l !== d && (o.__N = [d, o.__[1]], o.__c.setState({}));
861
- }], o.__c = I, !I.u)) {
862
- var i = function(s, l, d) {
863
- if (!o.__c.__H) return !0;
864
- var u = o.__c.__H.__.filter(function(h) {
865
- return h.__c;
866
- });
867
- if (u.every(function(h) {
868
- return !h.__N;
869
- })) return !n || n.call(this, s, l, d);
870
- var c = !1;
871
- return u.forEach(function(h) {
872
- if (h.__N) {
873
- var f = h.__[0];
874
- h.__ = h.__N, h.__N = void 0, f !== h.__[0] && (c = !0);
875
- }
876
- }), !(!c && o.__c.props === s) && (!n || n.call(this, s, l, d));
877
- };
878
- I.u = !0;
879
- var n = I.shouldComponentUpdate, r = I.componentWillUpdate;
880
- I.componentWillUpdate = function(s, l, d) {
881
- if (this.__e) {
882
- var u = n;
883
- n = void 0, i(s, l, d), n = u;
884
- }
885
- r && r.call(this, s, l, d);
886
- }, I.shouldComponentUpdate = i;
887
- }
888
- return o.__N || o.__;
889
- }
890
- function Qe(t, e) {
891
- var a = $t(ct++, 3);
892
- !b.__s && ta(a.__H, e) && (a.__ = t, a.i = e, I.__H.__h.push(a));
893
- }
894
- function St(t, e) {
895
- var a = $t(ct++, 4);
896
- !b.__s && ta(a.__H, e) && (a.__ = t, a.i = e, I.__h.push(a));
897
- }
898
- function kt(t) {
899
- return xt = 5, wt(function() {
900
- return { current: t };
901
- }, []);
902
- }
903
- function Mn(t, e, a) {
904
- xt = 6, St(function() {
905
- return typeof t == "function" ? (t(e()), function() {
906
- return t(null);
907
- }) : t ? (t.current = e(), function() {
908
- return t.current = null;
909
- }) : void 0;
910
- }, a == null ? a : a.concat(t));
911
- }
912
- function wt(t, e) {
913
- var a = $t(ct++, 7);
914
- return ta(a.__H, e) ? (a.__V = t(), a.i = e, a.__h = t, a.__V) : a.__;
915
- }
916
- function Nn(t, e) {
917
- return xt = 8, wt(function() {
918
- return t;
919
- }, e);
920
- }
921
- function Do(t) {
922
- var e = I.context[t.__c], a = $t(ct++, 9);
923
- return a.c = t, e ? (a.__ == null && (a.__ = !0, e.sub(I)), e.props.value) : t.__;
924
- }
925
- function zn(t, e) {
926
- b.useDebugValue && b.useDebugValue(e ? e(t) : t);
927
- }
928
- function Rn() {
929
- var t = $t(ct++, 11);
930
- if (!t.__) {
931
- for (var e = I.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
932
- var a = e.__m || (e.__m = [0, 0]);
933
- t.__ = "P" + a[0] + "-" + a[1]++;
934
- }
935
- return t.__;
936
- }
937
- function Bn() {
938
- for (var t; t = Po.shift(); ) if (t.__P && t.__H) try {
939
- t.__H.__h.forEach(Ht), t.__H.__h.forEach($e), t.__H.__h = [];
940
- } catch (e) {
941
- t.__H.__h = [], b.__e(e, t.__v);
942
- }
943
- }
944
- b.__b = function(t) {
945
- I = null, ka && ka(t);
946
- }, b.__r = function(t) {
947
- $a && $a(t), ct = 0;
948
- var e = (I = t.__c).__H;
949
- e && (le === I ? (e.__h = [], I.__h = [], e.__.forEach(function(a) {
950
- a.__N && (a.__ = a.__N), a.__V = Lt, a.__N = a.i = void 0;
951
- })) : (e.__h.forEach(Ht), e.__h.forEach($e), e.__h = [], ct = 0)), le = I;
952
- }, b.diffed = function(t) {
953
- Sa && Sa(t);
954
- var e = t.__c;
955
- e && e.__H && (e.__H.__h.length && (Po.push(e) !== 1 && xa === b.requestAnimationFrame || ((xa = b.requestAnimationFrame) || Fn)(Bn)), e.__H.__.forEach(function(a) {
956
- a.i && (a.__H = a.i), a.__V !== Lt && (a.__ = a.__V), a.i = void 0, a.__V = Lt;
957
- })), le = I = null;
958
- }, b.__c = function(t, e) {
959
- e.some(function(a) {
960
- try {
961
- a.__h.forEach(Ht), a.__h = a.__h.filter(function(o) {
962
- return !o.__ || $e(o);
963
- });
964
- } catch (o) {
965
- e.some(function(i) {
966
- i.__h && (i.__h = []);
967
- }), e = [], b.__e(o, a.__v);
968
- }
969
- }), Ea && Ea(t, e);
970
- }, b.unmount = function(t) {
971
- Ca && Ca(t);
972
- var e, a = t.__c;
973
- a && a.__H && (a.__H.__.forEach(function(o) {
974
- try {
975
- Ht(o);
976
- } catch (i) {
977
- e = i;
978
- }
979
- }), a.__H = void 0, e && b.__e(e, a.__v));
980
- };
981
- var Ta = typeof requestAnimationFrame == "function";
982
- function Fn(t) {
983
- var e, a = function() {
984
- clearTimeout(o), Ta && cancelAnimationFrame(e), setTimeout(t);
985
- }, o = setTimeout(a, 100);
986
- Ta && (e = requestAnimationFrame(a));
987
- }
988
- function Ht(t) {
989
- var e = I, a = t.__c;
990
- typeof a == "function" && (t.__c = void 0, a()), I = e;
991
- }
992
- function $e(t) {
993
- var e = I;
994
- t.__c = t.__(), I = e;
995
- }
996
- function ta(t, e) {
997
- return !t || t.length !== e.length || e.some(function(a, o) {
998
- return a !== t[o];
999
- });
1000
- }
1001
- function Mo(t, e) {
1002
- return typeof e == "function" ? e(t) : e;
1003
- }
1004
- var Ln = Symbol.for("preact-signals");
1005
- function ea() {
1006
- if (mt > 1)
1007
- mt--;
1008
- else {
1009
- for (var t, e = !1; Pt !== void 0; ) {
1010
- var a = Pt;
1011
- for (Pt = void 0, Se++; a !== void 0; ) {
1012
- var o = a.o;
1013
- if (a.o = void 0, a.f &= -3, !(8 & a.f) && zo(a)) try {
1014
- a.c();
1015
- } catch (i) {
1016
- e || (t = i, e = !0);
1017
- }
1018
- a = o;
1019
- }
1020
- }
1021
- if (Se = 0, mt--, e) throw t;
1022
- }
1023
- }
1024
- var E = void 0, Pt = void 0, mt = 0, Se = 0, Gt = 0;
1025
- function No(t) {
1026
- if (E !== void 0) {
1027
- var e = t.n;
1028
- if (e === void 0 || e.t !== E)
1029
- return e = { i: 0, S: t, p: E.s, n: void 0, t: E, e: void 0, x: void 0, r: e }, E.s !== void 0 && (E.s.n = e), E.s = e, t.n = e, 32 & E.f && t.S(e), e;
1030
- if (e.i === -1)
1031
- return e.i = 0, e.n !== void 0 && (e.n.p = e.p, e.p !== void 0 && (e.p.n = e.n), e.p = E.s, e.n = void 0, E.s.n = e, E.s = e), e;
1032
- }
1033
- }
1034
- function R(t) {
1035
- this.v = t, this.i = 0, this.n = void 0, this.t = void 0;
1036
- }
1037
- R.prototype.brand = Ln;
1038
- R.prototype.h = function() {
1039
- return !0;
1040
- };
1041
- R.prototype.S = function(t) {
1042
- this.t !== t && t.e === void 0 && (t.x = this.t, this.t !== void 0 && (this.t.e = t), this.t = t);
1043
- };
1044
- R.prototype.U = function(t) {
1045
- if (this.t !== void 0) {
1046
- var e = t.e, a = t.x;
1047
- e !== void 0 && (e.x = a, t.e = void 0), a !== void 0 && (a.e = e, t.x = void 0), t === this.t && (this.t = a);
1048
- }
1049
- };
1050
- R.prototype.subscribe = function(t) {
1051
- var e = this;
1052
- return oa(function() {
1053
- var a = e.value, o = E;
1054
- E = void 0;
1055
- try {
1056
- t(a);
1057
- } finally {
1058
- E = o;
1059
- }
1060
- });
1061
- };
1062
- R.prototype.valueOf = function() {
1063
- return this.value;
1064
- };
1065
- R.prototype.toString = function() {
1066
- return this.value + "";
1067
- };
1068
- R.prototype.toJSON = function() {
1069
- return this.value;
1070
- };
1071
- R.prototype.peek = function() {
1072
- var t = E;
1073
- E = void 0;
1074
- try {
1075
- return this.value;
1076
- } finally {
1077
- E = t;
1078
- }
1079
- };
1080
- Object.defineProperty(R.prototype, "value", { get: function() {
1081
- var t = No(this);
1082
- return t !== void 0 && (t.i = this.i), this.v;
1083
- }, set: function(t) {
1084
- if (t !== this.v) {
1085
- if (Se > 100) throw new Error("Cycle detected");
1086
- this.v = t, this.i++, Gt++, mt++;
1087
- try {
1088
- for (var e = this.t; e !== void 0; e = e.x) e.t.N();
1089
- } finally {
1090
- ea();
1091
- }
1092
- }
1093
- } });
1094
- function K(t) {
1095
- return new R(t);
1096
- }
1097
- function zo(t) {
1098
- for (var e = t.s; e !== void 0; e = e.n) if (e.S.i !== e.i || !e.S.h() || e.S.i !== e.i) return !0;
1099
- return !1;
1100
- }
1101
- function Ro(t) {
1102
- for (var e = t.s; e !== void 0; e = e.n) {
1103
- var a = e.S.n;
1104
- if (a !== void 0 && (e.r = a), e.S.n = e, e.i = -1, e.n === void 0) {
1105
- t.s = e;
1106
- break;
1107
- }
1108
- }
1109
- }
1110
- function Bo(t) {
1111
- for (var e = t.s, a = void 0; e !== void 0; ) {
1112
- var o = e.p;
1113
- e.i === -1 ? (e.S.U(e), o !== void 0 && (o.n = e.n), e.n !== void 0 && (e.n.p = o)) : a = e, e.S.n = e.r, e.r !== void 0 && (e.r = void 0), e = o;
1114
- }
1115
- t.s = a;
1116
- }
1117
- function Et(t) {
1118
- R.call(this, void 0), this.x = t, this.s = void 0, this.g = Gt - 1, this.f = 4;
1119
- }
1120
- (Et.prototype = new R()).h = function() {
1121
- if (this.f &= -3, 1 & this.f) return !1;
1122
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === Gt)) return !0;
1123
- if (this.g = Gt, this.f |= 1, this.i > 0 && !zo(this))
1124
- return this.f &= -2, !0;
1125
- var t = E;
1126
- try {
1127
- Ro(this), E = this;
1128
- var e = this.x();
1129
- (16 & this.f || this.v !== e || this.i === 0) && (this.v = e, this.f &= -17, this.i++);
1130
- } catch (a) {
1131
- this.v = a, this.f |= 16, this.i++;
1132
- }
1133
- return E = t, Bo(this), this.f &= -2, !0;
1134
- };
1135
- Et.prototype.S = function(t) {
1136
- if (this.t === void 0) {
1137
- this.f |= 36;
1138
- for (var e = this.s; e !== void 0; e = e.n) e.S.S(e);
1139
- }
1140
- R.prototype.S.call(this, t);
1141
- };
1142
- Et.prototype.U = function(t) {
1143
- if (this.t !== void 0 && (R.prototype.U.call(this, t), this.t === void 0)) {
1144
- this.f &= -33;
1145
- for (var e = this.s; e !== void 0; e = e.n) e.S.U(e);
1146
- }
1147
- };
1148
- Et.prototype.N = function() {
1149
- if (!(2 & this.f)) {
1150
- this.f |= 6;
1151
- for (var t = this.t; t !== void 0; t = t.x) t.t.N();
1152
- }
1153
- };
1154
- Object.defineProperty(Et.prototype, "value", { get: function() {
1155
- if (1 & this.f) throw new Error("Cycle detected");
1156
- var t = No(this);
1157
- if (this.h(), t !== void 0 && (t.i = this.i), 16 & this.f) throw this.v;
1158
- return this.v;
1159
- } });
1160
- function Hn(t) {
1161
- return new Et(t);
1162
- }
1163
- function Fo(t) {
1164
- var e = t.u;
1165
- if (t.u = void 0, typeof e == "function") {
1166
- mt++;
1167
- var a = E;
1168
- E = void 0;
1169
- try {
1170
- e();
1171
- } catch (o) {
1172
- throw t.f &= -2, t.f |= 8, aa(t), o;
1173
- } finally {
1174
- E = a, ea();
1175
- }
1176
- }
1177
- }
1178
- function aa(t) {
1179
- for (var e = t.s; e !== void 0; e = e.n) e.S.U(e);
1180
- t.x = void 0, t.s = void 0, Fo(t);
1181
- }
1182
- function Un(t) {
1183
- if (E !== this) throw new Error("Out-of-order effect");
1184
- Bo(this), E = t, this.f &= -2, 8 & this.f && aa(this), ea();
1185
- }
1186
- function Bt(t) {
1187
- this.x = t, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32;
1188
- }
1189
- Bt.prototype.c = function() {
1190
- var t = this.S();
1191
- try {
1192
- if (8 & this.f || this.x === void 0) return;
1193
- var e = this.x();
1194
- typeof e == "function" && (this.u = e);
1195
- } finally {
1196
- t();
1197
- }
1198
- };
1199
- Bt.prototype.S = function() {
1200
- if (1 & this.f) throw new Error("Cycle detected");
1201
- this.f |= 1, this.f &= -9, Fo(this), Ro(this), mt++;
1202
- var t = E;
1203
- return E = this, Un.bind(this, t);
1204
- };
1205
- Bt.prototype.N = function() {
1206
- 2 & this.f || (this.f |= 2, this.o = Pt, Pt = this);
1207
- };
1208
- Bt.prototype.d = function() {
1209
- this.f |= 8, 1 & this.f || aa(this);
1210
- };
1211
- function oa(t) {
1212
- var e = new Bt(t);
1213
- try {
1214
- e.c();
1215
- } catch (a) {
1216
- throw e.d(), a;
1217
- }
1218
- return e.d.bind(e);
1219
- }
1220
- var ce;
1221
- function Ct(t, e) {
1222
- b[t] = e.bind(null, b[t] || function() {
1223
- });
1224
- }
1225
- function Jt(t) {
1226
- ce && ce(), ce = t && t.S();
1227
- }
1228
- function Lo(t) {
1229
- var e = this, a = t.data, o = Vn(a);
1230
- o.value = a;
1231
- var i = wt(function() {
1232
- for (var n = e.__v; n = n.__; ) if (n.__c) {
1233
- n.__c.__$f |= 4;
1234
- break;
1235
- }
1236
- return e.__$u.c = function() {
1237
- var r;
1238
- !vo(i.peek()) && ((r = e.base) == null ? void 0 : r.nodeType) === 3 ? e.base.data = i.peek() : (e.__$f |= 1, e.setState({}));
1239
- }, Hn(function() {
1240
- var r = o.value.value;
1241
- return r === 0 ? 0 : r === !0 ? "" : r || "";
1242
- });
1243
- }, []);
1244
- return i.value;
1245
- }
1246
- Lo.displayName = "_st";
1247
- Object.defineProperties(R.prototype, { constructor: { configurable: !0, value: void 0 }, type: { configurable: !0, value: Lo }, props: { configurable: !0, get: function() {
1248
- return { data: this };
1249
- } }, __b: { configurable: !0, value: 1 } });
1250
- Ct("__b", function(t, e) {
1251
- if (typeof e.type == "string") {
1252
- var a, o = e.props;
1253
- for (var i in o) if (i !== "children") {
1254
- var n = o[i];
1255
- n instanceof R && (a || (e.__np = a = {}), a[i] = n, o[i] = n.peek());
1256
- }
1257
- }
1258
- t(e);
1259
- });
1260
- Ct("__r", function(t, e) {
1261
- Jt();
1262
- var a, o = e.__c;
1263
- o && (o.__$f &= -2, (a = o.__$u) === void 0 && (o.__$u = a = (function(i) {
1264
- var n;
1265
- return oa(function() {
1266
- n = this;
1267
- }), n.c = function() {
1268
- o.__$f |= 1, o.setState({});
1269
- }, n;
1270
- })())), Jt(a), t(e);
1271
- });
1272
- Ct("__e", function(t, e, a, o) {
1273
- Jt(), t(e, a, o);
1274
- });
1275
- Ct("diffed", function(t, e) {
1276
- Jt();
1277
- var a;
1278
- if (typeof e.type == "string" && (a = e.__e)) {
1279
- var o = e.__np, i = e.props;
1280
- if (o) {
1281
- var n = a.U;
1282
- if (n) for (var r in n) {
1283
- var s = n[r];
1284
- s !== void 0 && !(r in o) && (s.d(), n[r] = void 0);
1285
- }
1286
- else a.U = n = {};
1287
- for (var l in o) {
1288
- var d = n[l], u = o[l];
1289
- d === void 0 ? (d = Wn(a, l, u, i), n[l] = d) : d.o(u, i);
1290
- }
1291
- }
1292
- }
1293
- t(e);
1294
- });
1295
- function Wn(t, e, a, o) {
1296
- var i = e in t && t.ownerSVGElement === void 0, n = K(a);
1297
- return { o: function(r, s) {
1298
- n.value = r, o = s;
1299
- }, d: oa(function() {
1300
- var r = n.value.value;
1301
- o[e] !== r && (o[e] = r, i ? t[e] = r : r ? t.setAttribute(e, r) : t.removeAttribute(e));
1302
- }) };
1303
- }
1304
- Ct("unmount", function(t, e) {
1305
- if (typeof e.type == "string") {
1306
- var a = e.__e;
1307
- if (a) {
1308
- var o = a.U;
1309
- if (o) {
1310
- a.U = void 0;
1311
- for (var i in o) {
1312
- var n = o[i];
1313
- n && n.d();
1314
- }
1315
- }
1316
- }
1317
- } else {
1318
- var r = e.__c;
1319
- if (r) {
1320
- var s = r.__$u;
1321
- s && (r.__$u = void 0, s.d());
1322
- }
1323
- }
1324
- t(e);
1325
- });
1326
- Ct("__h", function(t, e, a, o) {
1327
- (o < 3 || o === 9) && (e.__$f |= 2), t(e, a, o);
1328
- });
1329
- X.prototype.shouldComponentUpdate = function(t, e) {
1330
- var a = this.__$u;
1331
- if (!(a && a.s !== void 0 || 4 & this.__$f) || 3 & this.__$f) return !0;
1332
- for (var o in e) return !0;
1333
- for (var i in t) if (i !== "__source" && t[i] !== this.props[i]) return !0;
1334
- for (var n in this.props) if (!(n in t)) return !0;
1335
- return !1;
1336
- };
1337
- function Vn(t) {
1338
- return wt(function() {
1339
- return K(t);
1340
- }, []);
1341
- }
1342
- const H = Symbol.for("@ts-pattern/matcher"), Ho = Symbol.for("@ts-pattern/isVariadic"), Qt = "@ts-pattern/anonymous-select-key", Ee = (t) => !!(t && typeof t == "object"), Ut = (t) => t && !!t[H], j = (t, e, a) => {
1343
- if (Ut(t)) {
1344
- const o = t[H](), { matched: i, selections: n } = o.match(e);
1345
- return i && n && Object.keys(n).forEach((r) => a(r, n[r])), i;
1346
- }
1347
- if (Ee(t)) {
1348
- if (!Ee(e)) return !1;
1349
- if (Array.isArray(t)) {
1350
- if (!Array.isArray(e)) return !1;
1351
- let o = [], i = [], n = [];
1352
- for (const r of t.keys()) {
1353
- const s = t[r];
1354
- Ut(s) && s[Ho] ? n.push(s) : n.length ? i.push(s) : o.push(s);
1355
- }
1356
- if (n.length) {
1357
- if (n.length > 1) throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");
1358
- if (e.length < o.length + i.length) return !1;
1359
- const r = e.slice(0, o.length), s = i.length === 0 ? [] : e.slice(-i.length), l = e.slice(o.length, i.length === 0 ? 1 / 0 : -i.length);
1360
- return o.every((d, u) => j(d, r[u], a)) && i.every((d, u) => j(d, s[u], a)) && (n.length === 0 || j(n[0], l, a));
1361
- }
1362
- return t.length === e.length && t.every((r, s) => j(r, e[s], a));
1363
- }
1364
- return Reflect.ownKeys(t).every((o) => {
1365
- const i = t[o];
1366
- return (o in e || Ut(n = i) && n[H]().matcherType === "optional") && j(i, e[o], a);
1367
- var n;
1368
- });
1369
- }
1370
- return Object.is(e, t);
1371
- }, F = (t) => {
1372
- var e, a, o;
1373
- return Ee(t) ? Ut(t) ? (e = (a = (o = t[H]()).getSelectionKeys) == null ? void 0 : a.call(o)) != null ? e : [] : Array.isArray(t) ? Mt(t, F) : Mt(Object.values(t), F) : [];
1374
- }, Mt = (t, e) => t.reduce((a, o) => a.concat(e(o)), []);
1375
- function Uo(...t) {
1376
- if (t.length === 1) {
1377
- const [e] = t;
1378
- return (a) => j(e, a, () => {
1379
- });
1380
- }
1381
- if (t.length === 2) {
1382
- const [e, a] = t;
1383
- return j(e, a, () => {
1384
- });
1385
- }
1386
- throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`);
1387
- }
1388
- function O(t) {
1389
- return Object.assign(t, { optional: () => ia(t), and: (e) => T(t, e), or: (e) => Wo(t, e), select: (e) => e === void 0 ? Nt(t) : Nt(e, t) });
1390
- }
1391
- function Ce(t) {
1392
- return Object.assign(((e) => Object.assign(e, { [Symbol.iterator]() {
1393
- let a = 0;
1394
- const o = [{ value: Object.assign(e, { [Ho]: !0 }), done: !1 }, { done: !0, value: void 0 }];
1395
- return { next: () => {
1396
- var i;
1397
- return (i = o[a++]) != null ? i : o.at(-1);
1398
- } };
1399
- } }))(t), { optional: () => Ce(ia(t)), select: (e) => Ce(e === void 0 ? Nt(t) : Nt(e, t)) });
1400
- }
1401
- function ia(t) {
1402
- return O({ [H]: () => ({ match: (e) => {
1403
- let a = {};
1404
- const o = (i, n) => {
1405
- a[i] = n;
1406
- };
1407
- return e === void 0 ? (F(t).forEach((i) => o(i, void 0)), { matched: !0, selections: a }) : { matched: j(t, e, o), selections: a };
1408
- }, getSelectionKeys: () => F(t), matcherType: "optional" }) });
1409
- }
1410
- const qn = (t, e) => {
1411
- for (const a of t) if (!e(a)) return !1;
1412
- return !0;
1413
- }, Yn = (t, e) => {
1414
- for (const [a, o] of t.entries()) if (!e(o, a)) return !1;
1415
- return !0;
1416
- }, Kn = (t, e) => {
1417
- const a = Reflect.ownKeys(t);
1418
- for (const o of a) if (!e(o, t[o])) return !1;
1419
- return !0;
1420
- };
1421
- function T(...t) {
1422
- return O({ [H]: () => ({ match: (e) => {
1423
- let a = {};
1424
- const o = (i, n) => {
1425
- a[i] = n;
1426
- };
1427
- return { matched: t.every((i) => j(i, e, o)), selections: a };
1428
- }, getSelectionKeys: () => Mt(t, F), matcherType: "and" }) });
1429
- }
1430
- function Wo(...t) {
1431
- return O({ [H]: () => ({ match: (e) => {
1432
- let a = {};
1433
- const o = (i, n) => {
1434
- a[i] = n;
1435
- };
1436
- return Mt(t, F).forEach((i) => o(i, void 0)), { matched: t.some((i) => j(i, e, o)), selections: a };
1437
- }, getSelectionKeys: () => Mt(t, F), matcherType: "or" }) });
1438
- }
1439
- function k(t) {
1440
- return { [H]: () => ({ match: (e) => ({ matched: !!t(e) }) }) };
1441
- }
1442
- function Nt(...t) {
1443
- const e = typeof t[0] == "string" ? t[0] : void 0, a = t.length === 2 ? t[1] : typeof t[0] == "string" ? void 0 : t[0];
1444
- return O({ [H]: () => ({ match: (o) => {
1445
- let i = { [e ?? Qt]: o };
1446
- return { matched: a === void 0 || j(a, o, (n, r) => {
1447
- i[n] = r;
1448
- }), selections: i };
1449
- }, getSelectionKeys: () => [e ?? Qt].concat(a === void 0 ? [] : F(a)) }) });
1450
- }
1451
- function Vo(t) {
1452
- return !0;
1453
- }
1454
- function J(t) {
1455
- return typeof t == "number";
1456
- }
1457
- function nt(t) {
1458
- return typeof t == "string";
1459
- }
1460
- function rt(t) {
1461
- return typeof t == "bigint";
1462
- }
1463
- const qo = O(k(Vo)), Zn = O(k(Vo)), Xn = qo, st = (t) => Object.assign(O(t), { startsWith: (e) => {
1464
- return st(T(t, (a = e, k((o) => nt(o) && o.startsWith(a)))));
1465
- var a;
1466
- }, endsWith: (e) => {
1467
- return st(T(t, (a = e, k((o) => nt(o) && o.endsWith(a)))));
1468
- var a;
1469
- }, minLength: (e) => st(T(t, ((a) => k((o) => nt(o) && o.length >= a))(e))), length: (e) => st(T(t, ((a) => k((o) => nt(o) && o.length === a))(e))), maxLength: (e) => st(T(t, ((a) => k((o) => nt(o) && o.length <= a))(e))), includes: (e) => {
1470
- return st(T(t, (a = e, k((o) => nt(o) && o.includes(a)))));
1471
- var a;
1472
- }, regex: (e) => {
1473
- return st(T(t, (a = e, k((o) => nt(o) && !!o.match(a)))));
1474
- var a;
1475
- } }), Ia = st(k(nt)), Q = (t) => Object.assign(O(t), { between: (e, a) => Q(T(t, ((o, i) => k((n) => J(n) && o <= n && i >= n))(e, a))), lt: (e) => Q(T(t, ((a) => k((o) => J(o) && o < a))(e))), gt: (e) => Q(T(t, ((a) => k((o) => J(o) && o > a))(e))), lte: (e) => Q(T(t, ((a) => k((o) => J(o) && o <= a))(e))), gte: (e) => Q(T(t, ((a) => k((o) => J(o) && o >= a))(e))), int: () => Q(T(t, k((e) => J(e) && Number.isInteger(e)))), finite: () => Q(T(t, k((e) => J(e) && Number.isFinite(e)))), positive: () => Q(T(t, k((e) => J(e) && e > 0))), negative: () => Q(T(t, k((e) => J(e) && e < 0))) }), Gn = Q(k(J)), lt = (t) => Object.assign(O(t), { between: (e, a) => lt(T(t, ((o, i) => k((n) => rt(n) && o <= n && i >= n))(e, a))), lt: (e) => lt(T(t, ((a) => k((o) => rt(o) && o < a))(e))), gt: (e) => lt(T(t, ((a) => k((o) => rt(o) && o > a))(e))), lte: (e) => lt(T(t, ((a) => k((o) => rt(o) && o <= a))(e))), gte: (e) => lt(T(t, ((a) => k((o) => rt(o) && o >= a))(e))), positive: () => lt(T(t, k((e) => rt(e) && e > 0))), negative: () => lt(T(t, k((e) => rt(e) && e < 0))) }), Jn = lt(k(rt)), Qn = O(k(function(t) {
1476
- return typeof t == "boolean";
1477
- })), tr = O(k(function(t) {
1478
- return typeof t == "symbol";
1479
- })), er = O(k(function(t) {
1480
- return t == null;
1481
- })), ar = O(k(function(t) {
1482
- return t != null;
1483
- }));
1484
- var bt = { __proto__: null, matcher: H, optional: ia, array: function(...t) {
1485
- return Ce({ [H]: () => ({ match: (e) => {
1486
- if (!Array.isArray(e)) return { matched: !1 };
1487
- if (t.length === 0) return { matched: !0 };
1488
- const a = t[0];
1489
- let o = {};
1490
- if (e.length === 0) return F(a).forEach((n) => {
1491
- o[n] = [];
1492
- }), { matched: !0, selections: o };
1493
- const i = (n, r) => {
1494
- o[n] = (o[n] || []).concat([r]);
1495
- };
1496
- return { matched: e.every((n) => j(a, n, i)), selections: o };
1497
- }, getSelectionKeys: () => t.length === 0 ? [] : F(t[0]) }) });
1498
- }, set: function(...t) {
1499
- return O({ [H]: () => ({ match: (e) => {
1500
- if (!(e instanceof Set)) return { matched: !1 };
1501
- let a = {};
1502
- if (e.size === 0) return { matched: !0, selections: a };
1503
- if (t.length === 0) return { matched: !0 };
1504
- const o = (n, r) => {
1505
- a[n] = (a[n] || []).concat([r]);
1506
- }, i = t[0];
1507
- return { matched: qn(e, (n) => j(i, n, o)), selections: a };
1508
- }, getSelectionKeys: () => t.length === 0 ? [] : F(t[0]) }) });
1509
- }, map: function(...t) {
1510
- return O({ [H]: () => ({ match: (e) => {
1511
- if (!(e instanceof Map)) return { matched: !1 };
1512
- let a = {};
1513
- if (e.size === 0) return { matched: !0, selections: a };
1514
- const o = (s, l) => {
1515
- a[s] = (a[s] || []).concat([l]);
1516
- };
1517
- if (t.length === 0) return { matched: !0 };
1518
- var i;
1519
- if (t.length === 1) throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(i = t[0]) == null ? void 0 : i.toString()}`);
1520
- const [n, r] = t;
1521
- return { matched: Yn(e, (s, l) => {
1522
- const d = j(n, l, o), u = j(r, s, o);
1523
- return d && u;
1524
- }), selections: a };
1525
- }, getSelectionKeys: () => t.length === 0 ? [] : [...F(t[0]), ...F(t[1])] }) });
1526
- }, record: function(...t) {
1527
- return O({ [H]: () => ({ match: (e) => {
1528
- if (e === null || typeof e != "object" || Array.isArray(e)) return { matched: !1 };
1529
- var a;
1530
- if (t.length === 0) throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(a = t[0]) == null ? void 0 : a.toString()}`);
1531
- let o = {};
1532
- const i = (s, l) => {
1533
- o[s] = (o[s] || []).concat([l]);
1534
- }, [n, r] = t.length === 1 ? [Ia, t[0]] : t;
1535
- return { matched: Kn(e, (s, l) => {
1536
- const d = typeof s != "string" || Number.isNaN(Number(s)) ? null : Number(s), u = d !== null && j(n, d, i), c = j(n, s, i), h = j(r, l, i);
1537
- return (c || u) && h;
1538
- }), selections: o };
1539
- }, getSelectionKeys: () => t.length === 0 ? [] : [...F(t[0]), ...F(t[1])] }) });
1540
- }, intersection: T, union: Wo, not: function(t) {
1541
- return O({ [H]: () => ({ match: (e) => ({ matched: !j(t, e, () => {
1542
- }) }), getSelectionKeys: () => [], matcherType: "not" }) });
1543
- }, when: k, select: Nt, any: qo, unknown: Zn, _: Xn, string: Ia, number: Gn, bigint: Jn, boolean: Qn, symbol: tr, nullish: er, nonNullable: ar, instanceOf: function(t) {
1544
- return O(k(/* @__PURE__ */ (function(e) {
1545
- return (a) => a instanceof e;
1546
- })(t)));
1547
- }, shape: function(t) {
1548
- return O(k(Uo(t)));
1549
- } };
1550
- let or = class extends Error {
1551
- constructor(e) {
1552
- let a;
1553
- try {
1554
- a = JSON.stringify(e);
1555
- } catch {
1556
- a = e;
1557
- }
1558
- super(`Pattern matching error: no pattern matches value ${a}`), this.input = void 0, this.input = e;
1559
- }
1560
- };
1561
- const Te = { matched: !1, value: void 0 };
1562
- function na(t) {
1563
- return new ir(t, Te);
1564
- }
1565
- let ir = class Ie {
1566
- constructor(e, a) {
1567
- this.input = void 0, this.state = void 0, this.input = e, this.state = a;
1568
- }
1569
- with(...e) {
1570
- if (this.state.matched) return this;
1571
- const a = e[e.length - 1], o = [e[0]];
1572
- let i;
1573
- e.length === 3 && typeof e[1] == "function" ? i = e[1] : e.length > 2 && o.push(...e.slice(1, e.length - 1));
1574
- let n = !1, r = {};
1575
- const s = (d, u) => {
1576
- n = !0, r[d] = u;
1577
- }, l = !o.some((d) => j(d, this.input, s)) || i && !i(this.input) ? Te : { matched: !0, value: a(n ? Qt in r ? r[Qt] : r : this.input, this.input) };
1578
- return new Ie(this.input, l);
1579
- }
1580
- when(e, a) {
1581
- if (this.state.matched) return this;
1582
- const o = !!e(this.input);
1583
- return new Ie(this.input, o ? { matched: !0, value: a(this.input, this.input) } : Te);
1584
- }
1585
- otherwise(e) {
1586
- return this.state.matched ? this.state.value : e(this.input);
1587
- }
1588
- exhaustive(e = nr) {
1589
- return this.state.matched ? this.state.value : e(this.input);
1590
- }
1591
- run() {
1592
- return this.exhaustive();
1593
- }
1594
- returnType() {
1595
- return this;
1596
- }
1597
- narrow() {
1598
- return this;
1599
- }
1600
- };
1601
- function nr(t) {
1602
- throw new or(t);
1603
- }
1604
- var rr = 0;
1605
- function w(t, e, a, o, i, n) {
1606
- var r, s, l = {};
1607
- for (s in e) s == "ref" ? r = e[s] : l[s] = e[s];
1608
- var d = { type: t, props: l, key: a, ref: r, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --rr, __source: i, __self: n };
1609
- if (typeof t == "function" && (r = t.defaultProps)) for (s in r) l[s] === void 0 && (l[s] = r[s]);
1610
- return b.vnode && b.vnode(d), d;
1611
- }
1612
- function Yo(t) {
1613
- var e, a, o = "";
1614
- if (typeof t == "string" || typeof t == "number") o += t;
1615
- else if (typeof t == "object") if (Array.isArray(t)) {
1616
- var i = t.length;
1617
- for (e = 0; e < i; e++) t[e] && (a = Yo(t[e])) && (o && (o += " "), o += a);
1618
- } else for (a in t) t[a] && (o && (o += " "), o += a);
1619
- return o;
1620
- }
1621
- function ra() {
1622
- for (var t, e, a = 0, o = "", i = arguments.length; a < i; a++) (t = arguments[a]) && (e = Yo(t)) && (o && (o += " "), o += e);
1623
- return o;
1624
- }
1625
- const Aa = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Pa = ra, sa = (t, e) => (a) => {
1626
- var o;
1627
- if ((e == null ? void 0 : e.variants) == null) return Pa(t, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
1628
- const { variants: i, defaultVariants: n } = e, r = Object.keys(i).map((d) => {
1629
- const u = a == null ? void 0 : a[d], c = n == null ? void 0 : n[d];
1630
- if (u === null) return null;
1631
- const h = Aa(u) || Aa(c);
1632
- return i[d][h];
1633
- }), s = a && Object.entries(a).reduce((d, u) => {
1634
- let [c, h] = u;
1635
- return h === void 0 || (d[c] = h), d;
1636
- }, {}), l = e == null || (o = e.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, u) => {
1637
- let { class: c, className: h, ...f } = u;
1638
- return Object.entries(f).every((p) => {
1639
- let [g, $] = p;
1640
- return Array.isArray($) ? $.includes({
1641
- ...n,
1642
- ...s
1643
- }[g]) : {
1644
- ...n,
1645
- ...s
1646
- }[g] === $;
1647
- }) ? [
1648
- ...d,
1649
- c,
1650
- h
1651
- ] : d;
1652
- }, []);
1653
- return Pa(t, r, l, a == null ? void 0 : a.class, a == null ? void 0 : a.className);
1654
- };
1655
- function Ko(t, e) {
1656
- for (var a in e) t[a] = e[a];
1657
- return t;
1658
- }
1659
- function Ae(t, e) {
1660
- for (var a in t) if (a !== "__source" && !(a in e)) return !0;
1661
- for (var o in e) if (o !== "__source" && t[o] !== e[o]) return !0;
1662
- return !1;
1663
- }
1664
- function de(t, e) {
1665
- return t === e && (t !== 0 || 1 / t == 1 / e) || t != t && e != e;
1666
- }
1667
- function Pe(t) {
1668
- this.props = t;
1669
- }
1670
- function sr(t, e) {
1671
- function a(i) {
1672
- var n = this.props.ref, r = n == i.ref;
1673
- return !r && n && (n.call ? n(null) : n.current = null), e ? !e(this.props, i) || !r : Ae(this.props, i);
1674
- }
1675
- function o(i) {
1676
- return this.shouldComponentUpdate = a, V(t, i);
1677
- }
1678
- return o.displayName = "Memo(" + (t.displayName || t.name) + ")", o.prototype.isReactComponent = !0, o.__f = !0, o;
1679
- }
1680
- (Pe.prototype = new X()).isPureReactComponent = !0, Pe.prototype.shouldComponentUpdate = function(t, e) {
1681
- return Ae(this.props, t) || Ae(this.state, e);
1682
- };
1683
- var ja = b.__b;
1684
- b.__b = function(t) {
1685
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ja && ja(t);
1686
- };
1687
- var lr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1688
- function cr(t) {
1689
- function e(a) {
1690
- var o = Ko({}, a);
1691
- return delete o.ref, t(o, a.ref || null);
1692
- }
1693
- return e.$$typeof = lr, e.render = e, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1694
- }
1695
- var Oa = function(t, e) {
1696
- return t == null ? null : it(it(t).map(e));
1697
- }, dr = { map: Oa, forEach: Oa, count: function(t) {
1698
- return t ? it(t).length : 0;
1699
- }, only: function(t) {
1700
- var e = it(t);
1701
- if (e.length !== 1) throw "Children.only";
1702
- return e[0];
1703
- }, toArray: it }, ur = b.__e;
1704
- b.__e = function(t, e, a, o) {
1705
- if (t.then) {
1706
- for (var i, n = e; n = n.__; ) if ((i = n.__c) && i.__c) return e.__e == null && (e.__e = a.__e, e.__k = a.__k), i.__c(t, e);
1707
- }
1708
- ur(t, e, a, o);
1709
- };
1710
- var Da = b.unmount;
1711
- function Zo(t, e, a) {
1712
- return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(o) {
1713
- typeof o.__c == "function" && o.__c();
1714
- }), t.__c.__H = null), (t = Ko({}, t)).__c != null && (t.__c.__P === a && (t.__c.__P = e), t.__c = null), t.__k = t.__k && t.__k.map(function(o) {
1715
- return Zo(o, e, a);
1716
- })), t;
1717
- }
1718
- function Xo(t, e, a) {
1719
- return t && (t.__v = null, t.__k = t.__k && t.__k.map(function(o) {
1720
- return Xo(o, e, a);
1721
- }), t.__c && t.__c.__P === e && (t.__e && a.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = a)), t;
1722
- }
1723
- function jt() {
1724
- this.__u = 0, this.t = null, this.__b = null;
1725
- }
1726
- function Go(t) {
1727
- var e = t.__.__c;
1728
- return e && e.__a && e.__a(t);
1729
- }
1730
- function Jo(t) {
1731
- var e, a, o;
1732
- function i(n) {
1733
- if (e || (e = t()).then(function(r) {
1734
- a = r.default || r;
1735
- }, function(r) {
1736
- o = r;
1737
- }), o) throw o;
1738
- if (!a) throw e;
1739
- return V(a, n);
1740
- }
1741
- return i.displayName = "Lazy", i.__f = !0, i;
1742
- }
1743
- function It() {
1744
- this.u = null, this.o = null;
1745
- }
1746
- b.unmount = function(t) {
1747
- var e = t.__c;
1748
- e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), Da && Da(t);
1749
- }, (jt.prototype = new X()).__c = function(t, e) {
1750
- var a = e.__c, o = this;
1751
- o.t == null && (o.t = []), o.t.push(a);
1752
- var i = Go(o.__v), n = !1, r = function() {
1753
- n || (n = !0, a.__R = null, i ? i(s) : s());
1754
- };
1755
- a.__R = r;
1756
- var s = function() {
1757
- if (!--o.__u) {
1758
- if (o.state.__a) {
1759
- var d = o.state.__a;
1760
- o.__v.__k[0] = Xo(d, d.__c.__P, d.__c.__O);
1761
- }
1762
- var u;
1763
- for (o.setState({ __a: o.__b = null }); u = o.t.pop(); ) u.forceUpdate();
1764
- }
1765
- }, l = e.__h === !0;
1766
- o.__u++ || l || o.setState({ __a: o.__b = o.__v.__k[0] }), t.then(r, r);
1767
- }, jt.prototype.componentWillUnmount = function() {
1768
- this.t = [];
1769
- }, jt.prototype.render = function(t, e) {
1770
- if (this.__b) {
1771
- if (this.__v.__k) {
1772
- var a = document.createElement("div"), o = this.__v.__k[0].__c;
1773
- this.__v.__k[0] = Zo(this.__b, a, o.__O = o.__P);
1774
- }
1775
- this.__b = null;
1776
- }
1777
- var i = e.__a && V(G, null, t.fallback);
1778
- return i && (i.__h = null), [V(G, null, e.__a ? null : t.children), i];
1779
- };
1780
- var Ma = function(t, e, a) {
1781
- if (++a[1] === a[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size)) for (a = t.u; a; ) {
1782
- for (; a.length > 3; ) a.pop()();
1783
- if (a[1] < a[0]) break;
1784
- t.u = a = a[2];
1785
- }
1786
- };
1787
- function pr(t) {
1788
- return this.getChildContext = function() {
1789
- return t.context;
1790
- }, t.children;
1791
- }
1792
- function hr(t) {
1793
- var e = this, a = t.i;
1794
- e.componentWillUnmount = function() {
1795
- ft(null, e.l), e.l = null, e.i = null;
1796
- }, e.i && e.i !== a && e.componentWillUnmount(), t.__v ? (e.l || (e.i = a, e.l = { nodeType: 1, parentNode: a, childNodes: [], appendChild: function(o) {
1797
- this.childNodes.push(o), e.i.appendChild(o);
1798
- }, insertBefore: function(o, i) {
1799
- this.childNodes.push(o), e.i.appendChild(o);
1800
- }, removeChild: function(o) {
1801
- this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), e.i.removeChild(o);
1802
- } }), ft(V(pr, { context: e.context }, t.__v), e.l)) : e.l && e.componentWillUnmount();
1803
- }
1804
- function fr(t, e) {
1805
- var a = V(hr, { __v: t, i: e });
1806
- return a.containerInfo = e, a;
1807
- }
1808
- (It.prototype = new X()).__a = function(t) {
1809
- var e = this, a = Go(e.__v), o = e.o.get(t);
1810
- return o[0]++, function(i) {
1811
- var n = function() {
1812
- e.props.revealOrder ? (o.push(i), Ma(e, t, o)) : i();
1813
- };
1814
- a ? a(n) : n();
1815
- };
1816
- }, It.prototype.render = function(t) {
1817
- this.u = null, this.o = /* @__PURE__ */ new Map();
1818
- var e = it(t.children);
1819
- t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
1820
- for (var a = e.length; a--; ) this.o.set(e[a], this.u = [1, 0, this.u]);
1821
- return t.children;
1822
- }, It.prototype.componentDidUpdate = It.prototype.componentDidMount = function() {
1823
- var t = this;
1824
- this.o.forEach(function(e, a) {
1825
- Ma(t, a, e);
1826
- });
1827
- };
1828
- var Qo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, wr = /^(?: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]/, gr = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, br = /[A-Z0-9]/g, vr = typeof document < "u", mr = function(t) {
1829
- return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
1830
- };
1831
- function _r(t, e, a) {
1832
- return e.__k == null && (e.textContent = ""), ft(t, e), typeof a == "function" && a(), t ? t.__c : null;
1833
- }
1834
- function yr(t, e, a) {
1835
- return Io(t, e), typeof a == "function" && a(), t ? t.__c : null;
1836
- }
1837
- X.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1838
- Object.defineProperty(X.prototype, t, { configurable: !0, get: function() {
1839
- return this["UNSAFE_" + t];
1840
- }, set: function(e) {
1841
- Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
1842
- } });
1843
- });
1844
- var Na = b.event;
1845
- function xr() {
1846
- }
1847
- function kr() {
1848
- return this.cancelBubble;
1849
- }
1850
- function $r() {
1851
- return this.defaultPrevented;
1852
- }
1853
- b.event = function(t) {
1854
- return Na && (t = Na(t)), t.persist = xr, t.isPropagationStopped = kr, t.isDefaultPrevented = $r, t.nativeEvent = t;
1855
- };
1856
- var la, Sr = { enumerable: !1, configurable: !0, get: function() {
1857
- return this.class;
1858
- } }, za = b.vnode;
1859
- b.vnode = function(t) {
1860
- typeof t.type == "string" && (function(e) {
1861
- var a = e.props, o = e.type, i = {};
1862
- for (var n in a) {
1863
- var r = a[n];
1864
- if (!(n === "value" && "defaultValue" in a && r == null || vr && n === "children" && o === "noscript" || n === "class" || n === "className")) {
1865
- var s = n.toLowerCase();
1866
- n === "defaultValue" && "value" in a && a.value == null ? n = "value" : n === "download" && r === !0 ? r = "" : s === "ondoubleclick" ? n = "ondblclick" : s !== "onchange" || o !== "input" && o !== "textarea" || mr(a.type) ? s === "onfocus" ? n = "onfocusin" : s === "onblur" ? n = "onfocusout" : gr.test(n) ? n = s : o.indexOf("-") === -1 && wr.test(n) ? n = n.replace(br, "-$&").toLowerCase() : r === null && (r = void 0) : s = n = "oninput", s === "oninput" && i[n = s] && (n = "oninputCapture"), i[n] = r;
1867
- }
1868
- }
1869
- o == "select" && i.multiple && Array.isArray(i.value) && (i.value = it(a.children).forEach(function(l) {
1870
- l.props.selected = i.value.indexOf(l.props.value) != -1;
1871
- })), o == "select" && i.defaultValue != null && (i.value = it(a.children).forEach(function(l) {
1872
- l.props.selected = i.multiple ? i.defaultValue.indexOf(l.props.value) != -1 : i.defaultValue == l.props.value;
1873
- })), a.class && !a.className ? (i.class = a.class, Object.defineProperty(i, "className", Sr)) : (a.className && !a.class || a.class && a.className) && (i.class = i.className = a.className), e.props = i;
1874
- })(t), t.$$typeof = Qo, za && za(t);
1875
- };
1876
- var Ra = b.__r;
1877
- b.__r = function(t) {
1878
- Ra && Ra(t), la = t.__c;
1879
- };
1880
- var Ba = b.diffed;
1881
- b.diffed = function(t) {
1882
- Ba && Ba(t);
1883
- var e = t.props, a = t.__e;
1884
- a != null && t.type === "textarea" && "value" in e && e.value !== a.value && (a.value = e.value == null ? "" : e.value), la = null;
1885
- };
1886
- var Er = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1887
- return la.__n[t.__c].props.value;
1888
- } } } };
1889
- function Cr(t) {
1890
- return V.bind(null, t);
1891
- }
1892
- function ti(t) {
1893
- return !!t && t.$$typeof === Qo;
1894
- }
1895
- function Tr(t) {
1896
- return ti(t) ? Dn.apply(null, arguments) : t;
1897
- }
1898
- function Ir(t) {
1899
- return !!t.__k && (ft(null, t), !0);
1900
- }
1901
- function Ar(t) {
1902
- return t && (t.base || t.nodeType === 1 && t) || null;
1903
- }
1904
- var Pr = function(t, e) {
1905
- return t(e);
1906
- }, jr = function(t, e) {
1907
- return t(e);
1908
- }, Or = G;
1909
- function ei(t) {
1910
- t();
1911
- }
1912
- function Dr(t) {
1913
- return t;
1914
- }
1915
- function Mr() {
1916
- return [!1, ei];
1917
- }
1918
- var Nr = St;
1919
- function zr(t, e) {
1920
- var a = e(), o = jo({ h: { __: a, v: e } }), i = o[0].h, n = o[1];
1921
- return St(function() {
1922
- i.__ = a, i.v = e, de(i.__, e()) || n({ h: i });
1923
- }, [t, a, e]), Qe(function() {
1924
- return de(i.__, i.v()) || n({ h: i }), t(function() {
1925
- de(i.__, i.v()) || n({ h: i });
1926
- });
1927
- }, [t]), a;
1928
- }
1929
- var ll = { useState: jo, useId: Rn, useReducer: Oo, useEffect: Qe, useLayoutEffect: St, useInsertionEffect: Nr, useTransition: Mr, useDeferredValue: Dr, useSyncExternalStore: zr, startTransition: ei, useRef: kt, useImperativeHandle: Mn, useMemo: wt, useCallback: Nn, useContext: Do, useDebugValue: zn, version: "17.0.2", Children: dr, render: _r, hydrate: yr, unmountComponentAtNode: Ir, createPortal: fr, createElement: V, createContext: Ao, createFactory: Cr, cloneElement: Tr, createRef: In, Fragment: G, isValidElement: ti, findDOMNode: Ar, Component: X, PureComponent: Pe, memo: sr, forwardRef: cr, flushSync: jr, unstable_batchedUpdates: Pr, StrictMode: Or, Suspense: jt, SuspenseList: It, lazy: Jo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Er }, Rr = ["other", "few", "many", "two", "one", "zero"], Fa = ({
1930
- terms: t,
1931
- overrides: e,
1932
- locale: a
1933
- }) => {
1934
- const o = new Intl.PluralRules(a);
1935
- function i(n, r) {
1936
- const s = (e == null ? void 0 : e[n]) ?? t[n];
1937
- switch (typeof s) {
1938
- case "string":
1939
- return s.replace(/{{(\w+)}}/g, (l, d) => {
1940
- var u;
1941
- return ((u = r == null ? void 0 : r[d]) == null ? void 0 : u.toString()) ?? "";
1942
- });
1943
- case "object": {
1944
- if (typeof (r == null ? void 0 : r.count) != "number")
1945
- throw new Error(`Missing count for translation key “${n.toString()}”`);
1946
- let l = o.select(r.count);
1947
- if (!(l in s)) {
1948
- const d = Rr.find((u) => u in s);
1949
- if (!d)
1950
- throw new Error(`Missing plural rule for translation key “${n.toString()}”`);
1951
- l = d;
1952
- }
1953
- return s[l].replace(/{{(\w+)}}/g, (d, u) => {
1954
- var c;
1955
- return ((c = r == null ? void 0 : r[u]) == null ? void 0 : c.toString()) ?? "";
1956
- });
1957
- }
1958
- default:
1959
- throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`);
1960
- }
1961
- }
1962
- return i;
1963
- }, La = Ao(null), ai = (t) => ({
1964
- defaultTerms: t,
1965
- TranslationProvider: ({ terms: e, children: a, locale: o }) => {
1966
- const i = wt(() => Fa({ locale: o, terms: t, overrides: e }), [e, o]);
1967
- return /* @__PURE__ */ w(La.Provider, { value: { t: i, locale: o }, children: a });
1968
- },
1969
- useTranslation: () => {
1970
- const e = Do(La);
1971
- if (e === null)
1972
- throw new Error("Please wrap useTranslation in a TranslationProvider");
1973
- return { t: e.t, locale: e.locale };
1974
- },
1975
- createTFunction: ({
1976
- overrides: e,
1977
- locale: a
1978
- }) => Fa({ terms: t, overrides: e, locale: a })
1979
- }), Br = { 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" }, { defaultTerms: Fr } = ai({ 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" });
1980
- const { TranslationProvider: Lr, useTranslation: oe, createTFunction: cl } = ai({
1981
- ...Fr,
1982
- ...Br,
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_privacy_sender: "{{employer}} will email you new jobs like this one. Every email has an unsubscribe link.",
1991
- job_alerts_success: "Done. We'll email you about similar roles.",
1992
- job_alerts_error: "Sorry, we couldn't set that up. Please try again later.",
1993
- 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.",
1994
- submission_retryable: "We couldn't submit your application. Please try again.",
1995
- 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.",
1996
- maximize: "Maximise",
1997
- submit: "Submit",
1998
- file_more: { one: "+{{count}} file", other: "+{{count}} files" }
1999
- });
2000
- function oi(t, e) {
2001
- if (!t)
2002
- throw new Error(e);
2003
- }
2004
- var je = (t) => t === null || typeof t != "object" ? t : Array.isArray(t) ? t.map(je) : Object.keys(t).sort().reduce((e, a) => (e[a] = je(t[a]), e), {}), Hr = (t) => {
2005
- let e = JSON.stringify(je(t)), a = 5381;
2006
- for (let o = 0; o < e.length; o++) a = a * 33 ^ e.charCodeAt(o);
2007
- return (a >>> 0).toString(36);
2008
- };
2009
- const Oe = (t, e) => e.some((a) => t instanceof a);
2010
- let Ha, Ua;
2011
- function Ur() {
2012
- return Ha || (Ha = [
2013
- IDBDatabase,
2014
- IDBObjectStore,
2015
- IDBIndex,
2016
- IDBCursor,
2017
- IDBTransaction
2018
- ]);
2019
- }
2020
- function Wr() {
2021
- return Ua || (Ua = [
2022
- IDBCursor.prototype.advance,
2023
- IDBCursor.prototype.continue,
2024
- IDBCursor.prototype.continuePrimaryKey
2025
- ]);
2026
- }
2027
- const De = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap();
2028
- function Vr(t) {
2029
- const e = new Promise((a, o) => {
2030
- const i = () => {
2031
- t.removeEventListener("success", n), t.removeEventListener("error", r);
2032
- }, n = () => {
2033
- a(ht(t.result)), i();
2034
- }, r = () => {
2035
- o(t.error), i();
2036
- };
2037
- t.addEventListener("success", n), t.addEventListener("error", r);
2038
- });
2039
- return ie.set(e, t), e;
2040
- }
2041
- function qr(t) {
2042
- if (De.has(t))
2043
- return;
2044
- const e = new Promise((a, o) => {
2045
- const i = () => {
2046
- t.removeEventListener("complete", n), t.removeEventListener("error", r), t.removeEventListener("abort", r);
2047
- }, n = () => {
2048
- a(), i();
2049
- }, r = () => {
2050
- o(t.error || new DOMException("AbortError", "AbortError")), i();
2051
- };
2052
- t.addEventListener("complete", n), t.addEventListener("error", r), t.addEventListener("abort", r);
2053
- });
2054
- De.set(t, e);
2055
- }
2056
- let Me = {
2057
- get(t, e, a) {
2058
- if (t instanceof IDBTransaction) {
2059
- if (e === "done")
2060
- return De.get(t);
2061
- if (e === "store")
2062
- return a.objectStoreNames[1] ? void 0 : a.objectStore(a.objectStoreNames[0]);
2063
- }
2064
- return ht(t[e]);
2065
- },
2066
- set(t, e, a) {
2067
- return t[e] = a, !0;
2068
- },
2069
- has(t, e) {
2070
- return t instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in t;
2071
- }
2072
- };
2073
- function ii(t) {
2074
- Me = t(Me);
2075
- }
2076
- function Yr(t) {
2077
- return Wr().includes(t) ? function(...e) {
2078
- return t.apply(Ne(this), e), ht(this.request);
2079
- } : function(...e) {
2080
- return ht(t.apply(Ne(this), e));
2081
- };
2082
- }
2083
- function Kr(t) {
2084
- return typeof t == "function" ? Yr(t) : (t instanceof IDBTransaction && qr(t), Oe(t, Ur()) ? new Proxy(t, Me) : t);
2085
- }
2086
- function ht(t) {
2087
- if (t instanceof IDBRequest)
2088
- return Vr(t);
2089
- if (ue.has(t))
2090
- return ue.get(t);
2091
- const e = Kr(t);
2092
- return e !== t && (ue.set(t, e), ie.set(e, t)), e;
2093
- }
2094
- const Ne = (t) => ie.get(t);
2095
- function Zr(t, e, { blocked: a, upgrade: o, blocking: i, terminated: n } = {}) {
2096
- const r = indexedDB.open(t, e), s = ht(r);
2097
- return o && r.addEventListener("upgradeneeded", (l) => {
2098
- o(ht(r.result), l.oldVersion, l.newVersion, ht(r.transaction), l);
2099
- }), a && r.addEventListener("blocked", (l) => a(
2100
- // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
2101
- l.oldVersion,
2102
- l.newVersion,
2103
- l
2104
- )), s.then((l) => {
2105
- n && l.addEventListener("close", () => n()), i && l.addEventListener("versionchange", (d) => i(d.oldVersion, d.newVersion, d));
2106
- }).catch(() => {
2107
- }), s;
2108
- }
2109
- const Xr = ["get", "getKey", "getAll", "getAllKeys", "count"], Gr = ["put", "add", "delete", "clear"], pe = /* @__PURE__ */ new Map();
2110
- function Wa(t, e) {
2111
- if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
2112
- return;
2113
- if (pe.get(e))
2114
- return pe.get(e);
2115
- const a = e.replace(/FromIndex$/, ""), o = e !== a, i = Gr.includes(a);
2116
- if (
2117
- // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
2118
- !(a in (o ? IDBIndex : IDBObjectStore).prototype) || !(i || Xr.includes(a))
2119
- )
2120
- return;
2121
- const n = async function(r, ...s) {
2122
- const l = this.transaction(r, i ? "readwrite" : "readonly");
2123
- let d = l.store;
2124
- return o && (d = d.index(s.shift())), (await Promise.all([
2125
- d[a](...s),
2126
- i && l.done
2127
- ]))[0];
2128
- };
2129
- return pe.set(e, n), n;
2130
- }
2131
- ii((t) => ({
2132
- ...t,
2133
- get: (e, a, o) => Wa(e, a) || t.get(e, a, o),
2134
- has: (e, a) => !!Wa(e, a) || t.has(e, a)
2135
- }));
2136
- const Jr = ["continue", "continuePrimaryKey", "advance"], Va = {}, ze = /* @__PURE__ */ new WeakMap(), ni = /* @__PURE__ */ new WeakMap(), Qr = {
2137
- get(t, e) {
2138
- if (!Jr.includes(e))
2139
- return t[e];
2140
- let a = Va[e];
2141
- return a || (a = Va[e] = function(...o) {
2142
- ze.set(this, ni.get(this)[e](...o));
2143
- }), a;
2144
- }
2145
- };
2146
- async function* ts(...t) {
2147
- let e = this;
2148
- if (e instanceof IDBCursor || (e = await e.openCursor(...t)), !e)
2149
- return;
2150
- e = e;
2151
- const a = new Proxy(e, Qr);
2152
- for (ni.set(a, e), ie.set(a, Ne(e)); e; )
2153
- yield a, e = await (ze.get(a) || e.continue()), ze.delete(a);
2154
- }
2155
- function qa(t, e) {
2156
- return e === Symbol.asyncIterator && Oe(t, [IDBIndex, IDBObjectStore, IDBCursor]) || e === "iterate" && Oe(t, [IDBIndex, IDBObjectStore]);
2157
- }
2158
- ii((t) => ({
2159
- ...t,
2160
- get(e, a, o) {
2161
- return qa(e, a) ? ts : t.get(e, a, o);
2162
- },
2163
- has(e, a) {
2164
- return qa(e, a) || t.has(e, a);
2165
- }
2166
- }));
2167
- const Ot = typeof indexedDB > "u" ? void 0 : Zr("inploi-chatbot", 3, {
2168
- upgrade(t) {
2169
- try {
2170
- t.deleteObjectStore("state");
2171
- } catch {
2172
- }
2173
- t.createObjectStore("state");
2174
- }
2175
- }), es = (t) => ({
2176
- ...t,
2177
- messages: t.messages.map((e) => {
2178
- if (e.type !== "link") return e;
2179
- const { onClick: a, ...o } = e;
2180
- return o;
2181
- })
2182
- });
2183
- let Wt, he, Tt;
2184
- const Ya = () => {
2185
- if (!Wt) return Tt;
2186
- const t = Wt;
2187
- Wt = void 0;
2188
- const e = te(t), a = Ot == null ? void 0 : Ot.then((o) => o.put("state", es(t.data), e)).finally(() => {
2189
- Tt === a && (Tt = void 0);
2190
- });
2191
- return Tt = a, Tt;
2192
- }, Y = {
2193
- getStateData: async (t, e, a) => {
2194
- var i;
2195
- const o = te({ ...t, flowKeys: e, context: a });
2196
- return (i = await Ot) == null ? void 0 : i.get("state", o);
2197
- },
2198
- /** Every application saved in this browser, whatever its job or flow. */
2199
- getAllStateData: async () => {
2200
- var t;
2201
- return ((t = await Ot) == null ? void 0 : t.getAll("state")) ?? [];
2202
- },
2203
- setStateData: (t) => {
2204
- Wt = t, clearTimeout(he), he = setTimeout(() => void Ya(), 1e3);
2205
- },
2206
- flushStateData: () => (clearTimeout(he), Ya() ?? Promise.resolve())
2207
- }, dl = (t) => (e) => e ? e.type === t : !1, as = () => typeof crypto < "u" && "randomUUID" in crypto ? crypto.randomUUID() : Math.random().toString(36).slice(2), Ka = () => ({
2208
- messages: [],
2209
- submissions: {},
2210
- currentInput: null,
2211
- nodeHistory: [],
2212
- startedWriteNodeIds: [],
2213
- isFinished: !1,
2214
- hasInteracted: !1,
2215
- sequence: 0,
2216
- flowSessionId: as()
2217
- }), ul = (t) => (
2218
- /** nativeEvent is a hidden property not exposed by JSX's typings */
2219
- na(t).with(
2220
- {
2221
- nativeEvent: {
2222
- submitter: bt.select(bt.union(bt.instanceOf(HTMLButtonElement), bt.instanceOf(HTMLInputElement)))
2223
- }
2224
- },
2225
- (e) => e
2226
- ).otherwise(() => {
2227
- throw new Error("invalid submitter");
2228
- })
2229
- ), Vt = (t, e, a, o = 0) => {
2230
- if (!e.nextId)
2231
- return a(e.id, { stepsMade: o, remainingSteps: 0 }), { stepsMade: o, remainingSteps: 0 };
2232
- const i = t.find((d) => d.id === e.nextId);
2233
- if (i === void 0)
2234
- return { stepsMade: o, remainingSteps: 0 };
2235
- const n = e.type === "if-block" ? e.branchId : void 0, r = t.find((d) => d.id === n), s = e.type.includes("question") ? 1 : 0;
2236
- if (r) {
2237
- const d = s + Math.max(
2238
- Vt(t, i, a, o + s).remainingSteps,
2239
- Vt(t, r, a, o + s).remainingSteps
2240
- );
2241
- return a(e.id, { stepsMade: o, remainingSteps: d }), { stepsMade: o, remainingSteps: d };
2242
- }
2243
- const l = s + Vt(t, i, a, o + s).remainingSteps;
2244
- return a(e.id, { stepsMade: o, remainingSteps: l }), { stepsMade: o, remainingSteps: l };
2245
- }, os = (t) => {
2246
- const e = {}, a = t.find((o) => o.isHead);
2247
- return a && Vt(t, a, (o, i) => {
2248
- e[o] = i;
2249
- }), e;
2250
- }, te = (t) => [...t.flowKeys, t.id, t.version, t.build, Hr(t.hostContext ?? t.context)].join("/"), is = ({ data: t, nodes: e }) => {
2251
- const a = t.startedWriteNodeIds === void 0 ? e.some((o) => o.type === "integration-application-submit" && t.nodeHistory.includes(o.id)) : t.startedWriteNodeIds.length > 0;
2252
- return !t.isFinished && !a && po(e, t.submissions);
2253
- }, Za = ({ data: t, nodes: e }) => {
2254
- var a;
2255
- return !t.isFinished && ((((a = t.startedWriteNodeIds) == null ? void 0 : a.length) ?? 0) > 0 || po(e, t.submissions));
2256
- }, tt = K({ state: "idle" }), fe = /* @__PURE__ */ new Set(), dt = (t) => {
2257
- const { state: e, flow: a } = tt.value;
2258
- if (e !== "loaded") return;
2259
- oi(a, "No flow to update");
2260
- const o = t(a.data);
2261
- a.data = o, tt.value = { state: e, flow: a }, Y.setStateData(a);
2262
- }, S = {
2263
- current$: tt,
2264
- viewState$: K("closed"),
2265
- prepareFlow: async ({
2266
- jobAlerts: t,
2267
- flow: e,
2268
- context: a = {},
2269
- jobContext: o,
2270
- flowKeys: i,
2271
- title: n,
2272
- analytics: r,
2273
- job: s,
2274
- employer: l,
2275
- locationOrigin: d
2276
- }) => {
2277
- await Y.flushStateData().catch(() => {
2278
- });
2279
- const u = await Y.getStateData(e, i, a), c = u ?? Ka(), h = te({ ...e, flowKeys: i, context: a }), f = u !== void 0 && !fe.has(h) && is({ data: c, nodes: e.nodes });
2280
- return f || fe.add(h), {
2281
- jobAlerts: t,
2282
- data: c,
2283
- offerResume: f,
2284
- startedAt: /* @__PURE__ */ new Date(),
2285
- nodeIdToProgress: os(e.nodes),
2286
- flowKeys: i,
2287
- id: e.id,
2288
- version: e.version,
2289
- nodes: e.nodes,
2290
- build: e.build,
2291
- context: o === void 0 ? a : Xe(o, a),
2292
- hostContext: o === void 0 ? void 0 : a,
2293
- title: n,
2294
- analytics: r,
2295
- job: s,
2296
- employer: l,
2297
- locationOrigin: d
2298
- };
2299
- },
2300
- commitFlow: (t) => {
2301
- tt.value = { state: "loaded", flow: t }, Y.setStateData(t);
2302
- },
2303
- /** The candidate chose to continue or start again, so this page does not ask about this application again. */
2304
- settleResume: (t) => {
2305
- t.offerResume = !1, fe.add(te(t));
2306
- },
2307
- cancelCurrentFlow: () => {
2308
- tt.value = { state: "idle" }, S.viewState$.value = "closed";
2309
- },
2310
- markAsFinished: () => dt((t) => ({ ...t, isFinished: !0 })),
2311
- markAsInteracted: () => dt((t) => ({ ...t, hasInteracted: !0 })),
2312
- setCurrentNodeId: (t) => dt((e) => (e.nodeHistory.push(t), e)),
2313
- setApplicationRecovery: async (t) => {
2314
- dt((e) => (t ? e.applicationRecovery = t : delete e.applicationRecovery, e)), await Y.flushStateData();
2315
- },
2316
- restart: () => {
2317
- const { state: t, flow: e } = tt.value;
2318
- if (t !== "loaded") throw new Error("Flow cannot be restarted: not in valid state");
2319
- const a = {
2320
- ...Ka(),
2321
- failedAttemptAt: e.data.failedAttemptAt,
2322
- unconfirmedAttemptKeys: e.data.unconfirmedAttemptKeys,
2323
- submitCooldown: e.data.submitCooldown
2324
- }, o = { ...e, data: a, startedAt: /* @__PURE__ */ new Date(), offerResume: !1 };
2325
- tt.value = { state: t, flow: o }, Y.setStateData(o);
2326
- },
2327
- addMessage: (t, e) => {
2328
- const a = { ...t, groupId: e };
2329
- return dt((o) => (o.messages.push(a), o));
2330
- },
2331
- /** Removes messages from nodeId, all the messages that have the groupId passed, until it reaches one that doesn't */
2332
- removeMessagesSentByNodeIds: (t) => {
2333
- const { state: e, flow: a } = tt.value;
2334
- oi(e === "loaded", "Application not loaded");
2335
- const o = a.data.messages.filter((i) => !i.groupId || !t.includes(i.groupId));
2336
- a.data.messages = o, Y.setStateData(a);
2337
- },
2338
- setSubmission: (t, e) => dt((a) => (e === null ? delete a.submissions[t] : a.submissions[t] = e, a)),
2339
- setInput: (t) => dt((e) => ({ ...e, currentInput: t ?? null })),
2340
- persistWriteBarrier: async (t) => {
2341
- tt.peek().flow === t && (tt.value = { state: "loaded", flow: t }), Y.setStateData(t), await Y.flushStateData();
2342
- }
2343
- }, Xa = ({ heading: t }) => {
2344
- const { t: e } = oe();
2345
- return /* @__PURE__ */ w("div", { class: "flex flex-grow flex-col items-center justify-center", children: [
2346
- /* @__PURE__ */ w(
2347
- "svg",
2348
- {
2349
- class: "text-error-9 h-16 w-16",
2350
- fill: "none",
2351
- xmlns: "http://www.w3.org/2000/svg",
2352
- "stroke-width": "2",
2353
- stroke: "currentColor",
2354
- "stroke-linecap": "round",
2355
- viewBox: "0 0 96 96",
2356
- children: [
2357
- /* @__PURE__ */ w("path", { d: "M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z", fill: "#fff" }),
2358
- /* @__PURE__ */ w("path", { d: "M48 79H19.9l-1.3-.3a3 3 0 0 1-1.3-1.3c-.1-.3-.2-.6-.2-1.3l-.1-2.5V48a31 31 0 1 1 31 31Z" }),
2359
- /* @__PURE__ */ w("line", { x1: "36.7", y1: "39.3", x2: "44.8", y2: "47.4" }),
2360
- /* @__PURE__ */ w("line", { x1: "52.2", y1: "39.3", x2: "60.3", y2: "47.4" }),
2361
- /* @__PURE__ */ w("line", { x1: "44.7", y1: "39.2", x2: "36.6", y2: "47.3" }),
2362
- /* @__PURE__ */ w("line", { x1: "60.2", y1: "39.2", x2: "52.1", y2: "47.3" }),
2363
- /* @__PURE__ */ w("path", { d: "M38 56h19" })
2364
- ]
2365
- }
2366
- ),
2367
- /* @__PURE__ */ w("div", { class: "flex flex-col gap-2 text-center", children: /* @__PURE__ */ w("p", { class: "text-error-11 font-bold", children: e(t) }) })
2368
- ] });
2369
- }, ns = (t) => {
2370
- const { t: e } = oe();
2371
- return /* @__PURE__ */ w("svg", { role: "img", viewBox: "0 0 24 24", ...t, children: [
2372
- /* @__PURE__ */ w("title", { children: e("loading") }),
2373
- /* @__PURE__ */ w("style", { children: "#s1{animation:3s linear infinite forwards s1__to}@keyframes s1__to{0%{transform:translate(12px,0)}66.666667%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,12px)}}#s2{animation:3s linear infinite forwards s2__ts}@keyframes s2__ts{0%{transform:scale(0,0)}70%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%{transform:scale(1,1)}}#s3{animation:3s linear infinite forwards s3__to}@keyframes s3__to{0%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,33.333333%{transform:translate(12px,24px)}}#s4{animation:3s linear infinite forwards s4__ts}@keyframes s4__ts{0%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}100%,30%{transform:scale(0,0)}}#s5{animation:3s linear infinite forwards s5__to}@keyframes s5__to{0%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}33.333333%{transform:translate(12px,12.045742px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%,66.666667%{transform:translate(12px,24px)}}#s6{animation:3s linear infinite forwards s6__ts}@keyframes s6__ts{0%,100%,63.333333%{transform:scale(0,0)}3.333333%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}33.333333%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}#s7{animation:3s linear infinite forwards s7__to}@keyframes s7__to{0%{transform:translate(12px,0)}33.333333%{transform:translate(12px,0);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}66.666667%{transform:translate(12px,12px);animation-timing-function:cubic-bezier(0.77,0,0.175,1)}100%{transform:translate(12px,24px)}}#s8{animation:3s linear infinite forwards s8__ts}@keyframes s8__ts{0%,100%,96.666667%{transform:scale(0,0)}36.666667%{transform:scale(0,0);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}66.666667%{transform:scale(1,1);animation-timing-function:cubic-bezier(0.86,0,0.07,1)}}" }),
2374
- /* @__PURE__ */ w("g", { id: "s1", transform: "translate(12,0)", children: /* @__PURE__ */ w("g", { id: "s2", transform: "scale(0,0)", children: /* @__PURE__ */ w("circle", { r: "6.5", transform: "translate(0,0)", fill: "currentColor" }) }) }),
2375
- /* @__PURE__ */ w("g", { id: "s3", transform: "translate(12,12)", children: /* @__PURE__ */ w("g", { id: "s4", transform: "scale(1,1)", children: /* @__PURE__ */ w("circle", { r: "6.5", transform: "translate(0,0)", fill: "currentColor" }) }) }),
2376
- /* @__PURE__ */ w("g", { id: "s5", transform: "translate(12,0)", children: /* @__PURE__ */ w("g", { id: "s6", transform: "scale(0,0)", children: /* @__PURE__ */ w(
2377
- "path",
2378
- {
2379
- d: "M6.5,13c3.5899,0,6.5-2.9101,6.5-6.5s-2.9101-6.5-6.5-6.5-6.5,2.91015-6.5,6.5s2.91015,6.5,6.5,6.5Zm0-4C7.88071,9,9,7.88071,9,6.5s-1.11929-2.5-2.5-2.5-2.5,1.11929-2.5,2.5s1.11929,2.5,2.5,2.5Z",
2380
- transform: "translate(-6.5,-6.5)",
2381
- "clip-rule": "evenodd",
2382
- fill: "currentColor",
2383
- "fill-rule": "evenodd"
2384
- }
2385
- ) }) }),
2386
- /* @__PURE__ */ w("g", { id: "s7", transform: "translate(12,0)", children: /* @__PURE__ */ w("g", { id: "s8", transform: "scale(0,0)", children: /* @__PURE__ */ w(
2387
- "path",
2388
- {
2389
- d: "M0,6c0,3.58984,2.91016,6.5,6.5,6.5s6.5-2.91016,6.5-6.5h-4C9,7.38086,7.88086,8.5,6.5,8.5s-2.5-1.11914-2.5-2.5h-4Z",
2390
- transform: "translate(-6.5,-9.25)",
2391
- fill: "currentColor"
2392
- }
2393
- ) }) })
2394
- ] });
2395
- }, Ga = () => /* @__PURE__ */ w("div", { class: "flex flex-grow flex-col items-center justify-center", children: /* @__PURE__ */ w(ns, { class: "text-neutral-6 h-8 w-8" }) }), rs = (t) => {
2396
- const a = t / 100, o = 1.3;
2397
- return t < 0 ? "0%" : t > 100 ? "100%" : `${Math.round((1 - (1 - 0.1) * Math.pow(1 - a, o)) * 100)}%`;
2398
- }, ss = sa("touch-hitbox fr relative flex-none rounded-full p-2 transition-all", {
2399
- variants: {
2400
- variant: {
2401
- neutral: "text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",
2402
- white: "text-white/80 hover:text-white active:text-white hover:bg-white/20 active:bg-white/30"
2403
- }
2404
- },
2405
- defaultVariants: {
2406
- variant: "neutral"
2407
- }
2408
- }), Re = ({
2409
- class: t,
2410
- children: e,
2411
- variant: a,
2412
- ...o
2413
- }) => /* @__PURE__ */ w("button", { class: ra(ss({ variant: a }), t), ...o, children: /* @__PURE__ */ w(
2414
- "svg",
2415
- {
2416
- class: "block",
2417
- width: "16",
2418
- height: "16",
2419
- viewBox: "0 0 16 16",
2420
- fill: "none",
2421
- stroke: "currentColor",
2422
- "stroke-width": "1.5",
2423
- "stroke-linecap": "round",
2424
- xmlns: "http://www.w3.org/2000/svg",
2425
- children: e
2426
- }
2427
- ) }), ls = () => /* @__PURE__ */ w("path", { d: "M12.5 6.5L8 11L3.5 6.5" }), cs = () => {
2428
- if (S.current$.value.state !== "loaded") return null;
2429
- const t = S.current$.value.flow.nodeIdToProgress, e = S.current$.value.flow.data.nodeHistory.at(-1);
2430
- if (e === void 0) return null;
2431
- const a = t[e];
2432
- if (a === void 0) return null;
2433
- const o = 100 * (a.stepsMade / (a.remainingSteps + a.stepsMade));
2434
- return /* @__PURE__ */ w("div", { class: "bg-accent-3", children: /* @__PURE__ */ w(
2435
- "div",
2436
- {
2437
- style: { width: rs(o) },
2438
- class: "bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"
2439
- }
2440
- ) });
2441
- }, ds = ({
2442
- children: t,
2443
- params: e,
2444
- analytics: a,
2445
- feedbackReady: o
2446
- }) => {
2447
- const { t: i } = oe(), n = S.viewState$, r = !!e.feedback && S.current$.value.state === "loaded" && n.value === "maximised", s = r && o.value, l = kt(!1);
2448
- return Qe(() => {
2449
- var d, u;
2450
- !s || l.current || (l.current = !0, a.log({
2451
- event: "INTERACTION",
2452
- properties: { tag: "feedback_shown" },
2453
- customProperties: (u = (d = S.current$.peek().flow) == null ? void 0 : d.analytics) == null ? void 0 : u.customProperties
2454
- }));
2455
- }, [s, a]), /* @__PURE__ */ w(G, { children: /* @__PURE__ */ w("header", { 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", children: [
2456
- /* @__PURE__ */ w("div", { class: "ring-neutral-7 flex h-[var(--header-height)] gap-2 rounded-t-3xl ring-0 ring-inset transition-all duration-300 [&:has(>.view-switch:focus-visible)]:ring-1", children: [
2457
- /* @__PURE__ */ w("p", { id: "chatbot-status-bar", class: "sr-only", children: t }),
2458
- /* @__PURE__ */ w(
2459
- "button",
2460
- {
2461
- "aria-label": i("minimize"),
2462
- onClick: () => {
2463
- n.value = "minimised";
2464
- },
2465
- class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
2466
- onTouchStart: Be,
2467
- children: /* @__PURE__ */ w("p", { "aria-hidden": !0, class: "text-neutral-12 truncate text-sm font-bold tracking-tight", children: t })
2468
- }
2469
- ),
2470
- /* @__PURE__ */ w("div", { class: "flex flex-shrink-0 items-center gap-3 p-1.5", children: [
2471
- e.feedback ? /* @__PURE__ */ w("div", { "data-widget": "inploi-feedback", "data-key": "chatbot-header", class: ra({ hidden: !r }), children: /* @__PURE__ */ w("div", { class: "ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1" }) }) : null,
2472
- S.current$.value.state === "loaded" && /* @__PURE__ */ w(
2473
- Re,
2474
- {
2475
- class: "mx-1",
2476
- "aria-label": i("restart"),
2477
- onClick: () => {
2478
- S.restart();
2479
- },
2480
- children: [
2481
- /* @__PURE__ */ w("path", { d: "M12 8.5C12 9.29113 11.7654 10.0645 11.3259 10.7223C10.8864 11.3801 10.2616 11.8928 9.53073 12.1955C8.79983 12.4983 7.99556 12.5775 7.21964 12.4231C6.44371 12.2688 5.73098 11.8878 5.17157 11.3284C4.61216 10.769 4.2312 10.0563 4.07686 9.28036C3.92252 8.50444 4.00173 7.70017 4.30448 6.96927C4.60723 6.23836 5.11992 5.61365 5.77772 5.17412C6.43552 4.7346 7.20887 4.5 8 4.5H9" }),
2482
- /* @__PURE__ */ w("path", { d: "M8 7L10 4.5L8 2.5" })
2483
- ]
2484
- },
2485
- "restart"
2486
- ),
2487
- /* @__PURE__ */ w(
2488
- Re,
2489
- {
2490
- class: "view-switch mx-1",
2491
- onTouchStart: Be,
2492
- "aria-label": i("minimize"),
2493
- onClick: () => n.value = "minimised",
2494
- children: /* @__PURE__ */ w(ls, {})
2495
- },
2496
- "minmax"
2497
- )
2498
- ] })
2499
- ] }),
2500
- /* @__PURE__ */ w(cs, {})
2501
- ] }) });
2502
- };
2503
- function Be() {
2504
- }
2505
- const us = Jo(() => import("./chatbot-body-nYJfLJVU.js").then((t) => t.ChatbotBody)), ri = sa(
2506
- "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",
2507
- {
2508
- variants: {
2509
- view: {
2510
- closed: "hidden",
2511
- minimised: "max-w-[min(300px,calc(100vw-4rem))] h-[var(--header-height)] animate-slide-in-bottom",
2512
- maximised: "max-w-[450px] h-[var(--content-height)] animate-maximise"
2513
- }
2514
- }
2515
- }
2516
- ), si = sa("relative flex h-full overflow-hidden rounded-3xl outline outline-1", {
2517
- variants: {
2518
- view: {
2519
- closed: "hidden",
2520
- minimised: "outline-accent-10 bg-accent-9",
2521
- maximised: "outline-neutral-3 bg-neutral-1 flex-col"
2522
- }
2523
- }
2524
- }), ps = ({ open: t, ...e }) => {
2525
- const a = kt(null);
2526
- return St(() => {
2527
- const o = a.current;
2528
- o && (t ? o.showModal() : o.close());
2529
- }, [t]), /* @__PURE__ */ w("dialog", { ref: a, ...e });
2530
- }, hs = ({
2531
- env: t,
2532
- logger: e,
2533
- apiClient: a,
2534
- rpcClient: o,
2535
- analytics: i,
2536
- talentBankClient: n,
2537
- params: r,
2538
- feedbackReady: s
2539
- }) => {
2540
- const { state: l, flow: d } = S.current$.value, u = S.viewState$.value, c = l !== "idle" && u === "maximised", h = kt(null), f = d ? [...d.data.nodeHistory].reverse().map((p) => d.nodes.find((g) => g.id === p)).find((p) => (p == null ? void 0 : p.type) === "flow-section") : void 0;
2541
- return /* @__PURE__ */ w(Lr, { terms: r.terms, locale: void 0, children: [
2542
- /* @__PURE__ */ w(ps, { open: c, onClose: () => S.viewState$.value = "minimised", children: /* @__PURE__ */ w(
2543
- "div",
2544
- {
2545
- ref: h,
2546
- "aria-modal": "true",
2547
- role: "dialog",
2548
- "aria-labelledby": "chatbot-status-bar",
2549
- class: ri({ view: "maximised" }),
2550
- children: /* @__PURE__ */ w("div", { class: si({ view: "maximised" }), children: [
2551
- /* @__PURE__ */ w(ds, { params: r, analytics: i, feedbackReady: s, children: f ? /* @__PURE__ */ w(G, { children: [
2552
- /* @__PURE__ */ w("span", { class: "block", children: f.data.title }),
2553
- /* @__PURE__ */ w("span", { class: "block truncate text-xs font-normal", children: d == null ? void 0 : d.title })
2554
- ] }) : d == null ? void 0 : d.title }),
2555
- na({ state: l, view: u }).with({ state: "idle" }, () => null).with({ state: "loading" }, () => /* @__PURE__ */ w(Ga, {}, "loading")).with({ state: "loaded" }, () => /* @__PURE__ */ w(jt, { fallback: /* @__PURE__ */ w(Ga, {}, "loading"), children: /* @__PURE__ */ w(
2556
- us,
2557
- {
2558
- env: t,
2559
- rpcClient: o,
2560
- analytics: i,
2561
- apiClient: a,
2562
- logger: e,
2563
- talentBankClient: n
2564
- }
2565
- ) })).with({ state: "closed" }, () => /* @__PURE__ */ w(Xa, { heading: "flow_closed" })).with({ state: "error" }, () => /* @__PURE__ */ w(Xa, { heading: "error_heading" })).exhaustive()
2566
- ] })
2567
- }
2568
- ) }),
2569
- u === "minimised" ? /* @__PURE__ */ w(fs, { flow: d }) : null
2570
- ] });
2571
- }, fs = ({ flow: t }) => {
2572
- const { t: e } = oe();
2573
- return /* @__PURE__ */ w("div", { class: ri({ view: "minimised", class: "z-100 isolate" }), children: /* @__PURE__ */ w("div", { class: si({ view: "minimised" }), children: [
2574
- /* @__PURE__ */ w(
2575
- "button",
2576
- {
2577
- onClick: () => {
2578
- S.viewState$.value = "maximised";
2579
- },
2580
- class: "view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",
2581
- onTouchStart: Be,
2582
- children: /* @__PURE__ */ w("p", { "aria-hidden": !0, class: "truncate text-sm font-bold tracking-tight text-white", children: t == null ? void 0 : t.title })
2583
- }
2584
- ),
2585
- /* @__PURE__ */ w("div", { class: "flex items-center px-0.5", children: /* @__PURE__ */ w(
2586
- Re,
2587
- {
2588
- class: "mx-1",
2589
- "aria-label": e("close_application"),
2590
- onClick: S.cancelCurrentFlow,
2591
- variant: "white",
2592
- children: /* @__PURE__ */ w("path", { d: "M12 12L4 4M12 4L4 12" })
2593
- },
2594
- "close"
2595
- ) })
2596
- ] }) });
2597
- }, li = "14.18.2", ws = (t, e = li) => e === void 0 ? t : {
2598
- fetch: (a, o) => {
2599
- if (a !== "/flow/submit") return t.fetch(a, o);
2600
- const i = new Headers(o == null ? void 0 : o.headers);
2601
- return i.set("x-inploi-widget-version", e), t.fetch(a, { ...o, headers: Object.fromEntries(i.entries()) });
2602
- }
2603
- };
2604
- let Dt, ci, qt;
2605
- const gs = (t) => {
2606
- const e = t.slice(0, t.lastIndexOf("/") + 1);
2607
- return /^https:\/\/[^/?#]+\/@inploi\/plugin-chatbot(?:@[\w.-]+)?\/cdn\/$/.test(e) ? e : void 0;
2608
- }, di = (t, e, a) => {
2609
- const o = Di(t, e ?? `
2610
- `, a);
2611
- return { ...o, stack: o.stack.filter((i) => i.startsWith("index.js:")) };
2612
- }, Fe = (t) => di(t, qt), ui = (t) => typeof t == "object" && t !== null && "status" in t && typeof t.status == "number" ? t.status : void 0, _t = (t, e, a = {}) => Dt == null ? void 0 : Dt.send(t, e, { ...a, message: "Chatbot widget beacon", widget: "chatbot", key_hash: ci }), bs = (t) => {
2613
- const e = (a, o, i) => {
2614
- if (S.viewState$.value === "closed") return;
2615
- const n = di(o, t, i);
2616
- n.stack.length && _t("fatal", ee(o), { phase: "render", error: { ...n, via: a } });
2617
- };
2618
- window.addEventListener("error", (a) => {
2619
- Pi(a) || e("error", a.error, a.message);
2620
- }), window.addEventListener("unhandledrejection", (a) => e("rejection", a.reason));
2621
- }, vs = (t, e, a = import.meta.url) => {
2622
- const o = Ni();
2623
- Dt || !o || !t || (ci = e ? ao(e).toString(36) : void 0, Dt = Vi({ config: o, version: li, env: t, seed: zi(Mi(), gi) }), qt = gs(a), qt && bs(qt));
2624
- }, ms = (t) => {
2625
- let e = { application: void 0, attempts: 0, blocked: !1 };
2626
- return {
2627
- fetch: async (a, o) => {
2628
- if (a !== "/flow/submit") return t.fetch(a, o);
2629
- const i = S.current$.value.flow;
2630
- i !== e.application && (e = { application: i, attempts: 0, blocked: !1 });
2631
- const n = e, r = ++n.attempts, s = performance.now(), l = await t.fetch(a, o).catch((d) => {
2632
- throw ui(d) === void 0 && !(d instanceof Error && d.name === "AbortError") && (n.blocked = !0, _t("submit_blocked", ee(d), {
2633
- phase: "submit",
2634
- error: Fe(d),
2635
- endpoint: "flow_submit",
2636
- attempt: r,
2637
- elapsed_ms: Math.round(performance.now() - s),
2638
- body_kb: typeof (o == null ? void 0 : o.body) == "string" ? Math.round(o.body.length / 1024) : void 0
2639
- })), d;
2640
- });
2641
- return n.blocked && _t("submit_recovered", void 0, { phase: "submit", endpoint: "flow_submit", attempt: r }), l;
2642
- }
2643
- };
2644
- }, _s = '[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-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] .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}}', pi = "inploi-chatbot", Le = `[data-widget='${pi}']`, ys = () => ({
2645
- getChatbotElement: () => document.querySelector(Le),
2646
- getOrCreateChatbotElement: () => {
2647
- const t = document.querySelector(Le);
2648
- if (t)
2649
- return document.body.appendChild(t), t;
2650
- const e = document.createElement("div");
2651
- return document.body.appendChild(e), e.dataset.widget = pi, e;
2652
- }
2653
- }), xs = 25, hi = K(() => {
2654
- }), Ja = ["wheel", "touchmove", "keydown"], ks = (t, e) => new Promise((a, o) => {
2655
- if (e != null && e.aborted) return o(new gt());
2656
- const i = setTimeout(a, t);
2657
- e == null || e.addEventListener(
2658
- "abort",
2659
- () => {
2660
- clearTimeout(i), o(new gt());
2661
- },
2662
- { once: !0 }
2663
- );
2664
- }), q = {
2665
- onSubmitSuccessFn$: K(() => {
2666
- }),
2667
- onInteractionFn$: K(() => {
2668
- }),
2669
- isBotTyping$: K(!1),
2670
- /** A Turnstile challenge is waiting for the candidate in the conversation (PROD-7320). */
2671
- captchaVisible$: K(!1),
2672
- themeMode$: K("light"),
2673
- isReadingHistory$: K(!1),
2674
- scrollToEnd: () => hi.value()
2675
- }, pl = () => {
2676
- const t = kt(null), e = kt(-1 / 0);
2677
- St(() => {
2678
- const o = t.current;
2679
- if (!o) return;
2680
- const i = () => {
2681
- q.isReadingHistory$.value = !1, o.scrollTo({ top: o.scrollHeight, behavior: "instant" });
2682
- };
2683
- hi.value = i;
2684
- const n = () => e.current = performance.now(), r = () => {
2685
- o.scrollHeight - o.scrollTop - o.clientHeight <= 24 ? q.isReadingHistory$.value = !1 : performance.now() - e.current < 1e3 && (q.isReadingHistory$.value = !0);
2686
- };
2687
- o.addEventListener("scroll", r, { passive: !0 });
2688
- for (const l of Ja) o.addEventListener(l, n, { passive: !0 });
2689
- const s = new ResizeObserver(() => {
2690
- q.isReadingHistory$.peek() || i();
2691
- });
2692
- return s.observe(o), o.firstElementChild && s.observe(o.firstElementChild), () => {
2693
- o.removeEventListener("scroll", r);
2694
- for (const l of Ja) o.removeEventListener(l, n);
2695
- s.disconnect();
2696
- };
2697
- }, []);
2698
- const a = wt(() => ({
2699
- setSubmission: (i, n) => S.setSubmission(i, n),
2700
- captcha: {
2701
- container: () => {
2702
- var i;
2703
- return ((i = t.current) == null ? void 0 : i.querySelector("[data-captcha-slot]")) ?? null;
2704
- },
2705
- get theme() {
2706
- return q.themeMode$.peek();
2707
- },
2708
- reveal: (i) => {
2709
- q.captchaVisible$.value = i, i && requestAnimationFrame(() => {
2710
- var n, r;
2711
- (r = (n = t.current) == null ? void 0 : n.querySelector("[data-captcha-slot]")) == null || r.focus(), q.scrollToEnd();
2712
- });
2713
- }
2714
- },
2715
- send: async ({ message: i, signal: n, groupId: r }) => {
2716
- if (await na(i).with({ author: "bot", type: "text" }, async (s) => {
2717
- if (n != null && n.aborted) throw new gt();
2718
- q.isBotTyping$.value = !0;
2719
- const l = Math.min(Math.max(20, s.text.length), 100) * xs;
2720
- try {
2721
- await ks(l, n);
2722
- } finally {
2723
- q.isBotTyping$.value = !1;
2724
- }
2725
- }).otherwise(async () => {
2726
- }), n != null && n.aborted) throw new gt();
2727
- S.addMessage(i, r);
2728
- },
2729
- input: (({ input: i, signal: n }) => {
2730
- if (n != null && n.aborted) throw new gt();
2731
- return S.setInput(i), new Promise((r) => {
2732
- const s = (l) => {
2733
- if (n != null && n.aborted) throw new gt();
2734
- e.current = -1 / 0, S.setInput(void 0), i.key && S.setSubmission(i.key, l), r(l);
2735
- };
2736
- q.onSubmitSuccessFn$.value = s;
2737
- });
2738
- })
2739
- }), []);
2740
- return {
2741
- chatRef: t,
2742
- chatService: a
2743
- };
2744
- };
2745
- var $s = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], Ss = {
2746
- light: {
2747
- 1: [98.8, 0.015],
2748
- 2: [97.8, 0.018],
2749
- 3: [95.8, 0.025],
2750
- 4: [92, 0.04],
2751
- 5: [89, 0.05],
2752
- 6: [85, 0.07],
2753
- 7: [80.5, 0.08],
2754
- 8: [74, 0.11],
2755
- 9: [60, 0.22],
2756
- 10: [56, 0.23],
2757
- 11: [50, 0.19],
2758
- 12: [25, 0.18]
2759
- },
2760
- dark: {
2761
- 1: [19, 0.015],
2762
- 2: [21, 0.018],
2763
- 3: [25.5, 0.055],
2764
- 4: [29.3, 0.084],
2765
- 5: [33.5, 0.098],
2766
- 6: [39.05, 0.107],
2767
- 7: [45, 0.11],
2768
- 8: [55, 0.13],
2769
- 9: [60, 0.22],
2770
- 10: [67, 0.18],
2771
- 11: [79.3, 0.12],
2772
- 12: [95, 0.04]
2773
- }
2774
- }, Es = (t, e = 1, a) => (o) => {
2775
- const [i, n] = Ss[a][o];
2776
- return "oklch(" + i + "% " + n * e + " " + t + ")";
2777
- }, we = (t) => {
2778
- const e = Es(t.hue, t.chroma, t.mode);
2779
- return Object.fromEntries(
2780
- $s.map((a) => [t.prefix + a, t.transform(e(a))])
2781
- );
2782
- }, ge = (t) => t, Cs = (t) => {
2783
- const e = Object.keys(t).flatMap((a) => {
2784
- const o = t[a];
2785
- return typeof o == "object" && o !== null ? Object.keys(o).map((i) => {
2786
- const n = o[i];
2787
- return [`${String(a)}.${i}`, n];
2788
- }) : [[a, o]];
2789
- });
2790
- return Object.fromEntries(e);
2791
- }, Ft = (t) => !!t && typeof t == "object" && !Array.isArray(t), He = (t, ...e) => {
2792
- if (!e.length)
2793
- return t;
2794
- const a = e.shift();
2795
- if (Ft(t) && Ft(a))
2796
- for (const o in a) {
2797
- const i = a[o];
2798
- if (Ft(i)) {
2799
- t[o] || Object.assign(t, { [o]: {} });
2800
- const n = t[o];
2801
- Ft(n) && He(n, i);
2802
- } else
2803
- Object.assign(t, { [o]: a[o] });
2804
- }
2805
- return He(t, ...e);
2806
- }, Ts = (t) => {
2807
- function e(a, o) {
2808
- const i = [t.prefix, o.toString().replace(/\./g, "-")].join("");
2809
- return a === "declaration" ? `--${i}` : `var(--${i})`;
2810
- }
2811
- return e;
2812
- }, Is = () => ({
2813
- core: (t) => ({
2814
- semantic: (e) => ({
2815
- component: (a) => ({
2816
- from: (o) => {
2817
- const { theme: i, getToken: n } = o, r = (h) => n("reference", h.toString()), s = t({ theme: i }), l = e({ theme: i, core: r, raw: { core: s } }), d = a({
2818
- theme: i,
2819
- core: r,
2820
- semantic: r,
2821
- raw: { core: s, semantic: l }
2822
- }), u = Cs(He(s, l, d)), c = ([h, f], p) => {
2823
- const g = [p, h].filter(Boolean).join(".");
2824
- return typeof f == "object" ? Object.entries(f).flatMap(($) => c($, g)) : [[o.getToken("declaration", g), f]];
2825
- };
2826
- return {
2827
- values: u,
2828
- declarations: Object.fromEntries(Object.entries(u).flatMap((h) => c(h))),
2829
- ref: (h) => n("reference", h.toString())
2830
- };
2831
- }
2832
- })
2833
- })
2834
- })
2835
- });
2836
- const [be, ve, Qa] = ["oklch(0% 0 0)", "oklch(100% 0 0)", "transparent"], As = Is().core(({ theme: t }) => ({
2837
- color: {
2838
- black: be,
2839
- white: ve,
2840
- lowest: t.mode === "light" ? ve : be,
2841
- highest: t.mode === "light" ? be : ve,
2842
- ...we({
2843
- prefix: "a-",
2844
- hue: t.hue,
2845
- chroma: t.chroma,
2846
- mode: t.mode,
2847
- transform: ge
2848
- }),
2849
- ...we({
2850
- prefix: "n-",
2851
- hue: t.hue,
2852
- chroma: 0.05,
2853
- mode: t.mode,
2854
- transform: ge
2855
- }),
2856
- ...we({
2857
- prefix: "e-",
2858
- hue: 20,
2859
- chroma: t.chroma,
2860
- mode: t.mode,
2861
- transform: ge
2862
- })
2863
- },
2864
- typography: {}
2865
- })).semantic(({ core: t, raw: e, theme: a }) => {
2866
- const o = (i, n) => e.core.color[i].replace(")", ` / ${n})`);
2867
- return {
2868
- "font-family": {
2869
- body: "inherit",
2870
- headings: "inherit"
2871
- },
2872
- "font-style": {
2873
- body: "normal",
2874
- headings: "normal"
2875
- },
2876
- "font-weight-body": "normal",
2877
- "font-weight-headings": "normal",
2878
- "radius-app": "1.5rem",
2879
- "radius-interactive": "1.5rem",
2880
- color: {
2881
- divider: o("n-8", a.mode === "dark" ? 0.4 : 0.2)
2882
- },
2883
- "copy-body": t("color.n-12"),
2884
- "copy-headings": t("color.n-12"),
2885
- interactive: {
2886
- copy: t("color.n-11"),
2887
- "copy-hover": t("color.n-12"),
2888
- "copy-active": t("color.n-12"),
2889
- bg: Qa,
2890
- "bg-hover": o("n-10", 0.2),
2891
- "bg-active": o("n-10", 0.3)
2892
- }
2893
- };
2894
- }).component(({ raw: t, theme: e, semantic: a, core: o }) => {
2895
- const i = (n, r) => t.core.color[n].replace(")", ` / ${r})`);
2896
- return {
2897
- app: {
2898
- bg: o(e.mode === "dark" ? "color.n-1" : "color.n-2")
2899
- },
2900
- overlay: {
2901
- bg: i("black", 0.4)
2902
- },
2903
- bubble: {
2904
- "weak-bg": o(e.mode === "dark" ? "color.n-3" : "color.lowest"),
2905
- "weak-outline": a("color.divider"),
2906
- "strong-shadow": i("a-9", 0.05)
2907
- },
2908
- "status-bar": {
2909
- bg: i("n-2", 0.8),
2910
- "bg-button": Qa,
2911
- "bg-button-hover": i("n-10", 0.4),
2912
- "bg-button-active": i("n-10", 0.5)
2913
- },
2914
- "submit-button": {
2915
- "bg-active": o(e.mode === "dark" ? "color.a-8" : "color.a-11")
2916
- },
2917
- // Small outcome text: the light-mode values keep 4.5:1 on white, the dark-mode ones on near-black.
2918
- "system-message": {
2919
- warning: e.mode === "dark" ? "#FFC107" : "#8A5A00",
2920
- success: e.mode === "dark" ? "#4CAF50" : "#2E7D32"
2921
- }
2922
- };
2923
- }), Ps = Ts({ prefix: "i-" }), js = (t) => {
2924
- const e = As.from({ theme: t, getToken: Ps }), a = Object.entries(e.declarations).map(([o, i]) => `${o}: ${i};`);
2925
- return `${Le} {
2926
- ${a.concat(a).join(`
2927
- `)}
2928
- }`;
2929
- };
2930
- class to extends mi {
2931
- }
2932
- const hl = ({
2933
- _internal_domManager: t = ys(),
2934
- theme: e,
2935
- terms: a,
2936
- feedback: o,
2937
- jobAlerts: i
2938
- }) => bi(({ apiClient: n, rpcClient: r, logger: s, analytics: l, publishableKey: d, env: u }) => {
2939
- let c = !1, h = 0;
2940
- vs(u, d);
2941
- const f = ms(ws(n));
2942
- let p = 0;
2943
- const g = /* @__PURE__ */ new WeakMap(), $ = (v, m) => {
2944
- const _ = ++p, y = performance.now();
2945
- return m.catch((Z) => {
2946
- throw typeof Z == "object" && Z !== null && g.set(Z, { endpoint: v, attempt: _, elapsed_ms: Math.round(performance.now() - y) }), Z;
2947
- });
2948
- }, x = (v, m) => {
2949
- const _ = ui(v);
2950
- _ === 404 || _ === 410 || _t("fatal", "application_unavailable", {
2951
- phase: "flow",
2952
- stage: m,
2953
- error: Fe(v),
2954
- http_status: _,
2955
- ...m === "flow_fetch" && typeof v == "object" && v !== null && g.get(v)
2956
- });
2957
- }, C = d && u ? vi({ environment: u, publishableKey: d, logger: s }) : void 0, P = (v) => v === h, D = () => {
2958
- if (typeof window > "u") return;
2959
- h++, Y.flushStateData().catch(() => {
2960
- }), S.cancelCurrentFlow(), q.isBotTyping$.value = !1;
2961
- const v = t.getChatbotElement();
2962
- v && (ft(null, v), v.remove()), c = !1, s.info("Chatbot plugin destroyed");
2963
- }, M = () => {
2964
- if (typeof window > "u") return;
2965
- const v = h, m = [
2966
- V("style", { id: "inploi-chatbot-styles" }, _s),
2967
- V("style", { id: "inploi-chatbot-theme" }, js(e))
2968
- ], _ = t.getOrCreateChatbotElement();
2969
- q.themeMode$.value = e.mode;
2970
- const y = K(!1);
2971
- if (ft(
2972
- V(G, {}, [
2973
- m,
2974
- V(hs, {
2975
- env: u,
2976
- rpcClient: r,
2977
- apiClient: f,
2978
- logger: s,
2979
- analytics: l,
2980
- talentBankClient: C,
2981
- params: { theme: e, terms: a, feedback: o },
2982
- feedbackReady: y
2983
- })
2984
- ]),
2985
- _
2986
- ), o) {
2987
- const Z = (et) => {
2988
- var da, ua;
2989
- if (!P(v)) return;
2990
- const ca = (da = t.getChatbotElement()) == null ? void 0 : da.querySelector("dialog");
2991
- ca && Os({
2992
- instance: et({ rpcClient: r, apiClient: n, logger: s, analytics: l }),
2993
- theme: e,
2994
- terms: ((ua = o.params) == null ? void 0 : ua.terms) ?? {},
2995
- host: ca
2996
- }).then(
2997
- () => void (y.value = !0),
2998
- (fi) => s.error("Error rendering feedback plugin", fi)
2999
- );
3000
- };
3001
- o.plugin instanceof Promise ? o.plugin.then(({ feedbackPlugin: et }) => {
3002
- Z(et());
3003
- }).catch((et) => {
3004
- s.error("Error preparing feedback plugin", et);
3005
- }) : Z(o.plugin);
3006
- }
3007
- c = !0;
3008
- }, N = async (v, m) => {
3009
- if (!P(m)) return;
3010
- xn({
3011
- context: Xe(v.jobContext, v.context || {}),
3012
- schema: v.flow.context_schema,
3013
- logger: s
3014
- });
3015
- const _ = await S.prepareFlow({ ...v, jobAlerts: v.jobAlerts ?? i });
3016
- P(m) && S.commitFlow(_);
3017
- };
3018
- return {
3019
- /** Optionally eagerly renders the interface ahead of needing the chatbot. */
3020
- prepare: async () => {
3021
- if (!(typeof window > "u"))
3022
- try {
3023
- if (c) return;
3024
- M(), s.info("Chatbot plugin prepared");
3025
- } catch (v) {
3026
- s.error("Error preparing chatbot plugin", v);
3027
- }
3028
- },
3029
- /** Fetches a flow by job ID.
3030
- * @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.
3031
- */
3032
- fetchFlowByJobId: async (v, m) => {
3033
- const _ = (m == null ? void 0 : m.idType) === "inploi" ? "internal" : "external";
3034
- return $(
3035
- "flow_by_job",
3036
- r.request(En, { params: { id: v }, searchParams: { id_type: _ } })
3037
- ).catch((y) => {
3038
- throw Uo(
3039
- {
3040
- name: "ApiError",
3041
- message: bt.string,
3042
- status: 410,
3043
- data: bt.union(
3044
- { job: { status: "closed" } },
3045
- { integration_response: { error: { data: { code: "job_closed" } } } }
3046
- )
3047
- },
3048
- y
3049
- ) ? new to(y.message, y.status, y.data) : y;
3050
- }).then((y) => ({
3051
- flow: y.flow,
3052
- title: y.job.title,
3053
- flowKeys: [y.job.id, ...(m == null ? void 0 : m.flowKeys) ?? []],
3054
- job: Sn(y, { id: v, idType: _ }),
3055
- employer: y.company.name,
3056
- ...m,
3057
- jobContext: y.context,
3058
- context: {
3059
- user: y.user,
3060
- ...m == null ? void 0 : m.context
3061
- }
3062
- }));
3063
- },
3064
- fetchFlowById: async (v, m) => $("flow_by_id", r.request(Cn, { params: { id: v } })).then(
3065
- (_) => {
3066
- var y;
3067
- return {
3068
- flow: _.flow,
3069
- title: "Chatbot",
3070
- flowKeys: (m == null ? void 0 : m.flowKeys) ?? [],
3071
- ...m,
3072
- analytics: {
3073
- customProperties: {
3074
- flow_id: _.flow.id,
3075
- flow_version: _.flow.version,
3076
- ...(y = m == null ? void 0 : m.analytics) == null ? void 0 : y.customProperties
3077
- }
3078
- }
3079
- };
3080
- }
3081
- ),
3082
- open: async (v) => {
3083
- if (typeof window > "u") return;
3084
- const m = performance.now();
3085
- try {
3086
- S.cancelCurrentFlow(), S.viewState$.value = "maximised", c || M();
3087
- } catch (y) {
3088
- s.error("Error starting flow", y), _t("boot_failed", ee(y), {
3089
- phase: "config",
3090
- error: Fe(y),
3091
- elapsed_ms: Math.round(performance.now() - m)
3092
- });
3093
- return;
3094
- }
3095
- _t("boot");
3096
- const _ = h;
3097
- if (v instanceof Promise) {
3098
- S.current$.value = { state: "loading" };
3099
- const y = (Z) => (et) => {
3100
- P(_) && (s.error("Error loading flow", et), S.current$.value = {
3101
- state: et instanceof to ? "closed" : "error"
3102
- }, x(et, Z));
3103
- };
3104
- v.then((Z) => N(Z, _).catch(y("create")), y("flow_fetch"));
3105
- } else
3106
- await N(v, _).catch((y) => {
3107
- s.error("Error starting flow", y), x(y, "create");
3108
- });
3109
- },
3110
- /**
3111
- * Whether this browser holds an application in progress that `open(params)` would load: the same saved state
3112
- * under the same key, unfinished, with an answer, including one whose submit started. The candidate loader
3113
- * keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
3114
- */
3115
- hasApplicationInProgress: async (v) => {
3116
- const m = await Y.getStateData(v.flow, v.flowKeys, v.context ?? {});
3117
- return m !== void 0 && Za({ data: m, nodes: v.flow.nodes });
3118
- },
3119
- /**
3120
- * Whether this browser holds an application in progress for any job: the candidate loader's question when it
3121
- * cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
3122
- * answer counts.
3123
- */
3124
- hasAnyApplicationInProgress: async () => (await Y.getAllStateData()).some((v) => Za({ data: v, nodes: [] })),
3125
- close: async () => {
3126
- typeof window > "u" || (S.cancelCurrentFlow(), s.info("Closed flow from an external source"));
3127
- },
3128
- destroy: D
3129
- };
3130
- });
3131
- function Os({
3132
- instance: t,
3133
- terms: e,
3134
- theme: a,
3135
- host: o
3136
- }) {
3137
- return t.render({
3138
- key: "chatbot-header",
3139
- size: "sm",
3140
- theme: {
3141
- accent: { chroma: a.chroma ?? 1, hue: a.hue },
3142
- positive: { hue: 180, chroma: 1 },
3143
- negative: { hue: 33, chroma: 1 },
3144
- mode: a.mode,
3145
- corners: "rounded",
3146
- highlights: "stroke"
3147
- },
3148
- terms: e,
3149
- host: o
3150
- });
3151
- }
3152
- export {
3153
- Ns as $,
3154
- qs as A,
3155
- cr as B,
3156
- el as C,
3157
- gt as D,
3158
- Hs as E,
3159
- Ys as F,
3160
- an as G,
3161
- Us as H,
3162
- Ks as I,
3163
- rl as J,
3164
- dl as K,
3165
- ol as L,
3166
- tn as M,
3167
- tl as N,
3168
- Gs as O,
3169
- al as P,
3170
- hn as Q,
3171
- Vs as R,
3172
- Ws as S,
3173
- Zs as T,
3174
- Ms as U,
3175
- uo as V,
3176
- ll as W,
3177
- q as X,
3178
- K as Y,
3179
- cl as Z,
3180
- kt as _,
3181
- nl as a,
3182
- na as a0,
3183
- bt as a1,
3184
- pl as a2,
3185
- Y as a3,
3186
- Re as a4,
3187
- ls as a5,
3188
- hl as a6,
3189
- il as b,
3190
- Qs as c,
3191
- _n as d,
3192
- Js as e,
3193
- w as f,
3194
- ra as g,
3195
- Ls as h,
3196
- mn as i,
3197
- Xs as j,
3198
- sa as k,
3199
- jo as l,
3200
- oi as m,
3201
- wt as n,
3202
- gn as o,
3203
- Qe as p,
3204
- St as q,
3205
- G as r,
3206
- S as s,
3207
- ns as t,
3208
- oe as u,
3209
- zs as v,
3210
- ul as w,
3211
- Fs as x,
3212
- Bs as y,
3213
- dn as z
3214
- };