UNPKG

@sheerid/jslib-nightly

Version:

SheerID JavaScript Library

53 lines (51 loc) 1.98 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.130.0-alpha.4 * BUILD_TIMESTAMP: 1759000347595 * BUILD_DATE: Sat Sep 27 2025 19:12:27 GMT+0000 (Coordinated Universal Time) * BUILD_COMMIT: be6ef87ab40e8747994d32363389cf39e36a4326 */ import { j as e, aI as d, b8 as p, t, b9 as a, ah 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 = t.lazy( () => import("./StepIDCheckLoopOnfido-Bl1QfUZZ.js") ), h = t.lazy( () => import("./StepIDCheckLoopRegula-D6freNro.js") ), C = ({ verificationService: s }) => { const c = s.verificationResponse, i = d( p ) || c.idCheckServiceType; return /* @__PURE__ */ e.jsx( t.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 };