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.
- package/dist/index.d.ts +1 -1
- package/dist/props.json +1 -1
- package/dist/sdk2.cjs.development.js +141 -124
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +141 -124
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +141 -124
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ var ReactDOM__default = /*#__PURE__*/_interopDefaultCompat(ReactDOM);
|
|
|
29
29
|
|
|
30
30
|
// Extracted from the barrel so modules inside this package can read the
|
|
31
31
|
// version without importing index.ts (which would be circular).
|
|
32
|
-
var webSdkUiVersion = '0.5.
|
|
32
|
+
var webSdkUiVersion = '0.5.1';
|
|
33
33
|
|
|
34
34
|
function asyncGeneratorStep(n, t, e, r, o, a, c) {
|
|
35
35
|
try {
|
|
@@ -495,7 +495,7 @@ function _toConsumableArray(r) {
|
|
|
495
495
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray$v(r) || _nonIterableSpread();
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
var webSdkCoreVersion = '0.5.
|
|
498
|
+
var webSdkCoreVersion = '0.5.1';
|
|
499
499
|
|
|
500
500
|
var maxTime = 86400000;
|
|
501
501
|
var maxCount = 1000000;
|
|
@@ -7799,7 +7799,7 @@ function ScalingCameraFeed(_ref2) {
|
|
|
7799
7799
|
});
|
|
7800
7800
|
}
|
|
7801
7801
|
|
|
7802
|
-
var _templateObject$_, _templateObject2$Q, _templateObject3$
|
|
7802
|
+
var _templateObject$_, _templateObject2$Q, _templateObject3$E, _templateObject4$z, _templateObject5$t, _templateObject6$l;
|
|
7803
7803
|
function _createForOfIteratorHelperLoose$r(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$r(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."); }
|
|
7804
7804
|
function _unsupportedIterableToArray$r(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$r(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$r(r, a) : void 0; } }
|
|
7805
7805
|
function _arrayLikeToArray$r(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; }
|
|
@@ -7826,7 +7826,7 @@ var ObjectDetectionDebugOverlayDiv = styledComponents.styled.div(_templateObject
|
|
|
7826
7826
|
var $flipX = _ref3.$flipX;
|
|
7827
7827
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
7828
7828
|
});
|
|
7829
|
-
var ObjectDetectionDebugBox = styledComponents.styled.div(_templateObject3$
|
|
7829
|
+
var ObjectDetectionDebugBox = styledComponents.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) {
|
|
7830
7830
|
var $color = _ref4.$color;
|
|
7831
7831
|
return $color != null ? $color : 'green';
|
|
7832
7832
|
}, function (_ref5) {
|
|
@@ -7837,7 +7837,7 @@ var ObjectDetectionDebugBox = styledComponents.styled.div(_templateObject3$D ||
|
|
|
7837
7837
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
7838
7838
|
});
|
|
7839
7839
|
var darkColors = new Set(['blue', 'darkblue', 'navy', 'darkgreen', 'purple', 'maroon', 'black', 'darkred', 'indigo']);
|
|
7840
|
-
var ObjectDetectionDebugLabel = styledComponents.styled.span(_templateObject4$
|
|
7840
|
+
var ObjectDetectionDebugLabel = styledComponents.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) {
|
|
7841
7841
|
var $color = _ref7.$color;
|
|
7842
7842
|
return $color != null ? $color : 'green';
|
|
7843
7843
|
}, function (_ref8) {
|
|
@@ -8363,13 +8363,13 @@ var PlacedGuidanceMessageContainer = function PlacedGuidanceMessageContainer(_re
|
|
|
8363
8363
|
});
|
|
8364
8364
|
};
|
|
8365
8365
|
|
|
8366
|
-
var _templateObject$V, _templateObject2$N, _templateObject3$
|
|
8366
|
+
var _templateObject$V, _templateObject2$N, _templateObject3$D, _templateObject4$y;
|
|
8367
8367
|
var wavesAnimation = styledComponents.keyframes(_templateObject$V || (_templateObject$V = _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"])));
|
|
8368
8368
|
var progressBarAnimation = styledComponents.keyframes(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
|
|
8369
|
-
styledComponents.keyframes(_templateObject3$
|
|
8370
|
-
styledComponents.keyframes(_templateObject4$
|
|
8369
|
+
styledComponents.keyframes(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
8370
|
+
styledComponents.keyframes(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
|
|
8371
8371
|
|
|
8372
|
-
var _templateObject$U, _templateObject2$M, _templateObject3$
|
|
8372
|
+
var _templateObject$U, _templateObject2$M, _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;
|
|
8373
8373
|
var OverlayContainer = styledComponents.styled.div(_templateObject$U || (_templateObject$U = _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) {
|
|
8374
8374
|
return props.theme.background ? "" + props.theme.background : "white";
|
|
8375
8375
|
}, function (props) {
|
|
@@ -8381,8 +8381,8 @@ var OverlayInner$2 = styledComponents.styled.div(_templateObject2$M || (_templat
|
|
|
8381
8381
|
}, function (props) {
|
|
8382
8382
|
return props.theme.padding ? "box-sizing: border-box; padding: " + props.theme.padding + ";" : "";
|
|
8383
8383
|
});
|
|
8384
|
-
var OverlayImageContainer = styledComponents.styled.div(_templateObject3$
|
|
8385
|
-
var OverlayImageRow = styledComponents.styled.div(_templateObject4$
|
|
8384
|
+
var OverlayImageContainer = styledComponents.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"])));
|
|
8385
|
+
var OverlayImageRow = styledComponents.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"])));
|
|
8386
8386
|
/**
|
|
8387
8387
|
* The review screens' background. Exported so a surface that must MATCH it —
|
|
8388
8388
|
* the browser-chrome tint in `BrowserEdgeTint` — reads the same value rather
|
|
@@ -8545,7 +8545,7 @@ var error = function error() {
|
|
|
8545
8545
|
|
|
8546
8546
|
var _excluded$g = ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress", "guideBoxDisabled"],
|
|
8547
8547
|
_excluded2$5 = ["borderRadius", "borderColor", "borderWidth", "borderOpacity", "progress", "isProgressBar", "scaleBorderRadius"];
|
|
8548
|
-
var _templateObject$T, _templateObject2$L, _templateObject3$
|
|
8548
|
+
var _templateObject$T, _templateObject2$L, _templateObject3$B, _templateObject4$w, _templateObject5$r, _templateObject6$j, _templateObject7$g;
|
|
8549
8549
|
var IdCardGuideImageContainer = styledComponents.styled(IdCardBorder)(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n ", ";\n"])), function (props) {
|
|
8550
8550
|
return props.$isVisible ? '' : 'opacity: 0;';
|
|
8551
8551
|
}, function (props) {
|
|
@@ -8713,8 +8713,8 @@ function IdCardBorderSvg(_ref2) {
|
|
|
8713
8713
|
})]
|
|
8714
8714
|
}));
|
|
8715
8715
|
}
|
|
8716
|
-
var IdCardBorderContainer = styledComponents.styled.div(_templateObject3$
|
|
8717
|
-
var IdCardBorderInner = styledComponents.styled.div(_templateObject4$
|
|
8716
|
+
var IdCardBorderContainer = styledComponents.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);
|
|
8717
|
+
var IdCardBorderInner = styledComponents.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"])));
|
|
8718
8718
|
var SvgOverlay = styledComponents.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"])));
|
|
8719
8719
|
var IdCardBorderRect = styledComponents.styled.rect(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n &.idmSdkProgressBorder {\n transition: stroke-dashoffset 0.3s ease-out;\n }\n"])));
|
|
8720
8720
|
// Ported dep (sdk2's video_id/IdVideoCaptureFlipIdPrompt.tsx:136-148 —
|
|
@@ -8943,7 +8943,7 @@ var Wrapper$1 = styledComponents.styled.div(_templateObject$S || (_templateObjec
|
|
|
8943
8943
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
8944
8944
|
});
|
|
8945
8945
|
|
|
8946
|
-
var _templateObject$R, _templateObject2$K, _templateObject3$
|
|
8946
|
+
var _templateObject$R, _templateObject2$K, _templateObject3$A, _templateObject4$v, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
|
|
8947
8947
|
var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_ref) {
|
|
8948
8948
|
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;
|
|
8949
8949
|
var _ref$classNames = _ref.classNames,
|
|
@@ -9101,8 +9101,8 @@ var regionClsx = function regionClsx(classNames, which) {
|
|
|
9101
9101
|
};
|
|
9102
9102
|
var StyledPageContainer = styledComponents.styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1000;\n overflow: hidden;\n"])));
|
|
9103
9103
|
var GuidesContainer = styledComponents.styled.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n"])));
|
|
9104
|
-
var GuideCenterRow = styledComponents.styled.div(_templateObject3$
|
|
9105
|
-
var GuideRegion = styledComponents.styled.div(_templateObject4$
|
|
9104
|
+
var GuideCenterRow = styledComponents.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"])));
|
|
9105
|
+
var GuideRegion = styledComponents.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) {
|
|
9106
9106
|
var _ref2, _props$$maskColor, _props$theme;
|
|
9107
9107
|
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;
|
|
9108
9108
|
}, function (props) {
|
|
@@ -9132,7 +9132,7 @@ var GuideCenterInner = styledComponents.styled.div(_templateObject9$c || (_templ
|
|
|
9132
9132
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
9133
9133
|
var OVERLAY_GUIDE_MASK_DEFAULT = 'rgba(0, 0, 0, 0.5)';
|
|
9134
9134
|
|
|
9135
|
-
var _templateObject$Q, _templateObject2$J, _templateObject3$
|
|
9135
|
+
var _templateObject$Q, _templateObject2$J, _templateObject3$z, _templateObject4$u;
|
|
9136
9136
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
|
|
9137
9137
|
var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid5, _theme$idCapture5, _theme$idCapture$guid6, _theme$idCapture6, _theme$idCapture$guid7, _theme$idCapture7;
|
|
9138
9138
|
var aspectRatio = _ref.aspectRatio,
|
|
@@ -9373,7 +9373,7 @@ var CanvasWrapper$1 = styledComponents.styled.div(_templateObject$Q || (_templat
|
|
|
9373
9373
|
return props.$aboveCameraFeed ? "z-index: 1;" : "box-shadow: inset 0 0 0 2px " + props.$maskColor + ";\n z-index: -1;";
|
|
9374
9374
|
});
|
|
9375
9375
|
var Canvas$2 = styledComponents.styled.canvas(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
9376
|
-
var CaptureAreaProgress = styledComponents.styled.div(_templateObject3$
|
|
9376
|
+
var CaptureAreaProgress = styledComponents.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) {
|
|
9377
9377
|
return props.$x;
|
|
9378
9378
|
}, function (props) {
|
|
9379
9379
|
return props.$y;
|
|
@@ -9382,7 +9382,7 @@ var CaptureAreaProgress = styledComponents.styled.div(_templateObject3$y || (_te
|
|
|
9382
9382
|
}, function (props) {
|
|
9383
9383
|
return props.$height;
|
|
9384
9384
|
});
|
|
9385
|
-
var GuideBoxLayer = styledComponents.styled(CaptureAreaProgress)(_templateObject4$
|
|
9385
|
+
var GuideBoxLayer = styledComponents.styled(CaptureAreaProgress)(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n z-index: 1000;\n"])));
|
|
9386
9386
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
9387
9387
|
var FIT_GUIDE_MASK_DEFAULT = '#708090';
|
|
9388
9388
|
|
|
@@ -9451,7 +9451,7 @@ var ExitCaptureButton = function ExitCaptureButton(_ref) {
|
|
|
9451
9451
|
});
|
|
9452
9452
|
};
|
|
9453
9453
|
|
|
9454
|
-
var _templateObject$O, _templateObject2$I, _templateObject3$
|
|
9454
|
+
var _templateObject$O, _templateObject2$I, _templateObject3$y, _templateObject4$t;
|
|
9455
9455
|
function IdCaptureLoadingGraphic(props) {
|
|
9456
9456
|
var isMobile = window.innerHeight > window.innerWidth;
|
|
9457
9457
|
return isMobile ? jsxRuntime.jsx(IdCaptureLoadingGraphicMobile, _extends({}, props)) : jsxRuntime.jsx(IdCaptureLoadingGraphicDesktop, _extends({}, props));
|
|
@@ -9956,10 +9956,10 @@ var LoadingGraphicSvg = styledComponents.styled.svg(_templateObject2$I || (_temp
|
|
|
9956
9956
|
}, function (props) {
|
|
9957
9957
|
return props.$borderColor;
|
|
9958
9958
|
});
|
|
9959
|
-
var LoadingGraphicCardGroup = styledComponents.styled.g(_templateObject3$
|
|
9959
|
+
var LoadingGraphicCardGroup = styledComponents.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) {
|
|
9960
9960
|
return props.$offScreen ? '-500px' : '0';
|
|
9961
9961
|
});
|
|
9962
|
-
var LoadingGraphicPhoneGroup = styledComponents.styled.g(_templateObject4$
|
|
9962
|
+
var LoadingGraphicPhoneGroup = styledComponents.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) {
|
|
9963
9963
|
return props.$offScreen ? '40px' : '0';
|
|
9964
9964
|
});
|
|
9965
9965
|
|
|
@@ -10217,7 +10217,7 @@ function CustomerLoadingSpinner(_ref2) {
|
|
|
10217
10217
|
// parent's gap/padding, which would offset the fallback it sits next to.
|
|
10218
10218
|
var SpinnerSlot = styledComponents.styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n &:empty {\n display: contents;\n }\n"])));
|
|
10219
10219
|
|
|
10220
|
-
var _templateObject$M, _templateObject2$H, _templateObject3$
|
|
10220
|
+
var _templateObject$M, _templateObject2$H, _templateObject3$x, _templateObject4$s, _templateObject5$p;
|
|
10221
10221
|
var legacyInstructionImageUrl$1 = DEFAULT_CDN_URL$1 + "/WebSDK-Instruction-DL-Capture-3-Portrait.png";
|
|
10222
10222
|
// Module-level so the default `now` prop has a stable identity across
|
|
10223
10223
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -10420,14 +10420,14 @@ var ButtonsRow$1 = styledComponents.styled(LoadingOverlayButtonsRow)(_templateOb
|
|
|
10420
10420
|
var _props$theme4, _props$theme5;
|
|
10421
10421
|
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) + ";" : '';
|
|
10422
10422
|
});
|
|
10423
|
-
var ProgressBarBackground$1 = styledComponents.styled(LoadingOverlayProgressBarBackground)(_templateObject3$
|
|
10423
|
+
var ProgressBarBackground$1 = styledComponents.styled(LoadingOverlayProgressBarBackground)(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
10424
10424
|
var _props$theme$idCaptur4, _props$theme6;
|
|
10425
10425
|
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;
|
|
10426
10426
|
}, function (props) {
|
|
10427
10427
|
var _props$theme$idCaptur5, _props$theme7;
|
|
10428
10428
|
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;
|
|
10429
10429
|
});
|
|
10430
|
-
var ProgressIndicator$1 = styledComponents.styled(LoadingOverlayProgressIndicator)(_templateObject4$
|
|
10430
|
+
var ProgressIndicator$1 = styledComponents.styled(LoadingOverlayProgressIndicator)(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
|
|
10431
10431
|
var _props$theme$idCaptur6, _props$theme8;
|
|
10432
10432
|
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;
|
|
10433
10433
|
});
|
|
@@ -19072,7 +19072,7 @@ function instructionVerbiage(bag, code) {
|
|
|
19072
19072
|
return bag == null ? void 0 : bag[instructionVerbiageKeys[code]];
|
|
19073
19073
|
}
|
|
19074
19074
|
|
|
19075
|
-
var _templateObject$L, _templateObject2$G, _templateObject3$
|
|
19075
|
+
var _templateObject$L, _templateObject2$G, _templateObject3$w, _templateObject4$r, _templateObject5$o;
|
|
19076
19076
|
var PDF417_ASPECT_RATIO = 3 / 1;
|
|
19077
19077
|
function BarcodeGuideOverlay(_ref) {
|
|
19078
19078
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
@@ -19204,15 +19204,15 @@ function BarcodeGuideOverlay(_ref) {
|
|
|
19204
19204
|
}
|
|
19205
19205
|
var Wrapper = styledComponents.styled.div(_templateObject$L || (_templateObject$L = _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"])));
|
|
19206
19206
|
var Canvas$1 = styledComponents.styled.canvas(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
19207
|
-
var TextOverlay = styledComponents.styled.div(_templateObject3$
|
|
19208
|
-
var HeaderText = styledComponents.styled.div(_templateObject4$
|
|
19207
|
+
var TextOverlay = styledComponents.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"])));
|
|
19208
|
+
var HeaderText = styledComponents.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"])));
|
|
19209
19209
|
var InstructionText = styledComponents.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"])));
|
|
19210
19210
|
|
|
19211
|
-
var _templateObject$K, _templateObject2$F, _templateObject3$
|
|
19211
|
+
var _templateObject$K, _templateObject2$F, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$h;
|
|
19212
19212
|
var scaleIn = styledComponents.keyframes(_templateObject$K || (_templateObject$K = _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"])));
|
|
19213
19213
|
var drawCheck = styledComponents.keyframes(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n 0% {\n stroke-dashoffset: 24;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n"])));
|
|
19214
|
-
styledComponents.styled.div(_templateObject3$
|
|
19215
|
-
styledComponents.styled.div(_templateObject4$
|
|
19214
|
+
styledComponents.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"])));
|
|
19215
|
+
styledComponents.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) {
|
|
19216
19216
|
return props.$color;
|
|
19217
19217
|
}, scaleIn);
|
|
19218
19218
|
styledComponents.styled.svg(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n width: 48px;\n height: 48px;\n"])));
|
|
@@ -19310,7 +19310,7 @@ function IdCaptureGuides(_ref) {
|
|
|
19310
19310
|
});
|
|
19311
19311
|
}
|
|
19312
19312
|
|
|
19313
|
-
var _templateObject$J, _templateObject2$E, _templateObject3$
|
|
19313
|
+
var _templateObject$J, _templateObject2$E, _templateObject3$u, _templateObject4$p, _templateObject5$m;
|
|
19314
19314
|
function OverrideWrongDocumentTypeDialog(_ref) {
|
|
19315
19315
|
var visible = _ref.visible,
|
|
19316
19316
|
onOverride = _ref.onOverride,
|
|
@@ -19350,8 +19350,8 @@ var Container$3 = styledComponents.styled.div(_templateObject$J || (_templateObj
|
|
|
19350
19350
|
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';
|
|
19351
19351
|
});
|
|
19352
19352
|
var InnerContainer = styledComponents.styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
|
|
19353
|
-
var Message = styledComponents.styled.span(_templateObject3$
|
|
19354
|
-
var ButtonContainer = styledComponents.styled.div(_templateObject4$
|
|
19353
|
+
var Message = styledComponents.styled.span(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
|
|
19354
|
+
var ButtonContainer = styledComponents.styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
|
|
19355
19355
|
var Button = styledComponents.styled(LoaderButton)(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n margin: auto;\n"])));
|
|
19356
19356
|
|
|
19357
19357
|
var IdCaptureLoadingOverlayLegacy = function IdCaptureLoadingOverlayLegacy(_ref) {
|
|
@@ -19520,7 +19520,7 @@ var selectRingStatusKey = function selectRingStatusKey(_ref) {
|
|
|
19520
19520
|
return 'warming';
|
|
19521
19521
|
};
|
|
19522
19522
|
|
|
19523
|
-
var _templateObject$H, _templateObject2$C, _templateObject3$
|
|
19523
|
+
var _templateObject$H, _templateObject2$C, _templateObject3$t, _templateObject4$o, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9;
|
|
19524
19524
|
/**
|
|
19525
19525
|
* The ring overlay's priming cover page (CEO prototype `#v-prime`): camera
|
|
19526
19526
|
* badge, title/subtitle, step chips, reassurance chip, "Enable camera &
|
|
@@ -19600,12 +19600,12 @@ var RingIntroScreen = function RingIntroScreen(_ref) {
|
|
|
19600
19600
|
};
|
|
19601
19601
|
var _float = styledComponents.keyframes(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-7px); }\n"])));
|
|
19602
19602
|
var IntroLayout = styledComponents.styled.div(_templateObject2$C || (_templateObject2$C = _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"])));
|
|
19603
|
-
var Badge = styledComponents.styled.div(_templateObject3$
|
|
19603
|
+
var Badge = styledComponents.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) {
|
|
19604
19604
|
return props.$color;
|
|
19605
19605
|
}, function (props) {
|
|
19606
19606
|
return props.$color;
|
|
19607
19607
|
}, _float);
|
|
19608
|
-
var Title$4 = styledComponents.styled.div(_templateObject4$
|
|
19608
|
+
var Title$4 = styledComponents.styled.div(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteralLoose(["\n font-size: 22px;\n font-weight: 700;\n"])));
|
|
19609
19609
|
var Subtitle$3 = styledComponents.styled.div(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n opacity: 0.65;\n line-height: 1.5;\n"])));
|
|
19610
19610
|
var Steps = styledComponents.styled.div(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 26px;\n margin: 16px 0 6px;\n"])));
|
|
19611
19611
|
var Step = styledComponents.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"])));
|
|
@@ -19646,7 +19646,7 @@ var selectRingOverlayStage = function selectRingOverlayStage(_ref) {
|
|
|
19646
19646
|
return requesting ? 'requesting' : 'intro';
|
|
19647
19647
|
};
|
|
19648
19648
|
|
|
19649
|
-
var _templateObject$G, _templateObject2$B, _templateObject3$
|
|
19649
|
+
var _templateObject$G, _templateObject2$B, _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;
|
|
19650
19650
|
/** Minimum time a stage handoff stays on screen so its message is
|
|
19651
19651
|
* legible even when everything preloaded and readiness is instant. */
|
|
19652
19652
|
var STAGE_TRANSITION_HOLD_MS = 1600;
|
|
@@ -19707,8 +19707,8 @@ var RingStageTransition = function RingStageTransition(_ref) {
|
|
|
19707
19707
|
};
|
|
19708
19708
|
var badgePop = styledComponents.keyframes(_templateObject$G || (_templateObject$G = _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"])));
|
|
19709
19709
|
var cardFlip = styledComponents.keyframes(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n from { transform: rotateY(0deg); }\n to { transform: rotateY(180deg); }\n"])));
|
|
19710
|
-
var microcopyBeat = styledComponents.keyframes(_templateObject3$
|
|
19711
|
-
var rise = styledComponents.keyframes(_templateObject4$
|
|
19710
|
+
var microcopyBeat = styledComponents.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"])));
|
|
19711
|
+
var rise = styledComponents.keyframes(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
|
|
19712
19712
|
var riseSubtle = styledComponents.keyframes(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 0.65; transform: translateY(0); }\n"])));
|
|
19713
19713
|
var TransitionLayout = styledComponents.styled.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 14px;\n"])));
|
|
19714
19714
|
/* The drop shadow lives on the static parent: filter on the flipping card
|
|
@@ -19737,7 +19737,7 @@ var LoadingRow = styledComponents.styled.div(_templateObject15$4 || (_templateOb
|
|
|
19737
19737
|
return props.$visible ? 1 : 0;
|
|
19738
19738
|
});
|
|
19739
19739
|
|
|
19740
|
-
var _templateObject$F, _templateObject2$A, _templateObject3$
|
|
19740
|
+
var _templateObject$F, _templateObject2$A, _templateObject3$r, _templateObject4$m, _templateObject5$j, _templateObject6$e, _templateObject7$c;
|
|
19741
19741
|
// Module-level so the default `now` prop has a stable identity across
|
|
19742
19742
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
19743
19743
|
var defaultNow$2 = function defaultNow() {
|
|
@@ -20020,9 +20020,9 @@ var RingOverlayInner$1 = styledComponents.styled(LoadingOverlayInner)(_templateO
|
|
|
20020
20020
|
var _props$theme$idCaptur2, _props$theme2;
|
|
20021
20021
|
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';
|
|
20022
20022
|
}, function (props) {
|
|
20023
|
-
return props.$softEntry ? styledComponents.css(_templateObject3$
|
|
20023
|
+
return props.$softEntry ? styledComponents.css(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn$1) : '';
|
|
20024
20024
|
});
|
|
20025
|
-
var RingLayout$1 = styledComponents.styled.div(_templateObject4$
|
|
20025
|
+
var RingLayout$1 = styledComponents.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"])));
|
|
20026
20026
|
var StatusLine$1 = styledComponents.styled.div(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
|
|
20027
20027
|
var SubText$1 = styledComponents.styled.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
|
|
20028
20028
|
var ContinueButton$2 = styledComponents.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) {
|
|
@@ -20120,7 +20120,7 @@ var _templateObject$E, _templateObject2$z;
|
|
|
20120
20120
|
var Card = styledComponents.styled.div(_templateObject$E || (_templateObject$E = _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"])));
|
|
20121
20121
|
var FlexCard = styledComponents.styled(Card)(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
|
|
20122
20122
|
|
|
20123
|
-
var _templateObject$D, _templateObject2$y, _templateObject3$
|
|
20123
|
+
var _templateObject$D, _templateObject2$y, _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;
|
|
20124
20124
|
function ReviewDocumentDiagnostics(_ref) {
|
|
20125
20125
|
var _document$detectionSc, _document$detectionSc2, _document$focusScore, _document$focusScore2;
|
|
20126
20126
|
var document = _ref.document,
|
|
@@ -20581,8 +20581,8 @@ function RotationAttemptRow(_ref3) {
|
|
|
20581
20581
|
}
|
|
20582
20582
|
var DebugInfoContainer = styledComponents.styled.div(_templateObject$D || (_templateObject$D = _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"])));
|
|
20583
20583
|
var DebugSection = styledComponents.styled.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n"])));
|
|
20584
|
-
var DebugLabel = styledComponents.styled.span(_templateObject3$
|
|
20585
|
-
var DebugValue = styledComponents.styled.span(_templateObject4$
|
|
20584
|
+
var DebugLabel = styledComponents.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"])));
|
|
20585
|
+
var DebugValue = styledComponents.styled.span(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
|
|
20586
20586
|
var ScoreBadge = styledComponents.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) {
|
|
20587
20587
|
var $score = _ref4.$score,
|
|
20588
20588
|
$type = _ref4.$type;
|
|
@@ -20695,7 +20695,7 @@ var DiagnosticsBadge = styledComponents.styled.span(_templateObject44 || (_templ
|
|
|
20695
20695
|
return $highlight ? '#004085' : $ok ? '#155724' : '#721c24';
|
|
20696
20696
|
});
|
|
20697
20697
|
|
|
20698
|
-
var _templateObject$C, _templateObject2$x, _templateObject3$
|
|
20698
|
+
var _templateObject$C, _templateObject2$x, _templateObject3$p, _templateObject4$k, _templateObject5$h;
|
|
20699
20699
|
var imageDisplayOrder = ['idCardFront', 'idCardBack', 'idBarcodeImage', 'passport', 'singlePage', 'idFrontIrImage', 'idBackIrImage', 'idFrontUvImage', 'idBackUvImage'];
|
|
20700
20700
|
var ReviewScreen = function ReviewScreen(_ref) {
|
|
20701
20701
|
var capturedDocuments = _ref.capturedDocuments,
|
|
@@ -20788,11 +20788,11 @@ var ReviewScreen = function ReviewScreen(_ref) {
|
|
|
20788
20788
|
};
|
|
20789
20789
|
var Heading$9 = styledComponents.styled.h1(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1.5rem;\n"])));
|
|
20790
20790
|
var ImagesContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
|
|
20791
|
-
var ImageRow = styledComponents.styled(OverlayImageRow)(_templateObject3$
|
|
20792
|
-
var ImageCol$1 = styledComponents.styled.div(_templateObject4$
|
|
20791
|
+
var ImageRow = styledComponents.styled(OverlayImageRow)(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
|
|
20792
|
+
var ImageCol$1 = styledComponents.styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
|
|
20793
20793
|
var StyledImage = styledComponents.styled(CapturedDocumentImg)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
20794
20794
|
|
|
20795
|
-
var _templateObject$B, _templateObject2$w, _templateObject3$
|
|
20795
|
+
var _templateObject$B, _templateObject2$w, _templateObject3$o, _templateObject4$j;
|
|
20796
20796
|
var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
20797
20797
|
var _assets$imageUrl, _classNames$container;
|
|
20798
20798
|
var onRetry = _ref.onRetry,
|
|
@@ -20853,10 +20853,10 @@ var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
|
20853
20853
|
};
|
|
20854
20854
|
var StyledOverlayInner$2 = styledComponents.styled(OverlayInner$2)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n max-width: 500px;\n height: auto;\n margin: auto;\n"])));
|
|
20855
20855
|
var StyledOverlayImageContainer = styledComponents.styled(OverlayImageContainer)(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n"])));
|
|
20856
|
-
var Description$3 = styledComponents.styled.p(_templateObject3$
|
|
20857
|
-
var RetryButton$1 = styledComponents.styled(LoaderButton)(_templateObject4$
|
|
20856
|
+
var Description$3 = styledComponents.styled.p(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
|
|
20857
|
+
var RetryButton$1 = styledComponents.styled(LoaderButton)(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
|
|
20858
20858
|
|
|
20859
|
-
var _templateObject$A, _templateObject2$v, _templateObject3$
|
|
20859
|
+
var _templateObject$A, _templateObject2$v, _templateObject3$n;
|
|
20860
20860
|
var ErrorScreen = function ErrorScreen(_ref) {
|
|
20861
20861
|
var error = _ref.error,
|
|
20862
20862
|
onRetry = _ref.onRetry,
|
|
@@ -21049,7 +21049,7 @@ var cameraFailureClassNames = function cameraFailureClassNames(own, bag) {
|
|
|
21049
21049
|
// same here rather than inherit a foreground meant for the dark overlays.
|
|
21050
21050
|
var ErrorCard = styledComponents.styled(FlexCard)(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n color: black;\n"])));
|
|
21051
21051
|
var Heading$8 = styledComponents.styled.h1(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1rem;\n"])));
|
|
21052
|
-
var Description$2 = styledComponents.styled.p(_templateObject3$
|
|
21052
|
+
var Description$2 = styledComponents.styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
|
|
21053
21053
|
|
|
21054
21054
|
function reasonFor(code) {
|
|
21055
21055
|
if (code === 'CAMERA_PERMISSION_DENIED') return 'permissionDenied';
|
|
@@ -21118,7 +21118,7 @@ function fallbackCaptureMoreLabelForStep(idCaptureRequirement, idCardBackCapture
|
|
|
21118
21118
|
return key === 'third' ? 'ID page of passport' : 'back of ID card';
|
|
21119
21119
|
}
|
|
21120
21120
|
|
|
21121
|
-
var _templateObject$z, _templateObject2$u, _templateObject3$
|
|
21121
|
+
var _templateObject$z, _templateObject2$u, _templateObject3$m, _templateObject4$i, _templateObject5$g, _templateObject6$c, _templateObject7$a;
|
|
21122
21122
|
function IdCaptureFallback(_ref) {
|
|
21123
21123
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21124
21124
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21289,13 +21289,13 @@ function IdCaptureFallback(_ref) {
|
|
|
21289
21289
|
}
|
|
21290
21290
|
var StyledOverlayInner$1 = styledComponents.styled(OverlayInner$2)(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
21291
21291
|
var Heading$7 = styledComponents.styled.h3(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21292
|
-
var Description$1 = styledComponents.styled.p(_templateObject3$
|
|
21293
|
-
var Instruction = styledComponents.styled.p(_templateObject4$
|
|
21292
|
+
var Description$1 = styledComponents.styled.p(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
21293
|
+
var Instruction = styledComponents.styled.p(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21294
21294
|
var ReadFailed$1 = styledComponents.styled.p(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
21295
21295
|
var ImageCol = styledComponents.styled.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
|
|
21296
21296
|
var StyledButtonsRow$6 = styledComponents.styled(ButtonsRow$2)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
21297
21297
|
|
|
21298
|
-
var _templateObject$y, _templateObject2$t, _templateObject3$
|
|
21298
|
+
var _templateObject$y, _templateObject2$t, _templateObject3$l, _templateObject4$h, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
|
|
21299
21299
|
function IdCaptureOrUploadScreen(_ref) {
|
|
21300
21300
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
21301
21301
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -21547,8 +21547,8 @@ var ScreenContainer = styledComponents.styled.div(_templateObject$y || (_templat
|
|
|
21547
21547
|
return (_props$theme$backgrou = (_props$theme = props.theme) == null ? void 0 : _props$theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
21548
21548
|
});
|
|
21549
21549
|
var ScreenPanel = styledComponents.styled.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n width: 100%;\n max-width: 320px;\n"])));
|
|
21550
|
-
var DashedSeparator = styledComponents.styled.div(_templateObject3$
|
|
21551
|
-
var OrWrapper = styledComponents.styled.span(_templateObject4$
|
|
21550
|
+
var DashedSeparator = styledComponents.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"])));
|
|
21551
|
+
var OrWrapper = styledComponents.styled.span(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
|
|
21552
21552
|
var _props$theme$backgrou2, _props$theme2;
|
|
21553
21553
|
return (_props$theme$backgrou2 = (_props$theme2 = props.theme) == null ? void 0 : _props$theme2.background) != null ? _props$theme$backgrou2 : '#fff';
|
|
21554
21554
|
});
|
|
@@ -26114,7 +26114,7 @@ function SelfieCameraFeed(_ref) {
|
|
|
26114
26114
|
});
|
|
26115
26115
|
}
|
|
26116
26116
|
|
|
26117
|
-
var _templateObject$v, _templateObject2$s, _templateObject3$
|
|
26117
|
+
var _templateObject$v, _templateObject2$s, _templateObject3$k, _templateObject4$g;
|
|
26118
26118
|
var _excluded$c = ["borderColor", "borderOpacity", "borderWidth", "status"],
|
|
26119
26119
|
_excluded2$4 = ["status", "guideStyle"],
|
|
26120
26120
|
_excluded3 = ["frame", "borderWidth", "borderColor", "borderOpacity", "verticalAlign", "status", "guideStyle"],
|
|
@@ -26253,8 +26253,8 @@ function HeadGuide(_ref2) {
|
|
|
26253
26253
|
}))]
|
|
26254
26254
|
});
|
|
26255
26255
|
}
|
|
26256
|
-
var AbsoluteSvg = styledComponents.styled.svg(_templateObject3$
|
|
26257
|
-
var RelativeSvgContainer = styledComponents.styled.div(_templateObject4$
|
|
26256
|
+
var AbsoluteSvg = styledComponents.styled.svg(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n"])));
|
|
26257
|
+
var RelativeSvgContainer = styledComponents.styled.div(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: ", ";\n"])), function (props) {
|
|
26258
26258
|
return props.$verticalAlign === 'bottom' ? 'flex-end' : 'center';
|
|
26259
26259
|
});
|
|
26260
26260
|
function SelfieCaptureAnimatedMask(_ref3) {
|
|
@@ -26817,7 +26817,7 @@ function SelfieCaptureLoadingGraphic(_ref) {
|
|
|
26817
26817
|
});
|
|
26818
26818
|
}
|
|
26819
26819
|
|
|
26820
|
-
var _templateObject$t, _templateObject2$q, _templateObject3$
|
|
26820
|
+
var _templateObject$t, _templateObject2$q, _templateObject3$j, _templateObject4$f, _templateObject5$e;
|
|
26821
26821
|
var legacyInstructionImageUrl = DEFAULT_CDN_URL$1 + "/Selfie-Image-1.png";
|
|
26822
26822
|
// Module-level so the default `now` prop has a stable identity across
|
|
26823
26823
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -27002,14 +27002,14 @@ var ButtonsRow = styledComponents.styled(LoadingOverlayButtonsRow)(_templateObje
|
|
|
27002
27002
|
var _props$theme4, _props$theme5;
|
|
27003
27003
|
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) + ";" : '';
|
|
27004
27004
|
});
|
|
27005
|
-
var ProgressBarBackground = styledComponents.styled(LoadingOverlayProgressBarBackground)(_templateObject3$
|
|
27005
|
+
var ProgressBarBackground = styledComponents.styled(LoadingOverlayProgressBarBackground)(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n background: ", ";\n opacity: ", ";\n"])), function (props) {
|
|
27006
27006
|
var _props$theme$selfieCa4, _props$theme6;
|
|
27007
27007
|
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;
|
|
27008
27008
|
}, function (props) {
|
|
27009
27009
|
var _props$theme$selfieCa5, _props$theme7;
|
|
27010
27010
|
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;
|
|
27011
27011
|
});
|
|
27012
|
-
var ProgressIndicator = styledComponents.styled(LoadingOverlayProgressIndicator)(_templateObject4$
|
|
27012
|
+
var ProgressIndicator = styledComponents.styled(LoadingOverlayProgressIndicator)(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n background: ", ";\n"])), function (props) {
|
|
27013
27013
|
var _props$theme$selfieCa6, _props$theme8;
|
|
27014
27014
|
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;
|
|
27015
27015
|
});
|
|
@@ -27133,7 +27133,7 @@ var SelfieCaptureLoadingOverlayLegacy = function SelfieCaptureLoadingOverlayLega
|
|
|
27133
27133
|
var StyledGuidanceMessage = styledComponents.styled(GuidanceMessage)(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n padding: 12px 24px;\n font-weight: normal;\n line-height: 1.5;\n margin-bottom: -30px;\n"])));
|
|
27134
27134
|
var StyledButtonsRow$5 = styledComponents.styled(ButtonsRow$2)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n flex-direction: column;\n padding-top: 25px;\n"])));
|
|
27135
27135
|
|
|
27136
|
-
var _templateObject$r, _templateObject2$o, _templateObject3$
|
|
27136
|
+
var _templateObject$r, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$d, _templateObject6$a, _templateObject7$8;
|
|
27137
27137
|
// Module-level so the default `now` prop has a stable identity across
|
|
27138
27138
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
27139
27139
|
var defaultNow = function defaultNow() {
|
|
@@ -27400,9 +27400,9 @@ var RingOverlayInner = styledComponents.styled(LoadingOverlayInner)(_templateObj
|
|
|
27400
27400
|
var _props$theme$selfieCa2, _props$theme2;
|
|
27401
27401
|
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';
|
|
27402
27402
|
}, function (props) {
|
|
27403
|
-
return props.$softEntry ? styledComponents.css(_templateObject3$
|
|
27403
|
+
return props.$softEntry ? styledComponents.css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n animation: ", " 250ms ease-out both;\n "])), overlayFadeIn) : '';
|
|
27404
27404
|
});
|
|
27405
|
-
var RingLayout = styledComponents.styled.div(_templateObject4$
|
|
27405
|
+
var RingLayout = styledComponents.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"])));
|
|
27406
27406
|
var StatusLine = styledComponents.styled.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n font-size: 15px;\n font-weight: 600;\n min-height: 22px;\n"])));
|
|
27407
27407
|
var SubText = styledComponents.styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n opacity: 0.65;\n"])));
|
|
27408
27408
|
var ContinueButton = styledComponents.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) {
|
|
@@ -27434,7 +27434,7 @@ var SelfieCaptureLoadingOverlay = function SelfieCaptureLoadingOverlay(_ref) {
|
|
|
27434
27434
|
return jsxRuntime.jsx(Component, _extends({}, props));
|
|
27435
27435
|
};
|
|
27436
27436
|
|
|
27437
|
-
var _templateObject$q, _templateObject2$n, _templateObject3$
|
|
27437
|
+
var _templateObject$q, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$c, _templateObject6$9;
|
|
27438
27438
|
function SelfieCaptureFallback(_ref) {
|
|
27439
27439
|
var _ref$silentFallback = _ref.silentFallback,
|
|
27440
27440
|
silentFallback = _ref$silentFallback === void 0 ? false : _ref$silentFallback,
|
|
@@ -27590,8 +27590,8 @@ function SelfieCaptureFallback(_ref) {
|
|
|
27590
27590
|
}
|
|
27591
27591
|
var StyledOverlayInner = styledComponents.styled(OverlayInner$2)(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n justify-content: center;\n padding: 24px;\n box-sizing: border-box;\n"])));
|
|
27592
27592
|
var Heading$6 = styledComponents.styled.h1(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin: 0 0 1rem;\n"])));
|
|
27593
|
-
var Description = styledComponents.styled.p(_templateObject3$
|
|
27594
|
-
var ImageContainer$4 = styledComponents.styled.div(_templateObject4$
|
|
27593
|
+
var Description = styledComponents.styled.p(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
|
|
27594
|
+
var ImageContainer$4 = styledComponents.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"])));
|
|
27595
27595
|
var ReadFailed = styledComponents.styled.p(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n margin: 0 0 1rem;\n"])));
|
|
27596
27596
|
var StyledButtonsRow$4 = styledComponents.styled(ButtonsRow$2)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 12px;\n justify-content: center;\n"])));
|
|
27597
27597
|
|
|
@@ -32407,7 +32407,7 @@ function useSignatureCapture(controller) {
|
|
|
32407
32407
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
32408
32408
|
}
|
|
32409
32409
|
|
|
32410
|
-
var _templateObject$j, _templateObject2$j, _templateObject3$
|
|
32410
|
+
var _templateObject$j, _templateObject2$j, _templateObject3$g, _templateObject4$c, _templateObject5$b, _templateObject6$8;
|
|
32411
32411
|
var _excluded$a = ["device", "frameDecode"];
|
|
32412
32412
|
var ASSUMED_TRIM_PADDING = {
|
|
32413
32413
|
startMs: TRIM_PADDING_START_MS,
|
|
@@ -32688,8 +32688,8 @@ function Row$1(_ref1) {
|
|
|
32688
32688
|
var MONO = "'Monaco', 'Menlo', 'Ubuntu Mono', monospace";
|
|
32689
32689
|
var Panel = styledComponents.styled.div(_templateObject$j || (_templateObject$j = _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"])));
|
|
32690
32690
|
var Table = styledComponents.styled.table(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-collapse: collapse;\n font-family: ", ";\n font-size: 0.8125rem;\n line-height: 1.35;\n"])), MONO);
|
|
32691
|
-
var SectionCell = styledComponents.styled.th(_templateObject3$
|
|
32692
|
-
var LabelCell = styledComponents.styled.td(_templateObject4$
|
|
32691
|
+
var SectionCell = styledComponents.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"])));
|
|
32692
|
+
var LabelCell = styledComponents.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"])));
|
|
32693
32693
|
var ValueCell = styledComponents.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) {
|
|
32694
32694
|
return props.$suspect ? '#842029' : '#212529';
|
|
32695
32695
|
}, function (props) {
|
|
@@ -32697,7 +32697,7 @@ var ValueCell = styledComponents.styled.td(_templateObject5$b || (_templateObjec
|
|
|
32697
32697
|
});
|
|
32698
32698
|
var Note = styledComponents.styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: block;\n color: #6c757d;\n font-weight: 400;\n"])));
|
|
32699
32699
|
|
|
32700
|
-
var _templateObject$i, _templateObject2$i, _templateObject3$
|
|
32700
|
+
var _templateObject$i, _templateObject2$i, _templateObject3$f, _templateObject4$b, _templateObject5$a;
|
|
32701
32701
|
function MessageOverlay(_ref) {
|
|
32702
32702
|
var heading = _ref.heading,
|
|
32703
32703
|
children = _ref.children,
|
|
@@ -32919,11 +32919,11 @@ function SubmissionErrorOverlay(_ref1) {
|
|
|
32919
32919
|
}
|
|
32920
32920
|
var CenteredInner = styledComponents.styled(OverlayInner$2)(_templateObject$i || (_templateObject$i = _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"])));
|
|
32921
32921
|
var Content = styledComponents.styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n max-width: 540px;\n line-height: 1.55;\n"])));
|
|
32922
|
-
var Details = styledComponents.styled.p(_templateObject3$
|
|
32923
|
-
var PermissionImage = styledComponents.styled(OverlayImageContainer)(_templateObject4$
|
|
32922
|
+
var Details = styledComponents.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"])));
|
|
32923
|
+
var PermissionImage = styledComponents.styled(OverlayImageContainer)(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
|
|
32924
32924
|
var RetryButton = styledComponents.styled(LoaderButton)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 32px auto 0;\n"])));
|
|
32925
32925
|
|
|
32926
|
-
var _templateObject$h, _templateObject2$h, _templateObject3$
|
|
32926
|
+
var _templateObject$h, _templateObject2$h, _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;
|
|
32927
32927
|
var FALLBACKS = {
|
|
32928
32928
|
headingText: "Please sign the box below",
|
|
32929
32929
|
signHereText: "Sign here",
|
|
@@ -33518,10 +33518,10 @@ var LiveDiagnostics = styledComponents.styled.div(_templateObject2$h || (_templa
|
|
|
33518
33518
|
* screen's bezel and matches the letterbox bars the KYC flow shows while the
|
|
33519
33519
|
* camera is up.
|
|
33520
33520
|
*/
|
|
33521
|
-
var CameraLayer$1 = styledComponents.styled.div(_templateObject3$
|
|
33521
|
+
var CameraLayer$1 = styledComponents.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) {
|
|
33522
33522
|
return props.$visible ? "flex" : "none";
|
|
33523
33523
|
});
|
|
33524
|
-
var CaptureContent = styledComponents.styled.div(_templateObject4$
|
|
33524
|
+
var CaptureContent = styledComponents.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) {
|
|
33525
33525
|
return props.$visible ? "flex" : "none";
|
|
33526
33526
|
}, function (props) {
|
|
33527
33527
|
return props.$legacyVideoLayout ? "0" : "16px";
|
|
@@ -35032,7 +35032,7 @@ function useVideoIdCapture(controller) {
|
|
|
35032
35032
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
35033
35033
|
}
|
|
35034
35034
|
|
|
35035
|
-
var _templateObject$g, _templateObject2$g, _templateObject3$
|
|
35035
|
+
var _templateObject$g, _templateObject2$g, _templateObject3$d, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
|
|
35036
35036
|
/**
|
|
35037
35037
|
* The combined face-over-document guide used by SDK2's Video ID recording
|
|
35038
35038
|
* stage. Unlike the standalone ID overlay, both subjects remain framed in a
|
|
@@ -35248,8 +35248,8 @@ var Container = styledComponents.styled.div(_templateObject$g || (_templateObjec
|
|
|
35248
35248
|
return (_props$theme = props.theme) == null ? void 0 : _props$theme.fontFamily;
|
|
35249
35249
|
});
|
|
35250
35250
|
var Inner$1 = styledComponents.styled.div(_templateObject2$g || (_templateObject2$g = _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"])));
|
|
35251
|
-
var FaceGuideContainer = styledComponents.styled.div(_templateObject3$
|
|
35252
|
-
var IdCardGuideContainer = styledComponents.styled.div(_templateObject4$
|
|
35251
|
+
var FaceGuideContainer = styledComponents.styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
|
|
35252
|
+
var IdCardGuideContainer = styledComponents.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"])));
|
|
35253
35253
|
var IdCardGuideInner = styledComponents.styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n"])));
|
|
35254
35254
|
var StyledIdCardGuideImageContainer = styledComponents.styled(IdCardGuideImageContainer)(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteralLoose(["\n width: auto;\n height: 100%;\n"])));
|
|
35255
35255
|
var InstructionsContainer = styledComponents.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"])));
|
|
@@ -35278,7 +35278,7 @@ var VIDEO_ID_FALLBACKS = {
|
|
|
35278
35278
|
};
|
|
35279
35279
|
(_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);
|
|
35280
35280
|
|
|
35281
|
-
var _templateObject$f, _templateObject2$f, _templateObject3$
|
|
35281
|
+
var _templateObject$f, _templateObject2$f, _templateObject3$c, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
|
|
35282
35282
|
function VideoIdCaptureView(props) {
|
|
35283
35283
|
var _props$lang;
|
|
35284
35284
|
return jsxRuntime.jsx(SdkLanguageProvider, {
|
|
@@ -35629,8 +35629,8 @@ var Root$1 = styledComponents.styled.div(_templateObject$f || (_templateObject$f
|
|
|
35629
35629
|
var CameraLayer = styledComponents.styled.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n"])), function (props) {
|
|
35630
35630
|
return props.$visible ? 'flex' : 'none';
|
|
35631
35631
|
});
|
|
35632
|
-
var ReadTextPrompt = styledComponents.styled.div(_templateObject3$
|
|
35633
|
-
var ReadTextHeading = styledComponents.styled.h3(_templateObject4$
|
|
35632
|
+
var ReadTextPrompt = styledComponents.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"])));
|
|
35633
|
+
var ReadTextHeading = styledComponents.styled.h3(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteralLoose(["\n margin: 0;\n text-align: center;\n"])));
|
|
35634
35634
|
var ReadTextSentence = styledComponents.styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteralLoose(["\n font-size: 1.25rem;\n font-weight: 600;\n text-align: center;\n"])));
|
|
35635
35635
|
var Countdown = styledComponents.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"])));
|
|
35636
35636
|
var Review = styledComponents.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) {
|
|
@@ -35650,7 +35650,7 @@ function useDocumentCapture(controller) {
|
|
|
35650
35650
|
return shim.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
35651
35651
|
}
|
|
35652
35652
|
|
|
35653
|
-
var _templateObject$e, _templateObject2$e, _templateObject3$
|
|
35653
|
+
var _templateObject$e, _templateObject2$e, _templateObject3$b, _templateObject4$7, _templateObject5$6;
|
|
35654
35654
|
/** Human wording for each gate, in the order the engine reports them. */
|
|
35655
35655
|
/** Short enough that the triple fits one line on a phone. */
|
|
35656
35656
|
var GUIDANCE_LABELS = {
|
|
@@ -35953,8 +35953,8 @@ var PaneAnchor = styledComponents.styled.div(_templateObject$e || (_templateObje
|
|
|
35953
35953
|
// swallow a capture tap. This one has to be tappable, so it re-enables them on
|
|
35954
35954
|
// its own subtree only.
|
|
35955
35955
|
var InteractivePane = styledComponents.styled.span(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n display: block;\n cursor: pointer;\n user-select: none;\n"])));
|
|
35956
|
-
var Row = styledComponents.styled.span(_templateObject3$
|
|
35957
|
-
var Controls = styledComponents.styled.span(_templateObject4$
|
|
35956
|
+
var Row = styledComponents.styled.span(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
35957
|
+
var Controls = styledComponents.styled.span(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
|
|
35958
35958
|
var Chip = styledComponents.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) {
|
|
35959
35959
|
var $active = _ref5.$active;
|
|
35960
35960
|
return $active ? 'limegreen' : 'transparent';
|
|
@@ -35963,7 +35963,7 @@ var Chip = styledComponents.styled.button(_templateObject5$6 || (_templateObject
|
|
|
35963
35963
|
return $active ? 'black' : 'limegreen';
|
|
35964
35964
|
});
|
|
35965
35965
|
|
|
35966
|
-
var _templateObject$d, _templateObject2$d, _templateObject3$
|
|
35966
|
+
var _templateObject$d, _templateObject2$d, _templateObject3$a;
|
|
35967
35967
|
/**
|
|
35968
35968
|
* Which verbiage member renders each code.
|
|
35969
35969
|
*
|
|
@@ -36078,9 +36078,9 @@ function DocumentCaptureManualCaptureHint(_ref6) {
|
|
|
36078
36078
|
* competed the applicant would read the wrong one. No dot, lower contrast, no
|
|
36079
36079
|
* background of its own beyond what legibility over video requires.
|
|
36080
36080
|
*/
|
|
36081
|
-
var ManualCaptureHint = styledComponents.styled.div(_templateObject3$
|
|
36081
|
+
var ManualCaptureHint = styledComponents.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"])));
|
|
36082
36082
|
|
|
36083
|
-
var _templateObject$c, _templateObject2$c, _templateObject3$
|
|
36083
|
+
var _templateObject$c, _templateObject2$c, _templateObject3$9;
|
|
36084
36084
|
function DocumentCaptureReviewScreen(_ref) {
|
|
36085
36085
|
var contentUrl = _ref.contentUrl,
|
|
36086
36086
|
headingText = _ref.headingText,
|
|
@@ -36140,7 +36140,7 @@ var ReviewHeading = styledComponents.styled.h2(_templateObject$c || (_templateOb
|
|
|
36140
36140
|
// without it the default `min-height: auto` floors the wrapper at the image's
|
|
36141
36141
|
// intrinsic height and the buttons get pushed off the bottom of a phone.
|
|
36142
36142
|
var ImageWrap = styledComponents.styled.div(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 18px;\n"])));
|
|
36143
|
-
var PreviewImage$1 = styledComponents.styled.img(_templateObject3$
|
|
36143
|
+
var PreviewImage$1 = styledComponents.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"])));
|
|
36144
36144
|
|
|
36145
36145
|
function computeGuideRect$1(_ref) {
|
|
36146
36146
|
var wrapperWidth = _ref.wrapperWidth,
|
|
@@ -36419,7 +36419,7 @@ var CanvasWrapper = styledComponents.styled.div(_templateObject$b || (_templateO
|
|
|
36419
36419
|
});
|
|
36420
36420
|
var Canvas = styledComponents.styled.canvas(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
36421
36421
|
|
|
36422
|
-
var _templateObject$a, _templateObject2$a, _templateObject3$
|
|
36422
|
+
var _templateObject$a, _templateObject2$a, _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;
|
|
36423
36423
|
/** The verbiage fallbacks, exported so the i18n parity test reads the real
|
|
36424
36424
|
* literals rather than a second copy that could drift from them. */
|
|
36425
36425
|
var DOCUMENT_CAPTURE_FALLBACK_VERBIAGE = {
|
|
@@ -37009,11 +37009,11 @@ var GuidedBottomStack = styledComponents.styled.div(_templateObject2$a || (_temp
|
|
|
37009
37009
|
* the mechanism that just gave up, and a disabled-looking disc would refuse a
|
|
37010
37010
|
* tap the applicant is entitled to make.
|
|
37011
37011
|
*/
|
|
37012
|
-
var GuidedShutterDock = styledComponents.styled.div(_templateObject3$
|
|
37012
|
+
var GuidedShutterDock = styledComponents.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) {
|
|
37013
37013
|
var $centreY = _ref3.$centreY;
|
|
37014
37014
|
return $centreY === null ? 'bottom: max(20px, env(safe-area-inset-bottom));' : "top: " + $centreY + "px; transform: translateY(-50%);";
|
|
37015
37015
|
});
|
|
37016
|
-
var GuidedShutter = styledComponents.styled.button(_templateObject4$
|
|
37016
|
+
var GuidedShutter = styledComponents.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) {
|
|
37017
37017
|
var $pending = _ref4.$pending;
|
|
37018
37018
|
return $pending ? 'rgba(255, 255, 255, 0.25)' : 'rgba(255, 255, 255, 0.9)';
|
|
37019
37019
|
}, function (_ref5) {
|
|
@@ -37333,7 +37333,7 @@ var ThemeProvider = function ThemeProvider(_ref) {
|
|
|
37333
37333
|
});
|
|
37334
37334
|
};
|
|
37335
37335
|
|
|
37336
|
-
var _templateObject$9, _templateObject2$9, _templateObject3$
|
|
37336
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$7, _templateObject4$5, _templateObject5$4;
|
|
37337
37337
|
// The `useTranslations` fallback defaults, exported so the i18n parity
|
|
37338
37338
|
// guard (additionalDocumentStrings.test.ts) can assert every non-English
|
|
37339
37339
|
// locale carries these exact literals by reading them from here rather than
|
|
@@ -37503,8 +37503,8 @@ function AdditionalDocumentCapture(_ref) {
|
|
|
37503
37503
|
}
|
|
37504
37504
|
var Inner = styledComponents.styled(OverlayInner$2)(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
37505
37505
|
var Heading$2 = styledComponents.styled.h3(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37506
|
-
var DescriptionText = styledComponents.styled.p(_templateObject3$
|
|
37507
|
-
var ErrorText = styledComponents.styled.p(_templateObject4$
|
|
37506
|
+
var DescriptionText = styledComponents.styled.p(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37507
|
+
var ErrorText = styledComponents.styled.p(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
37508
37508
|
var StyledButtonsRow$2 = styledComponents.styled(ButtonsRow$2)(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
37509
37509
|
|
|
37510
37510
|
function additionalDocumentProgress(documents, results) {
|
|
@@ -37628,7 +37628,7 @@ function AdditionalDocumentCaptureWizard(_ref) {
|
|
|
37628
37628
|
}, index);
|
|
37629
37629
|
}
|
|
37630
37630
|
|
|
37631
|
-
var _templateObject$8, _templateObject2$8, _templateObject3$
|
|
37631
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$6, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
|
|
37632
37632
|
var CONFETTI_COUNT = 44;
|
|
37633
37633
|
var CONFETTI_LIFETIME_MS = 4500;
|
|
37634
37634
|
/**
|
|
@@ -37751,8 +37751,8 @@ var RingSuccessScreen = function RingSuccessScreen(_ref) {
|
|
|
37751
37751
|
};
|
|
37752
37752
|
var fadeIn$1 = styledComponents.keyframes(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
37753
37753
|
var popCheck = styledComponents.keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n to { transform: scale(1); opacity: 1; }\n"])));
|
|
37754
|
-
var drawTick = styledComponents.keyframes(_templateObject3$
|
|
37755
|
-
var confettiFall = styledComponents.keyframes(_templateObject4$
|
|
37754
|
+
var drawTick = styledComponents.keyframes(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
|
|
37755
|
+
var confettiFall = styledComponents.keyframes(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
|
|
37756
37756
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
37757
37757
|
// for why the foreground is pinned rather than read from the theme.
|
|
37758
37758
|
var SuccessInner$1 = styledComponents.styled(LoadingOverlayInner)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n overflow: hidden;\n"])), function (props) {
|
|
@@ -37772,7 +37772,7 @@ var StatList = styledComponents.styled.div(_templateObject0$3 || (_templateObjec
|
|
|
37772
37772
|
var StatChip = styledComponents.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"])));
|
|
37773
37773
|
var ConfettiPiece = styledComponents.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);
|
|
37774
37774
|
|
|
37775
|
-
var _templateObject$7, _templateObject2$7, _templateObject3$
|
|
37775
|
+
var _templateObject$7, _templateObject2$7, _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;
|
|
37776
37776
|
var toDataUrl$2 = function toDataUrl(value) {
|
|
37777
37777
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
37778
37778
|
};
|
|
@@ -37962,10 +37962,10 @@ var markIn = styledComponents.keyframes(_templateObject2$7 || (_templateObject2$
|
|
|
37962
37962
|
// loading overlay, and inheriting it painted white text on this white surface:
|
|
37963
37963
|
// the tips panel (`rgb(255 255 255 / 0.62)`) went fully invisible. Same rule,
|
|
37964
37964
|
// and the same reason, as `ErrorScreen`'s `ErrorCard`.
|
|
37965
|
-
var FailureInner = styledComponents.styled(LoadingOverlayInner)(_templateObject3$
|
|
37965
|
+
var FailureInner = styledComponents.styled(LoadingOverlayInner)(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n overflow-y: auto;\n"])), function (props) {
|
|
37966
37966
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
|
|
37967
37967
|
});
|
|
37968
|
-
var FailureLayout = styledComponents.styled.div(_templateObject4$
|
|
37968
|
+
var FailureLayout = styledComponents.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"])));
|
|
37969
37969
|
var VisualSlot = styledComponents.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);
|
|
37970
37970
|
var SelfieThumb$1 = styledComponents.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"])));
|
|
37971
37971
|
var ThumbStatus = styledComponents.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) {
|
|
@@ -37997,7 +37997,7 @@ var PrimaryAction = styledComponents.styled(LoaderButton)(_templateObject15$1 ||
|
|
|
37997
37997
|
});
|
|
37998
37998
|
var SecondaryAction = styledComponents.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"])));
|
|
37999
37999
|
|
|
38000
|
-
var _templateObject$6, _templateObject2$6, _templateObject3$
|
|
38000
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
|
|
38001
38001
|
var toDataUrl$1 = function toDataUrl(value) {
|
|
38002
38002
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
38003
38003
|
};
|
|
@@ -38107,10 +38107,10 @@ var fadeIn = styledComponents.keyframes(_templateObject$6 || (_templateObject$6
|
|
|
38107
38107
|
var spin = styledComponents.keyframes(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n to { transform: rotate(360deg); }\n"])));
|
|
38108
38108
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
38109
38109
|
// for why the foreground is pinned rather than read from the theme.
|
|
38110
|
-
var FinishingInner = styledComponents.styled(LoadingOverlayInner)(_templateObject3$
|
|
38110
|
+
var FinishingInner = styledComponents.styled(LoadingOverlayInner)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
|
|
38111
38111
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + props.$tintBase + " 45%, #ffffff))";
|
|
38112
38112
|
}, fadeIn);
|
|
38113
|
-
var FinishingLayout = styledComponents.styled.div(_templateObject4$
|
|
38113
|
+
var FinishingLayout = styledComponents.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"])));
|
|
38114
38114
|
var SelfieThumb = styledComponents.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"])));
|
|
38115
38115
|
var ThumbBadge = styledComponents.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) {
|
|
38116
38116
|
return props.$accent;
|
|
@@ -38157,7 +38157,7 @@ var readFlowElapsedMs = function readFlowElapsedMs() {
|
|
|
38157
38157
|
return flowStartedAt === null ? null : Date.now() - flowStartedAt;
|
|
38158
38158
|
};
|
|
38159
38159
|
|
|
38160
|
-
var _templateObject$5, _templateObject2$5, _templateObject3$
|
|
38160
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$3;
|
|
38161
38161
|
var DEFAULT_HEADING$1 = {
|
|
38162
38162
|
identification: 'Customer has been identified!',
|
|
38163
38163
|
verification: 'Customer has been verified!'
|
|
@@ -38216,9 +38216,9 @@ function CustomerMatchSuccess(_ref) {
|
|
|
38216
38216
|
}
|
|
38217
38217
|
var Heading$1 = styledComponents.styled.h3(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38218
38218
|
var ImageContainer$1 = styledComponents.styled(ButtonsRow$2)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38219
|
-
var StyledButtonsRow$1 = styledComponents.styled(ButtonsRow$2)(_templateObject3$
|
|
38219
|
+
var StyledButtonsRow$1 = styledComponents.styled(ButtonsRow$2)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38220
38220
|
|
|
38221
|
-
var _templateObject$4, _templateObject2$4, _templateObject3$
|
|
38221
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$2;
|
|
38222
38222
|
var DEFAULT_HEADING = {
|
|
38223
38223
|
identification: 'Customer not found',
|
|
38224
38224
|
verification: 'Customer not verified'
|
|
@@ -38280,7 +38280,7 @@ function CustomerMatchFailure(_ref) {
|
|
|
38280
38280
|
}
|
|
38281
38281
|
var Heading = styledComponents.styled.h3(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
38282
38282
|
var ImageContainer = styledComponents.styled(ButtonsRow$2)(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
38283
|
-
var StyledButtonsRow = styledComponents.styled(ButtonsRow$2)(_templateObject3$
|
|
38283
|
+
var StyledButtonsRow = styledComponents.styled(ButtonsRow$2)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
38284
38284
|
|
|
38285
38285
|
var SubmissionContext = /*#__PURE__*/React.createContext(null);
|
|
38286
38286
|
var EMPTY_SUBMISSION_OPTIONS = {};
|
|
@@ -38672,7 +38672,7 @@ var highlightJson = function highlightJson(str) {
|
|
|
38672
38672
|
return elements;
|
|
38673
38673
|
};
|
|
38674
38674
|
|
|
38675
|
-
var _templateObject$3, _templateObject2$3, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
|
|
38675
|
+
var _templateObject$3, _templateObject2$3, _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;
|
|
38676
38676
|
function _createForOfIteratorHelperLoose$c(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$c(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."); }
|
|
38677
38677
|
function _unsupportedIterableToArray$c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$c(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$c(r, a) : void 0; } }
|
|
38678
38678
|
function _arrayLikeToArray$c(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; }
|
|
@@ -39239,8 +39239,8 @@ function TimingFact(_ref9) {
|
|
|
39239
39239
|
}
|
|
39240
39240
|
var SuccessInner = styledComponents.styled(OverlayInner$2)(_templateObject$3 || (_templateObject$3 = _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"])));
|
|
39241
39241
|
var Header = styledComponents.styled.header(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n"])));
|
|
39242
|
-
var Eyebrow = styledComponents.styled.p(_templateObject3 || (_templateObject3 = _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"])));
|
|
39243
|
-
var TimingGrid = styledComponents.styled.dl(_templateObject4 || (_templateObject4 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
|
|
39242
|
+
var Eyebrow = styledComponents.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"])));
|
|
39243
|
+
var TimingGrid = styledComponents.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"])));
|
|
39244
39244
|
var TimingCard = styledComponents.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"])));
|
|
39245
39245
|
var UploadSubheader = styledComponents.styled.h4(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n margin: 20px 0 8px;\n font-size: 0.8125rem;\n"])));
|
|
39246
39246
|
var UploadList = styledComponents.styled.dl(_templateObject7 || (_templateObject7 = _taggedTemplateLiteralLoose(["\n margin: 0 0 24px;\n"])));
|
|
@@ -40283,8 +40283,8 @@ function RemoteDiagnosticsMount(_ref) {
|
|
|
40283
40283
|
return null;
|
|
40284
40284
|
}
|
|
40285
40285
|
|
|
40286
|
-
var _templateObject$1, _templateObject2$1;
|
|
40287
|
-
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "children"];
|
|
40286
|
+
var _templateObject$1, _templateObject2$1, _templateObject3, _templateObject4;
|
|
40287
|
+
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "showEnrollmentId", "children"];
|
|
40288
40288
|
function FlowChassis(_ref) {
|
|
40289
40289
|
var client = _ref.client,
|
|
40290
40290
|
action = _ref.action,
|
|
@@ -40299,6 +40299,8 @@ function FlowChassis(_ref) {
|
|
|
40299
40299
|
captureProgress = _ref.captureProgress,
|
|
40300
40300
|
remoteDiagnostics = _ref.remoteDiagnostics,
|
|
40301
40301
|
loadingSpinner = _ref.loadingSpinner,
|
|
40302
|
+
_ref$showEnrollmentId = _ref.showEnrollmentId,
|
|
40303
|
+
showEnrollmentId = _ref$showEnrollmentId === void 0 ? false : _ref$showEnrollmentId,
|
|
40302
40304
|
children = _ref.children,
|
|
40303
40305
|
callbacks = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
40304
40306
|
var geolocation = useGeolocation(geolocationEnabled);
|
|
@@ -40320,6 +40322,7 @@ function FlowChassis(_ref) {
|
|
|
40320
40322
|
}, callbacks, {
|
|
40321
40323
|
children: jsxRuntime.jsx(FlowPage, {
|
|
40322
40324
|
className: className,
|
|
40325
|
+
enrollmentId: showEnrollmentId ? submission == null ? void 0 : submission.enrollmentId : undefined,
|
|
40323
40326
|
children: jsxRuntime.jsx(AuthGate, {
|
|
40324
40327
|
children: geolocationRequired && geolocation.blocked ? jsxRuntime.jsx(GeolocationAccessDeniedOverlay, {
|
|
40325
40328
|
onRetry: geolocation.retry
|
|
@@ -40380,23 +40383,35 @@ function AuthGate(_ref2) {
|
|
|
40380
40383
|
/**
|
|
40381
40384
|
* The flow's page surface: `theme.header` and `theme.footer` (2.x's
|
|
40382
40385
|
* SdkPage.tsx:41) frame a body that takes the remaining height and is the
|
|
40383
|
-
* positioned ancestor every flow stage lays out against.
|
|
40386
|
+
* positioned ancestor every flow stage lays out against. The debug
|
|
40387
|
+
* enrollment-ID banner sits outside that body, so stages and their in-body
|
|
40388
|
+
* overlays lay out below it instead of over it.
|
|
40384
40389
|
*/
|
|
40385
40390
|
function FlowPage(_ref3) {
|
|
40386
40391
|
var className = _ref3.className,
|
|
40392
|
+
enrollmentId = _ref3.enrollmentId,
|
|
40387
40393
|
children = _ref3.children;
|
|
40388
40394
|
var _useTheme = styledComponents.useTheme(),
|
|
40389
40395
|
Header = _useTheme.header,
|
|
40390
40396
|
Footer = _useTheme.footer;
|
|
40391
40397
|
return jsxRuntime.jsxs(FlowPageOuter, {
|
|
40392
40398
|
className: className,
|
|
40393
|
-
children: [Header && jsxRuntime.jsx(Header, {}), jsxRuntime.
|
|
40399
|
+
children: [Header && jsxRuntime.jsx(Header, {}), enrollmentId && jsxRuntime.jsxs(EnrollmentIdBanner, {
|
|
40400
|
+
"data-testid": "idmission-debug-enrollment-id",
|
|
40401
|
+
children: ["Enrollment ID: ", jsxRuntime.jsx(EnrollmentIdValue, {
|
|
40402
|
+
children: enrollmentId
|
|
40403
|
+
})]
|
|
40404
|
+
}), jsxRuntime.jsx(FlowPageBody, {
|
|
40394
40405
|
children: children
|
|
40395
40406
|
}), Footer && jsxRuntime.jsx(Footer, {})]
|
|
40396
40407
|
});
|
|
40397
40408
|
}
|
|
40398
|
-
|
|
40399
|
-
|
|
40409
|
+
// Debug-only chrome, so it ignores the theme on purpose: it has to read the
|
|
40410
|
+
// same on every customer skin.
|
|
40411
|
+
var EnrollmentIdBanner = styledComponents.styled.div(_templateObject$1 || (_templateObject$1 = _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"])));
|
|
40412
|
+
var EnrollmentIdValue = styledComponents.styled.span(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteralLoose(["\n user-select: all;\n"])));
|
|
40413
|
+
var FlowPageBody = styledComponents.styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
|
|
40414
|
+
var FlowPageOuter = styledComponents.styled.div(_templateObject4 || (_templateObject4 = _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) {
|
|
40400
40415
|
var _props$theme$backgrou;
|
|
40401
40416
|
return (_props$theme$backgrou = props.theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
40402
40417
|
}, function (props) {
|
|
@@ -44906,6 +44921,7 @@ function CustomerBiometricsEnrollmentFlow(_ref) {
|
|
|
44906
44921
|
client: client,
|
|
44907
44922
|
action: SubmissionAction.ENROLL,
|
|
44908
44923
|
submission: submission,
|
|
44924
|
+
showEnrollmentId: showDiagnostics,
|
|
44909
44925
|
theme: theme,
|
|
44910
44926
|
className: className
|
|
44911
44927
|
}, callbacks, {
|
|
@@ -45187,6 +45203,7 @@ function CustomerIdAndBiometricsEnrollmentFlow(_ref) {
|
|
|
45187
45203
|
client: client,
|
|
45188
45204
|
action: SubmissionAction.ENROLL,
|
|
45189
45205
|
submission: submission,
|
|
45206
|
+
showEnrollmentId: showDiagnostics,
|
|
45190
45207
|
theme: theme,
|
|
45191
45208
|
className: className
|
|
45192
45209
|
}, callbacks, {
|
|
@@ -48584,7 +48601,7 @@ function mapCustomerIdAndBiometricsEnrollmentProps(props, ctx) {
|
|
|
48584
48601
|
});
|
|
48585
48602
|
}
|
|
48586
48603
|
|
|
48587
|
-
var webSdkVersion = '2.6.3-changeset-release-develop-
|
|
48604
|
+
var webSdkVersion = '2.6.3-changeset-release-develop-c045c91';
|
|
48588
48605
|
|
|
48589
48606
|
// GENERATED by scripts/styleBagTypes.mjs from
|
|
48590
48607
|
// src/__fixtures__/sdk2StyleBags.json and the mapper sweep — do not
|