@incodetech/web 0.0.0-dev-20260325-bc7b3fb → 0.0.0-dev-20260325-b804685

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,26 +1,26 @@
1
- import { u as e, c as y, b as m, S as _, B as D } from "./button-qiC4m4lf.js";
2
- import { _ as E, D as R, A as I, y as f, d as M, k as O, q as P, T as S } from "./vendor-preact-BY8u4mdq.js";
1
+ import { u as e, c as _, b as v, B as D, S as F } from "./button-qiC4m4lf.js";
2
+ import { _ as E, D as k, q as R, A as g, d as M, y as I, k as S, T as N } from "./vendor-preact-BY8u4mdq.js";
3
3
  import "./uiConfig-BSR3Bl6G.js";
4
- import { P as F } from "./page-CH1_PpOG.js";
4
+ import { P as T } from "./page-CH1_PpOG.js";
5
5
  import { T as H } from "./typography-DgyeaZWI.js";
6
- import { L as K, P as j, c as q, a as Q, d as J, C as X, b as Y } from "./captureFooter-BIPDtCn6.js";
6
+ import { L as j, P as q, c as Q, a as J, d as X, C as Y, b as e1 } from "./captureFooter-BIPDtCn6.js";
7
7
  import { S as z } from "./spinner-_-QbAnd8.js";
8
- import { L as k, B as e1 } from "./manualCaptureButton-iyltFWfQ.js";
8
+ import { M as V, L as A, B as t1 } from "./manualCaptureButton-6WD7GhPe.js";
9
9
  import "@incodetech/core";
10
10
  import "./inputComposed-7r-2MfA7.js";
11
11
  import "./checkbox-KYc1FnQr.js";
12
12
  import "./phoneInputComposed-B4OTfqLt.js";
13
13
  import "./dateInputComposed-DzB7gNed.js";
14
- import { E as t1 } from "./errorIcon-DbJL-4MJ.js";
15
- import { S as i1 } from "./successIcon-C-3-t1kz.js";
14
+ import { E as i1 } from "./errorIcon-DbJL-4MJ.js";
15
+ import { S as n1 } from "./successIcon-C-3-t1kz.js";
16
16
  import "./countries-DfLkrF0x.js";
17
- const n1 = ({
18
- size: n,
17
+ const r1 = ({
18
+ size: i,
19
19
  class: t,
20
- variant: i = "xs"
20
+ variant: n = "xs"
21
21
  }) => {
22
- const r = n ?? (i === "xs" ? 14 : 24);
23
- return i === "xs" ? /* @__PURE__ */ e(
22
+ const r = i ?? (n === "xs" ? 14 : 24);
23
+ return n === "xs" ? /* @__PURE__ */ e(
24
24
  "svg",
25
25
  {
26
26
  width: r,
@@ -62,41 +62,41 @@ const n1 = ({
62
62
  )
63
63
  }
64
64
  );
65
- }, r1 = (n) => /* @__PURE__ */ E("svg", { width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...n }, /* @__PURE__ */ E("g", { clipPath: "url(#clip0_6394_10544)" }, /* @__PURE__ */ E("path", { d: "M8.3538 4.90039L3.9788 9.58789C3.93243 9.63737 3.87124 9.67042 3.80444 9.68207C3.73764 9.69372 3.66887 9.68332 3.60849 9.65245C3.54812 9.62158 3.49943 9.57191 3.46976 9.51094C3.4401 9.44997 3.43106 9.38101 3.44403 9.31445L4.01669 6.45L1.76552 5.60468C1.71717 5.5866 1.67405 5.55682 1.64002 5.51801C1.60599 5.4792 1.58211 5.43256 1.5705 5.38226C1.5589 5.33196 1.55993 5.27957 1.57351 5.22977C1.58709 5.17997 1.61279 5.13431 1.64833 5.09687L6.02333 0.409372C6.06969 0.359894 6.13089 0.326837 6.19769 0.315191C6.26448 0.303545 6.33326 0.313941 6.39363 0.34481C6.454 0.375679 6.50269 0.425347 6.53236 0.486318C6.56203 0.547289 6.57106 0.616255 6.55809 0.68281L5.98387 3.55039L8.23505 4.39453C8.28304 4.41273 8.32581 4.44248 8.35957 4.48114C8.39333 4.5198 8.41706 4.56618 8.42864 4.61618C8.44023 4.66619 8.43931 4.71828 8.42599 4.76784C8.41266 4.81741 8.38733 4.86293 8.35223 4.90039H8.3538Z", fill: "var(--icon-brand-500-static)" })), /* @__PURE__ */ E("defs", null, /* @__PURE__ */ E("clipPath", { id: "clip0_6394_10544" }, /* @__PURE__ */ E("rect", { width: 10, height: 10, fill: "white" })))), l1 = R(
66
- (n, t) => {
67
- const { class: i, rows: r = 4, ...l } = n;
65
+ }, l1 = (i) => /* @__PURE__ */ E("svg", { width: 10, height: 10, viewBox: "0 0 10 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...i }, /* @__PURE__ */ E("g", { clipPath: "url(#clip0_6394_10544)" }, /* @__PURE__ */ E("path", { d: "M8.3538 4.90039L3.9788 9.58789C3.93243 9.63737 3.87124 9.67042 3.80444 9.68207C3.73764 9.69372 3.66887 9.68332 3.60849 9.65245C3.54812 9.62158 3.49943 9.57191 3.46976 9.51094C3.4401 9.44997 3.43106 9.38101 3.44403 9.31445L4.01669 6.45L1.76552 5.60468C1.71717 5.5866 1.67405 5.55682 1.64002 5.51801C1.60599 5.4792 1.58211 5.43256 1.5705 5.38226C1.5589 5.33196 1.55993 5.27957 1.57351 5.22977C1.58709 5.17997 1.61279 5.13431 1.64833 5.09687L6.02333 0.409372C6.06969 0.359894 6.13089 0.326837 6.19769 0.315191C6.26448 0.303545 6.33326 0.313941 6.39363 0.34481C6.454 0.375679 6.50269 0.425347 6.53236 0.486318C6.56203 0.547289 6.57106 0.616255 6.55809 0.68281L5.98387 3.55039L8.23505 4.39453C8.28304 4.41273 8.32581 4.44248 8.35957 4.48114C8.39333 4.5198 8.41706 4.56618 8.42864 4.61618C8.44023 4.66619 8.43931 4.71828 8.42599 4.76784C8.41266 4.81741 8.38733 4.86293 8.35223 4.90039H8.3538Z", fill: "var(--icon-brand-500-static)" })), /* @__PURE__ */ E("defs", null, /* @__PURE__ */ E("clipPath", { id: "clip0_6394_10544" }, /* @__PURE__ */ E("rect", { width: 10, height: 10, fill: "white" })))), o1 = k(
66
+ (i, t) => {
67
+ const { class: n, rows: r = 4, ...l } = i;
68
68
  return /* @__PURE__ */ e(
69
69
  "textarea",
70
70
  {
71
71
  ...l,
72
72
  ref: t,
73
73
  rows: r,
74
- class: y("IncodeTextArea", i)
74
+ class: _("IncodeTextArea", n)
75
75
  }
76
76
  );
77
77
  }
78
- ), o1 = R(
78
+ ), a1 = k(
79
79
  ({
80
- id: n,
80
+ id: i,
81
81
  label: t,
82
- "aria-label": i,
82
+ "aria-label": n,
83
83
  error: r,
84
84
  showErrorIcon: l,
85
85
  helper: o,
86
- showHelperIcon: c,
86
+ showHelperIcon: s,
87
87
  required: a,
88
- rows: d = 4,
89
- class: s,
90
- ...g
88
+ rows: c = 4,
89
+ class: d,
90
+ ...h
91
91
  }, C) => {
92
- const v = `${n}-helper`, u = `${n}-error`, x = [o ? v : null, r ? u : null].filter(Boolean).join(" ");
93
- return /* @__PURE__ */ e("div", { class: y("IncodeTextAreaComposed", s), children: [
92
+ const w = `${i}-helper`, u = `${i}-error`, y = [o ? w : null, r ? u : null].filter(Boolean).join(" ");
93
+ return /* @__PURE__ */ e("div", { class: _("IncodeTextAreaComposed", d), children: [
94
94
  t && /* @__PURE__ */ e(
95
95
  "label",
96
96
  {
97
97
  class: "IncodeTextAreaComposedLabel",
98
- htmlFor: n,
99
- "data-testid": `${n}-label`,
98
+ htmlFor: i,
99
+ "data-testid": `${i}-label`,
100
100
  children: [
101
101
  t,
102
102
  a && /* @__PURE__ */ e("span", { class: "IncodeTextAreaComposedRequired", children: " *" })
@@ -104,15 +104,15 @@ const n1 = ({
104
104
  }
105
105
  ),
106
106
  /* @__PURE__ */ e("div", { class: "IncodeTextAreaComposedWrapper", children: /* @__PURE__ */ e(
107
- l1,
107
+ o1,
108
108
  {
109
- id: n,
110
- rows: d,
111
- ...g,
109
+ id: i,
110
+ rows: c,
111
+ ...h,
112
112
  ref: C,
113
113
  required: a,
114
- ...!t && i ? { "aria-label": i } : {},
115
- "aria-describedby": x || void 0,
114
+ ...!t && n ? { "aria-label": n } : {},
115
+ "aria-describedby": y || void 0,
116
116
  "aria-required": a ? "true" : void 0,
117
117
  "aria-invalid": r ? "true" : void 0
118
118
  }
@@ -121,9 +121,9 @@ const n1 = ({
121
121
  "div",
122
122
  {
123
123
  class: "IncodeTextAreaComposedErrorWrapper",
124
- "data-testid": `${n}-error-wrapper`,
124
+ "data-testid": `${i}-error-wrapper`,
125
125
  children: [
126
- l && /* @__PURE__ */ e("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ e(t1, { size: 17 }) }),
126
+ l && /* @__PURE__ */ e("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ e(i1, { size: 17 }) }),
127
127
  /* @__PURE__ */ e("p", { id: u, class: "IncodeTextAreaComposedError", children: r })
128
128
  ]
129
129
  }
@@ -132,26 +132,26 @@ const n1 = ({
132
132
  "div",
133
133
  {
134
134
  class: "IncodeTextAreaComposedHelperWrapper",
135
- "data-testid": `${n}-helper-wrapper`,
135
+ "data-testid": `${i}-helper-wrapper`,
136
136
  children: [
137
- c && /* @__PURE__ */ e("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ e(i1, { size: 17 }) }),
138
- /* @__PURE__ */ e("p", { id: v, class: "IncodeTextAreaComposedHelper", children: o })
137
+ s && /* @__PURE__ */ e("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ e(n1, { size: 17 }) }),
138
+ /* @__PURE__ */ e("p", { id: w, class: "IncodeTextAreaComposedHelper", children: o })
139
139
  ]
140
140
  }
141
141
  )
142
142
  ] });
143
143
  }
144
144
  );
145
- o1.displayName = "TextAreaComposed";
146
- function a1({
147
- children: n
145
+ a1.displayName = "TextAreaComposed";
146
+ function s1({
147
+ children: i
148
148
  }) {
149
- return /* @__PURE__ */ e("div", { class: "IncodeVerificationOptionCardList", children: n });
149
+ return /* @__PURE__ */ e("div", { class: "IncodeVerificationOptionCardList", children: i });
150
150
  }
151
- function s1({
152
- icon: n,
151
+ function c1({
152
+ icon: i,
153
153
  title: t,
154
- testId: i,
154
+ testId: n,
155
155
  onClick: r,
156
156
  tag: l
157
157
  }) {
@@ -161,27 +161,27 @@ function s1({
161
161
  type: "button",
162
162
  class: "IncodeVerificationOptionCard",
163
163
  onClick: r,
164
- "data-testid": i,
165
- "aria-labelledby": `${i}-label`,
164
+ "data-testid": n,
165
+ "aria-labelledby": `${n}-label`,
166
166
  children: [
167
167
  /* @__PURE__ */ e(
168
168
  "span",
169
169
  {
170
170
  class: "IncodeVerificationOptionCardIcon",
171
171
  "aria-hidden": "true",
172
- "data-testid": `${i}-icon`,
173
- children: /* @__PURE__ */ e(n, {})
172
+ "data-testid": `${n}-icon`,
173
+ children: /* @__PURE__ */ e(i, {})
174
174
  }
175
175
  ),
176
176
  /* @__PURE__ */ e("span", { class: "IncodeVerificationOptionCardContent", children: [
177
177
  /* @__PURE__ */ e(
178
178
  "span",
179
179
  {
180
- id: `${i}-label`,
180
+ id: `${n}-label`,
181
181
  class: "IncodeVerificationOptionCardTitleTagContainer",
182
182
  children: [
183
183
  /* @__PURE__ */ e("span", { class: "IncodeVerificationOptionCardTitle", children: t }),
184
- l && /* @__PURE__ */ e(c1, { label: l })
184
+ l && /* @__PURE__ */ e(d1, { label: l })
185
185
  ]
186
186
  }
187
187
  ),
@@ -190,7 +190,7 @@ function s1({
190
190
  {
191
191
  class: "IncodeVerificationOptionCardArrow",
192
192
  "data-testid": "chevron-right-icon",
193
- children: /* @__PURE__ */ e(n1, { size: 24, variant: "m" })
193
+ children: /* @__PURE__ */ e(r1, { size: 24, variant: "m" })
194
194
  }
195
195
  )
196
196
  ] })
@@ -198,13 +198,13 @@ function s1({
198
198
  }
199
199
  );
200
200
  }
201
- function c1({ label: n }) {
201
+ function d1({ label: i }) {
202
202
  return /* @__PURE__ */ e("div", { class: "IncodeVerificationOptionCardTag", children: [
203
- /* @__PURE__ */ e(r1, {}),
204
- /* @__PURE__ */ e("span", { children: n })
203
+ /* @__PURE__ */ e(l1, {}),
204
+ /* @__PURE__ */ e("span", { children: i })
205
205
  ] });
206
206
  }
207
- const d1 = ({ className: n }) => /* @__PURE__ */ e(
207
+ const C1 = ({ className: i }) => /* @__PURE__ */ e(
208
208
  "svg",
209
209
  {
210
210
  width: "24",
@@ -212,7 +212,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
212
212
  viewBox: "0 0 24 24",
213
213
  fill: "none",
214
214
  xmlns: "http://www.w3.org/2000/svg",
215
- class: n,
215
+ class: i,
216
216
  "aria-hidden": "true",
217
217
  children: [
218
218
  /* @__PURE__ */ e(
@@ -252,25 +252,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
252
252
  )
253
253
  ]
254
254
  }
255
- ), C1 = ({ className: n }) => /* @__PURE__ */ e(
256
- "svg",
257
- {
258
- width: "24",
259
- height: "24",
260
- viewBox: "0 0 24 24",
261
- fill: "none",
262
- xmlns: "http://www.w3.org/2000/svg",
263
- class: n,
264
- "aria-hidden": "true",
265
- children: /* @__PURE__ */ e(
266
- "path",
267
- {
268
- d: "M18.0431 4.54303C18.4336 4.15251 19.0666 4.15251 19.4572 4.54303C19.8476 4.93356 19.8476 5.5666 19.4572 5.95709L13.4142 12.0001L19.4572 18.043C19.8476 18.4336 19.8476 19.0666 19.4572 19.4571C19.0667 19.8475 18.4336 19.8475 18.0431 19.4571L12.0001 13.4141L5.95715 19.4571C5.56666 19.8475 4.93361 19.8475 4.54309 19.4571C4.15258 19.0666 4.15261 18.4336 4.54309 18.043L10.5861 12.0001L4.54309 5.95709C4.15258 5.56658 4.15261 4.93356 4.54309 4.54303C4.93362 4.15251 5.56663 4.15251 5.95715 4.54303L12.0001 10.586L18.0431 4.54303Z",
269
- fill: "currentColor"
270
- }
271
- )
272
- }
273
- ), p1 = ({ className: n }) => /* @__PURE__ */ e(
255
+ ), p1 = ({ className: i }) => /* @__PURE__ */ e(
274
256
  "svg",
275
257
  {
276
258
  width: "24",
@@ -278,7 +260,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
278
260
  viewBox: "0 0 24 24",
279
261
  fill: "none",
280
262
  xmlns: "http://www.w3.org/2000/svg",
281
- class: n,
263
+ class: i,
282
264
  "aria-hidden": "true",
283
265
  children: [
284
266
  /* @__PURE__ */ e(
@@ -312,7 +294,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
312
294
  ]
313
295
  }
314
296
  ), u1 = ({
315
- className: n
297
+ className: i
316
298
  }) => /* @__PURE__ */ e(
317
299
  "svg",
318
300
  {
@@ -321,7 +303,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
321
303
  viewBox: "0 0 24 24",
322
304
  fill: "none",
323
305
  xmlns: "http://www.w3.org/2000/svg",
324
- class: n,
306
+ class: i,
325
307
  "aria-hidden": "true",
326
308
  children: [
327
309
  /* @__PURE__ */ e(
@@ -362,7 +344,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
362
344
  )
363
345
  ]
364
346
  }
365
- ), h1 = ({ className: n }) => /* @__PURE__ */ e(
347
+ ), h1 = ({ className: i }) => /* @__PURE__ */ e(
366
348
  "svg",
367
349
  {
368
350
  width: "64",
@@ -370,7 +352,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
370
352
  viewBox: "0 0 64 64",
371
353
  fill: "none",
372
354
  xmlns: "http://www.w3.org/2000/svg",
373
- class: n,
355
+ class: i,
374
356
  "aria-hidden": "true",
375
357
  children: [
376
358
  /* @__PURE__ */ e("circle", { cx: "32", cy: "32", r: "32", fill: "#14151A" }),
@@ -384,107 +366,94 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
384
366
  ]
385
367
  }
386
368
  ), f1 = ({
387
- onClose: n,
388
- onTakeManually: t
369
+ open: i,
370
+ onClose: t,
371
+ onTakeManually: n,
372
+ portalContainer: r
389
373
  }) => {
390
- const { t: i } = m(), r = I(null), l = () => {
391
- t(), n();
374
+ const { t: l } = v(), o = R((a) => {
375
+ a?.focus();
376
+ }, []), s = () => {
377
+ n(), t();
392
378
  };
393
- return f(() => {
394
- r.current?.focus();
395
- }, []), /* @__PURE__ */ e(
396
- "div",
379
+ return /* @__PURE__ */ e(
380
+ V.Root,
397
381
  {
398
- class: "IncodeCommonIssuesModal",
399
- role: "dialog",
400
- "aria-modal": "true",
401
- "aria-labelledby": "common-issues-title",
402
- children: /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesModalContent", children: [
403
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesHeader", children: /* @__PURE__ */ e(
404
- "button",
382
+ open: i,
383
+ onOpenChange: (a) => {
384
+ a || t();
385
+ },
386
+ class: "IncodeCommonIssuesFullScreen",
387
+ hasBackdrop: !1,
388
+ portalContainer: r ?? void 0,
389
+ manageInitialFocus: !1,
390
+ children: /* @__PURE__ */ e(V.Content, { class: "IncodeCommonIssuesContent", children: [
391
+ /* @__PURE__ */ e(V.Close, { "aria-label": l("commonIssues.close") }),
392
+ /* @__PURE__ */ e(V.Icon, { class: "IncodeCommonIssuesQuestionIcon", children: /* @__PURE__ */ e(h1, {}) }),
393
+ /* @__PURE__ */ e(V.TitleSection, { children: /* @__PURE__ */ e(
394
+ H,
405
395
  {
406
- type: "button",
407
- class: "IncodeCommonIssuesCloseButton",
408
- onClick: n,
409
- "aria-label": i("commonIssues.close"),
410
- children: /* @__PURE__ */ e(C1, {})
396
+ id: "incode-modal-title",
397
+ ref: o,
398
+ className: "IncodeCommonIssuesTitle",
399
+ tabIndex: -1,
400
+ children: l("commonIssues.commonIssues")
411
401
  }
412
402
  ) }),
413
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesContent", children: [
414
- /* @__PURE__ */ e(
415
- h1,
416
- {
417
- className: "IncodeCommonIssuesQuestionIcon",
418
- "aria-hidden": "true"
419
- }
420
- ),
421
- /* @__PURE__ */ e(_, { size: 12 }),
403
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCards", children: [
404
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
405
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(p1, {}) }),
406
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
407
+ /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: l("commonIssues.glarePresent") }),
408
+ /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: l("commonIssues.glarePresentDescription") })
409
+ ] })
410
+ ] }),
411
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
412
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(C1, {}) }),
413
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
414
+ /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: l("commonIssues.blurPresent") }),
415
+ /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: l("commonIssues.blurPresentDescription") })
416
+ ] })
417
+ ] }),
418
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
419
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(u1, {}) }),
420
+ /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
421
+ /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: l("commonIssues.notReadable") }),
422
+ /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: l("commonIssues.notReadableDescription") })
423
+ ] })
424
+ ] })
425
+ ] }),
426
+ /* @__PURE__ */ e(V.Actions, { class: "IncodeCommonIssuesButtons", children: [
422
427
  /* @__PURE__ */ e(
423
- "h2",
428
+ D,
424
429
  {
425
- ref: r,
426
- id: "common-issues-title",
427
- class: "IncodeCommonIssuesTitle",
428
- tabIndex: -1,
429
- children: i("commonIssues.commonIssues")
430
+ variant: "link",
431
+ onClick: s,
432
+ class: "IncodeCommonIssuesTakeManually",
433
+ children: l("commonIssues.takeManually")
430
434
  }
431
435
  ),
432
- /* @__PURE__ */ e(_, { size: 24 }),
433
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCards", children: [
434
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
435
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(p1, {}) }),
436
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
437
- /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: i("commonIssues.glarePresent") }),
438
- /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: i("commonIssues.glarePresentDescription") })
439
- ] })
440
- ] }),
441
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
442
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(d1, {}) }),
443
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
444
- /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: i("commonIssues.blurPresent") }),
445
- /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: i("commonIssues.blurPresentDescription") })
446
- ] })
447
- ] }),
448
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCard", children: [
449
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardIcon", "aria-hidden": "true", children: /* @__PURE__ */ e(u1, {}) }),
450
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesCardText", children: [
451
- /* @__PURE__ */ e("h3", { class: "IncodeCommonIssuesCardTitle", children: i("commonIssues.notReadable") }),
452
- /* @__PURE__ */ e("p", { class: "IncodeCommonIssuesCardBody", children: i("commonIssues.notReadableDescription") })
453
- ] })
454
- ] })
455
- ] }),
456
- /* @__PURE__ */ e("div", { class: "IncodeCommonIssuesButtons", children: [
457
- /* @__PURE__ */ e(
458
- D,
459
- {
460
- variant: "link",
461
- onClick: l,
462
- class: "IncodeCommonIssuesTakeManually",
463
- children: i("commonIssues.takeManually")
464
- }
465
- ),
466
- /* @__PURE__ */ e(D, { onClick: n, class: "IncodeCommonIssuesTryAgain", children: i("commonIssues.tryAgain") })
467
- ] })
436
+ /* @__PURE__ */ e(D, { onClick: t, class: "IncodeCommonIssuesTryAgain", children: l("commonIssues.tryAgain") })
468
437
  ] })
469
438
  ] })
470
439
  }
471
440
  );
472
441
  }, I1 = ({
473
- orientation: n,
442
+ orientation: i,
474
443
  mode: t,
475
- state: i,
444
+ state: n,
476
445
  children: r,
477
446
  className: l
478
447
  }) => {
479
- const o = n !== "vertical" || t === "passport", c = t === "passport", a = `IncodeCaptureFrame${i.charAt(0).toUpperCase() + i.slice(1)}`;
448
+ const o = i !== "vertical" || t === "passport", s = t === "passport", a = `IncodeCaptureFrame${n.charAt(0).toUpperCase() + n.slice(1)}`;
480
449
  return /* @__PURE__ */ e(
481
450
  "div",
482
451
  {
483
- class: y(
452
+ class: _(
484
453
  "IncodeCaptureFrame",
485
454
  o ? "IncodeCaptureFrameHorizontal" : "IncodeCaptureFrameVertical",
486
455
  a,
487
- c && "IncodeCaptureFramePassport",
456
+ s && "IncodeCaptureFramePassport",
488
457
  l
489
458
  ),
490
459
  "aria-hidden": "true",
@@ -492,70 +461,70 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
492
461
  children: r
493
462
  }
494
463
  );
495
- }, N = ({
496
- imageUrl: n,
464
+ }, G = ({
465
+ imageUrl: i,
497
466
  orientation: t,
498
- mode: i,
467
+ mode: n,
499
468
  borderState: r,
500
469
  topContent: l,
501
470
  bottomContent: o,
502
- overlayContent: c
471
+ overlayContent: s
503
472
  }) => {
504
- const { t: a } = m();
505
- return /* @__PURE__ */ e(F, { hideHeader: !0, hideFooterBranding: !0, children: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingLayout", children: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingLayoutContent", children: [
473
+ const { t: a } = v();
474
+ return /* @__PURE__ */ e(T, { hideHeader: !0, hideFooterBranding: !0, children: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingLayout", children: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingLayoutContent", children: [
506
475
  l && /* @__PURE__ */ e("div", { class: "IncodeIdProcessingTopArea", children: l }),
507
476
  /* @__PURE__ */ e(
508
477
  I1,
509
478
  {
510
479
  orientation: t,
511
- mode: i === "id" ? "front" : i,
480
+ mode: n === "id" ? "front" : n,
512
481
  state: r,
513
482
  children: [
514
483
  /* @__PURE__ */ e(
515
484
  "img",
516
485
  {
517
- src: n,
486
+ src: i,
518
487
  alt: "",
519
488
  "aria-hidden": "true",
520
489
  class: "IncodeIdProcessingImage"
521
490
  }
522
491
  ),
523
- c && /* @__PURE__ */ e("div", { class: "IncodeIdProcessingOverlay", "aria-hidden": "true", children: c })
492
+ s && /* @__PURE__ */ e("div", { class: "IncodeIdProcessingOverlay", "aria-hidden": "true", children: s })
524
493
  ]
525
494
  }
526
495
  ),
527
496
  /* @__PURE__ */ e("div", { class: "IncodeIdProcessingBottomArea", children: [
528
497
  /* @__PURE__ */ e("div", { class: "IncodeCaptureEncryptionLabel", children: [
529
- /* @__PURE__ */ e(K, { className: "IncodeCaptureEncryptionIcon" }),
498
+ /* @__PURE__ */ e(j, { className: "IncodeCaptureEncryptionIcon" }),
530
499
  /* @__PURE__ */ e("span", { children: a("v2.capture.label") })
531
500
  ] }),
532
501
  o
533
502
  ] })
534
503
  ] }) }) });
535
504
  }, m1 = ({
536
- imageUrl: n,
505
+ imageUrl: i,
537
506
  progress: t,
538
- orientation: i,
507
+ orientation: n,
539
508
  mode: r
540
509
  }) => {
541
- const { t: l } = m(), o = I(null), c = i !== "vertical" || r === "passport", [a, d] = M(null);
542
- return f(() => {
510
+ const { t: l } = v(), o = g(null), s = n !== "vertical" || r === "passport", [a, c] = M(null);
511
+ return I(() => {
543
512
  o.current?.focus();
544
- }, []), f(() => {
545
- c ? import("./id-laser-h-BBV3r3rz.js").then((s) => {
546
- d(s.default);
547
- }) : import("./id-laser-v-BTHJaSfx.js").then((s) => {
548
- d(s.default);
513
+ }, []), I(() => {
514
+ s ? import("./id-laser-h-BBV3r3rz.js").then((d) => {
515
+ c(d.default);
516
+ }) : import("./id-laser-v-BTHJaSfx.js").then((d) => {
517
+ c(d.default);
549
518
  });
550
- }, [c]), /* @__PURE__ */ e(
551
- N,
519
+ }, [s]), /* @__PURE__ */ e(
520
+ G,
552
521
  {
553
- imageUrl: n,
554
- orientation: i,
522
+ imageUrl: i,
523
+ orientation: n,
555
524
  mode: r,
556
525
  borderState: "analyzing",
557
526
  topContent: /* @__PURE__ */ e("div", { class: "IncodeAnalyzingContent", children: [
558
- /* @__PURE__ */ e(j, { progress: t }),
527
+ /* @__PURE__ */ e(q, { progress: t }),
559
528
  /* @__PURE__ */ e(
560
529
  H,
561
530
  {
@@ -568,7 +537,7 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
568
537
  )
569
538
  ] }),
570
539
  overlayContent: a ? /* @__PURE__ */ e(
571
- k,
540
+ A,
572
541
  {
573
542
  animationData: a,
574
543
  loop: !0,
@@ -577,10 +546,10 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
577
546
  ) : null
578
547
  }
579
548
  );
580
- }, g1 = ({ className: n, ...t }) => /* @__PURE__ */ e(
549
+ }, g1 = ({ className: i, ...t }) => /* @__PURE__ */ e(
581
550
  "svg",
582
551
  {
583
- class: n,
552
+ class: i,
584
553
  width: "32",
585
554
  height: "32",
586
555
  viewBox: "0 0 32 32",
@@ -596,10 +565,10 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
596
565
  }
597
566
  )
598
567
  }
599
- ), G = ({ className: n, ...t }) => /* @__PURE__ */ e(
568
+ ), $ = ({ className: i, ...t }) => /* @__PURE__ */ e(
600
569
  "svg",
601
570
  {
602
- class: n,
571
+ class: i,
603
572
  width: "33",
604
573
  height: "32",
605
574
  viewBox: "0 0 33 32",
@@ -615,80 +584,80 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
615
584
  }
616
585
  )
617
586
  }
618
- ), $ = ({
619
- variant: n,
587
+ ), W = ({
588
+ variant: i,
620
589
  imageUrl: t,
621
- orientation: i,
590
+ orientation: n,
622
591
  mode: r,
623
592
  title: l,
624
593
  subtitle: o,
625
- buttonText: c,
594
+ buttonText: s,
626
595
  onButtonClick: a,
627
- attemptsRemaining: d
596
+ attemptsRemaining: c
628
597
  }) => {
629
- const { t: s } = m(), g = I(null);
630
- return f(() => {
631
- g.current?.focus();
598
+ const { t: d } = v(), h = g(null);
599
+ return I(() => {
600
+ h.current?.focus();
632
601
  }, []), /* @__PURE__ */ e(
633
- N,
602
+ G,
634
603
  {
635
604
  imageUrl: t,
636
- orientation: i,
605
+ orientation: n,
637
606
  mode: r,
638
- borderState: n,
607
+ borderState: i,
639
608
  topContent: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingResultContent", role: "status", children: [
640
- n === "success" ? /* @__PURE__ */ e(g1, { className: "IncodeIdProcessingResultIcon" }) : /* @__PURE__ */ e(G, { className: "IncodeIdProcessingResultIcon" }),
641
- /* @__PURE__ */ e(_, { size: 16 }),
609
+ i === "success" ? /* @__PURE__ */ e(g1, { className: "IncodeIdProcessingResultIcon" }) : /* @__PURE__ */ e($, { className: "IncodeIdProcessingResultIcon" }),
610
+ /* @__PURE__ */ e(F, { size: 16 }),
642
611
  l && /* @__PURE__ */ e(
643
612
  H,
644
613
  {
645
- ref: g,
614
+ ref: h,
646
615
  className: "IncodeIdProcessingResultTitle",
647
616
  tabIndex: -1,
648
617
  children: l
649
618
  }
650
619
  ),
651
- o && /* @__PURE__ */ e(O, { children: [
652
- /* @__PURE__ */ e(_, { size: 12 }),
620
+ o && /* @__PURE__ */ e(S, { children: [
621
+ /* @__PURE__ */ e(F, { size: 12 }),
653
622
  /* @__PURE__ */ e("p", { class: "IncodeIdProcessingResultSubtitle", children: o })
654
623
  ] })
655
624
  ] }),
656
625
  bottomContent: /* @__PURE__ */ e("div", { class: "IncodeIdProcessingResultButtonContainer", children: [
657
- d !== void 0 && d > 0 && /* @__PURE__ */ e("p", { class: "IncodeIdProcessingResultAttempts", children: s("v2.idError.attemptsLeft", {
658
- count: d
626
+ c !== void 0 && c > 0 && /* @__PURE__ */ e("p", { class: "IncodeIdProcessingResultAttempts", children: d("v2.idError.attemptsLeft", {
627
+ count: c
659
628
  }) }),
660
- /* @__PURE__ */ e(D, { onClick: a, "data-testid": "retry-button", children: c })
629
+ /* @__PURE__ */ e(D, { onClick: a, "data-testid": "retry-button", children: s })
661
630
  ] })
662
631
  }
663
632
  );
664
- }, v1 = ({ manager: n, state: t }) => {
665
- const { t: i } = m();
633
+ }, v1 = ({ manager: i, state: t }) => {
634
+ const { t: n } = v();
666
635
  if (!t.previewImageUrl)
667
636
  return null;
668
- const r = t.currentMode === "passport" ? "passport" : "id", l = () => t.needsBackCapture ? i("v2.idSuccess.subtitle") : t.needsFrontCapture ? i("idv2.capture.processing.successBackSubtitleScanFront") : i("v2.idSuccess.subtitleBack"), o = () => t.needsBackCapture ? i("idv2.capture.processing.scanBack") : t.needsFrontCapture ? i("idv2.capture.processing.scanFront") : i("idv2.capturePreview.continue");
637
+ const r = t.currentMode === "passport" ? "passport" : "id", l = () => t.needsBackCapture ? n("v2.idSuccess.subtitle") : t.needsFrontCapture ? n("idv2.capture.processing.successBackSubtitleScanFront") : n("v2.idSuccess.subtitleBack"), o = () => t.needsBackCapture ? n("idv2.capture.processing.scanBack") : t.needsFrontCapture ? n("idv2.capture.processing.scanFront") : n("idv2.capturePreview.continue");
669
638
  return /* @__PURE__ */ e(
670
- $,
639
+ W,
671
640
  {
672
641
  variant: "success",
673
642
  imageUrl: t.previewImageUrl,
674
643
  orientation: t.orientation,
675
644
  mode: r,
676
- title: i("v2.idSuccess.title"),
645
+ title: n("v2.idSuccess.title"),
677
646
  subtitle: l(),
678
647
  buttonText: o(),
679
- onButtonClick: () => n.nextStep()
648
+ onButtonClick: () => i.nextStep()
680
649
  }
681
650
  );
682
- }, w1 = ({ manager: n, state: t, ...i }) => {
683
- const { t: r } = m();
651
+ }, w1 = ({ manager: i, state: t, ...n }) => {
652
+ const { t: r } = v();
684
653
  if (t.status === "error")
685
654
  return /* @__PURE__ */ e("div", { class: "IncodeIdError", role: "alert", children: [
686
655
  /* @__PURE__ */ e("div", { class: "IncodeIdErrorMessage", children: t.error }),
687
- /* @__PURE__ */ e(D, { onClick: () => n.reset(), "data-testid": "retry-button", children: r("idv2.capturePreview.retry") })
656
+ /* @__PURE__ */ e(D, { onClick: () => i.reset(), "data-testid": "retry-button", children: r("idv2.capturePreview.retry") })
688
657
  ] });
689
658
  const l = t.currentMode === "passport" ? "passport" : "id";
690
659
  return t.previewImageUrl ? /* @__PURE__ */ e(
691
- $,
660
+ W,
692
661
  {
693
662
  variant: "error",
694
663
  imageUrl: t.previewImageUrl,
@@ -697,30 +666,30 @@ const d1 = ({ className: n }) => /* @__PURE__ */ e(
697
666
  title: t.uploadErrorMessage,
698
667
  subtitle: t.uploadErrorDescription,
699
668
  buttonText: t.canRetry ? r("idv2.capturePreview.tryAgain") : r("idv2.capturePreview.continue"),
700
- onButtonClick: () => n.continueFromError(),
669
+ onButtonClick: () => i.continueFromError(),
701
670
  attemptsRemaining: t.attemptsRemaining
702
671
  }
703
672
  ) : null;
704
- }, Q1 = ({ manager: n }) => {
705
- const { t } = m(), i = I(null);
706
- f(() => {
707
- i.current?.focus();
673
+ }, Q1 = ({ manager: i }) => {
674
+ const { t } = v(), n = g(null);
675
+ I(() => {
676
+ n.current?.focus();
708
677
  }, []);
709
678
  const r = () => {
710
- n.retryCapture();
679
+ i.retryCapture();
711
680
  };
712
- return /* @__PURE__ */ e(F, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdExpiredPage", children: [
681
+ return /* @__PURE__ */ e(T, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdExpiredPage", children: [
713
682
  /* @__PURE__ */ e("div", { class: "IncodeIdExpiredContent", role: "alert", children: [
714
- /* @__PURE__ */ e(G, { className: "IncodeIdExpiredIcon" }),
715
- /* @__PURE__ */ e(H, { ref: i, tabIndex: -1, className: "IncodeIdExpiredTitle", children: t("idv2.capture.notifications.expiredId") }),
716
- /* @__PURE__ */ e(_, { size: 12 }),
683
+ /* @__PURE__ */ e($, { className: "IncodeIdExpiredIcon" }),
684
+ /* @__PURE__ */ e(H, { ref: n, tabIndex: -1, className: "IncodeIdExpiredTitle", children: t("idv2.capture.notifications.expiredId") }),
685
+ /* @__PURE__ */ e(F, { size: 12 }),
717
686
  /* @__PURE__ */ e("p", { class: "IncodeIdExpiredSubtitle", children: t("idv2.capture.notifications.useDifferent") }),
718
- /* @__PURE__ */ e(_, { size: 80 })
687
+ /* @__PURE__ */ e(F, { size: 80 })
719
688
  ] }),
720
689
  /* @__PURE__ */ e("div", { class: "IncodeIdExpiredButtonContainer", children: /* @__PURE__ */ e(D, { variant: "primary", onClick: r, children: t("idv2.unacceptedId.tryAgain") }) })
721
690
  ] });
722
691
  }, L = /* @__PURE__ */ new Map();
723
- let A = !1;
692
+ let O = !1;
724
693
  const b = {
725
694
  blur: () => import("./blurdevicelottie-_BZRug1c.js"),
726
695
  glare: () => import("./glaredevicelottie-DLuIStvb.js"),
@@ -728,125 +697,125 @@ const b = {
728
697
  front: () => import("./frontdevicelottie-KhKxT5n9.js"),
729
698
  back: () => import("./backdevicelottie-B4NgyWmX.js")
730
699
  };
731
- function W(n) {
732
- A || (A = !0, Promise.all([
700
+ function K(i) {
701
+ O || (O = !0, Promise.all([
733
702
  b.blur(),
734
703
  b.glare(),
735
704
  b.align(),
736
705
  b.front(),
737
706
  b.back()
738
- ]).then(([t, i, r, l, o]) => {
739
- L.set("blur", t.default), L.set("glare", i.default), L.set("align", r.default), L.set("front", l.default), L.set("back", o.default), n?.();
707
+ ]).then(([t, n, r, l, o]) => {
708
+ L.set("blur", t.default), L.set("glare", n.default), L.set("align", r.default), L.set("front", l.default), L.set("back", o.default), i?.();
740
709
  }).catch(() => {
741
710
  }));
742
711
  }
743
- function L1() {
744
- W();
745
- }
746
712
  function x1() {
747
- f(() => {
748
- L1();
713
+ K();
714
+ }
715
+ function L1() {
716
+ I(() => {
717
+ x1();
749
718
  }, []);
750
719
  }
751
- function y1(n, t) {
752
- const { t: i } = m(), [, r] = M(0);
753
- if (f(() => {
754
- W(() => r((l) => l + 1));
755
- }, []), n === "blur")
720
+ function y1(i, t) {
721
+ const { t: n } = v(), [, r] = M(0);
722
+ if (I(() => {
723
+ K(() => r((l) => l + 1));
724
+ }, []), i === "blur")
756
725
  return {
757
- title: i("idv2.capture.notifications.blur.title"),
758
- description: i("idv2.capture.notifications.blur.description"),
726
+ title: n("idv2.capture.notifications.blur.title"),
727
+ description: n("idv2.capture.notifications.blur.description"),
759
728
  animationData: L.get("blur") ?? null
760
729
  };
761
- if (n === "glare")
730
+ if (i === "glare")
762
731
  return {
763
- title: i("idv2.capture.notifications.glare.title"),
764
- description: i("idv2.capture.notifications.glare.description"),
732
+ title: n("idv2.capture.notifications.glare.title"),
733
+ description: n("idv2.capture.notifications.glare.description"),
765
734
  animationData: L.get("glare") ?? null
766
735
  };
767
- if (n === "farAway")
736
+ if (i === "farAway")
768
737
  return {
769
- title: i("idv2.capture.notifications.notAligned.title"),
770
- description: i("idv2.capture.notifications.notAligned.description"),
738
+ title: n("idv2.capture.notifications.notAligned.title"),
739
+ description: n("idv2.capture.notifications.notAligned.description"),
771
740
  animationData: L.get("align") ?? null
772
741
  };
773
- if (n === "wrongSide") {
742
+ if (i === "wrongSide") {
774
743
  const l = t === "back";
775
744
  return {
776
- title: i(l ? "idv2.capture.notifications.showBack.title" : "idv2.capture.notifications.showFront.title"),
777
- description: i(l ? "idv2.capture.notifications.showBack.description" : "idv2.capture.notifications.showFront.description"),
745
+ title: n(l ? "idv2.capture.notifications.showBack.title" : "idv2.capture.notifications.showFront.title"),
746
+ description: n(l ? "idv2.capture.notifications.showBack.description" : "idv2.capture.notifications.showFront.description"),
778
747
  animationData: L.get(l ? "back" : "front") ?? null
779
748
  };
780
749
  }
781
750
  return null;
782
751
  }
783
752
  const _1 = ({
784
- detectionStatus: n,
753
+ detectionStatus: i,
785
754
  mode: t,
786
- isCapturing: i
755
+ isCapturing: n
787
756
  }) => {
788
- const { t: r } = m(), l = y1(n, t), o = I(null), c = I({
757
+ const { t: r } = v(), l = y1(i, t), o = g(null), s = g({
789
758
  message: "",
790
759
  at: 0
791
- }), a = I(n), d = I(!1), s = I(), g = I(), C = n === "detecting" || n === "idNotDetected" || n === "manualCapture", v = n === "manualCapture", u = n === "wrongSide", x = n === "farAway", B = n === "glare", Z = n === "blur", p = P((h) => {
792
- const V = Date.now(), U = c.current;
793
- if (h === U.message && V - U.at < 200) return;
794
- c.current = { message: h, at: V };
795
- const T = o.current;
796
- T && (clearTimeout(s.current), T.textContent = "", g.current = setTimeout(() => {
797
- T.textContent = h, s.current = setTimeout(() => {
798
- T.textContent = "";
760
+ }), a = g(i), c = g(!1), d = g(), h = g(), C = i === "detecting" || i === "idNotDetected" || i === "manualCapture", w = i === "manualCapture", u = i === "wrongSide", y = i === "farAway", B = i === "glare", Z = i === "blur", m = R((p) => {
761
+ const x = Date.now(), U = s.current;
762
+ if (p === U.message && x - U.at < 200) return;
763
+ s.current = { message: p, at: x };
764
+ const P = o.current;
765
+ P && (clearTimeout(d.current), P.textContent = "", h.current = setTimeout(() => {
766
+ P.textContent = p, d.current = setTimeout(() => {
767
+ P.textContent = "";
799
768
  }, 3e3);
800
769
  }, 50));
801
- }, []), w = P(() => r(t === "passport" ? "idv2.capture.fillFramePassport" : t === "back" ? "idv2.capture.v2.fillFrameBack" : "idv2.capture.v2.fillFrameFront"), [t, r]);
802
- return f(() => {
803
- if (v) {
804
- d.current = !1;
770
+ }, []), f = R(() => r(t === "passport" ? "idv2.capture.fillFramePassport" : t === "back" ? "idv2.capture.v2.fillFrameBack" : "idv2.capture.v2.fillFrameFront"), [t, r]);
771
+ return I(() => {
772
+ if (w) {
773
+ c.current = !1;
805
774
  return;
806
775
  }
807
- if (d.current || !C) return;
808
- const h = setTimeout(() => {
809
- d.current = !0, p(w());
776
+ if (c.current || !C) return;
777
+ const p = setTimeout(() => {
778
+ c.current = !0, m(f());
810
779
  }, 500);
811
- return () => clearTimeout(h);
812
- }, [C, v, p, w]), f(() => {
813
- const h = a.current;
814
- a.current = n, h !== "manualCapture" && v && p(r("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
815
- }, [p, n, v, r]), f(() => {
816
- if (!i) {
780
+ return () => clearTimeout(p);
781
+ }, [C, w, m, f]), I(() => {
782
+ const p = a.current;
783
+ a.current = i, p !== "manualCapture" && w && m(r("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
784
+ }, [m, i, w, r]), I(() => {
785
+ if (!n) {
817
786
  if (u) {
818
- const V = t === "front" || t === "passport" ? "idv2.capture.notifications.showFront" : "idv2.capture.notifications.showBack";
819
- p(`${r(`${V}.title`)}. ${r(`${V}.description`)}`);
787
+ const x = t === "front" || t === "passport" ? "idv2.capture.notifications.showFront" : "idv2.capture.notifications.showBack";
788
+ m(`${r(`${x}.title`)}. ${r(`${x}.description`)}`);
820
789
  return;
821
790
  }
822
- if (x) {
823
- p(`${r("idv2.capture.notifications.notAligned.title")}.`);
791
+ if (y) {
792
+ m(`${r("idv2.capture.notifications.notAligned.title")}.`);
824
793
  return;
825
794
  }
826
795
  if (B) {
827
- p(`${r("idv2.capture.notifications.glare.title")}.`);
796
+ m(`${r("idv2.capture.notifications.glare.title")}.`);
828
797
  return;
829
798
  }
830
799
  if (Z) {
831
- p(`${r("idv2.capture.notifications.blur.title")}.`);
800
+ m(`${r("idv2.capture.notifications.blur.title")}.`);
832
801
  return;
833
802
  }
834
- C && d.current && p(w());
803
+ C && c.current && m(f());
835
804
  }
836
805
  }, [
837
- p,
806
+ m,
838
807
  Z,
839
- i,
840
- x,
808
+ n,
809
+ y,
841
810
  B,
842
811
  C,
843
812
  u,
844
813
  t,
845
814
  r,
846
- w
847
- ]), f(() => () => {
848
- clearTimeout(g.current), clearTimeout(s.current);
849
- }, []), /* @__PURE__ */ e(O, { children: [
815
+ f
816
+ ]), I(() => () => {
817
+ clearTimeout(h.current), clearTimeout(d.current);
818
+ }, []), /* @__PURE__ */ e(S, { children: [
850
819
  /* @__PURE__ */ e(
851
820
  "div",
852
821
  {
@@ -856,57 +825,57 @@ const _1 = ({
856
825
  "aria-atomic": "true"
857
826
  }
858
827
  ),
859
- l ? /* @__PURE__ */ e("div", { class: y("IncodeIdCaptureNotification"), "aria-hidden": "true", children: /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationContent", children: [
860
- /* @__PURE__ */ e("div", { class: y("IncodeIdCaptureNotificationText"), children: [
828
+ l ? /* @__PURE__ */ e("div", { class: _("IncodeIdCaptureNotification"), "aria-hidden": "true", children: /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationContent", children: [
829
+ /* @__PURE__ */ e("div", { class: _("IncodeIdCaptureNotificationText"), children: [
861
830
  /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationTitle", children: l.title }),
862
831
  l.description && /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationDescription", children: l.description })
863
832
  ] }),
864
- /* @__PURE__ */ e(_, { size: 16, direction: "horizontal" }),
865
- l.animationData && /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationAnimation", children: /* @__PURE__ */ e(k, { animationData: l.animationData, loop: !0 }) })
833
+ /* @__PURE__ */ e(F, { size: 16, direction: "horizontal" }),
834
+ l.animationData && /* @__PURE__ */ e("div", { class: "IncodeIdCaptureNotificationAnimation", children: /* @__PURE__ */ e(A, { animationData: l.animationData, loop: !0 }) })
866
835
  ] }) }) : null
867
836
  ] });
868
- }, M1 = R(
837
+ }, M1 = k(
869
838
  ({
870
- mode: n,
839
+ mode: i,
871
840
  orientation: t,
872
- detectionStatus: i,
841
+ detectionStatus: n,
873
842
  counterValue: r,
874
843
  isCapturing: l,
875
844
  showManualCapture: o,
876
- onCapture: c,
845
+ onCapture: s,
877
846
  onOpenHelp: a,
878
- helpButtonRef: d,
879
- captureButtonRef: s
880
- }, g) => {
881
- const { t: C } = m();
882
- x1(), f(() => {
883
- o && s && s.current?.focus();
884
- }, [o, s]);
885
- const v = () => l || i === "capturing" ? "capturing" : i === "blur" || i === "glare" || i === "wrongSide" || i === "farAway" ? "error" : "idle", u = S(() => {
886
- if (l || i === "capturing")
847
+ helpButtonRef: c,
848
+ captureButtonRef: d
849
+ }, h) => {
850
+ const { t: C } = v();
851
+ L1(), I(() => {
852
+ o && d && d.current?.focus();
853
+ }, [o, d]);
854
+ const w = () => l || n === "capturing" ? "capturing" : n === "blur" || n === "glare" || n === "wrongSide" || n === "farAway" ? "error" : "idle", u = N(() => {
855
+ if (l || n === "capturing")
887
856
  return {
888
857
  title: C("idv2.capture.takingPhoto"),
889
858
  subtitle: C("idv2.capture.dontMove")
890
859
  };
891
- if (i === "detecting" || i === "idNotDetected" || i === "manualCapture") {
892
- const h = i === "manualCapture";
893
- return n === "passport" ? {
860
+ if (n === "detecting" || n === "idNotDetected" || n === "manualCapture") {
861
+ const p = n === "manualCapture";
862
+ return i === "passport" ? {
894
863
  title: C("idv2.capture.fillFramePassport"),
895
- subtitle: h ? "" : C("idv2.capture.v2.autoCapture")
896
- } : n === "back" ? {
864
+ subtitle: p ? "" : C("idv2.capture.v2.autoCapture")
865
+ } : i === "back" ? {
897
866
  title: C("idv2.capture.v2.fillFrameBack"),
898
- subtitle: h ? "" : C("idv2.capture.v2.autoCapture")
867
+ subtitle: p ? "" : C("idv2.capture.v2.autoCapture")
899
868
  } : {
900
869
  title: C("idv2.capture.v2.fillFrameFront"),
901
- subtitle: h ? "" : C("idv2.capture.v2.autoCapture")
870
+ subtitle: p ? "" : C("idv2.capture.v2.autoCapture")
902
871
  };
903
872
  }
904
873
  return null;
905
- }, [l, i, n, C]), x = v(), B = n === "passport", Z = t !== "vertical" || B, p = Z ? "horizontal" : "vertical";
874
+ }, [l, n, i, C]), y = w(), B = i === "passport", Z = t !== "vertical" || B, m = Z ? "horizontal" : "vertical";
906
875
  return /* @__PURE__ */ e(
907
- X,
876
+ Y,
908
877
  {
909
- className: y(
878
+ className: _(
910
879
  "IncodeCaptureOverlayId",
911
880
  !Z && "IncodeCaptureOverlayVertical"
912
881
  ),
@@ -915,13 +884,13 @@ const _1 = ({
915
884
  /* @__PURE__ */ e(
916
885
  _1,
917
886
  {
918
- detectionStatus: i,
919
- mode: n,
887
+ detectionStatus: n,
888
+ mode: i,
920
889
  isCapturing: l
921
890
  }
922
891
  ),
923
892
  /* @__PURE__ */ e(
924
- q,
893
+ Q,
925
894
  {
926
895
  title: u?.title ?? "",
927
896
  subtitle: u?.subtitle,
@@ -931,25 +900,25 @@ const _1 = ({
931
900
  )
932
901
  ] }),
933
902
  /* @__PURE__ */ e(
934
- Q,
903
+ J,
935
904
  {
936
- ref: g,
905
+ ref: h,
937
906
  variant: "locked",
938
- orientation: p,
939
- frameState: x,
940
- className: y(B && "IncodeCaptureFramePassport"),
907
+ orientation: m,
908
+ frameState: y,
909
+ className: _(B && "IncodeCaptureFramePassport"),
941
910
  children: l && r > 0 && /* @__PURE__ */ e("div", { class: "IncodeCaptureCounter", children: r })
942
911
  }
943
912
  ),
944
913
  /* @__PURE__ */ e("div", { class: "IncodeSrOnly", "aria-live": "polite", "aria-atomic": "true", children: l && r > 0 ? r : "" }),
945
914
  /* @__PURE__ */ e(
946
- J,
915
+ X,
947
916
  {
948
917
  onOpenHelp: a,
949
- onCapture: c,
918
+ onCapture: s,
950
919
  isManualCapture: o,
951
- helpButtonRef: d,
952
- captureButtonRef: s,
920
+ helpButtonRef: c,
921
+ captureButtonRef: d,
953
922
  captureAriaDescribedBy: o ? "manual-capture-tooltip" : void 0,
954
923
  children: o ? /* @__PURE__ */ e("div", { class: "IncodeIdManualCaptureTooltipContainer", children: /* @__PURE__ */ e(
955
924
  "div",
@@ -969,10 +938,10 @@ const _1 = ({
969
938
  }
970
939
  );
971
940
  }
972
- ), J1 = ({ manager: n, state: t }) => {
973
- const { t: i } = m();
941
+ ), J1 = ({ manager: i, state: t }) => {
942
+ const { t: n } = v();
974
943
  if (t.captureStatus === "initializing")
975
- return /* @__PURE__ */ e(F, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdCapturePage", children: /* @__PURE__ */ e(z, { size: "large", title: `${i("webcam.loading")}...` }) });
944
+ return /* @__PURE__ */ e(T, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdCapturePage", children: /* @__PURE__ */ e(z, { size: "large", title: `${n("webcam.loading")}...` }) });
976
945
  if (t.captureStatus === "uploading" && t.previewImageUrl) {
977
946
  const r = t.currentMode === "passport" ? "passport" : "id";
978
947
  return /* @__PURE__ */ e(
@@ -985,47 +954,47 @@ const _1 = ({
985
954
  }
986
955
  );
987
956
  }
988
- return t.captureStatus === "success" && t.previewImageUrl ? /* @__PURE__ */ e(v1, { manager: n, state: t }) : t.captureStatus === "uploadError" && t.previewImageUrl ? /* @__PURE__ */ e(w1, { manager: n, state: t }) : /* @__PURE__ */ e(B1, { manager: n, state: t });
989
- }, B1 = ({ manager: n, state: t }) => {
990
- const i = I(null), r = I(null), l = I(null), o = I(null), [c, a] = M(!1), [d, s] = M(!1);
991
- f(() => {
992
- const p = i.current;
993
- if (!p || !t.stream) {
994
- s(!1);
957
+ return t.captureStatus === "success" && t.previewImageUrl ? /* @__PURE__ */ e(v1, { manager: i, state: t }) : t.captureStatus === "uploadError" && t.previewImageUrl ? /* @__PURE__ */ e(w1, { manager: i, state: t }) : /* @__PURE__ */ e(B1, { manager: i, state: t });
958
+ }, B1 = ({ manager: i, state: t }) => {
959
+ const n = g(null), r = g(null), l = g(null), o = g(null), s = g(null), [a, c] = M(!1), [d, h] = M(!1);
960
+ I(() => {
961
+ const f = n.current;
962
+ if (!f || !t.stream) {
963
+ h(!1);
995
964
  return;
996
965
  }
997
- s(!1);
998
- const w = () => s(!0);
999
- return p.addEventListener("playing", w), p.srcObject = t.stream, p.play().catch(() => {
1000
- }), () => p.removeEventListener("playing", w);
1001
- }, [t.stream]), f(() => {
1002
- const p = () => {
1003
- const w = r.current;
1004
- if (!w)
966
+ h(!1);
967
+ const p = () => h(!0);
968
+ return f.addEventListener("playing", p), f.srcObject = t.stream, f.play().catch(() => {
969
+ }), () => f.removeEventListener("playing", p);
970
+ }, [t.stream]), I(() => {
971
+ const f = () => {
972
+ const p = r.current;
973
+ if (!p)
1005
974
  return;
1006
- const h = w.getBoundingClientRect();
1007
- n.updateDetectionArea({
1008
- x: h.left,
1009
- y: h.top,
1010
- width: h.width,
1011
- height: h.height
975
+ const x = p.getBoundingClientRect();
976
+ i.updateDetectionArea({
977
+ x: x.left,
978
+ y: x.top,
979
+ width: x.width,
980
+ height: x.height
1012
981
  });
1013
982
  };
1014
- return p(), window.addEventListener("resize", p), () => window.removeEventListener("resize", p);
1015
- }, [n, t.orientation, d]);
1016
- const g = t.captureStatus === "capturing" || t.detectionStatus === "capturing", C = t.detectionStatus, v = C === "manualCapture" || t.showCaptureButtonInAuto && t.captureStatus === "detecting" && C !== "capturing", u = () => {
1017
- a(!0);
1018
- }, x = () => {
1019
- a(!1), requestAnimationFrame(() => {
983
+ return f(), window.addEventListener("resize", f), () => window.removeEventListener("resize", f);
984
+ }, [i, t.orientation, d]);
985
+ const C = t.captureStatus === "capturing" || t.detectionStatus === "capturing", w = t.detectionStatus, u = w === "manualCapture" || t.showCaptureButtonInAuto && t.captureStatus === "detecting" && w !== "capturing", y = () => {
986
+ c(!0);
987
+ }, B = () => {
988
+ c(!1), requestAnimationFrame(() => {
1020
989
  o.current ? o.current.focus() : l.current?.focus();
1021
990
  });
1022
- }, B = () => {
1023
- a(!1), n.switchToManualCapture();
1024
991
  }, Z = () => {
1025
- n.capture();
992
+ c(!1), i.switchToManualCapture();
993
+ }, m = () => {
994
+ i.capture();
1026
995
  };
1027
- return /* @__PURE__ */ e(F, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdCapturePage", children: [
1028
- /* @__PURE__ */ e(Y, { stream: t.stream, "aria-hidden": c || void 0, children: /* @__PURE__ */ e(
996
+ return /* @__PURE__ */ e(T, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdCapturePage", children: [
997
+ /* @__PURE__ */ e(e1, { stream: t.stream, "aria-hidden": a || void 0, children: /* @__PURE__ */ e(
1029
998
  M1,
1030
999
  {
1031
1000
  ref: r,
@@ -1033,48 +1002,51 @@ const _1 = ({
1033
1002
  orientation: t.orientation,
1034
1003
  detectionStatus: t.detectionStatus,
1035
1004
  counterValue: t.counterValue,
1036
- isCapturing: g,
1037
- showManualCapture: v,
1038
- onCapture: Z,
1039
- onOpenHelp: u,
1005
+ isCapturing: C,
1006
+ showManualCapture: u,
1007
+ onCapture: m,
1008
+ onOpenHelp: y,
1040
1009
  helpButtonRef: l,
1041
1010
  captureButtonRef: o
1042
1011
  }
1043
1012
  ) }),
1044
- c && /* @__PURE__ */ e(
1013
+ /* @__PURE__ */ e("div", { ref: s }),
1014
+ /* @__PURE__ */ e(
1045
1015
  f1,
1046
1016
  {
1047
- onClose: x,
1048
- onTakeManually: B
1017
+ open: a,
1018
+ onClose: B,
1019
+ onTakeManually: Z,
1020
+ portalContainer: s.current
1049
1021
  }
1050
1022
  )
1051
1023
  ] });
1052
- }, X1 = ({ manager: n, state: t }) => {
1053
- const { t: i } = m(), [r, l] = M(!1), [o, c] = M(null), a = t.selectedDocumentType === "passport", d = t.currentMode === "back";
1054
- if (f(() => {
1024
+ }, X1 = ({ manager: i, state: t }) => {
1025
+ const { t: n } = v(), [r, l] = M(!1), [o, s] = M(null), a = t.selectedDocumentType === "passport", c = t.currentMode === "back";
1026
+ if (I(() => {
1055
1027
  a ? import("./passport-tutorial-CaYBFTqt.js").then((u) => {
1056
- c(u.default);
1057
- }) : d ? import("./back-tutorial-An9AcMSe.js").then((u) => {
1058
- c(u.default);
1028
+ s(u.default);
1029
+ }) : c ? import("./back-tutorial-An9AcMSe.js").then((u) => {
1030
+ s(u.default);
1059
1031
  }) : import("./id-tutorial-B-F5Q28m.js").then((u) => {
1060
- c(u.default);
1032
+ s(u.default);
1061
1033
  });
1062
- }, [a, d]), !o)
1034
+ }, [a, c]), !o)
1063
1035
  return null;
1064
- const s = i(a ? "idv2.capture.passport.title" : d ? "idv2.backTutorial.title" : "idv2.tutorial.v2.title"), g = i(a ? "idv2.capture.passport.subtitle" : d ? "idv2.backTutorial.subtitle" : "idv2.tutorial.subtitle"), C = i(d ? "idv2.backTutorial.disclaimer" : "idv2.tutorial.v2.autocapture");
1036
+ const d = n(a ? "idv2.capture.passport.title" : c ? "idv2.backTutorial.title" : "idv2.tutorial.v2.title"), h = n(a ? "idv2.capture.passport.subtitle" : c ? "idv2.backTutorial.subtitle" : "idv2.tutorial.subtitle"), C = n(c ? "idv2.backTutorial.disclaimer" : "idv2.tutorial.v2.autocapture");
1065
1037
  return /* @__PURE__ */ e(
1066
- e1,
1038
+ t1,
1067
1039
  {
1068
1040
  animationData: o,
1069
- title: s,
1070
- subtitle: g,
1041
+ title: d,
1042
+ subtitle: h,
1071
1043
  onContinue: () => {
1072
- l(!0), n.nextStep();
1044
+ l(!0), i.nextStep();
1073
1045
  },
1074
- buttonText: i("idv2.tutorial.startScan"),
1046
+ buttonText: n("idv2.tutorial.startScan"),
1075
1047
  disclaimerText: C,
1076
1048
  isLoading: r,
1077
- className: y(
1049
+ className: _(
1078
1050
  "IncodeIdTutorial",
1079
1051
  a ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId"
1080
1052
  )
@@ -1790,7 +1762,7 @@ const _1 = ({
1790
1762
  ] })
1791
1763
  ]
1792
1764
  }
1793
- ), b1 = () => /* @__PURE__ */ e(
1765
+ ), F1 = () => /* @__PURE__ */ e(
1794
1766
  "svg",
1795
1767
  {
1796
1768
  width: "60",
@@ -1996,7 +1968,7 @@ const _1 = ({
1996
1968
  ] })
1997
1969
  ]
1998
1970
  }
1999
- ), D1 = () => /* @__PURE__ */ e(
1971
+ ), b1 = () => /* @__PURE__ */ e(
2000
1972
  "svg",
2001
1973
  {
2002
1974
  width: "61",
@@ -2305,10 +2277,10 @@ const _1 = ({
2305
2277
  ] })
2306
2278
  ]
2307
2279
  }
2308
- ), F1 = {
2280
+ ), D1 = {
2309
2281
  digitalIdUpload: {
2310
2282
  type: "digitalIdUpload",
2311
- icon: D1,
2283
+ icon: b1,
2312
2284
  title: "idv2.chooser.digitalIdUploadButtonTitle",
2313
2285
  testId: "verification-option-digitalIdUpload",
2314
2286
  weight: 1
@@ -2336,39 +2308,39 @@ const _1 = ({
2336
2308
  },
2337
2309
  manualIdUpload: {
2338
2310
  type: "manualIdUpload",
2339
- icon: b1,
2311
+ icon: F1,
2340
2312
  title: "idv2.chooser.manualUploadButtonTitle",
2341
2313
  testId: "verification-option-manualIdUpload",
2342
2314
  weight: 5
2343
2315
  }
2344
2316
  };
2345
- function T1(n) {
2346
- const t = (i, r) => {
2347
- const l = F1[r];
2348
- return l && i.push(l), i;
2317
+ function T1(i) {
2318
+ const t = (n, r) => {
2319
+ const l = D1[r];
2320
+ return l && n.push(l), n;
2349
2321
  };
2350
- return n.reduce(t, []).sort((i, r) => i.weight - r.weight);
2322
+ return i.reduce(t, []).sort((n, r) => n.weight - r.weight);
2351
2323
  }
2352
- const Y1 = ({ manager: n, state: t }) => {
2353
- const { t: i } = m(), r = S(
2324
+ const Y1 = ({ manager: i, state: t }) => {
2325
+ const { t: n } = v(), r = N(
2354
2326
  () => T1(t.availableDocumentTypes),
2355
2327
  [t.availableDocumentTypes]
2356
2328
  ), l = (o) => {
2357
- n.selectDocument(o);
2329
+ i.selectDocument(o);
2358
2330
  };
2359
2331
  return /* @__PURE__ */ e(
2360
- F,
2332
+ T,
2361
2333
  {
2362
- title: i("idv2.chooser.chooseHowToVerifyTitle"),
2334
+ title: n("idv2.chooser.chooseHowToVerifyTitle"),
2363
2335
  "data-testid": "document-chooser-page",
2364
2336
  className: "IncodeChooserPage",
2365
- children: /* @__PURE__ */ e("div", { class: "IncodeChooserContainer", children: /* @__PURE__ */ e(a1, { children: r.map((o) => /* @__PURE__ */ e(
2366
- s1,
2337
+ children: /* @__PURE__ */ e("div", { class: "IncodeChooserContainer", children: /* @__PURE__ */ e(s1, { children: r.map((o) => /* @__PURE__ */ e(
2338
+ c1,
2367
2339
  {
2368
2340
  icon: o.icon,
2369
- title: i(o.title),
2341
+ title: n(o.title),
2370
2342
  testId: o.testId,
2371
- tag: o.tag ? i(o.tag) : void 0,
2343
+ tag: o.tag ? n(o.tag) : void 0,
2372
2344
  onClick: () => l(o.type)
2373
2345
  },
2374
2346
  o.type
@@ -2376,25 +2348,25 @@ const Y1 = ({ manager: n, state: t }) => {
2376
2348
  }
2377
2349
  );
2378
2350
  }, e2 = ({
2379
- manager: n,
2351
+ manager: i,
2380
2352
  direction: t
2381
2353
  }) => {
2382
- const [i, r] = M(null), [l, o] = M(!1), { t: c } = m();
2383
- f(() => {
2384
- import("./flip-animation-COR596wy.js").then((s) => {
2385
- r(s.default);
2354
+ const [n, r] = M(null), [l, o] = M(!1), { t: s } = v();
2355
+ I(() => {
2356
+ import("./flip-animation-COR596wy.js").then((d) => {
2357
+ r(d.default);
2386
2358
  });
2387
2359
  }, []);
2388
- const a = P(async () => {
2389
- await new Promise((s) => setTimeout(s, 1e3)), t === "toBack" ? n.continueToBack() : n.continueToFront(), o(!0);
2390
- }, [t, n]);
2391
- return l ? /* @__PURE__ */ e(z, { size: "large" }) : i ? /* @__PURE__ */ e("div", { class: "IncodeFlipAnimation", children: [
2392
- /* @__PURE__ */ e(H, { role: "status", className: "IncodeFlipAnimationTitle", children: c(t === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront") }),
2393
- /* @__PURE__ */ e(_, { size: 32 }),
2360
+ const a = R(async () => {
2361
+ await new Promise((d) => setTimeout(d, 1e3)), t === "toBack" ? i.continueToBack() : i.continueToFront(), o(!0);
2362
+ }, [t, i]);
2363
+ return l ? /* @__PURE__ */ e(z, { size: "large" }) : n ? /* @__PURE__ */ e("div", { class: "IncodeFlipAnimation", children: [
2364
+ /* @__PURE__ */ e(H, { role: "status", className: "IncodeFlipAnimationTitle", children: s(t === "toBack" ? "idv2.flipAnimation.title" : "idv2.flipAnimation.titleToFront") }),
2365
+ /* @__PURE__ */ e(F, { size: 32 }),
2394
2366
  /* @__PURE__ */ e(
2395
- k,
2367
+ A,
2396
2368
  {
2397
- animationData: i,
2369
+ animationData: n,
2398
2370
  loop: !1,
2399
2371
  reverse: t === "toFront",
2400
2372
  onComplete: a
@@ -2406,13 +2378,13 @@ export {
2406
2378
  J1 as C,
2407
2379
  e2 as F,
2408
2380
  w1 as I,
2409
- r1 as S,
2410
- l1 as T,
2411
- s1 as V,
2412
- o1 as a,
2413
- a1 as b,
2381
+ l1 as S,
2382
+ o1 as T,
2383
+ c1 as V,
2384
+ a1 as a,
2385
+ s1 as b,
2414
2386
  X1 as c,
2415
2387
  Y1 as d,
2416
2388
  Q1 as e,
2417
- n1 as f
2389
+ r1 as f
2418
2390
  };