@incodetech/web 0.0.0-dev-20260423-9fae59d → 0.0.0-dev-20260424-0007ea4

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.
Files changed (60) hide show
  1. package/dist/{addressAutocomplete-CcRXQC3B.js → addressAutocomplete-DrmyWZPD.js} +1 -1
  2. package/dist/ae-signature/ae-signature.es.js +2 -2
  3. package/dist/ae-signature/styles.css +3 -0
  4. package/dist/antifraud/antifraud.es.js +1 -1
  5. package/dist/authentication/authentication.es.js +2 -2
  6. package/dist/base.css +94 -0
  7. package/dist/{bottomSheet-D7Bcy6_9.js → bottomSheet-My8rHmzJ.js} +1 -1
  8. package/dist/consent/consent.es.js +2 -2
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  10. package/dist/curp-validation/curp-validation.es.js +1 -1
  11. package/dist/{customFields-CAL5OWfs.js → customFields-0s98Jr7J.js} +1 -1
  12. package/dist/{customWatchlist-B1Qw2jt3.js → customWatchlist-CoRfStGb.js} +1 -1
  13. package/dist/{documentCapture-DkTg5Akh.js → documentCapture-DbpFqhgC.js} +4 -4
  14. package/dist/ekyb/ekyb.es.js +1 -1
  15. package/dist/{ekybModule-DoyAP5zK.js → ekybModule-BN3-QREp.js} +2 -2
  16. package/dist/ekybModule-DVoTonIE.js +2 -0
  17. package/dist/ekyc/ekyc.es.js +1 -1
  18. package/dist/{ekycModule-m2j6dcJ1.js → ekycModule-9h_l1v4X.js} +2 -2
  19. package/dist/ekycModule-BI654xAG.js +2 -0
  20. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  21. package/dist/electronic-signature-D5kY_P4z.js +15735 -0
  22. package/dist/email/email.es.js +2 -2
  23. package/dist/{extensibility-Ccmjg9uF.js → extensibility-Bl2wmZwY.js} +3 -3
  24. package/dist/extensibility.es.js +4 -4
  25. package/dist/face-match/face-match.es.js +1 -1
  26. package/dist/face-match/styles.css +4 -0
  27. package/dist/faceMatch-DUQOSi6-.js +2 -0
  28. package/dist/{faceMatch-Cnb0bWfn.js → faceMatch-U9FIr5n_.js} +1 -1
  29. package/dist/flow/flow.es.js +3 -3
  30. package/dist/flow/styles.css +9 -0
  31. package/dist/geolocation/geolocation.es.js +1 -1
  32. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  33. package/dist/{homeScreen-BU7Ww_R3.js → homeScreen-ClQnTVYl.js} +25 -18
  34. package/dist/id/id.es.js +4 -4
  35. package/dist/{idOcr-DUZhj5yX.js → idOcr-BujvNiz0.js} +2 -2
  36. package/dist/identity-reuse/identity-reuse.es.js +1 -1
  37. package/dist/{mandatoryConsent-DQ8eqWpP.js → mandatoryConsent-C_KvIzI5.js} +2 -2
  38. package/dist/{modal-DAphmB5P.js → modal-T42EZVfc.js} +13 -13
  39. package/dist/{modal.hooks-B9B0KVgR.js → modal.hooks-DlvGTmPr.js} +8 -3
  40. package/dist/phone/phone.es.js +1 -1
  41. package/dist/qe-signature/qe-signature.es.js +2 -2
  42. package/dist/{redirectToMobile-ol3TyFHX.js → redirectToMobile-DFDeJ49m.js} +1 -1
  43. package/dist/{richText-BNC8z_ah.js → richText-BrAQFRcy.js} +1 -1
  44. package/dist/selfie/selfie.es.js +2 -2
  45. package/dist/selfie/styles.css +4 -0
  46. package/dist/signature/signature.es.js +6 -6
  47. package/dist/{tutorial-BfhxBq_l.js → tutorial-gtZRZwcE.js} +2 -2
  48. package/dist/types/extensibility.d.ts +3 -1
  49. package/dist/{useModuleLoader-uiNUAFk3.js → useModuleLoader-BvXHG4kl.js} +12 -12
  50. package/dist/watchlist/watchlist.es.js +1 -1
  51. package/dist/{watchlistForBusiness-B5Jz59eX.js → watchlistForBusiness-CJ_yHqbu.js} +1 -1
  52. package/dist/workflow/styles.css +4 -0
  53. package/dist/workflow/workflow.es.js +3 -3
  54. package/package.json +3 -2
  55. package/dist/ekybModule-DhcMg0kt.js +0 -2
  56. package/dist/ekycModule-_ejFVI0K.js +0 -2
  57. package/dist/electronic-signature-2-BscFlG.js +0 -407
  58. package/dist/faceMatch-CzhtPfJ-.js +0 -2
  59. /package/dist/{defineProperty-DB5OmvER.js → defineProperty-Dh8nSJpJ.js} +0 -0
  60. /package/dist/{incodeModule-BH9gV7jI.js → incodeModule-DcwjDRyJ.js} +0 -0
@@ -3,11 +3,11 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i, t as a } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as o } from "../spacer-CN9uvb__.js";
5
5
  import { t as s } from "../page-BB20C-zy.js";
6
- import "../extensibility-Ccmjg9uF.js";
6
+ import "../extensibility-Bl2wmZwY.js";
7
7
  import { t as c } from "../button-i4SPU5G7.js";
8
8
  import { t as l } from "../inputComposed-snw2V0ak.js";
9
9
  import { t as u } from "../otpInput-96a2tuz5.js";
10
- import { t as d } from "../incodeModule-BH9gV7jI.js";
10
+ import { t as d } from "../incodeModule-DcwjDRyJ.js";
11
11
  import { createEmailManager as f } from "@incodetech/core/email";
12
12
  //#region src/modules/email/emailInput.tsx
13
13
  var p = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, m = ({ prefilledEmail: i, emailError: a, label: o, disabled: s = !1, required: c = !1, onEmailChange: u }) => {
@@ -11,7 +11,7 @@ import "./spinner-CcWzwNeZ.js";
11
11
  import "./processing-B4uYww40.js";
12
12
  import { t as g } from "./button-i4SPU5G7.js";
13
13
  import { d as _, h as v, i as y, r as b, s as x, t as S } from "./icons-CR0w16NT.js";
14
- import { a as C, i as w } from "./tutorial-BfhxBq_l.js";
14
+ import { a as C, i as w } from "./tutorial-gtZRZwcE.js";
15
15
  import { t as T } from "./successIcon-Dklx5JWI.js";
16
16
  import "./verificationResult-DJOc6_hf.js";
17
17
  import "./inputComposed-snw2V0ak.js";
@@ -24,8 +24,8 @@ import "./phoneInputComposed-p1-AvgLf.js";
24
24
  import "./dropdownComposed-C4zoRTo2.js";
25
25
  import "./dateInputComposed-B0uPsoHC.js";
26
26
  import "./radioButtonComposed-DB8PavEd.js";
27
- import { t as E } from "./modal-DAphmB5P.js";
28
- import "./bottomSheet-D7Bcy6_9.js";
27
+ import { t as E } from "./modal-T42EZVfc.js";
28
+ import "./bottomSheet-My8rHmzJ.js";
29
29
  import "@incodetech/core/id";
30
30
  //#region src/shared/overlay/overlay.tsx
31
31
  var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("div", {
@@ -3,13 +3,13 @@ import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, n as r, o as i, t as a } from "./incodeComponent-DmPlyJO-.js";
4
4
  import { t as o } from "./spacer-CN9uvb__.js";
5
5
  import { t as s } from "./page-BB20C-zy.js";
6
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-Ccmjg9uF.js";
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-Bl2wmZwY.js";
7
7
  import { a as E, i as D, n as O, o as k, s as A, t as j } from "./typography-C-fmXMN1.js";
8
8
  import { t as M } from "./spinner-DLV8Z1TT.js";
9
9
  import { t as N } from "./processing-B4uYww40.js";
10
10
  import { t as P } from "./button-i4SPU5G7.js";
11
11
  import { a as F, c as I, d as L, f as R, h as z, i as B, l as V, m as H, n as U, o as W, p as G, r as K, s as q, t as J, u as Y } from "./icons-CR0w16NT.js";
12
- import { a as X, i as Z, n as Q, o as $, r as ee, t as te } from "./tutorial-BfhxBq_l.js";
12
+ import { a as X, i as Z, n as Q, o as $, r as ee, t as te } from "./tutorial-gtZRZwcE.js";
13
13
  import { t as ne } from "./successIcon-Dklx5JWI.js";
14
14
  import { t as re } from "./verificationResult-DJOc6_hf.js";
15
15
  import { n as ie, t as ae } from "./inputComposed-snw2V0ak.js";
@@ -21,6 +21,6 @@ import { t as fe } from "./phoneInputComposed-p1-AvgLf.js";
21
21
  import { t as pe } from "./dropdownComposed-mYhdUOGA.js";
22
22
  import { t as me } from "./dateInputComposed-DVAMP-vG.js";
23
23
  import { t as he } from "./radioButtonComposed-DB8PavEd.js";
24
- import { t as ge } from "./modal-DAphmB5P.js";
25
- import { t as _e } from "./bottomSheet-D7Bcy6_9.js";
24
+ import { t as ge } from "./modal-T42EZVfc.js";
25
+ import { t as _e } from "./bottomSheet-My8rHmzJ.js";
26
26
  export { Z as BaseTutorial, _e as BottomSheet, P as Button, G as CalendarIcon, f as CameraFrame, R as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, L as CaptureButtonIcon, u as CaptureFooter, se as Checkbox, Y as CheckmarkIcon, V as ChevronDown, I as ChevronLeftIcon, q as ChevronRightIcon, W as CloseIcon, me as DateInputComposed, pe as DropdownComposed, $ as ErrorContent, z as ErrorIcon, F as FileIcon, ce as FormField, B as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, ie as Input, ae as InputComposed, r as LandscapeBlocker, J as LightningIcon, K as LockIcon, X as Lottie, S as ManualCapture, ge as Modal, oe as OtpInput, T as Overlay, s as Page, ee as Permissions, fe as PhoneInputComposed, N as Processing, c as ProgressBar, he as RadioButtonComposed, U as SearchIcon, Q as SelfieCapture, te as SelfieTutorial, o as Spacer, M as Spinner, ne as SuccessIcon, p as TextArea, m as TextAreaComposed, j as Title, O as TypographyH1, D as TypographyH3, E as TypographyH4, k as TypographyH5, A as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, re as VerificationResult, H as WarningIcon, de as countries, le as getCountryByCallingCode, ue as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../faceMatch-Cnb0bWfn.js";
1
+ import { t as e } from "../faceMatch-U9FIr5n_.js";
2
2
  export { e as FaceMatch };
@@ -56,6 +56,10 @@
56
56
  position: absolute;
57
57
  }
58
58
 
59
+ .fixed {
60
+ position: fixed;
61
+ }
62
+
59
63
  .relative {
60
64
  position: relative;
61
65
  }
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./faceMatch-U9FIr5n_.js";
2
+ export { e as FaceMatch };
@@ -7,7 +7,7 @@ import { n as l } from "./loadingIcon-C-Sq5v_K.js";
7
7
  import { t as u } from "./typography-C-fmXMN1.js";
8
8
  import { t as d } from "./transitionSpinner-CU8-yMmE.js";
9
9
  import { t as f } from "./button-i4SPU5G7.js";
10
- import { t as p } from "./incodeModule-BH9gV7jI.js";
10
+ import { t as p } from "./incodeModule-DcwjDRyJ.js";
11
11
  import { createFaceMatchManager as m } from "@incodetech/core/face-match";
12
12
  //#region src/shared/snackbar/snackbar.tsx
13
13
  var h = ({ variant: e = "neutral", children: t, className: n, ariaLive: r = "polite" }) => /* @__PURE__ */ i("div", {
@@ -3,8 +3,8 @@ import { _ as t, c as n, l as r, o as i, p as a, v as o } from "../vendor-preact
3
3
  import { t as s } from "../uiConfig-CwpQ-IM6.js";
4
4
  import { o as c, t as l } from "../incodeComponent-DmPlyJO-.js";
5
5
  import { t as u } from "../transitionSpinner-CU8-yMmE.js";
6
- import { t as d } from "../incodeModule-BH9gV7jI.js";
7
- import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-uiNUAFk3.js";
6
+ import { t as d } from "../incodeModule-DcwjDRyJ.js";
7
+ import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-BvXHG4kl.js";
8
8
  import { getDeviceClass as w } from "@incodetech/core/device";
9
9
  import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
10
10
  import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
@@ -227,7 +227,7 @@ function U(e) {
227
227
  }
228
228
  //#endregion
229
229
  //#region src/modules/flow/flow.tsx
230
- var W = n(() => import("../homeScreen-BU7Ww_R3.js").then((e) => ({ default: e.HomeScreen }))), G = ({ config: n, onFinish: r, onError: a }) => {
230
+ var W = n(() => import("../homeScreen-ClQnTVYl.js").then((e) => ({ default: e.HomeScreen }))), G = ({ config: n, onFinish: r, onError: a }) => {
231
231
  let { i18n: s } = e(), l = U({
232
232
  ...n,
233
233
  onError: a
@@ -62,6 +62,10 @@
62
62
  position: absolute;
63
63
  }
64
64
 
65
+ .fixed {
66
+ position: fixed;
67
+ }
68
+
65
69
  .relative {
66
70
  position: relative;
67
71
  }
@@ -1513,6 +1517,8 @@
1513
1517
  line-height: var(--typography-headline-h2-line-height);
1514
1518
  letter-spacing: var(--typography-headline-h2-letter-spacing);
1515
1519
  color: var(--color-text-body-primary, var(--text-body-800-primary));
1520
+ --tw-outline-style: none;
1521
+ outline-style: none;
1516
1522
  }
1517
1523
 
1518
1524
  .IncodeHomeSettingsModal .IncodeHomeSettingsFooter {
@@ -7481,6 +7487,9 @@
7481
7487
 
7482
7488
  .IncodeElectronicSignatureDocContainer {
7483
7489
  border-radius: var(--radius-medium, var(--border-radius-medium));
7490
+ border-style: var(--tw-border-style);
7491
+ border-width: 1px;
7492
+ border-color: var(--color-border-neutral-100, var(--border-neutral-100));
7484
7493
  background-color: var(--color-surface-neutral-50, var(--surface-neutral-50));
7485
7494
  width: 100%;
7486
7495
  max-width: 420px;
@@ -5,7 +5,7 @@ import { t as s } from "../spacer-CN9uvb__.js";
5
5
  import { t as c } from "../page-BB20C-zy.js";
6
6
  import { t as l } from "../button-i4SPU5G7.js";
7
7
  import { t as u } from "../numberedStep-CSQrc-lB.js";
8
- import { t as d } from "../incodeModule-BH9gV7jI.js";
8
+ import { t as d } from "../incodeModule-DcwjDRyJ.js";
9
9
  import { getBrowser as f, getDeviceClass as p } from "@incodetech/core/device";
10
10
  import { createGeolocationManager as m } from "@incodetech/core/geolocation";
11
11
  //#region src/modules/geolocation/LocationActiveIcon.tsx
@@ -7,7 +7,7 @@ import { t as o } from "../spinner-DLV8Z1TT.js";
7
7
  import { h as s, m as c } from "../icons-CR0w16NT.js";
8
8
  import { t as l } from "../successIcon-Dklx5JWI.js";
9
9
  import { t as u } from "../otpInput-96a2tuz5.js";
10
- import { t as d } from "../incodeModule-BH9gV7jI.js";
10
+ import { t as d } from "../incodeModule-DcwjDRyJ.js";
11
11
  import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
12
12
  //#region src/modules/governmentValidation/governmentValidation.tsx
13
13
  var p = ({ variant: e, icon: n, title: r, subtitle: i }) => /* @__PURE__ */ t("div", {
@@ -6,7 +6,7 @@ import "./incode-logo-DhG3d-rP.js";
6
6
  import { t as u } from "./button-i4SPU5G7.js";
7
7
  import { t as d } from "./dropdownComposed-mYhdUOGA.js";
8
8
  import "./dropdownComposed-C4zoRTo2.js";
9
- import { t as f } from "./modal-DAphmB5P.js";
9
+ import { t as f } from "./modal-T42EZVfc.js";
10
10
  //#region src/shared/homeScreen/language.ts
11
11
  function p(e, t) {
12
12
  let [n, ...r] = Array.from(e);
@@ -64,20 +64,19 @@ function x() {
64
64
  //#endregion
65
65
  //#region src/shared/homeScreen/settings.tsx
66
66
  function S({ onClose: e }) {
67
- let { t: n } = t(), { selectedLanguage: r, languageOptions: i, changeLanguage: a } = x();
68
- return /* @__PURE__ */ s("section", {
67
+ let { t: n } = t(), { selectedLanguage: i, languageOptions: o, changeLanguage: c } = x(), p = a(null);
68
+ return r(() => {
69
+ p.current?.focus();
70
+ }, []), /* @__PURE__ */ s("section", {
69
71
  class: "IncodeHomeSettingsContainer",
70
72
  "aria-live": "polite",
71
73
  children: [
72
- /* @__PURE__ */ s(f.Close, {
73
- "aria-label": n("settings.close"),
74
- "data-testid": "home-settings-close-button",
75
- onClick: e
76
- }),
77
74
  /* @__PURE__ */ s("div", {
78
75
  class: "IncodeHomeSettingsBody",
79
76
  children: [
80
77
  /* @__PURE__ */ s("h1", {
78
+ ref: p,
79
+ id: "incode-modal-title",
81
80
  class: "IncodeHomeSettingsTitle",
82
81
  tabIndex: -1,
83
82
  children: n("settings.settings")
@@ -88,10 +87,10 @@ function S({ onClose: e }) {
88
87
  children: /* @__PURE__ */ s(d, {
89
88
  id: "home-language",
90
89
  label: n("v2.settings.language"),
91
- value: r,
92
- options: i,
90
+ value: i,
91
+ options: o,
93
92
  onChange: async (e) => {
94
- await a(e);
93
+ await c(e);
95
94
  },
96
95
  searchable: !0,
97
96
  "data-testid": "home-language-select"
@@ -106,6 +105,11 @@ function S({ onClose: e }) {
106
105
  "data-testid": "home-settings-done-button",
107
106
  children: n("settings.done")
108
107
  })
108
+ }),
109
+ /* @__PURE__ */ s(f.Close, {
110
+ "aria-label": n("settings.close"),
111
+ "data-testid": "home-settings-close-button",
112
+ onClick: e
109
113
  })
110
114
  ]
111
115
  });
@@ -145,10 +149,10 @@ function C() {
145
149
  //#endregion
146
150
  //#region src/shared/homeScreen/homeScreen.tsx
147
151
  function w({ onContinue: e, isContinueLoading: n }) {
148
- let { t: i } = t(), { logoSrc: d, subtitle: p } = c(), { selectedMainLanguageLabel: m } = x(), h = a(null), g = d || "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e", [_, v] = o(!1);
152
+ let { t: i } = t(), { logoSrc: d, subtitle: p } = c(), { selectedMainLanguageLabel: m } = x(), h = a(null), g = a(null), _ = d || "data:image/svg+xml,%3csvg%20width='76'%20height='20'%20viewBox='0%200%2076%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M40.1687%206.01811C42.2312%206.01811%2043.7927%206.59655%2044.8446%207.76024C45.8919%208.91831%2046.4126%2010.5865%2046.4126%2012.7583C46.4126%2014.93%2045.8748%2016.6105%2044.794%2017.7944C43.7102%2018.9815%2042.1729%2019.5735%2040.1937%2019.5735C38.1479%2019.5735%2036.5973%2018.99%2035.5546%2017.8187L35.4273%2017.6701C34.4729%2016.5101%2033.9984%2014.871%2033.9984%2012.7583C33.9984%208.28671%2036.0703%206.01811%2040.1687%206.01811ZM69.1127%206.01781C71.1144%206.01781%2072.5953%206.66904%2073.5373%207.97333C74.4288%209.2077%2074.8837%2010.9053%2074.9066%2013.0629L74.9058%2013.5242H66.1149C66.2174%2014.6334%2066.5602%2015.4734%2067.141%2016.0538C67.7488%2016.662%2068.6195%2016.9679%2069.7639%2016.9679C70.5188%2016.9679%2071.2373%2016.8742%2071.921%2016.6862C72.6048%2016.4995%2073.2105%2016.2581%2073.735%2015.9646L73.9814%2015.8267V18.666L73.8821%2018.7093C72.5607%2019.286%2071.0464%2019.5732%2069.3379%2019.5732C67.4088%2019.5732%2065.8853%2018.986%2064.7769%2017.8093C63.6699%2016.6348%2063.1183%2014.9722%2063.1183%2012.833C63.1183%2010.6451%2063.6389%208.96055%2064.6862%207.78517C65.7359%206.60632%2067.2157%206.01781%2069.1127%206.01781ZM60.3976%201.06738V16.3832C60.3976%2017.0998%2060.0996%2017.7092%2059.5124%2018.198C58.9425%2018.6724%2058.2282%2019.0207%2057.3718%2019.2435C56.5257%2019.4635%2055.6531%2019.5731%2054.7534%2019.5731C52.9298%2019.5731%2051.4237%2019.056%2050.2406%2018.0202C49.0485%2016.9752%2048.4588%2015.1678%2048.4588%2012.6072C48.4588%2010.5545%2048.9627%208.9421%2049.9753%207.77411C50.9938%206.60175%2052.4982%206.01774%2054.4782%206.01774C54.9416%206.01774%2055.4735%206.07665%2056.0742%206.19449C56.582%206.296%2057.0453%206.43849%2057.4648%206.62252V1.06738H60.3976ZM27.911%206.04223C29.2828%206.04223%2030.5881%206.29619%2031.8264%206.80393L31.9291%206.84604V9.55797L31.6992%209.46109C30.4503%208.93473%2029.3127%208.67257%2028.2863%208.67257C27.0102%208.67257%2026.0684%208.98809%2025.4521%209.61162C24.8366%2010.2352%2024.5242%2011.2397%2024.5242%2012.6331C24.5242%2014.0959%2024.8298%2015.1535%2025.4314%2015.8092C26.029%2016.4619%2027.002%2016.7923%2028.3613%2016.7923C29.4706%2016.7923%2030.589%2016.5234%2031.7164%2015.9842L31.9534%2015.8708V18.5903L31.8552%2018.634C30.6349%2019.1773%2029.3283%2019.4483%2027.936%2019.4483C26.2154%2019.4483%2024.7637%2018.9753%2023.5868%2018.0285L23.4123%2017.8829L23.2796%2017.7636C22.1516%2016.7067%2021.5914%2015.0592%2021.5914%2012.8332C21.5914%2010.4557%2022.186%208.72379%2023.3849%207.64725C24.5757%206.57726%2026.0871%206.04223%2027.911%206.04223ZM4.11045%206.39262L4.13613%2019.1987H1.15293V6.39262H4.11045ZM13.5766%206.0423C15.365%206.0423%2016.6948%206.41948%2017.5636%207.18368C18.4372%207.95269%2018.8706%209.13902%2018.8706%2010.7331V19.1984H15.9127V11.0838C15.9127%209.42945%2014.9988%208.62337%2013.1013%208.62337C12.3086%208.62337%2011.5458%208.73548%2010.8133%208.95959L10.5401%209.04888V19.1984H7.58147V7.40579L7.67177%207.35974C8.43481%206.97061%209.36013%206.65415%2010.4506%206.40815L10.8116%206.33134C11.7692%206.13867%2012.6905%206.0423%2013.5766%206.0423ZM40.1687%208.5477C39.0014%208.5477%2038.1814%208.89722%2037.6896%209.59114C37.1869%2010.3012%2036.932%2011.3564%2036.932%2012.7583C36.932%2014.1602%2037.1948%2015.223%2037.7142%2015.9499C38.2224%2016.6613%2039.0345%2017.0182%2040.1687%2017.0182C42.3685%2017.0182%2043.4555%2015.6249%2043.4555%2012.7583C43.4555%2011.325%2043.1888%2010.2632%2042.6636%209.57056C42.1472%208.89036%2041.3203%208.5477%2040.1687%208.5477ZM54.8535%208.59807C52.5835%208.59807%2051.4659%209.9271%2051.4659%2012.6579C51.4659%2014.0276%2051.7253%2015.0917%2052.2391%2015.8527C52.7378%2016.5945%2053.6185%2016.9678%2054.9035%2016.9678C55.6556%2016.9678%2056.2834%2016.8792%2056.7876%2016.7028C57.2156%2016.553%2057.4279%2016.378%2057.4604%2016.186L57.4648%2016.1332V9.25404L57.2778%209.15611C56.9611%208.99923%2056.6189%208.87406%2056.2512%208.78123C55.7705%208.65917%2055.3045%208.59807%2054.8535%208.59807ZM69.0377%208.49888C68.192%208.49888%2067.5412%208.71795%2067.0743%209.15366C66.6631%209.5374%2066.3731%2010.1684%2066.2101%2011.0498L66.1771%2011.2425H71.8784L71.8489%2011.0453C71.7111%2010.208%2071.4421%209.58986%2071.0461%209.18626C70.5969%208.72981%2069.9303%208.49888%2069.0377%208.49888ZM4.21085%201.94156V4.64764H1.07715V1.94156H4.21085Z'%20fill='%23006AFF'/%3e%3c/svg%3e", [v, y] = o(!1);
149
153
  return r(() => {
150
154
  h.current?.focus();
151
- }, []), /* @__PURE__ */ s("main", {
155
+ }, [p]), /* @__PURE__ */ s("main", {
152
156
  class: "IncodeHome",
153
157
  "aria-live": "polite",
154
158
  children: [/* @__PURE__ */ s("div", {
@@ -172,7 +176,7 @@ function w({ onContinue: e, isContinueLoading: n }) {
172
176
  }), /* @__PURE__ */ s("button", {
173
177
  type: "button",
174
178
  class: "IncodeHomeSettingsButton",
175
- onClick: () => v(!0),
179
+ onClick: () => y(!0),
176
180
  "aria-label": i("home.goToSettings"),
177
181
  "data-testid": "home-settings-button",
178
182
  children: /* @__PURE__ */ s(C, {})
@@ -183,7 +187,7 @@ function w({ onContinue: e, isContinueLoading: n }) {
183
187
  children: [/* @__PURE__ */ s("div", {
184
188
  class: "IncodeHomeLogoContainer",
185
189
  children: /* @__PURE__ */ s("img", {
186
- src: g,
190
+ src: _,
187
191
  alt: "",
188
192
  class: "IncodeHomeLogo",
189
193
  "data-testid": "home-logo",
@@ -197,6 +201,7 @@ function w({ onContinue: e, isContinueLoading: n }) {
197
201
  }) : null]
198
202
  }),
199
203
  /* @__PURE__ */ s(u, {
204
+ ref: g,
200
205
  onClick: () => {
201
206
  e();
202
207
  },
@@ -207,10 +212,12 @@ function w({ onContinue: e, isContinueLoading: n }) {
207
212
  })
208
213
  ]
209
214
  }), /* @__PURE__ */ s(f.Root, {
210
- open: _,
211
- onOpenChange: (e) => v(e),
215
+ open: v,
216
+ onOpenChange: (e) => y(e),
217
+ returnFocusRef: g,
218
+ manageInitialFocus: !1,
212
219
  class: "IncodeHomeSettingsModal",
213
- children: /* @__PURE__ */ s(f.Content, { children: /* @__PURE__ */ s(S, { onClose: () => v(!1) }) })
220
+ children: /* @__PURE__ */ s(f.Content, { children: /* @__PURE__ */ s(S, { onClose: () => y(!1) }) })
214
221
  })]
215
222
  });
216
223
  }
package/dist/id/id.es.js CHANGED
@@ -2,7 +2,7 @@ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
3
  import { o, t as s } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as c } from "../page-BB20C-zy.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-Ccmjg9uF.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-Bl2wmZwY.js";
6
6
  import { n as h } from "../loadingIcon-C-Sq5v_K.js";
7
7
  import { t as g } from "../spinner-DLV8Z1TT.js";
8
8
  import "../spinner-CcWzwNeZ.js";
@@ -10,9 +10,9 @@ import { t as _ } from "../transitionSpinner-CU8-yMmE.js";
10
10
  import { t as v } from "../processing-B4uYww40.js";
11
11
  import { t as y } from "../button-i4SPU5G7.js";
12
12
  import { h as b, s as x } from "../icons-CR0w16NT.js";
13
- import { o as S, r as C } from "../tutorial-BfhxBq_l.js";
13
+ import { o as S, r as C } from "../tutorial-gtZRZwcE.js";
14
14
  import { t as w } from "../successIcon-Dklx5JWI.js";
15
- import { t as T } from "../incodeModule-BH9gV7jI.js";
15
+ import { t as T } from "../incodeModule-DcwjDRyJ.js";
16
16
  import { t as E } from "../tabs-NxklvgNU.js";
17
17
  import { createIdCaptureManager as D } from "@incodetech/core/id";
18
18
  //#region src/shared/fonts/preloadDisplayFont.ts
@@ -219,7 +219,7 @@ function B() {
219
219
  }
220
220
  //#endregion
221
221
  //#region src/modules/id/id.tsx
222
- var V = n(() => import("../mandatoryConsent-DQ8eqWpP.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
222
+ var V = n(() => import("../mandatoryConsent-C_KvIzI5.js").then((e) => ({ default: e.MandatoryConsent }))), H = ({ config: n, manager: r, onFinish: s, onError: c }) => {
223
223
  A();
224
224
  let { t: h } = e();
225
225
  t(() => {
@@ -2,13 +2,13 @@ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as n, t as r } from "./incodeComponent-DmPlyJO-.js";
4
4
  import { t as i } from "./page-BB20C-zy.js";
5
- import "./extensibility-Ccmjg9uF.js";
5
+ import "./extensibility-Bl2wmZwY.js";
6
6
  import { t as a } from "./spinner-DLV8Z1TT.js";
7
7
  import { t as o } from "./button-i4SPU5G7.js";
8
8
  import { t as s } from "./inputComposed-snw2V0ak.js";
9
9
  import { t as c } from "./dateInputComposed-DVAMP-vG.js";
10
10
  import { t as l } from "./radioButtonComposed-DB8PavEd.js";
11
- import { t as u } from "./incodeModule-BH9gV7jI.js";
11
+ import { t as u } from "./incodeModule-DcwjDRyJ.js";
12
12
  import { createIdOcrManager as d, getOcrFields as f } from "@incodetech/core/id-ocr";
13
13
  //#region src/modules/id-ocr/idOcrForm.tsx
14
14
  var p = {
@@ -4,7 +4,7 @@ import { o as r, t as i } from "../incodeComponent-DmPlyJO-.js";
4
4
  import { t as a } from "../page-BB20C-zy.js";
5
5
  import { t as o } from "../spinner-DLV8Z1TT.js";
6
6
  import { t as s } from "../button-i4SPU5G7.js";
7
- import { t as c } from "../incodeModule-BH9gV7jI.js";
7
+ import { t as c } from "../incodeModule-DcwjDRyJ.js";
8
8
  import { createIdentityReuseManager as l } from "@incodetech/core/identity-reuse";
9
9
  //#region src/modules/identity-reuse/identity-reuse.tsx
10
10
  var u = ({ name: e }) => /* @__PURE__ */ n("div", {
@@ -6,8 +6,8 @@ import { n as s } from "./typography-C-fmXMN1.js";
6
6
  import { t as c } from "./transitionSpinner-CU8-yMmE.js";
7
7
  import { t as l } from "./button-i4SPU5G7.js";
8
8
  import { t as u } from "./checkbox-U9Zb6MbF.js";
9
- import { t as d } from "./incodeModule-BH9gV7jI.js";
10
- import { t as f } from "./richText-BNC8z_ah.js";
9
+ import { t as d } from "./incodeModule-DcwjDRyJ.js";
10
+ import { t as f } from "./richText-BrAQFRcy.js";
11
11
  import { createMandatoryConsentManager as p } from "@incodetech/core/mandatory-consent";
12
12
  //#region src/modules/mandatory-consent/mandatoryConsent.tsx
13
13
  var m = ({ config: a, manager: d, onFinish: m, onError: h }) => {
@@ -1,7 +1,7 @@
1
1
  import { C as e, b as t, d as n, f as r, g as i, h as a, l as o, p as s, r as c, v as l, x as u, y as d } from "./vendor-preact-D6SntenC.js";
2
2
  import { n as f } from "./loadingIcon-C-Sq5v_K.js";
3
3
  import { o as p } from "./icons-CR0w16NT.js";
4
- import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-B9B0KVgR.js";
4
+ import { a as m, i as h, n as g, o as _, r as v, t as y } from "./modal.hooks-DlvGTmPr.js";
5
5
  //#region src/shared/modal/modal.tsx
6
6
  var b = u(null);
7
7
  function x() {
@@ -9,16 +9,16 @@ function x() {
9
9
  if (!e) throw Error("Modal compound components must be used within Modal.Root");
10
10
  return e;
11
11
  }
12
- function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalContainer: u, class: d, hasBackdrop: p = !0, manageInitialFocus: y = !0 }) {
13
- let x = m(e, u ?? void 0), [S, C] = s(!1), w = o(null), T = a(() => {
12
+ function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalContainer: u, class: d, hasBackdrop: p = !0, manageInitialFocus: y = !0, returnFocusRef: x }) {
13
+ let S = m(e, u ?? void 0), [C, w] = s(!1), T = o(null), E = a(() => {
14
14
  i && r?.(!1);
15
- }, [i, r]), E = n(() => ({
16
- setHasDescription: C,
15
+ }, [i, r]), D = n(() => ({
16
+ setHasDescription: w,
17
17
  dismissible: i,
18
- requestClose: T
19
- }), [i, T]), D = e && !!x;
20
- return g(e), v(e, i, T), h(D, w, y), _(D, w), !x || !e ? null : c(/* @__PURE__ */ l(b.Provider, {
21
- value: E,
18
+ requestClose: E
19
+ }), [i, E]), O = e && !!S;
20
+ return g(e), v(e, i, E), h(O, T, y, x), _(O, T), !S || !e ? null : c(/* @__PURE__ */ l(b.Provider, {
21
+ value: D,
22
22
  children: /* @__PURE__ */ l("div", {
23
23
  class: f("IncodeModalRoot", d),
24
24
  "data-incode-modal": "",
@@ -26,15 +26,15 @@ function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalC
26
26
  class: "IncodeModalBackdrop",
27
27
  "aria-hidden": "true",
28
28
  onMouseDown: () => {
29
- T();
29
+ E();
30
30
  }
31
31
  }), /* @__PURE__ */ l("div", {
32
- ref: w,
32
+ ref: T,
33
33
  class: "IncodeModalDialog",
34
34
  role: "dialog",
35
35
  "aria-modal": "true",
36
36
  "aria-labelledby": "incode-modal-title",
37
- "aria-describedby": S ? "incode-modal-description" : void 0,
37
+ "aria-describedby": C ? "incode-modal-description" : void 0,
38
38
  tabIndex: -1,
39
39
  onMouseDown: (e) => {
40
40
  e.stopPropagation();
@@ -42,7 +42,7 @@ function S({ open: e, children: t, onOpenChange: r, dismissible: i = !0, portalC
42
42
  children: t
43
43
  })]
44
44
  })
45
- }), x);
45
+ }), S);
46
46
  }
47
47
  function C({ children: e, class: t }) {
48
48
  return /* @__PURE__ */ l("div", {
@@ -67,21 +67,26 @@ function u(t, n, r) {
67
67
  r
68
68
  ]);
69
69
  }
70
- function d(t, n, r = !0) {
70
+ function d(t, n, r = !0, i) {
71
71
  e(() => {
72
72
  if (!t) return;
73
- let e = document.activeElement;
73
+ let e = document.activeElement, a = i?.current ?? null;
74
74
  if (r) {
75
75
  let e = n.current;
76
76
  e && s(e).focus();
77
77
  }
78
78
  return () => {
79
+ if (a && typeof a.focus == "function") {
80
+ a.focus();
81
+ return;
82
+ }
79
83
  e && typeof e.focus == "function" && e.focus();
80
84
  };
81
85
  }, [
82
86
  t,
83
87
  n,
84
- r
88
+ r,
89
+ i
85
90
  ]);
86
91
  }
87
92
  function f(t, n) {
@@ -7,7 +7,7 @@ import { t as s } from "../button-i4SPU5G7.js";
7
7
  import { t as c } from "../otpInput-96a2tuz5.js";
8
8
  import { t as l } from "../checkbox-U9Zb6MbF.js";
9
9
  import { t as u } from "../phoneInputComposed-p1-AvgLf.js";
10
- import { t as d } from "../incodeModule-BH9gV7jI.js";
10
+ import { t as d } from "../incodeModule-DcwjDRyJ.js";
11
11
  import { createPhoneManager as f } from "@incodetech/core/phone";
12
12
  //#region src/modules/phone/phone.tsx
13
13
  function p(e) {
@@ -1,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-2-BscFlG.js";
3
- import { t as n } from "../incodeModule-BH9gV7jI.js";
2
+ import { n as t } from "../electronic-signature-D5kY_P4z.js";
3
+ import { t as n } from "../incodeModule-DcwjDRyJ.js";
4
4
  //#region src/modules/qe-signature/qe-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
6
6
  config: n ? {
@@ -11,7 +11,7 @@ import { t as _ } from "./button-i4SPU5G7.js";
11
11
  import "./icons-CR0w16NT.js";
12
12
  import { t as v } from "./successIcon-Dklx5JWI.js";
13
13
  import { n as y } from "./countries-BntFjJJG.js";
14
- import { t as b } from "./incodeModule-BH9gV7jI.js";
14
+ import { t as b } from "./incodeModule-DcwjDRyJ.js";
15
15
  import { t as x } from "./tabs-NxklvgNU.js";
16
16
  import { createRedirectToMobileManager as S } from "@incodetech/core/redirect-to-mobile";
17
17
  //#region src/modules/redirect-to-mobile/redirectHeader.tsx
@@ -1,5 +1,5 @@
1
1
  import { t as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import { t as n } from "./defineProperty-DB5OmvER.js";
2
+ import { t as n } from "./defineProperty-Dh8nSJpJ.js";
3
3
  //#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
4
4
  var { entries: r, setPrototypeOf: i, isFrozen: a, getPrototypeOf: o, getOwnPropertyDescriptor: s } = Object, { freeze: c, seal: l, create: u } = Object, { apply: d, construct: f } = typeof Reflect < "u" && Reflect;
5
5
  c ||= function(e) {
@@ -2,8 +2,8 @@ import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n, t as r } from "../incodeComponent-DmPlyJO-.js";
3
3
  import { t as i } from "../transitionSpinner-CU8-yMmE.js";
4
4
  import { t as a } from "../processing-B4uYww40.js";
5
- import { n as o, r as s, t as c } from "../tutorial-BfhxBq_l.js";
6
- import { t as l } from "../incodeModule-BH9gV7jI.js";
5
+ import { n as o, r as s, t as c } from "../tutorial-gtZRZwcE.js";
6
+ import { t as l } from "../incodeModule-DcwjDRyJ.js";
7
7
  import { createSelfieManager as u } from "@incodetech/core/selfie";
8
8
  //#region src/modules/selfie/preloadTutorialAssets.ts
9
9
  var d = !1;
@@ -61,6 +61,10 @@
61
61
  position: absolute;
62
62
  }
63
63
 
64
+ .fixed {
65
+ position: fixed;
66
+ }
67
+
64
68
  .relative {
65
69
  position: relative;
66
70
  }
@@ -6,13 +6,13 @@ import { t as d } from "../page-BB20C-zy.js";
6
6
  import { r as f } from "../typography-C-fmXMN1.js";
7
7
  import { t as p } from "../button-i4SPU5G7.js";
8
8
  import { t as m } from "../successIcon-Dklx5JWI.js";
9
- import { t as h } from "../incodeModule-BH9gV7jI.js";
10
- import { t as g } from "../defineProperty-DB5OmvER.js";
9
+ import { t as h } from "../defineProperty-Dh8nSJpJ.js";
10
+ import { t as g } from "../incodeModule-DcwjDRyJ.js";
11
11
  import { createSignatureManager as _ } from "@incodetech/core/signature";
12
12
  //#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
13
13
  var v = class {
14
14
  constructor(e, t, n, r) {
15
- if (g(this, "x", void 0), g(this, "y", void 0), g(this, "pressure", void 0), g(this, "time", void 0), isNaN(e) || isNaN(t)) throw Error(`Point is invalid: (${e}, ${t})`);
15
+ if (h(this, "x", void 0), h(this, "y", void 0), h(this, "pressure", void 0), h(this, "time", void 0), isNaN(e) || isNaN(t)) throw Error(`Point is invalid: (${e}, ${t})`);
16
16
  this.x = +e, this.y = +t, this.pressure = n || 0, this.time = r || Date.now();
17
17
  }
18
18
  distanceTo(e) {
@@ -65,7 +65,7 @@ var v = class {
65
65
  }
66
66
  }, b = class {
67
67
  constructor() {
68
- g(this, "_et", void 0);
68
+ h(this, "_et", void 0);
69
69
  try {
70
70
  this._et = new EventTarget();
71
71
  } catch {
@@ -93,7 +93,7 @@ function x(e, t = 250) {
93
93
  }
94
94
  var S = class e extends b {
95
95
  constructor(t, n = {}) {
96
- super(), g(this, "dotSize", void 0), g(this, "minWidth", void 0), g(this, "maxWidth", void 0), g(this, "penColor", void 0), g(this, "minDistance", void 0), g(this, "velocityFilterWeight", void 0), g(this, "compositeOperation", void 0), g(this, "backgroundColor", void 0), g(this, "throttle", void 0), g(this, "canvasContextOptions", void 0), g(this, "_ctx", void 0), g(this, "_drawingStroke", !1), g(this, "_isEmpty", !0), g(this, "_dataUrl", void 0), g(this, "_dataUrlOptions", void 0), g(this, "_lastPoints", []), g(this, "_data", []), g(this, "_lastVelocity", 0), g(this, "_lastWidth", 0), g(this, "_strokeMoveUpdate", void 0), g(this, "_strokePointerId", void 0), this.canvas = t, this.velocityFilterWeight = n.velocityFilterWeight || .7, this.minWidth = n.minWidth || .5, this.maxWidth = n.maxWidth || 2.5, this.throttle = n.throttle ?? 16, this.minDistance = n.minDistance ?? 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this.compositeOperation = n.compositeOperation || "source-over", this.canvasContextOptions = n.canvasContextOptions ?? {}, this._strokeMoveUpdate = this.throttle ? x(e.prototype._strokeUpdate, this.throttle) : e.prototype._strokeUpdate, this._handleMouseDown = this._handleMouseDown.bind(this), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this._handleTouchStart = this._handleTouchStart.bind(this), this._handleTouchMove = this._handleTouchMove.bind(this), this._handleTouchEnd = this._handleTouchEnd.bind(this), this._handlePointerDown = this._handlePointerDown.bind(this), this._handlePointerMove = this._handlePointerMove.bind(this), this._handlePointerUp = this._handlePointerUp.bind(this), this._handlePointerCancel = this._handlePointerCancel.bind(this), this._handleTouchCancel = this._handleTouchCancel.bind(this), this._ctx = t.getContext("2d", this.canvasContextOptions), this.clear(), this.on();
96
+ super(), h(this, "dotSize", void 0), h(this, "minWidth", void 0), h(this, "maxWidth", void 0), h(this, "penColor", void 0), h(this, "minDistance", void 0), h(this, "velocityFilterWeight", void 0), h(this, "compositeOperation", void 0), h(this, "backgroundColor", void 0), h(this, "throttle", void 0), h(this, "canvasContextOptions", void 0), h(this, "_ctx", void 0), h(this, "_drawingStroke", !1), h(this, "_isEmpty", !0), h(this, "_dataUrl", void 0), h(this, "_dataUrlOptions", void 0), h(this, "_lastPoints", []), h(this, "_data", []), h(this, "_lastVelocity", 0), h(this, "_lastWidth", 0), h(this, "_strokeMoveUpdate", void 0), h(this, "_strokePointerId", void 0), this.canvas = t, this.velocityFilterWeight = n.velocityFilterWeight || .7, this.minWidth = n.minWidth || .5, this.maxWidth = n.maxWidth || 2.5, this.throttle = n.throttle ?? 16, this.minDistance = n.minDistance ?? 5, this.dotSize = n.dotSize || 0, this.penColor = n.penColor || "black", this.backgroundColor = n.backgroundColor || "rgba(0,0,0,0)", this.compositeOperation = n.compositeOperation || "source-over", this.canvasContextOptions = n.canvasContextOptions ?? {}, this._strokeMoveUpdate = this.throttle ? x(e.prototype._strokeUpdate, this.throttle) : e.prototype._strokeUpdate, this._handleMouseDown = this._handleMouseDown.bind(this), this._handleMouseMove = this._handleMouseMove.bind(this), this._handleMouseUp = this._handleMouseUp.bind(this), this._handleTouchStart = this._handleTouchStart.bind(this), this._handleTouchMove = this._handleTouchMove.bind(this), this._handleTouchEnd = this._handleTouchEnd.bind(this), this._handlePointerDown = this._handlePointerDown.bind(this), this._handlePointerMove = this._handlePointerMove.bind(this), this._handlePointerUp = this._handlePointerUp.bind(this), this._handlePointerCancel = this._handlePointerCancel.bind(this), this._handleTouchCancel = this._handleTouchCancel.bind(this), this._ctx = t.getContext("2d", this.canvasContextOptions), this.clear(), this.on();
97
97
  }
98
98
  clear() {
99
99
  let { _ctx: e, canvas: t } = this;
@@ -548,6 +548,6 @@ var k = ({ config: n, onFinish: o, onError: l }) => {
548
548
  onFinish: t,
549
549
  onError: n
550
550
  }) : null });
551
- h(A, "incode-signature");
551
+ g(A, "incode-signature");
552
552
  //#endregion
553
553
  export { A as Signature };
@@ -9,8 +9,8 @@ import { t as y } from "./transitionSpinner-CU8-yMmE.js";
9
9
  import { t as b } from "./button-i4SPU5G7.js";
10
10
  import { h as x, m as S } from "./icons-CR0w16NT.js";
11
11
  import { t as C } from "./successIcon-Dklx5JWI.js";
12
- import { t as w } from "./modal-DAphmB5P.js";
13
- import { t as ee } from "./bottomSheet-D7Bcy6_9.js";
12
+ import { t as w } from "./modal-T42EZVfc.js";
13
+ import { t as ee } from "./bottomSheet-My8rHmzJ.js";
14
14
  import { t as te } from "./numberedStep-CSQrc-lB.js";
15
15
  import { getBrowser as T, getDeviceClass as ne } from "@incodetech/core/device";
16
16
  import "@incodetech/core/camera";
@@ -14,6 +14,7 @@ import { default as LightningIcon } from './lightningIcon.svg?react';
14
14
  import { PermissionStatus as PermissionStatus_2 } from '@incodetech/core/camera';
15
15
  import { PropsWithoutRef } from 'preact/compat';
16
16
  import { Ref } from 'preact';
17
+ import { RefObject } from 'preact';
17
18
  import { SelfieManager } from '@incodetech/core/selfie';
18
19
  import { SelfieState } from '@incodetech/core/selfie';
19
20
  import { TargetedEvent } from 'preact';
@@ -528,7 +529,7 @@ declare type ModalIconProps = {
528
529
  class?: string;
529
530
  };
530
531
 
531
- declare function ModalRoot({ open, children, onOpenChange, dismissible, portalContainer, class: className, hasBackdrop, manageInitialFocus, }: ModalRootProps): VNode<any> | null;
532
+ declare function ModalRoot({ open, children, onOpenChange, dismissible, portalContainer, class: className, hasBackdrop, manageInitialFocus, returnFocusRef, }: ModalRootProps): VNode<any> | null;
532
533
 
533
534
  declare type ModalRootProps = {
534
535
  open: boolean;
@@ -542,6 +543,7 @@ declare type ModalRootProps = {
542
543
  hasBackdrop?: boolean;
543
544
  /** When false, Modal won't auto-focus the first interactive element on open. Defaults to true. */
544
545
  manageInitialFocus?: boolean;
546
+ returnFocusRef?: RefObject<HTMLElement | null>;
545
547
  };
546
548
 
547
549
  declare function ModalSubtitle({ children, class: className }: ModalSubtitleProps): JSX.Element;