idmission-web-sdk 2.5.61 → 2.5.62
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 +124 -105
- 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 +124 -105
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +124 -105
- 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
|
@@ -11592,7 +11592,7 @@
|
|
|
11592
11592
|
return ctx;
|
|
11593
11593
|
}
|
|
11594
11594
|
|
|
11595
|
-
var _templateObject$$, _templateObject2$
|
|
11595
|
+
var _templateObject$$, _templateObject2$R;
|
|
11596
11596
|
var _excluded$j = ["isRearFacing"];
|
|
11597
11597
|
var CameraVideoTag = /*#__PURE__*/React.forwardRef(function CameraVideoTag(_ref, ref) {
|
|
11598
11598
|
var isRearFacing = _ref.isRearFacing,
|
|
@@ -11608,7 +11608,7 @@
|
|
|
11608
11608
|
var FullscreenVideoTag = styled.video(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n transform: ", ";\n transform-style: preserve-3d;\n min-width: 100%;\n min-height: 100%;\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n object-fit: cover;\n background: black;\n z-index: -2;\n"])), function (props) {
|
|
11609
11609
|
return props.$isRearFacing ? '' : 'scaleX(-1)';
|
|
11610
11610
|
});
|
|
11611
|
-
var CameraFeedWrapper = styled.div(_templateObject2$
|
|
11611
|
+
var CameraFeedWrapper = styled.div(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n /* Keep CameraVideoTag's legacy negative z-index above opaque flow shells. */\n isolation: isolate;\n\n ", "\n\n /* Last, so it wins over both branches' display. */\n ", "\n"])), function (props) {
|
|
11612
11612
|
return props.$mode === 'snapToGuides' ? "display: flex;\n position: absolute;\n z-index: -2;\n left: " + props.$x + "px;\n top: " + props.$y + "px;\n width: " + props.$w + "px;\n height: " + props.$h + "px;\n /* Match the mask's hole when the guide publishes a radius. The mask\n sits above this feed (-1 vs -2), so square corners here show through\n as dimmed wedges outside the rounded hole. Guides that publish no\n radius keep the previous unclipped behaviour. */\n " + (props.$radius ? "border-radius: " + props.$radius + "px; overflow: hidden;" : '') : "display: flex;\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n overflow: hidden;";
|
|
11613
11613
|
}, function (props) {
|
|
11614
11614
|
return props.$hidden ? 'display: none;' : '';
|
|
@@ -11663,7 +11663,7 @@
|
|
|
11663
11663
|
});
|
|
11664
11664
|
}
|
|
11665
11665
|
|
|
11666
|
-
var _templateObject$_, _templateObject2$
|
|
11666
|
+
var _templateObject$_, _templateObject2$Q, _templateObject3$E, _templateObject4$z, _templateObject5$t, _templateObject6$l;
|
|
11667
11667
|
function _createForOfIteratorHelperLoose$v(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$v(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11668
11668
|
function _unsupportedIterableToArray$v(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$v(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$v(r, a) : void 0; } }
|
|
11669
11669
|
function _arrayLikeToArray$v(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -11686,7 +11686,7 @@
|
|
|
11686
11686
|
return /*#__PURE__*/reactDom.createPortal(element, portalLocation);
|
|
11687
11687
|
}
|
|
11688
11688
|
var DebugStatsPaneDiv = styled.span(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n font-family: monospace;\n position: absolute;\n left: 20px;\n bottom: 20px;\n margin-right: 20px;\n padding: 8px;\n color: limegreen;\n background: rgba(0, 0, 0, 0.5);\n z-index: 10002;\n pointer-events: none;\n"])));
|
|
11689
|
-
var ObjectDetectionDebugOverlayDiv = styled.div(_templateObject2$
|
|
11689
|
+
var ObjectDetectionDebugOverlayDiv = styled.div(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 1001;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100%;\n max-height: 100%;\n overflow: hidden;\n pointer-events: none;\n ", "\n transform-style: preserve-3d;\n"])), function (_ref3) {
|
|
11690
11690
|
var $flipX = _ref3.$flipX;
|
|
11691
11691
|
return $flipX ? 'transform: scaleX(-1);' : '';
|
|
11692
11692
|
});
|
|
@@ -12188,7 +12188,7 @@
|
|
|
12188
12188
|
var _templateObject$X;
|
|
12189
12189
|
var ButtonsRow$2 = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 0 15px;\n justify-content: center;\n text-align: left;\n"])));
|
|
12190
12190
|
|
|
12191
|
-
var _templateObject$W, _templateObject2$
|
|
12191
|
+
var _templateObject$W, _templateObject2$P;
|
|
12192
12192
|
var GuidanceMessageContainerDiv = styled.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: calc(", ");\n ", "\n font-weight: bold;\n width: 100%;\n display: flex;\n padding: 0 10%;\n box-sizing: border-box;\n"])), function (_ref) {
|
|
12193
12193
|
var $top = _ref.$top;
|
|
12194
12194
|
return $top != null ? $top : '10%';
|
|
@@ -12202,7 +12202,7 @@
|
|
|
12202
12202
|
if (!portalLocation) return element;
|
|
12203
12203
|
return /*#__PURE__*/reactDom.createPortal(element, portalLocation);
|
|
12204
12204
|
};
|
|
12205
|
-
var GuidanceMessage = styled.div(_templateObject2$
|
|
12205
|
+
var GuidanceMessage = styled.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n margin-right: auto;\n background: ", ";\n color: ", ";\n border-radius: 8px;\n z-index: 10001;\n padding: 16px 24px;\n font-size: 18px;\n font-weight: bold;\n box-shadow:\n 0 1px 3px 0 rgb(0 0 0 / 0.1),\n 0 1px 2px -1px rgb(0 0 0 / 0.1);\n"])), function (props) {
|
|
12206
12206
|
var _ref3, _props$$background, _props$theme, _props$$variant;
|
|
12207
12207
|
return (_ref3 = (_props$$background = props.$background) != null ? _props$$background : (_props$theme = props.theme) == null || (_props$theme = _props$theme.guidanceMessages) == null || (_props$theme = _props$theme[(_props$$variant = props.$variant) != null ? _props$$variant : 'default']) == null ? void 0 : _props$theme.backgroundColor) != null ? _ref3 : 'white';
|
|
12208
12208
|
}, function (props) {
|
|
@@ -12254,19 +12254,19 @@
|
|
|
12254
12254
|
});
|
|
12255
12255
|
};
|
|
12256
12256
|
|
|
12257
|
-
var _templateObject$V, _templateObject2$
|
|
12257
|
+
var _templateObject$V, _templateObject2$O, _templateObject3$D, _templateObject4$y;
|
|
12258
12258
|
var wavesAnimation = 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"])));
|
|
12259
|
-
var progressBarAnimation = keyframes(_templateObject2$
|
|
12259
|
+
var progressBarAnimation = keyframes(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n"])));
|
|
12260
12260
|
keyframes(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
12261
12261
|
keyframes(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n to {\n stroke-dashoffset: 0;\n }\n"])));
|
|
12262
12262
|
|
|
12263
|
-
var _templateObject$U, _templateObject2$
|
|
12263
|
+
var _templateObject$U, _templateObject2$N, _templateObject3$C, _templateObject4$x, _templateObject5$s, _templateObject6$k, _templateObject7$h, _templateObject8$d, _templateObject9$d, _templateObject0$b, _templateObject1$a, _templateObject10$a, _templateObject11$7, _templateObject12$6, _templateObject13$6, _templateObject14$6, _templateObject15$5, _templateObject16$4, _templateObject17$3, _templateObject18$3, _templateObject19$3, _templateObject20$3;
|
|
12264
12264
|
var OverlayContainer = 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) {
|
|
12265
12265
|
return props.theme.background ? "" + props.theme.background : "white";
|
|
12266
12266
|
}, function (props) {
|
|
12267
12267
|
return props.theme.textColor ? "color: " + props.theme.textColor + ";" : "";
|
|
12268
12268
|
});
|
|
12269
|
-
var OverlayInner$2 = styled.div(_templateObject2$
|
|
12269
|
+
var OverlayInner$2 = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n text-align: ", ";\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n width: 100%;\n height: 100%;\n ", "\n"])), function (props) {
|
|
12270
12270
|
var _props$theme$textAlig;
|
|
12271
12271
|
return (_props$theme$textAlig = props.theme.textAlign) != null ? _props$theme$textAlig : 'center';
|
|
12272
12272
|
}, function (props) {
|
|
@@ -12436,13 +12436,13 @@
|
|
|
12436
12436
|
|
|
12437
12437
|
var _excluded$h = ["children", "status", "borderWidth", "borderRadius", "borderColor", "aspectRatio", "progress", "guideBoxDisabled"],
|
|
12438
12438
|
_excluded2$5 = ["borderRadius", "borderColor", "borderWidth", "borderOpacity", "progress", "isProgressBar", "scaleBorderRadius"];
|
|
12439
|
-
var _templateObject$T, _templateObject2$
|
|
12439
|
+
var _templateObject$T, _templateObject2$M, _templateObject3$B, _templateObject4$w, _templateObject5$r, _templateObject6$j, _templateObject7$g;
|
|
12440
12440
|
var IdCardGuideImageContainer = 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) {
|
|
12441
12441
|
return props.$isVisible ? '' : 'opacity: 0;';
|
|
12442
12442
|
}, function (props) {
|
|
12443
12443
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
12444
12444
|
});
|
|
12445
|
-
var IdCardGuideImage = styled.img(_templateObject2$
|
|
12445
|
+
var IdCardGuideImage = styled.img(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n max-height: 100%;\n transform-style: preserve-3d;\n ", "\n ", "\n"])), function (props) {
|
|
12446
12446
|
return props.$isMirrored ? 'transform: scaleX(-1);' : '';
|
|
12447
12447
|
}, function (props) {
|
|
12448
12448
|
return props.$isInvisible ? 'opacity: 0;' : '';
|
|
@@ -12834,7 +12834,7 @@
|
|
|
12834
12834
|
return props.$isMobile ? props.$isLandscape ? 'height: 100%;' : 'width: 80%;' : props.$isLandscape ? 'height: 70%;' : 'width: 82%;';
|
|
12835
12835
|
});
|
|
12836
12836
|
|
|
12837
|
-
var _templateObject$R, _templateObject2$
|
|
12837
|
+
var _templateObject$R, _templateObject2$L, _templateObject3$A, _templateObject4$v, _templateObject5$q, _templateObject6$i, _templateObject7$f, _templateObject8$c, _templateObject9$c;
|
|
12838
12838
|
var IdCaptureGuideOverlay = function IdCaptureGuideOverlay(_ref) {
|
|
12839
12839
|
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;
|
|
12840
12840
|
var _ref$classNames = _ref.classNames,
|
|
@@ -12991,7 +12991,7 @@
|
|
|
12991
12991
|
}).join(' ');
|
|
12992
12992
|
};
|
|
12993
12993
|
var StyledPageContainer = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1000;\n overflow: hidden;\n"])));
|
|
12994
|
-
var GuidesContainer = styled.div(_templateObject2$
|
|
12994
|
+
var GuidesContainer = styled.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n height: 100%;\n"])));
|
|
12995
12995
|
var GuideCenterRow = styled.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: row nowrap;\n align-items: center;\n justify-items: center;\n box-sizing: border-box;\n max-width: 100%;\n max-height: 100%;\n min-height: 0;\n flex: 1;\n"])));
|
|
12996
12996
|
var GuideRegion = styled.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n justify-content: end;\n width: 100%;\n position: relative;\n z-index: 1000;\n background: ", ";\n color: ", ";\n text-align: center;\n ", "\n ", "\n"])), function (props) {
|
|
12997
12997
|
var _ref2, _props$$maskColor, _props$theme;
|
|
@@ -13023,7 +13023,7 @@
|
|
|
13023
13023
|
/** The mask colour when neither the prop nor the theme sets one. */
|
|
13024
13024
|
var OVERLAY_GUIDE_MASK_DEFAULT = 'rgba(0, 0, 0, 0.5)';
|
|
13025
13025
|
|
|
13026
|
-
var _templateObject$Q, _templateObject2$
|
|
13026
|
+
var _templateObject$Q, _templateObject2$K, _templateObject3$z, _templateObject4$u;
|
|
13027
13027
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_ref) {
|
|
13028
13028
|
var _theme$idCapture$guid, _theme$idCapture, _theme$idCapture$guid5, _theme$idCapture5, _theme$idCapture$guid6, _theme$idCapture6, _theme$idCapture$guid7, _theme$idCapture7;
|
|
13029
13029
|
var aspectRatio = _ref.aspectRatio,
|
|
@@ -13263,7 +13263,7 @@
|
|
|
13263
13263
|
var CanvasWrapper$1 = styled.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-grow: 1;\n background-clip: padding-box;\n /* The default -1 puts the mask behind a 'fullscreen' camera feed, which hides\n the dimming entirely; it only works because 'snapToGuides' clips the feed to\n the guide rect. Lifting it is opt-in so existing integrations are untouched. */\n ", "\n"])), function (props) {
|
|
13264
13264
|
return props.$aboveCameraFeed ? "z-index: 1;" : "box-shadow: inset 0 0 0 2px " + props.$maskColor + ";\n z-index: -1;";
|
|
13265
13265
|
});
|
|
13266
|
-
var Canvas$2 = styled.canvas(_templateObject2$
|
|
13266
|
+
var Canvas$2 = styled.canvas(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
13267
13267
|
var CaptureAreaProgress = styled.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", "px;\n top: ", "px;\n width: ", "px;\n height: ", "px;\n pointer-events: none;\n"])), function (props) {
|
|
13268
13268
|
return props.$x;
|
|
13269
13269
|
}, function (props) {
|
|
@@ -13342,7 +13342,7 @@
|
|
|
13342
13342
|
});
|
|
13343
13343
|
};
|
|
13344
13344
|
|
|
13345
|
-
var _templateObject$O, _templateObject2$
|
|
13345
|
+
var _templateObject$O, _templateObject2$J, _templateObject3$y, _templateObject4$t;
|
|
13346
13346
|
function IdCaptureLoadingGraphic(props) {
|
|
13347
13347
|
var isMobile = window.innerHeight > window.innerWidth;
|
|
13348
13348
|
return isMobile ? jsx(IdCaptureLoadingGraphicMobile, _extends({}, props)) : jsx(IdCaptureLoadingGraphicDesktop, _extends({}, props));
|
|
@@ -13840,7 +13840,7 @@
|
|
|
13840
13840
|
});
|
|
13841
13841
|
}
|
|
13842
13842
|
var LoadingGraphicWrapper = styled.div(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 100%;\n height: 100%;\n"])));
|
|
13843
|
-
var LoadingGraphicSvg = styled.svg(_templateObject2$
|
|
13843
|
+
var LoadingGraphicSvg = styled.svg(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n margin: auto;\n transform: scale(\n ", "\n );\n transform-style: preserve-3d;\n transition:\n transform 0.2s linear,\n border-width 0.2s linear;\n border: ", "px solid\n ", ";\n max-height: 80%;\n max-width: 80%;\n"])), function (props) {
|
|
13844
13844
|
return props.$frame > 1 ? 1 : props.$frame === 1 ? 1.25 : 0.75;
|
|
13845
13845
|
}, function (props) {
|
|
13846
13846
|
return props.$frame >= 5 ? 10 : 0;
|
|
@@ -14108,7 +14108,7 @@
|
|
|
14108
14108
|
// parent's gap/padding, which would offset the fallback it sits next to.
|
|
14109
14109
|
var SpinnerSlot = 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"])));
|
|
14110
14110
|
|
|
14111
|
-
var _templateObject$M, _templateObject2$
|
|
14111
|
+
var _templateObject$M, _templateObject2$I, _templateObject3$x, _templateObject4$s, _templateObject5$p;
|
|
14112
14112
|
var legacyInstructionImageUrl$1 = DEFAULT_CDN_URL$1 + "/WebSDK-Instruction-DL-Capture-3-Portrait.png";
|
|
14113
14113
|
// Module-level so the default `now` prop has a stable identity across
|
|
14114
14114
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -14304,7 +14304,7 @@
|
|
|
14304
14304
|
var _props$theme$idCaptur2, _props$theme2;
|
|
14305
14305
|
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 : 'black';
|
|
14306
14306
|
});
|
|
14307
|
-
var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(_templateObject2$
|
|
14307
|
+
var ButtonsRow$1 = styled(LoadingOverlayButtonsRow)(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n color: ", ";\n ", "\n"])), function (props) {
|
|
14308
14308
|
var _props$theme$idCaptur3, _props$theme3;
|
|
14309
14309
|
return (_props$theme$idCaptur3 = (_props$theme3 = props.theme) == null || (_props$theme3 = _props$theme3.idCapture) == null || (_props$theme3 = _props$theme3.loadingOverlay) == null ? void 0 : _props$theme3.progressBarTextColor) != null ? _props$theme$idCaptur3 : 'white';
|
|
14310
14310
|
}, function (props) {
|
|
@@ -22958,7 +22958,7 @@
|
|
|
22958
22958
|
return bag == null ? void 0 : bag[instructionVerbiageKeys[code]];
|
|
22959
22959
|
}
|
|
22960
22960
|
|
|
22961
|
-
var _templateObject$L, _templateObject2$
|
|
22961
|
+
var _templateObject$L, _templateObject2$H, _templateObject3$w, _templateObject4$r, _templateObject5$o;
|
|
22962
22962
|
var PDF417_ASPECT_RATIO = 3 / 1;
|
|
22963
22963
|
function BarcodeGuideOverlay(_ref) {
|
|
22964
22964
|
var _ref$aspectRatio = _ref.aspectRatio,
|
|
@@ -23089,14 +23089,14 @@
|
|
|
23089
23089
|
});
|
|
23090
23090
|
}
|
|
23091
23091
|
var Wrapper = 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"])));
|
|
23092
|
-
var Canvas$1 = styled.canvas(_templateObject2$
|
|
23092
|
+
var Canvas$1 = styled.canvas(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
23093
23093
|
var TextOverlay = styled.div(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n padding-top: 48px;\n pointer-events: none;\n z-index: 2;\n"])));
|
|
23094
23094
|
var HeaderText = styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 24px;\n font-weight: 700;\n text-align: center;\n text-transform: uppercase;\n letter-spacing: 2px;\n margin-bottom: 16px;\n"])));
|
|
23095
23095
|
var InstructionText = styled.div(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteralLoose(["\n color: white;\n font-size: 16px;\n font-weight: 400;\n text-align: center;\n max-width: 300px;\n line-height: 1.4;\n opacity: 0.9;\n"])));
|
|
23096
23096
|
|
|
23097
|
-
var _templateObject$K, _templateObject2$
|
|
23097
|
+
var _templateObject$K, _templateObject2$G, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$h;
|
|
23098
23098
|
var scaleIn = 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"])));
|
|
23099
|
-
var drawCheck = keyframes(_templateObject2$
|
|
23099
|
+
var drawCheck = keyframes(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n 0% {\n stroke-dashoffset: 24;\n }\n 100% {\n stroke-dashoffset: 0;\n }\n"])));
|
|
23100
23100
|
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"])));
|
|
23101
23101
|
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) {
|
|
23102
23102
|
return props.$color;
|
|
@@ -23196,7 +23196,7 @@
|
|
|
23196
23196
|
});
|
|
23197
23197
|
}
|
|
23198
23198
|
|
|
23199
|
-
var _templateObject$J, _templateObject2$
|
|
23199
|
+
var _templateObject$J, _templateObject2$F, _templateObject3$u, _templateObject4$p, _templateObject5$m;
|
|
23200
23200
|
function OverrideWrongDocumentTypeDialog(_ref) {
|
|
23201
23201
|
var visible = _ref.visible,
|
|
23202
23202
|
onOverride = _ref.onOverride,
|
|
@@ -23235,7 +23235,7 @@
|
|
|
23235
23235
|
var _props$theme$idCaptur3, _props$theme$idCaptur4;
|
|
23236
23236
|
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';
|
|
23237
23237
|
});
|
|
23238
|
-
var InnerContainer = styled.div(_templateObject2$
|
|
23238
|
+
var InnerContainer = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n padding: 16px 24px;\n margin: auto 0;\n width: 100%;\n"])));
|
|
23239
23239
|
var Message = styled.span(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteralLoose(["\n display: block;\n margin: auto 12px auto 0;\n"])));
|
|
23240
23240
|
var ButtonContainer = styled.div(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteralLoose(["\n display: flex;\n margin-left: auto;\n"])));
|
|
23241
23241
|
var Button = styled(LoaderButton)(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteralLoose(["\n white-space: nowrap;\n margin: auto;\n"])));
|
|
@@ -23345,7 +23345,7 @@
|
|
|
23345
23345
|
});
|
|
23346
23346
|
};
|
|
23347
23347
|
|
|
23348
|
-
var _templateObject$I, _templateObject2$
|
|
23348
|
+
var _templateObject$I, _templateObject2$E;
|
|
23349
23349
|
var RING_SIZE = 74;
|
|
23350
23350
|
var RADIUS = 32;
|
|
23351
23351
|
var CIRCUMFERENCE = 2 * Math.PI * RADIUS;
|
|
@@ -23391,7 +23391,7 @@
|
|
|
23391
23391
|
});
|
|
23392
23392
|
};
|
|
23393
23393
|
var RingSvg = styled.svg(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n width: ", "px;\n height: ", "px;\n transform: rotate(-90deg);\n"])), RING_SIZE, RING_SIZE);
|
|
23394
|
-
var FillCircle = styled.circle(_templateObject2$
|
|
23394
|
+
var FillCircle = styled.circle(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n transition: stroke-dashoffset 0.3s linear;\n"])));
|
|
23395
23395
|
|
|
23396
23396
|
var selectRingStatusKey = function selectRingStatusKey(_ref) {
|
|
23397
23397
|
var ready = _ref.ready,
|
|
@@ -23406,7 +23406,7 @@
|
|
|
23406
23406
|
return 'warming';
|
|
23407
23407
|
};
|
|
23408
23408
|
|
|
23409
|
-
var _templateObject$H, _templateObject2$
|
|
23409
|
+
var _templateObject$H, _templateObject2$D, _templateObject3$t, _templateObject4$o, _templateObject5$l, _templateObject6$g, _templateObject7$e, _templateObject8$b, _templateObject9$b, _templateObject0$a, _templateObject1$9, _templateObject10$9;
|
|
23410
23410
|
/**
|
|
23411
23411
|
* The ring overlay's priming cover page (CEO prototype `#v-prime`): camera
|
|
23412
23412
|
* badge, title/subtitle, step chips, reassurance chip, "Enable camera &
|
|
@@ -23486,7 +23486,7 @@
|
|
|
23486
23486
|
});
|
|
23487
23487
|
};
|
|
23488
23488
|
var _float = keyframes(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n 0%, 100% { transform: translateY(0); }\n 50% { transform: translateY(-7px); }\n"])));
|
|
23489
|
-
var sweep = keyframes(_templateObject2$
|
|
23489
|
+
var sweep = keyframes(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n from { transform: translateX(-100%); }\n to { transform: translateX(100%); }\n"])));
|
|
23490
23490
|
var IntroLayout = styled.div(_templateObject3$t || (_templateObject3$t = _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"])));
|
|
23491
23491
|
var Badge = styled.div(_templateObject4$o || (_templateObject4$o = _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) {
|
|
23492
23492
|
return props.$color;
|
|
@@ -23536,7 +23536,7 @@
|
|
|
23536
23536
|
return requesting ? 'requesting' : 'intro';
|
|
23537
23537
|
};
|
|
23538
23538
|
|
|
23539
|
-
var _templateObject$G, _templateObject2$
|
|
23539
|
+
var _templateObject$G, _templateObject2$C, _templateObject3$s, _templateObject4$n, _templateObject5$k, _templateObject6$f, _templateObject7$d, _templateObject8$a, _templateObject9$a, _templateObject0$9, _templateObject1$8, _templateObject10$8, _templateObject11$6, _templateObject12$5, _templateObject13$5, _templateObject14$5, _templateObject15$4;
|
|
23540
23540
|
/** Minimum time a stage handoff stays on screen so its message is
|
|
23541
23541
|
* legible even when everything preloaded and readiness is instant. */
|
|
23542
23542
|
var STAGE_TRANSITION_HOLD_MS = 1600;
|
|
@@ -23596,7 +23596,7 @@
|
|
|
23596
23596
|
});
|
|
23597
23597
|
};
|
|
23598
23598
|
var badgePop = 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"])));
|
|
23599
|
-
var cardFlip = keyframes(_templateObject2$
|
|
23599
|
+
var cardFlip = keyframes(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n from { transform: rotateY(0deg); }\n to { transform: rotateY(180deg); }\n"])));
|
|
23600
23600
|
var microcopyBeat = keyframes(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n 0% { opacity: 0; transform: translateY(6px); }\n 18% { opacity: 1; transform: translateY(0); }\n 60% { opacity: 1; transform: translateY(0); }\n 80% { opacity: 0; transform: translateY(-6px); }\n 100% { opacity: 0; }\n"])));
|
|
23601
23601
|
var rise = keyframes(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 1; transform: translateY(0); }\n"])));
|
|
23602
23602
|
var riseSubtle = keyframes(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(8px); }\n to { opacity: 0.65; transform: translateY(0); }\n"])));
|
|
@@ -23627,7 +23627,7 @@
|
|
|
23627
23627
|
return props.$visible ? 1 : 0;
|
|
23628
23628
|
});
|
|
23629
23629
|
|
|
23630
|
-
var _templateObject$F, _templateObject2$
|
|
23630
|
+
var _templateObject$F, _templateObject2$B, _templateObject3$r, _templateObject4$m, _templateObject5$j, _templateObject6$e, _templateObject7$c;
|
|
23631
23631
|
// Module-level so the default `now` prop has a stable identity across
|
|
23632
23632
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
23633
23633
|
var defaultNow$2 = function defaultNow() {
|
|
@@ -23902,7 +23902,7 @@
|
|
|
23902
23902
|
});
|
|
23903
23903
|
};
|
|
23904
23904
|
var overlayFadeIn$1 = keyframes(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
23905
|
-
var RingOverlayInner$1 = styled(LoadingOverlayInner)(_templateObject2$
|
|
23905
|
+
var RingOverlayInner$1 = styled(LoadingOverlayInner)(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n ", "\n"])), function (props) {
|
|
23906
23906
|
var _props$theme$idCaptur, _props$theme;
|
|
23907
23907
|
var tintBase = (_props$theme$idCaptur = (_props$theme = props.theme) == null || (_props$theme = _props$theme.idCapture) == null || (_props$theme = _props$theme.loadingOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _props$theme$idCaptur : 'var(--idm-color-primary-500)';
|
|
23908
23908
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + tintBase + " 45%, #ffffff))";
|
|
@@ -24006,11 +24006,11 @@
|
|
|
24006
24006
|
});
|
|
24007
24007
|
};
|
|
24008
24008
|
|
|
24009
|
-
var _templateObject$E, _templateObject2$
|
|
24009
|
+
var _templateObject$E, _templateObject2$A;
|
|
24010
24010
|
var Card = 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"])));
|
|
24011
|
-
var FlexCard = styled(Card)(_templateObject2$
|
|
24011
|
+
var FlexCard = styled(Card)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
|
|
24012
24012
|
|
|
24013
|
-
var _templateObject$D, _templateObject2$
|
|
24013
|
+
var _templateObject$D, _templateObject2$z, _templateObject3$q, _templateObject4$l, _templateObject5$i, _templateObject6$d, _templateObject7$b, _templateObject8$9, _templateObject9$9, _templateObject0$8, _templateObject1$7, _templateObject10$7, _templateObject11$5, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$2, _templateObject24$1, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44;
|
|
24014
24014
|
function ReviewDocumentDiagnostics(_ref) {
|
|
24015
24015
|
var _document$detectionSc, _document$detectionSc2, _document$focusScore, _document$focusScore2;
|
|
24016
24016
|
var document = _ref.document,
|
|
@@ -24470,7 +24470,7 @@
|
|
|
24470
24470
|
});
|
|
24471
24471
|
}
|
|
24472
24472
|
var DebugInfoContainer = 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"])));
|
|
24473
|
-
var DebugSection = styled.div(_templateObject2$
|
|
24473
|
+
var DebugSection = styled.div(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 0.5rem;\n margin: 0;\n"])));
|
|
24474
24474
|
var DebugLabel = styled.span(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteralLoose(["\n width: 110px;\n flex-shrink: 0;\n color: #495057;\n font-size: 0.8125rem;\n font-weight: 600;\n"])));
|
|
24475
24475
|
var DebugValue = styled.span(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteralLoose(["\n color: #212529;\n font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;\n font-size: 0.8125rem;\n"])));
|
|
24476
24476
|
var ScoreBadge = styled.span(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n padding: 0.1875rem 0.5rem;\n border: 1px solid\n ", ";\n border-radius: 4px;\n background: ", ";\n color: ", ";\n font-size: 0.75rem;\n font-weight: 600;\n"])), function (_ref4) {
|
|
@@ -24585,7 +24585,7 @@
|
|
|
24585
24585
|
return $highlight ? '#004085' : $ok ? '#155724' : '#721c24';
|
|
24586
24586
|
});
|
|
24587
24587
|
|
|
24588
|
-
var _templateObject$C, _templateObject2$
|
|
24588
|
+
var _templateObject$C, _templateObject2$y, _templateObject3$p, _templateObject4$k, _templateObject5$h;
|
|
24589
24589
|
var imageDisplayOrder = ['idCardFront', 'idCardBack', 'idBarcodeImage', 'passport', 'singlePage', 'idFrontIrImage', 'idBackIrImage', 'idFrontUvImage', 'idBackUvImage'];
|
|
24590
24590
|
var ReviewScreen = function ReviewScreen(_ref) {
|
|
24591
24591
|
var capturedDocuments = _ref.capturedDocuments,
|
|
@@ -24673,12 +24673,12 @@
|
|
|
24673
24673
|
});
|
|
24674
24674
|
};
|
|
24675
24675
|
var Heading$9 = styled.h1(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1.5rem;\n"])));
|
|
24676
|
-
var ImagesContainer = styled(OverlayImageContainer)(_templateObject2$
|
|
24676
|
+
var ImagesContainer = styled(OverlayImageContainer)(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n overflow-y: auto;\n padding-bottom: 0;\n max-width: 100%;\n"])));
|
|
24677
24677
|
var ImageRow = styled(OverlayImageRow)(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n flex-direction: column;\n position: relative;\n width: 100%;\n"])));
|
|
24678
24678
|
var ImageCol$1 = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteralLoose(["\n width: 450px;\n max-width: 100%;\n max-height: none !important;\n"])));
|
|
24679
24679
|
var StyledImage = styled(CapturedDocumentImg)(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-radius: 12px;\n"])));
|
|
24680
24680
|
|
|
24681
|
-
var _templateObject$B, _templateObject2$
|
|
24681
|
+
var _templateObject$B, _templateObject2$x, _templateObject3$o, _templateObject4$j;
|
|
24682
24682
|
var CameraAccessDeniedOverlay = function CameraAccessDeniedOverlay(_ref) {
|
|
24683
24683
|
var _assets$imageUrl, _classNames$container;
|
|
24684
24684
|
var onRetry = _ref.onRetry,
|
|
@@ -24738,11 +24738,11 @@
|
|
|
24738
24738
|
});
|
|
24739
24739
|
};
|
|
24740
24740
|
var StyledOverlayInner$2 = styled(OverlayInner$2)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n max-width: 500px;\n height: auto;\n margin: auto;\n"])));
|
|
24741
|
-
var StyledOverlayImageContainer = styled(OverlayImageContainer)(_templateObject2$
|
|
24741
|
+
var StyledOverlayImageContainer = styled(OverlayImageContainer)(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n"])));
|
|
24742
24742
|
var Description$3 = styled.p(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 50px;\n"])));
|
|
24743
24743
|
var RetryButton$1 = styled(LoaderButton)(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 0 auto;\n"])));
|
|
24744
24744
|
|
|
24745
|
-
var _templateObject$A, _templateObject2$
|
|
24745
|
+
var _templateObject$A, _templateObject2$w, _templateObject3$n;
|
|
24746
24746
|
var ErrorScreen = function ErrorScreen(_ref) {
|
|
24747
24747
|
var error = _ref.error,
|
|
24748
24748
|
onRetry = _ref.onRetry,
|
|
@@ -24934,7 +24934,7 @@
|
|
|
24934
24934
|
// IdCaptureLoadingOverlayDefault's `theme...textColor ?? 'black'`); do the
|
|
24935
24935
|
// same here rather than inherit a foreground meant for the dark overlays.
|
|
24936
24936
|
var ErrorCard = styled(FlexCard)(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose(["\n color: black;\n"])));
|
|
24937
|
-
var Heading$8 = styled.h1(_templateObject2$
|
|
24937
|
+
var Heading$8 = styled.h1(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin-top: 0;\n margin-bottom: 1rem;\n"])));
|
|
24938
24938
|
var Description$2 = styled.p(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin-bottom: 1.5rem;\n"])));
|
|
24939
24939
|
|
|
24940
24940
|
// The one file-read both fallback screens use.
|
|
@@ -24976,7 +24976,7 @@
|
|
|
24976
24976
|
return key === 'third' ? 'ID page of passport' : 'back of ID card';
|
|
24977
24977
|
}
|
|
24978
24978
|
|
|
24979
|
-
var _templateObject$z, _templateObject2$
|
|
24979
|
+
var _templateObject$z, _templateObject2$v, _templateObject3$m, _templateObject4$i, _templateObject5$g, _templateObject6$c, _templateObject7$a;
|
|
24980
24980
|
function IdCaptureFallback(_ref) {
|
|
24981
24981
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
24982
24982
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -25146,14 +25146,14 @@
|
|
|
25146
25146
|
});
|
|
25147
25147
|
}
|
|
25148
25148
|
var StyledOverlayInner$1 = styled(OverlayInner$2)(_templateObject$z || (_templateObject$z = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
25149
|
-
var Heading$7 = styled.h3(_templateObject2$
|
|
25149
|
+
var Heading$7 = styled.h3(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
25150
25150
|
var Description$1 = styled.p(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
25151
25151
|
var Instruction = styled.p(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
25152
25152
|
var ReadFailed$1 = styled.p(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteralLoose(["\n font-weight: bold;\n"])));
|
|
25153
25153
|
var ImageCol = styled.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n flex-grow: 1;\n flex-basis: 0;\n"])));
|
|
25154
25154
|
var StyledButtonsRow$6 = styled(ButtonsRow$2)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
25155
25155
|
|
|
25156
|
-
var _templateObject$y, _templateObject2$
|
|
25156
|
+
var _templateObject$y, _templateObject2$u, _templateObject3$l, _templateObject4$h, _templateObject5$f, _templateObject6$b, _templateObject7$9, _templateObject8$8, _templateObject9$8, _templateObject0$7, _templateObject1$6, _templateObject10$6;
|
|
25157
25157
|
function IdCaptureOrUploadScreen(_ref) {
|
|
25158
25158
|
var _ref$captureRequireme = _ref.captureRequirement,
|
|
25159
25159
|
captureRequirement = _ref$captureRequireme === void 0 ? 'idCardOrPassport' : _ref$captureRequireme,
|
|
@@ -25404,7 +25404,7 @@
|
|
|
25404
25404
|
var _props$theme$backgrou, _props$theme;
|
|
25405
25405
|
return (_props$theme$backgrou = (_props$theme = props.theme) == null ? void 0 : _props$theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
25406
25406
|
});
|
|
25407
|
-
var ScreenPanel = styled.div(_templateObject2$
|
|
25407
|
+
var ScreenPanel = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n width: 100%;\n max-width: 320px;\n"])));
|
|
25408
25408
|
var DashedSeparator = styled.div(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n max-width: 320px;\n border-top: 1px dashed currentColor;\n opacity: 0.4;\n"])));
|
|
25409
25409
|
var OrWrapper = styled.span(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteralLoose(["\n transform: translateY(-50%);\n padding: 0 8px;\n background: ", ";\n"])), function (props) {
|
|
25410
25410
|
var _props$theme$backgrou2, _props$theme2;
|
|
@@ -29906,7 +29906,7 @@
|
|
|
29906
29906
|
});
|
|
29907
29907
|
}
|
|
29908
29908
|
|
|
29909
|
-
var _templateObject$v, _templateObject2$
|
|
29909
|
+
var _templateObject$v, _templateObject2$t, _templateObject3$k, _templateObject4$g;
|
|
29910
29910
|
var _excluded$d = ["borderColor", "borderOpacity", "borderWidth", "status"],
|
|
29911
29911
|
_excluded2$4 = ["status", "guideStyle"],
|
|
29912
29912
|
_excluded3 = ["frame", "borderWidth", "borderColor", "borderOpacity", "verticalAlign", "status", "guideStyle"],
|
|
@@ -29984,7 +29984,7 @@
|
|
|
29984
29984
|
// while also running the camera and face model. Waves only render while the
|
|
29985
29985
|
// status is 'ready', so the pulse replays each time the face leaves the guide.
|
|
29986
29986
|
var headGuideWavesAnimation = keyframes(_templateObject$v || (_templateObject$v = _taggedTemplateLiteralLoose(["\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 60% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n transform: scale(1.3);\n }\n"])));
|
|
29987
|
-
var PulsingHeadGuideContainer = styled.div(_templateObject2$
|
|
29987
|
+
var PulsingHeadGuideContainer = styled.div(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n height: 100%;\n max-height: 100%;\n\n & > .idmSdkWaves {\n position: absolute;\n opacity: 0;\n animation: ", " 2s ease-out 3;\n\n @media (prefers-reduced-motion: reduce) {\n display: none;\n }\n }\n\n /* Paints far past its box; the nearest clipping ancestor bounds it\n (FaceCaptureGuideOverlay clips to the capture surface). */\n & > .idmSdkSpotlight {\n position: absolute;\n overflow: visible;\n pointer-events: none;\n }\n\n & > .idmSdkWavesOrigin {\n position: relative;\n }\n"])), headGuideWavesAnimation);
|
|
29988
29988
|
function HeadGuide(_ref2) {
|
|
29989
29989
|
var _theme$selfieCapture$, _theme$selfieCapture, _theme$selfieCapture$2, _theme$selfieCapture2, _theme$selfieCapture$3, _theme$selfieCapture3, _props$className;
|
|
29990
29990
|
var _ref2$status = _ref2.status,
|
|
@@ -30293,11 +30293,11 @@
|
|
|
30293
30293
|
}));
|
|
30294
30294
|
}
|
|
30295
30295
|
|
|
30296
|
-
var _templateObject$u, _templateObject2$
|
|
30296
|
+
var _templateObject$u, _templateObject2$s;
|
|
30297
30297
|
var FaceCaptureGuideContainer = styled.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 1000;\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 padding: 40px;\n box-sizing: border-box;\n /* Keeps the spotlight dim inside the capture surface when the view is\n embedded rather than full-screen. */\n ", "\n"])), function (props) {
|
|
30298
30298
|
return props.$clip ? 'overflow: hidden;' : '';
|
|
30299
30299
|
});
|
|
30300
|
-
var FaceCaptureGuideInner = styled.div(_templateObject2$
|
|
30300
|
+
var FaceCaptureGuideInner = styled.div(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 60%;\n"])));
|
|
30301
30301
|
// Memoized: the capture surfaces re-render on every analyzed frame, but the
|
|
30302
30302
|
// guide's props only change when the mask status does.
|
|
30303
30303
|
var FaceCaptureGuideOverlay = /*#__PURE__*/React.memo(function FaceCaptureGuideOverlay(_ref) {
|
|
@@ -30608,7 +30608,7 @@
|
|
|
30608
30608
|
});
|
|
30609
30609
|
}
|
|
30610
30610
|
|
|
30611
|
-
var _templateObject$t, _templateObject2$
|
|
30611
|
+
var _templateObject$t, _templateObject2$r, _templateObject3$j, _templateObject4$f, _templateObject5$e;
|
|
30612
30612
|
var legacyInstructionImageUrl = DEFAULT_CDN_URL$1 + "/Selfie-Image-1.png";
|
|
30613
30613
|
// Module-level so the default `now` prop has a stable identity across
|
|
30614
30614
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
@@ -30786,7 +30786,7 @@
|
|
|
30786
30786
|
var _props$theme$selfieCa2, _props$theme2;
|
|
30787
30787
|
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 : 'black';
|
|
30788
30788
|
});
|
|
30789
|
-
var ButtonsRow = styled(LoadingOverlayButtonsRow)(_templateObject2$
|
|
30789
|
+
var ButtonsRow = styled(LoadingOverlayButtonsRow)(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteralLoose(["\n color: ", ";\n ", "\n"])), function (props) {
|
|
30790
30790
|
var _props$theme$selfieCa3, _props$theme3;
|
|
30791
30791
|
return (_props$theme$selfieCa3 = (_props$theme3 = props.theme) == null || (_props$theme3 = _props$theme3.selfieCapture) == null || (_props$theme3 = _props$theme3.loadingOverlay) == null ? void 0 : _props$theme3.progressBarTextColor) != null ? _props$theme$selfieCa3 : 'white';
|
|
30792
30792
|
}, function (props) {
|
|
@@ -30845,7 +30845,7 @@
|
|
|
30845
30845
|
});
|
|
30846
30846
|
}
|
|
30847
30847
|
|
|
30848
|
-
var _templateObject$s, _templateObject2$
|
|
30848
|
+
var _templateObject$s, _templateObject2$q;
|
|
30849
30849
|
var SelfieCaptureLoadingOverlayLegacy = function SelfieCaptureLoadingOverlayLegacy(_ref) {
|
|
30850
30850
|
var _assets$instructionIm;
|
|
30851
30851
|
var state = _ref.state,
|
|
@@ -30922,9 +30922,9 @@
|
|
|
30922
30922
|
});
|
|
30923
30923
|
};
|
|
30924
30924
|
var StyledGuidanceMessage = 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"])));
|
|
30925
|
-
var StyledButtonsRow$5 = styled(ButtonsRow$2)(_templateObject2$
|
|
30925
|
+
var StyledButtonsRow$5 = styled(ButtonsRow$2)(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n flex-direction: column;\n padding-top: 25px;\n"])));
|
|
30926
30926
|
|
|
30927
|
-
var _templateObject$r, _templateObject2$
|
|
30927
|
+
var _templateObject$r, _templateObject2$p, _templateObject3$i, _templateObject4$e, _templateObject5$d, _templateObject6$a, _templateObject7$8;
|
|
30928
30928
|
// Module-level so the default `now` prop has a stable identity across
|
|
30929
30929
|
// renders (it sits in useModelWarmingElapsedMs's effect dependency array).
|
|
30930
30930
|
var defaultNow = function defaultNow() {
|
|
@@ -31183,7 +31183,7 @@
|
|
|
31183
31183
|
});
|
|
31184
31184
|
};
|
|
31185
31185
|
var overlayFadeIn = keyframes(_templateObject$r || (_templateObject$r = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
31186
|
-
var RingOverlayInner = styled(LoadingOverlayInner)(_templateObject2$
|
|
31186
|
+
var RingOverlayInner = styled(LoadingOverlayInner)(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: ", ";\n ", "\n"])), function (props) {
|
|
31187
31187
|
var _props$theme$selfieCa, _props$theme;
|
|
31188
31188
|
var tintBase = (_props$theme$selfieCa = (_props$theme = props.theme) == null || (_props$theme = _props$theme.selfieCapture) == null || (_props$theme = _props$theme.loadingOverlay) == null ? void 0 : _props$theme.backgroundColor) != null ? _props$theme$selfieCa : 'var(--idm-color-primary-500)';
|
|
31189
31189
|
return "linear-gradient(180deg, #ffffff, color-mix(in srgb, " + tintBase + " 45%, #ffffff))";
|
|
@@ -31225,7 +31225,7 @@
|
|
|
31225
31225
|
return jsx(Component, _extends({}, props));
|
|
31226
31226
|
};
|
|
31227
31227
|
|
|
31228
|
-
var _templateObject$q, _templateObject2$
|
|
31228
|
+
var _templateObject$q, _templateObject2$o, _templateObject3$h, _templateObject4$d, _templateObject5$c, _templateObject6$9;
|
|
31229
31229
|
function SelfieCaptureFallback(_ref) {
|
|
31230
31230
|
var _ref$silentFallback = _ref.silentFallback,
|
|
31231
31231
|
silentFallback = _ref$silentFallback === void 0 ? false : _ref$silentFallback,
|
|
@@ -31380,13 +31380,13 @@
|
|
|
31380
31380
|
});
|
|
31381
31381
|
}
|
|
31382
31382
|
var StyledOverlayInner = styled(OverlayInner$2)(_templateObject$q || (_templateObject$q = _taggedTemplateLiteralLoose(["\n justify-content: center;\n padding: 24px;\n box-sizing: border-box;\n"])));
|
|
31383
|
-
var Heading$6 = styled.h1(_templateObject2$
|
|
31383
|
+
var Heading$6 = styled.h1(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteralLoose(["\n font-size: 1.5rem;\n margin: 0 0 1rem;\n"])));
|
|
31384
31384
|
var Description = styled.p(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteralLoose(["\n line-height: 1.5;\n margin: 0 0 1.5rem;\n"])));
|
|
31385
31385
|
var ImageContainer$4 = styled.div(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n margin-bottom: 1.5rem;\n\n & > img {\n max-width: 100%;\n max-height: 40vh;\n border-radius: 8px;\n }\n"])));
|
|
31386
31386
|
var ReadFailed = styled.p(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose(["\n margin: 0 0 1rem;\n"])));
|
|
31387
31387
|
var StyledButtonsRow$4 = styled(ButtonsRow$2)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 12px;\n justify-content: center;\n"])));
|
|
31388
31388
|
|
|
31389
|
-
var _templateObject$p, _templateObject2$
|
|
31389
|
+
var _templateObject$p, _templateObject2$n;
|
|
31390
31390
|
function SelfieCaptureSurface(_ref) {
|
|
31391
31391
|
var _state$error, _state$error2, _state$captureRecover, _state$error5, _state$captureRecover2, _state$prediction, _state$prediction$sam, _state$prediction2, _state$prediction3, _state$prediction4, _state$prediction5, _state$prediction6, _state$prediction7, _state$prediction8, _state$prediction9, _state$prediction0, _state$prediction1, _state$prediction$bri, _state$prediction10, _state$prediction$ran, _state$prediction11, _state$prediction$var, _state$prediction12, _assets$loadingOverla, _classNames$loadingOv, _colors$loadingOverla, _verbiage$loadingOver;
|
|
31392
31392
|
var controller = _ref.controller,
|
|
@@ -31783,7 +31783,7 @@
|
|
|
31783
31783
|
}
|
|
31784
31784
|
var ManualCaptureButtonContainer = styled.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 4;\n left: 50%;\n bottom: 24px;\n transform: translateX(-50%);\n"])));
|
|
31785
31785
|
// A footer below the camera keeps the lighting guidance visible above it.
|
|
31786
|
-
var CaptureRecoveryActions = styled.div(_templateObject2$
|
|
31786
|
+
var CaptureRecoveryActions = styled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 10001;\n inset: auto 0 0;\n padding: 16px 24px max(16px, env(safe-area-inset-bottom));\n background: white;\n color: #333;\n text-align: center;\n display: grid;\n justify-items: center;\n gap: 12px;\n\n p { margin: 0; font-size: 14px; line-height: 1.4; }\n button { width: 100%; max-width: 320px; }\n"])));
|
|
31787
31787
|
|
|
31788
31788
|
// Byte-identical to sdk2's verbiage defaults
|
|
31789
31789
|
// (SelfieCapture.tsx:273-284, FaceLivenessCapture.tsx:845-912), except
|
|
@@ -32112,7 +32112,7 @@
|
|
|
32112
32112
|
});
|
|
32113
32113
|
}
|
|
32114
32114
|
|
|
32115
|
-
var _templateObject$n, _templateObject2$
|
|
32115
|
+
var _templateObject$n, _templateObject2$m;
|
|
32116
32116
|
var FaceLivenessSuccess = function FaceLivenessSuccess(_ref) {
|
|
32117
32117
|
var imageUrl = _ref.imageUrl,
|
|
32118
32118
|
onDoneClick = _ref.onDoneClick,
|
|
@@ -32176,9 +32176,9 @@
|
|
|
32176
32176
|
});
|
|
32177
32177
|
};
|
|
32178
32178
|
var ImageContainer$3 = styled.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteralLoose(["\n position: relative;\n flex-grow: 1;\n margin-bottom: 25px;\n max-width: 100%;\n max-height: 100%;\n overflow-y: auto;\n border-radius: 12px;\n\n & > img,\n & > svg {\n width: 100%;\n max-width: 100%;\n margin: 0 auto;\n display: block;\n border-radius: 12px;\n }\n"])));
|
|
32179
|
-
var Heading$5 = styled.h3(_templateObject2$
|
|
32179
|
+
var Heading$5 = styled.h3(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteralLoose(["\n font-size: 1.2rem;\n margin: 0;\n"])));
|
|
32180
32180
|
|
|
32181
|
-
var _templateObject$m, _templateObject2$
|
|
32181
|
+
var _templateObject$m, _templateObject2$l;
|
|
32182
32182
|
var FaceLivenessFailure = function FaceLivenessFailure(_ref) {
|
|
32183
32183
|
var _assets$imageUrl;
|
|
32184
32184
|
var _ref$canRetry = _ref.canRetry,
|
|
@@ -32237,7 +32237,7 @@
|
|
|
32237
32237
|
});
|
|
32238
32238
|
};
|
|
32239
32239
|
var ImageContainer$2 = styled(OverlayImageContainer)(_templateObject$m || (_templateObject$m = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
32240
|
-
var Heading$4 = styled.h3(_templateObject2$
|
|
32240
|
+
var Heading$4 = styled.h3(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteralLoose(["\n margin-bottom: 36px;\n"])));
|
|
32241
32241
|
|
|
32242
32242
|
var _templateObject$l;
|
|
32243
32243
|
// The FaceMessageCode a ladder resolved -> the FaceLivenessGuidanceVerbiage
|
|
@@ -37016,7 +37016,7 @@
|
|
|
37016
37016
|
return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
37017
37017
|
}
|
|
37018
37018
|
|
|
37019
|
-
var _templateObject$k, _templateObject2$
|
|
37019
|
+
var _templateObject$k, _templateObject2$k, _templateObject3$g, _templateObject4$c, _templateObject5$b, _templateObject6$8;
|
|
37020
37020
|
var _excluded$b = ["device", "frameDecode"];
|
|
37021
37021
|
var ASSUMED_TRIM_PADDING = {
|
|
37022
37022
|
startMs: TRIM_PADDING_START_MS,
|
|
@@ -37296,7 +37296,7 @@
|
|
|
37296
37296
|
}
|
|
37297
37297
|
var MONO = "'Monaco', 'Menlo', 'Ubuntu Mono', monospace";
|
|
37298
37298
|
var Panel = styled.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n width: min(720px, 90vw);\n margin-top: 0.75rem;\n padding: 0.625rem;\n background: #f8f9fa;\n border: 1px solid #e9ecef;\n border-radius: 6px;\n text-align: left;\n overflow-x: auto;\n"])));
|
|
37299
|
-
var Table = styled.table(_templateObject2$
|
|
37299
|
+
var Table = styled.table(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n width: 100%;\n border-collapse: collapse;\n font-family: ", ";\n font-size: 0.8125rem;\n line-height: 1.35;\n"])), MONO);
|
|
37300
37300
|
var SectionCell = styled.th(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteralLoose(["\n padding: 0.5rem 0 0.25rem;\n border-bottom: 1px solid #e9ecef;\n color: #495057;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.04em;\n text-align: left;\n text-transform: uppercase;\n"])));
|
|
37301
37301
|
var LabelCell = styled.td(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteralLoose(["\n width: 45%;\n padding: 0.1875rem 0.5rem 0.1875rem 0;\n color: #495057;\n font-weight: 600;\n vertical-align: top;\n"])));
|
|
37302
37302
|
var ValueCell = styled.td(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n padding: 0.1875rem 0;\n color: ", ";\n font-weight: ", ";\n vertical-align: top;\n word-break: break-word;\n"])), function (props) {
|
|
@@ -37306,7 +37306,7 @@
|
|
|
37306
37306
|
});
|
|
37307
37307
|
var Note = styled.span(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteralLoose(["\n display: block;\n color: #6c757d;\n font-weight: 400;\n"])));
|
|
37308
37308
|
|
|
37309
|
-
var _templateObject$j, _templateObject2$
|
|
37309
|
+
var _templateObject$j, _templateObject2$j, _templateObject3$f, _templateObject4$b, _templateObject5$a;
|
|
37310
37310
|
function MessageOverlay(_ref) {
|
|
37311
37311
|
var heading = _ref.heading,
|
|
37312
37312
|
children = _ref.children,
|
|
@@ -37527,12 +37527,12 @@
|
|
|
37527
37527
|
});
|
|
37528
37528
|
}
|
|
37529
37529
|
var CenteredInner = styled(OverlayInner$2)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n justify-content: center;\n align-items: center;\n max-width: 640px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 32px;\n"])));
|
|
37530
|
-
var Content = styled.div(_templateObject2$
|
|
37530
|
+
var Content = styled.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteralLoose(["\n max-width: 540px;\n line-height: 1.55;\n"])));
|
|
37531
37531
|
var Details = styled.p(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteralLoose(["\n margin: 12px 0 0;\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 0.875rem;\n"])));
|
|
37532
37532
|
var PermissionImage = styled(OverlayImageContainer)(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteralLoose(["\n flex-grow: 0;\n width: min(180px, 45vw);\n"])));
|
|
37533
37533
|
var RetryButton = styled(LoaderButton)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteralLoose(["\n width: 200px;\n margin: 32px auto 0;\n"])));
|
|
37534
37534
|
|
|
37535
|
-
var _templateObject$i, _templateObject2$
|
|
37535
|
+
var _templateObject$i, _templateObject2$i, _templateObject3$e, _templateObject4$a, _templateObject5$9, _templateObject6$7, _templateObject7$7, _templateObject8$7, _templateObject9$7, _templateObject0$6, _templateObject1$5, _templateObject10$5, _templateObject11$4, _templateObject12$3, _templateObject13$3, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1;
|
|
37536
37536
|
var FALLBACKS = {
|
|
37537
37537
|
headingText: "Please sign the box below",
|
|
37538
37538
|
signHereText: "Sign here",
|
|
@@ -38112,7 +38112,7 @@
|
|
|
38112
38112
|
return (_props$theme$textColo = props.theme.textColor) != null ? _props$theme$textColo : "#26332e";
|
|
38113
38113
|
});
|
|
38114
38114
|
/** Sits below the pad's stacking context and never receives signing input. */
|
|
38115
|
-
var LiveDiagnostics = styled.div(_templateObject2$
|
|
38115
|
+
var LiveDiagnostics = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 0;\n top: 64px;\n left: 20px;\n display: grid;\n padding: 8px;\n color: limegreen;\n background: rgba(0, 0, 0, 0.65);\n font: 14px/20px monospace;\n pointer-events: none;\n\n @container signature-capture (max-width: 1024px) {\n top: 12px;\n left: 12px;\n right: 12px;\n grid-template-columns: repeat(2, max-content);\n column-gap: 12px;\n font-size: clamp(11px, 3cqw, 12px);\n line-height: 18px;\n\n > :first-child {\n grid-column: 1 / -1;\n }\n }\n"])));
|
|
38116
38116
|
/**
|
|
38117
38117
|
* Black behind the feed. WebKit snaps the mirrored front-camera video's layer
|
|
38118
38118
|
* to device pixels and can leave one column uncovered along an edge, which
|
|
@@ -39634,7 +39634,7 @@
|
|
|
39634
39634
|
return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
39635
39635
|
}
|
|
39636
39636
|
|
|
39637
|
-
var _templateObject$h, _templateObject2$
|
|
39637
|
+
var _templateObject$h, _templateObject2$h, _templateObject3$d, _templateObject4$9, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$6, _templateObject9$6, _templateObject0$5;
|
|
39638
39638
|
/**
|
|
39639
39639
|
* The combined face-over-document guide used by SDK2's Video ID recording
|
|
39640
39640
|
* stage. Unlike the standalone ID overlay, both subjects remain framed in a
|
|
@@ -39849,7 +39849,7 @@
|
|
|
39849
39849
|
var _props$theme;
|
|
39850
39850
|
return (_props$theme = props.theme) == null ? void 0 : _props$theme.fontFamily;
|
|
39851
39851
|
});
|
|
39852
|
-
var Inner$1 = styled.div(_templateObject2$
|
|
39852
|
+
var Inner$1 = styled.div(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n max-height: 1280px;\n margin: auto;\n"])));
|
|
39853
39853
|
var FaceGuideContainer = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 65%;\n"])));
|
|
39854
39854
|
var IdCardGuideContainer = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-flow: column nowrap;\n width: 100%;\n max-width: 100%;\n height: 35%;\n margin: 0 auto;\n"])));
|
|
39855
39855
|
var IdCardGuideInner = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n height: 100%;\n"])));
|
|
@@ -39880,7 +39880,7 @@
|
|
|
39880
39880
|
};
|
|
39881
39881
|
(_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);
|
|
39882
39882
|
|
|
39883
|
-
var _templateObject$g, _templateObject2$
|
|
39883
|
+
var _templateObject$g, _templateObject2$g, _templateObject3$c, _templateObject4$8, _templateObject5$7, _templateObject6$5, _templateObject7$5, _templateObject8$5, _templateObject9$5;
|
|
39884
39884
|
function VideoIdCaptureView(props) {
|
|
39885
39885
|
var _props$lang;
|
|
39886
39886
|
return jsx(SdkLanguageProvider, {
|
|
@@ -40217,7 +40217,7 @@
|
|
|
40217
40217
|
});
|
|
40218
40218
|
}
|
|
40219
40219
|
var Root$1 = styled.div(_templateObject$g || (_templateObject$g = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n overflow: hidden;\n"])));
|
|
40220
|
-
var CameraLayer = styled.div(_templateObject2$
|
|
40220
|
+
var CameraLayer = styled.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteralLoose(["\n position: absolute;\n inset: 0;\n display: ", ";\n isolation: isolate;\n"])), function (props) {
|
|
40221
40221
|
return props.$visible ? 'flex' : 'none';
|
|
40222
40222
|
});
|
|
40223
40223
|
var ReadTextPrompt = styled.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 12px;\n padding: 24px;\n"])));
|
|
@@ -40241,7 +40241,7 @@
|
|
|
40241
40241
|
return shimExports.useSyncExternalStore(subscribe, controller.getState, controller.getState);
|
|
40242
40242
|
}
|
|
40243
40243
|
|
|
40244
|
-
var _templateObject$f, _templateObject2$
|
|
40244
|
+
var _templateObject$f, _templateObject2$f, _templateObject3$b, _templateObject4$7, _templateObject5$6;
|
|
40245
40245
|
/** Human wording for each gate, in the order the engine reports them. */
|
|
40246
40246
|
/** Short enough that the triple fits one line on a phone. */
|
|
40247
40247
|
var GUIDANCE_LABELS = {
|
|
@@ -40543,7 +40543,7 @@
|
|
|
40543
40543
|
// `DebugStatsPaneDiv` sets `pointer-events: none` so the shared pane can never
|
|
40544
40544
|
// swallow a capture tap. This one has to be tappable, so it re-enables them on
|
|
40545
40545
|
// its own subtree only.
|
|
40546
|
-
var InteractivePane = styled.span(_templateObject2$
|
|
40546
|
+
var InteractivePane = styled.span(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n pointer-events: auto;\n display: block;\n cursor: pointer;\n user-select: none;\n"])));
|
|
40547
40547
|
var Row = styled.span(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
40548
40548
|
var Controls = styled.span(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n gap: 6px;\n margin-top: 6px;\n"])));
|
|
40549
40549
|
var Chip = styled.button(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteralLoose(["\n font: bold 11px monospace;\n padding: 4px 8px;\n border: 1px solid limegreen;\n border-radius: 3px;\n background: ", ";\n color: ", ";\n cursor: pointer;\n"])), function (_ref5) {
|
|
@@ -40554,7 +40554,7 @@
|
|
|
40554
40554
|
return $active ? 'black' : 'limegreen';
|
|
40555
40555
|
});
|
|
40556
40556
|
|
|
40557
|
-
var _templateObject$e, _templateObject2$
|
|
40557
|
+
var _templateObject$e, _templateObject2$e, _templateObject3$a;
|
|
40558
40558
|
/**
|
|
40559
40559
|
* Which verbiage member renders each code.
|
|
40560
40560
|
*
|
|
@@ -40640,7 +40640,7 @@
|
|
|
40640
40640
|
* Follows the text colour while unsatisfied, so a themed chip needs no dot
|
|
40641
40641
|
* colour of its own.
|
|
40642
40642
|
*/
|
|
40643
|
-
var StateDot = styled.span(_templateObject2$
|
|
40643
|
+
var StateDot = styled.span(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteralLoose(["\n flex: none;\n width: 7px;\n height: 7px;\n border-radius: 50%;\n background: ", ";\n opacity: ", ";\n transition:\n background-color 160ms ease-out,\n opacity 160ms ease-out;\n"])), function (_ref4) {
|
|
40644
40644
|
var $satisfied = _ref4.$satisfied;
|
|
40645
40645
|
return $satisfied ? '#7ef0d2' : 'currentColor';
|
|
40646
40646
|
}, function (_ref5) {
|
|
@@ -40671,7 +40671,7 @@
|
|
|
40671
40671
|
*/
|
|
40672
40672
|
var ManualCaptureHint = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteralLoose(["\n max-width: min(88%, 38ch);\n padding: 7px 14px;\n border-radius: 12px;\n font-size: 12px;\n font-weight: 500;\n line-height: 1.4;\n text-align: center;\n color: rgba(255, 255, 255, 0.86);\n background: rgba(10, 14, 19, 0.7);\n"])));
|
|
40673
40673
|
|
|
40674
|
-
var _templateObject$d, _templateObject2$
|
|
40674
|
+
var _templateObject$d, _templateObject2$d, _templateObject3$9;
|
|
40675
40675
|
function DocumentCaptureReviewScreen(_ref) {
|
|
40676
40676
|
var contentUrl = _ref.contentUrl,
|
|
40677
40677
|
headingText = _ref.headingText,
|
|
@@ -40730,7 +40730,7 @@
|
|
|
40730
40730
|
// `min-height: 0` is what actually lets this shrink inside the flex card —
|
|
40731
40731
|
// without it the default `min-height: auto` floors the wrapper at the image's
|
|
40732
40732
|
// intrinsic height and the buttons get pushed off the bottom of a phone.
|
|
40733
|
-
var ImageWrap = styled.div(_templateObject2$
|
|
40733
|
+
var ImageWrap = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteralLoose(["\n flex: 1;\n min-height: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 18px;\n"])));
|
|
40734
40734
|
var PreviewImage$1 = styled.img(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n max-height: 100%;\n object-fit: contain;\n border-radius: 4px;\n border: 1px solid #e2e2e8;\n"])));
|
|
40735
40735
|
|
|
40736
40736
|
function computeGuideRect$1(_ref) {
|
|
@@ -40768,7 +40768,7 @@
|
|
|
40768
40768
|
};
|
|
40769
40769
|
}
|
|
40770
40770
|
|
|
40771
|
-
var _templateObject$c, _templateObject2$
|
|
40771
|
+
var _templateObject$c, _templateObject2$c;
|
|
40772
40772
|
/**
|
|
40773
40773
|
* How far the camera feed overhangs the guide box on each side, in CSS pixels.
|
|
40774
40774
|
*
|
|
@@ -41008,9 +41008,9 @@
|
|
|
41008
41008
|
var CanvasWrapper = styled.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteralLoose(["\n flex-grow: 1;\n /* REQUIRED, not tidying. setCanvasDimensions puts an explicit pixel height on\n the child canvas, and a flex item's default min-height of auto floors it at\n its content \u2014 so this wrapper can grow but can never shrink back.\n\n It bit on exactly one transition: while auto-capture is guiding, the header\n is absolutely positioned and out of flow, so the wrapper is measured at the\n FULL surface height and the canvas is pinned there. Accepting the manual\n fallback swaps in the in-flow heading bar, the column then needs this item\n to give back that height, an auto min-height refuses, and the surface\n overflows by the header's height \u2014 carrying the footer, and the Capture\n button the applicant just asked for, below the fold with nothing to\n scroll.\n\n No backticks in this comment: it lives inside a styled-components template\n literal, where one would end the template. */\n min-height: 0;\n background-clip: padding-box;\n box-shadow: inset 0 0 0 2px ", ";\n"])), function (props) {
|
|
41009
41009
|
return props.$maskColor;
|
|
41010
41010
|
});
|
|
41011
|
-
var Canvas = styled.canvas(_templateObject2$
|
|
41011
|
+
var Canvas = styled.canvas(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteralLoose(["\n display: block;\n"])));
|
|
41012
41012
|
|
|
41013
|
-
var _templateObject$b, _templateObject2$
|
|
41013
|
+
var _templateObject$b, _templateObject2$b, _templateObject3$8, _templateObject4$6, _templateObject5$5, _templateObject6$4, _templateObject7$4, _templateObject8$4, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$3, _templateObject12$2, _templateObject13$2, _templateObject14$2;
|
|
41014
41014
|
/** The verbiage fallbacks, exported so the i18n parity test reads the real
|
|
41015
41015
|
* literals rather than a second copy that could drift from them. */
|
|
41016
41016
|
var DOCUMENT_CAPTURE_FALLBACK_VERBIAGE = {
|
|
@@ -41582,7 +41582,7 @@
|
|
|
41582
41582
|
* `pointer-events: none` because nothing in here is tappable and the shutter
|
|
41583
41583
|
* is centred directly below it.
|
|
41584
41584
|
*/
|
|
41585
|
-
var GuidedBottomStack = styled.div(_templateObject2$
|
|
41585
|
+
var GuidedBottomStack = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n right: 0;\n z-index: 10001;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 8px;\n pointer-events: none;\n\n ", "\n"])), function (_ref2) {
|
|
41586
41586
|
var $centreY = _ref2.$centreY,
|
|
41587
41587
|
$aboveShutter = _ref2.$aboveShutter;
|
|
41588
41588
|
if (!$aboveShutter) {
|
|
@@ -41937,7 +41937,7 @@
|
|
|
41937
41937
|
});
|
|
41938
41938
|
};
|
|
41939
41939
|
|
|
41940
|
-
var _templateObject$a, _templateObject2$
|
|
41940
|
+
var _templateObject$a, _templateObject2$a, _templateObject3$7, _templateObject4$5, _templateObject5$4;
|
|
41941
41941
|
// The `useTranslations` fallback defaults, exported so the i18n parity
|
|
41942
41942
|
// guard (additionalDocumentStrings.test.ts) can assert every non-English
|
|
41943
41943
|
// locale carries these exact literals by reading them from here rather than
|
|
@@ -42106,7 +42106,7 @@
|
|
|
42106
42106
|
});
|
|
42107
42107
|
}
|
|
42108
42108
|
var Inner = styled(OverlayInner$2)(_templateObject$a || (_templateObject$a = _taggedTemplateLiteralLoose(["\n justify-content: center;\n"])));
|
|
42109
|
-
var Heading$2 = styled.h3(_templateObject2$
|
|
42109
|
+
var Heading$2 = styled.h3(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
42110
42110
|
var DescriptionText = styled.p(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
42111
42111
|
var ErrorText = styled.p(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 8px;\n"])));
|
|
42112
42112
|
var StyledButtonsRow$2 = styled(ButtonsRow$2)(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteralLoose(["\n margin-top: 32px;\n"])));
|
|
@@ -42232,7 +42232,7 @@
|
|
|
42232
42232
|
}, index);
|
|
42233
42233
|
}
|
|
42234
42234
|
|
|
42235
|
-
var _templateObject$9, _templateObject2$
|
|
42235
|
+
var _templateObject$9, _templateObject2$9, _templateObject3$6, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$3, _templateObject8$3, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3;
|
|
42236
42236
|
var CONFETTI_COUNT = 44;
|
|
42237
42237
|
var CONFETTI_LIFETIME_MS = 4500;
|
|
42238
42238
|
/**
|
|
@@ -42354,7 +42354,7 @@
|
|
|
42354
42354
|
});
|
|
42355
42355
|
};
|
|
42356
42356
|
var fadeIn$1 = keyframes(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
42357
|
-
var popCheck = keyframes(_templateObject2$
|
|
42357
|
+
var popCheck = keyframes(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteralLoose(["\n to { transform: scale(1); opacity: 1; }\n"])));
|
|
42358
42358
|
var drawTick = keyframes(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n to { stroke-dashoffset: 0; }\n"])));
|
|
42359
42359
|
var confettiFall = keyframes(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n to { transform: translateY(110vh) rotate(720deg); opacity: 0.7; }\n"])));
|
|
42360
42360
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
@@ -42376,7 +42376,7 @@
|
|
|
42376
42376
|
var StatChip = styled.div(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteralLoose(["\n background: #ffffff;\n border: 1px solid rgb(0 0 0 / 0.08);\n border-radius: 12px;\n padding: 9px 14px;\n font-size: 11.5px;\n opacity: 0.9;\n display: flex;\n flex-direction: column;\n gap: 2px;\n\n b {\n font-size: 14px;\n }\n"])));
|
|
42377
42377
|
var ConfettiPiece = styled.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n width: 9px;\n height: 14px;\n top: -20px;\n opacity: 0.95;\n z-index: 5;\n animation-name: ", ";\n animation-timing-function: linear;\n animation-fill-mode: forwards;\n\n @media (prefers-reduced-motion: reduce) {\n display: none;\n }\n"])), confettiFall);
|
|
42378
42378
|
|
|
42379
|
-
var _templateObject$8, _templateObject2$
|
|
42379
|
+
var _templateObject$8, _templateObject2$8, _templateObject3$5, _templateObject4$3, _templateObject5$2, _templateObject6$2, _templateObject7$2, _templateObject8$2, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16$1;
|
|
42380
42380
|
var toDataUrl$2 = function toDataUrl(value) {
|
|
42381
42381
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
42382
42382
|
};
|
|
@@ -42559,7 +42559,7 @@
|
|
|
42559
42559
|
});
|
|
42560
42560
|
};
|
|
42561
42561
|
var enter = keyframes(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: translateY(12px); filter: blur(4px); }\n to { opacity: 1; transform: translateY(0); filter: blur(0); }\n"])));
|
|
42562
|
-
var markIn = keyframes(_templateObject2$
|
|
42562
|
+
var markIn = keyframes(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; transform: scale(0.25); filter: blur(4px); }\n to { opacity: 1; transform: scale(1); filter: blur(0); }\n"])));
|
|
42563
42563
|
// The gradient is light WHATEVER the theme says — it mixes the tint into white
|
|
42564
42564
|
// rather than replacing it — so the foreground is pinned here instead of taken
|
|
42565
42565
|
// from `loadingOverlay.textColor`. A 2.x theme sets that key for the DARK
|
|
@@ -42601,7 +42601,7 @@
|
|
|
42601
42601
|
});
|
|
42602
42602
|
var SecondaryAction = styled(LoaderButton)(_templateObject16$1 || (_templateObject16$1 = _taggedTemplateLiteralLoose(["\n && {\n min-height: 44px;\n border: none;\n border-radius: 22px;\n padding: 10px 22px;\n background-color: transparent;\n color: #26312e;\n font-size: 14px;\n font-weight: 600;\n opacity: 0.7;\n box-shadow: none;\n transition-property: transform, opacity, background-color;\n transition-duration: 150ms;\n transition-timing-function: ease-out;\n\n &:hover:not(.disabled) {\n opacity: 1;\n background-color: rgb(255 255 255 / 0.45);\n }\n\n &:active:not(.disabled) {\n transform: scale(0.96);\n }\n\n &:focus-visible {\n outline: none;\n opacity: 1;\n box-shadow: 0 0 0 3px rgb(0 0 0 / 0.09);\n }\n\n @media (prefers-reduced-motion: reduce) {\n &:hover:not(.disabled),\n &:active:not(.disabled) {\n transform: none;\n }\n }\n }\n"])));
|
|
42603
42603
|
|
|
42604
|
-
var _templateObject$7, _templateObject2$
|
|
42604
|
+
var _templateObject$7, _templateObject2$7, _templateObject3$4, _templateObject4$2, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8$1, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1;
|
|
42605
42605
|
var toDataUrl$1 = function toDataUrl(value) {
|
|
42606
42606
|
return value.startsWith('data:') ? value : "data:image/jpeg;base64," + value;
|
|
42607
42607
|
};
|
|
@@ -42708,7 +42708,7 @@
|
|
|
42708
42708
|
});
|
|
42709
42709
|
};
|
|
42710
42710
|
var fadeIn = keyframes(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteralLoose(["\n from { opacity: 0; }\n to { opacity: 1; }\n"])));
|
|
42711
|
-
var spin = keyframes(_templateObject2$
|
|
42711
|
+
var spin = keyframes(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteralLoose(["\n to { transform: rotate(360deg); }\n"])));
|
|
42712
42712
|
// Light surface whatever the theme says — see RingFailureScreen's FailureInner
|
|
42713
42713
|
// for why the foreground is pinned rather than read from the theme.
|
|
42714
42714
|
var FinishingInner = styled(LoadingOverlayInner)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteralLoose(["\n background: ", ";\n color: #12211d;\n animation: ", " 250ms ease-out both;\n"])), function (props) {
|
|
@@ -42761,7 +42761,7 @@
|
|
|
42761
42761
|
return flowStartedAt === null ? null : Date.now() - flowStartedAt;
|
|
42762
42762
|
};
|
|
42763
42763
|
|
|
42764
|
-
var _templateObject$6, _templateObject2$
|
|
42764
|
+
var _templateObject$6, _templateObject2$6, _templateObject3$3;
|
|
42765
42765
|
var DEFAULT_HEADING$1 = {
|
|
42766
42766
|
identification: 'Customer has been identified!',
|
|
42767
42767
|
verification: 'Customer has been verified!'
|
|
@@ -42819,10 +42819,10 @@
|
|
|
42819
42819
|
});
|
|
42820
42820
|
}
|
|
42821
42821
|
var Heading$1 = styled.h3(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
42822
|
-
var ImageContainer$1 = styled(ButtonsRow$2)(_templateObject2$
|
|
42822
|
+
var ImageContainer$1 = styled(ButtonsRow$2)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
42823
42823
|
var StyledButtonsRow$1 = styled(ButtonsRow$2)(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
42824
42824
|
|
|
42825
|
-
var _templateObject$5, _templateObject2$
|
|
42825
|
+
var _templateObject$5, _templateObject2$5, _templateObject3$2;
|
|
42826
42826
|
var DEFAULT_HEADING = {
|
|
42827
42827
|
identification: 'Customer not found',
|
|
42828
42828
|
verification: 'Customer not verified'
|
|
@@ -42883,7 +42883,7 @@
|
|
|
42883
42883
|
});
|
|
42884
42884
|
}
|
|
42885
42885
|
var Heading = styled.h3(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n margin-bottom: 24px;\n"])));
|
|
42886
|
-
var ImageContainer = styled(ButtonsRow$2)(_templateObject2$
|
|
42886
|
+
var ImageContainer = styled(ButtonsRow$2)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 185px);\n"])));
|
|
42887
42887
|
var StyledButtonsRow = styled(ButtonsRow$2)(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteralLoose(["\n margin-top: 24px;\n"])));
|
|
42888
42888
|
|
|
42889
42889
|
var SubmissionContext = /*#__PURE__*/React.createContext(null);
|
|
@@ -43276,7 +43276,7 @@
|
|
|
43276
43276
|
return elements;
|
|
43277
43277
|
};
|
|
43278
43278
|
|
|
43279
|
-
var _templateObject$4, _templateObject2$
|
|
43279
|
+
var _templateObject$4, _templateObject2$4, _templateObject3$1, _templateObject4$1, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24;
|
|
43280
43280
|
function _createForOfIteratorHelperLoose$f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray$f(r)) || e) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: true } : { done: false, value: r[o++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
43281
43281
|
function _unsupportedIterableToArray$f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$f(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$f(r, a) : void 0; } }
|
|
43282
43282
|
function _arrayLikeToArray$f(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -43842,7 +43842,7 @@
|
|
|
43842
43842
|
});
|
|
43843
43843
|
}
|
|
43844
43844
|
var SuccessInner = styled(OverlayInner$2)(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteralLoose(["\n box-sizing: border-box;\n max-width: 900px;\n height: auto;\n min-height: 100%;\n margin: auto;\n padding: 40px;\n text-align: left;\n"])));
|
|
43845
|
-
var Header = styled.header(_templateObject2$
|
|
43845
|
+
var Header = styled.header(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 24px;\n"])));
|
|
43846
43846
|
var Eyebrow = styled.p(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteralLoose(["\n margin: 0 0 6px;\n color: #277553;\n font-size: 0.75rem;\n font-weight: 700;\n letter-spacing: 0.08em;\n text-transform: uppercase;\n"])));
|
|
43847
43847
|
var TimingGrid = styled.dl(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));\n gap: 12px;\n margin: 16px 0 24px;\n"])));
|
|
43848
43848
|
var TimingCard = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n padding: 14px;\n border: 1px solid #d9e2dc;\n border-radius: 8px;\n\n dt {\n color: #62706a;\n font-size: 0.75rem;\n }\n\n dd {\n margin: 6px 0 0;\n font-variant-numeric: tabular-nums;\n font-weight: 700;\n }\n"])));
|
|
@@ -44709,7 +44709,7 @@
|
|
|
44709
44709
|
}, a));
|
|
44710
44710
|
}
|
|
44711
44711
|
|
|
44712
|
-
var _templateObject$3, _templateObject2$
|
|
44712
|
+
var _templateObject$3, _templateObject2$3;
|
|
44713
44713
|
function OrbStatusScreen(_ref) {
|
|
44714
44714
|
var state = _ref.state,
|
|
44715
44715
|
text = _ref.text,
|
|
@@ -44771,7 +44771,7 @@
|
|
|
44771
44771
|
var _props$theme$textColo;
|
|
44772
44772
|
return (_props$theme$textColo = props.theme.textColor) != null ? _props$theme$textColo : '#26332e';
|
|
44773
44773
|
});
|
|
44774
|
-
var Label = styled.span(_templateObject2$
|
|
44774
|
+
var Label = styled.span(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteralLoose(["\n max-width: 32rem;\n text-align: center;\n text-wrap: pretty;\n font-size: 14px;\n font-weight: 600;\n letter-spacing: 0.01em;\n"])));
|
|
44775
44775
|
|
|
44776
44776
|
function CompositeWizard(_ref) {
|
|
44777
44777
|
var _successScreen$isAppr;
|
|
@@ -45731,7 +45731,7 @@
|
|
|
45731
45731
|
return null;
|
|
45732
45732
|
}
|
|
45733
45733
|
|
|
45734
|
-
var _templateObject$2;
|
|
45734
|
+
var _templateObject$2, _templateObject2$2;
|
|
45735
45735
|
var _excluded$9 = ["client", "action", "submission", "theme", "className", "geolocationEnabled", "geolocationRequired", "captureProgress", "remoteDiagnostics", "loadingSpinner", "children"];
|
|
45736
45736
|
function FlowChassis(_ref) {
|
|
45737
45737
|
var client = _ref.client,
|
|
@@ -45825,7 +45825,26 @@
|
|
|
45825
45825
|
return null;
|
|
45826
45826
|
}
|
|
45827
45827
|
}
|
|
45828
|
-
|
|
45828
|
+
/**
|
|
45829
|
+
* The flow's page surface: `theme.header` and `theme.footer` (2.x's
|
|
45830
|
+
* SdkPage.tsx:41) frame a body that takes the remaining height and is the
|
|
45831
|
+
* positioned ancestor every flow stage lays out against.
|
|
45832
|
+
*/
|
|
45833
|
+
function FlowPage(_ref3) {
|
|
45834
|
+
var className = _ref3.className,
|
|
45835
|
+
children = _ref3.children;
|
|
45836
|
+
var _useTheme = useTheme(),
|
|
45837
|
+
Header = _useTheme.header,
|
|
45838
|
+
Footer = _useTheme.footer;
|
|
45839
|
+
return jsxs(FlowPageOuter, {
|
|
45840
|
+
className: className,
|
|
45841
|
+
children: [Header && jsx(Header, {}), jsx(FlowPageBody, {
|
|
45842
|
+
children: children
|
|
45843
|
+
}), Footer && jsx(Footer, {})]
|
|
45844
|
+
});
|
|
45845
|
+
}
|
|
45846
|
+
var FlowPageBody = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n flex: 1;\n min-height: 0;\n overflow: hidden;\n isolation: isolate;\n"])));
|
|
45847
|
+
var FlowPageOuter = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 320px;\n overflow: hidden;\n isolation: isolate;\n background: ", ";\n ", "\n ", "\n"])), function (props) {
|
|
45829
45848
|
var _props$theme$backgrou;
|
|
45830
45849
|
return (_props$theme$backgrou = props.theme.background) != null ? _props$theme$backgrou : '#fff';
|
|
45831
45850
|
}, function (props) {
|
|
@@ -53682,7 +53701,7 @@
|
|
|
53682
53701
|
});
|
|
53683
53702
|
}
|
|
53684
53703
|
|
|
53685
|
-
var webSdkVersion = '2.5.
|
|
53704
|
+
var webSdkVersion = '2.5.62';
|
|
53686
53705
|
|
|
53687
53706
|
var MAPPED = 'mapped';
|
|
53688
53707
|
var NOOP = 'dropped-noop';
|