@inploi/plugin-chatbot 4.0.3 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.js +3 -3
- package/dist/chatbot-body-7fa34af3.cjs +1 -0
- package/dist/{chatbot-body-4157a64b.js → chatbot-body-8b3ebdca.js} +947 -945
- package/dist/chatbot.api.d.ts +0 -11
- package/dist/chatbot.utils.d.ts +0 -1
- package/dist/components/chat-input/chat-input.phone-number.d.ts +0 -1
- package/dist/i18n.d.ts +54 -0
- package/dist/{index-432cb092.js → index-cdef556d.js} +11 -2
- package/dist/index-d8af0361.cjs +5 -0
- package/dist/plugin-chatbot.cjs +1 -1
- package/dist/plugin-chatbot.js +1 -1
- package/package.json +10 -11
- package/dist/chatbot-body-faf3f35a.cjs +0 -1
- package/dist/index-fc252b7c.cjs +0 -5
package/dist/chatbot.api.d.ts
CHANGED
|
@@ -112,7 +112,6 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
112
112
|
question: string;
|
|
113
113
|
optional: boolean;
|
|
114
114
|
placeholder: string;
|
|
115
|
-
maxChars: number;
|
|
116
115
|
minChars: number;
|
|
117
116
|
defaultCountryCode: string;
|
|
118
117
|
};
|
|
@@ -337,7 +336,6 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
337
336
|
question: string;
|
|
338
337
|
optional: boolean;
|
|
339
338
|
placeholder: string;
|
|
340
|
-
maxChars: number;
|
|
341
339
|
minChars: number;
|
|
342
340
|
defaultCountryCode: string;
|
|
343
341
|
};
|
|
@@ -589,7 +587,6 @@ export declare const FlowSchema: import("valibot").ObjectSchema<{
|
|
|
589
587
|
question: string;
|
|
590
588
|
optional: boolean;
|
|
591
589
|
placeholder: string;
|
|
592
|
-
maxChars: number;
|
|
593
590
|
minChars: number;
|
|
594
591
|
defaultCountryCode: string;
|
|
595
592
|
};
|
|
@@ -828,7 +825,6 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
828
825
|
question: string;
|
|
829
826
|
optional: boolean;
|
|
830
827
|
placeholder: string;
|
|
831
|
-
maxChars: number;
|
|
832
828
|
minChars: number;
|
|
833
829
|
defaultCountryCode: string;
|
|
834
830
|
};
|
|
@@ -1053,7 +1049,6 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1053
1049
|
question: string;
|
|
1054
1050
|
optional: boolean;
|
|
1055
1051
|
placeholder: string;
|
|
1056
|
-
maxChars: number;
|
|
1057
1052
|
minChars: number;
|
|
1058
1053
|
defaultCountryCode: string;
|
|
1059
1054
|
};
|
|
@@ -1305,7 +1300,6 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1305
1300
|
question: string;
|
|
1306
1301
|
optional: boolean;
|
|
1307
1302
|
placeholder: string;
|
|
1308
|
-
maxChars: number;
|
|
1309
1303
|
minChars: number;
|
|
1310
1304
|
defaultCountryCode: string;
|
|
1311
1305
|
};
|
|
@@ -1543,7 +1537,6 @@ export declare const FlowByIdPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1543
1537
|
question: string;
|
|
1544
1538
|
optional: boolean;
|
|
1545
1539
|
placeholder: string;
|
|
1546
|
-
maxChars: number;
|
|
1547
1540
|
minChars: number;
|
|
1548
1541
|
defaultCountryCode: string;
|
|
1549
1542
|
};
|
|
@@ -1787,7 +1780,6 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
1787
1780
|
question: string;
|
|
1788
1781
|
optional: boolean;
|
|
1789
1782
|
placeholder: string;
|
|
1790
|
-
maxChars: number;
|
|
1791
1783
|
minChars: number;
|
|
1792
1784
|
defaultCountryCode: string;
|
|
1793
1785
|
};
|
|
@@ -2012,7 +2004,6 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
2012
2004
|
question: string;
|
|
2013
2005
|
optional: boolean;
|
|
2014
2006
|
placeholder: string;
|
|
2015
|
-
maxChars: number;
|
|
2016
2007
|
minChars: number;
|
|
2017
2008
|
defaultCountryCode: string;
|
|
2018
2009
|
};
|
|
@@ -2264,7 +2255,6 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
2264
2255
|
question: string;
|
|
2265
2256
|
optional: boolean;
|
|
2266
2257
|
placeholder: string;
|
|
2267
|
-
maxChars: number;
|
|
2268
2258
|
minChars: number;
|
|
2269
2259
|
defaultCountryCode: string;
|
|
2270
2260
|
};
|
|
@@ -2509,7 +2499,6 @@ export declare const FlowByJobPayloadSchema: import("valibot").ObjectSchema<{
|
|
|
2509
2499
|
question: string;
|
|
2510
2500
|
optional: boolean;
|
|
2511
2501
|
placeholder: string;
|
|
2512
|
-
maxChars: number;
|
|
2513
2502
|
minChars: number;
|
|
2514
2503
|
defaultCountryCode: string;
|
|
2515
2504
|
};
|
package/dist/chatbot.utils.d.ts
CHANGED
package/dist/i18n.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export declare const TranslationProvider: (props: {
|
|
|
39
39
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
40
40
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
41
41
|
readonly validation_phone: "Please enter a valid phone number";
|
|
42
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
42
43
|
readonly validation_country_code: "Please select a country code";
|
|
43
44
|
readonly validation_number: "Please enter a valid number";
|
|
44
45
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -52,6 +53,14 @@ export declare const TranslationProvider: (props: {
|
|
|
52
53
|
};
|
|
53
54
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
54
55
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
56
|
+
readonly validation_multiple_choice_min: {
|
|
57
|
+
readonly one: "Please select at least {{count}} option";
|
|
58
|
+
readonly other: "Please select at least {{count}} options";
|
|
59
|
+
};
|
|
60
|
+
readonly validation_multiple_choice_max: {
|
|
61
|
+
readonly one: "Please select at most {{count}} option";
|
|
62
|
+
readonly other: "Please select at most {{count}} options";
|
|
63
|
+
};
|
|
55
64
|
}>> | undefined;
|
|
56
65
|
locale: string | undefined;
|
|
57
66
|
children?: import("preact").ComponentChildren;
|
|
@@ -95,6 +104,7 @@ export declare const TranslationProvider: (props: {
|
|
|
95
104
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
96
105
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
97
106
|
readonly validation_phone: "Please enter a valid phone number";
|
|
107
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
98
108
|
readonly validation_country_code: "Please select a country code";
|
|
99
109
|
readonly validation_number: "Please enter a valid number";
|
|
100
110
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -108,6 +118,14 @@ export declare const TranslationProvider: (props: {
|
|
|
108
118
|
};
|
|
109
119
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
110
120
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
121
|
+
readonly validation_multiple_choice_min: {
|
|
122
|
+
readonly one: "Please select at least {{count}} option";
|
|
123
|
+
readonly other: "Please select at least {{count}} options";
|
|
124
|
+
};
|
|
125
|
+
readonly validation_multiple_choice_max: {
|
|
126
|
+
readonly one: "Please select at most {{count}} option";
|
|
127
|
+
readonly other: "Please select at most {{count}} options";
|
|
128
|
+
};
|
|
111
129
|
} = {
|
|
112
130
|
readonly error_heading: "Something unexpected happened";
|
|
113
131
|
readonly undo: "Undo";
|
|
@@ -148,6 +166,7 @@ export declare const TranslationProvider: (props: {
|
|
|
148
166
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
149
167
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
150
168
|
readonly validation_phone: "Please enter a valid phone number";
|
|
169
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
151
170
|
readonly validation_country_code: "Please select a country code";
|
|
152
171
|
readonly validation_number: "Please enter a valid number";
|
|
153
172
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -161,6 +180,14 @@ export declare const TranslationProvider: (props: {
|
|
|
161
180
|
};
|
|
162
181
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
163
182
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
183
|
+
readonly validation_multiple_choice_min: {
|
|
184
|
+
readonly one: "Please select at least {{count}} option";
|
|
185
|
+
readonly other: "Please select at least {{count}} options";
|
|
186
|
+
};
|
|
187
|
+
readonly validation_multiple_choice_max: {
|
|
188
|
+
readonly one: "Please select at most {{count}} option";
|
|
189
|
+
readonly other: "Please select at most {{count}} options";
|
|
190
|
+
};
|
|
164
191
|
}>() => {
|
|
165
192
|
t: import("@inploi/i18n/translation").TFn<T>;
|
|
166
193
|
locale: string | undefined;
|
|
@@ -204,6 +231,7 @@ export declare const TranslationProvider: (props: {
|
|
|
204
231
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
205
232
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
206
233
|
readonly validation_phone: "Please enter a valid phone number";
|
|
234
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
207
235
|
readonly validation_country_code: "Please select a country code";
|
|
208
236
|
readonly validation_number: "Please enter a valid number";
|
|
209
237
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -217,6 +245,14 @@ export declare const TranslationProvider: (props: {
|
|
|
217
245
|
};
|
|
218
246
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
219
247
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
248
|
+
readonly validation_multiple_choice_min: {
|
|
249
|
+
readonly one: "Please select at least {{count}} option";
|
|
250
|
+
readonly other: "Please select at least {{count}} options";
|
|
251
|
+
};
|
|
252
|
+
readonly validation_multiple_choice_max: {
|
|
253
|
+
readonly one: "Please select at most {{count}} option";
|
|
254
|
+
readonly other: "Please select at most {{count}} options";
|
|
255
|
+
};
|
|
220
256
|
} = {
|
|
221
257
|
readonly error_heading: "Something unexpected happened";
|
|
222
258
|
readonly undo: "Undo";
|
|
@@ -257,6 +293,7 @@ export declare const TranslationProvider: (props: {
|
|
|
257
293
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
258
294
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
259
295
|
readonly validation_phone: "Please enter a valid phone number";
|
|
296
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
260
297
|
readonly validation_country_code: "Please select a country code";
|
|
261
298
|
readonly validation_number: "Please enter a valid number";
|
|
262
299
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -270,6 +307,14 @@ export declare const TranslationProvider: (props: {
|
|
|
270
307
|
};
|
|
271
308
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
272
309
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
310
|
+
readonly validation_multiple_choice_min: {
|
|
311
|
+
readonly one: "Please select at least {{count}} option";
|
|
312
|
+
readonly other: "Please select at least {{count}} options";
|
|
313
|
+
};
|
|
314
|
+
readonly validation_multiple_choice_max: {
|
|
315
|
+
readonly one: "Please select at most {{count}} option";
|
|
316
|
+
readonly other: "Please select at most {{count}} options";
|
|
317
|
+
};
|
|
273
318
|
}>(options: {
|
|
274
319
|
overrides: Partial<import("@inploi/i18n/translation").TranslationDict<{
|
|
275
320
|
readonly error_heading: "Something unexpected happened";
|
|
@@ -311,6 +356,7 @@ export declare const TranslationProvider: (props: {
|
|
|
311
356
|
readonly validation_max_chars: "Please enter no more than {{count}} characters";
|
|
312
357
|
readonly validation_min_chars: "Please enter {{count}} or more characters";
|
|
313
358
|
readonly validation_phone: "Please enter a valid phone number";
|
|
359
|
+
readonly validation_phone_min_chars: "Your phone number must be at least {{count}} digits long";
|
|
314
360
|
readonly validation_country_code: "Please select a country code";
|
|
315
361
|
readonly validation_number: "Please enter a valid number";
|
|
316
362
|
readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
|
|
@@ -324,6 +370,14 @@ export declare const TranslationProvider: (props: {
|
|
|
324
370
|
};
|
|
325
371
|
readonly validation_email: "That doesn’t look like a valid email address";
|
|
326
372
|
readonly validation_url: "That doesn’t look like a valid URL";
|
|
373
|
+
readonly validation_multiple_choice_min: {
|
|
374
|
+
readonly one: "Please select at least {{count}} option";
|
|
375
|
+
readonly other: "Please select at least {{count}} options";
|
|
376
|
+
};
|
|
377
|
+
readonly validation_multiple_choice_max: {
|
|
378
|
+
readonly one: "Please select at most {{count}} option";
|
|
379
|
+
readonly other: "Please select at most {{count}} options";
|
|
380
|
+
};
|
|
327
381
|
}>>;
|
|
328
382
|
locale: string | undefined;
|
|
329
383
|
}) => import("@inploi/i18n/translation").TFn<T>;
|
|
@@ -2015,6 +2015,7 @@ const {
|
|
|
2015
2015
|
validation_max_chars: "Please enter no more than {{count}} characters",
|
|
2016
2016
|
validation_min_chars: "Please enter {{count}} or more characters",
|
|
2017
2017
|
validation_phone: "Please enter a valid phone number",
|
|
2018
|
+
validation_phone_min_chars: "Your phone number must be at least {{count}} digits long",
|
|
2018
2019
|
validation_country_code: "Please select a country code",
|
|
2019
2020
|
validation_number: "Please enter a valid number",
|
|
2020
2021
|
validation_number_min: "Please enter a number greater than or equal to {{min}}",
|
|
@@ -2027,7 +2028,15 @@ const {
|
|
|
2027
2028
|
other: "Please only upload up to {{count}} files"
|
|
2028
2029
|
},
|
|
2029
2030
|
validation_email: "That doesn’t look like a valid email address",
|
|
2030
|
-
validation_url: "That doesn’t look like a valid URL"
|
|
2031
|
+
validation_url: "That doesn’t look like a valid URL",
|
|
2032
|
+
validation_multiple_choice_min: {
|
|
2033
|
+
one: "Please select at least {{count}} option",
|
|
2034
|
+
other: "Please select at least {{count}} options"
|
|
2035
|
+
},
|
|
2036
|
+
validation_multiple_choice_max: {
|
|
2037
|
+
one: "Please select at most {{count}} option",
|
|
2038
|
+
other: "Please select at most {{count}} options"
|
|
2039
|
+
}
|
|
2031
2040
|
});
|
|
2032
2041
|
function Er(t, e) {
|
|
2033
2042
|
if (!t)
|
|
@@ -2984,7 +2993,7 @@ const Kl = (t) => typeof t == "string", el = () => typeof crypto < "u" && "rando
|
|
|
2984
2993
|
};
|
|
2985
2994
|
function oe() {
|
|
2986
2995
|
}
|
|
2987
|
-
const cl = _r(() => import("./chatbot-body-
|
|
2996
|
+
const cl = _r(() => import("./chatbot-body-8b3ebdca.js").then((t) => t.ChatbotBody)), ja = Fs("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full max-w-[450px] focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out", {
|
|
2988
2997
|
variants: {
|
|
2989
2998
|
view: {
|
|
2990
2999
|
closed: "hidden",
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";var Wr=Object.defineProperty;var Gr=(t,e,a)=>e in t?Wr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a;var Ye=(t,e,a)=>(Gr(t,typeof e!="symbol"?e+"":e,a),a);const Yr=require("@inploi/sdk");var zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ra(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Xr=Array.isArray,Ie=Xr,Zr=typeof zt=="object"&&zt&&zt.Object===Object&&zt,Jr=Zr,Qr=Jr,ti=typeof self=="object"&&self&&self.Object===Object&&self,ei=Qr||ti||Function("return this")(),Te=ei,ai=Te,ri=ai.Symbol,je=ri,Xe=je,Ua=Object.prototype,ii=Ua.hasOwnProperty,oi=Ua.toString,mt=Xe?Xe.toStringTag:void 0;function ni(t){var e=ii.call(t,mt),a=t[mt];try{t[mt]=void 0;var r=!0}catch{}var o=oi.call(t);return r&&(e?t[mt]=a:delete t[mt]),o}var si=ni,ci=Object.prototype,li=ci.toString;function di(t){return li.call(t)}var ui=di,Ze=je,pi=si,hi=ui,fi="[object Null]",wi="[object Undefined]",Je=Ze?Ze.toStringTag:void 0;function gi(t){return t==null?t===void 0?wi:fi:Je&&Je in Object(t)?pi(t):hi(t)}var Va=gi;function bi(t){return t!=null&&typeof t=="object"}var vi=bi,_i=Va,mi=vi,yi="[object Symbol]";function xi(t){return typeof t=="symbol"||mi(t)&&_i(t)==yi}var ze=xi,ki=Ie,$i=ze,Si=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ci=/^\w*$/;function Ei(t,e){if(ki(t))return!1;var a=typeof t;return a=="number"||a=="symbol"||a=="boolean"||t==null||$i(t)?!0:Ci.test(t)||!Si.test(t)||e!=null&&t in Object(e)}var Pi=Ei;function Oi(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var qa=Oi,Ii=Va,Ti=qa,ji="[object AsyncFunction]",zi="[object Function]",Di="[object GeneratorFunction]",Ai="[object Proxy]";function Ni(t){if(!Ti(t))return!1;var e=Ii(t);return e==zi||e==Di||e==ji||e==Ai}var Mi=Ni,Fi=Te,Li=Fi["__core-js_shared__"],Hi=Li,ae=Hi,Qe=function(){var t=/[^.]+$/.exec(ae&&ae.keys&&ae.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function Bi(t){return!!Qe&&Qe in t}var Ri=Bi,Ui=Function.prototype,Vi=Ui.toString;function qi(t){if(t!=null){try{return Vi.call(t)}catch{}try{return t+""}catch{}}return""}var Ki=qi,Wi=Mi,Gi=Ri,Yi=qa,Xi=Ki,Zi=/[\\^$.*+?()[\]{}|]/g,Ji=/^\[object .+?Constructor\]$/,Qi=Function.prototype,to=Object.prototype,eo=Qi.toString,ao=to.hasOwnProperty,ro=RegExp("^"+eo.call(ao).replace(Zi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function io(t){if(!Yi(t)||Gi(t))return!1;var e=Wi(t)?ro:Ji;return e.test(Xi(t))}var oo=io;function no(t,e){return t==null?void 0:t[e]}var so=no,co=oo,lo=so;function uo(t,e){var a=lo(t,e);return co(a)?a:void 0}var Ka=uo,po=Ka,ho=po(Object,"create"),Wt=ho,ta=Wt;function fo(){this.__data__=ta?ta(null):{},this.size=0}var wo=fo;function go(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var bo=go,vo=Wt,_o="__lodash_hash_undefined__",mo=Object.prototype,yo=mo.hasOwnProperty;function xo(t){var e=this.__data__;if(vo){var a=e[t];return a===_o?void 0:a}return yo.call(e,t)?e[t]:void 0}var ko=xo,$o=Wt,So=Object.prototype,Co=So.hasOwnProperty;function Eo(t){var e=this.__data__;return $o?e[t]!==void 0:Co.call(e,t)}var Po=Eo,Oo=Wt,Io="__lodash_hash_undefined__";function To(t,e){var a=this.__data__;return this.size+=this.has(t)?0:1,a[t]=Oo&&e===void 0?Io:e,this}var jo=To,zo=wo,Do=bo,Ao=ko,No=Po,Mo=jo;function ft(t){var e=-1,a=t==null?0:t.length;for(this.clear();++e<a;){var r=t[e];this.set(r[0],r[1])}}ft.prototype.clear=zo;ft.prototype.delete=Do;ft.prototype.get=Ao;ft.prototype.has=No;ft.prototype.set=Mo;var Fo=ft;function Lo(){this.__data__=[],this.size=0}var Ho=Lo;function Bo(t,e){return t===e||t!==t&&e!==e}var Ro=Bo,Uo=Ro;function Vo(t,e){for(var a=t.length;a--;)if(Uo(t[a][0],e))return a;return-1}var Gt=Vo,qo=Gt,Ko=Array.prototype,Wo=Ko.splice;function Go(t){var e=this.__data__,a=qo(e,t);if(a<0)return!1;var r=e.length-1;return a==r?e.pop():Wo.call(e,a,1),--this.size,!0}var Yo=Go,Xo=Gt;function Zo(t){var e=this.__data__,a=Xo(e,t);return a<0?void 0:e[a][1]}var Jo=Zo,Qo=Gt;function tn(t){return Qo(this.__data__,t)>-1}var en=tn,an=Gt;function rn(t,e){var a=this.__data__,r=an(a,t);return r<0?(++this.size,a.push([t,e])):a[r][1]=e,this}var on=rn,nn=Ho,sn=Yo,cn=Jo,ln=en,dn=on;function wt(t){var e=-1,a=t==null?0:t.length;for(this.clear();++e<a;){var r=t[e];this.set(r[0],r[1])}}wt.prototype.clear=nn;wt.prototype.delete=sn;wt.prototype.get=cn;wt.prototype.has=ln;wt.prototype.set=dn;var un=wt,pn=Ka,hn=Te,fn=pn(hn,"Map"),wn=fn,ea=Fo,gn=un,bn=wn;function vn(){this.size=0,this.__data__={hash:new ea,map:new(bn||gn),string:new ea}}var _n=vn;function mn(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var yn=mn,xn=yn;function kn(t,e){var a=t.__data__;return xn(e)?a[typeof e=="string"?"string":"hash"]:a.map}var Yt=kn,$n=Yt;function Sn(t){var e=$n(this,t).delete(t);return this.size-=e?1:0,e}var Cn=Sn,En=Yt;function Pn(t){return En(this,t).get(t)}var On=Pn,In=Yt;function Tn(t){return In(this,t).has(t)}var jn=Tn,zn=Yt;function Dn(t,e){var a=zn(this,t),r=a.size;return a.set(t,e),this.size+=a.size==r?0:1,this}var An=Dn,Nn=_n,Mn=Cn,Fn=On,Ln=jn,Hn=An;function gt(t){var e=-1,a=t==null?0:t.length;for(this.clear();++e<a;){var r=t[e];this.set(r[0],r[1])}}gt.prototype.clear=Nn;gt.prototype.delete=Mn;gt.prototype.get=Fn;gt.prototype.has=Ln;gt.prototype.set=Hn;var Bn=gt,Wa=Bn,Rn="Expected a function";function De(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(Rn);var a=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=a.cache;if(i.has(o))return i.get(o);var n=t.apply(this,r);return a.cache=i.set(o,n)||i,n};return a.cache=new(De.Cache||Wa),a}De.Cache=Wa;var Un=De,Vn=Un,qn=500;function Kn(t){var e=Vn(t,function(r){return a.size===qn&&a.clear(),r}),a=e.cache;return e}var Wn=Kn,Gn=Wn,Yn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xn=/\\(\\)?/g,Zn=Gn(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(Yn,function(a,r,o,i){e.push(o?i.replace(Xn,"$1"):r||a)}),e}),Jn=Zn;function Qn(t,e){for(var a=-1,r=t==null?0:t.length,o=Array(r);++a<r;)o[a]=e(t[a],a,t);return o}var ts=Qn,aa=je,es=ts,as=Ie,rs=ze,is=1/0,ra=aa?aa.prototype:void 0,ia=ra?ra.toString:void 0;function Ga(t){if(typeof t=="string")return t;if(as(t))return es(t,Ga)+"";if(rs(t))return ia?ia.call(t):"";var e=t+"";return e=="0"&&1/t==-is?"-0":e}var os=Ga,ns=os;function ss(t){return t==null?"":ns(t)}var cs=ss,ls=Ie,ds=Pi,us=Jn,ps=cs;function hs(t,e){return ls(t)?t:ds(t,e)?[t]:us(ps(t))}var fs=hs,ws=ze,gs=1/0;function bs(t){if(typeof t=="string"||ws(t))return t;var e=t+"";return e=="0"&&1/t==-gs?"-0":e}var vs=bs,_s=fs,ms=vs;function ys(t,e){e=_s(e,t);for(var a=0,r=e.length;t!=null&&a<r;)t=t[ms(e[a++])];return a&&a==r?t:void 0}var xs=ys,ks=xs;function $s(t,e,a){var r=t==null?void 0:ks(t,e);return r===void 0?a:r}var Ss=$s;const Ya=Ra(Ss);var Ot,w,Xa,Za,it,oa,Ja,he,Qa,lt={},tr=[],Cs=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xt=Array.isArray;function R(t,e){for(var a in e)t[a]=e[a];return t}function er(t){var e=t.parentNode;e&&e.removeChild(t)}function A(t,e,a){var r,o,i,n={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:n[i]=e[i];if(arguments.length>2&&(n.children=arguments.length>3?Ot.call(arguments,2):a),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)n[i]===void 0&&(n[i]=t.defaultProps[i]);return $t(t,n,r,o,null)}function $t(t,e,a,r,o){var i={type:t,props:e,key:a,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++Xa};return o==null&&w.vnode!=null&&w.vnode(i),i}function Es(){return{current:null}}function N(t){return t.children}function L(t,e){this.props=t,this.context=e}function Ht(t,e){if(e==null)return t.__?Ht(t.__,t.__.__k.indexOf(t)+1):null;for(var a;e<t.__k.length;e++)if((a=t.__k[e])!=null&&a.__e!=null)return a.__e;return typeof t.type=="function"?Ht(t):null}function ar(t){var e,a;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((a=t.__k[e])!=null&&a.__e!=null){t.__e=t.__c.base=a.__e;break}return ar(t)}}function fe(t){(!t.__d&&(t.__d=!0)&&it.push(t)&&!Bt.__r++||oa!==w.debounceRendering)&&((oa=w.debounceRendering)||Ja)(Bt)}function Bt(){var t,e,a,r,o,i,n,c,l;for(it.sort(he);t=it.shift();)t.__d&&(e=it.length,r=void 0,o=void 0,i=void 0,c=(n=(a=t).__v).__e,(l=a.__P)&&(r=[],o=[],(i=R({},n)).__v=n.__v+1,Ae(l,n,i,a.__n,l.ownerSVGElement!==void 0,n.__h!=null?[c]:null,r,c??Ht(n),n.__h,o),nr(r,n,o),n.__e!=c&&ar(n)),it.length>e&&it.sort(he));Bt.__r=0}function rr(t,e,a,r,o,i,n,c,l,d,u){var s,h,g,p,b,m,v,$,M,F,j=0,z=r&&r.__k||tr,tt=z.length,et=tt,O=e.length;for(a.__k=[],s=0;s<O;s++)(p=a.__k[s]=(p=e[s])==null||typeof p=="boolean"||typeof p=="function"?null:typeof p=="string"||typeof p=="number"||typeof p=="bigint"?$t(null,p,null,null,p):Xt(p)?$t(N,{children:p},null,null,null):p.__b>0?$t(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)!=null&&(p.__=a,p.__b=a.__b+1,($=Ps(p,z,v=s+j,et))===-1?g=lt:(g=z[$]||lt,z[$]=void 0,et--),Ae(t,p,g,o,i,n,c,l,d,u),b=p.__e,(h=p.ref)&&g.ref!=h&&(g.ref&&Ne(g.ref,null,p),u.push(h,p.__c||b,p)),b!=null&&(m==null&&(m=b),F=!(M=g===lt||g.__v===null)&&$===v,M?$==-1&&j--:$!==v&&($===v+1?(j++,F=!0):$>v?et>O-v?(j+=$-v,F=!0):j--:j=$<v&&$==v-1?$-v:0),v=s+j,F=F||$==s&&!M,typeof p.type!="function"||$===v&&g.__k!==p.__k?typeof p.type=="function"||F?p.__d!==void 0?(l=p.__d,p.__d=void 0):l=b.nextSibling:l=or(t,b,l):l=ir(p,l,t),typeof a.type=="function"&&(a.__d=l)));for(a.__e=m,s=tt;s--;)z[s]!=null&&(typeof a.type=="function"&&z[s].__e!=null&&z[s].__e==a.__d&&(a.__d=z[s].__e.nextSibling),sr(z[s],z[s]))}function ir(t,e,a){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e=typeof r.type=="function"?ir(r,e,a):or(a,r.__e,e));return e}function U(t,e){return e=e||[],t==null||typeof t=="boolean"||(Xt(t)?t.some(function(a){U(a,e)}):e.push(t)),e}function or(t,e,a){return a==null||a.parentNode!==t?t.insertBefore(e,null):e==a&&e.parentNode!=null||t.insertBefore(e,a),e.nextSibling}function Ps(t,e,a,r){var o=t.key,i=t.type,n=a-1,c=a+1,l=e[a];if(l===null||l&&o==l.key&&i===l.type)return a;if(r>(l!=null?1:0))for(;n>=0||c<e.length;){if(n>=0){if((l=e[n])&&o==l.key&&i===l.type)return n;n--}if(c<e.length){if((l=e[c])&&o==l.key&&i===l.type)return c;c++}}return-1}function Os(t,e,a,r,o){var i;for(i in a)i==="children"||i==="key"||i in e||Rt(t,i,null,a[i],r);for(i in e)o&&typeof e[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||a[i]===e[i]||Rt(t,i,e[i],a[i],r)}function na(t,e,a){e[0]==="-"?t.setProperty(e,a??""):t[e]=a==null?"":typeof a!="number"||Cs.test(e)?a:a+"px"}function Rt(t,e,a,r,o){var i;t:if(e==="style")if(typeof a=="string")t.style.cssText=a;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)a&&e in a||na(t.style,e,"");if(a)for(e in a)r&&a[e]===r[e]||na(t.style,e,a[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=a,a?r||t.addEventListener(e,i?ca:sa,i):t.removeEventListener(e,i?ca:sa,i);else if(e!=="dangerouslySetInnerHTML"){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e in t)try{t[e]=a??"";break t}catch{}typeof a=="function"||(a==null||a===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,a))}}function sa(t){return this.l[t.type+!1](w.event?w.event(t):t)}function ca(t){return this.l[t.type+!0](w.event?w.event(t):t)}function Ae(t,e,a,r,o,i,n,c,l,d){var u,s,h,g,p,b,m,v,$,M,F,j,z,tt,et,O=e.type;if(e.constructor!==void 0)return null;a.__h!=null&&(l=a.__h,c=e.__e=a.__e,e.__h=null,i=[c]),(u=w.__b)&&u(e);try{t:if(typeof O=="function"){if(v=e.props,$=(u=O.contextType)&&r[u.__c],M=u?$?$.props.value:u.__:r,a.__c?m=(s=e.__c=a.__c).__=s.__E:("prototype"in O&&O.prototype.render?e.__c=s=new O(v,M):(e.__c=s=new L(v,M),s.constructor=O,s.render=Ts),$&&$.sub(s),s.props=v,s.state||(s.state={}),s.context=M,s.__n=r,h=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),O.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=R({},s.__s)),R(s.__s,O.getDerivedStateFromProps(v,s.__s))),g=s.props,p=s.state,s.__v=e,h)O.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(O.getDerivedStateFromProps==null&&v!==g&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(v,M),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(v,s.__s,M)===!1||e.__v===a.__v)){for(e.__v!==a.__v&&(s.props=v,s.state=s.__s,s.__d=!1),e.__e=a.__e,e.__k=a.__k,e.__k.forEach(function(jt){jt&&(jt.__=e)}),F=0;F<s._sb.length;F++)s.__h.push(s._sb[F]);s._sb=[],s.__h.length&&n.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(v,s.__s,M),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(g,p,b)})}if(s.context=M,s.props=v,s.__P=t,s.__e=!1,j=w.__r,z=0,"prototype"in O&&O.prototype.render){for(s.state=s.__s,s.__d=!1,j&&j(e),u=s.render(s.props,s.state,s.context),tt=0;tt<s._sb.length;tt++)s.__h.push(s._sb[tt]);s._sb=[]}else do s.__d=!1,j&&j(e),u=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++z<25);s.state=s.__s,s.getChildContext!=null&&(r=R(R({},r),s.getChildContext())),h||s.getSnapshotBeforeUpdate==null||(b=s.getSnapshotBeforeUpdate(g,p)),rr(t,Xt(et=u!=null&&u.type===N&&u.key==null?u.props.children:u)?et:[et],e,a,r,o,i,n,c,l,d),s.base=e.__e,e.__h=null,s.__h.length&&n.push(s),m&&(s.__E=s.__=null)}else i==null&&e.__v===a.__v?(e.__k=a.__k,e.__e=a.__e):e.__e=Is(a.__e,e,a,r,o,i,n,l,d);(u=w.diffed)&&u(e)}catch(jt){e.__v=null,(l||i!=null)&&(e.__e=c,e.__h=!!l,i[i.indexOf(c)]=null),w.__e(jt,e,a)}}function nr(t,e,a){for(var r=0;r<a.length;r++)Ne(a[r],a[++r],a[++r]);w.__c&&w.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){w.__e(i,o.__v)}})}function Is(t,e,a,r,o,i,n,c,l){var d,u,s,h=a.props,g=e.props,p=e.type,b=0;if(p==="svg"&&(o=!0),i!=null){for(;b<i.length;b++)if((d=i[b])&&"setAttribute"in d==!!p&&(p?d.localName===p:d.nodeType===3)){t=d,i[b]=null;break}}if(t==null){if(p===null)return document.createTextNode(g);t=o?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,g.is&&g),i=null,c=!1}if(p===null)h===g||c&&t.data===g||(t.data=g);else{if(i=i&&Ot.call(t.childNodes),u=(h=a.props||lt).dangerouslySetInnerHTML,s=g.dangerouslySetInnerHTML,!c){if(i!=null)for(h={},b=0;b<t.attributes.length;b++)h[t.attributes[b].name]=t.attributes[b].value;(s||u)&&(s&&(u&&s.__html==u.__html||s.__html===t.innerHTML)||(t.innerHTML=s&&s.__html||""))}if(Os(t,g,h,o,c),s)e.__k=[];else if(rr(t,Xt(b=e.props.children)?b:[b],e,a,r,o&&p!=="foreignObject",i,n,i?i[0]:a.__k&&Ht(a,0),c,l),i!=null)for(b=i.length;b--;)i[b]!=null&&er(i[b]);c||("value"in g&&(b=g.value)!==void 0&&(b!==t.value||p==="progress"&&!b||p==="option"&&b!==h.value)&&Rt(t,"value",b,h.value,!1),"checked"in g&&(b=g.checked)!==void 0&&b!==t.checked&&Rt(t,"checked",b,h.checked,!1))}return t}function Ne(t,e,a){try{typeof t=="function"?t(e):t.current=e}catch(r){w.__e(r,a)}}function sr(t,e,a){var r,o;if(w.unmount&&w.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ne(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){w.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&sr(r[o],e,a||typeof t.type!="function");a||t.__e==null||er(t.__e),t.__=t.__e=t.__d=void 0}function Ts(t,e,a){return this.constructor(t,a)}function ut(t,e,a){var r,o,i,n;w.__&&w.__(t,e),o=(r=typeof a=="function")?null:a&&a.__k||e.__k,i=[],n=[],Ae(e,t=(!r&&a||e).__k=A(N,null,[t]),o||lt,lt,e.ownerSVGElement!==void 0,!r&&a?[a]:o?null:e.firstChild?Ot.call(e.childNodes):null,i,!r&&a?a:o?o.__e:e.firstChild,r,n),nr(i,t,n)}function cr(t,e){ut(t,e,cr)}function js(t,e,a){var r,o,i,n,c=R({},t.props);for(i in t.type&&t.type.defaultProps&&(n=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:c[i]=e[i]===void 0&&n!==void 0?n[i]:e[i];return arguments.length>2&&(c.children=arguments.length>3?Ot.call(arguments,2):a),$t(t.type,c,r||t.key,o||t.ref,null)}function lr(t,e){var a={__c:e="__cC"+Qa++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&o.some(function(c){c.__e=!0,fe(c)})},this.sub=function(n){o.push(n);var c=n.componentWillUnmount;n.componentWillUnmount=function(){o.splice(o.indexOf(n),1),c&&c.call(n)}}),r.children}};return a.Provider.__=a.Consumer.contextType=a}Ot=tr.slice,w={__e:function(t,e,a,r){for(var o,i,n;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),n=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),n=o.__d),n)return o.__E=o}catch(c){t=c}throw t}},Xa=0,Za=function(t){return t!=null&&t.constructor===void 0},L.prototype.setState=function(t,e){var a;a=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=R({},this.state),typeof t=="function"&&(t=t(R({},a),this.props)),t&&R(a,t),t!=null&&this.__v&&(e&&this._sb.push(e),fe(this))},L.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),fe(this))},L.prototype.render=N,it=[],Ja=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,he=function(t,e){return t.__v.__b-e.__v.__b},Bt.__r=0,Qa=0;var Zt=class extends Error{constructor(e){super(e[0].message);Ye(this,"issues");this.name="ValiError",this.issues=e}};function dr(t,e){return{...t,_parse(a,r){return t._parse(e(a),r)}}}function It(t){return{issues:t}}function I(t){return{output:t}}function zs(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,path:e.path,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Ds(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Z(t,e,a,r){if(!e||!e.length||a!=null&&a.skipPipe)return I(t);let o,i,n=t;for(const c of e){const l=c._parse(n);if(l.issues){o=o||Ds(a,r);for(const d of l.issues){const u=zs(o,d);i?i.push(u):i=[u]}if(o.abortEarly||o.abortPipeEarly)break}else n=l.output}return i?It(i):I(n)}function Y(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function ur(t){return typeof t=="function"?t():t}function J(t,e,a,r){return It([{validation:t,message:ur(e),input:a,requirement:r}])}function pr(t,e,a){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,n]=Y(e,a);return[t,i,n]}const[r,o]=Y(t,e);return[void 0,r,o]}function V(t,e,a,r,o,i){return{issues:[{reason:e,validation:a,origin:(t==null?void 0:t.origin)||"value",message:ur(r),input:o,issues:i,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function hr(t){return typeof t.default=="function"?t.default():t.default}function As(t){return{type:"any",async:!1,pipe:t,_parse(e,a){return Z(e,this.pipe,a,"any")}}}function fr(t,e,a){const[r="Invalid type",o]=Y(e,a);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,n){if(!Array.isArray(i))return V(n,"type","array",this.message,i);let c;const l=[];for(let d=0;d<i.length;d++){const u=i[d],s=this.item._parse(u,n);if(s.issues){const h={type:"array",input:i,key:d,value:u};for(const g of s.issues)g.path?g.path.unshift(h):g.path=[h],c==null||c.push(g);if(c||(c=s.issues),n!=null&&n.abortEarly)break}else l.push(s.output)}return c?It(c):Z(l,this.pipe,n,"array")}}}function wr(t,e){const[a="Invalid type",r]=Y(t,e);return{type:"boolean",async:!1,message:a,pipe:r,_parse(o,i){return typeof o!="boolean"?V(i,"type","boolean",this.message,o):Z(o,this.pipe,i,"boolean")}}}function la(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(a,r){return a!==this.literal?V(r,"type","literal",this.message,a):I(a)}}}function Ns(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(a,r){if(a===null){const o=hr(this);if(o===void 0)return I(a);a=o}return this.wrapped._parse(a,r)}}}function we(t,e){const[a="Invalid type",r]=Y(t,e);return{type:"number",async:!1,message:a,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?V(i,"type","number",this.message,o):Z(o,this.pipe,i,"number")}}}function G(t,e,a,r){const[o,i="Invalid type",n]=pr(e,a,r);let c;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:n,_parse(l,d){if(!l||typeof l!="object")return V(d,"type","object",this.message,l);c=c||Object.entries(this.entries);let u;const s={};for(const[h,g]of c){const p=l[h],b=g._parse(p,d);if(b.issues){const m={type:"object",input:l,key:h,value:p};for(const v of b.issues)v.path?v.path.unshift(m):v.path=[m],u==null||u.push(v);if(u||(u=b.issues),d!=null&&d.abortEarly)break}else(b.output!==void 0||h in l)&&(s[h]=b.output)}if(this.rest&&!(d!=null&&d.abortEarly&&u)){for(const h in l)if(!(h in this.entries)){const g=l[h],p=this.rest._parse(g,d);if(p.issues){const b={type:"object",input:l,key:h,value:g};for(const m of p.issues)m.path?m.path.unshift(b):m.path=[b],u==null||u.push(m);if(u||(u=p.issues),d!=null&&d.abortEarly)break}else s[h]=p.output}}return u?It(u):Z(s,this.pipe,d,"object")}}}function Me(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(a,r){if(a===void 0){const o=hr(this);if(o===void 0)return I(a);a=o}return this.wrapped._parse(a,r)}}}function Ms(t,e="Invalid type"){return{type:"picklist",async:!1,options:t,message:e,_parse(a,r){return this.options.includes(a)?I(a):V(r,"type","picklist",this.message,a)}}}function nt(t,e){const[a="Invalid type",r]=Y(t,e);return{type:"string",async:!1,message:a,pipe:r,_parse(o,i){return typeof o!="string"?V(i,"type","string",this.message,o):Z(o,this.pipe,i,"string")}}}function Fs(t,e,a,r){if(typeof e=="object"&&!Array.isArray(e)){const[n,c]=Y(a,r);return[t,e,n,c]}const[o,i]=Y(e,a);return[nt(),t,o,i]}var Ls=["__proto__","prototype","constructor"];function gr(t,e,a,r){const[o,i,n="Invalid type",c]=Fs(t,e,a,r);return{type:"record",async:!1,key:o,value:i,message:n,pipe:c,_parse(l,d){if(!l||typeof l!="object")return V(d,"type","record",this.message,l);let u;const s={};for(const[h,g]of Object.entries(l))if(!Ls.includes(h)){let p;const b=this.key._parse(h,{origin:"key",abortEarly:d==null?void 0:d.abortEarly,abortPipeEarly:d==null?void 0:d.abortPipeEarly,skipPipe:d==null?void 0:d.skipPipe});if(b.issues){p={type:"record",input:l,key:h,value:g};for(const v of b.issues)v.path=[p],u==null||u.push(v);if(u||(u=b.issues),d!=null&&d.abortEarly)break}const m=this.value._parse(g,d);if(m.issues){p=p||{type:"record",input:l,key:h,value:g};for(const v of m.issues)v.path?v.path.unshift(p):v.path=[p],u==null||u.push(v);if(u||(u=m.issues),d!=null&&d.abortEarly)break}!b.issues&&!m.issues&&(s[b.output]=m.output)}return u?It(u):Z(s,this.pipe,d,"record")}}}function Hs(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(a,r){let o,i;for(const n of this.options){const c=n._parse(a,r);if(c.issues)if(o)for(const l of c.issues)o.push(l);else o=c.issues;else{i=[c.output];break}}return i?I(i[0]):V(r,"type","union",this.message,a,o)}}}function ge(t,e,a){const r=t._parse(e,a);if(r.issues)throw new Zt(r.issues);return r.output}async function Bs(t,e,a){const r=await t._parse(e,a);if(r.issues)throw new Zt(r.issues);return r.output}function Rs(t,e,a,r){const[o,i,n]=pr(e,a,r);return G(Object.entries(t.entries).reduce((c,[l,d])=>({...c,[l]:Me(d)}),{}),o,i,n)}function Us(t,e,a){const r=t._parse(e,a);return r.issues?{success:!1,error:new Zt(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function Vs(t,e,a){return{...t,_parse(r,o){const i=t._parse(r,o);if(i.issues)return i;const n=e(i.output);return a&&!Array.isArray(a)?a._parse(n,o):Z(n,a,o,typeof n)}}}var qs=/^[\w+-]+(?:\.[\w+-]+)*@[\da-z]+(?:[.-][\da-z]+)*\.[a-z]{2,}$/iu;function Ks(t,e="Invalid input"){return{type:"custom",async:!1,message:e,requirement:t,_parse(a){return this.requirement(a)?I(a):J(this.type,this.message,a,this.requirement)}}}function Ws(t="Invalid email"){return{type:"email",async:!1,message:t,requirement:qs,_parse(e){return this.requirement.test(e)?I(e):J(this.type,this.message,e,this.requirement)}}}function Gs(t,e="Invalid length"){return{type:"max_length",async:!1,message:e,requirement:t,_parse(a){return a.length>this.requirement?J(this.type,this.message,a,this.requirement):I(a)}}}function Ys(t,e="Invalid value"){return{type:"max_value",async:!1,message:e,requirement:t,_parse(a){return a>this.requirement?J(this.type,this.message,a,this.requirement):I(a)}}}function Xs(t,e="Invalid length"){return{type:"min_length",async:!1,message:e,requirement:t,_parse(a){return a.length<this.requirement?J(this.type,this.message,a,this.requirement):I(a)}}}function Zs(t,e="Invalid value"){return{type:"min_value",async:!1,message:e,requirement:t,_parse(a){return a<this.requirement?J(this.type,this.message,a,this.requirement):I(a)}}}function Js(t,e="Invalid regex"){return{type:"regex",async:!1,message:e,requirement:t,_parse(a){return this.requirement.test(a)?I(a):J(this.type,this.message,a,this.requirement)}}}function Qs(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?I(e):J(this.type,this.message,e,this.requirement)}}}function br(t){var e,a,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(a=br(t[e]))&&(r&&(r+=" "),r+=a);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Fe(){for(var t,e,a=0,r="";a<arguments.length;)(t=arguments[a++])&&(e=br(t))&&(r&&(r+=" "),r+=e);return r}const da=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,ua=Fe,vr=(t,e)=>a=>{var r;if((e==null?void 0:e.variants)==null)return ua(t,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:o,defaultVariants:i}=e,n=Object.keys(o).map(d=>{const u=a==null?void 0:a[d],s=i==null?void 0:i[d];if(u===null)return null;const h=da(u)||da(s);return o[d][h]}),c=a&&Object.entries(a).reduce((d,u)=>{let[s,h]=u;return h===void 0||(d[s]=h),d},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:s,className:h,...g}=u;return Object.entries(g).every(p=>{let[b,m]=p;return Array.isArray(m)?m.includes({...i,...c}[b]):{...i,...c}[b]===m})?[...d,s,h]:d},[]);return ua(t,n,l,a==null?void 0:a.class,a==null?void 0:a.className)};var X,y,re,pa,pt=0,_r=[],Nt=[],ha=w.__b,fa=w.__r,wa=w.diffed,ga=w.__c,ba=w.unmount;function bt(t,e){w.__h&&w.__h(y,t,pt||e),pt=0;var a=y.__H||(y.__H={__:[],__h:[]});return t>=a.__.length&&a.__.push({__V:Nt}),a.__[t]}function Le(t){return pt=1,mr(xr,t)}function mr(t,e,a){var r=bt(X++,2);if(r.t=t,!r.__c&&(r.__=[a?a(e):xr(void 0,e),function(c){var l=r.__N?r.__N[0]:r.__[0],d=r.t(l,c);l!==d&&(r.__N=[d,r.__[1]],r.__c.setState({}))}],r.__c=y,!y.u)){var o=function(c,l,d){if(!r.__c.__H)return!0;var u=r.__c.__H.__.filter(function(h){return h.__c});if(u.every(function(h){return!h.__N}))return!i||i.call(this,c,l,d);var s=!1;return u.forEach(function(h){if(h.__N){var g=h.__[0];h.__=h.__N,h.__N=void 0,g!==h.__[0]&&(s=!0)}}),!(!s&&r.__c.props===c)&&(!i||i.call(this,c,l,d))};y.u=!0;var i=y.shouldComponentUpdate,n=y.componentWillUpdate;y.componentWillUpdate=function(c,l,d){if(this.__e){var u=i;i=void 0,o(c,l,d),i=u}n&&n.call(this,c,l,d)},y.shouldComponentUpdate=o}return r.__N||r.__}function He(t,e){var a=bt(X++,3);!w.__s&&Be(a.__H,e)&&(a.__=t,a.i=e,y.__H.__h.push(a))}function vt(t,e){var a=bt(X++,4);!w.__s&&Be(a.__H,e)&&(a.__=t,a.i=e,y.__h.push(a))}function Jt(t){return pt=5,ct(function(){return{current:t}},[])}function tc(t,e,a){pt=6,vt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},a==null?a:a.concat(t))}function ct(t,e){var a=bt(X++,7);return Be(a.__H,e)?(a.__V=t(),a.i=e,a.__h=t,a.__V):a.__}function ec(t,e){return pt=8,ct(function(){return t},e)}function yr(t){var e=y.context[t.__c],a=bt(X++,9);return a.c=t,e?(a.__==null&&(a.__=!0,e.sub(y)),e.props.value):t.__}function ac(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function rc(){var t=bt(X++,11);if(!t.__){for(var e=y.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var a=e.__m||(e.__m=[0,0]);t.__="P"+a[0]+"-"+a[1]++}return t.__}function ic(){for(var t;t=_r.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Mt),t.__H.__h.forEach(be),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){y=null,ha&&ha(t)},w.__r=function(t){fa&&fa(t),X=0;var e=(y=t.__c).__H;e&&(re===y?(e.__h=[],y.__h=[],e.__.forEach(function(a){a.__N&&(a.__=a.__N),a.__V=Nt,a.__N=a.i=void 0})):(e.__h.forEach(Mt),e.__h.forEach(be),e.__h=[],X=0)),re=y},w.diffed=function(t){wa&&wa(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(_r.push(e)!==1&&pa===w.requestAnimationFrame||((pa=w.requestAnimationFrame)||oc)(ic)),e.__H.__.forEach(function(a){a.i&&(a.__H=a.i),a.__V!==Nt&&(a.__=a.__V),a.i=void 0,a.__V=Nt})),re=y=null},w.__c=function(t,e){e.some(function(a){try{a.__h.forEach(Mt),a.__h=a.__h.filter(function(r){return!r.__||be(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],w.__e(r,a.__v)}}),ga&&ga(t,e)},w.unmount=function(t){ba&&ba(t);var e,a=t.__c;a&&a.__H&&(a.__H.__.forEach(function(r){try{Mt(r)}catch(o){e=o}}),a.__H=void 0,e&&w.__e(e,a.__v))};var va=typeof requestAnimationFrame=="function";function oc(t){var e,a=function(){clearTimeout(r),va&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(a,100);va&&(e=requestAnimationFrame(a))}function Mt(t){var e=y,a=t.__c;typeof a=="function"&&(t.__c=void 0,a()),y=e}function be(t){var e=y;t.__c=t.__(),y=e}function Be(t,e){return!t||t.length!==e.length||e.some(function(a,r){return a!==t[r]})}function xr(t,e){return typeof e=="function"?e(t):e}function kr(t,e){for(var a in e)t[a]=e[a];return t}function ve(t,e){for(var a in t)if(a!=="__source"&&!(a in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function ie(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function _e(t){this.props=t}function nc(t,e){function a(o){var i=this.props.ref,n=i==o.ref;return!n&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!n:ve(this.props,o)}function r(o){return this.shouldComponentUpdate=a,A(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(_e.prototype=new L).isPureReactComponent=!0,_e.prototype.shouldComponentUpdate=function(t,e){return ve(this.props,t)||ve(this.state,e)};var _a=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),_a&&_a(t)};var sc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function $r(t){function e(a){var r=kr({},a);return delete r.ref,t(r,a.ref||null)}return e.$$typeof=sc,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var ma=function(t,e){return t==null?null:U(U(t).map(e))},cc={map:ma,forEach:ma,count:function(t){return t?U(t).length:0},only:function(t){var e=U(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:U},lc=w.__e;w.__e=function(t,e,a,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=a.__e,e.__k=a.__k),o.__c(t,e)}lc(t,e,a,r)};var ya=w.unmount;function Sr(t,e,a){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=kr({},t)).__c!=null&&(t.__c.__P===a&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Sr(r,e,a)})),t}function Cr(t,e,a){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Cr(r,e,a)}),t.__c&&t.__c.__P===e&&(t.__e&&a.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=a)),t}function St(){this.__u=0,this.t=null,this.__b=null}function Er(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Pr(t){var e,a,r;function o(i){if(e||(e=t()).then(function(n){a=n.default||n},function(n){r=n}),r)throw r;if(!a)throw e;return A(a,i)}return o.displayName="Lazy",o.__f=!0,o}function xt(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),ya&&ya(t)},(St.prototype=new L).__c=function(t,e){var a=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(a);var o=Er(r.__v),i=!1,n=function(){i||(i=!0,a.__R=null,o?o(c):c())};a.__R=n;var c=function(){if(!--r.__u){if(r.state.__a){var d=r.state.__a;r.__v.__k[0]=Cr(d,d.__c.__P,d.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}},l=e.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(n,n)},St.prototype.componentWillUnmount=function(){this.t=[]},St.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var a=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Sr(this.__b,a,r.__O=r.__P)}this.__b=null}var o=e.__a&&A(N,null,t.fallback);return o&&(o.__h=null),[A(N,null,e.__a?null:t.children),o]};var xa=function(t,e,a){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;){for(;a.length>3;)a.pop()();if(a[1]<a[0])break;t.u=a=a[2]}};function dc(t){return this.getChildContext=function(){return t.context},t.children}function uc(t){var e=this,a=t.i;e.componentWillUnmount=function(){ut(null,e.l),e.l=null,e.i=null},e.i&&e.i!==a&&e.componentWillUnmount(),t.__v?(e.l||(e.i=a,e.l={nodeType:1,parentNode:a,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),ut(A(dc,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function pc(t,e){var a=A(uc,{__v:t,i:e});return a.containerInfo=e,a}(xt.prototype=new L).__a=function(t){var e=this,a=Er(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),xa(e,t,r)):o()};a?a(i):i()}},xt.prototype.render=function(t){this.u=null,this.o=new Map;var e=U(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var a=e.length;a--;)this.o.set(e[a],this.u=[1,0,this.u]);return t.children},xt.prototype.componentDidUpdate=xt.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,a){xa(t,a,e)})};var Or=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,hc=/^(?: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]/,fc=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,wc=/[A-Z0-9]/g,gc=typeof document<"u",bc=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function vc(t,e,a){return e.__k==null&&(e.textContent=""),ut(t,e),typeof a=="function"&&a(),t?t.__c:null}function _c(t,e,a){return cr(t,e),typeof a=="function"&&a(),t?t.__c:null}L.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(L.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var ka=w.event;function mc(){}function yc(){return this.cancelBubble}function xc(){return this.defaultPrevented}w.event=function(t){return ka&&(t=ka(t)),t.persist=mc,t.isPropagationStopped=yc,t.isDefaultPrevented=xc,t.nativeEvent=t};var Re,kc={enumerable:!1,configurable:!0,get:function(){return this.class}},$a=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var a=e.props,r=e.type,o={};for(var i in a){var n=a[i];if(!(i==="value"&&"defaultValue"in a&&n==null||gc&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in a&&a.value==null?i="value":i==="download"&&n===!0?n="":c==="ondoubleclick"?i="ondblclick":c!=="onchange"||r!=="input"&&r!=="textarea"||bc(a.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":fc.test(i)?i=c:r.indexOf("-")===-1&&hc.test(i)?i=i.replace(wc,"-$&").toLowerCase():n===null&&(n=void 0):c=i="oninput",c==="oninput"&&o[i=c]&&(i="oninputCapture"),o[i]=n}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=U(a.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=U(a.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),a.class&&!a.className?(o.class=a.class,Object.defineProperty(o,"className",kc)):(a.className&&!a.class||a.class&&a.className)&&(o.class=o.className=a.className),e.props=o}(t),t.$$typeof=Or,$a&&$a(t)};var Sa=w.__r;w.__r=function(t){Sa&&Sa(t),Re=t.__c};var Ca=w.diffed;w.diffed=function(t){Ca&&Ca(t);var e=t.props,a=t.__e;a!=null&&t.type==="textarea"&&"value"in e&&e.value!==a.value&&(a.value=e.value==null?"":e.value),Re=null};var $c={ReactCurrentDispatcher:{current:{readContext:function(t){return Re.__n[t.__c].props.value}}}};function Sc(t){return A.bind(null,t)}function Ir(t){return!!t&&t.$$typeof===Or}function Cc(t){return Ir(t)?js.apply(null,arguments):t}function Ec(t){return!!t.__k&&(ut(null,t),!0)}function Pc(t){return t&&(t.base||t.nodeType===1&&t)||null}var Oc=function(t,e){return t(e)},Ic=function(t,e){return t(e)},Tc=N;function Tr(t){t()}function jc(t){return t}function zc(){return[!1,Tr]}var Dc=vt;function Ac(t,e){var a=e(),r=Le({h:{__:a,v:e}}),o=r[0].h,i=r[1];return vt(function(){o.__=a,o.v=e,ie(o.__,e())||i({h:o})},[t,a,e]),He(function(){return ie(o.__,o.v())||i({h:o}),t(function(){ie(o.__,o.v())||i({h:o})})},[t]),a}var Nc={useState:Le,useId:rc,useReducer:mr,useEffect:He,useLayoutEffect:vt,useInsertionEffect:Dc,useTransition:zc,useDeferredValue:jc,useSyncExternalStore:Ac,startTransition:Tr,useRef:Jt,useImperativeHandle:tc,useMemo:ct,useCallback:ec,useContext:yr,useDebugValue:ac,version:"17.0.2",Children:cc,render:vc,hydrate:_c,unmountComponentAtNode:Ec,createPortal:pc,createElement:A,createContext:lr,createFactory:Sc,cloneElement:Cc,createRef:Es,Fragment:N,isValidElement:Ir,findDOMNode:Pc,Component:L,PureComponent:_e,memo:nc,forwardRef:$r,flushSync:Ic,unstable_batchedUpdates:Oc,StrictMode:Tc,Suspense:St,SuspenseList:xt,lazy:Pr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:$c};const T=Symbol.for("@ts-pattern/matcher"),jr=Symbol.for("@ts-pattern/isVariadic"),Ut="@ts-pattern/anonymous-select-key",me=t=>!!(t&&typeof t=="object"),Ft=t=>t&&!!t[T],C=(t,e,a)=>{if(Ft(t)){const r=t[T](),{matched:o,selections:i}=r.match(e);return o&&i&&Object.keys(i).forEach(n=>a(n,i[n])),o}if(me(t)){if(!me(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let r=[],o=[],i=[];for(const n of t.keys()){const c=t[n];Ft(c)&&c[jr]?i.push(c):i.length?o.push(c):r.push(c)}if(i.length){if(i.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<r.length+o.length)return!1;const n=e.slice(0,r.length),c=o.length===0?[]:e.slice(-o.length),l=e.slice(r.length,o.length===0?1/0:-o.length);return r.every((d,u)=>C(d,n[u],a))&&o.every((d,u)=>C(d,c[u],a))&&(i.length===0||C(i[0],l,a))}return t.length===e.length&&t.every((n,c)=>C(n,e[c],a))}return Object.keys(t).every(r=>{const o=t[r];return(r in e||Ft(i=o)&&i[T]().matcherType==="optional")&&C(o,e[r],a);var i})}return Object.is(e,t)},D=t=>{var e,a,r;return me(t)?Ft(t)?(e=(a=(r=t[T]()).getSelectionKeys)==null?void 0:a.call(r))!=null?e:[]:Array.isArray(t)?Et(t,D):Et(Object.values(t),D):[]},Et=(t,e)=>t.reduce((a,r)=>a.concat(e(r)),[]);function Mc(...t){if(t.length===1){const[e]=t;return a=>C(e,a,()=>{})}if(t.length===2){const[e,a]=t;return C(e,a,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function P(t){return Object.assign(t,{optional:()=>Ue(t),and:e=>x(t,e),or:e=>zr(t,e),select:e=>e===void 0?Pt(t):Pt(e,t)})}function ye(t){return Object.assign((e=>Object.assign(e,{*[Symbol.iterator](){yield Object.assign(e,{[jr]:!0})}}))(t),{optional:()=>ye(Ue(t)),select:e=>ye(e===void 0?Pt(t):Pt(e,t))})}function Ue(t){return P({[T]:()=>({match:e=>{let a={};const r=(o,i)=>{a[o]=i};return e===void 0?(D(t).forEach(o=>r(o,void 0)),{matched:!0,selections:a}):{matched:C(t,e,r),selections:a}},getSelectionKeys:()=>D(t),matcherType:"optional"})})}const Fc=(t,e)=>{for(const a of t)if(!e(a))return!1;return!0},Lc=(t,e)=>{for(const[a,r]of t.entries())if(!e(r,a))return!1;return!0};function x(...t){return P({[T]:()=>({match:e=>{let a={};const r=(o,i)=>{a[o]=i};return{matched:t.every(o=>C(o,e,r)),selections:a}},getSelectionKeys:()=>Et(t,D),matcherType:"and"})})}function zr(...t){return P({[T]:()=>({match:e=>{let a={};const r=(o,i)=>{a[o]=i};return Et(t,D).forEach(o=>r(o,void 0)),{matched:t.some(o=>C(o,e,r)),selections:a}},getSelectionKeys:()=>Et(t,D),matcherType:"or"})})}function _(t){return{[T]:()=>({match:e=>({matched:!!t(e)})})}}function Pt(...t){const e=typeof t[0]=="string"?t[0]:void 0,a=t.length===2?t[1]:typeof t[0]=="string"?void 0:t[0];return P({[T]:()=>({match:r=>{let o={[e??Ut]:r};return{matched:a===void 0||C(a,r,(i,n)=>{o[i]=n}),selections:o}},getSelectionKeys:()=>[e??Ut].concat(a===void 0?[]:D(a))})})}function H(t){return typeof t=="number"}function at(t){return typeof t=="string"}function q(t){return typeof t=="bigint"}const Dr=P(_(function(t){return!0})),Hc=Dr,rt=t=>Object.assign(P(t),{startsWith:e=>{return rt(x(t,(a=e,_(r=>at(r)&&r.startsWith(a)))));var a},endsWith:e=>{return rt(x(t,(a=e,_(r=>at(r)&&r.endsWith(a)))));var a},minLength:e=>rt(x(t,(a=>_(r=>at(r)&&r.length>=a))(e))),maxLength:e=>rt(x(t,(a=>_(r=>at(r)&&r.length<=a))(e))),includes:e=>{return rt(x(t,(a=e,_(r=>at(r)&&r.includes(a)))));var a},regex:e=>{return rt(x(t,(a=e,_(r=>at(r)&&!!r.match(a)))));var a}}),Bc=rt(_(at)),B=t=>Object.assign(P(t),{between:(e,a)=>B(x(t,((r,o)=>_(i=>H(i)&&r<=i&&o>=i))(e,a))),lt:e=>B(x(t,(a=>_(r=>H(r)&&r<a))(e))),gt:e=>B(x(t,(a=>_(r=>H(r)&&r>a))(e))),lte:e=>B(x(t,(a=>_(r=>H(r)&&r<=a))(e))),gte:e=>B(x(t,(a=>_(r=>H(r)&&r>=a))(e))),int:()=>B(x(t,_(e=>H(e)&&Number.isInteger(e)))),finite:()=>B(x(t,_(e=>H(e)&&Number.isFinite(e)))),positive:()=>B(x(t,_(e=>H(e)&&e>0))),negative:()=>B(x(t,_(e=>H(e)&&e<0)))}),Rc=B(_(H)),K=t=>Object.assign(P(t),{between:(e,a)=>K(x(t,((r,o)=>_(i=>q(i)&&r<=i&&o>=i))(e,a))),lt:e=>K(x(t,(a=>_(r=>q(r)&&r<a))(e))),gt:e=>K(x(t,(a=>_(r=>q(r)&&r>a))(e))),lte:e=>K(x(t,(a=>_(r=>q(r)&&r<=a))(e))),gte:e=>K(x(t,(a=>_(r=>q(r)&&r>=a))(e))),positive:()=>K(x(t,_(e=>q(e)&&e>0))),negative:()=>K(x(t,_(e=>q(e)&&e<0)))}),Uc=K(_(q)),Vc=P(_(function(t){return typeof t=="boolean"})),qc=P(_(function(t){return typeof t=="symbol"})),Kc=P(_(function(t){return t==null}));var ot={__proto__:null,matcher:T,optional:Ue,array:function(...t){return ye({[T]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const a=t[0];let r={};if(e.length===0)return D(a).forEach(i=>{r[i]=[]}),{matched:!0,selections:r};const o=(i,n)=>{r[i]=(r[i]||[]).concat([n])};return{matched:e.every(i=>C(a,i,o)),selections:r}},getSelectionKeys:()=>t.length===0?[]:D(t[0])})})},set:function(...t){return P({[T]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let a={};if(e.size===0)return{matched:!0,selections:a};if(t.length===0)return{matched:!0};const r=(i,n)=>{a[i]=(a[i]||[]).concat([n])},o=t[0];return{matched:Fc(e,i=>C(o,i,r)),selections:a}},getSelectionKeys:()=>t.length===0?[]:D(t[0])})})},map:function(...t){return P({[T]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let a={};if(e.size===0)return{matched:!0,selections:a};const r=(c,l)=>{a[c]=(a[c]||[]).concat([l])};if(t.length===0)return{matched:!0};var o;if(t.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(o=t[0])==null?void 0:o.toString()}`);const[i,n]=t;return{matched:Lc(e,(c,l)=>{const d=C(i,l,r),u=C(n,c,r);return d&&u}),selections:a}},getSelectionKeys:()=>t.length===0?[]:[...D(t[0]),...D(t[1])]})})},intersection:x,union:zr,not:function(t){return P({[T]:()=>({match:e=>({matched:!C(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:_,select:Pt,any:Dr,_:Hc,string:Bc,number:Rc,bigint:Uc,boolean:Vc,symbol:qc,nullish:Kc,instanceOf:function(t){return P(_(function(e){return a=>a instanceof e}(t)))},shape:function(t){return P(_(Mc(t)))}};const xe={matched:!1,value:void 0};function Qt(t){return new Vt(t,xe)}class Vt{constructor(e,a){this.input=void 0,this.state=void 0,this.input=e,this.state=a}with(...e){if(this.state.matched)return this;const a=e[e.length-1],r=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&r.push(...e.slice(1,e.length-1));let i=!1,n={};const c=(d,u)=>{i=!0,n[d]=u},l=!r.some(d=>C(d,this.input,c))||o&&!o(this.input)?xe:{matched:!0,value:a(i?Ut in n?n[Ut]:n:this.input,this.input)};return new Vt(this.input,l)}when(e,a){if(this.state.matched)return this;const r=!!e(this.input);return new Vt(this.input,r?{matched:!0,value:a(this.input,this.input)}:xe)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(){if(this.state.matched)return this.state.value;let e;try{e=JSON.stringify(this.input)}catch{e=this.input}throw new Error(`Pattern matching error: no pattern matches value ${e}`)}run(){return this.exhaustive()}returnType(){return this}}var Wc=["other","few","many","two","one","zero"],Ea=({terms:t,overrides:e,locale:a})=>{const r=new Intl.PluralRules(a);function o(i,n){const c=(e==null?void 0:e[i])??t[i];switch(typeof c){case"string":return c.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=n==null?void 0:n[d])==null?void 0:u.toString())??""});case"object":{if(typeof(n==null?void 0:n.count)!="number")throw new Error(`Missing count for translation key “${i.toString()}”`);let l=r.select(n.count);if(!(l in c)){const d=Wc.find(u=>u in c);if(!d)throw new Error(`Missing plural rule for translation key “${i.toString()}”`);l=d}return c[l].replace(/{{(\w+)}}/g,(d,u)=>{var s;return((s=n==null?void 0:n[u])==null?void 0:s.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${i.toString()}”.`)}}return o},Gc=0;function f(t,e,a,r,o,i){var n,c,l={};for(c in e)c=="ref"?n=e[c]:l[c]=e[c];var d={type:t,props:l,key:a,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Gc,__source:o,__self:i};if(typeof t=="function"&&(n=t.defaultProps))for(c in n)l[c]===void 0&&(l[c]=n[c]);return w.vnode&&w.vnode(d),d}var Pa=lr(null),Yc=t=>({TranslationProvider:({terms:e,children:a,locale:r})=>{const o=ct(()=>(console.log("instantiating"),Ea({locale:r,terms:t,overrides:e})),[e,r]);return f(Pa.Provider,{value:{t:o,locale:r},children:a})},useTranslation:()=>{const e=yr(Pa);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:a})=>Ea({terms:t,overrides:e,locale:a})});const{TranslationProvider:Xc,useTranslation:Ve,createTFunction:Zc}=Yc({error_heading:"Something unexpected happened",undo:"Undo",send:"Send",skip:"Skip",skipped:"Skipped",submission_redirect_message:"Almost there! Please complete your submission here:",complete_submission:"Complete submission",submission_completed:"Submission completed!",submission_failed:"Failed to submit",maximize:"Maximise",minimize:"Minimise",close_application:"Close application",applying_for:"Applying for “{{title}}”",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_max_chars:"Please enter no more than {{count}} characters",validation_min_chars:"Please enter {{count}} or more characters",validation_phone:"Please enter a valid phone number",validation_phone_min_chars:"Your phone number must be at least {{count}} digits long",validation_country_code:"Please select a country code",validation_number:"Please enter a valid number",validation_number_min:"Please enter a number greater than or equal to {{min}}",validation_number_max:"Please enter a number less than or equal to {{max}}",validation_number_decimal_cases:"Please enter a number with at most {{count}} decimal cases",validation_file:"Please select a file",validation_file_ext:"Please only upload {{ext}} files",validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_email:"That doesn’t look like a valid email address",validation_url:"That doesn’t look like a valid URL",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"}});function qe(t,e){if(!t)throw new Error(e)}function te(){throw new Error("Cycle detected")}var Jc=Symbol.for("preact-signals");function Ke(){if(dt>1)dt--;else{for(var t,e=!1;Ct!==void 0;){var a=Ct;for(Ct=void 0,ke++;a!==void 0;){var r=a.o;if(a.o=void 0,a.f&=-3,!(8&a.f)&&Nr(a))try{a.c()}catch(o){e||(t=o,e=!0)}a=r}}if(ke=0,dt--,e)throw t}}var k=void 0,Ct=void 0,dt=0,ke=0,qt=0;function Ar(t){if(k!==void 0){var e=t.n;if(e===void 0||e.t!==k)return e={i:0,S:t,p:k.s,n:void 0,t:k,e:void 0,x:void 0,r:e},k.s!==void 0&&(k.s.n=e),k.s=e,t.n=e,32&k.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=k.s,e.n=void 0,k.s.n=e,k.s=e),e}}function E(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}E.prototype.brand=Jc;E.prototype.h=function(){return!0};E.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};E.prototype.U=function(t){if(this.t!==void 0){var e=t.e,a=t.x;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)}};E.prototype.subscribe=function(t){var e=this;return Ge(function(){var a=e.value,r=32&this.f;this.f&=-33;try{t(a)}finally{this.f|=r}})};E.prototype.valueOf=function(){return this.value};E.prototype.toString=function(){return this.value+""};E.prototype.toJSON=function(){return this.value};E.prototype.peek=function(){return this.v};Object.defineProperty(E.prototype,"value",{get:function(){var t=Ar(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(k instanceof Q&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ke>100&&te(),this.v=t,this.i++,qt++,dt++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Ke()}}}});function ht(t){return new E(t)}function Nr(t){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;return!1}function Mr(t){for(var e=t.s;e!==void 0;e=e.n){var a=e.S.n;if(a!==void 0&&(e.r=a),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Fr(t){for(var e=t.s,a=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):a=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=a}function Q(t){E.call(this,void 0),this.x=t,this.s=void 0,this.g=qt-1,this.f=4}(Q.prototype=new E).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===qt))return!0;if(this.g=qt,this.f|=1,this.i>0&&!Nr(this))return this.f&=-2,!0;var t=k;try{Mr(this),k=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(a){this.v=a,this.f|=16,this.i++}return k=t,Fr(this),this.f&=-2,!0};Q.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}E.prototype.S.call(this,t)};Q.prototype.U=function(t){if(this.t!==void 0&&(E.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};Q.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};Q.prototype.peek=function(){if(this.h()||te(),16&this.f)throw this.v;return this.v};Object.defineProperty(Q.prototype,"value",{get:function(){1&this.f&&te();var t=Ar(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Qc(t){return new Q(t)}function Lr(t){var e=t.u;if(t.u=void 0,typeof e=="function"){dt++;var a=k;k=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,We(t),r}finally{k=a,Ke()}}}function We(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Lr(t)}function tl(t){if(k!==this)throw new Error("Out-of-order effect");Fr(this),k=t,this.f&=-2,8&this.f&&We(this),Ke()}function Tt(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Tt.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};Tt.prototype.S=function(){1&this.f&&te(),this.f|=1,this.f&=-9,Lr(this),Mr(this),dt++;var t=k;return k=this,tl.bind(this,t)};Tt.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ct,Ct=this)};Tt.prototype.d=function(){this.f|=8,1&this.f||We(this)};function Ge(t){var e=new Tt(t);try{e.c()}catch(a){throw e.d(),a}return e.d.bind(e)}var oe;function _t(t,e){w[t]=e.bind(null,w[t]||function(){})}function Kt(t){oe&&oe(),oe=t&&t.S()}function Hr(t){var e=this,a=t.data,r=al(a);r.value=a;var o=ct(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var n;!Za(o.peek())&&((n=e.base)==null?void 0:n.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Qc(function(){var n=r.value.value;return n===0?0:n===!0?"":n||""})},[]);return o.value}Hr.displayName="_st";Object.defineProperties(E.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Hr},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});_t("__b",function(t,e){if(typeof e.type=="string"){var a,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof E&&(a||(e.__np=a={}),a[o]=i,r[o]=i.peek())}}t(e)});_t("__r",function(t,e){Kt();var a,r=e.__c;r&&(r.__$f&=-2,(a=r.__$u)===void 0&&(r.__$u=a=function(o){var i;return Ge(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Kt(a),t(e)});_t("__e",function(t,e,a,r){Kt(),t(e,a,r)});_t("diffed",function(t,e){Kt();var a;if(typeof e.type=="string"&&(a=e.__e)){var r=e.__np,o=e.props;if(r){var i=a.U;if(i)for(var n in i){var c=i[n];c!==void 0&&!(n in r)&&(c.d(),i[n]=void 0)}else a.U=i={};for(var l in r){var d=i[l],u=r[l];d===void 0?(d=el(a,l,u,o),i[l]=d):d.o(u,o)}}}t(e)});function el(t,e,a,r){var o=e in t&&t.ownerSVGElement===void 0,i=ht(a);return{o:function(n,c){i.value=n,r=c},d:Ge(function(){var n=i.value.value;r[e]!==n&&(r[e]=n,o?t[e]=n:n?t.setAttribute(e,n):t.removeAttribute(e))})}}_t("unmount",function(t,e){if(typeof e.type=="string"){var a=e.__e;if(a){var r=a.U;if(r){a.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var n=e.__c;if(n){var c=n.__$u;c&&(n.__$u=void 0,c.d())}}t(e)});_t("__h",function(t,e,a,r){(r<3||r===9)&&(e.__$f|=2),t(e,a,r)});L.prototype.shouldComponentUpdate=function(t,e){var a=this.__$u;if(!(a&&a.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function al(t){return ct(function(){return ht(t)},[])}const $e=(t,e)=>e.some(a=>t instanceof a);let Oa,Ia;function rl(){return Oa||(Oa=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function il(){return Ia||(Ia=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Se=new WeakMap,ne=new WeakMap,ee=new WeakMap;function ol(t){const e=new Promise((a,r)=>{const o=()=>{t.removeEventListener("success",i),t.removeEventListener("error",n)},i=()=>{a(st(t.result)),o()},n=()=>{r(t.error),o()};t.addEventListener("success",i),t.addEventListener("error",n)});return ee.set(e,t),e}function nl(t){if(Se.has(t))return;const e=new Promise((a,r)=>{const o=()=>{t.removeEventListener("complete",i),t.removeEventListener("error",n),t.removeEventListener("abort",n)},i=()=>{a(),o()},n=()=>{r(t.error||new DOMException("AbortError","AbortError")),o()};t.addEventListener("complete",i),t.addEventListener("error",n),t.addEventListener("abort",n)});Se.set(t,e)}let Ce={get(t,e,a){if(t instanceof IDBTransaction){if(e==="done")return Se.get(t);if(e==="store")return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return st(t[e])},set(t,e,a){return t[e]=a,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Br(t){Ce=t(Ce)}function sl(t){return il().includes(t)?function(...e){return t.apply(Ee(this),e),st(this.request)}:function(...e){return st(t.apply(Ee(this),e))}}function cl(t){return typeof t=="function"?sl(t):(t instanceof IDBTransaction&&nl(t),$e(t,rl())?new Proxy(t,Ce):t)}function st(t){if(t instanceof IDBRequest)return ol(t);if(ne.has(t))return ne.get(t);const e=cl(t);return e!==t&&(ne.set(t,e),ee.set(e,t)),e}const Ee=t=>ee.get(t);function ll(t,e,{blocked:a,upgrade:r,blocking:o,terminated:i}={}){const n=indexedDB.open(t,e),c=st(n);return r&&n.addEventListener("upgradeneeded",l=>{r(st(n.result),l.oldVersion,l.newVersion,st(n.transaction),l)}),a&&n.addEventListener("blocked",l=>a(l.oldVersion,l.newVersion,l)),c.then(l=>{i&&l.addEventListener("close",()=>i()),o&&l.addEventListener("versionchange",d=>o(d.oldVersion,d.newVersion,d))}).catch(()=>{}),c}const dl=["get","getKey","getAll","getAllKeys","count"],ul=["put","add","delete","clear"],se=new Map;function Ta(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(se.get(e))return se.get(e);const a=e.replace(/FromIndex$/,""),r=e!==a,o=ul.includes(a);if(!(a in(r?IDBIndex:IDBObjectStore).prototype)||!(o||dl.includes(a)))return;const i=async function(n,...c){const l=this.transaction(n,o?"readwrite":"readonly");let d=l.store;return r&&(d=d.index(c.shift())),(await Promise.all([d[a](...c),o&&l.done]))[0]};return se.set(e,i),i}Br(t=>({...t,get:(e,a,r)=>Ta(e,a)||t.get(e,a,r),has:(e,a)=>!!Ta(e,a)||t.has(e,a)}));const pl=["continue","continuePrimaryKey","advance"],ja={},Pe=new WeakMap,Rr=new WeakMap,hl={get(t,e){if(!pl.includes(e))return t[e];let a=ja[e];return a||(a=ja[e]=function(...r){Pe.set(this,Rr.get(this)[e](...r))}),a}};async function*fl(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const a=new Proxy(e,hl);for(Rr.set(a,e),ee.set(a,Ee(e));e;)yield a,e=await(Pe.get(a)||e.continue()),Pe.delete(a)}function za(t,e){return e===Symbol.asyncIterator&&$e(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&$e(t,[IDBIndex,IDBObjectStore])}Br(t=>({...t,get(e,a,r){return za(e,a)?fl:t.get(e,a,r)},has(e,a){return za(e,a)||t.has(e,a)}}));const wl=t=>Qt(t).with(ot.number.lte(1e3),()=>`${Math.round(t)}KB`).with(ot.number.lt(1e3*10),()=>`${(t/1e3).toFixed(1)}MB`).otherwise(()=>`${Math.round(t/1e3)}MB`),gl=t=>{const e=t.find(a=>a.isHead);if(!e)throw new Error("No head node found");return e},bl=t=>Object.entries(t).reduce((a,[r,o])=>(a[r]=o.value,a),{}),vl=t=>e=>e?e.type===t:!1;class _l extends Error{constructor(){super("Aborted")}}function ml(t,e=300){let a;return(...r)=>{clearTimeout(a),a=setTimeout(()=>{t.apply(this,r)},e)}}const yl=t=>typeof t=="string",xl=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Da=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],isFinished:!1,sequence:0,flowSessionId:xl()}),kl=t=>Qt(t).with({nativeEvent:{submitter:ot.select(ot.union(ot.instanceOf(HTMLButtonElement),ot.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Aa=typeof window>"u"?void 0:ll("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}}),kt={getStateData:async(t,e)=>{var r;const a=Na({...t,flowKeys:e});return(r=await Aa)==null?void 0:r.get("state",a)},setStateData:ml(async t=>{var a;const e=Na(t);return(a=await Aa)==null?void 0:a.put("state",t.data,e)},1e3)},Lt=(t,e,a,r=0)=>{if(!e.nextId)return a(e.id,{stepsMade:r,remainingSteps:0}),{stepsMade:r,remainingSteps:0};const o=t.find(d=>d.id===e.nextId);if(o===void 0)return{stepsMade:r,remainingSteps:0};const i=e.type==="if-block"?e.branchId:void 0,n=t.find(d=>d.id===i),c=e.type.includes("question")?1:0;if(n){const d=c+Math.max(Lt(t,o,a,r+c).remainingSteps,Lt(t,n,a,r+c).remainingSteps);return a(e.id,{stepsMade:r,remainingSteps:d}),{stepsMade:r,remainingSteps:d}}const l=c+Lt(t,o,a,r+c).remainingSteps;return a(e.id,{stepsMade:r,remainingSteps:l}),{stepsMade:r,remainingSteps:l}},$l=t=>{const e={},a=t.find(r=>r.isHead);return a&&Lt(t,a,(r,o)=>{e[r]=o}),e},Na=t=>[...t.flowKeys,t.id,t.version].join("/"),W=ht({state:"idle"}),yt=t=>{const{state:e,flow:a}=W.value;if(e!=="loaded")return;qe(a,"No flow to update");const r=t(a.data);a.data=r,W.value={state:e,flow:a},kt.setStateData(a)},S={current$:W,viewState$:ht("closed"),inputHeight$:ht(53),startFlow:async({flow:t,context:e={},flowKeys:a,title:r,analytics:o,job:i})=>{const c={data:await kt.getStateData(t,a)??Da(),startedAt:new Date,nodeIdToProgress:$l(t.nodes),flowKeys:a,id:t.id,version:t.version,nodes:t.nodes,build:t.build,context:e,title:r,analytics:o,job:i};W.value={state:"loaded",flow:c},kt.setStateData(c)},cancelCurrentFlow:()=>{W.value={state:"idle"},S.viewState$.value="closed"},markAsFinished:()=>yt(t=>({...t,isFinished:!0})),setCurrentNodeId:t=>yt(e=>(e.nodeHistory.push(t),e)),restart:()=>{const{state:t,flow:e}=W.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const a=Da();W.value={state:t,flow:{...e,data:a,startedAt:new Date}},kt.setStateData(e)},addMessage:(t,e)=>{const a={...t,groupId:e};return yt(r=>(r.messages.push(a),r))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:a}=W.value;qe(e==="loaded","Application not loaded");const r=a.data.messages.filter(o=>!o.groupId||!t.includes(o.groupId));a.data.messages=r,kt.setStateData(a)},setSubmission:(t,e)=>yt(a=>(e===null?delete a.submissions[t]:a.submissions[t]=e,a)),setInput:t=>yt(e=>({...e,currentInput:t??null}))},Sl=({message:t})=>{const{t:e}=Ve();return f("div",{class:"flex flex-grow flex-col items-center justify-center",children:[f("svg",{class:"text-error-9 h-16 w-16",fill:"none",xmlns:"http://www.w3.org/2000/svg","stroke-width":"2",stroke:"currentColor","stroke-linecap":"round",viewBox:"0 0 96 96",children:[f("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"}),f("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"}),f("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),f("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),f("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),f("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),f("path",{d:"M38 56h19"})]}),f("div",{class:"flex flex-col gap-2 text-center",children:[f("p",{class:"text-error-11 font-bold",children:e("error_heading")}),t&&f("p",{class:"text-neutral-9 text-sm",children:t})]})]})},Ur=t=>f("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[f("title",{children:"Loading"}),f("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)}}"}),f("g",{id:"s1",transform:"translate(12,0)",children:f("g",{id:"s2",transform:"scale(0,0)",children:f("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),f("g",{id:"s3",transform:"translate(12,12)",children:f("g",{id:"s4",transform:"scale(1,1)",children:f("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),f("g",{id:"s5",transform:"translate(12,0)",children:f("g",{id:"s6",transform:"scale(0,0)",children:f("path",{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",transform:"translate(-6.5,-6.5)","clip-rule":"evenodd",fill:"currentColor","fill-rule":"evenodd"})})}),f("g",{id:"s7",transform:"translate(12,0)",children:f("g",{id:"s8",transform:"scale(0,0)",children:f("path",{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",transform:"translate(-6.5,-9.25)",fill:"currentColor"})})})]}),Ma=()=>f("div",{class:"flex flex-grow flex-col items-center justify-center",children:f(Ur,{class:"text-neutral-6 h-8 w-8"})}),Cl=t=>{const a=t/100,r=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-a,r))*100)}%`},Dt=({class:t,children:e,...a})=>f("button",{class:Fe("touch-hitbox text-interactive-copy hover:text-interactive-copy-hover active:text-interactive-copy-active hover:bg-interactive-bg-hover active:bg-interactive-bg-active fr relative rounded-full p-2 transition-all",t),...a,children:f("svg",{class:"block",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round",xmlns:"http://www.w3.org/2000/svg",children:e})}),El=()=>{if(S.current$.value.state!=="loaded")return null;const t=S.current$.value.flow.nodeIdToProgress,e=S.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const a=t[e];if(a===void 0)return null;const r=100*(a.stepsMade/(a.remainingSteps+a.stepsMade));return f("div",{class:"bg-accent-3",children:f("div",{style:{width:Cl(r)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},Pl=({children:t,params:e})=>{const{t:a}=Ve(),r=S.viewState$;return f(N,{children:f("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:[f("div",{class:"flex h-[var(--header-height)] gap-2",children:[f("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),f("button",{tabIndex:-1,onClick:()=>{r.value==="minimised"?r.value="maximised":r.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1",onTouchStart:ce,children:f("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),f("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?f("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header"}):null,r.value==="minimised"?f(N,{children:[f(Dt,{class:"view-switch",onTouchStart:ce,"aria-label":a("maximize"),onClick:()=>r.value="maximised",children:f("path",{d:"M12.5 9.5L8 5L3.5 9.5"})},"minmax"),f(Dt,{"aria-label":a("close_application"),onClick:S.cancelCurrentFlow,children:f("path",{d:"M12.5 6.5L8 11L3.5 6.5"})},"close")]}):f(N,{children:[S.current$.value.state==="loaded"&&f(Dt,{"aria-label":"Restart",onClick:()=>{S.restart()},children:[f("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"}),f("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),f(Dt,{class:"view-switch",onTouchStart:ce,"aria-label":a("minimize"),onClick:()=>r.value="minimised",children:f("path",{d:"M12.5 6.5L8 11L3.5 6.5"})},"minmax")]})]})]}),f(El,{})]})})};function ce(){}const Ol=Pr(()=>Promise.resolve().then(()=>require("./chatbot-body-7fa34af3.cjs")).then(t=>t.ChatbotBody)),Fa=vr("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full max-w-[450px] focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out",{variants:{view:{closed:"hidden",minimised:"h-[var(--header-height)] animate-slide-in-bottom",maximised:"h-[var(--content-height)] animate-maximise"}}}),La="outline-neutral-3 bg-neutral-1 relative flex h-full flex-col overflow-hidden rounded-3xl outline outline-1",Il=({open:t,...e})=>{const a=Jt(null);return vt(()=>{const r=a.current;r&&(t?r.showModal():r.close())},[t]),f("dialog",{ref:a,...e})},Tl=({logger:t,apiClient:e,analytics:a,params:r})=>{const{state:o,flow:i,error:n}=S.current$.value,c=S.viewState$.value,l=o!=="idle"&&c==="maximised",d=Jt(null),u=f(Pl,{params:r,children:i==null?void 0:i.title});return f(Xc,{terms:r.terms,locale:void 0,children:[f(Il,{open:l,onClose:()=>S.viewState$.value="minimised",children:f("div",{ref:d,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Fa({view:"maximised"}),children:f("div",{class:La,children:[u,Qt({state:o,view:c}).with({state:"idle"},()=>null).with({state:"loading"},()=>f(Ma,{},"loading")).with({state:"loaded"},()=>f(St,{fallback:f(Ma,{},"loading"),children:f(Ol,{analytics:a,apiClient:e,logger:t})})).with({state:"error"},()=>f(Sl,{message:n})).exhaustive()]})})}),c==="minimised"?f("div",{class:Fa({view:"minimised",class:"z-100 isolate"}),children:f("div",{class:La,children:u})}):null]})},Vr=G({id:dr(nt(),String),version:we(),build:we(),nodes:fr(As()),context_schema:Me(Ns(gr(nt(),G({required:wr(),type:Hs([la("string"),la("number")])}))))}),jl=G({flow:Vr}),zl=G({company:G({name:nt()}),flow:Vr,job:G({id:dr(nt(),String),title:nt()})}),Dl=`[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-moz-user-select:none;-webkit-user-select:none;user-select:none;position:relative;z-index:99999;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]{--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] *,[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: }[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: }[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-2{bottom:.5rem}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:.625rem}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-2{left:.5rem}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-2{right:.5rem}[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-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:.25rem}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[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] .h-1{height:.25rem}[data-widget=inploi-chatbot] .h-1\\.5{height:.375rem}[data-widget=inploi-chatbot] .h-16{height:4rem}[data-widget=inploi-chatbot] .h-4{height:1rem}[data-widget=inploi-chatbot] .h-48{height:12rem}[data-widget=inploi-chatbot] .h-8{height:2rem}[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\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 1rem)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 1rem)}[data-widget=inploi-chatbot] .w-1{width:.25rem}[data-widget=inploi-chatbot] .w-1\\.5{width:.375rem}[data-widget=inploi-chatbot] .w-16{width:4rem}[data-widget=inploi-chatbot] .w-24{width:6rem}[data-widget=inploi-chatbot] .w-4{width:1rem}[data-widget=inploi-chatbot] .w-64{width:16rem}[data-widget=inploi-chatbot] .w-8{width:2rem}[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:2rem}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,24rem)}[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-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] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .translate-y-full{--tw-translate-y: 100%;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 slide-in-bottom{0%{transform:translateY(-100%) scaleX(.82)}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{-moz-user-select:none;-webkit-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-moz-user-select:text;-webkit-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .appearance-none{-moz-appearance:none;-webkit-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-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:.25rem}[data-widget=inploi-chatbot] .gap-1\\.5{gap:.375rem}[data-widget=inploi-chatbot] .gap-2{gap:.5rem}[data-widget=inploi-chatbot] .gap-2\\.5{gap:.625rem}[data-widget=inploi-chatbot] .gap-3{gap:.75rem}[data-widget=inploi-chatbot] .gap-4{gap:1rem}[data-widget=inploi-chatbot] .gap-px{gap:1px}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overflow-y-scroll{overflow-y:scroll}[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] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:.25rem}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:1rem}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:1.5rem}[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:.5rem}[data-widget=inploi-chatbot] .rounded-md{border-radius:.375rem}[data-widget=inploi-chatbot] .rounded-xl{border-radius:.75rem}[data-widget=inploi-chatbot] .rounded-b-3xl{border-bottom-right-radius:1.5rem;border-bottom-left-radius:1.5rem}[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-bl-md{border-bottom-left-radius:.375rem}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:.375rem}[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:.25rem}[data-widget=inploi-chatbot] .p-1\\.5{padding:.375rem}[data-widget=inploi-chatbot] .p-10{padding:2.5rem}[data-widget=inploi-chatbot] .p-11{padding:2.75rem}[data-widget=inploi-chatbot] .p-12{padding:3rem}[data-widget=inploi-chatbot] .p-2{padding:.5rem}[data-widget=inploi-chatbot] .p-2\\.5{padding:.625rem}[data-widget=inploi-chatbot] .p-3{padding:.75rem}[data-widget=inploi-chatbot] .p-4{padding:1rem}[data-widget=inploi-chatbot] .p-5{padding:1.25rem}[data-widget=inploi-chatbot] .p-6{padding:1.5rem}[data-widget=inploi-chatbot] .p-7{padding:1.75rem}[data-widget=inploi-chatbot] .p-8{padding:2rem}[data-widget=inploi-chatbot] .p-9{padding:2.25rem}[data-widget=inploi-chatbot] .px-1{padding-left:.25rem;padding-right:.25rem}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:.375rem;padding-right:.375rem}[data-widget=inploi-chatbot] .px-2{padding-left:.5rem;padding-right:.5rem}[data-widget=inploi-chatbot] .px-2\\.5{padding-left:.625rem;padding-right:.625rem}[data-widget=inploi-chatbot] .px-3{padding-left:.75rem;padding-right:.75rem}[data-widget=inploi-chatbot] .px-4{padding-left:1rem;padding-right:1rem}[data-widget=inploi-chatbot] .px-5{padding-left:1.25rem;padding-right:1.25rem}[data-widget=inploi-chatbot] .py-0{padding-top:0;padding-bottom:0}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:.125rem;padding-bottom:.125rem}[data-widget=inploi-chatbot] .py-1{padding-top:.25rem;padding-bottom:.25rem}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}[data-widget=inploi-chatbot] .py-2{padding-top:.5rem;padding-bottom:.5rem}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}[data-widget=inploi-chatbot] .py-3{padding-top:.75rem;padding-bottom:.75rem}[data-widget=inploi-chatbot] .py-\\[6px\\]{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:.5rem}[data-widget=inploi-chatbot] .pb-6{padding-bottom:1.5rem}[data-widget=inploi-chatbot] .pl-1{padding-left:.25rem}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:.375rem}[data-widget=inploi-chatbot] .pl-2{padding-left:.5rem}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:.625rem}[data-widget=inploi-chatbot] .pl-3{padding-left:.75rem}[data-widget=inploi-chatbot] .pl-4{padding-left:1rem}[data-widget=inploi-chatbot] .pr-1{padding-right:.25rem}[data-widget=inploi-chatbot] .pr-16{padding-right:4rem}[data-widget=inploi-chatbot] .pr-2{padding-right:.5rem}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:.625rem}[data-widget=inploi-chatbot] .pr-3{padding-right:.75rem}[data-widget=inploi-chatbot] .pr-4{padding-right:1rem}[data-widget=inploi-chatbot] .pt-2{padding-top:.5rem}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:.625rem}[data-widget=inploi-chatbot] .pt-3{padding-top:.75rem}[data-widget=inploi-chatbot] .pt-5{padding-top:1.25rem}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 1rem)}[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:1rem;line-height:1.5rem}[data-widget=inploi-chatbot] .text-sm{font-size:.875rem;line-height:1.25rem}[data-widget=inploi-chatbot] .text-xs{font-size:.75rem;line-height:1rem}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[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:.75rem}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-\\[\\#4CAF50\\]{--tw-text-opacity: 1;color:rgb(76 175 80 / var(--tw-text-opacity))}[data-widget=inploi-chatbot] .text-\\[\\#FFC107\\]{--tw-text-opacity: 1;color:rgb(255 193 7 / var(--tw-text-opacity))}[data-widget=inploi-chatbot] .text-accent-1{color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-interactive-copy{color:var(--i-interactive-copy)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-neutral-8{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .text-neutral-9{color:var(--i-color-n-9)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}[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-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-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-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-blur-xl{--tw-backdrop-blur: blur(24px);-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] .duration-700{transition-duration:.7s}[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-\\[height\\]{will-change:height}[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:.5rem;border-bottom-left-radius:.5rem}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:.5rem;border-bottom-right-radius:.5rem}[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-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\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-interactive-copy-hover:hover{color:var(--i-interactive-copy-hover)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[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] .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-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-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[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-interactive-copy-active:active{color:var(--i-interactive-copy-active)}[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-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] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-11:has(+*>input:focus){color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@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)}
|
|
2
|
+
`,qr="inploi-chatbot",Kr=`[data-widget='${qr}']`,Al=()=>({getOrCreateChatbotElement:()=>{const t=document.querySelector(Kr);if(t)return document.body.appendChild(t),t;const e=document.createElement("div");return document.body.appendChild(e),e.dataset.widget=qr,e}});var Nl=["1","2","3","4","5","6","7","8","9","10","11","12"],Ml={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},Fl=(t,e=1,a)=>r=>{const[o,i]=Ml[a][r];return"oklch("+o+"% "+i*e+" "+t+")"},le=t=>{const e=Fl(t.hue,t.chroma,t.mode);return Object.fromEntries(Nl.map(a=>[t.prefix+a,t.transform(e(a))]))},de=t=>t,Ll=t=>{const e=Object.keys(t).flatMap(a=>{const r=t[a];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(a)}.${o}`,i]}):[[a,r]]});return Object.fromEntries(e)},At=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Oe=(t,...e)=>{if(!e.length)return t;const a=e.shift();if(At(t)&&At(a))for(const r in a){const o=a[r];if(At(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];At(i)&&Oe(i,o)}else Object.assign(t,{[r]:a[r]})}return Oe(t,...e)},Hl=t=>{function e(a,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return a==="declaration"?`--${o}`:`var(--${o})`}return e},Bl=()=>({core:t=>({semantic:e=>({component:a=>({from:r=>{const{theme:o,getToken:i}=r,n=h=>i("reference",h.toString()),c=t({theme:o}),l=e({theme:o,core:n,raw:{core:c}}),d=a({theme:o,core:n,semantic:n,raw:{core:c,semantic:l}}),u=Ll(Oe(c,l,d)),s=([h,g],p)=>{const b=[p,h].filter(Boolean).join(".");return typeof g=="object"?Object.entries(g).flatMap(m=>s(m,b)):[[r.getToken("declaration",b),g]]};return{values:u,declarations:Object.fromEntries(Object.entries(u).flatMap(h=>s(h))),ref:h=>i("reference",h.toString())}}})})})});const[ue,pe,Ha]=["oklch(0% 0 0)","oklch(100% 0 0)","transparent"],Rl=Bl().core(({theme:t})=>({color:{black:ue,white:pe,lowest:t.mode==="light"?pe:ue,highest:t.mode==="light"?ue:pe,...le({prefix:"a-",hue:t.hue,chroma:t.chroma,mode:t.mode,transform:de}),...le({prefix:"n-",hue:t.hue,chroma:.05,mode:t.mode,transform:de}),...le({prefix:"e-",hue:20,chroma:t.chroma,mode:t.mode,transform:de})},typography:{}})).semantic(({core:t,raw:e,theme:a})=>{const r=(o,i)=>e.core.color[o].replace(")",` / ${i})`);return{"font-family":{body:"inherit",headings:"inherit"},"font-style":{body:"normal",headings:"normal"},"font-weight-body":"normal","font-weight-headings":"normal","radius-app":"1.5rem","radius-interactive":"1.5rem",color:{divider:r("n-8",a.mode==="dark"?.4:.2)},"copy-body":t("color.n-12"),"copy-headings":t("color.n-12"),interactive:{copy:t("color.n-11"),"copy-hover":t("color.n-12"),"copy-active":t("color.n-12"),bg:Ha,"bg-hover":r("n-10",.4),"bg-active":r("n-10",.5)}}}).component(({raw:t,theme:e,semantic:a,core:r})=>{const o=(i,n)=>t.core.color[i].replace(")",` / ${n})`);return{app:{bg:r(e.mode==="dark"?"color.n-1":"color.n-2")},overlay:{bg:o("black",.4)},bubble:{"weak-bg":r(e.mode==="dark"?"color.n-3":"color.lowest"),"weak-outline":a("color.divider"),"strong-shadow":o("a-9",.05)},"status-bar":{bg:o("n-2",.8),"bg-button":Ha,"bg-button-hover":o("n-10",.4),"bg-button-active":o("n-10",.5)},"submit-button":{"bg-active":r(e.mode==="dark"?"color.a-8":"color.a-11")}}}),Ul=Hl({prefix:"i-"}),Vl=t=>{const e=Rl.from({theme:t,getToken:Ul}),a=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`${Kr} {
|
|
3
|
+
${a.concat(a).join(`
|
|
4
|
+
`)}
|
|
5
|
+
}`},Ba=({context:t,schema:e,logger:a})=>{if(e)for(const r in e){const o=e[r];if(!o)continue;const i=Ya(t,r,null);if(o.required&&i===null){const n=`Configuration error in context: ${r} is required`;throw a.error(n),new Error(n)}switch(o.type){case"number":if(typeof i!="number")throw new Error(`Configuration error in context: ${r} is not a number`);break;case"string":if(typeof i!="string")throw new Error(`Configuration error in context: ${r} is not a string`);break;default:o.type}}},ql=({_internal_domManager:t=Al(),theme:e,terms:a,feedback:r})=>Yr.createPlugin(({apiClient:o,logger:i,analytics:n})=>{let c=!1;const l=Zc({locale:void 0,overrides:a??{}}),d=()=>{var h;if(typeof window>"u")return;const u=[A("style",{id:"inploi-chatbot-styles"},Dl),A("style",{id:"inploi-chatbot-theme"},Vl(e))],s=t.getOrCreateChatbotElement();if(ut(A(N,{},[u,A(Tl,{apiClient:o,logger:i,analytics:n,params:{theme:e,terms:a,feedback:r}})]),s),r){const g=r.plugin({apiClient:o,logger:i,analytics:n}),p=s.querySelector("dialog");if(!p)throw new Error("Couldn't find feedback host");g.render({key:"chatbot-header",size:"sm",theme:{accent:{chroma:e.chroma??1,hue:e.hue},positive:{hue:180,chroma:1},negative:{hue:33,chroma:1},mode:"light",corners:"rounded",highlights:"stroke"},terms:((h=r.params)==null?void 0:h.terms)??{},host:p})}c=!0};return{prepare:async()=>{if(!(typeof window>"u"))try{if(c)return;d(),i.info("Chatbot plugin prepared")}catch(u){i.error("Error preparing chatbot plugin",u)}},fetchFlowByJobId:async(u,s)=>{const h=new URLSearchParams({id_type:(s==null?void 0:s.idType)==="inploi"?"internal":"external"});return o.fetch([`/flow/job/${u}`,h.toString()].filter(Boolean).join("?")).then(g=>{const p=ge(zl,g);return{flow:p.flow,title:l("applying_for",{title:p.job.title}),flowKeys:[p.job.id,...(s==null?void 0:s.flowKeys)??[]],job:{id:p.job.id,id_type:"external"},...s}})},fetchFlowById:async(u,s)=>o.fetch(`/flow/id/${u}`).then(h=>{var p;const g=ge(jl,h);return{flow:g.flow,title:"Chatbot",flowKeys:(s==null?void 0:s.flowKeys)??[],...s,analytics:{customProperties:{flow_id:g.flow.id,flow_version:g.flow.version,...(p=s==null?void 0:s.analytics)==null?void 0:p.customProperties}}}}),open:async u=>{if(!(typeof window>"u"))try{S.cancelCurrentFlow(),S.viewState$.value="maximised",c||d(),u instanceof Promise?(S.current$.value={state:"loading"},u.then(async s=>{Ba({context:s.context||{},schema:s.flow.context_schema,logger:i}),S.startFlow(s)}).catch(s=>{const h=s instanceof Error?s.message:l("unknown_error");S.current$.value={state:"error",error:h}})):(Ba({context:u.context||{},schema:u.flow.context_schema,logger:i}),S.startFlow(u))}catch(s){i.error("Error starting flow",s)}},close:async()=>{typeof window>"u"||(S.cancelCurrentFlow(),i.info("Closed flow from an external source"))}}});exports.AbortedError=_l;exports.Cn=Nc;exports.F=ct;exports.LoadingIndicator=Ur;exports.N=Qt;exports.ValiError=Zt;exports._=ot;exports._$1=Jt;exports.a=ht;exports.array=fr;exports.boolean=wr;exports.chatbotPlugin=ql;exports.clsx=Fe;exports.custom=Ks;exports.cva=vr;exports.email=Ws;exports.get=Ya;exports.getDefaultExportFromCjs=Ra;exports.getFlowSubmissionsPayload=bl;exports.getFormSubmitter=kl;exports.getHeadOrThrow=gl;exports.h=Le;exports.invariant=qe;exports.isString=yl;exports.isSubmissionOfType=vl;exports.k=N;exports.k$1=$r;exports.kbToReadableSize=wl;exports.maxLength=Gs;exports.maxValue=Ys;exports.minLength=Xs;exports.minValue=Zs;exports.number=we;exports.o=f;exports.object=G;exports.optional=Me;exports.p=He;exports.parse=ge;exports.parseAsync=Bs;exports.partial=Rs;exports.picklist=Ms;exports.record=gr;exports.regex=Js;exports.safeParse=Us;exports.store=S;exports.string=nt;exports.transform=Vs;exports.url=Qs;exports.useTranslation=Ve;exports.y=vt;
|
package/dist/plugin-chatbot.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d8af0361.cjs");require("@inploi/sdk");exports.chatbotPlugin=e.chatbotPlugin;
|
package/dist/plugin-chatbot.js
CHANGED