idmission-web-sdk 2.6.3-changeset-release-develop-8c2f951 → 2.6.3-changeset-release-develop-c045c91

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.
@@ -25,7 +25,7 @@
25
25
 
26
26
  // Extracted from the barrel so modules inside this package can read the
27
27
  // version without importing index.ts (which would be circular).
28
- var webSdkUiVersion = '0.5.0';
28
+ var webSdkUiVersion = '0.5.1';
29
29
 
30
30
  function asyncGeneratorStep(n, t, e, r, o, a, c) {
31
31
  try {
@@ -491,7 +491,7 @@
491
491
  return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$B(r) || _nonIterableSpread();
492
492
  }
493
493
 
494
- var webSdkCoreVersion = '0.5.0';
494
+ var webSdkCoreVersion = '0.5.1';
495
495
 
496
496
  var maxTime = 86400000;
497
497
  var maxCount = 1000000;
@@ -12515,7 +12515,7 @@
12515
12515
  });
12516
12516
  }
12517
12517
 
12518
- var _templateObject$$, _templateObject2$R, _templateObject3$E, _templateObject4$z, _templateObject5$t, _templateObject6$l;
12518
+ var _templateObject$$, _templateObject2$R, _templateObject3$F, _templateObject4$A, _templateObject5$t, _templateObject6$l;
12519
12519
  function _createForOfIteratorHelperLoose$v(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$v(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
12520
12520
  function _unsupportedIterableToArray$v(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$v(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$v(r, a) : void 0; } }
12521
12521
  function _arrayLikeToArray$v(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -12542,7 +12542,7 @@
12542
12542
  var $flipX = _ref3.$flipX;
12543
12543
  return $flipX ? 'transform: scaleX(-1);' : '';
12544
12544
  });
12545
- var ObjectDetectionDebugBox = styled.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n font: 10px monospace;\n position: absolute;\n border: 3px solid ", ";\n color: ", ";\n ", "\n transform-style: preserve-3d;\n"])), function (_ref4) {
12545
+ var ObjectDetectionDebugBox = styled.div(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n font: 10px monospace;\n position: absolute;\n border: 3px solid ", ";\n color: ", ";\n ", "\n transform-style: preserve-3d;\n"])), function (_ref4) {
12546
12546
  var $color = _ref4.$color;
12547
12547
  return $color != null ? $color : 'green';
12548
12548
  }, function (_ref5) {
@@ -12553,7 +12553,7 @@
12553
12553
  return $flipX ? 'transform: scaleX(-1);' : '';
12554
12554
  });
12555
12555
  var darkColors = new Set(['blue', 'darkblue', 'navy', 'darkgreen', 'purple', 'maroon', 'black', 'darkred', 'indigo']);
12556
- var ObjectDetectionDebugLabel = styled.span(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -1px;\n left: -1px;\n background: ", ";\n color: ", ";\n font: bold 9px monospace;\n padding: 1px 3px;\n white-space: nowrap;\n transform: translateY(-100%);\n"])), function (_ref7) {
12556
+ var ObjectDetectionDebugLabel = styled.span(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -1px;\n left: -1px;\n background: ", ";\n color: ", ";\n font: bold 9px monospace;\n padding: 1px 3px;\n white-space: nowrap;\n transform: translateY(-100%);\n"])), function (_ref7) {
12557
12557
  var $color = _ref7.$color;
12558
12558
  return $color != null ? $color : 'green';
12559
12559
  }, function (_ref8) {
@@ -13079,13 +13079,13 @@
13079
13079
  });
13080
13080
  };
13081
13081
 
13082
- var _templateObject$W, _templateObject2$O, _templateObject3$D, _templateObject4$y;
13082
+ var _templateObject$W, _templateObject2$O, _templateObject3$E, _templateObject4$z;
13083
13083
  var wavesAnimation = keyframes(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n 0% {\n opacity: 0;\n transform: scale3d(1, 1, 1);\n }\n 80% {\n opacity: 1;\n }\n 100% {\n transform: scale3d(2, 2, 1);\n opacity: 0;\n }\n"])));
13084
13084
  var progressBarAnimation = keyframes(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
13085
- keyframes(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
13086
- keyframes(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
13085
+ keyframes(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
13086
+ keyframes(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
13087
13087
 
13088
- var _templateObject$V, _templateObject2$N, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$d, _templateObject0$b, _templateObject1$a, _templateObject10$9, _templateObject11$7, _templateObject12$6, _templateObject13$6, _templateObject14$6, _templateObject15$5, _templateObject16$4, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
13088
+ var _templateObject$V, _templateObject2$N, _templateObject3$D, _templateObject4$y, _templateObject5$s, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$d, _templateObject0$b, _templateObject1$a, _templateObject10$9, _templateObject11$7, _templateObject12$6, _templateObject13$6, _templateObject14$6, _templateObject15$5, _templateObject16$4, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
13089
13089
  var OverlayContainer = styled.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n\n overflow-x: hidden;\n overflow-y: auto;\n\n background: ", ";\n ", "\n\n z-index: 10000;\n"])), function (props) {
13090
13090
  return props.theme.background ? "" + props.theme.background : "white";
13091
13091
  }, function (props) {
@@ -13097,8 +13097,8 @@
13097
13097
  }, function (props) {
13098
13098
  return props.theme.padding ? "box-sizing: border-box; padding: " + props.theme.padding + ";" : "";
13099
13099
  });
13100
- var OverlayImageContainer = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
13101
- var OverlayImageRow = styled.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"])));
13100
+ var OverlayImageContainer = styled.div(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n overflow: hidden;\n\n & > img,\n & > svg {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
13101
+ var OverlayImageRow = styled.div(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100% - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n object-fit: contain;\n }\n }\n"])));
13102
13102
  /**
13103
13103
  * The review screens' background. Exported so a surface that must MATCH it —
13104
13104
  * the browser-chrome tint in `BrowserEdgeTint` — reads the same value rather
@@ -13261,7 +13261,7 @@
13261
13261
 
13262
13262
  var _excluded$h = ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress", "guideBoxDisabled"],
13263
13263
  _excluded2$5 = ["borderRadius", "borderColor", "borderWidth", "borderOpacity", "progress", "isProgressBar", "scaleBorderRadius"];
13264
- var _templateObject$U, _templateObject2$M, _templateObject3$B, _templateObject4$w, _templateObject5$r, _templateObject6$j, _templateObject7$g;
13264
+ var _templateObject$U, _templateObject2$M, _templateObject3$C, _templateObject4$x, _templateObject5$r, _templateObject6$j, _templateObject7$g;
13265
13265
  var IdCardGuideImageContainer = styled(IdCardBorder)(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n ", ";\n"])), function (props) {
13266
13266
  return props.$isVisible ? '' : 'opacity: 0;';
13267
13267
  }, function (props) {
@@ -13429,8 +13429,8 @@
13429
13429
  })]
13430
13430
  }));
13431
13431
  }
13432
- var IdCardBorderContainer = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"])), wavesAnimation);
13433
- var IdCardBorderInner = styled.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"])));
13432
+ var IdCardBorderContainer = styled.div(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n align-items: center;\n justify-content: center;\n display: flex;\n position: relative;\n margin: auto;\n\n & .idmSdkWaves {\n position: absolute;\n animation: ", " 2s ease-out infinite;\n transform-style: preserve-3d;\n\n &:nth-child(3) {\n animation-delay: 0.66s;\n }\n\n &:nth-child(4) {\n animation-delay: 1.33s;\n }\n }\n"])), wavesAnimation);
13433
+ var IdCardBorderInner = styled.div(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n max-height: 100%;\n max-width: 100%;\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n"])));
13434
13434
  var SvgOverlay = styled.svg(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n"])));
13435
13435
  var IdCardBorderRect = styled.rect(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n &.idmSdkProgressBorder {\n transition: stroke-dashoffset 0.3s ease-out;\n }\n"])));
13436
13436
  // Ported dep (sdk2's video_id/IdVideoCaptureFlipIdPrompt.tsx:136-148 —
@@ -13659,7 +13659,7 @@
13659
13659
  return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
13660
13660
  });
13661
13661
 
13662
- var _templateObject$S, _templateObject2$L, _templateObject3$A, _templateObject4$v, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
13662
+ var _templateObject$S, _templateObject2$L, _templateObject3$B, _templateObject4$w, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
13663
13663
  var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_ref) {
13664
13664
  var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid2, _theme$idCapture2, _theme$idCapture$guid3, _theme$idCapture3, _theme$idCapture$guid4, _theme$idCapture4, _theme$idCapture$guid5, _theme$idCapture5;
13665
13665
  var _ref$classNames = _ref.classNames,
@@ -13817,8 +13817,8 @@
13817
13817
  };
13818
13818
  var StyledPageContainer = styled.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1000;\n overflow: hidden;\n"])));
13819
13819
  var GuidesContainer = styled.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n"])));
13820
- var GuideCenterRow = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-items: center;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n min-height: 0;\n flex: 1;\n"])));
13821
- var GuideRegion = styled.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n position: relative;\n z-index: 1000;\n background: ", ";\n color: ", ";\n text-align: center;\n ", "\n ", "\n"])), function (props) {
13820
+ var GuideCenterRow = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-items: center;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n min-height: 0;\n flex: 1;\n"])));
13821
+ var GuideRegion = styled.div(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n position: relative;\n z-index: 1000;\n background: ", ";\n color: ", ";\n text-align: center;\n ", "\n ", "\n"])), function (props) {
13822
13822
  var _ref2, _props$$maskColor, _props$theme;
13823
13823
  return (_ref2 = (_props$$maskColor = props.$maskColor) != null ? _props$$maskColor : (_props$theme = props.theme) == null || (_props$theme = _props$theme.idCapture) == null || (_props$theme = _props$theme.guideOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _ref2 : OVERLAY_GUIDE_MASK_DEFAULT;
13824
13824
  }, function (props) {
@@ -13848,7 +13848,7 @@
13848
13848
  /** The mask colour when neither the prop nor the theme sets one. */
13849
13849
  var OVERLAY_GUIDE_MASK_DEFAULT = 'rgba(0, 0, 0, 0.5)';
13850
13850
 
13851
- var _templateObject$R, _templateObject2$K, _templateObject3$z, _templateObject4$u;
13851
+ var _templateObject$R, _templateObject2$K, _templateObject3$A, _templateObject4$v;
13852
13852
  var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
13853
13853
  var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid5, _theme$idCapture5, _theme$idCapture$guid6, _theme$idCapture6, _theme$idCapture$guid7, _theme$idCapture7;
13854
13854
  var aspectRatio = _ref.aspectRatio,
@@ -14089,7 +14089,7 @@
14089
14089
  return props.$aboveCameraFeed ? "z-index: 1;" : "box-shadow: inset 0 0 0 2px " + props.$maskColor + ";\n z-index: -1;";
14090
14090
  });
14091
14091
  var Canvas$2 = styled.canvas(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
14092
- var CaptureAreaProgress = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", "px;\n top: ", "px;\n width: ", "px;\n height: ", "px;\n pointer-events: none;\n"])), function (props) {
14092
+ var CaptureAreaProgress = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", "px;\n top: ", "px;\n width: ", "px;\n height: ", "px;\n pointer-events: none;\n"])), function (props) {
14093
14093
  return props.$x;
14094
14094
  }, function (props) {
14095
14095
  return props.$y;
@@ -14098,7 +14098,7 @@
14098
14098
  }, function (props) {
14099
14099
  return props.$height;
14100
14100
  });
14101
- var GuideBoxLayer = styled(CaptureAreaProgress)(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n z-index: 1000;\n"])));
14101
+ var GuideBoxLayer = styled(CaptureAreaProgress)(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n z-index: 1000;\n"])));
14102
14102
  /** The mask colour when neither the prop nor the theme sets one. */
14103
14103
  var FIT_GUIDE_MASK_DEFAULT = '#708090';
14104
14104
 
@@ -14167,7 +14167,7 @@
14167
14167
  });
14168
14168
  };
14169
14169
 
14170
- var _templateObject$P, _templateObject2$J, _templateObject3$y, _templateObject4$t;
14170
+ var _templateObject$P, _templateObject2$J, _templateObject3$z, _templateObject4$u;
14171
14171
  function IdCaptureLoadingGraphic(props) {
14172
14172
  var isMobile = window.innerHeight > window.innerWidth;
14173
14173
  return isMobile ? jsx(IdCaptureLoadingGraphicMobile, _extends$1({}, props)) : jsx(IdCaptureLoadingGraphicDesktop, _extends$1({}, props));
@@ -14672,10 +14672,10 @@
14672
14672
  }, function (props) {
14673
14673
  return props.$borderColor;
14674
14674
  });
14675
- var LoadingGraphicCardGroup = styled.g(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
14675
+ var LoadingGraphicCardGroup = styled.g(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
14676
14676
  return props.$offScreen ? '-500px' : '0';
14677
14677
  });
14678
- var LoadingGraphicPhoneGroup = styled.g(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
14678
+ var LoadingGraphicPhoneGroup = styled.g(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n transform: translate(", ", 0);\n transform-style: preserve-3d;\n transition: transform 0.3s linear;\n"])), function (props) {
14679
14679
  return props.$offScreen ? '40px' : '0';
14680
14680
  });
14681
14681
 
@@ -14933,7 +14933,7 @@
14933
14933
  // parent's gap/padding, which would offset the fallback it sits next to.
14934
14934
  var SpinnerSlot = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:empty {\n display: contents;\n }\n"])));
14935
14935
 
14936
- var _templateObject$N, _templateObject2$I, _templateObject3$x, _templateObject4$s, _templateObject5$p;
14936
+ var _templateObject$N, _templateObject2$I, _templateObject3$y, _templateObject4$t, _templateObject5$p;
14937
14937
  var legacyInstructionImageUrl$1 = DEFAULT_CDN_URL$1 + "/WebSDK-Instruction-DL-Capture-3-Portrait.png";
14938
14938
  // Module-level so the default `now` prop has a stable identity across
14939
14939
  // renders (it sits in useModelWarmingElapsedMs's effect dependency array).
@@ -15136,14 +15136,14 @@
15136
15136
  var _props$theme4, _props$theme5;
15137
15137
  return (_props$theme4 = props.theme) != null && (_props$theme4 = _props$theme4.idCapture) != null && (_props$theme4 = _props$theme4.loadingOverlay) != null && _props$theme4.progressBarFontSize ? "font-size: " + ((_props$theme5 = props.theme) == null || (_props$theme5 = _props$theme5.idCapture) == null || (_props$theme5 = _props$theme5.loadingOverlay) == null ? void 0 : _props$theme5.progressBarFontSize) + ";" : '';
15138
15138
  });
15139
- var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
15139
+ var ProgressBarBackground$1 = styled(LoadingOverlayProgressBarBackground)(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
15140
15140
  var _props$theme$idCaptur4, _props$theme6;
15141
15141
  return (_props$theme$idCaptur4 = (_props$theme6 = props.theme) == null || (_props$theme6 = _props$theme6.idCapture) == null || (_props$theme6 = _props$theme6.loadingOverlay) == null ? void 0 : _props$theme6.progressBarBackgroundColor) != null ? _props$theme$idCaptur4 : PROGRESS_TRACK_DEFAULT$1;
15142
15142
  }, function (props) {
15143
15143
  var _props$theme$idCaptur5, _props$theme7;
15144
15144
  return (_props$theme$idCaptur5 = (_props$theme7 = props.theme) == null || (_props$theme7 = _props$theme7.idCapture) == null || (_props$theme7 = _props$theme7.loadingOverlay) == null ? void 0 : _props$theme7.progressBarBackgroundOpacity) != null ? _props$theme$idCaptur5 : PROGRESS_TRACK_OPACITY_DEFAULT$1;
15145
15145
  });
15146
- var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
15146
+ var ProgressIndicator$1 = styled(LoadingOverlayProgressIndicator)(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
15147
15147
  var _props$theme$idCaptur6, _props$theme8;
15148
15148
  return (_props$theme$idCaptur6 = (_props$theme8 = props.theme) == null || (_props$theme8 = _props$theme8.idCapture) == null || (_props$theme8 = _props$theme8.loadingOverlay) == null ? void 0 : _props$theme8.progressBarIndicatorColor) != null ? _props$theme$idCaptur6 : PROGRESS_INDICATOR_DEFAULT$1;
15149
15149
  });
@@ -23788,7 +23788,7 @@
23788
23788
  return bag == null ? void 0 : bag[instructionVerbiageKeys[code]];
23789
23789
  }
23790
23790
 
23791
- var _templateObject$M, _templateObject2$H, _templateObject3$w, _templateObject4$r, _templateObject5$o;
23791
+ var _templateObject$M, _templateObject2$H, _templateObject3$x, _templateObject4$s, _templateObject5$o;
23792
23792
  var PDF417_ASPECT_RATIO = 3 / 1;
23793
23793
  function BarcodeGuideOverlay(_ref) {
23794
23794
  var _ref$aspectRatio = _ref.aspectRatio,
@@ -23920,15 +23920,15 @@
23920
23920
  }
23921
23921
  var Wrapper = styled.div(_templateObject$M || (_templateObject$M = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n z-index: 1;\n"])));
23922
23922
  var Canvas$1 = styled.canvas(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
23923
- var TextOverlay = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding-top: 48px;\n pointer-events: none;\n z-index: 2;\n"])));
23924
- var HeaderText = styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 24px;\n font-weight: 700;\n text-align: center;\n text-transform: uppercase;\n letter-spacing: 2px;\n margin-bottom: 16px;\n"])));
23923
+ var TextOverlay = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding-top: 48px;\n pointer-events: none;\n z-index: 2;\n"])));
23924
+ var HeaderText = styled.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 24px;\n font-weight: 700;\n text-align: center;\n text-transform: uppercase;\n letter-spacing: 2px;\n margin-bottom: 16px;\n"])));
23925
23925
  var InstructionText = styled.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 16px;\n font-weight: 400;\n text-align: center;\n max-width: 300px;\n line-height: 1.4;\n opacity: 0.9;\n"])));
23926
23926
 
23927
- var _templateObject$L, _templateObject2$G, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$h;
23927
+ var _templateObject$L, _templateObject2$G, _templateObject3$w, _templateObject4$r, _templateObject5$n, _templateObject6$h;
23928
23928
  var scaleIn = keyframes(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n transform: scale(1.1);\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n"])));
23929
23929
  var drawCheck = keyframes(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n 0% {\n stroke-dashoffset: 24;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n"])));
23930
- styled.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n z-index: 3;\n"])));
23931
- styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n width: 80px;\n height: 80px;\n border-radius: 50%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n animation: ", " 0.4s ease-out forwards;\n"])), function (props) {
23930
+ styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n pointer-events: none;\n z-index: 3;\n"])));
23931
+ styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n width: 80px;\n height: 80px;\n border-radius: 50%;\n background-color: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n animation: ", " 0.4s ease-out forwards;\n"])), function (props) {
23932
23932
  return props.$color;
23933
23933
  }, scaleIn);
23934
23934
  styled.svg(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 48px;\n height: 48px;\n"])));
@@ -24026,7 +24026,7 @@
24026
24026
  });
24027
24027
  }
24028
24028
 
24029
- var _templateObject$K, _templateObject2$F, _templateObject3$u, _templateObject4$p, _templateObject5$m;
24029
+ var _templateObject$K, _templateObject2$F, _templateObject3$v, _templateObject4$q, _templateObject5$m;
24030
24030
  function OverrideWrongDocumentTypeDialog(_ref) {
24031
24031
  var visible = _ref.visible,
24032
24032
  onOverride = _ref.onOverride,
@@ -24066,8 +24066,8 @@
24066
24066
  return (_props$theme$idCaptur3 = (_props$theme$idCaptur4 = props.theme.idCapture) == null || (_props$theme$idCaptur4 = _props$theme$idCaptur4.overrideWrongDocumentTypeGuidance) == null ? void 0 : _props$theme$idCaptur4.textColor) != null ? _props$theme$idCaptur3 : 'black';
24067
24067
  });
24068
24068
  var InnerContainer = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
24069
- var Message = styled.span(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
24070
- var ButtonContainer = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
24069
+ var Message = styled.span(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
24070
+ var ButtonContainer = styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
24071
24071
  var Button = styled(LoaderButton)(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n margin: auto;\n"])));
24072
24072
 
24073
24073
  var IdCaptureLoadingOverlayLegacy = function IdCaptureLoadingOverlayLegacy(_ref) {
@@ -24236,7 +24236,7 @@
24236
24236
  return 'warming';
24237
24237
  };
24238
24238
 
24239
- var _templateObject$I, _templateObject2$D, _templateObject3$t, _templateObject4$o, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9;
24239
+ var _templateObject$I, _templateObject2$D, _templateObject3$u, _templateObject4$p, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9;
24240
24240
  /**
24241
24241
  * The ring overlay's priming cover page (CEO prototype `#v-prime`): camera
24242
24242
  * badge, title/subtitle, step chips, reassurance chip, "Enable camera &
@@ -24316,12 +24316,12 @@
24316
24316
  };
24317
24317
  var _float = keyframes(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-7px); }\n"])));
24318
24318
  var IntroLayout = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 34px;\n text-align: center;\n"])));
24319
- var Badge = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n width: 84px;\n height: 84px;\n border-radius: 28px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 12px 28px\n color-mix(in srgb, ", " 35%, transparent);\n margin-bottom: 8px;\n animation: ", " 3s ease-in-out infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n svg {\n width: 40px;\n height: 40px;\n fill: #ffffff;\n }\n"])), function (props) {
24319
+ var Badge = styled.div(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n width: 84px;\n height: 84px;\n border-radius: 28px;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n box-shadow: 0 12px 28px\n color-mix(in srgb, ", " 35%, transparent);\n margin-bottom: 8px;\n animation: ", " 3s ease-in-out infinite;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n svg {\n width: 40px;\n height: 40px;\n fill: #ffffff;\n }\n"])), function (props) {
24320
24320
  return props.$color;
24321
24321
  }, function (props) {
24322
24322
  return props.$color;
24323
24323
  }, _float);
24324
- var Title$4 = styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n font-size: 22px;\n font-weight: 700;\n"])));
24324
+ var Title$4 = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n font-size: 22px;\n font-weight: 700;\n"])));
24325
24325
  var Subtitle$3 = styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n opacity: 0.65;\n line-height: 1.5;\n"])));
24326
24326
  var Steps = styled.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 26px;\n margin: 16px 0 6px;\n"])));
24327
24327
  var Step = styled.div(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 6px;\n font-size: 11px;\n opacity: 0.75;\n width: 90px;\n"])));
@@ -24362,7 +24362,7 @@
24362
24362
  return requesting ? 'requesting' : 'intro';
24363
24363
  };
24364
24364
 
24365
- var _templateObject$H, _templateObject2$C, _templateObject3$s, _templateObject4$n, _templateObject5$k, _templateObject6$f, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject0$9, _templateObject1$8, _templateObject10$8, _templateObject11$6, _templateObject12$5, _templateObject13$5, _templateObject14$5, _templateObject15$4;
24365
+ var _templateObject$H, _templateObject2$C, _templateObject3$t, _templateObject4$o, _templateObject5$k, _templateObject6$f, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject0$9, _templateObject1$8, _templateObject10$8, _templateObject11$6, _templateObject12$5, _templateObject13$5, _templateObject14$5, _templateObject15$4;
24366
24366
  /** Minimum time a stage handoff stays on screen so its message is
24367
24367
  * legible even when everything preloaded and readiness is instant. */
24368
24368
  var STAGE_TRANSITION_HOLD_MS = 1600;
@@ -24423,8 +24423,8 @@
24423
24423
  };
24424
24424
  var badgePop = keyframes(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n 0% { transform: scale(0.4); opacity: 0; }\n 60% { transform: scale(1.08); opacity: 1; }\n 100% { transform: scale(1); opacity: 1; }\n"])));
24425
24425
  var cardFlip = keyframes(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n from { transform: rotateY(0deg); }\n to { transform: rotateY(180deg); }\n"])));
24426
- var microcopyBeat = keyframes(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n 0% { opacity: 0; transform: translateY(6px); }\n 18% { opacity: 1; transform: translateY(0); }\n 60% { opacity: 1; transform: translateY(0); }\n 80% { opacity: 0; transform: translateY(-6px); }\n 100% { opacity: 0; }\n"])));
24427
- var rise = keyframes(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
24426
+ var microcopyBeat = keyframes(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteralLoose(["\n 0% { opacity: 0; transform: translateY(6px); }\n 18% { opacity: 1; transform: translateY(0); }\n 60% { opacity: 1; transform: translateY(0); }\n 80% { opacity: 0; transform: translateY(-6px); }\n 100% { opacity: 0; }\n"])));
24427
+ var rise = keyframes(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
24428
24428
  var riseSubtle = keyframes(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 0.65; transform: translateY(0); }\n"])));
24429
24429
  var TransitionLayout = styled.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 14px;\n"])));
24430
24430
  /* The drop shadow lives on the static parent: filter on the flipping card
@@ -24453,7 +24453,7 @@
24453
24453
  return props.$visible ? 1 : 0;
24454
24454
  });
24455
24455
 
24456
- var _templateObject$G, _templateObject2$B, _templateObject3$r, _templateObject4$m, _templateObject5$j, _templateObject6$e, _templateObject7$c;
24456
+ var _templateObject$G, _templateObject2$B, _templateObject3$s, _templateObject4$n, _templateObject5$j, _templateObject6$e, _templateObject7$c;
24457
24457
  // Module-level so the default `now` prop has a stable identity across
24458
24458
  // renders (it sits in useModelWarmingElapsedMs's effect dependency array).
24459
24459
  var defaultNow$2 = function defaultNow() {
@@ -24736,9 +24736,9 @@
24736
24736
  var _props$theme$idCaptur2, _props$theme2;
24737
24737
  return (_props$theme$idCaptur2 = (_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.idCapture) == null || (_props$theme2 = _props$theme2.loadingOverlay) == null ? void 0 : _props$theme2.textColor) != null ? _props$theme$idCaptur2 : '#12211d';
24738
24738
  }, function (props) {
24739
- return props.$softEntry ? css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn$1) : '';
24739
+ return props.$softEntry ? css(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn$1) : '';
24740
24740
  });
24741
- var RingLayout$1 = styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
24741
+ var RingLayout$1 = styled.div(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
24742
24742
  var StatusLine$1 = styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
24743
24743
  var SubText$1 = styled.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
24744
24744
  var ContinueButton$2 = styled(LoaderButton)(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n white-space: nowrap;\n ", "\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
@@ -24836,7 +24836,7 @@
24836
24836
  var Card = styled.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n background: white;\n border-radius: 8px;\n padding: 24px;\n box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);\n margin: auto;\n max-width: min(500px, 100% - 48px);\n max-height: 100%;\n overflow: auto;\n box-sizing: border-box;\n"])));
24837
24837
  var FlexCard = styled(Card)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
24838
24838
 
24839
- var _templateObject$E, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$i, _templateObject6$d, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject0$8, _templateObject1$7, _templateObject10$7, _templateObject11$5, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$2, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44;
24839
+ var _templateObject$E, _templateObject2$z, _templateObject3$r, _templateObject4$m, _templateObject5$i, _templateObject6$d, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject0$8, _templateObject1$7, _templateObject10$7, _templateObject11$5, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$2, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44;
24840
24840
  function ReviewDocumentDiagnostics(_ref) {
24841
24841
  var _document$detectionSc, _document$detectionSc2, _document$focusScore, _document$focusScore2;
24842
24842
  var document = _ref.document,
@@ -25297,8 +25297,8 @@
25297
25297
  }
25298
25298
  var DebugInfoContainer = styled.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n gap: 0.375rem;\n margin-top: 0.5rem;\n margin-bottom: 1rem;\n padding: 0.625rem;\n background: #f8f9fa;\n border-radius: 6px;\n border: 1px solid #e9ecef;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n line-height: 1.35;\n text-align: left;\n"])));
25299
25299
  var DebugSection = styled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n"])));
25300
- var DebugLabel = styled.span(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n width: 110px;\n flex-shrink: 0;\n color: #495057;\n font-size: 0.8125rem;\n font-weight: 600;\n"])));
25301
- var DebugValue = styled.span(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
25300
+ var DebugLabel = styled.span(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n width: 110px;\n flex-shrink: 0;\n color: #495057;\n font-size: 0.8125rem;\n font-weight: 600;\n"])));
25301
+ var DebugValue = styled.span(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
25302
25302
  var ScoreBadge = styled.span(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n padding: 0.1875rem 0.5rem;\n border: 1px solid\n ", ";\n border-radius: 4px;\n background: ", ";\n color: ", ";\n font-size: 0.75rem;\n font-weight: 600;\n"])), function (_ref4) {
25303
25303
  var $score = _ref4.$score,
25304
25304
  $type = _ref4.$type;
@@ -25411,7 +25411,7 @@
25411
25411
  return $highlight ? '#004085' : $ok ? '#155724' : '#721c24';
25412
25412
  });
25413
25413
 
25414
- var _templateObject$D, _templateObject2$y, _templateObject3$p, _templateObject4$k, _templateObject5$h;
25414
+ var _templateObject$D, _templateObject2$y, _templateObject3$q, _templateObject4$l, _templateObject5$h;
25415
25415
  var imageDisplayOrder = ['idCardFront', 'idCardBack', 'idBarcodeImage', 'passport', 'singlePage', 'idFrontIrImage', 'idBackIrImage', 'idFrontUvImage', 'idBackUvImage'];
25416
25416
  var ReviewScreen = function ReviewScreen(_ref) {
25417
25417
  var capturedDocuments = _ref.capturedDocuments,
@@ -25504,11 +25504,11 @@
25504
25504
  };
25505
25505
  var Heading$9 = styled.h1(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1.5rem;\n"])));
25506
25506
  var ImagesContainer = styled(OverlayImageContainer)(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
25507
- var ImageRow = styled(OverlayImageRow)(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
25508
- var ImageCol$1 = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
25507
+ var ImageRow = styled(OverlayImageRow)(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
25508
+ var ImageCol$1 = styled.div(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
25509
25509
  var StyledImage = styled(CapturedDocumentImg)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-radius: 12px;\n"])));
25510
25510
 
25511
- var _templateObject$C, _templateObject2$x, _templateObject3$o, _templateObject4$j;
25511
+ var _templateObject$C, _templateObject2$x, _templateObject3$p, _templateObject4$k;
25512
25512
  var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
25513
25513
  var _assets$imageUrl, _classNames$container;
25514
25514
  var onRetry = _ref.onRetry,
@@ -25569,10 +25569,10 @@
25569
25569
  };
25570
25570
  var StyledOverlayInner$2 = styled(OverlayInner$2)(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n max-width: 500px;\n height: auto;\n margin: auto;\n"])));
25571
25571
  var StyledOverlayImageContainer = styled(OverlayImageContainer)(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n"])));
25572
- var Description$3 = styled.p(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
25573
- var RetryButton$1 = styled(LoaderButton)(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
25572
+ var Description$3 = styled.p(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
25573
+ var RetryButton$1 = styled(LoaderButton)(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
25574
25574
 
25575
- var _templateObject$B, _templateObject2$w, _templateObject3$n;
25575
+ var _templateObject$B, _templateObject2$w, _templateObject3$o;
25576
25576
  var ErrorScreen = function ErrorScreen(_ref) {
25577
25577
  var error = _ref.error,
25578
25578
  onRetry = _ref.onRetry,
@@ -25765,7 +25765,7 @@
25765
25765
  // same here rather than inherit a foreground meant for the dark overlays.
25766
25766
  var ErrorCard = styled(FlexCard)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n color: black;\n"])));
25767
25767
  var Heading$8 = styled.h1(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1rem;\n"])));
25768
- var Description$2 = styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
25768
+ var Description$2 = styled.p(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
25769
25769
 
25770
25770
  function reasonFor(code) {
25771
25771
  if (code === 'CAMERA_PERMISSION_DENIED') return 'permissionDenied';
@@ -25834,7 +25834,7 @@
25834
25834
  return key === 'third' ? 'ID page of passport' : 'back of ID card';
25835
25835
  }
25836
25836
 
25837
- var _templateObject$A, _templateObject2$v, _templateObject3$m, _templateObject4$i, _templateObject5$g, _templateObject6$c, _templateObject7$a;
25837
+ var _templateObject$A, _templateObject2$v, _templateObject3$n, _templateObject4$j, _templateObject5$g, _templateObject6$c, _templateObject7$a;
25838
25838
  function IdCaptureFallback(_ref) {
25839
25839
  var _ref$captureRequireme = _ref.captureRequirement,
25840
25840
  captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
@@ -26005,13 +26005,13 @@
26005
26005
  }
26006
26006
  var StyledOverlayInner$1 = styled(OverlayInner$2)(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
26007
26007
  var Heading$7 = styled.h3(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
26008
- var Description$1 = styled.p(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
26009
- var Instruction = styled.p(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
26008
+ var Description$1 = styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
26009
+ var Instruction = styled.p(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
26010
26010
  var ReadFailed$1 = styled.p(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
26011
26011
  var ImageCol = styled.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
26012
26012
  var StyledButtonsRow$6 = styled(ButtonsRow$2)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
26013
26013
 
26014
- var _templateObject$z, _templateObject2$u, _templateObject3$l, _templateObject4$h, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
26014
+ var _templateObject$z, _templateObject2$u, _templateObject3$m, _templateObject4$i, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
26015
26015
  function IdCaptureOrUploadScreen(_ref) {
26016
26016
  var _ref$captureRequireme = _ref.captureRequirement,
26017
26017
  captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
@@ -26263,8 +26263,8 @@
26263
26263
  return (_props$theme$backgrou = (_props$theme = props.theme) == null ? void 0 : _props$theme.background) != null ? _props$theme$backgrou : '#fff';
26264
26264
  });
26265
26265
  var ScreenPanel = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n width: 100%;\n max-width: 320px;\n"])));
26266
- var DashedSeparator = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 320px;\n border-top: 1px dashed currentColor;\n opacity: 0.4;\n"])));
26267
- var OrWrapper = styled.span(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
26266
+ var DashedSeparator = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 320px;\n border-top: 1px dashed currentColor;\n opacity: 0.4;\n"])));
26267
+ var OrWrapper = styled.span(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
26268
26268
  var _props$theme$backgrou2, _props$theme2;
26269
26269
  return (_props$theme$backgrou2 = (_props$theme2 = props.theme) == null ? void 0 : _props$theme2.background) != null ? _props$theme$backgrou2 : '#fff';
26270
26270
  });
@@ -30830,7 +30830,7 @@
30830
30830
  });
30831
30831
  }
30832
30832
 
30833
- var _templateObject$w, _templateObject2$t, _templateObject3$k, _templateObject4$g;
30833
+ var _templateObject$w, _templateObject2$t, _templateObject3$l, _templateObject4$h;
30834
30834
  var _excluded$d = ["borderColor", "borderOpacity", "borderWidth", "status"],
30835
30835
  _excluded2$4 = ["status", "guideStyle"],
30836
30836
  _excluded3 = ["frame", "borderWidth", "borderColor", "borderOpacity", "verticalAlign", "status", "guideStyle"],
@@ -30969,8 +30969,8 @@
30969
30969
  }))]
30970
30970
  });
30971
30971
  }
30972
- var AbsoluteSvg = styled.svg(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n"])));
30973
- var RelativeSvgContainer = styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: ", ";\n"])), function (props) {
30972
+ var AbsoluteSvg = styled.svg(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n"])));
30973
+ var RelativeSvgContainer = styled.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: ", ";\n"])), function (props) {
30974
30974
  return props.$verticalAlign === 'bottom' ? 'flex-end' : 'center';
30975
30975
  });
30976
30976
  function SelfieCaptureAnimatedMask(_ref3) {
@@ -31533,7 +31533,7 @@
31533
31533
  });
31534
31534
  }
31535
31535
 
31536
- var _templateObject$u, _templateObject2$r, _templateObject3$j, _templateObject4$f, _templateObject5$e;
31536
+ var _templateObject$u, _templateObject2$r, _templateObject3$k, _templateObject4$g, _templateObject5$e;
31537
31537
  var legacyInstructionImageUrl = DEFAULT_CDN_URL$1 + "/Selfie-Image-1.png";
31538
31538
  // Module-level so the default `now` prop has a stable identity across
31539
31539
  // renders (it sits in useModelWarmingElapsedMs's effect dependency array).
@@ -31718,14 +31718,14 @@
31718
31718
  var _props$theme4, _props$theme5;
31719
31719
  return (_props$theme4 = props.theme) != null && (_props$theme4 = _props$theme4.selfieCapture) != null && (_props$theme4 = _props$theme4.loadingOverlay) != null && _props$theme4.progressBarFontSize ? "font-size: " + ((_props$theme5 = props.theme) == null || (_props$theme5 = _props$theme5.selfieCapture) == null || (_props$theme5 = _props$theme5.loadingOverlay) == null ? void 0 : _props$theme5.progressBarFontSize) + ";" : '';
31720
31720
  });
31721
- var ProgressBarBackground = styled(LoadingOverlayProgressBarBackground)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
31721
+ var ProgressBarBackground = styled(LoadingOverlayProgressBarBackground)(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
31722
31722
  var _props$theme$selfieCa4, _props$theme6;
31723
31723
  return (_props$theme$selfieCa4 = (_props$theme6 = props.theme) == null || (_props$theme6 = _props$theme6.selfieCapture) == null || (_props$theme6 = _props$theme6.loadingOverlay) == null ? void 0 : _props$theme6.progressBarBackgroundColor) != null ? _props$theme$selfieCa4 : PROGRESS_TRACK_DEFAULT;
31724
31724
  }, function (props) {
31725
31725
  var _props$theme$selfieCa5, _props$theme7;
31726
31726
  return (_props$theme$selfieCa5 = (_props$theme7 = props.theme) == null || (_props$theme7 = _props$theme7.selfieCapture) == null || (_props$theme7 = _props$theme7.loadingOverlay) == null ? void 0 : _props$theme7.progressBarBackgroundOpacity) != null ? _props$theme$selfieCa5 : PROGRESS_TRACK_OPACITY_DEFAULT;
31727
31727
  });
31728
- var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
31728
+ var ProgressIndicator = styled(LoadingOverlayProgressIndicator)(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
31729
31729
  var _props$theme$selfieCa6, _props$theme8;
31730
31730
  return (_props$theme$selfieCa6 = (_props$theme8 = props.theme) == null || (_props$theme8 = _props$theme8.selfieCapture) == null || (_props$theme8 = _props$theme8.loadingOverlay) == null ? void 0 : _props$theme8.progressBarIndicatorColor) != null ? _props$theme$selfieCa6 : PROGRESS_INDICATOR_DEFAULT;
31731
31731
  });
@@ -31849,7 +31849,7 @@
31849
31849
  var StyledGuidanceMessage = styled(GuidanceMessage)(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n padding: 12px 24px;\n font-weight: normal;\n line-height: 1.5;\n margin-bottom: -30px;\n"])));
31850
31850
  var StyledButtonsRow$5 = styled(ButtonsRow$2)(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n flex-direction: column;\n padding-top: 25px;\n"])));
31851
31851
 
31852
- var _templateObject$s, _templateObject2$p, _templateObject3$i, _templateObject4$e, _templateObject5$d, _templateObject6$a, _templateObject7$8;
31852
+ var _templateObject$s, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$d, _templateObject6$a, _templateObject7$8;
31853
31853
  // Module-level so the default `now` prop has a stable identity across
31854
31854
  // renders (it sits in useModelWarmingElapsedMs's effect dependency array).
31855
31855
  var defaultNow = function defaultNow() {
@@ -32116,9 +32116,9 @@
32116
32116
  var _props$theme$selfieCa2, _props$theme2;
32117
32117
  return (_props$theme$selfieCa2 = (_props$theme2 = props.theme) == null || (_props$theme2 = _props$theme2.selfieCapture) == null || (_props$theme2 = _props$theme2.loadingOverlay) == null ? void 0 : _props$theme2.textColor) != null ? _props$theme$selfieCa2 : '#12211d';
32118
32118
  }, function (props) {
32119
- return props.$softEntry ? css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn) : '';
32119
+ return props.$softEntry ? css(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn) : '';
32120
32120
  });
32121
- var RingLayout = styled.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
32121
+ var RingLayout = styled.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 14px;\n padding: 40px;\n text-align: center;\n"])));
32122
32122
  var StatusLine = styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
32123
32123
  var SubText = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
32124
32124
  var ContinueButton = styled(LoaderButton)(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n margin-top: 10px;\n white-space: nowrap;\n ", "\n\n &.disabled {\n background: ", ";\n color: ", ";\n border: ", ";\n }\n"])), function (props) {
@@ -32150,7 +32150,7 @@
32150
32150
  return jsx(Component, _extends$1({}, props));
32151
32151
  };
32152
32152
 
32153
- var _templateObject$r, _templateObject2$o, _templateObject3$h, _templateObject4$d, _templateObject5$c, _templateObject6$9;
32153
+ var _templateObject$r, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$c, _templateObject6$9;
32154
32154
  function SelfieCaptureFallback(_ref) {
32155
32155
  var _ref$silentFallback = _ref.silentFallback,
32156
32156
  silentFallback = _ref$silentFallback === void 0 ? false : _ref$silentFallback,
@@ -32306,8 +32306,8 @@
32306
32306
  }
32307
32307
  var StyledOverlayInner = styled(OverlayInner$2)(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n justify-content: center;\n padding: 24px;\n box-sizing: border-box;\n"])));
32308
32308
  var Heading$6 = styled.h1(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin: 0 0 1rem;\n"])));
32309
- var Description = styled.p(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
32310
- var ImageContainer$4 = styled.div(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin-bottom: 1.5rem;\n\n & > img {\n max-width: 100%;\n max-height: 40vh;\n border-radius: 8px;\n }\n"])));
32309
+ var Description = styled.p(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
32310
+ var ImageContainer$4 = styled.div(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin-bottom: 1.5rem;\n\n & > img {\n max-width: 100%;\n max-height: 40vh;\n border-radius: 8px;\n }\n"])));
32311
32311
  var ReadFailed = styled.p(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n margin: 0 0 1rem;\n"])));
32312
32312
  var StyledButtonsRow$4 = styled(ButtonsRow$2)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 12px;\n justify-content: center;\n"])));
32313
32313
 
@@ -37975,7 +37975,7 @@
37975
37975
  return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
37976
37976
  }
37977
37977
 
37978
- var _templateObject$k, _templateObject2$k, _templateObject3$g, _templateObject4$c, _templateObject5$b, _templateObject6$8;
37978
+ var _templateObject$k, _templateObject2$k, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$8;
37979
37979
  var _excluded$b = ["device", "frameDecode"];
37980
37980
  var ASSUMED_TRIM_PADDING = {
37981
37981
  startMs: TRIM_PADDING_START_MS,
@@ -38256,8 +38256,8 @@
38256
38256
  var MONO = "'Monaco', 'Menlo', 'Ubuntu Mono', monospace";
38257
38257
  var Panel = styled.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n width: min(720px, 90vw);\n margin-top: 0.75rem;\n padding: 0.625rem;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n text-align: left;\n overflow-x: auto;\n"])));
38258
38258
  var Table = styled.table(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-collapse: collapse;\n font-family: ", ";\n font-size: 0.8125rem;\n line-height: 1.35;\n"])), MONO);
38259
- var SectionCell = styled.th(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n padding: 0.5rem 0 0.25rem;\n border-bottom: 1px solid #e9ecef;\n color: #495057;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-align: left;\n text-transform: uppercase;\n"])));
38260
- var LabelCell = styled.td(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n width: 45%;\n padding: 0.1875rem 0.5rem 0.1875rem 0;\n color: #495057;\n font-weight: 600;\n vertical-align: top;\n"])));
38259
+ var SectionCell = styled.th(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n padding: 0.5rem 0 0.25rem;\n border-bottom: 1px solid #e9ecef;\n color: #495057;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-align: left;\n text-transform: uppercase;\n"])));
38260
+ var LabelCell = styled.td(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n width: 45%;\n padding: 0.1875rem 0.5rem 0.1875rem 0;\n color: #495057;\n font-weight: 600;\n vertical-align: top;\n"])));
38261
38261
  var ValueCell = styled.td(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n padding: 0.1875rem 0;\n color: ", ";\n font-weight: ", ";\n vertical-align: top;\n word-break: break-word;\n"])), function (props) {
38262
38262
  return props.$suspect ? '#842029' : '#212529';
38263
38263
  }, function (props) {
@@ -38265,7 +38265,7 @@
38265
38265
  });
38266
38266
  var Note = styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: block;\n color: #6c757d;\n font-weight: 400;\n"])));
38267
38267
 
38268
- var _templateObject$j, _templateObject2$j, _templateObject3$f, _templateObject4$b, _templateObject5$a;
38268
+ var _templateObject$j, _templateObject2$j, _templateObject3$g, _templateObject4$c, _templateObject5$a;
38269
38269
  function MessageOverlay(_ref) {
38270
38270
  var heading = _ref.heading,
38271
38271
  children = _ref.children,
@@ -38487,11 +38487,11 @@
38487
38487
  }
38488
38488
  var CenteredInner = styled(OverlayInner$2)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n justify-content: center;\n align-items: center;\n max-width: 640px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 32px;\n"])));
38489
38489
  var Content = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n max-width: 540px;\n line-height: 1.55;\n"])));
38490
- var Details = styled.p(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n margin: 12px 0 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.875rem;\n"])));
38491
- var PermissionImage = styled(OverlayImageContainer)(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
38490
+ var Details = styled.p(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n margin: 12px 0 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.875rem;\n"])));
38491
+ var PermissionImage = styled(OverlayImageContainer)(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
38492
38492
  var RetryButton = styled(LoaderButton)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 32px auto 0;\n"])));
38493
38493
 
38494
- var _templateObject$i, _templateObject2$i, _templateObject3$e, _templateObject4$a, _templateObject5$9, _templateObject6$7, _templateObject7$7, _templateObject8$7, _templateObject9$7, _templateObject0$6, _templateObject1$5, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1;
38494
+ var _templateObject$i, _templateObject2$i, _templateObject3$f, _templateObject4$b, _templateObject5$9, _templateObject6$7, _templateObject7$7, _templateObject8$7, _templateObject9$7, _templateObject0$6, _templateObject1$5, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1;
38495
38495
  var FALLBACKS = {
38496
38496
  headingText: "Please sign the box below",
38497
38497
  signHereText: "Sign here",
@@ -39086,10 +39086,10 @@
39086
39086
  * screen's bezel and matches the letterbox bars the KYC flow shows while the
39087
39087
  * camera is up.
39088
39088
  */
39089
- var CameraLayer$1 = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n overflow: hidden;\n background: #000;\n"])), function (props) {
39089
+ var CameraLayer$1 = styled.div(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n overflow: hidden;\n background: #000;\n"])), function (props) {
39090
39090
  return props.$visible ? "flex" : "none";
39091
39091
  });
39092
- var CaptureContent = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 1;\n display: ", ";\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: ", ";\n padding: ", ";\n background: ", ";\n box-sizing: border-box;\n\n /* Reserve a band above the face guide on phones and narrow embeds. */\n @container signature-capture (max-width: 1024px) {\n top: ", ";\n }\n\n"])), function (props) {
39092
+ var CaptureContent = styled.div(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 1;\n display: ", ";\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: ", ";\n padding: ", ";\n background: ", ";\n box-sizing: border-box;\n\n /* Reserve a band above the face guide on phones and narrow embeds. */\n @container signature-capture (max-width: 1024px) {\n top: ", ";\n }\n\n"])), function (props) {
39093
39093
  return props.$visible ? "flex" : "none";
39094
39094
  }, function (props) {
39095
39095
  return props.$legacyVideoLayout ? "0" : "16px";
@@ -40600,7 +40600,7 @@
40600
40600
  return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
40601
40601
  }
40602
40602
 
40603
- var _templateObject$h, _templateObject2$h, _templateObject3$d, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
40603
+ var _templateObject$h, _templateObject2$h, _templateObject3$e, _templateObject4$a, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
40604
40604
  /**
40605
40605
  * The combined face-over-document guide used by SDK2's Video ID recording
40606
40606
  * stage. Unlike the standalone ID overlay, both subjects remain framed in a
@@ -40816,8 +40816,8 @@
40816
40816
  return (_props$theme = props.theme) == null ? void 0 : _props$theme.fontFamily;
40817
40817
  });
40818
40818
  var Inner$1 = styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n max-height: 1280px;\n margin: auto;\n"])));
40819
- var FaceGuideContainer = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
40820
- var IdCardGuideContainer = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n max-width: 100%;\n height: 35%;\n margin: 0 auto;\n"])));
40819
+ var FaceGuideContainer = styled.div(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
40820
+ var IdCardGuideContainer = styled.div(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n max-width: 100%;\n height: 35%;\n margin: 0 auto;\n"])));
40821
40821
  var IdCardGuideInner = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n"])));
40822
40822
  var StyledIdCardGuideImageContainer = styled(IdCardGuideImageContainer)(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n width: auto;\n height: 100%;\n"])));
40823
40823
  var InstructionsContainer = styled.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 0;\n bottom: 16px;\n left: 0;\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n box-sizing: border-box;\n color: white;\n text-align: center;\n"])));
@@ -40846,7 +40846,7 @@
40846
40846
  };
40847
40847
  (_VIDEO_ID_GUIDANCE_FA = {}, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_ID_FRONT] = VIDEO_ID_FALLBACKS.idFrontInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_ID_BACK] = VIDEO_ID_FALLBACKS.idBackInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SHOW_PASSPORT] = VIDEO_ID_FALLBACKS.passportInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.FLIP_ID] = VIDEO_ID_FALLBACKS.flipIdInstructionText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.SEARCHING_FOR_ID] = VIDEO_ID_FALLBACKS.searchingForIdCardText, _VIDEO_ID_GUIDANCE_FA[VideoIdCaptureGuidanceCode.HOLD_STEADY] = VIDEO_ID_FALLBACKS.idFrontInstructionText, _VIDEO_ID_GUIDANCE_FA);
40848
40848
 
40849
- var _templateObject$g, _templateObject2$g, _templateObject3$c, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
40849
+ var _templateObject$g, _templateObject2$g, _templateObject3$d, _templateObject4$9, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
40850
40850
  function VideoIdCaptureView(props) {
40851
40851
  var _props$lang;
40852
40852
  return jsx(SdkLanguageProvider, {
@@ -41197,8 +41197,8 @@
41197
41197
  var CameraLayer = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n"])), function (props) {
41198
41198
  return props.$visible ? 'flex' : 'none';
41199
41199
  });
41200
- var ReadTextPrompt = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n padding: 24px;\n"])));
41201
- var ReadTextHeading = styled.h3(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n"])));
41200
+ var ReadTextPrompt = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n padding: 24px;\n"])));
41201
+ var ReadTextHeading = styled.h3(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n"])));
41202
41202
  var ReadTextSentence = styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n text-align: center;\n"])));
41203
41203
  var Countdown = styled.div(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 20;\n display: grid;\n place-items: center;\n color: white;\n font-size: 64px;\n font-weight: 700;\n pointer-events: none;\n"])));
41204
41204
  var Review = styled.div(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n z-index: 30;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 16px;\n padding: 24px;\n overflow: auto;\n background: ", ";\n\n > video {\n width: min(100%, 720px);\n max-height: 52vh;\n }\n"])), function (props) {
@@ -41218,7 +41218,7 @@
41218
41218
  return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
41219
41219
  }
41220
41220
 
41221
- var _templateObject$f, _templateObject2$f, _templateObject3$b, _templateObject4$7, _templateObject5$6;
41221
+ var _templateObject$f, _templateObject2$f, _templateObject3$c, _templateObject4$8, _templateObject5$6;
41222
41222
  /** Human wording for each gate, in the order the engine reports them. */
41223
41223
  /** Short enough that the triple fits one line on a phone. */
41224
41224
  var GUIDANCE_LABELS = {
@@ -41521,8 +41521,8 @@
41521
41521
  // swallow a capture tap. This one has to be tappable, so it re-enables them on
41522
41522
  // its own subtree only.
41523
41523
  var InteractivePane = styled.span(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n display: block;\n cursor: pointer;\n user-select: none;\n"])));
41524
- var Row = styled.span(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
41525
- var Controls = styled.span(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
41524
+ var Row = styled.span(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
41525
+ var Controls = styled.span(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
41526
41526
  var Chip = styled.button(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n font: bold 11px monospace;\n padding: 4px 8px;\n border: 1px solid limegreen;\n border-radius: 3px;\n background: ", ";\n color: ", ";\n cursor: pointer;\n"])), function (_ref5) {
41527
41527
  var $active = _ref5.$active;
41528
41528
  return $active ? 'limegreen' : 'transparent';
@@ -41531,7 +41531,7 @@
41531
41531
  return $active ? 'black' : 'limegreen';
41532
41532
  });
41533
41533
 
41534
- var _templateObject$e, _templateObject2$e, _templateObject3$a;
41534
+ var _templateObject$e, _templateObject2$e, _templateObject3$b;
41535
41535
  /**
41536
41536
  * Which verbiage member renders each code.
41537
41537
  *
@@ -41646,9 +41646,9 @@
41646
41646
  * competed the applicant would read the wrong one. No dot, lower contrast, no
41647
41647
  * background of its own beyond what legibility over video requires.
41648
41648
  */
41649
- var ManualCaptureHint = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n max-width: min(88%, 38ch);\n padding: 7px 14px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 500;\n line-height: 1.4;\n text-align: center;\n color: rgba(255, 255, 255, 0.86);\n background: rgba(10, 14, 19, 0.7);\n"])));
41649
+ var ManualCaptureHint = styled.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n max-width: min(88%, 38ch);\n padding: 7px 14px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 500;\n line-height: 1.4;\n text-align: center;\n color: rgba(255, 255, 255, 0.86);\n background: rgba(10, 14, 19, 0.7);\n"])));
41650
41650
 
41651
- var _templateObject$d, _templateObject2$d, _templateObject3$9;
41651
+ var _templateObject$d, _templateObject2$d, _templateObject3$a;
41652
41652
  function DocumentCaptureReviewScreen(_ref) {
41653
41653
  var contentUrl = _ref.contentUrl,
41654
41654
  headingText = _ref.headingText,
@@ -41708,7 +41708,7 @@
41708
41708
  // without it the default `min-height: auto` floors the wrapper at the image's
41709
41709
  // intrinsic height and the buttons get pushed off the bottom of a phone.
41710
41710
  var ImageWrap = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 18px;\n"])));
41711
- var PreviewImage$1 = styled.img(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: 4px;\n border: 1px solid #e2e2e8;\n"])));
41711
+ var PreviewImage$1 = styled.img(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: 4px;\n border: 1px solid #e2e2e8;\n"])));
41712
41712
 
41713
41713
  function computeGuideRect$1(_ref) {
41714
41714
  var wrapperWidth = _ref.wrapperWidth,
@@ -41987,7 +41987,7 @@
41987
41987
  });
41988
41988
  var Canvas = styled.canvas(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
41989
41989
 
41990
- var _templateObject$b, _templateObject2$b, _templateObject3$8, _templateObject4$6, _templateObject5$5, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2;
41990
+ var _templateObject$b, _templateObject2$b, _templateObject3$9, _templateObject4$7, _templateObject5$5, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2;
41991
41991
  /** The verbiage fallbacks, exported so the i18n parity test reads the real
41992
41992
  * literals rather than a second copy that could drift from them. */
41993
41993
  var DOCUMENT_CAPTURE_FALLBACK_VERBIAGE = {
@@ -42577,11 +42577,11 @@
42577
42577
  * the mechanism that just gave up, and a disabled-looking disc would refuse a
42578
42578
  * tap the applicant is entitled to make.
42579
42579
  */
42580
- var GuidedShutterDock = styled.div(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n z-index: 10001;\n display: flex;\n justify-content: center;\n pointer-events: none;\n\n /* Straddling the guide box's bottom edge EXACTLY, when we know where that\n edge is. Anchoring to the surface bottom instead left it wherever the\n letterboxing happened to put it \u2014 near the edge on a phone, floating well\n below it on a desktop, and half-overlapping at sizes in between, which\n reads as a mistake rather than a choice.\n\n Centred on the edge is a decision the geometry can state: the disc sits\n half on the frame and half on the surround, at every viewport. */\n ", "\n"])), function (_ref3) {
42580
+ var GuidedShutterDock = styled.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n z-index: 10001;\n display: flex;\n justify-content: center;\n pointer-events: none;\n\n /* Straddling the guide box's bottom edge EXACTLY, when we know where that\n edge is. Anchoring to the surface bottom instead left it wherever the\n letterboxing happened to put it \u2014 near the edge on a phone, floating well\n below it on a desktop, and half-overlapping at sizes in between, which\n reads as a mistake rather than a choice.\n\n Centred on the edge is a decision the geometry can state: the disc sits\n half on the frame and half on the surround, at every viewport. */\n ", "\n"])), function (_ref3) {
42581
42581
  var $centreY = _ref3.$centreY;
42582
42582
  return $centreY === null ? 'bottom: max(20px, env(safe-area-inset-bottom));' : "top: " + $centreY + "px; transform: translateY(-50%);";
42583
42583
  });
42584
- var GuidedShutter = styled.button(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n position: relative;\n width: ", "px;\n height: ", "px;\n border: 0;\n border-radius: 50%;\n background: #fff;\n cursor: pointer;\n padding: 0;\n\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. */\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. It dims to a TRACK\n while a tap is pending, so the sweep drawn over it reads as filling. */\n &::after {\n content: '';\n position: absolute;\n inset: -", "px;\n border: ", "px solid\n ", ";\n border-radius: 50%;\n }\n\n &:active {\n transform: scale(0.94);\n }\n\n /* Held down for the length of the burst window. A one-shot state change, not\n an animation: a spinner or a pulse here would repaint every frame on top\n of live video for the exact interval the applicant is holding still. */\n ", "\n\n &:disabled {\n cursor: default;\n /* A pending shutter is working, not refusing. Only the not-yet-ready case\n is dimmed far enough to read as unavailable. */\n opacity: ", ";\n }\n"])), GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_RING_PX, GUIDED_SHUTTER_RING_WIDTH_PX, function (_ref4) {
42584
+ var GuidedShutter = styled.button(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n position: relative;\n width: ", "px;\n height: ", "px;\n border: 0;\n border-radius: 50%;\n background: #fff;\n cursor: pointer;\n padding: 0;\n\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. */\n /* The camera app's ring, drawn outside the disc so the tappable area is the\n disc itself and the ring cannot swallow an edge tap. It dims to a TRACK\n while a tap is pending, so the sweep drawn over it reads as filling. */\n &::after {\n content: '';\n position: absolute;\n inset: -", "px;\n border: ", "px solid\n ", ";\n border-radius: 50%;\n }\n\n &:active {\n transform: scale(0.94);\n }\n\n /* Held down for the length of the burst window. A one-shot state change, not\n an animation: a spinner or a pulse here would repaint every frame on top\n of live video for the exact interval the applicant is holding still. */\n ", "\n\n &:disabled {\n cursor: default;\n /* A pending shutter is working, not refusing. Only the not-yet-ready case\n is dimmed far enough to read as unavailable. */\n opacity: ", ";\n }\n"])), GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_SIZE_PX, GUIDED_SHUTTER_RING_PX, GUIDED_SHUTTER_RING_WIDTH_PX, function (_ref4) {
42585
42585
  var $pending = _ref4.$pending;
42586
42586
  return $pending ? 'rgba(255, 255, 255, 0.25)' : 'rgba(255, 255, 255, 0.9)';
42587
42587
  }, function (_ref5) {
@@ -42901,7 +42901,7 @@
42901
42901
  });
42902
42902
  };
42903
42903
 
42904
- var _templateObject$a, _templateObject2$a, _templateObject3$7, _templateObject4$5, _templateObject5$4;
42904
+ var _templateObject$a, _templateObject2$a, _templateObject3$8, _templateObject4$6, _templateObject5$4;
42905
42905
  // The `useTranslations` fallback defaults, exported so the i18n parity
42906
42906
  // guard (additionalDocumentStrings.test.ts) can assert every non-English
42907
42907
  // locale carries these exact literals by reading them from here rather than
@@ -43071,8 +43071,8 @@
43071
43071
  }
43072
43072
  var Inner = styled(OverlayInner$2)(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
43073
43073
  var Heading$2 = styled.h3(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
43074
- var DescriptionText = styled.p(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
43075
- var ErrorText = styled.p(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
43074
+ var DescriptionText = styled.p(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
43075
+ var ErrorText = styled.p(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
43076
43076
  var StyledButtonsRow$2 = styled(ButtonsRow$2)(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
43077
43077
 
43078
43078
  function additionalDocumentProgress(documents, results) {
@@ -43196,7 +43196,7 @@
43196
43196
  }, index);
43197
43197
  }
43198
43198
 
43199
- var _templateObject$9, _templateObject2$9, _templateObject3$6, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
43199
+ var _templateObject$9, _templateObject2$9, _templateObject3$7, _templateObject4$5, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
43200
43200
  var CONFETTI_COUNT = 44;
43201
43201
  var CONFETTI_LIFETIME_MS = 4500;
43202
43202
  /**
@@ -43319,8 +43319,8 @@
43319
43319
  };
43320
43320
  var fadeIn$1 = keyframes(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
43321
43321
  var popCheck = keyframes(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n to { transform: scale(1); opacity: 1; }\n"])));
43322
- var drawTick = keyframes(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
43323
- var confettiFall = keyframes(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
43322
+ var drawTick = keyframes(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
43323
+ var confettiFall = keyframes(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
43324
43324
  // Light surface whatever the theme says — see RingFailureScreen's FailureInner
43325
43325
  // for why the foreground is pinned rather than read from the theme.
43326
43326
  var SuccessInner$1 = styled(LoadingOverlayInner)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n overflow: hidden;\n"])), function (props) {
@@ -43340,7 +43340,7 @@
43340
43340
  var StatChip = styled.div(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteralLoose(["\n background: #ffffff;\n border: 1px solid rgb(0 0 0 / 0.08);\n border-radius: 12px;\n padding: 9px 14px;\n font-size: 11.5px;\n opacity: 0.9;\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n b {\n font-size: 14px;\n }\n"])));
43341
43341
  var ConfettiPiece = styled.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 9px;\n height: 14px;\n top: -20px;\n opacity: 0.95;\n z-index: 5;\n animation-name: ", ";\n animation-timing-function: linear;\n animation-fill-mode: forwards;\n\n @media (prefers-reduced-motion: reduce) {\n display: none;\n }\n"])), confettiFall);
43342
43342
 
43343
- var _templateObject$8, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$2, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1;
43343
+ var _templateObject$8, _templateObject2$8, _templateObject3$6, _templateObject4$4, _templateObject5$2, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1;
43344
43344
  var toDataUrl$2 = function toDataUrl(value) {
43345
43345
  return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
43346
43346
  };
@@ -43530,10 +43530,10 @@
43530
43530
  // loading overlay, and inheriting it painted white text on this white surface:
43531
43531
  // the tips panel (`rgb(255 255 255 / 0.62)`) went fully invisible. Same rule,
43532
43532
  // and the same reason, as `ErrorScreen`'s `ErrorCard`.
43533
- var FailureInner = styled(LoadingOverlayInner)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n overflow-y: auto;\n"])), function (props) {
43533
+ var FailureInner = styled(LoadingOverlayInner)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n overflow-y: auto;\n"])), function (props) {
43534
43534
  return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
43535
43535
  });
43536
- var FailureLayout = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n position: relative;\n min-height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 12px;\n padding: 34px;\n text-align: center;\n\n @media (max-height: 650px) {\n justify-content: flex-start;\n gap: 9px;\n padding-top: 24px;\n padding-bottom: 24px;\n }\n"])));
43536
+ var FailureLayout = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n position: relative;\n min-height: 100%;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 12px;\n padding: 34px;\n text-align: center;\n\n @media (max-height: 650px) {\n justify-content: flex-start;\n gap: 9px;\n padding-top: 24px;\n padding-bottom: 24px;\n }\n"])));
43537
43537
  var VisualSlot = styled.div(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteralLoose(["\n min-height: 120px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 6px;\n animation: ", " 420ms cubic-bezier(0.2, 0, 0, 1) both;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n\n @media (max-height: 650px) {\n min-height: 88px;\n margin-bottom: 0;\n }\n"])), markIn);
43538
43538
  var SelfieThumb$1 = styled.div(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 96px;\n height: 120px;\n border-radius: 16px;\n box-shadow:\n 0 0 0 1px rgb(0 0 0 / 0.08),\n 0 12px 30px rgb(0 0 0 / 0.18);\n\n @media (max-height: 650px) {\n width: 70px;\n height: 88px;\n }\n\n img {\n width: 100%;\n height: 100%;\n display: block;\n object-fit: cover;\n border-radius: inherit;\n outline: 1px solid rgb(255 255 255 / 0.22);\n outline-offset: -1px;\n }\n"])));
43539
43539
  var ThumbStatus = styled.div(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 6px;\n bottom: 6px;\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: ", ";\n color: #ffffff;\n box-shadow:\n 0 0 0 3px rgb(255 255 255 / 0.9),\n 0 4px 10px rgb(0 0 0 / 0.2);\n\n svg {\n width: 17px;\n height: 17px;\n fill: currentColor;\n stroke: currentColor;\n stroke-width: 2.25;\n stroke-linecap: round;\n }\n"])), function (props) {
@@ -43565,7 +43565,7 @@
43565
43565
  });
43566
43566
  var SecondaryAction = styled(LoaderButton)(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\n && {\n min-height: 44px;\n border: none;\n border-radius: 22px;\n padding: 10px 22px;\n background-color: transparent;\n color: #26312e;\n font-size: 14px;\n font-weight: 600;\n opacity: 0.7;\n box-shadow: none;\n transition-property: transform, opacity, background-color;\n transition-duration: 150ms;\n transition-timing-function: ease-out;\n\n &:hover:not(.disabled) {\n opacity: 1;\n background-color: rgb(255 255 255 / 0.45);\n }\n\n &:active:not(.disabled) {\n transform: scale(0.96);\n }\n\n &:focus-visible {\n outline: none;\n opacity: 1;\n box-shadow: 0 0 0 3px rgb(0 0 0 / 0.09);\n }\n\n @media (prefers-reduced-motion: reduce) {\n &:hover:not(.disabled),\n &:active:not(.disabled) {\n transform: none;\n }\n }\n }\n"])));
43567
43567
 
43568
- var _templateObject$7, _templateObject2$7, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
43568
+ var _templateObject$7, _templateObject2$7, _templateObject3$5, _templateObject4$3, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
43569
43569
  var toDataUrl$1 = function toDataUrl(value) {
43570
43570
  return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
43571
43571
  };
@@ -43675,10 +43675,10 @@
43675
43675
  var spin = keyframes(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n to { transform: rotate(360deg); }\n"])));
43676
43676
  // Light surface whatever the theme says — see RingFailureScreen's FailureInner
43677
43677
  // for why the foreground is pinned rather than read from the theme.
43678
- var FinishingInner = styled(LoadingOverlayInner)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
43678
+ var FinishingInner = styled(LoadingOverlayInner)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
43679
43679
  return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
43680
43680
  }, fadeIn);
43681
- var FinishingLayout = styled.div(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 16px;\n padding: 34px;\n text-align: center;\n"])));
43681
+ var FinishingLayout = styled.div(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 16px;\n padding: 34px;\n text-align: center;\n"])));
43682
43682
  var SelfieThumb = styled.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 96px;\n height: 120px;\n border-radius: 16px;\n background-size: cover;\n background-position: center;\n box-shadow: 0 12px 30px rgb(0 0 0 / 0.25);\n"])));
43683
43683
  var ThumbBadge = styled.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 6px;\n right: 6px;\n width: 26px;\n height: 26px;\n border-radius: 50%;\n background: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n color: #ffffff;\n font-size: 13px;\n box-shadow: 0 3px 8px rgb(0 0 0 / 0.3);\n"])), function (props) {
43684
43684
  return props.$accent;
@@ -43725,7 +43725,7 @@
43725
43725
  return flowStartedAt === null ? null : Date.now() - flowStartedAt;
43726
43726
  };
43727
43727
 
43728
- var _templateObject$6, _templateObject2$6, _templateObject3$3;
43728
+ var _templateObject$6, _templateObject2$6, _templateObject3$4;
43729
43729
  var DEFAULT_HEADING$1 = {
43730
43730
  identification: 'Customer has been identified!',
43731
43731
  verification: 'Customer has been verified!'
@@ -43784,9 +43784,9 @@
43784
43784
  }
43785
43785
  var Heading$1 = styled.h3(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
43786
43786
  var ImageContainer$1 = styled(ButtonsRow$2)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
43787
- var StyledButtonsRow$1 = styled(ButtonsRow$2)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
43787
+ var StyledButtonsRow$1 = styled(ButtonsRow$2)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
43788
43788
 
43789
- var _templateObject$5, _templateObject2$5, _templateObject3$2;
43789
+ var _templateObject$5, _templateObject2$5, _templateObject3$3;
43790
43790
  var DEFAULT_HEADING = {
43791
43791
  identification: 'Customer not found',
43792
43792
  verification: 'Customer not verified'
@@ -43848,7 +43848,7 @@
43848
43848
  }
43849
43849
  var Heading = styled.h3(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
43850
43850
  var ImageContainer = styled(ButtonsRow$2)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
43851
- var StyledButtonsRow = styled(ButtonsRow$2)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
43851
+ var StyledButtonsRow = styled(ButtonsRow$2)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
43852
43852
 
43853
43853
  var SubmissionContext = /*#__PURE__*/React.createContext(null);
43854
43854
  var EMPTY_SUBMISSION_OPTIONS = {};
@@ -44240,7 +44240,7 @@
44240
44240
  return elements;
44241
44241
  };
44242
44242
 
44243
- var _templateObject$4, _templateObject2$4, _templateObject3$1, _templateObject4$1, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
44243
+ var _templateObject$4, _templateObject2$4, _templateObject3$2, _templateObject4$2, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
44244
44244
  function _createForOfIteratorHelperLoose$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
44245
44245
  function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$f(r, a) : void 0; } }
44246
44246
  function _arrayLikeToArray$f(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -44807,8 +44807,8 @@
44807
44807
  }
44808
44808
  var SuccessInner = styled(OverlayInner$2)(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n max-width: 900px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 40px;\n text-align: left;\n"])));
44809
44809
  var Header = styled.header(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n"])));
44810
- var Eyebrow = styled.p(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n margin: 0 0 6px;\n color: #277553;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n"])));
44811
- var TimingGrid = styled.dl(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
44810
+ var Eyebrow = styled.p(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin: 0 0 6px;\n color: #277553;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n"])));
44811
+ var TimingGrid = styled.dl(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
44812
44812
  var TimingCard = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n padding: 14px;\n border: 1px solid #d9e2dc;\n border-radius: 8px;\n\n dt {\n color: #62706a;\n font-size: 0.75rem;\n }\n\n dd {\n margin: 6px 0 0;\n font-variant-numeric: tabular-nums;\n font-weight: 700;\n }\n"])));
44813
44813
  var UploadSubheader = styled.h4(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n margin: 20px 0 8px;\n font-size: 0.8125rem;\n"])));
44814
44814
  var UploadList = styled.dl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n margin: 0 0 24px;\n"])));
@@ -46692,8 +46692,8 @@
46692
46692
  return null;
46693
46693
  }
46694
46694
 
46695
- var _templateObject$2, _templateObject2$2;
46696
- var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "children"];
46695
+ var _templateObject$2, _templateObject2$2, _templateObject3$1, _templateObject4$1;
46696
+ var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "showEnrollmentId", "children"];
46697
46697
  function FlowChassis(_ref) {
46698
46698
  var client = _ref.client,
46699
46699
  action = _ref.action,
@@ -46708,6 +46708,8 @@
46708
46708
  captureProgress = _ref.captureProgress,
46709
46709
  remoteDiagnostics = _ref.remoteDiagnostics,
46710
46710
  loadingSpinner = _ref.loadingSpinner,
46711
+ _ref$showEnrollmentId = _ref.showEnrollmentId,
46712
+ showEnrollmentId = _ref$showEnrollmentId === void 0 ? false : _ref$showEnrollmentId,
46711
46713
  children = _ref.children,
46712
46714
  callbacks = _objectWithoutPropertiesLoose(_ref, _excluded$9);
46713
46715
  var geolocation = useGeolocation(geolocationEnabled);
@@ -46729,6 +46731,7 @@
46729
46731
  }, callbacks, {
46730
46732
  children: jsx(FlowPage, {
46731
46733
  className: className,
46734
+ enrollmentId: showEnrollmentId ? submission == null ? void 0 : submission.enrollmentId : undefined,
46732
46735
  children: jsx(AuthGate, {
46733
46736
  children: geolocationRequired && geolocation.blocked ? jsx(GeolocationAccessDeniedOverlay, {
46734
46737
  onRetry: geolocation.retry
@@ -46789,23 +46792,35 @@
46789
46792
  /**
46790
46793
  * The flow's page surface: `theme.header` and `theme.footer` (2.x's
46791
46794
  * SdkPage.tsx:41) frame a body that takes the remaining height and is the
46792
- * positioned ancestor every flow stage lays out against.
46795
+ * positioned ancestor every flow stage lays out against. The debug
46796
+ * enrollment-ID banner sits outside that body, so stages and their in-body
46797
+ * overlays lay out below it instead of over it.
46793
46798
  */
46794
46799
  function FlowPage(_ref3) {
46795
46800
  var className = _ref3.className,
46801
+ enrollmentId = _ref3.enrollmentId,
46796
46802
  children = _ref3.children;
46797
46803
  var _useTheme = useTheme(),
46798
46804
  Header = _useTheme.header,
46799
46805
  Footer = _useTheme.footer;
46800
46806
  return jsxs(FlowPageOuter, {
46801
46807
  className: className,
46802
- children: [Header && jsx(Header, {}), jsx(FlowPageBody, {
46808
+ children: [Header && jsx(Header, {}), enrollmentId && jsxs(EnrollmentIdBanner, {
46809
+ "data-testid": "idmission-debug-enrollment-id",
46810
+ children: ["Enrollment ID: ", jsx(EnrollmentIdValue, {
46811
+ children: enrollmentId
46812
+ })]
46813
+ }), jsx(FlowPageBody, {
46803
46814
  children: children
46804
46815
  }), Footer && jsx(Footer, {})]
46805
46816
  });
46806
46817
  }
46807
- var FlowPageBody = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
46808
- var FlowPageOuter = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 320px;\n overflow: hidden;\n isolation: isolate;\n background: ", ";\n ", "\n ", "\n"])), function (props) {
46818
+ // Debug-only chrome, so it ignores the theme on purpose: it has to read the
46819
+ // same on every customer skin.
46820
+ var EnrollmentIdBanner = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n flex: none;\n padding: 6px 12px;\n font: 600 14px/1.3 monospace;\n text-align: center;\n color: #000;\n background: #facc15;\n overflow-wrap: anywhere;\n"])));
46821
+ var EnrollmentIdValue = styled.span(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n user-select: all;\n"])));
46822
+ var FlowPageBody = styled.div(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
46823
+ var FlowPageOuter = styled.div(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 320px;\n overflow: hidden;\n isolation: isolate;\n background: ", ";\n ", "\n ", "\n"])), function (props) {
46809
46824
  var _props$theme$backgrou;
46810
46825
  return (_props$theme$backgrou = props.theme.background) != null ? _props$theme$backgrou : '#fff';
46811
46826
  }, function (props) {
@@ -51315,6 +51330,7 @@
51315
51330
  client: client,
51316
51331
  action: SubmissionAction.ENROLL,
51317
51332
  submission: submission,
51333
+ showEnrollmentId: showDiagnostics,
51318
51334
  theme: theme,
51319
51335
  className: className
51320
51336
  }, callbacks, {
@@ -51596,6 +51612,7 @@
51596
51612
  client: client,
51597
51613
  action: SubmissionAction.ENROLL,
51598
51614
  submission: submission,
51615
+ showEnrollmentId: showDiagnostics,
51599
51616
  theme: theme,
51600
51617
  className: className
51601
51618
  }, callbacks, {
@@ -54993,7 +55010,7 @@
54993
55010
  });
54994
55011
  }
54995
55012
 
54996
- var webSdkVersion = '2.6.3-changeset-release-develop-8c2f951';
55013
+ var webSdkVersion = '2.6.3-changeset-release-develop-c045c91';
54997
55014
 
54998
55015
  // GENERATED by scripts/styleBagTypes.mjs from
54999
55016
  // src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not