@inploi/plugin-chatbot 14.10.5 → 14.12.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/dist/chatbot.d.ts CHANGED
@@ -84,6 +84,12 @@ export declare const chatbotPlugin: ({ _internal_domManager: dom, theme, terms,
84
84
  * keeps such a candidate on this chatbot rather than move them mid-application (PROD-7342).
85
85
  */
86
86
  hasApplicationInProgress: (params: OpenChatbotParams) => Promise<boolean>;
87
+ /**
88
+ * Whether this browser holds an application in progress for any job: the candidate loader's question when it
89
+ * cannot load this page's flow to ask `hasApplicationInProgress` (CF-06). Without the flow's nodes, any saved
90
+ * answer counts.
91
+ */
92
+ hasAnyApplicationInProgress: () => Promise<boolean>;
87
93
  close: () => Promise<void>;
88
94
  destroy: () => void;
89
95
  };
@@ -48,6 +48,25 @@ export declare const idb: {
48
48
  sequence: number;
49
49
  submissions: KeyToSubmissionMap;
50
50
  } | undefined>;
51
+ /** Every application saved in this browser, whatever its job or flow. */
52
+ getAllStateData: () => Promise<{
53
+ currentInput: ChatInput | null;
54
+ nodeHistory: string[];
55
+ startedWriteNodeIds?: string[];
56
+ failedAttemptAt?: Record<string, number>;
57
+ unconfirmedAttemptKeys?: string[];
58
+ submitCooldown?: SubmitCooldown;
59
+ submitRedirects?: Record<string, SubmitRedirect>;
60
+ applicationRecovery?: ApplicationRecovery;
61
+ flowSessionId: string;
62
+ isFinished: boolean;
63
+ hasInteracted?: boolean;
64
+ messages: (ChatMessage & {
65
+ groupId?: string;
66
+ })[];
67
+ sequence: number;
68
+ submissions: KeyToSubmissionMap;
69
+ }[] | never[]>;
51
70
  setStateData: (params: StartedFlow) => void;
52
71
  flushStateData: () => Promise<unknown>;
53
72
  };
package/dist/i18n.d.ts CHANGED
@@ -22,7 +22,7 @@ export declare const TranslationProvider: (props: {
22
22
  };
23
23
  readonly submission_cooldown_ready: "Submit is available again.";
24
24
  readonly captcha_check: "One quick check before we send your application";
25
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
25
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
26
26
  readonly file_preparing: {
27
27
  readonly one: "Preparing your file…";
28
28
  readonly other: "Preparing your files…";
@@ -52,8 +52,8 @@ export declare const TranslationProvider: (props: {
52
52
  readonly complete_submission: "Complete submission";
53
53
  readonly submission_completed: "Submission completed!";
54
54
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
55
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
56
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
55
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
56
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
57
57
  readonly submission_available_at: "Submit will be available again at {{time}}.";
58
58
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
59
59
  readonly resume_continue: "Continue";
@@ -93,6 +93,7 @@ export declare const TranslationProvider: (props: {
93
93
  readonly validation_number: "Please enter a valid number";
94
94
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
95
95
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
96
+ readonly validation_number_whole: "Enter a whole number";
96
97
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
97
98
  readonly validation_file: "Please select a file";
98
99
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -142,7 +143,7 @@ export declare const TranslationProvider: (props: {
142
143
  };
143
144
  readonly submission_cooldown_ready: "Submit is available again.";
144
145
  readonly captcha_check: "One quick check before we send your application";
145
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
146
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
146
147
  readonly file_preparing: {
147
148
  readonly one: "Preparing your file…";
148
149
  readonly other: "Preparing your files…";
@@ -172,8 +173,8 @@ export declare const TranslationProvider: (props: {
172
173
  readonly complete_submission: "Complete submission";
173
174
  readonly submission_completed: "Submission completed!";
174
175
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
175
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
176
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
176
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
177
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
177
178
  readonly submission_available_at: "Submit will be available again at {{time}}.";
178
179
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
179
180
  readonly resume_continue: "Continue";
@@ -213,6 +214,7 @@ export declare const TranslationProvider: (props: {
213
214
  readonly validation_number: "Please enter a valid number";
214
215
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
215
216
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
217
+ readonly validation_number_whole: "Enter a whole number";
216
218
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
217
219
  readonly validation_file: "Please select a file";
218
220
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -259,7 +261,7 @@ export declare const TranslationProvider: (props: {
259
261
  };
260
262
  readonly submission_cooldown_ready: "Submit is available again.";
261
263
  readonly captcha_check: "One quick check before we send your application";
262
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
264
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
263
265
  readonly file_preparing: {
264
266
  readonly one: "Preparing your file…";
265
267
  readonly other: "Preparing your files…";
@@ -289,8 +291,8 @@ export declare const TranslationProvider: (props: {
289
291
  readonly complete_submission: "Complete submission";
290
292
  readonly submission_completed: "Submission completed!";
291
293
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
292
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
293
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
294
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
295
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
294
296
  readonly submission_available_at: "Submit will be available again at {{time}}.";
295
297
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
296
298
  readonly resume_continue: "Continue";
@@ -330,6 +332,7 @@ export declare const TranslationProvider: (props: {
330
332
  readonly validation_number: "Please enter a valid number";
331
333
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
332
334
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
335
+ readonly validation_number_whole: "Enter a whole number";
333
336
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
334
337
  readonly validation_file: "Please select a file";
335
338
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -379,7 +382,7 @@ export declare const TranslationProvider: (props: {
379
382
  };
380
383
  readonly submission_cooldown_ready: "Submit is available again.";
381
384
  readonly captcha_check: "One quick check before we send your application";
382
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
385
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
383
386
  readonly file_preparing: {
384
387
  readonly one: "Preparing your file…";
385
388
  readonly other: "Preparing your files…";
@@ -409,8 +412,8 @@ export declare const TranslationProvider: (props: {
409
412
  readonly complete_submission: "Complete submission";
410
413
  readonly submission_completed: "Submission completed!";
411
414
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
412
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
413
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
415
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
416
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
414
417
  readonly submission_available_at: "Submit will be available again at {{time}}.";
415
418
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
416
419
  readonly resume_continue: "Continue";
@@ -450,6 +453,7 @@ export declare const TranslationProvider: (props: {
450
453
  readonly validation_number: "Please enter a valid number";
451
454
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
452
455
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
456
+ readonly validation_number_whole: "Enter a whole number";
453
457
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
454
458
  readonly validation_file: "Please select a file";
455
459
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -496,7 +500,7 @@ export declare const TranslationProvider: (props: {
496
500
  };
497
501
  readonly submission_cooldown_ready: "Submit is available again.";
498
502
  readonly captcha_check: "One quick check before we send your application";
499
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
503
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
500
504
  readonly file_preparing: {
501
505
  readonly one: "Preparing your file…";
502
506
  readonly other: "Preparing your files…";
@@ -526,8 +530,8 @@ export declare const TranslationProvider: (props: {
526
530
  readonly complete_submission: "Complete submission";
527
531
  readonly submission_completed: "Submission completed!";
528
532
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
529
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
530
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
533
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
534
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
531
535
  readonly submission_available_at: "Submit will be available again at {{time}}.";
532
536
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
533
537
  readonly resume_continue: "Continue";
@@ -567,6 +571,7 @@ export declare const TranslationProvider: (props: {
567
571
  readonly validation_number: "Please enter a valid number";
568
572
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
569
573
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
574
+ readonly validation_number_whole: "Enter a whole number";
570
575
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
571
576
  readonly validation_file: "Please select a file";
572
577
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -614,7 +619,7 @@ export declare const TranslationProvider: (props: {
614
619
  };
615
620
  readonly submission_cooldown_ready: "Submit is available again.";
616
621
  readonly captcha_check: "One quick check before we send your application";
617
- readonly submission_still_working: "Still working — the employer's application system is taking a little longer than usual. Please keep this window open.";
622
+ readonly submission_still_working: "Sending your application, this can take up to a minute. Please keep this page open.";
618
623
  readonly file_preparing: {
619
624
  readonly one: "Preparing your file…";
620
625
  readonly other: "Preparing your files…";
@@ -644,8 +649,8 @@ export declare const TranslationProvider: (props: {
644
649
  readonly complete_submission: "Complete submission";
645
650
  readonly submission_completed: "Submission completed!";
646
651
  readonly submission_pending: "Thanks, we've received your application and are processing it.";
647
- readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
648
- readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Your answers are saved, so you can come back after then and submit your application. We apologise for the inconvenience.";
652
+ readonly submission_provider_maintenance: "Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
653
+ readonly submission_provider_maintenance_later: "Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.";
649
654
  readonly submission_available_at: "Submit will be available again at {{time}}.";
650
655
  readonly resume_prompt: "You have an unfinished application for this role. Continue where you left off?";
651
656
  readonly resume_continue: "Continue";
@@ -685,6 +690,7 @@ export declare const TranslationProvider: (props: {
685
690
  readonly validation_number: "Please enter a valid number";
686
691
  readonly validation_number_min: "Please enter a number greater than or equal to {{min}}";
687
692
  readonly validation_number_max: "Please enter a number less than or equal to {{max}}";
693
+ readonly validation_number_whole: "Enter a whole number";
688
694
  readonly validation_number_decimal_cases: "Please enter a number with at most {{count}} decimal cases";
689
695
  readonly validation_file: "Please select a file";
690
696
  readonly validation_file_ext: "Please only upload {{ext}} files";
@@ -0,0 +1,5 @@
1
+ "use strict";const Pt=require("@inploi/sdk");var J;function Ni(t){return{lang:(t==null?void 0:t.lang)??(J==null?void 0:J.lang),message:t==null?void 0:t.message,abortEarly:(t==null?void 0:t.abortEarly)??(J==null?void 0:J.abortEarly),abortPipeEarly:(t==null?void 0:t.abortPipeEarly)??(J==null?void 0:J.abortPipeEarly)}}var ne;function Ya(t){return ne==null?void 0:ne.get(t)}var re;function qa(t){return re==null?void 0:re.get(t)}var se;function Ka(t,e){var i;return(i=se==null?void 0:se.get(t))==null?void 0:i.get(e)}function ji(t){var i,a;let e=typeof t;return e==="string"?`"${t}"`:e==="number"||e==="bigint"||e==="boolean"?`${t}`:e==="object"||e==="function"?(t&&((a=(i=Object.getPrototypeOf(t))==null?void 0:i.constructor)==null?void 0:a.name))??"null":e}function Y(t,e,i,a,o){let n=o&&"input"in o?o.input:i.value,r=(o==null?void 0:o.expected)??t.expects??null,s=(o==null?void 0:o.received)??ji(n),l={kind:t.kind,type:t.type,input:n,expected:r,received:s,message:`Invalid ${e}: ${r?`Expected ${r} but r`:"R"}eceived ${s}`,requirement:t.requirement,path:o==null?void 0:o.path,issues:o==null?void 0:o.issues,lang:a.lang,abortEarly:a.abortEarly,abortPipeEarly:a.abortPipeEarly},d=t.kind==="schema",u=(o==null?void 0:o.message)??t.message??Ka(t.reference,l.lang)??(d?qa(l.lang):null)??a.message??Ya(l.lang);u!==void 0&&(l.message=typeof u=="function"?u(l):u),d&&(i.typed=!1),i.issues?i.issues.push(l):i.issues=[l]}function M(t){return{version:1,vendor:"valibot",validate(e){return t["~run"]({value:e},Ni())}}}function Za(t,e){return Object.hasOwn(t,e)&&e!=="__proto__"&&e!=="prototype"&&e!=="constructor"}function Ga(t,e){let i=[...new Set(t)];return i.length>1?`(${i.join(` ${e} `)})`:i[0]??"never"}function Fi(t){return{kind:"transformation",type:"transform",reference:Fi,async:!1,operation:t,"~run"(e){return e.value=this.operation(e.value),e}}}function Xa(t,e,i){return typeof t.fallback=="function"?t.fallback(e,i):t.fallback}function Fe(t,e,i){return typeof t.default=="function"?t.default(e,i):t.default}function Mi(){return{kind:"schema",type:"any",reference:Mi,expects:"any",async:!1,get"~standard"(){return M(this)},"~run"(t){return t.typed=!0,t}}}function Li(t,e){return{kind:"schema",type:"array",reference:Li,expects:"Array",async:!1,item:t,message:e,get"~standard"(){return M(this)},"~run"(i,a){var n;let o=i.value;if(Array.isArray(o)){i.typed=!0,i.value=[];for(let r=0;r<o.length;r++){let s=o[r],l=this.item["~run"]({value:s},a);if(l.issues){let d={type:"array",origin:"value",input:o,key:r,value:s};for(let u of l.issues)u.path?u.path.unshift(d):u.path=[d],(n=i.issues)==null||n.push(u);if(i.issues||(i.issues=l.issues),a.abortEarly){i.typed=!1;break}}l.typed||(i.typed=!1),i.value.push(l.value)}}else Y(this,"type",i,a);return i}}}function Me(t){return{kind:"schema",type:"boolean",reference:Me,expects:"boolean",async:!1,message:t,get"~standard"(){return M(this)},"~run"(e,i){return typeof e.value=="boolean"?e.typed=!0:Y(this,"type",e,i),e}}}function ut(t,e){return{kind:"schema",type:"literal",reference:ut,expects:ji(t),async:!1,literal:t,message:e,get"~standard"(){return M(this)},"~run"(i,a){return i.value===this.literal?i.typed=!0:Y(this,"type",i,a),i}}}function Bi(t){return{kind:"schema",type:"null",reference:Bi,expects:"null",async:!1,message:t,get"~standard"(){return M(this)},"~run"(e,i){return e.value===null?e.typed=!0:Y(this,"type",e,i),e}}}function Ht(t,e){return{kind:"schema",type:"nullable",reference:Ht,expects:`(${t.expects} | null)`,async:!1,wrapped:t,default:e,get"~standard"(){return M(this)},"~run"(i,a){return i.value===null&&(this.default!==void 0&&(i.value=Fe(this,i,a)),i.value===null)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function Ut(t){return{kind:"schema",type:"number",reference:Ut,expects:"number",async:!1,message:t,get"~standard"(){return M(this)},"~run"(e,i){return typeof e.value=="number"&&!isNaN(e.value)?e.typed=!0:Y(this,"type",e,i),e}}}function P(t,e){return{kind:"schema",type:"object",reference:P,expects:"Object",async:!1,entries:t,message:e,get"~standard"(){return M(this)},"~run"(i,a){var n;let o=i.value;if(o&&typeof o=="object"){i.typed=!0,i.value={};for(let r in this.entries){let s=this.entries[r];if(r in o||(s.type==="exact_optional"||s.type==="optional"||s.type==="nullish")&&s.default!==void 0){let l=r in o?o[r]:Fe(s),d=s["~run"]({value:l},a);if(d.issues){let u={type:"object",origin:"value",input:o,key:r,value:l};for(let c of d.issues)c.path?c.path.unshift(u):c.path=[u],(n=i.issues)==null||n.push(c);if(i.issues||(i.issues=d.issues),a.abortEarly){i.typed=!1;break}}d.typed||(i.typed=!1),i.value[r]=d.value}else if(s.fallback!==void 0)i.value[r]=Xa(s);else if(s.type!=="exact_optional"&&s.type!=="optional"&&s.type!=="nullish"&&(Y(this,"key",i,a,{input:void 0,expected:`"${r}"`,path:[{type:"object",origin:"key",input:o,key:r,value:o[r]}]}),a.abortEarly))break}}else Y(this,"type",i,a);return i}}}function F(t,e){return{kind:"schema",type:"optional",reference:F,expects:`(${t.expects} | undefined)`,async:!1,wrapped:t,default:e,get"~standard"(){return M(this)},"~run"(i,a){return i.value===void 0&&(this.default!==void 0&&(i.value=Fe(this,i,a)),i.value===void 0)?(i.typed=!0,i):this.wrapped["~run"](i,a)}}}function Ri(t,e,i){return{kind:"schema",type:"record",reference:Ri,expects:"Object",async:!1,key:t,value:e,message:i,get"~standard"(){return M(this)},"~run"(a,o){var r,s;let n=a.value;if(n&&typeof n=="object"){a.typed=!0,a.value={};for(let l in n)if(Za(n,l)){let d=n[l],u=this.key["~run"]({value:l},o);if(u.issues){let w={type:"object",origin:"key",input:n,key:l,value:d};for(let v of u.issues)v.path=[w],(r=a.issues)==null||r.push(v);if(a.issues||(a.issues=u.issues),o.abortEarly){a.typed=!1;break}}let c=this.value["~run"]({value:d},o);if(c.issues){let w={type:"object",origin:"value",input:n,key:l,value:d};for(let v of c.issues)v.path?v.path.unshift(w):v.path=[w],(s=a.issues)==null||s.push(v);if(a.issues||(a.issues=c.issues),o.abortEarly){a.typed=!1;break}}(!u.typed||!c.typed)&&(a.typed=!1),u.typed&&(a.value[u.value]=c.value)}}else Y(this,"type",a,o);return a}}}function H(t){return{kind:"schema",type:"string",reference:H,expects:"string",async:!1,message:t,get"~standard"(){return M(this)},"~run"(e,i){return typeof e.value=="string"?e.typed=!0:Y(this,"type",e,i),e}}}function Qe(t){let e;if(t)for(let i of t)e?e.push(...i.issues):e=i.issues;return e}function Le(t,e){return{kind:"schema",type:"union",reference:Le,expects:Ga(t.map(i=>i.expects),"|"),async:!1,options:t,message:e,get"~standard"(){return M(this)},"~run"(i,a){let o,n,r;for(let s of this.options){let l=s["~run"]({value:i.value},a);if(l.typed)if(l.issues)n?n.push(l):n=[l];else{o=l;break}else r?r.push(l):r=[l]}if(o)return o;if(n){if(n.length===1)return n[0];Y(this,"type",i,a,{issues:Qe(n)}),i.typed=!0}else{if((r==null?void 0:r.length)===1)return r[0];Y(this,"type",i,a,{issues:Qe(r)})}return i}}}function Tt(){return{kind:"schema",type:"unknown",reference:Tt,expects:"unknown",async:!1,get"~standard"(){return M(this)},"~run"(t){return t.typed=!0,t}}}function Ja(...t){return{...t[0],pipe:t,get"~standard"(){return M(this)},"~run"(e,i){for(let a of t)if(a.kind!=="metadata"){if(e.issues&&(a.kind==="schema"||a.kind==="transformation")){e.typed=!1;break}(!e.issues||!i.abortEarly&&!i.abortPipeEarly)&&(e=a["~run"](e,i))}return e}}}function Qt(t,e,i){let a=t["~run"]({value:e},Ni(i));return{typed:a.typed,success:!a.issues,output:a.value,issues:a.issues}}var Qa=t=>({ok:!0,err:!1,val:t}),to=t=>({err:!0,ok:!1,val:t}),Be=t=>t.filter(e=>(e.type==="question-boolean"||e.type==="question-enum")&&!!e.data.preApply);function Hi(t,e,i){var r,s;let a=t.find(l=>l.type==="pre-apply-result");if(!a)return;let o=(r=e[a.data.participationKey])==null?void 0:r.value,n={};if(o===!0)for(let l of Be(t)){let d=(s=e[l.data.key])==null?void 0:s.value;Array.isArray(d)&&d.length===1&&(d=d[0]),(typeof d=="boolean"||typeof d=="string")&&(n[l.data.key]=d)}return{node_id:a.id,flow_session_id:i,participation:o,answers:n}}function eo(t,e){let i=Hi(t,e,""),a=Be(t).map(n=>{let r=n.data.preApply,s=i==null?void 0:i.answers[n.data.key],l=n.type==="question-boolean"?typeof s=="boolean":n.data.options.some(d=>d.value===s);return{key:n.data.key,severity:r.severity,message:r.mismatchMessage,matched:l&&s===r.expectedValue,valid:l}}),o=(i==null?void 0:i.participation)===!1?"skipped":(i==null?void 0:i.participation)===!0&&a.length>0&&a.every(n=>n.valid)?"completed":"unavailable";return{status:o,hasHardConcerns:o==="completed"?a.some(n=>!n.matched&&n.severity==="hard"):null,hasAdvisoryConcerns:o==="completed"?a.some(n=>!n.matched&&n.severity==="advisory"):null,answers:o==="completed"?a:[]}}function io(t,e){let i=new Set(Be(t).map(a=>a.data.key));for(let a of t)a.type==="pre-apply-result"&&(i.add(a.data.key),i.add(a.data.participationKey));return Object.fromEntries(Object.entries(e).filter(([a])=>!i.has(a)))}var ct=class extends Error{constructor(){super("Aborted")}},Re=(t,e)=>{if(e.length===0)return;let i=t;for(let a of e){if(i==null||typeof i!="object")return;i=i[a]}return i},ao=(t,e="all")=>{let i={},a=e==="all"?null:new Set(e);for(let o in t){let n=t[o];n&&(a&&!a.has(o)||(i[o]=n.value))}return i},Ui=(t,e)=>{let i=new Set(t.flatMap(a=>a.type==="add-submission"?[a.data.key]:[]));return Object.entries(e).some(([a,o])=>o!==void 0&&o.type!=="integration"&&!i.has(a))},oo=({key:t,submissions:e})=>{var a;let i=(a=e[t])==null?void 0:a.value;if(typeof i!="string"&&typeof i!="number")throw new Error(`Submission at “${t}” is not a string or number`);return i},no=({key:t,path:e,submissions:i,context:a})=>{if(t==="$context"){if(!e)return;let o=Re(a,e);switch(typeof o){case"string":return{type:"string",value:o};case"number":return{type:"number",value:o};case"boolean":return{type:"boolean",value:o};default:console.warn(`Unexpected type for $context.${e.join(".")}`,o);return}}return i[t]},ro=t=>{let e=t.split(".").pop();return e?Qa(e?"."+e:""):to("No file extension found")},so=(t,e)=>{if(e.length===0)return!0;let i=e.map(a=>a.toLowerCase());return t.every(a=>{let o=ro(a.name);return o.ok&&i.includes(o.val.toLowerCase())})},lo=t=>t<=1e3?`${Math.round(t)}KB`:t<1e3*10?`${(t/1e3).toFixed(1)}MB`:`${Math.round(t/1e3)}MB`,co=t=>typeof t=="string"?t:`+${t.countryCode} ${t.phoneNumber}`,uo=P({integration_response:P({data:P({redirect_url:H(),message:F(Ht(H())),button_text:F(Ht(H()))})})}),Wi=t=>Qt(uo,t).success,po=P({integration_response:P({status:F(Tt()),error:P({message:H(),data:F(Tt())})})}),Vi=t=>Qt(po,t).success,ho=P({success:ut(!0),integration_response:P({data:P({outcome:ut("pending"),message:F(Tt())}),error:F(Bi())})}),Yi=t=>{let e=Qt(ho,t);if(!e.success||Wi(t))return;let{message:i}=e.output.integration_response.data;return typeof i=="string"&&i.trim()?{message:i}:{}};P({success:ut(!1),message:F(Tt())});var fo=P({error:ut("Validation failed"),messages:P({})}),wo=(t,e)=>e===422&&Qt(fo,t).success,go=(t,e)=>{if(!Vi(t))return;let i=t.integration_response,a=i.error.data,o=typeof a=="object"&&a!==null?a:{},n=h=>typeof o[h]=="string"?o[h]:void 0,r=h=>typeof o[h]=="boolean"?o[h]:void 0,s=h=>{let _=o[h];return Number.isSafeInteger(_)&&_>=0?_:void 0},l=h=>{let _=n(h),A=_===void 0?NaN:Date.parse(_);return Number.isFinite(A)?A:void 0},d=typeof i.status=="number"?i.status:e,u=n("phase"),c=n("verdict"),w=n("code"),v=d===409&&u==="submit"&&c==="confirmed"?"duplicate":d===410&&w==="job_closed"?"closed":u==="submit"&&c==="unknown"?"unknown":void 0;return{message:i.error.message,status:d,phase:u,providerStatus:s("provider_status"),retryAfterSeconds:s("retry_after_seconds"),retryable:r("retryable"),verdict:c,code:w,reason:n("reason"),maintenanceUntil:l("maintenance_until"),field:n("field"),outcome:v}},qi=3e4,bo=2e4,vo=6e4,Ki=12e4,Zi=6*60*6e4,_o=60*6e4,Gi=t=>{let e=(t==null?void 0:t.reason)==="provider_maintenance"?t.maintenanceUntil:void 0,i=e===void 0?0:e-Date.now();return i>0&&i<=Zi?e:void 0},mo=t=>{if((t==null?void 0:t.reason)!=="provider_maintenance"||t.outcome==="unknown")return;let e=Gi(t);return e===void 0?{}:{until:e}},yo=(t,e)=>new Intl.DateTimeFormat(e,{hour:"numeric",minute:"2-digit"}).format(t),xo=(t,e)=>{let i=Gi(e);if(i!==void 0)return{waitMs:i-Date.now(),throttles:(t??0)+1,maintenance:!0};if(!((e==null?void 0:e.reason)==="provider_maintenance"||(e==null?void 0:e.retryable)===!0&&(e.providerStatus===429||e.providerStatus!==void 0&&e.providerStatus>=500||e.phase==="workflow"&&e.verdict==="not_submitted")))return{waitMs:qi};let a=(t??0)+1,o=Math.min(a*bo,vo),n=(e.retryAfterSeconds??0)*1e3;return{waitMs:Math.min(Math.max(o,n),Ki),throttles:a}},ko=t=>(t==null?void 0:t.code)==="captcha_failed"&&t.verdict==="not_submitted",$o=t=>{if(!Vi(t))return!1;let e=t.integration_response.error.data;return typeof e=="object"&&e!==null&&"fallback"in e&&e.fallback==="contact"},So=t=>((t==null?void 0:t.phase)==="workflow"||(t==null?void 0:t.phase)==="authentication"||(t==null?void 0:t.code)==="captcha_failed")&&t.retryable===!0&&t.verdict==="not_submitted",Co=t=>(t==null?void 0:t.outcome)==="unknown"&&t.code==="repeatable_provider_crash",Eo=t=>(t==null?void 0:t.phase)==="submit"&&t.verdict==="confirmed"&&t.code==="unreadable_document"&&typeof t.field=="string"&&t.status!==void 0&&t.status>=400&&t.status<500?t.field:void 0,Po=(t,e)=>{if(typeof t!="object"||t===null)return null;let i=t.integration_response;if(typeof i!="object"||i===null){if(e===void 0)return null;let l="code"in t&&typeof t.code=="string"?t.code:void 0;return{service:"API",response:{status:e,payload:l===void 0?{}:{code:l}}}}let a=i;if(typeof a.status!="number"||a.service!==void 0&&typeof a.service!="string")return null;let o="data"in a,n=a.error,r=typeof n=="object"&&n!==null&&typeof n.message=="string"&&"data"in n;if(!o&&!r)return null;let s=o?a.data:n.data??null;return{service:a.service??"INVALID_SERVICE",response:{status:a.status,payload:s},...Yi(t)&&{outcome:"pending"}}},To=t=>{if(!/^\d{4}-\d{2}-\d{2}$/.test(t))return!1;let e=new Date(`${t}T00:00:00Z`);return Number.isFinite(e.getTime())&&e.toISOString().slice(0,10)===t},Io=(t,e)=>{if(!To(t))throw new RangeError("Invalid ISO calendar date");return new Intl.DateTimeFormat(e,{dateStyle:"long",timeZone:"UTC"}).format(new Date(`${t}T00:00:00Z`))},Ao=({context:t,schema:e,logger:i})=>{if(e)for(let a in e){let o=e[a];if(!o)continue;let n=Re(t,a.split("."));if(o.required&&n==null){let r=`Configuration error in context: ${a} is required`;throw i.error(r),new Error(r)}if(n!=null)switch(o.type){case"number":if(typeof n!="number")throw new Error(`Configuration error in context: ${a} is not a number`);break;case"string":if(typeof n!="string")throw new Error(`Configuration error in context: ${a} is not a string`);break;default:o.type}}},Xi=Ja(Le([H(),Ut()]),Fi(String)),Ji=P({id:Xi,version:Ut(),build:Ut(),nodes:Li(Mi()),context_schema:F(Ht(Ri(H(),P({required:Me(),type:Le([ut("string"),ut("number")])}))))}),zo=P({flow:Ji}),Do=P({company:P({name:H()}),flow:Ji,job:P({id:Xi,title:H()}),user:F(P({city:F(H()),country:F(H()),isEU:F(Me()),continent:F(H())}))}),Oo=(t,e)=>({id:t.job.id,id_type:(e==null?void 0:e.idType)==="internal"&&e.id===t.job.id?"internal":"external"}),No=Pt.endpoint({pathname:"/flow/job/:id",method:"GET",schema:{searchParams:Pt.typed(),response:Do}}),jo=Pt.endpoint({pathname:"/flow/id/:id",method:"GET",schema:{response:zo}}),zt,f,Qi,ta,lt,ti,ea,_e,ia,ft={},aa=[],Fo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,te=Array.isArray;function Q(t,e){for(var i in e)t[i]=e[i];return t}function oa(t){var e=t.parentNode;e&&e.removeChild(t)}function R(t,e,i){var a,o,n,r={};for(n in e)n=="key"?a=e[n]:n=="ref"?o=e[n]:r[n]=e[n];if(arguments.length>2&&(r.children=arguments.length>3?zt.call(arguments,2):i),typeof t=="function"&&t.defaultProps!=null)for(n in t.defaultProps)r[n]===void 0&&(r[n]=t.defaultProps[n]);return $t(t,r,a,o,null)}function $t(t,e,i,a,o){var n={type:t,props:e,key:i,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++Qi};return o==null&&f.vnode!=null&&f.vnode(n),n}function Mo(){return{current:null}}function U(t){return t.children}function V(t,e){this.props=t,this.context=e}function Wt(t,e){if(e==null)return t.__?Wt(t.__,t.__.__k.indexOf(t)+1):null;for(var i;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null)return i.__e;return typeof t.type=="function"?Wt(t):null}function na(t){var e,i;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((i=t.__k[e])!=null&&i.__e!=null){t.__e=t.__c.base=i.__e;break}return na(t)}}function me(t){(!t.__d&&(t.__d=!0)&&lt.push(t)&&!Vt.__r++||ti!==f.debounceRendering)&&((ti=f.debounceRendering)||ea)(Vt)}function Vt(){var t,e,i,a,o,n,r,s,l;for(lt.sort(_e);t=lt.shift();)t.__d&&(e=lt.length,a=void 0,o=void 0,n=void 0,s=(r=(i=t).__v).__e,(l=i.__P)&&(a=[],o=[],(n=Q({},r)).__v=r.__v+1,He(l,r,n,i.__n,l.ownerSVGElement!==void 0,r.__h!=null?[s]:null,a,s??Wt(r),r.__h,o),ca(a,r,o),r.__e!=s&&na(r)),lt.length>e&&lt.sort(_e));Vt.__r=0}function ra(t,e,i,a,o,n,r,s,l,d,u){var c,w,v,h,_,A,g,b,y,C,T=0,D=a&&a.__k||aa,q=D.length,K=q,O=e.length;for(i.__k=[],c=0;c<O;c++)(h=i.__k[c]=(h=e[c])==null||typeof h=="boolean"||typeof h=="function"?null:typeof h=="string"||typeof h=="number"||typeof h=="bigint"?$t(null,h,null,null,h):te(h)?$t(U,{children:h},null,null,null):h.__b>0?$t(h.type,h.props,h.key,h.ref?h.ref:null,h.__v):h)!=null&&(h.__=i,h.__b=i.__b+1,(b=Lo(h,D,g=c+T,K))===-1?v=ft:(v=D[b]||ft,D[b]=void 0,K--),He(t,h,v,o,n,r,s,l,d,u),_=h.__e,(w=h.ref)&&v.ref!=w&&(v.ref&&Ue(v.ref,null,h),u.push(w,h.__c||_,h)),_!=null&&(A==null&&(A=_),C=!(y=v===ft||v.__v===null)&&b===g,y?b==-1&&T--:b!==g&&(b===g+1?(T++,C=!0):b>g?K>O-g?(T+=b-g,C=!0):T--:T=b<g&&b==g-1?b-g:0),g=c+T,C=C||b==c&&!y,typeof h.type!="function"||b===g&&v.__k!==h.__k?typeof h.type=="function"||C?h.__d!==void 0?(l=h.__d,h.__d=void 0):l=_.nextSibling:l=la(t,_,l):l=sa(h,l,t),typeof i.type=="function"&&(i.__d=l)));for(i.__e=A,c=q;c--;)D[c]!=null&&(typeof i.type=="function"&&D[c].__e!=null&&D[c].__e==i.__d&&(i.__d=D[c].__e.nextSibling),da(D[c],D[c]))}function sa(t,e,i){for(var a,o=t.__k,n=0;o&&n<o.length;n++)(a=o[n])&&(a.__=t,e=typeof a.type=="function"?sa(a,e,i):la(i,a.__e,e));return e}function tt(t,e){return e=e||[],t==null||typeof t=="boolean"||(te(t)?t.some(function(i){tt(i,e)}):e.push(t)),e}function la(t,e,i){return i==null||i.parentNode!==t?t.insertBefore(e,null):e==i&&e.parentNode!=null||t.insertBefore(e,i),e.nextSibling}function Lo(t,e,i,a){var o=t.key,n=t.type,r=i-1,s=i+1,l=e[i];if(l===null||l&&o==l.key&&n===l.type)return i;if(a>(l!=null?1:0))for(;r>=0||s<e.length;){if(r>=0){if((l=e[r])&&o==l.key&&n===l.type)return r;r--}if(s<e.length){if((l=e[s])&&o==l.key&&n===l.type)return s;s++}}return-1}function Bo(t,e,i,a,o){var n;for(n in i)n==="children"||n==="key"||n in e||Yt(t,n,null,i[n],a);for(n in e)o&&typeof e[n]!="function"||n==="children"||n==="key"||n==="value"||n==="checked"||i[n]===e[n]||Yt(t,n,e[n],i[n],a)}function ei(t,e,i){e[0]==="-"?t.setProperty(e,i??""):t[e]=i==null?"":typeof i!="number"||Fo.test(e)?i:i+"px"}function Yt(t,e,i,a,o){var n;t:if(e==="style")if(typeof i=="string")t.style.cssText=i;else{if(typeof a=="string"&&(t.style.cssText=a=""),a)for(e in a)i&&e in i||ei(t.style,e,"");if(i)for(e in i)a&&i[e]===a[e]||ei(t.style,e,i[e])}else if(e[0]==="o"&&e[1]==="n")n=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+n]=i,i?a||t.addEventListener(e,n?ai:ii,n):t.removeEventListener(e,n?ai:ii,n);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]=i??"";break t}catch{}typeof i=="function"||(i==null||i===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,i))}}function ii(t){return this.l[t.type+!1](f.event?f.event(t):t)}function ai(t){return this.l[t.type+!0](f.event?f.event(t):t)}function He(t,e,i,a,o,n,r,s,l,d){var u,c,w,v,h,_,A,g,b,y,C,T,D,q,K,O=e.type;if(e.constructor!==void 0)return null;i.__h!=null&&(l=i.__h,s=e.__e=i.__e,e.__h=null,n=[s]),(u=f.__b)&&u(e);try{t:if(typeof O=="function"){if(g=e.props,b=(u=O.contextType)&&a[u.__c],y=u?b?b.props.value:u.__:a,i.__c?A=(c=e.__c=i.__c).__=c.__E:("prototype"in O&&O.prototype.render?e.__c=c=new O(g,y):(e.__c=c=new V(g,y),c.constructor=O,c.render=Ho),b&&b.sub(c),c.props=g,c.state||(c.state={}),c.context=y,c.__n=a,w=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Q({},c.__s)),Q(c.__s,O.getDerivedStateFromProps(g,c.__s))),v=c.props,h=c.state,c.__v=e,w)O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(O.getDerivedStateFromProps==null&&g!==v&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(g,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(g,c.__s,y)===!1||e.__v===i.__v)){for(e.__v!==i.__v&&(c.props=g,c.state=c.__s,c.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach(function(Nt){Nt&&(Nt.__=e)}),C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[],c.__h.length&&r.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(g,c.__s,y),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(v,h,_)})}if(c.context=y,c.props=g,c.__P=t,c.__e=!1,T=f.__r,D=0,"prototype"in O&&O.prototype.render){for(c.state=c.__s,c.__d=!1,T&&T(e),u=c.render(c.props,c.state,c.context),q=0;q<c._sb.length;q++)c.__h.push(c._sb[q]);c._sb=[]}else do c.__d=!1,T&&T(e),u=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++D<25);c.state=c.__s,c.getChildContext!=null&&(a=Q(Q({},a),c.getChildContext())),w||c.getSnapshotBeforeUpdate==null||(_=c.getSnapshotBeforeUpdate(v,h)),ra(t,te(K=u!=null&&u.type===U&&u.key==null?u.props.children:u)?K:[K],e,i,a,o,n,r,s,l,d),c.base=e.__e,e.__h=null,c.__h.length&&r.push(c),A&&(c.__E=c.__=null)}else n==null&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=Ro(i.__e,e,i,a,o,n,r,l,d);(u=f.diffed)&&u(e)}catch(Nt){e.__v=null,(l||n!=null)&&(e.__e=s,e.__h=!!l,n[n.indexOf(s)]=null),f.__e(Nt,e,i)}}function ca(t,e,i){for(var a=0;a<i.length;a++)Ue(i[a],i[++a],i[++a]);f.__c&&f.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(n){n.call(o)})}catch(n){f.__e(n,o.__v)}})}function Ro(t,e,i,a,o,n,r,s,l){var d,u,c,w=i.props,v=e.props,h=e.type,_=0;if(h==="svg"&&(o=!0),n!=null){for(;_<n.length;_++)if((d=n[_])&&"setAttribute"in d==!!h&&(h?d.localName===h:d.nodeType===3)){t=d,n[_]=null;break}}if(t==null){if(h===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,v.is&&v),n=null,s=!1}if(h===null)w===v||s&&t.data===v||(t.data=v);else{if(n=n&&zt.call(t.childNodes),u=(w=i.props||ft).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!s){if(n!=null)for(w={},_=0;_<t.attributes.length;_++)w[t.attributes[_].name]=t.attributes[_].value;(c||u)&&(c&&(u&&c.__html==u.__html||c.__html===t.innerHTML)||(t.innerHTML=c&&c.__html||""))}if(Bo(t,v,w,o,s),c)e.__k=[];else if(ra(t,te(_=e.props.children)?_:[_],e,i,a,o&&h!=="foreignObject",n,r,n?n[0]:i.__k&&Wt(i,0),s,l),n!=null)for(_=n.length;_--;)n[_]!=null&&oa(n[_]);s||("value"in v&&(_=v.value)!==void 0&&(_!==t.value||h==="progress"&&!_||h==="option"&&_!==w.value)&&Yt(t,"value",_,w.value,!1),"checked"in v&&(_=v.checked)!==void 0&&_!==t.checked&&Yt(t,"checked",_,w.checked,!1))}return t}function Ue(t,e,i){try{typeof t=="function"?t(e):t.current=e}catch(a){f.__e(a,i)}}function da(t,e,i){var a,o;if(f.unmount&&f.unmount(t),(a=t.ref)&&(a.current&&a.current!==t.__e||Ue(a,null,e)),(a=t.__c)!=null){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(n){f.__e(n,e)}a.base=a.__P=null,t.__c=void 0}if(a=t.__k)for(o=0;o<a.length;o++)a[o]&&da(a[o],e,i||typeof t.type!="function");i||t.__e==null||oa(t.__e),t.__=t.__e=t.__d=void 0}function Ho(t,e,i){return this.constructor(t,i)}function pt(t,e,i){var a,o,n,r;f.__&&f.__(t,e),o=(a=typeof i=="function")?null:i&&i.__k||e.__k,n=[],r=[],He(e,t=(!a&&i||e).__k=R(U,null,[t]),o||ft,ft,e.ownerSVGElement!==void 0,!a&&i?[i]:o?null:e.firstChild?zt.call(e.childNodes):null,n,!a&&i?i:o?o.__e:e.firstChild,a,r),ca(n,t,r)}function ua(t,e){pt(t,e,ua)}function Uo(t,e,i){var a,o,n,r,s=Q({},t.props);for(n in t.type&&t.type.defaultProps&&(r=t.type.defaultProps),e)n=="key"?a=e[n]:n=="ref"?o=e[n]:s[n]=e[n]===void 0&&r!==void 0?r[n]:e[n];return arguments.length>2&&(s.children=arguments.length>3?zt.call(arguments,2):i),$t(t.type,s,a||t.key,o||t.ref,null)}function pa(t,e){var i={__c:e="__cC"+ia++,__:t,Consumer:function(a,o){return a.children(o)},Provider:function(a){var o,n;return this.getChildContext||(o=[],(n={})[e]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(r){this.props.value!==r.value&&o.some(function(s){s.__e=!0,me(s)})},this.sub=function(r){o.push(r);var s=r.componentWillUnmount;r.componentWillUnmount=function(){o.splice(o.indexOf(r),1),s&&s.call(r)}}),a.children}};return i.Provider.__=i.Consumer.contextType=i}zt=aa.slice,f={__e:function(t,e,i,a){for(var o,n,r;e=e.__;)if((o=e.__c)&&!o.__)try{if((n=o.constructor)&&n.getDerivedStateFromError!=null&&(o.setState(n.getDerivedStateFromError(t)),r=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,a||{}),r=o.__d),r)return o.__E=o}catch(s){t=s}throw t}},Qi=0,ta=function(t){return t!=null&&t.constructor===void 0},V.prototype.setState=function(t,e){var i;i=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Q({},this.state),typeof t=="function"&&(t=t(Q({},i),this.props)),t&&Q(i,t),t!=null&&this.__v&&(e&&this._sb.push(e),me(this))},V.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),me(this))},V.prototype.render=U,lt=[],ea=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_e=function(t,e){return t.__v.__b-e.__v.__b},Vt.__r=0,ia=0;function ha(t){var e,i,a="";if(typeof t=="string"||typeof t=="number")a+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(i=ha(t[e]))&&(a&&(a+=" "),a+=i)}else for(i in t)t[i]&&(a&&(a+=" "),a+=i);return a}function ee(){for(var t,e,i=0,a="",o=arguments.length;i<o;i++)(t=arguments[i])&&(e=ha(t))&&(a&&(a+=" "),a+=e);return a}const oi=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,ni=ee,ie=(t,e)=>i=>{var a;if((e==null?void 0:e.variants)==null)return ni(t,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:o,defaultVariants:n}=e,r=Object.keys(o).map(d=>{const u=i==null?void 0:i[d],c=n==null?void 0:n[d];if(u===null)return null;const w=oi(u)||oi(c);return o[d][w]}),s=i&&Object.entries(i).reduce((d,u)=>{let[c,w]=u;return w===void 0||(d[c]=w),d},{}),l=e==null||(a=e.compoundVariants)===null||a===void 0?void 0:a.reduce((d,u)=>{let{class:c,className:w,...v}=u;return Object.entries(v).every(h=>{let[_,A]=h;return Array.isArray(A)?A.includes({...n,...s}[_]):{...n,...s}[_]===A})?[...d,c,w]:d},[]);return ni(t,r,l,i==null?void 0:i.class,i==null?void 0:i.className)};var nt,S,le,ri,gt=0,fa=[],Ft=[],si=f.__b,li=f.__r,ci=f.diffed,di=f.__c,ui=f.unmount;function vt(t,e){f.__h&&f.__h(S,t,gt||e),gt=0;var i=S.__H||(S.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:Ft}),i.__[t]}function We(t){return gt=1,wa(ba,t)}function wa(t,e,i){var a=vt(nt++,2);if(a.t=t,!a.__c&&(a.__=[i?i(e):ba(void 0,e),function(s){var l=a.__N?a.__N[0]:a.__[0],d=a.t(l,s);l!==d&&(a.__N=[d,a.__[1]],a.__c.setState({}))}],a.__c=S,!S.u)){var o=function(s,l,d){if(!a.__c.__H)return!0;var u=a.__c.__H.__.filter(function(w){return w.__c});if(u.every(function(w){return!w.__N}))return!n||n.call(this,s,l,d);var c=!1;return u.forEach(function(w){if(w.__N){var v=w.__[0];w.__=w.__N,w.__N=void 0,v!==w.__[0]&&(c=!0)}}),!(!c&&a.__c.props===s)&&(!n||n.call(this,s,l,d))};S.u=!0;var n=S.shouldComponentUpdate,r=S.componentWillUpdate;S.componentWillUpdate=function(s,l,d){if(this.__e){var u=n;n=void 0,o(s,l,d),n=u}r&&r.call(this,s,l,d)},S.shouldComponentUpdate=o}return a.__N||a.__}function Ve(t,e){var i=vt(nt++,3);!f.__s&&Ye(i.__H,e)&&(i.__=t,i.i=e,S.__H.__h.push(i))}function ht(t,e){var i=vt(nt++,4);!f.__s&&Ye(i.__H,e)&&(i.__=t,i.i=e,S.__h.push(i))}function bt(t){return gt=5,rt(function(){return{current:t}},[])}function Wo(t,e,i){gt=6,ht(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},i==null?i:i.concat(t))}function rt(t,e){var i=vt(nt++,7);return Ye(i.__H,e)?(i.__V=t(),i.i=e,i.__h=t,i.__V):i.__}function Vo(t,e){return gt=8,rt(function(){return t},e)}function ga(t){var e=S.context[t.__c],i=vt(nt++,9);return i.c=t,e?(i.__==null&&(i.__=!0,e.sub(S)),e.props.value):t.__}function Yo(t,e){f.useDebugValue&&f.useDebugValue(e?e(t):t)}function qo(){var t=vt(nt++,11);if(!t.__){for(var e=S.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var i=e.__m||(e.__m=[0,0]);t.__="P"+i[0]+"-"+i[1]++}return t.__}function Ko(){for(var t;t=fa.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Mt),t.__H.__h.forEach(ye),t.__H.__h=[]}catch(e){t.__H.__h=[],f.__e(e,t.__v)}}f.__b=function(t){S=null,si&&si(t)},f.__r=function(t){li&&li(t),nt=0;var e=(S=t.__c).__H;e&&(le===S?(e.__h=[],S.__h=[],e.__.forEach(function(i){i.__N&&(i.__=i.__N),i.__V=Ft,i.__N=i.i=void 0})):(e.__h.forEach(Mt),e.__h.forEach(ye),e.__h=[],nt=0)),le=S},f.diffed=function(t){ci&&ci(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(fa.push(e)!==1&&ri===f.requestAnimationFrame||((ri=f.requestAnimationFrame)||Zo)(Ko)),e.__H.__.forEach(function(i){i.i&&(i.__H=i.i),i.__V!==Ft&&(i.__=i.__V),i.i=void 0,i.__V=Ft})),le=S=null},f.__c=function(t,e){e.some(function(i){try{i.__h.forEach(Mt),i.__h=i.__h.filter(function(a){return!a.__||ye(a)})}catch(a){e.some(function(o){o.__h&&(o.__h=[])}),e=[],f.__e(a,i.__v)}}),di&&di(t,e)},f.unmount=function(t){ui&&ui(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.forEach(function(a){try{Mt(a)}catch(o){e=o}}),i.__H=void 0,e&&f.__e(e,i.__v))};var pi=typeof requestAnimationFrame=="function";function Zo(t){var e,i=function(){clearTimeout(a),pi&&cancelAnimationFrame(e),setTimeout(t)},a=setTimeout(i,100);pi&&(e=requestAnimationFrame(i))}function Mt(t){var e=S,i=t.__c;typeof i=="function"&&(t.__c=void 0,i()),S=e}function ye(t){var e=S;t.__c=t.__(),S=e}function Ye(t,e){return!t||t.length!==e.length||e.some(function(i,a){return i!==t[a]})}function ba(t,e){return typeof e=="function"?e(t):e}function va(t,e){for(var i in e)t[i]=e[i];return t}function xe(t,e){for(var i in t)if(i!=="__source"&&!(i in e))return!0;for(var a in e)if(a!=="__source"&&t[a]!==e[a])return!0;return!1}function ce(t,e){return t===e&&(t!==0||1/t==1/e)||t!=t&&e!=e}function ke(t){this.props=t}function Go(t,e){function i(o){var n=this.props.ref,r=n==o.ref;return!r&&n&&(n.call?n(null):n.current=null),e?!e(this.props,o)||!r:xe(this.props,o)}function a(o){return this.shouldComponentUpdate=i,R(t,o)}return a.displayName="Memo("+(t.displayName||t.name)+")",a.prototype.isReactComponent=!0,a.__f=!0,a}(ke.prototype=new V).isPureReactComponent=!0,ke.prototype.shouldComponentUpdate=function(t,e){return xe(this.props,t)||xe(this.state,e)};var hi=f.__b;f.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),hi&&hi(t)};var Xo=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function _a(t){function e(i){var a=va({},i);return delete a.ref,t(a,i.ref||null)}return e.$$typeof=Xo,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var fi=function(t,e){return t==null?null:tt(tt(t).map(e))},Jo={map:fi,forEach:fi,count:function(t){return t?tt(t).length:0},only:function(t){var e=tt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:tt},Qo=f.__e;f.__e=function(t,e,i,a){if(t.then){for(var o,n=e;n=n.__;)if((o=n.__c)&&o.__c)return e.__e==null&&(e.__e=i.__e,e.__k=i.__k),o.__c(t,e)}Qo(t,e,i,a)};var wi=f.unmount;function ma(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(a){typeof a.__c=="function"&&a.__c()}),t.__c.__H=null),(t=va({},t)).__c!=null&&(t.__c.__P===i&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(a){return ma(a,e,i)})),t}function ya(t,e,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(a){return ya(a,e,i)}),t.__c&&t.__c.__P===e&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}function St(){this.__u=0,this.t=null,this.__b=null}function xa(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function ka(t){var e,i,a;function o(n){if(e||(e=t()).then(function(r){i=r.default||r},function(r){a=r}),a)throw a;if(!i)throw e;return R(i,n)}return o.displayName="Lazy",o.__f=!0,o}function xt(){this.u=null,this.o=null}f.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&t.__h===!0&&(t.type=null),wi&&wi(t)},(St.prototype=new V).__c=function(t,e){var i=e.__c,a=this;a.t==null&&(a.t=[]),a.t.push(i);var o=xa(a.__v),n=!1,r=function(){n||(n=!0,i.__R=null,o?o(s):s())};i.__R=r;var s=function(){if(!--a.__u){if(a.state.__a){var d=a.state.__a;a.__v.__k[0]=ya(d,d.__c.__P,d.__c.__O)}var u;for(a.setState({__a:a.__b=null});u=a.t.pop();)u.forceUpdate()}},l=e.__h===!0;a.__u++||l||a.setState({__a:a.__b=a.__v.__k[0]}),t.then(r,r)},St.prototype.componentWillUnmount=function(){this.t=[]},St.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),a=this.__v.__k[0].__c;this.__v.__k[0]=ma(this.__b,i,a.__O=a.__P)}this.__b=null}var o=e.__a&&R(U,null,t.fallback);return o&&(o.__h=null),[R(U,null,e.__a?null:t.children),o]};var gi=function(t,e,i){if(++i[1]===i[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(i=t.u;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.u=i=i[2]}};function tn(t){return this.getChildContext=function(){return t.context},t.children}function en(t){var e=this,i=t.i;e.componentWillUnmount=function(){pt(null,e.l),e.l=null,e.i=null},e.i&&e.i!==i&&e.componentWillUnmount(),t.__v?(e.l||(e.i=i,e.l={nodeType:1,parentNode:i,childNodes:[],appendChild:function(a){this.childNodes.push(a),e.i.appendChild(a)},insertBefore:function(a,o){this.childNodes.push(a),e.i.appendChild(a)},removeChild:function(a){this.childNodes.splice(this.childNodes.indexOf(a)>>>1,1),e.i.removeChild(a)}}),pt(R(tn,{context:e.context},t.__v),e.l)):e.l&&e.componentWillUnmount()}function an(t,e){var i=R(en,{__v:t,i:e});return i.containerInfo=e,i}(xt.prototype=new V).__a=function(t){var e=this,i=xa(e.__v),a=e.o.get(t);return a[0]++,function(o){var n=function(){e.props.revealOrder?(a.push(o),gi(e,t,a)):o()};i?i(n):n()}},xt.prototype.render=function(t){this.u=null,this.o=new Map;var e=tt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var i=e.length;i--;)this.o.set(e[i],this.u=[1,0,this.u]);return t.children},xt.prototype.componentDidUpdate=xt.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,i){gi(t,i,e)})};var $a=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,on=/^(?: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]/,nn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,rn=/[A-Z0-9]/g,sn=typeof document<"u",ln=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function cn(t,e,i){return e.__k==null&&(e.textContent=""),pt(t,e),typeof i=="function"&&i(),t?t.__c:null}function dn(t,e,i){return ua(t,e),typeof i=="function"&&i(),t?t.__c:null}V.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(V.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var bi=f.event;function un(){}function pn(){return this.cancelBubble}function hn(){return this.defaultPrevented}f.event=function(t){return bi&&(t=bi(t)),t.persist=un,t.isPropagationStopped=pn,t.isDefaultPrevented=hn,t.nativeEvent=t};var qe,fn={enumerable:!1,configurable:!0,get:function(){return this.class}},vi=f.vnode;f.vnode=function(t){typeof t.type=="string"&&function(e){var i=e.props,a=e.type,o={};for(var n in i){var r=i[n];if(!(n==="value"&&"defaultValue"in i&&r==null||sn&&n==="children"&&a==="noscript"||n==="class"||n==="className")){var s=n.toLowerCase();n==="defaultValue"&&"value"in i&&i.value==null?n="value":n==="download"&&r===!0?r="":s==="ondoubleclick"?n="ondblclick":s!=="onchange"||a!=="input"&&a!=="textarea"||ln(i.type)?s==="onfocus"?n="onfocusin":s==="onblur"?n="onfocusout":nn.test(n)?n=s:a.indexOf("-")===-1&&on.test(n)?n=n.replace(rn,"-$&").toLowerCase():r===null&&(r=void 0):s=n="oninput",s==="oninput"&&o[n=s]&&(n="oninputCapture"),o[n]=r}}a=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=tt(i.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),a=="select"&&o.defaultValue!=null&&(o.value=tt(i.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),i.class&&!i.className?(o.class=i.class,Object.defineProperty(o,"className",fn)):(i.className&&!i.class||i.class&&i.className)&&(o.class=o.className=i.className),e.props=o}(t),t.$$typeof=$a,vi&&vi(t)};var _i=f.__r;f.__r=function(t){_i&&_i(t),qe=t.__c};var mi=f.diffed;f.diffed=function(t){mi&&mi(t);var e=t.props,i=t.__e;i!=null&&t.type==="textarea"&&"value"in e&&e.value!==i.value&&(i.value=e.value==null?"":e.value),qe=null};var wn={ReactCurrentDispatcher:{current:{readContext:function(t){return qe.__n[t.__c].props.value}}}};function gn(t){return R.bind(null,t)}function Sa(t){return!!t&&t.$$typeof===$a}function bn(t){return Sa(t)?Uo.apply(null,arguments):t}function vn(t){return!!t.__k&&(pt(null,t),!0)}function _n(t){return t&&(t.base||t.nodeType===1&&t)||null}var mn=function(t,e){return t(e)},yn=function(t,e){return t(e)},xn=U;function Ca(t){t()}function kn(t){return t}function $n(){return[!1,Ca]}var Sn=ht;function Cn(t,e){var i=e(),a=We({h:{__:i,v:e}}),o=a[0].h,n=a[1];return ht(function(){o.__=i,o.v=e,ce(o.__,e())||n({h:o})},[t,i,e]),Ve(function(){return ce(o.__,o.v())||n({h:o}),t(function(){ce(o.__,o.v())||n({h:o})})},[t]),i}var En={useState:We,useId:qo,useReducer:wa,useEffect:Ve,useLayoutEffect:ht,useInsertionEffect:Sn,useTransition:$n,useDeferredValue:kn,useSyncExternalStore:Cn,startTransition:Ca,useRef:bt,useImperativeHandle:Wo,useMemo:rt,useCallback:Vo,useContext:ga,useDebugValue:Yo,version:"17.0.2",Children:Jo,render:cn,hydrate:dn,unmountComponentAtNode:vn,createPortal:an,createElement:R,createContext:pa,createFactory:gn,cloneElement:bn,createRef:Mo,Fragment:U,isValidElement:Sa,findDOMNode:_n,Component:V,PureComponent:ke,memo:Go,forwardRef:_a,flushSync:yn,unstable_batchedUpdates:mn,StrictMode:xn,Suspense:St,SuspenseList:xt,lazy:ka,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wn};const j=Symbol.for("@ts-pattern/matcher"),Ea=Symbol.for("@ts-pattern/isVariadic"),qt="@ts-pattern/anonymous-select-key",$e=t=>!!(t&&typeof t=="object"),Lt=t=>t&&!!t[j],E=(t,e,i)=>{if(Lt(t)){const a=t[j](),{matched:o,selections:n}=a.match(e);return o&&n&&Object.keys(n).forEach(r=>i(r,n[r])),o}if($e(t)){if(!$e(e))return!1;if(Array.isArray(t)){if(!Array.isArray(e))return!1;let a=[],o=[],n=[];for(const r of t.keys()){const s=t[r];Lt(s)&&s[Ea]?n.push(s):n.length?o.push(s):a.push(s)}if(n.length){if(n.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(e.length<a.length+o.length)return!1;const r=e.slice(0,a.length),s=o.length===0?[]:e.slice(-o.length),l=e.slice(a.length,o.length===0?1/0:-o.length);return a.every((d,u)=>E(d,r[u],i))&&o.every((d,u)=>E(d,s[u],i))&&(n.length===0||E(n[0],l,i))}return t.length===e.length&&t.every((r,s)=>E(r,e[s],i))}return Reflect.ownKeys(t).every(a=>{const o=t[a];return(a in e||Lt(n=o)&&n[j]().matcherType==="optional")&&E(o,e[a],i);var n})}return Object.is(e,t)},N=t=>{var e,i,a;return $e(t)?Lt(t)?(e=(i=(a=t[j]()).getSelectionKeys)==null?void 0:i.call(a))!=null?e:[]:Array.isArray(t)?It(t,N):It(Object.values(t),N):[]},It=(t,e)=>t.reduce((i,a)=>i.concat(e(a)),[]);function Pn(...t){if(t.length===1){const[e]=t;return i=>E(e,i,()=>{})}if(t.length===2){const[e,i]=t;return E(e,i,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${t.length}.`)}function I(t){return Object.assign(t,{optional:()=>Ke(t),and:e=>$(t,e),or:e=>Pa(t,e),select:e=>e===void 0?At(t):At(e,t)})}function Se(t){return Object.assign((e=>Object.assign(e,{[Symbol.iterator](){let i=0;const a=[{value:Object.assign(e,{[Ea]:!0}),done:!1},{done:!0,value:void 0}];return{next:()=>{var o;return(o=a[i++])!=null?o:a.at(-1)}}}}))(t),{optional:()=>Se(Ke(t)),select:e=>Se(e===void 0?At(t):At(e,t))})}function Ke(t){return I({[j]:()=>({match:e=>{let i={};const a=(o,n)=>{i[o]=n};return e===void 0?(N(t).forEach(o=>a(o,void 0)),{matched:!0,selections:i}):{matched:E(t,e,a),selections:i}},getSelectionKeys:()=>N(t),matcherType:"optional"})})}const Tn=(t,e)=>{for(const i of t)if(!e(i))return!1;return!0},In=(t,e)=>{for(const[i,a]of t.entries())if(!e(a,i))return!1;return!0},An=(t,e)=>{const i=Reflect.ownKeys(t);for(const a of i)if(!e(a,t[a]))return!1;return!0};function $(...t){return I({[j]:()=>({match:e=>{let i={};const a=(o,n)=>{i[o]=n};return{matched:t.every(o=>E(o,e,a)),selections:i}},getSelectionKeys:()=>It(t,N),matcherType:"and"})})}function Pa(...t){return I({[j]:()=>({match:e=>{let i={};const a=(o,n)=>{i[o]=n};return It(t,N).forEach(o=>a(o,void 0)),{matched:t.some(o=>E(o,e,a)),selections:i}},getSelectionKeys:()=>It(t,N),matcherType:"or"})})}function m(t){return{[j]:()=>({match:e=>({matched:!!t(e)})})}}function At(...t){const e=typeof t[0]=="string"?t[0]:void 0,i=t.length===2?t[1]:typeof t[0]=="string"?void 0:t[0];return I({[j]:()=>({match:a=>{let o={[e??qt]:a};return{matched:i===void 0||E(i,a,(n,r)=>{o[n]=r}),selections:o}},getSelectionKeys:()=>[e??qt].concat(i===void 0?[]:N(i))})})}function Ta(t){return!0}function Z(t){return typeof t=="number"}function et(t){return typeof t=="string"}function it(t){return typeof t=="bigint"}const Ia=I(m(Ta)),zn=I(m(Ta)),Dn=Ia,at=t=>Object.assign(I(t),{startsWith:e=>{return at($(t,(i=e,m(a=>et(a)&&a.startsWith(i)))));var i},endsWith:e=>{return at($(t,(i=e,m(a=>et(a)&&a.endsWith(i)))));var i},minLength:e=>at($(t,(i=>m(a=>et(a)&&a.length>=i))(e))),length:e=>at($(t,(i=>m(a=>et(a)&&a.length===i))(e))),maxLength:e=>at($(t,(i=>m(a=>et(a)&&a.length<=i))(e))),includes:e=>{return at($(t,(i=e,m(a=>et(a)&&a.includes(i)))));var i},regex:e=>{return at($(t,(i=e,m(a=>et(a)&&!!a.match(i)))));var i}}),yi=at(m(et)),G=t=>Object.assign(I(t),{between:(e,i)=>G($(t,((a,o)=>m(n=>Z(n)&&a<=n&&o>=n))(e,i))),lt:e=>G($(t,(i=>m(a=>Z(a)&&a<i))(e))),gt:e=>G($(t,(i=>m(a=>Z(a)&&a>i))(e))),lte:e=>G($(t,(i=>m(a=>Z(a)&&a<=i))(e))),gte:e=>G($(t,(i=>m(a=>Z(a)&&a>=i))(e))),int:()=>G($(t,m(e=>Z(e)&&Number.isInteger(e)))),finite:()=>G($(t,m(e=>Z(e)&&Number.isFinite(e)))),positive:()=>G($(t,m(e=>Z(e)&&e>0))),negative:()=>G($(t,m(e=>Z(e)&&e<0)))}),On=G(m(Z)),ot=t=>Object.assign(I(t),{between:(e,i)=>ot($(t,((a,o)=>m(n=>it(n)&&a<=n&&o>=n))(e,i))),lt:e=>ot($(t,(i=>m(a=>it(a)&&a<i))(e))),gt:e=>ot($(t,(i=>m(a=>it(a)&&a>i))(e))),lte:e=>ot($(t,(i=>m(a=>it(a)&&a<=i))(e))),gte:e=>ot($(t,(i=>m(a=>it(a)&&a>=i))(e))),positive:()=>ot($(t,m(e=>it(e)&&e>0))),negative:()=>ot($(t,m(e=>it(e)&&e<0)))}),Nn=ot(m(it)),jn=I(m(function(t){return typeof t=="boolean"})),Fn=I(m(function(t){return typeof t=="symbol"})),Mn=I(m(function(t){return t==null})),Ln=I(m(function(t){return t!=null}));var kt={__proto__:null,matcher:j,optional:Ke,array:function(...t){return Se({[j]:()=>({match:e=>{if(!Array.isArray(e))return{matched:!1};if(t.length===0)return{matched:!0};const i=t[0];let a={};if(e.length===0)return N(i).forEach(n=>{a[n]=[]}),{matched:!0,selections:a};const o=(n,r)=>{a[n]=(a[n]||[]).concat([r])};return{matched:e.every(n=>E(i,n,o)),selections:a}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},set:function(...t){return I({[j]:()=>({match:e=>{if(!(e instanceof Set))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};if(t.length===0)return{matched:!0};const a=(n,r)=>{i[n]=(i[n]||[]).concat([r])},o=t[0];return{matched:Tn(e,n=>E(o,n,a)),selections:i}},getSelectionKeys:()=>t.length===0?[]:N(t[0])})})},map:function(...t){return I({[j]:()=>({match:e=>{if(!(e instanceof Map))return{matched:!1};let i={};if(e.size===0)return{matched:!0,selections:i};const a=(s,l)=>{i[s]=(i[s]||[]).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[n,r]=t;return{matched:In(e,(s,l)=>{const d=E(n,l,a),u=E(r,s,a);return d&&u}),selections:i}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},record:function(...t){return I({[j]:()=>({match:e=>{if(e===null||typeof e!="object"||Array.isArray(e))return{matched:!1};var i;if(t.length===0)throw new Error(`\`P.record\` wasn't given enough arguments. Expected (value) or (key, value), received ${(i=t[0])==null?void 0:i.toString()}`);let a={};const o=(s,l)=>{a[s]=(a[s]||[]).concat([l])},[n,r]=t.length===1?[yi,t[0]]:t;return{matched:An(e,(s,l)=>{const d=typeof s!="string"||Number.isNaN(Number(s))?null:Number(s),u=d!==null&&E(n,d,o),c=E(n,s,o),w=E(r,l,o);return(c||u)&&w}),selections:a}},getSelectionKeys:()=>t.length===0?[]:[...N(t[0]),...N(t[1])]})})},intersection:$,union:Pa,not:function(t){return I({[j]:()=>({match:e=>({matched:!E(t,e,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:m,select:At,any:Ia,unknown:zn,_:Dn,string:yi,number:On,bigint:Nn,boolean:jn,symbol:Fn,nullish:Mn,nonNullable:Ln,instanceOf:function(t){return I(m(function(e){return i=>i instanceof e}(t)))},shape:function(t){return I(m(Pn(t)))}};class Bn extends Error{constructor(e){let i;try{i=JSON.stringify(e)}catch{i=e}super(`Pattern matching error: no pattern matches value ${i}`),this.input=void 0,this.input=e}}const Ce={matched:!1,value:void 0};function ae(t){return new Kt(t,Ce)}class Kt{constructor(e,i){this.input=void 0,this.state=void 0,this.input=e,this.state=i}with(...e){if(this.state.matched)return this;const i=e[e.length-1],a=[e[0]];let o;e.length===3&&typeof e[1]=="function"?o=e[1]:e.length>2&&a.push(...e.slice(1,e.length-1));let n=!1,r={};const s=(d,u)=>{n=!0,r[d]=u},l=!a.some(d=>E(d,this.input,s))||o&&!o(this.input)?Ce:{matched:!0,value:i(n?qt in r?r[qt]:r:this.input,this.input)};return new Kt(this.input,l)}when(e,i){if(this.state.matched)return this;const a=!!e(this.input);return new Kt(this.input,a?{matched:!0,value:i(this.input,this.input)}:Ce)}otherwise(e){return this.state.matched?this.state.value:e(this.input)}exhaustive(e=Rn){return this.state.matched?this.state.value:e(this.input)}run(){return this.exhaustive()}returnType(){return this}narrow(){return this}}function Rn(t){throw new Bn(t)}var Hn=["other","few","many","two","one","zero"],xi=({terms:t,overrides:e,locale:i})=>{const a=new Intl.PluralRules(i);function o(n,r){const s=(e==null?void 0:e[n])??t[n];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(l,d)=>{var u;return((u=r==null?void 0:r[d])==null?void 0:u.toString())??""});case"object":{if(typeof(r==null?void 0:r.count)!="number")throw new Error(`Missing count for translation key “${n.toString()}”`);let l=a.select(r.count);if(!(l in s)){const d=Hn.find(u=>u in s);if(!d)throw new Error(`Missing plural rule for translation key “${n.toString()}”`);l=d}return s[l].replace(/{{(\w+)}}/g,(d,u)=>{var c;return((c=r==null?void 0:r[u])==null?void 0:c.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${n.toString()}”.`)}}return o},Un=0;function p(t,e,i,a,o,n){var r,s,l={};for(s in e)s=="ref"?r=e[s]:l[s]=e[s];var d={type:t,props:l,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--Un,__source:o,__self:n};if(typeof t=="function"&&(r=t.defaultProps))for(s in r)l[s]===void 0&&(l[s]=r[s]);return f.vnode&&f.vnode(d),d}var ki=pa(null),Aa=t=>({defaultTerms:t,TranslationProvider:({terms:e,children:i,locale:a})=>{const o=rt(()=>xi({locale:a,terms:t,overrides:e}),[e,a]);return p(ki.Provider,{value:{t:o,locale:a},children:i})},useTranslation:()=>{const e=ga(ki);if(e===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:e.t,locale:e.locale}},createTFunction:({overrides:e,locale:i})=>xi({terms:t,overrides:e,locale:i})}),{TranslationProvider:Hr,useTranslation:Ur,createTFunction:Wr,defaultTerms:Wn}=Aa({submission_redirect_message:"Almost there! Please complete your submission here:",complete_submission:"Complete submission",submission_completed:"Submission completed!",submission_pending:"Thanks, we've received your application and are processing it.",submission_failed:"Failed to submit",submission_provider_maintenance:"Sorry, our recruitment system is down for scheduled maintenance until about {{time}}. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_provider_maintenance_later:"Sorry, our recruitment system is down for scheduled maintenance until later today. Please keep this page open and try again when maintenance ends. We apologise for the inconvenience.",submission_available_at:"Submit will be available again at {{time}}.",resume_prompt:"You have an unfinished application for this role. Continue where you left off?",resume_continue:"Continue",resume_start_again:"Start again",captcha_failed:"Cloudflare seems to think you're a robot. If that's not the case, please try again in a moment.",close_application:"Close application",invalid_state:"Invalid application state",redirect_url_error:"Couldn’t get the redirect URL.",upload_file:{one:"Select file to upload",other:"Select files to upload"},file_max_size:"max {{size}}",file_extensions:"Accepted file extensions",address_error:"Something went wrong! Plase continue manually",address_search:"Type and search for places…",address_manual:"Fill in manually",back:"Back",search:"Search",unknown_error:"An error occurred",line1:"Line 1",line2:"Line 2",line3:"Line 3",city:"City",state:"State",postcode:"Postcode",country:"Country",select_country:"Select a country",validation_empty:"Please enter a value",validation_date:"Please enter a valid date (YYYY-MM-DD)",validation_email:"That doesn’t look like a valid email address",validation_url:"That doesn’t look like a valid URL",validation_max_chars:"Please enter no more than {{count}} characters",validation_min_chars:"Please enter {{count}} or more characters",validation_phone:"Please enter a valid phone number",validation_phone_min_chars:"Your phone number must be at least {{count}} digits long",validation_country_code:"Please select a country code",validation_number:"Please enter a valid number",validation_number_min:"Please enter a number greater than or equal to {{min}}",validation_number_max:"Please enter a number less than or equal to {{max}}",validation_number_whole:"Enter a whole number",validation_number_decimal_cases:"Please enter a number with at most {{count}} decimal cases",validation_file:"Please select a file",validation_file_ext:"Please only upload {{ext}} files",validation_file_min:{one:"Please upload at least one file",other:"Please only upload at least {{count}} files"},validation_file_max:{one:"Please only upload one file",other:"Please only upload up to {{count}} files"},validation_file_size:"Your file is too big. Please upload a file smaller than {{size}}",validation_file_empty:"This file is empty. If it’s saved in iCloud, Google Drive or OneDrive, download it to your device, then select it again.",validation_required:"This field is required.",validation_multiple_choice_min:{one:"Please select at least {{count}} option",other:"Please select at least {{count}} options"},validation_multiple_choice_max:{one:"Please select at most {{count}} option",other:"Please select at most {{count}} options"},optional:"optional"});const{TranslationProvider:Vn,useTranslation:Dt,createTFunction:Vr}=Aa({...Wn,error_heading:"Something unexpected happened",undo:"Change answer",conversation_history:"Conversation history",jump_to_current:"Jump to current question",send:"Send",submitting:"Sending your application…",skip:"Skip",skipped:"Skipped",submission_closed:"This role is no longer accepting applications.",submission_duplicate:"You've already applied for this role, so we haven't submitted a second application. If that doesn't sound right, check your email for a confirmation or try again in a few minutes.",submission_duplicate_earlier_attempt:"You've already applied for this role. If that doesn't sound right, it's most likely a hiccup from your earlier attempt — don't worry, we have your application.",submission_retryable:"We couldn't submit your application. Please try again.",submission_failed:"We couldn't submit your application. Choose Restart to try again.",submission_unknown:"We couldn't confirm whether your application was sent. Please check your email for a confirmation. If nothing arrives, choose Restart to apply again.",submission_unknown_do_not_resubmit:"We couldn't confirm whether your application went through, and submitting it again won't help. Please don't keep resubmitting — check your email for a confirmation, or contact the employer if nothing arrives.",submission_unreadable_document:"We couldn't read that file. Please upload a different one.",submission_cooldown:{one:"Submit will be available again in {{count}} second.",other:"Submit will be available again in {{count}} seconds."},submission_cooldown_ready:"Submit is available again.",captcha_check:"One quick check before we send your application",submission_still_working:"Sending your application, this can take up to a minute. Please keep this page open.",file_preparing:{one:"Preparing your file…",other:"Preparing your files…"},file_ready:{one:"Your file is ready to send",other:"Your files are ready to send"},file_read_error:"We couldn't read this file. Select it again or choose another file.",file_read_error_replacement:"We couldn't read this file, so your previous file is no longer selected. Select it again or choose another file.",address_error:"We couldn't search for that address. Try again, or fill it in manually.",address_searching:"Searching addresses…",address_no_results:"We couldn't find that address. Check the spelling or postcode, or fill it in manually.",maximize:"Maximise",restart:"Restart",chat_messages:"Chat messages",file_name:"File name",file_size:"File size",file_total_size:"{{size}} total",file_more:{one:"+{{count}} file",other:"+{{count}} files"},loading:"Loading",minimize:"Minimise"});function Ze(t,e){if(!t)throw new Error(e)}var Ee=t=>t===null||typeof t!="object"?t:Array.isArray(t)?t.map(Ee):Object.keys(t).sort().reduce((e,i)=>(e[i]=Ee(t[i]),e),{}),Yn=t=>{let e=JSON.stringify(Ee(t)),i=5381;for(let a=0;a<e.length;a++)i=i*33^e.charCodeAt(a);return(i>>>0).toString(36)},qn=Symbol.for("preact-signals");function Ge(){if(wt>1)wt--;else{for(var t,e=!1;Ct!==void 0;){var i=Ct;for(Ct=void 0,Pe++;i!==void 0;){var a=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Da(i))try{i.c()}catch(o){e||(t=o,e=!0)}i=a}}if(Pe=0,wt--,e)throw t}}var x=void 0,Ct=void 0,wt=0,Pe=0,Zt=0;function za(t){if(x!==void 0){var e=t.n;if(e===void 0||e.t!==x)return e={i:0,S:t,p:x.s,n:void 0,t:x,e:void 0,x:void 0,r:e},x.s!==void 0&&(x.s.n=e),x.s=e,t.n=e,32&x.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=x.s,e.n=void 0,x.s.n=e,x.s=e),e}}function z(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}z.prototype.brand=qn;z.prototype.h=function(){return!0};z.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)};z.prototype.U=function(t){if(this.t!==void 0){var e=t.e,i=t.x;e!==void 0&&(e.x=i,t.e=void 0),i!==void 0&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}};z.prototype.subscribe=function(t){var e=this;return Je(function(){var i=e.value,a=x;x=void 0;try{t(i)}finally{x=a}})};z.prototype.valueOf=function(){return this.value};z.prototype.toString=function(){return this.value+""};z.prototype.toJSON=function(){return this.value};z.prototype.peek=function(){var t=x;x=void 0;try{return this.value}finally{x=t}};Object.defineProperty(z.prototype,"value",{get:function(){var t=za(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(Pe>100)throw new Error("Cycle detected");this.v=t,this.i++,Zt++,wt++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Ge()}}}});function W(t){return new z(t)}function Da(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 Oa(t){for(var e=t.s;e!==void 0;e=e.n){var i=e.S.n;if(i!==void 0&&(e.r=i),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Na(t){for(var e=t.s,i=void 0;e!==void 0;){var a=e.p;e.i===-1?(e.S.U(e),a!==void 0&&(a.n=e.n),e.n!==void 0&&(e.n.p=a)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=a}t.s=i}function _t(t){z.call(this,void 0),this.x=t,this.s=void 0,this.g=Zt-1,this.f=4}(_t.prototype=new z).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Zt))return!0;if(this.g=Zt,this.f|=1,this.i>0&&!Da(this))return this.f&=-2,!0;var t=x;try{Oa(this),x=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(i){this.v=i,this.f|=16,this.i++}return x=t,Na(this),this.f&=-2,!0};_t.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)}z.prototype.S.call(this,t)};_t.prototype.U=function(t){if(this.t!==void 0&&(z.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)}};_t.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};Object.defineProperty(_t.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=za(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Kn(t){return new _t(t)}function ja(t){var e=t.u;if(t.u=void 0,typeof e=="function"){wt++;var i=x;x=void 0;try{e()}catch(a){throw t.f&=-2,t.f|=8,Xe(t),a}finally{x=i,Ge()}}}function Xe(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,ja(t)}function Zn(t){if(x!==this)throw new Error("Out-of-order effect");Na(this),x=t,this.f&=-2,8&this.f&&Xe(this),Ge()}function Ot(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Ot.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()}};Ot.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,ja(this),Oa(this),wt++;var t=x;return x=this,Zn.bind(this,t)};Ot.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ct,Ct=this)};Ot.prototype.d=function(){this.f|=8,1&this.f||Xe(this)};function Je(t){var e=new Ot(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var de;function mt(t,e){f[t]=e.bind(null,f[t]||function(){})}function Gt(t){de&&de(),de=t&&t.S()}function Fa(t){var e=this,i=t.data,a=Xn(i);a.value=i;var o=rt(function(){for(var n=e.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}return e.__$u.c=function(){var r;!ta(o.peek())&&((r=e.base)==null?void 0:r.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Kn(function(){var r=a.value.value;return r===0?0:r===!0?"":r||""})},[]);return o.value}Fa.displayName="_st";Object.defineProperties(z.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Fa},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});mt("__b",function(t,e){if(typeof e.type=="string"){var i,a=e.props;for(var o in a)if(o!=="children"){var n=a[o];n instanceof z&&(i||(e.__np=i={}),i[o]=n,a[o]=n.peek())}}t(e)});mt("__r",function(t,e){Gt();var i,a=e.__c;a&&(a.__$f&=-2,(i=a.__$u)===void 0&&(a.__$u=i=function(o){var n;return Je(function(){n=this}),n.c=function(){a.__$f|=1,a.setState({})},n}())),Gt(i),t(e)});mt("__e",function(t,e,i,a){Gt(),t(e,i,a)});mt("diffed",function(t,e){Gt();var i;if(typeof e.type=="string"&&(i=e.__e)){var a=e.__np,o=e.props;if(a){var n=i.U;if(n)for(var r in n){var s=n[r];s!==void 0&&!(r in a)&&(s.d(),n[r]=void 0)}else i.U=n={};for(var l in a){var d=n[l],u=a[l];d===void 0?(d=Gn(i,l,u,o),n[l]=d):d.o(u,o)}}}t(e)});function Gn(t,e,i,a){var o=e in t&&t.ownerSVGElement===void 0,n=W(i);return{o:function(r,s){n.value=r,a=s},d:Je(function(){var r=n.value.value;a[e]!==r&&(a[e]=r,o?t[e]=r:r?t.setAttribute(e,r):t.removeAttribute(e))})}}mt("unmount",function(t,e){if(typeof e.type=="string"){var i=e.__e;if(i){var a=i.U;if(a){i.U=void 0;for(var o in a){var n=a[o];n&&n.d()}}}}else{var r=e.__c;if(r){var s=r.__$u;s&&(r.__$u=void 0,s.d())}}t(e)});mt("__h",function(t,e,i,a){(a<3||a===9)&&(e.__$f|=2),t(e,i,a)});V.prototype.shouldComponentUpdate=function(t,e){var i=this.__$u;if(!(i&&i.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var a in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var n in this.props)if(!(n in t))return!0;return!1};function Xn(t){return rt(function(){return W(t)},[])}const Te=(t,e)=>e.some(i=>t instanceof i);let $i,Si;function Jn(){return $i||($i=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function Qn(){return Si||(Si=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const Ie=new WeakMap,ue=new WeakMap,oe=new WeakMap;function tr(t){const e=new Promise((i,a)=>{const o=()=>{t.removeEventListener("success",n),t.removeEventListener("error",r)},n=()=>{i(dt(t.result)),o()},r=()=>{a(t.error),o()};t.addEventListener("success",n),t.addEventListener("error",r)});return oe.set(e,t),e}function er(t){if(Ie.has(t))return;const e=new Promise((i,a)=>{const o=()=>{t.removeEventListener("complete",n),t.removeEventListener("error",r),t.removeEventListener("abort",r)},n=()=>{i(),o()},r=()=>{a(t.error||new DOMException("AbortError","AbortError")),o()};t.addEventListener("complete",n),t.addEventListener("error",r),t.addEventListener("abort",r)});Ie.set(t,e)}let Ae={get(t,e,i){if(t instanceof IDBTransaction){if(e==="done")return Ie.get(t);if(e==="store")return i.objectStoreNames[1]?void 0:i.objectStore(i.objectStoreNames[0])}return dt(t[e])},set(t,e,i){return t[e]=i,!0},has(t,e){return t instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in t}};function Ma(t){Ae=t(Ae)}function ir(t){return Qn().includes(t)?function(...e){return t.apply(ze(this),e),dt(this.request)}:function(...e){return dt(t.apply(ze(this),e))}}function ar(t){return typeof t=="function"?ir(t):(t instanceof IDBTransaction&&er(t),Te(t,Jn())?new Proxy(t,Ae):t)}function dt(t){if(t instanceof IDBRequest)return tr(t);if(ue.has(t))return ue.get(t);const e=ar(t);return e!==t&&(ue.set(t,e),oe.set(e,t)),e}const ze=t=>oe.get(t);function or(t,e,{blocked:i,upgrade:a,blocking:o,terminated:n}={}){const r=indexedDB.open(t,e),s=dt(r);return a&&r.addEventListener("upgradeneeded",l=>{a(dt(r.result),l.oldVersion,l.newVersion,dt(r.transaction),l)}),i&&r.addEventListener("blocked",l=>i(l.oldVersion,l.newVersion,l)),s.then(l=>{n&&l.addEventListener("close",()=>n()),o&&l.addEventListener("versionchange",d=>o(d.oldVersion,d.newVersion,d))}).catch(()=>{}),s}const nr=["get","getKey","getAll","getAllKeys","count"],rr=["put","add","delete","clear"],pe=new Map;function Ci(t,e){if(!(t instanceof IDBDatabase&&!(e in t)&&typeof e=="string"))return;if(pe.get(e))return pe.get(e);const i=e.replace(/FromIndex$/,""),a=e!==i,o=rr.includes(i);if(!(i in(a?IDBIndex:IDBObjectStore).prototype)||!(o||nr.includes(i)))return;const n=async function(r,...s){const l=this.transaction(r,o?"readwrite":"readonly");let d=l.store;return a&&(d=d.index(s.shift())),(await Promise.all([d[i](...s),o&&l.done]))[0]};return pe.set(e,n),n}Ma(t=>({...t,get:(e,i,a)=>Ci(e,i)||t.get(e,i,a),has:(e,i)=>!!Ci(e,i)||t.has(e,i)}));const sr=["continue","continuePrimaryKey","advance"],Ei={},De=new WeakMap,La=new WeakMap,lr={get(t,e){if(!sr.includes(e))return t[e];let i=Ei[e];return i||(i=Ei[e]=function(...a){De.set(this,La.get(this)[e](...a))}),i}};async function*cr(...t){let e=this;if(e instanceof IDBCursor||(e=await e.openCursor(...t)),!e)return;e=e;const i=new Proxy(e,lr);for(La.set(i,e),oe.set(i,ze(e));e;)yield i,e=await(De.get(i)||e.continue()),De.delete(i)}function Pi(t,e){return e===Symbol.asyncIterator&&Te(t,[IDBIndex,IDBObjectStore,IDBCursor])||e==="iterate"&&Te(t,[IDBIndex,IDBObjectStore])}Ma(t=>({...t,get(e,i,a){return Pi(e,i)?cr:t.get(e,i,a)},has(e,i){return Pi(e,i)||t.has(e,i)}}));const Et=typeof indexedDB>"u"?void 0:or("inploi-chatbot",3,{upgrade(t){try{t.deleteObjectStore("state")}catch{}t.createObjectStore("state")}}),dr=t=>({...t,messages:t.messages.map(e=>{if(e.type!=="link")return e;const{onClick:i,...a}=e;return a})});let Bt,he,yt;const Ti=()=>{if(!Bt)return yt;const t=Bt;Bt=void 0;const e=Xt(t),i=Et==null?void 0:Et.then(a=>a.put("state",dr(t.data),e)).finally(()=>{yt===i&&(yt=void 0)});return yt=i,yt},B={getStateData:async(t,e,i)=>{var o;const a=Xt({...t,flowKeys:e,context:i});return(o=await Et)==null?void 0:o.get("state",a)},getAllStateData:async()=>{var t;return((t=await Et)==null?void 0:t.getAll("state"))??[]},setStateData:t=>{Bt=t,clearTimeout(he),he=setTimeout(()=>void Ti(),1e3)},flushStateData:()=>(clearTimeout(he),Ti()??Promise.resolve())},ur=t=>e=>e?e.type===t:!1,pr=()=>typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():Math.random().toString(36).slice(2),Ii=()=>({messages:[],submissions:{},currentInput:null,nodeHistory:[],startedWriteNodeIds:[],isFinished:!1,hasInteracted:!1,sequence:0,flowSessionId:pr()}),hr=t=>ae(t).with({nativeEvent:{submitter:kt.select(kt.union(kt.instanceOf(HTMLButtonElement),kt.instanceOf(HTMLInputElement)))}},e=>e).otherwise(()=>{throw new Error("invalid submitter")}),Rt=(t,e,i,a=0)=>{if(!e.nextId)return i(e.id,{stepsMade:a,remainingSteps:0}),{stepsMade:a,remainingSteps:0};const o=t.find(d=>d.id===e.nextId);if(o===void 0)return{stepsMade:a,remainingSteps:0};const n=e.type==="if-block"?e.branchId:void 0,r=t.find(d=>d.id===n),s=e.type.includes("question")?1:0;if(r){const d=s+Math.max(Rt(t,o,i,a+s).remainingSteps,Rt(t,r,i,a+s).remainingSteps);return i(e.id,{stepsMade:a,remainingSteps:d}),{stepsMade:a,remainingSteps:d}}const l=s+Rt(t,o,i,a+s).remainingSteps;return i(e.id,{stepsMade:a,remainingSteps:l}),{stepsMade:a,remainingSteps:l}},fr=t=>{const e={},i=t.find(a=>a.isHead);return i&&Rt(t,i,(a,o)=>{e[a]=o}),e},Xt=t=>[...t.flowKeys,t.id,t.version,t.build,Yn(t.context)].join("/"),wr=({data:t,nodes:e})=>{const i=t.startedWriteNodeIds===void 0?e.some(a=>a.type==="integration-application-submit"&&t.nodeHistory.includes(a.id)):t.startedWriteNodeIds.length>0;return!t.isFinished&&!i&&Ui(e,t.submissions)},Ai=({data:t,nodes:e})=>{var i;return!t.isFinished&&((((i=t.startedWriteNodeIds)==null?void 0:i.length)??0)>0||Ui(e,t.submissions))},X=W({state:"idle"}),fe=new Set,st=t=>{const{state:e,flow:i}=X.value;if(e!=="loaded")return;Ze(i,"No flow to update");const a=t(i.data);i.data=a,X.value={state:e,flow:i},B.setStateData(i)},k={current$:X,viewState$:W("closed"),prepareFlow:async({flow:t,context:e={},flowKeys:i,title:a,analytics:o,job:n,locationOrigin:r})=>{await B.flushStateData().catch(()=>{});const s=await B.getStateData(t,i,e),l=s??Ii(),d=Xt({...t,flowKeys:i,context:e}),u=s!==void 0&&!fe.has(d)&&wr({data:l,nodes:t.nodes});return u||fe.add(d),{data:l,offerResume:u,startedAt:new Date,nodeIdToProgress:fr(t.nodes),flowKeys:i,id:t.id,version:t.version,nodes:t.nodes,build:t.build,context:e,title:a,analytics:o,job:n,locationOrigin:r}},commitFlow:t=>{X.value={state:"loaded",flow:t},B.setStateData(t)},settleResume:t=>{t.offerResume=!1,fe.add(Xt(t))},cancelCurrentFlow:()=>{X.value={state:"idle"},k.viewState$.value="closed"},markAsFinished:()=>st(t=>({...t,isFinished:!0})),markAsInteracted:()=>st(t=>({...t,hasInteracted:!0})),setCurrentNodeId:t=>st(e=>(e.nodeHistory.push(t),e)),setApplicationRecovery:async t=>{st(e=>(t?e.applicationRecovery=t:delete e.applicationRecovery,e)),await B.flushStateData()},restart:()=>{const{state:t,flow:e}=X.value;if(t!=="loaded")throw new Error("Flow cannot be restarted: not in valid state");const i={...Ii(),failedAttemptAt:e.data.failedAttemptAt,unconfirmedAttemptKeys:e.data.unconfirmedAttemptKeys,submitCooldown:e.data.submitCooldown},a={...e,data:i,startedAt:new Date,offerResume:!1};X.value={state:t,flow:a},B.setStateData(a)},addMessage:(t,e)=>{const i={...t,groupId:e};return st(a=>(a.messages.push(i),a))},removeMessagesSentByNodeIds:t=>{const{state:e,flow:i}=X.value;Ze(e==="loaded","Application not loaded");const a=i.data.messages.filter(o=>!o.groupId||!t.includes(o.groupId));i.data.messages=a,B.setStateData(i)},setSubmission:(t,e)=>st(i=>(e===null?delete i.submissions[t]:i.submissions[t]=e,i)),setInput:t=>st(e=>({...e,currentInput:t??null})),persistWriteBarrier:async t=>{X.peek().flow===t&&(X.value={state:"loaded",flow:t}),B.setStateData(t),await B.flushStateData()}},gr=()=>{const{t}=Dt();return p("div",{class:"flex flex-grow flex-col items-center justify-center",children:[p("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:[p("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"}),p("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"}),p("line",{x1:"36.7",y1:"39.3",x2:"44.8",y2:"47.4"}),p("line",{x1:"52.2",y1:"39.3",x2:"60.3",y2:"47.4"}),p("line",{x1:"44.7",y1:"39.2",x2:"36.6",y2:"47.3"}),p("line",{x1:"60.2",y1:"39.2",x2:"52.1",y2:"47.3"}),p("path",{d:"M38 56h19"})]}),p("div",{class:"flex flex-col gap-2 text-center",children:p("p",{class:"text-error-11 font-bold",children:t("error_heading")})})]})},Ba=t=>{const{t:e}=Dt();return p("svg",{role:"img",viewBox:"0 0 24 24",...t,children:[p("title",{children:e("loading")}),p("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)}}"}),p("g",{id:"s1",transform:"translate(12,0)",children:p("g",{id:"s2",transform:"scale(0,0)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s3",transform:"translate(12,12)",children:p("g",{id:"s4",transform:"scale(1,1)",children:p("circle",{r:"6.5",transform:"translate(0,0)",fill:"currentColor"})})}),p("g",{id:"s5",transform:"translate(12,0)",children:p("g",{id:"s6",transform:"scale(0,0)",children:p("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"})})}),p("g",{id:"s7",transform:"translate(12,0)",children:p("g",{id:"s8",transform:"scale(0,0)",children:p("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"})})})]})},zi=()=>p("div",{class:"flex flex-grow flex-col items-center justify-center",children:p(Ba,{class:"text-neutral-6 h-8 w-8"})}),br=t=>{const i=t/100,a=1.3;return t<0?"0%":t>100?"100%":`${Math.round((1-(1-.1)*Math.pow(1-i,a))*100)}%`},vr=ie("touch-hitbox fr relative flex-none rounded-full p-2 transition-all",{variants:{variant:{neutral:"text-neutral-11 hover:text-neutral-12 active:text-neutral-12 hover:bg-interactive-bg-hover active:bg-interactive-bg-active ",white:"text-white/80 hover:text-white active:text-white hover:bg-white/20 active:bg-white/30"}},defaultVariants:{variant:"neutral"}}),Jt=({class:t,children:e,variant:i,...a})=>p("button",{class:ee(vr({variant:i}),t),...a,children:p("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})}),Ra=()=>p("path",{d:"M12.5 6.5L8 11L3.5 6.5"}),_r=()=>{if(k.current$.value.state!=="loaded")return null;const t=k.current$.value.flow.nodeIdToProgress,e=k.current$.value.flow.data.nodeHistory.at(-1);if(e===void 0)return null;const i=t[e];if(i===void 0)return null;const a=100*(i.stepsMade/(i.remainingSteps+i.stepsMade));return p("div",{class:"bg-accent-3",children:p("div",{style:{width:br(a)},class:"bg-accent-9 ring-accent-6 relative h-[3px] rounded-full transition-all duration-1000"})})},mr=({children:t,params:e})=>{const{t:i}=Dt(),a=k.viewState$;return p(U,{children:p("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:[p("div",{class:"ring-neutral-7 flex h-[var(--header-height)] gap-2 rounded-t-3xl ring-0 ring-inset transition-all duration-300 [&:has(>.view-switch:focus-visible)]:ring-1",children:[p("p",{id:"chatbot-status-bar",class:"sr-only",children:t}),p("button",{"aria-label":i("minimize"),onClick:()=>{a.value="minimised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Oe,children:p("p",{"aria-hidden":!0,class:"text-neutral-12 truncate text-sm font-bold tracking-tight",children:t})}),p("div",{class:"flex flex-shrink-0 items-center gap-3 p-1.5",children:[e.feedback?p("div",{"data-widget":"inploi-feedback","data-key":"chatbot-header",class:ee({hidden:k.current$.value.state!=="loaded"||a.value!=="maximised"}),children:p("div",{class:"ring-neutral-4 bg-neutral-3 h-8 w-[72px] animate-pulse rounded-full ring-1"})}):null,k.current$.value.state==="loaded"&&p(Jt,{class:"mx-1","aria-label":i("restart"),onClick:()=>{k.restart()},children:[p("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"}),p("path",{d:"M8 7L10 4.5L8 2.5"})]},"restart"),p(Jt,{class:"view-switch mx-1",onTouchStart:Oe,"aria-label":i("minimize"),onClick:()=>a.value="minimised",children:p(Ra,{})},"minmax")]})]}),p(_r,{})]})})};function Oe(){}const yr=ka(()=>Promise.resolve().then(()=>require("./chatbot-body-17336a50.cjs")).then(t=>t.ChatbotBody)),Ha=ie("selection:bg-accent-4 selection:text-accent-12 fixed bottom-2 left-2 right-2 isolate mx-auto max-h-full focus:outline-none [&:has(.view-switch:active)]:scale-[0.98] transition-all duration-1000 ease-expo-out",{variants:{view:{closed:"hidden",minimised:"max-w-[min(300px,calc(100vw-4rem))] h-[var(--header-height)] animate-slide-in-bottom",maximised:"max-w-[450px] h-[var(--content-height)] animate-maximise"}}}),Ua=ie("relative flex h-full overflow-hidden rounded-3xl outline outline-1",{variants:{view:{closed:"hidden",minimised:"outline-accent-10 bg-accent-9",maximised:"outline-neutral-3 bg-neutral-1 flex-col"}}}),xr=({open:t,...e})=>{const i=bt(null);return ht(()=>{const a=i.current;a&&(t?a.showModal():a.close())},[t]),p("dialog",{ref:i,...e})},kr=({logger:t,apiClient:e,analytics:i,talentBankClient:a,params:o})=>{const{state:n,flow:r}=k.current$.value,s=k.viewState$.value,l=n!=="idle"&&s==="maximised",d=bt(null),u=r?[...r.data.nodeHistory].reverse().map(c=>r.nodes.find(w=>w.id===c)).find(c=>(c==null?void 0:c.type)==="flow-section"):void 0;return p(Vn,{terms:o.terms,locale:void 0,children:[p(xr,{open:l,onClose:()=>k.viewState$.value="minimised",children:p("div",{ref:d,"aria-modal":"true",role:"dialog","aria-labelledby":"chatbot-status-bar",class:Ha({view:"maximised"}),children:p("div",{class:Ua({view:"maximised"}),children:[p(mr,{params:o,children:u?p(U,{children:[p("span",{class:"block",children:u.data.title}),p("span",{class:"block truncate text-xs font-normal",children:r==null?void 0:r.title})]}):r==null?void 0:r.title}),ae({state:n,view:s}).with({state:"idle"},()=>null).with({state:"loading"},()=>p(zi,{},"loading")).with({state:"loaded"},()=>p(St,{fallback:p(zi,{},"loading"),children:p(yr,{analytics:i,apiClient:e,logger:t,talentBankClient:a})})).with({state:"error"},()=>p(gr,{})).exhaustive()]})})}),s==="minimised"?p($r,{flow:r}):null]})},$r=({flow:t})=>{const{t:e}=Dt();return p("div",{class:Ha({view:"minimised",class:"z-100 isolate"}),children:p("div",{class:Ua({view:"minimised"}),children:[p("button",{onClick:()=>{k.viewState$.value="maximised"},class:"view-switch h-full flex-grow overflow-hidden px-4 py-1 focus-visible:outline-none",onTouchStart:Oe,children:p("p",{"aria-hidden":!0,class:"truncate text-sm font-bold tracking-tight text-white",children:t==null?void 0:t.title})}),p("div",{class:"flex items-center px-0.5",children:p(Jt,{class:"mx-1","aria-label":e("close_application"),onClick:k.cancelCurrentFlow,variant:"white",children:p("path",{d:"M12 12L4 4M12 4L4 12"})},"close")})]})})},Sr=`[data-widget=inploi-chatbot]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:relative;z-index:2147483647;font-size:16px;font-family:sans-serif;--i-lowest: 0 0% 100%;--i-e-1: 340 100% 99%;--i-e-2: 353 100% 98%;--i-e-3: 351 91% 96%;--i-e-4: 351 100% 93%;--i-e-5: 350 100% 90%;--i-e-6: 351 80% 86%;--i-e-7: 349 68% 81%;--i-e-8: 348 61% 74%;--i-e-9: 348 75% 59%;--i-e-10: 347 70% 55%;--i-e-11: 345 70% 47%;--i-e-12: 344 63% 24%;--header-height: 44px;--content-height:calc(100vh - 64px);--content-height:calc(100svh - 64px)}@media screen and (min-width: 768px){[data-widget=inploi-chatbot]{--content-height: min(640px, calc(100vh - 16px));--content-height: min(640px, calc(100svh - 16px)) }}[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot] ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }[data-widget=inploi-chatbot]{--tw-content: "";font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif}[data-widget=inploi-chatbot] em{font-style:italic}[data-widget=inploi-chatbot] strong{font-weight:700}[data-widget=inploi-chatbot] *{font-weight:inherit;font-style:inherit;box-sizing:border-box;font-family:inherit;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent}[data-widget=inploi-chatbot] :before,[data-widget=inploi-chatbot] :after{box-sizing:border-box}[data-widget=inploi-chatbot] :is(ul,ol){list-style:none;padding:0;margin:0}[data-widget=inploi-chatbot] :is(p){margin:0;padding:0}[data-widget=inploi-chatbot] :is(li){margin:0;padding:0;list-style:none}[data-widget=inploi-chatbot] :is(button){margin:0;padding:0;border:unset;background:unset;text-align:unset}[data-widget=inploi-chatbot] .container{width:100%}@media (min-width: 640px){[data-widget=inploi-chatbot] .container{max-width:640px}}@media (min-width: 768px){[data-widget=inploi-chatbot] .container{max-width:768px}}@media (min-width: 1024px){[data-widget=inploi-chatbot] .container{max-width:1024px}}@media (min-width: 1280px){[data-widget=inploi-chatbot] .container{max-width:1280px}}@media (min-width: 1536px){[data-widget=inploi-chatbot] .container{max-width:1536px}}[data-widget=inploi-chatbot] .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}[data-widget=inploi-chatbot] .\\!visible{visibility:visible!important}[data-widget=inploi-chatbot] .visible{visibility:visible}[data-widget=inploi-chatbot] .invisible{visibility:hidden}[data-widget=inploi-chatbot] .collapse{visibility:collapse}[data-widget=inploi-chatbot] .static{position:static}[data-widget=inploi-chatbot] .fixed{position:fixed}[data-widget=inploi-chatbot] .absolute{position:absolute}[data-widget=inploi-chatbot] .relative{position:relative}[data-widget=inploi-chatbot] .sticky{position:sticky}[data-widget=inploi-chatbot] .inset-0{top:0;right:0;bottom:0;left:0}[data-widget=inploi-chatbot] .bottom-0{bottom:0}[data-widget=inploi-chatbot] .bottom-1{bottom:4px}[data-widget=inploi-chatbot] .bottom-2{bottom:8px}[data-widget=inploi-chatbot] .bottom-2\\.5{bottom:10px}[data-widget=inploi-chatbot] .left-0{left:0}[data-widget=inploi-chatbot] .left-1\\/2{left:50%}[data-widget=inploi-chatbot] .left-2{left:8px}[data-widget=inploi-chatbot] .right-0{right:0}[data-widget=inploi-chatbot] .right-0\\.5{right:2px}[data-widget=inploi-chatbot] .right-1{right:4px}[data-widget=inploi-chatbot] .right-2{right:8px}[data-widget=inploi-chatbot] .top-0{top:0}[data-widget=inploi-chatbot] .isolate{isolation:isolate}[data-widget=inploi-chatbot] .z-20{z-index:20}[data-widget=inploi-chatbot] .z-50{z-index:50}[data-widget=inploi-chatbot] .m-0{margin:0}[data-widget=inploi-chatbot] .mx-1{margin-left:4px;margin-right:4px}[data-widget=inploi-chatbot] .mx-auto{margin-left:auto;margin-right:auto}[data-widget=inploi-chatbot] .mb-1{margin-bottom:4px}[data-widget=inploi-chatbot] .ml-auto{margin-left:auto}[data-widget=inploi-chatbot] .mt-0\\.5{margin-top:2px}[data-widget=inploi-chatbot] .mt-auto{margin-top:auto}[data-widget=inploi-chatbot] .block{display:block}[data-widget=inploi-chatbot] .inline-block{display:inline-block}[data-widget=inploi-chatbot] .inline{display:inline}[data-widget=inploi-chatbot] .flex{display:flex}[data-widget=inploi-chatbot] .inline-flex{display:inline-flex}[data-widget=inploi-chatbot] .table{display:table}[data-widget=inploi-chatbot] .table-row{display:table-row}[data-widget=inploi-chatbot] .flow-root{display:flow-root}[data-widget=inploi-chatbot] .grid{display:grid}[data-widget=inploi-chatbot] .inline-grid{display:inline-grid}[data-widget=inploi-chatbot] .contents{display:contents}[data-widget=inploi-chatbot] .list-item{display:list-item}[data-widget=inploi-chatbot] .\\!hidden{display:none!important}[data-widget=inploi-chatbot] .hidden{display:none}[data-widget=inploi-chatbot] .size-\\[1lh\\]{width:1lh;height:1lh}[data-widget=inploi-chatbot] .h-1\\.5{height:6px}[data-widget=inploi-chatbot] .h-16{height:64px}[data-widget=inploi-chatbot] .h-4{height:16px}[data-widget=inploi-chatbot] .h-48{height:192px}[data-widget=inploi-chatbot] .h-8{height:32px}[data-widget=inploi-chatbot] .h-\\[3px\\]{height:3px}[data-widget=inploi-chatbot] .h-\\[var\\(--content-height\\)\\]{height:var(--content-height)}[data-widget=inploi-chatbot] .h-\\[var\\(--header-height\\)\\]{height:var(--header-height)}[data-widget=inploi-chatbot] .h-full{height:100%}[data-widget=inploi-chatbot] .max-h-\\[calc\\(100\\%-var\\(--header-height\\)-4rem\\)\\]{max-height:calc(100% - var(--header-height) - 64px)}[data-widget=inploi-chatbot] .max-h-\\[calc\\(8lh\\+1rem\\)\\]{max-height:calc(8lh + 16px)}[data-widget=inploi-chatbot] .max-h-full{max-height:100%}[data-widget=inploi-chatbot] .min-h-0{min-height:0px}[data-widget=inploi-chatbot] .min-h-\\[36px\\]{min-height:36px}[data-widget=inploi-chatbot] .min-h-\\[calc\\(1lh\\+1rem\\)\\]{min-height:calc(1lh + 16px)}[data-widget=inploi-chatbot] .w-1\\.5{width:6px}[data-widget=inploi-chatbot] .w-16{width:64px}[data-widget=inploi-chatbot] .w-24{width:96px}[data-widget=inploi-chatbot] .w-4{width:16px}[data-widget=inploi-chatbot] .w-64{width:256px}[data-widget=inploi-chatbot] .w-8{width:32px}[data-widget=inploi-chatbot] .w-\\[72px\\]{width:72px}[data-widget=inploi-chatbot] .w-full{width:100%}[data-widget=inploi-chatbot] .min-w-0{min-width:0px}[data-widget=inploi-chatbot] .min-w-\\[2rem\\]{min-width:32px}[data-widget=inploi-chatbot] .max-w-\\[450px\\]{max-width:450px}[data-widget=inploi-chatbot] .max-w-\\[min\\(100\\%\\,24rem\\)\\]{max-width:min(100%,384px)}[data-widget=inploi-chatbot] .max-w-\\[min\\(300px\\,calc\\(100vw-4rem\\)\\)\\]{max-width:min(300px,calc(100vw - 64px))}[data-widget=inploi-chatbot] .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}[data-widget=inploi-chatbot] .max-w-full{max-width:100%}[data-widget=inploi-chatbot] .flex-1{flex:1 1 0%}[data-widget=inploi-chatbot] .flex-auto{flex:1 1 auto}[data-widget=inploi-chatbot] .flex-none{flex:none}[data-widget=inploi-chatbot] .flex-shrink{flex-shrink:1}[data-widget=inploi-chatbot] .flex-shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .shrink{flex-shrink:1}[data-widget=inploi-chatbot] .shrink-0{flex-shrink:0}[data-widget=inploi-chatbot] .flex-grow,[data-widget=inploi-chatbot] .grow{flex-grow:1}[data-widget=inploi-chatbot] .border-collapse{border-collapse:collapse}[data-widget=inploi-chatbot] .-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}[data-widget=inploi-chatbot] .animate-bounce{animation:bounce 1s infinite}@keyframes bubble-in{0%{transform:translateY(100%) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}[data-widget=inploi-chatbot] .animate-bubble-in{animation:bubble-in .3s cubic-bezier(.34,1.56,.64,1)}@keyframes maximise{0%{transform:translateY(50%) scaleX(.7)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-maximise{animation:maximise .4s cubic-bezier(.16,1,.3,1)}@keyframes pulse{50%{opacity:.5}}[data-widget=inploi-chatbot] .animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-100%) scaleX(1.25)}to{transform:translateY(0)}}[data-widget=inploi-chatbot] .animate-slide-in-bottom{animation:slide-in-bottom .3s cubic-bezier(.175,.885,.32,1.275)}[data-widget=inploi-chatbot] .cursor-pointer{cursor:pointer}[data-widget=inploi-chatbot] .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-widget=inploi-chatbot] .select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}[data-widget=inploi-chatbot] .resize-none{resize:none}[data-widget=inploi-chatbot] .resize-y{resize:vertical}[data-widget=inploi-chatbot] .resize{resize:both}[data-widget=inploi-chatbot] .scroll-pb-12{scroll-padding-bottom:48px}[data-widget=inploi-chatbot] .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}[data-widget=inploi-chatbot] .flex-col{flex-direction:column}[data-widget=inploi-chatbot] .flex-wrap{flex-wrap:wrap}[data-widget=inploi-chatbot] .items-start{align-items:flex-start}[data-widget=inploi-chatbot] .items-end{align-items:flex-end}[data-widget=inploi-chatbot] .items-center{align-items:center}[data-widget=inploi-chatbot] .items-stretch{align-items:stretch}[data-widget=inploi-chatbot] .justify-end{justify-content:flex-end}[data-widget=inploi-chatbot] .justify-center{justify-content:center}[data-widget=inploi-chatbot] .gap-0{gap:0px}[data-widget=inploi-chatbot] .gap-1{gap:4px}[data-widget=inploi-chatbot] .gap-1\\.5{gap:6px}[data-widget=inploi-chatbot] .gap-2{gap:8px}[data-widget=inploi-chatbot] .gap-2\\.5{gap:10px}[data-widget=inploi-chatbot] .gap-3{gap:12px}[data-widget=inploi-chatbot] .gap-4{gap:16px}[data-widget=inploi-chatbot] .self-center{align-self:center}[data-widget=inploi-chatbot] .overflow-hidden{overflow:hidden}[data-widget=inploi-chatbot] .overflow-y-auto{overflow-y:auto}[data-widget=inploi-chatbot] .overscroll-contain{overscroll-behavior:contain}[data-widget=inploi-chatbot] .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[data-widget=inploi-chatbot] .text-ellipsis{text-overflow:ellipsis}[data-widget=inploi-chatbot] .whitespace-nowrap{white-space:nowrap}[data-widget=inploi-chatbot] .text-balance{text-wrap:balance}[data-widget=inploi-chatbot] .text-pretty{text-wrap:pretty}[data-widget=inploi-chatbot] .break-words{overflow-wrap:break-word}[data-widget=inploi-chatbot] .rounded{border-radius:4px}[data-widget=inploi-chatbot] .rounded-2xl{border-radius:16px}[data-widget=inploi-chatbot] .rounded-3xl{border-radius:24px}[data-widget=inploi-chatbot] .rounded-\\[18px\\]{border-radius:18px}[data-widget=inploi-chatbot] .rounded-full{border-radius:9999px}[data-widget=inploi-chatbot] .rounded-lg{border-radius:8px}[data-widget=inploi-chatbot] .rounded-md{border-radius:6px}[data-widget=inploi-chatbot] .rounded-xl{border-radius:12px}[data-widget=inploi-chatbot] .rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}[data-widget=inploi-chatbot] .rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}[data-widget=inploi-chatbot] .rounded-t-3xl{border-top-left-radius:24px;border-top-right-radius:24px}[data-widget=inploi-chatbot] .rounded-bl-md{border-bottom-left-radius:6px}[data-widget=inploi-chatbot] .rounded-br-md{border-bottom-right-radius:6px}[data-widget=inploi-chatbot] .border{border-width:1px}[data-widget=inploi-chatbot] .border-b{border-bottom-width:1px}[data-widget=inploi-chatbot] .border-t{border-top-width:1px}[data-widget=inploi-chatbot] .border-solid{border-style:solid}[data-widget=inploi-chatbot] .border-dashed{border-style:dashed}[data-widget=inploi-chatbot] .border-accent-9{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .border-divider{border-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .border-neutral-5{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-neutral-8{border-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .border-transparent{border-color:transparent}[data-widget=inploi-chatbot] .border-b-neutral-3{border-bottom-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .border-b-neutral-5{border-bottom-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .border-b-transparent{border-bottom-color:transparent}[data-widget=inploi-chatbot] .bg-accent-1{background-color:var(--i-color-a-1)}[data-widget=inploi-chatbot] .bg-accent-3{background-color:var(--i-color-a-3)}[data-widget=inploi-chatbot] .bg-accent-9{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .bg-bubble-weak-bg{background-color:var(--i-bubble-weak-bg)}[data-widget=inploi-chatbot] .bg-lowest{background-color:var(--i-color-lowest)}[data-widget=inploi-chatbot] .bg-neutral-1{background-color:var(--i-color-n-1)}[data-widget=inploi-chatbot] .bg-neutral-2{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .bg-neutral-3{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .bg-statusbar{background-color:var(--i-status-bar-bg)}[data-widget=inploi-chatbot] .bg-transparent{background-color:transparent}[data-widget=inploi-chatbot] .bg-none{background-image:none}[data-widget=inploi-chatbot] .p-1{padding:4px}[data-widget=inploi-chatbot] .p-1\\.5{padding:6px}[data-widget=inploi-chatbot] .p-10{padding:40px}[data-widget=inploi-chatbot] .p-11{padding:44px}[data-widget=inploi-chatbot] .p-12{padding:48px}[data-widget=inploi-chatbot] .p-2{padding:8px}[data-widget=inploi-chatbot] .p-2\\.5{padding:10px}[data-widget=inploi-chatbot] .p-3{padding:12px}[data-widget=inploi-chatbot] .p-4{padding:16px}[data-widget=inploi-chatbot] .p-5{padding:20px}[data-widget=inploi-chatbot] .p-6{padding:24px}[data-widget=inploi-chatbot] .p-7{padding:28px}[data-widget=inploi-chatbot] .p-8{padding:32px}[data-widget=inploi-chatbot] .p-9{padding:36px}[data-widget=inploi-chatbot] .px-0\\.5{padding-left:2px;padding-right:2px}[data-widget=inploi-chatbot] .px-1{padding-left:4px;padding-right:4px}[data-widget=inploi-chatbot] .px-1\\.5{padding-left:6px;padding-right:6px}[data-widget=inploi-chatbot] .px-2{padding-left:8px;padding-right:8px}[data-widget=inploi-chatbot] .px-3{padding-left:12px;padding-right:12px}[data-widget=inploi-chatbot] .px-4{padding-left:16px;padding-right:16px}[data-widget=inploi-chatbot] .px-5{padding-left:20px;padding-right:20px}[data-widget=inploi-chatbot] .py-0\\.5{padding-top:2px;padding-bottom:2px}[data-widget=inploi-chatbot] .py-1{padding-top:4px;padding-bottom:4px}[data-widget=inploi-chatbot] .py-1\\.5{padding-top:6px;padding-bottom:6px}[data-widget=inploi-chatbot] .py-2{padding-top:8px;padding-bottom:8px}[data-widget=inploi-chatbot] .py-2\\.5{padding-top:10px;padding-bottom:10px}[data-widget=inploi-chatbot] .py-3{padding-top:12px;padding-bottom:12px}[data-widget=inploi-chatbot] .pb-2{padding-bottom:8px}[data-widget=inploi-chatbot] .pb-6{padding-bottom:24px}[data-widget=inploi-chatbot] .pl-1\\.5{padding-left:6px}[data-widget=inploi-chatbot] .pl-2{padding-left:8px}[data-widget=inploi-chatbot] .pl-2\\.5{padding-left:10px}[data-widget=inploi-chatbot] .pl-3{padding-left:12px}[data-widget=inploi-chatbot] .pl-4{padding-left:16px}[data-widget=inploi-chatbot] .pr-1{padding-right:4px}[data-widget=inploi-chatbot] .pr-16{padding-right:64px}[data-widget=inploi-chatbot] .pr-2\\.5{padding-right:10px}[data-widget=inploi-chatbot] .pr-3{padding-right:12px}[data-widget=inploi-chatbot] .pr-4{padding-right:16px}[data-widget=inploi-chatbot] .pt-2{padding-top:8px}[data-widget=inploi-chatbot] .pt-2\\.5{padding-top:10px}[data-widget=inploi-chatbot] .pt-3{padding-top:12px}[data-widget=inploi-chatbot] .pt-5{padding-top:20px}[data-widget=inploi-chatbot] .pt-\\[calc\\(var\\(--header-height\\)\\+1rem\\)\\]{padding-top:calc(var(--header-height) + 16px)}[data-widget=inploi-chatbot] .text-center{text-align:center}[data-widget=inploi-chatbot] .text-right{text-align:right}[data-widget=inploi-chatbot] .text-justify{text-align:justify}[data-widget=inploi-chatbot] .text-\\[10px\\]{font-size:10px}[data-widget=inploi-chatbot] .text-\\[11px\\]{font-size:11px}[data-widget=inploi-chatbot] .text-base{font-size:16px;line-height:24px}[data-widget=inploi-chatbot] .text-sm{font-size:14px;line-height:20px}[data-widget=inploi-chatbot] .text-xs{font-size:12px;line-height:16px}[data-widget=inploi-chatbot] .font-bold{font-weight:700}[data-widget=inploi-chatbot] .font-medium{font-weight:500}[data-widget=inploi-chatbot] .font-normal{font-weight:400}[data-widget=inploi-chatbot] .font-semibold{font-weight:600}[data-widget=inploi-chatbot] .uppercase{text-transform:uppercase}[data-widget=inploi-chatbot] .lowercase{text-transform:lowercase}[data-widget=inploi-chatbot] .capitalize{text-transform:capitalize}[data-widget=inploi-chatbot] .italic{font-style:italic}[data-widget=inploi-chatbot] .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}[data-widget=inploi-chatbot] .leading-3{line-height:12px}[data-widget=inploi-chatbot] .leading-snug{line-height:1.375}[data-widget=inploi-chatbot] .leading-tight{line-height:1.25}[data-widget=inploi-chatbot] .tracking-\\[-0\\.01em\\]{letter-spacing:-.01em}[data-widget=inploi-chatbot] .tracking-tight{letter-spacing:-.025em}[data-widget=inploi-chatbot] .tracking-wide{letter-spacing:.025em}[data-widget=inploi-chatbot] .tracking-widest{letter-spacing:.1em}[data-widget=inploi-chatbot] .text-accent-10{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .text-accent-11{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .text-accent-12{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .text-error-11{color:var(--i-color-e-11)}[data-widget=inploi-chatbot] .text-error-9{color:var(--i-color-e-9)}[data-widget=inploi-chatbot] .text-neutral-10{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .text-neutral-11{color:var(--i-color-n-11)}[data-widget=inploi-chatbot] .text-neutral-12{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .text-neutral-6{color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .text-system-success{color:var(--i-system-message-success)}[data-widget=inploi-chatbot] .text-system-warning{color:var(--i-system-message-warning)}[data-widget=inploi-chatbot] .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .text-white\\/80{color:#fffc}[data-widget=inploi-chatbot] .underline{text-decoration-line:underline}[data-widget=inploi-chatbot] .no-underline{text-decoration-line:none}[data-widget=inploi-chatbot] .underline-offset-2{text-underline-offset:2px}[data-widget=inploi-chatbot] .underline-offset-4{text-underline-offset:4px}[data-widget=inploi-chatbot] .caret-accent-9{caret-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .opacity-0{opacity:0}[data-widget=inploi-chatbot] .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-lg{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 11px 4px 0px oklch(0% 0 0 / .01), 0px 32px 24px -12px oklch(0% 0 0 / .06);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 11px 4px 0px var(--tw-shadow-color), 0px 32px 24px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-md{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 6px 4px 0px oklch(0% 0 0 / .02), 0px 6px 4px 0px oklch(0% 0 0 / .01);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color), 0px 6px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-surface-sm{--tw-shadow: 0px 3px 3px 0px oklch(0% 0 0 / .03), 0px 4px 4px 0px oklch(0% 0 0 / .02);--tw-shadow-colored: 0px 3px 3px 0px var(--tw-shadow-color), 0px 4px 4px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .shadow-bubble-strong-shadow{--tw-shadow-color: var(--i-bubble-strong-shadow);--tw-shadow: var(--tw-shadow-colored)}[data-widget=inploi-chatbot] .outline-none{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .outline{outline-style:solid}[data-widget=inploi-chatbot] .outline-1{outline-width:1px}[data-widget=inploi-chatbot] .outline-2{outline-width:2px}[data-widget=inploi-chatbot] .outline-accent-10{outline-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .outline-accent-4{outline-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .outline-bubble-weak{outline-color:var(--i-bubble-weak-outline)}[data-widget=inploi-chatbot] .outline-divider{outline-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .outline-neutral-3{outline-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .outline-neutral-6{outline-color:var(--i-color-n-6)}[data-widget=inploi-chatbot] .ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .ring-inset{--tw-ring-inset: inset}[data-widget=inploi-chatbot] .ring-accent-6{--tw-ring-color: var(--i-color-a-6)}[data-widget=inploi-chatbot] .ring-divider{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .ring-lowest{--tw-ring-color: var(--i-color-lowest)}[data-widget=inploi-chatbot] .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}[data-widget=inploi-chatbot] .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}[data-widget=inploi-chatbot] .ring-neutral-7{--tw-ring-color: var(--i-color-n-7)}[data-widget=inploi-chatbot] .ring-transparent{--tw-ring-color: transparent}[data-widget=inploi-chatbot] .ring-offset-\\[1\\.5px\\]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .ring-offset-neutral-1{--tw-ring-offset-color: var(--i-color-n-1)}[data-widget=inploi-chatbot] .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .drop-shadow-\\[0_1\\.5px_var\\(--i-color-n-1\\)\\]{--tw-drop-shadow: drop-shadow(0 1.5px var(--i-color-n-1));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}[data-widget=inploi-chatbot] .backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-saturate-150{--tw-backdrop-saturate: saturate(1.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}[data-widget=inploi-chatbot] .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-\\[background\\,color\\,border-color\\,box-shadow\\]{transition-property:background,color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[data-widget=inploi-chatbot] .duration-100{transition-duration:.1s}[data-widget=inploi-chatbot] .duration-1000{transition-duration:1s}[data-widget=inploi-chatbot] .duration-300{transition-duration:.3s}[data-widget=inploi-chatbot] .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}[data-widget=inploi-chatbot] .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}[data-widget=inploi-chatbot] .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}[data-widget=inploi-chatbot] .text-wrap-balance{text-wrap:balance}[data-widget=inploi-chatbot] .fr{outline:none}[data-widget=inploi-chatbot] .fr:focus{outline:none}[data-widget=inploi-chatbot] .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .gutter-stable{scrollbar-gutter:stable}[data-widget=inploi-chatbot] .hide-scrollbars::-webkit-scrollbar{display:none}[data-widget=inploi-chatbot] .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}[data-widget=inploi-chatbot] .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}[data-widget=inploi-chatbot] .\\[-webkit-outer-spin-button\\:none\\]{-webkit-outer-spin-button:none}[data-widget=inploi-chatbot] .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}[data-widget=inploi-chatbot] .\\[grid-template-columns\\:min-content_1fr\\]{grid-template-columns:min-content 1fr}[data-widget=inploi-chatbot] .\\[text-wrap\\:pretty\\]{text-wrap:pretty}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent *::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}[data-widget=inploi-chatbot] .selection\\:bg-transparent::-moz-selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:bg-transparent::selection{background-color:transparent}[data-widget=inploi-chatbot] .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::-moz-placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .placeholder\\:text-neutral-8::placeholder{color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .first-of-type\\:rounded-l-lg:first-of-type{border-top-left-radius:8px;border-bottom-left-radius:8px}[data-widget=inploi-chatbot] .last-of-type\\:rounded-r-lg:last-of-type{border-top-right-radius:8px;border-bottom-right-radius:8px}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_hsl\\(210_16\\.7\\%_97\\.6\\%\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px hsl(210 16.7% 97.6%);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .focus-within\\:bg-neutral-5:focus-within{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus-within\\:outline-none:focus-within{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-within\\:outline-accent-7:focus-within{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .hover\\:z-10:hover{z-index:10}[data-widget=inploi-chatbot] .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .hover\\:border-accent-10:hover{border-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:border-neutral-5:hover{border-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-accent-10:hover{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .hover\\:bg-divider:hover{background-color:var(--i-color-divider)}[data-widget=inploi-chatbot] .hover\\:bg-interactive-bg-hover:hover{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-3:hover{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-4:hover{background-color:var(--i-color-n-4)}[data-widget=inploi-chatbot] .hover\\:bg-neutral-5:hover{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .hover\\:bg-white\\/20:hover{background-color:#fff3}[data-widget=inploi-chatbot] .hover\\:text-accent-11:hover{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .hover\\:text-neutral-12:hover{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .hover\\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .hover\\:underline:hover{text-decoration-line:underline}[data-widget=inploi-chatbot] .hover\\:ring-accent-8:hover{--tw-ring-color: var(--i-color-a-8)}[data-widget=inploi-chatbot] .hover\\:ring-divider:hover{--tw-ring-color: var(--i-color-divider)}[data-widget=inploi-chatbot] .focus\\:z-20:focus{z-index:20}[data-widget=inploi-chatbot] .focus\\:bg-neutral-5:focus{background-color:var(--i-color-n-5)}[data-widget=inploi-chatbot] .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}[data-widget=inploi-chatbot] .focus-visible\\:bg-neutral-3:focus-visible{background-color:var(--i-color-n-3)}[data-widget=inploi-chatbot] .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-2:focus-visible{outline-width:2px}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-7:focus-visible{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .focus-visible\\:outline-accent-8:focus-visible{outline-color:var(--i-color-a-8)}[data-widget=inploi-chatbot] .focus-visible\\:ring-4:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .active\\:border-submit-bg-active:active{border-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:bg-accent-2:active{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-active:active{background-color:var(--i-interactive-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-interactive-bg-hover:active{background-color:var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:bg-submit-bg-active:active{background-color:var(--i-submit-button-bg-active)}[data-widget=inploi-chatbot] .active\\:bg-white\\/30:active{background-color:#ffffff4d}[data-widget=inploi-chatbot] .active\\:text-accent-10:active{color:var(--i-color-a-10)}[data-widget=inploi-chatbot] .active\\:text-accent-11:active{color:var(--i-color-a-11)}[data-widget=inploi-chatbot] .active\\:text-neutral-12:active{color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .active\\:text-white:active{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}[data-widget=inploi-chatbot] .active\\:outline-neutral-8:active{outline-color:var(--i-color-n-8)}[data-widget=inploi-chatbot] .active\\:ring-2:active{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .active\\:ring-accent-7:active{--tw-ring-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .active\\:ring-interactive-bg-hover:active{--tw-ring-color: var(--i-interactive-bg-hover)}[data-widget=inploi-chatbot] .active\\:ring-offset-2:active{--tw-ring-offset-width: 2px}[data-widget=inploi-chatbot] .disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}[data-widget=inploi-chatbot] .disabled\\:opacity-50:disabled{opacity:.5}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:bg-accent-2{background-color:var(--i-color-a-2)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:text-accent-9{color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:checked~.peer-checked\\:outline-accent-7{outline-color:var(--i-color-a-7)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-4{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-accent-9{--tw-ring-color: var(--i-color-a-9)}[data-widget=inploi-chatbot] .peer:focus-visible~.peer-focus-visible\\:ring-offset-accent-7{--tw-ring-offset-color: var(--i-color-a-7)}[data-widget=inploi-chatbot] .aria-disabled\\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}[data-widget=inploi-chatbot] .aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:border-accent-9:hover[aria-disabled=true]{border-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:hover\\:bg-accent-9:hover[aria-disabled=true]{background-color:var(--i-color-a-9)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-1:active[aria-disabled=true]{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}[data-widget=inploi-chatbot] .aria-disabled\\:active\\:ring-offset-\\[1\\.5px\\]:active[aria-disabled=true]{--tw-ring-offset-width: 1.5px}[data-widget=inploi-chatbot] .group[aria-pressed=true] .group-aria-\\[pressed\\=true\\]\\:scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (pointer: coarse){[data-widget=inploi-chatbot] .pointer-coarse\\:touch-hitbox\\:\\:before:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\+\\*\\>input\\:focus\\)\\]\\:text-neutral-12:has(+*>input:focus){color:var(--i-color-n-12)}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\.view-switch\\:active\\)\\]\\:scale-\\[0\\.98\\]:has(.view-switch:active){--tw-scale-x: .98;--tw-scale-y: .98;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-widget=inploi-chatbot] .\\[\\&\\:has\\(\\>\\.view-switch\\:focus-visible\\)\\]\\:ring-1:has(>.view-switch:focus-visible){--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[data-widget=inploi-chatbot] dialog::backdrop{animation:fade-in .5s cubic-bezier(.16,1,.3,1) both}[data-widget=inploi-chatbot] dialog::backdrop{background-color:var(--i-overlay-bg)}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot] [data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out}}@media (prefers-reduced-motion: reduce){[data-widget=inploi-chatbot],[data-widget=inploi-chatbot] *,[data-widget=inploi-chatbot] *:before,[data-widget=inploi-chatbot] *:after,[data-widget=inploi-chatbot] dialog::backdrop{animation:none!important;transition-property:opacity,color,background-color,border-color!important;transition-duration:.15s!important;scroll-behavior:auto!important}[data-widget=inploi-chatbot] .animate-fade-in,[data-widget=inploi-chatbot] .animate-bubble-in,[data-widget=inploi-chatbot] .animate-maximise,[data-widget=inploi-chatbot] .animate-slide-in-bottom,[data-widget=inploi-chatbot] dialog::backdrop{animation:inploi-chatbot-fade .15s ease-out!important}}@keyframes inploi-chatbot-fade{0%{opacity:0}}
2
+ `,Wa="inploi-chatbot",Ne=`[data-widget='${Wa}']`,Cr=()=>({getChatbotElement:()=>document.querySelector(Ne),getOrCreateChatbotElement:()=>{const t=document.querySelector(Ne);if(t)return document.body.appendChild(t),t;const e=document.createElement("div");return document.body.appendChild(e),e.dataset.widget=Wa,e}}),Er=25,Va=W(()=>{}),Di=["wheel","touchmove","keydown"],Pr=(t,e)=>new Promise((i,a)=>{if(e!=null&&e.aborted)return a(new ct);const o=setTimeout(i,t);e==null||e.addEventListener("abort",()=>{clearTimeout(o),a(new ct)},{once:!0})}),L={onSubmitSuccessFn$:W(()=>{}),onInteractionFn$:W(()=>{}),isBotTyping$:W(!1),captchaVisible$:W(!1),themeMode$:W("light"),isReadingHistory$:W(!1),scrollToEnd:()=>Va.value()},Tr=()=>{const t=bt(null),e=bt(-1/0);ht(()=>{const a=t.current;if(!a)return;const o=()=>{L.isReadingHistory$.value=!1,a.scrollTo({top:a.scrollHeight,behavior:"instant"})};Va.value=o;const n=()=>e.current=performance.now(),r=()=>{a.scrollHeight-a.scrollTop-a.clientHeight<=24?L.isReadingHistory$.value=!1:performance.now()-e.current<1e3&&(L.isReadingHistory$.value=!0)};a.addEventListener("scroll",r,{passive:!0});for(const l of Di)a.addEventListener(l,n,{passive:!0});const s=new ResizeObserver(()=>{L.isReadingHistory$.peek()||o()});return s.observe(a),a.firstElementChild&&s.observe(a.firstElementChild),()=>{a.removeEventListener("scroll",r);for(const l of Di)a.removeEventListener(l,n);s.disconnect()}},[]);const i=rt(()=>({setSubmission:(o,n)=>k.setSubmission(o,n),captcha:{container:()=>{var o;return((o=t.current)==null?void 0:o.querySelector("[data-captcha-slot]"))??null},get theme(){return L.themeMode$.peek()},reveal:o=>{L.captchaVisible$.value=o,o&&requestAnimationFrame(()=>{var n,r;(r=(n=t.current)==null?void 0:n.querySelector("[data-captcha-slot]"))==null||r.focus(),L.scrollToEnd()})}},send:async({message:o,signal:n,groupId:r})=>{if(await ae(o).with({author:"bot",type:"text"},async s=>{if(n!=null&&n.aborted)throw new ct;L.isBotTyping$.value=!0;const l=Math.min(Math.max(20,s.text.length),100)*Er;try{await Pr(l,n)}finally{L.isBotTyping$.value=!1}}).otherwise(async()=>{}),n!=null&&n.aborted)throw new ct;k.addMessage(o,r)},input:({input:o,signal:n})=>{if(n!=null&&n.aborted)throw new ct;return k.setInput(o),new Promise(r=>{const s=l=>{if(n!=null&&n.aborted)throw new ct;e.current=-1/0,k.setInput(void 0),o.key&&k.setSubmission(o.key,l),r(l)};L.onSubmitSuccessFn$.value=s})}}),[]);return{chatRef:t,chatService:i}};var Ir=["1","2","3","4","5","6","7","8","9","10","11","12"],Ar={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]}},zr=(t,e=1,i)=>a=>{const[o,n]=Ar[i][a];return"oklch("+o+"% "+n*e+" "+t+")"},we=t=>{const e=zr(t.hue,t.chroma,t.mode);return Object.fromEntries(Ir.map(i=>[t.prefix+i,t.transform(e(i))]))},ge=t=>t,Dr=t=>{const e=Object.keys(t).flatMap(i=>{const a=t[i];return typeof a=="object"&&a!==null?Object.keys(a).map(o=>{const n=a[o];return[`${String(i)}.${o}`,n]}):[[i,a]]});return Object.fromEntries(e)},jt=t=>!!t&&typeof t=="object"&&!Array.isArray(t),je=(t,...e)=>{if(!e.length)return t;const i=e.shift();if(jt(t)&&jt(i))for(const a in i){const o=i[a];if(jt(o)){t[a]||Object.assign(t,{[a]:{}});const n=t[a];jt(n)&&je(n,o)}else Object.assign(t,{[a]:i[a]})}return je(t,...e)},Or=t=>{function e(i,a){const o=[t.prefix,a.toString().replace(/\./g,"-")].join("");return i==="declaration"?`--${o}`:`var(--${o})`}return e},Nr=()=>({core:t=>({semantic:e=>({component:i=>({from:a=>{const{theme:o,getToken:n}=a,r=w=>n("reference",w.toString()),s=t({theme:o}),l=e({theme:o,core:r,raw:{core:s}}),d=i({theme:o,core:r,semantic:r,raw:{core:s,semantic:l}}),u=Dr(je(s,l,d)),c=([w,v],h)=>{const _=[h,w].filter(Boolean).join(".");return typeof v=="object"?Object.entries(v).flatMap(A=>c(A,_)):[[a.getToken("declaration",_),v]]};return{values:u,declarations:Object.fromEntries(Object.entries(u).flatMap(w=>c(w))),ref:w=>n("reference",w.toString())}}})})})});const[be,ve,Oi]=["oklch(0% 0 0)","oklch(100% 0 0)","transparent"],jr=Nr().core(({theme:t})=>({color:{black:be,white:ve,lowest:t.mode==="light"?ve:be,highest:t.mode==="light"?be:ve,...we({prefix:"a-",hue:t.hue,chroma:t.chroma,mode:t.mode,transform:ge}),...we({prefix:"n-",hue:t.hue,chroma:.05,mode:t.mode,transform:ge}),...we({prefix:"e-",hue:20,chroma:t.chroma,mode:t.mode,transform:ge})},typography:{}})).semantic(({core:t,raw:e,theme:i})=>{const a=(o,n)=>e.core.color[o].replace(")",` / ${n})`);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:a("n-8",i.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:Oi,"bg-hover":a("n-10",.2),"bg-active":a("n-10",.3)}}}).component(({raw:t,theme:e,semantic:i,core:a})=>{const o=(n,r)=>t.core.color[n].replace(")",` / ${r})`);return{app:{bg:a(e.mode==="dark"?"color.n-1":"color.n-2")},overlay:{bg:o("black",.4)},bubble:{"weak-bg":a(e.mode==="dark"?"color.n-3":"color.lowest"),"weak-outline":i("color.divider"),"strong-shadow":o("a-9",.05)},"status-bar":{bg:o("n-2",.8),"bg-button":Oi,"bg-button-hover":o("n-10",.4),"bg-button-active":o("n-10",.5)},"submit-button":{"bg-active":a(e.mode==="dark"?"color.a-8":"color.a-11")},"system-message":{warning:e.mode==="dark"?"#FFC107":"#8A5A00",success:e.mode==="dark"?"#4CAF50":"#2E7D32"}}}),Fr=Or({prefix:"i-"}),Mr=t=>{const e=jr.from({theme:t,getToken:Fr}),i=Object.entries(e.declarations).map(([a,o])=>`${a}: ${o};`);return`${Ne} {
3
+ ${i.concat(i).join(`
4
+ `)}
5
+ }`},Lr=({_internal_domManager:t=Cr(),theme:e,terms:i,feedback:a})=>Pt.createPlugin(({apiClient:o,rpcClient:n,logger:r,analytics:s,publishableKey:l,env:d})=>{let u=!1,c=0;const w=l&&d?Pt.createTalentBankClient({environment:d,publishableKey:l,logger:r}):void 0,v=g=>g===c,h=()=>{if(typeof window>"u")return;c++,B.flushStateData().catch(()=>{}),k.cancelCurrentFlow(),L.isBotTyping$.value=!1;const g=t.getChatbotElement();g&&(pt(null,g),g.remove()),u=!1,r.info("Chatbot plugin destroyed")},_=()=>{if(typeof window>"u")return;const g=c,b=[R("style",{id:"inploi-chatbot-styles"},Sr),R("style",{id:"inploi-chatbot-theme"},Mr(e))],y=t.getOrCreateChatbotElement();if(L.themeMode$.value=e.mode,pt(R(U,{},[b,R(kr,{apiClient:o,logger:r,analytics:s,talentBankClient:w,params:{theme:e,terms:i,feedback:a}})]),y),a){const C=T=>{var q,K;if(!v(g))return;const D=(q=t.getChatbotElement())==null?void 0:q.querySelector("dialog");D&&Br({instance:T({rpcClient:n,apiClient:o,logger:r,analytics:s}),theme:e,terms:((K=a.params)==null?void 0:K.terms)??{},host:D})};a.plugin instanceof Promise?a.plugin.then(({feedbackPlugin:T})=>{C(T())}).catch(T=>{r.error("Error preparing feedback plugin",T)}):C(a.plugin)}u=!0},A=async(g,b)=>{if(!v(b))return;Ao({context:g.context||{},schema:g.flow.context_schema,logger:r});const y=await k.prepareFlow(g);v(b)&&k.commitFlow(y)};return{prepare:async()=>{if(!(typeof window>"u"))try{if(u)return;_(),r.info("Chatbot plugin prepared")}catch(g){r.error("Error preparing chatbot plugin",g)}},fetchFlowByJobId:async(g,b)=>{const y=(b==null?void 0:b.idType)==="inploi"?"internal":"external";return n.request(No,{params:{id:g},searchParams:{id_type:y}}).then(C=>({flow:C.flow,title:C.job.title,flowKeys:[C.job.id,...(b==null?void 0:b.flowKeys)??[]],job:Oo(C,{id:g,idType:y}),...b,context:{user:C.user,...b==null?void 0:b.context}}))},fetchFlowById:async(g,b)=>n.request(jo,{params:{id:g}}).then(y=>{var C;return{flow:y.flow,title:"Chatbot",flowKeys:(b==null?void 0:b.flowKeys)??[],...b,analytics:{customProperties:{flow_id:y.flow.id,flow_version:y.flow.version,...(C=b==null?void 0:b.analytics)==null?void 0:C.customProperties}}}}),open:async g=>{if(!(typeof window>"u"))try{k.cancelCurrentFlow(),k.viewState$.value="maximised",u||_();const b=c;g instanceof Promise?(k.current$.value={state:"loading"},g.then(y=>A(y,b)).catch(y=>{v(b)&&(r.error("Error loading flow",y),k.current$.value={state:"error"})})):await A(g,b)}catch(b){r.error("Error starting flow",b)}},hasApplicationInProgress:async g=>{const b=await B.getStateData(g.flow,g.flowKeys,g.context??{});return b!==void 0&&Ai({data:b,nodes:g.flow.nodes})},hasAnyApplicationInProgress:async()=>(await B.getAllStateData()).some(g=>Ai({data:g,nodes:[]})),close:async()=>{typeof window>"u"||(k.cancelCurrentFlow(),r.info("Closed flow from an external source"))},destroy:h}});function Br({instance:t,terms:e,theme:i,host:a}){t.render({key:"chatbot-header",size:"sm",theme:{accent:{chroma:i.chroma??1,hue:i.hue},positive:{hue:180,chroma:1},negative:{hue:33,chroma:1},mode:i.mode,corners:"rounded",highlights:"stroke"},terms:e,host:a})}exports.$=Yi;exports.C=io;exports.ChevronDown=Ra;exports.Cn=En;exports.D=Re;exports.Ee=Io;exports.F=rt;exports.H=qi;exports.I=Hi;exports.LoadingIndicator=Ba;exports.M=ae;exports.N=eo;exports.Re=Eo;exports.Se=Po;exports.SvgIconButton=Jt;exports.T=ct;exports.U=Wi;exports.Z=Ki;exports._=bt;exports.ae=oo;exports.be=yo;exports.ce=so;exports.chatStore=L;exports.chatbotPlugin=Lr;exports.clsx=ee;exports.cva=ie;exports.fe=go;exports.ge=_o;exports.getFormSubmitter=hr;exports.h=We;exports.he=So;exports.idb=B;exports.invariant=Ze;exports.isSubmissionOfType=ur;exports.k=U;exports.k$1=_a;exports.ke=Co;exports.le=lo;exports.me=wo;exports.o=p;exports.p=Ve;exports.pe=co;exports.se=ao;exports.store=k;exports.ue=no;exports.useChatService=Tr;exports.useTranslation=Dt;exports.ve=xo;exports.we=ko;exports.xe=$o;exports.y=ht;exports.ye=mo;exports.z=Zi;exports.z$1=kt;