@smileid/web-components 11.5.0 → 11.6.0

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.
Files changed (82) hide show
  1. package/dist/esm/DocumentCaptureScreens-DjSTdVP-.js +5398 -0
  2. package/dist/esm/DocumentCaptureScreens-DjSTdVP-.js.map +1 -0
  3. package/dist/esm/{Navigation-Xg565kcu.js → Navigation-6DH3vF4-.js} +2 -2
  4. package/dist/esm/{Navigation-Xg565kcu.js.map → Navigation-6DH3vF4-.js.map} +1 -1
  5. package/dist/esm/{PoweredBySmileId-CxbaihMu.js → PoweredBySmileId-DoKwoPUd.js} +424 -6
  6. package/dist/esm/PoweredBySmileId-DoKwoPUd.js.map +1 -0
  7. package/dist/esm/{SelfieCaptureScreens-D3KuMzZA.js → SelfieCaptureScreens-CtX-4Tco.js} +5 -6
  8. package/dist/esm/SelfieCaptureScreens-CtX-4Tco.js.map +1 -0
  9. package/dist/esm/combobox.js +1 -1
  10. package/dist/esm/document.js +1 -1
  11. package/dist/esm/end-user-consent.js +713 -2
  12. package/dist/esm/end-user-consent.js.map +1 -1
  13. package/dist/esm/index-BqyuTk9f.js +1366 -0
  14. package/dist/esm/{index-CUwa6MPI.js.map → index-BqyuTk9f.js.map} +1 -1
  15. package/dist/esm/localisation.js +1 -1
  16. package/dist/esm/main.js +14 -14
  17. package/dist/esm/navigation.js +1 -1
  18. package/dist/esm/{package-BmVbDNny.js → package-CjZI-cNQ.js} +177 -172
  19. package/dist/esm/{package-BmVbDNny.js.map → package-CjZI-cNQ.js.map} +1 -1
  20. package/dist/esm/selfie.js +1 -1
  21. package/dist/esm/smart-camera-web.js +32 -18
  22. package/dist/esm/smart-camera-web.js.map +1 -1
  23. package/dist/esm/totp-consent.js +731 -2
  24. package/dist/esm/totp-consent.js.map +1 -1
  25. package/dist/esm/validate.js +31 -0
  26. package/dist/esm/validate.js.map +1 -0
  27. package/dist/smart-camera-web.js +696 -321
  28. package/dist/smart-camera-web.js.map +1 -1
  29. package/dist/types/main.d.ts +7 -1
  30. package/dist/types/validate.d.ts +21 -0
  31. package/lib/components/document/src/DocumentCaptureScreens.js +97 -18
  32. package/lib/components/document/src/assets/lottie.d.ts +12 -0
  33. package/lib/components/document/src/assets/svg-inline.d.ts +8 -0
  34. package/lib/components/document/src/document-auto-capture/DocumentAutoCapture.stories.js +75 -0
  35. package/lib/components/document/src/document-auto-capture/DocumentAutoCapture.tsx +1458 -0
  36. package/lib/components/document/src/document-auto-capture/README.md +73 -0
  37. package/lib/components/document/src/document-auto-capture/assets/Greenbook_Shimmer.svg +42 -0
  38. package/lib/components/document/src/document-auto-capture/assets/ID_Back_Shimmer.svg +8 -0
  39. package/lib/components/document/src/document-auto-capture/assets/ID_Front_Shimmer.svg +20 -0
  40. package/lib/components/document/src/document-auto-capture/assets/Passport-Shimmer.svg +143 -0
  41. package/lib/components/document/src/document-auto-capture/assets/shimmers.ts +21 -0
  42. package/lib/components/document/src/document-auto-capture/assets/svg-raw.d.ts +4 -0
  43. package/lib/components/document/src/document-auto-capture/components/CaptureButton.tsx +122 -0
  44. package/lib/components/document/src/document-auto-capture/components/Overlay.tsx +167 -0
  45. package/lib/components/document/src/document-auto-capture/components/TuningPanel.tsx +856 -0
  46. package/lib/components/document/src/document-auto-capture/constants/captureLayout.ts +58 -0
  47. package/lib/components/document/src/document-auto-capture/detection/cvErrorRecovery.ts +40 -0
  48. package/lib/components/document/src/document-auto-capture/detection/documentAspect.ts +20 -0
  49. package/lib/components/document/src/document-auto-capture/detection/qualityScoring.ts +35 -0
  50. package/lib/components/document/src/document-auto-capture/detection/seamRejection.ts +209 -0
  51. package/lib/components/document/src/document-auto-capture/detection/synthesisTiming.ts +10 -0
  52. package/lib/components/document/src/document-auto-capture/hooks/useCamera.ts +117 -0
  53. package/lib/components/document/src/document-auto-capture/hooks/useCardDetection.ts +3059 -0
  54. package/lib/components/document/src/document-auto-capture/index.ts +4 -0
  55. package/lib/components/document/src/document-auto-capture/theme.ts +40 -0
  56. package/lib/components/document/src/document-auto-capture/utils/debug.ts +25 -0
  57. package/lib/components/document/src/document-auto-capture/utils/opencvLoader.ts +86 -0
  58. package/lib/components/document/src/document-capture-instructions/DocumentCaptureInstructions.tsx +327 -244
  59. package/lib/components/document/src/document-capture-review/DocumentCaptureReview.js +153 -189
  60. package/lib/components/document/src/document-capture-submission/DocumentCaptureSubmission.tsx +432 -0
  61. package/lib/components/document/src/document-capture-submission/index.js +3 -0
  62. package/lib/components/selfie/README.md +13 -0
  63. package/lib/components/signature-pad/package.json +1 -1
  64. package/lib/components/smart-camera-web/src/README.md +11 -0
  65. package/lib/components/smart-camera-web/src/SmartCameraWeb.js +25 -1
  66. package/lib/components/totp-consent/src/TotpConsent.js +1 -1
  67. package/package.json +8 -4
  68. package/dist/esm/DocumentCaptureScreens-ucJDu5nH.js +0 -2232
  69. package/dist/esm/DocumentCaptureScreens-ucJDu5nH.js.map +0 -1
  70. package/dist/esm/EndUserConsent-CsiwoThZ.js +0 -717
  71. package/dist/esm/EndUserConsent-CsiwoThZ.js.map +0 -1
  72. package/dist/esm/PoweredBySmileId-CxbaihMu.js.map +0 -1
  73. package/dist/esm/SelfieCaptureScreens-D3KuMzZA.js.map +0 -1
  74. package/dist/esm/TotpConsent-CRtmtudl.js +0 -734
  75. package/dist/esm/TotpConsent-CRtmtudl.js.map +0 -1
  76. package/dist/esm/index-CUwa6MPI.js +0 -1363
  77. package/dist/esm/styles-BTEClL7R.js +0 -419
  78. package/dist/esm/styles-BTEClL7R.js.map +0 -1
  79. /package/lib/components/document/src/assets/lottie/{taking photo of green book passport.lottie → greenbook.lottie} +0 -0
  80. /package/lib/components/document/src/assets/lottie/{taking photo of ID FLIP 2D.lottie → id-card-flip.lottie} +0 -0
  81. /package/lib/components/document/src/assets/lottie/{taking photo of ID.lottie → id-card.lottie} +0 -0
  82. /package/lib/components/document/src/assets/lottie/{taking photo of passport 2.lottie → passport.lottie} +0 -0
@@ -1,4 +1,4 @@
1
- import { b as p, t as s } from "./index-CUwa6MPI.js";
1
+ import { b as p, t as s } from "./index-BqyuTk9f.js";
2
2
  class g extends HTMLElement {
3
3
  connectedCallback() {
4
4
  const n = this.attachShadow({ mode: "open" }), o = p(), l = "0px", a = "40px", h = "rgba(132, 130, 130, 0.9)", u = "1px solid rgba(255, 255, 255, 0.1)", r = "20px", d = this.hasThemeColor ? this.themeColor : "#FFFFFF", b = "#FFFFFF";
@@ -141,4 +141,4 @@ button svg {
141
141
  export {
142
142
  g as N
143
143
  };
144
- //# sourceMappingURL=Navigation-Xg565kcu.js.map
144
+ //# sourceMappingURL=Navigation-6DH3vF4-.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation-Xg565kcu.js","sources":["../../lib/components/navigation/src/Navigation.js"],"sourcesContent":["import { t, getDirection } from '../../../domain/localisation';\n\nclass Navigation extends HTMLElement {\n connectedCallback() {\n const shadow = this.attachShadow({ mode: 'open' });\n const direction = getDirection();\n const hostPadding = '0px';\n const buttonSize = '40px';\n const buttonBackground = 'rgba(132, 130, 130, 0.9)';\n const buttonBorder = '1px solid rgba(255, 255, 255, 0.1)';\n const iconSize = '20px';\n const iconColor = this.hasThemeColor ? this.themeColor : '#FFFFFF';\n const focusColor = '#FFFFFF';\n\n let justifyContent = 'flex-end';\n if (this.showBackButton && this.showCloseButton) {\n justifyContent = 'space-between';\n } else if (this.showBackButton) {\n justifyContent = 'flex-start';\n }\n\n const style = document.createElement('style');\n style.textContent = `\n:host {\n display: flex;\n max-inline-size: 100%;\n justify-content: ${justifyContent};\n direction: ${direction};\n padding: var(--smileid-navigation-padding, ${hostPadding});\n gap: 1rem;\n}\n\n:host([dir=\"rtl\"]) .back-button svg,\n:host .back-button svg[data-rtl=\"true\"] {\n transform: scaleX(-1);\n}\n\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: ${buttonSize};\n height: ${buttonSize};\n border-radius: 50%;\n background: var(--smileid-navigation-button-bg, ${buttonBackground});\n border: ${buttonBorder};\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--smileid-navigation-icon-color, ${iconColor});\n cursor: pointer;\n padding: 0;\n flex-shrink: 0;\n transition: box-shadow 0.15s ease;\n}\n\nbutton:hover {\n box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.15);\n}\n\nbutton:focus-visible {\n outline: 2px solid var(--smileid-navigation-focus-color, ${focusColor});\n outline-offset: 3px;\n}\n\nbutton svg {\n width: ${iconSize};\n height: ${iconSize};\n}\n\n:host::part(back-button) {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n:host::part(close-button) {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n block-size: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n inline-size: 1px;\n}\n `;\n\n const backButton = document.createElement('button');\n backButton.setAttribute('class', 'back-button');\n backButton.setAttribute('part', 'back-button');\n backButton.setAttribute('type', 'button');\n backButton.setAttribute('aria-label', t('navigation.back'));\n backButton.innerHTML = `\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n data-rtl=\"${direction === 'rtl'}\"\n >\n <path\n d=\"M19 12H5M5 12L12 19M5 12L12 5\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <span part=\"back-button-text\" class=\"visually-hidden\">${t('navigation.back')}</span>\n `;\n\n const closeButton = document.createElement('button');\n closeButton.setAttribute('class', 'close-button');\n closeButton.setAttribute('part', 'close-button');\n closeButton.setAttribute('type', 'button');\n closeButton.setAttribute(\n 'aria-label',\n t('navigation.closeVerificationFrame'),\n );\n closeButton.innerHTML = `\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M18 6L6 18M6 6L18 18\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n `;\n\n shadow.appendChild(style);\n if (this.showBackButton) shadow.appendChild(backButton);\n if (this.showCloseButton) shadow.appendChild(closeButton);\n\n // Set language direction attribute on host for CSS selectors\n this.setAttribute('dir', direction);\n\n // Back Button Controls\n if (this.showBackButton) {\n this.backButton = backButton;\n this.backButton.addEventListener('click', () => this.handleBack());\n }\n\n // Close Button Controls\n if (this.showCloseButton) {\n this.closeButton = closeButton;\n this.closeButton.addEventListener('click', () => this.handleClose());\n }\n }\n\n disconnectedCallback() {\n if (this.backButton) {\n this.backButton.removeEventListener('click', () => this.handleBack());\n }\n if (this.closeButton) {\n this.closeButton.removeEventListener('click', () => this.handleClose());\n }\n }\n\n handleBack() {\n this.dispatchEvent(new CustomEvent('navigation.back'));\n }\n\n handleClose() {\n this.dispatchEvent(new CustomEvent('navigation.close'));\n }\n\n get showBackButton() {\n return !this.hasAttribute('hide-back');\n }\n\n get showCloseButton() {\n return !this.hasAttribute('hide-close');\n }\n\n get themeColor() {\n return this.getAttribute('theme-color') || '#001096';\n }\n\n get hasThemeColor() {\n return this.getAttribute('theme-color')?.trim();\n }\n}\n\nif (\n 'customElements' in window &&\n !window.customElements.get('smileid-navigation')\n) {\n window.customElements.define('smileid-navigation', Navigation);\n}\n\nexport default Navigation;\n"],"names":["Navigation","shadow","direction","getDirection","hostPadding","buttonSize","buttonBackground","buttonBorder","iconSize","iconColor","focusColor","justifyContent","style","backButton","t","closeButton"],"mappings":";AAEA,MAAMA,UAAmB,YAAY;AAAA,EACnC,oBAAoB;AAClB,UAAMC,IAAS,KAAK,aAAa,EAAE,MAAM,OAAM,CAAE,GAC3CC,IAAYC,EAAY,GACxBC,IAAc,OACdC,IAAa,QACbC,IAAmB,4BACnBC,IAAe,sCACfC,IAAW,QACXC,IAAY,KAAK,gBAAgB,KAAK,aAAa,WACnDC,IAAa;AAEnB,QAAI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Navigation-6DH3vF4-.js","sources":["../../lib/components/navigation/src/Navigation.js"],"sourcesContent":["import { t, getDirection } from '../../../domain/localisation';\n\nclass Navigation extends HTMLElement {\n connectedCallback() {\n const shadow = this.attachShadow({ mode: 'open' });\n const direction = getDirection();\n const hostPadding = '0px';\n const buttonSize = '40px';\n const buttonBackground = 'rgba(132, 130, 130, 0.9)';\n const buttonBorder = '1px solid rgba(255, 255, 255, 0.1)';\n const iconSize = '20px';\n const iconColor = this.hasThemeColor ? this.themeColor : '#FFFFFF';\n const focusColor = '#FFFFFF';\n\n let justifyContent = 'flex-end';\n if (this.showBackButton && this.showCloseButton) {\n justifyContent = 'space-between';\n } else if (this.showBackButton) {\n justifyContent = 'flex-start';\n }\n\n const style = document.createElement('style');\n style.textContent = `\n:host {\n display: flex;\n max-inline-size: 100%;\n justify-content: ${justifyContent};\n direction: ${direction};\n padding: var(--smileid-navigation-padding, ${hostPadding});\n gap: 1rem;\n}\n\n:host([dir=\"rtl\"]) .back-button svg,\n:host .back-button svg[data-rtl=\"true\"] {\n transform: scaleX(-1);\n}\n\nbutton {\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n width: ${buttonSize};\n height: ${buttonSize};\n border-radius: 50%;\n background: var(--smileid-navigation-button-bg, ${buttonBackground});\n border: ${buttonBorder};\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--smileid-navigation-icon-color, ${iconColor});\n cursor: pointer;\n padding: 0;\n flex-shrink: 0;\n transition: box-shadow 0.15s ease;\n}\n\nbutton:hover {\n box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.15);\n}\n\nbutton:focus-visible {\n outline: 2px solid var(--smileid-navigation-focus-color, ${focusColor});\n outline-offset: 3px;\n}\n\nbutton svg {\n width: ${iconSize};\n height: ${iconSize};\n}\n\n:host::part(back-button) {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n:host::part(close-button) {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.visually-hidden {\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n block-size: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n inline-size: 1px;\n}\n `;\n\n const backButton = document.createElement('button');\n backButton.setAttribute('class', 'back-button');\n backButton.setAttribute('part', 'back-button');\n backButton.setAttribute('type', 'button');\n backButton.setAttribute('aria-label', t('navigation.back'));\n backButton.innerHTML = `\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n data-rtl=\"${direction === 'rtl'}\"\n >\n <path\n d=\"M19 12H5M5 12L12 19M5 12L12 5\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n <span part=\"back-button-text\" class=\"visually-hidden\">${t('navigation.back')}</span>\n `;\n\n const closeButton = document.createElement('button');\n closeButton.setAttribute('class', 'close-button');\n closeButton.setAttribute('part', 'close-button');\n closeButton.setAttribute('type', 'button');\n closeButton.setAttribute(\n 'aria-label',\n t('navigation.closeVerificationFrame'),\n );\n closeButton.innerHTML = `\n <svg\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M18 6L6 18M6 6L18 18\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </svg>\n `;\n\n shadow.appendChild(style);\n if (this.showBackButton) shadow.appendChild(backButton);\n if (this.showCloseButton) shadow.appendChild(closeButton);\n\n // Set language direction attribute on host for CSS selectors\n this.setAttribute('dir', direction);\n\n // Back Button Controls\n if (this.showBackButton) {\n this.backButton = backButton;\n this.backButton.addEventListener('click', () => this.handleBack());\n }\n\n // Close Button Controls\n if (this.showCloseButton) {\n this.closeButton = closeButton;\n this.closeButton.addEventListener('click', () => this.handleClose());\n }\n }\n\n disconnectedCallback() {\n if (this.backButton) {\n this.backButton.removeEventListener('click', () => this.handleBack());\n }\n if (this.closeButton) {\n this.closeButton.removeEventListener('click', () => this.handleClose());\n }\n }\n\n handleBack() {\n this.dispatchEvent(new CustomEvent('navigation.back'));\n }\n\n handleClose() {\n this.dispatchEvent(new CustomEvent('navigation.close'));\n }\n\n get showBackButton() {\n return !this.hasAttribute('hide-back');\n }\n\n get showCloseButton() {\n return !this.hasAttribute('hide-close');\n }\n\n get themeColor() {\n return this.getAttribute('theme-color') || '#001096';\n }\n\n get hasThemeColor() {\n return this.getAttribute('theme-color')?.trim();\n }\n}\n\nif (\n 'customElements' in window &&\n !window.customElements.get('smileid-navigation')\n) {\n window.customElements.define('smileid-navigation', Navigation);\n}\n\nexport default Navigation;\n"],"names":["Navigation","shadow","direction","getDirection","hostPadding","buttonSize","buttonBackground","buttonBorder","iconSize","iconColor","focusColor","justifyContent","style","backButton","t","closeButton"],"mappings":";AAEA,MAAMA,UAAmB,YAAY;AAAA,EACnC,oBAAoB;AAClB,UAAMC,IAAS,KAAK,aAAa,EAAE,MAAM,OAAM,CAAE,GAC3CC,IAAYC,EAAY,GACxBC,IAAc,OACdC,IAAa,QACbC,IAAmB,4BACnBC,IAAe,sCACfC,IAAW,QACXC,IAAY,KAAK,gBAAgB,KAAK,aAAa,WACnDC,IAAa;AAEnB,QAAIC,IAAiB;AACrB,IAAI,KAAK,kBAAkB,KAAK,kBAC9BA,IAAiB,kBACR,KAAK,mBACdA,IAAiB;AAGnB,UAAMC,IAAQ,SAAS,cAAc,OAAO;AAC5C,IAAAA,EAAM,cAAc;AAAA;AAAA;AAAA;AAAA,qBAIHD,CAAc;AAAA,eACpBT,CAAS;AAAA,+CACuBE,CAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAa/CC,CAAU;AAAA,YACTA,CAAU;AAAA;AAAA,oDAE8BC,CAAgB;AAAA,YACxDC,CAAY;AAAA;AAAA;AAAA;AAAA,gDAIwBE,CAAS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,cAAcE,GACnB,KAAK,YAAY,iBAAiB,SAAS,MAAM,KAAK,aAAa;AAAA,EAEvE;AAAA,EAEA,uBAAuB;AACrB,IAAI,KAAK,cACP,KAAK,WAAW,oBAAoB,SAAS,MAAM,KAAK,YAAY,GAElE,KAAK,eACP,KAAK,YAAY,oBAAoB,SAAS,MAAM,KAAK,aAAa;AAAA,EAE1E;AAAA,EAEA,aAAa;AACX,SAAK,cAAc,IAAI,YAAY,iBAAiB,CAAC;AAAA,EACvD;AAAA,EAEA,cAAc;AACZ,SAAK,cAAc,IAAI,YAAY,kBAAkB,CAAC;AAAA,EACxD;AAAA,EAEA,IAAI,iBAAiB;AACnB,WAAO,CAAC,KAAK,aAAa,WAAW;AAAA,EACvC;AAAA,EAEA,IAAI,kBAAkB;AACpB,WAAO,CAAC,KAAK,aAAa,YAAY;AAAA,EACxC;AAAA,EAEA,IAAI,aAAa;AACf,WAAO,KAAK,aAAa,aAAa,KAAK;AAAA,EAC7C;AAAA,EAEA,IAAI,gBAAgB;AAClB,WAAO,KAAK,aAAa,aAAa,GAAG,KAAI;AAAA,EAC/C;AACF;AAGE,oBAAoB,UACpB,CAAC,OAAO,eAAe,IAAI,oBAAoB,KAE/C,OAAO,eAAe,OAAO,sBAAsBf,CAAU;"}
@@ -1,8 +1,423 @@
1
- class H extends HTMLElement {
1
+ const o = `
2
+ .text-xs {
3
+ font-size: 0.75rem;
4
+ line-height: 1rem;
5
+ }
6
+ .text-sm {
7
+ font-size: 0.875rem;
8
+ line-height: 1.125rem;
9
+ }
10
+ .text-base {
11
+ font-size: 1rem;
12
+ line-height: 1rem;
13
+ }
14
+ .text-lg {
15
+ font-size: 1.125rem;
16
+ line-height: 1.75rem;
17
+ }
18
+ .text-xl {
19
+ font-size: 1.25rem;
20
+ line-height: 1.75rem;
21
+ }
22
+ .text-2xl {
23
+ font-size: 1.5rem;
24
+ line-height: 2rem;
25
+ }
26
+ .text-3xl {
27
+ font-size: 1.875rem;
28
+ line-height: 2.25rem;
29
+ }
30
+ .text-4xl {
31
+ font-size: 2rem;
32
+ line-height: 2.5rem;
33
+ }
34
+ .text-5xl {
35
+ font-size: 2.25rem;
36
+ line-height: 2.5rem;
37
+ }
38
+ .font-bold {
39
+ font-weight: 700;
40
+ }
41
+ .font-semibold {
42
+ font-weight: 600;
43
+ }
44
+ .font-medium {
45
+ font-weight: 500;
46
+ }
47
+ .font-normal {
48
+ font-weight: 400;
49
+ }
50
+ `, r = (e) => `<link rel="preconnect" href="https://fonts.gstatic.com" />
51
+ <link
52
+ href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
53
+ rel="stylesheet"
54
+ as="style"
55
+ />
56
+ <style>
57
+ ${o}
58
+ :host {
59
+ --theme-color: ${e || "#001096"};
60
+ --color-active: #001096;
61
+ --color-default: #2d2b2a;
62
+ --color-disabled: #848282;
63
+ --web-digital-blue: #001096;
64
+ }
65
+
66
+ * {
67
+ font-family: "DM Sans", sans-serif;
68
+ }
69
+
70
+ [hidden] {
71
+ display: none !important;
72
+ }
73
+
74
+ [disabled] {
75
+ cursor: not-allowed !important;
76
+ filter: grayscale(75%);
77
+ }
78
+
79
+ .visually-hidden {
80
+ border: 0;
81
+ clip: rect(1px 1px 1px 1px);
82
+ clip: rect(1px, 1px, 1px, 1px);
83
+ height: auto;
84
+ margin: 0;
85
+ overflow: hidden;
86
+ padding: 0;
87
+ position: absolute;
88
+ white-space: nowrap;
89
+ width: 1px;
90
+ }
91
+
92
+ img {
93
+ height: auto;
94
+ max-width: 100%;
95
+ }
96
+
97
+ video {
98
+ background-color: black;
99
+ }
100
+
101
+ a {
102
+ color: currentColor;
103
+ text-decoration: none;
104
+ }
105
+
106
+ svg {
107
+ max-width: 100%;
108
+ }
109
+
110
+ .color-gray {
111
+ color: #797979;
112
+ }
113
+
114
+ .color-red {
115
+ color: red;
116
+ }
117
+
118
+ .color-richblue {
119
+ color: #4e6577;
120
+ }
121
+
122
+ .color-richblue-shade {
123
+ color: #0e1b42;
124
+ }
125
+
126
+ .color-digital-blue {
127
+ color: var(--web-digital-blue) !important;
128
+ }
129
+
130
+ .color-deep-blue {
131
+ color: #001096;
132
+ }
133
+
134
+ .title-color {
135
+ color: ${e || "#001096"};
136
+ }
137
+
138
+ .theme-color {
139
+ color: ${e || "#001096"};
140
+ }
141
+
142
+ .center {
143
+ text-align: center;
144
+ margin-left: auto;
145
+ margin-right: auto;
146
+ }
147
+
148
+ .font-size-small {
149
+ font-size: 0.75rem;
150
+ }
151
+
152
+ .font-size-large {
153
+ font-size: 1.5rem;
154
+ }
155
+
156
+ .text-transform-uppercase {
157
+ text-transform: uppercase;
158
+ }
159
+
160
+ [id*=-"screen"] {
161
+ min-block-size: 100%;
162
+ }
163
+
164
+ [data-variant~="full-width"] {
165
+ inline-size: 100%;
166
+ }
167
+
168
+ .flow > * + * {
169
+ margin-top: var(--flow-space, 1rem);
170
+ }
171
+
172
+ .button {
173
+ --button-color: ${e || "var(--active-color)"};
174
+ -webkit-appearance: none;
175
+ appearance: none;
176
+ border-radius: 2.5rem;
177
+ border: 0;
178
+ background-color: transparent;
179
+ color: #fff;
180
+ cursor: pointer;
181
+ display: block;
182
+ font-size: 18px;
183
+ font-weight: 600;
184
+ padding: 0.75rem 1.5rem;
185
+ text-align: center;
186
+ }
187
+
188
+ .button:hover,
189
+ .button:focus,
190
+ .button:active {
191
+ --button-color: var(--color-default);
192
+ }
193
+
194
+ .button:disabled {
195
+ --button-color: var(--color-disabled);
196
+ }
197
+
198
+ .button[data-variant~="solid"] {
199
+ background-color: var(--button-color);
200
+ border: 2px solid var(--button-color);
201
+ }
202
+
203
+ .button[data-variant~="outline"] {
204
+ color: var(--button-color);
205
+ border: 2px solid var(--button-color);
206
+ }
207
+
208
+ .button[data-variant~="ghost"] {
209
+ padding: 0px;
210
+ color: var(--button-color);
211
+ background-color: transparent;
212
+ }
213
+
214
+ .icon-btn {
215
+ appearance: none;
216
+ background: none;
217
+ border: none;
218
+ color: hsl(0deg 0% 94%);
219
+ cursor: pointer;
220
+ display: flex;
221
+ align-items: center;
222
+ justify-content: center;
223
+ padding: 4px 8px;
224
+ }
225
+ .justify-right {
226
+ justify-content: end !important;
227
+ }
228
+ .nav {
229
+ display: flex;
230
+ justify-content: space-between;
231
+ }
232
+
233
+ .back-wrapper {
234
+ display: flex;
235
+ align-items: center;
236
+ }
237
+
238
+ .back-button-text {
239
+ font-size: 11px;
240
+ line-height: 11px;
241
+ color: rgb(21, 31, 114);
242
+ }
243
+
244
+
245
+ .selfie-capture-review-image {
246
+ overflow: hidden;
247
+ aspect-ratio: 1/1;
248
+ }
249
+
250
+ #review-image {
251
+ scale: 1.75;
252
+ }
253
+
254
+ @media (max-aspect-ratio: 1/1) {
255
+ #review-image {
256
+ transform: scaleX(-1) translateY(-10%);
257
+ }
258
+ }
259
+
260
+ .tips,
261
+ .powered-by {
262
+ align-items: center;
263
+ border-radius: 0.25rem;
264
+ color: #4e6577;
265
+ display: flex;
266
+ justify-content: center;
267
+ letter-spacing: 0.075em;
268
+ }
269
+
270
+ .powered-by {
271
+ box-shadow: 0px 2.57415px 2.57415px rgba(0, 0, 0, 0.06);
272
+ display: inline-flex;
273
+ font-size: 0.5rem;
274
+ }
275
+
276
+ .tips {
277
+ margin-left: auto;
278
+ margin-right: auto;
279
+ max-width: 17rem;
280
+ }
281
+
282
+ .tips > * + *,
283
+ .powered-by > * + * {
284
+ display: inline-block;
285
+ margin-left: 0.5em;
286
+ }
287
+
288
+ .powered-by .company {
289
+ color: #18406d;
290
+ font-weight: 700;
291
+ letter-spacing: 0.15rem;
292
+ }
293
+
294
+ .logo-mark {
295
+ background-color: #004071;
296
+ display: inline-block;
297
+ padding: 0.25em 0.5em;
298
+ }
299
+
300
+ .logo-mark svg {
301
+ height: auto;
302
+ justify-self: center;
303
+ width: 0.75em;
304
+ }
305
+
306
+ #document-capture-instructions-screen,
307
+ #back-of-document-capture-instructions-screen {
308
+ box-sizing: border-box;
309
+ height: 100%;
310
+ padding: 1rem;
311
+ display: flex;
312
+ flex-direction: column;
313
+ max-block-size: 100%;
314
+ max-inline-size: 40ch;
315
+ justify-content: space-between;
316
+ }
317
+
318
+ #document-capture-instructions-screen header p {
319
+ margin-block: 0 !important;
320
+ }
321
+
322
+ .description {
323
+ color: var(--neutral-off-black, #2D2B2A);
324
+ text-align: center;
325
+
326
+ /* p */
327
+ font-family: DM Sans;
328
+ font-size: 0.875rem;
329
+ font-style: normal;
330
+ font-weight: 400;
331
+ line-height: 18px;
332
+ }
333
+
334
+ .padding-bottom-2 {
335
+ padding-bottom: 2rem;
336
+ }
337
+
338
+ smart-camera-web, selfie-capture-screens, selfie-capture-instructions, document-capture-screens, document-capture-instructions, document-capture-instructions-v2 {
339
+ height: 100%;
340
+ display: block;
341
+ }
342
+
343
+ .instructions-wrapper {
344
+ display: inline-flex;
345
+ flex-direction: column;
346
+ gap: 1rem;
347
+ }
348
+
349
+ @media (min-width: 40rem) {
350
+ .instructions-wrapper {
351
+ gap: 1.75rem;
352
+ }
353
+ }
354
+
355
+ .instructions {
356
+ display: flex;
357
+ align-items: center;
358
+ text-align: initial;
359
+ gap: 0.5rem;
360
+ }
361
+
362
+ .instructions svg {
363
+ flex-shrink: 0;
364
+ margin-inline-end: 0.25rem;
365
+ }
366
+
367
+ .instructions p {
368
+ margin-block: 0;
369
+ }
370
+
371
+ .instruction {
372
+ display: flex;
373
+ flex-direction: column;
374
+ gap: 0.5rem;
375
+ }
376
+
377
+ .instruction-body {
378
+ font-size: 0.75rem;
379
+ }
380
+
381
+ .instruction-header {
382
+ color: ${e};
383
+ }
384
+
385
+ .flex-column {
386
+ display: flex;
387
+ flex-direction: column;
388
+ }
389
+
390
+ @keyframes spin {
391
+ 0% {
392
+ transform: translate3d(-50%, -50%, 0) rotate(0deg);
393
+ }
394
+ 100% {
395
+ transform: translate3d(-50%, -50%, 0) rotate(360deg);
396
+ }
397
+ }
398
+
399
+ .spinner {
400
+ animation: 1.5s linear infinite spin;
401
+ animation-play-state: inherit;
402
+ border: solid 5px #cfd0d1;
403
+ border-bottom-color: var(--color-active);
404
+ border-radius: 50%;
405
+ content: "";
406
+ display: block;
407
+ height: 25px;
408
+ width: 25px;
409
+ will-change: transform;
410
+ position: relative;
411
+ top: .675rem;
412
+ left: 1.25rem;
413
+ }
414
+
415
+ </style>`;
416
+ class i extends HTMLElement {
2
417
  constructor() {
3
418
  super();
4
- const C = document.createElement("template");
5
- C.innerHTML = `
419
+ const t = document.createElement("template");
420
+ t.innerHTML = `
6
421
  <p style='margin-inline: auto; max-inline-size: 10rem'>
7
422
  <svg viewBox="0 0 90 9" fill="none" xmlns="http://www.w3.org/2000/svg">
8
423
  <path d="M0.544 7V1.4H2.616C3.064 1.4 3.43467 1.47467 3.728 1.624C4.02133 1.77333 4.24 1.97867 4.384 2.24C4.528 2.50133 4.6 2.79467 4.6 3.12C4.6 3.42933 4.53067 3.71467 4.392 3.976C4.25333 4.232 4.03733 4.44 3.744 4.6C3.45067 4.75467 3.07467 4.832 2.616 4.832H1.568V7H0.544ZM1.568 4H2.552C2.90933 4 3.16533 3.92267 3.32 3.768C3.48 3.608 3.56 3.392 3.56 3.12C3.56 2.84267 3.48 2.62667 3.32 2.472C3.16533 2.312 2.90933 2.232 2.552 2.232H1.568V4ZM7.08025 7.096C6.69625 7.096 6.34958 7.008 6.04025 6.832C5.73625 6.656 5.49358 6.41333 5.31225 6.104C5.13625 5.78933 5.04825 5.42667 5.04825 5.016C5.04825 4.60533 5.13892 4.24533 5.32025 3.936C5.50158 3.62133 5.74425 3.376 6.04825 3.2C6.35758 3.024 6.70425 2.936 7.08825 2.936C7.46692 2.936 7.80825 3.024 8.11225 3.2C8.42158 3.376 8.66425 3.62133 8.84025 3.936C9.02158 4.24533 9.11225 4.60533 9.11225 5.016C9.11225 5.42667 9.02158 5.78933 8.84025 6.104C8.66425 6.41333 8.42158 6.656 8.11225 6.832C7.80292 7.008 7.45892 7.096 7.08025 7.096ZM7.08025 6.208C7.34692 6.208 7.57892 6.10933 7.77625 5.912C7.97358 5.70933 8.07225 5.41067 8.07225 5.016C8.07225 4.62133 7.97358 4.32533 7.77625 4.128C7.57892 3.92533 7.34958 3.824 7.08825 3.824C6.81625 3.824 6.58158 3.92533 6.38425 4.128C6.19225 4.32533 6.09625 4.62133 6.09625 5.016C6.09625 5.41067 6.19225 5.70933 6.38425 5.912C6.58158 6.10933 6.81358 6.208 7.08025 6.208ZM10.6632 7L9.50319 3.032H10.5192L11.2072 5.888L12.0072 3.032H13.1432L13.9432 5.888L14.6392 3.032H15.6552L14.4872 7H13.4232L12.5752 4.032L11.7272 7H10.6632ZM18.0886 7.096C17.6886 7.096 17.334 7.01067 17.0246 6.84C16.7153 6.66933 16.4726 6.42933 16.2966 6.12C16.1206 5.81067 16.0326 5.45333 16.0326 5.048C16.0326 4.63733 16.118 4.272 16.2886 3.952C16.4646 3.632 16.7046 3.384 17.0086 3.208C17.318 3.02667 17.6806 2.936 18.0966 2.936C18.486 2.936 18.83 3.02133 19.1286 3.192C19.4273 3.36267 19.6593 3.59733 19.8246 3.896C19.9953 4.18933 20.0806 4.51733 20.0806 4.88C20.0806 4.93867 20.078 5 20.0726 5.064C20.0726 5.128 20.07 5.19467 20.0646 5.264H17.0486C17.07 5.57333 17.1766 5.816 17.3686 5.992C17.566 6.168 17.8033 6.256 18.0806 6.256C18.2886 6.256 18.462 6.21067 18.6006 6.12C18.7446 6.024 18.8513 5.90133 18.9206 5.752H19.9606C19.886 6.00267 19.7606 6.232 19.5846 6.44C19.414 6.64267 19.2006 6.80267 18.9446 6.92C18.694 7.03733 18.4086 7.096 18.0886 7.096ZM18.0966 3.768C17.846 3.768 17.6246 3.84 17.4326 3.984C17.2406 4.12267 17.118 4.336 17.0646 4.624H19.0406C19.0246 4.36267 18.9286 4.15467 18.7526 4C18.5766 3.84533 18.358 3.768 18.0966 3.768ZM20.9419 7V3.032H21.8539L21.9499 3.776C22.0939 3.52 22.2885 3.31733 22.5339 3.168C22.7845 3.01333 23.0779 2.936 23.4139 2.936V4.016H23.1259C22.9019 4.016 22.7019 4.05067 22.5259 4.12C22.3499 4.18933 22.2112 4.30933 22.1099 4.48C22.0139 4.65067 21.9659 4.888 21.9659 5.192V7H20.9419ZM25.9714 7.096C25.5714 7.096 25.2168 7.01067 24.9074 6.84C24.5981 6.66933 24.3554 6.42933 24.1794 6.12C24.0034 5.81067 23.9154 5.45333 23.9154 5.048C23.9154 4.63733 24.0008 4.272 24.1714 3.952C24.3474 3.632 24.5874 3.384 24.8914 3.208C25.2008 3.02667 25.5634 2.936 25.9794 2.936C26.3688 2.936 26.7128 3.02133 27.0114 3.192C27.3101 3.36267 27.5421 3.59733 27.7074 3.896C27.8781 4.18933 27.9634 4.51733 27.9634 4.88C27.9634 4.93867 27.9608 5 27.9554 5.064C27.9554 5.128 27.9528 5.19467 27.9474 5.264H24.9314C24.9528 5.57333 25.0594 5.816 25.2514 5.992C25.4488 6.168 25.6861 6.256 25.9634 6.256C26.1714 6.256 26.3448 6.21067 26.4834 6.12C26.6274 6.024 26.7341 5.90133 26.8034 5.752H27.8434C27.7688 6.00267 27.6434 6.232 27.4674 6.44C27.2968 6.64267 27.0834 6.80267 26.8274 6.92C26.5768 7.03733 26.2914 7.096 25.9714 7.096ZM25.9794 3.768C25.7288 3.768 25.5074 3.84 25.3154 3.984C25.1234 4.12267 25.0008 4.336 24.9474 4.624H26.9234C26.9074 4.36267 26.8114 4.15467 26.6354 4C26.4594 3.84533 26.2408 3.768 25.9794 3.768ZM30.6487 7.096C30.2754 7.096 29.942 7.00533 29.6487 6.824C29.3554 6.64267 29.1234 6.39467 28.9527 6.08C28.782 5.76533 28.6967 5.408 28.6967 5.008C28.6967 4.608 28.782 4.25333 28.9527 3.944C29.1234 3.62933 29.3554 3.384 29.6487 3.208C29.942 3.02667 30.2754 2.936 30.6487 2.936C30.9474 2.936 31.2087 2.992 31.4327 3.104C31.6567 3.216 31.838 3.37333 31.9767 3.576V1.24H33.0007V7H32.0887L31.9767 6.432C31.8487 6.608 31.678 6.76267 31.4647 6.896C31.2567 7.02933 30.9847 7.096 30.6487 7.096ZM30.8647 6.2C31.1954 6.2 31.4647 6.09067 31.6727 5.872C31.886 5.648 31.9927 5.36267 31.9927 5.016C31.9927 4.66933 31.886 4.38667 31.6727 4.168C31.4647 3.944 31.1954 3.832 30.8647 3.832C30.5394 3.832 30.27 3.94133 30.0567 4.16C29.8434 4.37867 29.7367 4.66133 29.7367 5.008C29.7367 5.35467 29.8434 5.64 30.0567 5.864C30.27 6.088 30.5394 6.2 30.8647 6.2ZM38.3017 7.096C38.003 7.096 37.7417 7.04 37.5177 6.928C37.2937 6.816 37.1124 6.65867 36.9737 6.456L36.8617 7H35.9497V1.24H36.9737V3.6C37.1017 3.424 37.2697 3.26933 37.4777 3.136C37.691 3.00267 37.9657 2.936 38.3017 2.936C38.675 2.936 39.0084 3.02667 39.3017 3.208C39.595 3.38933 39.827 3.63733 39.9977 3.952C40.1684 4.26667 40.2537 4.624 40.2537 5.024C40.2537 5.424 40.1684 5.78133 39.9977 6.096C39.827 6.40533 39.595 6.65067 39.3017 6.832C39.0084 7.008 38.675 7.096 38.3017 7.096ZM38.0857 6.2C38.411 6.2 38.6804 6.09067 38.8937 5.872C39.107 5.65333 39.2137 5.37067 39.2137 5.024C39.2137 4.67733 39.107 4.392 38.8937 4.168C38.6804 3.944 38.411 3.832 38.0857 3.832C37.755 3.832 37.483 3.944 37.2697 4.168C37.0617 4.38667 36.9577 4.66933 36.9577 5.016C36.9577 5.36267 37.0617 5.648 37.2697 5.872C37.483 6.09067 37.755 6.2 38.0857 6.2ZM41.3051 8.76L42.2251 6.736H41.9851L40.4411 3.032H41.5531L42.6651 5.824L43.8251 3.032H44.9131L42.3931 8.76H41.3051Z" fill="#001096"/>
@@ -25,9 +440,12 @@ class H extends HTMLElement {
25
440
  </svg>
26
441
  </p>
27
442
  `, this.attachShadow({ mode: "open" }).appendChild(
28
- C.content.cloneNode(!0)
443
+ t.content.cloneNode(!0)
29
444
  );
30
445
  }
31
446
  }
32
- window.customElements && !window.customElements.get("powered-by-smile-id") && window.customElements.define("powered-by-smile-id", H);
33
- //# sourceMappingURL=PoweredBySmileId-CxbaihMu.js.map
447
+ window.customElements && !window.customElements.get("powered-by-smile-id") && window.customElements.define("powered-by-smile-id", i);
448
+ export {
449
+ r as s
450
+ };
451
+ //# sourceMappingURL=PoweredBySmileId-DoKwoPUd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoweredBySmileId-DoKwoPUd.js","sources":["../../lib/styles/src/typography.js","../../lib/styles/src/styles.js","../../lib/components/attribution/PoweredBySmileId.js"],"sourcesContent":["const typography = `\n .text-xs {\n font-size: 0.75rem;\n line-height: 1rem;\n }\n .text-sm {\n font-size: 0.875rem;\n line-height: 1.125rem;\n }\n .text-base {\n font-size: 1rem;\n line-height: 1rem;\n }\n .text-lg {\n font-size: 1.125rem;\n line-height: 1.75rem;\n }\n .text-xl {\n font-size: 1.25rem;\n line-height: 1.75rem;\n }\n .text-2xl {\n font-size: 1.5rem;\n line-height: 2rem;\n }\n .text-3xl {\n font-size: 1.875rem;\n line-height: 2.25rem;\n }\n .text-4xl {\n font-size: 2rem;\n line-height: 2.5rem;\n }\n .text-5xl {\n font-size: 2.25rem;\n line-height: 2.5rem;\n }\n .font-bold {\n font-weight: 700;\n }\n .font-semibold {\n font-weight: 600;\n }\n .font-medium {\n font-weight: 500;\n }\n .font-normal {\n font-weight: 400;\n }\n`;\n\nexport default typography;\n","import typography from './typography';\n\nconst styles = (\n themeColor,\n) => `<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" />\n<link\n href=\"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap\"\n rel=\"stylesheet\"\n as=\"style\"\n/>\n<style>\n${typography}\n:host {\n --theme-color: ${themeColor || '#001096'};\n --color-active: #001096;\n --color-default: #2d2b2a;\n --color-disabled: #848282;\n --web-digital-blue: #001096;\n }\n\n * {\n font-family: \"DM Sans\", sans-serif;\n }\n\n [hidden] {\n display: none !important;\n }\n\n [disabled] {\n cursor: not-allowed !important;\n filter: grayscale(75%);\n }\n\n .visually-hidden {\n border: 0;\n clip: rect(1px 1px 1px 1px);\n clip: rect(1px, 1px, 1px, 1px);\n height: auto;\n margin: 0;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n }\n\n img {\n height: auto;\n max-width: 100%;\n }\n\n video {\n background-color: black;\n }\n\n a {\n color: currentColor;\n text-decoration: none;\n }\n\n svg {\n max-width: 100%;\n }\n\n .color-gray {\n color: #797979;\n }\n\n .color-red {\n color: red;\n }\n\n .color-richblue {\n color: #4e6577;\n }\n\n .color-richblue-shade {\n color: #0e1b42;\n }\n\n .color-digital-blue {\n color: var(--web-digital-blue) !important;\n }\n\n .color-deep-blue {\n color: #001096;\n }\n\n .title-color {\n color: ${themeColor || '#001096'};\n }\n \n .theme-color {\n color: ${themeColor || '#001096'};\n }\n\n .center {\n text-align: center;\n margin-left: auto;\n margin-right: auto;\n }\n\n .font-size-small {\n font-size: 0.75rem;\n }\n\n .font-size-large {\n font-size: 1.5rem;\n }\n\n .text-transform-uppercase {\n text-transform: uppercase;\n }\n\n [id*=-\"screen\"] {\n min-block-size: 100%;\n }\n\n [data-variant~=\"full-width\"] {\n inline-size: 100%;\n }\n\n .flow > * + * {\n margin-top: var(--flow-space, 1rem);\n }\n\n .button {\n --button-color: ${themeColor || 'var(--active-color)'};\n -webkit-appearance: none;\n appearance: none;\n border-radius: 2.5rem;\n border: 0;\n background-color: transparent;\n color: #fff;\n cursor: pointer;\n display: block;\n font-size: 18px;\n font-weight: 600;\n padding: 0.75rem 1.5rem;\n text-align: center;\n }\n\n .button:hover,\n .button:focus,\n .button:active {\n --button-color: var(--color-default);\n }\n\n .button:disabled {\n --button-color: var(--color-disabled);\n }\n\n .button[data-variant~=\"solid\"] {\n background-color: var(--button-color);\n border: 2px solid var(--button-color);\n }\n\n .button[data-variant~=\"outline\"] {\n color: var(--button-color);\n border: 2px solid var(--button-color);\n }\n\n .button[data-variant~=\"ghost\"] {\n padding: 0px;\n color: var(--button-color);\n background-color: transparent;\n }\n\n .icon-btn {\n appearance: none;\n background: none;\n border: none;\n color: hsl(0deg 0% 94%);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 4px 8px;\n }\n .justify-right {\n justify-content: end !important;\n }\n .nav {\n display: flex;\n justify-content: space-between;\n }\n\n .back-wrapper {\n display: flex;\n align-items: center;\n }\n\n .back-button-text {\n font-size: 11px;\n line-height: 11px;\n color: rgb(21, 31, 114);\n }\n\n\n .selfie-capture-review-image {\n overflow: hidden;\n aspect-ratio: 1/1;\n }\n\n #review-image {\n scale: 1.75;\n }\n\n @media (max-aspect-ratio: 1/1) {\n #review-image {\n transform: scaleX(-1) translateY(-10%);\n }\n }\n\n .tips,\n .powered-by {\n align-items: center;\n border-radius: 0.25rem;\n color: #4e6577;\n display: flex;\n justify-content: center;\n letter-spacing: 0.075em;\n }\n\n .powered-by {\n box-shadow: 0px 2.57415px 2.57415px rgba(0, 0, 0, 0.06);\n display: inline-flex;\n font-size: 0.5rem;\n }\n\n .tips {\n margin-left: auto;\n margin-right: auto;\n max-width: 17rem;\n }\n\n .tips > * + *,\n .powered-by > * + * {\n display: inline-block;\n margin-left: 0.5em;\n }\n\n .powered-by .company {\n color: #18406d;\n font-weight: 700;\n letter-spacing: 0.15rem;\n }\n\n .logo-mark {\n background-color: #004071;\n display: inline-block;\n padding: 0.25em 0.5em;\n }\n\n .logo-mark svg {\n height: auto;\n justify-self: center;\n width: 0.75em;\n }\n\n #document-capture-instructions-screen,\n #back-of-document-capture-instructions-screen {\n box-sizing: border-box;\n height: 100%;\n padding: 1rem;\n display: flex;\n flex-direction: column;\n max-block-size: 100%;\n max-inline-size: 40ch;\n justify-content: space-between;\n }\n\n #document-capture-instructions-screen header p {\n margin-block: 0 !important;\n }\n\n .description {\n color: var(--neutral-off-black, #2D2B2A);\n text-align: center;\n\n /* p */\n font-family: DM Sans;\n font-size: 0.875rem;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n }\n\n .padding-bottom-2 {\n padding-bottom: 2rem;\n }\n\n smart-camera-web, selfie-capture-screens, selfie-capture-instructions, document-capture-screens, document-capture-instructions, document-capture-instructions-v2 {\n height: 100%;\n display: block;\n }\n\n .instructions-wrapper {\n display: inline-flex;\n flex-direction: column;\n gap: 1rem;\n }\n \n @media (min-width: 40rem) {\n .instructions-wrapper {\n gap: 1.75rem;\n }\n }\n\n .instructions {\n display: flex;\n align-items: center;\n text-align: initial;\n gap: 0.5rem;\n }\n\n .instructions svg {\n flex-shrink: 0;\n margin-inline-end: 0.25rem;\n }\n\n .instructions p {\n margin-block: 0;\n }\n\n .instruction {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n }\n\n .instruction-body {\n font-size: 0.75rem;\n }\n\n .instruction-header {\n color: ${themeColor};\n }\n\n .flex-column {\n display: flex;\n flex-direction: column;\n }\n\n @keyframes spin {\n 0% {\n transform: translate3d(-50%, -50%, 0) rotate(0deg);\n }\n 100% {\n transform: translate3d(-50%, -50%, 0) rotate(360deg);\n }\n}\n\n.spinner {\n animation: 1.5s linear infinite spin;\n animation-play-state: inherit;\n border: solid 5px #cfd0d1;\n border-bottom-color: var(--color-active);\n border-radius: 50%;\n content: \"\";\n display: block;\n height: 25px;\n width: 25px;\n will-change: transform;\n position: relative;\n top: .675rem;\n left: 1.25rem;\n }\n\n</style>`;\n\nexport default styles;\n","class PoweredBySmileId extends HTMLElement {\n constructor() {\n super();\n const template = document.createElement('template');\n template.innerHTML = `\n <p style='margin-inline: auto; max-inline-size: 10rem'>\n <svg viewBox=\"0 0 90 9\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0.544 7V1.4H2.616C3.064 1.4 3.43467 1.47467 3.728 1.624C4.02133 1.77333 4.24 1.97867 4.384 2.24C4.528 2.50133 4.6 2.79467 4.6 3.12C4.6 3.42933 4.53067 3.71467 4.392 3.976C4.25333 4.232 4.03733 4.44 3.744 4.6C3.45067 4.75467 3.07467 4.832 2.616 4.832H1.568V7H0.544ZM1.568 4H2.552C2.90933 4 3.16533 3.92267 3.32 3.768C3.48 3.608 3.56 3.392 3.56 3.12C3.56 2.84267 3.48 2.62667 3.32 2.472C3.16533 2.312 2.90933 2.232 2.552 2.232H1.568V4ZM7.08025 7.096C6.69625 7.096 6.34958 7.008 6.04025 6.832C5.73625 6.656 5.49358 6.41333 5.31225 6.104C5.13625 5.78933 5.04825 5.42667 5.04825 5.016C5.04825 4.60533 5.13892 4.24533 5.32025 3.936C5.50158 3.62133 5.74425 3.376 6.04825 3.2C6.35758 3.024 6.70425 2.936 7.08825 2.936C7.46692 2.936 7.80825 3.024 8.11225 3.2C8.42158 3.376 8.66425 3.62133 8.84025 3.936C9.02158 4.24533 9.11225 4.60533 9.11225 5.016C9.11225 5.42667 9.02158 5.78933 8.84025 6.104C8.66425 6.41333 8.42158 6.656 8.11225 6.832C7.80292 7.008 7.45892 7.096 7.08025 7.096ZM7.08025 6.208C7.34692 6.208 7.57892 6.10933 7.77625 5.912C7.97358 5.70933 8.07225 5.41067 8.07225 5.016C8.07225 4.62133 7.97358 4.32533 7.77625 4.128C7.57892 3.92533 7.34958 3.824 7.08825 3.824C6.81625 3.824 6.58158 3.92533 6.38425 4.128C6.19225 4.32533 6.09625 4.62133 6.09625 5.016C6.09625 5.41067 6.19225 5.70933 6.38425 5.912C6.58158 6.10933 6.81358 6.208 7.08025 6.208ZM10.6632 7L9.50319 3.032H10.5192L11.2072 5.888L12.0072 3.032H13.1432L13.9432 5.888L14.6392 3.032H15.6552L14.4872 7H13.4232L12.5752 4.032L11.7272 7H10.6632ZM18.0886 7.096C17.6886 7.096 17.334 7.01067 17.0246 6.84C16.7153 6.66933 16.4726 6.42933 16.2966 6.12C16.1206 5.81067 16.0326 5.45333 16.0326 5.048C16.0326 4.63733 16.118 4.272 16.2886 3.952C16.4646 3.632 16.7046 3.384 17.0086 3.208C17.318 3.02667 17.6806 2.936 18.0966 2.936C18.486 2.936 18.83 3.02133 19.1286 3.192C19.4273 3.36267 19.6593 3.59733 19.8246 3.896C19.9953 4.18933 20.0806 4.51733 20.0806 4.88C20.0806 4.93867 20.078 5 20.0726 5.064C20.0726 5.128 20.07 5.19467 20.0646 5.264H17.0486C17.07 5.57333 17.1766 5.816 17.3686 5.992C17.566 6.168 17.8033 6.256 18.0806 6.256C18.2886 6.256 18.462 6.21067 18.6006 6.12C18.7446 6.024 18.8513 5.90133 18.9206 5.752H19.9606C19.886 6.00267 19.7606 6.232 19.5846 6.44C19.414 6.64267 19.2006 6.80267 18.9446 6.92C18.694 7.03733 18.4086 7.096 18.0886 7.096ZM18.0966 3.768C17.846 3.768 17.6246 3.84 17.4326 3.984C17.2406 4.12267 17.118 4.336 17.0646 4.624H19.0406C19.0246 4.36267 18.9286 4.15467 18.7526 4C18.5766 3.84533 18.358 3.768 18.0966 3.768ZM20.9419 7V3.032H21.8539L21.9499 3.776C22.0939 3.52 22.2885 3.31733 22.5339 3.168C22.7845 3.01333 23.0779 2.936 23.4139 2.936V4.016H23.1259C22.9019 4.016 22.7019 4.05067 22.5259 4.12C22.3499 4.18933 22.2112 4.30933 22.1099 4.48C22.0139 4.65067 21.9659 4.888 21.9659 5.192V7H20.9419ZM25.9714 7.096C25.5714 7.096 25.2168 7.01067 24.9074 6.84C24.5981 6.66933 24.3554 6.42933 24.1794 6.12C24.0034 5.81067 23.9154 5.45333 23.9154 5.048C23.9154 4.63733 24.0008 4.272 24.1714 3.952C24.3474 3.632 24.5874 3.384 24.8914 3.208C25.2008 3.02667 25.5634 2.936 25.9794 2.936C26.3688 2.936 26.7128 3.02133 27.0114 3.192C27.3101 3.36267 27.5421 3.59733 27.7074 3.896C27.8781 4.18933 27.9634 4.51733 27.9634 4.88C27.9634 4.93867 27.9608 5 27.9554 5.064C27.9554 5.128 27.9528 5.19467 27.9474 5.264H24.9314C24.9528 5.57333 25.0594 5.816 25.2514 5.992C25.4488 6.168 25.6861 6.256 25.9634 6.256C26.1714 6.256 26.3448 6.21067 26.4834 6.12C26.6274 6.024 26.7341 5.90133 26.8034 5.752H27.8434C27.7688 6.00267 27.6434 6.232 27.4674 6.44C27.2968 6.64267 27.0834 6.80267 26.8274 6.92C26.5768 7.03733 26.2914 7.096 25.9714 7.096ZM25.9794 3.768C25.7288 3.768 25.5074 3.84 25.3154 3.984C25.1234 4.12267 25.0008 4.336 24.9474 4.624H26.9234C26.9074 4.36267 26.8114 4.15467 26.6354 4C26.4594 3.84533 26.2408 3.768 25.9794 3.768ZM30.6487 7.096C30.2754 7.096 29.942 7.00533 29.6487 6.824C29.3554 6.64267 29.1234 6.39467 28.9527 6.08C28.782 5.76533 28.6967 5.408 28.6967 5.008C28.6967 4.608 28.782 4.25333 28.9527 3.944C29.1234 3.62933 29.3554 3.384 29.6487 3.208C29.942 3.02667 30.2754 2.936 30.6487 2.936C30.9474 2.936 31.2087 2.992 31.4327 3.104C31.6567 3.216 31.838 3.37333 31.9767 3.576V1.24H33.0007V7H32.0887L31.9767 6.432C31.8487 6.608 31.678 6.76267 31.4647 6.896C31.2567 7.02933 30.9847 7.096 30.6487 7.096ZM30.8647 6.2C31.1954 6.2 31.4647 6.09067 31.6727 5.872C31.886 5.648 31.9927 5.36267 31.9927 5.016C31.9927 4.66933 31.886 4.38667 31.6727 4.168C31.4647 3.944 31.1954 3.832 30.8647 3.832C30.5394 3.832 30.27 3.94133 30.0567 4.16C29.8434 4.37867 29.7367 4.66133 29.7367 5.008C29.7367 5.35467 29.8434 5.64 30.0567 5.864C30.27 6.088 30.5394 6.2 30.8647 6.2ZM38.3017 7.096C38.003 7.096 37.7417 7.04 37.5177 6.928C37.2937 6.816 37.1124 6.65867 36.9737 6.456L36.8617 7H35.9497V1.24H36.9737V3.6C37.1017 3.424 37.2697 3.26933 37.4777 3.136C37.691 3.00267 37.9657 2.936 38.3017 2.936C38.675 2.936 39.0084 3.02667 39.3017 3.208C39.595 3.38933 39.827 3.63733 39.9977 3.952C40.1684 4.26667 40.2537 4.624 40.2537 5.024C40.2537 5.424 40.1684 5.78133 39.9977 6.096C39.827 6.40533 39.595 6.65067 39.3017 6.832C39.0084 7.008 38.675 7.096 38.3017 7.096ZM38.0857 6.2C38.411 6.2 38.6804 6.09067 38.8937 5.872C39.107 5.65333 39.2137 5.37067 39.2137 5.024C39.2137 4.67733 39.107 4.392 38.8937 4.168C38.6804 3.944 38.411 3.832 38.0857 3.832C37.755 3.832 37.483 3.944 37.2697 4.168C37.0617 4.38667 36.9577 4.66933 36.9577 5.016C36.9577 5.36267 37.0617 5.648 37.2697 5.872C37.483 6.09067 37.755 6.2 38.0857 6.2ZM41.3051 8.76L42.2251 6.736H41.9851L40.4411 3.032H41.5531L42.6651 5.824L43.8251 3.032H44.9131L42.3931 8.76H41.3051Z\" fill=\"#001096\"/>\n <g clipPath=\"url(#clip0_1923_23296)\">\n <path d=\"M58.5141 6.02913C58.5644 6.37005 58.8092 6.77098 59.4839 6.77098C60.0578 6.77098 60.336 6.56623 60.336 6.23338C60.336 5.90053 60.142 5.75579 59.788 5.71292L58.5988 5.58482C57.5612 5.47387 56.9539 4.86819 56.9539 3.87872C56.9539 2.77779 57.7801 2.04401 59.4335 2.04401C61.2135 2.04401 61.9221 2.88874 61.9894 3.88679H60.3195C60.2687 3.51157 59.965 3.27253 59.442 3.27253C58.9783 3.27253 58.6577 3.44349 58.6577 3.75062C58.6577 3.99774 58.8097 4.18534 59.2141 4.21964L60.1844 4.30486C61.4918 4.41582 62.0397 5.04672 62.0397 6.0962C62.0397 7.21377 61.3477 7.999 59.4504 7.999C57.5532 7.999 56.9534 7.02667 56.8691 6.02862H58.5141V6.02913Z\" fill=\"#001096\" />\n <path d=\"M70.1965 5.28736V7.85484H68.5431V5.56019C68.5431 5.09925 68.3746 4.80069 67.9194 4.80069C67.4212 4.80069 67.2108 5.11639 67.2108 5.78159V7.85484H65.5824V5.56019C65.5824 5.09925 65.4133 4.80069 64.9581 4.80069C64.4605 4.80069 64.2496 5.11639 64.2496 5.78159V7.85484H62.5967V3.58932H64.2496V4.24644C64.5113 3.75171 64.9581 3.45265 65.6586 3.45265C66.3592 3.45265 66.8309 3.7855 67.0587 4.35689C67.3285 3.80265 67.7842 3.45265 68.5351 3.45265C69.6735 3.45265 70.197 4.16928 70.197 5.28736H70.1965Z\" fill=\"#001096\" />\n <path d=\"M70.9785 3.8535V2.18118H72.6319V3.8535H70.9785ZM70.9785 7.85476V4.2504H72.6319V7.85476H70.9785Z\" fill=\"#001096\" />\n <path d=\"M73.4121 7.85475V2.18167H75.065V7.85525H73.4121V7.85475Z\" fill=\"#001096\" />\n <path d=\"M78.7264 6.53958H80.3579C80.1968 7.3243 79.5696 7.99151 78.0179 7.99151C76.2294 7.99151 75.6221 6.8568 75.6221 5.71351C75.6221 4.48499 76.3391 3.45265 78.0179 3.45265C79.8653 3.45265 80.3629 4.59594 80.3629 5.77302C80.3629 5.91776 80.3539 6.05443 80.3374 6.13966H77.2336C77.3178 6.68583 77.5881 6.89059 78.0518 6.89059C78.3729 6.89059 78.6083 6.73526 78.7269 6.53908L78.7264 6.53958ZM77.2416 5.21877H78.8022C78.7519 4.77497 78.5404 4.52785 78.0428 4.52785C77.5791 4.52785 77.3348 4.70689 77.2416 5.21877Z\" fill=\"#001096\" />\n <path d=\"M83.5907 7.85476H81.8994L81.9034 2.18118H83.5902L83.5912 7.85476H83.5907Z\" fill=\"#001096\" />\n <path d=\"M89.9995 5.00535C89.9995 6.46434 89.1474 7.85475 87.3345 7.85475H84.3652V2.18167H87.3345C89.1479 2.18167 89.9995 3.54686 89.9995 5.00535ZM86.9376 6.5067C87.8401 6.5067 88.2364 5.99482 88.2364 5.00535C88.2364 4.01588 87.8226 3.52971 86.9376 3.52971H86.06V6.5067H86.9376Z\" fill=\"#001096\" />\n <path d=\"M52.2123 3.88737H48V7.86846H52.2123V3.88737Z\" fill=\"#001096\" />\n <path d=\"M53.2359 0C53.2165 0 53.1975 0.00201727 53.1786 0.00252159C53.1591 0.00252159 53.1402 0 53.1207 0C52.0457 0 51.0869 0.708567 51.0869 2.27044V3.8888H55.2882V2.27044C55.2882 0.708567 54.3174 0 53.2359 0Z\" fill=\"#FF9B00\" />\n </g>\n <defs>\n <clipPath id=\"clip0_1923_23296\">\n <rect width=\"42\" height=\"8\" fill=\"white\" transform=\"translate(48)\" />\n </clipPath>\n </defs>\n </svg>\n </p>\n `;\n\n this.attachShadow({ mode: 'open' }).appendChild(\n template.content.cloneNode(true),\n );\n }\n}\n\nif (\n window.customElements &&\n !window.customElements.get('powered-by-smile-id')\n) {\n window.customElements.define('powered-by-smile-id', PoweredBySmileId);\n}\n\nexport default PoweredBySmileId;\n"],"names":["typography","styles","themeColor","PoweredBySmileId","template"],"mappings":"AAAA,MAAMA,IAAa;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GCEbC,IAAS,CACbC,MACG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOHF,CAAU;AAAA;AAAA,qBAESE,KAAc,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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, j as Zr, i as bl, k as Cl } from "./index-CUwa6MPI.js";
4
- import { _ as Zn, H as yl, A as U, d as ve, y as q, S as xe, x as Al, l as gs, T as Ys, k as et, t as xl, J as gr, p as cn, u as c, r as Er, g as je, a as Y2, I as ca } from "./package-BmVbDNny.js";
5
- import "./PoweredBySmileId-CxbaihMu.js";
1
+ import { s as an } from "./PoweredBySmileId-DoKwoPUd.js";
2
+ import "./Navigation-6DH3vF4-.js";
3
+ import { b as Zs, t as g, m as ml, n as gl, o as vl, p as Xs, q as wl, j as Zr, i as bl, k as Cl } from "./index-BqyuTk9f.js";
4
+ import { b as Zn, H as yl, A as U, d as ve, y as q, S as xe, x as Al, l as gs, T as Ys, k as et, t as xl, J as gr, p as cn, u as c, r as Er, g as je, a as Y2, I as ca } from "./package-CjZI-cNQ.js";
6
5
  function El() {
7
6
  return `
8
7
  <link rel="preconnect" href="https://fonts.gstatic.com" />
@@ -11468,4 +11467,4 @@ class Zu extends HTMLElement {
11468
11467
  export {
11469
11468
  Zu as S
11470
11469
  };
11471
- //# sourceMappingURL=SelfieCaptureScreens-D3KuMzZA.js.map
11470
+ //# sourceMappingURL=SelfieCaptureScreens-CtX-4Tco.js.map