UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

53 lines (51 loc) 1.99 kB
/** * WARNING: This file is intended to be used within MySheerID. * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID. */ /** * VERSION: 2.113.0-alpha.0 * BUILD_TIMESTAMP: 1750184650058 * BUILD_DATE: Tue Jun 17 2025 18:24:10 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: 896154e79f58fffa6d52f3ed37f2db760a63df88 */ import { j as e, aH as t, b7 as p, s as d, b8 as a, ag as n } from "../_mysheerid-preview.js"; const r = ({ icon: s, title: c, subtitle: o = void 0, isHighlighted: i = !1 }) => /* @__PURE__ */ e.jsxs( "div", { className: `sid-id-check-step-card ${i && "sid-id-check-step-card--highlighted"}`, children: [ /* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__icon", children: s }), /* @__PURE__ */ e.jsxs("div", { className: "sid-id-check-step-card__description", children: [ /* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__title", children: c }), o && /* @__PURE__ */ e.jsx("div", { className: "sid-id-check-step-card__subtitle sid-l-space-top-sm", children: o }) ] }) ] } ), m = r, l = d.lazy( () => import("./StepIDCheckLoopOnfido-CmNwFqjD.js") ), h = d.lazy( () => import("./StepIDCheckLoopRegula-RoX971sR.js") ), C = ({ verificationService: s }) => { const c = s.verificationResponse, i = t( p ) || c.idCheckServiceType; return /* @__PURE__ */ e.jsx( d.Suspense, { fallback: /* @__PURE__ */ e.jsx("div", { className: "sid-l-horz-center", children: /* @__PURE__ */ e.jsx(n, { step: "idCheckLoop" }) }), children: i === a.ID_CHECK ? /* @__PURE__ */ e.jsx(h, { verificationService: s }) : /* @__PURE__ */ e.jsx(l, { verificationService: s }) } ); }, _ = C, S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: _ }, Symbol.toStringTag, { value: "Module" })); export { m as S, S as i };