@incodetech/web 2.2.0-rc.6 → 2.2.0-rc.8

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 (121) hide show
  1. package/dist/ae-signature/ae-signature.es.js +4 -4
  2. package/dist/antifraud/antifraud.es.js +4 -4
  3. package/dist/authentication/authentication.es.js +5 -5
  4. package/dist/{autoFocusTitle-Edt8-trP.js → autoFocusTitle-DB-23sv_.js} +2 -2
  5. package/dist/{back-horizontal-hint-BBGuJ75y.js → back-horizontal-hint-CjdigFZj.js} +1 -1
  6. package/dist/{back-vertical-hint-B9usJ5lY.js → back-vertical-hint-OhaKsINF.js} +1 -1
  7. package/dist/{bottomSheet-Cp8DLulN.js → bottomSheet-BWEUBq8m.js} +2 -2
  8. package/dist/certificate-issuance/certificate-issuance.es.js +11 -11
  9. package/dist/{checkbox-gbHumlEi.js → checkbox-FGA-Ij-D.js} +4 -4
  10. package/dist/{connectionError-CvH1vnCt.js → connectionError-BurQq_4R.js} +4 -4
  11. package/dist/consent/consent.es.js +7 -7
  12. package/dist/{countrySelector-DzLvpCfs.js → countrySelector-COZ7XQHp.js} +3 -3
  13. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  14. package/dist/curp-validation/curp-validation.es.js +14 -14
  15. package/dist/{customFields-DiOcfhlB.js → customFields-rVMTo1Yu.js} +11 -11
  16. package/dist/{customWatchlist-CC9ZN7fk.js → customWatchlist-DgpXtVRf.js} +7 -7
  17. package/dist/{dashboardTheme-FtPiizV0.js → dashboardTheme-BUDq5UYs.js} +1 -1
  18. package/dist/dateInputComposed-BGC37jC7.js +1 -0
  19. package/dist/{dateInputComposed-3jXySs6M.js → dateInputComposed-DSgV0wnb.js} +5 -5
  20. package/dist/document-capture/document-capture.es.js +1 -1
  21. package/dist/documentCapture-CO9kIxru.js +2 -0
  22. package/dist/{documentCapture-Q7aei29F.js → documentCapture-sZj09g0I.js} +17 -17
  23. package/dist/dropdownComposed-Bf4EcKFw.js +1 -0
  24. package/dist/{dropdownComposed-Bk8viDop.js → dropdownComposed-CEegNzG4.js} +5 -5
  25. package/dist/{dynamicForms-m4KZhISs.js → dynamicForms-t3vepXqJ.js} +11 -11
  26. package/dist/ekyb/ekyb.es.js +1 -1
  27. package/dist/{ekybModule-5qniWr0s.js → ekybModule-Dvkf5WAr.js} +14 -14
  28. package/dist/ekybModule-uN0ComAn.js +2 -0
  29. package/dist/ekyc/ekyc.es.js +1 -1
  30. package/dist/ekycModule-B7KRJ7l3.js +2 -0
  31. package/dist/{ekycModule-Cp7kPhFr.js → ekycModule-C5QXVGP7.js} +12 -12
  32. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  33. package/dist/{electronic-signature-DGL6y3os.js → electronic-signature-CyE8F7LZ.js} +11 -11
  34. package/dist/email/email.es.js +8 -8
  35. package/dist/{emailInput-Cu0_MP-D.js → emailInput-CsT8_C01.js} +4 -4
  36. package/dist/{expiredId-Cf7_dJQE.js → expiredId-BQ1uPh7b.js} +6 -6
  37. package/dist/{extensibility-BWJFStcL.js → extensibility-C5XqL_A3.js} +149 -92
  38. package/dist/extensibility.es.js +23 -23
  39. package/dist/face-match/face-match.es.js +1 -1
  40. package/dist/faceMatch-DjD2hgBp.js +2 -0
  41. package/dist/{faceMatch-BOJD6ZCq.js → faceMatch-Rf-MMdto.js} +8 -8
  42. package/dist/field-comparison/field-comparison.es.js +1 -1
  43. package/dist/{fieldComparison-JrNjTp6f.js → fieldComparison-BnGj3nNp.js} +9 -9
  44. package/dist/fieldComparison-DFH4hUM_.js +2 -0
  45. package/dist/{finalSuccessScreen-DL08U8_o.js → finalSuccessScreen-B9uB3bST.js} +11 -11
  46. package/dist/fiscal-qr/fiscal-qr.es.js +9 -9
  47. package/dist/flow/flow.es.js +8 -8
  48. package/dist/flow/styles.css +53 -5
  49. package/dist/{front-horizontal-hint-D3CrWViZ.js → front-horizontal-hint-Bhz1rq-w.js} +1 -1
  50. package/dist/{front-vertical-hint-BoLZvyx5.js → front-vertical-hint-C4FC1ksx.js} +1 -1
  51. package/dist/geolocation/geolocation.es.js +9 -9
  52. package/dist/government-validation/government-validation.es.js +9 -9
  53. package/dist/{homeScreen-D2XpU5z_.js → homeScreen-Bv9mUUOF.js} +7 -7
  54. package/dist/{icons-CIjsoS44.js → icons-ChHV5iHi.js} +3 -3
  55. package/dist/id/id.es.js +25 -25
  56. package/dist/id/styles.css +53 -5
  57. package/dist/{id-back-of-card-DO593HH8.js → id-back-of-card-C4XViC7W.js} +1 -1
  58. package/dist/{id-back-of-card-vertical-DArEQ0hE.js → id-back-of-card-vertical-DCz0rj8m.js} +1 -1
  59. package/dist/{id-front-of-card-Bcit7Pnq.js → id-front-of-card-CUA1ocVF.js} +1 -1
  60. package/dist/{id-front-of-card-vertical-Bcr-KXcl.js → id-front-of-card-vertical-Ddm_BwD3.js} +1 -1
  61. package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -8
  62. package/dist/id-verification/id-verification.es.js +5 -5
  63. package/dist/{idOcr-3ZaW_wpx.js → idOcr-Da1-2sWY.js} +10 -10
  64. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  65. package/dist/{incode-logo-DkPbEPiI.js → incode-logo-DeIDDejm.js} +2 -2
  66. package/dist/{incodeComponent-B6hBTDEE.js → incodeComponent-BtFz-bx2.js} +103 -7
  67. package/dist/{incodeModule-CCI32xbn.js → incodeModule-9K8KUs61.js} +3 -3
  68. package/dist/index.es.js +2 -2
  69. package/dist/{inputComposed-CGB8zKbd.js → inputComposed-C2zTEXsp.js} +5 -5
  70. package/dist/inputComposed-kKtrvJU5.js +1 -0
  71. package/dist/{mandatoryConsent-L7Tpj3tg.js → mandatoryConsent-CxShVycM.js} +7 -7
  72. package/dist/{manualCaptureButton-ByWujoAK.js → manualCaptureButton-D58WsS-x.js} +10 -10
  73. package/dist/{manualCaptureButton-B3ZD52_f.js → manualCaptureButton-DzJFIEfu.js} +5 -5
  74. package/dist/{modal-9-lPt5Hj.js → modal-BH2wi8Q0.js} +4 -4
  75. package/dist/{modal.hooks-BvXzNWvY.js → modal.hooks-DcakflQ4.js} +1 -1
  76. package/dist/{numberedStep-DUs77Gy3.js → numberedStep-DqtXyT11.js} +1 -1
  77. package/dist/{optionAccessibleLabel-Cc91L4JK.js → optionAccessibleLabel-C5iZCrlq.js} +6 -6
  78. package/dist/{otpInput-BWiL_nBW.js → otpInput-CvPR3ZpP.js} +6 -6
  79. package/dist/{passport-horizontal-hint-DgnU-8bl.js → passport-horizontal-hint-DzkhjC8Q.js} +1 -1
  80. package/dist/{passport-vertical-hint-Dd2Wknw7.js → passport-vertical-hint-Bd0BQn2Y.js} +1 -1
  81. package/dist/pdfViewer-C1B-07Wu.js +2 -0
  82. package/dist/{pdfViewer-BbRv7mHX.js → pdfViewer-TTZmPABh.js} +3 -3
  83. package/dist/phone/phone.es.js +9 -9
  84. package/dist/{phoneInputComposed-Bvy15RAe.js → phoneInputComposed-byyszNoS.js} +6 -6
  85. package/dist/{processing-DN0NyNqR.js → processing-B2eaSGLu.js} +2 -2
  86. package/dist/qe-signature/qe-signature.es.js +4 -4
  87. package/dist/{radioGroupComposed-CPFZJOtR.js → radioGroupComposed-DQzTWutW.js} +6 -6
  88. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +14 -14
  89. package/dist/{registerIncodeElement-BduCekz5.js → registerIncodeElement-DW2PE_DX.js} +1 -1
  90. package/dist/{richText-DnGJiTPl.js → richText-CEwM8jib.js} +2 -2
  91. package/dist/selfie/selfie.es.js +7 -7
  92. package/dist/signature/signature.es.js +8 -8
  93. package/dist/{snackbar-zbTKBgCx.js → snackbar-eBOj46AK.js} +2 -2
  94. package/dist/{spacer-C6GdxqM-.js → spacer-DLEDuWEx.js} +2 -2
  95. package/dist/{spinner-CaEPC8gQ.js → spinner-CJCOHUKx.js} +2 -2
  96. package/dist/{statusPage-C-2V2g63.js → statusPage-BF4qGjF3.js} +4 -4
  97. package/dist/{successIcon-Bj8Y9CuI.js → successIcon-DS8BLsgy.js} +1 -1
  98. package/dist/{tabs-BjLPiKhZ.js → tabs-BGL1oRLb.js} +2 -2
  99. package/dist/themes/dark.css +3 -0
  100. package/dist/themes/light.css +3 -0
  101. package/dist/{tutorial-B1F5C8Si.js → tutorial-LQuJ4dse.js} +10 -10
  102. package/dist/types/extensibility.d.ts +0 -6
  103. package/dist/{uiConfig-D7ezQeZ7.js → uiConfig-Dqnjankd.js} +1 -1
  104. package/dist/{useModuleLoader-7amgJ5_9.js → useModuleLoader-DxOEZ0vn.js} +19 -19
  105. package/dist/{vendor-preact-mvwZ8mJj.js → vendor-preact-BPXMFRom.js} +1 -1
  106. package/dist/{verificationResult-tgNeUuHO.js → verificationResult-q_zD_Pxh.js} +9 -9
  107. package/dist/video-selfie/video-selfie.es.js +12 -12
  108. package/dist/watchlist/watchlist.es.js +7 -7
  109. package/dist/{watchlistForBusiness-3bO7BVcy.js → watchlistForBusiness-C_zqdY4P.js} +10 -10
  110. package/dist/workflow/styles.css +53 -5
  111. package/dist/workflow/workflow.es.js +8 -8
  112. package/package.json +2 -2
  113. package/dist/dateInputComposed-BMauTxWJ.js +0 -1
  114. package/dist/documentCapture-D92SlTKO.js +0 -2
  115. package/dist/dropdownComposed-DLaj01jA.js +0 -1
  116. package/dist/ekybModule-Bp2U8pjh.js +0 -2
  117. package/dist/ekycModule-DqX1bTFN.js +0 -2
  118. package/dist/faceMatch-Dhm-H0Pg.js +0 -2
  119. package/dist/fieldComparison-D-fShfaF.js +0 -2
  120. package/dist/inputComposed-DDFdXKT3.js +0 -1
  121. package/dist/pdfViewer-DHgpC35P.js +0 -2
@@ -1425,7 +1425,6 @@
1425
1425
  }
1426
1426
 
1427
1427
  .IncodeIdCaptureStage {
1428
- --capture-result-crossfade-duration: .3s;
1429
1428
  width: 100%;
1430
1429
  height: 100%;
1431
1430
  position: relative;
@@ -1436,13 +1435,24 @@
1436
1435
  position: absolute;
1437
1436
  }
1438
1437
 
1439
- .IncodeIdCaptureStage.IncodeIdCaptureStageCrossfading > .IncodeIdCaptureStageLive {
1438
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultExiting {
1439
+ animation: incodeIdCaptureResultCrossfadeOut var(--id-capture-result-crossfade-duration) linear forwards;
1440
1440
  pointer-events: none;
1441
- animation: incodeIdCaptureResultCrossfade var(--capture-result-crossfade-duration) ease-out forwards;
1442
1441
  }
1443
1442
 
1444
1443
  @media (prefers-reduced-motion: reduce) {
1445
- .IncodeIdCaptureStage.IncodeIdCaptureStageCrossfading > .IncodeIdCaptureStageLive {
1444
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultExiting {
1445
+ animation-duration: 1ms;
1446
+ }
1447
+ }
1448
+
1449
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultEntering {
1450
+ animation: incodeIdCaptureResultCrossfadeIn var(--id-capture-result-crossfade-duration) linear forwards;
1451
+ pointer-events: none;
1452
+ }
1453
+
1454
+ @media (prefers-reduced-motion: reduce) {
1455
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultEntering {
1446
1456
  animation-duration: 1ms;
1447
1457
  }
1448
1458
  }
@@ -1531,12 +1541,26 @@
1531
1541
  display: flex;
1532
1542
  }
1533
1543
 
1534
- @keyframes incodeIdCaptureResultCrossfade {
1544
+ @keyframes incodeIdCaptureResultCrossfadeOut {
1545
+ from {
1546
+ opacity: 1;
1547
+ }
1548
+
1535
1549
  to {
1536
1550
  opacity: 0;
1537
1551
  }
1538
1552
  }
1539
1553
 
1554
+ @keyframes incodeIdCaptureResultCrossfadeIn {
1555
+ from {
1556
+ opacity: 0;
1557
+ }
1558
+
1559
+ to {
1560
+ opacity: 1;
1561
+ }
1562
+ }
1563
+
1540
1564
  .IncodeCaptureOverlayId {
1541
1565
  padding: var(--spacing-24, var(--spacing-24, 24px));
1542
1566
  align-items: center;
@@ -1863,6 +1887,18 @@
1863
1887
  letter-spacing: var(--typography-headline-h2-letter-spacing);
1864
1888
  color: var(--color-text-body-primary, var(--text-body-800-primary));
1865
1889
  text-align: center;
1890
+ min-height: var(--typography-headline-h2-line-height);
1891
+ }
1892
+
1893
+ .IncodeIdProcessingLayout .IncodeAnalyzingContent .IncodeAnalyzingTitle .IncodeAnalyzingTitleText {
1894
+ animation: IncodeAnalyzingTitleFade var(--id-capture-analyzing-title-fade-duration) ease-out both;
1895
+ display: inline-block;
1896
+ }
1897
+
1898
+ @media (prefers-reduced-motion: reduce) {
1899
+ .IncodeIdProcessingLayout .IncodeAnalyzingContent .IncodeAnalyzingTitle .IncodeAnalyzingTitleText {
1900
+ animation-duration: 1ms;
1901
+ }
1866
1902
  }
1867
1903
 
1868
1904
  .IncodeIdProcessingLayout .IncodeAnalyzingLottie {
@@ -1870,6 +1906,18 @@
1870
1906
  max-width: none;
1871
1907
  }
1872
1908
 
1909
+ @keyframes IncodeAnalyzingTitleFade {
1910
+ from {
1911
+ opacity: 0;
1912
+ transform: translateY(var(--id-capture-analyzing-title-fade-offset));
1913
+ }
1914
+
1915
+ to {
1916
+ opacity: 1;
1917
+ transform: none;
1918
+ }
1919
+ }
1920
+
1873
1921
  .IncodeIdProcessingLayout .IncodeIdProcessingResultContent {
1874
1922
  flex-direction: column;
1875
1923
  align-items: center;
@@ -1,4 +1,4 @@
1
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
1
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
2
2
  //#region src/modules/id/capture/assets/hints/front-horizontal-hint.svg?react
3
3
  var SvgFrontHorizontalHint = (props) => /* @__PURE__ */ u("svg", {
4
4
  width: 800,
@@ -1,4 +1,4 @@
1
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
1
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
2
2
  //#region src/modules/id/capture/assets/hints/front-vertical-hint.svg?react
3
3
  var SvgFrontVerticalHint = (props) => /* @__PURE__ */ u("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,12 +1,12 @@
1
- import { a as useTranslation, i as Trans } from "../uiConfig-D7ezQeZ7.js";
2
- import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
- import { t as Spacer } from "../spacer-C6GdxqM-.js";
5
- import { r as Button } from "../incode-logo-DkPbEPiI.js";
6
- import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
7
- import { t as ConnectionError } from "../connectionError-CvH1vnCt.js";
8
- import { t as NumberedStep } from "../numberedStep-DUs77Gy3.js";
9
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
1
+ import { a as useTranslation, i as Trans } from "../uiConfig-Dqnjankd.js";
2
+ import { C as k, y as u } from "../vendor-preact-BPXMFRom.js";
3
+ import { b as useManager, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
+ import { t as Spacer } from "../spacer-DLEDuWEx.js";
5
+ import { r as Button } from "../incode-logo-DeIDDejm.js";
6
+ import { t as VerificationResult } from "../verificationResult-q_zD_Pxh.js";
7
+ import { t as ConnectionError } from "../connectionError-BurQq_4R.js";
8
+ import { t as NumberedStep } from "../numberedStep-DqtXyT11.js";
9
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
10
10
  import { getBrowser, getDeviceClass } from "@incodetech/core/device";
11
11
  import { createGeolocationManager } from "@incodetech/core/geolocation";
12
12
  //#region src/modules/geolocation/LocationActiveIcon.tsx
@@ -1,12 +1,12 @@
1
- import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
- import { S as k, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
- import { t as Spacer } from "../spacer-C6GdxqM-.js";
5
- import "../extensibility-BWJFStcL.js";
6
- import { t as AutoFocusTitle } from "../autoFocusTitle-Edt8-trP.js";
7
- import { t as VerificationResult } from "../verificationResult-tgNeUuHO.js";
8
- import { t as OtpInput } from "../otpInput-BWiL_nBW.js";
9
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
1
+ import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
+ import { C as k, y as u } from "../vendor-preact-BPXMFRom.js";
3
+ import { b as useManager, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
+ import { t as Spacer } from "../spacer-DLEDuWEx.js";
5
+ import "../extensibility-C5XqL_A3.js";
6
+ import { t as AutoFocusTitle } from "../autoFocusTitle-DB-23sv_.js";
7
+ import { t as VerificationResult } from "../verificationResult-q_zD_Pxh.js";
8
+ import { t as OtpInput } from "../otpInput-CvPR3ZpP.js";
9
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
10
10
  import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
11
11
  //#region src/modules/government-validation/governmentIncodeLogo.tsx
12
12
  var VerifiedByGovIncodeLogo = () => {
@@ -1,10 +1,10 @@
1
- import { a as useTranslation, d as supportedLanguages, r as useUiConfig, u as getLanguageEmoji } from "./uiConfig-D7ezQeZ7.js";
2
- import { _ as y, d as T, l as A, p as d, v as u } from "./vendor-preact-mvwZ8mJj.js";
3
- import { t as Spacer } from "./spacer-C6GdxqM-.js";
4
- import { r as Button } from "./incode-logo-DkPbEPiI.js";
5
- import { t as Modal } from "./modal-9-lPt5Hj.js";
6
- import { t as DropdownComposed } from "./dropdownComposed-Bk8viDop.js";
7
- import "./dropdownComposed-DLaj01jA.js";
1
+ import { a as useTranslation, d as supportedLanguages, r as useUiConfig, u as getLanguageEmoji } from "./uiConfig-Dqnjankd.js";
2
+ import { d as T, l as A, p as d, v as y, y as u } from "./vendor-preact-BPXMFRom.js";
3
+ import { t as Spacer } from "./spacer-DLEDuWEx.js";
4
+ import { r as Button } from "./incode-logo-DeIDDejm.js";
5
+ import { t as Modal } from "./modal-BH2wi8Q0.js";
6
+ import { t as DropdownComposed } from "./dropdownComposed-CEegNzG4.js";
7
+ import "./dropdownComposed-Bf4EcKFw.js";
8
8
  //#region src/shared/homeScreen/language.ts
9
9
  function capitalizeLabel(text, locale) {
10
10
  const [firstCharacter, ...rest] = Array.from(text);
@@ -1,6 +1,6 @@
1
- import { m as g, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import "./incode-logo-DkPbEPiI.js";
3
- import "./successIcon-Bj8Y9CuI.js";
1
+ import { m as g, y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import "./incode-logo-DeIDDejm.js";
3
+ import "./successIcon-DS8BLsgy.js";
4
4
  //#region src/shared/icons/warningIcon.tsx
5
5
  var WarningIcon = ({ size = 32 }) => {
6
6
  return /* @__PURE__ */ u("svg", {
package/dist/id/id.es.js CHANGED
@@ -1,22 +1,22 @@
1
- import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
- import { S as k, _ as y, c as z, d as T, l as A, o as P, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, d as useTimeoutHandle, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, u as useFeatureManagement, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
- import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-C6GdxqM-.js";
5
- import { n as Title, t as Spinner } from "../spinner-CaEPC8gQ.js";
6
- import { n as ErrorIcon, r as Button } from "../incode-logo-DkPbEPiI.js";
7
- import { a as IdNoAttempts, b as ProgressBar, c as useIdExperiment, i as Capture, l as CaptureFrame, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-BWJFStcL.js";
8
- import { t as Processing } from "../processing-DN0NyNqR.js";
9
- import { r as LockIcon, u as ChevronRightIcon } from "../icons-CIjsoS44.js";
10
- import { t as SuccessIcon } from "../successIcon-Bj8Y9CuI.js";
11
- import { i as ErrorContent } from "../tutorial-B1F5C8Si.js";
12
- import { n as Permissions } from "../manualCaptureButton-ByWujoAK.js";
13
- import { t as PdfViewer } from "../pdfViewer-BbRv7mHX.js";
14
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
15
- import { t as SvgIdBackOfCard } from "../id-back-of-card-DO593HH8.js";
16
- import { t as SvgIdBackOfCardVertical } from "../id-back-of-card-vertical-DArEQ0hE.js";
17
- import { t as SvgIdFrontOfCard } from "../id-front-of-card-Bcit7Pnq.js";
18
- import { t as SvgIdFrontOfCardVertical } from "../id-front-of-card-vertical-Bcr-KXcl.js";
19
- import { t as Tabs } from "../tabs-BjLPiKhZ.js";
1
+ import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
+ import { C as k, c as z, d as T, l as A, o as P, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
+ import { b as useManager, f as useTimeoutHandle, l as TransitionSpinner, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, u as useFeatureManagement, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
+ import { d as cn, i as preloadAnimations, r as AnimatedAsset, s as Asset, t as Spacer } from "../spacer-DLEDuWEx.js";
5
+ import { n as Title, t as Spinner } from "../spinner-CJCOHUKx.js";
6
+ import { n as ErrorIcon, r as Button } from "../incode-logo-DeIDDejm.js";
7
+ import { a as IdNoAttempts, b as ProgressBar, c as useIdExperiment, i as Capture, l as CaptureFrame, n as Chooser, o as IdExpired, r as Tutorial, s as IdError, t as FlipAnimation } from "../extensibility-C5XqL_A3.js";
8
+ import { t as Processing } from "../processing-B2eaSGLu.js";
9
+ import { r as LockIcon, u as ChevronRightIcon } from "../icons-ChHV5iHi.js";
10
+ import { t as SuccessIcon } from "../successIcon-DS8BLsgy.js";
11
+ import { i as ErrorContent } from "../tutorial-LQuJ4dse.js";
12
+ import { n as Permissions } from "../manualCaptureButton-D58WsS-x.js";
13
+ import { t as PdfViewer } from "../pdfViewer-TTZmPABh.js";
14
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
15
+ import { t as SvgIdBackOfCard } from "../id-back-of-card-C4XViC7W.js";
16
+ import { t as SvgIdBackOfCardVertical } from "../id-back-of-card-vertical-DCz0rj8m.js";
17
+ import { t as SvgIdFrontOfCard } from "../id-front-of-card-CUA1ocVF.js";
18
+ import { t as SvgIdFrontOfCardVertical } from "../id-front-of-card-vertical-Ddm_BwD3.js";
19
+ import { t as Tabs } from "../tabs-BGL1oRLb.js";
20
20
  import { ONBOARDING_WEB_SDK_PARAMETER_STORE } from "@incodetech/core/feature-management";
21
21
  import { createIdCaptureManager } from "@incodetech/core/id";
22
22
  //#region src/shared/fonts/preloadDisplayFont.ts
@@ -1102,14 +1102,14 @@ function preloadIdTutorialAssets() {
1102
1102
  import("../id-tutorial-BOOsXlAJ.js");
1103
1103
  import("../back-tutorial-BHyRHyET.js");
1104
1104
  import("../passport-tutorial-CeSup6m9.js");
1105
- import("../id-back-of-card-DO593HH8.js").then((n) => n.n);
1106
- import("../id-back-of-card-vertical-DArEQ0hE.js").then((n) => n.n);
1107
- import("../id-front-of-card-Bcit7Pnq.js").then((n) => n.n);
1108
- import("../id-front-of-card-vertical-Bcr-KXcl.js").then((n) => n.n);
1105
+ import("../id-back-of-card-C4XViC7W.js").then((n) => n.n);
1106
+ import("../id-back-of-card-vertical-DCz0rj8m.js").then((n) => n.n);
1107
+ import("../id-front-of-card-CUA1ocVF.js").then((n) => n.n);
1108
+ import("../id-front-of-card-vertical-Ddm_BwD3.js").then((n) => n.n);
1109
1109
  }
1110
1110
  //#endregion
1111
1111
  //#region src/modules/id/id.tsx
1112
- var MandatoryConsent = z(() => import("../mandatoryConsent-L7Tpj3tg.js").then((module) => ({ default: module.MandatoryConsent })));
1112
+ var MandatoryConsent = z(() => import("../mandatoryConsent-CxShVycM.js").then((module) => ({ default: module.MandatoryConsent })));
1113
1113
  var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
1114
1114
  usePreloadDisplayFont();
1115
1115
  y(() => {
@@ -1120,7 +1120,7 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
1120
1120
  if (!config) throw new Error("ID capture config is required when no manager is provided");
1121
1121
  return createIdCaptureManager({ config: {
1122
1122
  ...config,
1123
- supportsCaptureResultPreview: config.supportsCaptureResultPreview ?? true
1123
+ supportsOptimizingStatus: config.supportsOptimizingStatus ?? true
1124
1124
  } });
1125
1125
  }, { manageLifecycle: !externalManager });
1126
1126
  useModuleTerminalCallbacks({
@@ -490,7 +490,6 @@
490
490
  }
491
491
 
492
492
  .IncodeIdCaptureStage {
493
- --capture-result-crossfade-duration: .3s;
494
493
  width: 100%;
495
494
  height: 100%;
496
495
  position: relative;
@@ -501,13 +500,24 @@
501
500
  position: absolute;
502
501
  }
503
502
 
504
- .IncodeIdCaptureStage.IncodeIdCaptureStageCrossfading > .IncodeIdCaptureStageLive {
503
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultExiting {
504
+ animation: incodeIdCaptureResultCrossfadeOut var(--id-capture-result-crossfade-duration) linear forwards;
505
505
  pointer-events: none;
506
- animation: incodeIdCaptureResultCrossfade var(--capture-result-crossfade-duration) ease-out forwards;
507
506
  }
508
507
 
509
508
  @media (prefers-reduced-motion: reduce) {
510
- .IncodeIdCaptureStage.IncodeIdCaptureStageCrossfading > .IncodeIdCaptureStageLive {
509
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultExiting {
510
+ animation-duration: 1ms;
511
+ }
512
+ }
513
+
514
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultEntering {
515
+ animation: incodeIdCaptureResultCrossfadeIn var(--id-capture-result-crossfade-duration) linear forwards;
516
+ pointer-events: none;
517
+ }
518
+
519
+ @media (prefers-reduced-motion: reduce) {
520
+ .IncodeIdCaptureStage > .IncodeIdCaptureStageResultEntering {
511
521
  animation-duration: 1ms;
512
522
  }
513
523
  }
@@ -596,12 +606,26 @@
596
606
  display: flex;
597
607
  }
598
608
 
599
- @keyframes incodeIdCaptureResultCrossfade {
609
+ @keyframes incodeIdCaptureResultCrossfadeOut {
610
+ from {
611
+ opacity: 1;
612
+ }
613
+
600
614
  to {
601
615
  opacity: 0;
602
616
  }
603
617
  }
604
618
 
619
+ @keyframes incodeIdCaptureResultCrossfadeIn {
620
+ from {
621
+ opacity: 0;
622
+ }
623
+
624
+ to {
625
+ opacity: 1;
626
+ }
627
+ }
628
+
605
629
  .IncodeCaptureOverlayId {
606
630
  padding: var(--spacing-24, var(--spacing-24, 24px));
607
631
  align-items: center;
@@ -928,6 +952,18 @@
928
952
  letter-spacing: var(--typography-headline-h2-letter-spacing);
929
953
  color: var(--color-text-body-primary, var(--text-body-800-primary));
930
954
  text-align: center;
955
+ min-height: var(--typography-headline-h2-line-height);
956
+ }
957
+
958
+ .IncodeIdProcessingLayout .IncodeAnalyzingContent .IncodeAnalyzingTitle .IncodeAnalyzingTitleText {
959
+ animation: IncodeAnalyzingTitleFade var(--id-capture-analyzing-title-fade-duration) ease-out both;
960
+ display: inline-block;
961
+ }
962
+
963
+ @media (prefers-reduced-motion: reduce) {
964
+ .IncodeIdProcessingLayout .IncodeAnalyzingContent .IncodeAnalyzingTitle .IncodeAnalyzingTitleText {
965
+ animation-duration: 1ms;
966
+ }
931
967
  }
932
968
 
933
969
  .IncodeIdProcessingLayout .IncodeAnalyzingLottie {
@@ -935,6 +971,18 @@
935
971
  max-width: none;
936
972
  }
937
973
 
974
+ @keyframes IncodeAnalyzingTitleFade {
975
+ from {
976
+ opacity: 0;
977
+ transform: translateY(var(--id-capture-analyzing-title-fade-offset));
978
+ }
979
+
980
+ to {
981
+ opacity: 1;
982
+ transform: none;
983
+ }
984
+ }
985
+
938
986
  .IncodeIdProcessingLayout .IncodeIdProcessingResultContent {
939
987
  flex-direction: column;
940
988
  align-items: center;
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
3
3
  //#region src/modules/id/assets/id-back-of-card.svg?react
4
4
  var id_back_of_card_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdBackOfCard });
5
5
  var SvgIdBackOfCard = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
3
3
  //#region src/modules/id/assets/id-back-of-card-vertical.svg?react
4
4
  var id_back_of_card_vertical_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdBackOfCardVertical });
5
5
  var SvgIdBackOfCardVertical = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
3
3
  //#region src/modules/id/assets/id-front-of-card.svg?react
4
4
  var id_front_of_card_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdFrontOfCard });
5
5
  var SvgIdFrontOfCard = (props) => /* @__PURE__ */ u("svg", {
@@ -1,5 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime--E5BIlTp.js";
2
- import { v as u } from "./vendor-preact-mvwZ8mJj.js";
2
+ import { y as u } from "./vendor-preact-BPXMFRom.js";
3
3
  //#region src/modules/id/assets/id-front-of-card-vertical.svg?react
4
4
  var id_front_of_card_vertical_exports = /* @__PURE__ */ __exportAll({ default: () => SvgIdFrontOfCardVertical });
5
5
  var SvgIdFrontOfCardVertical = (props) => /* @__PURE__ */ u("svg", {
@@ -1,11 +1,11 @@
1
- import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
- import { _ as y, d as T, p as d, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, a as TerminalErrorPage, l as TransitionSpinner, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
- import { n as Title } from "../spinner-CaEPC8gQ.js";
5
- import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-B3ZD52_f.js";
6
- import { n as Permissions } from "../manualCaptureButton-ByWujoAK.js";
7
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
8
- import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-DL08U8_o.js";
1
+ import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
+ import { d as T, p as d, v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
+ import { a as TerminalErrorPage, b as useManager, l as TransitionSpinner, o as Page, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
+ import { n as Title } from "../spinner-CJCOHUKx.js";
5
+ import { a as CameraView, r as preloadCaptureAnimations } from "../manualCaptureButton-DzJFIEfu.js";
6
+ import { n as Permissions } from "../manualCaptureButton-D58WsS-x.js";
7
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
8
+ import { a as IdFlipModal, c as VideoSelfieTutorial, i as IdMask, l as useVideoSelfiePermissions, n as SwitchingCameraScreen, o as preloadIdFlipAnimation, r as StepsHeader, s as SelfieMask, t as VideoSelfieFinalSuccessScreen } from "../finalSuccessScreen-B9uB3bST.js";
9
9
  import { createIdSelfieFlowManager, resolveIdSelfieFlowConfig, warmupIdSelfieFlowWasm } from "@incodetech/core/id-selfie-flow";
10
10
  import { facingModeForStep } from "@incodetech/core/video-selfie";
11
11
  //#region src/modules/id-selfie-flow/id-selfie-flow.tsx
@@ -1,8 +1,8 @@
1
- import { v as u } from "../vendor-preact-mvwZ8mJj.js";
2
- import { _ as useModuleTerminalCallbacks, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
3
- import { t as Spinner } from "../spinner-CaEPC8gQ.js";
4
- import { t as ExpiredId } from "../expiredId-Cf7_dJQE.js";
5
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
1
+ import { y as u } from "../vendor-preact-BPXMFRom.js";
2
+ import { b as useManager, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
3
+ import { t as Spinner } from "../spinner-CJCOHUKx.js";
4
+ import { t as ExpiredId } from "../expiredId-BQ1uPh7b.js";
5
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
6
6
  import { createIdVerificationManager } from "@incodetech/core/id-verification";
7
7
  //#region src/modules/id-verification/id-verification.tsx
8
8
  var IdVerificationContent = ({ config, manager: externalManager, onFinish }) => {
@@ -1,13 +1,13 @@
1
- import { a as useTranslation } from "./uiConfig-D7ezQeZ7.js";
2
- import { d as T, v as u } from "./vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, y as useManager } from "./incodeComponent-B6hBTDEE.js";
4
- import { r as Button } from "./incode-logo-DkPbEPiI.js";
5
- import "./extensibility-BWJFStcL.js";
6
- import { t as VerificationResult } from "./verificationResult-tgNeUuHO.js";
7
- import { t as InputComposed } from "./inputComposed-CGB8zKbd.js";
8
- import { t as RadioGroupComposed } from "./radioGroupComposed-CPFZJOtR.js";
9
- import { t as DateInputComposed } from "./dateInputComposed-3jXySs6M.js";
10
- import { t as registerIncodeModuleElement } from "./incodeModule-CCI32xbn.js";
1
+ import { a as useTranslation } from "./uiConfig-Dqnjankd.js";
2
+ import { d as T, y as u } from "./vendor-preact-BPXMFRom.js";
3
+ import { b as useManager, o as Page, r as withStandaloneModuleBootstrap, t as IncodeComponent, v as useModuleTerminalCallbacks } from "./incodeComponent-BtFz-bx2.js";
4
+ import { r as Button } from "./incode-logo-DeIDDejm.js";
5
+ import "./extensibility-C5XqL_A3.js";
6
+ import { t as VerificationResult } from "./verificationResult-q_zD_Pxh.js";
7
+ import { t as InputComposed } from "./inputComposed-C2zTEXsp.js";
8
+ import { t as RadioGroupComposed } from "./radioGroupComposed-DQzTWutW.js";
9
+ import { t as DateInputComposed } from "./dateInputComposed-DSgV0wnb.js";
10
+ import { t as registerIncodeModuleElement } from "./incodeModule-9K8KUs61.js";
11
11
  import { n as getRequiredHintMode, t as getFieldHint } from "./requiredLabelHint-Dx0WS2cR.js";
12
12
  import { createIdOcrManager, getOcrFields } from "@incodetech/core/id-ocr";
13
13
  //#region src/modules/id-ocr/idOcrForm.tsx
@@ -1,9 +1,9 @@
1
- import { a as useTranslation } from "../uiConfig-D7ezQeZ7.js";
2
- import { _ as y, v as u } from "../vendor-preact-mvwZ8mJj.js";
3
- import { _ as useModuleTerminalCallbacks, o as Page, t as IncodeComponent, y as useManager } from "../incodeComponent-B6hBTDEE.js";
4
- import { t as Spinner } from "../spinner-CaEPC8gQ.js";
5
- import { r as Button } from "../incode-logo-DkPbEPiI.js";
6
- import { t as registerIncodeModuleElement } from "../incodeModule-CCI32xbn.js";
1
+ import { a as useTranslation } from "../uiConfig-Dqnjankd.js";
2
+ import { v as y, y as u } from "../vendor-preact-BPXMFRom.js";
3
+ import { b as useManager, o as Page, t as IncodeComponent, v as useModuleTerminalCallbacks } from "../incodeComponent-BtFz-bx2.js";
4
+ import { t as Spinner } from "../spinner-CJCOHUKx.js";
5
+ import { r as Button } from "../incode-logo-DeIDDejm.js";
6
+ import { t as registerIncodeModuleElement } from "../incodeModule-9K8KUs61.js";
7
7
  import { SCAN_NEW_DOCUMENT, createIdentityReuseManager } from "@incodetech/core/identity-reuse";
8
8
  //#region src/modules/identity-reuse/identity-reuse.tsx
9
9
  /**
@@ -1,5 +1,5 @@
1
- import { S as k, a as D, v as u } from "./vendor-preact-mvwZ8mJj.js";
2
- import { d as cn, n as LoadingIcon } from "./spacer-C6GdxqM-.js";
1
+ import { C as k, a as D, y as u } from "./vendor-preact-BPXMFRom.js";
2
+ import { d as cn, n as LoadingIcon } from "./spacer-DLEDuWEx.js";
3
3
  //#region src/shared/button/button.tsx
4
4
  var LOADER_SIZE = 30;
5
5
  var variantClass = {
@@ -1,9 +1,9 @@
1
- import { a as useTranslation, r as useUiConfig } from "./uiConfig-D7ezQeZ7.js";
2
- import { S as k, _ as y, b as Q, d as T, g as x, h as q, i as C, l as A, p as d, r as $, s as gn, v as u } from "./vendor-preact-mvwZ8mJj.js";
3
- import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-FtPiizV0.js";
4
- import { l as useInstanceOverrides, t as Spacer } from "./spacer-C6GdxqM-.js";
5
- import { t as Spinner } from "./spinner-CaEPC8gQ.js";
6
- import { n as ErrorIcon, r as Button, t as incode_logo_default } from "./incode-logo-DkPbEPiI.js";
1
+ import { a as useTranslation, r as useUiConfig } from "./uiConfig-Dqnjankd.js";
2
+ import { C as k, _ as x, d as T, g as q, h, i as C, l as A, p as d, r as $, s as gn, v as y, x as Q, y as u } from "./vendor-preact-BPXMFRom.js";
3
+ import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-BUDq5UYs.js";
4
+ import { l as useInstanceOverrides, t as Spacer } from "./spacer-DLEDuWEx.js";
5
+ import { t as Spinner } from "./spinner-CJCOHUKx.js";
6
+ import { n as ErrorIcon, r as Button, t as incode_logo_default } from "./incode-logo-DeIDDejm.js";
7
7
  import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isIPad } from "@incodetech/core/device";
8
8
  import "@incodetech/core/events";
9
9
  import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
@@ -178,6 +178,102 @@ function useTimeoutHandle() {
178
178
  }), [schedule, clear]);
179
179
  }
180
180
  //#endregion
181
+ //#region src/hooks/useAnimationSignal.ts
182
+ /**
183
+ * "This animation finished" primitive: filters `animationend` bubbling from a
184
+ * subtree down to the names that matter, fires `onComplete` at most once per
185
+ * `active` activation, and backstops with a watchdog timer in case the event
186
+ * never arrives (CSS fails to load, the element is swapped mid-animation,
187
+ * `animationend` doesn't fire in a test environment, …).
188
+ *
189
+ * Returns an `onAnimationEnd` handler to attach to the animating element (or
190
+ * an ancestor — bubbled events from unrelated animations are ignored by name).
191
+ */
192
+ function useAnimationSignal({ active, animationName, timeoutMs, onComplete }) {
193
+ const names = T(() => new Set(Array.isArray(animationName) ? animationName : [animationName]), [animationName]);
194
+ const activeRef = A(active);
195
+ activeRef.current = active;
196
+ const onCompleteRef = A(onComplete);
197
+ onCompleteRef.current = onComplete;
198
+ const hasFiredRef = A(false);
199
+ const { schedule, clear } = useTimeoutHandle();
200
+ const complete = () => {
201
+ if (hasFiredRef.current) return;
202
+ hasFiredRef.current = true;
203
+ clear();
204
+ onCompleteRef.current();
205
+ };
206
+ y(() => {
207
+ if (!active) return;
208
+ hasFiredRef.current = false;
209
+ schedule(complete, timeoutMs);
210
+ return clear;
211
+ }, [active, timeoutMs]);
212
+ return (event) => {
213
+ if (!activeRef.current) return;
214
+ if (!names.has(event.animationName)) return;
215
+ complete();
216
+ };
217
+ }
218
+ //#endregion
219
+ //#region src/hooks/useNextTick.ts
220
+ var nextTick = (tick, _action) => tick + 1;
221
+ /**
222
+ * Forces one extra render with no payload — the primitive for "something
223
+ * happened outside of render (a DOM event, a timer, an external
224
+ * subscription, …), re-render me now." The tick value itself is never read.
225
+ */
226
+ function useNextTick() {
227
+ const [, dispatch] = h(nextTick, 0);
228
+ return () => dispatch();
229
+ }
230
+ //#endregion
231
+ //#region src/hooks/usePresence.ts
232
+ /**
233
+ * Keeps a layer mounted for the length of its exit animation. `present`
234
+ * dropping to `false` starts the exit synchronously, in the same render —
235
+ * not one render later via an effect — so there is no paintable frame where
236
+ * the caller has already stopped rendering the layer but the exit hasn't
237
+ * started. `present` becoming `true` again while exiting (e.g. a retry)
238
+ * cancels the exit immediately.
239
+ *
240
+ * Mutating refs during render (rather than in an effect) is what makes the
241
+ * exit start synchronous with the render that reports `present: false`.
242
+ * This is safe here: Preact renders function components synchronously with
243
+ * no concurrent double-invocation, so a ref write in the render body is
244
+ * observed by every consumer of this hook's return value in that same pass.
245
+ * The only actual state update — `nextTick` (see `useNextTick`) — happens
246
+ * exclusively from the animation-completion callback below, never during
247
+ * render.
248
+ */
249
+ function usePresence({ present, animationName, timeoutMs, skipExit = false }) {
250
+ const wasPresentRef = A(present);
251
+ const isExitingRef = A(false);
252
+ const nextTick = useNextTick();
253
+ const wasPresent = wasPresentRef.current;
254
+ wasPresentRef.current = present;
255
+ if (skipExit || present) isExitingRef.current = false;
256
+ else if (wasPresent) isExitingRef.current = true;
257
+ const isExiting = !present && isExitingRef.current;
258
+ const isRendered = present || isExiting;
259
+ const onAnimationEnd = useAnimationSignal({
260
+ active: isExiting,
261
+ animationName,
262
+ timeoutMs,
263
+ onComplete: () => {
264
+ if (isExitingRef.current) {
265
+ isExitingRef.current = false;
266
+ nextTick();
267
+ }
268
+ }
269
+ });
270
+ return {
271
+ phase: present ? "present" : isExiting ? "exiting" : "absent",
272
+ isRendered,
273
+ onAnimationEnd
274
+ };
275
+ }
276
+ //#endregion
181
277
  //#region src/hooks/useFeatureManagement.ts
182
278
  var fallbackGet = (_paramName, fallback) => fallback;
183
279
  var FALLBACK_EXPERIMENT = {
@@ -755,4 +851,4 @@ function IncodeComponent({ children }) {
755
851
  });
756
852
  }
757
853
  //#endregion
758
- export { useModuleTerminalCallbacks as _, TerminalErrorPage as a, usePageUiConfig as c, useTimeoutHandle as d, useResizeObserver as f, isTerminalModuleState as g, useFormScrollable as h, ResolvedConfigProvider as i, TransitionSpinner as l, useIsMobileDeviceWidth as m, LandscapeBlocker as n, Page as o, useEventListener as p, withStandaloneModuleBootstrap as r, VerifiedByIncodeLogo as s, IncodeComponent as t, useFeatureManagement as u, useScreenOrientation as v, useManager as y };
854
+ export { isTerminalModuleState as _, TerminalErrorPage as a, useManager as b, usePageUiConfig as c, usePresence as d, useTimeoutHandle as f, useFormScrollable as g, useIsMobileDeviceWidth as h, ResolvedConfigProvider as i, TransitionSpinner as l, useEventListener as m, LandscapeBlocker as n, Page as o, useResizeObserver as p, withStandaloneModuleBootstrap as r, VerifiedByIncodeLogo as s, IncodeComponent as t, useFeatureManagement as u, useModuleTerminalCallbacks as v, useScreenOrientation as y };
@@ -1,6 +1,6 @@
1
- import { d as T, x as _ } from "./vendor-preact-mvwZ8mJj.js";
2
- import { c as InstanceOverridesProvider } from "./spacer-C6GdxqM-.js";
3
- import { t as registerIncodeElement } from "./registerIncodeElement-BduCekz5.js";
1
+ import { S as _, d as T } from "./vendor-preact-BPXMFRom.js";
2
+ import { c as InstanceOverridesProvider } from "./spacer-DLEDuWEx.js";
3
+ import { t as registerIncodeElement } from "./registerIncodeElement-DW2PE_DX.js";
4
4
  //#region src/shared/webComponent/incodeModule.ts
5
5
  var incodeModulePropKeys = [
6
6
  "config",
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { c as createI18n, n as setUiConfig, s as setI18nInstance } from "./uiConfig-D7ezQeZ7.js";
2
- import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-FtPiizV0.js";
1
+ import { c as createI18n, n as setUiConfig, s as setI18nInstance } from "./uiConfig-Dqnjankd.js";
2
+ import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-BUDq5UYs.js";
3
3
  import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
4
4
  import { setup as setup$1 } from "@incodetech/core";
5
5
  //#region src/setup.ts